[`protolude` does this](https://hackage.haskell.org/package/protolude-0.3.0/docs/Protolude-Debug.html) and it's very nice to get warnings showing you exactly where in your code you've left debugging artefacts. IIRC, Elm also does something similar (in a slightly more ad-hoc way), as presumably do some other languages/compilers.
protoludedoes this and it's very nice to get warnings showing you exactly where in your code you've left debugging artefacts.IIRC, Elm also does something similar (in a slightly more ad-hoc way), as presumably do some other languages/compilers.