We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
E.g.
import tactic.basic reserve notation `#file_decls` -- examples lemma bar (n : ℕ) (h1 : 0 < n) : 0 < n := sorry lemma baz (n : ℕ) : 0 < n + 1 := sorry open tactic setup_tactic_parser meta def file_decls : tactic (list (name × expr)) := do e ← get_env, let l := e.filter (λ d, e.in_current_file d.to_name), return (l.map (λ d, ⟨d.to_name, d.type⟩)) @[user_command] meta def file_cmd (_ : parse $ tk "#file_decls") : lean.parser unit := trace file_decls. #file_decls
The text was updated successfully, but these errors were encountered:
alexjbest
No branches or pull requests
E.g.
The text was updated successfully, but these errors were encountered: