Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/fsharp/FSharp.Core/async.fs
Original file line number Diff line number Diff line change
Expand Up @@ -1405,7 +1405,6 @@ namespace Microsoft.FSharp.Control
static member Sleep (millisecondsDueTime: int32) : Async<unit> =
Async.Sleep (millisecondsDueTime |> int64)

[<Experimental(ExperimentalAttributeMessages.RequiresPreview)>]
static member Sleep (dueTime: TimeSpan) =
if dueTime < TimeSpan.Zero then
raise (ArgumentOutOfRangeException("dueTime"))
Expand Down
1 change: 0 additions & 1 deletion src/fsharp/FSharp.Core/async.fsi
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,6 @@ namespace Microsoft.FSharp.Control
/// <param name="dueTime">The amount of time to sleep.</param>
/// <returns>An asynchronous computation that will sleep for the given time.</returns>
/// <exception cref="System.ArgumentOutOfRangeException">Thrown when the due time is negative.</exception>
[<Experimental(ExperimentalAttributeMessages.RequiresPreview)>]
static member Sleep: dueTime:TimeSpan -> Async<unit>

/// <summary>Creates an asynchronous computation in terms of a Begin/End pair of actions in
Expand Down
2 changes: 0 additions & 2 deletions src/fsharp/FSharp.Core/map.fs
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,6 @@ type Map<[<EqualityConditionalOn>]'Key, [<EqualityConditionalOn; ComparisonCondi
#endif
new Map<'Key, 'Value>(comparer, MapTree.add comparer key value tree)

[<Experimental("Experimental library feature, requires '--langversion:preview'")>]
member m.Change(key, f) : Map<'Key, 'Value> =
new Map<'Key, 'Value>(comparer, MapTree.change comparer key f tree)

Expand Down Expand Up @@ -770,7 +769,6 @@ module Map =
let add key value (table: Map<_, _>) =
table.Add (key, value)

[<Experimental("Experimental library feature, requires '--langversion:preview'")>]
[<CompiledName("Change")>]
let change key f (table: Map<_, _>) =
table.Change (key, f)
Expand Down
2 changes: 0 additions & 2 deletions src/fsharp/FSharp.Core/map.fsi
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ namespace Microsoft.FSharp.Collections
/// <param name="key">The input key.</param>
/// <param name="f">The change function.</param>
/// <returns>The resulting map.</returns>
[<Experimental("Experimental library feature, requires '--langversion:preview'")>]
member Change: key:'Key * f:('Value option -> 'Value option) -> Map<'Key,'Value>

/// <summary>Returns true if there are no bindings in the map.</summary>
Expand Down Expand Up @@ -98,7 +97,6 @@ namespace Microsoft.FSharp.Collections
/// <param name="f">The change function.</param>
/// <param name="table">The input map.</param>
/// <returns>The resulting map.</returns>
[<Experimental("Experimental library feature, requires '--langversion:preview'")>]
[<CompiledName("Change")>]
val change: key:'Key -> f:('T option -> 'T option) -> table:Map<'Key,'T> -> Map<'Key,'T>

Expand Down