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

2008-12-16 Thread Bjorn Buckwalter
Richard A. O'Keefe cs.otago.ac.nz> writes: > Just an idiot-level question: so these "constants" are subject > to revision, but *how often*? What is the actual cost of > recompiling and using them *as* constants, compared with the > cost of rereading the stuff every time you run the program and >

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

2008-08-19 Thread apfelmus
Bjorn Buckwalter wrote: > It seems that two options are to use > either a Reader monad or implicit parameters. Using a Reader monad is > straight forward enough though it requires writing/converting code > in/to monadic style and adds some clutter to the formulae. It seems > implicit parameters cou