From 17516f90eb47a8e78e0ffe1dc37eee363e8c58a0 Mon Sep 17 00:00:00 2001 From: Peter Saxton Date: Sun, 7 Jun 2020 13:25:02 +0100 Subject: correct doc to result type --- src/gleam/list.gleam | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/gleam/list.gleam b/src/gleam/list.gleam index 351d466..a919d9c 100644 --- a/src/gleam/list.gleam +++ b/src/gleam/list.gleam @@ -213,7 +213,7 @@ fn do_filter_map( } /// Returns a new list containing only the elements from the first list for -/// which the given functions returns `True`. +/// which the given functions returns `Ok(_)`. /// /// ## Examples /// -- cgit v1.2.3