concept index in category scala
appears as: index, n index

This is an excerpt from Manning's book Play for Scala: Covers Play 2.
Edit the file app/controllers/Application.scala and replace the Application object’s index method with the following:
Now that the index is available, it’s straightforward to derive the remaining values: