News for hackers. Stuff that matters.
Re:Monads as a Programming Pattern by feanaro on Monday August 12, 2019 @10:50AM (#20675905)
He means that the type `Optional a` is isomorphic to the type `ListOfLengthAtMostOne a`. This is because we can pair their values up perfectly: Nothing ~ [] and Just a ~ [a].

There are no comments on this comment yet.