[plt-scheme] mreverse!
You might also want to read HtDP's explanation of mutation.
(http://www.htdp.org/).
Robby
On Sat, Jan 24, 2009 at 3:23 PM, David Van Horn <dvanhorn at ccs.neu.edu> wrote:
> praimon wrote:
>>
>> Okay, so I definitely don't understand the point of mreverse!
>
> (mreverse ls) creates as many cons cells as are in ls.
> (mreverse! ls) creates no cons cells.
>
> David
> _________________________________________________
> For list-related administrative tasks:
> http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>
>