[plt-scheme] How to insert an element in empty list?

From: Majorinc, Kazimir (kazimir at chem.pmf.hr)
Date: Fri Aug 17 21:45:32 EDT 2007

Jos Koot wrote:
>> All this, and Matthias pedagogical answer in particular, remind me times
>> when I used Fortran; I remember one implementation on a CDC mainframe,
>> where the user *could* corrupt numerical constants, for example 
>> making that
>> a constant 1 (stored in memory, not an assembly-level literal...) became
>> equal to 2. What a mess it could produce, you can hardly imagine...
> As far as I can remember most FORTRAN (older than Fortran) compilers 
> allowed this and many other evils (some decennia ago)
> Jos koot
Perhaps (set! sin cos) and (set! call/cc "Hello world") are not that far.

Kazimir Majorinc




Posted on the users mailing list.