Is F # case sensitive?

I searched here and on the net, but did not answer.

The reason I ask, since F # conventions seem preferable to non-capital letters, using BCL types with Pascal conventions looks weird in F #, as in:

let stringD = String.Join(" ",[| stringA; stringB |])

It looks like it would be more in the spirit of F # as follows:

let stringD = String.Join(" ",[| stringA; stringB |])
+5
source share
3 answers

Ok, a few things.

First, F # is case sensitive.

Secondly, F # naming conventions are described in F #. . In short, constrained elements inside F # modules use camelCase, but all .NET OO constructs use PascalCase. This is true throughout the F # library.

, F # string , ( System.String) ( ). string.Join , string.Join . - System.String.join (, , ).

+8

, F #

let stringD = string.join(" ",[| stringA; stringB |])

.

+2

, F # , / - (5.1.2)

F # ( Hello World), , string.join string.join.

+1

All Articles