[plt-scheme] how to do this in C?

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Sat Jun 3 09:12:04 EDT 2006

At Fri, 2 Jun 2006 13:01:17 -0500, Mike wrote:
> I don't find a scheme_nrevers() type command.

You're right -- there's no list reverse in the C API.

In general, you can use scheme_builtin_value() to get a Scheme function
and then _scheme_apply() it. I'm not sure whether that would be any
simpler than your loop (from the later message) in this case.


Posted on the users mailing list.