Guest User

Untitled

a guest
Feb 21st, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. implicit class TraceOps[A](a: A) {
  2. def trace: A = {
  3. println(s"""
  4. |--------------------------------------------
  5. |${show(a)}
  6. |--------------------------------------------
  7. |${showRaw(a)}
  8. |--------------------------------------------
  9. """.trim.stripMargin)
  10. a
  11. }
  12. }
Add Comment
Please, Sign In to add comment