@@ -25,9 +25,6 @@ import Network.Wai.Application.Devel
2525
2626import Data.List (nub, group, sort)
2727import System.Time (ClockTime)
28−import Data.Typeable (typeOf, Typeable1 (..), mkTyCon, mkTyConApp)
29−import Data.Enumerator (Iteratee)
30−import Data.ByteString (ByteString)
3128
3229type FunctionName = String
3330
@@ -161,14 +158,6 @@ charsToLBS = encodeUtf8 . pack
161158
162159type Handler = (Application -> IO ()) -> IO ()
163160
164−instance Typeable1 (Iteratee ByteString IO) where
165− typeOf1 _ =
166− mkTyConApp i [c, io]
167− where
168− i = mkTyCon "Data.Enumerator.Iteratee"
169− c = typeOf (undefined :: ByteString)
170− io = typeOf1 (undefined :: IO ())
171−
172161theapp :: String -> String -> IO (Either InterpreterError (Handler, [FilePath]))
173162theapp modu func =
174163 runInterpreter $ do