@hackage some1.0.6
Existential type: Some
Installation
Tested Compilers
Dependencies (3)
- base >=4.12 && <4.23
- base-orphans >=0.9.1 && <0.10
- deepseq >=1.4.4.0 && <1.6 Show all…
Dependents (44)
@hackage/ghc-debug-brick, @hackage/fb-util, @hackage/singleton-bool, @hackage/dependent-sum-template, @hackage/sqel, @hackage/morley, Show all…
Package Flags
newtype-unsafe
(on by default)
Use implementation using newtype and unsafe Any, instead of GADT
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.