Am Dienstag, 6. Mai 2008 18:52 schrieb Ross Boylan:
Source:
import Text.ParserCombinators.Parsec
import qualified Text.ParserCombinators.Parsec.Token as P
import Text.ParserCombinators.Parsec.Language(haskell)
reserved = P.reserved haskell
braces = P.braces haskell
-- TeX example
Am Dienstag, 6. Mai 2008 18:52 schrieb Ross Boylan:
g.hs:11:19:
Couldn't match expected type `t1 - GenParser Char () t'
against inferred type `CharParser st ()'
In the expression: reserved \\begin 1
In a 'do' expression: reserved \\begin 1
In the expression: