gotyno-hs-1.1.0: A type definition compiler supporting multiple output languages.
Safe HaskellNone
LanguageHaskell2010

Types

Synopsis

Documentation

data Module Source #

Instances

Instances details
Eq Module Source # 
Instance details

Defined in Types

Methods

(==) :: Module -> Module -> Bool #

(/=) :: Module -> Module -> Bool #

Show Module Source # 
Instance details

Defined in Types

newtype ModuleName Source #

Constructors

ModuleName Text 

Instances

Instances details
Eq ModuleName Source # 
Instance details

Defined in Types

Ord ModuleName Source # 
Instance details

Defined in Types

Show ModuleName Source # 
Instance details

Defined in Types

newtype Import Source #

Constructors

Import Module 

Instances

Instances details
Eq Import Source # 
Instance details

Defined in Types

Methods

(==) :: Import -> Import -> Bool #

(/=) :: Import -> Import -> Bool #

Show Import Source # 
Instance details

Defined in Types

newtype DefinitionName Source #

Constructors

DefinitionName 

Instances

Instances details
Eq DefinitionName Source # 
Instance details

Defined in Types

Show DefinitionName Source # 
Instance details

Defined in Types

data TypeDefinition Source #

Instances

Instances details
Eq TypeDefinition Source # 
Instance details

Defined in Types

Show TypeDefinition Source # 
Instance details

Defined in Types

newtype TypeTag Source #

Constructors

TypeTag Text 

Instances

Instances details
Eq TypeTag Source # 
Instance details

Defined in Types

Methods

(==) :: TypeTag -> TypeTag -> Bool #

(/=) :: TypeTag -> TypeTag -> Bool #

Show TypeTag Source # 
Instance details

Defined in Types

newtype TypeVariable Source #

Constructors

TypeVariable Text 

Instances

Instances details
Eq TypeVariable Source # 
Instance details

Defined in Types

Show TypeVariable Source # 
Instance details

Defined in Types

newtype ConstructorName Source #

Constructors

ConstructorName Text 

Instances

Instances details
Eq ConstructorName Source # 
Instance details

Defined in Types

Show ConstructorName Source # 
Instance details

Defined in Types

newtype FieldName Source #

Constructors

FieldName Text 

Instances

Instances details
Eq FieldName Source # 
Instance details

Defined in Types

Show FieldName Source # 
Instance details

Defined in Types

data TagType Source #

Defines what type tag field a union should have as well as the type tag location.

Constructors

EmbeddedTypeTag FieldName

The union has the type tag with the rest of the payload.

StandardTypeTag FieldName

The union has the type tag outside of the payload, wrapping it.

Instances

Instances details
Eq TagType Source # 
Instance details

Defined in Types

Methods

(==) :: TagType -> TagType -> Bool #

(/=) :: TagType -> TagType -> Bool #

Show TagType Source # 
Instance details

Defined in Types

data StructType Source #

Instances

Instances details
Eq StructType Source # 
Instance details

Defined in Types

Show StructType Source # 
Instance details

Defined in Types

data UnionType Source #

Instances

Instances details
Eq UnionType Source # 
Instance details

Defined in Types

Show UnionType Source # 
Instance details

Defined in Types

data Constructor Source #

Instances

Instances details
Eq Constructor Source # 
Instance details

Defined in Types

Show Constructor Source # 
Instance details

Defined in Types

data StructField Source #

Instances

Instances details
Eq StructField Source # 
Instance details

Defined in Types

Show StructField Source # 
Instance details

Defined in Types

newtype AppliedTypes Source #

Constructors

AppliedTypes [FieldType] 

Instances

Instances details
Eq AppliedTypes Source # 
Instance details

Defined in Types

Show AppliedTypes Source # 
Instance details

Defined in Types

data BasicTypeValue Source #

Constructors

U8 
U16 
U32 
U64 
U128 
I8 
I16 
I32 
I64 
I128 
F32 
F64 
Boolean 
BasicString 

Instances

Instances details
Eq BasicTypeValue Source # 
Instance details

Defined in Types

Show BasicTypeValue Source # 
Instance details

Defined in Types