How to use the @effectful/es.pure 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-fts.js View on Github external
function ag2_3(loop) {
  var a;
  if (!a.done) return ag2_4(loop);else return G.pure();
}
github awto / effectfuljs / test / samples / options / generators-out-ft.js View on Github external
function ag1_3(loop, ag1_v, _ag1_v) {
  var a;
  if (!a.done) return ag1_4(ag1_v, _ag1_v, loop);else return G.pure();
}
github awto / effectfuljs / test / samples / options / generators-out-fts.js View on Github external
function ag3_6(loop, i) {
  var a;
  if (!a.done) return ag3_7(i, loop);else {
    return G.pure(i);
  }
}