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

Seems like it should at least be x(|x(|x(|x))) instead of x|xx|xxx|xxxx to avoid quadratic blow-up.


yes, that is the actual construction: the disjunction data type only supports a lhs and rhs, so that is the only possible way to represent it.

i wrote it the way i did for clarity in the comments.




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

Search: