Commit Graph

8 Commits

Author SHA1 Message Date
Louis Pilfold
90d9862a90 Scala for comprehension 2014-10-23 09:31:19 +01:00
Louis Pilfold
faeacc8c27 Remove Scala braces to adhere to the style guide
Scala if statements can have braces, but convention is not to use them
except in specific situations; so let's not use them by default.

Let's also add a space before the opening `(`, as this is also
convention.

Lastly, remove the useless placeholder text, as recommende in the
project README. Everyone knows how an if statement works. :)

http://www.codecommit.com/scala-style-guide.pdf
2014-10-09 14:38:25 +01:00
Ches Martin
0b673c3e59 Scala snippets fix 2014-03-27 05:37:14 +07:00
Adnan Zafar
7f9c4f5807 Modify snippets to support zero tabstop 2013-09-05 14:53:52 -04:00
Marc Weber
8024cfcecd while -> wh, see #230 and README.md 2013-08-08 11:24:27 +02:00
Marc Weber
344ac6ea2c new policies for if, eif, el
What about wh(ile)?
drop some placeholder comments which don't add (enough) value to keep
for patterns used very often.
2013-06-23 02:30:26 +02:00
Michael Thessel
4eb88d7993 Removed comment blocks from placeholders 2013-06-20 23:57:07 +02:00
Iuri Fernandes
3ef38996f4 Import scala snippets created by @gorodok with some alterations. 2013-02-18 10:25:25 -03:00