fn filter_items<'a>(
    items: &'a [Item],
    filt: impl Fn(&Item) -> bool,
    ty: &str
) -> Vec<Link<'a>>