racket / htdp

Other
93 stars 70 forks source link

ISL HOF docs use lambda expressions in examples #81

Closed dvanhorn closed 4 years ago

dvanhorn commented 5 years ago

Many of the higher-order functions in the docs for ISL use examples that involve lambda, which is only available (as an expression form) starting in ISL+. This is sure to confuse students and means copy/pasting examples will result in errors (lambda: found a lambda that is not a function definition).

lambda expressions are used in: andmap, build-list, build-string, compose, filter, foldl, foldr, for-each, map, ormap, and procedure?.

mfelleisen commented 5 years ago

closed with 97e63b33

sorawee commented 4 years ago

This is still not completely resolved. The example for check-within uses lambda in every *SL.

mfelleisen commented 4 years ago

Thanks.