mirror of
https://github.com/github/semantic.git
synced 2024-12-21 05:41:54 +03:00
🔥 withSomeTermPair.
This commit is contained in:
parent
68ea7e147d
commit
5fe4b1da74
@ -8,7 +8,6 @@ module Semantic.Api.Diffs
|
||||
, DiffEffects
|
||||
|
||||
, SomeTermPair(..)
|
||||
, withSomeTermPair
|
||||
) where
|
||||
|
||||
import Analysis.ConstructorName (ConstructorName)
|
||||
@ -178,6 +177,3 @@ doParse blobPair decorate = case languageForBlobPair blobPair of
|
||||
|
||||
data SomeTermPair typeclasses ann where
|
||||
SomeTermPair :: typeclasses syntax => Join These (Term syntax ann) -> SomeTermPair typeclasses ann
|
||||
|
||||
withSomeTermPair :: (forall syntax . typeclasses syntax => Join These (Term syntax ann) -> a) -> SomeTermPair typeclasses ann -> a
|
||||
withSomeTermPair with (SomeTermPair terms) = with terms
|
||||
|
Loading…
Reference in New Issue
Block a user