GNU TeXmacsUser manualReferenceAboutEnglish·Deutsch·中文
元组操作
<tuple|expr-1|\(\cdots\)|expr-n>
(元组的构造)

构造一个元组.

<is-tuple|expr>
(元组测试)

测试表达式expr是否返回一个元组.

<length|expr>
(元组的长度)

如果expr是一个元组,则返回其参数数量.例如<length|<tuple|hop|hola>>得到2.

<look-up|tuple|which>
(访问元组的元素)

返回元组tuple的第which个元素.例如,<look-up|<tuple|a|b|c>|1>得到b.

<range|expr|start|end>
(抽取出子元组)

返回元组expr从start到end(不包含)的子元组.例如,<range|<tuple|a|hola|hop|b|c>|2|4>得到.

<merge|expr-1|\(\cdots\)|expr-n>
(元组的合并)

用于合并元组.例如,<merge|<tuple|1|2>|<tuple|3|4|5>>产生.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License".