View Source Dreamy.Types (dreamy v1.0.0)
Useful Type definitions
Summary
Types
Monodic type representing a left or right tuple
Type for documenting the value within an enumerable
Type union of t
& nil
Monodic type that can hold a value
Monodic type for :ok, :error tuples
Types
@type either(l, r) :: Dreamy.Either.t(l, r)
Monodic type representing a left or right tuple
@type enumerable(_v) :: Enumerable.t()
Type for documenting the value within an enumerable
@type nullable(v) :: v | nil
Type union of t
& nil
@type option(v) :: Dreamy.Option.t(v)
Monodic type that can hold a value
@type result(ok, err) :: Dreamy.Result.t(ok, err)
Monodic type for :ok, :error tuples