mirror of
https://github.com/github/semantic.git
synced 2024-12-20 21:31:48 +03:00
Use ScopedTypeVariables to allow type applications against erroring.
This commit is contained in:
parent
f83b002e78
commit
1e173c4f2c
@ -1,4 +1,4 @@
|
||||
{-# LANGUAGE TypeOperators #-}
|
||||
{-# LANGUAGE ScopedTypeVariables, TypeOperators #-}
|
||||
module Analysis.Abstract.Erroring
|
||||
( erroring
|
||||
) where
|
||||
@ -6,5 +6,5 @@ module Analysis.Abstract.Erroring
|
||||
import Control.Effect
|
||||
import Control.Monad.Effect.Resumable
|
||||
|
||||
erroring :: Effectful m => m (Resumable exc ': effects) result -> m effects (Either (SomeExc exc) result)
|
||||
erroring :: forall exc m effects result . Effectful m => m (Resumable exc ': effects) result -> m effects (Either (SomeExc exc) result)
|
||||
erroring = raiseHandler runError
|
||||
|
Loading…
Reference in New Issue
Block a user