Skip to content

indentation explanation for scala 3 book #2445

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
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
2 changes: 1 addition & 1 deletion _overviews/scala3-book/ca-context-bounds.md
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
title: Context Bounds
type: section
description: This page demonstrates Context Bounds in Scala 3.
num: 61
num: 62
previous-page: types-type-classes
next-page: ca-given-imports
---
2 changes: 1 addition & 1 deletion _overviews/scala3-book/ca-contextual-abstractions-intro.md
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
title: Contextual Abstractions
type: chapter
description: This chapter provides an introduction to the Scala 3 concept of Contextual Abstractions.
num: 58
num: 59
previous-page: types-others
next-page: ca-given-using-clauses
---
2 changes: 1 addition & 1 deletion _overviews/scala3-book/ca-extension-methods.md
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
title: Extension Methods
type: section
description: This page demonstrates how Extension Methods work in Scala 3.
num: 63
num: 64
previous-page: ca-given-imports
next-page: ca-type-classes
---
2 changes: 1 addition & 1 deletion _overviews/scala3-book/ca-given-imports.md
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
title: Given Imports
type: section
description: This page demonstrates how 'given' import statements work in Scala 3.
num: 62
num: 63
previous-page: ca-context-bounds
next-page: ca-extension-methods
---
2 changes: 1 addition & 1 deletion _overviews/scala3-book/ca-given-using-clauses.md
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
title: Given Instances and Using Clauses
type: section
description: This page demonstrates how to use 'given' instances and 'using' clauses in Scala 3.
num: 59
num: 60
previous-page: ca-contextual-abstractions-intro
next-page: types-type-classes
---
2 changes: 1 addition & 1 deletion _overviews/scala3-book/ca-implicit-conversions.md
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
title: Implicit Conversions
type: section
description: This page demonstrates how to implement Implicit Conversions in Scala 3.
num: 66
num: 67
previous-page: ca-multiversal-equality
next-page: ca-summary
---
2 changes: 1 addition & 1 deletion _overviews/scala3-book/ca-multiversal-equality.md
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
title: Multiversal Equality
type: section
description: This page demonstrates how to implement Multiversal Equality in Scala 3.
num: 65
num: 66
previous-page: ca-type-classes
next-page: ca-implicit-conversions
---
2 changes: 1 addition & 1 deletion _overviews/scala3-book/ca-summary.md
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
title: Summary
type: section
description: This page provides a summary of the Contextual Abstractions lessons.
num: 67
num: 68
previous-page: ca-implicit-conversions
next-page: concurrency
---
2 changes: 1 addition & 1 deletion _overviews/scala3-book/ca-type-classes.md
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
title: Implementing Type Classes
type: section
description: This page demonstrates how to create and use type classes in Scala 3.
num: 64
num: 65
previous-page: ca-extension-methods
next-page: ca-multiversal-equality
---
2 changes: 1 addition & 1 deletion _overviews/scala3-book/collections-classes.md
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
title: Collections Types
type: section
description: This page introduces the common Scala 3 collections types and some of their methods.
num: 37
num: 38
previous-page: collections-intro
next-page: collections-methods
---
2 changes: 1 addition & 1 deletion _overviews/scala3-book/collections-intro.md
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
title: Scala Collections
type: chapter
description: This page provides and introduction to the common collections classes and their methods in Scala 3.
num: 36
num: 37
previous-page: packaging-imports
next-page: collections-classes
---
2 changes: 1 addition & 1 deletion _overviews/scala3-book/collections-methods.md
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
title: Collections Methods
type: section
description: This page demonstrates the common methods on the Scala 3 collections classes.
num: 38
num: 39
previous-page: collections-classes
next-page: collections-summary
---
2 changes: 1 addition & 1 deletion _overviews/scala3-book/collections-summary.md
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
title: Summary
type: section
description: This page provides a summary of the Collections chapter.
num: 39
num: 40
previous-page: collections-methods
next-page: fp-intro
---
2 changes: 1 addition & 1 deletion _overviews/scala3-book/concurrency.md
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
title: Concurrency
type: chapter
description: This page discusses how Scala concurrency works, with an emphasis on Scala Futures.
num: 68
num: 69
previous-page: ca-summary
next-page: scala-tools
---
2 changes: 1 addition & 1 deletion _overviews/scala3-book/control-structures.md
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
title: Control Structures
type: chapter
description: This page provides an introduction to Scala's control structures, including if/then/else, 'for' loops, 'for' expressions, 'match' expressions, try/catch/finally, and 'while' loops.
num: 18
num: 19
previous-page: first-look-at-types
next-page: domain-modeling-intro
---
2 changes: 1 addition & 1 deletion _overviews/scala3-book/domain-modeling-fp.md
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
title: FP Modeling
type: section
description: This chapter provides an introduction to FP domain modeling with Scala 3.
num: 22
num: 23
previous-page: domain-modeling-oop
next-page: methods-intro
---
2 changes: 1 addition & 1 deletion _overviews/scala3-book/domain-modeling-intro.md
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
title: Domain Modeling
type: chapter
description: This chapter provides an introduction to domain modeling in Scala 3.
num: 19
num: 20
previous-page: control-structures
next-page: domain-modeling-tools
---
2 changes: 1 addition & 1 deletion _overviews/scala3-book/domain-modeling-oop.md
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
title: OOP Modeling
type: section
description: This chapter provides an introduction to OOP domain modeling with Scala 3.
num: 21
num: 22
previous-page: domain-modeling-tools
next-page: domain-modeling-fp
---
2 changes: 1 addition & 1 deletion _overviews/scala3-book/domain-modeling-tools.md
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
title: Tools
type: section
description: This chapter provides an introduction to the available domain modeling tools in Scala 3, including classes, traits, enums, and more.
num: 20
num: 21
previous-page: domain-modeling-intro
next-page: domain-modeling-oop
---
2 changes: 1 addition & 1 deletion _overviews/scala3-book/first-look-at-types.md
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
title: A First Look at Types
type: chapter
description: This page provides a brief introduction to Scala's built-in data types, including Int, Double, String, Long, Any, AnyRef, Nothing, and Null.
num: 17
num: 18
previous-page: taste-summary
next-page: control-structures
---
2 changes: 1 addition & 1 deletion _overviews/scala3-book/fp-functional-error-handling.md
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
title: Functional Error Handling
type: section
description: This section provides an introduction to functional error handling in Scala 3.
num: 45
num: 46
previous-page: fp-functions-are-values
next-page: fp-summary
---
2 changes: 1 addition & 1 deletion _overviews/scala3-book/fp-functions-are-values.md
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
title: Functions Are Values
type: section
description: This section looks at the use of functions as values in functional programming.
num: 44
num: 45
previous-page: fp-pure-functions
next-page: fp-functional-error-handling
---
2 changes: 1 addition & 1 deletion _overviews/scala3-book/fp-immutable-values.md
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
title: Immutable Values
type: section
description: This section looks at the use of immutable values in functional programming.
num: 42
num: 43
previous-page: fp-what-is-fp
next-page: fp-pure-functions
---
2 changes: 1 addition & 1 deletion _overviews/scala3-book/fp-intro.md
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
title: Functional Programming
type: chapter
description: This chapter provides an introduction to functional programming in Scala 3.
num: 40
num: 41
previous-page: collections-summary
next-page: fp-what-is-fp
---
2 changes: 1 addition & 1 deletion _overviews/scala3-book/fp-pure-functions.md
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
title: Pure Functions
type: section
description: This section looks at the use of pure functions in functional programming.
num: 43
num: 44
previous-page: fp-immutable-values
next-page: fp-functions-are-values
---
2 changes: 1 addition & 1 deletion _overviews/scala3-book/fp-summary.md
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
title: Summary
type: section
description: This section summarizes the previous functional programming sections.
num: 46
num: 47
previous-page: fp-functional-error-handling
next-page: types-introduction
---
2 changes: 1 addition & 1 deletion _overviews/scala3-book/fp-what-is-fp.md
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
title: What is Functional Programming?
type: section
description: This section provides an answer to the question, what is functional programming?
num: 41
num: 42
previous-page: fp-intro
next-page: fp-immutable-values
---
2 changes: 1 addition & 1 deletion _overviews/scala3-book/fun-anonymous-functions.md
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
title: Anonymous Functions
type: section
description: This page shows how to use anonymous functions in Scala, including examples with the List class 'map' and 'filter' functions.
num: 28
num: 29
previous-page: fun-intro
next-page: fun-function-variables
---
2 changes: 1 addition & 1 deletion _overviews/scala3-book/fun-eta-expansion.md
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
title: Eta Expansion
type: section
description: This page discusses Eta Expansion, the Scala technology that automatically and transparently converts methods into functions.
num: 30
num: 31
previous-page: fun-function-variables
next-page: fun-hofs
---
2 changes: 1 addition & 1 deletion _overviews/scala3-book/fun-function-variables.md
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
title: Function Variables
type: section
description: This page shows how to use anonymous functions in Scala, including examples with the List class 'map' and 'filter' functions.
num: 29
num: 30
previous-page: fun-anonymous-functions
next-page: fun-eta-expansion
---
2 changes: 1 addition & 1 deletion _overviews/scala3-book/fun-hofs.md
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
title: Higher-Order Functions
type: section
description: This page demonstrates how to create and use higher-order functions in Scala.
num: 31
num: 32
previous-page: fun-eta-expansion
next-page: fun-write-map-function
---
2 changes: 1 addition & 1 deletion _overviews/scala3-book/fun-intro.md
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
title: Functions
type: chapter
description: This chapter looks at all topics related to functions in Scala 3.
num: 27
num: 28
previous-page: methods-summary
next-page: fun-anonymous-functions
---
2 changes: 1 addition & 1 deletion _overviews/scala3-book/fun-summary.md
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
title: Summary
type: section
description: This page shows how to use anonymous functions in Scala, including examples with the List class 'map' and 'filter' functions.
num: 34
num: 35
previous-page: fun-write-method-returns-function
next-page: packaging-imports
---
2 changes: 1 addition & 1 deletion _overviews/scala3-book/fun-write-map-function.md
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
title: Write Your Own map Method
type: section
description: This page demonstrates how to create and use higher-order functions in Scala.
num: 32
num: 33
previous-page: fun-hofs
next-page: fun-write-method-returns-function
---
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
title: Creating a Method That Returns a Function
type: section
description: This page demonstrates how to create and use higher-order functions in Scala.
num: 33
num: 34
previous-page: fun-write-map-function
next-page: fun-summary
---
2 changes: 1 addition & 1 deletion _overviews/scala3-book/interacting-with-java.md
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
title: Interacting with Java
type: chapter
description: This page demonstrates how Scala code can interact with Java, and how Java code can interact with Scala code.
num: 72
num: 73
previous-page: tools-worksheets
next-page: scala-for-java-devs
---
2 changes: 1 addition & 1 deletion _overviews/scala3-book/methods-intro.md
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
title: Methods
type: chapter
description: This section introduces methods in Scala 3.
num: 23
num: 24
previous-page: domain-modeling-fp
next-page: methods-most
---
2 changes: 1 addition & 1 deletion _overviews/scala3-book/methods-main-methods.md
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
title: main Methods
type: section
description: This page describes how 'main' methods and the '@main' annotation work in Scala 3.
num: 25
num: 26
previous-page: methods-most
next-page: methods-summary
---
2 changes: 1 addition & 1 deletion _overviews/scala3-book/methods-most.md
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
title: Method Features
type: section
description: This section introduces Scala 3 methods, including main methods, extension methods, and more.
num: 24
num: 25
previous-page: methods-intro
next-page: methods-main-methods
---
2 changes: 1 addition & 1 deletion _overviews/scala3-book/methods-summary.md
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
title: Summary
type: section
description: This section summarizes the previous sections on Scala 3 methods.
num: 26
num: 27
previous-page: methods-main-methods
next-page: fun-intro
---
2 changes: 1 addition & 1 deletion _overviews/scala3-book/packaging-imports.md
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
title: Packaging and Imports
type: chapter
description: A discussion of using packages and imports to organize your code, build related modules of code, control scope, and help prevent namespace collisions.
num: 35
num: 36
previous-page: fun-summary
next-page: collections-intro
---
2 changes: 1 addition & 1 deletion _overviews/scala3-book/scala-for-java-devs.md
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
title: Scala for Java Developers
type: chapter
description: This page is for Java developers who are interested in learning about Scala 3.
num: 73
num: 74
previous-page: interacting-with-java
next-page: scala-for-javascript-devs
---
2 changes: 1 addition & 1 deletion _overviews/scala3-book/scala-for-javascript-devs.md
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
title: Scala for JavaScript Developers
type: chapter
description: This chapter provides an introduction to Scala 3 for JavaScript developers
num: 74
num: 75
previous-page: scala-for-java-devs
next-page: scala-for-python-devs
---
2 changes: 1 addition & 1 deletion _overviews/scala3-book/scala-for-python-devs.md
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
title: Scala for Python Developers
type: chapter
description: This page is for Python developers who are interested in learning about Scala 3.
num: 75
num: 76
previous-page: scala-for-javascript-devs
next-page: where-next
---
Loading