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
62379714_c0
62379714
fsharp
0
Title: How to split a line without splitting words in .net Problem title: How to split a line without splitting words in .net Tags: .net, f%23, regex Problem: How to split a line without splitting words in .net Is there an easy way to split a line of text into a sequence of shorter lines given some maximum upper bounds...
How to split a line without splitting words in .net How to split a line without splitting words in .net .net f%23 regex How How to split a line without splitting words in .net Is there an easy way to split a line of text into a sequence of shorter lines given some maximum upper bounds without splitting words unless the...
[ -0.04296875, 0.0068359375, -0.00225830078125, 0.006195068359375, -0.02197265625, 0.00933837890625, 0.0157470703125, 0.016845703125, 0.004791259765625, -0.00927734375, -0.01422119140625, 0.009521484375, -0.01025390625, -0.0001239776611328125, 0.0223388671875, 0.0162353515625, 0.017333...
[ 11249, 47, 65450, 10, 13315, 15490, 1916, 34153, 23, 5, 1179, 1238, 3949, 3742, 6835, 3355, 23468, 3917, 111, 7986, 3934, 944, 16610, 56, 124519, 38132, 1407, 99091, 117934, 2565, 68034, 51713 ]
[ 0.0684814453125, 0.0665283203125, 0.220703125, 0.05413818359375, 0.1939697265625, 0.126708984375, 0.01239013671875, 0.1490478515625, 0.042205810546875, 0.053466796875, 0.1953125, 0.068359375, 0.0220794677734375, 0.127685546875, 0.101806640625, 0.1414794921875, 0.07415771484375, 0.0...
embed
13823697_c0
13823697
fsharp
0
Title: how to read a function type in english Problem title: how to read a function type in english Tags: f%23 Problem: how to read a function type in english let compose f g = fun x -> f (g x) let mal2 x = 2 * x let plus1 x = x + 1 let mal2Plus1 = compose plus1 mal2 val compose : ('b -> 'c) -> ('a -> 'b) -> ('a -> 'c)...
how to read a function type in english how to read a function type in english f%23 mal2 plus1 mal2Plus1 how to read a function type in english Can anybody teach me how to read the function type of compose
[ 0.00445556640625, -0.010009765625, -0.004241943359375, 0.0400390625, -0.00701904296875, 0.018310546875, -0.00347900390625, 0.006805419921875, -0.005950927734375, -0.00604248046875, -0.00390625, -0.026123046875, 0.007049560546875, -0.0068359375, 0.00592041015625, -0.0181884765625, 0.0...
[ 3642, 47, 12301, 10, 32354, 10644, 23, 175457, 1238, 3949, 3742, 960, 304, 1001, 418, 88225, 4171, 2499, 37873, 94957, 163, 111, 150350 ]
[ 0.09130859375, 0.109619140625, 0.2442626953125, 0.0919189453125, 0.21826171875, 0.2410888671875, 0.0947265625, 0.2088623046875, 0.1187744140625, 0.057281494140625, 0.1387939453125, 0.1243896484375, 0.1363525390625, 0.146728515625, 0.0858154296875, 0.164794921875, 0.022796630859375, ...
embed
7687811_c0
7687811
fsharp
0
Title: F# TupleGet ActivePattern usage Problem title: F# TupleGet ActivePattern usage Tags: tuples, f%23 Problem: F# TupleGet ActivePattern usage I would like to know how to extract values out of a tuple Expression in F# when using quotations. If for example, I have a quotation <@ fst(sample_tuple) @> , how do I decons...
F# TupleGet ActivePattern usage F# TupleGet ActivePattern usage tuples f%23 TupleGet ActivePattern sample_tuple F# TupleGet ActivePattern usage I would like to know how to extract values out of a tuple Expression in F# when using quotations. If for example, I have a quotation <@ fst(sample_tuple) @> , how do I deconstr...
[ 0.018798828125, 0.021484375, -0.0012664794921875, 0.0159912109375, -0.0157470703125, 0.00145721435546875, -0.0166015625, 0.0087890625, 0.03369140625, -0.0419921875, 0.0172119140625, 0.02001953125, -0.0164794921875, 0.0220947265625, 0.00872802734375, 0.019287109375, 0.00567626953125, ...
[ 563, 4904, 1371, 8705, 724, 126, 88441, 8335, 3055, 127689, 370, 99726, 1238, 3742, 121413, 458, 1884, 3714, 3642, 47, 125663, 142424, 1810, 111, 25129, 1830, 17368, 81732, 5256, 1363, 981, 271, 132, 433, 33209, 1374, 8, 2271, 36716, 2046...
[ 0.1258544921875, 0.18310546875, 0.1326904296875, 0.185302734375, 0.062255859375, 0.08123779296875, 0.153076171875, 0.1099853515625, 0.0885009765625, 0.08734130859375, 0.1396484375, 0.142578125, 0.070556640625, 0.0589599609375, 0.128662109375, 0.1090087890625, 0.006134033203125, 0.0...
embed
7492101_c0
7492101
fsharp
0
Title: Using OpenCV from F# Problem title: Using OpenCV from F# Tags: f%23, opencv Problem: Using OpenCV from F# I would like to analyse the colour of a picture. Is it possible to use the OpenCV library with F# (the only language I am familiar with). If yes, do you know where I can find a tutorial/book on this subject ...
Using OpenCV from F# Using OpenCV from F# f%23 opencv F# Using OpenCV Using OpenCV from F# I would like to analyse the colour of a picture. Is it possible to use the OpenCV library with F# (the only language I am familiar with). If yes, do you know where I can find a tutorial/book on this subject (OpenCV 2 Computer Vis...
[ 0.004913330078125, -0.0186767578125, -0.0196533203125, 0.0096435546875, 0.0167236328125, 0.006256103515625, -0.008056640625, -0.01220703125, -0.0213623046875, -0.02685546875, 0.00616455078125, -0.00179290771484375, 0.0189208984375, 0.02099609375, -0.0020294189453125, 0.006195068359375,...
[ 345, 6953, 13527, 105553, 1295, 563, 4904, 1238, 3742, 9803, 238, 334, 2806, 1884, 47, 51422, 70, 134855, 111, 10, 49726, 2071, 7722, 4527, 35773, 1294, 678, 2347, 4734, 46876, 444, 16031, 72272, 7413, 57143, 14137, 28368, 103264, 116, 40...
[ 0.098876953125, 0.03826904296875, 0.174560546875, 0.2734375, 0.126953125, 0.148681640625, 0.2142333984375, 0.05181884765625, 0.05853271484375, 0.10675048828125, 0.011688232421875, 0.142822265625, 0.0068359375, 0.051055908203125, 0.073974609375, 0.2047119140625, 0.049468994140625, 0...
embed
59466820_c0
59466820
fsharp
0
Title: How do I define unary minus for a custom type in F#? Problem title: How do I define unary minus for a custom type in F#? Tags: f%23 Problem: How do I define unary minus for a custom type in F#? How do I define -x for a custom type in F#? This will complain that it expects a tuple: type Vector2<'T> = | Vector2 of...
How do I define unary minus for a custom type in F#? How do I define unary minus for a custom type in F#? f%23 How Vector2 How do I define unary minus for a custom type in F#? How do I define -x for a custom type in F#? This will complain that it expects a tuple:
[ -0.00848388671875, 0.007049560546875, 0.0225830078125, 0.0211181640625, -0.01434326171875, -0.0023956298828125, 0.0076904296875, -0.0022735595703125, -0.00118255615234375, 0.00909423828125, -0.015625, 0.00494384765625, 0.0120849609375, -0.01123046875, -0.015625, 0.001922607421875, -0...
[ 61924, 220, 1294, 26948, 114122, 10644, 563, 4904, 100, 1238, 3742, 2609, 18770, 304, 23, 20, 425, 186992, 41206, 370, 8705 ]
[ 0.148193359375, 0.1378173828125, 0.1622314453125, 0.278076171875, 0.1676025390625, 0.174072265625, 0.1014404296875, 0.1729736328125, 0.00115966796875, 0.043182373046875, 0.0751953125, 0.06817626953125, 0.06842041015625, 0.0173797607421875, 0.010009765625, 0.07293701171875, 0.14392089...
embed
79486049_c0
79486049
fsharp
0
Title: Utility of yield keyword in f sharp Problem title: Utility of yield keyword in f sharp Tags: f%23, yield Problem: Utility of yield keyword in f sharp So far I know, we use it mostly for list/array comprehension. Here is two codes: [ for x in range do (yield expression)] else we can also drop the yield and still ...
Utility of yield keyword in f sharp Utility of yield keyword in f sharp f%23 yield Utility Utility of yield keyword in f sharp So far I know, we use it mostly for list/array comprehension. Here is two codes: else we can also drop the yield and still it works So, is then what is use of yield in F#?
[ 0.004669189453125, 0.00156402587890625, 0.021484375, 0.01129150390625, 0.00750732421875, -0.003387451171875, 0.00384521484375, 0.0054931640625, 0.008544921875, -0.0269775390625, -0.00445556640625, 0.00616455078125, 0.005035400390625, -0.022705078125, 0.01513671875, -0.004302978515625, ...
[ 73876, 939, 111, 11180, 19388, 166117, 23, 1238, 189173, 3949, 3742, 2060, 642, 4527, 442, 153161, 100, 5303, 19305, 53, 46683, 3220, 6889, 6626, 18151, 36069, 43240, 2367, 83, 563, 4904 ]
[ 0.18798828125, 0.1014404296875, 0.1572265625, 0.16845703125, 0.2548828125, 0.208984375, 0.0447998046875, 0.142822265625, 0.21533203125, 0.047027587890625, 0.1339111328125, 0.0193328857421875, 0.011932373046875, 0.146728515625, 0.048553466796875, 0.0911865234375, 0.054046630859375, ...
embed
624116_c0
624116
fsharp
0
Title: How does the option type work in F# Problem title: How does the option type work in F# Tags: .net, c%23, f%23 Problem: How does the option type work in F# So I've been reading the Expert F# book by Apress, mostly using it as a reference when building a toy-ish F# library, but there's one thing I've failed to gra...
How does the option type work in F# How does the option type work in F# .net c%23 f%23 How How does the option type work in F# So I've been reading the Expert F# book by Apress, mostly using it as a reference when building a toy-ish F# library, but there's one thing I've failed to grasp and that's the "Option" type. Ho...
[ 0.00811767578125, 0.0128173828125, 0.006439208984375, -0.00469970703125, 0.003936767578125, -0.000545501708984375, -0.002532958984375, 0.001220703125, -0.00311279296875, -0.006378173828125, -0.0028839111328125, -0.03271484375, -0.009521484375, -0.00494384765625, -0.0029144287109375, 0....
[ 11249, 14602, 70, 35829, 10644, 4488, 23, 563, 4904, 1179, 3742, 16454, 70523, 12877, 11856, 91067, 33976, 72713, 4745, 35773, 1294, 165523, 27689, 254, 39029, 1363, 442, 2367, 2773, 8999, 127689 ]
[ 0.07427978515625, 0.046051025390625, 0.033203125, 0.267822265625, 0.2032470703125, 0.1231689453125, 0.0616455078125, 0.1361083984375, 0.198486328125, 0.11865234375, 0.011260986328125, 0.0285797119140625, 0.0601806640625, 0.0477294921875, 0.1268310546875, 0.0272216796875, 0.0156555175...
embed
41142275_c0
41142275
fsharp
0
Title: F# formatting string with list slices Problem title: F# formatting string with list slices Tags: transformation, list, f%23 Problem: F# formatting string with list slices I have a list that represents a label and a series of data values like this: (with many more elements) [10; 0; 0; 1; 0; 0; 1] And I want to wr...
F# formatting string with list slices F# formatting string with list slices transformation list f%23 F# formatting string with list slices I have a list that represents a label and a series of data values like this: (with many more elements) [10; 0; 0; 1; 0; 0; 1] And I want to write it to a file like this: |y 10 |x 0 ...
[ -0.000675201416015625, 0.0031890869140625, 0.006439208984375, 0.0028839111328125, -0.0262451171875, -0.0001926422119140625, 0.00909423828125, 0.009765625, 0.01263427734375, 0.04736328125, 0.030029296875, -0.003936767578125, 0.00171661376953125, -0.0213623046875, 0.0015411376953125, 0.0...
[ 563, 4904, 9384, 1916, 79315, 678, 5303, 28756, 5170, 167201, 1238, 3949, 3742, 33636, 67967, 36549, 2053, 142424, 1884, 903, 5941, 1286, 80854, 16, 963, 757, 74, 106, 3444, 33022, 442, 47, 11435, 6, 58745, 53, 209, 425, 1544, 525, 3917...
[ 0.14208984375, 0.196533203125, 0.195068359375, 0.09808349609375, 0.2239990234375, 0.0908203125, 0.193603515625, 0.1680908203125, 0.13037109375, 0.1981201171875, 0.080322265625, 0.028411865234375, 0.11865234375, 0.1373291015625, 0.197265625, 0.044586181640625, 0.09375, 0.11169433593...
embed
56924147_c0
56924147
fsharp
0
Title: What is mappedList and x from the list l? Problem title: What is mappedList and x from the list l? Tags: f%23, functional-programming Problem: What is mappedList and x from the list l? What is mappedList and x if you have the list l as input? let mapFold (f: 'a -> 'b) (l : List<'a>) : List<'b> = l |> List.fold (...
What is mappedList and x from the list l? What is mappedList and x from the list l? f%23 functional-programming the What List List.fold List.rev What is mappedList and x from the list l? What is mappedList and x if you have the list l as input?
[ -0.0093994140625, 0.0137939453125, 0.0133056640625, 0.0150146484375, -0.0238037109375, 0.0111083984375, -0.004425048828125, 0.00060272216796875, 0.0111083984375, -0.01190185546875, 0.009521484375, -0.0224609375, -0.0064697265625, 0.037109375, -0.0157470703125, -0.017822265625, -0.003...
[ 4865, 83, 291, 48398, 154663, 136, 1022, 1295, 5303, 96, 70, 1238, 3949, 3742, 123309, 28966, 32036, 42822, 65381, 237, 107730 ]
[ 0.1173095703125, 0.0455322265625, 0.1783447265625, 0.189208984375, 0.254638671875, 0.1190185546875, 0.12939453125, 0.16796875, 0.18798828125, 0.10205078125, 0.012237548828125, 0.028533935546875, 0.033416748046875, 0.1190185546875, 0.134033203125, 0.1229248046875, 0.2335205078125, 0...
embed
12083747_c0
12083747
fsharp
0
Title: How does Reactive Framework differ from F# Events? Problem title: How does Reactive Framework differ from F# Events? Tags: reactive-programming, f%23 Problem: How does Reactive Framework differ from F# Events? If I'm familiar with F# events already, and I don't plan to have too much C# interop, are there signifi...
How does Reactive Framework differ from F# Events? How does Reactive Framework differ from F# Events? reactive-programming f%23 F# How Reactive Framework Events How does Reactive Framework differ from F# Events? If I'm familiar with F# events already, and I don't plan to have too much C# interop, are there significant ...
[ -0.00115966796875, 0.0030975341796875, 0.0196533203125, 0.0079345703125, -0.01312255859375, -0.02392578125, 0.0130615234375, 0.0189208984375, 0.0162353515625, 0.006591796875, 0.0032501220703125, -0.009765625, -0.000812530517578125, 0.03076171875, 0.0098876953125, 0.00994873046875, 0....
[ 11249, 14602, 853, 71232, 202220, 129927, 1295, 563, 4904, 123560, 456, 28966, 1238, 3742, 16031, 47353, 21771, 1774, 1940, 2146, 88551, 89397, 16916, 17368 ]
[ 0.083740234375, 0.0294342041015625, 0.1358642578125, 0.2333984375, 0.2454833984375, 0.1856689453125, 0.104736328125, 0.099853515625, 0.1849365234375, 0.193359375, 0.1397705078125, 0.0802001953125, 0.045318603515625, 0.033935546875, 0.077392578125, 0.1549072265625, 0.0513916015625, ...
embed
45208430_c0
45208430
fsharp
0
Title: How to sort String alphabetically in F#? Problem title: How to sort String alphabetically in F#? Tags: sorting, string, f%23, char, arrays Problem: How to sort String alphabetically in F#? I have string "DBCA" and want sort it in F# let sortedString str = ... printfn "%A" <| sortedString "DBCA" // "ABCD" Code sa...
How to sort String alphabetically in F#? How to sort String alphabetically in F#? sorting string f%23 char arrays How DBCA ABCD Concat _str OrderBy How to sort String alphabetically in F#? I have string "DBCA" and want sort it in F# Code sample on C#
[ 0.006744384765625, -0.0233154296875, 0.0155029296875, 0.014404296875, -0.005889892578125, 0.007568359375, 0.01483154296875, -0.0186767578125, -0.00604248046875, -0.00201416015625, 0.00872802734375, 0.004425048828125, -0.0047607421875, 0.0196533203125, -0.00701904296875, -0.018676757812...
[ 11249, 47, 12096, 23351, 214, 229231, 71407, 23, 563, 4904, 79315, 1238, 3949, 3742, 21441, 10298, 4778, 57976, 13133, 47457, 397, 1657, 4460, 9297, 81206, 75358, 39463, 3444, 442, 28864, 121413 ]
[ 0.0740966796875, 0.076171875, 0.1873779296875, 0.197265625, 0.1175537109375, 0.172607421875, 0.0869140625, 0.0577392578125, 0.146240234375, 0.207275390625, 0.1802978515625, 0.0955810546875, 0.06927490234375, 0.14697265625, 0.0970458984375, 0.058380126953125, 0.020477294921875, 0.14...
embed
26943209_c0
26943209
fsharp
0
Title: How to convert (int* int) list to (int: list) in F# Problem title: How to convert (int* int) list to (int: list) in F# Tags: list, seq, f%23 Problem: How to convert (int* int) list to (int: list) in F# I have a sequence pairwise like: Original = [(0,0); (1,2); (3,4)] I would like to convert this seq of (int *int...
How to convert (int* int) list to (int: list) in F# How to convert (int* int) list to (int: list) in F# list seq f%23 How How to convert (int* int) list to (int: list) in F# I have a sequence pairwise like: Original = [(0,0); (1,2); (3,4)] I would like to convert this seq of (int *int) to a seq of int Final= [0,0,1,2,3...
[ 0.0010833740234375, 0.00567626953125, -0.0011749267578125, 0.007049560546875, -0.01068115234375, 0.007293701171875, -0.0341796875, 0.004119873046875, 0.00174713134765625, -0.01104736328125, 0.007659912109375, 0.01312255859375, 0.007720947265625, 0.036865234375, -0.00604248046875, -0.01...
[ 11249, 47, 96760, 4288, 1639, 23, 18, 5303, 12, 563, 4904, 16, 40, 864, 1238, 3949, 3742, 944, 3956, 80836, 90825, 34525, 2203, 63527, 3142, 133063, 82449, 1884, 661, 27188, 42459, 3917, 54 ]
[ 0.09722900390625, 0.117919921875, 0.1954345703125, 0.2178955078125, 0.15087890625, 0.14013671875, 0.198486328125, 0.24560546875, 0.046112060546875, 0.1597900390625, 0.2119140625, 0.011932373046875, 0.082763671875, 0.16845703125, 0.111572265625, 0.064208984375, 0.1732177734375, 0.11...
embed
41964998_c0
41964998
fsharp
0
Title: F# Function that Edits a List Problem title: F# Function that Edits a List Tags: f%23, list Problem: F# Function that Edits a List I am trying to implement a function that takes an element and a list and removes said element. This is not producing an output and I'm not sure why. I am new to F# so it is likely th...
F# Function that Edits a List F# Function that Edits a List f%23 list Edits List F# Function that Edits a List I am trying to implement a function that takes an element and a list and removes said element. This is not producing an output and I'm not sure why. I am new to F# so it is likely that I am making a basic mist...
[ -0.0014801025390625, 0.019775390625, 0.000598907470703125, -0.004852294921875, -0.00494384765625, 0.01251220703125, -0.016845703125, 0.01092529296875, -0.0074462890625, 0.0029449462890625, 0.0228271484375, -0.0152587890625, -0.01239013671875, 0.004486083984375, 0.0233154296875, 0.01770...
[ 563, 4904, 28670, 10763, 450, 42079, 7, 10, 32036, 1238, 3949, 3742, 5303, 31577, 29479, 32354, 51776, 12830, 136, 87388, 2804, 83, 959, 27024, 214, 140992, 87, 9077, 15400, 3525, 47041, 62822, 121742, 17368, 195625, 1830 ]
[ 0.1331787109375, 0.2032470703125, 0.175537109375, 0.06439208984375, 0.0819091796875, 0.255126953125, 0.0765380859375, 0.05194091796875, 0.2354736328125, 0.114990234375, 0.06805419921875, 0.162841796875, 0.18408203125, 0.089111328125, 0.1248779296875, 0.1802978515625, 0.116943359375, ...
embed
29860202_c0
29860202
fsharp
0
Title: Random number generation F# Problem title: Random number generation F# Tags: f%23 Problem: Random number generation F# I have the following code: let rand = System.Random() let gold = [ for i in years do yield rand.NextDouble()] However I cannot collapse it into one line as let gold = [ for i in years do yield S...
Random number generation F# Random number generation F# f%23 Random System.Random rand.NextDouble System.Random.NextDouble Random number generation F# I have the following code: However I cannot collapse it into one line as Why?
[ 0.00055694580078125, -0.01025390625, 0.015869140625, -0.021728515625, -0.01611328125, 0.0107421875, 0.0098876953125, -0.00811767578125, -0.00421142578125, -0.0306396484375, -0.005615234375, 0.03369140625, -0.00762939453125, -0.01513671875, 0.0255126953125, -0.000782012939453125, -0.0...
[ 39643, 306, 14012, 58093, 563, 4904, 1238, 3949, 3742, 12353, 126525, 3815, 27388, 81280, 34, 2661, 87, 765, 70, 25632, 18151, 33306, 53418, 3365, 127966, 442, 3934, 1632, 13315, 237, 44084 ]
[ 0.1180419921875, 0.031463623046875, 0.1268310546875, 0.15283203125, 0.10791015625, 0.15869140625, 0.080322265625, 0.0264434814453125, 0.1458740234375, 0.119384765625, 0.0546875, 0.0928955078125, 0.1317138671875, 0.0799560546875, 0.041412353515625, 0.0806884765625, 0.038604736328125, ...
embed
37355606_c0
37355606
fsharp
0
Title: Reversing Bits in F# Problem title: Reversing Bits in F# Tags: f%23, bit Problem: Reversing Bits in F# I need help reversing bits in F# as done in this question Reverse bits in number . I'm new to F# and was wondering how we can do this? let bitreverse x = let mutable b = 0 while x do b >>>= 1 b|= x & 1 x >>>= 1...
Reversing Bits in F# Reversing Bits in F# f%23 bit Reversing Bits Reversing Bits in F# I need help reversing bits in F# as done in this question Reverse bits in number . I'm new to F# and was wondering how we can do this? I'm not even sure the syntax is correct here. I am very knew to this language.
[ -0.0234375, 0.02197265625, 0.00058746337890625, 0.0181884765625, -0.00061798095703125, 0.0234375, -0.001983642578125, 0.004852294921875, 0.00604248046875, 0.000881195068359375, -0.0025177001953125, 0.042236328125, -0.0089111328125, 0.03369140625, 0.02880859375, 0.00096893310546875, 0...
[ 853, 7864, 214, 27774, 7, 23, 563, 4904, 1238, 3949, 3742, 4785, 3871, 4358, 39531, 6953, 237, 16940, 9655, 37676, 14012, 3525, 47, 149016, 3642, 642, 831, 54, 903, 87, 25, 39, 9077, 6002, 86531, 26785, 3688, 444, 4552, 55950, 46876 ]
[ 0.130859375, 0.2138671875, 0.09539794921875, 0.2037353515625, 0.06207275390625, 0.08758544921875, 0.17578125, 0.2369384765625, 0.1136474609375, 0.0767822265625, 0.1529541015625, 0.20166015625, 0.0628662109375, 0.09002685546875, 0.2120361328125, 0.093017578125, 0.007110595703125, 0....
embed
2983242_c0
2983242
fsharp
0
Title: F# how to return have value a tuple or null Problem title: F# how to return have value a tuple or null Tags: f%23 Problem: F# how to return have value a tuple or null let retVal = if reader.Read() then (reader.GetString(0), getBytesData reader 1, reader.GetDateTime(2)) else null F# don't allow null to returned H...
F# how to return have value a tuple or null F# how to return have value a tuple or null f%23 reader.Read reader.GetString reader.GetDateTime F# how to return have value a tuple or null F# don't allow null to returned How can i have value return as a tuple or a null?
[ 0.017333984375, 0.00007581710815429688, 0.003997802734375, 0.0206298828125, 0.0003757476806640625, -0.01116943359375, 0.0115966796875, -0.010009765625, -0.00469970703125, 0.0257568359375, 0.0211181640625, 0.0157470703125, 0.00323486328125, -0.00506591796875, 0.00640869140625, -0.023559...
[ 563, 4904, 3642, 47, 30646, 765, 34292, 10, 370, 8705, 707, 56574, 1238, 3742, 155255, 31345, 71713, 86291, 70059, 63769, 176377, 831, 17, 237 ]
[ 0.1087646484375, 0.2005615234375, 0.06396484375, 0.066650390625, 0.2257080078125, 0.1624755859375, 0.25732421875, 0.076171875, 0.1280517578125, 0.2154541015625, 0.0992431640625, 0.2071533203125, 0.06805419921875, 0.118408203125, 0.1600341796875, 0.08642578125, 0.021514892578125, 0....
embed
23236048_c0
23236048
fsharp
0
Title: Accepting FSharpFunc where Func is expected Problem title: Accepting FSharpFunc where Func is expected Tags: func, .net, f%23, extension-methods Problem: Accepting FSharpFunc where Func is expected As mentioned in this question , methods expecting a Func will not accept an F# function value. What's a good approa...
Accepting FSharpFunc where Func is expected Accepting FSharpFunc where Func is expected func .net f%23 extension-methods Accepting FSharpFunc Func Accepting FSharpFunc where Func is expected As mentioned in this question , methods expecting a Func will not accept an F# function value. What's a good approach to overload...
[ 0.013427734375, 0.018798828125, 0.0162353515625, -0.0150146484375, 0.00677490234375, -0.01171875, -0.0135498046875, -0.00628662109375, 0.00555419921875, -0.006591796875, 0.01708984375, -0.000209808349609375, -0.00396728515625, 0.01007080078125, 0.007598876953125, -0.00433349609375, 0...
[ 111383, 214, 93774, 3467, 254, 97249, 238, 7440, 28670, 83, 84751, 7477, 1179, 1238, 3949, 3742, 111938, 1928, 7352, 23, 150624, 41206, 1221, 959, 26946, 563, 4904, 32354, 34292, 4127, 51515, 645, 63033, 55300, 6044, 142424 ]
[ 0.180419921875, 0.02789306640625, 0.0980224609375, 0.1767578125, 0.135498046875, 0.1812744140625, 0.078125, 0.0977783203125, 0.1673583984375, 0.05712890625, 0.1923828125, 0.11279296875, 0.1309814453125, 0.09027099609375, 0.0139617919921875, 0.156494140625, 0.1405029296875, 0.041625...
embed
5723823_c0
5723823
fsharp
0
Title: FSI WPF Event Loop Problem title: FSI WPF Event Loop Tags: f%23, wpf, fsi Problem: FSI WPF Event Loop Is the WPF event loop in this answer still a good one for FSI (besides rethrow which is now reraise )? The answer is from 2008 and I'm not sure if there are any "better" implementations around. If not what would...
FSI WPF Event Loop FSI WPF Event Loop f%23 wpf fsi FSI WPF Event Loop FSI WPF Event Loop Is the WPF event loop in this answer still a good one for FSI (besides rethrow which is now reraise )? The answer is from 2008 and I'm not sure if there are any "better" implementations around. If not what would one be? My understa...
[ 0.00927734375, 0.0167236328125, -0.003570556640625, -0.00335693359375, -0.0068359375, -0.026611328125, 0.03076171875, -0.007293701171875, 0.006805419921875, -0.05859375, 0.006317138671875, 0.0250244140625, -0.0021209716796875, 0.0079345703125, 0.0279541015625, -0.00836181640625, 0.01...
[ 563, 9902, 601, 41265, 36943, 199694, 1238, 3949, 3742, 148, 39557, 172, 2071, 19732, 40956, 35166, 7464, 10, 4127, 1632, 100, 125441, 988, 456, 927, 15555, 3129, 5036, 12794, 13, 2021, 39, 9077, 621, 372, 3055, 208124, 7, 10932, 959, 2...
[ 0.10986328125, 0.2491455078125, 0.1102294921875, 0.26025390625, 0.2310791015625, 0.217041015625, 0.0723876953125, 0.0697021484375, 0.1734619140625, 0.03936767578125, 0.1925048828125, 0.1708984375, 0.0721435546875, 0.2095947265625, 0.22021484375, 0.05340576171875, 0.108154296875, 0....
embed
3347972_c0
3347972
fsharp
0
Title: F# Custom Operators Precedence Problem title: F# Custom Operators Precedence Tags: operators, f%23 Problem: F# Custom Operators Precedence In F#, you can define custom operators like let (=~) input pattern = Regex.IsMatch(input, pattern) Unlike Haskell, custom operators are defined without precedences. What are ...
F# Custom Operators Precedence F# Custom Operators Precedence operators f%23 Custom Operators Precedence Regex.IsMatch F# Custom Operators Precedence In F#, you can define custom operators like Unlike Haskell, custom operators are defined without precedences. What are the operator precedences of the custom operators in...
[ 0.0174560546875, -0.00165557861328125, 0.004638671875, 0.03173828125, -0.01104736328125, 0.00396728515625, 0.0174560546875, 0.017333984375, 0.01092529296875, -0.00994873046875, 0.010009765625, 0.0191650390625, 0.01416015625, -0.01361083984375, 0.0091552734375, -0.009765625, -0.009704...
[ 563, 4904, 130664, 150922, 1914, 37534, 6620, 39933, 1238, 3949, 3742, 11678, 3355, 29598, 79520, 206, 360, 831, 61924, 114122, 7, 1884, 992, 5062, 20625, 142508, 621, 15490, 107671, 69098, 4865, 23, 32 ]
[ 0.159912109375, 0.2333984375, 0.1995849609375, 0.2305908203125, 0.119384765625, 0.154296875, 0.095703125, 0.2462158203125, 0.106201171875, 0.051971435546875, 0.1221923828125, 0.081298828125, 0.1053466796875, 0.0985107421875, 0.1319580078125, 0.065185546875, 0.0180206298828125, 0.02...
embed
79512603_c0
79512603
fsharp
0
Title: Delete function with where clause on a option Problem title: Delete function with where clause on a option Tags: f%23, repodb Problem: Delete function with where clause on a option Code signals: Delete, UserSession, CreatedAt, DateTime, LastRefreshAt, this.DeleteAbandoned, olderThen:DateTime, base.Delete, sessio...
Delete function with where clause on a option Delete function with where clause on a option f%23 repodb Delete UserSession CreatedAt DateTime LastRefreshAt this.DeleteAbandoned olderThen:DateTime base.Delete session.CreatedAt Value session.LastRefreshAt.IsNone session.LastRefreshAt.Value Object session.LastRefreshAt So...
[ 0.00494384765625, 0.0107421875, -0.00836181640625, -0.0111083984375, -0.0225830078125, -0.015869140625, 0.0208740234375, 0.0025634765625, 0.0260009765625, 0.005096435546875, 0.003448486328125, 0.004150390625, -0.00311279296875, -0.01513671875, 0.020751953125, 0.021240234375, -0.00891...
[ 262, 46485, 32354, 678, 7440, 70731, 13, 98, 35829, 1238, 3742, 93392, 48073, 53400, 294, 90, 6889, 151313, 28848, 25512, 70059, 21672, 238781, 4657, 3448, 114210, 86291, 3647, 56002, 63784, 190060, 2729, 271, 5021, 856, 50770, 134549, 77630,...
[ 0.1412353515625, 0.256591796875, 0.18115234375, 0.1124267578125, 0.2197265625, 0.22216796875, 0.11181640625, 0.1270751953125, 0.2493896484375, 0.033203125, 0.1148681640625, 0.17822265625, 0.173583984375, 0.1544189453125, 0.100830078125, 0.1224365234375, 0.09423828125, 0.07165527343...
embed
19417490_c0
19417490
fsharp
0
Title: illogical inequality in Python,C++,C#,F# Problem title: illogical inequality in Python,C++,C#,F# Tags: python, c%23, c%2B%2B, f%23, math Problem: illogical inequality in Python,C++,C#,F# 0.1 + 0.2 == 0.3 ==> False I tried this in python, c#, c++, F#, Visual Basic.NET,ASP.NET! 0.1 + 0.2 == 0.30000000000000004 ==>...
illogical inequality in Python,C++,C#,F# illogical inequality in Python,C++,C#,F# python c%23 c%2B%2B f%23 math Python illogical inequality in Python,C++,C#,F# I tried this in python, c#, c++, F#, Visual Basic.NET,ASP.NET! This is True for all languages I mentioned above. Why this illogical inequality happens?
[ 0.0091552734375, 0.00634765625, -0.006103515625, 0.00567626953125, -0.00909423828125, -0.006134033203125, 0.000518798828125, -0.00457763671875, -0.002960205078125, 0.029052734375, 0.005859375, -0.01025390625, 0.00506591796875, 0.0240478515625, 0.0076904296875, 0.0025787353515625, 0.0...
[ 211, 137043, 289, 23, 13, 161789, 145581, 441, 37223, 4904, 919, 17198, 50828, 501, 3742, 167218, 571, 1238, 48909, 4, 37842, 563, 73372, 91692, 5, 17777, 9434, 38, 83, 87599, 756, 46876, 44084, 903, 96276 ]
[ 0.1331787109375, 0.2220458984375, 0.079833984375, 0.1102294921875, 0.1397705078125, 0.2242431640625, 0.27490234375, 0.0208587646484375, 0.2342529296875, 0.140869140625, 0.07159423828125, 0.1292724609375, 0.175048828125, 0.0491943359375, 0.09735107421875, 0.01092529296875, 0.005218505...
embed
11701783_c0
11701783
fsharp
0
Title: Is there a F# tool / library to visualize values as graphs (like Haskell&#x27;s vacuum)? Problem title: Is there a F# tool / library to visualize values as graphs (like Haskell&#x27;s vacuum)? Tags: haskell, visualization, f%23 Problem: Is there a F# tool / library to visualize values as graphs (like Haskell's v...
Is there a F# tool / library to visualize values as graphs (like Haskell&#x27;s vacuum)? Is there a F# tool / library to visualize values as graphs (like Haskell&#x27;s vacuum)? haskell visualization f%23 Haskell Is there a F# tool / library to visualize values as graphs (like Haskell's vacuum)? Is there a tool / libra...
[ 0.0006256103515625, 0.001953125, 0.00144195556640625, 0.00860595703125, 0.001739501953125, 0.0004425048828125, -0.0220947265625, -0.00531005859375, -0.004241943359375, 0.0142822265625, 0.01123046875, -0.00390625, 0.01409912109375, 0.00518798828125, -0.00677490234375, -0.022705078125, ...
[ 563, 4904, 55516, 35773, 1294, 21176, 20650, 142424, 237, 41382, 7, 20625, 142508, 3768, 241433, 1556, 47691, 1238, 3742, 2071, 2685, 10, 248, 47, 5062, 1884 ]
[ 0.136474609375, 0.2060546875, 0.1986083984375, 0.1588134765625, 0.054718017578125, 0.199951171875, 0.09423828125, 0.17626953125, 0.113037109375, 0.2489013671875, 0.064453125, 0.10626220703125, 0.203125, 0.03533935546875, 0.25048828125, 0.1036376953125, 0.03265380859375, 0.032684326...
embed
23528710_c0
23528710
fsharp
0
Title: How to call 2 functions recursively? Problem title: How to call 2 functions recursively? Tags: f%23 Problem: How to call 2 functions recursively? I have two functions : let fn2 = if "something happend" then fn1 let rec fn1 = if "something" then fn2 This is just an example, what I am trying to do. Is there any Id...
How to call 2 functions recursively? How to call 2 functions recursively? f%23 How fn2 fn1 How to call 2 functions recursively? I have two functions : This is just an example, what I am trying to do. Is there any Idea how to do it? or should I just send the 2. function to the 1. function as parameter?
[ 0.005706787109375, 0.0123291015625, -0.01153564453125, 0.042236328125, 0.009521484375, 0.0191650390625, 0.01300048828125, 0.006195068359375, 0.0147705078125, -0.03759765625, 0.0201416015625, 0.0067138671875, -0.022705078125, 0.01361083984375, 0.035888671875, -0.00531005859375, 0.0066...
[ 11249, 47, 11782, 116, 32354, 7, 195625, 5844, 538, 1238, 3949, 3742, 14783, 304, 418, 765, 6626, 27781, 31577, 77298, 3642, 54, 25379, 787, 615, 171859 ]
[ 0.0870361328125, 0.0570068359375, 0.2093505859375, 0.1898193359375, 0.219970703125, 0.06134033203125, 0.207763671875, 0.1531982421875, 0.0869140625, 0.0550537109375, 0.0296630859375, 0.114013671875, 0.1187744140625, 0.1328125, 0.041778564453125, 0.019866943359375, 0.1142578125, 0.0...
embed
2790190_c0
2790190
fsharp
0
Title: &#x27;MaxDegreeOfParallelism&#x27; for Array.Parallel? Problem title: &#x27;MaxDegreeOfParallelism&#x27; for Array.Parallel? Tags: parallel-processing, arrays, f%23 Problem: 'MaxDegreeOfParallelism' for Array.Parallel? Is it possible to set 'MaxDegreeOfParallelism' (that is maximum number of threads to use) for ...
&#x27;MaxDegreeOfParallelism&#x27; for Array.Parallel? &#x27;MaxDegreeOfParallelism&#x27; for Array.Parallel? parallel-processing arrays f%23 MaxDegreeOfParallelism Array.Parallel 'MaxDegreeOfParallelism' for Array.Parallel? Is it possible to set 'MaxDegreeOfParallelism' (that is maximum number of threads to use) for A...
[ 0.0013580322265625, 0.031005859375, -0.00665283203125, -0.0006256103515625, -0.0068359375, -0.001312255859375, 0.015869140625, -0.00396728515625, 0.02001953125, -0.016845703125, -0.0201416015625, 0.0361328125, 0.0225830078125, 0.00091552734375, -0.0128173828125, -0.0098876953125, 0.0...
[ 3768, 71346, 4657, 7134, 132887, 55292, 1229, 4086, 39, 69253, 53, 141, 32, 100, 95103, 63923, 214, 10298, 4778, 3742, 9920, 5, 7722, 5423, 13, 38132, 14012, 86997, 47, 4527, 88996, 1379, 44462, 211485, 18537 ]
[ 0.053466796875, 0.162841796875, 0.057373046875, 0.129638671875, 0.12646484375, 0.1221923828125, 0.164794921875, 0.1212158203125, 0.115966796875, 0.1541748046875, 0.1217041015625, 0.13134765625, 0.002044677734375, 0.0391845703125, 0.2183837890625, 0.121337890625, 0.0067138671875, 0....
embed
72691208_c0
72691208
fsharp
0
Title: Expecto: log individual test statuses Problem title: Expecto: log individual test statuses Tags: .net, f%23, expecto, build Problem: Expecto: log individual test statuses I've got a test that occasionally flakes and crashes my test process. However, I can't figure out which test is causing the failure. The only ...
Expecto: log individual test statuses Expecto: log individual test statuses .net f%23 expecto build Expecto Expecto: log individual test statuses I've got a test that occasionally flakes and crashes my test process. However, I can't figure out which test is causing the failure. The only output I get is How can I get te...
[ 0.0213623046875, 0.005767822265625, -0.0078125, 0.0023193359375, 0.0019989013671875, 0.01336669921875, 0.0167236328125, -0.0103759765625, -0.004547119140625, 0.036865234375, 0.005157470703125, 0.0225830078125, -0.0087890625, -0.00958251953125, 0.00054931640625, 0.002716064453125, 0.0...
[ 60075, 60751, 12, 12684, 11651, 3034, 10778, 90, 5, 1179, 1238, 3949, 3742, 41206, 31, 45367, 87, 4163, 450, 46505, 144745, 136, 150631, 759, 9433, 831, 18, 26366, 3129, 216806, 137578, 4734, 140992, 2046, 50339, 47, 237, 53383, 7413, 357...
[ 0.1597900390625, 0.234619140625, 0.013275146484375, 0.13623046875, 0.123779296875, 0.2115478515625, 0.11767578125, 0.033905029296875, 0.00140380859375, 0.1124267578125, 0.027618408203125, 0.021087646484375, 0.124267578125, 0.19384765625, 0.14306640625, 0.1524658203125, 0.001068115234...
embed
17904557_c1
17904557
fsharp
1
_0015: ret The behaviour looks strange to me. I had thought that the compiler should only inline if there is inline keyword. Are there any reference which mentioned it? Code signals: IL_0000, IL_0001, ldarg.0, IL_0002, ldc.i4.3, IL_0003, IL_0004, stloc.0, IL_0005, IL_0006, IL_0007, IL_0008, stloc.1, IL_0009, ldloc.0, I...
_0015: ret The behaviour looks strange to me. I had thought that the compiler should only inline if there is inline keyword. Are there any reference which mentioned it? Code signals: IL_0000, IL_0001, ldarg.0, IL_0002, ldc.i4.3, IL_0003, IL_0004, stloc.0, IL_0005, IL_0006, IL_0007, IL_0008, stloc.1, IL_0009, ldloc.0, I...
[ -0.0013427734375, 0.01300048828125, 0.000484466552734375, -0.007537841796875, -0.0147705078125, 0.0157470703125, 0.029296875, -0.00811767578125, 0.024169921875, 0.0135498046875, 0.0103759765625, 0.01318359375, -0.00101470947265625, 0.0224609375, 0.01806640625, -0.003204345703125, 0.0...
[ 101, 7049, 1837, 10267, 224833, 33342, 114453, 17569, 70, 9969, 34759, 5608, 4734, 23, 2256, 2174, 2685, 83, 166117, 91067, 119056, 442, 28864, 26073, 7, 30219, 28568, 188735, 96, 1506, 177, 2389, 9508, 304, 4, 158406, 363, 454, 617, 6138...
[ 0.0284576416015625, 0.1243896484375, 0.2158203125, 0.276123046875, 0.1944580078125, 0.128173828125, 0.160888671875, 0.05841064453125, 0.005767822265625, 0.2188720703125, 0.237548828125, 0.042572021484375, 0.05621337890625, 0.160400390625, 0.258056640625, 0.051025390625, 0.02622985839...
embed
19145435_c0
19145435
fsharp
0
Title: Convert integer list into tree in F# Problem title: Convert integer list into tree in F# Tags: f%23, list, tree Problem: Convert integer list into tree in F# I'm new to F# and would like to know how to convert a simple integer list into a tree. let lst =[1;2;3;4] type Tree= |Leaf of int |Node Tree * Tree list sh...
Convert integer list into tree in F# Convert integer list into tree in F# f%23 list tree Convert Tree Leaf Node Convert integer list into tree in F# I'm new to F# and would like to know how to convert a simple integer list into a tree. list should convert to tree like this ---> Leaf 1,Node(Leaf 2),Node(Node(Leaf 3,Leaf...
[ -0.006561279296875, -0.00775146484375, 0.0021209716796875, 0.010986328125, 0.01153564453125, 0.0250244140625, -0.02783203125, -0.0123291015625, -0.01177978515625, -0.030517578125, -0.0191650390625, -0.01263427734375, 0.004852294921875, 0.022216796875, -0.00122833251953125, -0.010498046...
[ 1657, 11549, 892, 1505, 5303, 3934, 53201, 23, 563, 4904, 1238, 3949, 3742, 101344, 636, 2407, 438, 112, 3525, 47, 1884, 3714, 3642, 96760, 8781, 10, 5608, 903, 106, 5021, 5267, 4958, 138, 13956, 16 ]
[ 0.048187255859375, 0.122802734375, 0.1502685546875, 0.1473388671875, 0.240234375, 0.1002197265625, 0.29150390625, 0.0731201171875, 0.14697265625, 0.215576171875, 0.0684814453125, 0.0208740234375, 0.12939453125, 0.199462890625, 0.0567626953125, 0.1651611328125, 0.09368896484375, 0.0...
embed
48078367_c0
48078367
fsharp
0
Title: Compile F# application to a standalone native executable? Problem title: Compile F# application to a standalone native executable? Tags: f%23 Problem: Compile F# application to a standalone native executable? Is is possible to compile an F# application to a standalone native executable, like a program, or a libr...
Compile F# application to a standalone native executable? Compile F# application to a standalone native executable? f%23 Compile Compile F# application to a standalone native executable? Is is possible to compile an F# application to a standalone native executable, like a program, or a library for use in other native p...
[ -0.00714111328125, 0.00167083740234375, -0.0074462890625, 0.005157470703125, -0.009765625, 0.0255126953125, -0.001953125, -0.0172119140625, 0.0086669921875, -0.01409912109375, 0.006072998046875, -0.000736236572265625, 0.00311279296875, 0.014892578125, 0.00927734375, -0.005126953125, ...
[ 15612, 1340, 563, 4904, 38415, 47, 103723, 51684, 24, 4935, 71924, 2886, 32, 10, 1238, 3949, 3742, 2071, 83, 7722, 9969, 1884, 1528, 35773, 4527, 3789, 103391, 831, 450, 16940, 100, 3773, 29908, 136, 19138, 7285, 22362 ]
[ 0.1864013671875, 0.18310546875, 0.175048828125, 0.265380859375, 0.1998291015625, 0.14990234375, 0.15087890625, 0.150146484375, 0.127685546875, 0.1181640625, 0.1590576171875, 0.1290283203125, 0.02252197265625, 0.027740478515625, 0.09600830078125, 0.0295562744140625, 0.1070556640625, ...
embed
18562007_c0
18562007
fsharp
0
Title: How to Convert FSharpList back to List in c#? Problem title: How to Convert FSharpList back to List in c#? Tags: converters, c%23, f%23, .net, list Problem: How to Convert FSharpList back to List in c#? I have an F# library that returns an FSharpList to my C# caller. I would now like my C# caller's code to conve...
How to Convert FSharpList back to List in c#? How to Convert FSharpList back to List in c#? converters c%23 f%23 .net list How Convert FSharpList List How to Convert FSharpList back to List in c#? I have an F# library that returns an FSharpList to my C# caller. I would now like my C# caller's code to convert this into ...
[ -0.0103759765625, 0.0322265625, 0.00439453125, -0.010986328125, -0.003875732421875, 0.017333984375, -0.021240234375, 0.0120849609375, 0.0006103515625, 0.0034942626953125, 0.0068359375, -0.01171875, 0.01177978515625, 0.00933837890625, 0.000301361083984375, -0.00119781494140625, 0.0044...
[ 11249, 47, 1657, 11549, 93774, 3467, 254, 154663, 4420, 32036, 23, 501, 4904, 172127, 3949, 3742, 1238, 1179, 5303, 563, 35773, 1294, 30646, 313, 11782, 56, 2806, 5036, 1884, 18151, 96760, 3934, 10, 2684, 93766, 3917, 54 ]
[ 0.07861328125, 0.10186767578125, 0.06634521484375, 0.1566162109375, 0.1182861328125, 0.1900634765625, 0.1712646484375, 0.2587890625, 0.1611328125, 0.2293701171875, 0.0748291015625, 0.05889892578125, 0.2203369140625, 0.1949462890625, 0.00396728515625, 0.088134765625, 0.06915283203125,...
embed
24412225_c0
24412225
fsharp
0
Title: What is a better way to model a treeNode? Problem title: What is a better way to model a treeNode? Tags: f%23, treenode Problem: What is a better way to model a treeNode? What are the pros and cons of each of the following two ways to create a tree node? type TreeNode = | TreeNode of int * (TreeNode option) * (T...
What is a better way to model a treeNode? What is a better way to model a treeNode? f%23 treenode What TreeNode Node None What is a better way to model a treeNode? What are the pros and cons of each of the following two ways to create a tree node?
[ -0.004241943359375, 0.010498046875, -0.01446533203125, 0.0189208984375, 0.007171630859375, -0.0142822265625, -0.0245361328125, -0.020263671875, 0.00179290771484375, -0.027099609375, 0.0147705078125, -0.021484375, 0.00628662109375, 0.0120849609375, 0.010986328125, 0.012451171875, 0.01...
[ 11522, 3917, 3299, 53201, 5021, 112, 47, 1238, 3742, 157, 4865, 101344, 438, 86, 83, 38280, 136, 158, 6626, 48322, 28282, 110 ]
[ 0.1029052734375, 0.052978515625, 0.2330322265625, 0.2154541015625, 0.2174072265625, 0.2034912109375, 0.007080078125, 0.0068359375, 0.03118896484375, 0.1800537109375, 0.060455322265625, 0.2119140625, 0.18359375, 0.025604248046875, 0.0045166015625, 0.08587646484375, 0.016326904296875, ...
embed
54312750_c0
54312750
fsharp
0
Title: Does Async.RunSynchronously method block? Problem title: Does Async.RunSynchronously method block? Tags: f%23 Problem: Does Async.RunSynchronously method block? From the documentation it appears that the Async.RunSynchronously runs the async computation and awaits its result. I've also read that it's similar to ...
Does Async.RunSynchronously method block? Does Async.RunSynchronously method block? f%23 Does Async.RunSynchronously Does Async.RunSynchronously method block? From the documentation it appears that the Async.RunSynchronously runs the async computation and awaits its result. I've also read that it's similar to await in ...
[ -0.0084228515625, 0.01239013671875, 0.01385498046875, -0.00775146484375, -0.0179443359375, 0.01239013671875, 0.0145263671875, 0.0107421875, -0.00482177734375, -0.03955078125, -0.0034027099609375, 0.0189208984375, -0.0028533935546875, -0.022216796875, 0.0162353515625, 0.013671875, 0.0...
[ 101790, 62, 12654, 238, 163321, 217835, 127, 1900, 79850, 55300, 46389, 1238, 3949, 3742, 209806, 127877, 10, 181135, 634, 14481, 16750, 21373, 217, 4904, 193844, 7, 86997, 24189, 11675, 47, 21721, 1830 ]
[ 0.05108642578125, 0.0228271484375, 0.201416015625, 0.1104736328125, 0.1275634765625, 0.10888671875, 0.08056640625, 0.1500244140625, 0.15234375, 0.1480712890625, 0.21533203125, 0.0240478515625, 0.016448974609375, 0.0950927734375, 0.05010986328125, 0.1207275390625, 0.03997802734375, ...
embed
9981992_c0
9981992
fsharp
0
Title: F# function negation chain Problem title: F# function negation chain Tags: f%23 Problem: F# function negation chain I want to negate the return value of a function in a cool way. Given this function: let yes = fun() -> true I want to implement no as a negation of yes let no = not yes //doesn't work Does any kind...
F# function negation chain F# function negation chain f%23 F# function negation chain I want to negate the return value of a function in a cool way. Given this function: I want to implement no as a negation of yes Does any kind of syntatic sugar exist in F# to make this possible? P.S. I am not looking for this:
[ -0.0157470703125, -0.00335693359375, 0.0120849609375, -0.00186920166015625, -0.00011920928955078125, 0.009033203125, 0.00002002716064453125, -0.0107421875, -0.004638671875, -0.00958251953125, -0.030517578125, 0.029052734375, -0.0159912109375, -0.006866455078125, 0.02880859375, 0.003906...
[ 563, 4904, 32354, 108, 125682, 121293, 1238, 3949, 3742, 3444, 47, 90584, 13, 30646, 34292, 23, 10, 21185, 3917, 77878, 29479, 110, 237, 111, 72272, 8562, 6002, 102, 9523, 101087, 32316, 7722, 16487 ]
[ 0.1199951171875, 0.195556640625, 0.1749267578125, 0.176513671875, 0.1864013671875, 0.198486328125, 0.047454833984375, 0.0295562744140625, 0.14013671875, 0.111572265625, 0.041290283203125, 0.210693359375, 0.154541015625, 0.18359375, 0.1549072265625, 0.01348876953125, 0.004608154296875...
embed
29172119_c0
29172119
fsharp
0
Title: F# Val without Self Identifier Problem title: F# Val without Self Identifier Tags: f%23 Problem: F# Val without Self Identifier Just curious why F# has: member val Foo = ... with get, set While omitting the self identifier (e.g. this. ). This is still an instance property. Maybe I am the only one confused when u...
F# Val without Self Identifier F# Val without Self Identifier f%23 Val Identifier Foo F# Val without Self Identifier Just curious why F# has: member val Foo = ... with get, set While omitting the self identifier (e.g. this. ). This is still an instance property. Maybe I am the only one confused when using it. But just ...
[ 0.0186767578125, 0.00909423828125, 0.01129150390625, 0.004180908203125, 0.002410888671875, -0.01263427734375, 0.01007080078125, 0.0179443359375, 0.001129150390625, -0.01446533203125, 0.00750732421875, 0.03515625, -0.01068115234375, 0.020751953125, 0.0081787109375, -0.0240478515625, 0...
[ 563, 4904, 4769, 15490, 55347, 189543, 56, 1238, 3742, 9572, 31, 193844, 15400, 1556, 32786, 3502, 2203, 678, 2046, 5423, 51404, 171, 14, 19514, 15970, 42485, 903, 7464, 110527, 57266, 55681, 17368, 93002, 46876, 61924, 71 ]
[ 0.16650390625, 0.255126953125, 0.2340087890625, 0.158935546875, 0.1368408203125, 0.1815185546875, 0.0919189453125, 0.101806640625, 0.1024169921875, 0.222900390625, 0.21435546875, 0.07476806640625, 0.083740234375, 0.046966552734375, 0.264892578125, 0.24560546875, 0.0523681640625, 0....
embed
5334382_c0
5334382
fsharp
0
Title: How do you represent fraction in F# without the loss of precision? Problem title: How do you represent fraction in F# without the loss of precision? Tags: fractions, f%23, rational-numbers Problem: How do you represent fraction in F# without the loss of precision? What is best way to represent fractions in F#? H...
How do you represent fraction in F# without the loss of precision? How do you represent fraction in F# without the loss of precision? fractions f%23 rational-numbers How How do you represent fraction in F# without the loss of precision? What is best way to represent fractions in F#? Haskell and Racket have convinient w...
[ -0.0191650390625, 0.01312255859375, 0.01470947265625, -0.01263427734375, -0.002349853515625, -0.010498046875, -0.00604248046875, 0.0025787353515625, 0.00201416015625, -0.004180908203125, -0.007476806640625, -0.00372314453125, 0.004730224609375, -0.01129150390625, -0.00177764892578125, ...
[ 11249, 33636, 175921, 23, 563, 4904, 15490, 86669, 22619, 1830, 54, 7, 1238, 3949, 3742, 168487, 2606, 1297, 111, 2965, 3917, 47, 20625, 142508, 136, 2552, 27853, 765, 158, 2082, 70460, 2053, 10644 ]
[ 0.052734375, 0.240966796875, 0.288818359375, 0.06317138671875, 0.155517578125, 0.2247314453125, 0.1097412109375, 0.0692138671875, 0.1583251953125, 0.0382080078125, 0.0189208984375, 0.0650634765625, 0.111083984375, 0.07550048828125, 0.14501953125, 0.174072265625, 0.09033203125, 0.08...
embed
28316134_c0
28316134
fsharp
0
Title: How to convert object to Tuple? Problem title: How to convert object to Tuple? Tags: f%23-3.0, f%23 Problem: How to convert object to Tuple? Code signals: How, Tuple, TdlType, TdlBoolean, TdlInteger, TdlTag, Tdldouble, TdlString, TdlDecimal, TdlChar, TdlTuple, Tdl, _value, _name:string, _valueType:TdlType, value...
How to convert object to Tuple? How to convert object to Tuple? f%23-3.0 f%23 How Tuple TdlType TdlBoolean TdlInteger TdlTag Tdldouble TdlString TdlDecimal TdlChar TdlTuple Tdl _value _name:string _valueType:TdlType value:obj name:string _name valueType:TdlType _valueType this.valueAsTuple Option TdlType.TdlTuple None ...
[ -0.002471923828125, -0.0027618408203125, -0.005584716796875, -0.01141357421875, 0.002197265625, -0.001953125, -0.03466796875, -0.00494384765625, 0.01116943359375, 0.00714111328125, -0.0113525390625, -0.010986328125, 0.010009765625, 0.018798828125, -0.00543212890625, -0.00726318359375, ...
[ 11249, 47, 96760, 36746, 1371, 8705, 1238, 167218, 27495, 132265, 3742, 384, 20469, 196707, 34677, 67, 66448, 2661, 71713, 318, 84068, 15665, 27494, 91693, 34292, 3522, 170, 9351, 11627, 903, 19659, 86769, 212059, 11853, 77336, 35839, 450, 83...
[ 0.088623046875, 0.1492919921875, 0.1846923828125, 0.2347412109375, 0.18359375, 0.287841796875, 0.08099365234375, 0.01019287109375, 0.1175537109375, 0.1640625, 0.1029052734375, 0.0390625, 0.11572265625, 0.19384765625, 0.08056640625, 0.079345703125, 0.09295654296875, 0.02351379394531...
embed
37776283_c2
37776283
fsharp
2
false | v -> let stop = v |> float |> sqrt |> int let rec loop vv = if vv <= stop then if (v % vv) <> 0 then loop (vv + 2) else false else true loop 3 let spir2 = List.unfold (fun state -> let p = fst state let i = snd state let n = i%4 let a = 2 * (i/4 + 1) let diag = Code signals: namespace, Performance, What, is_pr...
false | v -> let stop = v |> float |> sqrt |> int let rec loop vv = if vv <= stop then if (v % vv) <> 0 then loop (vv + 2) else false else true loop 3 let spir2 = List.unfold (fun state -> let p = fst state let i = snd state let n = i%4 let a = 2 * (i/4 + 1) let diag = Code signals: namespace, Performance, What, is_pr...
[ -0.0034637451171875, 0.03076171875, 0.0079345703125, 0.0004100799560546875, 0.0032806396484375, -0.00958251953125, 0.01904296875, -0.016845703125, 0.0179443359375, -0.00732421875, 0.0087890625, 0.040771484375, 0.0021209716796875, -0.0028228759765625, 0.01043701171875, 0.01300048828125,...
[ 98320, 58745, 81, 33079, 2633, 7279, 2203, 21917, 257, 864, 3198, 23, 18, 21954, 40956, 334, 2174, 1369, 1745, 757, 53962, 997, 4958, 37076, 29568, 138, 107915, 304, 32036, 309, 42822, 16498, 11341, 915, 271, 17, 2208, 617, 10, 17357, 4...
[ 0.286376953125, 0.062042236328125, 0.229248046875, 0.090576171875, 0.1356201171875, 0.228515625, 0.040985107421875, 0.172119140625, 0.09552001953125, 0.1319580078125, 0.191162109375, 0.09674072265625, 0.1341552734375, 0.1873779296875, 0.206787109375, 0.212890625, 0.07330322265625, ...
embed
3649974_c0
3649974
fsharp
0
Title: FSLex Unknown Error Problem title: FSLex Unknown Error Tags: f%23, fslex Problem: FSLex Unknown Error I got some problem with my FSLex which I can't solve... All I know is that fslex.exe exited with code 1... The F# code at the top was tested in F# Interactive, so the problem isn't there (I can't see how). Lexer...
FSLex Unknown Error FSLex Unknown Error f%23 fslex FSLex Unknown Error FSLex Unknown Error I got some problem with my FSLex which I can't solve... All I know is that fslex.exe exited with code 1... The F# code at the top was tested in F# Interactive, so the problem isn't there (I can't see how). Lexer: http://pastebin....
[ 0.022705078125, 0.00567626953125, 0.0022430419921875, 0.00090789794921875, -0.010009765625, 0.021240234375, 0.00567626953125, -0.005889892578125, -0.00299072265625, 0.001861572265625, 0.00982666015625, 0.01275634765625, 0.01806640625, 0.01611328125, 0.017578125, -0.003814697265625, 0...
[ 563, 30508, 3355, 992, 69723, 212059, 19, 1238, 3949, 3742, 7, 74070, 2967, 759, 831, 18, 86869, 3714, 46480, 82230, 297, 678, 18151, 106, 4904, 99, 2663, 3034, 23, 5337, 71232, 56112, 2685, 1957, 99078, 56, 134665, 7568, 277, 12975, 23...
[ 0.157958984375, 0.1568603515625, 0.263916015625, 0.1275634765625, 0.2296142578125, 0.187255859375, 0.016845703125, 0.1480712890625, 0.1090087890625, 0.2052001953125, 0.1279296875, 0.31689453125, 0.10455322265625, 0.007781982421875, 0.043182373046875, 0.042327880859375, 0.104858398437...
embed
64497211_c0
64497211
fsharp
0
Title: How to test for primitive types in F# and type cast without given type declarations Problem title: How to test for primitive types in F# and type cast without given type declarations Tags: f%23, casting, generics Problem: How to test for primitive types in F# and type cast without given type declarations This is...
How to test for primitive types in F# and type cast without given type declarations How to test for primitive types in F# and type cast without given type declarations f%23 casting generics How How to test for primitive types in F# and type cast without given type declarations This is what I consider a better way of ty...
[ -0.01220703125, 0.0145263671875, 0.00823974609375, 0.00543212890625, 0.003021240234375, -0.017578125, -0.0185546875, -0.0024566650390625, -0.005035400390625, -0.00052642822265625, 0.0244140625, -0.0242919921875, -0.007659912109375, 0, 0.0142822265625, 0.0185546875, 0.0091552734375, ...
[ 3034, 100, 128489, 13, 52895, 563, 4904, 10644, 37702, 15490, 34475, 21635, 136, 1238, 3742, 176050, 189534, 16916, 11522, 175199, 103510, 14858, 51592 ]
[ 0.18798828125, 0.06072998046875, 0.1610107421875, 0.08697509765625, 0.19091796875, 0.1036376953125, 0.1558837890625, 0.1839599609375, 0.10662841796875, 0.1162109375, 0.061492919921875, 0.1197509765625, 0.0159912109375, 0.037353515625, 0.060546875, 0.08441162109375, 0.117431640625, ...
embed
67864376_c2
67864376
fsharp
2
6, uint32, uint64, int8, int16, int32, int64, divRemBy10, Unchecked.defaultof, RequireQualifiedAccess, Digits, Positive, Zero, Negative, LanguagePrimitives.GenericZero, None, Some, LanguagePrimitives.GenericOne, Seq.unfold, Seq.rev, Seq.singleton, Seq.mapi, EntryPoint, Int32.MaxValue, Int32.MinValue, List.map, Digits.t...
6, uint32, uint64, int8, int16, int32, int64, divRemBy10, Unchecked.defaultof, RequireQualifiedAccess, Digits, Positive, Zero, Negative, LanguagePrimitives.GenericZero, None, Some, LanguagePrimitives.GenericOne, Seq.unfold, Seq.rev, Seq.singleton, Seq.mapi, EntryPoint, Int32.MaxValue, Int32.MinValue, List.map, Digits.t...
[ -0.0174560546875, 0.014404296875, 0.02099609375, 0.006103515625, -0.010498046875, -0.000652313232421875, -0.0018463134765625, -0.00157928466796875, 0.016357421875, 0.0233154296875, -0.002197265625, 0.0101318359375, -0.01495361328125, 0.0108642578125, -0.00909423828125, -0.0066833496093...
[ 305, 4, 75, 4288, 6460, 13307, 23, 18, 1019, 2485, 18221, 4332, 39, 75358, 963, 992, 78292, 5, 214810, 4390, 853, 3181, 107, 178476, 47314, 39450, 26531, 51174, 933, 156060, 83947, 221717, 83658, 145111, 14, 42991, 135932, 1511, 4036, 438...
[ 0.26171875, 0.107666015625, 0.158935546875, 0.2391357421875, 0.268310546875, 0.232666015625, 0.1290283203125, 0.162109375, 0.1534423828125, 0.223388671875, 0.156982421875, 0.10400390625, 0.1082763671875, 0.1451416015625, 0.13720703125, 0.10113525390625, 0.2259521484375, 0.074096679...
embed
53206113_c0
53206113
fsharp
0
Title: How to convert int list list list to (int * int) list in f# Problem title: How to convert int list list list to (int * int) list in f# Tags: f%23-3.0, c%23-to-f%23, f%23-data, f%23-interactive, f%23 Problem: How to convert int list list list to (int * int) list in f# If I want to Convert a list [[[0; 5]; [1; 5];...
How to convert int list list list to (int * int) list in f# How to convert int list list list to (int * int) list in f# f%23-3.0 c%23-to-f%23 f%23-data f%23-interactive f%23 How How to convert int list list list to (int * int) list in f# If I want to Convert a list [[[0; 5]; [1; 5]; [2; 3]]] to a tuple list [(0, 5); (1...
[ 0.00970458984375, 0.0130615234375, -0.003875732421875, -0.00013637542724609375, -0.01251220703125, 0.006805419921875, -0.017822265625, 0.01373291015625, 0.006927490234375, -0.00946044921875, 0.00726318359375, 0.0028228759765625, 0.0003833770751953125, 0.032470703125, -0.01226806640625, ...
[ 11249, 47, 96760, 23, 18, 5303, 4288, 661, 16, 1238, 4904, 27495, 132265, 188, 420, 3742, 10135, 10433, 71232, 3444, 1657, 11549, 2389, 190, 138, 370, 8705, 8439, 17368, 103510, 14858, 22936, 3642, 54, 903 ]
[ 0.04156494140625, 0.1070556640625, 0.1778564453125, 0.124755859375, 0.1661376953125, 0.2156982421875, 0.1842041015625, 0.1551513671875, 0.001708984375, 0.125244140625, 0.1864013671875, 0.0830078125, 0.1156005859375, 0.08819580078125, 0.06817626953125, 0.03765869140625, 0.046783447265...
embed
67662790_c0
67662790
fsharp
0
Title: Applying function repeatedly to generate List Problem title: Applying function repeatedly to generate List Tags: f%23 Problem: Applying function repeatedly to generate List I currently have this f# function let collatz' n = match n with | n when n <= 0 -> failwith "collatz' :n is zero or less" | n when even n = ...
Applying function repeatedly to generate List Applying function repeatedly to generate List f%23 Applying List Applying function repeatedly to generate List I currently have this f# function Any tips for solving the following problem in F#?
[ 0.0034027099609375, -0.01019287109375, 0.01300048828125, -0.00994873046875, 0.0167236328125, 0.0038604736328125, -0.0120849609375, 0.0045166015625, 0.0185546875, -0.00933837890625, 0.0262451171875, -0.02001953125, -0.0048828125, 0.00830078125, 0.0062255859375, 0.001953125, 0.01342773...
[ 5659, 538, 214, 32354, 119140, 297, 47, 139392, 32036, 1238, 3949, 3742, 87, 82424, 903, 4904, 6305, 3115, 6496, 70, 25632, 2967, 563 ]
[ 0.148681640625, 0.151611328125, 0.073974609375, 0.1807861328125, 0.218017578125, 0.1080322265625, 0.10498046875, 0.20849609375, 0.2216796875, 0.074462890625, 0.05535888671875, 0.13671875, 0.01043701171875, 0.0841064453125, 0.03271484375, 0.1683349609375, 0.0902099609375, 0.04742431...
embed
38791326_c0
38791326
fsharp
0
Title: Is there any support for collapsing all function nodes within the F# editor? Problem title: Is there any support for collapsing all function nodes within the F# editor? Tags: visual-studio, f%23 Problem: Is there any support for collapsing all function nodes within the F# editor? Is there any support for collaps...
Is there any support for collapsing all function nodes within the F# editor? Is there any support for collapsing all function nodes within the F# editor? visual-studio f%23 Ctrl Is there any support for collapsing all function nodes within the F# editor? Is there any support for collapsing all function nodes in Visual ...
[ -0.00135040283203125, -0.01708984375, 0.01336669921875, 0.0079345703125, -0.0023193359375, 0.01220703125, 0.002288818359375, -0.0196533203125, -0.007080078125, 0.00775146484375, 0.017578125, -0.0155029296875, 0.0081787109375, 0.0123291015625, 0.00823974609375, -0.000018715858459472656,...
[ 2499, 8060, 3365, 96091, 214, 756, 32354, 110, 988, 28032, 563, 4904, 30391, 2685, 100, 21176, 52629, 1238, 3742, 68847, 2071, 23, 73372, 22968, 27983, 4527, 707 ]
[ 0.044586181640625, 0.2177734375, 0.116943359375, 0.19921875, 0.047210693359375, 0.08746337890625, 0.15087890625, 0.1270751953125, 0.1141357421875, 0.077880859375, 0.10009765625, 0.183837890625, 0.189208984375, 0.023773193359375, 0.03076171875, 0.1217041015625, 0.145263671875, 0.029...
embed
66084090_c0
66084090
fsharp
0
Title: How to define a constant literal in F# Problem title: How to define a constant literal in F# Tags: f%23 Problem: How to define a constant literal in F# In C#, I do this: public const double PAPER_SIZE_WIDTH = 8.5 * 96; What is the best way to define this global constant in F#? This fails: [<Literal>] let PaperSi...
How to define a constant literal in F# How to define a constant literal in F# f%23 How PAPER_SIZE_WIDTH Literal PaperSizeWidth How to define a constant literal in F# In C#, I do this: What is the best way to define this global constant in F#? This fails: Error: This is not a valid constant expression TIA
[ 0.003448486328125, -0.0205078125, -0.0079345703125, -0.0140380859375, 0.00909423828125, -0.000484466552734375, -0.0283203125, -0.0106201171875, -0.0064697265625, -0.004974365234375, 0.00061798095703125, 0.01239013671875, -0.001953125, -0.00897216796875, 0.0035247802734375, 0.0244140625...
[ 11249, 47, 61924, 53697, 15659, 289, 23, 563, 4904, 10, 1238, 3949, 3742, 11107, 30425, 9902, 19157, 1456, 7146, 135940, 141, 62323, 127167, 13, 532, 927, 313, 70, 2965, 903, 7964, 35782, 7, 212059, 3293, 959, 35604, 125195, 114551 ]
[ 0.0657958984375, 0.0650634765625, 0.2281494140625, 0.257080078125, 0.2486572265625, 0.174072265625, 0.082763671875, 0.1561279296875, 0.2169189453125, 0.045623779296875, 0.12109375, 0.04296875, 0.1771240234375, 0.1171875, 0.091552734375, 0.05535888671875, 0.0706787109375, 0.05609130...
embed
37152003_c1
37152003
fsharp
1
="2.1.0" targetFramework="net46" /> <package id="xunit.extensibility.execution" version="2.1.0" targetFramework="net46" /> <package id="xunit.runner.visualstudio" version="2.1.0" targetFramework="net46" /> </packages> Code signals: NUnit, DLL, Foo, NUnit.Framework, FsUnit, Test, utf-8, FSharp.Core, net46, NUnitTestAdap...
="2.1.0" targetFramework="net46" /> <package id="xunit.extensibility.execution" version="2.1.0" targetFramework="net46" /> <package id="xunit.runner.visualstudio" version="2.1.0" targetFramework="net46" /> </packages> Code signals: NUnit, DLL, Foo, NUnit.Framework, FsUnit, Test, utf-8, FSharp.Core, net46, NUnitTestAdap...
[ 0.0022125244140625, 0.015625, 0.00640869140625, -0.0186767578125, 0.00189208984375, 0.01007080078125, -0.0086669921875, -0.00927734375, -0.01190185546875, 0.034912109375, -0.00958251953125, -0.011962890625, 0.00537109375, 0.01251220703125, -0.0030670166015625, 0.005889892578125, 0.01...
[ 22422, 5442, 102107, 58, 30388, 108386, 282, 18244, 1179, 9271, 57433, 29102, 4588, 3447, 65608, 217, 5, 3355, 41745, 83259, 46480, 1010, 1363, 11389, 142117, 1824, 20605, 52629, 52467, 28864, 26073, 7, 12, 18057, 6773, 391, 23708, 9572, 31...
[ 0.0157470703125, 0.10040283203125, 0.128173828125, 0.0160369873046875, 0.158203125, 0.07940673828125, 0.038818359375, 0.1302490234375, 0.0885009765625, 0.2298583984375, 0.010162353515625, 0.178955078125, 0.046478271484375, 0.0693359375, 0.1781005859375, 0.2064208984375, 0.01037597656...
embed
6943978_c0
6943978
fsharp
0
Title: How to invoke a Javascript function from F# Problem title: How to invoke a Javascript function from F# Tags: f%23, f%23-scripting Problem: How to invoke a Javascript function from F# I am very new to F# and i do more work with Javascript. I just want to know whether it is possible to call a javascript function f...
How to invoke a Javascript function from F# How to invoke a Javascript function from F# f%23 f%23-scripting F# How Javascript How to invoke a Javascript function from F# I am very new to F# and i do more work with Javascript. I just want to know whether it is possible to call a javascript function from F#. Of course th...
[ -0.005279541015625, 0.01544189453125, -0.00640869140625, -0.000568389892578125, 0.007568359375, 0.002532958984375, 0.009765625, 0.0123291015625, -0.01214599609375, -0.035400390625, 0.0025177001953125, 0.00506591796875, -0.0177001953125, 0.021240234375, 0.0164794921875, -0.0066833496093...
[ 11249, 47, 23, 23253, 13, 10, 74181, 32354, 1295, 563, 4904, 1238, 3742, 27495, 32032, 4552, 3525, 1286, 4488, 678, 3444, 3714, 36766, 7722, 11782, 136951, 6619, 68185, 15440, 71834, 113292, 77298 ]
[ 0.1104736328125, 0.1082763671875, 0.10400390625, 0.192626953125, 0.09295654296875, 0.0667724609375, 0.2666015625, 0.2000732421875, 0.1597900390625, 0.15185546875, 0.2191162109375, 0.0285797119140625, 0.05926513671875, 0.044403076171875, 0.0670166015625, 0.027862548828125, 0.042297363...
embed
44317880_c0
44317880
fsharp
0
Title: When to use parentheses when calling a function in f#? Problem title: When to use parentheses when calling a function in f#? Tags: f%23 Problem: When to use parentheses when calling a function in f#? I'm learning about f# and I understand you don't need to use parentheses when calling a function. Ex let addOne a...
When to use parentheses when calling a function in f#? When to use parentheses when calling a function in f#? f%23 When arg1 this.GetType When to use parentheses when calling a function in f#? I'm learning about f# and I understand you don't need to use parentheses when calling a function. Ex vs Why do I have to use pa...
[ -0.001953125, 0.00384521484375, -0.00677490234375, 0.0235595703125, -0.0078125, -0.00177001953125, -0.000392913818359375, 0.0062255859375, 0.009765625, -0.030517578125, 0.02490234375, -0.0439453125, -0.0159912109375, 0.007568359375, 0.01123046875, -0.013671875, 0.0169677734375, -0....
[ 14847, 47, 4527, 49129, 35412, 90, 3229, 159029, 32354, 23, 1238, 4904, 3949, 3742, 79459, 418, 903, 724, 126, 196707, 18, 3871, 5443, 20209, 44084, 765, 17932 ]
[ 0.1243896484375, 0.0213165283203125, 0.10009765625, 0.190673828125, 0.217041015625, 0.1455078125, 0.0277862548828125, 0.1636962890625, 0.205322265625, 0.054443359375, 0.1180419921875, 0.196533203125, 0.004425048828125, 0.119873046875, 0.0970458984375, 0.03436279296875, 0.107543945312...
embed
1039354_c0
1039354
fsharp
0
Title: Where is untyped_to_typed method? Problem title: Where is untyped_to_typed method? Tags: f%23 Problem: Where is untyped_to_typed method? I'm learning to use F# to build WPF applications. I using this as reference. I'm stuck with this one example where the author is trying to IEnumerable.untyped_to_typed Its givi...
Where is untyped_to_typed method? Where is untyped_to_typed method? f%23 Where untyped_to_typed IEnumerable.untyped_to_typed Where is untyped_to_typed method? I'm learning to use F# to build WPF applications. I using this as reference. I'm stuck with this one example where the author is trying to Its giving me a compil...
[ -0.010498046875, 0.0135498046875, 0.00897216796875, -0.00201416015625, -0.01495361328125, -0.000507354736328125, -0.01806640625, 0.00112152099609375, -0.010498046875, -0.032958984375, -0.003509521484375, -0.029296875, 0.02294921875, 0.00689697265625, 0.01483154296875, -0.0137939453125,...
[ 78662, 83, 51, 50986, 71, 188, 55300, 1238, 3742, 75536, 2606, 56, 2886, 309, 52080, 563, 4904, 45367, 601, 41265, 86685, 91067, 179933, 1632, 27781, 42179, 31577, 1650, 163, 9969, 1340, 18499, 120514, 4806, 132283 ]
[ 0.1285400390625, 0.059295654296875, 0.128662109375, 0.211181640625, 0.140380859375, 0.1595458984375, 0.20849609375, 0.036590576171875, 0.081298828125, 0.046966552734375, 0.1007080078125, 0.0753173828125, 0.1051025390625, 0.09051513671875, 0.0193328857421875, 0.059295654296875, 0.1102...
embed
48234816_c0
48234816
fsharp
0
Title: Using Array.Sub with pipeline operator Problem title: Using Array.Sub with pipeline operator Tags: f%23 Problem: Using Array.Sub with pipeline operator Below is a working samle of Array.sub in F# let a1 = [| 0 .. 99 |] let a2 = Array.sub a1 5 10 printfn "%A" a2 I tried using the pipeline operator |> by neither t...
Using Array.Sub with pipeline operator Using Array.Sub with pipeline operator f%23 Using Array.Sub Using Array.Sub with pipeline operator Below is a working samle of Array.sub in F# I tried using the pipeline operator |> by neither this code worked with me: Neither this: Is there a possible way?!
[ -0.00311279296875, -0.00188446044921875, 0.01397705078125, 0.0107421875, -0.021240234375, -0.02392578125, -0.0115966796875, 0.018798828125, 0.01129150390625, -0.02587890625, -0.01104736328125, 0.0272216796875, 0.02490234375, 0.01361083984375, 0.018310546875, -0.0274658203125, 0.01306...
[ 345, 69253, 53, 5, 96472, 678, 137158, 2256, 39933, 1238, 3949, 3742, 17336, 20697, 81950, 22144, 563, 4904, 37842, 17368, 2740, 2725, 9319, 903, 18151, 79786, 163, 30097, 7722, 3917, 4730 ]
[ 0.029937744140625, 0.1529541015625, 0.1390380859375, 0.0594482421875, 0.26513671875, 0.06463623046875, 0.146484375, 0.1307373046875, 0.220458984375, 0.0592041015625, 0.0224609375, 0.092041015625, 0.06414794921875, 0.08935546875, 0.1527099609375, 0.25048828125, 0.0726318359375, 0.13...
embed
3851296_c1
3851296
fsharp
1
6] let rec pairs2 l = let rec p h t = match t with | hx::tx -> (h, hx)::p h tx | _ -> [] match l with | h::t -> p h t @ pairs2 t | _ -> [] test |> pairs2 |> Seq.toList |> printfn "%A" Also working, but like the first one it seems unnecessarily involved and complicated, given the rather easy problem. I guess my question...
6] let rec pairs2 l = let rec p h t = match t with | hx::tx -> (h, hx)::p h tx | _ -> [] match l with | h::t -> p h t @ pairs2 t | _ -> [] test |> pairs2 |> Seq.toList |> printfn "%A" Also working, but like the first one it seems unnecessarily involved and complicated, given the rather easy problem. I guess my question...
[ -0.0218505859375, 0.0238037109375, 0.0023345947265625, -0.0033721923828125, 0.002960205078125, 0.0191650390625, -0.02197265625, -0.0027008056640625, -0.006134033203125, -0.048095703125, 0.01092529296875, 0.025390625, 0.01226806640625, 0.001983642578125, -0.00164031982421875, 0.01074218...
[ 305, 268, 2633, 21954, 80836, 7, 304, 96, 2203, 915, 1096, 808, 14858, 678, 425, 18, 127, 254, 3034, 503, 864, 188, 154663, 28412, 14783, 3949, 284, 22376, 20697, 37202, 75412, 96704, 70, 43257, 23468, 2967, 2993, 20623, 6183, 6626, 798...
[ 0.1031494140625, 0.0260162353515625, 0.1617431640625, 0.2078857421875, 0.2489013671875, 0.08953857421875, 0.199951171875, 0.1171875, 0.036590576171875, 0.059417724609375, 0.1402587890625, 0.1397705078125, 0.2052001953125, 0.1243896484375, 0.126953125, 0.108154296875, 0.1112060546875,...
embed
3762911_c0
3762911
fsharp
0
Title: are F# ranges evaluated at compile time or run time Problem title: are F# ranges evaluated at compile time or run time Tags: range, f%23 Problem: are F# ranges evaluated at compile time or run time the (..) and (.. ..) operators in F# are unrolled at some point, is that a compile time operation or a run time ope...
are F# ranges evaluated at compile time or run time are F# ranges evaluated at compile time or run time range f%23 are F# ranges evaluated at compile time or run time the (..) and (.. ..) operators in F# are unrolled at some point, is that a compile time operation or a run time operation? in either case, what are the p...
[ 0.0017547607421875, -0.00274658203125, 0.02978515625, -0.0023040771484375, -0.00518798828125, 0.01007080078125, -0.0096435546875, -0.01116943359375, -0.01275634765625, 0.01104736328125, -0.0006866455078125, 0.022216796875, 0.0267333984375, -0.01336669921875, 0.0068359375, -0.0042724609...
[ 621, 563, 4904, 37457, 151575, 297, 99, 9969, 1340, 1733, 707, 11675, 1238, 3949, 3742, 7, 5, 136, 1468, 16, 39933, 51, 27722, 3060, 6275, 41018, 23718, 7722, 45367, 114122, 32354, 4271, 56 ]
[ 0.0205535888671875, 0.170166015625, 0.2724609375, 0.2247314453125, 0.1773681640625, 0.0535888671875, 0.03973388671875, 0.14013671875, 0.1484375, 0.1341552734375, 0.0401611328125, 0.13671875, 0.1229248046875, 0.10028076171875, 0.18359375, 0.031890869140625, 0.029510498046875, 0.0564...
embed
50896567_c1
50896567
fsharp
1
::t -> match matchLine h with | Some(m) -> loop (m::a) t | None -> loop a t loop a l let rec loop a l = match findItem BeginRecord1 l with | [] -> List. rev a | l2 -> let (l3,a) = findItemsUntil EndRecord1 a l2 loop a l3 llines |> loop [""] |> List.fold (fun a x -> a + "\n" + x) "" } Code signals: FSharp, BEGINTYPE1, V...
::t -> match matchLine h with | Some(m) -> loop (m::a) t | None -> loop a t loop a l let rec loop a l = match findItem BeginRecord1 l with | [] -> List. rev a | l2 -> let (l3,a) = findItemsUntil EndRecord1 a l2 loop a l3 llines |> loop [""] |> List.fold (fun a x -> a + "\n" + x) "" } Code signals: FSharp, BEGINTYPE1, V...
[ -0.00762939453125, 0.0059814453125, 0.009033203125, 0.0274658203125, -0.0037689208984375, -0.003021240234375, -0.0233154296875, 0.0252685546875, 0.01953125, -0.0164794921875, 0.0010986328125, 0.0274658203125, 0.01055908203125, -0.00095367431640625, 0.01385498046875, -0.0179443359375, ...
[ 1984, 18, 33079, 14858, 93232, 1096, 678, 58745, 31384, 39, 40956, 11, 808, 438, 86, 10, 96, 2633, 21954, 2203, 7413, 2982, 121427, 32271, 32036, 37868, 304, 363, 3675, 18878, 4332, 59801, 42822, 16498, 1022, 997, 19, 51912, 28864, 26073,...
[ 0.113525390625, 0.10205078125, 0.0860595703125, 0.209228515625, 0.1832275390625, 0.13330078125, 0.1097412109375, 0.0152740478515625, 0.1396484375, 0.0985107421875, 0.19970703125, 0.080322265625, 0.105712890625, 0.059661865234375, 0.06109619140625, 0.0914306640625, 0.05950927734375, ...
embed
5184592_c0
5184592
fsharp
0
Title: Which language would be more suitable than the other for manipulating huge graphs, F# or C#? Problem title: Which language would be more suitable than the other for manipulating huge graphs, F# or C#? Tags: c%23, f%23 Problem: Which language would be more suitable than the other for manipulating huge graphs, F# ...
Which language would be more suitable than the other for manipulating huge graphs, F# or C#? Which language would be more suitable than the other for manipulating huge graphs, F# or C#? c%23 f%23 Which Which language would be more suitable than the other for manipulating huge graphs, F# or C#? Are their advantages to e...
[ -0.0133056640625, 0.0123291015625, 0.00087738037109375, 0.00537109375, -0.0213623046875, -0.0228271484375, -0.0198974609375, 0.00408935546875, 0.0115966796875, -0.00518798828125, -0.00176239013671875, -0.0244140625, -0.0015106201171875, 0.00360107421875, 0.0023956298828125, 0.011779785...
[ 130078, 46876, 2806, 1286, 202319, 3501, 70, 3789, 100, 45258, 1916, 58696, 41382, 7, 563, 4904, 707, 313, 186, 501, 3949, 3742, 1238, 92940 ]
[ 0.05438232421875, 0.2431640625, 0.0899658203125, 0.1182861328125, 0.1884765625, 0.07049560546875, 0.001251220703125, 0.066650390625, 0.0692138671875, 0.1837158203125, 0.0819091796875, 0.1138916015625, 0.1939697265625, 0.032470703125, 0.1806640625, 0.2392578125, 0.05316162109375, 0....
embed
61036539_c0
61036539
fsharp
0
Title: Bit shift in F# Problem title: Bit shift in F# Tags: bit-shift, f%23 Problem: Bit shift in F# I am new to F# and I do not understand how a bit shift works in F#. I tried the command below in fsi. > 4 - |>((<<<) 1uy);; The screen shot is as below. Why is this result 16uy but not 8uy? Even confused me more when I ...
Bit shift in F# Bit shift in F# bit-shift f%23 Bit Bit shift in F# I am new to F# and I do not understand how a bit shift works in F#. I tried the command below in fsi. The screen shot is as below. Why is this result 16uy but not 8uy? Even confused me more when I tried the command below because the result is 48uy... Wo...
[ -0.004119873046875, 0.00299072265625, 0.0216064453125, 0.007415771484375, -0.01434326171875, -0.013916015625, -0.0284423828125, -0.0009918212890625, 0.009033203125, 0.040283203125, -0.004608154296875, 0.01611328125, -0.004302978515625, 0.01953125, 0.0027923583984375, -0.01104736328125,...
[ 27774, 122925, 23, 563, 4904, 4785, 3767, 2480, 1238, 3949, 3742, 3525, 47, 54, 959, 28219, 3642, 43240, 37842, 75101, 35064, 172, 49119, 51876, 237, 44084, 83, 16750, 611, 34, 53, 1284, 382, 31267, 55681, 1286, 4572, 176256, 98363 ]
[ 0.2015380859375, 0.267822265625, 0.03997802734375, 0.1455078125, 0.213134765625, 0.2047119140625, 0.142333984375, 0.1307373046875, 0.1107177734375, 0.1162109375, 0.2037353515625, 0.035186767578125, 0.01092529296875, 0.009857177734375, 0.0875244140625, 0.073486328125, 0.05429077148437...
embed
5767620_c0
5767620
fsharp
0
Title: How to attach ids to a sequence in F#? Problem title: How to attach ids to a sequence in F#? Tags: sequence, counter, f%23 Problem: How to attach ids to a sequence in F#? I have a seq<'A> . I want to map this to a seq<(int, 'A)> , where the integer is an auto-generated sequence of values starting at 0. I know I ...
How to attach ids to a sequence in F#? How to attach ids to a sequence in F#? sequence counter f%23 How Seq.map How to attach ids to a sequence in F#? I have a seq<'A> . I want to map this to a seq<(int, 'A)> , where the integer is an auto-generated sequence of values starting at 0. I know I can do this with a mutable ...
[ -0.0028533935546875, -0.005279541015625, 0.00136566162109375, 0.01171875, -0.004730224609375, 0.00003647804260253906, 0.01092529296875, 0.0289306640625, 0.01123046875, -0.05126953125, -0.006103515625, 0.0244140625, 0.0004253387451171875, 0.04736328125, 0.0216064453125, -0.0108642578125...
[ 11249, 47, 243, 934, 3447, 7, 40, 944, 3956, 23, 563, 4904, 105416, 1238, 3949, 3742, 503, 864, 5, 62346, 10, 765, 284, 2740, 3444, 22288, 4288, 892, 1505, 1809, 48281, 142424, 72134, 99, 757, 831, 54, 842, 22819, 40956, 1286, 27650, ...
[ 0.0943603515625, 0.14794921875, 0.1796875, 0.2142333984375, 0.2381591796875, 0.15380859375, 0.1116943359375, 0.171630859375, 0.161376953125, 0.072265625, 0.15283203125, 0.22412109375, 0.1927490234375, 0.081298828125, 0.050262451171875, 0.157958984375, 0.126708984375, 0.211669921875...
embed
4923666_c0
4923666
fsharp
0
Title: How do I create a class instance and fill properties in F#? Problem title: How do I create a class instance and fill properties in F#? Tags: c%23-to-f%23, f%23, syntax Problem: How do I create a class instance and fill properties in F#? In C#, I can: var n = new Person() { FirstName = "John", LastName = "Smith" ...
How do I create a class instance and fill properties in F#? How do I create a class instance and fill properties in F#? c%23-to-f%23 f%23 syntax How Person FirstName John LastName Smith How do I create a class instance and fill properties in F#? In C#, I can: Can I do the same in F#? I mean, to create a class and speci...
[ 0.002716064453125, 0.00714111328125, 0.00848388671875, -0.01470947265625, -0.003814697265625, 0.00122833251953125, -0.0091552734375, 0.00103759765625, 0.00738525390625, 0.01361083984375, -0.00823974609375, 0.01708984375, 0.0111083984375, 0.004364013671875, -0.003631591796875, -0.002655...
[ 11249, 54, 87, 28282, 18507, 110527, 136, 26292, 183871, 23, 563, 4904, 10, 167218, 27495, 188, 420, 3742, 1238, 6002, 86531, 15270, 23972, 163612, 4939, 21672, 37700, 360, 313, 4, 831, 4171, 5701, 47, 40140, 18929, 3060 ]
[ 0.0677490234375, 0.04803466796875, 0.071533203125, 0.1871337890625, 0.26806640625, 0.28955078125, 0.16064453125, 0.22412109375, 0.2734375, 0.09375, 0.1815185546875, 0.259765625, 0.086669921875, 0.009552001953125, 0.1121826171875, 0.1553955078125, 0.10272216796875, 0.094482421875, ...
embed
52354173_c2
52354173
fsharp
2
I make P_x a parameter, to be passed in from F#? Code signals: Net, DLL, How, __declspec, DisplayHelloFromDLL, Hello, You, Load, c_float, P_x, c_int, P_nnz, P_i, P_p, A_x, A_nnz, A_i, A_p, Problem, OSQPSettings, c_malloc, Structures, OSQPWorkspace, Workspace, OSQPData, Populate, csc_matrix, Define, Solver, osqp_set_de...
I make P_x a parameter, to be passed in from F#? Code signals: Net, DLL, How, __declspec, DisplayHelloFromDLL, Hello, You, Load, c_float, P_x, c_int, P_nnz, P_i, P_p, A_x, A_nnz, A_i, A_p, Problem, OSQPSettings, c_malloc, Structures, OSQPWorkspace, Workspace, OSQPData, Populate, csc_matrix, Define, Solver, osqp_set_de...
[ 0.004364013671875, 0.0189208984375, 0.0146484375, 0.008544921875, -0.00531005859375, 0.0267333984375, 0.027099609375, -0.0294189453125, -0.01251220703125, -0.005859375, 0.00726318359375, -0.0361328125, 0.004364013671875, -0.007659912109375, 0.016357421875, -0.011474609375, 0.01049804...
[ 87, 3249, 436, 454, 425, 10, 171859, 115081, 23, 1295, 563, 4904, 28864, 26073, 7, 10086, 391, 23708, 11249, 112, 34937, 16711, 90045, 13817, 168407, 397, 35378, 2583, 2091, 712, 52347, 257, 501, 4288, 33957, 14, 254, 62, 4, 15649, 1178...
[ 0.023223876953125, 0.0809326171875, 0.1346435546875, 0.145751953125, 0.2027587890625, 0.00994873046875, 0.288818359375, 0.1605224609375, 0.123046875, 0.061004638671875, 0.1083984375, 0.18359375, 0.2493896484375, 0.275634765625, 0.07049560546875, 0.1798095703125, 0.027801513671875, ...
embed
64332300_c0
64332300
fsharp
0
Title: F# I cannot make a countdown from 10 to 0 Problem title: F# I cannot make a countdown from 10 to 0 Tags: f%23, timer Problem: F# I cannot make a countdown from 10 to 0 I'm quite new to F# and wanted to attempt to make a simple countdown; however, in the code below, it tells me there is something wrong with the "...
F# I cannot make a countdown from 10 to 0 F# I cannot make a countdown from 10 to 0 f%23 timer 10 t..0 t-1 F# I cannot make a countdown from 10 to 0 I'm quite new to F# and wanted to attempt to make a simple countdown; however, in the code below, it tells me there is something wrong with the "t..0". I want it to countd...
[ 0.009521484375, -0.0031280517578125, 0.00714111328125, 0.00189971923828125, 0.022216796875, -0.01531982421875, -0.00177764892578125, -0.007537841796875, -0.00958251953125, -0.00994873046875, 0.01129150390625, 0.00133514404296875, 0.0250244140625, 0.026123046875, 0.00579833984375, -0.02...
[ 563, 4904, 87, 53418, 3249, 54529, 34695, 1295, 209, 47, 757, 1238, 3742, 21991, 808, 5, 2389, 5759, 10, 32233, 3525, 36663, 81887, 8781, 18151, 35064, 83, 44691, 18, 3444, 33949 ]
[ 0.1263427734375, 0.2252197265625, 0.04840087890625, 0.1571044921875, 0.053558349609375, 0.1822509765625, 0.187255859375, 0.10223388671875, 0.189697265625, 0.1142578125, 0.1839599609375, 0.0999755859375, 0.1439208984375, 0.24560546875, 0.1005859375, 0.066650390625, 0.1678466796875, ...
embed
22365502_c0
22365502
fsharp
0
Title: Any Advantage of SqlEntityConnection over SqlDataConnection? Problem title: Any Advantage of SqlEntityConnection over SqlDataConnection? Tags: type-providers, f%23 Problem: Any Advantage of SqlEntityConnection over SqlDataConnection? Starting with an existing SQL Server database and no EF model, is there any rea...
Any Advantage of SqlEntityConnection over SqlDataConnection? Any Advantage of SqlEntityConnection over SqlDataConnection? type-providers f%23 Any Advantage SqlEntityConnection SqlDataConnection Any Advantage of SqlEntityConnection over SqlDataConnection? Starting with an existing SQL Server database and no EF model, is...
[ 0.01904296875, 0.017822265625, 0.002288818359375, 0.0159912109375, -0.0238037109375, 0.004364013671875, -0.018798828125, -0.0010528564453125, 0.01397705078125, -0.011474609375, 0.0036468505859375, -0.0294189453125, 0.0252685546875, 0.0091552734375, -0.0023651123046875, -0.0005226135253...
[ 28541, 3145, 2187, 16852, 159, 99247, 7768, 18, 2481, 235603, 1830, 645, 137989, 10644, 93136, 14202, 3949, 3742, 13794, 678, 144573, 80866, 22687, 63399, 110, 51779, 3299, 2499, 31635, 10862, 81450 ]
[ 0.072509765625, 0.0640869140625, 0.171142578125, 0.12744140625, 0.07415771484375, 0.20068359375, 0.0933837890625, 0.1046142578125, 0.160888671875, 0.212890625, 0.080078125, 0.0849609375, 0.18359375, 0.1627197265625, 0.154052734375, 0.01263427734375, 0.00274658203125, 0.035949707031...
embed
10327692_c0
10327692
fsharp
0
Title: How to implement variable arguments in F# Problem title: How to implement variable arguments in F# Tags: f%23 Problem: How to implement variable arguments in F# I want to implement a F# function which may accept 1 or 2 arguments. I would like to use the function like this: let foo = ... foo "a" foo "a" "b" Both ...
How to implement variable arguments in F# How to implement variable arguments in F# f%23 How How to implement variable arguments in F# I want to implement a F# function which may accept 1 or 2 arguments. I would like to use the function like this: Both the arguments can be the same type. I read the pages about match pa...
[ 0.003753662109375, -0.007080078125, -0.00958251953125, 0.002899169921875, 0.00007724761962890625, 0.01287841796875, -0.0179443359375, 0.00738525390625, -0.000946044921875, -0.00921630859375, 0.033935546875, -0.01806640625, -0.01373291015625, 0.00958251953125, 0.016845703125, 0.00415039...
[ 11249, 47, 29479, 77336, 10750, 7, 23, 563, 4904, 1238, 3949, 3742, 3444, 32354, 1543, 26946, 106, 707, 116, 2806, 1884, 4527, 903, 149766, 831, 186, 5701, 10644, 14858, 103510, 36457, 53418, 1632, 43240 ]
[ 0.080078125, 0.079345703125, 0.2471923828125, 0.28662109375, 0.27001953125, 0.1197509765625, 0.08740234375, 0.18017578125, 0.2322998046875, 0.1014404296875, 0.04669189453125, 0.1368408203125, 0.0504150390625, 0.164306640625, 0.0826416015625, 0.1322021484375, 0.049072265625, 0.02133...
embed
29032711_c0
29032711
fsharp
0
Title: F#: How to calculate Hamming distance? Problem title: F#: How to calculate Hamming distance? Tags: algorithm, f%23 Problem: F#: How to calculate Hamming distance? I am new to F#. This is my first functional programming language. I would like to write an algorithm to calculate the Hamming distance between two str...
F#: How to calculate Hamming distance? F#: How to calculate Hamming distance? algorithm f%23 How Hamming F#: How to calculate Hamming distance? I am new to F#. This is my first functional programming language. I would like to write an algorithm to calculate the Hamming distance between two strings of equal length. How ...
[ 0.0172119140625, 0.0118408203125, -0.0074462890625, 0.0186767578125, 0.00159454345703125, 0.0169677734375, 0.0103759765625, -0.01708984375, 0.0018157958984375, -0.0096435546875, 0.00225830078125, -0.021728515625, 0.00116729736328125, 0.033203125, -0.003753662109375, -0.0146484375, 0....
[ 563, 4904, 12, 11249, 47, 74481, 67, 1391, 58838, 62488, 32, 234873, 1238, 3949, 3742, 3525, 5117, 123309, 56037, 449, 46876, 2806, 1884, 33022, 70, 17721, 6626, 79315, 105950, 140909, 54, 23, 27781, 58055, 74189, 40899, 6782, 77947 ]
[ 0.1739501953125, 0.2200927734375, 0.041015625, 0.1041259765625, 0.0384521484375, 0.205078125, 0.0850830078125, 0.2159423828125, 0.261474609375, 0.2474365234375, 0.0227203369140625, 0.198974609375, 0.087890625, 0.0236968994140625, 0.11474609375, 0.06024169921875, 0.03961181640625, 0...
embed
58252826_c1
58252826
fsharp
1
//prints 243 But I am really struggling to implement subtraction: let SUB = fun m n -> n(DEC m) toInt (SUB FIVE THREE) |> printfn "%A" //gives 64 Above method looks like some kind of exponential instead of subtraction. I also tried (as wiki suggests): let SUB = fun m n -> n(DEC)m but it results in type mismatch when i...
//prints 243 But I am really struggling to implement subtraction: let SUB = fun m n -> n(DEC m) toInt (SUB FIVE THREE) |> printfn "%A" //gives 64 Above method looks like some kind of exponential instead of subtraction. I also tried (as wiki suggests): let SUB = fun m n -> n(DEC)m but it results in type mismatch when i...
[ 0.00115966796875, -0.004669189453125, 0.013671875, 0.02783203125, -0.007110595703125, -0.0047607421875, -0.00537109375, 0.005828857421875, 0.018798828125, 0.0091552734375, -0.0157470703125, -0.0032806396484375, 0.005218505859375, 0.00726318359375, 0.003936767578125, -0.0010757446289062...
[ 4666, 35662, 7, 142861, 4966, 6183, 237875, 29479, 1614, 117474, 2633, 111231, 7477, 347, 653, 33079, 8399, 441, 47, 4153, 18, 32338, 563, 96479, 148776, 28412, 14783, 3949, 284, 96259, 7911, 92437, 272, 55300, 33342, 1884, 8562, 78643, 809...
[ 0.0163726806640625, 0.1837158203125, 0.0068359375, 0.255859375, 0.0010986328125, 0.08251953125, 0.1629638671875, 0.18212890625, 0.1864013671875, 0.197265625, 0.125244140625, 0.287841796875, 0.1376953125, 0.1190185546875, 0.1046142578125, 0.06353759765625, 0.1597900390625, 0.1608886...
embed
4828369_c1
4828369
fsharp
1
' ' ) ca //|> fun s -> TODO: Remove duplicates here |> fun s -> Array.set s 0 (ca.[0]) Array.choose(fun e -> if e <> '0' then Some(e) else None) s ) |> fun s -> ( match s.Length with | x when x < 3 -> s.PadRight(4, '0') | _ -> s.Substring(0, 4) ).ToUpper() Code signals: an, Remove, Assign, e.g, Replace, Truncate, Simp...
' ' ) ca //|> fun s -> TODO: Remove duplicates here |> fun s -> Array.set s 0 (ca.[0]) Array.choose(fun e -> if e <> '0' then Some(e) else None) s ) |> fun s -> ( match s.Length with | x when x < 3 -> s.PadRight(4, '0') | _ -> s.Substring(0, 4) ).ToUpper() Code signals: an, Remove, Assign, e.g, Replace, Truncate, Simp...
[ -0.015380859375, 0.010986328125, 0.00665283203125, 0.015869140625, -0.00390625, -0.0152587890625, -0.00823974609375, 0.0201416015625, 0.0201416015625, 0.02734375, -0.01556396484375, 0.006591796875, -0.002227783203125, -0.0026397705078125, -0.007049560546875, -0.01171875, -0.001617431...
[ 242, 1388, 377, 2740, 7477, 91, 33079, 9926, 13223, 12, 181139, 171763, 1636, 3688, 69253, 53, 3509, 757, 408, 2389, 3089, 8364, 16498, 28, 2174, 25, 7068, 31384, 13, 37076, 438, 86, 16, 14858, 449, 1022, 3229, 4426, 138, 113954, 1052, ...
[ 0.18505859375, 0.099609375, 0.1170654296875, 0.05364990234375, 0.19140625, 0.147216796875, 0.042205810546875, 0.136962890625, 0.179931640625, 0.051605224609375, 0.218994140625, 0.265625, 0.14990234375, 0.1221923828125, 0.1529541015625, 0.1270751953125, 0.1734619140625, 0.1625976562...
embed
38862562_c0
38862562
fsharp
0
Title: Are there F# Monogame templates? Problem title: Are there F# Monogame templates? Tags: xamarin, monogame, f%23 Problem: Are there F# Monogame templates? I want to experiment with Monogame in F# using Xamarin on OSX. I am able to create a working C# Monogame project and a working F# Cocoa app, but not a working F...
Are there F# Monogame templates? Are there F# Monogame templates? xamarin monogame f%23 Monogame Are there F# Monogame templates? I want to experiment with Monogame in F# using Xamarin on OSX. I am able to create a working C# Monogame project and a working F# Cocoa app, but not a working F# Monogame project. What is th...
[ -0.0107421875, 0.00537109375, 0.00726318359375, 0.000885009765625, -0.0020904541015625, 0.007171630859375, 0.012939453125, -0.0196533203125, -0.00189208984375, 0.004608154296875, -0.00994873046875, -0.01806640625, 0.00823974609375, 0.01483154296875, 0.01019287109375, 0.012451171875, ...
[ 15901, 2685, 563, 4904, 77879, 35311, 110934, 7, 2459, 44503, 22460, 1238, 3742, 3444, 28007, 23, 17368, 8606, 11787, 1542, 19048, 28282, 20697, 13452, 10, 80573, 11, 4027, 959, 34759, 92558, 169581, 19882 ]
[ 0.0386962890625, 0.0791015625, 0.1510009765625, 0.2154541015625, 0.2025146484375, 0.2196044921875, 0.266357421875, 0.1075439453125, 0.113037109375, 0.2274169921875, 0.154052734375, 0.10296630859375, 0.1029052734375, 0.0273895263671875, 0.114501953125, 0.01727294921875, 0.044830322265...
embed
15180445_c0
15180445
fsharp
0
Title: Any ideas how to integrate F# code with native C++? Problem title: Any ideas how to integrate F# code with native C++? Tags: managed, .net, c%2B%2B, f%23 Problem: Any ideas how to integrate F# code with native C++? I want to use some F# code in native C++. More precisely, I want to write some data structures in ...
Any ideas how to integrate F# code with native C++? Any ideas how to integrate F# code with native C++? managed .net c%2B%2B f%23 Any Any ideas how to integrate F# code with native C++? I want to use some F# code in native C++. More precisely, I want to write some data structures in F# and then use them in my C++ code....
[ 0.00933837890625, 0.0174560546875, 0.0101318359375, -0.000133514404296875, -0.00531005859375, 0.0196533203125, -0.001678466796875, 0.0027313232421875, -0.00299072265625, -0.029541015625, -0.00750732421875, -0.00537109375, 0.005523681640625, 0.0106201171875, 0.0115966796875, 0.010070800...
[ 28541, 25647, 3642, 78779, 13, 563, 4904, 18151, 678, 24, 4935, 313, 37223, 47, 145755, 1179, 501, 1238, 3742, 3444, 4527, 3060, 23, 33022, 2053, 45646, 6528, 17664, 51, 4707, 17704, 28282, 18743, 135355 ]
[ 0.023956298828125, 0.112548828125, 0.0673828125, 0.2061767578125, 0.093994140625, 0.1630859375, 0.247314453125, 0.182373046875, 0.136474609375, 0.1214599609375, 0.14501953125, 0.0579833984375, 0.264404296875, 0.01885986328125, 0.1717529296875, 0.11572265625, 0.00909423828125, 0.064...
embed
16264942_c0
16264942
fsharp
0
Title: Passing array into Function Problem title: Passing array into Function Tags: .net, f%23 Problem: Passing array into Function I'm trying to write a simple F# function that I can pass an array into and then print the values, but I'm having trouble. Here is what I have so far: let a = [| a; b; c; d |];; let f array...
Passing array into Function Passing array into Function .net f%23 Passing array.Length Console.WriteLine Passing array into Function I'm trying to write a simple F# function that I can pass an array into and then print the values, but I'm having trouble. Here is what I have so far:
[ 0.0107421875, -0.006500244140625, -0.0034027099609375, 0.0135498046875, -0.01312255859375, -0.01251220703125, -0.0012969970703125, -0.01470947265625, -0.0059814453125, 0.0213623046875, -0.0013427734375, 0.002593994140625, -0.0220947265625, 0.017578125, 0.00750732421875, -0.01708984375,...
[ 28872, 214, 10298, 53, 3934, 28670, 10763, 1179, 1238, 3949, 3742, 449, 40777, 18781, 93232, 31577, 33022, 8781, 563, 4904, 32354, 27875, 136, 28412, 142424, 63134, 2060 ]
[ 0.16357421875, 0.0208892822265625, 0.1990966796875, 0.1444091796875, 0.205810546875, 0.1942138671875, 0.100830078125, 0.1368408203125, 0.07391357421875, 0.0227508544921875, 0.1365966796875, 0.02740478515625, 0.1151123046875, 0.03125, 0.137451171875, 0.04827880859375, 0.08636474609375...
embed
34841342_c0
34841342
fsharp
0
Title: Replace element in discriminated union Problem title: Replace element in discriminated union Tags: f%23 Problem: Replace element in discriminated union Is it possible to do a 'search and replace' on a discriminated union, for example replacing Foo with Bar with an instance of e.g. type Expression | Foo of Expres...
Replace element in discriminated union Replace element in discriminated union f%23 Replace Foo Bar Expression Replace element in discriminated union Is it possible to do a 'search and replace' on a discriminated union, for example replacing Foo with Bar with an instance of e.g. ? The highly nested definition of express...
[ -0.01904296875, 0.00897216796875, 0.0006866455078125, 0.018798828125, -0.0040283203125, 0.005767822265625, -0.0181884765625, 0.0042724609375, 0.0277099609375, 0.0146484375, 0.01318359375, -0.00180816650390625, 0.0128173828125, 0.002471923828125, 0.007049560546875, -0.00098419189453125,...
[ 853, 23935, 12830, 23, 55970, 3674, 69941, 1238, 3949, 3742, 9572, 31, 3253, 25129, 2071, 442, 7722, 47, 54, 10, 86250, 136, 91995, 98, 27781, 456, 133266, 678, 142, 110527, 111, 705, 103210, 8512, 71, 80934, 125195, 7, 831, 186, 2499, ...
[ 0.112060546875, 0.194091796875, 0.201904296875, 0.04962158203125, 0.2340087890625, 0.109130859375, 0.2347412109375, 0.05902099609375, 0.0236968994140625, 0.10498046875, 0.181884765625, 0.17578125, 0.2081298828125, 0.1556396484375, 0.037506103515625, 0.0677490234375, 0.15771484375, ...
embed
6012074_c0
6012074
fsharp
0
Title: why can I put |&gt; on the next line but &lt;| gives a syntax error? Problem title: why can I put |&gt; on the next line but &lt;| gives a syntax error? Tags: syntax-error, f%23 Problem: why can I put |> on the next line but <| gives a syntax error? I can do this: let foo = bar |> baz but I get a syntax error wh...
why can I put |&gt; on the next line but &lt;| gives a syntax error? why can I put |&gt; on the next line but &lt;| gives a syntax error? syntax-error f%23 why can I put |> on the next line but <| gives a syntax error? I can do this: but I get a syntax error when I do this: why? I also get the syntax error when ever I ...
[ 0.0089111328125, 0.01434326171875, 0.0027618408203125, 0.0028839111328125, -0.02294921875, -0.005645751953125, -0.004547119140625, 0.0172119140625, -0.00067901611328125, -0.003662109375, -0.00238037109375, 0.017822265625, 0.00787353515625, -0.0206298828125, 0.021240234375, -0.016479492...
[ 15400, 831, 87, 3884, 58745, 1230, 5386, 74, 98, 11737, 13315, 1284, 1277, 76199, 6002, 86531, 18499, 70, 10, 188800, 1238, 3949, 3742, 2740, 4426, 2046, 54, 903, 61924, 10002, 23, 55923, 39933, 9790, 4527, 144996 ]
[ 0.1304931640625, 0.10260009765625, 0.0261993408203125, 0.099365234375, 0.1102294921875, 0.064453125, 0.21337890625, 0.05224609375, 0.111328125, 0.1607666015625, 0.1163330078125, 0.08892822265625, 0.116455078125, 0.0701904296875, 0.1328125, 0.2081298828125, 0.2049560546875, 0.007354...
embed
64100417_c0
64100417
fsharp
0
Title: How to upload file size &gt; 2GB using fsharp.data Problem title: How to upload file size &gt; 2GB using fsharp.data Tags: f%23-data, f%23 Problem: How to upload file size > 2GB using fsharp.data I followed this document for handling multipart form data I can upload ok with file size below 2GB. With the size is ...
How to upload file size &gt; 2GB using fsharp.data How to upload file size &gt; 2GB using fsharp.data f%23-data f%23 fsharp.data How How to upload file size > 2GB using fsharp.data I followed this document for handling multipart form data I can upload ok with file size below 2GB. With the size is greater than 2GB, the ...
[ 0.011962890625, 0.026611328125, 0.01080322265625, -0.01043701171875, -0.018798828125, 0.000728607177734375, 0.013916015625, 0.0220947265625, 0.00113677978515625, -0.002349853515625, 0.023681640625, -0.0133056640625, -0.007781982421875, -0.00726318359375, 0.027099609375, -0.010864257812...
[ 11249, 47, 70622, 11435, 13267, 5386, 116, 8359, 17368, 1238, 89280, 254, 5, 10135, 27495, 3742, 977, 134629, 12937, 45064, 6024, 17365, 3173, 2053, 831, 3664, 35064, 117396, 38415, 25379, 33720, 16981, 21334, 102158 ]
[ 0.075927734375, 0.06060791015625, 0.2203369140625, 0.14501953125, 0.162841796875, 0.138427734375, 0.1678466796875, 0.1868896484375, 0.0802001953125, 0.147705078125, 0.21875, 0.212890625, 0.052703857421875, 0.168212890625, 0.0938720703125, 0.04071044921875, 0.05682373046875, 0.05093...
embed
51310526_c0
51310526
fsharp
0
Title: How are interface auto-properties implemented in object expressions Problem title: How are interface auto-properties implemented in object expressions Tags: f%23 Problem: How are interface auto-properties implemented in object expressions In the following example, what goes in place of the ???: type IFace = abst...
How are interface auto-properties implemented in object expressions How are interface auto-properties implemented in object expressions f%23 How IFace MyProp this.MyProp How are interface auto-properties implemented in object expressions In the following example, what goes in place of the ???:
[ 0.0166015625, -0.0113525390625, 0.00634765625, 0.00848388671875, -0.005096435546875, 0.009521484375, 0.002197265625, 0.01904296875, 0.0166015625, 0.0262451171875, 0.007568359375, 0.0260009765625, -0.000385284423828125, 0.0017547607421875, 0.01190185546875, -0.006622314453125, -0.0099...
[ 11249, 621, 101758, 1809, 9, 36290, 56, 2449, 29479, 297, 23, 36746, 125195, 1238, 3949, 3742, 55449, 8509, 2646, 10752, 254, 903, 31852, 25632, 27781, 2367, 60899, 3687, 111, 70, 37336 ]
[ 0.076171875, 0.06060791015625, 0.26416015625, 0.252685546875, 0.0780029296875, 0.1624755859375, 0.1817626953125, 0.1209716796875, 0.17578125, 0.040069580078125, 0.049835205078125, 0.192138671875, 0.2264404296875, 0.085205078125, 0.010406494140625, 0.097900390625, 0.03515625, 0.1456...
embed
25172418_c0
25172418
fsharp
0
Title: Define a F# function in VB.NET Problem title: Define a F# function in VB.NET Tags: function, vb.net, syntax-error, f%23 Problem: Define a F# function in VB.NET I have defined a F# function in my VB code as follow: Dim g As Microsoft.FSharp.Core.FSharpFunc(Of Double, Double) How can I assign g to a particular fun...
Define a F# function in VB.NET Define a F# function in VB.NET function vb.net syntax-error f%23 Define VB.NET Dim Microsoft.FSharp.Core.FSharpFunc Double Define a F# function in VB.NET I have defined a F# function in my VB code as follow: How can I assign g to a particular function: for example I want g(x) = x^2 ? What...
[ 0.0036773681640625, 0.01239013671875, 0.00225830078125, -0.01708984375, 0.022216796875, 0.006622314453125, -0.0162353515625, 0.00089263916015625, 0.000804901123046875, 0.00009632110595703125, 0.00714111328125, -0.0035858154296875, -0.0162353515625, -0.0186767578125, 0.013427734375, 0.0...
[ 262, 64552, 10, 563, 4904, 32354, 23, 75034, 17777, 86482, 1179, 6002, 86531, 188800, 1238, 3949, 3742, 45247, 7244, 36381, 3467, 254, 50886, 97249, 107172, 5, 61924, 71, 6, 18151, 28960, 11249, 831, 95486, 706, 47, 17311, 27781, 87, 3444...
[ 0.09136962890625, 0.20361328125, 0.026123046875, 0.1727294921875, 0.27001953125, 0.241455078125, 0.057464599609375, 0.244140625, 0.21337890625, 0.17236328125, 0.140380859375, 0.1046142578125, 0.1839599609375, 0.163818359375, 0.09063720703125, 0.030609130859375, 0.1553955078125, 0.0...
embed
2977837_c0
2977837
fsharp
0
Title: Is an iteration on a F# map or set in-order traversal? Problem title: Is an iteration on a F# map or set in-order traversal? Tags: dictionary, f%23, iteration, set Problem: Is an iteration on a F# map or set in-order traversal? AFAIK, F# Map and set are implemented as red-black trees, so I guess that an iteratio...
Is an iteration on a F# map or set in-order traversal? Is an iteration on a F# map or set in-order traversal? dictionary f%23 iteration set Is an iteration on a F# map or set in-order traversal? AFAIK, F# Map and set are implemented as red-black trees, so I guess that an iteration on these would be in-order traversal. ...
[ 0.0206298828125, -0.012451171875, 0.01434326171875, -0.0147705078125, -0.00860595703125, 0.000141143798828125, -0.00148773193359375, -0.02001953125, -0.00836181640625, -0.00872802734375, 0.01141357421875, 0.0186767578125, 0.00811767578125, -0.0147705078125, 0.019775390625, 0.0070495605...
[ 2071, 142, 17, 720, 2320, 98, 563, 4904, 22288, 707, 5423, 23, 9, 80596, 37317, 289, 10, 10763, 1238, 3949, 3742, 17756, 42719, 136, 29479, 237, 4842, 151675, 1360, 90, 57767, 6097, 2806, 186, 3034, 50339, 11343, 17497, 3249, 9077, 442 ...
[ 0.0838623046875, 0.058135986328125, 0.113037109375, 0.26025390625, 0.1553955078125, 0.08709716796875, 0.1470947265625, 0.23095703125, 0.1650390625, 0.098876953125, 0.220703125, 0.1497802734375, 0.0467529296875, 0.2252197265625, 0.2001953125, 0.1253662109375, 0.000396728515625, 0.04...
embed
25620055_c0
25620055
fsharp
0
Title: F# Editor for Linux Problem title: F# Editor for Linux Tags: linux, f%23 Problem: F# Editor for Linux I am about to develop a F# project in Linux, but I don't know of any good editors with F# support. Google is no real help either, since the results tend to be quite old (FunctionalVariations plugin for MonoDevel...
F# Editor for Linux F# Editor for Linux linux f%23 Editor Linux F# Editor for Linux I am about to develop a F# project in Linux, but I don't know of any good editors with F# support. Google is no real help either, since the results tend to be quite old (FunctionalVariations plugin for MonoDevelop anyone?). What text ed...
[ 0.0167236328125, -0.00372314453125, -0.0037078857421875, 0.006439208984375, 0.01385498046875, 0.00927734375, -0.004150390625, -0.0032806396484375, -0.017822265625, -0.01318359375, 0.0250244140625, 0.0009613037109375, 0.0072021484375, 0.0111083984375, 0.001983642578125, 0.0045166015625,...
[ 563, 4904, 69340, 100, 29908, 11508, 6077, 1238, 3949, 3742, 1672, 85493, 13452, 23, 3714, 4127, 30391, 7, 678, 8060, 1815, 4358, 50339, 17660, 97249, 81827, 14, 21094, 69993, 77879, 4657, 2601, 2146, 4865, 7986, 6002, 86531, 127308, 214, ...
[ 0.142578125, 0.2364501953125, 0.235107421875, 0.0926513671875, 0.2232666015625, 0.0963134765625, 0.0389404296875, 0.08734130859375, 0.0183258056640625, 0.1337890625, 0.015533447265625, 0.0682373046875, 0.0428466796875, 0.018218994140625, 0.022735595703125, 0.039886474609375, 0.211303...
embed
2519458_c0
2519458
fsharp
0
Title: F#: how to print full list (Console.WriteLine() prints only first three elements) Problem title: F#: how to print full list (Console.WriteLine() prints only first three elements) Tags: list, f%23 Problem: F#: how to print full list (Console.WriteLine() prints only first three elements) Is it possible to print fu...
F#: how to print full list (Console.WriteLine() prints only first three elements) F#: how to print full list (Console.WriteLine() prints only first three elements) list f%23 Console.WriteLine F#: how to print full list (Console.WriteLine() prints only first three elements) Is it possible to print full list without usin...
[ -0.00872802734375, -0.00112152099609375, 0.01458740234375, 0.00213623046875, -0.0096435546875, 0.005035400390625, 0.005584716796875, 0.00689697265625, 0.0047607421875, 0.005584716796875, 0.01361083984375, -0.0089111328125, 0.0167236328125, 0.004486083984375, 0.0057373046875, 0.01507568...
[ 563, 4904, 28412, 4393, 5303, 40777, 18781, 93232, 4734, 5117, 17262, 80854, 1238, 3742, 3642, 47, 7722, 15490, 17368, 105823, 37842, 7 ]
[ 0.1181640625, 0.160400390625, 0.2008056640625, 0.1649169921875, 0.206298828125, 0.1129150390625, 0.048583984375, 0.1483154296875, 0.06951904296875, 0.0833740234375, 0.1251220703125, 0.14453125, 0.0186920166015625, 0.052734375, 0.00885009765625, 0.002288818359375, 0.07763671875, 0.0...
embed
6222513_c0
6222513
fsharp
0
Title: F# chart control change legend text Problem title: F# chart control change legend text Tags: .net, f%23, mschart Problem: F# chart control change legend text when using F# chart control library , how can I specify the text of the legend? for instance: FSharpChart.Line [ for f in 0.0 .. 0.1 .. 10.0 -> cos f ] |> ...
F# chart control change legend text F# chart control change legend text .net f%23 mschart FSharpChart.Line FSharpChart.WithLegend F# chart control change legend text when using F# chart control library , how can I specify the text of the legend? for instance: shows a legend with text "GenericChart_Series_1". How can I ...
[ -0.0036163330078125, -0.01409912109375, -0.013671875, 0.013427734375, 0.0185546875, -0.00628662109375, 0.0159912109375, 0.0179443359375, 0, 0.0303955078125, -0.0169677734375, 0.0001239776611328125, -0.01409912109375, -0.0081787109375, 0.01422119140625, 0.0294189453125, 0.000411987304...
[ 563, 4904, 116287, 6226, 15549, 37254, 7986, 1179, 1238, 3742, 3960, 3467, 84068, 18, 93232, 194583, 5267, 21044, 35773, 3642, 831, 40140, 18929, 45831, 678, 135932, 12259, 138724, 115187 ]
[ 0.1160888671875, 0.1776123046875, 0.1971435546875, 0.1370849609375, 0.170166015625, 0.2257080078125, 0.201904296875, 0.09765625, 0.05487060546875, 0.0163421630859375, 0.1121826171875, 0.06182861328125, 0.1605224609375, 0.0650634765625, 0.046905517578125, 0.00079345703125, 0.048034667...
embed
6467243_c0
6467243
fsharp
0
Title: F# interactive - &quot;reset session&quot; hotkey Problem title: F# interactive - &quot;reset session&quot; hotkey Tags: visual-studio-2010, hotkeys, fsi, f%23, f%23-interactive Problem: F# interactive - "reset session" hotkey I have assigned a new Global hotkey to VS 2010/Options/Environment/Keyboard/OtherConte...
F# interactive - &quot;reset session&quot; hotkey F# interactive - &quot;reset session&quot; hotkey visual-studio-2010 hotkeys fsi f%23 f%23-interactive visual-studio-2010 F# interactive - "reset session" hotkey I have assigned a new Global hotkey to But it seems to work only in the FSI window. How can I make the hotke...
[ -0.0020751953125, 0.007110595703125, 0.0169677734375, -0.01373291015625, -0.0135498046875, 0.00103759765625, -0.00970458984375, -0.0059814453125, -0.013916015625, -0.002197265625, 0.00982666015625, 0.0223388671875, 0.000606536865234375, 0.001495361328125, 0.0152587890625, 0.00350952148...
[ 563, 4904, 212398, 2109, 126, 56002, 8010, 19770, 74, 21176, 52629, 73552, 1238, 172, 3742, 27495, 10433, 71232, 87, 765, 95486, 297, 3525, 13453, 4966, 442, 37202, 4488, 4734, 23, 9902, 76896, 11249, 831, 3249, 7964 ]
[ 0.1202392578125, 0.204345703125, 0.1669921875, 0.1392822265625, 0.1844482421875, 0.1756591796875, 0.152099609375, 0.2418212890625, 0.0140380859375, 0.1353759765625, 0.1497802734375, 0.1507568359375, 0.0791015625, 0.11083984375, 0.051239013671875, 0.059844970703125, 0.049560546875, ...
embed
17112867_c0
17112867
fsharp
0
Title: Command line arguments in F# program? Problem title: Command line arguments in F# program? Tags: f%23, .net Problem: Command line arguments in F# program? How can I get command line arguments in F# compiled program? Is it possible if I don't use default template with [<EntryPoint>] let Main(args) = ... I've trie...
Command line arguments in F# program? Command line arguments in F# program? f%23 .net Command EntryPoint Main Sys.argv fsi.CommandLineArgs Command line arguments in F# program? How can I get command line arguments in F# compiled program? Is it possible if I don't use default template with I've tried let args = Sys.argv...
[ -0.002838134765625, 0.01116943359375, 0.000942230224609375, -0.00160980224609375, -0.001007080078125, 0.00653076171875, 0.0142822265625, 0.00151824951171875, -0.0169677734375, -0.008544921875, 0.0091552734375, -0.00017070770263671875, -0.0120849609375, 0.0012969970703125, 0.0110473632812...
[ 123573, 13315, 10750, 7, 23, 563, 4904, 1528, 32, 1238, 3949, 3742, 1179, 357, 15123, 147534, 12321, 4843, 61477, 334, 172, 10770, 12018, 93232, 7614, 9405, 11249, 831, 87, 2046, 75101, 375, 5974, 442, 7722, 114977, 110934, 37842, 2633, 7...
[ 0.2359619140625, 0.15185546875, 0.2320556640625, 0.0892333984375, 0.0797119140625, 0.157470703125, 0.2088623046875, 0.1474609375, 0.000701904296875, 0.1162109375, 0.062744140625, 0.15478515625, 0.1107177734375, 0.02764892578125, 0.0867919921875, 0.0675048828125, 0.0509033203125, 0....
embed
21962167_c0
21962167
fsharp
0
Title: F# type visibility issue Problem title: F# type visibility issue Tags: f%23 Problem: F# type visibility issue I declare several types in a separated files, but when I try to use some one from another one, I found some types are not visible for another. For example, I declare type Rule (namespace UGP.Core): and t...
F# type visibility issue F# type visibility issue f%23 Rule F# type visibility issue I declare several types in a separated files, but when I try to use some one from another one, I found some types are not visible for another. For example, I declare type Rule (namespace UGP.Core): and then I tried to use it in another...
[ 0.0263671875, 0.003143310546875, -0.0018157958984375, 0.0267333984375, -0.00408935546875, 0.003692626953125, -0.02099609375, -0.0032806396484375, -0.0002117156982421875, -0.00933837890625, -0.0013275146484375, 0.01531982421875, 0.0225830078125, 0.000009417533874511719, 0.00830078125, -...
[ 563, 4904, 10644, 108625, 31089, 939, 1238, 3742, 139118, 159978, 40368, 52895, 84797, 71, 102158, 9790, 4527, 1295, 14037, 959, 75693, 100, 15700, 1326, 210716, 345, 32566, 50886, 37842, 21635, 5701, 22317, 21334, 43079, 78219, 64, 866 ]
[ 0.1103515625, 0.197998046875, 0.215576171875, 0.2412109375, 0.09478759765625, 0.05889892578125, 0.054168701171875, 0.1522216796875, 0.1885986328125, 0.16259765625, 0.055908203125, 0.2010498046875, 0.0958251953125, 0.0333251953125, 0.1480712890625, 0.0204315185546875, 0.0667724609375,...
embed
66752863_c2
66752863
fsharp
2
, CS8370, Feature, Please, SENSITIVE_ITEM, SECRET_C, KeyVaultSecret, KEY_C, KeyVaultKey, TASK_SENSITIVE_ITEM, TASK_GET_SECRET_C, Task, Azure.Response, TASK_GET_KEY_C, GetAsync, Uri, VClient_Secret, GetSecretAsync, secret.Name, VClient_Key, GetKeyAsync, key.Name, GetAsync_Key, fs_sensitive_item_key, KeyVaultAccess.SENSI...
, CS8370, Feature, Please, SENSITIVE_ITEM, SECRET_C, KeyVaultSecret, KEY_C, KeyVaultKey, TASK_SENSITIVE_ITEM, TASK_GET_SECRET_C, Task, Azure.Response, TASK_GET_KEY_C, GetAsync, Uri, VClient_Secret, GetSecretAsync, secret.Name, VClient_Key, GetKeyAsync, key.Name, GetAsync_Key, fs_sensitive_item_key, KeyVaultAccess.SENSI...
[ -0.0035552978515625, 0.00156402587890625, -0.0016021728515625, -0.015625, 0.0150146484375, -0.036865234375, 0.000020265579223632812, 0.01141357421875, 0.00109100341796875, 0.039306640625, 0.03564453125, 0.04150390625, -0.01300048828125, 0.012939453125, 0.01397705078125, -0.006500244140...
[ 4, 25841, 1019, 71025, 106594, 30607, 159, 189601, 169813, 25216, 594, 75018, 41116, 454, 441, 26824, 28563, 7136, 237051, 186104, 162429, 12998, 10762, 294, 79794, 9127, 9598, 92, 176071, 94399, 20779, 12654, 130885, 56349, 150, 2517, 23410, ...
[ 0.05511474609375, 0.183837890625, 0.1708984375, 0.28515625, 0.246826171875, 0.2181396484375, 0.12890625, 0.1805419921875, 0.1717529296875, 0.1492919921875, 0.1094970703125, 0.123291015625, 0.2152099609375, 0.0288543701171875, 0.1190185546875, 0.1591796875, 0.1571044921875, 0.146728...
embed
78637500_c0
78637500
fsharp
0
Title: Parsing numbers with a comma decimal separator with FParsec Problem title: Parsing numbers with a comma decimal separator with FParsec Tags: f%23, fparsec Problem: Parsing numbers with a comma decimal separator with FParsec Is it possible to use FParsec 's built-in parsers for numbers (e.g. pfloat, numberLiteral...
Parsing numbers with a comma decimal separator with FParsec Parsing numbers with a comma decimal separator with FParsec f%23 fparsec Parsing FParsec Parsing numbers with a comma decimal separator with FParsec Is it possible to use FParsec 's built-in parsers for numbers (e.g. pfloat, numberLiteral) with different cultu...
[ -0.0042724609375, -0.0079345703125, -0.016357421875, 0.0196533203125, 0.0054931640625, 0.01324462890625, 0.007171630859375, -0.016845703125, -0.012939453125, -0.0093994140625, -0.0181884765625, -0.0035247802734375, 0.00168609619140625, 0.00885009765625, -0.00055694580078125, 0.00189208...
[ 2392, 6953, 101935, 678, 96117, 32380, 2749, 38310, 748, 563, 28636, 39797, 1238, 3949, 3742, 2500, 2071, 442, 7722, 47, 4527, 88303, 73, 366, 7, 1314, 100, 915, 52347, 257, 14012, 9506, 720, 289, 12921, 29394, 53550, 136, 184, 10, 237,...
[ 0.1580810546875, 0.05352783203125, 0.16650390625, 0.1021728515625, 0.2379150390625, 0.177978515625, 0.126708984375, 0.192138671875, 0.1297607421875, 0.1263427734375, 0.146240234375, 0.202880859375, 0.096923828125, 0.04327392578125, 0.14990234375, 0.1214599609375, 0.013885498046875, ...
embed
10977762_c0
10977762
fsharp
0
Title: is there any difference between reduce and reduceBack Problem title: is there any difference between reduce and reduceBack Tags: f%23, .net Problem: is there any difference between reduce and reduceBack I'm learning f# from msdn and looking and trying out the reduce and reduce back, I can't find any difference, ...
is there any difference between reduce and reduceBack is there any difference between reduce and reduceBack f%23 .net is there any difference between reduce and reduceBack I'm learning f# from msdn and looking and trying out the reduce and reduce back, I can't find any difference, the signature is the same ('T -> 'T ->...
[ 0.00701904296875, 0.0130615234375, 0.00714111328125, 0.01416015625, -0.005340576171875, 0.0005340576171875, 0.00157928466796875, 0.0086669921875, 0.015625, -0.0093994140625, 0.01263427734375, 0.005615234375, 0.034423828125, -0.004791259765625, 0.00848388671875, -0.0194091796875, -0.0...
[ 83, 2685, 2499, 60212, 17721, 34390, 136, 152470, 1238, 3949, 3742, 1179, 52080, 4904, 19, 4420, 138256, 5701, 618, 33079, 5303, 15044, 104250, 18499, 201505, 15400, 116, 111, 2856 ]
[ 0.0303955078125, 0.048492431640625, 0.067138671875, 0.197265625, 0.128662109375, 0.258056640625, 0.1046142578125, 0.275634765625, 0.04119873046875, 0.0236968994140625, 0.0953369140625, 0.1263427734375, 0.005767822265625, 0.1180419921875, 0.004852294921875, 0.2056884765625, 0.17602539...
embed
31750553_c0
31750553
fsharp
0
Title: Why is there no Seq.partition in F# Problem title: Why is there no Seq.partition in F# Tags: f%23 Problem: Why is there no Seq.partition in F# In F# we have List.partition and Array.partition which return a tuple of lists and a tuple of arrays respectively. so, why is there no Seq.partition returning a tuple of ...
Why is there no Seq.partition in F# Why is there no Seq.partition in F# f%23 Why Seq.partition List.partition Array.partition Why is there no Seq.partition in F# In F# we have List.partition and Array.partition which return a tuple of lists and a tuple of arrays respectively. so, why is there no Seq.partition returning...
[ 0.0101318359375, 0.01220703125, 0.00775146484375, -0.0023651123046875, -0.0133056640625, -0.0179443359375, -0.00101470947265625, -0.0034942626953125, -0.005340576171875, 0.0111083984375, -0.006195068359375, 0.0299072265625, -0.01544189453125, 0.023681640625, 0.00958251953125, -0.011718...
[ 44084, 110, 503, 864, 5, 15866, 1363, 563, 4904, 2685, 1238, 3742, 32036, 69253, 53, 83, 23, 136, 30646, 370, 8705, 5303, 10298, 15400, 40, 26513, 8781, 208124, 58134, 56112, 18, 903, 2831, 56458 ]
[ 0.09613037109375, 0.10552978515625, 0.1126708984375, 0.208740234375, 0.03472900390625, 0.23974609375, 0.120361328125, 0.1295166015625, 0.181640625, 0.022735595703125, 0.0667724609375, 0.10205078125, 0.1488037109375, 0.10418701171875, 0.05218505859375, 0.0123291015625, 0.0372924804687...
embed
66453898_c0
66453898
fsharp
0
Title: module or name space not define error FS0039 Problem title: module or name space not define error FS0039 Tags: f%23, constructor Problem: module or name space not define error FS0039 when i use other module in my current module it's says module or namespace not defined module Cell open CellState type Cell = {Cel...
module or name space not define error FS0039 module or name space not define error FS0039 f%23 constructor FS0039 Cell CellState CellID RowID State module or name space not define error FS0039 when i use other module in my current module it's says module or namespace not defined but actually i defined already CellState...
[ -0.000782012939453125, 0.00921630859375, -0.00634765625, 0.0262451171875, 0.030029296875, -0.001983642578125, 0.00921630859375, -0.000301361083984375, -0.01275634765625, -0.0172119140625, 0.004058837890625, -0.0005950927734375, 0.01190185546875, 0.0184326171875, 0.00665283203125, -0.01...
[ 88996, 707, 9351, 32628, 959, 61924, 18499, 93774, 7049, 9323, 1238, 3742, 64549, 80743, 135206, 7146, 96190, 22836, 4527, 3789, 43581, 210716, 20653, 21771, 13, 5701, 13452 ]
[ 0.24365234375, 0.05316162109375, 0.12109375, 0.2119140625, 0.0882568359375, 0.19580078125, 0.167236328125, 0.1767578125, 0.0633544921875, 0.249267578125, 0.0089111328125, 0.0743408203125, 0.08013916015625, 0.1689453125, 0.1787109375, 0.13330078125, 0.1512451171875, 0.10986328125, ...
embed
30703700_c0
30703700
fsharp
0
Title: Redefine jQuery dependency search path Problem title: Redefine jQuery dependency search path Tags: f%23, offline, resources, websharper Problem: Redefine jQuery dependency search path I have found that a typical Websharper "hello world" application does not work offline due to the inaccessibility of jQuery resou...
Redefine jQuery dependency search path Redefine jQuery dependency search path f%23 offline resources websharper Redefine Redefine jQuery dependency search path I have found that a typical Websharper "hello world" application does not work offline due to the inaccessibility of jQuery resource " http://code.jquery.com/jq...
[ 0.000820159912109375, 0.0230712890625, -0.0211181640625, -0.00927734375, -0.0002613067626953125, -0.00579833984375, 0.00433349609375, 0.01239013671875, 0.0167236328125, -0.044189453125, -0.029296875, -0.00958251953125, 0.0022735595703125, 0.0201416015625, -0.0081787109375, 0.0183105468...
[ 49487, 64552, 231129, 42548, 27771, 33938, 60875, 1238, 3949, 3742, 96083, 65514, 1467, 89280, 1264, 14037, 222201, 4002, 127, 13817, 8999, 38415, 14602, 959, 4488, 23, 113041, 83259, 177953, 40899, 170, 944, 1294, 277, 64, 5759, 14556, 5442,...
[ 0.1248779296875, 0.153564453125, 0.275390625, 0.172119140625, 0.015655517578125, 0.2095947265625, 0.219970703125, 0.04248046875, 0.04296875, 0.1312255859375, 0.26171875, 0.1944580078125, 0.0667724609375, 0.200439453125, 0.1986083984375, 0.0170135498046875, 0.1141357421875, 0.097290...
embed
50828296_c0
50828296
fsharp
0
Title: How does one merge two sequences together based on a primary key? Problem title: How does one merge two sequences together based on a primary key? Tags: primary-key, merge, f%23 Problem: How does one merge two sequences together based on a primary key? I am curious how one merges two sequences in F# based on a p...
How does one merge two sequences together based on a primary key? How does one merge two sequences together based on a primary key? primary-key merge f%23 How Cash Car Yes How does one merge two sequences together based on a primary key? I am curious how one merges two sequences in F# based on a primary key. I have not...
[ 0.017822265625, 0.03369140625, -0.00164794921875, 0.01165771484375, 0.0162353515625, 0.0084228515625, -0.00469970703125, 0.02490234375, 0.00909423828125, -0.011474609375, 0.00115203857421875, 0.031494140625, -0.008544921875, 0.022216796875, 0.00604248046875, -0.007598876953125, -0.00...
[ 11249, 14602, 1632, 42564, 6626, 40, 26513, 5170, 25842, 35509, 98, 158978, 22799, 19770, 1238, 3949, 3742, 73879, 3980, 32635, 10, 193844, 3642, 7, 23, 563, 4904, 37842, 6528, 9842, 89536, 34525, 32964, 19943, 126684 ]
[ 0.122802734375, 0.07940673828125, 0.0731201171875, 0.2626953125, 0.1439208984375, 0.0943603515625, 0.1990966796875, 0.0997314453125, 0.187744140625, 0.14697265625, 0.054168701171875, 0.20556640625, 0.2171630859375, 0.1800537109375, 0.08203125, 0.006561279296875, 0.096435546875, 0.1...
embed
65480289_c0
65480289
fsharp
0
Title: What does the &#x27;let {record} = object&#x27; syntax achive in F#? Problem title: What does the &#x27;let {record} = object&#x27; syntax achive in F#? Tags: f%23 Problem: What does the 'let {record} = object' syntax achive in F#? with the following example: type Person = {First:string; Last:string} let alice =...
What does the &#x27;let {record} = object&#x27; syntax achive in F#? What does the &#x27;let {record} = object&#x27; syntax achive in F#? f%23 What Person First:string Last:string First Alice Last Doe What does the 'let {record} = object' syntax achive in F#? with the following example: what does the last let do exactl...
[ -0.00015544891357421875, -0.00113677978515625, -0.005126953125, 0.013427734375, -0.00457763671875, 0.000278472900390625, -0.0380859375, 0.01287841796875, 0.01055908203125, 0.004486083984375, 0.004974365234375, 0.01531982421875, 0.0203857421875, 0.0185546875, 0.01416015625, -0.007263183...
[ 4865, 14602, 3768, 1974, 107, 32271, 2203, 36746, 6002, 86531, 8225, 5844, 563, 4904, 1238, 3742, 15270, 23972, 91693, 21672, 66083, 984, 13, 23, 27781, 2367, 70, 4568, 2633, 54, 66161 ]
[ 0.020782470703125, 0.036102294921875, 0.0439453125, 0.186767578125, 0.04205322265625, 0.1915283203125, 0.1417236328125, 0.2181396484375, 0.100830078125, 0.18896484375, 0.08685302734375, 0.10748291015625, 0.1026611328125, 0.183837890625, 0.006988525390625, 0.005401611328125, 0.1102294...
embed
67242284_c0
67242284
fsharp
0
Title: .NET BitArray cardinality Problem title: .NET BitArray cardinality Tags: f%23, c%23, .net Problem: .NET BitArray cardinality What is an efficient way to get the number of bits set in a System.Collections.BitArray (like bitset.count in C++ or BitSet.cardinality in Java)? So far I only found solutions for BitArray...
.NET BitArray cardinality .NET BitArray cardinality f%23 c%23 .net NET BitArray System.Collections.BitArray bitset.count BitSet.cardinality .NET BitArray cardinality What is an efficient way to get the number of bits set in a System.Collections.BitArray (like bitset.count in C++ or BitSet.cardinality in Java)? So far I...
[ -0.016357421875, 0.02099609375, -0.01953125, -0.0155029296875, -0.004638671875, -0.014892578125, -0.0015106201171875, 0.0130615234375, 0.0048828125, -0.0159912109375, -0.0185546875, 0.002777099609375, 0.01055908203125, 0.01068115234375, 0.0027923583984375, -0.00762939453125, 0.001113...
[ 5, 17777, 27774, 7614, 7092, 200103, 2481, 1238, 3949, 3742, 1179, 12353, 78457, 8996, 571, 217, 4785, 3509, 71013, 294, 126, 38931, 73, 134393, 4865, 83, 142, 93766, 3917, 47, 2046, 14012, 5423, 23, 313, 37223, 41925, 14037, 51347, 16491...
[ 0.0640869140625, 0.1932373046875, 0.15966796875, 0.189697265625, 0.2242431640625, 0.1966552734375, 0.087646484375, 0.07452392578125, 0.0172119140625, 0.1285400390625, 0.15576171875, 0.1468505859375, 0.1025390625, 0.1396484375, 0.07135009765625, 0.1326904296875, 0.225830078125, 0.16...
embed
68059883_c1
68059883
fsharp
1
param1 f() let functionWrapperFoo = functionWrapper "Foo" let resultFooInt = functionWrapperFoo ( fun _ -> (42) ) let resultFooString = functionWrapperFoo ( fun _ -> "42" ) Workaround let functionWrapper (param1) (f:(unit -> 'a)) = printfn "Calling function %s" param1 f() let functionWrapperFoo() = functionWrapper "Fo...
param1 f() let functionWrapperFoo = functionWrapper "Foo" let resultFooInt = functionWrapperFoo ( fun _ -> (42) ) let resultFooString = functionWrapperFoo ( fun _ -> "42" ) Workaround let functionWrapper (param1) (f:(unit -> 'a)) = printfn "Calling function %s" param1 f() let functionWrapperFoo() = functionWrapper "Fo...
[ -0.0164794921875, 0.00494384765625, -0.000885009765625, 0.001861572265625, 0.00543212890625, -0.00897216796875, -0.00075531005859375, -0.01214599609375, -0.002105712890625, -0.0274658203125, 0.00170135498046875, 0.021484375, -0.0250244140625, 0.0031585693359375, 0.0303955078125, -0.040...
[ 121, 39, 418, 1238, 132, 2633, 32354, 1456, 219, 8079, 27591, 31, 2203, 16750, 4153, 18, 7477, 33079, 132710, 71713, 214, 13023, 1388, 27985, 67688, 6276, 17727, 420, 12, 309, 217, 11, 28412, 14783, 94553, 2069, 1745, 28864, 26073, 10, ...
[ 0.1575927734375, 0.1180419921875, 0.0938720703125, 0.14404296875, 0.1444091796875, 0.09228515625, 0.20947265625, 0.04144287109375, 0.2117919921875, 0.232177734375, 0.19384765625, 0.19091796875, 0.0186614990234375, 0.1492919921875, 0.09521484375, 0.03472900390625, 0.13330078125, 0.0...
embed
66369300_c0
66369300
fsharp
0
Title: How to delete an object from an array when stored in Firestore Problem title: How to delete an object from an array when stored in Firestore Tags: f%23, google-cloud-firestore, .net Problem: How to delete an object from an array when stored in Firestore I would like to delete the object with id number 2 in this ...
How to delete an object from an array when stored in Firestore How to delete an object from an array when stored in Firestore f%23 google-cloud-firestore .net an How Firestore John Bob How to delete an object from an array when stored in Firestore I would like to delete the object with id number 2 in this Firestore obj...
[ 0.0115966796875, 0.005340576171875, -0.0191650390625, -0.013671875, -0.006744384765625, 0.0012969970703125, -0.0023345947265625, 0.005340576171875, 0.00188446044921875, 0.000095367431640625, 0.0120849609375, -0.01336669921875, 0, -0.0164794921875, 0.0286865234375, -0.022705078125, -0...
[ 11249, 47, 154109, 36746, 1295, 10298, 53, 3229, 4343, 71, 23, 31143, 45804, 26484, 182422, 73702, 1179, 4939, 25027, 1884, 678, 3447, 14012, 116, 903, 7722 ]
[ 0.06085205078125, 0.04876708984375, 0.2420654296875, 0.2086181640625, 0.123291015625, 0.1790771484375, 0.1171875, 0.0665283203125, 0.1566162109375, 0.005584716796875, 0.08203125, 0.16162109375, 0.2281494140625, 0.047698974609375, 0.0718994140625, 0.0804443359375, 0.002685546875, 0....
embed
5614228_c0
5614228
fsharp
0
Title: F# converting a string to a float Problem title: F# converting a string to a float Tags: floating-point, f%23, type-conversion Problem: F# converting a string to a float I have a simple problem that I haven't been able to figure out. I have a program that's supposed to read a float from input. Problem is it will...
F# converting a string to a float F# converting a string to a float floating-point f%23 type-conversion F# converting a string to a float I have a simple problem that I haven't been able to figure out. I have a program that's supposed to read a float from input. Problem is it will come as string and I can't for the lif...
[ -0.0213623046875, -0.007080078125, -0.030029296875, 0.0189208984375, 0.006988525390625, 0.0206298828125, 0.0018463134765625, -0.029296875, 0.0003376007080078125, -0.0216064453125, 0.0137939453125, 0.003936767578125, -0.017578125, 0.007232666015625, 0.00946044921875, 0.00015640258789062...
[ 563, 4904, 96760, 214, 79315, 47, 10, 21917, 257, 26518, 38496, 1238, 3949, 3742, 10644, 2271, 46354, 87, 765, 8781, 2967, 38246, 18, 2809, 19048, 26366, 1810, 1528, 134598, 12301, 1295, 107730, 15649, 1221, 1380, 237, 831, 6897, 111, 364...
[ 0.1495361328125, 0.2418212890625, 0.1678466796875, 0.037353515625, 0.260498046875, 0.10260009765625, 0.092041015625, 0.207763671875, 0.19580078125, 0.044525146484375, 0.1129150390625, 0.1197509765625, 0.0291900634765625, 0.111572265625, 0.1312255859375, 0.051910400390625, 0.131469726...
embed
5846524_c0
5846524
fsharp
0
Title: F# light weight scripting enviorment Problem title: F# light weight scripting enviorment Tags: f%23, f%23-interactive, c%23, .net Problem: F# light weight scripting enviorment Im using F# to do a little scripting for automating tasks on our servers here. I would really love to have a light weight environment i c...
F# light weight scripting enviorment F# light weight scripting enviorment f%23 f%23-interactive c%23 .net F# light weight scripting enviorment Im using F# to do a little scripting for automating tasks on our servers here. I would really love to have a light weight environment i could install on the servers themselves t...
[ 0.0050048828125, 0.00157928466796875, 0.005706787109375, 0.01043701171875, -0.0111083984375, 0.01092529296875, 0.0172119140625, -0.00787353515625, -0.000885009765625, -0.01385498046875, 0.016357421875, 0.01031494140625, 0.00153350830078125, -0.00007200241088867188, 0.02197265625, -0.00...
[ 563, 4904, 22729, 57888, 26499, 214, 22, 10023, 42, 674, 1238, 3742, 27495, 10433, 71232, 501, 5, 1179, 3370, 17368, 47, 10176, 11408, 66211, 98, 10723, 3688, 2806, 6183, 5161, 765, 65998, 5809, 20600, 61261, 8337, 9902, 136, 1809, 277, ...
[ 0.1480712890625, 0.19482421875, 0.19384765625, 0.2244873046875, 0.1763916015625, 0.049560546875, 0.050750732421875, 0.135498046875, 0.054229736328125, 0.009735107421875, 0.07073974609375, 0.0614013671875, 0.06121826171875, 0.08355712890625, 0.0577392578125, 0.013397216796875, 0.01138...
embed
608514_c0
608514
fsharp
0
Title: Square Root for Bigint in F# Problem title: Square Root for Bigint in F# Tags: f%23, biginteger Problem: Square Root for Bigint in F# Is there a way to get the square root of a big integer? I am dealing with numbers that are much too large for int64 to handle so bigint is a must. I was considering the idea of im...
Square Root for Bigint in F# Square Root for Bigint in F# f%23 biginteger Square Root Bigint Square Root for Bigint in F# Is there a way to get the square root of a big integer? I am dealing with numbers that are much too large for int64 to handle so bigint is a must. I was considering the idea of implementing it mysel...
[ -0.00396728515625, 0.01318359375, 0.0179443359375, 0.01348876953125, -0.0157470703125, 0.00701904296875, 0.00860595703125, -0.006591796875, -0.01507568359375, -0.006988525390625, 0.00750732421875, 0.0184326171875, -0.00897216796875, -0.005950927734375, -0.01434326171875, -0.01843261718...
[ 68305, 150948, 100, 14195, 4288, 23, 563, 4904, 1238, 3949, 3742, 6957, 6191, 1505, 2071, 2685, 10, 3917, 47, 2046, 70, 108047, 74855, 111, 892, 32, 184017, 101935, 450, 621, 5045, 5792, 21334, 18, 13307, 34831, 221, 83, 8110, 179635, 6...
[ 0.169677734375, 0.296142578125, 0.09259033203125, 0.1512451171875, 0.23095703125, 0.08062744140625, 0.1453857421875, 0.2353515625, 0.0980224609375, 0.052337646484375, 0.166015625, 0.168701171875, 0.1251220703125, 0.1865234375, 0.048858642578125, 0.05926513671875, 0.0654296875, 0.11...
embed
38643625_c2
38643625
fsharp
2
Checker, Position:Position, RedKing, King, Functions, List.filter, x-4, index-8, List.init, List.map, pos.X, pos.Y, List.exists, checker:BlackChecker, checker.Position, North.NorthEast, position.X, position.Y, North.NorthWest, checker:RedChecker, South.SouthEast, South.SouthWest, king:King, bk.Position, rk.Position, Re...
Checker, Position:Position, RedKing, King, Functions, List.filter, x-4, index-8, List.init, List.map, pos.X, pos.Y, List.exists, checker:BlackChecker, checker.Position, North.NorthEast, position.X, position.Y, North.NorthWest, checker:RedChecker, South.SouthEast, South.SouthWest, king:King, bk.Position, rk.Position, Re...
[ -0.003173828125, 0.000823974609375, 0.015869140625, -0.02734375, 0.006927490234375, -0.005615234375, 0.0087890625, -0.005126953125, 0.01324462890625, 0.01092529296875, 0.005126953125, 0.041259765625, 0.005218505859375, -0.00628662109375, -0.01483154296875, -0.019775390625, 0.01159667...
[ 38679, 56, 4, 99428, 12, 7192, 172, 1363, 6096, 605, 214, 18813, 28670, 10763, 32036, 5, 120337, 1022, 11565, 63262, 17376, 73, 217, 62346, 3864, 1542, 1723, 54376, 12765, 97732, 202567, 23924, 50645, 4438, 19069, 138271, 80852, 25134, 2181...
[ 0.301025390625, 0.22021484375, 0.061920166015625, 0.269287109375, 0.0692138671875, 0.12890625, 0.176513671875, 0.1123046875, 0.151611328125, 0.135986328125, 0.1705322265625, 0.2115478515625, 0.2000732421875, 0.185791015625, 0.2467041015625, 0.04437255859375, 0.2415771484375, 0.0634...
embed
53616115_c0
53616115
fsharp
0
Title: F# ConsoleKeyInfo type mismatch Problem title: F# ConsoleKeyInfo type mismatch Tags: f%23 Problem: F# ConsoleKeyInfo type mismatch I have Console.ReadKey() statement in my program to pause execution System.Console.ReadKey() |> ignore but VS code shows me an error: Type mismatch. Expecting a 'ConsoleKeyInfo -> in...
F# ConsoleKeyInfo type mismatch F# ConsoleKeyInfo type mismatch f%23 ConsoleKeyInfo System.Console.ReadKey Type Expecting F# ConsoleKeyInfo type mismatch I have Console.ReadKey() statement in my program to pause execution but VS code shows me an error: How do I fix it ?
[ -0.005706787109375, -0.00457763671875, 0.017822265625, -0.005157470703125, 0.0032958984375, -0.0150146484375, 0.0008544921875, -0.0059814453125, -0.01416015625, 0.035400390625, 0.004302978515625, 0.00250244140625, -0.0078125, -0.005706787109375, 0.00058746337890625, -0.016845703125, ...
[ 563, 4904, 1657, 40777, 162429, 93147, 10644, 1239, 98753, 1238, 3949, 3742, 12353, 11935, 31345, 60457, 60075, 24762, 132, 63805, 1528, 47, 76968, 71924, 44160, 18151, 18499, 30022 ]
[ 0.0943603515625, 0.196533203125, 0.065673828125, 0.185791015625, 0.22314453125, 0.204833984375, 0.19384765625, 0.10113525390625, 0.2310791015625, 0.04473876953125, 0.0008544921875, 0.109375, 0.010009765625, 0.016571044921875, 0.1787109375, 0.18310546875, 0.06884765625, 0.0914306640...
embed
25414742_c0
25414742
fsharp
0
Title: Cast MethodBase to RuntimeMethodInfo in F# Problem title: Cast MethodBase to RuntimeMethodInfo in F# Tags: f%23, reflection Problem: Cast MethodBase to RuntimeMethodInfo in F# I want to cast MethodBase to RuntimeMethodInfo in order to retrieve the name and type of the arguments of reflected methods, and the retu...
Cast MethodBase to RuntimeMethodInfo in F# Cast MethodBase to RuntimeMethodInfo in F# f%23 reflection Cast MethodBase RuntimeMethodInfo Cast MethodBase to RuntimeMethodInfo in F# I want to cast MethodBase to RuntimeMethodInfo in order to retrieve the name and type of the arguments of reflected methods, and the returned...
[ 0.005645751953125, -0.0064697265625, 0.0198974609375, 0.02294921875, 0.01177978515625, -0.005615234375, -0.01226806640625, -0.0036468505859375, 0.0021820068359375, -0.01904296875, -0.0023345947265625, 0.00616455078125, 0.0037078857421875, 0.00958251953125, -0.0133056640625, -0.00055694...
[ 32301, 74644, 63473, 13, 47, 28398, 6032, 78572, 7352, 93147, 23, 563, 4904, 1238, 3742, 44961, 1830, 3444, 37702, 456, 3996, 9351, 10644, 10750, 297, 150624, 70, 176377, 8951, 12333, 67, 176501, 3249, 678 ]
[ 0.1995849609375, 0.1844482421875, 0.2049560546875, 0.109619140625, 0.115234375, 0.102783203125, 0.1483154296875, 0.0999755859375, 0.13671875, 0.225341796875, 0.0281524658203125, 0.122802734375, 0.208251953125, 0.0712890625, 0.121337890625, 0.2237548828125, 0.031585693359375, 0.0576...
embed
36909384_c0
36909384
fsharp
0
Title: Use FParsec on already tokenized UInt16 stream Problem title: Use FParsec on already tokenized UInt16 stream Tags: fparsec, f%23, parsing, lexical-analysis Problem: Use FParsec on already tokenized UInt16 stream I need to parse an already tokenized stream of type UInt16 seq . How can I do this with FParsec? All ...
Use FParsec on already tokenized UInt16 stream Use FParsec on already tokenized UInt16 stream fparsec f%23 parsing lexical-analysis Use FParsec UInt16 Use FParsec on already tokenized UInt16 stream I need to parse an already tokenized stream of type UInt16 seq . How can I do this with FParsec? All the top level functio...
[ -0.004364013671875, 0.005096435546875, 0.010986328125, 0.0145263671875, -0.005126953125, 0.00396728515625, 0.0150146484375, 0.00034332275390625, -0.003692626953125, -0.0162353515625, 0.0174560546875, -0.0048828125, 0.0031890869140625, 0.007171630859375, 0.0096435546875, -0.005493164062...
[ 36836, 563, 28636, 39797, 98, 21771, 47, 1098, 29367, 111481, 660, 2485, 75973, 1238, 2500, 3742, 366, 6953, 75675, 21533, 174976, 3871, 184, 10644, 40, 864, 831, 54, 903, 678, 2663, 17366, 32354, 7413, 91067, 4488, 21441, 86429, 91, 1913...
[ 0.10601806640625, 0.1492919921875, 0.181396484375, 0.258544921875, 0.06573486328125, 0.1356201171875, 0.10052490234375, 0.1322021484375, 0.030609130859375, 0.0767822265625, 0.1121826171875, 0.2333984375, 0.213623046875, 0.09466552734375, 0.1341552734375, 0.08074951171875, 0.163208007...
embed
2111045_c0
2111045
fsharp
0
Title: How to check if an event is being handled in F# Problem title: How to check if an event is being handled in F# Tags: f%23 Problem: How to check if an event is being handled in F# What is the F# equivalent of the following C# code? Specifically, I need to check if an event is being handled. protected virtual void...
How to check if an event is being handled in F# How to check if an event is being handled in F# f%23 How OnClicked ClickEventArgs this.Clicked How to check if an event is being handled in F# What is the F# equivalent of the following C# code? Specifically, I need to check if an event is being handled.
[ -0.0186767578125, 0.01007080078125, 0.0157470703125, -0.01422119140625, -0.01708984375, -0.003509521484375, 0.006927490234375, -0.0244140625, -0.0032958984375, -0.025146484375, 0.0108642578125, 0.01544189453125, -0.00653076171875, 0.00982666015625, 0.0069580078125, 0.0064697265625, 0...
[ 11249, 47, 12765, 2174, 19732, 83, 8035, 34831, 71, 23, 563, 4904, 142, 1238, 3742, 2161, 181671, 297, 21138, 192134, 7614, 9405, 903, 70, 183234, 25632, 313, 18151, 3871, 5 ]
[ 0.059356689453125, 0.107421875, 0.225341796875, 0.137451171875, 0.216552734375, 0.0865478515625, 0.1268310546875, 0.2049560546875, 0.1500244140625, 0.09478759765625, 0.1502685546875, 0.21875, 0.04107666015625, 0.06427001953125, 0.1103515625, 0.1131591796875, 0.14404296875, 0.098022...
embed
13547494_c0
13547494
fsharp
0
Title: Can I put let statements in an F# list comprehension? Problem title: Can I put let statements in an F# list comprehension? Tags: f%23 Problem: Can I put let statements in an F# list comprehension? I am trying to write a list comprehension in F# and can't get it to compile: [for x in xs do let y = f(x) when g(y) ...
Can I put let statements in an F# list comprehension? Can I put let statements in an F# list comprehension? f%23 Can Can I put let statements in an F# list comprehension? I am trying to write a list comprehension in F# and can't get it to compile: Is there any way to save an intermediate computation in the middle of a ...
[ -0.011962890625, 0.00543212890625, 0.01361083984375, -0.001190185546875, 0.009521484375, -0.0078125, 0.017578125, 0.0185546875, -0.002105712890625, 0.0059814453125, -0.0126953125, 0.000896453857421875, 0.00860595703125, 0.01055908203125, 0.0012359619140625, 0.0067138671875, -0.010864...
[ 4171, 3884, 2633, 63805, 7, 23, 563, 4904, 5303, 46683, 3220, 6889, 87, 1238, 3949, 3742, 33022, 831, 18, 9969, 1340, 3917, 30098, 81814, 181135, 86991, 111, 456, 18244 ]
[ 0.0889892578125, 0.1090087890625, 0.2381591796875, 0.24951171875, 0.035980224609375, 0.068603515625, 0.1380615234375, 0.2098388671875, 0.18212890625, 0.1446533203125, 0.1385498046875, 0.04119873046875, 0.02716064453125, 0.03662109375, 0.0086669921875, 0.05908203125, 0.014450073242187...
embed
16706047_c0
16706047
fsharp
0
Title: Cut a list by index n in F# Problem title: Cut a list by index n in F# Tags: f%23, list, f%23-scripting, f%23-3.0 Problem: Cut a list by index n in F# Trying to write a recursive function that will cut a list by n. Then return 2 lists. So if I pass cut(2, [5;10;4;2;7]);; val it : int list * int list = ([5; 10], ...
Cut a list by index n in F# Cut a list by index n in F# f%23 list f%23-scripting f%23-3.0 Cut x::xt Cut a list by index n in F# Trying to write a recursive function that will cut a list by n. Then return 2 lists. So if I pass I would like to get something like that. Please help.
[ 0.016357421875, 0.0079345703125, 0.02001953125, 0.004974365234375, 0.005096435546875, 0.00726318359375, 0.00933837890625, -0.01312255859375, 0.021728515625, -0.00628662109375, 0.004974365234375, -0.00897216796875, -0.00579833984375, 0.013427734375, 0.01495361328125, -0.01409912109375, ...
[ 3003, 18, 10, 5303, 390, 63262, 653, 23, 563, 4904, 1238, 3742, 27495, 32032, 214, 132265, 1022, 29062, 40858, 33022, 195625, 5844, 32354, 1221, 59226, 30646, 116, 7, 1061, 2174, 27875, 2806, 1884, 2046, 9844, 450, 30607, 4358 ]
[ 0.2147216796875, 0.1240234375, 0.040802001953125, 0.23046875, 0.1455078125, 0.2091064453125, 0.1640625, 0.0738525390625, 0.1585693359375, 0.2191162109375, 0.0953369140625, 0.1153564453125, 0.08203125, 0.07586669921875, 0.022491455078125, 0.13232421875, 0.07666015625, 0.139404296875...
embed
46808890_c0
46808890
fsharp
0
Title: Is List.where identical to List.filter? Problem title: Is List.where identical to List.filter? Tags: f%23 Problem: Is List.where identical to List.filter? I intended to use List.filter but accidentally wrote List.where without noticing (I'm used to LINQ). To my surprise this function seems to actually exist and ...
Is List.where identical to List.filter? Is List.where identical to List.filter? f%23 List.where List.filter Is List.where identical to List.filter? I intended to use List.filter but accidentally wrote List.where without noticing (I'm used to LINQ). To my surprise this function seems to actually exist and do the exact s...
[ 0.0172119140625, 0.0274658203125, -0.01190185546875, -0.0264892578125, -0.0191650390625, -0.004058837890625, 0.00750732421875, 0.004608154296875, 0.01434326171875, 0.0023040771484375, -0.0040283203125, -0.00909423828125, 0.00128173828125, -0.0130615234375, -0.006439208984375, 0.0152587...
[ 2071, 32036, 5, 136913, 31943, 6827, 47, 120337, 1238, 3742, 179140, 4527, 27998, 54397, 15490, 11814, 46610, 2737, 55640, 903, 32354, 37202, 20653, 32316, 54, 24763, 5701, 13580, 209806, 16265, 51671, 6626, 183234 ]
[ 0.06707763671875, 0.2322998046875, 0.07391357421875, 0.2509765625, 0.1348876953125, 0.0933837890625, 0.059814453125, 0.295166015625, 0.0202178955078125, 0.08148193359375, 0.072265625, 0.039093017578125, 0.083740234375, 0.0772705078125, 0.000030517578125, 0.050201416015625, 0.10400390...
embed
107243_c0
107243
fsharp
0
Title: Are units of measurement unique to F#? Problem title: Are units of measurement unique to F#? Tags: f%23, functional-programming, programming-languages Problem: Are units of measurement unique to F#? I was reading Andrew Kennedy's blog post series on units of measurement in F# and it makes a lot of sense in a lot...
Are units of measurement unique to F#? Are units of measurement unique to F#? f%23 functional-programming programming-languages Are units of measurement unique to F#? I was reading Andrew Kennedy's blog post series on units of measurement in F# and it makes a lot of sense in a lot of cases. Are there any other language...
[ -0.0025482177734375, 0.01544189453125, 0.0230712890625, -0.0322265625, -0.01171875, -0.0194091796875, 0.002471923828125, -0.0027313232421875, 0.0032196044921875, -0.00994873046875, -0.00897216796875, -0.009765625, 0.003936767578125, -0.0234375, -0.00927734375, 0.0159912109375, -0.000...
[ 15901, 25072, 7, 111, 72350, 674, 36998, 47, 563, 4904, 1238, 3742, 123309, 28966, 56037, 196651, 60701, 118963, 23, 5915, 10422, 46876, 6044, 5426, 34735, 110677, 831, 61924, 10002, 61799 ]
[ 0.048065185546875, 0.226806640625, 0.0916748046875, 0.1224365234375, 0.216796875, 0.1246337890625, 0.2049560546875, 0.09893798828125, 0.1690673828125, 0.2303466796875, 0.0648193359375, 0.044525146484375, 0.1002197265625, 0.087890625, 0.0997314453125, 0.1197509765625, 0.04904174804687...
embed