Difference between revisions of "Sum Scan With Pattern Matching Assignment"

From CSE425S Wiki
Jump to navigation Jump to search
Line 2: Line 2:
  
 
=Code to Implement=
 
=Code to Implement=
{{SMLToImplement|sum_scan_pattern|sum_scan_pattern|warmup_sum_scan_pattern}}
+
{{SMLToImplement|sum_scan|sum_scan_pattern|warmup_sum_scan_pattern}}
 +
 
 
=Test=
 
=Test=
 
{{SMLUnitTest|sum_scan_pattern|warmup_sum_scan_pattern}}
 
{{SMLUnitTest|sum_scan_pattern|warmup_sum_scan_pattern}}

Revision as of 03:55, 5 September 2022

Reimplement Sum Scan with pattern matching.

Code to Implement

file: src/main/sml/warmup_sum_scan_pattern/sum_scan.sml Smlnj-logo.png
functions: sum_scan_pattern

Test

file: unit_test_sum_scan_pattern.sml
source folder: src/test/sml/warmup_sum_scan_pattern