ivory-0.1.0.0: Safe embedded C programming.

Safe HaskellNone

Ivory.Language.Struct

Synopsis

Documentation

newtype StructDef sym Source

Constructors

StructDef 

Fields

getStructDef :: Struct
 

class (IvoryArea (Struct sym), SingI sym) => IvoryStruct sym whereSource

Associated Types

type StructName a :: SymbolSource

newtype Label sym field Source

Struct field labels.

Constructors

Label 

Fields

getLabel :: String
 

Instances

Eq (Label sym field) 

(~>) :: 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 fieldSource

Label indexing in a structure.