We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2aedbe7 commit d80fc2cCopy full SHA for d80fc2c
plugins/hls-tactics-plugin/src/Wingman/Tactics.hs
@@ -48,6 +48,8 @@ import Wingman.Types
48
-- | Use something in the hypothesis to fill the hole.
49
assumption :: TacticsM ()
50
assumption = attemptOn (S.toList . allNames) assume
51
+ where
52
+ attemptOn getNames tac = matching (asum . fmap (\s -> tac s) . getNames)
53
54
55
------------------------------------------------------------------------------
0 commit comments