Questions tagged [fsharpx]

FSharpx is a collection of libraries and tools for use with F#.

FSharpx is a collection of libraries and tools for use with F#.

For more info, click here.

4 questions
7
votes
1 answer

F# record constructor function

Is there a way to call the constructor for an F# record type in F#? My motivation is I've been using the applicative validation from FSharpx but find myself writing lots of boilerplate functions that just construct records. The buildAddress function…
Brownie
  • 7,688
  • 5
  • 27
  • 39
3
votes
2 answers

Understanding side effects with monadic traversal

I am trying to properly understand how side effects work when traversing a list in F# using monadic style, following Scott's guide here I have an AsyncSeq of items, and a side-effecting function that can return a Result<'a,'b> (it is saving the…
Ryan
  • 2,109
  • 1
  • 15
  • 19
3
votes
1 answer

Computation expressions vs applicative functors and what not

Not entirely sure the title describes it ok, but I do have about the following code: paket.dependencies: source https://www.nuget.org/api/v2 nuget fsharpx.extras nuget mongodb.driver some.fsx: #r…
Helge Rene Urholm
  • 1,190
  • 6
  • 16
1
vote
1 answer

How to remove an item from index N with FSharpx's PersistentVector?

I notice that the PersistentVector from FSharpX has no remove at index method. https://fsprojects.github.io/FSharpx.Collections/reference/fsharpx-collections-persistentvector-1.html It has the ability to modify the item at the nth location but no…
bradgonesurfing
  • 30,949
  • 17
  • 114
  • 217