Skip to content

Commit

Permalink
Show instance for scala.Symbol
Browse files Browse the repository at this point in the history
  • Loading branch information
durban committed Dec 4, 2016
1 parent 25d11c4 commit 2c20154
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions core/src/main/scala/cats/instances/all.scala
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,4 @@ trait AllInstances
with TryInstances
with TupleInstances
with UUIDInstances
with SymbolInstances
9 changes: 9 additions & 0 deletions core/src/main/scala/cats/instances/symbol.scala
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
package cats
package instances

package object symbol extends SymbolInstances

trait SymbolInstances extends cats.kernel.instances.SymbolInstances {
implicit val catsStdShowForSymbol: Show[Symbol] =
Show.fromToString[Symbol]
}

0 comments on commit 2c20154

Please sign in to comment.