[Home] Namespace Microsoft.FSharp.Core


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

ModuleDescription
Microsoft.FSharp.Core.LanguagePrimitives
Microsoft.FSharp.Core.Operators
Microsoft.FSharp.Core.Option Basic operations on options.
Microsoft.FSharp.Core.Pervasives Pervasives: Additional bindings available at the top level
Microsoft.FSharp.Core.String Compatibility module for ML string processing. Richer string operations are available via the member functions on strings and other functionality in System.String and System.Text.RegularExpressions types.

Type Definitions

TypeDescription
type array Single dimensional, zero-based arrays, written 'int[]', 'string[]' etc. Use the values in the Array module to manipulate values of this type, or the notation 'arr.[x]' to get/set array values. Note: an abbreviation for 'a []
type bigint Note: an abbreviation for BigInt
type bignum Note: an abbreviation for BigNum
type bool Note: an abbreviation for Boolean
type byref The type for by-reference, stack-allocated argument passing. It is used by .NET assemblies and by the type IStructuralHash to pass the hash-node-count around. Use of this type in F# code may result in unverifiable code being generated.
type byte Note: an abbreviation for Byte
type char Note: an abbreviation for Char
type decimal
type decimal Note: an abbreviation for Decimal
type double Note: an abbreviation for Double
type exn Note: an abbreviation for Exception
type float
type float Note: an abbreviation for Double
type float32
type float32 Note: an abbreviation for Single
type FuncConvert
type ilsigptr This type is for internal use by the F# code generator
type int Note: an abbreviation for int32
type int16 Note: an abbreviation for Int16
type int32 Note: an abbreviation for Int32
type int64 Note: an abbreviation for Int64
type int8 Note: an abbreviation for SByte
type IStructuralHash
type nativeint Note: an abbreviation for IntPtr
type nativeptr The type of machine pointers assumed to be pointing to unmanaged or pinned memory containing values or an array of values of the given type. This type should only be used when writing F# code that interoperates with C code. Use of this type in F# code may result in unverifiable code being generated. Conversions to and from the nativeint type may be required. Values of this type can be generated by the functions in the NativeInterop.NativePtr module.
type obj Note: an abbreviation for Object
type option The type of optional values. When used from other .NET languages the empty option is the null value. Use the constructors Some and None to create values of this type. Use the values in the Option module to manipulate values of this type, or pattern match against the values directly. 'None' values will appear as the value null to other .NET languages. Instance methods on this type will appear as static methods to other .NET languages due to the use of null as a value representation. Note: an abbreviation for Option<'a>
type Option The type of optional values. When used from other .NET languages the empty option is the null value. Use the constructors Some and None to create values of this type. Use the values in the Option module to manipulate values of this type, or pattern match against the values directly. None values will appear as the value null to other .NET languages. Instance methods on this type will appear as static methods to other .NET languages due to the use of null as a value representation.
type ref The type of mutable references. Use the functions [:=] and [!] to get and set values of this type. Note: an abbreviation for Ref<'a>
type Ref The type of mutable references. Use the functions [:=] and [!] to get and set values of this type.
type sbyte Note: an abbreviation for SByte
type seq Note: an abbreviation for IEnumerable<'a>
type single Note: an abbreviation for Single
type string Note: an abbreviation for String
type uint16 Note: an abbreviation for UInt16
type uint32 Note: an abbreviation for UInt32
type uint64 Note: an abbreviation for UInt64
type uint8 Note: an abbreviation for Byte
type unativeint Note: an abbreviation for UIntPtr
type unit The type 'unit', which has only one value "()". This value is special and always uses the representation 'null'. Note: an abbreviation for Unit

Exceptions

ExceptionDescription
exception AssertionFailure This exception is raised as the final result of the syntactic expression 'assert(false)'
exception DynamicInvocationNotSupported Dynamic invocations of functions marked with the NoDynamicInvocationAttribute attribute raise this exception
exception Failure This exception is raised by 'failwith'
exception MatchFailure Non-exhaustive match failures will raise the MatchFailure exception

See Also

Namespaces


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