Skip to content

Commit 2cf7680

Browse files
authored
Merge pull request #998 from bbatsov/fix-formatting
Fix formatting
2 parents 57d9f06 + e335f7e commit 2cf7680

File tree

128 files changed

+1156
-1265
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

128 files changed

+1156
-1265
lines changed

.github/workflows/markdown-lint.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Markdown Lint
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
lint:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v4
10+
with:
11+
fetch-depth: 0
12+
- uses: tj-actions/changed-files@v45
13+
id: changed-files
14+
with:
15+
files: '**/*.md'
16+
separator: ","
17+
- uses: DavidAnson/markdownlint-cli2-action@v19
18+
if: steps.changed-files.outputs.any_changed == 'true'
19+
with:
20+
globs: ${{ steps.changed-files.outputs.all_changed_files }}
21+
separator: ","

.markdownlint-cli2.jsonc

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
// Enable all rules by default
3+
"default": true,
4+
5+
// Line length: increase default from 80
6+
"MD013": {
7+
"line_length": 100,
8+
"code_blocks": false,
9+
"tables": false
10+
},
11+
12+
// Allow duplicate headers in different nested sections
13+
"MD024": {
14+
"allow_different_nesting": true
15+
},
16+
17+
// Allow inline HTML
18+
"MD033": false,
19+
20+
// First line in a file doesn't need to be a top-level header
21+
"MD041": false,
22+
}

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ Example:
5353

5454
Not ideal, but oh well.
5555

56-
5756
## Developing locally
5857

5958
The easiest way to get started developing this repository on your own machine is by using the supplied dev container.

_books/F#_high_performance_2017.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ In this book you will:
1414
- Implement best practices to optimize performance
1515
- Use the available tooling to help measure performance
1616
- Combine the best practice of asynchronous and synchronous
17-
- Optimize further using various F# language constructs
17+
- Optimize further using various F# language constructs

_books/beginning_f#_4_2016.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ bookurl: https://link.springer.com/book/10.1007/978-1-4842-1374-2
88
This book is a great foundation for exploring functional-first programming and
99
its role in the future of application development. The best-selling introduction to F#,
1010
now thoroughly updated to version 4.0, will help you learn the language and explore
11-
its new features.
11+
its new features.

_books/building_f#_applications_video_2017.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ Learn how to use F#'s functional features to rapidly turn requirements into soft
1111
- Use F#-friendly tools for test automation, builds, and dependency management
1212
- Model your application's problem domain using F#'s immutable data types and collections
1313
- Build simple-to-complex application behavior with F# functions
14-
- Interoperate between your F# applications and other .NET languages
14+
- Interoperate between your F# applications and other .NET languages

_books/domain_modeling_made_functional_2018.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ Domain-driven design is a well-established approach to designing software that e
1111

1212
Model a complex domain accurately using the F# type system, creating compilable code that is also readable documentation—ensuring that the code and design never get out of sync. Encode business rules in the design so that you have “compile-time unit tests,” and eliminate many potential bugs by making illegal states unrepresentable. Assemble a series of small, testable functions into a complete use case, and compose these individual scenarios into a large-scale design. Discover why the combination of functional programming and DDD leads naturally to service-oriented and hexagonal architectures. Finally, create a functional domain model that works with traditional databases, NoSQL, and event stores, and safely expose your domain via a website or API.
1313

14-
Solve real problems by focusing on real-world requirements for your software.
14+
Solve real problems by focusing on real-world requirements for your software.

_books/essential_f#.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ year: 2023
55
image: /learn/files/book_covers/essential_fsharp.jpeg
66
bookurl: https://leanpub.com/essential-fsharp
77
---
8-
This is a practical book aimed at efficiently getting you up to speed with the essentials functional-first programming in F#.
8+
This is a practical book aimed at efficiently getting you up to speed with the essentials functional-first programming in F#.
99

10-
Everywhere you look, programming languages are gaining functional features. The problem is that it's not the individual features that make functional programmers happy, it's the way that your approach to writing software and the features work together to help you write simple code to solve interesting problems. This book will help you to discover why F# is such a popular language with those who have spent time learning its secrets.
10+
Everywhere you look, programming languages are gaining functional features. The problem is that it's not the individual features that make functional programmers happy, it's the way that your approach to writing software and the features work together to help you write simple code to solve interesting problems. This book will help you to discover why F# is such a popular language with those who have spent time learning its secrets.
1111

12-
This book started life as a series of blog posts on my Company's website (https://www.softwarepark.cc/blog). The sum of the content is what a developer needs to know to be able to work on one of our F# Line of Business codebases. I have improved and extended the content, upgraded the code to F# 5 and ensured that the code will run in VS Code.
12+
This book started life as a series of blog posts on my Company's website (<https://www.softwarepark.cc/blog>). The sum of the content is what a developer needs to know to be able to work on one of our F# Line of Business codebases. I have improved and extended the content, upgraded the code to F# 5 and ensured that the code will run in VS Code.

_books/export_f#_4_2015.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ bookurl: https://link.springer.com/book/10.1007/978-1-4842-0740-6
77
---
88
Expert F# 4.0 is about practical programming in a beautiful language that puts the power and elegance of data-rich functional programming into the hands of professional developers. In combination with .NET, F# achieves unrivaled levels of programmer productivity and program clarity.
99

10-
- A comprehensive guide to F# by the inventor of F#
11-
- A treasury of F# techniques for practical problem-solving
12-
- An in-depth case book of how F# applications and of F# 4.0 concepts, syntax, and features
10+
- A comprehensive guide to F# by the inventor of F#
11+
- A treasury of F# techniques for practical problem-solving
12+
- An in-depth case book of how F# applications and of F# 4.0 concepts, syntax, and features
1313

14-
The world's experts in F# show you how to program in F# the way they do!
14+
The world's experts in F# show you how to program in F# the way they do!

_books/f#_4_design_patterns_2016 .md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ In this book you will:
1616
- Make use of native F# algebraic data types in place of custom-built classes
1717
- Recognize and measure the difference in resource consumption between sequences and materialized data collections
1818
- Navigate and use F# Core libraries with ease by seeing patterns behind specific library functions
19-
- Master writing generic polymorphic code
19+
- Master writing generic polymorphic code

0 commit comments

Comments
 (0)