class A(val self: Double) extends AnyVal object A