bug#13835: [PATCH] Let reverse! accept arbitrary types as second argument (new_tail)

2013-02-27 Thread David Kastrup
There is no reason to restrict the type of the second argument to proper lists as it is added as last CDR to the list without interpretation. This allows for stack-depth friendly usage (simplified from an actual use case that blew up around my ears) like SCM my_tree_copy (SCM src) { if

bug#13835: [PATCH] Let reverse! accept arbitrary types as second argument (new_tail)

2013-02-27 Thread Mark H Weaver
David Kastrup d...@gnu.org writes: There is no reason to restrict the type of the second argument to proper lists as it is added as last CDR to the list without interpretation. This allows for stack-depth friendly usage [...] Looks good to me. Applied, thanks! Mark