| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Models.Interactant
Description
This module defines the Interactant and Explain data types
for representing various types of chemical entities and mechanisms
in Haskell. The Interactant type encapsulates different forms of
interactions, such as accelerations, catalysts, molecules, products,
reagents, and reactions. The Explain type captures mechanisms
and stages in a chemical process, providing a structured way to
represent and serialize these entities in JSON format.
Synopsis
Documentation
data Interactant #
Primary type for Reaction explanation
Constructors
| IAccelerate ACCELERATE | |
| ICatalyst Catalyst | |
| IMolecule Molecule | |
| IProductFrom PRODUCT_FROM | |
| IReagentIn REAGENT_IN | |
| IReaction Reaction |
Instances
Primary type for Mechanism explanation
Constructors
| EMechanism Mechanism | |
| EStage Stage |
Instances
| Generic Explain # | |
| Show Explain # | |
| Eq Explain # | |
| type Rep Explain # | |
Defined in Models.Interactant type Rep Explain = D1 ('MetaData "Explain" "Models.Interactant" "chemist-preprocessor-0.1.0.0-inplace" 'False) (C1 ('MetaCons "EMechanism" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Mechanism)) :+: C1 ('MetaCons "EStage" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Stage))) | |