absolute-file-path? | (absolute-file-path? x) | Return whether x - a string - represents an absolute path to a file. |
accumulate-right | (accumulate-right f init lst) | A higher order functions which right accumulates a list. |
alist-from-keys-and-values | (alist-from-keys-and-values key-list val-list) | Make an alist from a key-list and a val-list. |
alist-to-propertylist | (alist-to-propertylist alist) | Make and return a property list from an association list. |
as-boolean | (as-boolean x) | Convert x to a boolean. |
as-char | (as-char x) | Convert x to a character. |
as-list | (as-list x) | Convert x to a list. |
as-number | (as-number x) | Convert x to a number. |
as-quoted-string | (as-quoted-string x) | Convert x to a string, in which string constituents themselves are quoted. |
as-string | (as-string x) | Convert x to a string. |
as-symbol | (as-symbol x) | Convert x to a symbol. |
blank-string? | (blank-string? str) | Is the string str empty or blank (consists of white space)
|
but-first-sentence-of-string | (but-first-sentence-of-string str) | Return all but the first sentence in str. |
butlast | (butlast lst) | Return all but the last element of a list. |
capitalize-string | (capitalize-string str) | Mutate str to have an initial capital character. |
capitalize-string-nd | (capitalize-string-nd str) | Return str with capital, initial character. |
char->string | (char->string ch) | Convert a character to a string
|
compose | (compose . f-list) | Compose a list of functions to a single function. |
copy-files | (copy-files files source-dir target-dir) | Copy each of the files in the list files from source-dir to target-dir. |
copy-string-into! | (copy-string-into! target i source) | Copy source into target and overwrite a portion of target. |
copy-text-file | (copy-text-file from-path to-path overwrite?) | Copy the text file in from-path to the file in to-path. |
cr | cr | Return a CR string
|
curry-generalized | (curry-generalized f) | Generalize f with ad hoc currying. |
cut-list-by-predicate | (cut-list-by-predicate lst pred) | Cut the tail of lst; The tail to be cutted starts with an element which fulfils pred. |
decapitalize-string | (decapitalize-string str) | Mutate str to have lower case, initial character. |
decapitalize-string-nd | (decapitalize-string-nd str) | Return str with lower case, initial character. |
defaulted-get | (defaulted-get key alist default) | Return the value of key in alist (by means of cdr of assq). |
delete-string-portion | (delete-string-portion str i lgt) | Delete the substring of length lgt from index i in the string str. |
directory-level-difference | (directory-level-difference dir1 dir2) | Return the number of directory levels in between dir1 and dir2. |
display-error | (display-error message) | Display an error message and stop the program. |
display-message | (display-message message) | Display a message on standard output. |
display-warning | (display-warning message) | Display a warning message line on standard output via the Scheme display function. |
downcase-string | (downcase-string str) | Downcase all characters in str. |
duplicates-by-predicate | (duplicates-by-predicate lst p) | Return the duplicates in lst. |
eighth | (eighth lst) | Return the eighth element of a list |
element-after | (element-after el lst selector) | Return the element of lst just after el, or #f if no such element exists. |
element-before | (element-before el lst selector) | Return the element of lst just before el, or #f if no such element exists. |
embed-substring | (embed-substring substring str embed-function) | Embed substring, as found in string, into embed-function. |
empty-string? | (empty-string? str) | Is the string str empty
|
ensure-directory-existence! | (ensure-directory-existence! prefix-dir dir) | Ensure that the directory with path (string-append prefix-dir file-and-ext) exists. |
ensure-directory-path-existence! | (ensure-directory-path-existence! prefix-dir dir) | Ensure that the relative path, as represented by dir, exists in prefix-dir. |
ensure-final-character | (ensure-final-character str ch) | Ensure that the last character in str (a string) is ch (a char)
|
ensure-non-existing-file-in-dir | (ensure-non-existing-file-in-dir f d) | Ensure that the file f (proper name and extension) is non-existing in the directory d. |
errors-among-conditions | (errors-among-conditions . err-condition-message-list) | Return a list of error message strings for those conditions that are true. |
every-second-element | (every-second-element lst) | Return every second element of list, starting with the first element. |
exchange-chars-in-str! | (exchange-chars-in-str! str n m) | Exchange destructively char n and m in str. |
extend-a-list | (extend-a-list key value a-list) | Add a key-value pair to a-list. |
fifth | (fifth lst) | Return the fifth element of a list |
file-append | (file-append file-name x) | Append x to file-name. |
file-name-extension | (file-name-extension file-name) | Return the extension of file-name. |
file-name-initial-path | (file-name-initial-path file-name) | Return the initial path of the file-name. |
file-name-proper | (file-name-proper file-name) | Return the part of file-name without extension and without an initial path. |
file-name-sans-extension | (file-name-sans-extension file-name) | Return the filename component sans the final extension. |
file-read | (file-read file-name [n]) | Redefinition of file-read from general. |
file-read-all | (file-read-all file-name) | Read all Lisp expression from file-name. |
file-write | (file-write x file-name) | Write the list expression x at the file named file-name
|
filter | (filter pred lst) | Filter a list lst by means of the predicate pred. |
filter-no-ordering | (filter-no-ordering pred lst) | Like filter, but the ordering among elements in the resulting list is unknown and arbitrary. |
find-in-list | (find-in-list pred lst) | A very simple and basic list search function. |
find-in-string | (find-in-string str ch . start-pos) | Search linearly for the character ch in the string str. |
find-in-string-from-end | (find-in-string-from-end str ch) | Search linearly for the character ch in the string str, beginning from the rear end of str. |
first | (first lst) | Return the first element of a list |
first-improper-part | (first-improper-part lst) | Return the first improper part of an S-expression
|
first-sentence-in-string | (first-sentence-in-string str) | Return the first sentence in str (including a point). |
flatten | (flatten lst-of-lst) | Flatten a list of lists to one list. |
fourth | (fourth lst) | Return the fourth element of a list |
front-sublist | (front-sublist lst n) | Return the first n elements of lst. |
generate-leq | (generate-leq enumeration-order selector) | Generate a less than or equal predicate from the enumeration-order. |
get | (get key a-list) | Return a value from an alist, or gives an error if key does not exist. |
id-1 | (id-1 x) | The identify function of one parameter
|
index-in-list-by-predicate | (index-in-list-by-predicate lst el comparator) | Return the index of the first occurrence of el in lst. |
laml-error | (laml-error . messages) | Stop the program with messages. |
last | (last lst) | Return the last element of a list. |
list-difference | (list-difference lst1 lst2) | Remove the elements of lst2 from lst1. |
list-part | (list-part a b lst) | Return the sublist consisting of element a to element b of the list lst. |
list-prefix | (list-prefix lst n) | Return the list of the first n elements of lst. |
list-to-string | (list-to-string str-lst separator) | Return a string with the elements of str-lst separated by separator. |
looking-at-substring? | (looking-at-substring? str pos sub-str) | Does str contain sub-str as substring, starting at position pos?
An efficient implementation without any string copying, only character comparsion. |
make-list | (make-list n el) | Return a list of n elements, each being el
|
make-mutator-function | (make-mutator-function n . optional-parameter-list) | Make and return a mutator function which mutates element number n in a list. |
make-selector-function | (make-selector-function n . selector-name) | Returns a function, which selects element number n in a list. |
map2 | (map2 f lst1 lst2) | Like map, but maps f on two lists. |
map3 | (map3 f lst1 lst2 lst3) | Like map, but maps f on three lists |
map4 | (map4 f lst1 lst2 lst3 lst4) | Like map, but maps f on four lists |
map5 | (map5 f lst1 lst2 lst3 lst4 lst5) | Like map, but maps f on five lists |
mapping-filter | (mapping-filter pred lst) | Map and filter a list lst by means of the predicate pred. |
member-by-predicate | (member-by-predicate el lst p) | Is el member of lst by means of the predicate p. |
merge-lists | (merge-lists list1 list2 pred) | Merge list1 and list2. |
merge-lists-simple | (merge-lists-simple lst1 lst2) | Merge the two lists lst1 and lst2. |
multi-pair | (multi-pair lst-of-lst) | Pair up first elements, second elements of a list of lists. |
multiplum-of | (multiplum-of a b) | Is a (the first par) a multiplum of b (the last par)?
|
negate | (negate p) | A higher order functions which negates the predicate p. |
newline-string | (newline-string) | Return a CR string. |
nineth | (nineth lst) | Return the nineth element of a list |
number-interval | (number-interval f t) | Return a list of all numbers from f to t. |
numeric-string? | (numeric-string? str) | Is the string str purely numeric?
More specifically, does it consist exclusively of the ciffers 0 through 9. |
pair-up | (pair-up lst1 lst2) | Return a list of pairs of elements from lst1 and lst2. |
parent-directory | (parent-directory dir) | Return the name of the parent directory of dir (a string), or #f if dir is the root directory. |
proper-part | (proper-part lst) | Return the proper part of an S-expression
|
propertylist-to-alist | (propertylist-to-alist plist) | Make and return an association list from a property list plist. |
put-around-substring | (put-around-substring str pre-index pre-putin post-index post-putin) | Put pre-putin at pre-index, and post-putit at post-index in the string str. |
put-into-string | (put-into-string str index putin-str) | Before the character with index put in putin-str into str, and return the resulting,
extended string. |
re-break | (re-break str) | A quite special HTML line breaking function. |
relative-path-to-path-list | (relative-path-to-path-list dir) | Given a relative file path, return a list of path constituents. |
remove-duplicates | (remove-duplicates lst) | Duplicate removal - non-destructive. |
remove-duplicates-by-predicate | (remove-duplicates-by-predicate lst p) | Remove duplicates from lst. |
remove-duplicates-with-selection | (remove-duplicates-with-selection lst selector) | A variant of remove-duplicates with a selector function. |
repeat-string | (repeat-string str n) | Repeat the string str n times. |
replace-string | (replace-string str1 str2 str3) | In str1 replace all occurences of str2 with str3 and return the resulting string. |
replicate-to-length | (replicate-to-length lst lgt) | Replicate lst cyclically to a list of length lgt
|
save-a-list | (save-a-list alist filename) | Save the alist on a file named filename. |
save-on-file | (save-on-file x filename) | Displays the first parameter x on a file named filename
|
second | (second lst) | Return the second element of a list |
seventh | (seventh lst) | Return the seventh element of a list |
sixth | (sixth lst) | Return the sixth element of a list |
skip-chars-in-string | (skip-chars-in-string str char-list start-pos) | Starting from char-pos, skip characters in string from char-list. |
split-on | (split-on ch str) | Return a list of two strings taken from str. |
split-point | (split-point ch str) | Return the character position where ch occurs the first time in str. |
string-it | (string-it x) | Embed the string x in double string quotes
|
string-it-single | (string-it-single x) | Embed the string x in single string quotes
|
string-merge | (string-merge str-list-1 str-list-2) | Merge str-list-1 with str-list-2, returning one string. |
string-of-char-list? | (string-of-char-list? str char-list) | Are all characters in str member of char-list (a list of characters). |
string-of-negative-char-list? | (string-of-negative-char-list? str char-list) | Are all characters in str different from the characters in char list (a list of characters). |
string-to-list | (string-to-list str element-separator-chars) | Convert a string to a list. |
strip-initial-characters | (strip-initial-characters char-list string) | Strip initial occurences of chars from char-list from string. |
strip-initial-spaces | (strip-initial-spaces string) | Strip all initial space characters and lineshifting characters from string. |
strip-trailing-characters | (strip-trailing-characters char-list string) | Strip trailing occurences of the characters in char-list from string. |
sublist-by-2columns | (sublist-by-2columns lst extra) | Return sublists of lst in two column format. |
sublist-by-columns | (sublist-by-columns n lst extra) | Return sublists of lst in an n column format. |
sublist-by-predicate | (sublist-by-predicate lst p) | Return a list of sublists of elements from lst controlled by an element predicate p. |
sublist-by-rows | (sublist-by-rows n lst) | Return a list of lists of elements from lst. |
sublistify | (sublistify lst sublist-length) | Divide the elements of lst into sublists of sublist-length. |
subset-of-by-predicate | (subset-of-by-predicate set-list-1 set-list-2 comp) | Return whether every element in set-list-1 (a list) is a member of set-list-2, compared by the comparator comp. |
substring-index | (substring-index str str-index find-str) | Return the index of the first occurence of find-str in str. |
sum-list | (sum-list lst) | Add all elments in a list of numbers
|
symbolize-key | (symbolize-key key-value-pair) | A functions which converts the key position in an a-lists to a symbol. |
third | (third lst) | Return the third element of a list |
transliterate | (transliterate in-string ch str) | In in-string, substitute each occurence of character ch with the string str
|
turn-into-boolean | (turn-into-boolean x) | If x is considered true return #t else #f. |
unique-timed-file-name | (unique-timed-file-name prefix) | Return a unique file name with prefix. |
upcase-string | (upcase-string str) | Upcase all characters in str. |
white-space-char-list | white-space-char-list | A list of characters considered as blank space characters
|