Skip to content

Commit

Permalink
Update Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
joanllenas authored Dec 8, 2019
1 parent 9a771e6 commit b889a71
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
[![Build Status](https://travis-ci.org/joanllenas/ts.data.either.svg?branch=master)](https://travis-ci.org/joanllenas/ts.data.either)
[![npm version](https://badge.fury.io/js/ts.data.either.svg)](https://badge.fury.io/js/ts.data.either)

The Either data type encapsulates the idea of a computation that may fail.
The `Either` data type encapsulates the idea of a computation that may fail.

An Either value can either be `Right` some value or `Left` some error.
An `Either` value can either be `Right` some value or `Left` some error.

```ts
type Either<T> = Right<T> | Left<T>;
Expand Down

0 comments on commit b889a71

Please sign in to comment.