Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

exalted.future

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

exalted.future - npm Package Compare versions

Comparing version 0.0.13 to 0.0.14

52

dist/index.umd.js

@@ -28,13 +28,13 @@ (function (global, factory) {

const Right = a => ({
ap: app => (app.isLeft ? app : app.map((b) => iff(b,a))),
ap: app => (app.isLeft ? app : app.map(b => iff(b, a))),
bimap: (_, r) => iff(r, a),
cata: (f = Identity) => f.Right(a),
chain: (f) => iff(f,a),
equals: r => eq(a,r),
fold: (f) => iff(f, a),
foldl: (f) => iff(f, null),
foldr: (f) => iff(f,a),
chain: f => iff(f, a),
equals: r => eq(a, r),
fold: f => iff(f, a),
foldl: f => iff(f, null),
foldr: f => iff(f, a),
inspect: () => 'Right(' + a + ')',
isLeft: false,
map: (f) => Right(iff(f,a)),
map: f => Right(iff(f, a)),
of: a => Right(a),

@@ -52,6 +52,6 @@ swap: () => Left(a)

map: () => Left(a),
equals: l => eq(a,l),
fold: (f) => iff(f,a),
foldl: (f ) => iff(f,a),
foldr: (f ) => iff(f, null),
equals: l => eq(a, l),
fold: f => iff(f, a),
foldl: f => iff(f, a),
foldr: f => iff(f, null),
inspect: () => 'Left(' + a + ')',

@@ -69,3 +69,3 @@ isLeft: true,

const encase = (f) => {
const encase = f => {
try {

@@ -121,10 +121,10 @@ return Right(iff(f, null))

const Id = a => ({
ap: app => app.map((f) => iff(f, a)),
bimap: (_, r) => iff(r,a),
ap: app => app.map(f => iff(f, a)),
bimap: (_, r) => iff(r, a),
cata: (f = Identity$1) => f.Right(a),
chain: (f ) => iff(f,a),
chain: f => iff(f, a),
equals: id => id.cata({ Right: b => a === b }),
fold: (f ) => iff(f,a),
foldl: (f ) => iff(f,null),
foldr: (f ) => iff(f,a),
fold: f => iff(f, a),
foldl: f => iff(f, null),
foldr: f => iff(f, a),
map: f => Id(iff(f, a)),

@@ -139,6 +139,6 @@ of: a => Id(a),

ap: () => Nothing(),
bimap: (l, _) => iff(l,null),
bimap: (l, _) => iff(l, null),
cata: (f = Identity$1) => f.Left(null),
chain: () => Nothing(),
alt: (f ) => Maybe(iff(f,null)),
alt: f => Maybe(iff(f, null)),
equals: id => id.cata({ Right: b => isNull(b) }),

@@ -157,12 +157,12 @@ fold: noop,

ap: app => app.map(f => f(a)),
bimap: (_, r) => iff(r,a),
bimap: (_, r) => iff(r, a),
cata: (f = Identity$1) => f.Right(a),
chain: (f) => iff(f,a),
chain: f => iff(f, a),
alt: () => Just(a),
equals: id => id.cata({ Right: b => a === b }),
fold: (f) => iff(f, a),
fold: f => iff(f, a),
foldl: noop,
foldr: (f) => iff(f, a),
foldr: f => iff(f, a),
inspect: () => 'Just(' + a + ')',
map: (f) => Maybe(iff(f, a)),
map: f => Maybe(iff(f, a)),
of: a => Maybe(a)

@@ -173,3 +173,3 @@ });

const encase$1 = (f) => {
const encase$1 = f => {
try {

@@ -176,0 +176,0 @@ return Maybe(iff(f, null))

{
"name": "exalted.future",
"version": "0.0.13",
"version": "0.0.14",
"description": "Exalted monadic library & functional fun, fantasy-land compliant, mostly.",

@@ -18,3 +18,5 @@ "repository": "https://github.com/pre63/exalted.future.git",

"pub": "rm -rf dist && yarn build && yarn publish",
"test": "node --experimental-vm-modules ./node_modules/.bin/jest --coverage"
"test": "jest ./ci/*",
"pretest": "yarn build",
"specs": "node --experimental-vm-modules ./node_modules/.bin/jest ./specs/* --coverage"
},

@@ -21,0 +23,0 @@ "devDependencies": {

@@ -0,1 +1,5 @@

![](https://badgen.net/bundlephobia/minzip/exalted.future)
![](https://badgen.net/bundlephobia/tree-shaking/exalted.future)
![](https://badgen.net/bundlephobia/dependency-count/exalted.future)
![](https://badgen.net/travis/exalted.future)
# exalted.future

@@ -2,0 +6,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc