fsprojects / Chessie

Railway-oriented programming for .NET
http://fsprojects.github.io/Chessie/
The Unlicense
187 stars 43 forks source link

added fsharp friendly version of try called tryCatch #40

Closed daleardi closed 8 years ago

daleardi commented 8 years ago

Sometimes you want to trap exceptions in F# code. Particularly when calling C# code from F#. I made an F# friendly version of Try named tryCatch.

ian-moore commented 8 years ago

Any idea when this will be available in the NuGet package?

forki commented 8 years ago

Mhm I'm not really happy with the name

gotdibbs commented 8 years ago

@forki Could you suggest another name that you might be happy with so we can get this pushed? :pray:

forki commented 8 years ago

We already have Async.Catch so I think it should be similar named

forki commented 8 years ago

It's now called Catch and released with 0.5.1 - thanks a lot.

ian-moore commented 8 years ago

Awesome, thank you!! Great addition