
18 Dec
2007
18 Dec
'07
9:17 a.m.
insertjokehere wrote:
where bm = bracketMatch str nstr = words (snd (bracketMatch str))
It looks like you have set your editor to make tabs look like four spaces. Haskell compilers are required to interpret tabs as being equivalent to eight spaces, so it sees "bm =" and "nstr =" at different alignments. Moral of the story: It's probably best to just not use tabs in Haskell code.