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

From: geb a (geb_a at yahoo.com)
Date: Thu May 11 18:17:31 EDT 2006

Ok...

Sorry, I guess the provide command in slip was a
problem.  Thank you all.

Sincerely,

Dan

--- Robby Findler <robby at cs.uchicago.edu> wrote:

> 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
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


Posted on the users mailing list.