haskell / haskell/hoopl

Interleaving of multiple passes

Open
#39 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
77
Forks
30
PR merge metrics
No merged PRs in 30d

Description

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:

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

This seems quite Effective (pun most certainly intended).

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the FwdPass definition and existing pass combinators in the repository, then compare their behavior with the proposed interleavePasses type signature. Clarify how an arbitrary list of passes and the type-level fact list should be represented, and define completion as a working combinator with coverage for interleaving multiple passes.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
compilers
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.