summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
2b8a657)
Signed-off-by: Jim Pryor <profjim@jimpryor.net>
In Scheme you'd define it like this:
In Scheme you'd define it like this:
- (letrec [(get_length (lambda (lst) (if (null? lst) 0 [+ 1 (get_length (cdr lst))] )) )]
+ (letrec [(get_length
+ (lambda (lst) (if (null? lst) 0 [+ 1 (get_length (cdr lst))] )) )]
... ; here you go on to use the function "get_length"
)
... ; here you go on to use the function "get_length"
)