Changeset 26 for sizechecking/branches/macs/Tests/LambdaTest.hs
- Timestamp:
- May 4, 2014, 8:06:39 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sizechecking/branches/macs/Tests/LambdaTest.hs
r24 r26 9 9 test1 :: (Lambda l) => l Int 10 10 test1 = app (lam $ \_ -> lit 3) (lit 2) 11 12 const2 :: (Lambda l) => l ( Int -> Int ) 13 const2 = lam $ \_ -> lit 2 14 15 t3 :: (Lambda l) => l ( (a -> a) -> (a -> a) ) 16 t3 = (lam $ \f -> lam $ \v -> f `app` (f `app` (f `app` v))) 17 11 18 12 19 test1ast :: IO Bool
Note: See TracChangeset
for help on using the changeset viewer.