Hacker News new | ask | show | jobs
by codebje 323 days ago
Async is monad shaped. Not-async is monad-shaped, for a degenerate monad. Writing a function that works in both async and not-async contexts just means writing a function that works for any monad.