Hoogle Search

Within LTS Haskell 24.3 (ghc-9.10.2)

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

  1. unwords :: [String] -> String

    constrained-categories Control.Category.Constrained.Prelude

    unwords joins words with separating spaces (U+0020 SPACE). unwords is neither left nor right inverse of words:

    >>> words (unwords [" "])
    []
    
    >>> unwords (words "foo\nbar")
    "foo bar"
    

    Examples

    >>> unwords ["Lorem", "ipsum", "dolor"]
    "Lorem ipsum dolor"
    
    >>> unwords ["foo", "bar", "", "baz"]
    "foo bar  baz"
    

  2. unwords :: [String] -> String

    copilot-language Copilot.Language.Prelude

    unwords joins words with separating spaces (U+0020 SPACE). unwords is neither left nor right inverse of words:

    >>> words (unwords [" "])
    []
    
    >>> unwords (words "foo\nbar")
    "foo bar"
    

    Examples

    >>> unwords ["Lorem", "ipsum", "dolor"]
    "Lorem ipsum dolor"
    
    >>> unwords ["foo", "bar", "", "baz"]
    "foo bar  baz"
    

  3. unwords :: [String] -> String

    xmonad-contrib XMonad.Prelude

    unwords joins words with separating spaces (U+0020 SPACE). unwords is neither left nor right inverse of words:

    >>> words (unwords [" "])
    []
    
    >>> unwords (words "foo\nbar")
    "foo bar"
    

    Examples

    >>> unwords ["Lorem", "ipsum", "dolor"]
    "Lorem ipsum dolor"
    
    >>> unwords ["foo", "bar", "", "baz"]
    "foo bar  baz"
    

Page 5 of many | Previous | Next