Next: iklib syntaxes delimcc, Previous: iklib syntaxes infix, Up: iklib syntaxes [Index]
Increment ?expr by ?step and return the result. Both
?expr and ?step must be expressions evaluating to a number
object; when ?step is not given: it defaults to the fixnum
1
.
As special case, when ?expr is an identifier: the syntax expands as follows:
#!vicare (++ ?id ?step) → (begin (set! ?id (+ ?id ?step)) ?id)
Alias for ++
.
Increment ?expr by ?step and return the result. Both
?expr and ?step must be expressions evaluating to a number
object; when ?step is not given: it defaults to the fixnum
1
.
As special case, when ?expr is an identifier: the syntax expands as follows:
(post-incr! ?id ?step) → (receive-and-return (v) ?id (set! ?id (+ ?id ?step)))
--
?expr--
?expr ?stepDecrement ?expr by ?step and return the result. Both
?expr and ?step must be expressions evaluating to a number
object; when ?step is not given: it defaults to the fixnum
1
.
As special case, when ?expr is an identifier: the syntax expands as follows:
#!vicare (-- ?id ?step) → (begin (set! ?id (- ?id ?step)) ?id)
Alias for --
.
Decrement ?expr by ?step and return the result. Both
?expr and ?step must be expressions evaluating to a number
object; when ?step is not given: it defaults to the fixnum
1
.
As special case, when ?expr is an identifier: the syntax expands as follows:
(post-decr! ?id ?step) → (receive-and-return (v) ?id (set! ?id (- ?id ?step)))
Next: iklib syntaxes delimcc, Previous: iklib syntaxes infix, Up: iklib syntaxes [Index]