18 Generators (short names)
This module re-provides the procedures from "generator.ss" with shorter, more convenient names. See Generators for more detailed documentation.
g:end : symbol? |
Shorter name for generator-end.
(g:end? item) → boolean? |
item : any |
Shorter name for generator-end?.
value-contract : flat-contract? |
lis : (listof a) |
Shorter name for list->generator.
(g:range start [end step]) → (gen-> integer?) |
start : integer? |
end : (U integer? #f) = #f |
step : integer? = 1 |
Shorter name for range->generator.
fn : (arg1 arg2 ... -> ans) |
gen1 : (gen-> arg1) |
gen2 : (gen-> arg2) |
Shorter name for generator-map.
fn : (arg1 arg2 ... seed -> seed) |
initial-seed : seed |
gen1 : (gen-> arg1) |
gen2 : (gen-> arg2) |
Shorter name for generator-fold-map.
pred : (arg -> boolean?) |
src : (gen-> arg) |
Shorter name for generator-filter.
fn : (arg -> (U ans #f)) |
src : (gen-> arg) |
Shorter name for generator-filter-map.
src : (gen-> a) |
Shorter name for generator-remove-duplicates.
(g:for-each fn gen1 gen2 ) → void? |
gen1 : (gen-> arg1) |
gen2 : (gen-> arg2) |
Shorter name for generator-for-each
fn : (arg1 arg2 ... seed -> seed) |
initial-seed : seed |
gen1 : (gen-> arg1) |
gen2 : (gen-> arg2) |
Shorter name for generator-fold
src : (gen-> a) |
Shorter name for generator-fold.
| ||||||||||||||||||||||||||||
src : (gen-> a) | ||||||||||||||||||||||||||||
item->key : (a -> b) | ||||||||||||||||||||||||||||
item->val : (a -> c) = (lambda (a) a) | ||||||||||||||||||||||||||||
initial-hash : (hashof b c) = (make-hash) |
Shorter name for generator->hash.
mask : (listof boolean) |
src : (gen-> (listof any)) |
same? : [(any any -> boolean)] = eq? |
Shorter name for generator-project
message : string? |
src : (gen-> a) |
Shorter name for generator-debug.