Home
last modified time | relevance | path

Searched refs:mapLitValue (Results 1 – 8 of 8) sorted by relevance

/dports/devel/hs-hlint/hlint-3.3.4/_cabal_deps/ghc-lib-parser-9.0.1.20210324/compiler/GHC/Types/
H A DLiteral.hs39 , litValue, isLitValue, isLitValue_maybe, mapLitValue
458 mapLitValue :: Platform -> (Integer -> Integer) -> Literal -> Literal
459 mapLitValue _ f (LitChar c) = mkLitChar (fchar c) function
461 mapLitValue platform f (LitNumber nt i) = wrapLitNumber platform (LitNumber nt (f i)) function
462 mapLitValue _ _ l = pprPanic "mapLitValue" (ppr l) function
/dports/devel/hs-haskell-language-server/haskell-language-server-1.4.0/_cabal_deps/ghc-lib-parser-8.10.7.20210828/compiler/basicTypes/
H A DLiteral.hs38 , litValue, isLitValue, isLitValue_maybe, mapLitValue
482 mapLitValue :: DynFlags -> (Integer -> Integer) -> Literal -> Literal
483 mapLitValue _ f (LitChar c) = mkLitChar (fchar c) function
485 mapLitValue dflags f (LitNumber nt i t) = wrapLitNumber dflags function
487 mapLitValue _ _ l = pprPanic "mapLitValue" (ppr l) function
/dports/lang/ghc/ghc-8.10.7/compiler/basicTypes/
H A DLiteral.hs38 , litValue, isLitValue, isLitValue_maybe, mapLitValue
482 mapLitValue :: DynFlags -> (Integer -> Integer) -> Literal -> Literal
483 mapLitValue _ f (LitChar c) = mkLitChar (fchar c) function
485 mapLitValue dflags f (LitNumber nt i t) = wrapLitNumber dflags function
487 mapLitValue _ _ l = pprPanic "mapLitValue" (ppr l) function
/dports/devel/hs-ormolu/ormolu-0.4.0.0/_cabal_deps/ghc-lib-parser-9.2.1.20211101/compiler/GHC/Types/
H A DLiteral.hs55 , litValue, mapLitValue
652 mapLitValue :: Platform -> (Integer -> Integer) -> Literal -> Literal
653 mapLitValue _ f (LitChar c) = mkLitChar (fchar c) function
655 mapLitValue platform f (LitNumber nt i) = mkLitNumberWrap platform nt (f i) function
656 mapLitValue _ _ l = pprPanic "mapLitValue" (ppr l) function
/dports/devel/hs-hlint/hlint-3.3.4/_cabal_deps/ghc-lib-parser-9.0.1.20210324/compiler/GHC/Core/Opt/
H A DConstantFold.hs2183 tx_lit_con platform adjust (LitAlt l) = Just $ LitAlt (mapLitValue platform adjust l)
/dports/devel/hs-haskell-language-server/haskell-language-server-1.4.0/_cabal_deps/ghc-lib-parser-8.10.7.20210828/compiler/prelude/
H A DPrelRules.hs2063 tx_lit_con dflags adjust (LitAlt l) = Just $ LitAlt (mapLitValue dflags adjust l)
/dports/lang/ghc/ghc-8.10.7/compiler/prelude/
H A DPrelRules.hs2063 tx_lit_con dflags adjust (LitAlt l) = Just $ LitAlt (mapLitValue dflags adjust l)
/dports/devel/hs-ormolu/ormolu-0.4.0.0/_cabal_deps/ghc-lib-parser-9.2.1.20211101/compiler/GHC/Core/Opt/
H A DConstantFold.hs3064 tx_lit_con platform adjust (LitAlt l) = Just $ LitAlt (mapLitValue platform adjust l)