Hoogle Search

Within LTS Haskell 24.18 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. narrowS :: Width -> Integer -> Integer

    ghc GHC.Cmm.Type

    Narrow a signed value to the given width. The result will reside in [-2^(width-1), +2^(width-1)).

    >>> narrowS W8 256    == 0
    
    >>> narrowS W8 255    == -1
    
    >>> narrowS W8 128    == -128
    
    >>> narrowS W8 127    == 127
    
    >>> narrowS W8 0      == 0
    
    >>> narrowS W8 (-127) == -127
    
    >>> narrowS W8 (-128) == -128
    
    >>> narrowS W8 (-129) == 127
    
    >>> narrowS W8 (-255) == 1
    
    >>> narrowS W8 (-256) == 0
    

  2. narrowU :: Width -> Integer -> Integer

    ghc GHC.Cmm.Type

    Narrow a signed or unsigned value to the given width. The result will reside in [0, +2^width).

    >>> narrowU W8 256    == 256
    
    >>> narrowU W8 255    == 255
    
    >>> narrowU W8 128    == 128
    
    >>> narrowU W8 127    == 127
    
    >>> narrowU W8 0      == 0
    
    >>> narrowU W8 (-127) == 129
    
    >>> narrowU W8 (-128) == 128
    
    >>> narrowU W8 (-129) == 127
    
    >>> narrowU W8 (-255) == 1
    
    >>> narrowU W8 (-256) == 0
    

  3. pprArrowWithMultiplicity :: FunTyFlag -> Either Bool SDoc -> SDoc

    ghc GHC.Core.Multiplicity

    No documentation available.

  4. pprThetaArrowTy :: ThetaType -> SDoc

    ghc GHC.Core.TyCo.Ppr

    No documentation available.

  5. matchArrowContextErrString :: HsArrowMatchContext -> SDoc

    ghc GHC.Hs.Expr

    No documentation available.

  6. pprArrowExpr :: forall (p :: Pass) body . (OutputableBndrId p, Outputable body, Anno (StmtLR (GhcPass p) (GhcPass p) body) ~ SrcSpanAnnA) => [LStmt (GhcPass p) body] -> SDoc

    ghc GHC.Hs.Expr

    No documentation available.

  7. pprArrowMatchContextNoun :: HsArrowMatchContext -> SDoc

    ghc GHC.Hs.Expr

    No documentation available.

  8. pprArrowMatchContextNouns :: HsArrowMatchContext -> SDoc

    ghc GHC.Hs.Expr

    No documentation available.

  9. data EpLinearArrow

    ghc GHC.Hs.Type

    No documentation available.

  10. data HsArrow pass

    ghc GHC.Hs.Type

    Denotes the type of arrows in the surface language

Page 44 of many | Previous | Next