Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Java decides to go with single arrow for closures (java.net)
6 points by tomeast on Sept 27, 2011 | hide | past | favorite | 3 comments


They claim that it's not what others are doing, but coffeescript is doing it, and it's quite possible that ECMAScript will get it in the future.


Haskell does it, apparently choosing \x -> y from Miranda's type signatures over ML's fn x => y. Of course, Haskell proceeds to x <- y -< z and then starts to go a bit peculiar.

http://www.haskell.org/haskellwiki/Arrow


Dont care about Java. Hate it.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

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

Search: