Standard Library: Now open for improvements and suggestions!

Another thing that should definitely be added is CanEqual instances for a lot more types. java.util.UUID, java.time.*, and probably others. Note that this not only benefits users of language:strictEquality: "foo" == UUID.randomUUID() doesn’t compile even without strictEquality because String has a CanEqual instance. Instant.now() == UUID.randomUUID() on the other hand does compile because neither of those types has a CanEqual instance.

3 Likes