New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

akh

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

akh - npm Package Compare versions

Comparing version 0.7.1 to 0.8.0

tests/lift_inner.js

16

dist_node/structure.js

@@ -66,4 +66,18 @@ /*

}));
(Transformer = (function(instance, lift) {
var liftInner = (function(lift, outer, inner) {
if (inner.liftInner)(outer.liftInner = liftInner(lift, (function(f, g) {
return (function(x) {
return f(g(x));
});
})(lift, inner.liftInner), inner.liftInner));
return outer;
});
(Transformer = (function(instance, m, lift) {
(instance.inner = (instance.prototype.inner = m));
(instance.lift = (instance.prototype.lift = lift));
if (m.lift)(instance.liftInner = (instance.prototype.liftInner = liftInner(lift, (function(f, g) {
return (function(x) {
return f(g(x));
});
})(lift, m.lift), m)));
return instance;

@@ -70,0 +84,0 @@ }));

5

dist_node/trampoline.js

@@ -38,6 +38,3 @@ /*

})), (function(c, f) {
return (((c instanceof Chain) && false) ? new(Chain)(c.c, (function(x) {
return c.f(x)
.chain(f);
})) : new(Chain)(c, f));
return new(Chain)(c, f);
}));

@@ -44,0 +41,0 @@ (Trampoline.thunk = (function(k, x) {

@@ -35,3 +35,3 @@ /*

}));
Transformer(Instance, (function(t) {
Transformer(Instance, m, (function(t) {
return new(Instance)((function(k) {

@@ -38,0 +38,0 @@ return t.chain((function(f, g) {

@@ -104,3 +104,3 @@ /*

}));
Transformer(Instance, (function(t) {
Transformer(Instance, m, (function(t) {
return new(Instance)((function(k) {

@@ -107,0 +107,0 @@ return M.lift(t.map(trampoline))

@@ -48,3 +48,3 @@ /*

}));
Transformer(Instance, (function(t) {
Transformer(Instance, m, (function(t) {
return new(Instance)(t.chain((function(x) {

@@ -51,0 +51,0 @@ return m.of(Right(x));

@@ -34,3 +34,3 @@ /*

}));
Transformer(Instance, ((x0 = Instance), (function(y) {
Transformer(Instance, m, ((x0 = Instance), (function(y) {
return new(x0)(y);

@@ -37,0 +37,0 @@ })));

@@ -52,3 +52,3 @@ /*

}));
Transformer(Instance, (function(t) {
Transformer(Instance, m, (function(t) {
return new(Instance)(liftM((function(x) {

@@ -55,0 +55,0 @@ return [x];

@@ -67,3 +67,3 @@ /*

}));
Transformer(Instance, (function(t) {
Transformer(Instance, m, (function(t) {
return new(Instance)((function(s) {

@@ -70,0 +70,0 @@ return Trampoline.of(t.chain((function(x) {

{
"name": "akh",
"version": "0.7.1",
"version": "0.8.0",
"description": "Monad and Monad Transformer Collection",

@@ -5,0 +5,0 @@ "author": "Matt Bierner",

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