Skip to main content

This is a tool to fix recursive calls to loop in a fully automatic manner.

Project description

再帰呼び出しを全自動でloopに直すツールです。 関数呼び出しの深さが非常に深くなっても正常に実行できます。

This is a tool to fix recursive calls to loop in a fully automatic manner. It can execute successfully even when the depth of the function call is very deep.

How to use: 使用法

# pip install unrec

import unrec

@unrec
def frac(n):
	if n == 0: return 1
	return n * frac(n-1)

print(frac(9999))	# -> NO ERROR!!

This description is under construction.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

unrec-0.1.0.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

unrec-0.1.0-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file unrec-0.1.0.tar.gz.

File metadata

  • Download URL: unrec-0.1.0.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.6.4

File hashes

Hashes for unrec-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1e8aa1e6d5d3930ff20b93764e4e37c7c0a8fe59d817a2a0e717af6dbb9aa3a4
MD5 f67282936a476c264cc562484a5b9e9b
BLAKE2b-256 dfff44685737f46ae54264f6df98b9ef6abd0b4831391538ab7be170fa001d06

See more details on using hashes here.

File details

Details for the file unrec-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: unrec-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.6.4

File hashes

Hashes for unrec-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3f807071a9f1cce8458fce35616f961dcf728a03be8fb63c9b95a5bbeea8d8ac
MD5 bb0f621f2586ed083449772136e1b52c
BLAKE2b-256 4532041aef514bb26cfca8b7ab3bfa34fc0ee5007fe939151350379fb1016546

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page