Crandore Hub

maybe

The Maybe Monad

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.

Versions across snapshots

VersionRepositoryFileSize
1.1.0 2026-04-09 windows/windows R-4.5 maybe_1.1.0.zip 508.8 KiB

Dependencies (latest)

Imports

Suggests