Skip to content

Commit fff19ed

Browse files
alfonsogarciacaroncave
authored andcommitted
Update Exprs.fsi
1 parent 42e7444 commit fff19ed

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/fsharp/symbols/Exprs.fsi

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,13 @@ module public BasicPatterns =
130130
/// Matches record expressions
131131
val (|NewRecord|_|) : FSharpExpr -> (FSharpType * FSharpExpr list) option
132132

133+
/// Matches anonymous record expressions
134+
val (|NewAnonRecord|_|) : FSharpExpr -> (FSharpType * FSharpExpr list) option
135+
136+
/// Matches expressions getting a field from an anonymous record. The integer represents the
137+
/// index into the sorted fields of the anonymous record.
138+
val (|AnonRecordGet|_|) : FSharpExpr -> (FSharpExpr * FSharpType * int) option
139+
133140
/// Matches expressions which get a field from a record or class
134141
val (|FSharpFieldGet|_|) : FSharpExpr -> (FSharpExpr option * FSharpType * FSharpField) option
135142

0 commit comments

Comments
 (0)