Scheme (DrRacket) - Calling Generalized / Abstracted Function with Another Function -
for reference programming scheme using drracket. for problem making generalized / abstracted function (which aren't using higher-order functions and/or lambda) called tally-by of function tally-by-place-points defined below: (define listofcandidates (list "blake" "ash" "bob" "will" "joey")) ;; signature: tally-by-place-points: ;; list-of-candidates list-of-votes -> list-of-voting-tallies ;; purpose: consumes list of candidate names , list of votes , ;; produces list of voting-tallies. ;; (points-per-place strategy). ;; tests: (check-expect (tally-by-place-points empty empty) empty) (check-expect (tally-by-place-points listofcandidates listofvotes) (cons (make-voting-tally "blake" 7) (cons (make-voting-tally "ash" 3) (cons (make-voting-tally "bob" 5) (cons (make-voting-tally "will" 1...