Заранее извиняюсь что задаю вопрос в неподходящем месте(я пошёл на форумы мсдна, но там убогость во всём и решил задать там, где уютнее)
В C# есть у меня такая вещь:
public struct vertexPath<TVertex, TLp>
{
public readonly TVertex VertexFrom;
public readonly TVertex Vertex;
public ICollection<Pair<TLp, TLp>> FromToSets;
...
}
let getOnlyVs_f (vpaths : seq<UGSearchingExtensions.vertexPath<Element, string>>) =
Seq.map(fun vpath -> vpath.Vertex) vpaths
Ошибка на vpath.Vertex - Lookup on object of indeterminate type based on information prior to this program point. A type annotation may be needed prior to this program point to constrain the type of the object. This may allow the lookup to be resolved.
Вопрос - что значит ему не понятно в типе Element?