dhall-lang / dhall-to-cabal

Compile Dhall expressions to Cabal files
MIT License
100 stars 19 forks source link

Let --print-type reference by import #69

Closed quasicomputational closed 6 years ago

quasicomputational commented 6 years ago

Currently, --print-type will generate self-contained output. This is good for some use-cases, but it is troublesome when there are large enumerations in play. It's annoying enough with Extension today, but it's going to get a lot worse with #42. I think the route forward here is to provide a toggle between referencing types by import and directly including them.