| author | Christian Urban <christian.urban@kcl.ac.uk> |
| Sat, 31 Oct 2020 16:47:46 +0000 | |
| changeset 345 | 69b39df6ad4d |
| parent 288 | 3cd6c850c252 |
| permissions | -rw-r--r-- |
import CW9c._ assert(nullable(ZERO) == false) assert(nullable(ONE) == true) assert(nullable(CHAR('a')) == false) assert(nullable(ZERO | ONE) == true) assert(nullable(ZERO | CHAR('a')) == false) assert(nullable(ONE ~ ONE) == true) assert(nullable(ONE ~ CHAR('a')) == false) assert(nullable(STAR(ZERO)) == true)