MCPcopy Create free account
hub / github.com/BasisResearch/lean.py / StrConcat

Function StrConcat

lean_py/z3/core.py:2349–2356  ·  view source on GitHub ↗

Concatenate strings.

(*args: StringRef)

Source from the content-addressed store, hash-verified

2347
2348
2349def StrConcat(*args: StringRef) -> StringRef:
2350 """Concatenate strings."""
2351 if not args:
2352 return StringVal("")
2353 result = args[0]
2354 for a in args[1:]:
2355 result = result + a
2356 return result
2357
2358
2359# ---------------------------------------------------------------------------

Callers 10

test_str_concat_emptyMethod · 0.90
test_concatMethod · 0.90
test_length_concatMethod · 0.90
test_concat_assocMethod · 0.90

Calls 1

StringValFunction · 0.85

Tested by 10

test_str_concat_emptyMethod · 0.72
test_concatMethod · 0.72
test_length_concatMethod · 0.72
test_concat_assocMethod · 0.72