2013-04-08 20:23:51 -04:00
|
|
|
;;;
|
|
|
|
;;;
|
|
|
|
|
2017-03-04 17:04:28 -08:00
|
|
|
(import [hy [HyExpression HySymbol HyString HyBytes]])
|
2013-04-08 20:23:51 -04:00
|
|
|
|
|
|
|
|
|
|
|
(defn test-basic-quoting []
|
2013-04-08 20:24:47 -04:00
|
|
|
(assert (= (type (quote (foo bar))) HyExpression))
|
2013-04-08 22:31:26 -04:00
|
|
|
(assert (= (type (quote foo)) HySymbol))
|
2017-03-04 17:04:28 -08:00
|
|
|
(assert (= (type (quote "string")) HyString))
|
|
|
|
(assert (= (type (quote b"string")) HyBytes)))
|