category-traced-0.1.0.0: Traced monoidal categories
Control.Category.Traced
Synopsis
class (Symmetric k p, Monoidal k p) => Traced k p where Source
Laws:
trace f . g = trace (f . first g)
trace
first
g . trace f = trace (first g . f)
trace (second g . f) = trace (f . second g)
second
TODO: figure out how to write remaining laws in Haskell syntax
Methods
trace :: (p a c `k` p b c) -> a `k` b Source
Instances