[plt-scheme] Re: plt-scheme Digest, Vol 9, Issue 14

From: Jens Axel Søgaard (jensaxel at soegaard.net)
Date: Thu May 11 18:02:41 EDT 2006

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




Posted on the users mailing list.