MCPcopy Create free account
hub / github.com/Distributive-Network/PythonMonkey / fn0

Function fn0

tests/python/test_pythonmonkey_eval.py:321–322  ·  view source on GitHub ↗
(n)

Source from the content-addressed store, hash-verified

319 # BF-58 https://github.com/Distributive-Network/PythonMonkey/pull/19
320 def fn1():
321 def fn0(n):
322 return n + 100
323 return fn0
324 assert 101.9 == fn1()(1.9)
325 assert 101.9 == pm.eval("(fn1) => { return fn1 }")(fn1())(1.9)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected