Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BasisResearch/lean.py
/ _wrap
Function
_wrap
examples/06_effectful_verifier/python/refine.py:89–93 ·
view source on GitHub ↗
(x)
Source
from the content-addressed store, hash-verified
87
int_ops = defdata.dispatch(int)
88
89
def
_wrap(x):
90
s = str(x)
if
isinstance(x, int)
else
x
91
if
isinstance(x, int) and x < 0:
92
return
f
"({s})"
93
return
s
94
95
str_handler = {}
96
for
name in var_names:
Callers
1
_build_lean_str
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected