简体   繁体   中英

What's the name of the <> operator?

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

"Binary Concatenation" Operator.

Sources:

  1. Elixir Documentation .
  2. Elixir Forum .

It's often called diamond operator, especially in the Java world. You can also find it in 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). I suppose in Elixir it's just the 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. Its one of the join operators in elixir. Its concatenates two binaries.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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