Repository navigation
v1.5.1
Allowed single-statement if without braces, which lead to having braceless functions that are return-only because they are single-statement. def can now be omitted because it means default not define, and is in the calling convention position. Can now define circumfix operators like |x| using similar syntax to ternary definition but only single parameter operator(int x) [|][|] -> int -> x < 0 ? -x : x;, can also alias functions as operators like foo(int i) -> int as operator[|][|] -> x < 0 ? -x : x;
Full Changelog: v1.5.0...v1.5.1