Update for new type of module (no t v)
commit5e3f94ce60faf1bf69c013f268653d7e2bf75197
authorEvan Czaplicki <info@elm-lang.org>
dateThu 2 Jan 2014, 23:53 (13 years ago)
parent41dd0c8
compiler/Type/Inference.hs+1−1
@@ -25,7 +25,7 @@ import System.IO.Unsafe -- Possible to switch over to the ST monad instead of
2525 -- the IO monad. I don't think that'd be worthwhile.
2626
2727
28−infer :: Interfaces -> MetadataModule t v -> Either [Doc] (Map.Map String Type)
28+infer :: Interfaces -> MetadataModule -> Either [Doc] (Map.Map String Type)
2929infer interfaces modul = unsafePerformIO $ do
3030 env <- Env.initialEnvironment
3131 (datatypes modul ++ concatMap iAdts (Map.elems interfaces))