Commit Graph

65 Commits

Author SHA1 Message Date
Geoff Liu
97b21a7865 Merge pull request #1955 from pikazlou/scala-pattern-matching
added docs for default case in pattern matching
2015-12-18 16:27:53 -05:00
Pavel Kazlou
d47f06345b added docs for default case in pattern matching 2015-10-31 16:50:40 +03:00
Pavel Kazlou
bc087b5037 usage of named parameters 2015-10-31 16:39:47 +03:00
chris-hranj
069e127ff8 update Data Structures section to show outputs 2015-10-24 23:53:17 -04:00
João Costa
7c2c448060 Fix compile errors of the English and French Scala tutorials 2015-10-10 16:49:53 +01:00
Kaleb Davis
f30200b31c Add examples to show how printing works 2015-10-06 21:22:09 -04:00
Ha-Duong, NGUYEN
d61ad10775 scala: consistent code format 2015-08-03 15:58:36 +07:00
Ha-Duong, NGUYEN
513235c475 scala: clearer further resources (itemized) 2015-08-03 15:56:11 +07:00
Ha-Duong, NGUYEN
7c02089687 scala: consistent code format 2015-08-03 15:55:59 +07:00
Ha-Duong, NGUYEN
efb338608b scala: consistent code format 2015-08-03 15:55:38 +07:00
Ha-Duong, NGUYEN
dbdde5134b scala: clearer comments 2015-08-03 15:50:32 +07:00
Ha-Duong, NGUYEN
5b683b34dd scala: easier-to-look comment 2015-08-03 15:49:54 +07:00
Ha-Duong, NGUYEN
8c06438ec9 scala: correct format 2015-08-03 15:49:15 +07:00
Ha-Duong, NGUYEN
9ddf69a14d scala: language correction 2015-08-03 15:48:28 +07:00
Ha-Duong, NGUYEN
496b11f8ce scala: consistent style, language correction 2015-08-03 15:47:02 +07:00
yejinchang
4adbf231c8 make corrections 2015-04-16 17:53:40 +08:00
Ikrom
73025e65c3 Update scala.html.markdown
Removed typo (unnecessary double quote in patternFunc)
2015-01-29 09:03:36 +05:00
Geoff Liu
c053f1559b Better wording about breaks in cases 2015-01-11 18:11:06 -07:00
Geoff Liu
8f29b15cda Rewrite the pattern matching section 2015-01-11 15:30:12 -07:00
Adam Bard
c4036c6514 Merge pull request #890 from arturmkrtchyan/master
[scala] Fixed function return type
2015-01-03 20:12:35 +00:00
Artur Mkrtchyan
d7672a2bc5 Added warning on return usage 2015-01-03 19:48:53 +01:00
Artur Mkrtchyan
6dca0e7ae4 Fixed Person class' constructor signature 2014-12-21 13:08:21 +01:00
Artur Mkrtchyan
6027c90c90 Scala compiler fails to infer the return type when there's an explicit return statement 2014-12-20 23:03:25 +01:00
Geoff Liu
448aee0ed7 Fix a typo 2014-11-27 00:40:36 -07:00
Geoff Liu
fa2a820906 Implicits 2014-11-27 00:38:54 -07:00
Geoff Liu
651e1e90d2 Some work on the Scala page 2014-11-14 15:01:16 -08:00
Geoff Liu
29bc9a1449 Use the right comment style for Scala... oops 2014-11-12 00:36:19 -08:00
Geoff Liu
9d8d871005 Merge 2014-11-11 18:06:19 -08:00
Geoff Liu
e784f52d33 Minor consistency edit 2014-11-10 19:58:14 -07:00
Geoff Liu
45bc0f19a0 Minor fix 2014-11-10 19:46:26 -07:00
Geoff Liu
761f150b4b Clean up of section 1 2014-11-10 19:38:48 -07:00
Geoff Liu
57c9f70417 A huge re-organization of the Scala file 2014-11-10 19:24:00 -07:00
Bonnie
a32a8e1401 Remove an extraneous space. 2014-11-06 18:47:38 -08:00
Bonnie Barrilleaux
af29a504c0 Added a few clarifying lines to Scala so that the examples can be run as given. Removed a duplicate example. 2014-11-05 14:06:34 -08:00
Adam
eab554a7a7 Review docs for added rouge lexers and update those with new highlighters 2014-09-08 13:08:28 +02:00
Michael Bock
3771906a8c Fix typo in scala
"less then" -> "less than"
2014-08-25 00:13:59 -07:00
a.vandijk
775c7faa65 [ADDED] Output to additional println's. 2014-08-16 18:21:49 +02:00
a.vandijk
d2cf006282 [CHANGE] Output examples added to matcher part and string interpolation part. 2014-08-15 15:56:56 +02:00
a.vandijk
07b6229ee6 [CHANGE] Comment match on serial key now mentions verbatim (multiline) 2014-08-15 15:56:55 +02:00
a.vandijk
3cb8d2bcc5 - [ADD] PrintWriter example from Java
- [CHANGE] Extended regex matching with more examples with switch / case
- [CHANGE] String interpolation with formatting and expressions explained.
2014-08-15 15:56:55 +02:00
Duncan Beaton
73195400ba Fix 'Immutability' typo 2014-07-06 20:10:15 +01:00
rostdotio
bd6d3be775 Added explanation for colon character
Use of the colon character for value assignment is now explained by example of function add10.
2014-02-28 10:31:10 +01:00
Cengiz Can
c0a9eabb6c Source.fromPath no longer exists (https://github.com/scala/scala/blob/master/src/library/scala/io/Source.scala) Changed example to use Source.fromFile 2013-12-30 09:45:15 +02:00
Matthieu Moquet
c9587395d2 [Scala] Fix typo: forgotten dot 2013-09-28 15:33:32 +02:00
Eran Medan
bd2a852ae8 fixed some broken / missing markdown links and added a resource 2013-08-07 17:31:49 -04:00
Adam
22f1469dd8 Used c syntax highlighting for scala for now 2013-08-02 09:47:13 -07:00
Adam
9d2c808fcb corrected scala 2013-08-02 09:43:54 -07:00
Adam
906c7164d0 Updated scala for line lengths 2013-08-02 09:39:30 -07:00
George Petrov
0e8654e40e Merge remote-tracking branch 'dbousarma/master' into adding_scala
Conflicts:
	scala.html.markdown
2013-08-01 10:11:15 +01:00
George Petrov
38bd9a18fd Added tuples 2013-07-31 20:52:59 +01:00