[Haskell-cafe] Reader monad, implicit parameters, or something else altogether?

Brandon S. Allbery KF8NH allbery at ece.cmu.edu
Mon Aug 18 16:24:07 EDT 2008


On 2008 Aug 18, at 16:20, Evan Laforge wrote:
>>> Which is comparable to the Reader version (with the
>>> advantage/disadvantage of the body of 'escapeVelocity' not being
>>> monadic).
>>
>> In my opinion the implicit parameters don't make things simpler,  
>> only less
>> portable, that's why I prefer the Reader monad.
>
> They also seem to be removed from ghc:
>
> http://www.haskell.org/pipermail/cvs-ghc/2006-September/031824.html


Again, that's *linear* implicit parameters (%foo instead of ?foo).

-- 
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery at kf8nh.com
system administrator [openafs,heimdal,too many hats] allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon university    KF8NH




More information about the Haskell-Cafe mailing list