Re: [Haskell-cafe] indentation blues

2011-12-15 Thread Ivan S. Freitas
For vim, there is a indent script, I don't remember exactly where I found it but it's on my github repo: https://github.com/ISF/dotfiles/blob/master/.vim/indent/haskell.vim (And don't forget the haskellmode for vim) Also, I've used the haskell mode of emacs with vimpulse to emulate vim motions. I

Re: [Haskell-cafe] indentation blues

2011-12-14 Thread Evan Laforge
On Wed, Dec 14, 2011 at 5:56 AM, Rustom Mody wrote: > Is the haskell-mode that comes out of the box with emacs (v 23.3) the one > you folk use or do you use something more specific/uptodate?  How to find > out? [There should be a haskell-mode-version...] > > To the folks from the (hesitating) vi-c

Re: [Haskell-cafe] indentation blues

2011-12-14 Thread Evan Laforge
On Mon, Dec 12, 2011 at 4:50 PM, Martin DeMello wrote: > The vim autoindent for haskell is really bad :( Is there a better > indent.hs file floating around somewhere? Alternatively, is the emacs > haskell mode better enough that it's worth my time learning my way > around emacs and evil? I don't

Re: [Haskell-cafe] indentation blues

2011-12-14 Thread Rustom Mody
Is the haskell-mode that comes out of the box with emacs (v 23.3) the one you folk use or do you use something more specific/uptodate? How to find out? [There should be a haskell-mode-version...] To the folks from the (hesitating) vi-camp: Whatever you use, please take time to familiarize yoursel

Re: [Haskell-cafe] indentation blues

2011-12-14 Thread Oliver Charles
Paul Koerbitz writes: > Hello, > TL;DR: If you have some time try emacs, the viper / vimpulse plugins are > pretty good and the editor is awesome in general. Haskell indentation is > good. Not to go too off topic, but I'm not sure people are aware there's another Vim emulation system called Evil

Re: [Haskell-cafe] indentation blues

2011-12-14 Thread Paul Koerbitz
Hello, TL;DR: If you have some time try emacs, the viper / vimpulse plugins are pretty good and the editor is awesome in general. Haskell indentation is good. I was a hardcore vim user and switched to emacs because the REPL for clojure was just aweful in vim. I am using the vi keybindings (viper-

Re: [Haskell-cafe] indentation blues

2011-12-13 Thread Jean-Marie Gaillourdet
On 13.12.2011, at 11:43, Martin DeMello wrote: > On Tue, Dec 13, 2011 at 2:34 AM, Adrien Haxaire wrote: >> >>> Regarding, your question whether this is worth switching from vim to >>> emacs. I've been using both editors for some years and I very much >>> doubt, that "you wouldn't spend much tim

Re: [Haskell-cafe] indentation blues

2011-12-13 Thread Martin DeMello
On Tue, Dec 13, 2011 at 2:34 AM, Adrien Haxaire wrote: > >> Regarding, your question whether this is worth switching from vim to >> emacs. I've been using both editors for some years and I very much >> doubt, that "you wouldn't spend much time learning emacs". If you are >> comfortable with vim, s

Re: [Haskell-cafe] indentation blues

2011-12-13 Thread Adrien Haxaire
Regarding, your question whether this is worth switching from vim to emacs. I've been using both editors for some years and I very much doubt, that "you wouldn't spend much time learning emacs". If you are comfortable with vim, stick with it, unless you are interested in Emacs or one of its real

Re: [Haskell-cafe] indentation blues

2011-12-13 Thread Jean-Marie Gaillourdet
Hello, On 13.12.2011, at 08:51, Adrien Haxaire wrote: > Hello, > > I don't know how the indent.hs file works for the vim mode, but as you are > asking for another indent.hs file, here is the link to the indent.hs file in > emacs haskell-mode: > > https://github.com/jwiegley/haskell-mode/blob/

Re: [Haskell-cafe] indentation blues

2011-12-12 Thread Adrien Haxaire
Hello, I don't know how the indent.hs file works for the vim mode, but as you are asking for another indent.hs file, here is the link to the indent.hs file in emacs haskell-mode: https://github.com/jwiegley/haskell-mode/blob/8067b7547f047352c41af2374e3246b5504c7741/indent.hs Maybe you can us

[Haskell-cafe] indentation blues

2011-12-12 Thread Ben Kolera
I am fairly new to haskell, but I really like the emacs haskell mode. It is a bit strict but it generally does what I want it to. Unfortunately I can't really compare to the haskell vim mode since I only did Scala and Perl back when I was a heavy vim user. The one useful thing that I can add is th

[Haskell-cafe] indentation blues

2011-12-12 Thread Martin DeMello
The vim autoindent for haskell is really bad :( Is there a better indent.hs file floating around somewhere? Alternatively, is the emacs haskell mode better enough that it's worth my time learning my way around emacs and evil? martin ___ Haskell-Cafe mai