
var lists = require('./list');

if (typeof cljs == 'undefined')
    cljs = {};
    
if (typeof cljs.core == 'undefined')
    cljs.core = {};
    
cljs.core.list = function () {
    return lists.create(arguments);
}

cljs.core.first = function (list) { return list.first(); }

cljs.core.next = function (list) { return list.next(); }

cljs.core.cons = function (first, next) { return lists.list(first, next); }

cljs.core.println = function () {
    var result = '';
    
    for (var k = 0; k < arguments.length; k++)
        result += arguments[k].toString();
}

cljs.core.to_HY_object = function (value) {
    if (value == null)
        return [];
        
    return value.asObject();
}



var lists = require('./list');

if (typeof cljs == 'undefined')
    cljs = {};
    
if (typeof cljs.core == 'undefined')
    cljs.core = {};
    
cljs.core.list = function () {
    return lists.create(arguments);
}

cljs.core.first = function (list) { return list.first(); }

cljs.core.next = function (list) { return list.next(); }

cljs.core.cons = function (first, next) { return lists.list(first, next); }

cljs.core.println = function () {
    var result = '';
    
    for (var k = 0; k < arguments.length; k++)
        result += arguments[k].toString();
        
    console.log(result);
}

cljs.core.to_HY_object = function (value) {
    if (value == null)
        return [];
        
    return value.asObject();
}


Fix println to use console.log
Fix println to use console.log
