Hacker News new | ask | show | jobs
by eru 1704 days ago
In more orthodox Haskell, you can use eg the 'Reader Monad' with a suitable datastructure (or combination of Applicatives) where other languages would use dynamically scoped variables.