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 :: Char -> CharSet

    charset Data.CharSet

    No documentation available.

  2. singleton :: (Contiguous arr, Element arr a) => a -> arr a

    contiguous Data.Primitive.Contiguous

    Create a singleton array.

  3. singleton :: (Contiguous arr, Element arr a) => a -> arr a

    contiguous Data.Primitive.Contiguous.Class

    Create a singleton array.

  4. singleton :: k -> v -> Map k v

    dhall Dhall.Map

    Create a Map from a single key-value pair

    >>> singleton "A" 1
    fromList [("A",1)]
    

  5. singleton :: Ord k => k -> a -> PriorityQ k a

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

    No documentation available.

  6. singleton :: a -> SeqQ a

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

    No documentation available.

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

    foundation Foundation

    Create a collection with a single element

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

    foundation Foundation.Collection

    Create a collection with a single element

  9. 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
    

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

    harpie Harpie.Fixed

    Create an array of shape [1].

    >>> pretty $ singleton 1
    [1]
    

Page 18 of many | Previous | Next