Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- newtype StructDef (sym :: Symbol) = StructDef {}
- type family StructName (a :: Area *) :: Symbol
- class (IvoryArea (Struct sym), ASymbol sym) => IvoryStruct (sym :: Symbol) where
- newtype Label (sym :: Symbol) (field :: Area *) = Label {}
- (~>) :: forall ref s sym field. (IvoryStruct sym, IvoryRef ref, IvoryExpr (ref s (Struct sym)), IvoryExpr (ref s field)) => ref s (Struct sym) -> Label sym field -> ref s field
Documentation
type family StructName (a :: Area *) :: Symbol Source #
Instances
type StructName (Struct sym :: Area Type) Source # | |
Defined in Ivory.Language.Struct |
(~>) :: forall ref s sym field. (IvoryStruct sym, IvoryRef ref, IvoryExpr (ref s (Struct sym)), IvoryExpr (ref s field)) => ref s (Struct sym) -> Label sym field -> ref s field Source #
Label indexing in a structure.