Home
last modified time | relevance | path

Searched refs:funRdrNames (Results 1 – 3 of 3) sorted by relevance

/dports/devel/hs-haskell-language-server/haskell-language-server-1.4.0/_cabal_deps/ormolu-0.1.4.1/src/Ormolu/Printer/Meat/
H A DDeclaration.hs274 pattern FunctionBody n <- (funRdrNames -> Just n)
292 funRdrNames :: HsDecl GhcPs -> Maybe [RdrName]
293 funRdrNames (ValD NoExtField (FunBind NoExtField (L _ n) _ _ _)) = Just [n] function
294 funRdrNames (ValD NoExtField (PatBind NoExtField (L _ n) _ _)) = Just $ patBindNames n function
295 funRdrNames _ = Nothing function
/dports/devel/hs-ormolu/ormolu-0.4.0.0/src/Ormolu/Printer/Meat/
H A DDeclaration.hs279 pattern FunctionBody n <- (funRdrNames -> Just n)
297 funRdrNames :: HsDecl GhcPs -> Maybe [RdrName]
298 funRdrNames (ValD _ (FunBind _ (L _ n) _ _)) = Just [n] function
299 funRdrNames (ValD _ (PatBind _ (L _ n) _ _)) = Just $ patBindNames n function
300 funRdrNames _ = Nothing function
/dports/devel/hs-haskell-language-server/haskell-language-server-1.4.0/_cabal_deps/fourmolu-0.3.0.0/src/Ormolu/Printer/Meat/
H A DDeclaration.hs274 pattern FunctionBody n <- (funRdrNames -> Just n)
292 funRdrNames :: HsDecl GhcPs -> Maybe [RdrName]
293 funRdrNames (ValD NoExtField (FunBind NoExtField (L _ n) _ _ _)) = Just [n] function
294 funRdrNames (ValD NoExtField (PatBind NoExtField (L _ n) _ _)) = Just $ patBindNames n function
295 funRdrNames _ = Nothing function