Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
edflsafoiewq
5 months ago
|
parent
|
context
|
favorite
| on:
A better (than Optional) maybe for Java
Rather than monads, map is more likely to be familiar from sequences, and an optional is just a sequence with length < 2.
eru
5 months ago
[–]
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: