Skip to content

Commit 01b49c8

Browse files
committed
Rename interpretArray() to interpretList().
1 parent db5e88d commit 01b49c8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tinylisp.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
};
6565
};
6666

67-
var interpretArray = function(input, context) {
67+
var interpretList = function(input, context) {
6868
if (input[0].value in special) {
6969
return special[input[0].value](input, context);
7070
} else {
@@ -87,7 +87,7 @@
8787
if (context === undefined) {
8888
return interpret(input, new Context(library));
8989
} else if (input instanceof Array) {
90-
return interpretArray(input, context);
90+
return interpretList(input, context);
9191
} else if (input.type === "identifier") {
9292
return interpretIdentifier(input, context);
9393
} else { // literal

0 commit comments

Comments
 (0)