funcky
funcky copied to clipboard
Funcky is a Functional Library for C#
Main Idea: I want a "IsBetween" extension on number types (just int in the experiment) which I can chose if the boundary are inclusive or exclusive. ```cs 12.IsBetween(0, 20) ```...
Should we define our own code style?
I often rely on polymorphic overloads of the same method to handle DU cases indivdually: Ideally I would have some syntax like this: ``` shape.Dipatch(Canvas.Draw); ``` This is obviously not...
Since we have the pattern match for Option `[var value]` with C#12 the question is: should an `Option` be constructible with a collection expression too? * `Option.None` would become `[]`...
`CycleRange` returns an `IBuffer` which brings with it the need to dispose the result which is not very practical. I think we should add an overload for readonly lists that...
Resolves #740 * [ ] Fix tests * [ ] Async
Sounds like fun: ``` System.TypeLoadException : Could not load type 'Funcky.Analyzers.AlternativeMonadAnalyzer' from assembly 'Funcky.Analyzers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. at Funcky.Analyzers.AlternativeMonad.MatchToOrElseCodeFix.get_FixableDiagnosticIds() at Microsoft.CodeAnalysis.CodeFixes.CodeFixService.GetAndTestFixableDiagnosticIds(CodeFixProvider codeFixProvider) at System.Collections.Immutable.ImmutableInterlocked.GetOrAdd[TKey,TValue](ImmutableDictionary`2& location,TKey key,Func`2 valueFactory) at Microsoft.CodeAnalysis.Extensions.IExtensionManagerExtensions.PerformFunction[T](IExtensionManager extensionManager,Object...
Sounds like fun: ``` System.TypeLoadException : Could not load type 'Funcky.Analyzers.AlternativeMonadAnalyzer' from assembly 'Funcky.Analyzers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. at Funcky.Analyzers.AlternativeMonad.MatchToNullableCodeFix.get_FixableDiagnosticIds() at Microsoft.CodeAnalysis.CodeFixes.CodeFixService.GetAndTestFixableDiagnosticIds(CodeFixProvider codeFixProvider) at System.Collections.Immutable.ImmutableInterlocked.GetOrAdd[TKey,TValue](ImmutableDictionary`2& location,TKey key,Func`2 valueFactory) at Microsoft.CodeAnalysis.Extensions.IExtensionManagerExtensions.PerformFunction[T](IExtensionManager extensionManager,Object...
We suggest to use collection expressions instead of `Sequence.Return`: * if the project supports C#12+ * if the target type can be inferred