THRIFT-390. hs: Cabalize Haskell library code
Use Cabal to build and install the Haskell library code.
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@763029 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/hs/src/TSocket.hs b/lib/hs/src/TSocket.hs
index a04739a..1e00261 100644
--- a/lib/hs/src/TSocket.hs
+++ b/lib/hs/src/TSocket.hs
@@ -18,11 +18,15 @@
--
module TSocket(TSocket(..)) where
+
import Thrift
import Data.IORef
import Network
-import IO
import Control.Exception
+
+import System.IO
+
+
data TSocket = TSocket{host::[Char],port::PortNumber,chan :: Maybe Handle}
instance TTransport TSocket where