chicken-users
[Top][All Lists]
Advanced

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

[Chicken-users] invalid-procedure-call-handler again


From: Sunnan
Subject: [Chicken-users] invalid-procedure-call-handler again
Date: Wed, 16 Mar 2005 22:35:51 +0100
User-agent: Mozilla Thunderbird 1.0 (X11/20050111)

So, I'm playing with invalid-procedure-call-handler, with the intention of doing string-deconstruction/matching on the invalid procedure (I'm dreaming of cadadar, ahahahaha!).

But I can't even print out the proc, let alone do any operations on it. What data type does undefined procedures belong to?

(invalid-procedure-call-handler
      (lambda (proc args)
    (print "nice try " proc)))

works fine if I go:

('cadadar list-of-lists)
-> nice try cadadar

but errors if I omit the '.





reply via email to

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