aboutsummaryrefslogtreecommitdiff
path: root/man/man3/tomo-List.first.3
diff options
context:
space:
mode:
Diffstat (limited to 'man/man3/tomo-List.first.3')
-rw-r--r--man/man3/tomo-List.first.38
1 files changed, 4 insertions, 4 deletions
diff --git a/man/man3/tomo-List.first.3 b/man/man3/tomo-List.first.3
index 7148cf9d..a8183cc8 100644
--- a/man/man3/tomo-List.first.3
+++ b/man/man3/tomo-List.first.3
@@ -2,21 +2,21 @@
.\" Copyright (c) 2025 Bruce Hill
.\" All rights reserved.
.\"
-.TH List.first 3 2025-04-19T14:52:07.133684 "Tomo man-pages"
+.TH List.first 3 2025-04-21T14:44:34.258746 "Tomo man-pages"
.SH NAME
-List.first \- Find the index of the first item that matches a predicate function (if any).
-
+List.first \- find an index where a predicate matches
.SH LIBRARY
Tomo Standard Library
.SH SYNOPSIS
.nf
.BI List.first\ :\ func(list:\ [T],\ predicate:\ func(item:&T\ ->\ Bool)\ ->\ Int)
.fi
-
.SH DESCRIPTION
Find the index of the first item that matches a predicate function (if any).
+.SH ARGUMENTS
+
.TS
allbox;
lb lb lbx lb