Versions in this module Expand all Collapse all v0 v0.2.0 Mar 23, 2022 Changes in this version + func CatMaybes(vs []Type[A]) []A + func FromJust(v Type[A]) A + func FromMaybe(dflt A, v Type[A]) A + func IsJust(v Type[A]) bool + func IsNothing(v Type[A]) bool + func MapMaybes(f func(A) Type[B], vs []A) (rs []B) + func Maybe(dflt B, f func(a A) B, v Type[A]) B + func MaybeToList(v Type[A]) []A + type Type interface + func ListToMaybe(vs []A) Type[A] v0.1.0 Mar 19, 2022 Changes in this version + func Value(dflt B, f func(a A) B, v An[A]) B + type An interface + type Just struct + Value T + type Nothing struct