Ignore:
Timestamp:
Nov 16, 2012, 10:38:01 AM (13 years ago)
Author:
gobi
Message:

removing some debug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sizechecking/Examples.hs

    r12 r14  
    4646 
    4747t27 :: (SizedExp se) => Size se ((a -> a) -> a -> a) 
    48 t27 = bind ( App t3s t3s) $ t3 `app` t3 
     48t27 = bind (App t3s t3s) $ t3 `app` t3 
    4949 
    5050t27_ :: (SizedExp se) => Size se ((a -> a) -> a -> a) 
    51 t27_ = bind ( App t3s t3s) $  
     51t27_ = bind (App t3s t3s) $  
    5252        \f ->  t3 `app` t3 `app` f 
    5353 
    5454t27__ :: (SizedExp se) => Size se ((a -> a) -> a -> a) 
    55 t27__ = bind ( App t3s t3s) $ \f x -> 
     55t27__ = bind (App t3s t3s) $ \f x -> 
    5656            t3 `app` t3 `app` f `app` x 
    5757 
     
    216216 
    217217 
    218 test2s = Abs 2 $ AAbs 18 5  $ appends `App` (Var 2 `App` List (Var 18) (Var 5)) `App` List (Var 18) (Var 5) 
     218test2s = Abs 2 $ AAbs 18 5  $ appends `App` (Var 2 `App` List (Var 18) (Var 5)) `App` 
     219  (appends `App` (Var 2 `App` List (Var 18) (Var 5)) `App` List (Var 18) (Var 5)) 
    219220test2 :: (SizedExp se)  => Size se (([a] -> [a]) -> [a] -> [a]) 
    220 test2 = bind test2s $ \f l -> append `app` (f `app` l) `app` l 
     221test2 = bind test2s $ \f l -> append `app` (f `app` l) `app` (append `app` (f `app` l) `app` l) 
    221222 
    222223data TestCase = forall a . TestCase P.String (forall se. SizedExp se => Size se a) 
     
    234235        , TestCase "t9" t9 
    235236--        , TestCase "t9_" t9_  -- too few arguments in definition 
    236         , TestCase "t27" t27 
    237         , TestCase "t27_" t27_ 
     237--        , TestCase "t27" t27 
     238--        , TestCase "t27_" t27_ 
    238239        , TestCase "t27__" t27__ 
    239240        , TestCase "addone" addone 
     
    251252        , TestCase "charm" charm 
    252253        , TestCase "comp" comp 
     254        , TestCase "merge" merge 
     255        , TestCase "split1" split1 
     256        , TestCase "split2" split2 
     257        , TestCase "mergesort" mergesort 
    253258    ] 
    254259 
Note: See TracChangeset for help on using the changeset viewer.