[Haskell-cafe] ANN: AC-Vector, AC-Colour and AC-EasyRaster-GTK
Brandon S. Allbery KF8NH
allbery at ece.cmu.edu
Sat Jul 4 18:10:24 EDT 2009
On Jul 4, 2009, at 15:01 , Max Rabkin wrote:
> On Sat, Jul 4, 2009 at 8:38 PM, Andrew
> Coppin<andrewcoppin at btinternet.com> wrote:
>> 3. It doesn't appear to provide arithmetic over colours.
> It provides darken, blend and addition (though addition is called
> mappend rather than (+)). signum, abs and fromInteger don't make a
> huge amount of sense for colours.
I don't see a good meaning for signum offhand, but fromInteger could
take an X11-encoded RGB value and abs could produce grayscale
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery at kf8nh.com
system administrator [openafs,heimdal,too many hats] allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon university KF8NH
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 195 bytes
Desc: This is a digitally signed message part
Url : http://www.haskell.org/pipermail/haskell-cafe/attachments/20090704/b1cb54fb/PGP.bin
More information about the Haskell-Cafe