Closed andylokandy closed 3 years ago
Add Data.Maybe.fromJust : (v : Maybe a) -> IsJust v => a
Data.Maybe.fromJust : (v : Maybe a) -> IsJust v => a
I think it worth considering if we can also add fromLeft and fromRight for Either.
fromLeft
fromRight
Either
Rename fromMaybe to fromMaybe', since we usually prime the partial version of the functions. But this is a breaking change.
fromMaybe
fromMaybe'
Add
Data.Maybe.fromJust : (v : Maybe a) -> IsJust v => a
I think it worth considering if we can also add
fromLeft
andfromRight
forEither
.Alternative:
Rename
fromMaybe
tofromMaybe'
, since we usually prime the partial version of the functions. But this is a breaking change.