Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BasisResearch/lean.py
/ mk_const
Function
mk_const
examples/05_knuckledragger/python/main.py:35–36 ·
view source on GitHub ↗
(s: str)
Source
from the content-addressed store, hash-verified
33
return
n
34
35
def
mk_const(s: str):
36
return
Expr.const(mk_name(s), [])
37
38
def
mk_nat(n: int):
39
return
Expr.app(
Callers
3
mk_nat
Function · 0.70
mk_binop
Function · 0.70
mk_eq
Function · 0.70
Calls
1
mk_name
Function · 0.70
Tested by
no test coverage detected