All pastes #26198 Raw Edit

Untitled

public text v1 · immutable
#26198 ·published 2005-10-21 19:37 UTC
rendered paste body
ghc --make expre.hs -o expre
Chasing modules from: expre.hs
Compiling Main             ( expre.hs, expre.o )

expre.hs:29:
    Couldn't match `Parser Integer' against `t -> t1'
        Expected type: Parser Integer
        Inferred type: t -> t1
    Probable cause: `expr' is applied to too many arguments in the call
        (expr "1+2*3")
    In the definition of `main': main = expr "1+2*3"