Hugs question

Hugs question

Post by Paul Rubi » Fri, 11 Nov 2005 20:13:53

I'm a total Haskell newbie and am playing with Hugs.

Is there some reason inherent in the Haskell language, that stops Hugs
from giving me an interactive read-eval-print loop that lets me
define variables (or whatever the term is)? I mean something like

Hugs> fac 0 = 1
Hugs> fac n = n * fac (n-1)

Hugs lets me enter expressions like 2*5 but not define any symbols.

Hugs question

Post by haber » Tue, 15 Nov 2005 22:11:09

In article < XXXX@XXXXX.COM >, Paul Rubin

Yes, Hugs was designed that way. Mark P. Jones says that he has explained
why, but I never saw that. Perhaps you could check on the

Hans Aberg