Hoogle Search

Within LTS Haskell 24.6 (ghc-9.10.2)

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

  1. singleton :: Sequence sq => cat a b -> sq cat a b

    freer-par-monad Control.Monad.Freer.Par.Sequence

    No documentation available.

  2. singleton :: Text -> v -> OrderedMap v

    graphql Language.GraphQL.Execute.OrderedMap

    Constructs a map with a single element.

  3. singleton :: HeapItem pol item => item -> Heap pol item

    heap Data.Heap

    O(1). Create a singleton HeapT.

  4. singleton :: a -> [a]

    ihaskell IHaskellPrelude

    Construct a list from a single element.

    Examples

    >>> singleton True
    [True]
    
    >>> singleton [1, 2, 3]
    [[1,2,3]]
    
    >>> singleton 'c'
    "c"
    

  5. singleton :: Int -> IntSet

    intern Data.Interned.IntSet

    O(1). A set of one element.

  6. singleton :: (Representable k, Representable a) => k % 1 -> a % 1 -> Pool % 1 -> Heap k a

    linear-base Foreign.Heap

    No documentation available.

  7. singleton :: a -> AList a

    monad-par-extras Control.Monad.Par.AList

    O(1) a singleton AList

  8. singleton :: (Ord k, MonoidNull v) => k -> v -> MonoidMap k v

    monoidmap-internal Data.MonoidMap.Internal

    Constructs a MonoidMap from a single key-value pair. Satisfies the following property:

    get k (singleton k v) == v
    
    Nullifying the value for key k produces an empty map:
    nullify k (singleton k v) == empty
    

  9. singleton :: Ord k => k -> v -> Map k v

    monoidmap-internal Data.MonoidMap.Internal.RecoveredMap

    No documentation available.

  10. singleton :: Key -> IntMultiSet

    multiset Data.IntMultiSet

    O(1). Create a singleton mutli set.

Page 24 of many | Previous | Next