isotope-0.1.0.0: Isotopic masses and relative abundances.

CopyrightMichael Thomas
LicenseGPL-3
MaintainerMichael Thomas <Michaelt293@gmail.com>
StabilityExperimental
Safe HaskellNone
LanguageHaskell2010

Isotope.Parsers

Contents

Description

This module provides parsers for element symbols as well molecular, empirical and condensed formulae. In addition, QuasiQuoters are provided.

Synopsis

Parsers

elementSymbol :: Parser ElementSymbol Source #

Parses an element symbol string.

subFormula :: Parser MolecularFormula Source #

Parses an sub-formula (i.e., "C2").

molecularFormula :: Parser MolecularFormula Source #

Parses a molecular formula (i.e. "C6H6").

condensedFormula :: Parser CondensedFormula Source #

Parses a condensed formula, i.e., "N(CH3)3".

Orphan instances