picrin/t/renaming-import.scm

12 lines
341 B
Scheme
Raw Permalink Normal View History

2014-07-27 13:00:54 -04:00
(define-library (foo)
(import (except (rename (prefix (only (scheme base) car cdr cons) my-)
(my-car my-kar)
(my-cdr my-kdr))
my-kar))
;; (import (rename (scheme base)
;; (car my-kar)
;; (cdr my-cdr)))
(export my-kdr my-cons))