progs/app60.scala
changeset 435 e08431a78f66
parent 422 5deefcc8cffa
equal deleted inserted replaced
434:8664ff87cd77 435:e08431a78f66
       
     1 def ders(s: List[Char], r: Rexp) : Rexp = s match {
       
     2   case Nil => r
       
     3   case c::s => ders(s, simp(der(c, r)))          
       
     4 }