Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data Record a = Record {
- recordType :: String
- recordConstr :: String
- recordTVars :: [TyVarBndr]
- recordFields :: [Field a]
- data Field a = Field {}
- matchRecordFields :: forall a b. [(String, b)] -> Record a -> (Record (a, Maybe b), [String])
- dropMissingRecordFields :: Record (Maybe a) -> Record a
Record description
Record description
Record | |
|
Instances
Functor Record Source # | |
Foldable Record Source # | |
Defined in Data.Record.Internal.Record fold :: Monoid m => Record m -> m # foldMap :: Monoid m => (a -> m) -> Record a -> m # foldMap' :: Monoid m => (a -> m) -> Record a -> m # foldr :: (a -> b -> b) -> b -> Record a -> b # foldr' :: (a -> b -> b) -> b -> Record a -> b # foldl :: (b -> a -> b) -> b -> Record a -> b # foldl' :: (b -> a -> b) -> b -> Record a -> b # foldr1 :: (a -> a -> a) -> Record a -> a # foldl1 :: (a -> a -> a) -> Record a -> a # elem :: Eq a => a -> Record a -> Bool # maximum :: Ord a => Record a -> a # minimum :: Ord a => Record a -> a # | |
Traversable Record Source # | |
Show a => Show (Record a) Source # | |
Record field description
Field | |
|
Instances
Functor Field Source # | |
Foldable Field Source # | |
Defined in Data.Record.Internal.Record fold :: Monoid m => Field m -> m # foldMap :: Monoid m => (a -> m) -> Field a -> m # foldMap' :: Monoid m => (a -> m) -> Field a -> m # foldr :: (a -> b -> b) -> b -> Field a -> b # foldr' :: (a -> b -> b) -> b -> Field a -> b # foldl :: (b -> a -> b) -> b -> Field a -> b # foldl' :: (b -> a -> b) -> b -> Field a -> b # foldr1 :: (a -> a -> a) -> Field a -> a # foldl1 :: (a -> a -> a) -> Field a -> a # elem :: Eq a => a -> Field a -> Bool # maximum :: Ord a => Field a -> a # minimum :: Ord a => Field a -> a # | |
Traversable Field Source # | |
Show a => Show (Field a) Source # | |