
I have the basic install, ghci working, going through the Real World book, and have some set up questions: - Is there any REPL which will take (close to) full Haskell syntax, including function definitions? - I use TextMate and Intelli-J, but they don't seem Haskell friendly. The Haskell TextMate bundle seems very confused about indenting, tabs vs. spaces, etc, and I could not even find a code formatter / highlighted for Intelli-J. What environments would you recommend to work with Haskell on OSX? If Emacs, which one? If Eclipse ... I suppose if I have to... I tried Leksah but it seems too buggy even under simple window resizing. Thanks for any pointers!! Sophie

I can only speak for myself, and little that I am able to use in Haskell. But I use MacVim for pretty much everything and am happy with it. It has Haskell highlighting out of the box. I have also tried out the FP extension on Eclipse and it seems pretty nice. I'm sure that doesn't help much, but it's what I do with the little Haskell I do these days. Bryce On Nov 15, 2011, at 12:24 PM, Sophie wrote:
I have the basic install, ghci working, going through the Real World book, and have some set up questions:
- Is there any REPL which will take (close to) full Haskell syntax, including function definitions?
- I use TextMate and Intelli-J, but they don't seem Haskell friendly. The Haskell TextMate bundle seems very confused about indenting, tabs vs. spaces, etc, and I could not even find a code formatter / highlighted for Intelli-J.
What environments would you recommend to work with Haskell on OSX? If Emacs, which one? If Eclipse ... I suppose if I have to...
I tried Leksah but it seems too buggy even under simple window resizing.
Thanks for any pointers!!
Sophie _______________________________________________ Beginners mailing list Beginners@haskell.org http://www.haskell.org/mailman/listinfo/beginners

On Tue, Nov 15, 2011 at 15:24, Sophie
What environments would you recommend to work with Haskell on OSX? If Emacs, which one?
https://github.com/pheaver/haskell-mode -- brandon s allbery allbery.b@gmail.com wandering unix systems administrator (available) (412) 475-9364 vm/sms

Hi Sophie, http://aquamacs.org/ was recommended to me on my course, it came with a haskell mode built in i believe. However what I find I am actually using is jedit for editting/syntax highlighting (it comes with hs and lhs modes) and then altTab to the GHCi repl invoked from terminal. hope this helps Tim On 15 November 2011 20:24, Sophie wrote:
I have the basic install, ghci working, going through the Real World book, and have some set up questions:
- Is there any REPL which will take (close to) full Haskell syntax, including function definitions?
- I use TextMate and Intelli-J, but they don't seem Haskell friendly. The Haskell TextMate bundle seems very confused about indenting, tabs vs. spaces, etc, and I could not even find a code formatter / highlighted for Intelli-J.
What environments would you recommend to work with Haskell on OSX? If Emacs, which one? If Eclipse ... I suppose if I have to...
I tried Leksah but it seems too buggy even under simple window resizing.
Thanks for any pointers!!
Sophie _______________________________________________ Beginners mailing list Beginners@haskell.org http://www.haskell.org/mailman/listinfo/beginners
-- Tim Pizey http://pizey.net/~timp

On Tue, Nov 15, 2011 at 9:24 PM, Sophie
I have the basic install, ghci working, going through the Real World book, and have some set up questions:
- Is there any REPL which will take (close to) full Haskell syntax, including function definitions?
GHCI already accepts function definitions, you just have to keep in mind that writing in GHCI is close to writing code in a do-block, so you must precede definitions with "let ", you can also use multiline (space based syntax) on recent ghci by enclosing your code in ":{" commands. You can import with "import Module" and have access to the full range of import syntax (qualified, as, ...). The only things that are still missing are data definitions and typeclass definitions and instances, though they should be possible in the next GHC release ! :) -- Jedaï
participants (5)
-
Brandon Allbery
-
Bryce Verdier
-
Chaddaï Fouché
-
Sophie
-
Tim Pizey