author | Christian Urban <christian dot urban at kcl dot ac dot uk> |
Fri, 16 Oct 2015 14:27:20 +0100 | |
changeset 354 | 86b2aeae3e98 |
parent 287 | 2c50b8b5886c |
child 356 | d9c784c71305 |
permissions | -rw-r--r-- |
287
2c50b8b5886c
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1 |
abstract class Val |
2c50b8b5886c
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
2 |
case object Empty extends Val |
2c50b8b5886c
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
3 |
case class Char(c: Char) extends Val |
2c50b8b5886c
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
4 |
case class Seq(v1: Val, v2: Val) extends Val |
2c50b8b5886c
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
5 |
case class Left(v: Val) extends Val |
2c50b8b5886c
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
6 |
case class Right(v: Val) extends Val |
2c50b8b5886c
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
7 |
case class Stars(vs: List[Val]) extends Val |