Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

format readme

  • Loading branch information...
commit b00b9733d25b3f5e2f0fbb91ca29342d5d3de18e 1 parent 502c818
@dominictarr authored
Showing with 9 additions and 9 deletions.
  1. +9 −9 README.md
View
18 README.md
@@ -3,25 +3,25 @@ CURRY
=====
#curry function without anything *too clever*
-# ... because hunger is the finest spice
+_(... because hunger is the finest spice)_
-
-can curry left an right and pass in a context object in one easy call:
-wrap you curry args in Arrays
+can curry left an right and pass in a context object in one easy call.
var fn = curry([left],function,[right],self)
-
-calling `fn(x)` will stick x in between left and right curry ingredients.
-# *left* and *right* are _*Arrays*_, and are _optional_.
+wrap your curry args in Arrays
+
+calling `fn(x)` will stick `x` in between left and right curry ingredients.
+
+*left* and *right* are _*Arrays*_, and are _optional_.
i.e.
- var fn = curry(funx,[1,2,3])
+ var fn = curry(funx,[1,2,3])
is the same as
- var fn = curry([],funx,[1,2,3])
+ var fn = curry([],funx,[1,2,3])
this makes `fn(X)` call `funx(X,1,2,3)`
Please sign in to comment.
Something went wrong with that request. Please try again.