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

From: Robby Findler (robby at cs.uchicago.edu)
Date: Thu May 11 18:03:26 EDT 2006

They weren't provided from platonic-letter (in the code snippet below,
it seems like slip doesn't even require platonic-letter, but I guess
that's just a typo?). You might try adding:

  (provide (struct letter (instance)))

to platonic-letter.

Robby

At Thu, 11 May 2006 14:50:29 -0700 (PDT), 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"))
>   (map letter-instance letters))
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> _________________________________________________
>   For list-related administrative tasks:
>   http://list.cs.brown.edu/mailman/listinfo/plt-scheme


Posted on the users mailing list.