[plt-scheme] Re: plt-scheme Digest, Vol 9, Issue 14
geb a wrote:
> Hello...
>
> Can someone tell me why I can't use structure
> accessors for letters in module slip?
>
> Thank you for your time.
>
> Sincerely,
>
> Dan
>
> (module platonic-letter mzscheme
> (define-struct letter(instance))
> (define letters
> (map make-letter '(a b c d e f g)))
> (provide letter letters)
> )
>
>
> (module slip mzscheme
> (provide (all-from "platonic-letter.ss"))
I think you mean
(require "platonic-letter.ss")
here.
> (map letter-instance letters))
/Jens Axel