Skip to main content

Tacit programming for Python.

Project description

TacitPy

Tacit Python programming.

Example

from tacit import *

add5 = add(5)
print('6 + 5 =', add5(6))
	#=> 11

@Curry("int -> int -> float")
def f(x, y):
	return (6.5 + x) * y

# or
f = Curry(lambda x, y: (6 + x) * y)

a = (f(3) * add(2))(5)
b = f(3, 2 + 5)

print('a == b  #=>', a == b)
	#=> true

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

tacitpy-0.1.0.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

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

tacitpy-0.1.0-py3-none-any.whl (18.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tacitpy-0.1.0.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.8.5

File hashes

Hashes for tacitpy-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c40bfbe9af11a246f0139d731f92a813105d00883acb4351a7df21d41fb0d345
MD5 287b5e6bcfc8649f2cc8fa57f7f58d0c
BLAKE2b-256 adcd6fd1b8ea63172fca751b01bfbe9473c56b93d2ad4d96c2bd87e63bd88fc6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tacitpy-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 18.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.8.5

File hashes

Hashes for tacitpy-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dd0ed93c3d7d57c5ee09e687a05429937642c8557699d6413cc97b1908a5c942
MD5 5ab82748eb2865292d204039400f6dc7
BLAKE2b-256 3a8e1eff3da65f2c32019d1ec5c89f45e245d009190f4cf14da1145e61d1c718

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