| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
RON.Schema
Synopsis
- data CaseTransform = TitleCase
- data Declaration
- data Field = Field {}
- data FieldAnnotations = FieldAnnotations
- data Opaque = Opaque {}
- newtype OpaqueAnnotations = OpaqueAnnotations {}
- data RonType
- type Schema = [Declaration]
- data StructAnnotations = StructAnnotations {}
- data StructLww = StructLww {}
- data TAtom
- newtype TComposite = TOption RonType
- data TObject
- atomInteger :: RonType
- atomString :: RonType
- boole :: RonType
- char :: RonType
- def :: Default a => a
- field :: RonType -> Field
- opaqueAtoms :: Text -> OpaqueAnnotations -> RonType
- opaqueObject :: Text -> OpaqueAnnotations -> RonType
- option :: RonType -> RonType
- orSet :: RonType -> RonType
- rgaString :: RonType
- structLww :: StructLww -> RonType
- versionVector :: RonType
Documentation
data CaseTransform Source #
Constructors
| TitleCase |
Instances
| Show CaseTransform Source # | |
Defined in RON.Schema Methods showsPrec :: Int -> CaseTransform -> ShowS # show :: CaseTransform -> String # showList :: [CaseTransform] -> ShowS # | |
data Declaration Source #
Constructors
| DOpaque Opaque | |
| DStructLww StructLww |
Constructors
| Field | |
Fields | |
data FieldAnnotations Source #
Constructors
| FieldAnnotations |
Instances
| Show FieldAnnotations Source # | |
Defined in RON.Schema Methods showsPrec :: Int -> FieldAnnotations -> ShowS # show :: FieldAnnotations -> String # showList :: [FieldAnnotations] -> ShowS # | |
| Default FieldAnnotations Source # | |
Defined in RON.Schema Methods def :: FieldAnnotations # | |
Constructors
| Opaque | |
Fields | |
newtype OpaqueAnnotations Source #
Constructors
| OpaqueAnnotations | |
Fields | |
Instances
| Show OpaqueAnnotations Source # | |
Defined in RON.Schema Methods showsPrec :: Int -> OpaqueAnnotations -> ShowS # show :: OpaqueAnnotations -> String # showList :: [OpaqueAnnotations] -> ShowS # | |
| Default OpaqueAnnotations Source # | |
Defined in RON.Schema Methods | |
Constructors
| TAtom TAtom | |
| TComposite TComposite | |
| TObject TObject | |
| TOpaque Opaque |
type Schema = [Declaration] Source #
data StructAnnotations Source #
Constructors
| StructAnnotations | |
Instances
| Show StructAnnotations Source # | |
Defined in RON.Schema Methods showsPrec :: Int -> StructAnnotations -> ShowS # show :: StructAnnotations -> String # showList :: [StructAnnotations] -> ShowS # | |
| Default StructAnnotations Source # | |
Defined in RON.Schema Methods | |
Constructors
| StructLww | |
Fields | |
newtype TComposite Source #
Instances
| Show TComposite Source # | |
Defined in RON.Schema Methods showsPrec :: Int -> TComposite -> ShowS # show :: TComposite -> String # showList :: [TComposite] -> ShowS # | |
Constructors
| TORSet RonType | |
| TRga RonType | |
| TStructLww StructLww | |
| TVersionVector |
atomString :: RonType Source #
opaqueAtoms :: Text -> OpaqueAnnotations -> RonType Source #
opaqueObject :: Text -> OpaqueAnnotations -> RonType Source #