Skip to content

First ten chapters of the Scala 3 Overview documentation #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 23 commits into from

Conversation

alvinj
Copy link

@alvinj alvinj commented Oct 27, 2020

This is WIP please do not merge. @julienrf and @b-studios, this PR contains the first ten chapters I have created for the Scala 3 Overview documentation.

@alvinj alvinj requested a review from julienrf October 27, 2020 15:00
Copy link

@b-studios b-studios left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I haven't reviewed the scala-for-X files, yet since it is difficult to do so in html.

@@ -212,6 +211,8 @@ var a = BigInt(1_234_567_890_987_654_321L)
var b = BigDecimal(123_456.789)
```

Where `Double` and `Float` are approximate decimal numbers, `BigDecimal` is used for precise arithmetic.

Scala also has `String` and `Char` data types:

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems a bit abrupt to end this subsection like this. Maybe reorganize into

## Numbers

## Built-in data types

### Numbers

### Strings

#### String Interpolation
...

?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hopefully I covered this. Here are the current H2 labels:

## Hello, world
## The Scala REPL
## Two types of variables
## Declaring variable types
## Built-in data types
## Control structures
## Data Modeling
## Scala methods
## Objects
## First-class functions
## Extension methods
## Collections classes
## Contextual abstractions
## Even more

@b-studios b-studios mentioned this pull request Nov 24, 2020
@b-studios
Copy link

I close this PR in favour of #3 -- where this one is already merged into.

@b-studios b-studios closed this Dec 7, 2020
@julienrf julienrf deleted the overview-docs branch May 15, 2023 07:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants