haskell / pretty

Haskell Pretty-printer library
Other
69 stars 30 forks source link

NFData instance #12

Closed ivan-m closed 10 years ago

ivan-m commented 10 years ago

Would it be feasible to add an NFData instance for the Doc type, etc.? This would probably bee needed for #2. It does add a new dependency, but both deepseq and pretty are shipped with GHC so I don't think it's an unreasonable dependency.

dterei commented 10 years ago

Yes, this would be fine.