
19 Dec
2005
19 Dec
'05
9:21 a.m.
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