test: add foldl test

This commit is contained in:
Leonardo de Moura 2019-12-19 12:05:45 -08:00
parent ea2cebaf74
commit 3e5527219f

View file

@ -147,7 +147,8 @@ f a
-- #check fun x => foo x x.w s4 -- fails in old elaborator
-- #check bla (fun x => x.w) s4 -- fails in the old elaborator
-- #check #[1, 2, 3].foldl (fun r a => r.push a) #[] -- fails in the old elaborator
#eval run "#check fun x => foo x x.w s4"
#eval run "#check bla (fun x => x.w) s4"
#eval run "#check #[1, 2, 3]"
#eval run "#check #[1, 2, 3].foldl (fun r a => r.push a) #[]"