| Safe Haskell | Safe | 
|---|---|
| Language | Haskell2010 | 
Data.TypedEncoding.Common.Class.Common
Contents
Description
This module defines SymbolList and Displ type classes
 using by typed-encoding used for display / testing as well as 
 for construction of untyped versions of Enc (CheckedEnc and UncheckedEnc)
This module is re-exported in Data.TypedEncoding and it is best not to import it directly.
Synopsis
- class SymbolList (xs :: [Symbol]) where
- symbolVals :: [String]
 
 - symbolVals_ :: forall xs. SymbolList xs => Proxy xs -> [String]
 - class Displ x where
 
Documentation
>>>:set -XScopedTypeVariables -XTypeApplications -XAllowAmbiguousTypes -XDataKinds
Symbol List
class SymbolList (xs :: [Symbol]) where Source #
Since: 0.2.0.0
Methods
symbolVals :: [String] Source #
Instances
| SymbolList ([] :: [Symbol]) Source # | |
Defined in Data.TypedEncoding.Common.Class.Common Methods symbolVals :: [String] Source #  | |
| (SymbolList xs, KnownSymbol x) => SymbolList (x ': xs) Source # | 
  | 
Defined in Data.TypedEncoding.Common.Class.Common Methods symbolVals :: [String] Source #  | |
symbolVals_ :: forall xs. SymbolList xs => Proxy xs -> [String] Source #
Display
Human friendly version of Show
Since: 0.2.0.0
Instances
| Displ String Source # | |
| Displ ByteString Source # | |
Defined in Data.TypedEncoding.Common.Class.Common Methods displ :: ByteString -> String Source #  | |
| Displ ByteString Source # | |
Defined in Data.TypedEncoding.Common.Class.Common Methods displ :: ByteString -> String Source #  | |
| Displ Text Source # | |
| Displ Text Source # | |
| Displ [EncAnn] Source # | |
| Displ a => Displ (SimplifiedEmailF a) Source # | Provides easy to read encoding information  | 
Defined in Examples.TypedEncoding.ToEncString Methods displ :: SimplifiedEmailF a -> String Source #  | |
| Displ a => Displ (IpV4F a) Source # | Provides easy to read encoding information  | 
| SymbolList xs => Displ (Proxy xs) Source # | 
  | 
| (Show c, Displ str) => Displ (UncheckedEnc c str) Source # | 
  | 
Defined in Data.TypedEncoding.Common.Types.UncheckedEnc Methods displ :: UncheckedEnc c str -> String Source #  | |
| (Show c, Displ str) => Displ (CheckedEnc c str) Source # | 
  | 
Defined in Data.TypedEncoding.Common.Types.CheckedEnc Methods displ :: CheckedEnc c str -> String Source #  | |
| (Show c, Displ str) => Displ (SomeEnc c str) Source # | 
  | 
| (SymbolList xs, Show c, Displ str) => Displ (Enc xs c str) Source # | 
  |