mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-24 20:45:06 +02:00
Test case for (include)
This commit is contained in:
parent
dd955d9b2f
commit
924b0943d2
2 changed files with 3 additions and 1 deletions
1
examples/hello-library/libs/lib1.scm
Normal file
1
examples/hello-library/libs/lib1.scm
Normal file
|
@ -0,0 +1 @@
|
||||||
|
(define lib1-test "test of include from a library")
|
|
@ -5,7 +5,8 @@
|
||||||
;;; A sample library
|
;;; A sample library
|
||||||
;;;
|
;;;
|
||||||
(define-library (libs lib1)
|
(define-library (libs lib1)
|
||||||
(export lib1-hello)
|
(export lib1-hello lib1-test)
|
||||||
|
(include "lib1.scm")
|
||||||
(import ;(scheme base)
|
(import ;(scheme base)
|
||||||
;(scheme write)
|
;(scheme write)
|
||||||
(libs lib2))
|
(libs lib2))
|
||||||
|
|
Loading…
Add table
Reference in a new issue