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. singleton :: Word8 -> ByteString

    rio RIO.ByteString

    O(1) Convert a Word8 into a ByteString

  2. singleton :: Word8 -> ByteString

    rio RIO.ByteString.Lazy

    O(1) Convert a Word8 into a ByteString

  3. singleton :: Hashable k => k -> v -> HashMap k v

    rio RIO.HashMap

    Construct a map with a single element.

  4. singleton :: Hashable a => a -> HashSet a

    rio RIO.HashSet

    Construct a set with a single element.

    >>> HashSet.singleton 1
    fromList [1]
    

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

    rio RIO.Map

    A map with a single element.

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

  6. singleton :: a -> Seq a

    rio RIO.Seq

    A singleton sequence.

  7. singleton :: a -> Set a

    rio RIO.Set

    Create a singleton set.

  8. singleton :: Char -> Text

    rio RIO.Text

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

  9. singleton :: Char -> Text

    rio RIO.Text.Lazy

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

  10. singleton :: Vector v a => a -> v a

    rio RIO.Vector

    No documentation available.

Page 7 of many | Previous | Next