SynapseGrid icon indicating copy to clipboard operation
SynapseGrid copied to clipboard

Research contact with self type

Open Primetalk opened this issue 5 years ago • 0 comments

Two ways to achieve this:

  1. contact as object (singleton types).
val input

=>

object input extends Contact
  1. tags
sealed trait Input
val input = contact[A]@Input

Primetalk avatar Sep 11 '19 21:09 Primetalk