Closed hvr closed 9 years ago
Alternatively, wrapping that {-# LANGUAGE Trustworthy #-}
with an #ifdef __GLASGOW_HASKELL__ >= 702
restores GHC 7.0 support
@hvr Does {-# LANGUAGE Trustworthy #-}
actually do anything?
pinging @dterei ... :-)
@afcowie, in this situation, not really. Trustworthy in general declares that despite using things like unsafePerformIO
, this module only exports an interface that is type-safe. That is, by importing this module alone, I couldn't write type unsafe functions.
Now this only really matters if other users depend on your code and want assurances of type safety. This is exactly the point of safe haskell.
The module though, Utilities
is not an exposed module to users. And the other module, Client
, which is exposed is unsafe anyway. So you may as well just remove Trustworthy
at this point.
cabal install http-streams
on GHC 7.0.4 fails withIt works fine in GHC 7.2.2 though. Hence, if you don't want to support GHC 7.0.4 anymore, please set a lower bound
base >= 4.4
in futurehttp-streams
releases