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.
-
distributed-process-extras Control.Distributed.Process.Extras.Internal.Queue.SeqQ No documentation available.
singleton :: (Enum a, Bits w) => a -> T w aenumset Data.EnumBitSet No documentation available.
singleton :: Sequential c => Element c -> cfoundation Foundation Create a collection with a single element
singleton :: Sequential c => Element c -> cfoundation Foundation.Collection Create a collection with a single element
-
harpie Harpie.Array Create an array of shape [1].
>>> pretty $ singleton 1 [1] >>> singleton 3 == toScalar 3 False
>>> asVector (singleton 3) == asVector (toScalar 3) True
singleton :: a -> Array '[1] aharpie Harpie.Fixed Create an array of shape [1].
>>> pretty $ singleton 1 [1]
singleton :: (Eq k, Hashable k) => k -> a -> MonoidalHashMap k amonoidal-containers Data.HashMap.Monoidal O(1). A map with a single element.
singleton :: Int -> a -> MonoidalIntMap amonoidal-containers Data.IntMap.Monoidal O(1). A map with a single element.
singleton :: Int -> a -> MonoidalIntMap amonoidal-containers Data.IntMap.Monoidal.Strict O(1). A map with a single element.
singleton :: k -> a -> MonoidalMap k amonoidal-containers Data.Map.Monoidal O(1). A map with a single element.