Commit graph

6 commits

Author SHA1 Message Date
Leonardo de Moura
9296bfde3f feat: add tracingAt 2019-12-08 09:51:51 -08:00
Leonardo de Moura
1352619ee4 refactor: MonadTracer and helper functions
This commit adds
- `addContext : MessageData -> m MessageData` method. We need it to
  make sure we wrap the message with the current context. Before this
  commit I had to redefine `trace` for `MetaM`, `SynthM`, and
  `TermElabM`.
- polymorphic `traceM` method.
2019-12-08 09:05:15 -08:00
Leonardo de Moura
f80ec55149 feat: improve tracing messages 2019-12-05 07:29:01 -08:00
Leonardo de Moura
0f1184e1d6 feat: instantiateMVars when formatting messages 2019-12-05 07:02:28 -08:00
Leonardo de Moura
dd0b71938d feat: register Meta tracing options 2019-12-05 06:38:28 -08:00
Leonardo de Moura
cc5a3cca29 chore: move helper modules to src/Init/Lean/Util 2019-12-04 17:17:34 -08:00