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
Member | Description |
member Message : string | |
Static Members
|