-
This has hit me several times already: absence of `IComparable` doesn't allow to use the type as a key in F#'s `Map`.
Let's define the comparability somehow.
-
### Discussed in https://github.com/havit/Havit.Blazor/discussions/865
Originally posted by **StarGazer202424** August 9, 2024
Hi
I took the example that was on the demo page https://havit…
-
Com.YC.Utesdk.Bean.ActivityTimeInfo.cs(20, 68): [CS0535] “ActivityTimeInfo”不实现接口成员“IComparable.CompareTo(Object)”
-
![屏幕截图 2024-08-30 114817](https://github.com/user-attachments/assets/eb70869f-5185-4959-9ed7-e75ea2f39495)
-
### Background and motivation
Sometimes we want to abstract common CRUD operations to a base class and we would like to make them generic.
These data classes/records will have a property named Id as…
-
https://github.com/Flowseal/TravelPractice/blob/aac80fe8560532e3b638b0309b31099c00452e56/Lesson1/BubbleSort/Program.cs#L1
-
The query: /odata/Donations?$apply=groupby((email), aggregate(amount with sum as Total))
Will throw an ArgumentException "(Failed to compare two elements in the array.)" -> "At least one object…
-
Hey, is it somehow possible to disable the usage of `IComparable` and compare both objects as if they wouldn't implement that interface (without having to write custom comparison rules)?
Why would …
-
Does it make sense for Transit BigIntegers and BigDecimals to be comparable?
The specific issue that I ran into is that Transit values cannot be indexed by DataScript:
```
Uncaught Error: Cannot co…
domkm updated
6 years ago
-
I propose that `unit` should implement `IEquatable` and `IComparable`.
Existing:
```fsharp
// https://github.com/dotnet/fsharp/blob/main/src/FSharp.Core/prim-types.fs
type Unit() =
overri…