Overview
The Hamler Data Types are mapping to Erlang Data types at compile-time. The following table shows the overview of the mappings:
Hamler Data Type | Erlang Data Type | Mapping Description | |
---|---|---|---|
Atom(Symbol in Ruby) | atom() | ||
Bool | boolean() | true -> true false -> false |
|
Char | char() | ||
Integer(Int) | integer() | Integer type | |
Float(Double) | float() | Float type | |
String | string() | ||
Tuple | tuple() | ||
List | list() | ||
Map | map() | ||
Record | map() | ||
Binary | binary() \ | bitstring() | |
Port | port() | Erlang Port | |
Pid | pid() | Erlang Pid | |
Reference(Ref) | reference() | Erlang Reference |
当前内容版权归 hamler-lang 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 hamler-lang .