List or quoted List
Posted: Thu May 29, 2014 11:36 pm
function map accept a quoted list as its seconds arguments:
(map inc '(1 2 3 4 5))
but above expression returned a list? or a quoted list? I think its should be a quoted list, because it could used with second map:
(map inc (map inc '(1 2 3 4)))
I don't know if it is a macro with map, but the expression with map is evaluted with some delay.
How to know a primitive function is macro or common function?
The evaluted order about primitive function? I know `eval` is first should be evaluate than `println`.
(map inc '(1 2 3 4 5))
but above expression returned a list? or a quoted list? I think its should be a quoted list, because it could used with second map:
(map inc (map inc '(1 2 3 4)))
I don't know if it is a macro with map, but the expression with map is evaluted with some delay.
How to know a primitive function is macro or common function?
The evaluted order about primitive function? I know `eval` is first should be evaluate than `println`.