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
21007327_c0
21007327
fsharp
0
Title: Access objects in a list, perform a foreach using their properties with F# Problem title: Access objects in a list, perform a foreach using their properties with F# Tags: f%23, c%23, c%23-to-f%23 Problem: Access objects in a list, perform a foreach using their properties with F# I've got a list of objects, to ma...
Access objects in a list, perform a foreach using their properties with F# Access objects in a list, perform a foreach using their properties with F# f%23 c%23 c%23-to-f%23 their myType Access form.OnPaint e.Graphics g.FillRectangle Brushes.Black x.x x.y Access objects in a list, perform a foreach using their propertie...
[ 0.00823974609375, -0.015380859375, 0.00408935546875, -0.01239013671875, 0.0062255859375, -0.00156402587890625, 0.005828857421875, 0.01153564453125, 0.00811767578125, -0.00171661376953125, 0.031982421875, -0.003387451171875, 0.0281982421875, -0.0150146484375, -0.012451171875, -0.0006980...
[ 40266, 36746, 7, 23, 5303, 51339, 10, 100, 41581, 17368, 2363, 183871, 678, 563, 4904, 1238, 3742, 27495, 188, 420, 759, 196707, 3173, 20320, 8335, 4288, 37878, 19379, 5713, 109217, 19528, 114942, 97732, 425, 53, 4, 4163, 111, 189534, 106...
[ 0.2548828125, 0.218994140625, 0.05609130859375, 0.0914306640625, 0.21728515625, 0.207275390625, 0.1041259765625, 0.176513671875, 0.28173828125, 0.1224365234375, 0.09429931640625, 0.23046875, 0.08154296875, 0.1649169921875, 0.20556640625, 0.0921630859375, 0.09503173828125, 0.0453796...
embed
22905952_c0
22905952
fsharp
0
Title: Is it necessary to use else branch in async expressions? Problem title: Is it necessary to use else branch in async expressions? Tags: computation-expression, f%23 Problem: Is it necessary to use else branch in async expressions? I want to write the following code: let someAsync () = async { if 1 > 2 then return...
Is it necessary to use else branch in async expressions? Is it necessary to use else branch in async expressions? computation-expression f%23 Error Much arg:string HERE arg.IndexOf Is it necessary to use else branch in async expressions? I want to write the following code: F# for some reason thinks that I need to write...
[ -0.0213623046875, 0.01202392578125, 0.0194091796875, 0.003997802734375, 0.018798828125, 0.00011873245239257812, 0.0306396484375, 0.004974365234375, 0.00982666015625, 0.0034637451171875, 0.0194091796875, 0.0235595703125, 0.0133056640625, 0.006683349609375, 0.0264892578125, 0.01251220703...
[ 2071, 63559, 4527, 37076, 32845, 206, 23, 10, 12654, 238, 125195, 442, 181135, 204629, 1238, 3949, 3742, 212059, 79616, 79459, 91693, 65791, 39659, 132887, 18151, 563, 4904, 5351, 3871, 33022, 1884, 18499, 26008, 181653, 126371, 183234, 71864, ...
[ 0.03155517578125, 0.201904296875, 0.13916015625, 0.2406005859375, 0.1898193359375, 0.12060546875, 0.0259246826171875, 0.0555419921875, 0.1898193359375, 0.1055908203125, 0.2276611328125, 0.00665283203125, 0.131591796875, 0.1783447265625, 0.0533447265625, 0.0283050537109375, 0.13342285...
embed
34480937_c0
34480937
fsharp
0
Title: Unable to use List.sum with a transformation Problem title: Unable to use List.sum with a transformation Tags: f%23 Problem: Unable to use List.sum with a transformation I am unable to figure out the syntax required for running an aggregator on a function that performs a transformation. I have the following code...
Unable to use List.sum with a transformation Unable to use List.sum with a transformation f%23 Unable List.sum Suit Spades Clubs Diamonds Hearts Face Two Three Four Five Six Seven Eight Nine Ten Jack Queen King Ace Card Face:Face Suit:Suit hand:Card c.Face Unable to use List.sum with a transformation I am unable to fig...
[ -0.011962890625, 0.0019989013671875, 0.00921630859375, 0.000591278076171875, -0.00335693359375, -0.032470703125, -0.0198974609375, 0.005035400390625, 0.01904296875, -0.04345703125, 0.00616455078125, 0.006439208984375, 0.009521484375, -0.0216064453125, 0.01123046875, -0.021728515625, ...
[ 992, 2886, 4527, 32036, 5, 11832, 678, 10, 167201, 47, 1238, 3949, 3742, 1832, 217, 10959, 988, 7687, 7, 69124, 60861, 26219, 32964, 129335, 65056, 156615, 84247, 132556, 22553, 1520, 5531, 21763, 44109, 18813, 70280, 23660, 135518, 7143, 3...
[ 0.0587158203125, 0.1800537109375, 0.1632080078125, 0.24951171875, 0.08038330078125, 0.278076171875, 0.1309814453125, 0.03851318359375, 0.255859375, 0.01837158203125, 0.0860595703125, 0.0548095703125, 0.15869140625, 0.140380859375, 0.012420654296875, 0.142578125, 0.1407470703125, 0....
embed
18367192_c1
18367192
fsharp
1
725156 sum = 500500 - Time = 1.1183165 sumBy = 500500 - Time = 1.1126781 So clearly reduce is the big winner here. In the decompilation, I can see that reduce gets boiled down [Serializable] internal class sumsReduce\u004021\u002D1 : OptimizedClosures.FSharpFunc<int, int, int> { internal sumsReduce\u004021\u002D1() { b...
725156 sum = 500500 - Time = 1.1183165 sumBy = 500500 - Time = 1.1126781 So clearly reduce is the big winner here. In the decompilation, I can see that reduce gets boiled down [Serializable] internal class sumsReduce\u004021\u002D1 : OptimizedClosures.FSharpFunc<int, int, int> { internal sumsReduce\u004021\u002D1() { b...
[ -0.0174560546875, 0.0052490234375, 0.01116943359375, 0.0216064453125, -0.01409912109375, -0.0184326171875, -0.01318359375, 0.005615234375, 0.00921630859375, -0.0186767578125, 0.01129150390625, 0.00439453125, 0.0047607421875, -0.01129150390625, 0.01300048828125, 0.0133056640625, 0.010...
[ 189075, 155740, 10554, 2203, 2101, 4283, 19055, 615, 1662, 17168, 118913, 75358, 88438, 169842, 418, 123019, 34390, 83, 70, 6957, 159690, 3688, 8, 277, 5974, 831, 1957, 337, 14, 6259, 7565, 25435, 24707, 2886, 70796, 18507, 4332, 106357, 97...
[ 0.10516357421875, 0.1788330078125, 0.2479248046875, 0.038055419921875, 0.1663818359375, 0.244873046875, 0.193603515625, 0.0214996337890625, 0.034912109375, 0.041473388671875, 0.1298828125, 0.235595703125, 0.062255859375, 0.0677490234375, 0.008087158203125, 0.06329345703125, 0.3061523...
embed
39895446_c0
39895446
fsharp
0
Title: How to combine 2 Arbitrary instances to match test method signature Problem title: How to combine 2 Arbitrary instances to match test method signature Tags: fscheck, f%23 Problem: How to combine 2 Arbitrary instances to match test method signature I have a function that should get two actual params for testing. ...
How to combine 2 Arbitrary instances to match test method signature How to combine 2 Arbitrary instances to match test method signature fscheck f%23 How Arbitrary x:SomeType y:SomeOtherType result.someProp x.someProp result.otherProp y.otherProp Arb.generate SomeType Gen.filter x.checkSomeStuff Arb.fromGen SomeOtherTyp...
[ -0.01611328125, 0.005828857421875, -0.0203857421875, -0.005462646484375, -0.01397705078125, 0.0260009765625, 0.000705718994140625, -0.00921630859375, 0.006591796875, 0.01275634765625, 0.014892578125, 0.0150146484375, 0.0118408203125, -0.0064697265625, 0.00095367431640625, -0.0059204101...
[ 11249, 47, 70163, 116, 242522, 1294, 110527, 7, 14858, 3034, 55300, 138256, 1238, 78292, 3949, 3742, 1022, 196707, 113, 9319, 16750, 254, 43452, 10752, 126340, 1172, 275, 48281, 31384, 15937, 120337, 21493, 161063, 105376, 1264, 73243, 43796, ...
[ 0.07794189453125, 0.024505615234375, 0.2379150390625, 0.1646728515625, 0.202880859375, 0.148193359375, 0.234375, 0.0269622802734375, 0.2247314453125, 0.187255859375, 0.153076171875, 0.2015380859375, 0.050445556640625, 0.21142578125, 0.029083251953125, 0.08758544921875, 0.026916503906...
embed
42819003_c0
42819003
fsharp
0
Title: F# best way to set up a SQLCommand with parameters Problem title: F# best way to set up a SQLCommand with parameters Tags: f%23, parameters, sqlcommand Problem: F# best way to set up a SQLCommand with parameters My F# program needs to talk to SQL Server. In one part I have something like this: let workFlowDetail...
F# best way to set up a SQLCommand with parameters F# best way to set up a SQLCommand with parameters f%23 parameters sqlcommand SQLCommand workFlowDetailRuncommand.CommandTimeout workFlowDetailRuncommand.Parameters.Add SqlDbType.Int Value SqlDbType.VarChar mydate.ToString yyyy.MM.dd Adams SqlDbType.DateTime DateTime.N...
[ -0.01080322265625, -0.0015869140625, -0.005401611328125, -0.003204345703125, -0.000667572021484375, -0.0047607421875, -0.031982421875, -0.028564453125, -0.00311279296875, -0.0079345703125, 0.011962890625, -0.01068115234375, 0.00848388671875, -0.010498046875, -0.024169921875, -0.0229492...
[ 563, 4904, 2965, 3917, 5423, 1257, 80866, 10770, 12018, 678, 171859, 47, 10, 1238, 3949, 3742, 91, 99247, 277, 4488, 17336, 4657, 46741, 163321, 70059, 6056, 55292, 29089, 4028, 397, 275, 196707, 190060, 81827, 84068, 759, 17489, 7763, 7171...
[ 0.14453125, 0.2166748046875, 0.126708984375, 0.088623046875, 0.1484375, 0.1256103515625, 0.2412109375, 0.1898193359375, 0.241455078125, 0.131591796875, 0.281494140625, 0.076171875, 0.01593017578125, 0.1273193359375, 0.08734130859375, 0.1923828125, 0.04083251953125, 0.21044921875, ...
embed
48962905_c0
48962905
fsharp
0
Title: F# &quot;do&quot; statements as Block expressions Problem title: F# &quot;do&quot; statements as Block expressions Tags: f%23, dispose Problem: F# "do" statements as Block expressions The F# spec describes in 10.2.5 do statements in Modules , that on the module level a do statement may have attributes, and it wi...
F# &quot;do&quot; statements as Block expressions F# &quot;do&quot; statements as Block expressions f%23 dispose Block System.IDisposable __.Dispose F# "do" statements as Block expressions The F# spec describes in 10.2.5 do statements in Modules , that on the module level a do statement may have attributes, and it will...
[ -0.010986328125, 0.01068115234375, -0.002105712890625, -0.004425048828125, 0.003570556640625, 0.0021209716796875, 0.007080078125, 0.00360107421875, 0.0167236328125, -0.02978515625, -0.00787353515625, 0.0107421875, 0.0038604736328125, -0.0238037109375, 0.0101318359375, 0.00982666015625,...
[ 563, 4904, 246, 63805, 237, 80231, 125195, 7, 1238, 3742, 60458, 12353, 164, 7522, 2886, 44456, 78381, 48502, 98363, 4068, 48413, 54, 63014, 88996, 17366, 1543, 150380, 27489, 1631, 3229, 10644, 959, 151575, 47, 25072, 224833, 3789, 19069, ...
[ 0.14892578125, 0.2125244140625, 0.171630859375, 0.2403564453125, 0.055389404296875, 0.189208984375, 0.2142333984375, 0.0074462890625, 0.0838623046875, 0.08551025390625, 0.14013671875, 0.0750732421875, 0.0433349609375, 0.0963134765625, 0.08453369140625, 0.062744140625, 0.101318359375,...
embed
39419447_c1
39419447
fsharp
1
;}; Target = {decimal = 3M;};}; FSI_0227+Vertex->FSI_0227+Vertex {Source = {decimal = 4M;}; Target = {decimal = 5M;};}; ...] and from undirGraph.Vertices : val it : Collections.Generic.IEnumerable<Vertex> = seq [{decimal = 1M;}; {decimal = 2M;}; {decimal = 18M;}; {decimal = 3M;}; ...] are as expected. The undirected gr...
;}; Target = {decimal = 3M;};}; FSI_0227+Vertex->FSI_0227+Vertex {Source = {decimal = 4M;}; Target = {decimal = 5M;};}; ...] and from undirGraph.Vertices : val it : Collections.Generic.IEnumerable<Vertex> = seq [{decimal = 1M;}; {decimal = 2M;}; {decimal = 18M;}; {decimal = 3M;}; ...] are as expected. The undirected gr...
[ -0.019287109375, 0.0260009765625, 0.0040283203125, -0.0059814453125, -0.01397705078125, 0.00653076171875, -0.01025390625, -0.00341796875, 0.0191650390625, 0.00677490234375, -0.0263671875, -0.012451171875, 0.0211181640625, 0.03369140625, -0.0157470703125, -0.005950927734375, -0.011108...
[ 160017, 170753, 289, 138, 594, 563, 9902, 9550, 3768, 1328, 15896, 24371, 919, 211235, 201, 190, 23794, 37878, 11727, 24494, 3502, 68220, 135932, 2606, 864, 543, 237, 84751, 51, 80581, 297, 41382, 75935, 65771, 5036, 39, 179933, 18, 3714, ...
[ 0.2462158203125, 0.158203125, 0.03985595703125, 0.064453125, 0.0880126953125, 0.06524658203125, 0.176513671875, 0.0743408203125, 0.1834716796875, 0.0516357421875, 0.06781005859375, 0.158935546875, 0.0168609619140625, 0.114013671875, 0.012054443359375, 0.035308837890625, 0.14685058593...
embed
10105792_c0
10105792
fsharp
0
Title: Why tail recursive function fails for a input for which normal recursive function execute successfully? Problem title: Why tail recursive function fails for a input for which normal recursive function execute successfully? Tags: f%23, tail-recursion Problem: Why tail recursive function fails for a input for whic...
Why tail recursive function fails for a input for which normal recursive function execute successfully? Why tail recursive function fails for a input for which normal recursive function execute successfully? f%23 tail-recursion Why Sum h::t Sumtail Why tail recursive function fails for a input for which normal recursiv...
[ 0.01275634765625, 0.01177978515625, 0.0123291015625, 0.006072998046875, 0.005615234375, 0.003265380859375, -0.017578125, 0.01171875, 0.0184326171875, 0.000766754150390625, 0.028564453125, -0.017578125, 0.0030059814453125, 0.003448486328125, 0.035888671875, 0.008056640625, 0.010375976...
[ 44084, 46741, 195625, 5844, 32354, 35782, 7, 107730, 3638, 71924, 65771, 1238, 3742, 107, 48650, 1830, 36335, 1096, 18, 100, 16265, 51671, 209806, 32562, 4527, 183278, 1290, 10750, 30482, 30098, 177261, 32628, 27781, 74481, 10554, 756, 101935, ...
[ 0.0789794921875, 0.26953125, 0.207763671875, 0.1278076171875, 0.1678466796875, 0.1904296875, 0.05670166015625, 0.1856689453125, 0.130126953125, 0.1044921875, 0.127197265625, 0.00860595703125, 0.1087646484375, 0.043060302734375, 0.165283203125, 0.052001953125, 0.1993408203125, 0.074...
embed
6400820_c0
6400820
fsharp
0
Title: need help for this background worker code Problem title: need help for this background worker code Tags: .net, multithreading, f%23, backgroundworker Problem: need help for this background worker code I get this code example from Expert F# by Don Syme from chapter 13 open System.ComponentModel open System.Window...
need help for this background worker code need help for this background worker code .net multithreading f%23 backgroundworker System.ComponentModel System.Windows.Forms BackgroundWorker worker.DoWork.Add args.Result worker.RunWorkerCompleted.Add MessageBox.Show worker.RunWorkerAsync need help for this background worker...
[ -0.0064697265625, 0.0191650390625, -0.00457763671875, 0.01025390625, -0.0172119140625, 0.02392578125, 0.01214599609375, -0.00433349609375, 0.0159912109375, -0.056884765625, 0.011474609375, 0.00653076171875, 0.022216796875, 0.0101318359375, 0.00494384765625, 0.0062255859375, 0.0280761...
[ 3871, 4358, 100, 903, 76615, 4488, 56, 18151, 1179, 3869, 65847, 1238, 3949, 3742, 18244, 12353, 54137, 140290, 43342, 102973, 26828, 64330, 108259, 8331, 4028, 79459, 7, 7136, 163321, 108161, 133, 3674, 5, 48205, 72295, 168660, 12654, 27781,...
[ 0.10760498046875, 0.179931640625, 0.061981201171875, 0.129638671875, 0.22119140625, 0.150390625, 0.14990234375, 0.2066650390625, 0.1214599609375, 0.09832763671875, 0.1051025390625, 0.084716796875, 0.027801513671875, 0.163818359375, 0.112548828125, 0.056884765625, 0.04962158203125, ...
embed
9818963_c0
9818963
fsharp
0
Title: Invert nested dictionaries in f# Map&lt;&#x27;a,Map&lt;&#x27;b,&#x27;T&gt;&gt;) -&gt; Map&lt;&#x27;b,Map&lt;&#x27;a,&#x27;T&gt;&gt; Problem title: Invert nested dictionaries in f# Map&lt;&#x27;a,Map&lt;&#x27;b,&#x27;T&gt;&gt;) -&gt; Map&lt;&#x27;b,Map&lt;&#x27;a,&#x27;T&gt;&gt; Tags: nested-sets, diction...
Invert nested dictionaries in f# Map&lt;&#x27;a,Map&lt;&#x27;b,&#x27;T&gt;&gt;) -&gt; Map&lt;&#x27;b,Map&lt;&#x27;a,&#x27;T&gt;&gt; Invert nested dictionaries in f# Map&lt;&#x27;a,Map&lt;&#x27;b,&#x27;T&gt;&gt;) -&gt; Map&lt;&#x27;b,Map&lt;&#x27;a,&#x27;T&gt;&gt; nested-sets dictionary f%23 higher-order-functio...
[ -0.00189208984375, 0.021240234375, 0.0074462890625, 0.007568359375, -0.0185546875, -0.0023651123046875, -0.00579833984375, -0.0167236328125, 0.0054931640625, -0.00469970703125, -0.0031890869140625, 0.040283203125, 0.017333984375, 0.0341796875, -0.00083160400390625, 0.007598876953125, ...
[ 148639, 18, 8512, 71, 45, 10763, 11, 10484, 1238, 4904, 42719, 3768, 166179, 1277, 275, 618, 5386, 23, 3509, 3742, 77546, 80596, 137175, 1022, 188, 864, 232429, 1530, 10267, 304, 51588, 31251, 6635, 162515, 10, 1639, 42805, 36998, 118562, ...
[ 0.246826171875, 0.127197265625, 0.262451171875, 0.1343994140625, 0.1048583984375, 0.174560546875, 0.1090087890625, 0.0673828125, 0.0975341796875, 0.1806640625, 0.19580078125, 0.046112060546875, 0.1285400390625, 0.00653076171875, 0.1014404296875, 0.09814453125, 0.0210113525390625, 0...
embed
38748885_c1
38748885
fsharp
1
)) let private red coordinate = Allocated (Red (RedSoldier , coordinate)) let private yDirection = function | Black _ -> -1 | Red _ -> 1 let private toAvailable = function | Available pos -> true | _ -> false let available positions = positions |> List.filter toAvailable let private availableSelection = function | Avai...
)) let private red coordinate = Allocated (Red (RedSoldier , coordinate)) let private yDirection = function | Black _ -> -1 | Red _ -> 1 let private toAvailable = function | Available pos -> true | _ -> false let available positions = positions |> List.filter toAvailable let private availableSelection = function | Avai...
[ 0.004974365234375, 0.017578125, 0.005340576171875, -0.0005035400390625, -0.0166015625, -0.0269775390625, 0.0174560546875, -0.0025634765625, 0.00982666015625, 0.0263671875, 0.0013885498046875, 0.0281982421875, -0.0031890869140625, -0.029052734375, -0.01220703125, -0.00130462646484375, ...
[ 78960, 2633, 14375, 4842, 176866, 13, 2203, 884, 116292, 297, 80852, 102588, 63052, 6, 16, 113, 184911, 1830, 32354, 10074, 33079, 68940, 6096, 106, 47, 45475, 25820, 2886, 238204, 3864, 29568, 98320, 19882, 19069, 32036, 120337, 104475, 3138...
[ 0.1580810546875, 0.1429443359375, 0.2135009765625, 0.2421875, 0.24853515625, 0.06298828125, 0.0540771484375, 0.1285400390625, 0.1978759765625, 0.0960693359375, 0.201904296875, 0.119140625, 0.129638671875, 0.010009765625, 0.013580322265625, 0.1103515625, 0.1427001953125, 0.047882080...
embed
40254656_c1
40254656
fsharp
1
], 0.165, "C"); ([(F,">2");(F,">3")], 0.165, "D")] . I hope my question makes sense! Any hints greatly appreciated. type Outcome = | S | F type Sample = Outcome list type Tree = | Branch of string * float * Tree * Tree | Leaf of string type Description = ((Sample * string) list * float * string) let rec descriptionOf' ...
], 0.165, "C"); ([(F,">2");(F,">3")], 0.165, "D")] . I hope my question makes sense! Any hints greatly appreciated. type Outcome = | S | F type Sample = Outcome list type Tree = | Branch of string * float * Tree * Tree | Leaf of string type Description = ((Sample * string) list * float * string) let rec descriptionOf' ...
[ 0.0167236328125, 0.0247802734375, -0.0133056640625, -0.01434326171875, 0.017578125, -0.00250244140625, -0.0223388671875, -0.008056640625, 0.01141357421875, -0.01123046875, 0.01507568359375, 0.006195068359375, -0.0032806396484375, 0.0107421875, 0.00909423828125, 0.017333984375, 0.0148...
[ 10114, 4, 107754, 12424, 441, 3142, 919, 304, 363, 397, 15673, 10422, 5122, 10644, 13538, 45738, 2203, 159, 563, 947, 33209, 5303, 101344, 21110, 111, 79315, 21917, 636, 2407, 70643, 5464, 2633, 21954, 76811, 132887, 25, 32354, 232, 206, ...
[ 0.030792236328125, 0.0439453125, 0.1875, 0.240966796875, 0.059814453125, 0.0738525390625, 0.1082763671875, 0.0280609130859375, 0.05535888671875, 0.097900390625, 0.013153076171875, 0.08709716796875, 0.080322265625, 0.2037353515625, 0.181640625, 0.23828125, 0.011383056640625, 0.12524...
embed
19795949_c1
19795949
fsharp
1
, 'b>) columnName (seqOfTuples: seq<'a*'b>) = let newSerie = Series(Seq.map (fun x -> fst x) seqOfTuples, Seq.map (fun y -> snd y) seqOfTuples) let otherFrame = Frame([columnName], [newSerie]) let newFrame = aFrame.Join((otherFrame), kind=JoinKind.Inner) newFrame let mapToDeedleFrame myMap frame = Map.fold ( fun state ...
, 'b>) columnName (seqOfTuples: seq<'a*'b>) = let newSerie = Series(Seq.map (fun x -> fst x) seqOfTuples, Seq.map (fun y -> snd y) seqOfTuples) let otherFrame = Frame([columnName], [newSerie]) let newFrame = aFrame.Join((otherFrame), kind=JoinKind.Inner) newFrame let mapToDeedleFrame myMap frame = Map.fold ( fun state ...
[ 0.000873565673828125, 0.00616455078125, -0.007354736328125, 0.026611328125, -0.0234375, -0.0107421875, 0.01611328125, -0.00341796875, 0.003936767578125, 0.004913330078125, -0.007110595703125, 0.009521484375, -0.01287841796875, -0.005157470703125, -0.0045166015625, 0.0093994140625, 0....
[ 3365, 316, 163612, 184, 864, 132887, 15665, 99726, 40, 2633, 3525, 138724, 64876, 62346, 16498, 108386, 42557, 8447, 16604, 8562, 7250, 13857, 22288, 7763, 4657, 297, 133, 759, 166179, 123789, 42719, 42822, 7477, 11341, 3502, 78303, 4568, 299...
[ 0.07684326171875, 0.1080322265625, 0.1611328125, 0.01275634765625, 0.074462890625, 0.1002197265625, 0.010589599609375, 0.1138916015625, 0.0278167724609375, 0.1396484375, 0.038116455078125, 0.1669921875, 0.1190185546875, 0.0965576171875, 0.0254364013671875, 0.16455078125, 0.2059326171...
embed
49876791_c0
49876791
fsharp
0
Title: How to match sub-string in arrays of strings in F# Problem title: How to match sub-string in arrays of strings in F# Tags: arrays, string, machine-learning, functional-programming, f%23 Problem: How to match sub-string in arrays of strings in F# I am trying to learn Machine learning. I am new to F#. For the give...
How to match sub-string in arrays of strings in F# How to match sub-string in arrays of strings in F# arrays string machine-learning functional-programming f%23 How scan_data data_labels How to match sub-string in arrays of strings in F# I am trying to learn Machine learning. I am new to F#. For the given dataset, Let ...
[ -0.001739501953125, -0.0038604736328125, -0.0050048828125, 0.0272216796875, -0.0145263671875, 0.01141357421875, 0.01409912109375, 0.0098876953125, 0.017578125, -0.0118408203125, 0.01519775390625, -0.01031494140625, 0.0123291015625, 0.0019989013671875, 0.004425048828125, -0.034912109375...
[ 11249, 14858, 1614, 9, 91693, 23, 10298, 4778, 79315, 563, 4904, 36279, 152538, 123309, 28966, 1238, 44954, 10135, 2053, 152526, 68311, 52080, 3509, 116, 57767, 138, 67967, 78303, 23189, 29569, 209, 28282, 36917, 217684, 14037, 4398, 35735, 5...
[ 0.00970458984375, 0.2452392578125, 0.25390625, 0.0438232421875, 0.2420654296875, 0.045684814453125, 0.1387939453125, 0.1435546875, 0.1903076171875, 0.138427734375, 0.174072265625, 0.000518798828125, 0.06201171875, 0.046356201171875, 0.00286865234375, 0.018524169921875, 0.127685546875...
embed
914982_c0
914982
fsharp
0
Title: Parallelising tree recursive procedure Problem title: Parallelising tree recursive procedure Tags: parallel-processing, f%23 Problem: Parallelising tree recursive procedure I wrote the change count problem from sicp in F# in the following way let count_change amount = let first_denomination kinds_of_coins = matc...
Parallelising tree recursive procedure Parallelising tree recursive procedure parallel-processing f%23 Parallelising count_change first_denomination kinds_of_coins kinds_of_coins-1 List.fold Async.Parallel Async.RunSynchronously Array.fold Parallelising tree recursive procedure I wrote the change count problem from sic...
[ -0.0147705078125, 0.0042724609375, -0.009765625, -0.003875732421875, 0.01043701171875, -0.0030517578125, -0.022705078125, -0.004638671875, -0.00408935546875, -0.061279296875, -0.0203857421875, 0.00872802734375, 0.0162353515625, 0.014404296875, 0.026611328125, 0.0003871917724609375, 0...
[ 211485, 72219, 53201, 195625, 50491, 5844, 95103, 63923, 1238, 3742, 54529, 152028, 5117, 555, 31, 91407, 8562, 4390, 587, 5425, 5759, 32036, 42822, 12654, 1229, 62, 163321, 217835, 127, 1900, 69253, 54397, 15549, 2967, 26536, 254, 563, 4904,...
[ 0.2125244140625, 0.10107421875, 0.1962890625, 0.1536865234375, 0.147216796875, 0.027801513671875, 0.2093505859375, 0.076171875, 0.04132080078125, 0.11328125, 0.182861328125, 0.1717529296875, 0.071044921875, 0.058868408203125, 0.0760498046875, 0.052032470703125, 0.149658203125, 0.03...
embed
21813183_c0
21813183
fsharp
0
Title: F# Function which takes label as an argument Problem title: F# Function which takes label as an argument Tags: functional-programming, f%23, record, lambda Problem: F# Function which takes label as an argument F# newbie here and trying to find the 'functional way' of doing things. I have an array of records type...
F# Function which takes label as an argument F# Function which takes label as an argument functional-programming f%23 record lambda Node Value Height Width Array.minBy x.Height item.Height F# Function which takes label as an argument F# newbie here and trying to find the 'functional way' of doing things. I have an arra...
[ -0.0240478515625, -0.024169921875, 0.00994873046875, -0.00836181640625, -0.0125732421875, -0.0003833770751953125, 0.00439453125, -0.004119873046875, 0.020751953125, -0.01708984375, -0.003631591796875, -0.0164794921875, 0.017333984375, -0.033935546875, 0.0257568359375, -0.00753784179687...
[ 563, 4904, 28670, 10763, 3129, 51776, 67967, 237, 142, 10750, 123309, 28966, 1238, 3742, 17164, 21, 6492, 85, 438, 112, 190060, 1529, 22553, 58302, 927, 69253, 53, 1249, 75358, 1022, 13025, 35735, 3525, 9014, 31577, 7413, 137175, 3917, 2059...
[ 0.1041259765625, 0.1971435546875, 0.1619873046875, 0.056488037109375, 0.045684814453125, 0.10888671875, 0.309326171875, 0.07958984375, 0.05999755859375, 0.25, 0.18603515625, 0.1199951171875, 0.073974609375, 0.13671875, 0.1668701171875, 0.00726318359375, 0.1246337890625, 0.064880371...
embed
12855672_c0
12855672
fsharp
0
Title: How do I add a namespace prefix to XElement Problem title: How do I add a namespace prefix to XElement Tags: xml, f%23 Problem: How do I add a namespace prefix to XElement I know about http://msdn.microsoft.com/en-us/library/bb387069.aspx . I have read the examples article. But in F# that have some troubles with...
How do I add a namespace prefix to XElement How do I add a namespace prefix to XElement xml f%23 System.Xml.XmlException How XElement XName XName.op_Implicit Content FS0001 tmp:root XNamespace.Get tmp.com XNamespace How do I add a namespace prefix to XElement I know about http://msdn.microsoft.com/en-us/library/bb38706...
[ 0.003875732421875, 0.017822265625, 0.015625, 0.0022430419921875, -0.003662109375, -0.01513671875, 0.0081787109375, -0.01507568359375, 0.00592041015625, -0.0277099609375, 0.031982421875, -0.001068115234375, 0.00701904296875, -0.00579833984375, -0.004486083984375, 0.006866455078125, -0...
[ 11249, 54, 87, 15190, 10, 210716, 183114, 47, 90878, 19929, 131492, 1238, 3949, 3742, 12353, 1542, 7237, 63928, 1193, 163612, 2146, 60923, 70870, 93774, 188735, 2676, 148920, 65421, 3714, 132067, 14212, 27781, 563, 4904, 63134, 23351, 214, 14...
[ 0.054931640625, 0.023773193359375, 0.0098876953125, 0.1602783203125, 0.0390625, 0.28515625, 0.271240234375, 0.1043701171875, 0.1597900390625, 0.258544921875, 0.21826171875, 0.01373291015625, 0.000335693359375, 0.1112060546875, 0.04669189453125, 0.0128173828125, 0.06640625, 0.097961...
embed
18959534_c0
18959534
fsharp
0
Title: Can&#x27;t reference FSharp.Core in C# project on Mac OS X Problem title: Can&#x27;t reference FSharp.Core in C# project on Mac OS X Tags: macos, c%23, f%23, monodevelop, xamarin-studio Problem: Can't reference FSharp.Core in C# project on Mac OS X I have the following on that machine: (copied from "about" windo...
Can&#x27;t reference FSharp.Core in C# project on Mac OS X Can&#x27;t reference FSharp.Core in C# project on Mac OS X macos c%23 f%23 monodevelop xamarin-studio Can FSharp.Core Mac Xamarin Studio Version Runtime Mono f3f789e GTK Package Build Information Release Git Operating System Darwin mac03 Kernel Wed May PDT root...
[ -0.00848388671875, 0.04443359375, 0.00156402587890625, 0.001953125, 0.00141143798828125, -0.0150146484375, -0.00885009765625, -0.0057373046875, -0.016357421875, 0.00182342529296875, -0.0032806396484375, -0.01312255859375, -0.00701904296875, 0.0208740234375, 0.018798828125, -0.007873535...
[ 4171, 3768, 18, 91067, 93774, 3467, 254, 5, 50886, 13, 313, 4904, 13452, 4727, 11787, 1193, 23, 291, 7840, 3742, 22460, 229815, 2459, 44503, 52629, 8606, 22968, 40647, 77879, 1238, 153781, 29735, 56607, 121137, 32007, 152590, 217, 16556, 13...
[ 0.0775146484375, 0.059173583984375, 0.036956787109375, 0.2578125, 0.139892578125, 0.2255859375, 0.2333984375, 0.045501708984375, 0.2025146484375, 0.0545654296875, 0.05340576171875, 0.2403564453125, 0.1341552734375, 0.1376953125, 0.125732421875, 0.085205078125, 0.03533935546875, 0.0...
embed
9808427_c1
9808427
fsharp
1
but is there some "pure" way to do this in one go ? update I think I got the whole approach wrong with many useless inner loops. probably vectorizing the next available quotes would be useful. i will update the code after refactoring. update 2 A first rewrite is the following which move the yield |> List.rev one level...
but is there some "pure" way to do this in one go ? update I think I got the whole approach wrong with many useless inner loops. probably vectorizing the next available quotes would be useful. i will update the code after refactoring. update 2 A first rewrite is the following which move the yield |> List.rev one level...
[ 0.01483154296875, 0.0218505859375, 0.004302978515625, 0.0086669921875, -0.00775146484375, 0.0008544921875, -0.00193023681640625, -0.023193359375, 0.010009765625, -0.05419921875, -0.0103759765625, 0.0419921875, -0.00604248046875, 0.018310546875, 0.0059814453125, 0.011474609375, -0.009...
[ 1284, 4717, 13, 3917, 47, 54, 903, 23, 1632, 738, 28350, 5351, 28271, 51515, 44691, 5941, 4527, 9393, 75414, 40956, 173, 18770, 84382, 11737, 19882, 66747, 7, 80234, 70, 18151, 456, 144810, 214, 5117, 434, 18781, 83, 25632, 25813, 11180, ...
[ 0.0194091796875, 0.1396484375, 0.0643310546875, 0.0848388671875, 0.037841796875, 0.108642578125, 0.1524658203125, 0.06298828125, 0.1046142578125, 0.1728515625, 0.0506591796875, 0.05706787109375, 0.044189453125, 0.146240234375, 0.0841064453125, 0.018890380859375, 0.0227203369140625, ...
embed
43963203_c0
43963203
fsharp
0
Title: How can F# &quot;remove a lot of subtle bug&quot; from OCaml &quot;+&quot;? Problem title: How can F# &quot;remove a lot of subtle bug&quot; from OCaml &quot;+&quot;? Tags: f%23, functional-programming, ocaml, operator-overloading, polymorphism Problem: How can F# "remove a lot of subtle bug" from OCaml "+"? Fro...
How can F# &quot;remove a lot of subtle bug&quot; from OCaml &quot;+&quot;? How can F# &quot;remove a lot of subtle bug&quot; from OCaml &quot;+&quot;? f%23 functional-programming ocaml operator-overloading polymorphism OCaml How How can F# "remove a lot of subtle bug" from OCaml "+"? From Why is OCaml's (+) not polymo...
[ 0.004791259765625, -0.0093994140625, 0.0242919921875, 0.0234375, 0.006561279296875, -0.003875732421875, -0.019287109375, 0.0093994140625, -0.004302978515625, -0.010986328125, 0.0106201171875, -0.0208740234375, -0.01519775390625, -0.0003376007080078125, 0.00457763671875, -0.044189453125...
[ 11249, 831, 563, 4904, 26973, 272, 5915, 1614, 17991, 54608, 180, 105272, 141, 1328, 1295, 1238, 3742, 123309, 28966, 36, 9779, 39933, 5465, 63033, 35874, 178851, 44084, 22183, 959, 1771, 203314, 6837, 73342, 7, 13835, 134454, 54, 26868, 67...
[ 0.033599853515625, 0.0546875, 0.140869140625, 0.2100830078125, 0.11767578125, 0.045257568359375, 0.126708984375, 0.1077880859375, 0.1497802734375, 0.188720703125, 0.1148681640625, 0.2115478515625, 0.1651611328125, 0.1207275390625, 0.080322265625, 0.052734375, 0.01617431640625, 0.11...
embed
47952179_c0
47952179
fsharp
0
Title: Combine Identifier pattern with `as` pattern Problem title: Combine Identifier pattern with `as` pattern Tags: pattern-matching, f%23, functional-programming, .net Problem: Combine Identifier pattern with `as` pattern How can I copy the result of the Identifier pattern to an as pattern to make a tuple? My questi...
Combine Identifier pattern with `as` pattern Combine Identifier pattern with `as` pattern pattern-matching f%23 functional-programming .net Combine Identifier Person Teacher Student Age Classes Combine Identifier pattern with `as` pattern How can I copy the result of the Identifier pattern to an as pattern to make a tu...
[ -0.0184326171875, 0.020751953125, -0.0020294189453125, 0.0306396484375, -0.00750732421875, -0.01092529296875, -0.0230712890625, -0.0026092529296875, 0.00933837890625, -0.023681640625, 0.0146484375, 0.02197265625, 0.000217437744140625, 0.015625, 0.003143310546875, 0.009765625, 0.00488...
[ 106935, 86, 189543, 56, 103510, 678, 162, 98753, 1238, 3742, 123309, 28966, 1179, 15270, 165136, 26696, 72944, 35014, 11249, 831, 87, 43658, 16750, 47, 142, 237, 3249, 370, 8705, 55681, 75935, 27781, 3444, 28412, 4677, 3445, 117914, 707, 98...
[ 0.2420654296875, 0.1533203125, 0.2196044921875, 0.15771484375, 0.26025390625, 0.118408203125, 0.248046875, 0.1490478515625, 0.040069580078125, 0.0924072265625, 0.1240234375, 0.0943603515625, 0.133056640625, 0.134033203125, 0.1668701171875, 0.10418701171875, 0.110595703125, 0.128540...
embed
32163400_c0
32163400
fsharp
0
Title: TypeInitializationException when running Stanford.NLP.CoreNLP example Problem title: TypeInitializationException when running Stanford.NLP.CoreNLP example Tags: f%23, stanford-nlp, .net Problem: TypeInitializationException when running Stanford.NLP.CoreNLP example I'm trying to run the F# sample from http://serg...
TypeInitializationException when running Stanford.NLP.CoreNLP example TypeInitializationException when running Stanford.NLP.CoreNLP example f%23 stanford-nlp .net TypeInitializationException System.TypeInitializationException Stanford.NLP.CoreNLP Message StanfordNLPNETFs.exe Additional Program TypeInitializationExcepti...
[ 0.00286865234375, 0.00909423828125, -0.022705078125, 0.002471923828125, -0.005859375, -0.024658203125, 0.0206298828125, -0.0030364990234375, -0.026611328125, -0.02001953125, -0.001800537109375, 0.01806640625, -0.00799560546875, -0.005401611328125, 0.0277099609375, 0.00107574462890625, ...
[ 60457, 4153, 1890, 289, 47691, 19279, 63928, 3229, 51042, 221107, 5, 39102, 683, 50886, 13, 27781, 1238, 3949, 3742, 12007, 13534, 19, 26775, 1179, 12353, 196707, 48205, 34440, 183300, 46480, 7663, 31577, 11675, 563, 4904, 121413, 111826, 948...
[ 0.2578125, 0.089599609375, 0.14599609375, 0.1058349609375, 0.053863525390625, 0.0338134765625, 0.15185546875, 0.0174102783203125, 0.1251220703125, 0.24658203125, 0.037841796875, 0.17724609375, 0.1597900390625, 0.138916015625, 0.0711669921875, 0.166015625, 0.031280517578125, 0.00793...
embed
40020212_c0
40020212
fsharp
0
Title: F# Define Function input type/ Prevent type missmatches Problem title: F# Define Function input type/ Prevent type missmatches Tags: f%23, type-mismatch, function Problem: F# Define Function input type/ Prevent type missmatches I should probably start out by saying im new to F# and that this is without doubt a r...
F# Define Function input type/ Prevent type missmatches F# Define Function input type/ Prevent type missmatches f%23 type-mismatch function Define Prevent FoneTwo System.Math.Sqrt F# Define Function input type/ Prevent type missmatches I should probably start out by saying im new to F# and that this is without doubt a ...
[ 0.01416015625, 0.004974365234375, -0.0120849609375, 0.0078125, 0.0208740234375, -0.00537109375, -0.000827789306640625, -0.00927734375, -0.0019073486328125, -0.0076904296875, 0.0147705078125, -0.02587890625, -0.0262451171875, -0.000911712646484375, 0.0018157958984375, 0.00872802734375, ...
[ 563, 4904, 262, 64552, 28670, 10763, 107730, 10644, 64, 1914, 16274, 18025, 98753, 90, 1238, 3949, 3742, 2179, 32354, 71034, 13, 618, 3613, 12353, 199450, 864, 3198, 566, 21775, 4537, 57357, 158, 18211, 18499, 54433, 25178, 84751, 765, 9844...
[ 0.1429443359375, 0.2197265625, 0.07452392578125, 0.1636962890625, 0.1737060546875, 0.009033203125, 0.2313232421875, 0.249755859375, 0.0308990478515625, 0.1156005859375, 0.1759033203125, 0.0999755859375, 0.254150390625, 0.060943603515625, 0.0914306640625, 0.024017333984375, 0.11450195...
embed
30104449_c0
30104449
fsharp
0
Title: How to deal with checking for valid state in every method call Problem title: How to deal with checking for valid state in every method call Tags: f%23 Problem: How to deal with checking for valid state in every method call I have encountered some code that looks like this. member this.Send (data:array<byte>) = ...
How to deal with checking for valid state in every method call How to deal with checking for valid state in every method call f%23 How this.Send data:array tcpClient.Connected Send this.Open Connect TcpClient this.SendName this.ThrottleConnection Throttle this.SendAsTest How to deal with checking for valid state in eve...
[ -0.010009765625, 0.004364013671875, 0.0087890625, 0.01129150390625, -0.000888824462890625, -0.0174560546875, -0.00799560546875, -0.003936767578125, 0.005157470703125, -0.0286865234375, 0.0252685546875, -0.006072998046875, -0.006439208984375, 0.0181884765625, -0.01434326171875, -0.00006...
[ 11249, 35142, 678, 175199, 100, 35604, 11341, 23, 11907, 55300, 11782, 1238, 3949, 3742, 903, 294, 3611, 2053, 19305, 808, 121422, 441, 150, 2517, 235603, 24044, 103264, 62448, 163612, 40337, 133, 19659, 111337, 190647, 18151, 33342, 1884, 38...
[ 0.05706787109375, 0.1595458984375, 0.05462646484375, 0.253173828125, 0.119140625, 0.234619140625, 0.213134765625, 0.056396484375, 0.16943359375, 0.2183837890625, 0.17724609375, 0.04437255859375, 0.000396728515625, 0.1346435546875, 0.08154296875, 0.04193115234375, 0.1026611328125, 0...
embed
28794587_c0
28794587
fsharp
0
Title: How to return two values from F# to C# Problem title: How to return two values from F# to C# Tags: parameter-passing, f%23, c%23 Problem: How to return two values from F# to C# I have an F# function returning a string and an array to some C# code. I tried a few ways and did some searching to no avail. How is thi...
How to return two values from F# to C# How to return two values from F# to C# parameter-passing f%23 c%23 F# How Best ToString Tuple Ans Gen.Best XData ResultData How to return two values from F# to C# I have an F# function returning a string and an array to some C# code. I tried a few ways and did some searching to no...
[ 0.0286865234375, 0.01397705078125, -0.003143310546875, -0.0019073486328125, 0.015869140625, 0.004669189453125, -0.0037384033203125, -0.045166015625, 0.0146484375, 0.00634765625, 0.00408935546875, 0.00677490234375, -0.01287841796875, 0.0064697265625, -0.0026397705078125, -0.0078125, -...
[ 11249, 47, 30646, 6626, 142424, 1295, 563, 4904, 313, 171859, 13409, 1238, 3949, 3742, 11345, 717, 71713, 214, 1371, 8705, 15937, 110601, 1193, 137989, 126684, 32354, 79315, 136, 10298, 18151, 157318, 16940, 105376, 3564, 10644, 237, 309, 233...
[ 0.07763671875, 0.18115234375, 0.2509765625, 0.1968994140625, 0.2073974609375, 0.152099609375, 0.17333984375, 0.2425537109375, 0.1053466796875, 0.1689453125, 0.07861328125, 0.110595703125, 0.03924560546875, 0.1141357421875, 0.190673828125, 0.1102294921875, 0.115234375, 0.02920532226...
embed
36870086_c0
36870086
fsharp
0
Title: Compute NFA transitions in parallel Problem title: Compute NFA transitions in parallel Tags: parallel-processing, finite-automata, f%23 Problem: Compute NFA transitions in parallel I have this piece of code written in F#: type NondeterministicFiniteAutomaton = { initialState: string finalStates: string List tran...
Compute NFA transitions in parallel Compute NFA transitions in parallel parallel-processing finite-automata f%23 Compute NFA NondeterministicFiniteAutomaton List Map symbol:char state:string transitions:Map Map.tryFind input:string index:int input.Length x.IsNone x.Value Compute NFA transitions in parallel I have this ...
[ -0.0103759765625, -0.0032196044921875, -0.000728607177734375, 0.019287109375, -0.01446533203125, -0.01312255859375, 0.01239013671875, -0.01031494140625, -0.003082275390625, -0.0341796875, 0.002044677734375, 0.02734375, 0.01287841796875, 0.0294189453125, -0.019775390625, -0.003082275390...
[ 159415, 13, 541, 14676, 149307, 7, 23, 95103, 63923, 94418, 52344, 11, 1238, 3949, 3742, 438, 30524, 6159, 17094, 38115, 98731, 32036, 42719, 26582, 9254, 11341, 91693, 166179, 15123, 204582, 107730, 63262, 4288, 1022, 856, 50770, 18151, 563,...
[ 0.2099609375, 0.09716796875, 0.105712890625, 0.279541015625, 0.2493896484375, 0.071044921875, 0.0672607421875, 0.264404296875, 0.062164306640625, 0.1304931640625, 0.1494140625, 0.05792236328125, 0.020965576171875, 0.0213470458984375, 0.121337890625, 0.037109375, 0.1549072265625, 0....
embed
70778791_c0
70778791
fsharp
0
Title: How to assign the values for an HttpRequestMessage class? Problem title: How to assign the values for an HttpRequestMessage class? Tags: rest, f%23, dotnet-httpclient Problem: How to assign the values for an HttpRequestMessage class? I struggle with assigning values to an 'HttpRequestMessage' class. My code is: ...
How to assign the values for an HttpRequestMessage class? How to assign the values for an HttpRequestMessage class? rest f%23 dotnet-httpclient How HttpRequestMessage requestMsg.RequestUri System.Uri yh-finance.p.rapidapi.com BMW.DE requestMsg.Method HttpMethod.Post Method GET RequestUri Version Content Headers Options...
[ -0.0115966796875, 0.0301513671875, 0.0108642578125, 0.006103515625, -0.000041484832763671875, -0.00872802734375, 0.0016632080078125, 0.004486083984375, -0.00191497802734375, 0.0224609375, 0.019287109375, -0.00396728515625, 0.00147247314453125, -0.0005340576171875, -0.004241943359375, 0...
[ 11249, 47, 95486, 70, 142424, 100, 142, 572, 3062, 254, 4332, 75616, 594, 6011, 429, 18507, 10588, 3742, 20633, 1179, 5475, 222978, 50336, 7, 177, 1062, 416, 12353, 113, 127, 114584, 219, 44498, 1434, 19615, 8399, 78572, 7352, 74644, 7979...
[ 0.124267578125, 0.0789794921875, 0.26318359375, 0.0909423828125, 0.2479248046875, 0.1011962890625, 0.041015625, 0.07080078125, 0.1336669921875, 0.10198974609375, 0.09393310546875, 0.175537109375, 0.05712890625, 0.145751953125, 0.095947265625, 0.252197265625, 0.11474609375, 0.036590...
embed
34004642_c0
34004642
fsharp
0
Title: Select Single Node Value from XML using F# Problem title: Select Single Node Value from XML using F# Tags: f%23, xml Problem: Select Single Node Value from XML using F# I have a very simple xml file: <?xml version="1.0" encoding="utf-8"?> <package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd"...
Select Single Node Value from XML using F# Select Single Node Value from XML using F# f%23 xml XML F# Select Single Node Value utf-8 schemas.microsoft.com nuspec.xsd SomeSoftware Some Software XmlDocument XmlNamespaceManager xmlDocument.NameTable namespaces.AddNamespace xmlDocument.Load software.nuspec xmlDocument.Sele...
[ -0.01031494140625, 0.01055908203125, 0.005706787109375, -0.006927490234375, -0.0174560546875, 0.0012969970703125, -0.00115966796875, -0.0040283203125, -0.016357421875, 0.00482177734375, 0.013671875, -0.0419921875, -0.0223388671875, -0.017333984375, 0.0096435546875, 0.00079345703125, ...
[ 51620, 43609, 438, 112, 190060, 1295, 92537, 17368, 563, 4904, 1238, 3949, 3742, 131492, 486, 420, 17376, 61903, 138410, 315, 16711, 425, 7, 31384, 212118, 23752, 1193, 7237, 239469, 163612, 65421, 12662, 33730, 2886, 210716, 4028, 10975, 539...
[ 0.170654296875, 0.224609375, 0.1700439453125, 0.16162109375, 0.2313232421875, 0.090576171875, 0.2646484375, 0.055023193359375, 0.1597900390625, 0.2303466796875, 0.081787109375, 0.03546142578125, 0.1451416015625, 0.21435546875, 0.03277587890625, 0.03472900390625, 0.147216796875, 0.1...
embed
59609673_c1
59609673
fsharp
1
WithAny (str: string) (chars: char[]) = chars.Any (fun c -> str.StartsWith c) or this: let startsWithAny str (chars: char[]) = chars.Any (fun c -> (str :> string).StartsWith c) Update Due to some misunderstanding I'm extending my question. At the moment I'm mostly write on F# and trying to take advantage of each featur...
WithAny (str: string) (chars: char[]) = chars.Any (fun c -> str.StartsWith c) or this: let startsWithAny str (chars: char[]) = chars.Any (fun c -> (str :> string).StartsWith c) Update Due to some misunderstanding I'm extending my question. At the moment I'm mostly write on F# and trying to take advantage of each featur...
[ -0.003265380859375, 0.01104736328125, 0.013427734375, 0.0299072265625, -0.01007080078125, -0.023681640625, 0.0185546875, -0.01611328125, 0.01190185546875, -0.031494140625, 0.01513671875, 0.01007080078125, -0.01251220703125, 0.025146484375, -0.00122833251953125, -0.020263671875, 0.015...
[ 17106, 284, 299, 9297, 12, 79315, 9254, 21441, 2203, 16498, 501, 7704, 126597, 7, 194583, 2633, 4034, 28641, 65042, 3095, 153161, 33022, 563, 4904, 92940, 12638, 60213, 198555, 214, 2878, 38415, 28670, 10763, 20623, 76199, 10644, 53498, 17306...
[ 0.25927734375, 0.12255859375, 0.2431640625, 0.186279296875, 0.0394287109375, 0.255615234375, 0.1396484375, 0.1693115234375, 0.066650390625, 0.1463623046875, 0.115966796875, 0.22412109375, 0.16552734375, 0.03228759765625, 0.287841796875, 0.114501953125, 0.1937255859375, 0.0108642578...
embed
65373859_c1
65373859
fsharp
1
: int, ph: int)) = let f(x,y) = Point(int(round x), ph - int(round y)) let clst = Curve.toList c let ptLst = List.map f clst let pArr = Array.ofList ptLst let pen = new Pen(Color.Black) let draw(g: Graphics) = g.DrawLines(pen, pArr) let panel = new Panel(Dock=DockStyle.Fill) panel.Paint.Add(fun e -> draw(e.Graphics)) l...
: int, ph: int)) = let f(x,y) = Point(int(round x), ph - int(round y)) let clst = Curve.toList c let ptLst = List.map f clst let pArr = Array.ofList ptLst let pen = new Pen(Color.Black) let draw(g: Graphics) = g.DrawLines(pen, pArr) let panel = new Panel(Dock=DockStyle.Fill) panel.Paint.Add(fun e -> draw(e.Graphics)) l...
[ -0.00262451171875, 0.0118408203125, -0.01953125, -0.01312255859375, -0.0157470703125, -0.00052642822265625, 0.025390625, -0.005828857421875, -0.004241943359375, -0.016845703125, 0.00628662109375, -0.0079345703125, -0.01129150390625, -0.00052642822265625, 0.0184326171875, 0.010192871093...
[ 23, 18, 11521, 2203, 2633, 1238, 53, 41097, 4288, 67688, 1022, 113, 33139, 271, 17065, 272, 188, 154663, 27037, 32036, 62346, 69253, 4390, 5551, 4267, 1484, 97732, 79442, 189682, 81456, 93232, 2278, 16138, 84291, 8331, 209480, 5713, 8335, 4...
[ 0.1572265625, 0.1998291015625, 0.2244873046875, 0.042510986328125, 0.0859375, 0.116455078125, 0.043914794921875, 0.149658203125, 0.1766357421875, 0.0963134765625, 0.00091552734375, 0.0247955322265625, 0.008819580078125, 0.0546875, 0.1273193359375, 0.1138916015625, 0.10400390625, 0....
embed
48490668_c0
48490668
fsharp
0
Title: Resetting StreamReader F# Problem title: Resetting StreamReader F# Tags: .net, f%23, streamreader Problem: Resetting StreamReader F# I have the following method which I use for downloading data from GET requests: let fetchUrl callback url = let req = WebRequest.Create(Uri(url)) req.Method <- "GET" use resp = req...
Resetting StreamReader F# Resetting StreamReader F# .net f%23 streamreader a Resetting StreamReader WebRequest.Create Uri req.Method GET req.GetResponse resp.GetResponseStream IO.StreamReader reader:IO.StreamReader ChatMatch reader.ReadToEnd Cannot TextReader reader.BaseStream.Position int64 reader.DiscardBufferedData ...
[ -0.0036163330078125, 0.0238037109375, 0.019287109375, 0.006195068359375, 0.0032958984375, -0.0101318359375, 0.01708984375, 0.0084228515625, -0.01434326171875, -0.01531982421875, -0.0008544921875, -0.0167236328125, -0.0027008056640625, -0.0230712890625, 0.023681640625, -0.0201416015625,...
[ 853, 89840, 115061, 31345, 56, 563, 4904, 1179, 1238, 3949, 3742, 75973, 1283, 820, 4002, 4332, 75616, 130885, 456, 864, 78572, 7352, 79794, 94399, 13, 17780, 155255, 5, 18032, 79520, 7763, 152378, 10869, 24129, 63473, 7192, 172, 13307, 389...
[ 0.1456298828125, 0.2137451171875, 0.2054443359375, 0.2408447265625, 0.1287841796875, 0.132080078125, 0.155029296875, 0.171142578125, 0.08245849609375, 0.0008544921875, 0.148193359375, 0.186767578125, 0.2242431640625, 0.10546875, 0.0533447265625, 0.00970458984375, 0.083984375, 0.143...
embed
53214150_c0
53214150
fsharp
0
Title: Is there already or can I declare a more pipe friendly upcast? Problem title: Is there already or can I declare a more pipe friendly upcast? Tags: f%23 Problem: Is there already or can I declare a more pipe friendly upcast? I want to be able to just let upcast'<'T,'TResult when 'T :> 'TResult> (y:'T) = y |> upca...
Is there already or can I declare a more pipe friendly upcast? Is there already or can I declare a more pipe friendly upcast? f%23 TResult Test IReadOnlyCollection List.empty ResizeArray System.Collections.ObjectModel.ReadOnlyCollection Is there already or can I declare a more pipe friendly upcast? I want to be able to...
[ 0.01458740234375, 0.0194091796875, 0.00885009765625, 0.000041961669921875, -0.0107421875, -0.01953125, -0.0174560546875, -0.01031494140625, 0.0157470703125, -0.00653076171875, -0.0133056640625, 0.006927490234375, 0.010498046875, 0.00872802734375, 0.0042724609375, -0.01116943359375, 0...
[ 2071, 2685, 21771, 707, 831, 159978, 1286, 137158, 101786, 1257, 55741, 10, 1238, 3949, 3742, 14107, 90, 7136, 8647, 87, 31345, 20320, 538, 78457, 133, 32036, 33548, 853, 62539, 7614, 7092, 12353, 8996, 75161, 140290, 3444, 19048, 1660, 263...
[ 0.008392333984375, 0.087158203125, 0.1697998046875, 0.04461669921875, 0.0980224609375, 0.1932373046875, 0.1627197265625, 0.2032470703125, 0.221923828125, 0.1790771484375, 0.2423095703125, 0.01824951171875, 0.014434814453125, 0.0001220703125, 0.1383056640625, 0.0892333984375, 0.154907...
embed
21107014_c1
21107014
fsharp
1
\src\YC.edu\packages\WebSharper.2.5.92.21\tools\net45\IntelliFactory.Html.dll" -r "D:\projects\ycGit\YC.edu\src\YC.edu\packages\WebSharper.2.5.92.21\tools\net45\IntelliFactory.JavaScript.dll" -r "D:\projects\ycGit\YC.edu\src\YC.edu\packages\WebSharper.2.5.92.21\tools\net45\IntelliFactory.Reactive.dll" -r "D:\projects\y...
\src\YC.edu\packages\WebSharper.2.5.92.21\tools\net45\IntelliFactory.Html.dll" -r "D:\projects\ycGit\YC.edu\src\YC.edu\packages\WebSharper.2.5.92.21\tools\net45\IntelliFactory.JavaScript.dll" -r "D:\projects\ycGit\YC.edu\src\YC.edu\packages\WebSharper.2.5.92.21\tools\net45\IntelliFactory.Reactive.dll" -r "D:\projects\y...
[ -0.0228271484375, 0.00787353515625, 0.00543212890625, -0.0005950927734375, 0.01202392578125, -0.00034332275390625, -0.031005859375, -0.01141357421875, -0.0013427734375, -0.0216064453125, -0.01239013671875, 0.00836181640625, -0.03466796875, -0.02197265625, 0.0234375, 0.0118408203125, ...
[ 6, 41872, 19437, 1723, 441, 5, 15246, 29102, 52467, 30474, 294, 3467, 1264, 48413, 12231, 3117, 89110, 7, 1179, 4633, 185200, 150, 135518, 31667, 18, 7237, 71, 1181, 58, 20, 42, 44, 397, 12, 95322, 238, 724, 217, 156202, 147845, 53, 4...
[ 0.07269287109375, 0.1153564453125, 0.1884765625, 0.173583984375, 0.1832275390625, 0.03570556640625, 0.2484130859375, 0.23193359375, 0.08624267578125, 0.188232421875, 0.1090087890625, 0.26513671875, 0.27197265625, 0.1988525390625, 0.20458984375, 0.17626953125, 0.2578125, 0.023208618...
embed
671420_c0
671420
fsharp
0
Title: Static extension methods on Seq module Problem title: Static extension methods on Seq module Tags: extension-methods, f%23 Problem: Static extension methods on Seq module According to this post , F# supports extension methods on object instances and static classes. For example: module CollectionExtensions = type...
Static extension methods on Seq module Static extension methods on Seq module extension-methods f%23 Static Seq CollectionExtensions System.Linq.Enumerable RangeChar first:char last:char ExtensionFSharp.CollectionExtensions for_alli SeqExtensions Microsoft.FSharp.Collections.Seq Seq.mapi Seq.for_all Static extension me...
[ 0.00689697265625, 0.0260009765625, 0.033935546875, 0.00823974609375, -0.007568359375, -0.0081787109375, -0.003936767578125, 0.0006256103515625, -0.0146484375, -0.0179443359375, -0.01708984375, 0.010009765625, 0.006591796875, 0.0157470703125, 0.009033203125, -0.01434326171875, 0.00595...
[ 71465, 238, 111938, 150624, 503, 864, 88996, 7352, 1238, 3742, 68220, 19279, 128872, 12353, 44982, 2606, 56, 2886, 142462, 84068, 5117, 9254, 4568, 224545, 3467, 254, 78457, 133, 100, 65844, 7244, 8996, 4233, 1434, 5584, 1305, 563, 4904, 80...
[ 0.233642578125, 0.078369140625, 0.2529296875, 0.2122802734375, 0.1641845703125, 0.236083984375, 0.1839599609375, 0.040283203125, 0.0171051025390625, 0.084228515625, 0.16064453125, 0.027374267578125, 0.177734375, 0.0745849609375, 0.144287109375, 0.1102294921875, 0.0455322265625, 0.1...
embed
59206098_c1
59206098
fsharp
1
... let toDB2 (data:seq<IData>, aric: Aric, ainst: Ainst, astrike: Astrike, aetime: Aetime) = data |> Seq.map (fun (r:IData) -> (r.AllFields.["VALUE"].ToString(),r.AllFields.["VOLUME"].ToString(),r.Timestamp.Value.ToString("yyyy-MM-dd hh:mm:ss.fff"))) |> Seq.iter (fun (price, volume, time) -> (use cmd99 = new SqlComma...
... let toDB2 (data:seq<IData>, aric: Aric, ainst: Ainst, astrike: Astrike, aetime: Aetime) = data |> Seq.map (fun (r:IData) -> (r.AllFields.["VALUE"].ToString(),r.AllFields.["VOLUME"].ToString(),r.Timestamp.Value.ToString("yyyy-MM-dd hh:mm:ss.fff"))) |> Seq.iter (fun (price, volume, time) -> (use cmd99 = new SqlComma...
[ 0.0013580322265625, -0.00171661376953125, -0.00933837890625, 0.0264892578125, -0.0030670166015625, 0.01434326171875, -0.0186767578125, -0.0093994140625, 0.00848388671875, -0.0029144287109375, 0.01141357421875, 0.01483154296875, 0.016845703125, -0.017822265625, 0.004638671875, 0.0004825...
[ 153, 2633, 47, 39463, 304, 10135, 184, 864, 7146, 1724, 12259, 62, 73, 271, 92337, 13, 6032, 2053, 503, 62346, 16498, 42, 43512, 6159, 19388, 61152, 7763, 71713, 138016, 118173, 70059, 590, 34034, 25590, 4028, 51659, 2276, 4902, 16840, 52...
[ 0.05401611328125, 0.230224609375, 0.208984375, 0.2432861328125, 0.2200927734375, 0.0867919921875, 0.02239990234375, 0.1494140625, 0.013153076171875, 0.146728515625, 0.147216796875, 0.02020263671875, 0.023956298828125, 0.1112060546875, 0.1258544921875, 0.05145263671875, 0.18994140625,...
embed
61901090_c0
61901090
fsharp
0
Title: Getting the latest value in a time range or null Problem title: Getting the latest value in a time range or null Tags: apache-spark, apache-spark-sql, f%23 Problem: Getting the latest value in a time range or null I have a huge data set e.g. | Date | ID | Value | +------------+----+-------+ | 10-10-2020 | 1 | 1 ...
Getting the latest value in a time range or null Getting the latest value in a time range or null apache-spark apache-spark-sql f%23 now in Getting Date Value RangeBetween Result last2Days Window PartitionBy OrderBy Functions.Col Cast prev2Days WithColumn last2daysSum Functions.Sum Over prev2daysSum last4Days result2Da...
[ -0.012451171875, 0.0037384033203125, -0.000629425048828125, 0.02587890625, -0.0028076171875, -0.001129150390625, 0.006378173828125, -0.0067138671875, 0.005401611328125, -0.004669189453125, -0.00830078125, 0.0230712890625, 0.00518798828125, -0.0257568359375, 0.0164794921875, -0.00344848...
[ 210732, 70, 42850, 34292, 23, 1733, 37457, 707, 56574, 2241, 1430, 10237, 99247, 3742, 25512, 190060, 142462, 95211, 1177, 33, 126684, 4568, 304, 97141, 176501, 9148, 1363, 81206, 28670, 78457, 32301, 28468, 5636, 316, 9578, 617, 16750, 71723...
[ 0.1334228515625, 0.006256103515625, 0.1888427734375, 0.2232666015625, 0.0782470703125, 0.15478515625, 0.212158203125, 0.088623046875, 0.2578125, 0.08099365234375, 0.0587158203125, 0.150146484375, 0.15966796875, 0.0665283203125, 0.0653076171875, 0.1737060546875, 0.22119140625, 0.121...
embed
15272305_c0
15272305
fsharp
0
Title: What is the correct way to make a TcpListener handle connections asynchronously? Problem title: What is the correct way to make a TcpListener handle connections asynchronously? Tags: tcplistener, async-await, f%23, asynchronous Problem: What is the correct way to make a TcpListener handle connections asynchronou...
What is the correct way to make a TcpListener handle connections asynchronously? What is the correct way to make a TcpListener handle connections asynchronously? tcplistener async-await f%23 asynchronous What TcpListener ns_ NetworkStream bta_ HEAVY LIFTING Entering IPAddress IPAddress.Parse svr.Start Array.zeroCreate ...
[ -0.004241943359375, -0.0069580078125, -0.00946044921875, -0.005767822265625, 0.0023651123046875, -0.0230712890625, -0.001983642578125, 0.01214599609375, 0.0244140625, -0.0146484375, 0.0150146484375, 0.00982666015625, 0.009033203125, 0.014404296875, 0.01904296875, -0.005462646484375, ...
[ 4865, 26785, 3917, 3249, 384, 121422, 154663, 39060, 34831, 94878, 7, 10, 12654, 101966, 79850, 32, 808, 63844, 56, 7978, 217, 1238, 3949, 3742, 10821, 1779, 28997, 115061, 876, 102, 27544, 27816, 339, 29836, 8021, 161007, 28636, 12669, 42,...
[ 0.0191497802734375, 0.166259765625, 0.0770263671875, 0.071533203125, 0.0712890625, 0.2047119140625, 0.266845703125, 0.2373046875, 0.1683349609375, 0.1529541015625, 0.01153564453125, 0.032501220703125, 0.198974609375, 0.1832275390625, 0.0726318359375, 0.0023193359375, 0.0640869140625,...
embed
62341692_c0
62341692
fsharp
0
Title: Nested monad binding in F# Problem title: Nested monad binding in F# Tags: monads, f%23, f%23%2B Problem: Nested monad binding in F# Trying to wrap my mushy head around monads and binding Take this snippet for example, purely as a learning excersise open FSharpPlus open FSharpPlus.Data let lowerBounds i = if i >...
Nested monad binding in F# Nested monad binding in F# monads f%23 f%23%2B Nested FSharpPlus FSharpPlus.Data Error Seq.singleton Seq.map Nested monad binding in F# Trying to wrap my mushy head around monads and binding Take this snippet for example, purely as a learning excersise Whilst this executes, I don't like the r...
[ -0.0419921875, 0.03076171875, 0.01611328125, -0.000942230224609375, 0.028076171875, 0.015380859375, -0.01080322265625, -0.01708984375, 0.01324462890625, -0.0208740234375, 0.00762939453125, -0.01470947265625, 0.0089111328125, 0.035400390625, 0.01104736328125, 0.005706787109375, -0.002...
[ 28701, 71, 2667, 712, 128239, 563, 4904, 1238, 3742, 11587, 93774, 3467, 254, 88225, 137989, 212059, 503, 864, 6953, 133, 1507, 62346, 23, 40858, 137565, 79755, 53, 10336, 93, 58134, 52080, 3443, 3075, 71924, 2301, 18, 1884, 456, 89817, 3...
[ 0.25927734375, 0.15380859375, 0.1580810546875, 0.22705078125, 0.2186279296875, 0.129638671875, 0.2001953125, 0.0631103515625, 0.05059814453125, 0.000701904296875, 0.057373046875, 0.1461181640625, 0.06890869140625, 0.191162109375, 0.06683349609375, 0.0926513671875, 0.045440673828125, ...
embed
69819094_c0
69819094
fsharp
0
Title: PlayWright Code - Convert Async C# Code to F# Problem title: PlayWright Code - Convert Async C# Code to F# Tags: f%23 Problem: PlayWright Code - Convert Async C# Code to F# I'm having a bit of an issue converting some Microsoft playwright code from C# to F# Specifically this code: https://playwright.dev/dotnet/d...
PlayWright Code - Convert Async C# Code to F# PlayWright Code - Convert Async C# Code to F# f%23 PlayWright Convert Async Running page.RunAndWaitForNavigationAsync Triggers page.ClickAsync PageWaitForNavigationOptions UrlString UrlRegex Regex RegexOptions.IgnoreCase Async.AwaitTask page.Value.RunAndWaitForNavigationAsy...
[ -0.005584716796875, 0.00579833984375, 0.000499725341796875, -0.0068359375, -0.0081787109375, -0.00823974609375, 0.0013275146484375, -0.012939453125, 0.01092529296875, -0.00958251953125, 0.0179443359375, 0.01263427734375, -0.01092529296875, -0.00018596649169921875, 0.0184326171875, -0.0...
[ 11356, 1456, 54969, 28864, 1657, 11549, 62, 12654, 238, 313, 4904, 47, 563, 20, 1238, 3949, 3742, 28398, 9191, 163321, 37839, 22489, 24299, 4699, 21407, 181671, 39029, 3355, 11678, 11137, 634, 9874, 50770, 4785, 31089, 96760, 7244, 11301, 4...
[ 0.190673828125, 0.09820556640625, 0.206787109375, 0.2025146484375, 0.0452880859375, 0.154296875, 0.0242156982421875, 0.19482421875, 0.051300048828125, 0.045074462890625, 0.2025146484375, 0.08740234375, 0.116943359375, 0.005462646484375, 0.041900634765625, 0.020751953125, 0.1351318359...
embed
42034773_c0
42034773
fsharp
0
Title: &#x27;Invalid term in model formula&#x27; when calling R.armaFit Problem title: &#x27;Invalid term in model formula&#x27; when calling R.armaFit Tags: r.net, r, fslab, f%23 Problem: 'Invalid term in model formula' when calling R.armaFit I'm getting this message: Error in terms.formula(formula, data = data) : inv...
&#x27;Invalid term in model formula&#x27; when calling R.armaFit &#x27;Invalid term in model formula&#x27; when calling R.armaFit r.net r fslab f%23 Invalid R.armaFit R.eval R.parse R.data_frame data.frame r.net 'Invalid term in model formula' when calling R.armaFit I'm getting this message: When calling this code: The...
[ 0.004302978515625, 0.01141357421875, -0.0162353515625, 0.004241943359375, 0.007537841796875, -0.01458740234375, 0.037353515625, 0.00090789794921875, 0.004150390625, -0.0194091796875, 0.02685546875, -0.004669189453125, 0.0079345703125, -0.0108642578125, 0.00634765625, -0.0054931640625, ...
[ 3768, 4153, 7013, 71, 13579, 23, 3299, 26168, 159029, 627, 25271, 120962, 1690, 1179, 6114, 3742, 1405, 160328, 26008, 903, 18151, 18499, 185553, 390, 4568, 13315, 49146, 16530, 14214, 6780, 17997, 42, 141043, 51734, 1517, 6238, 12684 ]
[ 0.06640625, 0.063232421875, 0.167236328125, 0.021881103515625, 0.2239990234375, 0.045013427734375, 0.2103271484375, 0.2320556640625, 0.1168212890625, 0.11376953125, 0.1416015625, 0.235595703125, 0.045166015625, 0.081787109375, 0.1441650390625, 0.021026611328125, 0.09075927734375, 0...
embed
68597323_c1
68597323
fsharp
1
Error ex } I checked that the connection step is extremely fast (<1ms). pgAdmin seems to show that the PostGreSQL is mostly idle. I ran profiling on the code and none of this code seem to take any time. It's as if the time spent was in the driver, between my code and the database itself. Since I'm a newbie with PostGr...
Error ex } I checked that the connection step is extremely fast (<1ms). pgAdmin seems to show that the PostGreSQL is mostly idle. I ran profiling on the code and none of this code seem to take any time. It's as if the time spent was in the driver, between my code and the database itself. Since I'm a newbie with PostGr...
[ 0.002349853515625, 0.025390625, 0.00634765625, -0.00634765625, -0.006103515625, 0.007171630859375, -0.0081787109375, -0.03466796875, -0.0089111328125, -0.051513671875, 0.0208740234375, -0.01495361328125, 0.0093994140625, -0.0296630859375, -0.0166015625, 0.0164794921875, -0.0024719238...
[ 212059, 1119, 51912, 12765, 94878, 29954, 111531, 4271, 16093, 4432, 915, 177, 22409, 1249, 7639, 2795, 91127, 158897, 83, 153161, 17, 19298, 9468, 214, 18151, 351, 48903, 5646, 1733, 66933, 27941, 17721, 63399, 9014, 5809, 20594, 152240, 446...
[ 0.1995849609375, 0.15380859375, 0.04888916015625, 0.06634521484375, 0.1968994140625, 0.1539306640625, 0.068359375, 0.14111328125, 0.0207061767578125, 0.1243896484375, 0.0154876708984375, 0.084228515625, 0.1048583984375, 0.152099609375, 0.01031494140625, 0.1195068359375, 0.18090820312...
embed
64418503_c0
64418503
fsharp
0
Title: When to use Async.RunSynchronously, Async.map or let Problem title: When to use Async.RunSynchronously, Async.map or let Tags: f%23 Problem: When to use Async.RunSynchronously, Async.map or let Consider these 3 versions async { return! retrieved = client |> get tagIdOfQid None |> Async.Catch |> Async.map (functi...
When to use Async.RunSynchronously, Async.map or let When to use Async.RunSynchronously, Async.map or let f%23 When Async.RunSynchronously Async.map None Async.Catch Choice1Of2 IdOfQ When to use Async.RunSynchronously, Async.map or let Consider these 3 versions I want to pipe the result of the get to another computatio...
[ -0.02294921875, 0.0052490234375, 0.0140380859375, -0.0031890869140625, -0.01416015625, -0.0098876953125, -0.01055908203125, 0.00055694580078125, 0.0013427734375, -0.03125, -0.00531005859375, 0.01953125, -0.00164031982421875, -0.00628662109375, 0.0277099609375, -0.000518798828125, 0.0...
[ 14847, 4527, 62, 12654, 238, 163321, 217835, 127, 1900, 79850, 62346, 707, 2633, 5, 1238, 3949, 3742, 438, 76775, 181948, 132887, 304, 24799, 2737, 6097, 138, 11389, 3444, 137158, 16750, 2046, 47, 15700, 181135, 831, 15190, 48716, 38, 12823...
[ 0.088134765625, 0.1405029296875, 0.04461669921875, 0.227783203125, 0.1424560546875, 0.121826171875, 0.1243896484375, 0.08416748046875, 0.1561279296875, 0.1251220703125, 0.2257080078125, 0.0178985595703125, 0.2269287109375, 0.040283203125, 0.0643310546875, 0.04498291015625, 0.17724609...
embed
21839463_c0
21839463
fsharp
0
Title: Subtracting Records from a Set using case-insensitive comparison Problem title: Subtracting Records from a Set using case-insensitive comparison Tags: string-comparison, record, f%23 Problem: Subtracting Records from a Set using case-insensitive comparison I have a set of records: type Person = { Name : string A...
Subtracting Records from a Set using case-insensitive comparison Subtracting Records from a Set using case-insensitive comparison string-comparison record f%23 a case-insensitive Subtracting Records Set Person Name Age Doctor Yoda People Subtracting Records from a Set using case-insensitive comparison I have a set of r...
[ -0.0087890625, 0.00439453125, 0.018798828125, 0.029296875, -0.00885009765625, -0.0093994140625, -0.0184326171875, 0.027099609375, 0.01904296875, 0.01806640625, -0.000957489013671875, 0.022216796875, 0.00482177734375, 0.005859375, -0.01220703125, -0.0035400390625, 0.0218505859375, -...
[ 8273, 39989, 1916, 89916, 1295, 19943, 17368, 7225, 73, 176302, 13, 225490, 79315, 277, 24980, 1681, 17164, 1238, 3949, 3742, 15270, 15757, 72944, 52625, 6949, 85, 41021, 5423, 115923, 7941, 40899, 27781, 2053, 20653, 32497, 31344, 4552, 1017...
[ 0.1171875, 0.169677734375, 0.057373046875, 0.197265625, 0.1044921875, 0.1776123046875, 0.04241943359375, 0.1898193359375, 0.0888671875, 0.199462890625, 0.01129150390625, 0.2322998046875, 0.1822509765625, 0.0654296875, 0.13916015625, 0.05535888671875, 0.168212890625, 0.0260467529296...
embed
28467767_c0
28467767
fsharp
0
Title: Challenged to get ServiceStack self-hosted F# example that works on Windows, working on Docker Problem title: Challenged to get ServiceStack self-hosted F# example that works on Windows, working on Docker Tags: f%23, docker, servicestack Problem: Challenged to get ServiceStack self-hosted F# example that works o...
Challenged to get ServiceStack self-hosted F# example that works on Windows, working on Docker Challenged to get ServiceStack self-hosted F# example that works on Windows, working on Docker f%23 docker servicestack Challenged ServiceStack Windows Docker mono:3.10 RUN ADD WORKDIR SelfHost03 packages.config SelfHost03.sl...
[ -0.0052490234375, -0.0107421875, 0.021484375, 0.0084228515625, 0.00118255615234375, 0.001495361328125, 0.01116943359375, -0.0252685546875, -0.00017547607421875, 0.0224609375, 0.01422119140625, -0.0166015625, -0.0013580322265625, 0.018798828125, 0.00616455078125, -0.006256103515625, -...
[ 73630, 12349, 42378, 2594, 15970, 497, 563, 4904, 27781, 43240, 3773, 20697, 984, 11050, 71, 1238, 3742, 54, 102, 22460, 963, 130747, 24057, 231355, 123237, 55347, 11193, 9513, 98169, 153837, 38775, 104165, 44644, 85779, 46480, 193413, 9698, ...
[ 0.1636962890625, 0.12939453125, 0.169189453125, 0.131103515625, 0.079345703125, 0.123291015625, 0.1036376953125, 0.216796875, 0.1990966796875, 0.0823974609375, 0.146728515625, 0.0963134765625, 0.0927734375, 0.2197265625, 0.01800537109375, 0.000640869140625, 0.1107177734375, 0.01777...
embed
61987500_c0
61987500
fsharp
0
Title: Getting a random emoji/character from a unicode string Problem title: Getting a random emoji/character from a unicode string Tags: f%23, unicode Problem: Getting a random emoji/character from a unicode string My goal is to get a random emoticon, from a list, in F#. I started with this: let pickOne (icons: string...
Getting a random emoji/character from a unicode string Getting a random emoji/character from a unicode string f%23 unicode a Getting Helpers.random.Next icons.Length Length Getting a random emoji/character from a unicode string My goal is to get a random emoticon, from a list, in F#. I started with this: that doesn't w...
[ -0.02197265625, 0.004547119140625, 0.016357421875, 0.016845703125, -0.01025390625, 0.0159912109375, 0.010986328125, -0.00090789794921875, -0.003936767578125, 0, 0.012451171875, -0.025634765625, -0.000965118408203125, -0.0002593994140625, -0.003173828125, 0.0023193359375, -0.003005981...
[ 210732, 96759, 28, 121505, 64, 9254, 2263, 720, 1295, 60347, 112, 79315, 1238, 3742, 39527, 1314, 46258, 39, 81280, 47989, 449, 77554, 69236, 2046, 35347, 14, 2271, 5303, 563, 4904, 22027, 18, 4488, 30646, 5896, 140909, 14012, 21441, 20697,...
[ 0.10150146484375, 0.204345703125, 0.06982421875, 0.2178955078125, 0.0149383544921875, 0.03924560546875, 0.059112548828125, 0.045562744140625, 0.089599609375, 0.18701171875, 0.13818359375, 0.190185546875, 0.0523681640625, 0.111083984375, 0.1522216796875, 0.1356201171875, 0.12670898437...
embed
37042143_c0
37042143
fsharp
0
Title: Correctly calling method which refers to instance in ProvidedConstructor Problem title: Correctly calling method which refers to instance in ProvidedConstructor Tags: f%23, type-providers Problem: Correctly calling method which refers to instance in ProvidedConstructor How do I properly supply the code to a Prov...
Correctly calling method which refers to instance in ProvidedConstructor Correctly calling method which refers to instance in ProvidedConstructor f%23 type-providers Correctly ProvidedConstructor InvokeCode Utils Does NewGeneratedType BaseType Utils.someFun Foo baseType.GetConstructor BindingFlags.Public BindingFlags.I...
[ 0.0057373046875, 0.0152587890625, 0.0111083984375, 0.009521484375, -0.0167236328125, 0.006622314453125, 0.0113525390625, -0.01300048828125, 0.024658203125, -0.025634765625, 0.0031585693359375, -0.0021514892578125, 0.0038604736328125, 0.02587890625, -0.0166015625, -0.002410888671875, ...
[ 46348, 15390, 538, 159029, 55300, 3129, 15005, 47, 110527, 23, 123089, 71, 11935, 36716, 748, 1238, 3742, 10644, 93136, 14202, 360, 23253, 13, 114211, 3994, 7870, 101790, 2356, 135932, 2175, 297, 196707, 44978, 97249, 9572, 31, 3647, 724, 1...
[ 0.1790771484375, 0.1435546875, 0.049407958984375, 0.21923828125, 0.2021484375, 0.036590576171875, 0.177734375, 0.053863525390625, 0.267822265625, 0.054290771484375, 0.2064208984375, 0.1287841796875, 0.0665283203125, 0.19091796875, 0.1318359375, 0.042938232421875, 0.0887451171875, 0...
embed
3799998_c0
3799998
fsharp
0
Title: F# closure: Map reference cell is always empty Problem title: F# closure: Map reference cell is always empty Tags: cells, f%23, closures, reference Problem: F# closure: Map reference cell is always empty Given the following code: static member private getIntValue (_map:Map<string, int>) (_key:string) = if (_map....
F# closure: Map reference cell is always empty F# closure: Map reference cell is always empty cells f%23 closures reference Map _map:Map _key:string _map.ContainsKey _key _map _map.Add _getFn:Map Map.empty _getFn F# closure: Map reference cell is always empty Given the following code: ... the value of the dataMap refer...
[ -0.0042724609375, 0.0198974609375, 0.022216796875, 0.003936767578125, -0.0037841796875, -0.016845703125, 0.019287109375, 0.0028228759765625, 0.01177978515625, -0.006622314453125, -0.0203857421875, 0.0137939453125, -0.016357421875, 0.037353515625, 0.041259765625, -0.01348876953125, -0...
[ 563, 4904, 170224, 42719, 91067, 38750, 11343, 201505, 1238, 3742, 62346, 166179, 19770, 91693, 25500, 162429, 4028, 3794, 33548, 939, 18151, 34292, 2053, 5117, 13315, 32354, 80934, 7477, 2046, 137989, 919, 19, 618, 83, 108210, 757, 5941, 200...
[ 0.0828857421875, 0.1749267578125, 0.191162109375, 0.1961669921875, 0.21435546875, 0.2117919921875, 0.1253662109375, 0.2152099609375, 0.0460205078125, 0.052886962890625, 0.118896484375, 0.19677734375, 0.15771484375, 0.029144287109375, 0.062225341796875, 0.1094970703125, 0.000518798828...
embed
64107721_c1
64107721
fsharp
1
1 = ** Fst1 = ** GAM 1 = ** GAMap 1 = ** M1 = ** P1 = ** Position = ** TAU 1 = ** TAUap 1 = ** TS1 = ** TS2 = ** TS3 = ** Time = ** V = **; Row 6 ETA 1 = ** ETAap 1 = ** FGamR1 = ** Fst1 = ** GAM 1 = ** GAMap 1 = ** M1 = ** P1 = ** Position = ** TAU 1 = ** TAUap 1 = ** TS1 = ** TS2 = ** TS3 = ** Time = ** V = **; Row 7...
1 = ** Fst1 = ** GAM 1 = ** GAMap 1 = ** M1 = ** P1 = ** Position = ** TAU 1 = ** TAUap 1 = ** TS1 = ** TS2 = ** TS3 = ** Time = ** V = **; Row 6 ETA 1 = ** ETAap 1 = ** FGamR1 = ** Fst1 = ** GAM 1 = ** GAMap 1 = ** M1 = ** P1 = ** Position = ** TAU 1 = ** TAUap 1 = ** TS1 = ** TS2 = ** TS3 = ** Time = ** V = **; Row 7...
[ 0.0196533203125, 0.0130615234375, -0.0093994140625, 0.0208740234375, 0.01043701171875, -0.0079345703125, -0.0030517578125, 0.00653076171875, 0.006011962890625, 0.0177001953125, 0.0003509521484375, 0.0059814453125, 0.00099945068359375, -0.01226806640625, 0.0021209716796875, -0.004821777...
[ 106, 2203, 16459, 563, 271, 418, 127720, 23749, 166179, 276, 436, 99428, 20000, 384, 2631, 53800, 304, 363, 19055, 310, 96190, 305, 53958, 123254, 1052, 361, 382, 483, 69236, 28282, 17164, 678, 756, 111, 2053, 19048, 11782, 12638, 77336, ...
[ 0.086669921875, 0.057220458984375, 0.003082275390625, 0.0428466796875, 0.0908203125, 0.049102783203125, 0.178955078125, 0.10394287109375, 0.2000732421875, 0.0318603515625, 0.03009033203125, 0.1790771484375, 0.156005859375, 0.003753662109375, 0.114990234375, 0.0860595703125, 0.0725097...
embed
6099117_c0
6099117
fsharp
0
Title: having trouble using F# functions Problem title: having trouble using F# functions Tags: tail-recursion, f%23 Problem: having trouble using F# functions I am new to F# and trying to learn how to use recursive function in F#. I am trying to play around with creating my own function and am having trouble getting i...
having trouble using F# functions having trouble using F# functions tail-recursion f%23 F# System.Random List.init rnd.Next having trouble using F# functions I am new to F# and trying to learn how to use recursive function in F#. I am trying to play around with creating my own function and am having trouble getting it ...
[ 0.0027008056640625, 0.017333984375, 0.01513671875, -0.03076171875, -0.0007781982421875, 0.000301361083984375, -0.0147705078125, -0.03466796875, -0.005126953125, -0.015869140625, 0.01318359375, -0.0003757476806640625, 0.00433349609375, 0.01434326171875, 0.01611328125, -0.0067138671875, ...
[ 19441, 63134, 17368, 563, 4904, 32354, 46741, 107, 48650, 1830, 1238, 3949, 3742, 12353, 126525, 3815, 32036, 73, 217, 1690, 2208, 81280, 3525, 47, 31577, 30698, 4527, 195625, 5844, 11301, 10932, 105233, 10002, 136, 4488, 145755, 2060, 2046, ...
[ 0.06085205078125, 0.1754150390625, 0.129150390625, 0.145751953125, 0.22412109375, 0.2132568359375, 0.2318115234375, 0.09014892578125, 0.18505859375, 0.1102294921875, 0.08587646484375, 0.0226898193359375, 0.1102294921875, 0.0921630859375, 0.0826416015625, 0.1082763671875, 0.1363525390...
embed
71909740_c0
71909740
fsharp
0
Title: Reversing partial function parameters sequence Problem title: Reversing partial function parameters sequence Tags: currying, partial-application, f%23 Problem: Reversing partial function parameters sequence I want to write List.map (fun x -> x % 3) into a form like List.map ((%) 3) . The issue with the latter is...
Reversing partial function parameters sequence Reversing partial function parameters sequence currying partial-application f%23 Reversing List.map Reversing partial function parameters sequence I want to write List.map (fun x -> x % 3) into a form like List.map ((%) 3) . The issue with the latter is that it translates ...
[ -0.0235595703125, 0.030029296875, 0.01336669921875, -0.0017852783203125, -0.00286865234375, 0.005096435546875, 0.0269775390625, -0.01495361328125, 0.0123291015625, -0.01123046875, -0.00194549560546875, 0.0034332275390625, 0.0198974609375, 0.0137939453125, 0.0130615234375, -0.0079345703...
[ 853, 7864, 214, 2878, 289, 32354, 171859, 40, 944, 198555, 101687, 3949, 3742, 32036, 62346, 3444, 33022, 5, 16498, 1022, 33079, 8439, 3934, 3173, 1884, 26244, 581, 31089, 3900, 19309, 138, 7722, 1286, 42593, 6333, 54543, 563, 4904, 26267, ...
[ 0.071533203125, 0.2274169921875, 0.08575439453125, 0.1727294921875, 0.08660888671875, 0.133544921875, 0.222412109375, 0.03973388671875, 0.1104736328125, 0.186767578125, 0.1484375, 0.010040283203125, 0.0830078125, 0.213623046875, 0.2158203125, 0.0821533203125, 0.1490478515625, 0.030...
embed
2025845_c1
2025845
fsharp
1
a) { return a.Item1; } } Now I tried to use it on F#: MyClass.Add(4, 5) |> printf "%d" // prints ... (keep reading!) So, adding up the three quotations above, one can conclude that: F# will create a Tuple when it sees (4, 5) Then it will call the overload Add(Tuple<int, int>) So it will print 4 To my surprise, it prin...
a) { return a.Item1; } } Now I tried to use it on F#: MyClass.Add(4, 5) |> printf "%d" // prints ... (keep reading!) So, adding up the three quotations above, one can conclude that: F# will create a Tuple when it sees (4, 5) Then it will call the overload Add(Tuple<int, int>) So it will print 4 To my surprise, it prin...
[ -0.005279541015625, 0.0245361328125, 0.021240234375, 0.002532958984375, -0.004608154296875, -0.00518798828125, -0.0045166015625, -0.0067138671875, 0.00811767578125, -0.0296630859375, 0.00531005859375, -0.0098876953125, -0.007232666015625, 0.025634765625, 0.0147705078125, -0.01965332031...
[ 30646, 10, 2982, 418, 37842, 4527, 442, 98, 563, 4904, 2646, 140803, 284, 4028, 105801, 21162, 28412, 420, 3949, 71, 16454, 154107, 17262, 81732, 103876, 1221, 28282, 1371, 8705, 3229, 40, 9451, 4, 11782, 645, 63033, 29117, 15665, 4288, 2...
[ 0.0924072265625, 0.07122802734375, 0.1190185546875, 0.008331298828125, 0.0396728515625, 0.1378173828125, 0.048187255859375, 0.04473876953125, 0.1429443359375, 0.233642578125, 0.15673828125, 0.259521484375, 0.041717529296875, 0.1575927734375, 0.14453125, 0.196044921875, 0.2001953125, ...
embed
26561012_c0
26561012
fsharp
0
Title: How to get a working state machine in F# using functions for representing states? Problem title: How to get a working state machine in F# using functions for representing states? Tags: f%23, state-machine, recursion, mutual-recursion Problem: How to get a working state machine in F# using functions for represent...
How to get a working state machine in F# using functions for representing states? How to get a working state machine in F# using functions for representing states? f%23 state-machine recursion mutual-recursion functions How System Switching Bad Try Console.ReadLine EntryPoint How to get a working state machine in F# us...
[ -0.01055908203125, -0.015869140625, -0.00616455078125, 0.0242919921875, 0.00016117095947265625, -0.0137939453125, -0.008544921875, -0.002471923828125, -0.0059814453125, -0.01123046875, 0.017578125, 0.004974365234375, -0.01904296875, 0.0035552978515625, 0.021240234375, -0.00909423828125...
[ 11249, 2046, 20697, 11341, 36279, 563, 4904, 17368, 32354, 33636, 214, 117249, 47, 23, 1238, 3742, 103149, 195625, 199849, 107, 48650, 12353, 106101, 12745, 40858, 40777, 31345, 93232, 15123, 147534, 10, 100, 28282, 8781, 63134, 20949, 6626, ...
[ 0.046142578125, 0.08001708984375, 0.170166015625, 0.1949462890625, 0.231689453125, 0.1527099609375, 0.2352294921875, 0.062744140625, 0.205078125, 0.2237548828125, 0.08203125, 0.200439453125, 0.134521484375, 0.058135986328125, 0.08544921875, 0.10009765625, 0.156005859375, 0.18542480...
embed
18412564_c0
18412564
fsharp
0
Title: ODataService Type Provider error: (401) Unauthorized Problem title: ODataService Type Provider error: (401) Unauthorized Tags: odata, ssl, f%23, type-providers Problem: ODataService Type Provider error: (401) Unauthorized The type provider 'Microsoft.FSharp.Data.TypeProviders.DesignTime.DataProviders' reported a...
ODataService Type Provider error: (401) Unauthorized ODataService Type Provider error: (401) Unauthorized odata ssl f%23 type-providers ODataService Type Provider Unauthorized ODataService Type Provider error: (401) Unauthorized Is there a way to use the OData type provider with an OData service which requires a userna...
[ 0.018798828125, 0.032470703125, -0.0086669921875, -0.0050048828125, -0.00836181640625, -0.0213623046875, 0.001800537109375, 0.00640869140625, -0.00909423828125, -0.0174560546875, -0.021484375, -0.0218505859375, 0.001739501953125, 0.0045166015625, 0.0027008056640625, 0.0067138671875, ...
[ 180, 137989, 121979, 60457, 123089, 18499, 9451, 100991, 1003, 5922, 42, 36, 10135, 24861, 3949, 3742, 10644, 93136, 4228, 29367, 2071, 2685, 3917, 4527, 81450, 678, 4516, 144570, 38937, 11627, 78506, 71465, 171859, 12349, 1062, 416, 152, 793...
[ 0.198486328125, 0.2493896484375, 0.200439453125, 0.2164306640625, 0.187255859375, 0.1451416015625, 0.09619140625, 0.181396484375, 0.06817626953125, 0.12353515625, 0.016845703125, 0.149658203125, 0.201904296875, 0.1810302734375, 0.03302001953125, 0.1256103515625, 0.2288818359375, 0....
embed
1642201_c0
1642201
fsharp
0
Title: Your experiences with Matlab/F#/R for data analysis and modeling algorithms Problem title: Your experiences with Matlab/F#/R for data analysis and modeling algorithms Tags: r, matlab, f%23 Problem: Your experiences with Matlab/F#/R for data analysis and modeling algorithms I've been using F# for a while now to m...
Your experiences with Matlab/F#/R for data analysis and modeling algorithms Your experiences with Matlab/F#/R for data analysis and modeling algorithms r matlab f%23 Your Matlab Your experiences with Matlab/F#/R for data analysis and modeling algorithms I've been using F# for a while now to model algorithms before codi...
[ 0.01806640625, -0.00019359588623046875, 0.009033203125, 0.0130615234375, 0.0240478515625, -0.014892578125, 0.00128173828125, -0.007415771484375, 0.00064849853515625, -0.004150390625, 0.0084228515625, -0.01556396484375, -0.0028076171875, -0.0081787109375, -0.0002727508544921875, 0.00066...
[ 14804, 134858, 678, 7656, 6114, 64, 919, 4904, 1052, 100, 2053, 114137, 3299, 234873, 1690, 2589, 1238, 3949, 3742, 2809, 17368, 563, 12960, 5036, 8108, 552, 37223, 12765, 50339, 18151, 26548, 2773, 32554, 17164, 214, 442, 4552, 3535, 1284,...
[ 0.0628662109375, 0.1611328125, 0.06292724609375, 0.170654296875, 0.2357177734375, 0.067138671875, 0.10003662109375, 0.228515625, 0.1839599609375, 0.03729248046875, 0.09033203125, 0.1708984375, 0.1533203125, 0.154052734375, 0.1180419921875, 0.130126953125, 0.054046630859375, 0.02143...
embed
9677129_c0
9677129
fsharp
0
Title: Difference between list and [] in F# Problem title: Difference between list and [] in F# Tags: f%23, types, f%23-interactive, collections Problem: Difference between list and [] in F# I am porting some Haskell code to F# but a bit confused about the collections available and their signatures in F#. My understand...
Difference between list and [] in F# Difference between list and [] in F# f%23 types f%23-interactive collections Difference List Seq Array Difference between list and [] in F# I am porting some Haskell code to F# but a bit confused about the collections available and their signatures in F#. My understanding is that el...
[ 0.01495361328125, 0.0093994140625, 0.005950927734375, 0.0174560546875, -0.01318359375, -0.01019287109375, -0.0101318359375, 0.020751953125, 0.010498046875, 0.047119140625, 0.00173187255859375, 0.00543212890625, -0.00007200241088867188, 0.015625, 0.003997802734375, 0.0001101493835449218...
[ 803, 18234, 6620, 17721, 5303, 136, 378, 563, 4904, 23, 1238, 3742, 52895, 27495, 10433, 71232, 42486, 32036, 503, 864, 69253, 53, 20625, 142508, 18151, 55681, 19882, 138256, 100094, 80854, 155648, 40, 26513, 10298, 58745, 5337, 28282, 116419...
[ 0.09600830078125, 0.2025146484375, 0.05389404296875, 0.1107177734375, 0.2325439453125, 0.1082763671875, 0.1112060546875, 0.143310546875, 0.2142333984375, 0.0748291015625, 0.0772705078125, 0.032012939453125, 0.176513671875, 0.044586181640625, 0.0390625, 0.1060791015625, 0.191528320312...
embed
45507357_c1
45507357
fsharp
1
desired parameters in terms of table/object names. However, if I move the code // above the Model and replace DbSet<Customer> with DbSet<'T> this won't work since it won't // know what type 'T is at this point. I suspect I need a generic function (method?) that // I can create a new instance of later and replace the g...
desired parameters in terms of table/object names. However, if I move the code // above the Model and replace DbSet<Customer> with DbSet<'T> this won't work since it won't // know what type 'T is at this point. I suspect I need a generic function (method?) that // I can create a new instance of later and replace the g...
[ 0.005126953125, 0.0234375, 0.018798828125, 0.006805419921875, 0.002197265625, 0.0069580078125, -0.00946044921875, -0.00262451171875, 0.0172119140625, -0.032958984375, -0.00970458984375, -0.0027313232421875, 0.01287841796875, 0.0169677734375, 0.0021820068359375, 0.02001953125, 0.00149...
[ 104851, 71, 171859, 7, 69407, 23180, 187694, 123055, 33306, 25813, 18151, 36917, 13293, 91995, 391, 275, 294, 126, 441, 63749, 1991, 618, 23742, 18, 4488, 3714, 10644, 903, 6275, 92610, 3871, 189534, 32354, 1928, 7352, 28282, 3525, 110527, ...
[ 0.1651611328125, 0.07470703125, 0.2239990234375, 0.0814208984375, 0.0311126708984375, 0.17724609375, 0.163818359375, 0.10498046875, 0.001312255859375, 0.10223388671875, 0.1646728515625, 0.1392822265625, 0.2001953125, 0.180908203125, 0.0516357421875, 0.1351318359375, 0.1405029296875, ...
embed
48941269_c0
48941269
fsharp
0
Title: Make two functions mutually in scope Problem title: Make two functions mutually in scope Tags: f%23 Problem: Make two functions mutually in scope How do we make two functions mutually aware of each other? For instance, in the following code, how can we make ping and pong call each other? module PingPong = let po...
Make two functions mutually in scope Make two functions mutually in scope f%23 Make PingPong EntryPoint Make two functions mutually in scope How do we make two functions mutually aware of each other? For instance, in the following code, how can we make ping and pong call each other? Edit: Since writing the question, we...
[ -0.01495361328125, -0.005279541015625, 0.0020904541015625, 0.031982421875, 0.0024261474609375, 0.01275634765625, 0.0022430419921875, 0.01519775390625, 0.0087890625, -0.0024871826171875, -0.000278472900390625, 0.005950927734375, -0.00133514404296875, 0.021484375, 0.026123046875, 0.01214...
[ 26176, 6626, 32354, 7, 199849, 538, 23, 70820, 1238, 3949, 3742, 135668, 683, 4021, 357, 15123, 147534, 11249, 54, 642, 3249, 107419, 111, 12638, 3789, 25632, 18151, 3642, 831, 33429, 136, 114007, 11782, 563, 4904, 61391, 2685, 5036, 88996,...
[ 0.15576171875, 0.2100830078125, 0.236083984375, 0.045440673828125, 0.2088623046875, 0.158935546875, 0.1319580078125, 0.26318359375, 0.019073486328125, 0.026458740234375, 0.1080322265625, 0.1834716796875, 0.127197265625, 0.2054443359375, 0.08270263671875, 0.1607666015625, 0.1682128906...
embed
35402688_c0
35402688
fsharp
0
Title: Inserting into a list alphabetically F# internal error Problem title: Inserting into a list alphabetically F# internal error Tags: f%23 Problem: Inserting into a list alphabetically F# internal error I'm trying to write a recursive insert function that takes as parameters a string, a int, and a string*int list. ...
Inserting into a list alphabetically F# internal error Inserting into a list alphabetically F# internal error f%23 Inserting StringList name:string a:string s:StringList FS0193 Object Inserting into a list alphabetically F# internal error I'm trying to write a recursive insert function that takes as parameters a string...
[ -0.005645751953125, -0.0089111328125, 0.0181884765625, 0.025634765625, -0.0048828125, 0.00982666015625, -0.0194091796875, -0.0238037109375, -0.00848388671875, 0.03271484375, 0.03125, -0.00726318359375, 0.003173828125, 0.0025177001953125, 0.0034637451171875, -0.0012969970703125, 0.011...
[ 360, 2189, 1916, 3934, 5303, 229231, 71407, 563, 4904, 70796, 18499, 10, 1238, 3742, 23351, 154663, 9351, 91693, 91, 71713, 93774, 11591, 134549, 31577, 33022, 195625, 5844, 183540, 32354, 51776, 237, 171859, 79315, 23, 18, 1639, 4288, 11782,...
[ 0.0830078125, 0.196044921875, 0.0214996337890625, 0.1981201171875, 0.1883544921875, 0.1700439453125, 0.07098388671875, 0.1190185546875, 0.16845703125, 0.2037353515625, 0.1944580078125, 0.0550537109375, 0.050262451171875, 0.12158203125, 0.1214599609375, 0.146484375, 0.08917236328125, ...
embed
30014947_c0
30014947
fsharp
0
Title: Seq.map and Seq.mapi optimize away side effects when anonymous function returns unit? Problem title: Seq.map and Seq.mapi optimize away side effects when anonymous function returns unit? Tags: side-effects, seq, f%23, dictionary Problem: Seq.map and Seq.mapi optimize away side effects when anonymous function ret...
Seq.map and Seq.mapi optimize away side effects when anonymous function returns unit? Seq.map and Seq.mapi optimize away side effects when anonymous function returns unit? side-effects seq f%23 dictionary Seq.map Seq.mapi Seq.iter Seq.iteri Seq.last Seq.map and Seq.mapi optimize away side effects when anonymous functio...
[ 0.0142822265625, 0.0142822265625, 0.0185546875, 0.00051116943359375, -0.01019287109375, -0.01025390625, 0.01495361328125, 0.0181884765625, -0.01031494140625, 0.0098876953125, -0.00628662109375, 0.0169677734375, 0.01373291015625, 0.0137939453125, 0.0289306640625, 0.0091552734375, -0.0...
[ 503, 864, 62346, 136, 192, 1434, 15572, 20650, 16065, 5609, 93425, 52184, 10821, 32354, 30646, 25072, 171760, 40, 1238, 3949, 3742, 10763, 16840, 14465, 19777, 8, 978, 163, 432, 47691, 67, 98767, 645, 944, 3956, 91995, 28412, 14783, 11782, ...
[ 0.0997314453125, 0.21630859375, 0.231201171875, 0.01629638671875, 0.1351318359375, 0.22412109375, 0.1435546875, 0.045440673828125, 0.1385498046875, 0.157470703125, 0.2008056640625, 0.1981201171875, 0.06787109375, 0.166748046875, 0.1737060546875, 0.1807861328125, 0.1851806640625, 0....
embed
1555457_c0
1555457
fsharp
0
Title: Using F#&#x27;s built-in async support with *Async() methods Problem title: Using F#&#x27;s built-in async support with *Async() methods Tags: webclient, f%23, asynchronous Problem: Using F#'s built-in async support with *Async() methods How do I use F#'s built-in support for async operations classes exposing th...
Using F#&#x27;s built-in async support with *Async() methods Using F#&#x27;s built-in async support with *Async() methods webclient f%23 asynchronous Using Async Download Uri WebClient client.DownloadString client.DownloadStringAsync Using F#'s built-in async support with *Async() methods How do I use F#'s built-in sup...
[ -0.034912109375, 0.008544921875, 0.0167236328125, -0.004150390625, 0.01904296875, -0.0012969970703125, -0.0294189453125, 0.0220947265625, 0.00885009765625, -0.03271484375, -0.006591796875, -0.0003719329833984375, 0.006988525390625, -0.00162506103515625, 0.005584716796875, -0.0142822265...
[ 345, 563, 4904, 3768, 88303, 73, 10, 12654, 238, 8060, 678, 661, 284, 132, 150624, 1467, 222978, 1238, 3742, 101966, 62, 4857, 130885, 4002, 441, 150, 2517, 23282, 144786, 71713, 214, 4527, 41018, 61112, 58309, 36943, 77007, 9876, 18507, ...
[ 0.060546875, 0.1358642578125, 0.2005615234375, 0.06732177734375, 0.135986328125, 0.126953125, 0.065673828125, 0.2462158203125, 0.1302490234375, 0.232177734375, 0.0278778076171875, 0.090087890625, 0.037322998046875, 0.0645751953125, 0.1424560546875, 0.0469970703125, 0.15087890625, 0...
embed
33630189_c0
33630189
fsharp
0
Title: How do I split up a collection by number of elements? Problem title: How do I split up a collection by number of elements? Tags: f%23 Problem: How do I split up a collection by number of elements? How do I split up a collection by number of elements? For example, if I have the following: 0,1,2,3,4,5,6,7,8 How co...
How do I split up a collection by number of elements? How do I split up a collection by number of elements? f%23 How TicTacToe FsUnit NUnit.Framework Test Map.empty Add Seq.take Seq.forall x.Value Seq.skip How do I split up a collection by number of elements? How do I split up a collection by number of elements? For ex...
[ -0.00023555755615234375, 0.023193359375, -0.00543212890625, 0.01409912109375, -0.02294921875, -0.0126953125, -0.0009307861328125, 0.0035247802734375, 0.00946044921875, 0.0033111572265625, -0.00927734375, 0.0137939453125, 0.01092529296875, 0.0272216796875, -0.0135498046875, 0.0019989013...
[ 11249, 54, 87, 65450, 1257, 10, 42486, 390, 14012, 80854, 1238, 3949, 3742, 133552, 618, 2263, 7763, 13, 563, 7, 85600, 18057, 6773, 108386, 18244, 8647, 42719, 33548, 939, 29117, 503, 864, 78219, 5584, 1022, 50770, 44024, 27781, 2174, 76...
[ 0.10888671875, 0.048126220703125, 0.0484619140625, 0.225341796875, 0.1888427734375, 0.09002685546875, 0.290771484375, 0.1212158203125, 0.1865234375, 0.2330322265625, 0.0648193359375, 0.006866455078125, 0.09722900390625, 0.1708984375, 0.1031494140625, 0.12646484375, 0.19091796875, 0...
embed
33010648_c0
33010648
fsharp
0
Title: JsonProvider failed to parse JSON from API written myself Problem title: JsonProvider failed to parse JSON from API written myself Tags: f%23, f%23-data Problem: JsonProvider failed to parse JSON from API written myself I write an API using springMVC.It's a simple API, I just use it to test JsonProvider. @Respon...
JsonProvider failed to parse JSON from API written myself JsonProvider failed to parse JSON from API written myself f%23 f%23-data API JsonProvider JSON ResponseBody RequestMapping RequestMethod.GET TestClass HttpServletRequest HttpServletResponse this.name Severity Description Project File Line Error ProviderImplement...
[ -0.0228271484375, 0.04443359375, -0.0079345703125, 0.000476837158203125, -0.006011962890625, 0.0101318359375, 0.0198974609375, -0.00171661376953125, -0.00982666015625, -0.00057220458984375, -0.00193023681640625, 0.01361083984375, -0.0027313232421875, -0.00701904296875, 0.0361328125, -0...
[ 821, 1681, 177997, 62160, 165523, 366, 184, 58627, 1295, 61687, 59121, 35978, 3742, 1238, 10135, 92748, 12647, 4613, 8647, 140803, 75616, 903, 48752, 70643, 27331, 42724, 16777, 212059, 123089, 19929, 1375, 10869, 7013, 7663, 17447, 3467, 254, ...
[ 0.1375732421875, 0.1697998046875, 0.1998291015625, 0.1590576171875, 0.1448974609375, 0.14404296875, 0.0728759765625, 0.2034912109375, 0.034576416015625, 0.2144775390625, 0.118408203125, 0.1627197265625, 0.02288818359375, 0.01104736328125, 0.056884765625, 0.0271759033203125, 0.0145263...
embed
52544541_c0
52544541
fsharp
0
Title: Computation expression custom operation with multiple parameters Problem title: Computation expression custom operation with multiple parameters Tags: f%23, computation-expression Problem: Computation expression custom operation with multiple parameters I am creating a DSL for C4 model diagrams. 1st stab at it i...
Computation expression custom operation with multiple parameters Computation expression custom operation with multiple parameters f%23 computation-expression Computation SystemLandscapeDiagramBuilder __.Yield SystemLandscapeDiagram SystemLandscapeDiagram.init CustomOperation __.User SystemLandscapeDiagram.addPerson Com...
[ -0.00262451171875, 0.01007080078125, -0.0008697509765625, 0.0108642578125, -0.02490234375, 0.00762939453125, 0.01953125, 0.00136566162109375, 0.010498046875, -0.024169921875, -0.01214599609375, 0.01312255859375, 0.00927734375, -0.00927734375, 0.00127410888671875, 0.003448486328125, 0...
[ 159415, 125195, 114122, 41018, 678, 48716, 171859, 2320, 1238, 3949, 3742, 181135, 204629, 12353, 98224, 72838, 25561, 121137, 56, 19388, 130664, 156823, 1062, 2189, 94646, 4028, 160054, 105233, 114479, 313, 617, 3299, 117233, 84797, 10975, 23755...
[ 0.1748046875, 0.2332763671875, 0.2130126953125, 0.222412109375, 0.046783447265625, 0.2208251953125, 0.242919921875, 0.020599365234375, 0.022125244140625, 0.048858642578125, 0.1190185546875, 0.1748046875, 0.158203125, 0.0595703125, 0.0574951171875, 0.0479736328125, 0.091552734375, 0...
embed
55615859_c0
55615859
fsharp
0
Title: Memory management with WPF Canvas - High number of (identical) objects Problem title: Memory management with WPF Canvas - High number of (identical) objects Tags: canvas, f%23, memory-management, wpf Problem: Memory management with WPF Canvas - High number of (identical) objects Q: Can a WPF Canvas draw the same...
Memory management with WPF Canvas - High number of (identical) objects Memory management with WPF Canvas - High number of (identical) objects canvas f%23 memory-management wpf Memory WPF Canvas High Children.Add System.GC.Collect Memory management with WPF Canvas - High number of (identical) objects Q: Can a WPF Canvas...
[ -0.00909423828125, 0.007781982421875, -0.004302978515625, -0.00189208984375, -0.00101470947265625, -0.007568359375, -0.001678466796875, 0.00762939453125, 0.0128173828125, -0.01318359375, 0.00070953369140625, 0.00421142578125, 0.031982421875, 0.006500244140625, -0.00836181640625, 0.0033...
[ 172681, 24365, 678, 601, 41265, 4171, 4079, 19694, 14012, 6382, 70760, 36746, 831, 1238, 3949, 3742, 98323, 87140, 148, 39557, 91345, 4028, 12353, 69657, 78457, 8996, 2396, 79442, 5701, 123829, 707, 44677, 8110, 12638, 64, 187694, 36998, 188,...
[ 0.202880859375, 0.193359375, 0.061248779296875, 0.1094970703125, 0.2408447265625, 0.162841796875, 0.2255859375, 0.1396484375, 0.095947265625, 0.134765625, 0.101318359375, 0.178955078125, 0.109619140625, 0.001708984375, 0.0128173828125, 0.100830078125, 0.2298583984375, 0.17712402343...
embed
55279763_c0
55279763
fsharp
0
Title: ToString() override in F# doesn&#x27;t work for a type containing another type Problem title: ToString() override in F# doesn&#x27;t work for a type containing another type Tags: f%23 Problem: ToString() override in F# doesn't work for a type containing another type I have a type 'Team' which contains another ty...
ToString() override in F# doesn&#x27;t work for a type containing another type ToString() override in F# doesn&#x27;t work for a type containing another type f%23 ToString Employee this.ToString Hello this.name Team employee1 this.ToTightString Replace Bob Unknown employee.ToString Override OUTPUT team.ToTightString To...
[ 0.0130615234375, -0.005401611328125, -0.00213623046875, 0.037841796875, -0.0091552734375, -0.01446533203125, 0.000270843505859375, 0.00958251953125, -0.000476837158203125, 0.02587890625, -0.0120849609375, 0.029541015625, 0.018310546875, 0.01446533203125, 0.0184326171875, 0.007263183593...
[ 717, 71713, 214, 132, 645, 416, 112, 563, 4904, 22027, 3768, 18, 4488, 100, 10644, 70541, 15700, 23, 1238, 3742, 31678, 365, 1033, 903, 7763, 35378, 11627, 11399, 188183, 418, 618, 22553, 853, 23935, 25027, 992, 69723, 9578, 52001, 124599...
[ 0.228271484375, 0.238525390625, 0.2000732421875, 0.0928955078125, 0.1512451171875, 0.206298828125, 0.132080078125, 0.1219482421875, 0.1923828125, 0.035186767578125, 0.07220458984375, 0.0743408203125, 0.133544921875, 0.062255859375, 0.1976318359375, 0.133056640625, 0.082763671875, 0...
embed
38064056_c0
38064056
fsharp
0
Title: F# project with typeprovider using dotnet-core in linux, FSharp.Data.DesignTime.dll error Problem title: F# project with typeprovider using dotnet-core in linux, FSharp.Data.DesignTime.dll error Tags: .net-core, f%23, linux Problem: F# project with typeprovider using dotnet-core in linux, FSharp.Data.DesignTime....
F# project with typeprovider using dotnet-core in linux, FSharp.Data.DesignTime.dll error F# project with typeprovider using dotnet-core in linux, FSharp.Data.DesignTime.dll error .net-core f%23 linux dotnet-core FSharp.Data.DesignTime.dll FSharp.Data Program.fs Microsoft.FSharp.Core.netcore alpha-160316 Microsoft.NETC...
[ -0.00396728515625, 0.0245361328125, -0.00885009765625, 0.011474609375, 0.007781982421875, -0.01153564453125, 0.004241943359375, 0.000873565673828125, -0.02587890625, -0.01611328125, 0.000507354736328125, -0.002227783203125, 0.002471923828125, 0.0152587890625, -0.0006103515625, 0.008666...
[ 563, 4904, 13452, 678, 10644, 93136, 820, 17368, 20633, 1179, 30854, 11508, 6077, 93774, 3467, 254, 137989, 128640, 70059, 71, 1181, 18499, 23, 5, 1238, 3949, 3742, 7663, 17447, 7244, 36381, 50886, 14612, 9513, 17777, 39179, 425, 2525, 1686...
[ 0.1328125, 0.224853515625, 0.131591796875, 0.057464599609375, 0.1954345703125, 0.1915283203125, 0.06207275390625, 0.024871826171875, 0.1484375, 0.213134765625, 0.1751708984375, 0.1204833984375, 0.1241455078125, 0.154052734375, 0.2127685546875, 0.1868896484375, 0.178466796875, 0.194...
embed
35640711_c0
35640711
fsharp
0
Title: This value is not a function and cannot be applied - F# Problem title: This value is not a function and cannot be applied - F# Tags: f%23 Problem: This value is not a function and cannot be applied - F# // Learn more about F# at http://fsharp.org // See the 'F# Tutorial' project for more help. open System let hi...
This value is not a function and cannot be applied - F# This value is not a function and cannot be applied - F# f%23 Learn fsharp.org See Tutorial System Random rng.Next Guess Console.ReadLine Int32.Parse You EntryPoint This value is not a function and cannot be applied - F# I've checked this code like a thousand times...
[ -0.0152587890625, 0.002532958984375, 0.006072998046875, -0.0294189453125, 0.01287841796875, 0.005401611328125, -0.0128173828125, -0.01300048828125, 0.003173828125, 0.00433349609375, -0.00141143798828125, 0.0166015625, -0.003387451171875, 0.0115966796875, 0.0296630859375, -0.01409912109...
[ 3293, 34292, 83, 959, 10, 32354, 136, 53418, 186, 190659, 563, 4904, 1238, 3742, 134031, 89280, 254, 1478, 183447, 12353, 39643, 306, 449, 81280, 96274, 7, 40777, 31345, 93232, 18, 6460, 28636, 184, 2583, 357, 15123, 147534, 12765, 903, 1...
[ 0.1334228515625, 0.2010498046875, 0.1318359375, 0.2412109375, 0.1187744140625, 0.189697265625, 0.0589599609375, 0.1993408203125, 0.059112548828125, 0.193115234375, 0.0836181640625, 0.1937255859375, 0.0819091796875, 0.1142578125, 0.0086669921875, 0.1556396484375, 0.117431640625, 0.0...
embed
45088899_c0
45088899
fsharp
0
Title: How can I map over a record using interfaces Problem title: How can I map over a record using interfaces Tags: generics, f%23 Problem: How can I map over a record using interfaces given the following types and value type Item<'a, 'b> = Item of 'a * 'b type X<'a, 'b> = { y: Item<'a, int> z: Item<'b, bool> } let a...
How can I map over a record using interfaces How can I map over a record using interfaces generics f%23 interfaces How Item ITransform Apply f:ITransform f.Apply __.Apply How can I map over a record using interfaces given the following types and value I want to create a generic mapping function using interfaces and obj...
[ -0.0181884765625, -0.0123291015625, 0.01239013671875, 0.00579833984375, -0.0014495849609375, -0.0140380859375, -0.023193359375, 0.01129150390625, 0.005584716796875, -0.0225830078125, 0.021484375, 0.0003910064697265625, -0.0013580322265625, 0.002777099609375, 0.0157470703125, 0.00024414...
[ 11249, 831, 87, 22288, 645, 17164, 17368, 101758, 7, 10, 189534, 1238, 3742, 78426, 62624, 5037, 5659, 538, 568, 39179, 34475, 25632, 52895, 136, 34292, 3444, 28282, 291, 26783, 32354, 36746, 125195, 51515, 2060, 18499, 99, 97, 2203, 3546, ...
[ 0.09344482421875, 0.1031494140625, 0.1163330078125, 0.2293701171875, 0.2022705078125, 0.245361328125, 0.1197509765625, 0.2705078125, 0.04827880859375, 0.0243682861328125, 0.2371826171875, 0.1259765625, 0.102783203125, 0.170654296875, 0.14111328125, 0.2496337890625, 0.09521484375, 0...
embed
20069581_c0
20069581
fsharp
0
Title: Why this function is not tail-recursive? Problem title: Why this function is not tail-recursive? Tags: tail-recursion, .net, f%23, lazy-evaluation Problem: Why this function is not tail-recursive? I want to read data as it's appearing in a file (the data is written by another process). Something like "continuous...
Why this function is not tail-recursive? Why this function is not tail-recursive? tail-recursion .net f%23 lazy-evaluation Why StreamReader r.EndOfStream r.ReadLine None Some Sleeping Thread.Sleep Why this function is not tail-recursive? I want to read data as it's appearing in a file (the data is written by another pr...
[ 0.01531982421875, 0.0157470703125, 0.01373291015625, -0.0023956298828125, 0.0191650390625, 0.0021514892578125, 0.006072998046875, -0.01458740234375, -0.0047607421875, -0.02099609375, 0.026123046875, 0.00154876708984375, -0.01324462890625, 0.006561279296875, 0.057373046875, 0.0084838867...
[ 44084, 903, 32354, 83, 959, 46741, 107, 48650, 5844, 1830, 1179, 21, 3285, 159258, 115061, 31345, 56, 1690, 152378, 132887, 93232, 438, 31384, 132140, 214, 136719, 133, 4517, 3444, 12301, 2053, 237, 108975, 11435, 59121, 15700, 9433, 133891, ...
[ 0.1202392578125, 0.08154296875, 0.181640625, 0.092529296875, 0.191162109375, 0.279541015625, 0.1171875, 0.217529296875, 0.1553955078125, 0.1190185546875, 0.043487548828125, 0.047882080078125, 0.1435546875, 0.14013671875, 0.177978515625, 0.2152099609375, 0.09918212890625, 0.02709960...
embed
22259942_c1
22259942
fsharp
1
from database } else if (request is RequestTypeB) { // attempt to retreive from database } // ... etc if (querySuccessful) { return new QueryResponse(databaseResults); } else { return new QueryResponse("Error"); } } Action<HttpListenerContext> requestParser = (context) => { Action<QueryResponse> writeResponse = (respo...
from database } else if (request is RequestTypeB) { // attempt to retreive from database } // ... etc if (querySuccessful) { return new QueryResponse(databaseResults); } else { return new QueryResponse("Error"); } } Action<HttpListenerContext> requestParser = (context) => { Action<QueryResponse> writeResponse = (respo...
[ 0.0023193359375, 0.047607421875, 0.0035247802734375, 0.0023651123046875, -0.015869140625, 0.0091552734375, -0.00238037109375, -0.02490234375, 0.007415771484375, -0.01275634765625, 0.0081787109375, 0.01153564453125, 0.000507354736328125, -0.0021514892578125, 0.00732421875, 0.00811767578...
[ 1295, 63399, 51912, 37076, 2174, 107, 75616, 83, 853, 196707, 571, 4666, 81887, 47, 10267, 5844, 3021, 944, 1294, 14168, 238, 26531, 7844, 30646, 3525, 58836, 53, 94399, 37382, 10178, 132, 18468, 31611, 57945, 3062, 154663, 39060, 22829, 50...
[ 0.182861328125, 0.21923828125, 0.021575927734375, 0.0906982421875, 0.06365966796875, 0.0926513671875, 0.1904296875, 0.00946044921875, 0.033294677734375, 0.197509765625, 0.1265869140625, 0.033660888671875, 0.1727294921875, 0.077880859375, 0.0906982421875, 0.1434326171875, 0.0017395019...
embed
66100093_c1
66100093
fsharp
1
value in Server/Server.fs to the following (I created a new github auth app for this issue): let loggedInPipeline = pipeline { requires_authentication (Giraffe.Auth.challenge "GitHub") } let loggedInView = router { pipe_through loggedInPipeline get "/" webApp } let appRouter = router { forward "" loggedInView } let ap...
value in Server/Server.fs to the following (I created a new github auth app for this issue): let loggedInPipeline = pipeline { requires_authentication (Giraffe.Auth.challenge "GitHub") } let loggedInView = router { pipe_through loggedInPipeline get "/" webApp } let appRouter = router { forward "" loggedInView } let ap...
[ 0.006134033203125, 0.021484375, -0.000017881393432617188, 0.008544921875, -0.007720947265625, 0.00311279296875, -0.004608154296875, -0.00640869140625, 0.00799560546875, -0.01611328125, 0.018798828125, -0.0238037109375, -0.0037841796875, 0.0191650390625, 0.005126953125, -0.0059204101562...
[ 34292, 23, 22687, 64, 193348, 5, 17447, 47, 25632, 75935, 3525, 62270, 32102, 531, 927, 4027, 31089, 2077, 2633, 73088, 71, 4153, 29348, 26338, 86, 2203, 137158, 2256, 144570, 1003, 63250, 120639, 724, 2634, 16670, 67362, 8405, 217, 140505,...
[ 0.274658203125, 0.03369140625, 0.2108154296875, 0.071533203125, 0.20751953125, 0.07965087890625, 0.234375, 0.0751953125, 0.07000732421875, 0.043548583984375, 0.028564453125, 0.1885986328125, 0.2220458984375, 0.2222900390625, 0.1884765625, 0.2083740234375, 0.094482421875, 0.02267456...
embed
746112_c0
746112
fsharp
0
Title: F# and winform Controls Question Problem title: F# and winform Controls Question Tags: winforms, textbox, f%23 Problem: F# and winform Controls Question I am very new to F#, and I thought I would develop a simple winform calculator to strengthen my skills with F# and .NET. I ran into two problems which probably ...
F# and winform Controls Question F# and winform Controls Question winforms textbox f%23 Controls Question F# and winform Controls Question I am very new to F#, and I thought I would develop a simple winform calculator to strengthen my skills with F# and .NET. I ran into two problems which probably have very simple answ...
[ 0.0162353515625, 0.009765625, -0.0123291015625, 0.007354736328125, 0.0101318359375, 0.000335693359375, 0.01116943359375, -0.00323486328125, -0.0015716552734375, -0.03857421875, 0.0089111328125, -0.0277099609375, -0.00946044921875, 0.019775390625, 0.00439453125, -0.006927490234375, 0....
[ 563, 4904, 136, 148, 46334, 27131, 68185, 7, 7986, 11728, 1238, 3949, 3742, 4552, 3525, 47, 17569, 85493, 8781, 154993, 90254, 59376, 17777, 6626, 44402, 35166, 127557, 65514, 3444, 19048, 15549, 10644, 892, 1505, 24234, 4028, 77679, 19732, ...
[ 0.1392822265625, 0.2230224609375, 0.1199951171875, 0.1337890625, 0.32275390625, 0.23388671875, 0.072265625, 0.0479736328125, 0.1591796875, 0.2161865234375, 0.08447265625, 0.041534423828125, 0.1478271484375, 0.035186767578125, 0.066162109375, 0.0670166015625, 0.0003662109375, 0.0305...
embed
45360821_c1
45360821
fsharp
1
because after adding logging into the main loop as follow: let rec mainLoop () = let mountains = readAllMountainsData Console.Error.WriteLine("Mountain Count:{0} ", mountains.Length) mountains |> List.iter (fun x -> Console.Error.WriteLine("Mountain Id:{0} Height:{1}", x.Id, x.Height)) let highestMountain = mountains ...
because after adding logging into the main loop as follow: let rec mainLoop () = let mountains = readAllMountainsData Console.Error.WriteLine("Mountain Count:{0} ", mountains.Length) mountains |> List.iter (fun x -> Console.Error.WriteLine("Mountain Id:{0} Height:{1}", x.Id, x.Height)) let highestMountain = mountains ...
[ 0.01434326171875, 0.016845703125, -0.017822265625, 0.00775146484375, 0.02734375, 0.00994873046875, 0.004425048828125, -0.0174560546875, -0.006378173828125, -0.022216796875, 0.01708984375, -0.034423828125, 0.023681640625, -0.01275634765625, 0.02880859375, -0.017333984375, -0.0078125, ...
[ 6637, 7103, 154107, 459, 36659, 3934, 70, 5201, 40956, 28960, 2633, 21954, 15363, 2146, 101120, 7, 12301, 43512, 9083, 22278, 5425, 137989, 1657, 40777, 18468, 31611, 18781, 93232, 73, 108210, 2389, 32036, 16840, 16498, 1022, 24799, 1529, 225...
[ 0.126708984375, 0.0762939453125, 0.1724853515625, 0.1676025390625, 0.1864013671875, 0.08917236328125, 0.00201416015625, 0.1417236328125, 0.216552734375, 0.05938720703125, 0.06842041015625, 0.1473388671875, 0.10382080078125, 0.1385498046875, 0.22607421875, 0.05694580078125, 0.10791015...
embed
4803275_c0
4803275
fsharp
0
Title: How to sum up a Member on a seq&lt;type&gt;? Problem title: How to sum up a Member on a seq&lt;type&gt;? Tags: f%23 Problem: How to sum up a Member on a seq ? Could someone help me afloat here? Still new to F#, actually trying to use it for the first time for something serious but got stuck on this nOOb issue. I...
How to sum up a Member on a seq&lt;type&gt;? How to sum up a Member on a seq&lt;type&gt;? f%23 How Member Asset line:string line.Split this.EAD Double.Parse Seq.map Seq.sum a.EAD a:Asset How to sum up a Member on a seq ? Could someone help me afloat here? Still new to F#, actually trying to use it for the first time fo...
[ -0.007598876953125, 0.01483154296875, 0.006744384765625, 0.0189208984375, -0.0181884765625, -0.013916015625, 0.0021514892578125, 0.043212890625, 0.01202392578125, -0.041259765625, -0.009521484375, 0.014404296875, 0.019775390625, 0.007476806640625, 0.00286865234375, -0.01123046875, -0...
[ 11249, 47, 10554, 1257, 10, 74057, 98, 40, 864, 50986, 5386, 1238, 3742, 62, 53975, 13315, 91693, 31923, 4353, 903, 188328, 107172, 28636, 503, 62346, 11832, 284, 4358, 365, 563, 4904, 4527, 85583, 179933, 30563, 275, 31089, 10644, 172554, ...
[ 0.1080322265625, 0.093994140625, 0.2509765625, 0.218017578125, 0.0946044921875, 0.2861328125, 0.14111328125, 0.1129150390625, 0.2120361328125, 0.174560546875, 0.0305023193359375, 0.0230865478515625, 0.0888671875, 0.058013916015625, 0.2039794921875, 0.115966796875, 0.1251220703125, ...
embed
48107277_c0
48107277
fsharp
0
Title: F# Summing multiple fields in Seq&lt;&#x27;T&gt; Problem title: F# Summing multiple fields in Seq&lt;&#x27;T&gt; Tags: seq, f%23 Problem: F# Summing multiple fields in Seq<'T> I am wanting to be able to sum multiple fields of a sequence. I don't know how to do this without iterating over the sequence multiple ti...
F# Summing multiple fields in Seq&lt;&#x27;T&gt; F# Summing multiple fields in Seq&lt;&#x27;T&gt; seq f%23 Summing Seq Name DemandQty Weight UnitCost Seq.map Works Seq.sumBy x.DemandQty x.UnitCost x.Weight F# Summing multiple fields in Seq<'T> I am wanting to be able to sum multiple fields of a sequence. I don't know h...
[ 0.00885009765625, 0.0211181640625, -0.007781982421875, 0.037109375, -0.01263427734375, 0.007354736328125, -0.007415771484375, 0.01019287109375, 0.0103759765625, -0.01544189453125, -0.004241943359375, 0.00738525390625, 0.0166015625, 0.0135498046875, -0.01068115234375, 0.003570556640625,...
[ 563, 4904, 1832, 58838, 48716, 44457, 23, 503, 864, 3768, 618, 40, 1238, 3742, 15757, 170009, 2737, 150533, 46640, 441, 5510, 62346, 27985, 11832, 75358, 1022, 4657, 12018, 939, 85600, 12137, 22553, 3444, 19048, 47, 10554, 111, 944, 3956, ...
[ 0.07666015625, 0.1466064453125, 0.208740234375, 0.1707763671875, 0.23388671875, 0.258056640625, 0.07366943359375, 0.122314453125, 0.1727294921875, 0.0198211669921875, 0.0643310546875, 0.08544921875, 0.002105712890625, 0.0372314453125, 0.0716552734375, 0.1368408203125, 0.0258331298828...
embed
8537906_c0
8537906
fsharp
0
Title: How To Write This In CPS? Problem title: How To Write This In CPS? Tags: continuation-passing, f%23 Problem: How To Write This In CPS? I'm trying to master continuation passing style (CPS) and am therefore reworking an example shown to me by Gary Short quite a while ago. I don't have his sample source code so I'...
How To Write This In CPS? How To Write This In CPS? continuation-passing f%23 How Write CPS None Some IsSome Value How To Write This In CPS? I'm trying to master continuation passing style (CPS) and am therefore reworking an example shown to me by Gary Short quite a while ago. I don't have his sample source code so I'm...
[ -0.027099609375, 0.006591796875, 0.005126953125, -0.0028533935546875, 0.018798828125, 0.01043701171875, 0.0201416015625, -0.01007080078125, -0.004425048828125, -0.00872802734375, -0.0120849609375, 0.001129150390625, -0.0096435546875, 0.0174560546875, 0.0126953125, 0.004730224609375, ...
[ 11249, 717, 601, 18781, 3293, 360, 313, 9059, 32, 9454, 1363, 13409, 214, 1238, 3949, 3742, 438, 86, 31384, 2071, 8912, 282, 190060, 31347, 452, 20623, 441, 174796, 27781, 127887, 135730, 82990, 121413, 31344, 18151, 18244, 98323, 137399, 2...
[ 0.1168212890625, 0.07135009765625, 0.1026611328125, 0.1954345703125, 0.158935546875, 0.1287841796875, 0.1092529296875, 0.265625, 0.00042724609375, 0.1968994140625, 0.07958984375, 0.1343994140625, 0.04278564453125, 0.1212158203125, 0.1326904296875, 0.1929931640625, 0.146240234375, 0...
embed
7242764_c0
7242764
fsharp
0
Title: Isn&#x27;t Monad just a syntactic sugar? Problem title: Isn&#x27;t Monad just a syntactic sugar? Tags: f%23, haskell, functional-programming Problem: Isn't Monad just a syntactic sugar? I have been through various papers/articles/blogs and what not about Monads. People talk about them in various context like cat...
Isn&#x27;t Monad just a syntactic sugar? Isn&#x27;t Monad just a syntactic sugar? f%23 haskell functional-programming Isn Monad Isn't Monad just a syntactic sugar? I have been through various papers/articles/blogs and what not about Monads. People talk about them in various context like category theory (what in world i...
[ -0.00982666015625, 0.0108642578125, 0.02783203125, 0.0086669921875, -0.0087890625, 0.017578125, -0.0018463134765625, 0.00823974609375, -0.01318359375, -0.0162353515625, -0.00262451171875, -0.0211181640625, -0.01397705078125, -0.004608154296875, 0.0037384033203125, -0.006927490234375, ...
[ 2071, 3768, 18, 60331, 71, 1660, 10, 6002, 102, 49086, 101087, 3742, 1556, 142508, 123309, 28966, 19, 6468, 22120, 43701, 95487, 154453, 8999, 2667, 11, 18403, 18151, 712, 7, 621, 2684, 92910, 110, 20625, 25129, 563, 4904, 46610, 2737, 36...
[ 0.07171630859375, 0.03497314453125, 0.05096435546875, 0.232177734375, 0.2017822265625, 0.067138671875, 0.058563232421875, 0.151123046875, 0.1571044921875, 0.1021728515625, 0.230224609375, 0.0139617919921875, 0.091796875, 0.1846923828125, 0.1300048828125, 0.103759765625, 0.05813598632...
embed
59508149_c0
59508149
fsharp
0
Title: FSharp Computation Expression: Cannot reference binding value in custom operation Problem title: FSharp Computation Expression: Cannot reference binding value in custom operation Tags: f%23, computation-expression Problem: FSharp Computation Expression: Cannot reference binding value in custom operation I am try...
FSharp Computation Expression: Cannot reference binding value in custom operation FSharp Computation Expression: Cannot reference binding value in custom operation f%23 computation-expression FSharp Computation Expression Cannot UpdatebBuilder this.Yield this.Return this.Bind this.Quote this.For CustomOperation Maintai...
[ 0.002471923828125, 0.0308837890625, 0.0245361328125, -0.0052490234375, -0.0019989013671875, 0.01556396484375, 0.007232666015625, 0.0021820068359375, 0.0142822265625, -0.00124359130859375, -0.026123046875, 0.0299072265625, 0.0274658203125, -0.0252685546875, 0.025390625, 0.0146484375, ...
[ 93774, 3467, 254, 159415, 25129, 4171, 10869, 91067, 128239, 34292, 114122, 41018, 1238, 3949, 3742, 181135, 204629, 28641, 275, 121137, 56, 903, 19388, 987, 571, 7250, 31583, 130664, 156823, 12321, 25500, 81827, 2886, 141012, 41566, 8335, 1561...
[ 0.1712646484375, 0.2010498046875, 0.2047119140625, 0.15869140625, 0.14013671875, 0.104736328125, 0.1656494140625, 0.250732421875, 0.2449951171875, 0.16845703125, 0.201904296875, 0.1875, 0.09271240234375, 0.0269012451171875, 0.1868896484375, 0.1336669921875, 0.1688232421875, 0.11560...
embed
46385602_c0
46385602
fsharp
0
Title: How can I create a measured record type without a measure in F# Problem title: How can I create a measured record type without a measure in F# Tags: f%23, units-of-measurement, interop, records Problem: How can I create a measured record type without a measure in F# I have defined a record type with a unit of me...
How can I create a measured record type without a measure in F# How can I create a measured record type without a measure in F# f%23 units-of-measurement interop records How LibRoot Vec2 Measure LibC Funcs DoWork LibF FS0001 How can I create a measured record type without a measure in F# I have defined a record type wi...
[ -0.00830078125, 0.0179443359375, -0.00060272216796875, -0.00015354156494140625, -0.006378173828125, -0.010986328125, -0.01611328125, -0.01611328125, 0.012451171875, -0.006072998046875, -0.00921630859375, -0.0205078125, 0.005401611328125, -0.0057373046875, 0.0086669921875, -0.0021972656...
[ 11249, 831, 28282, 72350, 71, 17164, 10644, 15490, 10, 23, 563, 4904, 1238, 3742, 25072, 37440, 56851, 1940, 2146, 115923, 43278, 12724, 818, 52884, 304, 1215, 11, 441, 28670, 984, 108259, 919, 93774, 188735, 61924, 39210, 35773, 104820, 11...
[ 0.035400390625, 0.059814453125, 0.1754150390625, 0.24072265625, 0.0936279296875, 0.2178955078125, 0.22705078125, 0.1546630859375, 0.032135009765625, 0.031951904296875, 0.1439208984375, 0.2222900390625, 0.082763671875, 0.1251220703125, 0.1607666015625, 0.054779052734375, 0.03356933593...
embed
68154466_c0
68154466
fsharp
0
Title: Recursive function in F# that determines in a list of n elements of type int, the greater of two adjacent values Problem title: Recursive function in F# that determines in a list of n elements of type int, the greater of two adjacent values Tags: f%23 Problem: Recursive function in F# that determines in a list o...
Recursive function in F# that determines in a list of n elements of type int, the greater of two adjacent values Recursive function in F# that determines in a list of n elements of type int, the greater of two adjacent values f%23 Recursive b.Length Array.create b.Item Array.toList x-1 Recursive function in F# that det...
[ -0.01263427734375, 0.00439453125, 0.012451171875, 0.00872802734375, 0.00970458984375, 0.02978515625, -0.0142822265625, 0.01226806640625, 0.0177001953125, 0.037353515625, 0.00151824951171875, 0.015869140625, -0.00640869140625, 0.00140380859375, 0.023681640625, -0.0224609375, 0.0172119...
[ 853, 48650, 5844, 32354, 563, 4904, 83324, 5303, 653, 80854, 10644, 23, 18, 70, 117396, 6626, 123594, 16797, 142424, 111, 1238, 3742, 876, 449, 69253, 53, 7612, 2982, 188, 154663, 1022, 5759, 52080, 2967, 66211, 28368, 145755, 86869, 17368,...
[ 0.1148681640625, 0.2244873046875, 0.2059326171875, 0.197265625, 0.1380615234375, 0.205078125, 0.1654052734375, 0.1378173828125, 0.1224365234375, 0.181640625, 0.1563720703125, 0.1014404296875, 0.1163330078125, 0.0760498046875, 0.2122802734375, 0.152587890625, 0.1336669921875, 0.1597...
embed
68116506_c0
68116506
fsharp
0
Title: F# query expression with a custom aggregate function Problem title: F# query expression with a custom aggregate function Tags: aggregate-functions, sql-server, f%23, entity-framework-core, database Problem: F# query expression with a custom aggregate function In my project I use F# query expression to query my d...
F# query expression with a custom aggregate function F# query expression with a custom aggregate function aggregate-functions sql-server f%23 entity-framework-core database System.Linq ctx.MyTable row.MyKey g.Key g.Average x.MyValue Average EF.Functions.DateDiffMinute F# query expression with a custom aggregate functio...
[ 0.0159912109375, -0.00787353515625, 0.007537841796875, -0.003875732421875, -0.01123046875, -0.0126953125, -0.0172119140625, 0.0084228515625, 0.00077056884765625, -0.035888671875, -0.0027923583984375, -0.004852294921875, 0.00958251953125, -0.0107421875, 0.004669189453125, 0.006256103515...
[ 563, 4904, 41, 1294, 125195, 678, 114122, 197564, 13, 32354, 137175, 99247, 39642, 1238, 3742, 77630, 160328, 30854, 63399, 44982, 425, 31852, 618, 2886, 15555, 162429, 814, 856, 50770, 40168, 29838, 51779, 97249, 86291, 32920, 169929, 13452, ...
[ 0.150390625, 0.2313232421875, 0.1563720703125, 0.0732421875, 0.24365234375, 0.0570068359375, 0.2242431640625, 0.237060546875, 0.0740966796875, 0.18408203125, 0.1429443359375, 0.1051025390625, 0.05450439453125, 0.029296875, 0.019500732421875, 0.0218353271484375, 0.003570556640625, 0...
embed
18505177_c0
18505177
fsharp
0
Title: How to avoid unnecessary computation when composing pure functions in a functional language? Problem title: How to avoid unnecessary computation when composing pure functions in a functional language? Tags: .net, f%23, numerical-computing, functional-programming Problem: How to avoid unnecessary computation when...
How to avoid unnecessary computation when composing pure functions in a functional language? How to avoid unnecessary computation when composing pure functions in a functional language? .net f%23 numerical-computing functional-programming How How to avoid unnecessary computation when composing pure functions in a funct...
[ -0.011962890625, 0.0184326171875, 0.0228271484375, 0.00732421875, 0.002471923828125, 0.007110595703125, -0.00775146484375, -0.0089111328125, 0.00799560546875, -0.0185546875, -0.00360107421875, 0.02392578125, 0.00084686279296875, 0.025390625, 0.01275634765625, 0.0091552734375, 0.00674...
[ 11249, 47, 71864, 51, 86, 26531, 6635, 181135, 1363, 9969, 232, 34166, 32354, 123309, 46876, 5, 1179, 1238, 3949, 3742, 54744, 277, 7077, 28966, 3229, 7, 23, 6626, 166577, 5117, 51776, 141485, 45367, 18276, 49726, 200316, 41260, 17932, 1519...
[ 0.0841064453125, 0.04681396484375, 0.2086181640625, 0.05108642578125, 0.032440185546875, 0.1239013671875, 0.04864501953125, 0.244140625, 0.07159423828125, 0.1619873046875, 0.1558837890625, 0.2431640625, 0.2325439453125, 0.2183837890625, 0.177734375, 0.008880615234375, 0.16552734375, ...
embed
27631181_c0
27631181
fsharp
0
Title: Why is F# Interactive different from Console run with respect of sorting? Problem title: Why is F# Interactive different from Console run with respect of sorting? Tags: arrays, sorting, f%23, f%23-interactive Problem: Why is F# Interactive different from Console run with respect of sorting? I've faced confusing ...
Why is F# Interactive different from Console run with respect of sorting? Why is F# Interactive different from Console run with respect of sorting? arrays sorting f%23 f%23-interactive Console Why Interactive GetSorted A:int Comparer Array.length Array.sortWith Array.iter Console.WriteLine Why is F# Interactive differe...
[ -0.01324462890625, -0.005523681640625, 0.030029296875, -0.00830078125, -0.0252685546875, -0.0123291015625, -0.006500244140625, -0.0003662109375, -0.0027618408203125, 0.025634765625, -0.000591278076171875, 0.05078125, -0.00021839141845703125, 0.005615234375, 0.0252685546875, -0.02783203...
[ 44084, 83, 563, 4904, 5337, 71232, 12921, 1295, 1657, 40777, 11675, 15072, 12096, 214, 10298, 4778, 1238, 3742, 27495, 10433, 20779, 158240, 3674, 62, 4288, 113307, 56, 69253, 53, 23986, 62351, 194583, 16840, 93232, 55681, 60212, 17721, 14099...
[ 0.099609375, 0.0087890625, 0.1220703125, 0.2293701171875, 0.1549072265625, 0.1898193359375, 0.16064453125, 0.061859130859375, 0.056396484375, 0.154296875, 0.1212158203125, 0.041595458984375, 0.177490234375, 0.0887451171875, 0.09588623046875, 0.05914306640625, 0.0843505859375, 0.064...
embed
11291158_c0
11291158
fsharp
0
Title: Problems with simple example on WebSharper&#x27;s official site Problem title: Problems with simple example on WebSharper&#x27;s official site Tags: websharper, f%23 Problem: Problems with simple example on WebSharper's official site I have downloaded and installed the latest version of WebSharper. On this page ...
Problems with simple example on WebSharper&#x27;s official site Problems with simple example on WebSharper&#x27;s official site websharper f%23 Problems WebSharper HomePage Template Div Text HOME Links Controls.HelloControl Skin.WithTemplate Problems with simple example on WebSharper's official site I have downloaded a...
[ -0.0203857421875, 0.00994873046875, -0.007568359375, -0.00274658203125, -0.0081787109375, 0.017822265625, -0.008056640625, -0.0074462890625, 0.00897216796875, -0.059326171875, -0.00457763671875, -0.0205078125, -0.005096435546875, 0.00543212890625, 0.0299072265625, 0.01611328125, 0.01...
[ 15649, 678, 8781, 27781, 4002, 294, 3467, 1264, 3768, 51521, 1764, 1467, 89280, 2005, 147101, 196631, 53026, 24129, 70060, 57890, 27131, 841, 13817, 175904, 68761, 194583, 159065, 19309, 20600, 9191, 124519, 73372, 22968, 1324, 137625, 81135, 3...
[ 0.1597900390625, 0.007110595703125, 0.15869140625, 0.2349853515625, 0.1209716796875, 0.0474853515625, 0.173095703125, 0.219482421875, 0.0249786376953125, 0.1273193359375, 0.07208251953125, 0.0792236328125, 0.1588134765625, 0.048004150390625, 0.06732177734375, 0.20849609375, 0.1447753...
embed
55249890_c0
55249890
fsharp
0
Title: Returning different state of Discriminate union based upon string input in pattern match (F#) Problem title: Returning different state of Discriminate union based upon string input in pattern match (F#) Tags: types, discriminated-union, f%23, pattern-matching Problem: Returning different state of Discriminate un...
Returning different state of Discriminate union based upon string input in pattern match (F#) Returning different state of Discriminate union based upon string input in pattern match (F#) types discriminated-union f%23 pattern-matching Returning Discriminate ColType ColType.I ColType.F ColType.S List.toArray many1 Retu...
[ -0.02294921875, -0.006988525390625, -0.0023345947265625, 0.0245361328125, -0.002044677734375, 0.000946044921875, 0.000659942626953125, -0.0206298828125, 0.01409912109375, 0.00958251953125, 0.024169921875, -0.019287109375, 0.022216796875, -0.01239013671875, -0.0064697265625, 0.002029418...
[ 173340, 12921, 11341, 6206, 135421, 69941, 35509, 79315, 107730, 103510, 14858, 919, 4904, 52895, 55970, 3674, 87046, 1238, 3949, 3742, 98753, 11554, 196707, 568, 294, 32036, 188, 7092, 5941, 418, 67, 3714, 53418, 30646, 10644, 1295, 366, 218...
[ 0.173583984375, 0.143798828125, 0.1214599609375, 0.031585693359375, 0.188720703125, 0.1785888671875, 0.0638427734375, 0.1654052734375, 0.1451416015625, 0.1749267578125, 0.1812744140625, 0.07672119140625, 0.1385498046875, 0.14208984375, 0.177490234375, 0.04193115234375, 0.150146484375...
embed
52574932_c0
52574932
fsharp
0
Title: F#: How to pass two lists in to a formula and return my results? Problem title: F#: How to pass two lists in to a formula and return my results? Tags: maplist, list, function, f%23 Problem: F#: How to pass two lists in to a formula and return my results? So I have this function where i'm taking in two float list...
F#: How to pass two lists in to a formula and return my results? F#: How to pass two lists in to a formula and return my results? maplist list function f%23 How list1 list2 List.map2 F#: How to pass two lists in to a formula and return my results? So I have this function where i'm taking in two float lists and using th...
[ 0.01495361328125, 0.0096435546875, -0.00897216796875, 0.00921630859375, -0.00154876708984375, 0.0031585693359375, 0.032470703125, -0.0031890869140625, 0.024169921875, 0.00830078125, 0.0142822265625, -0.00933837890625, 0.004608154296875, 0.00106048583984375, -0.00762939453125, -0.008178...
[ 563, 4904, 11249, 27875, 6626, 5303, 7, 23, 47, 26168, 30646, 50339, 10, 136, 22288, 6562, 32354, 1238, 3949, 3742, 418, 304, 32036, 62346, 35971, 21917, 257, 17368, 107013, 63262, 80854, 74481, 8781, 425, 9, 53, 8353, 248, 1022, 100, 1...
[ 0.0865478515625, 0.1689453125, 0.0745849609375, 0.1727294921875, 0.1915283203125, 0.259033203125, 0.049285888671875, 0.1473388671875, 0.0892333984375, 0.25, 0.1783447265625, 0.1741943359375, 0.030059814453125, 0.026458740234375, 0.1275634765625, 0.2115478515625, 0.14404296875, 0.05...
embed
10764659_c1
10764659
fsharp
1
handled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'FSharp.Core, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. File name: 'FSharp.Core, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11...
handled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'FSharp.Core, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. File name: 'FSharp.Core, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11...
[ -0.0145263671875, 0.0091552734375, -0.003173828125, 0.005950927734375, -0.0019378662109375, 0.009033203125, 0.006378173828125, -0.01129150390625, -0.0135498046875, -0.004241943359375, 0.01519775390625, 0.01080322265625, -0.0260009765625, -0.01220703125, 0.020263671875, -0.0012969970703...
[ 34831, 71, 5443, 63928, 12353, 17780, 174350, 122116, 27591, 7030, 191147, 959, 72367, 11435, 707, 89845, 38526, 36381, 3467, 254, 5, 50886, 40647, 73011, 99929, 105141, 218142, 16934, 162429, 7763, 1098, 2525, 42548, 5426, 53418, 7413, 58735, ...
[ 0.154052734375, 0.0154266357421875, 0.043121337890625, 0.1319580078125, 0.096923828125, 0.2076416015625, 0.1842041015625, 0.109375, 0.140625, 0.102294921875, 0.140869140625, 0.1304931640625, 0.1839599609375, 0.1861572265625, 0.0457763671875, 0.191162109375, 0.09796142578125, 0.1237...
embed
7065950_c0
7065950
fsharp
0
Title: Type extension errors for Dictionary&lt;&#x27;K, &#x27;V&gt; Problem title: Type extension errors for Dictionary&lt;&#x27;K, &#x27;V&gt; Tags: dictionary, extension-methods, f%23 Problem: Type extension errors for Dictionary<'K, 'V> The following type extension module Dict = open System.Collections.Generic type ...
Type extension errors for Dictionary&lt;&#x27;K, &#x27;V&gt; Type extension errors for Dictionary&lt;&#x27;K, &#x27;V&gt; dictionary extension-methods f%23 Type Dictionary Dict System.Collections.Generic this.Difference that:Dictionary KeyValue that.ContainsKey dict.Add this.TryGet this.TryGetValue Some None Type exten...
[ 0.00445556640625, 0.0277099609375, 0.00555419921875, -0.0133056640625, 0.0038299560546875, -0.03125, -0.039306640625, -0.0045166015625, -0.0208740234375, -0.0022430419921875, 0.009765625, 0.004638671875, 0.01220703125, 0.0169677734375, 0.009033203125, -0.0021820068359375, 0.007507324...
[ 60457, 111938, 18499, 147638, 3768, 605, 856, 5386, 10763, 1928, 7352, 3742, 60897, 18, 12353, 78457, 8996, 135932, 12259, 903, 18234, 6635, 26824, 50770, 25500, 162429, 61669, 4028, 1294, 724, 126, 438, 25632, 10644, 3229, 15190, 158, 2816, ...
[ 0.2196044921875, 0.201904296875, 0.1929931640625, 0.1866455078125, 0.06298828125, 0.107666015625, 0.1810302734375, 0.039093017578125, 0.0845947265625, 0.011566162109375, 0.056793212890625, 0.0426025390625, 0.0703125, 0.045379638671875, 0.04840087890625, 0.034332275390625, 0.058532714...
embed
61720893_c0
61720893
fsharp
0
Title: F# - Take the right half of a string Problem title: F# - Take the right half of a string Tags: f%23 Problem: F# - Take the right half of a string I'm trying to write a function that takes the right half of the string operand: let f(k:'string)= k.[..(k.Length/2)] Here's the error message: Microsoft (R) Build Engi...
F# - Take the right half of a string F# - Take the right half of a string f%23 Take k.Length Microsoft Build Engine c4012a063 NET Core Copyright Corporation All Program.fs FS0072 Lookup project.fsproj FAILED Warning Error Time Elapsed F# - Take the right half of a string I'm trying to write a function that takes the ri...
[ 0.01263427734375, 0.007720947265625, 0.0262451171875, 0.01806640625, 0.00830078125, 0.0164794921875, -0.009521484375, -0.00665283203125, 0.0072021484375, 0.01495361328125, 0.0164794921875, -0.0341796875, -0.01470947265625, 0.01068115234375, -0.00811767578125, -0.0026397705078125, 0.0...
[ 563, 4904, 20, 46673, 70, 7108, 23552, 111, 79315, 1238, 3949, 3742, 472, 5267, 449, 7244, 121137, 90125, 2839, 1530, 9016, 363, 17777, 31365, 4189, 84829, 3164, 7663, 17447, 93774, 77110, 304, 60818, 2037, 13452, 3454, 170, 11388, 38409, ...
[ 0.1510009765625, 0.252685546875, 0.05462646484375, 0.19091796875, 0.052398681640625, 0.200439453125, 0.2281494140625, 0.118408203125, 0.2275390625, 0.1285400390625, 0.0313720703125, 0.191650390625, 0.109375, 0.005523681640625, 0.0750732421875, 0.125732421875, 0.1273193359375, 0.160...
embed
45662291_c0
45662291
fsharp
0
Title: Why does deep usage of the stack cause superlinear time behavior for a simple interpreter? Problem title: Why does deep usage of the stack cause superlinear time behavior for a simple interpreter? Tags: .net, f%23, memory Problem: Why does deep usage of the stack cause superlinear time behavior for a simple inte...
Why does deep usage of the stack cause superlinear time behavior for a simple interpreter? Why does deep usage of the stack cause superlinear time behavior for a simple interpreter? .net f%23 memory Why Expr Lit Add intr_cps n-1 System.Threading Thread ThreadStart Start System.Diagnostics.Stopwatch.StartNew i_std stopw...
[ -0.0086669921875, -0.0216064453125, 0.014892578125, 0.0096435546875, -0.006561279296875, -0.007415771484375, 0.007659912109375, 0.0054931640625, 0.00341796875, -0.07470703125, 0.0033111572265625, 0.01031494140625, -0.0031890869140625, 0.0213623046875, 0.03515625, 0.00421142578125, 0....
[ 44084, 53894, 127689, 177261, 22304, 1601, 2256, 147, 1733, 123166, 8781, 29481, 56, 1179, 1238, 3742, 98323, 60075, 42, 27668, 29117, 9407, 121422, 7, 653, 5759, 12353, 39116, 136719, 126597, 13794, 128198, 156095, 35414, 46568, 7279, 127966, ...
[ 0.08868408203125, 0.1524658203125, 0.1881103515625, 0.197998046875, 0.0751953125, 0.13818359375, 0.1605224609375, 0.06976318359375, 0.1544189453125, 0.13330078125, 0.1375732421875, 0.2154541015625, 0.12548828125, 0.1287841796875, 0.0223236083984375, 0.1483154296875, 0.1387939453125, ...
embed
6038073_c0
6038073
fsharp
0
Title: Accessing items in an IEnumerable in F# Problem title: Accessing items in an IEnumerable in F# Tags: f%23, c%23, youtube Problem: Accessing items in an IEnumerable in F# I'm trying to use the Youtube .Net API in F# and I've come across a problem trying to access the IEnumerable returned to the userPlaylists.Entr...
Accessing items in an IEnumerable in F# Accessing items in an IEnumerable in F# f%23 c%23 youtube Accessing IEnumerable Feed Playlist request.GetPlaylistsFeed userPlaylists.Entries.Single x.Title Entries UserPlaylists UserPlaylists.Entries Seq.tryPick Some None Accessing items in an IEnumerable in F# I'm trying to use ...
[ 0.010009765625, 0.00799560546875, 0.0166015625, -0.00799560546875, 0.00323486328125, 0.01446533203125, 0.00023555755615234375, -0.013427734375, -0.005279541015625, -0.007720947265625, 0.0206298828125, -0.017578125, -0.01806640625, 0.0184326171875, 0.0052490234375, 0.0169677734375, -0...
[ 40266, 55769, 23, 75536, 2606, 56, 2886, 563, 4904, 142, 1238, 3742, 32772, 124689, 11356, 6562, 50336, 97054, 30154, 38937, 7768, 18, 213039, 1022, 16734, 17991, 16511, 53400, 864, 15123, 683, 41113, 31384, 438, 25941, 24447, 61687, 2967, ...
[ 0.1806640625, 0.1639404296875, 0.046905517578125, 0.1971435546875, 0.2271728515625, 0.1556396484375, 0.14208984375, 0.158935546875, 0.2088623046875, 0.011383056640625, 0.126220703125, 0.0292510986328125, 0.189453125, 0.201904296875, 0.10400390625, 0.14013671875, 0.073974609375, 0.1...
embed
15707676_c0
15707676
fsharp
0
Title: Load array with fixed pattern of data Problem title: Load array with fixed pattern of data Tags: arrays, f%23 Problem: Load array with fixed pattern of data I have a delimited string of data, e.g. a~b~c~d~e~f~g~h~i~j~k~l~... dog~cat~fish~parrot~mother~father~child~grandparent~... hello~hi~greetings~yo I am wanti...
Load array with fixed pattern of data Load array with fixed pattern of data arrays f%23 Load fourth:string data.Split Array.toList Load array with fixed pattern of data I have a delimited string of data, e.g. I am wanting to load the data into an array/seq of records of type so I'd end up with 3 objects in the array/se...
[ -0.000652313232421875, 0.012451171875, -0.0281982421875, 0.01904296875, -0.0164794921875, -0.000186920166015625, 0.01239013671875, 0.0179443359375, 0.0238037109375, -0.0341796875, -0.00958251953125, -0.00885009765625, -0.00173187255859375, -0.0137939453125, 0.00506591796875, 0.00860595...
[ 2091, 712, 10298, 53, 678, 188347, 103510, 111, 2053, 4778, 1238, 3742, 22759, 927, 91693, 31923, 4353, 69253, 188, 154663, 8, 93343, 79315, 3444, 72367, 3934, 184, 864, 115923, 10644, 3564, 138, 36746, 100, 40956, 12319, 222530, 69307, 123...
[ 0.15576171875, 0.05963134765625, 0.1912841796875, 0.134521484375, 0.1053466796875, 0.2451171875, 0.22216796875, 0.03863525390625, 0.1649169921875, 0.0830078125, 0.045074462890625, 0.1121826171875, 0.174072265625, 0.07220458984375, 0.149658203125, 0.005859375, 0.12548828125, 0.12561...
embed
63625582_c0
63625582
fsharp
0
Title: Compiler error in F# when creating a secondary, non-generic constructor Problem title: Compiler error in F# when creating a secondary, non-generic constructor Tags: generics, f%23, interface Problem: Compiler error in F# when creating a secondary, non-generic constructor I have a generic class with the default c...
Compiler error in F# when creating a secondary, non-generic constructor Compiler error in F# when creating a secondary, non-generic constructor generics f%23 interface Compiler EmptyType MyInterface RealType this.Value MyType this.X EntryPoint Compiler error in F# when creating a secondary, non-generic constructor I ha...
[ -0.01239013671875, 0.0096435546875, -0.0118408203125, 0.005218505859375, 0.01214599609375, 0.006591796875, -0.0286865234375, -0.000850677490234375, -0.01129150390625, -0.014404296875, -0.00323486328125, -0.02001953125, 0.01324462890625, -0.006317138671875, 0.0133056640625, 0.0100097656...
[ 15612, 34759, 18499, 563, 4904, 105233, 37526, 1294, 351, 79446, 1771, 64549, 748, 189534, 1238, 3742, 101758, 31678, 939, 196707, 2646, 44851, 40404, 5120, 903, 50770, 1542, 15123, 147534, 18507, 114977, 26946, 10750, 10644, 17932, 9969, 18699...
[ 0.169921875, 0.174072265625, 0.1541748046875, 0.1448974609375, 0.2127685546875, 0.1441650390625, 0.1929931640625, 0.0772705078125, 0.12646484375, 0.10504150390625, 0.000762939453125, 0.17138671875, 0.131591796875, 0.19970703125, 0.0767822265625, 0.1273193359375, 0.1226806640625, 0....
embed
41883194_c0
41883194
fsharp
0
Title: How to get the position of the row with some key from a Deedle Frame&lt;DateTime,_&gt;? Problem title: How to get the position of the row with some key from a Deedle Frame&lt;DateTime,_&gt;? Tags: deedle, f%23 Problem: How to get the position of the row with some key from a Deedle Frame ? By position I mean: let...
How to get the position of the row with some key from a Deedle Frame&lt;DateTime,_&gt;? How to get the position of the row with some key from a Deedle Frame&lt;DateTime,_&gt;? deedle f%23 a How Deedle Frame position:int Frame.take frame.takeLast Series Series.scanValues frame:Frame frame.GetColumnAt How to get the posi...
[ 0.0137939453125, 0.019775390625, 0.007720947265625, -0.003936767578125, -0.047119140625, -0.017578125, 0.029052734375, 0.01519775390625, 0.00299072265625, -0.00653076171875, -0.000019669532775878906, 0.01397705078125, -0.0034942626953125, -0.000804901123046875, -0.006439208984375, 0.00...
[ 11249, 2046, 70, 19069, 111, 15555, 678, 22799, 1295, 262, 297, 133, 42557, 13, 86291, 70059, 3060, 8, 1238, 3742, 4288, 78219, 123789, 2729, 271, 64876, 4398, 42272, 21049, 108386, 316, 4734, 1632, 124901, 69307, 18537, 162429, 6528, 14242...
[ 0.0294036865234375, 0.0887451171875, 0.0252838134765625, 0.2239990234375, 0.0567626953125, 0.225341796875, 0.1065673828125, 0.23193359375, 0.10595703125, 0.0728759765625, 0.1431884765625, 0.150146484375, 0.15234375, 0.089599609375, 0.05548095703125, 0.15966796875, 0.035064697265625, ...
embed
34340497_c0
34340497
fsharp
0
Title: F# cons operator and list in class Problem title: F# cons operator and list in class Tags: f%23 Problem: F# cons operator and list in class So here is my question. I have a python project that is very functionally oriented...but which fundamentally runs with classes...so F# seemed the ideal language for a compil...
F# cons operator and list in class F# cons operator and list in class f%23 _training this.training value::_training F# cons operator and list in class So here is my question. I have a python project that is very functionally oriented...but which fundamentally runs with classes...so F# seemed the ideal language for a co...
[ 0.00799560546875, 0.0299072265625, 0.00787353515625, -0.0047607421875, 0.007171630859375, 0.00106048583984375, -0.01214599609375, 0.00732421875, 0.017333984375, -0.0269775390625, 0.0198974609375, -0.004974365234375, 0.0301513671875, 0.00014781951904296875, -0.01904296875, -0.0224609375...
[ 563, 4904, 158, 7, 39933, 136, 5303, 23, 18507, 1238, 3949, 3742, 118862, 903, 34292, 17198, 50828, 13452, 4552, 123309, 23509, 20531, 678, 61112, 115058, 6397, 46876, 375, 5974, 11389, 18151, 22556, 16530, 31344, 129842, 102158, 21185, 18953...
[ 0.1627197265625, 0.20361328125, 0.2249755859375, 0.0726318359375, 0.2222900390625, 0.081298828125, 0.1876220703125, 0.031402587890625, 0.2095947265625, 0.111328125, 0.0123291015625, 0.0986328125, 0.2100830078125, 0.06549072265625, 0.1177978515625, 0.05438232421875, 0.1136474609375, ...
embed
53244247_c0
53244247
fsharp
0
Title: How to combine equal sequence elements (functional programming)? Problem title: How to combine equal sequence elements (functional programming)? Tags: f%23, sml, ocaml, functional-programming Problem: How to combine equal sequence elements (functional programming)? I want to write a function that takes in a sequ...
How to combine equal sequence elements (functional programming)? How to combine equal sequence elements (functional programming)? f%23 sml ocaml functional-programming How How to combine equal sequence elements (functional programming)? I want to write a function that takes in a sequence <1,1,2,2,3> and returns the seq...
[ -0.0057373046875, 0.020751953125, -0.01220703125, 0.006011962890625, 0.005096435546875, -0.0074462890625, -0.006103515625, -0.004425048828125, 0.003326416015625, -0.0228271484375, 0.000568389892578125, 0.0301513671875, -0.003814697265625, 0.01123046875, -0.0225830078125, 0.004547119140...
[ 11249, 47, 70163, 105950, 40, 944, 3956, 80854, 137175, 56037, 449, 3742, 91, 7237, 36, 9779, 141, 123309, 28966, 3444, 33022, 32354, 51776, 23, 418, 133063, 155761, 30646, 37769, 304, 21670, 30813, 17368, 26513, 5303, 21373, 47644, 22288, ...
[ 0.1488037109375, 0.099853515625, 0.281982421875, 0.285400390625, 0.1212158203125, 0.189697265625, 0.1336669921875, 0.2529296875, 0.18505859375, 0.17041015625, 0.068115234375, 0.080810546875, 0.010833740234375, 0.1551513671875, 0.057373046875, 0.0975341796875, 0.098388671875, 0.1697...
embed
6425214_c0
6425214
fsharp
0
Title: How can I express a type in F# that optionally recurses on itself (infinitely) Problem title: How can I express a type in F# that optionally recurses on itself (infinitely) Tags: recursion, types, graphviz, fparsec, f%23 Problem: How can I express a type in F# that optionally recurses on itself (infinitely) As a...
How can I express a type in F# that optionally recurses on itself (infinitely) How can I express a type in F# that optionally recurses on itself (infinitely) recursion types graphviz fparsec f%23 How pstmt_list How can I express a type in F# that optionally recurses on itself (infinitely) As a learning exercise I am tr...
[ -0.006500244140625, 0.005706787109375, -0.005462646484375, 0.020263671875, 0.002288818359375, -0.033447265625, -0.004669189453125, -0.0223388671875, 0.0012359619140625, 0.01031494140625, 0.0191650390625, -0.0142822265625, -0.005767822265625, -0.0035400390625, 0.018310546875, 0.03100585...
[ 36510, 10644, 563, 4904, 35829, 25958, 195625, 90, 98, 68034, 73, 48310, 37838, 831, 23, 1830, 52895, 41382, 22572, 2500, 39797, 3742, 915, 271, 39, 18, 6562, 366, 2189, 20633, 46876, 6197, 618, 123309, 35773, 1238, 28636, 98363, 80934, 1...
[ 0.1767578125, 0.22216796875, 0.0887451171875, 0.192626953125, 0.1756591796875, 0.04278564453125, 0.2286376953125, 0.07806396484375, 0.1044921875, 0.14697265625, 0.00775146484375, 0.1361083984375, 0.03619384765625, 0.013336181640625, 0.01275634765625, 0.04132080078125, 0.1885986328125...
embed
69267444_c0
69267444
fsharp
0
Title: F# create new list populated from other list Problem title: F# create new list populated from other list Tags: object, dictionary, f%23, list, match Problem: F# create new list populated from other list In my backend code, I am fetching data from database and my query returns a list of Product-objects. However, ...
F# create new list populated from other list F# create new list populated from other list object dictionary f%23 list match other session.Query Product IProductVariant List.collect product.ID product.Name List.map ProductClass None F# create new list populated from other list In my backend code, I am fetching data from...
[ 0.00116729736328125, 0.01007080078125, 0.004730224609375, 0.00750732421875, -0.0185546875, -0.0035552978515625, -0.0286865234375, -0.0025482177734375, 0.005218505859375, -0.000453948974609375, 0.020751953125, 0.00439453125, -0.00008249282836914062, -0.006866455078125, -0.01287841796875, ...
[ 563, 4904, 28282, 3525, 5303, 27623, 3674, 1295, 3789, 36746, 45, 10763, 1238, 3742, 14858, 56002, 41732, 73111, 87, 10752, 77193, 81827, 26865, 32036, 196352, 12996, 7146, 62346, 140803, 438, 4420, 3611, 18151, 7647, 2053, 63399, 41, 30646, ...
[ 0.1109619140625, 0.1756591796875, 0.1309814453125, 0.1474609375, 0.239013671875, 0.2003173828125, 0.058197021484375, 0.1282958984375, 0.1390380859375, 0.17333984375, 0.00726318359375, 0.0628662109375, 0.06842041015625, 0.1148681640625, 0.093017578125, 0.134521484375, 0.0718994140625,...
embed
55875028_c0
55875028
fsharp
0
Title: f# convert seq obj to seq records Problem title: f# convert seq obj to seq records Tags: f%23 Problem: f# convert seq obj to seq records I am trying to read data from database and convert them to seq of records. When executing open FSharp.Data open FSharp.Data.SqlClient type foo = {name:int; author:int} [<Litera...
f# convert seq obj to seq records f# convert seq obj to seq records f%23 Authors FSharp.Data FSharp.Data.SqlClient name:int author:int Literal Select DESKTOP-5RIV0K1 Data Source Initial Catalog TestBase Integrated Security SqlCommandProvider cmd.Execute AuthorID Name Some item.Name item.AuthorID f# convert seq obj to s...
[ 0.0166015625, -0.0019683837890625, 0.003692626953125, 0.0216064453125, -0.001495361328125, -0.00127410888671875, -0.030517578125, 0.0054931640625, -0.00079345703125, -0.0233154296875, 0.01068115234375, 0.015625, -0.00124359130859375, 0.006378173828125, 0.000926971435546875, -0.03125, ...
[ 1238, 4904, 96760, 40, 864, 995, 170, 47, 115923, 3742, 61804, 93774, 3467, 254, 137989, 5, 99247, 150, 4288, 42179, 135940, 51620, 1514, 10762, 70675, 10342, 856, 11809, 77641, 150917, 8647, 63473, 91969, 48748, 12018, 177997, 1827, 211603, ...
[ 0.116455078125, 0.1854248046875, 0.1495361328125, 0.16259765625, 0.2408447265625, 0.1788330078125, 0.2476806640625, 0.0814208984375, 0.2406005859375, 0.06494140625, 0.15185546875, 0.019256591796875, 0.10986328125, 0.09521484375, 0.07745361328125, 0.0118408203125, 0.1229248046875, 0...
embed