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
28725791_c1
28725791
fsharp
1
guess I'm looking to be pointed in the right direction, then I could figure it out on my own. But it is all looking a little Greek to me right now. This blog , might be something I could use, but it is pretty old (2008), so there might be better ways to go about it now. Update So, the input that I will receive from th...
guess I'm looking to be pointed in the right direction, then I could figure it out on my own. But it is all looking a little Greek to me right now. This blog , might be something I could use, but it is pretty old (2008), so there might be better ways to go about it now. Update So, the input that I will receive from th...
[ 0.0031280517578125, 0.019287109375, 0.00750732421875, 0.001953125, -0.0101318359375, 0.0159912109375, -0.001220703125, -0.0234375, 0.0096435546875, -0.007049560546875, -0.00274658203125, -0.01446533203125, 0.0003376007080078125, -0.00732421875, -0.00836181640625, 0.024658203125, 0.02...
[ 57767, 16487, 6275, 297, 7108, 48225, 5809, 26366, 1810, 10002, 756, 10176, 160600, 5036, 1415, 13648, 4527, 10332, 94834, 11522, 48322, 1672, 28641, 107730, 450, 87, 1221, 53299, 1295, 70, 130250, 186, 9844, 1884, 903, 219, 8079, 46480, 19...
[ 0.1427001953125, 0.1114501953125, 0.1318359375, 0.051605224609375, 0.062286376953125, 0.104736328125, 0.053558349609375, 0.1319580078125, 0.068603515625, 0.119140625, 0.0335693359375, 0.0382080078125, 0.121337890625, 0.032440185546875, 0.046630859375, 0.0574951171875, 0.049072265625,...
embed
10452190_c0
10452190
fsharp
0
Title: Advice on FParsec for handling whitespace Problem title: Advice on FParsec for handling whitespace Tags: f%23, fparsec Problem: Advice on FParsec for handling whitespace I have the following subexpression to parse 'quotes' which have the following format "5.75 @ 5.95" I therefore have this parsec expression to p...
Advice on FParsec for handling whitespace Advice on FParsec for handling whitespace f%23 fparsec Advice FParsec Advice on FParsec for handling whitespace I have the following subexpression to parse 'quotes' which have the following format I therefore have this parsec expression to parse it It works fine.. except when t...
[ 0.00714111328125, 0.0260009765625, -0.00787353515625, 0.01251220703125, -0.0233154296875, 0.010498046875, 0.01904296875, -0.029541015625, -0.0034637451171875, -0.007293701171875, -0.00156402587890625, 0.03759765625, 0.0014190673828125, 0.007232666015625, -0.01318359375, 0.0301513671875...
[ 3145, 20375, 563, 28636, 39797, 45064, 35011, 65421, 1238, 3742, 2500, 25632, 1614, 204629, 366, 184, 68726, 7, 9384, 903, 125195, 43240, 5885, 141037, 214, 32628, 107730, 38310, 748, 4034, 18588, 10941, 137565, 10932, 81887, 131148, 11522, 3...
[ 0.0179901123046875, 0.1224365234375, 0.09716796875, 0.1195068359375, 0.183837890625, 0.1558837890625, 0.1629638671875, 0.257568359375, 0.050567626953125, 0.09326171875, 0.0933837890625, 0.0770263671875, 0.101806640625, 0.169189453125, 0.116943359375, 0.083251953125, 0.2083740234375, ...
embed
11978234_c0
11978234
fsharp
0
Title: Active pattern broken in F# 3.0 Problem title: Active pattern broken in F# 3.0 Tags: f%23, active-pattern, f%23-3.0, visual-studio-2012 Problem: Active pattern broken in F# 3.0 This active pattern compiles with F# 2.0: let (|Value|_|) value = // 'a -> 'T option match box value with | :? 'T as x -> Some x | _ -> ...
Active pattern broken in F# 3.0 Active pattern broken in F# 3.0 f%23 active-pattern f%23-3.0 visual-studio-2012 Active Value Some None visual-studio-2012 Active pattern broken in F# 3.0 This active pattern compiles with F# 2.0: but, in F# 3.0, emits the error: I tried: and: How can it be fixed? Environments: Visual Stu...
[ -0.00653076171875, 0.012451171875, 0.002288818359375, 0.00958251953125, -0.0224609375, 0.0017242431640625, -0.01177978515625, 0.00830078125, 0.00151824951171875, 0.01287841796875, 0.0213623046875, 0.0013427734375, -0.003265380859375, 0.0004138946533203125, 0.0267333984375, 0.0077209472...
[ 88441, 103510, 148431, 23, 563, 4904, 17596, 1238, 3949, 3742, 36457, 4453, 22766, 27495, 132265, 21176, 52629, 54458, 190060, 31384, 438, 3293, 9969, 1340, 7, 678, 16655, 1284, 53225, 70, 18499, 87, 37842, 136, 11249, 831, 186, 188347, 686...
[ 0.20703125, 0.262451171875, 0.1473388671875, 0.0518798828125, 0.129150390625, 0.15283203125, 0.24560546875, 0.0830078125, 0.0341796875, 0.1156005859375, 0.1943359375, 0.150390625, 0.07977294921875, 0.0218353271484375, 0.1783447265625, 0.16015625, 0.14453125, 0.1572265625, 0.17419...
embed
46000960_c0
46000960
fsharp
0
Title: Function Definition Containing unit F# Problem title: Function Definition Containing unit F# Tags: f%23, function Problem: Function Definition Containing unit F# I'm new to f# programming, and I am defining a few helper functions to be used. Here are two of them: let GetPieceAt piece playerType file rank = { pie...
Function Definition Containing unit F# Function Definition Containing unit F# f%23 function Definition Containing GetPieceAt GetPieceOnRank Function Definition Containing unit F# I'm new to f# programming, and I am defining a few helper functions to be used. Here are two of them: The first function is of the correct ty...
[ 0.0247802734375, 0.0034637451171875, 0.0019683837890625, -0.0042724609375, -0.01300048828125, -0.0142822265625, -0.0010528564453125, -0.004913330078125, 0.00689697265625, -0.017822265625, -0.00848388671875, 0.0228271484375, -0.00640869140625, 0.014404296875, 0.007232666015625, 0.015075...
[ 28670, 10763, 155455, 34749, 14653, 25072, 563, 4904, 1238, 3949, 3742, 32354, 20779, 111242, 329, 28848, 20320, 126525, 92, 3525, 56037, 13204, 4358, 56, 11814, 6626, 5117, 26785, 10644, 63847, 58585, 196707, 11435, 30648, 10374, 17932, 40, ...
[ 0.1944580078125, 0.0865478515625, 0.1650390625, 0.1519775390625, 0.058746337890625, 0.248291015625, 0.1175537109375, 0.2000732421875, 0.0947265625, 0.07745361328125, 0.1766357421875, 0.19384765625, 0.1011962890625, 0.1497802734375, 0.09375, 0.18359375, 0.177490234375, 0.18908691406...
embed
41288217_c1
41288217
fsharp
1
esaryFoodIntake <- animalWeight * FoodIntake end type Carnivore (name:string, animalWeight:float, maxSpeed:float) = class inherit Animal (name, animalWeight, maxSpeed) override this.FoodIntake = 0.08 end type Herbivore (name:string, animalWeight:float, maxSpeed:float) = class inherit Animal (name, animalWeight, maxSpee...
esaryFoodIntake <- animalWeight * FoodIntake end type Carnivore (name:string, animalWeight:float, maxSpeed:float) = class inherit Animal (name, animalWeight, maxSpeed) override this.FoodIntake = 0.08 end type Herbivore (name:string, animalWeight:float, maxSpeed:float) = class inherit Animal (name, animalWeight, maxSpee...
[ 0.007049560546875, 0.000743865966796875, -0.0036773681640625, 0.0255126953125, 0.01239013671875, 0.009521484375, 0.01904296875, 0.0008392333984375, -0.00421142578125, -0.0107421875, -0.002166748046875, -0.0062255859375, -0.0093994140625, 0.0020294189453125, 0.018798828125, 0.0000051558...
[ 198, 6635, 204246, 4153, 78219, 4426, 26249, 12137, 22553, 34562, 3564, 10644, 3980, 93, 104297, 11627, 91693, 52347, 18389, 223360, 18507, 23, 3334, 82821, 645, 416, 2203, 89678, 1019, 1840, 964, 121254, 2967, 903, 375, 5974, 18499, 26008, ...
[ 0.097412109375, 0.1949462890625, 0.2001953125, 0.165283203125, 0.22607421875, 0.095703125, 0.1732177734375, 0.12158203125, 0.12841796875, 0.18896484375, 0.119384765625, 0.129638671875, 0.09881591796875, 0.08837890625, 0.1900634765625, 0.075927734375, 0.1663818359375, 0.109252929687...
embed
22719569_c0
22719569
fsharp
0
Title: How do I register an Arbitrary instance in FsCheck and have xUnit use it? Problem title: How do I register an Arbitrary instance in FsCheck and have xUnit use it? Tags: xunit, fscheck, f%23 Problem: How do I register an Arbitrary instance in FsCheck and have xUnit use it? I've got a type Average with a field cou...
How do I register an Arbitrary instance in FsCheck and have xUnit use it? How do I register an Arbitrary instance in FsCheck and have xUnit use it? xunit fscheck f%23 How Arbitrary FsCheck Average int64 AverageGen Gen.map2 Arb.Default.NormalFloat Generator Arb.Default.PositiveInt Arb.fromGen Property average_test av:Av...
[ 0.0113525390625, -0.006683349609375, -0.0091552734375, -0.01177978515625, -0.0147705078125, 0.020751953125, 0.00567626953125, -0.0274658203125, 0.0103759765625, -0.0179443359375, 0.0057373046875, 0.01458740234375, 0.0108642578125, -0.00185394287109375, 0.006103515625, -0.00933837890625...
[ 11249, 68067, 242522, 1294, 110527, 563, 7, 202567, 1022, 85600, 18, 4527, 442, 10438, 6773, 1238, 78292, 3742, 40168, 29838, 13307, 105376, 15937, 62346, 304, 1172, 187423, 11, 365, 222518, 206984, 83080, 6954, 185, 814, 10644, 44457, 54529,...
[ 0.0169677734375, 0.214111328125, 0.18212890625, 0.123779296875, 0.196044921875, 0.10308837890625, 0.07861328125, 0.26953125, 0.0860595703125, 0.156982421875, 0.0726318359375, 0.0914306640625, 0.01171875, 0.0261993408203125, 0.1212158203125, 0.0643310546875, 0.20556640625, 0.0999755...
embed
20947175_c0
20947175
fsharp
0
Title: Import F# block of code into C# application Problem title: Import F# block of code into C# application Tags: f%23, c%23 Problem: Import F# block of code into C# application I was looking for solution to import F# block of code into C# application (in order to gain calculation speed of some operations I have). Th...
Import F# block of code into C# application Import F# block of code into C# application f%23 c%23 buttonCalcVars_Click EventArgs CallFSharpFunction Import F# block of code into C# application I was looking for solution to import F# block of code into C# application (in order to gain calculation speed of some operations...
[ 0.007720947265625, 0.017333984375, 0.003265380859375, -0.00830078125, 0.0150146484375, 0.005615234375, 0.015380859375, -0.005035400390625, 0.0108642578125, -0.046142578125, 0.014892578125, -0.01129150390625, -0.004425048828125, 0.0052490234375, 0.0033111572265625, -0.003997802734375, ...
[ 92966, 563, 4904, 46389, 111, 18151, 3934, 313, 38415, 1238, 3742, 77679, 94553, 81827, 181671, 36943, 7614, 9405, 26265, 36381, 3467, 254, 97249, 16487, 29806, 24927, 21647, 74481, 38352, 41018, 765, 20600, 93774, 88684, 50886, 47, 23, 16265...
[ 0.2147216796875, 0.1519775390625, 0.2489013671875, 0.17919921875, 0.0762939453125, 0.1898193359375, 0.142578125, 0.0711669921875, 0.166259765625, 0.0706787109375, 0.08837890625, 0.1365966796875, 0.0704345703125, 0.1414794921875, 0.1431884765625, 0.10302734375, 0.039947509765625, 0....
embed
33445996_c0
33445996
fsharp
0
Title: Calling a dll created in VB6 from F# Problem title: Calling a dll created in VB6 from F# Tags: interop, f%23, f%23-3.0 Problem: Calling a dll created in VB6 from F# I am trying to call a dll file created in vb6 from F#. I have written the following dll. Public Function AddTwoNumbers(ByVal a As Integer, ByVal b A...
Calling a dll created in VB6 from F# Calling a dll created in VB6 from F# interop f%23 f%23-3.0 F# Calling VB6 AddTwoNumbers ByVal Integer End System.Runtime.InteropServices InteropWithNative DllImport CallingConvention CallingConvention.Cdecl InteropWithNative.AddTwoNumbers AddTwoNumbers_ Calling a dll created in VB6 ...
[ 0.006683349609375, 0.0086669921875, 0.00020694732666015625, 0.01239013671875, 0.009033203125, 0.01300048828125, -0.018798828125, -0.00433349609375, 0.002655029296875, -0.03076171875, 0.0128173828125, -0.01708984375, -0.0050048828125, -0.00107574462890625, 0.0181884765625, -0.025390625,...
[ 26265, 214, 81717, 75935, 23, 75034, 910, 1295, 563, 4904, 1940, 2146, 1238, 3742, 27495, 132265, 29117, 618, 3613, 18444, 26278, 3311, 42272, 44401, 18878, 12353, 6032, 44851, 121979, 5337, 194583, 4645, 4935, 391, 1181, 61637, 6982, 11935, ...
[ 0.198486328125, 0.05194091796875, 0.242431640625, 0.12744140625, 0.048431396484375, 0.2161865234375, 0.2039794921875, 0.1182861328125, 0.1251220703125, 0.215576171875, 0.1041259765625, 0.1817626953125, 0.05316162109375, 0.09197998046875, 0.061920166015625, 0.12841796875, 0.1165771484...
embed
55693931_c0
55693931
fsharp
0
Title: Why does Async.Start seemingly propagate uncatchable exceptions? Problem title: Why does Async.Start seemingly propagate uncatchable exceptions? Tags: f%23, async-await, exception, asynchronous Problem: Why does Async.Start seemingly propagate uncatchable exceptions? Consider this console app: let throwAsync = a...
Why does Async.Start seemingly propagate uncatchable exceptions? Why does Async.Start seemingly propagate uncatchable exceptions? f%23 async-await exception asynchronous Why Async.Start EntryPoint Failed System.Console.Read Why does Async.Start seemingly propagate uncatchable exceptions? Consider this console app: The ...
[ 0.0101318359375, 0.019287109375, 0.000949859619140625, -0.01080322265625, -0.01080322265625, -0.0098876953125, 0.015380859375, -0.006622314453125, -0.00146484375, 0.00360107421875, -0.01507568359375, 0.00714111328125, -0.00023174285888671875, 0.021728515625, 0.037109375, -0.01635742187...
[ 44084, 62, 12654, 238, 5, 126597, 48903, 175648, 67, 51, 4460, 206, 2886, 131527, 7, 1238, 3742, 10, 7978, 217, 101966, 15123, 147534, 190355, 297, 12353, 40777, 31345, 137399, 130250, 4027, 150631, 90, 109312, 3229, 11675, 18, 10422, 6626,...
[ 0.103759765625, 0.0880126953125, 0.2388916015625, 0.1673583984375, 0.04052734375, 0.22607421875, 0.07196044921875, 0.1915283203125, 0.0457763671875, 0.0938720703125, 0.140869140625, 0.1048583984375, 0.1427001953125, 0.2369384765625, 0.003448486328125, 0.030975341796875, 0.12036132812...
embed
30240945_c1
30240945
fsharp
1
Fold (folders: 'T line list) (jj: 'T seq) = for j in jj do folders |> List.iter (fun o -> o.incr j) folders |> List.iter (fun o -> o.cb) The problem with this is that it wants to generic line based on both 'T and 'State , and that means that the two lines I've shown above are incompatible with each other, even though n...
Fold (folders: 'T line list) (jj: 'T seq) = for j in jj do folders |> List.iter (fun o -> o.incr j) folders |> List.iter (fun o -> o.cb) The problem with this is that it wants to generic line based on both 'T and 'State , and that means that the two lines I've shown above are incompatible with each other, even though n...
[ -0.022216796875, 0.017578125, -0.0035400390625, 0.0191650390625, 0.00677490234375, 0.003814697265625, -0.00836181640625, 0.015869140625, 0.01422119140625, -0.00445556640625, -0.01422119140625, 0.002166748046875, 0.0030059814453125, 0.025146484375, -0.01171875, -0.01544189453125, -0.0...
[ 30077, 71, 42822, 1314, 618, 13315, 5303, 69136, 40, 864, 100, 1647, 54, 78303, 32036, 16840, 16498, 36, 33079, 42, 275, 2967, 903, 442, 86171, 47, 189534, 35509, 15044, 136, 135206, 6626, 124519, 127887, 82940, 1888, 2661, 678, 12638, 37...
[ 0.2152099609375, 0.1480712890625, 0.1424560546875, 0.083984375, 0.145751953125, 0.184326171875, 0.184814453125, 0.21435546875, 0.0946044921875, 0.176025390625, 0.06689453125, 0.149658203125, 0.0816650390625, 0.17431640625, 0.146484375, 0.154541015625, 0.1392822265625, 0.11657714843...
embed
79114985_c0
79114985
fsharp
0
Title: F# compiler signatures Problem title: F# compiler signatures Tags: f%23 Problem: F# compiler signatures Question about the signatures of delay1 and delay2 functions delay1: (unit -> 'a) -> unit -> 'a delay2: (unit -> 'a) -> (unit -> 'a) of the below snippet. The functions seem to output the same thing (a functio...
F# compiler signatures F# compiler signatures f%23 delay1 delay2 ToDelete delayedResult1 Some delayedResult2 F# compiler signatures Question about the signatures of delay1 and delay2 functions delay1: (unit -> 'a) -> unit -> 'a delay2: (unit -> 'a) -> (unit -> 'a) of the below snippet. The functions seem to output the ...
[ 0.0181884765625, -0.01129150390625, -0.004791259765625, 0.000537872314453125, -0.004241943359375, -0.004180908203125, 0.007232666015625, -0.005126953125, 0.013916015625, -0.00836181640625, -0.00335693359375, 0.01190185546875, -0.0166015625, 0.012451171875, 0.0205078125, 0.0042724609375...
[ 563, 4904, 9969, 34759, 138256, 1238, 3949, 3742, 8, 5259, 418, 304, 717, 4657, 46485, 297, 7, 7136, 31384, 136, 32354, 82825, 309, 217, 33079, 242, 11, 25072, 12, 35064, 48903, 140992, 5701, 13580, 450, 22288, 188, 25, 1284, 5117, 1375...
[ 0.1121826171875, 0.19921875, 0.1151123046875, 0.11376953125, 0.2288818359375, 0.0921630859375, 0.0089111328125, 0.1298828125, 0.1728515625, 0.2386474609375, 0.11962890625, 0.202392578125, 0.06097412109375, 0.061767578125, 0.146484375, 0.044097900390625, 0.06915283203125, 0.11706542...
embed
52434425_c0
52434425
fsharp
0
Title: Break the iteration and got the values and states? Problem title: Break the iteration and got the values and states? Tags: f%23 Problem: Break the iteration and got the values and states? I need to call a function on each item in the list; and quit immediately if the function returns -1. I need to return the sum...
Break the iteration and got the values and states? Break the iteration and got the values and states? f%23 hasError Break calc1 Seq.map Error Calc Seq.sum Done Break the iteration and got the values and states? I need to call a function on each item in the list; and quit immediately if the function returns -1. I need t...
[ -0.000576019287109375, -0.006256103515625, -0.0101318359375, -0.01043701171875, -0.0028839111328125, -0.0036773681640625, -0.0091552734375, -0.01495361328125, 0.003997802734375, -0.0159912109375, 0.017578125, 0.0157470703125, -0.00098419189453125, 0.00799560546875, 0.01708984375, 0.006...
[ 131904, 70, 17, 720, 2320, 136, 4163, 142424, 117249, 1238, 3949, 3742, 1556, 18468, 31611, 6510, 238, 418, 503, 864, 62346, 212059, 9113, 11832, 984, 86, 3871, 11782, 32354, 12638, 35735, 5303, 569, 18, 109312, 2174, 30646, 68940, 10554, ...
[ 0.211669921875, 0.104736328125, 0.0736083984375, 0.253662109375, 0.1209716796875, 0.118408203125, 0.117431640625, 0.22216796875, 0.19140625, 0.07513427734375, 0.02996826171875, 0.1500244140625, 0.050018310546875, 0.1158447265625, 0.194580078125, 0.1185302734375, 0.0777587890625, 0....
embed
24398475_c0
24398475
fsharp
0
Title: error FS0001: The type &#x27;int&#x27; does not match the type &#x27;float&#x27; Problem title: error FS0001: The type &#x27;int&#x27; does not match the type &#x27;float&#x27; Tags: f%23 Problem: error FS0001: The type 'int' does not match the type 'float' I have a simple temperature converter class that I am t...
error FS0001: The type &#x27;int&#x27; does not match the type &#x27;float&#x27; error FS0001: The type &#x27;int&#x27; does not match the type &#x27;float&#x27; f%23 FS0001 System Converter this.FtoC this.CtoF conv.FtoC conv.CtoF prog.fs FS0043 error FS0001: The type 'int' does not match the type 'float' I have a simp...
[ 0.016845703125, 0.01043701171875, 0.01220703125, -0.01153564453125, -0.000446319580078125, -0.0250244140625, -0.0093994140625, -0.0167236328125, -0.007415771484375, 0.026611328125, -0.007171630859375, 0.00506591796875, 0.02099609375, 0.0250244140625, 0.010498046875, -0.01318359375, -...
[ 18499, 93774, 188735, 10644, 3768, 4288, 14602, 959, 14858, 70, 52347, 257, 74, 3742, 12353, 219264, 903, 188, 441, 919, 158, 334, 67973, 17447, 135401, 363, 25, 8781, 52768, 172127, 18507, 31577, 4488, 25632, 9969, 1340, 132283, 2831, 111,...
[ 0.1517333984375, 0.1495361328125, 0.24267578125, 0.1859130859375, 0.06195068359375, 0.208984375, 0.025726318359375, 0.1021728515625, 0.16796875, 0.013641357421875, 0.1700439453125, 0.1044921875, 0.0280609130859375, 0.0645751953125, 0.1148681640625, 0.2020263671875, 0.0850830078125, ...
embed
70724008_c0
70724008
fsharp
0
Title: Function that returns another function executes the body of outer function on every call of the returned function Problem title: Function that returns another function executes the body of outer function on every call of the returned function Tags: f%23 Problem: Function that returns another function executes th...
Function that returns another function executes the body of outer function on every call of the returned function Function that returns another function executes the body of outer function on every call of the returned function f%23 Function that returns another function executes the body of outer function on every cal...
[ 0.015869140625, 0.0034637451171875, 0.01263427734375, 0.0035858154296875, 0.01519775390625, 0.0223388671875, 0.02099609375, 0.00372314453125, 0.0047607421875, -0.0177001953125, 0.00141143798828125, 0.00927734375, -0.0206298828125, -0.00122833251953125, 0.029052734375, 0.00811767578125,...
[ 28670, 10763, 450, 30646, 15700, 32354, 71924, 90, 14361, 1810, 56, 11907, 11782, 176377, 70, 1238, 3949, 3742, 111, 83, 89829, 563, 4904, 41206, 28412, 418, 4734, 3229, 68557, 106, 47, 53, 420, 24145, 48903, 98, 965, 532, 2886, 21543, ...
[ 0.151611328125, 0.04254150390625, 0.02081298828125, 0.18505859375, 0.1214599609375, 0.200927734375, 0.1951904296875, 0.00341796875, 0.209716796875, 0.16064453125, 0.1495361328125, 0.129150390625, 0.1800537109375, 0.1773681640625, 0.00921630859375, 0.1480712890625, 0.0814208984375, ...
embed
54806205_c0
54806205
fsharp
0
Title: How to make Azure function with return attribute in f#? Problem title: How to make Azure function with return attribute in f#? Tags: servicebus, attributes, azure-functions, f%23 Problem: How to make Azure function with return attribute in f#? I'm writing an azure function in F#, which is supposed to return mult...
How to make Azure function with return attribute in f#? How to make Azure function with return attribute in f#? servicebus attributes azure-functions f%23 How Azure FunctionName ServiceBusOutput ServiceBus Connection ServiceBusConnection HttpTrigger ILogger log.LogInformation input.Text How to make Azure function with ...
[ 0.00506591796875, 0.00173187255859375, -0.0211181640625, -0.002685546875, -0.004913330078125, 0.0031280517578125, 0.0159912109375, -0.0032806396484375, -0.011962890625, 0.000919342041015625, 0.0016632080078125, 0.01611328125, 0.005126953125, 0.02587890625, 0.0172119140625, -0.011474609...
[ 11249, 3249, 176071, 32354, 678, 30646, 150380, 1238, 4904, 47, 13, 4516, 4223, 295, 3408, 137175, 3742, 28670, 10763, 163612, 12349, 7235, 79858, 62448, 235603, 74257, 21407, 87, 113972, 1505, 12684, 205169, 107730, 174379, 23, 32562, 563, 1...
[ 0.058349609375, 0.080322265625, 0.266845703125, 0.188232421875, 0.083984375, 0.2259521484375, 0.17236328125, 0.10650634765625, 0.170166015625, 0.034454345703125, 0.017913818359375, 0.1470947265625, 0.208984375, 0.10614013671875, 0.18505859375, 0.15087890625, 0.050933837890625, 0.11...
embed
25389777_c0
25389777
fsharp
0
Title: Stack depth of PSeq threads (or of those used by System.Linq.ParallelEnumerable) Problem title: Stack depth of PSeq threads (or of those used by System.Linq.ParallelEnumerable) Tags: linq, .net, f%23 Problem: Stack depth of PSeq threads (or of those used by System.Linq.ParallelEnumerable) I need to run some F# c...
Stack depth of PSeq threads (or of those used by System.Linq.ParallelEnumerable) Stack depth of PSeq threads (or of those used by System.Linq.ParallelEnumerable) linq .net f%23 Stack PSeq System.Linq.ParallelEnumerable Stack depth of PSeq threads (or of those used by System.Linq.ParallelEnumerable) I need to run some F...
[ 0.01422119140625, 0.0361328125, -0.0142822265625, 0.0123291015625, -0.0087890625, -0.007598876953125, -0.0036163330078125, -0.00323486328125, -0.00616455078125, -0.060546875, 0.002227783203125, 0.025634765625, 0.0126953125, 0.0205078125, 0.0167236328125, 0.01458740234375, 0.017700195...
[ 6512, 2594, 168867, 7940, 13, 864, 86997, 11814, 12353, 44982, 55292, 1229, 2606, 56, 2886, 7, 96, 1179, 3742, 3871, 11675, 563, 4904, 18151, 678, 4552, 53894, 177261, 77879, 119598, 53, 49146, 1405, 46741, 85763, 15572, 15032, 11343, 4488,...
[ 0.154296875, 0.1143798828125, 0.2578125, 0.1092529296875, 0.1666259765625, 0.1973876953125, 0.2030029296875, 0.06884765625, 0.1221923828125, 0.16015625, 0.04595947265625, 0.07440185546875, 0.1209716796875, 0.05853271484375, 0.12890625, 0.00103759765625, 0.0252227783203125, 0.104797...
embed
57037414_c1
57037414
fsharp
1
5? Either way I can’t seem to instantiate a SecurityToken at all, the "out var parsedToken" is a SecurityToken type, let alone a byref one to use as an output to this 3rd party library, or I can’t seem to declare a byref SecurityToken directly in the call to JwtSecurityTokenHandler.ValidateToken. If I use the advice po...
5? Either way I can’t seem to instantiate a SecurityToken at all, the "out var parsedToken" is a SecurityToken type, let alone a byref one to use as an output to this 3rd party library, or I can’t seem to declare a byref SecurityToken directly in the call to JwtSecurityTokenHandler.ValidateToken. If I use the advice po...
[ 0.0068359375, 0.0380859375, 0.0001468658447265625, 0.000926971435546875, -0.0189208984375, 0.001129150390625, -0.004730224609375, 0.002166748046875, 0.0062255859375, -0.02783203125, 0.015869140625, 0.0234375, -0.0068359375, 0.000644683837890625, 0.010986328125, 0.019775390625, -0.010...
[ 190, 831, 48903, 34648, 101426, 48748, 7763, 1098, 6056, 285, 366, 5281, 10644, 390, 29087, 4527, 140992, 138, 19085, 35773, 159978, 105237, 11782, 821, 434, 18, 4233, 20287, 135679, 603, 42272, 1683, 67, 70, 67660, 15969, 501, 4904, 102329...
[ 0.1390380859375, 0.0151824951171875, 0.0260162353515625, 0.177978515625, 0.145263671875, 0.16943359375, 0.0933837890625, 0.1705322265625, 0.1405029296875, 0.1820068359375, 0.11572265625, 0.0791015625, 0.177001953125, 0.1334228515625, 0.284912109375, 0.0399169921875, 0.1649169921875, ...
embed
64162144_c0
64162144
fsharp
0
Title: How to get a the ID of a field in a type F# Problem title: How to get a the ID of a field in a type F# Tags: .net, f%23, m Problem: How to get a the ID of a field in a type F# How do I create a function to search on a database and return just the ID of a type? Actually, I have a database, where I can search for ...
How to get a the ID of a field in a type F# How to get a the ID of a field in a type F# .net f%23 m How Types CLIMutable Pair int64 PairName Query GetSingleByName Types.Bird SELECT WHERE Name LIMIT How to get a the ID of a field in a type F# How do I create a function to search on a database and return just the ID of a...
[ -0.006378173828125, -0.00811767578125, -0.0003833770751953125, 0.0296630859375, -0.004302978515625, 0.0205078125, -0.00927734375, -0.0267333984375, 0.00836181640625, -0.05419921875, 0.03515625, 0.00518798828125, -0.0189208984375, -0.0267333984375, 0.015380859375, -0.01409912109375, 0...
[ 11249, 47, 2046, 10, 70, 11338, 111, 44457, 10644, 563, 4904, 23, 1179, 1238, 3742, 347, 60457, 83318, 34, 22819, 1342, 481, 13307, 163612, 58836, 20779, 213039, 75358, 41153, 144832, 15757, 16970, 95409, 28282, 32354, 33938, 63399, 30646, ...
[ 0.060302734375, 0.0232391357421875, 0.1103515625, 0.058837890625, 0.09033203125, 0.220947265625, 0.060791015625, 0.248046875, 0.221923828125, 0.1378173828125, 0.2220458984375, 0.0246734619140625, 0.1226806640625, 0.0249786376953125, 0.07196044921875, 0.03082275390625, 0.202392578125,...
embed
60480416_c0
60480416
fsharp
0
Title: Why a type method that should return a string returns a &#x27;unit -&gt; string&#x27; instead and how to solve it? Problem title: Why a type method that should return a string returns a &#x27;unit -&gt; string&#x27; instead and how to solve it? Tags: methods, string, f%23, class Problem: Why a type method that s...
Why a type method that should return a string returns a &#x27;unit -&gt; string&#x27; instead and how to solve it? Why a type method that should return a string returns a &#x27;unit -&gt; string&#x27; instead and how to solve it? methods string f%23 class Why Mkp this.tX this.n this.v test.tX Why a type method that sho...
[ 0.0027008056640625, 0.018798828125, 0.0152587890625, 0.00433349609375, -0.00176239013671875, -0.01123046875, 0.00049591064453125, 0.01141357421875, 0.007598876953125, -0.0091552734375, -0.00176239013671875, -0.00933837890625, 0.005523681640625, 0.005157470703125, -0.0098876953125, 0.00...
[ 44084, 10644, 55300, 5608, 30646, 79315, 3768, 309, 217, 20, 5386, 64457, 3642, 86869, 54764, 150624, 1238, 3949, 3742, 18507, 276, 92, 254, 903, 18, 1542, 19, 334, 3034, 33079, 8781, 18151, 26366, 61112, 3334, 563, 4904, 9969, 34759, 184...
[ 0.1280517578125, 0.223876953125, 0.17431640625, 0.0733642578125, 0.171875, 0.246337890625, 0.1068115234375, 0.1400146484375, 0.09893798828125, 0.0506591796875, 0.09375, 0.135498046875, 0.009735107421875, 0.1092529296875, 0.008544921875, 0.14208984375, 0.053924560546875, 0.002655029...
embed
3898655_c0
3898655
fsharp
0
Title: Building F# library to be used in C# Problem title: Building F# library to be used in C# Tags: f%23, c%23, visual-studio-2010, dll, mono Problem: Building F# library to be used in C# Let's say I have the following function. let rec fib n = match n with | 1 | 2 -> 1 | n -> fib(n-1) + fib(n-2) How can I compile th...
Building F# library to be used in C# Building F# library to be used in C# f%23 c%23 visual-studio-2010 dll mono System MyMath.Core Building n-1 n-2 Process TestFSharp Main MyMath.Core.Process.fib Console.WriteLine visual-studio-2010 Building F# library to be used in C# Let's say I have the following function. How can I...
[ -0.0052490234375, 0.03271484375, -0.002777099609375, -0.0005340576171875, -0.0042724609375, 0.00138092041015625, -0.00439453125, 0.00732421875, -0.0174560546875, -0.0244140625, -0.004425048828125, 0.0009002685546875, -0.010986328125, 0.01318359375, 0.018798828125, -0.00640869140625, ...
[ 104919, 563, 4904, 35773, 1294, 47, 186, 11814, 23, 313, 1238, 3742, 21176, 52629, 73552, 81717, 22460, 12353, 2646, 199450, 50886, 5759, 5428, 123996, 8647, 3467, 254, 12321, 1029, 275, 40777, 93232, 25632, 32354, 831, 9969, 1340, 903, 181...
[ 0.203125, 0.15380859375, 0.2412109375, 0.2188720703125, 0.1058349609375, 0.040130615234375, 0.033721923828125, 0.1392822265625, 0.09210205078125, 0.07275390625, 0.04827880859375, 0.0672607421875, 0.1326904296875, 0.1507568359375, 0.146240234375, 0.18408203125, 0.1749267578125, 0.04...
embed
34188760_c0
34188760
fsharp
0
Title: Running a function with recursion F# Problem title: Running a function with recursion F# Tags: f%23 Problem: Running a function with recursion F# I am doing something really basic wrong, but I can't, for the life of me, work out what it is... let rec testItSeveralTimes (test, times) = printfn "Iterations to go %...
Running a function with recursion F# Running a function with recursion F# f%23 Running Iterations Running a function with recursion F# I am doing something really basic wrong, but I can't, for the life of me, work out what it is... What I expect is: What I get is: It seems like the function is being evaluated once, at ...
[ -0.001739501953125, 0.005706787109375, 0.01373291015625, 0.0040283203125, 0.00885009765625, -0.000247955322265625, -0.0062255859375, -0.0036468505859375, -0.003662109375, -0.0194091796875, 0.019287109375, 0.000392913818359375, -0.01519775390625, 0.023681640625, 0.044921875, -0.00150299...
[ 28398, 592, 32354, 678, 195625, 1830, 563, 4904, 1238, 3949, 3742, 87, 720, 20594, 9844, 6183, 62822, 44691, 831, 6897, 4488, 2367, 83, 41206, 2046, 37202, 1884, 8035, 151575, 24145, 86595, 7068, 124962, 219, 26783, 145099, 14012, 171859, 1...
[ 0.147216796875, 0.05828857421875, 0.199951171875, 0.1217041015625, 0.256103515625, 0.10345458984375, 0.1512451171875, 0.2056884765625, 0.052459716796875, 0.028656005859375, 0.1331787109375, 0.033233642578125, 0.21337890625, 0.04986572265625, 0.012298583984375, 0.03570556640625, 0.082...
embed
37830382_c1
37830382
fsharp
1
() = id and set(v) = id <- v let userDisplayItems = new ObservableCollection<UserDisplayItem>() let refreshList () = let newItems = userDisplayItems let oldItems = userDisplayItems |> Seq.toList for newItem in newItems do match List.tryFind (fun (itemOfOld: UserDisplayItem) -> itemOfOld.Id = newItem.Id) oldItems with |...
() = id and set(v) = id <- v let userDisplayItems = new ObservableCollection<UserDisplayItem>() let refreshList () = let newItems = userDisplayItems let oldItems = userDisplayItems |> Seq.toList for newItem in newItems do match List.tryFind (fun (itemOfOld: UserDisplayItem) -> itemOfOld.Id = newItem.Id) oldItems with |...
[ -0.0166015625, 0.0380859375, 0.02001953125, 0.01043701171875, 0.0059814453125, -0.0042724609375, -0.01373291015625, 0.0123291015625, 0.0234375, 0.00189971923828125, 0.00909423828125, 0.0262451171875, 0.0118408203125, 0.00885009765625, 0.01220703125, 0.01025390625, 0.025146484375, 0...
[ 15, 2203, 3447, 136, 5423, 334, 81, 2633, 38937, 44456, 20706, 2982, 3525, 87652, 2661, 78457, 133, 10763, 1062, 2189, 210651, 154663, 10332, 503, 864, 188, 23, 14858, 32036, 15123, 204582, 16498, 217, 195, 132887, 53774, 53400, 35735, 71, ...
[ 0.003143310546875, 0.045166015625, 0.185546875, 0.0142059326171875, 0.19287109375, 0.207763671875, 0.1661376953125, 0.0845947265625, 0.1719970703125, 0.1107177734375, 0.1748046875, 0.1844482421875, 0.1072998046875, 0.2044677734375, 0.1680908203125, 0.054962158203125, 0.1083984375, ...
embed
23218093_c0
23218093
fsharp
0
Title: Async FromBeginEnd interface Problem title: Async FromBeginEnd interface Tags: asynchronous, f%23 Problem: Async FromBeginEnd interface I have following C# async interface: x.BeginOperation(a:sting, b:string, c:string, d:string, g:string, ?q:string) : IAsyncResult x.EndOperation(result:IAsyncResult) : IEnumerabl...
Async FromBeginEnd interface Async FromBeginEnd interface asynchronous f%23 Async FromBeginEnd x.BeginOperation a:sting b:string c:string d:string g:string q:string IAsyncResult x.EndOperation result:IAsyncResult IEnumerable Async FromBeginEnd interface I have following C# async interface: I would like to use this in m...
[ -0.0081787109375, 0.01055908203125, -0.01092529296875, 0.0135498046875, -0.0184326171875, -0.00836181640625, 0.0081787109375, 0.01513671875, 0.00421142578125, -0.0223388671875, 0.014404296875, 0.0093994140625, 0.0238037109375, -0.006988525390625, -0.0023040771484375, -0.004058837890625...
[ 62, 12654, 238, 28090, 6766, 6820, 152378, 101758, 101966, 1238, 3949, 3742, 1022, 156823, 10, 1916, 876, 91693, 104, 706, 8096, 7, 7136, 16750, 17481, 2606, 56, 25632, 313, 4904, 1884, 4527, 4488, 118664, 2046, 618, 36746, 33636, 181135, ...
[ 0.094970703125, 0.2705078125, 0.1650390625, 0.1666259765625, 0.053070068359375, 0.123046875, 0.2247314453125, 0.2054443359375, 0.1578369140625, 0.0311279296875, 0.0009765625, 0.144775390625, 0.016693115234375, 0.2176513671875, 0.0206756591796875, 0.127197265625, 0.00244140625, 0.09...
embed
40101908_c0
40101908
fsharp
0
Title: How to get SignalR working with Suave? Problem title: How to get SignalR working with Suave? Tags: signalr, suave, f%23 Problem: How to get SignalR working with Suave? Does anyone have an example of how to get SignalR working in Suave? I've created a demo project showing a working Suave server, and working hub p...
How to get SignalR working with Suave? How to get SignalR working with Suave? signalr suave f%23 How SignalR Suave GET Files.resolvePath __SOURCE_DIRECTORY__ test.html OwinApp.ofAppFunc SignalServer.app How to get SignalR working with Suave? Does anyone have an example of how to get SignalR working in Suave? I've creat...
[ -0.01483154296875, 0.0211181640625, -0.003021240234375, -0.01202392578125, -0.00714111328125, -0.006561279296875, -0.00174713134765625, 0.00103759765625, 0.00445556640625, -0.0203857421875, -0.00081634521484375, -0.006683349609375, 0.002899169921875, 0.016845703125, 0.006988525390625, ...
[ 11249, 2046, 144000, 1052, 20697, 678, 45384, 272, 47, 26073, 42, 109829, 1238, 3742, 79794, 42724, 86918, 10519, 76234, 16546, 3034, 180, 9494, 39179, 4390, 97249, 193348, 9007, 27781, 3642, 23, 53397, 13452, 10723, 26708, 502, 50878, 58093,...
[ 0.05206298828125, 0.0924072265625, 0.2177734375, 0.2174072265625, 0.154296875, 0.147705078125, 0.2130126953125, 0.255859375, 0.01092529296875, 0.1697998046875, 0.1546630859375, 0.25830078125, 0.00506591796875, 0.093505859375, 0.0919189453125, 0.13818359375, 0.1033935546875, 0.09594...
embed
65462004_c0
65462004
fsharp
0
Title: Comparing F#&#x27;s list handling to python&#x27;s pandas vectorization Problem title: Comparing F#&#x27;s list handling to python&#x27;s pandas vectorization Tags: pandas, deedle, f%23, python Problem: Comparing F#'s list handling to python's pandas vectorization How does F#'s list handling in Deedle and List.f...
Comparing F#&#x27;s list handling to python&#x27;s pandas vectorization Comparing F#&#x27;s list handling to python&#x27;s pandas vectorization pandas deedle f%23 python Comparing Comparing F#'s list handling to python's pandas vectorization How does F#'s list handling in Deedle and List.fold compare to vectorized hand...
[ 0.00121307373046875, 0.01153564453125, -0.00335693359375, -0.000583648681640625, -0.0027618408203125, -0.0189208984375, 0.0029449462890625, -0.0159912109375, 0.008544921875, 0.010498046875, -0.005615234375, -0.0074462890625, -0.007537841796875, 0.00176239013671875, -0.01434326171875, 0...
[ 113307, 214, 563, 4904, 3768, 5303, 45064, 47, 17198, 50828, 2652, 1124, 173, 18770, 47691, 8, 297, 133, 1238, 14602, 262, 136, 32036, 42822, 69101, 29367, 2053, 160328, 23718, 90825, 135969, 60212, 1379, 44462, 28219, 145581, 21647, 17368, ...
[ 0.13232421875, 0.009033203125, 0.1510009765625, 0.2149658203125, 0.022735595703125, 0.209716796875, 0.175537109375, 0.0443115234375, 0.1107177734375, 0.145751953125, 0.1370849609375, 0.1591796875, 0.13818359375, 0.1470947265625, 0.09814453125, 0.094482421875, 0.187255859375, 0.1737...
embed
3987145_c1
3987145
fsharp
1
5] do for lbmD in [6.;5.;4.;3.;2.5;2.;1.5;1.;0.8;0.6;0.4;0.2] do clean everything simulation setup let result = call CoreLibrary save result to file I mutate values only in the core library not in the for loops. Therefore I would expect that as soon as for loop goes to next cycle or as soon as the end of Array.iter occ...
5] do for lbmD in [6.;5.;4.;3.;2.5;2.;1.5;1.;0.8;0.6;0.4;0.2] do clean everything simulation setup let result = call CoreLibrary save result to file I mutate values only in the core library not in the for loops. Therefore I would expect that as soon as for loop goes to next cycle or as soon as the end of Array.iter occ...
[ -0.01202392578125, -0.004974365234375, -0.0101318359375, 0.024169921875, -0.01556396484375, 0.010986328125, 0.0081787109375, 0.00897216796875, 0.006683349609375, -0.01080322265625, -0.005645751953125, 0.010498046875, 0.00457763671875, 0.0023040771484375, 0.0380859375, -0.01025390625, ...
[ 190, 54, 100, 96, 275, 39, 397, 23, 910, 758, 48413, 42876, 132208, 122887, 121254, 133684, 46622, 26818, 40226, 1363, 169581, 16750, 11782, 31365, 104820, 3701, 53, 30098, 11435, 31158, 13, 142424, 56458, 35773, 1294, 40956, 41206, 33662, ...
[ 0.03564453125, 0.038482666015625, 0.1241455078125, 0.047943115234375, 0.07794189453125, 0.0938720703125, 0.144775390625, 0.0266571044921875, 0.051422119140625, 0.0205078125, 0.1380615234375, 0.1094970703125, 0.103271484375, 0.0810546875, 0.0955810546875, 0.0887451171875, 0.20703125, ...
embed
7479679_c0
7479679
fsharp
0
Title: How can i use a f# function in the interactive window? Problem title: How can i use a f# function in the interactive window? Tags: f%23-interactive, f%23 Problem: How can i use a f# function in the interactive window? How can I execute F# function in the interactive window? If I create a .fsx file and type follo...
How can i use a f# function in the interactive window? How can i use a f# function in the interactive window? f%23-interactive f%23 How System line.LastIndexOf line.Substring endIndex-startIndex-1 Possessed Devils Fyodor Dostoyevsky FS0039 How can i use a f# function in the interactive window? How can I execute F# func...
[ -0.010498046875, 0.002685546875, 0.00927734375, 0.0169677734375, 0.007110595703125, 0.025634765625, -0.006103515625, -0.006622314453125, 0.0011138916015625, -0.0167236328125, -0.001373291015625, 0.0108642578125, -0.009521484375, -0.002899169921875, 0.0299072265625, 0.01226806640625, ...
[ 11249, 831, 17, 4527, 1238, 4904, 32354, 23, 212398, 76896, 10, 27495, 10433, 71232, 3742, 12353, 13315, 2729, 271, 39659, 132887, 96472, 91693, 3564, 17137, 5759, 663, 43576, 5281, 130679, 7, 1410, 173197, 18117, 4922, 93774, 7049, 9323, 7...
[ 0.058349609375, 0.0767822265625, 0.089599609375, 0.138427734375, 0.160888671875, 0.245361328125, 0.193359375, 0.0806884765625, 0.198486328125, 0.1571044921875, 0.0345458984375, 0.09130859375, 0.1295166015625, 0.12109375, 0.1083984375, 0.0899658203125, 0.08978271484375, 0.0596923828...
embed
57091927_c1
57091927
fsharp
1
137.0800", "5. adjusted close": "137.0800", "6. volume": "22726128", "7. dividend amount": "0.0000", "8. split coefficient": "1.0000" } } }""" type TimeSeriesPrices = JsonProvider<AJsonString> let test = TimeSeriesPrices.GetSample().TimeSeriesDaily.``20190717`` https://www.alphavantage.co/query?function=TIME_SERIES_DAI...
137.0800", "5. adjusted close": "137.0800", "6. volume": "22726128", "7. dividend amount": "0.0000", "8. split coefficient": "1.0000" } } }""" type TimeSeriesPrices = JsonProvider<AJsonString> let test = TimeSeriesPrices.GetSample().TimeSeriesDaily.``20190717`` https://www.alphavantage.co/query?function=TIME_SERIES_DAI...
[ -0.0162353515625, 0.0322265625, 0.000827789306640625, 0.021240234375, -0.03271484375, -0.0089111328125, -0.000377655029296875, 0.0240478515625, 0.0033721923828125, 0.0123291015625, -0.00518798828125, 0.025634765625, -0.007659912109375, -0.012939453125, -0.00153350830078125, 0.020263671...
[ 702, 129884, 10253, 758, 126596, 297, 20903, 2681, 21950, 3768, 4046, 81764, 132179, 41170, 37509, 7049, 1019, 65450, 552, 24500, 28568, 10644, 19055, 138724, 33163, 5170, 821, 1681, 177997, 62160, 25582, 71713, 214, 3034, 5464, 33209, 70059, ...
[ 0.1138916015625, 0.1414794921875, 0.2008056640625, 0.035003662109375, 0.1822509765625, 0.0816650390625, 0.1510009765625, 0.0902099609375, 0.1683349609375, 0.06646728515625, 0.04168701171875, 0.0186309814453125, 0.1988525390625, 0.06219482421875, 0.072265625, 0.04644775390625, 0.07812...
embed
60748470_c0
60748470
fsharp
0
Title: F#, Deedle: Generic Frame constrained to type Frame&lt; obj,obj &gt; Problem title: F#, Deedle: Generic Frame constrained to type Frame&lt; obj,obj &gt; Tags: .net, deedle, f%23, functional-programming Problem: F#, Deedle: Generic Frame constrained to type Frame< obj,obj > I have a function that receives an obj ...
F#, Deedle: Generic Frame constrained to type Frame&lt; obj,obj &gt; F#, Deedle: Generic Frame constrained to type Frame&lt; obj,obj &gt; .net deedle f%23 functional-programming Deedle Generic Frame F#, Deedle: Generic Frame constrained to type Frame< obj,obj > I have a function that receives an obj and tries to guess ...
[ 0.0130615234375, 0.0022125244140625, 0.000335693359375, -0.005096435546875, -0.00152587890625, -0.0089111328125, -0.01153564453125, 0.0017547607421875, 0.001251220703125, -0.0093994140625, 0.00017452239990234375, -0.0289306640625, -0.0108642578125, -0.0279541015625, 0.00811767578125, 0...
[ 563, 4904, 262, 297, 133, 88342, 42557, 13, 158, 9297, 122009, 47, 10644, 995, 170, 3522, 5386, 1179, 8, 3742, 123309, 28966, 32354, 53299, 1927, 57767, 2174, 79315, 9844, 37076, 2967, 11, 275, 16093, 3060, 108386, 282, 23, 18, 91693, 2...
[ 0.05108642578125, 0.1278076171875, 0.09326171875, 0.14501953125, 0.14501953125, 0.1451416015625, 0.2030029296875, 0.0828857421875, 0.0849609375, 0.141845703125, 0.1290283203125, 0.04156494140625, 0.150390625, 0.10736083984375, 0.143310546875, 0.0709228515625, 0.0265655517578125, 0....
embed
13095818_c0
13095818
fsharp
0
Title: How do I deploy a web application using F# to Azure Web Site Problem title: How do I deploy a web application using F# to Azure Web Site Tags: asp.net-mvc-4, azure, f%23 Problem: How do I deploy a web application using F# to Azure Web Site When I deploy my web application to an Azure Web Site, I am getting the f...
How do I deploy a web application using F# to Azure Web Site How do I deploy a web application using F# to Azure Web Site asp.net-mvc-4 azure f%23 F# How Azure Web Site asp.net-mvc-4 How do I deploy a web application using F# to Azure Web Site When I deploy my web application to an Azure Web Site, I am getting the foll...
[ -0.0194091796875, 0.01202392578125, -0.01080322265625, -0.0164794921875, -0.009521484375, -0.001190185546875, -0.00933837890625, 0.001800537109375, -0.006378173828125, -0.033935546875, 0.0086669921875, -0.0224609375, 0.01519775390625, 0.0084228515625, 0.015380859375, 0.004425048828125,...
[ 11249, 8, 13158, 53, 1467, 38415, 17368, 563, 4904, 47, 176071, 4002, 20897, 237, 254, 1179, 66357, 11565, 295, 3408, 1238, 3742, 25632, 18499, 191147, 959, 72367, 11435, 707, 89845, 36381, 3467, 5, 50886, 40647, 151152, 99929, 105141, 2181...
[ 0.03826904296875, 0.102783203125, 0.1649169921875, 0.06109619140625, 0.1199951171875, 0.14013671875, 0.03118896484375, 0.137939453125, 0.2159423828125, 0.1175537109375, 0.2379150390625, 0.117919921875, 0.115234375, 0.03466796875, 0.1925048828125, 0.0889892578125, 0.134765625, 0.168...
embed
41371190_c0
41371190
fsharp
0
Title: Type inference on ToString() vs string operator Problem title: Type inference on ToString() vs string operator Tags: type-inference, f%23, generics Problem: Type inference on ToString() vs string operator Note: This question is somewhat related to my previous one , but it actually touches the issue from differen...
Type inference on ToString() vs string operator Type inference on ToString() vs string operator type-inference f%23 generics Type ToString a.ToString Type inference on ToString() vs string operator Note: This question is somewhat related to my previous one , but it actually touches the issue from different perspective ...
[ 0.0159912109375, 0.00146484375, 0.01409912109375, 0.0223388671875, 0.0026702880859375, -0.0244140625, 0.006988525390625, 0.0115966796875, 0.017822265625, -0.02001953125, -0.016845703125, 0.0013427734375, 0.0087890625, -0.006317138671875, 0.0029296875, -0.01239013671875, 0.00273132324...
[ 60457, 53498, 6620, 98, 717, 71713, 214, 132, 20209, 79315, 39933, 10644, 73, 69988, 1238, 3949, 3742, 189534, 10, 7763, 80280, 7704, 39029, 32354, 4527, 135179, 1286, 27650, 29806, 19048, 96760, 25072, 34292, 47, 959, 87607, 158, 9297, 202...
[ 0.2310791015625, 0.2022705078125, 0.08544921875, 0.010589599609375, 0.192138671875, 0.2113037109375, 0.1212158203125, 0.0164031982421875, 0.1368408203125, 0.20751953125, 0.225830078125, 0.1978759765625, 0.023284912109375, 0.156494140625, 0.033111572265625, 0.011444091796875, 0.081176...
embed
9077804_c0
9077804
fsharp
0
Title: Using c# delegates with f# functions Problem title: Using c# delegates with f# functions Tags: c%23-to-f%23, f%23 Problem: Using c# delegates with f# functions I am trying to call a c# function from f# where the c# function takes a function (delegate?) as a parameter and I need this argument to be a f# function....
Using c# delegates with f# functions Using c# delegates with f# functions c%23-to-f%23 f%23 Using function_1 Math.Exp call_func x:double y:double Using c# delegates with f# functions I am trying to call a c# function from f# where the c# function takes a function (delegate?) as a parameter and I need this argument to b...
[ 0.004730224609375, 0.01806640625, -0.0036468505859375, -0.00335693359375, -0.004425048828125, 0.0040283203125, -0.004730224609375, 0.0096435546875, 0.00732421875, -0.029052734375, 0.0057373046875, 0.00732421875, -0.031494140625, 0.008544921875, 0.0234375, -0.00982666015625, -0.008361...
[ 345, 501, 4904, 102329, 90, 678, 1238, 32354, 27495, 188, 420, 3742, 115187, 78804, 19279, 254, 11782, 16498, 1022, 21555, 2661, 113, 31577, 1295, 51776, 8520, 42118, 237, 10, 171859, 3871, 10750, 33209, 238, 10644, 2292, 14783, 18831, 4192...
[ 0.05889892578125, 0.04534912109375, 0.2210693359375, 0.27734375, 0.1298828125, 0.10150146484375, 0.14111328125, 0.1854248046875, 0.1138916015625, 0.0966796875, 0.0914306640625, 0.051544189453125, 0.1300048828125, 0.1170654296875, 0.0960693359375, 0.084716796875, 0.1566162109375, 0....
embed
20449186_c1
20449186
fsharp
1
3, Value=714.33M}; redisBitstamp.Store(last); var allValues = redisBitstamp.GetAll(); allValues.PrintDump(); } } And the result... [ { __type: "CSharpRedis.BitstampLast, CSharpRedis", Id: 1, Timestamp: 1386459953, Value: 714.33 } ] So, what am I missing? Why does it work in C#, and doesn't in F#? EDIT: BitstampLast is ...
3, Value=714.33M}; redisBitstamp.Store(last); var allValues = redisBitstamp.GetAll(); allValues.PrintDump(); } } And the result... [ { __type: "CSharpRedis.BitstampLast, CSharpRedis", Id: 1, Timestamp: 1386459953, Value: 714.33 } ] So, what am I missing? Why does it work in C#, and doesn't in F#? EDIT: BitstampLast is ...
[ 0.00084686279296875, 0.0093994140625, -0.012451171875, -0.006805419921875, 0.01806640625, 0.00811767578125, -0.01544189453125, 0.00872802734375, 0.0062255859375, 0.0068359375, 0.0067138671875, -0.002105712890625, 0.004608154296875, -0.015869140625, 0.00494384765625, 0.007049560546875, ...
[ 138, 190060, 15770, 158406, 363, 594, 4842, 164, 571, 217, 590, 2676, 165248, 19777, 285, 756, 42272, 21049, 724, 126, 43512, 112079, 17726, 16750, 50986, 3467, 254, 80852, 2729, 271, 24799, 106, 19114, 102, 65251, 9185, 132283, 44084, 1460...
[ 0.1187744140625, 0.1746826171875, 0.00811767578125, 0.008026123046875, 0.0499267578125, 0.007171630859375, 0.1380615234375, 0.1658935546875, 0.04583740234375, 0.076904296875, 0.208740234375, 0.19775390625, 0.1611328125, 0.18505859375, 0.0281219482421875, 0.1024169921875, 0.1499023437...
embed
4773042_c0
4773042
fsharp
0
Title: Is there a way to get CommandText after replacing parameter values, programmatically? Problem title: Is there a way to get CommandText after replacing parameter values, programmatically? Tags: database, f%23, c%23, ado.net Problem: Is there a way to get CommandText after replacing parameter values, programmatica...
Is there a way to get CommandText after replacing parameter values, programmatically? Is there a way to get CommandText after replacing parameter values, programmatically? database f%23 c%23 ado.net smsqueue CommandText conn.CreateCommand cmd.CommandText cmd.CommandType CommandType.Text cmd.Parameters.Add ado.net Is th...
[ -0.003936767578125, 0.006683349609375, -0.0211181640625, 0.038818359375, -0.0208740234375, -0.01556396484375, -0.00689697265625, -0.0140380859375, -0.01263427734375, 0.000560760498046875, 0.011474609375, -0.013916015625, -0.02734375, -0.0272216796875, -0.01043701171875, -0.000059843063...
[ 2071, 2685, 10, 3917, 47, 2046, 123573, 174379, 7103, 456, 133266, 214, 171859, 142424, 11720, 18, 71407, 63399, 1238, 3742, 1138, 1179, 22515, 13388, 158, 63784, 10770, 12018, 1827, 71, 196707, 55292, 29089, 4028, 121, 192, 720, 17777, 751...
[ 0.018707275390625, 0.0303802490234375, 0.0262908935546875, 0.0821533203125, 0.03778076171875, 0.1416015625, 0.24267578125, 0.306640625, 0.1353759765625, 0.095458984375, 0.1690673828125, 0.0185546875, 0.2320556640625, 0.1553955078125, 0.1783447265625, 0.057403564453125, 0.07373046875,...
embed
26789443_c0
26789443
fsharp
0
Title: Mapping an array of strings to an array of strings Problem title: Mapping an array of strings to an array of strings Tags: f%23, lambda, arrays Problem: Mapping an array of strings to an array of strings I'm getting this error when I try to compile The operator 'expr.[idx]' has been used on an object of indeterm...
Mapping an array of strings to an array of strings Mapping an array of strings to an array of strings f%23 lambda arrays Mapping Array.map DateTime.Parse Substring IndexOf Everyday Expenses Groceries Food Parsed Single.Parse str.IndexOf Mapping an array of strings to an array of strings I'm getting this error when I tr...
[ -0.01531982421875, -0.005950927734375, -0.005279541015625, 0.021240234375, -0.03173828125, 0.015625, 0.00113677978515625, 0.029541015625, 0.0196533203125, 0.01116943359375, -0.01251220703125, 0.007415771484375, -0.006561279296875, 0.002655029296875, 0.007598876953125, -0.004150390625, ...
[ 911, 26783, 10298, 53, 111, 79315, 7, 47, 142, 1238, 3949, 3742, 21, 6492, 85, 4778, 69253, 62346, 25512, 70059, 28636, 8273, 91693, 31471, 132887, 87769, 5636, 60075, 47754, 14854, 329, 10484, 34562, 2392, 5281, 43609, 184, 7704, 4153, 3...
[ 0.23095703125, 0.1082763671875, 0.197509765625, 0.1385498046875, 0.1136474609375, 0.2705078125, 0.045318603515625, 0.1748046875, 0.018341064453125, 0.0963134765625, 0.07672119140625, 0.18798828125, 0.012176513671875, 0.1514892578125, 0.0958251953125, 0.09869384765625, 0.16943359375, ...
embed
2247774_c0
2247774
fsharp
0
Title: F# How to Count Number of elements in a list that match some criteria? Problem title: F# How to Count Number of elements in a list that match some criteria? Tags: f%23 Problem: F# How to Count Number of elements in a list that match some criteria? I am prototyping how I am going to handle Double.NaN values in an...
F# How to Count Number of elements in a list that match some criteria? F# How to Count Number of elements in a list that match some criteria? f%23 How Count Number System.Random Array.init rnd.NextDouble Double.NaN Array.filter Array.length F# How to Count Number of elements in a list that match some criteria? I am pro...
[ 0.002227783203125, -0.0035552978515625, 0.0037078857421875, -0.00994873046875, 0.01458740234375, -0.0025634765625, 0.0186767578125, -0.00616455078125, 0.0181884765625, 0.007415771484375, -0.00872802734375, -0.0086669921875, 0.000926971435546875, 0.002532958984375, 0.00634765625, -0.031...
[ 563, 4904, 11249, 47, 108210, 103332, 111, 80854, 23, 5303, 450, 14858, 3060, 55738, 11, 1238, 3742, 12353, 126525, 3815, 69253, 2208, 81280, 34, 2661, 107172, 4645, 839, 53, 120337, 23986, 160469, 34831, 142424, 10298, 5117, 29954, 31577, ...
[ 0.160888671875, 0.2120361328125, 0.1007080078125, 0.05853271484375, 0.2333984375, 0.1986083984375, 0.060699462890625, 0.221435546875, 0.08349609375, 0.1961669921875, 0.0662841796875, 0.1787109375, 0.049652099609375, 0.154541015625, 0.08636474609375, 0.08935546875, 0.091796875, 0.09...
embed
2325914_c0
2325914
fsharp
0
Title: Haskell --&gt; F#: Turner&#x27;s Sieve Problem title: Haskell --&gt; F#: Turner&#x27;s Sieve Tags: sieve-algorithm, f%23, haskell Problem: Haskell --> F#: Turner's Sieve I was reading on different sieving algorithms when I stumbled upon a kind of improved version of the Sieve of Eratosthenes called Euler's Sieve...
Haskell --&gt; F#: Turner&#x27;s Sieve Haskell --&gt; F#: Turner&#x27;s Sieve sieve-algorithm f%23 haskell Data.OrdList Haskell Turner Sieve Haskell --> F#: Turner's Sieve I was reading on different sieving algorithms when I stumbled upon a kind of improved version of the Sieve of Eratosthenes called Euler's Sieve. Acc...
[ -0.00634765625, 0.0162353515625, 0.0224609375, -0.001861572265625, -0.01507568359375, -0.010498046875, -0.00762939453125, -0.01153564453125, 0.01092529296875, -0.02197265625, 0.0184326171875, 0.032470703125, 0.00180816650390625, 0.0230712890625, 0.0022735595703125, 0.00579833984375, ...
[ 20625, 142508, 5386, 563, 4904, 41961, 56, 3768, 727, 272, 78, 3134, 100628, 2783, 18337, 1238, 3742, 1556, 11809, 143045, 154663, 25, 7, 16454, 12921, 1329, 6496, 234873, 52295, 11389, 14825, 1952, 2347, 1444, 5177, 603, 8162, 208124, 1615...
[ 0.1634521484375, 0.255615234375, 0.10986328125, 0.1240234375, 0.224365234375, 0.197021484375, 0.157958984375, 0.0567626953125, 0.2054443359375, 0.2313232421875, 0.1796875, 0.2279052734375, 0.111572265625, 0.114990234375, 0.0290679931640625, 0.043243408203125, 0.042266845703125, 0.1...
embed
2328697_c0
2328697
fsharp
0
Title: How To Apply a Function to an Array of float Arrays? Problem title: How To Apply a Function to an Array of float Arrays? Tags: f%23 Problem: How To Apply a Function to an Array of float Arrays? Let's suppose I have n arrays, where n is a variable (some number greater than 2, usually less than 10). Each array has...
How To Apply a Function to an Array of float Arrays? How To Apply a Function to an Array of float Arrays? f%23 How Apply Array Arrays How To Apply a Function to an Array of float Arrays? Let's suppose I have n arrays, where n is a variable (some number greater than 2, usually less than 10). Each array has k elements. I...
[ 0.00848388671875, 0.019775390625, -0.002197265625, 0.013671875, -0.002471923828125, -0.0028228759765625, 0.006439208984375, 0.00421142578125, 0.024658203125, -0.0185546875, 0.00396728515625, 0.0250244140625, -0.0038909912109375, 0.0024871826171875, -0.0034027099609375, -0.006103515625,...
[ 11249, 717, 5659, 538, 28670, 10763, 47, 69253, 53, 111, 21917, 257, 4778, 1238, 3949, 3742, 10, 139124, 765, 653, 10298, 77336, 14012, 117396, 116, 40715, 209, 98423, 472, 80854, 140909, 70541, 57888, 28214, 1884, 192617, 70163, 756, 31577...
[ 0.1044921875, 0.0577392578125, 0.186767578125, 0.15625, 0.194091796875, 0.1552734375, 0.118408203125, 0.1707763671875, 0.124755859375, 0.05780029296875, 0.17919921875, 0.0899658203125, 0.1561279296875, 0.029754638671875, 0.003936767578125, 0.07879638671875, 0.00384521484375, 0.0391...
embed
60809624_c0
60809624
fsharp
0
Title: FSharp.Data: EmbeddedResource option is ignored Problem title: FSharp.Data: EmbeddedResource option is ignored Tags: f%23, f%23-data, fsharp.data.typeproviders Problem: FSharp.Data: EmbeddedResource option is ignored I am using the XML Type Provider with FSharp.Data. I have a line like this: type internal Someth...
FSharp.Data: EmbeddedResource option is ignored FSharp.Data: EmbeddedResource option is ignored f%23 f%23-data fsharp.data.typeproviders DirectoryNotFoundException FSharp.Data EmbeddedResource SomethingFromXML XmlProvider Sample.xml MyLib Path SolutionWithMyLib fsharp.data.typeproviders FSharp.Data: EmbeddedResource op...
[ 0.01544189453125, 0.0211181640625, 0.000743865966796875, 0.006591796875, 0.00439453125, 0.020263671875, 0.01953125, 0.0030670166015625, -0.010009765625, -0.026611328125, 0.0145263671875, -0.00653076171875, 0.0089111328125, 0.015869140625, 0.0032501220703125, 0.0113525390625, 0.009948...
[ 93774, 3467, 254, 137989, 2775, 372, 69819, 4332, 60427, 35829, 124962, 3742, 1238, 10135, 89280, 50986, 93136, 31068, 122116, 27591, 7030, 200905, 168407, 39456, 1193, 7237, 177997, 33209, 131492, 2646, 104820, 108421, 187895, 194583, 31852, 925...
[ 0.099853515625, 0.186279296875, 0.1824951171875, 0.127685546875, 0.0987548828125, 0.2291259765625, 0.1466064453125, 0.07635498046875, 0.1920166015625, 0.151611328125, 0.1494140625, 0.034881591796875, 0.028045654296875, 0.1104736328125, 0.1448974609375, 0.1141357421875, 0.11669921875,...
embed
39979118_c1
39979118
fsharp
1
[] to a known managed provider native type. Now at the moment I'm only working with 2 tables but soon the program is going to be working with multiple tables with different column names so I need this to work regardless of the table it's writing to. table1 and table2 have the same columns. tables 3 and 4 have the same ...
[] to a known managed provider native type. Now at the moment I'm only working with 2 tables but soon the program is going to be working with multiple tables with different column names so I need this to work regardless of the table it's writing to. table1 and table2 have the same columns. tables 3 and 4 have the same ...
[ -0.0113525390625, 0.0074462890625, -0.000614166259765625, 0.0303955078125, -0.0289306640625, 0.0361328125, -0.01483154296875, -0.011474609375, 0.01361083984375, -0.00732421875, 0.0203857421875, -0.005126953125, 0.014892578125, 0.002044677734375, 0.002227783203125, -0.00946044921875, ...
[ 378, 47, 10, 51529, 145755, 81450, 24, 4935, 10644, 3095, 4734, 20697, 116, 23180, 33662, 1528, 48716, 12921, 3365, 316, 123055, 3871, 4488, 211460, 32562, 418, 304, 5701, 138, 201, 3789, 19667, 19, 137989, 83, 36746, 10298, 53, 70541, 47...
[ 0.0262451171875, 0.135986328125, 0.020111083984375, 0.194580078125, 0.1732177734375, 0.231201171875, 0.138671875, 0.1292724609375, 0.1617431640625, 0.051666259765625, 0.043487548828125, 0.07049560546875, 0.0892333984375, 0.207275390625, 0.052825927734375, 0.1201171875, 0.062194824218...
embed
35098561_c0
35098561
fsharp
0
Title: F# Error and Mergesort Problem title: F# Error and Mergesort Tags: f%23, algorithm, recursion, merge Problem: F# Error and Mergesort I'm writing a mergesort function in F#, but I am receiving this error code and I don't understand why. "error FS0030: Value restriction. The value 'it' has been inferred to have ge...
F# Error and Mergesort F# Error and Mergesort f%23 algorithm recursion merge Error Mergesort x::xs y::ys a::b::cs a::M b::N F# Error and Mergesort I'm writing a mergesort function in F#, but I am receiving this error code and I don't understand why. "error FS0030: Value restriction. The value 'it' has been inferred to ...
[ -0.004486083984375, 0.021728515625, 0.014404296875, -0.029296875, 0.01324462890625, -0.00830078125, -0.0286865234375, -0.0201416015625, 0.00628662109375, -0.0123291015625, 0.000732421875, 0.0118408203125, 0.0260009765625, 0.000652313232421875, 0.0052490234375, -0.01611328125, -0.0173...
[ 563, 4904, 212059, 136, 6035, 429, 62351, 1238, 3949, 3742, 234873, 195625, 42564, 1022, 425, 113, 4778, 10, 275, 4439, 594, 876, 839, 32562, 32354, 217063, 18499, 18151, 28219, 15400, 188800, 93774, 7049, 1197, 190060, 185190, 34292, 217, ...
[ 0.1263427734375, 0.2041015625, 0.20166015625, 0.047027587890625, 0.2166748046875, 0.1578369140625, 0.2493896484375, 0.08892822265625, 0.041015625, 0.1630859375, 0.1451416015625, 0.140625, 0.26708984375, 0.0262451171875, 0.054046630859375, 0.054412841796875, 0.072509765625, 0.010742...
embed
36679353_c1
36679353
fsharp
1
Kraken.com API documentation is awailable here: https://www.kraken.com/help/api I suppose the header signature is incorrect. The docu requires the following two values to be submitted in the header: API-Key = API key API-Sign = Message signature using HMAC-SHA512 of (URI path + SHA256(nonce + POST data)) and base64 de...
Kraken.com API documentation is awailable here: https://www.kraken.com/help/api I suppose the header signature is incorrect. The docu requires the following two values to be submitted in the header: API-Key = API key API-Sign = Message signature using HMAC-SHA512 of (URI path + SHA256(nonce + POST data)) and base64 de...
[ -0.0218505859375, 0.02880859375, -0.0003376007080078125, -0.0296630859375, 0.024658203125, -0.0025482177734375, -0.00201416015625, 0.0093994140625, 0.00604248046875, -0.01446533203125, 0.0279541015625, 0.0032501220703125, 0.00107574462890625, 0.0030364990234375, 0.00090789794921875, -0...
[ 341, 65584, 277, 61687, 209806, 634, 379, 2886, 3688, 92, 73866, 40897, 139124, 10336, 56, 138256, 214552, 54, 1010, 144570, 25632, 6626, 142424, 47, 230121, 9, 162429, 2203, 22799, 218723, 48205, 17368, 46592, 15012, 67619, 758, 1530, 46492,...
[ 0.1318359375, 0.3154296875, 0.1800537109375, 0.2481689453125, 0.2294921875, 0.06231689453125, 0.0151214599609375, 0.011322021484375, 0.021575927734375, 0.09747314453125, 0.0989990234375, 0.1707763671875, 0.0684814453125, 0.1949462890625, 0.158203125, 0.2479248046875, 0.1513671875, ...
embed
28464310_c0
28464310
fsharp
0
Title: dot-notation for DUs prevent nesting Problem title: dot-notation for DUs prevent nesting Tags: f%23 Problem: dot-notation for DUs prevent nesting With these two Discriminated Unions (DUs) : type Premier = |M1 of int type Second = |M2 of Premier I can have these valid lines of code : let p_1 = M1 42 let p_2 = 42 ...
dot-notation for DUs prevent nesting dot-notation for DUs prevent nesting f%23 DUs Premier Second p_1 p_2 p_3 Premier.M1 s_1 s_2 s_3 Second.M2.M1 dot-notation for DUs prevent nesting With these two Discriminated Unions (DUs) : I can have these valid lines of code : But the following nested dot syntax is not accepted (i...
[ -0.006317138671875, 0.00750732421875, -0.0059814453125, -0.00537109375, -0.000728607177734375, -0.017578125, -0.0185546875, -0.0167236328125, 0.007720947265625, -0.033203125, 0.0128173828125, 0.0301513671875, 0.018310546875, -0.001678466796875, 0.0150146484375, -0.01031494140625, 0.0...
[ 20633, 157, 22062, 100, 14614, 7, 56282, 4909, 1916, 1238, 3742, 26521, 77648, 115187, 304, 363, 91, 5442, 418, 6626, 6206, 135421, 3674, 32528, 18431, 831, 35604, 124519, 18151, 4966, 25632, 8512, 71, 6002, 86531, 83, 959, 68186, 60270, ...
[ 0.2509765625, 0.1787109375, 0.080810546875, 0.049285888671875, 0.216552734375, 0.111572265625, 0.2369384765625, 0.1390380859375, 0.0555419921875, 0.03887939453125, 0.1119384765625, 0.1380615234375, 0.204833984375, 0.1339111328125, 0.0196685791015625, 0.05938720703125, 0.0469665527343...
embed
50490122_c1
50490122
fsharp
1
true is added (and also on the server): var request = new XMLHttpRequest(); request.open('GET', url, true); request.onload = function() { if (request.status >= 200 && request.status < 400) { // Success! } } request.onerror = function() { //Error } request.send(); AngularJS: $http.get(url).then(function(response){ // S...
true is added (and also on the server): var request = new XMLHttpRequest(); request.open('GET', url, true); request.onload = function() { if (request.status >= 200 && request.status < 400) { // Success! } } request.onerror = function() { //Error } request.send(); AngularJS: $http.get(url).then(function(response){ // S...
[ -0.000583648681640625, 0.038330078125, -0.00011682510375976562, -0.018310546875, -0.01336669921875, 0.000640869140625, 0.003143310546875, 0.0018157958984375, -0.0032196044921875, -0.00506591796875, 0.00439453125, 0.010009765625, -0.01239013671875, 0.01251220703125, 0.018798828125, 0.00...
[ 29568, 83, 49814, 2940, 2843, 98, 10723, 2077, 285, 50336, 2203, 3525, 92537, 841, 3062, 254, 4332, 75616, 3142, 59636, 79794, 4, 25002, 5, 191, 63033, 32354, 2174, 107, 45215, 977, 1781, 1230, 4426, 4082, 144053, 38, 188800, 18468, 39285...
[ 0.29296875, 0.07012939453125, 0.236572265625, 0.006927490234375, 0.0634765625, 0.10498046875, 0.1900634765625, 0.107421875, 0.23779296875, 0.265380859375, 0.055999755859375, 0.06878662109375, 0.2493896484375, 0.05303955078125, 0.12353515625, 0.10235595703125, 0.11474609375, 0.21630...
embed
37189368_c0
37189368
fsharp
0
Title: How can I establish conditions on test inputs when performing Property-based testing? Problem title: How can I establish conditions on test inputs when performing Property-based testing? Tags: property-based-testing, fscheck, f%23 Problem: How can I establish conditions on test inputs when performing Property-ba...
How can I establish conditions on test inputs when performing Property-based testing? How can I establish conditions on test inputs when performing Property-based testing? property-based-testing fscheck f%23 How Property-based Gen.map Property QuietOnSuccess Arb.generate Arb.fromGen Gen.filter How can I establish condi...
[ -0.0076904296875, 0.0194091796875, -0.0027313232421875, -0.003082275390625, -0.01055908203125, -0.017578125, 0.02099609375, -0.0159912109375, 0.00194549560546875, 0.0093994140625, 0.00811767578125, 0.0120849609375, -0.0267333984375, 0.02001953125, 0.006011962890625, 0.0201416015625, ...
[ 11249, 831, 137633, 27289, 98, 3034, 107730, 7, 51339, 206984, 77007, 134234, 87, 57266, 6954, 214, 1238, 78292, 3742, 15937, 62346, 7644, 126, 20320, 238, 26531, 1172, 275, 48281, 161063, 105376, 120337, 25632, 18151, 139392, 142484, 3229, 3...
[ 0.032806396484375, 0.03643798828125, 0.1641845703125, 0.2467041015625, 0.050567626953125, 0.179931640625, 0.1912841796875, 0.07781982421875, 0.0927734375, 0.20458984375, 0.1494140625, 0.20361328125, 0.03057861328125, 0.168701171875, 0.1785888671875, 0.042449951171875, 0.0072021484375...
embed
27667902_c0
27667902
fsharp
0
Title: FSharp Record Types With Entity Framework Code-First Problem title: FSharp Record Types With Entity Framework Code-First Tags: entity-framework, f%23 Problem: FSharp Record Types With Entity Framework Code-First I am doing a proof of concept in a line of business application where I want to swap out the current ...
FSharp Record Types With Entity Framework Code-First FSharp Record Types With Entity Framework Code-First entity-framework f%23 FSharp Record Types Entity Framework Code-First Family Key Id:int LastName:string IsRegistered:bool Error FSharp Record Types With Entity Framework Code-First I am doing a proof of concept in ...
[ 0.0167236328125, 0.017578125, 0.00799560546875, -0.01397705078125, -0.0003662109375, -0.00286865234375, -0.0166015625, 0.0177001953125, -0.014892578125, -0.040771484375, -0.010009765625, -0.0084228515625, -0.0093994140625, 0.0002422332763671875, 0.015380859375, 0.026611328125, 0.0011...
[ 93774, 3467, 254, 54877, 60457, 17106, 16511, 2481, 202220, 28864, 207263, 77630, 160328, 1238, 3742, 59745, 26824, 24799, 4288, 21672, 163612, 91693, 2071, 54601, 142484, 212059, 10, 98869, 23755, 13315, 8063, 38415, 202317, 1810, 43581, 4904, ...
[ 0.08441162109375, 0.2001953125, 0.1795654296875, 0.2176513671875, 0.2113037109375, 0.1375732421875, 0.1019287109375, 0.05780029296875, 0.1934814453125, 0.1981201171875, 0.173828125, 0.083740234375, 0.091796875, 0.012664794921875, 0.09613037109375, 0.09613037109375, 0.120849609375, ...
embed
51009883_c1
51009883
fsharp
1
adfadf%i" (fun v -> printfn "%i" v; Unchecked.defaultof<Action<unit>> ) // works let parseFn2 = patternTest "adf%s245" (fun v -> printfn "%s" v; Unchecked.defaultof<Action<unit>> ) // ERROR let parseFn3 = patternTest "adfadf%f" (fun v -> printfn "%f" v; Unchecked.defaultof<Action<unit>> ) // works let parseFn4 = patter...
adfadf%i" (fun v -> printfn "%i" v; Unchecked.defaultof<Action<unit>> ) // works let parseFn2 = patternTest "adf%s245" (fun v -> printfn "%s" v; Unchecked.defaultof<Action<unit>> ) // ERROR let parseFn3 = patternTest "adfadf%f" (fun v -> printfn "%f" v; Unchecked.defaultof<Action<unit>> ) // works let parseFn4 = patter...
[ -0.033447265625, 0.0050048828125, -0.011474609375, 0.002105712890625, -0.0019683837890625, 0.005340576171875, -0.0101318359375, 0.00091552734375, 0.0274658203125, 0.0264892578125, 0.0004730224609375, -0.044921875, -0.00469970703125, -0.033447265625, 0.0167236328125, 0.0216064453125, ...
[ 606, 1021, 420, 3949, 16498, 81, 28412, 14783, 14, 992, 78292, 297, 214810, 4390, 284, 10763, 309, 217, 43240, 2633, 366, 184, 919, 19, 304, 103510, 111337, 712, 4633, 151206, 363, 617, 18499, 2046, 16750, 32354, 9384, 79315, 107730, 1064...
[ 0.1044921875, 0.09002685546875, 0.06951904296875, 0.026336669921875, 0.173095703125, 0.177734375, 0.1500244140625, 0.1375732421875, 0.0133056640625, 0.0280914306640625, 0.163330078125, 0.0096435546875, 0.1798095703125, 0.2025146484375, 0.031707763671875, 0.10076904296875, 0.032135009...
embed
66917700_c0
66917700
fsharp
0
Title: Best way to avoid iteration Problem title: Best way to avoid iteration Tags: f%23 Problem: Best way to avoid iteration I have a string testString = "Hello [1], my name is [2]" And I want to replace that so it equals Hello Maria, my name is My. I have a function that takes a string and list of replacements. Then ...
Best way to avoid iteration Best way to avoid iteration f%23 Best Hello Maria replacements.Length result.Replace ToString index-1 Best way to avoid iteration I have a string testString = "Hello [1], my name is [2]" And I want to replace that so it equals Hello Maria, my name is My. I have a function that takes a string...
[ -0.0281982421875, -0.01458740234375, -0.00122833251953125, 0.0185546875, -0.0103759765625, 0.0093994140625, -0.005767822265625, 0.0027008056640625, 0.00946044921875, 0.02099609375, 0.01385498046875, 0.0103759765625, -0.00075531005859375, -0.0098876953125, 0.003997802734375, 0.024658203...
[ 11345, 3917, 47, 71864, 17, 720, 2320, 1238, 3949, 3742, 35378, 5379, 91995, 9035, 449, 16750, 4332, 23935, 717, 71713, 214, 63262, 5759, 79315, 3034, 841, 13817, 17550, 759, 9351, 83, 33579, 3444, 105950, 2646, 32354, 51776, 136, 5303, 8...
[ 0.145263671875, 0.1390380859375, 0.0855712890625, 0.28076171875, 0.1473388671875, 0.290771484375, 0.177978515625, 0.108154296875, 0.036346435546875, 0.145751953125, 0.2423095703125, 0.275634765625, 0.2247314453125, 0.033111572265625, 0.021331787109375, 0.136474609375, 0.0780029296875...
embed
37509149_c0
37509149
fsharp
0
Title: Why do I have only one thread id when using Async.Parallel? Problem title: Why do I have only one thread id when using Async.Parallel? Tags: f%23, asynchronous, multithreading Problem: Why do I have only one thread id when using Async.Parallel? Why do I have only one processor id when using Async.Parallel? Code:...
Why do I have only one thread id when using Async.Parallel? Why do I have only one thread id when using Async.Parallel? f%23 asynchronous multithreading Async.Parallel Why System System.Threading Async.RunSynchronously Seq.iter Processor Value Thread.CurrentThread.ManagedThreadId Why do I have only one thread id when u...
[ -0.006683349609375, 0.00396728515625, -0.0242919921875, -0.00160980224609375, -0.00213623046875, -0.00701904296875, 0.010986328125, 0.00799560546875, -0.013916015625, -0.0341796875, -0.01226806640625, 0.03271484375, 0.00396728515625, 0.00186920166015625, 0.01409912109375, 0.00793457031...
[ 44084, 765, 4734, 1632, 86997, 3447, 17368, 62, 12654, 238, 55292, 1229, 141, 1238, 3742, 101966, 3869, 65847, 11, 12353, 39116, 163321, 217835, 127, 1900, 864, 16840, 170582, 190060, 136719, 474, 12662, 568, 71, 54, 5, 14543, 42, 28864, ...
[ 0.110595703125, 0.0335693359375, 0.152099609375, 0.175537109375, 0.2353515625, 0.213623046875, 0.0780029296875, 0.037261962890625, 0.21826171875, 0.1107177734375, 0.1273193359375, 0.1539306640625, 0.09075927734375, 0.02960205078125, 0.10675048828125, 0.0892333984375, 0.0826416015625,...
embed
34775151_c0
34775151
fsharp
0
Title: Representing a restricted type without using a class Problem title: Representing a restricted type without using a class Tags: f%23, .net, f%23-4.0 Problem: Representing a restricted type without using a class In F# can I represent a restricted type without defining a class? Lets say I want to represent all the ...
Representing a restricted type without using a class Representing a restricted type without using a class f%23 .net f%23-4.0 a Representing PairDivides Exception this.a this.b Representing a restricted type without using a class In F# can I represent a restricted type without defining a class? Lets say I want to repres...
[ -0.0255126953125, 0.0169677734375, -0.003082275390625, -0.01007080078125, -0.002166748046875, 0.007476806640625, -0.0201416015625, -0.00628662109375, 0.00994873046875, -0.00921630859375, 0.0076904296875, 0.0036163330078125, 0.0167236328125, -0.006805419921875, 0.00016880035400390625, -...
[ 853, 55247, 173072, 297, 10644, 15490, 17368, 18507, 1238, 3742, 1179, 27495, 151152, 1342, 481, 192576, 17996, 63928, 903, 11, 275, 563, 4904, 831, 33636, 13204, 3444, 756, 80836, 14012, 5117, 101637, 17932, 313, 5809, 69201, 28282, 110527, ...
[ 0.0828857421875, 0.216064453125, 0.2113037109375, 0.0689697265625, 0.1905517578125, 0.110107421875, 0.080810546875, 0.1846923828125, 0.04888916015625, 0.028656005859375, 0.085205078125, 0.007415771484375, 0.101806640625, 0.122314453125, 0.076904296875, 0.128662109375, 0.1585693359375...
embed
59553728_c0
59553728
fsharp
0
Title: Task cancelled immediately when calling an async function within unit test? Problem title: Task cancelled immediately when calling an async function within unit test? Tags: xunit, f%23 Problem: Task cancelled immediately when calling an async function within unit test? I'm struggling to figure out why my task is...
Task cancelled immediately when calling an async function within unit test? Task cancelled immediately when calling an async function within unit test? xunit f%23 System.Threading.Tasks.TaskCanceledException previous Task Fact Query Test WebGateway.get EventStore.endpoint ApplicantCountFn Can Verify response.Content.Re...
[ 0.0135498046875, 0.020751953125, 0.01031494140625, -0.02294921875, 0.01263427734375, -0.0341796875, 0.031005859375, -0.00885009765625, 0.01220703125, -0.0169677734375, 0.0184326171875, 0.024169921875, -0.0201416015625, -0.00115966796875, 0.02734375, -0.023681640625, 0.00982666015625,...
[ 9598, 92, 53017, 6259, 109312, 159029, 10, 12654, 238, 32354, 28032, 25072, 3034, 10438, 6773, 3742, 12353, 39116, 9874, 1042, 7154, 63928, 96362, 132640, 58836, 8647, 17067, 7514, 36943, 165248, 38496, 5659, 150, 108210, 1446, 57553, 25352, ...
[ 0.1998291015625, 0.0587158203125, 0.19921875, 0.10064697265625, 0.179931640625, 0.1263427734375, 0.052032470703125, 0.2032470703125, 0.080078125, 0.1331787109375, 0.0638427734375, 0.1348876953125, 0.182861328125, 0.054046630859375, 0.126220703125, 0.09991455078125, 0.045928955078125,...
embed
59806952_c1
59806952
fsharp
1
naturally. type Node = { Name: string; ChildNode: Node list; } let newNode (name: string)(childNode: Node list) = {Name=name; ChildNode=childNode;} let tree = newNode "Main" [ newNode "File" [ newNode "Open" []; newNode "Close" []; newNode "Print" [ newNode "Preview" []; newNode "Settings" []; ] ]; newNode "Edit" [ ne...
naturally. type Node = { Name: string; ChildNode: Node list; } let newNode (name: string)(childNode: Node list) = {Name=name; ChildNode=childNode;} let tree = newNode "Main" [ newNode "File" [ newNode "Open" []; newNode "Close" []; newNode "Print" [ newNode "Preview" []; newNode "Settings" []; ] ]; newNode "Edit" [ ne...
[ -0.0111083984375, 0.01300048828125, 0.00653076171875, 0.0208740234375, 0.0164794921875, 0.019775390625, -0.0291748046875, -0.009033203125, 0.008056640625, -0.012451171875, -0.004638671875, -0.01416015625, 0.001708984375, 0.0038604736328125, 0.0203857421875, -0.01287841796875, 0.02233...
[ 6083, 538, 5, 10644, 438, 112, 2203, 15757, 79315, 74, 123829, 5021, 12, 5303, 51912, 2633, 3525, 11627, 51421, 206, 38472, 163612, 8152, 53201, 168793, 174350, 103264, 59453, 112079, 132340, 105548, 125270, 441, 1003, 10625, 6493, 65619, 239...
[ 0.2064208984375, 0.117919921875, 0.042327880859375, 0.26025390625, 0.24609375, 0.2265625, 0.0965576171875, 0.07611083984375, 0.2066650390625, 0.07806396484375, 0.1849365234375, 0.2371826171875, 0.0286102294921875, 0.1646728515625, 0.045501708984375, 0.08026123046875, 0.1536865234375,...
embed
40343727_c0
40343727
fsharp
0
Title: F# Function Addition Problem title: F# Function Addition Tags: math, functional-programming, f%23 Problem: F# Function Addition I want to implement a (simple) mathematical function addition in F#, meaning: Imagine F being the field of all functions, which map an element of A to an element of B : Then, my "functi...
F# Function Addition F# Function Addition math functional-programming f%23 Addition Expexceted F# Function Addition I want to implement a (simple) mathematical function addition in F#, meaning: Imagine F being the field of all functions, which map an element of A to an element of B : Then, my "function addition" should...
[ -0.0081787109375, 0.007537841796875, 0.00146484375, 0.01263427734375, -0.003936767578125, 0.006927490234375, 0.0125732421875, -0.0050048828125, -0.003814697265625, -0.0225830078125, 0.00909423828125, -0.005767822265625, -0.0203857421875, 0.00958251953125, 0.0263671875, -0.0071716308593...
[ 563, 4904, 28670, 10763, 29117, 14, 48909, 123309, 28966, 1238, 3949, 3742, 60075, 3355, 329, 3444, 29479, 191560, 291, 140363, 70760, 32354, 66044, 23, 91084, 133196, 8035, 44457, 111, 756, 3129, 22288, 12830, 62, 47, 335, 759, 137175, 619...
[ 0.187255859375, 0.2431640625, 0.1805419921875, 0.090576171875, 0.1495361328125, 0.124755859375, 0.1142578125, 0.1658935546875, 0.103271484375, 0.119140625, 0.011016845703125, 0.1199951171875, 0.033477783203125, 0.05926513671875, 0.088623046875, 0.0411376953125, 0.1539306640625, 0.1...
embed
21439363_c0
21439363
fsharp
0
Title: F# Windows Forms game loop Problem title: F# Windows Forms game loop Tags: f%23 Problem: F# Windows Forms game loop I want to make game loop in F# but i have problem with that. let rec gameLoop (gamePanel:Panel) = async { (*redraw gemaPanel *) lock gamePanel ( fun() -> let graphics = gamePanel.CreateGraphics(); ...
F# Windows Forms game loop F# Windows Forms game loop f%23 Windows Forms gamePanel:Panel gamePanel.CreateGraphics System.Drawing.Rectangle graphics.DrawEllipse System.Drawing.Pens.Black p:Panel p1:Panel Async.StartAsTask F# Windows Forms game loop I want to make game loop in F# but i have problem with that. If i add as...
[ -0.0089111328125, -0.0002593994140625, -0.01324462890625, -0.02001953125, 0.01611328125, -0.00836181640625, 0.00897216796875, 0.006103515625, -0.0018157958984375, -0.03955078125, 0.01416015625, 0.01544189453125, 0.0189208984375, 0.00933837890625, 0.01336669921875, 0.0050048828125, 0....
[ 563, 4904, 3773, 15236, 7, 6712, 40956, 1238, 3949, 3742, 55956, 583, 63784, 37878, 19379, 12353, 219, 14775, 109217, 48461, 81456, 95680, 13, 76114, 97732, 82825, 12654, 238, 126597, 19659, 9874, 3444, 3249, 23, 2967, 15190, 903, 18, 71924...
[ 0.134765625, 0.2037353515625, 0.162109375, 0.2481689453125, 0.04327392578125, 0.170654296875, 0.254638671875, 0.040740966796875, 0.038421630859375, 0.1192626953125, 0.0775146484375, 0.04754638671875, 0.01300048828125, 0.042144775390625, 0.032257080078125, 0.084228515625, 0.0613403320...
embed
32413701_c0
32413701
fsharp
0
Title: FunScript: How to access TypeScript.Api&lt;...&gt; Problem title: FunScript: How to access TypeScript.Api&lt;...&gt; Tags: f%23, funscript, typescript, type-providers Problem: FunScript: How to access TypeScript.Api<...> I'm getting started with FunScript with a working example. Using Nuget to add the needed lib...
FunScript: How to access TypeScript.Api&lt;...&gt; FunScript: How to access TypeScript.Api&lt;...&gt; f%23 funscript typescript type-providers FunScript How TypeScript.Api FunScript: How to access TypeScript.Api<...> I'm getting started with FunScript with a working example. Using Nuget to add the needed libraries, it ...
[ -0.000476837158203125, 0.0198974609375, 0.009521484375, -0.011962890625, -0.018798828125, -0.0220947265625, 0.0111083984375, -0.0020904541015625, -0.022705078125, -0.029541015625, 0.0145263671875, -0.01611328125, -0.0115966796875, -0.004638671875, 0.0177001953125, 0.00970458984375, 0...
[ 28670, 147845, 11249, 47, 17203, 60457, 5, 284, 1434, 7477, 32032, 10644, 93136, 14202, 26859, 20697, 27781, 1429, 3794, 15190, 44841, 35773, 43240, 5299, 100244, 1210, 1202, 86723, 1126, 4527, 72367, 52895, 80934, 102158, 51, 2886, 7413, 903...
[ 0.1968994140625, 0.279296875, 0.0751953125, 0.0213775634765625, 0.1917724609375, 0.2119140625, 0.052947998046875, 0.1085205078125, 0.229248046875, 0.1483154296875, 0.2181396484375, 0.2176513671875, 0.17236328125, 0.051544189453125, 0.006805419921875, 0.0283050537109375, 0.06018066406...
embed
71344405_c0
71344405
fsharp
0
Title: F# Function Statistics.EmpiricalInvCDF() equivalent in Python Problem title: F# Function Statistics.EmpiricalInvCDF() equivalent in Python Tags: f%23, python, statistics Problem: F# Function Statistics.EmpiricalInvCDF() equivalent in Python I am converting a legacy piece of code from F# to python where the Stati...
F# Function Statistics.EmpiricalInvCDF() equivalent in Python F# Function Statistics.EmpiricalInvCDF() equivalent in Python f%23 python statistics Statistics.EmpiricalInvCDF Python emp_inv F# Function Statistics.EmpiricalInvCDF() equivalent in Python I am converting a legacy piece of code from F# to python where the St...
[ 0.01422119140625, -0.00118255615234375, 0.020751953125, -0.00112152099609375, -0.00982666015625, 0.015625, 0.0031890869140625, 0.016357421875, -0.0133056640625, 0.03857421875, 0.00537109375, -0.001861572265625, 0.004241943359375, 0.01904296875, -0.0002956390380859375, -0.0079345703125,...
[ 563, 4904, 28670, 10763, 126124, 28021, 134332, 481, 21533, 4153, 334, 16069, 919, 132, 183234, 145581, 1238, 3949, 3742, 17198, 50828, 80835, 20244, 73, 23, 96760, 10, 3257, 63847, 18151, 47, 55300, 11814, 63134, 143126, 209806, 2606, 1179, ...
[ 0.1556396484375, 0.2449951171875, 0.135498046875, 0.03656005859375, 0.2059326171875, 0.1082763671875, 0.126708984375, 0.1173095703125, 0.058746337890625, 0.07818603515625, 0.1170654296875, 0.1123046875, 0.17919921875, 0.06097412109375, 0.152587890625, 0.253662109375, 0.078125, 0.06...
embed
7276171_c0
7276171
fsharp
0
Title: Abstracting a loop Problem title: Abstracting a loop Tags: f%23, recursion Problem: Abstracting a loop I find myself writing loops (recursive functions) occasionally within assignments. It makes for awkward code like this: let value = let rec loop a = if ... then a else loop a.B loop a I know I could move the lo...
Abstracting a loop Abstracting a loop f%23 recursion Abstracting a.B Some None Abstracting a loop I find myself writing loops (recursive functions) occasionally within assignments. It makes for awkward code like this: I know I could move the loop outside the let binding, but it's only purpose is to compute the bound va...
[ 0.0098876953125, -0.00179290771484375, 0.0203857421875, 0.0277099609375, 0.009521484375, -0.00445556640625, 0.0033416748046875, 0.01324462890625, 0.01361083984375, -0.0016326904296875, 0.0087890625, 0.01092529296875, -0.031494140625, 0.0169677734375, 0.03173828125, -0.005859375, 0.00...
[ 233973, 40956, 214, 1238, 3949, 3742, 195625, 1830, 10, 571, 31384, 438, 7413, 32562, 7, 107, 48650, 5844, 32354, 46505, 25958, 28032, 95486, 9035, 434, 92, 19364, 18151, 3714, 5809, 25813, 50782, 2633, 128239, 4734, 60042, 9969, 6743, 9909...
[ 0.2330322265625, 0.250244140625, 0.02783203125, 0.0266265869140625, 0.039093017578125, 0.1180419921875, 0.23779296875, 0.0101318359375, 0.009765625, 0.0310516357421875, 0.0009765625, 0.043914794921875, 0.024169921875, 0.12646484375, 0.019744873046875, 0.06781005859375, 0.173095703125...
embed
53175472_c0
53175472
fsharp
0
Title: F# generic struct constructor and error FS0670 Problem title: F# generic struct constructor and error FS0670 Tags: f%23, constructor, struct, generics Problem: F# generic struct constructor and error FS0670 I have found some issues about error FS0670 ( This code is not sufficiently generic. ... ) inside StackOve...
F# generic struct constructor and error FS0670 F# generic struct constructor and error FS0670 f%23 constructor struct generics FS0670 Struct Vector2D get_One get_Zero F# generic struct constructor and error FS0670 I have found some issues about error FS0670 ( This code is not sufficiently generic. ... ) inside StackOve...
[ 0.003173828125, 0.0299072265625, -0.01190185546875, -0.006103515625, 0.01287841796875, -0.0025787353515625, 0.0057373046875, -0.008056640625, -0.00848388671875, -0.00189208984375, 0.01513671875, -0.01348876953125, 0.0203857421875, -0.01220703125, -0.00927734375, 0.004730224609375, -0...
[ 563, 4904, 189534, 36716, 64549, 748, 136, 18499, 93774, 9016, 5757, 1238, 3949, 3742, 63667, 15390, 2609, 18770, 304, 397, 2046, 62068, 1511, 4036, 14037, 37348, 3293, 18151, 959, 129980, 6512, 156673, 118664, 351, 26171, 29806, 43240, 5885,...
[ 0.1246337890625, 0.19384765625, 0.2264404296875, 0.204833984375, 0.1778564453125, 0.1134033203125, 0.0311279296875, 0.2041015625, 0.1993408203125, 0.153076171875, 0.248046875, 0.06201171875, 0.009857177734375, 0.117431640625, 0.1337890625, 0.0380859375, 0.10546875, 0.07476806640625...
embed
36636735_c1
36636735
fsharp
1
:string)= text.Split [|'\t';' '|] let splitInto2Values (A: string []) = (float A.[0],float A.[1]) let parseLine (line:string) = line |> split |> splitInto2Values let num_cities = int x.[0] let cities = x |> Array.tail |> Array.map parseLine // [x_1][y_1] i also have this related warning /Library/Frameworks/Mono.framewo...
:string)= text.Split [|'\t';' '|] let splitInto2Values (A: string []) = (float A.[0],float A.[1]) let parseLine (line:string) = line |> split |> splitInto2Values let num_cities = int x.[0] let cities = x |> Array.tail |> Array.map parseLine // [x_1][y_1] i also have this related warning /Library/Frameworks/Mono.framewo...
[ -0.007659912109375, -0.0033111572265625, -0.00933837890625, 0.0234375, -0.00433349609375, -0.007415771484375, 0.01806640625, -0.01239013671875, 0.0216064453125, -0.01068115234375, -0.0118408203125, 0.006195068359375, -0.00726318359375, -0.0291748046875, -0.00091552734375, 0.00494384765...
[ 152, 91693, 1369, 7986, 31923, 4353, 18, 74, 2633, 65450, 4153, 188, 304, 42272, 21049, 284, 79315, 52347, 62, 2389, 25432, 366, 184, 93232, 2256, 2203, 13315, 13269, 318, 2449, 23, 1022, 162708, 69253, 46741, 62346, 115187, 53, 62548, 16...
[ 0.036163330078125, 0.2098388671875, 0.0482177734375, 0.22021484375, 0.0941162109375, 0.2279052734375, 0.0556640625, 0.0050048828125, 0.10064697265625, 0.2352294921875, 0.048614501953125, 0.138916015625, 0.1427001953125, 0.17626953125, 0.0933837890625, 0.07220458984375, 0.218017578125...
embed
38128946_c0
38128946
fsharp
0
Title: FAKE build fails creating nuget package on osx under mono Problem title: FAKE build fails creating nuget package on osx under mono Tags: nuget, f%23-fake, mono, macos, f%23 Problem: FAKE build fails creating nuget package on osx under mono I'm using the FAKE build tool on OSX under mono as part of my build chain...
FAKE build fails creating nuget package on osx under mono FAKE build fails creating nuget package on osx under mono nuget f%23-fake mono macos f%23 System.Exception FAKE CreatePackage build.fsx EnableNuGetPackageRestore Install OutputDirectory ExcludeVersion FSharp.Data Fake.exe Cannot NuGet NuGet.exe Error Version Out...
[ -0.0003643035888671875, 0.0400390625, -0.00653076171875, 0.00118255615234375, 0.00946044921875, 0.01025390625, 0.01123046875, -0.03857421875, -0.0198974609375, 0.0341796875, -0.003875732421875, 0.0093994140625, 0.0196533203125, 0.0113525390625, 0.01361083984375, 0.0016021728515625, 0...
[ 563, 119960, 45367, 35782, 105233, 315, 3794, 98169, 362, 425, 1379, 22460, 98, 27495, 1021, 350, 291, 7840, 1238, 3742, 12353, 63928, 151313, 205956, 17447, 357, 2886, 18444, 724, 126, 45804, 107951, 13538, 822, 178390, 3467, 137989, 3036, ...
[ 0.1915283203125, 0.22119140625, 0.226318359375, 0.1923828125, 0.150634765625, 0.2100830078125, 0.227294921875, 0.1951904296875, 0.1343994140625, 0.10791015625, 0.1304931640625, 0.21240234375, 0.005706787109375, 0.0305938720703125, 0.208984375, 0.037384033203125, 0.048065185546875, ...
embed
47823743_c1
47823743
fsharp
1
two is better in general? // ///////////////// Values in modules \\\\\\\\\\\\\\\\\\\\ // File A.fs module A let i = 1 let add x y : float = x + y // File B.fs module B let sqr z = z * z + float i let x = sqr 99.9 // File Program.fs open A open B let y = add (float i) x |> sqr printfn "%f" y [<EntryPoint>] let main arg...
two is better in general? // ///////////////// Values in modules \\\\\\\\\\\\\\\\\\\\ // File A.fs module A let i = 1 let add x y : float = x + y // File B.fs module B let sqr z = z * z + float i let x = sqr 99.9 // File Program.fs open A open B let y = add (float i) x |> sqr printfn "%f" y [<EntryPoint>] let main arg...
[ -0.001739501953125, 0.007568359375, -0.00982666015625, 0.0208740234375, 0.0133056640625, 0.0135498046875, 0.01904296875, -0.01806640625, -0.0006256103515625, 0.0162353515625, 0.005889892578125, 0.021240234375, -0.00927734375, -0.005523681640625, 0.02392578125, -0.01470947265625, 0.00...
[ 6626, 83, 11522, 4537, 32, 4666, 248, 223009, 190060, 7, 23, 88996, 111847, 42724, 62, 5, 17447, 2633, 17, 2203, 106, 15190, 1022, 113, 21917, 257, 997, 335, 864, 42, 97, 483, 176652, 7663, 9803, 52347, 16, 28412, 14783, 420, 58, 7768...
[ 0.2486572265625, 0.1094970703125, 0.2247314453125, 0.1739501953125, 0.01324462890625, 0.03277587890625, 0.00885009765625, 0.05462646484375, 0.2449951171875, 0.0731201171875, 0.1273193359375, 0.266845703125, 0.00396728515625, 0.1998291015625, 0.1187744140625, 0.05224609375, 0.20593261...
embed
31793154_c0
31793154
fsharp
0
Title: Why does this statically typed member access think it is a getter? Problem title: Why does this statically typed member access think it is a getter? Tags: duck-typing, f%23, structural-typing Problem: Why does this statically typed member access think it is a getter? rvm is an object, not a function. Why does th...
Why does this statically typed member access think it is a getter? Why does this statically typed member access think it is a getter? duck-typing f%23 structural-typing Why ReportSubTitle Setup ReportSubTitle:_ Total total.ToString Why does this statically typed member access think it is a getter? rvm is an object, not...
[ -0.007415771484375, 0.004791259765625, 0.042236328125, -0.011962890625, -0.005584716796875, -0.010986328125, -0.0262451171875, -0.002685546875, 0.00738525390625, 0.00909423828125, -0.010009765625, 0.01043701171875, 0.0024566650390625, -0.0091552734375, 0.02294921875, -0.00958251953125,...
[ 44084, 903, 13254, 71407, 10644, 32786, 17203, 5351, 2046, 720, 115, 2594, 46280, 3742, 118990, 34798, 96472, 16734, 17991, 19943, 33867, 3622, 7763, 71713, 33760, 39, 83, 36746, 959, 32354, 158, 2816, 4288, 8353, 275, 27417, 25072, 64457, ...
[ 0.0782470703125, 0.03009033203125, 0.136962890625, 0.0665283203125, 0.1802978515625, 0.2052001953125, 0.142822265625, 0.09442138671875, 0.1422119140625, 0.192138671875, 0.06268310546875, 0.086669921875, 0.1666259765625, 0.1085205078125, 0.080078125, 0.1632080078125, 0.1143798828125, ...
embed
40362184_c0
40362184
fsharp
0
Title: F#: recursive function to find bigger value in non empty list Problem title: F#: recursive function to find bigger value in non empty list Tags: list, recursion, highest, f%23 Problem: F#: recursive function to find bigger value in non empty list I need a recursive function in F# that gives me the biggest value ...
F#: recursive function to find bigger value in non empty list F#: recursive function to find bigger value in non empty list list recursion highest f%23 x::y::xs x::xs y::xs F#: recursive function to find bigger value in non empty list I need a recursive function in F# that gives me the biggest value of a non empty list...
[ -0.026123046875, 0.01513671875, -0.0022735595703125, -0.0137939453125, -0.00592041015625, -0.000698089599609375, 0.011474609375, -0.0234375, 0.01422119140625, 0.0030670166015625, 0.016845703125, -0.012451171875, -0.01025390625, -0.0196533203125, 0.0145263671875, -0.00026702880859375, ...
[ 563, 4904, 195625, 5844, 32354, 7413, 167785, 34292, 351, 201505, 5303, 1830, 167375, 1238, 3949, 3742, 1022, 53, 425, 113, 47, 23, 3871, 76199, 163, 129058, 27781, 5608, 30646, 483, 28641, 52080, 81979, 12877, 35166, 26458, 18151, 5368, 18...
[ 0.119873046875, 0.188720703125, 0.20751953125, 0.153564453125, 0.19189453125, 0.1365966796875, 0.20263671875, 0.19775390625, 0.18017578125, 0.1466064453125, 0.1929931640625, 0.00848388671875, 0.2147216796875, 0.1187744140625, 0.0965576171875, 0.1595458984375, 0.034576416015625, 0.0...
embed
2840714_c0
2840714
fsharp
0
Title: F# Static Member Type Constraints Problem title: F# Static Member Type Constraints Tags: constraints, f%23, functional-programming, generics Problem: F# Static Member Type Constraints I'm trying to define a function, factorize, which uses structural type constraints (requires static members Zero, One, +, and /) ...
F# Static Member Type Constraints F# Static Member Type Constraints constraints f%23 functional-programming generics Static Member Type Constraints NUM get_Zero get_One NUM.One NUM.Zero j::flist F# Static Member Type Constraints I'm trying to define a function, factorize, which uses structural type constraints (require...
[ -0.01043701171875, -0.01177978515625, 0.016845703125, -0.007659912109375, -0.005950927734375, -0.0113525390625, -0.01171875, -0.002471923828125, -0.0062255859375, -0.0194091796875, -0.01806640625, -0.030517578125, 0.004425048828125, -0.02197265625, 0.00958251953125, -0.0126953125, -0...
[ 563, 4904, 71465, 238, 74057, 60457, 1657, 2816, 4288, 158, 1238, 3949, 3742, 123309, 28966, 189534, 109020, 2046, 1511, 4036, 62068, 1647, 6562, 31577, 61924, 32354, 31461, 20650, 4527, 118990, 10644, 3181, 201939, 43032, 83947, 6561, 997, 2...
[ 0.1190185546875, 0.1964111328125, 0.2178955078125, 0.061767578125, 0.26318359375, 0.217041015625, 0.0963134765625, 0.201416015625, 0.166259765625, 0.09112548828125, 0.055145263671875, 0.031951904296875, 0.12158203125, 0.1201171875, 0.0911865234375, 0.1571044921875, 0.1888427734375, ...
embed
26909861_c0
26909861
fsharp
0
Title: Using decimal values in FunScript Problem title: Using decimal values in FunScript Tags: funscript, f%23 Problem: Using decimal values in FunScript I'm getting an exception when trying to use a decimal value with FunScript. It can be reproduced simply by using: Globals.window.alert(Globals.JSON.stringify(3M)) Th...
Using decimal values in FunScript Using decimal values in FunScript funscript f%23 System.Exception Using FunScript Globals.window.alert Globals.JSON.stringify Message FunScript.dll Additional Could Call None MakeDecimal Value Using decimal values in FunScript I'm getting an exception when trying to use a decimal value...
[ 0.015869140625, 0.0198974609375, -0.01031494140625, -0.00787353515625, 0.01495361328125, 0.0030670166015625, 0.0018157958984375, 0.00128173828125, -0.00762939453125, -0.031494140625, -0.032470703125, 0.00811767578125, -0.002716064453125, 0.0023193359375, 0.0299072265625, 0.0244140625, ...
[ 345, 32380, 2749, 142424, 28670, 147845, 7477, 32032, 3949, 3742, 12353, 19279, 63928, 13453, 9494, 24293, 2529, 58627, 40383, 48205, 1181, 191147, 26265, 438, 86, 26176, 4657, 318, 190060, 131527, 31577, 4527, 34292, 678, 831, 42238, 42856, ...
[ 0.07855224609375, 0.17822265625, 0.1484375, 0.151123046875, 0.1971435546875, 0.269287109375, 0.1341552734375, 0.2117919921875, 0.007568359375, 0.1175537109375, 0.0626220703125, 0.036712646484375, 0.1236572265625, 0.112548828125, 0.0240325927734375, 0.0716552734375, 0.07086181640625, ...
embed
1776964_c0
1776964
fsharp
0
Title: What&#x27;s wrong with this F# code? Problem title: What&#x27;s wrong with this F# code? Tags: f%23 Problem: What's wrong with this F# code? I would like to use a discriminated union to represent a files and directories. Then given a directory I would like to make a list of all files in it (recursively). But in ...
What&#x27;s wrong with this F# code? What&#x27;s wrong with this F# code? f%23 What List.iter FileOrDir File Directory Directory1 file1.txt file2.txt EmptyDir What's wrong with this F# code? I would like to use a discriminated union to represent a files and directories. Then given a directory I would like to make a lis...
[ 0.0024566650390625, 0.00494384765625, 0.006072998046875, 0.004791259765625, -0.0191650390625, 0.005828857421875, -0.01611328125, -0.00567626953125, -0.00604248046875, -0.0179443359375, 0.00347900390625, -0.006134033203125, 0.00811767578125, 0.00665283203125, 0.006500244140625, 0.006805...
[ 4865, 3768, 7, 44691, 678, 903, 563, 4904, 18151, 74, 1238, 3742, 32036, 5, 16840, 42724, 19060, 397, 481, 31068, 53, 418, 11435, 124326, 5442, 31678, 939, 1884, 4527, 55970, 3674, 69941, 33636, 102158, 136, 14364, 3387, 3249, 5303, 111, ...
[ 0.0633544921875, 0.0682373046875, 0.03973388671875, 0.17138671875, 0.1217041015625, 0.10150146484375, 0.1063232421875, 0.194091796875, 0.1748046875, 0.000762939453125, 0.06988525390625, 0.0634765625, 0.18310546875, 0.00543212890625, 0.205078125, 0.138427734375, 0.134521484375, 0.03...
embed
35203860_c0
35203860
fsharp
0
Title: Use a variable as the path to a file referenced by an F# type provider Problem title: Use a variable as the path to a file referenced by an F# type provider Tags: f%23, sas, type-providers Problem: Use a variable as the path to a file referenced by an F# type provider How do I pass a variable path to a type prov...
Use a variable as the path to a file referenced by an F# type provider Use a variable as the path to a file referenced by an F# type provider f%23 sas type-providers Use Literal System.Environment.MachineName sas.sas7bdat SasFileTypeProvider Use a variable as the path to a file referenced by an F# type provider How do ...
[ 0.0247802734375, -0.01141357421875, -0.0026702880859375, 0.0048828125, -0.0169677734375, -0.0240478515625, -0.014404296875, 0.00830078125, -0.0137939453125, -0.031005859375, -0.0015411376953125, 0.0115966796875, -0.0027923583984375, 0.00701904296875, 0.0224609375, 0.009521484375, -0....
[ 36836, 77336, 237, 60875, 47, 11435, 91067, 563, 4904, 10644, 81450, 10, 1238, 3742, 57, 7, 93136, 135940, 141, 12353, 686, 1900, 99326, 163612, 15796, 966, 275, 5164, 947, 174350, 196707, 177997, 62160, 54, 87, 27875, 3444, 72367, 17368, ...
[ 0.1083984375, 0.270751953125, 0.1021728515625, 0.21875, 0.1060791015625, 0.16357421875, 0.1488037109375, 0.09429931640625, 0.1678466796875, 0.203125, 0.237548828125, 0.026458740234375, 0.046905517578125, 0.072021484375, 0.0665283203125, 0.0567626953125, 0.156494140625, 0.0734252929...
embed
29493938_c0
29493938
fsharp
0
Title: Add multiple constraints to a generic function definition (why must I inline)? Problem title: Add multiple constraints to a generic function definition (why must I inline)? Tags: generics, f%23 Problem: Add multiple constraints to a generic function definition (why must I inline)? I want to add 2 constraints to ...
Add multiple constraints to a generic function definition (why must I inline)? Add multiple constraints to a generic function definition (why must I inline)? generics f%23 Add FS0670 Add multiple constraints to a generic function definition (why must I inline)? I want to add 2 constraints to my generic function. a cons...
[ 0.0050048828125, -0.00250244140625, -0.007293701171875, -0.006378173828125, 0.005401611328125, -0.004241943359375, -0.01007080078125, 0.0022735595703125, 0.004638671875, -0.028564453125, 0.0137939453125, -0.0220947265625, 0.020263671875, 0.0103759765625, 0.0107421875, -0.00225830078125...
[ 29117, 48716, 158, 2816, 4288, 7, 47, 189534, 32354, 80934, 3038, 8110, 23, 2256, 3742, 93774, 9016, 5757, 3444, 15190, 116, 64549, 748, 32786, 25632, 18499, 18, 28219, 26008, 15549, 1650, 4034, 20697, 73342 ]
[ 0.138671875, 0.2353515625, 0.12109375, 0.2210693359375, 0.18505859375, 0.012420654296875, 0.067138671875, 0.249755859375, 0.1773681640625, 0.204833984375, 0.07489013671875, 0.09503173828125, 0.1177978515625, 0.230712890625, 0.1185302734375, 0.072509765625, 0.055267333984375, 0.1115...
embed
65365389_c0
65365389
fsharp
0
Title: How to make a tuple give a random new tuple? Problem title: How to make a tuple give a random new tuple? Tags: f%23, mutable, random, class Problem: How to make a tuple give a random new tuple? I am trying to take a position (a,b) and via the code receive a random new position (a,b).. I am having great trouble i...
How to make a tuple give a random new tuple? How to make a tuple give a random new tuple? f%23 mutable random class How Teleport Item Color.White this.FullyOccupy this.InteractWith Player p.X p.Y System.Random rand.Next How to make a tuple give a random new tuple? I am trying to take a position (a,b) and via the code r...
[ 0.0011138916015625, 0.01116943359375, 0.01025390625, -0.01177978515625, -0.0003986358642578125, 0.01239013671875, 0.006439208984375, -0.0107421875, -0.00109100341796875, 0.0002880096435546875, 0.01544189453125, 0.02978515625, 0.00101470947265625, 0.0147705078125, -0.004638671875, -0.00...
[ 11249, 47, 3249, 370, 8705, 8337, 96759, 3525, 1238, 3949, 3742, 842, 22819, 18507, 10142, 6982, 78426, 51193, 173473, 903, 143414, 44851, 47013, 194583, 60560, 1542, 1723, 12353, 126525, 3815, 27388, 81280, 10, 31577, 5646, 19069, 11, 275, ...
[ 0.07843017578125, 0.0418701171875, 0.08642578125, 0.1297607421875, 0.2132568359375, 0.1185302734375, 0.192626953125, 0.1583251953125, 0.0537109375, 0.008697509765625, 0.1085205078125, 0.09222412109375, 0.156494140625, 0.1453857421875, 0.13134765625, 0.1986083984375, 0.14404296875, ...
embed
35023269_c0
35023269
fsharp
0
Title: How do I reference system.drawing in F# source file (fs). It works for script files (fsx) Problem title: How do I reference system.drawing in F# source file (fs). It works for script files (fsx) Tags: visual-studio-2015, f%23, dll, bitmap Problem: How do I reference system.drawing in F# source file (fs). It work...
How do I reference system.drawing in F# source file (fs). It works for script files (fsx) How do I reference system.drawing in F# source file (fs). It works for script files (fsx) visual-studio-2015 f%23 dll bitmap How system.drawing visual-studio-2015 How do I reference system.drawing in F# source file (fs). It works ...
[ -0.01214599609375, 0.030517578125, 0.0020599365234375, 0.005859375, 0.01324462890625, 0.017578125, -0.005523681640625, 0.002960205078125, -0.018798828125, -0.0228271484375, 0.01531982421875, 0.014404296875, 0.0038909912109375, 0.0128173828125, 0.0003070831298828125, -0.01422119140625, ...
[ 11249, 91067, 5426, 86905, 214, 563, 4904, 31344, 11435, 17447, 43240, 26499, 102158, 425, 5, 23, 21176, 52629, 44906, 1238, 3742, 81717, 4785, 62346, 552, 6238, 73372, 22968, 918, 17203, 24447, 2096, 109164, 12353, 219, 14775, 120384, 20697,...
[ 0.01123046875, 0.2215576171875, 0.136474609375, 0.1746826171875, 0.0906982421875, 0.10986328125, 0.204833984375, 0.1917724609375, 0.13720703125, 0.1875, 0.04681396484375, 0.17333984375, 0.10540771484375, 0.1192626953125, 0.040863037109375, 0.009979248046875, 0.1474609375, 0.1644287...
embed
2313937_c0
2313937
fsharp
0
Title: F#: The &#x27;&amp;&#x27; operator should not normally be redefined Problem title: F#: The &#x27;&amp;&#x27; operator should not normally be redefined Tags: f%23, operators Problem: F#: The '&' operator should not normally be redefined When defining a custom operator from the limited set of single-character oper...
F#: The &#x27;&amp;&#x27; operator should not normally be redefined F#: The &#x27;&amp;&#x27; operator should not normally be redefined f%23 operators F#: The '&' operator should not normally be redefined When defining a custom operator from the limited set of single-character operators that can be both infix and prefi...
[ 0.01373291015625, 0.0172119140625, 0.01507568359375, 0.006805419921875, 0.0115966796875, -0.0079345703125, -0.029296875, 0.0283203125, 0.0019683837890625, -0.01483154296875, 0.0054931640625, -0.005462646484375, 0.020263671875, -0.0081787109375, -0.0128173828125, 0.0322265625, -0.0177...
[ 563, 4904, 12, 3768, 1230, 25133, 54764, 39933, 5608, 959, 3638, 15265, 5983, 74, 186, 1238, 3949, 3742, 581, 25, 13204, 114122, 84046, 5423, 11001, 9254, 2263, 831, 23, 55923, 136, 183114, 997, 20, 1745, 619, 4527, 151095, 43882, 442, ...
[ 0.1287841796875, 0.209716796875, 0.03204345703125, 0.148681640625, 0.2447509765625, 0.0665283203125, 0.007415771484375, 0.22119140625, 0.0848388671875, 0.082763671875, 0.1134033203125, 0.1309814453125, 0.17138671875, 0.030029296875, 0.029876708984375, 0.096923828125, 0.05020141601562...
embed
5084053_c0
5084053
fsharp
0
Title: Count occurrences of an element in a list Problem title: Count occurrences of an element in a list Tags: f%23 Problem: Count occurrences of an element in a list I have a list of integers and any integers that occur multiple times will do so consecutively. I would like to convert this to a list of tuples, contain...
Count occurrences of an element in a list Count occurrences of an element in a list f%23 Count x::xs Count occurrences of an element in a list I have a list of integers and any integers that occur multiple times will do so consecutively. I would like to convert this to a list of tuples, containing each object together ...
[ 0.0115966796875, 0.00823974609375, 0.006317138671875, 0.0054931640625, -0.00003886222839355469, -0.00579833984375, -0.0164794921875, -0.009521484375, 0.023681640625, -0.0211181640625, -0.007659912109375, 0.0184326171875, 0.0247802734375, 0.03857421875, 0.010009765625, -0.0150146484375,...
[ 108210, 74918, 42, 69098, 111, 12830, 23, 5303, 10, 1238, 3949, 3742, 1022, 12, 425, 7, 87, 892, 26255, 2499, 48716, 20028, 1221, 54, 221, 148390, 1884, 96760, 47, 370, 99726, 70541, 12638, 36746, 25842, 54529, 35064, 2967, 30646, 10644, ...
[ 0.234375, 0.20068359375, 0.16552734375, 0.1162109375, 0.006103515625, 0.1837158203125, 0.0833740234375, 0.2054443359375, 0.020751953125, 0.06781005859375, 0.0396728515625, 0.155517578125, 0.1046142578125, 0.00958251953125, 0.084228515625, 0.058074951171875, 0.0199432373046875, 0.11...
embed
35108603_c1
35108603
fsharp
1
responseB Queue: ['write requestA'; 'write requestB'; 'read responseB'; 'read responseA'] And this will lead that responseA will be returned to thread2 and responseB to thread1. Good thing that request-response are correlated by id set in request. So there are some solutions for this protocol that store Dictionary<id,...
responseB Queue: ['write requestA'; 'write requestB'; 'read responseB'; 'read responseA'] And this will lead that responseA will be returned to thread2 and responseB to thread1. Good thing that request-response are correlated by id set in request. So there are some solutions for this protocol that store Dictionary<id,...
[ -0.007293701171875, 0.024658203125, 0.00457763671875, 0.0240478515625, -0.00384521484375, -0.01513671875, -0.00927734375, 0.0021209716796875, -0.0031585693359375, -0.00836181640625, 0.0089111328125, 0.052490234375, 0.007049560546875, 0.0167236328125, 0.0086669921875, 0.01483154296875, ...
[ 57553, 571, 5813, 13388, 434, 18781, 50336, 284, 74, 39116, 37105, 176377, 47, 86997, 304, 136, 18621, 13580, 134719, 13, 8231, 174822, 3447, 5423, 51347, 903, 91363, 4343, 147638, 532, 9598, 108161, 133, 211235, 7722, 40485, 570, 92, 12279...
[ 0.2392578125, 0.1937255859375, 0.1209716796875, 0.138671875, 0.02093505859375, 0.10009765625, 0.2315673828125, 0.0816650390625, 0.0152435302734375, 0.1231689453125, 0.04473876953125, 0.136474609375, 0.1092529296875, 0.1478271484375, 0.07293701171875, 0.0089111328125, 0.00277709960937...
embed
16167068_c0
16167068
fsharp
0
Title: Can you set up recursive mocks in foq? Problem title: Can you set up recursive mocks in foq? Tags: mocking, foq, f%23, easynetq Problem: Can you set up recursive mocks in foq? I'd let to mock an IBus with Foq. One of the methods on the IBus is OpenPublishChannel , which returns an IPublishChannel . IPublishChann...
Can you set up recursive mocks in foq? Can you set up recursive mocks in foq? mocking foq f%23 easynetq Can IBus OpenPublishChannel Bus System EasyNetQ Foq Mock IPublishChannel Setup x.Bus Returns Create x.OpenPublishChannel Can you set up recursive mocks in foq? I'd let to mock an IBus with Foq. One of the methods on ...
[ -0.00927734375, 0.0028228759765625, -0.007354736328125, 0.034912109375, -0.005859375, 0.0164794921875, 0.00933837890625, -0.00958251953125, 0.0128173828125, -0.004364013671875, -0.005523681640625, 0.0294189453125, -0.00147247314453125, 0.025390625, 0.0174560546875, -0.029541015625, -...
[ 4171, 5423, 1257, 195625, 5844, 8698, 1224, 23, 5775, 864, 931, 41324, 1238, 3742, 23468, 1179, 88874, 223, 13527, 143145, 15227, 127008, 25852, 12353, 71975, 24447, 2737, 9572, 2501, 2594, 87, 8876, 19943, 1022, 7235, 173340, 151313, 103264,...
[ 0.08599853515625, 0.1268310546875, 0.113525390625, 0.2174072265625, 0.1627197265625, 0.2138671875, 0.175537109375, 0.090087890625, 0.1422119140625, 0.19384765625, 0.164794921875, 0.1561279296875, 0.00128173828125, 0.07818603515625, 0.0831298828125, 0.0877685546875, 0.09991455078125, ...
embed
71989578_c1
71989578
fsharp
1
wont compile. let z = funString foo error Severity Code Description Project File Line Suppression State Error FS0071 Type constraint mismatch when applying the default type 'obj' for a type inference variable. The type 'obj' does not support the operator 'classID' Consider adding further type constraints this sort of ...
wont compile. let z = funString foo error Severity Code Description Project File Line Suppression State Error FS0071 Type constraint mismatch when applying the default type 'obj' for a type inference variable. The type 'obj' does not support the operator 'classID' Consider adding further type constraints this sort of ...
[ 0.01031494140625, -0.0155029296875, -0.01171875, 0.00194549560546875, 0.004486083984375, -0.018798828125, -0.02587890625, -0.00244140625, -0.005615234375, -0.041015625, -0.005523681640625, -0.0004024505615234375, -0.0021209716796875, -0.01129150390625, 0.00323486328125, -0.0244140625, ...
[ 23742, 18, 9969, 1340, 2633, 97, 2203, 7477, 71713, 214, 5775, 31, 18499, 48752, 28864, 70643, 27331, 42724, 16777, 47004, 48448, 22836, 212059, 93774, 77110, 418, 60457, 158, 2816, 4288, 1239, 98753, 59911, 114977, 10644, 3522, 170, 53498, ...
[ 0.1014404296875, 0.07305908203125, 0.1842041015625, 0.1929931640625, 0.1051025390625, 0.109375, 0.017425537109375, 0.1597900390625, 0.126220703125, 0.010345458984375, 0.1590576171875, 0.1800537109375, 0.1705322265625, 0.1673583984375, 0.1571044921875, 0.1290283203125, 0.076416015625,...
embed
44985828_c0
44985828
fsharp
0
Title: F# - Generate Random Subset of List With Sums Of Singles And Pairs Problem title: F# - Generate Random Subset of List With Sums Of Singles And Pairs Tags: f%23, list, random, subset Problem: F# - Generate Random Subset of List With Sums Of Singles And Pairs I would like to generate an output list, which is a ran...
F# - Generate Random Subset of List With Sums Of Singles And Pairs F# - Generate Random Subset of List With Sums Of Singles And Pairs f%23 list random subset Generate Random Subset List Sums Singles Pairs System.Random List.map random.Next input.Length Seq.take Seq.toList Output Sample F# - Generate Random Subset of Li...
[ 0.0125732421875, 0.017333984375, 0.0032958984375, 0.0027313232421875, -0.0159912109375, 0.016845703125, -0.0260009765625, 0.00144195556640625, 0.0155029296875, 0.00811767578125, 0.003265380859375, 0.004302978515625, -0.00787353515625, 0.01397705078125, -0.000286102294921875, -0.0070190...
[ 563, 4904, 155370, 67, 39643, 306, 8273, 3509, 32036, 17106, 36335, 6619, 43609, 3493, 37897, 4295, 111, 1238, 3949, 3742, 5303, 96759, 1614, 12353, 126525, 3815, 62346, 81280, 107730, 864, 78219, 188, 154663, 13538, 33209, 1884, 139392, 1409...
[ 0.107177734375, 0.1953125, 0.1414794921875, 0.008331298828125, 0.1309814453125, 0.103271484375, 0.162841796875, 0.1688232421875, 0.1962890625, 0.06451416015625, 0.179931640625, 0.032958984375, 0.203125, 0.11865234375, 0.158447265625, 0.068115234375, 0.0209808349609375, 0.0771484375...
embed
43797991_c0
43797991
fsharp
0
Title: F# Iterate a Seq of KeyValuePair and print all Key, Values. Then failwithf if the list is not empty Problem title: F# Iterate a Seq of KeyValuePair and print all Key, Values. Then failwithf if the list is not empty Tags: seq, f%23, functional-programming, sequence Problem: F# Iterate a Seq of KeyValuePair and pr...
F# Iterate a Seq of KeyValuePair and print all Key, Values. Then failwithf if the list is not empty F# Iterate a Seq of KeyValuePair and print all Key, Values. Then failwithf if the list is not empty seq f%23 functional-programming sequence failOnError Iterate Seq KeyValuePair Key Values Then Seq.map kvp.Key Value kvp....
[ -0.004302978515625, 0.00213623046875, 0.0028076171875, -0.015625, 0.00162506103515625, -0.0086669921875, 0.0028228759765625, -0.01348876953125, -0.00994873046875, 0.0255126953125, 0.0036163330078125, 0.0205078125, 0.026611328125, 0.01324462890625, 0.007598876953125, 0.0033111572265625,...
[ 563, 4904, 8560, 503, 864, 111, 26824, 856, 50770, 8335, 481, 28412, 756, 190060, 35782, 420, 2174, 5303, 959, 201505, 67, 40, 1238, 3742, 123309, 28966, 944, 20320, 18468, 62346, 26687, 254, 162429, 134332, 939, 212059, 3444, 22799, 136, ...
[ 0.06182861328125, 0.185546875, 0.235107421875, 0.0697021484375, 0.1776123046875, 0.07415771484375, 0.1212158203125, 0.107421875, 0.0953369140625, 0.1260986328125, 0.080810546875, 0.1783447265625, 0.04864501953125, 0.1439208984375, 0.1864013671875, 0.051239013671875, 0.027496337890625...
embed
29371293_c0
29371293
fsharp
0
Title: byref reference to reference cell&#x27;s value Problem title: byref reference to reference cell&#x27;s value Tags: f%23, syntax Problem: byref reference to reference cell's value I stumbled upon such problem. I need a function which will know how many times it was called. It needs to be thread safe so I would li...
byref reference to reference cell&#x27;s value byref reference to reference cell&#x27;s value f%23 syntax Interlocked.Increment counter.Value byref reference to reference cell's value I stumbled upon such problem. I need a function which will know how many times it was called. It needs to be thread safe so I would like...
[ -0.005462646484375, 0.005950927734375, 0.013916015625, 0.0279541015625, 0.003448486328125, -0.007080078125, 0.00811767578125, 0.00811767578125, -0.00408935546875, -0.051025390625, -0.010986328125, 0.05126953125, -0.007659912109375, 0.01513671875, 0.04296875, 0.00970458984375, -0.0008...
[ 390, 29087, 91067, 47, 38750, 3768, 34292, 7, 1238, 3742, 6002, 86531, 5337, 21135, 297, 4153, 7612, 674, 105416, 856, 50770, 18784, 40099, 2967, 3871, 32354, 1221, 3714, 3642, 5941, 20028, 509, 35839, 86997, 46002, 1884, 51312, 17368, 5677...
[ 0.1435546875, 0.313720703125, 0.305419921875, 0.18310546875, 0.25830078125, 0.1031494140625, 0.265380859375, 0.0130615234375, 0.034088134765625, 0.0802001953125, 0.0992431640625, 0.078125, 0.1502685546875, 0.21728515625, 0.0908203125, 0.06500244140625, 0.177734375, 0.1204833984375,...
embed
5859408_c0
5859408
fsharp
0
Title: Scripting language choice Problem title: Scripting language choice Tags: f%23, scripting, python, xna, lua Problem: Scripting language choice I am evaluating options for a scripting language to embed at my company. We mostly make indie games, and we use managed frameworks (Unity and XNA). This means that we need...
Scripting language choice Scripting language choice f%23 scripting python xna lua Scripting Scripting language choice I am evaluating options for a scripting language to embed at my company. We mostly make indie games, and we use managed frameworks (Unity and XNA). This means that we need a solution that works with bot...
[ -0.0093994140625, 0.0150146484375, 0.01177978515625, 0.0089111328125, -0.0162353515625, -0.021728515625, 0.0020904541015625, 0.00238037109375, 0.0024261474609375, -0.0142822265625, -0.0011138916015625, -0.0023345947265625, 0.0130615234375, 0.006134033203125, 0.006591796875, 0.010375976...
[ 84654, 214, 46876, 44126, 1238, 3949, 3742, 26499, 17198, 50828, 1022, 76, 27761, 151575, 50717, 10, 47, 352, 13482, 99, 759, 14380, 153161, 3249, 13830, 27528, 145755, 170846, 14256, 2481, 1193, 6691, 3871, 29806, 43240, 678, 15044, 77879, ...
[ 0.2427978515625, 0.1214599609375, 0.22509765625, 0.18994140625, 0.08624267578125, 0.042083740234375, 0.144775390625, 0.2498779296875, 0.1234130859375, 0.2110595703125, 0.10546875, 0.1956787109375, 0.256591796875, 0.0753173828125, 0.1123046875, 0.010009765625, 0.02362060546875, 0.08...
embed
1989487_c0
1989487
fsharp
0
Title: F# development and unit testing? Problem title: F# development and unit testing? Tags: unit-testing, tdd, functional-programming, f%23 Problem: F# development and unit testing? I just got started with F#, which is my first functional language. I have been working quasi-exclusively with C#, and enjoy a lot how F#...
F# development and unit testing? F# development and unit testing? unit-testing tdd functional-programming f%23 F# development and unit testing? I just got started with F#, which is my first functional language. I have been working quasi-exclusively with C#, and enjoy a lot how F# leads me to re-think how I write code. ...
[ -0.001129150390625, 0.00445556640625, 0.017333984375, -0.0203857421875, -0.00225830078125, -0.01190185546875, 0.013671875, 0.00067138671875, -0.00341796875, 0.000873565673828125, 0.01080322265625, 0.016845703125, -0.003021240234375, 0.0029296875, -0.00093841552734375, 0.01153564453125,...
[ 563, 4904, 34754, 136, 25072, 134234, 32, 6954, 214, 808, 4028, 123309, 28966, 1238, 3742, 26859, 678, 5117, 46876, 20697, 12404, 67158, 25225, 5915, 456, 201950, 33022, 18151, 43585, 7413, 4785, 49133, 15549, 9433, 32562, 17368, 384, 24057, ...
[ 0.15380859375, 0.2418212890625, 0.1697998046875, 0.096923828125, 0.1943359375, 0.252685546875, 0.03472900390625, 0.221435546875, 0.044036865234375, 0.090087890625, 0.180908203125, 0.1669921875, 0.1141357421875, 0.08758544921875, 0.042022705078125, 0.053985595703125, 0.0745849609375, ...
embed
5768543_c0
5768543
fsharp
0
Title: Reasons not to use abstract class instead of interface? Problem title: Reasons not to use abstract class instead of interface? Tags: f%23 Problem: Reasons not to use abstract class instead of interface? I'm considering using an abstract class with all abstract members instead of an interface in order to avoid ex...
Reasons not to use abstract class instead of interface? Reasons not to use abstract class instead of interface? f%23 Reasons IMyInterface Name Text MyClass __.Name __.Text this.Name this.Text AbstractClass MyAbstractClass Reasons not to use abstract class instead of interface? I'm considering using an abstract class wi...
[ 0.00579833984375, -0.00038909912109375, 0.003082275390625, 0.006072998046875, 0.0022125244140625, -0.006103515625, -0.007232666015625, 0.01025390625, 0.00738525390625, 0.0191650390625, 0.000362396240234375, -0.0098876953125, -0.00125885009765625, 0.01239013671875, 0.004638671875, -0.00...
[ 236267, 7, 959, 47, 4527, 164789, 18507, 64457, 101758, 32, 111, 1238, 3742, 46832, 53, 44851, 40404, 15757, 24129, 2646, 140803, 163612, 174379, 903, 233973, 24988, 2816, 15390, 179635, 17368, 678, 756, 43032, 71864, 143726, 208124, 337, 347...
[ 0.16650390625, 0.04095458984375, 0.134521484375, 0.038787841796875, 0.1177978515625, 0.267822265625, 0.25146484375, 0.130615234375, 0.2548828125, 0.01336669921875, 0.00067138671875, 0.01385498046875, 0.036346435546875, 0.02642822265625, 0.09613037109375, 0.1461181640625, 0.1697998046...
embed
64464558_c0
64464558
fsharp
0
Title: Using async methods in one branch of match Problem title: Using async methods in one branch of match Tags: f%23 Problem: Using async methods in one branch of match I'm getting started with F# and async. I have trying to convert some C# code that looks like: public async Task<string> getValueOrDefault(string? key...
Using async methods in one branch of match Using async methods in one branch of match f%23 Using Task Option None Some Async Using async methods in one branch of match I'm getting started with F# and async. I have trying to convert some C# code that looks like: My F# code looks like: It complains that the 2 branches ha...
[ -0.00848388671875, -0.0003376007080078125, 0.004608154296875, -0.020263671875, -0.00433349609375, -0.0341796875, 0.0022125244140625, -0.01904296875, 0.00836181640625, 0.01312255859375, 0.0032501220703125, 0.007293701171875, 0.00848388671875, -0.00567626953125, 0.033447265625, 0.0091552...
[ 345, 10, 12654, 238, 150624, 23, 1632, 32845, 206, 14858, 1238, 3949, 3742, 9598, 92, 86769, 438, 62, 26859, 563, 4904, 136, 31577, 96760, 313, 18151, 33342, 1884, 186992, 116, 90356, 7, 765, 12921, 52895, 79315, 91693, 108193, 30646, 47,...
[ 0.0784912109375, 0.0960693359375, 0.247314453125, 0.1754150390625, 0.1630859375, 0.05877685546875, 0.1175537109375, 0.155517578125, 0.1280517578125, 0.196533203125, 0.0546875, 0.03466796875, 0.1279296875, 0.1292724609375, 0.037200927734375, 0.196533203125, 0.040802001953125, 0.0880...
embed
69441447_c0
69441447
fsharp
0
Title: Inheriting class not seeing base class Problem title: Inheriting class not seeing base class Tags: class, undefined, inheritance, f%23 Problem: Inheriting class not seeing base class I have an abstract class in one file: namespace Dac.V5 [<AbstractClass>] type DacRecord(recordType: int16) = do if recordType < 0s...
Inheriting class not seeing base class Inheriting class not seeing base class class undefined inheritance f%23 Inheriting Dac.V5 AbstractClass DacRecord int16 Argument this.Type DacReturnRecord this.Data Inheriting class not seeing base class I have an abstract class in one file: and an inheriting class in an adjacent ...
[ 0.0113525390625, 0.00787353515625, -0.0089111328125, 0.0145263671875, 0.01031494140625, 0.0120849609375, -0.012939453125, 0.0036468505859375, 0.003021240234375, 0.0018768310546875, -0.01092529296875, -0.0206298828125, 0.009765625, 0.0244140625, -0.0272216796875, -0.0004405975341796875,...
[ 360, 86151, 1916, 18507, 959, 86681, 3647, 9232, 5983, 23, 3334, 217, 1238, 3742, 930, 238, 856, 758, 233973, 140803, 32271, 2485, 112140, 903, 196707, 137989, 164789, 1632, 11435, 123594, 33306, 135179, 18499, 63805, 102158, 5701, 1614, 8058...
[ 0.0765380859375, 0.2265625, 0.07666015625, 0.238525390625, 0.07476806640625, 0.1947021484375, 0.2220458984375, 0.0845947265625, 0.1724853515625, 0.0909423828125, 0.19384765625, 0.102294921875, 0.0275421142578125, 0.0767822265625, 0.010894775390625, 0.00140380859375, 0.056427001953125...
embed
30557687_c0
30557687
fsharp
0
Title: computing prime factors using same code produces different results? Problem title: computing prime factors using same code produces different results? Tags: f%23, primes, biginteger Problem: computing prime factors using same code produces different results? I am basically trying to compute the factors of a BigI...
computing prime factors using same code produces different results? computing prime factors using same code produces different results? f%23 primes biginteger same HashSet lookupTable.Contains n:bigint Seq.filter Seq.map Seq.max computing prime factors using same code produces different results? I am basically trying t...
[ -0.01495361328125, 0.0140380859375, 0.01055908203125, 0.00518798828125, -0.000244140625, -0.0159912109375, 0.02490234375, -0.0036773681640625, 0.0028228759765625, -0.0260009765625, 0.001953125, 0.031982421875, 0.0023345947265625, -0.0036163330078125, -0.01361083984375, 0.00026702880859...
[ 242122, 20809, 120103, 17368, 5701, 18151, 27489, 12921, 50339, 1238, 3949, 3742, 6957, 6191, 1505, 162087, 294, 126, 6713, 2886, 4288, 864, 120337, 24084, 31577, 9969, 6743, 14195, 67, 6626, 8781, 31461, 47691, 32354, 1884, 16750, 11814, 350...
[ 0.1669921875, 0.204345703125, 0.2357177734375, 0.047760009765625, 0.14208984375, 0.17041015625, 0.1092529296875, 0.153076171875, 0.126708984375, 0.0517578125, 0.016143798828125, 0.1357421875, 0.0274505615234375, 0.102294921875, 0.0753173828125, 0.10064697265625, 0.040679931640625, ...
embed
806712_c0
806712
fsharp
0
Title: How do I know if a function is tail recursive in F# Problem title: How do I know if a function is tail recursive in F# Tags: recursion, tail-recursion, f%23, tail-call-optimization Problem: How do I know if a function is tail recursive in F# I wrote the follwing function: let str2lst str = let rec f s acc = matc...
How do I know if a function is tail recursive in F# How do I know if a function is tail recursive in F# recursion tail-recursion f%23 tail-call-optimization How str2lst s.Substring How do I know if a function is tail recursive in F# I wrote the follwing function: How can I know if the F# compiler turned it into a loop?...
[ 0.00157928466796875, -0.00075531005859375, 0.0128173828125, 0.04736328125, 0.0086669921875, 0.024169921875, 0.000644683837890625, -0.0283203125, 0.01300048828125, -0.0034637451171875, 0.013427734375, -0.0135498046875, -0.0146484375, 0.00115203857421875, 0.03271484375, 0.0052490234375, ...
[ 11249, 54, 87, 3714, 2174, 32354, 83, 6, 46741, 195625, 5844, 23, 563, 4904, 107, 48650, 1830, 1238, 3742, 85763, 100433, 7704, 304, 271, 91, 96472, 91693, 10, 54397, 18344, 141, 14775, 831, 9969, 34759, 69347, 442, 3934, 40956, 7413, 1...
[ 0.0289459228515625, 0.0079345703125, 0.038848876953125, 0.152587890625, 0.12939453125, 0.2257080078125, 0.10699462890625, 0.046234130859375, 0.283935546875, 0.243408203125, 0.1820068359375, 0.066162109375, 0.138671875, 0.2113037109375, 0.045562744140625, 0.1649169921875, 0.0093688964...
embed
76141999_c0
76141999
fsharp
0
Title: Casting Single Case discriminated union to int in F#? Problem title: Casting Single Case discriminated union to int in F#? Tags: .net, f%23, optimization Problem: Casting Single Case discriminated union to int in F#? I am working on a chess engine written in F#, and I'm thinking of how to represent the board pos...
Casting Single Case discriminated union to int in F#? Casting Single Case discriminated union to int in F#? .net f%23 optimization Casting Single Case Struct BoardPosition Position Casting Single Case discriminated union to int in F#? I am working on a chess engine written in F#, and I'm thinking of how to represent th...
[ -0.007568359375, 0.0027618408203125, 0.0169677734375, 0.0047607421875, -0.0179443359375, -0.005218505859375, 0.00592041015625, -0.00014209747314453125, 0.016845703125, -0.01348876953125, 0.0014190673828125, 0.0019378662109375, -0.003997802734375, -0.00482177734375, -0.00555419921875, -...
[ 32301, 214, 43609, 43731, 55970, 69941, 47, 23, 18, 563, 4904, 3674, 1179, 1238, 3742, 87235, 63667, 62554, 7192, 172, 99428, 20697, 290, 7, 87907, 33636, 45443, 19069, 2053, 45646, 10298, 7911, 80854, 4734, 7722, 136044, 47644, 173072, 110...
[ 0.1370849609375, 0.052001953125, 0.17529296875, 0.201416015625, 0.2109375, 0.2235107421875, 0.0538330078125, 0.09332275390625, 0.1512451171875, 0.10205078125, 0.216796875, 0.023773193359375, 0.1214599609375, 0.030548095703125, 0.1146240234375, 0.1043701171875, 0.10614013671875, 0.1...
embed
14168536_c0
14168536
fsharp
0
Title: f# generic units over generic types Problem title: f# generic units over generic types Tags: units-of-measurement, f%23 Problem: f# generic units over generic types Is it possible to define a function that is both generic over data type and unit of measure? E.g., what I would like to do, but doesn't compile (tho...
f# generic units over generic types f# generic units over generic types units-of-measurement f%23 Unit Weight Volume f# generic units over generic types Is it possible to define a function that is both generic over data type and unit of measure? E.g., what I would like to do, but doesn't compile (though it wouldn't eve...
[ -0.0123291015625, 0.03466796875, 0.010009765625, -0.0218505859375, -0.002044677734375, -0.0218505859375, -0.004913330078125, -0.025390625, 0.0283203125, -0.0019073486328125, -0.01806640625, -0.007476806640625, 0.00799560546875, -0.021484375, -0.003448486328125, 0.01708984375, 0.01373...
[ 1238, 4904, 189534, 25072, 645, 52895, 4390, 37440, 56851, 3742, 46640, 150533, 98872, 2071, 442, 7722, 61924, 32354, 15044, 2053, 10644, 136, 111, 72350, 1884, 9969, 1340, 13379, 6528, 8517, 141, 135421, 69941, 107419, 17311, 5809, 4527, 149...
[ 0.10015869140625, 0.1513671875, 0.2587890625, 0.2259521484375, 0.096435546875, 0.2049560546875, 0.1107177734375, 0.10693359375, 0.0933837890625, 0.0667724609375, 0.1414794921875, 0.158447265625, 0.1531982421875, 0.005767822265625, 0.0258941650390625, 0.1195068359375, 0.197509765625, ...
embed
43906986_c0
43906986
fsharp
0
Title: XAMARIN 6.3 MacOS Mono Update: F# interactive (and more) crashing Problem title: XAMARIN 6.3 MacOS Mono Update: F# interactive (and more) crashing Tags: mono, deedle, f%23, xamarin, macos Problem: XAMARIN 6.3 MacOS Mono Update: F# interactive (and more) crashing a message prompted this morning in Xamarin to upda...
XAMARIN 6.3 MacOS Mono Update: F# interactive (and more) crashing XAMARIN 6.3 MacOS Mono Update: F# interactive (and more) crashing mono deedle f%23 xamarin macos XAMARIN MacOS Mono Update Dollar XAMARIN 6.3 MacOS Mono Update: F# interactive (and more) crashing a message prompted this morning in Xamarin to update Mono ...
[ 0.00982666015625, 0.0201416015625, 0.00946044921875, 0.0162353515625, 0.014404296875, 0.01141357421875, 0.00494384765625, 0.00128936767578125, -0.00482177734375, 0.006683349609375, -0.00762939453125, -0.034912109375, 0.007415771484375, -0.002685546875, 0.041259765625, 0.0067138671875, ...
[ 1193, 23955, 65443, 137116, 4727, 7285, 77879, 28641, 563, 4904, 212398, 1286, 150631, 214, 22460, 8, 297, 133, 1238, 3949, 3742, 2459, 44503, 7840, 83393, 26008, 105876, 42141, 8606, 28350, 159, 45461, 188, 1892, 99929, 705, 116392, 68186, ...
[ 0.08880615234375, 0.1517333984375, 0.1864013671875, 0.2052001953125, 0.07354736328125, 0.09832763671875, 0.2188720703125, 0.133544921875, 0.08355712890625, 0.1407470703125, 0.1290283203125, 0.004547119140625, 0.17822265625, 0.0391845703125, 0.18310546875, 0.1016845703125, 0.141723632...
embed
25004276_c0
25004276
fsharp
0
Title: F#: How to match on a substring? Problem title: F#: How to match on a substring? Tags: f%23, match Problem: F#: How to match on a substring? I am new to F#, but not new to programming. Most of my experience is in the C# and SQL world. MSDN and other sites I've looked at haven't quite made this simple enough for ...
F#: How to match on a substring? F#: How to match on a substring? f%23 match How List.filter System.String.IsNullOrWhiteSpace line.StartsWith F#: How to match on a substring? I am new to F#, but not new to programming. Most of my experience is in the C# and SQL world. MSDN and other sites I've looked at haven't quite m...
[ -0.0045166015625, -0.00168609619140625, -0.003631591796875, 0.0045166015625, -0.0306396484375, -0.004547119140625, 0.0230712890625, 0.00274658203125, 0.0128173828125, 0.0155029296875, 0.00830078125, 0.016357421875, -0.005889892578125, 0.00135040283203125, -0.00872802734375, 0.007507324...
[ 563, 4904, 11249, 47, 14858, 98, 1614, 91693, 12, 1238, 3949, 3742, 32036, 120337, 12353, 71713, 214, 29598, 18444, 1181, 19060, 173473, 141012, 13315, 126597, 194583, 10, 3525, 56037, 16981, 80866, 8999, 51671, 8781, 78574, 149016, 61007, 31...
[ 0.129150390625, 0.191650390625, 0.10003662109375, 0.0877685546875, 0.2822265625, 0.1591796875, 0.2008056640625, 0.2344970703125, 0.00146484375, 0.094482421875, 0.007843017578125, 0.1407470703125, 0.0982666015625, 0.1766357421875, 0.10101318359375, 0.117431640625, 0.047119140625, 0....
embed
77754525_c1
77754525
fsharp
1
have any proper subtypes and cannot be used // as the source of a type test or runtime coercion. let y:a = float<m> x // Expected type, not unit-of-measure let y:a = (float x)<m> // Unexpected token '>' or incomplete expression let y:a = (float<m>)(float x) // Expected type, not unit-of-measure // == trying to only as...
have any proper subtypes and cannot be used // as the source of a type test or runtime coercion. let y:a = float<m> x // Expected type, not unit-of-measure let y:a = (float x)<m> // Unexpected token '>' or incomplete expression let y:a = (float<m>)(float x) // Expected type, not unit-of-measure // == trying to only as...
[ -0.01007080078125, 0.0240478515625, 0.000812530517578125, -0.0076904296875, 0.006134033203125, -0.005859375, -0.00408935546875, -0.004974365234375, 0.020751953125, 0.0234375, 0.008056640625, -0.017822265625, 0.0118408203125, -0.01300048828125, 0.00665283203125, -0.00066375732421875, ...
[ 765, 2499, 27798, 1614, 50986, 136, 53418, 11814, 4666, 237, 31344, 10644, 3034, 707, 11675, 6032, 552, 56, 6447, 2633, 113, 12, 11, 21917, 257, 39, 1022, 60075, 13, 89829, 959, 25072, 4390, 37440, 56851, 52347, 992, 83613, 47, 1098, 27...
[ 0.0557861328125, 0.042724609375, 0.1300048828125, 0.148193359375, 0.198974609375, 0.010101318359375, 0.133056640625, 0.09356689453125, 0.0195465087890625, 0.021331787109375, 0.10723876953125, 0.18505859375, 0.1658935546875, 0.007965087890625, 0.018280029296875, 0.045257568359375, 0.0...
embed
18366023_c0
18366023
fsharp
0
Title: Choose implementation at compile time in F# Problem title: Choose implementation at compile time in F# Tags: f%23, compile-time Problem: Choose implementation at compile time in F# Most programming languages have some way of choosing an implementation at compile-time based on types. Function overloading is a com...
Choose implementation at compile time in F# Choose implementation at compile time in F# f%23 compile-time Choose a:int Duplicate Unexpected Choose implementation at compile time in F# Most programming languages have some way of choosing an implementation at compile-time based on types. Function overloading is a common ...
[ -0.0186767578125, -0.01025390625, 0.01007080078125, -0.0029144287109375, -0.0281982421875, -0.003082275390625, -0.01519775390625, 0.0166015625, -0.003021240234375, 0.00086212158203125, -0.007080078125, -0.0255126953125, 0.002288818359375, -0.005279541015625, 0.024169921875, -0.00300598...
[ 211525, 208124, 99, 9969, 1340, 1733, 563, 4904, 1238, 3949, 3742, 6032, 10, 4288, 786, 52721, 67, 992, 83613, 13, 17006, 56037, 46876, 3917, 218873, 142, 35509, 98, 52895, 28670, 10763, 645, 63033, 214, 83, 39210, 110934, 37223, 391, 281...
[ 0.21240234375, 0.2529296875, 0.1156005859375, 0.146728515625, 0.1495361328125, 0.130126953125, 0.14794921875, 0.21533203125, 0.0869140625, 0.009613037109375, 0.1158447265625, 0.1346435546875, 0.027252197265625, 0.162353515625, 0.1575927734375, 0.2587890625, 0.12548828125, 0.0425415...
embed
61311446_c0
61311446
fsharp
0
Title: F# folding gracefully without the first or last element? Problem title: F# folding gracefully without the first or last element? Tags: f%23, fold Problem: F# folding gracefully without the first or last element? Say you have a list of strings: [ "a"; "b"; "c" ] and you want to transform it to a single string lik...
F# folding gracefully without the first or last element? F# folding gracefully without the first or last element? f%23 fold List.map List.fold s.Substring s.Length F# folding gracefully without the first or last element? Say you have a list of strings: [ "a"; "b"; "c" ] and you want to transform it to a single string l...
[ -0.01708984375, 0.00811767578125, 0.01043701171875, 0.0072021484375, -0.019287109375, 0.0125732421875, 0.0036773681640625, 0.0091552734375, 0.002471923828125, 0.0014190673828125, -0.009765625, -0.0235595703125, -0.0084228515625, 0.0279541015625, 0.002960205078125, -0.0174560546875, -...
[ 563, 4904, 18344, 6238, 4224, 329, 126351, 15490, 5117, 707, 4568, 12830, 1238, 3742, 42822, 32036, 62346, 91, 96472, 91693, 5303, 79315, 11, 275, 238, 3444, 27198, 11001, 221, 60322, 96117, 132283, 7225, 13438, 56037, 46876, 959, 63769, 14...
[ 0.14306640625, 0.2366943359375, 0.1845703125, 0.0946044921875, 0.1102294921875, 0.0782470703125, 0.101318359375, 0.13671875, 0.132568359375, 0.0611572265625, 0.1741943359375, 0.1893310546875, 0.1126708984375, 0.0975341796875, 0.2188720703125, 0.1390380859375, 0.0660400390625, 0.021...
embed
23438477_c0
23438477
fsharp
0
Title: How/when does the F# compiler read ahead for type inference? Problem title: How/when does the F# compiler read ahead for type inference? Tags: f%23, inline, type-inference Problem: How/when does the F# compiler read ahead for type inference? If I create the add function below let add x y = x + y and then separat...
How/when does the F# compiler read ahead for type inference? How/when does the F# compiler read ahead for type inference? f%23 inline type-inference How phrase.Replace Replace How/when does the F# compiler read ahead for type inference? If I create the add function below and then separately run the line below, I’ll get...
[ 0.0240478515625, -0.0087890625, 0.005218505859375, 0.0277099609375, 0.003204345703125, 0.00897216796875, 0.017333984375, -0.0198974609375, 0.00115966796875, -0.03466796875, 0.0048828125, -0.0037384033203125, -0.00250244140625, -0.008544921875, 0.025634765625, -0.0034332275390625, -0....
[ 11249, 3220, 563, 4904, 9969, 34759, 12301, 99255, 10644, 53498, 6620, 100, 1238, 3742, 23, 2256, 73, 69988, 113860, 4332, 23935, 853, 28282, 15190, 32354, 35064, 84797, 11675, 13315, 18499, 114977, 41591, 1022, 136, 113, 5608, 933, 25842, ...
[ 0.0875244140625, 0.06964111328125, 0.135498046875, 0.222412109375, 0.1563720703125, 0.132080078125, 0.1751708984375, 0.203369140625, 0.224609375, 0.20556640625, 0.0701904296875, 0.0235748291015625, 0.08770751953125, 0.0904541015625, 0.097412109375, 0.07861328125, 0.00604248046875, ...
embed
32457054_c1
32457054
fsharp
1
be set and unset several times during the instances' lifetime. Additionally due to the fact that other callees also could have the same name as the desired method this way isn't foolprove nor would i like to have a public scope for these methods either. Beside in a test of mine it seems the attribute does not work wit...
be set and unset several times during the instances' lifetime. Additionally due to the fact that other callees also could have the same name as the desired method this way isn't foolprove nor would i like to have a public scope for these methods either. Beside in a test of mine it seems the attribute does not work wit...
[ -0.00567626953125, 0.004791259765625, 0.0106201171875, 0.000179290771484375, -0.0189208984375, -0.0155029296875, -0.000568389892578125, -0.027099609375, 0.02099609375, -0.00982666015625, -0.02783203125, -0.0034942626953125, 0.00958251953125, 0.03271484375, -0.00628662109375, 0.00065231...
[ 186, 5423, 136, 51, 3509, 40368, 20028, 20271, 110527, 6897, 6032, 57378, 90, 5701, 9351, 104851, 55300, 66187, 70820, 150624, 3034, 150380, 959, 4488, 563, 4904, 1556, 22691, 143726, 114977, 34292, 171859, 132283, 11522, 3917, 2046, 150522, ...
[ 0.07568359375, 0.1962890625, 0.05157470703125, 0.1290283203125, 0.1922607421875, 0.1513671875, 0.190185546875, 0.0229339599609375, 0.18505859375, 0.040771484375, 0.00994873046875, 0.119384765625, 0.045166015625, 0.036041259765625, 0.0865478515625, 0.08551025390625, 0.1807861328125, ...
embed
20024418_c1
20024418
fsharp
1
endavour and the the two last points seemed being the most appealing ones, so taking the route as described here by nos in another SO post. I used System.Xml and System.CodeDom and modified the code to use Microsoft.FSharp.Compiler.CodeDom and FSharpCodeProvider to generate the F# types. Alas! The generated F# code do...
endavour and the the two last points seemed being the most appealing ones, so taking the route as described here by nos in another SO post. I used System.Xml and System.CodeDom and modified the code to use Microsoft.FSharp.Compiler.CodeDom and FSharpCodeProvider to generate the F# types. Alas! The generated F# code do...
[ 0.0130615234375, 0.02001953125, -0.0301513671875, -0.019775390625, -0.01031494140625, 0.01214599609375, -0.00323486328125, -0.01531982421875, -0.004547119140625, -0.034912109375, -0.0045166015625, -0.01373291015625, -0.003326416015625, -0.00787353515625, -0.0101318359375, 0.00531005859...
[ 3564, 141775, 4568, 26847, 115058, 149528, 36439, 15969, 11814, 12353, 1542, 7237, 114211, 106098, 73197, 18151, 4527, 7244, 36381, 3467, 254, 5, 108161, 34759, 93774, 177997, 62160, 139392, 563, 4904, 52895, 21664, 22027, 18, 9969, 1340, 15410...
[ 0.09326171875, 0.22802734375, 0.03466796875, 0.06793212890625, 0.007537841796875, 0.07562255859375, 0.0655517578125, 0.0291748046875, 0.029754638671875, 0.08966064453125, 0.07061767578125, 0.1431884765625, 0.1287841796875, 0.1717529296875, 0.096435546875, 0.1756591796875, 0.015014648...
embed
24072832_c0
24072832
fsharp
0
Title: Print HTML Title to the console window using F# + Canopy Problem title: Print HTML Title to the console window using F# + Canopy Tags: f%23, canopy-web-testing Problem: Print HTML Title to the console window using F# + Canopy I've utilized the following links for reference, but still cannot get my code to print ...
Print HTML Title to the console window using F# + Canopy Print HTML Title to the console window using F# + Canopy f%23 canopy-web-testing F# Print HTML Title Canopy Page System.Console.WriteLine Print HTML Title to the console window using F# + Canopy I've utilized the following links for reference, but still cannot ge...
[ 0.0113525390625, 0.0091552734375, -0.006378173828125, 0.01031494140625, -0.00579833984375, -0.004058837890625, 0.00518798828125, -0.00372314453125, -0.00958251953125, -0.0201416015625, -0.00860595703125, 0.004730224609375, -0.023681640625, -0.00897216796875, 0.029296875, 0.005950927734...
[ 39754, 19097, 48962, 47, 130250, 76896, 17368, 563, 4904, 997, 4171, 2146, 53, 1238, 3742, 831, 14051, 6954, 14231, 12353, 40777, 93232, 121876, 22317, 91067, 7464, 53418, 2046, 18151, 28412, 33695, 53208, 28864, 678, 2480, 12336, 519, 257, ...
[ 0.1871337890625, 0.25146484375, 0.247314453125, 0.1044921875, 0.2379150390625, 0.15234375, 0.0286407470703125, 0.095947265625, 0.2076416015625, 0.1231689453125, 0.120849609375, 0.189697265625, 0.1204833984375, 0.02978515625, 0.04937744140625, 0.080810546875, 0.052642822265625, 0.08...
embed
53698335_c0
53698335
fsharp
0
Title: F# list folders and files Problem title: F# list folders and files Tags: file, f%23, list, directory, names Problem: F# list folders and files I have to write a function called "find" in which I can give as an input an Name. The function has to search files or Folders with that given Name and has to return those...
F# list folders and files F# list folders and files file f%23 list directory names Hallo Hallo.txt Dokumente Folder Test Node File Nat F# list folders and files I have to write a function called "find" in which I can give as an input an Name. The function has to search files or Folders with that given Name and has to r...
[ -0.006256103515625, 0.004608154296875, 0.00592041015625, 0.02734375, -0.004364013671875, 0.01239013671875, -0.01953125, -0.01348876953125, -0.003631591796875, -0.0142822265625, 0.00012683868408203125, -0.01153564453125, 0.0018463134765625, 0.006591796875, 0.00946044921875, 0.0032196044...
[ 563, 4904, 5303, 78303, 136, 102158, 11435, 1238, 3949, 3742, 14364, 53, 123055, 54029, 5, 124326, 26281, 13, 30077, 820, 8647, 438, 112, 42724, 68875, 87, 765, 47, 33022, 32354, 35839, 111607, 3129, 831, 8337, 237, 107730, 15757, 1556, 3...
[ 0.1644287109375, 0.2413330078125, 0.19580078125, 0.18603515625, 0.1121826171875, 0.174560546875, 0.1220703125, 0.1260986328125, 0.04864501953125, 0.1805419921875, 0.1282958984375, 0.0175018310546875, 0.06182861328125, 0.262451171875, 0.00390625, 0.2220458984375, 0.1683349609375, 0....
embed
27186464_c0
27186464
fsharp
0
Title: Why does the argument type of arithmetic operators default to int? Problem title: Why does the argument type of arithmetic operators default to int? Tags: f%23 Problem: Why does the argument type of arithmetic operators default to int? I am new to F#, and I was surprised to find that the type of f x y = x + y is...
Why does the argument type of arithmetic operators default to int? Why does the argument type of arithmetic operators default to int? f%23 Why Why does the argument type of arithmetic operators default to int? I am new to F#, and I was surprised to find that the type of f x y = x + y is actually int -> int -> int . App...
[ 0.01104736328125, 0.004791259765625, 0.00518798828125, 0.0052490234375, -0.00037384033203125, 0.00787353515625, -0.009521484375, -0.0052490234375, -0.00457763671875, 0.0194091796875, -0.000820159912109375, -0.0250244140625, -0.00604248046875, 0.01495361328125, 0.005279541015625, -0.016...
[ 44084, 14602, 10750, 10644, 187, 8962, 282, 9523, 39933, 114977, 47, 23, 18, 1238, 3742, 7, 563, 4904, 144285, 1022, 113, 2203, 997, 20653, 33079, 23718, 52350, 16713, 15400, 63559, 53498, 186, 11, 21373, 4488, 225490, 111, 706, 4426, 142...
[ 0.110107421875, 0.0208282470703125, 0.22265625, 0.1650390625, 0.022552490234375, 0.1551513671875, 0.10498046875, 0.0770263671875, 0.1702880859375, 0.2197265625, 0.04425048828125, 0.1209716796875, 0.19287109375, 0.0828857421875, 0.0684814453125, 0.0257568359375, 0.07373046875, 0.172...
embed
43380535_c0
43380535
fsharp
0
Title: Why does Series.resampleUniform return an empty series? Problem title: Why does Series.resampleUniform return an empty series? Tags: time-series, deedle, f%23 Problem: Why does Series.resampleUniform return an empty series? I cannot understand why resmplU in the code below is an empty series. I suspect the probl...
Why does Series.resampleUniform return an empty series? Why does Series.resampleUniform return an empty series? time-series deedle f%23 Why Series.resampleUniform Deedle System.DateTime Seq.initInfinite Seq.map startDate.AddDays Seq.takeWhile dt3 DateTime dt4 dt5 Seq.length Series Lookup.ExactOrGreater Why does Series....
[ -0.0036468505859375, 0.020263671875, 0.01422119140625, -0.00194549560546875, -0.00701904296875, 0.00154876708984375, -0.006622314453125, 0.0016326904296875, 0.0126953125, 0.019287109375, -0.0115966796875, 0.0262451171875, 0.030029296875, -0.0016021728515625, 0.002410888671875, 0.010681...
[ 44084, 64876, 71455, 33209, 85600, 5037, 30646, 201505, 36549, 1733, 32832, 8, 297, 133, 1238, 3742, 262, 12353, 70059, 48310, 864, 62346, 4034, 97141, 60818, 28219, 15400, 3332, 39, 2424, 1062, 18151, 83, 31486, 171859, 11737, 162429, 138256...
[ 0.1007080078125, 0.1778564453125, 0.07666015625, 0.18701171875, 0.079833984375, 0.185302734375, 0.1473388671875, 0.211181640625, 0.2010498046875, 0.06256103515625, 0.150634765625, 0.0677490234375, 0.09320068359375, 0.1312255859375, 0.0224151611328125, 0.0667724609375, 0.0551452636718...
embed
43755987_c1
43755987
fsharp
1
: CharStream<_>) = let i = s.Column let expr_indent expr (s: CharStream<_>) = let expr (s: CharStream<_>) = if i <= s.Column then expr s else pzero s many1 expr s expr_indent (expressions i) s let expr = let opp = new OperatorPrecedenceParser<_,_,_>() opp.AddOperator(InfixOperator("+", spaces, 6, Associativity.Left, fu...
: CharStream<_>) = let i = s.Column let expr_indent expr (s: CharStream<_>) = let expr (s: CharStream<_>) = if i <= s.Column then expr s else pzero s many1 expr s expr_indent (expressions i) s let expr = let opp = new OperatorPrecedenceParser<_,_,_>() opp.AddOperator(InfixOperator("+", spaces, 6, Associativity.Left, fu...
[ -0.0069580078125, -0.0155029296875, 0.00390625, 0.043701171875, 0.0157470703125, 0.0137939453125, 0.01904296875, -0.009033203125, 0.00408935546875, -0.0166015625, 0.01904296875, 0.03369140625, -0.0228271484375, -0.0000591278076171875, 0.01348876953125, 0.0126953125, -0.00616455078125...
[ 152, 21656, 115061, 454, 2203, 2633, 17, 91, 78457, 316, 14700, 42, 21704, 18, 80510, 5941, 204629, 2343, 150922, 19273, 37534, 6620, 28636, 2189, 4028, 156823, 1290, 4153, 55923, 1328, 32628, 305, 159594, 19805, 7477, 1022, 113, 29117, 425...
[ 0.01361083984375, 0.1895751953125, 0.270263671875, 0.0457763671875, 0.01361083984375, 0.053955078125, 0.080810546875, 0.09442138671875, 0.0732421875, 0.0936279296875, 0.0872802734375, 0.142822265625, 0.07208251953125, 0.0145721435546875, 0.1964111328125, 0.12548828125, 0.147094726562...
embed