Skip to content

Commit

Permalink
Show[java.lang.Throwable]
Browse files Browse the repository at this point in the history
  • Loading branch information
larsrh committed May 6, 2013
1 parent 1b563d8 commit 5db73d4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
1 change: 0 additions & 1 deletion core/src/main/scala/scalaz/std/AllInstances.scala
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,5 @@ trait AllInstances
with scalaz.std.java.math.BigIntegerInstances
with scalaz.std.java.util.concurrent.CallableInstances
with NodeSeqInstances
// Intentionally omitted: IterableInstances

object AllInstances extends AllInstances
8 changes: 8 additions & 0 deletions core/src/main/scala/scalaz/std/java/Throwable.scala
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
package scalaz
package std.java

trait ThrowableInstances {
implicit val throwableInstance: Show[Throwable] = Show.showFromToString[Throwable]
}

object throwable extends ThrowableInstances

0 comments on commit 5db73d4

Please sign in to comment.