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