Skip to content

Build fails with GHC 8 #5

@lpeterse

Description

@lpeterse

Data/UTC/Class/HasUnixTime.hs:39:3: error:
• Constraint ‘Monad m’ in the type of ‘getUnixTime’
constrains only the class type variables
Use ConstrainedClassMethods to allow it
• When checking the class method:
getUnixTime :: forall (m :: * -> *).
HasUnixTime m =>
forall a. (Monad m, IsUnixTime a) => m a
In the class declaration for ‘HasUnixTime’
cabal: Leaving directory '/tmp/cabal-tmp-9305/utc-0.2.0.1'
cabal: Error: some packages failed to install:
utc-0.2.0.1 failed during the building phase. The exception was:
ExitFailure 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions