basvandijk / scientific

Arbitrary-precision floating-point numbers represented using scientific notation
BSD 3-Clause "New" or "Revised" License
73 stars 40 forks source link

Make Hashable dependency optional #97

Open 414owen opened 8 months ago

414owen commented 8 months ago

This is a dependency purely for writing an instance, so it should be optional IMO.

A better solution would be to put it in a cabal sublibrary, but a flag will do. I've made it default to true, but I recommend defaulting it to false on the next major release (or putting it in a sublibrary).