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. singleton :: Char -> Stream Char

    text Data.Text.Internal.Fusion.Common

    O(1) Convert a character into a Stream Properties

    unstream . singleton = singleton
    

  2. singleton :: Char -> Text

    text Data.Text.Lazy

    O(1) Convert a character into a Text. Performs replacement on invalid scalar values.

  3. singleton :: Char -> Builder

    text Data.Text.Lazy.Builder

    O(1). A Builder taking a single character, satisfying

  4. singleton :: Key -> a -> IntMap a

    containers Data.IntMap.Internal

    A map of one element.

    singleton 1 'a'        == fromList [(1, 'a')]
    size (singleton 1 'a') == 1
    

  5. singleton :: Key -> a -> IntMap a

    containers Data.IntMap.Lazy

    A map of one element.

    singleton 1 'a'        == fromList [(1, 'a')]
    size (singleton 1 'a') == 1
    

  6. singleton :: Key -> a -> IntMap a

    containers Data.IntMap.Strict

    A map of one element.

    singleton 1 'a'        == fromList [(1, 'a')]
    size (singleton 1 'a') == 1
    

  7. singleton :: Key -> a -> IntMap a

    containers Data.IntMap.Strict.Internal

    A map of one element.

    singleton 1 'a'        == fromList [(1, 'a')]
    size (singleton 1 'a') == 1
    

  8. singleton :: Key -> IntSet

    containers Data.IntSet

    A set of one element.

  9. singleton :: Key -> IntSet

    containers Data.IntSet.Internal

    A set of one element.

  10. singleton :: k -> a -> Map k a

    containers Data.Map.Internal

    A map with a single element.

    singleton 1 'a'        == fromList [(1, 'a')]
    size (singleton 1 'a') == 1
    

Page 2 of many | Previous | Next