Home | Download | Documentation | Publications
Lean is a functional programming language that makes it easy to write correct and maintainable code. You can also use Lean as an interactive theorem prover. Lean programming primarily involves defining types and functions. This allows your focus to remain on the problem domain and manipulating its data, rather than the details of programming.
Source: lean-lang.org/about
For init a new project on Lean, run this:
lake new <PROJECT_NAME_HERE>
For compile the code, run the command:
cd Coffeeshop
lake exec coffeeshop