// Generated by ReScript, PLEASE EDIT WITH CARE


function isWeekend(x) {
  if (x === "sunday") {
    return true;
  } else {
    return x === "saturday";
  }
}

function onlySunday(param) {
  
}

function swap(x) {
  if (x === "sunday") {
    return "saturday";
  } else {
    return "sunday";
  }
}

function testConvert(x) {
  return x;
}

function testConvert2(x) {
  return x;
}

function testConvert3(x) {
  return x;
}

function testConvert2to3(x) {
  return x;
}

function id1(x) {
  return x;
}

function id2(x) {
  return x;
}

function polyWithOpt(foo) {
  if (foo === "bar") {
    return ;
  } else if (foo !== "baz") {
    return {
            NAME: "One",
            VAL: foo
          };
  } else {
    return {
            NAME: "Two",
            VAL: 1
          };
  }
}

function restResult1(x) {
  return x;
}

function restResult2(x) {
  return x;
}

function restResult3(x) {
  return x;
}

var monday = "monday";

var saturday = "saturday";

var sunday = "sunday";

var fortytwoOK = "fortytwo";

var fortytwoBAD = "fortytwo";

export {
  isWeekend ,
  monday ,
  saturday ,
  sunday ,
  onlySunday ,
  swap ,
  testConvert ,
  fortytwoOK ,
  fortytwoBAD ,
  testConvert2 ,
  testConvert3 ,
  testConvert2to3 ,
  id1 ,
  id2 ,
  polyWithOpt ,
  restResult1 ,
  restResult2 ,
  restResult3 ,
}
/* No side effect */
