How to convert following Java implementation into Haskell?
The major purpose here is having a list that contains various elements which are sub-type of a particular in
To migrate from OOP to Haskell, read this:
http://www.haskell.org/haskellwiki/OOP_vs_type_classes