dgrnbrg / piplin

Compile Clojure to FPGAs
piplin.org
93 stars 10 forks source link

Have pretty-printer truncate types if their argument list is really long #34

Open dgrnbrg opened 12 years ago

dgrnbrg commented 12 years ago

Enums, unions, and bundles can have extremely complicated schemas. These should be elided w/ ellipsis by the pretty printer, because they rarely are of much interest beyond their kind, especially since very long ones obscure the actual data. Huge types are very common in piplin code, because they might represent the union of several structs, each of which contains at least one enum.