Is Strictly Ascending Assignment
Revision as of 06:24, 26 January 2022 by Dennis.cosgrove (talk | contribs) (Created page with "=Code to Implement= {{SMLToImplement|is_strictly_ascending|is_strictly_ascending|warmup_is_strictly_ascending}} ==is_strictly_ascending== Write a function fun is_strictly_...")
Code to Implement
file: | src/main/sml/warmup_is_strictly_ascending/is_strictly_ascending.sml | |
functions: | is_strictly_ascending |
is_strictly_ascending
Write a function
fun is_strictly_ascending(xs : int list) : bool
which returns true if every value in xs
is strictly less than all of the values which follow it.
Test
file: | unit_test_is_strictly_ascending.sml | |
source folder: | src/test/sml/warmup_is_strictly_ascending |