Changeset 3724 for src/Pugs/AST/Internals.hs
- Timestamp:
- 05/23/05 13:09:12 (4 years ago)
- svk:copy_cache_prev:
- 5313
- Files:
-
- 1 modified
-
src/Pugs/AST/Internals.hs (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Pugs/AST/Internals.hs
r3690 r3724 287 287 doFrom $ concat list 288 288 where 289 doFrom :: [Val] -> Eval [VPair] 289 290 doFrom [] = return [] 290 291 doFrom (k:v:list) = do … … 574 575 , juncDup :: !(Set Val) 575 576 -- ^ Only used for @one()@ junctions. Contains those values 576 -- that appear more than once (the actual count is577 -- irrelevant), since matching any of these would578 -- 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. 580 581 , juncSet :: !(Set Val) 581 582 -- ^ Set of values that make up the junction. In @one()@ 582 -- junctions, contains the set of values that appear exactly583 -- /once/.583 -- junctions, contains the set of values that appear exactly 584 -- /once/. 584 585 } deriving (Eq, Ord) 585 586 … … 1088 1089 -- askGlobal :: m Pad 1089 1090 1091 {-| 1092 Retrieve 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 1096 STM var. 1097 -} 1090 1098 askGlobal :: Eval Pad 1091 1099 askGlobal = do
