Skip to content

Commit fe4fda6

Browse files
authored
Update list.fsi (#15094)
Add missing isEven function definition
1 parent 9cad077 commit fe4fda6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/FSharp.Core/list.fsi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -739,6 +739,8 @@ module List =
739739
/// <code lang="fsharp">
740740
/// let input = [1, "Luke"; 2, "Kirk"; 3, "Kenobi"; 4, "Spock"]
741741
///
742+
/// let isEven x = 0 = x % 2
743+
///
742744
/// let isComingFromStarTrek (x,_) = isEven x
743745
///
744746
/// input |> List.filter isComingFromStarTrek

0 commit comments

Comments
 (0)