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
55223823_c0
55223823
fsharp
0
Title: Why System.Char[] output, not value of string? Problem title: Why System.Char[] output, not value of string? Tags: f%23, string Problem: Why System.Char[] output, not value of string? let reverseString (myStr: string)= myStr|>Seq.toList|>List.rev |> Array.ofList|>string I am working in F# for this function. I ru...
Why System.Char[] output, not value of string? Why System.Char[] output, not value of string? f%23 string Why System.Char Seq.toList List.rev Array.ofList Why System.Char[] output, not value of string? I am working in F# for this function. I run the above one and want to get the result for example I did I expected it w...
[ 0.01275634765625, 0.00958251953125, 0.003662109375, 0.029541015625, -0.016845703125, 0.01409912109375, 0.025634765625, 0.0166015625, 0.007110595703125, 0.03271484375, 0.00482177734375, 0.006011962890625, -0.01300048828125, 0.0205078125, -0.0079345703125, -0.0069580078125, 0.002090454...
[ 44084, 12353, 5, 84068, 1065, 140992, 959, 34292, 111, 79315, 1238, 3949, 3742, 503, 864, 188, 154663, 32036, 65381, 69253, 53, 4390, 20697, 563, 4904, 32354, 11675, 36917, 2046, 16750, 27781, 84751, 7639, 501, 402, 30646, 2967, 3444, 1957,...
[ 0.1441650390625, 0.196044921875, 0.003662109375, 0.21044921875, 0.087158203125, 0.2274169921875, 0.127197265625, 0.1903076171875, 0.0950927734375, 0.2022705078125, 0.086669921875, 0.05035400390625, 0.1483154296875, 0.036865234375, 0.1573486328125, 0.0789794921875, 0.1494140625, 0.1...
embed
35737564_c0
35737564
fsharp
0
Title: F# polymorphic function Problem title: F# polymorphic function Tags: f%23 Problem: F# polymorphic function Suppose I have 2 record types type A = { a: string; parameters: parameter list } type B = { b: string; parameters: parameter list } where type parameter = { name: string; value : string } How can I write fu...
F# polymorphic function F# polymorphic function f%23 List.append F# polymorphic function Suppose I have 2 record types where type parameter = { name: string; value : string } How can I write function parameter Such as
[ -0.01544189453125, 0.006500244140625, 0.00946044921875, 0.0016326904296875, 0.0037078857421875, 0.00128173828125, -0.0118408203125, 0.01153564453125, 0.0208740234375, -0.0419921875, 0.0228271484375, 0.00628662109375, -0.00173187255859375, -0.012451171875, 0.02392578125, -0.035400390625...
[ 563, 4904, 35874, 178851, 32354, 1238, 3949, 3742, 32036, 9007, 3611, 121691, 116, 17164, 52895, 10644, 171859, 9351, 79315, 74, 34292, 11249, 831, 87, 33022, 62771, 237 ]
[ 0.12939453125, 0.1995849609375, 0.1763916015625, 0.1944580078125, 0.2435302734375, 0.08135986328125, 0.0074462890625, 0.17431640625, 0.140380859375, 0.1004638671875, 0.09765625, 0.0210418701171875, 0.111083984375, 0.2169189453125, 0.2041015625, 0.2030029296875, 0.29443359375, 0.125...
embed
76691527_c0
76691527
fsharp
0
Title: F# Is it possible to get arguments of partially applied function? Problem title: F# Is it possible to get arguments of partially applied function? Tags: f%23, partial-application Problem: F# Is it possible to get arguments of partially applied function? Having a function taking two arguments: let yolo x y = x + ...
F# Is it possible to get arguments of partially applied function? F# Is it possible to get arguments of partially applied function? f%23 partial-application yolo_x applied_x Reflection.getListOfAppliedArguments F# Is it possible to get arguments of partially applied function? Having a function taking two arguments: Is ...
[ 0.00543212890625, 0.0135498046875, 0.004974365234375, 0.00677490234375, -0.004180908203125, 0.025390625, 0.00799560546875, -0.01043701171875, -0.006744384765625, -0.00872802734375, 0.0281982421875, -0.0004367828369140625, -0.039306640625, 0.0126953125, 0.01190185546875, -0.000598907470...
[ 563, 4904, 2071, 442, 7722, 2046, 10750, 7, 111, 2878, 25958, 190659, 32354, 47, 1238, 3742, 289, 101687, 13536, 31, 425, 53295, 133, 3794, 154663, 132887, 39179, 71516, 7614, 1234, 9035, 171855, 35971, 6626, 4677, 12601, 34292, 1632, 7103,...
[ 0.0777587890625, 0.1510009765625, 0.02203369140625, 0.03521728515625, 0.16943359375, 0.1180419921875, 0.24267578125, 0.13671875, 0.0487060546875, 0.1636962890625, 0.09405517578125, 0.162109375, 0.1597900390625, 0.039398193359375, 0.0626220703125, 0.060577392578125, 0.0654296875, 0....
embed
6073054_c0
6073054
fsharp
0
Title: F# module extension vs type entension Problem title: F# module extension vs type entension Tags: f%23 Problem: F# module extension vs type entension if I want to define a extension method for float array like standard deviation, would it be better to use module extension on Array module or extension on type floa...
F# module extension vs type entension F# module extension vs type entension f%23 Array this.std F# module extension vs type entension if I want to define a extension method for float array like standard deviation, would it be better to use module extension on Array module or extension on type float[] ? like : or If I d...
[ 0.00994873046875, -0.000461578369140625, 0.0052490234375, 0.00958251953125, -0.00396728515625, -0.026611328125, -0.001495361328125, -0.003173828125, -0.009033203125, -0.027587890625, 0.00156402587890625, 0.0081787109375, 0.01043701171875, -0.0224609375, 0.0002956390380859375, -0.013671...
[ 563, 4904, 88996, 111938, 20209, 10644, 22, 128872, 1238, 3949, 3742, 69253, 903, 271, 71, 61924, 55300, 21917, 257, 10298, 53, 5570, 30170, 2320, 11522, 4527, 98, 707, 1065, 3055, 6138, 74481, 24145, 11907, 1733, 11814, 7108, 9384, 15724, ...
[ 0.14599609375, 0.2032470703125, 0.2509765625, 0.242431640625, 0.194580078125, 0.2626953125, 0.077392578125, 0.25439453125, 0.0714111328125, 0.016693115234375, 0.079345703125, 0.1346435546875, 0.1322021484375, 0.09088134765625, 0.1209716796875, 0.148681640625, 0.1322021484375, 0.186...
embed
74148431_c1
74148431
fsharp
1
As you can see, the code is too long to manage. if I add more functionality I can barely imagine what the file will be like. so how can I split the code into different files ? Code signals: ClearError, RemoteUnauthorizedException, Bolero, Message, SetPage, Page, Increment, Decrement, SetCounter, GetBooks, GotBooks, Bo...
As you can see, the code is too long to manage. if I add more functionality I can barely imagine what the file will be like. so how can I split the code into different files ? Code signals: ClearError, RemoteUnauthorizedException, Bolero, Message, SetPage, Page, Increment, Decrement, SetCounter, GetBooks, GotBooks, Bo...
[ 0.003997802734375, 0.0130615234375, 0.0004291534423828125, 0.01116943359375, -0.002960205078125, 0.00927734375, 0.01611328125, -0.01397705078125, 0.01055908203125, -0.037841796875, -0.027587890625, -0.00830078125, -0.00537109375, 0.01507568359375, 0.017333984375, 0.014404296875, -0.0...
[ 831, 1957, 70, 18151, 83, 5792, 4989, 47, 111240, 15190, 1286, 123309, 2481, 3059, 28987, 11435, 1884, 3642, 87, 65450, 3934, 12921, 102158, 705, 28864, 26073, 7, 12, 86120, 18468, 31611, 218516, 106396, 1003, 5922, 29367, 63928, 72605, 516...
[ 0.0814208984375, 0.041748046875, 0.047576904296875, 0.27685546875, 0.0601806640625, 0.149169921875, 0.157470703125, 0.054290771484375, 0.183349609375, 0.1260986328125, 0.07745361328125, 0.1734619140625, 0.061798095703125, 0.07562255859375, 0.0946044921875, 0.197998046875, 0.096557617...
embed
70479139_c0
70479139
fsharp
0
Title: What does the compare function in F# do Problem title: What does the compare function in F# do Tags: f%23 Problem: What does the compare function in F# do I was reading through the F# documentation and came across the compare function. The examples in the docs do not really make it clear what the function does. ...
What does the compare function in F# do What does the compare function in F# do f%23 What What does the compare function in F# do I was reading through the F# documentation and came across the compare function. The examples in the docs do not really make it clear what the function does. I also tried it with a few input...
[ 0.0022735595703125, 0.00152587890625, 0.002960205078125, 0.0023193359375, -0.00537109375, 0.00335693359375, 0.005767822265625, 0.01263427734375, 0.00958251953125, 0.0498046875, 0.0067138671875, -0.007049560546875, -0.00238037109375, -0.009521484375, 0.00408935546875, -0.0238037109375, ...
[ 4865, 14602, 70, 69101, 32354, 23, 563, 4904, 54, 1238, 3949, 3742, 209806, 27781, 2367, 107730, 103510, 37397, 5303, 142424, 40101, 68940, 757, 615, 214, 79315, 101935, 831, 2046, 150679, 3501 ]
[ 0.0966796875, 0.083740234375, 0.0750732421875, 0.257568359375, 0.1715087890625, 0.0673828125, 0.1312255859375, 0.19775390625, 0.108642578125, 0.0892333984375, 0.04278564453125, 0.110595703125, 0.039306640625, 0.05438232421875, 0.059783935546875, 0.0181121826171875, 0.048919677734375,...
embed
26177963_c1
26177963
fsharp
1
//exception is raised here readGoogle () |> Async.RunSynchronously |> ignore Code signals: OperationCancelledException, System.OperationCanceledException, Microsoft.FSharp.Control.AsyncBuilderImpl.commit, Result, Microsoft.FSharp.Control.CancellationTokenOps.RunSynchronously, CancellationToken, FSharpAsync, FSharpOpti...
//exception is raised here readGoogle () |> Async.RunSynchronously |> ignore Code signals: OperationCancelledException, System.OperationCanceledException, Microsoft.FSharp.Control.AsyncBuilderImpl.commit, Result, Microsoft.FSharp.Control.CancellationTokenOps.RunSynchronously, CancellationToken, FSharpAsync, FSharpOpti...
[ 0.01409912109375, 0.0208740234375, 0.00994873046875, -0.048583984375, 0.0235595703125, -0.01483154296875, 0.01611328125, -0.01611328125, -0.0069580078125, -0.0162353515625, 0.020751953125, 0.004730224609375, -0.0177001953125, -0.02587890625, 0.035888671875, -0.0172119140625, -0.00503...
[ 4666, 3355, 63928, 83, 165249, 3688, 12301, 16630, 15, 6, 2740, 62, 12654, 238, 5, 163321, 217835, 127, 1900, 79850, 124962, 28864, 26073, 7, 102203, 54694, 34680, 297, 19279, 12353, 156823, 7154, 6259, 7244, 3467, 254, 175904, 121137, 1288...
[ 0.059356689453125, 0.13134765625, 0.2445068359375, 0.0643310546875, 0.20654296875, 0.10791015625, 0.1856689453125, 0.229248046875, 0.008270263671875, 0.0157470703125, 0.045440673828125, 0.05255126953125, 0.207763671875, 0.127197265625, 0.023284912109375, 0.149658203125, 0.0947265625,...
embed
18539870_c0
18539870
fsharp
0
Title: How to do argument validation of F# records Problem title: How to do argument validation of F# records Tags: f%23, record, constructor Problem: How to do argument validation of F# records F# makes it easy to define types such as type coords = { X : float; Y : float } but how do I define constraints/check argumen...
How to do argument validation of F# records How to do argument validation of F# records f%23 record constructor How How to do argument validation of F# records F# makes it easy to define types such as but how do I define constraints/check arguments for the constructor without going into the more verbose class definitio...
[ -0.003448486328125, 0.01129150390625, 0.0089111328125, -0.0025177001953125, 0.0022430419921875, -0.01129150390625, -0.0247802734375, 0.004852294921875, -0.01470947265625, -0.0032958984375, 0.0145263671875, -0.0198974609375, 0.0225830078125, -0.006378173828125, -0.00885009765625, -0.010...
[ 11249, 47, 54, 10750, 44622, 1363, 563, 4904, 115923, 1238, 3742, 17164, 64549, 748, 23468, 61924, 52895, 3642, 158, 2816, 4288, 78292, 100, 15490, 57823, 18507, 80934, 86531, 3444, 552, 6651, 4034, 63527, 104250, 131527, 15549, 29479, 71723,...
[ 0.06646728515625, 0.029022216796875, 0.0792236328125, 0.288818359375, 0.244873046875, 0.08148193359375, 0.1480712890625, 0.217041015625, 0.206298828125, 0.08251953125, 0.1300048828125, 0.17431640625, 0.1610107421875, 0.1138916015625, 0.041961669921875, 0.139892578125, 0.138671875, ...
embed
12307361_c0
12307361
fsharp
0
Title: Format Document for F# Problem title: Format Document for F# Tags: f%23, visual-studio-2010, format Problem: Format Document for F# I'd like to format the document: give it indentation and stuff like that. Ctrl K + Ctrl D/F in Visual Studio doesn't work for F#, does anybody have any workaround for that? It does ...
Format Document for F# Format Document for F# f%23 visual-studio-2010 format Format Document Ctrl visual-studio-2010 Format Document for F# I'd like to format the document: give it indentation and stuff like that. Ctrl K + Ctrl D/F in Visual Studio doesn't work for F#, does anybody have any workaround for that? It does...
[ -0.0024566650390625, -0.00469970703125, -0.004058837890625, -0.00860595703125, 0.0033721923828125, 0.0018768310546875, -0.0120849609375, -0.0027618408203125, -0.0164794921875, -0.00098419189453125, 0.0225830078125, 0.006622314453125, -0.0303955078125, 0.0081787109375, 0.01251220703125, ...
[ 60972, 43101, 100, 563, 4904, 1238, 3742, 21176, 52629, 73552, 9384, 68847, 1884, 47, 12937, 8337, 442, 18597, 22062, 341, 997, 391, 64, 919, 23, 73372, 22968, 22027, 18, 4488, 67688, 313, 43658, 134665, 18151, 1295, 173591, 31344, 56104, ...
[ 0.265869140625, 0.228271484375, 0.08935546875, 0.1590576171875, 0.2392578125, 0.0814208984375, 0.10498046875, 0.207763671875, 0.197998046875, 0.148193359375, 0.236328125, 0.20361328125, 0.08953857421875, 0.0638427734375, 0.199951171875, 0.0911865234375, 0.0207977294921875, 0.151123...
embed
5418065_c1
5418065
fsharp
1
WindowUpdate(0) Code signals: SetLastError, Regex, Match, Regex.Match, X.Text, RegexOptions.IgnoreCase, SQL_Highlighing, System.Runtime.InteropServices, Lock, DllImport, User32, CharSet, CharSet.Ansi, ExactSpelling, LockWindowUpdate, System.Text.RegularExpressions, System.Drawing, SyntaxRTB, System.Windows.Forms.RichTe...
WindowUpdate(0) Code signals: SetLastError, Regex, Match, Regex.Match, X.Text, RegexOptions.IgnoreCase, SQL_Highlighing, System.Runtime.InteropServices, Lock, DllImport, User32, CharSet, CharSet.Ansi, ExactSpelling, LockWindowUpdate, System.Text.RegularExpressions, System.Drawing, SyntaxRTB, System.Windows.Forms.RichTe...
[ -0.026123046875, -0.00299072265625, 0.001708984375, -0.00157928466796875, -0.00616455078125, 0.0230712890625, 0.00469970703125, 0.0101318359375, 0.0169677734375, 0.028076171875, -0.0224609375, 0.00518798828125, 0.01287841796875, -0.02001953125, 0.00946044921875, -0.00164031982421875, ...
[ 176501, 152872, 177609, 28864, 26073, 7, 12, 19943, 2729, 271, 18468, 31611, 11678, 3355, 67407, 79520, 206, 1193, 174379, 39029, 5256, 11137, 107, 441, 6991, 80866, 163025, 1746, 33059, 12353, 163321, 6032, 44851, 2146, 121979, 80002, 1181, ...
[ 0.160400390625, 0.259765625, 0.260986328125, 0.2763671875, 0.29296875, 0.124755859375, 0.0460205078125, 0.1470947265625, 0.134765625, 0.09124755859375, 0.1163330078125, 0.156005859375, 0.1666259765625, 0.2337646484375, 0.2069091796875, 0.10687255859375, 0.08544921875, 0.08502197265...
embed
1666767_c0
1666767
fsharp
0
Title: How to access private fields/methods/properties using f# interactive Problem title: How to access private fields/methods/properties using f# interactive Tags: private-members, f%23, f%23-interactive Problem: How to access private fields/methods/properties using f# interactive F# interactive is a powerful develop...
How to access private fields/methods/properties using f# interactive How to access private fields/methods/properties using f# interactive private-members f%23 f%23-interactive f# How How to access private fields/methods/properties using f# interactive F# interactive is a powerful development tool as it allows to run ei...
[ -0.01220703125, -0.0010986328125, 0.01263427734375, 0.008544921875, -0.0140380859375, 0.00004076957702636719, 0.00732421875, 0.000186920166015625, -0.01220703125, -0.024169921875, -0.00011968612670898438, 0.02001953125, 0.00023555755615234375, 0.012451171875, 0.0128173828125, -0.024658...
[ 11249, 47, 17203, 14375, 44457, 64, 1928, 7352, 36290, 56, 2449, 17368, 1238, 4904, 212398, 39, 27417, 3742, 27495, 10433, 71232, 563, 113138, 34754, 55516, 114864, 11675, 17686, 102973, 601, 39557, 76896, 23, 23253, 61799, 18151, 2685, 10, ...
[ 0.09393310546875, 0.042633056640625, 0.20654296875, 0.229736328125, 0.2305908203125, 0.0321044921875, 0.093994140625, 0.168701171875, 0.13232421875, 0.1585693359375, 0.08807373046875, 0.08642578125, 0.1351318359375, 0.2139892578125, 0.247802734375, 0.07958984375, 0.1866455078125, 0...
embed
1123958_c0
1123958
fsharp
0
Title: Get a random subset from a set in F# Problem title: Get a random subset from a set in F# Tags: f%23, subset, random Problem: Get a random subset from a set in F# I am trying to think of an elegant way of getting a random subset from a set in F# Any thoughts on this? Perhaps this would work: say we have a set of ...
Get a random subset from a set in F# Get a random subset from a set in F# f%23 subset random a Get Get a random subset from a set in F# I am trying to think of an elegant way of getting a random subset from a set in F# Any thoughts on this? Perhaps this would work: say we have a set of 2 x elements and we need to pick ...
[ -0.005401611328125, -0.007568359375, 0.02490234375, -0.00567626953125, -0.007568359375, -0.0034332275390625, -0.0135498046875, -0.0201416015625, 0.0174560546875, -0.009521484375, 0.0185546875, 0.0458984375, -0.0208740234375, -0.00112152099609375, 0.00482177734375, -0.00113677978515625,...
[ 20779, 96759, 1614, 3509, 1295, 5423, 23, 563, 4904, 1238, 3949, 3742, 10, 31577, 5351, 27650, 3917, 20949, 38514, 181799, 903, 2806, 4488, 116, 1022, 80854, 3871, 39580, 113, 139392, 13267, 4785, 14012, 450, 70541, 66161, 653, 14537, 19198...
[ 0.1513671875, 0.22265625, 0.2313232421875, 0.228759765625, 0.135009765625, 0.1993408203125, 0.046722412109375, 0.1396484375, 0.2078857421875, 0.0982666015625, 0.003509521484375, 0.1629638671875, 0.028045654296875, 0.03936767578125, 0.057861328125, 0.120361328125, 0.032196044921875, ...
embed
46718850_c0
46718850
fsharp
0
Title: Can you give functions specific type signatures in F#? Problem title: Can you give functions specific type signatures in F#? Tags: f%23, types Problem: Can you give functions specific type signatures in F#? Hi I've started learning F# and I'm wondering whether or not you can constrain the types of the inputs and...
Can you give functions specific type signatures in F#? Can you give functions specific type signatures in F#? f%23 types Can Hello World Goodbye Can you give functions specific type signatures in F#? Hi I've started learning F# and I'm wondering whether or not you can constrain the types of the inputs and outputs of fu...
[ 0.01177978515625, 0.0118408203125, -0.00213623046875, 0.007110595703125, -0.01904296875, -0.00122833251953125, -0.007171630859375, 0.0003757476806640625, -0.001373291015625, 0.0067138671875, -0.013427734375, -0.033447265625, -0.00848388671875, 0.01116943359375, 0.00148773193359375, 0.0...
[ 4171, 8337, 32354, 29458, 10644, 138256, 7, 23, 563, 4904, 398, 1238, 3949, 3742, 52895, 35378, 6661, 18621, 1272, 13, 52080, 149016, 831, 158, 2816, 73, 107730, 136, 140992, 37842, 118620, 2633, 8108, 5201, 5117, 13315, 79786, 3917, 903, ...
[ 0.0908203125, 0.1363525390625, 0.238037109375, 0.230224609375, 0.2257080078125, 0.239501953125, 0.11279296875, 0.0556640625, 0.158203125, 0.2105712890625, 0.0184173583984375, 0.0965576171875, 0.014190673828125, 0.0870361328125, 0.2003173828125, 0.1495361328125, 0.1109619140625, 0.0...
embed
15089318_c0
15089318
fsharp
0
Title: How can I encapsulate the idea of 'all parameters' in F#? Problem title: How can I encapsulate the idea of 'all parameters' in F#? Tags: f%23 Problem: How can I encapsulate the idea of 'all parameters' in F#? In F#, I need to do something like this: let price k s t r v = let d1 = d1 k s t r v...
How can I encapsulate the idea of 'all parameters' in F#? How can I encapsulate the idea of 'all parameters' in F#? f%23 How How can I encapsulate the idea of 'all parameters' in F#? In F#, I need to do something like this: I'm getting really tired of listing all the parameters when they are passed ...
[ 0.00982666015625, -0.00122833251953125, -0.0107421875, -0.01373291015625, 0.00628662109375, -0.00592041015625, -0.012451171875, 0.0106201171875, 0.01409912109375, -0.0118408203125, 0.0033721923828125, 0.019287109375, -0.026123046875, 0.0126953125, -0.0025177001953125, -0.00372314453125...
[ 11249, 831, 22, 15644, 77593, 13, 6528, 3768, 5584, 171859, 7, 23, 563, 4904, 3742, 87, 70, 111, 360, 3871, 20949, 168661, 5303, 214, 756, 115081, 3934, 32354, 174548, 36746, 53418, 3917, 47, 21115, 47644, 28541, 25647, 22362 ]
[ 0.058319091796875, 0.045654296875, 0.0870361328125, 0.1627197265625, 0.176025390625, 0.081787109375, 0.1724853515625, 0.1368408203125, 0.2220458984375, 0.30029296875, 0.1326904296875, 0.0794677734375, 0.147705078125, 0.2369384765625, 0.00421142578125, 0.0167236328125, 0.051025390625,...
embed
51310138_c0
51310138
fsharp
0
Title: How can I set Expecto configuration properties when running tests via Visual Studio test adapter Problem title: How can I set Expecto configuration properties when running tests via Visual Studio test adapter Tags: f%23, expecto, visual-studio-test-runner Problem: How can I set Expecto configuration properties w...
How can I set Expecto configuration properties when running tests via Visual Studio test adapter How can I set Expecto configuration properties when running tests via Visual Studio test adapter f%23 expecto visual-studio-test-runner How Expecto Visual Studio How can I set Expecto configuration properties when running t...
[ -0.00007104873657226562, 0.0152587890625, 0.001495361328125, -0.016357421875, 0.00665283203125, -0.029541015625, 0.00433349609375, -0.0072021484375, -0.003173828125, 0.0162353515625, -0.005584716796875, 0.034423828125, -0.00104522705078125, -0.00897216796875, -0.0203857421875, 0.007202...
[ 11249, 5423, 60075, 60751, 180346, 183871, 51042, 109921, 1829, 73372, 22968, 3034, 123666, 831, 3742, 41206, 31, 21176, 52629, 6954, 142117, 6609, 64010, 109023, 111337, 22409, 2631, 720, 78779, 5276, 50717, 39580, 1257, 95103, 98320, 89845 ]
[ 0.0168304443359375, 0.1275634765625, 0.1553955078125, 0.25537109375, 0.2073974609375, 0.1539306640625, 0.061859130859375, 0.18017578125, 0.05108642578125, 0.1392822265625, 0.1552734375, 0.1397705078125, 0.1749267578125, 0.008819580078125, 0.045196533203125, 0.137939453125, 0.08581542...
embed
35171700_c0
35171700
fsharp
0
Title: F# generator function equivalent Problem title: F# generator function equivalent Tags: javascript, f%23 Problem: F# generator function equivalent In JavaScript, ES6 flavor, was introduced generator function so this kind of constructs are possible: var fib = function *(max) { var x = 0, y = 1, tmp = 1; while (tmp...
F# generator function equivalent F# generator function equivalent javascript f%23 F# generator function equivalent In JavaScript, ES6 flavor, was introduced generator function so this kind of constructs are possible: Here fibgen is a generator that will produce lower than 3000 Fibonacci numbers. What would be an equiva...
[ 0.00665283203125, -0.00164794921875, 0.0062255859375, -0.01031494140625, -0.0013275146484375, 0.0096435546875, 0.006561279296875, -0.004974365234375, 0.015869140625, -0.05517578125, 0.0086669921875, 0.035400390625, -0.000476837158203125, -0.0228271484375, 0.037353515625, -0.00854492187...
[ 563, 4904, 145823, 32354, 183234, 136951, 1238, 3949, 3742, 17925, 9764, 910, 196634, 65508, 221, 903, 8562, 64549, 621, 7722, 11853, 809, 11821, 33, 83, 1221, 27489, 92319, 3501, 17287, 3698, 20990, 52544, 101935, 2806, 186, 23, 17428, 959...
[ 0.1368408203125, 0.2353515625, 0.279296875, 0.173095703125, 0.20947265625, 0.1978759765625, 0.0865478515625, 0.056396484375, 0.1787109375, 0.2203369140625, 0.10888671875, 0.1573486328125, 0.213134765625, 0.097412109375, 0.01507568359375, 0.03271484375, 0.08905029296875, 0.213500976...
embed
41381864_c0
41381864
fsharp
0
Title: Is there ServiceStack APIs available in F# language Problem title: Is there ServiceStack APIs available in F# language Tags: servicestack, f%23, c%23 Problem: Is there ServiceStack APIs available in F# language I am writing services using service stack in F# language. F# have types like 'option', 'tuple', etc., ...
Is there ServiceStack APIs available in F# language Is there ServiceStack APIs available in F# language servicestack f%23 c%23 ServiceStack APIs Is there ServiceStack APIs available in F# language I am writing services using service stack in F# language. F# have types like 'option', 'tuple', etc., which is C# does not....
[ -0.004302978515625, 0.0007476806640625, 0.02734375, -0.00341796875, 0.00164031982421875, -0.01043701171875, -0.001312255859375, 0.014892578125, -0.0179443359375, -0.00872802734375, 0.0069580078125, -0.00872802734375, 0.013916015625, 0.010498046875, 0.010498046875, 0.01153564453125, 0...
[ 2071, 2685, 12349, 42378, 2594, 61687, 7, 19882, 23, 563, 4904, 46876, 11374, 102, 1238, 3742, 32562, 4516, 177261, 52895, 109585, 458, 8705, 959, 29479, 51, 2886, 45258, 36746, 19048, 25379, 645, 33120, 47644, 2046, 2967, 33938, 26484, 351...
[ 0.041290283203125, 0.0634765625, 0.207763671875, 0.213134765625, 0.203125, 0.266357421875, 0.103515625, 0.1396484375, 0.0804443359375, 0.1719970703125, 0.2298583984375, 0.1773681640625, 0.1568603515625, 0.120361328125, 0.1102294921875, 0.02508544921875, 0.07421875, 0.192626953125, ...
embed
57947840_c0
57947840
fsharp
0
Title: F# type 'a -> ('a -> 'b) -> 'b Problem title: F# type 'a -> ('a -> 'b) -> 'b Tags: f%23 Problem: F# type 'a -> ('a -> 'b) -> 'b I want, as an exercise, to write an F# program having the type 'a -> ('a -> 'b) -> 'b . I am fairly new to F# but I know that -...
F# type 'a -> ('a -> 'b) -> 'b F# type 'a -> ('a -> 'b) -> 'b f%23 fun1 fun2 fun3 F# type 'a -> ('a -> 'b) -> 'b I want, as an exercise, to write an F# program having the type 'a -> ('a -> 'b) -> 'b . I am fairly new to F# but I know that -> is right associative...
[ 0.019775390625, 0.00933837890625, -0.00823974609375, 0.01611328125, 0.00012302398681640625, 0.0014190673828125, 0.005279541015625, 0.009765625, 0.008056640625, 0.00081634521484375, -0.001800537109375, -0.00244140625, 0.002777099609375, 0.0089111328125, -0.0022430419921875, -0.005371093...
[ 563, 4904, 10644, 3768, 11, 20, 5386, 275, 1238, 3742, 7477, 418, 304, 363, 33079, 242, 87, 3444, 237, 142, 81979, 33022, 1528, 19441, 180663, 3525, 47, 1284, 3714, 83, 7108, 166027, 272, 21449, 1257, 678, 25632, 2046, 903, 1295, 73372,...
[ 0.1739501953125, 0.2427978515625, 0.2001953125, 0.111328125, 0.116455078125, 0.026397705078125, 0.10308837890625, 0.1910400390625, 0.10382080078125, 0.0657958984375, 0.09478759765625, 0.0154876708984375, 0.07452392578125, 0.1119384765625, 0.2061767578125, 0.041717529296875, 0.0144500...
embed
7645804_c2
7645804
fsharp
2
Interactive, v4.0, Options, Gaussian, fssnip.net, Tony, Lee, European, Option, EuropeanOption, StockCode, StockPrice, ExercisePrice, NoRiskReturn, Volatility, Time, Read, File, TAB, line:string, List.ofSeq, line.Split, code::data::_, data.Split, Incorrect, Data, Format, Returns, TODO, Gaussian.whiteNoise, Seq.take, Li...
Interactive, v4.0, Options, Gaussian, fssnip.net, Tony, Lee, European, Option, EuropeanOption, StockCode, StockPrice, ExercisePrice, NoRiskReturn, Volatility, Time, Read, File, TAB, line:string, List.ofSeq, line.Split, code::data::_, data.Split, Incorrect, Data, Format, Returns, TODO, Gaussian.whiteNoise, Seq.take, Li...
[ 0.00811767578125, 0.0108642578125, 0.0294189453125, -0.009033203125, 0.005584716796875, 0.013671875, 0.013916015625, -0.01019287109375, 0.017333984375, -0.00160980224609375, -0.0233154296875, 0.0279541015625, -0.004425048828125, -0.005950927734375, -0.017822265625, 0.00665283203125, ...
[ 5337, 71232, 81, 151152, 152448, 26336, 7, 39209, 1238, 93, 254, 1179, 59689, 19824, 28811, 86769, 39029, 1363, 68804, 114211, 33163, 329, 155534, 184, 438, 1052, 6581, 987, 5976, 257, 103133, 19055, 4764, 42724, 131545, 4, 13315, 91693, 32...
[ 0.20751953125, 0.263671875, 0.1243896484375, 0.240234375, 0.3095703125, 0.1461181640625, 0.0867919921875, 0.21875, 0.0718994140625, 0.1773681640625, 0.1383056640625, 0.1502685546875, 0.19482421875, 0.180419921875, 0.2193603515625, 0.285888671875, 0.251708984375, 0.114013671875, 0...
embed
42181578_c0
42181578
fsharp
0
Title: F# - Uppercase the first string in a list Problem title: F# - Uppercase the first string in a list Tags: functional-programming, f%23 Problem: F# - Uppercase the first string in a list In my code showen below I am trying to change the first letter of the first string to uppercase and also set a question mark: le...
F# - Uppercase the first string in a list F# - Uppercase the first string in a list functional-programming f%23 Uppercase x::xs F# - Uppercase the first string in a list In my code showen below I am trying to change the first letter of the first string to uppercase and also set a question mark: where I managed to fix t...
[ 0.0026702880859375, 0.00653076171875, 0.0067138671875, 0.00408935546875, -0.01025390625, 0.0072021484375, 0.02587890625, -0.002685546875, 0.0216064453125, 0.0224609375, 0.02392578125, 0.001739501953125, 0.0169677734375, 0.021240234375, 0.003936767578125, -0.023681640625, 0.0073547363...
[ 563, 4904, 26655, 56, 58437, 70, 5117, 79315, 23, 5303, 10, 123309, 28966, 1238, 3949, 3742, 1022, 12, 425, 7, 18151, 35064, 31577, 15549, 31330, 47, 1407, 136, 5423, 9655, 16188, 145755, 30022, 3564, 2046, 4420, 25647, 621, 15901, 195625...
[ 0.112548828125, 0.182861328125, 0.1201171875, 0.122314453125, 0.22900390625, 0.039794921875, 0.15771484375, 0.246337890625, 0.06005859375, 0.2066650390625, 0.0199737548828125, 0.137451171875, 0.0743408203125, 0.0938720703125, 0.022674560546875, 0.1151123046875, 0.0909423828125, 0.0...
embed
1594000_c0
1594000
fsharp
0
Title: F# List.map equivalent in C#? Problem title: F# List.map equivalent in C#? Tags: linq, f%23, .net, c%23 Problem: F# List.map equivalent in C#? Is there an equivalent to F#'s List.map function in C#? i.e. apply a function to each element in the list and return a new list containing the results. Something like: pu...
F# List.map equivalent in C#? F# List.map equivalent in C#? linq f%23 .net c%23 List.map IEnumerable TResult Map TSource Func funky.Invoke F# List.map equivalent in C#? Is there an equivalent to F#'s List.map function in C#? i.e. apply a function to each element in the list and return a new list containing the results....
[ -0.007232666015625, 0.0157470703125, 0.034912109375, -0.003448486328125, -0.0240478515625, -0.00775146484375, -0.00811767578125, 0.001739501953125, -0.0028533935546875, -0.033447265625, 0.006011962890625, -0.004302978515625, -0.0211181640625, 0.0113525390625, -0.00189971923828125, 0.01...
[ 563, 4904, 32036, 5, 62346, 183234, 23, 313, 96, 44982, 1238, 3742, 1179, 2606, 56, 2886, 14107, 90, 7136, 42719, 384, 211235, 28670, 23884, 53, 23253, 47, 32354, 59911, 12638, 12830, 5303, 30646, 3525, 70541, 50339, 21771, 88303, 3917, 3...
[ 0.1053466796875, 0.1982421875, 0.23388671875, 0.05487060546875, 0.239013671875, 0.17919921875, 0.065185546875, 0.052703857421875, 0.0222320556640625, 0.1435546875, 0.051239013671875, 0.042449951171875, 0.0960693359375, 0.1053466796875, 0.06719970703125, 0.0274658203125, 0.00280761718...
embed
63779190_c1
63779190
fsharp
1
) from the BsonDocumentBsonDocument cars.AsEnumerable() ) cars.Value |> Seq.tryFind(fun c -> c.Model = model) let mercedes = match getCar("Mercedes") with | Some c -> c.ToString() | _ -> "not found" let ferrari = match getCar("Ferrari") with | Some c -> c.ToString() | _ -> "not found" Code signals: the, How, Nullable, ...
) from the BsonDocumentBsonDocument cars.AsEnumerable() ) cars.Value |> Seq.tryFind(fun c -> c.Model = model) let mercedes = match getCar("Mercedes") with | Some c -> c.ToString() | _ -> "not found" let ferrari = match getCar("Ferrari") with | Some c -> c.ToString() | _ -> "not found" Code signals: the, How, Nullable, ...
[ -0.00250244140625, 0.01116943359375, -0.01226806640625, -0.0037689208984375, -0.0145263671875, -0.007354736328125, -0.0103759765625, 0.0014495849609375, 0.00775146484375, -0.0306396484375, -0.0108642578125, 0.042724609375, -0.0189208984375, -0.00799560546875, 0.023681640625, -0.0027465...
[ 1388, 1295, 70, 335, 1681, 239469, 571, 2258, 7, 19659, 647, 2606, 56, 2886, 856, 50770, 503, 864, 15123, 204582, 16498, 501, 33079, 140290, 3299, 2633, 102403, 988, 14858, 2046, 21851, 202855, 678, 31384, 7763, 71713, 214, 10869, 14037, ...
[ 0.10699462890625, 0.09637451171875, 0.07476806640625, 0.1116943359375, 0.2100830078125, 0.236572265625, 0.06280517578125, 0.1929931640625, 0.0836181640625, 0.1181640625, 0.03216552734375, 0.1685791015625, 0.124755859375, 0.1417236328125, 0.0836181640625, 0.14892578125, 0.058044433593...
embed
6683830_c0
6683830
fsharp
0
Title: F# Lazy Evaluation vs Non-Lazy Problem title: F# Lazy Evaluation vs Non-Lazy Tags: f%23, lazy-evaluation Problem: F# Lazy Evaluation vs Non-Lazy I'm just beginning F# so please be kind if this is basic. I've read that a function marked lazy is evaluated only once and then cached. For example: let lazyFunc = lazy...
F# Lazy Evaluation vs Non-Lazy F# Lazy Evaluation vs Non-Lazy f%23 lazy-evaluation Lazy Evaluation Non-Lazy Lazy.force F# Lazy Evaluation vs Non-Lazy I'm just beginning F# so please be kind if this is basic. I've read that a function marked lazy is evaluated only once and then cached. For example: Compared to this vers...
[ 0.0034332275390625, 0.006011962890625, 0.02197265625, -0.0004787445068359375, 0.00299072265625, -0.006866455078125, 0.002197265625, 0.005950927734375, 0.00396728515625, 0.0032958984375, -0.00445556640625, 0.0233154296875, -0.00078582763671875, 0.0002346038818359375, 0.0201416015625, 0....
[ 563, 4904, 239, 3285, 151228, 20209, 3775, 2729, 1238, 3742, 21, 159258, 50930, 8562, 62822, 12301, 32354, 94419, 151575, 4734, 24145, 7068, 82365, 113307, 11389, 20653, 11675, 12638, 1733, 35839, 756, 7228, 14847, 959, 3444 ]
[ 0.1258544921875, 0.2042236328125, 0.1845703125, 0.2342529296875, 0.2215576171875, 0.111083984375, 0.152587890625, 0.140380859375, 0.03271484375, 0.0172576904296875, 0.1627197265625, 0.133056640625, 0.138916015625, 0.015960693359375, 0.0091552734375, 0.00042724609375, 0.1666259765625,...
embed
7964110_c0
7964110
fsharp
0
Title: In what situations lists in F# are optimized by the compiler? Problem title: In what situations lists in F# are optimized by the compiler? Tags: optimization, list, f%23 Problem: In what situations lists in F# are optimized by the compiler? In what situations lists in F# are optimized by F# compiler to arrays, t...
In what situations lists in F# are optimized by the compiler? In what situations lists in F# are optimized by the compiler? optimization list f%23 List.map In what situations lists in F# are optimized by the compiler? In what situations lists in F# are optimized by F# compiler to arrays, to for-loops, while loops, etc....
[ 0.006072998046875, 0.00836181640625, 0.006072998046875, -0.01416015625, -0.01361083984375, 0.004486083984375, 0.001983642578125, -0.0002574920654296875, -0.00183868408203125, 0.0172119140625, -0.00457763671875, 0.0042724609375, 0.0078125, 0.01226806640625, -0.005126953125, -0.009765625...
[ 113949, 5303, 7, 563, 4904, 15572, 29367, 9969, 34759, 23, 390, 87235, 1238, 3742, 32036, 62346, 2367, 47, 10298, 4778, 100, 28354, 12960, 40956, 15490, 105233, 8561, 11001, 3126, 2053, 191147, 3714, 20653, 911, 26783, 645, 40715, 13267, 58...
[ 0.1392822265625, 0.229248046875, 0.043426513671875, 0.1416015625, 0.2039794921875, 0.1832275390625, 0.08135986328125, 0.154052734375, 0.1463623046875, 0.032928466796875, 0.0159149169921875, 0.167236328125, 0.096923828125, 0.0791015625, 0.1650390625, 0.1226806640625, 0.020965576171875...
embed
54848813_c0
54848813
fsharp
0
Title: Possible to optimize pattern-matching code segment in one line? Problem title: Possible to optimize pattern-matching code segment in one line? Tags: f%23 Problem: Possible to optimize pattern-matching code segment in one line? I am wondering if there is a way to write this line without piping h to calcVol functi...
Possible to optimize pattern-matching code segment in one line? Possible to optimize pattern-matching code segment in one line? f%23 Possible Possible to optimize pattern-matching code segment in one line? I am wondering if there is a way to write this line without piping h to calcVol function twice? Where h is a tuple...
[ 0.005218505859375, 0.00897216796875, 0.01220703125, 0.012451171875, -0.00116729736328125, -0.018310546875, -0.00823974609375, -0.0050048828125, 0.01312255859375, -0.018310546875, 0.00189971923828125, 0.00958251953125, 0.01031494140625, -0.01190185546875, 0.0159912109375, 0.004730224609...
[ 115861, 2661, 15572, 20650, 103510, 98753, 214, 18151, 33180, 23, 1632, 13315, 47, 1238, 3949, 3742, 9, 149016, 3917, 33022, 903, 15490, 2147, 10366, 1096, 6510, 238, 73668, 32354, 186351, 10, 370, 8705, 70541, 17262, 158208, 30646, 21917, ...
[ 0.14697265625, 0.133056640625, 0.1864013671875, 0.0968017578125, 0.2210693359375, 0.23095703125, 0.06048583984375, 0.166015625, 0.2208251953125, 0.0560302734375, 0.1180419921875, 0.152099609375, 0.019866943359375, 0.07659912109375, 0.04473876953125, 0.14599609375, 0.000762939453125, ...
embed
56480757_c0
56480757
fsharp
0
Title: F# async equivalent of Promise.race? Problem title: F# async equivalent of Promise.race? Tags: f%23, asynchronous Problem: F# async equivalent of Promise.race? In JavaScript, there is a function called Promise.race that takes a list of promises and returns a new promise that completes when any of the input promi...
F# async equivalent of Promise.race? F# async equivalent of Promise.race? f%23 asynchronous Promise.race Async.Parallel Async.Race F# async equivalent of Promise.race? In JavaScript, there is a function called Promise.race that takes a list of promises and returns a new promise that completes when any of the input prom...
[ -0.01202392578125, 0.013427734375, 0.0125732421875, -0.005615234375, -0.00616455078125, -0.012451171875, 0.0185546875, 0.00113677978515625, -0.006683349609375, -0.0032501220703125, 0.014404296875, 0.00775146484375, 0.00408935546875, 0.01263427734375, 0.0234375, 0.00433349609375, 0.01...
[ 563, 4904, 10, 12654, 238, 183234, 1250, 5453, 99407, 111, 5, 1238, 3742, 101966, 62, 55292, 1229, 12248, 17925, 32354, 51776, 5303, 103036, 30646, 3525, 28484, 3229, 2499, 107730, 7, 229815, 51610, 2298, 156202, 147845, 162080, 10752, 141, ...
[ 0.1595458984375, 0.223876953125, 0.0743408203125, 0.252685546875, 0.1212158203125, 0.1822509765625, 0.1788330078125, 0.24072265625, 0.2646484375, 0.02703857421875, 0.06884765625, 0.1068115234375, 0.1163330078125, 0.1190185546875, 0.04449462890625, 0.113525390625, 0.1505126953125, 0...
embed
3541051_c0
3541051
fsharp
0
Title: Primefactors in F# Problem title: Primefactors in F# Tags: algorithm, f%23 Problem: Primefactors in F# I am trying to learn F#. I wrote a function that factors out primes. let PrimeFactors x = let rec PrimeFactorsRecursive x div list = if x % div = 0 then PrimeFactorsRecursive (x/div) div list @ [div] elif div >...
Primefactors in F# Primefactors in F# algorithm f%23 Primefactors PrimeFactorsRecursive System.Math.Sqrt Primefactors in F# I am trying to learn F#. I wrote a function that factors out primes. Now I am unsure if this is a good F# function or if it is more like "c#, written in f#". Is there a "more" functional way to wr...
[ -0.01611328125, 0.0072021484375, 0.0291748046875, -0.0034027099609375, 0.0198974609375, -0.005401611328125, 0.00165557861328125, -0.03466796875, -0.00469970703125, -0.019775390625, 0.0120849609375, 0.0059814453125, -0.007568359375, 0.00016880035400390625, -0.00031280517578125, -0.00799...
[ 56195, 144810, 7, 23, 563, 4904, 234873, 1238, 3949, 3742, 135518, 22230, 48650, 5844, 12353, 199450, 864, 3198, 31577, 30698, 54397, 32354, 120103, 1810, 20809, 87, 51646, 4127, 1286, 1884, 238, 59121, 17678, 123309, 3917, 33022, 903, 18151 ...
[ 0.203369140625, 0.2900390625, 0.059356689453125, 0.04876708984375, 0.153076171875, 0.2142333984375, 0.1954345703125, 0.1060791015625, 0.08013916015625, 0.1331787109375, 0.150634765625, 0.05670166015625, 0.11328125, 0.00103759765625, 0.08258056640625, 0.058563232421875, 0.044799804687...
embed
76425334_c0
76425334
fsharp
0
Title: in F#, what is the precedence of the forward composition operator, relatively to the pipe forward operator? Problem title: in F#, what is the precedence of the forward composition operator, relatively to the pipe forward operator? Tags: f%23 Problem: in F#, what is the precedence of the forward composition opera...
in F#, what is the precedence of the forward composition operator, relatively to the pipe forward operator? in F#, what is the precedence of the forward composition operator, relatively to the pipe forward operator? f%23 in F#, what is the precedence of the forward composition operator, relatively to the pipe forward o...
[ 0.01214599609375, -0.01171875, 0.00238037109375, 0.0322265625, -0.0167236328125, -0.0022735595703125, 0.006561279296875, -0.00958251953125, 0.003692626953125, 0.00927734375, 0.000598907470703125, 0.01953125, 0.03564453125, 0.003936767578125, 0.00982666015625, -0.01318359375, -0.00634...
[ 23, 563, 4904, 2367, 107671, 6620, 40225, 166577, 39933, 35845, 137158, 1238, 3949, 3742, 4865, 16265, 54, 4439, 111, 41392, 12488, 23180, 28219, 48502, 3004, 14037 ]
[ 0.02752685546875, 0.124755859375, 0.219482421875, 0.011810302734375, 0.1412353515625, 0.091064453125, 0.199462890625, 0.2017822265625, 0.24560546875, 0.047332763671875, 0.1385498046875, 0.076416015625, 0.03179931640625, 0.088134765625, 0.00006103515625, 0.119140625, 0.041015625, 0....
embed
38767927_c0
38767927
fsharp
0
Title: Can an F# project be used as the primary project/host for codedui testing? Problem title: Can an F# project be used as the primary project/host for codedui testing? Tags: f%23, coded-ui-tests Problem: Can an F# project be used as the primary project/host for codedui testing? I really don't want to have to add an...
Can an F# project be used as the primary project/host for codedui testing? Can an F# project be used as the primary project/host for codedui testing? f%23 coded-ui-tests Can Can an F# project be used as the primary project/host for codedui testing? I really don't want to have to add an F# project that is just for my C#...
[ -0.010009765625, 0.0162353515625, 0.025390625, -0.00665283203125, -0.00823974609375, -0.01904296875, 0.00311279296875, -0.0211181640625, 0.011474609375, -0.01080322265625, -0.00653076171875, -0.0179443359375, -0.02197265625, 0.0087890625, 0.016357421875, 0.00201416015625, -0.00352478...
[ 4171, 563, 4904, 13452, 11814, 237, 158978, 40294, 18151, 45630, 134234, 100, 1238, 3742, 71, 4515, 6954, 3444, 15190, 111481, 3034, 19048, 11782, 3934, 43257, 28271, 23, 154107, 1614, 50986, 6955, 532, 1528, 17447, 26785, 831, 27980, 166179,...
[ 0.095458984375, 0.138916015625, 0.2391357421875, 0.1573486328125, 0.1297607421875, 0.07672119140625, 0.1326904296875, 0.1680908203125, 0.1541748046875, 0.25439453125, 0.2115478515625, 0.04351806640625, 0.06298828125, 0.0231170654296875, 0.04119873046875, 0.07476806640625, 0.149780273...
embed
9433308_c0
9433308
fsharp
0
Title: how to specify that the Tuple belongs to FSharpCore.dll? Problem title: how to specify that the Tuple belongs to FSharpCore.dll? Tags: asp.net-mvc, c%23, f%23 Problem: how to specify that the Tuple belongs to FSharpCore.dll? Possible Duplicate: Including FSharp.Core in a C# project: resolving type collisions I h...
how to specify that the Tuple belongs to FSharpCore.dll? how to specify that the Tuple belongs to FSharpCore.dll? asp.net-mvc c%23 f%23 Tuple FSharpCore.dll asp.net-mvc how to specify that the Tuple belongs to FSharpCore.dll? I have referenced the Microsoft.FSharp.Core.dll file to my web application on .NET. My fsharp ...
[ -0.009521484375, 0.0186767578125, -0.00982666015625, 0.0019683837890625, 0.0067138671875, -0.01190185546875, -0.015380859375, 0.00958251953125, -0.00396728515625, -0.04248046875, -0.000934600830078125, -0.00244140625, -0.0098876953125, 0.0150146484375, 0.021728515625, 0.001602172851562...
[ 3642, 40140, 18929, 1371, 8705, 10617, 47, 93774, 3467, 254, 50886, 13, 71, 1181, 1179, 66357, 3742, 1238, 237, 70, 186, 91067, 7244, 36381, 11435, 1467, 38415, 17777, 89280, 32354, 30646, 4904, 16188, 4842, 32316, 35773, 1294, 10517, 5612,...
[ 0.040374755859375, 0.1627197265625, 0.10638427734375, 0.138427734375, 0.2357177734375, 0.1220703125, 0.07080078125, 0.0986328125, 0.181884765625, 0.1749267578125, 0.176025390625, 0.1126708984375, 0.0343017578125, 0.1585693359375, 0.08837890625, 0.14404296875, 0.0556640625, 0.085083...
embed
74564457_c0
74564457
fsharp
0
Title: Generic F# function Problem title: Generic F# function Tags: generics, f%23, exponentiation Problem: Generic F# function I'm very new to F#, and I need to write an exponentiation function that accepts any types of variables. let exp value pow = let mutable result = 1.0 for i = 1 to abs pow do result <- value * r...
Generic F# function Generic F# function generics f%23 exponentiation Generic Generic F# function I'm very new to F#, and I need to write an exponentiation function that accepts any types of variables. Tried inline, but it doesn't work with recursion. I would be grateful for any help!
[ 0.0030059814453125, -0.01373291015625, -0.0002307891845703125, -0.016845703125, 0.021728515625, 0.00579833984375, 0.0032958984375, -0.004119873046875, 0.03857421875, 0.01385498046875, 0.0040283203125, -0.005218505859375, 0.000370025634765625, -0.0057373046875, 0.0164794921875, 0.010070...
[ 88342, 1771, 563, 4904, 32354, 189534, 7, 1238, 3949, 3742, 78643, 21616, 2320, 87, 4552, 3525, 47, 3871, 33022, 26946, 2499, 52895, 77336, 4699, 23, 2256, 4, 1284, 22027, 18, 4488, 678, 195625, 1830, 2806, 225876, 4358 ]
[ 0.166015625, 0.0660400390625, 0.1541748046875, 0.2144775390625, 0.2108154296875, 0.234130859375, 0.04364013671875, 0.1201171875, 0.09490966796875, 0.1785888671875, 0.1851806640625, 0.1429443359375, 0.033172607421875, 0.00048828125, 0.023223876953125, 0.05108642578125, 0.018310546875,...
embed
5070710_c0
5070710
fsharp
0
Title: F# compiler directive for &#x27;symbol not defined&#x27; Problem title: F# compiler directive for &#x27;symbol not defined&#x27; Tags: f%23 Problem: F# compiler directive for 'symbol not defined' Is there a way to specify that a symbol should not be defined, in an F# #if directive? Something like this: #if not C...
F# compiler directive for &#x27;symbol not defined&#x27; F# compiler directive for &#x27;symbol not defined&#x27; f%23 COMPILED F# compiler directive for 'symbol not defined' Is there a way to specify that a symbol should not be defined, in an F# #if directive? Something like this: Though the above is a syntax error. T...
[ -0.004852294921875, -0.003143310546875, -0.01080322265625, 0.0145263671875, -0.0224609375, 0.004180908203125, 0.00189208984375, 0.01275634765625, -0.007476806640625, 0.00823974609375, -0.0230712890625, 0.006561279296875, 0.01806640625, 0.0067138671875, 0.00848388671875, 0.0262451171875...
[ 563, 4904, 9969, 34759, 8951, 5844, 3768, 176726, 959, 61924, 71, 1238, 3742, 61898, 52099, 3917, 40140, 18929, 26582, 5608, 468, 3190, 6002, 86531, 18499, 163846, 22021, 7225, 397, 132824 ]
[ 0.10443115234375, 0.190185546875, 0.1143798828125, 0.1207275390625, 0.15185546875, 0.153564453125, 0.0679931640625, 0.225830078125, 0.1607666015625, 0.2178955078125, 0.0772705078125, 0.029296875, 0.033050537109375, 0.07244873046875, 0.1021728515625, 0.04473876953125, 0.1241455078125,...
embed
25456276_c0
25456276
fsharp
0
Title: Remove duplicates in a String [] list f# Problem title: Remove duplicates in a String [] list f# Tags: list, arrays, f%23, duplicates Problem: Remove duplicates in a String [] list f# I need some noob help... I have a String[] list (a list that each element is a Array of strings) I wish to remove all duplicates ...
Remove duplicates in a String [] list f# Remove duplicates in a String [] list f# list arrays f%23 duplicates Remove NotDuplicated Duplicated Seq.distinct Seq.distinctBy Remove duplicates in a String [] list f# I need some noob help... I have a String[] list (a list that each element is a Array of strings) I wish to re...
[ -0.01116943359375, 0.0107421875, -0.0076904296875, 0.023193359375, 0.00171661376953125, -0.0211181640625, 0.01422119140625, 0.0201416015625, 0.00579833984375, -0.00145721435546875, -0.0302734375, 0.02685546875, 0.0164794921875, 0.008544921875, -0.01336669921875, 0.0020294189453125, 0...
[ 181139, 171763, 1636, 23, 23351, 214, 5303, 1238, 4904, 10298, 4778, 3949, 3742, 11205, 17726, 52721, 3674, 786, 864, 38893, 75358, 10, 378, 87, 3871, 110, 3522, 4358, 27, 765, 12638, 12830, 69253, 53, 111, 79315, 32599, 47, 87388, 756, ...
[ 0.1839599609375, 0.292236328125, 0.201416015625, 0.0938720703125, 0.2091064453125, 0.101806640625, 0.205810546875, 0.07659912109375, 0.0863037109375, 0.111083984375, 0.05810546875, 0.05401611328125, 0.14892578125, 0.073974609375, 0.07672119140625, 0.1998291015625, 0.0231781005859375,...
embed
4073161_c0
4073161
fsharp
0
Title: Avoiding nested pattern matching (possibly with maybe monad) Problem title: Avoiding nested pattern matching (possibly with maybe monad) Tags: f%23 Problem: Avoiding nested pattern matching (possibly with maybe monad) How could nested pattern matching, such as the following example, be re-written so that None is...
Avoiding nested pattern matching (possibly with maybe monad) Avoiding nested pattern matching (possibly with maybe monad) f%23 Avoiding None Some b.SomeProperty d.SomeProperty Avoiding nested pattern matching (possibly with maybe monad) How could nested pattern matching, such as the following example, be re-written so ...
[ -0.019287109375, 0.005645751953125, 0.024658203125, -0.000606536865234375, 0.0034332275390625, -0.004058837890625, -0.005340576171875, -0.0089111328125, 0.01324462890625, -0.004974365234375, 0.021484375, 0.0196533203125, -0.005889892578125, 0.0048828125, 0.010009765625, 0.0086669921875...
[ 84361, 86675, 8512, 71, 103510, 14858, 214, 7522, 51139, 2667, 712, 172, 678, 1238, 3949, 3742, 438, 86, 31384, 876, 282, 1264, 104, 11249, 5809, 25632, 27781, 456, 5429, 75639, 221, 450, 83, 58735, 297, 4734, 24145, 83425, 86869, 903, ...
[ 0.1768798828125, 0.070556640625, 0.2452392578125, 0.1439208984375, 0.2030029296875, 0.2181396484375, 0.087158203125, 0.060028076171875, 0.1981201171875, 0.1563720703125, 0.1895751953125, 0.050445556640625, 0.001556396484375, 0.0679931640625, 0.06317138671875, 0.137451171875, 0.150390...
embed
43795010_c2
43795010
fsharp
2
one, another, MSBuild, versionfile:version.htm, Program, Files, x86, Microsoft, SDKs, Framework, v4.0, Microsoft.FSharp.targets, VersionFile, Bin, MSBuild.exe, Users, Documents, Visual, Studio, Projects, Library1, Library1.fsproj, Build, Engine, Copyright, Corporation, All, Project, CoreCompile, fsc.exe, o:obj, Debug,...
one, another, MSBuild, versionfile:version.htm, Program, Files, x86, Microsoft, SDKs, Framework, v4.0, Microsoft.FSharp.targets, VersionFile, Bin, MSBuild.exe, Users, Documents, Visual, Studio, Projects, Library1, Library1.fsproj, Build, Engine, Copyright, Corporation, All, Project, CoreCompile, fsc.exe, o:obj, Debug,...
[ -0.022705078125, -0.00457763671875, -0.006500244140625, 0.00872802734375, -0.003387451171875, -0.0113525390625, -0.0162353515625, -0.0004730224609375, 0.0004711151123046875, 0.032470703125, -0.00811767578125, -0.01470947265625, 0.00193023681640625, -0.0003204345703125, 0.0213623046875, ...
[ 1632, 15700, 4, 16265, 121137, 11389, 29822, 12, 46354, 79983, 7663, 42724, 1022, 15276, 7244, 159, 45461, 202220, 81, 151152, 5, 36381, 3467, 254, 867, 3794, 40647, 174350, 16666, 46480, 53400, 43101, 73372, 22968, 27331, 103835, 418, 17447,...
[ 0.1319580078125, 0.2025146484375, 0.019989013671875, 0.171630859375, 0.301513671875, 0.2100830078125, 0.217529296875, 0.0266265869140625, 0.19384765625, 0.1685791015625, 0.150390625, 0.168701171875, 0.036712646484375, 0.226806640625, 0.209228515625, 0.0635986328125, 0.2388916015625, ...
embed
2908357_c0
2908357
fsharp
0
Title: How does pattern matching work behind the scenes in F#? Problem title: How does pattern matching work behind the scenes in F#? Tags: functional-programming, f%23, algorithm, pattern-matching Problem: How does pattern matching work behind the scenes in F#? I am completely new to F# (and functional programming in ...
How does pattern matching work behind the scenes in F#? How does pattern matching work behind the scenes in F#? functional-programming f%23 algorithm pattern-matching How How does pattern matching work behind the scenes in F#? I am completely new to F# (and functional programming in general) but I see pattern matching ...
[ 0.008056640625, 0.021484375, 0.01092529296875, -0.00933837890625, -0.0035400390625, 0.0123291015625, -0.017822265625, 0.00139617919921875, 0.00360107421875, -0.01153564453125, 0.0341796875, -0.00067901611328125, 0.00347900390625, -0.0037841796875, 0.0034332275390625, -0.014892578125, ...
[ 11249, 14602, 103510, 14858, 214, 4488, 50155, 70, 28302, 7, 23, 563, 4904, 123309, 28966, 1238, 3949, 3742, 234873, 98753, 64557, 3525, 56037, 11814, 219743, 121413, 18151, 149016, 27781, 3642, 20653, 43240, 28987, 20697, 5701, 100, 40956, 4...
[ 0.08642578125, 0.067626953125, 0.2406005859375, 0.23388671875, 0.133544921875, 0.1226806640625, 0.16845703125, 0.002471923828125, 0.146728515625, 0.0251617431640625, 0.049560546875, 0.1258544921875, 0.1904296875, 0.1197509765625, 0.07470703125, 0.0804443359375, 0.0197601318359375, ...
embed
61972674_c0
61972674
fsharp
0
Title: No error highlighting for a F# file named test.fsx in VSCode Problem title: No error highlighting for a F# file named test.fsx in VSCode Tags: f%23, ionide Problem: No error highlighting for a F# file named test.fsx in VSCode When I open test.fsx in VSCode, it doesn't show error highlighting. If I change its nam...
No error highlighting for a F# file named test.fsx in VSCode No error highlighting for a F# file named test.fsx in VSCode f%23 ionide test.fsx VSCode No error highlighting for a F# file named test.fsx in VSCode When I open test.fsx in VSCode, it doesn't show error highlighting. If I change its name to Test.fsx or test1...
[ 0.0019378662109375, -0.0026397705078125, -0.0037841796875, 0.0108642578125, 0.007415771484375, 0.009521484375, -0.0174560546875, 0.017333984375, -0.01708984375, 0.0390625, 0.0047607421875, 0.00145721435546875, 0.0024871826171875, 0.0033416748046875, 0.0181884765625, 0.004852294921875, ...
[ 438, 18499, 127308, 214, 563, 4904, 11435, 3034, 5, 17447, 425, 44160, 114211, 24, 23, 1238, 3949, 3742, 45339, 2506, 100, 4806, 9803, 22027, 18, 7639, 15549, 9351, 8647, 418, 43240, 5885, 5361, 91084, 13452, 20633, 1179, 130250, 196651, ...
[ 0.087158203125, 0.17626953125, 0.2252197265625, 0.050262451171875, 0.1217041015625, 0.189208984375, 0.1429443359375, 0.233642578125, 0.03253173828125, 0.2059326171875, 0.1900634765625, 0.192626953125, 0.2318115234375, 0.0185546875, 0.00732421875, 0.07806396484375, 0.00042724609375, ...
embed
1155450_c0
1155450
fsharp
0
Title: Modules v. namespaces in F# Problem title: Modules v. namespaces in F# Tags: f%23 Problem: Modules v. namespaces in F# I've got a library written in F#, consumed by C# and F#. this library defines a class foo , in module bar , in namespace random : #light namespace random module bar type foo() = ... Now, when I ...
Modules v. namespaces in F# Modules v. namespaces in F# f%23 Modules random.foo.bar random.foo Modules v. namespaces in F# I've got a library written in F#, consumed by C# and F#. this library defines a class foo , in module bar , in namespace random : Now, when I go to consume type random.foo.bar , C# intellisense see...
[ 0.01611328125, 0.0179443359375, 0.005584716796875, 0.00799560546875, 0.00003933906555175781, 0.008544921875, 0.006866455078125, -0.005645751953125, -0.01171875, -0.020751953125, -0.006256103515625, 0.00531005859375, 0.00830078125, -0.0009002685546875, -0.000919342041015625, -0.00927734...
[ 63014, 90, 81, 210716, 563, 4904, 23, 1238, 3742, 96759, 3584, 31, 1299, 7, 35773, 1294, 59121, 18588, 136, 61924, 18507, 5775, 88996, 1909, 13, 10644, 5, 313, 892, 27077, 184, 40, 237, 8512, 142, 92940, 47, 173591, 25553, 316, 2886, ...
[ 0.1964111328125, 0.0972900390625, 0.1597900390625, 0.273681640625, 0.153564453125, 0.22607421875, 0.03369140625, 0.0178985595703125, 0.0687255859375, 0.20068359375, 0.1507568359375, 0.1468505859375, 0.1593017578125, 0.0703125, 0.12646484375, 0.082275390625, 0.0267791748046875, 0.16...
embed
50825295_c0
50825295
fsharp
0
Title: How to load csvs with different structures using CSVProvider? Problem title: How to load csvs with different structures using CSVProvider? Tags: csv, f%23 Problem: How to load csvs with different structures using CSVProvider? Any Ideas? My current code is below. let rawdata csvfile FinCsv.Load(data).Rows |> Seq....
How to load csvs with different structures using CSVProvider? How to load csvs with different structures using CSVProvider? csv f%23 CSVProvider How FinCsv.Load Rows Seq.filter row.Id row.Country Honduras row.Tax Seq.groupBy Seq.averageBy List.ofSeq How to load csvs with different structures using CSVProvider? Any Idea...
[ 0.030517578125, -0.006988525390625, -0.00185394287109375, 0.02197265625, 0.01141357421875, 0.00830078125, 0.0247802734375, 0.0260009765625, 0.01446533203125, 0.00567626953125, -0.004486083984375, -0.0262451171875, -0.00177001953125, -0.0164794921875, -0.01171875, -0.0035400390625, -0...
[ 11249, 47, 72367, 20763, 18043, 678, 12921, 45646, 7, 17368, 25841, 41195, 83220, 820, 334, 1238, 3949, 3742, 13316, 441, 67756, 15363, 712, 96190, 503, 864, 120337, 15555, 108210, 191019, 9874, 51588, 8216, 32036, 77298, 43581, 18151, 35064 ...
[ 0.0731201171875, 0.036834716796875, 0.207763671875, 0.119140625, 0.241943359375, 0.1229248046875, 0.1715087890625, 0.1815185546875, 0.00128173828125, 0.048309326171875, 0.119873046875, 0.08544921875, 0.1287841796875, 0.2091064453125, 0.2069091796875, 0.01483154296875, 0.0192413330078...
embed
53266503_c0
53266503
fsharp
0
Title: Please how do I make this function Tail-recursive in F#? Problem title: Please how do I make this function Tail-recursive in F#? Tags: f%23-data, f%23, f%23-3.0, f%23-interactive Problem: Please how do I make this function Tail-recursive in F#? let ListtoTuple (lst:'a list) :('a * 'a) list = let rec loop (lt :'a...
Please how do I make this function Tail-recursive in F#? Please how do I make this function Tail-recursive in F#? f%23-data f%23 f%23-3.0 f%23-interactive Please Tail-recursive Please how do I make this function Tail-recursive in F#? let ListtoTuple (lst:'a list) :('a * 'a) list = Question: ListtoTuple 6 [1..1000000] I...
[ 0.0206298828125, 0.01275634765625, 0.0028533935546875, 0.00384521484375, 0.0291748046875, 0.0189208984375, -0.00830078125, -0.005157470703125, 0.0196533203125, -0.0146484375, 0.005218505859375, -0.00994873046875, -0.006500244140625, 0.00860595703125, 0.00811767578125, -0.00582885742187...
[ 30607, 3642, 87, 3249, 903, 32354, 1218, 379, 9, 107, 48650, 5844, 23, 563, 4904, 1238, 27495, 10135, 3742, 132265, 10433, 71232, 2633, 32036, 188, 15665, 8705, 271, 5303, 31124, 11, 68185, 305, 68252, 197094, 3444, 8562, 16750, 41600, 11...
[ 0.087646484375, 0.0546875, 0.01708984375, 0.1065673828125, 0.0726318359375, 0.196533203125, 0.2113037109375, 0.2069091796875, 0.0733642578125, 0.1087646484375, 0.2159423828125, 0.1583251953125, 0.055877685546875, 0.1453857421875, 0.204833984375, 0.0875244140625, 0.073974609375, 0.0...
embed
24065723_c0
24065723
fsharp
0
Title: How do I create type for array of ProvidedType? Problem title: How do I create type for array of ProvidedType? Tags: type-providers, f%23 Problem: How do I create type for array of ProvidedType? How do I create type for array of ProvidedType? In other words, what is an alternative to MakeArrayType on generic Typ...
How do I create type for array of ProvidedType? How do I create type for array of ProvidedType? type-providers f%23 How ProvidedType MakeArrayType Type How do I create type for array of ProvidedType? How do I create type for array of ProvidedType? In other words, what is an alternative to MakeArrayType on generic Type ...
[ 0.0128173828125, 0.03369140625, -0.010498046875, 0.01483154296875, -0.033203125, -0.01153564453125, -0.017333984375, 0.012451171875, 0.0224609375, 0.00121307373046875, 0.0024261474609375, -0.0147705078125, 0.01226806640625, -0.006927490234375, -0.0020751953125, -0.0040283203125, 0.02...
[ 11249, 28282, 10644, 100, 10298, 53, 123089, 71, 196707, 87, 111, 93136, 14202, 26176, 7614, 7092, 60457, 30700, 189534, 18507, 31577, 18303, 35782, 27781, 18499, 91732, 41018, 7944, 538, 84293, 35735, 41153, 206, 959, 35839, 62952, 32786, 17...
[ 0.03375244140625, 0.162353515625, 0.2685546875, 0.045318603515625, 0.1202392578125, 0.0635986328125, 0.189697265625, 0.100341796875, 0.26611328125, 0.008758544921875, 0.00640869140625, 0.1556396484375, 0.07269287109375, 0.08258056640625, 0.080810546875, 0.1468505859375, 0.24865722656...
embed
70312577_c0
70312577
fsharp
0
Title: Is there a shorthand for Boolean `match` expressions? Problem title: Is there a shorthand for Boolean `match` expressions? Tags: pattern-matching, f%23 Problem: Is there a shorthand for Boolean `match` expressions? Is there a shorthand for the match expression with isVertical here? let bulmaContentParentTile isV...
Is there a shorthand for Boolean `match` expressions? Is there a shorthand for Boolean `match` expressions? pattern-matching f%23 Boolean attr.classes Is there a shorthand for Boolean `match` expressions? Is there a shorthand for the match expression with isVertical here? I assume that an expression like match isVertic...
[ -0.006134033203125, 0.0027313232421875, 0.0166015625, -0.00921630859375, -0.00921630859375, -0.0125732421875, -0.01275634765625, 0.00665283203125, 0.0107421875, 0.0128173828125, 0.014892578125, 0.011474609375, 0.0107421875, 0.01226806640625, 0.0025787353515625, 0.00634765625, 0.00631...
[ 2685, 10, 16610, 12336, 100, 73783, 34677, 98753, 125195, 7, 103510, 214, 1238, 3742, 42, 67413, 14858, 678, 83, 15896, 70760, 3688, 41591, 39210, 32354 ]
[ 0.038238525390625, 0.0604248046875, 0.173583984375, 0.2030029296875, 0.050933837890625, 0.1182861328125, 0.20947265625, 0.267333984375, 0.21142578125, 0.03875732421875, 0.16455078125, 0.04583740234375, 0.03631591796875, 0.075439453125, 0.065185546875, 0.112548828125, 0.2408447265625,...
embed
5468501_c0
5468501
fsharp
0
Title: Building an x64 project doesn&#x27;t remember already built projects in F# Problem title: Building an x64 project doesn&#x27;t remember already built projects in F# Tags: 64-bit, build-process, f%23, x86 Problem: Building an x64 project doesn't remember already built projects in F# When I build an F# solution un...
Building an x64 project doesn&#x27;t remember already built projects in F# Building an x64 project doesn&#x27;t remember already built projects in F# 64-bit build-process f%23 x86 Building x64 x86 Building an x64 project doesn't remember already built projects in F# When I build an F# solution under x86 for a second or...
[ -0.0076904296875, 0.0026092529296875, -0.00093841552734375, 0.004852294921875, 0.0037689208984375, -0.0036163330078125, -0.0184326171875, 0.00299072265625, 0.00830078125, 0.0262451171875, 0.01806640625, -0.01092529296875, 0.00182342529296875, 0.0081787109375, 0.02587890625, 0.007934570...
[ 104919, 1022, 13307, 13452, 3768, 18, 37629, 21771, 88303, 77635, 563, 4904, 7911, 3137, 45367, 63923, 1238, 3742, 15276, 29806, 1379, 17932, 50960, 959, 15549, 38352, 1257, 33976, 9433, 207583, 9790, 5701, 756, 11343, 3229, 30482, 4552, 7280...
[ 0.1385498046875, 0.048126220703125, 0.27685546875, 0.1607666015625, 0.03594970703125, 0.0401611328125, 0.1549072265625, 0.1353759765625, 0.1630859375, 0.1763916015625, 0.1007080078125, 0.1905517578125, 0.185791015625, 0.06378173828125, 0.146240234375, 0.064697265625, 0.03045654296875...
embed
9292615_c0
9292615
fsharp
0
Title: Automatic F# to C# translation Problem title: Automatic F# to C# translation Tags: f%23, xamarin.ios, xamarin.android, c%23, mono Problem: Automatic F# to C# translation I was wondering if there's any automatic conversion of F# code to C# code that works well in practice. The reason for this is that we have a fa...
Automatic F# to C# translation Automatic F# to C# translation f%23 xamarin.ios xamarin.android c%23 mono Automatic xamarin.ios xamarin.android Automatic F# to C# translation I was wondering if there's any automatic conversion of F# code to C# code that works well in practice. The reason for this is that we have a fair ...
[ 0.0089111328125, 0.0306396484375, 0.0233154296875, -0.002166748046875, -0.00170135498046875, 0.01416015625, -0.0145263671875, 0.00274658203125, -0.0017242431640625, -0.0106201171875, -0.0125732421875, -0.01202392578125, -0.01104736328125, 0.023193359375, 0.004547119140625, -0.001930236...
[ 51719, 1771, 563, 4904, 47, 313, 153648, 1238, 3949, 3742, 2459, 44503, 5790, 51796, 532, 22460, 149016, 2174, 2685, 2499, 101038, 142477, 111, 18151, 450, 43240, 5299, 41361, 31635, 765, 44075, 4785, 62775, 23, 1884, 4527, 678, 77879, 100,...
[ 0.2169189453125, 0.095703125, 0.1837158203125, 0.258544921875, 0.175537109375, 0.143310546875, 0.2178955078125, 0.06640625, 0.011962890625, 0.0660400390625, 0.09759521484375, 0.21240234375, 0.1416015625, 0.110107421875, 0.00262451171875, 0.150634765625, 0.08111572265625, 0.01579284...
embed
58701865_c0
58701865
fsharp
0
Title: Not undestanding generics in F# Problem title: Not undestanding generics in F# Tags: f%23 Problem: Not undestanding generics in F# Let's assume this code: let ToLower x = (string x).ToLower() I can call it with: ToLower 3 or: ToLower 3.0 but not both since the first caller defines the type. so, I did this change...
Not undestanding generics in F# Not undestanding generics in F# f%23 Not ToLower Not undestanding generics in F# Let's assume this code: I can call it with: or: but not both since the first caller defines the type. so, I did this change, with my C# knowledge of generics: but same problem, it looks like the first caller...
[ 0.005126953125, 0.005645751953125, 0.0145263671875, -0.001434326171875, -0.00885009765625, -0.01507568359375, 0.0155029296875, -0.004547119140625, 0.01275634765625, -0.00732421875, -0.0191650390625, -0.0218505859375, 0.00958251953125, -0.0238037109375, 0.00058746337890625, -0.024291992...
[ 11205, 9232, 144057, 189534, 7, 563, 4904, 23, 1238, 3949, 3742, 717, 15363, 6488, 41591, 18151, 831, 11782, 442, 678, 12, 707, 1284, 959, 15044, 5117, 56, 61924, 10644, 15549, 51359, 2967, 33342, 5361, 84382, 16487, 29806, 9969, 34759, 1...
[ 0.14111328125, 0.1685791015625, 0.2161865234375, 0.266357421875, 0.072509765625, 0.1556396484375, 0.235595703125, 0.0308990478515625, 0.0953369140625, 0.00762939453125, 0.0869140625, 0.064208984375, 0.09429931640625, 0.107421875, 0.06988525390625, 0.0826416015625, 0.05279541015625, ...
embed
66452133_c0
66452133
fsharp
0
Title: How do I add SRTP constraints on an interface? Problem title: How do I add SRTP constraints on an interface? Tags: f%23 Problem: How do I add SRTP constraints on an interface? Say I'd like an interface with a member Write that accepts a generic type constrained to have an Id: int field. Is this possible in F#? I...
How do I add SRTP constraints on an interface? How do I add SRTP constraints on an interface? f%23 How SRTP Write IDatabase Save How do I add SRTP constraints on an interface? Say I'd like an interface with a member Write that accepts a generic type constrained to have an Id: int field. Is this possible in F#? I've tri...
[ -0.00372314453125, -0.00567626953125, -0.0184326171875, -0.0245361328125, -0.003204345703125, -0.003631591796875, -0.0128173828125, -0.000926971435546875, -0.0177001953125, -0.0255126953125, -0.009033203125, -0.00750732421875, -0.010498046875, 0.005218505859375, 0.0157470703125, 0.0061...
[ 11249, 15190, 26098, 23658, 158, 2816, 4288, 7, 98, 101758, 87, 1238, 3742, 601, 18781, 37382, 64944, 1884, 32786, 26946, 189534, 10644, 9297, 122009, 24799, 23, 18, 44457, 7722, 563, 4904, 143834, 11343, 18151, 959, 129980, 77336, 2806, 14...
[ 0.03656005859375, 0.157958984375, 0.1383056640625, 0.23779296875, 0.1104736328125, 0.1817626953125, 0.1575927734375, 0.0259246826171875, 0.049591064453125, 0.2467041015625, 0.0250091552734375, 0.04608154296875, 0.06890869140625, 0.029144287109375, 0.1422119140625, 0.09478759765625, 0...
embed
59721065_c0
59721065
fsharp
0
Title: what is the correct syntax to use tryremove and byref in F# Problem title: what is the correct syntax to use tryremove and byref in F# Tags: f%23 Problem: what is the correct syntax to use tryremove and byref in F# I have the following: let callbacks = ConcurrentDictionary<string, Object>() I'm trying to use Try...
what is the correct syntax to use tryremove and byref in F# what is the correct syntax to use tryremove and byref in F# f%23 ConcurrentDictionary Object callbacks.TryRemove what is the correct syntax to use tryremove and byref in F# I have the following: I'm trying to use TryRemove: that doesn't compile; I tried too: b...
[ -0.0040283203125, 0.0194091796875, -0.0033721923828125, 0.021728515625, -0.0047607421875, -0.006591796875, -0.0106201171875, 0.014892578125, -0.0034942626953125, -0.03173828125, -0.0024261474609375, 0.02783203125, -0.00634765625, -0.0035552978515625, 0.015869140625, -0.01708984375, -...
[ 26785, 6002, 86531, 4527, 9790, 26973, 272, 136, 390, 29087, 563, 4904, 1238, 3742, 163812, 10763, 134549, 11782, 12620, 1294, 4332, 432, 23, 31577, 40858, 9969, 1340, 37842, 5701 ]
[ 0.1190185546875, 0.11865234375, 0.20361328125, 0.059661865234375, 0.1925048828125, 0.2244873046875, 0.1878662109375, 0.06793212890625, 0.10443115234375, 0.2705078125, 0.0831298828125, 0.150146484375, 0.0282440185546875, 0.07147216796875, 0.120849609375, 0.030364990234375, 0.112426757...
embed
71890310_c0
71890310
fsharp
0
Title: Difference between #seq and seq in F# Problem title: Difference between #seq and seq in F# Tags: f%23 Problem: Difference between #seq and seq in F# I was wondering what #seq means in the F# interactive shell. I had a collect function with 2 parameters, a function and a sequence, where this function is applied t...
Difference between #seq and seq in F# Difference between #seq and seq in F# f%23 Difference Seq.item sq1 Seq.skip Difference between #seq and seq in F# I was wondering what #seq means in the F# interactive shell. I had a collect function with 2 parameters, a function and a sequence, where this function is applied to th...
[ 0.033935546875, 0.0150146484375, 0.0142822265625, 0.0294189453125, -0.00015163421630859375, -0.0034637451171875, -0.0216064453125, 0.010986328125, 0.022216796875, -0.01123046875, 0.0047607421875, 0.01806640625, 0.00750732421875, 0.01708984375, 0.0103759765625, -0.0004787445068359375, ...
[ 803, 18234, 6620, 17721, 468, 184, 864, 136, 40, 23, 563, 4904, 1238, 3742, 503, 217, 195, 44024, 149016, 2367, 26950, 212398, 128019, 43799, 32354, 116, 171859, 944, 190659, 3956, 151575, 4420, 25632, 138256, 14602, 29459, 8108, 110527 ]
[ 0.0762939453125, 0.1973876953125, 0.06207275390625, 0.1072998046875, 0.1600341796875, 0.173095703125, 0.250244140625, 0.075439453125, 0.1578369140625, 0.040130615234375, 0.12548828125, 0.189453125, 0.05059814453125, 0.03729248046875, 0.104248046875, 0.046173095703125, 0.0376892089843...
embed
730234_c0
730234
fsharp
0
Title: Pattern matching on a discriminated union Problem title: Pattern matching on a discriminated union Tags: f%23 Problem: Pattern matching on a discriminated union Is there any way to pattern match on discriminated union functions, e.g.:- type Test = | A of string | B of int | C of char let a = A |> DefaultTest Obv...
Pattern matching on a discriminated union Pattern matching on a discriminated union f%23 Pattern Test DefaultTest u0000 Pattern matching on a discriminated union Is there any way to pattern match on discriminated union functions, e.g.:- Obviously this code isn't valid F# as DefaultTest accepts one parameter of type Tes...
[ -0.0123291015625, 0.016357421875, 0.0213623046875, -0.00323486328125, -0.007537841796875, -0.022705078125, -0.0196533203125, -0.006195068359375, 0.0223388671875, 0.0023956298828125, 0.013916015625, 0.0113525390625, 0.00640869140625, 0.011962890625, 0.0079345703125, 0.000229835510253906...
[ 9876, 22766, 14858, 214, 98, 55970, 3674, 69941, 1238, 3742, 8647, 262, 1021, 7136, 111337, 75, 28568, 2071, 2685, 2499, 3917, 47, 103510, 32354, 18151, 56112, 18, 35604, 563, 4904, 26946, 1632, 171859, 10644, 43257, 3501, 242, 11, 33079, ...
[ 0.16357421875, 0.16552734375, 0.244140625, 0.0770263671875, 0.0628662109375, 0.20751953125, 0.0841064453125, 0.1904296875, 0.031402587890625, 0.08453369140625, 0.171630859375, 0.0955810546875, 0.130126953125, 0.05926513671875, 0.1724853515625, 0.03936767578125, 0.129638671875, 0.00...
embed
75582474_c0
75582474
fsharp
0
Title: F# `Map` algorithm Problem title: F# `Map` algorithm Tags: f%23, binary-search-tree, tree Problem: F# `Map` algorithm What's the algorithm used for the balanced search tree implementation behind F#'s Map type? https://github.com/dotnet/fsharp/blob/main/src/FSharp.Core/map.fs I had guessed it might be an AVL tree...
F# `Map` algorithm F# `Map` algorithm f%23 binary-search-tree tree Map t2h t1h F# `Map` algorithm What's the algorithm used for the balanced search tree implementation behind F#'s Map type? https://github.com/dotnet/fsharp/blob/main/src/FSharp.Core/map.fs I had guessed it might be an AVL tree but I noticed parts of the...
[ 0.01483154296875, 0.01153564453125, 0.01239013671875, -0.004547119140625, -0.0157470703125, 0.006988525390625, -0.017822265625, 0.01275634765625, 0.00439453125, 0.0003910064697265625, -0.00004076957702636719, -0.00439453125, 0.00080108642578125, 0.0341796875, 0.002532958984375, 0.01513...
[ 563, 4904, 166179, 234873, 1238, 3949, 3742, 2394, 6635, 86250, 62600, 53201, 42719, 808, 304, 127, 418, 4865, 11814, 40197, 71, 33938, 208124, 50155, 10644, 15769, 32102, 15464, 1179, 420, 89280, 12986, 275, 36381, 3467, 254, 50886, 62346, ...
[ 0.152587890625, 0.2392578125, 0.26513671875, 0.25830078125, 0.1060791015625, 0.004119873046875, 0.12353515625, 0.1417236328125, 0.037322998046875, 0.1668701171875, 0.2086181640625, 0.24462890625, 0.251220703125, 0.070068359375, 0.1375732421875, 0.1605224609375, 0.05029296875, 0.002...
embed
32063585_c0
32063585
fsharp
0
Title: Captured count in F# Problem title: Captured count in F# Tags: capture, f%23 Problem: Captured count in F# I'm a long term C# developer and trying to get a hold on F# and to do this I wanted to do a little project where I need the following: Is it possible to make a function with the following behavior and how? ...
Captured count in F# Captured count in F# capture f%23 Captured x:int y:iny Captured count in F# I'm a long term C# developer and trying to get a hold on F# and to do this I wanted to do a little project where I need the following: Is it possible to make a function with the following behavior and how? Note: I know it m...
[ 0.0062255859375, 0.007049560546875, -0.0020751953125, 0.01611328125, 0.0057373046875, -0.004150390625, -0.0018463134765625, -0.0101318359375, 0.0177001953125, -0.0167236328125, -0.007049560546875, 0.0081787109375, -0.01123046875, 0.0242919921875, 0.042724609375, 0.01141357421875, -0....
[ 14304, 987, 297, 54529, 23, 563, 4904, 141621, 1238, 3949, 3742, 1022, 12, 4288, 113, 17867, 13579, 313, 106001, 31577, 16401, 36663, 10176, 13452, 3871, 25632, 2071, 7722, 3249, 32354, 678, 123166, 3642, 13648, 18831, 1884, 1286, 4717, 123...
[ 0.1627197265625, 0.161376953125, 0.05535888671875, 0.25341796875, 0.0584716796875, 0.1544189453125, 0.218017578125, 0.2147216796875, 0.14111328125, 0.108154296875, 0.2015380859375, 0.090576171875, 0.0440673828125, 0.1461181640625, 0.1021728515625, 0.1549072265625, 0.046051025390625, ...
embed
68666933_c1
68666933
fsharp
1
the value from within a LockContext instance. The approach I've thus taken is to implement a custom operation called, for instance, setVal . I've included my attempts thus far but I'm afraid they'd just muddy the waters. It seems that custom operations operate upon the computation built so far within the expression, e...
the value from within a LockContext instance. The approach I've thus taken is to implement a custom operation called, for instance, setVal . I've included my attempts thus far but I'm afraid they'd just muddy the waters. It seems that custom operations operate upon the computation built so far within the expression, e...
[ -0.0024871826171875, 0.0014801025390625, 0.020263671875, -0.01239013671875, 0.0030059814453125, 0.00518798828125, 0.00482177734375, 0.002593994140625, 0.01043701171875, -0.017578125, -0.0230712890625, 0.026611328125, 0.007659912109375, 0.0145263671875, 0.0111083984375, 0.0126953125, ...
[ 70, 34292, 1295, 28032, 80002, 11935, 22829, 110527, 51515, 29479, 114122, 41018, 5423, 42272, 81887, 158200, 196338, 37202, 7, 160404, 54799, 181135, 88303, 2060, 125195, 22, 40899, 237, 370, 8705, 1957, 56065, 7225, 5122, 65514, 8951, 4358, ...
[ 0.06719970703125, 0.2398681640625, 0.10675048828125, 0.17724609375, 0.213134765625, 0.1263427734375, 0.219482421875, 0.1937255859375, 0.10302734375, 0.1424560546875, 0.2181396484375, 0.2154541015625, 0.1678466796875, 0.2493896484375, 0.061065673828125, 0.07427978515625, 0.01733398437...
embed
22737975_c0
22737975
fsharp
0
Title: Is Seq.append O(1) time and space? Problem title: Is Seq.append O(1) time and space? Tags: f%23, seq, time-complexity Problem: Is Seq.append O(1) time and space? What is the complexity for Seq.append? Is it O(1) time and space? I might add that (a) I should certainly hope so, and (b) I failed to google my way to...
Is Seq.append O(1) time and space? Is Seq.append O(1) time and space? f%23 seq time-complexity Seq.append Seq Is Seq.append O(1) time and space? What is the complexity for Seq.append? Is it O(1) time and space? I might add that (a) I should certainly hope so, and (b) I failed to google my way to complexity bounds for S...
[ 0.007354736328125, 0.03271484375, 0.0223388671875, 0.0098876953125, 0.0184326171875, -0.02294921875, 0.02197265625, 0.005828857421875, 0.004302978515625, 0.00019168853759765625, 0.006134033203125, 0.01361083984375, 0.00125885009765625, 0.0272216796875, -0.01519775390625, 0.010498046875...
[ 2071, 503, 864, 5, 9007, 3611, 180, 27750, 1733, 136, 32628, 1238, 3742, 40, 277, 44974, 2481, 27140, 15190, 5608, 68782, 15673, 221, 165523, 26484, 3917, 99091, 7, 88996, 43032, 3714, 5161, 3126, 31344, 18151, 208124, 3688, 32354, 109312, ...
[ 0.094970703125, 0.15771484375, 0.2406005859375, 0.05841064453125, 0.162353515625, 0.2242431640625, 0.1944580078125, 0.1380615234375, 0.17431640625, 0.133544921875, 0.2039794921875, 0.05279541015625, 0.0899658203125, 0.1102294921875, 0.0435791015625, 0.1695556640625, 0.109130859375, ...
embed
49154395_c0
49154395
fsharp
0
Title: Let Bindings Type Inference Problem title: Let Bindings Type Inference Tags: .net, f%23, types Problem: Let Bindings Type Inference I have the following code in F#: let value = NSUserDefaults.StandardUserDefaults.StringForKey("type") if value <> null then //we know type is not null Here I do not specify a type f...
Let Bindings Type Inference Let Bindings Type Inference .net f%23 types Bindings Type Inference NSUserDefaults.StandardUserDefaults.StringForKey Let Bindings Type Inference I have the following code in F#: Here I do not specify a type for value . However, since F# is a statically typed language, the compiler must deduc...
[ 0.01220703125, 0.007476806640625, -0.0147705078125, 0.029296875, -0.00592041015625, 0.00836181640625, 0.01263427734375, -0.0003147125244140625, -0.005218505859375, 0.00933837890625, -0.0250244140625, -0.0216064453125, -0.000431060791015625, 0.01153564453125, 0.0211181640625, 0.01043701...
[ 10842, 1843, 33770, 7, 60457, 360, 69988, 1179, 1238, 3742, 52895, 2189, 187423, 11, 191769, 71713, 18537, 162429, 25632, 18151, 563, 4904, 40140, 10644, 34292, 13254, 46876, 9969, 34759, 8110, 8, 106357, 24763, 12638, 64549, 20271, 98352, 56...
[ 0.13330078125, 0.1414794921875, 0.2003173828125, 0.02239990234375, 0.2469482421875, 0.0567626953125, 0.205322265625, 0.1304931640625, 0.042449951171875, 0.1241455078125, 0.1680908203125, 0.0579833984375, 0.0157928466796875, 0.038299560546875, 0.0391845703125, 0.03570556640625, 0.0331...
embed
53965551_c0
53965551
fsharp
0
Title: Error when creating function to find the largest element in a list Problem title: Error when creating function to find the largest element in a list Tags: f%23 Problem: Error when creating function to find the largest element in a list I wish to create a function that return the largest value in a given list, He...
Error when creating function to find the largest element in a list Error when creating function to find the largest element in a list f%23 Error li::lf aalist.Head Error when creating function to find the largest element in a list I wish to create a function that return the largest value in a given list, Here is what I...
[ 0.0037384033203125, 0.005615234375, 0.006988525390625, -0.001678466796875, 0.0025177001953125, 0.003509521484375, -0.007354736328125, -0.009521484375, -0.0006561279296875, -0.0247802734375, 0.0162353515625, 0.002838134765625, 0.01904296875, -0.01470947265625, 0.035400390625, -0.0104980...
[ 212059, 3229, 105233, 32354, 47, 7413, 70, 142105, 12830, 23, 5303, 10, 1238, 3949, 3742, 400, 12, 17463, 11, 6562, 13025, 712, 87, 32599, 28282, 30646, 34292, 34475, 11853, 83, 4966, 18499, 7, 31577, 11675, 18, 3714, 903, 2965, 3917, 3...
[ 0.201416015625, 0.0310211181640625, 0.2071533203125, 0.2032470703125, 0.042144775390625, 0.140380859375, 0.08984375, 0.21875, 0.201416015625, 0.06378173828125, 0.1859130859375, 0.04339599609375, 0.080322265625, 0.052215576171875, 0.14306640625, 0.0888671875, 0.005706787109375, 0.16...
embed
67339818_c1
67339818
fsharp
1
The first method works as is but it isn't collecting very useful information. The 2nd method would be the way to go to capture more specifics of the error but it always carries the exception up the chain. How can my 2nd version of the code be minimally modified (if possible) to prevent the error from being passed back...
The first method works as is but it isn't collecting very useful information. The 2nd method would be the way to go to capture more specifics of the error but it always carries the exception up the chain. How can my 2nd version of the code be minimally modified (if possible) to prevent the error from being passed back...
[ -0.0012664794921875, 0.046875, -0.0220947265625, -0.004608154296875, 0.007110595703125, -0.00439453125, -0.00054931640625, -0.00110626220703125, -0.003204345703125, -0.007110595703125, -0.01226806640625, 0.00147247314453125, 0.0067138671875, -0.00762939453125, 0.0277099609375, 0.003997...
[ 5117, 55300, 43240, 237, 83, 1284, 18, 43799, 214, 4552, 80234, 4677, 116, 2208, 3917, 141621, 1286, 29458, 18499, 11343, 2258, 131527, 1257, 121293, 11249, 831, 11389, 18151, 186, 20187, 73197, 3190, 7722, 56282, 1295, 115081, 4420, 11782, ...
[ 0.0628662109375, 0.1688232421875, 0.0848388671875, 0.0787353515625, 0.10235595703125, 0.008392333984375, 0.01715087890625, 0.1463623046875, 0.028106689453125, 0.018524169921875, 0.08404541015625, 0.08404541015625, 0.169921875, 0.1453857421875, 0.0029296875, 0.094970703125, 0.01684570...
embed
7713377_c0
7713377
fsharp
0
Title: How to compile a .fs file into a .exe? Problem title: How to compile a .fs file into a .exe? Tags: f%23 Problem: How to compile a .fs file into a .exe? I do not find a way to compile a simple file (.fs) to a .exe. I tried this example and it does not work: In the file dolphin.fs: let longBeaked = "Delphinus cape...
How to compile a .fs file into a .exe? How to compile a .fs file into a .exe? f%23 How Delphinus Known Dolphins dolphins.fs dolphins.exe How to compile a .fs file into a .exe? I do not find a way to compile a simple file (.fs) to a .exe. I tried this example and it does not work: In the file dolphin.fs: You can now com...
[ 0.00830078125, 0.01165771484375, -0.0029144287109375, 0.02392578125, -0.027099609375, 0.01806640625, 0.00885009765625, -0.00189971923828125, -0.007568359375, 0.001800537109375, 0.00250244140625, 0.012451171875, 0.0003185272216796875, 0.0211181640625, 0.00885009765625, 0.0084228515625, ...
[ 11249, 47, 9969, 1340, 5, 17447, 11435, 3934, 10, 46480, 1238, 3949, 3742, 8901, 19379, 7851, 70829, 19, 20384, 1779, 13111, 959, 7413, 3917, 8781, 37842, 903, 27781, 14602, 4488, 360, 831, 5036, 18151, 142, 29426, 647, 127887, 3688, 1849...
[ 0.07586669921875, 0.1129150390625, 0.1981201171875, 0.18212890625, 0.09356689453125, 0.278076171875, 0.2052001953125, 0.135498046875, 0.06787109375, 0.2705078125, 0.050994873046875, 0.0204010009765625, 0.096923828125, 0.06781005859375, 0.2078857421875, 0.121826171875, 0.0916748046875...
embed
62303085_c0
62303085
fsharp
0
Title: how to get nth element from List in f# using option Problem title: how to get nth element from List in f# using option Tags: list, functional-programming, f%23 Problem: how to get nth element from List in f# using option Im new to f# and i'm trying to make this exercise: "Implement a function" let rec nth(n : in...
how to get nth element from List in f# using option how to get nth element from List in f# using option list functional-programming f%23 List option l.Length None how to get nth element from List in f# using option Im new to f# and i'm trying to make this exercise: "Implement a function" that returns the element in pos...
[ -0.0081787109375, 0.009765625, 0.0198974609375, -0.01708984375, 0.00015544891357421875, -0.0125732421875, 0.01806640625, -0.0245361328125, -0.0059814453125, -0.0011749267578125, 0.0203857421875, -0.0250244140625, -0.0185546875, 0.0032806396484375, -0.0106201171875, -0.005035400390625, ...
[ 3642, 2046, 653, 927, 12830, 1295, 32036, 23, 1238, 4904, 17368, 35829, 5303, 123309, 28966, 3742, 96, 449, 438, 47, 3525, 81979, 128878, 19929, 32354, 30646, 19069, 34831, 95307, 7225, 63262, 56649, 43581, 18151, 179933, 4358 ]
[ 0.046142578125, 0.111083984375, 0.2095947265625, 0.2257080078125, 0.1920166015625, 0.1126708984375, 0.18115234375, 0.0587158203125, 0.1109619140625, 0.1707763671875, 0.011322021484375, 0.23681640625, 0.1202392578125, 0.1082763671875, 0.041839599609375, 0.1517333984375, 0.123779296875...
embed
26725121_c0
26725121
fsharp
0
Title: Match and bind the fields of record type in one match pattern? Problem title: Match and bind the fields of record type in one match pattern? Tags: f%23 Problem: Match and bind the fields of record type in one match pattern? Is it possible to match and bind the fields of record type in the match pattern statement...
Match and bind the fields of record type in one match pattern? Match and bind the fields of record type in one match pattern? f%23 Match A:int B:string Some r.A r.B Can None Match and bind the fields of record type in one match pattern? Is it possible to match and bind the fields of record type in the match pattern sta...
[ -0.0135498046875, 0.0150146484375, 0.0004138946533203125, 0.024169921875, -0.0078125, -0.01507568359375, -0.00738525390625, 0.0016021728515625, 0.00921630859375, 0.00909423828125, 0.006317138671875, 0.009033203125, 0.01708984375, 0.0010833740234375, -0.0021209716796875, 0.0015335083007...
[ 67407, 136, 68557, 44457, 17164, 10644, 23, 1632, 14858, 103510, 7, 1238, 3949, 3742, 62, 4288, 335, 91693, 31384, 1690, 571, 4171, 438, 86, 2071, 7722, 63805, 60075, 25632, 370, 8705 ]
[ 0.2392578125, 0.06951904296875, 0.2100830078125, 0.2186279296875, 0.2059326171875, 0.1533203125, 0.0268096923828125, 0.1253662109375, 0.2283935546875, 0.248779296875, 0.0179901123046875, 0.0653076171875, 0.012908935546875, 0.1209716796875, 0.052215576171875, 0.1190185546875, 0.082519...
embed
33846885_c0
33846885
fsharp
0
Title: F# nested List.iter calls Problem title: F# nested List.iter calls Tags: nested, f%23, iterator, loops Problem: F# nested List.iter calls I have an F# function and I want to try varying some of the parameters and testing all such combinations. Is this the right approach? (The parentheses get a bit dense...): let...
F# nested List.iter calls F# nested List.iter calls nested f%23 iterator loops List.iter MyFunc UploadResult System.DateTime.Today F# nested List.iter calls I have an F# function and I want to try varying some of the parameters and testing all such combinations. Is this the right approach? (The parentheses get a bit de...
[ -0.01104736328125, -0.0004673004150390625, 0.004791259765625, 0.0035400390625, -0.02099609375, 0.01171875, 0.026611328125, -0.0213623046875, 0.0108642578125, 0.021240234375, 0.004974365234375, -0.01055908203125, 0.033203125, 0.0013885498046875, -0.000576019287109375, -0.001571655273437...
[ 563, 4904, 8512, 71, 32036, 16840, 11782, 1238, 3949, 3742, 17, 720, 4597, 40956, 2646, 97249, 238, 171958, 7, 7136, 12353, 70059, 7763, 5636, 765, 32354, 3444, 9790, 285, 38543, 3060, 171859, 134234, 756, 6044, 162515, 2071, 903, 70, 710...
[ 0.1226806640625, 0.212646484375, 0.2464599609375, 0.08453369140625, 0.200439453125, 0.218017578125, 0.2056884765625, 0.09197998046875, 0.009246826171875, 0.1361083984375, 0.0182647705078125, 0.1781005859375, 0.1124267578125, 0.160888671875, 0.08367919921875, 0.135009765625, 0.0093383...
embed
41092845_c0
41092845
fsharp
0
Title: List&lt;int&gt; vs int list in F Sharp Problem title: List&lt;int&gt; vs int list in F Sharp Tags: f%23, generics, list Problem: List vs int list in F Sharp Is there any difference between List<int> and int list ? For example, when I write a function let somefn a : int list = a and let somefn2 a : List<int> = a ...
List&lt;int&gt; vs int list in F Sharp List&lt;int&gt; vs int list in F Sharp f%23 generics list List Sharp somefn2 List vs int list in F Sharp Is there any difference between List<int> and int list ? For example, when I write a function and Returned value types differ with notation style, and even in the console outpu...
[ 0.0133056640625, 0.003448486328125, 0.0059814453125, -0.00063323974609375, -0.0135498046875, -0.003387451171875, 0.000232696533203125, 0.00799560546875, 0.021484375, 0.01153564453125, -0.00848388671875, -0.00885009765625, 0.00714111328125, -0.0050048828125, 0.00360107421875, 0.00668334...
[ 32036, 1277, 4288, 5386, 20209, 23, 18, 5303, 563, 197106, 1238, 3742, 189534, 14783, 304, 2071, 2685, 2499, 60212, 17721, 136, 33022, 32354, 173340, 297, 34292, 52895, 129927, 110, 22062, 20623, 130250, 140992, 23253, 6626, 117781, 959, 6277...
[ 0.2445068359375, 0.016204833984375, 0.1888427734375, 0.1162109375, 0.1529541015625, 0.142822265625, 0.1976318359375, 0.260498046875, 0.1357421875, 0.2294921875, 0.06488037109375, 0.0833740234375, 0.165771484375, 0.023193359375, 0.06683349609375, 0.009246826171875, 0.010040283203125, ...
embed
9023678_c0
9023678
fsharp
0
Title: F# profiling and JIT_ChkCastAny Problem title: F# profiling and JIT_ChkCastAny Tags: f%23, .net Problem: F# profiling and JIT_ChkCastAny I'm profiling a bit of F# code with VS2010, and the profiler shows that about 20% of the time is spent in 'JIT_ChkCastAny', but doesn't go so far as to point to the offending b...
F# profiling and JIT_ChkCastAny F# profiling and JIT_ChkCastAny f%23 .net JIT_ChkCastAny F# profiling and JIT_ChkCastAny I'm profiling a bit of F# code with VS2010, and the profiler shows that about 20% of the time is spent in 'JIT_ChkCastAny', but doesn't go so far as to point to the offending bit of code. Does anyone...
[ 0.025146484375, 0.00445556640625, 0.00762939453125, 0.000457763671875, -0.012939453125, -0.0006866455078125, -0.0030670166015625, 0.0078125, -0.01226806640625, -0.0234375, -0.0067138671875, -0.0177001953125, 0.0001392364501953125, -0.00628662109375, 0.007720947265625, -0.00346374511718...
[ 563, 4904, 9468, 214, 136, 821, 6371, 15982, 92, 174830, 299, 1238, 3949, 3742, 1179, 454, 4785, 18151, 44160, 11436, 105609, 1672, 12719, 1733, 66933, 1375, 284, 2060, 6275, 29114, 3714, 8562, 8966, 9969, 1340, 3934, 23253, 903, 55300, 6...
[ 0.154296875, 0.2344970703125, 0.271240234375, 0.050994873046875, 0.01751708984375, 0.132080078125, 0.1866455078125, 0.170166015625, 0.1153564453125, 0.15576171875, 0.1912841796875, 0.089111328125, 0.007598876953125, 0.0574951171875, 0.12060546875, 0.032257080078125, 0.070068359375, ...
embed
15153357_c0
15153357
fsharp
0
Title: Why there is a type inference error in this sample Problem title: Why there is a type inference error in this sample Tags: f%23 Problem: Why there is a type inference error in this sample I'm getting "Lookup on object of indeterminate type based on information prior to this program point" error on this snippet: ...
Why there is a type inference error in this sample Why there is a type inference error in this sample f%23 Why Array.mapi x.Length x:string Why there is a type inference error in this sample I'm getting "Lookup on object of indeterminate type based on information prior to this program point" error on this snippet: What...
[ 0.0036163330078125, 0.0184326171875, -0.0145263671875, 0.04150390625, -0.00738525390625, -0.0128173828125, 0.00010251998901367188, 0.0103759765625, 0.0228271484375, 0.01031494140625, 0.01239013671875, -0.0220947265625, 0.01483154296875, -0.0091552734375, 0.016357421875, -0.013061523437...
[ 44084, 2685, 83, 10, 10644, 53498, 6620, 18499, 23, 903, 121413, 1238, 3742, 69253, 53, 192, 1434, 1022, 5267, 449, 12, 91693, 15363, 31, 11322, 98, 36746, 111, 145099, 35509, 4677, 41928, 1528, 6275, 93, 58134, 44691, 73372, 22968, 563, ...
[ 0.130126953125, 0.07147216796875, 0.06390380859375, 0.047576904296875, 0.2379150390625, 0.212158203125, 0.0750732421875, 0.2010498046875, 0.030853271484375, 0.049102783203125, 0.19873046875, 0.05194091796875, 0.06903076171875, 0.1148681640625, 0.117431640625, 0.0789794921875, 0.16137...
embed
73924712_c0
73924712
fsharp
0
Title: F# generic type constricted to specific type? Problem title: F# generic type constricted to specific type? Tags: f%23, generics, functional-programming Problem: F# generic type constricted to specific type? F# forces my unspecifed type to be a bool. I needed a combination of List.find and List.tryPick, and made ...
F# generic type constricted to specific type? F# generic type constricted to specific type? f%23 generics functional-programming FindPickCombi List.find Some List.tryPick F# generic type constricted to specific type? F# forces my unspecifed type to be a bool. I needed a combination of List.find and List.tryPick, and ma...
[ -0.02099609375, 0.01190185546875, 0.01104736328125, -0.008056640625, -0.00457763671875, 0.00005054473876953125, 0.0025634765625, -0.0072021484375, 0.00726318359375, 0.0029296875, -0.002685546875, -0.016845703125, 0.0157470703125, 0.00823974609375, -0.0146484375, 0.0152587890625, 0.00...
[ 563, 4904, 189534, 10644, 158, 144225, 297, 47, 29458, 1238, 3742, 123309, 28966, 26040, 683, 41113, 10770, 964, 32036, 111607, 31384, 15123, 84616, 51, 16711, 14, 44571, 186, 10, 142484, 44841, 162515, 5, 32354, 35064, 11044, 959, 5526, 44...
[ 0.12353515625, 0.2119140625, 0.207275390625, 0.2003173828125, 0.0631103515625, 0.1944580078125, 0.03094482421875, 0.05010986328125, 0.171875, 0.0655517578125, 0.061859130859375, 0.1009521484375, 0.0811767578125, 0.0731201171875, 0.051605224609375, 0.1317138671875, 0.03302001953125, ...
embed
67752579_c1
67752579
fsharp
1
) { return "White"; } else if (color == Color.Silver) { return "Silver"; } else if (color == Color.Gray) { return "Gray"; } else { return "None"; } } } public abstract class ConditionalOperatorTest<T> where T : IConditionalOperator, new() { public void ConditionalOperator_ReturnsName(Color color, string name) {} } publ...
) { return "White"; } else if (color == Color.Silver) { return "Silver"; } else if (color == Color.Gray) { return "Gray"; } else { return "None"; } } } public abstract class ConditionalOperatorTest<T> where T : IConditionalOperator, new() { public void ConditionalOperator_ReturnsName(Color color, string name) {} } publ...
[ 0.00323486328125, -0.02099609375, -0.0015411376953125, 0.0296630859375, 0.000244140625, 0.0030364990234375, 0.000736236572265625, 0.029052734375, -0.00830078125, 0.04541015625, -0.0057373046875, 0.00014495849609375, -0.0172119140625, 0.007415771484375, 0.0012664794921875, 0.03173828125...
[ 1388, 30646, 173473, 37076, 2174, 46133, 69112, 51193, 113020, 814, 10666, 6, 37878, 53, 5021, 86, 51912, 3835, 164789, 18507, 46347, 43315, 156823, 1290, 111337, 618, 384, 87, 11935, 428, 3525, 2292, 71, 4332, 987, 163612, 10625, 1484, 105...
[ 0.0246124267578125, 0.1695556640625, 0.2127685546875, 0.0802001953125, 0.057098388671875, 0.1826171875, 0.05084228515625, 0.1727294921875, 0.1090087890625, 0.0986328125, 0.05450439453125, 0.003173828125, 0.101318359375, 0.08343505859375, 0.0440673828125, 0.06549072265625, 0.010955810...
embed
51092883_c0
51092883
fsharp
0
Title: F# difference between let add1 x = x + 1 and let add2 x = x +1 Problem title: F# difference between let add1 x = x + 1 and let add2 x = x +1 Tags: f%23, types Problem: F# difference between let add1 x = x + 1 and let add2 x = x +1 What is the difference between let add1 x = x + 1 and let add2 x = x +1 . The acci...
F# difference between let add1 x = x + 1 and let add2 x = x +1 F# difference between let add1 x = x + 1 and let add2 x = x +1 f%23 types add1 add2 x:int F# difference between let add1 x = x + 1 and let add2 x = x +1 What is the difference between let add1 x = x + 1 and let add2 x = x +1 . The accidental removal of spac...
[ 0.010009765625, -0.00009918212890625, -0.0087890625, 0.0322265625, 0.01226806640625, 0.022216796875, 0.00390625, -0.0106201171875, 0.00762939453125, -0.00445556640625, 0.0146484375, 0.006072998046875, -0.00634765625, 0.005523681640625, 0.0233154296875, -0.005096435546875, 0.010375976...
[ 563, 4904, 60212, 17721, 2633, 15190, 418, 1022, 997, 106, 136, 304, 57157, 1238, 3742, 52895, 4288, 70, 27998, 49146, 1405, 32628, 98816, 10644, 32354, 3502, 11, 28219, 5117, 63805, 22288, 23, 18, 188, 91084, 17932, 1632, 33636, 189534, ...
[ 0.10211181640625, 0.1934814453125, 0.1956787109375, 0.06982421875, 0.1846923828125, 0.2056884765625, 0.1212158203125, 0.14208984375, 0.1856689453125, 0.124267578125, 0.04443359375, 0.1903076171875, 0.1895751953125, 0.0665283203125, 0.050994873046875, 0.1090087890625, 0.1199951171875,...
embed
38046700_c0
38046700
fsharp
0
Title: F# parse command line arguments Problem title: F# parse command line arguments Tags: f%23 Problem: F# parse command line arguments I need to get 3 parameters from the command kine (cmd) I wrote the following and got an error: [<EntryPoint>] let main(args) = printfn "args: %A" args.[0] let xmlP = args.[0] let exc...
F# parse command line arguments F# parse command line arguments f%23 EntryPoint F# parse command line arguments I need to get 3 parameters from the command kine (cmd) I wrote the following and got an error: I understand that I need to parse the parameters (3 strings). The error I got when I try to run it from the comma...
[ 0.00732421875, 0.015625, -0.0140380859375, -0.000827789306640625, -0.01324462890625, 0.0185546875, 0.00201416015625, -0.01361083984375, -0.006256103515625, -0.00139617919921875, -0.0034332275390625, -0.0208740234375, -0.002288818359375, 0.02001953125, 0.02197265625, -0.018798828125, ...
[ 563, 4904, 366, 184, 75101, 13315, 10750, 1238, 3949, 3742, 357, 15123, 147534, 3871, 2046, 138, 171859, 7, 1295, 200, 86, 3931, 71, 54397, 25632, 18499, 28219, 6896, 79315, 9790, 11675, 70, 60875, 90, 111, 102158, 31471, 509, 50782, 9909...
[ 0.1356201171875, 0.197021484375, 0.14794921875, 0.10174560546875, 0.1729736328125, 0.104736328125, 0.1898193359375, 0.113525390625, 0.05731201171875, 0.19287109375, 0.0631103515625, 0.1634521484375, 0.1661376953125, 0.0972900390625, 0.0870361328125, 0.1722412109375, 0.2318115234375, ...
embed
7597338_c0
7597338
fsharp
0
Title: failwith in the explicit object constructor using F# Problem title: failwith in the explicit object constructor using F# Tags: object, types, f%23, constructor, class Problem: failwith in the explicit object constructor using F# The following code type A (b) = new () = if true then A 4. else failwith "" gives an...
failwith in the explicit object constructor using F# failwith in the explicit object constructor using F# object types f%23 constructor class F# failwith in the explicit object constructor using F# The following code gives an error: This works: Simple question. What is so bad about failwith in the constructor?
[ 0.01123046875, 0.00982666015625, 0.00885009765625, -0.002471923828125, 0.00750732421875, -0.012939453125, 0.005859375, 0.01361083984375, -0.000213623046875, -0.005523681640625, 0.010986328125, 0.0174560546875, 0.029541015625, -0.015380859375, 0.01220703125, -0.0213623046875, 0.008605...
[ 35782, 76228, 23, 143726, 36746, 64549, 748, 17368, 563, 4904, 70, 52895, 1238, 3742, 18507, 25632, 18151, 76199, 18499, 3293, 43240, 60552, 9655, 83, 221, 6494, 1672 ]
[ 0.1956787109375, 0.26708984375, 0.0655517578125, 0.203857421875, 0.1568603515625, 0.17724609375, 0.16064453125, 0.008758544921875, 0.1002197265625, 0.165283203125, 0.013153076171875, 0.0845947265625, 0.0628662109375, 0.1368408203125, 0.06072998046875, 0.05322265625, 0.105224609375, ...
embed
2295574_c0
2295574
fsharp
0
Title: Haskell&#x27;s &quot;deriving Show&quot; in F#? Problem title: Haskell&#x27;s &quot;deriving Show&quot; in F#? Tags: discriminated-union, .net, f%23, haskell, object-to-string Problem: Haskell's "deriving Show" in F#? In Haskell it is easy to make an algebraic type/discriminated union "displayable" as a string b...
Haskell&#x27;s &quot;deriving Show&quot; in F#? Haskell&#x27;s &quot;deriving Show&quot; in F#? discriminated-union .net f%23 haskell object-to-string Haskell Show Pos this.ToString Haskell's "deriving Show" in F#? In Haskell it is easy to make an algebraic type/discriminated union "displayable" as a string by simply a...
[ 0.00194549560546875, 0.010986328125, 0.0167236328125, 0.0211181640625, -0.01141357421875, -0.00689697265625, 0.018310546875, -0.00096893310546875, 0.00604248046875, 0.006622314453125, 0.000576019287109375, -0.0064697265625, 0.01312255859375, 0.0030670166015625, -0.00946044921875, 0.005...
[ 20625, 142508, 3768, 820, 14, 6496, 17367, 563, 4904, 23, 55970, 3674, 87046, 1179, 1238, 1556, 36746, 188, 91693, 13498, 903, 7763, 71713, 23468, 3249, 429, 2844, 10644, 3827, 135421, 69941, 20706, 2886, 237, 79315, 154107, 16406, 80934, 3...
[ 0.116943359375, 0.21240234375, 0.05755615234375, 0.095458984375, 0.0653076171875, 0.1041259765625, 0.265625, 0.1102294921875, 0.2042236328125, 0.00299072265625, 0.14697265625, 0.006439208984375, 0.1207275390625, 0.0640869140625, 0.003204345703125, 0.0887451171875, 0.122314453125, 0...
embed
52855378_c0
52855378
fsharp
0
Title: Extend F# Arrays with lookup for bigint Problem title: Extend F# Arrays with lookup for bigint Tags: f%23 Problem: Extend F# Arrays with lookup for bigint I would like to extend F# Arrays such that I can use arrays without converting to the finite int . Instead I want to work with bigint directly. I was able to ...
Extend F# Arrays with lookup for bigint Extend F# Arrays with lookup for bigint f%23 Extend Arrays this.LengthI this.Length this.Item Item Extend F# Arrays with lookup for bigint I would like to extend F# Arrays such that I can use arrays without converting to the finite int . Instead I want to work with bigint directl...
[ -0.01019287109375, 0.02587890625, 0.0017852783203125, 0.008544921875, 0.0037384033203125, -0.02294921875, 0.01287841796875, 0.010009765625, 0.0024261474609375, -0.0206298828125, 0.0074462890625, 0.019775390625, -0.0302734375, -0.005218505859375, -0.01080322265625, -0.00872802734375, ...
[ 5443, 510, 71, 563, 4904, 69253, 4778, 678, 6713, 2037, 100, 6957, 4288, 1238, 3949, 3742, 903, 449, 927, 568, 2982, 78426, 1884, 65042, 831, 4527, 10298, 15490, 96760, 94418, 23, 18, 3444, 4488, 105237, 15190, 10, 17932, 140909, 55300, ...
[ 0.088623046875, 0.1844482421875, 0.03692626953125, 0.149169921875, 0.2064208984375, 0.1810302734375, 0.169677734375, 0.08642578125, 0.1170654296875, 0.1427001953125, 0.041412353515625, 0.1337890625, 0.215576171875, 0.1033935546875, 0.0029296875, 0.1451416015625, 0.107666015625, 0.0...
embed
43045620_c0
43045620
fsharp
0
Title: #load fails to load shared .fsx Problem title: #load fails to load shared .fsx Tags: f%23, azure-functions, azure Problem: #load fails to load shared .fsx Why doesn't #load work I've tried it in the same folder and in a relative folder as below What am I missing? run.fsx is #load "../shared/shared.fsx" let key =...
#load fails to load shared .fsx #load fails to load shared .fsx f%23 azure-functions azure shared.fsx MyKey Run TraceWriter log.Info run.fsx FS39 #load fails to load shared .fsx Why doesn't #load work I've tried it in the same folder and in a relative folder as below What am I missing? run.fsx is shared.fsx is error is
[ 0.0284423828125, 0.0145263671875, 0.00634765625, 0.003997802734375, -0.01409912109375, -0.001617431640625, 0.006622314453125, -0.009033203125, 0.0167236328125, -0.025390625, 0.00994873046875, 0.00482177734375, 0.00457763671875, -0.01300048828125, 0.0213623046875, 0.01019287109375, -0...
[ 468, 63033, 35782, 47, 72367, 99764, 17447, 425, 1238, 3742, 295, 3408, 137175, 2646, 162429, 28398, 4937, 329, 1456, 2783, 12684, 93147, 11675, 93774, 9323, 44084, 22027, 18, 4488, 37842, 23, 5701, 78303, 35845, 35064, 132283, 83, 18499 ]
[ 0.05377197265625, 0.22119140625, 0.178955078125, 0.010528564453125, 0.1932373046875, 0.20947265625, 0.190673828125, 0.19970703125, 0.0264434814453125, 0.06689453125, 0.0921630859375, 0.181640625, 0.1578369140625, 0.048370361328125, 0.1470947265625, 0.0621337890625, 0.0885009765625, ...
embed
5404692_c0
5404692
fsharp
0
Title: Prime number lazy sequence Problem title: Prime number lazy sequence Tags: f%23 Problem: Prime number lazy sequence I am new in F# and I am just wondering if is there any way to get lazy sequence of prime numbers in F#. In Haskell I use next code: primes :: [Integer] primes = sieve[2..] where sieve (p:xs) = p : ...
Prime number lazy sequence Prime number lazy sequence f%23 Prime Integer p:xs Math.Sqrt Seq.exists Prime number lazy sequence I am new in F# and I am just wondering if is there any way to get lazy sequence of prime numbers in F#. In Haskell I use next code: In F# I can check if is the number is prime: But I don't know ...
[ -0.0137939453125, 0.022216796875, 0.0019989013671875, 0.0191650390625, 0.0186767578125, -0.0034027099609375, 0.029541015625, -0.0106201171875, 0.006927490234375, -0.040771484375, 0.006378173828125, 0.018798828125, -0.0029296875, 0.003936767578125, 0.01129150390625, 0.0172119140625, -...
[ 56195, 14012, 21, 3285, 40, 944, 3956, 1238, 3949, 3742, 44401, 915, 425, 78804, 864, 3198, 503, 54376, 3525, 563, 4904, 149016, 3917, 2046, 20809, 101935, 23, 20625, 142508, 4527, 11737, 18151, 831, 12765, 2174, 83, 70, 3714, 96760, 47 ]
[ 0.196044921875, 0.1614990234375, 0.184814453125, 0.244140625, 0.10400390625, 0.1641845703125, 0.1005859375, 0.1107177734375, 0.10791015625, 0.210693359375, 0.140869140625, 0.0885009765625, 0.08868408203125, 0.03436279296875, 0.10546875, 0.08441162109375, 0.058837890625, 0.182617187...
embed
393492_c0
393492
fsharp
0
Title: Any real world experience debugging a production functional program? Problem title: Any real world experience debugging a production functional program? Tags: scheme, debugging, f%23, functional-programming, haskell Problem: Any real world experience debugging a production functional program? I'm interested in w...
Any real world experience debugging a production functional program? Any real world experience debugging a production functional program? scheme debugging f%23 functional-programming haskell Any Any real world experience debugging a production functional program? I'm interested in what tools and methods are used for di...
[ 0.0184326171875, 0.0120849609375, 0.013916015625, 0.01092529296875, -0.00421142578125, 0.0087890625, -0.0181884765625, 0.0250244140625, 0.01043701171875, -0.02099609375, 0.015869140625, -0.00555419921875, 0.00482177734375, -0.0174560546875, 0.0152587890625, 0.0027008056640625, -0.012...
[ 28541, 2773, 8999, 16981, 8, 978, 36659, 10, 36049, 123309, 1528, 32, 150370, 1238, 3949, 3742, 28966, 214, 1556, 142508, 60892, 2367, 72977, 136, 150624, 11814, 100, 47099, 19729, 21334, 105994, 103391, 4865, 80234, 100094, 35662, 420, 15190...
[ 0.086181640625, 0.14599609375, 0.1400146484375, 0.19091796875, 0.179443359375, 0.2440185546875, 0.1680908203125, 0.012969970703125, 0.19580078125, 0.2039794921875, 0.18505859375, 0.0347900390625, 0.1641845703125, 0.082275390625, 0.0298614501953125, 0.115478515625, 0.1424560546875, ...
embed
5055988_c0
5055988
fsharp
0
Title: Type mismatch compilation error with tuple Problem title: Type mismatch compilation error with tuple Tags: f%23 Problem: Type mismatch compilation error with tuple The Tour of f# has a sample similar to this code: let swap_tuple (a, b) = (b, a) let result = swap_tuple ("one", "two") printfn "%A" result // prints...
Type mismatch compilation error with tuple Type mismatch compilation error with tuple f%23 Type swap_tuple FS0001 Expecting Type mismatch compilation error with tuple The Tour of f# has a sample similar to this code: So the code above work. But why does this code: throws this compilation error: What is wrong in the sec...
[ 0.01904296875, 0.015869140625, -0.0035247802734375, 0.0179443359375, -0.006378173828125, 0.000461578369140625, -0.0107421875, -0.0004444122314453125, 0.0033721923828125, 0.0250244140625, -0.00714111328125, 0.004791259765625, -0.00927734375, 0.01446533203125, 0.0103759765625, 0.00096130...
[ 60457, 1239, 98753, 98352, 18499, 678, 370, 8705, 1238, 3949, 3742, 202317, 458, 93774, 188735, 60075, 24762, 11330, 111, 4904, 121413, 21373, 18151, 36917, 4488, 15400, 104250, 903, 1363, 44691, 17932, 11389 ]
[ 0.207763671875, 0.1134033203125, 0.25830078125, 0.2203369140625, 0.1556396484375, 0.0921630859375, 0.1104736328125, 0.1790771484375, 0.0870361328125, 0.0277099609375, 0.126953125, 0.2022705078125, 0.09173583984375, 0.1075439453125, 0.1781005859375, 0.10595703125, 0.1400146484375, 0...
embed
3142082_c0
3142082
fsharp
0
Title: Get description of types in F# Interactive? Problem title: Get description of types in F# Interactive? Tags: f%23, f%23-interactive, types Problem: Get description of types in F# Interactive? Can I get FSI.exe, the F# Interactive tool, to describe a type for me? In other words, there is a type I know how to acce...
Get description of types in F# Interactive? Get description of types in F# Interactive? f%23 f%23-interactive types Get Interactive Get description of types in F# Interactive? Can I get FSI.exe, the F# Interactive tool, to describe a type for me? In other words, there is a type I know how to access (specifically, IExpr...
[ 0.01263427734375, 0.00396728515625, 0.01202392578125, 0.009521484375, -0.00799560546875, -0.000446319580078125, -0.002471923828125, 0.0162353515625, -0.005523681640625, -0.00095367431640625, 0.00677490234375, -0.005706787109375, -0.01031494140625, 0.0087890625, 0.015380859375, 0.011230...
[ 20779, 76811, 111, 52895, 23, 563, 4904, 5337, 71232, 1238, 3742, 27495, 10433, 4171, 2046, 9902, 5, 46480, 55516, 47, 98363, 10644, 163, 3714, 3642, 17203, 87, 178752, 1830, 360, 2875, 17777, 35773, 959, 150624, 87344, 156377, 4527, 172, ...
[ 0.139404296875, 0.2464599609375, 0.083740234375, 0.273681640625, 0.0870361328125, 0.1319580078125, 0.21826171875, 0.1629638671875, 0.1658935546875, 0.10406494140625, 0.017791748046875, 0.044769287109375, 0.1207275390625, 0.06298828125, 0.0999755859375, 0.224853515625, 0.022216796875,...
embed
14345962_c0
14345962
fsharp
0
Title: &quot;summing&quot; functions in F# Problem title: &quot;summing&quot; functions in F# Tags: f%23, inline Problem: "summing" functions in F# I have a list of functions in F# which are all of type (float -> float -> float -> float). I want to do some kind of fold on the sequence to get a single function which ret...
&quot;summing&quot; functions in F# &quot;summing&quot; functions in F# f%23 inline "summing" functions in F# I have a list of functions in F# which are all of type (float -> float -> float -> float). I want to do some kind of fold on the sequence to get a single function which returns the sum of all of the functions. ...
[ -0.005462646484375, -0.0028228759765625, 0.01708984375, -0.00445556640625, 0.006622314453125, 0.0054931640625, -0.00372314453125, 0.0033721923828125, 0.01708984375, -0.0294189453125, 0.004150390625, 0.0037384033203125, 0.007415771484375, 0.00075531005859375, 0.0203857421875, -0.0009613...
[ 1159, 58838, 41502, 32354, 7, 23, 563, 4904, 3742, 2256, 5303, 10644, 52347, 257, 21917, 3444, 54, 42822, 98, 944, 3956, 2046, 11001, 30646, 10554, 756, 5809, 27875, 142424, 53855, 16655, 17596, 47, 34292, 9969, 6743, 111, 4537, 20650, 19...
[ 0.1925048828125, 0.23046875, 0.016021728515625, 0.2320556640625, 0.048095703125, 0.05908203125, 0.1317138671875, 0.202880859375, 0.06494140625, 0.1292724609375, 0.1287841796875, 0.10205078125, 0.1126708984375, 0.0469970703125, 0.12353515625, 0.0836181640625, 0.0204620361328125, 0.1...
embed
2110862_c0
2110862
fsharp
0
Title: Providing parameter names for delegate types Problem title: Providing parameter names for delegate types Tags: f%23, delegates Problem: Providing parameter names for delegate types Is it possible to specify parameter names for delegate types in F#? When I create a delegate of this type in F#: type DataValidation...
Providing parameter names for delegate types Providing parameter names for delegate types f%23 delegates Providing DataValidationEventHandler DataValidationEventArgs loader_ValidationEvent __p1 __p2 Providing parameter names for delegate types Is it possible to specify parameter names for delegate types in F#? When I c...
[ -0.00225830078125, 0.0177001953125, -0.0029449462890625, -0.000919342041015625, -0.0322265625, 0.005950927734375, -0.00433349609375, 0.005126953125, -0.00531005859375, -0.0107421875, 0.00107574462890625, -0.005035400390625, -0.0062255859375, 0.015869140625, 0.000637054443359375, -0.021...
[ 77345, 86675, 171859, 123055, 100, 102329, 13, 52895, 1238, 3949, 3742, 11809, 42272, 532, 192134, 135679, 603, 7614, 9405, 72367, 56, 418, 304, 2071, 442, 7722, 47, 40140, 18929, 23, 563, 4904, 28282, 10, 903, 10644, 217, 1809, 48281, 13...
[ 0.1585693359375, 0.09381103515625, 0.251220703125, 0.2042236328125, 0.08990478515625, 0.289306640625, 0.1630859375, 0.24072265625, 0.0836181640625, 0.0496826171875, 0.1531982421875, 0.07501220703125, 0.0830078125, 0.0828857421875, 0.140380859375, 0.08984375, 0.0885009765625, 0.0526...
embed
62109540_c1
62109540
fsharp
1
! data = context.GetOfficeScheduleAsync(tableDate) |> Async.AwaitTask return data |> Seq.map(fun q -> { MyVisit.lastname = q.lastname firstname = q.firstname birthdate = q.birthdate appointment_time = q.appointment_time service_time = q.service_time posting_time = q.posting_time chart_number = q.chart_number }) } |> As...
! data = context.GetOfficeScheduleAsync(tableDate) |> Async.AwaitTask return data |> Seq.map(fun q -> { MyVisit.lastname = q.lastname firstname = q.firstname birthdate = q.birthdate appointment_time = q.appointment_time service_time = q.service_time posting_time = q.posting_time chart_number = q.chart_number }) } |> As...
[ -0.00186920166015625, 0.009521484375, 0.01385498046875, 0.01806640625, -0.021728515625, -0.00872802734375, 0.01806640625, -0.01031494140625, 0.00311279296875, -0.0361328125, -0.025146484375, 0.017578125, 0.00150299072265625, 0.01165771484375, -0.000331878662109375, 0.01324462890625, ...
[ 711, 2053, 2203, 43701, 724, 126, 94833, 25452, 15246, 133, 284, 12654, 238, 22819, 86291, 6, 62, 634, 217, 9874, 1042, 30646, 503, 864, 62346, 16498, 8096, 33079, 2646, 65331, 5, 19777, 11627, 5117, 127319, 17489, 5720, 164306, 6032, 140...
[ 0.1185302734375, 0.2232666015625, 0.04498291015625, 0.2430419921875, 0.031951904296875, 0.07733154296875, 0.268798828125, 0.1385498046875, 0.205078125, 0.08203125, 0.009857177734375, 0.2218017578125, 0.098876953125, 0.18310546875, 0.1595458984375, 0.006317138671875, 0.04144287109375,...
embed
67711311_c1
67711311
fsharp
1
= Guid.NewGuid() } ) { m with Printers = getprinters; IsRefreshing = false } Edit #1: The above is a short version of the complete listing. Please see https://github.com/awaynemd/AsyncAndElmish for the complete source code using Elmish.wpf. Thank you. Code signals: isInError, pq.IsInError, non-blocking, How, WPF, GUI, ...
= Guid.NewGuid() } ) { m with Printers = getprinters; IsRefreshing = false } Edit #1: The above is a short version of the complete listing. Please see https://github.com/awaynemd/AsyncAndElmish for the complete source code using Elmish.wpf. Thank you. Code signals: isInError, pq.IsInError, non-blocking, How, WPF, GUI, ...
[ -0.011962890625, 0.00176239013671875, 0.01019287109375, -0.00518798828125, 0.007476806640625, 0.01177978515625, -0.003875732421875, -0.0286865234375, 0.006500244140625, -0.039306640625, 0.00830078125, 0.000827789306640625, 0.0203857421875, -0.01544189453125, -0.0024566650390625, 0.0038...
[ 2203, 6955, 532, 46568, 22769, 132, 347, 678, 39754, 1314, 2046, 35662, 2071, 238781, 214, 98320, 51912, 16610, 11389, 28484, 5303, 5, 15769, 32102, 72274, 2841, 71, 284, 12654, 238, 37839, 7623, 78192, 31344, 18151, 540, 434, 39557, 28864,...
[ 0.066650390625, 0.2100830078125, 0.1898193359375, 0.130859375, 0.211181640625, 0.080078125, 0.1136474609375, 0.11083984375, 0.1881103515625, 0.1455078125, 0.09222412109375, 0.17626953125, 0.0968017578125, 0.232666015625, 0.1644287109375, 0.1065673828125, 0.006683349609375, 0.011657...
embed
56954677_c0
56954677
fsharp
0
Title: How do I return conditional status codes using F# syntax in WebAPI Problem title: How do I return conditional status codes using F# syntax in WebAPI Tags: f%23, asp.net-web-api2 Problem: How do I return conditional status codes using F# syntax in WebAPI I'm struggling to figure out how to make the compiler happy...
How do I return conditional status codes using F# syntax in WebAPI How do I return conditional status codes using F# syntax in WebAPI f%23 asp.net-web-api2 F# How WebAPI HttpGet x.GetQuery FromQuery restaurant:string Name Query.menu Error x.StatusCode IActionResult ActionResult DataTransfer.MenuItemTypes Internal Serve...
[ -0.0299072265625, 0.000102996826171875, -0.0023651123046875, -0.02392578125, -0.0004062652587890625, -0.00909423828125, 0.00176239013671875, -0.0191650390625, -0.015380859375, 0.0181884765625, 0.031982421875, 0.005584716796875, -0.021484375, -0.007720947265625, 0.0155029296875, 0.01342...
[ 11249, 30646, 35431, 289, 10778, 18151, 7, 563, 4904, 6002, 86531, 4002, 74220, 1238, 3742, 254, 1179, 14051, 40897, 304, 1022, 41732, 28090, 17666, 91693, 15757, 58836, 30144, 212059, 135206, 223, 114211, 10763, 4332, 7136, 57945, 62624, 296...
[ 0.031524658203125, 0.1937255859375, 0.193115234375, 0.1259765625, 0.186279296875, 0.1815185546875, 0.0880126953125, 0.1151123046875, 0.1888427734375, 0.0701904296875, 0.13330078125, 0.078857421875, 0.229248046875, 0.043609619140625, 0.09283447265625, 0.0643310546875, 0.04876708984375...
embed
38704808_c0
38704808
fsharp
0
Title: F# Quotation Generating very strange compile error Problem title: F# Quotation Generating very strange compile error Tags: f%23, quotations Problem: F# Quotation Generating very strange compile error I am trying to work out why the following line: let emailQuotation: Expr<LoginView -> string> = <@ fun (v: LoginV...
F# Quotation Generating very strange compile error F# Quotation Generating very strange compile error f%23 quotations Quotation Generating Expr LoginView v.Email.Text ViewModel.Email Entry Text F# Quotation Generating very strange compile error I am trying to work out why the following line: is failing with a compile e...
[ 0.01190185546875, 0.0128173828125, 0.0054931640625, 0.001983642578125, 0.008544921875, -0.0017852783203125, -0.00860595703125, 0.0111083984375, -0.00994873046875, -0.03662109375, -0.016357421875, 0.0108642578125, 0.00067138671875, 0.00238037109375, 0.0172119140625, 0.003387451171875, ...
[ 563, 4904, 43851, 22062, 155370, 4552, 114453, 9969, 1340, 18499, 1238, 3742, 81732, 5256, 60075, 122986, 100474, 161994, 174379, 29805, 140290, 15123, 24129, 15400, 25632, 13315, 35782, 214, 15363, 31, 11322, 111, 36746, 98, 23, 145099, 10644,...
[ 0.09832763671875, 0.195556640625, 0.147705078125, 0.049560546875, 0.12109375, 0.09503173828125, 0.149169921875, 0.139892578125, 0.1441650390625, 0.154296875, 0.059539794921875, 0.09649658203125, 0.1510009765625, 0.0248565673828125, 0.007843017578125, 0.131591796875, 0.2236328125, 0...
embed
27610103_c1
27610103
fsharp
1
logic, but I have no way to match an entry in the sequence after parsing. let CountSystemStart (entries : UsageEvent list) = let rec loop sum = function | SystemStart(_,_,_,_) -> sum + 1 | _ -> sum loop 0 entries This matching does not work because the loop function required a string list . In what other way could I u...
logic, but I have no way to match an entry in the sequence after parsing. let CountSystemStart (entries : UsageEvent list) = let rec loop sum = function | SystemStart(_,_,_,_) -> sum + 1 | _ -> sum loop 0 entries This matching does not work because the loop function required a string list . In what other way could I u...
[ -0.000400543212890625, 0.022705078125, 0.00787353515625, 0.0203857421875, -0.00048065185546875, -0.0103759765625, -0.022705078125, 0.01092529296875, 0.0238037109375, -0.0296630859375, -0.000812530517578125, 0.01446533203125, -0.000316619873046875, 0.014892578125, -0.001556396484375, -0...
[ 62775, 765, 110, 3917, 14858, 42805, 40, 944, 3956, 7103, 366, 6953, 108210, 84293, 126597, 2517, 10484, 70166, 429, 192134, 5303, 2633, 21954, 40956, 10554, 32354, 12353, 997, 106, 757, 112820, 214, 959, 4488, 56065, 79315, 4527, 2053, 705...
[ 0.1943359375, 0.002105712890625, 0.074462890625, 0.0611572265625, 0.2491455078125, 0.185791015625, 0.0166168212890625, 0.1168212890625, 0.056793212890625, 0.0103759765625, 0.1461181640625, 0.06439208984375, 0.1649169921875, 0.1341552734375, 0.1898193359375, 0.0914306640625, 0.0660400...
embed
52256564_c1
52256564
fsharp
1
, it means that every day, for every portfolio, for every instrument, I am creating a new BackTesting (non mutable). I believe this way of reasoning is way more OOP than FP but I am a bit lost on proper patterns to use (the F# books I have used are not very clear on the data structure that works best for FP - or I did ...
, it means that every day, for every portfolio, for every instrument, I am creating a new BackTesting (non mutable). I believe this way of reasoning is way more OOP than FP but I am a bit lost on proper patterns to use (the F# books I have used are not very clear on the data structure that works best for FP - or I did ...
[ 0.00543212890625, 0.0169677734375, -0.0284423828125, -0.00238037109375, 0.0035400390625, -0.0057373046875, 0.013671875, 0.007537841796875, 0.021240234375, -0.014892578125, 0.003173828125, 0.0125732421875, 0.039794921875, 0.004547119140625, 0.00250244140625, 0.00144195556640625, -0.00...
[ 442, 26950, 450, 11907, 5155, 100, 137251, 13984, 444, 105233, 3525, 26828, 111337, 214, 6431, 842, 22819, 3917, 31635, 1286, 180, 20880, 51006, 72856, 103510, 4527, 563, 4904, 42840, 2053, 45646, 43240, 2965, 28219, 34735, 209806, 105363, 28...
[ 0.08868408203125, 0.1444091796875, 0.0224609375, 0.111083984375, 0.1395263671875, 0.027618408203125, 0.22802734375, 0.2061767578125, 0.009674072265625, 0.0667724609375, 0.046783447265625, 0.18359375, 0.244384765625, 0.1004638671875, 0.0601806640625, 0.07623291015625, 0.1514892578125,...
embed
53542600_c0
53542600
fsharp
0
Title: How to setup Backoff with Akkling? Problem title: How to setup Backoff with Akkling? Tags: akka.net, f%23 Problem: How to setup Backoff with Akkling? When using Akka.net directly, I can do something like: let superProps = Backoff.OnFailure(p, "supervised", TimeSpan.FromSeconds(1.0), TimeSpan.FromMinutes(1.0), 0....
How to setup Backoff with Akkling? How to setup Backoff with Akkling? akka.net f%23 How Backoff Akkling Backoff.OnFailure TimeSpan.FromSeconds TimeSpan.FromMinutes actorOf2 SomeActor.someBehavior Props akka.net How to setup Backoff with Akkling? When using Akka.net directly, I can do something like: When I define the p...
[ -0.007659912109375, 0.024169921875, 0.0272216796875, -0.013671875, -0.004791259765625, -0.015625, 0.0126953125, -0.015625, 0.00421142578125, -0.01470947265625, -0.00469970703125, 0.021484375, 0.029052734375, 0.0089111328125, 0.0147705078125, 0.0128173828125, -0.0205078125, -0.00662...
[ 11249, 169581, 26828, 16713, 678, 2471, 63664, 81866, 1179, 3742, 20320, 17647, 379, 19055, 3180, 168407, 2271, 169929, 39329, 132887, 304, 18770, 43452, 98409, 43796, 17368, 62, 5515, 105237, 61924, 25793, 7, 1884, 2046, 18499, 3642, 54, 267...
[ 0.0404052734375, 0.2135009765625, 0.2164306640625, 0.318359375, 0.1109619140625, 0.1390380859375, 0.300537109375, 0.159423828125, 0.1336669921875, 0.07647705078125, 0.08917236328125, 0.10009765625, 0.0733642578125, 0.052001953125, 0.1513671875, 0.06060791015625, 0.046875, 0.1267089...
embed
21296951_c1
21296951
fsharp
1
0]).Cache() What I would like to know is this: Since this would be called multiple times from within Excel, if there would be a significant performance penalty to using the CsvParse method versus the CSV Type provider, particularly if I need to convert/cast anything in the csvparse method. Note I would need to load in ...
0]).Cache() What I would like to know is this: Since this would be called multiple times from within Excel, if there would be a significant performance penalty to using the CsvParse method versus the CSV Type provider, particularly if I need to convert/cast anything in the csvparse method. Note I would need to load in ...
[ 0.0244140625, 0.01434326171875, -0.0035552978515625, 0.0284423828125, -0.0021514892578125, 0.00897216796875, 0.00091552734375, 0.0145263671875, 0.005523681640625, -0.0269775390625, -0.042724609375, 0.00518798828125, 0.006744384765625, -0.003570556640625, -0.005523681640625, 0.018554687...
[ 757, 194, 441, 46994, 2806, 1884, 3714, 903, 35839, 48716, 20028, 1295, 28032, 30326, 10, 88551, 23718, 203249, 17368, 313, 67756, 28636, 184, 55300, 119475, 43486, 60457, 81450, 3871, 96760, 55741, 23937, 20763, 334, 2500, 72367, 23, 201, ...
[ 0.0265350341796875, 0.01318359375, 0.03265380859375, 0.171142578125, 0.01068115234375, 0.05401611328125, 0.0902099609375, 0.006011962890625, 0.1331787109375, 0.1185302734375, 0.14501953125, 0.0178070068359375, 0.091064453125, 0.2296142578125, 0.012908935546875, 0.047088623046875, 0.1...
embed
47045293_c0
47045293
fsharp
0
Title: Visual Studio Code cannot recognise Microsoft Build tools Problem title: Visual Studio Code cannot recognise Microsoft Build tools Tags: visual-studio-code, ionide, f%23, output Problem: Visual Studio Code cannot recognise Microsoft Build tools I am having difficulty using Ionide on Visual Studio code, after fol...
Visual Studio Code cannot recognise Microsoft Build tools Visual Studio Code cannot recognise Microsoft Build tools visual-studio-code ionide f%23 output Visual Studio Microsoft Build Visual Studio Code cannot recognise Microsoft Build tools I am having difficulty using Ionide on Visual Studio code, after following tut...
[ 0.0024261474609375, 0.039794921875, 0.0067138671875, 0.017578125, 0.0133056640625, 0.0169677734375, -0.005035400390625, 0.00982666015625, 0.005126953125, 0.01202392578125, -0.00982666015625, -0.00836181640625, 0.0233154296875, 0.01165771484375, 0.004180908203125, 0.01263427734375, 0....
[ 73372, 22968, 28864, 53418, 75530, 93, 184, 7244, 121137, 72977, 21176, 52629, 40899, 45339, 2506, 1238, 3949, 3742, 140992, 34844, 17368, 37859, 98, 18151, 57143, 80383, 2967, 7464, 70560, 7413, 1210, 111938, 68330, 4165, 20600, 81887, 11675, ...
[ 0.193115234375, 0.2154541015625, 0.2100830078125, 0.1239013671875, 0.1337890625, 0.1163330078125, 0.036285400390625, 0.1768798828125, 0.230712890625, 0.26416015625, 0.177734375, 0.1763916015625, 0.226318359375, 0.17919921875, 0.230712890625, 0.1099853515625, 0.057342529296875, 0.17...
embed
16859626_c0
16859626
fsharp
0
Title: Understanding F# StringConstant Problem title: Understanding F# StringConstant Tags: f%23 Problem: Understanding F# StringConstant I am trying to understand the following code, particularly StringConstant: type StringConstant = StringConstant of string * string [<EntryPoint>] let main argv = let x = StringConsta...
Understanding F# StringConstant Understanding F# StringConstant f%23 Understanding StringConstant EntryPoint Understanding F# StringConstant I am trying to understand the following code, particularly StringConstant: (By way of context, StringConstant is used in the FParsec tutorial , but this example does not use FPars...
[ 0.01177978515625, 0.0130615234375, -0.0191650390625, 0.02880859375, 0.0218505859375, 0.007110595703125, 0.005340576171875, -0.0029296875, -0.000598907470703125, 0.0028076171875, 0.01141357421875, -0.01239013671875, -0.00531005859375, 0.018798828125, -0.01361083984375, 0.001655578613281...
[ 9626, 144057, 563, 4904, 23351, 214, 11935, 42539, 1238, 3949, 3742, 357, 15123, 147534, 31577, 28219, 25632, 18151, 106480, 43701, 11814, 28636, 39797, 57143, 27781, 3714, 2367, 66161, 83, 10644, 63805, 20594, 24145, 34648, 101426, 1022, 2806,...
[ 0.06878662109375, 0.05511474609375, 0.1107177734375, 0.2037353515625, 0.1875, 0.10693359375, 0.09674072265625, 0.2423095703125, 0.05743408203125, 0.07611083984375, 0.1298828125, 0.010955810546875, 0.1160888671875, 0.091796875, 0.00238037109375, 0.073486328125, 0.04827880859375, 0.1...
embed
20128088_c0
20128088
fsharp
0
Title: Specifying type of parameter in F# function declaration Problem title: Specifying type of parameter in F# function declaration Tags: f%23 Problem: Specifying type of parameter in F# function declaration I am just starting out with F# so this is a bit of basic question on best practise with type inference. I am t...
Specifying type of parameter in F# function declaration Specifying type of parameter in F# function declaration f%23 Specifying t.TotalMinutes TimeSpan TotalMinutes Specifying type of parameter in F# function declaration I am just starting out with F# so this is a bit of basic question on best practise with type infere...
[ -0.002532958984375, 0.0159912109375, 0.00860595703125, 0.00665283203125, -0.01092529296875, -0.04638671875, -0.01025390625, 0.00141143798828125, -0.0155029296875, -0.03173828125, 0.018798828125, -0.0010223388671875, -0.02685546875, 0.017333984375, -0.0003147125244140625, 0.021240234375...
[ 24990, 151138, 10644, 171859, 563, 4904, 32354, 21635, 1238, 3949, 3742, 808, 169473, 169929, 19055, 294, 3180, 33867, 62822, 17823, 53498, 31577, 33022, 43240, 112892, 11389, 86120, 23742, 18, 4488, 209303, 11341, 83, 1733, 19332, 154559, 2678...
[ 0.15673828125, 0.078369140625, 0.204345703125, 0.2154541015625, 0.0994873046875, 0.19775390625, 0.1727294921875, 0.1585693359375, 0.06036376953125, 0.00286865234375, 0.110595703125, 0.1434326171875, 0.1134033203125, 0.2364501953125, 0.112060546875, 0.041290283203125, 0.19873046875, ...
embed
46848332_c0
46848332
fsharp
0
Title: Why does loading the System assembly work in the F# Repl, but not in compiled code? Problem title: Why does loading the System assembly work in the F# Repl, but not in compiled code? Tags: reflection, .net, f%23 Problem: Why does loading the System assembly work in the F# Repl, but not in compiled code? let syst...
Why does loading the System assembly work in the F# Repl, but not in compiled code? Why does loading the System assembly work in the F# Repl, but not in compiled code? reflection .net f%23 Why System Repl System.Reflection.Assembly.Load Why does loading the System assembly work in the F# Repl, but not in compiled code?...
[ -0.0037078857421875, 0.0021514892578125, 0.004730224609375, 0.0224609375, -0.00592041015625, -0.007476806640625, 0.0032806396484375, 0.008544921875, -0.01361083984375, -0.029541015625, -0.004425048828125, 0.01611328125, -0.0169677734375, -0.0086669921875, -0.00177764892578125, 0.007080...
[ 44084, 72367, 214, 12353, 10, 89845, 38526, 4488, 563, 4904, 853, 2424, 1284, 959, 375, 5974, 18151, 23, 44961, 1830, 1179, 1238, 3742, 190015, 133, 10763, 284, 15363, 712, 70, 43240, 100, 163, 3229, 15400, 297, 25632, 131527 ]
[ 0.09326171875, 0.193115234375, 0.064697265625, 0.206787109375, 0.05572509765625, 0.22607421875, 0.144287109375, 0.1168212890625, 0.089111328125, 0.1778564453125, 0.128662109375, 0.21337890625, 0.037841796875, 0.09326171875, 0.078125, 0.205322265625, 0.1409912109375, 0.0229187011718...
embed
47548983_c1
47548983
fsharp
1
program point. A type annotation may be needed prior to this program point to constrain the type of the object. This may allow the lookup to be resolved. I want to know what im doing wrong, cause in the interactive tool i get: Referenced '/usr/lib/cli/fsharp/FSharp.Data.2.4.2/lib/net45/FSharp.Data.dll' (file may be lo...
program point. A type annotation may be needed prior to this program point to constrain the type of the object. This may allow the lookup to be resolved. I want to know what im doing wrong, cause in the interactive tool i get: Referenced '/usr/lib/cli/fsharp/FSharp.Data.2.4.2/lib/net45/FSharp.Data.dll' (file may be lo...
[ 0.02294921875, 0.01904296875, 0.00396728515625, 0.017333984375, 0.00921630859375, 0.01251220703125, -0.00469970703125, 0.020751953125, -0.00439453125, -0.029541015625, -0.00860595703125, -0.0166015625, -0.0169677734375, -0.00946044921875, 0.01251220703125, 0.00045013427734375, 0.0266...
[ 1528, 6275, 62, 10644, 8668, 22062, 1543, 44841, 41928, 47, 158, 2816, 73, 36746, 63769, 6713, 2037, 103608, 3444, 3714, 2367, 566, 20594, 44691, 212398, 55516, 2046, 215996, 64, 5612, 150, 420, 89280, 254, 36381, 3467, 5, 137989, 116591, ...
[ 0.166748046875, 0.2015380859375, 0.0093994140625, 0.2391357421875, 0.1871337890625, 0.1405029296875, 0.060333251953125, 0.1038818359375, 0.115478515625, 0.001068115234375, 0.039794921875, 0.1441650390625, 0.0239105224609375, 0.1748046875, 0.00982666015625, 0.1021728515625, 0.15380859...
embed
23424815_c2
23424815
fsharp
2
Version.targets, PrepareForBuild, GetReferenceAssemblyPaths, BeforeResolveReferences, ResolveReferences, AssignProjectConfiguration, _SplitProjectReferencesByFileExistence, ResolveProjectReferences, GetInstalledSDKLocations, ResolveSDKReferences, ResolveAssemblyReferences, ExpandSDKReferences, AfterResolveReferences, I...
Version.targets, PrepareForBuild, GetReferenceAssemblyPaths, BeforeResolveReferences, ResolveReferences, AssignProjectConfiguration, _SplitProjectReferencesByFileExistence, ResolveProjectReferences, GetInstalledSDKLocations, ResolveSDKReferences, ResolveAssemblyReferences, ExpandSDKReferences, AfterResolveReferences, I...
[ -0.013427734375, 0.0281982421875, 0.0091552734375, 0.01263427734375, -0.004364013671875, -0.0301513671875, -0.0225830078125, -0.0172119140625, 0.020751953125, 0.0308837890625, -0.00531005859375, -0.01019287109375, -0.01953125, 0.0159912109375, -0.000152587890625, 0.0037841796875, 0.0...
[ 40647, 5, 867, 3794, 4, 1914, 16082, 18537, 121137, 20779, 4332, 69988, 89845, 38526, 683, 10519, 117371, 86918, 1301, 31304, 223353, 59994, 101, 4353, 90, 75358, 174350, 19279, 6892, 853, 92621, 22916, 6652, 56868, 2940, 24372, 60923, 114363...
[ 0.2393798828125, 0.08245849609375, 0.1993408203125, 0.250732421875, 0.059967041015625, 0.1219482421875, 0.1956787109375, 0.13330078125, 0.1854248046875, 0.10595703125, 0.062255859375, 0.2110595703125, 0.1419677734375, 0.03399658203125, 0.04559326171875, 0.148193359375, 0.115478515625...
embed
42111669_c0
42111669
fsharp
0
Title: Declaring a object public and then using it locally in F# Problem title: Declaring a object public and then using it locally in F# Tags: f%23 Problem: Declaring a object public and then using it locally in F# I don't know much about F# but i am working on a project (on C#) in which i have to make few changes ins...
Declaring a object public and then using it locally in F# Declaring a object public and then using it locally in F# f%23 it Declaring SubscriptionManager DoSomething Declaring a object public and then using it locally in F# I don't know much about F# but i am working on a project (on C#) in which i have to make few cha...
[ 0.0103759765625, 0.036376953125, 0.0172119140625, -0.00060272216796875, -0.00057220458984375, 0.01409912109375, -0.0079345703125, 0.01495361328125, 0.00970458984375, -0.032958984375, 0.0091552734375, 0.0091552734375, 0.00121307373046875, 0.0003299713134765625, 0.0361328125, -0.00346374...
[ 25755, 320, 36746, 3835, 7068, 17368, 4000, 563, 4904, 1238, 3949, 3742, 442, 8273, 59478, 12662, 33730, 984, 64113, 214, 23, 3714, 5045, 20697, 13452, 16, 10846, 65572, 46132, 479, 5429, 18151, 3444, 159978, 136, 4527, 903, 5062, 4171, 1...
[ 0.1019287109375, 0.1265869140625, 0.2138671875, 0.209716796875, 0.0595703125, 0.1280517578125, 0.1346435546875, 0.158935546875, 0.2003173828125, 0.0726318359375, 0.025634765625, 0.1209716796875, 0.037872314453125, 0.1317138671875, 0.1634521484375, 0.0723876953125, 0.09307861328125, ...
embed
51989356_c0
51989356
fsharp
0
Title: Backward compatibility on parsing by means of FParsec Problem title: Backward compatibility on parsing by means of FParsec Tags: f%23, fparsec, parsing Problem: Backward compatibility on parsing by means of FParsec Imagine that I have simple string (in reality this string can contains much complex items like dig...
Backward compatibility on parsing by means of FParsec Backward compatibility on parsing by means of FParsec f%23 fparsec parsing Backward FParsec Backward compatibility on parsing by means of FParsec Imagine that I have simple string (in reality this string can contains much complex items like digit combination, Guid e...
[ -0.009521484375, 0.0225830078125, 0.002471923828125, 0.0380859375, -0.0052490234375, 0.00848388671875, 0.012939453125, 0.000911712646484375, -0.00128936767578125, -0.00982666015625, 0.003326416015625, 0.008544921875, 0.009765625, 0.011474609375, 0.006134033203125, -0.0019989013671875, ...
[ 26828, 19364, 112793, 2481, 98, 366, 6953, 26950, 563, 28636, 39797, 390, 111, 1238, 3949, 3742, 2500, 133196, 87, 765, 8781, 79315, 50081, 831, 70541, 5045, 27140, 55769, 153939, 162515, 6955, 532, 11, 876, 501, 136, 95307, 2189, 43240, ...
[ 0.1954345703125, 0.2489013671875, 0.271484375, 0.118408203125, 0.038543701171875, 0.1572265625, 0.10089111328125, 0.049560546875, 0.1607666015625, 0.181396484375, 0.246826171875, 0.01092529296875, 0.009735107421875, 0.116455078125, 0.03656005859375, 0.1298828125, 0.1492919921875, 0...
embed
2358116_c0
2358116
fsharp
0
Title: F# return sorting indices from array.sort Problem title: F# return sorting indices from array.sort Tags: f%23, functional-programming Problem: F# return sorting indices from array.sort For an F# array, is there an easy way to return sorting indices along with the sorted array? Like the sort() function from Matla...
F# return sorting indices from array.sort F# return sorting indices from array.sort f%23 functional-programming array.sort F# return sorting indices from array.sort For an F# array, is there an easy way to return sorting indices along with the sorted array? Like the sort() function from Matlab? Background: I came from ...
[ -0.001708984375, 0.0037384033203125, 0.01263427734375, -0.027099609375, -0.015380859375, -0.0203857421875, -0.005889892578125, -0.0283203125, 0.01611328125, -0.00323486328125, 0.005584716796875, 0.023681640625, -0.01129150390625, 0.023193359375, 0.013671875, -0.0284423828125, -0.0206...
[ 563, 4904, 30646, 12096, 214, 136044, 1295, 10298, 53, 62351, 1238, 3742, 123309, 28966, 23468, 3917, 47, 7, 33233, 678, 17497, 71, 132, 32354, 7656, 6114, 64330, 2589, 1052, 45258, 85590, 42238, 63262, 27875, 10932, 77336, 127689, 40368, 9...
[ 0.1083984375, 0.1810302734375, 0.1861572265625, 0.1851806640625, 0.0804443359375, 0.2099609375, 0.047882080078125, 0.130859375, 0.096923828125, 0.17724609375, 0.04266357421875, 0.069580078125, 0.10162353515625, 0.057647705078125, 0.091552734375, 0.0458984375, 0.01025390625, 0.05709...
embed
43186675_c0
43186675
fsharp
0
Title: F# Where is JsonValue AsArray? Problem title: F# Where is JsonValue AsArray? Tags: arrays, json, f%23 Problem: F# Where is JsonValue AsArray? I have: open FSharp.Data open FSharp.Data.JsonExtensions [<EntryPoint>] let testjson argv = let info = JsonValue.Parse(json) let infoarray = info.AsArray() But I'm getting...
F# Where is JsonValue AsArray? F# Where is JsonValue AsArray? arrays json f%23 Where JsonValue AsArray FSharp.Data FSharp.Data.JsonExtensions EntryPoint KeyValuePairs Key Value JsonValue.Parse info.AsArray F# Where is JsonValue AsArray? I have: But I'm getting an error on the last line: even though I'm following the ex...
[ -0.0106201171875, -0.0031280517578125, -0.000274658203125, 0.000019788742065429688, -0.0157470703125, -0.00848388671875, -0.01226806640625, 0.00579833984375, -0.00872802734375, 0.014404296875, 0.0037689208984375, 0.0308837890625, -0.00131988525390625, -0.03759765625, 0.0194091796875, -...
[ 563, 4904, 78662, 83, 821, 1681, 856, 50770, 1301, 7614, 7092, 10298, 4778, 1647, 1238, 3949, 3742, 93774, 3467, 254, 137989, 1375, 19279, 128872, 15123, 147534, 26824, 8335, 190060, 28636, 184, 3004, 19659, 765, 18499, 4568, 13315, 25632, ...
[ 0.120849609375, 0.1624755859375, 0.1483154296875, 0.1099853515625, 0.1593017578125, 0.1983642578125, 0.20263671875, 0.233642578125, 0.167724609375, 0.1719970703125, 0.263916015625, 0.10888671875, 0.0828857421875, 0.094482421875, 0.06573486328125, 0.03778076171875, 0.14208984375, 0....
embed
11297953_c0
11297953
fsharp
0
Title: Generalizing a new operator over many types Problem title: Generalizing a new operator over many types Tags: generic-programming, typeclass, functor, f%23, f%23-unquote Problem: Generalizing a new operator over many types I am using Unquote and did not see any approximate comprison. So I decided to write one. le...
Generalizing a new operator over many types Generalizing a new operator over many types generic-programming typeclass functor f%23 f%23-unquote Generalizing E-10 Generalizing a new operator over many types I am using Unquote and did not see any approximate comprison. So I decided to write one. However the operator is n...
[ -0.00787353515625, 0.014404296875, 0.026123046875, 0.01055908203125, 0.0234375, -0.00634765625, 0.018310546875, -0.0024871826171875, -0.005706787109375, 0.010498046875, -0.006134033203125, 0.00897216796875, 0.0211181640625, -0.0174560546875, -0.027587890625, 0.001953125, -0.016723632...
[ 9082, 84382, 3525, 39933, 645, 5941, 52895, 189534, 28966, 10644, 67413, 7477, 18770, 1238, 3742, 167218, 27495, 309, 68726, 241, 9193, 17368, 992, 5134, 48402, 191, 33022, 959, 291, 48398, 32036, 7722, 159978, 903, 86608, 1884, 78690, 442, ...
[ 0.1756591796875, 0.0904541015625, 0.09423828125, 0.240966796875, 0.0955810546875, 0.09906005859375, 0.1981201171875, 0.1488037109375, 0.114013671875, 0.142578125, 0.192626953125, 0.1099853515625, 0.1162109375, 0.054412841796875, 0.06787109375, 0.00494384765625, 0.049896240234375, 0...
embed
46374001_c0
46374001
fsharp
0
Title: Given the anonymous function below, what does the &quot;&lt;fun:clo@1&gt;&quot; mean in the function signature? Problem title: Given the anonymous function below, what does the &quot;&lt;fun:clo@1&gt;&quot; mean in the function signature? Tags: f%23, function, signature Problem: Given the anonymous function belo...
Given the anonymous function below, what does the &quot;&lt;fun:clo@1&gt;&quot; mean in the function signature? Given the anonymous function below, what does the &quot;&lt;fun:clo@1&gt;&quot; mean in the function signature? f%23 function signature Given x:int fun:clo Given the anonymous function below, what does the " ...
[ 0.01470947265625, -0.00482177734375, -0.00726318359375, 0.00799560546875, 0.002960205078125, -0.00110626220703125, 0.00921630859375, 0.00457763671875, -0.0128173828125, 0.0027008056640625, -0.005615234375, -0.01458740234375, -0.005950927734375, 0.003509521484375, 0.000873565673828125, ...
[ 77878, 52184, 10821, 32354, 35064, 2367, 1277, 16498, 12, 63499, 981, 418, 5386, 29459, 138256, 1238, 3949, 3742, 1022, 4288, 7477, 44, 23, 903, 563, 4904, 28219, 20594, 26366, 58, 26950 ]
[ 0.027679443359375, 0.17333984375, 0.1072998046875, 0.1793212890625, 0.07940673828125, 0.05120849609375, 0.019317626953125, 0.192138671875, 0.04888916015625, 0.22265625, 0.149169921875, 0.1026611328125, 0.0086669921875, 0.13134765625, 0.2125244140625, 0.08837890625, 0.0161285400390625...
embed
25768225_c0
25768225
fsharp
0
Title: How do I edit an XML file using type providers? Problem title: How do I edit an XML file using type providers? Tags: f%23, type-providers Problem: How do I edit an XML file using type providers? I understand how to retrieve data from an XML source using type providers. However, I need to then modify a particular...
How do I edit an XML file using type providers? How do I edit an XML file using type providers? f%23 type-providers type How XML MyXml.load doc.ItemId.Id How do I edit an XML file using type providers? I understand how to retrieve data from an XML source using type providers. However, I need to then modify a particular...
[ 0.00634765625, 0.01318359375, 0.023681640625, 0.00186920166015625, 0.0098876953125, 0.005035400390625, -0.0289306640625, -0.01287841796875, -0.0103759765625, -0.01287841796875, 0.02099609375, 0.01031494140625, 0.01336669921875, -0.022216796875, 0.032958984375, -0.005035400390625, -0....
[ 11249, 54, 87, 27211, 92537, 11435, 17368, 10644, 81450, 7, 1238, 3742, 93136, 14202, 2646, 1542, 7237, 63033, 51584, 2982, 28219, 456, 3996, 2053, 1295, 31344, 3871, 2811, 40383, 2831, 30098, 47, 28338, 95486, 34292, 110, 112, 4426, 9, 1...
[ 0.0811767578125, 0.03753662109375, 0.0266265869140625, 0.2159423828125, 0.2464599609375, 0.173828125, 0.10205078125, 0.2432861328125, 0.2420654296875, 0.1204833984375, 0.0177764892578125, 0.055633544921875, 0.1671142578125, 0.0994873046875, 0.065185546875, 0.07861328125, 0.1695556640...
embed
39936027_c0
39936027
fsharp
0
Title: F# Function where x is divisible by 2 or 3 but not 5 Problem title: F# Function where x is divisible by 2 or 3 but not 5 Tags: f%23 Problem: F# Function where x is divisible by 2 or 3 but not 5 I have a function that determines whether a value is divisible by 2 or 3, but **NOT** 5: let ttnf x = if (x % 2 = 0) ||...
F# Function where x is divisible by 2 or 3 but not 5 F# Function where x is divisible by 2 or 3 but not 5 f%23 NOT F# Function where x is divisible by 2 or 3 but not 5 I'm getting a weird response from Visual Studio 2015 in the interactive panel. I execute the above code in the F# interactive panel then enter say... Hi...
[ 0.0078125, 0.0145263671875, 0.025634765625, -0.01220703125, 0.00054931640625, 0.01483154296875, -0.01513671875, -0.002685546875, 0.00384521484375, -0.01251220703125, 0.000789642333984375, 0.0003204345703125, 0.005828857421875, 0.017578125, 0.00616455078125, 0.0162353515625, 0.0170898...
[ 563, 4904, 28670, 7440, 1022, 45, 99017, 390, 116, 138, 1284, 959, 190, 707, 1238, 3949, 3742, 86725, 179459, 57553, 73372, 22968, 918, 212398, 16138, 71924, 36917, 18151, 30957, 5154, 43482, 33720, 5962, 2641, 997, 30646, 17932, 1733, 6528...
[ 0.124267578125, 0.2000732421875, 0.1239013671875, 0.0253143310546875, 0.124267578125, 0.10455322265625, 0.1859130859375, 0.0386962890625, 0.09619140625, 0.1328125, 0.06781005859375, 0.10015869140625, 0.1422119140625, 0.011444091796875, 0.1229248046875, 0.1055908203125, 0.183959960937...
embed
12494295_c0
12494295
fsharp
0
Title: Can we extend a module in the same file Problem title: Can we extend a module in the same file Tags: f%23 Problem: Can we extend a module in the same file Inorder to interop with c#, I do the following namespace foo type a = ... module myhelper = let d = ... open myhelper type b = ... module myhelper = // module...
Can we extend a module in the same file Can we extend a module in the same file f%23 Can Can we extend a module in the same file Inorder to interop with c#, I do the following I wanna add more functions which could use type b, so I have to write them after type b declaration, but I don't want to create a new module eac...
[ 0.00927734375, 0.0091552734375, 0.01055908203125, 0.025634765625, 0.002838134765625, -0.013671875, -0.00154876708984375, -0.0027923583984375, -0.00052642822265625, -0.0284423828125, -0.0021820068359375, 0.01287841796875, 0.000797271728515625, -0.005859375, 0.0087890625, 0.0066528320312...
[ 4171, 642, 65042, 10, 88996, 23, 5701, 11435, 3949, 3742, 1940, 2146, 678, 4904, 6165, 15190, 1286, 32354, 5809, 10644, 876, 33022, 7103, 21635, 28282, 1733, 13453, 4358, 3444, 18151, 17203, 759, 83279, 13, 11, 7964, 210716, 11522, 45646, ...
[ 0.101806640625, 0.0943603515625, 0.244384765625, 0.058319091796875, 0.27880859375, 0.1051025390625, 0.1495361328125, 0.204833984375, 0.006744384765625, 0.06536865234375, 0.10296630859375, 0.1907958984375, 0.04736328125, 0.146484375, 0.02679443359375, 0.086669921875, 0.06219482421875,...
embed