paf31 / purescript-derive-lenses

A little utility to derive lenses and prisms for data types in PureScript
MIT License
41 stars 3 forks source link

Compilation Error with Purescript 0.8.4.0 #9

Open jamesmcnamara opened 8 years ago

jamesmcnamara commented 8 years ago
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.

paf31 commented 8 years ago

Yes, this needs some updates for 0.8.*. For now, I should just give an upper bound in the cabal file, I think.