Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Haskell Development

Name: Anonymous 2009-03-18 23:12

Hey /prog/, tell me things about Haskell.

How is Haskell's support for the type of interactive development that I, as a Lisper, demand? Sometimes I look at Haskell for a while but it has all kinds of syntax and I've gotten the impression that developing in Haskell requires a step backwards to batch compilation, so I give it a rest pretty quickly.

Could some nomads either confirm or disabuse me of my notions?

Name: Anonymous 2009-03-19 0:09

>>5
You can :reload files that have been changed on disk. You can also launch an editor from within the interpreter, and load additional files as they become available. Note that you have to stick to "one module per file" in order for this to work; you can't write module Foo where ... foo = ... in one file, and then write bar = ... in another file, and load bar as a function in module Foo.

The other caveat you probably won't like is that there's always a chance that a bug in the compiler or the interpreter will cause compiled code and interpreted code to behave differently. This is rare, though, aside from the performance issues.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List