mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-19 13:49:17 +02:00
a SRFI 60 installed which imports (scheme base). This can still break in theory if a user installs a third-party SRFI 33 in the search path in front of the Chibi SRFI 33, but we can't always be safe against such behavior. Fixes issue #267.
11 lines
345 B
Scheme
11 lines
345 B
Scheme
|
|
(define-library (chibi binary-record)
|
|
(import (scheme base)
|
|
(srfi 1) (srfi 9)
|
|
(chibi io) (chibi string)
|
|
(only (chibi) identifier? er-macro-transformer))
|
|
(cond-expand
|
|
((library (srfi 33)) (import (srfi 33)))
|
|
(else (import (srfi 60))))
|
|
(export define-binary-record-type)
|
|
(include "binary-record.scm"))
|