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



I mean an example of why this new language feature -- the ability to implicitly treat a keypath as a function -- is useful.

(The last example in your link shows using a keypath to specify a sort criteria. That's a nice use of keypaths, but isn't helped by this new feature.)




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

Search: