pub fn lookup_via_default_impl<DeclL, A>(
decl_level: &DeclL,
lookup: &Box<dyn Fn(&DeclarationPtr) -> Option<Literal> + '_>,
) -> Result<A, ReprUpError>Expand description
Implement [ReprDeclLevel::lookup_via] as a functor S<DeclarationPtr> -> S<Literal>.