Difference between revisions of "Sum Scan With Pattern Matching Assignment"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
Reimplement [[Sum_Scan_Assignment|Sum Scan]] with pattern matching. | Reimplement [[Sum_Scan_Assignment|Sum Scan]] with pattern matching. | ||
+ | |||
+ | =Code to Implement= | ||
+ | {{SMLToImplement|sum_scan_pattern|sum_scan_pattern|warmup_sum_scan_pattern}} | ||
+ | =Test= | ||
+ | {{SMLUnitTest|sum_scan_pattern|warmup_sum_scan_pattern}} |
Revision as of 15:23, 31 January 2022
Reimplement Sum Scan with pattern matching.
Code to Implement
file: | src/main/sml/warmup_sum_scan_pattern/sum_scan_pattern.sml | ![]() |
functions: | sum_scan_pattern |
Test
file: | unit_test_sum_scan_pattern.sml | |
source folder: | src/test/sml/warmup_sum_scan_pattern |