[plt-scheme] already imported identitfiers in "pretty-big"

From: Jay McCarthy (jay.mccarthy at gmail.com)
Date: Sat Apr 8 16:47:25 EDT 2006

Yes. You can use the "prefix" require form to avoid name clashes, i.e.:

(module grr (lib "plt-pretty-big-text.ss" "lang")
  (require (prefix srfi:1: (lib "1" "srfi")))

  (srfi:1:third `(1 2 3))
  (third `(1 2 3)))

Jay


On 4/8/06, Corey Sweeney <corey.sweeney at gmail.com> wrote:
>
> The following "program":
>
> (module grr (lib "plt-pretty-big-text.ss" "lang")
>   (require (lib "1" "srfi")))
>
> gives the following error message:
>
> module: identifier already imported (from a different source) in: third
>
>
> Does this mean that the third function has 2 seperate implementations in
> the libraries?
>
>
> Corey
> --
> ((lambda (y) (y y)) (lambda (y) (y y)))
>
> _________________________________________________
>  For list-related administrative tasks:
>  http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>
>
>


--
Jay McCarthy <jay at cs.brown.edu>
http://jay.makeoutcity.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20060408/2be7931d/attachment.html>

Posted on the users mailing list.