Zulip Chat Archive
Stream: new members
Topic: Disable importing prelude.
Alona (Nov 03 2025 at 22:41):
Is there a way to not import Init.Prelude?
Aaron Liu (Nov 03 2025 at 22:42):
like this
prelude
-- you have now skipped importing `Init`
-- beware that some things might not work now
Aaron Liu (Nov 03 2025 at 22:43):
(the default is to import Init)
Floris van Doorn (Nov 04 2025 at 11:12):
Note: this is definitely not a recommended way of using Lean. Unless you know what you're doing, this is not what you want to do. There are e.g. no guarantees of consistency of Lean if you don't import (at least) some Init files.
Last updated: Dec 20 2025 at 21:32 UTC