haskell / primitive

This package provides various primitive memory-related operations.
Other
114 stars 58 forks source link

Missing Instances for Array #25

Closed ekmett closed 8 years ago

ekmett commented 9 years ago

Array carries around its length (since 7.2?), so it is capable of being an instance of many well known abstractions:

Read, Show, Eq, Ord, Data, Typeable, Functor, Foldable, Traversable, and IsList all come to mind. For that matter so do Applicative, Alternative, Monad, MonadPlus with concatenative semantics, MonadZip, MonadFix, etc.

dolio commented 8 years ago

These are now implemented.