Mark Carroll wrote

> Do any of the decent Haskell compilers allow you to just type function
> definitions at an interpreter prompt and use them in subsequent
> interactions, as you'd expect from a Lisp environment?

I don't know whether you consider hbi (the interactive version of hbc) 
a decent compiler, but it supports entering definitions as well:

> let { f x = x + x };
f :: (Prelude.Num a) => a -> a
> f 3;
6   

Wolfgang


--
Wolfgang Lux                              Phone: +49-251-83-38263
Institut fuer Wirtschaftinformatik          FAX: +49-251-83-38259
Universitaet Muenster                 Email: [EMAIL PROTECTED]



_______________________________________________
Haskell-Cafe mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to