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

From CSE425S Wiki
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
  
 
=Code to Implement=
 
=Code to Implement=
{{SMLToImplement|sum_scan|sum_scan_pattern|warmup_sum_scan_pattern}}
+
{{SMLToImplement|sum_scan_pattern|sum_scan|warmup_sum_scan_pattern}}
  
 
=Test=
 
=Test=
{{SMLUnitTest|sum_scan_pattern|warmup_sum_scan_pattern}}
+
{{SMLUnitTesting|run_sum_scan_pattern_testing|warmup_sum_scan_pattern}}

Latest revision as of 03:56, 5 September 2022

Reimplement Sum Scan with pattern matching.

Code to Implement

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

Test

source folder: src/test/sml/warmup_sum_scan_pattern
how to run with CM.make verbosity off: sml -Ccm.verbose=false run_sum_scan_pattern_testing.sml
how to run with CM.make verbosity on: sml run_sum_scan_pattern_testing.sml

note: ensure that you have removed all printing to receive credit for any assignment.

SML Error Messages