ParentFull threadthrowaway234232·I think this may be good reference material: http://learnyouahaskell.com/types-and-typeclassesBasically I'm encoding this approach in Java.View on HN