blob: 014ec33f03691031924b7b31b012bfc47956e9cb (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
package magnolia
import examples._
object Main {
def main(args: Array[String]): Unit = {
println(Branch(Branch(Leaf(1, null), Leaf(2, null)), Leaf(3, null)).show)
println(List[Entity](Person("John Smith",
Address(List("1 High Street", "London", "SW1A 1AA"),
Country("UK", "GBR", false)))).show)
}
}
|