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

Well, there is a way: Don't allow partial functions like fromJust or head. But a) it's going to make prototyping so tedious that no one will bother using this hypothetical language, and b) there are problems that you just cannot solve without partial functions (e.g. foldl1).


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

Search: