Railway-Oriented-Programming-Example icon indicating copy to clipboard operation
Railway-Oriented-Programming-Example copied to clipboard

This repository contains code that demonstrates the "Railway Oriented Programming" concept for error handling in functional programming languages.

Results 8 Railway-Oriented-Programming-Example issues
Sort by recently updated
recently updated
newest added

https://github.com/swlaschin/Railway-Oriented-Programming-Example/blob/1365f86a29c8ef57972d1c9c9c05320a5e6bc75d/src/FsRopExample/DomainModel.fs#L27 extremelt -> extremely

Please could you update this to work with the latest versions of everything. I've spent ages (minutes!) trying to get it working in Visual Studio 2019, but as I don't...

Hi Scott, First of all, thank you very much for all the material you provide to us! Your lessons are an invaluable help to any "mere mortal" interested in functional...

One uses asynchrouns methods quite often in ASP.NET MVC due to I/O bound operations such as calling backend services or a database. How should one handle an asynchronous call to...

I new to F# and looking for a way to create micro services in F# on .NET core and your example looks great. Does your example work with the new...

This is meant as a suggestion and question at the same time, I'm very interested about your thoughts on using ROP and DDD for this. One of my DAL functions...

By placing these lines outside of the controller they can be re-used in other controllers. https://github.com/swlaschin/Railway-Oriented-Programming-Example/blob/master/src/FsRopExample/Controllers.fs#L138-L177

Let's compare two examples of the same code. The F# example produce a Failure which can be seen as a rejection/thrown error in C#. Unfortunately, the example doesn't demonstrate it....