about summary refs log tree commit diff
path: root/tvix/eval/src/value/lambda.rs
blob: 2cecb4f5373bc675c57fa44b970558a9ba504b80 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
//! This module implements the runtime representation of functions.
use std::rc::Rc;

use crate::chunk::Chunk;

use super::NixString;

#[derive(Clone, Debug)]
pub struct Lambda {
    name: Option<NixString>,
    chunk: Rc<Chunk>,
}