progs/app60.scala
author Christian Urban <urbanc@in.tum.de>
Mon, 18 Sep 2017 14:02:46 +0100
changeset 499 dfd0f41f8668
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)))          
}