hylo icon indicating copy to clipboard operation
hylo copied to clipboard

Implement 'sink' static properties

Open kyouko-taiga opened this issue 1 year ago • 0 comments

We should use sink static properties to represent constant properties of types, like the number of bits available in a particular BinaryInteger.

public extension Int64 {
  public static property bit_width: Int { sink { 64 } }
}

kyouko-taiga avatar Sep 27 '23 11:09 kyouko-taiga