chemist-preprocessor-0.1.0.0: Chemist Raw Data Preprocessor
Safe HaskellSafe-Inferred
LanguageHaskell2010

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

Instances

Instances details
FromJSON Interactant # 
Instance details

Defined in Models.Interactant

ToJSON Interactant # 
Instance details

Defined in Models.Interactant

Generic Interactant # 
Instance details

Defined in Models.Interactant

Associated Types

type Rep Interactant :: Type -> Type #

Show Interactant # 
Instance details

Defined in Models.Interactant

Eq Interactant # 
Instance details

Defined in Models.Interactant

ElemInteractant (Interactant, Identity) #

Converts a Neo4j node to a Haskell Interactant based on its label (if Node) or type (if URelationship).

Instance details

Defined in Domain.Converter.Instances

type Rep Interactant # 
Instance details

Defined in Models.Interactant

data Explain #

Primary type for Mechanism explanation

Instances

Instances details
Generic Explain # 
Instance details

Defined in Models.Interactant

Associated Types

type Rep Explain :: Type -> Type #

Methods

from :: Explain -> Rep Explain x #

to :: Rep Explain x -> Explain #

Show Explain # 
Instance details

Defined in Models.Interactant

Eq Explain # 
Instance details

Defined in Models.Interactant

Methods

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

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

type Rep Explain # 
Instance details

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)))