object Main extends App { type ¬[A] = A => Nothing type ∨[T, U] = ¬[¬[T] with ¬[U]] type ¬¬[A] = ¬[¬[A]] type |∨|[T, U] = { type λ[X] = ¬¬[X] <:< (T ∨ U) } def dashboardStat[LabelT: (scala.xml.Elem |∨| String)#λ, ValueT: (scala.xml.Elem |∨| String)#λ] (target: String, label: LabelT, value: ValueT, icon: String) =
{label} {value}
println(dashboardStat("/", Hello, world!, "$200.00", "money")) }