summaryrefslogtreecommitdiffstats
path: root/txr.vim
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2012-03-16 21:43:51 -0700
committerKaz Kylheku <kaz@kylheku.com>2012-03-16 21:43:51 -0700
commit8bb336298d0bf4e165fa03f7f2a219ddad6e466f (patch)
tree2b102c6c3fd927a4589b4b1cf75099c9cdc97384 /txr.vim
parent5e765926b07b544f9dd4860af5f0e669432434ea (diff)
downloadtxr-8bb336298d0bf4e165fa03f7f2a219ddad6e466f.tar.gz
txr-8bb336298d0bf4e165fa03f7f2a219ddad6e466f.tar.bz2
txr-8bb336298d0bf4e165fa03f7f2a219ddad6e466f.zip
* eval.c (eval_init): New intrinsic functions
chain, andf, orf, iff. * lib.c (chainv): New function. (do_and, do_or): Generalized to handle functions of any arguments via apply. (andf, orf): Turn do_and and do_or into variadic function instead of a monadic function. (do_iff): New static function. (andv, orv, iff): New functions. * lib.h (chainv, andv, orv, iff): New functions declared. * txr.1: Doc stubs created. * txr.vim: Updated.
Diffstat (limited to 'txr.vim')
-rw-r--r--txr.vim3
1 files changed, 2 insertions, 1 deletions
diff --git a/txr.vim b/txr.vim
index dad23da2..d80f24f5 100644
--- a/txr.vim
+++ b/txr.vim
@@ -49,7 +49,8 @@ syn keyword txl_keyword contained zerop evenp oddp > < >= <= max min
syn keyword txl_keyword contained search-regex match-regex regsub
syn keyword txl_keyword contained make-hash hash hash-construct gethash sethash pushhash remhash
syn keyword txl_keyword contained hash-count get-hash-userdata set-hash-userdata hashp maphash
-syn keyword txl_keyword contained hash-eql hash-equal eval *stdout* *stdin* *stddebug*
+syn keyword txl_keyword contained hash-eql hash-equal eval chain andf orf iff
+syn keyword txl_keyword contained *stdout* *stdin* *stddebug*
syn keyword txl_keyword contained *stderr* format print pprint tostring tostringp
syn keyword txl_keyword contained make-string-input-stream
syn keyword txl_keyword contained make-string-byte-input-stream make-string-output-stream