msgpack / msgpack-haskell

Haskell implementation of MessagePack / msgpack.org[Haskell]
http://hackage.haskell.org/package/msgpack
138 stars 80 forks source link

implement typedef as a pseudo typedef anti-pattern #23

Closed delta2323 closed 12 years ago

delta2323 commented 12 years ago

I implemented typedef as a public inheritance.

Although this technique is referred to as an anti-pattern in the following article, I think it is useful and couldn't find deficits seemingly. http://www.ibm.com/developerworks/jp/java/library/j-jtp02216/index.html

If some problems occur, I'd like to consider alternative solutions.