François Pinard's site |
||
Erlang summary1 Code organisationModules in .erl should be compiled to .beam first. They contain functions ending with ., each containing one of many clauses separated with ;. Clauses have a head (pattern starting with a function name), the symbol ->, then a body (which is a sequence of expressions separated with ,). 2 Expressions
Escape Meaning the ordinal of
3 OperatorsHere is a quick operator reminder chart. Each line gives operators sharing a precedence level. The first line gives the most binding operators, the last line gives the least binding operators. The last column indicates if operators are left associative (→) or right associative (←): Operators Arity Assoc A few explanations: Operators Usage For comparison operators:: number < atom < reference < fun < port < pid < tuple < list < binary 4 Some attributesAttribute Meaning 5 Some functionsPrototype Meaning |
||