progs/app60.scala
author Christian Urban <christian dot urban at kcl dot ac dot uk>
Thu, 13 Oct 2016 12:55:42 +0100
changeset 447 68769db65185
parent 435 e08431a78f66
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)))          
}