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
78092961_c0
78092961
fsharp
0
Title: Type conversion in F# results in wrong type and wrong value Problem title: Type conversion in F# results in wrong type and wrong value Tags: f%23, type-conversion Problem: Type conversion in F# results in wrong type and wrong value I want to convert an integer to a float. This is my first attempt and both, the v...
Type conversion in F# results in wrong type and wrong value Type conversion in F# results in wrong type and wrong value f%23 type-conversion Type b:float Type conversion in F# results in wrong type and wrong value I want to convert an integer to a float. This is my first attempt and both, the value is wrong, 2 instead ...
[ 0.01220703125, -0.00897216796875, 0.005889892578125, 0.00555419921875, -0.009521484375, -0.004486083984375, -0.02783203125, -0.0078125, -0.0081787109375, 0.02734375, -0.0068359375, 0.0157470703125, 0.00183868408203125, 0.0211181640625, 0.0177001953125, -0.0159912109375, 0.0234375, ...
[ 60457, 142477, 23, 563, 4904, 50339, 44691, 10644, 136, 34292, 1238, 3742, 2271, 46354, 876, 12, 52347, 257, 3444, 96760, 892, 1505, 47, 10, 21917, 5117, 81887, 15044, 83, 116, 64457, 483, 24765, 297, 18, 4171, 176256, 73342, 145755, 2633...
[ 0.252685546875, 0.183349609375, 0.0411376953125, 0.1470947265625, 0.2225341796875, 0.07293701171875, 0.172119140625, 0.2109375, 0.070068359375, 0.14599609375, 0.0887451171875, 0.1219482421875, 0.064697265625, 0.1378173828125, 0.101318359375, 0.015777587890625, 0.15478515625, 0.1505...
embed
38158442_c0
38158442
fsharp
0
Title: fsproj files in dotnet-core projects Problem title: fsproj files in dotnet-core projects Tags: .net-core, f%23 Problem: fsproj files in dotnet-core projects When creating new projects with .net-core ( dotnet new -l F# ), the projects are created with a project.json file and no fsproj file. However, it is my unde...
fsproj files in dotnet-core projects fsproj files in dotnet-core projects .net-core f%23 fsproj files in dotnet-core projects When creating new projects with .net-core ( dotnet new -l F# ), the projects are created with a project.json file and no fsproj file. However, it is my understanding that an fsproj file is neede...
[ -0.0079345703125, 0.02587890625, -0.0003108978271484375, 0.00145721435546875, -0.02099609375, -0.0147705078125, -0.01153564453125, -0.004547119140625, -0.01031494140625, 0.004547119140625, 0.0133056640625, 0.0272216796875, -0.0230712890625, 0.011474609375, 0.01287841796875, 0.009216308...
[ 1238, 47606, 897, 102158, 23, 20633, 1179, 30854, 77635, 3742, 105233, 3525, 678, 5, 20, 141, 563, 4904, 75935, 13452, 170, 1681, 11435, 136, 110, 33306, 442, 100094, 142, 44841, 12989, 2046, 892, 27077, 184, 2499, 72977, 12663, 1916, 129...
[ 0.1497802734375, 0.1746826171875, 0.30810546875, 0.1949462890625, 0.068115234375, 0.128173828125, 0.1422119140625, 0.18017578125, 0.1507568359375, 0.0892333984375, 0.07989501953125, 0.059814453125, 0.051422119140625, 0.03594970703125, 0.0218048095703125, 0.01336669921875, 0.080383300...
embed
42578595_c0
42578595
fsharp
0
Title: Getting internal error: BuildFrameworkTcImports: no resolution of 'FSharp.Core, Version=4.4.1.0' with ionide in VSCode Problem title: Getting internal error: BuildFrameworkTcImports: no resolution of 'FSharp.Core, Version=4.4.1.0' with ionide in VSCode Tags: f%23, visual-studio-code, ionide P...
Getting internal error: BuildFrameworkTcImports: no resolution of 'FSharp.Core, Version=4.4.1.0' with ionide in VSCode Getting internal error: BuildFrameworkTcImports: no resolution of 'FSharp.Core, Version=4.4.1.0' with ionide in VSCode f%23 visual-studio-code ionide Getting BuildFrameworkTcImports...
[ -0.0189208984375, 0.0108642578125, -0.0034637451171875, -0.00133514404296875, -0.0045166015625, -0.011962890625, -0.004302978515625, 0.0126953125, -0.005126953125, -0.00531005859375, 0.00170135498046875, -0.0174560546875, -0.0101318359375, 0.0234375, 0.00897216796875, 0.0166015625, 0...
[ 210732, 70796, 18499, 121137, 108386, 282, 18244, 618, 238, 61637, 6982, 110, 158839, 3768, 36381, 3467, 254, 50886, 40647, 107947, 29485, 102107, 678, 45339, 2506, 44160, 114211, 1238, 3742, 21176, 52629, 40899, 93774, 212059, 105141, 16934, 1...
[ 0.05169677734375, 0.216796875, 0.18603515625, 0.1591796875, 0.135498046875, 0.060760498046875, 0.14892578125, 0.03729248046875, 0.033294677734375, 0.1553955078125, 0.21728515625, 0.12353515625, 0.2266845703125, 0.061004638671875, 0.09429931640625, 0.1888427734375, 0.2197265625, 0.1...
embed
49764808_c0
49764808
fsharp
0
Title: F# hidden mutation Problem title: F# hidden mutation Tags: f%23 Problem: F# hidden mutation Anyone have a decent example, preferably practical/useful, they could post demonstrating the concept? I came across this term somewhere that I’m unable to find, probably it has to do something with a function returning a ...
F# hidden mutation F# hidden mutation f%23 F# hidden mutation Anyone have a decent example, preferably practical/useful, they could post demonstrating the concept? I came across this term somewhere that I’m unable to find, probably it has to do something with a function returning a function while enclosing on some muta...
[ 0.0108642578125, 0.0079345703125, 0.0057373046875, -0.006622314453125, 0.000946044921875, 0.01007080078125, 0.005828857421875, -0.0037689208984375, 0.00750732421875, -0.010986328125, -0.002685546875, 0.0234375, 0.0091552734375, 0.0155029296875, 0.0303955078125, -0.01312255859375, -0....
[ 563, 4904, 204105, 199334, 1238, 3949, 3742, 3630, 16797, 27781, 12601, 138155, 4032, 5809, 106804, 23755, 36880, 903, 13579, 51, 2886, 7413, 31895, 1556, 54, 32354, 30646, 214, 12960, 22, 63499, 842, 22819, 77336, 2685, 110, 75693, 20625, ...
[ 0.157470703125, 0.2313232421875, 0.287841796875, 0.2802734375, 0.123779296875, 0.07037353515625, 0.17431640625, 0.003448486328125, 0.057220458984375, 0.197998046875, 0.00457763671875, 0.116455078125, 0.0288848876953125, 0.01202392578125, 0.104736328125, 0.1571044921875, 0.09350585937...
embed
33271337_c0
33271337
fsharp
0
Title: Apparent F#/BCL floating point bug Problem title: Apparent F#/BCL floating point bug Tags: f%23, base-class-library, .net Problem: Apparent F#/BCL floating point bug The following is in FSI: > System.Math.Round(0.2916, 2);; val it : float = 0.29 > it * 100.;; val it : float = 29.0 > int it;; val it : int = 28 Th...
Apparent F#/BCL floating point bug Apparent F#/BCL floating point bug f%23 base-class-library .net Apparent BCL System.Math.Round Apparent F#/BCL floating point bug The following is in FSI: The result is the same everywhere I tried - a compiled F# 3.1/.NET 4.0 application, FSI in Visual Studio 2013 and 2015, .NET Fiddl...
[ 0.012939453125, -0.005615234375, -0.0027008056640625, -0.01019287109375, 0.00127410888671875, 0.0076904296875, 0.004180908203125, -0.0146484375, 0.01263427734375, 0.0096435546875, -0.0081787109375, 0.025146484375, -0.004425048828125, 0.0184326171875, 0.025390625, 0.006500244140625, 0...
[ 5787, 99547, 563, 4904, 64, 571, 37486, 21917, 26518, 6275, 54608, 1238, 3949, 3742, 3647, 67413, 150, 2844, 6, 1179, 335, 12353, 199450, 12724, 7030, 25632, 23, 9902, 16750, 83, 5701, 219743, 37842, 375, 5974, 297, 45151, 17777, 40401, 3...
[ 0.03289794921875, 0.158935546875, 0.1102294921875, 0.1873779296875, 0.042999267578125, 0.0655517578125, 0.17333984375, 0.156982421875, 0.086181640625, 0.12158203125, 0.1705322265625, 0.08349609375, 0.000885009765625, 0.138916015625, 0.1497802734375, 0.125244140625, 0.0394287109375, ...
embed
7818554_c0
7818554
fsharp
0
Title: Convert F# pattern-matching with condition to Scala Problem title: Convert F# pattern-matching with condition to Scala Tags: f%23, scala, pattern-matching Problem: Convert F# pattern-matching with condition to Scala How is it possible to convert a F# pattern-matching with when-condition to Scala? I have the foll...
Convert F# pattern-matching with condition to Scala Convert F# pattern-matching with condition to Scala f%23 scala pattern-matching Convert Scala Convert F# pattern-matching with condition to Scala How is it possible to convert a F# pattern-matching with when-condition to Scala? I have the following code in F#: There i...
[ 0.0133056640625, 0.004791259765625, -0.0022430419921875, 0.001861572265625, 0.00665283203125, -0.0189208984375, -0.004608154296875, 0.01019287109375, -0.007049560546875, 0.0186767578125, 0.02587890625, 0.00116729736328125, 0.01324462890625, 0.01190185546875, 0.004730224609375, -0.00500...
[ 1657, 11549, 563, 4904, 103510, 98753, 214, 678, 35431, 47, 152653, 11, 1238, 3949, 3742, 146232, 7722, 96760, 9, 3229, 126940, 70, 25632, 18151, 9876, 22766, 14858, 6626, 55769, 23356, 831, 2046, 3647, 2256 ]
[ 0.0654296875, 0.1431884765625, 0.1441650390625, 0.2325439453125, 0.234375, 0.2276611328125, 0.1162109375, 0.1195068359375, 0.23828125, 0.112548828125, 0.223388671875, 0.18212890625, 0.073486328125, 0.0037841796875, 0.0770263671875, 0.20654296875, 0.078125, 0.1724853515625, 0.0057...
embed
9185169_c0
9185169
fsharp
0
Title: Using a license.licx file with an F# script? Problem title: Using a license.licx file with an F# script? Tags: f%23-interactive, .net, embedded-resource, f%23 Problem: Using a license.licx file with an F# script? We have a library written in C# that I'm trying to call within an F# script. However, this library u...
Using a license.licx file with an F# script? Using a license.licx file with an F# script? f%23-interactive .net embedded-resource f%23 Using license.licx Using a license.licx file with an F# script? We have a library written in C# that I'm trying to call within an F# script. However, this library uses dotConnect for My...
[ -0.01214599609375, -0.00201416015625, 0.000293731689453125, -0.003570556640625, -0.0137939453125, -0.0059814453125, 0.0120849609375, 0.0166015625, 0.0037078857421875, -0.06689453125, 0.01348876953125, 0.000064849853515625, -0.000286102294921875, 0.01446533203125, -0.0002841949462890625, ...
[ 345, 86872, 9120, 425, 11435, 678, 563, 4904, 26499, 6953, 5, 1238, 27495, 10433, 71232, 1179, 55720, 69819, 60427, 3742, 35773, 1294, 59121, 31577, 11782, 28032, 4527, 20633, 235603, 100, 157146, 1295, 40317, 23825, 144570, 1528, 17368, 1731...
[ 0.07611083984375, 0.171630859375, 0.1231689453125, 0.1734619140625, 0.1385498046875, 0.0966796875, 0.10400390625, 0.1761474609375, 0.1834716796875, 0.016632080078125, 0.030731201171875, 0.0592041015625, 0.044525146484375, 0.04156494140625, 0.034423828125, 0.0977783203125, 0.131347656...
embed
71074342_c0
71074342
fsharp
0
Title: Pairing list elements with indexes Problem title: Pairing list elements with indexes Tags: f%23 Problem: Pairing list elements with indexes Given a list of elements, I need to turn each element into a pair of the index number and the element. There are several ways to do it; this is the most concise I have found...
Pairing list elements with indexes Pairing list elements with indexes f%23 Pairing List.mapi make_pair Pairing list elements with indexes Given a list of elements, I need to turn each element into a pair of the index number and the element. There are several ways to do it; this is the most concise I have found so far: ...
[ -0.00860595703125, 0.0211181640625, 0.0052490234375, -0.00543212890625, -0.01300048828125, 0.0277099609375, -0.0216064453125, -0.00872802734375, 0.00555419921875, -0.020263671875, 0.006744384765625, -0.017578125, -0.01409912109375, 0.016845703125, -0.002716064453125, -0.0191650390625, ...
[ 37897, 2852, 5303, 80854, 678, 63262, 90, 1238, 3949, 3742, 32036, 192, 1434, 3249, 109637, 3871, 15504, 12638, 12830, 3934, 10, 80836, 111, 70, 14012, 136, 40368, 48322, 54, 2684, 318, 1286, 57840, 47148, 3917, 563, 4904, 765, 3060, 8830...
[ 0.197998046875, 0.1053466796875, 0.202392578125, 0.2039794921875, 0.1611328125, 0.231689453125, 0.07476806640625, 0.0897216796875, 0.0355224609375, 0.13525390625, 0.1817626953125, 0.0672607421875, 0.1539306640625, 0.1220703125, 0.27880859375, 0.06317138671875, 0.156494140625, 0.075...
embed
53122275_c0
53122275
fsharp
0
Title: Simple explanation of List.Fold and List.Foldback in F# Problem title: Simple explanation of List.Fold and List.Foldback in F# Tags: f%23, f%23-interactive, f%23-data, f%23-3.0 Problem: Simple explanation of List.Fold and List.Foldback in F# Can anyone please explain in a very simple way what is List.Fold and Li...
Simple explanation of List.Fold and List.Foldback in F# Simple explanation of List.Fold and List.Foldback in F# f%23 f%23-interactive f%23-data f%23-3.0 Simple List.Fold List.Foldback Simple explanation of List.Fold and List.Foldback in F# Can anyone please explain in a very simple way what is List.Fold and List.Foldba...
[ 0.01519775390625, 0.0023193359375, 0.0108642578125, 0.024169921875, -0.00177001953125, 0.01397705078125, 0.0037689208984375, 0.018798828125, 0.02099609375, -0.01019287109375, 0.01043701171875, -0.03125, -0.003387451171875, 0.03564453125, 0.00238037109375, -0.0091552734375, 0.00573730...
[ 60552, 187136, 111, 32036, 5, 919, 18345, 136, 12620, 23, 563, 4904, 71232, 10135, 132265, 73342, 8781, 2367, 83, 12301, 42840, 28219 ]
[ 0.12255859375, 0.1761474609375, 0.03668212890625, 0.2266845703125, 0.05633544921875, 0.1419677734375, 0.2135009765625, 0.148681640625, 0.2430419921875, 0.055755615234375, 0.1444091796875, 0.1944580078125, 0.003662109375, 0.042816162109375, 0.031829833984375, 0.1197509765625, 0.092651...
embed
73262286_c0
73262286
fsharp
0
Title: Debugging F# app using VSCode, WSL2 + Extensions (Ionide Packet, FAKE, Core) Problem title: Debugging F# app using VSCode, WSL2 + Extensions (Ionide Packet, FAKE, Core) Tags: ionide, debugging, f%23, visual-studio-code Problem: Debugging F# app using VSCode, WSL2 + Extensions (Ionide Packet, FAKE, Core) You're g...
Debugging F# app using VSCode, WSL2 + Extensions (Ionide Packet, FAKE, Core) Debugging F# app using VSCode, WSL2 + Extensions (Ionide Packet, FAKE, Core) ionide debugging f%23 visual-studio-code VSCode Debugging WSL2 Extensions Ionide Packet FAKE Core Unable ENOENT Debugging F# app using VSCode, WSL2 + Extensions (Ioni...
[ 0.0031890869140625, 0.0233154296875, -0.0126953125, 0.005096435546875, 0.01239013671875, 0.00099945068359375, 0.00141143798828125, -0.000865936279296875, 0.00021839141845703125, -0.00225830078125, 0.035888671875, -0.0059814453125, 0.01507568359375, 0.0296630859375, 0.0025177001953125, ...
[ 262, 978, 36659, 563, 4904, 4027, 17368, 44160, 114211, 601, 30508, 304, 997, 224545, 568, 191, 2506, 56607, 126, 119960, 31365, 45339, 8, 1238, 3742, 21176, 52629, 40899, 37859, 992, 2886, 141108, 20157, 20949, 903, 18499, 31577, 85779, 98...
[ 0.14404296875, 0.2200927734375, 0.058837890625, 0.1307373046875, 0.225830078125, 0.1708984375, 0.05902099609375, 0.1875, 0.246337890625, 0.0908203125, 0.157470703125, 0.1563720703125, 0.06494140625, 0.1807861328125, 0.0806884765625, 0.1588134765625, 0.228271484375, 0.129150390625, ...
embed
49996886_c0
49996886
fsharp
0
Title: Any Static Application Security Testing (SAST) Tools for f# Problem title: Any Static Application Security Testing (SAST) Tools for f# Tags: static-code-analysis, f%23 Problem: Any Static Application Security Testing (SAST) Tools for f# Looking for open source tool for f# Have seen a few that support c#: https:/...
Any Static Application Security Testing (SAST) Tools for f# Any Static Application Security Testing (SAST) Tools for f# static-code-analysis f%23 Any Static Application Security Testing SAST Tools Any Static Application Security Testing (SAST) Tools for f# Looking for open source tool for f# Have seen a few that suppor...
[ 0.00982666015625, 0.0255126953125, 0.0166015625, -0.0106201171875, -0.01275634765625, -0.005218505859375, -0.01708984375, -0.0001621246337890625, -0.0042724609375, -0.00775146484375, 0.0169677734375, -0.023193359375, -0.0159912109375, 0.0361328125, 0.0108642578125, 0.00494384765625, ...
[ 28541, 71465, 238, 104921, 48748, 8647, 214, 294, 48963, 119296, 100, 1238, 4904, 201939, 40899, 174976, 164, 3742, 159, 9803, 31344, 55516, 51592, 10846, 8060, 501, 113032, 4398, 277, 224680, 7, 15769, 32102, 846, 45767, 7413, 2499, 32195, ...
[ 0.07696533203125, 0.2315673828125, 0.07781982421875, 0.1864013671875, 0.1805419921875, 0.194091796875, 0.05462646484375, 0.087158203125, 0.2093505859375, 0.263916015625, 0.06494140625, 0.1595458984375, 0.2154541015625, 0.22607421875, 0.1937255859375, 0.1351318359375, 0.01731872558593...
embed
61303607_c0
61303607
fsharp
0
Title: Is there a way in f# to perform a cross operation on lists? Problem title: Is there a way in f# to perform a cross operation on lists? Tags: f%23 Problem: Is there a way in f# to perform a cross operation on lists? Is there a way in f# to perform an opreation on the all the possible element combinations of two l...
Is there a way in f# to perform a cross operation on lists? Is there a way in f# to perform a cross operation on lists? f%23 Is there a way in f# to perform a cross operation on lists? Is there a way in f# to perform an opreation on the all the possible element combinations of two lists in f#? Example Then fun plus l1 ...
[ 0.000911712646484375, 0.01904296875, 0.0020904541015625, -0.00384521484375, -0.01385498046875, -0.003204345703125, -0.017333984375, -0.0020294189453125, 0.00677490234375, -0.029052734375, 0.0159912109375, -0.0020294189453125, -0.006256103515625, 0.00080108642578125, -0.020751953125, -0...
[ 2685, 10, 3917, 23, 1238, 4904, 51339, 41421, 41018, 98, 5303, 7, 47, 3742, 142, 233, 107, 2320, 756, 70, 7722, 12830, 162515, 111, 6626, 89536, 7477, 1001, 96, 418, 304, 2806, 130262, 131815, 1328, 910, 59690, 140992, 758, 966, 1019, ...
[ 0.01953125, 0.052459716796875, 0.1107177734375, 0.0399169921875, 0.167724609375, 0.2142333984375, 0.141845703125, 0.2401123046875, 0.22998046875, 0.0977783203125, 0.2314453125, 0.09539794921875, 0.031524658203125, 0.0640869140625, 0.01690673828125, 0.129638671875, 0.072509765625, 0...
embed
54197645_c0
54197645
fsharp
0
Title: Enumerating a discriminated union Problem title: Enumerating a discriminated union Tags: f%23 Problem: Enumerating a discriminated union I have read the answers from How to enumerate a discriminated union in F#? And I like the solution suggested: solution However, I am not sure how to write a function where I wo...
Enumerating a discriminated union Enumerating a discriminated union f%23 Enumerating SimpleUnionCaseInfoReflection.AllCases Seq.iter Enumerating a discriminated union I have read the answers from How to enumerate a discriminated union in F#? And I like the solution suggested: solution However, I am not sure how to writ...
[ -0.00897216796875, -0.0216064453125, -0.0025177001953125, 0.019287109375, 0.00396728515625, 0.0025787353515625, -0.00225830078125, 0.0019378662109375, 0.01129150390625, -0.00933837890625, 0.0145263671875, 0.0031280517578125, 0.021240234375, 0.0220947265625, 0.01458740234375, -0.0140991...
[ 357, 15537, 98767, 10, 55970, 3674, 69941, 1238, 3949, 3742, 60552, 147547, 441, 6991, 93147, 190015, 133, 43512, 20370, 864, 16840, 12301, 189085, 67, 23, 563, 4904, 1884, 29806, 42459, 444, 9077, 33022, 32354, 27875, 237, 10750 ]
[ 0.0606689453125, 0.2076416015625, 0.104736328125, 0.0278778076171875, 0.23193359375, 0.103515625, 0.2286376953125, 0.056304931640625, 0.01275634765625, 0.10186767578125, 0.10223388671875, 0.1246337890625, 0.030548095703125, 0.007110595703125, 0.06805419921875, 0.060516357421875, 0.03...
embed
21097357_c0
21097357
fsharp
0
Title: Async database query Problem title: Async database query Tags: f%23, f%23-3.0 Problem: Async database query I'm just starting out with F# and .Net but after some Googling I didn't find examples of this. I apologize in advance if this is too simple. I'm trying to query a database and do it asynchronously. For exa...
Async database query Async database query f%23 f%23-3.0 Async f.name Seq.toList Async database query I'm just starting out with F# and .Net but after some Googling I didn't find examples of this. I apologize in advance if this is too simple. I'm trying to query a database and do it asynchronously. For example, I have a...
[ 0.013427734375, 0.0172119140625, 0.01263427734375, -0.000865936279296875, -0.0137939453125, -0.0031890869140625, -0.00701904296875, 0.004669189453125, 0.0002307891845703125, -0.047119140625, 0.00799560546875, 0.006011962890625, 0.004547119140625, 0.00051116943359375, 0.000934600830078125...
[ 62, 12654, 238, 63399, 41, 1294, 1238, 3949, 3742, 167218, 27495, 132265, 11627, 503, 864, 188, 154663, 72134, 1810, 678, 563, 4904, 136, 24447, 230596, 27781, 903, 1747, 12524, 129745, 8781, 31577, 10, 101966, 1326, 765, 32354, 1884, 221, ...
[ 0.08428955078125, 0.233154296875, 0.1190185546875, 0.184326171875, 0.15283203125, 0.1151123046875, 0.137939453125, 0.012847900390625, 0.1427001953125, 0.004638671875, 0.1099853515625, 0.1702880859375, 0.134765625, 0.04571533203125, 0.1004638671875, 0.136474609375, 0.13525390625, 0....
embed
28001359_c1
28001359
fsharp
1
AS [t0] Note the lack of an ORDER BY , which I was expecting to be there because of the query expression's sortBy c.Countyssa . Any ideas as to why I'm not getting sorted data out of counties ? I'm aiming to make this as clean as possible to show as a small example to my employer. Thanks in advance! Code signals: Why,...
AS [t0] Note the lack of an ORDER BY , which I was expecting to be there because of the query expression's sortBy c.Countyssa . Any ideas as to why I'm not getting sorted data out of counties ? I'm aiming to make this as clean as possible to show as a small example to my employer. Thanks in advance! Code signals: Why,...
[ 0.024169921875, 0.020751953125, -0.00762939453125, 0.029541015625, 0.01239013671875, -0.01495361328125, -0.020263671875, -0.005279541015625, 0.0244140625, -0.035400390625, -0.01416015625, -0.032958984375, 0.000965118408203125, -0.01080322265625, -0.016357421875, -0.0029449462890625, ...
[ 6483, 2389, 18622, 92635, 111, 33172, 18044, 57766, 41206, 70, 41, 1294, 125195, 12096, 75358, 501, 5, 108210, 53, 1192, 25647, 15400, 39, 959, 20949, 17497, 71, 2053, 1810, 54529, 3387, 1300, 46622, 237, 7639, 27781, 143889, 129745, 28864,...
[ 0.1683349609375, 0.031890869140625, 0.058380126953125, 0.1558837890625, 0.05487060546875, 0.200927734375, 0.171142578125, 0.2362060546875, 0.0938720703125, 0.01190185546875, 0.09619140625, 0.045745849609375, 0.1580810546875, 0.1783447265625, 0.1929931640625, 0.0186767578125, 0.005615...
embed
5959333_c0
5959333
fsharp
0
Title: how to use groupBy with F# linq-to-sql? Problem title: how to use groupBy with F# linq-to-sql? Tags: linq-to-sql, f%23 Problem: how to use groupBy with F# linq-to-sql? I do <@ linq.IncTXes |> Microsoft.FSharp.Linq.Query.groupBy (fun intx -> intx.RecTime, intx.ID, intx.str) @> |> Microsoft.FSharp.Linq.Query.query...
how to use groupBy with F# linq-to-sql? how to use groupBy with F# linq-to-sql? linq-to-sql f%23 linq.IncTXes Microsoft.FSharp.Linq.Query.groupBy intx.RecTime intx.ID intx.str Microsoft.FSharp.Linq.Query.query Seq.map how to use groupBy with F# linq-to-sql? I do But F# to Linq can't understand / translate the type Tupl...
[ 0.0260009765625, 0.0211181640625, -0.011962890625, 0.002410888671875, -0.013427734375, 0.0019989013671875, -0.01312255859375, -0.004669189453125, 0.005340576171875, -0.0322265625, -0.0031280517578125, 0.0194091796875, 0.0152587890625, -0.000286102294921875, -0.020263671875, 0.008239746...
[ 3642, 4527, 21115, 75358, 678, 563, 4904, 96, 44982, 188, 99247, 1238, 3742, 54047, 7244, 3467, 254, 866, 51588, 425, 70059, 7146, 9297, 41732, 864, 62346, 7, 47, 339, 831, 18, 28219, 3900, 19309, 10644, 1371, 8705, 111, 138, 80854 ]
[ 0.048370361328125, 0.0986328125, 0.181396484375, 0.2193603515625, 0.077880859375, 0.1187744140625, 0.1943359375, 0.07952880859375, 0.23681640625, 0.11572265625, 0.223876953125, 0.050689697265625, 0.1068115234375, 0.0108642578125, 0.06585693359375, 0.06689453125, 0.0823974609375, 0....
embed
74830418_c1
74830418
fsharp
1
but still feels a bit clumsy. Maybe the NonNegativeInt module needs another function besides create and value to make this easier. [<Fact>] member this.``NonNegativeInt test2`` () = let nni1 = NonNegativeInt.create 5 let nni2 = nni1 |> Result.bind (fun x -> NonNegativeInt.create ((NonNegativeInt.value x) + 1)) let exp...
but still feels a bit clumsy. Maybe the NonNegativeInt module needs another function besides create and value to make this easier. [<Fact>] member this.``NonNegativeInt test2`` () = let nni1 = NonNegativeInt.create 5 let nni2 = nni1 |> Result.bind (fun x -> NonNegativeInt.create ((NonNegativeInt.value x) + 1)) let exp...
[ -0.035400390625, 0.00909423828125, 0.01239013671875, 0.0167236328125, 0.01470947265625, 0.004119873046875, 0.02001953125, -0.0203857421875, 0.0211181640625, -0.00872802734375, 0.005584716796875, 0.0274658203125, -0.003875732421875, 0.0096435546875, 0.0264892578125, 0.0019073486328125, ...
[ 1284, 7464, 12319, 4785, 4689, 4861, 5, 83425, 3775, 6433, 208, 4935, 4153, 18, 88996, 27117, 15700, 32354, 28282, 136, 34292, 903, 99156, 135518, 32786, 59881, 3034, 304, 2633, 10016, 418, 7612, 2182, 190, 126684, 89817, 16498, 1022, 27494...
[ 0.006134033203125, 0.0870361328125, 0.1822509765625, 0.10150146484375, 0.1505126953125, 0.1116943359375, 0.00921630859375, 0.05572509765625, 0.1531982421875, 0.1566162109375, 0.170166015625, 0.19091796875, 0.13330078125, 0.1622314453125, 0.200927734375, 0.0765380859375, 0.03399658203...
embed
4207431_c1
4207431
fsharp
1
' were not found."} However put the @ back in: let run2 () = let json = "{\"key@\":\"b\",\"value@\":2}" let o = deserializeString<TestGrounds.JsonKeyValuePair<string, int>> json () and we are all good. As far ask i know there is no reference to @ in the Json Spec ( http://www.json.org/ )... Code signals: DataContract, ...
' were not found."} However put the @ back in: let run2 () = let json = "{\"key@\":\"b\",\"value@\":2}" let o = deserializeString<TestGrounds.JsonKeyValuePair<string, int>> json () and we are all good. As far ask i know there is no reference to @ in the Json Spec ( http://www.json.org/ )... Code signals: DataContract, ...
[ 0.0050048828125, 0.036376953125, -0.0235595703125, -0.022216796875, -0.01611328125, 0.00072479248046875, -0.010498046875, 0.015380859375, 0.006378173828125, 0.005828857421875, 0.0135498046875, 0.0174560546875, 0.034423828125, -0.005035400390625, 0.0228271484375, 0.01080322265625, 0.0...
[ 242, 3542, 959, 14037, 33306, 3884, 1374, 4420, 23, 2633, 11675, 304, 1647, 1681, 19770, 981, 275, 27494, 36, 224, 25435, 119066, 71713, 111337, 67688, 1375, 162429, 856, 50770, 8335, 481, 91693, 18, 642, 756, 4127, 2060, 26458, 83, 110, ...
[ 0.0086669921875, 0.0938720703125, 0.1566162109375, 0.2027587890625, 0.0362548828125, 0.076416015625, 0.2076416015625, 0.1021728515625, 0.0498046875, 0.06329345703125, 0.1484375, 0.150146484375, 0.1427001953125, 0.2459716796875, 0.1737060546875, 0.130859375, 0.050323486328125, 0.116...
embed
43981211_c0
43981211
fsharp
0
Title: Print case-identifier of discriminated union Problem title: Print case-identifier of discriminated union Tags: .net, discriminated-union, f%23 Problem: Print case-identifier of discriminated union I have an Option type: type Option<'a> = | Some of 'a | None override x.ToString() = sprintf "%A" x printf "%A" None...
Print case-identifier of discriminated union Print case-identifier of discriminated union .net discriminated-union f%23 Print Option Some None x.ToString Print case-identifier of discriminated union I have an Option type: Supposedly, in a function I want to print Some 1 , but in another function I want to print its cas...
[ 0.00946044921875, 0.0027618408203125, 0.01190185546875, 0.019775390625, 0.00213623046875, -0.0108642578125, 0.017822265625, -0.00335693359375, 0.00982666015625, 0.00592041015625, 0.010498046875, -0.00885009765625, 0.00188446044921875, -0.01373291015625, 0.020751953125, 0.00747680664062...
[ 39754, 7225, 42485, 56, 111, 55970, 3674, 69941, 1179, 87046, 1238, 3742, 86769, 31384, 438, 1022, 7763, 71713, 10644, 32354, 3444, 28412, 106, 1284, 15700, 9, 3827, 38931, 34292, 831, 54 ]
[ 0.2073974609375, 0.1903076171875, 0.1925048828125, 0.1015625, 0.0450439453125, 0.21435546875, 0.09130859375, 0.1790771484375, 0.1055908203125, 0.1549072265625, 0.015777587890625, 0.0908203125, 0.2137451171875, 0.1435546875, 0.06890869140625, 0.05389404296875, 0.0867919921875, 0.071...
embed
33161244_c0
33161244
fsharp
0
Title: In F#, is it possible to have a tryParse function that infers the target type Problem title: In F#, is it possible to have a tryParse function that infers the target type Tags: string-parsing, inline, f%23, constraints Problem: In F#, is it possible to have a tryParse function that infers the target type Present...
In F#, is it possible to have a tryParse function that infers the target type In F#, is it possible to have a tryParse function that infers the target type string-parsing inline f%23 constraints DateTime.TryParse DateTime DateTime.MinValue In F#, is it possible to have a tryParse function that infers the target type Pr...
[ -0.00634765625, -0.00506591796875, 0.01007080078125, 0.0213623046875, -0.02294921875, -0.00787353515625, -0.0220947265625, -0.02099609375, -0.0037841796875, -0.0128173828125, -0.004302978515625, 0.01361083984375, -0.0067138671875, -0.01092529296875, 0.01507568359375, 0.0002727508544921...
[ 360, 563, 4904, 83, 7722, 765, 9790, 28636, 184, 32354, 53498, 7, 30388, 10644, 442, 47, 79315, 2500, 23, 2256, 1238, 3949, 3742, 158, 2816, 4288, 25512, 70059, 1294, 59076, 856, 50770, 97721, 54, 903, 2071 ]
[ 0.038848876953125, 0.1136474609375, 0.1923828125, 0.03143310546875, 0.16064453125, 0.0296630859375, 0.184814453125, 0.1715087890625, 0.14599609375, 0.1561279296875, 0.214599609375, 0.044891357421875, 0.2193603515625, 0.182373046875, 0.041778564453125, 0.03411865234375, 0.118896484375...
embed
466298_c0
466298
fsharp
0
Title: Is it possible to mix .cs (C#) and .fs (F#) files in a single Visual Studio Windows Console Project? (.NET) Problem title: Is it possible to mix .cs (C#) and .fs (F#) files in a single Visual Studio Windows Console Project? (.NET) Tags: visual-studio, .net, c%23, f%23, console Problem: Is it possible to mix .cs ...
Is it possible to mix .cs (C#) and .fs (F#) files in a single Visual Studio Windows Console Project? (.NET) Is it possible to mix .cs (C#) and .fs (F#) files in a single Visual Studio Windows Console Project? (.NET) visual-studio .net c%23 f%23 console Visual Studio Windows Console Project NET Is it possible to mix .cs...
[ -0.001068115234375, 0.0174560546875, 0.01153564453125, 0.021484375, -0.0133056640625, -0.0057373046875, -0.00787353515625, -0.001800537109375, 0.003936767578125, -0.002593994140625, -0.00408935546875, -0.016357421875, -0.00133514404296875, 0.01129150390625, -0.0030517578125, 0.00317382...
[ 7722, 17664, 5, 4439, 441, 4904, 136, 17447, 919, 102158, 11001, 73372, 22968, 3773, 1657, 40777, 27331, 17777, 21176, 52629, 1179, 3742, 130250, 11782, 32354, 1295, 1632, 563, 18151, 3934, 313, 84797, 81717, 11435, 13452 ]
[ 0.1424560546875, 0.2308349609375, 0.0267791748046875, 0.19482421875, 0.0254364013671875, 0.2037353515625, 0.032257080078125, 0.1812744140625, 0.063720703125, 0.141845703125, 0.0706787109375, 0.1474609375, 0.171875, 0.1004638671875, 0.046295166015625, 0.126220703125, 0.11962890625, ...
embed
25689308_c0
25689308
fsharp
0
Title: How to invoke F# auto-completion in Emacs Problem title: How to invoke F# auto-completion in Emacs Tags: f%23, emacs, f%23-3.0, autocomplete Problem: How to invoke F# auto-completion in Emacs I installed FSharp 3.1, Emacs 24 and fsharp-mode of emacs. Howerver the auto-completion feature (complete-at-point) didn'...
How to invoke F# auto-completion in Emacs How to invoke F# auto-completion in Emacs f%23 emacs f%23-3.0 autocomplete How Emacs How to invoke F# auto-completion in Emacs I installed FSharp 3.1, Emacs 24 and fsharp-mode of emacs. Howerver the auto-completion feature (complete-at-point) didn't work. I followed all the ins...
[ -0.0125732421875, -0.002349853515625, -0.000850677490234375, -0.008544921875, -0.02197265625, 0.0281982421875, 0.01043701171875, 0.02099609375, -0.01953125, -0.006011962890625, 0.0137939453125, -0.0001468658447265625, -0.00921630859375, 0.014404296875, 0.00653076171875, -0.017333984375...
[ 11249, 47, 23, 23253, 13, 563, 4904, 1809, 9, 277, 8705, 1363, 85269, 4439, 1238, 3742, 352, 2263, 132265, 131801, 20600, 93774, 3467, 254, 45151, 744, 89280, 61170, 60213, 38496, 18, 4488, 167934, 32102, 420, 128239, 11883, 41519, 54686, ...
[ 0.05804443359375, 0.0023193359375, 0.10333251953125, 0.186767578125, 0.05548095703125, 0.177734375, 0.2188720703125, 0.2247314453125, 0.04339599609375, 0.1461181640625, 0.205810546875, 0.1041259765625, 0.194580078125, 0.21875, 0.134765625, 0.0677490234375, 0.10272216796875, 0.11523...
embed
5087029_c0
5087029
fsharp
0
Title: Newlines and formatters Problem title: Newlines and formatters Tags: f%23, string-formatting Problem: Newlines and formatters I recently got bit by becoming complacent writing things like printf "\n%f\n" 3.2 instead of printf "%s%f%s" Environment.NewLine 3.2 Environment.NewLine My question is: is there any way t...
Newlines and formatters Newlines and formatters f%23 string-formatting Newlines Environment.NewLine Newlines and formatters I recently got bit by becoming complacent writing things like instead of My question is: is there any way to write the safe second version as nicely as the first (i.e. a special character in the f...
[ -0.0255126953125, -0.018798828125, 0.000759124755859375, -0.0024566650390625, -0.0091552734375, 0.0172119140625, 0.022705078125, 0.007293701171875, 0.00531005859375, 0.0224609375, -0.00004673004150390625, 0.00018596649169921875, 0.0052490234375, -0.0089111328125, 0.00408935546875, 0.01...
[ 2356, 59801, 136, 9384, 23962, 1238, 3949, 3742, 79315, 51727, 357, 686, 1900, 674, 46568, 93232, 78684, 4785, 141753, 375, 23935, 660, 32562, 8966, 1884, 64457, 9655, 2499, 3917, 47, 33022, 46002, 17932, 11389, 237, 26267, 5117, 5361, 6281...
[ 0.1728515625, 0.25390625, 0.1280517578125, 0.22021484375, 0.1693115234375, 0.0689697265625, 0.05316162109375, 0.1309814453125, 0.1549072265625, 0.177734375, 0.0386962890625, 0.098388671875, 0.1431884765625, 0.029998779296875, 0.1597900390625, 0.2166748046875, 0.013580322265625, 0.0...
embed
75946203_c0
75946203
fsharp
0
Title: Count occurrences of a word in a given string Problem title: Count occurrences of a word in a given string Tags: f%23 Problem: Count occurrences of a word in a given string How can I get the count of a particular substring in a given string? Source: "00101230314120600N400000HE9NNOTPROVIDED17000230314123073808075...
Count occurrences of a word in a given string Count occurrences of a word in a given string f%23 Count Regex.Matches Regex.Escape Count occurrences of a word in a given string How can I get the count of a particular substring in a given string? Source: "00101230314120600N400000HE9NNOTPROVIDED170002303141230738080759921...
[ -0.00823974609375, -0.00164031982421875, -0.005584716796875, 0.00714111328125, 0.0004863739013671875, 0.00022792816162109375, -0.01507568359375, 0.000782012939453125, 0.01019287109375, -0.03515625, -0.02490234375, -0.00836181640625, 0.01513671875, 0.0257568359375, 0.004730224609375, -0...
[ 108210, 74918, 42, 69098, 111, 2565, 23, 34475, 79315, 10, 1238, 3949, 3742, 11678, 3355, 79520, 17007, 98224, 11249, 831, 87, 2046, 70, 54529, 17311, 1614, 91693, 77641, 963, 48636, 9513, 20840, 10715, 2839, 28568, 19412, 1126, 23973, 7411...
[ 0.2218017578125, 0.20654296875, 0.1680908203125, 0.1239013671875, 0.042816162109375, 0.192138671875, 0.09063720703125, 0.102783203125, 0.2286376953125, 0.009185791015625, 0.054779052734375, 0.02337646484375, 0.11572265625, 0.0755615234375, 0.1297607421875, 0.0948486328125, 0.05627441...
embed
14698094_c0
14698094
fsharp
0
Title: f# equivalent of Haskell&#x27;s &quot;interact&quot; Problem title: f# equivalent of Haskell&#x27;s &quot;interact&quot; Tags: haskell, f%23 Problem: f# equivalent of Haskell's "interact" I was just reading a little about Haskell and saw its method interact which implements the common pattern of reading input fr...
f# equivalent of Haskell&#x27;s &quot;interact&quot; f# equivalent of Haskell&#x27;s &quot;interact&quot; haskell f%23 Haskell f# equivalent of Haskell's "interact" I was just reading a little about Haskell and saw its method interact which implements the common pattern of reading input from stdin, applying a function ...
[ -0.0025177001953125, -0.007568359375, 0.016845703125, 0.006866455078125, -0.0023956298828125, 0.00958251953125, 0.0189208984375, -0.007415771484375, -0.0213623046875, -0.031005859375, 0.00775146484375, -0.0101318359375, -0.000865936279296875, 0.003173828125, 0.00933837890625, -0.007598...
[ 1238, 4904, 183234, 111, 20625, 142508, 3768, 10433, 47013, 7, 1556, 3949, 3742, 16454, 10176, 24124, 55300, 78974, 29479, 39210, 103510, 107730, 1295, 6138, 3035, 59911, 32354, 47, 79315, 32562, 16750, 4420, 1003, 27781, 28412, 26818, 32497, ...
[ 0.15087890625, 0.223876953125, 0.2149658203125, 0.03668212890625, 0.14501953125, 0.2384033203125, 0.07122802734375, 0.1915283203125, 0.216064453125, 0.00848388671875, 0.1412353515625, 0.005706787109375, 0.061981201171875, 0.1751708984375, 0.03118896484375, 0.036041259765625, 0.131469...
embed
33103984_c1
33103984
fsharp
1
) the error on attempted usage of withf to replace the other option is Code signals: How, Func, System, System.Linq.Expressions, Microsoft.FSharp.Quotations, Microsoft.FSharp.Linq.RuntimeHelpers, FizzWare.NBuilder, Expr, LeafExpressionConverter.QuotationToExpression, MethodCallExpression, call.Arguments, LambdaExpressi...
) the error on attempted usage of withf to replace the other option is Code signals: How, Func, System, System.Linq.Expressions, Microsoft.FSharp.Quotations, Microsoft.FSharp.Linq.RuntimeHelpers, FizzWare.NBuilder, Expr, LeafExpressionConverter.QuotationToExpression, MethodCallExpression, call.Arguments, LambdaExpressi...
[ 0.00128173828125, 0.004669189453125, -0.00885009765625, -0.0245361328125, -0.0027923583984375, -0.00958251953125, -0.01434326171875, -0.0036773681640625, 0.018310546875, -0.020751953125, -0.00799560546875, -0.005126953125, -0.004241943359375, 0.0031890869140625, 0.0186767578125, -0.001...
[ 1388, 70, 18499, 98, 81887, 297, 127689, 678, 420, 47, 91995, 3789, 35829, 83, 28864, 26073, 7, 11249, 28670, 238, 12353, 44982, 178752, 17514, 7244, 36381, 3467, 254, 31583, 818, 60785, 21777, 94610, 169, 71947, 121137, 56, 60075, 42, 63...
[ 0.0560302734375, 0.0277252197265625, 0.2479248046875, 0.000701904296875, 0.15234375, 0.06884765625, 0.10076904296875, 0.208740234375, 0.2264404296875, 0.02532958984375, 0.15771484375, 0.07598876953125, 0.1915283203125, 0.0335693359375, 0.207275390625, 0.2138671875, 0.060272216796875,...
embed
4384464_c0
4384464
fsharp
0
Title: What to keep in mind while learning F#, having learned Scheme Problem title: What to keep in mind while learning F#, having learned Scheme Tags: f%23, scheme Problem: What to keep in mind while learning F#, having learned Scheme I'm quite interested in learning F#. My only experience with functional languages ha...
What to keep in mind while learning F#, having learned Scheme What to keep in mind while learning F#, having learned Scheme f%23 scheme What Scheme What to keep in mind while learning F#, having learned Scheme I'm quite interested in learning F#. My only experience with functional languages has been 2 introductory cour...
[ 0.011962890625, -0.000537872314453125, 0.001190185546875, 0.01220703125, -0.00970458984375, -0.0186767578125, -0.0002593994140625, -0.0106201171875, 0.0198974609375, -0.03466796875, 0.0101318359375, -0.0240478515625, -0.0054931640625, 0.0032196044921875, -0.01251220703125, 0.0025329589...
[ 4865, 47, 13695, 23, 7086, 12960, 52080, 563, 4904, 19441, 97384, 34702, 282, 1238, 3949, 3742, 150370, 4, 60892, 16981, 678, 123309, 46876, 116, 132073, 40466, 8966, 5608, 198395, 60212, 55300, 18709, 28661, 63134 ]
[ 0.064208984375, 0.031982421875, 0.0960693359375, 0.0125732421875, 0.1396484375, 0.0784912109375, 0.1153564453125, 0.1409912109375, 0.2147216796875, 0.085205078125, 0.07989501953125, 0.2064208984375, 0.15771484375, 0.0814208984375, 0.011016845703125, 0.116455078125, 0.20458984375, 0...
embed
39174844_c0
39174844
fsharp
0
Title: Deedle normalize frame Problem title: Deedle normalize frame Tags: deedle, f%23 Problem: Deedle normalize frame How to normalize data in deedle frame ? I've tried this approach but one doesn't work let iris = Frame.ReadCsv("./iris.csv") let keys = iris.ColumnKeys |> Seq.toArray let x = iris.Columns.[keys.[0..4]]...
Deedle normalize frame Deedle normalize frame deedle f%23 frame Deedle Frame.ReadCsv iris.csv iris.ColumnKeys Seq.toArray iris.Columns Stats.mean Stats.stdDev Not Deedle normalize frame How to normalize data in deedle frame ? I've tried this approach but one doesn't work
[ -0.0048828125, 0.0191650390625, -0.0048828125, 0.00811767578125, -0.0108642578125, 0.009033203125, 0.00799560546875, 0.01373291015625, -0.017333984375, -0.005035400390625, -0.03662109375, 0.0213623046875, -0.0030670166015625, -0.01470947265625, 0.0022430419921875, -0.015625, 0.012939...
[ 262, 297, 133, 3638, 20650, 123789, 8, 1238, 3949, 3742, 42557, 31345, 67756, 97153, 334, 316, 162429, 864, 188, 7092, 78457, 23888, 282, 66, 152108, 11205, 11249, 47, 2053, 23, 903, 51515, 18, 4488 ]
[ 0.100830078125, 0.1646728515625, 0.14892578125, 0.18310546875, 0.177734375, 0.217041015625, 0.0975341796875, 0.0540771484375, 0.02734375, 0.1275634765625, 0.1436767578125, 0.0848388671875, 0.108154296875, 0.1153564453125, 0.1038818359375, 0.0572509765625, 0.09033203125, 0.040100097...
embed
69966116_c0
69966116
fsharp
0
Title: F# Chaining functions that return tuple Problem title: F# Chaining functions that return tuple Tags: f%23 Problem: F# Chaining functions that return tuple I am new to F# and am trying to chain functions to make a Higher Order Function. A simplified example is init returns a tuple validate accepts a tuple and ret...
F# Chaining functions that return tuple F# Chaining functions that return tuple f%23 Chaining a.Equals F# Chaining functions that return tuple I am new to F# and am trying to chain functions to make a Higher Order Function. A simplified example is init returns a tuple validate accepts a tuple and returns bool ERROR Thi...
[ -0.00823974609375, -0.003570556640625, 0.022216796875, 0.0299072265625, 0.01019287109375, -0.019775390625, 0.0079345703125, -0.0302734375, 0.034912109375, -0.0059814453125, -0.0030975341796875, 0.0264892578125, 0.01220703125, 0.029541015625, -0.005401611328125, -0.0174560546875, 0.01...
[ 563, 4904, 4841, 14653, 32354, 450, 30646, 370, 8705, 1238, 3949, 3742, 10, 647, 71723, 3525, 31577, 121293, 19694, 56, 81206, 28670, 10763, 112892, 27781, 23, 217, 44622, 67, 26946, 136, 142484, 151206, 24638, 125195, 509, 84751, 10644, 11...
[ 0.1119384765625, 0.1881103515625, 0.153564453125, 0.1181640625, 0.2073974609375, 0.03460693359375, 0.154052734375, 0.1341552734375, 0.205078125, 0.1064453125, 0.0736083984375, 0.1485595703125, 0.1258544921875, 0.0272979736328125, 0.1650390625, 0.004486083984375, 0.013031005859375, ...
embed
16162722_c1
16162722
fsharp
1
int static member CountBits (x : int64) = BitCounter.CountBitsWithRangedMask x 63 int64 But static member CountBits (x : int) caused a compilation error: error FS0001: This expression was expected to have type int16 but here has type int So I'm wondering if I can add some constraint like Integral a in Haskell on Count...
int static member CountBits (x : int64) = BitCounter.CountBitsWithRangedMask x 63 int64 But static member CountBits (x : int) caused a compilation error: error FS0001: This expression was expected to have type int16 but here has type int So I'm wondering if I can add some constraint like Integral a in Haskell on Count...
[ -0.01104736328125, -0.01123046875, 0.00518798828125, -0.00640869140625, 0.0036468505859375, -0.007415771484375, -0.00982666015625, -0.01123046875, 0.00921630859375, -0.020751953125, -0.02197265625, -0.020263671875, 0.030029296875, 0.0277099609375, 0.037841796875, -0.0218505859375, -0...
[ 23, 18, 201939, 32786, 108210, 571, 14481, 425, 88235, 27774, 56, 194583, 126525, 17704, 53049, 92, 12069, 13307, 152, 143434, 98352, 18499, 93774, 188735, 125195, 509, 84751, 10644, 2485, 1284, 3688, 1556, 15190, 158, 2816, 4288, 204681, 10,...
[ 0.11083984375, 0.137451171875, 0.1634521484375, 0.2159423828125, 0.1656494140625, 0.1131591796875, 0.142578125, 0.063232421875, 0.19873046875, 0.1187744140625, 0.0853271484375, 0.151611328125, 0.0963134765625, 0.0972900390625, 0.142333984375, 0.08526611328125, 0.1956787109375, 0.18...
embed
76678747_c0
76678747
fsharp
0
Title: How can I call a C# function that takes an Action&lt;T&gt; from F#? Problem title: How can I call a C# function that takes an Action&lt;T&gt; from F#? Tags: f%23, c%23 Problem: How can I call a C# function that takes an Action from F#? I need to call this function, from a C# lib: public BinanceRestClient(Action<...
How can I call a C# function that takes an Action&lt;T&gt; from F#? How can I call a C# function that takes an Action&lt;T&gt; from F#? f%23 c%23 F# How Action BinanceRestClient BinanceRestOptions HttpClient ILoggerFactory How can I call a C# function that takes an Action from F#? I need to call this function, from a C...
[ -0.02294921875, 0.01226806640625, -0.006561279296875, 0.000553131103515625, 0.0004730224609375, 0.00994873046875, 0.006317138671875, 0.004058837890625, 0.000507354736328125, -0.004852294921875, 0.0098876953125, -0.0020904541015625, -0.00653076171875, -0.004638671875, 0.0162353515625, -...
[ 11249, 831, 11782, 313, 4904, 32354, 51776, 57945, 1277, 618, 1230, 5386, 1295, 563, 87, 10, 450, 1238, 3742, 16666, 7154, 1052, 525, 150, 39029, 5256, 3062, 2517, 113972, 1505, 135518, 31667, 142, 3871, 903, 25474, 442, 27875, 36746 ]
[ 0.05499267578125, 0.08221435546875, 0.168701171875, 0.052734375, 0.2193603515625, 0.2081298828125, 0.108642578125, 0.231201171875, 0.023101806640625, 0.0389404296875, 0.041168212890625, 0.1002197265625, 0.1214599609375, 0.103759765625, 0.033203125, 0.007598876953125, 0.02017211914062...
embed
42341535_c0
42341535
fsharp
0
Title: How to make illegal values unrepresentable? Problem title: How to make illegal values unrepresentable? Tags: f%23, haskell, functional-programming Problem: How to make illegal values unrepresentable? A method of design in Functional Programming is making illegal states unrepresentable . I always see this being a...
How to make illegal values unrepresentable? How to make illegal values unrepresentable? f%23 haskell functional-programming How How to make illegal values unrepresentable? A method of design in Functional Programming is making illegal states unrepresentable . I always see this being accomplished with the structure of t...
[ -0.00372314453125, 0.004791259765625, -0.006683349609375, 0.0152587890625, -0.00408935546875, 0.028076171875, -0.0186767578125, -0.00665283203125, -0.0067138671875, -0.0181884765625, 0.001983642578125, -0.01080322265625, -0.0009002685546875, 0.0220947265625, -0.01202392578125, 0.006256...
[ 11249, 47, 3249, 85325, 142424, 51, 205913, 2661, 1238, 3742, 1556, 142508, 123309, 28966, 55300, 4331, 28670, 10763, 27958, 214, 20662, 117249, 163846, 45646, 52895, 34292, 111, 765, 79315, 14886, 4734, 3444, 16401, 35604, 3340, 29823, 78292, ...
[ 0.094970703125, 0.043060302734375, 0.101318359375, 0.275146484375, 0.2293701171875, 0.1309814453125, 0.23583984375, 0.1400146484375, 0.002593994140625, 0.06903076171875, 0.1033935546875, 0.1998291015625, 0.143310546875, 0.1099853515625, 0.09552001953125, 0.190185546875, 0.08447265625...
embed
33572035_c0
33572035
fsharp
0
Title: Map every 2 elements to a function/constructor Problem title: Map every 2 elements to a function/constructor Tags: f%23 Problem: Map every 2 elements to a function/constructor I have an integer array in which I want to send every two elements from it to the constructor of another function. Something like intArra...
Map every 2 elements to a function/constructor Map every 2 elements to a function/constructor f%23 Map Array.map Point Map every 2 elements to a function/constructor I have an integer array in which I want to send every two elements from it to the constructor of another function. Something like intArray |> Array.map (f...
[ -0.01287841796875, 0.0081787109375, -0.02001953125, 0.0106201171875, -0.01434326171875, 0.041259765625, -0.0177001953125, -0.00159454345703125, 0.01336669921875, -0.01611328125, 0.01470947265625, -0.0245361328125, 0.0079345703125, 0.0025482177734375, -0.01416015625, -0.009521484375, ...
[ 42719, 11907, 116, 80854, 47, 32354, 64, 2271, 36716, 748, 1238, 3742, 69253, 53, 62346, 41097, 892, 1505, 10298, 3444, 25379, 6626, 1295, 70, 64549, 15700, 1884, 23, 18, 7614, 7092, 16498, 1022, 113, 33079, 3525, 425, 2071, 903, 7722, ...
[ 0.2327880859375, 0.1754150390625, 0.1719970703125, 0.2000732421875, 0.13623046875, 0.1571044921875, 0.021942138671875, 0.05865478515625, 0.1763916015625, 0.16552734375, 0.031890869140625, 0.095947265625, 0.0943603515625, 0.0975341796875, 0.2039794921875, 0.1614990234375, 0.1088867187...
embed
45789567_c1
45789567
fsharp
1
to satisfy transpiler generated code is not ideal. Is there a way for the transpiler to generate the output I'm looking for? [update] A better way to do this that doesn't require changing 3rd party code is to provide the bind function as 3rd party JavaScript: Then import it and use bind in your template code file: let...
to satisfy transpiler generated code is not ideal. Is there a way for the transpiler to generate the output I'm looking for? [update] A better way to do this that doesn't require changing 3rd party code is to provide the bind function as 3rd party JavaScript: Then import it and use bind in your template code file: let...
[ -0.02978515625, 0.017578125, -0.00148773193359375, -0.0146484375, -0.03369140625, 0.00347900390625, -0.01165771484375, 0.005950927734375, -0.0024871826171875, -0.02783203125, -0.00909423828125, -0.00823974609375, -0.003936767578125, 0.00787353515625, 0.01422119140625, 0.01129150390625,...
[ 47, 40407, 53, 3900, 5974, 56, 139392, 18151, 83, 959, 6397, 3917, 70, 140992, 16487, 100, 117008, 11522, 54, 903, 18, 64209, 151134, 138, 4216, 19085, 22691, 68557, 32354, 237, 17925, 24927, 23, 110934, 11435, 2633, 821, 9902, 3522, 170,...
[ 0.01568603515625, 0.2235107421875, 0.09210205078125, 0.162353515625, 0.2445068359375, 0.1318359375, 0.203369140625, 0.2060546875, 0.0228424072265625, 0.1015625, 0.2080078125, 0.0792236328125, 0.013946533203125, 0.2169189453125, 0.087890625, 0.076416015625, 0.177978515625, 0.0792236...
embed
55972154_c0
55972154
fsharp
0
Title: In JetBrains Rider, how can I show type information for the symbol under the cursor? Problem title: In JetBrains Rider, how can I show type information for the symbol under the cursor? Tags: jetbrains-ide, f%23, rider Problem: In JetBrains Rider, how can I show type information for the symbol under the cursor? S...
In JetBrains Rider, how can I show type information for the symbol under the cursor? In JetBrains Rider, how can I show type information for the symbol under the cursor? jetbrains-ide f%23 rider JetBrains Rider In JetBrains Rider, how can I show type information for the symbol under the cursor? Specifically, for F# in ...
[ -0.011962890625, 0.01385498046875, -0.0038299560546875, 0.0017547607421875, -0.00799560546875, 0.0008392333984375, -0.01300048828125, 0.005615234375, -0.0206298828125, 0.023681640625, 0.006500244140625, -0.0028839111328125, -0.002044677734375, 0.010009765625, 0.01312255859375, 0.026611...
[ 360, 82589, 49960, 5425, 41231, 56, 3642, 7639, 10644, 4677, 26582, 1379, 13810, 42, 100, 55, 18, 2844, 2506, 1238, 3742, 171503, 831, 563, 4904, 23, 73372, 22968, 27983, 89038, 14048, 125270, 93147, 149186, 16610, 19774, 68847, 1328, 605, ...
[ 0.0670166015625, 0.136474609375, 0.160400390625, 0.0894775390625, 0.1624755859375, 0.1248779296875, 0.028411865234375, 0.1553955078125, 0.2420654296875, 0.1822509765625, 0.1981201171875, 0.15771484375, 0.13916015625, 0.10406494140625, 0.02923583984375, 0.035736083984375, 0.0364685058...
embed
3032298_c0
3032298
fsharp
0
Title: How do you use (get values from keys, add items) Hashtables in F# Problem title: How do you use (get values from keys, add items) Hashtables in F# Tags: f%23, hashtable Problem: How do you use (get values from keys, add items) Hashtables in F# I would like to know how to use a System.Collections.Hashtable in F#....
How do you use (get values from keys, add items) Hashtables in F# How do you use (get values from keys, add items) Hashtables in F# f%23 hashtable keys How Hashtables System.Collections.Hashtable How do you use (get values from keys, add items) Hashtables in F# I would like to know how to use a System.Collections.Hasht...
[ 0.00023174285888671875, 0.007720947265625, 0.00677490234375, -0.0284423828125, -0.011962890625, -0.0225830078125, 0.00592041015625, -0.01495361328125, -0.0072021484375, -0.01025390625, 0.01251220703125, 0.0140380859375, 0.005401611328125, 0.032958984375, 0.01470947265625, -0.0066223144...
[ 11249, 4527, 3794, 142424, 1295, 22799, 15190, 55769, 162087, 22819, 7, 23, 563, 4904, 1238, 3742, 1556, 127, 12353, 78457, 8996, 5256, 6495, 1495, 3714, 3642, 5, 31635, 83, 10, 142447, 89845, 7121, 11782, 150624, 29117, 20779, 34292, 80234...
[ 0.038177490234375, 0.1474609375, 0.1170654296875, 0.1600341796875, 0.149169921875, 0.169921875, 0.11962890625, 0.1275634765625, 0.1953125, 0.253662109375, 0.0537109375, 0.0546875, 0.12646484375, 0.2259521484375, 0.059326171875, 0.1214599609375, 0.13525390625, 0.0701904296875, 0.1...
embed
43176508_c0
43176508
fsharp
0
Title: When will I use camelCase in F# when exporting to other .NET languages? Problem title: When will I use camelCase in F# when exporting to other .NET languages? Tags: vb.net, naming-conventions, .net, c%23, f%23 Problem: When will I use camelCase in F# when exporting to other .NET languages? Based on The F# Compon...
When will I use camelCase in F# when exporting to other .NET languages? When will I use camelCase in F# when exporting to other .NET languages? vb.net naming-conventions .net c%23 f%23 When NET PascalCase vb.net When will I use camelCase in F# when exporting to other .NET languages? Based on The F# Component Design Gui...
[ 0.007080078125, -0.001220703125, 0.00848388671875, 0.01104736328125, 0.00799560546875, -0.000675201416015625, -0.00775146484375, 0.0211181640625, -0.01092529296875, 0.025390625, 0.01031494140625, -0.00170135498046875, 0.00151824951171875, 0.0172119140625, 0.0025787353515625, -0.0189208...
[ 14847, 4527, 377, 7603, 441, 6991, 23, 563, 4904, 31255, 214, 47, 3789, 17777, 46876, 7, 1221, 3229, 86482, 1179, 147453, 2271, 57241, 3742, 1238, 167599, 5, 98, 54137, 11724, 44583, 59801, 5608, 19911, 202220, 101805, 17368, 707, 75034, ...
[ 0.0758056640625, 0.1180419921875, 0.1160888671875, 0.19970703125, 0.230712890625, 0.238037109375, 0.0677490234375, 0.1400146484375, 0.213134765625, 0.2210693359375, 0.051666259765625, 0.09588623046875, 0.079833984375, 0.1630859375, 0.146484375, 0.000518798828125, 0.01727294921875, ...
embed
7527619_c1
7527619
fsharp
1
code) to make the serialization even faster. Did I implemented it correctly? How do I know that WCF actually uses it or not? Code signals: WCF, Communication, System.ServiceModel, System.Runtime.Serialization, DLL, Protobuf, protobuf-net.dll, ServiceContract, IService, OperationContract, ProtoBuf.ServiceModel.ProtoBeh...
code) to make the serialization even faster. Did I implemented it correctly? How do I know that WCF actually uses it or not? Code signals: WCF, Communication, System.ServiceModel, System.Runtime.Serialization, DLL, Protobuf, protobuf-net.dll, ServiceContract, IService, OperationContract, ProtoBuf.ServiceModel.ProtoBeh...
[ -0.00029754638671875, 0.003143310546875, 0.0011749267578125, 0.0037841796875, -0.0181884765625, -0.0115966796875, -0.00063323974609375, -0.0205078125, -0.00457763671875, -0.01611328125, -0.00628662109375, 0.0072021484375, 0.0101318359375, 0.01251220703125, 0.0250244140625, 0.0153198242...
[ 18151, 47, 3249, 35686, 47691, 3853, 4271, 56, 37307, 29479, 297, 442, 26785, 3714, 37808, 919, 20653, 4527, 7, 707, 959, 28864, 26073, 87398, 12353, 121979, 140290, 163321, 6032, 4233, 51626, 391, 23708, 67241, 978, 420, 22664, 1179, 1181,...
[ 0.25927734375, 0.0108642578125, 0.0443115234375, 0.2149658203125, 0.138671875, 0.038299560546875, 0.12890625, 0.0855712890625, 0.023406982421875, 0.14208984375, 0.0276641845703125, 0.1558837890625, 0.1162109375, 0.1097412109375, 0.171142578125, 0.2315673828125, 0.1107177734375, 0.1...
embed
11363002_c0
11363002
fsharp
0
Title: How to keep fsi.exe open after running Problem title: How to keep fsi.exe open after running Tags: f%23-interactive, f%23-scripting, f%23 Problem: How to keep fsi.exe open after running I have a bunch of F# scripts (fsx) that I use for my basic deployment needs. I just right click them and say "Run with F# inter...
How to keep fsi.exe open after running How to keep fsi.exe open after running f%23-interactive f%23-scripting f%23 How fsi.exe How to keep fsi.exe open after running I have a bunch of F# scripts (fsx) that I use for my basic deployment needs. I just right click them and say "Run with F# interactive" However, sometimes ...
[ 0.01226806640625, 0.00640869140625, 0.01123046875, 0, -0.0031280517578125, -0.006256103515625, 0.017578125, -0.0240478515625, 0.00020885467529296875, -0.0264892578125, 0.01531982421875, 0.015380859375, -0.0022125244140625, 0.0216064453125, 0.0283203125, 0.00160980224609375, 0.0286865...
[ 11249, 47, 13695, 1238, 172, 5, 46480, 9803, 7103, 51042, 27495, 10433, 71232, 32032, 214, 3742, 765, 147306, 563, 4904, 26499, 17447, 425, 4527, 100, 62822, 13158, 27117, 7108, 18158, 5154, 163321, 678, 212398, 68018, 35782, 2806, 1884, 13...
[ 0.1005859375, 0.063720703125, 0.1951904296875, 0.1534423828125, 0.2423095703125, 0.1134033203125, 0.22607421875, 0.210205078125, 0.164794921875, 0.216552734375, 0.0780029296875, 0.09869384765625, 0.099853515625, 0.119873046875, 0.011474609375, 0.031097412109375, 0.013916015625, 0.0...
embed
11907032_c1
11907032
fsharp
1
compiling both assemblies for .NET 4.5 I'm compiling using Visual Studio 2012 RC I'm using NUnit version 2.5.10.11092 I'm using FSharp PowerPack version 2.1.3.1 (though the DLL properties state that it's 2.0.0) Let me know if there's additional information that would be of use. Code signals: System.MissingMethodExcept...
compiling both assemblies for .NET 4.5 I'm compiling using Visual Studio 2012 RC I'm using NUnit version 2.5.10.11092 I'm using FSharp PowerPack version 2.1.3.1 (though the DLL properties state that it's 2.0.0) Let me know if there's additional information that would be of use. Code signals: System.MissingMethodExcept...
[ -0.00689697265625, 0.0115966796875, 0.006561279296875, -0.006256103515625, 0.0162353515625, 0.00689697265625, 0.0037384033203125, -0.01116943359375, 0.01324462890625, 0.0162353515625, -0.0203857421875, -0.000659942626953125, -0.00653076171875, 0.014892578125, 0.007354736328125, 0.00866...
[ 9969, 49725, 15044, 10, 89845, 7121, 90, 100, 5, 17777, 60061, 17368, 73372, 22968, 1324, 81135, 18057, 6773, 11389, 27804, 10179, 36053, 12231, 93774, 3467, 254, 17170, 205956, 34513, 97109, 70, 23708, 183871, 787, 99929, 4677, 4527, 28864, ...
[ 0.201904296875, 0.1348876953125, 0.2257080078125, 0.0270233154296875, 0.1785888671875, 0.1607666015625, 0.11669921875, 0.06219482421875, 0.053466796875, 0.1920166015625, 0.263427734375, 0.0562744140625, 0.171630859375, 0.1591796875, 0.173583984375, 0.1337890625, 0.146484375, 0.2061...
embed
36504189_c0
36504189
fsharp
0
Title: F# better performance when mapping a 2DArray -&gt; arraymodule.mapindexed Problem title: F# better performance when mapping a 2DArray -&gt; arraymodule.mapindexed Tags: performance, f%23 Problem: F# better performance when mapping a 2DArray -> arraymodule.mapindexed What would be a more performant way to process...
F# better performance when mapping a 2DArray -&gt; arraymodule.mapindexed F# better performance when mapping a 2DArray -&gt; arraymodule.mapindexed performance f%23 arraymodule.mapindexed array2D Array2D.mapi F# better performance when mapping a 2DArray -> arraymodule.mapindexed What would be a more performant way to p...
[ -0.01080322265625, 0.0001621246337890625, -0.00153350830078125, 0.0045166015625, -0.003021240234375, -0.01336669921875, -0.00445556640625, -0.00433349609375, 0.0031585693359375, -0.01416015625, 0.0150146484375, 0.04150390625, -0.0118408203125, -0.004638671875, 0.006805419921875, -0.016...
[ 563, 4904, 11522, 23718, 291, 26783, 116, 7092, 5386, 10298, 53, 83279, 62346, 4711, 297, 6538, 42, 13, 1238, 3742, 304, 397, 69253, 192, 1434, 2806, 1286, 106018, 3917, 9433, 903, 15490, 138, 4216, 19085 ]
[ 0.143798828125, 0.215087890625, 0.111328125, 0.1639404296875, 0.172607421875, 0.112548828125, 0.15380859375, 0.2120361328125, 0.0716552734375, 0.1409912109375, 0.06658935546875, 0.1927490234375, 0.11376953125, 0.1533203125, 0.08624267578125, 0.00970458984375, 0.0291900634765625, 0....
embed
9410043_c0
9410043
fsharp
0
Title: stopword removal in F# Problem title: stopword removal in F# Tags: f%23-scripting, f%23 Problem: stopword removal in F# I am trying to write a code to remove stopwords like "the", "this" in a string list etc. I wrote this code: let rec public stopword (a : string list, b :string list) = match [a.Head] with |["th...
stopword removal in F# stopword removal in F# f%23-scripting f%23 a.Head a.Tail stopword removal in F# I am trying to write a code to remove stopwords like "the", "this" in a string list etc. I wrote this code: I ran this in the interactive: I got this error: This expression was expected to have type string list but he...
[ 0.0050048828125, 0.0130615234375, 0.0125732421875, 0.0205078125, -0.0137939453125, -0.00180816650390625, -0.01202392578125, 0.00096893310546875, 0.000690460205078125, 0.00128936767578125, 0.02001953125, 0.004119873046875, 0.00537109375, -0.0169677734375, 0.006591796875, -0.004669189453...
[ 7279, 47416, 49146, 1405, 23, 563, 4904, 1238, 27495, 32032, 3742, 10, 13025, 712, 9874, 379, 18151, 87388, 2347, 100231, 79315, 5303, 13028, 212398, 903, 18499, 125195, 509, 84751, 10644, 1284, 3688, 1556, 11, 661, 275 ]
[ 0.175537109375, 0.198974609375, 0.13720703125, 0.058135986328125, 0.03973388671875, 0.132568359375, 0.1998291015625, 0.07958984375, 0.069091796875, 0.07891845703125, 0.08038330078125, 0.06781005859375, 0.0838623046875, 0.0723876953125, 0.09783935546875, 0.06939697265625, 0.0651855468...
embed
14970144_c1
14970144
fsharp
1
) [0x00000] in <filename unknown>:0 Stopped due to error I don't understand what's going on. I expected this code to work since the type is comparable. Any clues? Code signals: NullReferenceException, System.TypeInitializationException, System.NullReferenceException, System.Exception, UnbalancedSet, Object, FSI_0004, S...
) [0x00000] in <filename unknown>:0 Stopped due to error I don't understand what's going on. I expected this code to work since the type is comparable. Any clues? Code signals: NullReferenceException, System.TypeInitializationException, System.NullReferenceException, System.Exception, UnbalancedSet, Object, FSI_0004, S...
[ 0.01031494140625, 0.0203857421875, 0.0009613037109375, 0.0067138671875, 0.003570556640625, 0.003814697265625, 0.0174560546875, -0.007080078125, -0.00897216796875, -0.00933837890625, -0.0031280517578125, 0.01446533203125, 0.0157470703125, -0.00628662109375, 0.02783203125, -0.01293945312...
[ 1388, 2389, 425, 181155, 23, 29822, 11627, 51, 69723, 19, 53861, 42284, 20051, 4743, 47, 18499, 2301, 18, 28219, 2367, 7730, 98, 84751, 903, 18151, 4488, 10644, 83, 215667, 28541, 29786, 90, 28864, 26073, 7, 1429, 1181, 69988, 63928, 1235...
[ 0.10589599609375, 0.07684326171875, 0.060546875, 0.2203369140625, 0.0860595703125, 0.15234375, 0.111083984375, 0.094482421875, 0.216796875, 0.08203125, 0.1800537109375, 0.189453125, 0.154052734375, 0.09796142578125, 0.05059814453125, 0.227294921875, 0.06158447265625, 0.088012695312...
embed
39207055_c0
39207055
fsharp
0
Title: Can I declare mutually recursive functions with attributes in F#? Problem title: Can I declare mutually recursive functions with attributes in F#? Tags: f%23 Problem: Can I declare mutually recursive functions with attributes in F#? So; this code compiles fine (although I wouldn't advise running it...): let rec ...
Can I declare mutually recursive functions with attributes in F#? Can I declare mutually recursive functions with attributes in F#? f%23 Can CompiledName SecondFunc Can I declare mutually recursive functions with attributes in F#? So; this code compiles fine (although I wouldn't advise running it...): But! This code do...
[ 0.007293701171875, -0.01031494140625, -0.001953125, 0.001800537109375, -0.00634765625, 0.00921630859375, -0.003662109375, 0.012451171875, -0.00016498565673828125, -0.0003681182861328125, -0.00653076171875, 0.02783203125, -0.0037689208984375, 0.0294189453125, 0.03369140625, 0.0009994506...
[ 4171, 87, 159978, 199849, 538, 195625, 5844, 32354, 678, 150380, 90, 23, 563, 4904, 7, 1238, 3949, 3742, 15612, 14, 6259, 163612, 77648, 97249, 18151, 9969, 1340, 5885, 68746, 18, 115992, 51042, 4966, 3293, 14602, 959, 3917, 4488, 10932, ...
[ 0.109130859375, 0.044952392578125, 0.218994140625, 0.1849365234375, 0.1324462890625, 0.2193603515625, 0.14501953125, 0.212646484375, 0.1510009765625, 0.2122802734375, 0.10888671875, 0.03955078125, 0.1492919921875, 0.225830078125, 0.039703369140625, 0.0804443359375, 0.02227783203125, ...
embed
53791467_c1
53791467
fsharp
1
-> 'a [] -> 'b [] , it can replaces 'a by FileInfo , so there must be info : FileInfo in the lambda fun info -> info.Length I can give an example where the type inference of F# shows that it's more capable than "left-to-right, top-to-bottom": // type inference ok: justF : int [] -> (int -> int -> 'a) -> 'a [] let just...
-> 'a [] -> 'b [] , it can replaces 'a by FileInfo , so there must be info : FileInfo in the lambda fun info -> info.Length I can give an example where the type inference of F# shows that it's more capable than "left-to-right, top-to-bottom": // type inference ok: justF : int [] -> (int -> int -> 'a) -> 'a [] let just...
[ 0.003448486328125, -0.002044677734375, 0.0021209716796875, 0.021240234375, -0.024658203125, 0.00064849853515625, 0.002685546875, 0.00177001953125, 0.006134033203125, -0.017578125, -0.01287841796875, -0.0123291015625, 0.0146484375, 0.01019287109375, 0.0218505859375, -0.01373291015625, ...
[ 33079, 11, 275, 831, 91995, 242, 42724, 93147, 8110, 186, 3004, 21, 6492, 85, 7477, 449, 927, 27781, 10644, 53498, 6620, 563, 4904, 45831, 1286, 87709, 3501, 2480, 188, 54969, 2663, 9190, 5928, 58, 3664, 1660, 919, 23, 18, 4288, 2606, ...
[ 0.0970458984375, 0.099853515625, 0.1363525390625, 0.03564453125, 0.150390625, 0.0243072509765625, 0.2288818359375, 0.244873046875, 0.0672607421875, 0.0321044921875, 0.1929931640625, 0.04351806640625, 0.1678466796875, 0.1068115234375, 0.1322021484375, 0.04547119140625, 0.0290222167968...
embed
52774910_c0
52774910
fsharp
0
Title: Using netcoreapp2.1 APIs from libraries Problem title: Using netcoreapp2.1 APIs from libraries Tags: .net-core, c%23, f%23 Problem: Using netcoreapp2.1 APIs from libraries I'd like to use the Span based GetBytes function available in netcoreapp2.1 from a library; this is pretty low-level code. So library L wants...
Using netcoreapp2.1 APIs from libraries Using netcoreapp2.1 APIs from libraries .net-core c%23 f%23 libraries Using netcoreapp2.1 APIs ReadOnlySpan Span Using netcoreapp2.1 APIs from libraries I'd like to use the Span based GetBytes function available in netcoreapp2.1 from a library; this is pretty low-level code. So l...
[ -0.01556396484375, 0.018798828125, -0.0032196044921875, 0.0177001953125, -0.0223388671875, -0.0179443359375, 0.00021457672119140625, -0.01495361328125, 0.018798828125, 0.0026702880859375, 0.007080078125, -0.0228271484375, -0.00872802734375, 0.0286865234375, 0.01348876953125, -0.0123291...
[ 345, 2043, 30854, 9007, 68107, 61687, 1295, 35773, 10484, 1179, 3742, 1238, 4764, 20320, 538, 3180, 63438, 7, 1884, 4527, 35509, 20779, 75358, 1636, 32354, 19882, 28875, 27226, 67919, 18151, 1294, 339, 86171, 9254, 61028, 23, 18, 645, 63033...
[ 0.0509033203125, 0.068115234375, 0.2093505859375, 0.1768798828125, 0.26123046875, 0.2001953125, 0.069580078125, 0.2122802734375, 0.1053466796875, 0.0753173828125, 0.05029296875, 0.0111083984375, 0.157958984375, 0.118896484375, 0.0816650390625, 0.2025146484375, 0.2315673828125, 0.02...
embed
6905251_c0
6905251
fsharp
0
Title: F# async - difference between two structure Problem title: F# async - difference between two structure Tags: asynchronous, f%23 Problem: F# async - difference between two structure Is there a difference between writing something like this: MailboxProcessor.Start(fun inbox -> async { let rec loop bugs = let! msg ...
F# async - difference between two structure F# async - difference between two structure asynchronous f%23 MailboxProcessor.Start inbox.Receive F# async - difference between two structure Is there a difference between writing something like this: And writing it like this: Thanks!
[ 0.006622314453125, 0.0086669921875, -0.00116729736328125, 0.01611328125, 0.002105712890625, 0.0067138671875, 0.0150146484375, 0.015869140625, 0.01806640625, -0.0191650390625, 0.028076171875, 0.048095703125, 0.00098419189453125, 0.003173828125, 0.035888671875, -0.00078582763671875, 0....
[ 563, 4904, 10, 12654, 238, 60212, 17721, 6626, 45646, 101966, 10821, 1238, 3742, 25919, 11728, 10752, 26531, 748, 126597, 23, 329, 5844, 2071, 2685, 32562, 9844, 1884, 903, 12, 3493, 442, 22362 ]
[ 0.1048583984375, 0.1827392578125, 0.0557861328125, 0.1878662109375, 0.130859375, 0.20361328125, 0.1383056640625, 0.107421875, 0.1959228515625, 0.1400146484375, 0.006805419921875, 0.07122802734375, 0.1075439453125, 0.0732421875, 0.1475830078125, 0.002685546875, 0.088134765625, 0.030...
embed
60834103_c0
60834103
fsharp
0
Title: Running an F# program in VS Code using the Ionide plugin Problem title: Running an F# program in VS Code using the Ionide plugin Tags: visual-studio-code, .net-core, centos, f%23, ionide Problem: Running an F# program in VS Code using the Ionide plugin I opened my project directory in VS Code. I set a breakpoint...
Running an F# program in VS Code using the Ionide plugin Running an F# program in VS Code using the Ionide plugin visual-studio-code .net-core centos f%23 ionide the Running Ionide Running an F# program in VS Code using the Ionide plugin I opened my project directory in VS Code. I set a breakpoint and pressed F5. Now I...
[ -0.0145263671875, -0.0023193359375, 0.01556396484375, 0.0169677734375, -0.000148773193359375, 0.0162353515625, 0.00238037109375, 0.0179443359375, -0.009521484375, -0.031982421875, 0.003997802734375, 0.0218505859375, -0.018798828125, 0.01416015625, 0.021484375, -0.0084228515625, -0.00...
[ 28398, 592, 563, 4904, 1528, 23, 44160, 28864, 17368, 37859, 2506, 69993, 21176, 52629, 40899, 6, 1179, 30854, 62712, 7, 1238, 3949, 3742, 45339, 70, 142, 142096, 13452, 14364, 53, 5423, 36356, 38496, 30501, 758, 4865, 5608, 20600, 4488, ...
[ 0.136474609375, 0.07818603515625, 0.14697265625, 0.226806640625, 0.130126953125, 0.033416748046875, 0.2255859375, 0.220947265625, 0.04443359375, 0.2470703125, 0.265625, 0.261474609375, 0.1527099609375, 0.146728515625, 0.1451416015625, 0.009521484375, 0.0936279296875, 0.087036132812...
embed
43905445_c0
43905445
fsharp
0
Title: F# JSON connected task Problem title: F# JSON connected task Tags: .net, f%23, functional-programming, json Problem: F# JSON connected task Suppose I have the following code for my custom union: type JSON = | Object of (string * JSON) list | Array of JSON list | Number of double | Boolean of bool | Null | String...
F# JSON connected task F# JSON connected task .net f%23 functional-programming json JSON Object Array Number Boolean F# JSON connected task Suppose I have the following code for my custom union: How can I implement the function 'find the sum of all numbers in JSON object'? let summarizer (tree : JSON) : int It should r...
[ -0.005889892578125, 0.01007080078125, 0.01019287109375, 0.025390625, -0.00531005859375, 0.0067138671875, -0.0225830078125, 0.0213623046875, 0.00909423828125, -0.020263671875, -0.017822265625, -0.003936767578125, -0.00823974609375, -0.00897216796875, 0.0223388671875, 0.0169677734375, ...
[ 563, 4904, 821, 58627, 162711, 66211, 1179, 1238, 3949, 3742, 123309, 28966, 1647, 1681, 134549, 69253, 53, 103332, 73783, 34677, 121691, 25632, 18151, 114122, 69941, 11249, 831, 29479, 32354, 111607, 70, 10554, 111, 756, 101935, 23, 36746, 2...
[ 0.113037109375, 0.1571044921875, 0.151611328125, 0.1956787109375, 0.167724609375, 0.188232421875, 0.130859375, 0.0777587890625, 0.008575439453125, 0.10198974609375, 0.1590576171875, 0.1134033203125, 0.129150390625, 0.1715087890625, 0.1387939453125, 0.050018310546875, 0.00946044921875...
embed
57681198_c1
57681198
fsharp
1
Console.ReadKey() |> ignore This is only a concept as I'm not even able to compile the project as im getting errors: "Unexpected symbol ',' in expression" "Unexpected symbol ')' in binding." I tried to find some similar approach to C#... For now what I want to achieve is just to assing the result of generate function ...
Console.ReadKey() |> ignore This is only a concept as I'm not even able to compile the project as im getting errors: "Unexpected symbol ',' in expression" "Unexpected symbol ')' in binding." I tried to find some similar approach to C#... For now what I want to achieve is just to assing the result of generate function ...
[ 0.0203857421875, 0.000553131103515625, -0.0003566741943359375, 0.00095367431640625, 0.0069580078125, 0.003753662109375, 0.00860595703125, -0.0208740234375, 0.029541015625, -0.0014495849609375, -0.004913330078125, 0.011962890625, -0.01409912109375, -0.00421142578125, 0.004547119140625, ...
[ 40777, 31345, 162429, 124962, 23755, 959, 19048, 9969, 1340, 13452, 18499, 14256, 83613, 13, 89829, 26582, 23, 125195, 128239, 21373, 51515, 4904, 3444, 69307, 10, 38001, 16750, 139392, 32354, 47, 77336, 360, 313, 6713, 1884, 3835, 21555, 266...
[ 0.1551513671875, 0.1689453125, 0.1943359375, 0.22119140625, 0.0994873046875, 0.000701904296875, 0.052825927734375, 0.0635986328125, 0.05108642578125, 0.100830078125, 0.1549072265625, 0.0274200439453125, 0.090576171875, 0.06854248046875, 0.113037109375, 0.220947265625, 0.0143737792968...
embed
35215018_c0
35215018
fsharp
0
Title: F# : A Class as an argument (Lucene.net 3.0.3) Problem title: F# : A Class as an argument (Lucene.net 3.0.3) Tags: f%23 Problem: F# : A Class as an argument (Lucene.net 3.0.3) Let's say i have an instruction : CharTermAttribute cattr = stream.addAttribute(CharTermAttribute.class); Note : CharTermAttribute.class ...
F# : A Class as an argument (Lucene.net 3.0.3) F# : A Class as an argument (Lucene.net 3.0.3) f%23 Lucene.net CharTermAttribute stream.addAttribute CharTermAttribute.class cattr:CharTermAttribute F# : A Class as an argument (Lucene.net 3.0.3) Let's say i have an instruction : Note : CharTermAttribute.class is a class I...
[ -0.020263671875, 0.00421142578125, -0.0018310546875, -0.019287109375, 0.00250244140625, -0.0052490234375, 0.0191650390625, -0.0035400390625, -0.0054931640625, -0.03125, 0.016357421875, -0.02490234375, -0.0120849609375, 0.0218505859375, -0.0028076171875, -0.0167236328125, 0.0008659362...
[ 563, 4904, 152, 62, 35014, 237, 142, 10750, 116742, 1151, 1179, 17596, 21320, 1238, 3949, 3742, 42041, 21656, 35484, 28848, 191145, 75973, 4028, 5, 67413, 4448, 84068, 39, 10842, 7, 5154, 17, 765, 188336, 18622, 83, 10, 18507, 360, 5809, ...
[ 0.13427734375, 0.2154541015625, 0.0256195068359375, 0.116455078125, 0.261474609375, 0.0992431640625, 0.06146240234375, 0.237060546875, 0.09906005859375, 0.15283203125, 0.083984375, 0.114501953125, 0.074462890625, 0.032806396484375, 0.00640869140625, 0.0999755859375, 0.1099853515625, ...
embed
11582313_c0
11582313
fsharp
0
Title: Partially apply the tuple function using List.map Problem title: Partially apply the tuple function using List.map Tags: f%23 Problem: Partially apply the tuple function using List.map Given a function that takes two arguments: let f (a:int) (b:int) : string = sprintf "%d %d" a b And a list of tuples: let myList...
Partially apply the tuple function using List.map Partially apply the tuple function using List.map f%23 List.map Partially a:int b:int Partially apply the tuple function using List.map Given a function that takes two arguments: And a list of tuples: How do I partially apply the tuple operator (||>) using a map? It see...
[ 0.004180908203125, 0.0017852783203125, 0.01043701171875, 0.01806640625, -0.01409912109375, 0.0015411376953125, -0.0028228759765625, -0.0208740234375, 0.01611328125, 0.00811767578125, 0.0120849609375, 0.007659912109375, -0.00872802734375, 0.02392578125, 0.004974365234375, -0.01672363281...
[ 9148, 25958, 59911, 370, 8705, 32354, 17368, 32036, 5, 62346, 1238, 3949, 3742, 10, 12, 4288, 876, 77878, 51776, 6626, 10750, 7, 5303, 99726, 11249, 54, 87, 2878, 70, 39933, 58745, 2740, 22288, 37202, 3871, 39531, 184, 27117 ]
[ 0.193603515625, 0.1654052734375, 0.1929931640625, 0.163818359375, 0.274169921875, 0.1876220703125, 0.09075927734375, 0.226318359375, 0.030670166015625, 0.2449951171875, 0.07806396484375, 0.037200927734375, 0.1358642578125, 0.090087890625, 0.0113525390625, 0.15576171875, 0.12475585937...
embed
5123342_c0
5123342
fsharp
0
Title: F# and WCF consumption Problem title: F# and WCF consumption Tags: wcf, f%23, c%23, asynchronous Problem: F# and WCF consumption I created a lib in C# with standard "Add Service Reference" dialog but methods which are implemented in it return void so i can't bind to them in async workflows. I can't use the inter...
F# and WCF consumption F# and WCF consumption wcf f%23 c%23 asynchronous WCF F# and WCF consumption I created a lib in C# with standard "Add Service Reference" dialog but methods which are implemented in it return void so i can't bind to them in async workflows. I can't use the interface with Begin* End* because every ...
[ -0.0034027099609375, 0.021240234375, -0.007659912109375, 0.0089111328125, -0.01190185546875, -0.0002727508544921875, -0.020751953125, 0.005706787109375, 0.0072021484375, -0.007293701171875, -0.00921630859375, 0.021240234375, 0.0106201171875, -0.00151824951171875, 0.0093994140625, -0.01...
[ 563, 4904, 136, 37808, 919, 18588, 254, 148, 67466, 1238, 3742, 12654, 101966, 75935, 25474, 313, 5570, 4028, 12349, 215996, 26519, 150624, 29479, 30646, 2292, 71, 831, 18, 68557, 47, 238, 4488, 118664, 4527, 101758, 121427, 1639, 18878, 11...
[ 0.1256103515625, 0.2373046875, 0.08856201171875, 0.1815185546875, 0.227783203125, 0.20458984375, 0.12255859375, 0.041168212890625, 0.1905517578125, 0.03411865234375, 0.115478515625, 0.1688232421875, 0.173828125, 0.047576904296875, 0.14501953125, 0.019989013671875, 0.09814453125, 0....
embed
66501801_c0
66501801
fsharp
0
Title: How use Lookup MongoDB in F# Problem title: How use Lookup MongoDB in F# Tags: c%23, f%23 Problem: How use Lookup MongoDB in F# I have the following in C# var pipe = collection .Aggregate() .Match(filter) .Lookup("entity", "localField", "foreignField", "as"); This works thanks to the implicit conversion, but F# ...
How use Lookup MongoDB in F# How use Lookup MongoDB in F# c%23 f%23 How Lookup MongoDB Aggregate Match collection.Aggregate How use Lookup MongoDB in F# I have the following in C# This works thanks to the implicit conversion, but F# does not support implicit conversion. How implement the above in F#? How to perform the...
[ 0.01806640625, 0.0135498046875, -0.003875732421875, 0.015869140625, -0.007049560546875, -0.01611328125, 0.0076904296875, 0.00020503997802734375, 0.0084228515625, -0.01416015625, 0.01434326171875, 0.04150390625, -0.01031494140625, -0.0206298828125, 0.033203125, -0.0162353515625, 0.016...
[ 11249, 4527, 60818, 2037, 7465, 519, 39463, 23, 563, 4904, 3742, 1238, 68722, 2182, 67407, 42486, 25632, 43240, 165164, 142477, 959, 8060, 29479, 51339, 143726, 1295, 79315, 117657, 187423, 943 ]
[ 0.058349609375, 0.1129150390625, 0.110595703125, 0.173828125, 0.0853271484375, 0.1754150390625, 0.2451171875, 0.024322509765625, 0.132568359375, 0.21533203125, 0.07904052734375, 0.01116943359375, 0.1337890625, 0.05401611328125, 0.1812744140625, 0.169189453125, 0.01104736328125, 0.0...
embed
10704993_c1
10704993
fsharp
1
interval that can be applied as: let hourlyTicks= seq { yield 0L; yield! readTicks @"EURUSD-history.zip" "EURUSD-2012-04.csv" } |> Seq.pairwise |> Seq.filter (opensTimespanF HOUR) |> Seq.map snd |> Seq.toList This approach being pure functional produces equivalent results with only a slight (~11%) performance penalty....
interval that can be applied as: let hourlyTicks= seq { yield 0L; yield! readTicks @"EURUSD-history.zip" "EURUSD-2012-04.csv" } |> Seq.pairwise |> Seq.filter (opensTimespanF HOUR) |> Seq.map snd |> Seq.toList This approach being pure functional produces equivalent results with only a slight (~11%) performance penalty....
[ 0.0025787353515625, 0.0164794921875, 0.00225830078125, -0.00176239013671875, -0.00872802734375, -0.0308837890625, -0.0194091796875, 0.00421142578125, -0.0035552978515625, -0.056640625, 0.0213623046875, 0.0198974609375, -0.01251220703125, 0.01214599609375, 0.02001953125, 0.0025482177734...
[ 51514, 450, 831, 190659, 237, 2633, 56816, 538, 16734, 22824, 1369, 40, 864, 11180, 19388, 757, 866, 38, 12301, 75063, 132312, 979, 86385, 50836, 54458, 39876, 334, 503, 109637, 90825, 120337, 59636, 70059, 19332, 919, 572, 76234, 62346, 22...
[ 0.2841796875, 0.0096435546875, 0.06005859375, 0.1787109375, 0.049560546875, 0.0482177734375, 0.196044921875, 0.07958984375, 0.157470703125, 0.1666259765625, 0.019927978515625, 0.083740234375, 0.1717529296875, 0.096923828125, 0.1829833984375, 0.10076904296875, 0.1048583984375, 0.010...
embed
72542555_c0
72542555
fsharp
0
Title: How re-use HttpClient F# Problem title: How re-use HttpClient F# Tags: http, f%23 Problem: How re-use HttpClient F# hello everyone i'm new in f# i created a starter project with giraffe and then i want to make post calls to another api and ran into the problem of reusing HttpClient and using sockets more efficie...
How re-use HttpClient F# How re-use HttpClient F# http f%23 How HttpClient Data JsonConvert.SerializeObject How re-use HttpClient F# hello everyone i'm new in f# i created a starter project with giraffe and then i want to make post calls to another api and ran into the problem of reusing HttpClient and using sockets mo...
[ -0.0220947265625, 0.02001953125, 0.00970458984375, 0.006927490234375, 0.020751953125, -0.0255126953125, -0.0002803802490234375, 0.0003509521484375, -0.005218505859375, -0.04150390625, 0.0262451171875, 0.0262451171875, -0.0034942626953125, -0.009521484375, 0.0264892578125, 0.00753784179...
[ 11249, 456, 9, 4032, 572, 3062, 254, 441, 150, 2517, 563, 4904, 1621, 1238, 3949, 3742, 11809, 821, 1681, 11935, 11549, 294, 25435, 119066, 46471, 75161, 33600, 30309, 3525, 75935, 44177, 13452, 678, 65603, 16670, 3444, 3249, 1305, 11782, ...
[ 0.1065673828125, 0.193115234375, 0.06939697265625, 0.2001953125, 0.0758056640625, 0.147216796875, 0.1429443359375, 0.1053466796875, 0.1934814453125, 0.180419921875, 0.1622314453125, 0.21337890625, 0.1143798828125, 0.091796875, 0.0028076171875, 0.06829833984375, 0.0765380859375, 0.0...
embed
19287857_c0
19287857
fsharp
0
Title: F# Deciphering a type with maps Problem title: F# Deciphering a type with maps Tags: f%23, dictionary Problem: F# Deciphering a type with maps I'm just starting out in F# and I'm wondering how to decipher the following types and what they represent from a book example: type subs = Map<string,exp> option type lp ...
F# Deciphering a type with maps F# Deciphering a type with maps f%23 dictionary Deciphering Map F# Deciphering a type with maps I'm just starting out in F# and I'm wondering how to decipher the following types and what they represent from a book example: I understand the sub type is simply a map with strings and an ass...
[ 0.0185546875, 0.01123046875, -0.0013885498046875, 0.00799560546875, -0.0283203125, 0.00250244140625, -0.0024566650390625, 0.0186767578125, 0.01190185546875, -0.00634765625, -0.004180908203125, -0.0172119140625, 0.011474609375, 0.0308837890625, -0.005859375, 0.01092529296875, 0.011230...
[ 563, 4904, 49132, 94266, 10644, 678, 22288, 214, 1238, 3742, 10763, 42719, 7, 72134, 1810, 149016, 3642, 32380, 25632, 52895, 2367, 33636, 1295, 12877, 27781, 28219, 1614, 83, 42856, 79315, 137272, 14700, 87, 13319, 4527, 103607, 96, 254, 9...
[ 0.124267578125, 0.2008056640625, 0.113037109375, 0.175048828125, 0.2225341796875, 0.09686279296875, 0.195556640625, 0.016448974609375, 0.044830322265625, 0.058837890625, 0.03668212890625, 0.1676025390625, 0.045989990234375, 0.015167236328125, 0.016876220703125, 0.0277099609375, 0.004...
embed
3009456_c0
3009456
fsharp
0
Title: F# interactive System.OutOfMemoryException Problem title: F# interactive System.OutOfMemoryException Tags: f%23-interactive, exception, memory, f%23 Problem: F# interactive System.OutOfMemoryException F# interactive throws System.OutOfMemoryException when loading large objects into memory. Exception is thrown at...
F# interactive System.OutOfMemoryException F# interactive System.OutOfMemoryException f%23-interactive exception memory f%23 System.OutOfMemoryException F# interactive System.OutOfMemoryException F# interactive throws System.OutOfMemoryException when loading large objects into memory. Exception is thrown at approximate...
[ 0.01422119140625, 0.00830078125, -0.0081787109375, -0.0020599365234375, 0.015625, 0.00151824951171875, 0.0023345947265625, 0.03955078125, -0.007568359375, -0.03125, 0.00003814697265625, -0.007293701171875, -0.0020294189453125, -0.0087890625, 0.041259765625, -0.01708984375, 0.02905273...
[ 563, 4904, 212398, 12353, 79858, 132887, 6696, 4514, 53, 19279, 63928, 1238, 167218, 27495, 10433, 71232, 131527, 98323, 3742, 104250, 5, 3229, 72367, 214, 21334, 36746, 3934, 5443, 83, 99, 189275, 41491, 158020, 11809, 5423, 41187, 5885, 8, ...
[ 0.168212890625, 0.24462890625, 0.218994140625, 0.186279296875, 0.220947265625, 0.25732421875, 0.1129150390625, 0.1551513671875, 0.0819091796875, 0.1090087890625, 0.2125244140625, 0.1182861328125, 0.020599365234375, 0.061065673828125, 0.1300048828125, 0.06524658203125, 0.1959228515625...
embed
35097828_c0
35097828
fsharp
0
Title: F# Recursive Functions: make list items unique Problem title: F# Recursive Functions: make list items unique Tags: f%23, list, recursion, tail-recursion Problem: F# Recursive Functions: make list items unique let rec isolate (l:'a list) = match l with | [] -> [] | x::xs -> if memberof(x,xs) then remove (x,l) els...
F# Recursive Functions: make list items unique F# Recursive Functions: make list items unique f%23 list recursion tail-recursion Recursive Functions x::xs F# Recursive Functions: make list items unique I've already created functions memberof and remove, the only problem is that when line 6 remove(x,l) executes it doesn...
[ -0.0123291015625, 0.0135498046875, 0.0240478515625, -0.020751953125, -0.017822265625, -0.00567626953125, 0.0025482177734375, -0.00103759765625, 0.004913330078125, 0.005523681640625, 0.01483154296875, 0.00469970703125, 0.0169677734375, -0.002349853515625, 0.009521484375, -0.008117675781...
[ 563, 4904, 853, 48650, 5844, 28670, 10763, 3249, 5303, 55769, 36998, 1238, 3742, 195625, 1830, 46741, 107, 1022, 425, 21771, 75935, 32354, 32786, 4390, 87388, 4734, 2967, 13315, 305, 4, 141, 71924, 18, 21342, 54015, 67, 7, 136475, 33938, ...
[ 0.058380126953125, 0.1319580078125, 0.042327880859375, 0.1727294921875, 0.059967041015625, 0.10302734375, 0.0289764404296875, 0.0848388671875, 0.177734375, 0.162109375, 0.218505859375, 0.052459716796875, 0.084716796875, 0.1768798828125, 0.00616455078125, 0.191650390625, 0.02513122558...
embed
39835419_c0
39835419
fsharp
0
Title: Visual Studio can&#x27;t find SQLProvider Problem title: Visual Studio can&#x27;t find SQLProvider Tags: type-providers, visual-studio, f%23 Problem: Visual Studio can't find SQLProvider For a recent project, I've decided to use the fsharp sql provider to access a MySql/MariaDb database I have. I've installed th...
Visual Studio can&#x27;t find SQLProvider Visual Studio can&#x27;t find SQLProvider type-providers visual-studio f%23 Visual Studio SQLProvider Visual Studio can't find SQLProvider For a recent project, I've decided to use the fsharp sql provider to access a MySql/MariaDb database I have. I've installed the nuget packa...
[ 0.0257568359375, 0.0296630859375, -0.0023345947265625, -0.000926971435546875, -0.018798828125, 0.02587890625, -0.005645751953125, -0.023193359375, -0.0157470703125, -0.0125732421875, 0.00138092041015625, -0.0003185272216796875, 0.0166015625, -0.0126953125, 0.00057220458984375, -0.01239...
[ 73372, 22968, 831, 3768, 18, 7413, 80866, 177997, 62160, 10644, 93136, 21176, 52629, 1238, 13452, 4527, 89280, 254, 99247, 81450, 17203, 2646, 294, 161749, 397, 275, 63399, 20600, 315, 3794, 98169, 44160, 5357, 91067, 93774, 3467, 137989, 5, ...
[ 0.2098388671875, 0.2332763671875, 0.0296630859375, 0.0435791015625, 0.06121826171875, 0.1512451171875, 0.2314453125, 0.220703125, 0.1990966796875, 0.135009765625, 0.1781005859375, 0.1707763671875, 0.1846923828125, 0.075927734375, 0.015899658203125, 0.0240020751953125, 0.1488037109375...
embed
40886482_c1
40886482
fsharp
1
no overloads match for method 'GetSlice', in particular mentioning that the type 'int' is not compatible with the type 'int option'. It thus seems to me that the compiler correctly infers that the slice notion should be converted to a GetSlice call, but somehow the arguments get mixed up. As an aside, I get the same p...
no overloads match for method 'GetSlice', in particular mentioning that the type 'int' is not compatible with the type 'int option'. It thus seems to me that the compiler correctly infers that the slice notion should be converted to a GetSlice call, but somehow the arguments get mixed up. As an aside, I get the same p...
[ 0.0002269744873046875, 0.01214599609375, 0.017333984375, 0.0032196044921875, -0.0274658203125, -0.0003261566162109375, -0.01080322265625, -0.006011962890625, 0.01318359375, 0.0015869140625, -0.00001895427703857422, 0.01904296875, -0.0244140625, 0.0027008056640625, 0.00592041015625, 0.0...
[ 110, 645, 63033, 7, 14858, 55300, 724, 126, 294, 13348, 10644, 4288, 959, 146731, 35829, 37202, 9969, 34759, 26785, 53498, 91, 117176, 20779, 11782, 209303, 10750, 17664, 1257, 5701, 2967, 9790, 29479, 1632, 157955, 28756, 21896, 7610, 13, ...
[ 0.0916748046875, 0.1483154296875, 0.262939453125, 0.010589599609375, 0.1627197265625, 0.124267578125, 0.055267333984375, 0.09100341796875, 0.083251953125, 0.2249755859375, 0.1533203125, 0.174560546875, 0.07763671875, 0.159423828125, 0.205078125, 0.021759033203125, 0.1041259765625, ...
embed
9899486_c0
9899486
fsharp
0
Title: FileHelpers CSV timespan Problem title: FileHelpers CSV timespan Tags: filehelpers, f%23 Problem: FileHelpers CSV timespan I'm parsing a CSV with the fileHelpers module in F#. Was wondering what the best approach to converting a time to the best format. I assumed the best format would be a timeSpan, however can'...
FileHelpers CSV timespan FileHelpers CSV timespan filehelpers f%23 FileHelpers CSV FileHelpers CSV timespan I'm parsing a CSV with the fileHelpers module in F#. Was wondering what the best approach to converting a time to the best format. I assumed the best format would be a timeSpan, however can't find a convertKind f...
[ -0.00640869140625, 0.01458740234375, 0.00013828277587890625, 0.0267333984375, -0.01239013671875, -0.004058837890625, -0.001434326171875, -0.00494384765625, -0.0279541015625, -0.0030517578125, -0.031982421875, 0.01446533203125, -0.0159912109375, 0.0250244140625, -0.016357421875, 0.01269...
[ 42724, 60785, 21777, 313, 43486, 1733, 19332, 11435, 73866, 1314, 1238, 3949, 3742, 366, 6953, 678, 88996, 563, 4904, 149016, 2965, 51515, 96760, 214, 47, 9384, 41591, 294, 3180, 7413, 605, 7250, 79315, 209, 25673, 2389, 33636, 444, 1657, ...
[ 0.11328125, 0.1815185546875, 0.18310546875, 0.081787109375, 0.2724609375, 0.2127685546875, 0.213134765625, 0.0850830078125, 0.1951904296875, 0.095458984375, 0.051116943359375, 0.051300048828125, 0.1248779296875, 0.1097412109375, 0.006500244140625, 0.0195159912109375, 0.11328125, 0....
embed
27365950_c0
27365950
fsharp
0
Title: Convert Tuple to Array in F# and Xamarin Problem title: Convert Tuple to Array in F# and Xamarin Tags: f%23, ios, xamarin Problem: Convert Tuple to Array in F# and Xamarin I have a call to AddSubviews which is defined as AddSubviews(views: UIView[]) which means it gets an array of UIViews. Then I have a call to ...
Convert Tuple to Array in F# and Xamarin Convert Tuple to Array in F# and Xamarin f%23 ios xamarin Convert Tuple Array Xamarin AddSubviews UIView this.View.AddSubviews Convert Tuple to Array in F# and Xamarin I have a call to AddSubviews which is defined as AddSubviews(views: UIView[]) which means it gets an array of U...
[ 0.0233154296875, 0.0208740234375, -0.006134033203125, -0.002899169921875, -0.004730224609375, -0.00075531005859375, -0.0224609375, 0.00762939453125, 0.01708984375, -0.01416015625, 0.014892578125, -0.01287841796875, 0.00189208984375, 0.031494140625, -0.006317138671875, -0.00424194335937...
[ 1657, 11549, 1371, 8705, 47, 69253, 53, 563, 4904, 136, 8606, 44503, 23, 1238, 3742, 232, 2459, 29117, 96472, 22751, 111481, 100474, 903, 4028, 11782, 61924, 10298, 55300, 501, 370, 31247, 171859, 209303, 117176, 3934, 53383 ]
[ 0.0257415771484375, 0.1263427734375, 0.170166015625, 0.2587890625, 0.0570068359375, 0.2073974609375, 0.2115478515625, 0.0997314453125, 0.1514892578125, 0.0153656005859375, 0.123291015625, 0.2210693359375, 0.0135498046875, 0.0210113525390625, 0.0872802734375, 0.0401611328125, 0.072021...
embed
52906508_c0
52906508
fsharp
0
Title: Not able to use FSI on VS code Problem title: Not able to use FSI on VS code Tags: ionide, f%23, visual-studio-code Problem: Not able to use FSI on VS code since few days, I'm not able to use FSharp Interactive interpreter(Alt + Enter), it's giving me this message: *Failed to spawn FSI, please ensure it's in PAT...
Not able to use FSI on VS code Not able to use FSI on VS code ionide f%23 visual-studio-code Not FSI Failed PATH ENONNREFUSED Ubuntu Visual Studio Ionide-sharp Not able to use FSI on VS code since few days, I'm not able to use FSharp Interactive interpreter(Alt + Enter), it's giving me this message: *Failed to spawn FS...
[ -0.00762939453125, 0.0206298828125, 0.00994873046875, 0.006011962890625, -0.0023193359375, -0.0084228515625, -0.0035247802734375, 0.00946044921875, -0.008544921875, -0.01611328125, 0.00179290771484375, 0.006988525390625, -0.00579833984375, 0.0252685546875, 0.012451171875, -0.0067443847...
[ 11205, 19048, 4527, 563, 9902, 98, 44160, 18151, 45339, 2506, 1238, 3949, 3742, 21176, 52629, 40899, 190355, 436, 139909, 141108, 24455, 11766, 47744, 116890, 73372, 22968, 37859, 89280, 254, 959, 93774, 3467, 5337, 71232, 29481, 56, 72098, 9...
[ 0.083740234375, 0.1405029296875, 0.1707763671875, 0.1719970703125, 0.27294921875, 0.0982666015625, 0.2318115234375, 0.2193603515625, 0.154052734375, 0.2061767578125, 0.119873046875, 0.030517578125, 0.1500244140625, 0.18701171875, 0.1614990234375, 0.1907958984375, 0.13525390625, 0.0...
embed
39430546_c0
39430546
fsharp
0
Title: How can I determine if a list of discriminated union types are of the same case? Problem title: How can I determine if a list of discriminated union types are of the same case? Tags: f%23 Problem: How can I determine if a list of discriminated union types are of the same case? Suppose I have a DU like so: type D...
How can I determine if a list of discriminated union types are of the same case? How can I determine if a list of discriminated union types are of the same case? f%23 How Number Word How can I determine if a list of discriminated union types are of the same case? Suppose I have a DU like so: And suppose I create a list...
[ -0.01129150390625, 0.00101470947265625, 0.00982666015625, 0.0078125, -0.004180908203125, -0.0130615234375, -0.01007080078125, -0.01300048828125, 0.0279541015625, 0.0172119140625, -0.002197265625, 0.0042724609375, 0.0257568359375, -0.0042724609375, -0.0260009765625, 0.00360107421875, ...
[ 11249, 831, 87, 83324, 2174, 5303, 55970, 3674, 69941, 52895, 111, 5701, 7225, 621, 1238, 3949, 3742, 103332, 22543, 10, 121691, 14614, 1884, 221, 139124, 28282, 2856, 33022, 32354, 30646, 29568, 7, 756, 80854, 36917, 98320 ]
[ 0.0794677734375, 0.058807373046875, 0.047393798828125, 0.1815185546875, 0.0845947265625, 0.1656494140625, 0.2342529296875, 0.1112060546875, 0.201904296875, 0.2056884765625, 0.079833984375, 0.1702880859375, 0.1456298828125, 0.038482666015625, 0.0423583984375, 0.012054443359375, 0.0836...
embed
33061612_c0
33061612
fsharp
0
Title: F# determine if a number is an Armstrong number Problem title: F# determine if a number is an Armstrong number Tags: f%23 Problem: F# determine if a number is an Armstrong number I'm trying to write an fsharp function to see if a number is an "armstrong" number: A positive integer is an Armstrong number if it is...
F# determine if a number is an Armstrong number F# determine if a number is an Armstrong number f%23 Armstrong F# determine if a number is an Armstrong number I'm trying to write an fsharp function to see if a number is an "armstrong" number: A positive integer is an Armstrong number if it is equal to the sum of the cu...
[ -0.005340576171875, 0.000579833984375, 0.00860595703125, 0.01123046875, -0.01129150390625, 0.01409912109375, 0.00025177001953125, 0.0189208984375, 0.003204345703125, -0.009033203125, 0.0015869140625, -0.011474609375, -0.021240234375, 0.019775390625, -0.007476806640625, -0.0055236816406...
[ 563, 4904, 83324, 2174, 14012, 83, 142, 191011, 1238, 3949, 3742, 10, 31577, 33022, 89280, 254, 32354, 1957, 56859, 6639, 449, 24491, 892, 1505, 105950, 10554, 314, 7438, 111, 6863, 153939, 5117, 6044, 106, 17932, 76427, 27781, 8353, 363, ...
[ 0.123046875, 0.19091796875, 0.1285400390625, 0.1043701171875, 0.218505859375, 0.1300048828125, 0.089599609375, 0.31787109375, 0.11865234375, 0.0264434814453125, 0.1414794921875, 0.0149383544921875, 0.030517578125, 0.05133056640625, 0.1668701171875, 0.142578125, 0.1192626953125, 0.0...
embed
21238972_c1
21238972
fsharp
1
list. So if my staring point was today at 10:50, and I was looking for 8 values the resulting sequence that I would like to build is today 10:48, today 10:36, today 10:24, today 10:12, today 10:00, yesterday 11:00, yesterday 10:48, yesterday 10:36 I'm driving myself crazy trying to cyclically reuse the TimeSpans again...
list. So if my staring point was today at 10:50, and I was looking for 8 values the resulting sequence that I would like to build is today 10:48, today 10:36, today 10:24, today 10:12, today 10:00, yesterday 11:00, yesterday 10:48, yesterday 10:36 I'm driving myself crazy trying to cyclically reuse the TimeSpans again...
[ -0.001495361328125, 0.04150390625, -0.01397705078125, 0.02099609375, -0.021484375, -0.0103759765625, -0.0096435546875, 0.0024261474609375, 0.013427734375, -0.03515625, 0.004791259765625, 0.03515625, -0.0078125, 0.0252685546875, 0.00116729736328125, 0.00469970703125, -0.0078125, -0....
[ 5303, 2174, 759, 6057, 214, 6275, 18925, 99, 209, 23837, 16487, 100, 382, 142424, 16750, 40, 944, 3956, 87, 2806, 1884, 45367, 83, 34605, 32944, 25732, 20927, 26694, 131101, 43981, 132442, 35978, 116666, 31577, 19932, 34937, 156883, 70, 190...
[ 0.256591796875, 0.052642822265625, 0.01336669921875, 0.1693115234375, 0.1390380859375, 0.1512451171875, 0.226806640625, 0.03460693359375, 0.1666259765625, 0.244140625, 0.1390380859375, 0.0621337890625, 0.2022705078125, 0.22265625, 0.07244873046875, 0.0643310546875, 0.156494140625, ...
embed
20779413_c0
20779413
fsharp
0
Title: Is it possible to use System.Type as static parameter in F# type provider? Problem title: Is it possible to use System.Type as static parameter in F# type provider? Tags: f%23, type-providers Problem: Is it possible to use System.Type as static parameter in F# type provider? I was wondering is it possible to use...
Is it possible to use System.Type as static parameter in F# type provider? Is it possible to use System.Type as static parameter in F# type provider? f%23 type-providers System.Type HelperType HelperProvider Is it possible to use System.Type as static parameter in F# type provider? I was wondering is it possible to use...
[ 0.00022602081298828125, 0.00799560546875, 0.012939453125, -0.012939453125, -0.02587890625, 0.00021076202392578125, -0.004150390625, -0.01019287109375, -0.0115966796875, -0.044677734375, -0.0224609375, -0.02734375, 0.00177764892578125, -0.00823974609375, 0.017822265625, -0.0166015625, ...
[ 2071, 442, 7722, 4527, 12353, 5, 196707, 237, 201939, 171859, 563, 4904, 10644, 81450, 1238, 3742, 93136, 39527, 56, 177997, 62160, 23, 149016, 33022, 6528, 2633, 12663, 4358, 35509, 17777 ]
[ 0.03387451171875, 0.021575927734375, 0.15771484375, 0.101806640625, 0.185546875, 0.0638427734375, 0.288818359375, 0.055419921875, 0.2078857421875, 0.2010498046875, 0.10107421875, 0.181884765625, 0.175537109375, 0.212646484375, 0.046112060546875, 0.06494140625, 0.1146240234375, 0.15...
embed
15210254_c0
15210254
fsharp
0
Title: Run F# code in C# - (Like C# in C# using Roslyn) Problem title: Run F# code in C# - (Like C# in C# using Roslyn) Tags: f%23, .net, roslyn, c%23 Problem: Run F# code in C# - (Like C# in C# using Roslyn) Is there a way to run F# code in C#? I have written an app in C# - I'd like to provide it the ability to execut...
Run F# code in C# - (Like C# in C# using Roslyn) Run F# code in C# - (Like C# in C# using Roslyn) f%23 .net roslyn c%23 Roslyn Run Like Run F# code in C# - (Like C# in C# using Roslyn) Is there a way to run F# code in C#? I have written an app in C# - I'd like to provide it the ability to execute F#, read Record object...
[ 0.002105712890625, 0.0216064453125, -0.0047607421875, 0.01177978515625, -0.0037689208984375, -0.00179290771484375, -0.00139617919921875, -0.0031280517578125, 0.0018310546875, -0.03564453125, -0.0002536773681640625, 0.02001953125, -0.0108642578125, 0.015869140625, -0.00213623046875, 0.0...
[ 28398, 563, 4904, 18151, 23, 313, 156607, 17368, 12015, 12536, 1238, 3949, 3742, 1179, 19429, 18852, 2071, 2685, 10, 3917, 47, 11675, 765, 59121, 4027, 1884, 22691, 81273, 71924, 12301, 54877, 36746, 189085, 5303, 1295, 43581, 29806, 903, 2...
[ 0.198486328125, 0.1923828125, 0.26025390625, 0.2548828125, 0.141845703125, 0.1243896484375, 0.1087646484375, 0.031890869140625, 0.1732177734375, 0.219482421875, 0.10107421875, 0.0045166015625, 0.07330322265625, 0.14453125, 0.1202392578125, 0.1484375, 0.031585693359375, 0.0512084960...
embed
53070089_c0
53070089
fsharp
0
Title: How to use Span in F# interactive? Problem title: How to use Span in F# interactive? Tags: f%23, f%23-scripting, f%23-interactive, .net-core Problem: How to use Span in F# interactive? I try to add reference to System.Memory by #r "C:/Program Files/dotnet/shared/Microsoft.NETCore.App/2.1.5/System.Memory.dll" But...
How to use Span in F# interactive? How to use Span in F# interactive? f%23 f%23-scripting f%23-interactive .net-core How Span System.Memory Program Files Microsoft.NETCore.App System.Memory.dll Memory How to use Span in F# interactive? I try to add reference to System.Memory by But F# interactive still says The value o...
[ -0.0244140625, 0.026123046875, -0.0026397705078125, 0.0238037109375, 0.003021240234375, 0.00177001953125, -0.01025390625, 0.00144195556640625, -0.017578125, -0.026611328125, -0.01019287109375, 0.01129150390625, -0.01214599609375, 0.01324462890625, 0.0125732421875, -0.0052490234375, 0...
[ 11249, 47, 4527, 63438, 23, 563, 4904, 212398, 1238, 3742, 27495, 32032, 10433, 71232, 1179, 30854, 12353, 6696, 4514, 53, 7663, 42724, 7244, 17777, 50886, 13, 39179, 1181, 172681, 9790, 15190, 91067, 5, 390, 7464, 34292, 64549, 748, 294, ...
[ 0.06256103515625, 0.036376953125, 0.1505126953125, 0.30859375, 0.091796875, 0.143798828125, 0.207275390625, 0.2196044921875, 0.0916748046875, 0.08624267578125, 0.03692626953125, 0.044586181640625, 0.07244873046875, 0.059051513671875, 0.0750732421875, 0.10614013671875, 0.13330078125, ...
embed
8222759_c0
8222759
fsharp
0
Title: Usage of parenthesis in F# Problem title: Usage of parenthesis in F# Tags: f%23 Problem: Usage of parenthesis in F# I am having an issue understanding the usage of parenthesis in F#. To illustrate with a simple example, the 2 following console apps behave very differently. The first one doesn't wait for me to ty...
Usage of parenthesis in F# Usage of parenthesis in F# f%23 Usage System Main Console.WriteLine Hello Console.ReadLine Usage of parenthesis in F# I am having an issue understanding the usage of parenthesis in F#. To illustrate with a simple example, the 2 following console apps behave very differently. The first one doe...
[ 0.004638671875, -0.006103515625, -0.00043487548828125, 0.0185546875, -0.004302978515625, -0.00182342529296875, 0.01385498046875, -0.00897216796875, -0.0059814453125, -0.0205078125, 0.004058837890625, -0.0289306640625, -0.0191650390625, 0.017578125, 0.0194091796875, 0.002655029296875, ...
[ 70166, 49129, 160291, 7, 23, 563, 4904, 1238, 3949, 3742, 12353, 12321, 1657, 40777, 18781, 93232, 35378, 31345, 111, 100094, 127689, 58755, 27781, 116, 25632, 130250, 49966, 68991, 4552, 12921, 22027, 18, 40485, 163, 47, 10644, 23937, 17932,...
[ 0.16162109375, 0.2113037109375, 0.2471923828125, 0.1220703125, 0.0712890625, 0.178955078125, 0.246337890625, 0.1173095703125, 0.0126953125, 0.1019287109375, 0.05352783203125, 0.01239013671875, 0.04718017578125, 0.18408203125, 0.0172882080078125, 0.1422119140625, 0.1053466796875, 0....
embed
9500691_c0
9500691
fsharp
0
Title: Static function in fsharp on usual classes Problem title: Static function in fsharp on usual classes Tags: extension-methods, f%23, static-methods Problem: Static function in fsharp on usual classes I constantly call static methods calling the static class, and this seems unnatural to me: let l = Seq.length myse...
Static function in fsharp on usual classes Static function in fsharp on usual classes extension-methods f%23 static-methods Static Seq.length myseq.length Static function in fsharp on usual classes I constantly call static methods calling the static class, and this seems unnatural to me: It would be more natural to me ...
[ 0.00311279296875, 0.03662109375, 0.034912109375, -0.0191650390625, -0.00131988525390625, -0.00482177734375, -0.013427734375, 0.01312255859375, 0.0005340576171875, -0.060302734375, -0.0194091796875, 0.0206298828125, -0.0045166015625, 0.02587890625, 0.01153564453125, -0.0179443359375, ...
[ 71465, 238, 32354, 1238, 89280, 254, 98, 115723, 61112, 111938, 1928, 7352, 3742, 201939, 864, 23986, 759, 184, 178308, 11782, 6, 150624, 159029, 18507, 37202, 84832, 6083, 5941, 3647, 756, 19882, 191082, 237, 110527, 55300, 15490, 32562 ]
[ 0.2152099609375, 0.081298828125, 0.1285400390625, 0.061614990234375, 0.1495361328125, 0.1307373046875, 0.01251220703125, 0.15673828125, 0.1478271484375, 0.129150390625, 0.051116943359375, 0.1298828125, 0.0611572265625, 0.233154296875, 0.0960693359375, 0.049835205078125, 0.07775878906...
embed
44249256_c2
44249256
fsharp
2
, PropertyGroup, OutputType, Exe, TargetFramework, ItemGroup, Compile, Include, Program.fs, ProjectReference, Library.fsproj, PackageReference, FSharp.Core, Version, PrivateAssets, All, System, EntryPoint, Stats.ema, netstandard2.0, Library.fs, Library.Stats, prevEma:float, values:float, Users, Microsoft, Build, Engine...
, PropertyGroup, OutputType, Exe, TargetFramework, ItemGroup, Compile, Include, Program.fs, ProjectReference, Library.fsproj, PackageReference, FSharp.Core, Version, PrivateAssets, All, System, EntryPoint, Stats.ema, netstandard2.0, Library.fs, Library.Stats, prevEma:float, values:float, Users, Microsoft, Build, Engine...
[ -0.00016498565673828125, 0.006256103515625, -0.01422119140625, 0.0026092529296875, -0.01202392578125, 0.00714111328125, -0.0255126953125, -0.01129150390625, 0.01177978515625, 0.0439453125, 0.011474609375, 0.004730224609375, -0.00048828125, 0.00970458984375, 0.0115966796875, -0.00643920...
[ 6, 4, 206984, 205072, 13538, 7077, 196707, 5443, 13, 160017, 108386, 282, 18244, 78426, 15612, 1340, 8942, 822, 112, 7663, 5, 17447, 27331, 4332, 69988, 103835, 3454, 170, 56607, 93774, 3467, 254, 50886, 40647, 86111, 53975, 3164, 12353, 35...
[ 0.0712890625, 0.0928955078125, 0.202880859375, 0.22607421875, 0.1405029296875, 0.09716796875, 0.2188720703125, 0.16162109375, 0.1090087890625, 0.2275390625, 0.1024169921875, 0.05029296875, 0.1365966796875, 0.18017578125, 0.130859375, 0.1866455078125, 0.010009765625, 0.0921630859375...
embed
68235494_c0
68235494
fsharp
0
Title: F# dynamic operator with special left argument Problem title: F# dynamic operator with special left argument Tags: dynamic, f%23 Problem: F# dynamic operator with special left argument In the following F# snippet let (?) (map : Map<string, string>) (key : string) = map.[key] let map = [("aKey", "aValue"); ("anot...
F# dynamic operator with special left argument F# dynamic operator with special left argument dynamic f%23 Map Key Value Map.ofList How F# dynamic operator with special left argument In the following F# snippet what is the correct syntax for line let d = map?... ?
[ 0.0230712890625, -0.00099945068359375, 0.0301513671875, -0.0169677734375, -0.00015735626220703125, -0.004547119140625, -0.008056640625, 0.02392578125, 0.0010223388671875, -0.0037841796875, 0.00885009765625, 0.0145263671875, -0.00775146484375, -0.0012054443359375, 0.0015411376953125, -0...
[ 563, 4904, 84079, 39933, 678, 5361, 25737, 10750, 1238, 3949, 3742, 42719, 26824, 190060, 4390, 154663, 11249, 25632, 93, 58134, 26785, 6002, 86531, 13315, 2633, 104, 2203, 22288 ]
[ 0.1241455078125, 0.20556640625, 0.215087890625, 0.21630859375, 0.03466796875, 0.146728515625, 0.2105712890625, 0.2288818359375, 0.0924072265625, 0.0151824951171875, 0.13232421875, 0.1739501953125, 0.0933837890625, 0.15283203125, 0.1119384765625, 0.1224365234375, 0.0322265625, 0.013...
embed
38338515_c0
38338515
fsharp
0
Title: Why does printfn print immediately in f#? Problem title: Why does printfn print immediately in f#? Tags: f%23 Problem: Why does printfn print immediately in f#? When I run the following bit of code, I get 5050 printed out from mySum. I've defined mySum, but never invoked it. How can it print at all? Maybe this i...
Why does printfn print immediately in f#? Why does printfn print immediately in f#? f%23 Why List.sum EntryPoint Why does printfn print immediately in f#? When I run the following bit of code, I get 5050 printed out from mySum. I've defined mySum, but never invoked it. How can it print at all? Maybe this is weird becau...
[ 0.00848388671875, 0.00482177734375, 0.02392578125, 0.0013275146484375, -0.021728515625, 0.0218505859375, 0.01904296875, -0.0130615234375, -0.0027313232421875, -0.03125, 0.01446533203125, -0.006195068359375, -0.0003662109375, -0.00012874603271484375, 0.0115966796875, 0.0029754638671875,...
[ 44084, 28412, 14783, 109312, 1238, 4904, 23, 3742, 32036, 11832, 357, 15123, 147534, 14602, 11675, 25632, 4785, 18151, 836, 2525, 297, 1810, 1295, 759, 294, 316, 272, 61924, 1284, 8306, 23253, 442, 11249, 831, 756, 179459, 76615, 20625, 142...
[ 0.1007080078125, 0.1998291015625, 0.219970703125, 0.18603515625, 0.1361083984375, 0.196533203125, 0.040008544921875, 0.0882568359375, 0.146728515625, 0.1971435546875, 0.052825927734375, 0.14404296875, 0.1402587890625, 0.01678466796875, 0.045989990234375, 0.0275726318359375, 0.0837402...
embed
39382143_c0
39382143
fsharp
0
Title: Deedle, multiplying columns of a frame by scalar values Problem title: Deedle, multiplying columns of a frame by scalar values Tags: f%23, deedle Problem: Deedle, multiplying columns of a frame by scalar values Suppose you have a dictionary of weights that need to by multiplied by the respective column of a deed...
Deedle, multiplying columns of a frame by scalar values Deedle, multiplying columns of a frame by scalar values f%23 deedle Deedle pd.DataFrame np.ones pd.Series Deedle, multiplying columns of a frame by scalar values Suppose you have a dictionary of weights that need to by multiplied by the respective column of a deed...
[ 0.0146484375, 0.02197265625, -0.01287841796875, 0.01904296875, -0.018798828125, -0.01165771484375, 0.004058837890625, 0.010986328125, -0.006744384765625, -0.00665283203125, -0.01025390625, 0.008056640625, -0.031494140625, -0.01092529296875, -0.00194549560546875, 0.00897216796875, 0.0...
[ 262, 297, 133, 4, 6024, 62479, 3365, 316, 1779, 123789, 390, 146232, 42, 142424, 214, 1238, 3949, 3742, 8, 71, 137989, 108386, 25037, 25749, 915, 138724, 121691, 45, 10763, 6635, 111, 57888, 3871, 47, 118126, 107013, 360, 17198, 50828, 28...
[ 0.1812744140625, 0.234130859375, 0.257568359375, 0.0179290771484375, 0.13916015625, 0.18896484375, 0.1510009765625, 0.179931640625, 0.0870361328125, 0.2205810546875, 0.098388671875, 0.164794921875, 0.1329345703125, 0.165283203125, 0.032623291015625, 0.0943603515625, 0.056488037109375...
embed
19069835_c0
19069835
fsharp
0
Title: How do I deal with IEnumerable in F#? Problem title: How do I deal with IEnumerable in F#? Tags: f%23 Problem: How do I deal with IEnumerable in F#? There are quite a few legacy interfaces that get collections of entities in form of plain IEnumerable . Commonly one would do foreach(CertainTypeWeSureItemIs item i...
How do I deal with IEnumerable in F#? How do I deal with IEnumerable in F#? f%23 How IEnumerable CertainTypeWeSureItemIs How do I deal with IEnumerable in F#? There are quite a few legacy interfaces that get collections of entities in form of plain IEnumerable . Commonly one would do foreach(CertainTypeWeSureItemIs ite...
[ 0.01153564453125, 0.00543212890625, -0.005706787109375, -0.00156402587890625, 0.01055908203125, 0.007171630859375, -0.0032958984375, 0.0048828125, 0.010498046875, -0.039306640625, 0.01214599609375, 0.0026702880859375, -0.01141357421875, 0.01483154296875, 0.00213623046875, -0.0048217773...
[ 11249, 35142, 678, 75536, 2606, 56, 2886, 563, 4904, 54, 87, 23, 1238, 3742, 8759, 25500, 196707, 12137, 294, 3408, 2982, 29598, 3257, 101758, 2046, 42486, 77630, 2449, 3173, 111719, 151301, 100, 41581, 35735, 55769, 313, 176050, 36746, 897...
[ 0.041107177734375, 0.136474609375, 0.10595703125, 0.1771240234375, 0.230224609375, 0.1668701171875, 0.1749267578125, 0.135986328125, 0.208984375, 0.004547119140625, 0.013397216796875, 0.0447998046875, 0.038360595703125, 0.05255126953125, 0.10760498046875, 0.149169921875, 0.1896972656...
embed
9557293_c0
9557293
fsharp
0
Title: Is it possible to write a JIT compiler (to native code) entirely in a managed .NET language Problem title: Is it possible to write a JIT compiler (to native code) entirely in a managed .NET language Tags: f%23, jit, c%23, .net Problem: Is it possible to write a JIT compiler (to native code) entirely in a managed...
Is it possible to write a JIT compiler (to native code) entirely in a managed .NET language Is it possible to write a JIT compiler (to native code) entirely in a managed .NET language f%23 jit c%23 .net JIT NET Is it possible to write a JIT compiler (to native code) entirely in a managed .NET language I'm toying with t...
[ -0.01092529296875, 0.02734375, -0.01025390625, 0.000797271728515625, -0.0145263671875, 0.0150146484375, -0.0034332275390625, -0.0081787109375, -0.01153564453125, -0.0400390625, -0.0244140625, 0.014404296875, 0.00701904296875, -0.00020313262939453125, 0.00970458984375, -0.00182342529296...
[ 2071, 442, 7722, 33022, 821, 6371, 9969, 34759, 188, 24, 4935, 18151, 167969, 23, 145755, 5, 17777, 46876, 3742, 890, 18, 1179, 47, 32562, 3790, 2264, 28271, 13580, 24145, 139392, 93457, 42, 3934, 390, 67, 10298, 53, 3642, 88203, 9842, ...
[ 0.058990478515625, 0.04730224609375, 0.16796875, 0.177978515625, 0.184326171875, 0.252685546875, 0.17138671875, 0.197509765625, 0.087646484375, 0.1307373046875, 0.1444091796875, 0.1588134765625, 0.137451171875, 0.037384033203125, 0.1982421875, 0.045684814453125, 0.171142578125, 0.1...
embed
1150157_c0
1150157
fsharp
0
Title: Synchronization of SortedDictionary.iteri using readlock and writelock Problem title: Synchronization of SortedDictionary.iteri using readlock and writelock Tags: sorteddictionary, f%23, locking, synchronization Problem: Synchronization of SortedDictionary.iteri using readlock and writelock let info = new Sorted...
Synchronization of SortedDictionary.iteri using readlock and writelock Synchronization of SortedDictionary.iteri using readlock and writelock sorteddictionary f%23 locking synchronization readlock Synchronization SortedDictionary.iteri SortedDictionary Thread info.Add Seq.iteri Synchronization of SortedDictionary.iteri...
[ -0.02783203125, 0.0037384033203125, 0.0031280517578125, -0.0419921875, -0.02294921875, -0.003265380859375, 0.0106201171875, -0.000949859619140625, -0.0115966796875, -0.03662109375, -0.0002613067626953125, 0.03173828125, -0.006866455078125, -0.002716064453125, 0.035400390625, -0.0062866...
[ 19010, 101966, 47691, 53666, 297, 14055, 10763, 6635, 14, 14465, 17368, 12301, 21135, 136, 33022, 17497, 1238, 3949, 3742, 56776, 214, 200470, 136719, 3004, 4028, 864, 78662, 3687, 70, 209848, 4527, 17, 32354 ]
[ 0.093505859375, 0.159423828125, 0.0908203125, 0.1602783203125, 0.1123046875, 0.045074462890625, 0.1444091796875, 0.0175018310546875, 0.0882568359375, 0.304931640625, 0.07293701171875, 0.180419921875, 0.2440185546875, 0.100830078125, 0.1234130859375, 0.1624755859375, 0.06500244140625,...
embed
31560490_c0
31560490
fsharp
0
Title: Different between Array.zeroCreate and Array.create in F# Problem title: Different between Array.zeroCreate and Array.create in F# Tags: arrays, f%23 Problem: Different between Array.zeroCreate and Array.create in F# I am tring to create byte array and I used below line of code. 1. let mutable buffer = Array.zer...
Different between Array.zeroCreate and Array.create in F# Different between Array.zeroCreate and Array.create in F# arrays f%23 Different Array.zeroCreate Array.create Showing Different between Array.zeroCreate and Array.create in F# I am tring to create byte array and I used below line of code. Please let me know whic...
[ 0.0177001953125, -0.01318359375, -0.005218505859375, 0.02587890625, -0.018310546875, -0.01129150390625, 0.0115966796875, -0.00131988525390625, 0.0009307861328125, 0.0693359375, 0.01422119140625, -0.01953125, 0.006561279296875, -0.00494384765625, -0.00384521484375, -0.0286865234375, 0...
[ 242520, 17721, 69253, 53, 5, 80510, 63784, 2182, 136, 7612, 23, 563, 4904, 10298, 4778, 1238, 3949, 3742, 449, 28282, 390, 67, 11814, 35064, 13315, 111, 18151, 3917, 202319, 16648, 12921, 116 ]
[ 0.2049560546875, 0.1375732421875, 0.19677734375, 0.165283203125, 0.04669189453125, 0.2275390625, 0.2237548828125, 0.1875, 0.0926513671875, 0.199462890625, 0.0628662109375, 0.1395263671875, 0.17919921875, 0.1710205078125, 0.124267578125, 0.0718994140625, 0.002410888671875, 0.1019287...
embed
25053299_c1
25053299
fsharp
1
T2> = new (v1,v2) = { Item1 = v1; Item2 = v2 } val Item1 : 'T1 val Item2 : 'T2 Struct attribute is successfully used in e.g seq.fs in the same Core library. The library has probably not been compiled with struct tuple flags for some development time and something has changed since. Does anyone with a better understandi...
T2> = new (v1,v2) = { Item1 = v1; Item2 = v2 } val Item1 : 'T1 val Item2 : 'T2 Struct attribute is successfully used in e.g seq.fs in the same Core library. The library has probably not been compiled with struct tuple flags for some development time and something has changed since. Does anyone with a better understandi...
[ -0.0130615234375, 0.016357421875, -0.017822265625, 0.0059814453125, 0.024169921875, -0.00909423828125, -0.015625, 0.00089263916015625, 0.0107421875, 0.0252685546875, 0.0267333984375, 0.0260009765625, 0.0162353515625, 0.0235595703125, 0.004364013671875, -0.000881195068359375, -0.00091...
[ 384, 304, 2740, 2203, 3525, 334, 418, 10461, 78426, 81, 3502, 618, 63667, 15390, 150380, 65771, 11814, 40, 864, 17447, 5701, 31365, 35773, 1294, 31895, 959, 375, 5974, 678, 6, 36716, 370, 8705, 49938, 34754, 1733, 98816, 16792, 100094, 90...
[ 0.12255859375, 0.1962890625, 0.152099609375, 0.003326416015625, 0.1324462890625, 0.1151123046875, 0.072021484375, 0.1663818359375, 0.1728515625, 0.100341796875, 0.143310546875, 0.07806396484375, 0.1934814453125, 0.1458740234375, 0.2113037109375, 0.1173095703125, 0.138427734375, 0.0...
embed
2303233_c0
2303233
fsharp
0
Title: Is List.partition guaranteed to preserve order? Problem title: Is List.partition guaranteed to preserve order? Tags: f%23, functional-programming Problem: Is List.partition guaranteed to preserve order? I've noticed it seems to behave this way, but I don't want to rely on it if it's not intentional. Here's the c...
Is List.partition guaranteed to preserve order? Is List.partition guaranteed to preserve order? f%23 functional-programming List.partition List.min List.sortBy Is List.partition guaranteed to preserve order? I've noticed it seems to behave this way, but I don't want to rely on it if it's not intentional. Here's the cod...
[ -0.000232696533203125, -0.0018157958984375, 0.00982666015625, -0.01025390625, -0.02392578125, 0.00182342529296875, 0.01708984375, -0.0380859375, -0.004852294921875, 0.01953125, 0.01361083984375, 0.0240478515625, 0.00299072265625, -0.00799560546875, 0.0079345703125, -0.0177001953125, ...
[ 2071, 32036, 5, 15866, 1363, 142027, 71, 47, 479, 86687, 12989, 1238, 3742, 123309, 28966, 1249, 62351, 75358, 156672, 37202, 68991, 3917, 538, 91177, 70, 18151, 756, 42272, 21049, 83, 32354, 30646, 23, 18, 5303 ]
[ 0.0830078125, 0.25390625, 0.06024169921875, 0.2373046875, 0.1141357421875, 0.2427978515625, 0.148681640625, 0.08026123046875, 0.1165771484375, 0.1826171875, 0.23681640625, 0.02630615234375, 0.1102294921875, 0.1414794921875, 0.118896484375, 0.195068359375, 0.16259765625, 0.165771484...
embed
30486984_c0
30486984
fsharp
0
Title: Is a pattern match the only way to get data associated with a union case? Problem title: Is a pattern match the only way to get data associated with a union case? Tags: f%23, pattern-matching Problem: Is a pattern match the only way to get data associated with a union case? Let's say you have this union: type Th...
Is a pattern match the only way to get data associated with a union case? Is a pattern match the only way to get data associated with a union case? f%23 pattern-matching Thing Eagle Elephant Is a pattern match the only way to get data associated with a union case? Let's say you have this union: And your code has a list...
[ -0.00182342529296875, 0.0164794921875, 0.00726318359375, -0.005218505859375, -0.012451171875, -0.014404296875, -0.027587890625, 0.0037841796875, 0.0184326171875, -0.034423828125, 0.0172119140625, -0.00701904296875, 0.011962890625, -0.01190185546875, 0.005615234375, 0.00074005126953125,...
[ 10, 103510, 14858, 4734, 3917, 2046, 2053, 137272, 678, 69941, 7225, 1238, 3742, 98753, 6003, 214, 144422, 12701, 68743, 18, 2071, 903, 18151, 5303, 933, 36663, 8560, 645, 96, 28412, 12638, 6, 15490, 17368 ]
[ 0.06964111328125, 0.253173828125, 0.264892578125, 0.1082763671875, 0.075439453125, 0.1090087890625, 0.1693115234375, 0.1676025390625, 0.07440185546875, 0.214111328125, 0.1700439453125, 0.002105712890625, 0.10333251953125, 0.2208251953125, 0.06317138671875, 0.070068359375, 0.142700195...
embed
13535466_c1
13535466
fsharp
1
PF I tried adding: Input.FocusManager.SetIsFocusScope(panel2, true) but this actually made the problem worse! Now the panel2.LostFocus event is triggered only when focus shift from one child of panel2 to another and not when panel2 actually loses focus. How should I get the desired effect? Code signals: a, Detect, WPF,...
PF I tried adding: Input.FocusManager.SetIsFocusScope(panel2, true) but this actually made the problem worse! Now the panel2.LostFocus event is triggered only when focus shift from one child of panel2 to another and not when panel2 actually loses focus. How should I get the desired effect? Code signals: a, Detect, WPF,...
[ -0.00064849853515625, 0.0208740234375, -0.033203125, 0.0118408203125, -0.0059814453125, -0.01263427734375, -0.002593994140625, -0.0057373046875, 0.01275634765625, -0.01092529296875, 0.01904296875, 0.0137939453125, 0.002349853515625, 0.0228271484375, 0.0135498046875, 0.012451171875, -...
[ 41265, 37842, 154107, 7077, 27591, 11680, 12662, 33730, 294, 126, 29598, 61278, 61122, 91133, 304, 29568, 20653, 7228, 2967, 124632, 16138, 5442, 100604, 18, 19732, 185553, 4734, 3229, 32153, 122925, 1295, 29041, 15700, 388, 90, 5608, 2046, 1...
[ 0.212646484375, 0.00830078125, 0.11376953125, 0.07354736328125, 0.1966552734375, 0.20849609375, 0.09814453125, 0.1002197265625, 0.059051513671875, 0.071044921875, 0.07080078125, 0.106201171875, 0.093505859375, 0.1793212890625, 0.1302490234375, 0.08721923828125, 0.0601806640625, 0.0...
embed
75761321_c0
75761321
fsharp
0
Title: Can an F# query expression filter for items that are NOT in a sub-query? Problem title: Can an F# query expression filter for items that are NOT in a sub-query? Tags: f%23 Problem: Can an F# query expression filter for items that are NOT in a sub-query? I have the following sample that finds the numbers in s1 th...
Can an F# query expression filter for items that are NOT in a sub-query? Can an F# query expression filter for items that are NOT in a sub-query? f%23 Can NOT Seq.filter Seq.forall Seq.iter Can an F# query expression filter for items that are NOT in a sub-query? I have the following sample that finds the numbers in s1 ...
[ 0.0108642578125, 0.040283203125, 0.0014801025390625, 0.00531005859375, -0.000896453857421875, -0.0098876953125, 0.0064697265625, 0.018798828125, 0.006011962890625, 0.00125885009765625, 0.0019378662109375, 0.041748046875, 0.01708984375, 0.0140380859375, -0.00408935546875, 0.005554199218...
[ 4171, 563, 4904, 41, 1294, 125195, 46312, 100, 55769, 86725, 1614, 944, 1238, 3742, 503, 864, 120337, 5584, 16840, 621, 23, 25632, 121413, 7413, 101935, 91, 418, 959, 5442, 28412, 106, 136, 116, 84751, 36510, 237 ]
[ 0.05596923828125, 0.1214599609375, 0.203125, 0.11767578125, 0.10986328125, 0.2373046875, 0.248779296875, 0.046234130859375, 0.15673828125, 0.1248779296875, 0.1614990234375, 0.09765625, 0.068115234375, 0.10015869140625, 0.033905029296875, 0.1131591796875, 0.1771240234375, 0.05340576...
embed
26885520_c0
26885520
fsharp
0
Title: Use .fs functions in an .fsx script in F# (visual studio) Problem title: Use .fs functions in an .fsx script in F# (visual studio) Tags: f%23-interactive, f%23, f%23-data, f%23-3.0 Problem: Use .fs functions in an .fsx script in F# (visual studio) I have written a bunch of function in an .fs file under a namespa...
Use .fs functions in an .fsx script in F# (visual studio) Use .fs functions in an .fsx script in F# (visual studio) f%23-interactive f%23 f%23-data f%23-3.0 Use Use .fs functions in an .fsx script in F# (visual studio) I have written a bunch of function in an .fs file under a namespace and module and I would like to us...
[ 0.0205078125, 0.01141357421875, 0.000396728515625, 0.00726318359375, -0.007354736328125, -0.0089111328125, 0.015869140625, 0.0018768310546875, 0.020263671875, -0.037109375, 0.0069580078125, 0.01080322265625, 0.0081787109375, -0.00616455078125, 0.0179443359375, -0.00946044921875, 0.00...
[ 36836, 5, 17447, 32354, 7, 23, 425, 26499, 563, 4904, 1824, 20605, 12275, 1238, 27495, 10433, 71232, 10135, 132265, 59121, 147306, 11435, 1379, 210716, 88996, 1884, 4527, 102158, 134234, 121413, 2053, 72367, 3934, 172, 2663, 63033, 7464, 51, ...
[ 0.118896484375, 0.08941650390625, 0.2587890625, 0.2105712890625, 0.0758056640625, 0.006103515625, 0.1510009765625, 0.1920166015625, 0.0885009765625, 0.1749267578125, 0.06414794921875, 0.05029296875, 0.1356201171875, 0.07318115234375, 0.035430908203125, 0.031707763671875, 0.0548706054...
embed
2723766_c0
2723766
fsharp
0
Title: pattern matching and returning new object based on pattern Problem title: pattern matching and returning new object based on pattern Tags: f%23, pattern-matching Problem: pattern matching and returning new object based on pattern Say I've got some code like this match exp with | Addition(lhs,rhs,_) -> Addition(f...
pattern matching and returning new object based on pattern pattern matching and returning new object based on pattern f%23 pattern-matching Addition Subtraction pattern matching and returning new object based on pattern Say I've got some code like this is there any way that would allow me to do something like where X b...
[ -0.0037078857421875, -0.0020294189453125, -0.004669189453125, 0.017822265625, 0.005096435546875, 0.00799560546875, -0.01068115234375, 0.0196533203125, 0.01324462890625, -0.000400543212890625, 0.0220947265625, -0.0286865234375, -0.003936767578125, -0.01275634765625, 0.002593994140625, -...
[ 103510, 14858, 214, 136, 30646, 3525, 36746, 35509, 98, 1238, 3949, 3742, 98753, 29117, 14, 1363, 8273, 117474, 25916, 4163, 3060, 18151, 1884, 903, 2685, 2499, 3917, 2806, 63769, 163, 54, 9844, 7440, 1193, 186, 70, 8561, 8035, 297 ]
[ 0.2430419921875, 0.2293701171875, 0.121826171875, 0.0595703125, 0.163818359375, 0.10711669921875, 0.1788330078125, 0.1551513671875, 0.0753173828125, 0.07330322265625, 0.09716796875, 0.1495361328125, 0.217041015625, 0.06585693359375, 0.027557373046875, 0.0098876953125, 0.0692749023437...
embed
50333405_c0
50333405
fsharp
0
Title: Xamarin.Android F# template fails to build on VS2017 15.7.1 Problem title: Xamarin.Android F# template fails to build on VS2017 15.7.1 Tags: xamarin.android, f%23 Problem: Xamarin.Android F# template fails to build on VS2017 15.7.1 I have Visual Studio 2017 Version 15.7.1 + Xamarin.Android 8.3.0.19 running on Wi...
Xamarin.Android F# template fails to build on VS2017 15.7.1 Xamarin.Android F# template fails to build on VS2017 15.7.1 xamarin.android f%23 Xamarin.Android VS2017 Xamarin.Android F# template fails to build on VS2017 15.7.1 I have Visual Studio 2017 Version 15.7.1 + Xamarin.Android 8.3.0.19 running on Win7. When I crea...
[ -0.01055908203125, 0.0228271484375, -0.003326416015625, -0.01153564453125, -0.0247802734375, -0.000537872314453125, -0.0018463134765625, -0.0004482269287109375, -0.02587890625, 0.006927490234375, 0.0220947265625, -0.04150390625, -0.005523681640625, 0.0145263671875, 0.033447265625, -0.0...
[ 8606, 44503, 57934, 563, 4904, 110934, 35782, 47, 45367, 98, 44160, 3259, 6281, 165830, 2459, 51796, 1238, 3742, 73372, 22968, 505, 40647, 997, 3217, 132265, 2947, 51042, 17686, 966, 28282, 13452, 35509, 132862, 5659, 3952, 7, 678, 25632, 1...
[ 0.1480712890625, 0.21533203125, 0.1805419921875, 0.145751953125, 0.2266845703125, 0.249267578125, 0.157958984375, 0.013092041015625, 0.15478515625, 0.05841064453125, 0.174560546875, 0.2041015625, 0.1265869140625, 0.148681640625, 0.104248046875, 0.09967041015625, 0.0699462890625, 0....
embed
48297951_c0
48297951
fsharp
0
Title: How to use Docker with Paket? Problem title: How to use Docker with Paket? Tags: f%23, paket, docker-compose, docker Problem: How to use Docker with Paket? There are several projects in my solution (some production and some test ...) and there is a docker image per each project. Each .fsproj file in the solution...
How to use Docker with Paket? How to use Docker with Paket? f%23 paket docker-compose docker How Docker Paket Project Paket.Restore.targets How to use Docker with Paket? There are several projects in my solution (some production and some test ...) and there is a docker image per each project. Each .fsproj file in the s...
[ -0.01171875, 0.00665283203125, 0.0031280517578125, 0.0233154296875, -0.015380859375, 0.025634765625, 0.006805419921875, -0.009033203125, -0.00445556640625, -0.00927734375, 0.0162353515625, 0.0020904541015625, 0.01361083984375, 0.03173828125, -0.002105712890625, -0.022705078125, -0.01...
[ 11249, 47, 4527, 984, 11050, 678, 50867, 1238, 3742, 13360, 54, 277, 78381, 27331, 4332, 45804, 867, 3794, 40368, 77635, 29806, 36049, 3034, 29569, 12638, 13452, 98423, 17447, 3454, 170, 11435, 70541, 13315, 45367, 43701, 84046, 78303, 43257,...
[ 0.0791015625, 0.045074462890625, 0.14208984375, 0.138671875, 0.2626953125, 0.1524658203125, 0.2763671875, 0.049224853515625, 0.1209716796875, 0.2213134765625, 0.107177734375, 0.057525634765625, 0.065185546875, 0.0828857421875, 0.0184783935546875, 0.1396484375, 0.0850830078125, 0.10...
embed
68513892_c0
68513892
fsharp
0
Title: How to use a lambda operation input in a function parameter? Problem title: How to use a lambda operation input in a function parameter? Tags: f%23 Problem: How to use a lambda operation input in a function parameter? To be honest, I am not even sure how to correctly phrase the question. I want to write a functi...
How to use a lambda operation input in a function parameter? How to use a lambda operation input in a function parameter? f%23 How How to use a lambda operation input in a function parameter? To be honest, I am not even sure how to correctly phrase the question. I want to write a function which can accept a lambda oper...
[ -0.018310546875, 0.01312255859375, -0.00836181640625, -0.0164794921875, -0.003631591796875, 0.01068115234375, 0.0142822265625, 0.01904296875, 0.0034637451171875, -0.042236328125, 0.021240234375, -0.041748046875, 0.0032958984375, 0.01263427734375, -0.0091552734375, -0.007598876953125, ...
[ 11249, 47, 4527, 10, 21, 6492, 85, 41018, 107730, 23, 32354, 171859, 1238, 3949, 3742, 26785, 113860, 3444, 33022, 831, 26946, 425, 33079, 1022, 997, 237, 190659, 12638, 42805, 5303, 66211, 563, 4904, 29899, 6407, 19309, 56785, 7, 39, 846...
[ 0.114501953125, 0.052093505859375, 0.166015625, 0.053314208984375, 0.117919921875, 0.22314453125, 0.193359375, 0.224609375, 0.23193359375, 0.0972900390625, 0.1990966796875, 0.223388671875, 0.02880859375, 0.007110595703125, 0.07684326171875, 0.001800537109375, 0.077880859375, 0.0532...
embed
76038318_c0
76038318
fsharp
0
Title: F# type constrains subtyping Problem title: F# type constrains subtyping Tags: type-constraints, subtyping, inheritance, f%23, class Problem: F# type constrains subtyping I got a question, mostly because I found a case where classes and subtyping was needed. let say we got some function let IsA<'item, 'input> (s...
F# type constrains subtyping F# type constrains subtyping type-constraints subtyping inheritance f%23 class IsA Some None F# type constrains subtyping I got a question, mostly because I found a case where classes and subtyping was needed. let say we got some function is there a way to constraint the generic types to al...
[ -0.00164031982421875, -0.0084228515625, 0.007720947265625, -0.0023040771484375, -0.015380859375, -0.021240234375, -0.019775390625, 0.00469970703125, -0.00592041015625, 0.000514984130859375, 0.01116943359375, -0.00830078125, 0.00107574462890625, 0.0101318359375, 0.0054931640625, -0.0092...
[ 563, 4904, 10644, 158, 2816, 5425, 1614, 46280, 214, 2271, 4288, 3334, 1238, 3949, 3742, 18507, 2071, 284, 438, 9655, 10, 7225, 61112, 136, 44841, 32354, 2685, 3917, 189534, 52895, 63769, 903, 30700, 54, 100, 756, 50986, 8473, 1176, 12301...
[ 0.1121826171875, 0.1673583984375, 0.177490234375, 0.1112060546875, 0.173828125, 0.0697021484375, 0.214111328125, 0.2215576171875, 0.051788330078125, 0.05242919921875, 0.106201171875, 0.08447265625, 0.0621337890625, 0.04425048828125, 0.120361328125, 0.1123046875, 0.1453857421875, 0....
embed
22851781_c0
22851781
fsharp
0
Title: How to unfold a list into list of lists with yield? Problem title: How to unfold a list into list of lists with yield? Tags: f%23 Problem: How to unfold a list into list of lists with yield? Another impractical exercise... I have a function that unfolds a list into a sequence of lists starting with each list ele...
How to unfold a list into list of lists with yield? How to unfold a list into list of lists with yield? f%23 How Seq.unfold x::xs Some None How to unfold a list into list of lists with yield? Another impractical exercise... I have a function that unfolds a list into a sequence of lists starting with each list element: ...
[ 0.005401611328125, 0.01385498046875, 0.01141357421875, 0.022216796875, -0.0029296875, -0.0064697265625, -0.001617431640625, -0.0167236328125, 0.003936767578125, -0.0216064453125, 0.004669189453125, 0.00046539306640625, 0.007080078125, 0.01324462890625, 0.00250244140625, 0.010498046875,...
[ 11249, 51, 42822, 5303, 3934, 111, 7, 678, 11180, 19388, 1238, 3742, 503, 864, 309, 1022, 425, 31384, 438, 47, 14170, 70760, 81979, 32354, 40, 944, 72134, 12638, 12830, 3129, 37842, 33022, 2387, 165523, 7722 ]
[ 0.06683349609375, 0.093017578125, 0.2200927734375, 0.2440185546875, 0.09735107421875, 0.059112548828125, 0.0888671875, 0.0770263671875, 0.1497802734375, 0.235107421875, 0.0185699462890625, 0.0660400390625, 0.06573486328125, 0.15771484375, 0.08251953125, 0.031219482421875, 0.043182373...
embed
11387554_c0
11387554
fsharp
0
Title: How to Use F# ODATA TypeProvider with OAuth authorization Problem title: How to Use F# ODATA TypeProvider with OAuth authorization Tags: f%23 Problem: How to Use F# ODATA TypeProvider with OAuth authorization I have a OData svc that needs Oauth token for authorization. The metadata url is available here . Howeve...
How to Use F# ODATA TypeProvider with OAuth authorization How to Use F# ODATA TypeProvider with OAuth authorization f%23 How Use ODATA TypeProvider OAuth MySvc ODataService wamsstageclus001rest-hs.cloudapp-int.net API How to Use F# ODATA TypeProvider with OAuth authorization I have a OData svc that needs Oauth token fo...
[ 0.007110595703125, 0.03173828125, -0.005706787109375, 0.006439208984375, 0.004150390625, -0.01123046875, 0.025390625, 0.0150146484375, -0.01080322265625, -0.0306396484375, -0.00360107421875, -0.033935546875, -0.0027008056640625, -0.020263671875, 0.019287109375, 0.00323486328125, 0.01...
[ 11249, 47, 36836, 563, 4904, 34687, 17758, 60457, 177997, 62160, 678, 180, 67362, 927, 42179, 47691, 1238, 3949, 3742, 2646, 66357, 137989, 121979, 259, 16852, 29786, 34479, 56644, 127, 182422, 9007, 4288, 1179, 61687, 12669, 238, 27117, 916,...
[ 0.0733642578125, 0.06622314453125, 0.1644287109375, 0.167724609375, 0.22802734375, 0.197265625, 0.1943359375, 0.21728515625, 0.1673583984375, 0.15234375, 0.1102294921875, 0.171875, 0.2244873046875, 0.1456298828125, 0.1051025390625, 0.06500244140625, 0.04888916015625, 0.031097412109...
embed
58513509_c0
58513509
fsharp
0
Title: how to convert initialization code that requires an action to F# Problem title: how to convert initialization code that requires an action to F# Tags: f%23 Problem: how to convert initialization code that requires an action to F# I have the following C# code: var client = new RestClient(url); client.ConfigureWeb...
how to convert initialization code that requires an action to F# how to convert initialization code that requires an action to F# f%23 RestClient client.ConfigureWebRequest r.ServicePoint.Expect100Continue r.KeepAlive how to convert initialization code that requires an action to F# I have the following C# code: in F#, ...
[ -0.0185546875, 0.0069580078125, -0.005706787109375, -0.0107421875, 0.0052490234375, -0.003997802734375, 0.017578125, -0.0162353515625, 0.01165771484375, 0.00112152099609375, 0.02197265625, 0.020751953125, -0.01202392578125, -0.003143310546875, 0.0068359375, -0.021484375, 0.0047302246...
[ 3642, 47, 96760, 61475, 47691, 18151, 450, 144570, 142, 22631, 563, 4904, 1238, 3949, 3742, 49756, 150, 2517, 23282, 59994, 30474, 4332, 75616, 121979, 147534, 47107, 3559, 100761, 1690, 15017, 4517, 24056, 25632, 313, 7103, 20650, 10588, 456...
[ 0.054443359375, 0.099853515625, 0.196533203125, 0.1920166015625, 0.1119384765625, 0.193115234375, 0.04364013671875, 0.19921875, 0.044403076171875, 0.190673828125, 0.113037109375, 0.1971435546875, 0.046539306640625, 0.002532958984375, 0.1199951171875, 0.1722412109375, 0.10565185546875...
embed
34039962_c0
34039962
fsharp
0
Title: The type int is not compatible with type seq&lt;&#x27;a&gt; Problem title: The type int is not compatible with type seq&lt;&#x27;a&gt; Tags: f%23 Problem: The type int is not compatible with type seq<'a> consider i have the following code, let sqx= seq [1; 2; 3; 4;] let sqy= seq [1; 2; 3; 4;] let func sqx sqy = ...
The type int is not compatible with type seq&lt;&#x27;a&gt; The type int is not compatible with type seq&lt;&#x27;a&gt; f%23 Seq.map Seq.map2 The type int is not compatible with type seq<'a> consider i have the following code, at the last line i am facing with the erorr: I have also tried to work with Seq.map2 , but st...
[ 0.012451171875, 0.0235595703125, -0.001708984375, 0.030517578125, -0.00518798828125, -0.0002574920654296875, 0.00081634521484375, 0.000885009765625, -0.00159454345703125, -0.02734375, -0.01031494140625, 0.01806640625, 0.006256103515625, 0.0250244140625, -0.000919342041015625, -0.008239...
[ 10644, 23, 18, 83, 959, 146731, 678, 40, 864, 1277, 3768, 11, 5386, 581, 1238, 3742, 503, 62346, 304, 16916, 25632, 18151, 4568, 13315, 7808, 72, 748, 42, 37842, 4488, 7464, 5701, 2967 ]
[ 0.236328125, 0.150146484375, 0.173828125, 0.07568359375, 0.150146484375, 0.2010498046875, 0.07757568359375, 0.1077880859375, 0.20703125, 0.001495361328125, 0.115234375, 0.0850830078125, 0.046875, 0.0224609375, 0.024658203125, 0.0904541015625, 0.0626220703125, 0.1131591796875, 0.0...
embed
34486364_c0
34486364
fsharp
0
Title: F# build a list/array of values + consecutive duplicates Problem title: F# build a list/array of values + consecutive duplicates Tags: f%23 Problem: F# build a list/array of values + consecutive duplicates I need to pack data like this: let data = [1; 2; 2; 3; 2; 2; 2; 4] let packed = [(1, 1); (2, 2); (3, 1); (2...
F# build a list/array of values + consecutive duplicates F# build a list/array of values + consecutive duplicates f%23 Seq.countBy F# build a list/array of values + consecutive duplicates I need to pack data like this: Where each item say how much times it exist before the next. However, it must work with non-adjacent ...
[ 0.0169677734375, 0.0030517578125, -0.008056640625, 0.0174560546875, -0.020263671875, 0.01312255859375, 0.0089111328125, 0.0093994140625, 0.017822265625, -0.040283203125, -0.0074462890625, 0.017822265625, 0.0089111328125, 0.01495361328125, 0.00408935546875, 0.0142822265625, -0.0190429...
[ 563, 4904, 45367, 5303, 64, 19305, 53, 142424, 997, 148390, 171763, 1636, 1238, 3742, 503, 864, 71013, 75358, 111, 13, 3871, 43824, 2053, 1884, 903, 12638, 35735, 5154, 3642, 5045, 20028, 32316, 8108, 11737, 8110, 4488, 351, 712, 145, 167...
[ 0.1226806640625, 0.17529296875, 0.1602783203125, 0.1929931640625, 0.0249786376953125, 0.134033203125, 0.0645751953125, 0.1650390625, 0.092041015625, 0.185302734375, 0.2412109375, 0.07427978515625, 0.100341796875, 0.1385498046875, 0.095458984375, 0.1890869140625, 0.181396484375, 0.2...
embed
6025523_c2
6025523
fsharp
2
sys.objects, WHERE, object_id, DROP, SET, ANSI_NULLS, QUOTED_IDENTIFIER, CREATE, BEGIN, NOCOUNT, END, TABLE, ANSI_PADDING, NOT, PRIMARY, OFF, Jan, Feb, Mar, File1, System.Configuration, System.Data.Common, System.Data, Direction, Out, Ref, DbType, AnsiString, AnsiStringFixedLength, Binary, Boolean, Byte, Currency, Dat...
sys.objects, WHERE, object_id, DROP, SET, ANSI_NULLS, QUOTED_IDENTIFIER, CREATE, BEGIN, NOCOUNT, END, TABLE, ANSI_PADDING, NOT, PRIMARY, OFF, Jan, Feb, Mar, File1, System.Configuration, System.Data.Common, System.Data, Direction, Out, Ref, DbType, AnsiString, AnsiStringFixedLength, Binary, Boolean, Byte, Currency, Dat...
[ 0.0238037109375, 0.0111083984375, -0.017333984375, 0.020751953125, -0.0235595703125, -0.0162353515625, -0.006134033203125, -0.03857421875, 0.024169921875, 0.0184326171875, 0.01513671875, -0.0026092529296875, 0.007171630859375, -0.026123046875, 0.0006103515625, 0.00421142578125, 0.004...
[ 954, 7, 5, 187694, 4, 601, 841, 30096, 36746, 532, 391, 148197, 128565, 14368, 9902, 839, 11176, 19759, 232856, 397, 208585, 101868, 12501, 175151, 8241, 9622, 108526, 9520, 9688, 64163, 39015, 384, 183057, 116908, 156906, 86725, 105029, 1232...
[ 0.157958984375, 0.1253662109375, 0.1234130859375, 0.291748046875, 0.055389404296875, 0.0252532958984375, 0.11083984375, 0.1583251953125, 0.243408203125, 0.170166015625, 0.059814453125, 0.2449951171875, 0.1751708984375, 0.0872802734375, 0.185546875, 0.048980712890625, 0.13232421875, ...
embed
12182291_c1
12182291
fsharp
1
== 0) { sum += 5; } else if (item == 1) { sum += 1; } else if (item == 2) { sum += 2; } else if (item == 3) { sum += 3; } else { sum += 4; } } } } public void MatchEven(int testSize) { PatternMatch.myMatch(testSize, poolEven); } F#: module PatternMatch let mat acc elem = acc + match elem with | 0 -> 5L | 1 -> 1L | 2 -...
== 0) { sum += 5; } else if (item == 1) { sum += 1; } else if (item == 2) { sum += 2; } else if (item == 3) { sum += 3; } else { sum += 4; } } } } public void MatchEven(int testSize) { PatternMatch.myMatch(testSize, poolEven); } F#: module PatternMatch let mat acc elem = acc + match elem with | 0 -> 5L | 1 -> 1L | 2 -...
[ -0.041015625, 0.0108642578125, 0.0011749267578125, -0.01239013671875, -0.007598876953125, -0.0157470703125, -0.02099609375, 0.0263671875, 0.028564453125, 0.0177001953125, 0.01953125, -0.01043701171875, 0.010986328125, 0.0084228515625, 0.028076171875, 0.004058837890625, 0.017700195312...
[ 69112, 757, 10666, 10554, 997, 1369, 190, 37076, 2174, 217, 195, 4879, 106, 4958, 116, 8439, 138, 201, 3835, 2292, 67407, 647, 1353, 4288, 3034, 127167, 9876, 22766, 79520, 1176, 6954, 19361, 563, 4904, 12, 88996, 206, 2633, 2589, 50015, ...
[ 0.1856689453125, 0.155517578125, 0.006866455078125, 0.209228515625, 0.104248046875, 0.0855712890625, 0.160400390625, 0.0609130859375, 0.05908203125, 0.095703125, 0.1116943359375, 0.05731201171875, 0.04107666015625, 0.01947021484375, 0.041656494140625, 0.08551025390625, 0.077331542968...
embed
6190978_c0
6190978
fsharp
0
Title: f#: initialize array of array Problem title: f#: initialize array of array Tags: f%23 Problem: f#: initialize array of array in the following code, does array of array A = B ? let A = Array.init 3 (fun _ -> Array.init 2 (fun _ -> 0)) let defaultCreate n defaultValue = Array.init n (fun _ -> defaultValue) let B =...
f#: initialize array of array f#: initialize array of array f%23 Array.init f#: initialize array of array in the following code, does array of array A = B ? if I assign values to A and B , they are different ,what happened? thanks.
[ 0.0264892578125, 0.00970458984375, 0.0203857421875, 0.027587890625, -0.0011138916015625, -0.02392578125, 0.01068115234375, -0.00958251953125, 0.0177001953125, 0.039306640625, 0.012451171875, 0.028564453125, 0.03076171875, 0.01202392578125, 0.012451171875, -0.01373291015625, 0.0062561...
[ 1238, 4904, 61475, 20650, 10298, 53, 111, 12, 3949, 3742, 69253, 73, 217, 25632, 18151, 14602, 62, 2203, 335, 2174, 95486, 142424, 47, 136, 1836, 621, 12921, 73659 ]
[ 0.1201171875, 0.200439453125, 0.2174072265625, 0.0982666015625, 0.1893310546875, 0.153564453125, 0.143310546875, 0.00921630859375, 0.005401611328125, 0.1204833984375, 0.1224365234375, 0.06451416015625, 0.0406494140625, 0.077392578125, 0.137451171875, 0.0809326171875, 0.1195068359375,...
embed
2970446_c0
2970446
fsharp
0
Title: Specified Visual is already a child of another Visual or the root of a CompositionTarget Problem title: Specified Visual is already a child of another Visual or the root of a CompositionTarget Tags: wpf, prism, xaml, f%23 Problem: Specified Visual is already a child of another Visual or the root of a Composition...
Specified Visual is already a child of another Visual or the root of a CompositionTarget Specified Visual is already a child of another Visual or the root of a CompositionTarget wpf prism xaml f%23 Specified Visual CompositionTarget Specified Visual is already a child of another Visual or the root of a CompositionTarge...
[ -0.008056640625, 0.01422119140625, -0.002960205078125, 0.0045166015625, 0.005157470703125, 0.01348876953125, -0.006500244140625, -0.01312255859375, 0.00421142578125, -0.0322265625, 0.01373291015625, 0.01092529296875, 0.008544921875, 0.00787353515625, 0.003997802734375, -0.0040893554687...
[ 24990, 47314, 73372, 83, 21771, 29041, 15700, 74855, 3288, 40322, 63031, 3794, 39557, 4067, 39, 2459, 7237, 1238, 3949, 3742, 10, 601, 41265, 52825, 101344, 831, 4079, 102656, 982, 4028, 35874, 124962, 111, 4879, 4958, 345, 6953, 22968, 364...
[ 0.130126953125, 0.1900634765625, 0.271728515625, 0.01470947265625, 0.1412353515625, 0.149658203125, 0.042510986328125, 0.1534423828125, 0.0596923828125, 0.08587646484375, 0.1549072265625, 0.1478271484375, 0.103759765625, 0.046722412109375, 0.046844482421875, 0.03741455078125, 0.14001...
embed