Hoogle Search

Within LTS Haskell 24.28 (ghc-9.10.3)

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

  1. weekLastDay :: DayOfWeek -> Day -> Day

    time-compat Data.Time.Calendar.Compat

    Returns the last day of a week containing the given Day. Examples:

    >>> weekLastDay Sunday (YearMonthDay 2022 02 21)
    YearMonthDay 2022 2 26
    
    >>> weekLastDay Monday (YearMonthDay 2022 02 21)
    YearMonthDay 2022 2 27
    
    >>> weekLastDay Tuesday (YearMonthDay 2022 02 21)
    YearMonthDay 2022 2 21
    

  2. _last :: Snoc s s a a => Traversal' s a

    diagrams-lib Diagrams.Prelude

    A Traversal reading and writing to the last element of a non-empty container.

    >>> [a,b,c]^?!_last
    c
    
    >>> []^?_last
    Nothing
    
    >>> [a,b,c] & _last %~ f
    [a,b,f c]
    
    >>> [1,2]^?_last
    Just 2
    
    >>> [] & _last .~ 1
    []
    
    >>> [0] & _last .~ 2
    [2]
    
    >>> [0,1] & _last .~ 2
    [0,2]
    
    This Traversal is not limited to lists, however. We can also work with other containers, such as a Vector.
    >>> Vector.fromList "abcde" ^? _last
    Just 'e'
    
    >>> Vector.empty ^? _last
    Nothing
    
    >>> (Vector.fromList "abcde" & _last .~ 'Q') == Vector.fromList "abcdQ"
    True
    
    _last :: Traversal' [a] a
    _last :: Traversal' (Seq a) a
    _last :: Traversal' (Vector a) a
    

  3. getLast' :: Last' a -> a

    Cabal-syntax Distribution.Compat.Semigroup

    No documentation available.

  4. FLSLast :: ByteString -> FieldLineStream

    Cabal-syntax Distribution.Parsec.FieldLineStream

    No documentation available.

  5. Elastic_2_0 :: LicenseId

    Cabal-syntax Distribution.SPDX

    Elastic-2.0, Elastic License 2.0, SPDX License List 3.16, SPDX License List 3.23

  6. Elastic_2_0 :: LicenseId

    Cabal-syntax Distribution.SPDX.LicenseId

    Elastic-2.0, Elastic License 2.0, SPDX License List 3.16, SPDX License List 3.23

  7. relaxLastInterval :: VersionIntervals -> VersionIntervals

    Cabal-syntax Distribution.Types.VersionInterval

    No documentation available.

  8. relaxLastInterval :: VersionIntervals -> VersionIntervals

    Cabal-syntax Distribution.Types.VersionInterval.Legacy

    Remove the last upper bound, enlarging the range. But empty ranges stay empty. <math>.

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

    Cabal-syntax Distribution.Utils.Generic

    A total variant of last.

  10. stringLast :: Eq a => [a] -> [a] -> Maybe Int

    hxt Text.XML.HXT.DOM.Util

    find the position of the last occurence of a string

Page 75 of many | Previous | Next