Changeset 4091 for trunk/library
- Timestamp:
- 02/15/08 10:32:01 (11 months ago)
- Files:
-
- 1 modified
-
trunk/library/loopp.lgt (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/library/loopp.lgt
r4090 r4091 1 1 2 2 :- protocol(loopp). 3 3 … … 26 26 :- mode(forto(+integer, +integer, @callable), zero_or_one). 27 27 :- info(forto/3, [ 28 comment is 'Counting from First to Last call Goal. For convenience and clarity, First and Last can be arithmeticexpressions.',28 comment is 'Counting from First to Last call Goal. For convenience and clarity, First and Last can be integer expressions.', 29 29 argnames is ['First', 'Last', 'Goal']]). 30 30 … … 33 33 :- mode(forto(-integer, +integer, +integer, @callable), zero_or_one). 34 34 :- info(forto/4, [ 35 comment is 'Call Goal counting from First to Last and instantiating Count to each successive value. For convenience and clarity, First and Last can be arithmeticexpressions.',35 comment is 'Call Goal counting from First to Last and instantiating Count to each successive value. For convenience and clarity, First and Last can be integer expressions.', 36 36 argnames is ['Count', 'First', 'Last', 'Goal']]). 37 37 … … 40 40 :- mode(fordownto(+integer, +integer, @callable), zero_or_one). 41 41 :- info(fordownto/3, [ 42 comment is 'Counting from First to Last call Goal. For convenience and clarity, First and Last can be arithmeticexpressions.',42 comment is 'Counting from First to Last call Goal. For convenience and clarity, First and Last can be integer expressions.', 43 43 argnames is ['First', 'Last', 'Goal']]). 44 44 … … 47 47 :- mode(fordownto(-integer, +integer, +integer, @callable), zero_or_one). 48 48 :- info(fordownto/4, [ 49 comment is 'Call Goal counting from First to Last and instantiating Count to each successive value. For convenience and clarity, First and Last can be arithmeticexpressions.',49 comment is 'Call Goal counting from First to Last and instantiating Count to each successive value. For convenience and clarity, First and Last can be integer expressions.', 50 50 argnames is ['Count', 'First', 'Last', 'Goal']]). 51 51
