How to use the @effectful/core.Kit function in @effectful/core

To help you get started, we’ve selected a few @effectful/core 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 / packages / es / options.js View on Github external
/* eslint-disable no-console */
const C = require("@effectful/core");
const config = C.config;
const Policy = C.Policy;
const T = C.Transform;
const Tag = C.Tag;
const Kit = C.Kit;

const rebind = {
  all: {
    presetsImportPattern: false,
    directives: false,
    bindCalls: null,
    reuseImports: false
  },
  effectful: {
    scopeContext: true,
    contextMethodOps: true,
    markRepeat: false,
    markBindValue: false,
    markCatchCont: false,
    markArgNum: false,
    markErrorCont: false,

@effectful/core

Embedding effects in JavaScript using Monads

MIT
Latest version published 9 months ago

Package Health Score

56 / 100
Full package analysis