jgm / cheapskate

Experimental markdown processor in Haskell
BSD 3-Clause "New" or "Revised" License
107 stars 18 forks source link

ParserCombinators.hs:112:3: error: ‘fail’ is not a (visible) method of class ‘Monad’ #33

Closed juhp closed 4 years ago

juhp commented 4 years ago

When building for the next Stackage Nightly:

    Building library for cheapskate-0.1.1.1..
    [1 of 8] Compiling Cheapskate.ParserCombinators

    /var/stackage/work/unpack-dir/unpacked/cheapskate-0.1.1.1-b474181e5c6a424ab2fa14d761f2bd64c29a3aeb5e90337d421ca6eae1d71799/Cheapskate/ParserCombinators.hs:112:3: error:
        ‘fail’ is not a (visible) method of class ‘Monad’
        |
    112 |   fail e = Parser $ \st -> Left $ ParseError (position st) e
        |   ^^^^
phadej commented 4 years ago

Made revision https://hackage.haskell.org/package/cheapskate-0.1.1.1/revisions/

EDIT: I think with 0.1.1.2 on Hackage and revision, this can be closed.