At Thu, 23 Mar 2006 08:55:14 +0100, Sunnan wrote:
> 
> I  want to use the ut8 egg, but when I do it complains that it doesn't
> know what import is.
> Adding
> (require-extension syntax-case)
> gets rid of that complaint but then instead it complains about my
> tinyclos methods:
> 
> This is my preamble:
> (require-extension syntax-case)
> (require-extension tinyclos)
> (require-extension utf8)
> 
> (declare (uses srfi-1 srfi-13 regex extras))

Hi,

I'm not exactly sure what (uses) does, but I don't think you want this
line.  If you want these features you should just use


  (require-extension srfi-1 srfi-13 regex)

Note that utf8 already provides Unicode-aware regex functions.

Also, srfi-13 won't do the right thing with utf8 strings, it'll treat
them as byte strings.  If you're using utf8, you probably want

  (require-extension syntax-case tinyclos utf8 utf8-srfi-13)
  (import utf8)
  (import utf8-srfi-13)

which works fine for me.

-- 
Alex


_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to