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

Domain.Converter.Units.ToReaction

Synopsis

Documentation

toReaction :: ReactionNode -> IO Reaction #

Converts a raw ReactionNode into a Reaction structure.

Parameters:

  • ReactionNode - the raw reaction node retrieved from the database.

Returns:

  • Reaction representing the processed reaction node, with only the reaction data.