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

feat: Add a pretty printer #20

Open
smalewski opened this issue May 25, 2022 · 0 comments
Open

feat: Add a pretty printer #20

smalewski opened this issue May 25, 2022 · 0 comments

Comments

@smalewski
Copy link
Collaborator

smalewski commented May 25, 2022

Expected features:

  • Use unicode characters (lambdas, forall, arrows, etc) (Flag?).
  • Non dependent products should be printed as arrow types.
  • Print parenthesis only when needed.
  • "Uncurryficate" lambdas and products (Flag?):
fun (x : A). fun (y : A). fun (z : B). x
# should be printed as
fun (x y : A) (z : B). x
  • Separate big outputs into multiple lines in a sensible manner.
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

1 participant