https://github.com/Mojang/DataFixerUpper/blob/8b5f82ab78b30f...
Is that understandable to you? And does this really make solving some problems easier?
I've dabbled a bit in Haskell, but never got further than functors, applicatives and monads, and I always wonder whether this kind of stuff really helps.
(It probably doesn't help that Java is very verbose, especially compared to Haskell...)