second package:streamly-core
Supply the second component of the tuple to an unfold that accepts a
tuple as a seed resulting in a fold that accepts the first component
of the tuple as a seed.
second b = Unfold.lmap (, b)
Pre-release
An
Int64 time representation with a microsecond resolution. It
can represent time up to ~292,000 years.
An
Int64 time representation with a millisecond resolution. It
can represent time up to ~292 million years.
An
Int64 time representation with a nanosecond resolution. It
can represent time up to ~292 years.
Convert nanoseconds to a string showing time in an appropriate unit.
Convert an
Unfold into an unfold accepting a tuple as an
argument, using the argument of the original fold as the first element
of tuple and discarding the second element of the tuple.
discardSecond = Unfold.lmap fst
Pre-release