Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package x7c1.wheat.splicer.core.logger
- object Tap {
- object implicits {
- implicit class Provider[A](val target: A) extends AnyVal {
- def tap(f: (A => Unit)*): A = {
- f foreach (_ (target))
- target
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement