mirror of
https://github.com/github/semantic.git
synced 2024-11-24 08:54:07 +03:00
Correct the docs for liftDeclaredName.
This commit is contained in:
parent
153102a3e5
commit
27b3f4adac
@ -11,7 +11,7 @@ class Declarations syntax where
|
||||
declaredName = const Nothing
|
||||
|
||||
class Declarations1 syntax where
|
||||
-- | Lift a function mapping each element to its set of free variables through a containing structure, collecting the results into a single set.
|
||||
-- | Lift a function mapping each element to its declared name (if any) through a containing structure. This can be used to define the declared name for a composite piece of syntax in terms of the declared name of one of its components.
|
||||
liftDeclaredName :: (a -> Maybe Name) -> syntax a -> Maybe Name
|
||||
liftDeclaredName _ _ = Nothing
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user