[core libraries] Re: Add taggedTrace to Debug.Trace
Ben Gamari
ben at smart-cactus.org
Thu Jun 7 16:59:45 UTC 2018
Edward Kmett <ekmett at gmail.com> writes:
> What different users would do with such a prefix, how to display it,
> etc. varies just enough that i’m somewhat hesitant to grow the API.
> I’m a very weak -1. But I’d happily let anybody else on the committee
> override that if they had a strong preference.
>
Right, as I mentioned I'm not sure about the tagging idea. However, I
have found things of the form `(a -> String) -> a -> a` handy in the past.
Then again, it's pretty trivial to open-code this when needed.
Cheers,
- Ben
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 487 bytes
Desc: not available
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20180607/e19070b0/attachment.sig>
More information about the ghc-devs
mailing list