User Tools

Site Tools


cs330_f2016:rackethof

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
cs330_f2016:rackethof [2018/09/17 22:46]
morse
cs330_f2016:rackethof [2021/06/30 23:42] (current)
Line 26: Line 26:
   * ''​average''​   * ''​average''​
   * ''​eliminate-larger''​   * ''​eliminate-larger''​
 +
 +You must write these using higher-order functions rather than implementing the recursion yourself.  ​
 +As with the previous lab, you may not use ''​set!''​.
  
 In addition, you will need to implement the following function: In addition, you will need to implement the following function:
Line 35: Line 38:
 </​code>​ </​code>​
 where ''​func''​ is a two-parameter function and the result is a curried version of that two-parameter function. where ''​func''​ is a two-parameter function and the result is a curried version of that two-parameter function.
 +
 +You may not use any built-in curry functions to implement this.
  
 Hint: You **don'​t** need to know what the function passed in actually does. All you need to know is that it requires two parameters, and once you have those parameters you use the function. Hint: You **don'​t** need to know what the function passed in actually does. All you need to know is that it requires two parameters, and once you have those parameters you use the function.
cs330_f2016/rackethof.1537224395.txt.gz ยท Last modified: 2021/06/30 23:40 (external edit)