Changes between Initial Version and Version 1 of Functions/Foldr


Ignore:
Timestamp:
Oct 31, 2016, 5:13:14 PM (5 years ago)
Author:
schiptsov
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Functions/Foldr

    v1 v1  
     1= foldr =
     2
     3{{{#!scheme
     4(define foldr (lambda (f z xs)
     5                (if (null? xs)
     6                  z
     7                  (f (car xs) (foldr f z (cdr xs))))))
     8}}}