let disting v =
match v with
| int -> (*expression1*)
| bool -> (*expression2*)
| _ -> (*expression3*)
Whenever I run the code, disting true and disting false also turns out expression1. The result is vice versa with this code
let disting v =
match v with
| bool -> (*expression2*)
| int -> (*expression1*)
| _ -> (*expression3*)
This one also have similar problem. How can I get the result I want?