[Top][All Lists]

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

puzzling things

From: Andy Wingo
Subject: puzzling things
Date: Wed, 6 Aug 2003 23:12:46 +0100
User-agent: Mutt/1.5.4i

Hey gang,

Why doesn't the following code work?

(define second-arg
   (lambda (x y) (cadr x))))

((lambda () (second-arg a b c d)))

I get some kind of error like this:

  18: 2* [cadr (address@hidden a b c d)]
<unnamed port>:18:18: In procedure cadr in expression (cadr x):
<unnamed port>:18:18: Wrong type argument in position 1: (address@hidden a b c 

What's that all about? I poked around in the source but got lost in a
bunch of ilocs and glocs. What's an iloc anyway? Well. The first
question is the important one. Any insights?



reply via email to

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