ListFromExpr
Default implementation of FromExpr[List]
- Transform '{List(x1, ..., xn)}
into Some(List(x1, ..., xn))
if all xi
can be transformed using FromExpr[Ti]
- Transform '{List.empty}
into Some(Nil)
- Transform '{Nil}
into Some(Nil)
- Otherwise returns None
Default implementation of FromExpr[List]
- Transform '{List(x1, ..., xn)}
into Some(List(x1, ..., xn))
if all xi
can be transformed using FromExpr[Ti]
- Transform '{List.empty}
into Some(Nil)
- Transform '{Nil}
into Some(Nil)
- Otherwise returns None