// Generated by BUCKLESCRIPT VERSION 5.0.6, PLEASE EDIT WITH CARE


function create(x) {
  return /* record */[/* contents */x];
}

function access(r) {
  return r[/* contents */0] + 1 | 0;
}

function update(r) {
  r[/* contents */0] = r[/* contents */0] + 1 | 0;
  return /* () */0;
}

function get(r) {
  return r[/* contents */0];
}

function make(prim) {
  return /* record */[/* contents */prim];
}

function set(r, v) {
  r[/* contents */0] = v;
  return /* () */0;
}

var R = /* module */[
  /* get */get,
  /* make */make,
  /* set */set
];

function destroysRefIdentity(x) {
  return x;
}

function preserveRefIdentity(x) {
  return x;
}

export {
  create ,
  access ,
  update ,
  R ,
  get ,
  make ,
  set ,
  destroysRefIdentity ,
  preserveRefIdentity ,
  
}
/* No side effect */
