From 9669a27d84fc29175364c7a60d5d700771a2801e Mon Sep 17 00:00:00 2001 From: Martin Janiczek Date: Sat, 20 Jan 2024 13:38:05 +0100 Subject: [PATCH] Fix the docs for Fuzz.filterMap --- src/Fuzz.elm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Fuzz.elm b/src/Fuzz.elm index bd52e5f..4e80652 100644 --- a/src/Fuzz.elm +++ b/src/Fuzz.elm @@ -1357,7 +1357,7 @@ Example usage: fromChar : Char -> Maybe UnicodeNonLetter fromChar c = if (c |> Unicode.isLower |> not) && (c |> Unicode.isUpper |> not) then - UnicodeNonLetter |> Just + Just (UnicodeNonLetter c) else Nothing