THRIFT-1598 Update Haskell generated code to use Text, Hash{Map,Set}, Vector
Patch: Itai Zukerman
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1340014 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/hs/README b/lib/hs/README
index bbfe699..fe525bd 100644
--- a/lib/hs/README
+++ b/lib/hs/README
@@ -43,7 +43,7 @@
* i16 -> Data.Int.Int16
* i32 -> Data.Int.Int32
* i64 -> Data.Int.Int64
- * string -> String
+ * string -> Text
* binary -> Data.ByteString.Lazy
* bool -> Boolean
@@ -52,6 +52,17 @@
Become Haskell 'data' types. Use fromEnum to get out the int value.
+Lists
+=====
+
+Become Data.Vector.Vector from the vector package.
+
+Maps and Sets
+=============
+
+Become Data.HashMap.Strict.Map and Data.HashSet.Set from the
+unordered-containers package.
+
Structs
=======
@@ -61,7 +72,7 @@
Exceptions
==========
-Identical to structs. Throw them with throwDyn. Catch them with catchDyn.
+Identical to structs. Use them with throw and catch from Control.Exception.
Client
======
@@ -86,4 +97,3 @@
Just a function that takes a handler label, protocols. It calls the
superclasses process if there is a superclass.
-