[Haskell-cafe] Clausula where

Imants Cekusins imantc at gmail.com
Sun Dec 20 08:25:21 UTC 2015

> what should I do to correct the problem?

try to align "m" and "(xse,xsd)": indent "(" to the same number of spaces as "m"

  where  m              =  (length xs) `div` 2
              (xse, xsd)  =  (take m xs,  drop m xs)

indents are important. Also check if you use tab character. It is
safer to use spaces.

More information about the Haskell-Cafe mailing list