Hoogle Search
Within LTS Haskell 24.4 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
singleton :: Key -> a -> Word64Map aghc-lib-parser GHC.Data.Word64Map.Strict.Internal A map of one element.
singleton 1 'a' == fromList [(1, 'a')] size (singleton 1 'a') == 1
-
ghc-lib-parser GHC.Data.Word64Set A set of one element.
-
ghc-lib-parser GHC.Data.Word64Set.Internal A set of one element.
-
ghc-lib-parser GHC.Utils.Misc No documentation available.
singleton :: (k, v) -> OMap k vordered-containers Data.Map.Ordered No documentation available.
singleton :: (k, v) -> OMap k vordered-containers Data.Map.Ordered.Strict No documentation available.
-
ordered-containers Data.Set.Ordered No documentation available.
-
pqueue Data.PQueue.Max Construct a priority queue with a single element.
-
pqueue Data.PQueue.Min Construct a priority queue with a single element.
singleton :: k -> a -> MaxPQueue k apqueue Data.PQueue.Prio.Max Constructs a singleton priority queue.