Changeset 3538 for src/Pugs/Prim.hs

Show
Ignore:
Timestamp:
05/20/05 23:49:16 (4 years ago)
Author:
theorbtwo
svk:copy_cache_prev:
5107
Message:

More signatures. If I could fiture out a signature for mainCC in
src/Pugs/Compile/Haskell.hs that doesn't make the compiler croak, we could
turn off the option to not warn (and thus error, since we -Werror) on
missing signatures.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/Pugs/Prim.hs

    r3532 r3538  
    472472op1 other   = \_ -> fail ("Unimplemented unaryOp: " ++ other) 
    473473 
     474op1Return :: Eval Val -> Eval Val 
    474475op1Return action = do 
    475476    depth <- asks envDepth 
     
    480481        _       -> fail $ "cannot return() from a " ++ pretty (subType sub) 
    481482 
     483op1Yield :: Eval Val -> Eval Val 
    482484op1Yield action = do 
    483485    depth <- asks envDepth 
     
    490492            action 
    491493 
     494op1ShiftOut :: Val -> Eval Val 
    492495op1ShiftOut v = shiftT . const $ do 
    493496    evl <- asks envEval