Mutual recursion: Difference between revisions

Content deleted Content added
No edit summary
mNo edit summary
Line 30:
f
importing
n type int4
returning
value(rresult) type int4,
 
m
importing
n type int4
returning
value(rresult) type int4.
endclass.
 
Line 44:
class hoffstadter_sequences implementation.
method f.
rresult = cond int4(
when n eq 0
then 1
Line 52:
 
method m.
rresult = cond int4(
when n eq 0
then 0