Rock.Traces
data ValueDeps f dep a Source #
Constructors
Fields
Defined in Rock.Traces
Methods
liftShowsPrec :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> Int -> ValueDeps f dep a -> ShowS #
liftShowList :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> [ValueDeps f dep a] -> ShowS #
showsPrec :: Int -> ValueDeps f dep a -> ShowS #
show :: ValueDeps f dep a -> String #
showList :: [ValueDeps f dep a] -> ShowS #
type Traces f dep = DHashMap f (ValueDeps f dep) Source #
verifyDependencies :: (MonadIO m, GEq f, Has' Eq f dep) => (forall a'. f a' -> m a') -> (forall a'. f a' -> a' -> m (dep a')) -> ValueDeps f dep a -> m (Maybe a) Source #
record :: (GEq f, Hashable (Some f)) => f a -> a -> DHashMap f g -> Traces f g -> Traces f g Source #