Last change
on this file since 39165 was
39165,
checked in by Kon Lovett, 2 months ago
|
incl bug so no types, just alias, bump ver
|
File size:
505 bytes
|
Line | |
---|
1 | ;;;; srfi-111.scm -*- Scheme -*- |
---|
2 | ;;;; Kon Lovett, Apr '20 |
---|
3 | |
---|
4 | ;; Issues |
---|
5 | ;; |
---|
6 | |
---|
7 | (module srfi-111 |
---|
8 | |
---|
9 | (;export |
---|
10 | box box? unbox set-box! |
---|
11 | immutable-box) |
---|
12 | |
---|
13 | (import scheme |
---|
14 | (chicken base) |
---|
15 | (only (chicken platform) register-feature!) |
---|
16 | (only box-core box? make-box-mutable make-box-immutable box-ref box-set!)) |
---|
17 | |
---|
18 | ;; |
---|
19 | |
---|
20 | (define box make-box-mutable) |
---|
21 | (define immutable-box make-box-immutable) |
---|
22 | (define unbox box-ref) |
---|
23 | (define set-box! box-set!) |
---|
24 | |
---|
25 | ;; |
---|
26 | |
---|
27 | (register-feature! 'srfi-111) |
---|
28 | |
---|
29 | ) ;module srfi-111 |
---|
Note: See
TracBrowser
for help on using the repository browser.