Expose set and representation to crate

This commit is contained in:
Ayaz Hafiz 2022-12-27 12:47:04 -06:00
parent 4dbe90db93
commit ce61386d0a
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58

View file

@ -1254,9 +1254,9 @@ impl<'a> LambdaName<'a> {
#[derive(Clone, Copy, PartialEq, Eq, Hash, PartialOrd, Ord)]
pub struct LambdaSet<'a> {
/// collection of function names and their closure arguments
set: &'a [(Symbol, &'a [Layout<'a>])],
pub(crate) set: &'a [(Symbol, &'a [Layout<'a>])],
/// how the closure will be represented at runtime
representation: Interned<Layout<'a>>,
pub(crate) representation: Interned<Layout<'a>>,
}
#[derive(Debug)]