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