Skip to content

pure14/purescript-either

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

purescript-either

Latest release Build Status Dependency Status

The Either type provides is used to represent values that can be one of two possibilities. For example, Either Int Number can be used in a place where either integers or floating point numbers are acceptable.

A common use for this type is error handling, where by convention the Left constructor carries error messages and the Right constructor carries expected values (“Right is right”). This convention is used as the Functor, Applicative, Monad, etc. instances all operate on the Right part of the Either.

Installation

bower install purescript-either

Module documentation

About

Values with two possibilities

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • PureScript 95.0%
  • C++ 4.3%
  • JavaScript 0.7%