mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-08 21:47:33 +02:00
Issue #127 - Allow cond-expand to check for libs
This commit is contained in:
parent
3e134e939e
commit
46a4fa2d37
2 changed files with 43 additions and 43 deletions
|
@ -5,8 +5,9 @@ TODO: SRFI 113
|
||||||
|
|
||||||
Features:
|
Features:
|
||||||
|
|
||||||
- Thanks to ecraven, added `exact-integer-sqrt`.
|
- Thanks to ecraven, added R7RS function `exact-integer-sqrt` to `(scheme base)`.
|
||||||
- Allow the reader to recognize `+inf.0`, `-inf.0`, `+nan.0`, and `-nan.0`.
|
- Allow the reader to recognize `+inf.0`, `-inf.0`, `+nan.0`, and `-nan.0`.
|
||||||
|
- Allow `cond-expand` to test for whether a library exists using the form `(library {library name})`.
|
||||||
|
|
||||||
Bug Fixes
|
Bug Fixes
|
||||||
|
|
||||||
|
|
|
@ -316,7 +316,6 @@
|
||||||
(er-macro-transformer
|
(er-macro-transformer
|
||||||
;; Based on the cond-expand macro from Chibi scheme
|
;; Based on the cond-expand macro from Chibi scheme
|
||||||
(lambda (expr rename compare)
|
(lambda (expr rename compare)
|
||||||
;; TODO: port to this macro, so we can use below for library form
|
|
||||||
(define (_library-exists? import . ext)
|
(define (_library-exists? import . ext)
|
||||||
(file-exists?
|
(file-exists?
|
||||||
(_lib:import->filename
|
(_lib:import->filename
|
||||||
|
|
Loading…
Add table
Reference in a new issue