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
50174737_c0
50174737
fsharp
0
Title: Why is this not tail recursive Problem title: Why is this not tail recursive Tags: tail-recursion, f%23, recursion Problem: Why is this not tail recursive I've got a (co?)recursive pair of functions that process a list of tuples, and fold them into batches based on some start and end criteria. I don't do f# that...
Why is this not tail recursive Why is this not tail recursive tail-recursion f%23 recursion Why ignoreUntil2 List s2.StartsWith Start Product takeUntil2 Finished Why is this not tail recursive I've got a (co?)recursive pair of functions that process a list of tuples, and fold them into batches based on some start and e...
[ 0.006988525390625, 0.003509521484375, 0.01214599609375, 0.01446533203125, 0.002471923828125, 0.01416015625, -0.0264892578125, -0.006500244140625, -0.0017242431640625, 0.02001953125, 0.0157470703125, -0.005096435546875, 0.01556396484375, 0.0037384033203125, 0.01422119140625, -0.01245117...
[ 44084, 83, 903, 959, 46741, 195625, 5844, 107, 48650, 1830, 1238, 3949, 3742, 124962, 3675, 304, 32036, 91, 5442, 126597, 194583, 13794, 73111, 5646, 13316, 164, 587, 80836, 32354, 9433, 5303, 370, 99726, 42822, 1777, 35509, 4034, 3564, 557...
[ 0.128173828125, 0.08050537109375, 0.12841796875, 0.181396484375, 0.25830078125, 0.2281494140625, 0.135009765625, 0.057159423828125, 0.18603515625, 0.058807373046875, 0.074951171875, 0.0526123046875, 0.15576171875, 0.1641845703125, 0.177001953125, 0.1029052734375, 0.147216796875, 0....
embed
40438587_c0
40438587
fsharp
0
Title: FsPlot for osx sierra Problem title: FsPlot for osx sierra Tags: f%23, fslab, highcharts, macos Problem: FsPlot for osx sierra I have got an error message with the following code: (example code from sudipta mukherjee) #load "./packages/FsPlot.0.6.6/FsPlotBootstrap.fsx" open FsPlot.Highcharts.Charting // Logistic...
FsPlot for osx sierra FsPlot for osx sierra f%23 fslab highcharts macos System.ComponentModel.Win32Exception FsPlot FsPlot.0.6.6 FsPlotBootstrap.fsx FsPlot.Highcharts.Charting Logistic Regression Chart.Spline Chart.WithTitle Sigmoid Chart.WithName Loading FSI_0008 ApplicationName chromedriver.exe CommandLine CurrentDir...
[ 0.00787353515625, 0.006103515625, -0.0014801025390625, -0.02978515625, -0.012451171875, -0.006561279296875, 0.02978515625, -0.0203857421875, -0.006805419921875, 0.0103759765625, 0.01556396484375, 0.0033416748046875, -0.006439208984375, 0.00250244140625, 0.0247802734375, 0.0095825195312...
[ 563, 7, 683, 12631, 100, 362, 425, 9247, 219, 1238, 3949, 3742, 6114, 11192, 9254, 7840, 12353, 54137, 140290, 92049, 6460, 63928, 122887, 910, 107617, 17447, 163025, 84068, 13146, 148448, 110373, 31923, 2256, 26729, 432, 228006, 9902, 9508, ...
[ 0.1453857421875, 0.139404296875, 0.1856689453125, 0.29248046875, 0.088623046875, 0.1519775390625, 0.12841796875, 0.1756591796875, 0.154296875, 0.07861328125, 0.007904052734375, 0.11279296875, 0.144775390625, 0.03936767578125, 0.14306640625, 0.1182861328125, 0.08538818359375, 0.0920...
embed
65809853_c0
65809853
fsharp
0
Title: F# CsvProvider cant find member in Row error FS0039 Problem title: F# CsvProvider cant find member in Row error FS0039 Tags: f%23 Problem: F# CsvProvider cant find member in Row error FS0039 I try example from Isaac Abraham book "get programming with F#". In it I simply import csv file into F# script and try to ...
F# CsvProvider cant find member in Row error FS0039 F# CsvProvider cant find member in Row error FS0039 f%23 CsvProvider Row FS0039 FSharp.Data Football FootballResults.csv Football.GetSample Rows Seq.toArray Seq.filter Full Time Away Goals Half Seq.take Seq.map Home print2 Seq.iter script.fsx Microsoft Interactive Cop...
[ -0.0009613037109375, 0.0067138671875, 0.019775390625, 0.029541015625, -0.00124359130859375, -0.021728515625, 0.0238037109375, 0.0126953125, -0.0084228515625, 0.0009918212890625, 0.005279541015625, 0.00628662109375, 0.017333984375, 0.005828857421875, 0.000621795654296875, -0.03564453125...
[ 563, 4904, 313, 67756, 177997, 62160, 45767, 7413, 32786, 23, 96190, 18499, 93774, 7049, 9323, 1238, 3742, 3467, 254, 137989, 98809, 10178, 4439, 334, 33209, 864, 120337, 19055, 7514, 2016, 151500, 78219, 62346, 2005, 28412, 304, 16840, 26499...
[ 0.1168212890625, 0.2237548828125, 0.07318115234375, 0.26806640625, 0.196533203125, 0.104736328125, 0.10089111328125, 0.173095703125, 0.271484375, 0.11865234375, 0.23291015625, 0.157958984375, 0.1561279296875, 0.046722412109375, 0.1959228515625, 0.03253173828125, 0.08477783203125, 0...
embed
58683951_c0
58683951
fsharp
0
Title: Having issues understanding class constructors in F# Problem title: Having issues understanding class constructors in F# Tags: f%23, c%23 Problem: Having issues understanding class constructors in F# I have the following code: module ExchangeSocket = type Socket(url, id, key) = let Communicator = new TestCommuni...
Having issues understanding class constructors in F# Having issues understanding class constructors in F# f%23 c%23 Having Socket Communicator TestCommunicator Client WebsocketClient Communicator.Name Communicator.ReconnectTimeoutMs TimeSpan.FromSeconds TotalMilliseconds WebsocketCommunicator Name ReconnectTimeoutMs th...
[ -0.0142822265625, 0.00726318359375, -0.010009765625, -0.00885009765625, 0.0017852783203125, 0.00909423828125, 0.00823974609375, 0.003814697265625, 0.000293731689453125, -0.000012218952178955078, 0.0084228515625, 0.000537872314453125, 0.01043701171875, -0.0024261474609375, -0.010131835937...
[ 171855, 37348, 100094, 18507, 64549, 25251, 563, 4904, 1238, 3742, 1061, 27853, 84158, 408, 8647, 166697, 2063, 91732, 991, 163612, 1290, 135457, 70059, 19055, 3180, 2271, 191633, 15757, 853, 127219, 222978, 18151, 88996, 104758, 8912, 6713, 45...
[ 0.0229644775390625, 0.1083984375, 0.146728515625, 0.2144775390625, 0.1973876953125, 0.12060546875, 0.1116943359375, 0.2139892578125, 0.045745849609375, 0.026031494140625, 0.0789794921875, 0.1444091796875, 0.0504150390625, 0.016876220703125, 0.087646484375, 0.0215606689453125, 0.01637...
embed
11359730_c1
11359730
fsharp
1
%A; %s" this.ftestCount aExpectation aTestValue aDescription else printfn "Test %d: assertEqual failed: expected %A: got %A; %s" this.ftestCount aExpectation aTestValue aDescription member this.assertFalse(aDescription, aTestValue : bool) = this.ftestCount <- this.ftestCount + 1 if (aTestValue) then this.fsuccessCount...
%A; %s" this.ftestCount aExpectation aTestValue aDescription else printfn "Test %d: assertEqual failed: expected %A: got %A; %s" this.ftestCount aExpectation aTestValue aDescription member this.assertFalse(aDescription, aTestValue : bool) = this.ftestCount <- this.ftestCount + 1 if (aTestValue) then this.fsuccessCount...
[ 0.024169921875, 0.0048828125, 0.00634765625, -0.01220703125, 0.0028076171875, -0.033447265625, -0.00011587142944335938, -0.0045166015625, 0.009765625, 0.0732421875, 0.024169921875, 0.0205078125, 0.0111083984375, 0.007171630859375, 0.00897216796875, -0.0181884765625, 0.0098876953125, ...
[ 1745, 284, 74, 903, 2480, 525, 108210, 10, 19279, 47107, 111337, 856, 50770, 4657, 59478, 37076, 28412, 14783, 71, 237, 33657, 71723, 165523, 12, 84751, 4163, 32786, 162, 17647, 142484, 997, 106, 420, 226534, 214493, 98320, 29568, 882, 2886...
[ 0.1156005859375, 0.124755859375, 0.050140380859375, 0.18994140625, 0.1435546875, 0.17578125, 0.1998291015625, 0.0977783203125, 0.09423828125, 0.204833984375, 0.2445068359375, 0.0872802734375, 0.1075439453125, 0.0631103515625, 0.19287109375, 0.05889892578125, 0.1600341796875, 0.1149...
embed
48507688_c0
48507688
fsharp
0
Title: NSURLSession Download Task - Xamarin iOS F# Problem title: NSURLSession Download Task - Xamarin iOS F# Tags: nsurlsession, completionhandler, c%23, f%23, xamarin.ios Problem: NSURLSession Download Task - Xamarin iOS F# I'm trying to implement the following method from the C# Xamarin.IOS in F# : NSUrlSession.Shar...
NSURLSession Download Task - Xamarin iOS F# NSURLSession Download Task - Xamarin iOS F# nsurlsession completionhandler c%23 f%23 xamarin.ios Client.FailedWithError NSURLSession Download Task Xamarin NSUrlSession.SharedSession.CreateDownloadTask Request Client.ReceivedResponse NSUrlCacheStoragePolicy.Allowed Client.Data...
[ -0.0137939453125, 0.0260009765625, 0.01129150390625, 0.002044677734375, 0.0130615234375, -0.0093994140625, 0.00347900390625, -0.00836181640625, -0.005584716796875, 0.007171630859375, -0.0208740234375, -0.0306396484375, -0.01470947265625, -0.004547119140625, 0.00897216796875, 0.01721191...
[ 52700, 95538, 294, 90, 6889, 4857, 9598, 92, 8606, 44503, 13964, 563, 4904, 6, 1779, 25002, 169234, 21721, 1830, 74258, 3742, 1238, 3949, 2459, 5790, 91732, 17647, 194583, 18468, 48743, 69042, 71, 63784, 2182, 144786, 9874, 1042, 853, 329, ...
[ 0.1629638671875, 0.2646484375, 0.0311279296875, 0.1392822265625, 0.0869140625, 0.1849365234375, 0.1920166015625, 0.05755615234375, 0.15576171875, 0.22607421875, 0.1790771484375, 0.1240234375, 0.18603515625, 0.0010986328125, 0.08734130859375, 0.1778564453125, 0.1710205078125, 0.2390...
embed
14046739_c0
14046739
fsharp
0
Title: dynamic programming and continuation passing style Problem title: dynamic programming and continuation passing style Tags: algorithm, continuations, dynamic-programming, f%23, recursion Problem: dynamic programming and continuation passing style for simple problems like fibonacci, writing CPS is relatively strai...
dynamic programming and continuation passing style dynamic programming and continuation passing style algorithm continuations dynamic-programming f%23 recursion fibonacci_cont n-1 i-1 Seq.max List.map dynamic programming and continuation passing style for simple problems like fibonacci, writing CPS is relatively straig...
[ 0.0027618408203125, 0.0198974609375, -0.00885009765625, -0.0050048828125, -0.003875732421875, 0.00213623046875, 0.006317138671875, -0.0028839111328125, 0.00592041015625, -0.05029296875, -0.0257568359375, 0.0203857421875, -0.0003185272216796875, 0.028076171875, 0.0125732421875, -0.00689...
[ 84079, 56037, 136, 9454, 452, 20623, 6953, 234873, 28966, 1238, 3742, 195625, 809, 20990, 52544, 2271, 18, 5759, 503, 864, 24084, 32036, 62346, 1363, 8781, 44402, 32562, 313, 9059, 80560, 2472, 22158, 1010, 19514, 18632, 3688, 12877, 64627, ...
[ 0.2135009765625, 0.1412353515625, 0.0111083984375, 0.2435302734375, 0.106201171875, 0.17919921875, 0.004547119140625, 0.1446533203125, 0.129638671875, 0.040435791015625, 0.1243896484375, 0.1402587890625, 0.070068359375, 0.1005859375, 0.1124267578125, 0.02801513671875, 0.0469970703125...
embed
39770790_c0
39770790
fsharp
0
Title: F# JQuery Ajax Post Problem title: F# JQuery Ajax Post Tags: ajax, checkbox, f%23, javascript, jquery Problem: F# JQuery Ajax Post I'm trying to make an Ajax Post to my F# controller so I can call a method, that will print and simple string. Eventually instead of string being displayed, information selected via ...
F# JQuery Ajax Post F# JQuery Ajax Post ajax checkbox f%23 javascript jquery JQuery Ajax Post Add checkbox:checked id.length Please localhost:48214 InsertData console.log this.PostInsertData Insert System.Diagnostics.Debug.WriteLine Called Table.insertDataTest Link Method F# JQuery Ajax Post I'm trying to make an Ajax ...
[ -0.0172119140625, 0.00347900390625, 0.0076904296875, -0.007080078125, -0.013671875, 0.00836181640625, 0.00872802734375, 0.0005340576171875, -0.015625, -0.01129150390625, 0.01495361328125, -0.033935546875, -0.011962890625, 0.003936767578125, -0.01300048828125, 0.01361083984375, 0.0310...
[ 563, 4904, 821, 41732, 1294, 157715, 2795, 7767, 425, 12765, 11728, 1238, 3949, 3742, 136951, 1647, 944, 29117, 78292, 3447, 23986, 4000, 40294, 34605, 304, 2592, 360, 33657, 137989, 130250, 4867, 49411, 4153, 12353, 128198, 85779, 93232, 112...
[ 0.1097412109375, 0.1807861328125, 0.0982666015625, 0.1407470703125, 0.1326904296875, 0.2359619140625, 0.1466064453125, 0.1463623046875, 0.07867431640625, 0.150390625, 0.187255859375, 0.049041748046875, 0.002471923828125, 0.12255859375, 0.13916015625, 0.022186279296875, 0.099731445312...
embed
43122745_c0
43122745
fsharp
0
Title: Equivalent to Array.scan |&gt; Array.skip 1, but without creating intermediate array? Problem title: Equivalent to Array.scan |&gt; Array.skip 1, but without creating intermediate array? Tags: f%23 Problem: Equivalent to Array.scan |> Array.skip 1, but without creating intermediate array? The Array.scan function...
Equivalent to Array.scan |&gt; Array.skip 1, but without creating intermediate array? Equivalent to Array.scan |&gt; Array.skip 1, but without creating intermediate array? f%23 Equivalent Array.scan Array.skip Returns Array.zeroCreate Array.length Equivalent to Array.scan |> Array.skip 1, but without creating intermedi...
[ -0.0157470703125, 0.0230712890625, 0.00396728515625, 0.0191650390625, -0.0294189453125, -0.0166015625, -0.0079345703125, 0.004302978515625, 0.00323486328125, -0.0172119140625, 0.0198974609375, 0.03662109375, -0.021484375, -0.0026092529296875, 0.0191650390625, -0.01043701171875, 0.001...
[ 145666, 85540, 47, 69253, 53, 5, 7, 4398, 5386, 44024, 106, 1284, 15490, 105233, 81814, 2182, 10298, 1238, 3742, 173340, 80510, 63784, 23986, 32354, 30646, 140909, 21748, 653, 107730, 5117, 35735, 61475, 11341, 115081, 56104, 7413, 36663, 111...
[ 0.09716796875, 0.1580810546875, 0.032440185546875, 0.1837158203125, 0.164794921875, 0.0867919921875, 0.10723876953125, 0.2457275390625, 0.094482421875, 0.2037353515625, 0.0882568359375, 0.0210418701171875, 0.094970703125, 0.108642578125, 0.1739501953125, 0.07476806640625, 0.167602539...
embed
31710947_c1
31710947
fsharp
1
read a few posts that deal with this same problem, but I am still having trouble solving the issue. In every case I have seen, the issue deals with a package that is installed through NuGet. These cases can be handled by just un-installing and then re-installing and re-referencing the package. However, as FSharp.Core ...
read a few posts that deal with this same problem, but I am still having trouble solving the issue. In every case I have seen, the issue deals with a package that is installed through NuGet. These cases can be handled by just un-installing and then re-installing and re-referencing the package. However, as FSharp.Core ...
[ -0.020263671875, 0.0274658203125, -0.0037689208984375, -0.02197265625, -0.00469970703125, 0.00003981590270996094, -0.0034027099609375, -0.01220703125, 0.0069580078125, 0.0159912109375, -0.003509521484375, -0.000446319580078125, -0.0115966796875, -0.00057220458984375, 0.030029296875, -0...
[ 12301, 5701, 2967, 7464, 63134, 3115, 6496, 31089, 7225, 8, 98169, 20600, 8305, 1429, 724, 126, 50218, 831, 34831, 51, 80383, 69988, 93774, 3467, 254, 5, 50886, 13, 10, 88303, 73, 450, 53418, 30641, 4358, 7880, 759, 4027, 153837, 11435, ...
[ 0.005645751953125, 0.0634765625, 0.0745849609375, 0.05029296875, 0.050567626953125, 0.07330322265625, 0.009124755859375, 0.0743408203125, 0.004669189453125, 0.0032958984375, 0.190185546875, 0.1160888671875, 0.049224853515625, 0.1728515625, 0.1302490234375, 0.178466796875, 0.011932373...
embed
53965981_c1
53965981
fsharp
1
no need to maintain multiple platforms. Just NET Framework (let’s say 4.7.2 as of this date) will do fine. This seems like a very straightforward CI-like exercise and F# FAKE seemed as a proper solution. Unfortunately, none of the provided scarce examples worked (even with reasonable tweaks) and the bugs were cryptic....
no need to maintain multiple platforms. Just NET Framework (let’s say 4.7.2 as of this date) will do fine. This seems like a very straightforward CI-like exercise and F# FAKE seemed as a proper solution. Unfortunately, none of the provided scarce examples worked (even with reasonable tweaks) and the bugs were cryptic....
[ -0.01422119140625, 0.026611328125, 0.0031280517578125, -0.0023956298828125, 0.00616455078125, 0.00164794921875, 0.00958251953125, -0.033447265625, -0.000823974609375, 0.007232666015625, 0.000949859619140625, 0.00726318359375, 0.0164794921875, 0.0203857421875, 0.0224609375, -0.017578125...
[ 110, 3871, 47, 76104, 48716, 13651, 7, 5, 9563, 6, 17777, 202220, 15, 5154, 1398, 179642, 237, 903, 5622, 1221, 54, 5885, 3293, 37202, 1884, 4552, 80560, 2472, 19364, 26550, 5062, 81979, 563, 4904, 119960, 115058, 27798, 29806, 185397, 62...
[ 0.054931640625, 0.09283447265625, 0.03948974609375, 0.1690673828125, 0.132568359375, 0.2301025390625, 0.06109619140625, 0.000335693359375, 0.07354736328125, 0.0855712890625, 0.1522216796875, 0.263427734375, 0.02362060546875, 0.0231170654296875, 0.093505859375, 0.14013671875, 0.014312...
embed
65358934_c0
65358934
fsharp
0
Title: Is it possible to get the tag of an union at runtime? Problem title: Is it possible to get the tag of an union at runtime? Tags: f%23, discriminated-union Problem: Is it possible to get the tag of an union at runtime? I am working on a new version of the Spiral language and as one of its features, it will have s...
Is it possible to get the tag of an union at runtime? Is it possible to get the tag of an union at runtime? f%23 discriminated-union int32 cmp_t cmp_i32 cmp_f64 union_tag tag_t Is it possible to get the tag of an union at runtime? I am working on a new version of the Spiral language and as one of its features, it will ...
[ 0.00174713134765625, 0.01708984375, 0.01300048828125, 0.00002181529998779297, -0.0181884765625, -0.0037689208984375, -0.00445556640625, 0.0020294189453125, 0.01226806640625, -0.040283203125, 0.00982666015625, 0.023193359375, 0.003997802734375, 0.000005543231964111328, 0.00067901611328125...
[ 7722, 2046, 70, 7909, 111, 69941, 99, 11675, 6032, 1238, 3742, 55970, 3674, 87046, 6460, 1827, 254, 18, 420, 13307, 6936, 2071, 142, 20697, 144833, 289, 46876, 66139, 118990, 28, 161789, 225490, 563, 4904, 34844, 9969, 1340, 93766, 2967, ...
[ 0.1806640625, 0.1298828125, 0.08447265625, 0.272705078125, 0.09765625, 0.258544921875, 0.0858154296875, 0.1632080078125, 0.203369140625, 0.05621337890625, 0.0645751953125, 0.1884765625, 0.043975830078125, 0.2144775390625, 0.146240234375, 0.111083984375, 0.0806884765625, 0.053009033...
embed
67271258_c0
67271258
fsharp
0
Title: F# or Ocaml optimization Problem title: F# or Ocaml optimization Tags: f%23, ocaml, python Problem: F# or Ocaml optimization I am trying to understand why the following Python code run faster than the F# and Ocaml versions: from sys import stdin, stdout def read(): return stdin.readline().rstrip() def readints()...
F# or Ocaml optimization F# or Ocaml optimization f%23 ocaml python sys stdin Ocaml stdin.readline l1-1 l2-1 stdout.write Printf parse_line read_line String.trim Str.split Str.regexp_string Array.of_list Array.map int_of_string Array.create r1-1 r2-1 Array.fold_left System System.IO StreamWriter Console.OpenStandardOut...
[ -0.00958251953125, 0.004974365234375, 0.01318359375, 0.0059814453125, -0.0086669921875, -0.006622314453125, -0.0111083984375, -0.00543212890625, -0.011962890625, -0.00823974609375, 0.00007390975952148438, 0.0262451171875, 0.002105712890625, -0.0152587890625, -0.0002880096435546875, -0....
[ 563, 4904, 707, 180, 9779, 141, 87235, 1363, 1238, 3949, 3742, 36, 17198, 50828, 954, 6138, 3035, 39116, 2256, 115727, 146971, 1003, 5, 434, 18781, 39754, 420, 366, 12301, 23351, 3996, 39, 4353, 10901, 83613, 91693, 6562, 69253, 62346, 43...
[ 0.190673828125, 0.250244140625, 0.14111328125, 0.1558837890625, 0.2200927734375, 0.15625, 0.2261962890625, 0.02386474609375, 0.148193359375, 0.05877685546875, 0.1484375, 0.1226806640625, 0.0606689453125, 0.0994873046875, 0.053985595703125, 0.10699462890625, 0.125244140625, 0.099609...
embed
61694051_c1
61694051
fsharp
1
this code location [<OnEventDoAction(typeof<PongEvent>, "HandlePong")>] // Error: The type 'OnEventDoAction' is not defined type Client() = inherit Actor() let mutable serverId : ActorId = null override this.OnInitializeAsync(initialEvent : Event) : System.Threading.Tasks.Task = printfn "%A initializing" this.Id serve...
this code location [<OnEventDoAction(typeof<PongEvent>, "HandlePong")>] // Error: The type 'OnEventDoAction' is not defined type Client() = inherit Actor() let mutable serverId : ActorId = null override this.OnInitializeAsync(initialEvent : Event) : System.Threading.Tasks.Task = printfn "%A initializing" this.Id serve...
[ -0.0107421875, 0.007232666015625, 0.0103759765625, 0.0098876953125, -0.029541015625, -0.0145263671875, 0.007720947265625, 0.00811767578125, -0.003631591796875, -0.006011962890625, -0.008056640625, 0.0106201171875, 0.010986328125, 0.0128173828125, 0.00714111328125, 0.024658203125, 0.0...
[ 903, 18151, 31913, 20320, 192134, 8331, 284, 10763, 50986, 4390, 683, 4021, 2740, 135679, 133, 18939, 268, 212059, 12, 10644, 83, 959, 61924, 71, 91732, 132, 16, 23, 3334, 217, 185617, 2633, 842, 22819, 10723, 568, 2203, 56574, 645, 416, ...
[ 0.16064453125, 0.23583984375, 0.253173828125, 0.264404296875, 0.29541015625, 0.124267578125, 0.1480712890625, 0.2109375, 0.145263671875, 0.077392578125, 0.09375, 0.216064453125, 0.0294952392578125, 0.16162109375, 0.1190185546875, 0.0261688232421875, 0.0288848876953125, 0.2169189453...
embed
61877730_c0
61877730
fsharp
0
Title: RTI DDS Connector Compile Fails Problem title: RTI DDS Connector Compile Fails Tags: f%23, data-distribution-service, cakebuild, c%23, msbuild Problem: RTI DDS Connector Compile Fails I am trying to compile C# Connector of RTI Connext DDS. I clone the C# Connector from this address to my computer via git. But wh...
RTI DDS Connector Compile Fails RTI DDS Connector Compile Fails f%23 data-distribution-service cakebuild c%23 msbuild RTI DDS Connector Compile Fails Could Users eco_p Addins altcover.api.5.0.663 net45 BlackFox.CommandLine.dll FSharp.Core Version Culture PublicKeyToken b03f5f7f11d50a3a MSBUILD MSB1001 Unknown Switch RT...
[ -0.005157470703125, 0.0284423828125, -0.005584716796875, -0.021240234375, 0.00982666015625, 0.00836181640625, 0.013916015625, 0.00738525390625, -0.020751953125, 0.0145263671875, -0.02001953125, -0.0078125, 0.011962890625, 0.01531982421875, 0.006134033203125, 0.014892578125, 0.0106201...
[ 165889, 391, 13526, 62448, 748, 15612, 1340, 190355, 1238, 3742, 2053, 3827, 179236, 22584, 86963, 177149, 191147, 53400, 49347, 254, 29117, 5425, 2641, 63127, 40897, 45955, 122887, 15748, 2043, 4633, 10074, 27591, 425, 12018, 93232, 1181, 3467...
[ 0.256103515625, 0.08270263671875, 0.184814453125, 0.1754150390625, 0.09429931640625, 0.123291015625, 0.1519775390625, 0.1900634765625, 0.00030517578125, 0.050567626953125, 0.07470703125, 0.006622314453125, 0.0855712890625, 0.11474609375, 0.126953125, 0.20703125, 0.038421630859375, ...
embed
73931468_c0
73931468
fsharp
0
Title: Why does this synchronously-run async sleep hang? Problem title: Why does this synchronously-run async sleep hang? Tags: .net, asynchronous, f%23, sleep, synchronous Problem: Why does this synchronously-run async sleep hang? Consider this code: open System open System.Threading ThreadPool.SetMinThreads (1, 1) |>...
Why does this synchronously-run async sleep hang? Why does this synchronously-run async sleep hang? .net asynchronous f%23 sleep synchronous Why System System.Threading ThreadPool.SetMinThreads ThreadPool.SetMaxThreads Async.Sleep Async.Start Console.ReadLine SetMaxThreads Async.RunSynchronously Thread.Sleep RunSynchro...
[ -0.00146484375, 0.006195068359375, 0.00213623046875, -0.000690460205078125, -0.016845703125, -0.00165557861328125, 0.017578125, 0.005767822265625, 0.004302978515625, -0.017333984375, 0.005859375, 0.010986328125, -0.0034637451171875, -0.003021240234375, 0.033935546875, 0.0081787109375, ...
[ 44084, 14602, 903, 200470, 79850, 16428, 10, 12654, 238, 60268, 10756, 1179, 101966, 1238, 3949, 3742, 10821, 12353, 39116, 136719, 7192, 929, 126, 59076, 71346, 133, 126597, 40777, 31345, 93232, 19943, 217835, 28398, 127, 1900, 18151, 28219, ...
[ 0.12255859375, 0.0301513671875, 0.0736083984375, 0.1759033203125, 0.080078125, 0.0723876953125, 0.02374267578125, 0.177978515625, 0.0743408203125, 0.26025390625, 0.2164306640625, 0.119140625, 0.1177978515625, 0.03515625, 0.01007080078125, 0.1510009765625, 0.034820556640625, 0.05963...
embed
15884977_c0
15884977
fsharp
0
Title: How to tell if an F# function is pure? Problem title: How to tell if an F# function is pure? Tags: f%23, pure-function Problem: How to tell if an F# function is pure? Suppose I have these two F# functions: let sq x = x*x let tm = DateTime.Now Clearly sq is pure in that it will always return the same value for a ...
How to tell if an F# function is pure? How to tell if an F# function is pure? f%23 pure-function How DateTime.Now How to tell if an F# function is pure? Suppose I have these two F# functions: Clearly sq is pure in that it will always return the same value for a given input while tm is impure because it will return a di...
[ -0.003997802734375, 0.01190185546875, 0.01495361328125, 0.009765625, -0.0108642578125, 0.00909423828125, -0.01123046875, -0.01324462890625, -0.003814697265625, -0.00439453125, 0.005157470703125, 0.02783203125, -0.01544189453125, -0.001617431640625, 0.005859375, 0.01361083984375, 0.01...
[ 11249, 47, 14192, 2174, 563, 4904, 32354, 83, 34166, 1238, 3742, 137175, 25512, 70059, 137594, 6626, 86120, 91, 864, 11343, 30646, 5701, 34292, 34475, 107730, 808, 39, 21980, 3408, 1221, 12921, 12638, 1733, 35839, 4537, 3917, 83324, 17311, ...
[ 0.067138671875, 0.03900146484375, 0.182373046875, 0.109619140625, 0.1474609375, 0.27734375, 0.2255859375, 0.1082763671875, 0.27392578125, 0.10491943359375, 0.108154296875, 0.1893310546875, 0.1142578125, 0.2095947265625, 0.0609130859375, 0.05810546875, 0.03509521484375, 0.0608520507...
embed
4113138_c0
4113138
fsharp
0
Title: Object-oriented programming in a purely functional programming context? Problem title: Object-oriented programming in a purely functional programming context? Tags: haskell, scala, oop, f%23, functional-programming Problem: Object-oriented programming in a purely functional programming context? Are there any adv...
Object-oriented programming in a purely functional programming context? Object-oriented programming in a purely functional programming context? haskell scala oop f%23 functional-programming Object-oriented Object-oriented programming in a purely functional programming context? Are there any advantages to using object-o...
[ 0.0208740234375, 0.005523681640625, 0.0152587890625, -0.01434326171875, -0.000263214111328125, -0.00439453125, 0.005523681640625, -0.004486083984375, 0.0125732421875, -0.01251220703125, -0.0118408203125, -0.021728515625, -0.002288818359375, -0.01165771484375, -0.01165771484375, -0.0010...
[ 134549, 49133, 297, 56037, 449, 23, 34166, 538, 123309, 43701, 32, 1556, 142508, 146232, 32500, 1238, 3949, 3742, 28966, 2499, 92940, 17368, 36746, 670, 20880, 51006, 563, 4904, 156672, 1286, 759, 32354, 11341, 9393, 40715, 3871, 150624, 1064...
[ 0.25927734375, 0.2216796875, 0.009979248046875, 0.1961669921875, 0.0931396484375, 0.034942626953125, 0.1375732421875, 0.0304107666015625, 0.2286376953125, 0.2044677734375, 0.0125732421875, 0.1170654296875, 0.20361328125, 0.1490478515625, 0.2001953125, 0.0626220703125, 0.0370788574218...
embed
4336750_c1
4336750
fsharp
1
= this._primaryIndicator and set(v) = this._primaryIndicator <- v [<XmlArrayAttribute>] [<XmlArrayItem(typeof<PublisherId>, ElementName = "PublisherID")>] member this.PublisherID with get() = this._publisherIds and set(v) = this._publisherIds <- v and I also modified the member attributes on the elemetn in question: [...
= this._primaryIndicator and set(v) = this._primaryIndicator <- v [<XmlArrayAttribute>] [<XmlArrayItem(typeof<PublisherId>, ElementName = "PublisherID")>] member this.PublisherID with get() = this._publisherIds and set(v) = this._publisherIds <- v and I also modified the member attributes on the elemetn in question: [...
[ 0.00823974609375, 0.036865234375, 0.0203857421875, -0.006805419921875, -0.021484375, 0.01177978515625, 0.0020904541015625, -0.0252685546875, -0.0016632080078125, 0.02099609375, 0.023681640625, 0.02001953125, -0.0108642578125, -0.01312255859375, 0, -0.00494384765625, -0.0189208984375,...
[ 2203, 903, 5, 44526, 1294, 159310, 408, 1290, 5423, 334, 81, 1542, 7237, 7614, 7092, 28848, 191145, 2982, 50986, 143145, 15227, 71, 48325, 163612, 56, 7146, 32786, 678, 2046, 179193, 568, 6468, 73197, 150380, 114128, 2967, 442, 959, 27623, ...
[ 0.02752685546875, 0.190673828125, 0.01275634765625, 0.1351318359375, 0.06982421875, 0.160888671875, 0.14306640625, 0.124755859375, 0.1729736328125, 0.2386474609375, 0.221923828125, 0.0543212890625, 0.1385498046875, 0.060760498046875, 0.130615234375, 0.0144500732421875, 0.160034179687...
embed
16783196_c1
16783196
fsharp
1
( chart ) (* Convenience method to make it easier to plot functions *) let plotTwoFunctions minX maxX f1 f2 = let LCF = new LineChartForm("lines", minX, maxX, f1, f2); LCF.Show(); On the other hand, if I try to use the technique in the Parameter Arrays section of http://msdn.microsoft.com/en-us/library/dd233213.aspx to...
( chart ) (* Convenience method to make it easier to plot functions *) let plotTwoFunctions minX maxX f1 f2 = let LCF = new LineChartForm("lines", minX, maxX, f1, f2); LCF.Show(); On the other hand, if I try to use the technique in the Parameter Arrays section of http://msdn.microsoft.com/en-us/library/dd233213.aspx to...
[ -0.0133056640625, 0.01165771484375, -0.0135498046875, 0.004241943359375, -0.0025177001953125, -0.0089111328125, 0.0281982421875, -0.0216064453125, 0.0101318359375, 0.00360107421875, -0.0042724609375, -0.023193359375, -0.0021820068359375, 0.005401611328125, 0.011962890625, 0.00198364257...
[ 116287, 75402, 65229, 14, 55300, 3249, 99156, 23577, 32354, 2633, 618, 3613, 97249, 10763, 881, 1542, 18389, 1238, 418, 304, 339, 84683, 3525, 16777, 84068, 18, 102973, 59801, 10461, 168660, 9790, 4527, 61353, 23, 1720, 29089, 69253, 4778, ...
[ 0.2359619140625, 0.03289794921875, 0.1363525390625, 0.057525634765625, 0.1031494140625, 0.0050048828125, 0.138671875, 0.2158203125, 0.229736328125, 0.05645751953125, 0.01788330078125, 0.1781005859375, 0.1854248046875, 0.1103515625, 0.145263671875, 0.112548828125, 0.10052490234375, ...
embed
49341034_c0
49341034
fsharp
0
Title: JSON parsing collection of records Problem title: JSON parsing collection of records Tags: json, f%23, datacontractjsonserializer, collections Problem: JSON parsing collection of records I've been struggling with this for long, I believe there's something wrong with my record design. MY json looks like below. I ...
JSON parsing collection of records JSON parsing collection of records json f%23 datacontractjsonserializer collections JSON a40a5e5c-98b3-45ae-d6a3-924b31d8712a test2 test3 System.Runtime.Serialization DataContract List DataMemberAttribute Name Data request.GetResponse HttpWebResponse StreamReader response.GetResponseS...
[ 0.0140380859375, 0.023681640625, -0.00714111328125, 0.00010633468627929688, -0.01336669921875, 0.000705718994140625, -0.0174560546875, 0.0157470703125, 0.0028839111328125, 0.012451171875, -0.00799560546875, 0.00628662109375, 0.007659912109375, -0.00531005859375, 0.02197265625, -0.00570...
[ 821, 58627, 366, 6953, 42486, 111, 115923, 1647, 1681, 1238, 3949, 3742, 2053, 184103, 170, 43048, 1799, 4383, 2839, 16665, 82877, 5016, 3034, 304, 363, 12353, 4233, 51626, 47691, 39989, 32036, 27417, 191145, 15757, 50336, 94399, 115061, 3134...
[ 0.1529541015625, 0.2203369140625, 0.1806640625, 0.05670166015625, 0.202880859375, 0.074951171875, 0.2110595703125, 0.118896484375, 0.201904296875, 0.04510498046875, 0.041229248046875, 0.1346435546875, 0.04779052734375, 0.1788330078125, 0.0199432373046875, 0.04754638671875, 0.00558471...
embed
56793840_c0
56793840
fsharp
0
Title: Can I Use A Fold (or Some Other Kind Of Reduce) For This Code? Problem title: Can I Use A Fold (or Some Other Kind Of Reduce) For This Code? Tags: hash, f%23 Problem: Can I Use A Fold (or Some Other Kind Of Reduce) For This Code? I'm trying to rekindle my knowledge of F#. For practice I built an implementation o...
Can I Use A Fold (or Some Other Kind Of Reduce) For This Code? Can I Use A Fold (or Some Other Kind Of Reduce) For This Code? hash f%23 Can Use Fold Some Other Kind Reduce XorWithHash MultiplyByPrimeFactor Prime GetNthByteOfString s:string Encoding.UTF8.GetByteCount Encoding.UTF8.GetBytes None GetFNV1a32 acc:unativeint...
[ -0.0264892578125, 0.00579833984375, 0.014404296875, 0.025634765625, -0.0224609375, -0.012939453125, 0.003326416015625, 0.0010223388671875, -0.00112152099609375, -0.033447265625, 0.0177001953125, -0.002349853515625, -0.00897216796875, 0.01611328125, -0.00982666015625, -0.0093994140625, ...
[ 4171, 87, 36836, 62, 30077, 71, 64511, 27435, 853, 106357, 1326, 3293, 28864, 1556, 127, 1238, 3949, 3742, 31384, 1193, 748, 194583, 6495, 1495, 19335, 62479, 75358, 145111, 13, 135518, 56195, 20779, 927, 67, 132887, 71713, 91, 12, 91693, ...
[ 0.1219482421875, 0.0286865234375, 0.1480712890625, 0.05242919921875, 0.23779296875, 0.172119140625, 0.0628662109375, 0.122314453125, 0.1461181640625, 0.253173828125, 0.0433349609375, 0.059326171875, 0.1820068359375, 0.147705078125, 0.1033935546875, 0.06280517578125, 0.04937744140625,...
embed
16189808_c0
16189808
fsharp
0
Title: Problems with Longest Common Subsequence parallel algorithm in F# (using Parallel.For) Problem title: Problems with Longest Common Subsequence parallel algorithm in F# (using Parallel.For) Tags: task-parallel-library, f%23, parallel-processing Problem: Problems with Longest Common Subsequence parallel algorithm ...
Problems with Longest Common Subsequence parallel algorithm in F# (using Parallel.For) Problems with Longest Common Subsequence parallel algorithm in F# (using Parallel.For) task-parallel-library f%23 parallel-processing Parallel.For Problems Longest Common Subsequence lcs_seq_1d_diags x:char y:char x.Length y.Length d...
[ 0.004241943359375, 0.0289306640625, -0.0120849609375, 0.00127410888671875, 0.002197265625, -0.02099609375, 0.001922607421875, 0.0274658203125, -0.0211181640625, 0.01165771484375, 0.0125732421875, 0.054443359375, 0.0036773681640625, 0.01226806640625, 0.0164794921875, 0.001800537109375, ...
[ 15649, 14407, 525, 151301, 8273, 184, 944, 95103, 234873, 563, 4904, 223, 211485, 18537, 5, 66211, 6276, 1229, 2844, 1238, 3949, 3742, 63923, 96, 4439, 864, 71, 3390, 9405, 1022, 9254, 113, 126920, 304, 69253, 7612, 418, 472, 5759, 17, ...
[ 0.1572265625, 0.098388671875, 0.1025390625, 0.1658935546875, 0.12939453125, 0.1202392578125, 0.1075439453125, 0.2337646484375, 0.16943359375, 0.1031494140625, 0.16015625, 0.03741455078125, 0.2349853515625, 0.1678466796875, 0.0175323486328125, 0.09765625, 0.0267181396484375, 0.10418...
embed
43325854_c0
43325854
fsharp
0
Title: Is there a way to pass non-project .fs files into a command-line argument in an FSharp .exe? Problem title: Is there a way to pass non-project .fs files into a command-line argument in an FSharp .exe? Tags: f%23 Problem: Is there a way to pass non-project .fs files into a command-line argument in an FSharp .exe?...
Is there a way to pass non-project .fs files into a command-line argument in an FSharp .exe? Is there a way to pass non-project .fs files into a command-line argument in an FSharp .exe? f%23 FSharp compareTwoThings.fs myProj.fs myProj.fsproj Thing1 Thing1.fs Thing1.json Thing2 Thing2.fs Thing2.json Is there a way to pa...
[ 0.0022735595703125, 0.003631591796875, -0.012451171875, -0.00176239013671875, -0.004302978515625, 0.0074462890625, 0.00408935546875, -0.02685546875, -0.0002956390380859375, -0.01300048828125, 0.016845703125, 0.0308837890625, 0.001617431640625, 0.00994873046875, 0.018310546875, -0.00534...
[ 3917, 27875, 351, 9, 95322, 5, 17447, 102158, 3934, 75101, 2256, 10750, 93774, 3467, 254, 46480, 23, 1238, 3949, 3742, 69101, 3613, 20800, 5180, 759, 10752, 170, 3454, 6003, 214, 418, 1681, 304, 5442, 97733, 32354, 618, 1884, 19048, 5646,...
[ 0.095458984375, 0.1497802734375, 0.2099609375, 0.0147247314453125, 0.19287109375, 0.055572509765625, 0.259521484375, 0.2061767578125, 0.100830078125, 0.1871337890625, 0.1719970703125, 0.2435302734375, 0.1014404296875, 0.1907958984375, 0.19873046875, 0.1685791015625, 0.04742431640625,...
embed
64804440_c1
64804440
fsharp
1
3a'. at Berreman.MathNetNumericsMath.complexDiagonalMatrix(Int32 n, Complex e) at Berreman.Geometry.complexIdentityMatrix(Int32 n) in C:\GitHub\Berreman\Berreman\Berreman\Geometry.fs:line 17 at Berreman.Geometry.ComplexMatrix3x3.get_identity() in C:\GitHub\Berreman\Berreman\Berreman\Geometry.fs:line 307 at Berreman.Mat...
: When I examine Project.fsproj.resolvedReferences.paths from C:\Users\kkkma\AppData\Local\Temp\nuget\28772--091a5e4a-2a27-4d4d-9891-2b58055c5317 (and that's the folder created by FSI when I run the script) I see that it starts from C:\Users\kkkma\.nuget\packages\microsoft.netframework.referenceassemblies.net48\1.0.0\b...
[ -0.0252685546875, 0.0252685546875, 0.014404296875, 0.001556396484375, 0.027099609375, -0.009033203125, 0.0036468505859375, 0.01263427734375, 0.01116943359375, -0.005035400390625, 0.00885009765625, 0.017578125, -0.0084228515625, 0.000530242919921875, 0.004669189453125, 0.004791259765625...
[ 160477, 27331, 17447, 3454, 170, 107, 86918, 71, 4332, 69988, 90, 128405, 313, 1062, 7, 92, 3218, 192, 39179, 137989, 203758, 159065, 539, 3794, 3882, 168766, 12183, 176673, 171074, 14226, 2489, 78303, 75935, 563, 9902, 11675, 26499, 1957, ...
[ 0.10076904296875, 0.1304931640625, 0.1165771484375, 0.0926513671875, 0.0926513671875, 0.038970947265625, 0.1629638671875, 0.02337646484375, 0.08154296875, 0.2069091796875, 0.06243896484375, 0.1656494140625, 0.0567626953125, 0.039886474609375, 0.06341552734375, 0.037017822265625, 0.11...
embed
39174099_c0
39174099
fsharp
0
Title: How to display the SQL generated by the fsharp.data.sqlprovider type provider Problem title: How to display the SQL generated by the fsharp.data.sqlprovider type provider Tags: sql-server, f%23 Problem: How to display the SQL generated by the fsharp.data.sqlprovider type provider I'm learning F# and playing arou...
How to display the SQL generated by the fsharp.data.sqlprovider type provider How to display the SQL generated by the fsharp.data.sqlprovider type provider sql-server f%23 How SQL fsharp.data.sqlprovider DataContext SQLProvider FSharp.Data.SqlProvider.dll System.Data.Linq.dll System System.Data.Linq FSharp.Data.Sql Lit...
[ 0.0252685546875, 0.029541015625, 0.01361083984375, 0.0177001953125, 0.00116729736328125, 0.020263671875, -0.00927734375, -0.00933837890625, -0.0252685546875, -0.041748046875, 0.01806640625, -0.01080322265625, 0.0022125244140625, -0.01318359375, -0.0048828125, -0.00433349609375, -0.01...
[ 11249, 44116, 80866, 139392, 1238, 89280, 254, 99247, 93136, 820, 10644, 81450, 10135, 39642, 3949, 3742, 11935, 22829, 177997, 62160, 93774, 3467, 137989, 1181, 12353, 44982, 4265, 237051, 71713, 62448, 187781, 85512, 151301, 37382, 196707, 1588...
[ 0.04461669921875, 0.1885986328125, 0.24267578125, 0.1484375, 0.09423828125, 0.1806640625, 0.1539306640625, 0.1795654296875, 0.150634765625, 0.035491943359375, 0.183349609375, 0.218017578125, 0.0330810546875, 0.1278076171875, 0.0067138671875, 0.1336669921875, 0.0225677490234375, 0.1...
embed
71913825_c0
71913825
fsharp
0
Title: Issue with Async.Sequential, in F# Problem title: Issue with Async.Sequential, in F# Tags: f%23, asynchronous Problem: Issue with Async.Sequential, in F# I have the following: do! [ [ TradesDatabase.deleteTradesAsync credentials time (time.Add oneDay) TradesDatabase.insertTradesAsync credentials trades ] |> Asyn...
Issue with Async.Sequential, in F# Issue with Async.Sequential, in F# f%23 asynchronous Issue Async.Sequential TradesDatabase.deleteTradesAsync time.Add TradesDatabase.insertTradesAsync KVWAPDatabase.deleteKVWAPAsync KVWAPDatabase.insertKVWAPAsync output.KVWAP CandlesDatabase.deleteCandlesAsync CandlesDatabase.insertCa...
[ 0.00579833984375, 0.0206298828125, 0.00439453125, 0.0057373046875, -0.00958251953125, -0.0159912109375, -0.006683349609375, -0.00531005859375, -0.006744384765625, 0.01416015625, 0.006378173828125, 0.03466796875, 0.0206298828125, 0.000606536865234375, 0.0191650390625, -0.000885009765625...
[ 223317, 678, 62, 12654, 238, 5, 4233, 5490, 80973, 563, 4904, 1238, 3949, 3742, 101966, 64166, 137989, 37382, 8520, 67, 28542, 988, 1733, 4028, 33657, 114796, 11217, 1724, 64831, 140992, 683, 54670, 1577, 2940, 1229, 11137, 25632, 75414, 18...
[ 0.16650390625, 0.069091796875, 0.046875, 0.25048828125, 0.1495361328125, 0.0084228515625, 0.119384765625, 0.1778564453125, 0.19775390625, 0.11083984375, 0.1949462890625, 0.063232421875, 0.0166473388671875, 0.1561279296875, 0.1087646484375, 0.2047119140625, 0.029205322265625, 0.1157...
embed
18381683_c1
18381683
fsharp
1
. Parameter name: source // Record type. type ModelKeyRecord = { IdOne : Int32; IdTwo : Int32 } modelBuilder.Entity<Model>().HasKey(fun (m : Model) -> { IdOne = m.IdOne; IdTwo = m.IdTwo }) // ArgumentNullException: Value cannot be null. Parameter name: source // Tuple. modelBuilder.Entity<Model>().HasKey(fun (m : Model...
. Parameter name: source // Record type. type ModelKeyRecord = { IdOne : Int32; IdTwo : Int32 } modelBuilder.Entity<Model>().HasKey(fun (m : Model) -> { IdOne = m.IdOne; IdTwo = m.IdTwo }) // ArgumentNullException: Value cannot be null. Parameter name: source // Tuple. modelBuilder.Entity<Model>().HasKey(fun (m : Model...
[ -0.00970458984375, 0.0150146484375, 0.00927734375, -0.01031494140625, 0.010498046875, -0.01556396484375, -0.0019073486328125, 0.00138092041015625, 0.01220703125, -0.026611328125, -0.0020294189453125, 0.02001953125, 0.008544921875, 0.01422119140625, 0.0125732421875, -0.00131988525390625...
[ 1720, 29089, 9351, 31344, 54877, 10644, 13293, 162429, 32271, 24799, 62068, 6460, 618, 3613, 3299, 121137, 18, 140290, 6495, 7, 16498, 39, 347, 112140, 18444, 1181, 63928, 190060, 53418, 56574, 1371, 8705, 51515, 4488, 19279, 11907, 1733, 181...
[ 0.03228759765625, 0.1177978515625, 0.000885009765625, 0.214599609375, 0.1785888671875, 0.09503173828125, 0.167724609375, 0.1827392578125, 0.156982421875, 0.0841064453125, 0.1929931640625, 0.124267578125, 0.0438232421875, 0.18115234375, 0.1474609375, 0.132568359375, 0.04962158203125, ...
embed
76982687_c0
76982687
fsharp
0
Title: EF Core Quotations - filter composite key by list of ids Problem title: EF Core Quotations - filter composite key by list of ids Tags: entity-framework-core, quotations, f%23 Problem: EF Core Quotations - filter composite key by list of ids There is an entity that using composite key: [<CLIMutable>] type Entity ...
EF Core Quotations - filter composite key by list of ids EF Core Quotations - filter composite key by list of ids entity-framework-core quotations f%23 Core Quotations CLIMutable Entity Id1 Id2 Number SELECT Entities WHERE DbCtx Linq.Enumerable.Any ef.Id1 ef.Id2 ToListAsync UNION ALL Array.fold IQueryable context.Entit...
[ -0.00830078125, -0.000469207763671875, 0.0016937255859375, -0.00250244140625, -0.0016937255859375, -0.003021240234375, 0.006561279296875, 0.023681640625, 0.019287109375, -0.038818359375, -0.01708984375, 0.0299072265625, 0.00396728515625, 0.0126953125, -0.006744384765625, 0.010986328125...
[ 51779, 31365, 43851, 22062, 46312, 375, 77087, 22799, 390, 5303, 111, 3447, 77630, 939, 160328, 18244, 30854, 81732, 5256, 1238, 3742, 83318, 34, 22819, 16511, 2481, 24799, 418, 304, 103332, 6755, 144832, 31075, 30096, 275, 425, 339, 44982, ...
[ 0.2440185546875, 0.229736328125, 0.15673828125, 0.164794921875, 0.2110595703125, 0.0889892578125, 0.2012939453125, 0.1719970703125, 0.0421142578125, 0.12353515625, 0.04608154296875, 0.1453857421875, 0.13037109375, 0.03619384765625, 0.050628662109375, 0.0227203369140625, 0.15417480468...
embed
40828151_c0
40828151
fsharp
0
Title: Subsetting JSON data Problem title: Subsetting JSON data Tags: f%23-data, f%23, json Problem: Subsetting JSON data Please consider this dataset: type Deck = JsonProvider<"..."> let dt = Deck.GetSamples() dt [{"collectible":true,"health":4,"artist":"Zoltan Boros","type":"MINION","cost":1,"attack":2}, {"collectibl...
Subsetting JSON data Subsetting JSON data f%23-data f%23 json Subsetting JSON Deck JsonProvider Deck.GetSamples Zoltan Boros MINION James Ryman Warren Mahy LAND x::xs x.l2 FS0072 Lookup Subsetting JSON data Please consider this dataset: I am trying to build a function capable of extracting certain info from it and, eve...
[ 0.005096435546875, 0.00408935546875, 0.004669189453125, -0.0015411376953125, 0.018310546875, -0.0169677734375, 0.0015106201171875, 0.014404296875, 0.01031494140625, 0.021240234375, 0.0001926422119140625, 0.040771484375, -0.016845703125, 0.0014190673828125, -0.00189971923828125, -0.0054...
[ 8273, 89840, 821, 58627, 2053, 1238, 167218, 27495, 10135, 3949, 3742, 1647, 1681, 162163, 177997, 62160, 126, 29494, 29277, 19, 133939, 7, 86240, 15513, 14631, 12563, 669, 171458, 12576, 53, 53315, 1022, 304, 93774, 77110, 60818, 16916, 3509...
[ 0.2294921875, 0.2059326171875, 0.1614990234375, 0.2335205078125, 0.18310546875, 0.04052734375, 0.003997802734375, 0.110595703125, 0.132568359375, 0.014373779296875, 0.1021728515625, 0.106689453125, 0.19287109375, 0.2091064453125, 0.103759765625, 0.0626220703125, 0.008697509765625, ...
embed
26771631_c0
26771631
fsharp
0
Title: Centroid and area of polygon using F# Problem title: Centroid and area of polygon using F# Tags: vb.net, list, f%23, dictionary Problem: Centroid and area of polygon using F# I've written a function to find out the area and centroid of a polygon (based on this ref: http://en.wikipedia.org/wiki/Centroid ) However...
Centroid and area of polygon using F# Centroid and area of polygon using F# vb.net list f%23 dictionary F# Centroid Private Find_Centroid_And_Area ByVal List Point2D AreaCentroid Dim Try Double Single Nothing Integer List.Count Select Case End P2.X P1.X P2.Y P1.Y Next CSng Area System.Math.Abs result.Area result.Centro...
[ 0.0003814697265625, -0.021240234375, 0.017333984375, 0.008544921875, -0.006317138671875, -0.003509521484375, -0.0098876953125, 0.00701904296875, 0.000110626220703125, 0.0067138671875, 0.01239013671875, -0.013671875, 0.008056640625, -0.00762939453125, 0.0017852783203125, -0.007049560546...
[ 13443, 532, 136, 16128, 111, 35874, 6126, 17368, 563, 4904, 86482, 1179, 5303, 1238, 3742, 10763, 86111, 26040, 59441, 48899, 37839, 284, 1283, 3311, 42272, 32036, 41097, 304, 397, 79200, 45247, 40858, 43609, 182747, 44401, 108210, 51620, 437...
[ 0.2498779296875, 0.2313232421875, 0.1658935546875, 0.2154541015625, 0.03961181640625, 0.1495361328125, 0.1671142578125, 0.07568359375, 0.160888671875, 0.22998046875, 0.166748046875, 0.1124267578125, 0.1199951171875, 0.06988525390625, 0.07501220703125, 0.065673828125, 0.1539306640625,...
embed
52103650_c0
52103650
fsharp
0
Title: let! is not allowed in seq {...} in async? Problem title: let! is not allowed in seq {...} in async? Tags: f%23, c%23 Problem: let! is not allowed in seq {...} in async? I'm trying to convert the following C# code to F#. static async Task<IEnumerable<string>> ListingObjectsAsync() { ListObjectsV2Request request ...
let! is not allowed in seq {...} in async? let! is not allowed in seq {...} in async? f%23 c%23 Task IEnumerable ListingObjectsAsync ListObjectsV2Request BucketName MaxKeys ListObjectsV2Response client.ListObjectsV2Async S3Object response.S3Objects entry.Key request.ContinuationToken response.NextContinuationToken resp...
[ 0.00482177734375, 0.02197265625, -0.0028839111328125, -0.01220703125, 0.007354736328125, -0.00127410888671875, -0.0035247802734375, 0.00066375732421875, -0.00021457672119140625, 0.006622314453125, 0.0037841796875, 0.01220703125, -0.000751495361328125, 0.0042724609375, 0.031494140625, -...
[ 2633, 38, 83, 959, 107003, 23, 40, 864, 27, 10, 12654, 238, 1238, 3742, 9598, 75536, 2606, 32036, 75161, 856, 304, 75616, 27853, 163612, 9920, 162429, 94399, 23282, 154663, 363, 57553, 42805, 50336, 100761, 1098, 4460, 15075, 16843, 38496, ...
[ 0.25439453125, 0.1776123046875, 0.064208984375, 0.163330078125, 0.216796875, 0.1146240234375, 0.15869140625, 0.23095703125, 0.113037109375, 0.05865478515625, 0.2413330078125, 0.12060546875, 0.07427978515625, 0.1397705078125, 0.117431640625, 0.0279083251953125, 0.04638671875, 0.1145...
embed
66501658_c0
66501658
fsharp
0
Title: Wrappers around methods with multiple optional parameters Problem title: Wrappers around methods with multiple optional parameters Tags: f%23 Problem: Wrappers around methods with multiple optional parameters I have a C# Class with a method with several optional parameters that throws exceptions. I'd like to cat...
Wrappers around methods with multiple optional parameters Wrappers around methods with multiple optional parameters f%23 Wrappers SomeType this.DoSomethingResult None this.DoSomething Some Error ex.Message Wrappers around methods with multiple optional parameters I have a C# Class with a method with several optional pa...
[ -0.00506591796875, 0.0263671875, 0.0045166015625, -0.00750732421875, -0.00506591796875, -0.0130615234375, -0.00323486328125, -0.040771484375, 0.0115966796875, 0.025146484375, -0.0194091796875, -0.01202392578125, -0.004547119140625, 0.0179443359375, 0.00836181640625, 0.0050048828125, ...
[ 601, 13631, 21777, 10932, 150624, 678, 48716, 35829, 289, 171859, 1238, 3949, 3742, 31384, 196707, 903, 8331, 282, 64113, 7, 7136, 438, 212059, 6011, 313, 4904, 35014, 55300, 40368, 104250, 131527, 1884, 105556, 30646, 16750, 76104, 81273, 10...
[ 0.04022216796875, 0.2181396484375, 0.1727294921875, 0.09637451171875, 0.2010498046875, 0.041778564453125, 0.1947021484375, 0.2261962890625, 0.1197509765625, 0.2373046875, 0.038421630859375, 0.023040771484375, 0.139892578125, 0.02984619140625, 0.164306640625, 0.112060546875, 0.0628051...
embed
39854211_c1
39854211
fsharp
1
with | One a -> Two(a, x) | Two(a, b) -> Three(a, b, x) | Three(a, b, c) -> Four(a, b, c, x) | _ -> failwith "Cannot prepend to Digit.Four!" member me.Prepend x = match me with | One a -> Two(x, a) | Two(a, b) -> Three(x, a, b) | Three(a, b, c) -> Four(x, a, b, c) | _ -> failwith "Cannot prepend to Digit.Four!" [<NoCo...
with | One a -> Two(a, x) | Two(a, b) -> Three(a, b, x) | Three(a, b, c) -> Four(a, b, c, x) | _ -> failwith "Cannot prepend to Digit.Four!" member me.Prepend x = match me with | One a -> Two(x, a) | Two(a, b) -> Three(x, a, b) | Three(a, b, c) -> Four(x, a, b, c) | _ -> failwith "Cannot prepend to Digit.Four!" [<NoCo...
[ -0.0108642578125, 0.012939453125, -0.0184326171875, -0.00927734375, -0.009033203125, -0.01165771484375, -0.00677490234375, -0.020263671875, 0.00732421875, -0.02490234375, 0.0028076171875, -0.0157470703125, 0.00182342529296875, -0.008544921875, 0.005645751953125, -0.0234375, 0.0002803...
[ 678, 58745, 6561, 10, 33079, 32964, 11, 1022, 876, 129335, 501, 65056, 35782, 76228, 54694, 10869, 64503, 3611, 47, 51174, 18, 27591, 474, 3890, 32786, 163, 19273, 2278, 71, 2203, 14858, 425, 5021, 108161, 1686, 161789, 10644, 96019, 62731,...
[ 0.21435546875, 0.05267333984375, 0.133544921875, 0.076416015625, 0.09356689453125, 0.1339111328125, 0.07476806640625, 0.1083984375, 0.041046142578125, 0.125244140625, 0.01422119140625, 0.1695556640625, 0.106201171875, 0.0303955078125, 0.041290283203125, 0.08477783203125, 0.1243896484...
embed
57484943_c0
57484943
fsharp
0
Title: With FParsec how would I parse: line ending in newline &lt;|&gt; a line ending with eof Problem title: With FParsec how would I parse: line ending in newline &lt;|&gt; a line ending with eof Tags: f%23, fparsec Problem: With FParsec how would I parse: line ending in newline <|> a line ending with eof I'm parsing...
With FParsec how would I parse: line ending in newline &lt;|&gt; a line ending with eof With FParsec how would I parse: line ending in newline &lt;|&gt; a line ending with eof f%23 fparsec FParsec With FParsec how would I parse: line ending in newline <|> a line ending with eof I'm parsing a file and want to throw away...
[ -0.0208740234375, 0.0191650390625, -0.001678466796875, 0.0230712890625, -0.039306640625, 0.0247802734375, 0.00811767578125, 0.00946044921875, 0.006500244140625, 0.003814697265625, -0.004241943359375, 0.0048828125, -0.000904083251953125, -0.0147705078125, 0.000553131103515625, 0.0046081...
[ 17106, 563, 28636, 39797, 3642, 2806, 366, 184, 13315, 86658, 23, 3525, 2256, 1277, 5386, 678, 28, 4390, 1238, 3949, 3742, 2500, 4426, 58745, 11435, 3444, 47, 104250, 16065, 24233, 124519, 111, 87, 959, 60892, 4488, 756, 50218, 4568, 7227...
[ 0.0203094482421875, 0.1373291015625, 0.1239013671875, 0.208984375, 0.03607177734375, 0.040740966796875, 0.14404296875, 0.111328125, 0.1956787109375, 0.180908203125, 0.1156005859375, 0.1568603515625, 0.227294921875, 0.042449951171875, 0.0916748046875, 0.04632568359375, 0.09375, 0.27...
embed
70633865_c0
70633865
fsharp
0
Title: Functional Programming - Avoid mutable in match expression and changing int value Problem title: Functional Programming - Avoid mutable in match expression and changing int value Tags: functional-programming, f%23 Problem: Functional Programming - Avoid mutable in match expression and changing int value I just s...
Functional Programming - Avoid mutable in match expression and changing int value Functional Programming - Avoid mutable in match expression and changing int value functional-programming f%23 Functional Programming Avoid DemoData.schiggy Console.ReadLine Schiggy Pikachu DemoData.pikachu Kleinstein DemoData.kleinstein K...
[ -0.017578125, -0.0030364990234375, 0.025390625, 0.005401611328125, -0.003265380859375, -0.00909423828125, 0.00372314453125, 0.0054931640625, 0.007659912109375, 0.017578125, 0.00714111328125, 0.008544921875, 0.006622314453125, 0.01092529296875, 0.027099609375, 0.0054931640625, 0.02392...
[ 28670, 10763, 289, 27958, 214, 84361, 532, 842, 22819, 14858, 125195, 151134, 23, 18, 34292, 123309, 28966, 1238, 3949, 3742, 42506, 137989, 48170, 67192, 40777, 31345, 93232, 40482, 129638, 4776, 72419, 27572, 18055, 167686, 166849, 9601, 1153...
[ 0.110595703125, 0.1114501953125, 0.06744384765625, 0.1934814453125, 0.0290374755859375, 0.1829833984375, 0.113525390625, 0.175048828125, 0.2222900390625, 0.19775390625, 0.188232421875, 0.167236328125, 0.0928955078125, 0.1260986328125, 0.13623046875, 0.1854248046875, 0.1519775390625, ...
embed
56502392_c1
56502392
fsharp
1
() [<EntryPoint>] let main argv = let accountCreated = AccountEvent.AccountCreated({ Owner = "Khalid Abuhakmeh" AccountId = Guid.NewGuid() StartingBalance = 1000m CreatedAt = DateTimeOffset.UtcNow }) let accountCreatedType = accountCreated.GetType() let method1 = typeof<Aggregate>.GetMethods().Single(fun x -> x.Name =...
() [<EntryPoint>] let main argv = let accountCreated = AccountEvent.AccountCreated({ Owner = "Khalid Abuhakmeh" AccountId = Guid.NewGuid() StartingBalance = 1000m CreatedAt = DateTimeOffset.UtcNow }) let accountCreatedType = accountCreated.GetType() let method1 = typeof<Aggregate>.GetMethods().Single(fun x -> x.Name =...
[ 0.00051116943359375, 0.005218505859375, -0.01416015625, -0.004302978515625, -0.006591796875, -0.0322265625, 0.00732421875, 0.0234375, 0.0167236328125, -0.0361328125, -0.007659912109375, 0.002655029296875, -0.0184326171875, 0.00048828125, 0.0096435546875, -0.01214599609375, 0.01275634...
[ 7768, 15123, 147534, 268, 2633, 5201, 79459, 334, 15426, 63784, 27686, 61417, 192134, 39450, 71013, 220197, 137055, 12472, 17192, 37862, 81097, 568, 71, 6955, 532, 46568, 22769, 13794, 214, 63641, 7154, 2203, 4382, 39, 151313, 28848, 25512, 7...
[ 0.12109375, 0.208984375, 0.22900390625, 0.01318359375, 0.1207275390625, 0.1544189453125, 0.1605224609375, 0.19970703125, 0.29296875, 0.172119140625, 0.1717529296875, 0.26611328125, 0.2578125, 0.089599609375, 0.220458984375, 0.2362060546875, 0.07958984375, 0.1666259765625, 0.12731...
embed
61006086_c0
61006086
fsharp
0
Title: F# comparing lambdas for equality Problem title: F# comparing lambdas for equality Tags: lambda, serialization, f%23, equality Problem: F# comparing lambdas for equality I would like to try and compare F# lambdas for equality. This is, at first inspection, not possible. let foo = 10 let la = (fun x y -> x + y + ...
F# comparing lambdas for equality F# comparing lambdas for equality lambda serialization f%23 equality System.Runtime.Serialization.Formatters.Binary System.IO BinaryFormatter MemoryStream bf.Serialize ms.ToArray ByteToHex Array.map System.String.Format String.concat System.String.Empty F# comparing lambdas for equalit...
[ 0.01446533203125, 0.006072998046875, -0.000518798828125, -0.01708984375, 0.0029449462890625, -0.0211181640625, 0.00799560546875, 0.005523681640625, -0.00445556640625, 0.008056640625, 0.016845703125, 0.0157470703125, 0.0086669921875, 0.024169921875, 0.0069580078125, -0.01202392578125, ...
[ 563, 4904, 37397, 21, 6492, 1124, 100, 28, 161789, 85, 35686, 47691, 1238, 3742, 12353, 163321, 6032, 4233, 51626, 102973, 73, 17780, 54092, 172681, 115061, 150598, 294, 25435, 119066, 68163, 7763, 7092, 3311, 67, 841, 3355, 69253, 62346, 7...
[ 0.16552734375, 0.217041015625, 0.1773681640625, 0.07305908203125, 0.197021484375, 0.1556396484375, 0.0762939453125, 0.08880615234375, 0.205810546875, 0.1357421875, 0.21044921875, 0.039093017578125, 0.099609375, 0.102294921875, 0.0809326171875, 0.036651611328125, 0.040069580078125, ...
embed
68755660_c0
68755660
fsharp
0
Title: can&#x27;t compile code in computation expression, in F# Problem title: can&#x27;t compile code in computation expression, in F# Tags: f%23, computation-expression Problem: can't compile code in computation expression, in F# I have this function: let rec retryAsync<'a> (shouldRetry: 'a -> bool) (retryIntervals: ...
can&#x27;t compile code in computation expression, in F# can&#x27;t compile code in computation expression, in F# f%23 computation-expression TimeSpan Async head::rest retryIntervals.Length Thread.Sleep Retry.retryAsync Retry.shouldRetryExchange Retry.defaultRetryIntervals Retry.defaultRetryIntervals.Length can't compi...
[ -0.00927734375, 0.001678466796875, 0.023193359375, -0.0234375, 0.005218505859375, 0.00014781951904296875, -0.00579833984375, 0.0017852783203125, 0.0059814453125, -0.01348876953125, -0.0091552734375, 0.00799560546875, 0.004486083984375, 0.0031280517578125, 0.0162353515625, -0.0056152343...
[ 831, 3768, 18, 9969, 1340, 18151, 23, 181135, 1363, 125195, 563, 4904, 1238, 3742, 204629, 19055, 3180, 12654, 238, 10336, 56644, 15123, 1405, 136719, 133, 152028, 214810, 449, 927, 32354, 4527, 10, 7, 7136, 46389, 3060, 50218, 3444, 124962...
[ 0.08099365234375, 0.0677490234375, 0.0977783203125, 0.201416015625, 0.179931640625, 0.2015380859375, 0.060333251953125, 0.1474609375, 0.003143310546875, 0.213134765625, 0.1058349609375, 0.175048828125, 0.051025390625, 0.05780029296875, 0.132080078125, 0.07330322265625, 0.148681640625...
embed
65755189_c0
65755189
fsharp
0
Title: Seq.sumBy vs Seq.groupBy Problem title: Seq.sumBy vs Seq.groupBy Tags: pipeline, f%23 Problem: Seq.sumBy vs Seq.groupBy I am trying to convert some pieces of C# code to F# in order to practice. While doing so, I stumbled on a position calculation. The logic is to group by counterparty and security and sum algebr...
Seq.sumBy vs Seq.groupBy Seq.sumBy vs Seq.groupBy pipeline f%23 Seq.sumBy Seq.groupBy Seq.filter trade.Counterparty trade.Bond Seq.map bond.Isin t.Nominal Bond Isin Maturity DateTime Price Trade Nominal Counterparty FR100 DE100 XX100 bond.Maturity Seq.sumBy vs Seq.groupBy I am trying to convert some pieces of C# code t...
[ 0.005523681640625, 0.004302978515625, -0.0125732421875, 0.0162353515625, -0.0230712890625, -0.01141357421875, 0.004425048828125, 0.035888671875, 0.02294921875, -0.00083160400390625, -0.0159912109375, 0.043701171875, 0.021728515625, 0.01239013671875, -0.01214599609375, 0.007781982421875...
[ 503, 864, 11832, 75358, 20209, 51588, 137158, 2256, 1238, 3742, 120337, 52350, 108210, 71983, 116858, 62346, 71052, 1596, 1249, 49078, 911, 987, 70059, 48025, 64166, 197956, 75023, 3559, 1514, 14214, 4613, 31577, 96760, 126371, 313, 4904, 18151...
[ 0.08538818359375, 0.2208251953125, 0.2100830078125, 0.257080078125, 0.1580810546875, 0.2080078125, 0.1297607421875, 0.12353515625, 0.007232666015625, 0.1082763671875, 0.1519775390625, 0.12939453125, 0.0174407958984375, 0.163330078125, 0.0692138671875, 0.046234130859375, 0.17639160156...
embed
42813279_c0
42813279
fsharp
0
Title: F# - Save the previous printed text Problem title: F# - Save the previous printed text Tags: functional-programming, f%23 Problem: F# - Save the previous printed text So I have a text file containing characters where I let the user read by printing in the console (by reading the file content into a char list and...
F# - Save the previous printed text F# - Save the previous printed text functional-programming f%23 Save Console.Write Console.ReadLine Enter user2 finalList2 F# - Save the previous printed text So I have a text file containing characters where I let the user read by printing in the console (by reading the file content...
[ 0.0186767578125, -0.007476806640625, 0.0164794921875, 0.0133056640625, 0.000972747802734375, -0.0130615234375, -0.006011962890625, 0.0035552978515625, 0.0045166015625, 0.01507568359375, 0.010498046875, 0.033447265625, -0.005340576171875, 0.011962890625, 0.0247802734375, 0.0032958984375...
[ 563, 4904, 64944, 70, 96362, 28412, 297, 7986, 123309, 28966, 1238, 3742, 40777, 31345, 93232, 60816, 38937, 304, 2704, 154663, 11435, 70541, 124850, 2633, 12301, 2448, 130250, 16454, 10941, 21441, 5303, 96760, 79315, 31577, 15549, 1632, 31330,...
[ 0.10687255859375, 0.2052001953125, 0.193115234375, 0.02325439453125, 0.1766357421875, 0.14501953125, 0.050537109375, 0.1549072265625, 0.13232421875, 0.09503173828125, 0.05255126953125, 0.07177734375, 0.0882568359375, 0.09918212890625, 0.07666015625, 0.024993896484375, 0.0977783203125...
embed
49547361_c0
49547361
fsharp
0
Title: F# WPF script, draw graphics on button click Problem title: F# WPF script, draw graphics on button click Tags: drawing, f%23, winforms, wpf Problem: F# WPF script, draw graphics on button click I am tinkering with using F# scripts and I'm just wanting to draw lines on a blank Windows Form with a simple button cl...
F# WPF script, draw graphics on button click F# WPF script, draw graphics on button click drawing f%23 winforms wpf WPF System.Drawing System.Windows.Forms Form Width Height Text FlowLayoutPanel form.Controls.Add PaintEventArgs Pen Color.Black e.Graphics.DrawLine PointF Button button.Text Click button.AutoSize button.C...
[ -0.019287109375, 0.00701904296875, -0.0108642578125, -0.0208740234375, -0.007110595703125, 0.00262451171875, 0.0257568359375, -0.0205078125, -0.007171630859375, -0.0194091796875, 0.024169921875, -0.007720947265625, 0.00421142578125, 0.024658203125, 0.006622314453125, -0.00848388671875,...
[ 563, 4904, 601, 41265, 26499, 79442, 48461, 7, 98, 77679, 18158, 188304, 1238, 3949, 3742, 148, 46334, 39557, 12353, 219, 43342, 102973, 15236, 58302, 1529, 24129, 17336, 3173, 175904, 147854, 192134, 7614, 9405, 4267, 51193, 97732, 37878, 81...
[ 0.11376953125, 0.2003173828125, 0.07098388671875, 0.1998291015625, 0.1998291015625, 0.186279296875, 0.2015380859375, 0.03643798828125, 0.05303955078125, 0.14013671875, 0.1988525390625, 0.1339111328125, 0.050537109375, 0.0086669921875, 0.1085205078125, 0.02142333984375, 0.152221679687...
embed
11677155_c0
11677155
fsharp
0
Title: Creating insert statements with F# Problem title: Creating insert statements with F# Tags: f%23, database Problem: Creating insert statements with F# I use F# once every few months or so and in between it seems I forget everything, so I hope you'll excuse my ignorance. My code below is pulling data from Yahoo. I...
Creating insert statements with F# Creating insert statements with F# f%23 database Creating System.String.Format ichart.finance.yahoo.com table.csv line.Split ToCharArray WebClient client.DownloadString Split Environment.NewLine.ToCharArray Array.toList List.tail List.map List.iter Creating insert statements with F# I...
[ 0.0038299560546875, -0.0152587890625, -0.0079345703125, 0.0281982421875, -0.0164794921875, 0.00933837890625, -0.0024566650390625, -0.01531982421875, 0.00113677978515625, -0.00946044921875, -0.001251220703125, -0.026123046875, -0.00970458984375, -0.0220947265625, -0.005218505859375, 0.0...
[ 56781, 183540, 63805, 7, 678, 563, 4904, 1238, 3949, 3742, 63399, 12353, 71713, 102973, 654, 3960, 114584, 43741, 23180, 334, 13315, 4353, 717, 84068, 7092, 23282, 144786, 46474, 686, 1900, 93232, 7763, 188, 154663, 32036, 46741, 62346, 16840...
[ 0.1297607421875, 0.2646484375, 0.21875, 0.0355224609375, 0.0582275390625, 0.153564453125, 0.2159423828125, 0.0867919921875, 0.017181396484375, 0.1328125, 0.1552734375, 0.098876953125, 0.051055908203125, 0.1070556640625, 0.03515625, 0.1319580078125, 0.0980224609375, 0.10595703125, ...
embed
5036512_c1
5036512
fsharp
1
List(s:string) = List.ofSeq s type Trie(inner : TrieNode) = member this.InsertWord(wordChars:char list) = Trie(TrieFunctions.insertWord wordChars inner) member this.InsertWord(str:string) = Trie(TrieFunctions.insertWord (TrieFunctions.stringToCharList str) inner) let trie = Trie(SubNodes(' ',false,List.empty)) .InsertW...
List(s:string) = List.ofSeq s type Trie(inner : TrieNode) = member this.InsertWord(wordChars:char list) = Trie(TrieFunctions.insertWord wordChars inner) member this.InsertWord(str:string) = Trie(TrieFunctions.insertWord (TrieFunctions.stringToCharList str) inner) let trie = Trie(SubNodes(' ',false,List.empty)) .InsertW...
[ -0.0091552734375, 0.01239013671875, 0.008056640625, 0.0084228515625, -0.00372314453125, 0.002105712890625, -0.00921630859375, -0.0172119140625, 0.0169677734375, -0.028076171875, 0.017333984375, -0.00034332275390625, -0.0011444091796875, 0.0191650390625, 0.00604248046875, 0.001136779785...
[ 32036, 7, 12, 91693, 2203, 4390, 4233, 864, 10644, 4699, 13, 73, 1679, 5021, 112, 32786, 903, 4153, 33657, 164805, 47416, 84068, 9254, 5303, 74257, 97249, 10763, 2565, 75414, 9297, 7763, 154663, 7704, 1927, 96472, 8710, 33548, 2055, 71574, ...
[ 0.200439453125, 0.032928466796875, 0.0120849609375, 0.198974609375, 0.00640869140625, 0.100341796875, 0.01971435546875, 0.1436767578125, 0.1119384765625, 0.201904296875, 0.1275634765625, 0.0283203125, 0.07794189453125, 0.154296875, 0.1395263671875, 0.1385498046875, 0.116943359375, ...
embed
41248146_c0
41248146
fsharp
0
Title: Find partial membership with KMeans clustering algorithm Problem title: Find partial membership with KMeans clustering algorithm Tags: c%23, f%23, hierarchical-clustering, accord.net Problem: Find partial membership with KMeans clustering algorithm I can calculate cluster membership with KMeans pretty easily: op...
Find partial membership with KMeans clustering algorithm Find partial membership with KMeans clustering algorithm c%23 f%23 hierarchical-clustering accord.net Find KMeans System System.IO Utils Accord Accord.Math Accord.MachineLearning kmeans.Learn clusterModel.Decide accord.net Find partial membership with KMeans clus...
[ 0.0108642578125, 0.01483154296875, 0.01287841796875, -0.0133056640625, -0.004852294921875, 0.001556396484375, 0.00494384765625, -0.018798828125, -0.00616455078125, -0.006072998046875, 0.012451171875, 0.0036773681640625, 0.0189208984375, 0.01055908203125, -0.0257568359375, 0.00405883789...
[ 26040, 2878, 289, 209274, 678, 32249, 5073, 7, 234737, 214, 234873, 3742, 1238, 3949, 1791, 54689, 29786, 61047, 1179, 12353, 17780, 3994, 29899, 6651, 199450, 99326, 213939, 1785, 147, 140290, 120152, 831, 74481, 28875, 72546, 4171, 5570, 18...
[ 0.10205078125, 0.177490234375, 0.1063232421875, 0.2347412109375, 0.04034423828125, 0.117919921875, 0.2410888671875, 0.163330078125, 0.2431640625, 0.0260772705078125, 0.187744140625, 0.07275390625, 0.002288818359375, 0.002716064453125, 0.023712158203125, 0.02716064453125, 0.1268310546...
embed
27501952_c1
27501952
fsharp
1
the logic should reside: module Common = let loadCsvFile (fileName:string ) : Frame<int,string> = let inputData = Frame.ReadCsv(fileName) inputData let pivotRawData inputData:Frame<DateTime,string> = let pivotedData = inputData |> Frame.pivotTable (fun k r -> r.GetAs<DateTime>("Date")) (fun k r -> r.GetAs<string>("Ind...
the logic should reside: module Common = let loadCsvFile (fileName:string ) : Frame<int,string> = let inputData = Frame.ReadCsv(fileName) inputData let pivotRawData inputData:Frame<DateTime,string> = let pivotedData = inputData |> Frame.pivotTable (fun k r -> r.GetAs<DateTime>("Date")) (fun k r -> r.GetAs<string>("Ind...
[ 0.00653076171875, 0.004608154296875, -0.0140380859375, 0.05029296875, -0.017333984375, -0.002716064453125, 0.0181884765625, 0.013916015625, 0.00537109375, 0.00005340576171875, 0.002838134765625, -0.0164794921875, -0.0086669921875, -0.022705078125, -0.0198974609375, 0.00933837890625, ...
[ 70, 62775, 5608, 157176, 12, 88996, 151301, 2203, 2633, 72367, 441, 67756, 174350, 29822, 163612, 91693, 1388, 42557, 4288, 2740, 107730, 137989, 13, 31345, 16, 80953, 18, 12248, 434, 108386, 282, 86291, 70059, 3674, 6, 5, 1434, 965, 618, ...
[ 0.04022216796875, 0.2880859375, 0.122802734375, 0.2100830078125, 0.030975341796875, 0.26123046875, 0.289306640625, 0.0355224609375, 0.1151123046875, 0.200927734375, 0.039031982421875, 0.29345703125, 0.215576171875, 0.174072265625, 0.1009521484375, 0.1871337890625, 0.006378173828125, ...
embed
32785374_c0
32785374
fsharp
0
Title: F# Binding Redirect not working for F# 4.3.0-4.3.1 Problem title: F# Binding Redirect not working for F# 4.3.0-4.3.1 Tags: assembly-binding-redirect, f%23, f%23-data, dependencies, .net Problem: F# Binding Redirect not working for F# 4.3.0-4.3.1 I have a F# project in VS 2012 with F# core 4.3.0 and .net 4.5.0 th...
F# Binding Redirect not working for F# 4.3.0-4.3.1 F# Binding Redirect not working for F# 4.3.0-4.3.1 assembly-binding-redirect f%23 f%23-data dependencies .net Binding Redirect utf-8 v4.0 NETFramework Version v4.5.1 urn:schemas-microsoft-com:asm.v1 FSharp.Core b03f5f7f11d50a3a F# Binding Redirect not working for F# 4....
[ -0.0235595703125, 0.02587890625, 0.0040283203125, -0.0208740234375, -0.01080322265625, -0.0027618408203125, -0.01068115234375, -0.006622314453125, 0.002532958984375, 0.00604248046875, -0.0201416015625, -0.005950927734375, -0.006744384765625, 0.0062255859375, 0.039306640625, 0.008911132...
[ 563, 4904, 1843, 33770, 853, 80581, 959, 20697, 100, 1398, 132265, 11565, 97109, 89845, 38526, 128239, 107, 1238, 3742, 167218, 27495, 10135, 42548, 117538, 1179, 17376, 151152, 108386, 40647, 104867, 2780, 7560, 138410, 277, 162, 39, 334, 93...
[ 0.1395263671875, 0.216796875, 0.18212890625, 0.2247314453125, 0.164306640625, 0.26953125, 0.047454833984375, 0.13623046875, 0.009124755859375, 0.105712890625, 0.2230224609375, 0.134765625, 0.2027587890625, 0.151123046875, 0.038299560546875, 0.2423095703125, 0.05535888671875, 0.0826...
embed
36561558_c0
36561558
fsharp
0
Title: Xamarin.Forms in F# Interactive Problem title: Xamarin.Forms in F# Interactive Tags: f%23, portable-class-library, fsi, xamarin.forms Problem: Xamarin.Forms in F# Interactive By referencing the default WPF DLLs, it's pretty easy to do anything you could do using code-only WPF: #r "Accessibility.dll" #r "Presenta...
Xamarin.Forms in F# Interactive Xamarin.Forms in F# Interactive f%23 portable-class-library fsi xamarin.forms Xamarin.Forms Interactive Accessibility.dll PresentationCore.dll PresentationFramework.dll System.Core.dll System.Data.dll System.dll System.Drawing.dll System.Numerics.dll System.Xaml.dll System.Xml.dll UIAuto...
[ -0.007720947265625, 0.01007080078125, -0.00677490234375, 0.007354736328125, -0.0081787109375, -0.004150390625, 0.0164794921875, -0.013916015625, -0.00799560546875, -0.041015625, 0.00653076171875, -0.0133056640625, 0.004425048828125, 0.001251220703125, 0.018798828125, 0.004669189453125,...
[ 8606, 44503, 5, 102973, 7, 23, 563, 4904, 5337, 71232, 1238, 3742, 168627, 67413, 150, 2844, 172, 2459, 5037, 40266, 14, 83259, 71, 1181, 120772, 50886, 108386, 18244, 12353, 137989, 219, 14775, 1991, 1542, 302, 111481, 38115, 39, 177997, ...
[ 0.1849365234375, 0.265380859375, 0.047637939453125, 0.263671875, 0.0673828125, 0.065673828125, 0.129150390625, 0.216064453125, 0.149169921875, 0.1163330078125, 0.07568359375, 0.09161376953125, 0.1461181640625, 0.1011962890625, 0.0516357421875, 0.1021728515625, 0.0889892578125, 0.16...
embed
47487034_c1
47487034
fsharp
1
{ FLOAT(Double.Parse(LexBuffer<_>.LexemeString lexbuf) } | operator { ops.[LexBuffer<_>.LexemeString lexbuf] } | identifier { match keywords.TryFind(LexBuffer<_>.LexemeString lexbuf) with | Some(token) -> token | None -> ID(LexBuffer<_>.LexemeString lexbuf)} | eof { EOF } And this is my Parser: %{ open Sql %} %token <...
{ FLOAT(Double.Parse(LexBuffer<_>.LexemeString lexbuf) } | operator { ops.[LexBuffer<_>.LexemeString lexbuf] } | identifier { match keywords.TryFind(LexBuffer<_>.LexemeString lexbuf) with | Some(token) -> token | None -> ID(LexBuffer<_>.LexemeString lexbuf)} | eof { EOF } And this is my Parser: %{ open Sql %} %token <...
[ 0.0150146484375, 0.0013580322265625, -0.00531005859375, 0.0245361328125, -0.0208740234375, 0.02880859375, -0.0034637451171875, -0.00860595703125, 0.004425048828125, -0.013671875, 0.0147705078125, 0.0177001953125, -0.015625, -0.0277099609375, -0.00860595703125, 0.005096435546875, -0.0...
[ 563, 17014, 14609, 34, 2661, 28636, 184, 5267, 425, 7235, 18234, 4878, 282, 71713, 75675, 978, 420, 39933, 233, 42485, 14858, 166117, 1294, 204582, 678, 31384, 6448, 47, 1098, 11338, 28, 4390, 241, 82341, 3493, 903, 759, 2392, 2189, 9803,...
[ 0.05206298828125, 0.159912109375, 0.1077880859375, 0.0286712646484375, 0.08636474609375, 0.1416015625, 0.053558349609375, 0.0721435546875, 0.051910400390625, 0.1077880859375, 0.1971435546875, 0.04638671875, 0.1453857421875, 0.10760498046875, 0.130615234375, 0.093017578125, 0.12145996...
embed
48405088_c1
48405088
fsharp
1
Google.Apis.Auth.OAuth2 open System.IO open System open Google.Apis.Auth.OAuth2 open System open System.Threading.Tasks open Giraffe.Tasks open System.Security.Cryptography.X509Certificates open Google.Apis.Auth.OAuth2 open Google.Apis.Services open System.Security.Cryptography open System.Net.Http.Headers let test() ...
Google.Apis.Auth.OAuth2 open System.IO open System open Google.Apis.Auth.OAuth2 open System open System.Threading.Tasks open Giraffe.Tasks open System.Security.Cryptography.X509Certificates open Google.Apis.Auth.OAuth2 open Google.Apis.Services open System.Security.Cryptography open System.Net.Http.Headers let test() ...
[ -0.00396728515625, 0.0255126953125, -0.0101318359375, -0.01043701171875, 0.0089111328125, -0.0294189453125, -0.0017242431640625, 0.0189208984375, 0.0020294189453125, 0.00830078125, 0.0255126953125, 0.0244140625, -0.02587890625, -0.00811767578125, 0.02490234375, 0.01275634765625, 0.01...
[ 1815, 5, 284, 4994, 67362, 927, 44593, 34, 304, 9803, 12353, 17780, 39116, 9874, 1042, 7, 39919, 11, 16670, 4233, 20287, 939, 239159, 87168, 1542, 2525, 1126, 441, 56, 61093, 1636, 121979, 24447, 841, 3062, 254, 13025, 14202, 2633, 3034, ...
[ 0.227783203125, 0.056976318359375, 0.119140625, 0.2919921875, 0.2244873046875, 0.1859130859375, 0.1083984375, 0.1865234375, 0.207763671875, 0.1656494140625, 0.19140625, 0.2391357421875, 0.1409912109375, 0.159912109375, 0.0706787109375, 0.008026123046875, 0.0848388671875, 0.03268432...
embed
7842033_c0
7842033
fsharp
0
Title: Thread-local objects for Task.WaitAll Problem title: Thread-local objects for Task.WaitAll Tags: task-parallel-library, parallel-processing, f%23, .net Problem: Thread-local objects for Task.WaitAll I have a small number of tasks, and I want to use Task.WaitAll to run them in parallel. This is what I have by now...
Thread-local objects for Task.WaitAll Thread-local objects for Task.WaitAll task-parallel-library parallel-processing f%23 .net Thread-local Task.WaitAll System.Threading.Tasks.Task WaitAll Task Random Array.map Task.Factory.StartNew t.Result ThreadStatic ThreadLocal Thread.CurrentThread.ManagedThreadId localRand.Value...
[ 0.0128173828125, -0.01116943359375, -0.009521484375, -0.007232666015625, 0.004730224609375, -0.033203125, -0.00506591796875, -0.004608154296875, -0.00640869140625, -0.047607421875, 0.0108642578125, 0.0341796875, 0.0093994140625, 0.0126953125, 0.0166015625, -0.004852294921875, 0.01245...
[ 136719, 98908, 36746, 7, 100, 9598, 92, 22489, 217, 43512, 66211, 6276, 1229, 141, 150, 2844, 95103, 63923, 3742, 1179, 12353, 39116, 9874, 1042, 175254, 39643, 306, 69253, 62346, 135518, 126597, 7136, 135206, 1771, 203758, 474, 12662, 4000, ...
[ 0.2314453125, 0.203369140625, 0.2059326171875, 0.035736083984375, 0.0237274169921875, 0.1724853515625, 0.1116943359375, 0.192138671875, 0.146240234375, 0.236083984375, 0.1978759765625, 0.015045166015625, 0.08319091796875, 0.01556396484375, 0.052490234375, 0.088623046875, 0.2139892578...
embed
28241707_c0
28241707
fsharp
0
Title: TXTRecord cannot be set with Bonjour SDK (COM Wrapper to CComObject&lt; CTXTRecord &gt;*) Problem title: TXTRecord cannot be set with Bonjour SDK (COM Wrapper to CComObject&lt; CTXTRecord &gt;*) Tags: f%23, com, interop, c%2B%2B Problem: TXTRecord cannot be set with Bonjour SDK (COM Wrapper to CComObject< CTXTRe...
TXTRecord cannot be set with Bonjour SDK (COM Wrapper to CComObject&lt; CTXTRecord &gt;*) TXTRecord cannot be set with Bonjour SDK (COM Wrapper to CComObject&lt; CTXTRecord &gt;*) f%23 com interop c%2B%2B TXTRecord Bonjour SDK COM Wrapper CComObject CTXTRecord EC15C925D0CE ITXTRecord Interface IDispatch SetValue HRESUL...
[ 0.00799560546875, 0.0186767578125, 0.0174560546875, 0.00909423828125, -0.013916015625, -0.0303955078125, -0.0172119140625, -0.00946044921875, 0.0038604736328125, 0.0111083984375, -0.026123046875, 0.00121307373046875, 0.000659942626953125, -0.015380859375, 0.03466796875, 0.0026092529296...
[ 384, 70981, 4332, 32271, 53418, 5423, 678, 84602, 159, 45461, 16113, 219, 8079, 47, 313, 10770, 46471, 75161, 71885, 3742, 1940, 2146, 31436, 5959, 220237, 4453, 19943, 856, 94539, 310, 20965, 11338, 22479, 22916, 121979, 131423, 100976, 3668...
[ 0.1072998046875, 0.2445068359375, 0.1497802734375, 0.260498046875, 0.1204833984375, 0.188720703125, 0.046539306640625, 0.2734375, 0.050994873046875, 0.220947265625, 0.14697265625, 0.104736328125, 0.1588134765625, 0.0908203125, 0.03424072265625, 0.1627197265625, 0.0941162109375, 0.1...
embed
47674911_c0
47674911
fsharp
0
Title: F#: How to Generate XML using a complex XSD Problem title: F#: How to Generate XML using a complex XSD Tags: xml, f%23, xsd Problem: F#: How to Generate XML using a complex XSD I am trying to use F# to generate XML, based on this complex XSD Schema ( http://www.nfe.fazenda.gov.br/portal/exibirArquivo.aspx?conteu...
F#: How to Generate XML using a complex XSD F#: How to Generate XML using a complex XSD xml f%23 xsd a How Generate XML XSD xsd1 FSharp.Data System.Xml.Linq XmlProvider Schema nfe_v4.00.xsd ResolutionFolder GenerateNFe Unchecked.defaultof nfe.Ide nfe.Emit nfe.Dest None Some TONY oldmail.com nfe.InfNFe NFe123 nfe.AutXml...
[ 0.00469970703125, 0.006622314453125, 0.005889892578125, -0.004608154296875, 0.0191650390625, 0.01385498046875, -0.006072998046875, -0.01904296875, 0.0006866455078125, -0.00921630859375, 0.001983642578125, 0.00167083740234375, 0.006622314453125, 0.004791259765625, 0.002471923828125, -0....
[ 563, 4904, 11249, 155370, 67, 92537, 17368, 27140, 1193, 22916, 131492, 1238, 3742, 1022, 71, 93774, 3467, 254, 12353, 7237, 44982, 177997, 34702, 2242, 128367, 425, 166589, 31178, 73493, 13, 78292, 214810, 4007, 525, 384, 138960, 10332, 2065...
[ 0.128662109375, 0.2274169921875, 0.03961181640625, 0.1700439453125, 0.052886962890625, 0.26318359375, 0.0631103515625, 0.1995849609375, 0.124267578125, 0.2059326171875, 0.2254638671875, 0.024566650390625, 0.09954833984375, 0.06719970703125, 0.065185546875, 0.0141143798828125, 0.11096...
embed
7134784_c0
7134784
fsharp
0
Title: Refactoring small F# function Problem title: Refactoring small F# function Tags: refactoring, f%23, .net Problem: Refactoring small F# function I've made the following F# function that will get me an url from the html contents of a web page: let getPicUrl (urlContents : string) = let START_TOKEN = "jpg_url=" let...
Refactoring small F# function Refactoring small F# function refactoring f%23 .net Refactoring START_TOKEN jpg_url urlContents.IndexOf START_TOKEN.Length endIndex-startIndex-START_TOKEN.Length urlContents.Substring Refactoring small F# function I've made the following F# function that will get me an url from the html co...
[ -0.005279541015625, 0.019287109375, -0.000736236572265625, 0.0220947265625, -0.01190185546875, -0.000598907470703125, -0.00897216796875, -0.0120849609375, -0.0111083984375, -0.00170135498046875, -0.016357421875, 0.016357421875, -0.0159912109375, 0.0191650390625, 0.0322265625, -0.009155...
[ 853, 144810, 19336, 563, 4904, 32354, 214, 456, 1238, 3949, 3742, 1179, 188359, 8727, 47884, 25687, 25002, 11935, 25352, 39659, 132887, 3564, 17137, 118228, 96472, 91693, 25632, 2046, 163, 1295, 7693, 10941, 1467, 9191, 2367, 4568, 13315, 96,...
[ 0.1207275390625, 0.242431640625, 0.2003173828125, 0.113037109375, 0.2196044921875, 0.16748046875, 0.00103759765625, 0.11083984375, 0.08380126953125, 0.0252685546875, 0.1375732421875, 0.1536865234375, 0.162109375, 0.083984375, 0.1431884765625, 0.2060546875, 0.2042236328125, 0.076721...
embed
66911017_c0
66911017
fsharp
0
Title: How to combine two different GroupedStreams in Rx.NET? Problem title: How to combine two different GroupedStreams in Rx.NET? Tags: c%23, rx.net, f%23 Problem: How to combine two different GroupedStreams in Rx.NET? This question is similar, but it does not apply to my case, since the user needed the merge observa...
How to combine two different GroupedStreams in Rx.NET? How to combine two different GroupedStreams in Rx.NET? c%23 rx.net f%23 How GroupedStreams Rx.NET Value Subject Subject.broadcast IObservable IGroupedObservable Observable.groupBy a.Id b.Id How to combine two different GroupedStreams in Rx.NET? This question is sim...
[ -0.015625, 0.034912109375, -0.00213623046875, -0.000957489013671875, 0.002227783203125, 0.0189208984375, 0.00141143798828125, 0.004486083984375, 0.0230712890625, 0.01708984375, 0.013916015625, 0.00909423828125, 0.029296875, 0.0196533203125, -0.0247802734375, 0.01129150390625, -0.0119...
[ 11249, 47, 70163, 6626, 12921, 10760, 297, 115061, 7, 23, 627, 425, 5, 17777, 3742, 67179, 1179, 190060, 94341, 55741, 87, 46471, 65756, 2661, 205072, 87652, 51588, 75358, 876, 42564, 22046, 75973, 5701, 3444, 94407, 45646, 136, 209303, 707...
[ 0.0986328125, 0.03997802734375, 0.26171875, 0.185302734375, 0.167724609375, 0.243408203125, 0.139892578125, 0.2398681640625, 0.0235595703125, 0.050506591796875, 0.0963134765625, 0.1885986328125, 0.034088134765625, 0.1890869140625, 0.047149658203125, 0.2110595703125, 0.14697265625, ...
embed
15864670_c0
15864670
fsharp
0
Title: Generate tail call opcode Problem title: Generate tail call opcode Tags: c%23, tail-recursion, recursion, cil, f%23 Problem: Generate tail call opcode Out of curiosity I was trying to generate a tail call opcode using C#. Fibinacci is an easy one, so my c# example looks like this: private static void Main(string...
Generate tail call opcode Generate tail call opcode c%23 tail-recursion recursion cil f%23 Generate Main Console.WriteLine Fib int.MaxValue int32 Method Start RVA Size L_0000 ldarg.0 L_0001 brtrue.s L_0005 L_0003 ldarg.1 L_0004 L_0006 ldc.i4.1 L_0007 L_0008 L_0009 L_000a L_000b ConsoleApplication2 ConsoleApplication2.P...
[ 0.0205078125, 0.01513671875, 0.004150390625, 0.01153564453125, -0.01214599609375, 0.006622314453125, -0.006927490234375, -0.0294189453125, 0.006683349609375, -0.0184326171875, -0.000972747802734375, -0.00799560546875, 0.002593994140625, -0.00775146484375, 0.0245361328125, 0, 0.001441...
[ 155370, 67, 46741, 11782, 233, 40899, 3742, 107, 48650, 1830, 195625, 13003, 1238, 12321, 1657, 40777, 18781, 93232, 3698, 275, 18, 71346, 856, 50770, 6460, 74644, 13794, 16350, 80378, 339, 28568, 188735, 9774, 9508, 304, 148968, 6159, 7049, ...
[ 0.1837158203125, 0.05902099609375, 0.262451171875, 0.2183837890625, 0.183349609375, 0.266845703125, 0.093994140625, 0.036376953125, 0.1082763671875, 0.0576171875, 0.1385498046875, 0.1173095703125, 0.034393310546875, 0.07196044921875, 0.003662109375, 0.1417236328125, 0.004486083984375...
embed
63095136_c0
63095136
fsharp
0
Title: OpenTK, pass array of vectors into a shader Problem title: OpenTK, pass array of vectors into a shader Tags: glsl, opengl, f%23, opentk, shader Problem: OpenTK, pass array of vectors into a shader So I have an array of OpenTK.Vector3 that I want to pass into a shader, but it seems that GL.Uniform3 has no overloa...
OpenTK, pass array of vectors into a shader OpenTK, pass array of vectors into a shader glsl opengl f%23 opentk shader OpenTK vec4 vec3 _normal lightDir.length Vector3 Vector4 GL.GetUniformLocation GL.Uniform4 GL.Uniform3 List.map l.direction List.toArray l.color OpenTK, pass array of vectors into a shader So I have an...
[ 0.001312255859375, 0.027099609375, -0.02587890625, -0.01190185546875, -0.02587890625, -0.0301513671875, -0.011474609375, 0.005035400390625, -0.00124359130859375, -0.0133056640625, -0.00823974609375, 0.0091552734375, 0.019287109375, -0.0103759765625, -0.006744384765625, -0.0079956054687...
[ 13527, 29735, 27875, 10298, 53, 22834, 22230, 3934, 9638, 820, 39575, 24861, 9803, 11016, 1238, 3742, 31472, 617, 363, 33176, 22729, 481, 23986, 2609, 18770, 90799, 85600, 5037, 15363, 32036, 62346, 936, 188, 7092, 46133, 111, 26455, 3444, ...
[ 0.1600341796875, 0.228271484375, 0.1192626953125, 0.144775390625, 0.057159423828125, 0.1903076171875, 0.1380615234375, 0.110595703125, 0.1507568359375, 0.1282958984375, 0.040252685546875, 0.0902099609375, 0.1141357421875, 0.10015869140625, 0.01202392578125, 0.078857421875, 0.13342285...
embed
7829805_c0
7829805
fsharp
0
Title: xbuild and F# (vs2010) project Problem title: xbuild and F# (vs2010) project Tags: xbuild, visual-studio-2010, msbuild, mono, f%23 Problem: xbuild and F# (vs2010) project I have a VS 2010 mixed-language solution that's primarily C#, but contains a windows service written in F#. I've had this building with xbuild...
xbuild and F# (vs2010) project xbuild and F# (vs2010) project xbuild visual-studio-2010 msbuild mono f%23 vs2010 visual-studio-2010 xbuild and F# (vs2010) project I have a VS 2010 mixed-language solution that's primarily C#, but contains a windows service written in F#. I've had this building with xbuild in the in a pa...
[ 0.003265380859375, 0.037353515625, 0.005218505859375, -0.0186767578125, 0.00023555755615234375, 0.008056640625, -0.0068359375, -0.01141357421875, 0.00180816650390625, -0.006072998046875, 0.01190185546875, -0.01470947265625, 0.003570556640625, 0.00787353515625, 0.00244140625, -0.0069885...
[ 1022, 177149, 136, 563, 4904, 18043, 11436, 13452, 21176, 52629, 73552, 68163, 22460, 1238, 3742, 20209, 44160, 1532, 17664, 196651, 29806, 102917, 70541, 54825, 4516, 59121, 23, 33976, 95103, 65998, 1257, 8961, 98169, 11389, 34513, 93645, 6494...
[ 0.126220703125, 0.26904296875, 0.056243896484375, 0.097412109375, 0.18115234375, 0.112548828125, 0.168701171875, 0.1610107421875, 0.1104736328125, 0.09930419921875, 0.1146240234375, 0.029571533203125, 0.188720703125, 0.0283203125, 0.08294677734375, 0.0794677734375, 0.1744384765625, ...
embed
40125588_c0
40125588
fsharp
0
Title: avoiding for loops in F# Problem title: avoiding for loops in F# Tags: functional-programming, f%23, for-loop Problem: avoiding for loops in F# I have a list of strings and numbers like the following let stringsAndNums = [("aa-",20); ("b1",20); ("aa",10); ("b12",10); ("+aa-",30)] I need to partition the list int...
avoiding for loops in F# avoiding for loops in F# functional-programming f%23 for-loop b12 List.filter osubject.Contains subject.Contains List.map List.min List.max avoiding for loops in F# I have a list of strings and numbers like the following I need to partition the list into groups of strings that are included one ...
[ 0.001495361328125, -0.01019287109375, 0.00872802734375, 0.01068115234375, -0.013427734375, 0.0008392333984375, 0.01220703125, -0.006439208984375, 0.0220947265625, 0.0179443359375, -0.003936767578125, 0.02978515625, -0.000507354736328125, -0.006744384765625, 0.0019989013671875, -0.00018...
[ 71864, 214, 100, 40956, 7, 23, 563, 4904, 123309, 28966, 1238, 3742, 28354, 876, 1530, 32036, 120337, 36, 22144, 75161, 25500, 28368, 62346, 1249, 24084, 765, 5303, 79315, 101935, 1884, 25632, 3871, 2878, 1363, 3934, 94407, 99201, 1632, 157...
[ 0.2203369140625, 0.044830322265625, 0.1796875, 0.220947265625, 0.0254669189453125, 0.0232391357421875, 0.1767578125, 0.2276611328125, 0.180908203125, 0.1005859375, 0.1322021484375, 0.143798828125, 0.2078857421875, 0.053131103515625, 0.146728515625, 0.137451171875, 0.170654296875, 0...
embed
19776894_c0
19776894
fsharp
0
Title: 99 Haskell questions. #7 in F# - stackoverflowexception Problem title: 99 Haskell questions. #7 in F# - stackoverflowexception Tags: f%23 Problem: 99 Haskell questions. #7 in F# - stackoverflowexception I'm trying to solve tasks from 99 Haskell problems in F#. The task #7 looks pretty simple, and the solution ca...
99 Haskell questions. #7 in F# - stackoverflowexception 99 Haskell questions. #7 in F# - stackoverflowexception f%23 StackOverflowException Haskell NestedList Elem Seq.map List.concat Both github.com FSharp-Problems P01to10 Solutions.fs count-1 99 Haskell questions. #7 in F# - stackoverflowexception I'm trying to solve...
[ -0.0186767578125, 0.020263671875, 0.0101318359375, -0.013916015625, 0.00634765625, 0.00396728515625, -0.0150146484375, -0.00055694580078125, -0.0013580322265625, -0.039794921875, 0.002960205078125, 0.0084228515625, 0.01123046875, 0.0169677734375, 0.02392578125, 0.0028533935546875, 0....
[ 10078, 20625, 142508, 17582, 966, 23, 563, 4904, 177261, 5465, 118664, 3355, 63928, 1238, 3949, 3742, 6512, 2594, 156673, 19279, 28701, 71, 154663, 540, 195, 503, 864, 62346, 32036, 2271, 4460, 62270, 32102, 93774, 3467, 254, 223361, 6746, ...
[ 0.26025390625, 0.1484375, 0.2376708984375, 0.1512451171875, 0.19482421875, 0.0650634765625, 0.1136474609375, 0.19580078125, 0.1224365234375, 0.1541748046875, 0.180419921875, 0.0863037109375, 0.162109375, 0.114990234375, 0.0760498046875, 0.205078125, 0.06732177734375, 0.065063476562...
embed
15644969_c0
15644969
fsharp
0
Title: F# FTP Fails where C# Succeeds Problem title: F# FTP Fails where C# Succeeds Tags: ftp, f%23 Problem: F# FTP Fails where C# Succeeds I've an application written in C# (.Net 3.5) with this code. using System; using System.Net; string strURI = String.Format("ftp://x{0}ftp/%2F'{1}'", parm1, parm2); FtpWebRequest ft...
F# FTP Fails where C# Succeeds F# FTP Fails where C# Succeeds ftp f%23 System System.Net FTP Fails Succeeds String.Format parm1 parm2 FtpWebRequest FtpWebRequest.Create ftp.Proxy ftp.KeepAlive ftp.UsePassive ftp.UseBinary ftp.Credentials NetworkCredential ftp.Method WebRequestMethods.Ftp.DownloadFile FtpWebResponse ftp...
[ -0.0009765625, 0.0244140625, 0.00885009765625, -0.01031494140625, 0.018798828125, -0.005889892578125, -0.0157470703125, -0.0012969970703125, 0.01336669921875, 0.0164794921875, 0.004669189453125, -0.012939453125, -0.007659912109375, 0.017333984375, -0.0152587890625, -0.01324462890625, ...
[ 563, 4904, 162379, 190355, 7440, 313, 103544, 329, 297, 2480, 254, 1238, 3949, 3742, 12353, 24447, 23351, 102973, 366, 39, 418, 304, 23805, 30474, 75616, 63784, 10752, 50878, 15017, 4517, 24056, 1062, 139117, 571, 73, 6635, 2822, 80973, 289...
[ 0.158935546875, 0.2666015625, 0.269775390625, 0.2410888671875, 0.06683349609375, 0.11083984375, 0.1600341796875, 0.156005859375, 0.1083984375, 0.1448974609375, 0.1077880859375, 0.0657958984375, 0.0107421875, 0.1082763671875, 0.08843994140625, 0.135498046875, 0.102294921875, 0.13708...
embed
10746618_c0
10746618
fsharp
0
Title: Testing for null reference in F# Problem title: Testing for null reference in F# Tags: f%23 Problem: Testing for null reference in F# Given the following: [<DataContract>] type TweetUser = { [<field:DataMember(Name="followers_count")>] Followers:int [<field:DataMember(Name="screen_name")>] Name:string [<field:Da...
Testing for null reference in F# Testing for null reference in F# f%23 Testing DataContract TweetUser field:DataMember Name followers_count Followers:int screen_name Name:string id_str Id:int Location:string Tweet Id:string Text:string IsRetweeted:bool created_at DateStr:string IsRequired User:TweetUser Sender:TweetUse...
[ 0.016357421875, 0.00469970703125, 0.012939453125, 0.002655029296875, -0.005615234375, -0.003875732421875, 0.0281982421875, 0.003814697265625, -0.00909423828125, 0.0208740234375, 0.004791259765625, 0.017333984375, 0.007537841796875, 0.010986328125, 0.03515625, -0.003875732421875, 0.00...
[ 8647, 100, 56574, 91067, 563, 4904, 1238, 3742, 11809, 39989, 140654, 1062, 2189, 44457, 137989, 27417, 210276, 71013, 77168, 4288, 49119, 91693, 9297, 90788, 223378, 142484, 75935, 3181, 53400, 1177, 126, 24044, 77641, 1681, 51626, 52825, 8940...
[ 0.1551513671875, 0.03887939453125, 0.205078125, 0.25439453125, 0.1146240234375, 0.1798095703125, 0.066162109375, 0.09716796875, 0.056549072265625, 0.125732421875, 0.1849365234375, 0.129638671875, 0.158447265625, 0.135986328125, 0.02935791015625, 0.10400390625, 0.1495361328125, 0.02...
embed
3796774_c0
3796774
fsharp
0
Title: How to make this code more compact and idiomatic? Problem title: How to make this code more compact and idiomatic? Tags: f%23, functional-programming, idioms Problem: How to make this code more compact and idiomatic? Hullo all. I am a C# programmer, exploring F# in my free time. I have written the following litt...
How to make this code more compact and idiomatic? How to make this code more compact and idiomatic? f%23 functional-programming idioms How System List.map List.mapi l.Length List.reduce List.zip List.map2 How to make this code more compact and idiomatic? Hullo all. I am a C# programmer, exploring F# in my free time. I ...
[ -0.01043701171875, 0.0067138671875, 0.00439453125, 0.01171875, -0.0093994140625, 0.0220947265625, -0.0108642578125, 0.0032196044921875, 0.020263671875, -0.00958251953125, 0.023193359375, 0.00125885009765625, 0.00933837890625, 0.011962890625, -0.001953125, 0.0019683837890625, -0.00117...
[ 11249, 47, 3249, 903, 18151, 1286, 94928, 136, 49666, 9523, 1238, 3949, 3742, 123309, 28966, 13373, 28016, 12353, 32036, 62346, 192, 1434, 449, 107, 106357, 50836, 304, 46840, 365, 756, 313, 4904, 77848, 24649, 563, 4092, 1733, 59121, 25632...
[ 0.062225341796875, 0.02490234375, 0.055419921875, 0.039306640625, 0.1834716796875, 0.123046875, 0.2406005859375, 0.032501220703125, 0.2244873046875, 0.153076171875, 0.0687255859375, 0.03875732421875, 0.1158447265625, 0.1231689453125, 0.074462890625, 0.10986328125, 0.04742431640625, ...
embed
38009398_c0
38009398
fsharp
0
Title: Consume C# event from F# Problem title: Consume C# event from F# Tags: c%23, events, f%23 Problem: Consume C# event from F# Followed Functional Reactive Programming tutorial, where stream of events ( Observable ) is directly created from System.Timers.Timer.Elapsed event. let timer = new System.Timers.Timer(floa...
Consume C# event from F# Consume C# event from F# c%23 events f%23 F# Consume Observable System.Timers.Timer.Elapsed System.Timers.Timer timer.Elapsed Observable.subscribe OnMessageDelegate Message Notifier INotifier OnMessage Notify Invoke Notifier.OnMessage Start Namespace.Notifier add_OnMessage remove_OnMessage IDel...
[ -0.00775146484375, 0.03466796875, -0.0037689208984375, 0.00732421875, -0.001678466796875, -0.01116943359375, 0.00127410888671875, 0.011474609375, 0.00311279296875, -0.0223388671875, -0.013427734375, 0.001983642578125, 0.0062255859375, 0.024658203125, 0.00799560546875, -0.016357421875, ...
[ 76980, 13, 313, 4904, 19732, 1295, 563, 3949, 3742, 47353, 1238, 87652, 2661, 12353, 152704, 1314, 70059, 127966, 42, 21991, 22144, 34601, 2161, 6011, 3257, 48205, 11205, 85789, 40383, 23253, 20320, 13794, 2096, 109164, 122116, 15190, 87388, ...
[ 0.2257080078125, 0.0804443359375, 0.09588623046875, 0.243408203125, 0.1876220703125, 0.140380859375, 0.149169921875, 0.018829345703125, 0.111572265625, 0.162841796875, 0.034454345703125, 0.2098388671875, 0.1824951171875, 0.0841064453125, 0.1640625, 0.090087890625, 0.122802734375, 0...
embed
11785394_c0
11785394
fsharp
0
Title: The parameter on my post action for WebAPI is always null Problem title: The parameter on my post action for WebAPI is always null Tags: .net, asp.net-web-api, f%23, json Problem: The parameter on my post action for WebAPI is always null I have an F# WebAPI project and the parameter for the Post method is always...
The parameter on my post action for WebAPI is always null The parameter on my post action for WebAPI is always null .net asp.net-web-api f%23 json WebAPI TestController ApiController x.Get x.Post FromBody Values TypeA AValues BValues TypeB CValues TypeC POST JSON.stringify jqXHR.setRequestHeader X-HTTP-Method asp.net-w...
[ -0.01324462890625, 0.0140380859375, -0.00124359130859375, -0.0255126953125, -0.002685546875, 0.0078125, 0.00640869140625, -0.0111083984375, -0.00109100341796875, -0.007049560546875, 0.0184326171875, 0.00106048583984375, -0.0228271484375, -0.00933837890625, 0.01177978515625, 0.003463745...
[ 171859, 1305, 22631, 4002, 74220, 11343, 56574, 1179, 237, 254, 14051, 40897, 1238, 3742, 1647, 1681, 8647, 175904, 5787, 14, 603, 1022, 49411, 28090, 12647, 190060, 60457, 284, 50770, 42272, 571, 81903, 58627, 29562, 3509, 75616, 13025, 1193...
[ 0.2442626953125, 0.1270751953125, 0.180908203125, 0.08367919921875, 0.233642578125, 0.12109375, 0.2276611328125, 0.05926513671875, 0.017181396484375, 0.057891845703125, 0.085693359375, 0.1341552734375, 0.0091552734375, 0.07470703125, 0.008056640625, 0.0999755859375, 0.0699462890625, ...
embed
5460354_c0
5460354
fsharp
0
Title: Slow tail recursion in F# Problem title: Slow tail recursion in F# Tags: tail-recursion, performance, f%23 Problem: Slow tail recursion in F# I have an F# function that returns a list of numbers starting from 0 in the pattern of skip n, choose n, skip n, choose n... up to a limit. For example, this function for ...
Slow tail recursion in F# Slow tail recursion in F# tail-recursion performance f%23 Slow Slow tail recursion in F# I have an F# function that returns a list of numbers starting from 0 in the pattern of skip n, choose n, skip n, choose n... up to a limit. For example, this function for input 2 will return [2, 3, 6, 7, 1...
[ -0.0036773681640625, -0.002410888671875, 0.01416015625, -0.0137939453125, 0.00787353515625, -0.015869140625, -0.0211181640625, -0.01519775390625, 0.01446533203125, -0.005767822265625, 0.029052734375, -0.0035858154296875, -0.006195068359375, 0.0072021484375, 0.037841796875, -0.014038085...
[ 148507, 46741, 195625, 1830, 563, 4904, 23, 107, 48650, 23718, 1238, 3949, 3742, 32354, 30646, 5303, 101935, 72134, 1295, 757, 103510, 21658, 653, 55076, 1257, 47, 17475, 27781, 107730, 116, 1221, 304, 4, 138, 305, 361, 209, 534, 29479, 3...
[ 0.240966796875, 0.272705078125, 0.21533203125, 0.07470703125, 0.147216796875, 0.22412109375, 0.024871826171875, 0.0638427734375, 0.1573486328125, 0.1583251953125, 0.1090087890625, 0.01141357421875, 0.06591796875, 0.1783447265625, 0.185791015625, 0.1448974609375, 0.1527099609375, 0....
embed
7538584_c0
7538584
fsharp
0
Title: F# vs OCaml: Stack overflow Problem title: F# vs OCaml: Stack overflow Tags: f%23, ocaml, tail-recursion, stack-overflow Problem: F# vs OCaml: Stack overflow I recently found a presentation about F# for Python programmers , and after watching it, I decided to implement a solution to the "ant puzzle" on my own. T...
F# vs OCaml: Stack overflow F# vs OCaml: Stack overflow f%23 ocaml tail-recursion stack-overflow StackOverflowException OCaml Stack ant.ml Points Thanassis HOME Tmp ant.fsharp Program Files FSharp-2.0.0.0 fsc.exe ant.fs Microsoft Compiler Copyright Corporation All Rights Reserved ant.exe Process Quit v4.0 Mono JIT Fri ...
[ -0.01214599609375, -0.01513671875, 0.000736236572265625, 0.0003833770751953125, -0.004302978515625, -0.02294921875, 0.00003838539123535156, 0.002105712890625, -0.0086669921875, -0.035400390625, 0.00173187255859375, 0.0211181640625, 0.00897216796875, -0.0020751953125, 0.0174560546875, -...
[ 563, 4904, 20209, 180, 105272, 141, 6512, 2594, 645, 118664, 1238, 3949, 3742, 36, 9779, 46741, 107, 48650, 1830, 177261, 5465, 156673, 63928, 12936, 7237, 41097, 72820, 148756, 70060, 2676, 420, 89280, 7663, 42724, 7, 93774, 3467, 73011, 5...
[ 0.17138671875, 0.25537109375, 0.183837890625, 0.1590576171875, 0.2186279296875, 0.19189453125, 0.14404296875, 0.119873046875, 0.15234375, 0.22265625, 0.106201171875, 0.046661376953125, 0.136962890625, 0.0826416015625, 0.164794921875, 0.22900390625, 0.0645751953125, 0.1558837890625,...
embed
12755033_c0
12755033
fsharp
0
Title: Targeted for x64 would sometimes result in very bad performance than for anycpu Problem title: Targeted for x64 would sometimes result in very bad performance than for anycpu Tags: f%23 Problem: Targeted for x64 would sometimes result in very bad performance than for anycpu These are 2 functions, fun1 takes 1 pa...
Targeted for x64 would sometimes result in very bad performance than for anycpu Targeted for x64 would sometimes result in very bad performance than for anycpu f%23 Targeted x64 fun1 fun2 System System.Diagnostics Position EntryPoint Array.fold2 int64 test1 test2 Stopwatch sw.Start sw.Stop Console.WriteLine sw.Elapsed ...
[ -0.004974365234375, -0.0179443359375, -0.00168609619140625, 0.00055694580078125, -0.002197265625, -0.012451171875, -0.0198974609375, -0.005096435546875, -0.007049560546875, -0.0203857421875, 0.0091552734375, 0.029296875, -0.00180816650390625, 0.01275634765625, 0.0198974609375, -0.00952...
[ 160017, 297, 100, 1022, 13307, 68018, 16750, 4552, 6494, 23718, 3501, 2499, 238, 1766, 3742, 7477, 418, 304, 12353, 128198, 99428, 15123, 147534, 69253, 53, 42822, 3034, 42284, 35414, 434, 126597, 156095, 40777, 93232, 127966, 17137, 116, 323...
[ 0.263427734375, 0.127197265625, 0.07012939453125, 0.07867431640625, 0.29638671875, 0.085205078125, 0.069091796875, 0.02978515625, 0.092529296875, 0.1524658203125, 0.039703369140625, 0.120361328125, 0.017425537109375, 0.185302734375, 0.0643310546875, 0.1798095703125, 0.109619140625, ...
embed
30858730_c1
30858730
fsharp
1
An Async web request with a global gate let! html = async { // Acquire an entry in the webRequestGate. Release // it when 'holder' goes out of scope use! holder = webRequestGate.AsyncAcquire() let req = WebRequest.Create(url,Timeout=5) // Wait for the WebResponse use! response = req.AsyncGetResponse() // Get the respo...
An Async web request with a global gate let! html = async { // Acquire an entry in the webRequestGate. Release // it when 'holder' goes out of scope use! holder = webRequestGate.AsyncAcquire() let req = WebRequest.Create(url,Timeout=5) // Wait for the WebResponse use! response = req.AsyncGetResponse() // Get the respo...
[ -0.000507354736328125, 0.0196533203125, 0.0031585693359375, -0.0228271484375, -0.00469970703125, -0.0081787109375, 0.007171630859375, 0.0022125244140625, 0.0208740234375, -0.04296875, -0.00494384765625, 0.01470947265625, -0.00787353515625, -0.021484375, 0.032958984375, 0.00036048889160...
[ 893, 62, 12654, 238, 1467, 50336, 678, 7964, 70836, 2633, 38, 7693, 2203, 10, 10666, 4666, 9852, 3181, 107, 42805, 4332, 75616, 17067, 67, 152590, 3229, 31958, 60899, 1810, 111, 70820, 4527, 26837, 284, 132, 16, 456, 864, 4002, 5, 63784...
[ 0.052215576171875, 0.079345703125, 0.26171875, 0.1661376953125, 0.163330078125, 0.2464599609375, 0.07684326171875, 0.196533203125, 0.2445068359375, 0.177001953125, 0.066162109375, 0.2027587890625, 0.03424072265625, 0.076416015625, 0.00018310546875, 0.03448486328125, 0.076171875, 0....
embed
4561524_c0
4561524
fsharp
0
Title: F# vs C# vs Nemerle Problem title: F# vs C# vs Nemerle Tags: .net, c%23, f%23, nemerle Problem: F# vs C# vs Nemerle Got new project in my TODO and can't chose F# or Nemerle. I'm currently learning F# and have some projects on Nemerle. I like F# way , I like indent by default (also I want indent by default for ne...
F# vs C# vs Nemerle F# vs C# vs Nemerle .net c%23 f%23 nemerle Nemerle STT Summ AVG List.iter s.Length Iter x.Length X.A X.B Record ABase F# vs C# vs Nemerle Got new project in my TODO and can't chose F# or Nemerle. I'm currently learning F# and have some projects on Nemerle. I like F# way , I like indent by default (a...
[ -0.02294921875, -0.00634765625, 0.00433349609375, 0.0025634765625, -0.004638671875, -0.0130615234375, -0.00116729736328125, 0.00872802734375, 0, 0.005706787109375, 0.0012664794921875, 0.0003376007080078125, 0.00089263916015625, -0.005462646484375, 0.00616455078125, -0.010498046875, -...
[ 563, 4904, 20209, 313, 4869, 56, 133, 1179, 501, 3949, 3742, 1238, 682, 13739, 36335, 39, 62, 79855, 32036, 16840, 91, 720, 1022, 1193, 571, 54877, 6991, 3525, 13452, 23, 759, 9926, 13223, 831, 18, 19667, 707, 82424, 52080, 77635, 1884,...
[ 0.185546875, 0.251708984375, 0.194091796875, 0.1260986328125, 0.2127685546875, 0.205810546875, 0.258544921875, 0.173583984375, 0.068115234375, 0.025054931640625, 0.095947265625, 0.1065673828125, 0.141845703125, 0.1337890625, 0.123046875, 0.012542724609375, 0.0400390625, 0.181762695...
embed
57610863_c0
57610863
fsharp
0
Title: How to deserialize json for correct type using f# Problem title: How to deserialize json for correct type using f# Tags: f%23-4.1, f%23, json, f%23-data Problem: How to deserialize json for correct type using f# I'm new with F# and functional programming. I have these two types type User= { active: bool funds: i...
How to deserialize json for correct type using f# How to deserialize json for correct type using f# f%23-4.1 f%23 json f%23-data f# How User UserDto Transaction DateTime TransactionDto Fsharp.Json System.Console.ReadLine Json.deserialize Account JObject.Parse j.Properties Select p.Name FirstOrDefault AccountOperation J...
[ -0.01495361328125, -0.003875732421875, -0.021728515625, 0.002105712890625, -0.016845703125, -0.01483154296875, -0.014404296875, 0.0267333984375, 0.0027313232421875, -0.02587890625, 0.0111083984375, 0.00823974609375, 0.0004024505615234375, 0.0022430419921875, 0.00921630859375, 0.0000410...
[ 11249, 47, 224, 25435, 119066, 1647, 1681, 100, 26785, 10644, 17368, 1238, 4904, 27495, 120518, 3742, 53400, 188, 11062, 44713, 70059, 563, 89280, 254, 1375, 40777, 31345, 821, 988, 61417, 21253, 75161, 28636, 1264, 163612, 19060, 187423, 11,...
[ 0.043609619140625, 0.02716064453125, 0.1851806640625, 0.2293701171875, 0.1258544921875, 0.1309814453125, 0.2088623046875, 0.102294921875, 0.2042236328125, 0.190185546875, 0.058837890625, 0.10565185546875, 0.17919921875, 0.0252838134765625, 0.08758544921875, 0.01641845703125, 0.101379...
embed
21376771_c0
21376771
fsharp
0
Title: Fsharp wcf type provider reuse data contracts Problem title: Fsharp wcf type provider reuse data contracts Tags: f%23, f%23-3.0, wcf Problem: Fsharp wcf type provider reuse data contracts I am using the fsharp wsdl type provider to generate client side classes to consume wcf services. However, I am not able to r...
Fsharp wcf type provider reuse data contracts Fsharp wcf type provider reuse data contracts f%23 f%23-3.0 wcf Fsharp DataContract QuantityUnit DataMember Quantity Unit ServiceContract IQuantityUnitService IDataProviderServiceContract OperationContract NewQuantityUnit ICalculationService CalculateQuantityUnit Fsharp wcf...
[ 0.015869140625, 0.040771484375, -0.0125732421875, -0.0022735595703125, -0.015380859375, -0.02294921875, 0.001312255859375, 0.01019287109375, -0.0064697265625, -0.032958984375, -0.031494140625, 0.016357421875, 0.009033203125, 0.00921630859375, 0.00506591796875, 0.0034942626953125, 0.0...
[ 563, 89280, 254, 148, 67466, 10644, 81450, 156883, 2053, 18264, 1238, 3742, 27495, 132265, 11809, 39989, 75344, 85600, 594, 27417, 46640, 12349, 87, 173495, 18, 121979, 137989, 177997, 102203, 2356, 94553, 212467, 7, 20469, 139392, 23282, 5609,...
[ 0.094482421875, 0.2054443359375, 0.1192626953125, 0.10479736328125, 0.2109375, 0.156005859375, 0.1865234375, 0.2442626953125, 0.1279296875, 0.218994140625, 0.064697265625, 0.0304107666015625, 0.007904052734375, 0.1055908203125, 0.04278564453125, 0.14794921875, 0.1002197265625, 0.11...
embed
28440978_c0
28440978
fsharp
0
Title: Tail Call Optimization in F# Problem title: Tail Call Optimization in F# Tags: tail-recursion, tail-call-optimization, f%23 Problem: Tail Call Optimization in F# I could really do with some help with tail call optimization in F#. I am trying to parse a tree like structure and perform a calculation on each leaf. ...
Tail Call Optimization in F# Tail Call Optimization in F# tail-recursion tail-call-optimization f%23 Tail Call Optimization Location Radius Width Angle Primitive Circle Ellipse Square MultiPrimitive List x.Length System.Math.PI head::tail Fact pattern.Length Tail Call Optimization in F# I could really do with some help...
[ 0.000453948974609375, 0.02783203125, 0.00384521484375, 0.0130615234375, 0.0068359375, -0.0155029296875, -0.007659912109375, -0.0274658203125, 0.0220947265625, -0.0135498046875, -0.00183868408203125, 0.005035400390625, 0.00439453125, -0.00933837890625, 0.0286865234375, 0.0145263671875, ...
[ 1218, 379, 26265, 43938, 47691, 563, 4904, 23, 46741, 107, 48650, 1830, 85763, 100433, 1238, 3949, 3742, 90788, 26368, 58302, 2393, 44506, 163731, 95680, 68305, 19335, 145111, 4935, 32036, 1022, 449, 12353, 199450, 15185, 10336, 132640, 103510,...
[ 0.178955078125, 0.1505126953125, 0.232177734375, 0.16943359375, 0.083740234375, 0.1485595703125, 0.233154296875, 0.04034423828125, 0.270751953125, 0.021270751953125, 0.1385498046875, 0.0172576904296875, 0.1982421875, 0.166015625, 0.112548828125, 0.0158233642578125, 0.1119384765625, ...
embed
61297306_c0
61297306
fsharp
0
Title: Implementing C# interfaces with nullable reference types in F# Problem title: Implementing C# interfaces with nullable reference types in F# Tags: nullable-reference-types, c%23-to-f%23, f%23, .net-core Problem: Implementing C# interfaces with nullable reference types in F# I'm trying to learn F# by converting a...
Implementing C# interfaces with nullable reference types in F# Implementing C# interfaces with nullable reference types in F# nullable-reference-types c%23-to-f%23 f%23 .net-core Implementing IVehicle GetWheels GetLicensePlate Car MyProjectInterfaces.IVehicle this.GetWheels this.GetLicensePlate LicensePlateService.GetL...
[ 0.0023345947265625, -0.00762939453125, 0.029296875, 0.01446533203125, -0.0030059814453125, -0.00469970703125, 0.002685546875, -0.0181884765625, -0.0036468505859375, 0.014404296875, -0.00634765625, 0.01177978515625, -0.032470703125, 0.019775390625, 0.00567626953125, 0.00775146484375, ...
[ 153941, 313, 4904, 101758, 678, 9229, 2661, 91067, 52895, 23, 563, 239879, 50986, 501, 27495, 188, 420, 3742, 1238, 1179, 30854, 7610, 13, 75708, 20779, 1456, 144009, 9506, 147881, 117231, 3980, 2646, 223353, 44851, 40404, 15583, 903, 724, ...
[ 0.1851806640625, 0.060302734375, 0.2335205078125, 0.2291259765625, 0.0379638671875, 0.2435302734375, 0.2188720703125, 0.2291259765625, 0.1900634765625, 0.0308837890625, 0.152587890625, 0.176025390625, 0.1810302734375, 0.007232666015625, 0.0789794921875, 0.076416015625, 0.069946289062...
embed
48310217_c0
48310217
fsharp
0
Title: UICollectionView F# Call method in init Problem title: UICollectionView F# Call method in init Tags: uicollectionviewcell, xamarin.ios, uicollectionview, f%23, initialization Problem: UICollectionView F# Call method in init [<Register ("ChatViewCell")>] type ChatViewCell (handle: IntPtr) as this = inherit UIColl...
UICollectionView F# Call method in init UICollectionView F# Call method in init uicollectionviewcell xamarin.ios uicollectionview f%23 initialization UICollectionView Call Register ChatViewCell IntPtr UICollectionViewCell DefaultValue NSString Initializing ChatViewCell.id ChatCell this.ReuseIdentifier UIImageView UILab...
[ -0.01031494140625, 0.0125732421875, 0.01239013671875, -0.01177978515625, 0.006195068359375, -0.01544189453125, -0.00531005859375, -0.02880859375, -0.00201416015625, 0.000820159912109375, -0.01324462890625, 0.00994873046875, 0.0185546875, 0.0030975341796875, 0.00653076171875, -0.0013351...
[ 345, 45878, 10763, 100474, 563, 4904, 26265, 55300, 23, 217, 75, 14, 196352, 22751, 34680, 2459, 44503, 5790, 1238, 3949, 3742, 61475, 131423, 18032, 6796, 4448, 262, 1021, 856, 52700, 71713, 1890, 903, 37379, 111481, 216960, 74040, 60641, ...
[ 0.1163330078125, 0.1552734375, 0.024444580078125, 0.322021484375, 0.0877685546875, 0.17431640625, 0.1837158203125, 0.177978515625, 0.09735107421875, 0.177734375, 0.05029296875, 0.050872802734375, 0.1361083984375, 0.1939697265625, 0.1402587890625, 0.07421875, 0.195068359375, 0.10986...
embed
41685686_c0
41685686
fsharp
0
Title: Upload file in a Suave application Problem title: Upload file in a Suave application Tags: suave, http, f%23, upload Problem: Upload file in a Suave application I've recently started creating a website with F# and Suave for a project at my University. One of the things I need is to let the user upload a file via...
Upload file in a Suave application Upload file in a Suave application suave http f%23 upload System.InvalidOperationException Upload Suave File.OpenText httpRequest.files.Head.tempFilePath POST Send ERR Microsoft.FSharp.Collections.FSharpList get_Head Web Parse Invoke Suave.HttpRequest Microsoft.FSharp.Core.FSharpFunc ...
[ -0.0016326904296875, 0.01226806640625, 0.0052490234375, -0.005645751953125, -0.0155029296875, 0.0191650390625, 0.0072021484375, -0.0172119140625, -0.00799560546875, -0.0211181640625, 0.0172119140625, 0.01708984375, -0.006866455078125, -0.0133056640625, 0.01409912109375, 0.0024566650390...
[ 171958, 11435, 23, 45384, 272, 38415, 10, 109829, 1621, 1238, 3949, 3742, 70622, 12353, 7013, 156823, 19279, 63928, 42724, 103264, 174379, 75616, 29822, 13025, 712, 34224, 174350, 10519, 81903, 24044, 151206, 7244, 36381, 3467, 254, 78457, 8996...
[ 0.2003173828125, 0.201904296875, 0.054595947265625, 0.26708984375, 0.26806640625, 0.1754150390625, 0.009063720703125, 0.3212890625, 0.1622314453125, 0.04693603515625, 0.03607177734375, 0.14111328125, 0.1788330078125, 0.0653076171875, 0.1380615234375, 0.123046875, 0.05517578125, 0.0...
embed
39124522_c0
39124522
fsharp
0
Title: How do I separate case ids from case values on a Discriminated Union? Problem title: How do I separate case ids from case values on a Discriminated Union? Tags: f%23 Problem: How do I separate case ids from case values on a Discriminated Union? I want to build a dictionary from a list of items. An item has the f...
How do I separate case ids from case values on a Discriminated Union? How do I separate case ids from case values on a Discriminated Union? f%23 case How Discriminated Union Item TotalPrice Special List.map Checkout Types UnitPrice Qty ThreeForOneThirty TwoForFourtyFive UnitPrice:int Qty:int Functions items:Item Tests ...
[ -0.0130615234375, -0.007232666015625, -0.0029144287109375, -0.007049560546875, -0.000682830810546875, -0.021240234375, -0.020751953125, 0.004425048828125, 0.01220703125, 0.0079345703125, 0.01397705078125, 0.038818359375, 0.0091552734375, 0.003204345703125, 0.0020751953125, -0.007354736...
[ 11249, 54, 87, 84797, 7225, 3447, 7, 1295, 142424, 98, 6206, 135421, 3674, 32528, 1238, 3949, 3742, 78426, 33867, 33163, 25132, 32036, 62346, 38679, 6056, 60457, 46640, 129335, 18537, 6159, 4288, 28670, 55769, 2982, 8647, 563, 85600, 18057, ...
[ 0.0823974609375, 0.0330810546875, 0.041900634765625, 0.230712890625, 0.2486572265625, 0.21533203125, 0.11279296875, 0.1378173828125, 0.199462890625, 0.04742431640625, 0.054473876953125, 0.2193603515625, 0.060150146484375, 0.2159423828125, 0.0204315185546875, 0.01458740234375, 0.10650...
embed
4117893_c0
4117893
fsharp
0
Title: Is this correct use of pattern matching and active patterns? Problem title: Is this correct use of pattern matching and active patterns? Tags: f%23 Problem: Is this correct use of pattern matching and active patterns? I'm new to F# and functional and am working on some HTML parsing code. I want to remove from a ...
Is this correct use of pattern matching and active patterns? Is this correct use of pattern matching and active patterns? f%23 HtmlAgilityPack HtmlNode HiddenNodeCount n.SelectNodes visibility:hidden Seq.length x.Name.ToLower node.Remove x.NodeType HtmlNodeType.Comment HtmlDocument OptionAutoCloseOnEnd dom.LoadHtml dom...
[ -0.01556396484375, 0.01239013671875, 0.0037841796875, 0.0069580078125, -0.01904296875, -0.0181884765625, 0.0026092529296875, -0.0040283203125, 0.0155029296875, -0.02490234375, 0.004852294921875, 0.01434326171875, -0.003631591796875, -0.01141357421875, 0.0194091796875, -0.0294189453125,...
[ 2071, 903, 26785, 4527, 103510, 14858, 214, 136, 36457, 1238, 3742, 18, 7237, 54431, 103133, 205956, 5021, 72483, 555, 112, 108210, 100184, 988, 108625, 15080, 864, 6488, 110, 4332, 432, 272, 1022, 196707, 239469, 86769, 38115, 59453, 20320, ...
[ 0.03045654296875, 0.0662841796875, 0.146240234375, 0.110595703125, 0.2318115234375, 0.2373046875, 0.09765625, 0.037994384765625, 0.201904296875, 0.050811767578125, 0.1033935546875, 0.07891845703125, 0.1317138671875, 0.1158447265625, 0.1171875, 0.193603515625, 0.139892578125, 0.1361...
embed
61663860_c1
61663860
fsharp
1
= Nullable(100)) let concatAsEstimator = concat :> IEstimator<_> concatAsEstimator.Append(scda) This slightly changes the types in the compiler error. The new message indicates that IEstimator<ColumnConcatenatingTransformer> is not compatible with IEstimator<ITransformer> . It looks like I need to explicitly downcast ...
= Nullable(100)) let concatAsEstimator = concat :> IEstimator<_> concatAsEstimator.Append(scda) This slightly changes the types in the compiler error. The new message indicates that IEstimator<ColumnConcatenatingTransformer> is not compatible with IEstimator<ITransformer> . It looks like I need to explicitly downcast ...
[ 0.00579833984375, -0.00958251953125, 0.0206298828125, 0.00677490234375, 0.027099609375, -0.0189208984375, -0.018798828125, -0.0123291015625, 0.0225830078125, -0.025390625, -0.0133056640625, 0.0111083984375, 0.004180908203125, 0.007537841796875, -0.01025390625, -0.01708984375, 0.01660...
[ 2203, 27786, 2661, 3559, 2633, 158, 4460, 19659, 68001, 1352, 1290, 75536, 7, 14488, 39179, 3611, 10382, 85, 161549, 65572, 52895, 9969, 34759, 18499, 3525, 26008, 78457, 316, 19, 11935, 33, 26518, 62624, 82772, 959, 146731, 678, 568, 6, ...
[ 0.048065185546875, 0.2060546875, 0.2132568359375, 0.1751708984375, 0.07586669921875, 0.114501953125, 0.2127685546875, 0.0828857421875, 0.1181640625, 0.1708984375, 0.161376953125, 0.1361083984375, 0.04681396484375, 0.22216796875, 0.056610107421875, 0.0843505859375, 0.029632568359375, ...
embed
63276765_c1
63276765
fsharp
1
[<DefaultValue>] val mutable arrogance : uint8 [<Struct>] type HomeInfo = [<DefaultValue; MarshalAs(UnmanagedType.ByValArray, SizeConst = 5)>] val mutable cd : CatDef array [<DefaultValue>] val mutable notoriety : uint8 [<DefaultValue>] val mutable etc : uint8 [<Struct>] type HomeQuery = [<DefaultValue; MarshalAs(Unma...
[<DefaultValue>] val mutable arrogance : uint8 [<Struct>] type HomeInfo = [<DefaultValue; MarshalAs(UnmanagedType.ByValArray, SizeConst = 5)>] val mutable cd : CatDef array [<DefaultValue>] val mutable notoriety : uint8 [<DefaultValue>] val mutable etc : uint8 [<Struct>] type HomeQuery = [<DefaultValue; MarshalAs(Unma...
[ 0.01507568359375, 0.01904296875, 0.0045166015625, 0.0177001953125, -0.020263671875, -0.00958251953125, 0.00121307373046875, -0.021240234375, 0.013916015625, -0.0203857421875, -0.00125885009765625, -0.00958251953125, -0.01043701171875, -0.0009918212890625, -0.019287109375, -0.0125122070...
[ 187423, 11, 7136, 856, 50770, 3502, 842, 22819, 187, 33003, 3956, 75, 4288, 1019, 71713, 18190, 10644, 2005, 93147, 23342, 4200, 19659, 14256, 4707, 17704, 196707, 75358, 42272, 7092, 80378, 11935, 21162, 56329, 18826, 10298, 110, 80272, 4173...
[ 0.23974609375, 0.1424560546875, 0.0906982421875, 0.115234375, 0.134521484375, 0.1746826171875, 0.1346435546875, 0.17041015625, 0.06298828125, 0.2210693359375, 0.051025390625, 0.06640625, 0.1583251953125, 0.1583251953125, 0.11474609375, 0.054534912109375, 0.2166748046875, 0.11840820...
embed
49196009_c0
49196009
fsharp
0
Title: F# XUnit test does not print output Problem title: F# XUnit test does not print output Tags: xunit, f%23 Problem: F# XUnit test does not print output I have the following XUnit test in a project created with dotnet new xunit : type Scenarios(output : ITestOutputHelper) = [<Fact>] member __.``Output shows up`` ()...
F# XUnit test does not print output F# XUnit test does not print output xunit f%23 XUnit Scenarios ITestOutputHelper Fact Output output.WriteLine Build Test Work OSS Streamstone.fs StreamstoneFs.Tests Debug netcoreapp2.0 StreamstoneFs.Tests.dll NETCoreApp Version v2.0 Microsoft Execution Command Line Tool preview-20180...
[ -0.01153564453125, 0.0166015625, 0.000720977783203125, -0.0048828125, -0.0145263671875, 0.00982666015625, 0.01275634765625, -0.032470703125, -0.013916015625, 0.076171875, -0.0047607421875, 0.0014190673828125, -0.0029754638671875, 0.0137939453125, 0.01263427734375, 0.0103759765625, 0....
[ 563, 4904, 132435, 6773, 3034, 14602, 959, 28412, 140992, 10438, 1238, 3949, 3742, 152365, 525, 79858, 7077, 60785, 1264, 132640, 13538, 93232, 121137, 8647, 27985, 81801, 115061, 34165, 17447, 919, 111337, 262, 85779, 2043, 30854, 9007, 73011,...
[ 0.0743408203125, 0.1353759765625, 0.156982421875, 0.2275390625, 0.180419921875, 0.007415771484375, 0.119873046875, 0.180908203125, 0.20849609375, 0.1290283203125, 0.05810546875, 0.0146484375, 0.07958984375, 0.05938720703125, 0.052093505859375, 0.0738525390625, 0.01202392578125, 0.0...
embed
10417123_c0
10417123
fsharp
0
Title: Thread-safe normal random number generator in F# Problem title: Thread-safe normal random number generator in F# Tags: f%23, random, .net Problem: Thread-safe normal random number generator in F# Needing a random number generator that returns a sample from a normal (Gaussian) distribution, I've ported to F# a po...
Thread-safe normal random number generator in F# Thread-safe normal random number generator in F# f%23 random .net Thread-safe m_w m_z System.DateTime.Now dt.ToFileTime uint32 System.Math.PI Returns Gaussian Thread-safe normal random number generator in F# Needing a random number generator that returns a sample from a ...
[ -0.0086669921875, 0.01025390625, 0.00787353515625, -0.0264892578125, 0.01422119140625, 0.004913330078125, 0.0157470703125, -0.0133056640625, -0.004608154296875, -0.0625, 0.01177978515625, 0.05322265625, 0.00616455078125, -0.00323486328125, 0.019287109375, -0.00077056884765625, -0.011...
[ 136719, 115840, 3638, 96759, 14012, 145823, 563, 4904, 1238, 3949, 3742, 1179, 434, 169, 12353, 70059, 137594, 7763, 174350, 4288, 6460, 199450, 15185, 173340, 26336, 7, 39209, 23, 52889, 30646, 121413, 17067, 223, 113068, 196, 47, 126826, 49...
[ 0.2247314453125, 0.2130126953125, 0.1441650390625, 0.1666259765625, 0.08984375, 0.2113037109375, 0.1240234375, 0.2117919921875, 0.06231689453125, 0.00152587890625, 0.12646484375, 0.1182861328125, 0.066650390625, 0.0325927734375, 0.048919677734375, 0.09613037109375, 0.05548095703125, ...
embed
66113960_c0
66113960
fsharp
0
Title: In F#, how to correctly use ResizeArray() and an accumulator in an Array.map to change the property of a record Problem title: In F#, how to correctly use ResizeArray() and an accumulator in an Array.map to change the property of a record Tags: arrays, f%23 Problem: In F#, how to correctly use ResizeArray() and ...
In F#, how to correctly use ResizeArray() and an accumulator in an Array.map to change the property of a record In F#, how to correctly use ResizeArray() and an accumulator in an Array.map to change the property of a record arrays f%23 ResizeArray Array.map WorkArea.Width ColumnCount WorkArea.Left Cursor TopLeft Point ...
[ -0.01031494140625, 0.01556396484375, 0.01165771484375, 0.007232666015625, 0.00604248046875, -0.0260009765625, -0.0076904296875, -0.005584716796875, 0.0135498046875, -0.005615234375, 0.0220947265625, 0.01544189453125, -0.0035858154296875, -0.005157470703125, 0.00225830078125, -0.0250244...
[ 563, 4904, 3642, 26785, 4527, 853, 62539, 7614, 7092, 132, 136, 183278, 1290, 69253, 53, 62346, 15549, 57266, 17164, 10298, 4778, 1238, 3742, 27985, 1283, 532, 233987, 108210, 2480, 58148, 4792, 5267, 41097, 77888, 13810, 4295, 4028, 32036, ...
[ 0.1348876953125, 0.234130859375, 0.059112548828125, 0.1318359375, 0.115478515625, 0.1563720703125, 0.2269287109375, 0.153564453125, 0.23291015625, 0.0849609375, 0.10516357421875, 0.2158203125, 0.200927734375, 0.14306640625, 0.1103515625, 0.1864013671875, 0.2010498046875, 0.22412109...
embed
21359201_c0
21359201
fsharp
0
Title: Handling 2 compiler errors translating C# to F# Problem title: Handling 2 compiler errors translating C# to F# Tags: c%23, f%23 Problem: Handling 2 compiler errors translating C# to F# I am having some trouble porting this code to f# public class MyForm : Form { public MyForm () { Text = "My Cross-Platform App";...
Handling 2 compiler errors translating C# to F# Handling 2 compiler errors translating C# to F# c%23 f%23 Handling MyForm Form Text Cross-Platform App Size Content Label Hello World STAThread Main Application app.Initialized app.MainForm app.MainForm.Show app.Run System Eto.Forms Eto.Drawing MyWindow this.Size this.Tex...
[ 0.00933837890625, 0.00445556640625, -0.0035400390625, -0.007598876953125, 0.0021209716796875, -0.00994873046875, 0.00897216796875, -0.020263671875, -0.00445556640625, -0.021484375, 0.01190185546875, -0.0264892578125, 0.01409912109375, 0.0218505859375, 0.004547119140625, -0.01318359375,...
[ 193237, 116, 9969, 34759, 18499, 3900, 143, 313, 4904, 47, 563, 3742, 1238, 2646, 102973, 15236, 24129, 47832, 117231, 5037, 5659, 80378, 70870, 129214, 35378, 6661, 144792, 127, 39116, 12321, 104921, 4027, 1890, 289, 5, 168793, 168660, 16332...
[ 0.272216796875, 0.1849365234375, 0.139892578125, 0.1544189453125, 0.189453125, 0.167236328125, 0.123046875, 0.06365966796875, 0.2332763671875, 0.1212158203125, 0.15234375, 0.0771484375, 0.1334228515625, 0.1234130859375, 0.247314453125, 0.2000732421875, 0.13818359375, 0.093688964843...
embed
52447497_c0
52447497
fsharp
0
Title: Azure Web Job: Could not load file or assembly &#x27;FSharp.Core, Version=4.5.0.0 Problem title: Azure Web Job: Could not load file or assembly &#x27;FSharp.Core, Version=4.5.0.0 Tags: f%23, azure-webjobs, msbuild Problem: Azure Web Job: Could not load file or assembly 'FSharp.Core, Version=4.5.0.0 I have some A...
Azure Web Job: Could not load file or assembly &#x27;FSharp.Core, Version=4.5.0.0 Azure Web Job: Could not load file or assembly &#x27;FSharp.Core, Version=4.5.0.0 f%23 azure-webjobs msbuild Azure Web Job Could FSharp.Core Version urn:schemas-microsoft-com:asm.v1 b03f5f7f11d50a3a Azure Web Job: Could not load file or a...
[ -0.025390625, 0.0211181640625, -0.0123291015625, -0.0225830078125, -0.0220947265625, 0.0076904296875, -0.010009765625, -0.0101318359375, 0.004302978515625, 0.005462646484375, -0.01190185546875, -0.004425048828125, 0.0012969970703125, 0.00482177734375, 0.03564453125, 0.0157470703125, ...
[ 176071, 4002, 32664, 191147, 959, 72367, 11435, 707, 89845, 38526, 3768, 36381, 3467, 254, 50886, 13, 40647, 107947, 45955, 99929, 3742, 295, 3408, 14051, 36791, 68163, 177149, 93774, 2780, 7560, 138410, 277, 162, 39, 334, 9513, 2525, 363, ...
[ 0.23095703125, 0.183349609375, 0.18701171875, 0.1190185546875, 0.121337890625, 0.189208984375, 0.15966796875, 0.0552978515625, 0.1773681640625, 0.056976318359375, 0.048095703125, 0.0452880859375, 0.18115234375, 0.197998046875, 0.1475830078125, 0.07293701171875, 0.1435546875, 0.1265...
embed
38633301_c1
38633301
fsharp
1
let newsum = gpu_point2(a.[gid].x+b.[gid].x,a.[gid].y+b.[gid].y) cadd.[gid] <- newsum cadd let ws = WorkSize(64L) let arr_s1= <@ Modgpu([|0.f..63.f|],[|63.f..(-1.f)..0.f|],ws)@>.Run() let arr_s2 = <@ Modgpu([|63.f..(-1.f)..0.f|],[|0.f..63.f|],ws)@>.Run() With this code when I try to use ModSum as let rsum = <@ ModSum(...
let newsum = gpu_point2(a.[gid].x+b.[gid].x,a.[gid].y+b.[gid].y) cadd.[gid] <- newsum cadd let ws = WorkSize(64L) let arr_s1= <@ Modgpu([|0.f..63.f|],[|63.f..(-1.f)..0.f|],ws)@>.Run() let arr_s2 = <@ Modgpu([|63.f..(-1.f)..0.f|],[|0.f..63.f|],ws)@>.Run() With this code when I try to use ModSum as let rsum = <@ ModSum(...
[ 0.003082275390625, 0.0162353515625, -0.00360107421875, -0.01519775390625, 0.001678466796875, 0.0064697265625, -0.0031280517578125, 0.0025177001953125, 0.017822265625, -0.01397705078125, -0.0185546875, -0.00144195556640625, 0.01116943359375, -0.04541015625, 0.007476806640625, -0.0037994...
[ 2633, 7123, 316, 1766, 38496, 304, 52493, 1328, 53, 4028, 377, 148, 7, 27985, 127167, 13307, 187, 42, 16269, 420, 15748, 19725, 163321, 18151, 294, 1690, 11832, 981, 418, 22027, 18, 4488, 43240, 169123, 4, 18499, 5117, 11675, 93774, 37486...
[ 0.17236328125, 0.1368408203125, 0.24169921875, 0.1429443359375, 0.130859375, 0.11572265625, 0.017364501953125, 0.1064453125, 0.009002685546875, 0.03582763671875, 0.003631591796875, 0.013336181640625, 0.0177459716796875, 0.0614013671875, 0.0479736328125, 0.0753173828125, 0.01608276367...
embed
30043036_c0
30043036
fsharp
0
Title: F# R Provider: Method not found: &#x27;RDotNet.REngine RDotNet.REngine.GetInstance Problem title: F# R Provider: Method not found: &#x27;RDotNet.REngine RDotNet.REngine.GetInstance Tags: f%23 Problem: F# R Provider: Method not found: 'RDotNet.REngine RDotNet.REngine.GetInstance I am using the R Type Provider lik...
F# R Provider: Method not found: &#x27;RDotNet.REngine RDotNet.REngine.GetInstance F# R Provider: Method not found: &#x27;RDotNet.REngine RDotNet.REngine.GetInstance f%23 System.MissingMethodException previous Provider Method RDotNet.REngine RDotNet.REngine.GetInstance FSharp.Data.2.2.0 net40 FSharp.Data.dll FSharp.Dat...
[ -0.003326416015625, 0.0301513671875, -0.0036163330078125, 0.0013427734375, -0.01104736328125, 0.0059814453125, 0.0279541015625, -0.01019287109375, -0.00144195556640625, -0.0152587890625, -0.0125732421875, 0.0048828125, 0.00848388671875, -0.01361083984375, 0.01226806640625, -0.000782012...
[ 563, 4904, 627, 123089, 42, 74644, 959, 14037, 3768, 40756, 818, 24447, 11766, 449, 1212, 724, 126, 4153, 116071, 1238, 3742, 12353, 135261, 78572, 63928, 96362, 3467, 137989, 73011, 2043, 2839, 1181, 135940, 91705, 1663, 6954, 191633, 22819,...
[ 0.080322265625, 0.16845703125, 0.21728515625, 0.22216796875, 0.10546875, 0.251220703125, 0.1114501953125, 0.17578125, 0.05694580078125, 0.080810546875, 0.10174560546875, 0.1842041015625, 0.109130859375, 0.122802734375, 0.1961669921875, 0.0499267578125, 0.0924072265625, 0.0381469726...
embed
66173962_c0
66173962
fsharp
0
Title: UseEnpoints with MapHub returns expects unit but has type HubEndpointConversationBuilder Problem title: UseEnpoints with MapHub returns expects unit but has type HubEndpointConversationBuilder Tags: signalr, f%23 Problem: UseEnpoints with MapHub returns expects unit but has type HubEndpointConversationBuilder I'...
UseEnpoints with MapHub returns expects unit but has type HubEndpointConversationBuilder UseEnpoints with MapHub returns expects unit but has type HubEndpointConversationBuilder signalr f%23 UseEnpoints MapHub HubEndpointConversationBuilder UseEndpoints routes.MapHub ChatHub Hub x.SendMessage x.Clients.All.SendAsync Re...
[ -0.009033203125, 0.0181884765625, 0.005615234375, -0.0021209716796875, -0.03662109375, 0.0028228759765625, -0.00179290771484375, -0.00167083740234375, 0.009765625, -0.01312255859375, -0.0103759765625, -0.0167236328125, 0.019287109375, 0.029541015625, 0.0233154296875, -0.005340576171875...
[ 36836, 7768, 38496, 7, 678, 42719, 140505, 30646, 41206, 25072, 1284, 1556, 10644, 53465, 152378, 7864, 121137, 26073, 42, 1238, 3949, 3742, 36439, 166179, 18032, 1022, 6011, 150, 43512, 12654, 93908, 87, 182867, 4027, 121979, 686, 1900, 334,...
[ 0.141845703125, 0.13671875, 0.2587890625, 0.04058837890625, 0.0689697265625, 0.1749267578125, 0.2159423828125, 0.1241455078125, 0.2060546875, 0.17626953125, 0.05084228515625, 0.0135498046875, 0.1600341796875, 0.171630859375, 0.1392822265625, 0.1322021484375, 0.1614990234375, 0.1566...
embed
10940370_c0
10940370
fsharp
0
Title: F# replacing variables with actual values results in endless loop (recursive function) Problem title: F# replacing variables with actual values results in endless loop (recursive function) Tags: recursion, infinite-loop, f%23 Problem: F# replacing variables with actual values results in endless loop (recursive f...
F# replacing variables with actual values results in endless loop (recursive function) F# replacing variables with actual values results in endless loop (recursive function) recursion infinite-loop f%23 SieveOfEratosthenesRecursive head::tail List.filter head::accumulator Prime.SieveOfEratosthenesRecursive F# replacing...
[ -0.00732421875, 0.0255126953125, 0.003875732421875, 0.01214599609375, 0.009765625, -0.002197265625, -0.016845703125, 0.00153350830078125, 0.0089111328125, -0.01055908203125, 0.046875, 0.0299072265625, 0.024658203125, 0.01513671875, 0.0576171875, -0.000812530517578125, 0.0225830078125...
[ 563, 4904, 456, 133266, 77336, 678, 8561, 142424, 50339, 3564, 9393, 40956, 48650, 5844, 32354, 195625, 54241, 13, 28354, 1238, 3742, 727, 272, 132887, 18468, 60392, 2347, 1444, 10336, 46741, 32036, 120337, 224706, 4597, 56195, 99266, 29479, ...
[ 0.1153564453125, 0.20068359375, 0.046783447265625, 0.132568359375, 0.1959228515625, 0.02227783203125, 0.163818359375, 0.1207275390625, 0.038116455078125, 0.0445556640625, 0.09454345703125, 0.218994140625, 0.182373046875, 0.1422119140625, 0.1466064453125, 0.1910400390625, 0.1298828125...
embed
25086198_c0
25086198
fsharp
0
Title: List of string in a record to CSV? Problem title: List of string in a record to CSV? Tags: csv, export-to-csv, f%23 Problem: List of string in a record to CSV? How does one write a list of string in a record to CSV without the lists being truncated? CSV Writer: let toSepFile sep header (fileName:string) (s:'reco...
List of string in a record to CSV? List of string in a record to CSV? csv export-to-csv f%23 List CSV fileName:string Reflection.FSharpType.GetRecordFields Seq.fold System.IO.StreamWriter header_str Seq.map field.Name w.WriteLine FSharpValue.GetRecordField Seq.iter Name Joe Age Countries Tomas Suzanne List of string in...
[ -0.0064697265625, 0.01080322265625, 0.0023956298828125, 0.0311279296875, -0.01129150390625, -0.02099609375, -0.00927734375, 0.0264892578125, 0.003875732421875, 0.05419921875, -0.00921630859375, -0.00012493133544921875, 0.017822265625, 0.01470947265625, 0.00286865234375, -0.02392578125,...
[ 32036, 111, 79315, 23, 17164, 47, 313, 43486, 20763, 334, 31255, 188, 4439, 1238, 3742, 11435, 91693, 53295, 133, 3467, 196707, 32271, 19388, 864, 42822, 12353, 17780, 115061, 2783, 10336, 9297, 62346, 44457, 93232, 254, 50770, 16840, 15757, ...
[ 0.20703125, 0.1123046875, 0.2386474609375, 0.08538818359375, 0.2291259765625, 0.139404296875, 0.09326171875, 0.29345703125, 0.1202392578125, 0.227294921875, 0.170166015625, 0.0982666015625, 0.1087646484375, 0.019805908203125, 0.0772705078125, 0.07867431640625, 0.1656494140625, 0.08...
embed
30670628_c0
30670628
fsharp
0
Title: FsXaml load error Problem title: FsXaml load error Tags: f%23, wpf, .net Problem: FsXaml load error I am trying to use FSXaml to create a gui in F#. I get the following error while compiling. I get the same error on the sample demo program from FsXaml as well. Thank you in advance for all the help. The error I a...
FsXaml load error FsXaml load error f%23 wpf .net FsXaml FsXaml load error I am trying to use FSXaml to create a gui in F#. I get the following error while compiling. I get the same error on the sample demo program from FsXaml as well. Thank you in advance for all the help. The error I am getting is: The full error is ...
[ 0.02392578125, 0.0179443359375, -0.0022125244140625, -0.01300048828125, -0.00653076171875, 0.003387451171875, 0.009765625, -0.010986328125, -0.0172119140625, -0.02197265625, 0.00927734375, -0.0162353515625, 0.0089111328125, -0.0255126953125, 0.00909423828125, 0.0034027099609375, -0.0...
[ 563, 7, 1542, 302, 141, 72367, 18499, 1238, 3949, 3742, 148, 39557, 1179, 87, 31577, 4527, 182726, 28282, 17086, 23, 4904, 25632, 12960, 9969, 49725, 5701, 121413, 53397, 1528, 129745, 756, 4358, 20949, 83, 4393, 3688, 12 ]
[ 0.128662109375, 0.08868408203125, 0.1419677734375, 0.185791015625, 0.1566162109375, 0.2476806640625, 0.17529296875, 0.1038818359375, 0.06793212890625, 0.182373046875, 0.0299224853515625, 0.1512451171875, 0.1258544921875, 0.001708984375, 0.050689697265625, 0.0192718505859375, 0.197875...
embed
41113714_c1
41113714
fsharp
1
are ... <Target Name="CustomCollectFiles"> <ItemGroup> <_CustomFiles Include=".\docs\**\*" /> <FilesForPackagingFromProject Include="%(_CustomFiles.Identity)"> <DestinationRelativePath>docs\%(RecursiveDir)%(Filename)%(Extension)</DestinationRelativePath> </FilesForPackagingFromProject> </ItemGroup> </Target> <Choose> ...
are ... <Target Name="CustomCollectFiles"> <ItemGroup> <_CustomFiles Include=".\docs\**\*" /> <FilesForPackagingFromProject Include="%(_CustomFiles.Identity)"> <DestinationRelativePath>docs\%(RecursiveDir)%(Filename)%(Extension)</DestinationRelativePath> </FilesForPackagingFromProject> </ItemGroup> </Target> <Choose> ...
[ 0.002166748046875, -0.000644683837890625, -0.01226806640625, 0.01123046875, -0.02392578125, 0.01531982421875, -0.0089111328125, -0.0419921875, 0.0126953125, 0.042236328125, 0.0205078125, 0.015625, -0.0019683837890625, 0.0322265625, 0.0133056640625, -0.006622314453125, -0.006896972656...
[ 621, 153, 63031, 3794, 15757, 223, 5928, 78457, 8996, 174350, 2982, 205072, 8942, 822, 29713, 18537, 205956, 66398, 168407, 223353, 37379, 12729, 143, 10519, 48650, 481, 46347, 59994, 4657, 85779, 1264, 10625, 6493, 43512, 213039, 2278, 130664,...
[ 0.1484375, 0.048126220703125, 0.163818359375, 0.1705322265625, 0.023956298828125, 0.1185302734375, 0.16064453125, 0.09832763671875, 0.14990234375, 0.1707763671875, 0.107421875, 0.1666259765625, 0.03167724609375, 0.10693359375, 0.1304931640625, 0.031768798828125, 0.1317138671875, 0....
embed
77892898_c1
77892898
fsharp
1
.RequestedThemeVariant <- Styling.ThemeVariant.Dark override this.OnFrameworkInitializationCompleted() = match this.ApplicationLifetime with | :? IClassicDesktopStyleApplicationLifetime as desktopLifetime -> desktopLifetime.MainWindow <- MainWindow() | _ -> () module Program = [<EntryPoint>] let main(args: string[]) = ...
.RequestedThemeVariant <- Styling.ThemeVariant.Dark override this.OnFrameworkInitializationCompleted() = match this.ApplicationLifetime with | :? IClassicDesktopStyleApplicationLifetime as desktopLifetime -> desktopLifetime.MainWindow <- MainWindow() | _ -> () module Program = [<EntryPoint>] let main(args: string[]) = ...
[ -0.004974365234375, 0.0185546875, 0.00170135498046875, 0.01385498046875, 0.00262451171875, -0.0084228515625, 0.018798828125, -0.014892578125, 0.01385498046875, -0.0093994140625, 0.0120849609375, -0.0111083984375, -0.003875732421875, 0.0390625, 0.02392578125, -0.001953125, 0, 0.0002...
[ 5, 4332, 944, 14437, 3957, 282, 81827, 26865, 119926, 214, 62051, 92, 645, 416, 112, 903, 20320, 108386, 18244, 1890, 289, 47691, 108161, 133, 3674, 14858, 47677, 182867, 69397, 6032, 678, 87, 140803, 1771, 4657, 1042, 13784, 209480, 237, ...
[ 0.0257568359375, 0.076171875, 0.1729736328125, 0.13525390625, 0.1920166015625, 0.128662109375, 0.196533203125, 0.1407470703125, 0.1864013671875, 0.091064453125, 0.1165771484375, 0.08551025390625, 0.0357666015625, 0.12548828125, 0.025543212890625, 0.09375, 0.1129150390625, 0.0068359...
embed
49173682_c0
49173682
fsharp
0
Title: F# WsdlTypeProvider MaxReceivedMessageSize Problem title: F# WsdlTypeProvider MaxReceivedMessageSize Tags: f%23-data, web-services, wcf, f%23 Problem: F# WsdlTypeProvider MaxReceivedMessageSize I am using F# and the WsdlTypeProvider with this code: type svc = FSharp.Data.TypeProviders.WsdlService<"http://my.serv...
F# WsdlTypeProvider MaxReceivedMessageSize F# WsdlTypeProvider MaxReceivedMessageSize f%23-data web-services wcf f%23 WsdlTypeProvider MaxReceivedMessageSize FSharp.Data.TypeProviders.WsdlService my.service.url svc.GetServicePort svcClient.DataContext.Endpoint.Binding System.ServiceModel.BasicHttpBinding F# WsdlTypePro...
[ 0.0028076171875, 0.02685546875, -0.000423431396484375, -0.000507354736328125, 0.0030517578125, 0.0115966796875, 0.011474609375, -0.010498046875, 0.00408935546875, -0.04150390625, -0.008056640625, 0.00116729736328125, -0.0042724609375, -0.0032806396484375, 0.0296630859375, -0.0041198730...
[ 563, 4904, 601, 7, 20469, 196707, 177997, 9920, 4332, 329, 14, 4126, 594, 6011, 429, 127167, 62160, 1238, 27495, 10135, 1467, 22584, 148, 67466, 3742, 3467, 254, 137989, 1456, 121979, 759, 25002, 12669, 60006, 22829, 152378, 16882, 33770, 1...
[ 0.126953125, 0.18701171875, 0.107666015625, 0.0677490234375, 0.1600341796875, 0.185546875, 0.1531982421875, 0.1810302734375, 0.111083984375, 0.1400146484375, 0.1207275390625, 0.126708984375, 0.0235137939453125, 0.1427001953125, 0.05596923828125, 0.214111328125, 0.10400390625, 0.066...
embed
69493740_c1
69493740
fsharp
1
cannot find the file specified. [G:\Kernel\Project\Project.Tests.fsproj]* I notice that for FSharp.Data version >= 4.0 the package is build for .NetStandard2.0, but as far as i understand, that shouldn't be an issue. The 3.3.3 version compiles for me, both the net45 version, and the nestandard2.0 verison in the packag...
cannot find the file specified. [G:\Kernel\Project\Project.Tests.fsproj]* I notice that for FSharp.Data version >= 4.0 the package is build for .NetStandard2.0, but as far as i understand, that shouldn't be an issue. The 3.3.3 version compiles for me, both the net45 version, and the nestandard2.0 verison in the packag...
[ 0.0054931640625, 0.034912109375, -0.00555419921875, -0.0084228515625, 0.012939453125, 0.008544921875, 0.004791259765625, -0.00102996826171875, -0.012451171875, -0.0123291015625, -0.00174713134765625, -0.00066375732421875, -0.019775390625, 0.00970458984375, 0.006500244140625, 0.00212097...
[ 53418, 7413, 11435, 58735, 297, 3196, 141, 223353, 111337, 17447, 3454, 170, 60322, 93774, 3467, 254, 137989, 11389, 40401, 98169, 45367, 100, 24447, 191769, 73011, 28219, 1031, 134693, 9969, 1340, 163, 2043, 4633, 108, 66589, 493, 40514, 452...
[ 0.148681640625, 0.212890625, 0.261962890625, 0.219482421875, 0.0643310546875, 0.1192626953125, 0.057373046875, 0.0963134765625, 0.155517578125, 0.1473388671875, 0.182373046875, 0.1734619140625, 0.07354736328125, 0.1378173828125, 0.206298828125, 0.1949462890625, 0.186767578125, 0.12...
embed
50123686_c0
50123686
fsharp
0
Title: Decision tree (recursive type) Problem title: Decision tree (recursive type) Tags: f%23 Problem: Decision tree (recursive type) I'm stuck with one of the examples from "Real World Functional Progamming", chapter 8 -- decision trees. If I run this code in FSI (version 4.1) type QueryInfo = { Title: string Positiv...
Decision tree (recursive type) Decision tree (recursive type) f%23 Decision QueryInfo Title Positive Negative Result Query Yes Decision tree (recursive type) I'm stuck with one of the examples from "Real World Functional Progamming", chapter 8 -- decision trees. If I run this code in FSI (version 4.1) the value tree is...
[ 0.0260009765625, 0.0260009765625, 0.0030670166015625, 0.0233154296875, 0.0191650390625, -0.005767822265625, -0.013916015625, -0.01123046875, -0.0076904296875, -0.00830078125, -0.006256103515625, -0.00823974609375, -0.0111083984375, 0.003662109375, 0.026611328125, 0.00628662109375, 0....
[ 49132, 6889, 53201, 107, 48650, 5844, 10644, 1238, 3949, 3742, 58836, 93147, 48962, 156060, 221717, 126684, 32635, 179933, 27781, 68996, 6661, 28670, 1250, 208, 58838, 382, 51957, 1360, 90, 11675, 18151, 563, 9902, 46354, 61391, 34292, 83, 14...
[ 0.1605224609375, 0.1024169921875, 0.260498046875, 0.041290283203125, 0.1722412109375, 0.10369873046875, 0.14501953125, 0.0231475830078125, 0.01959228515625, 0.0758056640625, 0.092529296875, 0.0780029296875, 0.01361083984375, 0.1229248046875, 0.1417236328125, 0.103759765625, 0.0749511...
embed
39379366_c0
39379366
fsharp
0
Title: Process.MainWindowHandle returns IntPtr.Zero when Tooltips are hovered Problem title: Process.MainWindowHandle returns IntPtr.Zero when Tooltips are hovered Tags: .net, f%23, c%23, process, user32 Problem: Process.MainWindowHandle returns IntPtr.Zero when Tooltips are hovered I have a simple function which works...
Process.MainWindowHandle returns IntPtr.Zero when Tooltips are hovered Process.MainWindowHandle returns IntPtr.Zero when Tooltips are hovered .net f%23 c%23 process user32 Desktop Process.MainWindowHandle IntPtr.Zero Tooltips possibleParents:Seq Process GetProcessesByExecutableFileName x.Where y.MainWindowHandle Count ...
[ 0.00167083740234375, 0.0205078125, -0.0145263671875, 0.00396728515625, -0.027099609375, 0.0189208984375, 0.01422119140625, -0.0238037109375, -0.00194549560546875, -0.019287109375, 0.00714111328125, 0.0128173828125, -0.00811767578125, 0.0269775390625, 0.01177978515625, -0.0113525390625,...
[ 123996, 168793, 92049, 24293, 135679, 133, 30646, 360, 683, 4448, 1511, 4036, 3229, 92285, 41201, 739, 814, 18, 1179, 3742, 9433, 38937, 6460, 141423, 7722, 28636, 864, 10752, 26531, 211603, 174350, 108210, 51719, 19929, 31251, 204582, 75358, ...
[ 0.211181640625, 0.1192626953125, 0.06195068359375, 0.074951171875, 0.2061767578125, 0.1512451171875, 0.1588134765625, 0.0626220703125, 0.047760009765625, 0.16650390625, 0.1077880859375, 0.1942138671875, 0.06048583984375, 0.1552734375, 0.2274169921875, 0.1256103515625, 0.1815185546875...
embed
12182291_c0
12182291
fsharp
0
Title: Pattern Match in F# much slower than If else / switch in C#? Problem title: Pattern Match in F# much slower than If else / switch in C#? Tags: performance, pattern-matching, f%23, c%23 Problem: Pattern Match in F# much slower than If else / switch in C#? Possible Duplicate: F# seems slower than other languages… ...
Pattern Match in F# much slower than If else / switch in C#? Pattern Match in F# much slower than If else / switch in C#? performance pattern-matching f%23 c%23 Pattern Match IfelseEven MatchEven Array.Fold IEnumerable.Aggregate Ifelse PatternMatch.myMatch PatternMatch pool:int Pattern Match in F# much slower than If e...
[ -0.0289306640625, -0.01068115234375, 0.0032958984375, -0.01251220703125, -0.008056640625, -0.02783203125, -0.0230712890625, 0.015625, 0.01458740234375, -0.00112152099609375, 0.0211181640625, 0.005035400390625, 0.000957489013671875, -0.00787353515625, 0.0216064453125, 0.004852294921875,...
[ 9876, 22766, 67407, 23, 563, 4904, 5045, 72803, 56, 4263, 37076, 101089, 248, 313, 23718, 103510, 98753, 1238, 3742, 5557, 1353, 69253, 53, 919, 18345, 75536, 2606, 2886, 68722, 79520, 1176, 19361, 4288, 14858, 3034, 647, 70541, 77433, 8085...
[ 0.17578125, 0.1893310546875, 0.267333984375, 0.040863037109375, 0.1524658203125, 0.208984375, 0.06683349609375, 0.2080078125, 0.0992431640625, 0.1456298828125, 0.130859375, 0.1671142578125, 0.013519287109375, 0.019622802734375, 0.1357421875, 0.22021484375, 0.2027587890625, 0.080810...
embed
32135188_c1
32135188
fsharp
1
evaluation or reset the session in order to stop it. My theory is that it's because obs is running on the same thread as the execution environment. The same happens if I try to make a LiveChart.Point out of it: let lc = obs |> LiveChart.Point lc.ShowChart() If I send this to FSI, nothing happens (no chart is shown), a...
evaluation or reset the session in order to stop it. My theory is that it's because obs is running on the same thread as the execution environment. The same happens if I try to make a LiveChart.Point out of it: let lc = obs |> LiveChart.Point lc.ShowChart() If I send this to FSI, nothing happens (no chart is shown), a...
[ -0.0093994140625, 0.00823974609375, 0.00885009765625, -0.019287109375, -0.00173187255859375, -0.01385498046875, 0.020751953125, 0.0079345703125, -0.0059814453125, -0.0498046875, -0.007232666015625, -0.01446533203125, 0.00750732421875, -0.00872802734375, -0.0106201171875, 0.008361816406...
[ 219836, 707, 168398, 70, 56002, 47, 7279, 442, 154453, 6637, 995, 7, 51042, 98, 5701, 86997, 237, 71924, 65998, 96276, 9790, 9251, 84068, 18, 147534, 1810, 168660, 25379, 563, 9902, 33720, 157, 116287, 127887, 46389, 74729, 3545, 39642, 831...
[ 0.2410888671875, 0.0201263427734375, 0.177734375, 0.02899169921875, 0.1993408203125, 0.010711669921875, 0.16064453125, 0.07501220703125, 0.1102294921875, 0.01629638671875, 0.1767578125, 0.1209716796875, 0.077880859375, 0.050689697265625, 0.07281494140625, 0.196044921875, 0.0288238525...
embed
9225832_c0
9225832
fsharp
0
Title: How to make identifier parser stop on operators of OperationPrecedenceParser in FParsec? Problem title: How to make identifier parser stop on operators of OperationPrecedenceParser in FParsec? Tags: parsing, fparsec, f%23 Problem: How to make identifier parser stop on operators of OperationPrecedenceParser in FP...
How to make identifier parser stop on operators of OperationPrecedenceParser in FParsec? How to make identifier parser stop on operators of OperationPrecedenceParser in FParsec? parsing fparsec f%23 How OperationPrecedenceParser FParsec opp.AddOperator InfixOperator Associativity.Right BinaryOperation Arrow IdentifierO...
[ 0.003021240234375, -0.00701904296875, 0.0191650390625, 0.0185546875, -0.002899169921875, 0.01531982421875, 0.014892578125, -0.0003719329833984375, -0.007568359375, -0.041259765625, 0.005462646484375, -0.00165557861328125, 0.010498046875, -0.0205078125, 0.0068359375, 0.0034332275390625,...
[ 11249, 3249, 42485, 56, 366, 2189, 7279, 98, 39933, 102203, 19273, 37534, 28636, 563, 39797, 6620, 1238, 2500, 3949, 3742, 2343, 4028, 156823, 1290, 360, 55923, 159594, 22553, 54092, 15555, 189543, 39029, 12353, 174379, 2749, 102973, 29479, 1...
[ 0.026580810546875, 0.06396484375, 0.1943359375, 0.07794189453125, 0.1597900390625, 0.16845703125, 0.1854248046875, 0.042694091796875, 0.195556640625, 0.1572265625, 0.043609619140625, 0.0887451171875, 0.155517578125, 0.08599853515625, 0.15966796875, 0.0338134765625, 0.024261474609375,...
embed