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