mirror of
https://github.com/github/semantic.git
synced 2025-01-03 13:02:37 +03:00
📝 FreeVariables1.
This commit is contained in:
parent
c98b61e372
commit
0d11c18036
@ -18,6 +18,7 @@ class FreeVariables term where
|
|||||||
freeVariables :: term -> Set Name
|
freeVariables :: term -> Set Name
|
||||||
|
|
||||||
|
|
||||||
|
-- | A lifting of 'FreeVariables' to type constructors of kind @* -> *@.
|
||||||
class FreeVariables1 syntax where
|
class FreeVariables1 syntax where
|
||||||
liftFreeVariables :: (a -> Set Name) -> syntax a -> Set Name
|
liftFreeVariables :: (a -> Set Name) -> syntax a -> Set Name
|
||||||
default liftFreeVariables :: (Foldable syntax) => (a -> Set Name) -> syntax a -> Set Name
|
default liftFreeVariables :: (Foldable syntax) => (a -> Set Name) -> syntax a -> Set Name
|
||||||
|
Loading…
Reference in New Issue
Block a user