Question: New to Ocaml, suppose to implement a function which takes two tuples (a,b) (c,d) and determine if a/b equal to c/d. abcd are all int.
New to Ocaml,
suppose to implement a function which takes two tuples (a,b) (c,d) and determine if a/b equal to c/d. abcd are all int. Stuck on the point that a/b , c/d are different type...
Can someone help me implement this small piece of code in Ocaml?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
