Add implicit foralls for bidir, update and unify pipeline

This commit is contained in:
Martin Fredin 2023-04-03 17:34:33 +02:00
parent 12bca1c32d
commit 9870802371
33 changed files with 1010 additions and 1055 deletions

View file

@ -1,10 +1,8 @@
data Bool () where {
True : Bool ()
data Bool () where
True : Bool ()
False : Bool ()
};
main : Bool () -> a -> Int ;
main b = case b of {
False => (\x. 1);
True => \x. 0;
};
main : Bool () -> a -> Int
main b = case b of
False => (\x. 1)
True => (\x. 0)