edward

An extensible POSIX-compatible implementation of the ed(1) text editor

git clone https://git.8pit.net/edward.git

 1;;> This library provides various generic utility procedures.
 2
 3(define-library (edward.util)
 4  (import (scheme base)
 5          (scheme write)
 6          (scheme file)
 7          (scheme process-context)
 8
 9          (srfi 1)
10
11          (chicken foreign)
12          (only (chicken base) assert)
13          (only (chicken port) terminal-port? terminal-size)
14          (only (chicken file posix) file-read)
15          (only (chicken memory representation) number-of-bytes)
16          (only (chicken io) read-lines))
17
18  (export inc dec id alist-values fprintln println empty-string?
19          pad-string string->human-readable path-join user-home
20          count-bytes lines->port port->lines is-regular? file-read-char)
21
22  (include "util.scm"))