Skip to content

Commit b20b71e

Browse files
committed
Remove outdated UserInterrupt case
1 parent e4e0d98 commit b20b71e

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

kore/src/Kore/Repl.hs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@ module Kore.Repl (
1212
) where
1313

1414
import Control.Concurrent.MVar
15-
import Control.Exception
16-
( AsyncException (UserInterrupt)
17-
)
1815
import qualified Control.Lens as Lens
1916
import Control.Monad
2017
( forever
@@ -263,18 +260,10 @@ runRepl
263260
if Graph.outdeg (Strategy.graph graph) node == 0
264261
then
265262
proveClaimStep claims axioms graph node
266-
& Exception.handle (userInterruptHandler graph)
267263
& Exception.handle (withConfigurationHandler graph)
268264
& Exception.handle (someExceptionHandler graph)
269265
else pure graph
270266

271-
userInterruptHandler :: a -> AsyncException -> m a
272-
userInterruptHandler a UserInterrupt = do
273-
liftIO $ hPutStrLn stderr "Step evaluation interrupted."
274-
pure a
275-
userInterruptHandler _ asyncException =
276-
Exception.throwM asyncException
277-
278267
withConfigurationHandler :: a -> Claim.WithConfiguration -> m a
279268
withConfigurationHandler
280269
_

0 commit comments

Comments
 (0)