Hoogle Search

Within LTS Haskell 24.32 (ghc-9.10.3)

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

  1. unfirstCorep :: Corepresentable p => p (a, d) (b, d) -> p a b

    profunctors Data.Profunctor.Rep

    Default definition for unfirst given that p is Corepresentable.

  2. unfirst :: Costrong p => p (a, d) (b, d) -> p a b

    profunctors Data.Profunctor.Strong

    Laws:

    unfirstunsecond . dimap swap swap
    lmap (,()) ≡ unfirst . rmap (,())
    unfirst . lmap (second f) ≡ unfirst . rmap (second f)
    unfirst . unfirst = unfirst . dimap assoc unassoc where
    assoc ((a,b),c) = (a,(b,c))
    unassoc (a,(b,c)) = ((a,b),c)
    

  3. getFirst :: First a -> Maybe a

    base-compat Data.Monoid.Compat

    No documentation available.

  4. getFirst :: First a -> a

    base-compat Data.Semigroup.Compat

    No documentation available.

  5. CompactGetFirstBlockOp :: PrimOp

    ghc GHC.Builtin.PrimOps

    No documentation available.

  6. replaceFirstNode :: forall n (x :: Extensibility) . Block n C x -> n C O -> Block n C x

    ghc GHC.Cmm.Dataflow.Block

    No documentation available.

  7. toBlockListEntryFirst :: CmmGraph -> [CmmBlock]

    ghc GHC.Cmm.Utils

    like toBlockList, but the entry block always comes first

  8. toBlockListEntryFirstFalseFallthrough :: CmmGraph -> [CmmBlock]

    ghc GHC.Cmm.Utils

    Like toBlockListEntryFirst, but we strive to ensure that we order blocks so that the false case of a conditional jumps to the next block in the output list of blocks. This matches the way OldCmm blocks were output since in OldCmm the false case was a fallthrough, whereas in Cmm conditional branches have both true and false successors. Block ordering can make a big difference in performance in the LLVM backend. Note that we rely crucially on the order of successors returned for CmmCondBranch by the NonLocal instance for CmmNode defined in GHC.Cmm.Node. -GBM

  9. lookupFirstUsed :: VirtualReg -> BlockAssignment freeRegs -> Maybe RealReg

    ghc GHC.CmmToAsm.Reg.Linear.Base

    Lookup which register a virtual register was first assigned to.

  10. getFirstAnnotations :: Typeable a => ([Word8] -> a) -> ModGuts -> CoreM (ModuleEnv a, NameEnv a)

    ghc GHC.Core.Opt.Monad

    Get at most one annotation of a given type per annotatable item.

Page 38 of many | Previous | Next