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: Sunnan
Subject: Re: [Chicken-users] import, the utf8 egg, syntax-case and tinyclos
Date: Sat, 25 Mar 2006 13:27:13 +0100

On Fri, 2006-03-24 at 11:52 +0100, felix winkelmann wrote:

> Can you show us some example code that generates the error?
> 
> 
> cheers,
> felix
> 
> 

Huh, I just wrote a message about this (with a new topic) but it doesn't
appear to have hit the list. My email chain is crazily bad atm, so
here's the text again:

Ok, I've pulled the most recent darcs (my last one was a couple of
months old) and downloaded the most recent syntax-case. It's
possible/probable that I've misconfigured it somehow.

Here's a failing program:

;; file starts
(require-extension syntax-case tinyclos)
(define-method (clean (c <char>))
  (list->string (list c)))

;; file ends

Just compiling this with csc and running it spits out:
Error: unbound variable: clean

        Call history:

        make-method             
        add-method

Removing syntax-case from require-extension makes the program run fine
(but I need syntax-case for some things; notably import and, if the
program grows, I'm sure I'll use srfi-42 somewhere).

Since I'm sure many of you already use syntax-case together with
tinyclos, I'm asking for some trouble-shooting tips. What am I doing
wrong?

AML,
Sunnan






reply via email to

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