mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-09 22:17:33 +02:00
Issue #280 - Cyc-add-feature!
This commit is contained in:
parent
7d52c4de35
commit
74e56aeb2f
1 changed files with 12 additions and 4 deletions
|
@ -148,6 +148,7 @@
|
|||
open-input-bytevector
|
||||
open-output-bytevector
|
||||
features
|
||||
Cyc-add-feature!
|
||||
Cyc-version
|
||||
any
|
||||
every
|
||||
|
@ -237,10 +238,17 @@
|
|||
(cons
|
||||
(string->symbol
|
||||
(string-append "version-" *version-number*))
|
||||
*other-features*)))
|
||||
|
||||
(define *other-features*
|
||||
'(r7rs
|
||||
ieee-float
|
||||
full-unicode
|
||||
posix))))
|
||||
posix))
|
||||
|
||||
;; Designed for internal use only, don't call this in user code!!
|
||||
(define (Cyc-add-feature! sym)
|
||||
(set! *other-features* (cons sym *other-features*)))
|
||||
|
||||
(define (Cyc-version) *version-number*)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue