mirror of
https://github.com/github/semantic.git
synced 2024-12-22 14:21:31 +03:00
📝 trace.
This commit is contained in:
parent
f15f468706
commit
6d2f116796
@ -8,6 +8,7 @@ import Data.Abstract.Value
|
|||||||
|
|
||||||
-- | 'Monad's offering a writable trace of configurations.
|
-- | 'Monad's offering a writable trace of configurations.
|
||||||
class Monad m => MonadTrace t v g m where
|
class Monad m => MonadTrace t v g m where
|
||||||
|
-- | Log the given collection of configurations.
|
||||||
trace :: g (Configuration (LocationFor v) t v) -> m ()
|
trace :: g (Configuration (LocationFor v) t v) -> m ()
|
||||||
|
|
||||||
instance (Writer (g (Configuration (LocationFor v) t v)) :< fs) => MonadTrace t v g (Eff fs) where
|
instance (Writer (g (Configuration (LocationFor v) t v)) :< fs) => MonadTrace t v g (Eff fs) where
|
||||||
|
Loading…
Reference in New Issue
Block a user