msgpack/msgpack-haskell — pull request #43 by sbeschke (2014-02-15 21:21:57+00:00)
Title: Fixed bugs in Derive.hs

This fixes two bugs in Derive.hs.

The first bug prevented compilation and was fixed by adding T.pack to convert String to Text.

The second bug relates to issue #38 and caused ADTs to be serialised improperly. Constructor alternatives were only distinguished by their field types, which led to problems if different constructors had the same field types. The fix is to include the constructor name in the serialised value.