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

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.1.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.1-py3-none-any.whl (64.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: typeclass_core-1.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 b57363d5bfe9147a798036db7af8398fdb61bf32bac02a7166a5c64e51458f72
MD5 5892e34b5cbe9d899121f0b226d661c3
BLAKE2b-256 0b5e5950ef6a3dd0c64653aaaf1794de48fddef6c637fe5615f02ebe4c6e67d5

See more details on using hashes here.

Provenance

The following attestation bundles were made for typeclass_core-1.0.1.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.1-py3-none-any.whl.

File metadata

  • Download URL: typeclass_core-1.0.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 52a9f5ab13655a8d38a969803af83d208dd5dae57b30f745ca8f3daf67207c51
MD5 ef8da326ac0e277cc1c88800a1959376
BLAKE2b-256 972c4ebba68f5eafcf0ff62a34425c735b54a835976ae374d5bc102ff5d51a98

See more details on using hashes here.

Provenance

The following attestation bundles were made for typeclass_core-1.0.1-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