// Generated by ReScript, PLEASE EDIT WITH CARE

import * as Primitive_option from "@rescript/runtime/lib/es6/Primitive_option.mjs";

function boolean(val1, val2) {
  if (val2 || val1) {
    return "a";
  } else {
    return "b";
  }
}

function $$null(val1, val2) {
  let a = Primitive_option.some(val1);
  let b = Primitive_option.some(val2);
  let tmp = Primitive_option.valFromOption(b);
  if (tmp !== null && tmp !== undefined) {
    return "a";
  }
  tmp === null;
  let tmp$1 = Primitive_option.valFromOption(a);
  if (tmp$1 == null) {
    return "b";
  } else {
    return "a";
  }
}

function constant() {
  console.log(42);
}

function param(opt) {
  console.log(opt);
}

export {
  boolean,
  $$null,
  constant,
  param,
}
/* No side effect */
