| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Data.Exists
Documentation
Constructors
| Exists !(f a) |
Instances
| BoundedForall k f => Bounded (Exists k f) Source # | |
| EnumForall k f => Enum (Exists k f) Source # | |
| EqForallPoly k f => Eq (Exists k f) Source # | |
| OrdForallPoly k f => Ord (Exists k f) Source # | |
| ReadForall k f => Read (Exists k f) Source # | |
| ShowForall k f => Show (Exists k f) Source # | |
| HashableForall k f => Hashable (Exists k f) Source # | |
| ToJSONForall k f => ToJSON (Exists k f) Source # | |
| (ToJSONKeyForall k f, ToJSONForall k f) => ToJSONKey (Exists k f) Source # | |
| FromJSONForall k f => FromJSON (Exists k f) Source # | |
| (FromJSONKeyForall k f, FromJSONForall k f) => FromJSONKey (Exists k f) Source # | |
| PathPieceForall k f => PathPiece (Exists k f) Source # | |
data ToJSONKeyFunctionForall f Source #
Constructors
| ToJSONKeyTextForall !(forall a. f a -> Text) !(forall a. f a -> Encoding' Text) | |
| ToJSONKeyValueForall !(forall a. f a -> Value) !(forall a. f a -> Encoding) |
class EqForall f => OrdForall f where Source #
Minimal complete definition
Methods
compareForall :: f a -> f a -> Ordering Source #
class EqForall f => EqForallPoly f where Source #
Minimal complete definition
Methods
eqForallPoly :: f a -> f b -> Bool Source #
Instances
| Eq a => EqForallPoly k (Const k a) Source # | |
class (OrdForall f, EqForallPoly f) => OrdForallPoly f where Source #
Minimal complete definition
Methods
compareForallPoly :: f a -> f b -> Ordering Source #
Instances
| Ord a => OrdForallPoly k (Const k a) Source # | |
class ShowForall f where Source #
Minimal complete definition
Methods
showsPrecForall :: Int -> f a -> ShowS Source #
Instances
| ShowForall k (Proxy k) Source # | |
showsForall :: ShowForall f => f a -> ShowS Source #
showForall :: ShowForall f => f a -> String Source #
class ReadForall f where Source #
Minimal complete definition
Methods
readPrecForall :: ReadPrec (Exists f) Source #
Instances
| ReadForall k (Proxy k) Source # | |
class EqForallPoly2 f where Source #
Minimal complete definition
Methods
eqForallPoly2 :: f a b -> f c d -> Bool Source #
class HashableForall f where Source #
Minimal complete definition
Methods
hashWithSaltForall :: Int -> f a -> Int Source #
Instances
| Hashable a => HashableForall k (Const k a) Source # | |
class FromJSONKeyForall f where Source #
Minimal complete definition
Methods
fromJSONKeyForall :: FromJSONKeyFunction (Exists f) Source #
class ToJSONForall f where Source #
Minimal complete definition
Methods
toJSONForall :: f a -> Value Source #
class FromJSONForall f where Source #
Minimal complete definition
class EnumForall f where Source #
Minimal complete definition
class BoundedForall f where Source #
Minimal complete definition
class PathPieceForall f where Source #
Minimal complete definition
Methods
fromPathPieceForall :: Text -> Maybe (Exists f) Source #
toPathPieceForall :: f a -> Text Source #
class MonoidForall f where Source #
Minimal complete definition
Instances
| MonoidForall k (Proxy k) Source # | |