samedi 31 mai 2014

Using a keyword as member name in F#


Vote count:

0




Does F# allow defining a member with the name of a keyword?



type Fruit =
val type : string


in C# this is possible using @:



class Fruit
{
string @type;
}


asked 31 secs ago

citykid

1,702





Aucun commentaire:

Enregistrer un commentaire