[cffi-devel] Re: unnamed callback (closures?)

Jan Rychter jan at rychter.com
Thu Mar 16 13:36:02 UTC 2006


I wrote:
> >>>>> "James" == James Bielman <jamesjb at jamesjb.com> writes:
>  James> Jan Rychter <jan at rychter.com> writes:
>  >>>>>>> "Luís" == Luís Oliveira <luismbo at gmail.com> writes:
>  >> Luís> I'm pretty sure we could support anonymous callbacks, on SBCL
>  >> Luís> and CLISP anyway. Do any other Lisps support this?
> 
>  >> So, perhaps it is worth implementing as an optional
>  >> feature. Hopefully other implementations will follow suit.
> 
>  James> I took a shot at implementing this on SBCL and CLISP (I don't
>  James> have a working ECL installation), here's the patch:
> 
>  James> This still needs unit tests but cursory testing from the REPL
>  James> looks good---please give it a try.
> 
> It works for me in SBCL. Neat, thanks!

Are there plans for this to be included in CFFI? If not, why not?

--J.



More information about the cffi-devel mailing list