Safe Haskell | None |
---|---|
Language | Haskell98 |
Iterable instances and convenience functions.
Documentation
class Iterable a b where
Class for iterating all nested components b
of type a
.
itmapM :: Monad m => (b -> m b) -> a -> m a
itmap :: (b -> b) -> a -> a
itfoldM :: Monad m => (c -> b -> m c) -> c -> a -> m c
itfoldr :: (b -> c -> c) -> c -> a -> c
itfoldl :: (c -> b -> c) -> c -> a -> c
itfoldl' :: (c -> b -> c) -> c -> a -> c
numResidues :: Iterable a Residue => a -> Int Source
Number of all residues within the structure.