scalatutorials / scalatutorials.github.io

7 stars 4 forks source link

Fix numbering of examples #1

Closed sleepynate closed 11 years ago

sleepynate commented 11 years ago

The values were not consistent, so running the example would provide:

error L58:not found: value add0
eranation commented 11 years ago

Thanks! good catch :)

The code is actually auto generated via this CSV: https://github.com/eranation/ScalaTutorialsTourMaker/blob/master/src/main/resources/tour.csv (looks pretty bad in plain text, but I found it somewhat workable using a CSV editor, will migrate it to a database soon)

So I'll have to remember fixing it also there :)