ModuleAgda-2.7.0.1Haskell2010
Agda.Syntax.Concrete.Fixity
Collecting fixity declarations (and polarity pragmas) for concrete declarations.
- 3 types
- 1 class
- 1 value
- PackageAgda-2.7.0.1
- Exports5
- LanguageHaskell2010
- LicenceMIT
- SourceFixity.hs
Methods
throwMultipleFixityDecls :: [(Name, [Fixity'])] -> m athrowMultiplePolarityPragmas :: [Name] -> m awarnUnknownNamesInFixityDecl :: HasCallStack => [Name] -> m ()warnUnknownNamesInPolarityPragmas :: HasCallStack => [Name] -> m ()warnUnknownFixityInMixfixDecl :: HasCallStack => [Name] -> m ()warnPolarityPragmasButNotPostulates :: HasCallStack => [Name] -> m ()
Instances1MonadFixityError
MonadFixityError ScopeMDefined in Agda-2.7.0.1 · Agda.Syntax.Scope.Monad · orphan
Get the fixities and polarity pragmas from the current block. Doesn't go inside modules and where blocks. The reason for this is that these declarations have to appear at the same level (or possibly outside an abstract or mutual block) as their target declaration.