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
34120591_c0
34120591
fsharp
0
Title: F# generic function filter list of discriminated unions Problem title: F# generic function filter list of discriminated unions Tags: generics, unions, f%23, filter Problem: F# generic function filter list of discriminated unions F# newbie question. I have a list of discriminated unions like: type Type1 = { name:...
F# generic function filter list of discriminated unions F# generic function filter list of discriminated unions generics unions f%23 filter Type1 name:string Type2 Type3 naam:string Union1 lst1 naam1 fltT1 l:list acc:list h::t List.rev F# generic function filter list of discriminated unions F# newbie question. I have a...
[ -0.00762939453125, 0.01953125, 0.00946044921875, -0.0126953125, -0.003692626953125, -0.00775146484375, -0.006072998046875, 0.00070953369140625, 0.00860595703125, -0.021728515625, 0.007232666015625, -0.00970458984375, 0.013671875, -0.0103759765625, -0.00185394287109375, -0.0050659179687...
[ 563, 4904, 189534, 32354, 46312, 5303, 55970, 3674, 69941, 1238, 3742, 60457, 418, 9351, 91693, 304, 363, 22210, 32528, 6562, 32036, 65381, 3525, 9014, 9655, 765, 111, 7, 1884, 11249, 831, 87, 3249, 6044, 40140, 18929, 11782, 56065, 140992,...
[ 0.1241455078125, 0.196533203125, 0.256103515625, 0.1829833984375, 0.2008056640625, 0.1295166015625, 0.2227783203125, 0.076171875, 0.20458984375, 0.0509033203125, 0.0843505859375, 0.1536865234375, 0.040863037109375, 0.07757568359375, 0.122314453125, 0.10565185546875, 0.0810546875, 0...
embed
49493295_c0
49493295
fsharp
0
Title: Deserialize missing values of type to certain value Problem title: Deserialize missing values of type to certain value Tags: f%23, json.net Problem: Deserialize missing values of type to certain value I have made a wrapper type called Skippable<'a> (an F# discriminated union, not unlike Option ) specifically mea...
Deserialize missing values of type to certain value Deserialize missing values of type to certain value f%23 json.net Deserialize Skippable Option Skip Serialize DefaultValueAttribute json.net Deserialize missing values of type to certain value I have made a wrapper type called Skippable<'a> (an F# discriminated union,...
[ -0.00099945068359375, 0.02685546875, 0.0086669921875, -0.006256103515625, -0.038330078125, -0.015869140625, -0.0005035400390625, 0.01165771484375, 0.005828857421875, 0.0419921875, -0.0057373046875, 0.015380859375, 0.001678466796875, 0.033935546875, 0.00482177734375, 0.00073623657226562...
[ 5581, 25435, 119066, 132283, 142424, 10644, 47, 24233, 34292, 111, 1238, 3949, 3742, 1647, 1681, 1179, 91958, 254, 2886, 86769, 135188, 20650, 262, 1021, 7136, 856, 50770, 28848, 191145, 7228, 137565, 1264, 25, 11, 563, 4904, 55970, 69941, ...
[ 0.1475830078125, 0.23583984375, 0.13720703125, 0.244384765625, 0.232666015625, 0.22412109375, 0.1241455078125, 0.083251953125, 0.1937255859375, 0.01434326171875, 0.05609130859375, 0.0501708984375, 0.1378173828125, 0.0826416015625, 0.1890869140625, 0.116455078125, 0.26318359375, 0.1...
embed
16990747_c0
16990747
fsharp
0
Title: Recursive records in F# Problem title: Recursive records in F# Tags: f%23, recursion, record Problem: Recursive records in F# A friend and I are reading up on F# and are messing around with records at the moment. We have made the following record for representing a person: type Person = {name: string; father: Pe...
Recursive records in F# Recursive records in F# f%23 recursion record Recursive Person Recursive records in F# A friend and I are reading up on F# and are messing around with records at the moment. We have made the following record for representing a person: F# Interactive accepts it, and in some way, the type makes se...
[ 0.0013885498046875, 0.01495361328125, 0.0035400390625, 0.037841796875, -0.01177978515625, 0.00634765625, -0.01513671875, 0.01531982421875, -0.00494384765625, -0.039794921875, 0.0030975341796875, 0.007781982421875, 0.00921630859375, 0.02294921875, 0.0235595703125, -0.01544189453125, 0...
[ 853, 48650, 5844, 115923, 563, 4904, 1238, 3949, 3742, 195625, 1830, 17164, 15270, 23, 34391, 16454, 163, 38001, 10932, 3095, 7228, 25632, 33636, 214, 3445, 5337, 71232, 26946, 10644, 30482, 10422, 18, 1957, 3642, 4527, 442, 9790, 159978, 7...
[ 0.1019287109375, 0.238525390625, 0.1505126953125, 0.2293701171875, 0.1318359375, 0.2301025390625, 0.066650390625, 0.0264434814453125, 0.12939453125, 0.241455078125, 0.03216552734375, 0.2005615234375, 0.1876220703125, 0.013580322265625, 0.0625, 0.038116455078125, 0.024261474609375, ...
embed
23737840_c0
23737840
fsharp
0
Title: F# Deedle&#x27;s csv file load time Problem title: F# Deedle&#x27;s csv file load time Tags: type-providers, f%23, f%23-interactive, deedle Problem: F# Deedle's csv file load time I have been using the CSV provider to load files of about 300k to 1M rows (50~120megs). It works very well and is very fast. It can l...
F# Deedle&#x27;s csv file load time F# Deedle&#x27;s csv file load time type-providers f%23 f%23-interactive deedle Deedle Csv2 CsvFile.Parse Csv2.Rows Seq.toArray Timing Real CPU gen0 gen1 gen2 Frame.ReadCsv F# Deedle's csv file load time I have been using the CSV provider to load files of about 300k to 1M rows (50~12...
[ 0.0205078125, 0.015380859375, 0.0230712890625, 0.01300048828125, -0.00157928466796875, -0.00677490234375, -0.0113525390625, 0.00531005859375, -0.004974365234375, -0.0283203125, -0.00927734375, -0.01104736328125, -0.0196533203125, -0.0184326171875, 0.004669189453125, 0.0140380859375, ...
[ 563, 4904, 262, 297, 133, 3768, 20763, 334, 11435, 72367, 1733, 10644, 93136, 1238, 3742, 27495, 10433, 8, 313, 67756, 304, 174350, 28636, 5442, 12724, 864, 7092, 13320, 5120, 86039, 9226, 2389, 418, 42557, 31345, 17368, 43486, 81450, 10215...
[ 0.0799560546875, 0.185302734375, 0.155517578125, 0.191650390625, 0.19482421875, 0.0860595703125, 0.1348876953125, 0.219482421875, 0.12353515625, 0.18603515625, 0.131103515625, 0.1007080078125, 0.1068115234375, 0.054046630859375, 0.0164031982421875, 0.011749267578125, 0.0435791015625,...
embed
56059634_c0
56059634
fsharp
0
Title: Error FS3021 Unexpected exception from provided type &#x27;FSharp Problem title: Error FS3021 Unexpected exception from provided type &#x27;FSharp Tags: data-access-layer, .net, f%23 Problem: Error FS3021 Unexpected exception from provided type 'FSharp I created F# Console Application (.NET 4.7.2) and then added...
Error FS3021 Unexpected exception from provided type &#x27;FSharp Error FS3021 Unexpected exception from provided type &#x27;FSharp data-access-layer .net f%23 provided Error FS3021 Unexpected FSharp File1 FSharp.Data.SqlProvider.dll System FSharp.Data.Sql Literal Common.DatabaseProviderTypes.MSSQLSERVER Server Databas...
[ 0.0205078125, 0.00946044921875, -0.0184326171875, 0.00063323974609375, 0.007415771484375, 0.00543212890625, 0.0133056640625, -0.0169677734375, -0.00994873046875, -0.03369140625, 0.01385498046875, -0.004730224609375, 0.019287109375, -0.01470947265625, 0.001800537109375, 0.00192260742187...
[ 212059, 93774, 1197, 3117, 992, 83613, 13, 131527, 1295, 62952, 10644, 3768, 36381, 3467, 254, 2053, 113041, 5259, 1179, 1238, 3742, 42724, 418, 137989, 99247, 177997, 62160, 1181, 135940, 151301, 196707, 158897, 116808, 22687, 23924, 50777, 87...
[ 0.11572265625, 0.1741943359375, 0.1397705078125, 0.2010498046875, 0.041412353515625, 0.08905029296875, 0.07684326171875, 0.1798095703125, 0.034637451171875, 0.1861572265625, 0.1702880859375, 0.049652099609375, 0.08917236328125, 0.1864013671875, 0.1810302734375, 0.044403076171875, 0.1...
embed
61102717_c0
61102717
fsharp
0
Title: Can&#x27;t understand the logic of F# mutable variable inside function body Problem title: Can&#x27;t understand the logic of F# mutable variable inside function body Tags: f%23 Problem: Can't understand the logic of F# mutable variable inside function body I'm learning F# and get stuck with the concept of mutab...
Can&#x27;t understand the logic of F# mutable variable inside function body Can&#x27;t understand the logic of F# mutable variable inside function body f%23 Can Can't understand the logic of F# mutable variable inside function body I'm learning F# and get stuck with the concept of mutable keyword. Please see the below ...
[ 0.0296630859375, 0.00384521484375, 0.01043701171875, -0.0069580078125, 0.01220703125, 0.01446533203125, 0.006103515625, 0.0022125244140625, 0.0152587890625, -0.005096435546875, 0.0035552978515625, 0.01953125, 0.0115966796875, 0.017578125, 0.05859375, -0.01287841796875, -0.00769042968...
[ 4171, 3768, 18, 28219, 62775, 563, 4904, 842, 22819, 77336, 46132, 32354, 14361, 1238, 3742, 52080, 179933, 23755, 166117, 35064, 27781, 130078, 51312, 106, 11907, 1733, 35839, 678, 15, 4966, 11737, 18151, 14602, 959, 83, 11343, 116, 12877, ...
[ 0.052337646484375, 0.054168701171875, 0.062744140625, 0.1717529296875, 0.212158203125, 0.1514892578125, 0.247802734375, 0.1822509765625, 0.2271728515625, 0.2418212890625, 0.17431640625, 0.164794921875, 0.1959228515625, 0.064208984375, 0.0322265625, 0.049285888671875, 0.05490112304687...
embed
45789313_c0
45789313
fsharp
0
Title: slow matrix operations compared to R Problem title: slow matrix operations compared to R Tags: f%23, mathnet-numerics Problem: slow matrix operations compared to R The following calculation runs much slower than it does in R: let result = (X.Transpose() * b * X).Inverse() * (X.Transpose() * b) * e // about 4 sec...
slow matrix operations compared to R slow matrix operations compared to R f%23 mathnet-numerics X.Transpose Inverse Solve MathNet.Numerics.LinearAlgebra DenseMatrix.init SparseMatrix.ofDiag slow matrix operations compared to R The following calculation runs much slower than it does in R: or this: where In R however, th...
[ -0.01092529296875, 0.0242919921875, 0.0166015625, -0.0186767578125, 0.0004024505615234375, -0.024169921875, -0.01348876953125, -0.0021209716796875, 0.001800537109375, -0.00113677978515625, 0.00189208984375, 0.01904296875, 0.001190185546875, -0.01055908203125, -0.017333984375, 0.0178222...
[ 72803, 50944, 425, 41018, 154186, 47, 627, 1238, 3949, 3742, 48909, 1179, 1193, 62624, 78381, 37676, 6678, 272, 78804, 24447, 93232, 429, 1575, 184, 4613, 87427, 37456, 4390, 72838, 177, 25632, 74481, 1363, 127877, 5045, 56, 3501, 23, 903, ...
[ 0.251708984375, 0.1697998046875, 0.03607177734375, 0.1773681640625, 0.1226806640625, 0.00634765625, 0.145263671875, 0.07208251953125, 0.05279541015625, 0.1202392578125, 0.00469970703125, 0.1136474609375, 0.044891357421875, 0.01678466796875, 0.0516357421875, 0.1419677734375, 0.0642089...
embed
47857249_c0
47857249
fsharp
0
Title: F# Change element in list and return full new list Problem title: F# Change element in list and return full new list Tags: f%23 Problem: F# Change element in list and return full new list I have a list of type (string * (int * int)) list . I want to be able to search through the list, finding the right element b...
F# Change element in list and return full new list F# Change element in list and return full new list f%23 Change Expected Illegal F# Change element in list and return full new list I have a list of type (string * (int * int)) list . I want to be able to search through the list, finding the right element by it's string...
[ -0.0166015625, 0.00811767578125, 0.0000514984130859375, 0.00191497802734375, 0.003662109375, -0.005950927734375, -0.0047607421875, -0.007293701171875, 0.0159912109375, 0.0125732421875, 0.02294921875, 0.025634765625, -0.0294189453125, -0.00180816650390625, -0.000637054443359375, -0.0147...
[ 563, 4904, 87377, 12830, 23, 5303, 136, 30646, 4393, 3525, 1238, 3742, 60075, 13, 891, 86966, 765, 10644, 91693, 661, 4288, 18, 3444, 19048, 33938, 8305, 90791, 7108, 79315, 42485, 74481, 933, 73197, 6138, 2203, 11, 418, 3559, 50258, 304,...
[ 0.1136474609375, 0.15966796875, 0.2227783203125, 0.1827392578125, 0.10418701171875, 0.1925048828125, 0.0197906494140625, 0.1588134765625, 0.121826171875, 0.10101318359375, 0.068115234375, 0.09783935546875, 0.09893798828125, 0.099853515625, 0.06689453125, 0.1597900390625, 0.0019226074...
embed
25750267_c0
25750267
fsharp
0
Title: Set F# list as null for serialisation Problem title: Set F# list as null for serialisation Tags: json.net, f%23 Problem: Set F# list as null for serialisation I'm using F# alongside a JSON data-store making use of the JSON.NET library. I'm trying to utilise F# structures and types where possible and have run int...
Set F# list as null for serialisation Set F# list as null for serialisation json.net f%23 Set Fred json.net Set F# list as null for serialisation I'm using F# alongside a JSON data-store making use of the JSON.NET library. I'm trying to utilise F# structures and types where possible and have run into the following issu...
[ 0.024658203125, 0.00994873046875, 0.01458740234375, -0.0034942626953125, -0.006500244140625, -0.0011749267578125, 0.01300048828125, 0.0030059814453125, -0.010498046875, 0.04150390625, 0.01104736328125, 0.043701171875, -0.0096435546875, -0.00787353515625, 0.0146484375, 0.001777648925781...
[ 19943, 563, 4904, 5303, 237, 56574, 100, 35686, 15032, 1647, 1681, 1179, 1238, 3742, 47192, 17368, 821, 58627, 2053, 45804, 17777, 95601, 45646, 52895, 7722, 31089, 32599, 4343, 25632, 15678, 2320, 43240, 5885, 28350, 9351, 44457, 25379, 1716...
[ 0.1142578125, 0.1392822265625, 0.2392578125, 0.1732177734375, 0.06793212890625, 0.21337890625, 0.032196044921875, 0.1917724609375, 0.093994140625, 0.0882568359375, 0.14013671875, 0.093017578125, 0.0635986328125, 0.049041748046875, 0.143798828125, 0.0157623291015625, 0.1123046875, 0...
embed
64107969_c1
64107969
fsharp
1
a>:0 at (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo.InternalInvoke(System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&) at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] para...
a>:0 at (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo.InternalInvoke(System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&) at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] para...
[ -0.0019989013671875, 0.0201416015625, -0.005462646484375, -0.00041961669921875, -0.004791259765625, 0.002044677734375, -0.01214599609375, 0.0003414154052734375, -0.0157470703125, 0.006378173828125, 0.00848388671875, -0.01544189453125, 0.020263671875, -0.006744384765625, 0.027587890625, ...
[ 10, 2740, 53861, 99, 5429, 11, 8079, 145755, 188, 76, 4935, 12353, 190015, 133, 163321, 6032, 78572, 7352, 93147, 44851, 23253, 84293, 187694, 19279, 63928, 75161, 995, 170, 16882, 33770, 3668, 4448, 7944, 186653, 171859, 162080, 47691, 202, ...
[ 0.11572265625, 0.163818359375, 0.2060546875, 0.1221923828125, 0.05853271484375, 0.088623046875, 0.1549072265625, 0.2174072265625, 0.1209716796875, 0.1483154296875, 0.16015625, 0.145751953125, 0.1627197265625, 0.1505126953125, 0.057586669921875, 0.06256103515625, 0.058837890625, 0.0...
embed
48886689_c1
48886689
fsharp
1
19] in <2b1e99ce45b54209bdcdab138d9758ae>:0 [ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'System.Console' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.ConsoleDriver' threw an exception. ---> System.Exception: Magic numbe...
19] in <2b1e99ce45b54209bdcdab138d9758ae>:0 [ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'System.Console' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.ConsoleDriver' threw an exception. ---> System.Exception: Magic numbe...
[ 0.01318359375, 0.03564453125, -0.000530242919921875, 0.009033203125, 0.014404296875, -0.0264892578125, 0.02880859375, -0.01519775390625, -0.0078125, 0.016357421875, 0.0115966796875, 0.015869140625, 0.0185546875, 0.006439208984375, -0.00927734375, 0.00096893310546875, 0.0196533203125,...
[ 953, 268, 23, 4426, 5046, 4633, 167829, 6463, 32771, 141535, 14773, 10057, 13, 53861, 12501, 14255, 15491, 30487, 8274, 116199, 38409, 29426, 136566, 12353, 196707, 4153, 1890, 289, 47691, 19279, 63928, 10644, 61475, 52825, 84293, 5, 11935, 4...
[ 0.2247314453125, 0.08837890625, 0.104248046875, 0.0042724609375, 0.1279296875, 0.091796875, 0.32080078125, 0.0841064453125, 0.0543212890625, 0.1158447265625, 0.0655517578125, 0.109130859375, 0.028289794921875, 0.1385498046875, 0.0946044921875, 0.128662109375, 0.1248779296875, 0.115...
embed
27093812_c0
27093812
fsharp
0
Title: Why can&#x27;t F# infer the type in this case? Problem title: Why can&#x27;t F# infer the type in this case? Tags: f%23 Problem: Why can't F# infer the type in this case? Consider the following sample code where I have a generic type and 2 static member constructors that create a specialized instance of the said...
Why can&#x27;t F# infer the type in this case? Why can&#x27;t F# infer the type in this case? f%23 the Why Cell CreateInt IntCell CreateString StringCell Warnings Cell.CreateInt Cell.CreateString Warning Consider e.g Why can't F# infer the type in this case? Consider the following sample code where I have a generic typ...
[ 0.006561279296875, 0.002044677734375, 0.0283203125, 0.00665283203125, 0.00439453125, -0.01446533203125, -0.00799560546875, -0.004150390625, -0.01104736328125, 0.007110595703125, -0.002685546875, 0.00188446044921875, -0.00482177734375, 0.003448486328125, 0.01422119140625, -0.00491333007...
[ 44084, 831, 3768, 18, 563, 4904, 53498, 10644, 80743, 151313, 4153, 360, 441, 6796, 71713, 23351, 5550, 6977, 63784, 7225, 121413, 18151, 189534, 201939, 32786, 64549, 28282, 5361, 110527, 63559, 8668, 1631, 592, 116, 34648, 14, 132283, 10750...
[ 0.0638427734375, 0.096923828125, 0.00823974609375, 0.0911865234375, 0.1187744140625, 0.21533203125, 0.2386474609375, 0.2021484375, 0.1600341796875, 0.09747314453125, 0.006591796875, 0.0236663818359375, 0.041290283203125, 0.120361328125, 0.0889892578125, 0.068359375, 0.1044921875, 0...
embed
3647911_c0
3647911
fsharp
0
Title: F# recursion inside type definition Problem title: F# recursion inside type definition Tags: recursion, f%23 Problem: F# recursion inside type definition I am having some problems with trying to implement Automatic Differentiation in F#. I think the problem is down to the evaluation not being 'lazy'. Here is my ...
F# recursion inside type definition F# recursion inside type definition recursion f%23 Diff x.d y.d x.df y.df x:Diff F# recursion inside type definition I am having some problems with trying to implement Automatic Differentiation in F#. I think the problem is down to the evaluation not being 'lazy'. Here is my code: If...
[ 0.002960205078125, 0.01287841796875, 0.017333984375, 0.01397705078125, 0.008056640625, -0.007232666015625, -0.006072998046875, 0.00689697265625, 0.004791259765625, -0.028564453125, -0.00022602081298828125, 0.0196533203125, -0.0025177001953125, -0.0038909912109375, 0.0380859375, -0.0017...
[ 563, 4904, 195625, 1830, 46132, 10644, 80934, 1238, 3949, 3742, 191144, 71, 113, 420, 1022, 397, 32920, 44402, 31577, 29479, 51719, 1771, 242520, 14, 2320, 2967, 7565, 219836, 143, 3285, 18151, 9790, 4028, 3034, 177261, 645, 118664, 18499, ...
[ 0.1309814453125, 0.2003173828125, 0.1990966796875, 0.060272216796875, 0.180908203125, 0.2138671875, 0.1661376953125, 0.080322265625, 0.06689453125, 0.142578125, 0.218994140625, 0.000396728515625, 0.01177978515625, 0.0838623046875, 0.00244140625, 0.039581298828125, 0.1885986328125, ...
embed
39919643_c1
39919643
fsharp
1
= str.[1..] Success (charToMatch,remaining) else let msg = sprintf "Expecting '%c'. Got '%c'" charToMatch first Failure msg // return the "wrapped" inner function Parser innerFn /// Run a parser with some input let run parser input = // unwrap parser to get inner function let (Parser innerFn) = parser // call inner fu...
= str.[1..] Success (charToMatch,remaining) else let msg = sprintf "Expecting '%c'. Got '%c'" charToMatch first Failure msg // return the "wrapped" inner function Parser innerFn /// Run a parser with some input let run parser input = // unwrap parser to get inner function let (Parser innerFn) = parser // call inner fu...
[ -0.0038604736328125, 0.0172119140625, 0.000392913818359375, 0.03125, 0.000640869140625, 0.0211181640625, -0.00176239013671875, -0.025634765625, 0.01025390625, 0.0068359375, 0.00019359588623046875, 0.0269775390625, -0.018310546875, -0.01043701171875, -0.00133514404296875, 0.005187988281...
[ 2203, 7704, 144053, 9254, 7763, 79520, 206, 192, 14653, 37076, 2633, 68163, 177, 145320, 420, 19279, 47107, 1916, 53983, 21441, 5117, 190355, 3408, 30646, 5429, 11, 48398, 75414, 32354, 2392, 2189, 919, 19, 28398, 366, 107730, 11675, 51, 43...
[ 0.0533447265625, 0.1339111328125, 0.20947265625, 0.146728515625, 0.1932373046875, 0.1954345703125, 0.119140625, 0.052886962890625, 0.0203094482421875, 0.0010986328125, 0.08160400390625, 0.05523681640625, 0.05694580078125, 0.0889892578125, 0.01763916015625, 0.1396484375, 0.20629882812...
embed
58077481_c0
58077481
fsharp
0
Title: How to model a subset of a discriminated union in F#? Problem title: How to model a subset of a discriminated union in F#? Tags: data-modeling, f%23 Problem: How to model a subset of a discriminated union in F#? I want a thing (person, object, whatever) to have abilities (jump, run, etc.). I want some things to ...
How to model a subset of a discriminated union in F#? How to model a subset of a discriminated union in F#? data-modeling f%23 How Ability Jump Stay Run Walk Person Set InanimateObject Not ThingWithAbilities How to model a subset of a discriminated union in F#? I want a thing (person, object, whatever) to have abilitie...
[ -0.01123046875, -0.00138092041015625, 0.006988525390625, 0.01165771484375, -0.0162353515625, 0.010009765625, -0.01458740234375, -0.00177001953125, 0.031494140625, -0.00811767578125, -0.0023345947265625, 0.00714111328125, 0.005340576171875, 0.016357421875, -0.01025390625, -0.01129150390...
[ 11249, 47, 3299, 1614, 3509, 55970, 3674, 69941, 23, 563, 4904, 2053, 51734, 1238, 3742, 62, 83259, 150508, 140682, 28398, 115059, 15270, 19943, 360, 52097, 67, 46471, 75161, 11205, 6003, 214, 194583, 284, 7180, 3444, 13580, 30816, 36746, 8...
[ 0.07958984375, 0.03466796875, 0.25830078125, 0.160888671875, 0.177978515625, 0.2440185546875, 0.10284423828125, 0.21484375, 0.0692138671875, 0.139892578125, 0.241455078125, 0.06744384765625, 0.1842041015625, 0.055572509765625, 0.07086181640625, 0.048065185546875, 0.1629638671875, 0...
embed
33658330_c0
33658330
fsharp
0
Title: This expression was expected to have type list&lt;char&gt; but here has type &#x27;a list Problem title: This expression was expected to have type list&lt;char&gt; but here has type &#x27;a list Tags: f%23 Problem: This expression was expected to have type list but here has type 'a list I have the following code...
This expression was expected to have type list&lt;char&gt; but here has type &#x27;a list This expression was expected to have type list&lt;char&gt; but here has type &#x27;a list f%23 Map.ofList Some None numbersInchar:List head::tail numbersDictionary.TryFind This expression was expected to have type list but here ha...
[ -0.0107421875, -0.005096435546875, 0.0084228515625, 0.006561279296875, 0.00958251953125, -0.004119873046875, 0.004791259765625, 0.01165771484375, 0.0216064453125, 0.010498046875, 0.01318359375, -0.005645751953125, 0.0186767578125, -0.00049591064453125, -0.00262451171875, -0.01391601562...
[ 3293, 125195, 509, 84751, 765, 10644, 5303, 1277, 9254, 5386, 1284, 3688, 1556, 3768, 11, 1238, 3742, 42719, 4390, 154663, 438, 101935, 10336, 46741, 10763, 6635, 1294, 204582, 242, 25632, 18151, 32354, 14055, 1927, 166027, 10298, 53, 5646, ...
[ 0.049102783203125, 0.2379150390625, 0.048248291015625, 0.1854248046875, 0.015869140625, 0.2110595703125, 0.2188720703125, 0.01171875, 0.15283203125, 0.05291748046875, 0.083984375, 0.100341796875, 0.07275390625, 0.119384765625, 0.08819580078125, 0.069580078125, 0.1405029296875, 0.11...
embed
45842534_c0
45842534
fsharp
0
Title: Suave SQl Provider DatabaseProvider has already been given a value Problem title: Suave SQl Provider DatabaseProvider has already been given a value Tags: .net, f%23, suave Problem: Suave SQl Provider DatabaseProvider has already been given a value I am currently going through the Suave Music store tutorial and ...
Suave SQl Provider DatabaseProvider has already been given a value Suave SQl Provider DatabaseProvider has already been given a value .net f%23 suave Suave SQl Provider DatabaseProvider SqlDataProvider Server LocalDb v11.0 Database SuaveMusicStore Trusted_Connection MultipleActiveResultSets DatabaseVendor Common.Databa...
[ 0.018310546875, 0.005950927734375, 0.0086669921875, 0.01312255859375, -0.013671875, 0.00604248046875, -0.0087890625, -0.0299072265625, -0.004058837890625, -0.050048828125, 0.0032958984375, -0.013427734375, 0.0238037109375, -0.0130615234375, -0.00616455078125, 0.0020751953125, -0.0238...
[ 45384, 272, 159, 2737, 141, 123089, 42, 187781, 177997, 62160, 1556, 21771, 2809, 34475, 10, 34292, 5, 1179, 1238, 3949, 3742, 109829, 99247, 22687, 24172, 275, 102107, 158257, 165248, 87343, 235603, 164414, 7, 7136, 294, 85512, 1846, 151301,...
[ 0.220703125, 0.2408447265625, 0.03802490234375, 0.1636962890625, 0.08819580078125, 0.2071533203125, 0.06085205078125, 0.141845703125, 0.1854248046875, 0.2091064453125, 0.1572265625, 0.260498046875, 0.1702880859375, 0.214111328125, 0.10009765625, 0.271484375, 0.056182861328125, 0.15...
embed
39539649_c0
39539649
fsharp
0
Title: Average of second element of tuples in a list Problem title: Average of second element of tuples in a list Tags: recursion, pattern-matching, f%23, tuples, visual-studio Problem: Average of second element of tuples in a list I'm new to F#, so sorry if this sounds too basic. I'm trying to calculate the average of...
Average of second element of tuples in a list Average of second element of tuples in a list recursion pattern-matching f%23 tuples visual-studio Average List list.Length Average of second element of tuples in a list I'm new to F#, so sorry if this sounds too basic. I'm trying to calculate the average of second elements...
[ -0.001922607421875, 0.002166748046875, 0.006256103515625, 0.020751953125, 0.0006561279296875, 0.0022125244140625, -0.00421142578125, 0.006561279296875, 0.01806640625, -0.01708984375, 0.0361328125, -0.01806640625, 0.000530242919921875, 0.004058837890625, 0.00750732421875, 0.011474609375...
[ 40168, 29838, 111, 17932, 12830, 370, 99726, 23, 5303, 195625, 1830, 103510, 98753, 1238, 3742, 21176, 52629, 32036, 449, 563, 4904, 59090, 74481, 83080, 80854, 14858, 26785, 16750, 18151, 10554, 43240, 49504, 91853, 56065, 32070, 959, 7108, ...
[ 0.180419921875, 0.1380615234375, 0.024169921875, 0.19873046875, 0.1527099609375, 0.12646484375, 0.2117919921875, 0.0276336669921875, 0.1741943359375, 0.138916015625, 0.000335693359375, 0.133056640625, 0.128662109375, 0.056884765625, 0.0904541015625, 0.117919921875, 0.114013671875, ...
embed
54027906_c0
54027906
fsharp
0
Title: F#: How to include external test data in mstest unit tests Problem title: F#: How to include external test data in mstest unit tests Tags: mstest, .net-core, f%23 Problem: F#: How to include external test data in mstest unit tests I want to test my code with some data defined in an external file. I tried the fol...
F#: How to include external test data in mstest unit tests F#: How to include external test data in mstest unit tests mstest .net-core f%23 System.IO.FileNotFoundException external How System Microsoft.VisualStudio.TestTools.UnitTesting TestClass TestMethod this.TestMethodPassing System.IO.File.ReadAllText data.txt Ass...
[ 0.0267333984375, 0.0103759765625, -0.004486083984375, -0.00128173828125, 0.0184326171875, -0.004180908203125, 0.0255126953125, 0.00099945068359375, -0.0185546875, -0.0103759765625, -0.0181884765625, -0.00106048583984375, -0.02099609375, 0.01300048828125, 0.033203125, 0.0211181640625, ...
[ 563, 4904, 12, 11249, 26698, 173591, 3034, 2053, 23, 347, 80686, 25072, 109921, 1179, 30854, 1238, 3742, 17780, 174350, 122116, 27591, 63928, 12353, 7244, 6609, 64010, 109023, 111337, 186490, 85600, 8647, 140803, 78572, 903, 139117, 31345, 4351...
[ 0.11669921875, 0.2034912109375, 0.005950927734375, 0.05731201171875, 0.156494140625, 0.22705078125, 0.231201171875, 0.15576171875, 0.039031982421875, 0.056243896484375, 0.2421875, 0.1302490234375, 0.19873046875, 0.158203125, 0.1182861328125, 0.0809326171875, 0.09075927734375, 0.127...
embed
922563_c0
922563
fsharp
0
Title: F# and PLINQ extension methods Problem title: F# and PLINQ extension methods Tags: linq, plinq, visual-studio-2010, f%23, extension-methods Problem: F# and PLINQ extension methods While digging deeper into the latest release of F# I tried to have it interacting with PLINQ. I've noticed, however, that the two don...
F# and PLINQ extension methods F# and PLINQ extension methods linq plinq visual-studio-2010 f%23 extension-methods PLINQ System.Linq someArray.AsParallel Count Func s.Length visual-studio-2010 F# and PLINQ extension methods While digging deeper into the latest release of F# I tried to have it interacting with PLINQ. I'...
[ 0.004486083984375, 0.02197265625, 0.0027313232421875, -0.00750732421875, -0.0036163330078125, -0.00543212890625, -0.017578125, -0.0252685546875, -0.01031494140625, -0.03564453125, -0.0159912109375, 0.0272216796875, 0.00860595703125, 0.003448486328125, -0.0281982421875, 0.00399780273437...
[ 563, 4904, 136, 436, 46610, 2737, 111938, 150624, 96, 44982, 55294, 864, 21176, 52629, 73552, 1238, 3742, 1928, 7352, 12353, 866, 3060, 7614, 7092, 55292, 1229, 108210, 28670, 54452, 78974, 6626, 18, 11301, 4552, 26267, 25842, 18151, 7722, ...
[ 0.1055908203125, 0.1959228515625, 0.058502197265625, 0.087646484375, 0.192138671875, 0.1739501953125, 0.2022705078125, 0.1763916015625, 0.0244598388671875, 0.2197265625, 0.1805419921875, 0.0870361328125, 0.1351318359375, 0.131591796875, 0.130859375, 0.029815673828125, 0.0519714355468...
embed
42469093_c1
42469093
fsharp
1
-> int; sub2: int -> int -> int} // Instantiate a record let addsub a = {add2 = (fun x y -> a + x + y); sub2 = (fun x y -> a - x - y)} // Returns 7, Intellisense works on (addsub 0). (addsub 0).add2 3 4 // Returns 3, Intellisense works on (addsub 10). (addsub 10).sub2 3 4 // Create two functions of three arguments let...
-> int; sub2: int -> int -> int} // Instantiate a record let addsub a = {add2 = (fun x y -> a + x + y); sub2 = (fun x y -> a - x - y)} // Returns 7, Intellisense works on (addsub 0). (addsub 0).add2 3 4 // Returns 3, Intellisense works on (addsub 10). (addsub 10).sub2 3 4 // Create two functions of three arguments let...
[ -0.016357421875, 0.0115966796875, 0.01708984375, 0.00946044921875, -0.022216796875, 0.01165771484375, -0.0025177001953125, -0.00075531005859375, 0.01422119140625, 0.00897216796875, -0.0033416748046875, 0.015869140625, -0.006683349609375, 0.007568359375, 0.003021240234375, -0.0090332031...
[ 33079, 23, 18, 1614, 304, 166945, 101426, 17164, 2633, 15190, 22144, 10, 4028, 16498, 997, 113, 173340, 361, 30131, 27077, 184, 43240, 98, 757, 138, 201, 209, 151313, 6626, 32354, 17262, 10750, 363, 1022, 110, 178290, 45831, 81814, 2182, ...
[ 0.053131103515625, 0.1075439453125, 0.1324462890625, 0.209228515625, 0.1348876953125, 0.18212890625, 0.22021484375, 0.24169921875, 0.045196533203125, 0.138916015625, 0.272216796875, 0.053466796875, 0.1170654296875, 0.1142578125, 0.05609130859375, 0.06146240234375, 0.159912109375, 0...
embed
17606017_c0
17606017
fsharp
0
Title: Properties.Resources.XXXX Namespace or Module not Defined Problem title: Properties.Resources.XXXX Namespace or Module not Defined Tags: f%23 Problem: Properties.Resources.XXXX Namespace or Module not Defined I'm trying to read in the text (as a string ) of an XML file from my Resources . The XML file is named M...
Properties.Resources.XXXX Namespace or Module not Defined Properties.Resources.XXXX Namespace or Module not Defined f%23 Properties.Resources.XXXX Namespace Module Defined Resources MyXMLResourceFile.resx Properties.Resources.MyXMLResourceFile Properties ResourceManager Properties.Resources.XXXX Namespace or Module not...
[ 0.010986328125, 0.000728607177734375, 0.004974365234375, -0.00897216796875, 0.0142822265625, -0.0037841796875, 0.0205078125, -0.02001953125, -0.00726318359375, -0.03369140625, 0.03125, 0.01171875, 0.007049560546875, -0.01513671875, 0.004852294921875, 0.0027313232421875, -0.0079345703...
[ 234994, 4332, 60427, 205378, 2096, 109164, 707, 63014, 959, 262, 5983, 1238, 3949, 3742, 152055, 2646, 1542, 39456, 174350, 2109, 425, 31852, 12662, 33730, 31577, 12301, 23, 7986, 162, 79315, 92537, 11435, 1295, 759, 313, 4904, 3917, 17368, ...
[ 0.20166015625, 0.111572265625, 0.217529296875, 0.20947265625, 0.060546875, 0.2015380859375, 0.009521484375, 0.1453857421875, 0.07080078125, 0.05096435546875, 0.150390625, 0.004302978515625, 0.0156097412109375, 0.0938720703125, 0.2257080078125, 0.07049560546875, 0.033538818359375, 0...
embed
70900308_c0
70900308
fsharp
0
Title: What is the purpose of dividing lists in head and tail? Problem title: What is the purpose of dividing lists in head and tail? Tags: functional-programming, language-design, f%23, design-patterns Problem: What is the purpose of dividing lists in head and tail? I'm new to functional programming and I've just came...
What is the purpose of dividing lists in head and tail? What is the purpose of dividing lists in head and tail? functional-programming language-design f%23 design-patterns What Nil Cons What is the purpose of dividing lists in head and tail? I'm new to functional programming and I've just came across the pattern of div...
[ 0.019287109375, 0.01202392578125, 0.0123291015625, 0.004791259765625, -0.002685546875, 0.003631591796875, -0.001007080078125, -0.00518798828125, 0.0252685546875, -0.01531982421875, 0.0216064453125, -0.01123046875, 0.006256103515625, 0.0174560546875, -0.00225830078125, -0.01373291015625...
[ 4865, 83, 70, 60042, 111, 61998, 449, 5303, 7, 23, 10336, 136, 46741, 32, 123309, 28966, 46876, 34198, 1238, 3742, 4331, 4453, 22766, 77175, 39215, 3525, 56037, 103510, 76615, 74181, 145581, 903, 91853, 959, 30666, 62548, 214709, 20625, 142...
[ 0.07928466796875, 0.07159423828125, 0.08843994140625, 0.235595703125, 0.045867919921875, 0.2200927734375, 0.1397705078125, 0.25830078125, 0.1116943359375, 0.109375, 0.2218017578125, 0.193115234375, 0.259521484375, 0.009979248046875, 0.173583984375, 0.1204833984375, 0.1339111328125, ...
embed
67004639_c0
67004639
fsharp
0
Title: What is the correct designation for values of discriminated union types? Problem title: What is the correct designation for values of discriminated union types? Tags: f%23 Problem: What is the correct designation for values of discriminated union types? Consider this type definition: type ChoiceOne = | A | B and...
What is the correct designation for values of discriminated union types? What is the correct designation for values of discriminated union types? f%23 What ChoiceOne ChoiceTwo What is the correct designation for values of discriminated union types? Consider this type definition: and this binding I assume the correct wa...
[ 0.007080078125, 0.0027313232421875, 0.0021209716796875, 0.021728515625, -0.0021820068359375, 0.007476806640625, -0.0216064453125, 0.012939453125, 0.033935546875, 0.0224609375, -0.00037384033203125, -0.008544921875, -0.00390625, 0.011962890625, 0.0034942626953125, 0.005645751953125, 0...
[ 26785, 4331, 2320, 142424, 55970, 3674, 69941, 52895, 111, 3742, 4865, 181948, 62068, 618, 3613, 100, 10644, 80934, 128239, 41591, 3900, 19309, 6083, 46876, 34292, 62, 64549, 99091, 9351, 501, 418, 28852, 106, 75414, 137272, 35829, 138, 98363...
[ 0.158203125, 0.2127685546875, 0.1026611328125, 0.2275390625, 0.232421875, 0.103515625, 0.205322265625, 0.218994140625, 0.016204833984375, 0.032318115234375, 0.005645751953125, 0.2200927734375, 0.2286376953125, 0.1368408203125, 0.235107421875, 0.0178375244140625, 0.1947021484375, 0....
embed
23877775_c0
23877775
fsharp
0
Title: printing truth table confusion Problem title: printing truth table confusion Tags: f%23 Problem: printing truth table confusion I'm trying to understand the code from the book Programming F# 3.0 by Chris Smith. The following code prints the truth table for the given function. > // Print the truth table for the g...
printing truth table confusion printing truth table confusion f%23 Print printing truth table confusion I'm trying to understand the code from the book Programming F# 3.0 by Chris Smith. The following code prints the truth table for the given function. A sample output.. However, I do not understand the following line I...
[ 0.01214599609375, -0.00160980224609375, 0.0218505859375, 0.005462646484375, -0.00494384765625, 0.00787353515625, 0.0194091796875, -0.0052490234375, -0.0208740234375, 0.028564453125, -0.000457763671875, -0.0030975341796875, -0.00933837890625, 0.00518798828125, -0.005828857421875, 0.0175...
[ 2448, 1916, 85027, 23180, 169463, 1238, 3949, 3742, 39754, 28219, 18151, 12877, 27958, 563, 4904, 17596, 31745, 37700, 25632, 28412, 100, 32354, 121413, 140992, 959, 13315, 7086, 37202, 5608, 103608, 47, 18, 10422, 4966, 903, 14602, 71924, 73...
[ 0.1707763671875, 0.1015625, 0.237548828125, 0.261962890625, 0.2230224609375, 0.06121826171875, 0.0499267578125, 0.104248046875, 0.2115478515625, 0.1297607421875, 0.1099853515625, 0.07080078125, 0.07275390625, 0.05462646484375, 0.1068115234375, 0.119140625, 0.037353515625, 0.0963134...
embed
65272638_c0
65272638
fsharp
0
Title: F#: Meaning of &quot;type X = Y of Z&quot; Problem title: F#: Meaning of &quot;type X = Y of Z&quot; Tags: f%23 Problem: F#: Meaning of "type X = Y of Z" What does type X = Y of Z mean in F#? In particular, does the Y token have any material purpose? If I want to express the fact that X is a type backed by the u...
F#: Meaning of &quot;type X = Y of Z&quot; F#: Meaning of &quot;type X = Y of Z&quot; f%23 Meaning F#: Meaning of "type X = Y of Z" What does type X = Y of Z mean in F#? In particular, does the Y token have any material purpose? If I want to express the fact that X is a type backed by the underlying type Z, why do I ne...
[ 0.006622314453125, 0.008544921875, -0.0037078857421875, 0.01806640625, -0.00531005859375, 0.00762939453125, -0.007476806640625, -0.0024261474609375, 0.0157470703125, 0.0166015625, 0.029052734375, -0.0064697265625, -0.00885009765625, -0.00762939453125, -0.0038299560546875, 0.0224609375,...
[ 563, 4904, 1215, 11, 592, 50986, 1193, 2203, 990, 111, 567, 1238, 3742, 10644, 29459, 47, 1098, 765, 4912, 60042, 36510, 4420, 1379, 15400, 3871, 125195, 138410, 89280, 196651, 239879, 19770, 47416, 166117, 11814, 135421, 32528, 228532, 63928...
[ 0.1119384765625, 0.1927490234375, 0.06451416015625, 0.07940673828125, 0.02471923828125, 0.1962890625, 0.18896484375, 0.1507568359375, 0.2064208984375, 0.1944580078125, 0.1575927734375, 0.0010986328125, 0.0227203369140625, 0.209228515625, 0.1180419921875, 0.10101318359375, 0.152099609...
embed
61823304_c0
61823304
fsharp
0
Title: Implement F# List.scan in C? Problem title: Implement F# List.scan in C? Tags: c, f%23 Problem: Implement F# List.scan in C? How would you implement a function with the same behavior as List.scan in F#? Here is the description: Applies a function to each element of the collection, threading an accumulator argume...
Implement F# List.scan in C? Implement F# List.scan in C? c f%23 Implement List.scan Allocate i-1 Implement F# List.scan in C? How would you implement a function with the same behavior as List.scan in F#? Here is the description: Of course I have attempted myself and here is my pseudocode (I do not expect you to provid...
[ 0.0048828125, 0.0240478515625, 0.0244140625, 0.03076171875, -0.0174560546875, 0.0177001953125, -0.0005950927734375, 0.01092529296875, 0.0025482177734375, 0.0133056640625, 0.024658203125, 0.020263671875, -0.00592041015625, 0.004150390625, -0.003631591796875, 0.0021209716796875, 0.0017...
[ 153941, 563, 4904, 32036, 5, 7, 4398, 23, 313, 32, 501, 1238, 3742, 884, 116292, 17, 5759, 2806, 29479, 32354, 5701, 123166, 76811, 81887, 297, 35978, 3688, 74189, 40899, 41206, 20697, 11782, 44954, 1176, 2146, 108, 1022, 35782, 100, 977,...
[ 0.2061767578125, 0.167724609375, 0.244140625, 0.25439453125, 0.123291015625, 0.09912109375, 0.230224609375, 0.100341796875, 0.19873046875, 0.016265869140625, 0.09796142578125, 0.055633544921875, 0.08819580078125, 0.08624267578125, 0.161865234375, 0.119873046875, 0.1529541015625, 0....
embed
30602535_c0
30602535
fsharp
0
Title: F# cast / convert custom type to primitive Problem title: F# cast / convert custom type to primitive Tags: f%23, primitive, types, casting Problem: F# cast / convert custom type to primitive I've designed my app domain with custom F# types, but now it seems like these custom types will be a PITA when I want to a...
F# cast / convert custom type to primitive F# cast / convert custom type to primitive f%23 primitive types casting CT32 x.ToString F# cast / convert custom type to primitive I've designed my app domain with custom F# types, but now it seems like these custom types will be a PITA when I want to actually use the data for...
[ 0.0113525390625, 0.0003604888916015625, 0.01080322265625, 0.01806640625, 0.00982666015625, 0.00020122528076171875, 0.0111083984375, -0.0179443359375, 0.002044677734375, 0.002777099609375, -0.01055908203125, -0.01190185546875, -0.004730224609375, 0.00628662109375, -0.0018463134765625, -...
[ 563, 4904, 37702, 248, 96760, 114122, 10644, 47, 128489, 13, 1238, 3949, 3742, 52895, 176050, 71885, 6460, 1022, 7763, 71713, 82775, 4027, 77758, 1221, 10, 19430, 3229, 20653, 4527, 2053, 67842, 66211, 32562, 142424, 43486, 11435, 35773, 538,...
[ 0.14501953125, 0.2188720703125, 0.1865234375, 0.049774169921875, 0.157470703125, 0.2242431640625, 0.2330322265625, 0.1207275390625, 0.2003173828125, 0.1446533203125, 0.09619140625, 0.0333251953125, 0.1107177734375, 0.2169189453125, 0.15576171875, 0.05560302734375, 0.158935546875, 0...
embed
39399650_c0
39399650
fsharp
0
Title: Can&#x27;t compare functions in f# for event subscription guard Problem title: Can&#x27;t compare functions in f# for event subscription guard Tags: reactive, f%23, compare, subscribe, events Problem: Can't compare functions in f# for event subscription guard I'm trying to stop an event from subscribing to an ev...
Can&#x27;t compare functions in f# for event subscription guard Can&#x27;t compare functions in f# for event subscription guard reactive f%23 compare subscribe events Can Event ResizeArray lst.Contains lst.Add ex.Publish System.IObservable Observable.subscribe ex.Trigger Produces Can't compare functions in f# for event...
[ -0.0218505859375, 0.02978515625, 0.0341796875, -0.0045166015625, 0.004730224609375, -0.0260009765625, 0.0037689208984375, 0.01275634765625, -0.006072998046875, -0.0220947265625, 0.00008153915405273438, 0.0272216796875, 0.0086669921875, 0.027099609375, 0.010498046875, -0.006500244140625...
[ 4171, 3768, 18, 69101, 32354, 23, 1238, 4904, 100, 19732, 1614, 59478, 56050, 456, 71232, 3742, 34601, 47353, 36943, 853, 62539, 7614, 7092, 25500, 271, 4028, 1119, 143145, 15227, 12353, 17780, 275, 65756, 2661, 87652, 22144, 74257, 21407, ...
[ 0.079833984375, 0.051239013671875, 0.07269287109375, 0.2393798828125, 0.1988525390625, 0.03564453125, 0.134765625, 0.208984375, 0.0379638671875, 0.1329345703125, 0.1483154296875, 0.203857421875, 0.192626953125, 0.04681396484375, 0.08990478515625, 0.071044921875, 0.1304931640625, 0....
embed
11278876_c0
11278876
fsharp
0
Title: Running F# exe on mono (mac) Problem title: Running F# exe on mono (mac) Tags: f%23, mono Problem: Running F# exe on mono (mac) I've installed Mono successfully with the mac installer (which includes F#), and have been playing around with the interactive shell. I can also compile F# source files just fine to pro...
Running F# exe on mono (mac) Running F# exe on mono (mac) f%23 mono System.TypeLoadException assembly Running Unhandled Exception Could StartupCode$HelloWorld HelloWorld Version Culture PublicKeyToken ERROR FATAL Hello Running F# exe on mono (mac) I've installed Mono successfully with the mac installer (which includes ...
[ 0.013916015625, 0.015380859375, 0.00098419189453125, 0.0194091796875, 0.005859375, 0.0133056640625, 0.0031585693359375, -0.023681640625, -0.0255126953125, -0.01953125, -0.0031280517578125, 0.003997802734375, 0.000701904296875, 0.00897216796875, 0.0123291015625, -0.003265380859375, 0....
[ 28398, 592, 563, 4904, 97733, 98, 22460, 35572, 1238, 3949, 3742, 12353, 196707, 15363, 19279, 63928, 10, 89845, 992, 79628, 71, 5443, 191147, 153076, 114211, 13817, 70646, 35378, 40647, 105141, 16934, 162429, 7763, 1098, 151206, 24638, 15491, ...
[ 0.1419677734375, 0.06549072265625, 0.1724853515625, 0.2418212890625, 0.213623046875, 0.07666015625, 0.23974609375, 0.1820068359375, 0.1219482421875, 0.0312347412109375, 0.1419677734375, 0.1043701171875, 0.1861572265625, 0.1231689453125, 0.0084228515625, 0.1224365234375, 0.00186157226...
embed
24924976_c1
24924976
fsharp
1
); [CompilerGenerated] public override sealed bool Equals(object obj); [CompilerGenerated] public override sealed bool Equals(object obj, IEqualityComparer comp); [CompilerGenerated] public override sealed int GetHashCode(); [CompilerGenerated] public override sealed int GetHashCode(IEqualityComparer comp); public stat...
); [CompilerGenerated] public override sealed bool Equals(object obj); [CompilerGenerated] public override sealed bool Equals(object obj, IEqualityComparer comp); [CompilerGenerated] public override sealed int GetHashCode(); [CompilerGenerated] public override sealed int GetHashCode(IEqualityComparer comp); public stat...
[ -0.0047607421875, 0.0013580322265625, 0.021484375, -0.0206298828125, -0.0106201171875, -0.0067138671875, -0.0159912109375, 0.010498046875, -0.0133056640625, -0.006622314453125, 0.0308837890625, 0.05126953125, 0.00897216796875, 0.005340576171875, 0.016357421875, 0.016357421875, -0.010...
[ 3142, 108161, 34759, 135932, 3835, 645, 416, 28704, 297, 142484, 241, 71723, 187694, 995, 170, 75536, 161789, 147, 9969, 20779, 6495, 114211, 20441, 201939, 18507, 12298, 271, 190060, 757, 15649, 36917, 22, 316, 10644, 11814, 35686, 47691, 14...
[ 0.032867431640625, 0.08941650390625, 0.06170654296875, 0.0899658203125, 0.1044921875, 0.0902099609375, 0.12939453125, 0.1607666015625, 0.056640625, 0.1378173828125, 0.03436279296875, 0.1552734375, 0.160400390625, 0.138916015625, 0.153076171875, 0.0614013671875, 0.1219482421875, 0.0...
embed
28552642_c0
28552642
fsharp
0
Title: F# - can I apply Seq.map to System.DataSet.DataTableCollection? Problem title: F# - can I apply Seq.map to System.DataSet.DataTableCollection? Tags: f%23, linq Problem: F# - can I apply Seq.map to System.DataSet.DataTableCollection? Here's something that seems like it should work but doesn't: let dataSet = new D...
F# - can I apply Seq.map to System.DataSet.DataTableCollection? F# - can I apply Seq.map to System.DataSet.DataTableCollection? f%23 linq Seq.map System.DataSet.DataTableCollection DataSet dataTable1 dataSet.Tables.Add Bob Bilf x:DataTable x.TableName dataSet.Tables DataTableCollection DataTable F# - can I apply Seq.ma...
[ 0.02880859375, 0.0267333984375, -0.006134033203125, 0.0012359619140625, -0.0126953125, -0.01080322265625, -0.006011962890625, 0.00506591796875, -0.0072021484375, -0.020263671875, -0.00421142578125, 0.025146484375, -0.0034942626953125, 0.016357421875, -0.0181884765625, -0.00592041015625...
[ 563, 4904, 831, 59911, 503, 864, 5, 62346, 47, 12353, 137989, 294, 126, 618, 2886, 78457, 133, 10763, 87, 1238, 3742, 44982, 11809, 2053, 19736, 4028, 25027, 10746, 420, 1022, 163612, 37202, 5608, 4488, 1284, 22027, 18, 25632, 18499, 5701...
[ 0.1201171875, 0.187744140625, 0.10748291015625, 0.1806640625, 0.09912109375, 0.2086181640625, 0.0716552734375, 0.231689453125, 0.09466552734375, 0.125, 0.09423828125, 0.12841796875, 0.1195068359375, 0.122802734375, 0.1485595703125, 0.0850830078125, 0.10888671875, 0.068359375, 0.0...
embed
15371218_c0
15371218
fsharp
0
Title: Trouble with FSharp active patterns Problem title: Trouble with FSharp active patterns Tags: active-pattern, f%23, quotations Problem: Trouble with FSharp active patterns I'm parsing code quotations in FSharp and am building up pattern helpers. All was going well till I tried let (|BinaryFn|_|) fn (input:Expr) =...
Trouble with FSharp active patterns Trouble with FSharp active patterns active-pattern f%23 quotations Trouble FSharp BinaryFn input:Expr SpecificCall l::r Some None Multiply Error FS0001 Type Expecting Expr Shambolics Trouble with FSharp active patterns I'm parsing code quotations in FSharp and am building up pattern ...
[ 0.00311279296875, 0.020751953125, -0.005401611328125, -0.0019683837890625, -0.0146484375, 0.00457763671875, -0.01104736328125, -0.00872802734375, 0.00970458984375, -0.0380859375, 0.00799560546875, -0.0111083984375, -0.00982666015625, 0.0032806396484375, 0.020751953125, 0.0247802734375,...
[ 119671, 2661, 678, 93774, 3467, 254, 36457, 103510, 4453, 22766, 1238, 3949, 3742, 81732, 54092, 19, 107730, 19279, 10287, 209052, 5584, 438, 19335, 62479, 212059, 188735, 60457, 60075, 24762, 42, 7224, 36846, 28021, 366, 18151, 4358, 91177, ...
[ 0.1180419921875, 0.04046630859375, 0.0435791015625, 0.141845703125, 0.2005615234375, 0.1871337890625, 0.181640625, 0.222412109375, 0.1199951171875, 0.055877685546875, 0.04754638671875, 0.0219268798828125, 0.144287109375, 0.154296875, 0.105712890625, 0.004638671875, 0.07940673828125, ...
embed
45454743_c0
45454743
fsharp
0
Title: Searching through Array for 2 values next o each other Problem title: Searching through Array for 2 values next o each other Tags: functional-programming, f%23 Problem: Searching through Array for 2 values next o each other I'm working on solution for a problem which I've solved in C#, but now I'm porting my cod...
Searching through Array for 2 values next o each other Searching through Array for 2 values next o each other functional-programming f%23 Searching Array Array.findIndex GetValue data.Length Adress temp.Length Value BitConverter.ToInt32 Searching through Array for 2 values next o each other I'm working on solution for ...
[ -0.003173828125, 0.01251220703125, -0.0172119140625, 0.01312255859375, -0.009521484375, 0.0087890625, 0.0123291015625, 0.0030975341796875, 0.0164794921875, -0.01226806640625, 0.0228271484375, 0.00225830078125, -0.0296630859375, -0.0252685546875, 0.0108642578125, -0.0086669921875, 0.0...
[ 33086, 214, 8305, 69253, 53, 100, 116, 142424, 11737, 36, 12638, 3789, 123309, 28966, 1238, 3949, 3742, 111607, 4153, 39659, 20779, 856, 50770, 2053, 449, 58059, 20805, 190060, 27774, 814, 720, 7763, 18, 6460, 20697, 29806, 2967, 86869, 313...
[ 0.2059326171875, 0.038543701171875, 0.177734375, 0.2020263671875, 0.1492919921875, 0.12353515625, 0.18505859375, 0.2109375, 0.2098388671875, 0.1153564453125, 0.08929443359375, 0.1517333984375, 0.1502685546875, 0.109619140625, 0.068359375, 0.0167236328125, 0.1357421875, 0.1376953125...
embed
47816810_c0
47816810
fsharp
0
Title: Using NUnit with generic discriminated unions Problem title: Using NUnit with generic discriminated unions Tags: nunit, generics, f%23, discriminated-union Problem: Using NUnit with generic discriminated unions I'm trying to use FsUnit (under the hood it uses NUnit) to test my F# code, but it's having trouble ha...
Using NUnit with generic discriminated unions Using NUnit with generic discriminated unions nunit generics f%23 discriminated-union Using NUnit OptionWithReason Some None test1 test2 NUnit.Framework.Assert.AreEqual Using NUnit with generic discriminated unions I'm trying to use FsUnit (under the hood it uses NUnit) to ...
[ -0.00921630859375, 0.0201416015625, 0.0030517578125, -0.019775390625, -0.011474609375, -0.025146484375, 0.024658203125, -0.01116943359375, 0.0137939453125, 0.01300048828125, 0.00872802734375, 0.01031494140625, 0.002593994140625, 0.00701904296875, 0.00762939453125, 0.00628662109375, 0...
[ 345, 18057, 6773, 678, 189534, 55970, 3674, 69941, 4124, 217, 1238, 3949, 3742, 87046, 86769, 194583, 11, 31384, 438, 3034, 418, 304, 108386, 18244, 33657, 107, 71723, 7, 4527, 563, 85600, 18, 24658, 44462, 4904, 18151, 63134, 45064, 28219,...
[ 0.099365234375, 0.1585693359375, 0.2344970703125, 0.083251953125, 0.202392578125, 0.17626953125, 0.037506103515625, 0.1884765625, 0.1165771484375, 0.1474609375, 0.060089111328125, 0.01617431640625, 0.08502197265625, 0.1351318359375, 0.1383056640625, 0.048004150390625, 0.08251953125, ...
embed
3660957_c0
3660957
fsharp
0
Title: Functional programming languages introspection Problem title: Functional programming languages introspection Tags: ocaml, haskell, functional-programming, f%23, introspection Problem: Functional programming languages introspection I'm sketching a design of something (machine learning of functions) that will pref...
Functional programming languages introspection Functional programming languages introspection ocaml haskell functional-programming f%23 introspection Functional Functional programming languages introspection I'm sketching a design of something (machine learning of functions) that will preferably want a functional progr...
[ 0.00994873046875, -0.003662109375, 0.025390625, -0.0054931640625, -0.0142822265625, 0.0126953125, -0.00433349609375, -0.004150390625, -0.00543212890625, -0.02880859375, -0.00017452239990234375, -0.0157470703125, -0.017822265625, 0.005859375, 0.011962890625, -0.0159912109375, 0.008300...
[ 28670, 10763, 289, 56037, 46876, 64627, 16711, 1363, 449, 36, 9779, 141, 1556, 142508, 123309, 28966, 1238, 3949, 3742, 63926, 59207, 4331, 103149, 52080, 111, 32354, 12601, 3444, 81273, 160477, 1528, 10002, 18151, 26267, 34333, 9384, 2046, 3...
[ 0.137939453125, 0.120361328125, 0.002655029296875, 0.1669921875, 0.2490234375, 0.1815185546875, 0.210693359375, 0.05615234375, 0.01422119140625, 0.091796875, 0.1494140625, 0.14697265625, 0.102783203125, 0.239501953125, 0.222412109375, 0.1563720703125, 0.0660400390625, 0.01472473144...
embed
51606395_c0
51606395
fsharp
0
Title: Deedle F# - Find the max rows within an index group Problem title: Deedle F# - Find the max rows within an index group Tags: deedle, dataframe, f%23 Problem: Deedle F# - Find the max rows within an index group I am trying to get the difference between the first and last values within groups in a deedle data fram...
Deedle F# - Find the max rows within an index group Deedle F# - Find the max rows within an index group deedle dataframe f%23 Deedle Find Test1 Test2 Stats.maxBy Frame.ofRows Stats.minBy Deedle F# - Find the max rows within an index group I am trying to get the difference between the first and last values within groups...
[ 0.01531982421875, 0.01611328125, 0.0096435546875, 0.018798828125, -0.01348876953125, -0.00537109375, 0.0021820068359375, 0.00494384765625, 0.021484375, 0.01007080078125, -0.00958251953125, 0.007080078125, -0.0167236328125, 0.001953125, 0.034912109375, 0.004913330078125, -0.0137329101...
[ 262, 297, 133, 563, 4904, 26040, 18389, 15555, 7, 28032, 63262, 21115, 8, 2053, 160328, 1238, 3742, 8647, 418, 304, 23888, 24084, 75358, 42557, 5, 4390, 12724, 19725, 1249, 31577, 2046, 60212, 17721, 5117, 136, 4568, 142424, 94407, 123789, ...
[ 0.1060791015625, 0.163330078125, 0.152099609375, 0.11083984375, 0.181396484375, 0.125732421875, 0.20263671875, 0.2308349609375, 0.04547119140625, 0.1358642578125, 0.1640625, 0.1949462890625, 0.094482421875, 0.07464599609375, 0.1895751953125, 0.034576416015625, 0.07086181640625, 0.1...
embed
22285451_c0
22285451
fsharp
0
Title: How to create mixed F# type of enumeration / flag and float32? Problem title: How to create mixed F# type of enumeration / flag and float32? Tags: types, boolean, enums, f%23, flags Problem: How to create mixed F# type of enumeration / flag and float32? I want to create a type in F# that can have values of eithe...
How to create mixed F# type of enumeration / flag and float32? How to create mixed F# type of enumeration / flag and float32? types boolean enums f%23 flags How float32 How to create mixed F# type of enumeration / flag and float32? I want to create a type in F# that can have values of either "flag / enumeration types" ...
[ 0.0020599365234375, -0.0067138671875, 0.00836181640625, 0.0185546875, -0.0029296875, 0.0034942626953125, -0.020263671875, -0.008056640625, 0.0108642578125, 0.0159912109375, 0.0169677734375, -0.0005340576171875, -0.0040283203125, -0.01068115234375, 0.0252685546875, 0.003631591796875, ...
[ 11249, 28282, 17664, 297, 563, 4904, 10644, 189085, 1363, 248, 49938, 136, 21917, 257, 6460, 47, 52895, 31, 34677, 22, 10321, 1238, 3949, 3742, 3444, 23, 831, 142424, 40101, 190872, 707, 876, 34292, 17721, 89678, 420, 53855, 55128, 36917, ...
[ 0.07373046875, 0.168212890625, 0.2705078125, 0.15478515625, 0.144775390625, 0.2264404296875, 0.2044677734375, 0.226318359375, 0.044342041015625, 0.030609130859375, 0.2340087890625, 0.041412353515625, 0.1566162109375, 0.03704833984375, 0.2257080078125, 0.012939453125, 0.1866455078125,...
embed
9664991_c0
9664991
fsharp
0
Title: recursive processing list and sublist of list gives a type mismatch Problem title: recursive processing list and sublist of list gives a type mismatch Tags: recursion, list, f%23 Problem: recursive processing list and sublist of list gives a type mismatch I try to put a branching diagram into lists and sublists ...
recursive processing list and sublist of list gives a type mismatch recursive processing list and sublist of list gives a type mismatch recursion list f%23 System msgDiagram1 msg03 msg04 msg01 msg02 msg05 x::xs List.empty recursive processing list and sublist of list gives a type mismatch I try to put a branching diagr...
[ -0.00165557861328125, 0.010009765625, -0.0024871826171875, 0.035400390625, 0.00885009765625, 0.006927490234375, 0.002655029296875, 0.01531982421875, 0.01263427734375, 0.01153564453125, 0.00970458984375, -0.0164794921875, 0.00799560546875, -0.001708984375, 0.005828857421875, 0.005462646...
[ 195625, 5844, 9433, 5303, 136, 1614, 6562, 111, 10644, 1239, 98753, 76199, 1830, 1238, 3742, 12353, 68163, 72838, 25561, 9513, 7709, 6746, 8194, 425, 32036, 33548, 939, 9790, 3884, 32845, 59207, 117233, 3934, 108802, 177, 9550, 3444, 35691, ...
[ 0.1839599609375, 0.1202392578125, 0.1063232421875, 0.1851806640625, 0.035675048828125, 0.18603515625, 0.2174072265625, 0.059295654296875, 0.161865234375, 0.10101318359375, 0.25244140625, 0.03436279296875, 0.021209716796875, 0.024444580078125, 0.1136474609375, 0.0657958984375, 0.01679...
embed
61932595_c0
61932595
fsharp
0
Title: cannot reference React in Fable Problem title: cannot reference React in Fable Tags: f%23, fable-f%23, reactjs Problem: cannot reference React in Fable I am trying to write a React component in F# with Fable, and I'm having trouble referencing the necessary libraries. The compile errors I'm getting are: The name...
cannot reference React in Fable cannot reference React in Fable f%23 fable-f%23 reactjs React Fable ContactInfoComponent Fable.Core Fable.Core.JsInterop Fable.Import Fable.Import.Browser Fable.React Fable.React.Helpers ContactInfoProps Name PureStatelessComponent this.render Type ItemGroup Reference Include node_module...
[ -0.00958251953125, 0.022216796875, 0.01495361328125, 0.007537841796875, -0.01116943359375, -0.01171875, -0.0096435546875, -0.001129150390625, -0.02099609375, 0.0126953125, -0.0252685546875, -0.01300048828125, 0.00762939453125, 0.0279541015625, 0.0196533203125, 0.00188446044921875, -0...
[ 53418, 91067, 853, 47013, 23, 563, 2886, 1238, 3742, 1071, 2661, 131300, 28175, 27627, 93147, 54137, 50886, 2146, 6982, 15555, 60785, 10752, 118233, 135206, 13, 9393, 10770, 903, 18280, 60457, 78426, 205072, 215996, 110, 83279, 1181, 205956, ...
[ 0.1390380859375, 0.276611328125, 0.1175537109375, 0.2314453125, 0.0986328125, 0.1314697265625, 0.1734619140625, 0.00152587890625, 0.055145263671875, 0.060638427734375, 0.0908203125, 0.177490234375, 0.0628662109375, 0.080322265625, 0.01654052734375, 0.124755859375, 0.0179443359375, ...
embed
34974764_c0
34974764
fsharp
0
Title: What happens in memory when working with immutable lists? Problem title: What happens in memory when working with immutable lists? Tags: f%23 Problem: What happens in memory when working with immutable lists? What happens in memory when working with immutable lists? Is a Deep Copy performed when invoking List.Ap...
What happens in memory when working with immutable lists? What happens in memory when working with immutable lists? f%23 What _modules List.append CreationViewModel ViewModelBase _modules:Module this.Modules this.Add this.AddList What happens in memory when working with immutable lists? What happens in memory when work...
[ -0.0079345703125, 0.00396728515625, 0.0157470703125, 0.02001953125, 0.0167236328125, 0.007080078125, 0.01177978515625, -0.001220703125, 0.035400390625, 0.0120849609375, 0.0238037109375, -0.02783203125, 0.0250244140625, 0.03515625, -0.00830078125, -0.005218505859375, 0.0283203125, 0...
[ 96276, 23, 98323, 20697, 678, 566, 561, 22819, 5303, 1238, 3742, 83279, 32036, 9007, 3611, 15678, 100474, 140290, 29805, 8782, 903, 4028, 154663, 3229, 4865, 62723, 146930, 51339, 23253, 39179, 14195, 670, 438, 22062, 98363, 41018, 563, 4904,...
[ 0.1346435546875, 0.117919921875, 0.23681640625, 0.115966796875, 0.0802001953125, 0.06597900390625, 0.1334228515625, 0.1568603515625, 0.2098388671875, 0.007354736328125, 0.05474853515625, 0.1129150390625, 0.17236328125, 0.044281005859375, 0.10430908203125, 0.057525634765625, 0.0654296...
embed
39379327_c1
39379327
fsharp
1
.TwitterLoginEnabled || this.AzureActiveDirectoryLoginEnabled The compiler error is highlighted under the call to updateExternalLoginProperty . To make the compiler error go away, I can simply change the let binding to a private member variable: member private this.UpdateExternalLoginProperty(isEnabled: bool byref, val...
.TwitterLoginEnabled || this.AzureActiveDirectoryLoginEnabled The compiler error is highlighted under the call to updateExternalLoginProperty . To make the compiler error go away, I can simply change the let binding to a private member variable: member private this.UpdateExternalLoginProperty(isEnabled: bool byref, val...
[ 0.0035552978515625, 0.0194091796875, 0.038330078125, 0.00946044921875, -0.0172119140625, 0.02001953125, -0.0115966796875, 0.00049591064453125, 0.0032196044921875, 0.031982421875, 0.0086669921875, 0.0194091796875, 0.0247802734375, 0.029296875, 0.019775390625, 0.009033203125, -0.012145...
[ 75691, 113972, 73, 7768, 2886, 71, 903, 219534, 13, 164414, 184911, 30675, 9969, 34759, 18499, 127308, 1379, 11782, 28350, 19279, 31586, 141, 10752, 1264, 939, 3249, 738, 16065, 87, 831, 42856, 15549, 2633, 128239, 14375, 32786, 77336, 152872...
[ 0.229736328125, 0.1787109375, 0.17041015625, 0.1051025390625, 0.18505859375, 0.05255126953125, 0.1566162109375, 0.1328125, 0.050140380859375, 0.1544189453125, 0.1053466796875, 0.02587890625, 0.2113037109375, 0.25390625, 0.237060546875, 0.1978759765625, 0.011322021484375, 0.14526367...
embed
54939920_c0
54939920
fsharp
0
Title: Why use &quot;or&quot; in Statically Resolved Type Parameters(SRTP) expressions F#? Problem title: Why use &quot;or&quot; in Statically Resolved Type Parameters(SRTP) expressions F#? Tags: f%23 Problem: Why use "or" in Statically Resolved Type Parameters(SRTP) expressions F#? let inline heterogenousAddBad(value1...
Why use &quot;or&quot; in Statically Resolved Type Parameters(SRTP) expressions F#? Why use &quot;or&quot; in Statically Resolved Type Parameters(SRTP) expressions F#? f%23 Why Statically Resolved Type Parameters SRTP value1 value2 heterogenousAdd2 EntryPoint Why use "or" in Statically Resolved Type Parameters(SRTP) ex...
[ -0.021484375, -0.01611328125, 0.0128173828125, -0.01104736328125, -0.00726318359375, -0.014404296875, -0.005035400390625, 0.00080108642578125, -0.01177978515625, -0.01495361328125, 0.005889892578125, -0.04248046875, 0.018798828125, -0.0018157958984375, 0.0189208984375, -0.0174560546875...
[ 44084, 4527, 41502, 748, 1230, 23888, 71407, 853, 86918, 60457, 1720, 29089, 38891, 23658, 125195, 563, 4904, 1238, 3742, 26098, 34292, 304, 77099, 61065, 4028, 357, 15123, 147534, 3871, 707, 23, 8353, 618, 13331, 1062, 62822, 52895, 18, 21...
[ 0.1357421875, 0.1341552734375, 0.0897216796875, 0.2369384765625, 0.07012939453125, 0.1431884765625, 0.055938720703125, 0.0139923095703125, 0.138427734375, 0.1641845703125, 0.10498046875, 0.1015625, 0.06524658203125, 0.2115478515625, 0.1600341796875, 0.06451416015625, 0.1510009765625,...
embed
57653020_c0
57653020
fsharp
0
Title: Creating a Xamarin.Forms.DataTemplate from a view function Problem title: Creating a Xamarin.Forms.DataTemplate from a view function Tags: f%23, xamarin.forms Problem: Creating a Xamarin.Forms.DataTemplate from a view function A CollectionView (or ListView) provides a way to view a sequence of objects (of type T...
Creating a Xamarin.Forms.DataTemplate from a view function Creating a Xamarin.Forms.DataTemplate from a view function f%23 xamarin.forms a Creating Xamarin.Forms.DataTemplate v:T View DataTemplate Values IDictionary BindableProperty Object xamarin.forms Creating a Xamarin.Forms.DataTemplate from a view function A Colle...
[ 0.00128936767578125, 0.0186767578125, -0.021240234375, -0.0211181640625, 0.01080322265625, -0.00787353515625, -0.004852294921875, -0.0087890625, 0.000492095947265625, -0.0654296875, -0.0030364990234375, -0.0238037109375, 0.0091552734375, -0.00885009765625, 0.020751953125, 0.00411987304...
[ 56781, 8606, 44503, 102973, 137989, 159065, 19309, 1295, 21455, 32354, 7, 1238, 3949, 3742, 2459, 5037, 81, 618, 29805, 11809, 190060, 11338, 14, 10763, 16666, 71, 2886, 10752, 1264, 134549, 68220, 100474, 32036, 87344, 3917, 944, 36746, 1064...
[ 0.1295166015625, 0.1431884765625, 0.23291015625, 0.21533203125, 0.1248779296875, 0.2398681640625, 0.1826171875, 0.093017578125, 0.2325439453125, 0.173095703125, 0.0187835693359375, 0.029754638671875, 0.00714111328125, 0.11083984375, 0.10748291015625, 0.1749267578125, 0.130126953125, ...
embed
30996135_c0
30996135
fsharp
0
Title: Is this definition of a tail recursive fibonacci function tail-recursive? Problem title: Is this definition of a tail recursive fibonacci function tail-recursive? Tags: functional-programming, tail-recursion, scala, continuation-passing, f%23 Problem: Is this definition of a tail recursive fibonacci function tai...
Is this definition of a tail recursive fibonacci function tail-recursive? Is this definition of a tail recursive fibonacci function tail-recursive? functional-programming tail-recursion scala continuation-passing f%23 k-1 k-2 Is this definition of a tail recursive fibonacci function tail-recursive? I've seen around the...
[ 0.0244140625, 0.00341796875, 0.0076904296875, -0.0145263671875, 0.00982666015625, -0.00994873046875, -0.0076904296875, -0.0279541015625, 0.00028228759765625, 0.00010347366333007812, -0.00286865234375, -0.0224609375, -0.01055908203125, 0.01141357421875, 0.02783203125, 0.0015029907226562...
[ 2071, 903, 80934, 46741, 195625, 5844, 809, 20990, 52544, 32354, 9, 107, 48650, 10, 123309, 28966, 1830, 146232, 9454, 1363, 13409, 214, 1238, 3742, 472, 5759, 5428, 563, 4904, 40946, 11343, 41591, 183234, 18151, 152653, 11, 99707, 1374, 31...
[ 0.0787353515625, 0.10552978515625, 0.19189453125, 0.282958984375, 0.2215576171875, 0.146728515625, 0.125, 0.1434326171875, 0.17578125, 0.2076416015625, 0.0338134765625, 0.0819091796875, 0.2052001953125, 0.0081787109375, 0.126953125, 0.115966796875, 0.007720947265625, 0.1591796875, ...
embed
22514892_c2
22514892
fsharp
2
ViewData, Razor, FooController, Controller, this.Index, this.ViewData.Add, Foo, Bar, Baz, this.View, ActionResult, ViewBag.Baz.Keys, Time, ViewBag.Baz, Line, Total, Keys, CallSite.Target, Closure, CallSite, Object, System.Dynamic.UpdateDelegates.UpdateAndExecute1, arg0, ASP._Page_Views_lobby_Index_cshtml.Execute, User...
ViewData, Razor, FooController, Controller, this.Index, this.ViewData.Add, Foo, Bar, Baz, this.View, ActionResult, ViewBag.Baz.Keys, Time, ViewBag.Baz, Line, Total, Keys, CallSite.Target, Closure, CallSite, Object, System.Dynamic.UpdateDelegates.UpdateAndExecute1, arg0, ASP._Page_Views_lobby_Index_cshtml.Execute, User...
[ -0.0179443359375, -0.00726318359375, -0.0106201171875, -0.0211181640625, -0.004486083984375, 0.0086669921875, 0.00086212158203125, -0.001922607421875, 0.0169677734375, -0.033447265625, -0.01177978515625, -0.009521484375, -0.0034332275390625, 0.0113525390625, 0.01025390625, -0.001625061...
[ 29805, 137989, 4, 12905, 748, 9572, 31, 175904, 603, 27131, 903, 4153, 39659, 100474, 4028, 3253, 36490, 57945, 4332, 7, 7136, 192996, 571, 1828, 162429, 19055, 16777, 33867, 26824, 26265, 1486, 63031, 51053, 134549, 12353, 29673, 152872, 325...
[ 0.28662109375, 0.252197265625, 0.025634765625, 0.1812744140625, 0.1983642578125, 0.1729736328125, 0.150390625, 0.2491455078125, 0.1590576171875, 0.220947265625, 0.1761474609375, 0.0430908203125, 0.1917724609375, 0.31005859375, 0.1483154296875, 0.1578369140625, 0.1502685546875, 0.16...
embed
34353233_c0
34353233
fsharp
0
Title: Uninstall F# from VS 2015 Problem title: Uninstall F# from VS 2015 Tags: f%23, visual-studio, visual-studio-2015 Problem: Uninstall F# from VS 2015 I have recently installed Visual Studio 2015 (Enterprise), and although I only selected C++ from the programming languages list, it has also installed F#. A language...
Uninstall F# from VS 2015 Uninstall F# from VS 2015 f%23 visual-studio visual-studio-2015 VS Uninstall visual-studio-2015 Uninstall F# from VS 2015 I have recently installed Visual Studio 2015 (Enterprise), and although I only selected C++ from the programming languages list, it has also installed F#. A language I have...
[ 0.00579833984375, 0.0162353515625, 0.0196533203125, -0.0089111328125, -0.0184326171875, 0.0010223388671875, -0.0159912109375, -0.00125885009765625, -0.00836181640625, 0.00860595703125, 0.00115966796875, -0.0106201171875, -0.004364013671875, 0.0206298828125, 0.0018768310546875, 0.008789...
[ 992, 80383, 563, 4904, 1295, 44160, 918, 1238, 3949, 3742, 21176, 52629, 44906, 20600, 73372, 22968, 93781, 4734, 133291, 313, 37223, 56037, 46876, 5303, 297, 87, 8306, 11814, 1221, 959, 4527, 20697, 678, 75034, 82424, 214521, 50339, 1774, ...
[ 0.131103515625, 0.221435546875, 0.165771484375, 0.24365234375, 0.11669921875, 0.2021484375, 0.2066650390625, 0.0662841796875, 0.000213623046875, 0.08941650390625, 0.165771484375, 0.1622314453125, 0.2030029296875, 0.142333984375, 0.199951171875, 0.1763916015625, 0.06982421875, 0.023...
embed
35571835_c0
35571835
fsharp
0
Title: Recursively unpack list into elements Problem title: Recursively unpack list into elements Tags: mutable, f%23, recursion Problem: Recursively unpack list into elements I have a list and would like to return each element from it individually. Basically like popping from a stack. For example: let rnd = new System...
Recursively unpack list into elements Recursively unpack list into elements mutable f%23 recursion Recursively System.Random List.init rnd.Next List.iter List.head List.tail pop3 rnds:int Recursively unpack list into elements I have a list and would like to return each element from it individually. Basically like poppi...
[ -0.0028076171875, 0.00701904296875, 0.005096435546875, 0.0098876953125, 0.003936767578125, 0.03466796875, 0.01068115234375, 0.00013256072998046875, 0.01025390625, -0.021484375, 0.0118408203125, -0.01165771484375, 0.0022125244140625, 0.0201416015625, -0.00031280517578125, 0.001548767089...
[ 853, 48650, 5844, 538, 51, 29102, 5303, 3934, 80854, 842, 22819, 1238, 3949, 3742, 195625, 1830, 12353, 126525, 3815, 32036, 5, 217, 2208, 81280, 16840, 31251, 46741, 7426, 363, 4288, 765, 2806, 1884, 30646, 12638, 12830, 1295, 11651, 160, ...
[ 0.0660400390625, 0.1917724609375, 0.1397705078125, 0.03375244140625, 0.122314453125, 0.238037109375, 0.208984375, 0.1619873046875, 0.196044921875, 0.1240234375, 0.1605224609375, 0.04876708984375, 0.0146942138671875, 0.1549072265625, 0.2369384765625, 0.038330078125, 0.1090087890625, ...
embed
11772318_c0
11772318
fsharp
0
Title: Function generation with arbitrary signature Problem title: Function generation with arbitrary signature Tags: f%23, generics, reflection.emit, reflection, .net Problem: Function generation with arbitrary signature Suppose you want to write a function "gen" that generates a function with a signature given by a l...
Function generation with arbitrary signature Function generation with arbitrary signature f%23 generics reflection.emit reflection .net sig:Type reflection.emit Function generation with arbitrary signature Suppose you want to write a function "gen" that generates a function with a signature given by a list of types: I ...
[ -0.0120849609375, 0.001953125, -0.0147705078125, 0.000186920166015625, -0.0303955078125, -0.02001953125, 0.00183868408203125, 0.000766754150390625, -0.00970458984375, -0.03466796875, -0.01177978515625, 0.00543212890625, -0.01373291015625, 0.00150299072265625, 0.0107421875, 0.0017852783...
[ 28670, 10763, 58093, 678, 61799, 1294, 138256, 1238, 3949, 3742, 189534, 44961, 1830, 195, 217, 1179, 1144, 196707, 3444, 33022, 32354, 1409, 139392, 34475, 5303, 52895, 17569, 6626, 7722, 51347, 345, 53295, 8996, 2775, 3714, 3249, 24018, 150...
[ 0.16015625, 0.071044921875, 0.2235107421875, 0.06585693359375, 0.170166015625, 0.1085205078125, 0.2357177734375, 0.00555419921875, 0.001251220703125, 0.10186767578125, 0.190673828125, 0.228515625, 0.07257080078125, 0.07183837890625, 0.1690673828125, 0.1339111328125, 0.08984375, 0.1...
embed
65617445_c1
65617445
fsharp
1
interfaces) are internal so I suspect that I should not use them. I also assume that I have to use the tag helper in order to get the html correctly annotated. note: It's not required to actually replace it with code that does exactly the same (eg. is a razor page) but rather does what is required to bootstrap blazor ...
interfaces) are internal so I suspect that I should not use them. I also assume that I have to use the tag helper in order to get the html correctly annotated. note: It's not required to actually replace it with code that does exactly the same (eg. is a razor page) but rather does what is required to bootstrap blazor ...
[ -0.0142822265625, 0.02783203125, -0.007659912109375, -0.004913330078125, -0.00174713134765625, -0.0020904541015625, -0.020263671875, -0.033203125, -0.00008630752563476562, -0.025390625, -0.006439208984375, -0.01397705078125, -0.005157470703125, -0.0034332275390625, 0.0191650390625, 0.0...
[ 101758, 7, 621, 70796, 92610, 5608, 959, 4527, 2856, 41591, 7909, 4358, 56, 7693, 26785, 8668, 102, 3674, 56065, 91995, 18151, 5701, 1954, 748, 9191, 49935, 107617, 9932, 12597, 76104, 54543, 49846, 79315, 181719, 11193, 271, 11435, 210716, ...
[ 0.256591796875, 0.0391845703125, 0.01190185546875, 0.2015380859375, 0.11328125, 0.0228118896484375, 0.0782470703125, 0.1171875, 0.0689697265625, 0.047882080078125, 0.166748046875, 0.1673583984375, 0.1199951171875, 0.193115234375, 0.0693359375, 0.1263427734375, 0.07232666015625, 0.0...
embed
35537160_c1
35537160
fsharp
1
Health> . The idea is not just to separate the messages. This can be easily achieved with Observable.filter . The idea is that the the data for each case additional get extracted. For DU case that don't carry any additional data this is easy, as i only have to write Some () in the Observable.choose function. But this o...
Health> . The idea is not just to separate the messages. This can be easily achieved with Observable.filter . The idea is that the the data for each case additional get extracted. For DU case that don't carry any additional data this is easy, as i only have to write Some () in the Observable.choose function. But this o...
[ 0.005218505859375, 0.03369140625, -0.0174560546875, 0.0048828125, -0.01220703125, -0.0159912109375, 0.00174713134765625, 0.013671875, 0.02734375, -0.0218505859375, 0.0115966796875, -0.00994873046875, 0.0145263671875, 0.007781982421875, -0.007598876953125, 0.0142822265625, 0.021484375...
[ 19102, 2740, 5, 6528, 84797, 70, 89914, 72546, 69307, 87652, 2661, 120337, 2053, 12638, 7225, 78301, 2046, 125663, 14614, 85358, 23468, 4734, 33022, 31384, 3089, 8364, 32354, 43240, 12921, 50218, 41206, 142424, 161466, 5915, 4677, 64457, 54953,...
[ 0.2139892578125, 0.08734130859375, 0.033294677734375, 0.133544921875, 0.2388916015625, 0.0335693359375, 0.208984375, 0.0950927734375, 0.0794677734375, 0.22314453125, 0.1986083984375, 0.2030029296875, 0.16943359375, 0.08984375, 0.142333984375, 0.1785888671875, 0.06768798828125, 0.18...
embed
40745894_c1
40745894
fsharp
1
\Visual Studio 2015\Projects\Multi-armed Bandit Experiments\NVCC Experiments\kernel.cu" I want to do the above not from the command line, but from an F# script or an executable, but am not sure how to do the first step. The second is well documented on MSDN though; it can be done using the Process class. As an aside, t...
\Visual Studio 2015\Projects\Multi-armed Bandit Experiments\NVCC Experiments\kernel.cu" I want to do the above not from the command line, but from an F# script or an executable, but am not sure how to do the first step. The second is well documented on MSDN though; it can be done using the Process class. As an aside, t...
[ 0.0028228759765625, 0.0009765625, -0.023193359375, 0.012939453125, 0.00537109375, 0.01336669921875, -0.007049560546875, -0.028076171875, -0.00098419189453125, -0.035888671875, -0.021240234375, 0.0277099609375, -0.0089111328125, 0.0152587890625, 0.00750732421875, -0.0140380859375, 0.0...
[ 6609, 64010, 22968, 918, 223353, 50657, 118, 147, 4806, 14298, 217, 146797, 7, 65954, 13709, 72083, 141, 5, 1010, 3444, 47, 54, 36917, 959, 1295, 75101, 13315, 563, 4904, 26499, 71924, 9077, 5117, 29954, 17932, 12937, 51671, 16940, 123996, ...
[ 0.1092529296875, 0.1573486328125, 0.177490234375, 0.1966552734375, 0.09912109375, 0.040802001953125, 0.05950927734375, 0.07562255859375, 0.0621337890625, 0.12939453125, 0.1142578125, 0.1981201171875, 0.06585693359375, 0.188232421875, 0.2032470703125, 0.1878662109375, 0.151123046875, ...
embed
38056600_c0
38056600
fsharp
0
Title: How to convert between Rx 1 Observable and F# 3 observable? Problem title: How to convert between Rx 1 Observable and F# 3 observable? Tags: .net-3.5, f%23, system.reactive Problem: How to convert between Rx 1 Observable and F# 3 observable? I'm limited to .net 3.5 and want to use Reactive Extensions with F# 3.0...
How to convert between Rx 1 Observable and F# 3 observable? How to convert between Rx 1 Observable and F# 3 observable? .net-3.5 f%23 system.reactive How Observable System.IObservable System.Reactive System.Timers System EntryPoint Timer timer.AutoReset timer.Start timer.Elapsed Observable.scan IObservable net-3.5 How ...
[ -0.011962890625, 0.025390625, 0.01226806640625, -0.0113525390625, -0.009521484375, -0.003814697265625, -0.007110595703125, 0.0206298828125, -0.0001220703125, -0.0185546875, 0.017333984375, -0.00872802734375, 0.016845703125, 0.00616455078125, 0.0079345703125, 0.00116729736328125, 0.00...
[ 11249, 47, 96760, 17721, 627, 425, 106, 87652, 2661, 136, 563, 4904, 138, 22046, 1179, 72516, 1238, 3742, 5426, 107, 71232, 12353, 17780, 275, 65756, 4332, 152704, 15123, 147534, 13320, 21991, 38115, 3509, 126597, 127966, 4398, 87, 46471, 2...
[ 0.06072998046875, 0.03375244140625, 0.218505859375, 0.132080078125, 0.1085205078125, 0.1898193359375, 0.158935546875, 0.214111328125, 0.1544189453125, 0.0675048828125, 0.12841796875, 0.1834716796875, 0.251708984375, 0.18994140625, 0.1507568359375, 0.2198486328125, 0.06884765625, 0....
embed
15207065_c1
15207065
fsharp
1
.0 if it is not compatible with it. again,trying to understand what I must be missing as it sounds very obvious. I imagine this is not a matter of supporting 4.X VS 4.Y but more the 'runner' being boud to 4.X while the fscheck being bound to 4.Y (is it ? in which case, what would prevent the 'reuse' of the first bindin...
.0 if it is not compatible with it. again,trying to understand what I must be missing as it sounds very obvious. I imagine this is not a matter of supporting 4.X VS 4.Y but more the 'runner' being boud to 4.X while the fscheck being bound to 4.Y (is it ? in which case, what would prevent the 'reuse' of the first bindin...
[ -0.03662109375, 0.0164794921875, -0.006378173828125, -0.0299072265625, 0.000423431396484375, -0.00201416015625, -0.015625, -0.012451171875, 0.004241943359375, 0.006744384765625, -0.0084228515625, 0.0167236328125, -0.003173828125, -0.006622314453125, 0.01104736328125, 0.002838134765625,...
[ 5, 2389, 2174, 83, 959, 146731, 678, 442, 13438, 28219, 8110, 132283, 102678, 162520, 28987, 8060, 1398, 1542, 44160, 1723, 142117, 1674, 47, 1238, 7, 78292, 99091, 56282, 107, 4032, 5117, 128239, 44084, 759, 36279, 113458, 456, 80581, 1249...
[ 0.06512451171875, 0.1884765625, 0.02105712890625, 0.012603759765625, 0.10369873046875, 0.1898193359375, 0.07891845703125, 0.0245513916015625, 0.00286865234375, 0.05645751953125, 0.048583984375, 0.08978271484375, 0.03253173828125, 0.07611083984375, 0.06207275390625, 0.11083984375, 0.1...
embed
12027270_c1
12027270
fsharp
1
System.ServiceModel.Channels.HttpChannelFactory, HttpRequestChannel.HttpChannelRequest.WaitForReply, TimeSpan, End, Server, System.ServiceModel.Channels.HttpChannelUtilities.ValidateRequestReplyResponse, HttpWebRequest, HttpWebResponse, HttpChannelFactory, ChannelBinding, System.ServiceModel.Channels.RequestChannel.Re...
System.ServiceModel.Channels.HttpChannelFactory, HttpRequestChannel.HttpChannelRequest.WaitForReply, TimeSpan, End, Server, System.ServiceModel.Channels.HttpChannelUtilities.ValidateRequestReplyResponse, HttpWebRequest, HttpWebResponse, HttpChannelFactory, ChannelBinding, System.ServiceModel.Channels.RequestChannel.Re...
[ -0.006561279296875, 0.0189208984375, 0.0026397705078125, 0.0185546875, -0.0159912109375, -0.01904296875, 0.01495361328125, -0.03515625, 0.0062255859375, -0.016845703125, 0.0159912109375, 0.00836181640625, -0.01324462890625, 0.0186767578125, 0.0230712890625, -0.000850677490234375, 0.0...
[ 12353, 5, 121979, 140290, 127008, 8876, 841, 3062, 135518, 31667, 4, 572, 75616, 22489, 217, 18537, 62479, 19055, 3180, 18878, 22687, 1062, 24493, 42272, 94399, 30474, 55969, 16882, 33770, 48205, 4453, 7944, 5584, 73783, 34677, 1250, 50878, 1...
[ 0.1605224609375, 0.06640625, 0.1778564453125, 0.26953125, 0.173095703125, 0.185546875, 0.014892578125, 0.115966796875, 0.1993408203125, 0.13134765625, 0.038818359375, 0.019683837890625, 0.158447265625, 0.162353515625, 0.07415771484375, 0.1026611328125, 0.1806640625, 0.1322021484375...
embed
7828995_c1
7828995
fsharp
1
type BsonValue, which is an abstract supertype of BsonString, which has an implicit conversion from .NET string no matter which overload is used; so everything is ok there, too. It doesn't matter which overload of the constructor is called. This is a little difficult to maneuver into an F# equivalent because it's diff...
type BsonValue, which is an abstract supertype of BsonString, which has an implicit conversion from .NET string no matter which overload is used; so everything is ok there, too. It doesn't matter which overload of the constructor is called. This is a little difficult to maneuver into an F# equivalent because it's diff...
[ -0.007598876953125, 0.00909423828125, -0.00323486328125, 0.002044677734375, -0.0179443359375, -0.007537841796875, -0.01513671875, -0.0269775390625, -0.0016021728515625, -0.00543212890625, 0.0291748046875, 0.0191650390625, 0.00946044921875, 0.0010833740234375, 0.017822265625, -0.0031280...
[ 10644, 335, 1681, 856, 50770, 83, 164789, 1601, 50986, 71713, 214, 1556, 165164, 142477, 1295, 17777, 79315, 110, 26866, 645, 63033, 11814, 26818, 3664, 2685, 64549, 748, 35839, 10176, 34844, 22311, 563, 4904, 183234, 5, 284, 4028, 55300, 2...
[ 0.2320556640625, 0.1474609375, 0.2213134765625, 0.2335205078125, 0.28173828125, 0.02374267578125, 0.1348876953125, 0.1268310546875, 0.24462890625, 0.135986328125, 0.1090087890625, 0.013397216796875, 0.1995849609375, 0.1468505859375, 0.050872802734375, 0.1583251953125, 0.19482421875, ...
embed
14864631_c0
14864631
fsharp
0
Title: &quot;Problem9&quot;: Packing a list Problem title: &quot;Problem9&quot;: Packing a list Tags: f%23, pattern-matching, matching, list, packing Problem: "Problem9": Packing a list I'm learning f# with no prior functional programming background - starting to make progress but been stuck on this one. Could anybody ...
&quot;Problem9&quot;: Packing a list &quot;Problem9&quot;: Packing a list f%23 pattern-matching matching list packing Problem9 Packing y::xs x::y::xs List.foldBack "Problem9": Packing a list I'm learning f# with no prior functional programming background - starting to make progress but been stuck on this one. Could any...
[ 0.0179443359375, 0.01153564453125, 0.0162353515625, 0.0062255859375, -0.035400390625, 0.02587890625, -0.0009918212890625, 0.0023651123046875, 0.0115966796875, 0.01031494140625, 0.0172119140625, 0.01019287109375, 0.010498046875, -0.0002899169921875, -0.01239013671875, 0.0198974609375, ...
[ 41502, 223361, 1126, 56607, 214, 10, 5303, 1238, 3949, 3742, 103510, 98753, 14858, 43824, 15649, 113, 12, 425, 1022, 53, 7, 32036, 42822, 152470, 52080, 4904, 678, 110, 41928, 123309, 56037, 76615, 72134, 42658, 179933, 28219, 29806, 483, 1...
[ 0.001556396484375, 0.1951904296875, 0.226318359375, 0.244873046875, 0.0802001953125, 0.038848876953125, 0.2037353515625, 0.10345458984375, 0.0343017578125, 0.1141357421875, 0.2100830078125, 0.1959228515625, 0.2197265625, 0.22509765625, 0.1951904296875, 0.091064453125, 0.013427734375,...
embed
43533530_c0
43533530
fsharp
0
Title: Skip null values in seq&lt;Nullable&lt;int&gt;&gt; in FSharp.Charting Problem title: Skip null values in seq&lt;Nullable&lt;int&gt;&gt; in FSharp.Charting Tags: fsharpchart, f%23 Problem: Skip null values in seq > in FSharp.Charting I have seq<Nullable<int>> and need to create nice plot, but without null values....
Skip null values in seq&lt;Nullable&lt;int&gt;&gt; in FSharp.Charting Skip null values in seq&lt;Nullable&lt;int&gt;&gt; in FSharp.Charting fsharpchart f%23 Skip FSharp.Charting Nullable System FSharp.Charting.0.90.14 net40 FSharp.Charting.dll FSharp.Charting.fsx Seq.zip Chart.Line Error Skip null values in seq > in FS...
[ -0.0091552734375, -0.00131988525390625, 0.0233154296875, 0.017578125, -0.0086669921875, 0.00421142578125, 0.0223388671875, -0.0033721923828125, -0.01019287109375, 0.0184326171875, -0.0230712890625, -0.0023956298828125, -0.021728515625, 0.029052734375, 0.0157470703125, 0.01904296875, ...
[ 91958, 56574, 142424, 40, 864, 839, 20446, 2661, 4288, 93774, 3467, 254, 84068, 1916, 23, 1238, 89280, 9254, 18, 3742, 27786, 12353, 143161, 617, 2043, 2839, 1181, 503, 50836, 110373, 93232, 212059, 3871, 28282, 26267, 23577, 1284, 15490, 1...
[ 0.2286376953125, 0.28955078125, 0.2440185546875, 0.0928955078125, 0.206787109375, 0.04730224609375, 0.197265625, 0.21337890625, 0.1160888671875, 0.08740234375, 0.1849365234375, 0.1846923828125, 0.181396484375, 0.1295166015625, 0.047882080078125, 0.011444091796875, 0.11376953125, 0....
embed
39938628_c0
39938628
fsharp
0
Title: Ocaml Type Error For enumerate example Problem title: Ocaml Type Error For enumerate example Tags: f%23, functional-programming, ocaml Problem: Ocaml Type Error For enumerate example Hello I am new to OCaml And I am trying to learn the basic syntax of tail recursion. I wrote the following code in order to get a ...
Ocaml Type Error For enumerate example Ocaml Type Error For enumerate example f%23 functional-programming ocaml Ocaml Type Error x::xs List.rev Ocaml Type Error For enumerate example Hello I am new to OCaml And I am trying to learn the basic syntax of tail recursion. I wrote the following code in order to get a list an...
[ -0.0021820068359375, 0.020751953125, -0.01019287109375, 0.0157470703125, -0.00677490234375, 0.0216064453125, -0.0238037109375, -0.004852294921875, -0.00994873046875, -0.0281982421875, 0.001800537109375, -0.0186767578125, 0.00396728515625, 0.0164794921875, 0, -0.022705078125, 0.019653...
[ 180, 9779, 141, 60457, 212059, 1326, 189085, 67, 27781, 1238, 3949, 3742, 123309, 28966, 36, 1022, 12, 425, 32036, 65381, 35378, 105272, 62822, 6002, 86531, 46741, 195625, 1830, 54397, 25632, 18151, 2046, 5303, 30646, 115, 99726, 70541, 12830...
[ 0.132568359375, 0.1932373046875, 0.13671875, 0.2286376953125, 0.1920166015625, 0.04266357421875, 0.2174072265625, 0.100830078125, 0.221435546875, 0.0193634033203125, 0.057373046875, 0.1259765625, 0.1224365234375, 0.06103515625, 0.06884765625, 0.0728759765625, 0.006011962890625, 0.0...
embed
75090199_c0
75090199
fsharp
0
Title: F# - cancellation token works for async{} but not for task{} Problem title: F# - cancellation token works for async{} but not for task{} Tags: task, f%23-async, f%23 Problem: F# - cancellation token works for async{} but not for task{} When I run this code-block using the async{} computation expression: let toke...
F# - cancellation token works for async{} but not for task{} F# - cancellation token works for async{} but not for task{} task f%23-async f%23 CancellationTokenSource Async.Sleep Async.Start tokenSource.Token tokenSource.Cancel Task.Delay Task Task.Run F# - cancellation token works for async{} but not for task{} When I...
[ 0.02392578125, 0.018798828125, 0.0262451171875, -0.01416015625, 0.00775146484375, -0.00787353515625, 0.00244140625, 0.0023193359375, 0.01123046875, -0.016357421875, -0.0078125, 0.0260009765625, -0.004150390625, -0.00048828125, 0.0257568359375, -0.00067138671875, 0.0172119140625, 0....
[ 563, 4904, 126136, 1363, 47, 1098, 43240, 100, 10, 12654, 238, 1284, 959, 66211, 1238, 27495, 3742, 80392, 57860, 7763, 211235, 133, 4517, 62, 126597, 54694, 8969, 9598, 4657, 5259, 92, 163321, 20, 11675, 18151, 81409, 181135, 125195, 2940,...
[ 0.1229248046875, 0.1981201171875, 0.2548828125, 0.1263427734375, 0.1124267578125, 0.188720703125, 0.1173095703125, 0.066162109375, 0.0440673828125, 0.1842041015625, 0.06829833984375, 0.039306640625, 0.05615234375, 0.1934814453125, 0.060272216796875, 0.0848388671875, 0.1168212890625, ...
embed
32406385_c0
32406385
fsharp
0
Title: How to include named parameters in F# documentation Problem title: How to include named parameters in F# documentation Tags: f%23, f%23-3.0 Problem: How to include named parameters in F# documentation I'd like to include documentation with my F# functions. As a new user, I recently discovered the XML tags built ...
How to include named parameters in F# documentation How to include named parameters in F# documentation f%23 f%23-3.0 named How StackOverflow How to include named parameters in F# documentation I'd like to include documentation with my F# functions. As a new user, I recently discovered the XML tags built into F# ; that...
[ -0.0036163330078125, 0.0137939453125, 0.004791259765625, -0.01318359375, -0.00048065185546875, 0.0213623046875, -0.01092529296875, -0.0294189453125, -0.00537109375, 0.00138092041015625, 0.044189453125, -0.00897216796875, -0.01318359375, -0.005523681640625, 0.029541015625, -0.0069274902...
[ 11249, 47, 26698, 24, 4806, 171859, 7, 23, 563, 4904, 209806, 1238, 3742, 27495, 132265, 6512, 2594, 156673, 118664, 1884, 678, 32354, 38937, 134053, 92537, 69141, 88303, 3934, 4677, 2967, 121, 39, 48903, 54, 23937, 114669, 5465, 76896, 742...
[ 0.09619140625, 0.024871826171875, 0.2039794921875, 0.1708984375, 0.17724609375, 0.263427734375, 0.0887451171875, 0.0531005859375, 0.150634765625, 0.2373046875, 0.272705078125, 0.0626220703125, 0.0631103515625, 0.039581298828125, 0.1199951171875, 0.0609130859375, 0.02947998046875, 0...
embed
27733538_c0
27733538
fsharp
0
Title: Uri().AbsolutePath &quot;Unexpected symbol &#x27;.&#x27; in binding.&quot; error expression in F# Problem title: Uri().AbsolutePath &quot;Unexpected symbol &#x27;.&#x27; in binding.&quot; error expression in F# Tags: f%23, c%23-to-f%23 Problem: Uri().AbsolutePath "Unexpected symbol '.' in binding." error express...
Uri().AbsolutePath &quot;Unexpected symbol &#x27;.&#x27; in binding.&quot; error expression in F# Uri().AbsolutePath &quot;Unexpected symbol &#x27;.&#x27; in binding.&quot; error expression in F# f%23 c%23-to-f%23 Uri AbsolutePath Unexpected LogPath Assembly.GetExecutingAssembly CodeBase Path.GetDirectoryName cube_solv...
[ -0.002105712890625, 0.013427734375, -0.00193023681640625, 0.0002269744873046875, -0.0091552734375, -0.004119873046875, 0.032958984375, 0.0208740234375, 0.00070953369140625, -0.01348876953125, 0.0079345703125, 0.0024871826171875, -0.00170135498046875, 0.01031494140625, 0.0025787353515625,...
[ 130885, 24988, 98685, 13, 683, 10519, 14256, 83613, 89829, 26582, 3768, 23, 128239, 18499, 125195, 563, 4904, 132, 1238, 3742, 27495, 188, 420, 101397, 992, 13146, 151169, 211603, 89845, 28864, 63473, 108421, 184911, 314, 372, 86918, 42, 4867...
[ 0.2496337890625, 0.01361083984375, 0.123291015625, 0.1314697265625, 0.138916015625, 0.203369140625, 0.09033203125, 0.0777587890625, 0.028533935546875, 0.2398681640625, 0.1383056640625, 0.0626220703125, 0.2080078125, 0.167236328125, 0.1854248046875, 0.1373291015625, 0.216064453125, ...
embed
30901269_c0
30901269
fsharp
0
Title: F# and YamlDotNet Problem title: F# and YamlDotNet Tags: c%23-to-f%23, f%23 Problem: F# and YamlDotNet Can someone help me with this. How to use YamlDotNet to deserialize an object? My code: open YamlDotNet open YamlDotNet.Serialization open System open System.IO let ss1 (obj, f) = use tw = File.CreateText(f) le...
F# and YamlDotNet F# and YamlDotNet c%23-to-f%23 f%23 YamlException YamlDotNet YamlDotNet.Serialization System System.IO ss1 File.CreateText Serializer s.Serialize this.a this.b xxx.yml Deserializer FileStream FileMode.Open FileAccess.Read StreamReader de.Deserialize F# and YamlDotNet Can someone help me with this. How...
[ 0.0302734375, 0.007080078125, 0.00518798828125, -0.02001953125, -0.0009765625, -0.01495361328125, -0.018310546875, -0.0184326171875, -0.019775390625, 0.00066375732421875, -0.013671875, -0.0038604736328125, -0.0047607421875, -0.0059814453125, 0.0026397705078125, -0.0289306640625, 0.00...
[ 563, 4904, 136, 2369, 7237, 8331, 18, 24447, 27495, 188, 420, 3742, 1238, 19279, 63928, 4233, 51626, 47691, 12353, 17780, 91, 7, 418, 42724, 63784, 174379, 135188, 52825, 294, 25435, 119066, 903, 11, 275, 20112, 262, 43048, 1799, 4383, 11...
[ 0.1767578125, 0.221923828125, 0.11328125, 0.1939697265625, 0.225830078125, 0.1494140625, 0.1080322265625, 0.2127685546875, 0.0965576171875, 0.117919921875, 0.1104736328125, 0.08563232421875, 0.0823974609375, 0.0321044921875, 0.1070556640625, 0.04632568359375, 0.1234130859375, 0.027...
embed
40534958_c0
40534958
fsharp
0
Title: Wildcard file include in .NET Core project with F# Problem title: Wildcard file include in .NET Core project with F# Tags: f%23, .net-core Problem: Wildcard file include in .NET Core project with F# I was trying out ASP.NET Core with F# using the aspnet Yeoman template, and I found something I didn't expect in p...
Wildcard file include in .NET Core project with F# Wildcard file include in .NET Core project with F# f%23 .net-core in Wildcard NET Core project.json Controllers.fs Startup.fs Program.fs Wildcard file include in .NET Core project with F# I was trying out ASP.NET Core with F# using the aspnet Yeoman template, and I fou...
[ -0.01336669921875, -0.00146484375, -0.013427734375, 0.0107421875, -0.0224609375, -0.00750732421875, 0.00567626953125, 0.00069427490234375, -0.00341796875, -0.019775390625, 0.03515625, 0.00750732421875, -0.01708984375, 0.0361328125, 0.009521484375, 0.0091552734375, -0.0172119140625, ...
[ 33384, 38931, 11435, 26698, 17777, 31365, 13452, 678, 563, 4904, 1238, 3742, 1179, 30854, 170, 1681, 27131, 603, 17447, 153076, 7663, 31577, 147153, 11246, 31, 669, 110934, 41206, 25813, 144573, 102158, 45367, 18499, 15549, 174350, 57266, 11001...
[ 0.1546630859375, 0.255126953125, 0.2003173828125, 0.1905517578125, 0.1207275390625, 0.197265625, 0.1470947265625, 0.04681396484375, 0.087158203125, 0.1661376953125, 0.0156402587890625, 0.091552734375, 0.09912109375, 0.2242431640625, 0.0703125, 0.1668701171875, 0.09356689453125, 0.0...
embed
34639610_c0
34639610
fsharp
0
Title: FAKE CscHelper: Csc vs csc? Problem title: FAKE CscHelper: Csc vs csc? Tags: f%23, f%23-fake Problem: FAKE CscHelper: Csc vs csc? I don't understand the difference between these two. I want to compile a single c# file into a dll using FAKE's CscHelper. This is my build file: // include Fake lib #r @"packages/FAK...
FAKE CscHelper: Csc vs csc? FAKE CscHelper: Csc vs csc? f%23 f%23-fake Fake CscHelper Csc FakeLib.dll Target Default Discover.cs Output Discover.dll Library RunTargetOrDefault build.fsx FS0001 Type Expecting FAKE CscHelper: Csc vs csc? I don't understand the difference between these two. I want to compile a single c# f...
[ -0.00970458984375, 0.02587890625, 0.0079345703125, -0.000537872314453125, 0.000705718994140625, -0.008544921875, -0.004730224609375, -0.00201416015625, -0.0128173828125, 0.0185546875, -0.01544189453125, 0.00141143798828125, 0.01275634765625, -0.005126953125, 0.0035552978515625, -0.0063...
[ 563, 119960, 313, 10382, 60785, 1264, 12, 20209, 20763, 238, 3742, 27495, 1021, 350, 3036, 104820, 71, 1181, 160017, 262, 53092, 5465, 4439, 13538, 103835, 28398, 63031, 3794, 19060, 187423, 11, 45367, 17447, 425, 93774, 188735, 60457, 60075,...
[ 0.1585693359375, 0.1966552734375, 0.105712890625, 0.2008056640625, 0.2244873046875, 0.2158203125, 0.0273590087890625, 0.2060546875, 0.13720703125, 0.1573486328125, 0.01776123046875, 0.00921630859375, 0.1409912109375, 0.10394287109375, 0.1644287109375, 0.19140625, 0.02081298828125, ...
embed
49290064_c0
49290064
fsharp
0
Title: How to specify headers for a web request Problem title: How to specify headers for a web request Tags: request-headers, http-headers, http-get, f%23 Problem: How to specify headers for a web request Trying to set headers for a http call but running into issues. Need guidance for both Authorization and a custom h...
How to specify headers for a web request How to specify headers for a web request request-headers http-headers http-get f%23 How Authorization example.com WebRequest.Create HttpWebRequest request.Method GET request.Accept UTF-8 request.Headers.Authorization token.token_type token.access_token request.Headers How to spe...
[ 0.004241943359375, 0.033203125, 0.0026397705078125, -0.0228271484375, -0.0159912109375, -0.0244140625, -0.01129150390625, -0.00836181640625, 0.0128173828125, 0.0111083984375, 0.0291748046875, -0.0037841796875, -0.0308837890625, -0.0017242431640625, 0.0034637451171875, -0.0142822265625,...
[ 11249, 47, 40140, 18929, 10336, 1314, 100, 1467, 50336, 31251, 1621, 3794, 1238, 3949, 3742, 61804, 47691, 27781, 277, 4002, 4332, 75616, 63784, 3062, 30474, 78572, 7352, 79794, 232587, 30992, 17376, 5, 13025, 11, 14202, 1003, 5922, 1098, 6...
[ 0.07635498046875, 0.05303955078125, 0.2120361328125, 0.148681640625, 0.23193359375, 0.2283935546875, 0.0928955078125, 0.1346435546875, 0.2353515625, 0.1905517578125, 0.177978515625, 0.06402587890625, 0.04461669921875, 0.0185699462890625, 0.1337890625, 0.12548828125, 0.09716796875, ...
embed
9766613_c0
9766613
fsharp
0
Title: Using Functional Programming to compute prime numbers efficiently Problem title: Using Functional Programming to compute prime numbers efficiently Tags: functional-programming, performance, f%23 Problem: Using Functional Programming to compute prime numbers efficiently I'm getting acquainted with F# by going ove...
Using Functional Programming to compute prime numbers efficiently Using Functional Programming to compute prime numbers efficiently functional-programming performance f%23 Using Functional Programming List.forall n::sofar Seq.takeWhile Using Functional Programming to compute prime numbers efficiently I'm getting acquai...
[ -0.00799560546875, 0.0208740234375, 0.0242919921875, 0.0017547607421875, 0.0101318359375, -0.0086669921875, 0.0031280517578125, -0.0146484375, 0.00506591796875, -0.054931640625, 0.020263671875, 0.0233154296875, 0.0135498046875, 0.0068359375, 0.00750732421875, 0.000751495361328125, -0...
[ 345, 28670, 10763, 289, 27958, 214, 9969, 6743, 20809, 101935, 93766, 123309, 28966, 23718, 1238, 3949, 3742, 32036, 5584, 653, 991, 3814, 503, 864, 78219, 54639, 563, 4904, 27331, 5177, 603, 3115, 44402, 52455, 39395, 58055, 1257, 25632, 2...
[ 0.042755126953125, 0.1463623046875, 0.136474609375, 0.05126953125, 0.211669921875, 0.07470703125, 0.1072998046875, 0.09259033203125, 0.197265625, 0.194580078125, 0.1622314453125, 0.2093505859375, 0.165283203125, 0.1444091796875, 0.063720703125, 0.009246826171875, 0.1297607421875, 0...
embed
40145330_c0
40145330
fsharp
0
Title: Cant return the head of a list Problem title: Cant return the head of a list Tags: f%23 Problem: Cant return the head of a list I'm simply trying to retrieve the head from a list, but I'm getting an error that states The type 'Government' is not compatible with the type 'seq<government>'. type Government = { Id ...
Cant return the head of a list Cant return the head of a list f%23 Cant Government Name Abbreviation ParentId GovernmentStructure Root SubGov Node Leaf List.head Cant return the head of a list I'm simply trying to retrieve the head from a list, but I'm getting an error that states The type 'Government' is not compatibl...
[ -0.00537109375, 0.00372314453125, 0.00238037109375, 0.00848388671875, 0.01422119140625, 0.0005035400390625, -0.01171875, -0.01165771484375, -0.00390625, -0.0673828125, 0.0255126953125, 0.000652313232421875, -0.0019378662109375, -0.018310546875, 0.01068115234375, -0.025146484375, -0.0...
[ 4171, 18, 30646, 70, 10336, 111, 5303, 10, 1238, 3949, 3742, 92416, 15757, 105160, 14, 170918, 568, 71, 71713, 18190, 150948, 8273, 724, 515, 438, 112, 636, 2407, 32036, 31251, 31577, 456, 3996, 3134, 1295, 18499, 117249, 10644, 17903, 40...
[ 0.1090087890625, 0.1033935546875, 0.233154296875, 0.049530029296875, 0.203857421875, 0.1180419921875, 0.196533203125, 0.0239715576171875, 0.05938720703125, 0.072509765625, 0.1436767578125, 0.1983642578125, 0.1002197265625, 0.099853515625, 0.0292816162109375, 0.1097412109375, 0.007476...
embed
11974644_c0
11974644
fsharp
0
Title: Array Out Of Bounds F# Problem title: Array Out Of Bounds F# Tags: sorting, f%23, runtime-error, algorithm Problem: Array Out Of Bounds F# While attempting to learn more about sorting algorithims and F#, I wrote an Insertion Sort in F#. I am a complete noob to F# and functional programming. let insert (a: array<...
Array Out Of Bounds F# Array Out Of Bounds F# sorting f%23 runtime-error algorithm System.IndexOutOfRangeException Array Out Bounds a.Length Unhandled Exception Index Isort.insert Int32 Isort.sort StartupCode$isort Isort.main Array Out Of Bounds F# While attempting to learn more about sorting algorithims and F#, I wrot...
[ -0.0009613037109375, 0.006591796875, 0.0142822265625, -0.0196533203125, 0.003936767578125, -0.0025177001953125, -0.0196533203125, -0.0167236328125, -0.01043701171875, 0.0235595703125, 0.00274658203125, 0.007049560546875, -0.0155029296875, -0.004180908203125, 0.02197265625, -0.031494140...
[ 69253, 53, 13538, 6619, 2460, 7030, 563, 4904, 7, 12096, 1238, 3742, 11675, 6032, 188800, 234873, 12353, 39659, 79858, 132887, 1052, 51459, 19279, 63928, 10, 449, 992, 79628, 5443, 31471, 87, 62351, 5, 33657, 6460, 153076, 114211, 14, 24931...
[ 0.1982421875, 0.1151123046875, 0.277099609375, 0.2578125, 0.1314697265625, 0.22119140625, 0.1473388671875, 0.2158203125, 0.03271484375, 0.1964111328125, 0.0777587890625, 0.160400390625, 0.1077880859375, 0.1201171875, 0.1690673828125, 0.17919921875, 0.08001708984375, 0.16455078125, ...
embed
71330877_c1
71330877
fsharp
1
stream, separators = ";", hasHeaders = true ) df.Print() //let col = df |> Frame.mapRowValues (fun row -> row.GetAs<Color>"Color") //Invalid cast from 'System.String' to 'FSI_...+Color'. let col' = df |> Frame.mapRowValues (fun row -> Color.fromString (row.GetAs<string> "Color")) //works df.ReplaceColumn("Color", col'...
stream, separators = ";", hasHeaders = true ) df.Print() //let col = df |> Frame.mapRowValues (fun row -> row.GetAs<Color>"Color") //Invalid cast from 'System.String' to 'FSI_...+Color'. let col' = df |> Frame.mapRowValues (fun row -> Color.fromString (row.GetAs<string> "Color")) //works df.ReplaceColumn("Color", col'...
[ 0.00274658203125, 0.002899169921875, 0.0118408203125, 0.0164794921875, -0.003570556640625, -0.02392578125, -0.0068359375, 0.001312255859375, -0.00421142578125, 0.024169921875, -0.004669189453125, -0.000553131103515625, -0.0037689208984375, -0.00101470947265625, 0.002593994140625, 0.000...
[ 75973, 4, 37451, 22230, 2203, 74, 1556, 13025, 11, 14202, 29568, 104, 420, 5, 112079, 18, 132, 4666, 1974, 3365, 42557, 13, 62346, 12724, 434, 42272, 21049, 16498, 15555, 724, 126, 19659, 10625, 1484, 4153, 7013, 37702, 1295, 84293, 71713...
[ 0.260009765625, 0.032196044921875, 0.28173828125, 0.1705322265625, 0.080810546875, 0.039520263671875, 0.1561279296875, 0.145751953125, 0.102294921875, 0.145751953125, 0.06951904296875, 0.0872802734375, 0.2110595703125, 0.0169525146484375, 0.1859130859375, 0.09814453125, 0.04187011718...
embed
36667798_c0
36667798
fsharp
0
Title: Stripping chars from string in F# Problem title: Stripping chars from string in F# Tags: .net, f%23, fold, string Problem: Stripping chars from string in F# I am new to functional programming and F# and there sure is a lot of information on how to do this (removing specific characters from a string) in F# but I ...
Stripping chars from string in F# Stripping chars from string in F# .net f%23 fold string string Stripping Seq.fold str.Replace Char.ToUpper Replace Char.ToLower Split Array.toList Stripping chars from string in F# I am new to functional programming and F# and there sure is a lot of information on how to do this (remov...
[ -0.00579833984375, 0.004730224609375, 0.002044677734375, 0.0191650390625, -0.0009613037109375, 0.0007171630859375, 0.00640869140625, 0.0211181640625, 0.00982666015625, 0.01361083984375, -0.0206298828125, -0.01055908203125, -0.0255126953125, 0.029541015625, -0.0035858154296875, 0.001182...
[ 126165, 10366, 21441, 7, 1295, 79315, 563, 4904, 23, 1179, 1238, 3742, 42822, 864, 7704, 4332, 23935, 21656, 7763, 8079, 15363, 6488, 46474, 69253, 188, 154663, 123309, 56037, 26973, 6496, 29458, 124850, 32354, 43613, 9254, 65450, 61924, 7941...
[ 0.203125, 0.036102294921875, 0.2012939453125, 0.0848388671875, 0.0928955078125, 0.216552734375, 0.1180419921875, 0.1689453125, 0.00128173828125, 0.1102294921875, 0.045013427734375, 0.1175537109375, 0.1466064453125, 0.07720947265625, 0.163330078125, 0.0152130126953125, 0.0838012695312...
embed
20107082_c0
20107082
fsharp
0
Title: How to correctly discard result of a (monadic) computation in F# Problem title: How to correctly discard result of a (monadic) computation in F# Tags: computation-expression, haskell, monads, f%23, do-notation Problem: How to correctly discard result of a (monadic) computation in F# In Haskell, I can write: toke...
How to correctly discard result of a (monadic) computation in F# How to correctly discard result of a (monadic) computation in F# computation-expression haskell monads f%23 do-notation How Parser ParserComposer x.Bind x.Return x.Zero How to correctly discard result of a (monadic) computation in F# In Haskell, I can wri...
[ -0.0113525390625, 0.0194091796875, 0.0147705078125, 0.01239013671875, -0.01031494140625, 0.014404296875, -0.002044677734375, -0.0218505859375, -0.00274658203125, -0.0220947265625, 0.009033203125, 0.0118408203125, -0.006103515625, -0.00115203857421875, 0.006622314453125, -0.004028320312...
[ 11249, 26785, 17116, 5861, 16750, 87039, 18403, 181135, 563, 4904, 47, 111, 1363, 23, 204629, 1556, 142508, 2667, 712, 1238, 3949, 3742, 54, 157, 2392, 2189, 100587, 1022, 7250, 987, 1511, 4036, 20625, 831, 33022, 765, 1380, 903, 2060, 65...
[ 0.045318603515625, 0.137451171875, 0.1566162109375, 0.2340087890625, 0.191162109375, 0.129150390625, 0.126953125, 0.171142578125, 0.1441650390625, 0.2259521484375, 0.031402587890625, 0.0198822021484375, 0.025604248046875, 0.0521240234375, 0.087890625, 0.0777587890625, 0.2269287109375...
embed
33918992_c0
33918992
fsharp
0
Title: Simple exercise of OCaml about list Problem title: Simple exercise of OCaml about list Tags: f%23, ocaml Problem: Simple exercise of OCaml about list Good Morning everyone, I must do an exercise of Programming, but i'm stuck! Well, the exercise requires a function that given a list not empty of integers, return ...
Simple exercise of OCaml about list Simple exercise of OCaml about list f%23 ocaml Simple OCaml occurences_counter Error x::y::l Simple exercise of OCaml about list Good Morning everyone, I must do an exercise of Programming, but i'm stuck! Well, the exercise requires a function that given a list not empty of integers,...
[ -0.01220703125, -0.0027313232421875, 0.01153564453125, 0.00482177734375, 0.019287109375, 0.011474609375, -0.004608154296875, 0.0107421875, 0.0234375, -0.041748046875, 0.00008392333984375, -0.017333984375, 0.0269775390625, 0.025146484375, 0.0279541015625, -0.0234375, 0.013427734375, ...
[ 60552, 81979, 180, 105272, 141, 1672, 5303, 111, 1238, 3949, 3742, 36, 9779, 74918, 69098, 71013, 212059, 1022, 53, 163710, 30309, 8110, 54, 27958, 214, 1284, 17, 39, 179933, 144570, 32354, 34475, 959, 201505, 892, 26255, 30646, 5117, 14012...
[ 0.174072265625, 0.1995849609375, 0.1322021484375, 0.197509765625, 0.164794921875, 0.1461181640625, 0.23486328125, 0.02886962890625, 0.0589599609375, 0.0997314453125, 0.176025390625, 0.05718994140625, 0.139892578125, 0.21435546875, 0.10107421875, 0.1390380859375, 0.205322265625, 0.0...
embed
30114688_c0
30114688
fsharp
0
Title: Json Type Provider: Parsing Valid Json Fails Problem title: Json Type Provider: Parsing Valid Json Fails Tags: f%23, json, f%23-data, type-providers Problem: Json Type Provider: Parsing Valid Json Fails I have the following code block in my REPL #r "../packages/FSharp.Data.2.2.1/lib/net40/FSharp.Data.dll" open F...
Json Type Provider: Parsing Valid Json Fails Json Type Provider: Parsing Valid Json Fails f%23 json f%23-data type-providers Json Type Provider Parsing Valid Fails FSharp.Data.2.2.1 net40 FSharp.Data.dll FSharp.Data Literal www.google.com option_chain AAPL OptionChain JsonProvider ProviderImplementation.JsonProvider y:...
[ -0.006683349609375, 0.0257568359375, -0.00958251953125, 0.007354736328125, -0.0223388671875, 0.004364013671875, 0.00064849853515625, 0.00091552734375, 0.000308990478515625, -0.007080078125, 0.00506591796875, 0.0033111572265625, 0.017578125, -0.00860595703125, 0.0179443359375, 0.0272216...
[ 821, 1681, 60457, 123089, 42, 2392, 6953, 25447, 71, 190355, 1238, 3742, 1647, 27495, 10135, 10644, 93136, 93774, 3467, 254, 137989, 5442, 68107, 2043, 2839, 1181, 135940, 1426, 59875, 277, 35829, 115097, 56558, 21130, 86769, 62467, 177997, 6...
[ 0.1175537109375, 0.209716796875, 0.1842041015625, 0.1737060546875, 0.07611083984375, 0.126708984375, 0.034393310546875, 0.1287841796875, 0.02801513671875, 0.1859130859375, 0.03973388671875, 0.0562744140625, 0.09686279296875, 0.05902099609375, 0.027130126953125, 0.145263671875, 0.1374...
embed
8797562_c1
8797562
fsharp
1
writes, I get that I could write a lambda to take two person records and add the ages. That's not my point. The issue is that it seems to me there should be a way to get the + operator overload I already wrote to be acknowledged by fold as a valid overload. another edit Thanks all for your input. One thing that's beco...
writes, I get that I could write a lambda to take two person records and add the ages. That's not my point. The issue is that it seems to me there should be a way to get the + operator overload I already wrote to be acknowledged by fold as a valid overload. another edit Thanks all for your input. One thing that's beco...
[ -0.006378173828125, 0.019775390625, 0.018310546875, 0.0164794921875, -0.0096435546875, 0.0181884765625, -0.0169677734375, 0.022705078125, 0.00872802734375, -0.0103759765625, 0.00799560546875, -0.0380859375, 0.006011962890625, 0.0106201171875, 0.0029144287109375, -0.0260009765625, -0....
[ 33022, 7, 2046, 5809, 21, 6492, 85, 5646, 6626, 3445, 115923, 15190, 10, 4188, 959, 6275, 31089, 37202, 5608, 186, 3917, 997, 39933, 645, 63033, 21771, 54397, 224344, 42822, 35604, 34735, 7722, 3444, 97384, 86681, 158839, 18, 4488, 11907, ...
[ 0.19384765625, 0.0391845703125, 0.0242767333984375, 0.0599365234375, 0.0772705078125, 0.193603515625, 0.13427734375, 0.06787109375, 0.1103515625, 0.1134033203125, 0.1749267578125, 0.111083984375, 0.0660400390625, 0.1552734375, 0.047088623046875, 0.0390625, 0.091796875, 0.0484313964...
embed
40811698_c0
40811698
fsharp
0
Title: Can&#x27;t set up entity framework core Problem title: Can&#x27;t set up entity framework core Tags: entity-framework, f%23, asp.net-core Problem: Can't set up entity framework core I'm trying to set up a db context in a .net core F# web app. As part of this I need to convert the following in to F#: services.Add...
Can&#x27;t set up entity framework core Can&#x27;t set up entity framework core entity-framework f%23 asp.net-core Can services.AddDbContext ApplicationDbContext options.UseSqlite Configuration.GetConnectionString DefaultConnection DbContextOptionsBuilder this.Configuration.GetConnectionString AddDbContext Error List S...
[ -0.0068359375, 0.0361328125, 0.0137939453125, 0.00885009765625, -0.0225830078125, -0.01043701171875, -0.0166015625, -0.000021219253540039062, 0.00579833984375, -0.036865234375, -0.00103759765625, -0.004791259765625, 0.00408935546875, 0.0242919921875, 0.01177978515625, 0.006195068359375...
[ 4171, 3768, 18, 5423, 1257, 77630, 939, 170846, 56458, 160328, 18244, 1238, 3742, 237, 254, 1179, 30854, 11374, 4028, 397, 275, 11935, 22829, 104921, 50717, 1062, 95255, 59994, 235603, 71713, 262, 1021, 391, 39029, 121137, 903, 29117, 212059,...
[ 0.10150146484375, 0.078125, 0.0919189453125, 0.131103515625, 0.113037109375, 0.1622314453125, 0.138916015625, 0.2255859375, 0.1986083984375, 0.1396484375, 0.023193359375, 0.03045654296875, 0.06573486328125, 0.012542724609375, 0.0947265625, 0.11181640625, 0.1790771484375, 0.16796875...
embed
22441244_c0
22441244
fsharp
0
Title: Simplifying nested pattern matching F# Problem title: Simplifying nested pattern matching F# Tags: pattern-matching, f%23, functional-programming, guard-clause, discriminated-union Problem: Simplifying nested pattern matching F# I am writing a simple expressions parser in F# and for each operator I want only to ...
Simplifying nested pattern matching F# Simplifying nested pattern matching F# pattern-matching f%23 functional-programming guard-clause discriminated-union Simplifying Operator Modulo Equals a:string b:string Convert.ToInt32 ToString Convert.ToBoolean Simplifying nested pattern matching F# I am writing a simple express...
[ -0.015380859375, -0.000904083251953125, 0.0184326171875, 0.0264892578125, 0.0279541015625, -0.00445556640625, -0.007110595703125, 0.0027008056640625, 0.0235595703125, 0.01470947265625, 0.014404296875, -0.0303955078125, 0.0164794921875, 0.00103759765625, 0.0093994140625, 0.0054626464843...
[ 55331, 141, 151138, 8512, 71, 103510, 14858, 563, 4904, 98753, 1238, 3742, 123309, 28966, 56050, 18347, 55970, 3674, 87046, 150922, 63014, 31, 71723, 91693, 876, 11549, 7763, 6460, 717, 71713, 214, 34677, 32562, 8781, 125195, 366, 2189, 12638...
[ 0.1383056640625, 0.12255859375, 0.0950927734375, 0.216064453125, 0.086669921875, 0.1827392578125, 0.2052001953125, 0.1470947265625, 0.1832275390625, 0.1553955078125, 0.0716552734375, 0.102783203125, 0.1182861328125, 0.0657958984375, 0.20703125, 0.0634765625, 0.129638671875, 0.00628...
embed
29366691_c0
29366691
fsharp
0
Title: Error: Type constraint mismatch when applying the default type &#x27;int * int&#x27; for a type inference variable Problem title: Error: Type constraint mismatch when applying the default type &#x27;int * int&#x27; for a type inference variable Tags: compiler-errors, f%23 Problem: Error: Type constraint mismatch...
Error: Type constraint mismatch when applying the default type &#x27;int * int&#x27; for a type inference variable Error: Type constraint mismatch when applying the default type &#x27;int * int&#x27; for a type inference variable compiler-errors f%23 Error Type Error: Type constraint mismatch when applying the default ...
[ 0.01385498046875, 0.0142822265625, 0.0108642578125, 0.0238037109375, 0.00130462646484375, 0.000274658203125, -0.023681640625, -0.0189208984375, 0.012451171875, -0.017578125, 0.0068359375, -0.018310546875, 0.0228271484375, 0.01434326171875, 0.0113525390625, -0.009765625, 0.00055313110...
[ 212059, 60457, 158, 2816, 4288, 1239, 98753, 59911, 114977, 10644, 3768, 661, 23, 18, 53498, 77336, 9969, 34759, 188800, 3742, 8781, 26168, 154107, 116, 101935, 18499, 959, 8060, 39933, 1328, 25632, 212398, 76896, 3871, 4488, 2704, 47763, 110...
[ 0.1329345703125, 0.22265625, 0.06463623046875, 0.1590576171875, 0.139404296875, 0.096923828125, 0.2412109375, 0.08331298828125, 0.1751708984375, 0.1824951171875, 0.0849609375, 0.109619140625, 0.0889892578125, 0.1292724609375, 0.168701171875, 0.1558837890625, 0.130859375, 0.13610839...
embed
20827585_c0
20827585
fsharp
0
Title: F# Loop through a list of functions, applying each function in turn to a number Problem title: F# Loop through a list of functions, applying each function in turn to a number Tags: f%23 Problem: F# Loop through a list of functions, applying each function in turn to a number I've recently started learning F#. I'm...
F# Loop through a list of functions, applying each function in turn to a number F# Loop through a list of functions, applying each function in turn to a number f%23 Loop List.map fun:Invoke F# Loop through a list of functions, applying each function in turn to a number I've recently started learning F#. I'm attempting ...
[ -0.005462646484375, -0.00640869140625, 0.01153564453125, 0.0147705078125, 0.00238037109375, 0.0087890625, 0.0069580078125, 0.004913330078125, 0.00775146484375, -0.02294921875, -0.0032196044921875, -0.007415771484375, -0.0184326171875, 0.048095703125, 0.0150146484375, -0.002151489257812...
[ 563, 4904, 199694, 8305, 5303, 32354, 59911, 214, 12638, 15504, 47, 14012, 1238, 3742, 32036, 62346, 7477, 12, 4153, 23253, 13, 78684, 26859, 52080, 81887, 40956, 34292, 2806, 5036, 1884, 54, 25632, 7440, 16750, 74, 1126, 3768, 959, 2367, ...
[ 0.1539306640625, 0.2279052734375, 0.20947265625, 0.1937255859375, 0.1778564453125, 0.2103271484375, 0.1385498046875, 0.003204345703125, 0.0697021484375, 0.1734619140625, 0.070068359375, 0.157958984375, 0.060638427734375, 0.1131591796875, 0.1514892578125, 0.14453125, 0.1810302734375, ...
embed
3381570_c0
3381570
fsharp
0
Title: Is it possible to define a generic extension method in F#? Problem title: Is it possible to define a generic extension method in F#? Tags: f%23, extension-methods Problem: Is it possible to define a generic extension method in F#? I was trying to use Rhino Mocks with F# code, and the following code was a problem...
Is it possible to define a generic extension method in F#? Is it possible to define a generic extension method in F#? f%23 extension-methods MockRepository.GenerateMock IMyService service.Stub s.Name Service RhinoMocksExtensions.Stub Is it possible to define a generic extension method in F#? I was trying to use Rhino M...
[ -0.01904296875, 0.02197265625, 0.0140380859375, -0.00762939453125, -0.00003933906555175781, -0.00653076171875, 0.00002968311309814453, -0.003021240234375, 0.00141143798828125, -0.01177978515625, -0.0128173828125, 0.004730224609375, -0.0091552734375, -0.0002994537353515625, -0.00061035156...
[ 2071, 7722, 61924, 189534, 111938, 55300, 23, 563, 4904, 10, 1238, 3742, 1928, 7352, 2501, 2594, 59111, 135932, 17957, 9083, 53, 121979, 4516, 46656, 163612, 12349, 62130, 4043, 22824, 19279, 128872, 678, 18151, 186560, 55640, 26085, 275, 959...
[ 0.0267791748046875, 0.1634521484375, 0.2177734375, 0.2744140625, 0.247314453125, 0.224853515625, 0.08917236328125, 0.1417236328125, 0.234130859375, 0.026336669921875, 0.07415771484375, 0.1005859375, 0.09423828125, 0.13671875, 0.1253662109375, 0.1209716796875, 0.052978515625, 0.0448...
embed
69543466_c0
69543466
fsharp
0
Title: Is it possible to write a generic based on a record with a named field? Problem title: Is it possible to write a generic based on a record with a named field? Tags: f%23 Problem: Is it possible to write a generic based on a record with a named field? I have some code which has a lot of repetition. type RecordA =...
Is it possible to write a generic based on a record with a named field? Is it possible to write a generic based on a record with a named field? f%23 RecordA Name RecordB record.Name FS0001 Is it possible to write a generic based on a record with a named field? I have some code which has a lot of repetition. I'm wonderi...
[ -0.01556396484375, 0.005126953125, 0.0172119140625, 0.0216064453125, -0.009765625, -0.01904296875, -0.01806640625, -0.0147705078125, 0.01422119140625, -0.006378173828125, -0.0036163330078125, 0.007110595703125, 0.00130462646484375, -0.004180908203125, 0.00970458984375, -0.0110473632812...
[ 2071, 442, 7722, 33022, 10, 189534, 35509, 98, 17164, 678, 24, 4806, 44457, 47, 3742, 54877, 284, 15757, 571, 163612, 93774, 188735, 18151, 5915, 57346, 1363, 32354, 112892, 18929, 107, 144810, 2046, 3957, 135679, 603, 31577, 93, 58134, 996...
[ 0.0372314453125, 0.053955078125, 0.190185546875, 0.191650390625, 0.0706787109375, 0.284423828125, 0.171630859375, 0.0872802734375, 0.228271484375, 0.1044921875, 0.134033203125, 0.164306640625, 0.2454833984375, 0.03485107421875, 0.089111328125, 0.1060791015625, 0.024658203125, 0.096...
embed
46580407_c0
46580407
fsharp
0
Title: Can/should production connection strings be used in type provider definitions? Problem title: Can/should production connection strings be used in type provider definitions? Tags: connection-string, f%23, type-providers Problem: Can/should production connection strings be used in type provider definitions? I'm ju...
Can/should production connection strings be used in type provider definitions? Can/should production connection strings be used in type provider definitions? connection-string f%23 type-providers Can SqlDataProvider Can/should production connection strings be used in type provider definitions? I'm just getting started ...
[ 0.011962890625, 0.0283203125, 0.0023193359375, 0.0177001953125, -0.0223388671875, 0.00372314453125, -0.0177001953125, -0.01708984375, -0.002288818359375, -0.031494140625, -0.006683349609375, -0.0301513671875, 0.01373291015625, 0.0009613037109375, -0.01470947265625, 0.01470947265625, ...
[ 4171, 11412, 52366, 36049, 94878, 79315, 7, 11814, 10644, 81450, 80934, 64, 23, 91693, 3742, 93136, 99247, 137989, 177997, 62160, 563, 4904, 68073, 142027, 11343, 11389, 57976, 61903, 3034, 63399, 90820, 28350, 131527, 13158, 89397, 959, 4527, ...
[ 0.0628662109375, 0.04705810546875, 0.0219879150390625, 0.228271484375, 0.1859130859375, 0.2421875, 0.03857421875, 0.1324462890625, 0.1998291015625, 0.22509765625, 0.159912109375, 0.004852294921875, 0.0174102783203125, 0.15673828125, 0.046142578125, 0.1422119140625, 0.1392822265625, ...
embed
47223619_c1
47223619
fsharp
1
that I am now seeing the following error when running this code: 'C:\Program' is not recognized as an internal or external command,operable program or batch file.'mstest.exe' is not recognized as an internal or external command,operable program or batch file. So the parsing seems to have broken since I changed the pat...
that I am now seeing the following error when running this code: 'C:\Program' is not recognized as an internal or external command,operable program or batch file.'mstest.exe' is not recognized as an internal or external command,operable program or batch file. So the parsing seems to have broken since I changed the pat...
[ -0.004852294921875, -0.01385498046875, -0.0218505859375, 0.0186767578125, 0.01324462890625, 0.028564453125, -0.008544921875, -0.0233154296875, -0.004425048828125, 0.014892578125, -0.01275634765625, 0.03173828125, -0.00933837890625, -0.005462646484375, 0.01287841796875, 0.032958984375, ...
[ 450, 5036, 86681, 25632, 18499, 3229, 51042, 903, 18151, 441, 12, 41872, 148968, 83, 959, 125296, 237, 70796, 707, 173591, 75101, 21473, 2661, 1528, 1777, 11435, 39, 80686, 5, 46480, 366, 6953, 37202, 148431, 98816, 60875, 28219, 15400, 310...
[ 0.0587158203125, 0.06658935546875, 0.09814453125, 0.0784912109375, 0.1998291015625, 0.0052490234375, 0.12890625, 0.0712890625, 0.170166015625, 0.092529296875, 0.1416015625, 0.051666259765625, 0.2509765625, 0.0236968994140625, 0.11181640625, 0.1707763671875, 0.0836181640625, 0.18017...
embed
57284040_c1
57284040
fsharp
1
: amount } }, { $inc: { balance: -amount }, $push: { pendingTransactions: transactionId } }); if (result.modifiedCount == 0) { rollback(from, to, amount, transactionId); throw Error(“Failed to debit " + from + " account”); } // Setup pending credit result = accounts.updateOne({ name: to, pendingTransactions: { $ne: tra...
: amount } }, { $inc: { balance: -amount }, $push: { pendingTransactions: transactionId } }); if (result.modifiedCount == 0) { rollback(from, to, amount, transactionId); throw Error(“Failed to debit " + from + " account”); } // Setup pending credit result = accounts.updateOne({ name: to, pendingTransactions: { $ne: tra...
[ -0.002349853515625, 0.00823974609375, -0.0111083984375, -0.0230712890625, -0.002593994140625, 0.0244140625, -0.005340576171875, 0.01129150390625, -0.002593994140625, 0.006439208984375, 0.004119873046875, 0.053955078125, -0.011962890625, 0.0026702880859375, 0.0185546875, 0.0048828125, ...
[ 152, 41170, 51912, 3650, 38893, 40197, 20, 121147, 7332, 127, 96819, 62624, 44713, 124161, 568, 71, 2174, 2109, 7136, 13415, 47314, 108210, 757, 21972, 12620, 161063, 47, 104250, 212059, 17647, 14, 6259, 8, 3137, 997, 15426, 4666, 19943, 20...
[ 0.04290771484375, 0.152587890625, 0.054412841796875, 0.07244873046875, 0.150146484375, 0.223388671875, 0.0406494140625, 0.09130859375, 0.1278076171875, 0.12060546875, 0.2471923828125, 0.13134765625, 0.1287841796875, 0.189208984375, 0.059600830078125, 0.107177734375, 0.022537231445312...
embed
30393869_c0
30393869
fsharp
0
Title: How to take the number field from a sequence of BigInteger in F#? Problem title: How to take the number field from a sequence of BigInteger in F#? Tags: f%23 Problem: How to take the number field from a sequence of BigInteger in F#? Take this factorial sequence as an example: factTake 5;; val it : seq<System.Num...
How to take the number field from a sequence of BigInteger in F#? How to take the number field from a sequence of BigInteger in F#? f%23 a How BigInteger System.Numerics.BigInteger IsEven IsOne IsPowerOfTwo IsZero Sign Seq.toList How to take the number field from a sequence of BigInteger in F#? Take this factorial sequ...
[ 0.00250244140625, 0.0291748046875, 0.006744384765625, 0.01416015625, -0.0081787109375, -0.0037078857421875, 0.0125732421875, 0.01025390625, 0.01708984375, 0.006866455078125, 0.000537872314453125, 0.0034027099609375, -0.018310546875, 0.0181884765625, -0.005157470703125, -0.0038452148437...
[ 11249, 47, 5646, 70, 14012, 44457, 1295, 40, 944, 3956, 14195, 4153, 67, 1505, 23, 563, 4904, 1238, 3742, 12353, 18444, 1991, 129933, 2071, 1353, 62068, 105022, 132887, 3613, 1511, 4036, 48838, 503, 864, 188, 154663, 31461, 15403, 27781, ...
[ 0.0831298828125, 0.049957275390625, 0.178466796875, 0.01129150390625, 0.233154296875, 0.263916015625, 0.13525390625, 0.07666015625, 0.1490478515625, 0.036651611328125, 0.149658203125, 0.0499267578125, 0.1678466796875, 0.137939453125, 0.042266845703125, 0.14892578125, 0.23681640625, ...
embed
63203731_c1
63203731
fsharp
1
.Net.Sockets.UdpClient(portListen, System.Net.Sockets.AddressFamily.InterNetwork) let connect (ip: System.Net.IPAddress) (port:int) = udpListener.Connect(ip, port) let send (msg : Byte[]) (port) = udpListener.SendAsync(msg, port).Start() let receive () = let r = udpListener.ReceiveAsync() in (r.Start();r.Wait();r.Resul...
.Net.Sockets.UdpClient(portListen, System.Net.Sockets.AddressFamily.InterNetwork) let connect (ip: System.Net.IPAddress) (port:int) = udpListener.Connect(ip, port) let send (msg : Byte[]) (port) = udpListener.SendAsync(msg, port).Start() let receive () = let r = udpListener.ReceiveAsync() in (r.Start();r.Wait();r.Resul...
[ 0.006317138671875, 0.0135498046875, -0.011474609375, 0.01043701171875, -0.00009012222290039062, -0.00787353515625, -0.0135498046875, 0.00848388671875, 0.003173828125, -0.01806640625, 0.007080078125, -0.006744384765625, 0.00098419189453125, 0.0086669921875, -0.0015869140625, 0.008972167...
[ 5, 24447, 8912, 27853, 1062, 71, 254, 441, 150, 2517, 6982, 154663, 33, 12353, 161007, 919, 1191, 538, 44851, 18244, 2633, 37067, 3442, 10931, 4288, 2203, 1872, 39060, 235603, 11469, 25379, 4432, 3311, 3611, 12654, 126597, 53299, 1690, 329,...
[ 0.06890869140625, 0.1256103515625, 0.1038818359375, 0.220458984375, 0.0697021484375, 0.1124267578125, 0.181640625, 0.0816650390625, 0.1922607421875, 0.1533203125, 0.1630859375, 0.262451171875, 0.1744384765625, 0.1375732421875, 0.103759765625, 0.00616455078125, 0.0836181640625, 0.00...
embed
23129731_c0
23129731
fsharp
0
Title: Retry monad and Zero construct Problem title: Retry monad and Zero construct Tags: computation-expression, f%23, monads Problem: Retry monad and Zero construct I am trying to use the Retry Monad I took from our beloved stack overflow: type RetryBuilder(max, sleep : TimeSpan) = member x.Return(a) = a member x.Del...
Retry monad and Zero construct Retry monad and Zero construct computation-expression f%23 monads Retry Zero RetryBuilder TimeSpan x.Return x.Delay x.Zero x.Run Failed Call Retrying ex.Message Thread.Sleep n-1 TimeSpan.FromSeconds System.IO.File.Move Retry monad and Zero construct I am trying to use the Retry Monad I to...
[ -0.03173828125, -0.00139617919921875, 0.0130615234375, 0.01055908203125, 0.007049560546875, 0.000858306884765625, 0.0196533203125, -0.003326416015625, 0.00077056884765625, -0.004425048828125, 0.004913330078125, 0.01239013671875, -0.005828857421875, -0.0052490234375, 0.0220947265625, -0...
[ 853, 15123, 2667, 712, 136, 83947, 64549, 181135, 204629, 1238, 3949, 3742, 121137, 56, 19055, 3180, 1022, 987, 4657, 5259, 1511, 4036, 190355, 26265, 1119, 136719, 133, 4517, 5759, 168407, 2271, 17780, 174350, 9083, 31577, 4527, 60331, 71, ...
[ 0.105224609375, 0.26171875, 0.1134033203125, 0.15966796875, 0.025146484375, 0.208740234375, 0.1826171875, 0.07489013671875, 0.134033203125, 0.0169525146484375, 0.06536865234375, 0.1478271484375, 0.1395263671875, 0.0151519775390625, 0.0587158203125, 0.141845703125, 0.0826416015625, ...
embed
65564441_c2
65564441
fsharp
2
_curve25519_keys, uint8_t, my_pubkey, my_privkey, mbedtls_ecdh_context, mbedtls_entropy_context, mbedtls_ctr_drbg_context, ctr_drbg, mbedtls_ctr_drbg_init, mbedtls_entropy_init, mbedtls_ecdh_init, mbedtls_ctr_drbg_seed, mbedtls_entropy_func, mbedtls_ecp_group_load, ctx.grp, MBEDTLS_ECP_DP_CURVE25519, mbedtls_ecdh_gen_p...
_curve25519_keys, uint8_t, my_pubkey, my_privkey, mbedtls_ecdh_context, mbedtls_entropy_context, mbedtls_ctr_drbg_context, ctr_drbg, mbedtls_ctr_drbg_init, mbedtls_entropy_init, mbedtls_ecdh_init, mbedtls_ctr_drbg_seed, mbedtls_entropy_func, mbedtls_ecp_group_load, ctx.grp, MBEDTLS_ECP_DP_CURVE25519, mbedtls_ecdh_gen_p...
[ 0.0235595703125, -0.005615234375, 0.01043701171875, -0.00946044921875, -0.00848388671875, 0.006011962890625, 0.0361328125, -0.013427734375, 0.0184326171875, 0.01165771484375, 0.0252685546875, 0.02734375, 0.0167236328125, 0.01043701171875, -0.00160980224609375, -0.005523681640625, -0....
[ 101, 16820, 272, 135455, 2947, 19770, 7, 75, 4288, 1019, 18, 759, 111596, 4, 5293, 86244, 53, 47134, 13384, 8080, 3240, 5471, 22829, 33, 29813, 42, 11821, 2271, 4448, 73, 217, 7569, 184, 297, 16498, 238, 454, 51588, 63033, 108963, 425, ...
[ 0.0634765625, 0.2230224609375, 0.181396484375, 0.2373046875, 0.2374267578125, 0.2252197265625, 0.0253448486328125, 0.0609130859375, 0.14892578125, 0.10247802734375, 0.055419921875, 0.144775390625, 0.1295166015625, 0.010406494140625, 0.08966064453125, 0.082763671875, 0.124267578125, ...
embed
71456063_c1
71456063
fsharp
1
else printfn $"Work {work}" } But I don't see why this should matter. Leveraging a Result also works, but again, I don't know why this should be required. async { let w = MailboxProcessor.Start (fun inbox -> async { while true do let! message = inbox.Receive() let (ch : AsyncReplyChannel<_>), work = message try do! pe...
else printfn $"Work {work}" } But I don't see why this should matter. Leveraging a Result also works, but again, I don't know why this should be required. async { let w = MailboxProcessor.Start (fun inbox -> async { while true do let! message = inbox.Receive() let (ch : AsyncReplyChannel<_>), work = message try do! pe...
[ -0.0140380859375, 0.027587890625, -0.00946044921875, -0.001373291015625, 0.007171630859375, -0.01318359375, 0.0024261474609375, -0.0152587890625, 0.00604248046875, -0.0194091796875, 0.01123046875, 0.04052734375, 0.00159454345703125, 0.006072998046875, 0.006988525390625, 0.0039367675781...
[ 37076, 28412, 14783, 3650, 108259, 10666, 18244, 1957, 15400, 5608, 26866, 91490, 66398, 126684, 43240, 3714, 56065, 10, 12654, 238, 2633, 148, 25919, 11728, 26531, 748, 126597, 16498, 23, 29568, 26008, 206, 62479, 127008, 4488, 9790, 54, 513...
[ 0.1693115234375, 0.185302734375, 0.1383056640625, 0.0830078125, 0.2430419921875, 0.0270233154296875, 0.2164306640625, 0.056304931640625, 0.043426513671875, 0.00946044921875, 0.1224365234375, 0.2008056640625, 0.056915283203125, 0.181640625, 0.09185791015625, 0.011688232421875, 0.15417...
embed
9385418_c0
9385418
fsharp
0
Title: in f#, bind to a value from a c# library Problem title: in f#, bind to a value from a c# library Tags: interop, f%23 Problem: in f#, bind to a value from a c# library I have a F# DLL and a C# DLL. The C# library has a namespace Library with a class Toolbox that contains a member FUND_BITS like so: namespace Libr...
in f#, bind to a value from a c# library in f#, bind to a value from a c# library interop f%23 a Library Toolbox FUND_BITS Library.Toolbox.FUND_BITS in f#, bind to a value from a c# library I have a F# DLL and a C# DLL. The C# library has a namespace Library with a class Toolbox that contains a member FUND_BITS like so...
[ -0.002410888671875, 0.01507568359375, -0.0032196044921875, -0.014404296875, 0.0011444091796875, 0.0126953125, -0.007537841796875, 0.0078125, 0.00567626953125, -0.0181884765625, -0.026611328125, 0.004486083984375, -0.0021820068359375, 0.0191650390625, 0.024169921875, 0.003662109375, -...
[ 23, 1238, 4904, 68557, 47, 34292, 1295, 501, 35773, 1294, 1940, 2146, 3742, 103835, 92285, 11728, 34384, 89072, 186490, 919, 294, 563, 23708, 313, 10, 210716, 18507, 32786, 128239, 4527, 150598, 40368, 32354, 61924, 15549, 41206, 756, 150011,...
[ 0.04901123046875, 0.151123046875, 0.257568359375, 0.26904296875, 0.1787109375, 0.2091064453125, 0.14990234375, 0.02923583984375, 0.166015625, 0.09564208984375, 0.1011962890625, 0.1405029296875, 0.048797607421875, 0.189453125, 0.120361328125, 0.1435546875, 0.1583251953125, 0.2071533...
embed
48368967_c0
48368967
fsharp
0
Title: How to resolve &quot;can&#x27;t be invoked from Azure WebJobs SDK&quot; error with pre-compiled Azure Function? Problem title: How to resolve &quot;can&#x27;t be invoked from Azure WebJobs SDK&quot; error with pre-compiled Azure Function? Tags: f%23, .net-core, .net, azure-functions, azure Problem: How to resolv...
How to resolve &quot;can&#x27;t be invoked from Azure WebJobs SDK&quot; error with pre-compiled Azure Function? How to resolve &quot;can&#x27;t be invoked from Azure WebJobs SDK&quot; error with pre-compiled Azure Function? f%23 .net-core .net azure-functions azure Azure How WebJobs SDK a44d-f6646cb96e68 Name How to re...
[ -0.0194091796875, 0.00592041015625, -0.00433349609375, 0.0111083984375, -0.016357421875, -0.0034332275390625, 0.018798828125, -0.010009765625, -0.0107421875, -0.00970458984375, -0.024658203125, -0.00029754638671875, 0.016357421875, 0.0311279296875, 0.033935546875, 0.0184326171875, 0....
[ 11249, 103608, 4398, 3768, 18, 23, 23253, 1295, 176071, 4002, 194802, 7, 159, 45461, 18499, 678, 479, 277, 5974, 28670, 10763, 3742, 1179, 30854, 295, 3408, 137175, 12465, 14604, 9271, 11648, 16028, 17777, 20744, 16655, 18507, 35773, 11675, ...
[ 0.0550537109375, 0.168212890625, 0.1134033203125, 0.158935546875, 0.1175537109375, 0.1058349609375, 0.2291259765625, 0.1131591796875, 0.230224609375, 0.1087646484375, 0.2310791015625, 0.081787109375, 0.047088623046875, 0.2347412109375, 0.186767578125, 0.053680419921875, 0.15014648437...
embed
30462054_c0
30462054
fsharp
0
Title: F# 2D Array alternate creation Problem title: F# 2D Array alternate creation Tags: arrays, creation, f%23 Problem: F# 2D Array alternate creation I am using the Array2D module in f# and want to create a sudoku game board (a 9x9 array) using it. Right now I have something that works and that looks like this: let ...
F# 2D Array alternate creation F# 2D Array alternate creation arrays creation f%23 Array Array2D.init F# 2D Array alternate creation I am using the Array2D module in f# and want to create a sudoku game board (a 9x9 array) using it. Right now I have something that works and that looks like this: My question is if there ...
[ 0.02197265625, 0.0133056640625, 0.007049560546875, 0.0015869140625, 0.0024871826171875, -0.0205078125, -0.01263427734375, 0.004791259765625, -0.0026397705078125, 0.00836181640625, 0.01312255859375, 0.0291748046875, 0.0091552734375, -0.0107421875, -0.00148773193359375, 0.000564575195312...
[ 563, 4904, 116, 397, 69253, 53, 75939, 13, 166635, 10298, 4778, 1238, 3742, 304, 73, 217, 17368, 88996, 3444, 28282, 8932, 38067, 6712, 45443, 483, 425, 1126, 442, 43240, 33342, 9655, 11522, 1286, 94928, 3917, 33022, 903, 16265, 51671, 45...
[ 0.1033935546875, 0.1826171875, 0.1259765625, 0.123291015625, 0.15478515625, 0.10150146484375, 0.1712646484375, 0.04541015625, 0.170654296875, 0.1275634765625, 0.1123046875, 0.0850830078125, 0.034332275390625, 0.11181640625, 0.048095703125, 0.1171875, 0.0850830078125, 0.125732421875...
embed
47970744_c0
47970744
fsharp
0
Title: Why does the R Type Provider crash with these string arguments and not with others? Problem title: Why does the R Type Provider crash with these string arguments and not with others? Tags: type-providers, f%23 Problem: Why does the R Type Provider crash with these string arguments and not with others? I noticed ...
Why does the R Type Provider crash with these string arguments and not with others? Why does the R Type Provider crash with these string arguments and not with others? type-providers f%23 RDotNet.ParseException Why Type Provider mat.Length List.map R.cbind Exception RDotNet.dll Status Error fsr_7784_27 fsr_7784_28 fsr_...
[ 0.016845703125, 0.0228271484375, -0.011962890625, 0.006805419921875, 0.00518798828125, 0.006072998046875, 0.02783203125, -0.004425048828125, 0.0098876953125, 0.01202392578125, -0.006378173828125, -0.0301513671875, 0.0203857421875, 0.00101470947265625, -0.0042724609375, -0.002685546875,...
[ 44084, 14602, 627, 60457, 123089, 42, 150631, 678, 6097, 79315, 10750, 959, 27060, 10644, 93136, 14202, 3742, 818, 24447, 28636, 184, 19279, 63928, 2589, 449, 32036, 62346, 89817, 5443, 40756, 1181, 56504, 212059, 170702, 617, 3768, 3882, 423...
[ 0.109375, 0.037200927734375, 0.1920166015625, 0.24609375, 0.1923828125, 0.1290283203125, 0.236328125, 0.1119384765625, 0.08465576171875, 0.172119140625, 0.1724853515625, 0.05035400390625, 0.049896240234375, 0.197021484375, 0.1514892578125, 0.05792236328125, 0.08612060546875, 0.0623...
embed
54894327_c1
54894327
fsharp
1
8 -> {record with C8 = Decimal.Parse(node.InnerText, NumberStyles.Currency) } | 9 -> {record with C9 = (node.InnerText |> int) } | _ -> raise (System.MissingFieldException("New Field in Chart Data Found: " + column.ToString())) Some test code: let chartRow = { C0 = ""; C1 = ""; C2 = 0; C3 = 0.0M; C4 = "" ; C5 = ""; C6 ...
8 -> {record with C8 = Decimal.Parse(node.InnerText, NumberStyles.Currency) } | 9 -> {record with C9 = (node.InnerText |> int) } | _ -> raise (System.MissingFieldException("New Field in Chart Data Found: " + column.ToString())) Some test code: let chartRow = { C0 = ""; C1 = ""; C2 = 0; C3 = 0.0M; C4 = "" ; C5 = ""; C6 ...
[ -0.00168609619140625, 0.007080078125, -0.00042724609375, 0.0205078125, 0, -0.0050048828125, 0.00194549560546875, 0.0023345947265625, 0.0169677734375, 0.031494140625, -0.01141357421875, -0.03173828125, -0.026123046875, 0.006988525390625, 0.00872802734375, -0.008544921875, -0.010253906...
[ 382, 33079, 107, 32271, 678, 313, 1019, 49132, 2749, 28636, 184, 157, 112, 13857, 174379, 103332, 209480, 33724, 27771, 483, 1126, 23, 18, 138804, 84293, 135261, 214, 6159, 19388, 63928, 46568, 117657, 110373, 11809, 215624, 997, 3365, 316, ...
[ 0.2093505859375, 0.077392578125, 0.045989990234375, 0.216796875, 0.0679931640625, 0.07623291015625, 0.22314453125, 0.17333984375, 0.0892333984375, 0.09307861328125, 0.06732177734375, 0.0782470703125, 0.043792724609375, 0.05059814453125, 0.08709716796875, 0.018585205078125, 0.13916015...
embed
12936677_c0
12936677
fsharp
0
Title: Elementwise multiplication of arrays in F# Problem title: Elementwise multiplication of arrays in F# Tags: elementwise-operations, f%23, arrays Problem: Elementwise multiplication of arrays in F# Is there a simple way to multiply the items of an array in F#? So for example of I want to calculate a population mea...
Elementwise multiplication of arrays in F# Elementwise multiplication of arrays in F# elementwise-operations f%23 arrays Elementwise array_1 Array.sum array_2 Elementwise multiplication of arrays in F# Is there a simple way to multiply the items of an array in F#? So for example of I want to calculate a population mean...
[ -0.0002536773681640625, 0.00958251953125, -0.02490234375, 0.004638671875, -0.01092529296875, 0.005096435546875, 0.0023193359375, 0.0007781982421875, 0.002777099609375, -0.0184326171875, 0.01080322265625, 0.0284423828125, -0.011474609375, -0.021728515625, -0.0106201171875, -0.0236816406...
[ 48325, 90825, 127664, 1363, 10298, 4778, 563, 4904, 12830, 21473, 1238, 3742, 53, 115187, 69253, 11832, 23, 8781, 3917, 47, 6024, 62479, 55769, 111, 27781, 3444, 74481, 43904, 29459, 1295, 121413, 139999, 142424, 12478, 101637, 101935, 185397, ...
[ 0.1761474609375, 0.210205078125, 0.189453125, 0.019683837890625, 0.1680908203125, 0.130126953125, 0.159912109375, 0.2166748046875, 0.1796875, 0.1201171875, 0.096435546875, 0.097412109375, 0.1112060546875, 0.009735107421875, 0.125, 0.10467529296875, 0.0841064453125, 0.1246337890625,...
embed
50741424_c1
50741424
fsharp
1
001: The type 'string list' is not compatible with the type 'System.Linq.IQueryable' I'm sure this can be done, I'd like to know what am I doing wrong What is the right way to go about this? What is it that I'm assuming that is evidently wrong? Update I just followed Aaron answer, this is how my code looks now, the rel...
001: The type 'string list' is not compatible with the type 'System.Linq.IQueryable' I'm sure this can be done, I'd like to know what am I doing wrong What is the right way to go about this? What is it that I'm assuming that is evidently wrong? Update I just followed Aaron answer, this is how my code looks now, the rel...
[ 0.00897216796875, 0.01116943359375, 0.00653076171875, 0.0208740234375, -0.0042724609375, 0.01123046875, 0.00007867813110351562, 0.0030975341796875, 0.005096435546875, -0.032470703125, 0.00165557861328125, 0.006866455078125, 0.004425048828125, 0.0003662109375, -0.000629425048828125, 0.0...
[ 34479, 12, 10644, 91693, 5303, 83, 959, 146731, 678, 84293, 866, 44982, 568, 41732, 1294, 2886, 831, 16940, 444, 20594, 44691, 7108, 66596, 36875, 124188, 18151, 33342, 5036, 29191, 19713, 108963, 425, 99247, 126, 137989, 22829, 2046, 1511, ...
[ 0.13525390625, 0.000701904296875, 0.201416015625, 0.260986328125, 0.2432861328125, 0.064697265625, 0.14111328125, 0.214111328125, 0.04119873046875, 0.1055908203125, 0.0614013671875, 0.21044921875, 0.037567138671875, 0.116943359375, 0.094970703125, 0.2197265625, 0.040740966796875, 0...
embed
8250463_c0
8250463
fsharp
0
Title: What happens when type providers change in F#? Problem title: What happens when type providers change in F#? Tags: type-providers, .net, f%23, schema Problem: What happens when type providers change in F#? After watching Channel 9's video on F# Type Providers, I'm wondering about data schema changes. Don touched...
What happens when type providers change in F#? What happens when type providers change in F#? type-providers .net f%23 schema What What happens when type providers change in F#? After watching Channel 9's video on F# Type Providers, I'm wondering about data schema changes. Don touched on this a little bit at the end, b...
[ 0.01141357421875, 0.0030517578125, 0.011962890625, 0.01385498046875, -0.0078125, 0.007080078125, -0.005950927734375, 0.003814697265625, -0.006256103515625, 0.0223388671875, -0.00823974609375, -0.006439208984375, -0.006072998046875, 0.01300048828125, 0.006195068359375, 0.01226806640625,...
[ 4865, 96276, 3229, 10644, 81450, 7, 15549, 23, 563, 4904, 93136, 14202, 1179, 1238, 3949, 3742, 61903, 100244, 55969, 483, 1202, 60457, 123089, 4295, 149016, 2053, 65572, 7650, 53397, 6713, 24234, 88898, 8562, 19882, 3126, 46824, 121297, 7082...
[ 0.049468994140625, 0.1429443359375, 0.05706787109375, 0.2421875, 0.2396240234375, 0.051605224609375, 0.208984375, 0.05517578125, 0.12841796875, 0.22607421875, 0.164794921875, 0.06768798828125, 0.1240234375, 0.06414794921875, 0.002716064453125, 0.0670166015625, 0.23388671875, 0.0053...
embed
20802817_c0
20802817
fsharp
0
Title: Modules or classes? Problem title: Modules or classes? Tags: functional-programming, f%23 Problem: Modules or classes? Given these 2 approaches: Approach 1 module DomainCRUD = let getWhere collection cond = ... module DomainService = let getByCustomerId f customerId = f(fun z -> z.CustomerId = customerId) // USA...
Modules or classes? Modules or classes? functional-programming f%23 Modules DomainCRUD DomainService z.CustomerId USAGE DomainCRUD.getWhere DomainService.getByCustomerId x.GetWhere CRUD x.GetByCustomerId CRUD.GetWhere _domainService.GetByCustomerId Modules or classes? Given these 2 approaches: Approach 1 Approach 2 Whi...
[ 0.000667572021484375, 0.000713348388671875, 0.01226806640625, -0.0177001953125, 0.006744384765625, 0.017578125, 0.01513671875, -0.014892578125, -0.00119781494140625, -0.03515625, -0.015625, 0.001800537109375, 0.00811767578125, -0.016357421875, -0.01226806640625, -0.0198974609375, 0.0...
[ 63014, 90, 707, 61112, 32, 123309, 28966, 214, 3742, 93702, 22578, 26119, 121979, 97, 441, 63749, 1991, 568, 71, 4602, 3794, 1456, 35593, 75358, 1022, 126, 25109, 56206, 724, 116, 51515, 5659, 516, 934, 106, 2806, 11177, 56037, 449, 2684,...
[ 0.255859375, 0.1690673828125, 0.1497802734375, 0.268310546875, 0.0187530517578125, 0.2369384765625, 0.117431640625, 0.05712890625, 0.04669189453125, 0.1463623046875, 0.09173583984375, 0.1727294921875, 0.1671142578125, 0.07861328125, 0.019439697265625, 0.1513671875, 0.10760498046875, ...
embed
5049401_c0
5049401
fsharp
0
Title: F# can&#x27;t use datagrid in WPF of .net in interactive way Problem title: F# can&#x27;t use datagrid in WPF of .net in interactive way Tags: f%23-interactive, f%23 Problem: F# can't use datagrid in WPF of .net in interactive way My script is below: #light #r "WindowsBase" #r "PresentationCore" #r "Presentation...
F# can&#x27;t use datagrid in WPF of .net in interactive way F# can&#x27;t use datagrid in WPF of .net in interactive way f%23-interactive f%23 WPF WindowsBase PresentationCore PresentationFramework System System.Windows System.Windows.Controls System.Windows.Window Name Test Width Height window.Visibility Visibility.V...
[ -0.0018768310546875, 0.0203857421875, 0.003204345703125, 0.0037994384765625, 0.0036468505859375, -0.0034942626953125, 0.00958251953125, -0.00384521484375, -0.01239013671875, -0.0194091796875, 0.0013580322265625, 0.000705718994140625, 0.0052490234375, -0.000621795654296875, 0.006988525390...
[ 563, 4904, 831, 3768, 18, 4527, 2053, 120067, 23, 601, 41265, 111, 1179, 212398, 3917, 5, 1238, 27495, 10433, 71232, 3742, 3773, 63473, 120772, 50886, 108386, 12353, 43342, 175904, 15757, 8647, 58302, 1529, 76896, 65331, 28896, 6609, 168660, ...
[ 0.14013671875, 0.218994140625, 0.0673828125, 0.056304931640625, 0.060516357421875, 0.1151123046875, 0.149169921875, 0.283935546875, 0.03326416015625, 0.0819091796875, 0.2286376953125, 0.05230712890625, 0.1448974609375, 0.2059326171875, 0.04193115234375, 0.004638671875, 0.093994140625...
embed
24347425_c0
24347425
fsharp
0
Title: How to use pipe-forwarding in my file read code Problem title: How to use pipe-forwarding in my file read code Tags: f%23, c%23-to-f%23 Problem: How to use pipe-forwarding in my file read code I am new to F#, If I am asking this at the wrong place, please do let me know. I have the following sequence for reading...
How to use pipe-forwarding in my file read code How to use pipe-forwarding in my file read code f%23 c%23-to-f%23 How StreamReader reader.EndOfStream reader.ReadLine How to use pipe-forwarding in my file read code I am new to F#, If I am asking this at the wrong place, please do let me know. I have the following sequen...
[ 0.0341796875, 0.00543212890625, -0.0145263671875, 0.0203857421875, -0.01318359375, -0.0137939453125, -0.004974365234375, -0.0096435546875, -0.01116943359375, -0.0203857421875, 0.007415771484375, 0.01806640625, 0.015625, 0.013916015625, 0.01904296875, -0.0205078125, -0.0087890625, 0...
[ 11249, 47, 4527, 137158, 9, 2472, 19364, 214, 23, 759, 11435, 12301, 18151, 1238, 3742, 27495, 188, 420, 115061, 31345, 56, 155255, 152378, 132887, 93232, 444, 3525, 563, 4904, 44691, 25632, 944, 16454, 102158, 97384, 39933, 33342, 123309, ...
[ 0.05816650390625, 0.023101806640625, 0.15673828125, 0.257568359375, 0.06744384765625, 0.1654052734375, 0.224853515625, 0.1158447265625, 0.030303955078125, 0.06304931640625, 0.1895751953125, 0.1669921875, 0.185546875, 0.071044921875, 0.0802001953125, 0.08551025390625, 0.1121826171875,...
embed