[Haskell-cafe] Stupid error, probably

2009-10-12 Thread b1g3ar5
I can't get the following to work in Leksah - but it works OK in GHC. Can anyone spot the error? I wondered if it was becasue the libraries loaded are different - but I'm just a Haskell beginner ... I have: myGroupBy :: Int→ [a]→ [[a]] myGroupBy = takeWhile not . null . (unfoldr (Just .

Re: [Haskell-cafe] Stupid error, probably

2009-10-12 Thread Daniel Fischer
Am Dienstag 13 Oktober 2009 01:03:24 schrieb b1g3ar5: I can't get the following to work in Leksah - but it works OK in GHC. Can anyone spot the error? I wondered if it was becasue the libraries loaded are different - but I'm just a Haskell beginner ... I have: myGroupBy :: Int→ [a]→