Hello,
before all, thanks for supporting the free software community with your
work.
I have read of Haskell and wanted to try it out, since I am looking for a
simple and clear functional OO language. (how much sugar :))
But when I launch hugs in Haskell98 mode, it prompts me with "prelude>" and
lets me do nice things, but not
x=3
or
f x = x
while I can do, instead, let x=3 in ...
Why? I have seen code like the one I want to write in the examples (but I
can't be sure since I was trying ocaml and haskell AT THE SAME
TIME!)
Should I always do a "let x=3 in..." in all my code (or at least when I want
x=3 of course!:)
Another question: in interactive mode, is there a way to write more than a
line without beeing "evaluated"?
I can't bear a lazy language being so eager in evaluating me :)
Thanks for reading, hope I haven't make you waste time...
Vincenzo Ciancia
V year Computer Science student @ Pisa IT
but writing from the splendid town of Matera
PS: sorry for my bad use of English...