let disjoint d1 d2 =
  match d1, d2 with
    | IntNonint -> true
    | NonintInt -> true
    | _ -> false