Hello --
I've got a module full of functions. I've got two (and expect more)
queries which import the function module. The queries have slightly
different requirements; for example, in one case, it's necessary to use
normalize-unicode() during a data regularization step, and in the other
case it isn't. These differences are generally not at the top level of
function that the query itself calls; they're usually a couple levels down
in the function module.
It doesn't look like the function module can have its own external
variables; if it can, that'd be ideal.
Otherwise, it seems like the thing to do is to have each query load a
parameter map, but then I have to include that map as a parameter in all
the functions calls in the function module, which feels inelegant. And I
definitely don't want to start introducing a haze of individual values.
Is there a better way to do this? It seems like I'm missing something.
Thanks!
Graydon
--
Graydon Saunders | graydonish(a)fastmail.com
Þæs oferéode, ðisses swá mæg.
-- Deor ("That passed, so may this.")