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