CMD + K

r-maybe

Community

The maybe type represents the possibility of some value or nothing. It is often used instead of throwing an error or returning `NULL`. The advantage of using a maybe type over `NULL` is that it is both composable and requires the developer to explicitly acknowledge the potential absence of a value, helping to avoid the existence of unexpected behaviour.

Installation

To install this package, run one of the following:

Conda
$conda install conda-forge::r-maybe

Usage Tracking

1.1.0
1.0.0
2 / 8 versions selected
Downloads (Last 6 months): 0

About

Summary

The maybe type represents the possibility of some value or nothing. It is often used instead of throwing an error or returning `NULL`. The advantage of using a maybe type over `NULL` is that it is both composable and requires the developer to explicitly acknowledge the potential absence of a value, helping to avoid the existence of unexpected behaviour.

Last Updated

Aug 7, 2023 at 17:27

License

MIT

Supported Platforms

noarch