From 83cca68f449d207c2a8862e3ef3a6e815cb02e91 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Fri, 22 Apr 2022 21:00:50 -0700 Subject: cons man page: tweak optional arg syntax. --- cppawk-cons.1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cppawk-cons.1 b/cppawk-cons.1 index 049d802..86393c1 100644 --- a/cppawk-cons.1 +++ b/cppawk-cons.1 @@ -85,8 +85,8 @@ cons \- Lisp-like data representation and control flow macros nthcdr(\fIi\fP, \fIx\fP) \fI// suffix of x starting at i-th item\fP ldiff(\fIx\fP, \fIy\fP) \fI// prefix of x omitting suffix y.\fP - last(\fIx\fP, [\fIn\fP]) \fI// suffix of x of length n, defaulting to 1.\fP - butlast(\fIx\fP, [\fIn\fP]) \fI// prefix of x omitting last n, defaulting to 1.\fP + last(\fIx\fP[, \fIn\fP]) \fI// suffix of x of length n, defaulting to 1.\fP + butlast(\fIx\fP[, \fIn\fP]) \fI// prefix of x omitting last n, defaulting to 1.\fP reverse(\fIx\fP) \fI// reverse list x\fP @@ -1462,8 +1462,8 @@ Syntax: .ft B ldiff(\fIx\fP, \fIy\fP) - last(\fIx\fP, [\fIn\fP]) - butlast(\fIx\fP, [\fIn\fP]) + last(\fIx\fP[, \fIn\fP]) + butlast(\fIx\fP[, \fIn\fP]) .ft R .B Description -- cgit v1.2.3