conal / MemoTrie

Trie-based memo functions
Other
89 stars 22 forks source link

Remove newtype-generics dependency #24

Open brandonchinn178 opened 8 months ago

brandonchinn178 commented 8 months ago

@conal I saw this dependency was added in 2016, but I'm not sure what the point of it is. Can it be removed?

Context: newtype-generics is not really maintained anymore: https://github.com/sjakobi/newtype-generics/issues/18. Since MemoTrie is used by ormolu and fourmolu, then making ormolu/fourmolu build with GHC 9.8 is blocked by newtype-generics because of MemoTrie.

brandonchinn178 commented 8 months ago

cc @mrkkrp -- this is blocking getting Ormolu back into Stackage nightly

conal commented 8 months ago

@conal I saw this dependency was added in 2016, but I'm not sure what the point of it is. Can it be removed?

I don't know.