Skip to content

Remove pretty print constructors from Type - #3498

Merged
natefaubion merged 1 commit into
purescript:masterfrom
natefaubion:remove-pretty-print-type
Dec 26, 2018
Merged

Remove pretty print constructors from Type#3498
natefaubion merged 1 commit into
purescript:masterfrom
natefaubion:remove-pretty-print-type

Conversation

@natefaubion

Copy link
Copy Markdown
Contributor

This PR removes the PrettyPrint constructors from Type in favor of a separate type AST for pretty printing. I also removed RenderTypeOptions and all the *WithOptions variations for rendering because they only ever used the defaults (currentModule was completely unused).

@hdgarrood hdgarrood left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This looks good to me, and it would definitely be nice not to have to worry about these constructors in places where they're not relevant!

@natefaubion
natefaubion merged commit 9446c8b into purescript:master Dec 26, 2018
@natefaubion
natefaubion deleted the remove-pretty-print-type branch December 26, 2018 20:46
@garyb garyb mentioned this pull request Jan 12, 2019
3 tasks
dariooddenino pushed a commit to dariooddenino/purescript that referenced this pull request Jan 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants