Fix bad inference on case expression, and make pretty for report

This commit is contained in:
Martin Fredin 2023-04-08 21:52:57 +02:00
parent 29de6c49e4
commit a109b3010d
6 changed files with 406 additions and 391 deletions

View file

@ -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