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 :: a -> Vec ('S 'Z) avec Data.Vec.Lazy.Inline Vec with exactly one element.
>>> singleton True True ::: VNil
singleton :: a -> Vec ('S 'Z) avec Data.Vec.Pull Vec with exactly one element.
>>> L.fromPull $ singleton True True ::: VNil
-
HCodecs Codec.ByteString.Builder O(1). A Builder taking a single byte, satisfying
toLazyByteString (singleton b) = singleton b
singleton :: k -> v -> IntervalMap k vIntervalMap Data.IntervalMap.Generic.Lazy O(1). A map with one entry.
singleton :: k -> v -> IntervalMap k vIntervalMap Data.IntervalMap.Generic.Strict O(1). A map with one entry.
singleton :: k -> v -> IntervalMap k vIntervalMap Data.IntervalMap.Lazy O(1). A map with one entry.
singleton :: k -> v -> IntervalMap k vIntervalMap Data.IntervalMap.Strict O(1). A map with one entry.
singleton :: k -> IntervalSet kIntervalMap Data.IntervalSet O(1). A set with one entry.
singleton :: BKey -> a -> BDictMap abencoding Data.BEncode.BDict O(1). Dictionary of one key-value pair.
-
byteset Data.ByteSet O(1). A byteset of one element.