postAlignWith :: a -> [a] -> [a] -> ([a], [a]) #
Pad the shortest of the given lists by appending the given element to it until the length of
the result matches the length of the other list.
>>> postAlignWith 'a' "bcd" "e"
("bcd","eaa")
>>> postAlignWith 'a' "b" "cdef"
("baaa","cdef")
test_flattenCostRoseIsLinear :: CostRose takes _linearly_ more time. The actual test can only
be done with eyes unfortunately, because the tests are way too noisy for evaluation times to be
reported even remotely accurately.
genCostRose :: CostRose from the given list by splitting the list into sublists and generating
a memoryUsage called over a value of a built-in type never returns a stream
containing a negative cost.