[Haskell-cafe] GHCi and multi-line support ?

Dunric dunric29a at atlas.cz
Mon Feb 19 08:00:09 EST 2007


Is it possible to write multi-line definitions in GHC interactive interpreter ? (like in Python interp. ?)

When I try to write f.E. if-then-else in more then 1 line I get the following error:
<interactive>:1:30: parse error (possibly incorrect indentation)

------------------------------------------

http://icqsms.cz/




More information about the Haskell-Cafe mailing list