Simplify Eq, Ord, and Show instances for UArray
authorSimon Marlow <simonmar@microsoft.com>
Mon, 13 Mar 2006 14:27:01 +0000 (14:27 +0000)
committerSimon Marlow <simonmar@microsoft.com>
Mon, 13 Mar 2006 14:27:01 +0000 (14:27 +0000)
commit8626c9df7f0821ced007712c4248b31bac192dab
treeaa49e8e377105e2d733b8e6b0a6da1a419cff728
parentb3211905110da0fca41fe9634bee0210c5325e9c
Simplify Eq, Ord, and Show instances for UArray
The Eq, Ord, and Show instances of UArray were written out longhand
with one instance per element type.  It is possible to condense these
into a single instance for each class, at the expense of using more
extensions (non-std context on instance declaration).

Suggestion by: Frederik Eaton <frederik@ofb.net>
Data/Array/Base.hs