kerams

Results 190 comments of kerams

Wouldn't it be impossible to perform an exhaustiveness check? I don't like the improved sample, because it's confusing that it takes no parameter and basically acts as a catch all...

Yeah, I suppose it could be exhaustive if it's just the first case that takes the pattern. However, then you can a DU and move the parameter up: ```fsharp type...

Many vectorization intrinsics are not available in `netstandard2.0` or even `2.1`.

https://github.com/fsharp/fslang-suggestions/issues/538 https://github.com/dotnet/fsharp/pull/12265

We'd presumably lose the field names in merged cases (unless they are the same, that is) when inspecting a struct case in the debugger. Is there anything that can be...

@abelbraaksma > Match over the zero-case (that is, the first case in a struct-DU without a value [...] This dramatically improves performance for small DUs I've implemented the change, but...

Related https://github.com/fable-compiler/Fable/issues/2110

Pretty much a duplicate of https://github.com/AvaloniaUI/Avalonia/issues/16165.

Love the idea of completing the sunsetting of non-light syntax and ML compatibility.