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
21541900_c0
21541900
fsharp
0
Title: Error on dynamic casting, where static cast works Problem title: Error on dynamic casting, where static cast works Tags: casting, .net, f%23 Problem: Error on dynamic casting, where static cast works Casting System.Collections.Generic.List<int> to int seq . I'd think this should work in static and dynamic cases ...
Error on dynamic casting, where static cast works Error on dynamic casting, where static cast works casting .net f%23 Error System.Collections.Generic.List List FS0067 FS0193 Type Error on dynamic casting, where static cast works Casting System.Collections.Generic.List<int> to int seq . I'd think this should work in st...
[ 0.0284423828125, 0.0267333984375, 0.015380859375, 0.00701904296875, 0.009765625, 0, -0.02197265625, 0.01373291015625, 0.0064697265625, 0.01275634765625, -0.017333984375, -0.01220703125, -0.008056640625, 0.0223388671875, 0.005035400390625, -0.007232666015625, 0.0005645751953125, -0....
[ 212059, 98, 84079, 176050, 7440, 201939, 37702, 43240, 1179, 1238, 3742, 12353, 78457, 8996, 135932, 154663, 32036, 93774, 7049, 18197, 6746, 11591, 60457, 32301, 4288, 47, 23, 18, 40, 864, 5351, 4488, 136, 50218, 72546, 23937, 50339, 71465, ...
[ 0.1884765625, 0.0977783203125, 0.2529296875, 0.230712890625, 0.1256103515625, 0.271240234375, 0.212890625, 0.12255859375, 0.1497802734375, 0.011444091796875, 0.1373291015625, 0.1312255859375, 0.09564208984375, 0.1370849609375, 0.10595703125, 0.131591796875, 0.1165771484375, 0.09802...
embed
25796199_c0
25796199
fsharp
0
Title: Seq.where with Seq.groupBy Problem title: Seq.where with Seq.groupBy Tags: f%23 Problem: Seq.where with Seq.groupBy In learning F# I am doing a small challenge: Enter a string and the program counts the number of vowels in the text. For added complexity have it report a sum of each vowel found. This is what I ha...
Seq.where with Seq.groupBy Seq.where with Seq.groupBy f%23 Seq.where Seq.groupBy Main Seq.exists Console.ReadLine Seq.where with Seq.groupBy In learning F# I am doing a small challenge: This is what I have so far: The problem is that I cannot access the key of the grouping which is a char and so I cannot filter the seq...
[ 0.007080078125, 0.0062255859375, -0.00189971923828125, -0.01263427734375, 0.0052490234375, 0.0126953125, 0.0029144287109375, 0.0007781982421875, -0.017822265625, -0.0026397705078125, 0.00186920166015625, 0.0101318359375, 0.006500244140625, 0.00592041015625, -0.0137939453125, 0.00982666...
[ 503, 864, 136913, 678, 51588, 75358, 1238, 3742, 12321, 54376, 40777, 31345, 93232, 52080, 563, 4904, 19336, 66801, 2060, 2967, 53418, 17203, 70, 22799, 111, 21115, 214, 21441, 46312, 40, 944, 3956, 29458, 18499, 137625, 3444, 11969, 10366, ...
[ 0.068115234375, 0.1785888671875, 0.196044921875, 0.08251953125, 0.18115234375, 0.18505859375, 0.072509765625, 0.1217041015625, 0.10498046875, 0.1214599609375, 0.1181640625, 0.1099853515625, 0.1199951171875, 0.06768798828125, 0.083984375, 0.180419921875, 0.031951904296875, 0.0725097...
embed
32419747_c0
32419747
fsharp
0
Title: In F#, how do I initialize static fields in a type with no primary constructor? Problem title: In F#, how do I initialize static fields in a type with no primary constructor? Tags: f%23, c%23-to-f%23 Problem: In F#, how do I initialize static fields in a type with no primary constructor? I have an F# class that ...
In F#, how do I initialize static fields in a type with no primary constructor? In F#, how do I initialize static fields in a type with no primary constructor? f%23 c%23-to-f%23 MyType DotNetType DefaultValue someArg:string In F#, how do I initialize static fields in a type with no primary constructor? I have an F# cla...
[ -0.000743865966796875, 0.026123046875, 0.01141357421875, -0.013671875, -0.01080322265625, -0.00139617919921875, 0.01214599609375, -0.007781982421875, 0.00095367431640625, 0.0006256103515625, -0.00103759765625, 0.0068359375, 0.00860595703125, 0.018310546875, -0.007232666015625, -0.02124...
[ 563, 4904, 3642, 61475, 20650, 201939, 44457, 10644, 678, 110, 158978, 64549, 748, 360, 7, 23, 1238, 3742, 27495, 188, 420, 2646, 196707, 84929, 24447, 262, 1021, 50770, 91693, 18507, 1179, 48716, 25251, 172554, 756, 29479, 1884, 15190, 112...
[ 0.138671875, 0.2198486328125, 0.043304443359375, 0.2059326171875, 0.109130859375, 0.266357421875, 0.250244140625, 0.189208984375, 0.0693359375, 0.1116943359375, 0.116455078125, 0.137451171875, 0.0712890625, 0.008544921875, 0.011749267578125, 0.0288543701171875, 0.07220458984375, 0....
embed
25959141_c0
25959141
fsharp
0
Title: resolveTopDef, TopDefnApp, ResolveTopDefinition? Problem title: resolveTopDef, TopDefnApp, ResolveTopDefinition? Tags: quotations, f%23 Problem: resolveTopDef, TopDefnApp, ResolveTopDefinition? @Tomasp has several blog entries ( here's one ) that refer to a way of using [<ReflectedDefinition>] and ResolveTopDefi...
resolveTopDef, TopDefnApp, ResolveTopDefinition? resolveTopDef, TopDefnApp, ResolveTopDefinition? quotations f%23 TopDefnApp ResolveTopDefinition ReflectedDefinition resolveTopDef, TopDefnApp, ResolveTopDefinition? @Tomasp has several blog entries ( here's one ) that refer to a way of using [<ReflectedDefinition>] and ...
[ 0.01422119140625, 0.0263671875, 0.019775390625, 0.00090789794921875, -0.01434326171875, -0.0181884765625, 0.0208740234375, -0.0086669921875, 0.0220947265625, -0.0322265625, 0.005096435546875, -0.01611328125, -0.0172119140625, 0.0272216796875, 0.01904296875, -0.00005817413330078125, 0...
[ 103608, 77888, 187423, 4792, 19, 39179, 853, 86918, 943, 1363, 32, 81732, 5256, 1238, 3949, 3742, 53295, 133, 89829, 7763, 1510, 254, 1415, 3917, 17368, 190015, 136, 125663, 55300, 30700, 137565, 10366, 80934, 23, 981, 153, 1374, 128277, 83...
[ 0.251953125, 0.200439453125, 0.303466796875, 0.1788330078125, 0.0794677734375, 0.2294921875, 0.07379150390625, 0.2117919921875, 0.1754150390625, 0.0853271484375, 0.00579833984375, 0.219482421875, 0.084228515625, 0.000732421875, 0.0211181640625, 0.0909423828125, 0.15185546875, 0.180...
embed
54123404_c1
54123404
fsharp
1
Func) (ctx : HttpContext) -> // Resolve let orderSender = ctx.GetService<IOrderSender>() // Use do orderSender.SendOrders customerId orders return! text "OK" next ctx Is there a better way to I implement the IOrderSender, in a more idiomatic functional way (module instead of class, partial application instead of depend...
Func) (ctx : HttpContext) -> // Resolve let orderSender = ctx.GetService<IOrderSender>() // Use do orderSender.SendOrders customerId orders return! text "OK" next ctx Is there a better way to I implement the IOrderSender, in a more idiomatic functional way (module instead of class, partial application instead of depend...
[ -0.0185546875, 0.01080322265625, -0.003997802734375, -0.00567626953125, -0.00185394287109375, 0.0054931640625, -0.0101318359375, -0.00909423828125, 0.00823974609375, -0.024169921875, -0.002288818359375, 0.042236328125, -0.00457763671875, -0.000171661376953125, 0.0250244140625, 0.009582...
[ 28670, 238, 15390, 425, 3062, 254, 11935, 22829, 853, 86918, 2633, 12989, 294, 23894, 108963, 126, 121979, 17780, 42, 820, 36836, 3611, 143045, 1314, 43373, 568, 71, 30646, 7986, 9092, 11737, 11522, 3917, 87, 29479, 56, 1286, 49666, 123309,...
[ 0.1318359375, 0.03753662109375, 0.080322265625, 0.175048828125, 0.0869140625, 0.0340576171875, 0.047027587890625, 0.174560546875, 0.03973388671875, 0.1976318359375, 0.04876708984375, 0.20458984375, 0.1248779296875, 0.22998046875, 0.0665283203125, 0.0269317626953125, 0.1595458984375, ...
embed
54373561_c1
54373561
fsharp
1
format) |> ????????? let TheResultIWant = let MyLog = MultiLog [LogToConsole; LogToFile] MyLog INFO "Text written to %i outputs" 2 Perhaps the essence of this question can be caught more succintly: given a list of functions of the same signature how can I partially apply them all with the same arguments? type ThreeArg...
format) |> ????????? let TheResultIWant = let MyLog = MultiLog [LogToConsole; LogToFile] MyLog INFO "Text written to %i outputs" 2 Perhaps the essence of this question can be caught more succintly: given a list of functions of the same signature how can I partially apply them all with the same arguments? type ThreeArg...
[ -0.02978515625, 0.02294921875, 0.013916015625, 0.0037689208984375, 0.002716064453125, -0.0103759765625, 0.01129150390625, -0.00238037109375, 0.021728515625, -0.0011444091796875, 0.0054931640625, 0.0206298828125, -0.0111083984375, 0.0157470703125, -0.004974365234375, -0.0198974609375, ...
[ 9384, 24610, 132985, 2633, 581, 4332, 7, 7136, 568, 1456, 1236, 2646, 113972, 19335, 7763, 40777, 13146, 174350, 123552, 174379, 59121, 47, 1745, 14, 140992, 3533, 156892, 34475, 5303, 32354, 5701, 138256, 3642, 831, 2878, 25958, 59911, 2856,...
[ 0.1578369140625, 0.00927734375, 0.0814208984375, 0.050018310546875, 0.09515380859375, 0.020477294921875, 0.0816650390625, 0.1663818359375, 0.0093994140625, 0.048980712890625, 0.160400390625, 0.0965576171875, 0.22216796875, 0.142333984375, 0.1195068359375, 0.112548828125, 0.1085205078...
embed
72347435_c0
72347435
fsharp
0
Title: Value cannot be null error casting Generic list to F# List / Array Problem title: Value cannot be null error casting Generic list to F# List / Array Tags: f%23 Problem: Value cannot be null error casting Generic list to F# List / Array My Code is ( using Microsoft playwright to scrape a web page ) let bpl = page...
Value cannot be null error casting Generic list to F# List / Array Value cannot be null error casting Generic list to F# List / Array f%23 Value Generic List Array page.Locator bpl.EvaluateAllAsync tr.map element.getAttribute Async.AwaitTask Seq.toArray Value cannot be null error casting Generic list to F# List / Array...
[ 0.009033203125, 0.0185546875, 0.004364013671875, -0.0052490234375, -0.00408935546875, 0.007049560546875, 0.015380859375, -0.0023956298828125, 0.0164794921875, -0.0191650390625, 0.0020751953125, -0.00096893310546875, 0.01068115234375, 0.0028228759765625, 0.005950927734375, -0.0241699218...
[ 190060, 53418, 186, 56574, 18499, 176050, 88342, 5303, 47, 563, 4904, 32036, 248, 69253, 1238, 3742, 1771, 9191, 15363, 408, 1290, 2424, 27494, 12654, 4307, 62346, 12830, 191145, 634, 9874, 864, 188, 7092, 28864, 17368, 7244, 11301, 434, 54...
[ 0.279541015625, 0.2169189453125, 0.1298828125, 0.253173828125, 0.2120361328125, 0.17236328125, 0.1641845703125, 0.1973876953125, 0.10626220703125, 0.1002197265625, 0.1800537109375, 0.184814453125, 0.0023193359375, 0.1280517578125, 0.039154052734375, 0.1038818359375, 0.047088623046875...
embed
66588868_c1
66588868
fsharp
1
Events.IEvent) = Version <- event.Version I'm trying to change the value of the Version property I've created in the constructor. Update 2: That's what I've done now: type Project(projectStarted) = let mutable Version:int64 = int64(1) let mutable Tasks = [] member val Name = projectStarted.Name member val StartedTime ...
Events.IEvent) = Version <- event.Version I'm trying to change the value of the Version property I've created in the constructor. Update 2: That's what I've done now: type Project(projectStarted) = let mutable Version:int64 = int64(1) let mutable Tasks = [] member val Name = projectStarted.Name member val StartedTime ...
[ -0.026123046875, 0.0196533203125, 0.0185546875, 0.01806640625, 0.002044677734375, -0.013671875, -0.00897216796875, 0.029296875, 0.0213623046875, -0.01007080078125, 0.004638671875, 0.0031585693359375, -0.026123046875, 0.02001953125, -0.0036773681640625, -0.003326416015625, 0.010681152...
[ 123560, 568, 192134, 2203, 40647, 4426, 9, 19732, 178390, 31577, 47, 15549, 70, 34292, 57266, 272, 75935, 64549, 748, 28641, 7, 5036, 10644, 27331, 95322, 126597, 297, 16, 2633, 842, 22819, 4288, 13307, 23, 18, 9598, 1224, 268, 32786, 350...
[ 0.198974609375, 0.1505126953125, 0.27392578125, 0.08673095703125, 0.273681640625, 0.1029052734375, 0.0234527587890625, 0.1962890625, 0.250732421875, 0.0843505859375, 0.0369873046875, 0.19677734375, 0.02960205078125, 0.1656494140625, 0.2047119140625, 0.007110595703125, 0.12255859375, ...
embed
20327112_c0
20327112
fsharp
0
Title: Why does F# Interactive behave differently than compiler with regards to immutable value definition? Problem title: Why does F# Interactive behave differently than compiler with regards to immutable value definition? Tags: f%23-interactive, immutability, f%23 Problem: Why does F# Interactive behave differently t...
Why does F# Interactive behave differently than compiler with regards to immutable value definition? Why does F# Interactive behave differently than compiler with regards to immutable value definition? f%23-interactive immutability f%23 Why Interactive Why does F# Interactive behave differently than compiler with regar...
[ -0.00118255615234375, -0.01361083984375, 0.01361083984375, -0.0079345703125, 0.0106201171875, 0.01708984375, 0.0145263671875, 0.0033111572265625, 0.000774383544921875, 0.042236328125, -0.007354736328125, 0.0037841796875, 0.01165771484375, 0.01397705078125, 0.039306640625, 0.00848388671...
[ 44084, 563, 4904, 5337, 71232, 186, 68991, 12921, 538, 3501, 9969, 34759, 566, 561, 22819, 34292, 80934, 1238, 27495, 10433, 14311, 41159, 4939, 39287, 56, 60212, 17721, 842, 142424, 136, 456, 49919, 20697, 420, 172, 144729, 55950, 8306, 35...
[ 0.1114501953125, 0.1343994140625, 0.22216796875, 0.18896484375, 0.2119140625, 0.034454345703125, 0.1470947265625, 0.154541015625, 0.016632080078125, 0.055084228515625, 0.161865234375, 0.1566162109375, 0.091064453125, 0.142578125, 0.17578125, 0.185791015625, 0.1279296875, 0.08984375...
embed
5337344_c1
5337344
fsharp
1
3- Inner text of the last "td" tags. and making them tuple, like (" This is the political stability data;Score: 0.01;Sene:", "companies", "71"); I make every two "td" tags a tuple first (my method maybe very crude sorry for that), then extract the data I am interested in. This as my code tdSeq:seq<HtmlNode> tdSeq |>Se...
3- Inner text of the last "td" tags. and making them tuple, like (" This is the political stability data;Score: 0.01;Sene:", "companies", "71"); I make every two "td" tags a tuple first (my method maybe very crude sorry for that), then extract the data I am interested in. This as my code tdSeq:seq<HtmlNode> tdSeq |>Se...
[ 0.00616455078125, 0.019775390625, -0.030029296875, 0.0008392333984375, 0.0150146484375, -0.0013427734375, 0.008056640625, -0.0034027099609375, 0.01092529296875, -0.02197265625, -0.007354736328125, -0.00555419921875, -0.01287841796875, 0.0126953125, 0.013671875, 0.00701904296875, 0.02...
[ 5691, 137657, 7986, 4568, 18, 71, 69141, 20662, 370, 8705, 3293, 83, 68894, 40780, 53, 2053, 30854, 182149, 1151, 277, 46648, 15770, 3249, 11907, 6626, 5117, 55300, 59090, 125663, 60892, 18151, 808, 4233, 864, 7237, 5021, 109637, 90825, 143...
[ 0.1126708984375, 0.2005615234375, 0.220458984375, 0.13427734375, 0.09100341796875, 0.130859375, 0.242919921875, 0.06304931640625, 0.136962890625, 0.238037109375, 0.0711669921875, 0.0556640625, 0.1878662109375, 0.2069091796875, 0.07568359375, 0.1904296875, 0.16796875, 0.188110351562...
embed
26390299_c0
26390299
fsharp
0
Title: How to execute a function? Problem title: How to execute a function? Tags: f%23 Problem: How to execute a function? I read a book called Real World Functional Programming with F# and C# and there is an example that goes like this open System let readInput() = let s = Console.ReadLine() let (succ, num) = Int32.Tr...
How to execute a function? How to execute a function? f%23 How System Console.ReadLine Int32.TryParse Some None readAndAdd1 Result fun:it How to execute a function? I read a book called Real World Functional Programming with F# and C# and there is an example that goes like this It should ask you for two numbers and the...
[ -0.0147705078125, 0.004119873046875, 0.0017547607421875, 0.018310546875, 0.00151824951171875, 0.01708984375, 0.01104736328125, -0.01275634765625, -0.0028076171875, -0.0380859375, 0.0196533203125, 0.0128173828125, -0.03515625, -0.0096435546875, 0.028564453125, -0.00799560546875, 0.010...
[ 11249, 47, 71924, 13, 10, 32354, 1238, 3949, 3742, 12353, 1657, 40777, 31345, 93232, 18, 6460, 618, 1294, 28636, 184, 31384, 438, 12301, 37839, 284, 4028, 418, 126684, 7477, 217, 12877, 5120, 6661, 28670, 10763, 27958, 563, 4904, 27781, 2...
[ 0.1260986328125, 0.1126708984375, 0.268798828125, 0.1583251953125, 0.07666015625, 0.258544921875, 0.062255859375, 0.00146484375, 0.1551513671875, 0.0958251953125, 0.03985595703125, 0.1595458984375, 0.14404296875, 0.1456298828125, 0.03704833984375, 0.1884765625, 0.000457763671875, 0...
embed
78740287_c0
78740287
fsharp
0
Title: How to print examples when asked for --help in F# argu Problem title: How to print examples when asked for --help in F# argu Tags: f%23-argu, f%23 Problem: How to print examples when asked for --help in F# argu Using this SO answer I can print info for all CLI options. How can I add an Examples section after --h...
How to print examples when asked for --help in F# argu How to print examples when asked for --help in F# argu f%23-argu f%23 console How Examples USAGE gadget.exe base64 OPTIONS How to print examples when asked for --help in F# argu Using this SO answer I can print info for all CLI options. How can I add an Examples se...
[ 0.02294921875, -0.004852294921875, -0.00445556640625, 0.018798828125, -0.015869140625, 0.007415771484375, 0.00848388671875, -0.0164794921875, 0.004150390625, 0.026611328125, 0.0018768310546875, -0.0224609375, 0.00046539306640625, 0.01611328125, 0.01104736328125, 0.00872802734375, 0.0...
[ 11249, 47, 28412, 27781, 7, 3229, 37170, 100, 4210, 73866, 563, 4904, 106926, 23, 1238, 27495, 147, 1234, 3742, 130250, 89536, 99726, 4602, 11679, 88100, 46480, 3647, 13307, 28023, 15969, 831, 3004, 756, 10927, 50717, 15190, 40059, 7103, 11...
[ 0.02783203125, 0.056396484375, 0.187744140625, 0.246337890625, 0.1126708984375, 0.07257080078125, 0.11962890625, 0.04510498046875, 0.1322021484375, 0.26025390625, 0.0887451171875, 0.1536865234375, 0.2254638671875, 0.031036376953125, 0.0621337890625, 0.037353515625, 0.081298828125, ...
embed
72656832_c0
72656832
fsharp
0
Title: Serialize Record members with System.Text.Json Problem title: Serialize Record members with System.Text.Json Tags: f%23, json.net, system.text.json, json Problem: Serialize Record members with System.Text.Json I am using self-referencing members on my records like this: type Payload = { Id: Guid } member x.Deriv...
Serialize Record members with System.Text.Json Serialize Record members with System.Text.Json f%23 json.net system.text.json json id Serialize Record System.Text.Json Payload Guid x.DerivedProperty Derived Property x.Id NewtonSoft.Json FSharp.System.Text.Json json.net Serialize Record members with System.Text.Json I am...
[ -0.01177978515625, 0.0028228759765625, 0.0003261566162109375, 0.01263427734375, -0.02783203125, -0.0235595703125, -0.017333984375, 0.0281982421875, -0.01226806640625, -0.003814697265625, 0.008056640625, 0.047607421875, -0.005828857421875, 0.01611328125, 0.01153564453125, 0.002624511718...
[ 135188, 20650, 54877, 43032, 678, 12353, 174379, 1375, 1681, 1238, 3949, 3742, 1647, 1179, 5426, 22829, 170, 3447, 17166, 63033, 6955, 1022, 47731, 1264, 1310, 206984, 145076, 165606, 93774, 3467, 254, 84293, 5, 17368, 15970, 107, 69988, 1159...
[ 0.221923828125, 0.08935546875, 0.1865234375, 0.232666015625, 0.06610107421875, 0.1591796875, 0.24560546875, 0.1435546875, 0.1490478515625, 0.0245513916015625, 0.03173828125, 0.1002197265625, 0.06781005859375, 0.0902099609375, 0.1033935546875, 0.2298583984375, 0.11279296875, 0.03475...
embed
29491770_c0
29491770
fsharp
0
Title: Deedle frame indexRowsDate no longer sorting the rows? Problem title: Deedle frame indexRowsDate no longer sorting the rows? Tags: deedle, dataframe, f%23, indexing Problem: Deedle frame indexRowsDate no longer sorting the rows? I was trying to use the Deedle (downloaded from github 20150407) to test some window...
Deedle frame indexRowsDate no longer sorting the rows? Deedle frame indexRowsDate no longer sorting the rows? deedle dataframe f%23 indexing Deedle Deedle.dll System System.Data System.Dynamic System.Collections.Generic df1 Frame.ReadCsv __SOURCE_DIRECTORY__ MSFT.csv Frame.take Frame.indexRowsDate Date df1.Print df2 Fr...
[ 0.0216064453125, 0.0250244140625, 0.0205078125, 0.01904296875, -0.024169921875, -0.0234375, 0.015380859375, -0.002166748046875, -0.007171630859375, -0.00022029876708984375, -0.0162353515625, 0.0013427734375, -0.00665283203125, -0.014892578125, 0.0111083984375, -0.0128173828125, -0.00...
[ 262, 297, 133, 123789, 63262, 12724, 19725, 86291, 110, 51713, 12096, 214, 15555, 7, 8, 2053, 160328, 1238, 3949, 3742, 1181, 12353, 29673, 8996, 420, 42557, 31345, 67756, 76234, 25217, 334, 78219, 4711, 25512, 112079, 62351, 75358, 162429, ...
[ 0.1156005859375, 0.1732177734375, 0.1636962890625, 0.201416015625, 0.16943359375, 0.156494140625, 0.1304931640625, 0.2353515625, 0.0914306640625, 0.1507568359375, 0.1939697265625, 0.0294342041015625, 0.1917724609375, 0.0173797607421875, 0.073486328125, 0.07025146484375, 0.1865234375,...
embed
19053339_c1
19053339
fsharp
1
2B() { Func<A, B> a2b = a => new B(a); return a2b; } public static Func<B, C> CreateB2C() { Func<B, C> b2c = b => new C(b); return b2c; } public static Func<A, C> CreateA2C(Func<A, B> a2b, Func<B, C> b2c) { Func<A, C> a2c = a => b2c(a2b(a)); return a2c; } } } public namespace Caller { using Bbl; public class Demo() { p...
2B() { Func<A, B> a2b = a => new B(a); return a2b; } public static Func<B, C> CreateB2C() { Func<B, C> b2c = b => new C(b); return b2c; } public static Func<A, C> CreateA2C(Func<A, B> a2b, Func<B, C> b2c) { Func<A, C> a2c = a => b2c(a2b(a)); return a2c; } } } public namespace Caller { using Bbl; public class Demo() { p...
[ -0.0166015625, -0.0140380859375, 0.0191650390625, 0.0274658203125, 0.000911712646484375, 0.0216064453125, 0.0103759765625, -0.0201416015625, 0.0279541015625, 0.0111083984375, -0.025146484375, 0.023193359375, 0.025146484375, 0.0179443359375, 0.0157470703125, -0.01446533203125, 0.00903...
[ 116, 571, 132, 10666, 28670, 238, 284, 335, 10, 304, 275, 2203, 3525, 11, 30646, 3835, 201939, 313, 151313, 441, 876, 97249, 210716, 26265, 56, 17368, 9030, 18507, 42506, 2292, 28398, 6696, 62, 8647, 2886, 106742, 7870, 63784, 501, 91306,...
[ 0.1737060546875, 0.1875, 0.10009765625, 0.009429931640625, 0.1422119140625, 0.084228515625, 0.09002685546875, 0.1326904296875, 0.0718994140625, 0.19970703125, 0.128173828125, 0.0233306884765625, 0.07843017578125, 0.060882568359375, 0.1181640625, 0.0767822265625, 0.126220703125, 0.0...
embed
29266465_c1
29266465
fsharp
1
.CreateModel() use channel1 = connection.CreateModel() channel.QueueDeclare("FeedQ1", false, false, false, null) |> ignore channel1.QueueDeclare("FeedQ2", false, false, false, null) |> ignore let consumer = new QueueingBasicConsumer(channel) channel.BasicConsume("FeedQ1", true, consumer) |> ignore channel.BasicConsume(...
.CreateModel() use channel1 = connection.CreateModel() channel.QueueDeclare("FeedQ1", false, false, false, null) |> ignore channel1.QueueDeclare("FeedQ2", false, false, false, null) |> ignore let consumer = new QueueingBasicConsumer(channel) channel.BasicConsume("FeedQ1", true, consumer) |> ignore channel.BasicConsume(...
[ 0.00174713134765625, 0.0162353515625, -0.034912109375, 0.035400390625, 0.008544921875, 0.01214599609375, -0.0115966796875, -0.00323486328125, -0.004638671875, -0.0400390625, 0.011962890625, -0.00543212890625, 0.019775390625, 0.00067901611328125, 0.02197265625, -0.004180908203125, -0....
[ 5, 63784, 2182, 140290, 16, 4527, 86723, 418, 2203, 94878, 41732, 13388, 120152, 38103, 30154, 297, 2737, 98320, 56574, 124962, 304, 2633, 107222, 3525, 5813, 214, 63473, 1771, 11935, 11832, 17032, 7, 15537, 29568, 28412, 14783, 175254, 100, ...
[ 0.0888671875, 0.173583984375, 0.11865234375, 0.30615234375, 0.005218505859375, 0.12939453125, 0.207763671875, 0.0887451171875, 0.05670166015625, 0.1915283203125, 0.1217041015625, 0.13818359375, 0.07427978515625, 0.07208251953125, 0.1268310546875, 0.0849609375, 0.1673583984375, 0.11...
embed
64994193_c1
64994193
fsharp
1
that correct? Then you build, within that context, an expression that uses that model in order to build an operation chain. Is this a correct assumption, or am I missing the big picture? I am routinely using Result, Option, etc but I'm trying to get a good sense of the underlying mechanism. As experiment, I took this ...
that correct? Then you build, within that context, an expression that uses that model in order to build an operation chain. Is this a correct assumption, or am I missing the big picture? I am routinely using Result, Option, etc but I'm trying to get a good sense of the underlying mechanism. As experiment, I took this ...
[ -0.0274658203125, 0.0242919921875, 0.003387451171875, 0.00189208984375, 0.00640869140625, 0.01318359375, 0.01092529296875, -0.0167236328125, 0.0303955078125, -0.0150146484375, 0.00823974609375, -0.015380859375, 0.0172119140625, 0.0174560546875, 0.00799560546875, 0.00714111328125, -0....
[ 450, 26785, 45367, 28032, 43701, 125195, 4527, 3299, 41018, 121293, 237259, 132283, 49726, 124374, 17368, 126684, 86769, 10422, 1379, 191619, 28007, 1467, 10644, 121137, 56, 32786, 903, 571, 7250, 425, 1238, 14858, 1022, 9972, 212059, 28, 987, ...
[ 0.07952880859375, 0.186767578125, 0.174560546875, 0.064208984375, 0.1368408203125, 0.209228515625, 0.0810546875, 0.218017578125, 0.16455078125, 0.191650390625, 0.1617431640625, 0.031463623046875, 0.041748046875, 0.062744140625, 0.032928466796875, 0.2034912109375, 0.1953125, 0.01574...
embed
16638867_c0
16638867
fsharp
0
Title: FParsec failing on many Problem title: FParsec failing on many Tags: f%23, fparsec Problem: FParsec failing on many I have this test program: open FParsec let test p str = match run p str with | Success(result, _, _) -> printfn "Success: %A" result | Failure(errorMsg, _, _) -> printfn "Failure: %s" errorMsg let ...
FParsec failing on many FParsec failing on many f%23 fparsec FParsec Success Failure EntryPoint FParsec failing on many I have this test program: The line {test part s} works as expected but the next line, {test (many part) s} fails and I don't understand what I am doing wrong. EDIT: To clarify, what I am trying to do ...
[ -0.0155029296875, 0.00360107421875, -0.00665283203125, 0.026123046875, -0.01025390625, 0.0203857421875, 0.01031494140625, -0.0191650390625, 0.0103759765625, -0.0038909912109375, 0.00787353515625, 0.01092529296875, -0.0029449462890625, -0.002471923828125, -0.00872802734375, -0.019287109...
[ 563, 28636, 39797, 35782, 98, 5941, 214, 1238, 3949, 3742, 2500, 144053, 190355, 15123, 147534, 903, 3034, 1528, 13315, 6954, 2831, 91, 43240, 237, 84751, 11737, 669, 53, 7, 2301, 18, 28219, 444, 20594, 44691, 17306, 31577, 30646, 15467, ...
[ 0.13671875, 0.167236328125, 0.2225341796875, 0.181396484375, 0.092529296875, 0.1788330078125, 0.00048828125, 0.0830078125, 0.00494384765625, 0.107421875, 0.151123046875, 0.11767578125, 0.097412109375, 0.080078125, 0.06329345703125, 0.017242431640625, 0.1905517578125, 0.133056640625...
embed
34183243_c0
34183243
fsharp
0
Title: In F#, how to use active expressions to check type variables Problem title: In F#, how to use active expressions to check type variables Tags: pattern-matching, f%23 Problem: In F#, how to use active expressions to check type variables The use of type typedef<typename> as a literal target within a match expressi...
In F#, how to use active expressions to check type variables In F#, how to use active expressions to check type variables pattern-matching f%23 Type IsType et:Type et.Equals Some None Yes if..then In F#, how to use active expressions to check type variables The use of type typedef<typename> as a literal target within a...
[ 0.007659912109375, -0.007293701171875, -0.00083160400390625, 0.0045166015625, -0.018798828125, -0.01904296875, -0.0185546875, 0.0172119140625, 0.00634765625, 0.000766754150390625, 0.021240234375, 0.00145721435546875, -0.00299072265625, -0.016845703125, 0.0263671875, 0.007171630859375, ...
[ 563, 4904, 3642, 4527, 36457, 125195, 7, 12765, 10644, 77336, 103510, 98753, 1238, 3742, 60457, 2071, 196707, 82, 71723, 31384, 438, 2174, 92733, 112, 420, 50986, 11627, 237, 15659, 30388, 28032, 14858, 8060, 6002, 86531, 18499, 4390, 126826,...
[ 0.1070556640625, 0.1866455078125, 0.0182647705078125, 0.0992431640625, 0.20263671875, 0.227783203125, 0.01531982421875, 0.1990966796875, 0.1995849609375, 0.1832275390625, 0.1658935546875, 0.18212890625, 0.0635986328125, 0.0631103515625, 0.15185546875, 0.0643310546875, 0.19921875, 0...
embed
57905186_c2
57905186
fsharp
2
-359750323, dotnet:2.2-sdk-alpine, RUN, WORKDIR, COPY, MyCompany.WebApi, MyCompany.WebApi.fsproj, NuGet.config, Release, ENTRYPOINT, MyCompany.WebApi.dll, packet.lock, FAKE, api.nuget.org, index.json, paket.dependencies, Microsoft.AspNet.WebApi.Client, netcoreapp2.2, Microsoft.AspNetCore, Microsoft.AspNetCore.Antiforge...
-359750323, dotnet:2.2-sdk-alpine, RUN, WORKDIR, COPY, MyCompany.WebApi, MyCompany.WebApi.fsproj, NuGet.config, Release, ENTRYPOINT, MyCompany.WebApi.dll, packet.lock, FAKE, api.nuget.org, index.json, paket.dependencies, Microsoft.AspNet.WebApi.Client, netcoreapp2.2, Microsoft.AspNetCore, Microsoft.AspNetCore.Antiforge...
[ -0.032958984375, 0.007293701171875, -0.000843048095703125, 0.01104736328125, -0.0019073486328125, 0.005645751953125, -0.00579833984375, -0.0169677734375, 0.00225830078125, 0.005889892578125, 0.0216064453125, 0.0108642578125, 0.008544921875, 0.026123046875, 0.0057373046875, 0.0002593994...
[ 20, 120301, 58087, 363, 3742, 4, 20633, 1179, 12, 70147, 7, 5740, 289, 80654, 6, 130747, 231355, 123237, 153003, 1723, 2646, 108161, 4848, 5, 30474, 284, 1434, 17447, 3454, 170, 1429, 724, 126, 153837, 152590, 7338, 193413, 9698, 59537, 7...
[ 0.04559326171875, 0.1470947265625, 0.1302490234375, 0.08062744140625, 0.154541015625, 0.05743408203125, 0.12646484375, 0.2021484375, 0.037750244140625, 0.2354736328125, 0.030303955078125, 0.16357421875, 0.13720703125, 0.26025390625, 0.0178070068359375, 0.22314453125, 0.1591796875, ...
embed
66817964_c0
66817964
fsharp
0
Title: How to fix type error in F# function arguments Problem title: How to fix type error in F# function arguments Tags: f%23, functional-programming Problem: How to fix type error in F# function arguments I have a program that is trying to take in a list of ints and return a int list that has all the odd numbers from...
How to fix type error in F# function arguments How to fix type error in F# function arguments f%23 functional-programming How Error FS0001 System EntryPoint How to fix type error in F# function arguments I have a program that is trying to take in a list of ints and return a int list that has all the odd numbers from it...
[ 0.004119873046875, 0.0242919921875, 0.0067138671875, -0.0115966796875, -0.000270843505859375, 0.0093994140625, -0.0284423828125, -0.003570556640625, -0.000335693359375, -0.00567626953125, 0.0185546875, -0.0281982421875, 0.0225830078125, 0.01007080078125, 0.03076171875, -0.0130004882812...
[ 11249, 47, 30022, 10644, 18499, 563, 4904, 32354, 10750, 1238, 3949, 3742, 123309, 28966, 212059, 93774, 188735, 12353, 357, 15123, 147534, 23, 1528, 31577, 5646, 5303, 933, 30646, 18, 1556, 756, 70270, 101935, 1295, 56037, 87, 9790, 11782, ...
[ 0.0218658447265625, 0.0181121826171875, 0.1451416015625, 0.231201171875, 0.1798095703125, 0.1248779296875, 0.2017822265625, 0.153564453125, 0.17431640625, 0.07794189453125, 0.0180206298828125, 0.1243896484375, 0.143310546875, 0.0638427734375, 0.1351318359375, 0.096923828125, 0.192260...
embed
61905328_c0
61905328
fsharp
0
Title: F# question about typing, the type float*float does not match the type &#x27;float&#x27; Problem title: F# question about typing, the type float*float does not match the type &#x27;float&#x27; Tags: f%23, tuples, list Problem: F# question about typing, the type float*float does not match the type 'float' I start...
F# question about typing, the type float*float does not match the type &#x27;float&#x27; F# question about typing, the type float*float does not match the type &#x27;float&#x27; f%23 tuples list CylinderVolume System.Math.PI F# question about typing, the type float*float does not match the type 'float' I started learni...
[ -0.01239013671875, 0.004241943359375, 0.01092529296875, 0.0142822265625, 0.02392578125, -0.008056640625, -0.02197265625, -0.00482177734375, -0.0019989013671875, -0.01214599609375, -0.003997802734375, 0.022705078125, 0.00014972686767578125, -0.020751953125, 0.0002956390380859375, -0.008...
[ 563, 4904, 9655, 11417, 214, 10644, 21917, 257, 1639, 52347, 14602, 959, 14858, 3768, 1238, 370, 99726, 5303, 27939, 104532, 73668, 12353, 15185, 55681, 37348, 43701, 157318, 38132, 21950, 19932, 4567, 155955, 125195, 84751, 3688, 11782, 21954,...
[ 0.095458984375, 0.181396484375, 0.06536865234375, 0.1748046875, 0.0477294921875, 0.1693115234375, 0.1787109375, 0.087158203125, 0.07733154296875, 0.173095703125, 0.021270751953125, 0.101806640625, 0.1512451171875, 0.0156097412109375, 0.035308837890625, 0.021331787109375, 0.1240234375...
embed
27450581_c0
27450581
fsharp
0
Title: Making a class with a private constructor in F# Problem title: Making a class with a private constructor in F# Tags: private, f%23, constructor, class Problem: Making a class with a private constructor in F# I want to make a class that has only one constructor which is private. Now I know how to do it in C# but ...
Making a class with a private constructor in F# Making a class with a private constructor in F# private f%23 constructor class Making ValidString _value Value TryParse input.Length input.All Char.IsLetter Making a class with a private constructor in F# I want to make a class that has only one constructor which is priva...
[ -0.0107421875, 0.0184326171875, 0.01287841796875, 0.015625, 0.00714111328125, 0.0145263671875, -0.01153564453125, -0.0086669921875, -0.0040283203125, 0.003875732421875, 0.00848388671875, -0.018310546875, 0.00469970703125, 0.027587890625, -0.0223388671875, 0.00860595703125, 0.01275634...
[ 13676, 18507, 678, 14375, 64549, 748, 563, 4904, 214, 10, 23, 1238, 3949, 3742, 25447, 71, 71713, 101, 27494, 13, 190060, 40858, 28636, 184, 107730, 449, 43512, 21656, 29598, 5267, 3055, 3444, 3249, 1556, 4734, 1632, 83, 3714, 54, 313, ...
[ 0.0809326171875, 0.225341796875, 0.0872802734375, 0.2333984375, 0.185302734375, 0.15380859375, 0.1343994140625, 0.2047119140625, 0.029052734375, 0.035980224609375, 0.060516357421875, 0.08526611328125, 0.035003662109375, 0.166748046875, 0.148681640625, 0.031646728515625, 0.11877441406...
embed
5516816_c0
5516816
fsharp
0
Title: F#: a complex record type and a DataGridView Problem title: F#: a complex record type and a DataGridView Tags: .net, c%23, datagridview, f%23 Problem: F#: a complex record type and a DataGridView I have a record type like this: type Rule = {extension: string seq; subdir: string} let rules : Rule list = // ... An...
F#: a complex record type and a DataGridView F#: a complex record type and a DataGridView .net c%23 datagridview f%23 DataGridView Rule SimpleRule F#: a complex record type and a DataGridView I have a record type like this: And I want to bind it's instance to DataGridView. All my UI logic is implemented with C#. What i...
[ 0.0028076171875, 0.02978515625, -0.014892578125, 0.00066375732421875, -0.00008058547973632812, 0.00408935546875, -0.02001953125, 0.01495361328125, 0.01275634765625, -0.0240478515625, 0.0050048828125, -0.01544189453125, 0.005584716796875, 0.0267333984375, -0.0213623046875, -0.0039978027...
[ 563, 4904, 27140, 17164, 10644, 136, 11809, 19040, 100474, 1179, 3742, 2053, 120067, 22751, 1238, 139118, 60552, 26951, 1884, 3444, 68557, 110527, 47, 3164, 111481, 62775, 29479, 678, 313, 2965, 3917, 91067, 93774, 3467, 254, 5, 50886, 13452,...
[ 0.0892333984375, 0.1903076171875, 0.178466796875, 0.1861572265625, 0.1632080078125, 0.027130126953125, 0.0628662109375, 0.1131591796875, 0.2353515625, 0.0924072265625, 0.038116455078125, 0.0160369873046875, 0.122314453125, 0.185546875, 0.00787353515625, 0.162353515625, 0.1396484375, ...
embed
72444281_c0
72444281
fsharp
0
Title: What is missing using interfaces compared to true type-classes? Problem title: What is missing using interfaces compared to true type-classes? Tags: f%23, fsharp-typeclasses Problem: What is missing using interfaces compared to true type-classes? F# does not (currently) support type-classes . However, F# does su...
What is missing using interfaces compared to true type-classes? What is missing using interfaces compared to true type-classes? f%23 fsharp-typeclasses interfaces What Foo Trait IShowable Show Showable showable.Show Witness this.Show foo.Foo Slightly Foo.asShowable What is missing using interfaces compared to true type...
[ 0.0064697265625, 0.005859375, -0.00897216796875, 0.0084228515625, 0.006378173828125, -0.00689697265625, -0.00311279296875, 0.009521484375, 0.004425048828125, -0.0026092529296875, -0.01416015625, -0.0022125244140625, -0.0224609375, 0.020263671875, 0.00061798095703125, -0.0087890625, -...
[ 4865, 83, 132283, 17368, 101758, 7, 154186, 29568, 10644, 9, 67413, 90, 32, 1238, 3742, 89280, 254, 50986, 9572, 31, 4937, 217, 87, 168660, 2886, 17367, 7639, 52334, 7432, 903, 5775, 27591, 20016, 162, 47, 563, 4904, 14602, 959, 163812, ...
[ 0.07586669921875, 0.0732421875, 0.2015380859375, 0.07720947265625, 0.237060546875, 0.0247802734375, 0.133544921875, 0.144287109375, 0.2098388671875, 0.0816650390625, 0.247802734375, 0.0325927734375, 0.0168609619140625, 0.05950927734375, 0.043609619140625, 0.127197265625, 0.1062622070...
embed
50618690_c0
50618690
fsharp
0
Title: F#: error creating a list of size n Problem title: F#: error creating a list of size n Tags: f%23-interactive, f%23 Problem: F#: error creating a list of size n I'm trying to create a list of size n pulling elements from a larger, already created list. I'm getting an error saying: This value is not a function an...
F#: error creating a list of size n F#: error creating a list of size n f%23-interactive f%23 beginning head::tail F#: error creating a list of size n I'm trying to create a list of size n pulling elements from a larger, already created list. I'm getting an error saying: This value is not a function and cannot be appli...
[ 0.022216796875, 0.00127410888671875, 0.0003032684326171875, -0.00921630859375, -0.0103759765625, -0.0048828125, -0.01055908203125, 0.000823974609375, 0.00799560546875, -0.028564453125, 0.0198974609375, -0.036376953125, 0.01019287109375, -0.0067138671875, 0.0296630859375, -0.01556396484...
[ 563, 4904, 18499, 105233, 5303, 111, 13267, 653, 1238, 27495, 10433, 71232, 3742, 86595, 10336, 46741, 31577, 28282, 50065, 80854, 1295, 150679, 21771, 75935, 3293, 34292, 83, 959, 10, 32354, 136, 53418, 190659, 360, 277, 131801, 103510, 1485...
[ 0.1304931640625, 0.209228515625, 0.1868896484375, 0.1458740234375, 0.18701171875, 0.086181640625, 0.173828125, 0.16064453125, 0.0767822265625, 0.0882568359375, 0.0596923828125, 0.0621337890625, 0.09912109375, 0.05999755859375, 0.1158447265625, 0.173095703125, 0.0706787109375, 0.121...
embed
59931850_c2
59931850
fsharp
2
assembly, How, SQLProvier, MySQL, MariaDB, FSharp.Data.Sql, Literal, Server, Database, market_data, Uid, Pwd, Port, AllowLoadLocalInfile, Common.DatabaseProviderTypes.MYSQL, __SOURCE_DIRECTORY__, DLLs, SqlDataProvider, ResolutionPath, UseOptionTypes, Severity, Description, Project, File, Line, Suppression, State, Erro...
assembly, How, SQLProvier, MySQL, MariaDB, FSharp.Data.Sql, Literal, Server, Database, market_data, Uid, Pwd, Port, AllowLoadLocalInfile, Common.DatabaseProviderTypes.MYSQL, __SOURCE_DIRECTORY__, DLLs, SqlDataProvider, ResolutionPath, UseOptionTypes, Severity, Description, Project, File, Line, Suppression, State, Erro...
[ 0.004669189453125, 0.0159912109375, 0.0157470703125, 0.0291748046875, 0.0040283203125, 0.015380859375, -0.005584716796875, -0.02978515625, 0.00994873046875, -0.0235595703125, 0.003173828125, -0.004241943359375, 0.01025390625, -0.02783203125, -0.00982666015625, -0.015380859375, -0.001...
[ 10, 89845, 38526, 4, 11249, 80866, 10752, 22023, 157146, 5379, 39463, 93774, 3467, 254, 5, 137989, 99247, 135940, 141, 22687, 187781, 16839, 10135, 345, 532, 37281, 13791, 41566, 15363, 203758, 4153, 29822, 151301, 37382, 177997, 62160, 196707,...
[ 0.05499267578125, 0.2261962890625, 0.16455078125, 0.06683349609375, 0.166748046875, 0.2091064453125, 0.197021484375, 0.274658203125, 0.26708984375, 0.1771240234375, 0.255126953125, 0.1502685546875, 0.1861572265625, 0.18896484375, 0.0592041015625, 0.1446533203125, 0.205078125, 0.162...
embed
4418802_c0
4418802
fsharp
0
Title: Problems with C# regular expression long load Problem title: Problems with C# regular expression long load Tags: c%23, timeout, regex, f%23 Problem: Problems with C# regular expression long load I have a quiet long regex and sometimes it response fast some times it loads long like crazy. here is my regex: <div c...
Problems with C# regular expression long load Problems with C# regular expression long load c%23 timeout regex f%23 Problems mp3 Name Artist Uploader Category Duration StreamSize Weight Clicks DownloadLink Problems with C# regular expression long load I have a quiet long regex and sometimes it response fast some times ...
[ 0.00048065185546875, 0.0184326171875, 0.005523681640625, 0.00116729736328125, -0.013427734375, 0.000591278076171875, -0.0089111328125, 0.027099609375, 0.007781982421875, -0.052978515625, -0.006378173828125, -0.005706787109375, 0.005218505859375, -0.00531005859375, 0.01239013671875, 0.0...
[ 15649, 678, 313, 4904, 20324, 125195, 4989, 72367, 501, 3949, 3742, 1733, 6056, 6835, 3355, 1238, 9607, 363, 15757, 69891, 171958, 49057, 79843, 115061, 127167, 150533, 21138, 4857, 64287, 92136, 136, 68018, 57553, 4271, 3060, 20028, 1884, 11...
[ 0.1842041015625, 0.075927734375, 0.06671142578125, 0.2340087890625, 0.16650390625, 0.21923828125, 0.1746826171875, 0.26123046875, 0.005889892578125, 0.0137939453125, 0.1331787109375, 0.125732421875, 0.13720703125, 0.13916015625, 0.189697265625, 0.050689697265625, 0.038604736328125, ...
embed
5520917_c0
5520917
fsharp
0
Title: Iterating over nested sequence in F# - How? Problem title: Iterating over nested sequence in F# - How? Tags: f%23, sequence, nested, iteration Problem: Iterating over nested sequence in F# - How? I can define a simple list in F# as follows and iterate over it with the following code: let ar = [0;1;2;3] ar |> Seq...
Iterating over nested sequence in F# - How? Iterating over nested sequence in F# - How? f%23 sequence nested iteration Iterating How Seq.iter ar1 ar2 nested_array Iterating over nested sequence in F# - How? I can define a simple list in F# as follows and iterate over it with the following code: Now consider a nested se...
[ -0.00173187255859375, 0.00738525390625, -0.00921630859375, 0.0012054443359375, 0.010009765625, 0.0152587890625, 0.01904296875, -0.00445556640625, -0.010986328125, -0.0267333984375, 0.00022029876708984375, 0.024658203125, 0.0164794921875, 0.01513671875, 0.01177978515625, -0.019409179687...
[ 87, 67, 98767, 645, 8512, 71, 40, 944, 3956, 563, 4904, 11249, 23, 1238, 3949, 3742, 17, 720, 503, 864, 16840, 187, 418, 304, 19305, 61924, 8781, 5303, 28960, 8560, 18151, 16916, 831, 903, 35064, 18499, 31577, 1810, 56, 137158, 40225, ...
[ 0.07489013671875, 0.1846923828125, 0.14697265625, 0.1944580078125, 0.2313232421875, 0.10369873046875, 0.07244873046875, 0.1534423828125, 0.0767822265625, 0.1282958984375, 0.2041015625, 0.09710693359375, 0.001373291015625, 0.07781982421875, 0.01324462890625, 0.119873046875, 0.05340576...
embed
36445045_c0
36445045
fsharp
0
Title: Flattening recursive data structure Problem title: Flattening recursive data structure Tags: recursion, f%23 Problem: Flattening recursive data structure I have a recursive data stucture in the form of a list of comment threads. Each comment can contain zero or more replies (comments) and each reply can contain ...
Flattening recursive data structure Flattening recursive data structure recursion f%23 Flattening Comment Text Score Replies Comments hd::tl List.collect c.Replies Seq.toList Flattening recursive data structure I have a recursive data stucture in the form of a list of comment threads. Each comment can contain zero or m...
[ -0.0157470703125, 0.0224609375, -0.01495361328125, 0.0035858154296875, 0.0052490234375, 0.00701904296875, -0.00732421875, -0.00982666015625, -0.00830078125, -0.0084228515625, -0.0033721923828125, 0.0093994140625, -0.01123046875, 0.015625, 0.0155029296875, 0.030517578125, 0.0140380859...
[ 106516, 67, 195625, 5844, 2053, 45646, 592, 1830, 3949, 3742, 16277, 24129, 168071, 33742, 11427, 26488, 141, 32036, 196352, 4332, 26026, 864, 188, 154663, 18784, 238, 6644, 5303, 6868, 86997, 98423, 70541, 45234, 1286, 156405, 12638, 75836, ...
[ 0.1942138671875, 0.1712646484375, 0.1807861328125, 0.1019287109375, 0.078369140625, 0.1783447265625, 0.03009033203125, 0.0143280029296875, 0.0205230712890625, 0.05792236328125, 0.1640625, 0.09674072265625, 0.1436767578125, 0.116943359375, 0.1773681640625, 0.05352783203125, 0.03186035...
embed
16557761_c0
16557761
fsharp
0
Title: F# much slower than Ocaml for handling complex keys like int*int*int in data structures Problem title: F# much slower than Ocaml for handling complex keys like int*int*int in data structures Tags: profiling, f%23, performance, ocaml Problem: F# much slower than Ocaml for handling complex keys like int*int*int in...
F# much slower than Ocaml for handling complex keys like int*int*int in data structures F# much slower than Ocaml for handling complex keys like int*int*int in data structures profiling f%23 performance ocaml Ocaml System.Tuple System.Collections.IStructuralEquatable.Equals System.Collections.IEqualityComparer F# much ...
[ 0.006683349609375, 0.000919342041015625, 0.005157470703125, -0.0093994140625, 0.002960205078125, -0.028564453125, -0.005401611328125, -0.0191650390625, 0.002960205078125, -0.0096435546875, 0.00921630859375, 0.028564453125, 0.01165771484375, 0.01031494140625, 0.0004253387451171875, -0.0...
[ 563, 4904, 5045, 72803, 56, 3501, 180, 9779, 141, 45064, 27140, 22799, 18, 4288, 2053, 45646, 9468, 1238, 3742, 23718, 36, 12353, 78457, 8996, 9774, 73317, 90065, 2886, 71723, 161789, 108161, 147, 117176, 1528, 3934, 5701, 91995, 131527, 86...
[ 0.149658203125, 0.2117919921875, 0.02386474609375, 0.1898193359375, 0.06640625, 0.026519775390625, 0.125732421875, 0.1744384765625, 0.1505126953125, 0.09930419921875, 0.1380615234375, 0.142822265625, 0.05859375, 0.148681640625, 0.01727294921875, 0.128662109375, 0.1031494140625, 0.0...
embed
17128628_c0
17128628
fsharp
0
Title: Scan for available WiFi networks in F# Problem title: Scan for available WiFi networks in F# Tags: network-scan, wifi, network-programming, f%23 Problem: Scan for available WiFi networks in F# I've tried to find a way to scan for available WiFi networks in F# and print out their names and signal strength, but i ...
Scan for available WiFi networks in F# Scan for available WiFi networks in F# network-scan wifi network-programming f%23 Scan WiFi uint32 NativeWifi.Wlan.WlanOpenHandle NativeWifi.Wlan.WlanEnumInterfaces Scan for available WiFi networks in F# I've tried to find a way to scan for available WiFi networks in F# and print ...
[ -0.00079345703125, 0.00811767578125, 0.000885009765625, 0.046142578125, -0.009765625, 0.024658203125, -0.016845703125, -0.00982666015625, -0.0108642578125, -0.0303955078125, 0.0185546875, -0.0020904541015625, -0.021484375, -0.00970458984375, -0.006500244140625, -0.01275634765625, 0.0...
[ 65533, 100, 19882, 36495, 33120, 23, 563, 4904, 7, 4398, 68673, 28966, 1238, 3742, 75, 4288, 6460, 353, 4935, 36119, 1029, 1414, 103264, 135679, 2606, 44851, 40404, 37842, 3917, 44954, 28412, 123055, 26073, 90254, 80234, 61687, 4527, 84434, ...
[ 0.22412109375, 0.0916748046875, 0.193115234375, 0.2484130859375, 0.16748046875, 0.0789794921875, 0.174560546875, 0.2408447265625, 0.0335693359375, 0.208740234375, 0.20556640625, 0.1085205078125, 0.0848388671875, 0.088623046875, 0.0302734375, 0.056640625, 0.172607421875, 0.140869140...
embed
35951774_c1
35951774
fsharp
1
via the IComparison (when 't : comparison), etc., family of interfaces. Even for OO programs ISTM that the idea of dispatching equality and comparison is a bad idea -- an object "knows" how to perform its own domain-specific tasks, but it doesn't "know" for the most part what notion of equality is going to be necessar...
via the IComparison (when 't : comparison), etc., family of interfaces. Even for OO programs ISTM that the idea of dispatching equality and comparison is a bad idea -- an object "knows" how to perform its own domain-specific tasks, but it doesn't "know" for the most part what notion of equality is going to be necessar...
[ 0.0040283203125, 0.01373291015625, 0.00579833984375, 0.004241943359375, 0.001739501953125, -0.0091552734375, 0.01092529296875, -0.0042724609375, 0.0167236328125, 0.004730224609375, 0.00193023681640625, 0.00933837890625, -0.004150390625, -0.0035552978515625, -0.0174560546875, -0.0050964...
[ 1829, 87, 108161, 1686, 1681, 3220, 18, 225490, 14449, 101758, 30563, 103391, 36263, 594, 6528, 58580, 257, 59207, 28, 161789, 136, 6494, 36746, 69723, 3642, 51339, 10002, 77758, 159975, 66211, 110, 63559, 1528, 60042, 64, 277, 24980, 959, ...
[ 0.1221923828125, 0.1136474609375, 0.154296875, 0.15087890625, 0.1390380859375, 0.04974365234375, 0.078857421875, 0.25732421875, 0.0792236328125, 0.229736328125, 0.1585693359375, 0.11474609375, 0.0980224609375, 0.1282958984375, 0.075439453125, 0.0692138671875, 0.078369140625, 0.0072...
embed
24066844_c0
24066844
fsharp
0
Title: The namespace &quot;TypeProviders&quot; is not defined (open Microsoft.FSharp.Data.TypeProviders) Problem title: The namespace &quot;TypeProviders&quot; is not defined (open Microsoft.FSharp.Data.TypeProviders) Tags: visual-studio-2012, f%23 Problem: The namespace "TypeProviders" is not defined (open Microsoft.F...
The namespace &quot;TypeProviders&quot; is not defined (open Microsoft.FSharp.Data.TypeProviders) The namespace &quot;TypeProviders&quot; is not defined (open Microsoft.FSharp.Data.TypeProviders) visual-studio-2012 f%23 TypeProviders Microsoft.FSharp.Data.TypeProviders Northwind ODataService services.odata.org Northwin...
[ 0.017333984375, 0.0244140625, -0.0107421875, 0.004425048828125, 0.006561279296875, 0.019287109375, 0.006500244140625, -0.00775146484375, -0.0111083984375, -0.02001953125, -0.0279541015625, -0.01361083984375, 0.01025390625, 0.00909423828125, 0.014404296875, 0.01043701171875, 0.0056762...
[ 210716, 196707, 177997, 14, 14202, 83, 959, 61924, 71, 59636, 7244, 3467, 254, 137989, 21176, 52629, 54458, 3742, 60457, 23924, 50777, 180, 121979, 11374, 31, 10135, 66357, 36381, 122395, 73372, 22968, 563, 4904, 57143, 13452, 51, 277, 674, ...
[ 0.275390625, 0.25732421875, 0.204345703125, 0.1773681640625, 0.19677734375, 0.0430908203125, 0.117919921875, 0.2093505859375, 0.041900634765625, 0.080078125, 0.06103515625, 0.1317138671875, 0.14453125, 0.12353515625, 0.137451171875, 0.1500244140625, 0.152099609375, 0.03851318359375...
embed
59822371_c0
59822371
fsharp
0
Title: Install version of F# Problem title: Install version of F# Tags: visual-studio-2017, f%23 Problem: Install version of F# Code signals: Install, Program, Files, x86, Microsoft, Visual, Studio, Professional, MSBuild, SDKs, Framework, v4.0, Microsoft.FSharp.Targets, Also, MSBuildExtensionsPath32, These, Users, AppD...
Install version of F# Install version of F# visual-studio-2017 f%23 Install Program Files x86 Microsoft Visual Studio Professional MSBuild SDKs Framework v4.0 Microsoft.FSharp.Targets Also MSBuildExtensionsPath32 These Users AppData Local VisualStudio devenv.exe.config Confirm utf-8 Project ToolsVersion DefaultTargets ...
[ -0.00872802734375, 0.0172119140625, 0.0162353515625, -0.01019287109375, -0.016357421875, 0.00101470947265625, -0.0155029296875, -0.0218505859375, 0.004852294921875, 0.03564453125, 0.002197265625, -0.0208740234375, -0.00927734375, 0.00732421875, 0.023193359375, 0.0068359375, 0.0060424...
[ 107951, 11389, 111, 563, 4904, 21176, 52629, 22842, 1238, 3949, 3742, 7663, 42724, 15276, 7244, 73372, 22968, 61928, 16265, 121137, 159, 45461, 202220, 81, 151152, 36381, 3467, 254, 63031, 3794, 128872, 10519, 6460, 32255, 53400, 24172, 109023,...
[ 0.1898193359375, 0.17578125, 0.06732177734375, 0.1788330078125, 0.28271484375, 0.1856689453125, 0.1597900390625, 0.2225341796875, 0.1124267578125, 0.00872802734375, 0.120849609375, 0.0986328125, 0.098388671875, 0.1890869140625, 0.0994873046875, 0.171142578125, 0.1729736328125, 0.09...
embed
43773188_c0
43773188
fsharp
0
Title: Modelling world in terms of &quot;or&quot; and &quot;and&quot; Problem title: Modelling world in terms of &quot;or&quot; and &quot;and&quot; Tags: .net, record, discriminated-union, f%23, functional-programming Problem: Modelling world in terms of "or" and "and" Thomas user said in the comment : I think modellin...
Modelling world in terms of &quot;or&quot; and &quot;and&quot; Modelling world in terms of &quot;or&quot; and &quot;and&quot; .net record discriminated-union f%23 functional-programming Modelling Animal Type Phyla Chordata Arthropods Fish Reptiles Mammals Modelling world in terms of "or" and "and" Thomas user said in t...
[ -0.00164031982421875, 0.00946044921875, 0.0020599365234375, 0.0294189453125, -0.0106201171875, -0.00823974609375, -0.003082275390625, 0.01007080078125, 0.0030670166015625, -0.0274658203125, -0.004241943359375, -0.0133056640625, 0.00811767578125, 0.006378173828125, 0.004486083984375, 0....
[ 49475, 214, 8999, 69407, 41502, 748, 136, 2940, 5, 1179, 17164, 55970, 3674, 87046, 1238, 3742, 123309, 28966, 82821, 60457, 13000, 7809, 176320, 1724, 42294, 10299, 104796, 33742, 118, 101860, 8080, 14978, 38937, 6868, 121691, 3299, 2069, 11...
[ 0.248779296875, 0.0736083984375, 0.1824951171875, 0.1268310546875, 0.006591796875, 0.2342529296875, 0.10357666015625, 0.186767578125, 0.032958984375, 0.1573486328125, 0.18603515625, 0.2364501953125, 0.0748291015625, 0.1717529296875, 0.0260162353515625, 0.058349609375, 0.12744140625, ...
embed
56957254_c0
56957254
fsharp
0
Title: Tail-Recursive Foldr Problem title: Tail-Recursive Foldr Tags: f%23, functional-programming Problem: Tail-Recursive Foldr I'd like to write a tail-recursive foldr in f#, to take advantage of the tail-recursion optimization and learn more about functional programming. I've written a tail-recursive foldl, and a fo...
Tail-Recursive Foldr Tail-Recursive Foldr f%23 functional-programming Tail-Recursive Foldr tail_recurse_foldl List x::xs Tail-Recursive Foldr I'd like to write a tail-recursive foldr in f#, to take advantage of the tail-recursion optimization and learn more about functional programming. I've written a tail-recursive fo...
[ 0.00087738037109375, 0.00860595703125, 0.01446533203125, 0.00112152099609375, -0.007476806640625, 0.014892578125, -0.0015716552734375, -0.0142822265625, 0.00144195556640625, -0.00909423828125, 0.011962890625, -0.0166015625, -0.000591278076171875, 0.01318359375, 0.02001953125, 0.0061035...
[ 1218, 379, 9, 4332, 48650, 5844, 30077, 7569, 1238, 3949, 3742, 123309, 28966, 46741, 107, 13, 42822, 141, 32036, 1022, 425, 1884, 33022, 18344, 23, 4904, 92940, 1830, 87235, 56037, 59121, 20469, 56112, 18, 17569, 5809, 2046, 10, 39531, 5...
[ 0.16845703125, 0.1387939453125, 0.032867431640625, 0.07989501953125, 0.1904296875, 0.11376953125, 0.1593017578125, 0.2025146484375, 0.091552734375, 0.0037841796875, 0.0748291015625, 0.14111328125, 0.1019287109375, 0.2529296875, 0.087158203125, 0.0294189453125, 0.117919921875, 0.082...
embed
3607185_c0
3607185
fsharp
0
Title: Initial state in F# List.scan Problem title: Initial state in F# List.scan Tags: f%23 Problem: Initial state in F# List.scan I have a simple problem and as I'm an F# newbie I can't seem to figure out how to do this. I have a list of tuples: let l = [ (a, 2); (b, 3); (c, 2); (d, 6) ] that I want to transform into...
Initial state in F# List.scan Initial state in F# List.scan f%23 Initial List.scan List.tail Initial state in F# List.scan I have a simple problem and as I'm an F# newbie I can't seem to figure out how to do this. I have a list of tuples: that I want to transform into this: This simply adds the values of the second ele...
[ -0.00238037109375, 0.01373291015625, 0.01239013671875, 0.03515625, -0.021728515625, 0.008544921875, -0.01708984375, 0.00130462646484375, 0.000499725341796875, -0.021728515625, 0.040771484375, 0.0308837890625, -0.005767822265625, 0.0341796875, 0.00360107421875, -0.002105712890625, 0.0...
[ 360, 1890, 289, 11341, 563, 4904, 32036, 7, 4398, 1238, 3742, 46741, 8781, 2967, 3525, 9014, 26366, 3642, 54, 903, 5303, 370, 99726, 3444, 47, 27198, 3934, 42856, 15190, 142424, 17932, 12830, 12638, 8705, 116, 997, 138, 305, 36746, 876, ...
[ 0.09918212890625, 0.16796875, 0.1142578125, 0.2142333984375, 0.1148681640625, 0.200927734375, 0.230712890625, 0.052764892578125, 0.2193603515625, 0.0343017578125, 0.08734130859375, 0.2137451171875, 0.07135009765625, 0.0672607421875, 0.0025634765625, 0.06622314453125, 0.0106201171875,...
embed
24805946_c0
24805946
fsharp
0
Title: How to functionally Join multiple Deedle series in C#? Problem title: How to functionally Join multiple Deedle series in C#? Tags: functional-programming, f%23, tail-recursion, deedle, c%23 Problem: How to functionally Join multiple Deedle series in C#? i am thinking to use deedle to join hundreds of series into...
How to functionally Join multiple Deedle series in C#? How to functionally Join multiple Deedle series in C#? functional-programming f%23 tail-recursion deedle c%23 How Join Deedle How to functionally Join multiple Deedle series in C#? i am thinking to use deedle to join hundreds of series into a frame. what is the bes...
[ 0.0021820068359375, 0.0179443359375, 0.006134033203125, 0.0034027099609375, -0.0078125, 0.005035400390625, -0.00156402587890625, 0.0036468505859375, 0.01214599609375, -0.0262451171875, -0.005584716796875, -0.004608154296875, -0.0027923583984375, -0.0235595703125, 0.020751953125, 0.0383...
[ 11249, 47, 123309, 538, 113053, 48716, 262, 297, 133, 36549, 23, 313, 4904, 28966, 1238, 3742, 46741, 107, 48650, 1830, 8, 47644, 4527, 33284, 75281, 3934, 123789, 2965, 3917, 69307, 168894, 142864, 17569, 28282, 36746, 26837, 50782, 40956, ...
[ 0.0784912109375, 0.0183868408203125, 0.197509765625, 0.05364990234375, 0.251220703125, 0.2257080078125, 0.1572265625, 0.213623046875, 0.2017822265625, 0.22119140625, 0.03704833984375, 0.06390380859375, 0.21044921875, 0.10504150390625, 0.0310211181640625, 0.03594970703125, 0.201049804...
embed
7462674_c0
7462674
fsharp
0
Title: Problem writing mutually recursive function in F# Problem title: Problem writing mutually recursive function in F# Tags: f%23, ocaml, ml Problem: Problem writing mutually recursive function in F# I am translating a function from Little Mler that operates on this data type type sexp<'T> = An_Atom of 'T | A_slist ...
Problem writing mutually recursive function in F# Problem writing mutually recursive function in F# f%23 ocaml ml Problem An_Atom A_slist Empty Scons occurs_in_slist occurs_in_sexp FS0010 Unexpected Expected Problem writing mutually recursive function in F# I am translating a function from Little Mler that operates on ...
[ -0.0029449462890625, 0.0024871826171875, 0.004241943359375, 0.01904296875, -0.0076904296875, -0.0025634765625, -0.00653076171875, 0.00762939453125, 0.00518798828125, 0.005462646484375, 0.0029449462890625, 0.01373291015625, 0.0068359375, 0.01495361328125, 0.038330078125, -0.001785278320...
[ 15649, 32562, 199849, 538, 195625, 5844, 32354, 563, 4904, 1238, 3949, 3742, 36, 9779, 141, 7115, 893, 12078, 62, 7, 6562, 31678, 939, 159, 25553, 74918, 73, 83613, 93774, 7049, 963, 60075, 13, 3900, 143, 59784, 276, 603, 160404, 2053, ...
[ 0.147216796875, 0.1771240234375, 0.1650390625, 0.10028076171875, 0.20166015625, 0.0855712890625, 0.1766357421875, 0.1343994140625, 0.2122802734375, 0.0732421875, 0.012054443359375, 0.1326904296875, 0.0538330078125, 0.08203125, 0.06536865234375, 0.1326904296875, 0.0703125, 0.2275390...
embed
4159385_c1
4159385
fsharp
1
ics (since I’m working with F#) but I’m having difficulty ascertaining the strengths and weaknesses of the various libraries. Like, which features are missing or included in various libraries, and how easily they are used and how well they perform. DotNumerics seems like a comprehensive implementation of Lapack in C#, ...
ics (since I’m working with F#) but I’m having difficulty ascertaining the strengths and weaknesses of the various libraries. Like, which features are missing or included in various libraries, and how easily they are used and how well they perform. DotNumerics seems like a comprehensive implementation of Lapack in C#, ...
[ -0.01129150390625, 0.00714111328125, 0.00732421875, 0.00927734375, -0.00372314453125, -0.01123046875, -0.0128173828125, -0.0031890869140625, 0.0089111328125, 0.044921875, -0.01220703125, -0.004608154296875, -0.0019073486328125, 0.01220703125, -0.029296875, -0.022216796875, -0.0010910...
[ 28021, 7, 42380, 20697, 563, 4904, 1284, 19441, 34844, 53, 106290, 70, 90254, 136, 642, 344, 90, 111, 67842, 35773, 10484, 4, 66139, 621, 132283, 707, 99201, 23, 3642, 72546, 1836, 11814, 5299, 51339, 84929, 18444, 1991, 37202, 1884, 1990...
[ 0.2215576171875, 0.0147552490234375, 0.0054931640625, 0.052490234375, 0.1123046875, 0.23193359375, 0.006378173828125, 0.0093994140625, 0.07073974609375, 0.014739990234375, 0.08538818359375, 0.018646240234375, 0.11181640625, 0.00433349609375, 0.05072021484375, 0.08563232421875, 0.0147...
embed
47632912_c0
47632912
fsharp
0
Title: F# Type provider looks for sample file in referencing project, not referenced project Problem title: F# Type provider looks for sample file in referencing project, not referenced project Tags: f%23, f%23-data Problem: F# Type provider looks for sample file in referencing project, not referenced project I have a ...
F# Type provider looks for sample file in referencing project, not referenced project F# Type provider looks for sample file in referencing project, not referenced project f%23 f%23-data Type FSharp.Data JsonProvider Cannot JSON sample.json Could Some Where TheSolution ConsoleApp F# Type provider looks for sample file ...
[ 0.020263671875, 0.03662109375, -0.00970458984375, 0.037841796875, -0.0125732421875, -0.0020599365234375, 0.0027008056640625, 0.0087890625, -0.005462646484375, -0.0172119140625, 0.0029754638671875, 0.0016937255859375, 0.00299072265625, -0.00201416015625, 0.0223388671875, -0.006500244140...
[ 563, 4904, 60457, 81450, 33342, 100, 121413, 11435, 142447, 13452, 959, 91067, 1238, 3742, 10135, 93774, 3467, 254, 137989, 821, 1681, 177997, 62160, 10869, 58627, 170, 191147, 78662, 581, 102588, 34, 1657, 40777, 39179, 214, 35773, 64549, 10...
[ 0.09478759765625, 0.1846923828125, 0.209228515625, 0.19140625, 0.06878662109375, 0.08349609375, 0.2293701171875, 0.1568603515625, 0.174560546875, 0.121337890625, 0.10498046875, 0.1953125, 0.038482666015625, 0.051239013671875, 0.02752685546875, 0.0762939453125, 0.1375732421875, 0.11...
embed
5355334_c0
5355334
fsharp
0
Title: What are the benefits of such flexible &quot;self-identifiers&quot; in F#? Problem title: What are the benefits of such flexible &quot;self-identifiers&quot; in F#? Tags: language-features, f%23 Problem: What are the benefits of such flexible "self-identifiers" in F#? While I understand self-identifiers in F#, I...
What are the benefits of such flexible &quot;self-identifiers&quot; in F#? What are the benefits of such flexible &quot;self-identifiers&quot; in F#? language-features f%23 What this.Blah MyClass2 self.PrintMessage this.PrintMessage Creating Data What are the benefits of such flexible "self-identifiers" in F#? While I ...
[ 0.01312255859375, 0.0135498046875, 0.0062255859375, 0.0146484375, 0.011474609375, -0.005645751953125, 0.006195068359375, 0.0157470703125, 0.0023651123046875, -0.00970458984375, 0.0064697265625, -0.006439208984375, -0.01470947265625, 0.0011444091796875, -0.00099945068359375, -0.01708984...
[ 4865, 72382, 6044, 110677, 39379, 42485, 1314, 563, 4904, 23, 46876, 88981, 1238, 3742, 903, 571, 1566, 2646, 140803, 304, 15970, 112079, 6011, 429, 56781, 11809, 28219, 104192, 71985, 2481, 44084, 959, 8060, 313, 678, 4527, 52295, 12301, 4...
[ 0.01300048828125, 0.1942138671875, 0.1058349609375, 0.294677734375, 0.20166015625, 0.250732421875, 0.1282958984375, 0.1466064453125, 0.2322998046875, 0.0472412109375, 0.1695556640625, 0.07269287109375, 0.0794677734375, 0.043365478515625, 0.10113525390625, 0.0748291015625, 0.226684570...
embed
59061122_c0
59061122
fsharp
0
Title: How to implement Task.Map Problem title: How to implement Task.Map Tags: c%23-to-f%23, f%23 Problem: How to implement Task.Map Have I correctly implemented map for Task ? let map continuation (t: Task<'A>) = t.ContinueWith(fun (antecedent: Task<'A>) -> if antecedent.Status <> TaskStatus.Canceled && antecedent.St...
How to implement Task.Map How to implement Task.Map c%23-to-f%23 f%23 antecedent.Exception How Task.Map Task t.ContinueWith antecedent.Status TaskStatus.Canceled TaskStatus.Faulted antecedent.Result TaskStatus Async ToListAsync How to implement Task.Map Have I correctly implemented map for Task ? I got the TaskStatus c...
[ 0.0006256103515625, 0.038330078125, 0.0216064453125, -0.01019287109375, -0.003997802734375, -0.02685546875, 0.003936767578125, 0.00015926361083984375, 0.0069580078125, -0.031494140625, -0.0191650390625, 0.0198974609375, -0.0186767578125, 0.01904296875, 0.0166015625, 0.00830078125, 0....
[ 11249, 47, 29479, 9598, 92, 5, 166179, 501, 167218, 27495, 188, 420, 3742, 1238, 177047, 660, 19279, 63928, 808, 100761, 194583, 135206, 223, 7154, 202, 7, 7136, 62, 12654, 717, 154663, 238, 87, 26785, 22288, 100, 12765, 54, 4439, 12319, ...
[ 0.07647705078125, 0.033966064453125, 0.264404296875, 0.250244140625, 0.2098388671875, 0.0843505859375, 0.28369140625, 0.00482177734375, 0.024871826171875, 0.1361083984375, 0.161376953125, 0.05828857421875, 0.1358642578125, 0.048828125, 0.1982421875, 0.1136474609375, 0.087158203125, ...
embed
42116816_c0
42116816
fsharp
0
Title: F# Reflection on types created with TypeProvider Problem title: F# Reflection on types created with TypeProvider Tags: reflection, type-providers, f%23 Problem: F# Reflection on types created with TypeProvider I've created multiple types with type providers, these are used to create record types. In the next sta...
F# Reflection on types created with TypeProvider F# Reflection on types created with TypeProvider reflection type-providers f%23 Reflection TypeProvider UserT Name MinLength Email Required PropertyInfo System.Object F# Reflection on types created with TypeProvider I've created multiple types with type providers, these ...
[ 0.00836181640625, 0.0067138671875, 0.01116943359375, 0.01708984375, -0.02001953125, -0.0021820068359375, -0.006805419921875, 0.004058837890625, -0.0196533203125, -0.021240234375, 0.0037994384765625, 0.021728515625, 0.00665283203125, 0.01239013671875, 0.01104736328125, 0.00543212890625,...
[ 563, 4904, 53295, 133, 10763, 98, 52895, 75935, 678, 60457, 177997, 62160, 44961, 1830, 10644, 93136, 14202, 1238, 3742, 53400, 15757, 4211, 449, 14886, 3181, 206984, 93147, 12353, 46471, 75161, 48716, 81450, 11814, 28282, 17164, 13452, 4527, ...
[ 0.0738525390625, 0.1778564453125, 0.177001953125, 0.15234375, 0.0767822265625, 0.0115966796875, 0.2261962890625, 0.0970458984375, 0.043182373046875, 0.1981201171875, 0.1505126953125, 0.1678466796875, 0.256103515625, 0.125, 0.205322265625, 0.1702880859375, 0.0411376953125, 0.0155792...
embed
21506693_c0
21506693
fsharp
0
Title: How to have two mutually recursive struct types in F#? Problem title: How to have two mutually recursive struct types in F#? Tags: .net, f%23 Problem: How to have two mutually recursive struct types in F#? The following code does not compile: [<Struct>] type Point(x:int, y:int) = member __.X = x member __.Y = y ...
How to have two mutually recursive struct types in F#? How to have two mutually recursive struct types in F#? .net f%23 How Struct Point x:int y:int __.X __.Y __.Edges ArrayList Edge target:Point cost:int __.Target __.Cost How to have two mutually recursive struct types in F#? The following code does not compile: The p...
[ 0.01513671875, 0.0177001953125, -0.01275634765625, -0.000732421875, 0.003326416015625, 0.0228271484375, -0.02001953125, 0.016357421875, 0.00921630859375, 0.0022430419921875, 0.0155029296875, -0.0108642578125, -0.0001621246337890625, -0.00092315673828125, 0.029052734375, 0.005615234375,...
[ 11249, 47, 765, 6626, 199849, 538, 195625, 5844, 36716, 52895, 23, 563, 4904, 1179, 1238, 3742, 63667, 15390, 41097, 1022, 4288, 113, 1542, 1723, 69489, 4188, 69253, 154663, 69030, 30388, 147534, 11034, 63031, 3794, 441, 5510, 25632, 18151, ...
[ 0.0880126953125, 0.03436279296875, 0.1300048828125, 0.2132568359375, 0.1756591796875, 0.1187744140625, 0.2376708984375, 0.156494140625, 0.263427734375, 0.234130859375, 0.05877685546875, 0.13427734375, 0.2115478515625, 0.1226806640625, 0.08319091796875, 0.14501953125, 0.17919921875, ...
embed
7183577_c0
7183577
fsharp
0
Title: Choosing whether to use Discriminated Unions or Record Types for a small AST in F# Problem title: Choosing whether to use Discriminated Unions or Record Types for a small AST in F# Tags: .net, record, functional-programming, discriminated-union, f%23 Problem: Choosing whether to use Discriminated Unions or Recor...
Choosing whether to use Discriminated Unions or Record Types for a small AST in F# Choosing whether to use Discriminated Unions or Record Types for a small AST in F# .net record functional-programming discriminated-union f%23 Choosing Discriminated Unions Record Types AST Namespace Method Arguments Argument cls1 cls2 C...
[ -0.01214599609375, 0.00139617919921875, 0.006011962890625, 0.00555419921875, -0.0205078125, 0.00168609619140625, -0.010498046875, -0.0172119140625, -0.00167083740234375, -0.00921630859375, 0.0030975341796875, -0.01239013671875, 0.015625, 0.0033416748046875, 0.000583648681640625, -0.004...
[ 4960, 232, 4527, 6206, 135421, 3674, 32528, 7, 54877, 60457, 19336, 48963, 23, 563, 4904, 36766, 1179, 17164, 123309, 28966, 55970, 87046, 1238, 3742, 2096, 109164, 74644, 112140, 33139, 304, 707, 29479, 8781, 72713, 46876, 366, 2189, 37476, ...
[ 0.03302001953125, 0.001953125, 0.1046142578125, 0.0589599609375, 0.208984375, 0.054901123046875, 0.21142578125, 0.076416015625, 0.199462890625, 0.2247314453125, 0.1307373046875, 0.16162109375, 0.047637939453125, 0.124755859375, 0.240966796875, 0.01141357421875, 0.1171875, 0.2137451...
embed
76028966_c0
76028966
fsharp
0
Title: How can I install the Fantomas Tool with the latest version? Problem title: How can I install the Fantomas Tool with the latest version? Tags: f%23, fantomas Problem: How can I install the Fantomas Tool with the latest version? I installed the F# formatter tool, fantomas, globally and have this: dotnet tool list...
How can I install the Fantomas Tool with the latest version? How can I install the Fantomas Tool with the latest version? f%23 fantomas How Fantomas Tool Package Version Commands How can I install the Fantomas Tool with the latest version? I installed the F# formatter tool, fantomas, globally and have this: Updating as...
[ -0.0027008056640625, 0.040771484375, 0.00335693359375, -0.005035400390625, -0.009521484375, 0.013916015625, 0.0106201171875, 0.0016632080078125, -0.0017852783203125, -0.00408935546875, 0.0155029296875, -0.01300048828125, -0.0006866455078125, -0.009521484375, 0.012451171875, -0.00769042...
[ 11249, 831, 20600, 11213, 188, 1510, 92285, 678, 42850, 11389, 87, 1238, 3742, 1207, 56607, 40647, 123573, 563, 4904, 1483, 3055, 55516, 7964, 10091, 56464, 18925, 76199, 1061, 110, 15549, 17669, 2046, 10, 14432, 5303, 93392, 1010, 165164, ...
[ 0.0506591796875, 0.077392578125, 0.181640625, 0.1563720703125, 0.18798828125, 0.177001953125, 0.2156982421875, 0.1051025390625, 0.1302490234375, 0.176513671875, 0.02825927734375, 0.03656005859375, 0.045379638671875, 0.138671875, 0.108154296875, 0.1326904296875, 0.148681640625, 0.07...
embed
52554168_c0
52554168
fsharp
0
Title: Automatically figuring out function name in f# Problem title: Automatically figuring out function name in f# Tags: functional-programming, f%23, logging Problem: Automatically figuring out function name in f# If I have a function that is part of a module, and I want a log entry while inside the function,I have t...
Automatically figuring out function name in f# Automatically figuring out function name in f# functional-programming f%23 logging Automatically MyModuleNamespace MyModule AddTwoNums logger.Info MyModuleNamespace.AddTwoNums Start End Automatically figuring out function name in f# If I have a function that is part of a m...
[ 0.013427734375, 0.01043701171875, 0.017333984375, 0.0238037109375, 0.01080322265625, 0.0216064453125, 0.00384521484375, 0.00811767578125, -0.0172119140625, -0.0152587890625, 0.01470947265625, 0.009521484375, -0.0211181640625, 0.0002193450927734375, 0.00823974609375, -0.01422119140625, ...
[ 51719, 71407, 26747, 214, 1810, 32354, 9351, 23, 1238, 4904, 123309, 28966, 3742, 459, 36659, 2646, 91616, 8782, 163612, 65421, 29117, 618, 3613, 839, 10321, 73088, 42, 93147, 4028, 13794, 18878, 2831, 88996, 3444, 12684, 42805, 12960, 46132,...
[ 0.216796875, 0.0860595703125, 0.21435546875, 0.029937744140625, 0.15771484375, 0.2208251953125, 0.195556640625, 0.0721435546875, 0.1490478515625, 0.201171875, 0.1463623046875, 0.0675048828125, 0.10687255859375, 0.0894775390625, 0.040985107421875, 0.06500244140625, 0.06353759765625, ...
embed
79520526_c0
79520526
fsharp
0
Title: Can anyone see what is wrong with my transpose function in F#? Problem title: Can anyone see what is wrong with my transpose function in F#? Tags: col, list, row, f%23, tuples Problem: Can anyone see what is wrong with my transpose function in F#? Given a list of tuples, where each tuple consists of 3 integers, ...
Can anyone see what is wrong with my transpose function in F#? Can anyone see what is wrong with my transpose function in F#? col list row f%23 tuples Can a::d b::e c::f Can anyone see what is wrong with my transpose function in F#? Given a list of tuples, where each tuple consists of 3 integers, transpose the list rec...
[ 0.004913330078125, 0.017333984375, 0.0145263671875, -0.001129150390625, -0.01055908203125, -0.01708984375, -0.01123046875, -0.0126953125, 0.0035858154296875, -0.004241943359375, 0.01031494140625, 0.0074462890625, 0.00927734375, 0.0194091796875, -0.0279541015625, 0.0015106201171875, -...
[ 4171, 35672, 1957, 2367, 83, 44691, 678, 759, 3900, 78381, 32354, 563, 4904, 23, 3365, 5303, 15555, 1238, 3949, 3742, 370, 99726, 10, 71, 876, 13, 501, 420, 77878, 12638, 8705, 58055, 138, 892, 26255, 195625, 5844, 136, 8447, 316, 68062...
[ 0.08013916015625, 0.02276611328125, 0.114013671875, 0.034515380859375, 0.0404052734375, 0.15625, 0.033660888671875, 0.057952880859375, 0.2059326171875, 0.2041015625, 0.1552734375, 0.11865234375, 0.191650390625, 0.01898193359375, 0.1051025390625, 0.1717529296875, 0.1468505859375, 0....
embed
40023326_c0
40023326
fsharp
0
Title: F# Understanding the Fibbonacci Sequence Recursively Problem title: F# Understanding the Fibbonacci Sequence Recursively Tags: f%23, math, recursion, fibonacci Problem: F# Understanding the Fibbonacci Sequence Recursively This might sound like a School assignment but it is not! I have made a recursive function r...
F# Understanding the Fibbonacci Sequence Recursively F# Understanding the Fibbonacci Sequence Recursively f%23 math recursion fibonacci Understanding Fibbonacci Sequence Recursively FoneFive n-1 n-2 F# Understanding the Fibbonacci Sequence Recursively This might sound like a School assignment but it is not! I have made...
[ -0.000347137451171875, 0.019775390625, 0.0047607421875, 0.00762939453125, 0.0087890625, 0.0040283203125, 0.004913330078125, -0.0050048828125, 0.0079345703125, -0.0020904541015625, 0.0225830078125, -0.035400390625, -0.0155029296875, 0.01953125, 0.03076171875, -0.0054931640625, 0.03393...
[ 563, 4904, 9626, 144057, 3698, 275, 20990, 52544, 503, 944, 3956, 853, 48650, 5844, 1238, 3949, 3742, 48909, 195625, 809, 71034, 13, 6159, 272, 5759, 5428, 45730, 1884, 19188, 95486, 959, 7228, 32354, 30646, 34292, 1295, 7730, 98, 305, 76...
[ 0.0565185546875, 0.169921875, 0.08447265625, 0.077392578125, 0.1365966796875, 0.054534912109375, 0.138916015625, 0.1859130859375, 0.0714111328125, 0.138916015625, 0.0506591796875, 0.008514404296875, 0.1513671875, 0.1304931640625, 0.0743408203125, 0.04388427734375, 0.125, 0.08312988...
embed
4622490_c0
4622490
fsharp
0
Title: Does F# record support cyclic reference A -&gt; B -&gt; A? Problem title: Does F# record support cyclic reference A -&gt; B -&gt; A? Tags: f%23, data-structures Problem: Does F# record support cyclic reference A -> B -> A? I want to use the F# record, record Race and Runner where Race references Runner and Runne...
Does F# record support cyclic reference A -&gt; B -&gt; A? Does F# record support cyclic reference A -&gt; B -&gt; A? f%23 data-structures Does Race int64 Runner Does F# record support cyclic reference A -> B -> A? I want to use the F# record, record Race and Runner where Race references Runner and Runner references Ra...
[ 0.01708984375, 0.0118408203125, -0.0027923583984375, 0.03173828125, -0.0062255859375, -0.010009765625, -0.0113525390625, 0.01312255859375, 0.00714111328125, -0.0040283203125, 0.00124359130859375, 0.03125, -0.004180908203125, 0.00927734375, 0.020263671875, 0.00078582763671875, 0.00830...
[ 101790, 563, 4904, 17164, 8060, 187830, 238, 91067, 62, 1230, 5386, 335, 1238, 3742, 2053, 137656, 94698, 18, 13307, 208545, 33079, 3444, 4527, 136, 7722, 678, 89916, 20324, 61112, 76228, 166117, 20697 ]
[ 0.04241943359375, 0.153076171875, 0.224853515625, 0.2010498046875, 0.184814453125, 0.2054443359375, 0.0909423828125, 0.216064453125, 0.1221923828125, 0.0148773193359375, 0.0628662109375, 0.1334228515625, 0.0570068359375, 0.019989013671875, 0.0672607421875, 0.09814453125, 0.1840820312...
embed
59215708_c0
59215708
fsharp
0
Title: Making a function which changes the x,y values in a method Problem title: Making a function which changes the x,y values in a method Tags: f%23, methods Problem: Making a function which changes the x,y values in a method I am very new to object oriented programming. I have to make a method which moves my drone c...
Making a function which changes the x,y values in a method Making a function which changes the x,y values in a method f%23 methods Making Drones Drone x1:int y1:int x2:int y2:int spd:int x.fly Making a function which changes the x,y values in a method I am very new to object oriented programming. I have to make a metho...
[ 0.004058837890625, 0.01611328125, 0.0213623046875, 0.039794921875, 0.0301513671875, 0.004241943359375, -0.004364013671875, -0.004119873046875, 0.000789642333984375, 0.016357421875, -0.018798828125, 0.025634765625, -0.00115203857421875, -0.00677490234375, -0.008544921875, -0.01153564453...
[ 13676, 214, 32354, 3129, 65572, 1022, 4, 53, 142424, 55300, 23, 1238, 3949, 3742, 150624, 1773, 25749, 46193, 86, 82825, 4288, 113, 304, 5213, 71, 35121, 4552, 3525, 36746, 23509, 56037, 449, 3249, 25813, 7, 143027, 20903, 42, 47, 78869, ...
[ 0.118408203125, 0.052459716796875, 0.1993408203125, 0.07708740234375, 0.2369384765625, 0.11865234375, 0.073974609375, 0.13330078125, 0.169677734375, 0.2049560546875, 0.054718017578125, 0.07171630859375, 0.06439208984375, 0.1812744140625, 0.17138671875, 0.1409912109375, 0.106689453125...
embed
45327902_c0
45327902
fsharp
0
Title: F#, Visual Studio 2017 and dotnet new Problem title: F#, Visual Studio 2017 and dotnet new Tags: .net-core, f%23 Problem: F#, Visual Studio 2017 and dotnet new To create a .NET class library from the command line, you can run the script dotnet new classlib Do that in a clean folder, and it will create a csproj f...
F#, Visual Studio 2017 and dotnet new F#, Visual Studio 2017 and dotnet new .net-core f%23 Visual Studio F#, Visual Studio 2017 and dotnet new To create a .NET class library from the command line, you can run the script Do that in a clean folder, and it will create a csproj file that can then be opened in Visual Studio...
[ -0.007476806640625, 0.02490234375, -0.01031494140625, -0.0029296875, -0.01544189453125, 0.01202392578125, -0.00823974609375, -0.004638671875, 0.000415802001953125, -0.000591278076171875, 0.00025177001953125, -0.01519775390625, 0.00872802734375, 0.0037994384765625, 0.0172119140625, -0.0...
[ 563, 4904, 73372, 22968, 505, 136, 20633, 1179, 3525, 5, 30854, 1238, 3949, 3742, 28282, 17777, 18507, 35773, 1294, 1295, 75101, 13315, 831, 11675, 26499, 46622, 78303, 20763, 3454, 170, 11435, 142096, 23, 5276, 33306, 47606, 897, 450, 83, ...
[ 0.10382080078125, 0.1669921875, 0.2005615234375, 0.202392578125, 0.197265625, 0.0291900634765625, 0.092529296875, 0.138427734375, 0.09130859375, 0.040130615234375, 0.124267578125, 0.112060546875, 0.014678955078125, 0.10516357421875, 0.14697265625, 0.18359375, 0.1815185546875, 0.168...
embed
12635505_c0
12635505
fsharp
0
Title: Exhaustive `match` against a bounded random number Problem title: Exhaustive `match` against a bounded random number Tags: f%23 Problem: Exhaustive `match` against a bounded random number open System let random_number_generator = System.Random(int System.DateTime.Now.Ticks) in let random_number_below n = random_...
Exhaustive `match` against a bounded random number Exhaustive `match` against a bounded random number f%23 Exhaustive System random_number_generator System.Random System.DateTime.Now.Ticks random_number_below random_number_generator.Next Zero One Two Incomplete Exhaustive `match` against a bounded random number The abo...
[ -0.031982421875, -0.0032958984375, 0.01092529296875, -0.0172119140625, 0.005035400390625, -0.004852294921875, 0.00022125244140625, -0.008544921875, 0.012451171875, -0.01495361328125, 0.0228271484375, 0.0050048828125, 0.0019989013671875, 0.003021240234375, 0.0272216796875, -0.0050048828...
[ 5443, 18391, 4935, 98753, 26548, 876, 167457, 96759, 14012, 1238, 3742, 12353, 2606, 1297, 48281, 1290, 126525, 3815, 70059, 137594, 16734, 17336, 81280, 83947, 6561, 32964, 277, 131801, 14858, 63805, 83, 959, 146353, 5844, 9969, 34759, 112668,...
[ 0.082275390625, 0.1923828125, 0.117919921875, 0.25830078125, 0.178955078125, 0.06878662109375, 0.1378173828125, 0.160400390625, 0.142578125, 0.06573486328125, 0.107421875, 0.1031494140625, 0.0792236328125, 0.04193115234375, 0.1103515625, 0.065185546875, 0.00885009765625, 0.07849121...
embed
4232415_c0
4232415
fsharp
0
Title: F#: Lookup on object of indeterminate type When using FluntNHibernate Problem title: F#: Lookup on object of indeterminate type When using FluntNHibernate Tags: f%23, fluent-nhibernate, function Problem: F#: Lookup on object of indeterminate type When using FluntNHibernate I try to configure NHibernate in F# pro...
F#: Lookup on object of indeterminate type When using FluntNHibernate F#: Lookup on object of indeterminate type When using FluntNHibernate f%23 fluent-nhibernate function FluntNHibernate Lookup When GetNHibernateConfig Fluently.Configure Database MsSqlConfiguration.MsSql2008 ConnectionString c.FromConnectionStringWith...
[ -0.00982666015625, 0.0103759765625, 0.01263427734375, -0.01141357421875, 0.003143310546875, -0.005340576171875, 0.02099609375, 0.005126953125, 0.003662109375, -0.027587890625, 0.0003032684326171875, -0.018798828125, -0.003326416015625, -0.01104736328125, -0.01007080078125, -0.028198242...
[ 563, 4904, 60818, 2037, 98, 36746, 111, 23, 145099, 10644, 17368, 36157, 660, 27190, 2566, 4688, 67, 1238, 3742, 155283, 26036, 32354, 83671, 59994, 187781, 70802, 99247, 16396, 62448, 71713, 168407, 235603, 194583, 162429, 17367, 222495, 47052...
[ 0.0960693359375, 0.169921875, 0.1405029296875, 0.146240234375, 0.049041748046875, 0.176025390625, 0.0771484375, 0.06591796875, 0.2183837890625, 0.1611328125, 0.03741455078125, 0.17724609375, 0.10137939453125, 0.04132080078125, 0.1075439453125, 0.1710205078125, 0.1121826171875, 0.02...
embed
28803963_c0
28803963
fsharp
0
Title: Why are implicit parameters not considered compiler errors in F# Problem title: Why are implicit parameters not considered compiler errors in F# Tags: functional-programming, f%23, currying Problem: Why are implicit parameters not considered compiler errors in F# I am a bit new to functional programming, and whi...
Why are implicit parameters not considered compiler errors in F# Why are implicit parameters not considered compiler errors in F# functional-programming f%23 currying Why Rice Curry add1 add10 Why are implicit parameters not considered compiler errors in F# I am a bit new to functional programming, and while I am somew...
[ 0.025634765625, 0.006011962890625, 0.00139617919921875, 0.003936767578125, 0.0040283203125, 0.0245361328125, 0.000202178955078125, -0.020263671875, 0.00830078125, -0.01611328125, 0.0247802734375, -0.01904296875, -0.00714111328125, 0.0216064453125, 0.0247802734375, -0.0191650390625, -...
[ 44084, 165164, 171859, 959, 90698, 9969, 34759, 18499, 563, 4904, 123309, 28966, 1238, 3742, 198555, 214, 118350, 17065, 1294, 15190, 418, 963, 7, 56037, 114453, 43240, 1556, 159029, 32354, 30646, 51776, 68186, 831, 159978, 3917, 64457, 6183, ...
[ 0.081298828125, 0.255859375, 0.2208251953125, 0.0902099609375, 0.06756591796875, 0.1312255859375, 0.1207275390625, 0.18505859375, 0.08416748046875, 0.171630859375, 0.1270751953125, 0.076171875, 0.0181884765625, 0.06884765625, 0.1214599609375, 0.013519287109375, 0.1494140625, 0.1203...
embed
54871937_c0
54871937
fsharp
0
Title: Is there any way to force Haskell code ordering to work like F#? Problem title: Is there any way to force Haskell code ordering to work like F#? Tags: haskell, f%23 Problem: Is there any way to force Haskell code ordering to work like F#? I am currently learning me a Haskell , so for so good. I am pretty fluent ...
Is there any way to force Haskell code ordering to work like F#? Is there any way to force Haskell code ordering to work like F#? haskell f%23 Haskell Is there any way to force Haskell code ordering to work like F#? I am currently learning me a Haskell , so for so good. I am pretty fluent when it comes to F# and I want...
[ 0.0220947265625, 0.007415771484375, 0.0038299560546875, -0.0038604736328125, 0.0004215240478515625, -0.00118255615234375, 0.001007080078125, -0.0185546875, -0.0022735595703125, -0.01336669921875, -0.0185546875, -0.01422119140625, 0.000690460205078125, -0.0130615234375, -0.00518798828125,...
[ 2071, 2499, 3917, 37772, 20625, 142508, 18151, 12989, 214, 47, 4488, 1884, 563, 4904, 2685, 1556, 1238, 3949, 3742, 82424, 52080, 100, 4127, 28875, 155283, 3444, 9790, 3535, 34166, 123309, 56037, 66139, 11343, 111, 26866, 831, 11782, 32354, ...
[ 0.015533447265625, 0.05780029296875, 0.093017578125, 0.20068359375, 0.1239013671875, 0.207763671875, 0.1798095703125, 0.2232666015625, 0.08154296875, 0.04779052734375, 0.1209716796875, 0.11962890625, 0.1329345703125, 0.1971435546875, 0.0206146240234375, 0.107421875, 0.06915283203125,...
embed
7199589_c0
7199589
fsharp
0
Title: Parsing method arguments with FParsec Problem title: Parsing method arguments with FParsec Tags: fparsec, f%23 Problem: Parsing method arguments with FParsec I am trying to implement a method arguments parser with FParsec. I was wondering if there is some already implemented feature in FParsec itself that'd aid ...
Parsing method arguments with FParsec Parsing method arguments with FParsec fparsec f%23 Parsing FParsec Parsing method arguments with FParsec I am trying to implement a method arguments parser with FParsec. I was wondering if there is some already implemented feature in FParsec itself that'd aid me on this purpose? I ...
[ -0.00592041015625, 0.00665283203125, -0.00823974609375, 0.0069580078125, -0.006011962890625, 0.0264892578125, 0.006317138671875, -0.00872802734375, -0.025390625, -0.01531982421875, 0.0022430419921875, -0.02197265625, 0.00014400482177734375, 0.036865234375, 0.00057220458984375, -0.00781...
[ 2392, 6953, 55300, 10750, 7, 678, 563, 28636, 39797, 1238, 2500, 3949, 3742, 31577, 29479, 366, 2189, 21771, 60213, 68034, 36442, 60042, 87344, 55516, 214, 184017, 39933, 107671, 6620, 73432, 136, 20450, 1620, 5170, 28875, 80560, 2472, 10336,...
[ 0.166015625, 0.06298828125, 0.2239990234375, 0.261474609375, 0.035247802734375, 0.1025390625, 0.1444091796875, 0.1868896484375, 0.2449951171875, 0.109375, 0.170166015625, 0.01031494140625, 0.1270751953125, 0.0013427734375, 0.1112060546875, 0.1480712890625, 0.1202392578125, 0.051727...
embed
27302936_c0
27302936
fsharp
0
Title: Npgsql F# Parameterized Queries Problem title: Npgsql F# Parameterized Queries Tags: npgsql, .net, f%23 Problem: Npgsql F# Parameterized Queries I'm attempting to use Npgsql parametrized queries in FSharp but I am unable to properly get Npgsql to update the parameter value. Sample code looks as follows: let ins_...
Npgsql F# Parameterized Queries Npgsql F# Parameterized Queries npgsql .net f%23 Npgsql Parameterized Queries ins_command NpgsqlCommand SELECT test_table WHERE ins_command.Parameters.Add NpgsqlParameter NpgsqlTypes.NpgsqlDbType.Integer ins_command.Parameters Value ins_command.ExecuteScalar AddWithValue Npgsql F# Parame...
[ -0.018310546875, 0.02099609375, 0.01080322265625, -0.0004558563232421875, -0.002288818359375, 0.0135498046875, 0.0003032684326171875, -0.0137939453125, -0.006134033203125, -0.00787353515625, 0.028076171875, -0.005950927734375, -0.006622314453125, 0.003173828125, -0.0103759765625, -0.01...
[ 541, 254, 9405, 99247, 563, 4904, 1720, 29089, 29367, 5813, 25037, 1179, 1238, 3742, 23, 7, 277, 12018, 144832, 3034, 22819, 55292, 4028, 196707, 67, 190060, 211603, 408, 320, 29117, 194583, 856, 50770, 10484, 81887, 39850, 41, 93774, 3467,...
[ 0.0521240234375, 0.1824951171875, 0.13427734375, 0.1873779296875, 0.078369140625, 0.1534423828125, 0.09820556640625, 0.13916015625, 0.0772705078125, 0.142578125, 0.0662841796875, 0.04315185546875, 0.009002685546875, 0.08935546875, 0.04083251953125, 0.009765625, 0.05621337890625, 0....
embed
56437292_c0
56437292
fsharp
0
Title: In F#, why can&#x27;t the &quot;when&quot; in a type constraint line up with the apostrophe in the generic type? Problem title: In F#, why can&#x27;t the &quot;when&quot; in a type constraint line up with the apostrophe in the generic type? Tags: f%23 Problem: In F#, why can't the "when" in a type constraint lin...
In F#, why can&#x27;t the &quot;when&quot; in a type constraint line up with the apostrophe in the generic type? In F#, why can&#x27;t the &quot;when&quot; in a type constraint line up with the apostrophe in the generic type? f%23 FS0010 Incomplete Expected In F#, why can't the "when" in a type constraint line up with ...
[ 0.0081787109375, 0.01434326171875, 0.0014801025390625, 0.00543212890625, 0.009521484375, -0.0018157958984375, -0.002838134765625, 0.010986328125, -0.0118408203125, 0.017822265625, -0.0029449462890625, -0.000774383544921875, 0.00860595703125, -0.00994873046875, -0.005889892578125, -0.00...
[ 563, 4904, 15400, 831, 3768, 18, 41502, 434, 3220, 1230, 10644, 158, 2816, 4288, 13315, 1257, 678, 6885, 6639, 20133, 189534, 619, 1238, 93774, 7049, 963, 277, 131801, 60075, 13, 9969, 34759, 18499, 25632, 360, 62, 70, 3229, 4034, 1379, ...
[ 0.10693359375, 0.1968994140625, 0.1033935546875, 0.0799560546875, 0.045196533203125, 0.036712646484375, 0.09869384765625, 0.07476806640625, 0.2080078125, 0.023468017578125, 0.184814453125, 0.06024169921875, 0.158203125, 0.07781982421875, 0.0889892578125, 0.0902099609375, 0.0265808105...
embed
73739732_c0
73739732
fsharp
0
Title: How do I listen to the keyboard using Fable in an Elmish app? Problem title: How do I listen to the keyboard using Fable in an Elmish app? Tags: f%23, fable-f%23, elmish Problem: How do I listen to the keyboard using Fable in an Elmish app? Using Fable in an Elmish app, I'd like to listen to the keyboard directl...
How do I listen to the keyboard using Fable in an Elmish app? How do I listen to the keyboard using Fable in an Elmish app? f%23 fable-f%23 elmish Fable How Elmish document.addEventListener KeyDown e.keyCode Cmd.ofSub How do I listen to the keyboard using Fable in an Elmish app? Using Fable in an Elmish app, I'd like t...
[ 0.0072021484375, 0.00579833984375, 0.00469970703125, -0.00872802734375, 0.005859375, -0.010498046875, 0.00445556640625, 0.007171630859375, 0.00408935546875, -0.043212890625, 0.005767822265625, -0.00762939453125, -0.00299072265625, 0.051513671875, -0.0133056640625, 0.0022125244140625, ...
[ 11249, 54, 44632, 47, 70, 149186, 17368, 563, 2886, 23, 540, 78192, 4027, 142, 1238, 3742, 1071, 2661, 88, 12937, 4028, 192134, 154663, 39060, 26824, 8331, 7710, 28, 19770, 114211, 54686, 4390, 96472, 345, 1884, 105237, 2046, 12638, 22799, ...
[ 0.078857421875, 0.0250244140625, 0.254638671875, 0.1392822265625, 0.0295562744140625, 0.29541015625, 0.09686279296875, 0.1448974609375, 0.2254638671875, 0.0266876220703125, 0.1478271484375, 0.22509765625, 0.19140625, 0.0157928466796875, 0.02264404296875, 0.06890869140625, 0.104858398...
embed
15112880_c0
15112880
fsharp
0
Title: Guidelines to design a C# library well usable from F# Problem title: Guidelines to design a C# library well usable from F# Tags: c%23, f%23 Problem: Guidelines to design a C# library well usable from F# I just want to point out that this is question is not the reverse of Best approach for designing F# libraries ...
Guidelines to design a C# library well usable from F# Guidelines to design a C# library well usable from F# c%23 f%23 F# Guidelines IronJS.Hosting.FSharp IronJS.Hosting.CSharp Guidelines to design a C# library well usable from F# I just want to point out that this is question is not the reverse of Best approach for des...
[ -0.0029449462890625, 0.01129150390625, -0.00238037109375, -0.01177978515625, -0.00095367431640625, -0.00439453125, -0.01177978515625, 0.00665283203125, -0.00555419921875, 0.001953125, -0.0022125244140625, -0.0115966796875, 0.0029754638671875, 0.0260009765625, 0.0084228515625, 0.0115356...
[ 44583, 59801, 47, 4331, 313, 4904, 35773, 1294, 5299, 1821, 2886, 1295, 563, 3742, 70599, 64977, 11193, 1916, 36381, 3467, 254, 6275, 39531, 11345, 51515, 214, 10484, 4527, 15044, 136, 123309, 59121, 11814, 8999, 1884, 4127, 41361, 44126, 1...
[ 0.127197265625, 0.085693359375, 0.00494384765625, 0.1988525390625, 0.076171875, 0.2430419921875, 0.2032470703125, 0.1165771484375, 0.06256103515625, 0.1097412109375, 0.03741455078125, 0.11083984375, 0.1566162109375, 0.01416015625, 0.1541748046875, 0.2017822265625, 0.0340576171875, ...
embed
42964224_c0
42964224
fsharp
0
Title: findIndex with a predicate that takes a list instead of a single element Problem title: findIndex with a predicate that takes a list instead of a single element Tags: list, f%23 Problem: findIndex with a predicate that takes a list instead of a single element The F# findIndex function finds the index of the firs...
findIndex with a predicate that takes a list instead of a single element findIndex with a predicate that takes a list instead of a single element list f%23 findIndex with a predicate that takes a list instead of a single element The F# findIndex function finds the index of the first list element that satisfies a certai...
[ -0.01068115234375, 0.0164794921875, 0.0017547607421875, -0.0096435546875, -0.024658203125, 0.007659912109375, 0.03369140625, -0.003631591796875, 0.0181884765625, -0.039306640625, 0.02001953125, 0.01287841796875, -0.012939453125, -0.01348876953125, 0.00182342529296875, 0.01220703125, ...
[ 7413, 4153, 39659, 678, 1653, 2063, 67, 450, 51776, 5303, 64457, 11001, 12830, 1238, 3949, 3742, 563, 4904, 32354, 63262, 111, 5117, 40407, 3387, 24233, 3444, 33022, 21373, 40494, 33342, 100, 86595, 106, 134629, 757, 34475, 2389, 30646, 787...
[ 0.231689453125, 0.21240234375, 0.29931640625, 0.1087646484375, 0.176513671875, 0.215087890625, 0.10107421875, 0.041015625, 0.11962890625, 0.1923828125, 0.1766357421875, 0.12548828125, 0.166748046875, 0.0584716796875, 0.008056640625, 0.12353515625, 0.0928955078125, 0.1556396484375, ...
embed
13873849_c0
13873849
fsharp
0
Title: How to make an F# project work with the object browser Problem title: How to make an F# project work with the object browser Tags: f%23, objectbrowser Problem: How to make an F# project work with the object browser I have used the sample F# Empty WPF project and pulled in Paul Bett's ReactiveUI project via Nuget...
How to make an F# project work with the object browser How to make an F# project work with the object browser f%23 objectbrowser How How to make an F# project work with the object browser I have used the sample F# Empty WPF project and pulled in Paul Bett's ReactiveUI project via Nuget. Normally when I press (shift-f2)...
[ 0.00238037109375, 0.0244140625, -0.01043701171875, -0.002838134765625, -0.006439208984375, 0.00653076171875, -0.01275634765625, 0.009521484375, -0.004638671875, -0.0269775390625, 0.00531005859375, -0.0272216796875, -0.006256103515625, 0.00860595703125, 0.01080322265625, -0.012634277343...
[ 11249, 47, 3249, 563, 4904, 13452, 4488, 678, 36746, 31842, 142, 1238, 3949, 3742, 215725, 11814, 121413, 31678, 939, 601, 41265, 198932, 10208, 68326, 853, 71232, 33457, 1829, 1429, 3794, 24234, 3767, 2480, 420, 10461, 42485, 75034, 24447, ...
[ 0.0806884765625, 0.06353759765625, 0.1180419921875, 0.165283203125, 0.2626953125, 0.1702880859375, 0.1634521484375, 0.18017578125, 0.2398681640625, 0.248046875, 0.01312255859375, 0.09747314453125, 0.01031494140625, 0.156005859375, 0.2139892578125, 0.008941650390625, 0.091552734375, ...
embed
71581739_c0
71581739
fsharp
0
Title: FakeItEasy - Invokes with option member arguments in F# Problem title: FakeItEasy - Invokes with option member arguments in F# Tags: f%23, fakeiteasy Problem: FakeItEasy - Invokes with option member arguments in F# When attempting to supply a fake delegate for a method with an optional parameter in a faked objec...
FakeItEasy - Invokes with option member arguments in F# FakeItEasy - Invokes with option member arguments in F# f%23 fakeiteasy FakeItEasy Invokes MyType s:string x.B Option.iter Implemented Property A.Fake A.CallTo a.B Faked Hello FakeItEasy - Invokes with option member arguments in F# When attempting to supply a fake...
[ -0.00128173828125, 0.0026092529296875, 0.0230712890625, -0.0031280517578125, -0.0181884765625, -0.00421142578125, 0.0233154296875, -0.02001953125, -0.0111083984375, 0.027587890625, 0.0076904296875, 0.0213623046875, -0.00396728515625, 0.0361328125, 0.0164794921875, 0.0023345947265625, ...
[ 3036, 350, 23389, 647, 162, 53, 360, 23253, 678, 35829, 32786, 10750, 563, 4904, 1238, 3742, 106287, 1486, 2646, 196707, 91, 91693, 571, 86769, 16840, 153941, 206984, 62, 17647, 441, 5584, 7763, 12225, 35378, 81887, 100677, 102329, 13, 5530...
[ 0.2314453125, 0.1824951171875, 0.2117919921875, 0.1168212890625, 0.2030029296875, 0.1614990234375, 0.046905517578125, 0.1640625, 0.06658935546875, 0.2081298828125, 0.195068359375, 0.1883544921875, 0.1175537109375, 0.1651611328125, 0.06878662109375, 0.0877685546875, 0.23779296875, 0...
embed
8116271_c0
8116271
fsharp
0
Title: Casting an obj to a generic F# interface Problem title: Casting an obj to a generic F# interface Tags: sequences, interface, f%23 Problem: Casting an obj to a generic F# interface I'm trying to cast an object to a generic interface that looks something like this. type IFetchData<'a> = abstract FetchData: string ...
Casting an obj to a generic F# interface Casting an obj to a generic F# interface sequences interface f%23 Casting IFetchData FetchData Sample box_sample result2 Casting an obj to a generic F# interface I'm trying to cast an object to a generic interface that looks something like this. My example usage however looks li...
[ 0.0120849609375, 0.012451171875, 0.00933837890625, 0.01080322265625, 0.0135498046875, -0.0166015625, -0.01611328125, 0.003570556640625, -0.00019931793212890625, -0.0206298828125, -0.0019073486328125, -0.029296875, 0.00116729736328125, -0.0166015625, -0.0006103515625, -0.00762939453125,...
[ 32301, 214, 995, 170, 47, 189534, 563, 4904, 101758, 26513, 1238, 3742, 126, 206, 137989, 92962, 33209, 16530, 16750, 304, 31577, 37702, 36746, 33342, 1884, 903, 27781, 127689, 49903, 25632, 9902, 69307, 84079, 23, 202010, 70, 10644, 32786, ...
[ 0.1724853515625, 0.0260162353515625, 0.14794921875, 0.1798095703125, 0.116455078125, 0.2171630859375, 0.102783203125, 0.16357421875, 0.184814453125, 0.0655517578125, 0.05767822265625, 0.0755615234375, 0.09423828125, 0.100341796875, 0.1376953125, 0.122314453125, 0.0601806640625, 0.0...
embed
73797181_c0
73797181
fsharp
0
Title: How can I access a nested discriminated union value? Problem title: How can I access a nested discriminated union value? Tags: discriminated-union, f%23 Problem: How can I access a nested discriminated union value? I created a nested discriminated union: type hsAlgorithm = HS256 | HS384 | HS512 type rsAlgorithm ...
How can I access a nested discriminated union value? How can I access a nested discriminated union value? discriminated-union f%23 How HS256 HS384 HS512 RS256 RS384 RS512 ES256 ES384 ES512 Algorithm HMAC RSA ECDsa x.ToString How can I access a nested discriminated union value? I created a nested discriminated union: I ...
[ -0.024658203125, 0.00787353515625, 0.0233154296875, 0.01544189453125, 0.002716064453125, -0.00014781951904296875, -0.0128173828125, 0.004791259765625, 0.00469970703125, -0.0220947265625, 0.0185546875, 0.00341796875, 0.002716064453125, 0.004730224609375, -0.006439208984375, -0.013977050...
[ 11249, 831, 87, 17203, 8512, 71, 55970, 3674, 69941, 34292, 10, 87046, 1238, 3949, 3742, 39718, 127892, 117180, 758, 1530, 18912, 9764, 109847, 2783, 46592, 15012, 130424, 16069, 433, 1022, 7763, 71713, 75935, 28282, 77336, 57266, 105237, 543...
[ 0.09124755859375, 0.1092529296875, 0.0526123046875, 0.2275390625, 0.2252197265625, 0.1402587890625, 0.228759765625, 0.1470947265625, 0.245849609375, 0.2049560546875, 0.035919189453125, 0.2154541015625, 0.04974365234375, 0.03375244140625, 0.1298828125, 0.1744384765625, 0.31396484375, ...
embed
52528715_c0
52528715
fsharp
0
Title: F#: Type mismatch error when trying to count number of lowercase letters in a string Problem title: F#: Type mismatch error when trying to count number of lowercase letters in a string Tags: type-mismatch, f%23, count Problem: F#: Type mismatch error when trying to count number of lowercase letters in a string S...
F#: Type mismatch error when trying to count number of lowercase letters in a string F#: Type mismatch error when trying to count number of lowercase letters in a string type-mismatch f%23 count Type str.Length-1 Char.IsLower All F#: Type mismatch error when trying to count number of lowercase letters in a string So i'...
[ 0.01202392578125, 0.00482177734375, -0.00022411346435546875, 0.0106201171875, 0.0003223419189453125, -0.01171875, 0.020263671875, -0.0089111328125, 0.0128173828125, 0.0225830078125, -0.006622314453125, -0.025146484375, 0.0146484375, 0.0106201171875, -0.000629425048828125, -0.0061035156...
[ 563, 4904, 12, 60457, 1239, 98753, 18499, 31577, 54529, 14012, 92319, 58437, 120820, 79315, 10644, 2179, 1238, 3949, 3742, 7704, 449, 5759, 21656, 29598, 15363, 6488, 3164, 23, 18852, 765, 4966, 13695, 903, 66933, 21974, 26366, 2967, 38246, ...
[ 0.1025390625, 0.1822509765625, 0.00958251953125, 0.2103271484375, 0.1290283203125, 0.25048828125, 0.1844482421875, 0.07470703125, 0.1875, 0.093017578125, 0.2127685546875, 0.19140625, 0.16259765625, 0.181640625, 0.16259765625, 0.126220703125, 0.1029052734375, 0.062255859375, 0.167...
embed
21759410_c0
21759410
fsharp
0
Title: Encapsulating mutable states Problem title: Encapsulating mutable states Tags: f%23 Problem: Encapsulating mutable states I'm working my way through the F# Wikibook and I have got to the section on reference cells, in which the following code snippet appears: let incr = let counter = ref 0 fun () -> counter := !...
Encapsulating mutable states Encapsulating mutable states f%23 Encapsulating Encapsulating mutable states I'm working my way through the F# Wikibook and I have got to the section on reference cells, in which the following code snippet appears: This function is then called three times, giving the values 1, 2, and 3 resp...
[ 0.0181884765625, -0.005340576171875, 0.00762939453125, 0.01129150390625, 0.008544921875, 0.00579833984375, 0.01141357421875, 0.0126953125, -0.0012359619140625, 0.0003147125244140625, 0.00457763671875, 0.0213623046875, 0.009521484375, 0.04296875, 0.05029296875, -0.005584716796875, 0.0...
[ 357, 15644, 77593, 842, 22819, 117249, 1238, 3742, 563, 4904, 14137, 91067, 38750, 18151, 58134, 32354, 35839, 17262, 20028, 68772, 142424, 106, 116, 138, 73342, 15400, 14602, 959, 30646, 12638, 1733, 29481, 206019, 71013, 56, 159978, 10941, ...
[ 0.038177490234375, 0.172119140625, 0.2015380859375, 0.125732421875, 0.10479736328125, 0.146728515625, 0.0338134765625, 0.0977783203125, 0.047943115234375, 0.123779296875, 0.055206298828125, 0.2408447265625, 0.190185546875, 0.14306640625, 0.044403076171875, 0.1822509765625, 0.14611816...
embed
20419166_c0
20419166
fsharp
0
Title: Convert procedural solution to functional one. F# Problem title: Convert procedural solution to functional one. F# Tags: functional-programming, f%23 Problem: Convert procedural solution to functional one. F# I'm trying to wrap my head around functional programming using F#. I'm working my way through the Projec...
Convert procedural solution to functional one. F# Convert procedural solution to functional one. F# functional-programming f%23 Convert Calc Start Convert procedural solution to functional one. F# I'm trying to wrap my head around functional programming using F#. I'm working my way through the Project Euler problems, a...
[ -0.004486083984375, 0.0034332275390625, 0.01495361328125, -0.021728515625, -0.003448486328125, 0.0045166015625, 0.00250244140625, -0.01318359375, 0.0233154296875, -0.0191650390625, 0.0084228515625, 0.0255126953125, -0.0027618408203125, 0.017333984375, 0.019775390625, 0.01531982421875, ...
[ 1657, 11549, 59158, 141, 29806, 47, 123309, 1632, 563, 4904, 28966, 1238, 3949, 3742, 9113, 238, 13794, 31577, 137565, 10336, 56037, 449, 17368, 20697, 27331, 5177, 603, 44402, 12319, 1884, 87, 32562, 18151, 23, 111378, 43240, 1660, 5885, 6...
[ 0.0762939453125, 0.1673583984375, 0.24853515625, 0.1190185546875, 0.2000732421875, 0.103515625, 0.27294921875, 0.10986328125, 0.141357421875, 0.2125244140625, 0.129150390625, 0.05926513671875, 0.005096435546875, 0.0931396484375, 0.174560546875, 0.0924072265625, 0.16357421875, 0.016...
embed
36349718_c1
36349718
fsharp
1
with 0 devices [I:]: Tracking android devices stopped [I:]: Tracking android devices started [D:]: Tracking avd started [D:]: avd watcher *.ini path: 'C:\Users\<me>\.android\avd' [D:]: avd watcher android path: 'C:\Users\<me>\AppData\Local\Android\ANDROI~1\tools\android.bat' [D:]: TrackDeviceTask got: [I:]: Got new de...
with 0 devices [I:]: Tracking android devices stopped [I:]: Tracking android devices started [D:]: Tracking avd started [D:]: avd watcher *.ini path: 'C:\Users\<me>\.android\avd' [D:]: avd watcher android path: 'C:\Users\<me>\AppData\Local\Android\ANDROI~1\tools\android.bat' [D:]: TrackDeviceTask got: [I:]: Got new de...
[ -0.00689697265625, 0.0262451171875, -0.007415771484375, 0.00083160400390625, -0.003875732421875, 0.000560760498046875, -0.0036773681640625, -0.014892578125, -0.007049560546875, -0.00019550323486328125, -0.0185546875, -0.0224609375, -0.004913330078125, 0.01129150390625, 0.018310546875, ...
[ 678, 757, 128779, 69182, 214, 54527, 118066, 26859, 185, 71, 39544, 56, 943, 60875, 1062, 7, 51796, 3818, 39179, 203758, 57934, 45029, 14255, 89110, 2848, 4657, 20375, 9874, 53983, 3525, 75186, 5303, 1295, 606, 275, 4163, 483, 20600, 903, ...
[ 0.120849609375, 0.1641845703125, 0.201904296875, 0.1754150390625, 0.0435791015625, 0.1485595703125, 0.1326904296875, 0.0517578125, 0.1387939453125, 0.113037109375, 0.161865234375, 0.1358642578125, 0.106689453125, 0.1220703125, 0.016387939453125, 0.062255859375, 0.09625244140625, 0....
embed
70319345_c0
70319345
fsharp
0
Title: F# Object Tree Syntax Problem title: F# Object Tree Syntax Tags: object-construction, f%23, c%23, syntax Problem: F# Object Tree Syntax In C# it is possible to construct object trees in a rather succint syntax: var button = new Button() { Content = "Foo" }; Is there an idiomatic way to do something similar in F#...
F# Object Tree Syntax F# Object Tree Syntax object-construction f%23 c%23 syntax Object Tree Syntax Button Content Foo button.Content x.Content Helper F# Object Tree Syntax In C# it is possible to construct object trees in a rather succint syntax: Is there an idiomatic way to do something similar in F#? Records have ni...
[ 0.00689697265625, 0.01336669921875, -0.0018463134765625, -0.0035247802734375, 0.01068115234375, -0.00958251953125, -0.01544189453125, 0.01446533203125, -0.0010986328125, -0.02001953125, 0.000919342041015625, 0.0196533203125, 0.01324462890625, -0.00537109375, 0.0203857421875, -0.0290527...
[ 563, 4904, 134549, 101344, 19010, 86531, 36746, 238478, 1238, 3742, 6002, 144037, 70870, 9572, 31, 77679, 25352, 1022, 39527, 313, 7722, 64549, 1360, 90, 43257, 91, 45740, 49666, 3917, 54, 21373, 23, 89916, 26267, 50961, 108975, 12921, 28723,...
[ 0.1278076171875, 0.197265625, 0.23486328125, 0.2486572265625, 0.14208984375, 0.1712646484375, 0.2208251953125, 0.122314453125, 0.039947509765625, 0.057830810546875, 0.13232421875, 0.118408203125, 0.1435546875, 0.09246826171875, 0.041229248046875, 0.134521484375, 0.08013916015625, 0...
embed
25048915_c0
25048915
fsharp
0
Title: custom class attribute for discriminated union case Problem title: custom class attribute for discriminated union case Tags: discriminated-union, f%23 Problem: custom class attribute for discriminated union case With the code below, Success and Failure are compiled into 2 separate classes. How can I provide cust...
custom class attribute for discriminated union case custom class attribute for discriminated union case discriminated-union f%23 Result TSuccess TFailure Success Failure AttributeUsage AttributeTargets.Class AttributeTargets.Struct AttributeTargets.Enum AttributeTargets.Interface ClassAttribute custom class attribute f...
[ -0.00982666015625, 0.025634765625, -0.002349853515625, -0.0172119140625, -0.0091552734375, -0.0169677734375, -0.0023651123046875, 0.00860595703125, 0.005523681640625, 0.01171875, -0.0022735595703125, 0.00128173828125, -0.007354736328125, -0.0013275146484375, -0.008056640625, -0.0005035...
[ 114122, 18507, 150380, 13, 100, 55970, 3674, 69941, 7225, 87046, 1238, 3949, 3742, 126684, 18190, 26531, 30992, 25820, 3408, 144053, 190355, 1913, 191145, 1062, 7, 63031, 3794, 140803, 5, 18, 2606, 44851, 35014, 28848, 70, 18151, 35064, 136, ...
[ 0.26171875, 0.2744140625, 0.2294921875, 0.10247802734375, 0.10107421875, 0.2266845703125, 0.08837890625, 0.193603515625, 0.1756591796875, 0.149658203125, 0.0184478759765625, 0.016265869140625, 0.05859375, 0.14453125, 0.1480712890625, 0.1744384765625, 0.000518798828125, 0.1099853515...
embed
35068057_c1
35068057
fsharp
1
return type depending on the args returnType.AddMember(providedMethod) // PROBLEM: This gets called multiple times and adds unwanted overloads to my returnType let m2 = let myParam = ProvidedParameter("foo", typeof<int>) ProvidedMethod(nm, [myParam], returnType, IsStaticMethod = true) m2.InvokeCode <- fun args3 -> <@@...
return type depending on the args returnType.AddMember(providedMethod) // PROBLEM: This gets called multiple times and adds unwanted overloads to my returnType let m2 = let myParam = ProvidedParameter("foo", typeof<int>) ProvidedMethod(nm, [myParam], returnType, IsStaticMethod = true) m2.InvokeCode <- fun args3 -> <@@...
[ -0.00555419921875, 0.0245361328125, 0.01129150390625, 0.0135498046875, -0.031005859375, -0.005462646484375, 0.01220703125, -0.01904296875, 0.00714111328125, -0.039794921875, -0.006591796875, -0.0186767578125, -0.0023956298828125, 0.023193359375, 0, -0.0147705078125, 0.01153564453125,...
[ 30646, 10644, 96819, 79459, 196707, 4028, 594, 27417, 93136, 48141, 78572, 7352, 220133, 3293, 35839, 48716, 20028, 15190, 3206, 645, 63033, 2633, 347, 304, 759, 55292, 39, 123089, 71, 29089, 3584, 31, 4390, 4288, 1176, 2071, 135206, 1771, ...
[ 0.242919921875, 0.2408447265625, 0.0594482421875, 0.159912109375, 0.2744140625, 0.12890625, 0.1112060546875, 0.2386474609375, 0.132080078125, 0.110107421875, 0.13037109375, 0.1619873046875, 0.1116943359375, 0.002532958984375, 0.14453125, 0.125732421875, 0.1466064453125, 0.108764648...
embed
47244886_c0
47244886
fsharp
0
Title: Enum Type Constraint returns error &quot;The signature and implementation are not compatible...&quot; Problem title: Enum Type Constraint returns error &quot;The signature and implementation are not compatible...&quot; Tags: f%23 Problem: Enum Type Constraint returns error "The signature and implementation are n...
Enum Type Constraint returns error &quot;The signature and implementation are not compatible...&quot; Enum Type Constraint returns error &quot;The signature and implementation are not compatible...&quot; f%23 Enum Type Constraint Mapper TEnum uint32 Dictionary this.Add dict.Add Enum Type Constraint returns error "The s...
[ -0.0096435546875, -0.005706787109375, -0.01287841796875, -0.0019683837890625, -0.00335693359375, -0.00482177734375, 0.006561279296875, -0.001556396484375, -0.015625, -0.000514984130859375, 0.0005950927734375, -0.0142822265625, 0.02685546875, 0.009033203125, 0.0113525390625, -0.00436401...
[ 357, 316, 60457, 1657, 2816, 4288, 30646, 18499, 3957, 138256, 136, 208124, 959, 146731, 1238, 3742, 911, 8079, 13018, 2606, 75, 6460, 147638, 903, 4028, 61669, 621, 28960, 17997, 16265, 51671, 4904, 105233, 10644, 28032, 88996, 189534, 158, ...
[ 0.153564453125, 0.2491455078125, 0.230712890625, 0.10888671875, 0.197998046875, 0.103759765625, 0.1378173828125, 0.15966796875, 0.0440673828125, 0.202392578125, 0.1171875, 0.2017822265625, 0.135986328125, 0.2060546875, 0.0254974365234375, 0.1168212890625, 0.0670166015625, 0.1097412...
embed
37982282_c1
37982282
fsharp
1
543+00</date_created> <enrollment_date>2016-06-15 11:20:02.664+00</enrollment_date> </subjects> </TABLE> </OCEXPORT> The second one: <?xml version="1.0"?> <OCEXPORT> <TABLE> <subjects1> <sid>509</sid> <secondary>2</secondary> </subjects1> <subjects1> <sid>509</sid> <secondary>1</secondary> </subjects1> </TABLE> </OCEXP...
543+00</date_created> <enrollment_date>2016-06-15 11:20:02.664+00</enrollment_date> </subjects> </TABLE> </OCEXPORT> The second one: <?xml version="1.0"?> <OCEXPORT> <TABLE> <subjects1> <sid>509</sid> <secondary>2</secondary> </subjects1> <subjects1> <sid>509</sid> <secondary>1</secondary> </subjects1> </TABLE> </OCEXP...
[ 0.0145263671875, 0.01068115234375, -0.007354736328125, 0.0308837890625, 0.004241943359375, 0.027587890625, 0.0021820068359375, -0.000919342041015625, 0.0184326171875, 0.003997802734375, -0.00433349609375, -0.0081787109375, -0.0003910064697265625, -0.0023651123046875, 0.0086669921875, 0...
[ 167316, 1328, 7049, 17489, 7612, 27722, 4131, 202824, 22144, 75161, 618, 183057, 29065, 26939, 91599, 17932, 131492, 11389, 102107, 5151, 2525, 1126, 191633, 23972, 17366, 83, 5701, 12638, 11435, 1284, 418, 123055, 136, 110, 50960, 14012, 12921...
[ 0.1932373046875, 0.09716796875, 0.090087890625, 0.0074462890625, 0.0190887451171875, 0.1495361328125, 0.124267578125, 0.03533935546875, 0.072021484375, 0.1533203125, 0.1446533203125, 0.2213134765625, 0.1256103515625, 0.0858154296875, 0.200439453125, 0.1346435546875, 0.1966552734375, ...
embed
38417186_c0
38417186
fsharp
0
Title: &quot;CreateSemaphore&quot; error when working with SQLProvider Problem title: &quot;CreateSemaphore&quot; error when working with SQLProvider Tags: f%23, mysql, type-providers Problem: "CreateSemaphore" error when working with SQLProvider module test = let [<Literal>] resolutionPath = __SOURCE_DIRECTORY__ + @"/...
&quot;CreateSemaphore&quot; error when working with SQLProvider &quot;CreateSemaphore&quot; error when working with SQLProvider f%23 mysql type-providers CreateSemaphore SQLProvider Literal __SOURCE_DIRECTORY__ Data Source SqlDataProvider ConnectionString DatabaseVendor Common.DatabaseProviderTypes.MYSQL ResolutionPath...
[ 0.0008544921875, 0.0135498046875, -0.000934600830078125, -0.0084228515625, 0.003997802734375, -0.0024261474609375, -0.00665283203125, -0.03076171875, -0.0031890869140625, -0.0238037109375, 0.0177001953125, -0.0010528564453125, 0.041015625, -0.01611328125, -0.004119873046875, -0.0013885...
[ 63784, 2182, 4233, 62346, 94187, 41502, 18499, 20697, 678, 80866, 177997, 62160, 1238, 3949, 3742, 759, 99247, 10644, 93136, 151313, 135940, 76234, 123237, 16546, 208230, 77641, 159, 62448, 71713, 187781, 85512, 151301, 37382, 196707, 73543, 1588...
[ 0.174072265625, 0.109130859375, 0.1104736328125, 0.1287841796875, 0.2373046875, 0.06036376953125, 0.167236328125, 0.0887451171875, 0.0843505859375, 0.17724609375, 0.1944580078125, 0.16845703125, 0.014617919921875, 0.004730224609375, 0.0928955078125, 0.07470703125, 0.15283203125, 0....
embed
39622650_c1
39622650
fsharp
1
exact error message is this: The type referenced through 'Newtonsoft.Json.JsonWriter' is defined in an assembly that is not referenced. You must add a reference to assembly 'Newtonsoft.Json' I'm using Visual Studio 2015 Update 3, F# tools (fsc, fsi) show version 14.0.23413.0. It kind of makes sense, because it's readi...
exact error message is this: The type referenced through 'Newtonsoft.Json.JsonWriter' is defined in an assembly that is not referenced. You must add a reference to assembly 'Newtonsoft.Json' I'm using Visual Studio 2015 Update 3, F# tools (fsc, fsi) show version 14.0.23413.0. It kind of makes sense, because it's readi...
[ -0.004730224609375, 0.0284423828125, -0.005462646484375, -0.00018978118896484375, -0.01373291015625, -0.0284423828125, -0.009521484375, 0.00640869140625, -0.012451171875, 0.025390625, -0.0029449462890625, 0.02490234375, 0.03662109375, -0.002166748046875, 0.0101318359375, 0.017822265625...
[ 24763, 18499, 26008, 83, 903, 10644, 91067, 8305, 46568, 1507, 61306, 1375, 1681, 1456, 2783, 56, 61924, 89845, 959, 8110, 15190, 38526, 73372, 22968, 918, 28641, 138, 563, 4904, 72977, 17447, 238, 1238, 172, 7639, 11389, 6370, 133684, 363,...
[ 0.1827392578125, 0.196533203125, 0.1273193359375, 0.03961181640625, 0.07421875, 0.223388671875, 0.2132568359375, 0.032989501953125, 0.0697021484375, 0.102783203125, 0.1832275390625, 0.1077880859375, 0.171630859375, 0.041595458984375, 0.139892578125, 0.07159423828125, 0.1689453125, ...
embed
42598677_c0
42598677
fsharp
0
Title: What is the best way to pass generic function that resolves to multiple types Problem title: What is the best way to pass generic function that resolves to multiple types Tags: functional-programming, f%23 Problem: What is the best way to pass generic function that resolves to multiple types For the background: ...
What is the best way to pass generic function that resolves to multiple types What is the best way to pass generic function that resolves to multiple types functional-programming f%23 What What is the best way to pass generic function that resolves to multiple types For the background: It's a variation on functional DI...
[ -0.0081787109375, -0.01068115234375, 0.00201416015625, -0.00946044921875, -0.00823974609375, -0.0185546875, 0.00372314453125, -0.0096435546875, -0.003143310546875, -0.031982421875, -0.008544921875, -0.007293701171875, -0.00677490234375, -0.00982666015625, -0.00494384765625, 0.009765625...
[ 2965, 3917, 27875, 189534, 32354, 450, 103608, 7, 47, 48716, 52895, 123309, 28966, 1238, 3949, 3742, 76615, 143834, 5419, 54397, 29481, 56, 165292, 39850, 35509, 61590, 134234, 1884, 15700, 23, 21922, 3642, 831, 112892, 2967, 171259, 9297, 51...
[ 0.1318359375, 0.09344482421875, 0.155517578125, 0.259521484375, 0.1895751953125, 0.0168609619140625, 0.21337890625, 0.051483154296875, 0.104248046875, 0.1900634765625, 0.2254638671875, 0.1287841796875, 0.108642578125, 0.1124267578125, 0.004058837890625, 0.08251953125, 0.043701171875,...
embed
70408008_c0
70408008
fsharp
0
Title: how to automatcally scale the y-axis in a graph with plotly.net / F# Problem title: how to automatcally scale the y-axis in a graph with plotly.net / F# Tags: plotly, f%23 Problem: how to automatcally scale the y-axis in a graph with plotly.net / F# I have a candlestick chart drawn like this Chart.Candlestick(ca...
how to automatcally scale the y-axis in a graph with plotly.net / F# how to automatcally scale the y-axis in a graph with plotly.net / F# plotly f%23 plotly.net Chart.Candlestick Array.map x.Timestamp StockData.create x.Open x.High x.Low x.Close Chart.withYAxis LinearAxis.init AutoRange AutoRange.True FixedRange how to...
[ 0.01446533203125, 0.0126953125, 0.0281982421875, 0.00080108642578125, -0.00439453125, -0.0002574920654296875, -0.0026702880859375, 0.02392578125, -0.004425048828125, 0.0306396484375, 0.01080322265625, 0.01708984375, -0.0296630859375, -0.019775390625, 0.01409912109375, 0.0260009765625, ...
[ 3642, 11408, 6827, 538, 105994, 113, 9, 11, 33102, 41382, 23577, 1179, 563, 4904, 23, 678, 1238, 3742, 110373, 54694, 69880, 62346, 68804, 7612, 1022, 103264, 163025, 59453, 76228, 14671, 16777, 4396, 51459, 882, 96746, 7841, 133, 116287, 7...
[ 0.037872314453125, 0.1854248046875, 0.0823974609375, 0.1683349609375, 0.2310791015625, 0.216796875, 0.04217529296875, 0.05377197265625, 0.1746826171875, 0.1693115234375, 0.1480712890625, 0.1148681640625, 0.06085205078125, 0.08782958984375, 0.0841064453125, 0.0277252197265625, 0.02095...
embed
18471076_c0
18471076
fsharp
0
Title: Efficiently update bindings in a .NET dictionary Problem title: Efficiently update bindings in a .NET dictionary Tags: dictionary, c%23, .net, f%23 Problem: Efficiently update bindings in a .NET dictionary I'm using a dictionary to accumulate the number of occurrences of keys and, consequently, the core operatio...
Efficiently update bindings in a .NET dictionary Efficiently update bindings in a .NET dictionary dictionary c%23 .net f%23 Efficiently NET AddOrUpdate Dictionary Efficiently update bindings in a .NET dictionary I'm using a dictionary to accumulate the number of occurrences of keys and, consequently, the core operation...
[ -0.01953125, 0.0279541015625, -0.0030975341796875, -0.01312255859375, -0.003448486328125, -0.01190185546875, -0.01153564453125, 0.0157470703125, 0.00531005859375, 0.00750732421875, 0.00017547607421875, 0.0159912109375, 0.0027618408203125, 0.0322265625, 0.043212890625, 0.0179443359375, ...
[ 241, 24500, 45964, 28350, 128239, 7, 5, 17777, 45, 10763, 3742, 1179, 29117, 19060, 152872, 147638, 6635, 17368, 183278, 14012, 74918, 22799, 56458, 41018, 32562, 27494, 80836, 34292, 96362, 1001, 1660, 2174, 110, 144570, 6626, 84797, 39116, ...
[ 0.0175628662109375, 0.1552734375, 0.09332275390625, 0.2176513671875, 0.2445068359375, 0.04132080078125, 0.041412353515625, 0.2081298828125, 0.07122802734375, 0.150634765625, 0.041046142578125, 0.1455078125, 0.127685546875, 0.169677734375, 0.2362060546875, 0.191650390625, 0.0434570312...
embed
3627425_c0
3627425
fsharp
0
Title: Nullablle&lt;&gt;&#x27;s and &quot;null&quot; in F# Problem title: Nullablle&lt;&gt;&#x27;s and &quot;null&quot; in F# Tags: f%23 Problem: Nullablle<>'s and "null" in F# I'm calling functions in the XNA framework from F# that accept Nullable values. Now, in C#, you would just call: foo(arg1, arg2, null, arg4) No...
Nullablle&lt;&gt;&#x27;s and &quot;null&quot; in F# Nullablle&lt;&gt;&#x27;s and &quot;null&quot; in F# f%23 Nullablle arg1 arg2 arg4 Nullable Rectangle Nullablle<>'s and "null" in F# I'm calling functions in the XNA framework from F# that accept Nullable values. Now, in C#, you would just call: Now, I tried that in F#...
[ 0.0185546875, -0.000919342041015625, 0.0247802734375, 0.009765625, -0.005462646484375, -0.006866455078125, 0.01434326171875, -0.0147705078125, 0.0111083984375, 0.01531982421875, -0.0007171630859375, -0.0023956298828125, -0.01373291015625, -0.004547119140625, 0.0108642578125, -0.0076904...
[ 27786, 275, 1229, 1277, 5386, 3768, 136, 139550, 23, 563, 4904, 1238, 3742, 79459, 418, 304, 617, 2661, 48224, 14525, 133, 159029, 32354, 1193, 6691, 170846, 26946, 142424, 313, 2806, 1660, 11782, 37842, 18, 1884, 18468, 31611, 483, 60457, ...
[ 0.23388671875, 0.1553955078125, 0.2093505859375, 0.013946533203125, 0.014862060546875, 0.09912109375, 0.0831298828125, 0.2449951171875, 0.026519775390625, 0.1483154296875, 0.1837158203125, 0.000518798828125, 0.0567626953125, 0.089599609375, 0.025421142578125, 0.043853759765625, 0.128...
embed
39204814_c0
39204814
fsharp
0
Title: Split huge F# file with mutually recursive functions Problem title: Split huge F# file with mutually recursive functions Tags: f%23, mutual-recursion Problem: Split huge F# file with mutually recursive functions In F# I have a very long code file like let rec f1 a1 a2 a3 a4 a5 .. aN = ... and f2 a1 a2 a3 a4 a5 ....
Split huge F# file with mutually recursive functions Split huge F# file with mutually recursive functions f%23 mutual-recursion Split f40 Split huge F# file with mutually recursive functions In F# I have a very long code file like In other words there are many mutually recursive functions, each with a lot of parameters...
[ 0.0030059814453125, -0.002685546875, -0.006103515625, 0.017822265625, -0.0201416015625, 0.0018463134765625, -0.00262451171875, 0.0096435546875, 0.0218505859375, -0.0037384033203125, -0.020751953125, 0.0078125, -0.01397705078125, 0.012451171875, 0.0380859375, -0.00732421875, 0.0004196...
[ 46474, 58696, 563, 4904, 11435, 678, 199849, 538, 195625, 5844, 32354, 1238, 3742, 107, 48650, 2839, 765, 4552, 4989, 18151, 1884, 5941, 5915, 171859, 2967, 729, 9508, 124519, 73372, 22968, 24209, 5792, 72803, 831, 739, 114669, 645, 35735, ...
[ 0.24755859375, 0.1474609375, 0.1219482421875, 0.216796875, 0.1981201171875, 0.03277587890625, 0.1705322265625, 0.091552734375, 0.207275390625, 0.140380859375, 0.1810302734375, 0.068115234375, 0.11962890625, 0.040374755859375, 0.167724609375, 0.18212890625, 0.0167694091796875, 0.054...
embed
9532352_c0
9532352
fsharp
0
Title: Windows 8 and F# Problem title: Windows 8 and F# Tags: windows-runtime, styles, f%23, microsoft-metro Problem: Windows 8 and F# So, since one cannot build metro style apps with F# and it isn’t possible to reference a F# library from within a metro style app, where is the place of F# in Windows 8? I mean what is ...
Windows 8 and F# Windows 8 and F# windows-runtime styles f%23 microsoft-metro Windows Windows 8 and F# So, since one cannot build metro style apps with F# and it isn’t possible to reference a F# library from within a metro style app, where is the place of F# in Windows 8? I mean what is its future? Won’t F# have the sa...
[ 0.00811767578125, 0.01544189453125, 0.0191650390625, -0.0023956298828125, -0.01220703125, 0.018798828125, -0.009765625, 0.006988525390625, 0.0191650390625, -0.006317138671875, -0.003570556640625, 0.017333984375, 0.0023651123046875, 0.004608154296875, 0.008544921875, 0.01275634765625, ...
[ 3773, 382, 136, 563, 4904, 54825, 16428, 6032, 20623, 1238, 3949, 3742, 138410, 37165, 53418, 45367, 23205, 49966, 678, 18, 7722, 91067, 35773, 28032, 4027, 7440, 3687, 111, 23, 6863, 22690, 765, 5701, 87714, 237, 57035, 20016, 7103, 12960,...
[ 0.138427734375, 0.235107421875, 0.111328125, 0.1859130859375, 0.2705078125, 0.09832763671875, 0.0289764404296875, 0.05914306640625, 0.1942138671875, 0.1136474609375, 0.00103759765625, 0.043243408203125, 0.09454345703125, 0.1707763671875, 0.1041259765625, 0.1214599609375, 0.1881103515...
embed
71725773_c0
71725773
fsharp
0
Title: F#: Accessing values of decision Union Problem title: F#: Accessing values of decision Union Tags: f%23, discriminated-union Problem: F#: Accessing values of decision Union Is there a better way or an alternative for the getHandRankValue function? Maybe without the match type HandRank = | StraightFlush of int li...
F#: Accessing values of decision Union F#: Accessing values of decision Union f%23 discriminated-union Accessing Union HandRank StraightFlush FourOfAKind FullHouse Flush Straight ThreeOfAKind TwoPair OnePair HighCard List.map F#: Accessing values of decision Union Is there a better way or an alternative for the getHand...
[ -0.01031494140625, -0.0045166015625, 0.01611328125, -0.015869140625, -0.0162353515625, -0.026123046875, -0.025634765625, -0.0235595703125, 0.0262451171875, 0.000835418701171875, 0.0225830078125, 0.01531982421875, 0.0174560546875, -0.01611328125, -0.0062255859375, -0.014404296875, 0.0...
[ 563, 4904, 40266, 214, 142424, 111, 51957, 32528, 1238, 3949, 3742, 55970, 3674, 87046, 10639, 126525, 92, 7832, 22553, 5782, 65056, 132887, 7250, 9312, 184964, 36157, 1495, 129335, 32964, 8335, 6561, 481, 19694, 156119, 32036, 62346, 11522, ...
[ 0.0809326171875, 0.171142578125, 0.168701171875, 0.05657958984375, 0.2086181640625, 0.035552978515625, 0.1575927734375, 0.191650390625, 0.05419921875, 0.0199432373046875, 0.1109619140625, 0.191162109375, 0.04949951171875, 0.1663818359375, 0.1744384765625, 0.2412109375, 0.078002929687...
embed
43636511_c0
43636511
fsharp
0
Title: Why did Seq.replicate disappear? Problem title: Why did Seq.replicate disappear? Tags: .net, f%23 Problem: Why did Seq.replicate disappear? I was happily using Seq.replicate , Seq.rev and other List, Array, and Sequence APIs. Then I installed a couple of packages and some of the APIs, like Seq.replicate stopped ...
Why did Seq.replicate disappear? Why did Seq.replicate disappear? .net f%23 Why Seq.replicate Seq.rev Microsoft.FSharp.Collections package.config MathNet.Numerics.FSharp MathNet.Numerics Why did Seq.replicate disappear? I was happily using Seq.replicate , Seq.rev and other List, Array, and Sequence APIs. Then I install...
[ -0.0064697265625, 0.0250244140625, 0.002349853515625, 0.03173828125, -0.01275634765625, 0.00726318359375, 0.00982666015625, 0.0036773681640625, -0.006256103515625, 0.0024566650390625, -0.01519775390625, 0.01434326171875, 0.0020751953125, 0.005340576171875, 0.02490234375, -0.00552368164...
[ 44084, 6777, 503, 864, 5, 107, 52721, 67, 213566, 1179, 1238, 3742, 65381, 7244, 36381, 3467, 254, 78457, 8996, 98169, 153837, 78804, 24447, 28021, 1991, 256, 7520, 17368, 32036, 69253, 136, 944, 61687, 20600, 24941, 3060, 118066, 20697, 73...
[ 0.086669921875, 0.0865478515625, 0.1268310546875, 0.23388671875, 0.072265625, 0.1080322265625, 0.265380859375, 0.1878662109375, 0.2081298828125, 0.146728515625, 0.0020751953125, 0.0845947265625, 0.203369140625, 0.1202392578125, 0.0248870849609375, 0.1507568359375, 0.12939453125, 0....
embed
24774174_c0
24774174
fsharp
0
Title: Filter by constraint Problem title: Filter by constraint Tags: f%23, type-constraints Problem: Filter by constraint Ok, I realise this might be a weird question. But I need to ask it anyway. It goes as follows: Suppose I have something like the following: type Foo() = member this.MyFooFun i = 2*i type Bar() = in...
Filter by constraint Filter by constraint f%23 type-constraints Filter Foo this.MyFooFun Bar this.MyBarFun Baz this.MyBazFun FooSeq MyBarFun Filter by constraint Ok, I realise this might be a weird question. But I need to ask it anyway. It goes as follows: Suppose I have something like the following: What I want to do,...
[ 0.01708984375, -0.0030975341796875, -0.01214599609375, -0.0001239776611328125, 0.00147247314453125, -0.01336669921875, -0.012451171875, 0.03173828125, -0.000885009765625, -0.035888671875, -0.016357421875, -0.00921630859375, 0.000644683837890625, 0.0203857421875, -0.01165771484375, -0.0...
[ 128896, 390, 158, 2816, 4288, 1238, 3949, 3742, 10644, 2271, 9572, 31, 903, 31852, 27591, 97249, 3253, 25267, 36490, 4233, 864, 2646, 179459, 26458, 1884, 25632, 3444, 46312, 1810, 756, 70, 25, 1295, 32786, 2071, 7722, 2773, 4527, 152, 32...
[ 0.258056640625, 0.1473388671875, 0.087890625, 0.18896484375, 0.0865478515625, 0.05084228515625, 0.03814697265625, 0.148681640625, 0.14794921875, 0.05914306640625, 0.2071533203125, 0.18310546875, 0.1239013671875, 0.0977783203125, 0.0953369140625, 0.23876953125, 0.267578125, 0.175781...
embed
26905051_c0
26905051
fsharp
0
Title: Type inference with List.fold Problem title: Type inference with List.fold Tags: fold, f%23, type-inference Problem: Type inference with List.fold I'm having some issues transforming a list of lists again. I have a list of list of ints it looks like this. val p5PrimeFactorization : int list list = [[1]; [2]; [3]...
Type inference with List.fold Type inference with List.fold fold f%23 type-inference Type List.fold p5PrimeFactorization List.map List.sum Type inference with List.fold I'm having some issues transforming a list of lists again. I have a list of list of ints it looks like this. Now I want to transform each list into the...
[ -0.026123046875, 0.017333984375, 0.019775390625, 0.03173828125, -0.0198974609375, 0.007232666015625, -0.0216064453125, -0.00077056884765625, 0.0047607421875, -0.011962890625, 0.026611328125, -0.007598876953125, 0.01116943359375, 0.0030364990234375, -0.0040283203125, -0.010009765625, ...
[ 60457, 53498, 6620, 678, 32036, 42822, 5, 1238, 3949, 3742, 10644, 69988, 758, 145111, 135518, 1290, 62346, 11832, 37348, 27198, 5303, 111, 13438, 23, 933, 33342, 3444, 12638, 3934, 12996, 756, 112820, 43240, 903, 22027, 18, 2967, 50015, 13...
[ 0.21923828125, 0.2147216796875, 0.06219482421875, 0.0687255859375, 0.1846923828125, 0.204833984375, 0.025421142578125, 0.0173187255859375, 0.029510498046875, 0.0982666015625, 0.169189453125, 0.1590576171875, 0.0396728515625, 0.0413818359375, 0.0276031494140625, 0.0089111328125, 0.048...
embed
3273889_c0
3273889
fsharp
0
Title: No source available when debugging C# app which references F# lib Problem title: No source available when debugging C# app which references F# lib Tags: f%23, c%23, nullreferenceexception Problem: No source available when debugging C# app which references F# lib In my solution of VS2010, a C# app project referen...
No source available when debugging C# app which references F# lib No source available when debugging C# app which references F# lib f%23 c%23 nullreferenceexception NullReferenceException Module1 x.a aa:AA None aa.Value.a ConsoleApp1 Program Main Console.Out.Write Module1.b Console.In.Read No source available when debu...
[ 0.0084228515625, 0.024169921875, 0.00811767578125, 0.01031494140625, 0.01251220703125, 0.003631591796875, 0.008056640625, -0.003173828125, -0.007720947265625, -0.01055908203125, 0.0074462890625, -0.012451171875, 0.015380859375, 0.0206298828125, 0.0299072265625, -0.029296875, 0.003601...
[ 438, 31344, 19882, 3229, 8, 978, 36659, 313, 4904, 4027, 91067, 563, 25474, 1238, 3742, 56574, 239879, 3355, 1429, 1181, 4332, 69988, 63928, 63014, 15467, 50770, 40777, 39179, 4153, 31345, 29806, 44160, 11436, 13452, 35773, 1294, 104250, 2140...
[ 0.1170654296875, 0.237548828125, 0.1478271484375, 0.01092529296875, 0.139892578125, 0.2027587890625, 0.078857421875, 0.037445068359375, 0.205078125, 0.1326904296875, 0.1591796875, 0.10986328125, 0.136474609375, 0.041961669921875, 0.0838623046875, 0.118408203125, 0.213134765625, 0.0...
embed
18963508_c0
18963508
fsharp
0
Title: The Http of FSharp.Data and proxy server Problem title: The Http of FSharp.Data and proxy server Tags: f%23-3.0, f%23, f%23-data Problem: The Http of FSharp.Data and proxy server I'm creating a program to download web pages using the Http module of FSharp.Data. However, the module doesn't support setting http pr...
The Http of FSharp.Data and proxy server The Http of FSharp.Data and proxy server f%23-3.0 f%23 f%23-data Http FSharp.Data _httpWebRequest.Proxy System.Net.WebProxy proxy.myCompany.com:80 HttpResponse Http.Request Sign POST The Http of FSharp.Data and proxy server I'm creating a program to download web pages using the ...
[ -0.00133514404296875, 0.03857421875, 0.004150390625, 0.0027618408203125, -0.002288818359375, -0.006805419921875, 0.0032501220703125, 0.0216064453125, -0.0029754638671875, -0.044189453125, 0.0027008056640625, -0.000484466552734375, -0.01300048828125, -0.01123046875, 0.00167083740234375, ...
[ 581, 572, 3062, 254, 111, 93774, 3467, 5, 137989, 136, 502, 50878, 10723, 1238, 27495, 132265, 3742, 10135, 5475, 30474, 4332, 75616, 10752, 12353, 24447, 1176, 108161, 4848, 277, 4836, 94399, 48838, 81903, 105233, 1528, 7026, 1467, 37967, ...
[ 0.04168701171875, 0.094482421875, 0.158203125, 0.2144775390625, 0.07098388671875, 0.1370849609375, 0.2369384765625, 0.05804443359375, 0.2047119140625, 0.123291015625, 0.17138671875, 0.256591796875, 0.1641845703125, 0.0634765625, 0.09552001953125, 0.1746826171875, 0.079833984375, 0....
embed
53818084_c0
53818084
fsharp
0
Title: Scala&#x27;s notion of &quot;partial functions&quot;&#x27; &amp; the &quot;.orElse&quot; method in F# Problem title: Scala&#x27;s notion of &quot;partial functions&quot;&#x27; &amp; the &quot;.orElse&quot; method in F# Tags: scala, partialfunction, f%23 Problem: Scala's notion of "partial functions"' & the ".orE...
Scala&#x27;s notion of &quot;partial functions&quot;&#x27; &amp; the &quot;.orElse&quot; method in F# Scala&#x27;s notion of &quot;partial functions&quot;&#x27; &amp; the &quot;.orElse&quot; method in F# scala partialfunction f%23 Scala PartialFunction Any res0 Scala's notion of "partial functions"' & the ".orElse" met...
[ 0.01361083984375, 0.0011749267578125, 0.00640869140625, -0.0072021484375, -0.016845703125, -0.00775146484375, 0.01507568359375, -0.0201416015625, 0.008544921875, -0.00811767578125, 0.012451171875, -0.0074462890625, 0.009521484375, 0.0023956298828125, 0.0184326171875, -0.000629425048828...
[ 152653, 11, 3768, 110, 15866, 289, 32354, 5, 748, 7623, 184, 55300, 563, 4904, 23, 146232, 2878, 137175, 1238, 3742, 9148, 97249, 3332, 619, 1363, 180663, 21373, 166117, 114864, 69307, 63769, 100, 166577, 1829, 707, 35064, 3917, 5701, 12330...
[ 0.2093505859375, 0.1541748046875, 0.046661376953125, 0.0994873046875, 0.184814453125, 0.108154296875, 0.2052001953125, 0.044952392578125, 0.1162109375, 0.139404296875, 0.133056640625, 0.157958984375, 0.1065673828125, 0.1749267578125, 0.012725830078125, 0.1968994140625, 0.157958984375...
embed
3227368_c0
3227368
fsharp
0
Title: F# Exception Handling for part of function Problem title: F# Exception Handling for part of function Tags: exception, f%23 Problem: F# Exception Handling for part of function I'm trying to write a function where only two method calls (with the methods being unit -> unit) should have a certain exception handled. ...
F# Exception Handling for part of function F# Exception Handling for part of function exception f%23 SomeException Exception Handling SomeType MyMethod F# Exception Handling for part of function I'm trying to write a function where only two method calls (with the methods being unit -> unit) should have a certain except...
[ 0.00811767578125, 0.017578125, -0.007354736328125, -0.03076171875, -0.00074005126953125, -0.00506591796875, 0.0037384033203125, -0.0167236328125, 0.004638671875, 0.004547119140625, -0.010986328125, 0.0252685546875, -0.0218505859375, 0.016845703125, 0.019775390625, -0.01458740234375, ...
[ 563, 4904, 5443, 63928, 193237, 100, 2831, 111, 32354, 131527, 1238, 3949, 3742, 31384, 19279, 196707, 2646, 78572, 7352, 31577, 33022, 4734, 6626, 55300, 11782, 150624, 25072, 5608, 24233, 34831, 71, 224833, 186, 2174, 142, 83, 165249, 64194...
[ 0.1297607421875, 0.2154541015625, 0.13134765625, 0.23828125, 0.2220458984375, 0.0236358642578125, 0.146240234375, 0.094970703125, 0.1961669921875, 0.262451171875, 0.03790283203125, 0.004913330078125, 0.0899658203125, 0.06427001953125, 0.04351806640625, 0.135009765625, 0.0859985351562...
embed
8002529_c0
8002529
fsharp
0
Title: Implementating functional languages for the CLR (Or, papers on the implementation of F#) Problem title: Implementating functional languages for the CLR (Or, papers on the implementation of F#) Tags: functional-programming, lambda, clr, compiler-construction, f%23 Problem: Implementating functional languages for ...
Implementating functional languages for the CLR (Or, papers on the implementation of F#) Implementating functional languages for the CLR (Or, papers on the implementation of F#) functional-programming lambda clr compiler-construction f%23 Implementating CLR Implementating functional languages for the CLR (Or, papers on...
[ 0.0291748046875, 0.01336669921875, 0.0140380859375, -0.0008392333984375, -0.003143310546875, -0.00482177734375, -0.0262451171875, -0.0162353515625, -0.015380859375, -0.0267333984375, -0.0084228515625, -0.001251220703125, -0.0184326171875, 0.02197265625, 0.01275634765625, 0.016357421875...
[ 153941, 26518, 123309, 46876, 7, 100, 313, 138535, 19060, 15122, 208124, 563, 4904, 28966, 21, 6492, 85, 33139, 42, 9969, 34759, 238478, 1238, 3742, 35672, 3714, 4127, 98, 31577, 139392, 16444, 18151, 8781, 30388, 237875, 10846, 128746, 60212...
[ 0.1683349609375, 0.037872314453125, 0.244384765625, 0.229736328125, 0.0281219482421875, 0.055908203125, 0.11474609375, 0.236328125, 0.009552001953125, 0.1351318359375, 0.1639404296875, 0.097412109375, 0.1953125, 0.1134033203125, 0.00018310546875, 0.1483154296875, 0.08148193359375, ...
embed
19881410_c1
19881410
fsharp
1
.GetValue propertyIndex : obj = match propertyMap.TryFind propertyIndex with | Some(value) -> value | None -> box "property not found" (fun args -> let boxedArgs = args |> List.map (fun arg -> match arg with | Quotations.Patterns.Var var -> if var.Type = typeof<int> then <@@ (box (%%arg: int)) @@> else if var.Type = ty...
.GetValue propertyIndex : obj = match propertyMap.TryFind propertyIndex with | Some(value) -> value | None -> box "property not found" (fun args -> let boxedArgs = args |> List.map (fun arg -> match arg with | Quotations.Patterns.Var var -> if var.Type = typeof<int> then <@@ (box (%%arg: int)) @@> else if var.Type = ty...
[ -0.0101318359375, 0.0011749267578125, 0.0087890625, -0.0167236328125, -0.0201416015625, -0.008056640625, 0.0028839111328125, 0.016845703125, 0.0235595703125, -0.0303955078125, 0.00537109375, -0.006134033203125, -0.00115966796875, 0.004058837890625, 0.0184326171875, -0.00799560546875, ...
[ 5, 724, 126, 856, 50770, 57266, 4153, 39659, 995, 170, 2203, 14858, 166179, 1294, 204582, 678, 31384, 27494, 34292, 438, 16530, 36290, 56, 939, 959, 14037, 16498, 79459, 297, 7614, 9405, 32036, 62346, 43851, 8335, 3055, 81827, 285, 2174, ...
[ 0.033721923828125, 0.07183837890625, 0.12353515625, 0.2042236328125, 0.26220703125, 0.1917724609375, 0.1075439453125, 0.21484375, 0.1485595703125, 0.1968994140625, 0.011688232421875, 0.1307373046875, 0.1297607421875, 0.1219482421875, 0.1822509765625, 0.078125, 0.0926513671875, 0.18...
embed
56835885_c0
56835885
fsharp
0
Title: How to directly invoke F# compiler on .NET Core? Problem title: How to directly invoke F# compiler on .NET Core? Tags: fsc, f%23, .net, .net-core Problem: How to directly invoke F# compiler on .NET Core? UPD.: I want to invoke F# compiler (i.e. fsc) from .NET Core SDK directly. I know about dotnet build & co, bu...
How to directly invoke F# compiler on .NET Core? How to directly invoke F# compiler on .NET Core? fsc f%23 .net .net-core How NET Core FS0193 Could Microsoft.Build.Tasks.v4.0 Version Culture PublicKeyToken b03f5f7f11d50a3a How to directly invoke F# compiler on .NET Core? UPD.: I want to invoke F# compiler (i.e. fsc) fr...
[ -0.020263671875, 0.01544189453125, 0.0059814453125, -0.0048828125, -0.0126953125, -0.01104736328125, -0.002777099609375, 0.0010833740234375, -0.018798828125, -0.0172119140625, 0.00567626953125, 0.01129150390625, -0.005340576171875, 0.02587890625, 0.0194091796875, 0.004058837890625, 0...
[ 11249, 47, 105237, 23, 23253, 13, 563, 4904, 9969, 34759, 98, 5, 17777, 31365, 1238, 10382, 3742, 1179, 30854, 93774, 6746, 11591, 191147, 7244, 121137, 9874, 1042, 334, 151152, 40647, 105141, 16934, 162429, 7763, 1098, 3444, 1295, 159, 454...
[ 0.073974609375, 0.023468017578125, 0.1949462890625, 0.07177734375, 0.1728515625, 0.03607177734375, 0.1571044921875, 0.24365234375, 0.2064208984375, 0.19873046875, 0.043212890625, 0.0154266357421875, 0.1844482421875, 0.2001953125, 0.1009521484375, 0.1685791015625, 0.045562744140625, ...
embed
9055317_c1
9055317
fsharp
1
= SqlDataConnection<"Data Source=.;Initial Catalog=myDatabase;Integrated Security=True"> let db = dbSchema.GetDataContext() let groupX = query { for student in db.Student do groupBy student.Age into g select (g.Key, g.Count()) } However, I got compiler error: Error The field, constructor or member 'Count' is not defin...
= SqlDataConnection<"Data Source=.;Initial Catalog=myDatabase;Integrated Security=True"> let db = dbSchema.GetDataContext() let groupX = query { for student in db.Student do groupBy student.Age into g select (g.Key, g.Count()) } However, I got compiler error: Error The field, constructor or member 'Count' is not defin...
[ 0.026123046875, 0.022216796875, -0.0001049041748046875, 0.00494384765625, -0.0084228515625, -0.00160980224609375, -0.00836181640625, -0.010009765625, 0.0181884765625, -0.039794921875, -0.017578125, 0.000560760498046875, 0.033203125, 0.000949859619140625, -0.0216064453125, -0.0014953613...
[ 2203, 159, 99247, 137989, 235603, 1830, 77641, 150917, 1176, 37382, 67, 71867, 48748, 2633, 40041, 25452, 11883, 126, 11935, 22829, 21115, 1542, 41, 1294, 9836, 239825, 75358, 284, 429, 3934, 706, 36849, 177, 162429, 108210, 9969, 34759, 1849...
[ 0.03668212890625, 0.00537109375, 0.166259765625, 0.1180419921875, 0.13623046875, 0.043975830078125, 0.09967041015625, 0.1400146484375, 0.043304443359375, 0.1143798828125, 0.0231170654296875, 0.014495849609375, 0.1253662109375, 0.040008544921875, 0.11962890625, 0.08526611328125, 0.082...
embed
28036191_c0
28036191
fsharp
0
Title: Type mismatch error in F# Problem title: Type mismatch error in F# Tags: functional-programming, function, f%23-3.0, f%23, f%23-interactive Problem: Type mismatch error in F# The script below should compute the first prime factor of a number. however, it throws an error on line 10, char 28 that ~vs7F27.fsx(10,28...
Type mismatch error in F# Type mismatch error in F# functional-programming function f%23-3.0 f%23 f%23-interactive Type vs7F27.fsx FS0001 Expecting int64 x-1L List.head List.length List.tail Type mismatch error in F# The script below should compute the first prime factor of a number. however, it throws an error on line...
[ 0.0026092529296875, 0.0291748046875, 0.01556396484375, -0.0035552978515625, 0.002288818359375, -0.021240234375, 0.00506591796875, -0.00872802734375, 0.0045166015625, -0.00982666015625, 0.0084228515625, 0.0038604736328125, 0.0213623046875, -0.0194091796875, 0.01409912109375, 0.003524780...
[ 60457, 1239, 98753, 18499, 563, 4904, 123309, 28966, 32354, 1238, 167218, 27495, 132265, 3742, 10433, 71232, 20209, 966, 919, 3768, 17447, 425, 93774, 188735, 60075, 24762, 23, 18, 13307, 1022, 5759, 866, 32036, 31251, 5, 46741, 26499, 35064,...
[ 0.2337646484375, 0.1253662109375, 0.2802734375, 0.185546875, 0.1395263671875, 0.231201171875, 0.13720703125, 0.06817626953125, 0.097412109375, 0.09375, 0.003997802734375, 0.1212158203125, 0.1365966796875, 0.077880859375, 0.056549072265625, 0.04156494140625, 0.07244873046875, 0.0229...
embed
39233728_c1
39233728
fsharp
1
unary function is %d" test_result | ?: BinaryFunction as b -> let test_result = b.Invoke 315 42 sprintf "the result of the binary function is %d" test_result | ?: BooleanFunction as o -> let test_result = o.Invoke 315 42 if test_result then "yeah" else "nope" | _ -> "invalid function type" The problem with these examp...
unary function is %d" test_result | ?: BinaryFunction as b -> let test_result = b.Invoke 315 42 sprintf "the result of the binary function is %d" test_result | ?: BooleanFunction as o -> let test_result = o.Invoke 315 42 if test_result then "yeah" else "nope" | _ -> "invalid function type" The problem with these examp...
[ -0.0164794921875, -0.00433349609375, 0.0157470703125, -0.00531005859375, -0.019287109375, -0.0014190673828125, -0.00323486328125, -0.00921630859375, 0.0152587890625, 0.029052734375, -0.00848388671875, -0.0017852783203125, -0.005889892578125, 0.017578125, 0.01507568359375, -0.0040283203...
[ 220, 1294, 32354, 83, 1745, 71, 3034, 2109, 7136, 54092, 97249, 10763, 237, 876, 2633, 23253, 130663, 4828, 145320, 420, 16750, 2394, 6635, 73783, 34677, 36, 1033, 1366, 157, 1081, 7013, 10644, 2967, 27781, 102329, 111, 153, 1221, 14858, ...
[ 0.167236328125, 0.186279296875, 0.170166015625, 0.0570068359375, 0.037872314453125, 0.03570556640625, 0.12060546875, 0.0545654296875, 0.0909423828125, 0.1837158203125, 0.1473388671875, 0.09423828125, 0.06036376953125, 0.08807373046875, 0.02044677734375, 0.1341552734375, 0.13269042968...
embed
23848238_c0
23848238
fsharp
0
Title: How to initialize a struct with both a mutable and an immutable field? Problem title: How to initialize a struct with both a mutable and an immutable field? Tags: c%23-to-f%23, f%23 Problem: How to initialize a struct with both a mutable and an immutable field? All the examples of structs I've read thus far are ...
How to initialize a struct with both a mutable and an immutable field? How to initialize a struct with both a mutable and an immutable field? c%23-to-f%23 f%23 How Struct Number x:int this.X Numbers Y:int How to initialize a struct with both a mutable and an immutable field? All the examples of structs I've read thus f...
[ 0.01031494140625, 0.006072998046875, -0.00128936767578125, -0.0135498046875, 0.02099609375, 0.02197265625, 0.02490234375, -0.007598876953125, 0.03125, 0.0269775390625, 0.01165771484375, 0.00787353515625, 0.017333984375, 0.00537109375, 0.00958251953125, -0.0087890625, -0.0108032226562...
[ 11249, 47, 61475, 20650, 36716, 678, 15044, 842, 22819, 136, 566, 561, 44457, 501, 167218, 27495, 188, 420, 3742, 1238, 63667, 15390, 103332, 1022, 12, 4288, 903, 1542, 990, 27781, 12301, 756, 9969, 1340, 5885, 3714, 3642, 33022, 143726, ...
[ 0.09783935546875, 0.0279083251953125, 0.2322998046875, 0.14794921875, 0.274658203125, 0.1102294921875, 0.1153564453125, 0.17626953125, 0.2012939453125, 0.10162353515625, 0.09283447265625, 0.149169921875, 0.228759765625, 0.02947998046875, 0.036895751953125, 0.164306640625, 0.183715820...
embed