jvranish / lenses Goto Github PK
View Code? Open in Web Editor NEWA library for functional lenses in Haskell
Home Page: http://hackage.haskell.org/package/lenses
License: BSD 3-Clause "New" or "Revised" License
A library for functional lenses in Haskell
Home Page: http://hackage.haskell.org/package/lenses
License: BSD 3-Clause "New" or "Revised" License
The type of Language.Haskell.TH.Syntax.DataD has changed, and Data.Lenses.Template fails to compile.
Build with GHC 9.0 fails because of a change in template-haskell
(see below).
A bound template-haskell < 2.17
would be necessary for the versions already released on hackage.
Unfortunately, template-haskell
is only a build-depends
in conditionals in the cabal file and those cannot be revised.
(Due to this limitation, it is best practice to mention all dependencies in an unconditional build-depends
, and add additional constraints on these dependencies in the conditionals.)
$ cabal install lenses
Build profile: -w ghc-9.0.1 -O1
In order, the following will be built (use -v for more details):
- lenses-0.1.8 (lib:lenses) (requires build)
...
[2 of 2] Compiling Data.Lenses.Template ( src-26/Data/Lenses/Template.hs, dist/build/Data/Lenses/Template.o, dist/build/Data/Lenses/Template.dyn_o )
src-26/Data/Lenses/Template.hs:110:18: error:
• Expecting one more argument to ‘TyVarBndr’
Expected a type, but ‘TyVarBndr’ has kind ‘* -> *’
• In the type signature:
makeAccs :: [TyVarBndr] -> [VarStrictType] -> Q [Dec]
In an equation for ‘nameDeriveLenses’:
...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.