You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 3, 2024. It is now read-only.
...
(Ix i, Eq e) => Eq (Array i e)
(Ix i, Ord e) => Ord (Array i e)
(Ix a, Show a, Show b) => Show (Array a b)
But there is also an instance instance (Ix a, Read a, Read b) => Read (Array a b). (It's even documented in the Haskell 2010 Report!)
I'm guessing this is due to the fact that Array and its Eq, Ord and Show instances are defined in module GHC.Arr in base, while the Read instance is defined in module GHC.Read, which imports GHC.Arr. Still the instance really should be documented.