Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- let assetsMap =
- assetInfo.Rows
- |> Seq.filter (fun (rw: AssetsInfo.Row) -> Set.contains rw.Ticker assetsTickerSet)
- |> List.ofSeq
- |> List.map (fun rw -> rw.Ticker, Asset.constructor rw) // Frame.ReadCSV called here
- |> Map.ofSeq
- type AssetsInfo = FSharp.Data.CsvProvider<...>
- System.InvalidOperationException: tried to skip The input sequence has an insufficient number of elements. 1 past the end of the seq
- at Microsoft.FSharp.Collections.SeqModule.Skip@1316.GenerateNext(IEnumerable`1& next)
- at Microsoft.FSharp.Core.CompilerServices.GeneratedSequenceBase`1.MoveNextImpl()
- at Microsoft.FSharp.Core.CompilerServices.GeneratedSequenceBase`1.System-Collections-IEnumerator-MoveNext()
- at FSharp.Data.Runtime.CsvHelpers.parseIntoTypedRows@176.GenerateNext(IEnumerable`1& next) in C:GitFSharp.DatasrcCsvCsvRuntime.fs:line 176
- at Microsoft.FSharp.Core.CompilerServices.GeneratedSequenceBase`1.MoveNextImpl()
- at Microsoft.FSharp.Core.CompilerServices.GeneratedSequenceBase`1.System-Collections-IEnumerator-MoveNext()
- at Microsoft.FSharp.Collections.Internal.IEnumerator.next@187[T](FSharpFunc`2 f, IEnumerator`1 e, FSharpRef`1 started, Unit unitVar0)
- at Microsoft.FSharp.Collections.Internal.IEnumerator.filter@182.System-Collections-IEnumerator-MoveNext()
- at Microsoft.FSharp.Collections.SeqModule.ToList[T](IEnumerable`1 source)
- at <StartupCode$FSI_0035>.$FSI_0035.main@() in H:DropboxBitBucketVSProjectsFractal10Fractal10Program.fs:line 139
- Stopped due to error
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement