Hoogle Search

Within LTS Haskell 24.28 (ghc-9.10.3)

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

  1. singleton :: a -> Vec 1 a

    clash-prelude Clash.Prelude.Safe

    Create a vector of one element

    >>> singleton 5
    5 :> Nil
    

  2. singleton :: a -> Vec 1 a

    clash-prelude Clash.Sized.Vector

    Create a vector of one element

    >>> singleton 5
    5 :> Nil
    

  3. singleton :: h c -> (a -> c) -> Colonnade h a c

    colonnade Colonnade

    A single column with any kind of header. This is not typically needed.

  4. singleton :: a -> CList a

    data-clist Data.CircularList

    No documentation available.

  5. singleton :: a -> CList a

    data-clist Data.CircularList.Internal

    No documentation available.

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

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

    No documentation available.

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

    graphql Language.GraphQL.Execute.OrderedMap

    Constructs a map with a single element.

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

    heap Data.Heap

    O(1). Create a singleton HeapT.

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

  10. singleton :: Int -> IntSet

    intern Data.Interned.IntSet

    O(1). A set of one element.

Page 24 of many | Previous | Next