Commit graph

48 commits

Author SHA1 Message Date
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
b1603f17ce Lens: Finish the exercises based on Profunctors
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-03-21 11:47:40 +05:30
7b37e979fe stack.yaml: Update stack lts
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-11-19 18:52:49 +05:30
dd741ff696 Ignore tags file
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-08-28 00:34:08 +05:30
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
b0f7bf2c06 Add stack support
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-08-19 22:14:01 +05:30
7c8a2f87bb src: Lets: OpticPolyLens: Implement optic poly lens
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-02-26 22:56:40 +05:30
246f6b1302 src: Lets: StoreLens: Implement store lens
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-02-13 16:33:25 +05:30
5186970bb8 src: Lets: GetSetLens: Implement the examples
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-02-10 19:31:13 +05:30
1b68f0617f src: Lets: GetSetLens: Implement basic lens operators
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-02-08 23:58:38 +05:30
Tony Morris
4c7da139cc
Merge pull request #17 from ajmcmiddlin/fix-missing-bool
Remove remaining imports of `bool`.
2019-02-01 18:27:26 +10:00
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
Tony Morris
1288a421e2
Merge pull request #15 from wizzup/updates
formatting updates
2019-02-01 11:45:49 +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
wisut hantanong
af9a3cd145 ignore cabal new-build artifacts 2019-01-25 20:42:20 +07:00
Tony Morris
489d235be1
Merge pull request #14 from pedrofurla/missing-tips
Some information need to workout the mapL and setL.
2018-05-23 16:58:21 +10:00
Pedro Furlanetto
235cb9fa49 Some information need to workout the mapL and setL. 2018-05-23 16:02:30 +10:00
Tony Morris
0f0c10dfb3
Merge pull request #8 from endgame/fix-doctests
Add doctests.hs where the cabal file expects it
2018-05-10 12:31:41 +10:00
Jack Kelly
79a56a16dc Add doctests.hs where the cabal file expects it 2018-05-10 12:22:08 +10:00
Tony Morris
5feb02c32e copyright 2018-04-04 16:26:19 +10:00
Tony Morris
2d656858d4 formatting 2018-04-04 16:25:51 +10:00
Tony Morris
4a7b7d4042 formatting 2018-04-04 16:25:33 +10:00
Tony Morris
18d2688e73 nix 2018-04-04 12:16:48 +10:00
Tony Morris
ecbd55dcf1 move repo 2018-03-19 14:58:17 +10:00
Tony Morris
56aaad1f95 Compile with more recent versions of GHC. 2017-04-20 11:05:43 +10:00
Alex Mason
4d6a99fa72 Fix image width 2017-03-06 13:51:13 +11:00
Tony Morris
c32c79133a Data61 2017-03-03 15:02:41 +10:00
Tony Morris
7a675430a7 Merge pull request #7 from tmcgilchrist/ghc-7.10
Silence warning for ghc-7.10 about Applicative.
2016-02-04 10:28:45 +11:00
Tim McGilchrist
aec5f01215 Silence warning for ghc-7.10 about Applicative. 2016-02-04 10:25:39 +11:00
Tony Morris
1c82821c15 Merge pull request #5 from nkpart/nkpart/getSuburb-doctests
Fix getSuburb doctests
2015-07-28 21:36:11 +10:00
Nick Partridge
02c93d36d2 Fix getSuburb doctests 2015-07-28 21:32:38 +10:00
Tony Morris
101f79a080 Merge branch 'master' of github.com:tonymorris/lets-lens 2015-06-09 13:30:23 +10:00
Tony Morris
53a18c6dc0 fix Issue #2 2015-06-09 13:30:02 +10:00
Tony Morris
3c8ef6a34c Merge pull request #1 from charleso/topic/fold-map-doc
Fixed documentation for foldMapT
2015-06-09 13:29:12 +10:00
Charles O'Farrell
f969d2d0cd Fixed documentation for foldMapT 2015-06-08 11:07:21 +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
e3f9926b05 move repository to NICTA 2015-05-21 11:01:08 +10:00
Tony Morris
3d982b29f5 readme 2015-05-20 09:07:56 +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
3205a18ed4 Clarify exercises in README 2015-05-19 09:28:42 +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