Re: [xsl] A beautiful way to say: "give me the sequence after thefirst item"?

Subject: Re: [xsl] A beautiful way to say: "give me the sequence after thefirst item"?
From: "Wendell Piez wapiez@xxxxxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 2 Dec 2022 14:25:18 -0000
Hm,

Maybe (depending on the eye of the beholder)

$tokens => remove(1)

? Cheers, Wendell


On Fri, Dec 2, 2022 at 8:42 AM Chris Papademetrious
christopher.papademetrious@xxxxxxxxxxxx <
xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:

> Or
>
> $tokens => tail()
>
> because I look for excuses to use that syntax now. (Although, the tail()
> solution is not personally intuitive to me so I would have kept the
> original form.)
>
>  - Chris
>
> -----Original Message-----
> From: Roger L Costello costello@xxxxxxxxx <
> xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
> Sent: Friday, December 2, 2022 8:21 AM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Re: [xsl] A beautiful way to say: "give me the sequence after
> thefirst item"?
>
> Martin Honnen wrote:
>
> > tail($tokens)
>
> Ah ...
>
> That, to my eyes, is beautiful code.
>
> Thank you Martin!
>
> /Roger
>
> 
>
>

-- 
...Wendell Piez... ...wendell -at- nist -dot- gov...
...wendellpiez.com... ...pellucidliterature.org... ...pausepress.org...
...github.com/wendellpiez... ...gitlab.coko.foundation/wendell...

Current Thread