purescript-derive-lenses
purescript-derive-lenses copied to clipboard
Compilation Error with Purescript 0.8.4.0
Preprocessing executable 'purescript-derive-lenses' for
purescript-derive-lenses-0.1.0.0...
[1 of 1] Compiling Main ( src/Main.hs, dist/build/purescript-derive-lenses/purescript-derive-lenses-tmp/Main.o )
src/Main.hs:16:26:
Expecting one more argument to ‘P.ProperName’
Expected a type,
but ‘P.ProperName’ has kind ‘P.ProperNameType -> *’
In the type ‘P.ProperName’
In the definition of data constructor ‘DataConstructorPrism’
In the data declaration for ‘Optic’
I'm not familiar with building Haskell packages so it is very possible that this is my mistake with some kind of versioning.
Yes, this needs some updates for 0.8.*. For now, I should just give an upper bound in the cabal file, I think.