Optionally

name.rayrobdod.stringContextParserCombinator.typeclass.Optionally
See theOptionally companion object
trait Optionally[-A, +Z]

Describes how to represent an optional value

Type parameters

A

the optional input type

Z

the result container

Attributes

See also
Companion
object
Source
Optionally.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait BiOptionally[Expr, A, Z]

Members list

Value members

Abstract methods

def none: Z

Returns a Z value representing a missing A

Returns a Z value representing a missing A

Attributes

Source
Optionally.scala
def some(elem: A): Z

Returns a Z value representing the given A

Returns a Z value representing the given A

Attributes

Source
Optionally.scala