← Blog

Zevic 0.4.3: operators for Comparable and Equatable

In v0.4.3, comparison operators work on types you define yourself.

  • On a struct or class that implements Comparable, <, <=, > and >= call the Compare method
  • == on a struct that implements Equatable calls its Equals method. It used to compare the fields directly
  • Async.Spawn starts its task on a detached Thread.Thread (Thread gained Detach())
  • Usage messages now show the zevic name

Version 0.4.2 had a known problem: < was not generated for types that implement Comparable. It is fixed in this version.