managed-functions-1.1.0.0: Remote Management Framework
Safe HaskellSafe-Inferred
LanguageHaskell2010

Data.Managed.Encoding

Documentation

class Encoding a Source #

Associated Types

type In a :: Type Source #

type Out a :: Type Source #

Instances

Instances details
Encoding SR Source # 
Instance details

Defined in Data.Managed.Encodings.ShowRead

Associated Types

type In SR Source #

type Out SR Source #

class Encode t rep where Source #

Methods

encode :: t -> Out rep Source #

Instances

Instances details
Show a => Encode a SR Source # 
Instance details

Defined in Data.Managed.Encodings.ShowRead

Methods

encode :: a -> Out SR Source #

class Decode t rep where Source #

Methods

decode :: In rep -> Maybe t Source #

Instances

Instances details
Read a => Decode a SR Source # 
Instance details

Defined in Data.Managed.Encodings.ShowRead

Methods

decode :: In SR -> Maybe a Source #

withEncoding :: forall e i o. (Encode o e, Decode i e) => (i -> o) -> In e -> Maybe (Out e) Source #