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.
-
clash-prelude Clash.Prelude.Safe Create a vector of one element
>>> singleton 5 5 :> Nil
-
clash-prelude Clash.Sized.Vector Create a vector of one element
>>> singleton 5 5 :> Nil
singleton :: h c -> (a -> c) -> Colonnade h a ccolonnade Colonnade A single column with any kind of header. This is not typically needed.
-
data-clist Data.CircularList No documentation available.
-
data-clist Data.CircularList.Internal No documentation available.
singleton :: Sequence sq => cat a b -> sq cat a bfreer-par-monad Control.Monad.Freer.Par.Sequence No documentation available.
singleton :: Text -> v -> OrderedMap vgraphql Language.GraphQL.Execute.OrderedMap Constructs a map with a single element.
singleton :: HeapItem pol item => item -> Heap pol itemheap Data.Heap O(1). Create a singleton HeapT.
-
ihaskell IHaskellPrelude Construct a list from a single element.
Examples
>>> singleton True [True]
>>> singleton [1, 2, 3] [[1,2,3]]
>>> singleton 'c' "c"
-
intern Data.Interned.IntSet O(1). A set of one element.