feat: EvalState.require_int
(cherry picked from commit 890441adf963f1a33ba75889cc9735deeefbf51c)
This commit is contained in:
parent
4688ccbf95
commit
fbbc7cb490
2 changed files with 27 additions and 1 deletions
|
|
@ -4,6 +4,8 @@ use std::ptr::{null_mut, NonNull};
|
|||
|
||||
// TODO: test: cloning a thunk does not duplicate the evaluation.
|
||||
|
||||
pub type Int = i64;
|
||||
|
||||
/** The type of a value (or thunk) */
|
||||
#[derive(Eq, PartialEq, Debug)]
|
||||
pub enum ValueType {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue