Hoogle Search

Within LTS Haskell 24.12 (ghc-9.10.3)

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

  1. YesAssocTyLastVarInKind :: TyCon -> AssociatedTyLastVarInKind

    ghc GHC.Tc.Errors.Types

    The associated type family of the class

  2. YesAssociatedTyNotParamOverLastTyVar :: TyCon -> AssociatedTyNotParamOverLastTyVar

    ghc GHC.Tc.Errors.Types

    The associated type family of the class

  3. associatedTyLastVarInKind :: Maybe TyCon -> AssociatedTyLastVarInKind

    ghc GHC.Tc.Errors.Types

    No documentation available.

  4. associatedTyNotParamOverLastTyVar :: Maybe TyCon -> AssociatedTyNotParamOverLastTyVar

    ghc GHC.Tc.Errors.Types

    No documentation available.

  5. changeLast :: [a] -> a -> [a]

    ghc GHC.Utils.Misc

    Replace the last element of a list with another element.

  6. sdocLastColour :: SDocContext -> !PprColour

    ghc GHC.Utils.Outputable

    The most recently used colour. This allows nesting colours.

  7. type family XLastStmt x x' b

    ghc Language.Haskell.Syntax.Extension

    No documentation available.

  8. safeLast :: [a] -> Maybe a

    Cabal Distribution.Simple.Utils

    A total variant of last.

  9. _last :: Snoc s s a a => AffineTraversal' s a

    optics-core Optics.Cons.Core

    An AffineTraversal reading and writing to the last element of a non-empty container.

    >>> "abc" ^? _last
    Just 'c'
    
    >>> "" ^? _last
    Nothing
    
    >>> [1,2,3] & _last %~ (+1)
    [1,2,4]
    
    >>> [1,2] ^? _last
    Just 2
    
    >>> [] & _last .~ 1
    []
    
    >>> [0] & _last .~ 2
    [2]
    
    >>> [0,1] & _last .~ 2
    [0,2]
    

  10. ilastOf :: forall k (is :: IxList) i s a . (Is k A_Fold, HasSingleIndex is i) => Optic' k is s a -> s -> Maybe (i, a)

    optics-core Optics.IxFold

    Retrieve the last entry of an IxFold along with its index.

    >>> ilastOf ifolded [1..10]
    Just (9,10)
    

Page 70 of many | Previous | Next