Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
jhellerstein committed Sep 9, 2024
1 parent 93844c4 commit b99a1fb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lattices/src/ght_lazy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ pub trait ColtNode {
// 4. Somehow cast the prefix of Nones on each call to have Head = Rest::Head
// Problem: How?

#[sealed]
// #[sealed]
// impl<'a, First, Rest> ColtNode for var_type!(Option<&'a First>, ...Rest)
// where
// First: GeneralizedHashTrieNode<
Expand Down Expand Up @@ -381,6 +381,7 @@ pub trait ColtNode {
// }
// }
// }
#[sealed]
impl<'a, Head, Rest> ColtNode for var_type!(Option<&'a GhtLeaf<Rest::Schema, Rest::SuffixSchema>>, ...Rest)
where
Rest: ColtNode<Head = Head>,
Expand Down Expand Up @@ -432,7 +433,7 @@ where
Node: GeneralizedHashTrieNode,
{
type Schema = <GhtInner<Head, Node> as GeneralizedHashTrieNode>::Schema;
type SuffixSchema = Node::SuffixSchema;
type SuffixSchema = <GhtInner<Head, Node> as GeneralizedHashTrieNode>::SuffixSchema;
type Head = <GhtInner<Head, Node> as GeneralizedHashTrieNode>::Head;
type Get = var_type!(Option<&'a <GhtInner<Head, Node> as GhtGet>::Get>);

Expand Down

0 comments on commit b99a1fb

Please sign in to comment.