Safe Haskell | None |
---|
Documentation
class Monad m => MonadAtom m whereSource
toAtom :: Serialize a => a -> m IntSource
Monadically convert the argument into an atom (represented as an Int)
maybeToAtom :: Serialize a => a -> m (Maybe Int)Source
Monadically convert the argument into an atom, but only if the corresponding atom has already been created
fromAtom :: Serialize a => Int -> m aSource
Monadically convert an atom represented as an Int to its corresponding object