Zulip Chat Archive

Stream: lean4

Topic: import local file


Elisabeth Bonnevier (Jan 09 2023 at 13:09):

How do I import one local file into another file in the same folder? I have not been able to find documentation on how to work with modules in Lean 4.

Horațiu Cheval (Jan 09 2023 at 13:26):

Do the examples in the Lake repository help?

Sebastian Ullrich (Jan 09 2023 at 13:32):

Relevent FPiL section: https://leanprover.github.io/functional_programming_in_lean/hello-world/starting-a-project.html

Elisabeth Bonnevier (Jan 09 2023 at 13:53):

Sebastian Ullrich said:

Relevent FPiL section: https://leanprover.github.io/functional_programming_in_lean/hello-world/starting-a-project.html

I got it to work. Thanks!


Last updated: Dec 20 2023 at 11:08 UTC