3 ms·
Because with the arrow syntax for results it makes it cleaner for functions that return functions? fn (x:int) -> fn@(y:int, z:int) -> int
by mhitza 15y ago
Because with the arrow syntax for results it makes it cleaner for functions that return functions?
fn (x:int) -> fn@(y:int, z:int) -> int
- fzzzy 15y agoAlso passing functions to functions: fn foo(bar: fn(baz: int) -> int) -> int Instead of fn foo(bar: fn(baz: int) : int) : int