@@ -52,7 +52,7 @@ makeTypes datatypes =
53 builtins :: [(String, Int)]
53 builtins :: [(String, Int)]
54 builtins = concat [ map tuple [0..9]
54 builtins = concat [ map tuple [0..9]
55− , kind 1 ["_List"]
55+ , kind 1 ["List"]
56 , kind 0 ["Int","Float","Char","String","Bool"]
56 , kind 0 ["Int","Float","Char","String","Bool"]
@@ -66,7 +66,7 @@ makeConstructors :: Environment
66 -> Map.Map String (IO (Int, [Variable], [Type], Type))
66 -> Map.Map String (IO (Int, [Variable], [Type], Type))
67makeConstructors env datatypes = Map.fromList builtins
67makeConstructors env datatypes = Map.fromList builtins
69− list t = (types env Map.! "_List") <| t
69+ list t = (types env Map.! "List") <| t
71 inst :: Int -> ([Type] -> ([Type], Type)) -> IO (Int, [Variable], [Type], Type)
71 inst :: Int -> ([Type] -> ([Type], Type)) -> IO (Int, [Variable], [Type], Type)
72 inst numTVars tipe = do
72 inst numTVars tipe = do