Make "not" a builtin function rather than syntax.

Fixes a really awkward grammar issue.
This commit is contained in:
Stephen Dolan committed 2012-09-17 21:08:43 +01:00
1 parent 297a0679d1
commit 830610cef8
6 files changed
+10 -14

No files matched your search

+1 -1
View File
@@ -331,6 +331,6 @@ def inc(x): x |= .+1; inc(.[].a)
[false,true]
[false,false]
[.[] | not .]
[.[] | not]
[1,0,false,null,true,"hello"]
[false,false,true,true,false,false]