Fahad/Eclipse/ScalaProjects/bin/Handouts/Handout2.sc
changeset 39 56afb5950289
parent 37 d3eda1846087
--- 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