
andrewcoppin:
Ross Boylan wrote:
First, I'm really impressed with the fast and helpful responses from several people!
Ask an easy question and you'll get at least a dozen people tripping over each other in their rush to offer you useful advice. Ask a hard question, or an uninteresting question, and enjoy the utter silence... :-( Still, I suppose that's not *too* surprising.
I had thought HUGS made more sense for fiddling around, but it seems all I'm doing is loading files anyway. What is the style people use for this exploratory work? I've already installed haskell-mode for emacs and ghc6, but it's not clear to me to what extent the former servers as a development environment rather than just a language formatter.
I used to use Hugs as well. Then I updated to the newest version, and found it horrifically buggy. That's when I moved over to GHC. As Don said, GHCi doesn't let you define new functions like Hugs does, but
Other way around, GHCi lets you define new functions, unlike Hugs :) $ ghci Prelude> let f x = x ^ 2 Prelude> f 2 4 And: $ hugs Type :? for help Hugs.Base> let f x = x ^ 2 ERROR - Syntax error in expression (unexpected end of input) Hugs.Base> [Leaving Hugs]