Safe Haskell | None |
---|---|
Language | Haskell2010 |
Agda.Syntax.Scope.Flat
Description
Flattened scopes.
Synopsis
- data FlatScope
- flattenScope :: [[Name]] -> ScopeInfo -> FlatScope
- getDefinedNames :: KindsOfNames -> FlatScope -> [List1 NewNotation]
- localNames :: ExprKind -> Maybe QName -> FlatScope -> ScopeM ([QName], [NewNotation])
Documentation
Flattened scopes.
flattenScope :: [[Name]] -> ScopeInfo -> FlatScope Source #
Compute a flattened scope. Only include unqualified names or names qualified by modules in the first argument.
getDefinedNames :: KindsOfNames -> FlatScope -> [List1 NewNotation] Source #