I ran into this with the SRFI-42. It exports :, :list, :vector and such.
main.scm:
(import (scheme base)
(foo bar))
(:hello)
foo/bar.sld:
(define-library
(foo bar)
(import (scheme base)
(scheme write))
(export :hello)
(begin
(define (:hello)
(display "Hello")
(newline))))
stklos -I . main.scm
**** Error while executing command ("main.scm")
Where: in compiler-error
Reason: bad exportation `#:hello'. Call was (export #:hello). Call was (import (scheme base) (foo bar))
- error
- compiler-error
- %macro-expand
- <<let/call>>
- compile
- #[closure 799674243840]
- <<let/call>>
- #[closure 7996742437c0]
- %call-for-values
- <<let/call>>
- ...
Set shell variable STKLOS_FRAMES to set visible frames
EXIT
I ran into this with the SRFI-42. It exports
:,:list,:vectorand such.main.scm:
foo/bar.sld: