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
36700271_c1
36700271
fsharp
1
at FSI_0002.digestMDtest(String x) in C:\OneDrive\FMDC.barchart.fsx:line 72 It seems to me the Array.iter function is attempting to iterate over an Array element that is beyond the end of the array. Why would it do this? I can only assume Array.tail has something to do with it; maybe Array.iter is using the original s...
at FSI_0002.digestMDtest(String x) in C:\OneDrive\FMDC.barchart.fsx:line 72 It seems to me the Array.iter function is attempting to iterate over an Array element that is beyond the end of the array. Why would it do this? I can only assume Array.tail has something to do with it; maybe Array.iter is using the original s...
[ -0.00188446044921875, 0.01025390625, -0.0108642578125, 0.00872802734375, -0.0033111572265625, 0.009033203125, 0.00653076171875, 0.001190185546875, 0.0225830078125, 0.01300048828125, 0.02734375, -0.00567626953125, 0.0228271484375, -0.00034332275390625, 0.0284423828125, -0.0191650390625,...
[ 563, 9902, 9508, 5442, 4803, 525, 44644, 6954, 71713, 1022, 313, 62068, 142994, 59370, 21960, 1299, 9254, 18, 17447, 425, 2256, 9464, 37202, 69253, 53, 5, 16840, 32354, 81887, 214, 17, 8560, 67, 645, 12830, 83, 107314, 3564, 111, 10298, ...
[ 0.03167724609375, 0.1234130859375, 0.04278564453125, 0.06878662109375, 0.06793212890625, 0.0711669921875, 0.0921630859375, 0.1754150390625, 0.0897216796875, 0.09954833984375, 0.0227508544921875, 0.1075439453125, 0.18994140625, 0.06646728515625, 0.06170654296875, 0.0628662109375, 0.14...
embed
1437085_c0
1437085
fsharp
0
Title: Is there a way to combine the box operation onto a single line? Problem title: Is there a way to combine the box operation onto a single line? Tags: f%23 Problem: Is there a way to combine the box operation onto a single line? Is there a way to combine the 'cast' (box) operation as part of the same statement. He...
Is there a way to combine the box operation onto a single line? Is there a way to combine the box operation onto a single line? f%23 dTable.Call AxaptaObject nodeobj.Call AOTFindChild Methods Is there a way to combine the box operation onto a single line? Is there a way to combine the 'cast' (box) operation as part of ...
[ 0.00518798828125, 0.00482177734375, -0.0069580078125, 0.0172119140625, 0.0036468505859375, -0.0177001953125, 0.00830078125, -0.006072998046875, -0.0022430419921875, -0.0439453125, -0.0024871826171875, -0.0198974609375, -0.006683349609375, -0.00946044921875, -0.01397705078125, -0.011169...
[ 2071, 2685, 10, 3917, 70163, 16530, 41018, 188, 11001, 13315, 47, 1238, 3742, 618, 2886, 5584, 3798, 22662, 46471, 75161, 110, 112, 170, 62, 23973, 204582, 102656, 74644, 55741, 11728, 2831, 5701, 63805, 82424 ]
[ 0.009979248046875, 0.03509521484375, 0.061248779296875, 0.1240234375, 0.220947265625, 0.262939453125, 0.2222900390625, 0.0777587890625, 0.155517578125, 0.17529296875, 0.0150909423828125, 0.02685546875, 0.1129150390625, 0.06085205078125, 0.163330078125, 0.045440673828125, 0.0581665039...
embed
55952733_c0
55952733
fsharp
0
Title: How to create an ASP.NET Core WebAPI project with F# in Rider? Problem title: How to create an ASP.NET Core WebAPI project with F# in Rider? Tags: project, rider, f%23 Problem: How to create an ASP.NET Core WebAPI project with F# in Rider? I am using rider but some reasons I can't see any option to create web-re...
How to create an ASP.NET Core WebAPI project with F# in Rider? How to create an ASP.NET Core WebAPI project with F# in Rider? project rider f%23 How ASP.NET Core WebAPI Rider How to create an ASP.NET Core WebAPI project with F# in Rider? I am using rider but some reasons I can't see any option to create web-related pro...
[ -0.0263671875, 0.0142822265625, -0.007049560546875, -0.0155029296875, -0.0045166015625, -0.01116943359375, -0.00579833984375, -0.005401611328125, -0.015869140625, -0.000560760498046875, 0.01904296875, -0.0135498046875, -0.0174560546875, 0.01708984375, 0.0341796875, 0.005706787109375, ...
[ 11249, 47, 28282, 147153, 17777, 31365, 4002, 74220, 13452, 678, 563, 4904, 23, 41231, 56, 142, 171503, 1238, 3949, 3742, 17368, 89397, 1957, 35829, 1467, 174822, 77635, 20600, 5174, 11431, 13, 110934, 7464, 23937, 166635, 16138, 831, 54, 2...
[ 0.078125, 0.054443359375, 0.1669921875, 0.1337890625, 0.10675048828125, 0.1767578125, 0.10357666015625, 0.2412109375, 0.18994140625, 0.0758056640625, 0.1231689453125, 0.22412109375, 0.0716552734375, 0.2265625, 0.2025146484375, 0.0154876708984375, 0.253662109375, 0.0260772705078125,...
embed
17665597_c0
17665597
fsharp
0
Title: Why does this formula return a unit? Problem title: Why does this formula return a unit? Tags: f%23, unit-type Problem: Why does this formula return a unit? I understand that F# functions return a unit if nothing else is returned, but this function returns a string. Can someone please help me understand why it r...
Why does this formula return a unit? Why does this formula return a unit? f%23 unit-type Why h::t Regex.Replace RegexOptions.IgnoreCase Why does this formula return a unit? I understand that F# functions return a unit if nothing else is returned, but this function returns a string. Can someone please help me understand...
[ -0.004058837890625, 0.000751495361328125, 0.00836181640625, 0.0098876953125, 0.003265380859375, -0.0101318359375, 0.00531005859375, 0.0033111572265625, 0.0162353515625, 0.03955078125, 0.00665283203125, -0.0037384033203125, -0.000484466552734375, -0.01116943359375, 0.005767822265625, 0....
[ 44084, 14602, 903, 26168, 30646, 10, 25072, 1238, 3949, 3742, 50986, 1096, 18, 11678, 3355, 4332, 23935, 39029, 5256, 568, 11137, 107, 441, 6991, 28219, 563, 4904, 32354, 2174, 33720, 37076, 176377, 1284, 7, 79315, 15400 ]
[ 0.1634521484375, 0.08251953125, 0.08294677734375, 0.2249755859375, 0.1971435546875, 0.08441162109375, 0.269775390625, 0.1170654296875, 0.07232666015625, 0.1905517578125, 0.10107421875, 0.0931396484375, 0.048187255859375, 0.1234130859375, 0.162353515625, 0.055999755859375, 0.120605468...
embed
77437487_c0
77437487
fsharp
0
Title: Why does F# require quotes in explicit generic type parameters? Problem title: Why does F# require quotes in explicit generic type parameters? Tags: generics, f%23 Problem: Why does F# require quotes in explicit generic type parameters? Explicit type parameters must be specified with a ' before the letter: type ...
Why does F# require quotes in explicit generic type parameters? Why does F# require quotes in explicit generic type parameters? generics f%23 quotes Why MyType Why does F# require quotes in explicit generic type parameters? Explicit type parameters must be specified with a ' before the letter: Why are plain letters lik...
[ 0.01806640625, 0.007293701171875, -0.0020904541015625, -0.01104736328125, 0.00433349609375, -0.015625, -0.0004634857177734375, 0.0072021484375, 0.023681640625, -0.005706787109375, 0.00384521484375, -0.0169677734375, -0.0120849609375, -0.006744384765625, -0.0037841796875, -0.00083541870...
[ 44084, 14602, 563, 4904, 64209, 66747, 7, 143726, 189534, 10644, 171859, 1238, 3742, 2646, 196707, 23, 60075, 60923, 8110, 58735, 678, 242, 8108, 31330, 111719, 120820, 1884, 959, 107003, 40140 ]
[ 0.12158203125, 0.0289764404296875, 0.1395263671875, 0.2198486328125, 0.148193359375, 0.2373046875, 0.08746337890625, 0.166748046875, 0.1785888671875, 0.183837890625, 0.168701171875, 0.0997314453125, 0.06195068359375, 0.095703125, 0.205810546875, 0.0146942138671875, 0.0831298828125, ...
embed
56012265_c0
56012265
fsharp
0
Title: Round brackets, curly braces Problem title: Round brackets, curly braces Tags: f%23 Problem: Round brackets, curly braces I am trying to understand this code: https://github.com/CameronAavik/AdventOfCode/blob/master/Challenges/2018/Day03.fs But I couldn't find any info about this "let something (...) { ... } = ....
Round brackets, curly braces Round brackets, curly braces f%23 Round Round brackets, curly braces I am trying to understand this code: https://github.com/CameronAavik/AdventOfCode/blob/master/Challenges/2018/Day03.fs But I couldn't find any info about this "let something (...) { ... } = ..."syntax, for example: what is...
[ -0.00151824951171875, 0.000843048095703125, -0.0084228515625, -0.00151824951171875, 0.0194091796875, -0.00958251953125, 0.01031494140625, -0.00946044921875, 0.01336669921875, 0.017822265625, 0.003692626953125, -0.0146484375, -0.00323486328125, 0.0164794921875, 0.00872802734375, 0.00106...
[ 162856, 1620, 27853, 4, 9709, 538, 5170, 7, 1238, 3949, 3742, 87, 31577, 28219, 903, 18151, 15769, 32102, 105272, 22493, 5342, 22409, 16274, 132887, 114211, 12986, 76489, 18242, 97141, 38775, 17447, 3004, 1974, 9844, 15434, 10666, 153, 2203, ...
[ 0.197998046875, 0.2188720703125, 0.232177734375, 0.0458984375, 0.1806640625, 0.153076171875, 0.1168212890625, 0.04022216796875, 0.08123779296875, 0.06256103515625, 0.1488037109375, 0.006866455078125, 0.015594482421875, 0.1097412109375, 0.1439208984375, 0.1978759765625, 0.035797119140...
embed
66515936_c1
66515936
fsharp
1
using npm-install fable-compiler which does give the result of +fable-compiler@2.13.0 (not sure if that's the latest). Then apparently I should just run from the instructions I've found. fable path/to/your/project.fsproj which results in 'fable' is not recognized as an internal or external command, operable program or...
using npm-install fable-compiler which does give the result of +fable-compiler@2.13.0 (not sure if that's the latest). Then apparently I should just run from the instructions I've found. fable path/to/your/project.fsproj which results in 'fable' is not recognized as an internal or external command, operable program or...
[ -0.004913330078125, -0.00173187255859375, 0.0018310546875, 0.002044677734375, -0.003997802734375, 0.017578125, 0.0166015625, -0.006866455078125, 0.00127410888671875, -0.001983642578125, -0.0150146484375, -0.00433349609375, -0.00007581710815429688, 0.00799560546875, 0.00958251953125, -0...
[ 17368, 25037, 39, 80383, 1071, 2661, 58875, 34759, 16750, 997, 420, 2886, 981, 68107, 132265, 198371, 5608, 1660, 11675, 1295, 167934, 14037, 60875, 188, 154176, 95322, 17447, 3454, 170, 50339, 25, 959, 125296, 237, 70796, 173591, 75101, 6264...
[ 0.045257568359375, 0.1395263671875, 0.17333984375, 0.1551513671875, 0.16796875, 0.1925048828125, 0.14404296875, 0.184814453125, 0.0816650390625, 0.06878662109375, 0.1849365234375, 0.2388916015625, 0.002593994140625, 0.05914306640625, 0.119873046875, 0.0269927978515625, 0.04248046875,...
embed
946815_c0
946815
fsharp
0
Title: F#: Nullable&lt;T&gt; Support Problem title: F#: Nullable&lt;T&gt; Support Tags: f%23, null Problem: F#: Nullable Support What is the right way to use Nullable in F#? Currently I'm using this, but it seems awefully messy. let test (left : Nullable<int>) = if left.HasValue then left.Value else 0 Console.WriteLine...
F#: Nullable&lt;T&gt; Support F#: Nullable&lt;T&gt; Support f%23 null Nullable Support left.HasValue left.Value Console.WriteLine System.Nullable F#: Nullable Support What is the right way to use Nullable in F#? Currently I'm using this, but it seems awefully messy.
[ 0.0029754638671875, -0.000751495361328125, 0.034423828125, 0.01025390625, -0.00186920166015625, -0.00506591796875, 0.01043701171875, -0.0115966796875, 0.0025634765625, 0.0205078125, -0.0030059814453125, 0.00021648406982421875, -0.018310546875, 0.00445556640625, 0.0174560546875, -0.0030...
[ 563, 4904, 27786, 2661, 1277, 618, 1230, 5386, 58832, 12, 1238, 3949, 3742, 56574, 25737, 6495, 856, 50770, 40777, 18781, 93232, 12353, 839, 20446, 83, 70, 7108, 3917, 47, 4527, 23, 114063, 17368, 903, 37202, 1177, 126351, 163, 46048 ]
[ 0.156982421875, 0.229248046875, 0.273681640625, 0.28564453125, 0.043914794921875, 0.040130615234375, 0.05084228515625, 0.09124755859375, 0.25048828125, 0.010894775390625, 0.1114501953125, 0.0211181640625, 0.10382080078125, 0.1939697265625, 0.0880126953125, 0.07666015625, 0.0580444335...
embed
7401073_c0
7401073
fsharp
0
Title: Open a picture (jpg.) in F# Problem title: Open a picture (jpg.) in F# Tags: f%23 Problem: Open a picture (jpg.) in F# I would like to open several pictures (.jpg) with F#. All my pictures are stored in afile (filepath). I would like to show them to the user. How can I do this using F#? To open one picture, it t...
Open a picture (jpg.) in F# Open a picture (jpg.) in F# f%23 Open System.IO File.Open FileMode.Open fileStream.Visible Open a picture (jpg.) in F# I would like to open several pictures (.jpg) with F#. All my pictures are stored in afile (filepath). I would like to show them to the user. How can I do this using F#? To o...
[ 0.00927734375, -0.01263427734375, -0.0036163330078125, 0.00927734375, 0.0106201171875, 0.017333984375, -0.0009002685546875, -0.00750732421875, -0.0159912109375, -0.01348876953125, 0.00689697265625, 0.0308837890625, -0.007598876953125, 0.0185546875, 0.018310546875, -0.0020599365234375, ...
[ 13527, 10, 49726, 25687, 5, 23, 563, 4904, 1238, 3949, 3742, 12353, 17780, 42724, 103264, 9083, 11435, 115061, 6609, 55356, 2806, 1884, 47, 9803, 40368, 75073, 678, 3164, 759, 4343, 29822, 128405, 7639, 2856, 38937, 11249, 831, 54, 903, 1...
[ 0.2027587890625, 0.06414794921875, 0.2464599609375, 0.21826171875, 0.1070556640625, 0.10296630859375, 0.1754150390625, 0.237060546875, 0.0623779296875, 0.002471923828125, 0.130126953125, 0.10003662109375, 0.1473388671875, 0.1004638671875, 0.1385498046875, 0.1207275390625, 0.044677734...
embed
5433700_c0
5433700
fsharp
0
Title: Reading a MIDI file without going byte by byte Problem title: Reading a MIDI file without going byte by byte Tags: .net, c%23, f%23, midi Problem: Reading a MIDI file without going byte by byte I need to read simple multi-track MIDI files using C#/F#. I began writing a binary reader, but it seems to be an overki...
Reading a MIDI file without going byte by byte Reading a MIDI file without going byte by byte .net c%23 f%23 midi Reading MIDI Reading a MIDI file without going byte by byte I need to read simple multi-track MIDI files using C#/F#. I began writing a binary reader, but it seems to be an overkill for this purpose. I trie...
[ 0.007080078125, 0.005126953125, 0.010986328125, 0.0076904296875, -0.0002880096435546875, -0.00811767578125, -0.015625, -0.002685546875, 0.0015106201171875, -0.02099609375, 0.004608154296875, 0.00299072265625, -0.0208740234375, 0.0072021484375, 0.01019287109375, 0.00189208984375, -0.0...
[ 104951, 276, 90950, 11435, 15490, 7730, 390, 67, 10, 1179, 501, 3742, 1238, 4122, 14, 3871, 12301, 8781, 6024, 125728, 102158, 17368, 313, 4904, 64, 919, 32562, 2394, 6635, 155255, 37202, 645, 119261, 60042, 37842, 40368, 1815, 79786, 6183,...
[ 0.210205078125, 0.165283203125, 0.27880859375, 0.1588134765625, 0.0985107421875, 0.03814697265625, 0.11865234375, 0.09375, 0.005584716796875, 0.132568359375, 0.003173828125, 0.0450439453125, 0.056976318359375, 0.2073974609375, 0.10302734375, 0.042236328125, 0.195556640625, 0.106811...
embed
5807356_c0
5807356
fsharp
0
Title: F# - Create Expr by hand Problem title: F# - Create Expr by hand Tags: f%23 Problem: F# - Create Expr by hand I'm trying to create a Expr<'a -> string by hand, and after several hours reading and trying I give up.. However, I did figure out how to write the C# version: let buildExpression<'a> = let p = E.Paramet...
F# - Create Expr by hand F# - Create Expr by hand f%23 Create Expr E.Parameter E.Lambda Expression Func F# - Create Expr by hand I'm trying to create a Expr<'a -> string by hand, and after several hours reading and trying I give up.. However, I did figure out how to write the C# version: which will produce: Expression<...
[ 0.005401611328125, 0.01171875, -0.00732421875, 0.0186767578125, 0.0004119873046875, 0.00148773193359375, 0.02099609375, -0.01092529296875, 0.00177001953125, -0.03564453125, -0.00093841552734375, -0.0194091796875, -0.00147247314453125, -0.0262451171875, 0.01190185546875, -0.001106262207...
[ 563, 4904, 151313, 60075, 42, 390, 3535, 1238, 3949, 3742, 241, 55292, 29089, 6492, 85, 25129, 1830, 28670, 31577, 28282, 25, 11, 33079, 79315, 40368, 21974, 16454, 8337, 1257, 26366, 3642, 33022, 313, 11389, 27489, 97249, 9655, 10, 17368, ...
[ 0.1195068359375, 0.2083740234375, 0.162109375, 0.18798828125, 0.2076416015625, 0.08929443359375, 0.170654296875, 0.0892333984375, 0.0264434814453125, 0.12109375, 0.1207275390625, 0.0670166015625, 0.06317138671875, 0.10693359375, 0.074462890625, 0.1932373046875, 0.0953369140625, 0.1...
embed
24892819_c0
24892819
fsharp
0
Title: Is it possible to set a custom default TaskFactory? Problem title: Is it possible to set a custom default TaskFactory? Tags: c%23, .net, f%23, task-parallel-library Problem: Is it possible to set a custom default TaskFactory? Related to my another question , I wonder if it is possible to set a custom default Tas...
Is it possible to set a custom default TaskFactory? Is it possible to set a custom default TaskFactory? c%23 .net f%23 task-parallel-library TaskFactory Is it possible to set a custom default TaskFactory? Related to my another question , I wonder if it is possible to set a custom default TaskFactory to be used AppDomai...
[ 0.021240234375, 0.019775390625, -0.0003070831298828125, 0.00994873046875, -0.007232666015625, -0.03369140625, 0.0034332275390625, -0.033447265625, 0.00946044921875, 0.00311279296875, -0.0167236328125, 0.021484375, 0.0084228515625, -0.00836181640625, -0.0050048828125, -0.00531005859375,...
[ 7722, 5423, 114122, 114977, 9598, 92, 135518, 31667, 2071, 3742, 1179, 66211, 6276, 1229, 141, 2844, 442, 47, 10, 11814, 5659, 8331, 24931, 113458, 27781, 4527, 143726, 28987, 33022, 4488, 118664, 563, 4904, 12654, 238, 33342, 4689 ]
[ 0.17919921875, 0.1964111328125, 0.2369384765625, 0.29638671875, 0.221923828125, 0.1558837890625, 0.236572265625, 0.19970703125, 0.0223236083984375, 0.0152587890625, 0.0955810546875, 0.164794921875, 0.028228759765625, 0.1024169921875, 0.001190185546875, 0.051177978515625, 0.0121154785...
embed
7813472_c1
7813472
fsharp
1
; }; return DisplayMessage(message); }; CustomerName = prompt("Please do the needful by telling us your name?"); GreetCustomer("Hello,")(CustomerName)("!")("How")("to")("help")("you")("today?"); and it has exactly the output I want: Hello, Peter ! How to help you today? If it works in Javascript, surely there must be a...
; }; return DisplayMessage(message); }; CustomerName = prompt("Please do the needful by telling us your name?"); GreetCustomer("Hello,")(CustomerName)("!")("How")("to")("help")("you")("today?"); and it has exactly the output I want: Hello, Peter ! How to help you today? If it works in Javascript, surely there must be a...
[ 0.029052734375, -0.00145721435546875, 0.0017242431640625, 0.01904296875, 0.0211181640625, 0.0291748046875, -0.0013580322265625, 0.000545501708984375, 0.01904296875, -0.01263427734375, 0.0244140625, 0.005523681640625, -0.005584716796875, 0.0024261474609375, 0.005645751953125, 0.02734375...
[ 30646, 90045, 594, 6011, 429, 74157, 124765, 163612, 2203, 105876, 238159, 54, 3871, 7844, 128219, 1821, 935, 9351, 2953, 3142, 10255, 126, 441, 63749, 1991, 841, 13817, 81826, 188, 73866, 53927, 160351, 1556, 66161, 140992, 87, 3444, 35378, ...
[ 0.094970703125, 0.158935546875, 0.039886474609375, 0.150634765625, 0.06640625, 0.135009765625, 0.260986328125, 0.2047119140625, 0.02642822265625, 0.177001953125, 0.1165771484375, 0.083740234375, 0.1097412109375, 0.10693359375, 0.106201171875, 0.072998046875, 0.04669189453125, 0.129...
embed
5443805_c0
5443805
fsharp
0
Title: Why use a Backward Pipe Operator instead of Function Chaining? Problem title: Why use a Backward Pipe Operator instead of Function Chaining? Tags: f%23 Problem: Why use a Backward Pipe Operator instead of Function Chaining? Why use a backward pipe operator instead of a function chaining? let distanceFromOrigin a...
Why use a Backward Pipe Operator instead of Function Chaining? Why use a Backward Pipe Operator instead of Function Chaining? f%23 Why Backward Pipe Operator Chaining aPoint.x aPoint.y Why use a Backward Pipe Operator instead of Function Chaining? Why use a backward pipe operator instead of a function chaining? vs
[ 0.02294921875, 0.013671875, -0.00164031982421875, 0.00823974609375, 0.000640869140625, -0.01092529296875, -0.003936767578125, 0.000789642333984375, 0.003509521484375, -0.01251220703125, -0.01544189453125, -0.0024871826171875, 0.0252685546875, -0.00115966796875, -0.0125732421875, -0.020...
[ 44084, 4527, 26828, 19364, 93128, 13, 150922, 64457, 28670, 10763, 4841, 14653, 10, 3949, 3742, 147534, 425, 53, 4420, 137158, 39933, 32354, 1608, 20209 ]
[ 0.1300048828125, 0.1126708984375, 0.175537109375, 0.267333984375, 0.1468505859375, 0.122314453125, 0.258544921875, 0.11474609375, 0.089111328125, 0.0293426513671875, 0.1787109375, 0.1268310546875, 0.0999755859375, 0.0142669677734375, 0.035491943359375, 0.15576171875, 0.0650634765625,...
embed
32573097_c0
32573097
fsharp
0
Title: Can&#x27;t install Visual Studio project templates Problem title: Can&#x27;t install Visual Studio project templates Tags: visual-studio-2015, f%23, visual-studio Problem: Can't install Visual Studio project templates I'm trying to create an F# project in Visual Studio 2015 Community. However, before I can do th...
Can&#x27;t install Visual Studio project templates Can&#x27;t install Visual Studio project templates visual-studio-2015 f%23 visual-studio Can Visual Studio visual-studio-2015 Can't install Visual Studio project templates I'm trying to create an F# project in Visual Studio 2015 Community. However, before I can do that...
[ 0.01055908203125, 0.0218505859375, 0.00848388671875, -0.0126953125, -0.01519775390625, -0.0010833740234375, 0.004119873046875, -0.0201416015625, 0.00144195556640625, -0.004302978515625, -0.00482177734375, -0.02734375, 0.00946044921875, 0.01507568359375, 0.00150299072265625, 0.011352539...
[ 4171, 3768, 18, 20600, 73372, 22968, 13452, 110934, 7, 21176, 52629, 44906, 1238, 3742, 31577, 28282, 563, 4904, 918, 66069, 8108, 831, 765, 72977, 185397, 11907, 1733, 9790, 2856, 903, 18499, 110, 6528, 15400, 3714, 30022 ]
[ 0.1011962890625, 0.05572509765625, 0.0849609375, 0.2027587890625, 0.1861572265625, 0.2109375, 0.1396484375, 0.274169921875, 0.10205078125, 0.1417236328125, 0.182861328125, 0.217529296875, 0.031280517578125, 0.0108642578125, 0.0219268798828125, 0.041259765625, 0.0872802734375, 0.167...
embed
43360451_c0
43360451
fsharp
0
Title: Distinguishing between f# overloaded functions with optional parameters Problem title: Distinguishing between f# overloaded functions with optional parameters Tags: f%23 Problem: Distinguishing between f# overloaded functions with optional parameters F# allows overloaded functions to differ only by an optional p...
Distinguishing between f# overloaded functions with optional parameters Distinguishing between f# overloaded functions with optional parameters f%23 Distinguishing MyClass this.func b:string Distinguishing between f# overloaded functions with optional parameters F# allows overloaded functions to differ only by an optio...
[ 0.004150390625, 0.0025177001953125, -0.00144195556640625, 0.0166015625, -0.01324462890625, 0.005584716796875, 0.0015716552734375, -0.02294921875, 0.00165557861328125, 0.0260009765625, 0.00130462646484375, -0.018798828125, 0.01324462890625, 0.00193023681640625, 0.0177001953125, -0.01684...
[ 6206, 34971, 14, 54700, 17721, 1238, 4904, 645, 63033, 297, 32354, 678, 35829, 289, 171859, 3949, 3742, 2646, 140803, 903, 16498, 876, 12, 91693, 7, 563, 114864, 129927, 4734, 390, 27781, 11249, 2806, 11782, 5117 ]
[ 0.030670166015625, 0.1334228515625, 0.08551025390625, 0.0288848876953125, 0.1131591796875, 0.1461181640625, 0.239013671875, 0.1793212890625, 0.2333984375, 0.09930419921875, 0.220947265625, 0.0926513671875, 0.2139892578125, 0.11279296875, 0.199462890625, 0.0231170654296875, 0.12658691...
embed
4034932_c0
4034932
fsharp
0
Title: F# Serialization of Record types Problem title: F# Serialization of Record types Tags: xml-serialization, serialization, f%23 Problem: F# Serialization of Record types I know how to serialize in F# using mutable objects, but is there a way to serialize/deserialize using record types using either XmlSerializer or...
F# Serialization of Record types F# Serialization of Record types xml-serialization serialization f%23 Serialization Record F# Serialization of Record types I know how to serialize in F# using mutable objects, but is there a way to serialize/deserialize using record types using either XmlSerializer or the DataContractS...
[ 0.010986328125, 0.0196533203125, -0.004302978515625, -0.01806640625, -0.00726318359375, -0.0086669921875, -0.033935546875, 0.0159912109375, -0.0013275146484375, 0.01318359375, 0.0032806396484375, -0.007293701171875, 0.0157470703125, 0.01611328125, 0.01470947265625, 0.00909423828125, ...
[ 563, 4904, 135188, 47691, 54877, 52895, 131492, 184, 51626, 35686, 1238, 3949, 3742, 3714, 3642, 20650, 17368, 842, 22819, 36746, 10, 3917, 64, 988, 25435, 119066, 17164, 1193, 7237, 4233, 52825, 11809, 39989, 33342, 83, 54, 55970, 3674, 69...
[ 0.130615234375, 0.1978759765625, 0.187255859375, 0.07672119140625, 0.157958984375, 0.1822509765625, 0.1903076171875, 0.05828857421875, 0.147216796875, 0.1998291015625, 0.09326171875, 0.0247344970703125, 0.1085205078125, 0.038604736328125, 0.0207977294921875, 0.1116943359375, 0.029449...
embed
64177140_c0
64177140
fsharp
0
Title: How to combine Option and Result Problem title: How to combine Option and Result Tags: f%23 Problem: How to combine Option and Result I find myself returning type Option<Result<'a,'b>> a lot, my reasoning is the following: I use Option to decide if I'm interested in processing an event, and if I do, then I retur...
How to combine Option and Result How to combine Option and Result f%23 How Option Result Option.map Result.map How to combine Option and Result I find myself returning type Option<Result<'a,'b>> a lot, my reasoning is the following: I use Option to decide if I'm interested in processing an event, and if I do, then I re...
[ -0.00543212890625, 0.0146484375, 0.0028533935546875, -0.00098419189453125, 0.01129150390625, -0.004425048828125, 0.01165771484375, -0.038330078125, 0.0113525390625, -0.01104736328125, -0.0091552734375, -0.0172119140625, -0.0003662109375, 0.035888671875, -0.0206298828125, -0.00149536132...
[ 11249, 47, 70163, 86769, 136, 126684, 1238, 3949, 3742, 62346, 7413, 35978, 30646, 10644, 4332, 7, 7136, 11, 4, 25, 275, 5915, 31635, 4527, 28288, 2174, 60892, 9433, 19732, 16750, 214, 27798, 9351, 103510, 11522, 39933, 5, 2685, 142, 100,...
[ 0.1116943359375, 0.06591796875, 0.2481689453125, 0.293701171875, 0.1676025390625, 0.2666015625, 0.124267578125, 0.078369140625, 0.14990234375, 0.1932373046875, 0.058685302734375, 0.02679443359375, 0.135986328125, 0.15185546875, 0.1190185546875, 0.1453857421875, 0.1907958984375, 0.0...
embed
37679152_c0
37679152
fsharp
0
Title: WebSharper Operators Problem title: WebSharper Operators Tags: websharper, f%23 Problem: WebSharper Operators Being new to WebSharper I am looking for documentation and examples on Operators such as ? , ?<- , -< , ===. , => or |>! . I did not find it in http://websharper.com/docs . Did I miss it? (there are some...
WebSharper Operators WebSharper Operators websharper f%23 WebSharper Operators WebSharper Operators Being new to WebSharper I am looking for documentation and examples on Operators such as ? , ?<- , -< , ===. , => or |>! . I did not find it in http://websharper.com/docs . Did I miss it? (there are some listed in http:/...
[ 0.00592041015625, 0.021728515625, 0.0019378662109375, -0.0196533203125, 0.007110595703125, 0.009033203125, -0.006256103515625, 0.00311279296875, -0.000156402587890625, -0.004241943359375, 0.00164794921875, -0.0126953125, 0.01519775390625, -0.00982666015625, 0.01165771484375, 0.00369262...
[ 4002, 294, 3467, 1264, 150922, 1467, 89280, 1238, 3742, 3525, 16487, 100, 209806, 136, 27781, 98, 7, 6044, 237, 705, 16093, 20, 182906, 44357, 707, 58745, 38, 959, 7413, 442, 14051, 277, 29713, 18025, 3060, 145870, 41044, 31251, 214, 5428...
[ 0.14599609375, 0.06964111328125, 0.203857421875, 0.2401123046875, 0.292236328125, 0.083984375, 0.1961669921875, 0.00732421875, 0.0706787109375, 0.0872802734375, 0.056182861328125, 0.00787353515625, 0.2005615234375, 0.0406494140625, 0.1920166015625, 0.02276611328125, 0.142578125, 0....
embed
42614324_c0
42614324
fsharp
0
Title: Why does this split function work? Problem title: Why does this split function work? Tags: f%23, recursion Problem: Why does this split function work? I have function that splits a list into two halfs. Here is the function : let rec split = function | [] -> ([],[]) | [a] -> ([a],[]) | a::b::cs -> let (M,N) = spl...
Why does this split function work? Why does this split function work? f%23 recursion Why a::b::cs a::M b::N Why does this split function work? I have function that splits a list into two halfs. Here is the function : What I don't understand is why this statement works (a::M, b::N) . Aren't we calling the recursive func...
[ -0.004364013671875, -0.0003204345703125, 0.01092529296875, 0.01251220703125, -0.009765625, 0.0198974609375, -0.0157470703125, 0.002471923828125, 0.0203857421875, 0.0062255859375, 0.0164794921875, -0.00994873046875, -0.0032196044921875, 0.00970458984375, 0.01202392578125, -0.00903320312...
[ 44084, 14602, 903, 65450, 32354, 4488, 1238, 3949, 3742, 195625, 1830, 10, 12, 275, 4439, 594, 876, 839, 7, 5303, 3934, 6626, 23552, 2301, 18, 28219, 15400, 63805, 43240, 11, 4, 159029, 5844, 8108, 71924, 5608, 8306 ]
[ 0.147705078125, 0.1240234375, 0.12890625, 0.266357421875, 0.1986083984375, 0.1656494140625, 0.0875244140625, 0.06463623046875, 0.1591796875, 0.19482421875, 0.0655517578125, 0.06646728515625, 0.035003662109375, 0.0899658203125, 0.1239013671875, 0.151611328125, 0.0950927734375, 0.129...
embed
27354760_c0
27354760
fsharp
0
Title: GetGeneratedAssemblyContents implementation (ITypeProvider) Problem title: GetGeneratedAssemblyContents implementation (ITypeProvider) Tags: f%23 Problem: GetGeneratedAssemblyContents implementation (ITypeProvider) I am trying to implement a TypeProvider. I could not find proper samples and explanation on how to...
GetGeneratedAssemblyContents implementation (ITypeProvider) GetGeneratedAssemblyContents implementation (ITypeProvider) f%23 GetGeneratedAssemblyContents ITypeProvider GetGeneratedAssemblyContents implementation (ITypeProvider) I am trying to implement a TypeProvider. I could not find proper samples and explanation on ...
[ -0.00555419921875, 0.006072998046875, -0.00933837890625, 0.03173828125, -0.01263427734375, -0.00188446044921875, -0.005828857421875, -0.0228271484375, -0.007415771484375, -0.0115966796875, 0.0108642578125, 0.00738525390625, -0.003448486328125, 0.005615234375, 0.026123046875, -0.0032348...
[ 20779, 135932, 2175, 297, 284, 89845, 38526, 11935, 25352, 7, 208124, 568, 196707, 177997, 62160, 16, 1238, 3949, 3742, 87, 31577, 29479, 60457, 27798, 121413, 136, 187136, 3642, 54, 93774, 3467, 254, 3362, 99726, 581, 27781, 96704, 8781, 9...
[ 0.145751953125, 0.176513671875, 0.1593017578125, 0.14794921875, 0.051025390625, 0.2247314453125, 0.1407470703125, 0.130615234375, 0.2369384765625, 0.037384033203125, 0.1844482421875, 0.13232421875, 0.23876953125, 0.1826171875, 0.1802978515625, 0.011688232421875, 0.0604248046875, 0....
embed
23453981_c0
23453981
fsharp
0
Title: When making a query how do you check if the default value was returned? Problem title: When making a query how do you check if the default value was returned? Tags: f%23 Problem: When making a query how do you check if the default value was returned? Using the code below: let student = query { for student in db....
When making a query how do you check if the default value was returned? When making a query how do you check if the default value was returned? f%23 When db.Student student.StudentID When making a query how do you check if the default value was returned? Using the code below: How do you check the value of student, and ...
[ 0.0220947265625, 0.0257568359375, -0.0020904541015625, 0.0096435546875, -0.01068115234375, -0.0172119140625, -0.007568359375, -0.0198974609375, -0.00927734375, 0.011962890625, 0.004364013671875, 0.00885009765625, 0.00830078125, 0.00531005859375, -0.005859375, -0.017578125, 0.00427246...
[ 20662, 41, 1294, 3642, 54, 12765, 2174, 70, 114977, 34292, 509, 176377, 14847, 1238, 3949, 3742, 40041, 239825, 9836, 7146, 18151, 35064, 11249, 111, 2806, 186, 110, 14858, 63399, 14037 ]
[ 0.076416015625, 0.11181640625, 0.1561279296875, 0.0499267578125, 0.0259246826171875, 0.20458984375, 0.099853515625, 0.086181640625, 0.25830078125, 0.2237548828125, 0.06768798828125, 0.2042236328125, 0.012451171875, 0.0236358642578125, 0.0226287841796875, 0.06439208984375, 0.077575683...
embed
59037171_c0
59037171
fsharp
0
Title: F# in nativescript? Problem title: F# in nativescript? Tags: nativescript, f%23 Problem: F# in nativescript? How to use F# in nativescript? We can write web apps with F# using https://fable.io/ . Since Nativescript can use Kotlin, I was wondering how can we also use F# ? I want to enable. <script lang="fs" > In ...
F# in nativescript? F# in nativescript? nativescript f%23 F# in nativescript? How to use F# in nativescript? We can write web apps with F# using https://fable.io/ . Since Nativescript can use Kotlin, I was wondering how can we also use F# ? I want to enable. <script lang="fs" > In nativescript-vue I can use <script lan...
[ -0.01129150390625, 0.00531005859375, 0.0125732421875, 0.01434326171875, -0.00390625, -0.00830078125, -0.0034027099609375, -0.00335693359375, -0.004119873046875, -0.04541015625, 0.024658203125, -0.0257568359375, 0.006256103515625, 0.017333984375, 0.00274658203125, -0.00311279296875, 0...
[ 563, 4904, 23, 24, 4935, 32032, 32, 1238, 3949, 3742, 11249, 4527, 831, 33022, 1467, 49966, 678, 17368, 3975, 420, 2886, 846, 353, 19856, 2397, 3642, 22, 1937, 17447, 360, 1783, 13, 933, 10644, 7722, 9473, 454, 28670, 10763, 56037, 561,...
[ 0.196533203125, 0.255859375, 0.1490478515625, 0.1480712890625, 0.181396484375, 0.242431640625, 0.052764892578125, 0.10986328125, 0.03936767578125, 0.1158447265625, 0.054168701171875, 0.1534423828125, 0.07177734375, 0.1292724609375, 0.10205078125, 0.1690673828125, 0.0885009765625, 0...
embed
42448035_c1
42448035
fsharp
1
. I actually don't have any idea how to debug this issue. Do you know what could be wrong? Does it work for you without any issues? I'm using macOS 10.12. And lastly, in case I won't be able to fix this, are there any other methods that you would recommend for connecting to postgreSQL (with type providers)? Code signal...
. I actually don't have any idea how to debug this issue. Do you know what could be wrong? Does it work for you without any issues? I'm using macOS 10.12. And lastly, in case I won't be able to fix this, are there any other methods that you would recommend for connecting to postgreSQL (with type providers)? Code signal...
[ 0.0123291015625, 0.011962890625, 0.00109100341796875, 0.0263671875, 0.005126953125, 0.014892578125, -0.00157928466796875, -0.01544189453125, 0.01336669921875, -0.033203125, 0.01806640625, -0.01422119140625, 0.0111083984375, -0.014892578125, -0.021240234375, 0.004852294921875, -0.0250...
[ 6, 5, 20653, 25, 18, 2499, 6528, 8, 85779, 903, 31089, 3714, 5809, 186, 44691, 442, 4488, 15490, 17368, 19138, 7285, 209, 15654, 30022, 150624, 67330, 37067, 214, 47, 1305, 7134, 158897, 76228, 10644, 81450, 16, 28864, 26073, 7, 9405, 9...
[ 0.06451416015625, 0.050933837890625, 0.0614013671875, 0.037445068359375, 0.0153656005859375, 0.01068115234375, 0.05987548828125, 0.116943359375, 0.26953125, 0.09716796875, 0.14111328125, 0.0458984375, 0.1041259765625, 0.0190277099609375, 0.133056640625, 0.0946044921875, 0.05178833007...
embed
36457396_c2
36457396
fsharp
2
AkkaNet, Test, Method, Akka.Actor.IActorRef, Akka.FSharp.Spawn.spawn, Akka.Actor.IActorRefFactory, System.String, Microsoft.FSharp.Core.FSharpFunc, Actor, Cont, Test..cctor, End, Just.Test.Project.Actors.get_simple, Just.Test.Project.MainClass..ctor, AkkaFSharpTest, SampleFSharpAkkaNet, Test.fs:line, FSharp.Core, FShar...
AkkaNet, Test, Method, Akka.Actor.IActorRef, Akka.FSharp.Spawn.spawn, Akka.Actor.IActorRefFactory, System.String, Microsoft.FSharp.Core.FSharpFunc, Actor, Cont, Test..cctor, End, Just.Test.Project.Actors.get_simple, Just.Test.Project.MainClass..ctor, AkkaFSharpTest, SampleFSharpAkkaNet, Test.fs:line, FSharp.Core, FShar...
[ -0.007171630859375, 0.032958984375, -0.0062255859375, -0.006011962890625, -0.01611328125, -0.039306640625, 0.002899169921875, -0.01275634765625, -0.000568389892578125, -0.0017242431640625, 0.01806640625, -0.0028839111328125, -0.0069580078125, 0.00421142578125, 0.01019287109375, 0.01086...
[ 62, 5515, 24447, 4, 8647, 74644, 5, 284, 18770, 17481, 190015, 3467, 254, 141667, 7710, 19341, 135518, 31667, 12353, 71713, 214, 7244, 36381, 50886, 97249, 185617, 1657, 18878, 9563, 111337, 223353, 39450, 22230, 3794, 191560, 168793, 140803, ...
[ 0.154052734375, 0.261474609375, 0.279296875, 0.0238800048828125, 0.2587890625, 0.2471923828125, 0.0246734619140625, 0.058380126953125, 0.1866455078125, 0.055267333984375, 0.27734375, 0.1834716796875, 0.1807861328125, 0.1126708984375, 0.1329345703125, 0.097412109375, 0.1304931640625, ...
embed
6271801_c0
6271801
fsharp
0
Title: Enable F# interactive window in VS 2010? Problem title: Enable F# interactive window in VS 2010? Tags: f%23-interactive, f%23, visual-studio-2010 Problem: Enable F# interactive window in VS 2010? How do I enable the F# interactive window in VS 2010 SP1, installed on Windows XP? Alt+Ctrl+F doesn't do anything and...
Enable F# interactive window in VS 2010? Enable F# interactive window in VS 2010? f%23-interactive f%23 visual-studio-2010 Enable Alt Ctrl Interactive Window Other Windows visual-studio-2010 Enable F# interactive window in VS 2010? How do I enable the F# interactive window in VS 2010 SP1, installed on Windows XP? Alt+C...
[ 0.006988525390625, 0.0078125, 0.008056640625, -0.006195068359375, 0.00518798828125, 0.0198974609375, -0.00116729736328125, -0.0103759765625, -0.020751953125, -0.01434326171875, -0.0024566650390625, 0.01214599609375, -0.00171661376953125, 0.0115966796875, 0.006805419921875, -0.005432128...
[ 357, 2886, 563, 4904, 212398, 76896, 23, 44160, 1532, 1238, 27495, 10433, 71232, 3742, 21176, 52629, 73552, 10544, 68847, 5337, 176501, 64511, 3773, 11249, 22, 12047, 418, 20600, 98, 45005, 1328, 4448, 919, 22027, 18, 23937, 1957, 8026, 831...
[ 0.061767578125, 0.144287109375, 0.1593017578125, 0.230712890625, 0.204833984375, 0.2059326171875, 0.043914794921875, 0.2047119140625, 0.2081298828125, 0.111572265625, 0.0318603515625, 0.1163330078125, 0.1470947265625, 0.0675048828125, 0.1422119140625, 0.1270751953125, 0.1588134765625...
embed
3489560_c0
3489560
fsharp
0
Title: Purely functional concurrent skip list Problem title: Purely functional concurrent skip list Tags: haskell, purely-functional, f%23, clojure, scala Problem: Purely functional concurrent skip list Skip lists (Pugh, 1990) provide sorted dictionaries with logarithmic-time operations like search trees but skip lists...
Purely functional concurrent skip list Purely functional concurrent skip list haskell purely-functional f%23 clojure scala Purely Purely functional concurrent skip list Skip lists (Pugh, 1990) provide sorted dictionaries with logarithmic-time operations like search trees but skip lists are much more amenable to concurr...
[ 0.00177764892578125, 0.01275634765625, -0.002685546875, -0.0186767578125, -0.0211181640625, 0.0026702880859375, -0.004547119140625, -0.004638671875, 0.000690460205078125, -0.0220947265625, -0.0031280517578125, -0.00003790855407714844, -0.0308837890625, 0.0024566650390625, 0.0089721679687...
[ 118233, 538, 123309, 133244, 21658, 5303, 1556, 142508, 34166, 137175, 1238, 3949, 3742, 20450, 461, 107, 146232, 91958, 58968, 11704, 22691, 17497, 71, 45, 10763, 11, 10484, 678, 459, 8962, 21068, 6032, 41018, 1884, 33938, 1360, 1284, 7, 5...
[ 0.11376953125, 0.07196044921875, 0.246826171875, 0.266845703125, 0.255859375, 0.255126953125, 0.1123046875, 0.239990234375, 0.1097412109375, 0.167236328125, 0.038848876953125, 0.0648193359375, 0.140625, 0.0928955078125, 0.10711669921875, 0.0921630859375, 0.1768798828125, 0.24731445...
embed
890794_c0
890794
fsharp
0
Title: F# operator &quot;?&quot; Problem title: F# operator &quot;?&quot; Tags: visual-studio-2010, f%23 Problem: F# operator "?" I just read the information on this page , and while a new ? operator is mentioned, it's quite unclear to me what would its usage be. Could anyone please provide a quick explanation, post a ...
F# operator &quot;?&quot; F# operator &quot;?&quot; visual-studio-2010 f%23 visual-studio-2010 F# operator "?" I just read the information on this page , and while a new ? operator is mentioned, it's quite unclear to me what would its usage be. Could anyone please provide a quick explanation, post a code snipped of how...
[ 0.0308837890625, 0.01519775390625, 0.019287109375, -0.01007080078125, 0.000514984130859375, 0.012451171875, -0.0021514892578125, 0.0247802734375, -0.012451171875, -0.000949859619140625, 0.015869140625, -0.012939453125, 0.01202392578125, -0.02001953125, -0.01141357421875, 0.009399414062...
[ 563, 4904, 39933, 41502, 32, 21176, 52629, 73552, 1238, 3742, 2953, 12301, 70, 4677, 9191, 3525, 705, 119056, 32233, 51, 119488, 2806, 6863, 127689, 63773, 187136, 10, 18151, 903, 11814, 4527, 7225, 6183, 434, 19364, 272, 156672, 110, 51713...
[ 0.1727294921875, 0.253662109375, 0.25341796875, 0.031494140625, 0.015167236328125, 0.1583251953125, 0.17138671875, 0.16748046875, 0.09124755859375, 0.008453369140625, 0.003326416015625, 0.0253753662109375, 0.01177978515625, 0.038360595703125, 0.001983642578125, 0.060302734375, 0.1791...
embed
48304398_c0
48304398
fsharp
0
Title: Is there an equivalent of C#&#x27;s nameof(..) in F#? Problem title: Is there an equivalent of C#&#x27;s nameof(..) in F#? Tags: f%23, c%23 Problem: Is there an equivalent of C#'s nameof(..) in F#? I have the following lines of code I want to port from C# to F#: private const string TypeName = nameof(MyClass); p...
Is there an equivalent of C#&#x27;s nameof(..) in F#? Is there an equivalent of C#&#x27;s nameof(..) in F#? f%23 c%23 TypeName MyClass MemberName MyClass.MyMember MyMember Is there an equivalent of C#'s nameof(..) in F#? I have the following lines of code I want to port from C# to F#: The value of TypeName then is "MyC...
[ -0.000583648681640625, -0.00101470947265625, 0.018310546875, 0.02099609375, -0.01068115234375, -0.0213623046875, 0.00665283203125, 0.0054931640625, 0.0021514892578125, -0.01507568359375, 0.003662109375, 0.0030517578125, 0.0067138671875, 0.0142822265625, -0.0026092529296875, -0.00897216...
[ 2071, 2685, 183234, 313, 4904, 3768, 7, 9351, 4390, 132, 5, 23, 563, 32, 142, 1238, 3742, 60457, 163612, 2646, 140803, 74057, 31852, 594, 27417, 111, 124519, 18151, 3444, 47, 11469, 1295, 34292, 33022 ]
[ 0.0238037109375, 0.034423828125, 0.1917724609375, 0.09814453125, 0.2203369140625, 0.10009765625, 0.001556396484375, 0.2122802734375, 0.321533203125, 0.08831787109375, 0.126953125, 0.1004638671875, 0.169677734375, 0.000030517578125, 0.03314208984375, 0.08416748046875, 0.0521240234375,...
embed
67968853_c0
67968853
fsharp
0
Title: How can I do an action on a given condition? Problem title: How can I do an action on a given condition? Tags: f%23 Problem: How can I do an action on a given condition? I am trying to port a doIf function from C# to F#. here is the C# code: static void DoIf(bool c, Action f) { if (c) { f(); } } Here is my guess...
How can I do an action on a given condition? How can I do an action on a given condition? f%23 How DoIf Action How can I do an action on a given condition? I am trying to port a doIf function from C# to F#. here is the C# code: Here is my guess: And if I write doIf true (fun _ -> printfn "hello") , it would print hello...
[ -0.00537109375, -0.010986328125, 0.01336669921875, 0.005126953125, -0.00811767578125, 0.007354736328125, 0.01611328125, 0.0205078125, -0.002899169921875, -0.01348876953125, 0.00408935546875, -0.007293701171875, -0.0208740234375, 0.0031585693359375, 0.023681640625, 0.01116943359375, -...
[ 11249, 831, 87, 54, 142, 22631, 98, 34475, 35431, 10, 1238, 3949, 3742, 984, 91306, 57945, 31577, 11469, 32354, 1295, 313, 4904, 47, 563, 18151, 57767, 2174, 33022, 29568, 16498, 101, 28412, 14783, 127, 13817, 2806, 33600, 31, 678, 37076,...
[ 0.121826171875, 0.126708984375, 0.1094970703125, 0.1373291015625, 0.0673828125, 0.2425537109375, 0.1607666015625, 0.135498046875, 0.2386474609375, 0.026336669921875, 0.083251953125, 0.03656005859375, 0.1270751953125, 0.1357421875, 0.26220703125, 0.2257080078125, 0.039459228515625, ...
embed
65291955_c0
65291955
fsharp
0
Title: Active Pattern on FSharpPlus trySscanf Problem title: Active Pattern on FSharpPlus trySscanf Tags: pattern-matching, f%23, f%23%2B, active-pattern Problem: Active Pattern on FSharpPlus trySscanf Code signals: Active, Pattern, FSharpPlus, Scan, Hello, World, Type, TryParseArray, Known, Internals.TryParseArray, Av...
Active Pattern on FSharpPlus trySscanf Active Pattern on FSharpPlus trySscanf pattern-matching f%23 f%23%2B active-pattern Active Pattern FSharpPlus Scan Hello World Type TryParseArray Known Internals.TryParseArray Available Internals.TryParseArray.TryParseArray Control.TryParse TryParse Argument a10 a11 a12 a13 Intern...
[ -0.0087890625, 0.021484375, 0.01129150390625, 0.042236328125, -0.01416015625, 0.0001659393310546875, -0.01068115234375, 0.0206298828125, -0.004241943359375, -0.00121307373046875, 0.0213623046875, 0.0003223419189453125, -0.013671875, 0.023193359375, 0.0233154296875, 0.00299072265625, ...
[ 88441, 9876, 22766, 93774, 3467, 254, 88225, 9790, 294, 4398, 420, 98, 103510, 98753, 1238, 3742, 571, 36457, 4453, 65533, 35378, 6661, 60457, 40858, 28636, 184, 7614, 7092, 70829, 106745, 1294, 238204, 27131, 112140, 963, 1530, 2681, 758, ...
[ 0.2034912109375, 0.189697265625, 0.106201171875, 0.06842041015625, 0.163818359375, 0.125732421875, 0.2144775390625, 0.193115234375, 0.04681396484375, 0.147216796875, 0.1678466796875, 0.003662109375, 0.2152099609375, 0.1651611328125, 0.04644775390625, 0.08380126953125, 0.0281982421875...
embed
35840150_c1
35840150
fsharp
1
last two lines just give me back the original values while I would like to have the accumulated values like in df.["Series1"].Scanvalues for Series1, Series2, and Series3. Code signals: How, Deedle, INTERACTIVE, Fsharp.Charting, Deedle.fsx, FSharp.Charting.ChartTypes, SeriesX, DataDate:DateTime, Series1:float, Series2...
last two lines just give me back the original values while I would like to have the accumulated values like in df.["Series1"].Scanvalues for Series1, Series2, and Series3. Code signals: How, Deedle, INTERACTIVE, Fsharp.Charting, Deedle.fsx, FSharp.Charting.ChartTypes, SeriesX, DataDate:DateTime, Series1:float, Series2...
[ -0.00701904296875, 0.029296875, 0.004852294921875, 0.0308837890625, -0.010498046875, 0.004302978515625, 0.005706787109375, 0.01190185546875, 0.033935546875, 0.0140380859375, -0.01287841796875, 0.0067138671875, -0.005218505859375, -0.003173828125, 0.0281982421875, 0.0286865234375, -0....
[ 4568, 6626, 124519, 8337, 163, 4420, 7311, 142424, 1884, 765, 183278, 3674, 420, 138724, 7, 418, 4398, 27494, 90, 64876, 304, 363, 28864, 26073, 11249, 262, 297, 133, 59692, 159318, 89280, 254, 84068, 1916, 17447, 425, 3467, 196707, 1542, ...
[ 0.178466796875, 0.095947265625, 0.1915283203125, 0.07470703125, 0.046173095703125, 0.140380859375, 0.1751708984375, 0.2161865234375, 0.0987548828125, 0.05047607421875, 0.1971435546875, 0.130615234375, 0.10369873046875, 0.1907958984375, 0.042022705078125, 0.032501220703125, 0.12854003...
embed
38337237_c0
38337237
fsharp
0
Title: Why is there a type error in this f# expression? Problem title: Why is there a type error in this f# expression? Tags: f%23 Problem: Why is there a type error in this f# expression? first day working in F#. I've spent some time in Haskell and am trying to learn F# to work with some existing .net code. Why is thi...
Why is there a type error in this f# expression? Why is there a type error in this f# expression? f%23 Why Color Red Green EntryPoint Why is there a type error in this f# expression? first day working in F#. I've spent some time in Haskell and am trying to learn F# to work with some existing .net code. Why is this code...
[ -0.00982666015625, 0.00106048583984375, -0.005584716796875, 0.0184326171875, -0.006805419921875, -0.0107421875, -0.022705078125, 0.01495361328125, -0.01397705078125, 0.0023345947265625, 0.00469970703125, 0.004425048828125, 0.0033721923828125, 0.00762939453125, 0.026611328125, 0.0006256...
[ 44084, 83, 2685, 10, 10644, 18499, 23, 903, 1238, 4904, 125195, 3949, 3742, 51193, 6096, 15497, 357, 15123, 147534, 5155, 20697, 563, 20625, 142508, 30698, 4488, 144573, 1179, 18151, 348, 1294, 678, 183234, 18, 15190, 8668, 22062, 5201 ]
[ 0.1331787109375, 0.0479736328125, 0.06982421875, 0.07598876953125, 0.2431640625, 0.2183837890625, 0.0390625, 0.08642578125, 0.08831787109375, 0.16845703125, 0.185791015625, 0.024871826171875, 0.1595458984375, 0.1300048828125, 0.1622314453125, 0.1864013671875, 0.0828857421875, 0.176...
embed
5888172_c0
5888172
fsharp
0
Title: F# special quotes? (##) Problem title: F# special quotes? (##) Tags: quotations, f%23 Problem: F# special quotes? (##) I just ran across http://frankniemeyer.blogspot.com/2010/04/minimalistic-native-64-bit-array.html Which contains the line (# "sizeof !0" type('T) : nativeint #) I believe the technical phrase is...
F# special quotes? (##) F# special quotes? (##) quotations f%23 F# special quotes? (##) I just ran across http://frankniemeyer.blogspot.com/2010/04/minimalistic-native-64-bit-array.html Which contains the line I believe the technical phrase is "what the heck?" I have never in my (~8 months) of F# programming run across...
[ 0.01171875, -0.00689697265625, 0.00537109375, 0.0018310546875, -0.0164794921875, 0.0040283203125, -0.008544921875, -0.00616455078125, 0.00787353515625, 0.0084228515625, 0.01373291015625, -0.00946044921875, -0.00537109375, -0.0179443359375, 0.018310546875, 0.0002651214599609375, 0.001...
[ 563, 4904, 5361, 66747, 7, 32, 81732, 5256, 1238, 3742, 13028, 36880, 21636, 196691, 48242, 76, 4935, 13307, 3137, 19305, 53, 70541, 13315, 18822, 121392, 113860, 83, 124409, 70, 764, 2594, 8306, 1019, 21775, 56037, 11675, 9902, 14192, 8, ...
[ 0.1671142578125, 0.2208251953125, 0.183837890625, 0.1993408203125, 0.0247955322265625, 0.002838134765625, 0.154296875, 0.021575927734375, 0.1024169921875, 0.082275390625, 0.00592041015625, 0.035888671875, 0.0513916015625, 0.183349609375, 0.1058349609375, 0.1087646484375, 0.1108398437...
embed
59195145_c0
59195145
fsharp
0
Title: What is &#x27;task&#x27; in F#? Problem title: What is &#x27;task&#x27; in F#? Tags: f%23 Problem: What is 'task' in F#? let CreateEventSourcingConnection() = task { let connection = let ipEndPoint = IPEndPoint(IPAddress.Loopback, 1113) EventStoreConnection.Create(ipEndlPoint) do! connection.ConnectAsync() retur...
What is &#x27;task&#x27; in F#? What is &#x27;task&#x27; in F#? f%23 What CreateEventSourcingConnection IPEndPoint IPAddress.Loopback EventStoreConnection.Create connection.ConnectAsync What is 'task' in F#? For task I get: So, what is this and how can I define it?
[ 0.0008697509765625, 0.012451171875, 0.00860595703125, -0.00099945068359375, 0.015625, -0.00156402587890625, -0.0115966796875, 0.00909423828125, 0.0076904296875, -0.03955078125, 0.0101318359375, 0.00927734375, -0.005279541015625, -0.01556396484375, 0.0064697265625, 0.006683349609375, ...
[ 4865, 83, 6, 3768, 1073, 92, 74, 23, 563, 4904, 32, 54764, 1238, 3742, 151313, 192134, 8912, 474, 21896, 235603, 1830, 8021, 152378, 147534, 161007, 2146, 12620, 36943, 165248, 63784, 94878, 12654, 25, 1326, 66211, 87, 2046, 2367, 903, 61...
[ 0.087158203125, 0.108642578125, 0.007843017578125, 0.1119384765625, 0.2470703125, 0.220703125, 0.057464599609375, 0.116455078125, 0.1666259765625, 0.25830078125, 0.021392822265625, 0.00439453125, 0.0947265625, 0.09912109375, 0.140625, 0.1666259765625, 0.03192138671875, 0.0986938476...
embed
105515_c0
105515
fsharp
0
Title: F# and Enterprise Software Problem title: F# and Enterprise Software Tags: c%23, enterprise, f%23, functional-programming Problem: F# and Enterprise Software Being a C# developer since version 1.0, F# has captured my free time for the past few weeks. Computers are now sold with 2, 4 .. Cores and multi-threading ...
F# and Enterprise Software F# and Enterprise Software c%23 enterprise f%23 functional-programming Enterprise Software F# and Enterprise Software Being a C# developer since version 1.0, F# has captured my free time for the past few weeks. Computers are now sold with 2, 4 .. Cores and multi-threading is not always simple...
[ 0.016357421875, 0.009033203125, -0.00011587142944335938, -0.004486083984375, -0.00628662109375, 0.006072998046875, -0.02099609375, 0.02099609375, 0.003173828125, -0.0010528564453125, -0.0068359375, 0.0218505859375, -0.00127410888671875, 0.038330078125, 0.00238037109375, 0.01318359375, ...
[ 563, 4904, 136, 102247, 23752, 501, 3742, 202681, 1238, 123309, 28966, 873, 10, 313, 106001, 16792, 11389, 53855, 1556, 141621, 71, 759, 4092, 1733, 11015, 10846, 40859, 40139, 621, 5036, 54324, 678, 116, 201, 31365, 6024, 927, 39116, 214, ...
[ 0.182373046875, 0.263671875, 0.1263427734375, 0.2327880859375, 0.207275390625, 0.039581298828125, 0.103759765625, 0.20849609375, 0.0914306640625, 0.1751708984375, 0.1202392578125, 0.010650634765625, 0.040069580078125, 0.0810546875, 0.187255859375, 0.0748291015625, 0.0938720703125, ...
embed
25494045_c0
25494045
fsharp
0
Title: How to add a string to a list of lists Problem title: How to add a string to a list of lists Tags: list, f%23, append Problem: How to add a string to a list of lists I'm new at F# :) I have a =[[|"hi"|];[|"how";"are"|];[|"you"|];[|"fine";"and";"you"|]] and i would like to add a value like this: b = [[|"12345";"h...
How to add a string to a list of lists How to add a string to a list of lists list f%23 append How How to add a string to a list of lists I'm new at F# :) I have a =[[|"hi"|];[|"how";"are"|];[|"you"|];[|"fine";"and";"you"|]] and i would like to add a value like this: b = [[|"12345";"hi"|];[|"32443";"how";"are"|];[|"324...
[ -0.000423431396484375, 0.005401611328125, -0.01141357421875, 0.02392578125, -0.0093994140625, 0.00274658203125, 0.00714111328125, 0.005279541015625, 0.0159912109375, -0.0172119140625, 0.0048828125, -0.018310546875, -0.003662109375, 0.0245361328125, -0.0166015625, -0.0224609375, -0.00...
[ 11249, 47, 15190, 10, 79315, 5303, 111, 7, 1238, 3949, 3742, 114689, 71, 3525, 99, 563, 4904, 1094, 765, 2203, 979, 47251, 1046, 53927, 64552, 2940, 2806, 1884, 34292, 876, 1530, 96060, 6460, 126384, 363, 2357, 4015, 98989, 54744, 6827, ...
[ 0.0950927734375, 0.14208984375, 0.206787109375, 0.089111328125, 0.295166015625, 0.2578125, 0.1370849609375, 0.1334228515625, 0.1319580078125, 0.0288238525390625, 0.179931640625, 0.174072265625, 0.1146240234375, 0.0792236328125, 0.0076904296875, 0.1240234375, 0.1854248046875, 0.0391...
embed
56139714_c0
56139714
fsharp
0
Title: how to use a C# nullable datetime in F# Problem title: how to use a C# nullable datetime in F# Tags: f%23 Problem: how to use a C# nullable datetime in F# I have a C# method that returns a DateTime? and I would like to do the equivalent of: DateTime? D; if (D == null) { ... } else { Date = (DateTime)D; ... } but...
how to use a C# nullable datetime in F# how to use a C# nullable datetime in F# f%23 DateTime Date Nullable None NonNull s.ToString how to use a C# nullable datetime in F# I have a C# method that returns a DateTime? and I would like to do the equivalent of: but in F# how can this be done? I tried this: but it doesn't w...
[ 0.00151824951171875, -0.0047607421875, 0.027099609375, -0.006866455078125, -0.0054931640625, 0.000293731689453125, 0.01312255859375, -0.0029754638671875, -0.0016632080078125, 0.0093994140625, 0.004150390625, 0.01068115234375, -0.01123046875, -0.004547119140625, 0.0038604736328125, 0.00...
[ 3642, 47, 4527, 10, 313, 4904, 9229, 2661, 5622, 6032, 23, 563, 1238, 3742, 25512, 70059, 27786, 438, 86, 3775, 18444, 1181, 7763, 71713, 55300, 30646, 2806, 1884, 183234, 831, 903, 16940, 37842, 22027, 18, 4488, 5021, 9969, 1340 ]
[ 0.072265625, 0.049407958984375, 0.1431884765625, 0.035308837890625, 0.0823974609375, 0.212890625, 0.1893310546875, 0.198486328125, 0.1300048828125, 0.19775390625, 0.06964111328125, 0.140625, 0.081787109375, 0.109375, 0.1314697265625, 0.1964111328125, 0.1558837890625, 0.059539794921...
embed
28890923_c1
28890923
fsharp
1
; 1uy; 48uy; 0uy; 166uy; 0uy; 133uy; 1uy; 40uy; 0uy; 150uy; 0uy; 193uy; 2uy; 207uy; 2uy; 217uy; 1uy; 158uy; 1uy; 53uy; 1uy; 38uy; 0uy; 141uy; 0uy; 162uy; 1uy; 23uy; 0uy; 0uy; 0uy; 128uy; 2uy; 223uy; 2uy; 204uy; 1uy; 236uy; 2uy; 20uy; 1uy; 56uy; 0uy; 221uy; 0uy; 235uy; 1uy; 118uy; 0uy; 29uy; 0uy; 173uy; 2uy; 58uy; 2uy; ...
; 1uy; 48uy; 0uy; 166uy; 0uy; 133uy; 1uy; 40uy; 0uy; 150uy; 0uy; 193uy; 2uy; 207uy; 2uy; 217uy; 1uy; 158uy; 1uy; 53uy; 1uy; 38uy; 0uy; 141uy; 0uy; 162uy; 1uy; 23uy; 0uy; 0uy; 0uy; 128uy; 2uy; 223uy; 2uy; 204uy; 1uy; 236uy; 2uy; 20uy; 1uy; 56uy; 0uy; 221uy; 0uy; 235uy; 1uy; 118uy; 0uy; 29uy; 0uy; 173uy; 2uy; 58uy; 2uy; ...
[ 0.0167236328125, 0.0068359375, -0.0115966796875, 0.0291748046875, -0.021240234375, 0.005157470703125, -0.027099609375, -0.00335693359375, 0.004852294921875, 0.018310546875, -0.00640869140625, -0.01318359375, -0.0059814453125, -0.019287109375, 0.017578125, -0.005767822265625, 0.001823...
[ 2819, 106, 34, 53, 74, 4572, 757, 83348, 64358, 1112, 3252, 113543, 108042, 129650, 78373, 8934, 4520, 79361, 78369, 1105, 26560, 122216, 106281, 9103, 128811, 104267, 36460, 1702, 89816, 9318, 1438, 2633, 96760, 75358, 1636, 10135, 390, 67, ...
[ 0.0760498046875, 0.05181884765625, 0.039306640625, 0.10455322265625, 0.03350830078125, 0.1627197265625, 0.1104736328125, 0.21142578125, 0.166748046875, 0.06884765625, 0.11962890625, 0.1444091796875, 0.123046875, 0.115966796875, 0.138427734375, 0.0850830078125, 0.0745849609375, 0.12...
embed
19020019_c0
19020019
fsharp
0
Title: How to forward pipe a value to the left side parameter of a function? Problem title: How to forward pipe a value to the left side parameter of a function? Tags: f%23-3.0, f%23 Problem: How to forward pipe a value to the left side parameter of a function? For example, let fn x y = printfn "%i %i" x y 1 |> fn 2 //...
How to forward pipe a value to the left side parameter of a function? How to forward pipe a value to the left side parameter of a function? f%23-3.0 f%23 How How to forward pipe a value to the left side parameter of a function? For example, How to make it fn 1 2 ? This is just a simplified example for test. I have a co...
[ -0.00180816650390625, 0.013916015625, -0.0106201171875, -0.007232666015625, -0.0185546875, -0.0135498046875, -0.0089111328125, -0.009521484375, 0.00579833984375, -0.046630859375, 0.006591796875, 0.0108642578125, 0.018798828125, 0.010498046875, 0.0133056640625, -0.0172119140625, 0.008...
[ 11249, 47, 40225, 137158, 34292, 25737, 5609, 171859, 32354, 10, 1238, 167218, 27495, 132265, 3949, 3742, 70, 27781, 3249, 442, 14783, 106, 116, 112892, 3034, 27140, 30646, 3444, 2288, 7108 ]
[ 0.115966796875, 0.142333984375, 0.281982421875, 0.28076171875, 0.2286376953125, 0.255615234375, 0.207763671875, 0.2291259765625, 0.2032470703125, 0.019378662109375, 0.1185302734375, 0.0369873046875, 0.138916015625, 0.18896484375, 0.0120849609375, 0.1390380859375, 0.023468017578125, ...
embed
5126709_c0
5126709
fsharp
0
Title: Cycling pipelining Problem title: Cycling pipelining Tags: f%23, pipeline Problem: Cycling pipelining I have a matrix: Array2D and a function let DivideAndSubstract value index (matrix: float[,]) = //something that returns a matrix so I need to apply this function n times to my matrix like that: matrix |> Divide...
Cycling pipelining Cycling pipelining f%23 pipeline Cycling DivideAndSubstract Cycling pipelining I have a matrix: Array2D and a function so I need to apply this function n times to my matrix like that: where n = Array2D.length1 matrix - 1 How can I implement this pipelining?
[ -0.01495361328125, 0.0107421875, -0.0279541015625, 0.008544921875, -0.00909423828125, -0.0147705078125, -0.01007080078125, 0.0018768310546875, 0.006256103515625, -0.033203125, -0.0166015625, 0.0191650390625, -0.0036163330078125, 0.03271484375, -0.006591796875, -0.006561279296875, 0.0...
[ 151612, 214, 137158, 150, 592, 1238, 3949, 3742, 2256, 76278, 112, 37839, 96472, 2816, 15390, 87, 765, 50944, 425, 69253, 53, 304, 397, 32354, 3871, 59911, 653, 20028, 47, 1884, 23986, 418, 106, 29479, 903 ]
[ 0.2166748046875, 0.123291015625, 0.18115234375, 0.1468505859375, 0.107177734375, 0.061492919921875, 0.0928955078125, 0.177734375, 0.1365966796875, 0.121337890625, 0.113525390625, 0.07501220703125, 0.018585205078125, 0.1131591796875, 0.003875732421875, 0.0115966796875, 0.0014038085937...
embed
50267308_c1
50267308
fsharp
1
the email field into the emailEcho field. So I am wondering what I can do to get the users input mirrored into the <div ws-hole="EmailEcho" class="echo-input"></div> in the template Many thanks and very sorry for such a long question Derek Code signals: html, Main, Var.Create, View.FromVar, Submitter.CreateOption, rvI...
the email field into the emailEcho field. So I am wondering what I can do to get the users input mirrored into the <div ws-hole="EmailEcho" class="echo-input"></div> in the template Many thanks and very sorry for such a long question Derek Code signals: html, Main, Var.Create, View.FromVar, Submitter.CreateOption, rvI...
[ -0.00799560546875, 0.0098876953125, -0.004180908203125, 0.002044677734375, 0.025146484375, 0.0289306640625, 0.007537841796875, -0.007598876953125, -0.0026397705078125, -0.052001953125, -0.019287109375, 0.00714111328125, 0.00860595703125, -0.0140380859375, 0.01458740234375, -0.005523681...
[ 3340, 44457, 3934, 647, 3089, 149016, 831, 54, 2046, 72095, 107730, 191551, 297, 30618, 70919, 161994, 18507, 13, 73, 7077, 110934, 59090, 1310, 343, 28864, 26073, 7, 7693, 12321, 3323, 63784, 2182, 29805, 168407, 81827, 8273, 266, 3055, 39...
[ 0.1927490234375, 0.1943359375, 0.14404296875, 0.0654296875, 0.278564453125, 0.01446533203125, 0.004974365234375, 0.01123046875, 0.055328369140625, 0.1790771484375, 0.2076416015625, 0.2783203125, 0.1080322265625, 0.122314453125, 0.152587890625, 0.139892578125, 0.099609375, 0.0470581...
embed
31290046_c3
31290046
fsharp
3
0:00.000 2001-09-30 00:00:00.000 66 2002-01-17 00:00:00.000 2001-12-31 00:00:00.000 38 2002-04-24 00:00:00.000 2002-03-31 00:00:00.000 40 2002-07-18 00:00:00.000 2002-06-30 00:00:00.000 32 2002-10-17 00:00:00.000 2002-09-30 00:00:00.000 -45 2003-01-16 00:00:00.000 2002-12-31 00:00:00.000 -8 2003-04-24 00:00:00.000 2003...
0:00.000 2001-09-30 00:00:00.000 66 2002-01-17 00:00:00.000 2001-12-31 00:00:00.000 38 2002-04-24 00:00:00.000 2002-03-31 00:00:00.000 40 2002-07-18 00:00:00.000 2002-06-30 00:00:00.000 32 2002-10-17 00:00:00.000 2002-09-30 00:00:00.000 -45 2003-01-16 00:00:00.000 2002-12-31 00:00:00.000 -8 2003-04-24 00:00:00.000 2003...
[ -0.0059814453125, -0.01495361328125, -0.016845703125, 0.033203125, 0.00433349609375, -0.006317138671875, -0.0027618408203125, 0.0174560546875, 0.025390625, 0.0634765625, -0.005096435546875, 0.0191650390625, -0.0001678466796875, -0.02734375, -0.031982421875, 0.005157470703125, 0.00156...
[ 757, 6632, 8557, 6789, 38118, 1197, 110095, 11251, 5726, 45669, 2489, 31435, 5016, 4520, 40866, 37151, 1112, 44037, 2789, 9193, 20, 4633, 6052, 2485, 1019, 616, 953, 5896, 4821, 12069, 87, 2806, 1884, 47, 186, 19048, 54, 6, 143420, 136, ...
[ 0.1949462890625, 0.1741943359375, 0.28369140625, 0.1966552734375, 0.0966796875, 0.1160888671875, 0.1619873046875, 0.2366943359375, 0.1497802734375, 0.0635986328125, 0.022918701171875, 0.031707763671875, 0.115966796875, 0.1256103515625, 0.0355224609375, 0.03009033203125, 0.09393310546...
embed
17575323_c0
17575323
fsharp
0
Title: Different behaviour on F# module initialization Problem title: Different behaviour on F# module initialization Tags: f%23 Problem: Different behaviour on F# module initialization I have the following F# program: open MyModule printfn "%d" test With MyModule being: module MyModule printfn "foo" let test = printfn...
Different behaviour on F# module initialization Different behaviour on F# module initialization f%23 Different MyModule Different behaviour on F# module initialization I have the following F# program: With MyModule being: This produces the following output: When I change MyModule to: ... the result is: Why doesn't "foo...
[ 0.004119873046875, -0.00567626953125, -0.00384521484375, 0.0159912109375, 0.01055908203125, 0.01007080078125, 0.0164794921875, -0.00457763671875, 0.013916015625, 0.0137939453125, -0.00058746337890625, 0.033935546875, 0.004638671875, 0.0147705078125, 0.010009765625, -0.00830078125, 0....
[ 242520, 224833, 98, 563, 4904, 88996, 61475, 47691, 1238, 3949, 3742, 2646, 91616, 8782, 765, 25632, 1528, 17106, 8035, 3293, 27489, 7, 70, 140992, 14847, 87, 15549, 47, 16750, 83, 44084, 22027, 18, 3584, 31, 2046, 28412, 297, 176683 ]
[ 0.1697998046875, 0.1820068359375, 0.03411865234375, 0.1455078125, 0.2152099609375, 0.2060546875, 0.1798095703125, 0.067138671875, 0.1151123046875, 0.044830322265625, 0.1134033203125, 0.1812744140625, 0.1409912109375, 0.150390625, 0.0008544921875, 0.038787841796875, 0.1099853515625, ...
embed
11277628_c0
11277628
fsharp
0
Title: Composite units of measure in F# for matrix operation check Problem title: Composite units of measure in F# for matrix operation check Tags: f%23, units-of-measurement Problem: Composite units of measure in F# for matrix operation check One of the serious use case for units of measure is matrix operations: The i...
Composite units of measure in F# for matrix operation check Composite units of measure in F# for matrix operation check f%23 units-of-measurement Composite Composite units of measure in F# for matrix operation check One of the serious use case for units of measure is matrix operations: The inner product of a matrix a*b...
[ -0.0208740234375, 0.006805419921875, 0.004913330078125, 0.01318359375, 0.0012359619140625, -0.01275634765625, -0.004913330078125, 0.003997802734375, 0.02685546875, 0.00933837890625, -0.041015625, -0.0010986328125, 0.032470703125, -0.00022411346435546875, -0.02783203125, -0.005310058593...
[ 3288, 77087, 25072, 111, 72350, 563, 4904, 100, 50944, 425, 41018, 12765, 1238, 3949, 3742, 4390, 37440, 56851, 23, 85583, 4527, 7225, 75414, 12996, 275, 678, 501, 1639, 71, 4734, 35604, 3229, 876, 2203, 1957, 64549, 277, 56065, 3917, 106...
[ 0.0924072265625, 0.2298583984375, 0.215087890625, 0.12255859375, 0.2109375, 0.13720703125, 0.2137451171875, 0.01318359375, 0.1607666015625, 0.0701904296875, 0.1895751953125, 0.1715087890625, 0.09039306640625, 0.03704833984375, 0.1453857421875, 0.0775146484375, 0.07513427734375, 0.0...
embed
24409944_c0
24409944
fsharp
0
Title: Why is it wrong to use option types in a discriminated union? Problem title: Why is it wrong to use option types in a discriminated union? Tags: treenode, types, f%23, discriminated-union Problem: Why is it wrong to use option types in a discriminated union? I am trying to create a tree node data type using disc...
Why is it wrong to use option types in a discriminated union? Why is it wrong to use option types in a discriminated union? treenode types f%23 discriminated-union Why TreeNode Some Why is it wrong to use option types in a discriminated union? I am trying to create a tree node data type using discriminated union. Howev...
[ 0.005615234375, 0.00836181640625, -0.0015411376953125, 0.001220703125, 0.015380859375, -0.0252685546875, -0.016845703125, -0.01177978515625, 0.0027618408203125, -0.0194091796875, -0.0032196044921875, -0.023681640625, 0.0166015625, -0.0137939453125, -0.000804901123046875, 0.010681152343...
[ 44084, 44691, 4527, 35829, 52895, 55970, 3674, 69941, 53201, 157, 112, 3742, 87046, 101344, 5021, 31384, 23, 28282, 110, 2053, 10644, 9969, 34759, 18499, 66, 45757, 77336, 959, 28897, 903, 21635 ]
[ 0.0660400390625, 0.1424560546875, 0.09478759765625, 0.206298828125, 0.2093505859375, 0.176513671875, 0.0692138671875, 0.167724609375, 0.1309814453125, 0.0927734375, 0.12158203125, 0.034576416015625, 0.0906982421875, 0.1285400390625, 0.1221923828125, 0.030487060546875, 0.0048522949218...
embed
33150967_c0
33150967
fsharp
0
Title: Int32.TryParse equivalent for String? Problem title: Int32.TryParse equivalent for String? Tags: string, f%23 Problem: Int32.TryParse equivalent for String? I have been doing some homework. The task was to implement System.Int32.TryParse to check if an entered value is a number or something random. I was wonderi...
Int32.TryParse equivalent for String? Int32.TryParse equivalent for String? string f%23 Int32.TryParse Int32.TryParse equivalent for String? I have been doing some homework. The task was to implement System.Int32.TryParse to check if an entered value is a number or something random. I was wondering if there is a built-...
[ -0.01116943359375, 0.0030975341796875, -0.002899169921875, 0.01312255859375, -0.0262451171875, 0.0234375, 0.00823974609375, -0.0155029296875, 0.007537841796875, 0.0220947265625, 0.003936767578125, -0.002838134765625, -0.00726318359375, 0.0245361328125, 0.01318359375, 0.01397705078125, ...
[ 360, 18, 6460, 5, 618, 1294, 28636, 184, 183234, 100, 23351, 214, 32, 79315, 1238, 3949, 3742, 5368, 18244, 66211, 29479, 12353, 4153, 47, 12765, 2174, 30957, 34292, 14012, 707, 9844, 96759, 88303, 73, 55300, 83, 31330, 136, 86725, 157318...
[ 0.053070068359375, 0.1151123046875, 0.259765625, 0.01361083984375, 0.0916748046875, 0.1910400390625, 0.2069091796875, 0.1517333984375, 0.1845703125, 0.05572509765625, 0.206298828125, 0.1590576171875, 0.024139404296875, 0.2012939453125, 0.12158203125, 0.10205078125, 0.2021484375, 0....
embed
40144807_c0
40144807
fsharp
0
Title: F# Units of Measure: Is it available to implicit converting between same type of units? Problem title: F# Units of Measure: Is it available to implicit converting between same type of units? Tags: f%23 Problem: F# Units of Measure: Is it available to implicit converting between same type of units? Units of same ...
F# Units of Measure: Is it available to implicit converting between same type of units? F# Units of Measure: Is it available to implicit converting between same type of units? f%23 Units Measure F# Units of Measure: Is it available to implicit converting between same type of units? Units of same types are: km and m of ...
[ -0.0120849609375, 0.01226806640625, 0.0142822265625, -0.01043701171875, -0.00811767578125, -0.027587890625, -0.00933837890625, -0.00180816650390625, 0.036865234375, 0.0004520416259765625, -0.01361083984375, 0.0038299560546875, 0.0208740234375, 0.00726318359375, -0.01104736328125, -0.00...
[ 563, 4904, 46640, 111, 1215, 11, 56851, 2071, 442, 19882, 47, 165164, 96760, 214, 17721, 5701, 10644, 25072, 7, 1238, 3949, 3742, 52895, 1785, 347, 140909, 5279, 706, 57888, 83, 3249, 2856, 74481, 67, 15490, 143726, 142477, 18151, 1884, 9...
[ 0.1085205078125, 0.1910400390625, 0.2335205078125, 0.1092529296875, 0.1102294921875, 0.1309814453125, 0.126953125, 0.0396728515625, 0.05194091796875, 0.1580810546875, 0.0333251953125, 0.245361328125, 0.157958984375, 0.04962158203125, 0.11083984375, 0.1304931640625, 0.095703125, 0.1...
embed
47018654_c0
47018654
fsharp
0
Title: What is wrong with my attempt to concatenate within an if statement Problem title: What is wrong with my attempt to concatenate within an if statement Tags: f%23 Problem: What is wrong with my attempt to concatenate within an if statement I'm trying to concatenate leading 0s to the hundreds place. 001 ones 010 t...
What is wrong with my attempt to concatenate within an if statement What is wrong with my attempt to concatenate within an if statement f%23 What Hello World What is wrong with my attempt to concatenate within an if statement I'm trying to concatenate leading 0s to the hundreds place.
[ -0.006683349609375, -0.0002288818359375, -0.005279541015625, 0.0108642578125, 0.004364013671875, 0.01171875, 0.01031494140625, 0.0174560546875, 0.01202392578125, 0.031494140625, -0.000942230224609375, -0.0137939453125, -0.008544921875, -0.0203857421875, -0.003387451171875, -0.009277343...
[ 4865, 83, 44691, 678, 759, 81887, 47, 158, 33478, 76, 67, 28032, 2174, 63805, 1238, 3949, 3742, 35378, 6661, 87, 31577, 105207, 757, 75281, 7, 3687 ]
[ 0.05029296875, 0.06878662109375, 0.188232421875, 0.07843017578125, 0.05230712890625, 0.1546630859375, 0.05511474609375, 0.1134033203125, 0.1656494140625, 0.138671875, 0.0435791015625, 0.1368408203125, 0.221923828125, 0.1859130859375, 0.0660400390625, 0.0269927978515625, 0.14367675781...
embed
65220182_c0
65220182
fsharp
0
Title: F#: Runtime error before entry point is called Problem title: F#: Runtime error before entry point is called Tags: f%23 Problem: F#: Runtime error before entry point is called Code signals: System.ComponentModel.Win32Exception, Runtime, GitHub, System.Diagnostics.Process.StartWithCreateProcess, ProcessStartInfo,...
F#: Runtime error before entry point is called F#: Runtime error before entry point is called f%23 System.ComponentModel.Win32Exception Runtime GitHub System.Diagnostics.Process.StartWithCreateProcess ProcessStartInfo System.Diagnostics.Process.Start Microsoft.DotNet.Cli.Utils.Command.Execute Action Microsoft.DotNet.To...
[ 0.01165771484375, 0.0162353515625, -0.0189208984375, 0.0064697265625, -0.00775146484375, 0.00421142578125, 0.01068115234375, -0.0184326171875, -0.012939453125, -0.0150146484375, -0.00093841552734375, 0.025634765625, 0.004364013671875, 0.0274658203125, 0.031494140625, -0.00347900390625,...
[ 563, 4904, 12, 28398, 6032, 18499, 8108, 42805, 6275, 83, 35839, 1238, 3949, 3742, 12353, 10770, 54137, 140290, 5, 92049, 6460, 19279, 63928, 527, 217, 140505, 128198, 26531, 126597, 194583, 63784, 123996, 93147, 7244, 8331, 24447, 150, 10674...
[ 0.15625, 0.23046875, 0.0152130126953125, 0.180419921875, 0.1903076171875, 0.2303466796875, 0.2039794921875, 0.2493896484375, 0.2005615234375, 0.037078857421875, 0.16748046875, 0.13232421875, 0.109130859375, 0.21533203125, 0.07220458984375, 0.04339599609375, 0.1185302734375, 0.17590...
embed
3084665_c0
3084665
fsharp
0
Title: How do I change colors for the F# interactive shell in Visual Studio 2010 Problem title: How do I change colors for the F# interactive shell in Visual Studio 2010 Tags: visual-studio-2010, f%23, f%23-interactive Problem: How do I change colors for the F# interactive shell in Visual Studio 2010 Like How do I chan...
How do I change colors for the F# interactive shell in Visual Studio 2010 How do I change colors for the F# interactive shell in Visual Studio 2010 visual-studio-2010 f%23 f%23-interactive How Visual Studio visual-studio-2010 How do I change colors for the F# interactive shell in Visual Studio 2010 Like How do I change...
[ -0.0169677734375, 0.012939453125, -0.004852294921875, 0.007415771484375, 0.00537109375, -0.0047607421875, -0.020263671875, 0.0179443359375, -0.01019287109375, 0.04443359375, -0.0045166015625, 0.03125, 0.001190185546875, 0.01507568359375, 0.02587890625, -0.006317138671875, -0.00524902...
[ 11249, 87, 15549, 104988, 100, 563, 4904, 212398, 128019, 23, 73372, 22968, 1532, 54, 21176, 52629, 73552, 1238, 10433, 70, 18852, 10111, 903, 1733, 151134, 31345, 20320, 538, 16843, 76615, 10576, 17137, 12275, 56112, 18, 171739 ]
[ 0.05999755859375, 0.040069580078125, 0.183837890625, 0.2215576171875, 0.0626220703125, 0.135986328125, 0.174560546875, 0.1756591796875, 0.2061767578125, 0.06011962890625, 0.1668701171875, 0.1507568359375, 0.1953125, 0.0262908935546875, 0.1290283203125, 0.119384765625, 0.162109375, ...
embed
9070554_c0
9070554
fsharp
0
Title: Why is &quot;;;&quot; required in F# interactive? Problem title: Why is &quot;;;&quot; required in F# interactive? Tags: f%23-interactive, f%23, ironpython Problem: Why is ";;" required in F# interactive? Why is ";;" required in F# interactive at the end of a command? For instance, IronPython doesn't require it?...
Why is &quot;;;&quot; required in F# interactive? Why is &quot;;;&quot; required in F# interactive? f%23-interactive f%23 ironpython Why Why is ";;" required in F# interactive? Why is ";;" required in F# interactive at the end of a command? For instance, IronPython doesn't require it? EDIT: When do you put double semic...
[ -0.0164794921875, -0.0040283203125, 0.01275634765625, 0.0068359375, -0.006927490234375, 0.02197265625, 0.0028533935546875, 0.0038909912109375, -0.0004634857177734375, 0.0142822265625, 0.022705078125, -0.00775146484375, 0.00823974609375, 0.004150390625, 0.006439208984375, -0.01403808593...
[ 44084, 41502, 157724, 1230, 74, 56065, 23, 563, 4904, 212398, 619, 1238, 27495, 10433, 71232, 193, 191, 6493, 50828, 58, 3564, 75101, 70599, 683, 53, 18, 64209, 442, 3884, 41929, 36137, 22796, 1779, 29256, 186768, 76615, 17368, 1632, 79852,...
[ 0.10028076171875, 0.15771484375, 0.1932373046875, 0.0797119140625, 0.173828125, 0.173095703125, 0.055999755859375, 0.124755859375, 0.218017578125, 0.202880859375, 0.024444580078125, 0.0968017578125, 0.010009765625, 0.1016845703125, 0.057647705078125, 0.04449462890625, 0.0391845703125...
embed
67201613_c0
67201613
fsharp
0
Title: Arrow &quot;proc&quot; notation in F# Problem title: Arrow &quot;proc&quot; notation in F# Tags: f%23%2B, f%23, haskell, arrow-abstraction Problem: Arrow "proc" notation in F# Is there an implementation of "proc" notation for arrows in F#? In Haskell, it looks like this: mean2 :: Fractional a => Circuit a a mean...
Arrow &quot;proc&quot; notation in F# Arrow &quot;proc&quot; notation in F# f%23%2B f%23 haskell arrow-abstraction Arrow mean2 Fractional Circuit Arrow "proc" notation in F# Is there an implementation of "proc" notation for arrows in F#? In Haskell, it looks like this: Note the proc keyword and -< symbol. Ideally, this...
[ -0.00714111328125, 0.0150146484375, 0.020263671875, 0.0206298828125, -0.01226806640625, 0.005523681640625, -0.0020599365234375, -0.0009765625, 0.0103759765625, -0.0296630859375, 0.0159912109375, 0.0181884765625, 0.005279541015625, -0.0022735595703125, 0.0087890625, -0.00016593933105468...
[ 1172, 15555, 41502, 3454, 238, 110, 22062, 563, 4904, 23, 1238, 3742, 1556, 142508, 118201, 2055, 7, 117474, 29459, 304, 7868, 167190, 208124, 100, 20625, 33342, 1884, 10402, 166117, 20, 16093, 26582, 41143, 181135, 125195, 9803, 51515 ]
[ 0.0870361328125, 0.19140625, 0.002685546875, 0.1627197265625, 0.1849365234375, 0.1607666015625, 0.12353515625, 0.110595703125, 0.199951171875, 0.0535888671875, 0.06622314453125, 0.0296783447265625, 0.092529296875, 0.213134765625, 0.238037109375, 0.039703369140625, 0.0537109375, 0.0...
embed
39879982_c0
39879982
fsharp
0
Title: F# Finding a Set in a Map Problem title: F# Finding a Set in a Map Tags: f%23 Problem: F# Finding a Set in a Map So I have a database containing cars with an associated number and description. That database looks like this: type Database = Map<CarNo, CarDesc> type CarNo = int type CarDesc = Name * Price type Nam...
F# Finding a Set in a Map F# Finding a Set in a Map f%23 Finding Set Map Database CarNo CarDesc Name Price F# Finding a Set in a Map So I have a database containing cars with an associated number and description. That database looks like this: If I want to get the sum of the price of all the cars, based on the numbers,...
[ 0.014404296875, 0.002166748046875, 0.0186767578125, -0.0069580078125, -0.00799560546875, 0.0029754638671875, -0.0103759765625, 0.006561279296875, 0.0235595703125, -0.0267333984375, -0.024169921875, 0.022216796875, -0.01397705078125, 0.0037689208984375, -0.005157470703125, 0.00830078125...
[ 563, 4904, 26040, 214, 19943, 23, 42719, 1238, 3742, 187781, 3980, 5021, 397, 6964, 15757, 48025, 10, 765, 63399, 70541, 2258, 7, 142, 137272, 14012, 76811, 33342, 1884, 903, 4263, 3444, 2046, 10554, 111, 27167, 756, 70, 35509, 101935, 36...
[ 0.10028076171875, 0.182861328125, 0.140625, 0.028594970703125, 0.2398681640625, 0.09429931640625, 0.2039794921875, 0.0616455078125, 0.07879638671875, 0.1669921875, 0.12255859375, 0.170166015625, 0.050079345703125, 0.152099609375, 0.09002685546875, 0.1783447265625, 0.03240966796875, ...
embed
71356360_c2
71356360
fsharp
2
sharp_record_multiline_formatter, fsharp_max_array_or_list_width, fsharp_max_array_or_list_number_of_items, fsharp_array_or_list_multiline_formatter, fsharp_max_value_binding_width, fsharp_max_function_binding_width, fsharp_max_dot_get_expression_width, fsharp_multiline_block_brackets_on_same_column, fsharp_newline_bet...
sharp_record_multiline_formatter, fsharp_max_array_or_list_width, fsharp_max_array_or_list_number_of_items, fsharp_array_or_list_multiline_formatter, fsharp_max_value_binding_width, fsharp_max_function_binding_width, fsharp_max_dot_get_expression_width, fsharp_multiline_block_brackets_on_same_column, fsharp_newline_bet...
[ -0.0218505859375, -0.000705718994140625, -0.000728607177734375, -0.0076904296875, 0.0125732421875, 0.0093994140625, -0.002960205078125, -0.0118408203125, 0.0162353515625, 0.044921875, -0.0076904296875, 0.007568359375, 0.00186920166015625, -0.00982666015625, 0.01019287109375, -0.0162353...
[ 189173, 107, 32271, 144227, 2256, 51727, 720, 4, 1238, 89280, 254, 24084, 19305, 53, 748, 6562, 146984, 2606, 4390, 1486, 4432, 27494, 128239, 137175, 15464, 3794, 204629, 81409, 2844, 27853, 40175, 8447, 316, 54936, 1177, 50986, 49919, 39, ...
[ 0.2919921875, 0.07818603515625, 0.233154296875, 0.1419677734375, 0.2203369140625, 0.18798828125, 0.137451171875, 0.0521240234375, 0.0965576171875, 0.1876220703125, 0.1700439453125, 0.154296875, 0.08819580078125, 0.047119140625, 0.09613037109375, 0.139892578125, 0.18310546875, 0.010...
embed
7209766_c0
7209766
fsharp
0
Title: Lookup on object of indeterminate type Problem title: Lookup on object of indeterminate type Tags: f%23, type-inference Problem: Lookup on object of indeterminate type I'm trying to figure out why this doesn't compile. type A() = member __.M(f:DateTime -> seq<int>) = () member __.M(f:DateTime -> obj) = () let a ...
Lookup on object of indeterminate type Lookup on object of indeterminate type f%23 type-inference Lookup __.M f:DateTime a.M d.Year Lookup on object of indeterminate type I'm trying to figure out why this doesn't compile. If I remove the second overload or add a type annotation to d , it does. Is it because some aspect...
[ 0.01544189453125, -0.006317138671875, 0.01373291015625, 0.0172119140625, 0.006622314453125, -0.0223388671875, -0.00823974609375, 0.019775390625, -0.0027313232421875, -0.029296875, -0.013427734375, -0.0004253387451171875, 0.0026092529296875, -0.000637054443359375, 0.01165771484375, -0.0...
[ 60818, 2037, 98, 36746, 111, 23, 145099, 10644, 1238, 3742, 69988, 86291, 70059, 104, 69085, 147, 15400, 903, 22027, 18, 9969, 1340, 87388, 17932, 645, 63033, 8668, 22062, 442, 14602, 158839, 41928, 175199 ]
[ 0.135009765625, 0.157470703125, 0.08087158203125, 0.1480712890625, 0.05963134765625, 0.0556640625, 0.1866455078125, 0.166748046875, 0.04949951171875, 0.1246337890625, 0.1300048828125, 0.034759521484375, 0.077880859375, 0.09197998046875, 0.1279296875, 0.09259033203125, 0.0653076171875...
embed
16218544_c1
16218544
fsharp
1
937 rng; boost::variate_generator<boost::mt19937&, boost::normal_distribution<> > normalGenerator; boost::variate_generator<boost::mt19937&, boost::uniform_01<> > uniformGenerator; }; Should I expect different results using these two ways of generating random numbers? EDIT: Also, is the generator used in .Net available...
937 rng; boost::variate_generator<boost::mt19937&, boost::normal_distribution<> > normalGenerator; boost::variate_generator<boost::mt19937&, boost::uniform_01<> > uniformGenerator; }; Should I expect different results using these two ways of generating random numbers? EDIT: Also, is the generator used in .Net available...
[ -0.0157470703125, 0.005126953125, -0.002685546875, -0.047607421875, -0.00087738037109375, 0.000762939453125, -0.003936767578125, -0.006439208984375, 0.00311279296875, -0.02734375, -0.0023651123046875, 0.040283203125, 0.00732421875, -0.01129150390625, 0.01446533203125, -0.0126953125, ...
[ 483, 10945, 1690, 449, 97551, 124640, 67, 48281, 1290, 837, 5510, 18, 76545, 966, 33176, 179236, 3638, 105376, 56, 4597, 74, 5980, 5037, 6746, 61514, 151117, 41206, 12921, 50339, 17368, 6097, 6626, 48322, 12663, 96759, 101935, 70, 145823, 1...
[ 0.1650390625, 0.2440185546875, 0.0171661376953125, 0.153564453125, 0.267333984375, 0.2020263671875, 0.1329345703125, 0.2109375, 0.180908203125, 0.0261077880859375, 0.127197265625, 0.0120849609375, 0.066162109375, 0.05523681640625, 0.1502685546875, 0.1099853515625, 0.150390625, 0.15...
embed
54641610_c1
54641610
fsharp
1
); ...] Here is where I'm at a loss. I want to take out the fifth column and plot it against the sixth column. And I don't know how to access it. What I can do so far is access a single value in one of the columns: let Finally = Seq.item 1 test let PtHt = Finally.Ht_cm Any help is much appreciated!! Code signals: CSV, ...
); ...] Here is where I'm at a loss. I want to take out the fifth column and plot it against the sixth column. And I don't know how to access it. What I can do so far is access a single value in one of the columns: let Finally = Seq.item 1 test let PtHt = Finally.Ht_cm Any help is much appreciated!! Code signals: CSV, ...
[ 0.01190185546875, 0.007476806640625, 0.010498046875, 0.0191650390625, 0.017822265625, -0.01025390625, 0.000606536865234375, 0.0020294189453125, -0.005889892578125, 0.0126953125, -0.00107574462890625, -0.00811767578125, -0.00927734375, 0.0036163330078125, -0.00160980224609375, -0.003967...
[ 3142, 11853, 83, 87, 39, 99, 86669, 3444, 5646, 1810, 809, 2480, 127, 3365, 316, 19, 136, 23577, 442, 26548, 37195, 927, 3714, 3642, 17203, 831, 2060, 11001, 34292, 23, 1632, 111, 2633, 201106, 503, 864, 217, 195, 106, 3034, 841, 18, ...
[ 0.07574462890625, 0.0187835693359375, 0.003387451171875, 0.0074462890625, 0.029266357421875, 0.046844482421875, 0.132080078125, 0.0562744140625, 0.034820556640625, 0.130126953125, 0.1605224609375, 0.17529296875, 0.0259857177734375, 0.1552734375, 0.1668701171875, 0.0484619140625, 0.01...
embed
7938592_c1
7938592
fsharp
1
after have crawled 5 directories. So my question is: How can F# keep track of the async operations? My C# version is poor, and have lots of perfomance problems. I'm aware of that I simply can use the F# code in my C# project, but since this is just for exercise I'm more interested in how to do it in C#. Code signals: ...
after have crawled 5 directories. So my question is: How can F# keep track of the async operations? My C# version is poor, and have lots of perfomance problems. I'm aware of that I simply can use the F# code in my C# project, but since this is just for exercise I'm more interested in how to do it in C#. Code signals: ...
[ -0.0198974609375, 0.03271484375, 0.01165771484375, 0.00080108642578125, -0.006591796875, -0.01275634765625, 0.0067138671875, 0.0037994384765625, 0.009765625, -0.043212890625, -0.0216064453125, 0.017822265625, -0.007232666015625, 0.033447265625, -0.007781982421875, 0.0074462890625, 0....
[ 7103, 235879, 297, 190, 14364, 3387, 9655, 11249, 831, 563, 4904, 13695, 28560, 111, 10, 12654, 238, 41018, 7, 313, 11389, 70425, 71358, 3584, 44402, 107419, 4527, 18151, 13452, 81979, 60892, 3642, 54, 442, 23, 28864, 26073, 62, 19010, 10...
[ 0.012176513671875, 0.1883544921875, 0.06378173828125, 0.102294921875, 0.16064453125, 0.0908203125, 0.0143280029296875, 0.076904296875, 0.04864501953125, 0.1468505859375, 0.2432861328125, 0.148681640625, 0.2041015625, 0.0865478515625, 0.08447265625, 0.224365234375, 0.1151123046875, ...
embed
43241129_c0
43241129
fsharp
0
Title: Accessing a member of JSON provider type Problem title: Accessing a member of JSON provider type Tags: json, type-providers, pipe, f%23 Problem: Accessing a member of JSON provider type I would like to simplify the following block of code to get rid of the let expression let jsonFeed = feed |> Fbjson.Parse jsonF...
Accessing a member of JSON provider type Accessing a member of JSON provider type json type-providers pipe f%23 Accessing JSON Fbjson.Parse jsonFeed.Data Seq.head Data Accessing a member of JSON provider type I would like to simplify the following block of code to get rid of the let expression Instead I would like to p...
[ 0.012939453125, 0.021728515625, 0.006866455078125, 0.029541015625, -0.01422119140625, -0.00616455078125, -0.000522613525390625, 0.0079345703125, -0.0089111328125, -0.035888671875, 0.0084228515625, 0.032958984375, 0.0240478515625, 0.01214599609375, 0.0177001953125, -0.0279541015625, -...
[ 40266, 32786, 821, 58627, 81450, 10644, 1647, 1681, 93136, 14202, 137158, 1238, 3742, 275, 170, 28636, 30154, 297, 137989, 503, 864, 5, 31251, 11809, 1884, 112892, 18929, 25632, 46389, 18151, 2046, 31351, 70, 2633, 125195, 8305, 7108, 1295, ...
[ 0.155517578125, 0.190185546875, 0.139404296875, 0.20068359375, 0.2197265625, 0.170166015625, 0.108154296875, 0.1812744140625, 0.1483154296875, 0.05169677734375, 0.181396484375, 0.017852783203125, 0.103759765625, 0.001220703125, 0.0738525390625, 0.04998779296875, 0.10888671875, 0.06...
embed
20289140_c0
20289140
fsharp
0
Title: F# SignalR Dynamic Class Problem title: F# SignalR Dynamic Class Tags: f%23, signalr Problem: F# SignalR Dynamic Class I am working through a tutorial on SignalR using F# and I have run into a problem. The SignalR IHubConnectionContext has an .All property that is dynamic. You are supposed to define the method h...
F# SignalR Dynamic Class F# SignalR Dynamic Class f%23 signalr SignalR Dynamic F# SignalR Dynamic Class I am working through a tutorial on SignalR using F# and I have run into a problem. The SignalR IHubConnectionContext has an .All property that is dynamic. You are supposed to define the method here that the client wi...
[ 0.0189208984375, 0.02392578125, -0.00604248046875, 0.0184326171875, -0.00311279296875, -0.006805419921875, -0.0238037109375, 0.0113525390625, -0.006134033203125, -0.0269775390625, -0.01019287109375, -0.048583984375, 0.0020599365234375, 0.0067138671875, 0.0087890625, 0.01031494140625, ...
[ 563, 4904, 144000, 1052, 73327, 21068, 35014, 1238, 3949, 3742, 26073, 42, 20697, 57143, 11675, 2967, 87, 140505, 235603, 11935, 22829, 1556, 5, 43512, 57266, 84079, 134598, 61924, 55300, 3688, 23282, 1221, 1439, 1257, 53299, 185325, 1295, 10...
[ 0.1153564453125, 0.19677734375, 0.2169189453125, 0.202880859375, 0.12939453125, 0.07086181640625, 0.1837158203125, 0.0648193359375, 0.001953125, 0.10052490234375, 0.127685546875, 0.10040283203125, 0.00238037109375, 0.1024169921875, 0.024993896484375, 0.0736083984375, 0.1102294921875,...
embed
23234047_c0
23234047
fsharp
0
Title: Conversion of lambda expressions to Func Problem title: Conversion of lambda expressions to Func Tags: f%23, func, function, lambda Problem: Conversion of lambda expressions to Func Given the following: open System.Linq let seqA = { 1..10 } this works: seqA.All (fun n -> n > 0) However this doesn't: let abc = fu...
Conversion of lambda expressions to Func Conversion of lambda expressions to Func f%23 func function lambda Conversion Func System.Linq seqA.All Conversion of lambda expressions to Func Given the following: this works: However this doesn't: Why does F# offer implicit conversion from lambda expressions to Func s but not...
[ 0.00836181640625, 0.0211181640625, 0.0111083984375, 0.00732421875, 0.003936767578125, 0.0038299560546875, 0.005859375, -0.00469970703125, 0.005035400390625, -0.0069580078125, 0.0142822265625, 0.00421142578125, -0.00994873046875, 0.0177001953125, 0.0177001953125, -0.00408935546875, -0...
[ 1657, 46354, 21, 6492, 85, 125195, 47, 28670, 238, 7, 1238, 3949, 3742, 7477, 32354, 12353, 44982, 40, 864, 284, 43512, 25632, 903, 43240, 33306, 22027, 18, 44084, 563, 4904, 18645, 165164, 142477, 1295, 91, 1284, 959, 41097, 70, 209806, ...
[ 0.045135498046875, 0.160400390625, 0.083740234375, 0.212646484375, 0.146484375, 0.2069091796875, 0.0838623046875, 0.2294921875, 0.1544189453125, 0.02435302734375, 0.0849609375, 0.0576171875, 0.1544189453125, 0.1478271484375, 0.191650390625, 0.080078125, 0.1270751953125, 0.026870727...
embed
50081444_c0
50081444
fsharp
0
Title: How should I terminate a func in F# Problem title: How should I terminate a func in F# Tags: f%23 Problem: How should I terminate a func in F# let Trans(DirPath:string) = if ( numOfVmFiles(DirPath) > 1) then //if there are more than 1 vm files in the directory Init("") let VmFiles = ListOfVmFiles(DirPath) for Vm...
How should I terminate a func in F# How should I terminate a func in F# f%23 How Trans DirPath:string DirPath Init VmFiles ListOfVmFiles VmFile ReadFile How should I terminate a func in F# I got this error: Error Block following this 'let' is unfinished. Expect an expression. what should I write?thznk u
[ 0.00909423828125, -0.003082275390625, 0.02099609375, 0.0107421875, -0.008544921875, -0.000598907470703125, 0.02783203125, -0.0103759765625, -0.000598907470703125, -0.00909423828125, -0.00009489059448242188, 0.0152587890625, -0.004119873046875, 0.005889892578125, 0.0076904296875, 0.0001...
[ 11249, 5608, 121011, 13, 7477, 238, 563, 4904, 87, 1238, 3949, 3742, 11062, 19946, 683, 10519, 91693, 360, 217, 310, 39, 174350, 32036, 132887, 856, 4764, 23, 18499, 212059, 80231, 25632, 903, 1974, 83, 51, 48310, 67175, 60075, 24762, 125...
[ 0.03668212890625, 0.1097412109375, 0.23095703125, 0.16845703125, 0.159423828125, 0.12548828125, 0.112060546875, 0.1788330078125, 0.009033203125, 0.04803466796875, 0.0224761962890625, 0.1375732421875, 0.149169921875, 0.10546875, 0.07666015625, 0.13671875, 0.122802734375, 0.039245605...
embed
73350051_c0
73350051
fsharp
0
Title: How cast string to voption struct? Problem title: How cast string to voption struct? Tags: f%23 Problem: How cast string to voption struct? i have simple struct [<Struct>] type Phone = private Phone of string and i need cast to Phone voption let toVOption (phone: string) : Phone voption = phone |> ValueOption.to...
How cast string to voption struct? How cast string to voption struct? f%23 How Struct Phone ValueOption.toObj Type Expecting How cast string to voption struct? i have simple struct and i need cast to Phone voption end i see error how correct cast string to Phone voption?
[ -0.006378173828125, 0.0025482177734375, -0.003936767578125, 0.02587890625, -0.000934600830078125, -0.007476806640625, -0.0087890625, -0.0120849609375, -0.00445556640625, -0.00982666015625, -0.004119873046875, 0.00003838539123535156, 0.0101318359375, -0.005340576171875, -0.017333984375, ...
[ 11249, 37702, 79315, 47, 81, 109585, 36716, 1238, 3949, 3742, 63667, 15390, 41761, 190060, 39029, 188, 46471, 170, 60457, 60075, 24762, 8781, 3871, 3564, 18499, 3642, 26785 ]
[ 0.0692138671875, 0.207763671875, 0.2337646484375, 0.1209716796875, 0.1063232421875, 0.2335205078125, 0.2469482421875, 0.017242431640625, 0.0196075439453125, 0.08441162109375, 0.162841796875, 0.0955810546875, 0.1756591796875, 0.1671142578125, 0.1380615234375, 0.10595703125, 0.09527587...
embed
58529545_c0
58529545
fsharp
0
Title: Getting all let bindings of module with reflection Problem title: Getting all let bindings of module with reflection Tags: f%23, reflection Problem: Getting all let bindings of module with reflection I've tried to get all let binding fields of an F# module but am struggling. System.Reflection.Assembly.GetExecuti...
Getting all let bindings of module with reflection Getting all let bindings of module with reflection f%23 reflection Getting System.Reflection.Assembly.GetExecutingAssembly GetTypes Seq.collect t.GetFields Getting all let bindings of module with reflection I've tried to get all let binding fields of an F# module but a...
[ -0.00823974609375, 0.0001316070556640625, -0.0189208984375, 0.03369140625, 0.007415771484375, 0.00445556640625, 0.01806640625, -0.00384521484375, -0.0024871826171875, -0.04541015625, 0.00004601478576660156, 0.012939453125, 0.00014591217041015625, 0.020751953125, 0.020751953125, 0.00518...
[ 210732, 756, 2633, 128239, 7, 88996, 678, 44961, 1830, 111, 1238, 3742, 12353, 190015, 133, 10763, 89845, 211603, 20779, 196707, 864, 196352, 126, 6159, 19388, 37842, 2046, 44457, 563, 4904, 237875, 30646, 18151, 105160, 52895 ]
[ 0.0982666015625, 0.140625, 0.2144775390625, 0.219970703125, 0.0858154296875, 0.2056884765625, 0.08612060546875, 0.2410888671875, 0.1011962890625, 0.00091552734375, 0.030792236328125, 0.091796875, 0.076171875, 0.1285400390625, 0.1318359375, 0.0156402587890625, 0.088134765625, 0.0745...
embed
45264398_c1
45264398
fsharp
1
matching separated out, with arguments. let Foo x = let valueOne a = //... lots of code. let valueTwo a = //... lots of code. match x with | 1 -> valueOne x | 2 -> valueTwo x // ===== OPTION 3 ===== // Active Pattern matching separated out, with arguments. let Foo x = let (|ValueOne|_|) inp = if inp = 1 then Some(...)...
matching separated out, with arguments. let Foo x = let valueOne a = //... lots of code. let valueTwo a = //... lots of code. match x with | 1 -> valueOne x | 2 -> valueTwo x // ===== OPTION 3 ===== // Active Pattern matching separated out, with arguments. let Foo x = let (|ValueOne|_|) inp = if inp = 1 then Some(...)...
[ -0.004669189453125, 0.004852294921875, -0.00726318359375, 0.00052642822265625, -0.005126953125, 0.004425048828125, 0.000019073486328125, 0.01153564453125, 0.022705078125, 0.0081787109375, 0.0118408203125, 0.01348876953125, -0.005767822265625, 0.01312255859375, 0.0103759765625, -0.01879...
[ 14858, 214, 84797, 71, 1810, 678, 10750, 7, 2633, 9572, 31, 1022, 2203, 34292, 62068, 10, 71358, 18151, 3613, 106, 116, 28023, 35213, 138, 88441, 9876, 22766, 856, 50770, 23, 254, 31384, 86, 190060, 876, 28864, 26073, 46474, 1916, 20744, ...
[ 0.2342529296875, 0.1732177734375, 0.1531982421875, 0.0592041015625, 0.1353759765625, 0.0750732421875, 0.2138671875, 0.0601806640625, 0.04364013671875, 0.1617431640625, 0.141845703125, 0.132080078125, 0.03668212890625, 0.1986083984375, 0.169921875, 0.0460205078125, 0.1099853515625, ...
embed
3753950_c0
3753950
fsharp
0
Title: What&#x27;s the reason of using ; in F# lists instead of ,? Problem title: What&#x27;s the reason of using ; in F# lists instead of ,? Tags: f%23, syntax, list Problem: What's the reason of using ; in F# lists instead of ,? This might be a strange question but if I want to define a list of integers from: 1, 2, 3...
What&#x27;s the reason of using ; in F# lists instead of ,? What&#x27;s the reason of using ; in F# lists instead of ,? f%23 syntax list What What's the reason of using ; in F# lists instead of ,? This might be a strange question but if I want to define a list of integers from: Do I need to do it using the ; character?...
[ -0.00872802734375, 0.001708984375, 0.0024871826171875, 0.000690460205078125, -0.01513671875, 0.011474609375, -0.0098876953125, 0.0206298828125, -0.000053882598876953125, 0.0033416748046875, 0.0106201171875, -0.035888671875, 0.0184326171875, -0.01171875, -0.010498046875, -0.0205078125, ...
[ 4865, 3768, 70, 31635, 111, 17368, 2819, 23, 563, 4904, 5303, 64457, 4, 1238, 3742, 6002, 86531, 7, 114453, 3444, 61924, 892, 26255, 1295, 3871, 62816, 37202, 163, 1286, 6083, 23468, 46223, 149016, 6528, 50155, 35778 ]
[ 0.007171630859375, 0.0290679931640625, 0.04742431640625, 0.171875, 0.058319091796875, 0.1180419921875, 0.1964111328125, 0.056304931640625, 0.124755859375, 0.2060546875, 0.2021484375, 0.1363525390625, 0.043212890625, 0.072509765625, 0.07135009765625, 0.034423828125, 0.1419677734375, ...
embed
32406283_c0
32406283
fsharp
0
Title: What is the difference between .NET&#x27;s HMAC and HMAC KeyedHashAlgorithm? Problem title: What is the difference between .NET&#x27;s HMAC and HMAC KeyedHashAlgorithm? Tags: f%23, hash, cryptography, c%23, .net Problem: What is the difference between .NET's HMAC and HMAC KeyedHashAlgorithm? What is the differen...
What is the difference between .NET&#x27;s HMAC and HMAC KeyedHashAlgorithm? What is the difference between .NET&#x27;s HMAC and HMAC KeyedHashAlgorithm? f%23 hash cryptography c%23 .net What NET HMAC KeyedHashAlgorithm Security.Cryptography.HMACSHA256.Create Security.Cryptography.KeyedHashAlgorithm.Create HmacSHA256 W...
[ 0.00958251953125, 0.0101318359375, 0.0059814453125, 0.014404296875, 0.004974365234375, 0.0115966796875, -0.0155029296875, 0.000591278076171875, -0.005157470703125, 0.020263671875, -0.0159912109375, -0.00445556640625, 0.029541015625, 0.0247802734375, -0.00830078125, -0.015625, 0.01495...
[ 60212, 17721, 5, 17777, 3768, 46592, 15012, 136, 26824, 297, 6495, 1495, 6210, 6504, 8962, 39, 1238, 3742, 1556, 127, 136791, 87168, 501, 1179, 4865, 48748, 239159, 67619, 127892, 63784, 162429, 572, 35572, 83, 841 ]
[ 0.196044921875, 0.10113525390625, 0.07159423828125, 0.2205810546875, 0.07879638671875, 0.1671142578125, 0.2174072265625, 0.0963134765625, 0.17138671875, 0.1143798828125, 0.1798095703125, 0.1165771484375, 0.0145416259765625, 0.1346435546875, 0.119140625, 0.08941650390625, 0.0437316894...
embed
34779588_c0
34779588
fsharp
0
Title: What&#x27;s the best way to use pattern matching in F#? Problem title: What&#x27;s the best way to use pattern matching in F#? Tags: tuples, pattern-matching, f%23, inline Problem: What's the best way to use pattern matching in F#? Make a function that takes two arguments, an integer and a five element tuple of ...
What&#x27;s the best way to use pattern matching in F#? What&#x27;s the best way to use pattern matching in F#? tuples pattern-matching f%23 inline What What's the best way to use pattern matching in F#? Make a function that takes two arguments, an integer and a five element tuple of integers that returns true if the s...
[ -0.006103515625, -0.004608154296875, 0.01519775390625, -0.00982666015625, 0.0050048828125, 0.005523681640625, -0.004669189453125, 0.007171630859375, 0.0194091796875, 0, 0.01708984375, 0.0123291015625, -0.00107574462890625, 0.002166748046875, 0.00182342529296875, 0.007659912109375, 0....
[ 3768, 2965, 3917, 47, 4527, 103510, 14858, 214, 23, 563, 4904, 370, 99726, 98753, 1238, 3742, 2256, 70, 26176, 32354, 51776, 6626, 10750, 892, 1505, 136, 43606, 12830, 8705, 26255, 30646, 29568, 2174, 10554, 17262, 80854, 117396, 3501, 5117...
[ 0.06304931640625, 0.1685791015625, 0.09423828125, 0.04937744140625, 0.1600341796875, 0.288818359375, 0.2763671875, 0.1834716796875, 0.0718994140625, 0.1505126953125, 0.2164306640625, 0.1278076171875, 0.200439453125, 0.262451171875, 0.085205078125, 0.0753173828125, 0.1448974609375, ...
embed
18690136_c0
18690136
fsharp
0
Title: Match within a match? Problem title: Match within a match? Tags: f%23 Problem: Match within a match? Is there a way to do a match within a match in F#? I've noticed that you can do one tailed on another like so... match L.Head with | null -> [] | _ -> match N with | 1 -> [L.Head] | _ -> [] But is there a way to ...
Match within a match? Match within a match? f%23 Match L.Head Match within a match? Is there a way to do a match within a match in F#? I've noticed that you can do one tailed on another like so... But is there a way to do it so that a match, ending with a _ can be placed in the MIDDLE of another match? This seems to gi...
[ -0.0023345947265625, 0.0194091796875, 0.01373291015625, 0.005340576171875, -0.01324462890625, -0.00885009765625, 0.006805419921875, 0.0015411376953125, 0.0203857421875, -0.020751953125, 0.0216064453125, 0.021240234375, 0.01116943359375, 0.0093994140625, 0.019775390625, -0.0150756835937...
[ 67407, 28032, 10, 14858, 1238, 3949, 3742, 339, 13025, 712, 3917, 54, 23, 563, 4904, 156672, 831, 1632, 1013, 6259, 98, 15700, 1884, 221, 86658, 678, 101, 158012, 13763, 24057, 15300, 111, 54608, 62775 ]
[ 0.2313232421875, 0.234375, 0.08935546875, 0.249755859375, 0.08056640625, 0.03466796875, 0.098876953125, 0.062255859375, 0.10791015625, 0.1075439453125, 0.06658935546875, 0.056976318359375, 0.09765625, 0.110107421875, 0.16357421875, 0.0213165283203125, 0.0316162109375, 0.02101135253...
embed
41786058_c2
41786058
fsharp
2
lbfgsoptimize(state, function1_grad, null, null) alglib.minlbfgsresults(state, x, rep) printfn "%A" rep.terminationtype printfn "%A" (alglib.ap.format(x, 2)) System.Console.ReadLine() |> ignore Code signals: LBFGS, new, Handling, function1_grad, x1-3, dx1, System.Math.Pow, Main, y-3, Several, alglib.minlbfgsstate, algl...
lbfgsoptimize(state, function1_grad, null, null) alglib.minlbfgsresults(state, x, rep) printfn "%A" rep.terminationtype printfn "%A" (alglib.ap.format(x, 2)) System.Console.ReadLine() |> ignore Code signals: LBFGS, new, Handling, function1_grad, x1-3, dx1, System.Math.Pow, Main, y-3, Several, alglib.minlbfgsstate, algl...
[ 0.005584716796875, 0.004974365234375, -0.00543212890625, 0.01123046875, -0.003173828125, -0.0052490234375, 0.0096435546875, -0.0013427734375, 0.0172119140625, 0.0191650390625, 0.0042724609375, 0.016845703125, 0.0128173828125, -0.018310546875, 0.0091552734375, 0.00164794921875, 0.0051...
[ 96, 150598, 9405, 100433, 20650, 61340, 32354, 8961, 56574, 144, 177, 5612, 1249, 48543, 420, 2109, 7136, 1022, 10958, 28412, 14783, 284, 720, 91407, 50986, 289, 2631, 5, 51727, 4958, 12353, 40777, 31345, 93232, 124962, 28864, 26073, 339, 8...
[ 0.0802001953125, 0.1380615234375, 0.1702880859375, 0.1844482421875, 0.1383056640625, 0.137939453125, 0.1412353515625, 0.1334228515625, 0.1375732421875, 0.1170654296875, 0.0751953125, 0.2200927734375, 0.1092529296875, 0.04034423828125, 0.0814208984375, 0.091064453125, 0.1387939453125,...
embed
30167287_c0
30167287
fsharp
0
Title: How to write an F# union type chooser? Problem title: How to write an F# union type chooser? Tags: f%23 Problem: How to write an F# union type chooser? Is there a better way to do this if F#? type T = | A of int | B of string static member chooseA x = match x with A i -> Some i | _ -> None static member chooseB ...
How to write an F# union type chooser? How to write an F# union type chooser? f%23 How Some None Seq.choose T.chooseA T.chooseB How to write an F# union type chooser? Is there a better way to do this if F#? The usecase is the following: Thanks!
[ -0.01385498046875, 0.000911712646484375, 0.032470703125, -0.0018463134765625, -0.0245361328125, -0.020751953125, -0.02490234375, 0.003387451171875, 0.00457763671875, 0.00885009765625, 0.009521484375, 0.00102996826171875, 0.018798828125, 0.002899169921875, 0.018310546875, -0.00946044921...
[ 11249, 47, 33022, 563, 4904, 69941, 10644, 55076, 42, 142, 1238, 3742, 31384, 438, 86, 503, 864, 3089, 8364, 384, 284, 571, 11522, 3917, 54, 4527, 58437, 25632 ]
[ 0.0867919921875, 0.08612060546875, 0.1651611328125, 0.1243896484375, 0.21484375, 0.2193603515625, 0.172607421875, 0.160888671875, 0.1513671875, 0.043243408203125, 0.034393310546875, 0.08380126953125, 0.06695556640625, 0.066162109375, 0.06884765625, 0.042877197265625, 0.1221923828125,...
embed
75016802_c1
75016802
fsharp
1
around 2.7 seconds F# - around 11 seconds my questions: is the dotnet compiler doing some sort of optimisation that throws away some of the processing because the return values are not being used resulting in the f# code running faster or am i doing something wrong? does f# have an unstable sort function that i can us...
around 2.7 seconds F# - around 11 seconds my questions: is the dotnet compiler doing some sort of optimisation that throws away some of the processing because the return values are not being used resulting in the f# code running faster or am i doing something wrong? does f# have an unstable sort function that i can us...
[ -0.00982666015625, 0.0086669921875, -0.00142669677734375, -0.038818359375, 0.0030364990234375, -0.0208740234375, -0.009521484375, -0.041748046875, -0.01708984375, -0.0211181640625, -0.0107421875, 0.025146484375, 0.000518798828125, 0.01458740234375, 0.000873565673828125, -0.018676757812...
[ 10932, 787, 966, 94131, 563, 4904, 20, 534, 17582, 83, 20633, 1179, 9969, 34759, 20594, 111, 15572, 15032, 104250, 16065, 3060, 70, 9433, 30646, 142424, 959, 11814, 16750, 1238, 18151, 51042, 4271, 56, 44691, 2234, 22819, 12096, 32354, 4527...
[ 0.122802734375, 0.10888671875, 0.16259765625, 0.2335205078125, 0.136474609375, 0.232177734375, 0.03411865234375, 0.191650390625, 0.08355712890625, 0.0201568603515625, 0.1357421875, 0.22802734375, 0.1485595703125, 0.132080078125, 0.035064697265625, 0.0128173828125, 0.1385498046875, ...
embed
33347188_c0
33347188
fsharp
0
Title: Working with non recursive lists Problem title: Working with non recursive lists Tags: f%23, list Problem: Working with non recursive lists So I've been working with lists recently. I want to make a non recursive function name: int list -> int , that returns the difference between the highest and lowest number i...
Working with non recursive lists Working with non recursive lists f%23 list Working list.fold list.filter list.exist list.max list.min Working with non recursive lists So I've been working with lists recently. I want to make a non recursive function name: int list -> int , that returns the difference between the highes...
[ -0.02783203125, 0.0277099609375, -0.0038604736328125, 0.006439208984375, -0.0093994140625, 0.018798828125, 0.001922607421875, 0.01318359375, 0.0126953125, -0.0269775390625, 0.0137939453125, -0.0087890625, -0.013671875, 0.0224609375, 0.025390625, -0.00439453125, 0.0093994140625, 0.0...
[ 27985, 678, 351, 195625, 5844, 5303, 214, 1238, 3949, 3742, 42822, 120337, 54376, 24084, 1249, 20697, 7, 78684, 3444, 3249, 32354, 9351, 23, 18, 33079, 30646, 60212, 17721, 167375, 136, 459, 25617, 14012, 8781, 3917, 20594, 5, 831, 54, 6,...
[ 0.1107177734375, 0.120849609375, 0.2161865234375, 0.1939697265625, 0.1639404296875, 0.233642578125, 0.006256103515625, 0.1103515625, 0.07440185546875, 0.1748046875, 0.197998046875, 0.201416015625, 0.21142578125, 0.1448974609375, 0.1749267578125, 0.114013671875, 0.00152587890625, 0....
embed
6794138_c1
6794138
fsharp
1
3-4 times slower than C++, which is a good result for a VM-based runtime. I consider the problem solved - thanks guys! EDIT4 : After merging all optimizations, these are the results (F# reached C# in imperative style - now if only I could do something about functional style, too!) real 0m0.221s: That was C++ real 0m0....
3-4 times slower than C++, which is a good result for a VM-based runtime. I consider the problem solved - thanks guys! EDIT4 : After merging all optimizations, these are the results (F# reached C# in imperative style - now if only I could do something about functional style, too!) real 0m0.221s: That was C++ real 0m0....
[ -0.004150390625, 0.0008087158203125, 0.022216796875, -0.01275634765625, 0.006378173828125, -0.0091552734375, -0.015869140625, -0.000148773193359375, 0.00006031990051269531, -0.01226806640625, -0.005584716796875, -0.006072998046875, -0.005615234375, -0.00125885009765625, 0.00360107421875,...
[ 20444, 20028, 72803, 56, 3501, 313, 37223, 4, 83, 4127, 16750, 100, 43084, 77007, 11675, 6032, 5, 16916, 2967, 86869, 45458, 51484, 38, 172864, 617, 1143, 9966, 756, 87235, 5256, 50339, 919, 4904, 157578, 23, 222530, 13, 20623, 4734, 5809...
[ 0.1361083984375, 0.11572265625, 0.2059326171875, 0.1614990234375, 0.113037109375, 0.097412109375, 0.288330078125, 0.1015625, 0.004547119140625, 0.05328369140625, 0.08599853515625, 0.00494384765625, 0.228515625, 0.116455078125, 0.08038330078125, 0.106689453125, 0.10589599609375, 0.0...
embed
40492778_c0
40492778
fsharp
0
Title: Operations on contiguous elements in F# Problem title: Operations on contiguous elements in F# Tags: list, f%23 Problem: Operations on contiguous elements in F# I found excellent documentation on the problem but, I admit, I totally fail in getting a grasp on how the solutions presented in the post worked. Given ...
Operations on contiguous elements in F# Operations on contiguous elements in F# list f%23 Operations Operations on contiguous elements in F# I found excellent documentation on the problem but, I admit, I totally fail in getting a grasp on how the solutions presented in the post worked. Given a list of integers, I would...
[ -0.0020599365234375, -0.0086669921875, 0.0035400390625, -0.0003299713134765625, -0.00958251953125, -0.0009307861328125, 0.0167236328125, 0.0257568359375, 0.035888671875, -0.0167236328125, 0.000873565673828125, 0.0301513671875, -0.002532958984375, 0.005035400390625, -0.00762939453125, -...
[ 102203, 7, 98, 22832, 12282, 10821, 80854, 23, 563, 4904, 5303, 1238, 3949, 3742, 40881, 209806, 2967, 35782, 51347, 79786, 77878, 892, 26255, 1884, 47, 51339, 41018, 123594, 16797, 2174, 14858, 24233, 55738, 3642, 831, 87, 10554, 70, 450, ...
[ 0.2164306640625, 0.028533935546875, 0.1217041015625, 0.1175537109375, 0.171142578125, 0.056610107421875, 0.17724609375, 0.0169525146484375, 0.1365966796875, 0.2027587890625, 0.1500244140625, 0.044464111328125, 0.0186614990234375, 0.10467529296875, 0.0048828125, 0.046142578125, 0.0599...
embed
60248678_c0
60248678
fsharp
0
Title: Concatenate Jobs in Hopac Problem title: Concatenate Jobs in Hopac Tags: hopac, f%23 Problem: Concatenate Jobs in Hopac How you would become an Alt<'a> out of a Job<'a> ? Or said others how one becomes one Alt<'a> from many, for example from an Alt<'a>[] ? There is Job.conCollect , which returns Job<'a> , but no...
Concatenate Jobs in Hopac Concatenate Jobs in Hopac hopac f%23 Concatenate Jobs Hopac Alt Job Job.conCollect Alt.conCollect Array.mapJob Concatenate Jobs in Hopac How you would become an Alt<'a> out of a Job<'a> ? Or said others how one becomes one Alt<'a> from many, for example from an Alt<'a>[] ? There is Job.conColl...
[ 0.00653076171875, 0.01806640625, -0.01275634765625, -0.004730224609375, -0.0038909912109375, -0.00732421875, -0.0011444091796875, -0.005615234375, 0.029541015625, -0.037353515625, -0.0220947265625, 0.0128173828125, 0.010498046875, 0.01904296875, 0.020751953125, -0.01019287109375, 0.0...
[ 1657, 33478, 76, 67, 73401, 23, 2291, 62268, 739, 1238, 3949, 3742, 10544, 32664, 2271, 78457, 8996, 69253, 62346, 194802, 11249, 398, 2806, 24209, 142, 25, 11, 1810, 111, 10, 2804, 3642, 1632, 1295, 5941, 8622, 5, 6, 30646, 1284, 33720...
[ 0.09844970703125, 0.1710205078125, 0.104736328125, 0.07135009765625, 0.2105712890625, 0.07513427734375, 0.1385498046875, 0.243896484375, 0.0784912109375, 0.010101318359375, 0.02362060546875, 0.0789794921875, 0.2052001953125, 0.2003173828125, 0.0938720703125, 0.12646484375, 0.15087890...
embed
62955215_c0
62955215
fsharp
0
Title: How to print in NUnit with F#? Problem title: How to print in NUnit with F#? Tags: visual-studio, unit-testing, f%23 Problem: How to print in NUnit with F#? I try to print something with the NUnit test framework in F#. It is not working when I run the piece of code below. What is the problem? I am using Visual S...
How to print in NUnit with F#? How to print in NUnit with F#? visual-studio unit-testing f%23 How NUnit firsttry_test NUnit.Framework SetUp Test Test1 Assert.Pass __a Hello How to print in NUnit with F#? I try to print something with the NUnit test framework in F#. It is not working when I run the piece of code below. ...
[ -0.01544189453125, 0.0016937255859375, 0.017822265625, 0.001983642578125, -0.0023193359375, -0.00982666015625, 0.019287109375, -0.01708984375, -0.01239013671875, 0.0169677734375, -0.0147705078125, -0.004058837890625, -0.006805419921875, 0.000396728515625, 0.007293701171875, -0.00132751...
[ 11249, 47, 28412, 23, 18057, 6773, 678, 563, 4904, 21176, 52629, 25072, 6954, 1238, 3742, 5117, 15123, 108386, 18244, 19943, 53234, 8647, 33657, 139117, 35378, 9790, 9844, 3034, 170846, 959, 20697, 11675, 18151, 35064, 2967, 17368, 73372, 229...
[ 0.047943115234375, 0.036376953125, 0.2127685546875, 0.1134033203125, 0.1845703125, 0.262451171875, 0.1104736328125, 0.160400390625, 0.217529296875, 0.13134765625, 0.108154296875, 0.1165771484375, 0.13037109375, 0.07269287109375, 0.057952880859375, 0.0145263671875, 0.060516357421875, ...
embed
31091312_c0
31091312
fsharp
0
Title: How to run a Websharper project using .Net Core and Kestrel from OSX or Linux? Problem title: How to run a Websharper project using .Net Core and Kestrel from OSX or Linux? Tags: websharper, kestrel-http-server, f%23, .net-core Problem: How to run a Websharper project using .Net Core and Kestrel from OSX or Linu...
How to run a Websharper project using .Net Core and Kestrel from OSX or Linux? How to run a Websharper project using .Net Core and Kestrel from OSX or Linux? websharper kestrel-http-server f%23 .net-core Net OSX How Websharper Core Kestrel Linux How to run a Websharper project using .Net Core and Kestrel from OSX or Li...
[ -0.0185546875, 0.0194091796875, -0.01129150390625, -0.00311279296875, 0.004241943359375, -0.01397705078125, 0.0037689208984375, -0.024658203125, -0.0174560546875, -0.01385498046875, 0.01348876953125, 0.0281982421875, -0.0032501220703125, 0.0162353515625, 0.0277099609375, 0.006072998046...
[ 11249, 47, 11675, 4002, 89280, 1264, 13452, 17368, 24447, 31365, 136, 1345, 5967, 141, 1295, 11787, 1542, 707, 29908, 5, 1467, 311, 5475, 39642, 1238, 3742, 1179, 30854, 10086, 10, 31577, 62822, 130250, 20187, 10723, 92635, 209806, 13028, 1...
[ 0.0921630859375, 0.049102783203125, 0.1651611328125, 0.1446533203125, 0.228759765625, 0.2490234375, 0.166748046875, 0.102783203125, 0.1646728515625, 0.227783203125, 0.115234375, 0.1165771484375, 0.166259765625, 0.1605224609375, 0.135009765625, 0.1365966796875, 0.15625, 0.0447082519...
embed
20208754_c0
20208754
fsharp
0
Title: Create node with label using Neo4jClient in f# Problem title: Create node with label using Neo4jClient in f# Tags: f%23, .net, neo4j, neo4jclient Problem: Create node with label using Neo4jClient in f# I am trying to create a node and also assign a label to that node. Following the instructions in Using Neo4j Gr...
Create node with label using Neo4jClient in f# Create node with label using Neo4jClient in f# f%23 .net neo4j neo4jclient Neo4jClient Create neo4j Create node with label using Neo4jClient in f# I am trying to create a node and also assign a label to that node. Following the instructions in Using Neo4j Graph DB With F# ...
[ -0.0036163330078125, -0.0028839111328125, 0.01300048828125, 0.0302734375, -0.008056640625, -0.037841796875, -0.00787353515625, -0.0091552734375, -0.006317138671875, -0.0206298828125, -0.00665283203125, -0.01025390625, 0.0146484375, -0.016845703125, 0.0198974609375, -0.0263671875, 0.0...
[ 151313, 110, 112, 678, 67967, 17368, 54311, 617, 170, 150, 2517, 23, 1238, 4904, 3742, 1179, 16169, 222978, 441, 31577, 28282, 95486, 167934, 6524, 11727, 57976, 17106, 563, 145755, 15270, 988, 5809, 959, 10, 100, 70, 75935, 4527, 55300, ...
[ 0.1085205078125, 0.172119140625, 0.154296875, 0.0970458984375, 0.26513671875, 0.02783203125, 0.2012939453125, 0.158935546875, 0.153076171875, 0.1322021484375, 0.1234130859375, 0.0052490234375, 0.1041259765625, 0.13720703125, 0.038330078125, 0.1016845703125, 0.1810302734375, 0.19055...
embed
54758548_c0
54758548
fsharp
0
Title: Compare values in a list Problem title: Compare values in a list Tags: f%23 Problem: Compare values in a list Trying to conceptualize how I would compare several values in a list to find the largest value, without using mutable variables. For example in an imperative language I could simply store a max variable ...
Compare values in a list Compare values in a list f%23 Compare Compare values in a list Trying to conceptualize how I would compare several values in a list to find the largest value, without using mutable variables. For example in an imperative language I could simply store a max variable that gets updated every time ...
[ 0.0025482177734375, 0.0103759765625, -0.004150390625, 0.0081787109375, -0.009765625, 0.0062255859375, 0.00185394287109375, 0.0130615234375, 0.022705078125, 0.0177001953125, 0.00885009765625, 0.01806640625, 0.01226806640625, 0.00092315673828125, 0.0230712890625, -0.0052490234375, 0.00...
[ 113307, 13, 142424, 23, 5303, 10, 1238, 3949, 3742, 228113, 2806, 69101, 40368, 7413, 70, 142105, 34292, 15490, 842, 22819, 77336, 222530, 46876, 42856, 4343, 18389, 150011, 11907, 1733, 720, 150679, 123309, 56037, 449, 1902, 116, 138, 10932,...
[ 0.22900390625, 0.095703125, 0.252685546875, 0.10693359375, 0.2393798828125, 0.0411376953125, 0.08746337890625, 0.06805419921875, 0.150390625, 0.11474609375, 0.0067138671875, 0.2166748046875, 0.08074951171875, 0.0950927734375, 0.025848388671875, 0.175048828125, 0.1707763671875, 0.05...
embed
28552191_c0
28552191
fsharp
0
Title: Why doesn&#x27;t Seq.groupBy work like I think it will with lists? (F#) Problem title: Why doesn&#x27;t Seq.groupBy work like I think it will with lists? (F#) Tags: f%23 Problem: Why doesn't Seq.groupBy work like I think it will with lists? (F#) Here's a sample code: let x = [5, 6, 65, 2, 3]; let p = x.Head; let...
Why doesn&#x27;t Seq.groupBy work like I think it will with lists? (F#) Why doesn&#x27;t Seq.groupBy work like I think it will with lists? (F#) f%23 Why Seq.groupBy x.Head Why doesn't Seq.groupBy work like I think it will with lists? (F#) Here's a sample code: I expected it would output But actually it outputs What am ...
[ 0.0203857421875, 0.027587890625, -0.00982666015625, -0.0152587890625, -0.0145263671875, 0.0067138671875, 0.004425048828125, 0.0076904296875, 0.0074462890625, 0.0177001953125, 0.010986328125, 0.044189453125, 0.01153564453125, 0.00872802734375, 0.000301361083984375, 0.000797271728515625,...
[ 44084, 22027, 3768, 18, 503, 864, 51588, 75358, 4488, 1884, 5351, 1221, 678, 5303, 4904, 3742, 1022, 13025, 712, 5, 919, 121413, 18151, 84751, 140992, 4966, 20653, 24658, 144057 ]
[ 0.0994873046875, 0.07666015625, 0.029754638671875, 0.07427978515625, 0.06463623046875, 0.1954345703125, 0.1650390625, 0.17626953125, 0.119873046875, 0.070068359375, 0.09527587890625, 0.05499267578125, 0.08221435546875, 0.1697998046875, 0.1072998046875, 0.02618408203125, 0.05554199218...
embed
36492223_c0
36492223
fsharp
0
Title: Error FS0037 sometimes, very confusing Problem title: Error FS0037 sometimes, very confusing Tags: f%23, shadowing, functional-programming Problem: Error FS0037 sometimes, very confusing If I write the following F# code, the compiler issues an error. let a = 123 let a = 123 The error produced is: error FS0037: D...
Error FS0037 sometimes, very confusing Error FS0037 sometimes, very confusing f%23 shadowing functional-programming Error FS0037 Error FS0037 sometimes, very confusing If I write the following F# code, the compiler issues an error. The error produced is: If I write the same code in a function like this: it doesn't prod...
[ 0.008544921875, 0.0048828125, -0.01470947265625, 0.007720947265625, 0.0216064453125, -0.025146484375, 0.007415771484375, 0.00494384765625, -0.0006103515625, -0.01806640625, -0.01495361328125, 0.016357421875, 0.017333984375, 0.0096435546875, 0.034423828125, 0.0034027099609375, 0.01672...
[ 212059, 93774, 7049, 10945, 68018, 4552, 55681, 6953, 1238, 3949, 3742, 208429, 214, 123309, 28966, 33022, 70, 25632, 563, 4904, 18151, 9969, 34759, 37348, 142, 18499, 181653, 4263, 87, 5701, 23, 10, 32354, 1884, 903, 22027, 18, 27489, 2499...
[ 0.1898193359375, 0.2032470703125, 0.117431640625, 0.2449951171875, 0.153076171875, 0.1011962890625, 0.128662109375, 0.10040283203125, 0.0826416015625, 0.032684326171875, 0.1483154296875, 0.218017578125, 0.07635498046875, 0.1248779296875, 0.079345703125, 0.099365234375, 0.014205932617...
embed
4027657_c0
4027657
fsharp
0
Title: Can you define an operator (***) in F#? Problem title: Can you define an operator (***) in F#? Tags: operators, functional-programming, f%23, arrow-abstraction Problem: Can you define an operator (***) in F#? I'm working on Arrows in F# and I wanted to create a *** operator. I note, however, that (***) , the nec...
Can you define an operator (***) in F#? Can you define an operator (***) in F#? operators functional-programming f%23 arrow-abstraction Can Can you define an operator (***) in F#? I'm working on Arrows in F# and I wanted to create a *** operator. I note, however, that (***) , the necessary way to express an operator in...
[ 0.01397705078125, -0.015625, 0.03173828125, -0.01129150390625, 0.005889892578125, -0.01031494140625, -0.0152587890625, -0.00067138671875, 0.00958251953125, -0.01214599609375, 0.006500244140625, 0.00152587890625, -0.00238037109375, -0.01953125, 0.00176239013671875, -0.00616455078125, ...
[ 4171, 61924, 142, 39933, 43047, 23, 563, 4904, 123309, 28966, 1238, 3742, 118201, 2055, 7, 117474, 398, 16, 20697, 1172, 15555, 28282, 24428, 70, 63559, 3917, 36510, 32354, 80934, 645, 96091, 46389, 6868, 6002, 86531, 87, 17569, 51139, 5, ...
[ 0.0587158203125, 0.19287109375, 0.0256195068359375, 0.270263671875, 0.2275390625, 0.061370849609375, 0.114013671875, 0.1927490234375, 0.1103515625, 0.0726318359375, 0.058929443359375, 0.045166015625, 0.1573486328125, 0.053009033203125, 0.0193634033203125, 0.113037109375, 0.0026550292...
embed
30992501_c2
30992501
fsharp
2
.TargetTemplate, FSharp.Formatting, FSharpVSPowerTools.Core, generate.fsx, Copying, Codez, logo-template.pdn, logo.png, style.css, style_light.css, tips.js, github-blue.png, github.png, d:HELP, d:REFERENCE, Processing, Source, tmp4a1e2cc4.tmp.cs, Compilation, Assembly, FakeLib, Version, Culture, PublicKeyToken, FSharp....
.TargetTemplate, FSharp.Formatting, FSharpVSPowerTools.Core, generate.fsx, Copying, Codez, logo-template.pdn, logo.png, style.css, style_light.css, tips.js, github-blue.png, github.png, d:HELP, d:REFERENCE, Processing, Source, tmp4a1e2cc4.tmp.cs, Compilation, Assembly, FakeLib, Version, Culture, PublicKeyToken, FSharp....
[ -0.0133056640625, -0.00726318359375, -0.0194091796875, -0.007354736328125, -0.01361083984375, 0.003936767578125, -0.01611328125, -0.022216796875, 0.01434326171875, -0.00494384765625, -0.0062255859375, 0.0159912109375, 0.003997802734375, -0.0014801025390625, 0.0234375, 0.00738525390625,...
[ 5, 63031, 3794, 159065, 19309, 4, 93774, 3467, 254, 102973, 19514, 47207, 105022, 186490, 7, 50886, 13, 139392, 17447, 425, 146930, 214, 28864, 169, 7643, 2982, 92558, 19, 128468, 20623, 4439, 20016, 6305, 28175, 62270, 32102, 143802, 104, ...
[ 0.1077880859375, 0.17529296875, 0.1646728515625, 0.20166015625, 0.1619873046875, 0.007171630859375, 0.08837890625, 0.216796875, 0.189208984375, 0.09130859375, 0.058380126953125, 0.1322021484375, 0.0994873046875, 0.2003173828125, 0.033660888671875, 0.10687255859375, 0.0211334228515625...
embed
67496660_c1
67496660
fsharp
1
them. The problem is this approach only works with a right sided triangle. With an equilateral triangle the mid point will end up having a higher value at its vertex than the value that is set. So I guess the approach is here to essentially project a right sided triangle and create some sort of transformation matrix b...
them. The problem is this approach only works with a right sided triangle. With an equilateral triangle the mid point will end up having a higher value at its vertex than the value that is set. So I guess the approach is here to essentially project a right sided triangle and create some sort of transformation matrix b...
[ 0.01226806640625, 0.00075531005859375, 0.01080322265625, -0.00958251953125, -0.0042724609375, -0.004608154296875, -0.01025390625, -0.0159912109375, 0.0177001953125, 0.01513671875, -0.020751953125, 0.0123291015625, 0.000972747802734375, -0.01287841796875, -0.00421142578125, -0.005645751...
[ 2856, 2967, 903, 51515, 4734, 43240, 678, 7108, 5609, 71, 1927, 109217, 60715, 141636, 4122, 6275, 1221, 3564, 1257, 19441, 77546, 34292, 493, 24371, 3501, 5423, 57767, 70, 3688, 85590, 13452, 28282, 167201, 50944, 425, 17721, 2499, 30378, ...
[ 0.163330078125, 0.1541748046875, 0.06390380859375, 0.21044921875, 0.0679931640625, 0.1356201171875, 0.066162109375, 0.1600341796875, 0.1292724609375, 0.0069580078125, 0.1905517578125, 0.197021484375, 0.0830078125, 0.1876220703125, 0.1636962890625, 0.168212890625, 0.0150299072265625, ...
embed
42347578_c0
42347578
fsharp
0
Title: Clean functional way to break out of a sequence loop Problem title: Clean functional way to break out of a sequence loop Tags: break, functional-programming, f%23 Problem: Clean functional way to break out of a sequence loop I have a sequential process with an optional exit condition. One way to write the algori...
Clean functional way to break out of a sequence loop Clean functional way to break out of a sequence loop break functional-programming f%23 Clean Clean functional way to break out of a sequence loop I have a sequential process with an optional exit condition. One way to write the algorithms is like this The overhead of...
[ 0.00138092041015625, 0.006683349609375, -0.0038909912109375, 0.01239013671875, 0.004119873046875, 0.00141143798828125, 0.0021209716796875, -0.00921630859375, -0.0052490234375, 0.0076904296875, 0.00604248046875, 0.021484375, -0.01806640625, 0.037841796875, 0.0023956298828125, 0.00811767...
[ 73133, 123309, 3917, 47, 36356, 1810, 111, 40, 944, 3956, 40956, 28966, 1238, 3949, 3742, 10, 243228, 9433, 35829, 82230, 35431, 33022, 234873, 1884, 903, 645, 31251, 175199, 1286, 100, 121892, 450, 621, 7158, 48398, 4743, 83, 194242, 22346...
[ 0.2423095703125, 0.2386474609375, 0.1427001953125, 0.06353759765625, 0.19970703125, 0.1884765625, 0.15771484375, 0.081787109375, 0.159423828125, 0.1151123046875, 0.2269287109375, 0.13427734375, 0.07720947265625, 0.0677490234375, 0.1522216796875, 0.006378173828125, 0.1588134765625, ...
embed
19670489_c0
19670489
fsharp
0
Title: What are currently the best free options to use CUDA on F# Problem title: What are currently the best free options to use CUDA on F# Tags: gpu, f%23, cuda Problem: What are currently the best free options to use CUDA on F# I want to use CUDA in F#. While Alea.CuBase seems really great it is unfortunately not fre...
What are currently the best free options to use CUDA on F# What are currently the best free options to use CUDA on F# gpu f%23 cuda What CUDA What are currently the best free options to use CUDA on F# I want to use CUDA in F#. While Alea.CuBase seems really great it is unfortunately not free. What are the best options ...
[ 0.0157470703125, -0.0011138916015625, 0.017578125, -0.006439208984375, 0.024658203125, -0.0064697265625, 0.0177001953125, 0.004730224609375, 0.004150390625, -0.004638671875, -0.0019683837890625, -0.00921630859375, 0.00445556640625, 0.0103759765625, -0.0208740234375, -0.0023193359375, ...
[ 4865, 82424, 2965, 4092, 50717, 47, 4527, 313, 82302, 98, 563, 4904, 621, 70, 706, 1766, 1238, 3949, 3742, 314, 85, 3444, 23, 4733, 11, 5, 33177, 63473, 13, 37202, 6183, 6782, 104272, 959, 100, 17368, 35773, 10484, 36457, 126809, 5045, ...
[ 0.0712890625, 0.0792236328125, 0.1192626953125, 0.14501953125, 0.151611328125, 0.034881591796875, 0.118896484375, 0.1336669921875, 0.274169921875, 0.07470703125, 0.1275634765625, 0.2130126953125, 0.00506591796875, 0.02325439453125, 0.00970458984375, 0.15380859375, 0.0872802734375, ...
embed
44988860_c0
44988860
fsharp
0
Title: What is this called in F# when a type appears after a specified type? Problem title: What is this called in F# when a type appears after a specified type? Tags: f%23 Problem: What is this called in F# when a type appears after a specified type? I have seen examples like this: type OptionalString = string option ...
What is this called in F# when a type appears after a specified type? What is this called in F# when a type appears after a specified type? f%23 What OptionalString What is this called in F# when a type appears after a specified type? I have seen examples like this: In these example both option and list type appears af...
[ 0.0224609375, 0.00142669677734375, -0.0013580322265625, 0.033935546875, 0.0029754638671875, 0.00182342529296875, 0.0020751953125, -0.002777099609375, 0.0174560546875, 0.047607421875, 0.01708984375, -0.0218505859375, 0.003692626953125, -0.0264892578125, 0.004791259765625, 0.024780273437...
[ 4865, 903, 35839, 23, 563, 4904, 3229, 10644, 135179, 7103, 58735, 297, 10, 1238, 3949, 3742, 86769, 289, 71713, 214, 83, 51592, 27781, 15044, 35829, 136, 5303, 79315, 43373, 52895, 209806, 831, 59121, 1884, 21373, 4426, 2740 ]
[ 0.04644775390625, 0.1241455078125, 0.1109619140625, 0.075439453125, 0.146484375, 0.21044921875, 0.048095703125, 0.2274169921875, 0.113525390625, 0.1751708984375, 0.1519775390625, 0.028106689453125, 0.001220703125, 0.1361083984375, 0.0965576171875, 0.1817626953125, 0.20068359375, 0....
embed
66296534_c0
66296534
fsharp
0
Title: Is it Possible to extract object properties as a sequence in F# Problem title: Is it Possible to extract object properties as a sequence in F# Tags: f%23 Problem: Is it Possible to extract object properties as a sequence in F# I'm new to F# - In nodejs - it's possible to extract & enumerate an objects properties...
Is it Possible to extract object properties as a sequence in F# Is it Possible to extract object properties as a sequence in F# f%23 Possible Object.entries object1 console.log Is it Possible to extract object properties as a sequence in F# I'm new to F# - In nodejs - it's possible to extract & enumerate an objects pro...
[ 0.0264892578125, -0.0093994140625, 0.005126953125, -0.0003871917724609375, -0.003265380859375, -0.00994873046875, -0.00872802734375, 0.00848388671875, -0.00848388671875, -0.0166015625, -0.0079345703125, 0.0164794921875, -0.000560760498046875, 0.007720947265625, 0.0057373046875, 0.01110...
[ 2071, 442, 115861, 2661, 47, 125663, 36746, 183871, 237, 40, 944, 3956, 23, 563, 4904, 1238, 3949, 3742, 134549, 2517, 10484, 418, 130250, 4867, 10, 3525, 360, 110, 36294, 7722, 619, 189085, 67, 2046, 2053, 229815, 51610, 2298, 156202, 14...
[ 0.07110595703125, 0.080322265625, 0.1644287109375, 0.12548828125, 0.030242919921875, 0.2374267578125, 0.22021484375, 0.2509765625, 0.106689453125, 0.089111328125, 0.14794921875, 0.1259765625, 0.053192138671875, 0.179443359375, 0.2108154296875, 0.1025390625, 0.0271759033203125, 0.11...
embed
45139595_c1
45139595
fsharp
1
1f" t.n) |> textView] div [v.View |> View.Map (fun t -> sprintf "Duration: %.1fms" t.d) |> textView] ] |> Doc.RunById "main" I am using Websharper 3.6.20.6, WebSharper.UI.Next 3.6.18.2 and Chrome 59.0.3071.115. Code signals: Slowing, Websharper, WebSharper.JavaScript, WebSharper.JQuery, WebSharper.UI.Next, WebSharper.U...
1f" t.n) |> textView] div [v.View |> View.Map (fun t -> sprintf "Duration: %.1fms" t.d) |> textView] ] |> Doc.RunById "main" I am using Websharper 3.6.20.6, WebSharper.UI.Next 3.6.18.2 and Chrome 59.0.3071.115. Code signals: Slowing, Websharper, WebSharper.JavaScript, WebSharper.JQuery, WebSharper.UI.Next, WebSharper.U...
[ -0.01806640625, 0.0179443359375, -0.0011749267578125, -0.028564453125, 0.021240234375, -0.01446533203125, -0.01409912109375, -0.0133056640625, -0.0034332275390625, -0.05517578125, -0.006134033203125, -0.0030517578125, -0.00933837890625, -0.0257568359375, 0.004974365234375, 0.0185546875...
[ 106, 420, 808, 19, 7986, 100474, 18221, 334, 29805, 166179, 16498, 145320, 17726, 30494, 69130, 418, 4432, 29048, 163321, 75358, 568, 71, 24931, 17368, 4002, 89280, 1264, 1031, 178121, 122887, 3467, 33457, 81280, 173245, 128423, 32178, 11156, ...
[ 0.09088134765625, 0.195068359375, 0.1192626953125, 0.030059814453125, 0.150146484375, 0.30810546875, 0.175048828125, 0.08673095703125, 0.1966552734375, 0.18212890625, 0.1378173828125, 0.210693359375, 0.140869140625, 0.12939453125, 0.1220703125, 0.0645751953125, 0.115966796875, 0.15...
embed
51243559_c0
51243559
fsharp
0
Title: how to pass string type list in F# function Problem title: how to pass string type list in F# function Tags: f%23 Problem: how to pass string type list in F# function This code is giving error FS0001: This expression was expected to have type 'string' but here has type ''a * 'b' open System open System.Linq let ...
how to pass string type list in F# function how to pass string type list in F# function f%23 System System.Linq list1 list2 Console.ReadKey how to pass string type list in F# function This code is giving error FS0001: This expression was expected to have type 'string' but here has type ''a * 'b'
[ 0.01373291015625, 0.01031494140625, -0.0106201171875, 0.0230712890625, -0.00164031982421875, -0.00188446044921875, 0.00518798828125, -0.01104736328125, -0.007476806640625, 0.00836181640625, 0.0242919921875, 0.00634765625, 0.0130615234375, 0.0167236328125, -0.01397705078125, 0.003097534...
[ 3642, 47, 27875, 79315, 10644, 5303, 23, 563, 4904, 32354, 1238, 3949, 3742, 12353, 44982, 40777, 31345, 162429, 18151, 18499, 93774, 188735, 125195, 84751, 91693, 1284, 3688, 1556, 11, 661, 275 ]
[ 0.046722412109375, 0.03302001953125, 0.1568603515625, 0.226806640625, 0.2108154296875, 0.19677734375, 0.044830322265625, 0.1483154296875, 0.207275390625, 0.1712646484375, 0.075927734375, 0.0029296875, 0.1473388671875, 0.038787841796875, 0.0810546875, 0.0684814453125, 0.1041259765625,...
embed
22250677_c0
22250677
fsharp
0
Title: FParsec: Parameterizing `parray n p` with elements of a list Problem title: FParsec: Parameterizing `parray n p` with elements of a list Tags: parsing, f%23, fparsec Problem: FParsec: Parameterizing `parray n p` with elements of a list The problem is this: I know I need to parse n occurrences of p , but I also h...
FParsec: Parameterizing `parray n p` with elements of a list FParsec: Parameterizing `parray n p` with elements of a list parsing f%23 fparsec FParsec Parameterizing FParsec: Parameterizing `parray n p` with elements of a list The problem is this: I know I need to parse n occurrences of p , but I also have a list xs fr...
[ -0.0172119140625, 0.006622314453125, -0.005279541015625, 0.00732421875, -0.0047607421875, 0.0089111328125, 0.0096435546875, -0.0174560546875, 0.0211181640625, -0.028564453125, 0.0031280517578125, -0.0038299560546875, 0.015625, -0.01287841796875, -0.0218505859375, -0.0101318359375, 0....
[ 563, 28636, 39797, 12, 1720, 29089, 84382, 2500, 7092, 653, 915, 678, 80854, 111, 5303, 366, 6953, 1238, 3949, 3742, 2967, 3714, 3871, 184, 74918, 42, 69098, 765, 1022, 7, 1295, 27875, 142, 12830, 47, 98, 12638, 38415, 28872, 1632, 3429...
[ 0.08447265625, 0.1605224609375, 0.205810546875, 0.00091552734375, 0.128173828125, 0.155517578125, 0.12060546875, 0.118408203125, 0.22265625, 0.1173095703125, 0.1810302734375, 0.113525390625, 0.1590576171875, 0.04193115234375, 0.197265625, 0.1705322265625, 0.007415771484375, 0.06329...
embed
28143186_c0
28143186
fsharp
0
Title: fsharp get nth element from a list Problem title: fsharp get nth element from a list Tags: f%23, pattern-matching Problem: fsharp get nth element from a list This is a really easy question but I'm just not familiar with pattern matching and f# syntax. I'm trying to write a function that takes an int and an a' li...
fsharp get nth element from a list fsharp get nth element from a list f%23 pattern-matching a x::xs n-1 fsharp get nth element from a list This is a really easy question but I'm just not familiar with pattern matching and f# syntax. I'm trying to write a function that takes an int and an a' list, and return the nth ele...
[ -0.02685546875, 0.016357421875, 0.007598876953125, -0.01336669921875, -0.0069580078125, -0.001129150390625, 0.01275634765625, 0.00433349609375, 0.01531982421875, -0.025390625, 0.035888671875, -0.00156402587890625, -0.01177978515625, -0.004791259765625, -0.004486083984375, -0.0121459960...
[ 1238, 89280, 254, 2046, 653, 927, 12830, 1295, 5303, 3949, 3742, 103510, 98753, 1022, 425, 5759, 23468, 16031, 14858, 4904, 6002, 86531, 31577, 33022, 32354, 51776, 23, 18, 136, 10, 25, 30646, 10644, 47644, 903, 4358, 22936 ]
[ 0.10015869140625, 0.1917724609375, 0.12060546875, 0.1065673828125, 0.2008056640625, 0.2005615234375, 0.1845703125, 0.1129150390625, 0.17138671875, 0.001495361328125, 0.1182861328125, 0.1610107421875, 0.1556396484375, 0.02191162109375, 0.0189056396484375, 0.10162353515625, 0.035125732...
embed
64794366_c0
64794366
fsharp
0
Title: In F#, how to write null to a Nullable&lt;System.DateTime&gt; class member? Problem title: In F#, how to write null to a Nullable&lt;System.DateTime&gt; class member? Tags: null, f%23 Problem: In F#, how to write null to a Nullable class member? (Really Really confused). I have a class, Visit, downloaded from a ...
In F#, how to write null to a Nullable&lt;System.DateTime&gt; class member? In F#, how to write null to a Nullable&lt;System.DateTime&gt; class member? null f%23 Nullable System.Nullable System.DateTime service_time In F#, how to write null to a Nullable class member? (Really Really confused). I have a class, Visit, do...
[ -0.00335693359375, 0.01507568359375, 0.051513671875, -0.00160980224609375, -0.009521484375, -0.00726318359375, -0.0040283203125, -0.01806640625, 0.00138092041015625, 0.004730224609375, -0.0024566650390625, 0.03125, 0.01177978515625, 0.0218505859375, -0.009033203125, -0.0146484375, -0...
[ 360, 563, 4904, 3642, 47, 33022, 56574, 27786, 2661, 1277, 84293, 86291, 70059, 5386, 18507, 32786, 5, 1238, 3949, 3742, 12353, 839, 20446, 4516, 6032, 10, 68996, 5120, 55681, 98684, 7026, 297, 37808, 919, 61924, 237, 28864, 83, 59121, 90...
[ 0.036773681640625, 0.1461181640625, 0.2222900390625, 0.09661865234375, 0.135498046875, 0.204833984375, 0.298583984375, 0.2095947265625, 0.2452392578125, 0.06842041015625, 0.1444091796875, 0.10748291015625, 0.1788330078125, 0.071044921875, 0.1796875, 0.210693359375, 0.001068115234375,...
embed
8362080_c0
8362080
fsharp
0
Title: Inconsistent behavior in pattern matching Problem title: Inconsistent behavior in pattern matching Tags: f%23 Problem: Inconsistent behavior in pattern matching type Bar = A | B type Foo = C of Bar | D of Bar let case = Unchecked.defaultof<Foo>;; match case with | C A -> "" | D B -> "" | _ -> "Throws" Quickly sk...
Inconsistent behavior in pattern matching Inconsistent behavior in pattern matching f%23 Inconsistent Bar Foo Unchecked.defaultof Matches Throws Inconsistent behavior in pattern matching Quickly skimming over the F# Language Spec, nothing about null-test (which I can't do anyway) seemed related and both types seems to ...
[ 0.007110595703125, 0.010009765625, 0.005706787109375, 0.01177978515625, 0.01055908203125, -0.020751953125, -0.0260009765625, -0.016845703125, 0.01513671875, 0.0068359375, 0.006256103515625, 0.00555419921875, 0.0166015625, 0.01336669921875, 0.0269775390625, -0.01458740234375, 0.018676...
[ 360, 25553, 6892, 18, 123166, 23, 103510, 14858, 214, 1238, 3949, 3742, 3253, 9572, 31, 992, 78292, 214810, 4390, 67407, 6003, 15555, 7158, 563, 4904, 83658, 24990, 56574, 6954, 109954, 16, 62548, 52895, 47, 186, 91067, 10644, 41591, 26785 ...
[ 0.090087890625, 0.1875, 0.204345703125, 0.0389404296875, 0.16259765625, 0.045440673828125, 0.1954345703125, 0.210693359375, 0.054962158203125, 0.0977783203125, 0.048583984375, 0.13525390625, 0.13818359375, 0.151611328125, 0.128662109375, 0.0792236328125, 0.1607666015625, 0.20556640...
embed
21960145_c0
21960145
fsharp
0
Title: Is there an existing function to apply a function to each member of a tuple? Problem title: Is there an existing function to apply a function to each member of a tuple? Tags: f%23 Problem: Is there an existing function to apply a function to each member of a tuple? I want to apply a function to both members of a...
Is there an existing function to apply a function to each member of a tuple? Is there an existing function to apply a function to each member of a tuple? f%23 Is there an existing function to apply a function to each member of a tuple? I want to apply a function to both members of a homogenous tuple, resulting in anoth...
[ 0.010498046875, -0.0267333984375, 0.01507568359375, 0.0115966796875, -0.00775146484375, -0.0037384033203125, -0.007232666015625, -0.01507568359375, 0.015625, -0.0361328125, -0.00860595703125, 0.020751953125, -0.01141357421875, 0.0042724609375, 0.01080322265625, -0.0218505859375, -0.0...
[ 2071, 2685, 142, 144573, 32354, 47, 59911, 10, 12638, 32786, 111, 370, 8705, 32, 1238, 3949, 3742, 3444, 15044, 43032, 12840, 61065, 16750, 15700, 61924, 39933, 115058, 10422, 12319, 903, 13648, 39210, 4527, 7225, 69427, 7413, 442, 5570, 35...
[ 0.093017578125, 0.1341552734375, 0.1385498046875, 0.290283203125, 0.289306640625, 0.1773681640625, 0.2371826171875, 0.065185546875, 0.2015380859375, 0.21923828125, 0.07391357421875, 0.1651611328125, 0.2578125, 0.010284423828125, 0.0760498046875, 0.0430908203125, 0.1134033203125, 0....
embed
68766472_c1
68766472
fsharp
1
List.init count (fun index -> index) let items = [for (id) in idList -> Something id] let rnd = System.Random() for i in items do i.children <- List.init 100 (fun _ -> Something (rnd.Next(0, count - 1))) // process the list for i in items do processList(i, items) Console.WriteLine("Processing completed successfully") ...
List.init count (fun index -> index) let items = [for (id) in idList -> Something id] let rnd = System.Random() for i in items do i.children <- List.init 100 (fun _ -> Something (rnd.Next(0, count - 1))) // process the list for i in items do processList(i, items) Console.WriteLine("Processing completed successfully") ...
[ 0.010498046875, 0.01153564453125, -0.014404296875, 0.00179290771484375, 0.0022430419921875, 0.00799560546875, -0.0002994537353515625, -0.0164794921875, 0.00469970703125, -0.044189453125, 0.011962890625, 0.021484375, -0.0036773681640625, 0.0400390625, 0.00262451171875, -0.00005316734313...
[ 32036, 5, 73, 217, 54529, 15, 16498, 63262, 33079, 16, 2633, 55769, 2203, 2472, 532, 3447, 154663, 200905, 2208, 12353, 126525, 3815, 132, 100, 17, 23, 54, 237052, 805, 81280, 2389, 106, 4666, 9433, 5303, 14, 40777, 93232, 10752, 26531, ...
[ 0.2412109375, 0.048797607421875, 0.1142578125, 0.1517333984375, 0.2548828125, 0.0164031982421875, 0.208740234375, 0.1715087890625, 0.05999755859375, 0.00634765625, 0.0526123046875, 0.2081298828125, 0.012908935546875, 0.0682373046875, 0.10888671875, 0.1260986328125, 0.1842041015625, ...
embed
35492100_c0
35492100
fsharp
0
Title: Convert an XML file to CSV file in Fsharp Problem title: Convert an XML file to CSV file in Fsharp Tags: type-providers, csv, f%23, xml, .net Problem: Convert an XML file to CSV file in Fsharp I am playing with Fsharp script and trying to find a way to convert data from an XML file to a CSV file. I started by re...
Convert an XML file to CSV file in Fsharp Convert an XML file to CSV file in Fsharp type-providers csv f%23 xml .net Convert XML CSV Fsharp Convert an XML file to CSV file in Fsharp I am playing with Fsharp script and trying to find a way to convert data from an XML file to a CSV file. I started by reading the XML file...
[ -0.000316619873046875, 0.01422119140625, 0.0228271484375, 0.01202392578125, 0.019287109375, 0.01348876953125, -0.0181884765625, 0.007110595703125, -0.017333984375, -0.017822265625, -0.00726318359375, -0.01226806640625, 0.021484375, 0.0108642578125, 0.0167236328125, -0.01318359375, 0....
[ 1657, 11549, 92537, 11435, 47, 313, 43486, 563, 89280, 254, 10644, 93136, 14202, 20763, 334, 1238, 3949, 3742, 131492, 1179, 75169, 26499, 3917, 96760, 2053, 1295, 16454, 820, 12349, 42378, 2594, 174379, 35686, 52825, 959, 43542, 7464, 1193, ...
[ 0.0230255126953125, 0.1307373046875, 0.242431640625, 0.1534423828125, 0.06005859375, 0.0806884765625, 0.285400390625, 0.08203125, 0.1871337890625, 0.1422119140625, 0.08740234375, 0.133544921875, 0.0270843505859375, 0.03662109375, 0.1514892578125, 0.002593994140625, 0.0225372314453125...
embed
40022846_c0
40022846
fsharp
0
Title: How to count the occurrence of a specific character in a string Problem title: How to count the occurrence of a specific character in a string Tags: f%23 Problem: How to count the occurrence of a specific character in a string I'm not sure where to begin with the checking of a string for n occurrences of a speci...
How to count the occurrence of a specific character in a string How to count the occurrence of a specific character in a string f%23 How getStr.Length Not How to count the occurrence of a specific character in a string I'm not sure where to begin with the checking of a string for n occurrences of a specific char. I've ...
[ 0.004302978515625, 0.00003981590270996094, -0.005828857421875, 0.006622314453125, 0.006744384765625, -0.000682830810546875, 0.0186767578125, -0.0157470703125, -0.01251220703125, 0.0008544921875, -0.006439208984375, -0.04736328125, -0.007110595703125, 0.0111083984375, -0.00122833251953125...
[ 11249, 47, 54529, 70, 74918, 42, 6620, 111, 29458, 62816, 23, 79315, 1238, 3949, 3742, 2046, 71713, 5267, 449, 927, 11205, 10, 9077, 9842, 175199, 100, 653, 69098, 21441, 2256, 41591, 170846, 32354, 10941 ]
[ 0.08233642578125, 0.09912109375, 0.22509765625, 0.00140380859375, 0.1688232421875, 0.1304931640625, 0.08349609375, 0.026336669921875, 0.2174072265625, 0.203369140625, 0.0657958984375, 0.2347412109375, 0.0858154296875, 0.03973388671875, 0.146240234375, 0.09173583984375, 0.162963867187...
embed