remove duplicated command print

This commit is contained in:
Quentin Leonetti 2019-07-13 21:17:34 +02:00
parent 56402870fc
commit 578efdd523
3 changed files with 9 additions and 13 deletions

View File

@ -24,10 +24,6 @@ function Library (ronin) {
// TODO: Closes Ronin // TODO: Closes Ronin
} }
this.print = (...args) => {
console.log(...args)
}
// Logic // Logic
this.gt = (a, b) => { this.gt = (a, b) => {

View File

@ -1,11 +1,11 @@
(print (map (lambda (a) (add a 1)) (1 2 3))) (echo (map (lambda (a) (add a 1)) (1 2 3)))
( (
(print (first (1 2 3))) (echo (first (1 2 3)))
(print (rest (1 2 3))) (echo (rest (1 2 3)))
) )
(print (echo
(filter (filter
(lambda (a) (eq 0 (mod a 2))) (lambda (a) (eq 0 (mod a 2)))
(1 2 3 4 5)) (1 2 3 4 5))

View File

@ -1,11 +1,11 @@
( (
(print (lt 3 4)) (echo (lt 3 4))
(print (and 1 2 true 4)) (echo (and 1 2 true 4))
(print (and 1 false 2)) (echo (and 1 false 2))
(print (or false false 2 false)) (echo (or false false 2 false))
(if (gt 1 2) (print "ok") (print "not ok")) (if (gt 1 2) (echo "ok") (echo "not ok"))
) )