Switch to SRFI-1.
This commit is contained in:
parent
1cd287f03b
commit
8a3b9f0b10
18 changed files with 45 additions and 144 deletions
|
@ -257,24 +257,6 @@ pair consisting of symbol created by interning the string of
|
|||
non-whitespace characters before the first whitespace character and
|
||||
the string with the rest of the line.
|
||||
|
||||
## util-list [module]
|
||||
|
||||
(import util-list)
|
||||
|
||||
This module implements basic list functionality which is common in
|
||||
most scheme implementations.
|
||||
|
||||
### filter [procedure]
|
||||
|
||||
(filter pred?
|
||||
lst)
|
||||
|
||||
* ```pred?``` - procedure accepting any value and returning #t or #f
|
||||
* ```lst``` - list to be filtered
|
||||
|
||||
Returns a list containing only elements matching given ```pred?```
|
||||
predicate.
|
||||
|
||||
## util-proc [module]
|
||||
|
||||
(import util-proc)
|
||||
|
@ -428,12 +410,14 @@ sent to the address stored within.
|
|||
(send-mail body-lines
|
||||
#:from (from #f)
|
||||
#:to to
|
||||
#:subject subject)
|
||||
#:subject subject
|
||||
#:headers (headers (quote ())))
|
||||
|
||||
* ```body-lines``` - lines of the email
|
||||
* ```from``` - email address from string
|
||||
* ```to``` - email address to string
|
||||
* ```subject``` - email subject string
|
||||
* ```headers``` - list of headers to add
|
||||
|
||||
Sends email using mail(1) command. The arguments ```#:to``` and
|
||||
```#:subject``` are mandatory. Argument ```#:from``` is optional.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue