[Haskell-cafe] First steps in Haskell
Bjorn Lisper
lisper at it.kth.se
Mon Dec 19 09:21:55 EST 2005
Simon:
>Me:
>| Actually, I have sometimes wished that the various interactive Haskell
>| interfaces had the possibility to enter also declarations interactively
>GHCi does.
Ah, I see! Does it open a let-environment with a local definition?
>ghci> let f x = "hello"
>ghci> f True
>True
Hmm, an interesting semantics for f given the declaration :-)
>But there's no editor -- it's strictly a one-line definition
Which is useful enough in many situations. I'll try it out...
Björn
More information about the Haskell-Cafe
mailing list