-
Notifications
You must be signed in to change notification settings - Fork 19
Closed
Description
docopt 0.7.0.5 needs to be revised on hackage to base < 4.14 since it does not build with GHC 8.10 or 9.0. (I suspect versions 0.7.0.<5 have the same problem.)
Revisions can be made at e.g. https://hackage.haskell.org/package/docopt/maintain
Error (GHC 9.0.1):
[ 6 of 10] Compiling System.Console.Docopt.Public ( System/Console/Docopt/Public.hs, dist/build/System/Console/Docopt/Public.o, dist/build/System/Console/Docopt/Public.dyn_o )
System/Console/Docopt/Public.hs:195:17: error:
• Could not deduce (MonadFail m) arising from a use of ‘fail’
from the context: Monad m
bound by the type signature for:
getFirstArg :: forall (m :: * -> *).
Monad m =>
Arguments -> Option -> m String
at System/Console/Docopt/Public.hs:193:1-57
Possible fix:
add (MonadFail m) to the context of
the inferred type of failure :: m a
or the type signature for:
getFirstArg :: forall (m :: * -> *).
Monad m =>
Arguments -> Option -> m String
See also https://matrix.hackage.haskell.org/#/package/docopt for where the bounds to not reflect buildability (look for the red FAIL entries).
Metadata
Metadata
Assignees
Labels
No labels