Duck util-stdout.
This commit is contained in:
parent
323293be0e
commit
b027d19f49
5 changed files with 57 additions and 33 deletions
24
doc/utils.md
24
doc/utils.md
|
@ -353,30 +353,6 @@ Returns a new lset instance from ```ls1``` with all elements in
|
|||
|
||||
Returns true if the sets contain exactly the same values.
|
||||
|
||||
### Stdout
|
||||
|
||||
(import util-stdout)
|
||||
|
||||
Very simple module wrapping standard output.
|
||||
|
||||
(*stdout-quiet* [quiet])
|
||||
|
||||
A boolean parameter which disables all output from procedures in this
|
||||
module if its value is ```#t```.
|
||||
|
||||
(stdout-print . args)
|
||||
|
||||
If not quiet, passes ```args``` to ```print```.
|
||||
|
||||
(stdout-printf fmt . args)
|
||||
|
||||
If not quiet, prints formatted string ```fmt``` by applying ```args```
|
||||
to ```format``` procedure.
|
||||
|
||||
(stdout-newline)
|
||||
|
||||
If not quiet, calls ```(newline)```.
|
||||
|
||||
### String
|
||||
|
||||
(import util-string)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue