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 :: k -> a -> Map k a

    containers Data.Map.Lazy

    A map with a single element.

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

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

    containers Data.Map.Strict

    A map with a single element.

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

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

    containers Data.Map.Strict.Internal

    A map with a single element.

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

  4. singleton :: a -> Seq a

    containers Data.Sequence

    A singleton sequence.

  5. singleton :: a -> Seq a

    containers Data.Sequence.Internal

    A singleton sequence.

  6. singleton :: a -> Set a

    containers Data.Set

    Create a singleton set.

  7. singleton :: a -> Set a

    containers Data.Set.Internal

    Create a singleton set.

  8. singleton :: Key -> v -> KeyMap v

    aeson Data.Aeson.KeyMap

    Construct a map with a single element.

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

    unordered-containers Data.HashMap.Internal

    Construct a map with a single element.

  10. singleton :: a -> Array a

    unordered-containers Data.HashMap.Internal.Array

    No documentation available.

Page 3 of many | Previous | Next