-
Notifications
You must be signed in to change notification settings - Fork 37
Open
Labels
Description
In GitLab by @phadej on Jul 17, 2022, 03:04
Where these should be?
binary(thenbinarywould depend onfilepath)filepath(thenfilepathwould depend onbinary)- somewhere else? (https://hackage.haskell.org/package/binary-instances or new
filepath-binary-instances).
I don't know if how GHC serializes its stuff, but I bet there are filepaths in there. (Cabal does, and uses Generics). So that rules out third option, except if it's a new filepath-binary-instances package which is bundled with GHC.
Otherwise I'd prefer second option, so the type-class providing package stays as dependency-light as possible.
ping @bgamari