
8 Jan
2018
8 Jan
'18
9:02 a.m.
Hello Paul, On Mon, Jan 08, 2018 at 03:20:20PM +0200, Pv wrote:
Hello, all.
Is it possible to import all types except some of instances and to re-defined hiding instances, so resulting (new) module will be the same types, mostly the same instances, but some of instances will be replaced?
Nope, instances are automatically imported! You can create newtypes and have them instances of what you need or check the newfangled `backpack` [1]! [1] https://ghc.haskell.org/trac/ghc/wiki/Backpack