FsToolkit.ErrorHandling
fslang-suggestions
Our great sponsors
FsToolkit.ErrorHandling | fslang-suggestions | |
---|---|---|
10 | 43 | |
444 | 337 | |
- | 0.3% | |
8.2 | 2.8 | |
21 days ago | 9 months ago | |
F# | ||
MIT License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
FsToolkit.ErrorHandling
-
Type setup for effortless error handling with the Result type
Isn't this similar to what https://github.com/demystifyfp/FsToolkit.ErrorHandling does?
-
It seems like I'm forced to make this choice at least once a day
I do think at least some of FSToolkit.ErrorHandling should be part of the core library though, it has nearly everything you could want for using these types.
-
How do I compose the functions with the following signatures?
I'm having trouble following exactly what you're trying to do, but it would probably be easier if you used the builtin Result type in conjunction with FsToolkit.ErrorHandling. The library provides many useful combinators as well as a result, option, and resultOption computation expression.
-
Dealing with workflows in F#
Also shout out to the wonderful FsToolkit.ErrorHandling library, it simplifies working with these so much.
-
F# 6 Hopes and kind of a rant
Monad stacks, most commonly Async>, require a lot of boilerplate to deal with or using something like https://github.com/demystifyfp/FsToolkit.ErrorHandling . Which is fine, but it causes dependency mismatches between libs or type mismatches as everyone is implementing their own. A language solution would be nice...
- FsToolkit.ErrorHandling 2.5.0 Released π
- FsToolkit.ErrorHandling 2.4.0 Released π
- FsToolkit.ErrorHandling 2.3.0 Released π
- FsToolkit.ErrorHandling 2.2.0 π
-
Say hello to "block" - the recently finalized name for the upcoming immutable array type
This library is nice: https://github.com/demystifyfp/FsToolkit.ErrorHandling
fslang-suggestions
-
Reusing static constraints with multiple generics
Trying to extend this https://github.com/fsharp/fslang-suggestions/issues/1089 to have two generics:
-
VN Compiler. How to use Blazor components with Bolero. Introducing Blazor.Diagrams. (Pt. 1) (Restart)
Basically, what I've made in Spiral. There is even a F# issue to improve the syntax.
-
Can I call method on the output of the pipe?
Not currently supported but it's an open language suggestion that's likely to end up in F#. https://github.com/fsharp/fslang-suggestions/issues/506
- Mapperly - A .NET source generator for object to object mappings
-
Microfeatures I'd like to see in more languages
Re: the argument accessor shorthand, there seems to be a proposal for exactly that (using _ instead of &): https://github.com/fsharp/fslang-suggestions/issues/506#issu...
-
Need help with Azure.Storage.Blobs to do simple enumerate blob items
I found this post (https://github.com/fsharp/fslang-suggestions/issues/975) which is about the same thing, but I'm confused as to what the final resolution was. There was mention of a taskSeq, but I can't find much info on that.
-
OCaml programmer with some noob F# ecosystem questions
An issue in FSharp suggestions
-
Announcing .NET 7 Preview 7
F# doesnβt currently seem to support source generators.
-
What are the features you're looking forward to in the next version of Fsharp?
"Blessed" literals: only FSharp.List and System.Array have a built-in collection syntax in the language ([ ] and [| |]). Only FSharp.List has a special pattern matching constructor (::). The language itself shouldn't favor a particular type over another: it should be possible, at the library level, to write the same code but using different collection types (related discussion here).
-
F# (in)compatibility
I mostly write F# so I can only speak for F#, but if you want you can create a module which extends Seq to add the OCaml names. I suspect the same is possible in OCaml. The authors are not trying to impede compatibility, but compatibility is not a goal. If you value compatibility, or adhering to ML norms, and you use F#, I recommend you (kindly) advocate for it in relevant issues on the F# language discussion repo. https://github.com/fsharp/fslang-suggestions/issues
What are some alternatives?
ply - High performance System.Threading.(Value)Task computation expressions for F#
ProjectReunion - The Windows App SDK empowers all Windows desktop apps with modern Windows UI, APIs, and platform features, including back-compat support, shipped via NuGet.
visualfsharp - The Visual F# compiler and tools
HVM - A massively parallel, optimal functional runtime in Rust
VisualFSharp - The F# compiler, F# core library, F# language service, and F# tooling integration for Visual Studio
nand2tetris - Original course HDL solutions, F# implementations for the software stack, and VHDL implementations for the hardware stack for the nand2tetris course and The Elements of Computing Systems book.
Fable: F# |> BABEL - F# to JavaScript, TypeScript, Python, Rust and Dart Compiler
fslang-design - RFCs and docs related to the F# language design process, see https://github.com/fsharp/fslang-suggestions to submit ideas
Optional - A robust option type for C#
FSharpPlus - Extensions for F#
ZIO - ZIO β A type-safe, composable library for async and concurrent programming in Scala
Paket - A dependency manager for .NET with support for NuGet packages and Git repositories.