Alaric Snell-Pym scripsit:

> In my ideal dream-world, we'd lose the semantics of set!, and instead
> have an explicit mutable-cell type. 

Thus spake Guy Steele in the Rabbit paper, back in 1978:

        If we were to redesign Scheme from scratch, I imagine that we
        would introduce cells as our primitive side-effect rather than
        ASET' [later set!].  The decision to use ASET' was motivated
        primarily by the desire to interface easily to the MacLISP
        environment (and, as a corollary, to be able to implement Scheme
        in three days instead of three years!)

*Thirty* years later, we're still living with set!, although some
compilers do introduce cells for mutable variables, so-called
"assignment conversion", under the covers.

-- 
Man has no body distinct from his soul,              John Cowan
for that called body is a portion of the soul        [email protected]
discerned by the five senses,                        http://www.ccil.org/~cowan
the chief inlets of the soul in this age.  --William Blake

_______________________________________________
r6rs-discuss mailing list
[email protected]
http://lists.r6rs.org/cgi-bin/mailman/listinfo/r6rs-discuss

Reply via email to