Skip to content

Commit c8abe6f

Browse files
committed
Switch to immutable sets.
Signed-off-by: Edward Z. Yang <[email protected]>
1 parent b89308e commit c8abe6f

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

lib/eval.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
var Expr = require('./expr');
2-
var Set = require('set');
2+
var Set = require('immutable').Set;
33

44

55
// This is basically an interactive tutorial you can run

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
"dependencies": {
1010
"adt" : "~0.7.2",
1111
"parsimmon" : "~0.5.1",
12-
"set" : "~1.1.1",
13-
"util-is" : "~0.1.0"
12+
"util-is" : "~0.1.0",
13+
"immutable": "~2.0.17"
1414
},
1515
"author": "Deian Stefan <[email protected]> (http://deian.net/)",
1616
"license": "MIT"

setup.js

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11

22
var Expr = require('./lib/expr');
3+
var Set = require('immutable').Set;
34

45
var t1 = Expr.parse('(/x. y) ((/x. x x) (/y. y))');
56
var t2 = Expr.parse('(/x. (/y. x y)) (/x. (x y) z)');

0 commit comments

Comments
 (0)