[Home] Type Microsoft.FSharp.Core.OCamlCompatibilityAttribute


This attribute is used to tag values, modules and types that are only present in F# to permit a degree of code-compatibility and cross-compilation with other implementations of ML-familty languages, in particular OCaml. The use of the construct will give a warning unless the --ml-compatibility flag is specified.

Full Type Signature

[<AttributeUsage (enum<AttributeTargets> (32767))>]
type OCamlCompatibilityAttribute = class
                                     inherit Attribute
                                   end
                                   with
                                     new : message:string -> OCamlCompatibilityAttribute
                                     new : unit -> OCamlCompatibilityAttribute
                                     member Message : string
                                   end

Instance Members

MemberDescription
member Message : string

Static Members

MemberDescription
new : message:string -> OCamlCompatibilityAttribute
new : unit -> OCamlCompatibilityAttribute

See Also

Microsoft.FSharp.Core


Documentation for assembly FSharp.Core, version 1.9.4.19, generated using F# version 1.9.4.19