How to use the @effectful/es.yldM function in @effectful/es

To help you get started, we’ve selected a few @effectful/es examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github awto / effectfuljs / test / samples / options / generators-out-ft.js View on Github external
function v_3(v_v, loop) {
  v_v.i = loop.value;
  return G.yldM(v_v.i + v_v.j, v_2, v_v, loop);
}
github awto / effectfuljs / test / samples / options / generators-out-fts.js View on Github external
function e1_5(b) {
  var a;
  a = eff(b);
  return G.yldM(a, G.pure);
}
github awto / effectfuljs / test / samples / options / generators-out-ft.js View on Github external
function f_2() {
  var a;
  a = eff(2);
  return G.yldM(a, f_3);
}
github awto / effectfuljs / test / samples / options / generators-out-ft.js View on Github external
function ag7_1(ag7_v) {
  var a;
  a = eff1(ag7_v.i);
  return G.yldM(a, ag7_2, ag7_v);
}
github awto / effectfuljs / test / samples / options / generators-out-fts.js View on Github external
function e1_2() {
  var a;
  a = eff(2);
  return G.yldM(a, e1_3);
}
github awto / effectfuljs / test / samples / options / generators-out-fts.js View on Github external
function ag7_1(i) {
  var a;
  a = eff1(i);
  return G.yldM(a, ag7_2, i);
}
github awto / effectfuljs / test / samples / options / generators-out-fts.js View on Github external
function ag3_7(i, loop) {
  var j;
  j = loop.value;
  return G.yldM(i + j, ag3_8, i, j, loop);
}