main_marking3/re_test4.scala
author Christian Urban <christian.urban@kcl.ac.uk>
Mon, 06 Nov 2023 21:45:03 +0000
changeset 479 6889d9d441ed
parent 463 0315d9983cd0
permissions -rw-r--r--
updated jars

import M3._

assert(denest(List(ONE, ZERO, ALTs(List(ONE, CHAR('a'))))) 
   == List(ONE, ONE, CHAR('a')))
assert(denest(List(ONE ~ ONE, ZERO, ZERO | ONE)) == List(ONE ~ ONE, ZERO, ONE))