Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move functional extensions like Maybe into a micro library #15

Open
jzabroski opened this issue Aug 28, 2015 · 2 comments
Open

Move functional extensions like Maybe into a micro library #15

jzabroski opened this issue Aug 28, 2015 · 2 comments

Comments

@jzabroski
Copy link

I believe Maybe is something missing in .NET Core and it would be great if frameworks like your started building off a "Core Ext" module somewhere that fills in the missing gaps the rest of us all know are missing.

@jonsequitur
Copy link
Owner

I agree!

We actually have a more fleshed out version of this here: https://github.com/jonsequitur/Its.Cqrs/blob/master/Domain/(Its.Recipes)/MaybeExtensions.cs

I've been planning to pull this out into a separate "recipe", e.g. a NuGet package that installs a single source file into your project, generally as an internal class. This allows it to be orthogonal to other recipes so you can pull in just what you need and you don't start building up a graph of assembly dependencies.

@jzabroski
Copy link
Author

Hi @jonsequitur , check out: https://github.com/fsoikin/erecruit.Maybe

It has a couple convenience methods such as multi-level Unwrap

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants