bs-generators
Advanced tools
Comparing version 0.1.0 to 0.2.0
{ | ||
"name": "bs-generators", | ||
"description": "BuckleScript bindings to JavaScripts Generator objects", | ||
"version": "0.1.0", | ||
"version": "0.2.0", | ||
"scripts": { | ||
@@ -6,0 +6,0 @@ "build": "bsb -make-world", |
@@ -45,3 +45,3 @@ # bs-generators | ||
/* Create a generator - pretend this comes from the outside */ | ||
let jsGen: JsGenerator.jsFn(int) = [%raw "function *() { yield 1; yield 2; yield 3 }"]; | ||
let jsGen: JsGenerator.fnU(int) = [%raw "function *() { yield 1; yield 2; yield 3 }"]; | ||
let gen = jsGen(); | ||
@@ -48,0 +48,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
9961