prelude-ls
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -164,3 +164,3 @@ // Generated by LiveScript 1.2.0 | ||
prelude.lcm = Num.lcm; | ||
prelude.VERSION = '1.1.0'; | ||
prelude.VERSION = '1.1.1'; | ||
module.exports = prelude; | ||
@@ -167,0 +167,0 @@ function curry$(f, bound){ |
@@ -103,3 +103,3 @@ // Generated by LiveScript 1.2.0 | ||
}; | ||
uniqueBy = function(f, xs){ | ||
uniqueBy = curry$(function(f, xs){ | ||
var seen, i$, len$, x, val, results$ = []; | ||
@@ -117,3 +117,3 @@ seen = []; | ||
return results$; | ||
}; | ||
}); | ||
fold = foldl = curry$(function(f, memo, xs){ | ||
@@ -380,3 +380,3 @@ var i$, len$, x; | ||
}); | ||
minimumBy = function(f, xs){ | ||
minimumBy = curry$(function(f, xs){ | ||
var min, i$, ref$, len$, x; | ||
@@ -391,3 +391,3 @@ min = xs[0]; | ||
return min; | ||
}; | ||
}); | ||
scan = scanl = curry$(function(f, memo, xs){ | ||
@@ -394,0 +394,0 @@ var last, x; |
@@ -43,8 +43,8 @@ // Generated by LiveScript 1.2.0 | ||
}); | ||
objToLists = function(objectect){ | ||
objToLists = function(object){ | ||
var keys, values, key, value; | ||
keys = []; | ||
values = []; | ||
for (key in objectect) { | ||
value = objectect[key]; | ||
for (key in object) { | ||
value = object[key]; | ||
keys.push(key); | ||
@@ -51,0 +51,0 @@ values.push(value); |
{ | ||
"name": "prelude-ls", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"author": "George Zahariev <z@georgezahariev.com>", | ||
@@ -5,0 +5,0 @@ "description": "prelude.ls is a functionally oriented utility library. It is powerful and flexible. Almost all of its functions are curried. It is written in, and is the recommended base library for, LiveScript.", |
31167