some: Existential type: Some

[ bsd3, data, dependent-types, library ] [ Propose Tags ]

This library defines an existential type Some.

data Some f where
    Some :: f a -> Some f

in few variants, and utilities to work with it.

If you are unsure which variant to use, use the one in Data.Some module.

Flags

Manual Flags

NameDescriptionDefault
newtype-unsafe

Use implementation using newtype and unsafe Any, instead of GADT

Enabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 1, 1.0.0.1, 1.0.0.2, 1.0.0.3, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.4.1 (info)
Change log ChangeLog.md
Dependencies base (>=4.12 && <4.18), deepseq (>=1.4.4.0 && <1.5) [details]
License BSD-3-Clause
Author James Cook <mokus@deepbondi.net>, Oleg Grenrus <oleg.grenrus@iki.fi>
Maintainer Oleg Grenrus <oleg.grenrus@iki.fi>
Category Data, Dependent Types
Home page https://github.com/haskellari/some
Source repo head: git clone git://github.com/haskellari/some.git(some)
Uploaded by phadej at 2022-10-05T08:34:30Z
Distributions Arch:1.0.4.1, Debian:1.0.1, LTSHaskell:1.0.4.1, NixOS:1.0.4.1, Stackage:1.0.4.1, openSUSE:1.0.3
Reverse Dependencies 22 direct, 1218 indirect [details]
Downloads 19268 total (453 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]