I have a class Element with a Self type parameter
interface Element<Self: Element<Self>> {
val rules: Set<(Self) -> Boolean>
}
How can I now create a List with Element as type parameter because the following doesn't function of course.
val list: List<Element>
Thanks in advance