diff options
author | Jon Pretty <jon.pretty@propensive.com> | 2017-11-10 15:21:03 +0000 |
---|---|---|
committer | Jon Pretty <jon.pretty@propensive.com> | 2017-11-10 15:21:03 +0000 |
commit | 2ae9a65ed0b773f77b5cd8d8c134a125bbaccf5d (patch) | |
tree | 345f7f8a497f5fc12e2aaad9cf9e8119e0059d62 /examples | |
parent | e4ba86981d70ed96d56fa998b5c905a1720f4db2 (diff) | |
download | magnolia-2ae9a65ed0b773f77b5cd8d8c134a125bbaccf5d.tar.gz magnolia-2ae9a65ed0b773f77b5cd8d8c134a125bbaccf5d.tar.bz2 magnolia-2ae9a65ed0b773f77b5cd8d8c134a125bbaccf5d.zip |
Scalafmt
Diffstat (limited to 'examples')
-rw-r--r-- | examples/src/main/scala/show.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/src/main/scala/show.scala b/examples/src/main/scala/show.scala index a83c509..e101c11 100644 --- a/examples/src/main/scala/show.scala +++ b/examples/src/main/scala/show.scala @@ -10,12 +10,12 @@ import scala.language.experimental.macros trait Show[Out, T] { def show(value: T): Out } trait GenericShow[Out] { - + /** the type constructor for new [[Show]] instances * * The first parameter is fixed as `String`, and the second parameter varies generically. */ type Typeclass[T] = Show[Out, T] - + def join(typeName: String, strings: Seq[String]): Out /** creates a new [[Show]] instance by labelling and joining (with `mkString`) the result of |