Question: IN SML USE PATTERN MATCHING Implement a function lessThan that compares two fractions x and y and returns true if x is less than y
IN SML USE PATTERN MATCHING
Implement a function lessThan that compares two fractions x and y and returns true if x is less than y and returns false otherwise. For example,lessThan((2,3) (3,4)) returns true since 2/3 3/4
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
