跳到內容

Erlang 程式設計/運算子

來自 Wikibooks,一個開放世界的開放書籍

邏輯運算子

not, and, or

二進位制運算子

bnot, bor, band, bxor

字串運算子

++, --, (\s*)
where (\s*) is the regular expression for white space which concatenates two strings

析取防護

f(X) when X==42 ; X==32 ; X==0 ->
             X+1.
華夏公益教科書