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.
prependList :: [a] -> NonEmpty a -> NonEmpty abase-compat-batteries Data.List.NonEmpty.Compat Attach a list at the beginning of a NonEmpty.
>>> prependList [] (1 :| [2,3]) 1 :| [2,3]
>>> prependList [negate 1, 0] (1 :| [2, 3]) -1 :| [0,1,2,3]
-
base-compat-batteries Data.List.NonEmpty.Compat Convert a stream to a normal list efficiently.
fromPairList :: [(a, b)] -> T a bevent-list Data.EventList.Absolute.TimeBody No documentation available.
toPairList :: T a b -> [(a, b)]event-list Data.EventList.Absolute.TimeBody No documentation available.
fromPairList :: [(body, time)] -> T time bodyevent-list Data.EventList.Relative.BodyTime No documentation available.
toPairList :: T time body -> [(body, time)]event-list Data.EventList.Relative.BodyTime No documentation available.
fromAbsoluteEventList :: Num time => T time body -> T time bodyevent-list Data.EventList.Relative.TimeBody No documentation available.
-
event-list Data.EventList.Relative.TimeBody Convert from absolute time stamps to relative time stamps using custom subtraction (like (-)) and zero.
fromPairList :: [(a, b)] -> T a bevent-list Data.EventList.Relative.TimeBody No documentation available.
toAbsoluteEventList :: Num time => time -> T time body -> T time bodyevent-list Data.EventList.Relative.TimeBody We tried hard to compute everything with respect to relative times. However sometimes we need absolute time values.