Skip to content

fix up FAQ #1846

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

Merged
merged 1 commit into from
Dec 10, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 11 additions & 12 deletions _overviews/FAQ/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,16 @@ get poor results, try surrounding the symbol with double quotes.

## Specific technical questions

### Why is my (abstract or overridden) `val` null?

<!-- this is left over from a previous version of the FAQ.
so, grandfathering this in, but I suggest we not host any further FAQ
answers here, I think it's better to provide only short answers and
links. if something needs more space to explain, there should be
official documentation that addresses it, not just an FAQ answer -->

[answer]({{ site.baseurl }}/tutorials/FAQ/initialization-order.html)

### Which type of collection should I choose?

see the [Scala 2.13 Collections Guide](https://docs.scala-lang.org/overviews/collections-2.13/introduction.html)
Expand All @@ -81,7 +91,7 @@ see the [Scala 2.13 Collections Guide](https://docs.scala-lang.org/overviews/col

[answer on Stack Overflow](https://stackoverflow.com/a/5159356)

### How can I chain/nest implicit conversions?
### Can I chain or nest implicit conversions?

[answer on Stack Overflow](https://stackoverflow.com/a/5332804)

Expand All @@ -99,14 +109,3 @@ equivalents, such as `List[java.lang.Integer]`?
One would hope so, but doing it that way was tried and it proved
impossible. [This SO question](https://stackoverflow.com/questions/11167430/why-are-primitive-types-such-as-int-erased-to-object-in-scala)
sadly lacks a concise explanation, but it does link to past discussions.

## More questions

{% assign overviews = site.overviews | sort: 'num' %}
<ul>
{% for overview in overviews %}
{% if overview.partof == "FAQ" %}
<li><a href="{{ site.baseurl }}{{ overview.url }}">{{ overview.title }}</a></li>
{% endif %}
{% endfor %}
</ul>
4 changes: 1 addition & 3 deletions _overviews/FAQ/initialization-order.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,11 @@
layout: multipage-overview
title: Why is my abstract or overridden val null?
overview-name: FAQ
partof: FAQ

num: 9
permalink: /tutorials/FAQ/:title.html
---

## Example

To understand the problem, let's pick the following concrete example.

abstract class A {
Expand Down
4 changes: 2 additions & 2 deletions index.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ sections:
description: "A handy cheatsheet covering the basics of Scala's syntax."
icon: "fa fa-list"
link: /cheatsheets/index.html
- title: "Scala FAQs"
description: "A list of frequently-asked questions about Scala language features and their answers."
- title: "Scala FAQ"
description: "Answers to frequently-asked questions about Scala."
icon: "fa fa-question-circle"
link: /tutorials/FAQ/index.html
- title: "Language Spec"
Expand Down