progs/app60.scala
author Christian Urban <christian dot urban at kcl dot ac dot uk>
Mon, 03 Oct 2016 00:24:45 +0100
changeset 435 e08431a78f66
parent 422 progs/app6.scala@5deefcc8cffa
permissions -rw-r--r--
updated

def ders(s: List[Char], r: Rexp) : Rexp = s match {
  case Nil => r
  case c::s => ders(s, simp(der(c, r)))          
}