about summary refs log tree commit diff stats
path: root/js/b/b.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/b/b.js')
-rw-r--r--js/b/b.js16
1 files changed, 8 insertions, 8 deletions
diff --git a/js/b/b.js b/js/b/b.js
index ee33eef..04959c4 100644
--- a/js/b/b.js
+++ b/js/b/b.js
@@ -20,17 +20,17 @@
 //
 */
 
-// b is for useful stuff 
+// b is for useful stuff
 
-// pipe: Runs functions from left to right.
-// compose: Runs functions from right to left.
-// identity: Returns whatever you give it as is.
-// curry: Converts a function to its curried form.
+// curry: Converts a function to its curried form, allowing for partial application.
+// pipe: Runs functions from left to right, passing the result of one to the next.
+// compose: Runs functions from right to left, passing the result of one to the next.
+// identity: Returns whatever you give it as is. Useful for composition...sometimes.
 // match: Creates a curried function to match a regular expression in a string.
-// replace: Creates a curried function to replace parts of a string.
-// filter: Curried array filtering.
+// replace: Creates a curried function to replace parts of a string, based on a regex or substring.
+// filter: Curried array filtering by a predicate function.
 // map: Curried array mapping.
-// deepMap: Curried recursive mapping for nested arrays or matrices.
+// deepMap: Curried recursive mapping for nested arrays or matrices, of any shape.
 
 'use strict'