Skip to content

F# 6 doc revamp#26727

Merged
dsyme merged 30 commits into
dotnet:mainfrom
dsyme:f6
Nov 3, 2021
Merged

F# 6 doc revamp#26727
dsyme merged 30 commits into
dotnet:mainfrom
dsyme:f6

Conversation

@dsyme

@dsyme dsyme commented Oct 29, 2021

Copy link
Copy Markdown
Contributor

A set of updates for F# 6. WIP, no need to review yet

  • Add docs for task expressions
  • Move "Introduction to Functional Programming" to be a tutorial and change order in learning sequence
  • Simplify language in various places, e.g. "Asynchronous and Concurrent Programming" is not needed
  • Use "Async expressions" instead of "Asynchronous workflows" systematically
  • Remove Newtonsoft.Json
  • Remove Visual F# branding
  • Add information on entry points and console apps

cc @KathleenDollard

@dsyme

dsyme commented Oct 29, 2021

Copy link
Copy Markdown
Contributor Author

This is ready for review.

@dsyme dsyme marked this pull request as ready for review October 29, 2021 18:56

@lobrien lobrien left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Just some style notes.

Comment thread docs/fsharp/language-reference/async-expressions.md Outdated
Comment thread docs/fsharp/language-reference/async-expressions.md Outdated
Comment thread docs/fsharp/language-reference/casting-and-conversions.md Outdated
Comment thread docs/fsharp/language-reference/computation-expressions.md Outdated
Comment thread docs/fsharp/language-reference/exception-handling/the-try-with-expression.md Outdated
@fsoikin

fsoikin commented Oct 29, 2021

Copy link
Copy Markdown

Just curious: why is it that "we want less emphasis on Functional Programming"?

@smoothdeveloper

Copy link
Copy Markdown
Contributor

Looks good, I was wondering about FSharpWorks versus FSharpSample, unless @tpetricek objects.

For me "FSharpWorks" in a sample documentation implies that it may "not work" (which is a bit irrational, I know...), while a sample is just a sample (which just dotnet build "works").

@fsoikin: FP is still homonymous for "hard to hire" for people deciding on both tech stack & hiring/HR staffing on their projects; while F# aims to be the VB of FP kind of (under a certain perspective, if that offends some).

@dsyme

dsyme commented Oct 30, 2021

Copy link
Copy Markdown
Contributor Author

Looks good, I was wondering about FSharpWorks versus FSharpSample, unless @tpetricek objects.

Thanks, good suggestion

Just curious: why is it that "we want less emphasis on Functional Programming"?

In docs and messaging we've made the decision to focus on "F# programming" first and foremost, including its qualities, (succinct, robust, performant). We then let the various modes of use of F# emerge from that - "functional" being one of them. Thus the learning sequence is

Learn basic programming --> Learn techniques, concepts and paradigms relevant to your tasks

rather than

Learn the functional paradigm --> Learn basic programming

@dsyme dsyme changed the title Start F# 6 doc revamp F# 6 doc revamp Nov 1, 2021
@dsyme

dsyme commented Nov 2, 2021

Copy link
Copy Markdown
Contributor Author

This is ready // cc @gewarren @KathleenDollard

@gewarren gewarren left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I left some grammar suggestions - please batch them. Thanks for updating the docs!

Comment thread docs/fsharp/index.yml
Comment thread docs/fsharp/language-reference/active-patterns.md Outdated
Comment thread docs/fsharp/language-reference/active-patterns.md Outdated
Comment thread docs/fsharp/language-reference/async-expressions.md Outdated
Comment thread docs/fsharp/language-reference/async-expressions.md Outdated
Comment thread docs/fsharp/language-reference/task-expressions.md Outdated
Comment thread docs/fsharp/language-reference/units-of-measure.md Outdated
Comment thread docs/fsharp/tutorials/async.md Outdated
Comment thread docs/fsharp/tutorials/using-functions.md Outdated
Comment thread docs/fsharp/tutorials/using-functions.md Outdated
dsyme and others added 2 commits November 2, 2021 18:14
Co-authored-by: Genevieve Warren <24882762+gewarren@users.noreply.github.com>
Co-authored-by: Genevieve Warren <24882762+gewarren@users.noreply.github.com>
dsyme and others added 13 commits November 2, 2021 18:15
Co-authored-by: Genevieve Warren <24882762+gewarren@users.noreply.github.com>
Co-authored-by: Genevieve Warren <24882762+gewarren@users.noreply.github.com>
Co-authored-by: Genevieve Warren <24882762+gewarren@users.noreply.github.com>
Co-authored-by: Genevieve Warren <24882762+gewarren@users.noreply.github.com>
Co-authored-by: Genevieve Warren <24882762+gewarren@users.noreply.github.com>
Co-authored-by: Genevieve Warren <24882762+gewarren@users.noreply.github.com>
Co-authored-by: Genevieve Warren <24882762+gewarren@users.noreply.github.com>
Co-authored-by: Genevieve Warren <24882762+gewarren@users.noreply.github.com>
Co-authored-by: Genevieve Warren <24882762+gewarren@users.noreply.github.com>
Co-authored-by: Genevieve Warren <24882762+gewarren@users.noreply.github.com>
Co-authored-by: Genevieve Warren <24882762+gewarren@users.noreply.github.com>
Co-authored-by: Genevieve Warren <24882762+gewarren@users.noreply.github.com>
@dotnet dotnet deleted a comment from gewarren Nov 2, 2021
dsyme and others added 2 commits November 2, 2021 18:29
Co-authored-by: Genevieve Warren <24882762+gewarren@users.noreply.github.com>
Co-authored-by: Genevieve Warren <24882762+gewarren@users.noreply.github.com>
@dsyme dsyme merged commit 049a1a7 into dotnet:main Nov 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants