Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- module Data.Vinyl.Core
- data ARec (f :: k -> *) (ts :: [k])
- toARec :: forall f ts. NatToInt (RLength ts) => Rec f ts -> ARec f ts
- fromARec :: forall f ts. (RecApplicative ts, AllConstrained (IndexableField ts) ts) => ARec f ts -> Rec f ts
- module Data.Vinyl.Derived
- module Data.Vinyl.Lens
Documentation
module Data.Vinyl.Core
data ARec (f :: k -> *) (ts :: [k]) Source #
An array-backed extensible record with constant-time field access.
Instances
(i ~ RIndex t ts, NatToInt (RIndex t ts)) => RecElem (ARec :: (k -> *) -> [k] -> *) (t :: k) (ts :: [k]) i Source # | |
(is ~ RImage rs ss, IndexWitnesses is, NatToInt (RLength rs)) => RecSubset (ARec :: (k -> *) -> [k] -> *) (rs :: [k]) (ss :: [k]) is Source # | |
(AllConstrained (IndexableField rs) rs, RecApplicative rs, Eq (Rec f rs)) => Eq (ARec f rs) Source # | |
(AllConstrained (IndexableField rs) rs, RecApplicative rs, Ord (Rec f rs)) => Ord (ARec f rs) Source # | |
Defined in Data.Vinyl.ARec | |
(AllConstrained (IndexableField rs) rs, RecApplicative rs, Show (Rec f rs)) => Show (ARec f rs) Source # | |
fromARec :: forall f ts. (RecApplicative ts, AllConstrained (IndexableField ts) ts) => ARec f ts -> Rec f ts Source #
module Data.Vinyl.Derived
module Data.Vinyl.Lens