[Haskell-cafe] Selecting Array type

Henning Thielemann lemming at henning-thielemann.de
Wed Feb 20 10:59:52 EST 2008


On Wed, 20 Feb 2008, Brent Yorgey wrote:

> 2008/2/19 Jeff ö <jeff1.61803 at gmail.com>:

> > instance SmartArraySelector UArray Bool   where
> > instance SmartArraySelector UArray Char   where
> > instance SmartArraySelector UArray Double where
> > instance SmartArraySelector UArray Float  where
> > instance SmartArraySelector UArray Int    where

> Well, I'm not sure of the answer to your question, so I'll just make a 
> frivolous observation instead: I think you can leave off the "where" on 
> instances without any method definitions.

Haddock 0.* makes a difference at this point.


More information about the Haskell-Cafe mailing list