Skip to content

danidiaz/lens-aeson-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What's this?

A Haskell package containing additional examples for lens-aeson. People who are not yet very familiar with lens might find it helpful.

How to use this package?

Simply read the haddock documentation.

You can also play with the examples in the repl, by downloading the Git repo, building it, and invoking

$ cabal repl lens-aeson-examples
Preprocessing library for lens-aeson-examples-1.0.0.0..
GHCi, version 8.2.2: http://www.haskell.org/ghc/  :? for help
Loaded GHCi configuration from /root/.ghci
[1 of 1] Compiling Data.Aeson.Lens.Examples ( src/Data/Aeson/Lens/Examples.hs, interpreted )
Ok, one module loaded.
*Data.Aeson.Lens.Examples> pp Null -- we have Data.Aeson, Data.Aeson.Lens and Control.Lens in scope
null

How about an example for X?

Ideas for additional examples are welcome. Just open an issue on GitHub.

See also

this somewhat involved example that uses partsOf

About

Examples for lens-aeson

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published