mirror of
https://github.com/github/semantic.git
synced 2024-12-22 06:11:49 +03:00
Don't parameterize MonadThrow by v
This commit is contained in:
parent
3b40f0af96
commit
6ca8eca85f
@ -149,5 +149,5 @@ class Monad m => MonadControl term m where
|
|||||||
-- | “Jump” to a previously-allocated 'Label' (retrieving the @term@ at which it points, which can then be evaluated in e.g. a 'MonadAnalysis' instance).
|
-- | “Jump” to a previously-allocated 'Label' (retrieving the @term@ at which it points, which can then be evaluated in e.g. a 'MonadAnalysis' instance).
|
||||||
goto :: Label -> m term
|
goto :: Label -> m term
|
||||||
|
|
||||||
class Monad m => MonadThrow exc v m | m -> exc where
|
class Monad m => MonadThrow exc m where
|
||||||
throwException :: exc -> m v
|
throwException :: exc v -> m v
|
||||||
|
Loading…
Reference in New Issue
Block a user