Hoogle Search

Within LTS Haskell 24.39 (ghc-9.10.3)

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

  1. singleton :: a -> [a]

    LambdaHack Game.LambdaHack.Core.Prelude

    Construct a list from a single element.

    Examples

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

  2. singleton :: k -> p -> PSQ k p

    PSQueue Data.PSQueue

    O(1) Build a queue with one binding.

  3. singleton :: k -> p -> PSQ k p

    PSQueue Data.PSQueue.Internal

    O(1) Build a queue with one binding.

  4. singleton :: Key -> v -> KeyMap v

    aeson-schemas Data.Aeson.Schema.Utils.Compat

    Construct a map with a single element.

  5. singleton :: BCP47 -> a -> Trie a

    bcp47 Data.BCP47.Trie

    Construct a Trie from a single tag/value pair.

  6. singleton :: BCP47 -> a -> Trie a

    bcp47 Data.BCP47.Trie.Internal

    Construct a Trie from a single tag/value pair.

  7. singleton :: Var QPN -> ConflictSet

    cabal-install-solver Distribution.Solver.Modular.ConflictSet

    No documentation available.

  8. singleton :: Component -> a -> ComponentDeps a

    cabal-install-solver Distribution.Solver.Types.ComponentDeps

    No documentation available.

  9. singleton :: a -> Vec 1 a

    clash-prelude Clash.Explicit.Prelude

    Create a vector of one element

    >>> singleton 5
    5 :> Nil
    

  10. singleton :: a -> Vec 1 a

    clash-prelude Clash.Explicit.Prelude.Safe

    Create a vector of one element

    >>> singleton 5
    5 :> Nil
    

Page 23 of many | Previous | Next