To Squares With Functions Assignment

From CSE425S Wiki
Revision as of 14:44, 30 August 2024 by Dennis.cosgrove (talk | contribs) (Created page with "=Functions to Use= ==[https://smlfamily.github.io/Basis/list.html List Structure]== * [https://smlfamily.github.io/Basis/list.html#SIG:LIST.null:VAL null] * [https://smlfamily...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Functions to Use

List Structure

Code to Implement

file: src/main/sml/warmup_squares_fun/my_length.sml Smlnj-logo.png
functions: to_squares

to_squares

fun to_squares(xs : int list) : int list =
	raise Fail "NotYetImplemented"

Test

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

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

SML Error Messages