Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit545197e

Browse files
forkiKevinRansom
authored andcommitted
Simplify "allFalse" (#3132)
1 parent8875ba4 commit545197e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/fsharp/TypeChecker.fs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15718,7 +15718,7 @@ module TcDeclarations =
1571815718
let private isField = function SynMemberDefn.ValField (_,_) -> true | _ -> false
1571915719
let private isTycon = function SynMemberDefn.NestedType _ -> true | _ -> false
1572015720

15721-
let private allFalse ps x = List.fold (funaccp ->acc &&not (p x)) true ps
15721+
let private allFalse ps x = List.forall (fun p -> not (p x)) ps
1572215722

1572315723
/// Check the ordering on the bindings and members in a class construction
1572415724
// Accepted forms:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp