universal v0.1.1 (2020-08-30T22:03:12Z)
Dub
Repo
Maybe
universal
extras
maybe
Undocumented in source.
struct
Maybe
(A)
struct
Maybe (
A
) {
mixin
UnionInstance
!(
q{
nothing
}
,
q{
just
}
,
A
)
;
}
alias
Maybe
(
A
:
void
)
=
Maybe
!(
Unit
)
Members
Mixins
__anonymous
mixin
UnionInstance
!(
q{
nothing
}
,
q{
just
}
,
A
)
Undocumented in source.
Meta
Source
See Implementation
universal
extras
maybe
functions
isJust
isNothing
just
nothing
structs
Maybe
templates
maybe
maybeMap
maybeVisit