hoopl icon indicating copy to clipboard operation
hoopl copied to clipboard

Interleaving of multiple passes

Open spacekitteh opened this issue 8 years ago • 1 comments

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).

spacekitteh avatar Apr 25 '17 03:04 spacekitteh

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

mlite avatar May 18 '17 12:05 mlite