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

Uploaded Python 3

File details

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

File metadata

  • Download URL: typeclass_core-1.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 9e0514b98f489bfc16e46469492ac20324f806fac394cde0ffcd4c7330b915ad
MD5 2ab2f848d1f4de87251fce7b869cabed
BLAKE2b-256 e35343140ae376508b2cf24f4b22f826bb3439c90c9183937d8fc3a516e12375

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: typeclass_core-1.0.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 650f398c8bf972063cc2eec9d0b4c68e8b0209a66b1df7f32ecfc6823bb93d4a
MD5 6a6a32c088d91b598e5ccff1e887d294
BLAKE2b-256 256e94fcedcb508432a7d4e7507679203cd0db1d5d774384be0ba9a0928d5c87

See more details on using hashes here.

Provenance

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