Skip to content

Failed to build #20

Description

@anshwad10

I am trying to use this library, but it's giving me an error:

Configuring library for memoize-1.1.0...
Preprocessing library for memoize-1.1.0...
Building library for memoize-1.1.0...
[1 of 3] Compiling Data.Function.Memoize.Class ( src/Data/Function/Memoize/Class.hs, dist/build/Data/Function/Memoize/Class.o, dist/build/Data/Function/Memoize/Class.dyn_o )
Warning: [git-protocol] Cloning over git:// might lead to an arbitrary code
execution vulnerability. Furthermore, popular forges like GitHub do not
support it. Use https:// or ssh:// instead.
[2 of 3] Compiling Data.Function.Memoize.TH ( src/Data/Function/Memoize/TH.hs, dist/build/Data/Function/Memoize/TH.o, dist/build/Data/Function/Memoize/TH.dyn_o )
src/Data/Function/Memoize/TH.hs:179:21: error: [GHC-83865]
    • Couldn't match type ‘BndrVis’ with ‘()’
      Expected: [TyVarBndr ()]
        Actual: [TyVarBndr BndrVis]
    • In the expression: tvbs
      In the first argument of ‘return’, namely ‘(name, tvbs, conInfos)’
      In a stmt of a 'do' block: return (name, tvbs, conInfos)
    |
179 |       return (name, tvbs, conInfos)
    |                     ^^^^

src/Data/Function/Memoize/TH.hs:182:21: error: [GHC-83865]
    • Couldn't match type ‘BndrVis’ with ‘()’
      Expected: [TyVarBndr ()]
        Actual: [TyVarBndr BndrVis]
    • In the expression: tvbs
      In the first argument of ‘return’, namely ‘(name, tvbs, [conInfo])’
      In a stmt of a 'do' block: return (name, tvbs, [conInfo])
    |
182 |       return (name, tvbs, [conInfo])
    |                     ^^^^

Error: [Cabal-7125]

I am using GHC version 9.14.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions