[Haskell-cafe] Representing Hierarchies with Typeclasses

Bardur Arantsson spam at scientician.net
Wed Oct 5 14:12:08 UTC 2016

On 2016-10-05 06:31, Rahul Muttineni wrote:
> Hi cafe,
> I want to embed Java class hierarchies in Haskell, but I am unable to
> find a clean way to do it.

Is this purely an academic exercise, or are you trying to solve some
higher-level ("real") problem?

If it's the latter then it might be a better idea to describe the
overall problem you're trying to solve. (I.e. this may be an instance of
the "XY Problem".)


More information about the Haskell-Cafe mailing list