Document io and tag utils.

This commit is contained in:
Dominik Pantůček 2023-04-08 22:32:21 +02:00
parent dc82ba720c
commit d2eed31892

View file

@ -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)