In the Haskell report (p. 76 https://www.haskell.org/definition/haskell2010.pdf) the type class hierarchy is shown as:
But when I look at the definition of Num I get:
Why is Num not defined as class Eq a, Show a => Num a where?
In the Haskell report (p. 76 https://www.haskell.org/definition/haskell2010.pdf) the type class hierarchy is shown as:
But when I look at the definition of Num I get:
Why is Num not defined as class Eq a, Show a => Num a where?