blob: 014ec33f03691031924b7b31b012bfc47956e9cb (
plain) (
tree)
|
|
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)
}
}
|