Fork me on GitHub
#beginners
<
2015-12-20
>
Tim01:12:16

how come this returns nil?

lisp-interpreter.server=> (keyword (list 'x))
nil

seancorfield04:12:33

@tmtwd: If you do (source keyword) you'll see why: it only processes strings, symbols, and keywords -- for everything else it returns nil.

Tim20:12:38

@seancorfield: yeah, good point, I should’ve checked