summaryrefslogtreecommitdiff
path: root/app/Code.hs
diff options
context:
space:
mode:
Diffstat (limited to 'app/Code.hs')
-rw-r--r--app/Code.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/Code.hs b/app/Code.hs
index eb5149c..5ac4ce7 100644
--- a/app/Code.hs
+++ b/app/Code.hs
@@ -9,7 +9,8 @@ import Operators (Ops)
import System.Console.Haskeline (InputT)
data Datum
- = Atom Int -- unifies a constant
+ = Atom Int -- unifies a symbolic constant
+ | Number Int -- unifies a numeric constant
| Struct Id -- unifies a structure with arity
| VoidRef -- unifies with anything
| LocalRef Int -- code-local variable idx (should never occur on heap)