• About
  • Snapshots
  • LTS
  • Nightly
  • FAQ
  • Blog

Hoogle Search

Within LTS Haskell 24.45 (ghc-9.10.3)

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

  1. singleton :: k -> a -> NEMap k a

    nonempty-containers Data.Map.NonEmpty.Internal

    O(1). A map with a single element.

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

  2. singleton :: a -> NESeq a

    nonempty-containers Data.Sequence.NonEmpty

    A singleton sequence.

  3. singleton :: a -> NESeq a

    nonempty-containers Data.Sequence.NonEmpty.Internal

    A singleton sequence.

  4. singleton :: a -> NESet a

    nonempty-containers Data.Set.NonEmpty

    O(1). Create a singleton set.

  5. singleton :: a -> NESet a

    nonempty-containers Data.Set.NonEmpty.Internal

    O(1). Create a singleton set.

  6. singleton :: Space s => Element s -> s

    numhask-space NumHask.Space

    space containing a single element

  7. singleton :: a -> Vector a

    rebase Rebase.Data.Vector

    No documentation available.

  8. singleton :: forall (m :: Type -> Type) a . Monad m => a -> Stream m a

    rebase Rebase.Data.Vector.Fusion.Stream.Monadic

    Singleton Stream

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

    rebase Rebase.Data.Vector.Generic

    No documentation available.

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

    rebase Rebase.Data.Vector.Primitive

    No documentation available.

Page 20 of many | Previous | Next

Stackage is a service provided by the Haskell Foundation │ Originally developed by FP Complete