I have made a custom type and would like to create 2 variables that prove my type works as expected.
type number = A of int | B of float;;
let a = 0;;
let b = 0.0;;
How should I change the variable declarations to force them to type number
? Currently a is int and b is float.