2008/10/31 Tobias Lindahl <span dir="ltr"><<a href="mailto:tobias.lindahl@kreditor.se">tobias.lindahl@kreditor.se</a>></span><br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Matthias Lang wrote:<br>
> On Tuesday, October 14, Kostis Sagonas wrote:<br>
><br>
>> (If you want to specify an improper list the closer you can get is to<br>
>> employ the long and yucky type maybe_improper_list()<br>
><br>
> cons_cell() would have been a more appetising name.<br>
<br>
It used to be called cons_or_nil() once upon a time, then it became<br>
possibly_improper_list() and ended up in maybe_improper_list().<br>
<br>
The corresponding type to cons_cell() is the even nicer<br>
nonempty_maybe_improper_list().<br>
<br>
I agree that the names are too verbose, I'm not even sure anymore how it<br>
happened.</blockquote><div><br>Perhaps it reflects the opinions of those who set the names that this is a very bad thing and shouldn't be done, hence the verbose support. Lists are nil terminated lists and cons cells are really list cells and should only be used as such. :-)<br>
<br>Robert<br><br></div></div>