This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
cs330_f2016:racketlists [2018/09/13 21:36] morse |
cs330_f2016:racketlists [2018/09/13 22:07] morse |
||
---|---|---|---|
Line 30: | Line 30: | ||
** | ** | ||
You must write all of these functions recursively (though you can use helper functions as needed). | You must write all of these functions recursively (though you can use helper functions as needed). | ||
+ | |||
You may not use higher-order functions like ''map'', ''filter'', or any of the variants of ''fold''. You may not use functions that use or return indices, such as ''index-of'' or ''list-ref''. | You may not use higher-order functions like ''map'', ''filter'', or any of the variants of ''fold''. You may not use functions that use or return indices, such as ''index-of'' or ''list-ref''. | ||
+ | |||
+ | You may not use anything that modifies a value in place such as ''set!'' or list-modification operators. | ||
+ | |||
** | ** | ||