-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
enhancementNew feature or requestNew feature or request
Description
I tried looking around the documentation and code but could not find a way to add directory to library load path.
Is there one?
Example:
snow/foo/bar.sld:
(define-library (foo bar) (import (scheme base) (scheme write)) (export (baz)) (include "bar.scm"))
snow/foo/bar.scm:
(define baz (lambda () (display "Hello world") (newline)))
main.scm:
(import (scheme base) (foo bar)) (baz)
I dont think the library naming directory structure link is in R7RS but most implementations support it.
If there is no flag for this may I suggest -I and -A from SRFI-138?
Then running code above would be something like this:
stak -I ./snow main.scm
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
Projects
Status
Todo