MCPcopy Create free account
hub / github.com/actor-framework/actor-framework / stringify

Function stringify

scripts/demystify.py:65–73  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

63 return res
64
65def stringify(x):
66 if x.startswith(ATOM_CONSTANT_SUFFIX):
67 begin = len(ATOM_CONSTANT_SUFFIX)
68 end = len(x) - 1
69 res = "'"
70 res += atom_read(int(x[begin:end]))
71 res += "'"
72 return res
73 return x
74
75def stringify_list(xs):
76 res = ""

Callers 1

stringify_listFunction · 0.70

Calls 1

atom_readFunction · 0.85

Tested by

no test coverage detected