Jump to content

Forward difference: Difference between revisions

m
(→‎{{header|AppleScript}}: Updated primitives. Refactored test.)
Line 1,486:
 
 
// nthForwardDifference :: Num a => Int[a] -> [a]Int -> [a]
const nthForwardDifference = xs =>
index(iterate(forwardDifference)(xs)).Just;
9,655

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.