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.
YesAssocTyLastVarInKind :: TyCon -> AssociatedTyLastVarInKindghc GHC.Tc.Errors.Types The associated type family of the class
YesAssociatedTyNotParamOverLastTyVar :: TyCon -> AssociatedTyNotParamOverLastTyVarghc GHC.Tc.Errors.Types The associated type family of the class
associatedTyLastVarInKind :: Maybe TyCon -> AssociatedTyLastVarInKindghc GHC.Tc.Errors.Types No documentation available.
associatedTyNotParamOverLastTyVar :: Maybe TyCon -> AssociatedTyNotParamOverLastTyVarghc GHC.Tc.Errors.Types No documentation available.
-
ghc GHC.Utils.Misc Replace the last element of a list with another element.
sdocLastColour :: SDocContext -> !PprColourghc GHC.Utils.Outputable The most recently used colour. This allows nesting colours.
-
ghc Language.Haskell.Syntax.Extension No documentation available.
-
Cabal Distribution.Simple.Utils A total variant of last.
_last :: Snoc s s a a => AffineTraversal' s aoptics-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]
-
optics-core Optics.IxFold Retrieve the last entry of an IxFold along with its index.
>>> ilastOf ifolded [1..10] Just (9,10)