progs/lecture5.scala
changeset 384 6e1237691307
parent 383 c02929f2647c
child 418 fa7f7144f2bb
--- a/progs/lecture5.scala	Mon Dec 07 01:25:41 2020 +0000
+++ b/progs/lecture5.scala	Fri Jan 15 02:40:57 2021 +0000
@@ -3,6 +3,19 @@
 
 
 
+
+
+
+
+
+
+
+
+
+
+
+
+
 // Laziness with style
 //=====================
 
@@ -422,6 +435,18 @@
 subset(nfa).accepts("aaaaabbbaaa".toList)    // false
 subset(nfa).accepts("ac".toList)             // false
 
+import scala.math.pow
+
+
+
+
+
+
+
+
+
+
+
 
 
 // The End ... Almost Christmas