<- a || 是什么意思b 在伪代码中是什么意思?

What does a <- a || b mean in pseudocode?

我正在尝试了解由 Steven A. Gordon 开发的 GADDAG 数据结构。在阅读文档 here 时,我遇到了以下伪代码示例:

If pos <= 0 THEN {moving left:}
    word <- L || word
...

我四处搜索找不到这意味着什么,我想知道它是什么意思。

谢谢!

从上下文来看,这似乎是字符串连接。作者在进入伪代码的段落中提到了这一点:

In the GoOn procedure, the direction determines which side of the current word to concatenate the current letter to

伪代码中隐含的方向性也支持这一点。如果位置低于零(也就是说,您在单词的开头之前),则将新字母放在前面。如果该位置大于零(也就是说,您已经过了单词的开头),则将新字母附加到末尾。

显然||是used in some languages to denote string concatenation,包括PL/1和SQL。