Next: , Previous: background-demo, Up: Scheme Scripting Functions


13.38 coot-crash-catcher

— procedure: filter fn ls

Basic scheme function, filter the objects in list ls by function fn. e.g. (filter even? (list 0 1 2 3) -> '(0 2)

— procedure: string-concatenate ls

simple scheme functions to concat the strings in ls (ls must contain only strings)

— procedure: directory-files dir

The following functions from PLEAC (guile version thereof of course).

or define a utility function for this

— procedure: glob pat dir

return a list of file names that match pattern pat in directory dir.

— procedure: run-command/strings cmd args data-list

Return the strings screen output of cmd (reversed) or #f if command was not found

— procedure: command-in-path? cmd

Return #t or #f:

— procedure: make-gdb-script
— procedure: get-gdb-strings

return #f or list of strings

— procedure: make-gui

gui