Zulip Chat Archive
Stream: general
Topic: Programing Refrences
Christopher Upshaw (Apr 11 2021 at 20:59):
So what are some good places to read up on Lean 3/4 specifically as a programing language, as opposed to using it for mathematics? I hang out on the mathlib discord server so I know lots about it as a prover.
Bryan Gin-ge Chen (Apr 11 2021 at 21:16):
The only resources specific to Lean (3) I know of are in the "tactic writing and metaprogramming" section of our Learning resources page.
Jason Rute (Apr 12 2021 at 02:48):
For lean 3: https://agentultra.github.io/lean-for-hackers/
Jason Rute (Apr 12 2021 at 02:50):
For lean 4, see the manual: https://leanprover.github.io/lean4/doc/
Jason Rute (Apr 12 2021 at 02:53):
Lean 4 is designed to be a useable programming language. Lean 3’s programming language is harder to use IMHO and mostly used for metaprogramming (writing tactics and other code to inspect internal lean objects).
Jason Rute (Apr 12 2021 at 02:59):
If you are not familiar with the basics of monads, you can find good introductions on the internet by Googling. Also this is a good intro for monads in Lean although it might be really outdated.
Jason Rute (Apr 12 2021 at 02:59):
https://avigad.github.io/programming_in_lean/monads.html
Last updated: Dec 20 2023 at 11:08 UTC