LATEX-L Archives

Mailing list for the LaTeX3 project


Options: Use Classic View

Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

Topic: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Date: Wed, 19 Feb 2020 00:39:49 +0100
Reply-To: Mailing list for the LaTeX3 project <[log in to unmask]>
Content-Transfer-Encoding: quoted-printable
Message-ID: <[log in to unmask]>
Sender: Mailing list for the LaTeX3 project <[log in to unmask]>
From: Kelly Smith <[log in to unmask]>
Parts/Attachments: text/plain (17 lines)

I have a couple of general questions about expl3.

- Are all boxes and coffins made so that their content is wrapped in a TeX group?
  More specifically, is it safe for code to assume that all box/coffin content is
  implicity grouped?

- Many functions in expl3 are of the form `a := func(b, c)` (e.g. `\str_concat:NNN`,
  `\seq_set_map:NNn`) or `a := func(b)` (e.g. `\int_set:Nn`, `\tl_set:Nn`).
  Sometimes, one will want to write code like `a := func(a, b)` or `a := func(a)`,
  that is, directly assign a new value to a variable based on its current value.
  Is it ever safe to write such code in expl3?