Changeset 3372 for src/Pugs/Eval.hs

Show
Ignore:
Timestamp:
05/18/05 02:43:25 (4 years ago)
Author:
theorbtwo
svk:copy_cache_prev:
4945
Message:

More signatures, a few more haddocks.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/Pugs/Eval.hs

    r3340 r3372  
    8787-- Evaluation --------------------------------------------------------------- 
    8888 
    89 -- debug :: (Pretty a) => String -> String -> a -> Eval () 
     89debug :: Pretty a => String -> (String -> String) -> String -> a -> Eval () 
    9090debug key fun str a = do 
    9191    rv <- asks envDebug 
     
    152152        (retVal $ val) 
    153153 
     154addGlobalSym :: (Pad -> Pad) -> Eval () 
    154155addGlobalSym newSym = do 
    155156    glob <- asks envGlobal 
     
    997998        | otherwise                     = False 
    998999 
     1000toGlobal :: String -> String 
    9991001toGlobal name 
    10001002    | (sigil, identifier) <- break (\x -> isAlpha x || x == '_') name 
     
    10041006 
    10051007 
     1008arityMatch :: VCode -> Int -> Int -> Maybe VCode 
    10061009arityMatch sub@MkCode{ subAssoc = assoc, subParams = prms } argLen argSlurpLen 
    10071010    | assoc == "list" || assoc == "chain"