Changeset 5592 for src/Pugs/Monads.hs
- Timestamp:
- 07/14/05 15:26:31 (3 years ago)
- svk:copy_cache_prev:
- 7591
- Files:
-
- 1 modified
-
src/Pugs/Monads.hs (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Pugs/Monads.hs
r5498 r5592 34 34 35 35 {-| 36 Perform the specified evaluation in the specified (Perl 6) context ('Cxt').36 Perform the specified evaluation in the specified (Perl 6) context ('Cxt'). 37 37 38 38 (Subsequent chained 'Eval's do /not/ see this new scope.) … … 42 42 43 43 {-| 44 Evaluate the specified wxpression in the specified (Perl 6) context ('Cxt').44 Evaluate the specified wxpression in the specified (Perl 6) context ('Cxt'). 45 45 46 46 (Subsequent chained 'Eval's do /not/ see this new scope.) … … 124 124 125 125 {-| 126 Generate a new Perl 6 operation from a Haskell function, give it a name, and126 Generate a new Perl 6 operation from a Haskell function, give it a name, and 127 127 generate a @('Pad' -> 'Pad')@ transformer that can be used to install it into 128 128 a pad. … … 151 151 152 152 {-| 153 Generate a Perl 6 primitive that, when called, will activate the /current/153 Generate a Perl 6 primitive that, when called, will activate the /current/ 154 154 continuation (i.e. one that can be used to immediately break out of whatever 155 155 evaluation we are about to perform). This is great for @&last@ and the like. … … 169 169 170 170 {-| 171 Create a Perl 6 @&?BLOCK_EXIT@ function that, when activated, breaks out of171 Create a Perl 6 @&?BLOCK_EXIT@ function that, when activated, breaks out of 172 172 the block scope by activating the current continuation. The block body 173 173 evaluation is then performed in a new lexical scope with @&?BLOCK_EXIT@
