When I print a complex stuctured value via printfn "%A"
the output is truncated as in the example below.
for fsi there are some options (ie fsi.PrintLength <- System.Int32.MaxValue
) to change this behavior.
How do i get the full structure in a simple console App?
seq [[adspath, {name = "adspath"; typ = "System.String"; count = 1; value = "GC://...";}]; [c, {name = "c"; typ = "System.String"; count = 1; value = "DE";}]; [cn, {name = "cn"; typ = "System.String"; count = 1; value = "I....";}]; [co, {name = "co"; typ = "System.String"; count = 1; value = "DE";}]; ...]
As i cannot delete the question here is the answer. The Problem was that the sequence was not materalised. In my case I had a value of type System.Collections.Generic.IDictionary<string,<T>>
v
|> Seq.toList
|> printfn "%A"
solves it.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.