3 ms·
Yeah once you get into Monofunctor or 'PorcelainPile<static const volatile String&>' lawyering you know you went too far
by raverbashing 8mo ago
Yeah once you get into Monofunctor or 'PorcelainPile<static const volatile String&>' lawyering you know you went too far
- mrkeen 8mo agoTIL about Monofunctor. Pretty nifty. It's for cases where your type is a container of something (as opposed to anything). I.E. you can .map (or .Select if you're .NET-inclined) over the Chars in a String, but not some other type, because String can't hold another type. https://hackage.haskell.org/package/mono-traversable-1.0.21.0/docs/Data-MonoTraversable.html#t:MonoFunctor https://hackage.haskell.org/package/mono-traversable-1.0.21....