Binaries Mapping Binaries Mapping Binaries in Hamler are imported from Erlang. The Bit Syntax Expressions in Erlang are defined as below: <<>> < <E1 ,..., En > > Ei ::...
References Mapping References Mapping The Reference data type in Hamler is a foreign imported data type from Erlang. Create a Reference in Hamler: import Data . Ref mak...
Floats Mapping Floats Mapping Floats in Hamler are the same as Erlang, which are also known as Doubles in other languages. Floats in Hamler and Erlang: 1.0 , 1.0e10 2....
Chars Mapping Chars Mapping Chars in Hamler are also UTF-8 Unicode characters but with different syntax from Erlang. Chars in Hamler are enclosed in single quotes, which is ...
Overview Overview Hamler has a very different syntax from Erlang, although Hamler source’s code is compiled into CoreErlang. Erlang’s syntax comes primarily from Prolog, while ...
Type Checking Type Checking Hamler is strongly typed with compile type checking. So at compile time we can ensure that our program is type-safe, and this can help programmers t...
Overview 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 D...
Recursions on more complicated datatypes Recursions on more complicated datatypes Definition of the datatype list is recursive. So,when we define a function for such datatypes,...
List Comprehensions List Comprehensions List comprehensions in Erlang use || as a separator between expression and generators, but | is used in Hamler. Hamler: [ x * 2 | ...