[Haskell-beginners] Re: Closure

Daniel Bastos dbastos+0 at toledo.com
Sat Aug 15 13:06:42 EDT 2009


In article <200908151831.14649.daniel.is.fischer at web.de>,
Daniel Fischer wrote:

> The plus3 example is a "closure" which is hardcoded and available at
> compile time.  I think, to say that a language allows closures means
> it allows closures determined at run time.

Hm. But does Haskell allow me to define a function at run time? I know
Lisp can, since a function is just a data structure which we can put
together at run time. But how about Haskell?



More information about the Beginners mailing list