Comparing version 0.3.1 to 0.3.2
@@ -22,3 +22,3 @@ /** | ||
var bool_fn_applied_thrice = | ||
jsc.forall(jsc.fun(jsc.bool()), jsc.bool(), function (f, b) { | ||
jsc.forall(jsc.fn(jsc.bool()), jsc.bool(), function (f, b) { | ||
return f(f(f(b))) === f(b); | ||
@@ -94,3 +94,3 @@ }); | ||
var composite = require("./composite.js"); | ||
var fun = require("./fun.js"); | ||
var fn = require("./fn.js"); | ||
var combinator = require("./combinator.js"); | ||
@@ -282,3 +282,3 @@ var show = require("./show.js"); | ||
/// include ./composite.js | ||
/// include ./fun.js | ||
/// include ./fn.js | ||
/// include ./combinator.js | ||
@@ -314,3 +314,4 @@ | ||
array: composite.array, | ||
fun: fun.fun, | ||
fn: fn.fn, | ||
fun: fn.fn, | ||
suchthat: combinator.suchthat, | ||
@@ -317,0 +318,0 @@ nonshrink: combinator.nonshrink, |
{ | ||
"name": "jsverify", | ||
"description": "Property-based testing for JavaScript.", | ||
"version": "0.3.1", | ||
"version": "0.3.2", | ||
"homepage": "https://github.com/phadej/jsverify", | ||
@@ -33,4 +33,2 @@ "author": { | ||
"esprima": "~1.0.4", | ||
"grunt": "~0.4.1", | ||
"grunt-literate": "~0.1.1", | ||
"underscore": "~1.6.0", | ||
@@ -49,3 +47,4 @@ "lodash": "~2.4.1", | ||
"jshint": "~2.4.4", | ||
"istanbul": "~0.2.6" | ||
"istanbul": "~0.2.6", | ||
"ljs": "~0.2.0" | ||
}, | ||
@@ -52,0 +51,0 @@ "keywords": [ |
@@ -21,3 +21,3 @@ # JSVerify | ||
var bool_fn_applied_thrice = | ||
jsc.forall(jsc.fun(jsc.bool()), jsc.bool(), function (f, b) { | ||
jsc.forall(jsc.fn(jsc.bool()), jsc.bool(), function (f, b) { | ||
return f(f(f(b))) === f(b); | ||
@@ -139,6 +139,8 @@ }); | ||
#### fun (gen : generator a) : generator (b -> a) | ||
#### fn (gen : generator a) : generator (b -> a) | ||
Unary functions. | ||
_fun_ alias for _fn_ | ||
### Generator combinators | ||
@@ -206,2 +208,3 @@ | ||
- 0.3.2 `fun` → `fn` | ||
- 0.3.1 Documentation typo fixes | ||
@@ -208,0 +211,0 @@ - 0.3.0 Major changes |
33118
16
815
264