Hacker News new | ask | show | jobs
by glittershark 3846 days ago
That's exactly how Haskell's IO monad works (albeit a little simplified)