mirror of
https://github.com/github/semantic.git
synced 2024-12-01 00:33:59 +03:00
add missing unwrap
This commit is contained in:
parent
4bd4a93a0c
commit
b5b3391786
@ -83,7 +83,7 @@ spec = parallel $ do
|
||||
length listOfLeaves `shouldBe` length listOfDiffLeaves
|
||||
|
||||
isIndexedOrFixed :: Patch (Term a annotation) -> Bool
|
||||
isIndexedOrFixed = any isIndexedOrFixed'
|
||||
isIndexedOrFixed = any (isIndexedOrFixed' . unwrap)
|
||||
|
||||
isIndexedOrFixed' :: Syntax a f -> Bool
|
||||
isIndexedOrFixed' syntax = case syntax of
|
||||
|
Loading…
Reference in New Issue
Block a user