Skip to content

Conversation

@eb8680
Copy link
Contributor

@eb8680 eb8680 commented Jul 8, 2025

This PR adds a standalone module effectful.internals.unification for performing unification-based type inference on a subset of Python's generic types, particularly those available as abstract interfaces in collections.abc.

The main purpose is to enable a followup PR generalizing the type-directed embedding of Terms implemented in defdata to support polymorphic functions and nested collections, addressing #277. It should also unblock #289.

Copy link
Contributor

@jfeser jfeser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me once lint & tests pass.

@eb8680 eb8680 merged commit bc23e4c into master Aug 13, 2025
3 checks passed
@eb8680 eb8680 deleted the eb-type-inference branch August 13, 2025 19:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants