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 :: PrimType ty => ty -> UVect 1 ty

    basement Basement.Sized.UVect

    No documentation available.

  2. singleton :: ty -> Vect 1 ty

    basement Basement.Sized.Vect

    No documentation available.

  3. singleton :: Char -> String

    basement Basement.String

    Create a single element String

  4. singleton :: PrimType ty => ty -> UArray ty

    basement Basement.UArray

    No documentation available.

  5. singleton :: Word8 -> Bytes

    byteslice Data.Bytes

    Create a byte sequence with one byte.

  6. singleton :: Enum k => k -> a -> EnumMap k a

    enummapset Data.EnumMap.Lazy

    No documentation available.

  7. singleton :: Enum k => k -> a -> EnumMap k a

    enummapset Data.EnumMap.Strict

    No documentation available.

  8. singleton :: Enum k => k -> EnumSet k

    enummapset Data.EnumSet

    No documentation available.

  9. singleton :: a -> [a]

    ghc-internal GHC.Internal.Data.List

    Construct a list from a single element.

    Examples

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

  10. singleton :: a -> [a]

    ghc-internal GHC.Internal.Data.OldList

    Construct a list from a single element.

    Examples

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

Page 12 of many | Previous | Next