Features
maybe_map3
Evaluate a ternary function on three maybe valuesand_then2
Evaluate a binary maybe returning function on two maybe valuesand_then3
Evaluate a ternary maybe returning function on three maybe values
Bug fixes
- Fixed invisible return of maybe value to print correctly
Features
maybe_map2
Evaluate a binary function on two maybe valuesmaybe_case
Unwrap and call a function on a maybe value or return a defaultfrom_just
Unwrap a 'Just' value or throw an errorfilter_justs
Filter and unwrap a list of 'Just' valuesfilter_map
Map a function over a list and filter only 'Just' values
Internal changes
- Now doesn't require R >= 4.1
Major breaking changes
- Function named
map_maybe
changed tomaybe_map
- Function named
flatten_maybe
changed tomaybe_flatten
Features
maybe_contains
checks if a maybe value contains a specific valuemaybe_equal
checks if two maybe values are identical
Initial version