-- DO NOT EDIT
-- Edit and run scripts/update-fixities to update the list of builtin fixities
module Floskell.Fixities ( builtinFixities, packageFixities ) where

import           Language.Haskell.Exts.Fixity
                 ( Fixity, baseFixities, infix_, infixl_, infixr_ )

builtinFixities :: [Fixity]
builtinFixities :: [Fixity]
builtinFixities = forall (t :: * -> *) a b. Foldable t => (a -> [b]) -> t a -> [b]
concatMap forall a b. (a, b) -> b
snd [(String, [Fixity])]
packageFixities

packageFixities :: [(String, [Fixity])]
packageFixities :: [(String, [Fixity])]
packageFixities = [ (String
"base", [Fixity]
baseFixities)
                  , (String
"aeson", [Fixity]
aesonFixities)
                  , (String
"conduit", [Fixity]
conduitFixities)
                  , (String
"lens", [Fixity]
lensFixities)
                  , (String
"pipes", [Fixity]
pipesFixities)
                  , (String
"servant", [Fixity]
servantFixities)
                  ]

aesonFixities :: [Fixity]
aesonFixities :: [Fixity]
aesonFixities =
    -- Data/Aeson/Types/ToJSON.hs
    Int -> [String] -> [Fixity]
infixr_ Int
8 [ String
".=" ]
    -- Data/Aeson/Encoding/Internal.hs
    forall a. [a] -> [a] -> [a]
++ Int -> [String] -> [Fixity]
infixr_ Int
6 [ String
">*<" ] forall a. [a] -> [a] -> [a]
++ Int -> [String] -> [Fixity]
infixr_ Int
6 [ String
"><" ]
    -- Data/Aeson/TH.hs
    forall a. [a] -> [a] -> [a]
++ Int -> [String] -> [Fixity]
infixr_ Int
6 [ String
"<^>" ] forall a. [a] -> [a] -> [a]
++ Int -> [String] -> [Fixity]
infixr_ Int
4 [ String
"<%>" ]

conduitFixities :: [Fixity]
conduitFixities :: [Fixity]
conduitFixities =
    -- src/Data/Conduit/Internal/Conduit.hs
    Int -> [String] -> [Fixity]
infixr_ Int
0 [ String
"$$" ] forall a. [a] -> [a] -> [a]
++ Int -> [String] -> [Fixity]
infixl_ Int
1 [ String
"$=" ] forall a. [a] -> [a] -> [a]
++ Int -> [String] -> [Fixity]
infixr_ Int
2 [ String
"=$" ]
    forall a. [a] -> [a] -> [a]
++ Int -> [String] -> [Fixity]
infixr_ Int
2 [ String
"=$=" ] forall a. [a] -> [a] -> [a]
++ Int -> [String] -> [Fixity]
infixr_ Int
0 [ String
"$$+" ] forall a. [a] -> [a] -> [a]
++ Int -> [String] -> [Fixity]
infixr_ Int
0 [ String
"$$++" ]
    forall a. [a] -> [a] -> [a]
++ Int -> [String] -> [Fixity]
infixr_ Int
0 [ String
"$$+-" ] forall a. [a] -> [a] -> [a]
++ Int -> [String] -> [Fixity]
infixl_ Int
1 [ String
"$=+" ] forall a. [a] -> [a] -> [a]
++ Int -> [String] -> [Fixity]
infixr_ Int
2 [ String
".|" ]
    forall a. [a] -> [a] -> [a]
++ Int -> [String] -> [Fixity]
infixr_ Int
0 [ String
"=$$+" ] forall a. [a] -> [a] -> [a]
++ Int -> [String] -> [Fixity]
infixr_ Int
0 [ String
"=$$++" ] forall a. [a] -> [a] -> [a]
++ Int -> [String] -> [Fixity]
infixr_ Int
0 [ String
"=$$+-" ]
    -- src/Data/Conduit/Internal/Pipe.hs
    forall a. [a] -> [a] -> [a]
++ Int -> [String] -> [Fixity]
infixr_ Int
9 [ String
"<+<" ] forall a. [a] -> [a] -> [a]
++ Int -> [String] -> [Fixity]
infixl_ Int
9 [ String
">+>" ]

lensFixities :: [Fixity]
lensFixities :: [Fixity]
lensFixities =
    -- src/System/FilePath/Lens.hs
    Int -> [String] -> [Fixity]
infixr_ Int
4 [ String
"</>~", String
"<</>~", String
"<<</>~", String
"<.>~", String
"<<.>~", String
"<<<.>~" ]
    forall a. [a] -> [a] -> [a]
++ Int -> [String] -> [Fixity]
infix_ Int
4 [ String
"</>=", String
"<</>=", String
"<<</>=", String
"<.>=", String
"<<.>=", String
"<<<.>=" ]
    -- src/Data/Bits/Lens.hs
    forall a. [a] -> [a] -> [a]
++ Int -> [String] -> [Fixity]
infixr_ Int
4 [ String
".|.~", String
".&.~", String
"<.|.~", String
"<.&.~", String
"<<.|.~", String
"<<.&.~" ]
    forall a. [a] -> [a] -> [a]
++ Int -> [String] -> [Fixity]
infix_ Int
4 [ String
".|.=", String
".&.=", String
"<.|.=", String
"<.&.=", String
"<<.|.=", String
"<<.&.=" ]
    -- src/Control/Lens/Fold.hs
    forall a. [a] -> [a] -> [a]
++ Int -> [String] -> [Fixity]
infixl_ Int
8 [ String
"^..", String
"^?", String
"^?!", String
"^@..", String
"^@?", String
"^@?!" ]
    -- src/Control/Lens/Indexed.hs
    forall a. [a] -> [a] -> [a]
++ Int -> [String] -> [Fixity]
infixr_ Int
9 [ String
"<.>", String
"<.", String
".>" ]
    -- src/Control/Lens/Setter.hs
    forall a. [a] -> [a] -> [a]
++ Int -> [String] -> [Fixity]
infixr_ Int
4
               [ String
"%@~"
               , String
".@~"
               , String
".~"
               , String
"+~"
               , String
"*~"
               , String
"-~"
               , String
"//~"
               , String
"^~"
               , String
"^^~"
               , String
"**~"
               , String
"&&~"
               , String
"<>~"
               , String
"||~"
               , String
"%~"
               , String
"<.~"
               , String
"?~"
               , String
"<?~"
               ]
    forall a. [a] -> [a] -> [a]
++ Int -> [String] -> [Fixity]
infix_ Int
4
              [ String
"%@="
              , String
".@="
              , String
".="
              , String
"+="
              , String
"*="
              , String
"-="
              , String
"//="
              , String
"^="
              , String
"^^="
              , String
"**="
              , String
"&&="
              , String
"<>="
              , String
"||="
              , String
"%="
              , String
"<.="
              , String
"?="
              , String
"<?="
              ] forall a. [a] -> [a] -> [a]
++ Int -> [String] -> [Fixity]
infixr_ Int
2 [ String
"<~" ]
    -- src/Control/Lens/Cons.hs
    forall a. [a] -> [a] -> [a]
++ Int -> [String] -> [Fixity]
infixr_ Int
5 [ String
"<|", String
"`cons`" ] forall a. [a] -> [a] -> [a]
++ Int -> [String] -> [Fixity]
infixl_ Int
5 [ String
"|>", String
"`snoc`" ]
    forall a. [a] -> [a] -> [a]
++ Int -> [String] -> [Fixity]
infixr_ Int
5 [ String
":<" ] forall a. [a] -> [a] -> [a]
++ Int -> [String] -> [Fixity]
infixl_ Int
5 [ String
":>" ]
    -- src/Control/Lens/Plated.hs
    forall a. [a] -> [a] -> [a]
++ Int -> [String] -> [Fixity]
infixr_ Int
9 [ String
"..." ]
    -- src/Control/Lens/Getter.hs
    forall a. [a] -> [a] -> [a]
++ Int -> [String] -> [Fixity]
infixl_ Int
8 [ String
"^.", String
"^@." ]
    -- src/Control/Lens/Zoom.hs
    forall a. [a] -> [a] -> [a]
++ Int -> [String] -> [Fixity]
infixr_ Int
2 [ String
"`zoom`", String
"`magnify`" ]
    -- src/Control/Lens/Lens.hs
    forall a. [a] -> [a] -> [a]
++ Int -> [String] -> [Fixity]
infixl_ Int
8 [ String
"^#" ]
    forall a. [a] -> [a] -> [a]
++ Int -> [String] -> [Fixity]
infixr_ Int
4
               [ String
"%%@~"
               , String
"<%@~"
               , String
"<<%@~"
               , String
"%%~"
               , String
"<+~"
               , String
"<*~"
               , String
"<-~"
               , String
"<//~"
               , String
"<^~"
               , String
"<^^~"
               , String
"<**~"
               , String
"<&&~"
               , String
"<||~"
               , String
"<<>~"
               , String
"<%~"
               , String
"<<%~"
               , String
"<<.~"
               , String
"<<?~"
               , String
"<#~"
               , String
"#~"
               , String
"#%~"
               , String
"<#%~"
               , String
"#%%~"
               ]
    forall a. [a] -> [a] -> [a]
++ Int -> [String] -> [Fixity]
infix_ Int
4
              [ String
"%%@="
              , String
"<%@="
              , String
"<<%@="
              , String
"%%="
              , String
"<+="
              , String
"<*="
              , String
"<-="
              , String
"<//="
              , String
"<^="
              , String
"<^^="
              , String
"<**="
              , String
"<&&="
              , String
"<||="
              , String
"<<>="
              , String
"<%="
              , String
"<<%="
              , String
"<<.="
              , String
"<<?="
              , String
"<#="
              , String
"#="
              , String
"#%="
              , String
"<#%="
              , String
"#%%="
              ] forall a. [a] -> [a] -> [a]
++ Int -> [String] -> [Fixity]
infixr_ Int
2 [ String
"<<~" ] forall a. [a] -> [a] -> [a]
++ Int -> [String] -> [Fixity]
infixl_ Int
1 [ String
"??", String
"&~" ]
    forall a. [a] -> [a] -> [a]
++ Int -> [String] -> [Fixity]
infixl_ Int
1 [ String
"&" ] forall a. [a] -> [a] -> [a]
++ Int -> [String] -> [Fixity]
infixl_ Int
1 [ String
"<&>" ]
    -- src/Control/Lens/Review.hs
    forall a. [a] -> [a] -> [a]
++ Int -> [String] -> [Fixity]
infixr_ Int
8 [ String
"#" ]
    -- src/Control/Lens/Traversal.hs
    forall a. [a] -> [a] -> [a]
++ Int -> [String] -> [Fixity]
infixl_ Int
5 [ String
"`failing`" ]

pipesFixities :: [Fixity]
pipesFixities :: [Fixity]
pipesFixities =
    -- src/Pipes.hs
    Int -> [String] -> [Fixity]
infixl_ Int
4 [ String
"<~" ] forall a. [a] -> [a] -> [a]
++ Int -> [String] -> [Fixity]
infixr_ Int
4 [ String
"~>" ] forall a. [a] -> [a] -> [a]
++ Int -> [String] -> [Fixity]
infixl_ Int
5 [ String
"~<" ]
    forall a. [a] -> [a] -> [a]
++ Int -> [String] -> [Fixity]
infixr_ Int
5 [ String
">~" ] forall a. [a] -> [a] -> [a]
++ Int -> [String] -> [Fixity]
infixl_ Int
7 [ String
">->" ] forall a. [a] -> [a] -> [a]
++ Int -> [String] -> [Fixity]
infixr_ Int
7 [ String
"<-<" ]
    -- src/Pipes/Core.hs
    forall a. [a] -> [a] -> [a]
++ Int -> [String] -> [Fixity]
infixl_ Int
3 [ String
"//>" ] forall a. [a] -> [a] -> [a]
++ Int -> [String] -> [Fixity]
infixr_ Int
3 [ String
"<\\\\" ]
    forall a. [a] -> [a] -> [a]
++ Int -> [String] -> [Fixity]
infixr_ Int
4 [ String
"/>/", String
">\\\\" ] forall a. [a] -> [a] -> [a]
++ Int -> [String] -> [Fixity]
infixl_ Int
4 [ String
"\\<\\", String
"//<" ]
    forall a. [a] -> [a] -> [a]
++ Int -> [String] -> [Fixity]
infixl_ Int
5 [ String
"\\>\\" ] forall a. [a] -> [a] -> [a]
++ Int -> [String] -> [Fixity]
infixr_ Int
5 [ String
"/</" ] forall a. [a] -> [a] -> [a]
++ Int -> [String] -> [Fixity]
infixl_ Int
6 [ String
"<<+" ]
    forall a. [a] -> [a] -> [a]
++ Int -> [String] -> [Fixity]
infixr_ Int
6 [ String
"+>>" ] forall a. [a] -> [a] -> [a]
++ Int -> [String] -> [Fixity]
infixl_ Int
7 [ String
">+>", String
">>~" ]
    forall a. [a] -> [a] -> [a]
++ Int -> [String] -> [Fixity]
infixr_ Int
7 [ String
"<+<", String
"~<<" ] forall a. [a] -> [a] -> [a]
++ Int -> [String] -> [Fixity]
infixl_ Int
8 [ String
"<~<" ] forall a. [a] -> [a] -> [a]
++ Int -> [String] -> [Fixity]
infixr_ Int
8 [ String
">~>" ]

servantFixities :: [Fixity]
servantFixities :: [Fixity]
servantFixities =
    -- src/Servant/API/Sub.hs
    Int -> [String] -> [Fixity]
infixr_ Int
4 [ String
":>" ]
    -- src/Servant/API/Alternative.hs
    forall a. [a] -> [a] -> [a]
++ Int -> [String] -> [Fixity]
infixr_ Int
3 [ String
":<|>" ]
    -- src/Servant/API/Generic.hs
    forall a. [a] -> [a] -> [a]
++ Int -> [String] -> [Fixity]
infixl_ Int
0 [ String
":-" ]