[ mona / prog / sol ]


Do you even Scheme?

36 2020-09-16 16:45


C-f ~/resources/Revised^6-Report-on-the-Algorithmic-Language-Scheme.pdf
C-s internal definitions
Internal definitions are now defined in terms of letrec*.

You are correct, I learned this from SICP, but the information is quite evidentially outdated.

If portability was the goal, the second example should have used let* and the third let.

The second is mutually recursive no? Also if this is syntactic sugar for letrec* wouldn't these be portable anyway? This is actually very valuable information.

Another example would be if you implemented strings as ropes then you could have mutations of strings which share space. I wasn't trying to argue that the unspecified behavior was left in for no reason, simply that it was present.



do not edit these