Setup to transition to lean 4.
parent
9d1f3120c1
commit
e18b705ad3
|
@ -1,3 +1,2 @@
|
||||||
*.olean
|
/build
|
||||||
/_target
|
/lake-packages/*
|
||||||
/leanpkg.path
|
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
def hello := "world"
|
|
@ -0,0 +1,4 @@
|
||||||
|
import «Bookshelf»
|
||||||
|
|
||||||
|
def main : IO Unit :=
|
||||||
|
IO.println s!"Hello, {hello}!"
|
|
@ -0,0 +1,15 @@
|
||||||
|
import Lake
|
||||||
|
open Lake DSL
|
||||||
|
|
||||||
|
package «bookshelf» {
|
||||||
|
-- add package configuration options here
|
||||||
|
}
|
||||||
|
|
||||||
|
lean_lib «Bookshelf» {
|
||||||
|
-- add library configuration options here
|
||||||
|
}
|
||||||
|
|
||||||
|
@[default_target]
|
||||||
|
lean_exe «bookshelf» {
|
||||||
|
root := `Main
|
||||||
|
}
|
|
@ -0,0 +1 @@
|
||||||
|
leanprover/lean4:nightly-2023-02-10
|
|
@ -1,8 +0,0 @@
|
||||||
[package]
|
|
||||||
name = "bookshelf"
|
|
||||||
version = "0.1"
|
|
||||||
lean_version = "leanprover-community/lean:3.50.3"
|
|
||||||
path = "src"
|
|
||||||
|
|
||||||
[dependencies]
|
|
||||||
mathlib = {git = "https://github.com/leanprover-community/mathlib", rev = "4c19a16e4b705bf135cf9a80ac18fcc99c438514"}
|
|
Loading…
Reference in New Issue