module
- func equalFor someWitness, lhs, rhs
- func equatableFor someWitness
- func from maybe
- func isNone
- func map transform
- func orDefault default
func equalFor someWitness, lhs, rhs
Creates an equal function, that understands optionals and maybes for a given witness.
func equatableFor someWitness
Creates an Equatable witness for Optionals on top of an existing witness.
func from maybe
Creates an optional from a Maybe-value.
func isNone
True if None. Otherwise False.
func map transform
Transforms Some value to a new one. Keeps None as-is. Any other values will still be mapped, but not wrapped.
func orDefault default
Returns a default, if None given. Otherwise unwraps Some value or keeps Any as-is.