progs/pow.scala
changeset 676 62d168bf7ac8
parent 669 2f5a4d76756d
child 765 b294cfbb5c01
--- a/progs/pow.scala	Sun Oct 27 13:45:54 2019 +0000
+++ b/progs/pow.scala	Sun Oct 27 13:55:43 2019 +0000
@@ -6,9 +6,9 @@
   case n => concat(A, pow(A, n- 1))
 }
 
-val A = Set("aa", "aaa")
-val B = Set("aaa", "aa")
-concat(A, B).size                     // -> 28 
+val A = Set("aa", "a")
+val B = Set("aaa", "aaaa")
+concat(A, B).size                     // -> 3