Skip to content

Commit d10c909

Browse files
committed
EmuLisp: fake 'seed function.
1 parent 464e770 commit d10c909

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

emulisp/emulisp_core.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1349,6 +1349,7 @@ var coreFunctions = {
13491349
"run": function(c) { var cv = evalLisp(c.car);
13501350
return (cv instanceof Cell) ? prog(cv) : cv; // TODO: binding env. offset cnt
13511351
},
1352+
"seed": function(c) { return rand(NIL, 2147483648); }, // not std. PicoLisp
13521353
"send": function(c) { var m = evalLisp(c.car), t = evalLisp(c.cdr.car);
13531354
TheKey = m; TheCls = null;
13541355
console.log("send #1: %s, %s", lispToStr(t), lispToStr(m));

0 commit comments

Comments
 (0)