Math Types

There are currently only two types of numbers in Halla. Int types for integers, and Float types for fractional values. Halla will automatically infer the type for any literal number you provide.

The following REPL command would produce an Integer.

> 42
42

The following REPL command would produce an Float.

> 12.3
12.3

Basics TODO

Adding Integers together is the same in Halla as it is with most languages.

> 1300 + 37
1337

The same could be said for adding Floats.

> 13.00 + 00.37
13.37