diff options
| author | Mirek Kratochvil <exa.exa@gmail.com> | 2023-01-03 23:33:54 +0100 |
|---|---|---|
| committer | Mirek Kratochvil <exa.exa@gmail.com> | 2023-01-03 23:33:54 +0100 |
| commit | 3cc35a9414a8ba102a63af64bc5647ea75bc10b2 (patch) | |
| tree | 42033391b50822737b8849994849563a4523d3ba /app/Code.hs | |
| parent | dc13c4d5dfd0da1f0bcf8b5a9ffa760220d628c9 (diff) | |
| download | prlg-3cc35a9414a8ba102a63af64bc5647ea75bc10b2.tar.gz prlg-3cc35a9414a8ba102a63af64bc5647ea75bc10b2.tar.bz2 | |
numbers
Diffstat (limited to 'app/Code.hs')
| -rw-r--r-- | app/Code.hs | 3 |
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) |
