Sha256: 37ba310f5585795c49122378830346894bf562dc705a8d29adf007d985d53e73
Contents?: true
Size: 773 Bytes
Versions: 183
Compression:
Stored size: 773 Bytes
Contents
# Lens Person Use lenses to update nested records (specific to languages with immutable data). Updating fields of nested records is kind of annoying in Haskell. One solution is to use [lenses](https://wiki.haskell.org/Lens). Implement several record accessing functions using lenses, you may use any library you want. The test suite also allows you to avoid lenses alltogether so you can experiment with different approaches. ## Hints - This exercise expects you to use the [Aether](https://xyncro.tech/aether/) library, which adds *lenses* functionality to F#. With lenses, you can quite easily read or update nested structures. ## Submitting Incomplete Solutions It's possible to submit an incomplete solution so you can see how others have completed the exercise.
Version data entries
183 entries across 183 versions & 1 rubygems