vkhorikov / CSharpFunctionalExtensions

Functional extensions for C#

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

More examples

opcodewriter opened this issue · comments

Vlad, thanks for your great library!

Maybe it's just me but I'm having a hard time understanding how to use the library in the correct way, otherwise chance is, I will write code which has potential bugs.

Beside the README, the only resource I could find is your post "Functional C#: Handling failures, input errors" but it looks outdated, there's no "OnSuccess" method anymore.

Is there any other resource I'm not aware of? I googled for "CSharpFunctionalExtensions" and I didin't get anything else.

Yeah, docs are lacking. One way is to use the OnSuccess from the course and then follow the deprecation warnings, they say which method you need to use instead.

But I personally don't use use extension methods much (aside from the very basic Map and Bind) and still get a lot of value from the lib on my projects -- from the Result, Maybe, and ValueObject vanilla classes.