flix

0.79.0

FromString

trait FromString[a: Type]Source

Trait for types that can be constructed from strings.

Instances

Primitives
Unit, Bool, Char, Float32, Float64, BigDecimal, Int8, Int16, Int32, Int64, BigInt, String
Non-primitives
IpAddr, Ipv4Addr, Ipv6Addr, SocketAddr

Signatures

def fromString(x: String): Option[a] with FromString[a]§ Source

Optionally returns the value associated with the given string s.