Search Haskell Channel Logs

Saturday, February 18, 2017

#haskell channel featuring delYsid, Tuplanolla, johnw, nitrix,

delYsid 2017-02-18 08:23:20
Ugh, where do I start to get a grip on Lens? wreq sorta forced me to use it, and I just realized I dont have any clue how it works.
delYsid 2017-02-18 08:24:18
In particular, I have defaults & manager .~ Left settings, and I wonder if I can construct a Lens that will update a certain field in the ManagerSettings.
Tuplanolla 2017-02-18 08:27:32
Get yourself Microlens' documentation and read about `view`, `set`, `over` and `toListOf`, delYsid.
nitrix 2017-02-18 08:41:42
delYsid: Sticking to the simplified Lens' type might help too.
johnw 2017-02-18 08:42:48
delYsid: it will probably look like "manager.nameOfField"