Hacker News new | past | comments | ask | show | jobs | submit login

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




Also passing functions to functions:

fn foo(bar: fn(baz: int) -> int) -> int

Instead of

fn foo(bar: fn(baz: int) : int) : int




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: