Gabriella439 / Haskell-Index-Core-Library

Indexed Types
BSD 3-Clause "New" or "Revised" License
13 stars 2 forks source link

1.0.3 not buildable with GHC < 7.6 #9

Closed phadej closed 8 years ago

phadej commented 8 years ago

GHC 7.4

Control/IMonad/Trans.hs:50:9:
    Could not deduce (IMonad k (U k * m)) arising from a use of `liftI'
    from the context (Monad m, IMonadTrans k t)
      bound by the type signature for
                 liftU :: (Monad m, IMonadTrans k t) =>
                          m a -> t (U k * m) ((:=) k a i) i

GHC 7.2

Control/Category/Index.hs:10:41: Unsupported extension: PolyKinds

Made a revision on Hackage with base >=4.6

Gabriella439 commented 8 years ago

I fixed index-core to build on GHC 7.2 and 7.4 by disabling the Polykinds extension for base-4.5.* and older. The fix is up on Hackage as index-core-1.0.4.