mirror of
https://github.com/fjvallarino/monomer.git
synced 2024-09-11 12:05:35 +03:00
Fix optics tutorial sample code (2) (#98)
Rename `_address` to `_workAddress` so the Prism sample code works.
This commit is contained in:
parent
34fa63792d
commit
17bd6bcb11
2
docs/tutorials/external/01-optics.md
vendored
2
docs/tutorials/external/01-optics.md
vendored
@ -65,7 +65,7 @@ data Address = Address {
|
||||
data Person = Person {
|
||||
_name :: Text,
|
||||
_homeAddress :: Address,
|
||||
_address :: Maybe Address,
|
||||
_workAddress :: Maybe Address,
|
||||
_friends :: [Person]
|
||||
} deriving (Eq, Show)
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user