Comparing version 0.2.14 to 0.2.15
@@ -0,0 +0,0 @@ (function() { |
@@ -0,0 +0,0 @@ (function(){var _version="1.0.0",_style="Naive Recursion",root=this,lists={},l=lists,_=l._=undefined,b=bounce=function(f){while(f&&typeof f==="function")f=f.apply(f.context,f.args);return f},clone=function(xs){var arr=typeof xs==="string"?"":[];l.each(xs,function(x){arr.push(x)});return arr},notIt=function(xs,n){var arr=[];l.each(xs,function(x,i){if(i!=n)arr.push(xs[i])});return arr},excludeChar=function(cha,str){var res=[],t="";l.each(str,function(ch,i){if(ch==cha){res.push(t);t=""}else t+=ch}); |
{ | ||
"name": "lists", | ||
"version": "0.2.14", | ||
"version": "0.2.15", | ||
"description": "A library of higher-order functions modeled after Haskell's Data.List module", | ||
@@ -5,0 +5,0 @@ "main": "lists.min.js", |
@@ -884,3 +884,3 @@ # [ l [ i [ s ] t ] s ] | ||
lists.dropWhile([1,2,3,4], function(x){ return x < 3 }); /* [3,4] */ | ||
lists.dropWhile([1], function(x){ return x < 2 }); /* [2] */ | ||
lists.dropWhile([1], function(x){ return x < 2 }); /* [] */ | ||
lists.dropWhile('aabc', function(x){ return x =='a' }); /* ["b","c"] */ | ||
@@ -887,0 +887,0 @@ ``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
92777