hydra-0.8.0: Type-aware transformations for data and programs
Safe HaskellSafe-Inferred
LanguageHaskell2010

Hydra.Graph

Description

The extension to graphs of Hydra's core type system (hydra/core)

Synopsis

Documentation

data Comparison Source #

An equality judgement: less than, equal to, or greater than

data Graph Source #

A graph, or set of name/term bindings together with parameters (annotations, primitives) and a schema graph

Constructors

Graph 

Fields

data Element Source #

A graph element, having a name, data term (value), and schema term (type)

Constructors

Element 

Instances

Instances details
Read Element Source # 
Instance details

Defined in Hydra.Graph

Show Element Source # 
Instance details

Defined in Hydra.Graph

Eq Element Source # 
Instance details

Defined in Hydra.Graph

Methods

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

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

Ord Element Source # 
Instance details

Defined in Hydra.Graph

data Primitive Source #

A built-in function

Constructors

Primitive 

Fields

data TermCoder x Source #

A type together with a coder for mapping terms into arguments for primitive functions, and mapping computed results into terms

Instances

Instances details
IsString (TermCoder Term) Source # 
Instance details

Defined in Hydra.Dsl.Prims

data TypeClass Source #

Any of a small number of built-in type classes

Instances

Instances details
Read TypeClass Source # 
Instance details

Defined in Hydra.Graph

Show TypeClass Source # 
Instance details

Defined in Hydra.Graph

Eq TypeClass Source # 
Instance details

Defined in Hydra.Graph

Ord TypeClass Source # 
Instance details

Defined in Hydra.Graph