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 D | Literal.hs | 39 , 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 D | Literal.hs | 38 , 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 D | Literal.hs | 38 , 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 D | Literal.hs | 55 , 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 D | ConstantFold.hs | 2183 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 D | PrelRules.hs | 2063 tx_lit_con dflags adjust (LitAlt l) = Just $ LitAlt (mapLitValue dflags adjust l)
|
/dports/lang/ghc/ghc-8.10.7/compiler/prelude/ |
H A D | PrelRules.hs | 2063 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 D | ConstantFold.hs | 3064 tx_lit_con platform adjust (LitAlt l) = Just $ LitAlt (mapLitValue platform adjust l)
|