Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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: