Anybody want to explain to me why this doesn't work?

  ___         ___ _
 / _ \ /\  /\/ __(_)
/ /_\// /_/ / /  | |      GHC Interactive, version 6.6.1, for Haskell 98.
/ /_\\/ __  / /___| |      http://www.haskell.org/ghc/
\____/\/ /_/\____/|_|      Type :? for help.

Loading package base ... linking ... done.
Prelude> :m Text.ParserCombinators.Parsec
Prelude Text.ParserCombinators.Parsec> parseTest (endBy anyToken (char '#')) "abc#"
Loading package parsec-2.0 ... linking ... done.
parse error at (line 1, column 1):
unexpected "b"
expecting "#"

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to