P. 1
haskell2010

haskell2010

|Views: 71|Likes:
Published by nricci02

More info:

Categories:Types, Research, Science
Published by: nricci02 on Apr 14, 2011
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

04/28/2013

pdf

text

original

ixmap :: (Ix i, Ix j) => (i, i)

-> (i -> j) -> Array j e -> Array i e

ixmap allows for transformations on array indices. It may be thought of as providing function compo-
sition on the right with the mapping that the original array embodies.

A similar transformation of array values may be achieved using fmap from the Array instance of the
Functor class.

164

CHAPTER 14. DATA.ARRAY

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->