나는 대답F # FSharpx.Collections.Vector를 만들고 채우는 구문은 무엇입니까?
https://stackoverflow.com/a/17961204/818645
여기에 언급 된 Vector<'T>
데이터 구조를 사용하고 싶습니다하지만 난 구문 권리를 얻을 수없는 것. 예를 들어 :
open FSharpx.Collections
let tuple1= (1,2.0,"f")
let tuple2= (2,3.0,"f")
let myLstOfTuples = [tuple1;tuple2]
let myVector = ?? <- how do I do this?
어떻게 유형 Vector<int * float * string>
의 벡터를 만들려면 어떻게해야합니까 데이터로 채우?
을 다음과 같이
ofSeq
방법을 사용하는 것입니다. 희망이 도움이됩니다. http://stackoverflow.com/a/17974392/818645 –