Re: Questions on Using Python to Teach Data Structures and Algorithms
- From: Fredrik Lundh <fredrik@xxxxxxxxxxxxxx>
- Date: Thu, 28 Sep 2006 19:16:48 +0200
sturlamolden wrote:
I seem to remember that a cons joins two items, it doesn't grow a
strait list.
http://www.lisp.org/HyperSpec/Body/fun_cons.html
"If object-2 is a list, cons can be thought of as producing a new list which is like it but has object-1 prepended."
</F>
.
- References:
- Re: Questions on Using Python to Teach Data Structures and Algorithms
- From: Brendon Towle
- Re: Questions on Using Python to Teach Data Structures and Algorithms
- From: sturlamolden
- Re: Questions on Using Python to Teach Data Structures and Algorithms
- Prev by Date: help tranlating perl expressions
- Next by Date: Re: help tranlating perl expressions
- Previous by thread: Re: Questions on Using Python to Teach Data Structures and Algorithms
- Next by thread: Re: Questions on Using Python to Teach Data Structures and Algorithms
- Index(es):