1
1
mirror of https://github.com/kanaka/mal.git synced 2024-09-21 10:37:58 +03:00
mal/perl/tests/stepA_mal.mal
Joel Martin 90f618cbe7 All: rename stepA_interop to stepA_mal
Also, add missed postscript interop tests.
2015-02-28 11:09:54 -06:00

23 lines
248 B
Plaintext

;; Testing types returned from pl*
(pl* "123")
;=>123
(pl* "\"abc\"")
;=>"abc"
(pl* "{'abc'=>123}")
;=>{"abc" 123}
(pl* "['abc', 123]")
;=>("abc" 123)
(pl* "2+3")
;=>5
;; Testing eval of print statement
(pl* "print 'hello\n';")
; hello
;=>1