pub fn amd_with_resolver(
    resolver: Box<dyn ImportResolver>,
    base: FileName,
    config: Config
) -> impl Fold