[Haskell-beginners] How to pass configuration to a function further down the call stack?