Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- toReaction :: ReactionNode -> IO Reaction
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.