# lambdash.maybe

> Maybe data type for lambdash

Latest version **0.7.0-alpha.2** (published 2017-02-21) · MIT license · 0 weekly downloads

## Install

```sh
npm install lambdash.maybe
pnpm add lambdash.maybe
yarn add lambdash.maybe
bun add lambdash.maybe
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.7.0-alpha.2 |
| Published | 2017-02-21 |
| First published | 2016-02-21 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Mark Wardle |
| Maintainers | mwardle |

## Links

- npm: https://www.npmjs.com/package/lambdash.maybe
- Repository: https://github.com/mwardle/lambdash.maybe
- Homepage: https://github.com/mwardle/lambdash.maybe#readme
- Issues: https://github.com/mwardle/lambdash.maybe/issues
- npm.io page: https://npm.io/package/lambdash.maybe

## Dependencies (1)

- [lambdash](https://npm.io/package/lambdash.md) ^0.7.0-alpha.2

## Recent versions

- 0.7.0-alpha.2 (latest) — 2017-02-21
- 0.7.0-alpha — 2017-02-18
- 0.6.0 — 2016-02-21

## README

# Maybe

This package implements a maybe type for [lambdash](https://github.com/mwardle/lambdash.git).

## Installation

Use npm.

```

npm install --save lambdash.maybe

```

## Implements

1. Eq
2. Ord
3. Functor
4. Semigroup
5. Monoid
6. Foldable
7. Applicative
8. Monad
9. Show

## Typed Maybe

By default the Maybe implementation accepts any value.
You can create typed maybe like so:

```javascript
    var _ = require('lambdash');
    var Maybe = require('lambdash.maybe');

    // A list that only accepts numbers
    var MaybeNum = Maybe.Typed(_.Num);
```

---
_Source: https://npm.io/package/lambdash.maybe · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
