Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
This module defines the Mechanism
, FOLLOW
, Stage
,
and INCLUDE
data types for representing chemical mechanisms
and their stages.
The Mechanism
type encapsulates the essential properties
of a mechanism, including its ID, name, type, and activation
energy. The FOLLOW
type allows for descriptive annotations
related to the mechanism. The Stage
type models the stages
within a mechanism, including order, name, description, and
associated products. The INCLUDE
type is defined as a
placeholder for potential future extensions, enabling further
development of the model without breaking existing
functionality.
Documentation
type MechanismID = Int #
Instances
Instances
FromJSON FOLLOW # | |
Defined in Models.Mechanism | |
ToJSON FOLLOW # | |
Generic FOLLOW # | |
Show FOLLOW # | |
Eq FOLLOW # | |
ElemInteractant (FOLLOW, Identity) # | Converts a Neo4j relationship of type FOLLOW to a Haskell |
Defined in Domain.Converter.Instances exactInteractant :: Elem -> Either ParsingError (FOLLOW, Identity) # | |
type Rep FOLLOW # | |
Defined in Models.Mechanism |
Stage | |
|
Instances
FromJSON Stage # | |
Defined in Models.Mechanism | |
ToJSON Stage # | |
Generic Stage # | |
Show Stage # | |
Eq Stage # | |
ElemInteractant (Stage, Identity) # | Converts a Neo4j node with label Stage to a Haskell |
Defined in Domain.Converter.Instances exactInteractant :: Elem -> Either ParsingError (Stage, Identity) # | |
type Rep Stage # | |
Defined in Models.Mechanism type Rep Stage = D1 ('MetaData "Stage" "Models.Mechanism" "chemist-preprocessor-0.1.0.0-inplace" 'False) (C1 ('MetaCons "Stage" 'PrefixI 'True) ((S1 ('MetaSel ('Just "stageOrder") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 StageID) :*: S1 ('MetaSel ('Just "stageName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String)) :*: (S1 ('MetaSel ('Just "stageDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String) :*: S1 ('MetaSel ('Just "stageProducts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [String])))) |
Instances
FromJSON INCLUDE # | |
Defined in Models.Mechanism | |
ToJSON INCLUDE # | |
Generic INCLUDE # | |
Show INCLUDE # | |
Eq INCLUDE # | |
ElemInteractant (INCLUDE, Identity, Identity) # | Converts a Neo4j relationship of type INCLUDE to a Haskell |
Defined in Domain.Converter.Instances exactInteractant :: Elem -> Either ParsingError (INCLUDE, Identity, Identity) # | |
type Rep INCLUDE # | |