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
30686875_c0
30686875
fsharp
0
Title: F# strange type error message Problem title: F# strange type error message Tags: f%23, discriminated-union, typeerror, types Problem: F# strange type error message Can anyone tell me what the following error message means in F#: Program.fs(1021,16): error FS0001: This expression was expected to have type FSI_005...
F# strange type error message F# strange type error message f%23 discriminated-union typeerror types Program.fs FS0001 FSI_0051.ExprTree FSI_0061.ExprTree evaluate_tree Value Node get_float Operator Plus Minus Mult Divide ExprTree value1 value2 F# strange type error message Can anyone tell me what the following error m...
[ 0.00946044921875, 0.0091552734375, -0.006927490234375, -0.0157470703125, 0.0213623046875, -0.00445556640625, -0.01251220703125, -0.01220703125, 0.00136566162109375, 0.0030517578125, -0.000576019287109375, -0.00469970703125, 0.0272216796875, -0.01373291015625, 0.01904296875, -0.00454711...
[ 563, 4904, 114453, 10644, 18499, 26008, 1238, 3742, 55970, 87046, 188800, 52895, 7663, 17447, 93774, 188735, 9902, 130171, 10287, 62731, 418, 19279, 151575, 13, 62600, 190060, 438, 2046, 52347, 257, 150922, 8183, 24169, 81212, 76278, 112, 60075...
[ 0.1575927734375, 0.1851806640625, 0.1656494140625, 0.1678466796875, 0.1087646484375, 0.0626220703125, 0.056182861328125, 0.05718994140625, 0.085693359375, 0.07598876953125, 0.0660400390625, 0.1302490234375, 0.04681396484375, 0.1292724609375, 0.058197021484375, 0.063720703125, 0.05096...
embed
10152281_c0
10152281
fsharp
0
Title: Parallel code with Task.Factory slower than linear Problem title: Parallel code with Task.Factory slower than linear Tags: f%23, parallel-processing, .net Problem: Parallel code with Task.Factory slower than linear I am playing with parallel programming and F#. I created a function that integrates a 1-variable f...
Parallel code with Task.Factory slower than linear Parallel code with Task.Factory slower than linear f%23 parallel-processing .net Parallel Task.Factory Quadrature Integrate int64 Seq.map Seq.sum IntegrateWithStep IntegrateWithTasks Task.Factory.StartNew t.Result IntegrateParallel Array.Parallel.map Array.sum Parallel...
[ -0.00140380859375, 0.0028076171875, 0.000751495361328125, 0.005340576171875, -0.01123046875, -0.00634765625, 0.006103515625, -0.006744384765625, -0.003326416015625, -0.021728515625, -0.0062255859375, 0.036865234375, -0.00122833251953125, 0.0101318359375, 0.031494140625, -0.007385253906...
[ 211485, 18151, 678, 9598, 92, 5, 135518, 31667, 72803, 56, 192617, 1238, 3742, 95103, 63923, 1179, 83227, 219, 6644, 91969, 13307, 864, 62346, 11832, 191644, 194583, 9874, 1042, 126597, 46568, 7, 7136, 55292, 1229, 69253, 3501, 75169, 56037, ...
[ 0.25537109375, 0.209716796875, 0.0302581787109375, 0.182373046875, 0.132080078125, 0.045989990234375, 0.1927490234375, 0.137939453125, 0.1983642578125, 0.1187744140625, 0.205078125, 0.050689697265625, 0.131103515625, 0.215087890625, 0.0430908203125, 0.117431640625, 0.059844970703125,...
embed
2992139_c0
2992139
fsharp
0
Title: f# pattern matching with types Problem title: f# pattern matching with types Tags: pattern-matching, types, f%23 Problem: f# pattern matching with types I'm trying to recursively print out all an objects properties and sub-type properties etc. My object model is as follows... type suggestedFooWidget = { value: f...
f# pattern matching with types f# pattern matching with types pattern-matching types f%23 StringBuilder o.GetType GetProperties props.GetEnumerator enumer.MoveNext enumer.Current sb.Append s.ToString c.ToString i.ToString f# pattern matching with types I'm trying to recursively print out all an objects properties and s...
[ -0.0023651123046875, 0.00823974609375, 0.00518798828125, -0.01153564453125, -0.00433349609375, -0.010498046875, -0.03369140625, 0.0262451171875, 0.01190185546875, 0.00090789794921875, 0.0224609375, -0.040283203125, 0.01708984375, -0.0189208984375, 0.0098876953125, -0.01123046875, 0.0...
[ 1238, 4904, 103510, 14858, 214, 678, 52895, 98753, 3742, 23351, 121137, 36, 196707, 20779, 1264, 25793, 2606, 56, 4597, 316, 81280, 474, 15724, 7763, 71713, 17, 31577, 195625, 5844, 28412, 1810, 756, 36746, 183871, 1614, 50986, 3299, 28960, ...
[ 0.13330078125, 0.188232421875, 0.2247314453125, 0.186767578125, 0.0254669189453125, 0.1231689453125, 0.2135009765625, 0.1400146484375, 0.0867919921875, 0.0751953125, 0.1160888671875, 0.04736328125, 0.192626953125, 0.042724609375, 0.0894775390625, 0.116943359375, 0.074462890625, 0.0...
embed
35313448_c0
35313448
fsharp
0
Title: Is F# Interactive supposed to be much slower than compiled? Problem title: Is F# Interactive supposed to be much slower than compiled? Tags: f%23 Problem: Is F# Interactive supposed to be much slower than compiled? I've been using F# for nearly six months and have been so sure that F# Interactive should have the...
Is F# Interactive supposed to be much slower than compiled? Is F# Interactive supposed to be much slower than compiled? f%23 Interactive fsianycpu.exe fsi.exe Is F# Interactive supposed to be much slower than compiled? I've been using F# for nearly six months and have been so sure that F# Interactive should have the sa...
[ -0.0123291015625, -0.0201416015625, 0.01806640625, -0.0022125244140625, -0.019775390625, -0.0234375, -0.01263427734375, -0.010986328125, -0.0096435546875, -0.016845703125, -0.0027618408203125, 0.023681640625, -0.002044677734375, 0.00836181640625, 0.009033203125, 0.005157470703125, 0....
[ 2071, 563, 4904, 5337, 71232, 134598, 5045, 72803, 56, 3501, 375, 5974, 297, 186, 1238, 3949, 3742, 172, 4848, 1766, 46480, 17368, 37195, 21775, 5701, 23718, 240057, 122991, 9969, 34759, 54608, 12765, 166904, 138, 425, 87235, 1363, 101089, ...
[ 0.0654296875, 0.1552734375, 0.2391357421875, 0.1790771484375, 0.21533203125, 0.1304931640625, 0.1070556640625, 0.215087890625, 0.1441650390625, 0.053863525390625, 0.0889892578125, 0.184326171875, 0.0438232421875, 0.06048583984375, 0.12890625, 0.02703857421875, 0.11083984375, 0.1864...
embed
4495597_c0
4495597
fsharp
0
Title: Combinations and Permutations in F# Problem title: Combinations and Permutations in F# Tags: combinatorics, combinations, f%23, permutation Problem: Combinations and Permutations in F# I've recently written the following combinations and permutations functions for an F# project, but I'm quite aware they're far f...
Combinations and Permutations in F# Combinations and Permutations in F# combinatorics combinations f%23 permutation a Combinations Permutations Rotates List.tail List.head Gets List.length Seq.collect Seq.map List.map Seq.append List.empty Combinations and Permutations in F# I've recently written the following combinat...
[ -0.01953125, 0.0263671875, 0.005828857421875, -0.0234375, -0.017578125, -0.0024566650390625, -0.0169677734375, -0.00830078125, -0.005401611328125, -0.003936767578125, -0.01141357421875, 0.0322265625, 0.0281982421875, 0.02734375, -0.00897216796875, 0.01031494140625, 0.00457763671875, ...
[ 106935, 19, 21094, 136, 908, 14311, 23, 563, 4904, 22321, 3826, 162515, 1238, 3949, 3742, 117, 561, 22062, 146283, 1636, 32036, 46741, 31251, 20779, 864, 196352, 62346, 9007, 3611, 33548, 78684, 59121, 25632, 32354, 13452, 107419, 2060, 15572...
[ 0.2159423828125, 0.174560546875, 0.10064697265625, 0.1005859375, 0.1268310546875, 0.2298583984375, 0.0562744140625, 0.147705078125, 0.2392578125, 0.22119140625, 0.08447265625, 0.239501953125, 0.091064453125, 0.0811767578125, 0.1649169921875, 0.118408203125, 0.1929931640625, 0.06994...
embed
48231010_c0
48231010
fsharp
0
Title: Why does C# string have a title "Immutable" if to compare it with F# analogue? Problem title: Why does C# string have a title "Immutable" if to compare it with F# analogue? Tags: f%23, heap-memory, immutability, c%23 Problem: Why does C# string have a title "Immutable" if to compare it with F...
Why does C# string have a title "Immutable" if to compare it with F# analogue? Why does C# string have a title "Immutable" if to compare it with F# analogue? f%23 heap-memory immutability c%23 Why Immutable System London Console.WriteLine Program Main System.Console.WriteLine Why does C# string have...
[ 0.0096435546875, -0.0035247802734375, -0.0101318359375, 0.02587890625, 0.004913330078125, 0.0030059814453125, 0.01312255859375, -0.00136566162109375, 0.01263427734375, 0.01507568359375, 0.01177978515625, 0.00579833984375, -0.0019378662109375, 0.0162353515625, 0.010498046875, -0.0032348...
[ 44084, 313, 4904, 79315, 765, 44759, 61637, 561, 22819, 69101, 563, 60223, 13388, 1238, 3742, 764, 2631, 109005, 53, 566, 14311, 41159, 3370, 12353, 9020, 40777, 18781, 93232, 7663, 12321, 14602, 678, 12301, 831, 18, 7, 186, 842, 23, 4192...
[ 0.1270751953125, 0.113525390625, 0.267578125, 0.26123046875, 0.022216796875, 0.1875, 0.10394287109375, 0.1876220703125, 0.2003173828125, 0.1199951171875, 0.1341552734375, 0.07855224609375, 0.050201416015625, 0.06744384765625, 0.04058837890625, 0.085693359375, 0.0875244140625, 0.119...
embed
14250824_c0
14250824
fsharp
0
Title: What makes this F# so slow in VS2012? Problem title: What makes this F# so slow in VS2012? Tags: f%23, visual-studio Problem: What makes this F# so slow in VS2012? In Visual Studio 2012, why would this code execute so quickly in the interactive mode and so slowly when run as a console application? I have a fast ...
What makes this F# so slow in VS2012? What makes this F# so slow in VS2012? f%23 visual-studio What VS2012 digits:string digits.ToCharArray Array.rev System.String.Concat number:int number.ToString text.Length floor:int ceiling:int Seq.max What makes this F# so slow in VS2012? In Visual Studio 2012, why would this code...
[ -0.01434326171875, 0.0013885498046875, 0.007293701171875, 0.00958251953125, -0.01165771484375, 0.007415771484375, -0.0020599365234375, 0.006103515625, -0.006683349609375, -0.038818359375, 0.00176239013671875, 0.006622314453125, -0.0108642578125, -0.007232666015625, 0.0113525390625, -0....
[ 4865, 30482, 903, 563, 4904, 221, 72803, 44160, 10693, 23, 1238, 3742, 21176, 52629, 153939, 7, 91693, 7763, 84068, 7614, 7092, 69253, 53, 65381, 12353, 71713, 214, 11935, 4460, 14012, 4288, 7986, 449, 74912, 405, 49725, 503, 864, 24084, ...
[ 0.006988525390625, 0.04229736328125, 0.04656982421875, 0.10101318359375, 0.1905517578125, 0.07159423828125, 0.2158203125, 0.1953125, 0.2398681640625, 0.032623291015625, 0.07537841796875, 0.145751953125, 0.1568603515625, 0.14208984375, 0.1785888671875, 0.008056640625, 0.123046875, 0...
embed
3399956_c0
3399956
fsharp
0
Title: Pattern Matching, F# vs Erlang Problem title: Pattern Matching, F# vs Erlang Tags: pattern-matching, ocaml, f%23, erlang Problem: Pattern Matching, F# vs Erlang In Erlang, you are encouraged not to match patterns that you do not actually handle. For example: case (anint rem 10) of 1 -> {ok, 10} 9 -> {ok, 25} end...
Pattern Matching, F# vs Erlang Pattern Matching, F# vs Erlang pattern-matching ocaml f%23 erlang Pattern Matching Erlang Pattern Matching, F# vs Erlang In Erlang, you are encouraged not to match patterns that you do not actually handle. For example: is a style that is encouraged, with other possible results resulting i...
[ -0.00151824951171875, 0.016845703125, 0.01275634765625, -0.006378173828125, -0.001953125, -0.01904296875, -0.0228271484375, 0.00433349609375, -0.0027618408203125, 0.0030517578125, 0.01348876953125, -0.003143310546875, 0.004425048828125, 0.00179290771484375, 0.0211181640625, -0.00112152...
[ 9876, 22766, 67407, 214, 563, 4904, 20209, 1004, 3066, 103510, 98753, 36, 9779, 141, 1238, 3742, 72, 65524, 959, 47, 14858, 7, 450, 54, 20653, 34831, 20623, 7722, 50339, 16750, 6494, 58055, 1974, 442, 150631, 119598, 53, 2806, 31089, 73, ...
[ 0.1593017578125, 0.17626953125, 0.2191162109375, 0.1259765625, 0.131591796875, 0.1978759765625, 0.1268310546875, 0.15380859375, 0.2578125, 0.2294921875, 0.2230224609375, 0.0574951171875, 0.1123046875, 0.160888671875, 0.065673828125, 0.047149658203125, 0.0699462890625, 0.134765625, ...
embed
41968229_c0
41968229
fsharp
0
Title: Is there a way to unit test F# projects in .net core? Problem title: Is there a way to unit test F# projects in .net core? Tags: unit-testing, f%23, .net-core Problem: Is there a way to unit test F# projects in .net core? I am trying to create an F# unit test project that runs in .net core. dotnet new -t xunitte...
Is there a way to unit test F# projects in .net core? Is there a way to unit test F# projects in .net core? unit-testing f%23 .net-core Tests.fs System.Runtime.Serialization.Primitives preview2.1 netcoreapp1.1 Microsoft.NETCore.App Microsoft.FSharp.Core.netcore alpha-160629 dotnet5.4 portable-net451 win8 Tests Xunit Fa...
[ -0.007415771484375, 0.0272216796875, 0.00860595703125, -0.0118408203125, -0.004852294921875, -0.02099609375, 0.00885009765625, -0.01336669921875, -0.0137939453125, 0.029052734375, 0.0045166015625, 0.026123046875, -0.01397705078125, 0.003326416015625, 0.01806640625, 0.016357421875, 0....
[ 2071, 2685, 3917, 47, 25072, 3034, 563, 4904, 77635, 23, 5, 1179, 56458, 10, 6954, 1238, 3742, 30854, 8647, 17447, 12353, 163321, 6032, 51626, 145111, 479, 22751, 68107, 2043, 9007, 92134, 7244, 17777, 50886, 39179, 36381, 3467, 14612, 4235...
[ 0.0171661376953125, 0.0206146240234375, 0.109375, 0.019927978515625, 0.23486328125, 0.25341796875, 0.1710205078125, 0.2457275390625, 0.1832275390625, 0.05670166015625, 0.050872802734375, 0.19921875, 0.2105712890625, 0.00750732421875, 0.220947265625, 0.084228515625, 0.0570068359375, ...
embed
20319061_c1
20319061
fsharp
1
' and then conditionally load it in all other scripts. This seems pretty offensive, though (edit: and happily, not even possible.) -- Update: Below is a more complete (i.e. runnable) example. It fails with FAKE 2.2.12.0, with a Duplicate Key error, as the module Common has been loaded twice, and FAKE has populated the ...
' and then conditionally load it in all other scripts. This seems pretty offensive, though (edit: and happily, not even possible.) -- Update: Below is a more complete (i.e. runnable) example. It fails with FAKE 2.2.12.0, with a Duplicate Key error, as the module Common has been loaded twice, and FAKE has populated the ...
[ 0.005126953125, -0.00457763671875, -0.019775390625, -0.010498046875, 0.00537109375, -0.00567626953125, 0.00616455078125, -0.0093994140625, 0.004241943359375, -0.02734375, -0.0016021728515625, 0.037841796875, 0.0159912109375, 0.01312255859375, 0.0228271484375, -0.01177978515625, 0.016...
[ 242, 136, 7068, 35431, 25958, 72367, 442, 23, 756, 3789, 26499, 7, 5, 3293, 37202, 28875, 162333, 13, 538, 7722, 28641, 28484, 11675, 2886, 27781, 1650, 35782, 563, 119960, 41187, 15654, 2389, 4, 786, 52721, 26824, 18499, 88996, 151301, 2...
[ 0.160888671875, 0.0574951171875, 0.0784912109375, 0.2095947265625, 0.077392578125, 0.21533203125, 0.1417236328125, 0.0931396484375, 0.09527587890625, 0.1065673828125, 0.250732421875, 0.027801513671875, 0.005035400390625, 0.04205322265625, 0.04266357421875, 0.0285491943359375, 0.16381...
embed
36936208_c0
36936208
fsharp
0
Title: Exception while executing Tell method in Akka Problem title: Exception while executing Tell method in Akka Tags: f%23, akka.net, agent Problem: Exception while executing Tell method in Akka I am using Akka.net (version="1.0.8") .I have two Actors one is reading Input from database and other is accepting that inp...
Exception while executing Tell method in Akka Exception while executing Tell method in Akka f%23 akka.net agent Akka.Remote.EndpointDisassociatedException akka://Pankaj/deadLetters Exception Tell Akka List.iter actRef.Tell JsonConvert.SerializeObject ProcessData MessageData WARNING Thread Pankaj reliableEndpointWritera...
[ 0.01031494140625, 0.04443359375, -0.02197265625, -0.0137939453125, 0.005828857421875, -0.0137939453125, -0.01531982421875, 0.00909423828125, -0.004302978515625, -0.020263671875, 0.006317138671875, 0.01318359375, 0.031494140625, 0.004730224609375, 0.0169677734375, 0.01080322265625, 0....
[ 5443, 63928, 12960, 71924, 59488, 55300, 23, 62, 5515, 214, 3742, 81866, 1179, 23882, 432, 152378, 38496, 162, 45388, 19279, 55956, 20103, 112, 712, 124480, 23962, 32036, 16840, 27992, 190015, 6796, 821, 1681, 11549, 25435, 75161, 123996, 137...
[ 0.067626953125, 0.1845703125, 0.1124267578125, 0.18408203125, 0.325927734375, 0.186279296875, 0.0305938720703125, 0.0906982421875, 0.2391357421875, 0.0243377685546875, 0.1036376953125, 0.1800537109375, 0.109375, 0.130615234375, 0.1356201171875, 0.07562255859375, 0.1392822265625, 0....
embed
41123785_c0
41123785
fsharp
0
Title: Get distance from a data point to its centroid with Accord.net Problem title: Get distance from a data point to its centroid with Accord.net Tags: accord.net, cluster-analysis, f%23 Problem: Get distance from a data point to its centroid with Accord.net I'm doing some clustering work with the Accord.net library ...
Get distance from a data point to its centroid with Accord.net Get distance from a data point to its centroid with Accord.net accord.net cluster-analysis f%23 a Get Accord.net KMeans Accord Accord.Math Accord.MachineLearning Accord.Statistics Accord.Statistics.Analysis kmeans.Learn kmeansMod.Decide Array.zip KMeansClus...
[ 0.00604248046875, 0.0198974609375, -0.00014495849609375, -0.002471923828125, 0.009521484375, -0.00433349609375, 0.007110595703125, -0.00677490234375, 0.00933837890625, -0.01458740234375, 0.0159912109375, -0.009033203125, -0.01708984375, -0.006622314453125, -0.0308837890625, -0.00534057...
[ 20779, 62488, 1295, 2053, 6275, 47, 6863, 5863, 532, 678, 29899, 6651, 1179, 61047, 234737, 174976, 3742, 32249, 5073, 7, 199450, 99326, 213939, 135206, 5, 48242, 73026, 14907, 164, 1785, 147, 19, 91616, 120152, 2506, 69253, 53, 50836, 441,...
[ 0.09423828125, 0.276611328125, 0.12451171875, 0.1524658203125, 0.1685791015625, 0.10546875, 0.06805419921875, 0.210205078125, 0.1937255859375, 0.039581298828125, 0.095703125, 0.2098388671875, 0.188232421875, 0.25537109375, 0.244140625, 0.15625, 0.03424072265625, 0.08184814453125, ...
embed
33287796_c0
33287796
fsharp
0
Title: Second Taxicab Number Generator Problem title: Second Taxicab Number Generator Tags: number-theory, f%23 Problem: Second Taxicab Number Generator I am attempting to generate a series of guesses for the second Taxicab number. What I want to do is is call the Attempt function on a series of integers in a finite se...
Second Taxicab Number Generator Second Taxicab Number Generator number-theory f%23 Second Taxicab Number Generator EntryPoint Attempt start..stop List.init Cube List.map List List.sum Set.ofList System.Console.Write System.Random System.Console.ReadKey Second Taxicab Number Generator I am attempting to generate a serie...
[ -0.005462646484375, -0.00726318359375, 0.01904296875, 0.00823974609375, 0.0152587890625, -0.00127410888671875, -0.0017852783203125, -0.0020904541015625, 0.01153564453125, -0.023193359375, 0.01348876953125, 0.027099609375, -0.0164794921875, 0.0106201171875, 0.0019378662109375, 0.0093994...
[ 77648, 114353, 408, 275, 103332, 222518, 14012, 2347, 30675, 1238, 3949, 3742, 357, 15123, 147534, 34224, 4034, 19111, 32036, 217, 3003, 372, 62346, 11832, 19943, 4390, 154663, 12353, 40777, 126525, 3815, 31345, 162429, 81887, 139392, 36549, 57...
[ 0.2052001953125, 0.1954345703125, 0.1822509765625, 0.157958984375, 0.158447265625, 0.2191162109375, 0.2012939453125, 0.05792236328125, 0.037994384765625, 0.0168609619140625, 0.0408935546875, 0.1326904296875, 0.0067138671875, 0.125244140625, 0.114501953125, 0.19482421875, 0.0766601562...
embed
41143789_c0
41143789
fsharp
0
Title: F# Writing to file changes behavior on return type Problem title: F# Writing to file changes behavior on return type Tags: cntk, f%23 Problem: F# Writing to file changes behavior on return type I have the following function that convert csv files to a specific txt schema (expected by CNTKTextFormat Reader): open...
F# Writing to file changes behavior on return type F# Writing to file changes behavior on return type cntk f%23 Writing System.IO FSharp.Data Deedle Frame.ReadCsv inFileName.Substring inFileName.Length StreamWriter data.Rows.Observations Seq.map kvp.Value Series.observations Seq.toList label::data List.map String.conca...
[ 0.007110595703125, -0.0002460479736328125, 0.0155029296875, 0.02001953125, 0.0029754638671875, -0.01055908203125, -0.01123046875, -0.0020751953125, -0.0101318359375, 0.0172119140625, -0.01611328125, 0.005126953125, -0.004302978515625, 0.014404296875, 0.036865234375, -0.0032958984375, ...
[ 563, 4904, 213185, 47, 11435, 65572, 123166, 30646, 10644, 660, 92, 1238, 3742, 12353, 17780, 3467, 254, 297, 133, 42557, 31345, 67756, 174350, 163612, 96472, 91693, 115061, 1456, 2783, 56, 12724, 19725, 46471, 65756, 864, 62346, 64876, 14133...
[ 0.1148681640625, 0.1903076171875, 0.220458984375, 0.173583984375, 0.1544189453125, 0.2099609375, 0.1275634765625, 0.1982421875, 0.1497802734375, 0.024322509765625, 0.0748291015625, 0.035552978515625, 0.065185546875, 0.03863525390625, 0.1107177734375, 0.07196044921875, 0.0691528320312...
embed
34886987_c0
34886987
fsharp
0
Title: What's the difference between Seq.toList and List.ofSeq? Problem title: What's the difference between Seq.toList and List.ofSeq? Tags: f%23 Problem: What's the difference between Seq.toList and List.ofSeq? I was reading Choosing between collection functions on the fsharpforfunandprofit site, and he sho...
What's the difference between Seq.toList and List.ofSeq? What's the difference between Seq.toList and List.ofSeq? f%23 the What Seq.toList List.ofSeq Opening System.IDisposable this.Dispose Disposing Read Customer Loading What's the difference between Seq.toList and List.ofSeq? I was reading Choosing between ...
[ 0.013427734375, 0.0296630859375, 0.00787353515625, 0.01904296875, 0.00714111328125, -0.004669189453125, -0.0201416015625, 0.01361083984375, 0.013427734375, -0.0208740234375, 0.000499725341796875, 0.0242919921875, 0.0196533203125, 0.017822265625, 0.007568359375, -0.01226806640625, 0.0...
[ 3768, 70, 60212, 17721, 503, 864, 5, 188, 154663, 136, 32036, 4390, 4233, 3742, 4865, 13527, 12353, 164, 7522, 2886, 903, 44456, 78381, 70958, 6953, 4764, 124765, 228006, 42486, 32354, 1238, 89280, 2472, 16498, 2940, 39348, 27781, 71864, 17...
[ 0.046875, 0.05950927734375, 0.1986083984375, 0.11181640625, 0.1051025390625, 0.22412109375, 0.03802490234375, 0.1796875, 0.273681640625, 0.0811767578125, 0.2183837890625, 0.2032470703125, 0.1436767578125, 0.008819580078125, 0.006317138671875, 0.132080078125, 0.1087646484375, 0.0482...
embed
12339205_c0
12339205
fsharp
0
Title: Pattern Matching XML in F# Problem title: Pattern Matching XML in F# Tags: dsl, fparsec, f%23, pattern-matching, xml Problem: Pattern Matching XML in F# New Library: XParsec This question has lead to a stream-and-type-independent, non-linear, extensible parsec implementation in F# 3.0 - inspired by FParsec, free...
Pattern Matching XML in F# Pattern Matching XML in F# dsl fparsec f%23 pattern-matching xml value Pattern Matching XML Bold System.Xml.Linq System.Collections.Generic Contains String.IsNullOrWhiteSpace op_Implicit XElement x.Attribute a.Value String.Empty x.SetAttributeValue IEnumerator s.Split Seq.map Seq.toList l::_ ...
[ -0.0186767578125, 0.024169921875, -0.0152587890625, -0.007110595703125, -0.0028228759765625, 0.008544921875, -0.00927734375, -0.006866455078125, 0.019775390625, 0.013916015625, 0.0179443359375, 0.0057373046875, 0.006072998046875, -0.03564453125, 0.0003185272216796875, 0.006317138671875...
[ 9876, 22766, 67407, 214, 92537, 23, 563, 4904, 104, 24861, 1238, 2500, 39797, 3949, 3742, 103510, 98753, 131492, 34292, 147424, 12353, 1542, 7237, 44982, 78457, 8996, 135932, 34749, 23351, 29598, 18444, 1181, 19060, 173473, 141012, 233, 60923, ...
[ 0.2249755859375, 0.197265625, 0.2685546875, 0.030670166015625, 0.2861328125, 0.0426025390625, 0.153564453125, 0.25146484375, 0.009033203125, 0.150390625, 0.083740234375, 0.126220703125, 0.1876220703125, 0.000152587890625, 0.09912109375, 0.26318359375, 0.149169921875, 0.233764648437...
embed
36529293_c1
36529293
fsharp
1
hit by %d by creature %A" (creature.HP) creature | :? Arrow -> printfn "Player is hit by 1 by arrow" | :? Coin -> printfn "Player got 1$" | :? Medication -> printfn "Player is healed by 1" | _ -> printfn "Interaction is not recognized" let otherActorsWithSamePosition (actor:#ActorBase) = seq{ yield new Zombie(0,0,3,1,...
hit by %d by creature %A" (creature.HP) creature | :? Arrow -> printfn "Player is hit by 1 by arrow" | :? Coin -> printfn "Player got 1$" | :? Medication -> printfn "Player is healed by 1" | _ -> printfn "Interaction is not recognized" let otherActorsWithSamePosition (actor:#ActorBase) = seq{ yield new Zombie(0,0,3,1,...
[ -0.020751953125, 0.01531982421875, 0.00151824951171875, 0.00494384765625, -0.005340576171875, 0.006866455078125, -0.0135498046875, 0.0184326171875, 0.00421142578125, -0.02197265625, 0.0157470703125, 0.010498046875, -0.003570556640625, -0.0115966796875, 0.0026397705078125, -0.0098266601...
[ 5962, 390, 1745, 195629, 284, 7612, 11, 6644, 36599, 1172, 15555, 28412, 14783, 142581, 83, 106, 118201, 76123, 4163, 4369, 142519, 1363, 17305, 6259, 44851, 44713, 959, 125296, 2633, 3789, 39450, 22230, 194583, 29494, 7192, 172, 18770, 63473...
[ 0.2078857421875, 0.131591796875, 0.0543212890625, 0.2425537109375, 0.015228271484375, 0.065185546875, 0.0467529296875, 0.0950927734375, 0.1209716796875, 0.03155517578125, 0.13916015625, 0.1138916015625, 0.08154296875, 0.172607421875, 0.036712646484375, 0.079345703125, 0.182373046875,...
embed
2283612_c0
2283612
fsharp
0
Title: Can I find all multisets of given size more efficiently? Problem title: Can I find all multisets of given size more efficiently? Tags: f%23, dynamic-programming, algorithm Problem: Can I find all multisets of given size more efficiently? Given a set of possible values and a number of "digits," I want to find eve...
Can I find all multisets of given size more efficiently? Can I find all multisets of given size more efficiently? f%23 dynamic-programming algorithm Can AAA AAB ABB BBB BBC BCC CCC CCA CAA ABC Distinct Can I find all multisets of given size more efficiently? Given a set of possible values and a number of "digits," I wa...
[ -0.0101318359375, -0.0181884765625, 0.01080322265625, -0.01373291015625, 0.00067138671875, -0.0111083984375, -0.0294189453125, -0.0179443359375, 0.016357421875, -0.027099609375, 0.000148773193359375, 0.02197265625, 0.0380859375, -0.004852294921875, -0.013671875, 0.0037384033203125, 0...
[ 4171, 7413, 756, 6024, 3509, 7, 34475, 13267, 1286, 93766, 87, 1238, 3949, 3742, 84079, 28966, 234873, 155616, 62, 11040, 22312, 4831, 13709, 134982, 13133, 15467, 47457, 803, 12729, 111, 77878, 5423, 7722, 142424, 14012, 4803, 3444, 11907, ...
[ 0.09051513671875, 0.1851806640625, 0.1370849609375, 0.23095703125, 0.2269287109375, 0.0423583984375, 0.104736328125, 0.16064453125, 0.1353759765625, 0.2271728515625, 0.047515869140625, 0.044403076171875, 0.04833984375, 0.1700439453125, 0.1959228515625, 0.1497802734375, 0.196411132812...
embed
64276042_c0
64276042
fsharp
0
Title: Is it possible to calculate the continued fraction of a negative number in f#? Problem title: Is it possible to calculate the continued fraction of a negative number in f#? Tags: continued-fractions, fractions, f%23 Problem: Is it possible to calculate the continued fraction of a negative number in f#? I'm tryin...
Is it possible to calculate the continued fraction of a negative number in f#? Is it possible to calculate the continued fraction of a negative number in f#? continued-fractions fractions f%23 float2cfrac System.Math.Ceiling Is it possible to calculate the continued fraction of a negative number in f#? I'm trying to ma...
[ -0.015869140625, -0.00787353515625, -0.003570556640625, -0.021484375, 0.003875732421875, -0.0087890625, 0.01611328125, -0.004608154296875, 0.006561279296875, 0.0034942626953125, -0.02685546875, 0.01031494140625, -0.005645751953125, -0.0052490234375, 0.00897216796875, -0.00811767578125,...
[ 7722, 74481, 67, 70, 136475, 175921, 40907, 14012, 23, 1238, 4904, 442, 111, 3949, 3742, 21917, 132076, 12353, 199450, 49725, 2071, 31577, 1528, 831, 2773, 43240, 64557, 5885, 16709, 118551, 363, 32380, 67553, 128188, 15276, 160743, 122101, 7...
[ 0.146240234375, 0.2249755859375, 0.08203125, 0.052490234375, 0.24853515625, 0.27001953125, 0.28662109375, 0.1673583984375, 0.091552734375, 0.14013671875, 0.23095703125, 0.0227813720703125, 0.03411865234375, 0.0128173828125, 0.172607421875, 0.0830078125, 0.1373291015625, 0.036193847...
embed
53397494_c0
53397494
fsharp
0
Title: How are F# Type Providers used on a changing Rest/JSON Endpoint? Problem title: How are F# Type Providers used on a changing Rest/JSON Endpoint? Tags: f%23, fsharp.data.typeproviders, functional-programming, type-providers Problem: How are F# Type Providers used on a changing Rest/JSON Endpoint? I am trying to u...
How are F# Type Providers used on a changing Rest/JSON Endpoint? How are F# Type Providers used on a changing Rest/JSON Endpoint? f%23 fsharp.data.typeproviders functional-programming type-providers How Type Providers Rest JSON Endpoint WeatherForecast JsonProvider api.openweathermap.org MyKeyICantSharePublicly Weather...
[ -0.003143310546875, 0.008544921875, -0.007354736328125, -0.001495361328125, 0.01263427734375, 0.02099609375, 0.003021240234375, -0.001220703125, -0.0028839111328125, -0.006622314453125, 0.01904296875, 0.013916015625, -0.00933837890625, 0.0035552978515625, 0.0291748046875, -0.0012359619...
[ 11249, 563, 4904, 60457, 123089, 4295, 11814, 151134, 49756, 1375, 58627, 18878, 38496, 621, 64, 1238, 3742, 89280, 254, 10135, 50986, 93136, 14202, 123309, 28966, 10644, 821, 214526, 18537, 55741, 1681, 177997, 62160, 31470, 59636, 1177, 11, ...
[ 0.048095703125, 0.14111328125, 0.2276611328125, 0.238037109375, 0.2105712890625, 0.135009765625, 0.1351318359375, 0.1502685546875, 0.1517333984375, 0.0982666015625, 0.1673583984375, 0.08404541015625, 0.10986328125, 0.000946044921875, 0.01556396484375, 0.08465576171875, 0.045837402343...
embed
8690550_c0
8690550
fsharp
0
Title: How to handle left recursion in FParsec Problem title: How to handle left recursion in FParsec Tags: left-recursion, parsing, fparsec, f%23 Problem: How to handle left recursion in FParsec My languages uses s-expressions with one additional feature - a dot operator for accessing elements from an array or struct....
How to handle left recursion in FParsec How to handle left recursion in FParsec left-recursion parsing fparsec f%23 How FParsec Parition NOTE m:first m:second nextResult.first nextResult.second m:y How to handle left recursion in FParsec My languages uses s-expressions with one additional feature - a dot operator for a...
[ 0.000720977783203125, 0.009521484375, -0.0025634765625, 0.01080322265625, -0.007476806640625, -0.0106201171875, -0.00726318359375, -0.01055908203125, -0.0037078857421875, -0.032470703125, 0.01007080078125, 0.038818359375, -0.00063323974609375, -0.002960205078125, 0.0230712890625, -0.01...
[ 11249, 34831, 25737, 195625, 1830, 563, 28636, 39797, 107, 48650, 366, 1238, 2500, 3949, 3742, 51536, 1363, 212963, 347, 13448, 271, 191633, 11737, 7, 7136, 53, 46876, 4527, 91, 204629, 78301, 60213, 20633, 39933, 17203, 80854, 1295, 10298, ...
[ 0.037078857421875, 0.1695556640625, 0.226806640625, 0.23486328125, 0.13671875, 0.134033203125, 0.1527099609375, 0.1966552734375, 0.05035400390625, 0.1864013671875, 0.13818359375, 0.07366943359375, 0.09942626953125, 0.0141448974609375, 0.148681640625, 0.0941162109375, 0.06939697265625...
embed
48179998_c0
48179998
fsharp
0
Title: Single case Discriminated Union in F#, same name for type and label Problem title: Single case Discriminated Union in F#, same name for type and label Tags: f%23, discriminated-union Problem: Single case Discriminated Union in F#, same name for type and label I have the following code in an F# file: module ORDER...
Single case Discriminated Union in F#, same name for type and label Single case Discriminated Union in F#, same name for type and label f%23 discriminated-union TypeName Single Discriminated Union ORDERS OrderId LabelName Application OrderId.getValue ORDERS.OrderId extractValue2 ORDERS.OrderId.getValue OrderIdType Orde...
[ 0.0155029296875, -0.01177978515625, 0.0029144287109375, 0.00933837890625, -0.003936767578125, -0.0186767578125, -0.0125732421875, 0.003021240234375, 0.031982421875, -0.0174560546875, 0.029541015625, -0.0067138671875, 0.009521484375, -0.028564453125, 0.0218505859375, -0.015625, 0.0127...
[ 43609, 7225, 6206, 135421, 32528, 563, 4904, 5701, 9351, 10644, 136, 67967, 1238, 3742, 55970, 3674, 87046, 60457, 163612, 36639, 63175, 81206, 71, 129214, 104921, 50770, 143045, 125663, 304, 196707, 4063, 18151, 11435, 121876, 32354, 9790, 873...
[ 0.1357421875, 0.1419677734375, 0.008392333984375, 0.190673828125, 0.185302734375, 0.1136474609375, 0.223388671875, 0.1136474609375, 0.08740234375, 0.149169921875, 0.039031982421875, 0.1912841796875, 0.0120849609375, 0.08642578125, 0.156494140625, 0.0164947509765625, 0.125244140625, ...
embed
23389752_c0
23389752
fsharp
0
Title: MissingMethodException when running a unit test that uses FSharp.Data Problem title: MissingMethodException when running a unit test that uses FSharp.Data Tags: missingmethodexception, f%23, f%23-data Problem: MissingMethodException when running a unit test that uses FSharp.Data I have a NUnit unit test that is ...
MissingMethodException when running a unit test that uses FSharp.Data MissingMethodException when running a unit test that uses FSharp.Data missingmethodexception f%23 f%23-data MissingMethodException System.MissingMethodException FSharp.Data Result Message Method Microsoft.FSharp.Control.FSharpAsync System.IO.TextRead...
[ -0.0157470703125, 0.0242919921875, 0.00009965896606445312, -0.0289306640625, 0.002105712890625, -0.000179290771484375, 0.0159912109375, 0.00726318359375, 0.000560760498046875, -0.01531982421875, -0.0162353515625, -0.005157470703125, -0.00457763671875, -0.005279541015625, 0.033447265625, ...
[ 16771, 214, 78572, 7352, 19279, 63928, 3229, 51042, 25072, 3034, 4527, 93774, 3467, 254, 5, 137989, 132283, 113399, 425, 1238, 3949, 3742, 167218, 27495, 10135, 12353, 135261, 126684, 48205, 74644, 7244, 36381, 175904, 12654, 17780, 174379, 313...
[ 0.1781005859375, 0.1761474609375, 0.2247314453125, 0.2000732421875, 0.056610107421875, 0.1595458984375, 0.011688232421875, 0.1326904296875, 0.1934814453125, 0.2327880859375, 0.0782470703125, 0.09375, 0.200439453125, 0.197265625, 0.01678466796875, 0.1607666015625, 0.213623046875, 0....
embed
67739100_c0
67739100
fsharp
0
Title: Missing FSI.exe from F# pipeline (sometimes) Problem title: Missing FSI.exe from F# pipeline (sometimes) Tags: azure-devops, azure-pipelines, f%23, yaml Problem: Missing FSI.exe from F# pipeline (sometimes) Hej, I have a YML pipeline and am having issues with FSI.exe which I am using for running f# scripts. The ...
Missing FSI.exe from F# pipeline (sometimes) Missing FSI.exe from F# pipeline (sometimes) azure-devops azure-pipelines f%23 yaml F# Missing FSI.exe Program Files x86 Microsoft Visual Studio Enterprise Common7 IDE CommonExtensions FSharp Pool Hosted Windows VS2019 Agent Started Today Duration Job BuildPlatform BuildConf...
[ -0.0047607421875, -0.00518798828125, -0.01458740234375, -0.0169677734375, -0.011962890625, -0.005859375, -0.0004177093505859375, -0.0179443359375, -0.001983642578125, 0.0198974609375, 0.0078125, 0.022216796875, -0.004547119140625, 0.0206298828125, 0.033935546875, -0.0001535415649414062...
[ 16771, 214, 563, 9902, 5, 46480, 1295, 4904, 137158, 2256, 43452, 70141, 295, 3408, 18548, 68818, 1434, 26338, 1238, 3949, 3742, 151, 7237, 7663, 42724, 15276, 7244, 73372, 22968, 102247, 151301, 966, 36497, 128872, 93774, 3467, 254, 56718, ...
[ 0.1649169921875, 0.037322998046875, 0.1962890625, 0.298583984375, 0.1114501953125, 0.25634765625, 0.08929443359375, 0.2138671875, 0.1773681640625, 0.12841796875, 0.08740234375, 0.10205078125, 0.1036376953125, 0.1807861328125, 0.12646484375, 0.1265869140625, 0.0804443359375, 0.14111...
embed
52961230_c0
52961230
fsharp
0
Title: Unable to observe page navigation using F# Async support in Xamarin.Forms Problem title: Unable to observe page navigation using F# Async support in Xamarin.Forms Tags: xamarin.forms, f%23 Problem: Unable to observe page navigation using F# Async support in Xamarin.Forms I'm unable to observe page navigation. Co...
Unable to observe page navigation using F# Async support in Xamarin.Forms Unable to observe page navigation using F# Async support in Xamarin.Forms xamarin.forms f%23 F# Unable Async Xamarin.Forms x.AddBankcard DelegateCommand Async.RunSynchronously ICommand PageRequest.AddBankcard List.map UI.AddBankcard navigationPag...
[ -0.0146484375, 0.032470703125, -0.01300048828125, -0.00921630859375, -0.0223388671875, 0.0228271484375, -0.00116729736328125, -0.0157470703125, -0.006134033203125, -0.041748046875, 0.0203857421875, -0.0208740234375, -0.01239013671875, 0.01348876953125, 0.0162353515625, -0.0047607421875...
[ 992, 2886, 139999, 9191, 134470, 563, 4904, 62, 12654, 238, 8060, 8606, 44503, 102973, 2459, 5037, 3742, 1022, 70323, 38931, 228532, 12018, 217835, 1900, 14231, 75616, 4028, 32036, 62346, 147101, 33768, 634, 217, 9874, 104921, 201940, 51, 123...
[ 0.019500732421875, 0.1256103515625, 0.1810302734375, 0.1356201171875, 0.2164306640625, 0.0850830078125, 0.1356201171875, 0.04315185546875, 0.2017822265625, 0.083984375, 0.171875, 0.143798828125, 0.2249755859375, 0.1729736328125, 0.0926513671875, 0.143798828125, 0.0638427734375, 0.0...
embed
7859904_c0
7859904
fsharp
0
Title: Serialization of a tuple of memory streams (jagged arrays) using Protobuf.net Problem title: Serialization of a tuple of memory streams (jagged arrays) using Protobuf.net Tags: f%23, protobuf-net, c%23, serialization, wcf Problem: Serialization of a tuple of memory streams (jagged arrays) using Protobuf.net Is i...
Serialization of a tuple of memory streams (jagged arrays) using Protobuf.net Serialization of a tuple of memory streams (jagged arrays) using Protobuf.net f%23 protobuf-net c%23 serialization wcf Protobuf.net jagged Serialization Protobuf protobuf-net.dll System.Random Array.init rnd.NextDouble System.IO.FileStream te...
[ 0.0084228515625, 0.0233154296875, -0.01226806640625, -0.00946044921875, -0.00347900390625, -0.024658203125, -0.00848388671875, -0.00040435791015625, -0.006072998046875, -0.0062255859375, 0.01031494140625, 0.0167236328125, 0.0196533203125, 0.038818359375, 0.015869140625, -0.002258300781...
[ 135188, 47691, 370, 8705, 98323, 75973, 145, 134229, 10298, 4778, 17368, 67241, 978, 420, 1179, 3742, 22664, 35686, 67466, 79, 1181, 12353, 126525, 69253, 2208, 17780, 174350, 115061, 3034, 7568, 9083, 63784, 7235, 4233, 51626, 52825, 25435, ...
[ 0.233154296875, 0.1070556640625, 0.0972900390625, 0.1585693359375, 0.1771240234375, 0.2025146484375, 0.123291015625, 0.138916015625, 0.1312255859375, 0.052886962890625, 0.006866455078125, 0.200439453125, 0.147216796875, 0.1710205078125, 0.1436767578125, 0.046783447265625, 0.139770507...
embed
43689651_c0
43689651
fsharp
0
Title: Any other examples of multi-state Agent programming in FSharp? Problem title: Any other examples of multi-state Agent programming in FSharp? Tags: agent, asynchronous, f%23, mailboxprocessor Problem: Any other examples of multi-state Agent programming in FSharp? I'm investigating F# agents that have multiple sta...
Any other examples of multi-state Agent programming in FSharp? Any other examples of multi-state Agent programming in FSharp? agent asynchronous f%23 mailboxprocessor thisAgent.Post Any Agent FSharp StartFeed Pause Any other examples of multi-state Agent programming in FSharp? I'm investigating F# agents that have mult...
[ 0.005340576171875, 0.0191650390625, 0.00099945068359375, 0.01202392578125, -0.007476806640625, 0.00153350830078125, 0.00616455078125, 0.01129150390625, 0.01220703125, -0.0203857421875, 0.01031494140625, 0.00311279296875, 0.00494384765625, 0.01287841796875, 0.0052490234375, 0.0161132812...
[ 27781, 6024, 61340, 54603, 56037, 449, 23, 93774, 3467, 254, 3789, 23882, 12654, 101966, 1238, 3742, 6648, 11728, 63923, 748, 903, 46825, 49411, 13794, 30154, 164197, 32603, 563, 4904, 97957, 48716, 117249, 1974, 21954, 64, 2940, 166117, 1625...
[ 0.1800537109375, 0.14990234375, 0.1817626953125, 0.2286376953125, 0.159912109375, 0.0667724609375, 0.0202484130859375, 0.0858154296875, 0.185546875, 0.1806640625, 0.018035888671875, 0.2069091796875, 0.171142578125, 0.1204833984375, 0.03131103515625, 0.144287109375, 0.042388916015625,...
embed
50411886_c0
50411886
fsharp
0
Title: Does using a free monad in F# imply a higher startup time and limited instructions? Problem title: Does using a free monad in F# imply a higher startup time and limited instructions? Tags: abstract-syntax-tree, f%23, recursion, monads Problem: Does using a free monad in F# imply a higher startup time and limited...
Does using a free monad in F# imply a higher startup time and limited instructions? Does using a free monad in F# imply a higher startup time and limited instructions? abstract-syntax-tree f%23 recursion monads a Does Free Pure Does using a free monad in F# imply a higher startup time and limited instructions? I am rea...
[ -0.021240234375, 0.0145263671875, 0.0133056640625, 0.0091552734375, -0.012939453125, 0.00136566162109375, -0.0101318359375, -0.003936767578125, 0.004730224609375, -0.039306640625, 0.01171875, -0.017822265625, -0.01287841796875, 0.0181884765625, -0.000873565673828125, 0.002410888671875,...
[ 17368, 4092, 2667, 712, 563, 4904, 21980, 77546, 73882, 1733, 84046, 167934, 10, 23, 538, 164789, 86531, 62600, 1238, 3742, 195625, 1830, 101790, 5153, 118233, 40881, 6872, 5761, 32837, 3299, 182809, 34166, 32354, 28219, 1528, 51515, 18151, 1...
[ 0.072021484375, 0.181396484375, 0.1309814453125, 0.18896484375, 0.1026611328125, 0.1951904296875, 0.103759765625, 0.1280517578125, 0.1651611328125, 0.08526611328125, 0.165771484375, 0.215087890625, 0.00860595703125, 0.011260986328125, 0.03375244140625, 0.08349609375, 0.072998046875, ...
embed
21383152_c0
21383152
fsharp
0
Title: State Monad - While-loops Problem title: State Monad - While-loops Tags: monads, state-monad, guard-clause, f%23 Problem: State Monad - While-loops This question has been inspired by this question . I understand the example ( ListBuilder ) but I have not been able to create a while loop for my state monad. What ...
State Monad - While-loops State Monad - While-loops monads state-monad guard-clause f%23 State Monad While-loops ListBuilder Definition StateFunc StateMonadBuilder b.ReturnFrom b.Return b.Bind b.Zero b.Delay b.Run Getter b.getState Setter b.putState b.While State Monad - While-loops This question has been inspired by t...
[ -0.01556396484375, 0.0128173828125, 0.0191650390625, 0.006011962890625, 0.00579833984375, 0.0159912109375, -0.001922607421875, -0.002838134765625, 0.00262451171875, -0.017578125, 0.0159912109375, 0.0322265625, -0.0286865234375, 0.01287841796875, 0.00927734375, -0.004302978515625, -0....
[ 22836, 60331, 71, 51404, 9, 28354, 2667, 712, 7, 11341, 3796, 56050, 18347, 1238, 3949, 3742, 32036, 121137, 56, 155455, 97249, 46674, 876, 987, 168407, 571, 7250, 1511, 4036, 4657, 5259, 163321, 2206, 3055, 135206, 503, 7077, 979, 191722, ...
[ 0.197021484375, 0.1988525390625, 0.1751708984375, 0.2374267578125, 0.016693115234375, 0.218994140625, 0.1329345703125, 0.183837890625, 0.0028076171875, 0.19189453125, 0.1387939453125, 0.1854248046875, 0.05731201171875, 0.03350830078125, 0.018463134765625, 0.064697265625, 0.1647949218...
embed
70262144_c2
70262144
fsharp
2
.Internal, IEnumerator, map2, DoMoveNext, ByRef, MapEnumerator, System.Collections.IEnumerator.MoveNext, Microsoft.FSharp.Collections.SeqModule.ForAll, Microsoft.FSharp.Core.FSharpFunc, Boolean, System.Collections.Generic.IEnumerable, FSharp.Compiler.Symbols.SymbolHelpers, ItemDisplayPartialEquality, System.Collections...
.Internal, IEnumerator, map2, DoMoveNext, ByRef, MapEnumerator, System.Collections.IEnumerator.MoveNext, Microsoft.FSharp.Collections.SeqModule.ForAll, Microsoft.FSharp.Core.FSharpFunc, Boolean, System.Collections.Generic.IEnumerable, FSharp.Compiler.Symbols.SymbolHelpers, ItemDisplayPartialEquality, System.Collections...
[ 0.002410888671875, 0.013916015625, 0.00390625, -0.0034027099609375, 0.006500244140625, 0.00927734375, -0.007080078125, -0.02783203125, 0.0093994140625, 0.010498046875, -0.00078582763671875, 0.05029296875, 0.0137939453125, -0.0040283203125, 0.0142822265625, 0.01708984375, 0.029296875,...
[ 6, 5, 44851, 6236, 4, 75536, 2606, 56, 4597, 22288, 304, 984, 9083, 272, 81280, 3311, 190015, 42719, 12353, 78457, 8996, 5256, 20441, 7244, 36381, 3467, 254, 4233, 864, 91616, 8782, 18537, 43512, 50886, 13, 97249, 238, 73783, 34677, 13593...
[ 0.010162353515625, 0.1390380859375, 0.187744140625, 0.1671142578125, 0.0880126953125, 0.1160888671875, 0.184326171875, 0.136474609375, 0.153076171875, 0.14306640625, 0.1090087890625, 0.0863037109375, 0.130615234375, 0.1455078125, 0.2100830078125, 0.09442138671875, 0.2188720703125, ...
embed
26801158_c1
26801158
fsharp
1
h1 <<< 5) + h1 ^^^ h2; type StructTupleComparer<'T,'T2>() = let cmparer = EqualityComparer<Object>.Default interface IEqualityComparer<StructTuple<'T,'T2>> with member this.Equals (a,b) = cmparer.Equals(a.fst, b.fst) && cmparer.Equals(a.snd, b.snd) member this.GetHashCode (x) = CmpHelpers.combine (cmparer.GetHashCode(x...
h1 <<< 5) + h1 ^^^ h2; type StructTupleComparer<'T,'T2>() = let cmparer = EqualityComparer<Object>.Default interface IEqualityComparer<StructTuple<'T,'T2>> with member this.Equals (a,b) = cmparer.Equals(a.fst, b.fst) && cmparer.Equals(a.snd, b.snd) member this.GetHashCode (x) = CmpHelpers.combine (cmparer.GetHashCode(x...
[ -0.0213623046875, 0.0216064453125, -0.0027008056640625, -0.00482177734375, 0.01214599609375, -0.01312255859375, 0.000766754150390625, -0.00152587890625, 0.01611328125, -0.0198974609375, -0.02099609375, 0.0546875, 0.01007080078125, 0.013671875, 0.0042724609375, -0.00125885009765625, -...
[ 1096, 418, 234015, 21162, 997, 16377, 304, 74, 10644, 63667, 15390, 15665, 8705, 108161, 147, 56, 618, 2633, 1827, 2500, 241, 161789, 75161, 187423, 11, 101758, 75536, 71713, 18190, 32786, 903, 71723, 275, 876, 271, 1230, 2208, 724, 126, ...
[ 0.1077880859375, 0.0540771484375, 0.0845947265625, 0.1595458984375, 0.14013671875, 0.02001953125, 0.140625, 0.01953125, 0.1417236328125, 0.17236328125, 0.030670166015625, 0.128662109375, 0.1390380859375, 0.173095703125, 0.1788330078125, 0.1021728515625, 0.0924072265625, 0.063354492...
embed
2320919_c1
2320919
fsharp
1
.</summary> private const Int32 DefaultThreadCount = 1; /// <summary>Used to serialize access to the message queue.</summary> private readonly Locker Locker; /// <summary>Stores the messages until they can be processed.</summary> private readonly System.Collections.Generic.Queue<Message> MessageQueue; /// <summary>Sign...
.</summary> private const Int32 DefaultThreadCount = 1; /// <summary>Used to serialize access to the message queue.</summary> private readonly Locker Locker; /// <summary>Stores the messages until they can be processed.</summary> private readonly System.Collections.Generic.Queue<Message> MessageQueue; /// <summary>Sign...
[ -0.00830078125, 0.0263671875, -0.002227783203125, -0.0140380859375, -0.0018310546875, -0.01031494140625, 0.017333984375, -0.0162353515625, -0.0206298828125, -0.0086669921875, -0.0008392333984375, 0.0272216796875, 0.033447265625, 0.015869140625, -0.0096435546875, 0.017578125, 0.015014...
[ 5, 112197, 14375, 158, 271, 360, 18, 6460, 262, 1021, 7136, 20800, 39116, 108210, 2203, 106, 4666, 1062, 5281, 47, 35686, 20650, 17203, 26008, 41, 13388, 12301, 191, 538, 80002, 56, 2740, 165248, 7, 89914, 24189, 831, 9433, 12353, 78457, ...
[ 0.0198516845703125, 0.05633544921875, 0.2008056640625, 0.087890625, 0.120849609375, 0.0738525390625, 0.1224365234375, 0.244873046875, 0.1580810546875, 0.2252197265625, 0.145751953125, 0.1082763671875, 0.251708984375, 0.21630859375, 0.045257568359375, 0.09375, 0.00274658203125, 0.12...
embed
62274013_c1
62274013
fsharp
1
2; C: CRecord } type BComplexRecord = private { baz: uint32; c: CRecord } with member public this.Baz = this.baz member internal this.C = this.c static member public New(baz, c) = { baz = baz; c = c } type BComplexType internal (baz: uint32, c: CRecord) = member val Baz = baz with get member val internal C = c with get...
2; C: CRecord } type BComplexRecord = private { baz: uint32; c: CRecord } with member public this.Baz = this.baz member internal this.C = this.c static member public New(baz, c) = { baz = baz; c = c } type BComplexType internal (baz: uint32, c: CRecord) = member val Baz = baz with get member val internal C = c with get...
[ -0.001220703125, 0.0096435546875, -0.00885009765625, 0.01220703125, 0.0255126953125, -0.005340576171875, -0.01397705078125, -0.0196533203125, -0.00090789794921875, 0.0142822265625, -0.00311279296875, 0.00946044921875, 0.014892578125, 0.022216796875, 0.009521484375, -0.0281982421875, ...
[ 116, 74, 313, 12, 25109, 13, 32271, 51912, 10644, 335, 10770, 44974, 4332, 2203, 14375, 16627, 75, 4288, 6460, 501, 678, 32786, 3835, 903, 1828, 40300, 70796, 441, 5, 238, 6, 201939, 2356, 16, 196707, 4, 3502, 36490, 2046, 2806, 5154, ...
[ 0.1177978515625, 0.050018310546875, 0.1456298828125, 0.0290374755859375, 0.0537109375, 0.0550537109375, 0.2462158203125, 0.0249481201171875, 0.166259765625, 0.1285400390625, 0.0670166015625, 0.1710205078125, 0.0819091796875, 0.025177001953125, 0.1094970703125, 0.146484375, 0.00692749...
embed
22677351_c0
22677351
fsharp
0
Title: Is inheritance the proper way to solve this? Problem title: Is inheritance the proper way to solve this? Tags: f%23, inheritance, functional-programming, f%23-3.0 Problem: Is inheritance the proper way to solve this? I'm new to f#. I'm wanting to return a list of search results to the front end. However, there c...
Is inheritance the proper way to solve this? Is inheritance the proper way to solve this? f%23 inheritance functional-programming f%23-3.0 BlogResult MovieResult MovieResult.PosterIcon BlogProvider SearchResult Is inheritance the proper way to solve this? I'm new to f#. I'm wanting to return a list of search results to...
[ -0.000858306884765625, -0.00069427490234375, -0.001129150390625, 0.006256103515625, -0.0194091796875, -0.0028533935546875, 0.0052490234375, -0.02099609375, 0.01141357421875, -0.0220947265625, -0.0179443359375, -0.02587890625, -0.0032501220703125, 0.00537109375, -0.018798828125, 0.01135...
[ 23, 3334, 217, 7154, 27798, 3917, 47, 86869, 903, 1238, 3742, 123309, 28966, 132265, 5061, 4332, 7, 7136, 10348, 49411, 2271, 177997, 62160, 33086, 3525, 4904, 3444, 30646, 5303, 33938, 50339, 12912, 3564, 5809, 40368, 52895, 10002, 183871, ...
[ 0.12060546875, 0.224609375, 0.15966796875, 0.12255859375, 0.14013671875, 0.0732421875, 0.051788330078125, 0.15625, 0.07904052734375, 0.06134033203125, 0.076171875, 0.165771484375, 0.1353759765625, 0.060699462890625, 0.1475830078125, 0.0640869140625, 0.1246337890625, 0.13232421875, ...
embed
791841_c0
791841
fsharp
0
Title: How to create a &quot;Pair&quot; function to match against a string list? Problem title: How to create a &quot;Pair&quot; function to match against a string list? Tags: f%23 Problem: How to create a "Pair" function to match against a string list? I was doing an exercise on F# Wiki Book on List (scroll to the bot...
How to create a &quot;Pair&quot; function to match against a string list? How to create a &quot;Pair&quot; function to match against a string list? f%23 Microsoft.FSharp.Core.MatchFailureException How Pair fsi.exe hd1 hd2 List.rev FS0025 Incomplete Exception FSI_0002.clo Invoke List _arg1 FSI_0002.pair StartupCode$FSI_...
[ -0.0125732421875, 0.0299072265625, 0.001708984375, 0.00970458984375, 0.009521484375, 0.016357421875, -0.0146484375, -0.004608154296875, 0.02001953125, 0.0184326171875, 0.0284423828125, 0.01068115234375, 0.0120849609375, -0.032958984375, 0.00115203857421875, -0.021484375, 0.0064697265...
[ 11249, 28282, 8335, 481, 32354, 47, 14858, 26548, 79315, 5303, 1238, 3742, 7244, 36381, 3467, 254, 50886, 79520, 17647, 379, 19279, 63928, 1342, 172, 46480, 26488, 418, 304, 32036, 65381, 93774, 7049, 2588, 277, 131801, 5443, 563, 9902, 950...
[ 0.0723876953125, 0.1435546875, 0.253173828125, 0.264404296875, 0.197021484375, 0.012664794921875, 0.212158203125, 0.2027587890625, 0.2073974609375, 0.18505859375, 0.1026611328125, 0.0550537109375, 0.0947265625, 0.0406494140625, 0.102783203125, 0.0931396484375, 0.046661376953125, 0....
embed
15487603_c0
15487603
fsharp
0
Title: F# Function with &#x27;Matching&#x27; and &#x27;Find and Replace&#x27; Problem title: F# Function with &#x27;Matching&#x27; and &#x27;Find and Replace&#x27; Tags: replace, match, f%23 Problem: F# Function with 'Matching' and 'Find and Replace' I am struggling with creating a F# function. I'm a novice (at best) w...
F# Function with &#x27;Matching&#x27; and &#x27;Find and Replace&#x27; F# Function with &#x27;Matching&#x27; and &#x27;Find and Replace&#x27; replace match f%23 Matching Find Replace List Proper Case NIF USA USD FixAccronyms List.iter myList2 FixAccronyms2 aList:string F# Function with 'Matching' and 'Find and Replace'...
[ -0.0169677734375, -0.0078125, -0.001983642578125, 0.01116943359375, 0.01275634765625, 0.0081787109375, 0.00083160400390625, 0.0023956298828125, 0.01300048828125, 0.043701171875, 0.0390625, 0.003326416015625, 0.0022430419921875, -0.01531982421875, 0.019775390625, 0.0017547607421875, 0...
[ 563, 4904, 28670, 10763, 678, 6, 3768, 79520, 59207, 425, 74, 136, 204582, 853, 23935, 91995, 14858, 1238, 3742, 67407, 26040, 32036, 1250, 1264, 43731, 541, 29836, 4602, 19052, 96746, 15322, 5264, 7, 16840, 759, 154663, 304, 10, 12, 9169...
[ 0.182861328125, 0.268310546875, 0.1810302734375, 0.04388427734375, 0.1263427734375, 0.005126953125, 0.083984375, 0.196044921875, 0.171142578125, 0.00738525390625, 0.00537109375, 0.1732177734375, 0.1944580078125, 0.125, 0.19287109375, 0.169677734375, 0.1806640625, 0.1248779296875, ...
embed
44328806_c0
44328806
fsharp
0
Title: ERROR [HY000] General error: Invalid file dsn &#x27;&#x27; Problem title: ERROR [HY000] General error: Invalid file dsn &#x27;&#x27; Tags: ms-access, f%23, odbc Problem: ERROR [HY000] General error: Invalid file dsn '' let connectToAccess filename = let connectionString = "Provider=Microsoft.Jet.OLEDB.4.0;FileDS...
ERROR [HY000] General error: Invalid file dsn &#x27;&#x27; ERROR [HY000] General error: Invalid file dsn &#x27;&#x27; ms-access f%23 odbc System.Data.Odbc.OdbcException System.Data.Odbc.OdbcConnection.HandleError ERROR HY000 General Invalid OdbcHandle RetCode System.Data.Odbc.OdbcConnectionOpen..ctor OdbcConnection Odb...
[ 0.0224609375, 0.0162353515625, -0.0166015625, 0.03466796875, -0.0034637451171875, 0.00860595703125, -0.005767822265625, -0.01263427734375, 0.005462646484375, -0.031982421875, 0.0172119140625, -0.0078125, 0.004791259765625, -0.01300048828125, -0.00830078125, -0.00738525390625, -0.0192...
[ 151206, 24638, 92559, 9508, 9082, 18499, 360, 7013, 71, 11435, 104, 7, 19, 3768, 68163, 113041, 3742, 229, 65037, 12353, 137989, 71115, 235603, 135679, 18468, 93217, 2365, 47131, 114211, 103264, 18770, 135518, 63784, 391, 275, 39029, 162429, ...
[ 0.147216796875, 0.10791015625, 0.1358642578125, 0.23193359375, 0.153076171875, 0.14990234375, 0.05560302734375, 0.1937255859375, 0.0474853515625, 0.1737060546875, 0.0902099609375, 0.11083984375, 0.164306640625, 0.06622314453125, 0.072021484375, 0.1611328125, 0.081787109375, 0.09997...
embed
26450257_c0
26450257
fsharp
0
Title: Printing tree list tuple elements in F# Problem title: Printing tree list tuple elements in F# Tags: f%23, f%23-interactive, c%23-to-f%23 Problem: Printing tree list tuple elements in F# I have a simple tree structure like this.. type Tree<'a,'b> = | Node of list<'a * Tree<'a,'b>> | Leaf of 'b let phonebook = No...
Printing tree list tuple elements in F# Printing tree list tuple elements in F# f%23 f%23-interactive c%23-to-f%23 Printing Tree Node Leaf MyPhonebook Work Company1 Employee1 Company2 Private Family Brother Sister Match List.iter Printing tree list tuple elements in F# I have a simple tree structure like this.. Im simp...
[ 0.00958251953125, 0.01171875, 0.00138092041015625, 0.007080078125, -0.0034332275390625, 0.01031494140625, -0.0302734375, -0.003997802734375, 0.0069580078125, -0.0068359375, 0.0013885498046875, -0.013671875, 0.0101318359375, 0.001617431640625, 0.0089111328125, -0.0086669921875, 0.0114...
[ 39754, 53201, 5303, 370, 8705, 80854, 23, 563, 4904, 1238, 3742, 10433, 188, 420, 101344, 438, 112, 636, 2407, 2646, 163147, 14137, 27985, 33734, 86111, 59745, 67921, 602, 67407, 32036, 16840, 214, 8781, 45646, 31577, 28412, 74855, 78303, 1...
[ 0.1903076171875, 0.2015380859375, 0.178955078125, 0.131103515625, 0.194091796875, 0.1484375, 0.037261962890625, 0.1336669921875, 0.19775390625, 0.0156707763671875, 0.0197296142578125, 0.02783203125, 0.058013916015625, 0.007568359375, 0.183349609375, 0.0672607421875, 0.0299072265625, ...
embed
32215570_c0
32215570
fsharp
0
Title: F# SQL Server Type Provider .NET SDK tools not found. Windows 10 Problem title: F# SQL Server Type Provider .NET SDK tools not found. Windows 10 Tags: sdk, sql-server, type-providers, f%23, windows-10 Problem: F# SQL Server Type Provider .NET SDK tools not found. Windows 10 Running Windows 10, Visual Studio Comm...
F# SQL Server Type Provider .NET SDK tools not found. Windows 10 F# SQL Server Type Provider .NET SDK tools not found. Windows 10 sdk sql-server type-providers f%23 windows-10 SQL Server Type Provider NET SDK Windows HKLM SOFTWARE Wow6432Node Microsoft SDKs windows-10 F# SQL Server Type Provider .NET SDK tools not foun...
[ 0.0084228515625, 0.0177001953125, 0.01141357421875, -0.005828857421875, -0.0159912109375, 0.00653076171875, -0.0263671875, -0.022705078125, -0.01409912109375, -0.0081787109375, -0.00286865234375, -0.02685546875, 0.0184326171875, -0.01123046875, 0.0086669921875, -0.01153564453125, 0.0...
[ 563, 4904, 80866, 22687, 60457, 123089, 17777, 159, 45461, 72977, 959, 14037, 3773, 209, 42, 91, 5740, 99247, 39642, 10644, 93136, 1238, 3742, 54825, 9193, 80192, 37150, 207776, 53505, 13307, 6460, 5021, 7244, 73372, 22968, 66069, 24635, 1049...
[ 0.079833984375, 0.2012939453125, 0.2049560546875, 0.1116943359375, 0.1834716796875, 0.167724609375, 0.1993408203125, 0.0555419921875, 0.254638671875, 0.259521484375, 0.05731201171875, 0.1368408203125, 0.1214599609375, 0.2073974609375, 0.04766845703125, 0.00909423828125, 0.13037109375...
embed
47943197_c0
47943197
fsharp
0
Title: How to implement non-nested exception handling on each step in an F# task computation expression? Problem title: How to implement non-nested exception handling on each step in an F# task computation expression? Tags: f%23, exception, computation-expression Problem: How to implement non-nested exception handling ...
How to implement non-nested exception handling on each step in an F# task computation expression? How to implement non-nested exception handling on each step in an F# task computation expression? f%23 exception computation-expression Console.Error How Failed API ex.Message try..with Task MainAsync GetAccessTokenAsync E...
[ -0.0084228515625, 0.0242919921875, 0.00872802734375, -0.005828857421875, 0.0213623046875, -0.0028076171875, 0.0252685546875, 0.0022735595703125, 0.00311279296875, -0.0050048828125, 0.007476806640625, 0.031494140625, -0.002899169921875, 0.01531982421875, 0.0283203125, 0.01153564453125, ...
[ 11249, 29479, 351, 86, 14437, 131527, 45064, 12638, 29954, 563, 4904, 66211, 181135, 125195, 1238, 3949, 3742, 204629, 40777, 18468, 190355, 297, 61687, 1119, 6011, 9790, 9598, 12321, 12654, 20779, 26531, 7763, 1098, 5443, 63928, 93232, 60427, ...
[ 0.05291748046875, 0.158203125, 0.2152099609375, 0.1690673828125, 0.175537109375, 0.228759765625, 0.2196044921875, 0.108154296875, 0.14404296875, 0.107177734375, 0.17822265625, 0.15576171875, 0.144287109375, 0.1650390625, 0.07366943359375, 0.0037841796875, 0.147705078125, 0.13769531...
embed
68903225_c0
68903225
fsharp
0
Title: how to properly use Result.bind Problem title: how to properly use Result.bind Tags: functional-programming, f%23 Problem: how to properly use Result.bind I am currently trying to implement some validation in my F# program but i'm facing som compile time errors, which I can't solve. Boiled down, i'm trying to do...
how to properly use Result.bind how to properly use Result.bind functional-programming f%23 ifFalseThenError SomeOtherError Result.bind Error val1 Seq.sum Some val2 Array.exists FS0001 Type Expecting Result Path how to properly use Result.bind I am currently trying to implement some validation in my F# program but i'm ...
[ -0.0250244140625, 0.0277099609375, 0.00077056884765625, -0.0036773681640625, 0.01422119140625, 0.008056640625, -0.0024261474609375, -0.0184326171875, 0.0101318359375, -0.0294189453125, 0.0047607421875, -0.0047607421875, 0.00110626220703125, 0.0150146484375, -0.0003376007080078125, -0.0...
[ 3642, 155965, 4527, 126684, 5, 89817, 123309, 28966, 1238, 3742, 2174, 17647, 11971, 18468, 31611, 670, 9319, 212059, 3502, 418, 503, 864, 11832, 31384, 304, 69253, 53, 54376, 93774, 188735, 60457, 60075, 24762, 108421, 29479, 44622, 563, 490...
[ 0.05926513671875, 0.1453857421875, 0.1856689453125, 0.2646484375, 0.0848388671875, 0.298828125, 0.1485595703125, 0.1278076171875, 0.053741455078125, 0.1478271484375, 0.006744384765625, 0.03668212890625, 0.033660888671875, 0.060089111328125, 0.011444091796875, 0.007080078125, 0.031433...
embed
56294414_c1
56294414
fsharp
1
\Common Files\Microsoft Shared\Web Server Extensions\15\ISAPI\Microsoft.SharePoint.Client.dll" ` >> -r "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\ISAPI\Microsoft.SharePoint.Client.Runtime.dll" ` >> -r "absolute\path\to\Microsoft.Online.SharePoint.Client.Tenant.dll.15.0.4615.1001\Microsoft....
\Common Files\Microsoft Shared\Web Server Extensions\15\ISAPI\Microsoft.SharePoint.Client.dll" ` >> -r "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\ISAPI\Microsoft.SharePoint.Client.Runtime.dll" ` >> -r "absolute\path\to\Microsoft.Online.SharePoint.Client.Tenant.dll.15.0.4615.1001\Microsoft....
[ -0.0233154296875, 0.020751953125, -0.0025634765625, 0.006622314453125, -0.0263671875, -0.0177001953125, 0.010986328125, 0.009033203125, -0.000408172607421875, -0.0135498046875, 0.00360107421875, 0.0203857421875, -0.00775146484375, 0.0108642578125, 0.0196533203125, -0.006103515625, 0....
[ 10770, 3796, 42724, 113387, 29790, 71, 30474, 22687, 224545, 1837, 36256, 15185, 69042, 147534, 150, 2517, 1181, 6396, 42, 441, 148968, 163321, 98685, 128405, 75387, 87286, 34479, 4524, 135527, 5612, 1179, 4633, 94833, 152108, 19, 683, 50886, ...
[ 0.0865478515625, 0.190185546875, 0.177490234375, 0.144287109375, 0.1505126953125, 0.0977783203125, 0.09295654296875, 0.1256103515625, 0.193359375, 0.1461181640625, 0.1051025390625, 0.22998046875, 0.117919921875, 0.173828125, 0.1572265625, 0.1383056640625, 0.22021484375, 0.015991210...
embed
60479305_c0
60479305
fsharp
0
Title: What is Discriminated Union in F# and what type of alternative we have in OOP Problem title: What is Discriminated Union in F# and what type of alternative we have in OOP Tags: f%23, functional-programming, discriminated-union, .net Problem: What is Discriminated Union in F# and what type of alternative we have ...
What is Discriminated Union in F# and what type of alternative we have in OOP What is Discriminated Union in F# and what type of alternative we have in OOP f%23 functional-programming discriminated-union .net What Discriminated Union OOP What is Discriminated Union in F# and what type of alternative we have in OOP I am...
[ 0.01080322265625, 0.01611328125, 0.0179443359375, 0.0062255859375, -0.00445556640625, -0.008056640625, -0.0057373046875, 0.0184326171875, 0.0177001953125, -0.01116943359375, 0.01007080078125, -0.006927490234375, 0.006500244140625, 0.02392578125, -0.0017547607421875, 0.004180908203125, ...
[ 4865, 83, 6206, 135421, 3674, 32528, 23, 563, 4904, 10644, 30700, 642, 765, 180, 20880, 3742, 123309, 28966, 55970, 87046, 1179, 3934, 28670, 10763, 56037, 1295, 51359, 25, 19667, 46876, 14145, 1733, 30698, 29954, 28219, 7, 15400, 5526, 206...
[ 0.0753173828125, 0.0379638671875, 0.08990478515625, 0.2408447265625, 0.09503173828125, 0.278564453125, 0.059814453125, 0.10150146484375, 0.2139892578125, 0.1090087890625, 0.17236328125, 0.01220703125, 0.0294342041015625, 0.1231689453125, 0.287841796875, 0.06304931640625, 0.1370849609...
embed
7110032_c1
7110032
fsharp
1
bservable<'T * 'U> = Observable.CombineLatest( obs1, obs2, Func<_,_,_>(fun a b -> a, b)) /// Merges three observable sequences into one observable sequence whenever one of the observable sequences has a new value. let combineLatest3 (obs1: IObservable<'T>) (obs2: IObservable<'U>) (obs3: IObservable<'V>) : IObservable<'...
bservable<'T * 'U> = Observable.CombineLatest( obs1, obs2, Func<_,_,_>(fun a b -> a, b)) /// Merges three observable sequences into one observable sequence whenever one of the observable sequences has a new value. let combineLatest3 (obs1: IObservable<'T>) (obs2: IObservable<'U>) (obs3: IObservable<'V>) : IObservable<'...
[ -0.0218505859375, 0.05615234375, 0.004638671875, 0.0140380859375, 0.004608154296875, 0.001129150390625, -0.01312255859375, -0.0019989013671875, 0.00927734375, -0.0179443359375, -0.01153564453125, -0.025634765625, 0.037353515625, 0.00787353515625, -0.0003032684326171875, -0.005554199218...
[ 876, 65756, 2661, 618, 661, 242, 1062, 2203, 87652, 5, 10770, 46187, 2729, 6954, 995, 7, 418, 304, 28670, 238, 454, 16498, 10, 33079, 4666, 64, 6035, 4188, 17262, 22046, 40, 26513, 5170, 3934, 1632, 944, 217684, 1556, 3525, 34292, 2633,...
[ 0.162353515625, 0.22607421875, 0.2398681640625, 0.15380859375, 0.0633544921875, 0.009124755859375, 0.1756591796875, 0.034637451171875, 0.230712890625, 0.00439453125, 0.10693359375, 0.2266845703125, 0.1552734375, 0.1783447265625, 0.1829833984375, 0.111572265625, 0.06341552734375, 0....
embed
42813988_c0
42813988
fsharp
0
Title: F# Equivalent of ++ operator Problem title: F# Equivalent of ++ operator Tags: f%23 Problem: F# Equivalent of ++ operator I'm converting an array to a record type. Something like: let value = [|"1";"2";"3";"Not a number";"5"|] type ValueRecord = { One: int32 Two: int32 Three: int32 Four: string Five: int32 } let...
F# Equivalent of ++ operator F# Equivalent of ++ operator f%23 Equivalent Not ValueRecord One int32 Two Three Four Five Int.Parse Six F# Equivalent of ++ operator I'm converting an array to a record type. Something like: This works, but has the drawback that adding a value to the middle of the array results in manual e...
[ -0.0201416015625, 0.000020503997802734375, -0.000896453857421875, 0.01544189453125, -0.006622314453125, -0.0196533203125, -0.0228271484375, 0.00189208984375, 0.0184326171875, 0.004119873046875, -0.007720947265625, 0.01422119140625, 0.0027618408203125, 0.0036468505859375, 0.01708984375, ...
[ 563, 4904, 145666, 85540, 111, 37223, 39933, 1238, 3949, 3742, 11205, 190060, 32271, 6561, 23, 6460, 32964, 129335, 65056, 156615, 18, 28636, 184, 84247, 96760, 10298, 53, 47, 17164, 10644, 3293, 43240, 79442, 12620, 154107, 34292, 86991, 230...
[ 0.135498046875, 0.1929931640625, 0.1287841796875, 0.204833984375, 0.149169921875, 0.245361328125, 0.223876953125, 0.12744140625, 0.07159423828125, 0.185791015625, 0.13818359375, 0.17138671875, 0.1998291015625, 0.048583984375, 0.011993408203125, 0.1556396484375, 0.041168212890625, 0...
embed
21998962_c0
21998962
fsharp
0
Title: Building VS2013 F# project on Heroku fails with &quot;The required attribute &quot;Project&quot; In Import is empty&quot; Problem title: Building VS2013 F# project on Heroku fails with &quot;The required attribute &quot;Project&quot; In Import is empty&quot; Tags: f%23, heroku, mono Problem: Building VS2013 F# p...
Building VS2013 F# project on Heroku fails with &quot;The required attribute &quot;Project&quot; In Import is empty&quot; Building VS2013 F# project on Heroku fails with &quot;The required attribute &quot;Project&quot; In Import is empty&quot; f%23 heroku mono Building VS2013 Heroku Project build_b3e2706f-20c8-421e-a1c...
[ -0.02197265625, 0.0140380859375, -0.0179443359375, -0.00099945068359375, -0.008056640625, 0.006561279296875, -0.0008087158203125, -0.02734375, 0.0034637451171875, 0.00860595703125, 0.01348876953125, -0.0283203125, 0.006683349609375, 0.00023174285888671875, 0.0191650390625, 0.0048828125...
[ 104919, 44160, 7735, 563, 4904, 13452, 56889, 319, 35782, 56065, 150380, 223353, 360, 92966, 83, 201505, 98, 3742, 40814, 22460, 27331, 45367, 156946, 207263, 17447, 3454, 170, 153837, 3509, 22013, 16444, 98701, 95538, 62270, 27495, 177149, 291...
[ 0.1376953125, 0.16943359375, 0.21142578125, 0.07568359375, 0.17724609375, 0.1339111328125, 0.17529296875, 0.1798095703125, 0.1746826171875, 0.1986083984375, 0.173828125, 0.1766357421875, 0.10400390625, 0.2156982421875, 0.04736328125, 0.197265625, 0.0035400390625, 0.0274810791015625...
embed
60961985_c1
60961985
fsharp
1
-> <@@ value @@> ) valueProp.AddXmlDoc "This is the value that you gave me to start with" ty.AddMember valueProp let ctor = ProvidedConstructor( parameters = [], invokeCode = fun args -> <@@ value :> obj @@> ) ctor.AddXmlDoc "Initializes a the awesomes" ty.AddMember ctor let reverser = ProvidedMethod( methodName = "Re...
-> <@@ value @@> ) valueProp.AddXmlDoc "This is the value that you gave me to start with" ty.AddMember valueProp let ctor = ProvidedConstructor( parameters = [], invokeCode = fun args -> <@@ value :> obj @@> ) ctor.AddXmlDoc "Initializes a the awesomes" ty.AddMember ctor let reverser = ProvidedMethod( methodName = "Re...
[ 0.01275634765625, 0.0225830078125, 0.00634765625, 0.01507568359375, -0.00537109375, 0.01153564453125, 0.007781982421875, -0.010498046875, -0.0035858154296875, -0.01263427734375, 0.0084228515625, 0.00982666015625, -0.007171630859375, -0.0157470703125, 0.01104736328125, 0.003677368164062...
[ 33079, 128277, 34292, 10752, 254, 4028, 1542, 7237, 8331, 238, 73243, 83, 70, 450, 398, 26038, 163, 47, 4034, 678, 2281, 594, 27417, 2633, 18770, 123089, 71, 36716, 748, 171859, 23, 23253, 13, 114211, 7477, 79459, 995, 170, 4153, 40705, ...
[ 0.04742431640625, 0.06512451171875, 0.1905517578125, 0.1617431640625, 0.1510009765625, 0.1373291015625, 0.03350830078125, 0.105712890625, 0.1395263671875, 0.0902099609375, 0.0926513671875, 0.0797119140625, 0.0279388427734375, 0.0238800048828125, 0.0067138671875, 0.114501953125, 0.045...
embed
15767328_c0
15767328
fsharp
0
Title: F# deserializing array of arrays Problem title: F# deserializing array of arrays Tags: f%23, arrays, deserialization Problem: F# deserializing array of arrays I have to read in some data from a file that is stored as JSON Arrays. Basically the data represents a binary tree with labels for the nodes and values on...
F# deserializing array of arrays F# deserializing array of arrays f%23 arrays deserialization JavaScriptSerializer System.IO.File.ReadAllLines jss.Deserialize Seq.map F# deserializing array of arrays I have to read in some data from a file that is stored as JSON Arrays. Basically the data represents a binary tree with ...
[ 0.0289306640625, 0.0036468505859375, -0.01116943359375, 0.00048828125, -0.002288818359375, -0.006103515625, -0.01361083984375, 0.005126953125, -0.0084228515625, -0.031982421875, -0.00274658203125, -0.00159454345703125, -0.00799560546875, 0.0026092529296875, 0.01226806640625, 0.00634765...
[ 563, 4904, 8, 184, 51626, 84382, 10298, 53, 111, 4778, 1238, 3742, 47691, 17925, 4233, 52825, 12353, 17780, 174350, 31345, 43512, 93232, 1647, 73347, 25435, 119066, 503, 864, 62346, 12301, 2053, 11435, 4343, 821, 58627, 69253, 33636, 2394, ...
[ 0.1630859375, 0.2315673828125, 0.195556640625, 0.1441650390625, 0.1689453125, 0.08966064453125, 0.1292724609375, 0.044586181640625, 0.08575439453125, 0.105224609375, 0.08331298828125, 0.05364990234375, 0.04010009765625, 0.1820068359375, 0.09661865234375, 0.13134765625, 0.084350585937...
embed
70131844_c0
70131844
fsharp
0
Title: F# FS0001: This Expression was expected to have type figure, but her has type int*int Problem title: F# FS0001: This Expression was expected to have type figure, but her has type int*int Tags: discriminated-union, f%23, pattern-matching Problem: F# FS0001: This Expression was expected to have type figure, but he...
F# FS0001: This Expression was expected to have type figure, but her has type int*int F# FS0001: This Expression was expected to have type figure, but her has type int*int discriminated-union f%23 pattern-matching FS0001 Expression Circle Rectangle Mix Red Blue v:int F# FS0001: This Expression was expected to have type...
[ -0.007110595703125, -0.00384521484375, -0.0040283203125, 0.007568359375, 0.004150390625, -0.00167083740234375, -0.038818359375, 0.0079345703125, 0.013671875, 0.00970458984375, 0.0067138671875, 0.0228271484375, 0.0130615234375, -0.0020294189453125, 0.00213623046875, -0.016357421875, 0...
[ 563, 4904, 93774, 188735, 3293, 25129, 1830, 84751, 765, 10644, 26366, 1284, 604, 1556, 23, 18, 1639, 4288, 55970, 87046, 1238, 3949, 3742, 103510, 98753, 163731, 14525, 37286, 6096, 22928, 81, 509, 20697, 1528, 5646, 59994, 25813, 33233, 1...
[ 0.1007080078125, 0.1927490234375, 0.1712646484375, 0.268310546875, 0.0126953125, 0.150390625, 0.061279296875, 0.157958984375, 0.002349853515625, 0.21826171875, 0.2152099609375, 0.0625, 0.086181640625, 0.07318115234375, 0.0985107421875, 0.0950927734375, 0.02362060546875, 0.181030273...
embed
20449186_c0
20449186
fsharp
0
Title: ServiceStack.Redis with F# is not storing data. But nearly the same code in C# works Problem title: ServiceStack.Redis with F# is not storing data. But nearly the same code in C# works Tags: servicestack, c%23-to-f%23, c%23, f%23, redis Problem: ServiceStack.Redis with F# is not storing data. But nearly the same...
ServiceStack.Redis with F# is not storing data. But nearly the same code in C# works ServiceStack.Redis with F# is not storing data. But nearly the same code in C# works servicestack c%23-to-f%23 c%23 f%23 redis ServiceStack.Redis But RedisClient redis.FlushAll redis.As BitstampLast redisBitstamp.GetNextSequence Timest...
[ -0.0028228759765625, 0.014892578125, 0.01171875, -0.01025390625, 0.01312255859375, -0.000476837158203125, -0.01336669921875, 0.0146484375, -0.0019989013671875, 0.006439208984375, -0.002777099609375, -0.00018405914306640625, 0.01220703125, -0.00860595703125, -0.0005645751953125, -0.0057...
[ 12349, 42378, 2594, 80852, 164, 678, 563, 4904, 959, 3082, 2053, 110518, 5701, 18151, 23, 313, 43240, 11374, 102, 188, 3742, 4842, 6096, 150, 5782, 43512, 19659, 27774, 590, 2676, 2729, 81280, 19114, 190060, 165248, 756, 42272, 112079, 1772...
[ 0.0980224609375, 0.1328125, 0.1126708984375, 0.156005859375, 0.1837158203125, 0.07568359375, 0.0994873046875, 0.198974609375, 0.05517578125, 0.100830078125, 0.08721923828125, 0.1097412109375, 0.074951171875, 0.16650390625, 0.0252838134765625, 0.03387451171875, 0.0775146484375, 0.07...
embed
26135015_c0
26135015
fsharp
0
Title: Joining two lists of records and calculating a result Problem title: Joining two lists of records and calculating a result Tags: f%23 Problem: Joining two lists of records and calculating a result I have two lists of records with the following types: type AverageTempType = {Date: System.DateTime; Year: int64; Mo...
Joining two lists of records and calculating a result Joining two lists of records and calculating a result f%23 Joining AverageTempType Date System.DateTime Year int64 Month AverageTemp DailyTempType Day DailyTemp MatchLoop DailyData AverageData i.Year j.Year i.Month j.Month i.Day i.DailyTemp j.Average NOMATCH MatchPa...
[ 0.00469970703125, -0.000804901123046875, 0.00128936767578125, 0.005645751953125, -0.00115203857421875, -0.006011962890625, -0.01263427734375, 0.0186767578125, 0.0186767578125, 0.02490234375, 0.01483154296875, 0.00095367431640625, 0.003570556640625, -0.0230712890625, -0.01519775390625, ...
[ 113053, 6626, 5303, 115923, 136, 74481, 1916, 16750, 3742, 40168, 29838, 159065, 196707, 25512, 12353, 86291, 70059, 42552, 13307, 23865, 10013, 67407, 15363, 137989, 1647, 146794, 97141, 212128, 814, 67177, 142481, 8335, 52895, 3444, 2046, 3525,...
[ 0.2060546875, 0.1239013671875, 0.18017578125, 0.1796875, 0.008758544921875, 0.175537109375, 0.055511474609375, 0.1610107421875, 0.0858154296875, 0.124267578125, 0.1044921875, 0.19287109375, 0.2054443359375, 0.07318115234375, 0.091064453125, 0.001800537109375, 0.05706787109375, 0.02...
embed
45886056_c0
45886056
fsharp
0
Title: FSharp.Data missing method exception Problem title: FSharp.Data missing method exception Tags: f%23-data, f%23, missingmethodexception Problem: FSharp.Data missing method exception I am trying to resolve a MissingMethodException in a pre-compiled F# Azure Function. The exception is thrown when I call an extensio...
FSharp.Data missing method exception FSharp.Data missing method exception f%23-data f%23 missingmethodexception FSharp.Data System.Net System.Net.Http Microsoft.Azure.WebJobs.Host FSharp.Data.CssSelectorExtensions Run HttpRequestMessage TraceWriter HtmlDocument.Load google.com doc.CssSelect div.ctr-p req.CreateResponse...
[ -0.0084228515625, 0.0130615234375, 0.01177978515625, 0.00341796875, 0.002349853515625, 0.001983642578125, 0.0186767578125, 0.005035400390625, -0.01336669921875, -0.021728515625, -0.02294921875, -0.00372314453125, -0.000408172607421875, -0.01031494140625, 0.032470703125, -0.008056640625...
[ 93774, 3467, 254, 5, 137989, 132283, 55300, 131527, 1238, 167218, 27495, 10135, 3949, 3742, 113399, 425, 63928, 12353, 24447, 3062, 7244, 219534, 13, 30474, 194802, 441, 4233, 187075, 19279, 128872, 28398, 75616, 6011, 4937, 18, 239469, 26484, ...
[ 0.1304931640625, 0.2401123046875, 0.22607421875, 0.011474609375, 0.1864013671875, 0.2147216796875, 0.2425537109375, 0.2154541015625, 0.0906982421875, 0.07061767578125, 0.089599609375, 0.1544189453125, 0.0445556640625, 0.1591796875, 0.185302734375, 0.0545654296875, 0.147705078125, 0...
embed
50232878_c0
50232878
fsharp
0
Title: Why does dotnet-fantomas need FSharp.Core, Version=4.4.1.0? Problem title: Why does dotnet-fantomas need FSharp.Core, Version=4.4.1.0? Tags: lint, nuget, f%23 Problem: Why does dotnet-fantomas need FSharp.Core, Version=4.4.1.0? Trying to make dotnet-fantomas work, I installed both Fantomas and dotnet-fantomas fr...
Why does dotnet-fantomas need FSharp.Core, Version=4.4.1.0? Why does dotnet-fantomas need FSharp.Core, Version=4.4.1.0? lint nuget f%23 System.IO.FileLoadException HRESULT Why FSharp.Core Version Fantomas Nuget ItemGroup DotNetCliToolReference Include dotnet-fantomas.exe Asset.fs Package Manager NET Framework Projects ...
[ -0.011474609375, 0.0291748046875, -0.0087890625, -0.00408935546875, -0.010498046875, -0.006134033203125, 0.0002593994140625, 0.00921630859375, -0.00811767578125, -0.0032958984375, 0.01129150390625, -0.0072021484375, -0.0230712890625, 0.007049560546875, 0.0201416015625, -0.008056640625,...
[ 44084, 14602, 20633, 1179, 7260, 188, 1510, 3871, 93774, 3467, 254, 5, 50886, 13, 40647, 107947, 29485, 102107, 11508, 18, 315, 3794, 1238, 3949, 3742, 12353, 17780, 174350, 15363, 19279, 63928, 572, 34465, 82643, 11213, 1429, 78426, 205072, ...
[ 0.0865478515625, 0.006622314453125, 0.1534423828125, 0.2275390625, 0.1153564453125, 0.198486328125, 0.1619873046875, 0.1455078125, 0.0860595703125, 0.19873046875, 0.198974609375, 0.0200042724609375, 0.1593017578125, 0.0687255859375, 0.1153564453125, 0.1378173828125, 0.1807861328125, ...
embed
78793979_c1
78793979
fsharp
1
Create train and test datasets let X_train, y_train = createDataset train lookback let X_test, y_test = createDataset test lookback // Print shapes to verify printfn "X_train shape: %A" X_train.shape printfn "y_train shape: %A" y_train.shape printfn "X_test shape: %A" X_test.shape printfn "y_test shape: %A" y_test.sha...
Create train and test datasets let X_train, y_train = createDataset train lookback let X_test, y_test = createDataset test lookback // Print shapes to verify printfn "X_train shape: %A" X_train.shape printfn "y_train shape: %A" y_train.shape printfn "X_test shape: %A" X_test.shape printfn "y_test shape: %A" y_test.sha...
[ 0.010986328125, 0.0341796875, -0.019775390625, 0.0242919921875, 0.00732421875, 0.000583648681640625, 0.0135498046875, -0.01251220703125, 0.0022125244140625, -0.0281982421875, -0.01019287109375, -0.0277099609375, -0.01220703125, -0.00045013427734375, 0.000514984130859375, 0.000698089599...
[ 151313, 25550, 136, 3034, 2053, 3509, 7, 2633, 1193, 454, 1517, 73, 4, 113, 2203, 28282, 137989, 6713, 12620, 6954, 4666, 39754, 115700, 47, 493, 40383, 28412, 14783, 1542, 1745, 2420, 53, 3299, 19759, 10111, 836, 106, 98320, 29568, 16777...
[ 0.1685791015625, 0.278076171875, 0.120361328125, 0.2496337890625, 0.152587890625, 0.1929931640625, 0.0200347900390625, 0.082763671875, 0.1385498046875, 0.067138671875, 0.2489013671875, 0.1513671875, 0.00982666015625, 0.14599609375, 0.0284881591796875, 0.15576171875, 0.10009765625, ...
embed
50746267_c0
50746267
fsharp
0
Title: Error: &quot;image &#x27;en/FSharp.Core.resources.dll.so&#x27; not found: dlopen failed / condition `idx &lt; t-&gt;rows&#x27; not met&quot; Problem title: Error: &quot;image &#x27;en/FSharp.Core.resources.dll.so&#x27; not found: dlopen failed / condition `idx &lt; t-&gt;rows&#x27; not met&quot; Tags: f%23, mono...
Error: &quot;image &#x27;en/FSharp.Core.resources.dll.so&#x27; not found: dlopen failed / condition `idx &lt; t-&gt;rows&#x27; not met&quot; Error: &quot;image &#x27;en/FSharp.Core.resources.dll.so&#x27; not found: dlopen failed / condition `idx &lt; t-&gt;rows&#x27; not met&quot; f%23 mono xamarin.android xamarin suav...
[ 0.0009613037109375, 0.015625, -0.00885009765625, 0.00689697265625, -0.004669189453125, -0.0150146484375, 0.006072998046875, 0.01190185546875, 0.002410888671875, -0.021484375, 0.03173828125, -0.004302978515625, 0.01708984375, 0.0224609375, 0.019775390625, -0.0020294189453125, 0.014404...
[ 212059, 37926, 3768, 33, 36381, 3467, 254, 50886, 13, 107, 60427, 7, 71, 1181, 991, 959, 14037, 104, 57179, 165523, 35431, 532, 425, 1277, 808, 15555, 435, 64, 1238, 3742, 22460, 2459, 44503, 51796, 109829, 114977, 93774, 65791, 12654, 12...
[ 0.2203369140625, 0.25634765625, 0.124755859375, 0.125732421875, 0.0831298828125, 0.2271728515625, 0.2235107421875, 0.1943359375, 0.13916015625, 0.1322021484375, 0.25244140625, 0.087158203125, 0.0987548828125, 0.241455078125, 0.19580078125, 0.10089111328125, 0.1883544921875, 0.08776...
embed
5206911_c0
5206911
fsharp
0
Title: Using F# Indexed Properties in a Type Problem title: Using F# Indexed Properties in a Type Tags: f%23, types, indexed-properties Problem: Using F# Indexed Properties in a Type I'm trying to convert the following C# into F#: public class Matrix { double[,] matrix; public int Cols { get { return this.matrix.GetUpp...
Using F# Indexed Properties in a Type Using F# Indexed Properties in a Type f%23 types indexed-properties Using Indexed Properties Type Matrix Cols this.matrix.GetUpperBound Rows this.matrix sourceMatrix.GetUpperBound this.Rows this.Cols sourceMatrix:double matrix:double Array2D.create this.Item Length Using F# Indexed...
[ 0.004241943359375, 0.023681640625, 0.0277099609375, -0.0050048828125, 0.004302978515625, -0.01507568359375, -0.01470947265625, 0.00885009765625, 0.01458740234375, 0.000934600830078125, 0.004638671875, 0.0096435546875, -0.009765625, -0.01373291015625, -0.02490234375, 0.01312255859375, ...
[ 345, 6953, 563, 4904, 31471, 297, 234994, 23, 60457, 1238, 3949, 3742, 52895, 63262, 36290, 56, 194234, 11554, 903, 87427, 8079, 7030, 96190, 31344, 1062, 12724, 78457, 21555, 2661, 50944, 69253, 304, 397, 7612, 2982, 77554, 31577, 96760, 2...
[ 0.1094970703125, 0.009765625, 0.1683349609375, 0.2406005859375, 0.2440185546875, 0.12939453125, 0.2210693359375, 0.04022216796875, 0.234130859375, 0.1192626953125, 0.00164794921875, 0.116943359375, 0.1541748046875, 0.2340087890625, 0.0897216796875, 0.09912109375, 0.137451171875, 0....
embed
11343071_c0
11343071
fsharp
0
Title: translate Haskell (monadic) to F# Problem title: translate Haskell (monadic) to F# Tags: haskell, fsharp-typeclasses, f%23 Problem: translate Haskell (monadic) to F# Help me translate following block of the Haskell code. The run function produces text string that corresponding to a given regex that abstracted as...
translate Haskell (monadic) to F# translate Haskell (monadic) to F# haskell fsharp-typeclasses f%23 qualified Text.Regex.TDFA.Pattern Control.Monad.State Control.Applicative Haskell POr PConcat PEscape DoPa LANGUAGE RecordWildCards NamedFieldPuns Data.Text Control.Monad.Stream Stream Stream.toList foldl1 Pattern Stream...
[ -0.0225830078125, -0.004180908203125, 0.00445556640625, 0.007110595703125, 0.00323486328125, 0.0205078125, -0.0189208984375, -0.0023040771484375, 0.0179443359375, -0.0233154296875, 0.01092529296875, 0.00162506103515625, 0.0030517578125, -0.01373291015625, 0.019287109375, 0.003128051757...
[ 3900, 19309, 20625, 142508, 87039, 18403, 47, 563, 4904, 1556, 1238, 89280, 254, 50986, 67413, 3742, 217225, 24129, 54601, 3355, 14676, 8335, 3055, 27131, 5, 46674, 712, 11048, 4460, 98224, 98064, 54877, 152445, 156119, 2096, 19388, 27559, 17...
[ 0.135986328125, 0.157470703125, 0.149169921875, 0.265625, 0.138671875, 0.1505126953125, 0.10528564453125, 0.1290283203125, 0.2127685546875, 0.125732421875, 0.04840087890625, 0.10467529296875, 0.06536865234375, 0.1142578125, 0.1419677734375, 0.099365234375, 0.152587890625, 0.1153564...
embed
67512864_c1
67512864
fsharp
1
.GetResponseStream())) { var result = streamReader.ReadToEnd(); Console.WriteLine(result); } Console.WriteLine(httpResponse.StatusCode); F# VERSION: let url = "https://www.investing.com/instruments/HistoricalDataAjax" let httpRequest = WebRequest.Create(url) :?> HttpWebRequest httpRequest.Method <- "POST" httpRequest.H...
.GetResponseStream())) { var result = streamReader.ReadToEnd(); Console.WriteLine(result); } Console.WriteLine(httpResponse.StatusCode); F# VERSION: let url = "https://www.investing.com/instruments/HistoricalDataAjax" let httpRequest = WebRequest.Create(url) :?> HttpWebRequest httpRequest.Method <- "POST" httpRequest.H...
[ -0.01263427734375, 0.0301513671875, -0.0034332275390625, -0.0115966796875, 0.01177978515625, -0.013671875, -0.0024871826171875, 0.0167236328125, -0.01031494140625, -0.0250244140625, 0.0294189453125, -0.028076171875, -0.00927734375, -0.006103515625, -0.006103515625, -0.00051498413085937...
[ 5, 724, 126, 94399, 13, 115061, 32149, 285, 16750, 2203, 75973, 31345, 56, 7763, 152378, 1657, 40777, 1456, 18781, 93232, 132, 2109, 7136, 3142, 5475, 135206, 223, 114211, 563, 4904, 34237, 2633, 6, 25002, 1574, 42232, 214, 277, 64, 87705...
[ 0.06280517578125, 0.1156005859375, 0.1328125, 0.31640625, 0.12109375, 0.276123046875, 0.1102294921875, 0.1475830078125, 0.201171875, 0.012725830078125, 0.1712646484375, 0.1910400390625, 0.0869140625, 0.109619140625, 0.13818359375, 0.03936767578125, 0.1884765625, 0.03228759765625, ...
embed
7134864_c0
7134864
fsharp
0
Title: How to avoid having a Thread.Sleep(Int32.MaxValue) when waiting for an asynchronous operation to end in a Console app? Problem title: How to avoid having a Thread.Sleep(Int32.MaxValue) when waiting for an asynchronous operation to end in a Console app? Tags: asynchronous, .net, c%23, f%23, webclient Problem: How...
How to avoid having a Thread.Sleep(Int32.MaxValue) when waiting for an asynchronous operation to end in a Console app? How to avoid having a Thread.Sleep(Int32.MaxValue) when waiting for an asynchronous operation to end in a Console app? asynchronous .net c%23 f%23 webclient How Thread.Sleep Int32.MaxValue Console webC...
[ -0.01409912109375, 0.0130615234375, 0.006683349609375, 0.02001953125, -0.0128173828125, 0.0045166015625, -0.002716064453125, 0.005126953125, -0.0023193359375, -0.0390625, 0.00193023681640625, -0.000044345855712890625, -0.01190185546875, 0.018798828125, 0.01220703125, 0.021240234375, ...
[ 11249, 71864, 19441, 136719, 294, 133, 4517, 18, 6460, 71346, 856, 50770, 89289, 100, 12654, 101966, 41018, 3564, 1657, 40777, 4027, 1179, 3742, 1467, 222978, 360, 150, 144786, 19623, 127008, 79459, 108475, 174350, 4857, 686, 1900, 19279, 130...
[ 0.0699462890625, 0.2017822265625, 0.050750732421875, 0.2479248046875, 0.04278564453125, 0.203125, 0.16748046875, 0.0689697265625, 0.246337890625, 0.1614990234375, 0.139892578125, 0.1455078125, 0.1912841796875, 0.0302886962890625, 0.1207275390625, 0.157470703125, 0.1328125, 0.121337...
embed
51009883_c0
51009883
fsharp
0
Title: F#: Inconsistent SRTP static extension method type matching Problem title: F#: Inconsistent SRTP static extension method type matching Tags: f%23, extension-methods, constraints Problem: F#: Inconsistent SRTP static extension method type matching I am trying to use PrintfFormat to type enforce resolution of pars...
F#: Inconsistent SRTP static extension method type matching F#: Inconsistent SRTP static extension method type matching f%23 extension-methods constraints Inconsistent SRTP PrintfFormat System.String ParseApply path:string System.Int32 System.Double System.Boolean fmt:PrintfFormat v:string Action parseFn1 Unchecked.def...
[ -0.01318359375, 0.006256103515625, 0.0260009765625, -0.007354736328125, -0.011474609375, -0.004364013671875, -0.02392578125, -0.00897216796875, 0.006561279296875, 0.02392578125, 0.005126953125, -0.0245361328125, -0.0123291015625, -0.010009765625, 0.02587890625, 0.00543212890625, 0.00...
[ 563, 4904, 360, 25553, 6892, 26098, 23658, 201939, 111938, 55300, 10644, 14858, 1238, 3742, 1928, 7352, 2816, 4288, 39754, 420, 102973, 257, 12353, 71713, 2392, 184, 39179, 538, 60875, 91693, 6460, 112079, 81, 57945, 366, 78292, 214810, 304, ...
[ 0.060516357421875, 0.1646728515625, 0.0623779296875, 0.152587890625, 0.198486328125, 0.10302734375, 0.2191162109375, 0.186279296875, 0.1903076171875, 0.1339111328125, 0.1827392578125, 0.175537109375, 0.03790283203125, 0.142578125, 0.0189971923828125, 0.0716552734375, 0.1058349609375,...
embed
35848247_c0
35848247
fsharp
0
Title: What causes a breakpoint to fail to bind? Problem title: What causes a breakpoint to fail to bind? Tags: f%23, conways-game-of-life Problem: What causes a breakpoint to fail to bind? What causes a breakpoint to fail to bind? I receive an error when attempting to execute the following expression: let grid_1 = { g...
What causes a breakpoint to fail to bind? What causes a breakpoint to fail to bind? f%23 conways-game-of-life What grid_1 Four Updated State Alive Dead Response Survives Dies Resurected Grid Zero:State One:State Two:State Three:State Four:State Central Five:State Six:State Seven:State Eight:State grid:Grid grid.Zero gr...
[ -0.041748046875, 0.00823974609375, 0.000732421875, -0.007537841796875, 0.00004124641418457031, -0.00185394287109375, -0.0050048828125, 0.0169677734375, 0.00958251953125, 0.0166015625, -0.000804901123046875, 0.008544921875, -0.0036468505859375, 0.00225830078125, 0.022705078125, 0.018188...
[ 4865, 113660, 36356, 38496, 35782, 47, 68557, 1238, 3949, 3742, 158, 102966, 35311, 4390, 24804, 120067, 115187, 65056, 28641, 22836, 2132, 272, 51952, 92748, 8018, 686, 35542, 3408, 31945, 71, 83947, 135206, 6561, 32964, 129335, 15881, 156615,...
[ 0.0723876953125, 0.1446533203125, 0.173828125, 0.200927734375, 0.2218017578125, 0.05474853515625, 0.25830078125, 0.046600341796875, 0.022491455078125, 0.1082763671875, 0.10455322265625, 0.2080078125, 0.115966796875, 0.1373291015625, 0.14404296875, 0.178955078125, 0.060302734375, 0....
embed
36205577_c0
36205577
fsharp
0
Title: How to use C# dll in F# project? Getting yellow triangle with an exclamation mark Problem title: How to use C# dll in F# project? Getting yellow triangle with an exclamation mark Tags: c%23, f%23, project-reference Problem: How to use C# dll in F# project? Getting yellow triangle with an exclamation mark I need ...
How to use C# dll in F# project? Getting yellow triangle with an exclamation mark How to use C# dll in F# project? Getting yellow triangle with an exclamation mark c%23 f%23 project-reference How Getting CSV_Reader Stage CSV_Reader.Parser.InsertIntoDB How to use C# dll in F# project? Getting yellow triangle with an exc...
[ 0.002288818359375, 0.007537841796875, 0.019287109375, 0.0034027099609375, 0.005950927734375, -0.0057373046875, -0.0260009765625, -0.006622314453125, -0.01708984375, 0.0186767578125, -0.017822265625, -0.01434326171875, 0.006011962890625, 0.004974365234375, 0.009521484375, -0.01708984375...
[ 11249, 47, 4527, 313, 4904, 81717, 23, 563, 13452, 210732, 205811, 1927, 109217, 678, 1119, 60397, 16188, 3949, 3742, 1238, 239879, 43486, 31345, 149282, 28636, 33657, 188, 39463, 3871, 76104, 24927, 32354, 2685, 29806, 49814, 91067, 24763, 2...
[ 0.0908203125, 0.009246826171875, 0.1463623046875, 0.099853515625, 0.262939453125, 0.2388916015625, 0.03668212890625, 0.142333984375, 0.164306640625, 0.09124755859375, 0.2421875, 0.1744384765625, 0.210693359375, 0.073974609375, 0.0765380859375, 0.1669921875, 0.143798828125, 0.027633...
embed
32136881_c0
32136881
fsharp
0
Title: Property of RequestDTO is giving wrong value in servicestack Problem title: Property of RequestDTO is giving wrong value in servicestack Tags: service, servicestack, f%23 Problem: Property of RequestDTO is giving wrong value in servicestack module FileUploadService = type FileDetails() = member val fileName= str...
Property of RequestDTO is giving wrong value in servicestack Property of RequestDTO is giving wrong value in servicestack service servicestack f%23 Property RequestDTO FileUploadService FileDetails IRequiresRequestStream RequestStream FileService Service IService this.Post Logic request.fileName XMLHttpRequest xhr.open...
[ 0.0103759765625, 0.01068115234375, 0.022705078125, 0.015625, -0.0125732421875, 0.000484466552734375, 0.0262451171875, 0.01275634765625, -0.01495361328125, 0.00787353515625, 0.00225830078125, -0.004974365234375, 0.01324462890625, 0.00043487548828125, -0.006500244140625, -0.0013046264648...
[ 206984, 111, 853, 75616, 397, 8727, 68772, 44691, 34292, 11374, 102, 2594, 23, 4516, 3949, 3742, 42724, 63033, 121979, 46741, 3181, 115061, 12349, 87, 903, 49411, 50592, 50336, 29822, 92537, 4097, 59636, 81903, 42658, 25267, 27494, 61340, 152...
[ 0.2276611328125, 0.1015625, 0.018096923828125, 0.1502685546875, 0.06390380859375, 0.26708984375, 0.1004638671875, 0.178955078125, 0.1785888671875, 0.1038818359375, 0.1368408203125, 0.153564453125, 0.011383056640625, 0.1259765625, 0.025238037109375, 0.100341796875, 0.0908203125, 0.0...
embed
7489061_c0
7489061
fsharp
0
Title: WebSharper&#x27;s Enhance.WithResetAction Problem title: WebSharper&#x27;s Enhance.WithResetAction Tags: websharper, f%23 Problem: WebSharper's Enhance.WithResetAction I built a WebSharper formlet using the combinators, but my goal is to embed it in a jQueryUI pop-up. As a consequence I need to be able to close ...
WebSharper&#x27;s Enhance.WithResetAction WebSharper&#x27;s Enhance.WithResetAction websharper f%23 WebSharper Enhance.WithResetAction DialogConfiguration Title Formlet.Return Enhance.WithCustomSubmitAndResetButtons Enhance.FormButtonConfiguration.Default Label Some Yes Enhance.WithFormContainer Dialog.New Div Formlet....
[ -0.0087890625, 0.036865234375, -0.01531982421875, -0.01165771484375, 0.0016021728515625, 0.00927734375, -0.003265380859375, 0.0196533203125, -0.0047607421875, -0.0203857421875, 0.008544921875, 0.0093994140625, -0.0361328125, 0.0220947265625, 0.0186767578125, -0.003875732421875, 0.029...
[ 4002, 294, 3467, 1264, 3768, 357, 1121, 329, 194583, 4332, 3509, 284, 10763, 1467, 89280, 3742, 84536, 59994, 48962, 15236, 1974, 987, 223, 96472, 37839, 82212, 102973, 187423, 11, 129214, 32635, 25500, 53026, 26519, 59453, 22687, 143045, 147...
[ 0.12255859375, 0.05133056640625, 0.197509765625, 0.203125, 0.054534912109375, 0.0416259765625, 0.1448974609375, 0.030487060546875, 0.0909423828125, 0.0841064453125, 0.1492919921875, 0.0172119140625, 0.0234832763671875, 0.07904052734375, 0.1744384765625, 0.007476806640625, 0.186035156...
embed
26694912_c0
26694912
fsharp
0
Title: Generically apply a generic TypeConverter to an existing generic type Problem title: Generically apply a generic TypeConverter to an existing generic type Tags: .net, f%23, generics, reflection Problem: Generically apply a generic TypeConverter to an existing generic type I wrote a generic type converter with th...
Generically apply a generic TypeConverter to an existing generic type Generically apply a generic TypeConverter to an existing generic type .net f%23 generics reflection Generically TypeConverter AlgebraicConverter Option TypeDescriptor.AddAttributes TypeConverterAttribute Generically apply a generic TypeConverter to a...
[ 0.0057373046875, 0.0247802734375, 0.01165771484375, 0.008056640625, -0.00189208984375, -0.027099609375, -0.0111083984375, 0.01300048828125, 0.00408935546875, -0.0284423828125, 0.0037078857421875, 0.000010013580322265625, 0.007598876953125, 0.0263671875, -0.004913330078125, -0.002365112...
[ 88342, 71407, 59911, 189534, 60457, 11935, 814, 720, 47, 144573, 10644, 5, 1179, 1238, 3949, 3742, 44961, 429, 2844, 86769, 397, 121707, 4028, 191145, 54397, 172127, 138256, 32599, 18, 11212, 191082, 4527, 6226, 80934, 53418, 40140, 114122, 2...
[ 0.1722412109375, 0.045623779296875, 0.1798095703125, 0.2286376953125, 0.240234375, 0.06683349609375, 0.197998046875, 0.14013671875, 0.1236572265625, 0.2113037109375, 0.2281494140625, 0.003753662109375, 0.1517333984375, 0.009429931640625, 0.0290679931640625, 0.098388671875, 0.17407226...
embed
22756923_c0
22756923
fsharp
0
Title: C# class - System.MissingMethodException when in FSI Problem title: C# class - System.MissingMethodException when in FSI Tags: f%23, c%23, fsi, missingmethodexception Problem: C# class - System.MissingMethodException when in FSI I have run in a weird behavior. I am tring to use a C# library: the Neo4jClient My c...
C# class - System.MissingMethodException when in FSI C# class - System.MissingMethodException when in FSI f%23 c%23 fsi missingmethodexception System.MissingMethodException FSI Neo4jClient.dll Newtonsoft.Json System Neo4jClient Define GraphClient Uri localhost:7474 client.Connect Method Newtonsoft.Json.JsonReader.set_D...
[ -0.0196533203125, 0.022705078125, 0.0021514892578125, 0.0113525390625, 0.0035552978515625, -0.022705078125, -0.001739501953125, 0.000591278076171875, 0.002288818359375, -0.0179443359375, -0.012939453125, 0.01434326171875, -0.0052490234375, -0.00482177734375, 0.0081787109375, -0.0412597...
[ 313, 4904, 18507, 12353, 135261, 214, 78572, 7352, 19279, 63928, 3229, 23, 563, 9902, 5, 1238, 3949, 3742, 172, 132283, 113399, 425, 54311, 617, 170, 150, 1181, 145076, 61306, 1375, 1681, 64552, 6524, 130885, 4000, 40294, 139091, 23282, 235...
[ 0.027008056640625, 0.183349609375, 0.173583984375, 0.1156005859375, 0.173583984375, 0.13720703125, 0.1544189453125, 0.1300048828125, 0.06732177734375, 0.1336669921875, 0.06451416015625, 0.0999755859375, 0.1510009765625, 0.240966796875, 0.007080078125, 0.1019287109375, 0.0284881591796...
embed
60510868_c0
60510868
fsharp
0
Title: FSharp check if tuple type or not Problem title: FSharp check if tuple type or not Tags: f%23 Problem: FSharp check if tuple type or not I am wanting to format a tuple in a specific way and I am trying to do that by checking the type of the tuple (2 element, 3 element etc.). I am getting an error on the third li...
FSharp check if tuple type or not FSharp check if tuple type or not f%23 type FSharp Runtime Further a.ToString b.ToString c.ToString What FSharp check if tuple type or not I am wanting to format a tuple in a specific way and I am trying to do that by checking the type of the tuple (2 element, 3 element etc.). I am get...
[ -0.0111083984375, 0.001861572265625, 0.0045166015625, 0.0137939453125, 0.01055908203125, 0.02001953125, -0.016845703125, 0.00360107421875, 0.005859375, 0.021240234375, 0.0111083984375, -0.01239013671875, -0.00482177734375, -0.007659912109375, 0.002227783203125, 0.01397705078125, 0.00...
[ 93774, 3467, 254, 12765, 2174, 370, 8705, 10644, 707, 959, 1238, 3742, 7763, 71713, 9384, 175199, 12830, 138, 18499, 50960, 81887, 79315, 150632, 510, 8512, 160291, 96760, 563, 4904, 32036, 1371, 96391, 6397, 189534, 32354, 116, 99726, 8437, ...
[ 0.0845947265625, 0.1722412109375, 0.1597900390625, 0.1627197265625, 0.0755615234375, 0.121826171875, 0.2154541015625, 0.201416015625, 0.0209197998046875, 0.0966796875, 0.06011962890625, 0.08587646484375, 0.070556640625, 0.05328369140625, 0.1104736328125, 0.0936279296875, 0.0794067382...
embed
43643168_c0
43643168
fsharp
0
Title: F# Adding to a Mutable List Problem title: F# Adding to a Mutable List Tags: f%23 Problem: F# Adding to a Mutable List I'm writing a console based calculator application for a university project and have run into a bit of an error. When a user selects an option from the menu (1,2,3,4 etc), they are able to input...
F# Adding to a Mutable List F# Adding to a Mutable List f%23 Adding Mutable List Console.WriteLine Please Console.ReadLine int32 sumHistory.Add Seq.iteri ReadInText data.Read F# Adding to a Mutable List I'm writing a console based calculator application for a university project and have run into a bit of an error. When...
[ -0.022216796875, 0.0024261474609375, 0.024658203125, -0.00009012222290039062, 0.0031890869140625, -0.0028839111328125, -0.01007080078125, -0.00439453125, 0.0242919921875, -0.004913330078125, 0.016845703125, -0.005096435546875, 0.00179290771484375, -0.0003337860107421875, 0.016357421875, ...
[ 563, 4904, 62, 59725, 47, 2758, 22819, 32036, 10, 1238, 3742, 1657, 40777, 93232, 30607, 31345, 18, 6460, 10554, 20861, 86385, 4028, 503, 864, 14465, 4764, 4153, 174379, 2053, 32562, 130250, 35509, 154993, 38415, 152363, 13452, 11675, 4785, ...
[ 0.1287841796875, 0.1925048828125, 0.1162109375, 0.1142578125, 0.107421875, 0.17041015625, 0.2374267578125, 0.2265625, 0.043670654296875, 0.037567138671875, 0.09881591796875, 0.02960205078125, 0.166748046875, 0.10888671875, 0.034149169921875, 0.1168212890625, 0.02972412109375, 0.187...
embed
49213798_c0
49213798
fsharp
0
Title: Mutable application context Problem title: Mutable application context Tags: f%23, garbage-collection, suave Problem: Mutable application context I'm building a REST backend that requires a large collection of values to compute the answers. This collection is downloaded at boot time and then on demand but needs ...
Mutable application context Mutable application context f%23 garbage-collection suave Mutable SqlFeedType Some cmd.Execute Seq.toList EntryPoint None Filters.path Successful.OK Mutable application context I'm building a REST backend that requires a large collection of values to compute the answers. This collection is d...
[ 0.0020599365234375, 0.022216796875, 0.01470947265625, 0.0074462890625, -0.0177001953125, 0.01409912109375, -0.011474609375, -0.00872802734375, 0.018798828125, -0.041015625, 0.01458740234375, 0.013916015625, 0.0272216796875, 0.0157470703125, 0.0220947265625, 0.0101318359375, -0.003967...
[ 2758, 22819, 38415, 43701, 3742, 3671, 402, 429, 196352, 109829, 99247, 30154, 196707, 1827, 71, 211603, 503, 864, 188, 154663, 15123, 147534, 438, 128896, 128405, 144053, 9092, 33976, 21828, 4420, 3611, 144570, 42486, 142424, 35166, 7026, 4993...
[ 0.1610107421875, 0.2109375, 0.16796875, 0.2442626953125, 0.08447265625, 0.045867919921875, 0.16845703125, 0.048858642578125, 0.125732421875, 0.2249755859375, 0.1473388671875, 0.1700439453125, 0.2005615234375, 0.1600341796875, 0.054931640625, 0.1160888671875, 0.005859375, 0.08410644...
embed
15999181_c0
15999181
fsharp
0
Title: Odd type struct behavior in f# Problem title: Odd type struct behavior in f# Tags: visual-studio, .net, struct, f%23 Problem: Odd type struct behavior in f# So I've read that if you take a type struct from, for istance, a List you get a copy since struct are not mutable. Said so, if you want to make a change you...
Odd type struct behavior in f# Odd type struct behavior in f# visual-studio .net struct f%23 Odd rectangles.Item ret_index ret.Offset loc.X offs.Width ret.X loc.Y offs.Height ret.Y couples.Count couples.Item idx_s idx_e r.X r.Y r.Offset Odd type struct behavior in f# So I've read that if you take a type struct from, fo...
[ -0.0032196044921875, 0.00762939453125, 0.018798828125, -0.0147705078125, 0.0277099609375, -0.0033721923828125, -0.020263671875, -0.0087890625, 0.0284423828125, 0.01434326171875, 0.0133056640625, -0.00148773193359375, 0.010986328125, -0.019287109375, 0.018798828125, -0.0223388671875, ...
[ 67948, 10644, 36716, 123166, 1238, 4904, 21176, 52629, 1179, 3742, 148734, 449, 1577, 2982, 10267, 4711, 150369, 7001, 1542, 5773, 1723, 24941, 108210, 5646, 1295, 116071, 32036, 2046, 43658, 959, 842, 22819, 3249, 15549, 91995, 64194, 5303, ...
[ 0.205322265625, 0.1943359375, 0.224609375, 0.130126953125, 0.09588623046875, 0.1666259765625, 0.1275634765625, 0.1171875, 0.050262451171875, 0.059295654296875, 0.12255859375, 0.1048583984375, 0.085205078125, 0.0908203125, 0.123046875, 0.0743408203125, 0.121826171875, 0.053466796875...
embed
69637961_c0
69637961
fsharp
0
Title: How to Debug an Async Block in F# with Visual Studio 2019 Problem title: How to Debug an Async Block in F# with Visual Studio 2019 Tags: visual-studio-2019, f%23 Problem: How to Debug an Async Block in F# with Visual Studio 2019 I am having trouble getting all the info I need while debugging an F# async block in...
How to Debug an Async Block in F# with Visual Studio 2019 How to Debug an Async Block in F# with Visual Studio 2019 visual-studio-2019 f%23 How Debug Async Block Visual Studio email:string Async.AwaitTask Playwright.CreateAsync playwright.Chromium.LaunchAsync BrowserTypeLaunchOptions Headless browser.NewPageAsync page....
[ 0.00323486328125, -0.0010223388671875, -0.01141357421875, 0.002288818359375, 0.017822265625, 0.007049560546875, -0.000904083251953125, 0.0111083984375, 0.0040283203125, 0.01708984375, 0.02392578125, 0.004425048828125, 0.0037994384765625, 0.0002593994140625, 0.0242919921875, 0.002166748...
[ 11249, 262, 85779, 62, 12654, 238, 80231, 23, 563, 4904, 678, 73372, 22968, 3640, 47, 21176, 52629, 148548, 3340, 91693, 634, 217, 9874, 11356, 434, 54969, 11301, 516, 110346, 309, 86976, 196707, 39029, 44816, 9393, 31842, 147101, 9191, 738...
[ 0.024017333984375, 0.144287109375, 0.262939453125, 0.0562744140625, 0.2276611328125, 0.112548828125, 0.2041015625, 0.03619384765625, 0.10888671875, 0.1898193359375, 0.04339599609375, 0.1878662109375, 0.174072265625, 0.221923828125, 0.007080078125, 0.1429443359375, 0.1180419921875, ...
embed
12359592_c0
12359592
fsharp
0
Title: Excel OpenText() from F# Compile and Run-Time Error Problem title: Excel OpenText() from F# Compile and Run-Time Error Tags: f%23, excel-2010 Problem: Excel OpenText() from F# Compile and Run-Time Error I am using Microsoft.Office.Interop.Excel in F# to automate the opening and conversion of a CSV file to Excel ...
Excel OpenText() from F# Compile and Run-Time Error Excel OpenText() from F# Compile and Run-Time Error f%23 excel-2010 F# Excel OpenText Compile Run-Time Error ApplicationClass xl.Workbooks.OpenText StartRow DataType XlTextParsingType.xlDelimited TextQualifier XlTextQualifier.xlTextQualifierNone Comma FieldInfo xl.Wor...
[ 0.030517578125, -0.0245361328125, 0.008544921875, 0.04248046875, -0.00872802734375, -0.00958251953125, 0.00010824203491210938, -0.0096435546875, 0.000789642333984375, 0.021484375, -0.0137939453125, -0.0079345703125, 0.0108642578125, -0.016357421875, 0.022705078125, -0.033935546875, 0...
[ 30326, 13527, 174379, 132, 1295, 563, 4904, 15612, 1340, 136, 28398, 70059, 212059, 1238, 3949, 3742, 64152, 73552, 104921, 140803, 1022, 141, 81415, 103264, 13794, 12724, 11809, 196707, 1193, 6953, 92595, 24129, 178476, 3288, 117657, 93147, 31...
[ 0.1998291015625, 0.179443359375, 0.290283203125, 0.05889892578125, 0.0953369140625, 0.1563720703125, 0.22265625, 0.1494140625, 0.15185546875, 0.06982421875, 0.0863037109375, 0.1390380859375, 0.143798828125, 0.04522705078125, 0.00860595703125, 0.1234130859375, 0.148193359375, 0.1656...
embed
51433409_c0
51433409
fsharp
0
Title: Customizing F# QueryBuilder Problem title: Customizing F# QueryBuilder Tags: query-builder, f%23 Problem: Customizing F# QueryBuilder If I create a customized query builder as in (F# interactive) type T1 = T1 of int list with member this.Content = let (T1 list) = this in list type QueryBuilder1() = inherit Linq....
Customizing F# QueryBuilder Customizing F# QueryBuilder query-builder f%23 Customizing QueryBuilder this.Content QueryBuilder1 Linq.QueryBuilder __.Source base.Source source.Content qb1 t1.Content Root Project Ocnarf SQLProvider.1.1.44 net451 FSharp.Data.SqlProvider.dll Literal FSharp.Data.Sql.Common.DatabaseProviderTy...
[ 0.0205078125, 0.0286865234375, 0.00030517578125, -0.0008392333984375, -0.0111083984375, 0.0076904296875, -0.024169921875, 0.0101318359375, -0.00433349609375, -0.0322265625, 0.00885009765625, 0.00927734375, 0.002532958984375, -0.022216796875, -0.01470947265625, -0.002227783203125, -0....
[ 130664, 84382, 563, 4904, 58836, 53, 121137, 56, 41, 1294, 177149, 1238, 3949, 3742, 903, 25352, 418, 44982, 5, 41732, 211235, 3647, 31344, 8096, 11935, 150948, 27331, 2322, 420, 80866, 177997, 12465, 2043, 4633, 93774, 3467, 254, 137989, 9...
[ 0.228759765625, 0.12744140625, 0.1448974609375, 0.2354736328125, 0.1671142578125, 0.115966796875, 0.2135009765625, 0.1309814453125, 0.10760498046875, 0.085205078125, 0.191162109375, 0.046600341796875, 0.03045654296875, 0.097900390625, 0.05194091796875, 0.1409912109375, 0.049926757812...
embed
66754056_c0
66754056
fsharp
0
Title: Is it possible to use DefaultParameterValue in a module? Problem title: Is it possible to use DefaultParameterValue in a module? Tags: f%23, .net Problem: Is it possible to use DefaultParameterValue in a module? In a F# library, I would like to smooth the C# interop. For this I would like to have a default param...
Is it possible to use DefaultParameterValue in a module? Is it possible to use DefaultParameterValue in a module? f%23 .net DefaultParameterValue System System.Runtime.InteropServices Exercise Application Development Initialize Foo Optional Hello Exercise.Initialize Exercise.Foo Hurray Is it possible to use DefaultPara...
[ -0.00170135498046875, 0.0179443359375, -0.00250244140625, 0.006805419921875, 0.00457763671875, -0.0201416015625, 0.005340576171875, -0.01263427734375, 0.00193023681640625, -0.00732421875, 0.0018157958984375, -0.0223388671875, 0.01007080078125, 0.016357421875, -0.0031585693359375, -0.01...
[ 2071, 442, 7722, 4527, 262, 1021, 7136, 55292, 29089, 856, 50770, 23, 88996, 10, 1238, 3742, 1179, 12353, 44851, 2146, 121979, 155534, 104921, 55441, 40705, 119066, 9572, 31, 86769, 289, 35378, 184, 27591, 11872, 7092, 47, 563, 4904, 35773,...
[ 0.044464111328125, 0.036041259765625, 0.17919921875, 0.1663818359375, 0.1470947265625, 0.220947265625, 0.18505859375, 0.1370849609375, 0.1697998046875, 0.1634521484375, 0.21435546875, 0.080078125, 0.2373046875, 0.00164794921875, 0.017425537109375, 0.10552978515625, 0.1185302734375, ...
embed
22764727_c1
22764727
fsharp
1
awake and started cutting " + customer.Name + "'s hair.") // exception also happen with Threading.Thread.Sleep() do! Async.Sleep customer.RequiredTime Console.WriteLine("Barber " + name + " finnished cutting " + customer.Name + "'s hair. Going to sleep now...") } |> Some) do! cutSomeHairs () } cutSomeHairs() |> Async....
awake and started cutting " + customer.Name + "'s hair.") // exception also happen with Threading.Thread.Sleep() do! Async.Sleep customer.RequiredTime Console.WriteLine("Barber " + name + " finnished cutting " + customer.Name + "'s hair. Going to sleep now...") } |> Some) do! cutSomeHairs () } cutSomeHairs() |> Async....
[ 0.031005859375, 0.01470947265625, 0.00628662109375, 0.005035400390625, 0.01385498046875, 0.01519775390625, 0.0089111328125, 0.0068359375, 0.016357421875, -0.046630859375, -0.0006103515625, 0.059814453125, 0.0045166015625, -0.00872802734375, 0.02490234375, -0.01348876953125, 0.0130615...
[ 38075, 13, 136, 26859, 314, 19514, 997, 43373, 163612, 24887, 4666, 131527, 53383, 678, 136719, 214, 5, 20800, 39116, 133, 4517, 54, 38, 12654, 238, 294, 3181, 2822, 70059, 1657, 40777, 1456, 18781, 93232, 25267, 1297, 9351, 2270, 93, 671...
[ 0.20263671875, 0.125732421875, 0.05169677734375, 0.1553955078125, 0.207763671875, 0.1591796875, 0.1051025390625, 0.23095703125, 0.06878662109375, 0.25439453125, 0.032928466796875, 0.244140625, 0.0616455078125, 0.02996826171875, 0.2130126953125, 0.159423828125, 0.012939453125, 0.008...
embed
29367436_c0
29367436
fsharp
0
Title: F#: Downloading data asynchronously Problem title: F#: Downloading data asynchronously Tags: asynchronous, f%23 Problem: F#: Downloading data asynchronously I am new to programming and F# is my first language. Here are the relevant parts of my code: open System.IO open System.Net let downloadHtmlFromUrlAsync (ur...
F#: Downloading data asynchronously F#: Downloading data asynchronously asynchronous f%23 Downloading System.IO System.Net System.Uri WebClient webClient.AsyncDownloadString File.Create id.ToString name.TrimEnd StreamWriter file.Write file.Close Seq.map Seq.filter Async.Parallel Async.RunSynchronously Async F#: Downloa...
[ -0.0107421875, -0.00110626220703125, 0.0194091796875, 0.00970458984375, 0.00469970703125, 0.001251220703125, 0.00164031982421875, 0.0048828125, -0.00102996826171875, -0.0101318359375, -0.0218505859375, 0.00775146484375, 0.006500244140625, 0.0089111328125, 0.020751953125, -0.00555419921...
[ 563, 4904, 12, 4857, 214, 2053, 10, 12654, 101966, 79850, 1238, 3949, 3742, 12353, 17780, 24447, 1062, 416, 4002, 150, 1467, 144786, 71713, 42724, 63784, 3447, 5, 7763, 9351, 74257, 152378, 115061, 2783, 11435, 59453, 864, 62346, 120337, 12...
[ 0.16943359375, 0.22802734375, 0.039276123046875, 0.1968994140625, 0.04388427734375, 0.1376953125, 0.01806640625, 0.1590576171875, 0.1429443359375, 0.027435302734375, 0.1163330078125, 0.0193023681640625, 0.10791015625, 0.1033935546875, 0.1485595703125, 0.078369140625, 0.00198364257812...
embed
46248109_c0
46248109
fsharp
0
Title: Overflowing stack when composing lots of functions together Problem title: Overflowing stack when composing lots of functions together Tags: continuations, f%23, stack-overflow, tail-recursion Problem: Overflowing stack when composing lots of functions together Here is one way of flattening a binary search tree....
Overflowing stack when composing lots of functions together Overflowing stack when composing lots of functions together continuations f%23 stack-overflow tail-recursion Overflowing flatten_k Leaf Bin x::xs test_composition Functions x::rs Overflowing stack when composing lots of functions together Here is one way of fl...
[ 0.0007476806640625, 0.021484375, 0.01611328125, -0.0024566650390625, 0.01519775390625, -0.00604248046875, -0.01190185546875, -0.0028228759765625, 0.00933837890625, -0.029541015625, -0.01220703125, 0.0031585693359375, 0.009033203125, 0.00408935546875, 0.034423828125, -0.0000672340393066...
[ 9578, 118664, 177261, 3229, 9969, 232, 71358, 32354, 25842, 9454, 1238, 3742, 5465, 46741, 48650, 49878, 510, 92, 2407, 16666, 425, 3034, 277, 40322, 28670, 10763, 4295, 3917, 67, 592, 2394, 6635, 33938, 53201, 2967, 645, 7, 21334, 45367, ...
[ 0.10540771484375, 0.25732421875, 0.2457275390625, 0.0345458984375, 0.113037109375, 0.12548828125, 0.14111328125, 0.16796875, 0.1541748046875, 0.1253662109375, 0.01495361328125, 0.1087646484375, 0.081787109375, 0.1591796875, 0.092529296875, 0.1607666015625, 0.1453857421875, 0.037445...
embed
62056774_c0
62056774
fsharp
0
Title: Extract and compare discriminated union constructors Problem title: Extract and compare discriminated union constructors Tags: discriminated-union, parsing, parser-combinators, functional-programming, f%23 Problem: Extract and compare discriminated union constructors Given the following types: type Pos = {line:i...
Extract and compare discriminated union constructors Extract and compare discriminated union constructors discriminated-union parsing parser-combinators functional-programming f%23 Extract Pos line:int col:int Token ADD Parser None t::ts Some GetType t.GetType Name Output tok.GetType Extract and compare discriminated u...
[ 0.00262451171875, 0.015625, 0.01544189453125, 0.0186767578125, -0.0074462890625, -0.0081787109375, -0.010986328125, 0.00156402587890625, 0.00147247314453125, -0.0186767578125, 0.01220703125, 0.01104736328125, 0.00457763671875, -0.0001277923583984375, -0.0101318359375, 0.002792358398437...
[ 31501, 15390, 69101, 55970, 3674, 69941, 64549, 25251, 87046, 366, 2189, 19155, 22230, 123309, 28966, 3742, 13498, 13315, 4288, 3365, 717, 1098, 24057, 2392, 808, 933, 20779, 196707, 724, 126, 15757, 13538, 25636, 52895, 32562, 32354, 12765, ...
[ 0.166015625, 0.033843994140625, 0.159423828125, 0.209716796875, 0.0438232421875, 0.167236328125, 0.17431640625, 0.07513427734375, 0.09356689453125, 0.1026611328125, 0.08740234375, 0.1541748046875, 0.011566162109375, 0.1087646484375, 0.07861328125, 0.0166015625, 0.123046875, 0.08984...
embed
5386633_c0
5386633
fsharp
0
Title: Working with Events in F# Problem title: Working with Events in F# Tags: events, f%23, system.reactive, wpf Problem: Working with Events in F# I recently asked this question: Replay Recorded Data Stream in F# and combined that code with a subset of the functionality I found here: http://www.mattssoftwareblog.com...
Working with Events in F# Working with Events in F# events f%23 system.reactive wpf Working Events System.Reactive System.CoreEx FSharp.PowerPack WindowsBase PresentationCore PresentationFramework System.Xaml System.Interactive.dll System System.Linq System.Collections.Generic System.Net System.IO System.Threading Syst...
[ -0.0021820068359375, 0.01904296875, 0.00113677978515625, -0.00897216796875, -0.006256103515625, -0.00112152099609375, 0.013427734375, -0.00823974609375, 0.0172119140625, -0.054931640625, -0.00799560546875, 0.004180908203125, 0.0037841796875, 0.0091552734375, 0.004364013671875, 0.014282...
[ 27985, 214, 678, 123560, 23, 563, 4904, 47353, 1238, 3949, 3742, 5426, 107, 71232, 148, 39557, 12353, 4332, 50886, 19279, 3467, 254, 105022, 205956, 3773, 63473, 120772, 302, 44851, 1181, 44982, 78457, 135932, 24447, 17780, 39116, 43342, 1759...
[ 0.16357421875, 0.03057861328125, 0.2005615234375, 0.269287109375, 0.0623779296875, 0.1673583984375, 0.26025390625, 0.239013671875, 0.0633544921875, 0.02880859375, 0.13525390625, 0.1038818359375, 0.023223876953125, 0.1297607421875, 0.008331298828125, 0.119384765625, 0.1651611328125, ...
embed
30905649_c0
30905649
fsharp
0
Title: Overloaded function with units of measure Problem title: Overloaded function with units of measure Tags: generics, f%23, .net Problem: Overloaded function with units of measure TL;DR How can I write an "overloaded" function that can handle all numeric types with units and a separate type with that same unit ( fl...
Overloaded function with units of measure Overloaded function with units of measure generics f%23 .net Overloaded float32 Vector2 Measure this.X this.Y OverloadedOperators CreateVector2 Float32WithMeasure OverloadedOperators.CreateVector2 vec2 Overloaded function with units of measure TL;DR How can I write an "overload...
[ -0.00921630859375, 0.02734375, 0.0126953125, -0.0223388671875, -0.00092315673828125, -0.0162353515625, -0.00083160400390625, -0.0286865234375, 0.0201416015625, -0.0086669921875, -0.0133056640625, -0.02001953125, 0.0233154296875, -0.01708984375, -0.001434326171875, 0.0079345703125, -0...
[ 9578, 63033, 297, 32354, 678, 25072, 111, 72350, 189534, 1238, 3949, 3742, 1179, 21917, 6460, 2609, 18770, 304, 1215, 11, 56851, 903, 1542, 1723, 156823, 22230, 151313, 26455, 38699, 194583, 6696, 63784, 22834, 20602, 831, 33022, 5465, 34831,...
[ 0.1400146484375, 0.2568359375, 0.1365966796875, 0.220703125, 0.1104736328125, 0.2154541015625, 0.0821533203125, 0.220703125, 0.1854248046875, 0.01214599609375, 0.005950927734375, 0.03533935546875, 0.14013671875, 0.1143798828125, 0.2076416015625, 0.1551513671875, 0.159912109375, 0.1...
embed
65080356_c0
65080356
fsharp
0
Title: F# list of discriminated union sub-types Problem title: F# list of discriminated union sub-types Tags: discriminated-union, f%23, fparsec Problem: F# list of discriminated union sub-types I want to present the user with a list of 'FParsec parsers'-plus-'test data' from which they can interactively select and see...
F# list of discriminated union sub-types F# list of discriminated union sub-types discriminated-union f%23 fparsec FUNCTION_TEST XELEMENT_MATCH Parser XKEYVALUE_MATCH testable_parsers xElement_text3 xKeyValue_text Full CustomParser.xKeyValue FS0001:the F# list of discriminated union sub-types I want to present the user...
[ 0.004669189453125, 0.00069427490234375, 0.006561279296875, 0.00017642974853515625, -0.0267333984375, -0.00179290771484375, -0.01531982421875, -0.006500244140625, 0.02783203125, 0.0186767578125, 0.017822265625, -0.0091552734375, 0.0128173828125, -0.00482177734375, 0.004730224609375, 0.0...
[ 563, 4904, 5303, 55970, 3674, 69941, 1614, 50986, 87046, 1238, 3742, 2500, 39797, 136258, 618, 21828, 27587, 33827, 47512, 2392, 2189, 1193, 186104, 61152, 3034, 2886, 7, 1314, 1022, 19929, 22829, 363, 162429, 856, 130664, 28636, 425, 93774, ...
[ 0.121337890625, 0.2369384765625, 0.1451416015625, 0.1998291015625, 0.04571533203125, 0.1890869140625, 0.172607421875, 0.18017578125, 0.1451416015625, 0.06719970703125, 0.0845947265625, 0.126953125, 0.212158203125, 0.056793212890625, 0.0810546875, 0.1177978515625, 0.080322265625, 0....
embed
67927914_c0
67927914
fsharp
0
Title: not understanding the Suave API, always the same result is returned Problem title: not understanding the Suave API, always the same result is returned Tags: suave, f%23 Problem: not understanding the Suave API, always the same result is returned Here is a test: open System open System.Threading open Newtonsoft.J...
not understanding the Suave API, always the same result is returned not understanding the Suave API, always the same result is returned suave f%23 Suave API System System.Threading Newtonsoft.Json Suave.Logging Suave.Operators Suave.Filters Suave.Writers HttpBinding.createSimple HTTP WebPart DateTime.UtcNow JsonConvert...
[ -0.0230712890625, -0.0021209716796875, 0.00982666015625, -0.005401611328125, 0.0096435546875, -0.0033111572265625, 0.006317138671875, 0.00732421875, 0.00799560546875, -0.037353515625, 0.0155029296875, 0.03466796875, -0.01251220703125, -0.0023956298828125, 0.02783203125, 0.0010147094726...
[ 100094, 45384, 272, 61687, 11343, 5701, 16750, 176377, 109829, 3949, 3742, 12353, 39116, 145076, 61306, 1375, 1681, 156823, 379, 16882, 135913, 4002, 58229, 25512, 70059, 137594, 821, 11549, 25435, 144053, 9092, 79794, 12654, 126597, 217835, 1900...
[ 0.1619873046875, 0.2332763671875, 0.235107421875, 0.232421875, 0.13671875, 0.162841796875, 0.18408203125, 0.1961669921875, 0.288818359375, 0.012939453125, 0.0911865234375, 0.087158203125, 0.07000732421875, 0.129150390625, 0.1793212890625, 0.0214385986328125, 0.0909423828125, 0.0371...
embed
59640635_c0
59640635
fsharp
0
Title: F# System.Runtime.InteropServices native library call to SendInput works in .net framework but not in .net core Problem title: F# System.Runtime.InteropServices native library call to SendInput works in .net framework but not in .net core Tags: sendinput, user32, winapi, f%23 Problem: F# System.Runtime.InteropSe...
F# System.Runtime.InteropServices native library call to SendInput works in .net framework but not in .net core F# System.Runtime.InteropServices native library call to SendInput works in .net framework but not in .net core sendinput user32 winapi f%23 SetLastError System.Runtime.InteropServices SendInput StructLayout ...
[ -0.02685546875, 0.010986328125, 0.006103515625, -0.004425048828125, -0.0191650390625, 0.00970458984375, 0.01300048828125, 0.004180908203125, 0.002227783203125, -0.01141357421875, 0.033935546875, 0.0025177001953125, -0.000896453857421875, -0.004425048828125, 0.00970458984375, 0.00363159...
[ 563, 4904, 12353, 163321, 6032, 44851, 2146, 121979, 24, 4935, 35773, 11782, 47, 24044, 4153, 7077, 43240, 23, 1179, 170846, 959, 56458, 58369, 19, 38937, 6460, 19916, 40897, 1238, 3742, 2729, 18468, 63667, 53, 211032, 128687, 4288, 114669, ...
[ 0.10791015625, 0.232666015625, 0.07794189453125, 0.016204833984375, 0.1287841796875, 0.090576171875, 0.1719970703125, 0.180908203125, 0.115478515625, 0.1077880859375, 0.176025390625, 0.137451171875, 0.04217529296875, 0.1651611328125, 0.2230224609375, 0.2305908203125, 0.11328125, 0....
embed
79436575_c1
79436575
fsharp
1
find the file specified. To resolve the missing FSharp.Core.dll , I ran: dotnet publish -c Debug -o ./out -r linux-x64 --self-contained true Now my out folder contains FSharp.Core.dll . However, when trying to import the module again: PS ~/RiderProjects/HiThereFsharp/HiThereFsharp> Import-Module ./out/HiThereFsharp.dl...
find the file specified. To resolve the missing FSharp.Core.dll , I ran: dotnet publish -c Debug -o ./out -r linux-x64 --self-contained true Now my out folder contains FSharp.Core.dll . However, when trying to import the module again: PS ~/RiderProjects/HiThereFsharp/HiThereFsharp> Import-Module ./out/HiThereFsharp.dl...
[ -0.0135498046875, 0.0019378662109375, -0.0084228515625, 0.026123046875, -0.01556396484375, 0.008056640625, 0.004486083984375, -0.01104736328125, -0.004180908203125, -0.0015869140625, 0.00787353515625, -0.006683349609375, -0.0135498046875, -0.000030994415283203125, 0.0194091796875, 0.01...
[ 7413, 11435, 58735, 297, 103608, 132283, 93774, 3467, 254, 50886, 13, 71, 1181, 20633, 1179, 80299, 262, 85779, 6056, 11508, 6077, 13307, 39379, 98102, 29568, 1810, 78303, 70541, 31577, 24927, 88996, 13438, 7940, 23267, 820, 223353, 20861, 11...
[ 0.123046875, 0.1942138671875, 0.192138671875, 0.04901123046875, 0.11279296875, 0.1546630859375, 0.1341552734375, 0.2349853515625, 0.2332763671875, 0.1875, 0.1068115234375, 0.0416259765625, 0.1793212890625, 0.044281005859375, 0.1182861328125, 0.09228515625, 0.066650390625, 0.1865234...
embed
56224727_c0
56224727
fsharp
0
Title: MSBuild: How do i treat warnings as errors when building a project with FAKE? Problem title: MSBuild: How do i treat warnings as errors when building a project with FAKE? Tags: f%23-fake-4, f%23-fake, .net, f%23, msbuild Problem: MSBuild: How do i treat warnings as errors when building a project with FAKE? I'm b...
MSBuild: How do i treat warnings as errors when building a project with FAKE? MSBuild: How do i treat warnings as errors when building a project with FAKE? f%23-fake-4 f%23-fake .net f%23 msbuild MSBuild How FAKE Target BuildProject CleanDir ProjectDir ProjectPath Build Configuration Release Platform x64 Verbosity Trea...
[ -0.01300048828125, 0.0194091796875, 0.00860595703125, -0.025634765625, 0.01177978515625, 0.00119781494140625, -0.00885009765625, -0.019775390625, -0.0062255859375, 0.005645751953125, 0.004791259765625, 0.0174560546875, 0.01708984375, 0.019775390625, 0.0098876953125, -0.006103515625, ...
[ 16265, 121137, 11249, 54, 17, 85689, 1631, 6977, 237, 18499, 7, 33976, 13452, 678, 563, 119960, 3229, 1238, 1021, 11565, 1179, 3742, 68163, 177149, 160017, 223353, 73133, 397, 481, 27331, 10519, 59994, 152590, 70968, 13307, 1446, 16091, 4804,...
[ 0.1134033203125, 0.2423095703125, 0.0621337890625, 0.007537841796875, 0.04248046875, 0.1510009765625, 0.1787109375, 0.1180419921875, 0.1136474609375, 0.21044921875, 0.005401611328125, 0.1343994140625, 0.1336669921875, 0.0682373046875, 0.16943359375, 0.2344970703125, 0.02191162109375,...
embed
75588005_c0
75588005
fsharp
0
Title: In F#, how to take an integer defined by an Enum and Match to the same name in a discriminated union? Problem title: In F#, how to take an integer defined by an Enum and Match to the same name in a discriminated union? Tags: enums, discriminated-union, f%23 Problem: In F#, how to take an integer defined by an En...
In F#, how to take an integer defined by an Enum and Match to the same name in a discriminated union? In F#, how to take an integer defined by an Enum and Match to the same name in a discriminated union? enums discriminated-union f%23 Enum Match PenEnum InkPen FreehandPen CirclePen LinePen RectanglePen TextPen PolyLine...
[ -0.031494140625, -0.022216796875, 0.01483154296875, -0.00005030632019042969, -0.022705078125, 0.0177001953125, -0.00152587890625, -0.0203857421875, -0.00177001953125, -0.00115966796875, 0.0272216796875, 0.0022125244140625, 0.0260009765625, 0.006439208984375, 0.01220703125, -0.013916015...
[ 360, 563, 4904, 3642, 47, 5646, 892, 1505, 61924, 357, 316, 136, 67407, 5701, 9351, 55970, 3674, 69941, 22, 10321, 87046, 1238, 3742, 4267, 647, 2606, 92, 76114, 5153, 12336, 163731, 16777, 14525, 63306, 93232, 372, 22489, 69124, 48143, 1...
[ 0.092529296875, 0.128662109375, 0.2186279296875, 0.0933837890625, 0.04254150390625, 0.146484375, 0.142578125, 0.1497802734375, 0.148193359375, 0.1358642578125, 0.2393798828125, 0.0687255859375, 0.2159423828125, 0.1175537109375, 0.12451171875, 0.2208251953125, 0.056243896484375, 0.2...
embed
48238511_c1
48238511
fsharp
1
[] n_seasons = int(len(series)/slen) # compute season averages for j in range(n_seasons): season_averages.append(sum(series[slen*j:slen*j+slen])/float(slen)) While converting into F# I ended up with this: open System.Collections.Generic let initial_seasonal_components (series : int []) (slen : int) : Dictionary<int, d...
[] n_seasons = int(len(series)/slen) # compute season averages for j in range(n_seasons): season_averages.append(sum(series[slen*j:slen*j+slen])/float(slen)) While converting into F# I ended up with this: open System.Collections.Generic let initial_seasonal_components (series : int []) (slen : int) : Dictionary<int, d...
[ -0.005126953125, -0.010009765625, 0.0167236328125, 0.02197265625, -0.0257568359375, -0.0235595703125, -0.003692626953125, 0.00009059906005859375, 0.01123046875, 0.031982421875, -0.00145721435546875, 0.0341796875, 0.017822265625, 0.0186767578125, 0.001983642578125, -0.000307083129882812...
[ 653, 184, 11, 42182, 2203, 23, 18, 1977, 32832, 9969, 6743, 34003, 83080, 7, 1647, 37457, 19, 814, 52467, 11832, 170, 52347, 257, 96760, 3934, 563, 4904, 134620, 903, 9803, 12353, 78457, 8996, 135932, 61475, 162, 52057, 277, 54137, 147638...
[ 0.1114501953125, 0.135986328125, 0.212890625, 0.185546875, 0.00994873046875, 0.01971435546875, 0.06805419921875, 0.1763916015625, 0.1656494140625, 0.08673095703125, 0.07183837890625, 0.233642578125, 0.238037109375, 0.007965087890625, 0.1788330078125, 0.1253662109375, 0.097412109375, ...
embed
65115658_c0
65115658
fsharp
0
Title: Is there a way to make F# keep the type of a parameter generic? Problem title: Is there a way to make F# keep the type of a parameter generic? Tags: f%23 Problem: Is there a way to make F# keep the type of a parameter generic? I'm new to F# (and enjoying it so far), and I've been experimenting with code. I found...
Is there a way to make F# keep the type of a parameter generic? Is there a way to make F# keep the type of a parameter generic? f%23 List.length Some None List.choose List.map Okay Error Is there a way to make F# keep the type of a parameter generic? I'm new to F# (and enjoying it so far), and I've been experimenting w...
[ -0.0002841949462890625, 0.0186767578125, 0.00250244140625, 0.010986328125, 0.00531005859375, -0.0106201171875, -0.0174560546875, -0.011962890625, 0.0167236328125, 0.00531005859375, 0.005340576171875, -0.01153564453125, 0.0047607421875, -0.00701904296875, -0.0064697265625, -0.0006904602...
[ 3917, 3249, 563, 4904, 13695, 10644, 171859, 189534, 111, 1238, 3742, 32036, 23986, 438, 3089, 62346, 112285, 212059, 70, 25225, 28007, 18151, 28219, 22304, 45738, 53498, 6620, 43240, 3034, 97249, 5962, 23, 18, 5303, 5117, 11782, 21115, 11133...
[ 0.0733642578125, 0.050689697265625, 0.1639404296875, 0.255859375, 0.1842041015625, 0.2232666015625, 0.230712890625, 0.268310546875, 0.0362548828125, 0.09521484375, 0.10791015625, 0.156494140625, 0.0986328125, 0.0166778564453125, 0.012420654296875, 0.072509765625, 0.06640625, 0.0485...
embed
77714343_c0
77714343
fsharp
0
Title: Can&#x27;t pass in memory data to AutoML, in F#. Not understanding why it doesn&#x27;t compile Problem title: Can&#x27;t pass in memory data to AutoML, in F#. Not understanding why it doesn&#x27;t compile Tags: f%23, ml.net, machine-learning Problem: Can't pass in memory data to AutoML, in F#. Not understanding ...
Can&#x27;t pass in memory data to AutoML, in F#. Not understanding why it doesn&#x27;t compile Can&#x27;t pass in memory data to AutoML, in F#. Not understanding why it doesn&#x27;t compile f%23 ml.net machine-learning Can AutoML Not output.csv ctx.Data.LoadFromEnumerable EstimatorChain Append ctx.Transforms.Concatenat...
[ 0.001800537109375, -0.007232666015625, 0.004425048828125, 0.02685546875, 0.0084228515625, -0.004638671875, 0.00714111328125, 0.00933837890625, 0.0079345703125, -0.0283203125, -0.000705718994140625, 0.012451171875, 0.00726318359375, 0.019287109375, 0.00836181640625, -0.015380859375, 0...
[ 4171, 3768, 18, 27875, 23, 98323, 2053, 47, 4396, 39456, 563, 4904, 100094, 15400, 22027, 9969, 1340, 1238, 3742, 7115, 1179, 36279, 152538, 11205, 140992, 4439, 334, 108963, 137989, 15363, 168407, 2606, 60271, 62467, 5659, 425, 5037, 33478, ...
[ 0.0877685546875, 0.0811767578125, 0.06915283203125, 0.133544921875, 0.07989501953125, 0.18115234375, 0.1226806640625, 0.030548095703125, 0.191162109375, 0.229736328125, 0.0943603515625, 0.188232421875, 0.0814208984375, 0.0858154296875, 0.0380859375, 0.1805419921875, 0.173828125, 0....
embed
3098942_c0
3098942
fsharp
0
Title: Accessing let bound fields from static members Problem title: Accessing let bound fields from static members Tags: f%23 Problem: Accessing let bound fields from static members Is there any way to access let bound fields from a static member? The following gives the indicated error: type Foo(x) = let x = x static...
Accessing let bound fields from static members Accessing let bound fields from static members f%23 static Accessing Foo System.DateTime.Now.Month foo.x Bar x:int Bar.x Add lhs.data rhs.data Accessing let bound fields from static members Is there any way to access let bound fields from a static member? The following giv...
[ -0.0120849609375, -0.0023651123046875, 0.0135498046875, 0.0057373046875, -0.00054168701171875, 0.00689697265625, 0.005615234375, 0.00872802734375, 0.01007080078125, -0.016845703125, -0.00014591217041015625, 0.006927490234375, 0.01513671875, 0.01171875, 0.01263427734375, -0.020751953125...
[ 40266, 2633, 99091, 44457, 1295, 201939, 43032, 7, 3742, 9572, 31, 12353, 86291, 70059, 137594, 146794, 5775, 3253, 4288, 29117, 127, 10135, 2499, 3917, 17203, 32786, 18499, 14375, 143726, 63769, 209806, 138410, 2844, 19279, 55992, 959, 179140,...
[ 0.187255859375, 0.228759765625, 0.2232666015625, 0.2578125, 0.1243896484375, 0.25830078125, 0.2396240234375, 0.032440185546875, 0.0908203125, 0.0950927734375, 0.0855712890625, 0.10888671875, 0.036529541015625, 0.1112060546875, 0.1097412109375, 0.060455322265625, 0.05438232421875, 0...
embed
64446511_c1
64446511
fsharp
1
the middleware , I've cleaned the project, updated all dependencies, restarted visual studio (2019 Pro if it matters), restarted the computer, removed and reinstalled the Microsoft.AspNetCore.Session nuget package. I'm targeting .NET core 2.1 (even though I'm compiling with the 3.1 SDK). The application is written in ...
the middleware , I've cleaned the project, updated all dependencies, restarted visual studio (2019 Pro if it matters), restarted the computer, removed and reinstalled the Microsoft.AspNetCore.Session nuget package. I'm targeting .NET core 2.1 (even though I'm compiling with the 3.1 SDK). The application is written in ...
[ -0.0162353515625, 0.031005859375, -0.006622314453125, -0.0034027099609375, 0.012939453125, 0.0208740234375, -0.016357421875, 0.01092529296875, -0.00860595703125, -0.0247802734375, 0.00799560546875, 0.028076171875, -0.006378173828125, 0.01708984375, 0.00860595703125, 0.002777099609375, ...
[ 70, 86991, 15876, 4, 87, 272, 46622, 297, 13452, 150011, 42548, 117538, 456, 17137, 21176, 12275, 32196, 1250, 2174, 442, 26866, 7, 13909, 184750, 80383, 7244, 284, 7008, 24447, 50886, 13, 5, 294, 90, 6889, 315, 3794, 98169, 30388, 214, ...
[ 0.050506591796875, 0.194091796875, 0.228759765625, 0.00830078125, 0.0246124267578125, 0.012939453125, 0.1622314453125, 0.050048828125, 0.1405029296875, 0.07672119140625, 0.260498046875, 0.142333984375, 0.04095458984375, 0.070068359375, 0.1524658203125, 0.12255859375, 0.1673583984375,...
embed
14611194_c0
14611194
fsharp
0
Title: F# 3.0 compiler error FS0193 when upgrading project Problem title: F# 3.0 compiler error FS0193 when upgrading project Tags: f%23-3.0, f%23 Problem: F# 3.0 compiler error FS0193 when upgrading project I'm getting a strange FSharp.Core -related error when building one of my larger projects, and the error doesn't ...
F# 3.0 compiler error FS0193 when upgrading project F# 3.0 compiler error FS0193 when upgrading project f%23-3.0 f%23 compilation FS0193 FSharp.Core Microsoft.FSharp.Linq.RuntimeHelpers LeafExpressionConverter Doctypes.fsproj Reference Include Program Files x86 Microsoft SDKs Framework v4.0 fsc.exe o:obj Debug DTC.Doct...
[ -0.01324462890625, 0.0233154296875, -0.0054931640625, -0.023193359375, -0.01251220703125, 0.00112152099609375, -0.0213623046875, -0.010986328125, -0.0107421875, -0.01318359375, -0.0115966796875, -0.0026702880859375, 0.0047607421875, -0.01171875, 0.0164794921875, 0.01177978515625, 0.0...
[ 563, 4904, 17596, 9969, 34759, 18499, 93774, 6746, 11591, 1257, 8961, 13452, 1238, 132265, 3742, 98352, 3467, 254, 50886, 7244, 36381, 44982, 60785, 21777, 636, 2407, 178752, 814, 29048, 50986, 17447, 3454, 170, 215996, 7663, 42724, 15276, 45...
[ 0.0911865234375, 0.1961669921875, 0.255859375, 0.1802978515625, 0.1435546875, 0.1522216796875, 0.1898193359375, 0.08123779296875, 0.2705078125, 0.0771484375, 0.1649169921875, 0.1153564453125, 0.0789794921875, 0.219482421875, 0.1197509765625, 0.14794921875, 0.1845703125, 0.148803710...
embed
44516502_c0
44516502
fsharp
0
Title: Scope of SqlDataConnection variable with SQL Type Provider Problem title: Scope of SqlDataConnection variable with SQL Type Provider Tags: f%23, sql-server, sql, type-providers Problem: Scope of SqlDataConnection variable with SQL Type Provider Using the SQL type provider in FSharp.Data with MSFT SQL Server, I d...
Scope of SqlDataConnection variable with SQL Type Provider Scope of SqlDataConnection variable with SQL Type Provider f%23 sql-server sql type-providers Scope SqlDataConnection SQL Type Provider FSharp.Data.TypeProviders.SqlDataConnection Data Source DESKTOP-5 SQLEXPRESS Initial Catalog Integrated Security MultipleActi...
[ 0.0274658203125, 0.00830078125, -0.01239013671875, 0.017333984375, -0.0169677734375, 0.003204345703125, -0.0013275146484375, -0.00872802734375, 0.00128173828125, -0.042724609375, 0.0002422332763671875, -0.0201416015625, 0.017578125, -0.006317138671875, -0.0022125244140625, 0.0010375976...
[ 182783, 13, 159, 99247, 137989, 235603, 77336, 678, 80866, 60457, 123089, 1830, 42, 3742, 39642, 10644, 93136, 3467, 254, 196707, 177997, 14, 11809, 77641, 1514, 70675, 10342, 26939, 96547, 150917, 48748, 164414, 7, 7136, 40041, 22829, 211603, ...
[ 0.2080078125, 0.04998779296875, 0.013885498046875, 0.165283203125, 0.13916015625, 0.1923828125, 0.230712890625, 0.083984375, 0.1767578125, 0.2235107421875, 0.1630859375, 0.0015869140625, 0.0199737548828125, 0.078125, 0.0897216796875, 0.21826171875, 0.152099609375, 0.128662109375, ...
embed
54372555_c0
54372555
fsharp
0
Title: What are the rules for automatic upcasting of functions? Problem title: What are the rules for automatic upcasting of functions? Tags: f%23 Problem: What are the rules for automatic upcasting of functions? In my code I have a scenario where I'd like F# to automatically upcast values of one function type (e.g. IB...
What are the rules for automatic upcasting of functions? What are the rules for automatic upcasting of functions? f%23 What IBase IDerived case1 case8 case2 case3 case4 Expecting case5 Type case6 case7 Expected What are the rules for automatic upcasting of functions? In my code I have a scenario where I'd like F# to au...
[ 0.018310546875, 0.01312255859375, 0.01385498046875, -0.0103759765625, 0.0067138671875, -0.009521484375, -0.00848388671875, 0.00726318359375, 0.0159912109375, 0.02490234375, -0.020751953125, 0.01068115234375, 0.0089111328125, 0.004302978515625, 0.01202392578125, -0.0205078125, 0.00659...
[ 91736, 100, 101038, 1257, 55741, 214, 32354, 1238, 3949, 3742, 88874, 6991, 4207, 4126, 7225, 1019, 304, 363, 617, 60075, 758, 60457, 910, 966, 13, 70, 111, 18151, 106117, 1884, 563, 4904, 191082, 142424, 1632, 10644, 25072, 15700, 143726, ...
[ 0.185791015625, 0.039306640625, 0.240478515625, 0.134765625, 0.2119140625, 0.0838623046875, 0.1954345703125, 0.048553466796875, 0.000244140625, 0.10546875, 0.06488037109375, 0.1971435546875, 0.1279296875, 0.1409912109375, 0.14208984375, 0.190673828125, 0.003692626953125, 0.02700805...
embed
21312019_c0
21312019
fsharp
0
Title: Parsing values from string array Problem title: Parsing values from string array Tags: f%23 Problem: Parsing values from string array I am trying to create a save/load function for 2d objects that has been drawn into a form. type circle = { X : int; Y : int; Diameter : int; Brush : Brush} type Square = { X : int...
Parsing values from string array Parsing values from string array f%23 string Parsing Diameter Brush Square Length Height saveFile.Click.Add myfile.WriteLine Circle c.X.ToString c.Y.ToString c.Diameter.ToString c.Brush.ToString s.X.ToString s.Y.ToString s.Height.ToString s.Length.ToString s.Brush.ToString myfile.Close ...
[ 0.0133056640625, -0.022705078125, -0.0145263671875, 0.0250244140625, -0.0267333984375, 0.005126953125, 0.0030517578125, -0.0011444091796875, 0.011474609375, 0.0279541015625, 0.000865936279296875, 0.00150299072265625, -0.000797271728515625, -0.037353515625, 0.007476806640625, -0.0024261...
[ 2392, 6953, 142424, 1295, 79315, 10298, 53, 1238, 3949, 3742, 4512, 29089, 86532, 68305, 77554, 1529, 22553, 30098, 174350, 181671, 4028, 759, 29822, 18781, 93232, 163731, 1542, 7763, 71713, 72838, 13025, 59453, 12353, 219, 102588, 17780, 31345...
[ 0.197998046875, 0.0970458984375, 0.24658203125, 0.17578125, 0.26708984375, 0.236572265625, 0.1236572265625, 0.0654296875, 0.048736572265625, 0.17529296875, 0.06134033203125, 0.062408447265625, 0.1761474609375, 0.0589599609375, 0.0258026123046875, 0.09619140625, 0.043121337890625, 0...
embed
25658980_c0
25658980
fsharp
0
Title: Managing resources in a sitelet Problem title: Managing resources in a sitelet Tags: css, javascript, f%23, websharper Problem: Managing resources in a sitelet I'm beginning my trek in learning WebSharper, and I'm finding managing resources (e.g. css and javascript files) a bit confusing. The documentation on th...
Managing resources in a sitelet Managing resources in a sitelet css javascript f%23 websharper Managing MyResource Resources.BaseResource my.cdn.net file1.js file2.js file3.css Require JQuery.Resources.JQuery Sealed BootstrapResource maxcdn.bootstrapcdn.com bootstrap.min.css bootstrap.min.js Managing resources in a sit...
[ -0.0289306640625, 0.0289306640625, -0.0068359375, -0.0240478515625, -0.00848388671875, -0.016357421875, 0.005340576171875, 0.0235595703125, 0.00274658203125, -0.045654296875, 0.0162353515625, 0.005035400390625, -0.0001678466796875, 0.018310546875, 0.00927734375, 0.0166015625, 0.00259...
[ 1572, 66398, 65514, 23, 1764, 1974, 10, 20763, 136951, 3742, 1467, 89280, 1264, 2646, 4332, 60427, 152055, 63473, 759, 71574, 19, 1179, 11435, 28175, 4439, 3181, 821, 41732, 1294, 126970, 58800, 107617, 18389, 80765, 2816, 49935, 1249, 4002, ...
[ 0.1136474609375, 0.12255859375, 0.2366943359375, 0.0965576171875, 0.1495361328125, 0.2440185546875, 0.0283966064453125, 0.089599609375, 0.1492919921875, 0.053253173828125, 0.0258636474609375, 0.121826171875, 0.1617431640625, 0.0400390625, 0.07257080078125, 0.197265625, 0.211669921875...
embed
31196712_c0
31196712
fsharp
0
Title: F# type extensions property not works Problem title: F# type extensions property not works Tags: .net, f%23 Problem: F# type extensions property not works It is weird that extended property is not mutable... Could any one help? open System.IO.Ports open System.Text open System.Text.RegularExpressions type UAgent...
F# type extensions property not works F# type extensions property not works .net f%23 System.IO.Ports System.Text System.Text.RegularExpressions UAgent MailboxProcessor ComPortManager this.sP SerialPort this.receivedSeq Array.empty this.pastMsgSent Seq.empty Cmd Send Remove Add UartOP Open Comm Handler SerialDataReceiv...
[ 0.00439453125, 0.02392578125, 0.034912109375, -0.0181884765625, -0.00726318359375, -0.025634765625, -0.004119873046875, 0.009033203125, 0.007049560546875, -0.00103759765625, 0.0113525390625, 0.0291748046875, 0.03271484375, -0.0103759765625, 0.007354736328125, 0.0015106201171875, 0.00...
[ 563, 4904, 10644, 111938, 57266, 959, 43240, 7, 1179, 1238, 3742, 12353, 17780, 60006, 174379, 54601, 178752, 46825, 25919, 11728, 3288, 12662, 903, 683, 135188, 33548, 54686, 181139, 29117, 3960, 20880, 13527, 10639, 135679, 10770, 28636, 1560...
[ 0.150146484375, 0.2081298828125, 0.177978515625, 0.2208251953125, 0.259765625, 0.123046875, 0.181396484375, 0.0260009765625, 0.127197265625, 0.07489013671875, 0.1514892578125, 0.04608154296875, 0.0743408203125, 0.1217041015625, 0.0758056640625, 0.056671142578125, 0.040771484375, 0....
embed
10963989_c1
10963989
fsharp
1
type LineChart( data : DataCommon, title ) = inherit Web.Control() [<JavaScript>] override this.Body = let div = Div [] |>! OnAfterRender (fun container -> let visualization = new Visualizations.LineChart(container.Dom) let options = { Visualizations.LineChartOptions.Default with width = 400.0 height = 240.0 legend = ...
type LineChart( data : DataCommon, title ) = inherit Web.Control() [<JavaScript>] override this.Body = let div = Div [] |>! OnAfterRender (fun container -> let visualization = new Visualizations.LineChart(container.Dom) let options = { Visualizations.LineChartOptions.Default with width = 400.0 height = 240.0 legend = ...
[ -0.026611328125, 0.0115966796875, -0.003997802734375, -0.012451171875, 0.0216064453125, 0.000247955322265625, 0.00994873046875, -0.00811767578125, -0.001312255859375, -0.0302734375, -0.01373291015625, -0.01007080078125, -0.01336669921875, 0.00958251953125, 0.01519775390625, 0.026855468...
[ 10644, 16777, 84068, 18, 2053, 11809, 10770, 3796, 44759, 2203, 23, 3334, 217, 4002, 175904, 156202, 147845, 645, 416, 12647, 1459, 2633, 18221, 53026, 38, 2161, 46327, 1052, 23894, 16498, 116419, 21176, 47691, 3525, 73372, 93232, 98102, 1060...
[ 0.203125, 0.205810546875, 0.268798828125, 0.1781005859375, 0.1552734375, 0.106689453125, 0.09033203125, 0.2034912109375, 0.1785888671875, 0.0187530517578125, 0.035736083984375, 0.1387939453125, 0.0634765625, 0.1258544921875, 0.1959228515625, 0.111328125, 0.1656494140625, 0.02677917...
embed
28104497_c0
28104497
fsharp
0
Title: How to set the quality of grids for xaxis grid in Fsharp.Charting? Problem title: How to set the quality of grids for xaxis grid in Fsharp.Charting? Tags: fsharpchart, f%23, f%23-charting Problem: How to set the quality of grids for xaxis grid in Fsharp.Charting? I use Yahoo Finance data to compare two company's...
How to set the quality of grids for xaxis grid in Fsharp.Charting? How to set the quality of grids for xaxis grid in Fsharp.Charting? fsharpchart f%23 f%23-charting How Fsharp.Charting Users Nick Documents Visual Studio FSharp.Charting.0.90.9 FSharp.Charting.fsx FSharp.Data System System.Drawing System.Windows.Forms.Da...
[ -0.01507568359375, 0.01202392578125, 0.01177978515625, -0.016357421875, 0.004364013671875, -0.00762939453125, 0.015869140625, 0.017333984375, 0.0111083984375, 0.0419921875, 0.0079345703125, 0.0196533203125, -0.00144195556640625, -0.004791259765625, -0.003814697265625, 0.0137939453125, ...
[ 11249, 5423, 31897, 111, 10314, 6468, 100, 2459, 33102, 120067, 563, 89280, 254, 84068, 1916, 5, 1238, 9254, 3742, 27495, 53400, 47801, 43101, 73372, 22968, 93774, 3467, 143161, 17447, 137989, 43342, 68804, 67756, 177997, 3960, 114584, 43741, ...
[ 0.062744140625, 0.1561279296875, 0.2122802734375, 0.06695556640625, 0.196044921875, 0.1441650390625, 0.019012451171875, 0.1600341796875, 0.19921875, 0.2408447265625, 0.10687255859375, 0.1851806640625, 0.1724853515625, 0.145751953125, 0.09039306640625, 0.001129150390625, 0.07672119140...
embed
23183089_c0
23183089
fsharp
0
Title: Can GetUnionCases be replaced with a generic in fsharp? Problem title: Can GetUnionCases be replaced with a generic in fsharp? Tags: generics, f%23, discriminated-union Problem: Can GetUnionCases be replaced with a generic in fsharp? I have the following function. It is used to turn parts of a string into a Disc...
Can GetUnionCases be replaced with a generic in fsharp? Can GetUnionCases be replaced with a generic in fsharp? generics f%23 discriminated-union the Can GetUnionCases characters:list UnionCaseInfo Token Microsoft.FSharp.Reflection.FSharpType.GetUnionCases Array.filter u.Name.Equals ElementValue Microsoft.FSharp.Reflec...
[ -0.0216064453125, 0.014404296875, 0.0177001953125, -0.0081787109375, -0.00067901611328125, -0.02490234375, -0.0086669921875, -0.014892578125, 0.01251220703125, -0.021728515625, 0.005584716796875, 0.0107421875, -0.01068115234375, -0.017578125, 0.000621795654296875, 0.0081787109375, 0....
[ 4171, 20779, 147547, 20370, 5908, 186, 91995, 71, 678, 189534, 23, 1238, 89280, 254, 3742, 55970, 3674, 87046, 124850, 6562, 32528, 441, 6991, 93147, 1098, 7244, 3467, 190015, 133, 196707, 126, 69253, 120337, 75, 163612, 71723, 48325, 856, ...
[ 0.09716796875, 0.1510009765625, 0.2154541015625, 0.2091064453125, 0.1878662109375, 0.005706787109375, 0.17138671875, 0.002960205078125, 0.047576904296875, 0.2432861328125, 0.02081298828125, 0.1038818359375, 0.177734375, 0.143798828125, 0.10272216796875, 0.1468505859375, 0.01217651367...
embed