Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
dschiptsov
on July 21, 2015
|
parent
|
context
|
favorite
| on:
Monads in JavaScript
In a strict (as opposed to lazy) non-functional language monads make no sense. Write two statements which uses a temp variable on the same line, separated by a semicolon - this is your monad.
crimsonalucard
on July 21, 2015
[–]
No way. While I do agree monads don't make sense in some imperative languages, writing two statements on the same line is not a monad.
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: