Safe Haskell | None |
---|---|
Language | GHC2021 |
Synopsis
- newtype ExtensibleFields = ExtensibleFields {}
- type FieldName = String
- emptyExtensibleFields :: ExtensibleFields
- readField :: Binary a => FieldName -> ExtensibleFields -> IO (Maybe a)
- readFieldWith :: FieldName -> (ReadBinHandle -> IO a) -> ExtensibleFields -> IO (Maybe a)
- writeField :: Binary a => FieldName -> a -> ExtensibleFields -> IO ExtensibleFields
- writeFieldWith :: FieldName -> (WriteBinHandle -> IO ()) -> ExtensibleFields -> IO ExtensibleFields
- deleteField :: FieldName -> ExtensibleFields -> ExtensibleFields
Documentation
newtype ExtensibleFields Source #
Instances
NFData ExtensibleFields Source # | |
Defined in GHC.Iface.Ext.Fields rnf :: ExtensibleFields -> () Source # | |
Binary ExtensibleFields Source # | |
Defined in GHC.Iface.Ext.Fields put_ :: WriteBinHandle -> ExtensibleFields -> IO () Source # put :: WriteBinHandle -> ExtensibleFields -> IO (Bin ExtensibleFields) Source # get :: ReadBinHandle -> IO ExtensibleFields Source # |
Reading
readFieldWith :: FieldName -> (ReadBinHandle -> IO a) -> ExtensibleFields -> IO (Maybe a) Source #
Writing
writeField :: Binary a => FieldName -> a -> ExtensibleFields -> IO ExtensibleFields Source #
Writing
writeFieldWith :: FieldName -> (WriteBinHandle -> IO ()) -> ExtensibleFields -> IO ExtensibleFields Source #