Skip to main content

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

typeclass_core-1.0.3.tar.gz (37.2 kB view details)

Uploaded Source

Built Distribution

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

typeclass_core-1.0.3-py3-none-any.whl (64.5 kB view details)

Uploaded Python 3

File details

Details for the file typeclass_core-1.0.3.tar.gz.

File metadata

  • Download URL: typeclass_core-1.0.3.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

Hashes for typeclass_core-1.0.3.tar.gz
Algorithm Hash digest
SHA256 cbf41d93075c6b23a5f3d03c357d1476a533f22e2d9185fd9ddaa26c1965946e
MD5 584b123b4b8d5ae3864d508fb937577b
BLAKE2b-256 0540fd36831967c15e9d09566e77d639699e261754ecd87f790662bf89860f5a

See more details on using hashes here.

Provenance

The following attestation bundles were made for typeclass_core-1.0.3.tar.gz:

Publisher: publish.yml on OpenJ92/typeclass

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file typeclass_core-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: typeclass_core-1.0.3-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

Hashes for typeclass_core-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e71fa19d84ce9c2ca93264a518cee832f0a868737664d4c724e06529ecc1cf44
MD5 93a4c3856add3ed0a61d280c510efcb3
BLAKE2b-256 e7957369916f86e5baebd911c20ce123900fd596aaff618a8644b621e0d23bbe

See more details on using hashes here.

Provenance

The following attestation bundles were made for typeclass_core-1.0.3-py3-none-any.whl:

Publisher: publish.yml on OpenJ92/typeclass

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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