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
Release history Release notifications | RSS feed
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.1.tar.gz
(5.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
tacitpy-0.1.1-py3-none-any.whl
(18.1 kB
view details)
File details
Details for the file tacitpy-0.1.1.tar.gz.
File metadata
- Download URL: tacitpy-0.1.1.tar.gz
- Upload date:
- Size: 5.8 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.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
870cb24fb98c8337319c6b49a9885a67e15c2c63d7e42e5b65bb29bfa3627d0f
|
|
| MD5 |
ce21b02e7f8276fd21a67d3b3f890b22
|
|
| BLAKE2b-256 |
2e0c05e55205b8e9c4131e706666cea82a84c1a9efca68121135fbecfc6b743e
|
File details
Details for the file tacitpy-0.1.1-py3-none-any.whl.
File metadata
- Download URL: tacitpy-0.1.1-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.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
75dc46cd311751eedeaf1767e447918bd2d80d4370428e5463e9561cb907dbf5
|
|
| MD5 |
ebd8612454f72fb3004a8306599ba6f2
|
|
| BLAKE2b-256 |
9d0ae68ba12803bcd8cff44f12f9fea2676823edca27de66b16583014a67a7f6
|