Default given instances of FromExpr
- Companion:
- class
- Source:
- FromExpr.scala
Type members
Classlikes
Default implementation of FromExpr[EmptyTuple]
Default implementation of FromExpr[EmptyTuple]
- Transform
'{EmptyTuple}
intoSome(EmptyTuple)
- Otherwise returns
None
- Source:
- FromExpr.scala
Default implementation of FromExpr[Nil]
Default implementation of FromExpr[Nil]
- Transform
'{Nil}
intoSome(Nil)
- Otherwise returns
None
- Source:
- FromExpr.scala
Default implementation of FromExpr[None]
Default implementation of FromExpr[None]
- Transform
'{None}
intoSome(None)
- Otherwise returns
None
- Source:
- FromExpr.scala
Default implementation of FromExpr[StringContext]
Default implementation of FromExpr[StringContext]
- Transform
'{StringContext(args: _*)}
intoSome(StringContext(args: _*))
ifargs
is explicit and each one is liftable - Otherwise returns
None
- Source:
- FromExpr.scala
Givens
Givens
Default implementation of FromExpr[Boolean]
Default implementation of FromExpr[Boolean]
- Transform
'{true}
intoSome(true)
- Transform
'{false}
intoSome(false)
- Otherwise returns
None
- Source:
- FromExpr.scala
Default implementation of FromExpr[Byte]
Default implementation of FromExpr[Byte]
- Transform
'{n}
intoSome(n)
for a literaln
of typeByte
- Otherwise returns
None
- Source:
- FromExpr.scala
Default implementation of FromExpr[Char]
Default implementation of FromExpr[Char]
- Transform
'{c}
intoSome(c)
for a literalc
of typeChar
- Otherwise returns
None
- Source:
- FromExpr.scala
Default implementation of FromExpr[Double]
Default implementation of FromExpr[Double]
- Transform
'{n}
intoSome(n)
for a literaln
of typeDouble
- Otherwise returns
None
- Source:
- FromExpr.scala
Default implementation of FromExpr[Either]
Default implementation of FromExpr[Either]
- Transform
'{Left(x)}
intoSome(Left(x))
ifx
can be transformed usingFromExpr[L]
- Transform
'{Right(x)}
intoSome(Right(x))
ifx
can be transformed usingFromExpr[R]
- Otherwise returns
None
- Source:
- FromExpr.scala
Default implementation of FromExpr[EmptyTuple]
Default implementation of FromExpr[EmptyTuple]
- Transform
'{EmptyTuple}
intoSome(EmptyTuple)
- Otherwise returns
None
- Source:
- FromExpr.scala
Default implementation of FromExpr[Float]
Default implementation of FromExpr[Float]
- Transform
'{n}
intoSome(n)
for a literaln
of typeFloat
- Otherwise returns
None
- Source:
- FromExpr.scala
Default implementation of FromExpr[Int]
Default implementation of FromExpr[Int]
- Transform
'{n}
intoSome(n)
for a literaln
of typeInt
- Otherwise returns
None
- Source:
- FromExpr.scala
Default implementation of FromExpr[Left]
Default implementation of FromExpr[Left]
- Transform
'{Left(x)}
intoSome(Left(x))
ifx
can be transformed usingFromExpr[L]
- Otherwise returns
None
- Source:
- FromExpr.scala
Default implementation of FromExpr[List]
Default implementation of FromExpr[List]
- Transform
'{List(x1, ..., xn)}
intoSome(List(x1, ..., xn))
if allxi
can be transformed usingFromExpr[Ti]
- Transform
'{List.empty}
intoSome(Nil)
- Transform
'{Nil}
intoSome(Nil)
- Otherwise returns
None
- Source:
- FromExpr.scala
Default implementation of FromExpr[Long]
Default implementation of FromExpr[Long]
- Transform
'{n}
intoSome(n)
for a literaln
of typeLong
- Otherwise returns
None
- Source:
- FromExpr.scala
Default implementation of FromExpr[Map]
Default implementation of FromExpr[Map]
- Transform
'{Map(x1, ..., xn)}
intoSome(Map(x1, ..., xn))
if allxi
can be transformed usingFromExpr[Ti]
- Transform
'{Map.empty}
intoSome(Map())
- Otherwise returns
None
- Source:
- FromExpr.scala
Default implementation of FromExpr[Nil]
Default implementation of FromExpr[Nil]
- Transform
'{Nil}
intoSome(Nil)
- Otherwise returns
None
- Source:
- FromExpr.scala
Default implementation of FromExpr[None]
Default implementation of FromExpr[None]
- Transform
'{None}
intoSome(None)
- Otherwise returns
None
- Source:
- FromExpr.scala
Default implementation of FromExpr[Option]
Default implementation of FromExpr[Option]
- Transform
'{Some(x)}
intoSome(Some(x))
ifx
can be transformed usingFromExpr[T]
- Transform
'{None}
intoSome(None)
- Otherwise returns
None
- Source:
- FromExpr.scala
Default implementation of FromExpr[Right]
Default implementation of FromExpr[Right]
- Transform
'{Right(x)}
intoSome(Right(x))
ifx
can be transformed usingFromExpr[R]
- Otherwise returns
None
- Source:
- FromExpr.scala
Default implementation of FromExpr[Seq]
Default implementation of FromExpr[Seq]
- Transform
'{Seq(x1, ..., xn)}
intoSome(Seq(x1, ..., xn))
if allxi
can be transformed usingFromExpr[Ti]
- Transform sequences that come out of varargs
- Otherwise returns
None
- Source:
- FromExpr.scala
Default implementation of FromExpr[Set]
Default implementation of FromExpr[Set]
- Transform
'{Set(x1, ..., xn)}
intoSome(Set(x1, ..., xn))
if allxi
can be transformed usingFromExpr[Ti]
- Transform
'{Set.empty}
intoSome(Set())
- Otherwise returns
None
- Source:
- FromExpr.scala
Default implementation of FromExpr[Short]
Default implementation of FromExpr[Short]
- Transform
'{n}
intoSome(n)
for a literaln
of typeShort
- Otherwise returns
None
- Source:
- FromExpr.scala
Default implementation of FromExpr[Some]
Default implementation of FromExpr[Some]
- Transform
'{Some(x)}
intoSome(Some(x))
ifx
can be transformed usingFromExpr[T]
- Otherwise returns
None
- Source:
- FromExpr.scala
Default implementation of FromExpr[StringContext]
Default implementation of FromExpr[StringContext]
- Transform
'{StringContext(args: _*)}
intoSome(StringContext(args: _*))
ifargs
is explicit and each one is liftable - Otherwise returns
None
- Source:
- FromExpr.scala
Default implementation of FromExpr[String]
Default implementation of FromExpr[String]
- Transform
'{str}
intoSome(str)
for a literalstr
of typeString
- Otherwise returns
None
- Source:
- FromExpr.scala
Default implementation of FromExpr[Tuple10[...]]
Default implementation of FromExpr[Tuple10[...]]
- Transform
'{Tuple0(x1, ..., x10)}
intoSome(Tuple0(x1, ..., x10))
if allxi
can be transformed usingFromExpr[Ti]
- Otherwise returns
None
- Source:
- FromExpr.scala
Default implementation of FromExpr[Tuple11[...]]
Default implementation of FromExpr[Tuple11[...]]
- Transform
'{Tuple1(x1, ..., x11)}
intoSome(Tuple1(x1, ..., x11))
if allxi
can be transformed usingFromExpr[Ti]
- Otherwise returns
None
- Source:
- FromExpr.scala
Default implementation of FromExpr[Tuple12[...]]
Default implementation of FromExpr[Tuple12[...]]
- Transform
'{Tuple2(x1, ..., x12)}
intoSome(Tuple2(x1, ..., x12))
if allxi
can be transformed usingFromExpr[Ti]
- Otherwise returns
None
- Source:
- FromExpr.scala
Default implementation of FromExpr[Tuple13[...]]
Default implementation of FromExpr[Tuple13[...]]
- Transform
'{Tuple3(x1, ..., x13)}
intoSome(Tuple3(x1, ..., x13))
if allxi
can be transformed usingFromExpr[Ti]
- Otherwise returns
None
- Source:
- FromExpr.scala
Default implementation of FromExpr[Tuple14[...]]
Default implementation of FromExpr[Tuple14[...]]
- Transform
'{Tuple4(x1, ..., x14)}
intoSome(Tuple4(x1, ..., x14))
if allxi
can be transformed usingFromExpr[Ti]
- Otherwise returns
None
- Source:
- FromExpr.scala
Default implementation of FromExpr[Tuple15[...]]
Default implementation of FromExpr[Tuple15[...]]
- Transform
'{Tuple5(x1, ..., x15)}
intoSome(Tuple5(x1, ..., x15))
if allxi
can be transformed usingFromExpr[Ti]
- Otherwise returns
None
- Source:
- FromExpr.scala
Default implementation of FromExpr[Tuple16[...]]
Default implementation of FromExpr[Tuple16[...]]
- Transform
'{Tuple6(x1, ..., x16)}
intoSome(Tuple6(x1, ..., x16))
if allxi
can be transformed usingFromExpr[Ti]
- Otherwise returns
None
- Source:
- FromExpr.scala
Default implementation of FromExpr[Tuple17[...]]
Default implementation of FromExpr[Tuple17[...]]
- Transform
'{Tuple7(x1, ..., x17)}
intoSome(Tuple7(x1, ..., x17))
if allxi
can be transformed usingFromExpr[Ti]
- Otherwise returns
None
- Source:
- FromExpr.scala
Default implementation of FromExpr[Tuple18[...]]
Default implementation of FromExpr[Tuple18[...]]
- Transform
'{Tuple8(x1, ..., x18)}
intoSome(Tuple8(x1, ..., x18))
if allxi
can be transformed usingFromExpr[Ti]
- Otherwise returns
None
- Source:
- FromExpr.scala
Default implementation of FromExpr[Tuple19[...]]
Default implementation of FromExpr[Tuple19[...]]
- Transform
'{Tuple9(x1, ..., x19)}
intoSome(Tuple9(x1, ..., x19))
if allxi
can be transformed usingFromExpr[Ti]
- Otherwise returns
None
- Source:
- FromExpr.scala
Default implementation of FromExpr[Tuple1[...]]
Default implementation of FromExpr[Tuple1[...]]
- Transform
'{Tuple1(x1)}
intoSome(Tuple1(x1))
ifx1
can be transformed usingFromExpr[T]
- Otherwise returns
None
- Source:
- FromExpr.scala
Default implementation of FromExpr[Tuple20[...]]
Default implementation of FromExpr[Tuple20[...]]
- Transform
'{Tuple0(x1, ..., x20)}
intoSome(Tuple0(x1, ..., x20))
if allxi
can be transformed usingFromExpr[Ti]
- Otherwise returns
None
- Source:
- FromExpr.scala
Default implementation of FromExpr[Tuple21[...]]
Default implementation of FromExpr[Tuple21[...]]
- Transform
'{Tuple1(x1, ..., x21)}
intoSome(Tuple1(x1, ..., x21))
if allxi
can be transformed usingFromExpr[Ti]
- Otherwise returns
None
- Source:
- FromExpr.scala
Default implementation of FromExpr[Tuple22[...]]
Default implementation of FromExpr[Tuple22[...]]
- Transform
'{Tuple2(x1, ..., x22)}
intoSome(Tuple2(x1, ..., x22))
if allxi
can be transformed usingFromExpr[Ti]
- Otherwise returns
None
- Source:
- FromExpr.scala
Default implementation of FromExpr[Tuple2[...]]
Default implementation of FromExpr[Tuple2[...]]
- Transform
'{Tuple2(x1, x2)}
intoSome(Tuple2(x1, x2))
if allxi
can be transformed usingFromExpr[Ti]
- Otherwise returns
None
- Source:
- FromExpr.scala
Default implementation of FromExpr[Tuple3[...]]
Default implementation of FromExpr[Tuple3[...]]
- Transform
'{Tuple3(x1, x2, x3)}
intoSome(Tuple3(x1, x2, x3))
if allxi
can be transformed usingFromExpr[Ti]
- Otherwise returns
None
- Source:
- FromExpr.scala
Default implementation of FromExpr[Tuple4[...]]
Default implementation of FromExpr[Tuple4[...]]
- Transform
'{Tuple4(x1, ..., x4)}
intoSome(Tuple4(x1, ..., x4))
if allxi
can be transformed usingFromExpr[Ti]
- Otherwise returns
None
- Source:
- FromExpr.scala
Default implementation of FromExpr[Tuple5[...]]
Default implementation of FromExpr[Tuple5[...]]
- Transform
'{Tuple5(x1, ..., x5)}
intoSome(Tuple5(x1, ..., x5))
if allxi
can be transformed usingFromExpr[Ti]
- Otherwise returns
None
- Source:
- FromExpr.scala
Default implementation of FromExpr[Tuple6[...]]
Default implementation of FromExpr[Tuple6[...]]
- Transform
'{Tuple6(x1, ..., x6)}
intoSome(Tuple6(x1, ..., x6))
if allxi
can be transformed usingFromExpr[Ti]
- Otherwise returns
None
- Source:
- FromExpr.scala
Default implementation of FromExpr[Tuple7[...]]
Default implementation of FromExpr[Tuple7[...]]
- Transform
'{Tuple7(x1, ..., x7)}
intoSome(Tuple7(x1, ..., x7))
if allxi
can be transformed usingFromExpr[Ti]
- Otherwise returns
None
- Source:
- FromExpr.scala
Default implementation of FromExpr[Tuple8[...]]
Default implementation of FromExpr[Tuple8[...]]
- Transform
'{Tuple8(x1, ..., x8)}
intoSome(Tuple8(x1, ..., x8))
if allxi
can be transformed usingFromExpr[Ti]
- Otherwise returns
None
- Source:
- FromExpr.scala
Default implementation of FromExpr[Tuple9[...]]
Default implementation of FromExpr[Tuple9[...]]
- Transform
'{Tuple9(x1, ..., x9)}
intoSome(Tuple9(x1, ..., x9))
if allxi
can be transformed usingFromExpr[Ti]
- Otherwise returns
None
- Source:
- FromExpr.scala