This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use std::marker::PhantomData; | |
struct Env; | |
#[derive(Clone, Copy)] | |
struct Term<'a> { | |
life: PhantomData<&'a Env>, | |
} | |
// Decodes a Term to a rust value. This interfaces with native code. | |
trait Decoder: Sized { |