Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interleaving of multiple passes #39

Open
spacekitteh opened this issue Apr 25, 2017 · 1 comment
Open

Interleaving of multiple passes #39

spacekitteh opened this issue Apr 25, 2017 · 1 comment

Comments

@spacekitteh
Copy link

There should be a combinator to take an arbitrary list of passes, and interleave them into a single pass where the fact type is a type-level list of other fact types:

interleavePasses :: [forall f. FwdPass m n f] -> FwdPass m n '[]

This seems quite Effective (pun most certainly intended).

@mlite
Copy link
Contributor

mlite commented May 18, 2017

Is this really possible without understanding what each pass is doing? It seems it requires each pass be both commutative and associative.

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

No branches or pull requests

2 participants