// Generated by ReScript, PLEASE EDIT WITH CARE

import * as React from "react";

function dd() {
  throw {
    RE_EXN_ID: "Not_found",
    Error: new Error()
  };
}

let h = sum(1.0, 2.0);

let M = {
  sum: (prim0, prim1) => sum(prim0, prim1)
};

let hh = M.sum(1.0, 2.0);

function tg(arr) {
  return arr[0];
}

let tc = Object.assign({}, "abc");

let te = {
  RE_EXN_ID: "Not_found"
};

let tcr = {};

function tsiC(c) {
  c.increment = function (amount) {
    let me = this ;
    console.log(me);
  };
}

function tsiU(c) {
  c.increment = function (amount) {
    let me = this ;
    console.log(me);
  };
}

let match = React.useState(() => 3);

let StandardNotation_get = match[0];

let StandardNotation_set = match[1];

let StandardNotation = {
  dd: dd,
  h: h,
  M: M,
  hh: hh,
  tg: tg,
  tc: tc,
  te: te,
  tcr: tcr,
  tsiC: tsiC,
  tsiU: tsiU,
  get: StandardNotation_get,
  set: StandardNotation_set
};

function methodWithAsync(param) {
  let $$this = this ;
  return (async arg => $$this + arg | 0)(param);
}

let p1 = {
  watch: async function (name, ev) {
    let pc = this ;
    console.log(pc);
  }
};

let AsyncMethod = {
  p1: p1
};

export {
  StandardNotation,
  methodWithAsync,
  AsyncMethod,
}
/* h Not a pure module */
