Slide 32
Slide 32 text
1. What can be expressed in Erlang language can be expressed in
Jet language.
• Immutable data
• Pattern matching, Function overloading by arity
• Lightweight processes shared nothing
• Module is just a erlang’s module.
• Operator overloading is not supported.
• Erlang code can be called from Jet with zero-overhead
# Pattern matching
[a, b, c] = [1, 2, 3]
[a, b, c] # => [1, 2, 3]
match [1, 2, 3]
case [x, y, z]
x + y + z
end
# => 6
Design Policy and Spec Summary