summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2012-03-21 15:29:31 -0700
committerKaz Kylheku <kaz@kylheku.com>2012-03-21 15:29:31 -0700
commit0ab41f3caba2bb60a876a400dbd206e73c844b29 (patch)
treef4c35526362d14dbef74b7314eb473a8c3efe164
parent85370261a9c374e22ab6beadcc7c53663372f03e (diff)
downloadtxr-0ab41f3caba2bb60a876a400dbd206e73c844b29.tar.gz
txr-0ab41f3caba2bb60a876a400dbd206e73c844b29.tar.bz2
txr-0ab41f3caba2bb60a876a400dbd206e73c844b29.zip
* txr.1: Doc stubs for new functions floatp, integerp,
float-str, int-flo and flo-int. * txr.vim: Highlighting for new functions.
-rw-r--r--ChangeLog7
-rw-r--r--txr.16
-rw-r--r--txr.vim4
3 files changed, 14 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index f27fbf6d..de1ce0ca 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2012-03-21 Kaz Kylheku <kaz@kylheku.com>
+ * txr.1: Doc stubs for new functions floatp, integerp,
+ float-str, int-flo and flo-int.
+
+ * txr.vim: Highlighting for new functions.
+
+2012-03-21 Kaz Kylheku <kaz@kylheku.com>
+
* Makefile: link in -lm, which is needed now on some systems.
* arith.c (plus, minus): Eliminated some unnecessary (double) casts.
diff --git a/txr.1 b/txr.1
index a95f23b7..ab0fd70b 100644
--- a/txr.1
+++ b/txr.1
@@ -6649,7 +6649,7 @@ Certain object types have a custom equal function.
.SS Arithmetic function abs
-.SS Functions fixnump, bignump, numberp
+.SS Functions fixnump, bignump, integerp, floatp, numberp
.SS Functions zerop, evenp, oddp
@@ -6771,7 +6771,9 @@ Certain object types have a custom equal function.
.SS Function string-lt
-.SS Function int-str
+.SS Functions int-str and float-str
+
+.SS Functions int-flo and flo-int
.SS Function chrp
diff --git a/txr.vim b/txr.vim
index d80f24f5..0ec1dd72 100644
--- a/txr.vim
+++ b/txr.vim
@@ -44,6 +44,7 @@ syn keyword txl_keyword contained memq memql memqual tree-find some
syn keyword txl_keyword contained remq remql remqual
syn keyword txl_keyword contained all none eq eql equal + - * abs trunc mod
syn keyword txl_keyword contained expt exptmod sqrt gcd fixnump bignump
+syn keyword txl_keyword contained integerp floatp
syn keyword txl_keyword contained numberp zerop evenp oddp >
syn keyword txl_keyword contained zerop evenp oddp > < >= <= max min
syn keyword txl_keyword contained search-regex match-regex regsub
@@ -65,7 +66,8 @@ syn keyword txl_keyword contained mkstring copy-str upcase-str downcase-str stri
syn keyword txl_keyword contained stringp lazy-stringp length-str search-str search-str-tree
syn keyword txl_keyword contained sub-str cat-str split-str replace-str
syn keyword txl_keyword contained split-str-set list-str trim-str
-syn keyword txl_keyword contained string-lt int-str chrp chr-isalnum chr-isalpha
+syn keyword txl_keyword contained string-lt int-str flo-str int-flo flo-int
+syn keyword txl_keyword contained chrp chr-isalnum chr-isalpha
syn keyword txl_keyword contained chr-isascii chr-iscntrl chr-isdigit chr-isgraph
syn keyword txl_keyword contained chr-islower chr-isprint chr-ispunct chr-isspace chr-isupper
syn keyword txl_keyword contained chr-isxdigit chr-toupper chr-tolower chr-str