1.2.3. Hello, Lean! 출력하기
LeanForProofs/Chapter01/Section02/Subsection03.lean을 연다.
라이선스 주석 아래에 다음 #print 명령이 있는지 확인한다.
#print "Hello, Lean!"
VS Code에서 Terminal > New Terminal을 선택하고 현재 폴더가 lean-for-proofs-codes인지 확인한 뒤 다음 명령을 입력한다.
PowerShell
lake env lean LeanForProofs/Chapter01/Section02/Subsection03.lean
Lean이 저장된 파일을 읽고 #print에 적은 문자열을 PowerShell 창에 한 줄로 출력한다.