source: sizechecking/branches/macs/Tests/BindTest.hs @ 27

Last change on this file since 27 was 27, checked in by gobi, 11 years ago

new files

File size: 486 bytes
RevLine 
[27]1{-# LANGUAGE NoMonomorphismRestriction #-}
2
3module Tests.BindTest where
4
5import Lambda
6import SizedFun
7import Exp
8import Prelude ( ($), Int, (==), return, sequence, (>>=), and, (.), IO, Bool, String, const )
9import qualified Control.Monad
10import qualified Tests.SizeTest as S
11import qualified Tests.ExpTest as E
12
13addOne = bind "addone" S.testAddOne E.testAddOne
14
15concat = bind "concat" S.testConcat
16  (lam $ \l1 -> lam $ \l2 -> match l1 l2 $ \x xs -> cons x (concat `app` xs `app` l2))
Note: See TracBrowser for help on using the repository browser.