Show
Ignore:
Timestamp:
05/23/05 13:09:12 (4 years ago)
Author:
scook0
svk:copy_cache_prev:
5313
Message:

* Some non-toplevel function type signatures (for readability)
* Minor tweaks to Haddocks

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/Pugs/AST/Internals.hs

    r3690 r3724  
    287287        doFrom $ concat list 
    288288        where 
     289        doFrom :: [Val] -> Eval [VPair] 
    289290        doFrom [] = return [] 
    290291        doFrom (k:v:list) = do 
     
    574575    , juncDup  :: !(Set Val) 
    575576    -- ^ Only used for @one()@ junctions. Contains those values 
    576     -- that appear more than once (the actual count is 
    577     -- irrelevant), since matching any of these would 
    578     -- automatically violate the 'match /only/ one value' 
    579     -- junctive semantics. 
     577    --     that appear more than once (the actual count is 
     578    --     irrelevant), since matching any of these would 
     579    --     automatically violate the 'match /only/ one value' 
     580    --     junctive semantics. 
    580581    , juncSet  :: !(Set Val) 
    581582    -- ^ Set of values that make up the junction. In @one()@ 
    582     -- junctions, contains the set of values that appear exactly 
    583     -- /once/. 
     583    --     junctions, contains the set of values that appear exactly 
     584    --     /once/. 
    584585    } deriving (Eq, Ord) 
    585586 
     
    10881089--     askGlobal :: m Pad 
    10891090 
     1091{-| 
     1092Retrieve the global 'Pad' from the current evaluation environment. 
     1093 
     1094'Env' stores the global 'Pad' in an STM variable, so we have to @asks@ 
     1095'Eval'\'s @ReaderT@ for the variable, then extract the pad itself from the 
     1096STM var. 
     1097-} 
    10901098askGlobal :: Eval Pad 
    10911099askGlobal = do