functional

functional

Not enough ratings
SUM
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
543.000 B
31 Aug, 2021 @ 10:17pm
1 Change Note ( view )

Subscribe to download
SUM

Description
Write a function SUM that, given a unary function F and
two numerals A and B, reduces to the sum of (F X) for all
X from A to B.
It is guaranteed that A is less than or equal to B.