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

Lets take `map` for example. Before generics, you would have to reimplement map for every type combination. Each implementation would be done with a for loop. Now, while I'm willing to look over having one `map` implementation being done in imperative code and then everything else using that, I'm not exactly comfortable calling reimplementing map with imperative code for every type combination functional programming.


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

Search: