From 278aa0eb1aa29677b19526ab5a016ebcc9fd6468 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Thu, 27 Oct 2016 06:59:58 -0700 Subject: doc: update list of syntactic places. * txr.1: Listing last, butlast, nthlast, butlastn, ref, sub, hash-userdata, slot, qref, slot access dot notation, and sock peer. Redundant listing of rest removed. --- txr.1 | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/txr.1 b/txr.1 index 222d28f7..e3cf995b 100644 --- a/txr.1 +++ b/txr.1 @@ -11374,6 +11374,8 @@ defined by \*(TX programs. .mets (third << object ) .mets ... .mets (tenth << object ) +.mets (last << object <> [ num ]) +.mets (butlast << object <> [ num ]) .mets (cdr << object ) .mets (caar << object ) .mets (cadr << object ) @@ -11382,10 +11384,14 @@ defined by \*(TX programs. .mets ... .mets (cdddddr << object ) .mets (nthcdr < index << list ) -.mets (rest << object ) +.mets (nthlast < index << list ) +.mets (butlastn < num << list ) +.mets (ref < seq << idx ) +.mets (sub < sequence >> [ from <> [ to ]]) .mets (vecref < vec << idx ) .mets (chr-str < str << idx ) .mets (gethash < hash < key <> [ alt ]) +.mets (hash-userdata << hash ) .mets (dwim < obj-place < index <> [ alt ]) .mets >> [ obj-place < index <> [ alt ]] ;; equivalent to dwim .mets (symbol-value << symbol-valued-form ) @@ -11394,6 +11400,10 @@ defined by \*(TX programs. .mets (fun << function-name ) .mets (force << promise ) .mets (errno) +.mets (slot < struct-obj << slot-name-valued-form ) +.mets (qref < struct-obj << slot-name ) ;; by macro-expansion to (slot ...) +.mets < struct-obj . < slot-name ;; equivalent to qref +.mets (sock-peer << socket ) .cble .NP* Built-In Place-Mutating Operators -- cgit v1.2.3