Fix bad inference on case expression, and make pretty for report
This commit is contained in:
parent
29de6c49e4
commit
a109b3010d
6 changed files with 406 additions and 391 deletions
|
|
@ -2,7 +2,7 @@ data Bool () where
|
|||
True : Bool ()
|
||||
False : Bool ()
|
||||
|
||||
ifThenElse : forall a. Bool () -> a -> a -> a
|
||||
ifThenElse : Bool () -> a -> a -> a
|
||||
ifThenElse b if else = case b of
|
||||
True => if
|
||||
False => else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue