From 5051151992960f10d46a26f7306c342ad3b55117 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Sat, 16 Apr 2022 10:14:53 -0700 Subject: cons man page: add FUNCTION APPLICATION section. --- cppawk-cons.1 | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'cppawk-cons.1') diff --git a/cppawk-cons.1 b/cppawk-cons.1 index 938774e..d400d89 100644 --- a/cppawk-cons.1 +++ b/cppawk-cons.1 @@ -95,6 +95,8 @@ cons \- Lisp-like data representation and control flow macros uniq(\fIx\fP) \fI// deduplicate x\fP uniqual(\fIx\fP) \fI// deduplicate x with equal equality\fP + \fI// Function application\fP + mapcar(\fIf\fP, \fIx\fP) \fI// map list through function f\fP mappend(\fIf\fP, \fIx\fP) \fI// map list through f, append results\fP @@ -1814,6 +1816,8 @@ function's notion of equality. uniqual(list(box_str("abc"), "abc")) -> ("abc") .ft R +.SH FUNCTION APPLICATION + .SS Functions \fImapcar\fP and \fImappend\fP .bk Syntax: -- cgit v1.2.3