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
Next revision Both sides next revision
cs330_f2016:rackethof [2018/09/17 22:46]
morse
cs330_f2016:rackethof [2019/10/03 15:02]
morse
Line 18: Line 18:
 ====Deliverables:​==== ====Deliverables:​====
  
-For this lab, you will need to reimplement the following functions from the previous lab using Racket'​s higher-order functions ''​map''​ (including ''​andmap''​ and ''​or map'',​ ''​filter'',​ or ''​foldr''​. You may not use functions that take or return indices, such as ''​index-of''​ or ''​list-ref'':​+For this lab, you will need to reimplement the following functions from the previous lab using Racket'​s higher-order functions ''​map''​ (including ''​andmap''​ and ''​ormap''​), ''​filter'',​ or ''​foldr''​. You may not use functions that take or return indices, such as ''​index-of''​ or ''​list-ref'':​
   * ''​convertFC''​   * ''​convertFC''​
   * ''​check-temps1''​   * ''​check-temps1''​
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:
cs330_f2016/rackethof.txt ยท Last modified: 2021/06/30 23:42 (external edit)