public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Debugging and/or logging/println() a Writer?
@ 2020-08-12 18:21 Leonard Rosenthol
       [not found] ` <CALu=v3JuXzR7LpFdKLyhQvvUeuCh_SrPF6Lw0+QsYNDuvauY3g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Leonard Rosenthol @ 2020-08-12 18:21 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

[-- Attachment #1: Type: text/plain, Size: 636 bytes --]

As I continue to work on native writers in Pandoc, the one big thing I am
missing is a form of logging or source debugging.

What does everyone else working on the core app (in Haskell) use??

Thanks,
Leonard

-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CALu%3Dv3JuXzR7LpFdKLyhQvvUeuCh_SrPF6Lw0%2BQsYNDuvauY3g%40mail.gmail.com.

[-- Attachment #2: Type: text/html, Size: 1031 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Debugging and/or logging/println() a Writer?
       [not found] ` <CALu=v3JuXzR7LpFdKLyhQvvUeuCh_SrPF6Lw0+QsYNDuvauY3g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2020-08-13  0:22   ` John MacFarlane
  0 siblings, 0 replies; 2+ messages in thread
From: John MacFarlane @ 2020-08-13  0:22 UTC (permalink / raw)
  To: Leonard Rosenthol, pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw


You can use Debug.Trace.

I often just import this module and put a traceShowId around
a value I'm interested in.

Leonard Rosenthol <leonardr-bM6h3K5UM15l57MIdRCFDg@public.gmane.org> writes:

> As I continue to work on native writers in Pandoc, the one big thing I am
> missing is a form of logging or source debugging.
>
> What does everyone else working on the core app (in Haskell) use??
>
> Thanks,
> Leonard
>
> -- 
> You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CALu%3Dv3JuXzR7LpFdKLyhQvvUeuCh_SrPF6Lw0%2BQsYNDuvauY3g%40mail.gmail.com.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-08-13  0:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-12 18:21 Debugging and/or logging/println() a Writer? Leonard Rosenthol
     [not found] ` <CALu=v3JuXzR7LpFdKLyhQvvUeuCh_SrPF6Lw0+QsYNDuvauY3g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2020-08-13  0:22   ` John MacFarlane

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).