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.
singleton :: Measured v a => a -> SplayTree v arope-utf16-splay Data.SplayTree No documentation available.
-
rrb-vector Data.RRBVector A vector with a single element.
singleton x = fromList [x]
singleton :: forall (f :: Type -> Type) a . (CPointed f, Dom f a) => a -> Sized f 1 asized Data.Sized Sequence with one element. Since 0.7.0.0
-
streams Data.Stream.Future.Skew O(1)
singleton :: [c] -> a -> TMap c atrie-simple Data.Trie.Map singleton xs a is a TMap which contains only one entry from xs to a.
-
trie-simple Data.Trie.Set No documentation available.
singleton :: forall (k :: Symbol) v . KnownSymbol k => (k := v) -> KVList '[k := v]type-level-kv-list Data.KVList No documentation available.
singleton :: Unboxable a => a -> Vector aunboxing-vector Data.Vector.Unboxing No documentation available.
singleton :: a -> Vec ('S 'Z) avec Data.Vec.DataFamily.SpineStrict Vec with exactly one element.
>>> singleton True True ::: VNil
singleton :: a -> Vec ('S 'Z) avec Data.Vec.Lazy Vec with exactly one element.
>>> singleton True True ::: VNil