Bruno Martínez [EMAIL PROTECTED] writes:
On Thu, 21 Sep 2006 15:12:07 -0300, Benjamin Franksen
[EMAIL PROTECTED] wrote:
OK. Thanks. I didn't find that one because it's not offered as an
identation option in emacs haskell mode.
Emacs is evil!
David House wrote:
I'll ignore the
First, how do I fix the identation of the if then else?
getList = find 5
where find 0 = return []
find n = do
ch - getChar
if ch `elem` ['a'..'e']
then do tl - find (n-1)
return (ch : tl)
else find n
OK. Thanks. I didn't find that one because it's not offered as an
identation option
For that one, if it doesn't get mended for long enough,
Haskell' might accept the present layout.
http://hackage.haskell.org/trac/haskell-prime/wiki/DoAndIfThenElse
Hmm... the bug in haskell-mode has been known for almost a year now.
So you're saying that I should just wait even more and it'll
Bruno Martínez [EMAIL PROTECTED] writes:
On Thu, 21 Sep 2006 15:12:07 -0300, Benjamin Franksen
[EMAIL PROTECTED] wrote:
OK. Thanks. I didn't find that one because it's not offered as an
identation option in emacs haskell mode.
Emacs is evil!
That's a great exaggeration
I'm open
If there's a problem with haskell emacs mode, it seems very
likely that if you ask the maintainer nicely, he'll do
something about it. See
http://www.iro.umontreal.ca/~monnier/elisp/#haskell-mode
I asked Stefan a while ago:
I like your Emacs mode but it behaves a bit oddly when trying to
Johan Tibell [EMAIL PROTECTED] writes:
If there's a problem with haskell emacs mode, it seems very
likely that if you ask the maintainer nicely, he'll do
something about it. See
http://www.iro.umontreal.ca/~monnier/elisp/#haskell-mode
I asked Stefan a while ago:
I like your Emacs
On Thu, 21 Sep 2006 01:52:38 -0300, Donald Bruce Stewart
[EMAIL PROTECTED] wrote:
First, how do I fix the identation of the if then else?
getList = find 5
where find 0 = return []
find n = do
ch - getChar
if ch `elem` ['a'..'e']
then do
Bruno Martínez wrote:
On Thu, 21 Sep 2006 01:52:38 -0300, Donald Bruce Stewart
[EMAIL PROTECTED] wrote:
First, how do I fix the identation of the if then else?
getList = find 5
where find 0 = return []
find n = do
ch - getChar
if ch `elem` ['a'..'e']
On 21/09/06, Benjamin Franksen [EMAIL PROTECTED] wrote:
Emacs is evil!
I'll ignore the throwaway flaimbait there ;)
It also inserts random tab characters into your code just to save a few
space bytes. Tends to completely trash indentation e.g. when pasting code
into mails etc.
Not once
On Thu, 21 Sep 2006 15:12:07 -0300, Benjamin Franksen
[EMAIL PROTECTED] wrote:
OK. Thanks. I didn't find that one because it's not offered as an
identation option in emacs haskell mode.
Emacs is evil!
I'm open to alternatives. I use Windows, so went out of the way to have
emacs.
10 matches
Mail list logo