Hoogle Search
Within LTS Haskell 24.35 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
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.
-
attoparsec-aeson Data.Aeson.Parser Variant of json which keeps only the last occurrence of every key.
-
attoparsec-aeson Data.Aeson.Parser Variant of json' which keeps only the last occurrence of every key.
-
attoparsec-aeson Data.Aeson.Parser.Internal Variant of json which keeps only the last occurrence of every key.
-
attoparsec-aeson Data.Aeson.Parser.Internal Variant of json' which keeps only the last occurrence of every key.
-
generic-deriving Generics.Deriving.Monoid No documentation available.
_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]