Closed k0001 closed 7 years ago
The idea would be to make Di
either a pure data structure or, if needed for efficiency, an associated datatype of the MonadDi
class, and have log :: Di path msg -> Level -> msg -> m ()
be part of that class (and similar for log'
but possibly in a different class).
I'm closing this in favor of #1
In general: We need IO
for the goals di
targets, so doing this is not really possible.
cc @shlevy