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
2237631_c0
2237631
fsharp
0
Title: F# Code for Adventure Works Sample Problem title: F# Code for Adventure Works Sample Tags: f%23, functional-programming, adventureworks, sample Problem: F# Code for Adventure Works Sample it is very hard to find good samples for f# in the web. some samples show a simple web crawler for downloading stock data fro...
F# Code for Adventure Works Sample F# Code for Adventure Works Sample f%23 functional-programming adventureworks sample Adventure Works Sample F# Code for Adventure Works Sample it is very hard to find good samples for f# in the web. some samples show a simple web crawler for downloading stock data from yahoo or only c...
[ 0.0130615234375, 0.01513671875, -0.009033203125, 0.0225830078125, -0.00067901611328125, 0.00140380859375, 0.00116729736328125, 0.0035552978515625, 0.0028228759765625, -0.0240478515625, -0.0026397705078125, 0.0002460479736328125, -0.0128173828125, 0.0086669921875, 0.0091552734375, 0.002...
[ 563, 4904, 28864, 100, 121635, 27985, 7, 947, 33209, 1238, 3949, 3742, 123309, 28966, 156578, 18244, 121413, 83, 4552, 7941, 7413, 4127, 23, 1467, 7639, 8781, 235879, 7026, 31837, 2053, 43741, 18151, 167785, 25647, 157318, 2773, 8999, 27781, ...
[ 0.1650390625, 0.2186279296875, 0.202392578125, 0.108154296875, 0.2308349609375, 0.16552734375, 0.05743408203125, 0.1322021484375, 0.17333984375, 0.1490478515625, 0.048858642578125, 0.143310546875, 0.1796875, 0.1197509765625, 0.2235107421875, 0.17236328125, 0.2144775390625, 0.020721...
embed
31395923_c0
31395923
fsharp
0
Title: Type Providers - Could I generate a type at compilation-time that decorates all methods of a type somehow? Problem title: Type Providers - Could I generate a type at compilation-time that decorates all methods of a type somehow? Tags: f%23, type-providers, metaprogramming Problem: Type Providers - Could I genera...
Type Providers - Could I generate a type at compilation-time that decorates all methods of a type somehow? Type Providers - Could I generate a type at compilation-time that decorates all methods of a type somehow? f%23 type-providers metaprogramming Type Providers Could Type Providers - Could I generate a type at compi...
[ 0.00099945068359375, 0.0106201171875, -0.01300048828125, -0.002471923828125, -0.004791259765625, 0.02294921875, -0.00872802734375, 0.0164794921875, -0.00022125244140625, -0.0185546875, -0.0140380859375, 0.01611328125, 0.005218505859375, 0.0123291015625, -0.0009002685546875, -0.00579833...
[ 60457, 123089, 4295, 20, 191147, 87, 139392, 10644, 99, 98352, 6032, 122329, 90, 756, 150624, 209303, 3742, 93136, 14202, 23550, 28966, 12301, 6782, 130732, 31075, 201939, 46280, 214, 41, 821, 58627, 60525, 28987, 831, 28282, 765, 7086, 3095,...
[ 0.26220703125, 0.20654296875, 0.1251220703125, 0.023406982421875, 0.1378173828125, 0.040435791015625, 0.192138671875, 0.2705078125, 0.07110595703125, 0.1744384765625, 0.1376953125, 0.1817626953125, 0.046905517578125, 0.06689453125, 0.159912109375, 0.07196044921875, 0.05706787109375, ...
embed
41665240_c0
41665240
fsharp
0
Title: FParsec alternatives getting parser which parsed input Problem title: FParsec alternatives getting parser which parsed input Tags: f%23, fparsec Problem: FParsec alternatives getting parser which parsed input When using alternative parsers, is there an option to get which parser matched input. My input string ca...
FParsec alternatives getting parser which parsed input FParsec alternatives getting parser which parsed input f%23 fparsec FParsec firstPart_number secondPart_operator_symbol FParsec alternatives getting parser which parsed input When using alternative parsers, is there an option to get which parser matched input. My i...
[ 0.002471923828125, 0.01385498046875, -0.002593994140625, 0.0260009765625, -0.0169677734375, -0.0029449462890625, 0.00555419921875, 0.002349853515625, -0.0030670166015625, -0.0045166015625, 0.02001953125, 0.016357421875, 0.0059814453125, 0.0111083984375, 0.005401611328125, 0.00099945068...
[ 563, 28636, 39797, 30700, 20949, 366, 2189, 3129, 5281, 107730, 1238, 3742, 2500, 5117, 58229, 2606, 1297, 17932, 206469, 176726, 17368, 7, 1314, 35829, 47, 2046, 14858, 2646, 79315, 1884, 35064, 9384, 83, 11343, 14012, 2831, 184, 39933, 50...
[ 0.11181640625, 0.1595458984375, 0.1949462890625, 0.1890869140625, 0.07708740234375, 0.1756591796875, 0.2047119140625, 0.0784912109375, 0.0867919921875, 0.2181396484375, 0.057098388671875, 0.0626220703125, 0.09735107421875, 0.05792236328125, 0.188232421875, 0.0943603515625, 0.00491333...
embed
19385657_c0
19385657
fsharp
0
Title: Writing F# queries in LINQPad Problem title: Writing F# queries in LINQPad Tags: linq, c%23, f%23, linqpad Problem: Writing F# queries in LINQPad I'm trying to use F# to construct a query against a database, but I can't get even the simplest of queries to compile. I can construct a C# query like this: from c in ...
Writing F# queries in LINQPad Writing F# queries in LINQPad linq c%23 f%23 linqpad c Writing LINQPad Categories Type Writing F# queries in LINQPad I'm trying to use F# to construct a query against a database, but I can't get even the simplest of queries to compile. I can construct a C# query like this: Everything works...
[ 0.0172119140625, 0.0213623046875, -0.00153350830078125, 0.013671875, -0.01251220703125, 0.01318359375, -0.0155029296875, -0.001190185546875, 0.00750732421875, -0.03857421875, -0.008544921875, -0.0361328125, -0.00738525390625, 0.01318359375, -0.0113525390625, -0.00537109375, -0.001312...
[ 213185, 563, 4904, 41, 10484, 23, 46610, 2737, 113954, 96, 44982, 3742, 1238, 4299, 501, 106584, 60457, 31577, 4527, 64549, 1294, 26548, 63399, 831, 30362, 9969, 1340, 1884, 903, 171581, 43240, 5885, 5701, 25632, 18499, 32497, 57134, 6259, ...
[ 0.134765625, 0.13525390625, 0.218017578125, 0.1431884765625, 0.10565185546875, 0.046875, 0.1544189453125, 0.1395263671875, 0.20849609375, 0.042083740234375, 0.1617431640625, 0.04486083984375, 0.00823974609375, 0.1763916015625, 0.04248046875, 0.1298828125, 0.1390380859375, 0.0158386...
embed
1731623_c1
1731623
fsharp
1
DomProviderType) { IDictionary<string, string> providerOptions = new Dictionary<string, string>(GetProviderOptions(codeDomProviderType)); //Snip } It leads me to believe that the propertyOptions I've specified in my Web.config for the F# CodeDom are incorrect. However, if I remove them I receive the same error. <system...
DomProviderType) { IDictionary<string, string> providerOptions = new Dictionary<string, string>(GetProviderOptions(codeDomProviderType)); //Snip } It leads me to believe that the propertyOptions I've specified in my Web.config for the F# CodeDom are incorrect. However, if I remove them I receive the same error. <system...
[ 0.0020599365234375, 0.0157470703125, -0.0035247802734375, -0.0419921875, -0.005889892578125, -0.0211181640625, -0.00130462646484375, -0.018310546875, -0.00982666015625, -0.0218505859375, -0.02783203125, -0.0101318359375, 0.00958251953125, -0.0019073486328125, 0.010009765625, -0.0049438...
[ 9343, 177997, 62160, 196707, 11338, 14, 10763, 6635, 91693, 79315, 81450, 39029, 5256, 3525, 147638, 2740, 126, 40899, 106098, 16, 3142, 93, 254, 18822, 57266, 58735, 297, 4002, 153837, 563, 4904, 28864, 621, 214552, 4, 87388, 2856, 70, 570...
[ 0.21142578125, 0.152099609375, 0.1376953125, 0.2412109375, 0.047821044921875, 0.050048828125, 0.081787109375, 0.011444091796875, 0.09771728515625, 0.1068115234375, 0.2447509765625, 0.221923828125, 0.091796875, 0.05157470703125, 0.1806640625, 0.011566162109375, 0.003692626953125, 0....
embed
13985733_c0
13985733
fsharp
0
Title: FSharp and upcasting to Interfaces seems redundant Problem title: FSharp and upcasting to Interfaces seems redundant Tags: f%23, upcasting, type-inference Problem: FSharp and upcasting to Interfaces seems redundant I have the following code snippet using the reactive extensions: let value : 't = ... Observable.C...
FSharp and upcasting to Interfaces seems redundant FSharp and upcasting to Interfaces seems redundant f%23 upcasting type-inference FSharp Interfaces Observable.Create BehaviorSubject subject.Subscribe observable.Subscribe CompositeDisposable IDisposable FSharp and upcasting to Interfaces seems redundant I have the fol...
[ -0.0118408203125, 0.0133056640625, 0.00160980224609375, 0.0224609375, 0.006683349609375, -0.00982666015625, -0.0228271484375, 0.019287109375, 0.0035400390625, -0.0269775390625, -0.0047607421875, -0.01373291015625, 0.0279541015625, 0.005523681640625, -0.0015411376953125, 0.0055541992187...
[ 93774, 3467, 254, 136, 1257, 55741, 47, 220237, 7, 37202, 4842, 35405, 1238, 3742, 10644, 73, 69988, 87652, 2661, 63784, 98409, 75161, 28368, 96472, 34601, 22046, 3288, 77087, 44456, 7522, 2886, 11338, 164, 18151, 71232, 111938, 43240, 36069,...
[ 0.06982421875, 0.1961669921875, 0.16259765625, 0.021759033203125, 0.1116943359375, 0.21533203125, 0.0740966796875, 0.226806640625, 0.05291748046875, 0.04119873046875, 0.0338134765625, 0.1553955078125, 0.00128173828125, 0.07647705078125, 0.186279296875, 0.00848388671875, 0.15161132812...
embed
3197865_c0
3197865
fsharp
0
Title: Very simple F# form locks up on keyboard input Problem title: Very simple F# form locks up on keyboard input Tags: f%23, .net Problem: Very simple F# form locks up on keyboard input Using the ultra-simple code below, as soon as I press a key on my keyboard while the form is in focus, the form completely locks up...
Very simple F# form locks up on keyboard input Very simple F# form locks up on keyboard input f%23 .net Very Add System.Windows.Forms Form a.Visible Very simple F# form locks up on keyboard input Using the ultra-simple code below, as soon as I press a key on my keyboard while the form is in focus, the form completely l...
[ 0.0115966796875, 0.0002536773681640625, -0.00213623046875, -0.037353515625, -0.00537109375, -0.004425048828125, 0.021240234375, -0.00897216796875, -0.00176239013671875, -0.03466796875, 0.0167236328125, -0.0101318359375, -0.01373291015625, 0.0277099609375, -0.000316619873046875, 0.00219...
[ 99342, 8781, 563, 4904, 3173, 56776, 1257, 98, 149186, 107730, 1238, 3742, 1179, 29117, 12353, 43342, 102973, 15236, 6609, 55356, 19914, 191560, 18151, 35064, 33662, 24234, 22799, 32153, 64557, 7, 51042, 46132, 212398, 4734, 3917, 20903, 18158,...
[ 0.141357421875, 0.1817626953125, 0.127197265625, 0.224853515625, 0.224609375, 0.1611328125, 0.12451171875, 0.019073486328125, 0.2215576171875, 0.1817626953125, 0.03326416015625, 0.044769287109375, 0.06890869140625, 0.04345703125, 0.04840087890625, 0.0472412109375, 0.196533203125, 0...
embed
13895574_c0
13895574
fsharp
0
Title: Exception handling in point-free functions Problem title: Exception handling in point-free functions Tags: pointfree, f%23 Problem: Exception handling in point-free functions I'm stuck with a seemingly trivial problem: I'm unable to handle an exception in a function if it's written in a point-free manner. Consid...
Exception handling in point-free functions Exception handling in point-free functions pointfree f%23 System.DivideByZeroException Exception divide1 divide2 Exception handling in point-free functions I'm stuck with a seemingly trivial problem: I'm unable to handle an exception in a function if it's written in a point-fr...
[ -0.005218505859375, 0.021484375, -0.0028076171875, -0.0167236328125, 0.0029754638671875, -0.000194549560546875, 0.005584716796875, -0.016845703125, 0.005950927734375, -0.031494140625, -0.0024566650390625, 0.01141357421875, 0.00970458984375, 0.01324462890625, 0.004302978515625, 0.000724...
[ 5443, 63928, 45064, 6275, 32087, 32354, 23, 1238, 3742, 12353, 14055, 33193, 75358, 1511, 4036, 19279, 101637, 418, 304, 179933, 48903, 2967, 51, 2886, 34831, 142, 131527, 2174, 59121, 9, 144996, 6626, 15044, 5701, 12921, 52895, 959, 81887, ...
[ 0.1107177734375, 0.211181640625, 0.1678466796875, 0.12841796875, 0.1956787109375, 0.1776123046875, 0.0161590576171875, 0.0218048095703125, 0.1097412109375, 0.0968017578125, 0.068115234375, 0.1612548828125, 0.0523681640625, 0.0308380126953125, 0.07489013671875, 0.003021240234375, 0.18...
embed
32402154_c1
32402154
fsharp
1
Seq.map(fun co -> ProcessCompany co) |> Async.Parallel |> Async.RunSynchronously When I run the above code, I get error: System.ArgumentException: An item with the same key has already been added. The error is occurring as a result of another function call inside async { }: let grp = GetAffiliations company.CompanyId ...
Seq.map(fun co -> ProcessCompany co) |> Async.Parallel |> Async.RunSynchronously When I run the above code, I get error: System.ArgumentException: An item with the same key has already been added. The error is occurring as a result of another function call inside async { }: let grp = GetAffiliations company.CompanyId ...
[ -0.008544921875, -0.005645751953125, -0.00347900390625, -0.005615234375, -0.00177764892578125, -0.01611328125, 0.01708984375, 0.01446533203125, 0.017822265625, -0.02734375, -0.01300048828125, 0.0478515625, 0.01904296875, 0.0059814453125, 0.0162353515625, -0.0084228515625, -0.00008487...
[ 503, 864, 62346, 16498, 552, 123996, 108161, 4848, 12654, 238, 55292, 1229, 141, 163321, 217835, 127, 1900, 79850, 11675, 18151, 18499, 12353, 7614, 1234, 674, 19279, 63928, 893, 35735, 678, 5701, 22799, 1556, 21771, 2809, 49814, 74918, 16750...
[ 0.04974365234375, 0.1199951171875, 0.15625, 0.1448974609375, 0.1468505859375, 0.1405029296875, 0.099853515625, 0.0965576171875, 0.20849609375, 0.0836181640625, 0.033050537109375, 0.09521484375, 0.024993896484375, 0.07781982421875, 0.0802001953125, 0.05364990234375, 0.1229248046875, ...
embed
8394031_c0
8394031
fsharp
0
Title: Dead clown with functional data structure Problem title: Dead clown with functional data structure Tags: functional-programming, f%23 Problem: Dead clown with functional data structure here we go with the problem: I have a clown agency with many clowns going to different parties. Some go to the same party. And I...
Dead clown with functional data structure Dead clown with functional data structure functional-programming f%23 Dead Action Move Clown Party Dead clown with functional data structure here we go with the problem: I have a clown agency with many clowns going to different parties. Some go to the same party. And I keep a l...
[ 0.01361083984375, 0.00958251953125, -0.006500244140625, 0.037353515625, 0.001861572265625, 0.00823974609375, -0.0106201171875, 0.0086669921875, 0.01806640625, -0.0274658203125, -0.0098876953125, -0.003143310546875, 0.01397705078125, 0.0225830078125, 0.001739501953125, -0.00558471679687...
[ 51952, 20450, 7710, 678, 123309, 2053, 45646, 28966, 1238, 3949, 3742, 57945, 135828, 51053, 31016, 2967, 87, 765, 122921, 5941, 7730, 12921, 68036, 31384, 738, 5701, 19085, 13695, 12684, 2750, 1556, 74955, 3129, 10, 103494, 3871, 366, 184, ...
[ 0.215087890625, 0.17919921875, 0.177734375, 0.0771484375, 0.2171630859375, 0.1392822265625, 0.2139892578125, 0.135986328125, 0.045013427734375, 0.042510986328125, 0.1153564453125, 0.1676025390625, 0.1781005859375, 0.1409912109375, 0.18896484375, 0.142333984375, 0.0189361572265625, ...
embed
21515223_c0
21515223
fsharp
0
Title: Calculating a running mean of a generic type Problem title: Calculating a running mean of a generic type Tags: f%23, typeclass, inline Problem: Calculating a running mean of a generic type I'm trying to do something that would be easy if I could use type classes in F#. I want to be able to calculate a running av...
Calculating a running mean of a generic type Calculating a running mean of a generic type f%23 typeclass inline Calculating float32 Calculating a running mean of a generic type I'm trying to do something that would be easy if I could use type classes in F#. I want to be able to calculate a running average on an arbitra...
[ 0.000331878662109375, 0.01031494140625, 0.041015625, 0.0098876953125, 0.004913330078125, 0.00909423828125, -0.000614166259765625, 0.00946044921875, 0.01373291015625, -0.039794921875, 0.005401611328125, -0.0191650390625, 0.01470947265625, -0.02490234375, 0.0223388671875, -0.002059936523...
[ 212467, 26518, 51042, 29459, 189534, 10644, 10, 111, 1238, 3949, 3742, 67413, 23, 2256, 21917, 6460, 31577, 2806, 23468, 61112, 563, 4904, 3444, 74481, 83080, 61799, 54799, 61924, 66044, 146232, 42, 127664, 91853, 351, 81887, 2060, 55681, 695...
[ 0.16455078125, 0.0262451171875, 0.1741943359375, 0.2105712890625, 0.196533203125, 0.2008056640625, 0.02734375, 0.0374755859375, 0.08056640625, 0.031280517578125, 0.1417236328125, 0.1484375, 0.020599365234375, 0.08612060546875, 0.0999755859375, 0.164794921875, 0.038818359375, 0.0079...
embed
64739390_c0
64739390
fsharp
0
Title: How to bring complex Application Insights to a Farmer deployment? Problem title: How to bring complex Application Insights to a Farmer deployment? Tags: azure-rm-template, f%23, azure-application-insights, infrastructure-as-code Problem: How to bring complex Application Insights to a Farmer deployment? I got int...
How to bring complex Application Insights to a Farmer deployment? How to bring complex Application Insights to a Farmer deployment? azure-rm-template f%23 azure-application-insights infrastructure-as-code How Application Insights Farmer service_plan_name WebApp.Sku.B1 always_on How to bring complex Application Insights...
[ -0.002105712890625, 0.006744384765625, -0.0164794921875, -0.00014400482177734375, -0.01513671875, 0.0103759765625, 0.00531005859375, -0.004058837890625, 0.0108642578125, -0.021240234375, 0.0311279296875, -0.0072021484375, 0.016845703125, 0.00830078125, 0.00848388671875, 0.0081787109375...
[ 11249, 47, 19095, 27140, 104921, 211018, 7, 51869, 56, 8, 13158, 53, 295, 3408, 39, 2982, 92558, 1238, 3742, 101687, 5425, 22553, 150449, 162, 40899, 4516, 5868, 11627, 4002, 39179, 319, 571, 418, 11343, 191, 60892, 9790, 13452, 91995, 12...
[ 0.0841064453125, 0.04638671875, 0.1265869140625, 0.2083740234375, 0.2239990234375, 0.267578125, 0.1197509765625, 0.2216796875, 0.2015380859375, 0.06524658203125, 0.1363525390625, 0.03289794921875, 0.0816650390625, 0.1671142578125, 0.03668212890625, 0.105224609375, 0.10400390625, 0....
embed
3514059_c0
3514059
fsharp
0
Title: fsc.exe is very slow because it tries to access crl.microsoft.com Problem title: fsc.exe is very slow because it tries to access crl.microsoft.com Tags: f%23, network-programming Problem: fsc.exe is very slow because it tries to access crl.microsoft.com When I run F# compiler - fsc.exe - on our build server it t...
fsc.exe is very slow because it tries to access crl.microsoft.com fsc.exe is very slow because it tries to access crl.microsoft.com f%23 network-programming fsc.exe crl.microsoft.com fsc.exe is very slow because it tries to access crl.microsoft.com When I run F# compiler - fsc.exe - on our build server it takes ages (~...
[ -0.0022125244140625, 0.0035858154296875, -0.007476806640625, -0.0206298828125, -0.0135498046875, -0.018798828125, -0.007598876953125, 0.006256103515625, -0.014892578125, -0.033935546875, 0.02197265625, 0.01220703125, -0.0045166015625, 0.0174560546875, -0.003082275390625, 0.004028320312...
[ 1238, 10382, 5, 46480, 83, 4552, 72803, 1927, 17203, 8374, 141, 138410, 277, 3742, 33120, 28966, 11675, 563, 4904, 9969, 34759, 98, 2446, 45367, 10723, 442, 51776, 10, 4188, 2306, 1549, 39797, 47, 110, 107730, 102158, 6637, 38415, 90, 127...
[ 0.1431884765625, 0.2237548828125, 0.0350341796875, 0.2242431640625, 0.010498046875, 0.1268310546875, 0.25390625, 0.1256103515625, 0.12255859375, 0.1162109375, 0.1312255859375, 0.14208984375, 0.121337890625, 0.103759765625, 0.037628173828125, 0.051971435546875, 0.1326904296875, 0.10...
embed
60417993_c0
60417993
fsharp
0
Title: How to get click position from event in Avalonia.FuncUI Problem title: How to get click position from event in Avalonia.FuncUI Tags: avaloniaui, f%23 Problem: How to get click position from event in Avalonia.FuncUI I'm trying to figure out how I can access the pointer position of a mouse click from the event cli...
How to get click position from event in Avalonia.FuncUI How to get click position from event in Avalonia.FuncUI avaloniaui f%23 event How Avalonia.FuncUI State Point Msg Click p::state.coords Canvas.create Canvas.onPointerPressed event.GetPosition How to get click position from event in Avalonia.FuncUI I'm trying to fi...
[ -0.0177001953125, 0.004302978515625, 0.0289306640625, -0.0113525390625, -0.0228271484375, -0.0026702880859375, 0.0223388671875, -0.0006866455078125, -0.00099945068359375, -0.03857421875, 0.008056640625, -0.01611328125, 0.01104736328125, 0.0034027099609375, -0.006317138671875, 0.0223388...
[ 11249, 47, 2046, 18158, 19069, 1295, 19732, 23, 109236, 43265, 97249, 33457, 73881, 4515, 1238, 3949, 3742, 22836, 41097, 70802, 177, 21138, 61340, 6651, 4171, 4079, 191, 147534, 56, 94753, 724, 126, 7192, 172, 238, 26366, 17203, 6275, 1146...
[ 0.06170654296875, 0.047332763671875, 0.1148681640625, 0.25830078125, 0.2166748046875, 0.1243896484375, 0.1715087890625, 0.052459716796875, 0.154052734375, 0.2127685546875, 0.06610107421875, 0.1500244140625, 0.09613037109375, 0.1043701171875, 0.056182861328125, 0.015960693359375, 0.13...
embed
31152127_c0
31152127
fsharp
0
Title: reflection and pattern matching in F# Problem title: reflection and pattern matching in F# Tags: f%23 Problem: reflection and pattern matching in F# I am trying to create primitive values given a Type in F#. The code is as given below but it does not work. I would appreciate all the help and thanks in advance. o...
reflection and pattern matching in F# reflection and pattern matching in F# f%23 ApplicationException System Type int16 uint32 int64 uint64 float32 Error reflection and pattern matching in F# I am trying to create primitive values given a Type in F#. The code is as given below but it does not work. I would appreciate a...
[ -0.0050048828125, -0.00823974609375, 0.0018310546875, -0.004547119140625, -0.00445556640625, -0.0189208984375, -0.02734375, 0.0020904541015625, -0.015869140625, -0.006378173828125, 0.0247802734375, -0.0003719329833984375, -0.006988525390625, -0.0155029296875, 0.0086669921875, 0.0069274...
[ 44961, 1830, 136, 103510, 14858, 214, 23, 563, 4904, 1238, 3742, 104921, 63928, 12353, 60457, 18, 2485, 75, 4288, 6460, 13307, 21917, 212059, 31577, 28282, 128489, 13, 142424, 34475, 18151, 83, 237, 35064, 1284, 14602, 959, 4488, 77947, 756...
[ 0.266845703125, 0.13037109375, 0.12451171875, 0.218017578125, 0.208740234375, 0.0955810546875, 0.06365966796875, 0.1619873046875, 0.2188720703125, 0.0565185546875, 0.1182861328125, 0.1102294921875, 0.090576171875, 0.0709228515625, 0.1973876953125, 0.010162353515625, 0.1402587890625, ...
embed
65213538_c0
65213538
fsharp
0
Title: F# Async: equivalent of Boost asio&#x27;s strands Problem title: F# Async: equivalent of Boost asio&#x27;s strands Tags: f%23, concurrency, asynchronous Problem: F# Async: equivalent of Boost asio's strands Boost's asio library allows the serialisation of asynchronous code in the following way. Handlers to async...
F# Async: equivalent of Boost asio&#x27;s strands F# Async: equivalent of Boost asio&#x27;s strands f%23 concurrency asynchronous Async Boost F# Async: equivalent of Boost asio's strands Boost's asio library allows the serialisation of asynchronous code in the following way. Handlers to asynchronous functions such as t...
[ -0.015869140625, 0.006683349609375, -0.0032806396484375, -0.0130615234375, -0.021240234375, 0.00823974609375, 0.0028076171875, 0.00830078125, -0.00848388671875, -0.0240478515625, -0.002532958984375, 0.01611328125, 0.0150146484375, 0.01202392578125, 0.01025390625, 0.0146484375, 0.0008...
[ 563, 4904, 62, 12654, 238, 183234, 179519, 10, 9619, 3768, 32594, 1238, 3742, 108636, 982, 101966, 35773, 1294, 114864, 35686, 15032, 18151, 25632, 3917, 10639, 603, 47, 32354, 12301, 1295, 75973, 1543, 137272, 17780, 43701, 10002, 86997, 193...
[ 0.14306640625, 0.214111328125, 0.06988525390625, 0.24755859375, 0.13671875, 0.1312255859375, 0.220703125, 0.10791015625, 0.228271484375, 0.029754638671875, 0.19873046875, 0.060791015625, 0.034454345703125, 0.1082763671875, 0.057891845703125, 0.1810302734375, 0.1494140625, 0.0455017...
embed
21252033_c0
21252033
fsharp
0
Title: Excel Interop unexpectedly opens second Excel instance Problem title: Excel Interop unexpectedly opens second Excel instance Tags: excel-interop, excel, f%23, office-interop Problem: Excel Interop unexpectedly opens second Excel instance I am trying to wrap an Excel.ApplicationClass in an IDisposable interface, ...
Excel Interop unexpectedly opens second Excel instance Excel Interop unexpectedly opens second Excel instance excel-interop excel f%23 office-interop Excel Interop Excel.ApplicationClass Application this.excel IDisposable this.Dispose this.excel.Quit Marshal.ReleaseComObject Excel.Application Excel Interop unexpectedly...
[ 0.01068115234375, 0.006317138671875, -0.0118408203125, -0.0000820159912109375, -0.01806640625, 0.0140380859375, -0.030029296875, -0.006561279296875, 0.02099609375, -0.0179443359375, -0.011962890625, 0.0130615234375, 0.0184326171875, 0.0233154296875, 0.0296630859375, -0.017578125, 0.0...
[ 30326, 5337, 2146, 241957, 9803, 17932, 110527, 64152, 10433, 3742, 23179, 47677, 182867, 140803, 104921, 903, 3355, 8969, 164, 7522, 2886, 78381, 96010, 23342, 4200, 133, 75161, 31577, 137565, 11338, 101758, 3249, 191082, 20903, 7103, 127689, ...
[ 0.230712890625, 0.188720703125, 0.23193359375, 0.1729736328125, 0.15771484375, 0.203369140625, 0.2181396484375, 0.168701171875, 0.149169921875, 0.06329345703125, 0.1278076171875, 0.0841064453125, 0.1275634765625, 0.1905517578125, 0.1319580078125, 0.0689697265625, 0.05023193359375, ...
embed
46914839_c0
46914839
fsharp
0
Title: How to create a COM visible dll in F# Problem title: How to create a COM visible dll in F# Tags: f%23, excel, vba, com Problem: How to create a COM visible dll in F# My aim is to create a COM Visible Type that can be imported into VBA (Excel) and consumed there. The Excel Object Browser can see my class but not ...
How to create a COM visible dll in F# How to create a COM visible dll in F# f%23 excel vba com How COM DotNetLibrary Class1 this.DotNetMethod x:string Hello ComVisible DotNetMethod How to create a COM visible dll in F# My aim is to create a COM Visible Type that can be imported into VBA (Excel) and consumed there. The ...
[ 0.004669189453125, 0.005615234375, -0.00469970703125, 0.022705078125, 0.000789642333984375, 0.003936767578125, -0.015380859375, -0.02197265625, -0.005523681640625, -0.0038909912109375, -0.01129150390625, -0.004302978515625, 0.00830078125, 0.0101318359375, -0.0015411376953125, -0.019042...
[ 11249, 28282, 10, 31436, 75693, 81717, 23, 563, 4904, 1238, 3742, 64152, 81, 402, 375, 84929, 24447, 104820, 3701, 35014, 903, 8331, 18, 78572, 7352, 1022, 91693, 35378, 3288, 6609, 55356, 464, 582, 60457, 76242, 3934, 310, 8031, 184926, ...
[ 0.0634765625, 0.1739501953125, 0.0546875, 0.21875, 0.263916015625, 0.2156982421875, 0.034088134765625, 0.1240234375, 0.229736328125, 0.0682373046875, 0.1273193359375, 0.142333984375, 0.0207366943359375, 0.1080322265625, 0.1533203125, 0.155517578125, 0.1944580078125, 0.12890625, 0...
embed
37175827_c0
37175827
fsharp
0
Title: Launching WPF Window from F# interactive, keyboard input broken Problem title: Launching WPF Window from F# interactive, keyboard input broken Tags: f%23, wpf, fsi, c%23 Problem: Launching WPF Window from F# interactive, keyboard input broken A GUI was developed in WPF, and when launching it as a standalone appl...
Launching WPF Window from F# interactive, keyboard input broken Launching WPF Window from F# interactive, keyboard input broken f%23 wpf fsi c%23 F# Launching WPF Window ShowGui MainWindow Bench guiWindow.Show guiWindow.Activate Launching WPF Window from F# interactive, keyboard input broken A GUI was developed in WPF,...
[ -0.007080078125, -0.0113525390625, 0.017822265625, -0.010498046875, -0.000152587890625, -0.0205078125, 0.031494140625, -0.03271484375, -0.01263427734375, -0.00982666015625, -0.000911712646484375, -0.00653076171875, -0.003387451171875, 0.0089111328125, -0.000591278076171875, -0.01232910...
[ 171326, 214, 601, 41265, 176501, 1295, 563, 4904, 212398, 149186, 107730, 148431, 1238, 3742, 39557, 172, 17367, 22769, 14, 12321, 92049, 24293, 3419, 206, 17086, 168660, 164414, 195490, 126809, 23, 83184, 103723, 51684, 38415, 756, 27211, 2886...
[ 0.1595458984375, 0.0118408203125, 0.105224609375, 0.2490234375, 0.168212890625, 0.12158203125, 0.1328125, 0.2127685546875, 0.16796875, 0.206787109375, 0.1842041015625, 0.2059326171875, 0.047210693359375, 0.04736328125, 0.1444091796875, 0.1141357421875, 0.0753173828125, 0.1179199218...
embed
20800155_c0
20800155
fsharp
0
Title: Data XML provider loading SOA Mortality tables Problem title: Data XML provider loading SOA Mortality tables Tags: f%23-data, f%23, xml, type-providers Problem: Data XML provider loading SOA Mortality tables I cannot seem to load the mortality data form the xml files hosted on the SOA website at http://mort.soa....
Data XML provider loading SOA Mortality tables Data XML provider loading SOA Mortality tables f%23-data f%23 xml type-providers Data XML SOA Mortality FSharp.Data.1.1.10 net40 FSharp.Data.dll System.Xml.Linq.dll FSharp.Data XmlProvider mort.soa.org t1.xml mortab.Load mtab.Table.Values.Axis Data XML provider loading SOA...
[ 0.02490234375, 0.0299072265625, -0.000324249267578125, -0.01544189453125, -0.00112152099609375, 0.00286865234375, 0.0191650390625, 0.0162353515625, -0.00494384765625, -0.038330078125, 0.0247802734375, -0.0128173828125, -0.0113525390625, -0.00604248046875, 0.0203857421875, 0.03015136718...
[ 11809, 92537, 81450, 72367, 15969, 284, 5919, 18, 134393, 23180, 1238, 27495, 10135, 3742, 131492, 10644, 93136, 3467, 254, 137989, 83783, 963, 2043, 2839, 1181, 12353, 7237, 44982, 177997, 17904, 991, 11, 1478, 418, 2993, 9843, 15363, 618, ...
[ 0.087158203125, 0.241943359375, 0.2005615234375, 0.1953125, 0.169677734375, 0.152587890625, 0.112060546875, 0.1090087890625, 0.10107421875, 0.18798828125, 0.000946044921875, 0.037506103515625, 0.100830078125, 0.06243896484375, 0.216064453125, 0.217529296875, 0.1365966796875, 0.1271...
embed
21955872_c1
21955872
fsharp
1
canOp) = <@ fun (input:int) (output:Ref<int>) (block_aggregate:Ref<int>) (block_prefix_callback_op:Ref<int>) -> () @> let api scan_op = { Default = scan_op |> Default |> DefaultU.NoID Option1 = scan_op |> Option1 |> Option1U.NoID Option2 = scan_op |> Option2 |> Option2U.NoID } So when I make my api... let foo = Inclusi...
canOp) = <@ fun (input:int) (output:Ref<int>) (block_aggregate:Ref<int>) (block_prefix_callback_op:Ref<int>) -> () @> let api scan_op = { Default = scan_op |> Default |> DefaultU.NoID Option1 = scan_op |> Option1 |> Option1U.NoID Option2 = scan_op |> Option2 |> Option2U.NoID } So when I make my api... let foo = Inclusi...
[ -0.013916015625, 0.0074462890625, 0.02099609375, -0.001953125, -0.000843048095703125, 0.0017242431640625, -0.00787353515625, -0.0137939453125, -0.00121307373046875, -0.017578125, -0.0003452301025390625, 0.016357421875, -0.0002269744873046875, -0.004974365234375, 0.00390625, 0.028320312...
[ 831, 39029, 981, 7477, 4288, 6056, 190015, 2740, 81409, 197564, 4692, 55923, 85763, 12620, 2146, 2633, 31470, 44954, 262, 1021, 7136, 1062, 5021, 7146, 86769, 418, 2203, 304, 3249, 5775, 31, 196939, 294, 316, 40897, 4398, 24057, 757, 3444, ...
[ 0.1875, 0.270263671875, 0.034423828125, 0.171142578125, 0.1109619140625, 0.06182861328125, 0.1702880859375, 0.000274658203125, 0.1416015625, 0.1517333984375, 0.0091552734375, 0.09796142578125, 0.056610107421875, 0.1395263671875, 0.23046875, 0.046356201171875, 0.1719970703125, 0.161...
embed
41354037_c0
41354037
fsharp
0
Title: F# how to specify type restriction in recursive discriminated unions Problem title: F# how to specify type restriction in recursive discriminated unions Tags: f%23, f%23-3.0, restriction Problem: F# how to specify type restriction in recursive discriminated unions I am trying to define my grammar as a discrimina...
F# how to specify type restriction in recursive discriminated unions F# how to specify type restriction in recursive discriminated unions f%23 f%23-3.0 restriction Add Mul MyExpression Integer Date F# how to specify type restriction in recursive discriminated unions I am trying to define my grammar as a discriminated u...
[ -0.0301513671875, -0.006866455078125, 0.000553131103515625, 0.0294189453125, -0.0068359375, 0.007598876953125, -0.010009765625, 0.01385498046875, -0.0098876953125, -0.0281982421875, 0.0211181640625, -0.013427734375, 0.018310546875, -0.0003509521484375, 0.007171630859375, 0.006134033203...
[ 563, 4904, 3642, 40140, 18929, 10644, 185190, 195625, 5844, 55970, 3674, 69941, 1238, 3742, 27495, 132265, 29117, 21442, 2646, 178752, 1830, 44401, 25512, 23, 61924, 122092, 147, 6626, 7722, 52895, 18, 5622, 6032, 39933, 136, 43240, 15190, 13...
[ 0.06689453125, 0.16650390625, 0.008514404296875, 0.1639404296875, 0.0877685546875, 0.2054443359375, 0.2578125, 0.212646484375, 0.0980224609375, 0.1925048828125, 0.050750732421875, 0.1845703125, 0.041748046875, 0.09259033203125, 0.0318603515625, 0.12744140625, 0.109375, 0.2229003906...
embed
24857008_c0
24857008
fsharp
0
Title: What&#x27;s wrong with the following FsCheck test Problem title: What&#x27;s wrong with the following FsCheck test Tags: f%23, fscheck Problem: What's wrong with the following FsCheck test It's probably something very simple, but I'm new to FsCheck and not sure why the below raises the error it does ("Geneflect:...
What&#x27;s wrong with the following FsCheck test What&#x27;s wrong with the following FsCheck test f%23 fscheck What FsCheck System.Numerics NumericGenerator Generating BigIntegers BigInt Arbitrary System.Numerics.BigInteger x.Generator Arb.generate Gen.map BigInteger Property Simple Arb.register What's wrong with the...
[ -0.0213623046875, 0.00701904296875, -0.0294189453125, -0.004302978515625, -0.0172119140625, 0.0093994140625, 0.00311279296875, -0.0302734375, 0.006011962890625, -0.0076904296875, -0.00128173828125, 0.0224609375, -0.0076904296875, 0.011474609375, -0.0030517578125, 0.005126953125, -0.0...
[ 4865, 3768, 44691, 678, 25632, 563, 7, 202567, 3034, 70, 1238, 3742, 78292, 12353, 1991, 28021, 93511, 105376, 56, 4597, 155370, 14195, 67, 26255, 4153, 18, 242522, 1294, 5, 129933, 1022, 1172, 275, 48281, 15937, 62346, 1505, 206984, 60552,...
[ 0.04376220703125, 0.0673828125, 0.176025390625, 0.0802001953125, 0.1531982421875, 0.148193359375, 0.1180419921875, 0.28076171875, 0.19921875, 0.000701904296875, 0.11328125, 0.049560546875, 0.265869140625, 0.123046875, 0.083984375, 0.083740234375, 0.062744140625, 0.08294677734375, ...
embed
26974042_c0
26974042
fsharp
0
Title: F# match the beginning of an array Problem title: F# match the beginning of an array Tags: pattern-matching, f%23, f%23-3.0, arrays Problem: F# match the beginning of an array I have a Byte[] buffer that may contain one or multiple data frames, I need to read the first bytes to know how long the actual frame is....
F# match the beginning of an array F# match the beginning of an array pattern-matching f%23 f%23-3.0 arrays System.Exception Byte buffer:byte head1 head2 head3 F# match the beginning of an array I have a Byte[] buffer that may contain one or multiple data frames, I need to read the first bytes to know how long the actu...
[ -0.0002307891845703125, 0.015869140625, -0.0135498046875, 0.01080322265625, -0.01507568359375, -0.0234375, 0.0052490234375, 0.0291748046875, 0.0091552734375, -0.010986328125, 0.01202392578125, 0.01055908203125, -0.003875732421875, -0.01318359375, 0.00494384765625, -0.0308837890625, 0...
[ 563, 4904, 14858, 86595, 111, 10298, 53, 103510, 98753, 1238, 3742, 27495, 132265, 4778, 12353, 63928, 3311, 67, 373, 18234, 61028, 10336, 304, 363, 1543, 70541, 48716, 2053, 2674, 3871, 12301, 5117, 390, 1636, 3714, 3642, 4989, 8561, 12378...
[ 0.129150390625, 0.197509765625, 0.225341796875, 0.1724853515625, 0.05780029296875, 0.1495361328125, 0.1163330078125, 0.1817626953125, 0.2005615234375, 0.07080078125, 0.07196044921875, 0.0750732421875, 0.1280517578125, 0.0777587890625, 0.0887451171875, 0.06890869140625, 0.083984375, ...
embed
1888767_c0
1888767
fsharp
0
Title: Foundations of F# example code does not compile, why? Problem title: Foundations of F# example code does not compile, why? Tags: runtime-error, f%23 Problem: Foundations of F# example code does not compile, why? I am reading the Foundations of F# by Robert pickering. When I try to run the first example in the bo...
Foundations of F# example code does not compile, why? Foundations of F# example code does not compile, why? runtime-error f%23 Foundations Hello World Foundations of F# example code does not compile, why? I am reading the Foundations of F# by Robert pickering. When I try to run the first example in the book (below) I a...
[ -0.0086669921875, -0.00080108642578125, 0.007110595703125, 0.017333984375, -0.0155029296875, 0.0211181640625, -0.000732421875, 0.000537872314453125, 0.00250244140625, 0.0235595703125, 0.01019287109375, -0.0281982421875, -0.00104522705078125, 0.013916015625, 0.00897216796875, -0.0036163...
[ 32807, 7, 111, 563, 4904, 27781, 18151, 14602, 959, 9969, 1340, 15400, 11675, 6032, 188800, 1238, 3949, 3742, 35378, 6661, 16454, 12452, 39580, 4209, 9790, 5117, 12877, 17336, 18499, 32354, 28412, 14256, 2886, 366, 9384, 79315, 135261, 214, ...
[ 0.2489013671875, 0.072021484375, 0.09808349609375, 0.1363525390625, 0.24169921875, 0.2235107421875, 0.1781005859375, 0.06048583984375, 0.1290283203125, 0.161376953125, 0.171142578125, 0.0802001953125, 0.0809326171875, 0.1065673828125, 0.145263671875, 0.0804443359375, 0.0078125, 0.0...
embed
11473756_c0
11473756
fsharp
0
Title: Getting started with basic transportation problems like Wolf, Cabbage, Goat with either C# or F# Problem title: Getting started with basic transportation problems like Wolf, Cabbage, Goat with either C# or F# Tags: f%23, river-crossing-puzzle Problem: Getting started with basic transportation problems like Wolf,...
Getting started with basic transportation problems like Wolf, Cabbage, Goat with either C# or F# Getting started with basic transportation problems like Wolf, Cabbage, Goat with either C# or F# f%23 river-crossing-puzzle Getting Wolf Cabbage Goat Getting started with basic transportation problems like Wolf, Cabbage, Go...
[ -0.00445556640625, 0.00347900390625, -0.01611328125, 0.0185546875, -0.01318359375, -0.01214599609375, -0.0028076171875, -0.004852294921875, -0.003753662109375, -0.0186767578125, 0.0130615234375, -0.0067138671875, -0.0234375, 0.0220947265625, -0.00286865234375, 0.00836181640625, -0.00...
[ 210732, 26859, 678, 62822, 6181, 2320, 44402, 45492, 30438, 402, 429, 2016, 257, 40101, 313, 4904, 563, 4, 1238, 3949, 3742, 96113, 95665, 214, 1766, 13894, 1884, 707, 13648, 4552, 9655, 42009, 1663, 3444, 30698, 3642, 33022, 51347, 47, 1...
[ 0.06951904296875, 0.132568359375, 0.07861328125, 0.1224365234375, 0.21337890625, 0.0693359375, 0.162353515625, 0.219970703125, 0.1461181640625, 0.16064453125, 0.135498046875, 0.161376953125, 0.1334228515625, 0.0209197998046875, 0.06805419921875, 0.201904296875, 0.1199951171875, 0.0...
embed
70290534_c0
70290534
fsharp
0
Title: How can I turn off escaping while converting a byte array to string? Problem title: How can I turn off escaping while converting a byte array to string? Tags: utf-8, f%23, encoding Problem: How can I turn off escaping while converting a byte array to string? This porblem already surfaced many times: Examples: UT...
How can I turn off escaping while converting a byte array to string? How can I turn off escaping while converting a byte array to string? utf-8 f%23 encoding How Encoding.UTF8.GetString current.json DatabaseName Tables DatabaseSize site_traffic TableName dev_l1x_be FileCount TableSize test_database Stream MemoryStream ...
[ 0.00153350830078125, 0.0216064453125, 0.0113525390625, 0.004913330078125, -0.023193359375, -0.0157470703125, -0.004913330078125, 0.008544921875, -0.01361083984375, 0.05322265625, 0.00860595703125, 0.006622314453125, -0.00970458984375, 0.019775390625, -0.012939453125, -0.0120849609375, ...
[ 11249, 831, 15504, 5773, 38940, 10366, 12960, 96760, 214, 390, 67, 10298, 53, 47, 79315, 486, 420, 17376, 3949, 3742, 22, 587, 357, 6238, 17632, 919, 1019, 724, 126, 71713, 43581, 170, 1681, 187781, 163612, 112997, 127167, 1764, 118177, 3...
[ 0.04364013671875, 0.046112060546875, 0.16357421875, 0.22216796875, 0.1995849609375, 0.1531982421875, 0.034881591796875, 0.203125, 0.0106201171875, 0.09228515625, 0.06793212890625, 0.1444091796875, 0.0692138671875, 0.107177734375, 0.2335205078125, 0.011993408203125, 0.05731201171875, ...
embed
23844016_c0
23844016
fsharp
0
Title: Remove rows that are near duplicate of previous row in Deedle dataframe Problem title: Remove rows that are near duplicate of previous row in Deedle dataframe Tags: dataframe, f%23, f%23-data, deedle Problem: Remove rows that are near duplicate of previous row in Deedle dataframe I have a Deedle Data frame that ...
Remove rows that are near duplicate of previous row in Deedle dataframe Remove rows that are near duplicate of previous row in Deedle dataframe dataframe f%23 f%23-data deedle Remove Deedle Frame Date size1 size2 Frame.filterRowValues Remove rows that are near duplicate of previous row in Deedle dataframe I have a Deed...
[ 0.005462646484375, 0.04052734375, 0.0032958984375, 0.0017547607421875, -0.007720947265625, -0.021728515625, 0.0166015625, 0.00616455078125, 0.006744384765625, -0.00017833709716796875, -0.02001953125, 0.020751953125, -0.00714111328125, -0.0169677734375, 0.0103759765625, 0.0185546875, ...
[ 181139, 15555, 43573, 171763, 67, 96362, 262, 297, 133, 2053, 160328, 1238, 3742, 27495, 10135, 8, 42557, 25512, 13267, 304, 120337, 12724, 42272, 621, 111, 11809, 123789, 33342, 1884, 87388, 7, 5701, 142424, 15044, 418, 237, 74189, 18151, ...
[ 0.16552734375, 0.2152099609375, 0.1827392578125, 0.2017822265625, 0.0955810546875, 0.0762939453125, 0.1231689453125, 0.15966796875, 0.1796875, 0.0811767578125, 0.1717529296875, 0.00506591796875, 0.044921875, 0.0260772705078125, 0.0328369140625, 0.070068359375, 0.0947265625, 0.07843...
embed
32225879_c0
32225879
fsharp
0
Title: Enum DateOfWeek from .net to F# pattern match Problem title: Enum DateOfWeek from .net to F# pattern match Tags: pattern-matching, f%23, .net Problem: Enum DateOfWeek from .net to F# pattern match I get a warning for this function : let dayofW' (d:System.DateTime) = match d.DayOfWeek with | DayOfWeek.Sunday -> 0...
Enum DateOfWeek from .net to F# pattern match Enum DateOfWeek from .net to F# pattern match pattern-matching f%23 .net net Enum DateOfWeek d:System.DateTime d.DayOfWeek DayOfWeek.Sunday DayOfWeek.Monday DayOfWeek.Tuesday DayOfWeek.Wednesday DayOfWeek.Thursday DayOfWeek.Friday DayOfWeek.Saturday Enum DateOfWeek from .ne...
[ -0.016845703125, -0.0181884765625, 0.0191650390625, -0.0062255859375, -0.0022430419921875, 0.006134033203125, -0.0208740234375, 0.002899169921875, -0.01544189453125, -0.000568389892578125, 0.006866455078125, 0.025390625, 0.005767822265625, 0.007110595703125, 0.014404296875, -0.00570678...
[ 357, 316, 25512, 132887, 12137, 343, 1295, 5, 1179, 47, 563, 4904, 103510, 14858, 98753, 1238, 3742, 2043, 104, 84293, 86291, 70059, 97141, 10013, 66279, 46674, 12824, 33771, 16989, 1631, 592, 903, 32354, 28219, 765, 35142, 959, 14614, 7413...
[ 0.15869140625, 0.223876953125, 0.132568359375, 0.2080078125, 0.1278076171875, 0.107666015625, 0.076171875, 0.013336181640625, 0.169921875, 0.078857421875, 0.123291015625, 0.1832275390625, 0.2342529296875, 0.14794921875, 0.13720703125, 0.06646728515625, 0.111083984375, 0.12451171875...
embed
817958_c0
817958
fsharp
0
Title: When does a mutable state value freed from heap? Problem title: When does a mutable state value freed from heap? Tags: object-lifetime, memory, mutable, f%23, heap-memory Problem: When does a mutable state value freed from heap? On F# WikiBook under Encapsulating Mutable State section, there is a following code ...
When does a mutable state value freed from heap? When does a mutable state value freed from heap? object-lifetime memory mutable f%23 heap-memory heap When When does a mutable state value freed from heap? On F# WikiBook under Encapsulating Mutable State section, there is a following code snippet. At first, it seemed ea...
[ 0.0076904296875, 0.0035858154296875, 0.005462646484375, 0.00933837890625, -0.000644683837890625, 0.021484375, 0.00750732421875, 0.033935546875, 0.01287841796875, 0.015869140625, 0.0029754638671875, 0.009033203125, 0.03564453125, 0.0250244140625, 0.037353515625, -0.00537109375, 0.0117...
[ 14847, 842, 22819, 11341, 34292, 4092, 71, 1295, 764, 2631, 36746, 24804, 6032, 98323, 1238, 3742, 109005, 14602, 563, 4904, 37975, 15644, 77593, 2758, 22836, 18151, 105416, 158661, 11907, 23, 23150, 23253, 28219, 3229, 7464, 15005, 96362, 81...
[ 0.09326171875, 0.1463623046875, 0.1922607421875, 0.15087890625, 0.1815185546875, 0.1724853515625, 0.10711669921875, 0.157958984375, 0.160400390625, 0.161865234375, 0.1685791015625, 0.080810546875, 0.0804443359375, 0.1514892578125, 0.03851318359375, 0.1004638671875, 0.0662841796875, ...
embed
7571195_c1
7571195
fsharp
1
if (this.ProductIds.Count > value.ProductIds.Count) return false; var intersect = this.ProductIds.Intersect(value.ProductIds); return intersect.Count() == this.ProductIds.Count; } 2) next it attempts to traverse all selection sequences, respecting the above, after each selection the an addition path node is addition t...
if (this.ProductIds.Count > value.ProductIds.Count) return false; var intersect = this.ProductIds.Intersect(value.ProductIds); return intersect.Count() == this.ProductIds.Count; } 2) next it attempts to traverse all selection sequences, respecting the above, after each selection the an addition path node is addition t...
[ -0.0103759765625, 0.01129150390625, -0.005615234375, 0.021240234375, -0.0155029296875, -0.00927734375, -0.03369140625, -0.0115966796875, 0.02587890625, 0.01055908203125, -0.0098876953125, 0.035888671875, -0.00640869140625, -0.00531005859375, -0.01312255859375, 0.007415771484375, 0.00...
[ 2174, 100231, 10752, 77193, 568, 6468, 108210, 977, 34292, 30646, 98320, 285, 1940, 7, 24762, 2203, 903, 5, 44851, 27494, 69112, 74, 4958, 11737, 442, 81887, 37317, 756, 132216, 40, 26513, 15072, 36917, 7103, 12638, 66044, 60875, 110, 112, ...
[ 0.0709228515625, 0.1656494140625, 0.134521484375, 0.177490234375, 0.1280517578125, 0.13818359375, 0.2032470703125, 0.054779052734375, 0.19921875, 0.1009521484375, 0.16748046875, 0.09869384765625, 0.1920166015625, 0.1815185546875, 0.170166015625, 0.0142822265625, 0.15869140625, 0.01...
embed
17793417_c0
17793417
fsharp
0
Title: Is there an F# equivalent to Scala&#x27;s Promise? Problem title: Is there an F# equivalent to Scala&#x27;s Promise? Tags: scala, f%23, promise Problem: Is there an F# equivalent to Scala's Promise? Is there something like Scala's Promise in F#? While futures are defined as a type of read-only placeholder object...
Is there an F# equivalent to Scala&#x27;s Promise? Is there an F# equivalent to Scala&#x27;s Promise? scala f%23 promise Scala Promise Is there an F# equivalent to Scala's Promise? Is there something like Scala's Promise in F#? The Async stuff covers part of this, but if you've got code that works outside the Async env...
[ 0.0135498046875, 0.0260009765625, -0.000934600830078125, -0.015869140625, -0.003997802734375, -0.0079345703125, 0.0216064453125, -0.01214599609375, -0.0033721923828125, 0.010009765625, -0.0162353515625, 0.000568389892578125, 0.007293701171875, -0.0020751953125, 0.01708984375, -0.009155...
[ 2685, 563, 4904, 183234, 47, 152653, 11, 3768, 1250, 5453, 142, 146232, 1238, 3742, 103036, 2071, 7, 9844, 1884, 25, 23, 62, 12654, 238, 41884, 29256, 2831, 18151, 43240, 50782, 65998, 3535, 53, 55516, 54, 28484, 111481, 86997, 93002, 337...
[ 0.04461669921875, 0.128173828125, 0.218017578125, 0.186279296875, 0.028228759765625, 0.24072265625, 0.1824951171875, 0.05450439453125, 0.2027587890625, 0.23974609375, 0.04498291015625, 0.2227783203125, 0.08154296875, 0.050262451171875, 0.2203369140625, 0.001068115234375, 0.1140136718...
embed
44057709_c0
44057709
fsharp
0
Title: F# How to catch all exceptions Problem title: F# How to catch all exceptions Tags: .net, f%23, pattern-matching, try-with, wildcard Problem: F# How to catch all exceptions I know how to catch specific exceptions as in the following example: let test_zip_archive candidate_zip_archive = let rc = try ZipFile.Open(c...
F# How to catch all exceptions F# How to catch all exceptions .net f%23 pattern-matching try-with wildcard System.IO.InvalidDataException System.IO.FileNotFoundException System.NotSupportedException How test_zip_archive candidate_zip_archive ZipFile.Open candidate_zip_archive.ToString ZipArchiveMode.Read zip_file_ok no...
[ 0.003570556640625, 0.01031494140625, -0.0201416015625, 0.00090789794921875, 0.0091552734375, -0.0115966796875, -0.00592041015625, 0.004791259765625, -0.003082275390625, 0.0113525390625, 0.0179443359375, -0.01336669921875, 0.007171630859375, 0.00921630859375, 0.019287109375, 0.006500244...
[ 563, 4904, 11249, 47, 105556, 756, 131527, 7, 1179, 1238, 3742, 103510, 98753, 9790, 76228, 56409, 38931, 12353, 17780, 7013, 19279, 63928, 174350, 122116, 27591, 7030, 2037, 6982, 3034, 50836, 147488, 25469, 162150, 103264, 71713, 219548, 9083...
[ 0.07781982421875, 0.1575927734375, 0.0411376953125, 0.056243896484375, 0.20751953125, 0.1644287109375, 0.2403564453125, 0.00811767578125, 0.1141357421875, 0.022064208984375, 0.1077880859375, 0.1488037109375, 0.111572265625, 0.09326171875, 0.1221923828125, 0.10089111328125, 0.17834472...
embed
34155628_c1
34155628
fsharp
1
System "consoleReaderActor" (actorOf2 (Actors.consoleReaderActor validationActor)) You can see that actors reference each other in chain: consoleReaderActor references validationActor and validationActor references consoleWriterActor. But what if I want consoleReaderActor reference both validationActor and consoleWrite...
System "consoleReaderActor" (actorOf2 (Actors.consoleReaderActor validationActor)) You can see that actors reference each other in chain: consoleReaderActor references validationActor and validationActor references consoleWriterActor. But what if I want consoleReaderActor reference both validationActor and consoleWrite...
[ -0.00592041015625, 0.03515625, 0.01165771484375, 0.009033203125, 0.01019287109375, -0.01123046875, 0.00592041015625, -0.0162353515625, -0.004974365234375, -0.01519775390625, 0.0125732421875, -0.0030670166015625, 0.031494140625, 0.01361083984375, 0.0191650390625, 0.0027313232421875, 0...
[ 12353, 2271, 40777, 31345, 56, 284, 18770, 11, 132887, 304, 39450, 22230, 44622, 831, 1957, 39329, 7, 91067, 12638, 3789, 121293, 130250, 1363, 1456, 2783, 3444, 15044, 136, 7722, 32354, 53000, 182417, 62, 5515, 24447, 49935, 27034, 919, 49...
[ 0.1553955078125, 0.03924560546875, 0.159423828125, 0.2218017578125, 0.10601806640625, 0.12060546875, 0.2138671875, 0.0936279296875, 0.266357421875, 0.118896484375, 0.0667724609375, 0.131103515625, 0.20654296875, 0.007598876953125, 0.06500244140625, 0.281494140625, 0.049713134765625, ...
embed
5964826_c0
5964826
fsharp
0
Title: How to optimize statistic counting sequence and why it works so slow Problem title: How to optimize statistic counting sequence and why it works so slow Tags: sequence, optimization, linq-to-sql, f%23 Problem: How to optimize statistic counting sequence and why it works so slow intro : I spent whole day looking ...
How to optimize statistic counting sequence and why it works so slow How to optimize statistic counting sequence and why it works so slow sequence optimization linq-to-sql f%23 How X.CountStatistics linq.TrueIncidents PSeq.groupBy v.Name PSeq.map PSeq.length Array.ofSeq How to optimize statistic counting sequence and w...
[ 0.01220703125, 0.01116943359375, 0.0040283203125, -0.003173828125, -0.01300048828125, -0.0142822265625, 0.0003719329833984375, -0.01025390625, 0.00384521484375, -0.044189453125, -0.0034332275390625, 0.03173828125, 0.036865234375, 0.025146484375, 0.010009765625, -0.0208740234375, -0.0...
[ 11249, 47, 15572, 20650, 80835, 54529, 214, 40, 944, 3956, 15400, 43240, 221, 72803, 87235, 96, 44982, 188, 99247, 3742, 1193, 5, 108210, 135206, 48242, 882, 36079, 7940, 13, 864, 51588, 75358, 81, 163612, 62346, 23986, 69253, 4390, 4233, ...
[ 0.059051513671875, 0.0216522216796875, 0.169189453125, 0.08740234375, 0.25439453125, 0.1724853515625, 0.08392333984375, 0.05694580078125, 0.140869140625, 0.061309814453125, 0.0980224609375, 0.09478759765625, 0.09820556640625, 0.214111328125, 0.1658935546875, 0.04888916015625, 0.17736...
embed
28171840_c0
28171840
fsharp
0
Title: How to destructure a constructor argument? Problem title: How to destructure a constructor argument? Tags: f%23, pattern-matching Problem: How to destructure a constructor argument? In F# I can use pattern matching in a variety of places within the syntax. For example: // Given this type... type SingleCaseUnion ...
How to destructure a constructor argument? How to destructure a constructor argument? f%23 pattern-matching How Given SingleCaseUnion DestructureInMethod t.M DestructureInCtor FS0010 Unexpected Expected How to destructure a constructor argument? In F# I can use pattern matching in a variety of places within the syntax....
[ 0.001129150390625, 0.0118408203125, -0.014404296875, 0.0120849609375, 0.00927734375, 0.0064697265625, -0.0118408203125, -0.0013885498046875, -0.00156402587890625, -0.0189208984375, 0.0250244140625, -0.0196533203125, 0.0123291015625, 0.016845703125, -0.006103515625, -0.0164794921875, ...
[ 11249, 47, 8, 137656, 64549, 748, 10750, 1238, 3949, 3742, 103510, 98753, 214, 77878, 43609, 441, 6991, 147547, 262, 4153, 78572, 7352, 594, 1290, 93774, 7049, 963, 10, 563, 4904, 831, 4527, 14858, 96551, 44677, 28032, 6002, 86531, 4488, ...
[ 0.07147216796875, 0.06158447265625, 0.193603515625, 0.285400390625, 0.192138671875, 0.153076171875, 0.222412109375, 0.07110595703125, 0.019866943359375, 0.1348876953125, 0.22119140625, 0.214599609375, 0.10552978515625, 0.0194091796875, 0.05865478515625, 0.060699462890625, 0.027313232...
embed
26937533_c0
26937533
fsharp
0
Title: F# How to have a value&#x27;s type determined by a match statement? Problem title: F# How to have a value&#x27;s type determined by a match statement? Tags: f%23 Problem: F# How to have a value's type determined by a match statement? Here is my problem: let foo = match bar with | barConfig1 -> configType1(device...
F# How to have a value&#x27;s type determined by a match statement? F# How to have a value&#x27;s type determined by a match statement? f%23 How barConfig1 configType1 devices:DeviceEntities DeviceStartIndex barConfig2 configType2 barConfig3 configType3 barConfig4 configType4 F# How to have a value's type determined by...
[ 0.001495361328125, -0.01373291015625, -0.0247802734375, -0.0003604888916015625, -0.01116943359375, -0.034423828125, -0.0269775390625, 0.007598876953125, 0.0079345703125, 0.00848388671875, 0.00433349609375, -0.0157470703125, -0.0091552734375, -0.025634765625, 0.0128173828125, -0.0213623...
[ 563, 4904, 11249, 47, 765, 34292, 3768, 7, 10644, 83324, 71, 390, 14858, 63805, 1238, 3742, 1909, 11935, 83671, 418, 153837, 196707, 128779, 20375, 174842, 126597, 39659, 304, 363, 617, 10, 2967, 1884, 111, 5775, 31, 1284, 11343, 5423, 51...
[ 0.0694580078125, 0.1229248046875, 0.06524658203125, 0.043548583984375, 0.0902099609375, 0.212890625, 0.060821533203125, 0.00836181640625, 0.2379150390625, 0.156005859375, 0.044891357421875, 0.053009033203125, 0.2188720703125, 0.2071533203125, 0.00457763671875, 0.01446533203125, 0.125...
embed
31060551_c0
31060551
fsharp
0
Title: How to get ToDictionary to work in F#? Problem title: How to get ToDictionary to work in F#? Tags: c%23, linq, f%23 Problem: How to get ToDictionary to work in F#? I have this C# example, which will create a dictionary of odd and even numbers from an array of integers: int[] values = new int[] { 1, 2, 3, 5, 7 };...
How to get ToDictionary to work in F#? How to get ToDictionary to work in F#? c%23 linq f%23 How ToDictionary Dictionary values.ToDictionary Odd Even Display KeyValuePair Console.WriteLine d.Key d.Value How to get ToDictionary to work in F#? I have this C# example, which will create a dictionary of odd and even numbers...
[ -0.0126953125, 0.01312255859375, -0.011474609375, -0.032958984375, -0.01458740234375, 0.005767822265625, 0.00860595703125, 0.00130462646484375, 0.01318359375, 0.00787353515625, 0.01708984375, 0.019775390625, 0.001800537109375, 0.018798828125, 0.01531982421875, -0.004852294921875, 0.0...
[ 11249, 47, 2046, 717, 14055, 10763, 6635, 4488, 23, 563, 4904, 3742, 44982, 1238, 147638, 142424, 7763, 67948, 31267, 90045, 26824, 856, 50770, 8335, 40777, 93232, 104, 162429, 313, 27781, 28282, 45, 70270, 136, 3853, 101935, 1295, 10298, 8...
[ 0.0782470703125, 0.0640869140625, 0.07867431640625, 0.248779296875, 0.1595458984375, 0.23876953125, 0.1890869140625, 0.1361083984375, 0.080078125, 0.15673828125, 0.212646484375, 0.041717529296875, 0.125, 0.0809326171875, 0.224853515625, 0.1234130859375, 0.1851806640625, 0.195556640...
embed
32844423_c0
32844423
fsharp
0
Title: Pattern matching on provided types Problem title: Pattern matching on provided types Tags: type-providers, f%23-data, f%23 Problem: Pattern matching on provided types typedJson.[0].JsonValue.Properties() |> Array.map (fun (k, v) -> match k with | Age -> v.AsInteger().ToString() // ... | Name -> v.AsString()) // ...
Pattern matching on provided types Pattern matching on provided types type-providers f%23-data f%23 Pattern JsonProvider InferTypesFromValues Kitten desc.Parse GetType FindMembers MemberTypes.All BindingFlags.Public BindingFlags.Instance MemberFilter Array.exists m.ToString Contains Age Name NameUtils.uniqueGenerator N...
[ 0.005615234375, 0.01422119140625, -0.00112152099609375, 0.007171630859375, -0.01519775390625, -0.01171875, -0.0201416015625, 0.0123291015625, 0.0050048828125, -0.017333984375, 0.023193359375, 0.0186767578125, 0.0081787109375, -0.0228271484375, 0.007080078125, 0.008056640625, 0.002639...
[ 9876, 22766, 14858, 214, 98, 62952, 52895, 10644, 93136, 14202, 1238, 27495, 10135, 3742, 821, 1681, 177997, 62160, 360, 2875, 196707, 168407, 42272, 23564, 510, 224, 26040, 27417, 74057, 33770, 3668, 179947, 116071, 379, 54376, 347, 7763, 71...
[ 0.19140625, 0.168212890625, 0.2445068359375, 0.06805419921875, 0.089111328125, 0.2325439453125, 0.2322998046875, 0.187744140625, 0.1627197265625, 0.031707763671875, 0.0294342041015625, 0.03851318359375, 0.0970458984375, 0.040130615234375, 0.09283447265625, 0.140380859375, 0.149658203...
embed
69408294_c1
69408294
fsharp
1
let responseMessage = if (String.IsNullOrWhiteSpace(name)) then "This HTTP triggered function executed successfully. Pass a name in the query string or in the request body for a personalized response." else "Hello, " + name + ". This HTTP triggered function executed successfully." return OkObjectResult(responseMessage...
let responseMessage = if (String.IsNullOrWhiteSpace(name)) then "This HTTP triggered function executed successfully. Pass a name in the query string or in the request body for a personalized response." else "Hello, " + name + ". This HTTP triggered function executed successfully." return OkObjectResult(responseMessage...
[ -0.0103759765625, 0.0240478515625, 0.014404296875, -0.0010528564453125, 0.0006103515625, 0.000377655029296875, 0.0152587890625, -0.0064697265625, -0.0023956298828125, 0.004119873046875, 0.0208740234375, 0.020751953125, 0.0016326904296875, 0.0194091796875, 0.0208740234375, 0.00601196289...
[ 2633, 57553, 594, 6011, 429, 2203, 2174, 71713, 214, 29598, 18444, 1181, 19060, 173473, 141012, 11627, 73243, 135913, 185553, 297, 32354, 71924, 65771, 28872, 9351, 41, 79315, 50336, 14361, 3357, 29367, 37076, 841, 13817, 997, 30646, 9972, 46...
[ 0.164306640625, 0.2491455078125, 0.08123779296875, 0.1722412109375, 0.0936279296875, 0.03961181640625, 0.0830078125, 0.111572265625, 0.056854248046875, 0.0731201171875, 0.119873046875, 0.105712890625, 0.1497802734375, 0.130126953125, 0.214599609375, 0.1343994140625, 0.016311645507812...
embed
14903174_c0
14903174
fsharp
0
Title: Sum of generic arrays missing type constraint Problem title: Sum of generic arrays missing type constraint Tags: f%23, generics Problem: Sum of generic arrays missing type constraint I'm trying to write a simple array add function. The only complexity comes from my attempt at making it generic. I know that in C#...
Sum of generic arrays missing type constraint Sum of generic arrays missing type constraint f%23 generics Sum Add Array.init A.Length Sum of generic arrays missing type constraint I'm trying to write a simple array add function. The only complexity comes from my attempt at making it generic. I know that in C# there's n...
[ -0.005096435546875, -0.0016937255859375, 0.00457763671875, 0.00372314453125, -0.016357421875, -0.007598876953125, -0.0076904296875, 0.004974365234375, 0.0177001953125, -0.0133056640625, 0.0030670166015625, -0.0213623046875, 0.010986328125, 0.00689697265625, 0.0098876953125, -0.02844238...
[ 36335, 111, 189534, 10298, 4778, 132283, 10644, 158, 2816, 4288, 1238, 3949, 3742, 29117, 69253, 53, 62, 449, 31577, 33022, 8781, 15190, 32354, 27140, 81887, 313, 4904, 34292, 563, 4488, 143726, 32786, 9969, 34759, 5303, 17262, 18499, 98, 5...
[ 0.2286376953125, 0.07000732421875, 0.228515625, 0.1622314453125, 0.1175537109375, 0.15869140625, 0.192138671875, 0.06640625, 0.166259765625, 0.10015869140625, 0.0618896484375, 0.0225982666015625, 0.144287109375, 0.1226806640625, 0.136962890625, 0.08056640625, 0.051666259765625, 0.0...
embed
3962074_c0
3962074
fsharp
0
Title: Seq.fold and boolean accumulator Problem title: Seq.fold and boolean accumulator Tags: f%23 Problem: Seq.fold and boolean accumulator I can never find the source code of the F# core libraries. I know it is supposedly open but google is not kind to me in helping me locate it, if so I would have looked up the impl...
Seq.fold and boolean accumulator Seq.fold and boolean accumulator f%23 Seq.fold List.fold Seq.fold and boolean accumulator I can never find the source code of the F# core libraries. I know it is supposedly open but google is not kind to me in helping me locate it, if so I would have looked up the impl of Seq.fold - but...
[ 0.007415771484375, 0.02294921875, 0.0267333984375, 0.0164794921875, 0.0023040771484375, 0.0152587890625, -0.0020599365234375, 0.0196533203125, -0.011962890625, -0.01043701171875, 0.025634765625, 0.0189208984375, -0.00015163421630859375, 0.0123291015625, -0.0002994537353515625, -0.00303...
[ 503, 864, 5, 42822, 136, 337, 31, 34677, 183278, 1290, 1238, 3949, 3742, 32036, 831, 8306, 7413, 70, 31344, 18151, 111, 563, 4904, 56458, 35773, 10484, 9803, 26484, 959, 64040, 116120, 37873, 1957, 31089, 25632, 93, 58134, 13146, 22027, 1...
[ 0.146240234375, 0.2254638671875, 0.072265625, 0.261962890625, 0.10198974609375, 0.0797119140625, 0.1400146484375, 0.2149658203125, 0.2353515625, 0.1439208984375, 0.0888671875, 0.0193328857421875, 0.1575927734375, 0.22216796875, 0.050933837890625, 0.117919921875, 0.109130859375, 0.0...
embed
43108276_c0
43108276
fsharp
0
Title: Not able to understand FAKE Code : - FAKE F#MAKE Problem title: Not able to understand FAKE Code : - FAKE F#MAKE Tags: f%23-fake, f%23 Problem: Not able to understand FAKE Code : - FAKE F#MAKE I have a sample script , and I am not able to understand a piece of code from that file , here is the code: Target "Pack...
Not able to understand FAKE Code : - FAKE F#MAKE Not able to understand FAKE Code : - FAKE F#MAKE f%23-fake f%23 Not FAKE MAKE Target Package1 NuGet OutputPath DeployDir ReleaseNotes ReleaseNote WorkingDir BuildDir Publish Version PackageVersion Files Some None Client Project.Client.nuspec Project.Client Not able to un...
[ 0.00121307373046875, 0.0211181640625, 0.014404296875, -0.000652313232421875, 0.005157470703125, -0.01409912109375, -0.0030517578125, -0.0260009765625, 0.007720947265625, 0.0306396484375, -0.020751953125, -0.003631591796875, 0.01422119140625, 0.01324462890625, 0.00823974609375, -0.02441...
[ 11205, 19048, 28219, 563, 119960, 28864, 4904, 594, 47, 1238, 167218, 27495, 1021, 350, 3742, 43711, 160017, 56607, 418, 1429, 724, 10519, 13158, 110361, 481, 67325, 40647, 178390, 42724, 91732, 27331, 150, 539, 16711, 121413, 26499, 959, 638...
[ 0.119384765625, 0.1282958984375, 0.1884765625, 0.1822509765625, 0.2279052734375, 0.2213134765625, 0.1331787109375, 0.1153564453125, 0.0270843505859375, 0.02264404296875, 0.01470947265625, 0.10211181640625, 0.1776123046875, 0.082275390625, 0.076171875, 0.1177978515625, 0.2022705078125...
embed
44256569_c0
44256569
fsharp
0
Title: F# SQLProvider - Assign NULL values to fields Problem title: F# SQLProvider - Assign NULL values to fields Tags: f%23, type-providers, database Problem: F# SQLProvider - Assign NULL values to fields I'm loading data from an API, where certain fields have NULL values - which is expected. After I load the data (ob...
F# SQLProvider - Assign NULL values to fields F# SQLProvider - Assign NULL values to fields f%23 type-providers database SQLProvider Assign db.Dbo.Item.Create item.Name x.Name item.Description x.Description Description db.SubmitUpdates F# SQLProvider - Assign NULL values to fields I'm loading data from an API, where ce...
[ 0.01953125, 0.0016021728515625, 0.024658203125, 0.00909423828125, -0.0216064453125, -0.0015869140625, 0.01556396484375, -0.0213623046875, -0.0003528594970703125, 0.02294921875, 0.02685546875, -0.0028228759765625, 0.007354736328125, -0.010986328125, -0.010498046875, -0.023681640625, 0...
[ 563, 4904, 80866, 177997, 62160, 1301, 31304, 18057, 23708, 142424, 47, 44457, 1238, 3742, 10644, 93136, 14202, 63399, 40041, 837, 2982, 63784, 35735, 59478, 70643, 96472, 152872, 72367, 2053, 61687, 765, 84751, 187694, 5303, 67, 98767, 645, ...
[ 0.0872802734375, 0.1875, 0.1708984375, 0.191162109375, 0.178955078125, 0.0548095703125, 0.197265625, 0.1622314453125, 0.2052001953125, 0.19482421875, 0.051483154296875, 0.2359619140625, 0.033599853515625, 0.085205078125, 0.1148681640625, 0.169189453125, 0.0125732421875, 0.104492187...
embed
47536551_c0
47536551
fsharp
0
Title: Active pattern - Check list for consecutive elements Problem title: Active pattern - Check list for consecutive elements Tags: f%23-interactive, functional-programming, f%23 Problem: Active pattern - Check list for consecutive elements So as a school assignment, I have to write a partial active pattern which rec...
Active pattern - Check list for consecutive elements Active pattern - Check list for consecutive elements f%23-interactive functional-programming f%23 Active Check FullHouse List.groupBy List.sortByDescending List.forall List.length Some None Full Nothing Active pattern - Check list for consecutive elements So as a sch...
[ -0.005767822265625, -0.0008544921875, -0.0030364990234375, 0.01348876953125, -0.0113525390625, 0.01287841796875, -0.0050048828125, -0.002349853515625, 0.031494140625, 0.00787353515625, 0.0247802734375, 0.035888671875, 0.01544189453125, -0.0081787109375, -0.0181884765625, 0.006866455078...
[ 88441, 103510, 20, 38679, 5303, 100, 148390, 13, 80854, 1238, 27495, 10433, 71232, 123309, 28966, 3742, 9312, 184964, 32036, 51588, 75358, 62351, 73347, 329, 5584, 23986, 31384, 438, 182747, 10696, 95486, 765, 33022, 2878, 289, 36457, 125296, ...
[ 0.251953125, 0.2880859375, 0.023162841796875, 0.221923828125, 0.2137451171875, 0.044219970703125, 0.239990234375, 0.03143310546875, 0.214111328125, 0.0268096923828125, 0.043365478515625, 0.059112548828125, 0.08447265625, 0.116455078125, 0.1097412109375, 0.0758056640625, 0.14880371093...
embed
24625830_c0
24625830
fsharp
0
Title: F# Public Override of Protected Methods Problem title: F# Public Override of Protected Methods Tags: f%23 Problem: F# Public Override of Protected Methods I've just started learning F# and I'm using it with Monogame to create a simple game to help myself learn the various features of the language. I've hit a roa...
F# Public Override of Protected Methods F# Public Override of Protected Methods f%23 Override Protected Methods Base Method Game Error Accessibility game.Method F# Public Override of Protected Methods I've just started learning F# and I'm using it with Monogame to create a simple game to help myself learn the various f...
[ 0.004852294921875, 0.000965118408203125, 0.021240234375, -0.00138092041015625, 0.01904296875, -0.0103759765625, -0.00095367431640625, -0.014404296875, 0.009521484375, 0.003814697265625, -0.01043701171875, -0.0020599365234375, 0.00909423828125, 0.0111083984375, -0.0025787353515625, 0.00...
[ 563, 4904, 16934, 9578, 416, 112, 111, 127942, 297, 74644, 1238, 3742, 44978, 13547, 212059, 40266, 14, 83259, 6712, 78572, 7352, 52080, 17368, 678, 77879, 35311, 47, 28282, 8781, 4358, 35978, 30698, 67842, 66139, 46876, 5962, 33816, 81409, ...
[ 0.1455078125, 0.2271728515625, 0.1693115234375, 0.1092529296875, 0.1932373046875, 0.09814453125, 0.034088134765625, 0.1536865234375, 0.0736083984375, 0.1927490234375, 0.0682373046875, 0.05413818359375, 0.1981201171875, 0.10418701171875, 0.1658935546875, 0.1156005859375, 0.09332275390...
embed
68431913_c0
68431913
fsharp
0
Title: plotly.net chart not found Problem title: plotly.net chart not found Tags: f%23-interactive, f%23, plotly Problem: plotly.net chart not found My code is below, i am running this on a chromebook (debian)in vs code. The url the browser tries to load is file:///tmp/631a67c5-f214-4538-8f46-e74ea90ecb98.html The brow...
plotly.net chart not found plotly.net chart not found f%23-interactive f%23 plotly plotly.net preview.6 line1 Chart.Line Name ShowMarkers MarkerSymbol StyleParam.Symbol.Square Chart.withLineStyle Width Dash StyleParam.DrawingStyle.Dot Chart.Show plotly.net chart not found My code is below, i am running this on a chrome...
[ 0.00128173828125, 0.00714111328125, 0.021240234375, 0.01123046875, -0.000640869140625, 0.00396728515625, 0.0172119140625, -0.02294921875, 0.010498046875, 0.00124359130859375, -0.018798828125, 0.006256103515625, -0.0091552734375, -0.0050048828125, 0.0206298828125, 0.01068115234375, 0....
[ 23577, 538, 1179, 116287, 959, 14037, 1238, 27495, 10433, 71232, 3742, 479, 22751, 910, 13315, 110373, 93232, 17367, 73484, 1314, 7880, 65183, 36846, 57845, 55292, 94727, 76228, 209480, 1858, 8331, 168660, 18151, 35064, 51042, 17656, 13450, 141...
[ 0.2420654296875, 0.24853515625, 0.187744140625, 0.27001953125, 0.1131591796875, 0.18701171875, 0.048797607421875, 0.06915283203125, 0.08648681640625, 0.0521240234375, 0.123291015625, 0.09765625, 0.1905517578125, 0.0994873046875, 0.0609130859375, 0.2232666015625, 0.086181640625, 0.0...
embed
60946405_c0
60946405
fsharp
0
Title: Deedle, F# and read csv Problem title: Deedle, F# and read csv Tags: deedle, f%23 Problem: Deedle, F# and read csv I am facing an issue when I try to use the function Deedle.Frame.ReadCsv I am trying to use the overload here: https://collective2.com/c2explorer_help/html/806c0295-1a9f-1bf4-50eb-a221419abe06.htm l...
Deedle, F# and read csv Deedle, F# and read csv deedle f%23 this Deedle DateTime Deedle.Frame.ReadCsv data.csv FS0503 ReadCsv All Deedle, F# and read csv I am facing an issue when I try to use the function Deedle.Frame.ReadCsv I am trying to use the overload here: https://collective2.com/c2explorer_help/html/806c0295-1...
[ 0.01953125, 0.0167236328125, 0.01287841796875, 0.0091552734375, -0.003753662109375, -0.00506591796875, 0.006866455078125, -0.004486083984375, -0.0157470703125, -0.0267333984375, -0.0166015625, -0.041015625, -0.01373291015625, -0.011474609375, 0.0076904296875, -0.007110595703125, -0.0...
[ 262, 297, 133, 563, 4904, 136, 12301, 20763, 334, 8, 1238, 3742, 903, 25512, 70059, 108386, 282, 31345, 67756, 2053, 4439, 93774, 78800, 363, 4764, 441, 7808, 31089, 9790, 4527, 32354, 31577, 645, 63033, 3688, 196352, 5844, 304, 111118, 7...
[ 0.1263427734375, 0.178955078125, 0.1517333984375, 0.0919189453125, 0.1878662109375, 0.0158233642578125, 0.1962890625, 0.115234375, 0.201416015625, 0.097412109375, 0.042083740234375, 0.0980224609375, 0.01434326171875, 0.0191650390625, 0.10693359375, 0.132080078125, 0.0316162109375, ...
embed
7247187_c0
7247187
fsharp
0
Title: Import Excel data into F# Problem title: Import Excel data into F# Tags: f%23, excel Problem: Import Excel data into F# I would like to import some basic data (only few integers) from an Excel file into a F# list. Here is the code I compute which open an Excel file, take the value of the Cell "C6" and 'store' it...
Import Excel data into F# Import Excel data into F# f%23 excel Excel Microsoft.Office.Interop.Excel Microsoft.Office.Interop Excel.ApplicationClass xlApp.Workbooks.Open Users Fabien Desktop xlWorkBook.Worksheets Produits Excel.Worksheet xlWorkSheet.Cells Import Excel data into F# I would like to import some basic data ...
[ 0.0223388671875, -0.007080078125, 0.0027923583984375, 0.01409912109375, -0.00023937225341796875, 0.0052490234375, -0.01116943359375, -0.00860595703125, -0.001434326171875, -0.00738525390625, -0.01226806640625, -0.01190185546875, -0.010009765625, 0.0101318359375, 0.027099609375, -0.0090...
[ 92966, 30326, 2053, 3934, 563, 4904, 1238, 3949, 3742, 64152, 7244, 94833, 44851, 2146, 184926, 47677, 182867, 140803, 1022, 39179, 81415, 103264, 53400, 80822, 33, 141423, 37975, 7816, 51956, 72859, 88510, 2806, 1884, 24927, 62822, 10846, 892,...
[ 0.20849609375, 0.247802734375, 0.1343994140625, 0.1435546875, 0.1463623046875, 0.2171630859375, 0.0440673828125, 0.00567626953125, 0.1187744140625, 0.1490478515625, 0.0296783447265625, 0.1339111328125, 0.060791015625, 0.1326904296875, 0.1802978515625, 0.007293701171875, 0.03353881835...
embed
11769602_c0
11769602
fsharp
0
Title: Self-error-dependent self-disposal of IObservable subscriptions Problem title: Self-error-dependent self-disposal of IObservable subscriptions Tags: .net, system.reactive, f%23, exception, combinators Problem: Self-error-dependent self-disposal of IObservable subscriptions I have F# code that looks like this: mo...
Self-error-dependent self-disposal of IObservable subscriptions Self-error-dependent self-disposal of IObservable subscriptions .net system.reactive f%23 exception combinators Observable.subscribeUntilError Self-error-dependent IObservable Control.Observable O.subscribe RSS.items c.SendAll Socket XElement system.reacti...
[ -0.01348876953125, 0.04345703125, 0.00124359130859375, 0.00543212890625, -0.00090789794921875, -0.000640869140625, -0.002899169921875, 0.010009765625, -0.006317138671875, -0.0166015625, 0.00007867813110351562, -0.01104736328125, 0.0244140625, 0.017578125, 0.0286865234375, -0.0030059814...
[ 55347, 188800, 181063, 15970, 3827, 771, 87, 46471, 65756, 2661, 1614, 59478, 1179, 5426, 71232, 1238, 3949, 3742, 131527, 22321, 22230, 87652, 22144, 34601, 3675, 18468, 27131, 180, 15603, 1486, 501, 3611, 43512, 1061, 27853, 19929, 2317, 56...
[ 0.1094970703125, 0.1986083984375, 0.130859375, 0.11865234375, 0.0249481201171875, 0.1177978515625, 0.1025390625, 0.126220703125, 0.203369140625, 0.205810546875, 0.123779296875, 0.1951904296875, 0.092529296875, 0.0465087890625, 0.0849609375, 0.0230255126953125, 0.028533935546875, 0....
embed
48877538_c0
48877538
fsharp
0
Title: F# error in generic constraint Problem title: F# error in generic constraint Tags: generic-constraints, f%23 Problem: F# error in generic constraint The following F# code let f<'T when 'T: (member Id:int)> (t:'T) = t.Id is not accepted with the following error: Error FS0670 This code is not sufficiently generic....
F# error in generic constraint F# error in generic constraint generic-constraints f%23 Id:int t.Id F# error in generic constraint The following F# code let f<'T when 'T: (member Id:int)> (t:'T) = t.Id is not accepted with the following error: What's wrong? How to fix it? EDIT @Fyodor: tricky! I did some tests and found...
[ 0.0020904541015625, -0.004425048828125, 0.0120849609375, -0.019775390625, 0.00958251953125, -0.0169677734375, -0.01141357421875, 0.00555419921875, -0.009521484375, -0.02734375, 0.005950927734375, -0.0026702880859375, 0.0140380859375, -0.005157470703125, 0.01116943359375, 0.001457214355...
[ 563, 4904, 18499, 23, 189534, 158, 2816, 4288, 2271, 1238, 3742, 24799, 808, 568, 71, 25632, 18151, 2633, 16093, 618, 3229, 12, 39, 27417, 18, 25, 2203, 5, 83, 959, 68186, 678, 44691, 30022, 88308, 114453, 418, 76199, 4426, 8353, 304, ...
[ 0.1556396484375, 0.2454833984375, 0.2027587890625, 0.038177490234375, 0.2418212890625, 0.081298828125, 0.1983642578125, 0.1832275390625, 0.05303955078125, 0.1641845703125, 0.1212158203125, 0.1439208984375, 0.13427734375, 0.1241455078125, 0.1484375, 0.067626953125, 0.1571044921875, ...
embed
51785327_c0
51785327
fsharp
0
Title: Changing specific elements of a list with different values Problem title: Changing specific elements of a list with different values Tags: f%23 Problem: Changing specific elements of a list with different values I am trying to write a function that takes in a tuple of int and an int list and a max value, and use...
Changing specific elements of a list with different values Changing specific elements of a list with different values f%23 Changing t:int List.map Changing specific elements of a list with different values I am trying to write a function that takes in a tuple of int and an int list and a max value, and uses this to upd...
[ -0.00830078125, 0.01544189453125, 0.005157470703125, 0.0186767578125, -0.004852294921875, -0.0164794921875, -0.006378173828125, 0.022705078125, 0.032958984375, 0.0244140625, 0.006805419921875, 0.0174560546875, 0.0028076171875, 0.030029296875, 0.0179443359375, -0.002716064453125, 0.00...
[ 108193, 214, 29458, 80854, 5303, 678, 12921, 142424, 111, 1238, 3949, 3742, 808, 12, 4288, 32036, 5, 62346, 31577, 33022, 32354, 51776, 23, 370, 8705, 18, 136, 18389, 34292, 4527, 7, 28350, 110527, 106, 3714, 8305, 12638, 5351, 91995, 271...
[ 0.240234375, 0.067138671875, 0.239013671875, 0.19921875, 0.212158203125, 0.1414794921875, 0.2232666015625, 0.197998046875, 0.0170135498046875, 0.06134033203125, 0.0491943359375, 0.115966796875, 0.1141357421875, 0.029998779296875, 0.190185546875, 0.2215576171875, 0.04132080078125, 0...
embed
5511431_c0
5511431
fsharp
0
Title: DllImport - C types to .NET types Problem title: DllImport - C types to .NET types Tags: c%23, f%23, dllimport Problem: DllImport - C types to .NET types I've got dll function DLLExport int PatchSomething(char*, char*, DWORD, unsigned char*, unsigned short int); but can't fully transfer parameters to .NET F# : m...
DllImport - C types to .NET types DllImport - C types to .NET types c%23 f%23 dllimport DllImport NET DLLExport PatchSomething DWORD System System.Runtime.InteropServices Microsoft.FSharp.NativeInterop Microsoft.FSharp.Math Native System.Runtime.InteropServices.DllImport DesuDLL.dll EntryPoint DllImport - C types to .N...
[ -0.00347900390625, 0.00872802734375, -0.01214599609375, 0.004302978515625, -0.02587890625, 0.0177001953125, -0.0146484375, -0.0069580078125, -0.01434326171875, 0.0179443359375, -0.0130615234375, -0.031982421875, -0.0142822265625, 0.01104736328125, 0.0157470703125, -0.01141357421875, ...
[ 391, 1181, 61637, 6982, 313, 52895, 47, 5, 17777, 3742, 1238, 81717, 60270, 84437, 425, 159954, 36639, 12353, 6032, 44851, 2146, 121979, 7244, 3467, 254, 4645, 4935, 199450, 353, 397, 5581, 34, 23708, 15123, 147534, 32354, 831, 89554, 12302...
[ 0.06683349609375, 0.164306640625, 0.1309814453125, 0.182861328125, 0.15087890625, 0.2220458984375, 0.124755859375, 0.013397216796875, 0.165283203125, 0.0946044921875, 0.0252227783203125, 0.2177734375, 0.1964111328125, 0.05029296875, 0.00360107421875, 0.13818359375, 0.109375, 0.0627...
embed
35485965_c0
35485965
fsharp
0
Title: Using FileHelperAsyncEngine in F# Problem title: Using FileHelperAsyncEngine in F# Tags: filehelpers, f%23, csv, asynchronous Problem: Using FileHelperAsyncEngine in F# I am trying to load rows from a csv files to an Elasticsearch database in f# using FileHelpers to read the csv. Everything is working for small ...
Using FileHelperAsyncEngine in F# Using FileHelperAsyncEngine in F# filehelpers f%23 csv asynchronous Using FileHelperAsyncEngine filePath:string FileHelperEngine engine.ReadFile Array.map engine.BeginReadFile Using FileHelperAsyncEngine in F# I am trying to load rows from a csv files to an Elasticsearch database in f#...
[ -0.0003509521484375, -0.01104736328125, 0.0086669921875, 0.0022125244140625, -0.015625, -0.00543212890625, 0.0078125, 0.000499725341796875, -0.003265380859375, -0.0198974609375, -0.01385498046875, 0.013671875, 0.01129150390625, -0.00009965896606445312, 0.039794921875, -0.015625, -0.0...
[ 345, 42724, 60785, 1264, 12654, 238, 91384, 1212, 563, 4904, 284, 23, 11435, 73866, 1314, 1238, 3742, 20763, 334, 101966, 10519, 91693, 87907, 31345, 174350, 69253, 53, 62346, 6820, 31577, 72367, 15555, 102158, 37905, 28692, 86250, 63399, 173...
[ 0.053802490234375, 0.178955078125, 0.208984375, 0.176513671875, 0.1802978515625, 0.08197021484375, 0.1314697265625, 0.1304931640625, 0.1180419921875, 0.189208984375, 0.004791259765625, 0.006011962890625, 0.0899658203125, 0.2052001953125, 0.046783447265625, 0.0804443359375, 0.10791015...
embed
3723488_c1
3723488
fsharp
1
_ -> "test" printf "Roaming set to %s\n\n" roaming let local = match gameprint with | game1 -> local1 | game2 -> local2 | game3 -> local3 | _ -> "test" printf "Local set to %s\n\n" local printf "Check gameprint %s" gameprint In the section that sets the roaming and local objects, it is telling me that it will never ma...
_ -> "test" printf "Roaming set to %s\n\n" roaming let local = match gameprint with | game1 -> local1 | game2 -> local2 | game3 -> local3 | _ -> "test" printf "Local set to %s\n\n" local printf "Check gameprint %s" gameprint In the section that sets the roaming and local objects, it is telling me that it will never ma...
[ -0.0184326171875, 0.0208740234375, -0.000308990478515625, 0.02099609375, 0.0096435546875, 0.000659942626953125, -0.0291748046875, 0.007415771484375, 0.000820159912109375, 0.030517578125, 0.011474609375, 0.01348876953125, 0.03271484375, -0.03662109375, -0.0079345703125, 0.00506591796875...
[ 101, 6954, 28412, 420, 12724, 302, 214, 5423, 47, 1745, 76017, 14578, 2633, 4000, 14858, 6712, 35662, 678, 418, 33079, 304, 363, 203758, 202567, 40059, 136, 36746, 1221, 8306, 23937, 35311, 12765, 45831, 26785, 15044, 75101, 18, 121742, 288...
[ 0.0154876708984375, 0.182373046875, 0.1494140625, 0.1375732421875, 0.1309814453125, 0.1549072265625, 0.1275634765625, 0.1265869140625, 0.060272216796875, 0.0712890625, 0.1636962890625, 0.1561279296875, 0.03466796875, 0.15234375, 0.2041015625, 0.108154296875, 0.2423095703125, 0.0915...
embed
42903819_c0
42903819
fsharp
0
Title: How to read attribute value from xml file - FAKE F#MAKE Problem title: How to read attribute value from xml file - FAKE F#MAKE Tags: f%23, f%23-fake Problem: How to read attribute value from xml file - FAKE F#MAKE Hi I am having an XML file , I want to read value of a particular attribute from XML file , how wil...
How to read attribute value from xml file - FAKE F#MAKE How to read attribute value from xml file - FAKE F#MAKE f%23 f%23-fake xml How FAKE MAKE github.com FakeLib XMLHelper.fs L14-14 How to read attribute value from xml file - FAKE F#MAKE Hi I am having an XML file , I want to read value of a particular attribute from...
[ 0.000240325927734375, 0.017333984375, -0.0042724609375, -0.0238037109375, 0.01324462890625, 0.00008106231689453125, 0.00946044921875, -0.007293701171875, -0.0145263671875, 0.00958251953125, -0.006988525390625, -0.02392578125, 0.005279541015625, 0.0101318359375, 0.03076171875, -0.021728...
[ 11249, 47, 12301, 150380, 13, 34292, 1295, 131492, 11435, 563, 119960, 4904, 594, 1238, 3742, 27495, 1021, 350, 43711, 647, 62270, 32102, 3036, 104820, 92537, 60785, 1264, 17447, 2592, 16249, 19441, 111, 17311, 3642, 54, 903, 23, 39527, 106...
[ 0.07666015625, 0.076171875, 0.2313232421875, 0.2301025390625, 0.123291015625, 0.21044921875, 0.1181640625, 0.2587890625, 0.1790771484375, 0.1396484375, 0.195068359375, 0.09124755859375, 0.03857421875, 0.0308685302734375, 0.05670166015625, 0.0657958984375, 0.1534423828125, 0.1258544...
embed
45887301_c0
45887301
fsharp
0
Title: F# Pattern Matching Nested Discriminated Unions Problem title: F# Pattern Matching Nested Discriminated Unions Tags: pattern-matching, f%23 Problem: F# Pattern Matching Nested Discriminated Unions I've a nested discriminated union representing a deck of playing cards: type Symbol = | Seven | Eight | Nine | Ten |...
F# Pattern Matching Nested Discriminated Unions F# Pattern Matching Nested Discriminated Unions pattern-matching f%23 Pattern Matching Nested Discriminated Unions Symbol Seven Eight Nine Ten Jack Queen King Ace Card Heart Diamond Spade Club GetValue F# Pattern Matching Nested Discriminated Unions I've a nested discrimi...
[ -0.03076171875, -0.000926971435546875, 0.01153564453125, -0.00982666015625, 0.003692626953125, 0.005218505859375, -0.006744384765625, -0.005859375, 0.0120849609375, -0.00909423828125, 0.0242919921875, 0.0166015625, -0.01153564453125, 0.00665283203125, -0.0086669921875, -0.0076904296875...
[ 563, 4904, 9876, 22766, 67407, 28701, 71, 6206, 135421, 3674, 32528, 103510, 98753, 1238, 3949, 3742, 131899, 132556, 22553, 1520, 5531, 21763, 44109, 18813, 70280, 23660, 60861, 69124, 10959, 112, 7687, 20779, 856, 50770, 214, 8512, 55970, 6...
[ 0.08154296875, 0.14306640625, 0.1319580078125, 0.0645751953125, 0.1558837890625, 0.2032470703125, 0.0921630859375, 0.03192138671875, 0.1832275390625, 0.07720947265625, 0.1846923828125, 0.160888671875, 0.1673583984375, 0.09283447265625, 0.029052734375, 0.127197265625, 0.17626953125, ...
embed
35981494_c1
35981494
fsharp
1
(end - start)); } } When I measure for different n I get advantage for C# of at least 7x as follows: n= 100: C#=5milsec F#=64milsec n= 1000: C#=22milsec F#=180milsec n= 5000: C#=280milsec F#=2.05sec n=10000: C#=960milsec F#=6.95sec My questions: Are these two programs equivalent? If yes, why aren't they compiled into ...
(end - start)); } } When I measure for different n I get advantage for C# of at least 7x as follows: n= 100: C#=5milsec F#=64milsec n= 1000: C#=22milsec F#=180milsec n= 5000: C#=280milsec F#=2.05sec n=10000: C#=960milsec F#=6.95sec My questions: Are these two programs equivalent? If yes, why aren't they compiled into ...
[ 0.005584716796875, 0.021240234375, 0.027587890625, 0.00958251953125, 0.00848388671875, -0.01300048828125, 0.01055908203125, -0.009765625, 0.0028228759765625, -0.031494140625, 0.01019287109375, 0.04541015625, 0.0030059814453125, 0.0062255859375, -0.01275634765625, -0.0196533203125, -0...
[ 3611, 4034, 14847, 72350, 100, 12921, 653, 2046, 92940, 313, 4904, 111, 19713, 361, 425, 28960, 1369, 805, 114997, 12397, 39797, 563, 13307, 4382, 207234, 39425, 19692, 88628, 55257, 8194, 191281, 91230, 165160, 758, 17582, 15901, 6097, 6626,...
[ 0.017913818359375, 0.05023193359375, 0.006256103515625, 0.262939453125, 0.0640869140625, 0.1951904296875, 0.1112060546875, 0.0706787109375, 0.24853515625, 0.1080322265625, 0.25146484375, 0.00872802734375, 0.077880859375, 0.0985107421875, 0.1572265625, 0.01007080078125, 0.017532348632...
embed
1784966_c1
1784966
fsharp
1
.BigInteger list) = let len = System.Numerics.BigInteger.Parse(xs.Length.ToString()) let avg = List.sum xs / len (List.filter (fun x -> x >= avg) xs).Length two pass and kvb 's version works on big lists, ie: list [1I .. 10 000 000I] : (two-pass solution) 5000001: elapsed <00:00:12.3200438> <-- 12 first time (two-pass ...
.BigInteger list) = let len = System.Numerics.BigInteger.Parse(xs.Length.ToString()) let avg = List.sum xs / len (List.filter (fun x -> x >= avg) xs).Length two pass and kvb 's version works on big lists, ie: list [1I .. 10 000 000I] : (two-pass solution) 5000001: elapsed <00:00:12.3200438> <-- 12 first time (two-pass ...
[ -0.0208740234375, 0.018798828125, -0.00109100341796875, -0.008056640625, 0.0072021484375, 0.018798828125, 0.006622314453125, -0.005706787109375, 0.033447265625, 0.012939453125, 0.0238037109375, 0.003997802734375, 0.00970458984375, 0.002960205078125, -0.01190185546875, 0.002853393554687...
[ 5, 129933, 4153, 67, 1505, 5303, 2203, 2633, 3098, 12353, 18444, 1991, 28021, 28636, 184, 425, 7, 449, 927, 7763, 71713, 214, 16, 185, 177, 32036, 11832, 1022, 248, 154663, 120337, 15, 16498, 33079, 977, 1369, 194, 5267, 6626, 27875, 13...
[ 0.08544921875, 0.143310546875, 0.05145263671875, 0.182373046875, 0.1597900390625, 0.2410888671875, 0.0361328125, 0.0911865234375, 0.1824951171875, 0.1187744140625, 0.000640869140625, 0.06048583984375, 0.097900390625, 0.11083984375, 0.079345703125, 0.095703125, 0.076171875, 0.116333...
embed
56228052_c0
56228052
fsharp
0
Title: Concatenating lists of lists in F# Problem title: Concatenating lists of lists in F# Tags: f%23, list Problem: Concatenating lists of lists in F# From pseudo C#, I have this: class C { List<A> a; List<B> b; } List<C> L; I would like to get to get two lists: ListA and ListB where ListA is the concatenation of all...
Concatenating lists of lists in F# Concatenating lists of lists in F# f%23 list Concatenating List ListA ListB ListA.Append l.a ListB.Append l.b List.Concat List.Fold acc.Concat element.a Concatenating lists of lists in F# From pseudo C#, I have this: I would like to get to get two lists: ListA and ListB where ListA is...
[ 0.002838134765625, 0.015625, 0.0019683837890625, 0.0142822265625, -0.010009765625, -0.002899169921875, -0.0002841949462890625, 0, 0.0107421875, -0.021240234375, 0.0074462890625, 0.0257568359375, -0.01080322265625, 0.0172119140625, -0.005157470703125, -0.0234375, 0.0012359619140625, ...
[ 1657, 4460, 33, 26518, 5303, 111, 7, 563, 4904, 1238, 3742, 32036, 284, 571, 3611, 275, 11935, 919, 18345, 50015, 12830, 74189, 1884, 2046, 6626, 136, 158, 756, 11, 44457, 339, 21373, 360, 41591, 2633, 3642, 5154, 39580, 10, 5809, 16940...
[ 0.111572265625, 0.2132568359375, 0.13232421875, 0.0523681640625, 0.2230224609375, 0.027435302734375, 0.0028076171875, 0.14599609375, 0.214599609375, 0.051544189453125, 0.1329345703125, 0.17724609375, 0.1246337890625, 0.147705078125, 0.0074462890625, 0.0279388427734375, 0.115356445312...
embed
9364480_c0
9364480
fsharp
0
Title: Dapper dot net query in F# Problem title: Dapper dot net query in F# Tags: f%23, dapper Problem: Dapper dot net query in F# I'm trying to use Dapper dot net in F# to perform a simple SQLite query. Dapper returns a collection of dynamic objects: using them in C# is straightforward, but from what I understood F# h...
Dapper dot net query in F# Dapper dot net query in F# f%23 dapper customers Dapper BindingFlags.GetProperty BindingFlags.InvokeMethod x.GetType InvokeMember SQLiteConnection conn.Open conn.Query first_name Seq.map List.ofSeq Dapper dot net query in F# I'm trying to use Dapper dot net in F# to perform a simple SQLite qu...
[ 0.020751953125, 0.01129150390625, 0.0225830078125, -0.0020904541015625, -0.0081787109375, -0.0123291015625, -0.0020904541015625, 0.01080322265625, -0.000476837158203125, -0.0279541015625, 0.017822265625, 0.00567626953125, -0.00946044921875, -0.0093994140625, -0.0264892578125, 0.0088500...
[ 930, 8079, 20633, 2043, 41, 1294, 563, 4904, 23, 1238, 3742, 48, 59463, 1843, 33770, 3668, 126, 1264, 23253, 1022, 196707, 27417, 80866, 1486, 235603, 158, 103264, 41732, 5117, 11627, 864, 62346, 32036, 4390, 51339, 8781, 30646, 42486, 8407...
[ 0.134033203125, 0.2213134765625, 0.1978759765625, 0.1864013671875, 0.13232421875, 0.0770263671875, 0.140869140625, 0.1917724609375, 0.0185699462890625, 0.049163818359375, 0.11669921875, 0.11181640625, 0.193359375, 0.022430419921875, 0.0604248046875, 0.1239013671875, 0.004608154296875...
embed
9998428_c0
9998428
fsharp
0
Title: How can I create an Action&lt;T&gt; in F#? Problem title: How can I create an Action&lt;T&gt; in F#? Tags: quotations, linq, f%23 Problem: How can I create an Action in F#? I am using the Moq framework for unit testing and would like to be able to pass in Action for logging void methods. let log = new Mock<ILog>...
How can I create an Action&lt;T&gt; in F#? How can I create an Action&lt;T&gt; in F#? quotations linq f%23 How Action Mock ILog mock:ILog mock.Info It.IsAny quot.ToLinqExpression Expression log.Verify System.Action quot.Type.ToString How can I create an Action in F#? I am using the Moq framework for unit testing and wo...
[ -0.015625, 0.0142822265625, 0.00494384765625, -0.004730224609375, -0.01165771484375, 0.006988525390625, 0.0205078125, 0.0155029296875, 0.010498046875, -0.016357421875, 0.00823974609375, -0.00127410888671875, -0.0181884765625, -0.016357421875, 0.003692626953125, 0.004638671875, 0.0071...
[ 11249, 831, 87, 28282, 142, 57945, 1230, 1277, 618, 5386, 23, 563, 4904, 81732, 5256, 44982, 1238, 3742, 2501, 2594, 113972, 8698, 92, 1663, 93147, 1650, 29598, 299, 41502, 7763, 178752, 25129, 12684, 15896, 40383, 12353, 284, 10763, 196707...
[ 0.0360107421875, 0.06591796875, 0.04156494140625, 0.19775390625, 0.1185302734375, 0.30712890625, 0.0775146484375, 0.042724609375, 0.1038818359375, 0.11962890625, 0.09869384765625, 0.13916015625, 0.2344970703125, 0.1329345703125, 0.031402587890625, 0.113037109375, 0.03460693359375, ...
embed
30278273_c1
30278273
fsharp
1
, args.NewValue)) static let MaxLengthProperty = DependencyProperty.RegisterAttached("MaxLength", typeof<int>, typeof<myComboBoxProperties>, new UIPropertyMetadata(OnMaxLengthChanged)) static member GetMaxLength (myobj : DependencyObject) = myobj.GetValue(MaxLengthProperty) :?> int static member SetMaxLength (myobj : D...
, args.NewValue)) static let MaxLengthProperty = DependencyProperty.RegisterAttached("MaxLength", typeof<int>, typeof<myComboBoxProperties>, new UIPropertyMetadata(OnMaxLengthChanged)) static member GetMaxLength (myobj : DependencyObject) = myobj.GetValue(MaxLengthProperty) :?> int static member SetMaxLength (myobj : D...
[ -0.0029144287109375, 0.0281982421875, 0.01007080078125, 0.0152587890625, -0.00872802734375, -0.000507354736328125, 0.000568389892578125, 0.00848388671875, 0.03125, 0.00872802734375, -0.0169677734375, -0.0142822265625, 0.01953125, 0.00408935546875, 0.00823974609375, -0.01953125, -0.00...
[ 79459, 7, 46568, 856, 50770, 201939, 2633, 9920, 5267, 449, 927, 10752, 1264, 939, 262, 26885, 27771, 54601, 19656, 2310, 74694, 71346, 10644, 4288, 1176, 10770, 837, 72295, 111481, 8656, 102, 20320, 127008, 17704, 32786, 20779, 3522, 170, ...
[ 0.15185546875, 0.05792236328125, 0.1051025390625, 0.1485595703125, 0.1904296875, 0.1785888671875, 0.1226806640625, 0.2215576171875, 0.1485595703125, 0.1666259765625, 0.1168212890625, 0.06634521484375, 0.1873779296875, 0.00274658203125, 0.177978515625, 0.180908203125, 0.04107666015625...
embed
54847080_c0
54847080
fsharp
0
Title: How do I generate an F# Azure Function stub at build time? Problem title: How do I generate an F# Azure Function stub at build time? Tags: f%23, code-generation, azure-functions Problem: How do I generate an F# Azure Function stub at build time? Let's say I have a beautiful F# function like this: let doWork (ite...
How do I generate an F# Azure Function stub at build time? How do I generate an F# Azure Function stub at build time? f%23 code-generation azure-functions How Azure Hello FunctionName DoWork QueueTrigger doWork2 doWork3 How do I generate an F# Azure Function stub at build time? Let's say I have a beautiful F# function ...
[ -0.0026092529296875, 0.001922607421875, -0.00469970703125, -0.0191650390625, -0.0185546875, -0.002716064453125, -0.000385284423828125, -0.0106201171875, -0.000640869140625, -0.004302978515625, -0.010009765625, 0.01531982421875, -0.0079345703125, 0.01416015625, 0.01904296875, 0.00174713...
[ 11249, 139392, 563, 4904, 176071, 28670, 10763, 136057, 99, 45367, 1733, 54, 87, 1238, 3742, 18151, 48281, 295, 3408, 137175, 35378, 163612, 984, 108259, 5813, 13388, 74257, 21407, 304, 363, 142, 765, 34923, 32354, 1884, 903, 3444, 28282, 1...
[ 0.0595703125, 0.241455078125, 0.126953125, 0.225341796875, 0.2841796875, 0.2027587890625, 0.1259765625, 0.281982421875, 0.075439453125, 0.1766357421875, 0.1568603515625, 0.06591796875, 0.0288543701171875, 0.0701904296875, 0.123779296875, 0.1318359375, 0.14208984375, 0.0881958007812...
embed
14549009_c0
14549009
fsharp
0
Title: Is an instance of System.Enum type stored on the heap Problem title: Is an instance of System.Enum type stored on the heap Tags: f%23, enums Problem: Is an instance of System.Enum type stored on the heap Consider a F# Enum declaration: type MyEnum = | A = 1 | B = 2 I can now make a value of type MyEnum: let enum...
Is an instance of System.Enum type stored on the heap Is an instance of System.Enum type stored on the heap f%23 enums System.Enum MyEnum enumValue1 MyEnum.A enumValue2 BaseType System.ValueType Is an instance of System.Enum type stored on the heap Consider a F# Enum declaration: I can now make a value of type MyEnum: ...
[ 0.01055908203125, -0.0198974609375, -0.01263427734375, 0.0079345703125, -0.01251220703125, 0.0126953125, -0.010986328125, -0.00408935546875, -0.01153564453125, 0.0177001953125, 0.0186767578125, 0.01116943359375, 0.03662109375, 0.00909423828125, 0.01239013671875, 0.0036773681640625, 0...
[ 2071, 110527, 12353, 5, 647, 2606, 10644, 4343, 71, 98, 70, 764, 2631, 142, 1238, 3949, 3742, 22, 10321, 2646, 316, 856, 50770, 418, 304, 44978, 196707, 111, 563, 4904, 357, 21635, 3249, 34292, 53498, 52895, 137565, 21777, 645, 28970, 1...
[ 0.06866455078125, 0.240478515625, 0.188720703125, 0.0283203125, 0.124267578125, 0.25830078125, 0.22607421875, 0.167724609375, 0.06756591796875, 0.1275634765625, 0.00213623046875, 0.1728515625, 0.1668701171875, 0.01043701171875, 0.063720703125, 0.003204345703125, 0.1109619140625, 0....
embed
7828624_c0
7828624
fsharp
0
Title: Why is F# suddenly returning values from functions as @+ the line number? Problem title: Why is F# suddenly returning values from functions as @+ the line number? Tags: .net, f%23 Problem: Why is F# suddenly returning values from functions as @+ the line number? I have some code in F# that was working fine, but ...
Why is F# suddenly returning values from functions as @+ the line number? Why is F# suddenly returning values from functions as @+ the line number? .net f%23 functions Why GetSummary Why is F# suddenly returning values from functions as @+ the line number? I have some code in F# that was working fine, but now any funct...
[ 0.002288818359375, -0.01019287109375, -0.0115966796875, 0.0074462890625, -0.0054931640625, 0.0177001953125, 0.00311279296875, 0.0025634765625, -0.0042724609375, -0.000492095947265625, -0.0098876953125, -0.006561279296875, -0.0113525390625, 0.00145721435546875, 0.039794921875, -0.000204...
[ 44084, 563, 4904, 186683, 30646, 142424, 1295, 32354, 237, 1374, 1328, 13315, 14012, 1179, 1238, 3742, 20779, 14168, 2276, 6635, 18151, 20697, 5885, 9351, 2633, 128239, 678, 997, 2046, 2053, 99247, 137989, 981, 37321, 10644, 36356, 41206, 294...
[ 0.1097412109375, 0.1446533203125, 0.2288818359375, 0.1334228515625, 0.205810546875, 0.1611328125, 0.1064453125, 0.185546875, 0.05303955078125, 0.1395263671875, 0.1778564453125, 0.1517333984375, 0.15576171875, 0.1099853515625, 0.092529296875, 0.154296875, 0.1109619140625, 0.14001464...
embed
1185351_c0
1185351
fsharp
0
Title: Why am I getting this message on mono ? &quot;warning FS0191: Could not determine highest installed framework version...&quot; .NET&quot; Problem title: Why am I getting this message on mono ? &quot;warning FS0191: Could not determine highest installed framework version...&quot; .NET&quot; Tags: .net, f%23, maco...
Why am I getting this message on mono ? &quot;warning FS0191: Could not determine highest installed framework version...&quot; .NET&quot; Why am I getting this message on mono ? &quot;warning FS0191: Could not determine highest installed framework version...&quot; .NET&quot; .net f%23 macos mono Why FS0191 Could NET Wh...
[ -0.0103759765625, 0.02587890625, 0.0042724609375, -0.00360107421875, 0.00482177734375, 0.0029449462890625, 0.002960205078125, -0.007080078125, -0.006103515625, 0.000720977783203125, 0.00811767578125, -0.036376953125, -0.0167236328125, -0.0034332275390625, 0.01287841796875, 0.0095214843...
[ 44084, 444, 20949, 903, 26008, 98, 22460, 4205, 592, 93774, 6746, 12183, 191147, 959, 83324, 167375, 20600, 297, 170846, 11389, 5, 17777, 1179, 1238, 3742, 7840, 77879, 46354, 66207, 68107, 4727, 11787, 1193, 160355, 563, 4904, 552, 17368, ...
[ 0.1177978515625, 0.0242919921875, 0.04827880859375, 0.058563232421875, 0.1368408203125, 0.047088623046875, 0.244384765625, 0.14013671875, 0.041351318359375, 0.1868896484375, 0.080322265625, 0.246826171875, 0.1610107421875, 0.1162109375, 0.187744140625, 0.2032470703125, 0.164794921875...
embed
29081215_c0
29081215
fsharp
0
Title: In depth description of statically resolved type parameters Problem title: In depth description of statically resolved type parameters Tags: generics, types, f%23 Problem: In depth description of statically resolved type parameters I'm looking for a very comprehensive review of statically resolved type parameter...
In depth description of statically resolved type parameters In depth description of statically resolved type parameters generics types f%23 Example In depth description of statically resolved type parameters I'm looking for a very comprehensive review of statically resolved type parameters. What exactly can be done wit...
[ 0.0009918212890625, 0.002838134765625, 0.0147705078125, -0.027099609375, -0.002655029296875, -0.0000820159912109375, -0.0012054443359375, 0.00543212890625, 0.01092529296875, 0.00799560546875, 0.00421142578125, -0.027587890625, -0.00433349609375, 0.018310546875, 0.0191650390625, -0.0075...
[ 168867, 76811, 13254, 71407, 103608, 71, 10644, 171859, 189534, 52895, 1238, 3949, 3742, 89536, 7, 16487, 199083, 8347, 831, 16940, 678, 2856, 205969, 93425, 17368, 70163, 3638, 110527, 67919, 23, 2256, 43032, 4488, 29458, 2320, 10176, 41392, ...
[ 0.1492919921875, 0.13134765625, 0.1939697265625, 0.1116943359375, 0.205810546875, 0.08575439453125, 0.22607421875, 0.23388671875, 0.1939697265625, 0.2078857421875, 0.00433349609375, 0.011444091796875, 0.101318359375, 0.08154296875, 0.06494140625, 0.001251220703125, 0.06793212890625, ...
embed
71600765_c1
71600765
fsharp
1
(fun student studentAndCommand -> processCommand student (snd studentAndCommand)) initialStudent printfn "\n<<<< %A >>>>\n" finalStudent My problem is with |> Seq.map (fun cmd -> (initialStudent, cmd)) |> Seq.fold (fun student studentAndCommand -> processCommand student (snd studentAndCommand)) initialStudent It looks...
(fun student studentAndCommand -> processCommand student (snd studentAndCommand)) initialStudent printfn "\n<<<< %A >>>>\n" finalStudent My problem is with |> Seq.map (fun cmd -> (initialStudent, cmd)) |> Seq.fold (fun student studentAndCommand -> processCommand student (snd studentAndCommand)) initialStudent It looks...
[ -0.00125885009765625, 0.017822265625, 0.005889892578125, 0.033935546875, 0.0037994384765625, -0.0052490234375, 0.00653076171875, -0.003021240234375, 0.00970458984375, -0.0225830078125, 0.0019989013671875, 0.04638671875, -0.005401611328125, 0.04248046875, -0.0206298828125, -0.0181884765...
[ 16498, 9836, 37839, 10770, 12018, 9433, 2208, 61475, 239825, 28412, 14783, 234015, 1745, 284, 130910, 2704, 2967, 503, 864, 5, 62346, 1827, 71, 943, 118, 289, 42822, 33342, 184307, 27198, 40, 944, 21441, 3934, 26696, 1639, 9254, 19048, 7632...
[ 0.171630859375, 0.238525390625, 0.0958251953125, 0.0994873046875, 0.1640625, 0.1005859375, 0.056884765625, 0.1995849609375, 0.29736328125, 0.16259765625, 0.18701171875, 0.1051025390625, 0.0994873046875, 0.108642578125, 0.1171875, 0.1903076171875, 0.1060791015625, 0.09228515625, 0...
embed
54282322_c1
54282322
fsharp
1
properties of IPerson interface between Person and EFPerson OR just use EFPerson (passed as IPerson ) directly OR do something else. This is fairly irrelevant, as the consumers will always see IPerson and so the implementation can be changed at any time without the consumers knowing anything about it. If I need to add...
properties of IPerson interface between Person and EFPerson OR just use EFPerson (passed as IPerson ) directly OR do something else. This is fairly irrelevant, as the consumers will always see IPerson and so the implementation can be changed at any time without the consumers knowing anything about it. If I need to add...
[ 0.021484375, 0.0201416015625, 0.00075531005859375, 0.01116943359375, -0.01708984375, 0.0069580078125, -0.0299072265625, 0.0186767578125, 0.006317138671875, -0.0098876953125, -0.01409912109375, 0.0177001953125, -0.007537841796875, 0.01220703125, -0.00482177734375, 0.007232666015625, 0...
[ 183871, 87, 160054, 101758, 17721, 15270, 136, 51779, 33172, 1660, 4527, 13409, 297, 237, 1388, 105237, 37076, 83, 180663, 193, 169429, 4, 70, 107222, 7, 1221, 11343, 1957, 208124, 831, 186, 98816, 99, 2499, 1733, 15490, 141956, 23937, 1672...
[ 0.260498046875, 0.2080078125, 0.314453125, 0.30126953125, 0.1160888671875, 0.2347412109375, 0.07000732421875, 0.233154296875, 0.05743408203125, 0.006072998046875, 0.1165771484375, 0.04248046875, 0.0158538818359375, 0.044708251953125, 0.0158233642578125, 0.1075439453125, 0.00305175781...
embed
22705293_c0
22705293
fsharp
0
Title: Define sum of square without defining parameter Problem title: Define sum of square without defining parameter Tags: f%23, value-restriction Problem: Define sum of square without defining parameter I want to define sumOfSquares without explicity using parameter, relying instead on functional composition Here's m...
Define sum of square without defining parameter Define sum of square without defining parameter f%23 value-restriction Define Seq.map Seq.sum Define sum of square without defining parameter I want to define sumOfSquares without explicity using parameter, relying instead on functional composition Here's my code below Ho...
[ -0.0050048828125, 0.017822265625, 0.0162353515625, 0.01397705078125, 0.00323486328125, -0.00946044921875, -0.0072021484375, 0.010498046875, 0.0023040771484375, -0.01318359375, -0.013427734375, 0.00946044921875, 0.02685546875, 0.0091552734375, 0.017578125, 0.001922607421875, 0.0000824...
[ 262, 64552, 10554, 111, 108047, 15490, 13204, 171859, 1238, 3949, 3742, 34292, 107, 7655, 503, 864, 62346, 11832, 3444, 61924, 132887, 94727, 90, 143726, 17368, 538, 123309, 166577, 18151, 25632, 18499, 103608, 7, 75447, 31089, 190060, 10763 ]
[ 0.064453125, 0.1597900390625, 0.2200927734375, 0.11181640625, 0.2061767578125, 0.10296630859375, 0.1307373046875, 0.2056884765625, 0.04815673828125, 0.040985107421875, 0.1485595703125, 0.1219482421875, 0.03582763671875, 0.1341552734375, 0.02532958984375, 0.12109375, 0.115234375, 0....
embed
5447539_c0
5447539
fsharp
0
Title: Problem with F# Powerpack. Method not found error Problem title: Problem with F# Powerpack. Method not found error Tags: f%23, powerpack Problem: Problem with F# Powerpack. Method not found error I've had F# Powerpack for a while now. It ran perfectly. But a few days before, I don't know what I did, whenever I c...
Problem with F# Powerpack. Method not found error Problem with F# Powerpack. Method not found error f%23 powerpack Problem Powerpack Method System.Object Microsoft.FSharp.Text.Parsing.Tables Interpret Microsoft.FSharp.Core.FSharpFunc Microsoft.FSharp.Text.Lexing.LexBuffer Char Int32 Problem with F# Powerpack. Method no...
[ 0.0081787109375, -0.005889892578125, 0.0042724609375, 0.021484375, -0.00714111328125, 0.0225830078125, 0.0064697265625, 0.005462646484375, -0.02392578125, -0.0308837890625, -0.01336669921875, 0.000308990478515625, -0.015625, 0.00469970703125, 0.0018310546875, 0.0185546875, 0.00939941...
[ 15649, 678, 563, 4904, 17170, 29102, 74644, 959, 14037, 18499, 1238, 3949, 3742, 14537, 12353, 46471, 75161, 7244, 36381, 3467, 254, 174379, 28636, 618, 19736, 56359, 50886, 97249, 5267, 425, 214, 7235, 18234, 21656, 6460, 1902, 12960, 5036, ...
[ 0.1201171875, 0.0606689453125, 0.1422119140625, 0.2359619140625, 0.1624755859375, 0.249267578125, 0.26318359375, 0.1475830078125, 0.2171630859375, 0.1934814453125, 0.13623046875, 0.090576171875, 0.18798828125, 0.1207275390625, 0.0176239013671875, 0.028656005859375, 0.015777587890625,...
embed
41807147_c1
41807147
fsharp
1
ArgsPrinter, t: CudaAr2D<int>) = sprintf "int *%s" t.Name static member inline PrintArg(_: ArgsPrinter, (x1, x2)) = let inline print_arg x = let inline call (tok : ^T) = ((^T or ^in_) : (static member PrintArg: ArgsPrinter * ^in_ -> string) tok, x) call ArgsPrinter [|print_arg x1;print_arg x2|] |> String.concat ", " s...
ArgsPrinter, t: CudaAr2D<int>) = sprintf "int *%s" t.Name static member inline PrintArg(_: ArgsPrinter, (x1, x2)) = let inline print_arg x = let inline call (tok : ^T) = ((^T or ^in_) : (static member PrintArg: ArgsPrinter * ^in_ -> string) tok, x) call ArgsPrinter [|print_arg x1;print_arg x2|] |> String.concat ", " s...
[ 0.0019378662109375, -0.004974365234375, 0.01165771484375, 0.00927734375, -0.0032196044921875, 0.01275634765625, -0.00127410888671875, -0.004730224609375, 0.00531005859375, 0.00836181640625, 0.00286865234375, -0.02197265625, 0.0181884765625, -0.004364013671875, 0.0032958984375, 0.001480...
[ 1172, 9405, 112079, 720, 808, 3003, 85, 7614, 304, 397, 4288, 145320, 420, 3949, 163612, 201939, 32786, 2256, 39754, 177, 425, 418, 1022, 10461, 2633, 23, 28412, 61477, 11782, 6448, 618, 707, 73, 79315, 25636, 35662, 23351, 2271, 4460, 21...
[ 0.1561279296875, 0.135986328125, 0.18896484375, 0.1380615234375, 0.060943603515625, 0.13427734375, 0.073486328125, 0.1905517578125, 0.11376953125, 0.0885009765625, 0.11474609375, 0.118896484375, 0.056304931640625, 0.013275146484375, 0.08355712890625, 0.1512451171875, 0.1865234375, ...
embed
39801801_c0
39801801
fsharp
0
Title: Non decreasing list of lists Problem title: Non decreasing list of lists Tags: f%23 Problem: Non decreasing list of lists I've been trying to implement a function that takes a list of integers and then return a list of lists of integers which are non-decreasing. i.e let ls = [ 1;2;3;5;6;3;2;5;6;2] I should get [...
Non decreasing list of lists Non decreasing list of lists f%23 Non Non decreasing list of lists I've been trying to implement a function that takes a list of integers and then return a list of lists of integers which are non-decreasing. i.e How should i approach this ? i'm a total noob at functional programming. I can ...
[ -0.01495361328125, 0.016357421875, 0.01318359375, -0.006805419921875, 0.005950927734375, 0.01068115234375, -0.01361083984375, -0.00970458984375, -0.0103759765625, -0.004058837890625, 0.01806640625, 0.023681640625, 0.00118255615234375, 0.01324462890625, 0.01214599609375, 0.023193359375,...
[ 3775, 8, 7612, 162, 214, 5303, 111, 1238, 3949, 3742, 7, 31577, 29479, 32354, 51776, 892, 26255, 30646, 351, 9, 50718, 1283, 6953, 51515, 3522, 123309, 56037, 98441, 1614, 6562, 69101, 12830, 11737, 117396, 15190, 28670, 10763, 27958, 4904,...
[ 0.175537109375, 0.1087646484375, 0.1304931640625, 0.0655517578125, 0.0625, 0.2161865234375, 0.052398681640625, 0.028472900390625, 0.04571533203125, 0.09722900390625, 0.0478515625, 0.05078125, 0.108642578125, 0.14208984375, 0.08935546875, 0.1064453125, 0.115234375, 0.1075439453125, ...
embed
38903037_c0
38903037
fsharp
0
Title: Defining the Accumulator of a Tail Recursive Function in F# Problem title: Defining the Accumulator of a Tail Recursive Function in F# Tags: tail-recursion, f%23 Problem: Defining the Accumulator of a Tail Recursive Function in F# I am a beginner in F#, and I am still having trouble wrapping my head around the c...
Defining the Accumulator of a Tail Recursive Function in F# Defining the Accumulator of a Tail Recursive Function in F# tail-recursion f%23 Defining Accumulator Tail Recursive Keep Defining the Accumulator of a Tail Recursive Function in F# I am a beginner in F#, and I am still having trouble wrapping my head around th...
[ 0.01220703125, 0.024169921875, 0.00579833984375, 0.01080322265625, 0.01300048828125, -0.009765625, 0.00433349609375, -0.004608154296875, -0.0005950927734375, -0.0225830078125, 0.0213623046875, -0.00131988525390625, 0.0023651123046875, 0.01953125, 0.026123046875, 0.01531982421875, 0.0...
[ 88606, 29899, 316, 129073, 1218, 379, 853, 48650, 5844, 28670, 10763, 563, 4904, 46741, 107, 1830, 1238, 3949, 3742, 83041, 9842, 1679, 63134, 10336, 23755, 195625, 3714, 3642, 43240, 34292, 137272, 183278, 1290, 61924, 121413, 18151, 32354, ...
[ 0.1639404296875, 0.0855712890625, 0.15380859375, 0.2449951171875, 0.1800537109375, 0.160888671875, 0.092041015625, 0.191162109375, 0.1424560546875, 0.1549072265625, 0.042266845703125, 0.1190185546875, 0.1956787109375, 0.27001953125, 0.07373046875, 0.09967041015625, 0.0250244140625, ...
embed
39692473_c0
39692473
fsharp
0
Title: F# merge sort error value restriction Problem title: F# merge sort error value restriction Tags: f%23 Problem: F# merge sort error value restriction I have an F# function mergesort as well as 2 other helper functions split and merge. When i try to run it, it gives me an error: error FS0030: Value restriction. Th...
F# merge sort error value restriction F# merge sort error value restriction f%23 FS0030 Value _arg1 x::l1 y::l2 a::b::listTail a::M b::N F# merge sort error value restriction I have an F# function mergesort as well as 2 other helper functions split and merge. When i try to run it, it gives me an error: When i look at t...
[ 0.000743865966796875, 0.0098876953125, 0.01361083984375, -0.0283203125, 0.0123291015625, 0.0009307861328125, -0.0230712890625, -0.015869140625, 0.006805419921875, -0.000896453857421875, 0.00016498565673828125, 0.0206298828125, 0.0252685546875, -0.01202392578125, 0.01275634765625, -0.01...
[ 563, 4904, 42564, 12096, 18499, 34292, 185190, 1238, 3742, 93774, 7049, 1197, 190060, 61477, 275, 6562, 9874, 379, 594, 32354, 62351, 4358, 56, 65450, 136, 9790, 11675, 10644, 83, 31635, 452, 6953, 11, 32036, 20949, 4420, 30022, 18151 ]
[ 0.1282958984375, 0.1849365234375, 0.2415771484375, 0.2130126953125, 0.1634521484375, 0.140380859375, 0.20556640625, 0.045013427734375, 0.119384765625, 0.0738525390625, 0.028045654296875, 0.1162109375, 0.1627197265625, 0.05780029296875, 0.105712890625, 0.07421875, 0.043060302734375, ...
embed
72078741_c1
72078741
fsharp
1
accomplish the same thing in Fable? I'm sure I need to import JQuery into my F# code somehow, but I don't know the right incantation. The only lead I've found so far is this issue , which suggests something like: let jq : obj = importDefault "jquery" let jqCard = jq $ card But that doesn't compile in Fable 3: error FS...
accomplish the same thing in Fable? I'm sure I need to import JQuery into my F# code somehow, but I don't know the right incantation. The only lead I've found so far is this issue , which suggests something like: let jq : obj = importDefault "jquery" let jqCard = jq $ card But that doesn't compile in Fable 3: error FS...
[ 0.00396728515625, -0.01007080078125, 0.00445556640625, -0.0186767578125, 0.003936767578125, 0.000274658203125, -0.01318359375, 0.0038604736328125, -0.004852294921875, -0.031494140625, -0.005462646484375, 0.0186767578125, -0.00299072265625, -0.0013580322265625, -0.02978515625, -0.017944...
[ 163846, 5701, 13580, 23, 563, 2886, 3871, 24927, 821, 41732, 1294, 3934, 4904, 18151, 3714, 7108, 36520, 31089, 42459, 2633, 1647, 864, 995, 170, 187423, 11, 7136, 944, 156119, 3650, 20596, 22027, 18, 9969, 1340, 22408, 18499, 67619, 38796,...
[ 0.17822265625, 0.07244873046875, 0.07550048828125, 0.03607177734375, 0.12646484375, 0.190673828125, 0.0072021484375, 0.19580078125, 0.124267578125, 0.1734619140625, 0.1400146484375, 0.080322265625, 0.123779296875, 0.1077880859375, 0.0037841796875, 0.0245208740234375, 0.13427734375, ...
embed
42122462_c0
42122462
fsharp
0
Title: Create new union case from existing one Problem title: Create new union case from existing one Tags: f%23 Problem: Create new union case from existing one Is there a better way to write the addValues function below? It seems it should be possible to use pattern matching rather than FSharp.Reflection but I can't ...
Create new union case from existing one Create new union case from existing one f%23 existing Create System FSharp.Reflection Value Tag1 Tag2 Error FSharpValue.GetUnionFields v1.GetType v2.GetType amt1 amt2 FSharpValue.MakeUnion Mixed Tags Create new union case from existing one Is there a better way to write the addVa...
[ 0.00457763671875, 0.016357421875, -0.018310546875, -0.01031494140625, -0.0005950927734375, -0.004730224609375, -0.0098876953125, -0.01483154296875, 0.0177001953125, -0.0169677734375, 0.0301513671875, 0.01226806640625, 0.01177978515625, -0.0140380859375, 0.0126953125, 0.00634765625, -...
[ 151313, 3525, 69941, 7225, 1295, 144573, 1632, 1238, 3742, 12353, 93774, 3467, 254, 190015, 133, 190060, 4837, 418, 304, 212059, 856, 50770, 147547, 6159, 19388, 196707, 37286, 297, 12298, 11522, 3917, 33022, 15190, 42272, 21049, 32354, 35064, ...
[ 0.1290283203125, 0.1187744140625, 0.2196044921875, 0.2467041015625, 0.1126708984375, 0.1806640625, 0.0221099853515625, 0.002960205078125, 0.1138916015625, 0.1395263671875, 0.05059814453125, 0.1473388671875, 0.1553955078125, 0.1309814453125, 0.14501953125, 0.1923828125, 0.102966308593...
embed
50858628_c0
50858628
fsharp
0
Title: .Net trouble of reference to difference version of library Problem title: .Net trouble of reference to difference version of library Tags: .net, c%23, f%23 Problem: .Net trouble of reference to difference version of library I have F#(C# I think the same) project A that have reference to QuickGraph library of ver...
.Net trouble of reference to difference version of library .Net trouble of reference to difference version of library .net c%23 f%23 Net urn:schemas-microsoft-com:asm.v1 QuickGraph f3fb40175eec2af3 .Net trouble of reference to difference version of library I have F#(C# I think the same) project A that have reference to...
[ -0.0296630859375, 0.024169921875, 0.00170135498046875, -0.00160980224609375, -0.0179443359375, -0.00982666015625, -0.022705078125, 0.0035400390625, 0.0069580078125, -0.000675201416015625, -0.01422119140625, -0.0030517578125, 0.00408935546875, 0.0189208984375, 0.00933837890625, -0.00049...
[ 5, 24447, 63134, 111, 91067, 47, 60212, 11389, 35773, 1294, 1179, 3742, 10086, 2780, 19, 7560, 1510, 138410, 277, 39, 334, 89038, 37878, 11727, 121670, 363, 563, 4904, 5351, 5701, 13452, 62, 104271, 11814, 23, 335, 5744, 138, 43652, 4027,...
[ 0.037841796875, 0.1953125, 0.2197265625, 0.1171875, 0.2462158203125, 0.08087158203125, 0.2454833984375, 0.1947021484375, 0.172607421875, 0.0794677734375, 0.15185546875, 0.034698486328125, 0.1309814453125, 0.042724609375, 0.0176239013671875, 0.0257110595703125, 0.032989501953125, 0....
embed
64546529_c0
64546529
fsharp
0
Title: nested json parsing failing, in F# Problem title: nested json parsing failing, in F# Tags: f%23, json.net Problem: nested json parsing failing, in F# I am receiving the following data: "success": true, "data": { "offerId": "20e5ba08-7418-43c3-9b12-bb295dad9167", "state": "OFFER/SEND", "originatorPeerID": "12D3Ko...
nested json parsing failing, in F# nested json parsing failing, in F# f%23 json.net bb295dad9167 OFFER SEND p2pLastMessage p2pId BTC USDT ETH SiRoot Success Data SiData Version OfferId State OriginatorPeerID BeneficiaryPeerID SiP2PMessage Timestamp SiOffer Expiration DateTime Market BaseCurrencyAddress BaseCurrencyChai...
[ -0.00762939453125, 0.0147705078125, -0.0111083984375, 0.00860595703125, 0.00921630859375, 0.009765625, 0.004119873046875, -0.006561279296875, 0.0013580322265625, -0.0137939453125, 0.0048828125, -0.00341796875, 0.0029754638671875, 0.00628662109375, 0.00494384765625, 0.015869140625, 0....
[ 8512, 71, 1647, 1681, 366, 6953, 35782, 563, 4904, 1238, 3742, 1179, 8821, 12183, 18197, 111031, 12501, 39015, 304, 254, 2729, 271, 6011, 20499, 19052, 618, 187000, 602, 12724, 818, 144053, 11809, 137989, 40647, 134384, 22836, 119862, 18144, ...
[ 0.26318359375, 0.1072998046875, 0.1116943359375, 0.1676025390625, 0.1435546875, 0.01361083984375, 0.158447265625, 0.119384765625, 0.1737060546875, 0.05029296875, 0.10400390625, 0.0975341796875, 0.090087890625, 0.049468994140625, 0.0963134765625, 0.1414794921875, 0.006011962890625, ...
embed
64193502_c0
64193502
fsharp
0
Title: F# datatypes for inclusive options Problem title: F# datatypes for inclusive options Tags: f%23 Problem: F# datatypes for inclusive options I'm a C# programmer who just have found out the beauty of F# programming (thanks to the book Domain Modeling Made Functional ). However, I surprised that I have not found ex...
F# datatypes for inclusive options F# datatypes for inclusive options f%23 F# datatypes for inclusive options I'm a C# programmer who just have found out the beauty of F# programming (thanks to the book Domain Modeling Made Functional ). However, I surprised that I have not found examples of a common scenario: User has...
[ 0.0018157958984375, 0.00396728515625, 0.00933837890625, -0.002838134765625, -0.01495361328125, 0.0025634765625, -0.01031494140625, -0.004852294921875, 0.01031494140625, -0.01165771484375, -0.0081787109375, 0.0123291015625, 0.00701904296875, 0.0054931640625, 0.000293731689453125, 0.0187...
[ 563, 4904, 2053, 50986, 100, 55128, 50717, 1238, 3742, 313, 77848, 14037, 1810, 62607, 56037, 12877, 93702, 13293, 64337, 28670, 10763, 144285, 27781, 39210, 106117, 53400, 1556, 48716, 764, 831, 1053, 2594, 100124, 3018, 17155, 1543, 3444, 4...
[ 0.135498046875, 0.2044677734375, 0.134033203125, 0.2498779296875, 0.0264739990234375, 0.2427978515625, 0.2548828125, 0.032012939453125, 0.07635498046875, 0.00274658203125, 0.1046142578125, 0.0262451171875, 0.0023193359375, 0.084716796875, 0.085205078125, 0.02593994140625, 0.090209960...
embed
67583161_c0
67583161
fsharp
0
Title: F# execute XSL Transform from XML String and returns string Problem title: F# execute XSL Transform from XML String and returns string Tags: xslcompiledtransform, xslt, f%23 Problem: F# execute XSL Transform from XML String and returns string looking at the XSLCompiledTransform Class in .NET at trying to find a ...
F# execute XSL Transform from XML String and returns string F# execute XSL Transform from XML String and returns string xslcompiledtransform xslt f%23 XML XSL Transform XslCompiledTransform xslt.Load xslt.Transform F# execute XSL Transform from XML String and returns string looking at the XSLCompiledTransform Class in ...
[ 0.00106048583984375, 0.006103515625, 0.0074462890625, 0.01806640625, -0.002288818359375, -0.0022125244140625, -0.003997802734375, -0.0196533203125, -0.018798828125, 0.00823974609375, 0.0228271484375, 0.020263671875, -0.0198974609375, -0.0024871826171875, 0.006988525390625, 0.0048828125...
[ 563, 4904, 71924, 1193, 30508, 11062, 5037, 1295, 92537, 23351, 214, 136, 30646, 79315, 13, 1022, 24861, 5974, 297, 215175, 7, 1277, 1238, 3949, 3742, 108161, 14, 62624, 15363, 16487, 6259, 35014, 17777, 318, 4527, 120709, 70035, 158978, 55...
[ 0.1396484375, 0.208251953125, 0.1602783203125, 0.1402587890625, 0.2327880859375, 0.131103515625, 0.254150390625, 0.1141357421875, 0.2440185546875, 0.1759033203125, 0.0927734375, 0.03680419921875, 0.1934814453125, 0.20849609375, 0.0079345703125, 0.095458984375, 0.155029296875, 0.168...
embed
948543_c0
948543
fsharp
0
Title: Are parsers generated by FSYacc thread safe? Problem title: Are parsers generated by FSYacc thread safe? Tags: fsyacc, f%23 Problem: Are parsers generated by FSYacc thread safe? If I generate a parser using FSYacc will it be thread safe? The only reason I ask is because the functions Parsing.rhs_start_pos and Pa...
Are parsers generated by FSYacc thread safe? Are parsers generated by FSYacc thread safe? fsyacc f%23 FSYacc Parsing.rhs_start_pos Parsing.symbol_end_pos IParseState parse_information set_parse_state Are parsers generated by FSYacc thread safe? If I generate a parser using FSYacc will it be thread safe? The only reason...
[ -0.0034027099609375, 0.00311279296875, 0.00457763671875, 0.0250244140625, -0.0203857421875, 0.0262451171875, -0.0010986328125, -0.0006561279296875, -0.0179443359375, -0.031494140625, 0.0123291015625, 0.0244140625, -0.0186767578125, -0.0007476806640625, -0.0024871826171875, 0.0030059814...
[ 366, 7, 1314, 139392, 93774, 21566, 10060, 86997, 46002, 15901, 1238, 19834, 3742, 2392, 6953, 127, 17137, 7522, 176726, 3611, 28004, 135206, 184, 31520, 5423, 2500, 61340, 2189, 17368, 442, 186, 32354, 11341, 115081, 3934, 20949, 43581, 3775...
[ 0.1669921875, 0.1114501953125, 0.1363525390625, 0.128662109375, 0.1492919921875, 0.1829833984375, 0.18310546875, 0.170166015625, 0.185302734375, 0.00836181640625, 0.06787109375, 0.10491943359375, 0.0782470703125, 0.133544921875, 0.08831787109375, 0.0682373046875, 0.1173095703125, 0...
embed
37797304_c0
37797304
fsharp
0
Title: Code analysis in F# Problem title: Code analysis in F# Tags: f%23, code-analysis Problem: Code analysis in F# As a C# developer I've benefited from Microsoft's Code Analysis. In F# however, Code Analysis doesn't seem to be an integrated part of the development cycle. It took me a while to enable CA on an F# proj...
Code analysis in F# Code analysis in F# f%23 code-analysis Account Number Code analysis in F# As a C# developer I've benefited from Microsoft's Code Analysis. In F# however, Code Analysis doesn't seem to be an integrated part of the development cycle. It took me a while to enable CA on an F# project, but this blog help...
[ 0.014404296875, -0.0032196044921875, 0.0169677734375, 0.01507568359375, 0.01458740234375, -0.014892578125, -0.005340576171875, 0.010498046875, 0.004547119140625, 0.0062255859375, 0.00115203857421875, 0.01031494140625, 0.00135040283203125, 0.01165771484375, 0.01519775390625, -0.00022602...
[ 28864, 114137, 23, 563, 4904, 1238, 3949, 3742, 18151, 174976, 61417, 103332, 313, 106001, 68073, 297, 7244, 114837, 164, 360, 49903, 22027, 18, 48903, 47, 186, 78779, 2831, 111, 70, 34754, 105823, 34739, 10, 12960, 22, 2886, 23687, 13452, ...
[ 0.2061767578125, 0.24853515625, 0.0361328125, 0.1639404296875, 0.262939453125, 0.09405517578125, 0.0273284912109375, 0.12451171875, 0.1761474609375, 0.195068359375, 0.2081298828125, 0.147705078125, 0.020660400390625, 0.10357666015625, 0.07293701171875, 0.0145111083984375, 0.118896484...
embed
48020093_c0
48020093
fsharp
0
Title: Downcast union cases without warning errors Problem title: Downcast union cases without warning errors Tags: .net, pattern-matching, functional-programming, f%23 Problem: Downcast union cases without warning errors How can I make compiler ignore some downcast pattern matching warnings (FS0025) but must capture o...
Downcast union cases without warning errors Downcast union cases without warning errors .net pattern-matching functional-programming f%23 Downcast Student Job Teacher John FS0025 Incomplete Downcast union cases without warning errors How can I make compiler ignore some downcast pattern matching warnings (FS0025) but mu...
[ -0.0027313232421875, 0.00469970703125, 0.01068115234375, 0.003509521484375, -0.0057373046875, -0.021728515625, -0.01708984375, -0.0009613037109375, 0.0084228515625, 0.000335693359375, 0.00762939453125, 0.0081787109375, 0.01092529296875, 0.01397705078125, -0.0023040771484375, -0.0126953...
[ 49472, 55741, 69941, 50218, 15490, 1631, 592, 18499, 1179, 103510, 98753, 123309, 28966, 1238, 3742, 26696, 32664, 165136, 4939, 93774, 7049, 2588, 277, 131801, 831, 3249, 9969, 34759, 124962, 7565, 14858, 214, 6977, 36381, 88942, 8110, 141621,...
[ 0.172119140625, 0.2144775390625, 0.1553955078125, 0.1002197265625, 0.0704345703125, 0.1475830078125, 0.0860595703125, 0.164306640625, 0.1077880859375, 0.173583984375, 0.141357421875, 0.09698486328125, 0.0635986328125, 0.01568603515625, 0.077880859375, 0.102783203125, 0.099365234375, ...
embed
61326348_c0
61326348
fsharp
0
Title: How do I solve encoder problem with the Elmish Debugger? Problem title: How do I solve encoder problem with the Elmish Debugger? Tags: safe-stack, elmish, f%23 Problem: How do I solve encoder problem with the Elmish Debugger? I've got an application that I've built in SAFE-Stack using websockets, more or less fo...
How do I solve encoder problem with the Elmish Debugger? How do I solve encoder problem with the Elmish Debugger? safe-stack elmish f%23 How Elmish Debugger ConnectionState DisconnectedFromServer ConnectedToServer WsSender Connecting this.IsConnected Msg Unit How do I solve encoder problem with the Elmish Debugger? I'v...
[ 0.00188446044921875, 0.0087890625, 0.004730224609375, 0.00885009765625, -0.0177001953125, -0.00946044921875, -0.00262451171875, 0.0164794921875, -0.0013580322265625, -0.034912109375, 0.01190185546875, -0.00982666015625, 0.0262451171875, 0.012451171875, 0.00799560546875, 0.0023651123046...
[ 11249, 86869, 22, 587, 820, 2967, 678, 540, 78192, 262, 978, 21407, 46002, 590, 2594, 88, 3742, 62448, 135206, 6206, 135457, 168407, 193348, 7763, 601, 7, 294, 23894, 903, 29598, 235603, 70802, 177, 46640, 38415, 88303, 5377, 30018, 9, 42...
[ 0.046630859375, 0.1568603515625, 0.09515380859375, 0.202880859375, 0.1805419921875, 0.1339111328125, 0.04266357421875, 0.158203125, 0.2491455078125, 0.1500244140625, 0.2174072265625, 0.2022705078125, 0.135986328125, 0.109130859375, 0.0804443359375, 0.121337890625, 0.1038818359375, ...
embed
31681072_c0
31681072
fsharp
0
Title: Transferring Data From Excel to SQL Server Using F# Problem title: Transferring Data From Excel to SQL Server Using F# Tags: sql-server, f%23, excel Problem: Transferring Data From Excel to SQL Server Using F# I am currently doing a lot of data manipulation in Excel using F# from Visual Studio. I am combining, r...
Transferring Data From Excel to SQL Server Using F# Transferring Data From Excel to SQL Server Using F# sql-server f%23 excel Transferring Data Excel SQL Server Using Transferring Data From Excel to SQL Server Using F# I am currently doing a lot of data manipulation in Excel using F# from Visual Studio. I am combining,...
[ 0.0299072265625, -0.00124359130859375, -0.00089263916015625, 0.0166015625, -0.0033721923828125, -0.00238037109375, -0.0213623046875, -0.01092529296875, 0.00016498565673828125, -0.006256103515625, 0.007232666015625, -0.021240234375, 0.009765625, 0.0213623046875, -0.0032806396484375, -0....
[ 73509, 2852, 11809, 28090, 30326, 47, 80866, 22687, 345, 563, 4904, 99247, 39642, 1238, 3742, 64152, 82424, 5915, 2053, 45258, 17368, 73372, 22968, 375, 964, 49146, 2811, 23180, 4488, 7816, 2704, 50339, 14137, 150624, 31255, 214, 1295, 3934, ...
[ 0.1724853515625, 0.061553955078125, 0.1458740234375, 0.12548828125, 0.225341796875, 0.13525390625, 0.2113037109375, 0.1826171875, 0.036773681640625, 0.1280517578125, 0.2159423828125, 0.1414794921875, 0.099365234375, 0.018890380859375, 0.05352783203125, 0.1463623046875, 0.009246826171...
embed
69471151_c0
69471151
fsharp
0
Title: Type mismatch in async method Problem title: Type mismatch in async method Tags: timeout, matching, asynchronous, types, f%23 Problem: Type mismatch in async method I have an asynchronous method I'm writing which is supposed to asynchronously query for a port until it finds one, or time out at 5 minutes; member ...
Type mismatch in async method Type mismatch in async method timeout matching asynchronous types f%23 Type this.GetPort Async Port this._GetPort DateTime.Now DateTime this._TryGetOpenPort Some None TotalMinutes Exception Unable Async.Sleep Option _GetPort Type mismatch in async method I have an asynchronous method I'm w...
[ -0.008056640625, 0.0035247802734375, 0.0027313232421875, -0.0179443359375, -0.0089111328125, -0.021728515625, -0.01239013671875, 0.0025482177734375, 0.01263427734375, 0.00494384765625, 0.02001953125, 0.003936767578125, 0.000705718994140625, 0.0081787109375, 0.0201416015625, -0.00695800...
[ 60457, 1239, 98753, 10, 12654, 238, 55300, 23, 1733, 6056, 14858, 101966, 52895, 1238, 3949, 3742, 903, 724, 126, 60006, 62, 13791, 25512, 70059, 1294, 103264, 438, 33867, 169929, 63928, 2886, 133, 4517, 86769, 32562, 134598, 41, 100, 11469...
[ 0.2158203125, 0.1256103515625, 0.2861328125, 0.04205322265625, 0.2008056640625, 0.10107421875, 0.1612548828125, 0.034088134765625, 0.14697265625, 0.1300048828125, 0.16015625, 0.149169921875, 0.182373046875, 0.027923583984375, 0.029937744140625, 0.1156005859375, 0.050628662109375, 0...
embed
36270661_c0
36270661
fsharp
0
Title: Passing Two Variables into Pipeline Problem title: Passing Two Variables into Pipeline Tags: f%23 Problem: Passing Two Variables into Pipeline I have been attempting the Eulers in F#* and am currently on #5. My problem is using a function that takes more than one parameter in a pipeline operation. This function ...
Passing Two Variables into Pipeline Passing Two Variables into Pipeline f%23 Passing Two Variables Pipeline Seq.forall Seq.initInfinite Seq.find Passing Two Variables into Pipeline I have been attempting the Eulers in F#* and am currently on #5. My problem is using a function that takes more than one parameter in a pip...
[ 0.00830078125, -0.007354736328125, -0.0186767578125, 0.02490234375, -0.01190185546875, 0.0028076171875, 0.009033203125, -0.02685546875, 0.0284423828125, -0.031982421875, 0.0167236328125, 0.0294189453125, 0.0179443359375, 0.020751953125, -0.00653076171875, -0.00396728515625, 0.0030670...
[ 28872, 32964, 111477, 13566, 3934, 93128, 59760, 1238, 3949, 3742, 864, 5584, 48310, 111607, 81887, 5177, 603, 7, 563, 4904, 758, 2967, 17368, 32354, 51776, 1286, 3501, 1632, 171859, 137158, 2256, 41018, 26785, 30646, 5117, 99017, 11907, 3278...
[ 0.1170654296875, 0.1671142578125, 0.1904296875, 0.1376953125, 0.117431640625, 0.13623046875, 0.2008056640625, 0.057769775390625, 0.03515625, 0.126220703125, 0.0706787109375, 0.0489501953125, 0.0904541015625, 0.05517578125, 0.0653076171875, 0.111572265625, 0.16455078125, 0.017700195...
embed
5789746_c0
5789746
fsharp
0
Title: Can I use the &#x27;use&#x27; keyword with object expressions? Problem title: Can I use the &#x27;use&#x27; keyword with object expressions? Tags: f%23 Problem: Can I use the 'use' keyword with object expressions? I'm using an object expression to implement two interfaces. One of the interfaces is IDisposable. I...
Can I use the &#x27;use&#x27; keyword with object expressions? Can I use the &#x27;use&#x27; keyword with object expressions? f%23 Can SqlConnection conn.Open IConnMan x.Connect x.Disconnect IDisposable x.Dispose conn.Close conn.Dispose Error Can I use the 'use' keyword with object expressions? I'm using an object expr...
[ 0.0021820068359375, 0.0089111328125, 0.00994873046875, 0.003631591796875, -0.00653076171875, 0.01019287109375, -0.0279541015625, 0.0196533203125, 0.00982666015625, -0.034423828125, 0.00107574462890625, -0.00531005859375, 0.026123046875, -0.0093994140625, 0.00689697265625, -0.0083007812...
[ 4171, 87, 4527, 3768, 4032, 166117, 678, 36746, 125195, 3742, 99247, 235603, 1830, 158, 19, 103264, 11935, 12662, 1022, 44456, 135457, 11338, 164, 7522, 2886, 78381, 59453, 212059, 17368, 29479, 6626, 101758, 84751, 50339, 18499 ]
[ 0.0948486328125, 0.0223846435546875, 0.1307373046875, 0.1619873046875, 0.2159423828125, 0.2491455078125, 0.111328125, 0.2215576171875, 0.2293701171875, 0.03094482421875, 0.157470703125, 0.1229248046875, 0.0221710205078125, 0.056671142578125, 0.033477783203125, 0.08056640625, 0.081298...
embed
49296940_c0
49296940
fsharp
0
Title: How to use &quot;If not null Else&quot; to set value? Problem title: How to use &quot;If not null Else&quot; to set value? Tags: f%23 Problem: How to use "If not null Else" to set value? In VB.NET you can write this Dim mammal as IAnimal = new Mammal Dim bird as IAnimal = new Bird ' If mammal is not Nothing, ani...
How to use &quot;If not null Else&quot; to set value? How to use &quot;If not null Else&quot; to set value? f%23 How Dim IAnimal Mammal Bird Nothing IfNotNullElse How to use "If not null Else" to set value? In VB.NET you can write this And in C# But how to do it in F#? Is there any short syntax like in VB.NET and C#? I...
[ 0.00116729736328125, -0.00958251953125, 0.0036468505859375, 0.01287841796875, 0.0184326171875, -0.0118408203125, 0.019287109375, -0.007415771484375, -0.00011920928955078125, -0.005096435546875, 0.009765625, 0.015625, 0.00897216796875, 0.00445556640625, 0.0262451171875, -0.010986328125,...
[ 11249, 4527, 91306, 959, 56574, 540, 184, 5423, 34292, 47, 1238, 3742, 45247, 87, 93, 2749, 101860, 141, 72607, 182747, 4263, 122116, 18444, 1181, 7623, 75034, 17777, 831, 33022, 903, 4904, 3642, 54, 23, 563, 16610, 6002, 86531, 91995, 21...
[ 0.033599853515625, 0.0872802734375, 0.1715087890625, 0.1920166015625, 0.240234375, 0.129150390625, 0.1502685546875, 0.1588134765625, 0.2186279296875, 0.031036376953125, 0.039642333984375, 0.114501953125, 0.1226806640625, 0.009765625, 0.06396484375, 0.03399658203125, 0.07080078125, ...
embed
6839575_c0
6839575
fsharp
0
Title: Continuations: can I serialize the continuation in an F# async workflow or C# async function? Problem title: Continuations: can I serialize the continuation in an F# async workflow or C# async function? Tags: f%23, continuations, c%23, android-asynctask Problem: Continuations: can I serialize the continuation in...
Continuations: can I serialize the continuation in an F# async workflow or C# async function? Continuations: can I serialize the continuation in an F# async workflow or C# async function? f%23 continuations c%23 android-asynctask Continuations IAsyncResult Task Continuations: can I serialize the continuation in an F# a...
[ 0.004913330078125, 0.0242919921875, 0.006866455078125, -0.0255126953125, -0.005096435546875, -0.0118408203125, -0.00616455078125, -0.0101318359375, 0.009765625, -0.01483154296875, -0.0054931640625, 0.0177001953125, -0.00604248046875, 0.024658203125, 0.002838134765625, 0.0137939453125, ...
[ 50343, 5256, 831, 87, 35686, 20650, 9454, 1363, 563, 4904, 12654, 238, 4488, 118664, 32354, 313, 1238, 3742, 54527, 1042, 284, 4332, 7, 7136, 9598, 23, 10, 3444, 1418, 2886, 39580, 133, 28338, 12960, 89289, 47353, 14847, 98, 2633, 38, 2...
[ 0.2252197265625, 0.11865234375, 0.10009765625, 0.060272216796875, 0.2352294921875, 0.1107177734375, 0.2193603515625, 0.1005859375, 0.093994140625, 0.162353515625, 0.1771240234375, 0.040130615234375, 0.0718994140625, 0.1763916015625, 0.1419677734375, 0.01129150390625, 0.04922485351562...
embed
30294207_c1
30294207
fsharp
1
InitialState":%d}""" (arrayToString this.SymbolTable) (arrayToString this.ProductionTable) (arrayToString2 this.ParserTables) (this.InitialTable) (this.InitialState) Can anyone tell me how to do it right? The arrayToString is supposed to be generic over the array types contained as members in my class type... F# 3.1 bt...
InitialState":%d}""" (arrayToString this.SymbolTable) (arrayToString this.ProductionTable) (arrayToString2 this.ParserTables) (this.InitialTable) (this.InitialState) Can anyone tell me how to do it right? The arrayToString is supposed to be generic over the array types contained as members in my class type... F# 3.1 bt...
[ -0.029296875, 0.01141357421875, -0.006866455078125, 0.0106201171875, -0.035888671875, 0.0166015625, -0.0027313232421875, 0.036376953125, 0.002227783203125, 0.00177001953125, -0.004974365234375, 0.00250244140625, 0.00653076171875, 0.0002994537353515625, 0.001678466796875, 0.003494262695...
[ 360, 1890, 289, 135206, 13, 12, 3949, 71, 8152, 58, 19305, 53, 7763, 71713, 214, 903, 65183, 36846, 618, 2886, 10752, 77391, 304, 28636, 2189, 19736, 100231, 4153, 14192, 3642, 47, 54, 442, 7108, 10298, 134598, 186, 189534, 645, 52895, ...
[ 0.1337890625, 0.1988525390625, 0.16357421875, 0.2333984375, 0.107421875, 0.0079345703125, 0.00274658203125, 0.0816650390625, 0.03179931640625, 0.03240966796875, 0.1258544921875, 0.1585693359375, 0.26904296875, 0.2149658203125, 0.175048828125, 0.147705078125, 0.104248046875, 0.17919...
embed
45859495_c0
45859495
fsharp
0
Title: Need Help on Translating C# to F# Problem title: Need Help on Translating C# to F# Tags: f%23, c%23-to-f%23 Problem: Need Help on Translating C# to F# I need help on translating custom extension for IndexOfAny for string as existing framework does not have IndexOfAny that matching string values. Already translat...
Need Help on Translating C# to F# Need Help on Translating C# to F# f%23 c%23-to-f%23 Need Help Translating IndexOfAnyCSharp str.IndexOf Extension IndexOfAnyFSharp str:string anyOff:string Need Help on Translating C# to F# I need help on translating custom extension for IndexOfAny for string as existing framework does ...
[ -0.004302978515625, 0.006195068359375, 0.03369140625, 0.0238037109375, -0.0250244140625, -0.0159912109375, 0.00506591796875, -0.0284423828125, 0.019775390625, -0.00029754638671875, 0.0172119140625, -0.01446533203125, -0.00048828125, 0.03076171875, 0.0115966796875, -0.0186767578125, 0...
[ 52889, 39527, 98, 11062, 143, 1916, 313, 4904, 47, 563, 1238, 3742, 27495, 188, 420, 31471, 132887, 299, 3467, 254, 7704, 39659, 224545, 91693, 2499, 150369, 3871, 4358, 3900, 114122, 111938, 284, 100, 79315, 144573, 170846, 959, 14858, 142...
[ 0.072021484375, 0.11083984375, 0.00543212890625, 0.1409912109375, 0.1766357421875, 0.06658935546875, 0.10107421875, 0.220947265625, 0.1629638671875, 0.1593017578125, 0.0325927734375, 0.08807373046875, 0.1251220703125, 0.10986328125, 0.0792236328125, 0.22607421875, 0.1982421875, 0.1...
embed
53963517_c0
53963517
fsharp
0
Title: F# making list of pairs from two lists Problem title: F# making list of pairs from two lists Tags: f%23 Problem: F# making list of pairs from two lists I need to do create a function in F# to pair elements in two lists together(See (ii) in the following picture) : I'm actually not completely sure what the questi...
F# making list of pairs from two lists F# making list of pairs from two lists f%23 two l.Length m.Length l.Head m.Head F# making list of pairs from two lists I need to do create a function in F# to pair elements in two lists together(See (ii) in the following picture) : I'm actually not completely sure what the questio...
[ -0.00025177001953125, 0.023681640625, 0.00099945068359375, -0.0027618408203125, 0.00946044921875, 0.0279541015625, -0.01165771484375, -0.00927734375, 0.001861572265625, -0.0235595703125, 0.02880859375, 0.01708984375, 0.01123046875, -0.006988525390625, -0.00946044921875, -0.018920898437...
[ 563, 4904, 20662, 5303, 80836, 7, 1295, 6626, 1238, 3742, 13025, 712, 3871, 28282, 32354, 47, 80854, 23, 25842, 49726, 51776, 30646, 8962, 16750, 5117, 12830, 17932, 28219, 2367, 661, 29459, 3502, 6562, 11, 275, 33079, 8560, 8305, 39527 ]
[ 0.1356201171875, 0.198974609375, 0.026641845703125, 0.23046875, 0.25341796875, 0.056915283203125, 0.08624267578125, 0.1728515625, 0.061431884765625, 0.0782470703125, 0.057342529296875, 0.03094482421875, 0.0416259765625, 0.09918212890625, 0.1680908203125, 0.060516357421875, 0.16748046...
embed
6031507_c0
6031507
fsharp
0
Title: f# read xls file - how to parse a value2 object Problem title: f# read xls file - how to parse a value2 object Tags: f%23, .net, excel, c%23 Problem: f# read xls file - how to parse a value2 object I tried to use F# read a xls file as below open Microsoft.Office.Interop.Excel let app = ApplicationClass(Visible =...
f# read xls file - how to parse a value2 object f# read xls file - how to parse a value2 object f%23 .net excel c%23 value2 Microsoft.Office.Interop.Excel ApplicationClass Visible app.Workbooks.Open test.xls book.Worksheets _Worksheet sheet.UsedRange.Value2 bound1 bound2 colname1 colname2 vals.ToString System.Object f#...
[ 0.007659912109375, 0.0015106201171875, -0.0025634765625, 0.0220947265625, 0.003692626953125, 0.0220947265625, -0.0179443359375, -0.0020904541015625, 0.004180908203125, 0.03564453125, 0.005462646484375, 0.003875732421875, 0.017333984375, -0.02734375, 0.006561279296875, -0.00289916992187...
[ 1238, 4904, 12301, 1022, 8080, 11435, 3642, 366, 184, 34292, 304, 36746, 3742, 1179, 64152, 7244, 94833, 44851, 2146, 184926, 104921, 140803, 582, 55356, 4027, 81415, 103264, 3034, 92595, 7816, 155434, 1062, 51459, 856, 50770, 99091, 11627, 3...
[ 0.135009765625, 0.2249755859375, 0.153076171875, 0.135986328125, 0.1787109375, 0.111083984375, 0.03094482421875, 0.1478271484375, 0.1072998046875, 0.1954345703125, 0.1844482421875, 0.1658935546875, 0.06158447265625, 0.07281494140625, 0.1136474609375, 0.0178375244140625, 0.09948730468...
embed
64947284_c0
64947284
fsharp
0
Title: F# : I need to format my output to only contain comma-separated integers, rather than the list format in F# Problem title: F# : I need to format my output to only contain comma-separated integers, rather than the list format in F# Tags: formatting, list, functional-programming, f%23 Problem: F# : I need to forma...
F# : I need to format my output to only contain comma-separated integers, rather than the list format in F# F# : I need to format my output to only contain comma-separated integers, rather than the list format in F# formatting list functional-programming f%23 Even evens_only List Int32 output_list List.filter F# : I ne...
[ -0.02587890625, 0.017578125, 0.018310546875, -0.0059814453125, -0.0067138671875, 0.0201416015625, 0.0228271484375, 0.00616455078125, 0.0194091796875, 0.0228271484375, 0.017822265625, -0.0291748046875, -0.0035858154296875, 0.01361083984375, 0.00531005859375, 0.010986328125, -0.0035858...
[ 563, 4904, 87, 3871, 9384, 759, 140992, 47, 4734, 70541, 96117, 184, 6276, 892, 26255, 43257, 3501, 5303, 3674, 123309, 28966, 1238, 3742, 31267, 3853, 191, 538, 32036, 18, 6460, 6562, 120337, 32354, 51776, 10, 44401, 142424, 30646, 5701, ...
[ 0.13525390625, 0.20751953125, 0.0059814453125, 0.110107421875, 0.224853515625, 0.032470703125, 0.2305908203125, 0.0321044921875, 0.095947265625, 0.1156005859375, 0.2225341796875, 0.0234832763671875, 0.1348876953125, 0.1207275390625, 0.1029052734375, 0.03399658203125, 0.00701904296875...
embed
68188352_c1
68188352
fsharp
1
solution. The following code seems worked: open System open System.Reactive.Linq open FSharpPlus open FSharpPlus.Data let rec interpret (p: Free<IObservable<'a>, 'a>) : IObservable<'a> = match Free.run p with | Choice1Of2 x -> Observable.Return(x) | Choice2Of2 p' -> p'.SelectMany(interpret) let test = monad { let! a =...
solution. The following code seems worked: open System open System.Reactive.Linq open FSharpPlus open FSharpPlus.Data let rec interpret (p: Free<IObservable<'a>, 'a>) : IObservable<'a> = match Free.run p with | Choice1Of2 x -> Observable.Return(x) | Choice2Of2 p' -> p'.SelectMany(interpret) let test = monad { let! a =...
[ -0.0133056640625, 0.020263671875, 0.004730224609375, 0.021240234375, 0.00151824951171875, -0.00335693359375, -0.01177978515625, 0.01806640625, -0.01129150390625, -0.035400390625, -0.0003185272216796875, -0.00799560546875, 0.01007080078125, 0.0264892578125, -0.00665283203125, -0.0077819...
[ 29806, 25632, 18151, 37202, 79786, 9803, 12353, 4332, 71232, 866, 44982, 93774, 3467, 254, 88225, 137989, 2633, 21954, 29481, 5153, 17780, 275, 65756, 2661, 11, 87, 46471, 14858, 16428, 915, 181948, 132887, 304, 1022, 87652, 987, 425, 100184,...
[ 0.1470947265625, 0.05377197265625, 0.1552734375, 0.07373046875, 0.1260986328125, 0.1641845703125, 0.1529541015625, 0.0195159912109375, 0.1668701171875, 0.034912109375, 0.1759033203125, 0.01837158203125, 0.130126953125, 0.0914306640625, 0.1962890625, 0.09002685546875, 0.02099609375, ...
embed
3654391_c0
3654391
fsharp
0
Title: How do I use breakpoints in F# interactive? Problem title: How do I use breakpoints in F# interactive? Tags: f%23, breakpoints, f%23-interactive, debugging Problem: How do I use breakpoints in F# interactive? I've started researching some ideas in algorithms using VS2010 and F# interactive. So, I've created a De...
How do I use breakpoints in F# interactive? How do I use breakpoints in F# interactive? f%23 breakpoints f%23-interactive debugging How DebugScript.fsx Debugger.Break How do I use breakpoints in F# interactive? I've started researching some ideas in algorithms using VS2010 and F# interactive. So, I've created a DebugSc...
[ 0.01043701171875, -0.02490234375, 0.00109100341796875, 0.01202392578125, -0.00543212890625, 0.00119781494140625, 0.02294921875, 0.01397705078125, -0.001739501953125, -0.027099609375, 0.01416015625, 0.0050048828125, 0.003570556640625, -0.0048828125, 0.0247802734375, -0.00138092041015625...
[ 11249, 54, 87, 4527, 36356, 38496, 7, 23, 563, 4904, 212398, 1238, 3742, 27495, 10433, 71232, 8, 978, 262, 85779, 147845, 17447, 425, 21407, 57572, 25188, 25647, 234873, 44160, 11436, 136, 75935, 33022, 18151, 4153, 18, 3034, 3871, 105556, ...
[ 0.0718994140625, 0.0283203125, 0.03167724609375, 0.1417236328125, 0.23388671875, 0.2607421875, 0.0953369140625, 0.0712890625, 0.1492919921875, 0.228271484375, 0.2314453125, 0.08978271484375, 0.05987548828125, 0.042144775390625, 0.0770263671875, 0.0341796875, 0.1279296875, 0.1781005...
embed
2777141_c1
2777141
fsharp
1
>() lock _connections (fun () -> _connections.Add(tid, cl)) cl // find connection for this connection string let connection = match connections.TryGetValue(connectionString) with | true, con -> con | false, _ -> let initial = (connections.Count = 0) let con = openConnection() connections.Add(connectionString, con) // i...
>() lock _connections (fun () -> _connections.Add(tid, cl)) cl // find connection for this connection string let connection = match connections.TryGetValue(connectionString) with | true, con -> con | false, _ -> let initial = (connections.Count = 0) let con = openConnection() connections.Add(connectionString, con) // i...
[ -0.01116943359375, 0.0291748046875, 0.0059814453125, -0.0115966796875, -0.007354736328125, -0.017578125, -0.0196533203125, -0.0084228515625, 0.00701904296875, -0.044189453125, -0.021240234375, 0.03271484375, 0.006317138671875, 0.00811767578125, 0.000331878662109375, 0.00762939453125, ...
[ 977, 132, 16, 56776, 101, 135457, 17514, 16498, 33079, 284, 4028, 8460, 33139, 4666, 7413, 94878, 100, 903, 79315, 2633, 14858, 1294, 126, 856, 50770, 1830, 71713, 29568, 158, 98320, 61475, 108210, 757, 9803, 235603, 5117, 124161, 68067, 46...
[ 0.080078125, 0.047454833984375, 0.0008544921875, 0.270263671875, 0.0191650390625, 0.2366943359375, 0.173583984375, 0.2012939453125, 0.029541015625, 0.015899658203125, 0.155517578125, 0.2371826171875, 0.17578125, 0.0616455078125, 0.1485595703125, 0.27294921875, 0.035888671875, 0.085...
embed