pub fn eval_file<I: FromValue>(&mut self, file_name: &str) -> Result<I, RadishError> {
        match self._eval_file(file_name) {
            Ok(val) => I::from_value(val),
            Err(e) => Err(e),
        }
    }
/// Evaluate a file, returning its value.
///
/// **NOTE**: if you do not require a return value, use [`exec_file()`][crate::vm::exec_file].
///
/// # Examples
///
/// ```no_run
/// # fn main() -> Result<(), radish::RadishError> {
/// use radish::VM;
///
/// let mut vm = VM::new();
///
/// assert_eq!(vm.eval::<()>("nil"), Ok(()));
///
/// # Ok(())
/// # }
/// ```
Evaluate a file, returning its value.
Evaluate a file returning its value .
pub fn eval_file<I: FromValue>(&mut self, file_name: &str) -> Result<I, RadishError> {
        match self._eval_file(file_name) {
            Ok(val) => I::from_value(val),
            Err(e) => Err(e),
        }
    }
pub fn eval_file < I : FromValue > ( & mut self , file_name : & str ) -> Result < I , RadishError > { match self . _eval_file ( file_name ) { Ok ( val ) => I :: from_value ( val ) , Err ( e ) => Err ( e ) , } }
Evaluate a file, returning its value.
Evaluate a file returning its value .
&mut self
file_name
&str
examples
None
fn main() -> result<(), radish::radisherror> {
use radish::VM.

let mut vm = VM::new().


use radish :: VM . let mut vm = VM :: new () .
ok(())
None
}
None