Idris-dev/jsrts/Runtime-node.js
2014-06-24 20:48:55 +02:00

18 lines
297 B
JavaScript

var i$putStr = (function() {
var util = require('util');
return function(s) {
util.print(s);
};
})();
var i$systemInfo = function(index) {
var os = require('os')
switch(index) {
case 0:
return "node";
case 1:
return os.platform();
}
return "";
}