ExcelReadsInstances

Basic instances

Note

This parser uses HList to parse the case class which do not contain data types like neither Either nor ADT. Either and ADT are required Coproduct but the parser sometimes cannot determine which type it should parse. That's the why I don't make Coproduct instances. If you use ADT in the type representing a Excel row, you have to implement a instance to parse it.

class Object
trait Matchable
class Any
object ExcelReads

Value members

Inherited methods

inline
def deriveProduct[R, A](using inline a: ProductOf[A]): ExcelReads[R, A]
inline
def deriveRec[R, T <: Tuple]: List[ExcelReads[R, _]]
final
def productImpl[R, A](xs: List[ExcelReads[R, _]], a: ProductOf[A]): ExcelReads[R, A]

Implicits

Implicits

implicit
def booleanInstance[R](implicit sym: ExcelBasicSYM[[_] =>> Eff[R, _$6]]): ExcelReads[R, Option[Boolean]]
implicit
def doubleInstance[R](implicit sym: ExcelBasicSYM[[_] =>> Eff[R, _$4]]): ExcelReads[R, Option[Double]]
implicit
def intInstance[R](implicit sym: ExcelBasicSYM[[_] =>> Eff[R, _$5]]): ExcelReads[R, Option[Int]]
implicit
def listInstance[R, A](implicit reads: ExcelReads[R, Option[A]]): ExcelReads[R, List[A]]

This instance only can parse the type whose sequence is at the end. If we want to parse any place on the type, it requires backtrack like regular-expression matcher. It's hard to implement so I haven't implemented it yet for now.

This instance only can parse the type whose sequence is at the end. If we want to parse any place on the type, it requires backtrack like regular-expression matcher. It's hard to implement so I haven't implemented it yet for now.

implicit
def stringInstance[R](implicit sym: ExcelBasicSYM[[_] =>> Eff[R, _$3]]): ExcelReads[R, Option[String]]
implicit
def styleInstance[R, Style](implicit sym: ExcelStyleSYM[Style, [_] =>> Eff[R, _$7]]): ExcelReads[R, Option[Style]]

Inherited implicits

implicit
def aInstance[R, A](implicit reads: ExcelReads[R, Option[A]]): ExcelReads[R, A]
implicit inline
def derive[R, A]: ExcelReads[R, A]