about summary refs log tree commit diff
path: root/tvix/eval/src/value.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tvix/eval/src/value.rs')
-rw-r--r--tvix/eval/src/value.rs10
1 files changed, 10 insertions, 0 deletions
diff --git a/tvix/eval/src/value.rs b/tvix/eval/src/value.rs
new file mode 100644
index 000000000000..037284b144b2
--- /dev/null
+++ b/tvix/eval/src/value.rs
@@ -0,0 +1,10 @@
+//! This module implements the backing representation of runtime
+//! values in the Nix language.
+
+#[derive(Clone, Copy, Debug, PartialEq)]
+pub enum Value {
+    Null,
+    Bool(bool),
+    Integer(i64),
+    Float(f64),
+}