Zulip Chat Archive
Stream: general
Topic: Typing mistake in the "Functional programming in Lean"?
lorã (Mar 04 2025 at 13:17):
I mean, i don't really know where should i share that and i know that's pretty small but i want to share it anyway.
So, i were reading this doc which contains this part:
If i'm not crazy today, it should'nt be "Gretting.lean" and "Gretting/Basic.lean" instead?
Thank you!
Aaron Liu (Mar 04 2025 at 13:21):
I think this is correct. When I made a project called "Misc", it created a file called "Misc.lean" that imports a file called "Misc/Basic.lean" which contains a simple hello world statement.
lorã (Mar 04 2025 at 13:22):
image.png
So it didn't create a Miscs.lean
or a Miscs/Basic.lean
instead, right?
Aaron Liu (Mar 04 2025 at 13:27):
Yes, now that I look at it again this should probably be "Greeting.lean" and "Greeting/Basic.lean"
Last updated: May 02 2025 at 03:31 UTC