tweag / ormolu

A formatter for Haskell source code
https://ormolu-live.tweag.io
Other
956 stars 83 forks source link

Replace DList with Seq #986

Closed brandonchinn178 closed 1 year ago

brandonchinn178 commented 1 year ago

I find Data.Sequence has a better API than DList, and it avoids adding another dependency (given that most projects use containers anyway). The two should have roughly the same performance: https://stackoverflow.com/a/37507346/4966649

Will conflict with https://github.com/tweag/ormolu/pull/985, will resolve after PR is merged

mrkkrp commented 1 year ago

Thanks!