Joel Bradshaw
bcb1b623b1
[scala/en] Make return value example actually demonstrate issue
...
Previously the `return z` didn't actually have any effect on the output, since the outer function just return the anon function's result directly. Updated to make the outer function do something to demonstrate the difference. Also renamed functions to make what they're doing easier to follow, and added a couple examples of behavior w/ explanations
2017-06-23 13:35:19 -07:00
Tommy Kelly
8d76182d52
[scala/en] fix anologus typo
2017-06-09 13:52:53 -07:00
Amru Eliwat
87cb771547
Changed spelling of 'favourite' to use US english
2016-10-30 22:54:18 -04:00
Amru Eliwat
850aae6ed5
Fixed confusing typo
2016-10-30 22:40:42 -04:00
Geoff Liu
3f5106a323
Merge pull request #1782 from doub1ejack/scala-en-repl
...
[scala/en] Added REPL basics to help people experiment as they learn.
2016-08-02 14:02:23 -04:00
Felipe Martins
7895dcc604
Add example of an int is divided by a double ( #2284 )
2016-06-21 23:20:59 +02:00
rajanand ilangovan
71e503325e
Removed !
2016-02-06 00:00:12 +05:30
ven
510f4e239e
Merge pull request #1950 from pikazlou/scala-flow-control-fix
...
fix docs for Flow Control
2016-01-25 11:28:08 +01:00
Geoff Liu
88eec09b88
Merge pull request #1802 from juusaw/patch-3
...
[scala/eng] Added Java import to misc
2016-01-06 14:56:09 -07:00
Geoff Liu
7625a0cbd8
Merge pull request #1951 from pikazlou/scala-tuples-usage
...
additional docs for tuple usage
2015-12-18 17:21:48 -05:00
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
Pavel Kazlou
3dbcf1c2c6
added docs for multi-variable tuple assignment
2015-10-31 16:22:59 +03:00
Pavel Kazlou
b336e81086
removed controversial performance info, fixed recursion info and typos
2015-10-31 16:12:18 +03:00
Juuso Mikkonen
69efce9e83
[scala/eng] Added Java import to misc
2015-10-26 22:33:53 +02:00
Micah
f1b64fb6a6
[scala/en] Added REPL basics to help people experiment as they learn.
2015-10-25 13:08:12 -04: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