File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
core/shared/src/main/boilerplate/kantan/csv Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -108,7 +108,8 @@ trait GeneratedRowEncoders {
108108 *
109109 * @param f encoding method, intended to be a case class' `unapply` method.
110110 * @param i1 index of the cell that should be passed as parameter number 1 of `f`#
111- */ def caseEncoder[C, A1: CellEncoder](f: C => Option[A1]): RowEncoder[C] =
111+ */
112+ def caseEncoder[C, A1: CellEncoder](f: C => Option[A1]): RowEncoder[C] =
112113 encoder(f andThen (_.get))
113114
114115 [2..#/** Creates a new [[RowEncoder]] from the specified `unapply` method of a case class' companion object.
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ trait TupleInstances {
2626 * res0: DecodeResult[Tuple1[[#Int#]]] = Right(([#1#,]))
2727 * }}}
2828 */
29- implicit def tupleRowDecoder1[[#A1: CellDecoder#]]: RowDecoder[Tuple1[[#A1#]]] =
29+ implicit def tupleRowDecoder1[[#A1: CellDecoder#]]: RowDecoder[Tuple1[[#A1#]]] =
3030 RowDecoder.ordered(Tuple1.apply[[#A1#]] _)#
3131
3232 ]
@@ -49,7 +49,8 @@ trait TupleInstances {
4949 * scala> RowEncoder[Tuple1[[#Int#]]].encode(([#1#]))
5050 * res0: Seq[String] = Vector([#1#])
5151 * }}}
52- */implicit def tupleRowEncoder1[[#A1: CellEncoder#]]: RowEncoder[Tuple1[[#A1#]]] =
52+ */
53+ implicit def tupleRowEncoder1[[#A1: CellEncoder#]]: RowEncoder[Tuple1[[#A1#]]] =
5354 RowEncoder.ordered((t: Tuple1[[#A1#]]) => t)#
5455
5556 ]
You can’t perform that action at this time.
0 commit comments