Hoogle Search

Within LTS Haskell 24.27 (ghc-9.10.3)

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

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

    LambdaHack Game.LambdaHack.Core.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 *
    

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

    cabal-install-solver Distribution.Solver.Compat.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 *
    

  3. reverse :: forall (n :: Nat) a . Vec n a -> Vec n a

    clash-prelude Clash.Explicit.Prelude

    The elements in a vector in reverse order.

    >>> reverse (1:>2:>3:>4:>Nil)
    4 :> 3 :> 2 :> 1 :> Nil
    

  4. reverse :: forall (n :: Nat) a . Vec n a -> Vec n a

    clash-prelude Clash.Explicit.Prelude.Safe

    The elements in a vector in reverse order.

    >>> reverse (1:>2:>3:>4:>Nil)
    4 :> 3 :> 2 :> 1 :> Nil
    

  5. reverse :: forall (n :: Nat) a . Vec n a -> Vec n a

    clash-prelude Clash.Prelude

    The elements in a vector in reverse order.

    >>> reverse (1:>2:>3:>4:>Nil)
    4 :> 3 :> 2 :> 1 :> Nil
    

  6. reverse :: forall (n :: Nat) a . Vec n a -> Vec n a

    clash-prelude Clash.Prelude.Safe

    The elements in a vector in reverse order.

    >>> reverse (1:>2:>3:>4:>Nil)
    4 :> 3 :> 2 :> 1 :> Nil
    

  7. reverse :: forall (n :: Nat) a . Vec n a -> Vec n a

    clash-prelude Clash.Sized.Vector

    The elements in a vector in reverse order.

    >>> reverse (1:>2:>3:>4:>Nil)
    4 :> 3 :> 2 :> 1 :> Nil
    

  8. reverse :: [String] -> [String]

    haha Graphics.Ascii.Haha.Terminal

    No documentation available.

  9. reverse :: Permutation -> Permutation

    hmatrix-gsl-stats Numeric.GSL.Permutation

    reverse the elements of the permutation

  10. reverse :: DocumentedFunction e

    hslua-module-text HsLua.Module.Text

    Wrapper for reverse.

Page 13 of many | Previous | Next