(declare (unit hello)) ; tried both with and without this line
(module hello
(say-hello-to)
(import scheme chicken)
(define (say-hello-to name)
(string-append "Hello, " name)))
(load "hello")
(import (prefix hello h:))
(define (do-test)
(display (h:say-hello-to "you!")))
(define (main) (do-test))
Syntax error (import): cannot import from undefined module
hello
Expansion history:
<syntax> (##core#begin (import (prefix hello h:)))
<syntax> (import (prefix hello h:)) <--
Error: shell command terminated with non-zero exit status 17920
I'm pretty sure the problem is me, but I've reached that point where I'm trying the same 3 or 4 things and hitting the same walls. Any help setting me straight is much appreciated.