String identity template tag

Isiah Meadows isiahmeadows at gmail.com
Wed Dec 12 03:51:13 UTC 2018


I'm not married to `identity`, and I agree the name is probably not
ideal. I'm more concerned about functionality, though.

-----

Isiah Meadows
contact at isiahmeadows.com
www.isiahmeadows.com

On Tue, Dec 11, 2018 at 5:41 AM T.J. Crowder
<tj.crowder at farsightsoftware.com> wrote:
>
> On Mon, Dec 10, 2018 at 7:08 PM Isiah Meadows
> <isiahmeadows at gmail.com> wrote:
> >
> > It'd be *way* easier to construct simple template tags if there was a
> > built-in identity tag
>
> Wholeheartedly agree, a couple of months ago I considered posting something very similar, both for utility reasons and in hopes that it would be an optimization target (being a standard operation).
>
> I find the name `identity` unilluminating, though, partially because it's not quite the same meaning as the usual "identity" function (`function identity(x) { return x; }`), though it's close. `assemble`?
>
> -- T.J. Crowder


More information about the es-discuss mailing list