This commit is contained in:
Chris Done 2017-05-03 20:12:04 +01:00
parent 47850589fc
commit 81e9c8ab09

View File

@ -1687,6 +1687,13 @@ preludeDefns
(TGen 0 `fn` TAp tIO tUnit))),
[([],
ap [evar ".", evar "putStrLn", econst showMfun])])],
[("printChar",
Just (Forall []
([] :=>
(tString))),
[([],
ap [econst showMfun, econst (("Z" :>: toScheme (TVar(Tyvar "k" Star)) -- (TCon (Tycon "Nat" Star))
))])])],
[("getLine",
Just (Forall []
([] :=>