File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,8 @@ namespace Microsoft.FSharp.Collections
16
16
[<CompiledName( " FSharpMap`2" ) >]
17
17
[<Sealed>]
18
18
type Map <[< EqualityConditionalOn >] 'Key , [<EqualityConditionalOn; ComparisonConditionalOn>] 'Value when 'Key : comparison > =
19
- /// <summary>Returns a new map with the binding added to the given map.</summary>
19
+ /// <summary>Returns a new map with the binding added to the given map.
20
+ /// If a binding with the given key already exists in the input map, the existing binding is replaced by the new binding in the result map.</summary>
20
21
/// <param name="key">The input key.</param>
21
22
/// <returns>The resulting map.</returns>
22
23
member Add : key : 'Key * value : 'Value -> Map < 'Key , 'Value >
@@ -67,7 +68,8 @@ namespace Microsoft.FSharp.Collections
67
68
[<RequireQualifiedAccess>]
68
69
module Map =
69
70
70
- /// <summary>Returns a new map with the binding added to the given map.</summary>
71
+ /// <summary>Returns a new map with the binding added to the given map.
72
+ /// If a binding with the given key already exists in the input map, the existing binding is replaced by the new binding in the result map.</summary>
71
73
/// <param name="key">The input key.</param>
72
74
/// <param name="value">The input value.</param>
73
75
/// <param name="table">The input map.</param>
You can’t perform that action at this time.
0 commit comments