Hoogle Search

Within LTS Haskell 24.5 (ghc-9.10.2)

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

  1. singleton :: a -> SeqQ a

    distributed-process-extras Control.Distributed.Process.Extras.Internal.Queue.SeqQ

    No documentation available.

  2. singleton :: (Enum a, Bits w) => a -> T w a

    enumset Data.EnumBitSet

    No documentation available.

  3. singleton :: Sequential c => Element c -> c

    foundation Foundation

    Create a collection with a single element

  4. singleton :: Sequential c => Element c -> c

    foundation Foundation.Collection

    Create a collection with a single element

  5. singleton :: a -> Array a

    harpie Harpie.Array

    Create an array of shape [1].

    >>> pretty $ singleton 1
    [1]
    
    >>> singleton 3 == toScalar 3
    False
    
    >>> asVector (singleton 3) == asVector (toScalar 3)
    True
    

  6. singleton :: a -> Array '[1] a

    harpie Harpie.Fixed

    Create an array of shape [1].

    >>> pretty $ singleton 1
    [1]
    

  7. singleton :: (Eq k, Hashable k) => k -> a -> MonoidalHashMap k a

    monoidal-containers Data.HashMap.Monoidal

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

  8. singleton :: Int -> a -> MonoidalIntMap a

    monoidal-containers Data.IntMap.Monoidal

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

  9. singleton :: Int -> a -> MonoidalIntMap a

    monoidal-containers Data.IntMap.Monoidal.Strict

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

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

    monoidal-containers Data.Map.Monoidal

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

Page 18 of many | Previous | Next