1
0
mirror of https://github.com/janet-lang/janet synced 2025-10-22 19:27:43 +00:00

Quasiquoting bracketed tuples.

This commit is contained in:
Calvin Rose
2019-03-31 14:14:25 -04:00
parent 1709bce77e
commit e239980da7
7 changed files with 20 additions and 6 deletions

View File

@@ -88,4 +88,7 @@
(assert (deep= (drop-until pos? @[-1 -2 3]) @[3]) "drop-until 4")
(assert (deep= (drop-until pos? @[-1 1 -2]) @[1 -2]) "drop-until 5")
# Quasiquote bracketed tuples
(assert (= (tuple/type ~[1 2 3]) (tuple/type '[1 2 3])) "quasiquote bracket tuples")
(end-suite)