lucasdicioccio / laborantin-hs

Experiment-management framework in Haskell
Apache License 2.0
19 stars 6 forks source link

Fix build. Now works with ghc-7.6, ghc-7.8 and ghc-7.10 #6

Closed thomie closed 9 years ago

thomie commented 9 years ago

I also added a .travis.yml file that make sure that this packages can still be built with ghc-7.6 and ghc-7.8.

Edit: also fix the following error with ghc-7.10 by adding a FlexibleContexts pragma to Parse.hs:

Laborantin/Query/Parse.hs:46:1:
    Non type-variable argument in the constraint: Stream s m Char
    (Use FlexibleContexts to permit this)
    When checking that ‘binOp’ has the inferred type
      binOp :: forall s u (m :: * -> *) r.
               Stream s m Char =>
               [(String, r)] -> ParsecT s u m r