Hoogle Search
Within LTS Haskell 24.41 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
module Language.Haskell.Exts.
Fixity Fixity information to give the parser so that infix operators can be parsed properly.
class
AppFixity (ast :: Type -> Type)haskell-src-exts Language.Haskell.Exts.Fixity All AST elements that may include expressions which in turn may need fixity tweaking will be instances of this class.
-
haskell-src-exts Language.Haskell.Exts.Fixity Operator fixities are represented by their associativity (left, right or none) and their precedence (0-9).
Fixity :: Assoc () -> Int -> QName () -> Fixityhaskell-src-exts Language.Haskell.Exts.Fixity No documentation available.
applyFixities :: (AppFixity ast, MonadFail m) => [Fixity] -> ast SrcSpanInfo -> m (ast SrcSpanInfo)haskell-src-exts Language.Haskell.Exts.Fixity Tweak any expressions in the element to account for the fixities given. Assumes that all operator expressions are fully left associative chains to begin with.
-
haskell-src-exts Language.Haskell.Exts.Fixity All fixities defined in the base package. Note that the +++ operator appears in both Control.Arrows and Text.ParserCombinators.ReadP. The listed precedence for +++ in this list is that of Control.Arrows.
infix_ :: Int -> [String] -> [Fixity]haskell-src-exts Language.Haskell.Exts.Fixity No documentation available.
infixl_ :: Int -> [String] -> [Fixity]haskell-src-exts Language.Haskell.Exts.Fixity No documentation available.
infixr_ :: Int -> [String] -> [Fixity]haskell-src-exts Language.Haskell.Exts.Fixity No documentation available.
-
haskell-src-exts Language.Haskell.Exts.Fixity All fixities defined in the Prelude.