Fixed prelude and codegen
This commit is contained in:
parent
dbc1dc4982
commit
5af9509a5f
2 changed files with 3 additions and 4 deletions
|
|
@ -175,8 +175,8 @@ prelude =
|
|||
, " False : Bool"
|
||||
, " True : Bool"
|
||||
, -- The function body of lt is replaced during code gen. It exists here for type checking purposes.
|
||||
"lt : Int -> Int -> Bool"
|
||||
, "lt x y = case x of"
|
||||
".< : Int -> Int -> Bool"
|
||||
, ".< x y = case x of"
|
||||
, " _ => True"
|
||||
, " _ => False"
|
||||
, "\n"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue