module Language.Haskell.Exts.Simple.Fixity (
module Language.Haskell.Exts.Simple.Fixity,
module Language.Haskell.Exts.Fixity
) where
import qualified Language.Haskell.Exts.Fixity as H
import Language.Haskell.Exts.Fixity (
Fixity(..),
infix_, infixl_, infixr_,
preludeFixities, baseFixities,
AppFixity,
)
import Language.Haskell.Exts.Simple.Syntax
import Language.Haskell.Exts.SrcLoc
import Control.Monad
import Control.Monad.Fail
applyFixities :: (AppFixity ast, Functor ast, MonadFail m) => [Fixity] -> ast () -> m (ast ())
applyFixities fixs = liftM (fmap (const ())) . H.applyFixities fixs . fmap (const noSrcSpan)