--- a/Fahad/Eclipse/ScalaProjects/bin/Handouts/Handout2.sc Sun Nov 02 12:24:41 2014 +0000
+++ b/Fahad/Eclipse/ScalaProjects/bin/Handouts/Handout2.sc Tue Nov 04 19:51:01 2014 +0000
@@ -16,14 +16,6 @@
def OPT(r: Rexp) = ALT(r, EMPTY) //> OPT: (r: Handouts.Handout2.Rexp)Handouts.Handout2.ALT
- /*
- def NTIMES(r: Rexp, n: Int): Rexp = n match {
- case 0 => EMPTY
- case 1 => r
- case n => SEQ(r, NTIMES(r, n - 1))
- }
- */
-
def nullable(r: Rexp): Boolean = r match {
case NULL => false
case EMPTY => true