Functionality for counting the number of hydrogen bond donors in a molecule. Like in the CDK, a H-donor is either * a non-negatively charge oxygen bound to at least on hydrogen * a non-negatively charge nitrogen bound to at least on hydrogen
isHDonor : Cast e Elem => IGraph k (AromBond b) (Atom e Charge p r HCount t c l) -> Fin k -> BoolTrue, if the atom at the given node is a hydrogen bond donor.
Like in the CDK, a H-donor is either
* a non-negatively charge oxygen bound to at least on hydrogen
* a non-negatively charge nitrogen bound to at least on hydrogen
hDonorCount : Cast e Elem => IGraph k (AromBond b) (Atom e Charge p r HCount t c l) -> NatReturns the number of H-donors counted in the graph.
See also `isHDonor` for the rules about what counts as an H-donor.