No description
Find a file
Sanchayan Maity 487130ef65 README: Add references to Lens material
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-03-11 21:11:24 +05:30
.gitignore IHaskell notebook on Isos in Optics 2020-01-12 11:14:06 +05:30
folds.ipynb Add folds chapter 2020-01-26 21:23:28 +05:30
isos.ipynb IHaskell notebook on Isos in Optics 2020-01-12 11:14:06 +05:30
lenses.ipynb Add third lenses chapter from Optics by Example 2020-01-12 19:51:02 +05:30
operators.ipynb Add operators chapter 2020-01-18 22:05:53 +05:30
optics.ipynb Add Optics 2020-01-12 12:08:34 +05:30
polymorphic-optics.ipynb Add polymorphic optics chapter 2020-01-13 21:20:52 +05:30
README.md README: Add references to Lens material 2020-03-11 21:11:24 +05:30
traversal.ipynb Add traversals 2020-02-08 15:53:57 +05:30

About

This is a repository of Haskell Jupyter notebooks which will mostly notes on Optics and my exploration in Optics through various blog posts and also primarily driven by Chris Penner's book Optics by example.

Installing IHaskell

Sorry, I assume Nix here as it was just easy.

git clone https://github.com/gibiansky/IHaskell.git
nix-build release.nix --argstr compiler ghc865 --arg packages "haskellPackages: [ haskellPackages.lens ]"
result/bin/ihaskell-notebook

One can link the binary in local/bin to the above so that it can be run from anywhere.

References

namc.in/2018-03-26-lenses-part-1

https://deontologician.com/wiki/lenses/

https://www.schoolofhaskell.com/user/griba/easier_lenses_profunctor_based_with_mezzolens

https://www.schoolofhaskell.com/user/liyang/profunctors

https://blog.jez.io/lens-intuition/

https://blog.jle.im/entry/lenses-products-prisms-sums.html

http://oleg.fi/gists/posts/2017-04-18-glassery.html

https://www.seas.upenn.edu/~cis194/fall16/lectures/14-lenses.html