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
62274553_c1
62274553
fsharp
1
fun (x, d) -> x, d) let intBuilder = IntBuilder () let c = intBuilder { for i in 1..2 do for j in 1..2 do for k in 1..2 do for l in 1..2 -> i + j + k + l } // What I get c : seq<(int * (int * (int * int))) * int> // What I want c : seq<(int * int * int * int) * int> In this case c is of type seq<(int * (int * (int * in...
fun (x, d) -> x, d) let intBuilder = IntBuilder () let c = intBuilder { for i in 1..2 do for j in 1..2 do for k in 1..2 do for l in 1..2 -> i + j + k + l } // What I get c : seq<(int * (int * (int * int))) * int> // What I want c : seq<(int * int * int * int) * int> In this case c is of type seq<(int * (int * (int * in...
[ -0.00408935546875, 0.0213623046875, 0.0052490234375, 0.0029449462890625, 0.0087890625, 0.0264892578125, 0.0093994140625, 0.0006103515625, 0.005126953125, -0.035400390625, -0.010498046875, 0.024658203125, 0.004913330078125, 0.011474609375, 0.01019287109375, -0.00726318359375, -0.03735...
[ 7477, 425, 104, 33079, 1022, 2633, 23, 18, 121137, 56, 360, 501, 100, 17, 615, 304, 54, 1647, 472, 96, 997, 4865, 2046, 40, 864, 16093, 4288, 661, 3444, 10644, 181135, 1363, 30646, 11249, 3249, 53383, 28864, 26073, 106516, 67, 592, 28...
[ 0.2236328125, 0.06280517578125, 0.1339111328125, 0.08502197265625, 0.061767578125, 0.0411376953125, 0.12158203125, 0.158447265625, 0.248779296875, 0.17333984375, 0.1279296875, 0.0975341796875, 0.07098388671875, 0.1058349609375, 0.06805419921875, 0.0982666015625, 0.03717041015625, 0...
embed
2518000_c0
2518000
fsharp
0
Title: F#: how to create matrix of elements of any other type except Double Problem title: F#: how to create matrix of elements of any other type except Double Tags: types, matrix, f%23 Problem: F#: how to create matrix of elements of any other type except Double I'm a beginner in F#. I know that there is the way to cr...
F#: how to create matrix of elements of any other type except Double F#: how to create matrix of elements of any other type except Double types matrix f%23 Double F#: how to create matrix of elements of any other type except Double I'm a beginner in F#. I know that there is the way to create Double Matrix using PowerPa...
[ 0.020263671875, -0.002166748046875, 0.018310546875, 0.0033111572265625, 0.01025390625, -0.00970458984375, -0.0218505859375, 0.004119873046875, -0.004486083984375, 0.0081787109375, -0.00555419921875, -0.0223388671875, 0.014892578125, -0.042236328125, -0.018310546875, -0.0002212524414062...
[ 563, 4904, 12, 3642, 28282, 50944, 425, 111, 80854, 2499, 3789, 10644, 40494, 107172, 47, 52895, 1238, 3742, 9842, 1679, 3714, 3917, 194234, 17368, 17170, 205956, 71, 1181, 11249, 831, 678, 10002, 378, 4, 64457, 2806, 6713, 1884 ]
[ 0.1319580078125, 0.19140625, 0.0009765625, 0.045562744140625, 0.1700439453125, 0.2076416015625, 0.1654052734375, 0.064208984375, 0.178955078125, 0.03125, 0.056427001953125, 0.1827392578125, 0.1197509765625, 0.1995849609375, 0.013336181640625, 0.159912109375, 0.05908203125, 0.076904...
embed
32258002_c0
32258002
fsharp
0
Title: What is an F# tail call? Why is it a performance boost over C#? Problem title: What is an F# tail call? Why is it a performance boost over C#? Tags: c%23, chess, f%23 Problem: What is an F# tail call? Why is it a performance boost over C#? This article spells out some reasons F#'s performance is occasionally bet...
What is an F# tail call? Why is it a performance boost over C#? What is an F# tail call? Why is it a performance boost over C#? c%23 chess f%23 What Why What is an F# tail call? Why is it a performance boost over C#? This article spells out some reasons F#'s performance is occasionally better than C#. It says in it's "...
[ 0.03271484375, 0.01251220703125, 0.0223388671875, -0.004913330078125, 0.01397705078125, -0.00048065185546875, -0.01348876953125, -0.0196533203125, 0.006744384765625, 0.021728515625, 0.0166015625, -0.0025787353515625, -0.0093994140625, 0.0233154296875, 0.007049560546875, -0.001457214355...
[ 4865, 83, 142, 563, 4904, 46741, 11782, 44084, 23718, 97551, 645, 313, 442, 3742, 290, 7, 1238, 3949, 6, 10, 5582, 89397, 46505, 11522, 3501, 4734, 139392, 29459, 15400, 1543, 20653, 36356, 17721, 4027, 4527, 8721, 195625, 1830 ]
[ 0.038848876953125, 0.048309326171875, 0.045013427734375, 0.1588134765625, 0.245361328125, 0.258056640625, 0.212646484375, 0.101318359375, 0.1864013671875, 0.2073974609375, 0.09326171875, 0.06182861328125, 0.0189361572265625, 0.0457763671875, 0.134765625, 0.08465576171875, 0.071228027...
embed
58984552_c0
58984552
fsharp
0
Title: porting a dequeue - add loop from C# to F# Problem title: porting a dequeue - add loop from C# to F# Tags: f%23, c%23 Problem: porting a dequeue - add loop from C# to F# I am trying to port this simple loop: var messages = new List<string>(); while (_MessageQueue.TryDequeue(out var message)) messages.Add(message...
porting a dequeue - add loop from C# to F# porting a dequeue - add loop from C# to F# f%23 c%23 C# List _MessageQueue.TryDequeue messages.Add porting a dequeue - add loop from C# to F# I am trying to port this simple loop: where the message queue is concurrent. It is used in a module that enqueues messages from several...
[ 0.0247802734375, -0.00009012222290039062, -0.0093994140625, 0.023681640625, 0.007568359375, -0.000965118408203125, 0.0002574920654296875, -0.005889892578125, 0.000682830810546875, -0.02880859375, 0.01171875, 0.005859375, 0.0106201171875, 0.00823974609375, -0.001983642578125, 0.01141357...
[ 196, 1916, 10, 8, 944, 13388, 15190, 40956, 1295, 313, 4904, 47, 563, 1238, 3742, 32036, 6011, 41732, 1294, 4657, 89914, 4028, 31577, 11469, 8781, 7440, 26008, 41, 133244, 11814, 88996, 22, 21049, 40368, 86997, 9433, 11001, 49666, 9523, 3...
[ 0.11181640625, 0.08349609375, 0.06982421875, 0.19970703125, 0.1507568359375, 0.2171630859375, 0.1324462890625, 0.1890869140625, 0.0850830078125, 0.059478759765625, 0.193603515625, 0.0950927734375, 0.13037109375, 0.0628662109375, 0.0673828125, 0.0963134765625, 0.055084228515625, 0.0...
embed
34889951_c0
34889951
fsharp
0
Title: Is this a good example of tail recursion in F#? Problem title: Is this a good example of tail recursion in F#? Tags: f%23, list, tail-recursion, recursion Problem: Is this a good example of tail recursion in F#? let shuffley (numbers:int list) = let rec loop numbers acc = match numbers with | head::tail -> loop ...
Is this a good example of tail recursion in F#? Is this a good example of tail recursion in F#? f%23 list tail-recursion recursion numbers:int head::tail List.rev head::acc Is this a good example of tail recursion in F#? I am trying to practice some F# and I was wondering if could be a good example of tail recursion or...
[ -0.004913330078125, 0.0167236328125, 0.0166015625, 0.00897216796875, 0.006683349609375, 0.01251220703125, -0.011962890625, -0.014404296875, 0.01123046875, 0.004852294921875, 0.033203125, 0.0286865234375, -0.00015926361083984375, 0.026123046875, 0.0308837890625, -0.004302978515625, -0...
[ 2071, 903, 10, 4127, 27781, 111, 46741, 195625, 1830, 23, 563, 4904, 1238, 3949, 3742, 5303, 107, 48650, 101935, 4288, 10336, 32036, 65381, 10060, 41361, 5809, 100033 ]
[ 0.046844482421875, 0.11962890625, 0.049285888671875, 0.1080322265625, 0.1942138671875, 0.038055419921875, 0.2470703125, 0.2213134765625, 0.07891845703125, 0.04931640625, 0.1317138671875, 0.194580078125, 0.085693359375, 0.007965087890625, 0.133056640625, 0.128173828125, 0.067993164062...
embed
3621043_c0
3621043
fsharp
0
Title: F#: Mutually recursive functions Problem title: F#: Mutually recursive functions Tags: f%23, mutual-recursion, recursion Problem: F#: Mutually recursive functions Possible Duplicate: [F#] How to have two methods calling each other? Hello all, I Have a scenario where I have two functions that would benefit from b...
F#: Mutually recursive functions F#: Mutually recursive functions f%23 mutual-recursion recursion Mutually x-1 F#: Mutually recursive functions Hello all, I Have a scenario where I have two functions that would benefit from being mutually recursive but I'm not really sure how to do this in F# My scenario is not as simp...
[ -0.000514984130859375, 0.00372314453125, -0.00112152099609375, 0.02734375, 0.0135498046875, 0.01275634765625, 0.00567626953125, 0.023681640625, 0.008056640625, -0.0023040771484375, -0.004364013671875, 0.00628662109375, -0.01318359375, 0.0220947265625, 0.0458984375, -0.003936767578125, ...
[ 563, 4904, 174948, 25958, 195625, 5844, 32354, 12, 1238, 3949, 3742, 199849, 107, 48650, 1830, 1022, 5759, 35378, 756, 31901, 106117, 765, 6626, 7, 2806, 68073, 1295, 8035, 538, 39, 959, 6183, 9077, 3642, 47, 54, 903, 23, 8781, 25632, 1...
[ 0.1507568359375, 0.226806640625, 0.1475830078125, 0.1451416015625, 0.242431640625, 0.1728515625, 0.2176513671875, 0.01544189453125, 0.120361328125, 0.1082763671875, 0.16357421875, 0.2022705078125, 0.0670166015625, 0.2041015625, 0.0465087890625, 0.1124267578125, 0.150390625, 0.03247...
embed
29413221_c0
29413221
fsharp
0
Title: BCL.Async issue with F# project Problem title: BCL.Async issue with F# project Tags: nuget, base-class-library, f%23 Problem: BCL.Async issue with F# project Using the latest VS2013, if I create a clean console application and add a nuget reference to BCL.Async, all colouration in VS dies. You then get: - "Inter...
BCL.Async issue with F# project BCL.Async issue with F# project nuget base-class-library f%23 BCL.Async BCL.Async issue with F# project Using the latest VS2013, if I create a clean console application and add a nuget reference to BCL.Async, all colouration in VS dies. You then get: - "Internal language services have en...
[ -0.00958251953125, -0.005615234375, 0.00848388671875, -0.00543212890625, 0.000453948974609375, 0.02001953125, 0.0003223419189453125, 0.0024566650390625, 0.00165557861328125, 0.007232666015625, -0.00799560546875, 0.01483154296875, 0.0203857421875, -0.005859375, 0.03125, -0.0019683837890...
[ 335, 37486, 5, 284, 12654, 238, 31089, 678, 563, 4904, 13452, 315, 3794, 3647, 67413, 150, 2844, 1238, 3742, 42850, 44160, 7735, 2174, 28282, 46622, 130250, 38415, 15190, 91067, 756, 134855, 2320, 23, 14792, 44851, 6236, 46876, 11374, 765, ...
[ 0.0982666015625, 0.2078857421875, 0.012359619140625, 0.04095458984375, 0.2061767578125, 0.1112060546875, 0.08587646484375, 0.052490234375, 0.1170654296875, 0.172607421875, 0.1083984375, 0.1678466796875, 0.2362060546875, 0.110107421875, 0.112548828125, 0.034912109375, 0.06207275390625...
embed
19567978_c0
19567978
fsharp
0
Title: Is there a generic unbox function like in f#? Problem title: Is there a generic unbox function like in f#? Tags: c%23, unboxing, f%23 Problem: Is there a generic unbox function like in f#? I m trying to use object handlers and I have this working fine to put stuff in memory. But when I look up the object again I...
Is there a generic unbox function like in f#? Is there a generic unbox function like in f#? c%23 unboxing f%23 Is there a generic unbox function like in f#? I m trying to use object handlers and I have this working fine to put stuff in memory. But when I look up the object again I return: or how do I unbox this in c#? ...
[ 0.0157470703125, 0.00958251953125, 0.008544921875, -0.01123046875, -0.003936767578125, -0.000965118408203125, -0.01483154296875, -0.01708984375, 0.005096435546875, -0.001617431640625, -0.01275634765625, -0.018798828125, 0.01531982421875, -0.02587890625, -0.019775390625, -0.007019042968...
[ 2071, 2685, 10, 189534, 51, 11728, 32354, 1884, 23, 1238, 4904, 501, 3742, 214, 36746, 35863, 7, 20697, 5885, 3884, 41884, 98323, 6713, 1257, 13438, 30646, 3642, 87, 903, 41143, 26866, 2281, 372, 41929 ]
[ 0.015106201171875, 0.0579833984375, 0.058197021484375, 0.253173828125, 0.156005859375, 0.28515625, 0.2042236328125, 0.1134033203125, 0.04058837890625, 0.12255859375, 0.19970703125, 0.051361083984375, 0.05279541015625, 0.093017578125, 0.152099609375, 0.1732177734375, 0.0198974609375, ...
embed
11392427_c0
11392427
fsharp
0
Title: F# parameter passing Problem title: F# parameter passing Tags: tuples, currying, f%23 Problem: F# parameter passing I've always thought that F# had two different ways to pass arguments, curry style and tuple style. Is this actually correct? Isn't it simply one style , curry style, and arguments can either be sim...
F# parameter passing F# parameter passing tuples currying f%23 F# parameter passing I've always thought that F# had two different ways to pass arguments, curry style and tuple style. Is this actually correct? Isn't it simply one style , curry style, and arguments can either be simple values or tuples. e.g. isn't this a...
[ 0.01031494140625, -0.01458740234375, 0.00360107421875, 0.0107421875, -0.012451171875, -0.00836181640625, -0.004119873046875, -0.030029296875, 0.0040283203125, -0.016845703125, 0.034912109375, 0.00439453125, 0.00103759765625, 0.021728515625, 0.0011749267578125, -0.01806640625, -0.0005...
[ 563, 4904, 171859, 452, 370, 99726, 198555, 214, 1238, 3949, 3742, 11343, 17569, 1902, 6626, 12921, 48322, 27875, 10750, 7, 20623, 136, 8705, 2071, 20653, 26785, 42856, 1632, 831, 8781, 142424, 903, 32354, 96276, 186, 190358, 47, 17368, 214...
[ 0.1683349609375, 0.2322998046875, 0.208251953125, 0.07281494140625, 0.156494140625, 0.2139892578125, 0.238037109375, 0.06866455078125, 0.1239013671875, 0.073486328125, 0.1689453125, 0.0443115234375, 0.06939697265625, 0.013214111328125, 0.088134765625, 0.082763671875, 0.095703125, 0...
embed
40177735_c0
40177735
fsharp
0
Title: Pattern match on a list of tuples Problem title: Pattern match on a list of tuples Tags: pattern-matching, f%23 Problem: Pattern match on a list of tuples If I want to add all the elements of a list of tuples, I get an error with the following let rec addTupLst (xs: 'a * 'a list) = match xs with | (a, b) :: rst ...
Pattern match on a list of tuples Pattern match on a list of tuples pattern-matching f%23 Pattern Pattern match on a list of tuples If I want to add all the elements of a list of tuples, I get an error with the following I get the warning Is it not possible to pattern match on a list of tuples this way, or is there ano...
[ -0.007781982421875, 0.030029296875, 0.0042724609375, -0.004669189453125, -0.002166748046875, -0.00457763671875, -0.03564453125, -0.0011138916015625, 0.0390625, -0.00173187255859375, 0.01239013671875, -0.01190185546875, 0.004486083984375, 0.009033203125, 0.0068359375, 0.009033203125, ...
[ 9876, 22766, 14858, 98, 5303, 111, 370, 99726, 10, 103510, 98753, 214, 1238, 3949, 3742, 3444, 15190, 756, 70, 80854, 18499, 678, 25632, 1631, 592, 442, 959, 7722, 47, 903, 3917 ]
[ 0.19189453125, 0.177001953125, 0.2353515625, 0.07666015625, 0.1624755859375, 0.06195068359375, 0.150634765625, 0.205078125, 0.0364990234375, 0.2413330078125, 0.213134765625, 0.07220458984375, 0.09783935546875, 0.09033203125, 0.14501953125, 0.0555419921875, 0.158447265625, 0.0948486...
embed
4252441_c1
4252441
fsharp
1
Of "\n\r\c") |>> makeNote let parseLine = parseTask <|> (attempt parseProject) <|> parseNote let parseFile = sepBy parseLine (many1 whitespace) Edited The syntax is taken from Hogbay Software's TaskPaper application TaskPaper website Some examples of the syntax Project 1: Description of Project One -task for project 1 ...
Of "\n\r\c") |>> makeNote let parseLine = parseTask <|> (attempt parseProject) <|> parseNote let parseFile = sepBy parseLine (many1 whitespace) Edited The syntax is taken from Hogbay Software's TaskPaper application TaskPaper website Some examples of the syntax Project 1: Description of Project One -task for project 1 ...
[ -0.00421142578125, 0.0016632080078125, -0.01361083984375, 0.037109375, -0.0057373046875, 0.00157928466796875, 0.00750732421875, 0.00726318359375, 0.001617431640625, 0.0120849609375, 0.0024871826171875, 0.0086669921875, -0.02880859375, 0.0032958984375, -0.01220703125, 0.01226806640625, ...
[ 6619, 41872, 19, 42, 238, 30813, 3249, 110361, 2633, 366, 184, 93232, 2203, 9874, 1042, 34224, 223353, 174350, 25040, 75358, 669, 53, 418, 35011, 65421, 42079, 6002, 86531, 39958, 1295, 2291, 177, 14089, 23752, 9598, 121903, 38415, 4165, 27...
[ 0.2005615234375, 0.0648193359375, 0.0804443359375, 0.114013671875, 0.09039306640625, 0.0439453125, 0.1375732421875, 0.293212890625, 0.1068115234375, 0.1639404296875, 0.10418701171875, 0.2171630859375, 0.0101318359375, 0.133056640625, 0.092041015625, 0.119384765625, 0.201416015625, ...
embed
44054335_c2
44054335
fsharp
2
.TypeProviders, System.Linq, System.Data.Linq, System.Data.Entity, DbConn, SubSelOut, Department, Name, Parent, Nullable, Product, CLIMutable, QueryGrouping, SKU, Price, Decimal, SkuOut, Category, Sub-Category, DbConn.GetDataContext, p2dQuery, db.Products, p2d, db.Prods_to_depts, p.Id, p2d.Product_id.Value, db.Departme...
.TypeProviders, System.Linq, System.Data.Linq, System.Data.Entity, DbConn, SubSelOut, Department, Name, Parent, Nullable, Product, CLIMutable, QueryGrouping, SKU, Price, Decimal, SkuOut, Category, Sub-Category, DbConn.GetDataContext, p2dQuery, db.Products, p2d, db.Prods_to_depts, p.Id, p2d.Product_id.Value, db.Departme...
[ 0.0126953125, 0.00146484375, -0.005706787109375, 0.0250244140625, -0.0174560546875, 0.0281982421875, -0.030029296875, -0.016845703125, 0.01080322265625, -0.007537841796875, -0.00970458984375, 0.010986328125, -0.002685546875, 0.00653076171875, 0.01031494140625, 0.0244140625, -0.000679...
[ 5, 196707, 177997, 14, 14202, 4, 12353, 866, 44982, 137989, 7768, 18, 2481, 391, 275, 11935, 19, 8273, 104475, 79858, 63557, 15757, 170918, 27786, 2661, 73111, 83318, 34, 22819, 58836, 53, 205072, 214, 105620, 48025, 49132, 2749, 46605, 490...
[ 0.1558837890625, 0.251220703125, 0.2081298828125, 0.1513671875, 0.1612548828125, 0.052490234375, 0.1822509765625, 0.0791015625, 0.21044921875, 0.152099609375, 0.027923583984375, 0.0662841796875, 0.061431884765625, 0.072021484375, 0.10430908203125, 0.172119140625, 0.0726318359375, 0...
embed
44296767_c1
44296767
fsharp
1
00:00:24.687 However, with a chunk size equal to 1/4 the size of the list the performance was almost the same. I did not expect this since my processor ( Intel 6700HQ ) has four cores. parChunks 25 g [1..100];; // Real: 00:00:21.695, CPU: 00:00:24.437 Looking at the Performance app in Task Manager one sees that the fou...
00:00:24.687 However, with a chunk size equal to 1/4 the size of the list the performance was almost the same. I did not expect this since my processor ( Intel 6700HQ ) has four cores. parChunks 25 g [1..100];; // Real: 00:00:21.695, CPU: 00:00:24.437 Looking at the Performance app in Task Manager one sees that the fou...
[ -0.025390625, 0.0072021484375, 0.0164794921875, -0.0191650390625, 0.00131988525390625, -0.012939453125, 0.00689697265625, -0.015380859375, -0.00225830078125, -0.0208740234375, -0.008056640625, 0.037841796875, 0.01611328125, 0.0004177093505859375, 0.008056640625, -0.012939453125, 0.01...
[ 110095, 25732, 180348, 7839, 92, 13267, 105950, 57294, 5303, 23718, 39555, 5701, 959, 41206, 14543, 42, 24018, 305, 15128, 95795, 1556, 22759, 48052, 366, 15982, 3678, 714, 706, 3559, 5120, 25619, 176004, 86039, 152719, 94030, 4027, 9598, 301...
[ 0.10125732421875, 0.0828857421875, 0.1141357421875, 0.2176513671875, 0.1282958984375, 0.1285400390625, 0.03338623046875, 0.158935546875, 0.197998046875, 0.205322265625, 0.0904541015625, 0.09283447265625, 0.03326416015625, 0.0986328125, 0.1202392578125, 0.05010986328125, 0.14501953125...
embed
21837515_c0
21837515
fsharp
0
Title: How to create a jagged array by reflection? Problem title: How to create a jagged array by reflection? Tags: type-providers, multidimensional-array, f%23 Problem: How to create a jagged array by reflection? If I have elementType of type int[] , for example, elementType.MakeArrayType() will throw an exception, an...
How to create a jagged array by reflection? How to create a jagged array by reflection? type-providers multidimensional-array f%23 How elementType.MakeArrayType elementType.GetElementType MakeArrayType How to create a jagged array by reflection? If I have elementType of type int[] , for example, elementType.MakeArrayTy...
[ 0.01312255859375, 0.0478515625, -0.00823974609375, 0.01287841796875, -0.0341796875, 0.00732421875, -0.01055908203125, 0.003509521484375, 0.0018310546875, -0.0125732421875, 0.003448486328125, 0.005645751953125, 0.00244140625, -0.0024871826171875, 0.011962890625, -0.009765625, 0.023681...
[ 11249, 28282, 79, 134229, 10298, 53, 390, 44961, 1830, 10, 10644, 93136, 14202, 6024, 157955, 19305, 1238, 3742, 12830, 196707, 76978, 7614, 7092, 19929, 26176, 23, 18, 104250, 131527, 126, 40970, 1065, 29839, 96276, 123089, 71, 187423, 54608...
[ 0.052337646484375, 0.1680908203125, 0.171875, 0.255859375, 0.2015380859375, 0.1693115234375, 0.0811767578125, 0.26806640625, 0.1351318359375, 0.018524169921875, 0.1572265625, 0.143310546875, 0.09234619140625, 0.043243408203125, 0.08056640625, 0.10552978515625, 0.01885986328125, 0.0...
embed
26791480_c0
26791480
fsharp
0
Title: Why upcast is not necessary in this let bound function? Problem title: Why upcast is not necessary in this let bound function? Tags: f%23 Problem: Why upcast is not necessary in this let bound function? According to MSDN Upcasting is applied automatically when you pass arguments to methods on an object type. How...
Why upcast is not necessary in this let bound function? Why upcast is not necessary in this let bound function? f%23 Why this.T Why upcast is not necessary in this let bound function? According to MSDN But I don't need to upcast at all.
[ -0.00775146484375, 0.00787353515625, 0.01202392578125, 0.00830078125, 0.00823974609375, -0.007537841796875, -0.0003223419189453125, 0.005035400390625, 0.0244140625, -0.044189453125, -0.0208740234375, -0.00701904296875, 0.01275634765625, 0.019287109375, 0.015625, -0.0191650390625, 0.0...
[ 44084, 1257, 55741, 83, 959, 63559, 903, 2633, 99091, 32354, 1238, 3742, 618, 51671, 2301, 18, 3871, 756 ]
[ 0.120361328125, 0.1461181640625, 0.256103515625, 0.06610107421875, 0.1453857421875, 0.16796875, 0.07025146484375, 0.2138671875, 0.200927734375, 0.142822265625, 0.018585205078125, 0.08734130859375, 0.021820068359375, 0.08782958984375, 0.057098388671875, 0.083251953125, 0.123046875, ...
embed
34906778_c1
34906778
fsharp
1
Codec.decode<MetadataResponse> |> // do something with repsonse Note: I've removed all match option entries to show the idea that should wrap different errors in encoding, sending, decoding Here is C# example with each request knows how to encode/decode itself: MetadataRequest.cs from kafka-net by Jroland Code signals...
Codec.decode<MetadataResponse> |> // do something with repsonse Note: I've removed all match option entries to show the idea that should wrap different errors in encoding, sending, decoding Here is C# example with each request knows how to encode/decode itself: MetadataRequest.cs from kafka-net by Jroland Code signals...
[ -0.009521484375, 0.02734375, 0.01055908203125, 0.003509521484375, -0.0135498046875, 0.00012683868408203125, -0.0089111328125, 0.00244140625, -0.0078125, 0.003753662109375, -0.00360107421875, -0.0220947265625, 0.01806640625, 0.003448486328125, -0.00193023681640625, 0.0137939453125, 0....
[ 28864, 238, 112, 40899, 6696, 8656, 102, 94399, 13, 4666, 54, 9844, 678, 10958, 1681, 184, 184750, 14858, 35829, 112820, 70, 6528, 137565, 12921, 18499, 22, 587, 6238, 135834, 8, 313, 4904, 27781, 12638, 50336, 93002, 3642, 64, 68034, 369...
[ 0.2105712890625, 0.11376953125, 0.195068359375, 0.2427978515625, 0.12451171875, 0.082763671875, 0.1016845703125, 0.2105712890625, 0.0863037109375, 0.005157470703125, 0.069091796875, 0.074462890625, 0.08154296875, 0.168701171875, 0.149658203125, 0.1590576171875, 0.053131103515625, 0...
embed
47382176_c0
47382176
fsharp
0
Title: F# Constrain generic parameter to be an enum type Problem title: F# Constrain generic parameter to be an enum type Tags: f%23, generics Problem: F# Constrain generic parameter to be an enum type I'm trying to create a generic method to convert an Option<TEnum> to a Nullable<int> : let toNullableInt (value : Opti...
F# Constrain generic parameter to be an enum type F# Constrain generic parameter to be an enum type f%23 generics Constrain Option TEnum Nullable value.IsSome value.Value F# Constrain generic parameter to be an enum type I'm trying to create a generic method to convert an Option<TEnum> to a Nullable<int> : The compiler...
[ -0.013427734375, -0.0181884765625, 0.01507568359375, -0.004669189453125, -0.00180816650390625, 0.00506591796875, -0.0096435546875, -0.00994873046875, -0.0089111328125, 0.0047607421875, -0.01129150390625, -0.004852294921875, -0.000873565673828125, 0.01123046875, -0.00567626953125, -0.00...
[ 563, 4904, 1657, 2816, 73, 189534, 171859, 47, 186, 22, 316, 10644, 1238, 3949, 3742, 86769, 13018, 2606, 27786, 2661, 34292, 29598, 282, 856, 50770, 142, 31577, 28282, 55300, 96760, 8241, 4288, 9969, 34759, 53498, 903, 83, 442, 7722, 151...
[ 0.1053466796875, 0.2060546875, 0.075927734375, 0.194580078125, 0.0655517578125, 0.2352294921875, 0.2119140625, 0.071044921875, 0.0723876953125, 0.1431884765625, 0.2325439453125, 0.1673583984375, 0.064453125, 0.029754638671875, 0.12255859375, 0.2137451171875, 0.1265869140625, 0.2437...
embed
777247_c0
777247
fsharp
0
Title: Using extension methods defined in C# from F# code Problem title: Using extension methods defined in C# from F# code Tags: c%23, extension-methods, f%23 Problem: Using extension methods defined in C# from F# code I have a series of extension methods defined for various classes in a C# library. I'm currently writ...
Using extension methods defined in C# from F# code Using extension methods defined in C# from F# code c%23 extension-methods f%23 F# Using Using extension methods defined in C# from F# code I have a series of extension methods defined for various classes in a C# library. I'm currently writing some F# code and instead o...
[ 0.00213623046875, 0.01397705078125, 0.009033203125, 0.00168609619140625, 0.00811767578125, -0.004974365234375, -0.0284423828125, -0.01104736328125, -0.0057373046875, -0.020263671875, -0.0174560546875, -0.01190185546875, 0.010986328125, 0.0208740234375, -0.0009307861328125, -0.013305664...
[ 345, 6953, 111938, 150624, 61924, 71, 313, 4904, 1295, 563, 18151, 23, 3742, 1928, 7352, 1238, 3949, 36549, 67842, 61112, 35773, 82424, 32562, 64457, 456, 199332, 1884, 4527, 144573, 49814, 91067, 9803, 63805, 24927, 210716, 959, 108975 ]
[ 0.1226806640625, 0.0665283203125, 0.253662109375, 0.231689453125, 0.1588134765625, 0.038818359375, 0.0635986328125, 0.2073974609375, 0.1240234375, 0.118896484375, 0.136474609375, 0.0269317626953125, 0.053009033203125, 0.05291748046875, 0.079833984375, 0.0305023193359375, 0.0010375976...
embed
7789127_c0
7789127
fsharp
0
Title: If I build a .NET application in mono on Linux, is the compiled executable directly portable to Windows 7? Problem title: If I build a .NET application in mono on Linux, is the compiled executable directly portable to Windows 7? Tags: mono, f%23 Problem: If I build a .NET application in mono on Linux, is the com...
If I build a .NET application in mono on Linux, is the compiled executable directly portable to Windows 7? If I build a .NET application in mono on Linux, is the compiled executable directly portable to Windows 7? mono f%23 NET Linux Windows If I build a .NET application in mono on Linux, is the compiled executable dir...
[ 0.0001392364501953125, 0.0257568359375, -0.01190185546875, 0.004852294921875, -0.01904296875, 0.0064697265625, 0.0067138671875, -0.01123046875, -0.008056640625, 0.000125885009765625, 0.0242919921875, -0.0020751953125, -0.004150390625, 0.015869140625, -0.004058837890625, 0.0130004882812...
[ 4263, 45367, 5, 17777, 38415, 23, 22460, 98, 29908, 83, 375, 5974, 297, 71924, 2886, 105237, 168627, 47, 3773, 361, 87, 1238, 3949, 3742, 20600, 26367, 52080, 33022, 563, 4904, 103391, 62822, 102973, 101758, 20255, 661, 46480, 102158, 9969,...
[ 0.0284423828125, 0.13427734375, 0.06048583984375, 0.231689453125, 0.1522216796875, 0.0953369140625, 0.26318359375, 0.08172607421875, 0.236572265625, 0.052642822265625, 0.0482177734375, 0.15283203125, 0.01116943359375, 0.1376953125, 0.128173828125, 0.1534423828125, 0.2144775390625, ...
embed
61444609_c0
61444609
fsharp
0
Title: Calling one-parameter function with two arguments? Problem title: Calling one-parameter function with two arguments? Tags: f%23 Problem: Calling one-parameter function with two arguments? I have this code: type Sym = (string * float) list let rec lookup v = function | (v', k) :: vtab -> if v = v' then k else loo...
Calling one-parameter function with two arguments? Calling one-parameter function with two arguments? f%23 Calling Sym Calling one-parameter function with two arguments? I have this code: To me, it looks like that lookup takes one argument v . But then we do lookup v vtab - now it seems like two arguments are being pas...
[ 0.0038909912109375, 0.000270843505859375, 0.006439208984375, -0.0087890625, 0.027099609375, -0.000339508056640625, 0.007537841796875, 0.018310546875, 0.0040283203125, -0.0096435546875, 0.028564453125, 0.003173828125, -0.0184326171875, 0.004852294921875, -0.01336669921875, -0.0140991210...
[ 26265, 214, 1632, 6276, 29089, 32354, 678, 6626, 10750, 7, 1238, 3742, 4843, 39, 18151, 33342, 6713, 2037, 51776, 81, 9843, 37202, 115081, 47, 35604, 4734 ]
[ 0.1429443359375, 0.0548095703125, 0.154296875, 0.126708984375, 0.1446533203125, 0.1905517578125, 0.083251953125, 0.1942138671875, 0.2449951171875, 0.03204345703125, 0.04962158203125, 0.1143798828125, 0.087646484375, 0.1341552734375, 0.1031494140625, 0.07281494140625, 0.0972900390625,...
embed
22551787_c0
22551787
fsharp
0
Title: Recursive object warning using a seq expression Problem title: Recursive object warning using a seq expression Tags: f%23 Problem: Recursive object warning using a seq expression I've got the following (simplified) code: open System open System.IO [<EntryPoint>] let main argv = let rec lineseq = seq { match Cons...
Recursive object warning using a seq expression Recursive object warning using a seq expression f%23 a Recursive System System.IO EntryPoint Console.ReadLine Seq.empty Recursive object warning using a seq expression I've got the following (simplified) code: Visual studio is emitting an "recursive object" warning for th...
[ 0.0025482177734375, 0.004058837890625, 0.005279541015625, 0.040771484375, 0.01708984375, -0.0015411376953125, -0.0067138671875, 0.02587890625, -0.0027923583984375, -0.025634765625, -0.01116943359375, 0.0185546875, -0.004150390625, 0.010009765625, 0.033447265625, -0.000339508056640625, ...
[ 853, 48650, 5844, 36746, 1631, 592, 17368, 40, 864, 125195, 1238, 3949, 3742, 12353, 17780, 357, 15123, 147534, 40777, 31345, 93232, 503, 33548, 25632, 116120, 18151, 73372, 12275, 53225, 1916, 107, 100, 17932, 11180, 19388, 63805, 110987, 38...
[ 0.086181640625, 0.249267578125, 0.18115234375, 0.2236328125, 0.1873779296875, 0.1104736328125, 0.089599609375, 0.140869140625, 0.220703125, 0.2271728515625, 0.07928466796875, 0.05474853515625, 0.167236328125, 0.09234619140625, 0.1307373046875, 0.021942138671875, 0.12939453125, 0.09...
embed
69640977_c0
69640977
fsharp
0
Title: This rule will never be matched: Why? Problem title: This rule will never be matched: Why? Tags: f%23 Problem: This rule will never be matched: Why? I have the following function: let hasColumnValue<'columnType> columnName (value: 'columnType) (row: KeyValuePair<int, ObjectSeries<string>>) = let columnValue = Se...
This rule will never be matched: Why? This rule will never be matched: Why? f%23 Why KeyValuePair ObjectSeries Series.get row.Value This rule will never be matched: Why? I have the following function: The default pattern matching is flagged as "This rule will never be matched" => I don't understand why Thanks in advanc...
[ -0.004974365234375, -0.00408935546875, -0.00396728515625, 0.01470947265625, -0.015869140625, -0.0341796875, -0.0311279296875, 0.00010633468627929688, 0.0030517578125, 0.0238037109375, 0.00579833984375, 0.00909423828125, 0.00225830078125, -0.005218505859375, -0.01397705078125, 0.0080566...
[ 3293, 79986, 1221, 8306, 186, 14858, 297, 44084, 1238, 3949, 3742, 26824, 856, 50770, 8335, 481, 134549, 138724, 64876, 3794, 15555, 32354, 114977, 103510, 214, 190413, 73243, 2301, 18, 28219, 15400 ]
[ 0.0826416015625, 0.1693115234375, 0.1085205078125, 0.1376953125, 0.1021728515625, 0.1920166015625, 0.137451171875, 0.1568603515625, 0.02496337890625, 0.0054931640625, 0.11376953125, 0.101318359375, 0.06866455078125, 0.113525390625, 0.08740234375, 0.0269012451171875, 0.1427001953125, ...
embed
48842814_c0
48842814
fsharp
0
Title: Why is the program still running while Error FS0039 The type &#x27;JsonProvider&#x27; is not defined? Problem title: Why is the program still running while Error FS0039 The type &#x27;JsonProvider&#x27; is not defined? Tags: type-providers, fsharp.data.sqlclient, f%23, f%23-data Problem: Why is the program still...
Why is the program still running while Error FS0039 The type &#x27;JsonProvider&#x27; is not defined? Why is the program still running while Error FS0039 The type &#x27;JsonProvider&#x27; is not defined? type-providers fsharp.data.sqlclient f%23 f%23-data Why Error FS0039 JsonProvider fsharp.data.sqlclient Why is the p...
[ 0.01336669921875, 0.0196533203125, -0.01434326171875, 0.01300048828125, -0.00604248046875, 0.023193359375, 0.001556396484375, 0.0004329681396484375, -0.01312255859375, -0.0296630859375, 0.003082275390625, -0.0123291015625, 0.006317138671875, -0.0072021484375, 0.0145263671875, 0.0111694...
[ 44084, 83, 1528, 7464, 51042, 12960, 212059, 93774, 7049, 9323, 10644, 6, 1375, 1681, 177997, 62160, 3768, 959, 61924, 71, 93136, 1238, 89280, 254, 10135, 99247, 222978, 821, 563, 28219, 15400, 9969, 49725, 18499 ]
[ 0.07373046875, 0.0010986328125, 0.1324462890625, 0.1385498046875, 0.1533203125, 0.0767822265625, 0.19287109375, 0.158447265625, 0.051361083984375, 0.1827392578125, 0.1766357421875, 0.0013427734375, 0.1025390625, 0.13037109375, 0.1671142578125, 0.153564453125, 0.0253753662109375, 0....
embed
851973_c0
851973
fsharp
0
Title: Will F# ever be a mainstream language like C# is? Or will it remain a niche language? Problem title: Will F# ever be a mainstream language like C# is? Or will it remain a niche language? Tags: f%23 Problem: Will F# ever be a mainstream language like C# is? Or will it remain a niche language? Will F# ever be a ma...
Will F# ever be a mainstream language like C# is? Or will it remain a niche language? Will F# ever be a mainstream language like C# is? Or will it remain a niche language? f%23 Will Will F# ever be a mainstream language like C# is? Or will it remain a niche language? Will F# ever be a mainstream language like C# is? Or...
[ 0.00775146484375, 0.01031494140625, 0.0172119140625, -0.0059814453125, -0.01458740234375, 0.00058746337890625, -0.01361083984375, 0.012939453125, 0.016357421875, -0.031982421875, -0.01416015625, -0.01458740234375, 0.0007476806640625, 0.006622314453125, 0.005615234375, -0.00260925292968...
[ 20255, 563, 4904, 17669, 154909, 46876, 1884, 313, 83, 3347, 47143, 6445, 13, 186, 1221, 1238, 3949, 3742, 10, 100, 7717, 2499, 19802, 38162, 77635, 71924, 23182, 77848, 19048, 3249, 38043, 1295, 35968, 92054, 27435, 28601 ]
[ 0.0623779296875, 0.1822509765625, 0.2763671875, 0.09912109375, 0.218994140625, 0.2020263671875, 0.096435546875, 0.067138671875, 0.0777587890625, 0.05224609375, 0.0965576171875, 0.1767578125, 0.07562255859375, 0.0239715576171875, 0.017852783203125, 0.0305938720703125, 0.01058959960937...
embed
63362695_c0
63362695
fsharp
0
Title: How to use context object to share data between resolvers using F# GraphQL? Problem title: How to use context object to share data between resolvers using F# GraphQL? Tags: f%23, graphql Problem: How to use context object to share data between resolvers using F# GraphQL? I am writing a GraphQL server in F# using...
How to use context object to share data between resolvers using F# GraphQL? How to use context object to share data between resolvers using F# GraphQL? f%23 graphql F# How GraphQL How to use context object to share data between resolvers using F# GraphQL? I am writing a GraphQL server in F# using FSharp.Data.GraphQL . ...
[ -0.0017242431640625, 0.0213623046875, 0.01611328125, 0.009033203125, -0.00799560546875, -0.004638671875, -0.018310546875, 0.00921630859375, 0.0052490234375, -0.032470703125, 0.0135498046875, -0.006591796875, 0.0244140625, 0.0205078125, 0.005859375, 0.020751953125, -0.005218505859375,...
[ 11249, 4527, 43701, 36746, 12008, 2053, 17721, 58061, 7, 17368, 563, 4904, 6524, 11727, 2737, 866, 47, 1238, 3742, 41382, 99247, 32562, 10723, 93774, 3467, 254, 137989, 37878, 4953, 438, 112, 28175, 35773, 5570, 41361, 27781, 209806, 69307 ]
[ 0.0833740234375, 0.1373291015625, 0.298583984375, 0.243408203125, 0.212890625, 0.173095703125, 0.17822265625, 0.222412109375, 0.117431640625, 0.104736328125, 0.1201171875, 0.18603515625, 0.16357421875, 0.1339111328125, 0.1470947265625, 0.1435546875, 0.030731201171875, 0.04949951171...
embed
2036709_c1
2036709
fsharp
1
Set( {1..28123} |> Seq.filter isAbundant ) let inAbuns x = Set.contains x abuns let sumable x = abuns |> Seq.exists (fun a -> inAbuns (x-a)) {1..28123} |> Seq.filter (fun x -> not (sumable x)) |> Seq.sum This version runs in about 27 seconds, while the first 23 seconds(I've run several times). So an immutable red-blac...
Set( {1..28123} |> Seq.filter isAbundant ) let inAbuns x = Set.contains x abuns let sumable x = abuns |> Seq.exists (fun a -> inAbuns (x-a)) {1..28123} |> Seq.filter (fun x -> not (sumable x)) |> Seq.sum This version runs in about 27 seconds, while the first 23 seconds(I've run several times). So an immutable red-blac...
[ -0.005462646484375, -0.00732421875, 0.01080322265625, 0.005584716796875, -0.0201416015625, 0.007171630859375, -0.01373291015625, 0.01519775390625, 0.0166015625, -0.01092529296875, 0.0164794921875, 0.0308837890625, 0.0133056640625, -0.005950927734375, 0.01470947265625, 0.0089111328125, ...
[ 19943, 132, 418, 3882, 48636, 503, 864, 120337, 83, 28025, 1236, 2633, 23, 17643, 7, 1022, 98102, 5425, 10, 10554, 2886, 54376, 16498, 284, 425, 9, 11, 959, 11832, 3293, 11389, 127877, 1672, 1438, 94131, 5117, 1105, 272, 11675, 40368, 2...
[ 0.238037109375, 0.037384033203125, 0.008544921875, 0.10693359375, 0.1937255859375, 0.0894775390625, 0.177001953125, 0.205078125, 0.089599609375, 0.1707763671875, 0.1571044921875, 0.0618896484375, 0.10687255859375, 0.1658935546875, 0.041290283203125, 0.06103515625, 0.1036376953125, ...
embed
66377947_c0
66377947
fsharp
0
Title: How to simple make string uppercase in F#? Problem title: How to simple make string uppercase in F#? Tags: string, f%23, formatting Problem: How to simple make string uppercase in F#? Try to make as described: To convert a string to lowercase, you can call the String.ToLower() method let makeUpperCase s = s.ToUp...
How to simple make string uppercase in F#? How to simple make string uppercase in F#? string f%23 formatting How s.ToUpper How to simple make string uppercase in F#? Try to make as described: Get as result
[ -0.0035858154296875, -0.0032501220703125, 0.0244140625, 0.00118255615234375, 0.0155029296875, -0.01806640625, 0.006683349609375, -0.004638671875, 0.0181884765625, 0.00543212890625, 0.0069580078125, -0.00799560546875, 0.0096435546875, 0.00130462646484375, 0.0098876953125, -0.02172851562...
[ 11249, 8781, 3249, 79315, 1407, 56, 58437, 23, 563, 4904, 47, 1238, 3949, 3742, 9384, 91, 5, 7763, 1062, 8079, 40858, 237, 151552, 20779, 16750 ]
[ 0.04302978515625, 0.172607421875, 0.0924072265625, 0.26708984375, 0.1319580078125, 0.1201171875, 0.2445068359375, 0.05853271484375, 0.141845703125, 0.217041015625, 0.0256500244140625, 0.109619140625, 0.06781005859375, 0.1959228515625, 0.10101318359375, 0.095947265625, 0.0148773193359...
embed
27605449_c2
27605449
fsharp
2
County, City, CONSTRAINT, PK_Address, PRIMARY, KEY, CLUSTERED, ASC, Child, FirstName, Gender, Grade, PK_Child, Family, LastName, IsRegistered, PK_Family, Parent, PK_Parent, Pet, ChildId, GivenName, PK_Pet, ALTER, CHECK, ADD, FK_Address_Family, FOREIGN, REFERENCES, FK_Child_Family, FK_Parent_Family, FK_Pet_Child, Id:in...
County, City, CONSTRAINT, PK_Address, PRIMARY, KEY, CLUSTERED, ASC, Child, FirstName, Gender, Grade, PK_Child, Family, LastName, IsRegistered, PK_Family, Parent, PK_Parent, Pet, ChildId, GivenName, PK_Pet, ALTER, CHECK, ADD, FK_Address_Family, FOREIGN, REFERENCES, FK_Child_Family, FK_Parent_Family, FK_Pet_Child, Id:in...
[ 0.029541015625, 0.02734375, 0.0062255859375, -0.006134033203125, -0.00714111328125, -0.0004863739013671875, -0.00469970703125, -0.006439208984375, 0.0023345947265625, -0.034423828125, -0.0118408203125, 0.029052734375, -0.02294921875, 0.0177001953125, -0.0244140625, 0.005035400390625, ...
[ 47064, 4, 6406, 14452, 59020, 59537, 60836, 454, 161007, 105029, 123275, 6, 186104, 22335, 64077, 17610, 125429, 123829, 23972, 163612, 527, 23894, 22453, 13, 441, 102656, 59745, 21672, 2071, 54601, 19656, 919, 1191, 538, 170918, 28636, 2517, ...
[ 0.2244873046875, 0.083984375, 0.1451416015625, 0.0982666015625, 0.2203369140625, 0.14990234375, 0.18408203125, 0.0838623046875, 0.177490234375, 0.106201171875, 0.100830078125, 0.0635986328125, 0.1949462890625, 0.1470947265625, 0.1077880859375, 0.1036376953125, 0.177490234375, 0.167...
embed
41790066_c0
41790066
fsharp
0
Title: F# Signature Understanding: &quot;the -&gt; operator and Compiler Errors&quot; Problem title: F# Signature Understanding: &quot;the -&gt; operator and Compiler Errors&quot; Tags: compiler-errors, f%23, signature Problem: F# Signature Understanding: "the -> operator and Compiler Errors" From time to time i get an...
F# Signature Understanding: &quot;the -&gt; operator and Compiler Errors&quot; F# Signature Understanding: &quot;the -&gt; operator and Compiler Errors&quot; compiler-errors f%23 signature Signature Understanding Compiler Errors opgave.fsx FS0001 this.getPixelColors image.GetPixel pixel.ToString s:string h:int h-1 F# S...
[ 0.02392578125, 0.00714111328125, -0.01116943359375, -0.0025787353515625, 0.000152587890625, -0.0029144287109375, -0.00323486328125, 0.01806640625, 0.0034027099609375, -0.01031494140625, -0.015869140625, -0.01263427734375, 0.015869140625, 0.00238037109375, 0.00445556640625, -0.015869140...
[ 563, 4904, 26729, 141762, 9626, 144057, 2347, 5386, 39933, 136, 15612, 34759, 212059, 7, 9969, 188800, 1238, 3742, 138256, 94748, 17447, 425, 93774, 188735, 903, 3794, 29348, 52851, 78457, 25251, 29569, 126, 98009, 7763, 71713, 91, 91693, 109...
[ 0.09326171875, 0.194091796875, 0.0899658203125, 0.1090087890625, 0.1201171875, 0.114990234375, 0.044281005859375, 0.034149169921875, 0.26025390625, 0.0947265625, 0.12890625, 0.108642578125, 0.185791015625, 0.011505126953125, 0.112548828125, 0.156982421875, 0.064697265625, 0.0998535...
embed
62170969_c0
62170969
fsharp
0
Title: Limit async calls to at most n per minute Problem title: Limit async calls to at most n per minute Tags: f%23 Problem: Limit async calls to at most n per minute Suppose I have an async that hits some external service: fetchFoo : Async<string> In order not to hit the service too hard, I want to rate limit it to n...
Limit async calls to at most n per minute Limit async calls to at most n per minute f%23 Limit Async Limit async calls to at most n per minute Suppose I have an async that hits some external service: In order not to hit the service too hard, I want to rate limit it to n requests per minute. If fetchFooWithRateLimit is ...
[ 0.007110595703125, -0.0025482177734375, 0.0274658203125, -0.0162353515625, 0.0166015625, -0.00634765625, 0.0123291015625, 0.00762939453125, 0.0130615234375, -0.01611328125, 0.02685546875, -0.0108642578125, -0.007049560546875, -0.005523681640625, 0.031982421875, 0.0096435546875, 0.011...
[ 125177, 10, 12654, 238, 11782, 47, 2684, 653, 117, 15393, 7, 1238, 3949, 3742, 62, 99, 5962, 173591, 4516, 7941, 3444, 34515, 17475, 442, 50336, 7647, 206, 27591, 31, 194583, 12248, 866, 6836, 11675, 1286, 20028, 4, 70796, 40485, 10176, ...
[ 0.2109375, 0.08056640625, 0.24365234375, 0.09149169921875, 0.243408203125, 0.047882080078125, 0.1348876953125, 0.174560546875, 0.1170654296875, 0.2364501953125, 0.021026611328125, 0.10113525390625, 0.002197265625, 0.1519775390625, 0.061187744140625, 0.002166748046875, 0.0819091796875...
embed
41573825_c0
41573825
fsharp
0
Title: Chaining type providers Problem title: Chaining type providers Tags: type-providers, f%23 Problem: Chaining type providers I am wondering if it is possible to create an XmlProvider from the data provided by an SqlDataProvider. Naively it would be something like this: type sql = SqlDataProvider<...> let xml = que...
Chaining type providers Chaining type providers type-providers f%23 Chaining SqlDataProvider sql.GetDataContext Main.Items item.XmlData XmlProvider Chaining type providers I am wondering if it is possible to create an XmlProvider from the data provided by an SqlDataProvider. Naively it would be something like this: Of ...
[ 0.017822265625, 0.0159912109375, 0.004669189453125, 0.0189208984375, 0.003173828125, 0.015869140625, -0.01611328125, -0.00897216796875, -0.00299072265625, -0.0634765625, -0.00799560546875, -0.00830078125, 0.0081787109375, 0.00311279296875, -0.017822265625, 0.003021240234375, -0.00139...
[ 4841, 14653, 10644, 81450, 93136, 14202, 1238, 3949, 3742, 159, 99247, 137989, 177997, 62160, 91, 22829, 12321, 2982, 35735, 1542, 7237, 1193, 149016, 2174, 442, 83, 7722, 28282, 1295, 2053, 62952, 5844, 2806, 9844, 1884, 903, 35782, 131492, ...
[ 0.1583251953125, 0.1163330078125, 0.205078125, 0.2305908203125, 0.173828125, 0.0711669921875, 0.0216064453125, 0.0352783203125, 0.0831298828125, 0.029205322265625, 0.1981201171875, 0.107666015625, 0.1875, 0.1829833984375, 0.011444091796875, 0.0947265625, 0.0352783203125, 0.07202148...
embed
12483707_c0
12483707
fsharp
0
Title: Pattern matching with maps in F# Problem title: Pattern matching with maps in F# Tags: f%23 Problem: Pattern matching with maps in F# Given the map: let myMap = Map.ofArray [| (1,"A");(2,"B") |] Is there a way i can use pattern matching similiar to a list cons operator? Something like this: match myMap with //do...
Pattern matching with maps in F# Pattern matching with maps in F# f%23 Pattern Map.ofArray myMap.TryFind Some Pattern matching with maps in F# Given the map: Is there a way i can use pattern matching similiar to a list cons operator? Something like this: Or: What i don't want to do is this: How can I do pattern matchin...
[ -0.0145263671875, 0.00830078125, 0.00531005859375, -0.007171630859375, -0.01446533203125, -0.02587890625, -0.0179443359375, 0.00653076171875, 0.01263427734375, -0.0147705078125, 0.0296630859375, 0.01312255859375, 0.0245361328125, 0.0030059814453125, 0.0269775390625, -0.002716064453125,...
[ 9876, 22766, 14858, 214, 678, 22288, 7, 23, 563, 4904, 1238, 3742, 42719, 4390, 7614, 7092, 759, 166179, 1294, 204582, 70, 3917, 4527, 103510, 76465, 5303, 158, 39933, 1884, 903, 18, 3444, 11249, 831, 54 ]
[ 0.1640625, 0.13330078125, 0.1890869140625, 0.11376953125, 0.1475830078125, 0.159423828125, 0.048065185546875, 0.047821044921875, 0.1474609375, 0.1832275390625, 0.08868408203125, 0.08880615234375, 0.1319580078125, 0.118896484375, 0.004241943359375, 0.09814453125, 0.06488037109375, 0...
embed
12735560_c0
12735560
fsharp
0
Title: Converting a list of integers to a tuple of lists Problem title: Converting a list of integers to a tuple of lists Tags: f%23, list, tuples Problem: Converting a list of integers to a tuple of lists I'm trying to convert a list of integers to a tuple of lists in a recursive function. Let's say I have a list of i...
Converting a list of integers to a tuple of lists Converting a list of integers to a tuple of lists f%23 list tuples Converting Converting a list of integers to a tuple of lists I'm trying to convert a list of integers to a tuple of lists in a recursive function. Let's say I have a list of integers as [1;2;3;4;5;6;7;8]...
[ -0.00799560546875, 0.0120849609375, -0.0062255859375, 0.0128173828125, -0.00323486328125, 0.0191650390625, -0.00775146484375, 0.00142669677734375, 0.006103515625, -0.00445556640625, -0.00775146484375, -0.003997802734375, 0.001922607421875, 0.0478515625, -0.00537109375, -0.013916015625,...
[ 1657, 814, 1916, 5303, 111, 892, 26255, 47, 10, 370, 8705, 1238, 3949, 3742, 99726, 7, 31577, 96760, 195625, 5844, 32354, 765, 237, 68252, 74, 363, 758, 910, 966, 1019, 3444, 15504, 3934, 418, 617, 61998, 449, 103044, 136, 3853, 12921, ...
[ 0.047698974609375, 0.13427734375, 0.05224609375, 0.2427978515625, 0.103271484375, 0.161865234375, 0.156982421875, 0.107421875, 0.035614013671875, 0.16796875, 0.2225341796875, 0.07720947265625, 0.07745361328125, 0.1707763671875, 0.177490234375, 0.007415771484375, 0.08203125, 0.15368...
embed
2909310_c0
2909310
fsharp
0
Title: F# Multidimensional Array Types Problem title: F# Multidimensional Array Types Tags: multidimensional-array, f%23 Problem: F# Multidimensional Array Types What's the difference between 'a[,,] and 'a[][][] ? They both represent 3-d arrays. It makes me write array3d.[x].[y].[z] instead of array3d.[x, y, z] . Why I...
F# Multidimensional Array Types F# Multidimensional Array Types multidimensional-array f%23 Multidimensional Array Types array3d array2d Array2D.zeroCreate array1d FS0001 F# Multidimensional Array Types What's the difference between 'a[,,] and 'a[][][] ? They both represent 3-d arrays. It makes me write array3d.[x].[y]...
[ 0.0203857421875, -0.0015869140625, -0.0098876953125, 0.018798828125, -0.006378173828125, -0.006072998046875, -0.0157470703125, -0.0024871826171875, -0.004608154296875, 0.025634765625, 0.00112152099609375, 0.002593994140625, 0.005401611328125, 0.003204345703125, -0.005401611328125, -0.0...
[ 563, 4904, 19335, 157955, 69253, 53, 60457, 6024, 19305, 1238, 3742, 10298, 363, 71, 304, 397, 80510, 63784, 2182, 93774, 188735, 4865, 7, 70, 60212, 17721, 242, 11, 1065, 4, 136, 29839, 10660, 15044, 33636, 5691, 4778, 30482, 163, 33022,...
[ 0.127685546875, 0.1793212890625, 0.1363525390625, 0.169677734375, 0.1505126953125, 0.08447265625, 0.203125, 0.1270751953125, 0.1170654296875, 0.10528564453125, 0.092041015625, 0.1397705078125, 0.1314697265625, 0.1412353515625, 0.04541015625, 0.0928955078125, 0.095703125, 0.03561401...
embed
30014759_c0
30014759
fsharp
0
Title: index rows by year in F# Problem title: index rows by year in F# Tags: f%23 Problem: index rows by year in F# i am reading my data as a frame on F# as follows let myannual = Frame.ReadCsv("data/annual.csv") My frame consists of time series columns and a year column, and I would like to index my time series by ye...
index rows by year in F# index rows by year in F# f%23 Frame.ReadCsv annual.csv myannual.GetColumn Values myannual.IndexRows index rows by year in F# i am reading my data as a frame on F# as follows My frame consists of time series columns and a year column, and I would like to index my time series by year. I cannot do...
[ 0.0040283203125, -0.00390625, 0.00537109375, 0.00958251953125, -0.02294921875, -0.01153564453125, 0.01806640625, 0.00634765625, -0.00109100341796875, -0.01373291015625, -0.0250244140625, -0.01263427734375, -0.0223388671875, -0.0079345703125, 0.0035400390625, -0.01409912109375, -0.008...
[ 63262, 15555, 7, 390, 6602, 23, 563, 4904, 1238, 3742, 42557, 31345, 67756, 77253, 334, 759, 58218, 289, 316, 190060, 4153, 39659, 12724, 19725, 16454, 2053, 237, 123789, 58055, 1733, 36549, 3365, 1884, 47, 53418, 28960, 58269 ]
[ 0.2237548828125, 0.21435546875, 0.01324462890625, 0.124267578125, 0.22607421875, 0.069580078125, 0.1474609375, 0.2020263671875, 0.07647705078125, 0.0889892578125, 0.0826416015625, 0.08447265625, 0.1055908203125, 0.135009765625, 0.10589599609375, 0.0625, 0.12353515625, 0.04840087890...
embed
3109027_c0
3109027
fsharp
0
Title: Which to use , abstract class or interface in F#? Problem title: Which to use , abstract class or interface in F#? Tags: f%23 Problem: Which to use , abstract class or interface in F#? Been grokking F# coming from a C# background. In C# there is a clear difference in deciding when to use interfaces and when to u...
Which to use , abstract class or interface in F#? Which to use , abstract class or interface in F#? f%23 Which Which to use , abstract class or interface in F#? Been grokking F# coming from a C# background. In C# there is a clear difference in deciding when to use interfaces and when to use abstract classes. In F# I se...
[ 0.00970458984375, -0.001220703125, -0.00135040283203125, -0.0033721923828125, -0.0035400390625, 0.00118255615234375, -0.006622314453125, 0.0166015625, 0.00860595703125, 0.00250244140625, -0.01263427734375, -0.0361328125, 0.0015411376953125, 0.00159454345703125, -0.01104736328125, -0.00...
[ 130078, 47, 4527, 4, 164789, 18507, 707, 101758, 23, 563, 4904, 32, 1238, 3742, 873, 69328, 38162, 76615, 360, 313, 34735, 60212, 37476, 3229, 61112, 1957, 6626, 41725, 42, 39555, 1632, 1379, 44462, 5701, 237, 138535, 32168, 17823, 118, 1...
[ 0.027069091796875, 0.0158843994140625, 0.152587890625, 0.0794677734375, 0.252197265625, 0.24169921875, 0.041656494140625, 0.2744140625, 0.06402587890625, 0.135986328125, 0.218505859375, 0.005462646484375, 0.047210693359375, 0.0511474609375, 0.00103759765625, 0.046661376953125, 0.0136...
embed
38878340_c0
38878340
fsharp
0
Title: F# Getting the size of a type parameter at runtime Problem title: F# Getting the size of a type parameter at runtime Tags: f%23 Problem: F# Getting the size of a type parameter at runtime Suppose I have a function: let foo (a : 'T[]) I would like to know the size of T One approach is: let t = a.[0].GetType() let...
F# Getting the size of a type parameter at runtime F# Getting the size of a type parameter at runtime f%23 Getting GetType Marshal.SizeOf F# Getting the size of a type parameter at runtime Suppose I have a function: I would like to know the size of T One approach is: But this has a few problems. GetType is slow and I h...
[ -0.0033111572265625, 0.0033111572265625, -0.004791259765625, 0.00885009765625, -0.0277099609375, -0.0308837890625, -0.006805419921875, 0.0152587890625, -0.008544921875, -0.0157470703125, 0.0186767578125, -0.0032196044921875, -0.0167236328125, 0.003387451171875, 0.007354736328125, -0.02...
[ 563, 4904, 210732, 70, 13267, 111, 10644, 171859, 99, 11675, 6032, 1238, 3742, 20779, 196707, 23342, 4200, 127167, 13, 132887, 32354, 2806, 1884, 47, 3714, 384, 6561, 51515, 10846, 44402, 72803, 12765, 10298, 53, 201505, 59725, 29954, 18151, ...
[ 0.1021728515625, 0.1993408203125, 0.0872802734375, 0.04583740234375, 0.2091064453125, 0.01922607421875, 0.241943359375, 0.2279052734375, 0.0782470703125, 0.11328125, 0.1417236328125, 0.058013916015625, 0.0859375, 0.10595703125, 0.279052734375, 0.10009765625, 0.1689453125, 0.1711425...
embed
49345307_c0
49345307
fsharp
0
Title: Multiple DataMemberAttribute Problem title: Multiple DataMemberAttribute Tags: datacontract, f%23 Problem: Multiple DataMemberAttribute [<field: DataMemberAttribute(Name="error_code")>] error_code: string [<field: DataMemberAttribute(Name="message")>] Message: string } with member this.Code : string = if not (St...
Multiple DataMemberAttribute Multiple DataMemberAttribute datacontract f%23 Multiple DataMemberAttribute error_code Api Key NotFound Could DataContract Error Name Message this.Code String.IsNullOrEmpty this.error_code Multiple DataMemberAttribute Subject For the errors, the api is returning two kinds of results, one ha...
[ 0.006072998046875, 0.0245361328125, -0.0189208984375, 0.00043487548828125, 0.006256103515625, 0.00457763671875, 0.01708984375, 0.0185546875, 0.002349853515625, 0.006927490234375, -0.00518798828125, 0.0011444091796875, 0.0311279296875, 0.031005859375, 0.01385498046875, 0.01458740234375,...
[ 19335, 8705, 11809, 594, 27417, 28848, 191145, 2053, 184103, 1238, 3949, 3742, 18499, 40899, 5787, 14, 26824, 11205, 27591, 7030, 191147, 11935, 39989, 18, 212059, 15757, 48205, 903, 114211, 23351, 214, 29598, 18444, 1181, 19060, 134332, 939, ...
[ 0.1947021484375, 0.1953125, 0.1575927734375, 0.1038818359375, 0.23876953125, 0.0687255859375, 0.208251953125, 0.12158203125, 0.2451171875, 0.0694580078125, 0.0267333984375, 0.1341552734375, 0.20263671875, 0.1466064453125, 0.0841064453125, 0.095703125, 0.188232421875, 0.109008789062...
embed
7668874_c0
7668874
fsharp
0
Title: Constructing an F# record via positional arguments Problem title: Constructing an F# record via positional arguments Tags: syntax, f%23 Problem: Constructing an F# record via positional arguments Is it possible to take a record like: type Foo = { Bar: int Baz: double } And construct it like a function call? (Per...
Constructing an F# record via positional arguments Constructing an F# record via positional arguments syntax f%23 Constructing Foo Bar Baz Constructing an F# record via positional arguments Is it possible to take a record like: And construct it like a function call? (Perhaps let foo = Foo 3 4.5 , but that doesn't seem ...
[ 0.00177001953125, -0.005218505859375, -0.002044677734375, 0.005218505859375, -0.00102996826171875, 0.000789642333984375, -0.021240234375, 0.01434326171875, -0.0035552978515625, 0.000675201416015625, 0.0084228515625, 0.00616455078125, 0.0101318359375, -0.01904296875, -0.0017242431640625, ...
[ 1657, 36716, 214, 563, 4904, 17164, 1829, 19069, 289, 10750, 6002, 86531, 1238, 3949, 3742, 9572, 31, 3253, 36490, 2071, 442, 7722, 5646, 10, 1884, 3493, 64549, 32354, 11782, 29860, 2633, 5775, 2203, 138, 60061, 48903, 4488, 5036, 450, 12...
[ 0.047088623046875, 0.1829833984375, 0.012420654296875, 0.1214599609375, 0.2119140625, 0.236328125, 0.0765380859375, 0.197998046875, 0.1011962890625, 0.22314453125, 0.04132080078125, 0.106689453125, 0.077392578125, 0.044281005859375, 0.1324462890625, 0.1317138671875, 0.1246337890625, ...
embed
62713046_c0
62713046
fsharp
0
Title: How do I create a C# style async member in F#? Problem title: How do I create a C# style async member in F#? Tags: c%23-to-f%23, f%23 Problem: How do I create a C# style async member in F#? In C# you can annotate methods with async like this: class Foo { public async void Bar() { } } This is different to an F# a...
How do I create a C# style async member in F#? How do I create a C# style async member in F#? c%23-to-f%23 f%23 How Foo Bar Not this.Bar How do I create a C# style async member in F#? In C# you can annotate methods with async like this: This is different to an F# async ; I believe that in F# these are called tasks . So...
[ 0.0028839111328125, 0.005523681640625, 0.021728515625, -0.0169677734375, -0.0036468505859375, 0.0028228759765625, 0.00081634521484375, 0.01483154296875, 0.004150390625, -0.01953125, 0.00439453125, 0.01055908203125, 0.0019989013671875, 0.00689697265625, 0.0238037109375, -0.0177001953125...
[ 11249, 87, 28282, 10, 313, 4904, 20623, 12654, 238, 32786, 23, 563, 54, 501, 27495, 188, 420, 3742, 1238, 9572, 31, 3253, 11205, 903, 25267, 360, 831, 8668, 19888, 150624, 678, 1884, 3293, 12921, 18822, 6097, 35839, 66211, 3642, 33022, ...
[ 0.0628662109375, 0.0255889892578125, 0.189453125, 0.105712890625, 0.10009765625, 0.252685546875, 0.2493896484375, 0.257080078125, 0.11962890625, 0.281982421875, 0.0792236328125, 0.1617431640625, 0.025115966796875, 0.01092529296875, 0.099609375, 0.147216796875, 0.08551025390625, 0.0...
embed
54174213_c1
54174213
fsharp
1
state by effectively calling PostAndReply (exposed as this.getState () ) in an infinite loop, the after a while it sort of hangs up. I mean that it does eventually return, but with some unpredictably large delays (like a few minutes). At that same time, I can issue commands and they do return fast while getState still...
state by effectively calling PostAndReply (exposed as this.getState () ) in an infinite loop, the after a while it sort of hangs up. I mean that it does eventually return, but with some unpredictably large delays (like a few minutes). At that same time, I can issue commands and they do return fast while getState still...
[ 0.0089111328125, 0.013916015625, -0.0157470703125, -0.005950927734375, -0.00592041015625, -0.0020751953125, 0.004547119140625, -0.00604248046875, 0.01312255859375, -0.036865234375, 0.0390625, 0.04541015625, 0.00194549560546875, -0.0101318359375, 0.006622314453125, 0.01287841796875, 0...
[ 11341, 191984, 159029, 2795, 37839, 4332, 62479, 903, 3794, 135206, 13, 54241, 40956, 7103, 12960, 12096, 10756, 7, 1257, 155605, 30646, 4692, 61669, 8, 5259, 10846, 14633, 831, 31089, 75101, 4271, 2046, 7464, 959, 176377, 7722, 3249, 226874,...
[ 0.2119140625, 0.144775390625, 0.1502685546875, 0.151611328125, 0.177734375, 0.0970458984375, 0.236328125, 0.166259765625, 0.119873046875, 0.1968994140625, 0.1300048828125, 0.10284423828125, 0.1920166015625, 0.02264404296875, 0.10546875, 0.043548583984375, 0.1588134765625, 0.0222015...
embed
25145249_c0
25145249
fsharp
0
Title: Adding F# support to Geany Problem title: Adding F# support to Geany Tags: f%23, ide, geany Problem: Adding F# support to Geany I've searched everywhere and I seem to be the only human on the planet wanting to do this. I've tried all the usual things, making filetypes.Fs.conf, filetypes.fs, editing the configs, ...
Adding F# support to Geany Adding F# support to Geany f%23 ide geany Adding Geany Adding F# support to Geany I've searched everywhere and I seem to be the only human on the planet wanting to do this. I've tried all the usual things, making filetypes.Fs.conf, filetypes.fs, editing the configs, what have you. It always t...
[ 0.00958251953125, 0.0230712890625, 0.006805419921875, -0.01336669921875, -0.00933837890625, 0.006591796875, -0.0022430419921875, 0.006500244140625, -0.001556396484375, -0.00836181640625, 0.03759765625, -0.00640869140625, -0.01068115234375, -0.01104736328125, 0.005584716796875, -0.01245...
[ 62, 59725, 563, 4904, 8060, 47, 60203, 53, 1238, 3949, 3742, 5415, 700, 4848, 33938, 219743, 48903, 4734, 14135, 23208, 3444, 54, 903, 37842, 756, 115723, 20662, 11435, 50986, 919, 7, 70547, 17447, 153837, 11343, 5351, 5, 83, 1326, 927, ...
[ 0.0714111328125, 0.0806884765625, 0.198974609375, 0.275634765625, 0.2384033203125, 0.081787109375, 0.2320556640625, 0.261962890625, 0.0986328125, 0.004058837890625, 0.11572265625, 0.053497314453125, 0.0830078125, 0.1614990234375, 0.00189208984375, 0.0205535888671875, 0.01126098632812...
embed
3897543_c0
3897543
fsharp
0
Title: What is the difference between delegates in C# and functions as first class values in F#? Problem title: What is the difference between delegates in C# and functions as first class values in F#? Tags: f%23, delegates, c%23, first-class-functions Problem: What is the difference between delegates in C# and functio...
What is the difference between delegates in C# and functions as first class values in F#? What is the difference between delegates in C# and functions as first class values in F#? f%23 delegates c%23 first-class-functions What What is the difference between delegates in C# and functions as first class values in F#? Mor...
[ 0.006134033203125, -0.00830078125, 0.003997802734375, -0.0184326171875, -0.01409912109375, 0.005401611328125, 0.003143310546875, 0.00151824951171875, 0.018310546875, 0.0301513671875, -0.00653076171875, 0.0126953125, -0.011474609375, 0.0089111328125, 0.00543212890625, 0.0159912109375, ...
[ 4865, 70, 60212, 17721, 102329, 90, 23, 313, 4904, 136, 32354, 237, 5117, 18507, 142424, 563, 1238, 3949, 3742, 501, 67413, 137175, 83, 62816, 48242, 18, 765 ]
[ 0.0266265869140625, 0.060028076171875, 0.1942138671875, 0.09765625, 0.2900390625, 0.1766357421875, 0.052764892578125, 0.09063720703125, 0.219482421875, 0.0736083984375, 0.2174072265625, 0.11328125, 0.1422119140625, 0.1942138671875, 0.191650390625, 0.1241455078125, 0.0703125, 0.0322...
embed
14544398_c0
14544398
fsharp
0
Title: How to target LLVM from a compiler written in F#? Problem title: How to target LLVM from a compiler written in F#? Tags: f%23, .net, compiler-construction, llvm Problem: How to target LLVM from a compiler written in F#? I'm part way through writing a toy language in F#. I want to target LLVM, but it looks like I...
How to target LLVM from a compiler written in F#? How to target LLVM from a compiler written in F#? f%23 .net compiler-construction llvm a How LLVM How to target LLVM from a compiler written in F#? I'm part way through writing a toy language in F#. I want to target LLVM, but it looks like I'll have to do some work to m...
[ -0.004180908203125, -0.001068115234375, 0.0008697509765625, 0.00787353515625, 0.00616455078125, 0.01312255859375, 0.01068115234375, -0.0157470703125, -0.0034332275390625, -0.0169677734375, 0.0108642578125, -0.000797271728515625, 0.00049591064453125, 0.0189208984375, 0.0159912109375, -0...
[ 11249, 47, 30388, 99954, 47599, 1295, 9969, 34759, 59121, 563, 4904, 23, 1238, 3742, 1179, 238478, 96, 3723, 39, 10, 32562, 72713, 46876, 3444, 33342, 4488, 53383, 13648, 1940, 2146, 32863, 121137, 56, 35773, 19048, 21972, 10002, 53225, 720...
[ 0.080078125, 0.04052734375, 0.2474365234375, 0.1361083984375, 0.272705078125, 0.1131591796875, 0.172119140625, 0.1737060546875, 0.08209228515625, 0.1151123046875, 0.2088623046875, 0.0201568603515625, 0.06439208984375, 0.05712890625, 0.11376953125, 0.10406494140625, 0.04522705078125, ...
embed
13101995_c0
13101995
fsharp
0
Title: Defining static classes in F# Problem title: Defining static classes in F# Tags: .net, static, f%23 Problem: Defining static classes in F# Is it possible to define a static class that contains overloadable members in F#? let module bindings cannot be overloaded, even though they are compiled into static members ...
Defining static classes in F# Defining static classes in F# .net static f%23 Defining Defining static classes in F# Is it possible to define a static class that contains overloadable members in F#? let module bindings cannot be overloaded, even though they are compiled into static members in static classes. type declar...
[ 0.000385284423828125, 0.0002536773681640625, 0.007049560546875, -0.0206298828125, -0.0166015625, 0.007293701171875, -0.0093994140625, -0.0098876953125, 0.0047607421875, -0.00164031982421875, -0.0203857421875, -0.0228271484375, -0.00167083740234375, 0.00836181640625, 0.00628662109375, 0...
[ 88606, 201939, 61112, 23, 563, 4904, 449, 1179, 1238, 3742, 7722, 61924, 18507, 70541, 645, 63033, 2886, 43032, 2633, 88996, 128239, 53418, 5974, 10644, 21635, 831, 3714, 68034, 7228, 43581, 29806, 14375, 64549, 748, 237, 3444 ]
[ 0.1630859375, 0.269775390625, 0.2420654296875, 0.05279541015625, 0.1234130859375, 0.1920166015625, 0.012542724609375, 0.095947265625, 0.03350830078125, 0.06402587890625, 0.07891845703125, 0.164794921875, 0.2216796875, 0.072998046875, 0.0970458984375, 0.1658935546875, 0.065673828125, ...
embed
68683199_c0
68683199
fsharp
0
Title: elegant way to call async functions in a match statement, in F# Problem title: elegant way to call async functions in a match statement, in F# Tags: f%23 Problem: elegant way to call async functions in a match statement, in F# This cannot work: let a () = async { return 0 } let b x = async { return match x with ...
elegant way to call async functions in a match statement, in F# elegant way to call async functions in a match statement, in F# f%23 elegant way to call async functions in a match statement, in F# This cannot work: I understand I could do this: but there are cases where I need a: to do more operations with the result. ...
[ -0.02294921875, 0.00022602081298828125, 0.01708984375, -0.01416015625, -0.00811767578125, -0.016845703125, -0.0037994384765625, -0.004791259765625, 0.00750732421875, -0.0220947265625, 0.014892578125, 0.0234375, 0.00335693359375, -0.0091552734375, 0.0595703125, -0.0152587890625, 0.004...
[ 27650, 3917, 11782, 10, 12654, 238, 32354, 23, 14858, 63805, 563, 4904, 1238, 3742, 7, 53418, 4488, 28219, 5809, 50218, 3871, 47, 54, 1286, 41018, 678, 16750, 69307 ]
[ 0.20703125, 0.07135009765625, 0.1575927734375, 0.056365966796875, 0.20361328125, 0.1217041015625, 0.19189453125, 0.0556640625, 0.2254638671875, 0.2127685546875, 0.1068115234375, 0.1607666015625, 0.052642822265625, 0.07025146484375, 0.0213470458984375, 0.10107421875, 0.07000732421875,...
embed
1989795_c0
1989795
fsharp
0
Title: Partial Application of Infix Functions in F# Problem title: Partial Application of Infix Functions in F# Tags: haskell, func, f%23 Problem: Partial Application of Infix Functions in F# In haskell it is posible to partially apply an infix function using sections, for instance given the infix function < (less than...
Partial Application of Infix Functions in F# Partial Application of Infix Functions in F# haskell func f%23 Partial Application Infix Functions Partial Application of Infix Functions in F# In haskell it is posible to partially apply an infix function using sections, for instance given the infix function < (less than) o...
[ 0.00799560546875, 0.006072998046875, 0.0291748046875, -0.0022430419921875, -0.0130615234375, 0.003936767578125, 0.0087890625, -0.006805419921875, 0.00592041015625, -0.00439453125, 0.0205078125, 0.008056640625, 0.004058837890625, 0.0203857421875, 0.0181884765625, 0.0208740234375, 0.02...
[ 9148, 289, 104921, 360, 55923, 28670, 10763, 23, 563, 4904, 1556, 142508, 7477, 1238, 3949, 3742, 11295, 2878, 25958, 59911, 32354, 17368, 40059, 34475, 4426, 9393, 3501, 831, 2499, 10750, 11516, 16093, 21162, 25632, 16610, 12336, 110, 22062,...
[ 0.172607421875, 0.10400390625, 0.171875, 0.1396484375, 0.281494140625, 0.1573486328125, 0.07867431640625, 0.155517578125, 0.1175537109375, 0.183349609375, 0.14111328125, 0.2215576171875, 0.1024169921875, 0.073486328125, 0.051422119140625, 0.1578369140625, 0.1455078125, 0.1846923828...
embed
989002_c0
989002
fsharp
0
Title: Two classes, getting &quot;type is not defined&quot; error Problem title: Two classes, getting &quot;type is not defined&quot; error Tags: f%23 Problem: Two classes, getting "type is not defined" error I have two classes, Foo and Bar, two distinct files, foo.fs and bar.fs namespace Ganymede.Versioning type foo =...
Two classes, getting &quot;type is not defined&quot; error Two classes, getting &quot;type is not defined&quot; error f%23 Two Ganymede.Versioning Bar Test Two classes, getting "type is not defined" error I have two classes, Foo and Bar, two distinct files, foo.fs and bar.fs I get a "The type 'bar' is not defined." err...
[ 0.0279541015625, 0.01953125, -0.0250244140625, 0.0087890625, 0.0045166015625, 0.0120849609375, -0.0024871826171875, 0.0093994140625, -0.00323486328125, -0.0062255859375, -0.01434326171875, -0.00262451171875, -0.0038604736328125, 0.007720947265625, 0.0028076171875, 0.0029144287109375, ...
[ 32964, 61112, 50986, 83, 959, 61924, 71, 18499, 1238, 3742, 2902, 299, 61376, 178390, 3253, 8647, 20949, 6626, 9572, 31, 136, 117781, 102158, 5775, 17447, 1909, 3957, 10644, 1299, 46132, 18507, 3502 ]
[ 0.10693359375, 0.1917724609375, 0.21142578125, 0.0848388671875, 0.1217041015625, 0.180419921875, 0.044921875, 0.1265869140625, 0.001129150390625, 0.0192413330078125, 0.0343017578125, 0.0261688232421875, 0.188720703125, 0.1197509765625, 0.1302490234375, 0.08905029296875, 0.00070190429...
embed
3890037_c0
3890037
fsharp
0
Title: Literal Attribute not working Problem title: Literal Attribute not working Tags: f%23 Problem: Literal Attribute not working After reading Chris' answer to F# - public literal and the blog post at http://blogs.msdn.com/b/chrsmith/archive/2008/10/03/f-zen-the-literal-attribute.aspx I don't get why the following i...
Literal Attribute not working Literal Attribute not working f%23 Literal Attribute Literal Attribute not working After reading Chris' answer to F# - public literal and the blog post at http://blogs.msdn.com/b/chrsmith/archive/2008/10/03/f-zen-the-literal-attribute.aspx I don't get why the following is not working: This...
[ -0.01336669921875, -0.0026397705078125, -0.01556396484375, -0.00946044921875, -0.0106201171875, -0.02001953125, 0.00018215179443359375, 0.006317138671875, -0.0020904541015625, 0.002777099609375, 0.004425048828125, 0.018798828125, -0.006439208984375, 0.01446533203125, 0.0115966796875, -...
[ 135940, 141, 1913, 191145, 959, 20697, 1238, 3949, 3742, 16454, 31745, 35166, 563, 4904, 3835, 15659, 289, 153144, 57093, 64024, 420, 3121, 2347, 39798, 257, 2046, 15400, 70, 25632, 3293, 13695, 2448, 1916, 363, 102971, 5351, 5608, 18, 1957...
[ 0.239013671875, 0.17041015625, 0.132568359375, 0.264892578125, 0.092529296875, 0.17431640625, 0.093505859375, 0.050994873046875, 0.14306640625, 0.0290679931640625, 0.0426025390625, 0.0271453857421875, 0.0899658203125, 0.1358642578125, 0.111328125, 0.1561279296875, 0.1280517578125, ...
embed
28895878_c0
28895878
fsharp
0
Title: Currying n arguments create n functions Problem title: Currying n arguments create n functions Tags: f%23, functional-programming Problem: Currying n arguments create n functions I have a function //normal version let addTwoParameters x y = x + y translate to curry version it looks like: //explicitly curried ver...
Currying n arguments create n functions Currying n arguments create n functions f%23 functional-programming Currying Currying n arguments create n functions I have a function translate to curry version it looks like: What when I have a function with 4 arguments like: How the currying version would be?
[ 0.000965118408203125, -0.006317138671875, 0.005096435546875, 0.00567626953125, 0.00872802734375, 0.0247802734375, 0.004852294921875, -0.01153564453125, 0.0303955078125, -0.00994873046875, -0.00408935546875, -0.033447265625, -0.01348876953125, 0.0159912109375, -0.000865936279296875, -0....
[ 17065, 1294, 214, 653, 10750, 28282, 32354, 1238, 3949, 3742, 123309, 28966, 7, 87, 765, 3900, 19309, 47, 198555, 11389, 33342, 1884, 4865, 3229, 678, 201, 11249, 2806, 186 ]
[ 0.1448974609375, 0.1800537109375, 0.125, 0.1767578125, 0.2381591796875, 0.18212890625, 0.25341796875, 0.04034423828125, 0.037353515625, 0.1077880859375, 0.1397705078125, 0.10467529296875, 0.006988525390625, 0.0165252685546875, 0.0308990478515625, 0.0980224609375, 0.12939453125, 0.0...
embed
26101582_c0
26101582
fsharp
0
Title: F# phantom types in practice Problem title: F# phantom types in practice Tags: f%23, types Problem: F# phantom types in practice I often have a function with multiple parameters of the same type, and sometimes use them in the wrong order. As a simple example let combinePath (path : string) (fileName : string) = ...
F# phantom types in practice F# phantom types in practice f%23 types F# phantom types in practice I often have a function with multiple parameters of the same type, and sometimes use them in the wrong order. As a simple example It seems to me that phantom types would be a good way to catch any mix ups. But I don't unde...
[ 0.005889892578125, 0.01043701171875, -0.007476806640625, 0.007354736328125, -0.018310546875, 0.0157470703125, 0.006561279296875, 0.01141357421875, -0.00408935546875, -0.0142822265625, -0.00811767578125, 0.006256103515625, 0.004180908203125, 0.00494384765625, -0.022705078125, 0.01586914...
[ 563, 4904, 68743, 5928, 52895, 41361, 1238, 3949, 3742, 27983, 32354, 678, 48716, 171859, 5701, 10644, 68018, 4527, 44691, 12989, 8781, 27781, 37202, 2806, 4127, 3917, 105556, 2499, 17664, 1257, 28219, 3642, 59911, 70, 4734, 11249, 29479, 117...
[ 0.11572265625, 0.1788330078125, 0.177490234375, 0.205322265625, 0.239013671875, 0.1923828125, 0.0653076171875, 0.005584716796875, 0.1331787109375, 0.090576171875, 0.155029296875, 0.030975341796875, 0.1231689453125, 0.184814453125, 0.082763671875, 0.1541748046875, 0.05145263671875, ...
embed
76399517_c0
76399517
fsharp
0
Title: How to use FsLexYacc with Visual Studio 2022 in F#? Problem title: How to use FsLexYacc with Visual Studio 2022 in F#? Tags: fslex, f%23, visual-studio Problem: How to use FsLexYacc with Visual Studio 2022 in F#? I decided to use FsLexYacc for parsing in F#. So I downloaded it with the NuGet package in Visual St...
How to use FsLexYacc with Visual Studio 2022 in F#? How to use FsLexYacc with Visual Studio 2022 in F#? fslex f%23 visual-studio How FsLexYacc Visual Studio How to use FsLexYacc with Visual Studio 2022 in F#? I decided to use FsLexYacc for parsing in F#. So I downloaded it with the NuGet package in Visual Studio, I hav...
[ -0.0001430511474609375, 0.00164794921875, 0.007781982421875, 0.01806640625, -0.00193023681640625, 0.0361328125, 0.017333984375, 0.000591278076171875, 0.0026092529296875, -0.011962890625, 0.02490234375, -0.005615234375, 0.000843048095703125, -0.017578125, 0.010009765625, 0.0000777244567...
[ 11249, 47, 4527, 563, 7, 5267, 425, 21566, 10060, 678, 73372, 22968, 72392, 23, 4904, 1238, 74070, 3949, 3742, 21176, 52629, 68872, 100, 366, 6953, 7026, 442, 1429, 724, 126, 98169, 110, 6528, 3642, 3126, 15190, 136, 112820, 1884, 903, ...
[ 0.0850830078125, 0.055694580078125, 0.141357421875, 0.13427734375, 0.1126708984375, 0.1873779296875, 0.1734619140625, 0.1937255859375, 0.1923828125, 0.09783935546875, 0.187744140625, 0.1700439453125, 0.2137451171875, 0.07122802734375, 0.1854248046875, 0.08941650390625, 0.20947265625,...
embed
41529758_c0
41529758
fsharp
0
Title: How to apply operations (like filter, add column, etc) to a R.data_frame? (R type provider) Problem title: How to apply operations (like filter, add column, etc) to a R.data_frame? (R type provider) Tags: type-providers, f%23, r Problem: How to apply operations (like filter, add column, etc) to a R.data_frame? (...
How to apply operations (like filter, add column, etc) to a R.data_frame? (R type provider) How to apply operations (like filter, add column, etc) to a R.data_frame? (R type provider) type-providers f%23 r How R.data_frame frame$some_column frame$new_column How to apply operations (like filter, add column, etc) to a R....
[ 0.0208740234375, 0.0211181640625, 0.00982666015625, 0.00445556640625, -0.003143310546875, -0.021240234375, 0.0147705078125, 0.01470947265625, 0.0133056640625, -0.016845703125, 0.0078125, -0.0001850128173828125, 0.006500244140625, -0.0111083984375, -0.00384521484375, 0.01007080078125, ...
[ 11249, 59911, 41018, 7, 46312, 15190, 3365, 316, 47, 627, 10135, 160328, 1052, 10644, 81450, 93136, 14202, 3742, 1690, 5, 123789, 43452, 8447, 19, 54936, 2161, 831, 72546, 51620, 36998, 80854, 69307, 678, 123089, 42 ]
[ 0.050567626953125, 0.149658203125, 0.182861328125, 0.03802490234375, 0.2171630859375, 0.114990234375, 0.097412109375, 0.1024169921875, 0.0303192138671875, 0.1956787109375, 0.075439453125, 0.205810546875, 0.1416015625, 0.161376953125, 0.1988525390625, 0.15576171875, 0.0765380859375, ...
embed
55243768_c1
55243768
fsharp
1
, the MailboxProcessor has no time to log the exception message. What I've tried to do - which is working indeed - was adding a printfn "%s" ex.Message before the end: I just wanted to know if someone envisions a better solution. FYI, the full code is in this gist . Code signals: MailboxProcessor, Path.Combine, SharedF...
, the MailboxProcessor has no time to log the exception message. What I've tried to do - which is working indeed - was adding a printfn "%s" ex.Message before the end: I just wanted to know if someone envisions a better solution. FYI, the full code is in this gist . Code signals: MailboxProcessor, Path.Combine, SharedF...
[ 0.010986328125, 0.05859375, 0.007659912109375, 0.01416015625, -0.0019683837890625, -0.01153564453125, -0.007049560546875, 0.0019989013671875, -0.00104522705078125, -0.01531982421875, 0.00811767578125, 0.024169921875, 0.0042724609375, -0.00042724609375, 0.030029296875, 0.0064697265625, ...
[ 25919, 11728, 10752, 26531, 748, 1556, 110, 1733, 12684, 131527, 26008, 37842, 20697, 160463, 154107, 28412, 14783, 3949, 7, 1119, 594, 6011, 429, 8108, 3564, 25826, 11522, 29806, 4393, 18151, 28864, 26073, 108421, 46187, 29790, 31178, 115061, ...
[ 0.130126953125, 0.255126953125, 0.0843505859375, 0.15673828125, 0.119140625, 0.00830078125, 0.066650390625, 0.191650390625, 0.172119140625, 0.2724609375, 0.168212890625, 0.0283355712890625, 0.0865478515625, 0.02001953125, 0.0914306640625, 0.1322021484375, 0.1572265625, 0.119140625,...
embed
63602793_c0
63602793
fsharp
0
Title: button extension in f# canopy Problem title: button extension in f# canopy Tags: canopy-web-testing, canopy, f%23 Problem: button extension in f# canopy I'm trying to make a general button extension in f# and canopy. as you know we can click a button like this in canopy click (//button[contains(text(),'save')])[...
button extension in f# canopy button extension in f# canopy canopy-web-testing canopy f%23 _button button extension in f# canopy I'm trying to make a general button extension in f# and canopy. as you know we can click a button like this in canopy But I'm trying to do something like this. but this gives This value is no...
[ 0.005340576171875, 0.006378173828125, 0.004302978515625, 0.0003108978271484375, 0.006805419921875, -0.00115203857421875, 0.00799560546875, -0.0174560546875, 0.023193359375, -0.059326171875, -0.003936767578125, 0.01708984375, 0.005126953125, -0.02197265625, 0.01336669921875, -0.01538085...
[ 77679, 111938, 23, 1238, 4904, 831, 2146, 53, 14051, 6954, 3742, 8789, 1507, 31577, 3249, 4537, 136, 18158, 1884, 903, 76199, 3293, 34292, 959, 10, 32354, 53418, 190659, 6782, 25647 ]
[ 0.21826171875, 0.21875, 0.056060791015625, 0.111328125, 0.185791015625, 0.11279296875, 0.1749267578125, 0.1590576171875, 0.043060302734375, 0.11181640625, 0.05267333984375, 0.1207275390625, 0.09765625, 0.0771484375, 0.0197296142578125, 0.1298828125, 0.03289794921875, 0.203735351562...
embed
65675364_c0
65675364
fsharp
0
Title: F# - Append an element to the beginning of a list Problem title: F# - Append an element to the beginning of a list Tags: f%23 Problem: F# - Append an element to the beginning of a list so I am trying to append an element to the beginning of a mutable list. This is what I am working with: type Item<'a> = { mutabl...
F# - Append an element to the beginning of a list F# - Append an element to the beginning of a list f%23 Append Item Option MList Nat Unit F# - Append an element to the beginning of a list so I am trying to append an element to the beginning of a mutable list. This is what I am working with: How can I add v to the begi...
[ -0.01470947265625, 0.00830078125, 0.013671875, -0.0068359375, 0.00689697265625, 0.00019550323486328125, -0.00909423828125, 0.001007080078125, 0.013671875, -0.0216064453125, 0.0233154296875, 0.0206298828125, 0.005096435546875, 0.01171875, 0.000896453857421875, -0.0234375, 0.0051879882...
[ 563, 4904, 5659, 3611, 12830, 47, 86595, 111, 5303, 20, 142, 70, 1238, 3949, 3742, 78426, 86769, 276, 154663, 68875, 46640, 31577, 114689, 71, 842, 22819, 20697, 11249, 831, 15190, 81, 6562 ]
[ 0.114990234375, 0.19580078125, 0.1119384765625, 0.09967041015625, 0.1627197265625, 0.09912109375, 0.1768798828125, 0.06610107421875, 0.188720703125, 0.001678466796875, 0.033447265625, 0.024688720703125, 0.07928466796875, 0.0229034423828125, 0.103515625, 0.1201171875, 0.1568603515625,...
embed
2843401_c0
2843401
fsharp
0
Title: code folding in Visual Studio for F# Problem title: code folding in Visual Studio for F# Tags: f%23, visual-studio Problem: code folding in Visual Studio for F# I find that I tend to write long source files in F#. Some open source projects in F# also have long source files, e.g. FPersec and F# for excel. So it w...
code folding in Visual Studio for F# code folding in Visual Studio for F# f%23 visual-studio Visual Studio code folding in Visual Studio for F# I find that I tend to write long source files in F#. Some open source projects in F# also have long source files, e.g. FPersec and F# for excel. So it would be very helpful if ...
[ 0.0118408203125, 0.0174560546875, 0.0025482177734375, -0.000583648681640625, 0.000217437744140625, 0.004913330078125, -0.0203857421875, 0.00482177734375, -0.00860595703125, 0.004302978515625, -0.00182342529296875, -0.0169677734375, -0.0005035400390625, 0.015869140625, 0.0164794921875, ...
[ 18151, 18344, 6238, 23, 73372, 22968, 100, 563, 4904, 1238, 3742, 21176, 52629, 7413, 17660, 33022, 4989, 31344, 102158, 9803, 77635, 15277, 39797, 64152, 98893, 84046, 8060, 19882, 44160, 88996, 831, 42822, 1810, 32354, 144142, 4734, 31358, ...
[ 0.2171630859375, 0.2069091796875, 0.11328125, 0.040771484375, 0.224853515625, 0.2095947265625, 0.05126953125, 0.1304931640625, 0.2021484375, 0.017333984375, 0.0618896484375, 0.140625, 0.1392822265625, 0.038818359375, 0.059967041015625, 0.0626220703125, 0.0389404296875, 0.1212158203...
embed
48529013_c0
48529013
fsharp
0
Title: Is it possible to use SQL Data Provider in NET Core? Problem title: Is it possible to use SQL Data Provider in NET Core? Tags: .net-core, f%23 Problem: Is it possible to use SQL Data Provider in NET Core? I have a project which was written using SQL Data Provider . As I see it depends on System.Data.Linq. Now I ...
Is it possible to use SQL Data Provider in NET Core? Is it possible to use SQL Data Provider in NET Core? .net-core f%23 SQL Data Provider NET Core Is it possible to use SQL Data Provider in NET Core? I have a project which was written using SQL Data Provider . As I see it depends on System.Data.Linq. Now I need to por...
[ 0.010498046875, 0.03564453125, -0.002227783203125, 0.01495361328125, -0.02734375, -0.00150299072265625, -0.0096435546875, 0.00830078125, -0.0211181640625, -0.04345703125, 0.01385498046875, 0.0024261474609375, 0.008544921875, -0.0052490234375, 0.003936767578125, -0.00141143798828125, ...
[ 2071, 7722, 4527, 80866, 11809, 123089, 42, 23, 17777, 31365, 1179, 30854, 3742, 442, 47, 13452, 59121, 17368, 56566, 12353, 137989, 866, 44982, 11469, 38415, 22027, 18, 8060, 32102, 66589, 108355, 3917, 434, 18781, 63399, 135355 ]
[ 0.02777099609375, 0.1741943359375, 0.1510009765625, 0.26708984375, 0.14501953125, 0.229248046875, 0.1759033203125, 0.0860595703125, 0.1668701171875, 0.25048828125, 0.1103515625, 0.1871337890625, 0.0732421875, 0.027679443359375, 0.0223236083984375, 0.0732421875, 0.039337158203125, 0...
embed
41585858_c0
41585858
fsharp
0
Title: F# let binding patterns Problem title: F# let binding patterns Tags: f%23 Problem: F# let binding patterns The problem is not new in stackoverflow , but I am not able to comprehend the behavior of let binding with patterns and of the in keyword. My textbook prefers the uncommon function definition format: let fo...
F# let binding patterns F# let binding patterns f%23 F# let binding patterns The problem is not new in stackoverflow , but I am not able to comprehend the behavior of let binding with patterns and of the in keyword. My textbook prefers the uncommon function definition format: So that I translated in #light syntax: If I...
[ -0.003082275390625, 0.0087890625, 0.002532958984375, 0.01318359375, 0.007537841796875, -0.0028228759765625, -0.00286865234375, 0.01190185546875, 0.00885009765625, -0.0233154296875, -0.0021514892578125, -0.01806640625, -0.005126953125, 0.0068359375, 0.036376953125, 0.0023193359375, 0....
[ 563, 4904, 2633, 128239, 103510, 1238, 3742, 2967, 177261, 5465, 118664, 959, 19048, 232460, 123166, 678, 23, 166117, 7986, 14137, 12601, 277, 3796, 32354, 80934, 9384, 3900, 143, 20016, 6002, 86531, 4263, 5423, 5775, 31, 201, 30646, 7, 163...
[ 0.09423828125, 0.1708984375, 0.2421875, 0.2685546875, 0.2626953125, 0.0546875, 0.1146240234375, 0.049530029296875, 0.055816650390625, 0.043060302734375, 0.1083984375, 0.040924072265625, 0.033660888671875, 0.1466064453125, 0.098388671875, 0.07977294921875, 0.0147857666015625, 0.1998...
embed
13219761_c0
13219761
fsharp
0
Title: Convert email attachment to base64 Problem title: Convert email attachment to base64 Tags: stream, arrays, base64, c%23-to-f%23, f%23 Problem: Convert email attachment to base64 I want to take an attachment from an email and convert it to a base64 string so that I can store it as JSON. In C#, I would get the att...
Convert email attachment to base64 Convert email attachment to base64 stream arrays base64 c%23-to-f%23 f%23 Convert base64 System.IO.Stream Convert.ToBase64String Convert email attachment to base64 I want to take an attachment from an email and convert it to a base64 string so that I can store it as JSON. In C#, I wou...
[ -0.0145263671875, -0.0032806396484375, -0.006683349609375, -0.021728515625, 0.01055908203125, 0.004669189453125, -0.017822265625, -0.01092529296875, -0.0185546875, -0.01214599609375, 0.0015411376953125, 0.0277099609375, -0.00701904296875, 0.023193359375, 0.01202392578125, 0.01361083984...
[ 1657, 11549, 3340, 235923, 47, 3647, 13307, 75973, 10298, 4778, 27495, 188, 420, 3742, 1238, 12353, 17780, 115061, 7763, 63473, 13, 71713, 3444, 5646, 1295, 136, 96760, 79315, 4343, 237, 821, 58627, 360, 313, 4904, 2046, 12301, 390, 214, ...
[ 0.0675048828125, 0.1558837890625, 0.1806640625, 0.240478515625, 0.10205078125, 0.2012939453125, 0.2724609375, 0.2149658203125, 0.114990234375, 0.055633544921875, 0.036376953125, 0.0906982421875, 0.0989990234375, 0.042205810546875, 0.0723876953125, 0.1171875, 0.175048828125, 0.18859...
embed
3160903_c0
3160903
fsharp
0
Title: Using a user defined type Problem title: Using a user defined type Tags: f%23, user-defined-types Problem: Using a user defined type I'm defining a a type to represent a board of my game: type Position = (int * Piece) list But when I create a list like this: let board1 = [(1,Piece.BLACK);(2,Piece.WHITE);(3,Piece...
Using a user defined type Using a user defined type f%23 user-defined-types Using Position Piece board1 Piece.BLACK Piece.WHITE BLACK WHITE Using a user defined type I'm defining a a type to represent a board of my game: But when I create a list like this: I create a list of (int * Piece) list, not a Position. How can ...
[ -0.000244140625, -0.01263427734375, 0.0042724609375, 0.0029144287109375, -0.01177978515625, 0.01312255859375, -0.0184326171875, 0.01153564453125, 0.0101318359375, -0.027099609375, -0.01953125, 0.00830078125, 0.027587890625, -0.00799560546875, -0.0118408203125, 0.00482177734375, 0.011...
[ 345, 6953, 38937, 61924, 71, 10644, 1238, 3949, 3742, 112, 5983, 297, 50986, 99428, 10374, 329, 45443, 418, 147461, 1456, 841, 25216, 210920, 601, 13204, 449, 47, 33636, 111, 6712, 4966, 28282, 10, 5303, 1884, 903, 87, 4288, 661, 959, 1...
[ 0.08392333984375, 0.0709228515625, 0.1876220703125, 0.2054443359375, 0.06109619140625, 0.245849609375, 0.048583984375, 0.031158447265625, 0.0850830078125, 0.089111328125, 0.155029296875, 0.006866455078125, 0.230712890625, 0.2242431640625, 0.1248779296875, 0.06036376953125, 0.16967773...
embed
8680932_c0
8680932
fsharp
0
Title: Is fsi.exe an interpreter? Problem title: Is fsi.exe an interpreter? Tags: .net, f%23, read-eval-print-loop, fsi Problem: Is fsi.exe an interpreter? I've read that fsi.exe (F# Interactive) is not a true "interpreter" in the strict sense because it compiles F# code on the fly and displays its output. I am under t...
Is fsi.exe an interpreter? Is fsi.exe an interpreter? .net f%23 read-eval-print-loop fsi fsi.exe Is fsi.exe an interpreter? I've read that fsi.exe (F# Interactive) is not a true "interpreter" in the strict sense because it compiles F# code on the fly and displays its output. I am under the impression that the word "int...
[ 0.012451171875, -0.00604248046875, 0.0247802734375, 0.0103759765625, -0.0106201171875, 0.01129150390625, 0.0225830078125, -0.003814697265625, -0.0216064453125, 0.003387451171875, -0.00799560546875, 0.0311279296875, -0.004364013671875, 0.00579833984375, 0.0234375, 0.004791259765625, 0...
[ 2071, 1238, 172, 5, 46480, 142, 29481, 56, 1179, 3742, 12301, 13, 1405, 35662, 28354, 919, 4904, 5337, 71232, 83, 959, 10, 29568, 158288, 81113, 10422, 9969, 1340, 563, 18151, 12403, 44116, 140992, 49128, 2565, 4027, 242554, 46876, 17925, ...
[ 0.070068359375, 0.1571044921875, 0.2313232421875, 0.1204833984375, 0.22900390625, 0.08837890625, 0.2498779296875, 0.182373046875, 0.1221923828125, 0.0141754150390625, 0.132568359375, 0.037109375, 0.18896484375, 0.1510009765625, 0.1666259765625, 0.1209716796875, 0.16650390625, 0.097...
embed
56621873_c0
56621873
fsharp
0
Title: How to mimic F# compiler type checking? Problem title: How to mimic F# compiler type checking? Tags: f%23 Problem: How to mimic F# compiler type checking? In F#, I can write a function (fun x -> x * x) and confirm it has type int->int because the following code compiles: let typeCheck<'T> (x:'T) = () typeCheck<i...
How to mimic F# compiler type checking? How to mimic F# compiler type checking? f%23 How GetType How to mimic F# compiler type checking? In F#, I can write a function (fun x -> x * x) and confirm it has type int->int because the following code compiles: On the other hand, GetType for this function doesn't agree with ty...
[ 0.004913330078125, 0.02001953125, -0.00531005859375, 0.00299072265625, -0.007415771484375, -0.012451171875, 0.009521484375, 0.003631591796875, 0.01519775390625, -0.0223388671875, 0.004364013671875, 0.00150299072265625, 0.00421142578125, -0.0091552734375, 0.0177001953125, 0.006866455078...
[ 11249, 47, 324, 21068, 563, 4904, 9969, 34759, 10644, 175199, 1238, 3742, 20779, 196707, 831, 33022, 32354, 16498, 1022, 33079, 661, 39563, 1556, 23, 18, 4288, 25632, 18151, 1340, 53520, 4390, 11782, 78292, 214 ]
[ 0.0716552734375, 0.055999755859375, 0.175537109375, 0.2047119140625, 0.1328125, 0.210693359375, 0.152099609375, 0.148681640625, 0.21435546875, 0.227294921875, 0.0367431640625, 0.0596923828125, 0.1373291015625, 0.26806640625, 0.0282135009765625, 0.06536865234375, 0.150390625, 0.0950...
embed
56452444_c0
56452444
fsharp
0
Title: Incorrect syntax causing &quot;This value is not a function and cannot be applied&quot; Problem title: Incorrect syntax causing &quot;This value is not a function and cannot be applied&quot; Tags: functional-programming, f%23 Problem: Incorrect syntax causing "This value is not a function and cannot be applied" ...
Incorrect syntax causing &quot;This value is not a function and cannot be applied&quot; Incorrect syntax causing &quot;This value is not a function and cannot be applied&quot; functional-programming f%23 Incorrect Incorrect syntax causing "This value is not a function and cannot be applied" I get This value is not a fu...
[ -0.02197265625, -0.010986328125, 0.001953125, 0.002532958984375, -0.00860595703125, 0.00469970703125, -0.0010833740234375, -0.0036163330078125, 0.0036163330078125, -0.032958984375, -0.0035247802734375, 0.0118408203125, -0.01397705078125, 0.0036773681640625, 0.02978515625, -0.0006904602...
[ 360, 32399, 15390, 6002, 86531, 216806, 73243, 34292, 83, 959, 10, 32354, 136, 53418, 190659, 123309, 28966, 214, 1238, 3949, 3742, 186, 3293, 18822, 143434, 18499, 44691, 18151 ]
[ 0.050262451171875, 0.1685791015625, 0.0838623046875, 0.1671142578125, 0.2359619140625, 0.17041015625, 0.1649169921875, 0.2156982421875, 0.1671142578125, 0.2347412109375, 0.1239013671875, 0.1982421875, 0.08734130859375, 0.1943359375, 0.204345703125, 0.165771484375, 0.1470947265625, ...
embed
44853748_c0
44853748
fsharp
0
Title: How to perform left join using SQLProvider in F# Problem title: How to perform left join using SQLProvider in F# Tags: f%23 Problem: How to perform left join using SQLProvider in F# I am trying to build a query to get the data I need from the Db. Db doesn't have a proper relationship between tables, however to r...
How to perform left join using SQLProvider in F# How to perform left join using SQLProvider in F# f%23 SQLProvider How How to perform left join using SQLProvider in F# I am trying to build a query to get the data I need from the Db. Db doesn't have a proper relationship between tables, however to retrieve the data I ne...
[ 0.0203857421875, 0.01300048828125, 0.006103515625, 0.0032958984375, 0.006805419921875, 0.005584716796875, -0.00323486328125, -0.01043701171875, -0.006927490234375, -0.04833984375, 0.00135040283203125, 0.00543212890625, 0.0028076171875, -0.01361083984375, -0.0162353515625, -0.0061645507...
[ 11249, 47, 51339, 25737, 33284, 17368, 80866, 177997, 62160, 563, 4904, 1238, 3742, 23, 45367, 41, 1294, 2046, 2053, 3871, 391, 275, 76755, 17721, 23180, 3996, 2967, 209806, 79858, 56, 16604, 73, 959, 8060, 105363, 131527, 9790, 37772, 3917...
[ 0.03582763671875, 0.01092529296875, 0.1861572265625, 0.243896484375, 0.243896484375, 0.07550048828125, 0.181640625, 0.1915283203125, 0.1973876953125, 0.1041259765625, 0.1937255859375, 0.0303955078125, 0.10430908203125, 0.017669677734375, 0.0226593017578125, 0.06280517578125, 0.067871...
embed
48488776_c1
48488776
fsharp
1
} This parses everything fine except the to field, because I am using to_date in my record, it parses to null ... to is a keyword in F# therefore I cannot use it in my record definition. I can't really change the JSON in the database at this point. Is there any workaround around this? Code signals: Firebase, JSON, Lis...
} This parses everything fine except the to field, because I am using to_date in my record, it parses to null ... to is a keyword in F# therefore I cannot use it in my record definition. I can't really change the JSON in the database at this point. Is there any workaround around this? Code signals: Firebase, JSON, Lis...
[ 0.0133056640625, 0.0306396484375, -0.0203857421875, -0.0021820068359375, -0.0213623046875, 0.00994873046875, -0.021728515625, 0.007568359375, -0.0142822265625, -0.00885009765625, -0.00897216796875, 0.000255584716796875, 0.01312255859375, -0.002105712890625, -0.0037689208984375, -0.0233...
[ 51912, 3293, 366, 5908, 26818, 5885, 40494, 47, 44457, 17368, 454, 17489, 17164, 56574, 153, 83, 166117, 23, 563, 4904, 53418, 4527, 80934, 831, 6183, 15549, 821, 58627, 63399, 6275, 4488, 67688, 10932, 903, 28864, 26073, 31143, 37382, 3203...
[ 0.0254669189453125, 0.0772705078125, 0.1474609375, 0.08447265625, 0.1138916015625, 0.13330078125, 0.084228515625, 0.27587890625, 0.193115234375, 0.07879638671875, 0.011016845703125, 0.1783447265625, 0.1749267578125, 0.2073974609375, 0.02099609375, 0.0219879150390625, 0.2186279296875,...
embed
27111253_c0
27111253
fsharp
0
Title: F#: downcast a discriminated union Problem title: F#: downcast a discriminated union Tags: downcast, f%23, discriminated-union, casting Problem: F#: downcast a discriminated union I have a discriminated union type: type F = | A of int | B of float Suppose I have a list of F that has been filtered to yield only o...
F#: downcast a discriminated union F#: downcast a discriminated union downcast f%23 discriminated-union casting list.filter list.map F#: downcast a discriminated union I have a discriminated union type: Suppose I have a list of F that has been filtered to yield only objects of type A: How can I work with the resulting ...
[ -0.001373291015625, 0.005462646484375, 0.0172119140625, 0.007171630859375, -0.004058837890625, -0.0162353515625, -0.01397705078125, 0.023193359375, 0.0279541015625, 0.0048828125, 0.02001953125, -0.00592041015625, 0.0164794921875, 0.024658203125, -0.00994873046875, -0.0196533203125, 0...
[ 563, 4904, 12, 7565, 55741, 10, 55970, 3674, 69941, 1238, 3949, 3742, 87046, 176050, 5303, 120337, 62346, 765, 10644, 121691, 1556, 46312, 11180, 19388, 4734, 36746, 111, 62, 11249, 831, 4488, 678, 16750, 15490, 186607, 103510, 14858, 219743,...
[ 0.173095703125, 0.2086181640625, 0.00079345703125, 0.158935546875, 0.212646484375, 0.03326416015625, 0.1962890625, 0.0694580078125, 0.21044921875, 0.0938720703125, 0.000213623046875, 0.08563232421875, 0.137939453125, 0.1375732421875, 0.1549072265625, 0.166259765625, 0.07855224609375,...
embed
65627928_c0
65627928
fsharp
0
Title: How to load svg file and display in Fable.React? Problem title: How to load svg file and display in Fable.React? Tags: f%23, fable-f%23 Problem: How to load svg file and display in Fable.React? Things I have tried img [Src "/myfile.svg"] svg [Src "/myfile.svg"] [] svg [SVGAttr./*various options */ "/myfile.svg"]...
How to load svg file and display in Fable.React? How to load svg file and display in Fable.React? f%23 fable-f%23 How Fable.React Src myfile.svg SVGAttr SVGAttr.XlinkHref SVGAttr.Width SVGAttr.Height SVGAttr.ViewBox How to load svg file and display in Fable.React? Things I have tried I also tried opening the svg in a t...
[ -0.0037841796875, 0.0002880096435546875, -0.006500244140625, -0.01251220703125, -0.005279541015625, -0.0002498626708984375, 0.00189208984375, -0.007720947265625, -0.01214599609375, -0.015869140625, -0.0036773681640625, -0.0103759765625, -0.0012054443359375, 0.017822265625, 0.004119873046...
[ 11249, 72367, 12669, 177, 11435, 136, 44116, 23, 563, 2886, 4332, 47013, 47, 1238, 3742, 1071, 2661, 19437, 759, 29822, 67756, 38020, 14849, 4448, 10187, 29087, 100474, 72295, 37842, 73432, 30391, 43658, 150380 ]
[ 0.04583740234375, 0.1944580078125, 0.1767578125, 0.1693115234375, 0.1514892578125, 0.0760498046875, 0.1650390625, 0.07080078125, 0.1217041015625, 0.1796875, 0.136962890625, 0.2203369140625, 0.0201263427734375, 0.011627197265625, 0.02984619140625, 0.10272216796875, 0.1124267578125, ...
embed
27175008_c0
27175008
fsharp
0
Title: F# searching in trees F# Problem title: F# searching in trees F# Tags: f%23, tree, functional-programming, recursion Problem: F# searching in trees F# Find an 'item/object/type' in a recursive tree type, the tree type is UNSORTED, thus binary search operation is not going to succeed. Type Tree = T of (Name*Child...
F# searching in trees F# F# searching in trees F# f%23 tree functional-programming recursion Type Tree Name Children List.find F# searching in trees F# Find an 'item/object/type' in a recursive tree type, the tree type is UNSORTED, thus binary search operation is not going to succeed. My code(which doesn't work) I've t...
[ 0.0162353515625, 0.0001163482666015625, 0.01708984375, -0.009765625, 0.0135498046875, 0.01043701171875, -0.01312255859375, -0.030517578125, 0.01397705078125, -0.022705078125, 0.025390625, -0.004669189453125, 0.004425048828125, 0.00897216796875, 0.01904296875, 0.004302978515625, 0.017...
[ 563, 4904, 157318, 23, 1360, 1238, 3949, 3742, 53201, 123309, 28966, 195625, 1830, 60457, 101344, 15757, 91345, 32036, 111607, 26040, 217, 195, 64, 187694, 50986, 25, 5844, 10644, 83, 8274, 122262, 66458, 4, 2394, 6635, 33938, 41018, 959, 7...
[ 0.1278076171875, 0.197265625, 0.2139892578125, 0.089111328125, 0.1912841796875, 0.0860595703125, 0.0191650390625, 0.1322021484375, 0.20361328125, 0.135986328125, 0.08087158203125, 0.2095947265625, 0.069580078125, 0.157470703125, 0.1912841796875, 0.0650634765625, 0.151611328125, 0.1...
embed
73756386_c0
73756386
fsharp
0
Title: How to reuse a component develop in F# and Feliz in a different React application? Problem title: How to reuse a component develop in F# and Feliz in a different React application? Tags: f%23, fable-f%23, reactjs Problem: How to reuse a component develop in F# and Feliz in a different React application? I am new...
How to reuse a component develop in F# and Feliz in a different React application? How to reuse a component develop in F# and Feliz in a different React application? f%23 fable-f%23 reactjs How Feliz React How to reuse a component develop in F# and Feliz in a different React application? I am new to F# and I have built...
[ -0.023193359375, 0.002777099609375, 0.00193023681640625, 0.0024566650390625, -0.010986328125, 0.01422119140625, 0.006561279296875, 0.00341796875, -0.004547119140625, 0.0027618408203125, 0.00066375732421875, -0.0164794921875, 0.025146484375, 0.0245361328125, 0.009765625, -0.009582519531...
[ 11249, 47, 156883, 82761, 85493, 563, 4904, 136, 176780, 23, 12921, 853, 47013, 38415, 10, 1238, 3742, 1071, 2661, 420, 131300, 28175, 3525, 88303, 8781, 12765, 11728, 6226, 17368, 2886, 1884, 80299, 25037, 39, 98169, 84797, 3917, 139392, 6...
[ 0.1043701171875, 0.0269775390625, 0.25927734375, 0.2265625, 0.1895751953125, 0.10052490234375, 0.1854248046875, 0.11328125, 0.258056640625, 0.045623779296875, 0.1556396484375, 0.1053466796875, 0.2069091796875, 0.1639404296875, 0.03692626953125, 0.043609619140625, 0.0367431640625, 0...
embed
21122832_c0
21122832
fsharp
0
Title: In F#, what is the correct syntax to specify a DefaultValue? Problem title: In F#, what is the correct syntax to specify a DefaultValue? Tags: datacontract, f%23, types, datamember Problem: In F#, what is the correct syntax to specify a DefaultValue? In F#, what is the correct syntax to specify a DefaultValue on...
In F#, what is the correct syntax to specify a DefaultValue? In F#, what is the correct syntax to specify a DefaultValue? datacontract f%23 types datamember DefaultValue DataContract Geocode DataMember Name In F#, what is the correct syntax to specify a DefaultValue? In F#, what is the correct syntax to specify a Defau...
[ 0.0247802734375, 0.010009765625, -0.00099945068359375, 0.011962890625, 0.0015106201171875, -0.0252685546875, 0.0040283203125, 0.004638671875, 0.000705718994140625, 0.0233154296875, 0.0146484375, 0.0004024505615234375, 0.0174560546875, 0.0250244140625, -0.004425048828125, -0.00244140625...
[ 360, 563, 4904, 2367, 26785, 6002, 86531, 40140, 18929, 262, 1021, 7136, 856, 50770, 47, 2053, 184103, 1238, 3742, 52895, 39, 27417, 11809, 11935, 39989, 30152, 40899, 594, 15757, 18, 35064, 3642, 87, 5423, 114977, 34292, 29823 ]
[ 0.054931640625, 0.1588134765625, 0.2205810546875, 0.007049560546875, 0.15576171875, 0.159912109375, 0.2578125, 0.17919921875, 0.1151123046875, 0.172119140625, 0.2281494140625, 0.18408203125, 0.210693359375, 0.24609375, 0.08544921875, 0.0966796875, 0.1988525390625, 0.055877685546875...
embed
49295319_c0
49295319
fsharp
0
Title: What&#x27;s the syntax for abstract methods? Problem title: What&#x27;s the syntax for abstract methods? Tags: f%23 Problem: What's the syntax for abstract methods? I've successfully defined and used interfaces with functions that only take one parameter, like the one below. type IAnimal = abstract member Eat : ...
What&#x27;s the syntax for abstract methods? What&#x27;s the syntax for abstract methods? f%23 What IAnimal Eat Food Feel Smell Taste What's the syntax for abstract methods? I've successfully defined and used interfaces with functions that only take one parameter, like the one below. But I can't figure out how to defin...
[ 0.01483154296875, 0.006683349609375, -0.004150390625, 0.020751953125, -0.0123291015625, -0.00010061264038085938, -0.0048828125, 0.01495361328125, 0.0172119140625, 0.00360107421875, 0.00811767578125, -0.0302734375, -0.0174560546875, 0.01904296875, -0.004425048828125, -0.007598876953125,...
[ 3768, 6002, 86531, 100, 164789, 150624, 3742, 4865, 87, 93, 2749, 241, 257, 34562, 133903, 159, 85989, 9598, 67, 70, 65771, 61924, 101758, 32354, 5646, 1632, 171859, 35064, 26366, 32786, 678, 48716, 1884, 903, 43032 ]
[ 0.06048583984375, 0.1455078125, 0.2452392578125, 0.045562744140625, 0.257080078125, 0.2196044921875, 0.020721435546875, 0.030059814453125, 0.049041748046875, 0.1065673828125, 0.098876953125, 0.0496826171875, 0.0278472900390625, 0.1212158203125, 0.1507568359375, 0.0245819091796875, 0....
embed
63197605_c0
63197605
fsharp
0
Title: No cons operator or curried cons function in F#? Problem title: No cons operator or curried cons function in F#? Tags: cons, f%23, list Problem: No cons operator or curried cons function in F#? We can write 3 + 4 or (+) 3 4 in F# and get the same result, and this works for most operators. Why is it that the cons...
No cons operator or curried cons function in F#? No cons operator or curried cons function in F#? cons f%23 list FS0010 Unexpected List.Cons No cons operator or curried cons function in F#? We can write 3 + 4 or (+) 3 4 in F# and get the same result, and this works for most operators. Why is it that the cons operator :...
[ 0.009521484375, -0.00183868408203125, 0.0198974609375, -0.00970458984375, 0.0135498046875, -0.0089111328125, -0.0211181640625, 0.002166748046875, 0.005615234375, -0.0230712890625, 0.0238037109375, -0.00653076171875, 0.028076171875, 0.0023345947265625, -0.00299072265625, -0.013732910156...
[ 438, 158, 7, 39933, 707, 9709, 46572, 32354, 563, 4904, 23, 1238, 3742, 5303, 93774, 7049, 963, 83613, 13, 32036, 11935, 831, 33022, 138, 997, 201, 22183, 5701, 16750, 43240, 2684, 44084, 1984, 68991, 12921, 11675, 12, 106, 304, 74, 963...
[ 0.088134765625, 0.2255859375, 0.15625, 0.234619140625, 0.0052490234375, 0.1373291015625, 0.19384765625, 0.165771484375, 0.134033203125, 0.1884765625, 0.019744873046875, 0.0706787109375, 0.087158203125, 0.1910400390625, 0.105224609375, 0.06915283203125, 0.1395263671875, 0.0458068847...
embed
35392088_c0
35392088
fsharp
0
Title: How do I assign a type to a union case from a Discriminated Union case? Problem title: How do I assign a type to a union case from a Discriminated Union case? Tags: f%23 Problem: How do I assign a type to a union case from a Discriminated Union case? How do I assign a type to a union case from a Discriminated Un...
How do I assign a type to a union case from a Discriminated Union case? How do I assign a type to a union case from a Discriminated Union case? f%23 ValidationError a How Discriminated Union ValidationResult Result Success Failure Error1 Error2 How do I assign a type to a union case from a Discriminated Union case? How...
[ -0.0033111572265625, 0.0157470703125, 0.026611328125, 0.00860595703125, -0.004241943359375, -0.0242919921875, -0.033203125, 0.000040531158447265625, 0.02490234375, 0.0155029296875, 0.00823974609375, -0.00201416015625, 0.021484375, -0.008056640625, -0.0203857421875, -0.004974365234375, ...
[ 11249, 54, 87, 95486, 10644, 47, 69941, 7225, 1295, 6206, 135421, 3674, 32528, 10, 1238, 3949, 3742, 25447, 85, 18468, 31611, 7, 7136, 126684, 144053, 190355, 212059, 418, 304, 28864 ]
[ 0.09674072265625, 0.0645751953125, 0.073974609375, 0.24267578125, 0.27099609375, 0.130126953125, 0.216552734375, 0.1846923828125, 0.1097412109375, 0.050567626953125, 0.22900390625, 0.081298828125, 0.193359375, 0.04766845703125, 0.050567626953125, 0.042724609375, 0.1112060546875, 0....
embed
28153067_c1
28153067
fsharp
1
0.0.1 Listen: 0.0.0.0 sent to 127.0.0.1 127.0.0.1: 127.0.0.1 ... sent to 127.0.0.1 127.0.0.1: 127.0.0.1 Removing one of the clients makes another one reads the packets well. Is here a way to make both of them receive the packets? Code signals: Process, UDP, IPAddress.Any, local:IPEndPoint, UdpClient, client.ExclusiveAd...
0.0.1 Listen: 0.0.0.0 sent to 127.0.0.1 127.0.0.1: 127.0.0.1 ... sent to 127.0.0.1 127.0.0.1: 127.0.0.1 Removing one of the clients makes another one reads the packets well. Is here a way to make both of them receive the packets? Code signals: Process, UDP, IPAddress.Any, local:IPEndPoint, UdpClient, client.ExclusiveAd...
[ -0.00128936767578125, 0.027099609375, -0.004180908203125, 0.0286865234375, -0.00677490234375, -0.017578125, 0.00064849853515625, -0.00250244140625, 0.023193359375, -0.02587890625, 0.006378173828125, 0.03173828125, 0.0098876953125, 0.025390625, 0.0159912109375, -0.00165557861328125, 0...
[ 89678, 5, 418, 159366, 99929, 9325, 47, 427, 129884, 102014, 853, 432, 6496, 1632, 111, 19802, 30482, 15700, 12301, 7, 43824, 7831, 5299, 2071, 3688, 10, 3917, 3249, 15044, 2856, 53299, 70, 28864, 26073, 123996, 345, 28399, 8021, 161007, ...
[ 0.2144775390625, 0.028045654296875, 0.1236572265625, 0.294921875, 0.21923828125, 0.1181640625, 0.08294677734375, 0.15478515625, 0.1719970703125, 0.2197265625, 0.0064697265625, 0.1793212890625, 0.0180206298828125, 0.0606689453125, 0.0888671875, 0.2322998046875, 0.07293701171875, 0.0...
embed
13767924_c0
13767924
fsharp
0
Title: Instantiate Interface of Interop DLL Problem title: Instantiate Interface of Interop DLL Tags: f%23 Problem: Instantiate Interface of Interop DLL I'm working with some Interop code and need to instantiate an interface. The equivalent in C# is: Interop.SomeInterface theInterface; theInterface = new Interop.SomeIn...
Instantiate Interface of Interop DLL Instantiate Interface of Interop DLL f%23 Instantiate Interface Interop DLL Interop.SomeInterface theInterface.SomeEvent SomeEventHandler Instantiate Interface of Interop DLL I'm working with some Interop code and need to instantiate an interface. The equivalent in C# is: How can I ...
[ 0.00933837890625, 0.01385498046875, -0.011962890625, -0.0079345703125, -0.01263427734375, -0.0032196044921875, -0.0135498046875, -0.01397705078125, 0.00185394287109375, -0.03955078125, -0.0194091796875, -0.000530242919921875, -0.0201416015625, -0.002899169921875, 0.005950927734375, -0....
[ 166945, 101426, 220237, 111, 5337, 2146, 391, 23708, 1238, 3949, 3742, 8912, 282, 44851, 40404, 70, 192134, 31384, 135679, 603, 20697, 18151, 3871, 34648, 101758, 183234, 23, 313, 4904, 11249, 831, 163846, 14, 26518, 903, 563, 87, 456, 1363...
[ 0.191162109375, 0.2293701171875, 0.267578125, 0.04510498046875, 0.1854248046875, 0.2261962890625, 0.0655517578125, 0.2049560546875, 0.0616455078125, 0.048126220703125, 0.13330078125, 0.000579833984375, 0.01031494140625, 0.1461181640625, 0.1754150390625, 0.1029052734375, 0.14587402343...
embed
11845285_c1
11845285
fsharp
1
as a member function and that seems to have the same issue: // Not a member function let memo1 f = let cache = new Dictionary<_,_>() (fun x -> match cache.TryGetValue(x) with | true, v -> v | _ -> let v = f x cache.Add(x,v) v ) member x.factorial = memo1(fun y-> if (y<=0) then 1 else y*x.factorial(y-1)) Even the inter...
as a member function and that seems to have the same issue: // Not a member function let memo1 f = let cache = new Dictionary<_,_>() (fun x -> match cache.TryGetValue(x) with | true, v -> v | _ -> let v = f x cache.Add(x,v) v ) member x.factorial = memo1(fun y-> if (y<=0) then 1 else y*x.factorial(y-1)) Even the inter...
[ -0.004608154296875, 0.0087890625, 0.016845703125, -0.01007080078125, -0.00135040283203125, -0.01171875, 0.00653076171875, 0.0225830078125, 0.0076904296875, -0.00946044921875, -0.00433349609375, 0.02783203125, 0.01019287109375, 0.0028076171875, 0.04736328125, -0.007720947265625, -0.02...
[ 237, 10, 32786, 32354, 37202, 5701, 31089, 11205, 2633, 163, 432, 418, 1238, 82365, 3525, 147638, 16498, 1022, 14858, 1294, 126, 856, 50770, 29568, 81, 4028, 334, 144810, 15403, 113, 53, 145407, 106, 425, 110218, 70796, 195625, 1830, 5423, ...
[ 0.07330322265625, 0.056396484375, 0.2431640625, 0.1868896484375, 0.0233001708984375, 0.042755126953125, 0.10504150390625, 0.16259765625, 0.1348876953125, 0.140380859375, 0.1944580078125, 0.03814697265625, 0.08209228515625, 0.2415771484375, 0.06256103515625, 0.2119140625, 0.1140136718...
embed
9481034_c0
9481034
fsharp
0
Title: how to debug a Type Provider in fsharp? Problem title: how to debug a Type Provider in fsharp? Tags: type-providers, debugging, f%23 Problem: how to debug a Type Provider in fsharp? I have a COM error inside of my TypeProvider which opens an excel file. How can I debug it ? Adding open System.Diagnostics Debug.W...
how to debug a Type Provider in fsharp? how to debug a Type Provider in fsharp? type-providers debugging f%23 Type Provider System.Diagnostics Debug.WriteLine Excel.ApplicationClass how to debug a Type Provider in fsharp? I have a COM error inside of my TypeProvider which opens an excel file. How can I debug it ? Addin...
[ 0.0166015625, 0.018310546875, -0.02099609375, 0.01611328125, -0.007293701171875, 0.006500244140625, -0.00634765625, 0.00885009765625, -0.000652313232421875, -0.0240478515625, 0.0142822265625, 0.002899169921875, 0.048828125, -0.00579833984375, 0.025390625, 0.00927734375, -0.0076904296...
[ 3642, 8, 85779, 60457, 123089, 42, 23, 1238, 89280, 254, 47, 10644, 93136, 14202, 978, 3742, 128198, 262, 93232, 30326, 182867, 140803, 10, 31436, 18499, 46132, 177997, 62160, 9803, 64152, 11435, 831, 3714, 22751, 31577, 72367, 63805 ]
[ 0.026123046875, 0.1412353515625, 0.2490234375, 0.1978759765625, 0.165771484375, 0.1142578125, 0.033172607421875, 0.07147216796875, 0.1380615234375, 0.1309814453125, 0.01226806640625, 0.163330078125, 0.1461181640625, 0.073974609375, 0.1680908203125, 0.072509765625, 0.036163330078125, ...
embed
69724013_c0
69724013
fsharp
0
Title: Generic values in F# modules? Problem title: Generic values in F# modules? Tags: f%23 Problem: Generic values in F# modules? Consider a generic container like: type Foo<'t> = { Foo : 't } This generic function works OK: module Foo = let inline emptyFoo () = { Foo = LanguagePrimitives.GenericZero } But this value...
Generic values in F# modules? Generic values in F# modules? f%23 Generic Foo LanguagePrimitives.GenericZero List.empty Generic values in F# modules? Consider a generic container like: This generic function works OK: But this value does not: This is because the compiler infers emptyFoo to have type Foo<obj> . However, t...
[ 0.00653076171875, -0.01373291015625, 0.00003886222839355469, -0.016357421875, 0.0078125, 0.006439208984375, 0.01385498046875, -0.0211181640625, 0.006683349609375, 0.00982666015625, 0.00153350830078125, 0.0203857421875, 0.005584716796875, -0.0228271484375, 0.006866455078125, -0.00665283...
[ 88342, 1771, 142424, 563, 4904, 88996, 1238, 3742, 9572, 31, 83658, 145111, 42991, 135932, 1511, 4036, 32036, 33548, 939, 23, 189534, 116419, 32354, 43240, 14315, 34292, 959, 9969, 34759, 53498, 201505, 27591, 10644, 3522, 170, 5570, 35773, 1...
[ 0.1842041015625, 0.07049560546875, 0.226318359375, 0.135498046875, 0.220458984375, 0.1689453125, 0.03765869140625, 0.08673095703125, 0.16162109375, 0.12158203125, 0.09820556640625, 0.041534423828125, 0.058990478515625, 0.067138671875, 0.0139923095703125, 0.1102294921875, 0.1557617187...
embed
2922433_c0
2922433
fsharp
0
Title: Anyone port IJG JPEG code to C#? Problem title: Anyone port IJG JPEG code to C#? Tags: managed, jpeg, ijg, f%23, c%23 Problem: Anyone port IJG JPEG code to C#? Has anyone ported IJG JPEG code to C#? Are there any purely-managed JPEG libraries with source available? I don't much care about the license, as I just ...
Anyone port IJG JPEG code to C#? Anyone port IJG JPEG code to C#? managed jpeg ijg f%23 c%23 Anyone IJG JPEG Anyone port IJG JPEG code to C#? Has anyone ported IJG JPEG code to C#? Are there any purely-managed JPEG libraries with source available? I don't much care about the license, as I just want to use it as a learn...
[ -0.0126953125, 0.0257568359375, -0.017822265625, -0.0001621246337890625, -0.00057220458984375, 0.036376953125, -0.00113677978515625, -0.000591278076171875, -0.00762939453125, 0.01519775390625, -0.00250244140625, 0.0361328125, 0.005157470703125, 0.004547119140625, -0.005584716796875, 0....
[ 28541, 3630, 11469, 46765, 724, 216281, 18151, 47, 313, 4904, 32, 145755, 215109, 17, 170, 177, 1238, 3742, 20625, 35672, 196, 3674, 34166, 4707, 35773, 10484, 31344, 19882, 5045, 517, 86872, 87, 3444, 4527, 52080, 16981, 20653, 94030, 3108...
[ 0.0289154052734375, 0.05072021484375, 0.1107177734375, 0.192138671875, 0.17578125, 0.273681640625, 0.1806640625, 0.1241455078125, 0.06646728515625, 0.1998291015625, 0.0157928466796875, 0.1951904296875, 0.25537109375, 0.05029296875, 0.136474609375, 0.12548828125, 0.072265625, 0.0427...
embed
39838741_c0
39838741
fsharp
0
Title: F# incorrect type and another incorrect type in the function call Problem title: F# incorrect type and another incorrect type in the function call Tags: f%23 Problem: F# incorrect type and another incorrect type in the function call Not sure what's off about this code. I want to use this as the main function to ...
F# incorrect type and another incorrect type in the function call F# incorrect type and another incorrect type in the function call f%23 EntryPoint List.length Hello Not Test F# incorrect type and another incorrect type in the function call Not sure what's off about this code. I want to use this as the main function to...
[ 0.00433349609375, 0.0230712890625, -0.0020599365234375, 0.0235595703125, -0.01470947265625, -0.00286865234375, 0.0029296875, -0.0146484375, -0.01202392578125, 0.025390625, 0.005859375, -0.037109375, 0.001068115234375, 0.027587890625, 0.01513671875, -0.01226806640625, 0.032958984375, ...
[ 563, 4904, 214552, 10644, 136, 15700, 23, 32354, 11782, 1238, 3742, 357, 15123, 147534, 32036, 23986, 35378, 11205, 8647, 9077, 5773, 18151, 3444, 4527, 903, 237, 5201, 28412, 79315, 30646, 959, 20174, 10750, 7, 44160, 1837, 98893, 110527 ]
[ 0.109619140625, 0.18505859375, 0.2222900390625, 0.20458984375, 0.07464599609375, 0.0889892578125, 0.0150909423828125, 0.1517333984375, 0.150146484375, 0.07354736328125, 0.15283203125, 0.0474853515625, 0.1434326171875, 0.13916015625, 0.1199951171875, 0.017364501953125, 0.1275634765625...
embed
68560814_c0
68560814
fsharp
0
Title: F# Fable function from imported module is not compiled into js Problem title: F# Fable function from imported module is not compiled into js Tags: f%23, fable-f%23 Problem: F# Fable function from imported module is not compiled into js Code signals: ReferenceError, imported, Fable, Uncaught, EmailValidation_Emai...
F# Fable function from imported module is not compiled into js F# Fable function from imported module is not compiled into js f%23 fable-f%23 ReferenceError imported Fable Uncaught EmailValidation_EmailValidator_Validate_C556D7B Index.fs.js b47d:47 b47d:184 b47d:216 App.fs.js Util.js Object.eval common.fs.js a3d0:73 Co...
[ 0.005584716796875, -0.00897216796875, 0.0234375, 0.009765625, 0.00176239013671875, 0.004547119140625, 0.01220703125, -0.0130615234375, 0.00274658203125, 0.0012054443359375, -0.025390625, 0.0023956298828125, 0.01513671875, 0.01104736328125, 0.005950927734375, -0.00872802734375, 0.0058...
[ 563, 4904, 2886, 32354, 1295, 76242, 71, 88996, 959, 375, 5974, 3934, 1647, 7, 1238, 3742, 1071, 2661, 420, 215996, 18468, 31611, 992, 408, 46526, 14886, 42272, 532, 161994, 1683, 1290, 163406, 571, 31471, 17447, 28175, 13330, 5659, 3675, ...
[ 0.154541015625, 0.1656494140625, 0.1826171875, 0.1622314453125, 0.042144775390625, 0.2427978515625, 0.057891845703125, 0.162353515625, 0.115234375, 0.0555419921875, 0.184326171875, 0.1041259765625, 0.144287109375, 0.022003173828125, 0.03375244140625, 0.0413818359375, 0.109130859375, ...
embed
3957401_c0
3957401
fsharp
0
Title: Facebook Oauth 2.0 and rate limiting Problem title: Facebook Oauth 2.0 and rate limiting Tags: f%23, social-networking, facebook Problem: Facebook Oauth 2.0 and rate limiting I am trying to extract Facebook ids from a list of emails using the url: let url = "https://graph.facebook.com/search?q=" + email.Replace(...
Facebook Oauth 2.0 and rate limiting Facebook Oauth 2.0 and rate limiting f%23 social-networking facebook Facebook Oauth graph.facebook.com email.Replace access_token facebook.Token Facebook Oauth 2.0 and rate limiting I am trying to extract Facebook ids from a list of emails using the url: After around 600 id extracts...
[ 0.0286865234375, 0.01446533203125, -0.0052490234375, -0.0223388671875, 0.01611328125, 0.00872802734375, 0.0022430419921875, -0.006500244140625, -0.00201416015625, -0.02490234375, 0.0089111328125, -0.033935546875, -0.011474609375, -0.003326416015625, 0.021728515625, 0.008544921875, 0....
[ 1431, 180, 916, 927, 16655, 34515, 17475, 214, 3742, 2265, 10899, 41382, 32314, 3340, 4332, 23935, 17203, 6448, 7763, 1098, 31577, 125663, 3447, 5303, 25002, 24372, 6331, 18499, 3957, 148814, 10723, 176377, 10700, 12745, 853, 75616, 61687, 22...
[ 0.1824951171875, 0.090576171875, 0.1888427734375, 0.1278076171875, 0.2069091796875, 0.1964111328125, 0.17626953125, 0.0238800048828125, 0.10089111328125, 0.031982421875, 0.1873779296875, 0.1680908203125, 0.1383056640625, 0.140380859375, 0.014892578125, 0.08966064453125, 0.09692382812...
embed
43960985_c0
43960985
fsharp
0
Title: Record pattern matching Problem title: Record pattern matching Tags: pattern-matching, f%23, functional-programming, ocaml, record Problem: Record pattern matching According to this accepted answer , in F# and OCaml I need to use underscore for discarding the rest of the record. However, why does the handle' fun...
Record pattern matching Record pattern matching pattern-matching f%23 functional-programming ocaml record Record Type Entity Record pattern matching According to this accepted answer , in F# and OCaml I need to use underscore for discarding the rest of the record. However, why does the handle' function work but handle ...
[ -0.01177978515625, 0.0029296875, -0.0024871826171875, 0.011474609375, -0.0159912109375, -0.00098419189453125, -0.0308837890625, 0.022216796875, 0.0146484375, -0.01470947265625, 0.0230712890625, 0.011474609375, 0.01251220703125, -0.01177978515625, 0.008544921875, -0.0034332275390625, ...
[ 54877, 103510, 14858, 214, 98753, 1238, 3949, 3742, 123309, 28966, 36, 9779, 141, 17164, 60457, 16511, 68186, 6, 563, 4904, 136, 180, 105272, 3871, 4527, 1379, 7, 30854, 100, 45, 39719, 6238, 10588, 4, 15400, 14602, 34831, 25, 32354, 4488...
[ 0.1875, 0.2017822265625, 0.1995849609375, 0.01251220703125, 0.182861328125, 0.057830810546875, 0.042510986328125, 0.1322021484375, 0.107666015625, 0.07244873046875, 0.0885009765625, 0.123046875, 0.1387939453125, 0.1773681640625, 0.0938720703125, 0.064697265625, 0.009063720703125, 0...
embed
24565514_c0
24565514
fsharp
0
Title: F# Lazy and Exceptions Problem title: F# Lazy and Exceptions Tags: lazy-evaluation, f%23, exception Problem: F# Lazy and Exceptions Given this example: let value = try (lazy raise(Exception())).Value with | _ -> false Why is the exception not captured in the try block. Keep in mind that I raise the exception lik...
F# Lazy and Exceptions F# Lazy and Exceptions lazy-evaluation f%23 exception Lazy Exceptions Exception Value F# Lazy and Exceptions Given this example: Why is the exception not captured in the try block. Keep in mind that I raise the exception like this to prove the example. The point is that if I have a lazy code that...
[ -0.005157470703125, 0.027099609375, 0.005218505859375, -0.022216796875, 0.017822265625, -0.0052490234375, 0.01300048828125, 0.006256103515625, -0.00634765625, 0.00634765625, -0.00830078125, 0.0283203125, -0.006195068359375, -0.008056640625, 0.02783203125, 0.000774383544921875, 0.0142...
[ 563, 4904, 239, 3285, 136, 218288, 21, 159258, 1238, 3742, 131527, 5443, 63928, 190060, 27781, 44084, 83, 959, 141621, 71, 23, 9790, 46389, 138804, 23534, 18151, 104250, 2886, 29458, 14858, 46132, 125195 ]
[ 0.043182373046875, 0.1231689453125, 0.1448974609375, 0.205322265625, 0.09991455078125, 0.1632080078125, 0.120849609375, 0.1531982421875, 0.033416748046875, 0.0865478515625, 0.220947265625, 0.06842041015625, 0.1455078125, 0.138916015625, 0.08966064453125, 0.0765380859375, 0.0039672851...
embed
66230016_c0
66230016
fsharp
0
Title: Why are these two FParsec snippets different? Problem title: Why are these two FParsec snippets different? Tags: f%23, fparsec Problem: Why are these two FParsec snippets different? I want to parse a given char twice, but return a string of that character only once. For example: aa -> a I have some code that wor...
Why are these two FParsec snippets different? Why are these two FParsec snippets different? f%23 fparsec Why FParsec Works Does Why are these two FParsec snippets different? I want to parse a given char twice, but return a string of that character only once. For example: I have some code that works, but also some code ...
[ 0.011474609375, -0.0047607421875, 0.005096435546875, 0.0279541015625, -0.020751953125, 0.0262451171875, 0.02001953125, -0.01611328125, 0.00518798828125, 0.009521484375, 0.00958251953125, 0.0115966796875, -0.017333984375, 0.021728515625, -0.002105712890625, 0.0181884765625, -0.0003833...
[ 44084, 621, 6097, 6626, 563, 28636, 39797, 93, 58134, 12921, 1238, 3949, 3742, 2500, 27985, 7, 101790, 91, 3444, 366, 184, 34475, 21441, 186351, 1284, 30646, 79315, 62816, 4734, 24145, 1326, 765, 18151, 43240, 14602, 959, 4488, 18, 28219, ...
[ 0.12109375, 0.0726318359375, 0.067626953125, 0.1123046875, 0.1533203125, 0.1900634765625, 0.24609375, 0.10986328125, 0.1668701171875, 0.20458984375, 0.1142578125, 0.0235748291015625, 0.1295166015625, 0.156494140625, 0.14501953125, 0.064697265625, 0.07818603515625, 0.000213623046875...
embed
74495146_c0
74495146
fsharp
0
Title: .NET - How can I convert a Task&lt;&gt; to Task (with no type parameter)? Problem title: .NET - How can I convert a Task&lt;&gt; to Task (with no type parameter)? Tags: .net, asynchronous, c%23, f%23, task Problem: .NET - How can I convert a Task<> to Task (with no type parameter)? Task<T> is a separate class fr...
.NET - How can I convert a Task&lt;&gt; to Task (with no type parameter)? .NET - How can I convert a Task&lt;&gt; to Task (with no type parameter)? .net asynchronous c%23 f%23 task NET How Task .NET - How can I convert a Task<> to Task (with no type parameter)? Task<T> is a separate class from Task (no type parameter),...
[ -0.0027923583984375, 0.0234375, 0.005859375, -0.000732421875, 0.005615234375, -0.0228271484375, -0.006561279296875, -0.0184326171875, 0.0159912109375, 0.0081787109375, -0.001922607421875, -0.0048828125, -0.018798828125, 0.01458740234375, 0.00146484375, 0.0022735595703125, 0.022460937...
[ 5, 17777, 11249, 831, 87, 96760, 9598, 92, 1277, 5386, 47, 76228, 110, 10644, 171859, 10, 1179, 12654, 101966, 3742, 66211, 618, 84797, 18507, 157, 32354, 4734, 26946, 51, 50986, 237, 89536, 563, 4904, 24702, 313, 28282, 309, 217 ]
[ 0.024139404296875, 0.212646484375, 0.0704345703125, 0.0738525390625, 0.037689208984375, 0.18701171875, 0.23583984375, 0.2076416015625, 0.038330078125, 0.07171630859375, 0.1143798828125, 0.076904296875, 0.11083984375, 0.1827392578125, 0.1976318359375, 0.049713134765625, 0.15283203125,...
embed
50347841_c0
50347841
fsharp
0
Title: Can an F# abstract class type member expression be &quot;abstract override&quot;? Problem title: Can an F# abstract class type member expression be &quot;abstract override&quot;? Tags: f%23 Problem: Can an F# abstract class type member expression be "abstract override"? You can declare a method abstract override...
Can an F# abstract class type member expression be &quot;abstract override&quot;? Can an F# abstract class type member expression be &quot;abstract override&quot;? f%23 Can System.Object ToString Base Can an F# abstract class type member expression be "abstract override"? You can declare a method abstract override in a...
[ 0.019775390625, 0.0020294189453125, 0.0106201171875, 0.0096435546875, 0.016845703125, -0.006561279296875, 0.01397705078125, 0.010009765625, 0.00787353515625, 0.01239013671875, -0.0028839111328125, -0.01214599609375, 0.0263671875, 0.00115966796875, 0.0111083984375, -0.02587890625, 0.0...
[ 4171, 563, 4904, 164789, 18507, 10644, 32786, 125195, 2055, 2816, 15390, 645, 416, 112, 186, 1238, 3742, 12353, 46471, 75161, 717, 71713, 214, 44978, 831, 159978, 55300, 23, 313, 13648, 37772, 16406, 22691, 208124, 3647, 33342, 7722 ]
[ 0.062469482421875, 0.1298828125, 0.196044921875, 0.2152099609375, 0.1427001953125, 0.1343994140625, 0.151123046875, 0.164794921875, 0.0322265625, 0.16552734375, 0.07867431640625, 0.07269287109375, 0.1650390625, 0.1077880859375, 0.01080322265625, 0.01824951171875, 0.03759765625, 0.1...
embed
10831625_c0
10831625
fsharp
0
Title: Is F# in general and the F# plugin for MonoDevelop maintained for Linux? Problem title: Is F# in general and the F# plugin for MonoDevelop maintained for Linux? Tags: monodevelop, mono, f%23 Problem: Is F# in general and the F# plugin for MonoDevelop maintained for Linux? I would like to play around with F# on m...
Is F# in general and the F# plugin for MonoDevelop maintained for Linux? Is F# in general and the F# plugin for MonoDevelop maintained for Linux? monodevelop mono f%23 MonoDevelop Linux Is F# in general and the F# plugin for MonoDevelop maintained for Linux? I would like to play around with F# on my Linux box, but I st...
[ -0.0029754638671875, 0.0203857421875, 0.00909423828125, 0.00921630859375, 0.00421142578125, 0.01336669921875, 0.0027618408203125, -0.01153564453125, -0.0108642578125, 0.01336669921875, -0.0027008056640625, -0.0147705078125, 0.01104736328125, 0.0201416015625, 0.00136566162109375, -0.004...
[ 2071, 563, 4904, 4537, 136, 69993, 77879, 4657, 2601, 2146, 76104, 297, 100, 29908, 22460, 229815, 1238, 3949, 3742, 1884, 11301, 10932, 678, 98, 16530, 151994, 7413, 17489, 11389, 29191, 102158, 41421, 172121, 98169, 1295, 1532, 76329, 73, ...
[ 0.06463623046875, 0.16748046875, 0.234130859375, 0.1368408203125, 0.06451416015625, 0.2357177734375, 0.1842041015625, 0.0877685546875, 0.1529541015625, 0.1456298828125, 0.147216796875, 0.06976318359375, 0.0760498046875, 0.21142578125, 0.1514892578125, 0.2431640625, 0.10009765625, 0...
embed
1602574_c0
1602574
fsharp
0
Title: Is there any benefit to porting the Haskell Edison API and Core to F#? Problem title: Is there any benefit to porting the Haskell Edison API and Core to F#? Tags: immutability, f%23, data-structures, haskell, referential-transparency Problem: Is there any benefit to porting the Haskell Edison API and Core to F#?...
Is there any benefit to porting the Haskell Edison API and Core to F#? Is there any benefit to porting the Haskell Edison API and Core to F#? immutability f%23 data-structures haskell referential-transparency Haskell Edison API Core Is there any benefit to porting the Haskell Edison API and Core to F#? The Edison API a...
[ -0.005584716796875, 0.01287841796875, -0.00165557861328125, -0.01483154296875, -0.0194091796875, -0.0108642578125, -0.021728515625, 0.006744384765625, -0.000209808349609375, 0.00836181640625, 0.0076904296875, -0.0135498046875, -0.0032196044921875, -0.00034332275390625, 0.00677490234375, ...
[ 2499, 68073, 196, 1916, 20625, 142508, 17156, 1681, 61687, 136, 31365, 47, 563, 4904, 2685, 14311, 41159, 1238, 3949, 3742, 2053, 137656, 1556, 15005, 80973, 16082, 2071, 88996, 621, 208124, 118233, 538, 28670, 10763, 11809, 63667, 238, 24, ...
[ 0.07275390625, 0.2091064453125, 0.1181640625, 0.031005859375, 0.1768798828125, 0.2474365234375, 0.17138671875, 0.1580810546875, 0.2154541015625, 0.0819091796875, 0.204345703125, 0.1328125, 0.13720703125, 0.2039794921875, 0.0260009765625, 0.09552001953125, 0.03955078125, 0.039367675...
embed
14089875_c0
14089875
fsharp
0
Title: F# type definition with expression Problem title: F# type definition with expression Tags: f%23 Problem: F# type definition with expression Is it possible to express something like this: type id = int > 0 I know its not possible to do statically, since this would mean F# has dependent types. In C# I'm used to do...
F# type definition with expression F# type definition with expression f%23 F# type definition with expression Is it possible to express something like this: I know its not possible to do statically, since this would mean F# has dependent types. In C# I'm used to do this sort of thing with code contracts and get a runti...
[ 0.0091552734375, -0.017822265625, 0.00140380859375, -0.00537109375, 0.006072998046875, 0.00653076171875, -0.0078125, 0.00811767578125, -0.00173187255859375, -0.03466796875, -0.0123291015625, 0.00714111328125, -0.01953125, -0.005767822265625, 0.036376953125, 0.01422119140625, 0.009155...
[ 563, 4904, 10644, 80934, 678, 125195, 1238, 3949, 3742, 7722, 36510, 9844, 1884, 903, 3714, 6863, 959, 54, 13254, 108750, 52895, 11814, 18151, 18264, 11675, 6032, 232725, 76465, 38280, 158, 2667, 17368, 19336, 1614, 36, 9779, 141, 56458, 30...
[ 0.1585693359375, 0.228271484375, 0.2490234375, 0.15771484375, 0.12841796875, 0.25146484375, 0.11962890625, 0.09716796875, 0.1849365234375, 0.141845703125, 0.18994140625, 0.031097412109375, 0.1011962890625, 0.0933837890625, 0.00592041015625, 0.03924560546875, 0.0218963623046875, 0.0...
embed
49201432_c0
49201432
fsharp
0
Title: Import addition function from F# to C# Problem title: Import addition function from F# to C# Tags: f%23, c%23 Problem: Import addition function from F# to C# I recently learned that you import functions from the F# core library to C# such as using Microsoft.FSharp.Core ... var max = new List<int>() { 1, 2, 3 }.A...
Import addition function from F# to C# Import addition function from F# to C# f%23 c%23 F# Microsoft.FSharp.Core List Aggregate int.MinValue Operators.Max Operators.Add Import addition function from F# to C# I recently learned that you import functions from the F# core library to C# such as ... Is there an equivalent f...
[ -0.0157470703125, -0.00009059906005859375, 0.0179443359375, 0.0123291015625, -0.016357421875, 0.006072998046875, 0.004913330078125, -0.0004749298095703125, -0.00579833984375, -0.041748046875, -0.0010986328125, -0.023193359375, -0.007232666015625, 0.00750732421875, 0.017822265625, -0.01...
[ 92966, 66044, 32354, 1295, 563, 4904, 47, 313, 1238, 3742, 7244, 36381, 3467, 254, 50886, 32036, 68722, 2182, 18, 59076, 856, 50770, 150922, 71346, 284, 4028, 97384, 24927, 56458, 35773, 1294, 183234, 19882, 100, 7413, 1632, 2806, 21185, 19...
[ 0.262939453125, 0.25244140625, 0.2255859375, 0.10003662109375, 0.1484375, 0.2208251953125, 0.160400390625, 0.0950927734375, 0.050048828125, 0.054290771484375, 0.0716552734375, 0.043365478515625, 0.1220703125, 0.15283203125, 0.0999755859375, 0.1234130859375, 0.131591796875, 0.028503...
embed
46773823_c0
46773823
fsharp
0
Title: Given an (a * b) list, return a (a * b list) list Problem title: Given an (a * b) list, return a (a * b list) list Tags: f%23, list Problem: Given an (a * b) list, return a (a * b list) list A funky title perhaps, but I'm having a problem with the following: Given a list of type (a * b) list , I want to create a...
Given an (a * b) list, return a (a * b list) list Given an (a * b) list, return a (a * b list) list f%23 list Given Given an (a * b) list, return a (a * b list) list A funky title perhaps, but I'm having a problem with the following: Given a list of type (a * b) list , I want to create a new list with type (a * b list)...
[ 0.005523681640625, 0.00103759765625, 0.00994873046875, -0.00213623046875, -0.00909423828125, 0.00927734375, -0.014892578125, -0.00811767578125, 0.0084228515625, -0.00164031982421875, 0.0017547607421875, 0.006805419921875, -0.002838134765625, 0.00836181640625, -0.00628662109375, -0.0045...
[ 77878, 19, 11, 661, 876, 5303, 30646, 10, 1238, 3949, 3742, 23884, 53, 44759, 95134, 19441, 2967, 25632, 111, 10644, 3444, 28282, 3525, 678, 27781, 3034, 154663, 2203, 238, 275, 32354, 41600, 4700, 10176, 179933, 21342 ]
[ 0.1331787109375, 0.0096435546875, 0.05377197265625, 0.07666015625, 0.154296875, 0.1959228515625, 0.2020263671875, 0.05450439453125, 0.04705810546875, 0.0220489501953125, 0.146728515625, 0.0601806640625, 0.0146636962890625, 0.043487548828125, 0.0285186767578125, 0.028228759765625, 0.0...
embed
59667046_c2
59667046
fsharp
2
|> Array.map (fun y -> let cy = (yjump * float (y+yp) - abs(mini)) let mbVal = mbCalc(0., 0., cx, cy,0) //Calculate the number of iterations to convergence (recursively) List.append outputList [mbVal]))|>ignore outputList Is this just to be expected, pointlessly loading up an Actor with a load of Code signals: Recursi...
|> Array.map (fun y -> let cy = (yjump * float (y+yp) - abs(mini)) let mbVal = mbCalc(0., 0., cx, cy,0) //Calculate the number of iterations to convergence (recursively) List.append outputList [mbVal]))|>ignore outputList Is this just to be expected, pointlessly loading up an Actor with a load of Code signals: Recursi...
[ 0.005615234375, 0.000827789306640625, -0.0042724609375, -0.01025390625, -0.0091552734375, 0.006927490234375, 0.036865234375, 0.01165771484375, 0.02099609375, 0.005523681640625, 0.005126953125, -0.006683349609375, 0.007080078125, -0.0216064453125, 0.0120849609375, -0.01318359375, -0.0...
[ 69253, 53, 5, 62346, 16498, 113, 2633, 19932, 461, 2676, 21917, 257, 1328, 30400, 43719, 9222, 39369, 42272, 94553, 238, 2389, 757, 425, 77495, 16735, 70, 14012, 17, 720, 21094, 47, 158, 814, 110343, 107, 48650, 32036, 9007, 3611, 140992,...
[ 0.13818359375, 0.115478515625, 0.038482666015625, 0.212158203125, 0.1746826171875, 0.151611328125, 0.00994873046875, 0.130615234375, 0.1334228515625, 0.12158203125, 0.1435546875, 0.044769287109375, 0.06512451171875, 0.0965576171875, 0.1229248046875, 0.1478271484375, 0.12890625, 0.1...
embed
7334019_c0
7334019
fsharp
0
Title: F# discriminated unions versus C# class hierarchies Problem title: F# discriminated unions versus C# class hierarchies Tags: c%23, c%23-to-f%23, f%23, discriminated-union, class-hierarchy Problem: F# discriminated unions versus C# class hierarchies I have the following code: public abstract class A ... public cl...
F# discriminated unions versus C# class hierarchies F# discriminated unions versus C# class hierarchies c%23 c%23-to-f%23 f%23 discriminated-union class-hierarchy my_fct block_1 block_2 block_3 F# discriminated unions versus C# class hierarchies I have the following code: and I wonder if it is a good translation from F...
[ -0.006683349609375, 0.01495361328125, 0.0174560546875, -0.00848388671875, -0.0009307861328125, -0.0130615234375, -0.0027313232421875, -0.0047607421875, 0.0076904296875, -0.00897216796875, 0.01043701171875, -0.001007080078125, 0.0203857421875, 0.0032196044921875, -0.0125732421875, -0.00...
[ 563, 4904, 55970, 3674, 69941, 119475, 313, 18507, 1791, 54689, 7, 3742, 27495, 188, 420, 1238, 87046, 88394, 147, 759, 140443, 18, 46389, 115187, 304, 363, 70, 25632, 18151, 32195, 2174, 83, 4127, 153648, 1295, 24610 ]
[ 0.14599609375, 0.228271484375, 0.2120361328125, 0.091064453125, 0.197998046875, 0.1353759765625, 0.0723876953125, 0.1624755859375, 0.119140625, 0.14892578125, 0.02496337890625, 0.065185546875, 0.1212158203125, 0.0924072265625, 0.075439453125, 0.054168701171875, 0.1575927734375, 0.1...
embed
27399142_c0
27399142
fsharp
0
Title: F#: Function parameter defaults to obj in class Problem title: F#: Function parameter defaults to obj in class Tags: f%23, generics, type-inference Problem: F#: Function parameter defaults to obj in class I created a simple function: let myGenericFunc abc = printfn "%A" abc Its type is: 'a -> unit Then I want to...
F#: Function parameter defaults to obj in class F#: Function parameter defaults to obj in class f%23 generics type-inference MyClass x.Func Func F#: Function parameter defaults to obj in class I created a simple function: Its type is: Then I want to make it a member of a class: However, type of "Func" is now Moreover: ...
[ 0.0089111328125, 0.004302978515625, 0.018798828125, -0.006103515625, -0.00775146484375, -0.00762939453125, -0.006988525390625, -0.0103759765625, 0.0034027099609375, -0.01312255859375, -0.0035400390625, -0.012939453125, 0.0191650390625, 0.0159912109375, 0.0026702880859375, -0.0375976562...
[ 563, 4904, 28670, 10763, 171859, 114977, 47, 995, 170, 23, 18507, 1238, 3742, 189534, 10644, 69988, 2646, 140803, 1022, 97249, 12, 7, 75935, 8781, 32354, 3444, 3249, 32786, 111, 33306, 238, 83, 5036, 70, 143726, 26818, 3664, 13438, 9655, ...
[ 0.11083984375, 0.2108154296875, 0.1788330078125, 0.06390380859375, 0.2215576171875, 0.236083984375, 0.09869384765625, 0.1920166015625, 0.2288818359375, 0.0643310546875, 0.19189453125, 0.0797119140625, 0.1007080078125, 0.1783447265625, 0.157958984375, 0.12255859375, 0.1214599609375, ...
embed
68757344_c1
68757344
fsharp
1
doesn't actually send an email client.Send(msg) // this works, but it's also blocking with | e -> printfn "%A" e I'm wondering if I'm doing anything wrong. I'm currently straight up calling the function from main in a test project. Code signals: e.Error, the, Using, System.Net.Mail, Send, SendAsync, MailMessage, msg.I...
doesn't actually send an email client.Send(msg) // this works, but it's also blocking with | e -> printfn "%A" e I'm wondering if I'm doing anything wrong. I'm currently straight up calling the function from main in a test project. Code signals: e.Error, the, Using, System.Net.Mail, Send, SendAsync, MailMessage, msg.I...
[ -0.008056640625, 0.04345703125, 0.025146484375, 0.0167236328125, 0.01202392578125, -0.00144195556640625, -0.00262451171875, 0.01470947265625, 0.005340576171875, -0.0274658203125, 0.0203857421875, 0.035888671875, -0.00689697265625, 0.007720947265625, 0.0250244140625, 0.0179443359375, ...
[ 22027, 18, 20653, 25379, 3340, 23282, 294, 3611, 132, 4432, 177, 903, 43240, 2843, 46389, 214, 678, 28, 28412, 14783, 3949, 284, 149016, 2174, 20594, 44691, 80560, 159029, 32354, 1295, 5201, 3034, 13452, 28864, 26073, 18468, 31611, 70, 345,...
[ 0.1014404296875, 0.103271484375, 0.1177978515625, 0.1298828125, 0.1954345703125, 0.239013671875, 0.046966552734375, 0.1705322265625, 0.03546142578125, 0.115234375, 0.1427001953125, 0.04583740234375, 0.1226806640625, 0.03668212890625, 0.234375, 0.090576171875, 0.054290771484375, 0.1...
embed
19060683_c0
19060683
fsharp
0
Title: How can I extract x values from Some(x) values from a sequence of Option &#x27;a? Problem title: How can I extract x values from Some(x) values from a sequence of Option &#x27;a? Tags: f%23 Problem: How can I extract x values from Some(x) values from a sequence of Option 'a? This one seems to be a brainer to me....
How can I extract x values from Some(x) values from a sequence of Option &#x27;a? How can I extract x values from Some(x) values from a sequence of Option &#x27;a? f%23 Some a How Option Seq.fold y::state None Seq.toList List.rev List.toSeq How can I extract x values from Some(x) values from a sequence of Option 'a? Th...
[ 0.00154876708984375, 0.019775390625, 0.005859375, -0.0037078857421875, 0.0035858154296875, -0.01177978515625, 0.02294921875, -0.01104736328125, 0.01214599609375, -0.0038299560546875, -0.00186920166015625, 0.005401611328125, -0.007537841796875, 0.01226806640625, -0.0015869140625, 0.0055...
[ 11249, 831, 87, 125663, 1022, 142424, 1295, 31384, 425, 10, 40, 944, 3956, 86769, 3768, 11, 3742, 503, 864, 42822, 113, 61340, 438, 86, 188, 154663, 32036, 5, 65381, 4233, 132, 242, 37202, 78574, 56, 3871, 47, 137565, 20051, 3934, 54, ...
[ 0.08062744140625, 0.10601806640625, 0.0592041015625, 0.2308349609375, 0.18310546875, 0.2318115234375, 0.1402587890625, 0.154052734375, 0.1290283203125, 0.040313720703125, 0.051605224609375, 0.12109375, 0.083251953125, 0.236572265625, 0.05218505859375, 0.1275634765625, 0.0262603759765...
embed
50777079_c0
50777079
fsharp
0
Title: Converting Int to Float without Rounding in F# Problem title: Converting Int to Float without Rounding in F# Tags: f%23 Problem: Converting Int to Float without Rounding in F# I have code like this in F# let fun a b= let mutable x1=float 0 <some stuff> x1r<- -a/b let main argv let a=Int32.Parse(Console.ReadLine(...
Converting Int to Float without Rounding in F# Converting Int to Float without Rounding in F# f%23 Converting Float Rounding x1r Int32.Parse Console.ReadLine Converting Int to Float without Rounding in F# I have code like this in F# And i have problem with converting -a/b to float. I tried oldschool *1.0f, and few othe...
[ -0.0147705078125, 0.00421142578125, -0.000331878662109375, -0.016357421875, -0.0019683837890625, -0.0240478515625, -0.0007781982421875, -0.022705078125, -0.005340576171875, 0.015625, 0.010986328125, 0.00946044921875, -0.00860595703125, 0.00921630859375, 0.01116943359375, -0.00994873046...
[ 1657, 814, 1916, 360, 18, 47, 38699, 257, 15490, 162856, 214, 563, 4904, 1238, 3949, 3742, 1022, 42, 6460, 28636, 40777, 31345, 93232, 18151, 1884, 2967, 96760, 20, 11, 64, 275, 21917, 37842, 48738, 661, 102107, 420, 136, 88308, 351, 79...
[ 0.044403076171875, 0.12158203125, 0.03314208984375, 0.131103515625, 0.1646728515625, 0.10662841796875, 0.2183837890625, 0.177978515625, 0.11962890625, 0.158935546875, 0.056060791015625, 0.120361328125, 0.2293701171875, 0.0665283203125, 0.0171661376953125, 0.1224365234375, 0.014755249...
embed
5097167_c1
5097167
fsharp
1
vb's 2nd , 106 characters* (if I include the function), easy, but return value requires work Stephen's 2nd , 397 characters*, long winded and comparably complex, but fastest Abel's , 155 characters*, based on Daniel's, allows duplicates (this wasn't a necessity, btw) and is relatively fast. There were more answers, but...
vb's 2nd , 106 characters* (if I include the function), easy, but return value requires work Stephen's 2nd , 397 characters*, long winded and comparably complex, but fastest Abel's , 155 characters*, based on Daniel's, allows duplicates (this wasn't a necessity, btw) and is relatively fast. There were more answers, but...
[ -0.001129150390625, -0.00799560546875, -0.00146484375, -0.0181884765625, 0.0189208984375, 0.0140380859375, -0.0211181640625, 0.00396728515625, 0.01544189453125, -0.041748046875, 0.00360107421875, -0.02392578125, 0.01171875, 0.021240234375, 0.00058746337890625, -0.0020294189453125, 0....
[ 86482, 25, 7, 116, 2208, 4, 38264, 124850, 1639, 3190, 26698, 32354, 247, 23468, 1284, 30646, 34292, 144570, 4488, 56174, 149729, 4989, 32382, 297, 31898, 27140, 4271, 525, 113140, 43137, 35509, 11555, 114864, 171763, 1636, 30050, 83, 35845, ...
[ 0.2998046875, 0.080322265625, 0.058868408203125, 0.165283203125, 0.1890869140625, 0.040283203125, 0.1571044921875, 0.1864013671875, 0.0160369873046875, 0.015869140625, 0.07470703125, 0.232666015625, 0.019134521484375, 0.1971435546875, 0.0626220703125, 0.20751953125, 0.178955078125, ...
embed