Re:CAR and CDR
by csmuk on Wednesday November 20, 2013 @04:54AM
(#6767163)
I thought that for a bit until I realised tail is a bit ambiguous as it's used in the Unix space to mean the "last n" items and in some data structures as the last item pointer.
[ Parent
| on HN ]
Re:CAR and CDR
by mrottenkolber on Wednesday November 20, 2013 @05:02AM
(#6767188)
Ironically in CL LAST does what UNIX tail does.
Yeah which is where SBCL and me got into to a bad argument :)
Re:CAR and CDR
by mrottenkolber on Wednesday November 20, 2013 @05:10AM
(#6767209)
You probably were looking for LAST1 (e.g. (first (last ...))).
But why SBCL? LAST should behave the same on all implementations.