Adding more tests; new entries
This commit is contained in:
parent
5336b2f71a
commit
38a714b5c5
1
NEWS
1
NEWS
@ -2,6 +2,7 @@ Changes from Hy 0.9.4
|
|||||||
|
|
||||||
[ Syntax Fixes ]
|
[ Syntax Fixes ]
|
||||||
|
|
||||||
|
* Statements in the `fn' path early will not return anymore. (PT)
|
||||||
* Added "not" as the inline "not" operator. It's advised to still
|
* Added "not" as the inline "not" operator. It's advised to still
|
||||||
use "not-in" or "is-not" rather then nesting. (JD)
|
use "not-in" or "is-not" rather then nesting. (JD)
|
||||||
* `let' macro added (PT)
|
* `let' macro added (PT)
|
||||||
|
@ -445,7 +445,11 @@
|
|||||||
[y 2]]
|
[y 2]]
|
||||||
(if true
|
(if true
|
||||||
2)
|
2)
|
||||||
1))))
|
1)))
|
||||||
|
(assert (= 1 (let [[x 1] [y 2]]
|
||||||
|
(pass)
|
||||||
|
(pass)
|
||||||
|
((fn [] 1))))))
|
||||||
|
|
||||||
|
|
||||||
; FEATURE: native hy-eval
|
; FEATURE: native hy-eval
|
||||||
|
Loading…
x
Reference in New Issue
Block a user