Skip to content

V1.3 F# core 6#513

Merged
wallymathieu merged 20 commits into
v1.3from
v1.3-fsharp-core-6
Nov 13, 2022
Merged

V1.3 F# core 6#513
wallymathieu merged 20 commits into
v1.3from
v1.3-fsharp-core-6

Conversation

@wallymathieu
Copy link
Copy Markdown
Member

No description provided.

wallymathieu and others added 17 commits October 1, 2022 01:39
New, shiny links (who work) =D
…here (#488)

- updateAt from F# Core 6
- Option module (nothing to update)
- List.singleton // check if it worth linking to the fsharp.core one, in anycase copy type annotations and XML contents
- List.skip
- List.take
- List.removeAt
- Map.values  // but it returns an ICollection 
- Map.keys      // but it returns an ICollection 
- Result.result and Result.throw should be deprecated in favor of Result.Ok  and Result.Error
- Seq.foldBack
- Seq.replicate
- Result.defaultValue
- Result.defaultWith


Co-authored-by: Oskar Gewalli <wallymathieu@users.noreply.github.com>
Co-authored-by: Gustavo Leon <1261319+gusty@users.noreply.github.com>
Merge commit '38f6bc73b6148bfff2a76a651bd9d226786b3528' into v1.3
Merge commit '866c19ddf8bb89c8aecff83b9fcb1c52f6426dc2' into v1.3
Merge commit 'c56866ca88079786969dfffb924be38f6472dda5' into v1.3
#if FABLE_COMPILER || NET45
source |> Array.toSeq |> Seq.replace oldValue newValue |> Seq.toArray: 'T []
#else
let oldValueArray = oldValue |> Seq.toArray
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had to change to toArray here since the actual type signature in the released version of F#+ is seq as can be seen for instance here:
https://www.fuget.org/packages/FSharpPlus/1.2.5/lib/netstandard2.0/FSharpPlus.dll/FSharpPlus/Array
@fcallejon

/// A tuple with both resulting lists, Success are in the first list.
/// </returns>
let partition (source: list<Validation<'TErrors, 'T>>) =
#if FABLE_COMPILER || NET45
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that both net45 and Fable lack ListCollector @gusty

Co-authored-by: Fernando Callejon <fcallejon@gmail.comn>
@wallymathieu wallymathieu marked this pull request as ready for review November 13, 2022 12:12
@wallymathieu wallymathieu merged commit 732390f into v1.3 Nov 13, 2022
@wallymathieu wallymathieu deleted the v1.3-fsharp-core-6 branch November 13, 2022 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants