Changeset 7696 for src/Pugs/Compile.hs

Show
Ignore:
Timestamp:
10/22/05 12:48:17 (3 years ago)
Author:
autrijus
Message:

* Slight tweak for Pugs.Compile: s/CompMonad/Comp/g

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/Pugs/Compile.hs

    r7623 r7696  
    4040-} 
    4141 
    42 type Comp a = Eval a 
    43 type CompMonad = EvalT (ContT Val (ReaderT Env SIO)) 
     42type Comp = Eval 
    4443 
    4544{-| Currently only 'Exp' → 'PIL' -} 
     
    151150    enter :: a -> m b -> m b 
    152151 
    153 instance EnterClass CompMonad VCode where 
     152instance EnterClass Comp VCode where 
    154153    enter sub = local (\e -> e{ envLValue = subLValue sub, envContext = CxtItem (subReturns sub) }) 
    155154 
    156 instance EnterClass CompMonad Cxt where 
     155instance EnterClass Comp Cxt where 
    157156    enter cxt = local (\e -> e{ envContext = cxt }) 
    158157