Hoogle Search
Within LTS Haskell 24.5 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
singleton :: k -> a -> MinPQueue k apqueue Data.PQueue.Prio.Min Constructs a singleton priority queue.
singleton :: C bool => Singleton booltfp Type.Data.Bool No documentation available.
singleton :: Integer x => Singleton xtfp Type.Data.Num No documentation available.
singleton :: C d => Singleton dtfp Type.Data.Num.Decimal.Digit No documentation available.
singleton :: Integer x => Singleton xtfp Type.Data.Num.Decimal.Number No documentation available.
singleton :: Natural n => Singleton ntfp Type.Data.Num.Unary No documentation available.
singleton :: (Contiguous arr, Element arr a) => a -> arr acontiguous Data.Primitive.Contiguous Create a singleton array.
singleton :: (Contiguous arr, Element arr a) => a -> arr acontiguous Data.Primitive.Contiguous.Class Create a singleton array.
singleton :: k -> v -> Map k vdhall Dhall.Map Create a Map from a single key-value pair
>>> singleton "A" 1 fromList [("A",1)]
singleton :: Ord k => k -> a -> PriorityQ k adistributed-process-extras Control.Distributed.Process.Extras.Internal.Queue.PriorityQ No documentation available.