Pro

object Pro
Companion
class
Source
__.scala
class Object
trait Matchable
class Any

Member

trait Mutable[A] extends Pro[A]

Read/write property

The usual implementation looks like:

class Foo:
 val name_*           : Pro.M[String] = Pro.M[String]("")
 def name             : String        = name_*()
 def name_=(v :String): Unit          = name_*() = v
 val bar_*            : Int.Pro.M     = Int.Pro.M(0)
 def bar              : Int           = value_*()
 def bar_=(v :Int)    : Unit          = value_*() = v
Companion
object
Source
__.scala
trait Mutable[A] extends Pro[A]

Read/write property

The usual implementation looks like:

class Foo:
 val name_*           : Pro.M[String] = Pro.M[String]("")
 def name             : String        = name_*()
 def name_=(v :String): Unit          = name_*() = v
 val bar_*            : Int.Pro.M     = Int.Pro.M(0)
 def bar              : Int           = value_*()
 def bar_=(v :Int)    : Unit          = value_*() = v
Companion
object
Source
__.scala
trait Observable[+A] extends Pro[A] with Observable
trait Observable[+A] extends Pro[A] with Observable
trait ObservableMutable[A] extends Pro.Observable[A] with Pro.Mutable[A]

Read/write/listenTo Property`

The usual implementation looks like:

class Foo:
  val name_*          : Pro.OM[String] = String.Pro.OM("")
  def name            : String         = name_*()
  def name_=(v:String): Unit           = name_*() = v
  val bar_*           : Int.Pro.OM     = Int.Pro.OM(0)
  def bar             : Int            = value_*()
  def bar_=(v:Int)    : Unit           = value_*() = v
Companion
object
Source
__.scala
trait ObservableMutable[A] extends Pro.Observable[A] with Pro.Mutable[A]

Read/write/listenTo Property`

The usual implementation looks like:

class Foo:
  val name_*          : Pro.OM[String] = String.Pro.OM("")
  def name            : String         = name_*()
  def name_=(v:String): Unit           = name_*() = v
  val bar_*           : Int.Pro.OM     = Int.Pro.OM(0)
  def bar             : Int            = value_*()
  def bar_=(v:Int)    : Unit           = value_*() = v
Companion
object
Source
__.scala
object X

Object X defines standard parent type extensions

Source
X.scala

Alias

type M[A] = Pro.Mutable[A]
Source
__.scala
inline def M: Pro.Mutable
Source
__.scala
type O[A] = Pro.Observable[A]
Source
__.scala
inline def O: Pro.Observable
Source
__.scala
Source
__.scala

Def

def apply[A](source: => A): Pro[A]
Source
__.scala
inline def contains[A](inline v: A): Boolean
Source
__.scala
@targetName("fun_View")
def fun_^[A](f: A => B): Pro[B]
Source
__.scala
@targetName("observable_View")
Source
__.scala