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

I've almost written "|> case do" several times and then in each case have decided that it makes sense to a separate private function (with function head matching for the different cases).


I've found "|> case do" to feel 'right' at times when it's at the end of the pipeline.




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

Search: