Nino Floris

Results 314 comments of Nino Floris

I would suggest you read up on the feature for swift and rust first. New cases are practically the undefined numeric value you talk about (DUs always have an int...

I hadn't expected you to use 'status quo' as an argument, considering you have 27 language suggestions open, why add anything to the language?

Which part in my suggestion is breaking? To have the `unknown` pattern support not just enums but also DUs isn't breaking, you have to opt in by changing your match....

Relevant minimal api issue https://github.com/dotnet/aspnetcore/issues/38906 Important to note, the one way to add attributes to parameters (for instance for `FromHeader` and friends) would be to pull out the lambda to...

Maybe also fixes from https://github.com/dotnet/fsharp/issues/9858#issue-671666428 > Spec defines custom op with bind as: > > T([]cop arg; e, V, C, q) = Assert (q); > CL(cop arg; e, V, C(b.Return...

@gusty after using it for a while I can say the pattern works well. It can only be a bit nasty when types don't match and you're using a return...

@abelbraaksma code is here https://gist.github.com/NinoFloris/3edc906b408c991265e77f73c92a9813

@abelbraaksma correct, as they are normal methods overload resolution won't consider their return types. Which is why the return type is also encoded as an argument on respective overloads.

https://github.com/fsharp/fslang-suggestions/issues/887#issuecomment-647527577 >How serious is the problem? Pretty serious, simple things like the function below can't be defined as local functions. ```fs // Could also take span, same problem as it...

Relevant https://github.com/dotnet/runtime/issues/65528