Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- implicit class TraceOps[A](a: A) {
- def trace: A = {
- println(s"""
- |--------------------------------------------
- |${show(a)}
- |--------------------------------------------
- |${showRaw(a)}
- |--------------------------------------------
- """.trim.stripMargin)
- a
- }
- }
Add Comment
Please, Sign In to add comment