summaryrefslogtreecommitdiffstats
path: root/txr.1
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2016-09-23 06:54:31 -0700
committerKaz Kylheku <kaz@kylheku.com>2016-09-23 06:54:31 -0700
commit158f99b41bc0b75b6f571fc4f87f020ef80268ca (patch)
tree2e7c80d141d3e3161a88a2295f7b7f0458ecb71c /txr.1
parentb12a4384cee002a9c9d82e34de1838bfe7d80429 (diff)
downloadtxr-158f99b41bc0b75b6f571fc4f87f020ef80268ca.tar.gz
txr-158f99b41bc0b75b6f571fc4f87f020ef80268ca.tar.bz2
txr-158f99b41bc0b75b6f571fc4f87f020ef80268ca.zip
Switch regex type from sys:regex to regex.
The sys:regex internal symbol was historically used when derivative-based regexes had a S-exp representation headed by that symbol. It had to be a private symbol. Now the regex symbol is only used as the COBJ class type for regexes; it makes no sense for it to be in the sys package. We want user code to be able to refer to this type using a public symbol. * lib.c (obj_init): Intern the regex symbol stored in regex_s in user_package. * txr.1: Include regex in the type graph in the Object Type section, and in the type list under the typeof function.
Diffstat (limited to 'txr.1')
-rw-r--r--txr.15
1 files changed, 5 insertions, 0 deletions
diff --git a/txr.1 b/txr.1
index 3a6bf27a..58506358 100644
--- a/txr.1
+++ b/txr.1
@@ -14644,6 +14644,8 @@ brackets indicate a plurality of types which are not listed by name:
| |
| +--- random-state
| |
+ | +--- regex
+ | |
| +--- struct-type
| |
| +--- <structures>
@@ -14800,6 +14802,9 @@ Hash table.
.coIP stream
I/O stream of any kind.
+.coIP regex
+Regular expression object.
+
.coIP struct-type
A structure type: the type of any one of the values which represents
a structure type.