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 :: Int -> a -> SomeIntMapWith (SingletonProof 'Int Int) a

    refined-containers Data.IntMap.Refined

    Create a map with a single key-value pair, and return a proof that the key is in the resulting map.

  2. singleton :: Int -> a -> SomeIntMapWith (SingletonProof 'Int Int) a

    refined-containers Data.IntMap.Strict.Refined

    Create a map with a single key-value pair, and return a proof that the key is in the resulting map.

  3. singleton :: Int -> SomeIntSetWith (SingletonProof 'Int Int)

    refined-containers Data.IntSet.Refined

    Create a set with a single element.

  4. singleton :: k -> a -> SomeMapWith (SingletonProof 'Regular k) k a

    refined-containers Data.Map.Refined

    Create a map with a single key-value pair, and return a proof that the key is in the resulting map.

  5. singleton :: k -> a -> SomeMapWith (SingletonProof 'Regular k) k a

    refined-containers Data.Map.Strict.Refined

    Create a map with a single key-value pair, and return a proof that the key is in the resulting map.

  6. singleton :: a -> SomeSetWith (SingletonProof 'Regular a) a

    refined-containers Data.Set.Refined

    Create a set with a single element.

  7. singleton :: a -> [a]

    xmonad-contrib XMonad.Prelude

    Construct a list from a single element.

    Examples

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

  8. class Singleton (f :: Type -> Type)

    non-empty Data.NonEmpty.Class

    No documentation available.

  9. Singleton :: a -> Grouped a

    weigh Weigh

    No documentation available.

  10. data Singleton bool

    tfp Type.Data.Bool

    No documentation available.

Page 39 of many | Previous | Next