Ohm-Management - Projektarbeit B-ME
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

CHANGELOG.md 3.9KB

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