News for hackers. Stuff that matters.
Re:How we used Category Theory to solve a problem in Java by boothead on Wednesday January 13, 2016 @10:55AM (#10895194)
It's this

  contramap :: (a -> b) -> f b -> f a

  http://hackage.haskell.org/package/contravariant-1.3.3/docs/Data-Functor-Contravariant.html#v:contramap
Re:How we used Category Theory to solve a problem in Java by pka on Wednesday January 13, 2016 @11:48AM (#10895620)
I thought "Extension" in this example is a Monoid. So maybe foldContramap? :)