diff --git a/doc/utils.md b/doc/utils.md index dd8e17e..c97978b 100644 --- a/doc/utils.md +++ b/doc/utils.md @@ -10,6 +10,8 @@ The modules are listed in alphabetical order. ### CSV + (import util-csv) + This module provides a very simple, incomplete and incorrect but fast CSV loader. @@ -31,6 +33,24 @@ Splits given loaded CSV into two tables at the first empty row. ### IO + (import util-io) + +Module implementing advanced I/O. + + (read-lines/no-bom port) + +* ```port``` - an input port + +Reads lines using ```read-lines``` and if the first line contains +UTF-8 BOM, removes it. + + (get-process-output-lines cmd) + +* ```cmd``` - a string with the command + +Returns a list of strings representing all the lines produced by +running the command given. + ### List (import util-list) @@ -72,6 +92,17 @@ remainder with leading whitespace removed. ### Tag + (import util-tag) + +A unifying module for compound data structures tagging. + + (make-tag name) + +* ```name``` - unquoted symbol to base the tag on + +Creates a unique and collision free symbol to identify compound data +structures based on lists and pairs. + ### Time (import util-time)