Skip to content
This repository has been archived by the owner on May 20, 2018. It is now read-only.

Pretty-print well-known embedded term values as “literals” #176

Open
robrix opened this issue Dec 13, 2015 · 1 comment
Open

Pretty-print well-known embedded term values as “literals” #176

robrix opened this issue Dec 13, 2015 · 1 comment
Labels

Comments

@robrix
Copy link
Contributor

robrix commented Dec 13, 2015

This is only relevant once #174 is merged in.

For example, the embedding of the character 'h' is currently pretty-printed as 'h' : Character. It would be nice to instead pretty-print it as simply 'h'.

Likewise, instead of 'hello' : String, "hello" would suffice.

@robrix
Copy link
Contributor Author

robrix commented Dec 13, 2015

It would be great if we could generalize this s.t. we could pretty-print:

  • Pair A B as (A, B)
  • pair A B a b as (a, b)
  • Pair A (Pair B C) as (A, B, C)
  • pair A (Pair B C) a (pair B C b c) as (a, b, c)

@robrix robrix added the feature label Dec 13, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant