Package

org.hammerlab

implicits

Permalink

package implicits

Visibility
  1. Public
  2. All

Type Members

  1. case class with[T]()(implicit t: T) extends Product with Serializable

    Permalink

    Wrapper for summoning an implicit and using it in a block:

    Wrapper for summoning an implicit and using it in a block:

    implicit def show[T]: Show[T] = {
      // expensive / non-idempotent derivation
    }
    wth[Show[T]] {
      implicit showT ⇒
      // do things that would otherwise re-derive a Show[T] instance multiple times
    }

Value Members

  1. object wth

    Permalink

Ungrouped