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

Rather than monads, map is more likely to be familiar from sequences, and an optional is just a sequence with length < 2.


Well, monads get their map from functors, and they call it 'map' (or fmap) because of map on sequences.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: