Commit Graph

87 Commits

Author SHA1 Message Date
Mahmoud Hossam
5b6a6e2adb Update scala docs link for Map 2019-07-02 09:46:18 +02:00
ven
6d087ae0f2
Revert "[scala/en] Make return value example actually demonstrate issue" (#3213) 2018-09-08 23:29:35 +02:00
Adam Bard
49a2bf306f
Merge pull request #2769 from cincodenada/patch-2
[scala/en] Make return value example actually demonstrate issue
2018-09-08 09:50:37 -07:00
Brian Stearns
a462b444e0 Correct English a/an usage 2018-05-31 15:53:10 -04:00
ven
03b9fce5fa
follow-up for #2768 2018-02-28 11:44:53 +01:00
Joel Bradshaw
52a4a4ac95 [scala/en] A few editing improvements as I read through (#2768)
* A few editing improvements as I read through

Take, leave, or modify as desired!

Specifically:
* Acknowledge weirdness of no parameters in `foreach println`
 * Mention what `Unit` is
 * Clarify abstract comments
 * Fix capitalization of George in example
 * Explicitly introduce regex
 * Re-iterate `s` in comments, it's gotten very separated

* Reword explanation of foreach
2018-02-28 11:44:18 +01:00
Andy
84c3574918 [scala/en] Add traits in objects chapter (#2760)
* [scala/en] Add traits in objects chapter

* [scala/en] Traits: Describe traits keywords
2017-07-04 20:21:45 +02:00
Joel Bradshaw
23cee36b4c Update more function mentions in comments 2017-06-29 10:49:44 -07:00
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