Hoogle Search

Within LTS Haskell 24.2 (ghc-9.10.2)

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

  1. reverse :: Text -> Text

    text Data.Text

    No documentation available.

  2. reverse :: Stream Char -> Text

    text Data.Text.Internal.Fusion

    O(n) Reverse the characters of a Stream returning Text. Properties

    reverse . stream = reverse
    

  3. reverse :: Text -> Text

    text Data.Text.Lazy

    O(n) reverse t returns the elements of t in reverse order.

  4. reverse :: Seq a -> Seq a

    containers Data.Sequence

    The reverse of a sequence.

  5. reverse :: Seq a -> Seq a

    containers Data.Sequence.Internal

    The reverse of a sequence.

  6. reverse :: [a] -> [a]

    hedgehog Hedgehog.Internal.Prelude

    reverse xs returns the elements of xs in reverse order. xs must be finite.

    Laziness

    reverse is lazy in its elements.
    >>> head (reverse [undefined, 1])
    1
    
    >>> reverse (1 : 2 : undefined)
    *** Exception: Prelude.undefined
    

    Examples

    >>> reverse []
    []
    
    >>> reverse [42]
    [42]
    
    >>> reverse [2,5,7]
    [7,5,2]
    
    >>> reverse [1..]
    * Hangs forever *
    

  7. reverse :: ByteArray bs => bs -> bs

    memory Data.ByteArray

    Reverse a bytearray

  8. reverse :: NonEmpty a -> NonEmpty a

    base-compat Data.List.NonEmpty.Compat

    reverse a finite NonEmpty stream.

  9. reverse :: [a] -> [a]

    ghc GHC.Prelude.Basic

    No documentation available.

  10. reverse :: ShortText -> ShortText

    text-short Data.Text.Short

    Reverse characters in ShortText.

    >>> reverse "star live desserts"
    "stressed evil rats"
    
    reverse (singleton c) == singleton c
    
    reverse (reverse t) == t
    

Page 2 of many | Previous | Next