more Justfile command and fixed bug in Monomorphizer

This commit is contained in:
sebastianselander 2023-05-08 21:50:34 +02:00
parent 23f4e3365a
commit d3d2c61dc6
3 changed files with 13 additions and 4 deletions

View file

@ -82,7 +82,7 @@ disableGC :: Options -> Options
disableGC opts = opts{gc = False}
disablePrelude :: Options -> Options
disablePrelude opts = opts{preludeOpt = False}
disablePrelude opts = opts{preludeOpt = True}
chooseTypechecker :: String -> Options -> Options
chooseTypechecker s options = options{typechecker = tc}
@ -212,6 +212,6 @@ prelude =
, " Cons x xs => flipConst (printChar x) (printStr xs)"
, "\n"
, "data List a where"
, " Cons : a -> List a -> List a"
, " Nil : List a"
, " Cons : a -> List a -> List a"
]