leanprover / leanprover/lean4

Feature request: Custom prelude

Open
#1,617 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature P-low
Dominant language
Lean
Stars
9.2k
Forks
990
Avg merge
1d 17h
Merged PRs (30d)
175

Description

  • In a few contexts, it would be helpful if in addition to Init another file can be loaded before each file.
  • This can be a command-line option
  • In addition, Lake can have a convenient way to specify this.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing how Init is loaded before each file and how command-line options are parsed. Then inspect Lake's configuration path for a convenient way to specify an additional prelude. Done means both the command-line option and the corresponding Lake mechanism load the selected file before each file.

Written by the indexing model from the issue text.

Assessment

Domain
build-system, cli, compilers
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.