My biggest time-waster this week was forgetting that the answer is always traverse.
-
-
Replying to @runarorama
Do you know some resource to learn about traversals? Or is this more like something that pops up again and again naturally? While learning/writing Haskell I've used it couple of times, but would be interested to read something more... concentrated on the topic.
4 replies 0 retweets 2 likes
Replying to @dimsuz @runarorama
Also, a very loose intuition: Lens T R ~ "the T has exactly one R and some other things" Prism T R ~ "the T has exactly one R or some other things" Traversal T R ~ "the T has zero or many R and/or some other things" Iso T R ~ "the T has exactly one R and/or no other things"
6:43 PM - 9 Apr 2020
0 replies
0 retweets
3 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.