progs/app60.scala
author Christian Urban <urbanc@in.tum.de>
Wed, 15 Mar 2017 01:24:39 +0000
changeset 477 b78664a24f5d
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)))          
}