neither-data: The Neither datatype

[ data, library, mit ] [ Propose Tags ]

A datatype that discards its two arguments

[Skip to Readme]


[Index] [Quick Jump]


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS],,,,,,,
Change log
Dependencies base (>= && <4.15) [details]
License MIT
Author Anselm Schüler
Category Data
Home page
Bug tracker
Uploaded by anselmschueler at 2022-03-19T15:09:03Z
Downloads 465 total (27 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2022-03-19 [all 1 reports]

Readme for neither-data-

[back to package description]


Neither-Data provides the type Neither. It is a two-argument data type that ignores its arguments completely and has only one constructor. It is a trivial instance of many typeclasses.
This package also provides the neither function, which constructs a Neither from two type-matching objects, discarding them.


This package is available on Hackage: neither-data on Hackage
This package is available on GitHub: neither-data on GitHub


The documentation of this package is available on Hackage here.
The documentation is available on a GitHub pages site here.