chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] I'm confused (again)


From: John Cowan
Subject: Re: [Chicken-users] I'm confused (again)
Date: Thu, 26 Feb 2009 16:34:11 -0500
User-agent: Mutt/1.5.13 (2006-08-11)

William Ramsay scripsit:

> This may seem like a strange question, but I'm confused about the use
> of set!.  It may be a holdover from my pre-scheme days, but it seems
> I should be declaring a variable before using it with set!.

A Scheme implementation is allowed to either let you set! variables that
have not been declared with define or bound with lambda/let/let*/letrec
etc., or to make it an error to do so.  Chicken belongs to the first type.

-- 
John Cowan  address@hidden    http://ccil.org/~cowan
Big as a house, much bigger than a house, it looked to [Sam], a grey-clad
moving hill.  Fear and wonder, maybe, enlarged him in the hobbit's eyes,
but the Mumak of Harad was indeed a beast of vast bulk, and the like of him
does not walk now in Middle-earth; his kin that live still in latter days are
but memories of his girth and his majesty.  --"Of Herbs and Stewed Rabbit"




reply via email to

[Prev in Thread] Current Thread [Next in Thread]