View Source Dreamy.Types (dreamy v0.2.3)
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(_t) :: Enumerable.t()
Type for documenting the value within an enumerable
@type nullable(t) :: t | nil
Type union of t
& nil
@type option(t) :: Dreamy.Option.t(t)
Monodic type that can hold a value
@type result(ok, err) :: Dreamy.Result.t(ok, err)
Monodic type for :ok, :error tuples