Haskell how to instanciate all elements of two classes?
Here is what my problem boils down to: I have a class, and I want every Floating and every Integral to instantiate it, but in different ways. In a minimal code example:
Here is what my problem boils down to: I have a class, and I want every Floating and every Integral to instantiate it, but in different ways. In a minimal code example: