How do I create an extension method in F#, for example, like this C# extension:
public static string Right(this string host, int index)
{
return host.Substring(host.Length - index);
}
How do I create an extension method in F#, for example, like this C# extension:
public static string Right(this string host, int index)
{
return host.Substring(host.Length - index);
}