chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] pattern matching


From: F. Wittenberger
Subject: Re: [Chicken-users] pattern matching
Date: Thu, 09 Oct 2008 13:07:48 +0200

Am Donnerstag, den 09.10.2008, 12:04 +0200 schrieb felix winkelmann:
> On Wed, Oct 8, 2008 at 12:54 PM, Jörg F. Wittenberger
> <address@hidden> wrote:
> >
> > #;1> (load "matchable.scm")
> > ; loading matchable.scm ...
> > #;2> (print (match '(lambda (a b) (+ a b))
> >              ((_ llist body ...) #t)))
> > Error: (match) no matching pattern
> >
> 
> You probably have not done "(import matchable)".

Obviously not.  The above is the full csi session.

But:

#;1> (load "matchable.scm")
; loading matchable.scm ...
#;2> (import matchable)
Error: (import) during expansion of (import ...) - can not import from
undefined module: matchable

Apparently I re3ally got a different matchable!

But where is the real source?  Neither firefox nor "svn ls" did help me
to find it.

/Jörg




reply via email to

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