Difference between revisions of "Deep Lists Assignment"
Jump to navigation
Jump to search
(Created page with "=Code To Use= * [https://docs.racket-lang.org/reference/pairs.html#%28def._%28%28lib._racket%2Fprivate%2Flist..rkt%29._foldl%29%29 foldl] * [https://docs.racket-lang.org/refer...") |
|||
Line 1: | Line 1: | ||
+ | original inspiration for this warmup comes from [https://www.coursera.org/learn/programming-languages-part-b/supplement/EtJIy/extra-practice-problems Extra Practice Problems] | ||
+ | |||
=Code To Use= | =Code To Use= | ||
* [https://docs.racket-lang.org/reference/pairs.html#%28def._%28%28lib._racket%2Fprivate%2Flist..rkt%29._foldl%29%29 foldl] | * [https://docs.racket-lang.org/reference/pairs.html#%28def._%28%28lib._racket%2Fprivate%2Flist..rkt%29._foldl%29%29 foldl] |
Revision as of 06:39, 28 March 2022
original inspiration for this warmup comes from Extra Practice Problems
Contents
Code To Use
Code To Implement
file: | src/main/racket/deep_lists/deep_lists.rkt | ![]() |
functions: | deep-fold deep-flatten deep-sum deep-sum-numbers |
deep-fold
deep-flatten
deep-sum
deep-sum-numbers
Test
file: | deep_lists_test.rkt | ![]() |
source folder: | src/test/racket/deep_lists |
note: ensure that you have removed all printing to receive credit for any assignment.