CHANGELOG.md
1 # 1.1.2 2 - add `Func.memoize` 3 - fix `zip-all` and `zip-with-all` corner case (no input) 4 - build with LiveScript 1.4.0 5 6 # 1.1.1 7 - curry `unique-by`, `minimum-by` 8 9 # 1.1.0 10 - added `List` functions: `maximum-by`, `minimum-by`, `unique-by` 11 - added `List` functions: `at`, `elem-index`, `elem-indices`, `find-index`, `find-indices` 12 - added `Str` functions: `capitalize`, `camelize`, `dasherize` 13 - added `Func` function: `over` - eg. ``same-length = (==) `over` (.length)`` 14 - exported `Str.repeat` through main `prelude` object 15 - fixed definition of `foldr` and `foldr1`, the new correct definition is backwards incompatible with the old, incorrect one 16 - fixed issue with `fix` 17 - improved code coverage 18 19 # 1.0.3 20 - build browser versions 21 22 # 1.0.2 23 - bug fix for `flatten` - slight change with bug fix, flattens arrays only, not array-like objects 24 25 # 1.0.1 26 - bug fixes for `drop-while` and `take-while` 27 28 # 1.0.0 29 * massive update - separated functions into separate modules 30 * functions do not accept multiple types anymore - use different versions in their respective modules in some cases (eg. `Obj.map`), or use `chars` or `values` in other cases to transform into a list 31 * objects are no longer transformed into functions, simply use `(obj.)` in LiveScript to do that 32 * browser version now using browserify - use `prelude = require('prelude-ls')` 33 * added `compact`, `split`, `flatten`, `difference`, `intersection`, `union`, `count-by`, `group-by`, `chars`, `unchars`, `apply` 34 * added `lists-to-obj` which takes a list of keys and list of values and zips them up into an object, and the converse `obj-to-lists` 35 * added `pairs-to-obj` which takes a list of pairs (2 element lists) and creates an object, and the converse `obj-to-pairs` 36 * removed `cons`, `append` - use the concat operator 37 * removed `compose` - use the compose operator 38 * removed `obj-to-func` - use partially applied access (eg. `(obj.)`) 39 * removed `length` - use `(.length)` 40 * `sort-by` renamed to `sort-with` 41 * added new `sort-by` 42 * removed `compare` - just use the new `sort-by` 43 * `break-it` renamed `break-list`, (`Str.break-str` for the string version) 44 * added `Str.repeat` which creates a new string by repeating the input n times 45 * `unfold` as alias to `unfoldr` is no longer used 46 * fixed up style and compiled with LiveScript 1.1.1 47 * use Make instead of Slake 48 * greatly improved tests 49 50 # 0.6.0 51 * fixed various bugs 52 * added `fix`, a fixpoint (Y combinator) for anonymous recursive functions 53 * added `unfoldr` (alias `unfold`) 54 * calling `replicate` with a string now returns a list of strings 55 * removed `partial`, just use native partial application in LiveScript using the `_` placeholder, or currying 56 * added `sort`, `sortBy`, and `compare` 57 58 # 0.5.0 59 * removed `lookup` - use (.prop) 60 * removed `call` - use (.func arg1, arg2) 61 * removed `pluck` - use map (.prop), xs 62 * fixed buys wtih `head` and `last` 63 * added non-minifed browser version, as `prelude-browser.js` 64 * renamed `prelude-min.js` to `prelude-browser-min.js` 65 * renamed `zip` to `zipAll` 66 * renamed `zipWith` to `zipAllWith` 67 * added `zip`, a curried zip that takes only two arguments 68 * added `zipWith`, a curried zipWith that takes only two arguments 69 70 # 0.4.0 71 * added `parition` function 72 * added `curry` function 73 * removed `elem` function (use `in`) 74 * removed `notElem` function (use `not in`) 75 76 # 0.3.0 77 * added `listToObject` 78 * added `unique` 79 * added `objToFunc` 80 * added support for using strings in map and the like 81 * added support for using objects in map and the like 82 * added ability to use objects instead of functions in certain cases 83 * removed `error` (just use throw) 84 * added `tau` constant 85 * added `join` 86 * added `values` 87 * added `keys` 88 * added `partial` 89 * renamed `log` to `ln` 90 * added alias to `head`: `first` 91 * added `installPrelude` helper 92 93 # 0.2.0 94 * removed functions that simply warp operators as you can now use operators as functions in LiveScript 95 * `min/max` are now curried and take only 2 arguments 96 * added `call` 97 98 # 0.1.0 99 * initial public release