[Haskell-cafe] head as a total function

Bill Wood william.wood3 at comcast.net
Thu Sep 7 12:24:53 EDT 2006


On Thu, 2006-09-07 at 11:03 +0400, Bulat Ziganshin wrote:
   . . .
> it was the first imperative language supporting closures, after all

Uh, what about lisp?  The (MIT) lisp 1.4 manual (ca. 1965) refers to
FUNCTION differing from QUOTE in that it handled free variables
"correctly"; I take this to mean that at least a primitive form of
closure was provided.  Moreover, a language that provides SET/SETQ,
RPLACA/RPLACD and the PROG feature (including labels and a goto) surely
qualifies as imperative?

 -- Bill Wood




More information about the Haskell-Cafe mailing list