chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] import, the utf8 egg, syntax-case and tinyclos


From: Alex Shinn
Subject: Re: [Chicken-users] import, the utf8 egg, syntax-case and tinyclos
Date: Thu, 23 Mar 2006 02:12:47 -0600
User-agent: Wanderlust/2.10.1 (Watching The Wheels) SEMI/1.14.6 (Maruoka) FLIM/1.14.6 (Marutamachi) APEL/10.6 Emacs/21.3 (i386-pc-linux-gnu) MULE/5.0 (SAKAKI)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]