msgpack-haskell
msgpack-haskell copied to clipboard
Java tuple fix
In former implementation, tuple in idl is realized as generic class Tuple<T, U>. But it cannot be deserialized in msgpack type. This pull request is patch for this problem.
Instead of creating generic type, concrete class is created for each tuple type appeared in .idl file. For example, tuple<string, double> is realized as TupleStringDouble class and tuple<tuple<string, double>, double> is TupleTupleStringDoubleDouble. (This class name is somewhat lengthy and difficult to read, so if more clever naming is available, I'd like to choose it.)