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

Uploaded Python 3

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

Hashes for typeclass_core-1.0.4.tar.gz
Algorithm Hash digest
SHA256 00d28310282693f4aa2f25c37aa3f414ca9b5173a94c733f98d5245f1e801efc
MD5 39e40cf248ad8a3d44fbf54992732b5e
BLAKE2b-256 7357eb974efae0a44641c5aead449c311b0931915c0027c10bf2621d1d7e915f

See more details on using hashes here.

Provenance

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

Hashes for typeclass_core-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 e0fb712dd14ea47df46fedac35db00b0d462ff7a3ad9dd7a135f75d08db88b1e
MD5 7322af7068e74448c5666bb768f91ba5
BLAKE2b-256 d792c0c00f15adbe1e6806e3ac2f181045fbed521a6bef57965637f0b245dc98

See more details on using hashes here.

Provenance

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