A symbolic, law-aware algebraic framework for compositional computation in Python.
Project description
typeclass
Haskell → Python typeclass isomorphism
⚠️ STATUS: Private Research Project
A symbolic algebraic framework for compositional computation in Python.
Install
pip install typeclass-core
Requires Python 3.14+
Example
from typeclass import fmap, run
expr = 1 |fmap| (lambda x: x + 1)
result = run(expr)
Overview
- Build programs as expressions (AST)
- Interpret them with
run - Supports common algebraic structures (Functor, Monad, Arrow, etc.)
License
See LICENSE
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
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
File details
Details for the file typeclass_core-1.0.4.tar.gz.
File metadata
- Download URL: typeclass_core-1.0.4.tar.gz
- Upload date:
- Size: 37.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
00d28310282693f4aa2f25c37aa3f414ca9b5173a94c733f98d5245f1e801efc
|
|
| MD5 |
39e40cf248ad8a3d44fbf54992732b5e
|
|
| BLAKE2b-256 |
7357eb974efae0a44641c5aead449c311b0931915c0027c10bf2621d1d7e915f
|
Provenance
The following attestation bundles were made for typeclass_core-1.0.4.tar.gz:
Publisher:
publish.yml on OpenJ92/typeclass
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
typeclass_core-1.0.4.tar.gz -
Subject digest:
00d28310282693f4aa2f25c37aa3f414ca9b5173a94c733f98d5245f1e801efc - Sigstore transparency entry: 1187638175
- Sigstore integration time:
-
Permalink:
OpenJ92/typeclass@28c68a4f0e2a3af5585759beb3d71c37937dc418 -
Branch / Tag:
refs/tags/v1.0.4 - Owner: https://github.com/OpenJ92
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@28c68a4f0e2a3af5585759beb3d71c37937dc418 -
Trigger Event:
push
-
Statement type:
File details
Details for the file typeclass_core-1.0.4-py3-none-any.whl.
File metadata
- Download URL: typeclass_core-1.0.4-py3-none-any.whl
- Upload date:
- Size: 64.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e0fb712dd14ea47df46fedac35db00b0d462ff7a3ad9dd7a135f75d08db88b1e
|
|
| MD5 |
7322af7068e74448c5666bb768f91ba5
|
|
| BLAKE2b-256 |
d792c0c00f15adbe1e6806e3ac2f181045fbed521a6bef57965637f0b245dc98
|
Provenance
The following attestation bundles were made for typeclass_core-1.0.4-py3-none-any.whl:
Publisher:
publish.yml on OpenJ92/typeclass
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
typeclass_core-1.0.4-py3-none-any.whl -
Subject digest:
e0fb712dd14ea47df46fedac35db00b0d462ff7a3ad9dd7a135f75d08db88b1e - Sigstore transparency entry: 1187638184
- Sigstore integration time:
-
Permalink:
OpenJ92/typeclass@28c68a4f0e2a3af5585759beb3d71c37937dc418 -
Branch / Tag:
refs/tags/v1.0.4 - Owner: https://github.com/OpenJ92
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@28c68a4f0e2a3af5585759beb3d71c37937dc418 -
Trigger Event:
push
-
Statement type: