This package browser is in early development. Mind the rough edges.

guile-srfi-189 final-1.659e3cd

Scheme SRFI implementation of Maybe and Either

This SRFI defines two disjoint immutable container types known as Maybe and Either, both of which can contain objects collectively known as their payload. A Maybe object is either a Just object or the unique object Nothing (which has no payload); an Either object is either a Right object or a Left object. Maybe represents the concept of optional values; Either represents the concept of values which are either correct (Right) or errors (Left).

Installation

Install guile-srfi-189 final-1.659e3cd as follows:

guix install guile-srfi-189@final-1.659e3cd

Or install the latest version:

guix install guile-srfi-189

You can also install packages in augmented, pure or containerized environments for development or simply to try them out without polluting your user profile. See the guix shell documentation for more information.