Scheme newslore

Lately, reading comp.lang.scheme is more amusing and instructive than ever. Scheme is (as Albert Einstein would put it) as simple as possible, but not simpler. Or, to use the words of Michael Vanier, it is an LFSP rather than an LFM. Which means that it has its (often necessary) subtleties and shadowy corners. Some newcomers in the newsgroup are making a serious effort at learning Scheme, and stumbling upon those corners, which are being subsequently illuminated with insightful posts. For instance,

When are two objects equal? As you probably know, Scheme comes with several equality predicates: EQ?, EQV?, EQUAL?, =, STRING=?… How so? Aren’t all equal objects equal? Well, as it happens, some equal objects are more equal than others. Perhaps, like me, you think that you understand the differences between those predicates; and perhaps, like me, you’ll discover that you were missing some small print after reading this Socratic dialogue between a hacker and a newbie, which summarises an interesting thread with participants as insightful as Berkeley’s professor Brian Harvey. After reading his posts, you may be interested in viewing his SICP classes too.

Concrete AbstractionsClosures are of paramount importance to functional programming. As a matter of fact, object oriented programming can arguably be described as a poor man’s closure-based programming. Max Hailperin has written today a beautiful overview of what closures are and how they are implemented. Again, i thought i already knew. If you enjoy Max’s writing, this is your lucky day: he is one the authors of Concrete Abstractions, an introduction to CS using Scheme freely available in the link above.

Update: There’s also accompanying material for a course by Max, based on Concrete Abstractions, here and here.



2 Responses to “Scheme newslore”

  1. Max Hailperin Says:

    Brian’s at Berkeley, not Harvard. (He also isn’t a professor, technically, but that’s less relevant to those trying to find him.) I’m glad you liked my post about closures.

  2. jao Says:

    Oops, i stand corrected. Thanks for the heads up, and, while i am at it, for making your excellent book available to all of us (i bought a printed copy, but still :)).

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: