snix/tvix/eval/src/value.rs
Vincent Ambo 8b7d2fd59e feat(tvix/eval): add initial value representation
Change-Id: I427a04e89994662df2750dffe21991bad48aab15
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6066
Tested-by: BuildkiteCI
Reviewed-by: grfn <grfn@gws.fyi>
2022-08-12 12:39:19 +00:00

10 lines
218 B
Rust

//! 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),
}