F#
F# (pronounced "F sharp") is a cross-platform, open source, functional programming language for .NET. It also includes object-oriented and imperative programming.
Here are 1,360 public repositories matching this topic...
Suggestion
Great article. Thank you.
I would like to suggest that you add some explanation on the use of "in" and "out" as modifiers of generic type parameters. For example, the generic form of IComparable is given as IComparable<in T> and the generic form of IEnumerable as IEnumerable<out T>. If explanations are already available in other documents, perhaps you could let us know where to find th
C# has the possibility to mark types and members as readonly on structs to signal to roslyn no defensive copies have to be performed. F# with its immutable by default semantics should take advantage of this to gain end users some automatic perf improvements.
Relevant language feature docs:
https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/builtin-types/struct#readonly-struct
The help currently reads:
Vector S get; set;
Gets the singular values (Σ) of matrix in ascending value.
It should be:
descending order of magnitude.
Environment
N/A
Details
This code:
Environment.SetEnvironmentVariable("PYTHONPATH", $"{pathToVirtualEnv}\\Lib\\site-packages;{pythonPath}\\Lib", EnvironmentVariableTarget.Process);from the wiki references a variable pythonPath that isn't defined. Is that supposed to be `pathToV
Description
On our CI system we see strange flaky compile errors when building our electron app:
C:\WORK\fdgC2beP\0\products\msu.projectmanagement\electron\node_modules\fable-compiler\dist\index.js:80
resolve(JSON.parse(data.substr(pattern[0].length)));
^
SyntaxError: Unexpected end of JSON input
at JSON.parse (<anon
We create multiple jars during our builds to accommodate multiple versions of Apache Spark. In the current approach, the implementation is copied from one version to another and then necessary changes are made.
An ideal approach could create a common directory and extract common classes from duplicate code. Note that even if class/code is exactly the same, you cannot pull out to a common clas
-
Updated
Jul 5, 2020 - F#
I'm trying to gracefully exit the webServer with a GET or POST to the the webServer itself.
Is there a way to execute code after a HTTP response has been given to the client to help me do that properly ?
Is there a nicer way to handle shutting down suave server from a CD pipeline ?
let app =
choose [
path "/gracefulExit" >=>
request(fun r ->
The documentation file appears to have been generated with no space between the hashes and the header text. This is causing the headers to not display correctly, and is difficult to read. See below for an example of with and without the space:
##
Mobius API Documentation
###Microsoft.Spark.CSharp.Core.Accumulator</
An idea: it could be helpful to distinguish C# code from F# code in the documentation somehow, eg. by giving it a different background colour. This would make the documentation easier to read. I know both F# and C# but still find it confusing reading one when expecting another.
Once we have .xaml rule files for our project property pages we should go back and add descriptions for the pages, categories, and individual properties. This text is localizable and will be shown to the user to aid them in understanding what the property does.
After reading a bit on the Provider (e.g.: Worldbank at https://fsharp.github.io/FSharp.Data/library/WorldBank.html). I saw a link to tryfsharp.org, but the domain is not resolvable by any DNS. Is it because the site does not exists anymore?
I also searched in this repository, and you also have links to that domain.
-
Updated
Jul 13, 2020 - F#
Is your feature request related to a problem? Please describe.
- With the regular Explorer pane selected, NOT the F# Solution Explorer, selecting F#: Add Project Reference from the Command Palette fails with
command 'fsharp.AddProjectReference' not found. - Even though a project is selected in the F# Solution Explorer pane, the F#: Add Project Reference command still prompts the user to
Is it possible to add to documentation on how to mix and match Mixing HTML in F# with Templates and Elmish where certain parts are written in HTML in F# and others in templates using the Elmish Architecture? This is essentially putting everything together and how different features interact.
OAuth sample
I've seen this a few times, but people ask about a sample to show oauth configuration. We should make one that illustrates the different configurations (naturally with secret placeholders and such).
More tests should be added to validate all the interactive scenarios enabled by the new PS kernel host.
The validation tests should cover all the override methods in PSKernelHostUserInterface implementation, including the following:
-
public override PSCredential PromptForCredential(string caption, string message, string userName, string targetName) - `public override PSCredential
It is me again. It would also be nice to have some guidance on how to configure that webpack.config.js thing so that you can compile css from scss (I am using Bulma and that would be a great thing for re-theming ... of basically any css framework)
Since there are multiple moving pieces for the v4 release it seems easier for me to update the documentation once the final API is known.
If PR like #649 and #706 I've added, removed and renamed settings numerous times so I'd like to tackle everything documentation-wise in this issue.
Lead by example
Description
executeDeleteQueryAsync in SqlRuntime.Linq.fs doesn't return deleted row count.
Repro steps
Seq.delete all items from single table always returns 0.
Expected behavior
Seq.delete all items from single table should return the number of rows deleted.
Known workarounds
Use cmd.ExecuteNonQueryAsync instead of cmd.ExecuteScalarAsync
On page:
https://github.com/YaccConstructor/QuickGraph/wiki/Observer-Concepts
It says:
VertexPredecessorRecorderObserver,
creates a dictionary that links vertices to their parent edge,
and
EdgePredecessorRecorderObserver,
create a dictionary that links vertices to their parent edge,
They are worded essentially the same. Is this intentional?
I think one of them pro
Documentation
-
Updated
May 11, 2020
Problem
While attemping to handle a shopify uninstall webhook, I came across this bug.
Error
the json value could not be converted to System.String.
Cannot get the value of a token type 'Number' as a string
Config
- .Net Core 3.1.3
- ShopifySharp 5.1.0
Created by Don Syme
Released May 2005
- Organization
- fsharp
- Website
- dotnet.microsoft.com/languages/fsharp
- Wikipedia
- Wikipedia

Running Pulumi CLI commands in CI is failing with the following error:
The following scripts are representative of what was running when the error happened: