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 rolling linux/jammy R-4.5 maybe_1.1.0.tar.gz 504.4 KiB
1.1.0 rolling linux/noble R-4.5 maybe_1.1.0.tar.gz 504.3 KiB
1.1.0 rolling source/ R- maybe_1.1.0.tar.gz 460.3 KiB
1.1.0 latest linux/jammy R-4.5 maybe_1.1.0.tar.gz 504.4 KiB
1.1.0 latest linux/noble R-4.5 maybe_1.1.0.tar.gz 504.3 KiB
1.1.0 latest source/ R- maybe_1.1.0.tar.gz 460.3 KiB
1.1.0 2026-04-26 source/ R- maybe_1.1.0.tar.gz 460.3 KiB
1.1.0 2026-04-23 source/ R- maybe_1.1.0.tar.gz 460.3 KiB
1.1.0 2026-04-09 windows/windows R-4.5 maybe_1.1.0.zip 508.8 KiB
1.1.0 2025-04-20 source/ R- maybe_1.1.0.tar.gz 460.3 KiB

Dependencies (latest)

Imports

Suggests