forwardDifference

Compute Forward Difference of range.

TODO Is there a difference between whether R r is immutable, const or mutable?

TODO If r contains only one element return empty range.

See also: https://stackoverflow.com/questions/21004944/forward-difference-algorithm See also: http://forum.dlang.org/thread/ujouqtqeehkegmtaxebg@forum.dlang.org#post-lczzsypupcfigttghkwx:40forum.dlang.org See also: http://rosettacode.org/wiki/Forward_difference#D

forwardDifference
(
R
)
(
R r
)
if (
isInputRange!R
)

Meta