[Haskell] Re: Implicit Parameters
Ashley Yakeley
ashley at semantic.org
Tue Feb 28 14:26:47 EST 2006
Simon Marlow wrote:
> Simon & I have discussed doing some form of thread-local state, which
> covers many uses of implicit parameters and is much preferable IMO.
> Thread-local state doesn't change your types, and it doesn't require
> passing any extra parameters at runtime. It works perfectly well for
> the OS example you give, for example.
Interesting. What would that look like in code?
--
Ashley Yakeley
More information about the Haskell
mailing list