LATEX-L Archives

Mailing list for the LaTeX3 project

LATEX-L@LISTSERV.UNI-HEIDELBERG.DE

Options: Use Forum View

Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

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

Print Reply
Subject:
From:
Jonathan Spratte <[log in to unmask]>
Reply To:
Mailing list for the LaTeX3 project <[log in to unmask]>
Date:
Tue, 27 Oct 2020 12:48:10 +0100
Content-Type:
multipart/signed
Parts/Attachments:
text/plain (442 bytes) , signature.asc (832 bytes)
Hi all,

I got two little questions concerning stacks in `expl3`.

1. What is the best way to build a stack for a sequence?

The naive way would be to use something like

    \seq_push:No \l_my_stack_seq \l_my_seq

to push and then

    \seq_pop:NN \l_my_stack_seq \l_my_seq

But this doesn't look like a clean usage of `\seq_pop:NN` and
`\seq_push:Nn`.

2. Should there be a higher level interface for stacks of the different
data types in `expl3`?


Best
Jonathan


ATOM RSS1 RSS2