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

Check out the code that goes along the "no try! for Option" comment in the OP: it is implementing a custom iterator.


Oh, my bad. I guess `try!` isn't a good enough replacement for properly treating `Option` and `Result` as monads.




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

Search: