Search Haskell Channel Logs

Saturday, January 28, 2017

#haskell channel featuring glguy, Wizek, vicfred, lambdabot,

vicfred 2017-01-28 15:06:51
hi
lambdabot 2017-01-28 15:07:17
Hello.
Wizek 2017-01-28 15:41:50
So, I'm in the process of learning to use lenses. the `hashmap` package doesn't define lens instances for its Map datatype, so I thought I would write one. Here is my attempt so far: https://gist.github.com/Wizek/0b51ad8413bdcfe24c600e1907324ade Could anyone help me understand what this type error is trying to say? I tried different variations too and the types don't seem to fit together. Could it be that I'll need to define a
Wizek 2017-01-28 15:41:50
Traversal/IxValue instance instead of a Lens?
glguy 2017-01-28 15:44:48
Wizek: Yes you'll be defining a Lens, but the type you've declared for your lens is wrong