Fun

case class Fun(potentials: Potentials, effects: Effects)(source: Tree) extends Potential

A function when called will produce the effects and return the potentials

trait Product
trait Equals
trait Potential
class Object
trait Matchable
class Any

Value members

Concrete methods

override def level: Int
Definition Classes
def show(using Context): String
override def size: Int
Definition Classes

Inherited methods

Inherited from
Product
Inherited from
Potential

Concrete fields

val source: Tree