chunk_id
large_stringlengths
7
11
question_id
large_stringlengths
4
8
language
large_stringclasses
1 value
chunk_index
int64
0
5
chunk_text
large_stringlengths
128
2.78k
sparse_text
large_stringlengths
116
3.65k
dense_vector
listlengths
3.58k
3.58k
sparse_indices
listlengths
9
228
sparse_values
listlengths
9
228
export_source
large_stringclasses
1 value
62991945_c0
62991945
fsharp
0
Title: Why does F# interactive console not consider "assert (2=3)" as wrong? Problem title: Why does F# interactive console not consider "assert (2=3)" as wrong? Tags: f%23 Problem: Why does F# interactive console not consider "assert (2=3)" as wrong? I send this line to F# interactive console in Vi...
Why does F# interactive console not consider "assert (2=3)" as wrong? Why does F# interactive console not consider "assert (2=3)" as wrong? f%23 Why hello2 Why does F# interactive console not consider "assert (2=3)" as wrong? I send this line to F# interactive console in Visual Studio To my surprise...
[ -0.000457763671875, 0.00634765625, 0.00738525390625, 0.011962890625, -0.005401611328125, 0.00592041015625, -0.00286865234375, 0.0152587890625, 0.00131988525390625, 0.0189208984375, -0.015625, 0.00439453125, 0.014404296875, 0.006805419921875, 0.0279541015625, 0.013427734375, 0.0196533...
[ 44084, 563, 4904, 212398, 130250, 959, 16916, 162, 33657, 4700, 76067, 41502, 44691, 1238, 3742, 33600, 31, 304, 58, 237, 25379, 13315, 73372, 22968, 55640, 13416, 18499, 11675, 9069, 21130, 6865, 40289, 13817, 15490, 14192, 116, 83 ]
[ 0.10009765625, 0.1383056640625, 0.20703125, 0.171630859375, 0.18408203125, 0.103515625, 0.1051025390625, 0.0897216796875, 0.233154296875, 0.1142578125, 0.2493896484375, 0.001068115234375, 0.18994140625, 0.0797119140625, 0.06719970703125, 0.1185302734375, 0.1031494140625, 0.13342285...
embed
9201402_c0
9201402
fsharp
0
Title: Sequence vs LazyList Problem title: Sequence vs LazyList Tags: data-structures, sequence, f%23, lazy-evaluation Problem: Sequence vs LazyList I can't wrap my head around the differences between sequence and LazyList . They're both lazy and potentially infinite. While seq<'T> is IEnumerable<'T> from .NET framewor...
Sequence vs LazyList Sequence vs LazyList data-structures sequence f%23 lazy-evaluation Sequence LazyList IEnumerable Sequence vs LazyList I can't wrap my head around the differences between sequence and LazyList . They're both lazy and potentially infinite. While seq<'T> is IEnumerable<'T> from .NET framework, LazyLis...
[ 0.0106201171875, 0.00811767578125, -0.00164794921875, 0.0042724609375, 0.007568359375, -0.0234375, 0.004669189453125, 0.0162353515625, 0.0103759765625, 0.005859375, -0.0020599365234375, 0.0257568359375, -0.00750732421875, 0.01708984375, 0.001434326171875, 0.00823974609375, 0.01025390...
[ 503, 944, 3956, 20209, 239, 3285, 154663, 2053, 137656, 40, 1238, 3742, 21, 159258, 75536, 2606, 56, 2886, 831, 18, 10336, 60212, 17721, 136, 15044, 38516, 54241, 864, 618, 17777, 170846, 99201, 563, 4904, 17170, 205956, 41361, 190647, 2651...
[ 0.1243896484375, 0.186767578125, 0.1710205078125, 0.164306640625, 0.164794921875, 0.221923828125, 0.275634765625, 0.048370361328125, 0.1243896484375, 0.103271484375, 0.00750732421875, 0.032958984375, 0.1466064453125, 0.128662109375, 0.09649658203125, 0.1678466796875, 0.124755859375, ...
embed
7800586_c0
7800586
fsharp
0
Title: Are there any known parser combinator library&#x27;s in F# that can parse binary (not text) files? Problem title: Are there any known parser combinator library&#x27;s in F# that can parse binary (not text) files? Tags: f%23, binary, parsing, fparsec, parser-combinators Problem: Are there any known parser combina...
Are there any known parser combinator library&#x27;s in F# that can parse binary (not text) files? Are there any known parser combinator library&#x27;s in F# that can parse binary (not text) files? f%23 binary parsing fparsec parser-combinators Are there any known parser combinator library's in F# that can parse binary...
[ -0.00830078125, 0.007598876953125, 0.010009765625, 0.01806640625, -0.00372314453125, 0.0291748046875, -0.007720947265625, -0.01300048828125, -0.00457763671875, -0.0040283203125, -0.00070953369140625, -0.0027008056640625, 0.0135498046875, 0.006134033203125, 0.00799560546875, 0.014282226...
[ 2499, 51529, 366, 2189, 22321, 1290, 35773, 1294, 563, 4904, 831, 184, 2394, 6635, 10869, 7986, 102158, 1238, 3742, 6953, 2500, 39797, 277, 19155, 22230, 2685, 23, 450, 16031, 62822, 37202, 72397, 98186, 75973, 93766, 72546, 73197, 4488, 67...
[ 0.0292205810546875, 0.09808349609375, 0.1531982421875, 0.1524658203125, 0.2213134765625, 0.1400146484375, 0.1807861328125, 0.1171875, 0.129638671875, 0.1805419921875, 0.06695556640625, 0.1041259765625, 0.1781005859375, 0.140625, 0.0687255859375, 0.0799560546875, 0.157470703125, 0.1...
embed
28765746_c0
28765746
fsharp
0
Title: Invalid record, sequence or computation expression Problem title: Invalid record, sequence or computation expression Tags: f%23 Problem: Invalid record, sequence or computation expression I have a function that iterate over a list of a record type: let resAddr (ranges: IpRanges list) = ranges |> List.iter (fun e...
Invalid record, sequence or computation expression Invalid record, sequence or computation expression f%23 Invalid IpRanges List.iter Sequence Invalid record, sequence or computation expression I have a function that iterate over a list of a record type: The compiler complain with error What am I doing wrong?
[ -0.00811767578125, 0.0078125, 0.01007080078125, 0.0286865234375, 0.01409912109375, -0.004669189453125, -0.0201416015625, 0.010498046875, 0.01324462890625, -0.0103759765625, 0.000782012939453125, 0.0220947265625, 0.0224609375, 0.0137939453125, 0.005706787109375, -0.0035858154296875, -...
[ 360, 7013, 71, 17164, 4, 40, 944, 3956, 707, 181135, 125195, 1238, 3949, 3742, 87, 254, 126525, 4188, 32036, 16840, 503, 765, 32354, 17, 8560, 67, 645, 5303, 10644, 581, 9969, 34759, 186992, 678, 18499, 444, 20594, 44691 ]
[ 0.0487060546875, 0.1844482421875, 0.057037353515625, 0.216552734375, 0.02447509765625, 0.06146240234375, 0.117431640625, 0.076904296875, 0.056610107421875, 0.1348876953125, 0.1942138671875, 0.0775146484375, 0.05242919921875, 0.1514892578125, 0.03936767578125, 0.0869140625, 0.18872070...
embed
29307114_c0
29307114
fsharp
0
Title: How to define a function to break an array of letters into a group of string Problem title: How to define a function to break an array of letters into a group of string Tags: f%23 Problem: How to define a function to break an array of letters into a group of string I have C# code like this // Class definition Cl...
How to define a function to break an array of letters into a group of string How to define a function to break an array of letters into a group of string f%23 How Letter Array How to define a function to break an array of letters into a group of string I have C# code like this A function call from F# I want to break L ...
[ 0.0230712890625, -0.01214599609375, -0.01806640625, 0.0247802734375, -0.0032806396484375, 0.0028076171875, 0.0027008056640625, 0.00089263916015625, 0.0057373046875, -0.00115203857421875, -0.00445556640625, 0.0206298828125, -0.0186767578125, 0.005828857421875, 0.00148773193359375, 0.007...
[ 11249, 47, 61924, 32354, 36356, 10298, 53, 111, 120820, 3934, 21115, 79315, 1238, 3949, 3742, 105451, 69253, 313, 4904, 18151, 11782, 563, 3444, 339, 5303, 37769, 390, 3447, 66596, 4034, 757, 541, 831, 54, 23, 95968 ]
[ 0.087646484375, 0.07244873046875, 0.2283935546875, 0.2435302734375, 0.227783203125, 0.1834716796875, 0.1341552734375, 0.08306884765625, 0.23681640625, 0.180419921875, 0.2305908203125, 0.25537109375, 0.0992431640625, 0.051116943359375, 0.1800537109375, 0.1937255859375, 0.18115234375, ...
embed
24243892_c1
24243892
fsharp
1
PrintVal (v: obj) = match v with | :? IDictionary as vd -> "{ " + PrintMap vd + " }" | _ -> sprintf "%s" (v.ToString()) let sb = StringBuilder() for key in x.Keys do sb.AppendLine(sprintf "%s => %s" (key.ToString()) (PrintVal x.[key])) |> ignore sb.ToString() The output is pretty ugly, but it certainly works. With the...
PrintVal (v: obj) = match v with | :? IDictionary as vd -> "{ " + PrintMap vd + " }" | _ -> sprintf "%s" (v.ToString()) let sb = StringBuilder() for key in x.Keys do sb.AppendLine(sprintf "%s => %s" (key.ToString()) (PrintVal x.[key])) |> ignore sb.ToString() The output is pretty ugly, but it certainly works. With the...
[ -0.0289306640625, -0.01177978515625, -0.0011749267578125, -0.011962890625, -0.01446533203125, -0.00012493133544921875, -0.00994873046875, 0.00604248046875, 0.00274658203125, 0.0179443359375, 0.0103759765625, 0.0026702880859375, 0.020751953125, 0.01361083984375, 0.0162353515625, 0.00872...
[ 39754, 42272, 334, 12, 995, 170, 2203, 14858, 81, 678, 11338, 14, 10763, 6635, 71, 997, 166179, 145320, 420, 7763, 71713, 214, 275, 23351, 121137, 56, 22799, 1022, 162429, 91, 39179, 3611, 93232, 35662, 19770, 112079, 18, 6, 124962, 14099...
[ 0.2322998046875, 0.26904296875, 0.1300048828125, 0.002471923828125, 0.13720703125, 0.197021484375, 0.0202789306640625, 0.1563720703125, 0.1585693359375, 0.081298828125, 0.07049560546875, 0.07305908203125, 0.157958984375, 0.0784912109375, 0.0870361328125, 0.03570556640625, 0.210571289...
embed
27933470_c0
27933470
fsharp
0
Title: How to show labels on x axis for each element? Problem title: How to show labels on x axis for each element? Tags: f%23-charting, f%23 Problem: How to show labels on x axis for each element? I have sequence of tuples containing filename and number. I want to draw column graph where on X axis I have filenames. My...
How to show labels on x axis for each element? How to show labels on x axis for each element? f%23-charting f%23 How How to show labels on x axis for each element? I have sequence of tuples containing filename and number. I want to draw column graph where on X axis I have filenames. My problem is that now only 3 labels...
[ 0.01068115234375, 0.0014801025390625, -0.0024871826171875, 0.0031585693359375, -0.020751953125, 0.0024871826171875, 0.01708984375, 0.0072021484375, 0.00885009765625, 0.026611328125, -0.01220703125, -0.032470703125, 0.0004177093505859375, 0.033203125, -0.00732421875, 0.0206298828125, ...
[ 11249, 47, 7639, 67967, 7, 98, 1022, 10, 33102, 100, 12638, 12830, 1238, 27495, 9254, 1916, 3742, 370, 99726, 70541, 11435, 11627, 14012, 3444, 79442, 3365, 316, 41382, 1193, 2967, 5036, 4734, 138, 29822, 127887, 1379, 1286, 11177, 49119, ...
[ 0.06890869140625, 0.00531005859375, 0.1549072265625, 0.27587890625, 0.101318359375, 0.052764892578125, 0.142578125, 0.06170654296875, 0.1680908203125, 0.0645751953125, 0.08636474609375, 0.1484375, 0.001312255859375, 0.062744140625, 0.125244140625, 0.05078125, 0.04595947265625, 0.01...
embed
45708438_c0
45708438
fsharp
0
Title: How can I work with F# in Visual Studio 2017 Version 15.3? Problem title: How can I work with F# in Visual Studio 2017 Version 15.3? Tags: visual-studio-2017, visual-studio, f%23 Problem: How can I work with F# in Visual Studio 2017 Version 15.3? I updated Visual Studio Enterprise to the last new version 15.3 Re...
How can I work with F# in Visual Studio 2017 Version 15.3? How can I work with F# in Visual Studio 2017 Version 15.3? visual-studio-2017 visual-studio f%23 How Visual Studio Version visual-studio-2017 How can I work with F# in Visual Studio 2017 Version 15.3? I updated Visual Studio Enterprise to the last new version 1...
[ 0.004486083984375, 0.017578125, -0.00335693359375, -0.0048828125, -0.007781982421875, 0.003265380859375, -0.000827789306640625, 0.0186767578125, 0.007659912109375, 0.00836181640625, 0.00970458984375, -0.00244140625, -0.005706787109375, 0.01483154296875, 0.00537109375, -0.00381469726562...
[ 11249, 831, 87, 4488, 678, 563, 4904, 23, 73372, 22968, 505, 40647, 6281, 363, 21176, 52629, 22842, 1238, 3742, 150011, 102247, 47, 11389, 152590, 33022, 18151, 11435, 7663, 17447, 18, 4527, 152470, 65421, 2965, 765, 28282, 5351, 17137, 441...
[ 0.0751953125, 0.094970703125, 0.037750244140625, 0.1805419921875, 0.127685546875, 0.1834716796875, 0.244873046875, 0.07196044921875, 0.2109375, 0.2376708984375, 0.2308349609375, 0.1219482421875, 0.1790771484375, 0.193603515625, 0.168212890625, 0.171875, 0.194091796875, 0.0552978515...
embed
47414754_c0
47414754
fsharp
0
Title: Adding F# projects as references to C++/CLI projects not possible? Problem title: Adding F# projects as references to C++/CLI projects not possible? Tags: c%2B%2B-cli, f%23 Problem: Adding F# projects as references to C++/CLI projects not possible? I am trying to add an F# project as a reference to a C++/CLI pro...
Adding F# projects as references to C++/CLI projects not possible? Adding F# projects as references to C++/CLI projects not possible? c%2B%2B-cli f%23 Adding CLI Adding F# projects as references to C++/CLI projects not possible? I am trying to add an F# project as a reference to a C++/CLI project in VS 2015 but I alway...
[ -0.000354766845703125, 0.040283203125, 0.0142822265625, -0.017333984375, 0.0091552734375, 0.004302978515625, -0.0152587890625, -0.01214599609375, 0.0031280517578125, 0.005218505859375, 0.01239013671875, -0.00994873046875, 0.0022430419921875, 0.0230712890625, 0.01251220703125, -0.000178...
[ 62, 59725, 563, 4904, 77635, 237, 91067, 47, 313, 37223, 64, 441, 10927, 959, 7722, 501, 150, 1238, 3742, 31577, 15190, 13452, 44160, 918, 11343, 18499, 53418, 49814, 82940, 1888, 17368, 69201, 100, 9969, 1340, 391, 23708, 75723, 965, 733...
[ 0.1082763671875, 0.1302490234375, 0.176025390625, 0.251220703125, 0.2010498046875, 0.06011962890625, 0.24853515625, 0.0635986328125, 0.06982421875, 0.232421875, 0.043487548828125, 0.07220458984375, 0.2088623046875, 0.07427978515625, 0.157470703125, 0.0126953125, 0.11962890625, 0.07...
embed
32761988_c0
32761988
fsharp
0
Title: How do I call a C# extension method from F#, without open? Problem title: How do I call a C# extension method from F#, without open? Tags: c%23, clr, extension-methods, f%23 Problem: How do I call a C# extension method from F#, without open? I have an extension method in C#: Foo(this Bar bar, int x) { // Do stuf...
How do I call a C# extension method from F#, without open? How do I call a C# extension method from F#, without open? c%23 clr extension-methods f%23 F# How Foo Bar bar.Foo Doesn bar.Namespace.Foo How do I call a C# extension method from F#, without open? I have an extension method in C#: How do I call this in F#? The ...
[ 0.000518798828125, 0.023681640625, 0.0126953125, 0.0036468505859375, 0.006256103515625, -0.00848388671875, -0.0106201171875, -0.01708984375, -0.0167236328125, -0.0308837890625, 0.003997802734375, -0.00150299072265625, -0.00640869140625, 0.004425048828125, 0.0037078857421875, -0.0305175...
[ 11249, 11782, 313, 4904, 111938, 55300, 1295, 563, 15490, 9803, 87, 10, 3742, 42, 1928, 7352, 1238, 9572, 31, 3253, 1909, 27591, 163612, 65421, 54, 903, 23, 4527, 36335, 98, 17777, 5303, 144570, 73432, 88996, 17203 ]
[ 0.0643310546875, 0.1533203125, 0.06573486328125, 0.2183837890625, 0.22216796875, 0.1856689453125, 0.07476806640625, 0.1337890625, 0.1165771484375, 0.1702880859375, 0.032318115234375, 0.0210723876953125, 0.01068115234375, 0.0682373046875, 0.060882568359375, 0.10711669921875, 0.0433654...
embed
6103955_c0
6103955
fsharp
0
Title: How to give CultureInfo to TryParse method in F# Problem title: How to give CultureInfo to TryParse method in F# Tags: f%23 Problem: How to give CultureInfo to TryParse method in F# In F#, I am parsing a decimal string with let foo str = match Decimal.TryParse str with | (true, result) -> Some result | (false, _...
How to give CultureInfo to TryParse method in F# How to give CultureInfo to TryParse method in F# f%23 How CultureInfo TryParse Decimal.TryParse Some None How to give CultureInfo to TryParse method in F# In F#, I am parsing a decimal string with which uses the current system culture to parse the string. But I actually ...
[ -0.006256103515625, -0.00970458984375, -0.004241943359375, 0.0108642578125, -0.0096435546875, -0.0037078857421875, -0.00775146484375, -0.006561279296875, 0.0001125335693359375, 0.0002593994140625, 0.006988525390625, 0.01287841796875, -0.01904296875, 0.0079345703125, 0.0048828125, 0.015...
[ 11249, 8337, 105141, 93147, 47, 40858, 28636, 184, 55300, 563, 4904, 23, 1238, 3742, 49132, 2749, 618, 1294, 438, 366, 6953, 10, 32380, 79315, 4527, 43581, 5426, 29394, 20653, 3444, 17368, 4153, 162591, 441, 202, 6644, 4171, 16940, 103510, ...
[ 0.034912109375, 0.08782958984375, 0.220947265625, 0.271240234375, 0.06634521484375, 0.193359375, 0.1868896484375, 0.1395263671875, 0.1409912109375, 0.1263427734375, 0.1729736328125, 0.040191650390625, 0.08587646484375, 0.051910400390625, 0.1328125, 0.1036376953125, 0.0528564453125, ...
embed
18717259_c0
18717259
fsharp
0
Title: Starting a Mono Process Programmatically Problem title: Starting a Mono Process Programmatically Tags: f%23, mono Problem: Starting a Mono Process Programmatically How can I start a process in mono using the Process.Start API? My best guess would be the following (in F# ): let start (path : string) = System.Diag...
Starting a Mono Process Programmatically Starting a Mono Process Programmatically f%23 mono Starting Mono Process Programmatically System.Diagnostics.Process.Start Starting a Mono Process Programmatically How can I start a process in mono using the Process.Start API? My best guess would be the following (in F# ): This ...
[ -0.00372314453125, 0.00323486328125, -0.0230712890625, 0.025634765625, 0.0005645751953125, 0.01104736328125, 0.0218505859375, -0.020263671875, -0.017822265625, -0.03955078125, 0.004486083984375, 0.0322265625, -0.027099609375, 0.0220947265625, 0.0257568359375, 0.01177978515625, -0.010...
[ 13794, 214, 10, 77879, 123996, 27958, 257, 71407, 1238, 3949, 3742, 22460, 12353, 5, 128198, 41637, 10752, 26531, 126597, 11249, 831, 87, 4034, 9433, 23, 17368, 70, 61687, 2965, 57767, 25632, 73, 563, 4904, 37202, 4488, 11508, 6077, 442, ...
[ 0.217041015625, 0.0802001953125, 0.08709716796875, 0.302001953125, 0.2398681640625, 0.19580078125, 0.1363525390625, 0.0784912109375, 0.06707763671875, 0.0557861328125, 0.11962890625, 0.283203125, 0.06976318359375, 0.0858154296875, 0.1351318359375, 0.027740478515625, 0.04736328125, ...
embed
64502701_c0
64502701
fsharp
0
Title: How do I get an F# AST from a string of F# using FSharp.Compiler.Service? Problem title: How do I get an F# AST from a string of F# using FSharp.Compiler.Service? Tags: f%23 Problem: How do I get an F# AST from a string of F# using FSharp.Compiler.Service? Suppose I have a string of F# like let x = 1 + 1 , how d...
How do I get an F# AST from a string of F# using FSharp.Compiler.Service? How do I get an F# AST from a string of F# using FSharp.Compiler.Service? f%23 CompilerError a FSharp.Compiler.Service How AST Result FSharpAst How do I get an F# AST from a string of F# using FSharp.Compiler.Service? Suppose I have a string of F...
[ -0.019775390625, 0.00994873046875, -0.0101318359375, -0.006866455078125, 0.00421142578125, 0.004302978515625, 0.00433349609375, -0.0155029296875, -0.000457763671875, -0.046142578125, 0.01483154296875, 0.0224609375, -0.007720947265625, 0.005340576171875, 0.0106201171875, -0.012817382812...
[ 11249, 2046, 142, 563, 4904, 6, 48963, 1295, 79315, 93774, 3467, 254, 108161, 34759, 121979, 111, 17368, 1238, 3949, 3742, 15612, 18468, 31611, 126684, 284, 271, 5, 1884, 2633, 1022, 2203, 106, 997, 3642, 139392, 100, 16487, 32354, 678, 1...
[ 0.011810302734375, 0.08392333984375, 0.0732421875, 0.142578125, 0.2373046875, 0.0287933349609375, 0.239990234375, 0.07635498046875, 0.1827392578125, 0.090087890625, 0.1741943359375, 0.181640625, 0.096435546875, 0.1397705078125, 0.147705078125, 0.040985107421875, 0.037353515625, 0.0...
embed
8034613_c2
8034613
fsharp
2
TupleFields(x))) let rec map f = function | Prop _ as t -> f t | BinOp(op, a, b) -> f(BinOp(op, map f a, map f b)) (* let rec map f = function | Code signals: How, Conj, Node, List.head, List.tail, Elem, Prop, Tree, System, Microsoft.FSharp.Reflection, Learn, fsharp.net, Disj, Impl, BinOp, Conj_Int, Conj_Elmin1, Conj_E...
TupleFields(x))) let rec map f = function | Prop _ as t -> f t | BinOp(op, a, b) -> f(BinOp(op, map f a, map f b)) (* let rec map f = function | Code signals: How, Conj, Node, List.head, List.tail, Elem, Prop, Tree, System, Microsoft.FSharp.Reflection, Learn, fsharp.net, Disj, Impl, BinOp, Conj_Int, Conj_Elmin1, Conj_E...
[ 0.01361083984375, -0.004608154296875, 0.00183868408203125, 0.01422119140625, 0.006500244140625, 0.00579833984375, 0.01446533203125, 0.00124359130859375, 0.03271484375, -0.003997802734375, -0.00408935546875, 0.017578125, -0.01953125, 0.0123291015625, 0.01373291015625, 0.002777099609375,...
[ 1371, 8705, 6159, 19388, 7, 425, 32149, 2633, 21954, 22288, 1238, 2203, 32354, 6, 43796, 237, 808, 33079, 16666, 39029, 2146, 10, 876, 571, 73, 75402, 28864, 26073, 11249, 1657, 170, 438, 112, 32036, 31251, 46741, 540, 195, 101344, 12353,...
[ 0.1676025390625, 0.2152099609375, 0.1400146484375, 0.267578125, 0.04705810546875, 0.1309814453125, 0.050018310546875, 0.10205078125, 0.1505126953125, 0.1751708984375, 0.1163330078125, 0.0193939208984375, 0.1693115234375, 0.01031494140625, 0.2269287109375, 0.07049560546875, 0.07452392...
embed
44267880_c0
44267880
fsharp
0
Title: F# how to prevent function with Console.Readline() from being run Problem title: F# how to prevent function with Console.Readline() from being run Tags: f%23 Problem: F# how to prevent function with Console.Readline() from being run This question is bit weird but I am not able to find answer for it. I created a ...
F# how to prevent function with Console.Readline() from being run F# how to prevent function with Console.Readline() from being run f%23 being Console.Readline F# how to prevent function with Console.Readline() from being run This question is bit weird but I am not able to find answer for it. I created a simple functio...
[ 0.006622314453125, -0.00885009765625, 0.017333984375, -0.00836181640625, -0.007080078125, -0.01116943359375, 0.0238037109375, -0.00543212890625, -0.0164794921875, -0.025146484375, 0.01544189453125, 0.006591796875, -0.0098876953125, 0.00592041015625, 0.026123046875, 0.005035400390625, ...
[ 563, 4904, 3642, 47, 56282, 32354, 678, 1657, 40777, 31345, 2256, 132, 1295, 8035, 11675, 1238, 3949, 3742, 179459, 75935, 8781, 11907, 6032, 45367, 13452, 46480, 13028, 5117, 41884, 23, 5201, 2806, 1884, 4734, 3229, 35839, 69307 ]
[ 0.08856201171875, 0.1702880859375, 0.0482177734375, 0.032989501953125, 0.22265625, 0.19140625, 0.05853271484375, 0.04095458984375, 0.1719970703125, 0.1904296875, 0.23876953125, 0.0233917236328125, 0.099853515625, 0.06182861328125, 0.166259765625, 0.0849609375, 0.01763916015625, 0.1...
embed
12552759_c0
12552759
fsharp
0
Title: Typed abstract syntax tree with function application Problem title: Typed abstract syntax tree with function application Tags: f%23, dsl, abstract-syntax-tree Problem: Typed abstract syntax tree with function application I am trying to write a typed abstract syntax tree datatype that can represent function appli...
Typed abstract syntax tree with function application Typed abstract syntax tree with function application f%23 dsl abstract-syntax-tree Typed Expr Constant Application Typed abstract syntax tree with function application I am trying to write a typed abstract syntax tree datatype that can represent function application....
[ 0.00970458984375, 0.01385498046875, 0.01318359375, 0.00130462646484375, 0.00579833984375, 0.004150390625, -0.0185546875, 0.0019989013671875, 0.000919342041015625, -0.01953125, 0.0205078125, -0.0262451171875, -0.01025390625, 0.0091552734375, 0.01153564453125, 0.014404296875, 0.0242919...
[ 60457, 164789, 6002, 86531, 53201, 678, 32354, 38415, 71, 1238, 3742, 24861, 12654, 62600, 60075, 42, 148416, 104921, 31577, 33022, 10644, 2053, 50986, 33636, 5351, 3917, 563, 4904, 9844, 1884, 2472, 756, 876, 450, 4568, 13315, 2967 ]
[ 0.183349609375, 0.1575927734375, 0.06768798828125, 0.105712890625, 0.196533203125, 0.099365234375, 0.1336669921875, 0.160400390625, 0.0169219970703125, 0.0186920166015625, 0.041595458984375, 0.13134765625, 0.05279541015625, 0.16162109375, 0.042144775390625, 0.03912353515625, 0.110717...
embed
48292483_c1
48292483
fsharp
1
Find number infoLookup) // doesn't work = ( LookupEmployee james LookupEmployee (ID 1) // right, but verbose LookupEmployee (EmployeeNameWrapper james) LookupEmployee (EmployeeIDWrapper (ID 1)) Somehow the needing to unwrap everything seems excessive to me. Should I not be using the discriminated union in this case? Is...
Find number infoLookup) // doesn't work = ( LookupEmployee james LookupEmployee (ID 1) // right, but verbose LookupEmployee (EmployeeNameWrapper james) LookupEmployee (EmployeeIDWrapper (ID 1)) Somehow the needing to unwrap everything seems excessive to me. Should I not be using the discriminated union in this case? Is...
[ -0.00689697265625, -0.007232666015625, 0.004547119140625, 0.023681640625, 0.0101318359375, 0.000637054443359375, -0.0196533203125, -0.0098876953125, 0.01336669921875, 0.001556396484375, 0.005615234375, 0.0341796875, -0.01556396484375, 0.01409912109375, 0.01092529296875, 0.0157470703125...
[ 26040, 14012, 3004, 15363, 31, 11322, 16, 4666, 22027, 18, 4488, 2203, 60818, 2037, 134332, 365, 1033, 13, 79, 3716, 7146, 4879, 7108, 1284, 57823, 184, 163612, 219, 8079, 3871, 51, 434, 13631, 26818, 37202, 218527, 163, 186, 17368, 55970...
[ 0.184814453125, 0.238037109375, 0.201416015625, 0.0904541015625, 0.125244140625, 0.1951904296875, 0.040740966796875, 0.03265380859375, 0.0841064453125, 0.10406494140625, 0.1221923828125, 0.0164337158203125, 0.158447265625, 0.16650390625, 0.06304931640625, 0.109130859375, 0.1135253906...
embed
36539639_c1
36539639
fsharp
1
,Zip)") [for xx in y -> (xx?City:string),(xx?Zip:int)] This will give me: val it : (string * int) list = [("London", 1029); ("London", 90210)] as expected. This is a good overview of using dynamic objects from F#: F# dynamic object access Code signals: Binding, Dynamitey.1.0.2.0, net40, Dynamitey.dll, INTERACTIVE, Syst...
,Zip)") [for xx in y -> (xx?City:string),(xx?Zip:int)] This will give me: val it : (string * int) list = [("London", 1029); ("London", 90210)] as expected. This is a good overview of using dynamic objects from F#: F# dynamic object access Code signals: Binding, Dynamitey.1.0.2.0, net40, Dynamitey.dll, INTERACTIVE, Syst...
[ 0.02294921875, 0.015625, 0.00848388671875, 0.017822265625, -0.01153564453125, 0.00482177734375, -0.006988525390625, 0.01409912109375, 0.01361083984375, -0.0167236328125, 0.0047607421875, -0.009033203125, -0.00457763671875, -0.0274658203125, -0.004547119140625, 0.029541015625, -0.0102...
[ 4, 1511, 3442, 18939, 2472, 113664, 23, 113, 33079, 52219, 115411, 91693, 4288, 3293, 1221, 8337, 163, 3502, 442, 661, 18, 5303, 2203, 231454, 830, 209, 83679, 2510, 88142, 16, 84751, 4127, 645, 22751, 17368, 84079, 36746, 1295, 563, 4904...
[ 0.024505615234375, 0.131103515625, 0.173583984375, 0.107666015625, 0.045654296875, 0.1365966796875, 0.0989990234375, 0.1182861328125, 0.063232421875, 0.07421875, 0.1337890625, 0.18994140625, 0.1187744140625, 0.011871337890625, 0.01177978515625, 0.0712890625, 0.072998046875, 0.23693...
embed
22569661_c0
22569661
fsharp
0
Title: How do query expression joins depend on the order of keys? Problem title: How do query expression joins depend on the order of keys? Tags: f%23-3.0, f%23-4.0, f%23 Problem: How do query expression joins depend on the order of keys? In the documentation for query expressions, I found: Note that the order of the k...
How do query expression joins depend on the order of keys? How do query expression joins depend on the order of keys? f%23-3.0 f%23-4.0 f%23 How How do query expression joins depend on the order of keys? In the documentation for query expressions, I found: I can't, however, find any information about how exactly the or...
[ 0.0179443359375, 0.01007080078125, 0.004425048828125, -0.0216064453125, -0.01116943359375, -0.00811767578125, 0.00634765625, 0.0028228759765625, 0.01141357421875, 0.005706787109375, -0.000728607177734375, 0.0211181640625, 0.0086669921875, 0.006378173828125, -0.00927734375, 0.0122680664...
[ 11249, 41, 1294, 125195, 33284, 7, 56566, 12989, 111, 22799, 1238, 27495, 132265, 151152, 3742, 209806, 88551, 60212, 168487, 161789, 39933, 351, 230612, 73342 ]
[ 0.05401611328125, 0.1240234375, 0.139404296875, 0.23681640625, 0.19384765625, 0.071533203125, 0.14404296875, 0.167236328125, 0.049072265625, 0.182373046875, 0.06341552734375, 0.074462890625, 0.1160888671875, 0.147705078125, 0.08660888671875, 0.089111328125, 0.060882568359375, 0.055...
embed
54563570_c1
54563570
fsharp
1
point. Runtime type tests are not allowed on some types. Further type annotations are needed. (FS0008) (Server) or value :?> IEnumerable Error FS0033: The type 'System.Collections.Generic.IEnumerable<_>' expects 1 type argument(s) but is given 0 (FS0033) (Server) Code signals: type, How, FSharpType.IsRecord, field.Get...
point. Runtime type tests are not allowed on some types. Further type annotations are needed. (FS0008) (Server) or value :?> IEnumerable Error FS0033: The type 'System.Collections.Generic.IEnumerable<_>' expects 1 type argument(s) but is given 0 (FS0033) (Server) Code signals: type, How, FSharpType.IsRecord, field.Get...
[ -0.0126953125, 0.01177978515625, 0.004150390625, 0.0238037109375, 0.004150390625, 0.003997802734375, -0.016845703125, 0.01025390625, 0.0019073486328125, -0.007537841796875, 0.0184326171875, 0.00179290771484375, -0.000537872314453125, -0.01336669921875, 0.006561279296875, -0.00315856933...
[ 6275, 28398, 6032, 10644, 109921, 959, 107003, 3060, 52895, 8668, 22062, 44841, 36381, 9508, 50490, 193348, 34292, 75536, 2606, 56, 2886, 212059, 93774, 123276, 363, 84293, 78457, 8996, 5256, 135932, 12259, 20441, 41206, 106, 10750, 1284, 34475...
[ 0.16064453125, 0.0849609375, 0.132568359375, 0.2138671875, 0.22900390625, 0.058746337890625, 0.1217041015625, 0.014129638671875, 0.170654296875, 0.083984375, 0.049041748046875, 0.05859375, 0.12255859375, 0.080810546875, 0.1356201171875, 0.13427734375, 0.129638671875, 0.087707519531...
embed
60688616_c0
60688616
fsharp
0
Title: F#: How to examine content in a n-tuple and return true or false? Problem title: F#: How to examine content in a n-tuple and return true or false? Tags: f%23, f%23-data Problem: F#: How to examine content in a n-tuple and return true or false? Consider this F# code: let isSalary employee = let (fName,lName,Occup...
F#: How to examine content in a n-tuple and return true or false? F#: How to examine content in a n-tuple and return true or false? f%23 f%23-data How Occupation Department SalaryType HoursPerWeek AnnualSalary HourlyWage Salary employee.SalaryType F#: How to examine content in a n-tuple and return true or false? Consid...
[ 0.00482177734375, 0.0016937255859375, -0.00171661376953125, 0.02001953125, -0.0050048828125, -0.00823974609375, -0.019775390625, 0.0026702880859375, -0.000743865966796875, 0.03466796875, 0.00177001953125, 0.01904296875, -0.00159454345703125, 0.0269775390625, 0.01324462890625, 0.0041503...
[ 563, 4904, 11249, 160477, 10941, 23, 653, 458, 8705, 30646, 29568, 707, 98320, 47, 1238, 3742, 27495, 10135, 180, 143414, 63557, 13294, 196707, 133250, 15277, 12137, 121129, 52779, 188183, 137399, 18151, 3370, 20949, 18499, 3688, 71403 ]
[ 0.1160888671875, 0.1812744140625, 0.050048828125, 0.1907958984375, 0.214599609375, 0.077880859375, 0.1451416015625, 0.1248779296875, 0.1842041015625, 0.141357421875, 0.1956787109375, 0.07098388671875, 0.2318115234375, 0.031036376953125, 0.048431396484375, 0.07281494140625, 0.05258178...
embed
52799634_c0
52799634
fsharp
0
Title: how to convert to string Option Problem title: how to convert to string Option Tags: visual-studio, f%23 Problem: how to convert to string Option I want the following output to match with a city name. But what I want the output to represent is Some "city" not just "city" . How would I implement this in the code?...
how to convert to string Option how to convert to string Option visual-studio f%23 Option Some None Kansas Iowa city:string City how to convert to string Option I want the following output to match with a city name. But what I want the output to represent is Some "city" not just "city" . How would I implement this in t...
[ 0.00958251953125, 0.004852294921875, -0.01287841796875, 0.021484375, -0.005462646484375, -0.0238037109375, 0.00787353515625, -0.00433349609375, 0.004852294921875, 0.0242919921875, 0.004150390625, -0.0108642578125, 0.00848388671875, 0.0111083984375, 0.011474609375, 0.0135498046875, -0...
[ 3642, 47, 96760, 79315, 86769, 21176, 9, 52629, 1238, 3949, 3742, 31384, 438, 86, 195459, 87, 4625, 26349, 12, 91693, 6406, 3444, 25632, 140992, 14858, 678, 9351, 33636, 60089, 29479, 18151, 188, 1803, 5021, 82424, 59725, 8108, 501, 997, ...
[ 0.0950927734375, 0.15283203125, 0.2109375, 0.258544921875, 0.3076171875, 0.1700439453125, 0.009490966796875, 0.185302734375, 0.08380126953125, 0.050811767578125, 0.1395263671875, 0.1763916015625, 0.0908203125, 0.059844970703125, 0.2154541015625, 0.123291015625, 0.219482421875, 0.17...
embed
53284751_c0
53284751
fsharp
0
Title: How do I call the sum of a tuple list? Problem title: How do I call the sum of a tuple list? Tags: f%23, function, sum Problem: How do I call the sum of a tuple list? I have made a tuple-list, but I can't seem to find the sum of the lists. Do I need to make a function for the sum, or can I call each list fst snd...
How do I call the sum of a tuple list? How do I call the sum of a tuple list? f%23 function sum How sum1 List.sum How do I call the sum of a tuple list? I have made a tuple-list, but I can't seem to find the sum of the lists. Do I need to make a function for the sum, or can I call each list fst snd in the sum code? How...
[ 0.002716064453125, 0.0078125, 0.0101318359375, 0.03369140625, -0.0135498046875, -0.00081634521484375, 0.0093994140625, 0.00982666015625, 0.02783203125, -0.024658203125, -0.00031280517578125, 0.016357421875, -0.00750732421875, 0.0257568359375, 0.00970458984375, -0.01068115234375, -0.0...
[ 11249, 11782, 70, 10554, 111, 370, 8705, 5303, 10, 1238, 3949, 3742, 32354, 418, 32036, 11832, 87, 7228, 6562, 48903, 7413, 3871, 3249, 12638, 271, 2208, 18151, 7, 34735 ]
[ 0.0596923828125, 0.1322021484375, 0.054473876953125, 0.2347412109375, 0.07568359375, 0.132080078125, 0.2166748046875, 0.217529296875, 0.0278167724609375, 0.06390380859375, 0.05059814453125, 0.1473388671875, 0.123046875, 0.054840087890625, 0.1767578125, 0.19287109375, 0.01174926757812...
embed
66247826_c0
66247826
fsharp
0
Title: how can I combine a list of Result&lt;&gt; in F#? Problem title: how can I combine a list of Result&lt;&gt; in F#? Tags: f%23 Problem: how can I combine a list of Result<> in F#? with this code: let a = [3; 4; 5; 6; 7] let check x = if x % 2 = 0 then Ok x else Error x let b = a |> List.map check how can I summar...
how can I combine a list of Result&lt;&gt; in F#? how can I combine a list of Result&lt;&gt; in F#? f%23 Result Error List.map how can I combine a list of Result<> in F#? with this code: how can I summarize B as: if all Ok, then Ok<int list> if any Error, then Error<int list> I could make a method that does this, but I...
[ -0.01708984375, 0.0185546875, -0.00004649162292480469, -0.00147247314453125, -0.00018310546875, 0.00396728515625, -0.00506591796875, -0.017333984375, 0.01287841796875, 0.03076171875, 0.003326416015625, -0.007232666015625, 0.019287109375, 0.01275634765625, -0.0181884765625, 0.0027923583...
[ 3642, 831, 70163, 5303, 126684, 1277, 5386, 23, 563, 4904, 1238, 3742, 212059, 32036, 62346, 111, 2740, 678, 903, 18151, 29334, 14096, 13, 335, 237, 2174, 756, 9972, 7068, 4288, 2499, 55300, 47644, 88303, 27571, 8781, 53383, 7, 186490, 94...
[ 0.0726318359375, 0.0535888671875, 0.2181396484375, 0.18798828125, 0.2188720703125, 0.05401611328125, 0.10595703125, 0.057159423828125, 0.1458740234375, 0.202880859375, 0.07513427734375, 0.117919921875, 0.2149658203125, 0.15283203125, 0.1131591796875, 0.013214111328125, 0.013580322265...
embed
37169560_c0
37169560
fsharp
0
Title: F# ignore missing ignore Problem title: F# ignore missing ignore Tags: f%23, fsi Problem: F# ignore missing ignore I am using F# often in a interactive way. I type statements in a script file in Visual Studio and press Alt + Enter to execute them in F# Interactive. Very often I see the warning that I am ignoring...
F# ignore missing ignore F# ignore missing ignore f%23 fsi Alt Enter numbers.ToCharArray Array.filter Array.length F# ignore missing ignore I am using F# often in a interactive way. I type statements in a script file in Visual Studio and press Alt + Enter to execute them in F# Interactive. Very often I see the warning ...
[ -0.00188446044921875, -0.00396728515625, 0.01361083984375, -0.0185546875, 0.00159454345703125, 0.0084228515625, 0.0203857421875, -0.001495361328125, 0.0028839111328125, 0.01043701171875, -0.00592041015625, 0.00616455078125, -0.00640869140625, 0.0208740234375, 0.00921630859375, -0.00598...
[ 563, 4904, 124962, 132283, 1238, 3949, 3742, 172, 10544, 60816, 101935, 7763, 84068, 7614, 7092, 69253, 120337, 23986, 17368, 27983, 212398, 10644, 63805, 26499, 11435, 73372, 22968, 24234, 997, 71924, 5337, 71232, 1631, 592, 444, 47438, 214, ...
[ 0.12744140625, 0.2144775390625, 0.262939453125, 0.2205810546875, 0.0858154296875, 0.01947021484375, 0.1185302734375, 0.0882568359375, 0.113525390625, 0.1209716796875, 0.108642578125, 0.04962158203125, 0.0799560546875, 0.0144805908203125, 0.09881591796875, 0.03839111328125, 0.14416503...
embed
27637816_c0
27637816
fsharp
0
Title: writing methods in f# Problem title: writing methods in f# Tags: c, f%23 Problem: writing methods in f# I have a question: There is such a method in C: inline void ColorSet(int face, int pos,int col) { color[face*9+pos]=col; } I've tried to write it in F#; type ColorSet = member this.ColorSet (face: int, pos: in...
writing methods in f# writing methods in f# c f%23 ColorSet this.ColorSet writing methods in f# I have a question: There is such a method in C: I've tried to write it in F#; but I encountered with such an error: Could you help me to write the exact method?
[ -0.004241943359375, -0.0019683837890625, -0.01202392578125, 0.01153564453125, 0.006866455078125, -0.02978515625, -0.01226806640625, 0.004241943359375, 0.00193023681640625, -0.004241943359375, -0.005889892578125, 0.0361328125, 0.014892578125, 0.00067901611328125, -0.005523681640625, -0....
[ 32562, 150624, 23, 1238, 4904, 501, 3949, 3742, 51193, 294, 126, 903, 10625, 1484, 9655, 8622, 83, 6044, 10, 55300, 313, 12, 37842, 33022, 442, 563, 190647, 18499, 4358, 24763 ]
[ 0.2177734375, 0.27001953125, 0.10723876953125, 0.138671875, 0.2109375, 0.08746337890625, 0.03369140625, 0.1337890625, 0.20166015625, 0.154052734375, 0.18603515625, 0.126708984375, 0.08477783203125, 0.19580078125, 0.02972412109375, 0.02734375, 0.02459716796875, 0.1134033203125, 0....
embed
59665490_c0
59665490
fsharp
0
Title: How do I check the OS in the F# preprocessor? Problem title: How do I check the OS in the F# preprocessor? Tags: operating-system, ionide, f%23 Problem: How do I check the OS in the F# preprocessor? We're multiple persons working on the same F# project. Some use MacOS and Visual Studio Code together with Ionide ...
How do I check the OS in the F# preprocessor? How do I check the OS in the F# preprocessor? operating-system ionide f%23 How OS_WINDOWS file.txt OS_MAC How do I check the OS in the F# preprocessor? We're multiple persons working on the same F# project. Some use MacOS and Visual Studio Code together with Ionide while ot...
[ 0.00118255615234375, -0.00262451171875, -0.0057373046875, 0.010498046875, 0.006561279296875, -0.00002014636993408203, 0.012939453125, 0.0027008056640625, -0.009521484375, 0.005645751953125, 0.007080078125, 0.004638671875, 0.0184326171875, -0.00144195556640625, 0, -0.002655029296875, ...
[ 11249, 87, 12765, 70, 11787, 23, 563, 4904, 479, 63923, 748, 54, 172852, 16751, 45339, 2506, 1238, 3742, 108568, 13223, 52143, 11435, 5, 124326, 8218, 441, 48716, 3445, 20697, 5701, 13452, 4527, 4727, 7285, 73372, 22968, 28864, 25842, 678, ...
[ 0.06842041015625, 0.03387451171875, 0.2244873046875, 0.09088134765625, 0.2303466796875, 0.0928955078125, 0.166015625, 0.240966796875, 0.16357421875, 0.1541748046875, 0.081787109375, 0.03887939453125, 0.114990234375, 0.0794677734375, 0.1370849609375, 0.193603515625, 0.119384765625, ...
embed
1763786_c0
1763786
fsharp
0
Title: F#: Namespace not defined when trying to open System.Windows.Forms Problem title: F#: Namespace not defined when trying to open System.Windows.Forms Tags: winforms, visual-studio-2008, f%23 Problem: F#: Namespace not defined when trying to open System.Windows.Forms I am using Visual Studio 2008 Integrated Shell ...
F#: Namespace not defined when trying to open System.Windows.Forms F#: Namespace not defined when trying to open System.Windows.Forms winforms visual-studio-2008 f%23 Namespace System.Windows.Forms Windows visual-studio-2008 F#: Namespace not defined when trying to open System.Windows.Forms I am using Visual Studio 200...
[ 0.0186767578125, 0.024658203125, -0.01507568359375, -0.00799560546875, 0.000396728515625, 0.00180816650390625, -0.0026092529296875, -0.0159912109375, -0.023193359375, -0.0084228515625, -0.004425048828125, 0.006744384765625, 0.01104736328125, 0.0037841796875, 0.002777099609375, -0.00982...
[ 563, 4904, 2096, 109164, 959, 61924, 71, 31577, 9803, 12353, 43342, 102973, 46334, 21176, 52629, 105011, 1238, 3742, 3773, 17368, 73372, 22968, 2021, 91969, 108362, 23658, 158941, 46770, 171581, 43240, 5885, 44160, 18499, 210716, 83, 9790, 2123...
[ 0.140380859375, 0.2117919921875, 0.1385498046875, 0.23681640625, 0.1104736328125, 0.2047119140625, 0.041290283203125, 0.0711669921875, 0.1083984375, 0.0782470703125, 0.1959228515625, 0.2271728515625, 0.1370849609375, 0.1221923828125, 0.1168212890625, 0.1724853515625, 0.08465576171875...
embed
64362797_c1
64362797
fsharp
1
.Price) // remove the items older than the price base period let removeOlderThan = tradeData.Timestamp - priceBasePeriod let rec dequeueLoop () = let p = timeQueue.Peek() if p < removeOlderThan then timeQueue.Dequeue() |> ignore priceQueue.Dequeue() |> ignore dequeueLoop() dequeueLoop() // get the moving average let ge...
.Price) // remove the items older than the price base period let removeOlderThan = tradeData.Timestamp - priceBasePeriod let rec dequeueLoop () = let p = timeQueue.Peek() if p < removeOlderThan then timeQueue.Dequeue() |> ignore priceQueue.Dequeue() |> ignore dequeueLoop() dequeueLoop() // get the moving average let ge...
[ 0.01806640625, 0.0238037109375, 0.0079345703125, 0.023193359375, 0.00433349609375, -0.0020751953125, -0.0166015625, 0.00860595703125, 0.0164794921875, -0.0419921875, 0.006256103515625, 0.033203125, 0.00909423828125, -0.00927734375, -0.01318359375, 0.0252685546875, 0.00026321411132812...
[ 5, 33163, 329, 4666, 87388, 70, 55769, 114210, 3501, 27167, 3647, 14922, 2633, 670, 31178, 1121, 52350, 137989, 70059, 590, 2676, 63473, 15277, 14, 2199, 21954, 8, 944, 13388, 15363, 2146, 915, 1733, 41732, 18144, 343, 4657, 124962, 2046, ...
[ 0.1427001953125, 0.2086181640625, 0.162841796875, 0.0902099609375, 0.197998046875, 0.019744873046875, 0.1981201171875, 0.1483154296875, 0.048370361328125, 0.1776123046875, 0.172607421875, 0.1649169921875, 0.06903076171875, 0.0166168212890625, 0.11572265625, 0.0894775390625, 0.1622314...
embed
43956518_c1
43956518
fsharp
1
, DUs, or anything else special - they're simply strings. EDIT : I found the issue... and as always, if you can't find the issue where you're looking, then you need to look elsewhere! In one of the calling functions, I was returning the async computation itself, rather than the results of the query. Code signals: Azure...
, DUs, or anything else special - they're simply strings. EDIT : I found the issue... and as always, if you can't find the issue where you're looking, then you need to look elsewhere! In one of the calling functions, I was returning the async computation itself, rather than the results of the query. Code signals: Azure...
[ -0.00970458984375, 0.022216796875, 0.01104736328125, 0.011474609375, 0.002227783203125, -0.005615234375, 0.00653076171875, -0.01513671875, 0.0147705078125, -0.013916015625, -0.020263671875, 0.01336669921875, 0.0272216796875, -0.002960205078125, 0.0250244140625, 0.01104736328125, 0.01...
[ 6, 4, 14614, 7, 707, 23937, 37076, 5361, 20, 1836, 25, 107, 42856, 79315, 5, 31089, 7413, 16487, 6713, 234311, 159029, 32354, 87, 30646, 10, 12654, 238, 181135, 68034, 43257, 3501, 50339, 41, 1294, 28864, 26073, 176071, 58836, 53, 75, 7...
[ 0.044158935546875, 0.043182373046875, 0.2408447265625, 0.163330078125, 0.05419921875, 0.074951171875, 0.0250701904296875, 0.18701171875, 0.04248046875, 0.135009765625, 0.0182342529296875, 0.131591796875, 0.1534423828125, 0.279541015625, 0.0723876953125, 0.11376953125, 0.0249633789062...
embed
24558142_c0
24558142
fsharp
0
Title: F# using a class instance&#x27;s member functions Problem title: F# using a class instance&#x27;s member functions Tags: f%23 Problem: F# using a class instance's member functions I'm trying to create a connection to open a database over ODBC. I cannot figure out how to execute an objects member functions. The c...
F# using a class instance&#x27;s member functions F# using a class instance&#x27;s member functions f%23 a DbConnection System.Data.Odbc.OdbcConnection DbConnection.open Missing F# using a class instance's member functions I'm trying to create a connection to open a database over ODBC. I cannot figure out how to execut...
[ 0.00384521484375, 0.00640869140625, 0.0126953125, 0.0019683837890625, -0.00909423828125, 0.017578125, 0.002288818359375, -0.005859375, 0.001129150390625, -0.039306640625, -0.006927490234375, -0.0130615234375, 0.0107421875, -0.006195068359375, -0.003692626953125, -0.0458984375, -0.015...
[ 563, 4904, 17368, 18507, 110527, 3768, 32786, 32354, 1238, 3742, 391, 275, 235603, 12353, 137989, 71115, 65037, 1830, 59636, 16771, 214, 7, 31577, 28282, 94878, 9803, 10, 63399, 645, 34687, 24318, 53418, 26366, 71924, 36746, 18151, 18499, 204...
[ 0.1395263671875, 0.2298583984375, 0.108154296875, 0.18798828125, 0.201904296875, 0.0919189453125, 0.268310546875, 0.218505859375, 0.04827880859375, 0.033843994140625, 0.04205322265625, 0.078125, 0.13134765625, 0.05804443359375, 0.0286712646484375, 0.09051513671875, 0.1458740234375, ...
embed
22672966_c1
22672966
fsharp
1
(fun (a,b,c,d,e) -> try ... // Do the database work with e -> Log.error "Yikes") return! loop } loop) It seems that the Using method of the AsyncBuilder is not properly calling its finally function for some reason, but it's not clear why. Does this have something to do with how I've written my recursive async expressi...
(fun (a,b,c,d,e) -> try ... // Do the database work with e -> Log.error "Yikes") return! loop } loop) It seems that the Using method of the AsyncBuilder is not properly calling its finally function for some reason, but it's not clear why. Does this have something to do with how I've written my recursive async expressi...
[ -0.01025390625, 0.02734375, 0.01611328125, -0.0120849609375, 0.00738525390625, 0.0224609375, -0.0064697265625, 0.005035400390625, 0.0247802734375, -0.038330078125, 0.0009307861328125, -0.005279541015625, 0.006195068359375, -0.00921630859375, 0.0238037109375, -0.015625, -0.0185546875,...
[ 16498, 71, 13, 9790, 63399, 4488, 678, 28, 13146, 188800, 1723, 6669, 7, 30646, 38, 40956, 37202, 345, 6953, 55300, 62, 12654, 238, 121137, 56, 83, 959, 155965, 159029, 6863, 77681, 32354, 31635, 34735, 15400, 765, 59121, 195625, 5844, 10...
[ 0.1649169921875, 0.014984130859375, 0.059600830078125, 0.1195068359375, 0.18310546875, 0.10791015625, 0.067626953125, 0.098388671875, 0.11767578125, 0.174560546875, 0.09039306640625, 0.178466796875, 0.1090087890625, 0.10302734375, 0.035919189453125, 0.13037109375, 0.045654296875, 0...
embed
11862192_c0
11862192
fsharp
0
Title: UI automation with functional languages Problem title: UI automation with functional languages Tags: canopy-web-testing, f%23, testing, ui-automation Problem: UI automation with functional languages Does anyone have an examples or experience of writing UI automation in a functional language? I'm currently learni...
UI automation with functional languages UI automation with functional languages canopy-web-testing f%23 testing ui-automation UI automation with functional languages Does anyone have an examples or experience of writing UI automation in a functional language? I'm currently learning F# to get a better understanding of f...
[ 0.0208740234375, -0.002471923828125, 0.00421142578125, -0.010009765625, -0.015625, -0.01318359375, 0.01324462890625, -0.0118408203125, 0.0036773681640625, -0.03759765625, 0.005218505859375, -0.00640869140625, -0.0067138671875, -0.00970458984375, 0.0233154296875, 0.005126953125, 0.009...
[ 111481, 11408, 1830, 678, 123309, 46876, 831, 2146, 53, 14051, 6954, 1238, 3949, 3742, 134234, 75, 14, 52344, 35672, 27781, 16981, 32562, 23, 10, 82424, 52080, 563, 4904, 100094, 23755, 34844, 20697, 297, 3034, 2806, 45646, 37202, 23468, 45...
[ 0.2294921875, 0.2235107421875, 0.08941650390625, 0.103759765625, 0.2449951171875, 0.197265625, 0.046295166015625, 0.1094970703125, 0.0751953125, 0.08331298828125, 0.1707763671875, 0.0718994140625, 0.024169921875, 0.09326171875, 0.197265625, 0.0771484375, 0.122314453125, 0.194458007...
embed
35106057_c0
35106057
fsharp
0
Title: F# automatic number type Problem title: F# automatic number type Tags: f%23, parameters, functional-programming Problem: F# automatic number type Is there a was to make a function in F# working for each type of number. I would like to pass in a number of a type and get the same type back. Here a short example: l...
F# automatic number type F# automatic number type f%23 parameters functional-programming Primes x::xs List.filter x::primes List.rev F# automatic number type Is there a was to make a function in F# working for each type of number. I would like to pass in a number of a type and get the same type back. Here a short examp...
[ -0.0308837890625, 0.00341796875, 0.023681640625, 0.013427734375, 0.006072998046875, 0.013427734375, 0.01068115234375, 0.0038909912109375, 0.01202392578125, -0.04931640625, 0.0001888275146484375, 0.00133514404296875, -0.017333984375, -0.0054931640625, 0.004425048828125, -0.0009117126464...
[ 563, 4904, 101038, 14012, 10644, 1238, 3949, 3742, 171859, 123309, 28966, 56195, 7, 1022, 425, 32036, 120337, 114654, 65381, 2071, 2685, 10, 509, 47, 3249, 32354, 23, 20697, 100, 12638, 2806, 1884, 27875, 136, 2046, 5701, 4420, 16610, 27781...
[ 0.1781005859375, 0.2330322265625, 0.227783203125, 0.1923828125, 0.209716796875, 0.1072998046875, 0.00457763671875, 0.127685546875, 0.1107177734375, 0.134033203125, 0.1007080078125, 0.14306640625, 0.00299072265625, 0.0240478515625, 0.02630615234375, 0.0799560546875, 0.1431884765625, ...
embed
31112341_c1
31112341
fsharp
1
0 1 2 0 0 0 0 0 0 0 NaN NaN 2 3 0 0 0 0 0 0 0 NaN NaN 3 4 0 0 0 0 0 0 0 NaN NaN 4 5 0 0 0 0 0 0 0 NaN NaN 5 6 0 0 0 0 0 0 0 NaN NaN 6 7 0 0 0 0 0 0 0 NaN NaN 7 8 0 0 0 0 0 0 0 NaN NaN 8 9 0 0 0 0 0 0 0 NaN NaN 9 10 0 0 0 0 0 0 0 NaN NaN 10 11 0 0 0 0 0 0 0 NaN NaN 11 12 0 0 0 0 0 0 0 NaN NaN 12 13 0 0 0 0 0 0 0 NaN Na...
0 1 2 0 0 0 0 0 0 0 NaN NaN 2 3 0 0 0 0 0 0 0 NaN NaN 3 4 0 0 0 0 0 0 0 NaN NaN 4 5 0 0 0 0 0 0 0 NaN NaN 5 6 0 0 0 0 0 0 0 NaN NaN 6 7 0 0 0 0 0 0 0 NaN NaN 7 8 0 0 0 0 0 0 0 NaN NaN 8 9 0 0 0 0 0 0 0 NaN NaN 9 10 0 0 0 0 0 0 0 NaN NaN 10 11 0 0 0 0 0 0 0 NaN NaN 11 12 0 0 0 0 0 0 0 NaN NaN 12 13 0 0 0 0 0 0 0 NaN Na...
[ -0.00994873046875, 0.01409912109375, -0.007781982421875, 0.005645751953125, 0.000583648681640625, -0.00016117095947265625, 0.00396728515625, 0.0103759765625, -0.00104522705078125, 0.042724609375, -0.01397705078125, -0.006439208984375, 0.00153350830078125, -0.0230712890625, -0.01025390625...
[ 757, 106, 116, 353, 839, 138, 201, 190, 305, 361, 382, 483, 209, 534, 427, 702, 616, 423, 611, 729, 543, 953, 387, 952, 1039, 1105, 744, 714 ]
[ 0.271484375, 0.1905517578125, 0.2406005859375, 0.2247314453125, 0.262939453125, 0.2249755859375, 0.1922607421875, 0.1611328125, 0.15478515625, 0.1121826171875, 0.1446533203125, 0.1446533203125, 0.16064453125, 0.135009765625, 0.125, 0.1434326171875, 0.1561279296875, 0.1348876953125,...
embed
54262974_c2
54262974
fsharp
2
, website_tq, tqit7, Scripts, fsi_basic.fsx:line, Microsoft.FSharp.Control.AsyncPrimitives.CallThenInvoke, TResult, AsyncActivation, result1, FSharpFunc, part2, Microsoft.FSharp.Control.AsyncPrimitives.unitAsync, Microsoft.FSharp.Control.Trampoline.Execute, End, Microsoft.FSharp.Control.AsyncResult, Commit, Microsoft.F...
, website_tq, tqit7, Scripts, fsi_basic.fsx:line, Microsoft.FSharp.Control.AsyncPrimitives.CallThenInvoke, TResult, AsyncActivation, result1, FSharpFunc, part2, Microsoft.FSharp.Control.AsyncPrimitives.unitAsync, Microsoft.FSharp.Control.Trampoline.Execute, End, Microsoft.FSharp.Control.AsyncResult, Commit, Microsoft.F...
[ 0.00128936767578125, 0.01007080078125, 0.0038299560546875, -0.0201416015625, 0.005218505859375, -0.001922607421875, 0.0003948211669921875, -0.007781982421875, 0.0035552978515625, -0.035888671875, -0.00738525390625, 0.041259765625, 0.002197265625, 0.01507568359375, 0.0135498046875, -0.0...
[ 6, 4, 4165, 18, 864, 808, 139924, 966, 84654, 1238, 172, 402, 27744, 17447, 425, 12, 2256, 7244, 5, 36381, 3467, 254, 175904, 12654, 238, 145111, 14, 42991, 5584, 3957, 23253, 13, 14107, 90, 7136, 164414, 16750, 418, 93774, 97249, 2831,...
[ 0.0380859375, 0.09869384765625, 0.197998046875, 0.052764892578125, 0.15869140625, 0.07733154296875, 0.125732421875, 0.13720703125, 0.230224609375, 0.09423828125, 0.1829833984375, 0.15625, 0.167236328125, 0.14111328125, 0.178466796875, 0.05218505859375, 0.1873779296875, 0.1363525390...
embed
69962968_c0
69962968
fsharp
0
Title: Get element of a record item by index (F#) Problem title: Get element of a record item by index (F#) Tags: f%23, record Problem: Get element of a record item by index (F#) I have a record, for instance with the following structure type RelativeSpeedModifier = { ContactSpeed: Range<Speed> OneThird: int TwoThirds:...
Get element of a record item by index (F#) Get element of a record item by index (F#) f%23 record Get RelativeSpeedModifier ContactSpeed Range Speed OneThird TwoThirds Standard Get element of a record item by index (F#) I have a record, for instance with the following structure What is an easy/elegent way (e.g. not har...
[ -0.0250244140625, 0.0000400543212890625, 0.003662109375, -0.0067138671875, 0.0033416748046875, -0.03173828125, -0.0252685546875, 0.002593994140625, 0.0033416748046875, -0.0113525390625, 0.0135498046875, 0.01019287109375, -0.00787353515625, -0.0022430419921875, 0.00396728515625, -0.0116...
[ 20779, 12830, 111, 17164, 35735, 390, 63262, 919, 4904, 1238, 3949, 3742, 231839, 223360, 91616, 85789, 27627, 142462, 63349, 117177, 4216, 20744, 765, 110527, 25632, 45646, 23468, 1018, 46825, 3917, 959, 7941, 40899, 2174, 63805, 47, 2046, 6...
[ 0.135498046875, 0.2142333984375, 0.040283203125, 0.2283935546875, 0.1854248046875, 0.133544921875, 0.248291015625, 0.06500244140625, 0.1763916015625, 0.06201171875, 0.0172271728515625, 0.1536865234375, 0.0994873046875, 0.1241455078125, 0.06500244140625, 0.10888671875, 0.1024780273437...
embed
51875859_c0
51875859
fsharp
0
Title: Is it possible to define an F# operator that applies multiple functions to a single argument (almost the opposite of the ||&gt; operator)? Problem title: Is it possible to define an F# operator that applies multiple functions to a single argument (almost the opposite of the ||&gt; operator)? Tags: f%23 Problem: ...
Is it possible to define an F# operator that applies multiple functions to a single argument (almost the opposite of the ||&gt; operator)? Is it possible to define an F# operator that applies multiple functions to a single argument (almost the opposite of the ||&gt; operator)? f%23 Is it possible to define an F# operat...
[ 0.005157470703125, -0.007476806640625, 0.013916015625, 0.0157470703125, -0.016357421875, -0.0167236328125, -0.0016326904296875, -0.0107421875, -0.006500244140625, -0.01361083984375, 0.001708984375, 0.0191650390625, 0.0194091796875, -0.0019378662109375, 0.005279541015625, -0.02783203125...
[ 2071, 442, 7722, 47, 61924, 142, 563, 4904, 39933, 450, 4027, 25720, 48716, 32354, 10, 11001, 10750, 840, 70, 198274, 111, 58745, 1230, 5386, 32, 1238, 3949, 3742, 2740, 81887, 3688, 96259, 100, 40956, 87, 193844, 903, 1284, 9790, 4527, ...
[ 0.0634765625, 0.05517578125, 0.17724609375, 0.0863037109375, 0.19189453125, 0.0615234375, 0.157470703125, 0.236572265625, 0.269775390625, 0.0268707275390625, 0.12109375, 0.10498046875, 0.2220458984375, 0.2117919921875, 0.0081787109375, 0.1551513671875, 0.2001953125, 0.1142578125, ...
embed
8665937_c0
8665937
fsharp
0
Title: How to install F# and use it from aspx page Problem title: How to install F# and use it from aspx page Tags: asp.net, f%23 Problem: How to install F# and use it from aspx page I am looking for simple answer about installation but without .msi and Visual Studio. I don't use VS, I put dll files inside bin folder, ...
How to install F# and use it from aspx page How to install F# and use it from aspx page asp.net f%23 aspx How web.config asp.net How to install F# and use it from aspx page I am looking for simple answer about installation but without .msi and Visual Studio. I don't use VS, I put dll files inside bin folder, write some...
[ -0.01080322265625, 0.010009765625, -0.011962890625, -0.0255126953125, -0.0084228515625, 0.0033416748046875, -0.00897216796875, -0.0028228759765625, -0.005950927734375, -0.03662109375, 0.00946044921875, -0.023681640625, -0.0118408203125, 0.00994873046875, 0.0264892578125, -0.01281738281...
[ 11249, 47, 20600, 563, 4904, 136, 4527, 442, 1295, 134675, 9191, 237, 254, 1179, 1238, 3949, 3742, 1467, 153837, 16487, 8781, 35166, 59720, 1284, 15490, 172, 73372, 22968, 44160, 3884, 81717, 102158, 46132, 2394, 78303, 33022, 9844, 24927, ...
[ 0.1114501953125, 0.07342529296875, 0.23486328125, 0.2080078125, 0.281494140625, 0.07769775390625, 0.179443359375, 0.07574462890625, 0.1732177734375, 0.259765625, 0.172607421875, 0.07757568359375, 0.14697265625, 0.1641845703125, 0.14111328125, 0.008453369140625, 0.0972900390625, 0.0...
embed
38791358_c0
38791358
fsharp
0
Title: ThreadLocal and generics Problem title: ThreadLocal and generics Tags: performance, f%23 Problem: ThreadLocal and generics I would like to create some thread local static arrays, using generics. The size of the array depends on the type. I'm trying to do something like: type LeftoverPool private () = static let ...
ThreadLocal and generics ThreadLocal and generics performance f%23 ThreadLocal LeftoverPool Array.zeroCreate Vector Count Instance instance.Value ThreadLocal and generics I would like to create some thread local static arrays, using generics. The size of the array depends on the type. I'm trying to do something like: B...
[ -0.0087890625, 0.002288818359375, -0.0089111328125, -0.00921630859375, -0.0031890869140625, -0.0078125, -0.000362396240234375, 0.006439208984375, 0.0012664794921875, -0.0166015625, -0.0125732421875, -0.00701904296875, 0.00113677978515625, -0.00933837890625, -0.005584716796875, -0.02490...
[ 136719, 203758, 136, 189534, 7, 23718, 3742, 2480, 5465, 7192, 929, 69253, 53, 80510, 63784, 2609, 18770, 108210, 116071, 110527, 856, 50770, 1884, 28282, 86997, 4000, 201939, 10298, 4778, 17368, 13267, 56566, 10644, 158, 2816, 384, 47, 23, ...
[ 0.1881103515625, 0.2578125, 0.1099853515625, 0.2244873046875, 0.0570068359375, 0.16162109375, 0.041107177734375, 0.03369140625, 0.0870361328125, 0.043975830078125, 0.08709716796875, 0.0908203125, 0.064208984375, 0.0972900390625, 0.0477294921875, 0.088623046875, 0.1058349609375, 0.1...
embed
16317285_c0
16317285
fsharp
0
Title: Accessing JavaScript&#x27;s this from WebSharper Problem title: Accessing JavaScript&#x27;s this from WebSharper Tags: websharper, f%23 Problem: Accessing JavaScript's this from WebSharper I feel a bit dumbfounded at how I have yet to find how to access the JavaScripts this keyword from WebSharper client code. I...
Accessing JavaScript&#x27;s this from WebSharper Accessing JavaScript&#x27;s this from WebSharper websharper f%23 WebSharper Accessing JavaScript Inline Accessing JavaScript's this from WebSharper I feel a bit dumbfounded at how I have yet to find how to access the JavaScripts this keyword from WebSharper client code. ...
[ -0.016357421875, 0.0296630859375, -0.001007080078125, -0.020751953125, 0.005645751953125, 0.0107421875, -0.00799560546875, 0.021728515625, -0.0025482177734375, -0.0654296875, 0.0166015625, 0.034423828125, -0.0220947265625, 0.01434326171875, 0.0179443359375, -0.001708984375, 0.0178222...
[ 40266, 214, 17925, 3768, 903, 1295, 4002, 294, 3467, 1264, 1467, 89280, 3742, 360, 2256, 7, 12319, 4785, 167457, 14373, 7413, 3642, 17203, 166117, 23282, 18151, 37842, 16195, 933, 1810, 3650, 100231, 23, 139392, 1647, 18, 48903, 15005, 2678...
[ 0.1683349609375, 0.0252838134765625, 0.2493896484375, 0.098876953125, 0.1829833984375, 0.123291015625, 0.1064453125, 0.07366943359375, 0.1898193359375, 0.2252197265625, 0.049713134765625, 0.1629638671875, 0.01641845703125, 0.0572509765625, 0.1712646484375, 0.046112060546875, 0.091430...
embed
51803099_c0
51803099
fsharp
0
Title: Unwrap a single case union &#x27;in place&#x27; Problem title: Unwrap a single case union &#x27;in place&#x27; Tags: f%23 Problem: Unwrap a single case union 'in place' I've got this beautiful piece of F# code, mapping a Pizza to a PizzaModel: type Cheese = Cheese of string type Pizza { Name: string Cheese: Chee...
Unwrap a single case union &#x27;in place&#x27; Unwrap a single case union &#x27;in place&#x27; f%23 Unwrap Cheese Pizza Name PizzaModel PizzaName Toppings pizza.Cheese pizza.Name Unwrap a single case union 'in place' I've got this beautiful piece of F# code, mapping a Pizza to a PizzaModel: Is it possible to write thi...
[ -0.0267333984375, 0.0155029296875, -0.0032196044921875, 0.0166015625, -0.0059814453125, 0.0059814453125, -0.03564453125, -0.01324462890625, 0.0277099609375, -0.0108642578125, 0.00732421875, 0.0177001953125, -0.00274658203125, 0.01483154296875, 0.0034637451171875, 0.00262451171875, -0...
[ 992, 434, 13631, 11001, 7225, 69941, 3768, 3687, 1238, 3742, 5024, 7717, 78011, 15757, 140290, 163612, 64740, 32960, 98914, 10, 73, 4163, 903, 34923, 63847, 563, 4904, 18151, 291, 26783, 47, 2071, 442, 7722, 33022, 12921, 831, 87, 51, 23 ...
[ 0.1619873046875, 0.083984375, 0.246826171875, 0.151611328125, 0.1748046875, 0.203857421875, 0.0936279296875, 0.190673828125, 0.02880859375, 0.0494384765625, 0.189453125, 0.1912841796875, 0.23681640625, 0.0777587890625, 0.2373046875, 0.06298828125, 0.1297607421875, 0.2296142578125, ...
embed
37361356_c0
37361356
fsharp
0
Title: Array of &#x27;a option Problem title: Array of &#x27;a option Tags: f%23 Problem: Array of 'a option I have a function foo 'a -> 'b option and I have a n array of 'a let data_in: 'a[] = ... I need to get array of 'b. So I have two question: I want to do something like this: bar(data: 'a []) : 'b [] = data |> fo...
Array of &#x27;a option Array of &#x27;a option f%23 Array data_in Array.filter Some None Array of 'a option I have a function and I have a n array of 'a I need to get array of 'b. So I have two question: I want to do something like this: but I get the error that bar expected type 'b , but get 'b option . How can I fix...
[ 0.00885009765625, 0.0023956298828125, 0.001434326171875, 0.01531982421875, -0.0059814453125, -0.0224609375, 0.004180908203125, 0.00689697265625, 0.00921630859375, 0.002593994140625, -0.00335693359375, 0.00762939453125, -0.0191650390625, -0.002410888671875, -0.01165771484375, -0.0269775...
[ 69253, 53, 111, 3768, 11, 35829, 1238, 3742, 2053, 73, 120337, 31384, 438, 86, 242, 765, 32354, 653, 10298, 3871, 2046, 275, 6626, 9655, 3444, 1884, 903, 18499, 1909, 84751, 10644, 1284, 11249, 831, 30022, 21635, 23, 756, 15490, 22288, ...
[ 0.1661376953125, 0.148681640625, 0.181884765625, 0.09912109375, 0.10546875, 0.24609375, 0.063232421875, 0.033050537109375, 0.1033935546875, 0.09637451171875, 0.202392578125, 0.040771484375, 0.060150146484375, 0.01873779296875, 0.042816162109375, 0.02691650390625, 0.14599609375, 0.0...
embed
1812174_c0
1812174
fsharp
0
Title: F# charting example Problem title: F# charting example Tags: charts, f%23 Problem: F# charting example I would like to do some basic charting in F# using build in features or a free library. And I would be very very pleased with a very basic example of it, a pie chart if possible. Example data : [("John",34);("S...
F# charting example F# charting example charts f%23 John Sara Will Maria F# charting example I would like to do some basic charting in F# using build in features or a free library. And I would be very very pleased with a very basic example of it, a pie chart if possible. Example data : Where the ints are percentages to...
[ 0.01123046875, -0.00836181640625, 0.0191650390625, 0.01092529296875, -0.01312255859375, 0.005126953125, -0.00762939453125, -0.006439208984375, 0.00762939453125, 0.0019683837890625, -0.0079345703125, -0.00860595703125, 0.0026397705078125, 0.0203857421875, 0.0034942626953125, 0.014038085...
[ 563, 4904, 116287, 214, 27781, 1238, 3949, 3742, 4939, 13156, 20255, 5379, 2806, 1884, 62822, 23, 45367, 66139, 4092, 35773, 174849, 2158, 7722, 89536, 8705, 2053, 78662, 933, 169209, 33636, 20600, 44160, 97381, 138, 397, 16487, 8781, 5885, ...
[ 0.1561279296875, 0.22998046875, 0.23291015625, 0.11181640625, 0.2039794921875, 0.0399169921875, 0.003875732421875, 0.0748291015625, 0.0199737548828125, 0.032470703125, 0.0609130859375, 0.087646484375, 0.007080078125, 0.052215576171875, 0.1099853515625, 0.1246337890625, 0.148071289062...
embed
65106875_c0
65106875
fsharp
0
Title: Create new operator in F# with explicit datatype Problem title: Create new operator in F# with explicit datatype Tags: f%23, new-operator Problem: Create new operator in F# with explicit datatype Is there a way I can explicitly the elements of a new operator I define? I've checked the doc but couldn't find it: h...
Create new operator in F# with explicit datatype Create new operator in F# with explicit datatype f%23 new-operator Create b:bool Create new operator in F# with explicit datatype Is there a way I can explicitly the elements of a new operator I define? I've checked the doc but couldn't find it: https://learn.microsoft.c...
[ 0.0263671875, 0.0048828125, 0.0024566650390625, 0.01239013671875, -0.005157470703125, 0.0179443359375, -0.00469970703125, 0.00592041015625, 0.00037384033203125, 0.0166015625, 0.01953125, -0.0179443359375, -0.00145721435546875, -0.029052734375, 0.016845703125, -0.0033721923828125, 0.0...
[ 151313, 3525, 39933, 23, 563, 4904, 678, 143726, 2053, 50986, 1238, 3742, 206469, 876, 12, 142484, 2685, 10, 3917, 831, 538, 70, 80854, 111, 87, 61924, 12765, 51584, 138410, 1179, 420, 89280, 254, 196651, 239879, 5465, 63033, 129147, 54936,...
[ 0.1324462890625, 0.1409912109375, 0.267578125, 0.0301513671875, 0.1365966796875, 0.2025146484375, 0.02545166015625, 0.2052001953125, 0.0936279296875, 0.2178955078125, 0.087158203125, 0.05609130859375, 0.2086181640625, 0.1014404296875, 0.039581298828125, 0.16259765625, 0.0117797851562...
embed
76192173_c0
76192173
fsharp
0
Title: How do we use the generator with FsCheck? Problem title: How do we use the generator with FsCheck? Tags: xunit, fscheck, f%23 Problem: How do we use the generator with FsCheck? This link explains the generator, but does not specify exactly how to use it. I am not sure how to test the contents of the list generat...
How do we use the generator with FsCheck? How do we use the generator with FsCheck? xunit fscheck f%23 How FsCheck FsCheck.Xunit Zeros Gen.constant Gen.sample Property TestSample How do we use the generator with FsCheck? This link explains the generator, but does not specify exactly how to use it. I am not sure how to ...
[ 0.00058746337890625, 0.0172119140625, -0.00799560546875, -0.0084228515625, -0.00982666015625, 0.0108642578125, 0.0238037109375, -0.020751953125, 0.01409912109375, -0.034912109375, 0.00994873046875, 0.0361328125, 0.01483154296875, 0.009521484375, -0.0019683837890625, -0.0146484375, -0...
[ 11249, 642, 4527, 145823, 678, 563, 7, 202567, 54, 10438, 6773, 1238, 78292, 3949, 3742, 1542, 309, 217, 83947, 15937, 42539, 433, 33209, 206984, 8647, 70, 3126, 73342, 3642, 442, 47, 3034, 10941, 5303, 139392, 1884, 25632, 18151, 100, 55...
[ 0.06854248046875, 0.05914306640625, 0.1258544921875, 0.267333984375, 0.0887451171875, 0.12255859375, 0.1131591796875, 0.27734375, 0.02239990234375, 0.0853271484375, 0.1328125, 0.10546875, 0.251708984375, 0.02197265625, 0.1083984375, 0.052520751953125, 0.044219970703125, 0.120971679...
embed
13211117_c0
13211117
fsharp
0
Title: F# type providers with Portable Library Problem title: F# type providers with Portable Library Tags: windows-runtime, f%23, type-providers Problem: F# type providers with Portable Library I'm building a Windows 8 application and am finding myself wanting to include a list of ISO-4217 codes, which I have in up-to...
F# type providers with Portable Library F# type providers with Portable Library windows-runtime f%23 type-providers Portable Library F# type providers with Portable Library I'm building a Windows 8 application and am finding myself wanting to include a list of ISO-4217 codes, which I have in up-to-date form in XML. Nat...
[ 0.00091552734375, 0.0167236328125, -0.00799560546875, 0.00445556640625, -0.0201416015625, 0.006072998046875, -0.00131988525390625, 0.0177001953125, -0.00077056884765625, -0.0147705078125, 0.00732421875, -0.006927490234375, 0.00180816650390625, 0.00787353515625, 0.007415771484375, 0.006...
[ 563, 4904, 10644, 81450, 7, 678, 1818, 22819, 103835, 54825, 16428, 6032, 1238, 3949, 3742, 93136, 14202, 33976, 3773, 382, 38415, 90791, 3444, 26698, 5303, 111, 17408, 124596, 2489, 18151, 1257, 3173, 92537, 24941, 100, 756, 76726, 26366, ...
[ 0.1539306640625, 0.2061767578125, 0.2130126953125, 0.2376708984375, 0.0219573974609375, 0.1279296875, 0.14990234375, 0.1524658203125, 0.2174072265625, 0.107421875, 0.046783447265625, 0.083984375, 0.1292724609375, 0.014678955078125, 0.12939453125, 0.18310546875, 0.0545654296875, 0.0...
embed
30578715_c1
30578715
fsharp
1
xsId04BF0299185B59F3F3F554A382524B98=A22594ACC3339C4F86FAB57F68CF9FDB; path=/; HttpOnly set-cookie:sapxslb=6D458FD9581EE04333FC0494D0E9F113; path=/; HttpOnly Code signals: previous, Authentication, FSharp.Data.Http, FSharp.Data.dll, FSharp.Data, System, app.sablono.com, projectStatus.xsjs, cf22d1562c3c2, Net.HttpWebReq...
xsId04BF0299185B59F3F3F554A382524B98=A22594ACC3339C4F86FAB57F68CF9FDB; path=/; HttpOnly set-cookie:sapxslb=6D458FD9581EE04333FC0494D0E9F113; path=/; HttpOnly Code signals: previous, Authentication, FSharp.Data.Http, FSharp.Data.dll, FSharp.Data, System, app.sablono.com, projectStatus.xsjs, cf22d1562c3c2, Net.HttpWebReq...
[ 0.013916015625, 0.03466796875, 0.01165771484375, -0.00494384765625, 0.0086669921875, -0.005096435546875, -0.0025634765625, 0.007537841796875, 0.00732421875, 0.01373291015625, 0.00994873046875, 0.0247802734375, -0.01025390625, -0.02587890625, 0.0019683837890625, 0.0036468505859375, 0....
[ 1022, 82350, 5046, 146111, 12975, 163670, 10991, 16665, 4015, 204216, 131518, 15276, 12243, 16028, 84683, 39463, 60875, 1369, 64, 74, 3062, 254, 20320, 538, 5423, 212087, 45882, 48543, 397, 66000, 116597, 28864, 26073, 12, 96362, 52236, 63250, ...
[ 0.0802001953125, 0.030487060546875, 0.06732177734375, 0.08343505859375, 0.04180908203125, 0.09747314453125, 0.0218963623046875, 0.1358642578125, 0.0174102783203125, 0.0706787109375, 0.1190185546875, 0.011077880859375, 0.00921630859375, 0.0078125, 0.01898193359375, 0.13330078125, 0.18...
embed
51094049_c1
51094049
fsharp
1
Arg call as shown in the following (commented) line. Is there a better way? in the last line where 'AddRange' is called, it complains that do calls can be executed only in primary constructors, which is fair. But, how do I call the necessary AddRange to initialize the list? I have tried different options but couldn't f...
Arg call as shown in the following (commented) line. Is there a better way? in the last line where 'AddRange' is called, it complains that do calls can be executed only in primary constructors, which is fair. But, how do I call the necessary AddRange to initialize the list? I have tried different options but couldn't f...
[ -0.01251220703125, 0.01544189453125, 0.0091552734375, 0.01239013671875, -0.0081787109375, -0.01251220703125, -0.002777099609375, -0.0048828125, 0.0203857421875, -0.020751953125, 0.01190185546875, 0.021240234375, 0.0189208984375, 0.045654296875, 0.00946044921875, -0.00201416015625, -0...
[ 1172, 177, 11782, 127887, 1183, 11522, 3917, 4568, 13315, 284, 4028, 1052, 51459, 35839, 186992, 54, 7, 831, 71924, 4734, 23, 158978, 64549, 25251, 44075, 3642, 87, 63559, 29117, 47, 61475, 20650, 5303, 50717, 67688, 6868, 3334, 217, 3564, ...
[ 0.2210693359375, 0.23095703125, 0.211669921875, 0.0377197265625, 0.05926513671875, 0.05615234375, 0.0404052734375, 0.0276031494140625, 0.0285491943359375, 0.029937744140625, 0.1666259765625, 0.20703125, 0.228271484375, 0.09326171875, 0.10540771484375, 0.010772705078125, 0.05407714843...
embed
58048906_c0
58048906
fsharp
0
Title: VS Code Showing missing reference to netstandard for AzureFunctions v1 fsx files Problem title: VS Code Showing missing reference to netstandard for AzureFunctions v1 fsx files Tags: azure-functions, f%23, visual-studio-code Problem: VS Code Showing missing reference to netstandard for AzureFunctions v1 fsx file...
VS Code Showing missing reference to netstandard for AzureFunctions v1 fsx files VS Code Showing missing reference to netstandard for AzureFunctions v1 fsx files azure-functions f%23 visual-studio-code Showing AzureFunctions VS Code Showing missing reference to netstandard for AzureFunctions v1 fsx files The type refer...
[ 0.00732421875, 0.005523681640625, 0.003265380859375, 0.04296875, 0.0087890625, -0.003662109375, 0.0120849609375, 0.018310546875, -0.0017547607421875, -0.0020599365234375, -0.0103759765625, 0.014892578125, 0.002593994140625, 0.0198974609375, 0.037841796875, -0.0015716552734375, 0.0032...
[ 44160, 28864, 17367, 132283, 91067, 47, 2043, 66589, 176071, 97249, 10763, 81, 418, 1238, 7, 425, 102158, 295, 3408, 137175, 3949, 3742, 21176, 52629, 40899, 10644, 8305, 20112, 61924, 89845, 959, 8110, 15190, 38526, 1179, 150011, 114211, 414...
[ 0.2230224609375, 0.2078857421875, 0.095458984375, 0.191650390625, 0.2420654296875, 0.05126953125, 0.1480712890625, 0.251708984375, 0.210693359375, 0.1798095703125, 0.103515625, 0.06268310546875, 0.0654296875, 0.059539794921875, 0.06207275390625, 0.1390380859375, 0.1285400390625, 0....
embed
12437792_c1
12437792
fsharp
1
very good notes on it so it is worth my time. Once I get Eclipse working for a major ANTLR release, I don't update it again for years. For the small amount of time I plan on debugging OCaml, the cost is too high. Note: Eclipse is actively maintained and updated. They don't do debugging. Since there are so few GUI tool...
very good notes on it so it is worth my time. Once I get Eclipse working for a major ANTLR release, I don't update it again for years. For the small amount of time I plan on debugging OCaml, the cost is too high. Note: Eclipse is actively maintained and updated. They don't do debugging. Since there are so few GUI tool...
[ 0.004119873046875, -0.00151824951171875, 0.01080322265625, 0.015869140625, 0.01129150390625, -0.0004367828369140625, -0.020263671875, -0.00139617919921875, 0.00099945068359375, 0.01214599609375, 0.005157470703125, -0.00083160400390625, -0.01116943359375, 0.0032501220703125, 0.00909423828...
[ 4552, 4127, 73048, 98, 442, 221, 83, 41965, 759, 1733, 76556, 234962, 20697, 13036, 33996, 138535, 54452, 2301, 18, 28350, 13438, 5369, 19336, 1774, 8, 978, 36659, 180, 105272, 141, 11034, 5792, 11192, 18622, 36457, 76104, 150011, 2685, 108...
[ 0.08160400390625, 0.10546875, 0.1866455078125, 0.002838134765625, 0.0870361328125, 0.0218505859375, 0.0699462890625, 0.1610107421875, 0.0189056396484375, 0.119873046875, 0.034576416015625, 0.263427734375, 0.06005859375, 0.0302734375, 0.0743408203125, 0.19140625, 0.00579833984375, 0...
embed
72708857_c0
72708857
fsharp
0
Title: F# How to distribute an item across every element in a list using recursion Problem title: F# How to distribute an item across every element in a list using recursion Tags: f%23 Problem: F# How to distribute an item across every element in a list using recursion I am trying to distribute a single item across eve...
F# How to distribute an item across every element in a list using recursion F# How to distribute an item across every element in a list using recursion f%23 recursion How F# How to distribute an item across every element in a list using recursion I am trying to distribute a single item across every element in a list. F...
[ -0.00927734375, 0.01611328125, 0.000499725341796875, -0.0218505859375, -0.01019287109375, -0.006591796875, -0.0135498046875, -0.0037689208984375, 0.002166748046875, -0.01531982421875, 0.0255126953125, -0.01300048828125, -0.00201416015625, -0.004058837890625, -0.00946044921875, -0.00515...
[ 563, 4904, 11249, 47, 15917, 67, 35735, 36880, 11907, 12830, 23, 5303, 17368, 195625, 1830, 1238, 3949, 3742, 10, 31577, 11001, 1902, 155761, 13223, 724, 1884, 2046, 16750, 106, 116, 8439, 14858, 125195, 28484, 9077, 4034, 82424 ]
[ 0.104736328125, 0.15380859375, 0.050506591796875, 0.0151824951171875, 0.2462158203125, 0.1309814453125, 0.198974609375, 0.1932373046875, 0.146240234375, 0.169189453125, 0.050537109375, 0.203125, 0.0653076171875, 0.23828125, 0.15673828125, 0.103271484375, 0.037567138671875, 0.141601...
embed
15184949_c0
15184949
fsharp
0
Title: Different argument order for getting N-th element of Array, List or Seq Problem title: Different argument order for getting N-th element of Array, List or Seq Tags: pipeline, f%23 Problem: Different argument order for getting N-th element of Array, List or Seq Is there a good reason for a different argument orde...
Different argument order for getting N-th element of Array, List or Seq Different argument order for getting N-th element of Array, List or Seq pipeline f%23 Different N-th Array List Seq Array.get Seq.nth Different argument order for getting N-th element of Array, List or Seq Is there a good reason for a different arg...
[ 0.01251220703125, -0.0002899169921875, -0.0032501220703125, -0.0042724609375, -0.00592041015625, -0.034423828125, 0.0004253387451171875, -0.0027313232421875, 0.001434326171875, -0.01141357421875, 0.0186767578125, 0.0062255859375, -0.01611328125, -0.000644683837890625, -0.0038909912109375...
[ 242520, 10750, 12989, 100, 20949, 541, 9, 927, 12830, 69253, 53, 32036, 707, 503, 864, 137158, 2256, 3742, 3794, 19, 4127, 31635, 10, 12921, 32354, 1884, 4527, 39933, 7722, 678, 3917, 5701, 110, 22062 ]
[ 0.1671142578125, 0.2430419921875, 0.19384765625, 0.027374267578125, 0.0821533203125, 0.1971435546875, 0.058624267578125, 0.212646484375, 0.1739501953125, 0.1602783203125, 0.153076171875, 0.1951904296875, 0.05487060546875, 0.1275634765625, 0.214111328125, 0.1873779296875, 0.1303710937...
embed
25478047_c0
25478047
fsharp
0
Title: Delay signed FSharp.Core assemblies Problem title: Delay signed FSharp.Core assemblies Tags: f%23, amazon-web-services, deployment Problem: Delay signed FSharp.Core assemblies I'm deploying a service which depends on FSharp.Core to AWS, specifically to an AMI that doesn't have the fsharp redistributable installe...
Delay signed FSharp.Core assemblies Delay signed FSharp.Core assemblies f%23 amazon-web-services deployment Delay FSharp.Core Delay signed FSharp.Core assemblies I'm deploying a service which depends on FSharp.Core to AWS, specifically to an AMI that doesn't have the fsharp redistributable installed on it. I have thus ...
[ 0.00567626953125, 0.004119873046875, 0.0093994140625, -0.027587890625, 0.01025390625, -0.01373291015625, 0.019775390625, -0.005401611328125, 0.0015869140625, 0.01458740234375, 0.0150146484375, -0.0137939453125, -0.01470947265625, 0.00885009765625, 0.01556396484375, 0.026123046875, 0....
[ 262, 5259, 181141, 93774, 3467, 254, 50886, 13, 10, 89845, 7121, 3742, 2527, 5870, 14051, 22584, 8, 13158, 4516, 56566, 5, 62, 52143, 47180, 22027, 18, 765, 1238, 89280, 242564, 22819, 20600, 49814, 91067, 30854, 315, 3794, 98169, 38526, ...
[ 0.1337890625, 0.24365234375, 0.194580078125, 0.10888671875, 0.1732177734375, 0.1954345703125, 0.132568359375, 0.04705810546875, 0.01104736328125, 0.1673583984375, 0.086669921875, 0.0048828125, 0.06402587890625, 0.095947265625, 0.057342529296875, 0.10333251953125, 0.16259765625, 0.0...
embed
2678850_c1
2678850
fsharp
1
:08.6251990 printfn "%A\t%A" ans1 timer.Elapsed timer.Reset() timer.Start() let ans3 = testlist |> procseq pmap2 printfn "%A\t%A" ans3 timer.Elapsed // 837799 00:00:58.2413990 timer.Reset() Why does the Async.Parallel code run REALLY slow in comparison to the straight up map? I know I shouldn't see that much of an effe...
:08.6251990 printfn "%A\t%A" ans1 timer.Elapsed timer.Reset() timer.Start() let ans3 = testlist |> procseq pmap2 printfn "%A\t%A" ans3 timer.Elapsed // 837799 00:00:58.2413990 timer.Reset() Why does the Async.Parallel code run REALLY slow in comparison to the straight up map? I know I shouldn't see that much of an effe...
[ -0.017333984375, 0.00714111328125, -0.0018310546875, 0.01458740234375, -0.0086669921875, -0.0174560546875, -0.009033203125, 0.01422119140625, 0.010498046875, -0.01214599609375, -0.001556396484375, 0.02490234375, 0.004241943359375, 0.015380859375, 0.005462646484375, -0.005035400390625, ...
[ 17331, 2588, 70779, 28412, 14783, 284, 7210, 418, 21991, 127966, 4332, 3509, 126597, 363, 3034, 6562, 10402, 184, 864, 3592, 2631, 304, 180882, 163712, 110095, 33593, 61158, 44084, 62, 12654, 238, 55292, 1229, 141, 18151, 11675, 88491, 19917,...
[ 0.02410888671875, 0.08685302734375, 0.1395263671875, 0.1561279296875, 0.16748046875, 0.01580810546875, 0.1448974609375, 0.0665283203125, 0.25830078125, 0.16259765625, 0.0638427734375, 0.15771484375, 0.121337890625, 0.1478271484375, 0.18212890625, 0.157470703125, 0.043670654296875, ...
embed
41991006_c0
41991006
fsharp
0
Title: What would be an idiomatic F# way to scale a list of (n-tuples or list) with another list, also arrays? Problem title: What would be an idiomatic F# way to scale a list of (n-tuples or list) with another list, also arrays? Tags: list, f%23, arrays, neural-network Problem: What would be an idiomatic F# way to sca...
What would be an idiomatic F# way to scale a list of (n-tuples or list) with another list, also arrays? What would be an idiomatic F# way to scale a list of (n-tuples or list) with another list, also arrays? list f%23 arrays neural-network What What would be an idiomatic F# way to scale a list of (n-tuples or list) wit...
[ -0.0033416748046875, 0.00848388671875, 0.01556396484375, -0.0037841796875, -0.012939453125, 0.0031585693359375, 0.0029754638671875, 0.0042724609375, 0.0147705078125, -0.022705078125, 0.0028228759765625, 0.0036163330078125, -0.000823974609375, -0.0242919921875, -0.028564453125, -0.01409...
[ 2806, 186, 49666, 9523, 563, 4904, 3917, 47, 105994, 5303, 19, 458, 99726, 678, 15700, 2843, 10298, 4778, 111, 1238, 3742, 82451, 1179, 18244, 4865, 3444, 148, 1542, 2203, 93645, 363, 121254, 966, 90173, 170179, 758, 910, 1884, 3714, 2765...
[ 0.057861328125, 0.01025390625, 0.1832275390625, 0.1214599609375, 0.1326904296875, 0.2020263671875, 0.0859375, 0.031646728515625, 0.26318359375, 0.198486328125, 0.0789794921875, 0.0772705078125, 0.1815185546875, 0.13525390625, 0.0740966796875, 0.06787109375, 0.0892333984375, 0.12316...
embed
33631677_c0
33631677
fsharp
0
Title: What does the use of brackets really mean in F#? Problem title: What does the use of brackets really mean in F#? Tags: f%23 Problem: What does the use of brackets really mean in F#? I need help understanding the following statement: let dictionary = [ for i in 1..4 -> i, true ] |> Map.ofSeq Specifically, I am co...
What does the use of brackets really mean in F#? What does the use of brackets really mean in F#? f%23 What Map.ofSeq What does the use of brackets really mean in F#? I need help understanding the following statement: Specifically, I am confused about the rules regarding the use of brackets. What does the use of bracke...
[ -0.0042724609375, 0.007537841796875, -0.01129150390625, -0.0022735595703125, -0.00616455078125, -0.0167236328125, 0.00360107421875, 0.0123291015625, 0.01708984375, -0.005340576171875, -0.0026092529296875, 0.003997802734375, 0.00180816650390625, 0.006591796875, 0.0002841949462890625, -0...
[ 4865, 4527, 1620, 27853, 7, 6183, 29459, 23, 563, 4904, 1238, 3742, 42719, 4390, 4233, 864, 14602, 111, 4358, 100094, 63805, 55681, 91736, 10644, 42486, 3509, 22, 155648, 10298, 40, 5303, 125195, 30646, 11814, 28032 ]
[ 0.06719970703125, 0.1456298828125, 0.1998291015625, 0.2335205078125, 0.0989990234375, 0.10113525390625, 0.1312255859375, 0.0721435546875, 0.1156005859375, 0.1845703125, 0.037384033203125, 0.07025146484375, 0.1385498046875, 0.1253662109375, 0.05279541015625, 0.12060546875, 0.033660888...
embed
592856_c0
592856
fsharp
0
Title: Is F# better than C# in scenarios where you need complete parallelism in parts of an application? Problem title: Is F# better than C# in scenarios where you need complete parallelism in parts of an application? Tags: .net, parallel-processing, c%23, f%23 Problem: Is F# better than C# in scenarios where you need ...
Is F# better than C# in scenarios where you need complete parallelism in parts of an application? Is F# better than C# in scenarios where you need complete parallelism in parts of an application? .net parallel-processing c%23 f%23 Is F# better than C# in scenarios where you need complete parallelism in parts of an appl...
[ -0.00811767578125, 0.00927734375, -0.00469970703125, -0.00885009765625, -0.0194091796875, 0.004669189453125, 0.01116943359375, -0.0157470703125, 0.0054931640625, -0.00958251953125, 0.00144195556640625, 0.032470703125, -0.0015716552734375, 0.00775146484375, 0.0002956390380859375, -0.001...
[ 563, 4904, 11522, 3501, 313, 106117, 3871, 28484, 95103, 8780, 63920, 38415, 23, 1179, 63923, 214, 3742, 1238, 2071, 5201, 46876, 83, 32562, 4027, 56458, 123309, 2481, 88303, 2663, 441, 1556, 203251, 4552, 29479, 61112 ]
[ 0.1444091796875, 0.2293701171875, 0.166748046875, 0.0765380859375, 0.0799560546875, 0.16455078125, 0.05950927734375, 0.1015625, 0.20947265625, 0.093505859375, 0.0675048828125, 0.0958251953125, 0.040679931640625, 0.1307373046875, 0.076171875, 0.0028076171875, 0.0274505615234375, 0.0...
embed
60102812_c1
60102812
fsharp
1
.TaskBuilder.Step<unit>'. The type 'int' does not match the type 'unit' This is due to the way the task CE works, but I am wondering if there is a way to not return a useless value (i.e. return Unchecked.defaultof<int> ) to stop the compiler yelling at me. Code signals: FakeDapperException, FakePersistenceException, Ta...
.TaskBuilder.Step<unit>'. The type 'int' does not match the type 'unit' This is due to the way the task CE works, but I am wondering if there is a way to not return a useless value (i.e. return Unchecked.defaultof<int> ) to stop the compiler yelling at me. Code signals: FakeDapperException, FakePersistenceException, Ta...
[ -0.0042724609375, 0.028076171875, 0.004119873046875, -0.01556396484375, -0.00007152557373046875, -0.0203857421875, -0.00408935546875, -0.0257568359375, 0.00640869140625, 0.0057373046875, -0.0167236328125, 0.033447265625, -0.00445556640625, 0.017333984375, 0.012939453125, 0.009338378906...
[ 9874, 1042, 121137, 56, 191644, 309, 217, 10644, 4288, 14602, 959, 14858, 66211, 18471, 43240, 149016, 3917, 30646, 4527, 9393, 34292, 992, 78292, 214810, 4390, 7279, 9969, 34759, 2422, 30319, 99, 163, 28864, 26073, 3036, 350, 11866, 8079, ...
[ 0.150634765625, 0.110107421875, 0.18212890625, 0.09344482421875, 0.2142333984375, 0.127197265625, 0.083740234375, 0.1934814453125, 0.19677734375, 0.0753173828125, 0.14599609375, 0.2012939453125, 0.2027587890625, 0.17333984375, 0.0294036865234375, 0.023590087890625, 0.0189361572265625...
embed
61347657_c0
61347657
fsharp
0
Title: How do I remove n characters from the beginning of a txt file in .NET? Problem title: How do I remove n characters from the beginning of a txt file in .NET? Tags: stream, .net-core, .net, c%23, f%23 Problem: How do I remove n characters from the beginning of a txt file in .NET? I know you can do it by just overw...
How do I remove n characters from the beginning of a txt file in .NET? How do I remove n characters from the beginning of a txt file in .NET? stream .net-core .net c%23 f%23 the How NET How do I remove n characters from the beginning of a txt file in .NET? I know you can do it by just overwriting the whole file content...
[ -0.003387451171875, 0.0103759765625, 0.0159912109375, 0.0152587890625, -0.00095367431640625, -0.030517578125, 0.00933837890625, 0.00408935546875, 0, 0.0111083984375, 0.00185394287109375, 0.0006866455078125, -0.0135498046875, 0.01611328125, 0.006317138671875, -0.000972747802734375, 0....
[ 11249, 87388, 653, 124850, 1295, 86595, 124326, 11435, 5, 17777, 54, 87, 111, 23, 75973, 1179, 30854, 3742, 1238, 70, 831, 199332, 28271, 10941, 42724, 18781, 43512, 174379, 32354, 60266, 49146, 6496, 24941, 4034, 7986, 70541, 1286, 43077, ...
[ 0.1002197265625, 0.2216796875, 0.2154541015625, 0.25, 0.111083984375, 0.1988525390625, 0.263671875, 0.164794921875, 0.051300048828125, 0.2269287109375, 0.03167724609375, 0.026397705078125, 0.02374267578125, 0.064697265625, 0.1563720703125, 0.1826171875, 0.150390625, 0.0880126953125...
embed
19340034_c0
19340034
fsharp
0
Title: Is there an equivalent to F# |&gt; (method chaining) in Ruby? Problem title: Is there an equivalent to F# |&gt; (method chaining) in Ruby? Tags: chaining, f%23, ruby Problem: Is there an equivalent to F# |> (method chaining) in Ruby? I have an example in F#: let a n = Convert.ToString(n:int32) And I can say: 3 |...
Is there an equivalent to F# |&gt; (method chaining) in Ruby? Is there an equivalent to F# |&gt; (method chaining) in Ruby? chaining f%23 ruby Ruby Convert.ToString n:int32 a.b.c.d Is there an equivalent to F# |> (method chaining) in Ruby? I have an example in F#: And I can say: which evaluates to "3" . Is there a simi...
[ -0.001251220703125, 0.01080322265625, 0.00860595703125, 0.01531982421875, -0.0198974609375, -0.01153564453125, 0.00518798828125, 0.00457763671875, 0.00543212890625, -0.01446533203125, -0.01123046875, 0.00421142578125, 0.000164031982421875, 0.0010833740234375, -0.01287841796875, -0.0200...
[ 183234, 47, 563, 4904, 58745, 1230, 5386, 1928, 7352, 1608, 14653, 23, 158189, 2685, 142, 1238, 3949, 3742, 21922, 53, 11549, 7763, 71713, 4288, 6460, 10, 275, 71, 2071, 2740, 27781, 831, 5154, 3129, 151575, 363, 21373, 64549, 51006, 4687...
[ 0.1724853515625, 0.03204345703125, 0.13671875, 0.211669921875, 0.09130859375, 0.03082275390625, 0.1014404296875, 0.09765625, 0.1507568359375, 0.2010498046875, 0.1961669921875, 0.1041259765625, 0.26611328125, 0.01568603515625, 0.009613037109375, 0.08441162109375, 0.02740478515625, 0...
embed
14428420_c0
14428420
fsharp
0
Title: Converting F# seq expressions to OCaml Problem title: Converting F# seq expressions to OCaml Tags: f%23, ocaml Problem: Converting F# seq expressions to OCaml In the F# code I'm trying to convert to OCaml, I've run into the following: let rec parseList lst off = seq { if List.isEmpty lst then () else match parse...
Converting F# seq expressions to OCaml Converting F# seq expressions to OCaml f%23 ocaml Converting OCaml List.isEmpty List.head Unmatched List.tail Converting F# seq expressions to OCaml In the F# code I'm trying to convert to OCaml, I've run into the following: I'm wondering about how to convert that seq{...} express...
[ 0.0045166015625, -0.001312255859375, 0.0084228515625, 0.0299072265625, 0.01123046875, -0.0013885498046875, -0.013916015625, 0.00262451171875, 0.006866455078125, -0.00372314453125, -0.002532958984375, 0.035888671875, -0.00860595703125, -0.007537841796875, 0.00921630859375, -0.0015182495...
[ 1657, 814, 1916, 563, 4904, 40, 864, 125195, 47, 180, 105272, 141, 1238, 3949, 3742, 36, 9779, 32036, 134332, 31251, 98753, 46741, 18151, 31577, 96760, 149016, 3642, 27, 678, 11180, 19388, 242, 7, 57767, 765, 24209, 5303 ]
[ 0.043975830078125, 0.108642578125, 0.0289459228515625, 0.1136474609375, 0.1751708984375, 0.116943359375, 0.2132568359375, 0.2215576171875, 0.09881591796875, 0.13232421875, 0.183349609375, 0.1993408203125, 0.055145263671875, 0.002899169921875, 0.103759765625, 0.0875244140625, 0.135131...
embed
14792173_c0
14792173
fsharp
0
Title: Strange behavior of %A format with non-public discriminated unions Problem title: Strange behavior of %A format with non-public discriminated unions Tags: f%23 Problem: Strange behavior of %A format with non-public discriminated unions The output of: type Test = | First | Second | Third let test = First printf "...
Strange behavior of %A format with non-public discriminated unions Strange behavior of %A format with non-public discriminated unions f%23 Strange Test First Second Third FSI_0019 Strange behavior of %A format with non-public discriminated unions The output of: is as expected, but if I declare the type internal : the o...
[ -0.002471923828125, 0.0033721923828125, 0.0186767578125, 0.03369140625, 0.00115966796875, -0.0027313232421875, 0.0166015625, 0.0225830078125, 0.000946044921875, 0.03662109375, 0.03271484375, 0.006805419921875, 0.005157470703125, 0.0240478515625, 0.031494140625, 0.000858306884765625, ...
[ 187791, 123166, 1745, 284, 9384, 351, 57964, 55970, 69941, 678, 1238, 3949, 3742, 8647, 23972, 77648, 198387, 563, 9902, 7049, 2947, 140992, 111, 12, 83, 237, 84751, 1284, 2174, 87, 159978, 10644, 70796, 152, 24209, 903, 4331, 44084, 54608,...
[ 0.18505859375, 0.1219482421875, 0.08697509765625, 0.09429931640625, 0.164306640625, 0.08935546875, 0.05169677734375, 0.1256103515625, 0.1282958984375, 0.009796142578125, 0.054931640625, 0.022735595703125, 0.121826171875, 0.180419921875, 0.021331787109375, 0.0753173828125, 0.128295898...
embed
21445382_c0
21445382
fsharp
0
Title: F# project silently updates my references Problem title: F# project silently updates my references Tags: f%23, project-reference, visual-studio-2012, visual-studio Problem: F# project silently updates my references I have an F# project in Visual Studio 2012 and I'm trying to reference a specific version of certa...
F# project silently updates my references F# project silently updates my references f%23 project-reference visual-studio-2012 visual-studio visual-studio-2012 F# project silently updates my references I have an F# project in Visual Studio 2012 and I'm trying to reference a specific version of certain assemblies. Howeve...
[ 0.0027313232421875, 0.0277099609375, 0.01434326171875, -0.0025634765625, 0.002777099609375, 0.0028228759765625, -0.0240478515625, 0.016357421875, -0.007293701171875, 0.019775390625, 0.0023193359375, 0.00384521484375, -0.017822265625, 0.019775390625, 0.037109375, -0.00811767578125, 0....
[ 563, 4904, 13452, 103967, 538, 114419, 759, 91067, 1238, 3949, 3742, 239879, 21176, 52629, 54458, 7, 23, 73372, 22968, 1324, 31577, 29458, 11389, 89845, 7121, 217684, 9969, 1340, 11675, 38415, 15549, 47, 3525, 56, 87388, 756, 15190, 4420, 7...
[ 0.1434326171875, 0.2186279296875, 0.1636962890625, 0.2208251953125, 0.04559326171875, 0.216796875, 0.061859130859375, 0.256591796875, 0.094970703125, 0.006195068359375, 0.08721923828125, 0.14208984375, 0.11962890625, 0.1195068359375, 0.1455078125, 0.0828857421875, 0.0168914794921875,...
embed
64243589_c0
64243589
fsharp
0
Title: Is Suave.io using a single thread for processing requests? Problem title: Is Suave.io using a single thread for processing requests? Tags: .net-core, suave, f%23 Problem: Is Suave.io using a single thread for processing requests? I know Suave.io is non-blocking but is it using single thread like Node.js? Is it s...
Is Suave.io using a single thread for processing requests? Is Suave.io using a single thread for processing requests? .net-core suave f%23 a Suave.io Suave FSharp.Data.GraphQL Is Suave.io using a single thread for processing requests? I know Suave.io is non-blocking but is it using single thread like Node.js? Is it sim...
[ -0.003692626953125, -0.01336669921875, -0.00323486328125, -0.002532958984375, -0.0145263671875, -0.005279541015625, 0.015869140625, -0.0040283203125, -0.007476806640625, -0.048583984375, -0.00102996826171875, -0.00537109375, -0.0002803802490234375, -0.01214599609375, -0.00689697265625, ...
[ 2071, 45384, 272, 5, 846, 17368, 11001, 86997, 100, 9433, 214, 50336, 7, 1179, 30854, 109829, 1238, 3949, 3742, 93774, 3467, 254, 137989, 37878, 11727, 2737, 866, 351, 81409, 1884, 438, 112, 28175, 21373, 1345, 5967, 141, 189050, 43701, 4...
[ 0.0777587890625, 0.26123046875, 0.295166015625, 0.097412109375, 0.27783203125, 0.1226806640625, 0.220458984375, 0.272705078125, 0.0450439453125, 0.1304931640625, 0.07330322265625, 0.1884765625, 0.000091552734375, 0.0980224609375, 0.146240234375, 0.31005859375, 0.044464111328125, 0....
embed
73311280_c0
73311280
fsharp
0
Title: Match expression vs pattern matching function Problem title: Match expression vs pattern matching function Tags: f%23, pattern-matching Problem: Match expression vs pattern matching function I'm trying to convert the following pattern matching function to a match expression: let reverse ls = let rec rev acc = fu...
Match expression vs pattern matching function Match expression vs pattern matching function f%23 pattern-matching Match Match expression vs pattern matching function I'm trying to convert the following pattern matching function to a match expression: When I attempt to convert to equivalent match expression type mismatc...
[ -0.00823974609375, 0.0216064453125, 0.01300048828125, -0.001251220703125, 0.0037841796875, -0.001434326171875, -0.012939453125, 0.0234375, 0.0189208984375, -0.003173828125, 0.021240234375, 0.006561279296875, 0.01708984375, -0.00921630859375, 0.0206298828125, 0.0164794921875, 0.005859...
[ 67407, 125195, 20209, 103510, 14858, 214, 32354, 1238, 3949, 3742, 98753, 31577, 96760, 70, 25632, 47, 10, 87, 81887, 183234, 10644, 1239, 18499, 74918, 104851, 140992, 100, 15044, 83 ]
[ 0.237060546875, 0.2484130859375, 0.1427001953125, 0.2147216796875, 0.2197265625, 0.1165771484375, 0.181396484375, 0.0794677734375, 0.076904296875, 0.142578125, 0.2098388671875, 0.06304931640625, 0.128662109375, 0.000091552734375, 0.06353759765625, 0.045989990234375, 0.005401611328125...
embed
22582669_c1
22582669
fsharp
1
to do. selectedFunction then should be the chosen transformation from fCreator. I'm quite new to F# so I might be overlooking something obvious but I perused several Q&As according to function caching in F#. But as far as I can see neither memoizing nor lazy evaluation will do what I'm looking for. I also tried to wri...
to do. selectedFunction then should be the chosen transformation from fCreator. I'm quite new to F# so I might be overlooking something obvious but I perused several Q&As according to function caching in F#. But as far as I can see neither memoizing nor lazy evaluation will do what I'm looking for. I also tried to wri...
[ 0.0010833740234375, -0.01080322265625, 0.01495361328125, -0.01953125, 0.0213623046875, -0.0242919921875, 0.015869140625, -0.0037994384765625, 0.0240478515625, 0.01422119140625, 0.0186767578125, -0.002044677734375, 0.0006866455078125, 0.0037078857421875, 0.0211181640625, -0.005615234375...
[ 47, 54, 133291, 97249, 10763, 5608, 186, 19667, 19, 167201, 1238, 63784, 4597, 563, 4904, 162520, 32354, 377, 59207, 237, 163, 432, 84382, 3285, 219836, 16487, 100, 37842, 33022, 2292, 1022, 14361, 159978, 959, 61475, 77336, 30646, 678, 70,...
[ 0.082763671875, 0.08203125, 0.219970703125, 0.1778564453125, 0.06793212890625, 0.0860595703125, 0.058074951171875, 0.1141357421875, 0.0235748291015625, 0.2230224609375, 0.1044921875, 0.1842041015625, 0.1824951171875, 0.078125, 0.162109375, 0.046905517578125, 0.1446533203125, 0.1096...
embed
14283622_c1
14283622
fsharp
1
much be there already, I'm just stating that in case it helps with giving me advice. Also, I would really like for this thing to be able to run on the CUDA-capable Tegra 4s that are supposed to come out this quarter (last I checked). This may or may not be something that can accurately be determined at this point, but...
much be there already, I'm just stating that in case it helps with giving me advice. Also, I would really like for this thing to be able to run on the CUDA-capable Tegra 4s that are supposed to come out this quarter (last I checked). This may or may not be something that can accurately be determined at this point, but...
[ 0.0059814453125, 0.0108642578125, 0.0032958984375, 0.006805419921875, -0.006561279296875, -0.01220703125, 0.0205078125, -0.0027923583984375, -0.005523681640625, -0.0028076171875, -0.01165771484375, -0.00323486328125, 0.01226806640625, 0.00201416015625, -0.018798828125, 0.0291748046875,...
[ 5045, 186, 2685, 21771, 13254, 7225, 112397, 163, 67660, 2806, 6183, 1884, 100, 903, 13580, 19048, 11675, 98, 313, 82302, 15644, 37566, 219, 201, 7, 134598, 1380, 1810, 128274, 12765, 152018, 83324, 207116, 22690, 120, 5739, 51796, 532, 452...
[ 0.123779296875, 0.09979248046875, 0.1170654296875, 0.12548828125, 0.044586181640625, 0.03887939453125, 0.07470703125, 0.00830078125, 0.1407470703125, 0.08001708984375, 0.05816650390625, 0.1259765625, 0.027587890625, 0.0855712890625, 0.1005859375, 0.095947265625, 0.1396484375, 0.058...
embed
29919941_c1
29919941
fsharp
1
This expression was expected to have type int but here has type string I also noticed that the signature for <+> changed based on what file it is in, but I don't know why the signature changed. The signature when it is in RailwayCombinator is: val ( <+> ) : switch1:('a -> Choice<'b,int>) -> switch2:('a -> Choice<'c,in...
This expression was expected to have type int but here has type string I also noticed that the signature for <+> changed based on what file it is in, but I don't know why the signature changed. The signature when it is in RailwayCombinator is: val ( <+> ) : switch1:('a -> Choice<'b,int>) -> switch2:('a -> Choice<'c,in...
[ -0.01556396484375, 0.005859375, 0.0174560546875, 0.048583984375, -0.0081787109375, 0.01055908203125, -0.01239013671875, 0.0034942626953125, 0.011962890625, 0.00026702880859375, 0.00140380859375, -0.0179443359375, 0.01385498046875, 0.000492095947265625, 0.004913330078125, -0.02014160156...
[ 125195, 84751, 10644, 23, 18, 1284, 3688, 1556, 79315, 156672, 138256, 1328, 2740, 98816, 35509, 11435, 3714, 15400, 3229, 85736, 7514, 10770, 19155, 1290, 83, 3502, 101089, 82825, 11, 181948, 275, 4288, 304, 238, 1022, 7663, 47, 91693, 70,...
[ 0.210205078125, 0.12109375, 0.1807861328125, 0.056396484375, 0.05108642578125, 0.00238037109375, 0.04315185546875, 0.027435302734375, 0.1746826171875, 0.0292205810546875, 0.2484130859375, 0.1893310546875, 0.047637939453125, 0.1697998046875, 0.07513427734375, 0.1854248046875, 0.030334...
embed
32466652_c0
32466652
fsharp
0
Title: How do I correctly return a sequence of classes with the query expression? Problem title: How do I correctly return a sequence of classes with the query expression? Tags: f%23, c%23-to-f%23 Problem: How do I correctly return a sequence of classes with the query expression? I am new to F# and having trouble trans...
How do I correctly return a sequence of classes with the query expression? How do I correctly return a sequence of classes with the query expression? f%23 c%23-to-f%23 How Model Year How do I correctly return a sequence of classes with the query expression? I am new to F# and having trouble translating some C# code. I ...
[ 0.01165771484375, 0.026611328125, -0.0091552734375, 0.007415771484375, -0.0026702880859375, 0.0098876953125, 0.006256103515625, 0.0157470703125, 0.003997802734375, -0.0296630859375, -0.02978515625, -0.0047607421875, -0.00811767578125, 0.010009765625, -0.01324462890625, -0.0034484863281...
[ 11249, 54, 87, 26785, 538, 30646, 10, 40, 944, 3956, 61112, 678, 41, 1294, 125195, 1238, 3742, 27495, 188, 420, 13293, 42552, 111, 47, 563, 4904, 63134, 3900, 143, 18151, 18507, 21373, 903, 50065, 2258, 2053, 1295, 63399 ]
[ 0.0670166015625, 0.0496826171875, 0.0426025390625, 0.1373291015625, 0.067138671875, 0.1929931640625, 0.001983642578125, 0.05291748046875, 0.12060546875, 0.076904296875, 0.221923828125, 0.11669921875, 0.111572265625, 0.1373291015625, 0.1712646484375, 0.05474853515625, 0.09765625, 0....
embed
42901373_c1
42901373
fsharp
1
would like to know if I can shorten it even further by getting rid of the "f" and "a", resulting in: let map4 = ...... (* Use only List.map2, List.map3, |>, |<, >>, <<, etc.*) .......... It will probably make it unnecessarily confusing, but it will be pretty cool. Thank you. EDIT: Adapting TheInnerLight's answer: let ...
would like to know if I can shorten it even further by getting rid of the "f" and "a", resulting in: let map4 = ...... (* Use only List.map2, List.map3, |>, |<, >>, <<, etc.*) .......... It will probably make it unnecessarily confusing, but it will be pretty cool. Thank you. EDIT: Adapting TheInnerLight's answer: let ...
[ -0.0162353515625, 0.0269775390625, 0.0087890625, 0.00909423828125, -0.016357421875, -0.005401611328125, 0.0052490234375, -0.000518798828125, 0.0291748046875, -0.01080322265625, -0.0034637451171875, -0.0128173828125, 0.00823974609375, 0.01031494140625, -0.005615234375, -0.0166015625, ...
[ 2806, 1884, 3714, 2174, 87, 831, 16610, 33, 442, 3853, 53333, 390, 20949, 31351, 111, 70, 420, 58, 136, 11, 16750, 2633, 22288, 617, 2203, 30147, 75402, 36836, 4734, 32036, 5, 62346, 304, 363, 6, 4, 58745, 16093, 6396, 56473, 31895, 5...
[ 0.040985107421875, 0.049774169921875, 0.052276611328125, 0.02716064453125, 0.05224609375, 0.08251953125, 0.2371826171875, 0.199462890625, 0.1619873046875, 0.037506103515625, 0.09649658203125, 0.0214996337890625, 0.0784912109375, 0.1251220703125, 0.017486572265625, 0.02313232421875, 0...
embed
43103295_c0
43103295
fsharp
0
Title: F# exists where function? Problem title: F# exists where function? Tags: where-clause, f%23, exists Problem: F# exists where function? I have a function processing a DataTable looking for any row that has a column with a certain value. It looks like this: let exists = let mutable e = false for row in dt.Rows do ...
F# exists where function? F# exists where function? where-clause f%23 exists dt.Rows Status F# exists where function? I have a function processing a DataTable looking for any row that has a column with a certain value. It looks like this: I'm wondering if there is a way to do this in a single expression. For example, P...
[ 0.0277099609375, 0.00579833984375, 0.018798828125, 0.007659912109375, 0.0029296875, -0.00567626953125, 0.029296875, 0.0081787109375, 0.0024871826171875, 0.002227783203125, 0.006622314453125, 0.01458740234375, -0.00726318359375, -0.0172119140625, 0.0029296875, 0.0067138671875, 0.00207...
[ 563, 4904, 32316, 7, 7440, 32354, 32, 18347, 4032, 1238, 3949, 3742, 18, 12724, 19725, 56504, 9433, 11809, 618, 2886, 16487, 100, 2499, 15555, 450, 1556, 3365, 316, 678, 24233, 34292, 33342, 1884, 149016, 3917, 54, 903, 23, 11001, 125195,...
[ 0.191650390625, 0.2398681640625, 0.264892578125, 0.1328125, 0.239013671875, 0.24609375, 0.0251007080078125, 0.06915283203125, 0.043701171875, 0.1221923828125, 0.0062255859375, 0.1461181640625, 0.0433349609375, 0.1234130859375, 0.096435546875, 0.1640625, 0.0897216796875, 0.087158203...
embed
49237905_c0
49237905
fsharp
0
Title: How to sequence a query in F#? Problem title: How to sequence a query in F#? Tags: casting, f%23, sequence Problem: How to sequence a query in F#? So I have a query like this one let query = query { for person in people do select person } And I'd like to have it sequenced . let sequence : seq<Person> = query But...
How to sequence a query in F#? How to sequence a query in F#? casting f%23 sequence How Person seq.ofList ToList Generic.List How to sequence a query in F#? So I have a query like this one And I'd like to have it sequenced . But I can't find any information on how to do it, maybe I've become bad at using search engines...
[ 0.0252685546875, 0.039306640625, 0.0068359375, 0.0257568359375, 0.003265380859375, -0.0174560546875, -0.0150146484375, 0.021240234375, -0.00095367431640625, -0.059326171875, -0.00823974609375, 0.0201416015625, 0.003082275390625, 0.0224609375, -0.001220703125, -0.0106201171875, -0.018...
[ 11249, 47, 40, 944, 3956, 10, 41, 1294, 23, 563, 4904, 32, 176050, 1238, 3949, 3742, 15270, 864, 4390, 154663, 717, 88342, 765, 1884, 903, 1632, 71, 442, 26513, 37534, 6, 4677, 3642, 54, 51139, 24209, 6494, 33938, 87907, 241957, 10644, ...
[ 0.0926513671875, 0.0880126953125, 0.1297607421875, 0.197021484375, 0.1700439453125, 0.05584716796875, 0.166748046875, 0.1649169921875, 0.090087890625, 0.1663818359375, 0.22314453125, 0.0268402099609375, 0.14208984375, 0.102783203125, 0.0509033203125, 0.1239013671875, 0.11962890625, ...
embed
52133354_c1
52133354
fsharp
1
want/expect, I think. However, I still get the following error: parse error FS3053: error : The type provider constructor has thrown an exception: Could not load file or assembly 'Colorful.Console, Version=1.2.9.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specif...
want/expect, I think. However, I still get the following error: parse error FS3053: error : The type provider constructor has thrown an exception: Could not load file or assembly 'Colorful.Console, Version=1.2.9.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specif...
[ -0.00714111328125, 0.005523681640625, -0.01953125, 0.0223388671875, -0.005950927734375, 0.00958251953125, 0.00506591796875, -0.01324462890625, -0.001312255859375, -0.0014495849609375, 0.0128173828125, -0.0113525390625, 0.0206298828125, -0.006988525390625, 0.0166015625, -0.0058898925781...
[ 3444, 64, 83613, 24762, 5351, 33306, 87, 7464, 25632, 18499, 366, 184, 93774, 1197, 14226, 10644, 81450, 64549, 748, 1556, 104250, 131527, 191147, 959, 72367, 11435, 707, 89845, 10625, 1484, 7844, 5, 11935, 40777, 40647, 48400, 38331, 2389, ...
[ 0.2117919921875, 0.0753173828125, 0.140625, 0.1746826171875, 0.1610107421875, 0.0152130126953125, 0.00726318359375, 0.1036376953125, 0.0750732421875, 0.1820068359375, 0.1312255859375, 0.1302490234375, 0.16455078125, 0.1427001953125, 0.23193359375, 0.22705078125, 0.2230224609375, 0....
embed
2054293_c0
2054293
fsharp
0
Title: fslex lexing javascript regular expressions Problem title: fslex lexing javascript regular expressions Tags: f%23, fsyacc Problem: fslex lexing javascript regular expressions I am attempting to lex javascript regular exression literals. These start with a "/" and end with a "/" (and sometimes some other modifier...
fslex lexing javascript regular expressions fslex lexing javascript regular expressions f%23 fsyacc fslex lexing javascript regular expressions I am attempting to lex javascript regular exression literals. These start with a "/" and end with a "/" (and sometimes some other modifiers). The issue is that the only way to ...
[ -0.00628662109375, 0.01611328125, -0.000583648681640625, -0.0030059814453125, -0.006256103515625, 0.0198974609375, 0.0087890625, 0.023193359375, 0.006256103515625, -0.043212890625, 0.033447265625, 0.036376953125, -0.00787353515625, -0.0159912109375, 0.01806640625, 0.0040283203125, -0...
[ 1238, 7, 74070, 75675, 214, 136951, 20324, 125195, 3949, 3742, 19834, 10060, 81887, 1119, 2109, 6889, 15659, 16765, 4034, 64, 3564, 68018, 158254, 31089, 4734, 3917, 47, 83324, 36766, 83, 10, 237, 233, 144429, 91853, 39933, 16454, 84694, 96...
[ 0.08099365234375, 0.033935546875, 0.226318359375, 0.162841796875, 0.07635498046875, 0.263671875, 0.2269287109375, 0.24560546875, 0.052581787109375, 0.164794921875, 0.039215087890625, 0.05145263671875, 0.057403564453125, 0.05059814453125, 0.1207275390625, 0.05902099609375, 0.145629882...
embed
5031299_c0
5031299
fsharp
0
Title: Currying a function to get another function: unit -&gt; &#x27;a Problem title: Currying a function to get another function: unit -&gt; &#x27;a Tags: f%23, currying, function Problem: Currying a function to get another function: unit -> 'a Given a higher-order function like the following: let call (f : unit -> 'a...
Currying a function to get another function: unit -&gt; &#x27;a Currying a function to get another function: unit -&gt; &#x27;a f%23 currying function Currying Currying a function to get another function: unit -> 'a Given a higher-order function like the following: And another function: Is there a way to pass incr to c...
[ 0.00323486328125, 0.006683349609375, 0.0218505859375, 0.0081787109375, 0.002655029296875, -0.00482177734375, 0.007598876953125, -0.0262451171875, 0.017578125, -0.0196533203125, 0.00177001953125, -0.0023345947265625, -0.034423828125, -0.006256103515625, 0.00885009765625, -0.0302734375, ...
[ 17065, 1294, 214, 32354, 47, 2046, 15700, 25072, 20, 1230, 5386, 3768, 11, 1238, 3742, 198555, 33079, 242, 77546, 80596, 25632, 10, 3917, 27875, 23, 23150, 11782, 15490, 17368, 21, 6492, 85, 16498, 4879, 452, 6953, 38893, 42, 959, 4488, ...
[ 0.161376953125, 0.2037353515625, 0.1241455078125, 0.238525390625, 0.0916748046875, 0.07861328125, 0.081787109375, 0.2265625, 0.007049560546875, 0.012847900390625, 0.140380859375, 0.07421875, 0.154052734375, 0.03741455078125, 0.07000732421875, 0.31396484375, 0.1221923828125, 0.07995...
embed
46121687_c0
46121687
fsharp
0
Title: Return an exception with the Result type Problem title: Return an exception with the Result type Tags: f%23 Problem: Return an exception with the Result type I'm trying use the errors that F# has by default: the exceptions. I want handle the errors with the Result type, but if I try return a specialization of Ex...
Return an exception with the Result type Return an exception with the Result type f%23 ArgumentException Result Exception Error Return an exception with the Result type I'm trying use the errors that F# has by default: the exceptions. I want handle the errors with the Result type, but if I try return a specialization o...
[ -0.004669189453125, 0.032958984375, -0.0042724609375, -0.0267333984375, 0.034423828125, -0.0079345703125, 0.00445556640625, -0.0269775390625, 0.004638671875, -0.01141357421875, 0.0093994140625, -0.00750732421875, -0.005889892578125, 0.002655029296875, 0.02587890625, -0.003875732421875,...
[ 173340, 142, 131527, 678, 126684, 10644, 1238, 3949, 3742, 112140, 19279, 63928, 5443, 212059, 31577, 4527, 18499, 563, 4904, 1556, 390, 114977, 7, 3444, 34831, 9790, 30646, 5361, 47691, 237, 73372, 22968, 17378, 100231, 32354, 51776, 5792, 5...
[ 0.1868896484375, 0.03192138671875, 0.2464599609375, 0.0877685546875, 0.234375, 0.20458984375, 0.087158203125, 0.049163818359375, 0.150634765625, 0.219970703125, 0.062744140625, 0.212158203125, 0.114501953125, 0.1229248046875, 0.0325927734375, 0.05767822265625, 0.1689453125, 0.08850...
embed
58001389_c0
58001389
fsharp
0
Title: Updated FSharp.Data and now getting an error on the build server Problem title: Updated FSharp.Data and now getting an error on the build server Tags: f%23-data, f%23 Problem: Updated FSharp.Data and now getting an error on the build server I have a FSharp project that uses FSharp.Data. I upgraded the project to...
Updated FSharp.Data and now getting an error on the build server Updated FSharp.Data and now getting an error on the build server f%23-data f%23 Updated FSharp.Data Updated FSharp.Data and now getting an error on the build server I have a FSharp project that uses FSharp.Data. I upgraded the project to point to .NET Fra...
[ 0.0067138671875, 0.0294189453125, -0.00469970703125, 0.01220703125, 0.0030517578125, 0.0030975341796875, -0.0040283203125, 0.0162353515625, -0.010986328125, -0.0037078857421875, 0.0059814453125, -0.0322265625, 0.0181884765625, -0.00775146484375, 0.0093994140625, 0.0146484375, 0.00964...
[ 28641, 71, 93774, 3467, 254, 5, 137989, 136, 5036, 20949, 18499, 98, 45367, 10723, 1238, 167218, 27495, 10135, 3949, 3742, 13452, 4527, 116086, 70, 47, 6275, 6, 17777, 202220, 1398, 178121, 50886, 129884, 43240, 5885, 4000, 44160, 32196, 12...
[ 0.1705322265625, 0.07855224609375, 0.126953125, 0.223388671875, 0.2410888671875, 0.03826904296875, 0.202880859375, 0.00323486328125, 0.06640625, 0.03997802734375, 0.1839599609375, 0.0623779296875, 0.171142578125, 0.1741943359375, 0.0625, 0.04510498046875, 0.08349609375, 0.133422851...
embed
63590474_c1
63590474
fsharp
1
stage } -> Some (stage, name) | _ -> None // This is the syntax I'm looking for: let tryGetStageAndName2 (a: IA option) = match a with // notice Some (:? A as a) -> is perfectly valid | Some (:? A ({ name = (Some name); stage = stage }) -> Some (stage, name) | _ -> None I also want to clarify, my question is about F# ...
stage } -> Some (stage, name) | _ -> None // This is the syntax I'm looking for: let tryGetStageAndName2 (a: IA option) = match a with // notice Some (:? A as a) -> is perfectly valid | Some (:? A ({ name = (Some name); stage = stage }) -> Some (stage, name) | _ -> None I also want to clarify, my question is about F# ...
[ -0.017333984375, 0.007293701171875, -0.0029449462890625, 0.00567626953125, -0.00653076171875, -0.0255126953125, -0.0234375, -0.000400543212890625, 0.005584716796875, 0.0263671875, 0.023681640625, 0.01177978515625, -0.01904296875, 0.01153564453125, 0.01043701171875, 0.01141357421875, ...
[ 36541, 51912, 33079, 31384, 7, 16852, 9351, 101, 438, 86, 3293, 6002, 86531, 16487, 100, 2633, 9790, 724, 126, 294, 37839, 163612, 304, 11, 87, 284, 35829, 16, 14858, 10, 678, 60322, 62, 237, 169123, 35604, 58745, 32, 8912, 2203, 17306,...
[ 0.249267578125, 0.06591796875, 0.042633056640625, 0.13330078125, 0.044036865234375, 0.223876953125, 0.166015625, 0.03582763671875, 0.040985107421875, 0.035888671875, 0.001708984375, 0.13330078125, 0.22216796875, 0.049468994140625, 0.035125732421875, 0.0052490234375, 0.10150146484375,...
embed
1792879_c0
1792879
fsharp
0
Title: F# function with polymorphic (in the OO sense) return type Problem title: F# function with polymorphic (in the OO sense) return type Tags: f%23 Problem: F# function with polymorphic (in the OO sense) return type Is it possible to have a function return multiple types as long as they share a common base class, wi...
F# function with polymorphic (in the OO sense) return type F# function with polymorphic (in the OO sense) return type f%23 AbstractClass x.Do Error F# function with polymorphic (in the OO sense) return type Is it possible to have a function return multiple types as long as they share a common base class, without castin...
[ 0.01190185546875, -0.0054931640625, 0.01043701171875, -0.004241943359375, 0.005828857421875, -0.00286865234375, -0.000484466552734375, 0.00122833251953125, 0.00543212890625, -0.002410888671875, 0.0272216796875, -0.0234375, 0.00592041015625, 0.00439453125, 0.005767822265625, -0.02368164...
[ 563, 4904, 32354, 678, 35874, 178851, 1771, 30563, 10422, 30646, 10644, 6, 1238, 3949, 3742, 233973, 140803, 1022, 8331, 212059, 2071, 442, 7722, 47, 765, 48716, 52895, 4989, 12008, 10, 39210, 3647, 18507, 15490, 176050, 12638, 34292 ]
[ 0.111328125, 0.194091796875, 0.2105712890625, 0.09619140625, 0.184326171875, 0.205810546875, 0.0538330078125, 0.1539306640625, 0.056396484375, 0.1864013671875, 0.185546875, 0.0076904296875, 0.061737060546875, 0.0252685546875, 0.1182861328125, 0.175537109375, 0.08154296875, 0.043395...
embed
27360935_c0
27360935
fsharp
0
Title: Embed workflow/monad in another workflow/monad? Problem title: Embed workflow/monad in another workflow/monad? Tags: computation-expression, f%23 Problem: Embed workflow/monad in another workflow/monad? For example, I have a workflow for logging, and I want to use async in the logging workflow. How to call loggi...
Embed workflow/monad in another workflow/monad? Embed workflow/monad in another workflow/monad? computation-expression f%23 Embed Need Embed workflow/monad in another workflow/monad? For example, I have a workflow for logging, and I want to use async in the logging workflow. How to call logging's bind in async workflow...
[ -0.01483154296875, 0.0087890625, -0.0062255859375, 0.01007080078125, 0.0034942626953125, 0.01251220703125, -0.01019287109375, -0.004669189453125, 0.010986328125, -0.043212890625, 0.00555419921875, -0.00543212890625, -0.020751953125, 0.02490234375, -0.003326416015625, -0.0115966796875, ...
[ 2775, 13482, 4488, 118664, 3796, 712, 23, 15700, 181135, 204629, 1238, 3742, 52889, 459, 36659, 3444, 4527, 10, 12654, 238, 11249, 11782, 68557, 49782, 4127, 6528, 91995, 62, 20880, 41421, 314, 19514, 50509, 60042, 563, 4904, 34831, 55720, ...
[ 0.0904541015625, 0.2484130859375, 0.108642578125, 0.259521484375, 0.10400390625, 0.2139892578125, 0.09405517578125, 0.117919921875, 0.10687255859375, 0.1580810546875, 0.007232666015625, 0.033477783203125, 0.0753173828125, 0.09771728515625, 0.15771484375, 0.03094482421875, 0.072753906...
embed
42795778_c0
42795778
fsharp
0
Title: F# Trying to access ConfigurationManager Problem title: F# Trying to access ConfigurationManager Tags: f%23, configurationmanager Problem: F# Trying to access ConfigurationManager I'm building a small project to understand F# better. As part of it, I want a function "myAppSettings" that uses System.Configuration...
F# Trying to access ConfigurationManager F# Trying to access ConfigurationManager f%23 configurationmanager Trying ConfigurationManager foo.bar System System.Configuration ConfigurationManager.AppSettings String.IsNullOrEmpty F# Trying to access ConfigurationManager I'm building a small project to understand F# better....
[ -0.0220947265625, 0.00194549560546875, 0.00213623046875, 0.007110595703125, 0.0012969970703125, 0.020263671875, 0.020263671875, -0.017822265625, 0.01019287109375, -0.00592041015625, 0.009033203125, 0.0198974609375, 0.006561279296875, -0.0028076171875, 0.01416015625, -0.028564453125, ...
[ 563, 4904, 40858, 17203, 1657, 59994, 2320, 12662, 33730, 1238, 3742, 180346, 141395, 5775, 31, 1299, 12353, 39179, 105548, 23351, 29598, 18444, 1181, 19060, 134332, 939, 13452, 28219, 3444, 32354, 1176, 4527, 11935, 5, 12301, 53550, 5659, 15...
[ 0.1319580078125, 0.18115234375, 0.08319091796875, 0.125732421875, 0.03564453125, 0.1937255859375, 0.0142822265625, 0.1446533203125, 0.14111328125, 0.04248046875, 0.11962890625, 0.1939697265625, 0.1961669921875, 0.1087646484375, 0.062103271484375, 0.14794921875, 0.11669921875, 0.124...
embed
4887006_c0
4887006
fsharp
0
Title: Storing data structure in a MySql database using F# Problem title: Storing data structure in a MySql database using F# Tags: .net, f%23, mysql Problem: Storing data structure in a MySql database using F# I need to store large and complex data structure in a MySql database (I use F#). Right now I had two ideas: U...
Storing data structure in a MySql database using F# Storing data structure in a MySql database using F# .net f%23 mysql F# Storing MySql Storing data structure in a MySql database using F# I need to store large and complex data structure in a MySql database (I use F#). Right now I had two ideas: Using only structs (lim...
[ 0.00860595703125, 0.01422119140625, 0.007781982421875, 0.02197265625, -0.00007200241088867188, 0.0167236328125, -0.0167236328125, -0.01092529296875, -0.007354736328125, -0.0174560546875, 0.01361083984375, 0.0098876953125, -0.0020599365234375, -0.0089111328125, -0.00701904296875, -0.006...
[ 23604, 2053, 45646, 2646, 294, 99247, 63399, 17368, 563, 4904, 1179, 1238, 3742, 759, 214, 23, 3871, 4343, 21334, 136, 27140, 4527, 6626, 25647, 345, 4734, 36716, 93343, 28282, 24, 4935, 6328, 42, 96760, 72367, 756, 390, 29695, 275, 53295...
[ 0.1761474609375, 0.0933837890625, 0.252685546875, 0.163330078125, 0.067138671875, 0.203857421875, 0.1593017578125, 0.054351806640625, 0.1402587890625, 0.214599609375, 0.10888671875, 0.02996826171875, 0.052764892578125, 0.099853515625, 0.00555419921875, 0.031280517578125, 0.0433654785...
embed
62961342_c0
62961342
fsharp
0
Title: How can I get two lists, each containing the names of the required and optional properties of an F# record? Problem title: How can I get two lists, each containing the names of the required and optional properties of an F# record? Tags: .net, f%23, properties, record, reflection Problem: How can I get two lists,...
How can I get two lists, each containing the names of the required and optional properties of an F# record? How can I get two lists, each containing the names of the required and optional properties of an F# record? .net f%23 properties record reflection How MyType Name Description How can I get two lists, each contain...
[ 0.01141357421875, 0.0022430419921875, 0.01025390625, 0.017822265625, -0.023193359375, 0.00811767578125, -0.00872802734375, -0.01708984375, 0.006591796875, 0.024169921875, 0.0120849609375, 0.011962890625, -0.00677490234375, -0.00005650520324707031, -0.00173187255859375, 0.00389099121093...
[ 11249, 831, 2046, 6626, 5303, 7, 12638, 70541, 123055, 56065, 136, 35829, 289, 183871, 563, 4904, 17164, 1179, 1238, 3949, 3742, 44961, 1830, 2646, 196707, 15757, 70643, 87, 54877, 10644, 1884, 10298, 4778, 1632, 903 ]
[ 0.0411376953125, 0.0634765625, 0.115966796875, 0.1942138671875, 0.2186279296875, 0.05133056640625, 0.0577392578125, 0.10308837890625, 0.1171875, 0.20849609375, 0.1292724609375, 0.1900634765625, 0.102783203125, 0.2113037109375, 0.1119384765625, 0.1844482421875, 0.1845703125, 0.13122...
embed
15373485_c0
15373485
fsharp
0
Title: Strange (?) type mismatch error in this function Problem title: Strange (?) type mismatch error in this function Tags: f%23 Problem: Strange (?) type mismatch error in this function Can someone explain why compiler is giving me this error Type mismatch. Expecting a 'a [] -> string but given a 'a [] -> 'a [] The ...
Strange (?) type mismatch error in this function Strange (?) type mismatch error in this function f%23 Strange Array.permute s.Length-1 i-1 Strange (?) type mismatch error in this function Can someone explain why compiler is giving me this error on this code snippet: while the one below compiles just fine:
[ -0.01123046875, 0.01092529296875, 0.008544921875, 0.01123046875, -0.011962890625, -0.0208740234375, -0.02880859375, 0.0072021484375, 0.00927734375, 0.0089111328125, 0.00714111328125, 0.033935546875, 0.01495361328125, -0.01055908203125, -0.0267333984375, -0.01177978515625, 0.001556396...
[ 187791, 70361, 10644, 1239, 98753, 18499, 23, 903, 32354, 1238, 3949, 3742, 69253, 53, 1264, 561, 67, 91, 5267, 449, 927, 5759, 17, 22008, 73342, 15400, 9969, 34759, 83, 68772, 163, 98, 18151, 93, 58134, 12960, 70, 35064, 1340, 7, 1660,...
[ 0.2369384765625, 0.1431884765625, 0.2099609375, 0.131103515625, 0.274169921875, 0.1796875, 0.055908203125, 0.0909423828125, 0.160888671875, 0.1016845703125, 0.07879638671875, 0.165771484375, 0.1571044921875, 0.1109619140625, 0.059173583984375, 0.1728515625, 0.0926513671875, 0.11413...
embed
14816059_c0
14816059
fsharp
0
Title: Custom function for looking up tags Problem title: Custom function for looking up tags Tags: f%23, vim Problem: Custom function for looking up tags Can I hook into the mechanism that Vim uses to look up a definition when I press Ctrl+]? The documentation seems to assume that I have a tags file set up. I'd like t...
Custom function for looking up tags Custom function for looking up tags f%23 vim Custom Custom function for looking up tags Can I hook into the mechanism that Vim uses to look up a definition when I press Ctrl+]? The documentation seems to assume that I have a tags file set up. I'd like to provide something like: given...
[ 0.023681640625, -0.009765625, 0.0223388671875, -0.0255126953125, 0.0081787109375, 0.024169921875, -0.005889892578125, -0.00092315673828125, -0.00145721435546875, -0.03271484375, 0.010498046875, 0.00457763671875, -0.036376953125, -0.012451171875, 0.0003108978271484375, 0.0123291015625, ...
[ 130664, 32354, 100, 16487, 1257, 69141, 1238, 3949, 3742, 119916, 4171, 87, 150522, 3934, 191619, 582, 39, 4527, 6713, 80934, 3229, 24234, 68847, 1328, 268, 209806, 37202, 41591, 11435, 5423, 1884, 22691, 34475, 13315, 3365, 316, 43581, 373, ...
[ 0.201171875, 0.185302734375, 0.035797119140625, 0.1260986328125, 0.172119140625, 0.257080078125, 0.047332763671875, 0.039794921875, 0.1502685546875, 0.21923828125, 0.0521240234375, 0.010009765625, 0.164306640625, 0.051849365234375, 0.1895751953125, 0.18408203125, 0.1815185546875, 0...
embed
30267277_c0
30267277
fsharp
0
Title: DataPicker&#x27;s localization in WebSharper.JQueryUI Problem title: DataPicker&#x27;s localization in WebSharper.JQueryUI Tags: jquery-ui, websharper, jquery-ui-datepicker, f%23 Problem: DataPicker's localization in WebSharper.JQueryUI It is known that Datepicker of jQuery UI provides support for localizing its...
DataPicker&#x27;s localization in WebSharper.JQueryUI DataPicker&#x27;s localization in WebSharper.JQueryUI jquery-ui websharper jquery-ui-datepicker f%23 DataPicker WebSharper.JQueryUI datepicker.regional DataPicker's localization in WebSharper.JQueryUI It is known that Datepicker of jQuery UI provides support for loc...
[ -0.00482177734375, 0.0059814453125, -0.0262451171875, -0.012939453125, -0.0037994384765625, -0.016357421875, -0.009033203125, 0.002899169921875, -0.0016021728515625, -0.01611328125, -0.0106201171875, -0.00823974609375, 0.00970458984375, -0.010986328125, 0.0020294189453125, -0.013061523...
[ 11809, 29348, 11050, 3768, 4000, 47691, 23, 4002, 3467, 1264, 1375, 41732, 1294, 33457, 1647, 944, 4515, 1467, 89280, 17489, 1434, 5622, 80938, 51529, 25512, 231129, 111481, 87344, 8060, 100, 84382, 10941, 47, 377, 12921, 46876, 9384, 14192, ...
[ 0.1102294921875, 0.1976318359375, 0.2103271484375, 0.0938720703125, 0.18603515625, 0.0889892578125, 0.06170654296875, 0.0648193359375, 0.1702880859375, 0.1788330078125, 0.048553466796875, 0.071044921875, 0.047393798828125, 0.1695556640625, 0.00946044921875, 0.05499267578125, 0.104125...
embed
4782891_c0
4782891
fsharp
0
Title: System.ArithmeticException not thrown in F# Problem title: System.ArithmeticException not thrown in F# Tags: exception, infinity, nan, f%23, .net Problem: System.ArithmeticException not thrown in F# Consider the following code let a = 5. / 0. let b = sin a let c = sqrt(-5.) It produces both Infinity and NaN. In ...
System.ArithmeticException not thrown in F# System.ArithmeticException not thrown in F# exception infinity nan f%23 .net System.ArithmeticException System.ArithmeticException not thrown in F# Consider the following code It produces both Infinity and NaN. In both cases I want to have an exception thrown (for debuging pu...
[ 0.00958251953125, 0.00013828277587890625, -0.007171630859375, -0.021484375, 0.008056640625, -0.00775146484375, 0.01446533203125, 0.0206298828125, -0.0196533203125, 0.005401611328125, -0.0022735595703125, 0.031982421875, 0.0006103515625, -0.0142822265625, 0.026123046875, -0.021118164062...
[ 12353, 7614, 8962, 282, 9523, 19279, 63928, 959, 104250, 19, 23, 563, 4904, 131527, 54241, 53, 25990, 1238, 3949, 3742, 1179, 137399, 25632, 18151, 27489, 15044, 134322, 136, 353, 839, 3444, 8, 978, 60042, 4527, 73372, 22968, 15431, 5423, ...
[ 0.1170654296875, 0.037261962890625, 0.1451416015625, 0.1099853515625, 0.0400390625, 0.0684814453125, 0.208984375, 0.0792236328125, 0.1954345703125, 0.0640869140625, 0.06787109375, 0.1314697265625, 0.1895751953125, 0.2042236328125, 0.139404296875, 0.0963134765625, 0.1748046875, 0.07...
embed
67248190_c0
67248190
fsharp
0
Title: How to sort slice of an array in-place in F# Problem title: How to sort slice of an array in-place in F# Tags: sorting, slice, f%23 Problem: How to sort slice of an array in-place in F# I want to sort a slice of an array, but the following code doesn't work as expected: let arr = [|2; 8; 4; 1|] Array.sortInPlace...
How to sort slice of an array in-place in F# How to sort slice of an array in-place in F# sorting slice f%23 How Array.sortInPlace arr2 Expected How to sort slice of an array in-place in F# I want to sort a slice of an array, but the following code doesn't work as expected: The mutable keyword has no effect one way or ...
[ 0.006988525390625, 0.0185546875, 0.01275634765625, -0.0238037109375, -0.0125732421875, 0.00592041015625, -0.00933837890625, -0.00390625, 0.005615234375, 0.0133056640625, -0.0027923583984375, 0.039794921875, -0.005096435546875, 0.00909423828125, 0.0233154296875, -0.01556396484375, -0....
[ 11249, 47, 12096, 91, 13348, 111, 10298, 53, 23, 23935, 563, 4904, 1238, 3742, 69253, 62351, 4153, 143, 304, 60075, 13, 3444, 18151, 18, 4488, 84751, 842, 22819, 166117, 110, 21543, 3917, 62005, 40059 ]
[ 0.0367431640625, 0.0178985595703125, 0.226318359375, 0.06365966796875, 0.2052001953125, 0.0570068359375, 0.129150390625, 0.1080322265625, 0.07098388671875, 0.1517333984375, 0.1318359375, 0.192626953125, 0.05474853515625, 0.0748291015625, 0.084716796875, 0.164306640625, 0.027038574218...
embed
40503452_c0
40503452
fsharp
0
Title: Strange FSharpLint warning Problem title: Strange FSharpLint warning Tags: f%23 Problem: Strange FSharpLint warning I am trying to reimplement the List.distinct function: let inline distinct list = let folder curr = function | [] -> [curr] | l -> if List.contains curr l then l else curr :: l List.foldBack folder...
Strange FSharpLint warning Strange FSharpLint warning f%23 Strange FSharpLint List.distinct List.contains List.foldBack Strange FSharpLint warning I am trying to reimplement the List.distinct function: I got a lint warning that says However that doesn't make much sense to me as this leads me to return the original list...
[ -0.01507568359375, 0.00848388671875, 0.00762939453125, -0.016357421875, -0.0103759765625, 0.00103759765625, -0.0147705078125, 0.01300048828125, 0.008544921875, -0.0220947265625, 0.01446533203125, 0.0174560546875, 0.02001953125, 0.0118408203125, 0.000919342041015625, 0.01171875, 0.003...
[ 187791, 93774, 3467, 254, 866, 4288, 1631, 592, 1238, 3949, 3742, 32036, 46295, 38893, 98102, 42822, 152470, 31577, 456, 197648, 18, 32354, 11508, 17378, 5045, 10422, 30646, 7311, 5303, 15490, 51339, 117781, 62775, 54608 ]
[ 0.1749267578125, 0.103271484375, 0.1605224609375, 0.107666015625, 0.160888671875, 0.2298583984375, 0.1419677734375, 0.069580078125, 0.05352783203125, 0.0733642578125, 0.1336669921875, 0.16796875, 0.047393798828125, 0.1275634765625, 0.07989501953125, 0.1400146484375, 0.18505859375, ...
embed
40711919_c1
40711919
fsharp
1
Val - H * xp) this.P <- Pp - this.K * H * Pp end let n = 100 let obsv = [|for i in 0 .. n do yield 0.|] let smv = [|for i in 0 .. n do yield 0.|] let kal = new ScalarKalman(1., 1., 0., 5.) kal.P <- 4. kal.X <- 6. for i in 0 .. n do obsv.[i] <- Normal.Sample(10., 5.) kal.update(obsv.[i]) smv.[i] <- kal.X Chart.Combine([...
Val - H * xp) this.P <- Pp - this.K * H * Pp end let n = 100 let obsv = [|for i in 0 .. n do yield 0.|] let smv = [|for i in 0 .. n do yield 0.|] let kal = new ScalarKalman(1., 1., 0., 5.) kal.P <- 4. kal.X <- 6. for i in 0 .. n do obsv.[i] <- Normal.Sample(10., 5.) kal.update(obsv.[i]) smv.[i] <- kal.X Chart.Combine([...
[ -0.0031890869140625, 0.034423828125, 0.01177978515625, -0.01409912109375, -0.00141143798828125, 0.0101318359375, 0.002838134765625, 0.01068115234375, -0.004241943359375, -0.0164794921875, 0.00982666015625, 0.0096435546875, -0.0013885498046875, -0.0267333984375, -0.017333984375, 0.00364...
[ 4769, 20, 572, 661, 1022, 254, 903, 5, 683, 9, 436, 605, 3564, 2633, 653, 2203, 805, 995, 67756, 2472, 17, 23, 757, 1468, 54, 11180, 19388, 14050, 334, 4215, 3525, 81543, 320, 79573, 669, 1892, 1398, 1542, 2289, 28723, 33209, 90980, ...
[ 0.2509765625, 0.06817626953125, 0.173828125, 0.041473388671875, 0.07501220703125, 0.124267578125, 0.212890625, 0.0189208984375, 0.111328125, 0.0242767333984375, 0.040740966796875, 0.052978515625, 0.1082763671875, 0.08984375, 0.07330322265625, 0.038909912109375, 0.1767578125, 0.1586...
embed
23688905_c0
23688905
fsharp
0
Title: Purpose of tick (apostrophe) in F# value names? Problem title: Purpose of tick (apostrophe) in F# value names? Tags: f%23 Problem: Purpose of tick (apostrophe) in F# value names? I'm going through a tutorial on Function Composition, and I keep seeing the ' operator used at the end of a value declaration. I know ...
Purpose of tick (apostrophe) in F# value names? Purpose of tick (apostrophe) in F# value names? f%23 Purpose Purpose of tick (apostrophe) in F# value names? I'm going through a tutorial on Function Composition, and I keep seeing the ' operator used at the end of a value declaration. I know that it means a generic when ...
[ 0.0216064453125, -0.00762939453125, 0.0283203125, -0.007568359375, -0.007659912109375, 0.0031280517578125, -0.00799560546875, 0.00128936767578125, 0.00518798828125, 0.0074462890625, 0.0045166015625, -0.00138092041015625, -0.005706787109375, -0.004150390625, -0.0159912109375, -0.0050354...
[ 16915, 78381, 111, 1053, 2594, 17121, 29813, 1106, 23, 563, 4904, 34292, 123055, 1238, 3949, 3742, 57143, 28670, 10763, 3288, 40322, 86681, 242, 39933, 11814, 3564, 21635, 442, 26950, 189534, 107671, 171859, 29459, 1957, 1884, 831, 70, 83, ...
[ 0.19970703125, 0.1781005859375, 0.060546875, 0.2225341796875, 0.2242431640625, 0.092529296875, 0.1314697265625, 0.1904296875, 0.03643798828125, 0.1226806640625, 0.218017578125, 0.1923828125, 0.144287109375, 0.10296630859375, 0.055328369140625, 0.1597900390625, 0.1080322265625, 0.09...
embed
74291222_c0
74291222
fsharp
0
Title: Can F# use a constructor parameter and property initializers together? Problem title: Can F# use a constructor parameter and property initializers together? Tags: f%23 Problem: Can F# use a constructor parameter and property initializers together? In C# I have the following code to create an object instance. var...
Can F# use a constructor parameter and property initializers together? Can F# use a constructor parameter and property initializers together? f%23 Can MyClass Property1 value1 Property2 Can F# use a constructor parameter and property initializers together? In C# I have the following code to create an object instance. I...
[ 0.0177001953125, 0.0020294189453125, 0.004425048828125, -0.00096893310546875, 0.01263427734375, -0.016357421875, 0.0074462890625, -0.01104736328125, 0.01239013671875, -0.01171875, 0.01507568359375, 0.023681640625, 0.02294921875, 0.00604248046875, -0.00970458984375, -0.0169677734375, ...
[ 4171, 563, 4904, 4527, 64549, 748, 171859, 136, 57266, 61475, 52825, 25842, 1238, 3742, 2646, 140803, 206984, 418, 34292, 304, 313, 25632, 18151, 28282, 36746, 110527, 14037, 6002, 86531, 47, 5423, 70, 183871, 1884, 35829, 100677, 15044, 1424...
[ 0.09283447265625, 0.1639404296875, 0.2320556640625, 0.0914306640625, 0.1756591796875, 0.11767578125, 0.1912841796875, 0.07232666015625, 0.202392578125, 0.146240234375, 0.12451171875, 0.15869140625, 0.0872802734375, 0.0650634765625, 0.1162109375, 0.17529296875, 0.1845703125, 0.04562...
embed
37787141_c0
37787141
fsharp
0
Title: F# Iterate over N dimensions Problem title: F# Iterate over N dimensions Tags: traversal, iteration, f%23, recursion Problem: F# Iterate over N dimensions What is a good way of iterating over N dimensions in F#? Specifically I want to iterate the levels in a list of lists and display the different paths. Here's ...
F# Iterate over N dimensions F# Iterate over N dimensions traversal iteration f%23 recursion Iterate Seq.toList F# Iterate over N dimensions What is a good way of iterating over N dimensions in F#? Specifically I want to iterate the levels in a list of lists and display the different paths. Here's a trivial example of ...
[ 0.0206298828125, -0.00213623046875, -0.01007080078125, 0.007659912109375, 0.017822265625, 0.007293701171875, 0.0145263671875, -0.014892578125, -0.00125885009765625, -0.03369140625, 0.00750732421875, -0.00168609619140625, -0.00665283203125, 0.0137939453125, -0.005401611328125, 0.0037689...
[ 563, 4904, 87, 8560, 67, 645, 541, 158208, 37317, 289, 17, 720, 2320, 1238, 3949, 3742, 195625, 1830, 503, 864, 188, 154663, 4127, 3917, 111, 98767, 23, 209052, 3444, 90926, 10, 5303, 44116, 12921, 60875, 686, 27781, 2806, 1884, 54, 617...
[ 0.144775390625, 0.22119140625, 0.058563232421875, 0.27783203125, 0.210693359375, 0.1240234375, 0.1839599609375, 0.222412109375, 0.1519775390625, 0.024322509765625, 0.0811767578125, 0.22265625, 0.0167388916015625, 0.079345703125, 0.0399169921875, 0.12646484375, 0.1287841796875, 0.00...
embed
15487250_c0
15487250
fsharp
0
Title: Is it possible to create an object expression at runtime? Problem title: Is it possible to create an object expression at runtime? Tags: f%23 Problem: Is it possible to create an object expression at runtime? If a user passes in an interface, and I want to dynamically make a class out of it, is it possible to do...
Is it possible to create an object expression at runtime? Is it possible to create an object expression at runtime? f%23 IMyInterface Perform Unit this.Perform Console.WriteLine Is it possible to create an object expression at runtime? If a user passes in an interface, and I want to dynamically make a class out of it, ...
[ -0.003173828125, -0.0052490234375, -0.00183868408203125, -0.0003261566162109375, -0.0150146484375, -0.0164794921875, -0.01220703125, 0.0269775390625, -0.004852294921875, -0.0247802734375, -0.00567626953125, 0.009033203125, -0.01031494140625, -0.0145263671875, 0.010498046875, -0.0006561...
[ 2071, 442, 7722, 28282, 142, 36746, 125195, 99, 11675, 6032, 47, 3742, 46832, 53, 44851, 40404, 169033, 46640, 903, 5037, 40777, 93232, 4263, 38937, 10922, 23, 101758, 3444, 84079, 3249, 18507, 1810, 83, 54, 17368, 3917, 5154, 959, 351, 1...
[ 0.033203125, 0.0460205078125, 0.18408203125, 0.188720703125, 0.040863037109375, 0.2425537109375, 0.287841796875, 0.106689453125, 0.165283203125, 0.2086181640625, 0.0194549560546875, 0.032379150390625, 0.003753662109375, 0.046112060546875, 0.0701904296875, 0.0687255859375, 0.138549804...
embed
30564299_c0
30564299
fsharp
0
Title: Is there an OCaml equivalent of the [&lt;RequireQualifiedAccess&gt;] attribute for DUs in F#? Problem title: Is there an OCaml equivalent of the [&lt;RequireQualifiedAccess&gt;] attribute for DUs in F#? Tags: discriminated-union, f%23, ocaml Problem: Is there an OCaml equivalent of the [ ] attribute for DUs in F...
Is there an OCaml equivalent of the [&lt;RequireQualifiedAccess&gt;] attribute for DUs in F#? Is there an OCaml equivalent of the [&lt;RequireQualifiedAccess&gt;] attribute for DUs in F#? discriminated-union f%23 ocaml OCaml DUs RequireQualifiedAccess MyType FirstOption SecondOption MyType.FirstOption Is there an OCaml...
[ 0.00011682510375976562, 0.0118408203125, 0.0120849609375, -0.00102996826171875, -0.004791259765625, -0.0137939453125, 0.00994873046875, -0.00750732421875, -0.0030670166015625, -0.005889892578125, 0.0107421875, 0.0302734375, 0.005584716796875, -0.014892578125, 0.000606536865234375, -0.0...
[ 2071, 2685, 142, 180, 105272, 141, 183234, 111, 1277, 3181, 107, 178476, 47314, 39450, 26531, 5386, 150380, 13, 14614, 7, 23, 563, 4904, 55970, 3674, 87046, 1238, 3949, 3742, 36, 9779, 2646, 196707, 23972, 39029, 77648, 207263, 378, 100, ...
[ 0.048431396484375, 0.0693359375, 0.063232421875, 0.1737060546875, 0.2200927734375, 0.1846923828125, 0.197509765625, 0.039520263671875, 0.0208740234375, 0.1578369140625, 0.07855224609375, 0.1368408203125, 0.1046142578125, 0.09185791015625, 0.1964111328125, 0.08416748046875, 0.23095703...
embed
8026088_c0
8026088
fsharp
0
Title: Find unique array of tuples Problem title: Find unique array of tuples Tags: collections, duplicates, f%23 Problem: Find unique array of tuples I have 4 arrays of different data. For the first array of string, I want to delete the duplicate element and get the results of array of unique tuples with 4 elements. F...
Find unique array of tuples Find unique array of tuples collections duplicates f%23 Find dupA1 dupA2 dupA3 dupA4 Find unique array of tuples I have 4 arrays of different data. For the first array of string, I want to delete the duplicate element and get the results of array of unique tuples with 4 elements. For example...
[ -0.00921630859375, 0.03125, 0.006317138671875, -0.00885009765625, -0.00579833984375, -0.01470947265625, -0.002288818359375, 0.01422119140625, 0.0152587890625, -0.0016326904296875, -0.0216064453125, 0.0242919921875, 0.0184326171875, 0.0181884765625, -0.0013427734375, 0.00921630859375, ...
[ 26040, 36998, 10298, 53, 111, 370, 99726, 42486, 171763, 1636, 1238, 3949, 3742, 115, 254, 284, 418, 363, 617, 87, 765, 201, 4778, 12921, 2053, 1326, 5117, 79315, 3444, 47, 154109, 67, 12830, 2046, 50339, 678, 80854, 5, 27781, 16750 ]
[ 0.1328125, 0.25048828125, 0.1856689453125, 0.1441650390625, 0.1024169921875, 0.154052734375, 0.239501953125, 0.182373046875, 0.225341796875, 0.0767822265625, 0.0736083984375, 0.0229644775390625, 0.08856201171875, 0.12451171875, 0.048797607421875, 0.038116455078125, 0.00762939453125, ...
embed
4880324_c0
4880324
fsharp
0
Title: F# Tuple Pattern Matching Question Problem title: F# Tuple Pattern Matching Question Tags: design-patterns, matching, f%23, tuples Problem: F# Tuple Pattern Matching Question Is there a way to pattern match in F# so that it will check to see if both elements in a two element tuples are equal. I'm incredibly new ...
F# Tuple Pattern Matching Question F# Tuple Pattern Matching Question design-patterns matching f%23 tuples Tuple Pattern Matching Question F# Tuple Pattern Matching Question Is there a way to pattern match in F# so that it will check to see if both elements in a two element tuples are equal. I'm incredibly new to F#, a...
[ -0.006195068359375, 0.0230712890625, 0.003021240234375, 0.002532958984375, 0.0087890625, -0.0025482177734375, -0.0167236328125, -0.0024566650390625, 0.0164794921875, -0.0103759765625, 0.0087890625, 0.0130615234375, 0.0034942626953125, 0.0152587890625, -0.0013885498046875, 0.00964355468...
[ 563, 4904, 1371, 8705, 9876, 22766, 67407, 214, 68185, 4331, 4453, 14858, 1238, 3949, 3742, 370, 99726, 2071, 2685, 10, 3917, 47, 103510, 23, 1221, 12765, 1957, 2174, 15044, 80854, 6626, 12830, 105950, 219176, 3525, 23755, 47644, 5792, 2346...
[ 0.1429443359375, 0.186767578125, 0.10546875, 0.16259765625, 0.136474609375, 0.1307373046875, 0.206787109375, 0.080322265625, 0.0977783203125, 0.134033203125, 0.1092529296875, 0.25537109375, 0.08648681640625, 0.0078125, 0.045074462890625, 0.1197509765625, 0.1776123046875, 0.01564025...
embed
53619134_c0
53619134
fsharp
0
Title: Why does this function using IndexOf always return 0? Problem title: Why does this function using IndexOf always return 0? Tags: f%23 Problem: Why does this function using IndexOf always return 0? I have this function that checks the number of occurrences of a pattern in a string. The problem is that is keeps re...
Why does this function using IndexOf always return 0? Why does this function using IndexOf always return 0? f%23 IndexOf Why Counter text.IndexOf pattern.Length Why does this function using IndexOf always return 0? I have this function that checks the number of occurrences of a pattern in a string. The problem is that ...
[ -0.0157470703125, -0.0029144287109375, -0.00201416015625, 0.027587890625, 0.0027313232421875, -0.0098876953125, 0.0059814453125, 0.00714111328125, 0.0234375, -0.020751953125, -0.0030364990234375, -0.00958251953125, 0.00689697265625, 0.013427734375, 0.045654296875, -0.00921630859375, ...
[ 44084, 903, 32354, 17368, 31471, 132887, 11343, 30646, 757, 1238, 3949, 3742, 197956, 7986, 4153, 39659, 103510, 449, 927, 14602, 12765, 14012, 74918, 42, 69098, 79315, 2967, 13695, 26866, 107730, 57357, 79786, 116, 881, 6650, 15549, 5 ]
[ 0.0853271484375, 0.005462646484375, 0.14453125, 0.07269287109375, 0.2176513671875, 0.2607421875, 0.12451171875, 0.161865234375, 0.1905517578125, 0.057647705078125, 0.01373291015625, 0.1143798828125, 0.188232421875, 0.149658203125, 0.06988525390625, 0.1802978515625, 0.2015380859375, ...
embed
34251407_c0
34251407
fsharp
0
Title: My F# code doesn&#x27;t run, how can I investigate further? Problem title: My F# code doesn&#x27;t run, how can I investigate further? Tags: visual-studio, f%23 Problem: My F# code doesn't run, how can I investigate further? I downloaded Visual Studio Community 2015 to try and lean F#. My F# projects compiles wi...
My F# code doesn&#x27;t run, how can I investigate further? My F# code doesn&#x27;t run, how can I investigate further? visual-studio f%23 My F# code doesn't run, how can I investigate further? I downloaded Visual Studio Community 2015 to try and lean F#. My F# projects compiles without any issues but when I try to lau...
[ 0.006927490234375, 0.003143310546875, 0.00194549560546875, -0.004974365234375, -0.012939453125, -0.0002593994140625, 0.004638671875, -0.0240478515625, 0.00775146484375, -0.01202392578125, 0.004425048828125, 0.0030517578125, 0.005950927734375, 0.016845703125, 0.0096435546875, 0.00004243...
[ 2646, 563, 4904, 18151, 22027, 3768, 18, 11675, 3642, 831, 32603, 67, 53333, 21176, 52629, 1238, 3742, 7026, 73372, 22968, 66069, 918, 9790, 65342, 77635, 9969, 1340, 15490, 37348, 83184, 130250, 13452, 114977, 10756, 4092, 13105, 4734, 3917,...
[ 0.06793212890625, 0.166748046875, 0.2646484375, 0.2342529296875, 0.083984375, 0.03411865234375, 0.1116943359375, 0.1663818359375, 0.03173828125, 0.03173828125, 0.1619873046875, 0.061431884765625, 0.059967041015625, 0.16259765625, 0.17236328125, 0.046875, 0.0108642578125, 0.08422851...
embed