|
[NEXT] [PREV]
HANDBOOK
/ GENTLE PRIMER
/ Smart Traversal
/Threaded Parameter |
|
Gentle
Applications Concepts Examples Handbook Support Download
|
A sweep predicate may also have an additional input and an output parameter, which must then both be of the same type:
'root' Program(-> Pgm) Count(Pgm, 0 -> N) print(N)
'sweep' Count(ANY, INT -> INT)
'rule' Count(id(Id, Pos), N -> N+1)
[NEXT] [PREV] |