|
From: | Aaron Hill |
Subject: | Re: Making lyrics quicker |
Date: | Tue, 11 Aug 2020 01:57:12 -0700 |
User-agent: | Roundcube Webmail/1.4.2 |
On 2020-08-11 1:48 am, Aaron Hill wrote:
(last (car (take-right elts 1)))
And in my haste to reply, I overlooked simplifying the car/take-right 1 to being just a call to the SRFI-1 "last" procedure:
(last (last elts))
Though, I probably should pick a better local variable name than "last". Even though the compiler does the right thing, such usage could be prone to misunderstanding.
-- Aaron Hill
[Prev in Thread] | Current Thread | [Next in Thread] |