[Home] Module Microsoft.FSharp.Core.LanguagePrimitives


Modules (as contributed by assembly 'FSharp.Core')

ModuleDescription
Microsoft.FSharp.Core.LanguagePrimitives.HashCompare
Microsoft.FSharp.Core.LanguagePrimitives.IntrinsicFunctions
Microsoft.FSharp.Core.LanguagePrimitives.IntrinsicOperators Compiler-recognized operators

Values

ValueDescription
val DefaultValue<'a (requires 'a : null)> : 'a (requires 'a : null)
Generate a null value for reference types.
val DivideByInt : overloaded
Divide a floating point value by an integer
val EnumOfValue : 'u -> 'e (requires enum)
Build an enum value from an underlying value
val EnumToValue : 'e -> 'u (requires enum)
Get the underlying value for an enum value
val GenericComparison : 'a -> 'a -> int
Compare two values
val GenericComparisonBiModal : 'a -> 'a -> int
Compare two values. May be called as a recursive case from an implementation of System.IComparable to ensure consistent NaN comparison semantics.
val GenericEquality : 'a -> 'a -> bool
Compare two values for equality
val GenericGreaterOrEqual : 'a -> 'a -> bool
Compare two values
val GenericGreaterThan : 'a -> 'a -> bool
Compare two values
val GenericHash : 'a -> int
Hash a value according to its structure. See the IStructuralHash interface. Implementations of IStructuralHash for aggregate structured data structures should call this function to hash sub-structures. The byref argument points to a count of the number of significant nodes remaining to be hashed in the cooperative hash. Substructures and leaf nodes (such as integers) should be hashed by calling Microsoft.FSharp.Core.LanguagePrimitives.GenericHashParam, but only if the hash count is non-zero. If the hash count is zero GenericHashParam must not be called.
val GenericLessOrEqual : 'a -> 'a -> bool
Compare two values
val GenericLessThan : 'a -> 'a -> bool
Compare two values
val GenericMaximum : 'a -> 'a -> 'a
Take the maximum of two values structurally according to the order given by GenericComparison
val GenericMinimum : 'a -> 'a -> 'a
Take the minimum of two values structurally according to the order given by GenericComparison
val GenericOne<'a (requires member get_One)> : overloaded
Resolves to the one value for any primitive numeric type or any type with a static member called 'One'
val GenericZero<'a (requires member get_Zero)> : overloaded
Resolves to the zero value for any primitive numeric type or any type with a static member called 'Zero'
val ParseInt32 : string -> int32
Parse an int32 according to the rules used by the overloaded 'int32' conversion operator when applied to strings
val ParseInt64 : string -> int64
Parse an int64 according to the rules used by the overloaded 'int64' conversion operator when applied to strings
val ParseUInt32 : string -> uint32
Parse an uint32 according to the rules used by the overloaded 'uint32' conversion operator when applied to strings
val ParseUInt64 : string -> uint64
Parse an uint64 according to the rules used by the overloaded 'uint64' conversion operator when applied to strings
val PhysicalEquality : 'a -> 'a -> bool
Reference/physical equality. True if boxed versions of the inputs are reference-equal, OR if both are primitive numeric types and the implementation of Object.Equals for the type of the first argument returns true on the boxed versions of the inputs.
val PhysicalHash : 'a -> int
The physical hash. Hashes on the object identity, except for value types, where we hash on the contents.

See Also

Microsoft.FSharp.Core


Documentation for assembly FSharp.Core, version 1.9.6.0, generated using F# Programming Language version 1.9.6.0