Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Dhall: A Gateway Drug to Haskell. Parent comment
Yes its confusing. It sometimes helps to give longer variables:
_1 :: Lens' (fst, snd) fst set :: Lens' structure focus -> focus -> structure -> structure set _1 :: fst -> (fst, snd) -> (fst, snd)
There are no comments on this comment yet.
Yes its confusing. It sometimes helps to give longer variables:
You are bumping up against the severe amount of polymorphism at play in the lens library. This makes it hard to build a mental model but is a tremendous source of expressiveness and utility.