Hadrian Tang

Results 569 comments of Hadrian Tang

I originally wanted to implement clickable buttons given an area inside the SVG. I later wrote this as an extension method in my code.

Can't we have e.g. `CompareToNormal` as opposed to `CompareToString` to align with members in `StringComparison` and `StringComparer`?

With the naming convention above, we can omit repeating `String` in the method names and have `xxx` for `char`/`StringComparison` overloads, `xxxNormal` and `xxxIgnoreCase` instead of `xxx` for `char`/`StringComparison` overloads, `xxxIgnoreCase`...

Maybe we can even provide `char` overloads for `xxxNormal` for uniformity.

Also `ContainsIgnoreCase` is missing.

@optimaladdins I am not working on this actively right now. You can submit a pull request.

The original suggestion of https://github.com/fsharp/fslang-suggestions/issues/612 included struct total active patterns which was not implemented. ```fs // Marking the return type as `int` // only allow returning the cases defined by...

Do you mean F# should define these methods for C# consumption? Should this relate to https://github.com/fsharp/fslang-suggestions/issues/969 for usage in F# too?