Q: Why do Haskellers put types for erroneous cases first and for correct cases second when OCaml and Rust emphasize correct cases the other way? A: Because instead of a new datatype, they pun the isomorphic Either, and the constructor for the correct case is then Right.
-
Show this thread
And I am the one who claims that the whole point of Category Theory is to minimize the amount of puns possible by categorizing everything into as disjoint types as possible.
2:04 PM - 4 Sep 2018
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.
Read my blog!