@@ -25,9 +25,6 @@ import Network.Wai.Application.Devel
26import Data.List (nub, group, sort)
26import Data.List (nub, group, sort)
27import System.Time (ClockTime)
27import System.Time (ClockTime)
28−import Data.Typeable (typeOf, Typeable1 (..), mkTyCon, mkTyConApp)
29−import Data.Enumerator (Iteratee)
30−import Data.ByteString (ByteString)
32type FunctionName = String
29type FunctionName = String
@@ -161,14 +158,6 @@ charsToLBS = encodeUtf8 . pack
162type Handler = (Application -> IO ()) -> IO ()
159type Handler = (Application -> IO ()) -> IO ()
164−instance Typeable1 (Iteratee ByteString IO) where
166− mkTyConApp i [c, io]
168− i = mkTyCon "Data.Enumerator.Iteratee"
169− c = typeOf (undefined :: ByteString)
170− io = typeOf1 (undefined :: IO ())
172theapp :: String -> String -> IO (Either InterpreterError (Handler, [FilePath]))
161theapp :: String -> String -> IO (Either InterpreterError (Handler, [FilePath]))
173theapp modu func =
162theapp modu func =
174 runInterpreter $ do
163 runInterpreter $ do