Changeset 24 for sizechecking/branches/macs/tests/OpsTest.hs
- Timestamp:
- May 3, 2014, 6:38:40 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sizechecking/branches/macs/tests/OpsTest.hs
r22 r24 9 9 10 10 test1 :: (LOps l) => l Int 11 test1 = app (lam $ \x -> const 3 + x) (const 2)11 test1 = app (lam $ \x -> lit 3 + x) (lit 2) 12 12 13 13 test2 :: (LOps l) => l Int 14 test2 = app (lam $ \x -> const 3 * x) (const 2)14 test2 = app (lam $ \x -> lit 3 * x) (lit 2) 15 15 16 16 test3 :: (LOps l) => l Int 17 test3 = app (lam $ \x -> const 2 * x + const 1) (const 5 - const 2)17 test3 = app (lam $ \x -> lit 2 * x + lit 1) (lit 5 - lit 2) 18 18 19 19
Note: See TracChangeset
for help on using the changeset viewer.