Skip to content

Conversation

@toku-sa-n
Copy link
Collaborator

Description of the PR

It turned out that we couldn't place instance Prettys in each AST node
module without allowing the circular dependency because of the recursive
structure of Haskell's AST, unfortunately.

Checklist

My first plan was to place all `instance Pretty`s in `HIndent.Pretty` to remove existing instances for GHC's AST while not being affected by the AST's recursive structure, but it turned out that even our own AST couldn't avoid the recursive structure. Thus, I scatter the instances again with a `.hs-boot` file.
@toku-sa-n toku-sa-n marked this pull request as ready for review March 15, 2024 23:00
@toku-sa-n toku-sa-n requested a review from mihaimaruseac March 16, 2024 14:00
@mihaimaruseac mihaimaruseac merged commit f8f223a into mihaimaruseac:master Mar 16, 2024
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.

2 participants