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

Version Path
trackler-2.2.1.180 tracks/fsharp/exercises/lens-person/README.md
trackler-2.2.1.179 tracks/fsharp/exercises/lens-person/README.md
trackler-2.2.1.178 tracks/fsharp/exercises/lens-person/README.md
trackler-2.2.1.177 tracks/fsharp/exercises/lens-person/README.md
trackler-2.2.1.176 tracks/fsharp/exercises/lens-person/README.md
trackler-2.2.1.175 tracks/fsharp/exercises/lens-person/README.md
trackler-2.2.1.174 tracks/fsharp/exercises/lens-person/README.md
trackler-2.2.1.173 tracks/fsharp/exercises/lens-person/README.md
trackler-2.2.1.172 tracks/fsharp/exercises/lens-person/README.md
trackler-2.2.1.171 tracks/fsharp/exercises/lens-person/README.md
trackler-2.2.1.170 tracks/fsharp/exercises/lens-person/README.md
trackler-2.2.1.169 tracks/fsharp/exercises/lens-person/README.md
trackler-2.2.1.167 tracks/fsharp/exercises/lens-person/README.md
trackler-2.2.1.166 tracks/fsharp/exercises/lens-person/README.md
trackler-2.2.1.165 tracks/fsharp/exercises/lens-person/README.md
trackler-2.2.1.164 tracks/fsharp/exercises/lens-person/README.md
trackler-2.2.1.163 tracks/fsharp/exercises/lens-person/README.md
trackler-2.2.1.162 tracks/fsharp/exercises/lens-person/README.md
trackler-2.2.1.161 tracks/fsharp/exercises/lens-person/README.md
trackler-2.2.1.160 tracks/fsharp/exercises/lens-person/README.md