[Fixed up maps and starting on functions as data John Goerzen **20080325073407] { hunk ./en/ch14-data.xml 392 - Association Lists and Maps + Association Lists hunk ./en/ch14-data.xml 466 + + + Maps hunk ./en/ch14-data.xml 470 - The Data.Map module has some functions with same + The Data.Map module is used for working with + maps. This module has some functions with same hunk ./en/ch14-data.xml 480 + &buildmap.hs:all; hunk ./en/ch14-data.xml 491 + &buildmap.ghci:all; + hunk ./en/ch14-data.xml 522 - (CuscomColor, Int). We create two + (CustomColor, Int). We create two hunk ./examples/ch14/funcrecs.hs 2 +-- ch14/funcrecs.hs + +{- | Our usual CustomColor type to play with -} hunk ./examples/ch14/funcrecs.hs 11 +{- | A new type that stores a name and a function. + +The function takes an Int, applies some computation to it, and returns +the Int along with a CustomColor -} hunk ./examples/ch14/funcrecs.hs 20 + }