PHPackages                             franzose/lemonad - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. franzose/lemonad

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

franzose/lemonad
================

Some monads implemented in PHP

20PHP

Since Feb 1Pushed 7y ago2 watchersCompare

[ Source](https://github.com/franzose/lemonad)[ Packagist](https://packagist.org/packages/franzose/lemonad)[ RSS](/packages/franzose-lemonad/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Lemonad
=======

[](#lemonad)

It is a small repository containing implementations of some monads.

1. [Optional](https://github.com/franzose/lemonad#optional)
2. [Maybe](https://github.com/franzose/lemonad#maybe)
3. [Try](https://github.com/franzose/lemonad#try)

Optional
--------

[](#optional)

`Optional` is useful when you don‘t exactly sure if you‘re dealing with an empty value or some meaningful one. It provides a clean and expressive API.

```
