chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] passing a string to foreign-lambda*


From: John Cowan
Subject: Re: [Chicken-users] passing a string to foreign-lambda*
Date: Sun, 8 Jul 2007 14:18:22 -0400
User-agent: Mutt/1.5.13 (2006-08-11)

Martin DeMello scripsit:

> No, I don't want to pass str into the foreign function, i want str to
> *be* the foreign function. That is, I want to use a variable rather
> than an explicit string, or a macro that generates and inserts a
> string into the right place.

Since foreign-lambda* is itself a macro, your only hope is to write
a macro that generates a foreign-lambda* with everything in the right
places.

-- 
Newbies always ask:                             John Cowan
  "Elements or attributes?                      http://www.ccil.org/~cowan
Which will serve me best?"                      address@hidden
  Those who know roar like lions;
  Wise hackers smile like tigers.                   --a tanka, or extended haiku




reply via email to

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