On Sat, Dec 10, 2011 at 5:31 PM, Brandon Allbery <allber...@gmail.com> wrote: > On Sat, Dec 10, 2011 at 18:25, Peter Simons <sim...@cryp.to> wrote: >> >> previous versions of xmobar used to compile fine with GHC 6.10.4, but >> the new version no longer does: >> >> src/Parsers.hs:163:52: >> Couldn't match expected type `Char' against inferred type `[Char]' >> Expected type: GenParser Char st Char >> Inferred type: GenParser Char st String >> In the second argument of `($)', namely `wrapSkip $ string "Run"' >> In a stmt of a 'do' expression: >> notFollowedBy $ wrapSkip $ string "Run" > > > xmobar currently requires parsec 3.x; the above is the symptom of building > it against 2.x. >
It's not clear to me from reading the sources and type signatures of 'notFollowedBy' why this is different in parsec 2 vs. parsec 3. Am I missing something easy? Because if it isn't obvious perhaps it wasn't on purpose. Antoine _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe