05.03.2016 Views

Programming in Scala”

fpiscompanion

fpiscompanion

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter notes<br />

Chapter notes provide historical context, l<strong>in</strong>ks to further read<strong>in</strong>g, and additional discussion or<br />

connections to help tie the material we’ve covered <strong>in</strong> the book to the larger practice and research of<br />

the FP community. If you’re <strong>in</strong>terested, we encourage you to do some Wikipedia surf<strong>in</strong>g and further<br />

exploration us<strong>in</strong>g some of the content covered here as a branch<strong>in</strong>g-off po<strong>in</strong>t.<br />

Many of the chapter notes l<strong>in</strong>k to resources that use the Haskell language⁵. We recommend read<strong>in</strong>g<br />

the brief <strong>in</strong>troduction to Haskell, which gives an overview of Haskell for Scala programmers.<br />

A more up-to-date version of this content is available on the FPiS community Wiki.⁶<br />

Gett<strong>in</strong>g answers to your questions<br />

If you have any questions about the book, or about functional programm<strong>in</strong>g <strong>in</strong> Scala (or <strong>in</strong> general),<br />

here are some suggestions:<br />

• Ask on the scala-functional mail<strong>in</strong>g list⁷<br />

• Talk to Paul⁸ and Rúnar⁹ directly on Twitter.<br />

• For questions regard<strong>in</strong>g functional programm<strong>in</strong>g with the Scalaz library, ask on the Scalaz<br />

mail<strong>in</strong>g list¹⁰.<br />

• Post your question on the FPiS community Wiki.¹¹<br />

Notes on chapter 1: What is functional programm<strong>in</strong>g?<br />

See the Wikipedia articles on functional programm<strong>in</strong>g¹² and referential transparency¹³.<br />

Why functional programm<strong>in</strong>g matters<br />

In this chapter we highlight some of the benefits of functional programm<strong>in</strong>g. A classic article that<br />

gives some justification for FP is John Hughes’s Why Functional <strong>Programm<strong>in</strong>g</strong> Matters¹⁴.<br />

⁵http://www.haskell.org<br />

⁶https://github.com/fp<strong>in</strong>scala/fp<strong>in</strong>scala/wiki<br />

⁷https://groups.google.com/forum/#!forum/scala-functional<br />

⁸http://twitter.com/pchiusano<br />

⁹http://twitter.com/runarorama<br />

¹⁰https://groups.google.com/forum/#!forum/scalaz<br />

¹¹https://github.com/fp<strong>in</strong>scala/fp<strong>in</strong>scala/wiki<br />

¹²http://en.wikipedia.org/wiki/Functional_programm<strong>in</strong>g<br />

¹³http://en.wikipedia.org/wiki/Referential_transparency_%28computer_science%29<br />

¹⁴http://www.cs.kent.ac.uk/people/staff/dat/miranda/whyfp90.pdf

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!