Commit Graph

23 Commits

Author SHA1 Message Date
Sanchayan Maity 4d3bc29f81 Add comments showing CPS and store lens idea
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-03-22 19:44:17 +05:30
Sanchayan Maity b1603f17ce Lens: Finish the exercises based on Profunctors
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-03-21 11:47:40 +05:30
Sanchayan Maity 9c83801470 Lens.hs: Complete the easier part of this Lens exercise
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-08-27 20:37:20 +05:30
Sanchayan Maity 7c8a2f87bb src: Lets: OpticPolyLens: Implement optic poly lens
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-02-26 22:56:40 +05:30
Sanchayan Maity 246f6b1302 src: Lets: StoreLens: Implement store lens
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-02-13 16:33:25 +05:30
Sanchayan Maity 5186970bb8 src: Lets: GetSetLens: Implement the examples
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-02-10 19:31:13 +05:30
Sanchayan Maity 1b68f0617f src: Lets: GetSetLens: Implement basic lens operators
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-02-08 23:58:38 +05:30
Andrew McCluskey e77b409862
Import bool from base in doctests. 2019-02-01 15:46:27 +10:00
Andrew McCluskey 30e1d1f494
Remove remaining imports of `bool`.
Bool was removed from Lets.Data in #15.
2019-02-01 11:51:54 +10:00
Tony Morris c137586b23
Merge pull request #16 from ajmcmiddlin/fix-intOrLengthEven-test
Use function rather than solution in intOrLengthEven tests.
2019-02-01 11:46:02 +10:00
Andrew McCluskey bf94e2bbee
Use function rather than solution in intOrLengthEven tests. 2019-02-01 11:38:54 +10:00
wisut hantanong 68e07f4183 formatting updates
- remove trailing whitespaces
- `bool` is already in `base` since 4.7.0.0 (ghc 7.8.1) https://hackage.haskell.org/package/base/docs/src/Data.Bool.html#bool
2019-01-28 18:59:45 +07:00
Pedro Furlanetto 235cb9fa49 Some information need to workout the mapL and setL. 2018-05-23 16:02:30 +10:00
Tony Morris 56aaad1f95 Compile with more recent versions of GHC. 2017-04-20 11:05:43 +10:00
Nick Partridge 02c93d36d2 Fix getSuburb doctests 2015-07-28 21:32:38 +10:00
Tony Morris 53a18c6dc0 fix Issue #2 2015-06-09 13:30:02 +10:00
Tony Morris 161d1b0e24 No longer use Data.Bool for GHC 7.6 users 2015-05-21 14:19:44 +10:00
Tony Morris dfb45eb66a import Data for tests 2015-05-21 11:52:57 +10:00
Tony Morris f960fb1bc7 move modules around 2015-05-21 11:44:22 +10:00
Tony Morris 329762bbb9 fix imports 2015-05-19 11:38:31 +10:00
Tony Morris ee99bb177e formatting 2015-05-19 10:51:10 +10:00
Tony Morris 77da1bf37b Initial set of exercises, no answers 2015-05-19 09:10:42 +10:00
Tony Morris 825eb48997 init 2015-04-22 12:52:34 +10:00