Title here
Summary here
Functions in Solar are values. They are defined using the fn keyword, and can be bound to a name by using the let keyword. This functionality will later be replaced by a strongly-typed system consisting of the types s8, u8, s16, u16, and so on.
let add = fn(x, y)
{
return x + y;
};
add(2, 3); // Returns 5.