| 1 |
|
| 2 |
(library (srfi :166 color) |
| 3 |
(export |
| 4 |
;; foreground |
| 5 |
as-red as-blue as-green as-cyan as-yellow |
| 6 |
as-magenta as-white as-black |
| 7 |
as-bold as-italic as-underline |
| 8 |
as-color as-true-color |
| 9 |
;; background |
| 10 |
on-red on-blue on-green on-cyan on-yellow |
| 11 |
on-magenta on-white on-black |
| 12 |
on-color on-true-color |
| 13 |
) |
| 14 |
(import (except (rnrs) error) |
| 15 |
(srfi :23 error tricks) |
| 16 |
(srfi :130) |
| 17 |
(srfi :166 base) |
| 18 |
(srfi private include)) |
| 19 |
(define (exact-integer? n) (and (integer? n) (exact? n))) |
| 20 |
(SRFI-23-error->R6RS |
| 21 |
"(library (srfi :166 color))" |
| 22 |
(include/resolve ("srfi" "%3a166") "color.scm"))) |