User Tools

Site Tools


cs330_f2016:rackethof2

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 Both sides next revision
cs330_f2016:rackethof2 [2018/09/18 00:50]
morse
cs330_f2016:rackethof2 [2018/09/18 00:51]
morse
Line 16: Line 16:
   * ''​default-parms''​ - decorates a function to add default parameter values   * ''​default-parms''​ - decorates a function to add default parameter values
   * ''​type-parms''​ - decorates a function to enforce parameter type checking   * ''​type-parms''​ - decorates a function to enforce parameter type checking
-  * ''​new-sin2''​ - a decorated version of your earlier ''​new-sin''​ that fills in default parameters and enforces correct types for all parameters+  * ''​new-sin2''​ - a decorated version of your earlier ''​new-sin''​ that fills in default parameters and enforces correct types for all parameters ​(this must be created using ''​default-parms''​ and ''​new-sin2'',​ not hand-coded)
  
 You will also chain these together to add both parameter type checking and default parameters to a function. You will also chain these together to add both parameter type checking and default parameters to a function.
cs330_f2016/rackethof2.txt ยท Last modified: 2021/06/30 23:42 (external edit)