Enhancement for IEnumerable<Option<TIn>> #1033
LaszloLueck
started this conversation in
General
Replies: 2 comments
-
Aha, does exactly what i need. Please close this one! Regards, |
Beta Was this translation helpful? Give feedback.
0 replies
-
That's the one - also |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
very nice Toolset and keep up your fantastic work!
I switch between Scala and C# all the time and you build exactly the bridge I need!
I have a question / extension or maybe I haven't found the right function yet that does what I'm looking for:
Sometimes I have a list of elements e.g.
var list = List(Some(1), None, Some(2), None, Some(3));
Of course, I want to transform this list at some point, so that only the list of elements remains.
So a
List<Option<TIn>>
resulted inList<TIn>
I have now written a function extension for this:
And for a quick usage example:
Is there anything in LanguageExt for this? If not, I would push this into the project as a merge request?
Greetings!
Beta Was this translation helpful? Give feedback.
All reactions