nikita-volkov / hasql-implicits

Implicit definitions for Hasql, such as default codecs for standard types
http://hackage.haskell.org/package/hasql-implicits
MIT License
2 stars 2 forks source link

Not in scope: type constructor or class ‘NullableOrNot’ #1

Closed Twizty closed 1 year ago

Twizty commented 5 years ago

Hi, I'm unable to build this library. It fails with this message:

    Process exited with code: ExitFailure 1
    Logs have been written to: /Users/maksimdavydov/git/haskel/htest/.stack-work/logs/hasql-implicits-0.1.0.1.log

    Configuring hasql-implicits-0.1.0.1...
    Preprocessing library for hasql-implicits-0.1.0.1..
    Building library for hasql-implicits-0.1.0.1..
    [1 of 2] Compiling Hasql.Implicits.Prelude ( library/Hasql/Implicits/Prelude.hs, .stack-work/dist/x86_64-osx/Cabal-2.4.0.1/build/Hasql/Implicits/Prelude.o )
    [2 of 2] Compiling Hasql.Implicits.Encoders ( library/Hasql/Implicits/Encoders.hs, .stack-work/dist/x86_64-osx/Cabal-2.4.0.1/build/Hasql/Implicits/Encoders.o )

    /private/var/folders/k0/4pcd9f7x4nl0zt41skrrtqt40000gn/T/stack57149/hasql-implicits-0.1.0.1/library/Hasql/Implicits/Encoders.hs:12:19: error:
        Not in scope: type constructor or class ‘NullableOrNot’
       |
    12 |   defaultParam :: NullableOrNot Value a
       |                   ^^^^^^^^^^^^^
nikita-volkov commented 1 year ago

Sorry for neglecting. Shouldn't be an issue in the latest releases.