简体   繁体   English

<>运算符的名称是什么?

[英]What's the name of the <> operator?

出于好奇:在Elixir中我们如何调用<>(二元连接)运算符?

"Binary Concatenation" Operator. “二元连接”运算符。

Sources: 资料来源:

  1. Elixir Documentation . Elixir文档
  2. Elixir Forum . Elixir论坛

It's often called diamond operator, especially in the Java world. 它通常被称为菱形运算符,尤其是在Java世界中。 You can also find it in perl. 你也可以在perl中找到它。

You can also find it in other languages such as SQL, VBA or VisualBasic, but it has no special name there (it's just called not equal there). 您也可以在其他语言中找到它,例如SQL,VBA或VisualBasic,但它没有特殊的名称(它只是被称为not equal )。 I suppose in Elixir it's just the join operator . 我想在Elixir中它只是join operator

I dont think there is a specific name. 我不认为有一个特定的名称。 I went through Programming Elixir book which didnt say it has a specific name as such. 我通过编程Elixir书,并没有说它有一个特定的名称。 Its one of the join operators in elixir. 它是elixir中的连接运算符之一。 Its concatenates two binaries. 它连接了两个二进制文件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM