diff --git a/MODULES.md b/MODULES.md index 7f0c9f7..5247d80 100644 --- a/MODULES.md +++ b/MODULES.md @@ -321,6 +321,14 @@ splits it into multiple lines on word boundaries to wrap it nicely. The resulting string is free of ANSI CSI SGR sequences and may contain newline characters. + (ansi-string . args) + +* ```args``` - a list of strings and/or ANSI keywords + +Returns a string created by appending all the strings given and +```ansi``` function produced ones with consecutive keywords passed to +single ```ansi``` evaluation. + ### Command Line parsing Generic syntax-based implementation of command-line options parsing @@ -613,6 +621,14 @@ predicate. Returns a string created by repeating the string ```str``` exactly ```rep``` number of times. + (string-first+rest str) + +* ```str``` - a string to split + +Returns a pair of strings where the ```car``` of the pair is the first +token in the ```str``` given and ```cdr``` is a string with the +remainder with leading whitespace removed. + ### Table This module provides moderately complex terminal table rendering.