Re: [Haskell-cafe] Trouble with indentation

2008-01-09 Thread Jules Bean
Fernando Rodriguez wrote: Hi, I'm trying to write a function that finds out the week day using the Zeller congruence (http://en.wikipedia.org/wiki/Zeller's_congruence). However, ghc complains about: parse error on input `=' at the "if m <= 2 then " line. I believe this is some sort of layou

Re: [Haskell-cafe] Trouble with indentation

2008-01-09 Thread Dougal Stanton
On 09/01/2008, Fernando Rodriguez <[EMAIL PROTECTED]> wrote: > > However, ghc complains about: parse error on input `=' at the "if m <= 2 > then " line. I believe this is some sort of layout error. Can someone point > out what I am doing wrong? Assuming the layout didn't get munged during the ema

[Haskell-cafe] Trouble with indentation

2008-01-09 Thread Fernando Rodriguez
Hi, I'm trying to write a function that finds out the week day using the Zeller congruence (http://en.wikipedia.org/wiki/Zeller's_congruence). However, ghc complains about: parse error on input `=' at the "if m <= 2 then " line. I believe this is some sort of layout error. Can someone point