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
40732109_c1
40732109
fsharp
1
Array.tryFindIndex(fun x -> x = ii) match oItemIndex with | Some index -> // There already an item of this type in the bag let item = x.Bag |> Array.find(fun x -> x = ii) let newBag = x.Bag |> Array.filter((<>) item) |> Array.append [| { item with Quantity = item.Quantity +ii.Quantity |] |> makeBagItemsDistinct let in...
Array.tryFindIndex(fun x -> x = ii) match oItemIndex with | Some index -> // There already an item of this type in the bag let item = x.Bag |> Array.find(fun x -> x = ii) let newBag = x.Bag |> Array.filter((<>) item) |> Array.append [| { item with Quantity = item.Quantity +ii.Quantity |] |> makeBagItemsDistinct let in...
[ -0.0380859375, 0.01708984375, 0.01043701171875, -0.015380859375, 0.00152587890625, -0.0179443359375, -0.0047607421875, 0.01055908203125, 0.0177001953125, 0.00640869140625, 0.00872802734375, 0.0047607421875, -0.00244140625, -0.00054931640625, 0.0086669921875, -0.001739501953125, 0.027...
[ 69253, 53, 5, 15123, 204582, 4153, 39659, 16498, 1022, 33079, 17, 14, 14858, 36, 2982, 678, 31384, 63262, 4666, 8622, 21771, 35735, 903, 10644, 23, 70, 6157, 2633, 192996, 111607, 3525, 120337, 9007, 3611, 75344, 173495, 18, 2481, 997, 15...
[ 0.167236328125, 0.1375732421875, 0.03302001953125, 0.2166748046875, 0.178955078125, 0.126220703125, 0.26611328125, 0.1746826171875, 0.1431884765625, 0.0892333984375, 0.0645751953125, 0.16796875, 0.1502685546875, 0.1514892578125, 0.1817626953125, 0.062744140625, 0.111083984375, 0.23...
embed
51733155_c0
51733155
fsharp
0
Title: Fsharp.Core dependency from nuget package doesn&#x27;t get copied to bin directory Problem title: Fsharp.Core dependency from nuget package doesn&#x27;t get copied to bin directory Tags: c%23, visual-studio, .net, f%23, nuget Problem: Fsharp.Core dependency from nuget package doesn't get copied to bin directory ...
Fsharp.Core dependency from nuget package doesn&#x27;t get copied to bin directory Fsharp.Core dependency from nuget package doesn&#x27;t get copied to bin directory c%23 visual-studio .net f%23 nuget nuget Fsharp.Core Fsharp.Core dependency from nuget package doesn't get copied to bin directory I'm using ExcelFinancia...
[ -0.0027618408203125, 0.0033416748046875, -0.0107421875, 0.0107421875, -0.0220947265625, -0.002044677734375, -0.00146484375, 0.008056640625, -0.000675201416015625, 0.0247802734375, -0.0101318359375, 0.003570556640625, 0.0011444091796875, 0.0311279296875, 0.036376953125, -0.0119018554687...
[ 563, 89280, 254, 50886, 42548, 27771, 1295, 315, 3794, 98169, 3768, 18, 2046, 71200, 47, 2394, 14364, 5, 13, 501, 3742, 21176, 52629, 1179, 1238, 22027, 53, 17368, 30326, 84511, 26136, 97249, 4904, 35773, 23708, 13452, 62, 91067, 25072, 1...
[ 0.1424560546875, 0.2132568359375, 0.1893310546875, 0.155517578125, 0.2052001953125, 0.0732421875, 0.026275634765625, 0.15771484375, 0.2264404296875, 0.13330078125, 0.05279541015625, 0.0963134765625, 0.0225067138671875, 0.1953125, 0.06939697265625, 0.1900634765625, 0.123046875, 0.01...
embed
53295029_c0
53295029
fsharp
0
Title: F# Math.Net Matrix.mapRows to create new matrix with different size Problem title: F# Math.Net Matrix.mapRows to create new matrix with different size Tags: f%23, mathnet-numerics Problem: F# Math.Net Matrix.mapRows to create new matrix with different size I have a function that manipulates a Vector<float> resul...
F# Math.Net Matrix.mapRows to create new matrix with different size F# Math.Net Matrix.mapRows to create new matrix with different size f%23 mathnet-numerics Math.Net Matrix.mapRows Vector x:Vector x.ToArray Array.append MathNet.Numerics.LinearAlgebra F# Math.Net Matrix.mapRows to create new matrix with different size ...
[ -0.005035400390625, 0.048095703125, 0.00982666015625, 0.023681640625, -0.01513671875, -0.023193359375, 0.021240234375, 0.016845703125, -0.0037078857421875, -0.0015106201171875, 0.01165771484375, -0.01165771484375, -0.00152587890625, 0.0137939453125, 0.004425048828125, -0.0167236328125,...
[ 563, 4904, 78804, 24447, 194234, 62346, 12724, 19725, 47, 28282, 3525, 50944, 425, 678, 12921, 13267, 1238, 3742, 48909, 1179, 2609, 18770, 1022, 26455, 5, 7763, 7092, 9007, 3611, 28021, 93232, 429, 32354, 45258, 52347, 16750, 140909, 27781, ...
[ 0.0732421875, 0.140380859375, 0.1163330078125, 0.170654296875, 0.196533203125, 0.1263427734375, 0.1663818359375, 0.1170654296875, 0.0478515625, 0.1297607421875, 0.1041259765625, 0.166015625, 0.10302734375, 0.053375244140625, 0.162841796875, 0.146484375, 0.05816650390625, 0.06164550...
embed
55654522_c0
55654522
fsharp
0
Title: How to pass custom date format to CsvProvider in F# Problem title: How to pass custom date format to CsvProvider in F# Tags: f%23 Problem: How to pass custom date format to CsvProvider in F# I'm using CsvProvider to parse a CSV file i receive from an external source. The date format of the file is dd/MM/yy. But ...
How to pass custom date format to CsvProvider in F# How to pass custom date format to CsvProvider in F# f%23 How CsvProvider MyCsvProvider Sample sample.csv HasHeaders Schema Date MyCsvProvider.Load How to pass custom date format to CsvProvider in F# I'm using CsvProvider to parse a CSV file i receive from an external ...
[ 0.01080322265625, 0.00994873046875, 0.00897216796875, 0.03125, -0.00909423828125, -0.00054168701171875, 0.0113525390625, 0.036376953125, -0.006011962890625, -0.0123291015625, -0.01458740234375, -0.004974365234375, -0.005584716796875, -0.00634765625, -0.0152587890625, -0.0185546875, -...
[ 11249, 27875, 114122, 5622, 9384, 47, 313, 67756, 177997, 62160, 563, 4904, 23, 1238, 3742, 2646, 441, 33209, 121413, 4439, 334, 20625, 13025, 11, 14202, 34702, 192, 25512, 17368, 366, 43486, 11435, 53299, 173591, 31344, 83, 4028, 64, 25590...
[ 0.0390625, 0.145263671875, 0.24072265625, 0.17578125, 0.229736328125, 0.099609375, 0.107666015625, 0.230224609375, 0.1783447265625, 0.1922607421875, 0.123046875, 0.2115478515625, 0.034912109375, 0.05609130859375, 0.1002197265625, 0.043792724609375, 0.035064697265625, 0.098327636718...
embed
40572925_c0
40572925
fsharp
0
Title: Declare type list argument in F# Problem title: Declare type list argument in F# Tags: list, f%23 Problem: Declare type list argument in F# I am building a simple function that compares two lists and returns true if the first list is a prefix of the second one. Expected signature: prefix: int list -> int list ->...
Declare type list argument in F# Declare type list argument in F# list f%23 Declare Consider Declare type list argument in F# I am building a simple function that compares two lists and returns true if the first list is a prefix of the second one. Expected signature: For example: Right now, I am at this step: I think I...
[ 0.000457763671875, 0.01373291015625, -0.0017852783203125, 0.00148773193359375, -0.01300048828125, -0.0123291015625, -0.021484375, -0.0029754638671875, -0.004180908203125, -0.01116943359375, 0.0147705078125, -0.0086669921875, 0.006744384765625, 0.0012969970703125, -0.0002956390380859375, ...
[ 25755, 38103, 10644, 5303, 10750, 563, 4904, 23, 1238, 3949, 3742, 137399, 33976, 8781, 32354, 69101, 6626, 30646, 29568, 183114, 17932, 60075, 13, 138256, 27781, 29954, 5351, 5809, 7108, 3917, 903, 18499, 11249, 831, 87, 159978, 450, 96, 4...
[ 0.127685546875, 0.1575927734375, 0.210205078125, 0.2381591796875, 0.1883544921875, 0.1348876953125, 0.18017578125, 0.055755615234375, 0.0472412109375, 0.00933837890625, 0.1224365234375, 0.1634521484375, 0.047607421875, 0.0296783447265625, 0.08905029296875, 0.1414794921875, 0.02006530...
embed
28538045_c0
28538045
fsharp
0
Title: How to create record in match pattern Problem title: How to create record in match pattern Tags: f%23 Problem: How to create record in match pattern I want to write an application that read ip address from xml file. The file looks like <range> <start>192.168.40.1</start> <end>192.168.50.255</end> <subnet>255.255...
How to create record in match pattern How to create record in match pattern f%23 How Scope Start IPAddress End Subnetmask Gateway Seq.iter e.Name.LocalName e.Value Subnet How to create record in match pattern I want to write an application that read ip address from xml file. The file looks like I create an records type...
[ -0.00058746337890625, 0.0213623046875, -0.001220703125, 0.019775390625, 0.004241943359375, -0.01043701171875, -0.0177001953125, 0.02783203125, 0.00191497802734375, 0.0186767578125, 0.0133056640625, -0.01007080078125, 0.00836181640625, -0.0224609375, 0.032470703125, -0.002166748046875, ...
[ 11249, 47, 28282, 17164, 23, 14858, 103510, 1238, 3949, 3742, 182783, 13, 13794, 8021, 161007, 18878, 8273, 1179, 1510, 213692, 864, 16840, 203758, 856, 50770, 3444, 33022, 38415, 12301, 254, 29823, 1295, 131492, 11435, 33342, 115923, 10644, ...
[ 0.0880126953125, 0.092529296875, 0.22412109375, 0.259521484375, 0.1053466796875, 0.254638671875, 0.27490234375, 0.026153564453125, 0.019500732421875, 0.14208984375, 0.1392822265625, 0.0843505859375, 0.083984375, 0.0899658203125, 0.06854248046875, 0.059783935546875, 0.105712890625, ...
embed
9719526_c0
9719526
fsharp
0
Title: Seq toDictionary Problem title: Seq toDictionary Tags: f%23 Problem: Seq toDictionary How do i construct a dictionary from a Seq. I dont seem to be able to get syntax right. So i have a Seq and i would like to construct a dictionary from it, something like Document <Overrides> <token key="A" value="1"/> <token k...
Seq toDictionary Seq toDictionary f%23 Seq Overrides Seq.map x.Descendants XName.op_Implicit Elements Seq.head Seq.iter XElement v:XElement k.Attribute Value v.Attribute Seq toDictionary How do i construct a dictionary from a Seq. I dont seem to be able to get syntax right. So i have a Seq and i would like to construct...
[ 0.0076904296875, 0.01361083984375, -0.0177001953125, -0.020751953125, 0.004364013671875, -0.015869140625, -0.0263671875, 0.0111083984375, -0.006591796875, -0.01373291015625, -0.0004024505615234375, 0.022216796875, 0.005615234375, 0.01544189453125, 0.0186767578125, -0.0032806396484375, ...
[ 503, 864, 47, 14055, 10763, 6635, 1238, 3949, 3742, 9578, 416, 62346, 1022, 4657, 31146, 58349, 1193, 163612, 2146, 60923, 48325, 31251, 16840, 19929, 81, 90878, 472, 191145, 190060, 54, 17, 64549, 45, 1295, 10, 6002, 86531, 7108, 765, 18...
[ 0.165283203125, 0.2685546875, 0.2008056640625, 0.0693359375, 0.20751953125, 0.16064453125, 0.018524169921875, 0.0406494140625, 0.1361083984375, 0.0185089111328125, 0.13818359375, 0.09661865234375, 0.0204925537109375, 0.008514404296875, 0.10430908203125, 0.0733642578125, 0.04818725585...
embed
43279901_c0
43279901
fsharp
0
Title: Functional paradigm design Problem title: Functional paradigm design Tags: f%23, architecture, functional-programming Problem: Functional paradigm design I have been asked to capture the design of the system that is implemented by applying functional programming principles in C#. Requirements for this are to use...
Functional paradigm design Functional paradigm design f%23 architecture functional-programming Functional Functional paradigm design I have been asked to capture the design of the system that is implemented by applying functional programming principles in C#. Requirements for this are to use any kind of formalism to de...
[ 0.0084228515625, 0.0179443359375, 0.00311279296875, -0.0030059814453125, 0, -0.0009307861328125, -0.005340576171875, 0.017822265625, 0.00836181640625, 0.0024261474609375, -0.0024871826171875, 0.006378173828125, -0.01416015625, 0.0194091796875, -0.01080322265625, 0.00069427490234375, ...
[ 28670, 10763, 214709, 4331, 289, 3949, 3742, 159958, 123309, 28966, 37170, 141621, 5426, 29479, 59911, 56037, 24702, 23, 313, 4904, 3181, 100, 4527, 23113, 8780, 98363, 152701, 14941, 127689, 345, 39456, 69871, 57415, 9790, 17368, 563, 60042, ...
[ 0.166748046875, 0.131591796875, 0.2366943359375, 0.2359619140625, 0.010589599609375, 0.016937255859375, 0.083984375, 0.146484375, 0.25537109375, 0.13818359375, 0.025665283203125, 0.10015869140625, 0.0892333984375, 0.0982666015625, 0.04193115234375, 0.1507568359375, 0.0885009765625, ...
embed
44163656_c0
44163656
fsharp
0
Title: Why is this code not sufficiently generic or even better why is that even checked? Problem title: Why is this code not sufficiently generic or even better why is that even checked? Tags: f%23 Problem: Why is this code not sufficiently generic or even better why is that even checked? I get an error on the definit...
Why is this code not sufficiently generic or even better why is that even checked? Why is this code not sufficiently generic or even better why is that even checked? f%23 Why ToBar Foo Bar AbstractClass AbstractType this.ToFoo Why is this code not sufficiently generic or even better why is that even checked? I get an e...
[ 0.022216796875, 0.0230712890625, -0.01904296875, -0.0016632080078125, -0.00189208984375, -0.012451171875, -0.00592041015625, 0.03271484375, 0.0205078125, -0.0179443359375, 0.007171630859375, -0.038330078125, -0.0034027099609375, 0.0093994140625, -0.003448486328125, -0.0194091796875, ...
[ 44084, 83, 903, 18151, 959, 129980, 538, 189534, 707, 3853, 11522, 15400, 450, 12765, 297, 1238, 3949, 3742, 717, 25267, 9572, 31, 3253, 233973, 140803, 196707, 7763, 27591, 2046, 18499, 80934, 3293, 26008, 15969, 112668, 228008, 4527, 10644,...
[ 0.126708984375, 0.056854248046875, 0.1217041015625, 0.1728515625, 0.1141357421875, 0.1614990234375, 0.058746337890625, 0.2247314453125, 0.0159912109375, 0.0914306640625, 0.1246337890625, 0.090576171875, 0.041717529296875, 0.1708984375, 0.07647705078125, 0.0323486328125, 0.01306152343...
embed
63229297_c0
63229297
fsharp
0
Title: Bug in a simple parser specification in F# Problem title: Bug in a simple parser specification in F# Tags: f%23, debugging, fsyacc Problem: Bug in a simple parser specification in F# I wonder where the parser specification below went wrong. The parser aims to parse and evaluate an expression like 2+3*4 to 14. It...
Bug in a simple parser specification in F# Bug in a simple parser specification in F# f%23 debugging fsyacc Bug CSTINT PLUS MINUS MUL LPAR RPAR EOF TIMES DIV Main Expr ExprPar.fsy Unexpected Bug in a simple parser specification in F# I wonder where the parser specification below went wrong. The parser aims to parse and...
[ 0.0031280517578125, 0.004547119140625, 0.00567626953125, 0.0291748046875, -0.0142822265625, 0.006439208984375, 0.01080322265625, -0.0036163330078125, 0.00958251953125, -0.004486083984375, 0.006866455078125, 0.01055908203125, 0.0048828125, -0.0125732421875, 0.0115966796875, 0.0034179687...
[ 57279, 23, 8781, 366, 2189, 29458, 2320, 563, 4904, 1238, 3949, 3742, 8, 978, 19834, 10060, 8545, 59537, 114553, 228860, 176851, 60436, 241, 82341, 110500, 5419, 856, 12321, 60075, 42, 28636, 5, 17447, 53, 992, 83613, 13, 32195, 70, 35064...
[ 0.214111328125, 0.0271759033203125, 0.1651611328125, 0.16162109375, 0.1568603515625, 0.2010498046875, 0.024200439453125, 0.126953125, 0.21484375, 0.0760498046875, 0.007659912109375, 0.130859375, 0.0853271484375, 0.109130859375, 0.0880126953125, 0.14697265625, 0.04638671875, 0.17077...
embed
70955379_c0
70955379
fsharp
0
Title: Changing date format with dotnet Problem title: Changing date format with dotnet Tags: .net, c%23, datetime, f%23 Problem: Changing date format with dotnet First, I am aware I can format the date any way I want, the question is not about that. I'm wondering how dotnet chooses its format: Since I'm in the EU I've...
Changing date format with dotnet Changing date format with dotnet .net c%23 datetime f%23 Changing Changing date format with dotnet First, I am aware I can format the date any way I want, the question is not about that. I'm wondering how dotnet chooses its format: Since I'm in the EU I've dumped the American format and...
[ -0.010498046875, 0.0019989013671875, -0.010009765625, -0.0035858154296875, -0.0087890625, -0.017822265625, 0.015380859375, 0.033935546875, 0.00994873046875, 0.00762939453125, -0.01214599609375, 0.01348876953125, 0.000850677490234375, -0.0010833740234375, -0.0030670166015625, -0.0122070...
[ 108193, 214, 5622, 9384, 678, 20633, 1179, 5, 3742, 6032, 1238, 107419, 831, 2499, 3917, 87, 3444, 9655, 959, 149016, 3642, 55076, 6863, 39, 23, 3747, 8473, 15672, 30666, 1286, 62775, 113, 34034, 2276, 64, 4028, 4727, 7285, 136, 1733, 5...
[ 0.2216796875, 0.1221923828125, 0.2178955078125, 0.269775390625, 0.11181640625, 0.2158203125, 0.2529296875, 0.00994873046875, 0.0948486328125, 0.1453857421875, 0.020782470703125, 0.0738525390625, 0.0693359375, 0.088134765625, 0.074462890625, 0.010406494140625, 0.110595703125, 0.0076...
embed
1830548_c0
1830548
fsharp
0
Title: F# active pattern as non-static member Problem title: F# active pattern as non-static member Tags: f%23, member, active-pattern Problem: F# active pattern as non-static member I'm not sure if non-static public member active patterns are allowed but you can define them without the compiler complaining. If they ar...
F# active pattern as non-static member F# active pattern as non-static member f%23 member active-pattern Choice FooBar Foo Bar x.doSomething FooBar2 F# active pattern as non-static member I'm not sure if non-static public member active patterns are allowed but you can define them without the compiler complaining. If th...
[ 0.004730224609375, 0.0079345703125, 0.01019287109375, -0.003875732421875, -0.026123046875, 0.0137939453125, -0.0036163330078125, 0.029296875, 0.0167236328125, -0.016845703125, 0.01177978515625, 0.004486083984375, 0.004180908203125, 0.0084228515625, 0.01043701171875, -0.023193359375, ...
[ 563, 4904, 36457, 103510, 237, 351, 201939, 32786, 1238, 3742, 4453, 181948, 9572, 31, 25267, 3253, 1022, 246, 8912, 282, 64113, 304, 3835, 107003, 61924, 15490, 9969, 34759, 186992, 6002, 86531, 14858, 214, 26548, 1632, 163, 10644, 1239, 9...
[ 0.108642578125, 0.189697265625, 0.1961669921875, 0.2283935546875, 0.031005859375, 0.1268310546875, 0.1456298828125, 0.1802978515625, 0.06396484375, 0.103515625, 0.1304931640625, 0.147705078125, 0.15673828125, 0.13623046875, 0.1800537109375, 0.15087890625, 0.0391845703125, 0.1038818...
embed
18814700_c1
18814700
fsharp
1
ChangedEvent.Publish, kernelCommands) myUI.Show() So this has been my solution to passing new state to the relevant listeners. However, what would be more ideal is a "box" I can "hook" into with transform functions. When the box mutates, functions are called to deal with the new state and produce corresponding changed ...
ChangedEvent.Publish, kernelCommands) myUI.Show() So this has been my solution to passing new state to the relevant listeners. However, what would be more ideal is a "box" I can "hook" into with transform functions. When the box mutates, functions are called to deal with the new state and produce corresponding changed ...
[ -0.00732421875, 0.018798828125, -0.00872802734375, 0.0033111572265625, 0.003082275390625, -0.00101470947265625, -0.00384521484375, -0.0023956298828125, 0.01904296875, -0.013427734375, 0.00897216796875, -0.01019287109375, -0.017578125, 0.043701171875, -0.00286865234375, -0.0196533203125...
[ 87377, 71, 192134, 143145, 15227, 77924, 583, 10770, 12018, 759, 33457, 168660, 903, 1556, 2809, 29806, 452, 6953, 3525, 11341, 47, 29191, 44632, 1314, 2806, 1286, 6397, 11728, 87, 831, 497, 685, 3934, 678, 27198, 32354, 14847, 16530, 31158...
[ 0.1942138671875, 0.1065673828125, 0.1925048828125, 0.05963134765625, 0.11669921875, 0.1109619140625, 0.071044921875, 0.049407958984375, 0.14599609375, 0.07177734375, 0.191162109375, 0.15771484375, 0.0010986328125, 0.031585693359375, 0.01239013671875, 0.09423828125, 0.0926513671875, ...
embed
47396629_c0
47396629
fsharp
0
Title: Where does Ionide + Fake put the output executable? Problem title: Where does Ionide + Fake put the output executable? Tags: .net-core, ionide, f%23-fake, f%23 Problem: Where does Ionide + Fake put the output executable? I am trying to use .NET Core + Ionide + VS Code + Fake + Paket on macOS High Sierra. Using t...
Where does Ionide + Fake put the output executable? Where does Ionide + Fake put the output executable? .net-core ionide f%23-fake f%23 Where Ionide Fake Test TargetFramework build.sh Build Warning Error Time Elapsed Finished Target Report Duration Clean InstallDotNetCLI Restore Total Status OutputType utf-8 Project Sd...
[ -0.009765625, 0.01348876953125, -0.00341796875, 0.0000820159912109375, 0.0008087158203125, 0.025390625, 0.007171630859375, -0.00830078125, 0.002777099609375, 0.0225830078125, 0.006591796875, 0.01470947265625, 0.0086669921875, 0.006134033203125, 0.00787353515625, -0.006866455078125, 0...
[ 78662, 37859, 2506, 997, 3036, 350, 3884, 140992, 71924, 2886, 14602, 5, 1179, 30854, 45339, 1238, 167218, 27495, 1021, 3742, 8647, 160017, 108386, 282, 18244, 45367, 1495, 121137, 5550, 212059, 19055, 127966, 13316, 34798, 79843, 73133, 107951...
[ 0.116455078125, 0.2294921875, 0.23291015625, 0.1966552734375, 0.2301025390625, 0.1787109375, 0.128662109375, 0.232421875, 0.183837890625, 0.1572265625, 0.010223388671875, 0.0274505615234375, 0.0936279296875, 0.1466064453125, 0.190673828125, 0.041717529296875, 0.00103759765625, 0.03...
embed
61731469_c1
61731469
fsharp
1
() printf (if i % 10 = 0 then ":" else ".") printf "\nTotal elapsed time: %A msec\n" watch.Elapsed ventilator_init() for i=1 to 4 do Task.Run (worker i) |> ignore let t = Task.Run sink ventilator_run() t.Wait() [<EntryPoint>] let main argv = parallel_task() 0 What happens here is that a single worker gets all the messa...
() printf (if i % 10 = 0 then ":" else ".") printf "\nTotal elapsed time: %A msec\n" watch.Elapsed ventilator_init() for i=1 to 4 do Task.Run (worker i) |> ignore let t = Task.Run sink ventilator_run() t.Wait() [<EntryPoint>] let main argv = parallel_task() 0 What happens here is that a single worker gets all the messa...
[ -0.0033111572265625, 0.0189208984375, -0.01025390625, 0.01904296875, 0.00038909912109375, -0.010498046875, 0.01324462890625, 0.01214599609375, -0.0028533935546875, -0.0206298828125, 0.004058837890625, 0.0257568359375, 0.003326416015625, 0.0125732421875, 0.00421142578125, -0.00674438476...
[ 28412, 420, 3190, 17, 1745, 209, 2203, 757, 12, 37076, 169473, 28, 127966, 1733, 39797, 39544, 71, 210317, 73, 217, 33000, 47, 201, 9598, 163321, 18244, 124962, 808, 880, 92, 16428, 22489, 15123, 147534, 334, 95103, 1073, 96276, 3688, 110...
[ 0.163818359375, 0.1405029296875, 0.0204620361328125, 0.083984375, 0.060394287109375, 0.177978515625, 0.00067138671875, 0.119140625, 0.03619384765625, 0.0161590576171875, 0.14208984375, 0.014129638671875, 0.1895751953125, 0.1334228515625, 0.1845703125, 0.1705322265625, 0.0001525878906...
embed
50805319_c0
50805319
fsharp
0
Title: How to assert an exception is expected Problem title: How to assert an exception is expected Tags: f%23, expecto, .net-core Problem: How to assert an exception is expected I'm on a Mac running F# using .NET Core 2.0. I have a function that looks like this: let rec evaluate(x: string) = match x with // ... cases ...
How to assert an exception is expected How to assert an exception is expected f%23 expecto .net-core How Expect.throws Kirkspeak Assert.Fail How to assert an exception is expected I'm on a Mac running F# using .NET Core 2.0. I have a function that looks like this: I'd like to write an Expecto test that validates that t...
[ -0.00064849853515625, 0.026123046875, -0.00469970703125, -0.000040531158447265625, 0.00518798828125, -0.0118408203125, 0.0262451171875, -0.002685546875, 0.005340576171875, 0.022216796875, 0.0198974609375, 0.010498046875, -0.00494384765625, -0.01373291015625, 0.0162353515625, -0.0011596...
[ 11249, 47, 237, 33657, 142, 131527, 83, 84751, 1238, 3742, 41206, 31, 1179, 30854, 60075, 24762, 42294, 70605, 9217, 344, 1301, 17647, 379, 4727, 563, 4904, 17777, 31365, 16655, 32354, 33342, 1884, 33022, 60751, 3034, 44622, 104250, 19, 184...
[ 0.067138671875, 0.043792724609375, 0.111572265625, 0.248779296875, 0.07147216796875, 0.271240234375, 0.1376953125, 0.25927734375, 0.0297088623046875, 0.0733642578125, 0.17431640625, 0.1480712890625, 0.06768798828125, 0.0904541015625, 0.15283203125, 0.232421875, 0.113037109375, 0.09...
embed
66373634_c0
66373634
fsharp
0
Title: F# change a letter in a string Problem title: F# change a letter in a string Tags: recursion, string, toupper, f%23, arrays Problem: F# change a letter in a string I need to finish a method in F#. All-day I was searching for some methods to change a letter in a string and did not found anything. I have done the ...
F# change a letter in a string F# change a letter in a string recursion string toupper f%23 arrays length-1 F# change a letter in a string I need to finish a method in F#. All-day I was searching for some methods to change a letter in a string and did not found anything. I have done the (a) and now I need to use the me...
[ -0.01434326171875, 0.00433349609375, 0.03515625, 0.01025390625, 0.01092529296875, -0.00189971923828125, -0.0028533935546875, -0.017333984375, 0.0135498046875, 0.0390625, -0.0074462890625, -0.01275634765625, 0.0177001953125, 0.01019287109375, 0.00787353515625, -0.041259765625, 0.01782...
[ 563, 4904, 15549, 10, 31330, 23, 79315, 195625, 47, 34, 8079, 1238, 3949, 3742, 10298, 4778, 140909, 5759, 3871, 67229, 55300, 5636, 157318, 150624, 959, 14037, 16940, 4527, 1295, 275, 30097, 9319, 4426, 9, 12488, 2203, 43240, 18499, 16916,...
[ 0.1207275390625, 0.190673828125, 0.1966552734375, 0.0236053466796875, 0.2222900390625, 0.1148681640625, 0.218017578125, 0.1868896484375, 0.101806640625, 0.044891357421875, 0.1383056640625, 0.10205078125, 0.01177978515625, 0.1192626953125, 0.06732177734375, 0.015777587890625, 0.071777...
embed
52718338_c0
52718338
fsharp
0
Title: Check list inside list for equal amount and empty space Problem title: Check list inside list for equal amount and empty space Tags: f%23, boolean, list Problem: Check list inside list for equal amount and empty space I tried to make a list inside a list. Where i check if there is the same amount of numbers, ins...
Check list inside list for equal amount and empty space Check list inside list for equal amount and empty space f%23 boolean list Check lis1 item0 lis1.Item lis1.Length item0.Length Length Check list inside list for equal amount and empty space I tried to make a list inside a list. Where i check if there is the same am...
[ -0.00107574462890625, 0.002838134765625, -0.00469970703125, 0.01287841796875, -0.01025390625, -0.01171875, 0.0238037109375, -0.001434326171875, 0.00148773193359375, 0.056884765625, 0.0230712890625, 0.019775390625, 0.01123046875, 0.0223388671875, -0.0086669921875, 0.0111083984375, 0.0...
[ 38679, 5303, 46132, 100, 105950, 41170, 136, 201505, 32628, 1238, 3742, 337, 31, 34677, 400, 35735, 2389, 2982, 7, 449, 77554, 37842, 3249, 12765, 2174, 2685, 5701, 101935, 12638, 30646, 142484, 29568, 8710, 7108, 98320, 45767, 137565, 10336,...
[ 0.184814453125, 0.2418212890625, 0.1728515625, 0.04498291015625, 0.1695556640625, 0.163818359375, 0.098388671875, 0.252685546875, 0.2117919921875, 0.046630859375, 0.1163330078125, 0.010345458984375, 0.050262451171875, 0.140625, 0.10223388671875, 0.101806640625, 0.0772705078125, 0.0...
embed
25388010_c0
25388010
fsharp
0
Title: Filtering a list of arrays f# Problem title: Filtering a list of arrays f# Tags: f%23, filter, list Problem: Filtering a list of arrays f# sorry if the questions to basic, but i havent been able to do this for some time. I have created a lists of lists in which the second array contains a parameter that can be e...
Filtering a list of arrays f# Filtering a list of arrays f# f%23 filter list Filtering Filtering a list of arrays f# sorry if the questions to basic, but i havent been able to do this for some time. I have created a lists of lists in which the second array contains a parameter that can be either an f or a p. I need to ...
[ 0.01904296875, 0.0084228515625, -0.013427734375, 0.00439453125, -0.01239013671875, -0.00933837890625, 0.007049560546875, 0.006805419921875, 0.0250244140625, 0.01470947265625, 0.00787353515625, -0.0091552734375, -0.005615234375, 0.0032806396484375, -0.0201416015625, 0.003997802734375, ...
[ 128896, 214, 5303, 111, 10298, 4778, 1238, 4904, 10, 3949, 3742, 46312, 59090, 62822, 19048, 75935, 17932, 53, 70541, 171859, 831, 40101, 707, 915, 3871, 28282, 6626, 3525, 55769, 73342, 36549, 10899, 104345, 4677, 10644, 186, 22829, 18695, ...
[ 0.26318359375, 0.0560302734375, 0.19384765625, 0.081298828125, 0.2061767578125, 0.1446533203125, 0.15234375, 0.167236328125, 0.023529052734375, 0.006195068359375, 0.09423828125, 0.21044921875, 0.00347900390625, 0.06488037109375, 0.00970458984375, 0.0799560546875, 0.1129150390625, 0...
embed
1332299_c1
1332299
fsharp
1
.Priority()) |> condition.Select |> fst member this.Chosen with get() = if Option.isNone chosen then chosen <- Some(this.Choose()) chosen.Value and set(x) = if Option.isSome chosen then chosen.Value.Stop() chosen <- Some(x) x.Start() interface AI with member this.Start() = this.Chosen.Start() member this.Stop() = this....
.Priority()) |> condition.Select |> fst member this.Chosen with get() = if Option.isNone chosen then chosen <- Some(this.Choose()) chosen.Value and set(x) = if Option.isSome chosen then chosen.Value.Stop() chosen <- Some(x) x.Start() interface AI with member this.Start() = this.Chosen.Start() member this.Stop() = this....
[ -0.0191650390625, 0.00799560546875, 0.0240478515625, 0.0047607421875, -0.0147705078125, -0.00115966796875, 0.01031494140625, -0.01904296875, 0.026123046875, 0.01416015625, 0.029541015625, 0.029296875, 0.0186767578125, 0.0086669921875, 0.0068359375, -0.010498046875, 0.01397705078125, ...
[ 5, 33163, 748, 2481, 132, 58745, 2740, 35431, 294, 100184, 1238, 271, 32786, 903, 107522, 1015, 678, 2046, 2203, 2174, 86769, 164, 5021, 86, 19667, 9, 31384, 100231, 8364, 856, 50770, 5423, 425, 8912, 282, 156095, 1022, 126597, 101758, 38...
[ 0.1304931640625, 0.1484375, 0.18701171875, 0.1300048828125, 0.047210693359375, 0.003631591796875, 0.002166748046875, 0.19140625, 0.0489501953125, 0.190185546875, 0.05743408203125, 0.111328125, 0.2171630859375, 0.15625, 0.16015625, 0.130859375, 0.0987548828125, 0.1837158203125, 0....
embed
6595649_c3
6595649
fsharp
3
50") 0 All works fine in Fsi.exe, but when I am trying to compile the code I have got error: D:\datahub\Dropbox\development\myprojects\project-euler\Problem_8\problem_8.fs(7,22): error FS0072: Lookup on object of indeterminate type based on information prior to this program point. A type annotation may be needed prior ...
50") 0 All works fine in Fsi.exe, but when I am trying to compile the code I have got error: D:\datahub\Dropbox\development\myprojects\project-euler\Problem_8\problem_8.fs(7,22): error FS0072: Lookup on object of indeterminate type based on information prior to this program point. A type annotation may be needed prior ...
[ 0.004638671875, 0.0186767578125, 0.006591796875, 0.0284423828125, -0.01385498046875, 0.008544921875, -0.0035858154296875, 0.0234375, -0.0050048828125, -0.0242919921875, -0.006744384765625, -0.0106201171875, -0.0162353515625, 0.005889892578125, 0.01043701171875, -0.0255126953125, 0.00...
[ 836, 18939, 757, 43240, 5885, 563, 172, 5, 46480, 1284, 31577, 9969, 1340, 18151, 18499, 391, 10135, 32102, 28437, 11728, 229815, 1176, 95322, 4615, 603, 223361, 1019, 38953, 17447, 89647, 93774, 77110, 304, 12, 60818, 2037, 98, 36746, 111,...
[ 0.1466064453125, 0.07220458984375, 0.013824462890625, 0.07421875, 0.075927734375, 0.142333984375, 0.219482421875, 0.010345458984375, 0.1575927734375, 0.030731201171875, 0.10546875, 0.1192626953125, 0.120849609375, 0.176025390625, 0.18310546875, 0.0207977294921875, 0.016815185546875, ...
embed
775730_c1
775730
fsharp
1
" and the other value constructor is called "Cons". If you use the "Nil" value constructor, then there are no fields. The "Cons" value constructor has a single type parameter. If you use the "Cons" value constructor, there are 2 fields which must be provided. The first required field is an instance of List. The second ...
" and the other value constructor is called "Cons". If you use the "Nil" value constructor, then there are no fields. The "Cons" value constructor has a single type parameter. If you use the "Cons" value constructor, there are 2 fields which must be provided. The first required field is an instance of List. The second ...
[ -0.01300048828125, 0.0191650390625, 0.000186920166015625, 0.0087890625, 0.004425048828125, 0.00946044921875, 0.002197265625, -0.01177978515625, 0.0087890625, 0.00860595703125, -0.0025482177734375, -0.025146484375, 0.00701904296875, 0.01409912109375, -0.0089111328125, -0.000843048095703...
[ 3789, 34292, 64549, 748, 35839, 11935, 7, 4527, 839, 379, 110, 44457, 1556, 11001, 10644, 171859, 621, 116, 8110, 62952, 56065, 110527, 32036, 17932, 10, 49919, 17367, 32153, 26785, 206019, 152028, 14216, 30693, 13204, 154663, 52021, 8622, 25...
[ 0.06488037109375, 0.217041015625, 0.198974609375, 0.13623046875, 0.03375244140625, 0.2039794921875, 0.1588134765625, 0.065185546875, 0.1163330078125, 0.1502685546875, 0.066162109375, 0.2354736328125, 0.009185791015625, 0.084228515625, 0.1605224609375, 0.1746826171875, 0.0114135742187...
embed
45596496_c1
45596496
fsharp
1
6: int option } type FilteredRecord = { Id: int Attr1: int Attr2: int Attr3: int Attr4: int Attr5: int Attr6: int } let optionRecords = [for i in 1..5 -> { OptionRecord.Id = i Attr1 = Some i Attr2 = match i % 2 = 0 with | true -> Some i | false -> None Attr3 = Some i Attr4 = Some i Attr5 = Some i Attr6 = Some i }] let ...
6: int option } type FilteredRecord = { Id: int Attr1: int Attr2: int Attr3: int Attr4: int Attr5: int Attr6: int } let optionRecords = [for i in 1..5 -> { OptionRecord.Id = i Attr1 = Some i Attr2 = match i % 2 = 0 with | true -> Some i | false -> None Attr3 = Some i Attr4 = Some i Attr5 = Some i Attr6 = Some i }] let ...
[ -0.00360107421875, -0.00162506103515625, -0.0072021484375, -0.00009393692016601562, 0.00225830078125, -0.00970458984375, -0.0186767578125, -0.0011749267578125, 0.016357421875, 0.031494140625, -0.00347900390625, -0.004669189453125, -0.000545501708984375, -0.00060272216796875, 0.0003070831...
[ 305, 12, 23, 18, 35829, 10644, 128896, 297, 4332, 32271, 24799, 9208, 42, 82825, 304, 363, 617, 758, 910, 2633, 7, 2203, 17, 615, 33079, 10666, 86769, 5, 568, 71, 418, 31384, 14858, 1745, 116, 757, 6, 29568, 58745, 98320, 438, 51912, ...
[ 0.1776123046875, 0.024383544921875, 0.04547119140625, 0.0831298828125, 0.2529296875, 0.1466064453125, 0.255615234375, 0.1055908203125, 0.0762939453125, 0.24169921875, 0.1153564453125, 0.09814453125, 0.0889892578125, 0.025054931640625, 0.080322265625, 0.0633544921875, 0.069580078125, ...
embed
34291212_c0
34291212
fsharp
0
Title: F# - CSV to two keys dictionary Problem title: F# - CSV to two keys dictionary Tags: csv, f%23 Problem: F# - CSV to two keys dictionary I have localization CSV file with following structure Key, Language1, Language2, Language3 some key, translation1, translation2, translation3 I'd like to write function that ret...
F# - CSV to two keys dictionary F# - CSV to two keys dictionary csv f%23 CSV Key Language1 Language2 Language3 translation1 translation2 translation3 GleedsSnags.Localization FSharp.Data Loc CsvProvider Localization.csv Loc.Load F# - CSV to two keys dictionary I have localization CSV file with following structure I'd l...
[ 0.005859375, -0.005523681640625, -0.003814697265625, 0.015625, 0.0184326171875, 0.00628662109375, -0.006866455078125, 0.004974365234375, -0.0146484375, -0.0296630859375, -0.00225830078125, 0.0054931640625, -0.0067138671875, -0.006744384765625, 0, -0.00335693359375, -0.006011962890625...
[ 563, 4904, 313, 43486, 47, 6626, 22799, 45, 10763, 20763, 334, 1238, 3949, 3742, 26824, 83658, 304, 363, 153648, 133, 297, 95865, 203758, 3467, 254, 137989, 88784, 67756, 177997, 24172, 47691, 4439, 4000, 11435, 25632, 45646, 1884, 33022, 3...
[ 0.09619140625, 0.198486328125, 0.0731201171875, 0.281494140625, 0.10107421875, 0.165771484375, 0.1678466796875, 0.05548095703125, 0.1375732421875, 0.09423828125, 0.1783447265625, 0.0204315185546875, 0.010345458984375, 0.076416015625, 0.1319580078125, 0.1097412109375, 0.00375366210937...
embed
62518415_c0
62518415
fsharp
0
Title: How do I turn an IObservable&lt;IObservable&lt;T&gt;&gt; into an IObservable&lt;T&gt;? Problem title: How do I turn an IObservable&lt;IObservable&lt;T&gt;&gt; into an IObservable&lt;T&gt;? Tags: .net, observable, f%23, c%23, reactive-programming Problem: How do I turn an IObservable > into an IObservable ? Let s...
How do I turn an IObservable&lt;IObservable&lt;T&gt;&gt; into an IObservable&lt;T&gt;? How do I turn an IObservable&lt;IObservable&lt;T&gt;&gt; into an IObservable&lt;T&gt;? .net observable f%23 c%23 reactive-programming How IObservable Observable.map How do I turn an IObservable > into an IObservable ? Let say I have ...
[ 0.0033111572265625, 0.02783203125, -0.00537109375, 0.01495361328125, -0.006256103515625, 0.001312255859375, 0.0146484375, -0.00494384765625, 0.0003795623779296875, -0.04443359375, 0.03076171875, -0.02685546875, 0.01422119140625, 0.05322265625, 0.0050048828125, -0.00421142578125, -0.0...
[ 11249, 54, 87, 15504, 46471, 65756, 2661, 1277, 17780, 275, 618, 5386, 3934, 142, 1230, 1179, 22046, 1238, 3742, 456, 71232, 28966, 87652, 5, 62346, 977, 765, 32354, 30646, 27117, 61475, 11341, 831, 2046, 4734, 1295, 15700, 53225, 7, 2414...
[ 0.0928955078125, 0.0638427734375, 0.217041015625, 0.201171875, 0.1934814453125, 0.25537109375, 0.194091796875, 0.032318115234375, 0.1533203125, 0.08612060546875, 0.1917724609375, 0.044189453125, 0.1654052734375, 0.1240234375, 0.004119873046875, 0.1646728515625, 0.22216796875, 0.007...
embed
70525677_c0
70525677
fsharp
0
Title: How do I make this Guid-to-hash function more concise? Problem title: How do I make this Guid-to-hash function more concise? Tags: hash, f%23, algorithm Problem: How do I make this Guid-to-hash function more concise? I came up with a Guid-to-hash function in F# as shown below, but I think it is too verbose. How ...
How do I make this Guid-to-hash function more concise? How do I make this Guid-to-hash function more concise? hash f%23 algorithm How Guid-to-hash digits.Length bigint.Zero System.Guid g.ToByteArray Array.append Array.unfold None bigint.DivRem Some Array.rev Array.skipWhile Array.map System.String How do I make this Gu...
[ -0.024658203125, -0.01287841796875, 0.01953125, 0.0028076171875, -0.0024871826171875, -0.01397705078125, -0.01141357421875, 0.004730224609375, 0.003753662109375, -0.017333984375, -0.0203857421875, 0.0167236328125, -0.00128936767578125, 0.0240478515625, -0.00933837890625, 0.002029418945...
[ 11249, 54, 87, 3249, 903, 6955, 532, 188, 126234, 32354, 1286, 158, 318, 184, 1556, 127, 1238, 3949, 3742, 234873, 9, 153939, 7, 449, 6957, 4288, 1511, 4036, 12353, 22769, 706, 7763, 75358, 7614, 7092, 69253, 9007, 3611, 42822, 438, 192...
[ 0.08984375, 0.0291900634765625, 0.0313720703125, 0.0828857421875, 0.0728759765625, 0.19091796875, 0.21630859375, 0.1956787109375, 0.2529296875, 0.18994140625, 0.1400146484375, 0.107666015625, 0.1907958984375, 0.1343994140625, 0.2066650390625, 0.151611328125, 0.10260009765625, 0.074...
embed
3774365_c0
3774365
fsharp
0
Title: .NET language for Concurrent programming Problem title: .NET language for Concurrent programming Tags: .net, f%23, multithreading, erlang, axum-lang Problem: .NET language for Concurrent programming This may be a question that others have seen, but I am trying to find a language designed for (or with language su...
.NET language for Concurrent programming .NET language for Concurrent programming .net f%23 multithreading erlang axum-lang NET Concurrent .NET language for Concurrent programming This may be a question that others have seen, but I am trying to find a language designed for (or with language support for) concurrent prog...
[ 0.01483154296875, 0.016845703125, 0.00016689300537109375, 0.004608154296875, -0.0113525390625, 0.0016326904296875, -0.005828857421875, 0.031005859375, 0.00762939453125, -0.035888671875, 0.0023193359375, 0.021728515625, -0.001434326171875, -0.00634765625, 0.0211181640625, 0.0166015625, ...
[ 5, 17777, 46876, 100, 1657, 163812, 56037, 449, 1179, 1238, 3742, 3869, 65847, 6238, 72, 3066, 10, 425, 316, 9655, 27060, 51592, 31577, 7413, 82775, 8060, 133244, 831, 11675, 98, 13651, 5609, 34754, 12319, 78302, 23468, 144142, 15917, 5426,...
[ 0.10546875, 0.2191162109375, 0.2431640625, 0.115478515625, 0.1268310546875, 0.25439453125, 0.1456298828125, 0.053131103515625, 0.216552734375, 0.06689453125, 0.10638427734375, 0.1036376953125, 0.113525390625, 0.0465087890625, 0.1124267578125, 0.222900390625, 0.048370361328125, 0.10...
embed
41421619_c1
41421619
fsharp
1
this: type SchedulePage (schedule : Hour[]) as self = inherit SchedulePageBase () // XAML<"SchedulePage.xaml"> do self.DataContext <- self let mutable schedule = schedule member self.Rows with get () = schedule and set value = schedule <- value My theory is that the set method for self.Rows isn't being called. I tried...
this: type SchedulePage (schedule : Hour[]) as self = inherit SchedulePageBase () // XAML<"SchedulePage.xaml"> do self.DataContext <- self let mutable schedule = schedule member self.Rows with get () = schedule and set value = schedule <- value My theory is that the set method for self.Rows isn't being called. I tried...
[ 0.00048828125, 0.046875, 0.016357421875, 0.0147705078125, -0.0267333984375, -0.0091552734375, 0.01190185546875, -0.002288818359375, 0.011962890625, 0.007171630859375, -0.0133056640625, -0.0111083984375, -0.00168609619140625, 0.009521484375, -0.003173828125, 0.0128173828125, -0.011352...
[ 903, 10644, 230074, 147101, 7560, 693, 133, 133250, 237, 15970, 23, 3334, 217, 63473, 65415, 39456, 25452, 15246, 7237, 137989, 22829, 842, 22819, 80889, 32786, 12724, 19725, 5423, 34292, 154453, 55300, 56112, 18, 8035, 35839, 3034, 154107, 4...
[ 0.098876953125, 0.1844482421875, 0.269775390625, 0.1995849609375, 0.1346435546875, 0.1502685546875, 0.0265655517578125, 0.2294921875, 0.0093994140625, 0.129638671875, 0.0035400390625, 0.123291015625, 0.000152587890625, 0.107421875, 0.047515869140625, 0.1385498046875, 0.05300903320312...
embed
2548492_c0
2548492
fsharp
0
Title: F# 1.9.9.9 and lapack Problem title: F# 1.9.9.9 and lapack Tags: .net, f%23, lapack, math Problem: F# 1.9.9.9 and lapack Can anyone help me with example on using lapack with latest f#? Or it is not recommended for now? I searched and only find http://fdatamining.blogspot.com/ but was not able to get FSharp.Power...
F# 1.9.9.9 and lapack F# 1.9.9.9 and lapack .net f%23 lapack math FSharp.PowerPack.Math.Providers.dll Microsoft.FSharp.Compatibility.permutation Microsoft.FSharp.Math.Permutation F# 1.9.9.9 and lapack Can anyone help me with example on using lapack with latest f#? Or it is not recommended for now? I searched and only f...
[ 0.0035552978515625, 0.0152587890625, 0.0017242431640625, -0.00701904296875, -0.01019287109375, 0.016845703125, -0.020263671875, 0.006195068359375, -0.00750732421875, -0.0145263671875, 0.005340576171875, -0.01153564453125, 0.00103759765625, 0.004486083984375, -0.00537109375, -0.00878906...
[ 563, 4904, 99420, 176652, 136, 21, 29102, 1179, 1238, 3742, 48909, 93774, 3467, 254, 105022, 205956, 199450, 177997, 14, 14202, 1181, 7244, 36381, 10770, 10974, 83259, 1264, 561, 5, 15277, 4358, 27781, 17368, 678, 42850, 170198, 420, 10135, ...
[ 0.1650390625, 0.1986083984375, 0.1942138671875, 0.291748046875, 0.051910400390625, 0.17236328125, 0.265380859375, 0.1129150390625, 0.1461181640625, 0.120361328125, 0.114013671875, 0.0906982421875, 0.18408203125, 0.166748046875, 0.1060791015625, 0.202392578125, 0.1405029296875, 0.16...
embed
49174880_c0
49174880
fsharp
0
Title: http client post async in c# Problem title: http client post async in c# Tags: httpclient, asynchronous, c%23-to-f%23, f%23 Problem: http client post async in c# I've looked at this example to do a post request in F# but I'm wondering how to do the same using an async post request type Authentication = new() = {...
http client post async in c# http client post async in c# httpclient asynchronous c%23-to-f%23 f%23 Authentication this.RequestToken HttpClient client.PostAsync example.com HttpClientHandler UseProxy StringContent Encoding.UTF8 response.Content.ReadAsStringAsync http client post async in c# I've looked at this example ...
[ 0.0179443359375, 0.0128173828125, 0.0068359375, -0.01043701171875, 0.0037841796875, -0.00970458984375, 0.00201416015625, 0.0084228515625, -0.021484375, -0.01422119140625, 0.03466796875, 0.0037384033203125, -0.0087890625, -0.0211181640625, 0.017578125, 0.00390625, 0.004119873046875, ...
[ 1621, 23282, 1305, 10, 12654, 238, 23, 501, 4904, 222978, 101966, 27495, 188, 420, 3742, 1238, 52236, 63250, 903, 75616, 1098, 3062, 150, 2517, 49411, 284, 27781, 135679, 603, 36836, 10752, 50878, 23351, 25352, 587, 1019, 57553, 11935, 3134...
[ 0.2386474609375, 0.27392578125, 0.167236328125, 0.06878662109375, 0.2066650390625, 0.0992431640625, 0.04315185546875, 0.06439208984375, 0.223876953125, 0.25439453125, 0.153564453125, 0.0538330078125, 0.0673828125, 0.03515625, 0.054595947265625, 0.03277587890625, 0.0445556640625, 0....
embed
36449668_c0
36449668
fsharp
0
Title: F# - Converting a for-each loop to a lambda expression Problem title: F# - Converting a for-each loop to a lambda expression Tags: f%23, foreach, json, lambda Problem: F# - Converting a for-each loop to a lambda expression I've been struggling with figuring out how to convert a for-each loop to a lambda expressi...
F# - Converting a for-each loop to a lambda expression F# - Converting a for-each loop to a lambda expression f%23 foreach json lambda Converting data.GetProperty full_name AsString aircraft_count AsArray JsonValue F# - Converting a for-each loop to a lambda expression I've been struggling with figuring out how to conv...
[ -0.0025482177734375, -0.00848388671875, -0.0152587890625, 0.01373291015625, 0.0025482177734375, 0.005126953125, 0.0181884765625, 0.035400390625, 0.0016632080078125, 0.005096435546875, 0.0091552734375, 0.00750732421875, 0.0177001953125, -0.014404296875, -0.00714111328125, -0.00579833984...
[ 563, 4904, 814, 100, 41581, 40956, 47, 21, 6492, 85, 125195, 1238, 3742, 1647, 1681, 2053, 126, 1264, 4393, 11627, 1301, 71713, 1831, 56379, 71013, 7092, 821, 856, 50770, 1916, 237875, 26747, 96760, 10, 33493, 123309, 20623, 552, 756, 600...
[ 0.0662841796875, 0.1497802734375, 0.09576416015625, 0.193115234375, 0.1834716796875, 0.2000732421875, 0.076171875, 0.0740966796875, 0.1763916015625, 0.150634765625, 0.209716796875, 0.04595947265625, 0.061187744140625, 0.013885498046875, 0.14501953125, 0.08349609375, 0.00653076171875,...
embed
25732468_c0
25732468
fsharp
0
Title: How to generate probability rates in FsCheck Problem title: How to generate probability rates in FsCheck Tags: f%23, fscheck Problem: How to generate probability rates in FsCheck I would like to test a property where I use 2 probability rates p1 and p2 that must satisfy 0 < p1 < p2 < 1 let arraySizeCheck (p1:flo...
How to generate probability rates in FsCheck How to generate probability rates in FsCheck f%23 fscheck How FsCheck p1:float p2:float xs:list Seq.length bf1 BloomFilter bf2 bf2.BitArraySize bf1.BitArraySize Check.Quick How to generate probability rates in FsCheck I would like to test a property where I use 2 probability...
[ 0.0140380859375, -0.000202178955078125, -0.0093994140625, -0.03515625, -0.0031890869140625, 0.0087890625, 0.00970458984375, -0.0341796875, 0.01409912109375, 0.01220703125, 0.01025390625, 0.0322265625, 0.01202392578125, -0.0205078125, 0.01953125, 0.0038909912109375, 0.0059814453125, ...
[ 11249, 47, 139392, 37242, 2481, 121297, 23, 563, 7, 202567, 1238, 3742, 78292, 915, 82825, 52347, 257, 304, 1022, 6562, 150598, 164502, 379, 7092, 127167, 38679, 96010, 1884, 3034, 57266, 4527, 116, 418, 136, 8110, 40407, 757, 106, 27781, ...
[ 0.06689453125, 0.05682373046875, 0.2205810546875, 0.2188720703125, 0.175537109375, 0.224609375, 0.049835205078125, 0.129638671875, 0.110595703125, 0.286376953125, 0.0997314453125, 0.13330078125, 0.2447509765625, 0.055816650390625, 0.0287933349609375, 0.1182861328125, 0.01882934570312...
embed
16412707_c0
16412707
fsharp
0
Title: how to represent functional language debug information in llvm source level debug information? Problem title: how to represent functional language debug information in llvm source level debug information? Tags: f%23, llvm, debugging, functional-programming Problem: how to represent functional language debug info...
how to represent functional language debug information in llvm source level debug information? how to represent functional language debug information in llvm source level debug information? f%23 llvm debugging functional-programming how to represent functional language debug information in llvm source level debug infor...
[ 0.0146484375, -0.0120849609375, 0.000949859619140625, 0.0115966796875, -0.007659912109375, 0.00927734375, -0.01226806640625, 0.01544189453125, 0.00157928466796875, -0.01495361328125, 0.0296630859375, -0.01080322265625, 0.02685546875, 0.00026702880859375, 0.02783203125, 0.00921630859375...
[ 3642, 47, 33636, 123309, 46876, 8, 85779, 4677, 3723, 39, 31344, 17366, 1238, 3742, 978, 28966, 168698, 12912, 3611, 35509, 563, 4904, 14858, 23755, 34292, 959, 77336, 8060, 561, 22819, 3299, 1181, 334, 11821, 50718, 38103, 28560, 3714, 759...
[ 0.05224609375, 0.000152587890625, 0.22314453125, 0.202880859375, 0.21240234375, 0.14208984375, 0.253173828125, 0.1490478515625, 0.1156005859375, 0.0999755859375, 0.153076171875, 0.1405029296875, 0.002410888671875, 0.064208984375, 0.1337890625, 0.0682373046875, 0.049285888671875, 0....
embed
55839937_c0
55839937
fsharp
0
Title: F# call member function from another function of a type when implement interface Problem title: F# call member function from another function of a type when implement interface Tags: f%23 Problem: F# call member function from another function of a type when implement interface This is the working example from he...
F# call member function from another function of a type when implement interface F# call member function from another function of a type when implement interface f%23 another MethodExample this.AddOne this.AddTwo IMethod AddOne a:int AddTwo F# call member function from another function of a type when implement interfac...
[ 0.006622314453125, 0.005859375, 0.005401611328125, 0.0223388671875, 0.0029296875, -0.0030670166015625, -0.0031280517578125, 0.00537109375, 0.0087890625, -0.044921875, 0.00946044921875, 0.01129150390625, -0.0205078125, 0.0244140625, 0.006256103515625, -0.0322265625, -0.004119873046875...
[ 563, 4904, 11782, 32786, 32354, 1295, 15700, 10644, 3229, 29479, 101758, 1238, 3742, 74644, 19279, 11, 903, 4028, 62068, 618, 3613, 126, 7352, 29117, 10, 4288, 20697, 27781, 3444, 83, 959, 19882, 7565, 55741, 33209, 189026, 4488, 54, 442 ]
[ 0.099365234375, 0.1802978515625, 0.145751953125, 0.225341796875, 0.2142333984375, 0.0953369140625, 0.091796875, 0.134765625, 0.03424072265625, 0.1590576171875, 0.205078125, 0.059539794921875, 0.0989990234375, 0.1563720703125, 0.064453125, 0.09033203125, 0.07830810546875, 0.12145996...
embed
31331670_c0
31331670
fsharp
0
Title: How to get the Facebook access token using F# Problem title: How to get the Facebook access token using F# Tags: facebook, c%23-to-f%23, f%23 Problem: How to get the Facebook access token using F# I am looking at the Facebook SDK for the first time and I want to implement it using F#. I am trying to get the acce...
How to get the Facebook access token using F# How to get the Facebook access token using F# facebook c%23-to-f%23 f%23 F# How Facebook FacebookClient fb.Get access_token client_id app_id client_secret app_secret grant_type client_credentials fb.AccessToken result.access_token How to get the Facebook access token using ...
[ 0.019287109375, 0.0185546875, 0.01495361328125, 0.004364013671875, 0.00982666015625, -0.0174560546875, -0.005279541015625, -0.00396728515625, -0.017578125, -0.035888671875, 0.03564453125, -0.00604248046875, -0.018798828125, -0.0030670166015625, 0.0086669921875, -0.014892578125, 0.000...
[ 11249, 47, 2046, 70, 1431, 17203, 1098, 17368, 563, 4904, 10899, 27495, 188, 420, 3742, 1238, 150, 2517, 108642, 724, 126, 6448, 33, 23282, 532, 4027, 164054, 80731, 50986, 89921, 80973, 39450, 26531, 7763, 16750, 113041, 16487, 45461, 2947...
[ 0.08294677734375, 0.148681640625, 0.1419677734375, 0.06103515625, 0.236572265625, 0.22607421875, 0.2169189453125, 0.10986328125, 0.181884765625, 0.24560546875, 0.201171875, 0.060272216796875, 0.1087646484375, 0.0794677734375, 0.0184173583984375, 0.03656005859375, 0.1026611328125, 0...
embed
48369049_c1
48369049
fsharp
1
QBG":{ "senderId":"Rp7ytJdEvZeMFgpLqeCSzkSeTyf1", "senderName":"Albert", "text":"Hey there" }, "-L19r0osoet4f9SjBGE7":{ "senderId":"YMM45tgFFvYB7rx9PhC2TE5eW6D2", "senderName":"David", "text":"Hi" }, "-L3ELGAbcOjdJsHRtnAe":{ "senderId":"YMM45tgFFvYB7rx9PhC2TE5eW6D2", "senderName":"David", "text":"Icvjv" } } } }, "-L19C...
Match DeclinedContent Declined ListingUserContent ListingUser UserContent search_settings reader:IO.StreamReader reader.ReadToEnd JsonTextReader JsonSerializer.Create JsonSerializerSettings Converters Parsing Firebase JSON F# I'm trying to convert the following Firebase JSON into something that can be parsed in F# : T...
[ 0.01239013671875, 0.0211181640625, -0.01324462890625, -0.01611328125, -0.000720977783203125, 0.0283203125, 0.005767822265625, -0.00592041015625, 0.024169921875, 0.0027008056640625, 0.0032806396484375, 0.007171630859375, 0.01458740234375, -0.0277099609375, 0.0106201171875, 0.00149536132...
[ 67407, 25755, 2256, 71, 11935, 25352, 32036, 214, 1062, 2189, 53400, 33938, 89840, 155255, 17780, 115061, 31345, 56, 7763, 152378, 821, 1681, 174379, 51626, 52825, 105548, 219264, 2392, 31143, 37382, 58627, 563, 4904, 31577, 96760, 25632, 3934,...
[ 0.191650390625, 0.1759033203125, 0.1937255859375, 0.053070068359375, 0.020416259765625, 0.1494140625, 0.1434326171875, 0.06011962890625, 0.0496826171875, 0.0823974609375, 0.09906005859375, 0.0738525390625, 0.119140625, 0.167724609375, 0.1143798828125, 0.06219482421875, 0.127685546875...
embed
68785307_c0
68785307
fsharp
0
Title: What is the difference between `::` and `@` in f#? Problem title: What is the difference between `::` and `@` in f#? Tags: f%23, list Problem: What is the difference between `::` and `@` in f#? I tried to add an additional item to my string list. I first thought to add the item to my list with :: . let test = ["...
What is the difference between `::` and `@` in f#? What is the difference between `::` and `@` in f#? f%23 list What FS0001 newtest01 What is the difference between `::` and `@` in f#? I tried to add an additional item to my string list. I first thought to add the item to my list with :: . This threw me the error: It o...
[ 0.00830078125, -0.01611328125, -0.01031494140625, 0.019287109375, 0.00726318359375, 0.0031890869140625, 0.001190185546875, -0.0031280517578125, 0.0059814453125, 0.005462646484375, 0.04638671875, -0.033935546875, 0.0341796875, 0.01007080078125, -0.01275634765625, -0.01165771484375, 0....
[ 4865, 70, 60212, 17721, 9473, 12, 136, 981, 23, 1238, 4904, 3949, 3742, 5303, 93774, 188735, 6954, 6746, 83, 37842, 15190, 78301, 35735, 47, 759, 79315, 17569, 678, 1984, 18499, 4488, 1374, 15969, 17582, 28282, 3525, 55300, 11814, 4527, 1...
[ 0.023406982421875, 0.077392578125, 0.1954345703125, 0.1229248046875, 0.024810791015625, 0.167236328125, 0.1175537109375, 0.218017578125, 0.07659912109375, 0.138427734375, 0.1998291015625, 0.006683349609375, 0.112548828125, 0.15380859375, 0.10205078125, 0.1097412109375, 0.063415527343...
embed
60216780_c0
60216780
fsharp
0
Title: Finding the Stats.max for each hierarchical index in Deedle Problem title: Finding the Stats.max for each hierarchical index in Deedle Tags: deedle, f%23 Problem: Finding the Stats.max for each hierarchical index in Deedle If I have a dataset that contains [City, Dealership, Total Cars Sold]. How would I get the...
Finding the Stats.max for each hierarchical index in Deedle Finding the Stats.max for each hierarchical index in Deedle deedle f%23 Finding Stats.max Deedle City1 Dealership City2 Frame Finding the Stats.max for each hierarchical index in Deedle If I have a dataset that contains [City, Dealership, Total Cars Sold]. How...
[ 0.01416015625, 0.0135498046875, -0.0028533935546875, -0.001068115234375, -0.0263671875, 0.001953125, 0.00848388671875, -0.00592041015625, 0.013671875, -0.03564453125, -0.0194091796875, 0.00145721435546875, 0.005889892578125, 0.0012359619140625, 0.0120849609375, -0.010009765625, -0.00...
[ 26040, 23888, 7, 5, 24084, 12638, 1791, 54689, 63262, 262, 297, 133, 6827, 23, 8, 1238, 3742, 6406, 418, 90943, 56, 16070, 304, 42557, 214, 2053, 3509, 70541, 115411, 33867, 3980, 6678, 11249, 2046, 2663, 117058, 26349, 14012, 2258, 54324...
[ 0.10205078125, 0.2193603515625, 0.07025146484375, 0.037750244140625, 0.203857421875, 0.0943603515625, 0.0987548828125, 0.1295166015625, 0.174560546875, 0.1181640625, 0.1566162109375, 0.1826171875, 0.02288818359375, 0.0125732421875, 0.089111328125, 0.009918212890625, 0.0888671875, 0...
embed
41787084_c0
41787084
fsharp
0
Title: F# main vs main() syntax Problem title: F# main vs main() syntax Tags: f%23, syntax Problem: F# main vs main() syntax I am just trying to learn some F# by going through the Wikibook: https://en.wikibooks.org/wiki/F_Sharp_Programming/ Consider the following example from: https://en.wikibooks.org/wiki/F_Sharp_Prog...
F# main vs main() syntax F# main vs main() syntax f%23 syntax withSideEffects System Console.ReadKey F# main vs main() syntax I am just trying to learn some F# by going through the Wikibook: https://en.wikibooks.org/wiki/F_Sharp_Programming/ Consider the following example from: https://en.wikibooks.org/wiki/F_Sharp_Pro...
[ 0.01202392578125, 0.0216064453125, 0.0133056640625, -0.0002727508544921875, -0.0146484375, -0.0260009765625, 0.00335693359375, 0.018798828125, -0.01141357421875, -0.0048828125, 0.017333984375, 0.005340576171875, -0.0135498046875, 0.002532958984375, 0.0240478515625, -0.01068115234375, ...
[ 563, 4904, 5201, 20209, 132, 6002, 86531, 1238, 3949, 3742, 678, 2506, 120482, 17928, 12353, 40777, 31345, 162429, 30698, 14137, 81415, 919, 40798, 10681, 172895, 27781, 10685, 22819, 137989, 185171, 3884, 15, 16, 7103, 11907, 32354, 1556, 56...
[ 0.1927490234375, 0.239990234375, 0.21240234375, 0.1983642578125, 0.1064453125, 0.19580078125, 0.1815185546875, 0.130859375, 0.07373046875, 0.1845703125, 0.0283660888671875, 0.0833740234375, 0.144775390625, 0.180419921875, 0.036651611328125, 0.08935546875, 0.1290283203125, 0.1724853...
embed
29291508_c0
29291508
fsharp
0
Title: How to force a member function&#x27;s argument to a specific type Problem title: How to force a member function&#x27;s argument to a specific type Tags: types, f%23 Problem: How to force a member function's argument to a specific type I wrote a small F# library while messing around that contains a few math funct...
How to force a member function&#x27;s argument to a specific type How to force a member function&#x27;s argument to a specific type types f%23 System MyLib How Math this.add Test Double MyLib.add Console.WriteLine sum.ToString How to force a member function's argument to a specific type I wrote a small F# library while...
[ 0.01513671875, 0.007049560546875, 0.005828857421875, -0.011474609375, -0.01007080078125, 0.0020599365234375, -0.0172119140625, 0.000583648681640625, -0.005157470703125, -0.016845703125, 0.0159912109375, -0.0166015625, -0.00848388671875, -0.00628662109375, 0.0174560546875, -0.0203857421...
[ 11249, 47, 37772, 32786, 32354, 3768, 10750, 29458, 10644, 52895, 1238, 3742, 12353, 2646, 104820, 78804, 903, 4028, 8647, 107172, 40777, 93232, 10554, 7763, 71713, 19336, 563, 4904, 35773, 48909, 11782, 1295, 1884, 18151, 18499, 6713, 138256, ...
[ 0.056060791015625, 0.094970703125, 0.22509765625, 0.248779296875, 0.2010498046875, 0.0870361328125, 0.2347412109375, 0.1729736328125, 0.2119140625, 0.2261962890625, 0.0380859375, 0.051666259765625, 0.0596923828125, 0.099365234375, 0.1944580078125, 0.1298828125, 0.046417236328125, 0...
embed
15444319_c0
15444319
fsharp
0
Title: MonoDevelop Not Recognizing .NET 4.5 Support Problem title: MonoDevelop Not Recognizing .NET 4.5 Support Tags: monodevelop, mono, frameworks, f%23, .net-4.5 Problem: MonoDevelop Not Recognizing .NET 4.5 Support I have recently installed both Mono (3.0.8) and MonoDevelop (4.0) on my linux machine (Arch linux). I ...
MonoDevelop Not Recognizing .NET 4.5 Support MonoDevelop Not Recognizing .NET 4.5 Support monodevelop mono frameworks f%23 .net-4.5 MonoDevelop Not Recognizing NET Support net-4.5 MonoDevelop Not Recognizing .NET 4.5 Support I have recently installed both Mono (3.0.8) and MonoDevelop (4.0) on my linux machine (Arch lin...
[ -0.0255126953125, 0.03125, 0.005645751953125, 0.015625, -0.006011962890625, 0.0084228515625, -0.000614166259765625, 0.0194091796875, -0.000217437744140625, 0.03515625, -0.01123046875, -0.0458984375, -0.0181884765625, 0.0013580322265625, 0.0126953125, 0.001861572265625, 0.008728027343...
[ 77879, 4657, 2601, 2146, 11205, 853, 115558, 17777, 60061, 58832, 22460, 229815, 170846, 3742, 1179, 104867, 2043, 78684, 20600, 15044, 132208, 136, 151152, 759, 11508, 6077, 36279, 186447, 187895, 77635, 56566, 202220, 20697, 8591, 10167, 13452,...
[ 0.21826171875, 0.1112060546875, 0.16796875, 0.1575927734375, 0.07574462890625, 0.0382080078125, 0.14453125, 0.1541748046875, 0.253662109375, 0.204833984375, 0.1697998046875, 0.2318115234375, 0.156005859375, 0.0643310546875, 0.0899658203125, 0.2232666015625, 0.049774169921875, 0.000...
embed
29468168_c1
29468168
fsharp
1
let secondAsyncSeqOfNums = async { return seqOfAsyncSeqOfNums |> Seq.map (fun x -> x |> Async.RunSynchronously) |> Seq.concat } It looks like it does its job: it has a type Async<seq<int>> and if we pipe it to Async.RunSynchronously it will produce the same sequence of 9 integers. But the way it produces the same sequ...
let secondAsyncSeqOfNums = async { return seqOfAsyncSeqOfNums |> Seq.map (fun x -> x |> Async.RunSynchronously) |> Seq.concat } It looks like it does its job: it has a type Async<seq<int>> and if we pipe it to Async.RunSynchronously it will produce the same sequence of 9 integers. But the way it produces the same sequ...
[ -0.006561279296875, 0.01611328125, -0.0078125, 0.0078125, 0.012939453125, 0.026123046875, -0.00714111328125, 0.01019287109375, -0.0026397705078125, -0.03857421875, -0.030029296875, 0.025634765625, 0.0303955078125, 0.01904296875, 0.0303955078125, -0.0087890625, -0.00262451171875, 0....
[ 2633, 17932, 284, 12654, 238, 4233, 864, 132887, 839, 10321, 2203, 30646, 40, 503, 62346, 16498, 1022, 33079, 163321, 217835, 127, 1900, 79850, 2271, 4460, 33342, 1884, 14602, 6863, 12447, 10644, 184, 4288, 137158, 47, 27489, 5701, 944, 483...
[ 0.055267333984375, 0.208740234375, 0.0210113525390625, 0.200927734375, 0.1234130859375, 0.1026611328125, 0.1522216796875, 0.17333984375, 0.1009521484375, 0.1910400390625, 0.022003173828125, 0.03826904296875, 0.064697265625, 0.04010009765625, 0.078369140625, 0.09521484375, 0.046417236...
embed
68465394_c0
68465394
fsharp
0
Title: F# Generic sum type constraints Problem title: F# Generic sum type constraints Tags: type-constraints, generics, f%23 Problem: F# Generic sum type constraints What is the proper way to write type constraints for a generic type so that we can have its instance passed to the Array.sum function? This does not work:...
F# Generic sum type constraints F# Generic sum type constraints type-constraints generics f%23 Generic Array.sum get_Zero F# Generic sum type constraints What is the proper way to write type constraints for a generic type so that we can have its instance passed to the Array.sum function? This does not work: The error m...
[ -0.00982666015625, -0.007232666015625, 0.0164794921875, 0.007354736328125, -0.025390625, -0.01324462890625, -0.0135498046875, 0.0162353515625, 0.0029754638671875, -0.024169921875, -0.00531005859375, -0.02490234375, 0.012939453125, -0.0224609375, 0.0028533935546875, -0.00787353515625, ...
[ 563, 4904, 88342, 10554, 10644, 158, 2816, 4288, 2271, 189534, 1238, 3742, 69253, 53, 11832, 2046, 1511, 4036, 27798, 3917, 33022, 110527, 115081, 32354, 959, 4488, 18499, 26008, 62, 171859, 132283, 10, 3220, 201939, 32786, 33079, 13331, 3871...
[ 0.06640625, 0.1470947265625, 0.12890625, 0.1666259765625, 0.2374267578125, 0.119873046875, 0.2127685546875, 0.1505126953125, 0.0252685546875, 0.228271484375, 0.009765625, 0.06793212890625, 0.1065673828125, 0.07861328125, 0.19580078125, 0.068115234375, 0.09088134765625, 0.1783447265...
embed
77355330_c1
77355330
fsharp
1
and post it as an answer.). (apologies to Fyodor, he did answer the original vague question, I could have marked it as the answer and added a subsequent one, but its probably best to cover the whole thing in 1 go, I'll upvote it) Response to response (fyodor) consider let foo x = seq { printfn $"!{x}" 1 } let bar = (f...
and post it as an answer.). (apologies to Fyodor, he did answer the original vague question, I could have marked it as the answer and added a subsequent one, but its probably best to cover the whole thing in 1 go, I'll upvote it) Response to response (fyodor) consider let foo x = seq { printfn $"!{x}" 1 } let bar = (f...
[ -0.004791259765625, 0.0184326171875, 0.00125885009765625, 0.0030670166015625, 0.015869140625, 0.02490234375, 0.016357421875, -0.00144195556640625, 0.004486083984375, -0.042724609375, -0.01226806640625, 0.0303955078125, -0.0126953125, 0.01495361328125, 0.01397705078125, 0.00334167480468...
[ 1305, 35166, 18709, 1410, 1846, 29256, 92748, 57553, 16916, 2633, 5775, 31, 1022, 40, 864, 28412, 14783, 3650, 38, 425, 106, 1909, 3584, 4879, 724, 126, 2606, 56, 4597, 137565, 18471, 8, 5259, 2053, 50986, 40226, 60223, 224833, 68991, 337...
[ 0.00152587890625, 0.0160675048828125, 0.039276123046875, 0.046234130859375, 0.06121826171875, 0.023956298828125, 0.01214599609375, 0.0189971923828125, 0.07598876953125, 0.1328125, 0.1317138671875, 0.103759765625, 0.122802734375, 0.1689453125, 0.253173828125, 0.15771484375, 0.15295410...
embed
28460240_c0
28460240
fsharp
0
Title: F# NUnit test comes back as not being run Problem title: F# NUnit test comes back as not being run Tags: f%23, nunit, assert Problem: F# NUnit test comes back as not being run I am working with VS 2013 , F# and NUnit . It is worth noting I am novice with F# . I have added very basic test and when I attach debugg...
F# NUnit test comes back as not being run F# NUnit test comes back as not being run f%23 nunit assert NUnit Assert Test NUnit.Framework TestFixture ConcatinationTest Assert.AreEqual Implementation.Concat Implementation Concat text:string F# NUnit test comes back as not being run I am working with VS 2013 , F# and NUnit...
[ 0.002105712890625, -0.000431060791015625, -0.0027923583984375, -0.00799560546875, -0.005615234375, 0.01007080078125, 0.01312255859375, 0.00543212890625, -0.00286865234375, 0.0201416015625, -0.00958251953125, 0.003143310546875, -0.010009765625, 0.018798828125, 0.019775390625, 0.00964355...
[ 563, 4904, 18057, 6773, 3034, 4420, 237, 959, 8035, 11675, 32497, 1238, 3949, 3742, 4124, 217, 33657, 1301, 8647, 108386, 18244, 6159, 425, 1657, 4460, 73, 111337, 107, 71723, 153941, 11935, 7986, 91693, 20697, 44160, 1210, 95968, 49814, 45...
[ 0.138427734375, 0.1988525390625, 0.1829833984375, 0.2705078125, 0.22998046875, 0.173583984375, 0.1004638671875, 0.168701171875, 0.1243896484375, 0.172119140625, 0.048675537109375, 0.07476806640625, 0.012786865234375, 0.10064697265625, 0.1282958984375, 0.174560546875, 0.20849609375, ...
embed
50368825_c0
50368825
fsharp
0
Title: Building an F# Xamarin project on a TeamCity Linux agent: Could not import Xamarin\Android\Xamarin.Android.FSharp.targets Problem title: Building an F# Xamarin project on a TeamCity Linux agent: Could not import Xamarin\Android\Xamarin.Android.FSharp.targets Tags: teamcity, xamarin, linux, f%23, monodevelop Prob...
Building an F# Xamarin project on a TeamCity Linux agent: Could not import Xamarin\Android\Xamarin.Android.FSharp.targets Building an F# Xamarin project on a TeamCity Linux agent: Could not import Xamarin\Android\Xamarin.Android.FSharp.targets teamcity xamarin linux f%23 monodevelop Xamarin Building TeamCity Linux Coul...
[ -0.0242919921875, 0.0281982421875, -0.01123046875, -0.0172119140625, -0.00156402587890625, -0.001007080078125, -0.00579833984375, -0.000659942626953125, -0.01483154296875, -0.003631591796875, 0.0052490234375, -0.0341796875, 0.000293731689453125, 0.0257568359375, 0.01953125, 0.014587402...
[ 104919, 563, 4904, 8606, 44503, 13452, 11399, 115411, 29908, 23882, 191147, 959, 24927, 57934, 3467, 254, 867, 36381, 7175, 60089, 2459, 11508, 6077, 3742, 22460, 229815, 3952, 77879, 4657, 2601, 2146, 20600, 45367, 18499, 49128, 21771, 8060, ...
[ 0.0745849609375, 0.10504150390625, 0.168212890625, 0.1304931640625, 0.201904296875, 0.0758056640625, 0.1744384765625, 0.1376953125, 0.154541015625, 0.172119140625, 0.07122802734375, 0.049774169921875, 0.1724853515625, 0.1212158203125, 0.1015625, 0.0831298828125, 0.0987548828125, 0....
embed
29853855_c0
29853855
fsharp
0
Title: Random access on .NET lists is slow, but what if I always reference the first element? Problem title: Random access on .NET lists is slow, but what if I always reference the first element? Tags: random-access, list, f%23, c%23, .net Problem: Random access on .NET lists is slow, but what if I always reference the...
Random access on .NET lists is slow, but what if I always reference the first element? Random access on .NET lists is slow, but what if I always reference the first element? random-access list f%23 c%23 .net Random NET Random access on .NET lists is slow, but what if I always reference the first element? I know that in...
[ -0.003509521484375, 0.00604248046875, 0.01275634765625, 0.00145721435546875, -0.0027923583984375, -0.018310546875, -0.006317138671875, 0.00408935546875, 0.0040283203125, -0.0240478515625, 0.00823974609375, 0.02001953125, -0.0177001953125, 0.0098876953125, -0.007415771484375, 0.00878906...
[ 39643, 306, 17203, 98, 5, 17777, 5303, 7, 72803, 11343, 91067, 5117, 12830, 83, 2367, 96759, 113041, 1238, 3742, 1179, 2174, 4537, 32036, 621, 959, 4127, 100, 30745, 10298, 53, 2806, 2965, 1528, 27117, 9454, 96090, 7565, 26866, 5915, 1541...
[ 0.1746826171875, 0.13623046875, 0.1949462890625, 0.01910400390625, 0.0653076171875, 0.2235107421875, 0.23486328125, 0.031890869140625, 0.2509765625, 0.149169921875, 0.2568359375, 0.163818359375, 0.1661376953125, 0.03265380859375, 0.026824951171875, 0.191162109375, 0.1590576171875, ...
embed
4926534_c0
4926534
fsharp
0
Title: Building a chained set of method calls from a C# object in f# Problem title: Building a chained set of method calls from a C# object in f# Tags: c%23, .net, f%23 Problem: Building a chained set of method calls from a C# object in f# I'm learning F# and I got to thinking. You can chain operations from normal oper...
Building a chained set of method calls from a C# object in f# Building a chained set of method calls from a C# object in f# c%23 .net f%23 a Building List.map List.reduce a.Method1 Method2 Method3 Building a chained set of method calls from a C# object in f# I'm learning F# and I got to thinking. You can chain operatio...
[ -0.00372314453125, 0.0120849609375, 0.00994873046875, 0.0086669921875, 0.0081787109375, -0.01141357421875, -0.0205078125, 0.0002994537353515625, 0.005645751953125, -0.0400390625, -0.019287109375, -0.0004730224609375, -0.0020751953125, 0.01214599609375, -0.00762939453125, -0.01348876953...
[ 104919, 121293, 297, 5423, 55300, 11782, 1295, 313, 4904, 36746, 1238, 7, 3742, 1179, 32036, 62346, 107, 106357, 10, 78572, 7352, 74644, 363, 52080, 563, 47644, 831, 41018, 3638, 39933, 2633, 16750, 15982, 122009, 97249, 238, 154663, 2046, ...
[ 0.1610107421875, 0.25146484375, 0.088134765625, 0.151123046875, 0.2012939453125, 0.1787109375, 0.1009521484375, 0.01763916015625, 0.194091796875, 0.1759033203125, 0.097412109375, 0.0045166015625, 0.0282440185546875, 0.0791015625, 0.1173095703125, 0.04656982421875, 0.039520263671875, ...
embed
7842112_c0
7842112
fsharp
0
Title: Trouble with generics Problem title: Trouble with generics Tags: f%23, generics Problem: Trouble with generics Why doesn't the following code compile? Is that a compiler bug or a language feature? What is the best workaround? type A() as this = let a = this.GetTypedObject<int>() // a let b = this.GetTypedObject<...
Trouble with generics Trouble with generics f%23 generics Trouble this.GetTypedObject Unchecked.defaultof Trouble with generics Why doesn't the following code compile? Is that a compiler bug or a language feature? What is the best workaround? Unchecked.defaultof<'T> is used for example only, any function or constructor...
[ -0.00970458984375, 0.0174560546875, 0.0174560546875, 0.00543212890625, -0.013671875, -0.021728515625, 0.0012359619140625, -0.00732421875, -0.00154876708984375, -0.01312255859375, -0.017333984375, 0.00750732421875, 0.0142822265625, 0.0220947265625, 0.01080322265625, -0.01611328125, -0...
[ 119671, 2661, 678, 189534, 7, 1238, 3949, 3742, 903, 724, 126, 196707, 71, 46471, 75161, 992, 78292, 297, 214810, 4390, 44084, 22027, 18, 25632, 18151, 9969, 1340, 34759, 54608, 46876, 60213, 2965, 4488, 67688, 618, 11814, 27781, 4734, 2499...
[ 0.1529541015625, 0.110107421875, 0.1116943359375, 0.2548828125, 0.037994384765625, 0.04608154296875, 0.033447265625, 0.1304931640625, 0.069091796875, 0.03619384765625, 0.068359375, 0.260009765625, 0.0936279296875, 0.1541748046875, 0.1728515625, 0.06195068359375, 0.206787109375, 0.0...
embed
59197715_c0
59197715
fsharp
0
Title: Create alist of Async objects for F# parallel processing Problem title: Create alist of Async objects for F# parallel processing Tags: f%23 Problem: Create alist of Async objects for F# parallel processing I know this is not very F# like, but I would like to do the following [a; b; c; d] |> Async.Parallel |> Asy...
Create alist of Async objects for F# parallel processing Create alist of Async objects for F# parallel processing f%23 Create Async Async.Parallel Async.RunSynchronously some_code List.append Create alist of Async objects for F# parallel processing I know this is not very F# like, but I would like to do the following w...
[ -0.003387451171875, -0.004638671875, 0.003936767578125, -0.0098876953125, 0.00008153915405273438, -0.00074005126953125, 0.0036773681640625, 0.003997802734375, -0.0011749267578125, -0.019775390625, 0.00836181640625, 0.00201416015625, 0.01348876953125, -0.0081787109375, 0.0203857421875, ...
[ 151313, 10, 6562, 111, 62, 12654, 238, 36746, 7, 100, 563, 4904, 95103, 9433, 1238, 3949, 3742, 55292, 1229, 163321, 217835, 127, 1900, 3060, 40899, 32036, 9007, 1884, 54, 25632, 876, 4, 501, 136, 104, 139392, 32354, 903, 20949, 4677, 2...
[ 0.101318359375, 0.09710693359375, 0.2156982421875, 0.04168701171875, 0.05645751953125, 0.1951904296875, 0.09619140625, 0.181884765625, 0.02545166015625, 0.0243377685546875, 0.128173828125, 0.19873046875, 0.19091796875, 0.107666015625, 0.047454833984375, 0.002410888671875, 0.115234375...
embed
1179008_c0
1179008
fsharp
0
Title: Pattern matching identical values Problem title: Pattern matching identical values Tags: pattern-matching, functional-programming, guard-clause, f%23, haskell Problem: Pattern matching identical values I just wondered whether it's possible to match against the same values for multiple times with the pattern matc...
Pattern matching identical values Pattern matching identical values pattern-matching functional-programming guard-clause f%23 haskell Pattern Add Mult Pattern matching identical values I just wondered whether it's possible to match against the same values for multiple times with the pattern matching facilities of funct...
[ -0.01104736328125, 0.013916015625, 0.0052490234375, -0.0007476806640625, 0.01300048828125, -0.007476806640625, -0.017333984375, -0.009765625, 0.0181884765625, -0.017578125, -0.0001811981201171875, 0.01446533203125, 0.0086669921875, -0.006103515625, 0.001983642578125, -0.010009765625, ...
[ 9876, 22766, 14858, 214, 31943, 6827, 142424, 103510, 98753, 123309, 28966, 56050, 18347, 1238, 3742, 1556, 142508, 29117, 81212, 7722, 47, 26548, 5701, 100, 48716, 20028, 135094, 56037, 46876, 6495, 7, 919, 4904, 105272, 141, 27781, 5117, 20...
[ 0.1873779296875, 0.1505126953125, 0.2459716796875, 0.0599365234375, 0.1934814453125, 0.1260986328125, 0.1680908203125, 0.225341796875, 0.234375, 0.1593017578125, 0.098876953125, 0.1810302734375, 0.0173492431640625, 0.038360595703125, 0.08172607421875, 0.1021728515625, 0.203125, 0.0...
embed
11862889_c0
11862889
fsharp
0
Title: Typeproviders, websharper, f#, builiding order Problem title: Typeproviders, websharper, f#, builiding order Tags: websharper, build, f%23, type-providers Problem: Typeproviders, websharper, f#, builiding order So I have added some data using typeproviders into my applications ( github link ) So here is the prob...
Typeproviders, websharper, f#, builiding order Typeproviders, websharper, f#, builiding order websharper build f%23 type-providers Typeproviders Site.fs Typeproviders, websharper, f#, builiding order So I have added some data using typeproviders into my applications ( github link ) So here is the problem. 1) What I wan...
[ 0.00860595703125, 0.022216796875, -0.019287109375, -0.00860595703125, 0.0118408203125, 0.01226806640625, 0.0048828125, 0.0021820068359375, 0.0157470703125, -0.049072265625, -0.0035400390625, -0.007781982421875, 0.00640869140625, -0.018310546875, 0.0213623046875, -0.01495361328125, 0....
[ 60457, 93136, 14202, 1467, 89280, 1264, 1238, 4904, 373, 2104, 6238, 12989, 45367, 3742, 10644, 20897, 17447, 49814, 2053, 17368, 86685, 32102, 3126, 2967, 36663, 4527, 18221, 59499, 91736, 26038, 171581, 33342, 5885, 40494, 4420, 3564, 74481, ...
[ 0.199462890625, 0.2210693359375, 0.144775390625, 0.0953369140625, 0.1868896484375, 0.1693115234375, 0.045745849609375, 0.136474609375, 0.03753662109375, 0.0767822265625, 0.1043701171875, 0.1387939453125, 0.10498046875, 0.07470703125, 0.2005615234375, 0.143798828125, 0.138916015625, ...
embed
41209152_c0
41209152
fsharp
0
Title: How does F# implement let rec? Problem title: How does F# implement let rec? Tags: parameters, f%23, recursion, scheme Problem: How does F# implement let rec? I am wondering how F# implements let rec , and I couldn't find an answer. As a preface, I'll address how Scheme implements letrec : In Scheme, let is just...
How does F# implement let rec? How does F# implement let rec? parameters f%23 recursion scheme How How does F# implement let rec? I am wondering how F# implements let rec , and I couldn't find an answer. As a preface, I'll address how Scheme implements letrec : In Scheme, let is just syntactics sugar for a definition o...
[ -0.00188446044921875, 0.0096435546875, 0.026611328125, 0.0184326171875, 0.0101318359375, 0.004791259765625, -0.003692626953125, -0.00677490234375, -0.002349853515625, 0.0003070831298828125, 0.0166015625, 0.004608154296875, -0.016845703125, 0.0017547607421875, 0.02978515625, -0.01281738...
[ 11249, 14602, 563, 4904, 29479, 2633, 21954, 32, 171859, 1238, 3949, 3742, 195625, 1830, 150370, 149016, 3642, 7, 35166, 40404, 34702, 282, 31688, 83, 1660, 6002, 102, 49086, 101087, 80934, 21, 6492, 85, 59911, 1974, 425, 4879, 22183, 1022,...
[ 0.12841796875, 0.0765380859375, 0.1859130859375, 0.2880859375, 0.22412109375, 0.26953125, 0.275390625, 0.02532958984375, 0.1905517578125, 0.1002197265625, 0.061187744140625, 0.176513671875, 0.1961669921875, 0.068359375, 0.157958984375, 0.034423828125, 0.0838623046875, 0.04763793945...
embed
20363978_c0
20363978
fsharp
0
Title: How to make this functional-style code more performant while maintaining its syntax Problem title: How to make this functional-style code more performant while maintaining its syntax Tags: c%23, ocaml, functional-programming, f%23 Problem: How to make this functional-style code more performant while maintaining ...
How to make this functional-style code more performant while maintaining its syntax How to make this functional-style code more performant while maintaining its syntax c%23 ocaml functional-programming f%23 How Matrix.Multiply target.Add Matrix How to make this functional-style code more performant while maintaining it...
[ -0.0220947265625, 0.02197265625, 0.0157470703125, 0.006591796875, 0.00128936767578125, -0.0174560546875, -0.0264892578125, -0.007415771484375, -0.0024871826171875, -0.0240478515625, -0.00750732421875, -0.000667572021484375, -0.009521484375, 0.007568359375, -0.00238037109375, -0.0162353...
[ 11249, 3249, 903, 123309, 40946, 18151, 1286, 106018, 12960, 76104, 214, 6002, 86531, 501, 3742, 36, 9779, 141, 28966, 1238, 3949, 194234, 50657, 118, 62479, 30388, 284, 4028, 1884, 33022, 41018, 23, 140363, 20623, 142837, 23718, 1221, 11675,...
[ 0.10791015625, 0.07568359375, 0.07177734375, 0.22265625, 0.1973876953125, 0.1884765625, 0.1390380859375, 0.21630859375, 0.09136962890625, 0.167724609375, 0.00531005859375, 0.1502685546875, 0.2034912109375, 0.02197265625, 0.09039306640625, 0.09375, 0.120849609375, 0.095458984375, ...
embed
23112100_c0
23112100
fsharp
0
Title: Union type with interface in signature file Problem title: Union type with interface in signature file Tags: signature, f%23, f%23-3.0 Problem: Union type with interface in signature file Given the following code int the implementation file: namespace Lib module Test = type ITest = abstract member IsTest: bool t...
Union type with interface in signature file Union type with interface in signature file signature f%23 f%23-3.0 Union Lib Test ITest IsTest this.IsTest Interface Union type with interface in signature file Given the following code int the implementation file: And the following signature file: The following warning occu...
[ 0.016357421875, 0.0263671875, 0.000766754150390625, 0.008544921875, -0.0218505859375, -0.01251220703125, -0.0206298828125, 0.017822265625, 0.0037384033203125, 0.01324462890625, -0.005462646484375, -0.0026397705078125, -0.0185546875, 0.0027618408203125, 0.01031494140625, 0.0198974609375...
[ 32528, 10644, 678, 101758, 23, 138256, 11435, 1238, 3742, 132265, 43278, 8647, 5959, 525, 2071, 111337, 903, 29598, 220237, 25632, 18151, 208124, 1631, 592, 74918, 5550, 787, 29479, 5, 6371, 1284, 959, 122273, 5303, 103882, 84079, 37702, 4496...
[ 0.2476806640625, 0.1971435546875, 0.08447265625, 0.2498779296875, 0.0161895751953125, 0.222900390625, 0.1539306640625, 0.0196075439453125, 0.058837890625, 0.07342529296875, 0.08148193359375, 0.1634521484375, 0.0234527587890625, 0.1885986328125, 0.066162109375, 0.2027587890625, 0.0895...
embed
30150542_c1
30150542
fsharp
1
only two of them (for examle 0 and 1) then it is working fine. Can Observable.merge only use 2 Obsevables? Is there a better way to do this or how can I use several observables? With my mediocre searching skills I've searched the internet for some tutorials and references, that in an easy way explains the concept of o...
only two of them (for examle 0 and 1) then it is working fine. Can Observable.merge only use 2 Obsevables? Is there a better way to do this or how can I use several observables? With my mediocre searching skills I've searched the internet for some tutorials and references, that in an easy way explains the concept of o...
[ -0.006103515625, 0.033447265625, -0.0022125244140625, -0.00714111328125, 0.016357421875, 0.01507568359375, 0.006927490234375, 0.005157470703125, 0.0098876953125, -0.0225830078125, 0.01220703125, -0.0380859375, 0.0118408203125, 0.0185546875, 0.0201416015625, -0.00921630859375, 0.00988...
[ 4734, 6626, 111, 2856, 42276, 133, 757, 136, 4879, 442, 20697, 5885, 4171, 87652, 2661, 5, 1991, 429, 4527, 116, 3545, 114888, 19736, 11522, 3917, 831, 40368, 22046, 13566, 8738, 157318, 59376, 1820, 57143, 91067, 23468, 73342, 23755, 13253...
[ 0.140625, 0.179931640625, 0.1131591796875, 0.12548828125, 0.171142578125, 0.145263671875, 0.144287109375, 0.044586181640625, 0.0684814453125, 0.00274658203125, 0.13037109375, 0.108154296875, 0.025665283203125, 0.280029296875, 0.24609375, 0.010955810546875, 0.25048828125, 0.20617675...
embed
69720952_c0
69720952
fsharp
0
Title: How to deal with unstructured data in F# similar to Typescript Problem title: How to deal with unstructured data in F# similar to Typescript Tags: f%23 Problem: How to deal with unstructured data in F# similar to Typescript In NodeJs/TYpescript I can declare an interface export interface IPageStatementLine { lin...
How to deal with unstructured data in F# similar to Typescript How to deal with unstructured data in F# similar to Typescript f%23 How Typescript IPageStatementLine lineData.mydynamicProperty.innerProperty PageStatementLine How to deal with unstructured data in F# similar to Typescript In NodeJs/TYpescript I can declar...
[ 0.019287109375, -0.0023956298828125, -0.00250244140625, 0.016845703125, 0.004486083984375, -0.021728515625, 0.01531982421875, -0.00665283203125, -0.00677490234375, -0.00665283203125, -0.005889892578125, -0.0118408203125, -0.0045166015625, -0.005462646484375, 0.003936767578125, 0.039062...
[ 11249, 35142, 678, 51, 137656, 71, 2053, 563, 4904, 21373, 60457, 32032, 1238, 3742, 87, 147101, 135206, 93232, 13315, 137989, 1176, 242554, 1264, 1679, 10752, 14231, 438, 112, 1375, 27143, 1081, 831, 159978, 101758, 17203, 32354, 360, 5915, ...
[ 0.032867431640625, 0.12451171875, 0.0936279296875, 0.1302490234375, 0.2271728515625, 0.07232666015625, 0.1422119140625, 0.1278076171875, 0.197265625, 0.1339111328125, 0.1728515625, 0.20947265625, 0.024627685546875, 0.03424072265625, 0.05535888671875, 0.0877685546875, 0.104736328125, ...
embed
17606405_c1
17606405
fsharp
1
the thing that I don't get. In C# I can directly write Get["/"] but in F# I need to write Get.["/"]. Means I have to call another function instead of property constructor. Even I don't know how "this" use in constructor internally worked in C#, so if someone explain that, it will great... and if there is any equivalen...
the thing that I don't get. In C# I can directly write Get["/"] but in F# I need to write Get.["/"]. Means I have to call another function instead of property constructor. Even I don't know how "this" use in constructor internally worked in C#, so if someone explain that, it will great... and if there is any equivalen...
[ -0.01141357421875, -0.001129150390625, 0.01177978515625, 0.0003204345703125, -0.00970458984375, 0.00098419189453125, 0.0205078125, -0.013671875, 0.014404296875, -0.049072265625, 0.00921630859375, -0.0242919921875, -0.0086669921875, 0.0014190673828125, -0.01300048828125, -0.011413574218...
[ 70, 13580, 450, 87, 2301, 18, 2046, 313, 4904, 831, 105237, 33022, 20779, 1065, 64, 1284, 23, 563, 3871, 47, 5, 10133, 765, 11782, 15700, 32354, 64457, 57266, 64549, 748, 3714, 100231, 4527, 70796, 79786, 2174, 22008, 73342, 6782, 183234,...
[ 0.018707275390625, 0.08935546875, 0.054412841796875, 0.051544189453125, 0.11328125, 0.1314697265625, 0.1585693359375, 0.0217742919921875, 0.2156982421875, 0.0295562744140625, 0.1187744140625, 0.1571044921875, 0.2313232421875, 0.072998046875, 0.200927734375, 0.06689453125, 0.043182373...
embed
43500296_c0
43500296
fsharp
0
Title: Type aliases/abbreviations can&#x27;t access members? Problem title: Type aliases/abbreviations can&#x27;t access members? Tags: aliases, f%23, types Problem: Type aliases/abbreviations can't access members? F# type aliases are not working as I would expect. e.g. type MyMap = Map<string, string> let myMap = ["On...
Type aliases/abbreviations can&#x27;t access members? Type aliases/abbreviations can&#x27;t access members? aliases f%23 types Type MyMap Map One Two Map.ofList myMap2 MyMap.ofList Type aliases/abbreviations can't access members? F# type aliases are not working as I would expect. e.g. The first let works fine. The seco...
[ -0.00787353515625, -0.00787353515625, 0.016357421875, 0.006378173828125, -0.0220947265625, 0.005767822265625, 0.0057373046875, 0.0234375, -0.00213623046875, -0.0098876953125, 0.021728515625, 0.02490234375, 0.02490234375, 0.0196533203125, 0.018310546875, -0.01263427734375, -0.01013183...
[ 60457, 55109, 90, 64, 10545, 107, 686, 21094, 831, 3768, 18, 17203, 43032, 1238, 3742, 52895, 2646, 166179, 42719, 6561, 32964, 4390, 154663, 759, 304, 563, 4904, 10644, 959, 20697, 237, 41206, 5117, 2633, 43240, 5885, 17932, 35782, 1084, ...
[ 0.22119140625, 0.2529296875, 0.1077880859375, 0.011810302734375, 0.05523681640625, 0.1241455078125, 0.1158447265625, 0.05364990234375, 0.10504150390625, 0.012786865234375, 0.1025390625, 0.199951171875, 0.245361328125, 0.061004638671875, 0.0292816162109375, 0.1533203125, 0.14733886718...
embed
10012078_c0
10012078
fsharp
0
Title: Using unit as Type Parameter and overriding methods Problem title: Using unit as Type Parameter and overriding methods Tags: f%23, .net Problem: Using unit as Type Parameter and overriding methods I'm basically asking why the following lines of codes do not compile: type IGenericType<'a> = abstract member MyFunc...
Using unit as Type Parameter and overriding methods Using unit as Type Parameter and overriding methods f%23 .net Using Type Parameter IGenericType MyFunc Implementer x.Test x.MyFunc FS0017 Nothing Using unit as Type Parameter and overriding methods I'm basically asking why the following lines of codes do not compile: ...
[ -0.00531005859375, 0.017333984375, 0.00994873046875, -0.0091552734375, -0.004974365234375, -0.029296875, 0.00750732421875, 0.0014801025390625, 0.017822265625, -0.0162353515625, -0.032470703125, -0.0115966796875, -0.00927734375, -0.0050048828125, -0.00787353515625, 0.0022125244140625, ...
[ 345, 25072, 237, 60457, 1720, 29089, 136, 645, 416, 6238, 150624, 1238, 3742, 1179, 87, 135932, 12259, 196707, 2646, 97249, 153941, 1022, 111337, 31852, 93774, 7049, 2489, 182747, 198343, 113292, 15400, 25632, 124519, 111, 18151, 54, 959, 996...
[ 0.0740966796875, 0.251708984375, 0.09619140625, 0.222900390625, 0.0994873046875, 0.116943359375, 0.0141143798828125, 0.09967041015625, 0.1492919921875, 0.0654296875, 0.142333984375, 0.0181427001953125, 0.0865478515625, 0.1424560546875, 0.0408935546875, 0.1075439453125, 0.006713867187...
embed
4986111_c0
4986111
fsharp
0
Title: F# handling values and references Problem title: F# handling values and references Tags: f%23, reference, .net Problem: F# handling values and references I need to understand something very important regarding F#: how it handles references and values. I know that F# defines immutable and mutable objects and also...
F# handling values and references F# handling values and references f%23 reference .net Object myobj1 myobj2 MyObj myvar2 F# handling values and references I need to understand something very important regarding F#: how it handles references and values. I know that F# defines immutable and mutable objects and also know...
[ 0.016845703125, 0.01043701171875, 0.007537841796875, 0.0177001953125, -0.0019378662109375, -0.0024566650390625, -0.01385498046875, -0.002471923828125, 0.01446533203125, 0.0001373291015625, 0.0184326171875, 0.01458740234375, 0.02001953125, 0.01611328125, 0.01123046875, -0.01129150390625...
[ 563, 4904, 45064, 142424, 136, 91067, 1238, 3742, 1179, 134549, 759, 3522, 170, 304, 2646, 46471, 1961, 28219, 5526, 34831, 7, 61924, 566, 561, 22819, 842, 36746, 3714, 3642, 621, 191607, 23, 313, 26818, 83, 6275, 56, 95486, 214, 47, 15...
[ 0.15966796875, 0.226318359375, 0.1573486328125, 0.2115478515625, 0.1024169921875, 0.249755859375, 0.121337890625, 0.063720703125, 0.122314453125, 0.1505126953125, 0.09210205078125, 0.07293701171875, 0.09808349609375, 0.037017822265625, 0.0927734375, 0.1112060546875, 0.1290283203125, ...
embed
8368769_c0
8368769
fsharp
0
Title: Syntax for declaring a function returning a 2DArray in F# Problem title: Syntax for declaring a function returning a 2DArray in F# Tags: multidimensional-array, f%23, syntax, option-type Problem: Syntax for declaring a function returning a 2DArray in F# I need to declare a function in F# that takes 2 parameters ...
Syntax for declaring a function returning a 2DArray in F# Syntax for declaring a function returning a 2DArray in F# multidimensional-array f%23 syntax option-type Syntax create2DArrayOfT Array2D Option Array2D.init None Syntax for declaring a function returning a 2DArray in F# I need to declare a function in F# that ta...
[ 0.0235595703125, -0.000507354736328125, -0.012939453125, 0.0196533203125, -0.0177001953125, -0.0235595703125, 0.007110595703125, -0.032470703125, -0.0106201171875, 0.0234375, 0.0120849609375, -0.0032806396484375, -0.01312255859375, -0.0174560546875, -0.006591796875, 0.00830078125, 0....
[ 19010, 86531, 100, 8, 18347, 2852, 32354, 30646, 116, 42, 7092, 23, 563, 4904, 6538, 6024, 157955, 19305, 53, 1238, 3742, 6002, 35829, 50986, 28282, 304, 132887, 69253, 397, 86769, 438, 159978, 171859, 15555, 3365, 4720, 10298, 80854, 186, ...
[ 0.1390380859375, 0.1944580078125, 0.00555419921875, 0.0869140625, 0.152099609375, 0.0238189697265625, 0.16943359375, 0.200927734375, 0.1485595703125, 0.03680419921875, 0.2125244140625, 0.020904541015625, 0.1357421875, 0.1920166015625, 0.029510498046875, 0.03466796875, 0.1217041015625...
embed
41864234_c0
41864234
fsharp
0
Title: Finding the Maximum element in a list with pattern matching and recursion F# Problem title: Finding the Maximum element in a list with pattern matching and recursion F# Tags: f%23-3.0, f%23 Problem: Finding the Maximum element in a list with pattern matching and recursion F# I'm trying to find the maximum elemen...
Finding the Maximum element in a list with pattern matching and recursion F# Finding the Maximum element in a list with pattern matching and recursion F# f%23-3.0 f%23 Finding Maximum Not Error x::xs max_value1 Empty List x::y::xs y::xs Finding the Maximum element in a list with pattern matching and recursion F# I'm tr...
[ -0.01611328125, 0.01422119140625, 0.0247802734375, -0.0011749267578125, 0.01153564453125, 0.0137939453125, -0.0245361328125, -0.007049560546875, 0.015380859375, -0.009765625, 0.0186767578125, 0.001251220703125, 0.0007476806640625, -0.0189208984375, 0.037353515625, -0.0024871826171875, ...
[ 26040, 46540, 316, 12830, 23, 5303, 678, 103510, 14858, 214, 195625, 563, 4904, 1238, 27495, 132265, 3742, 11205, 212059, 425, 18389, 27494, 31678, 939, 32036, 1022, 53, 113, 136, 31577, 7413, 38132, 15490, 17368, 71346, 100, 10696, 95486, ...
[ 0.106689453125, 0.2159423828125, 0.1776123046875, 0.1812744140625, 0.034912109375, 0.1785888671875, 0.0440673828125, 0.198486328125, 0.1689453125, 0.060638427734375, 0.1778564453125, 0.06640625, 0.125, 0.05517578125, 0.05828857421875, 0.12158203125, 0.05859375, 0.042327880859375, ...
embed
22296801_c0
22296801
fsharp
0
Title: MailboxProcessor and interaction with GUI Thread Problem title: MailboxProcessor and interaction with GUI Thread Tags: multithreading, mailboxprocessor, f%23 Problem: MailboxProcessor and interaction with GUI Thread I've created an agent interacting with GUI by means of SynchronizationContext: type AsyncWorker(i...
MailboxProcessor and interaction with GUI Thread MailboxProcessor and interaction with GUI Thread multithreading mailboxprocessor f%23 MailboxProcessor GUI Thread AsyncWorker id:int Event SynchronizationContext.Current inbox.Receive syncContext.RaiseEvent MailboxProcessor and interaction with GUI Thread I've created an...
[ -0.0031890869140625, 0.020751953125, 0.0052490234375, 0.0030059814453125, -0.0184326171875, -0.00689697265625, 0.0198974609375, 0.015625, -0.003753662109375, -0.059814453125, 0.01019287109375, 0.02099609375, 0.01104736328125, -0.000209808349609375, 0.0079345703125, 0.003631591796875, ...
[ 25919, 11728, 10752, 26531, 748, 182809, 678, 195490, 136719, 136, 3869, 65847, 6648, 63923, 3742, 12654, 238, 108259, 56, 3447, 4288, 36943, 19010, 101966, 47691, 22829, 15724, 23, 6002, 12248, 3075, 192134, 75935, 23882, 78974, 2499, 77064, ...
[ 0.10791015625, 0.198974609375, 0.0799560546875, 0.1602783203125, 0.0928955078125, 0.1697998046875, 0.07916259765625, 0.22265625, 0.198486328125, 0.005035400390625, 0.0621337890625, 0.1181640625, 0.068603515625, 0.1405029296875, 0.09674072265625, 0.14599609375, 0.03125, 0.1225585937...
embed
45530293_c0
45530293
fsharp
0
Title: How to compare in ResizeArray at Fsharp? Problem title: How to compare in ResizeArray at Fsharp? Tags: f%23 Problem: How to compare in ResizeArray at Fsharp? How to Sort s by funtion compare : cmp ? type Point = { x : float y : float } let s = ResizeArray<Point>() let cmp (A:Point) (B:Point) = A.x + A.y < B.x + ...
How to compare in ResizeArray at Fsharp? How to compare in ResizeArray at Fsharp? f%23 How ResizeArray Fsharp Point s.Add A:Point B:Point A.x A.y B.x B.y s.Sort List.sortWith List.iter x.x x.y How to compare in ResizeArray at Fsharp? How to Sort s by funtion compare : cmp ? And this's result , but it's not correct with...
[ -0.0098876953125, 0.012939453125, 0.00616455078125, -0.00185394287109375, -0.003753662109375, -0.0267333984375, 0.00118255615234375, 0.01190185546875, 0.01123046875, 0.0247802734375, 0.0113525390625, 0.01324462890625, -0.007415771484375, -0.037353515625, 0.01416015625, -0.017578125, ...
[ 11249, 47, 69101, 23, 853, 62539, 7614, 7092, 99, 563, 89280, 254, 1238, 3742, 41097, 91, 4028, 62, 147534, 335, 158240, 32036, 62351, 194583, 16840, 53666, 390, 7477, 1363, 1827, 16750, 959, 26785, 32354, 12096, 30022 ]
[ 0.0660400390625, 0.0186614990234375, 0.221435546875, 0.0245513916015625, 0.10198974609375, 0.16357421875, 0.08984375, 0.1571044921875, 0.0606689453125, 0.085693359375, 0.1728515625, 0.1400146484375, 0.01409912109375, 0.08740234375, 0.08721923828125, 0.09979248046875, 0.061279296875, ...
embed
37887416_c0
37887416
fsharp
0
Title: F# set property in constructor of derived type Problem title: F# set property in constructor of derived type Tags: f%23 Problem: F# set property in constructor of derived type I have a type that inherits from the MVC class AuthorizeAttribute . In my constructor (which takes a parameter), I want to set the Roles ...
F# set property in constructor of derived type F# set property in constructor of derived type f%23 MyAuthorizer AuthorizeAttribute ParamArray x.Roles Roles F# set property in constructor of derived type I have a type that inherits from the MVC class AuthorizeAttribute . In my constructor (which takes a parameter), I wa...
[ 0.0035858154296875, 0.01080322265625, 0.013427734375, -0.006744384765625, -0.005279541015625, -0.0247802734375, 0.01385498046875, 0.01251220703125, 0.0029449462890625, -0.0029144287109375, 0.018310546875, 0.0164794921875, 0.005096435546875, 0.01397705078125, -0.0267333984375, -0.000900...
[ 563, 4904, 5423, 57266, 64549, 748, 111, 16406, 4126, 10644, 1238, 3742, 2646, 1003, 5922, 52825, 61804, 20650, 191145, 1720, 7092, 1022, 12724, 1577, 2777, 3334, 14481, 56349, 18507, 28848, 51776, 171859, 18499, 73243, 959, 10, 35604, 36746,...
[ 0.109130859375, 0.2034912109375, 0.178955078125, 0.246337890625, 0.1585693359375, 0.108642578125, 0.07037353515625, 0.113525390625, 0.087158203125, 0.1783447265625, 0.041412353515625, 0.021148681640625, 0.0300445556640625, 0.04840087890625, 0.10107421875, 0.07000732421875, 0.11816406...
embed
3898650_c0
3898650
fsharp
0
Title: Running F# code with Mono Problem title: Running F# code with Mono Tags: mono, f%23 Problem: Running F# code with Mono I have F# 2.0.0 installed, and use mono 2.8. let rec fib n = match n with | 1 | 2 -> 1 | n -> fib(n-1) + fib(n-2) let n = 40 let x = fib(n) printfn "%d" x I compiled this code with fsc.exe to ge...
Running F# code with Mono Running F# code with Mono mono f%23 System.TypeLoadException assembly Running Mono n-1 n-2 fact.exe Could FSharp.Core Version Culture PublicKeyToken b03f5f7f11d50a3a Unhandled Exception Factorial FSharp.Core.dll Running F# code with Mono I have F# 2.0.0 installed, and use mono 2.8. I compiled ...
[ 0.004150390625, 0.01263427734375, 0.0076904296875, 0.01007080078125, 0.000213623046875, -0.00069427490234375, -0.0003757476806640625, -0.00127410888671875, -0.0238037109375, -0.0498046875, 0.01019287109375, -0.004486083984375, -0.0103759765625, -0.00439453125, 0.0247802734375, -0.00750...
[ 28398, 592, 563, 4904, 18151, 678, 77879, 22460, 1238, 3742, 12353, 196707, 15363, 63928, 89845, 653, 5759, 5428, 15824, 46480, 191147, 93774, 3467, 254, 50886, 40647, 105141, 16934, 162429, 7763, 1098, 9513, 2525, 11, 992, 79628, 5443, 11796...
[ 0.1126708984375, 0.0287628173828125, 0.1456298828125, 0.215576171875, 0.181640625, 0.1202392578125, 0.275634765625, 0.2509765625, 0.08477783203125, 0.128662109375, 0.042877197265625, 0.141845703125, 0.07427978515625, 0.1192626953125, 0.106201171875, 0.0210113525390625, 0.116577148437...
embed
5223110_c1
5223110
fsharp
1
this.userModifiedForm (sender : obj) (args : EventArgs) = // **** EXCEPTION OCCURS ON THE LINE BELOW **** if this.isFormLoaded then this.btnSave.IsEnabled <- true () profile.xaml: <nav:Page Name="profile" Loaded="formLoaded"> <TextBox Name="txtEmail" TextChanged="userModifiedForm "/> <Button Name="btnSave" IsEnabled="...
this.userModifiedForm (sender : obj) (args : EventArgs) = // **** EXCEPTION OCCURS ON THE LINE BELOW **** if this.isFormLoaded then this.btnSave.IsEnabled <- true () profile.xaml: <nav:Page Name="profile" Loaded="formLoaded"> <TextBox Name="txtEmail" TextChanged="userModifiedForm "/> <Button Name="btnSave" IsEnabled="...
[ 0.031494140625, 0.03564453125, -0.0223388671875, -0.019775390625, 0.01251220703125, -0.0026702880859375, 0.007354736328125, 0.0029296875, 0.01373291015625, -0.01287841796875, -0.01031494140625, 0.00145721435546875, 0.00482177734375, 0.00872802734375, 0.0194091796875, -0.019287109375, ...
[ 903, 65918, 91616, 47314, 102973, 152452, 995, 170, 61477, 36943, 7614, 9405, 29426, 136566, 180, 13709, 112045, 29197, 130028, 143141, 2174, 164, 15363, 712, 297, 16723, 5464, 272, 29598, 7768, 2886, 29568, 60641, 3798, 7237, 46069, 147101, ...
[ 0.2095947265625, 0.164306640625, 0.185302734375, 0.1834716796875, 0.26953125, 0.16552734375, 0.14208984375, 0.1668701171875, 0.138671875, 0.13037109375, 0.084228515625, 0.1363525390625, 0.07177734375, 0.1591796875, 0.03192138671875, 0.013275146484375, 0.012115478515625, 0.031158447...
embed
66159896_c0
66159896
fsharp
0
Title: How to stop the traversal of a list Problem title: How to stop the traversal of a list Tags: f%23 Problem: How to stop the traversal of a list I start in Fsharp and I have this question. Assuming I have two lists a and b of the same length, I travel theses lists simultaneously and test a condition on a and b eac...
How to stop the traversal of a list How to stop the traversal of a list f%23 How my_func List.zip List.fold How to stop the traversal of a list I start in Fsharp and I have this question. Assuming I have two lists a and b of the same length, I travel theses lists simultaneously and test a condition on a and b each step...
[ 0.0059814453125, 0.015869140625, 0.01171875, 0.0191650390625, 0.010498046875, 0.01470947265625, -0.01300048828125, 0.00011396408081054688, 0.01611328125, -0.0196533203125, 0.004913330078125, 0.0216064453125, -0.0238037109375, 0.00958251953125, 0.0086669921875, 0.00689697265625, -0.00...
[ 11249, 47, 7279, 70, 37317, 289, 111, 5303, 10, 1238, 3742, 759, 16498, 32036, 50836, 42822, 4034, 563, 89280, 254, 6626, 876, 5701, 140909, 26983, 6097, 134477, 3034, 35431, 29954, 16750, 96362, 44805, 223, 35782, 7, 3871, 13695, 98, 181...
[ 0.07470703125, 0.0784912109375, 0.246337890625, 0.07830810546875, 0.2154541015625, 0.1922607421875, 0.05718994140625, 0.2420654296875, 0.02960205078125, 0.09625244140625, 0.123291015625, 0.0638427734375, 0.10626220703125, 0.2122802734375, 0.160400390625, 0.2135009765625, 0.0094299316...
embed
5819570_c0
5819570
fsharp
0
Title: What&#x27;s Easy in F# That&#x27;s Hard in C#? Problem title: What&#x27;s Easy in F# That&#x27;s Hard in C#? Tags: f%23, c%23 Problem: What's Easy in F# That's Hard in C#? Possible Duplicate: In what areas might the use of F# be more appropriate than C#? I'm anticipating giving a presentation at the local .Net u...
What&#x27;s Easy in F# That&#x27;s Hard in C#? What&#x27;s Easy in F# That&#x27;s Hard in C#? f%23 c%23 What Easy Hard What's Easy in F# That's Hard in C#? I'm anticipating giving a presentation at the local .Net user group about F#. And I'm anticipating the "Why should I look into F#?" question from the audience. I kn...
[ 0.0093994140625, 0.0166015625, 0.0084228515625, -0.00469970703125, -0.0025634765625, -0.000823974609375, -0.003875732421875, 0.0093994140625, 0.016845703125, 0.0048828125, 0.00439453125, -0.0008544921875, 0.0015869140625, 0.01220703125, -0.002288818359375, -0.0023345947265625, 0.0042...
[ 4865, 3768, 71975, 23, 563, 4904, 9925, 7, 39391, 313, 1238, 3742, 145325, 68772, 92252, 24447, 21115, 168754, 5608, 6713, 3934, 9655, 95771, 2684, 41884, 831, 16940, 16487, 8966, 72546, 6183, 7941, 47, 54, 103510, 14858, 4127, 3126, 24626,...
[ 0.0914306640625, 0.06121826171875, 0.222412109375, 0.0833740234375, 0.1549072265625, 0.2469482421875, 0.09796142578125, 0.035980224609375, 0.191162109375, 0.0894775390625, 0.041015625, 0.0347900390625, 0.06072998046875, 0.030914306640625, 0.08343505859375, 0.07928466796875, 0.0128173...
embed
33660762_c0
33660762
fsharp
0
Title: The type &#x27;int list -&gt; int&#x27; does not match the type &#x27;int&#x27; Problem title: The type &#x27;int list -&gt; int&#x27; does not match the type &#x27;int&#x27; Tags: f%23 Problem: The type 'int list -> int' does not match the type 'int' Consider, I have a this code. let firstDigitIsBigerOrEqual (d...
The type &#x27;int list -&gt; int&#x27; does not match the type &#x27;int&#x27; The type &#x27;int list -&gt; int&#x27; does not match the type &#x27;int&#x27; f%23 dig1 dig2:int dig2 numbersInCharacterList:List firstDigit::secondDigit::tail The type 'int list -> int' does not match the type 'int' Consider, I have a th...
[ -0.024658203125, 0.01043701171875, 0.007598876953125, 0.032470703125, -0.0216064453125, 0.004547119140625, -0.0042724609375, 0.0115966796875, 0.0152587890625, -0.0034332275390625, 0.00020503997802734375, 0.00396728515625, 0.0111083984375, 0.005828857421875, 0.01434326171875, -0.0139770...
[ 10644, 6, 3768, 4288, 5303, 20, 5386, 23, 18, 14602, 959, 14858, 70, 581, 1238, 3742, 1466, 418, 304, 101935, 4153, 154663, 5117, 15769, 191633, 46741, 33079, 137399, 903, 18151, 18499, 4568, 124519, 3871, 2046, 142, 237, 759, 140992, 113...
[ 0.20849609375, 0.00958251953125, 0.1019287109375, 0.2294921875, 0.19775390625, 0.033447265625, 0.1177978515625, 0.145751953125, 0.172119140625, 0.082275390625, 0.15673828125, 0.182861328125, 0.027313232421875, 0.01104736328125, 0.059234619140625, 0.08544921875, 0.129638671875, 0.03...
embed
17113512_c1
17113512
fsharp
1
using System.Windows.Shapes; // Call F# library private void Button_Click(object sender, RoutedEventArgs e) { int a = Module1.Add(1, 2); } } } This results in an error saying: "The name 'Module1' does not exist in the current context." I think the problem is with the assemblies. I noticed in a couple code samples I've...
using System.Windows.Shapes; // Call F# library private void Button_Click(object sender, RoutedEventArgs e) { int a = Module1.Add(1, 2); } } } This results in an error saying: "The name 'Module1' does not exist in the current context." I think the problem is with the assemblies. I noticed in a couple code samples I've...
[ -0.0107421875, 0.0189208984375, 0.004302978515625, 0.0174560546875, 0.01177978515625, 0.016845703125, 0.00982666015625, -0.02783203125, -0.00775146484375, -0.04833984375, 0.0032806396484375, -0.0016021728515625, 0.01495361328125, -0.01025390625, 0.015625, -0.02587890625, 0.0015945434...
[ 17368, 12353, 43342, 40798, 13569, 26265, 563, 4904, 35773, 1294, 14375, 2292, 144037, 181671, 187694, 59146, 106015, 71, 192134, 7614, 9405, 28, 18, 10, 63014, 13, 418, 4028, 116, 50339, 18499, 3957, 9351, 91616, 8782, 14602, 959, 32316, 4...
[ 0.08868408203125, 0.1187744140625, 0.1630859375, 0.1748046875, 0.16552734375, 0.114501953125, 0.1119384765625, 0.1990966796875, 0.1312255859375, 0.027099609375, 0.1138916015625, 0.0926513671875, 0.14453125, 0.221923828125, 0.171630859375, 0.1302490234375, 0.163330078125, 0.05700683...
embed
46857349_c0
46857349
fsharp
0
Title: F# singleton for generic type with static constraint Problem title: F# singleton for generic type with static constraint Tags: generics, f%23 Problem: F# singleton for generic type with static constraint I wonder if it is possible to create a singleton for generic type with static constraint (the third type belo...
F# singleton for generic type with static constraint F# singleton for generic type with static constraint generics f%23 Instance this.DoNothing GenericA GenericWithStaticConstraintA MyMember Unit F# singleton for generic type with static constraint I wonder if it is possible to create a singleton for generic type with ...
[ -0.004241943359375, -0.017578125, 0.0322265625, -0.035400390625, 0.00091552734375, -0.0029144287109375, -0.0001697540283203125, 0.00787353515625, 0.0006561279296875, -0.01953125, -0.01953125, -0.0108642578125, 0.005767822265625, -0.008544921875, 0.0120849609375, -0.01373291015625, 0,...
[ 563, 4904, 11001, 1507, 100, 189534, 10644, 678, 201939, 158, 2816, 4288, 1238, 3742, 116071, 903, 64113, 88342, 194583, 135206, 2646, 594, 27417, 46640, 7722, 28282, 50960, 35064, 959, 9969, 1340, 62, 59725, 23, 2256, 43032, 4488 ]
[ 0.07330322265625, 0.1661376953125, 0.1661376953125, 0.1993408203125, 0.0144195556640625, 0.21728515625, 0.155517578125, 0.05023193359375, 0.1861572265625, 0.039276123046875, 0.137451171875, 0.07000732421875, 0.001678466796875, 0.0535888671875, 0.03228759765625, 0.0241546630859375, 0....
embed
49503453_c0
49503453
fsharp
0
Title: indentation with composed and piped functions Problem title: indentation with composed and piped functions Tags: f%23 Problem: indentation with composed and piped functions I'm trying to get this block of code right, getting it readable by splitting into different lines, can use some help here. list |> Array.ite...
indentation with composed and piped functions indentation with composed and piped functions f%23 Array.iter data.Href regex.Match ArticleModule.defaultArticle m.Groups Value Console.WriteLine indentation with composed and piped functions I'm trying to get this block of code right, getting it readable by splitting into ...
[ -0.016357421875, -0.021240234375, 0.0155029296875, 0.03759765625, -0.008544921875, -0.0003108978271484375, 0.00531005859375, -0.00421142578125, 0.002105712890625, -0.0166015625, -0.009033203125, 0.02392578125, 0.01171875, 0.004364013671875, 0.015869140625, 0.00225830078125, 0.0173339...
[ 18597, 22062, 678, 150350, 71, 136, 137158, 32354, 1238, 3949, 3742, 69253, 53, 16840, 2053, 29087, 6835, 3355, 79520, 24241, 91616, 214810, 89329, 205072, 190060, 40777, 93232, 31577, 903, 46389, 18151, 7108, 12301, 2886, 65450, 1916, 3934, ...
[ 0.2008056640625, 0.11767578125, 0.111328125, 0.22607421875, 0.0872802734375, 0.110595703125, 0.205322265625, 0.2125244140625, 0.060546875, 0.03643798828125, 0.121337890625, 0.0699462890625, 0.035308837890625, 0.1285400390625, 0.08251953125, 0.165771484375, 0.0687255859375, 0.089233...
embed
53266631_c2
53266631
fsharp
2
Compile, Microsoft.ML.Probabilistic.Compiler.ModelCompiler.CompileWithoutParams, Microsoft.ML.Probabilistic.Models.InferenceEngine.Compile, Microsoft.ML.Probabilistic.Models.InferenceEngine.GetCompiledInferenceAlgorithm, Boolean, IVariable, Microsoft.ML.Probabilistic.Models.InferenceEngine.Infer, TReturn, StartupCode$F...
Compile, Microsoft.ML.Probabilistic.Compiler.ModelCompiler.CompileWithoutParams, Microsoft.ML.Probabilistic.Models.InferenceEngine.Compile, Microsoft.ML.Probabilistic.Models.InferenceEngine.GetCompiledInferenceAlgorithm, Boolean, IVariable, Microsoft.ML.Probabilistic.Models.InferenceEngine.Infer, TReturn, StartupCode$F...
[ -0.01007080078125, 0.0048828125, -0.0108642578125, 0.01129150390625, -0.0128173828125, 0.0201416015625, -0.00012493133544921875, -0.0079345703125, -0.0159912109375, -0.0311279296875, 0.0118408203125, 0.040283203125, 0.003143310546875, 0.00933837890625, 0.026123046875, -0.00233459472656...
[ 15612, 1340, 4, 7244, 5, 39456, 10752, 402, 2721, 48242, 108161, 34759, 140290, 194583, 6056, 28636, 8256, 4153, 69988, 91384, 1212, 724, 126, 6504, 8962, 73783, 34677, 7610, 1686, 2886, 2875, 14107, 63434, 153076, 114211, 4369, 919, 9902, ...
[ 0.209228515625, 0.2376708984375, 0.0255584716796875, 0.1591796875, 0.0182647705078125, 0.1883544921875, 0.13525390625, 0.1800537109375, 0.183837890625, 0.1741943359375, 0.193115234375, 0.1802978515625, 0.2098388671875, 0.0787353515625, 0.1524658203125, 0.1177978515625, 0.136108398437...
embed
54954628_c0
54954628
fsharp
0
Title: How to count the number of particular vowels from a string Problem title: How to count the number of particular vowels from a string Tags: string, f%23 Problem: How to count the number of particular vowels from a string I am new to F# and I am creating a program that gives the number of Vowels in a given string ...
How to count the number of particular vowels from a string How to count the number of particular vowels from a string string f%23 a How count_letter Seq.fold EntryPoint System.Console.ReadLine ch1 ch2 ch3 ch4 ch5 if_vowel List.contains How to count the number of particular vowels from a string I am new to F# and I am c...
[ -0.00726318359375, -0.00154876708984375, 0.0027008056640625, 0.0279541015625, 0.01031494140625, -0.00469970703125, 0.0035858154296875, -0.021484375, -0.00023174285888671875, -0.0019989013671875, -0.00726318359375, -0.046875, 0.0115966796875, 0.043701171875, -0.0029754638671875, -0.0207...
[ 11249, 47, 54529, 70, 14012, 111, 17311, 2244, 8420, 7, 1295, 79315, 1238, 3949, 3742, 63049, 503, 864, 42822, 15123, 147534, 12353, 40777, 31345, 93232, 3863, 363, 617, 758, 2174, 965, 32036, 98102, 3525, 563, 4904, 105233, 1528, 76199, ...
[ 0.0792236328125, 0.0677490234375, 0.2359619140625, 0.011077880859375, 0.15234375, 0.042816162109375, 0.2509765625, 0.1964111328125, 0.222900390625, 0.07879638671875, 0.1265869140625, 0.241943359375, 0.0931396484375, 0.038421630859375, 0.1693115234375, 0.15966796875, 0.024490356445312...
embed
55791486_c0
55791486
fsharp
0
Title: how to create a seq&lt;seq&lt;int*int&gt;&gt; value Problem title: how to create a seq&lt;seq&lt;int*int&gt;&gt; value Tags: f%23 Problem: how to create a seq > value Assume there is a NxN board , I want to create a seq<seq<int*int>> containing all of the lines on the board. I cannot use mutable variable. For ex...
how to create a seq&lt;seq&lt;int*int&gt;&gt; value how to create a seq&lt;seq&lt;int*int&gt;&gt; value f%23 NxN n:int seq1 n-1 j:int how to create a seq > value Assume there is a NxN board , I want to create a seq<seq<int*int>> containing all of the lines on the board. I cannot use mutable variable. For example, input...
[ 0.01263427734375, 0.006256103515625, -0.0115966796875, 0.0234375, 0.0079345703125, -0.007080078125, 0.0234375, 0.02392578125, -0.000888824462890625, -0.0255126953125, 0.003082275390625, 0.0257568359375, 0.0126953125, 0.01531982421875, 0.008056640625, 0.005645751953125, 0.008666992187...
[ 3642, 47, 28282, 10, 40, 864, 1277, 184, 4288, 1639, 5386, 34292, 1238, 3742, 541, 425, 839, 653, 418, 5759, 1647, 977, 66596, 45443, 3444, 70541, 756, 111, 124519, 53418, 4527, 842, 22819, 77336, 107730, 116, 140992, 37195, 112639, 1803,...
[ 0.1085205078125, 0.060302734375, 0.23876953125, 0.05511474609375, 0.1483154296875, 0.25634765625, 0.040069580078125, 0.1209716796875, 0.1419677734375, 0.01666259765625, 0.083740234375, 0.25732421875, 0.0718994140625, 0.2015380859375, 0.06658935546875, 0.1173095703125, 0.1611328125, ...
embed
47005550_c0
47005550
fsharp
0
Title: Xamarin shared code project created in Visual Studio for Mac fails to load in Windows Problem title: Xamarin shared code project created in Visual Studio for Mac fails to load in Windows Tags: xamarin, windows, f%23, visual-studio-2017 Problem: Xamarin shared code project created in Visual Studio for Mac fails t...
Xamarin shared code project created in Visual Studio for Mac fails to load in Windows Xamarin shared code project created in Visual Studio for Mac fails to load in Windows xamarin windows f%23 visual-studio-2017 Xamarin Visual Studio Mac Windows Program Files x86 Microsoft Microsoft.CodeSharing.FSharp.targets Choose Wh...
[ 0.00604248046875, 0.051025390625, -0.003875732421875, 0.000560760498046875, -0.00188446044921875, -0.00128173828125, -0.0033416748046875, -0.0169677734375, -0.00616455078125, -0.005157470703125, -0.00145721435546875, -0.0289306640625, 0.0025482177734375, -0.0166015625, 0.0162353515625, ...
[ 8606, 44503, 99764, 18151, 13452, 75935, 73372, 22968, 100, 4727, 35782, 72367, 23, 3773, 2459, 54825, 1238, 3742, 21176, 52629, 22842, 7663, 42724, 15276, 7244, 114211, 40798, 2852, 3467, 867, 211525, 14847, 15236, 20450, 64722, 37842, 9803, ...
[ 0.154541015625, 0.255859375, 0.15283203125, 0.1707763671875, 0.1444091796875, 0.0916748046875, 0.19921875, 0.1944580078125, 0.012908935546875, 0.1505126953125, 0.1849365234375, 0.189208984375, 0.057281494140625, 0.1771240234375, 0.110107421875, 0.0860595703125, 0.01800537109375, 0....
embed
67130872_c0
67130872
fsharp
0
Title: Map from a list to another type - Is there a better way to do this? Problem title: Map from a list to another type - Is there a better way to do this? Tags: f%23 Problem: Map from a list to another type - Is there a better way to do this? let claimsList = [ {|cType = "uid"; cValue="1"|}; {|cType = "name"; cValue...
Map from a list to another type - Is there a better way to do this? Map from a list to another type - Is there a better way to do this? f%23 a Map sid1 N1.com Company1 List.tryFind c.cType Option.map c.cValue Map from a list to another type - Is there a better way to do this? I don't like the fact that I am iterating t...
[ -0.008544921875, 0.002105712890625, 0.01171875, 0.01287841796875, -0.00958251953125, -0.0220947265625, -0.01348876953125, 0.010986328125, 0.01153564453125, -0.0035552978515625, -0.0068359375, 0.0019989013671875, 0.019775390625, 0.01446533203125, -0.0084228515625, 0.010009765625, 0.00...
[ 42719, 1295, 10, 5303, 47, 15700, 10644, 2071, 2685, 11522, 3917, 54, 903, 32, 1238, 3949, 3742, 78, 418, 541, 277, 33734, 32036, 15123, 204582, 196707, 86769, 62346, 856, 50770, 2301, 18, 1884, 67, 98767, 48716, 20028, 33342, 96704, 1128...
[ 0.245849609375, 0.161865234375, 0.06231689453125, 0.2261962890625, 0.1710205078125, 0.12939453125, 0.232177734375, 0.035400390625, 0.04412841796875, 0.1429443359375, 0.09759521484375, 0.0770263671875, 0.10626220703125, 0.011138916015625, 0.0357666015625, 0.00103759765625, 0.064514160...
embed
38455592_c0
38455592
fsharp
0
Title: How to code a &quot;retry&quot; logic (with only 1 iteration) in F# without mutable vars? Problem title: How to code a &quot;retry&quot; logic (with only 1 iteration) in F# without mutable vars? Tags: refactoring, f%23 Problem: How to code a "retry" logic (with only 1 iteration) in F# without mutable vars? So by...
How to code a &quot;retry&quot; logic (with only 1 iteration) in F# without mutable vars? How to code a &quot;retry&quot; logic (with only 1 iteration) in F# without mutable vars? refactoring f%23 Console.Error How TryConnect ErrorConnecting SetupConnectionParameters Console.Error.WriteLine Setup Environment.Exit Succe...
[ -0.00994873046875, -0.01080322265625, 0.0184326171875, -0.0021514892578125, -0.00173187255859375, -0.00023746490478515625, -0.0111083984375, -0.0238037109375, 0.020751953125, -0.00732421875, 0.01544189453125, -0.01007080078125, -0.00159454345703125, -0.00531005859375, 0.0084228515625, ...
[ 11249, 18151, 107, 15123, 62775, 4734, 106, 17, 720, 563, 4904, 15490, 842, 22819, 285, 456, 144810, 1238, 3742, 40777, 31611, 40858, 235603, 212059, 19943, 18468, 93232, 19279, 144053, 169033, 156823, 23, 71864, 77336, 25632, 137043, 37202, ...
[ 0.0278778076171875, 0.1890869140625, 0.1207275390625, 0.295654296875, 0.205078125, 0.07293701171875, 0.11181640625, 0.017791748046875, 0.1827392578125, 0.106201171875, 0.1707763671875, 0.0955810546875, 0.0958251953125, 0.1239013671875, 0.14013671875, 0.1297607421875, 0.1326904296875,...
embed
26607496_c0
26607496
fsharp
0
Title: F# cast invalid Problem title: F# cast invalid Tags: f%23 Problem: F# cast invalid I have a method : member this.Get<'IAMSOMETHING when 'IAMSOMETHING : not struct>([<ParamArray>] parameters:obj[]) : 'IAMSOMETHING= if typeof<'IAMSOMETHING> = typeof<IProvideAbilities> then this._issues :?> 'IAMSOMETHING else raise...
F# cast invalid F# cast invalid f%23 System.NotImplementedException this.Get IAMSOMETHING ParamArray parameters:obj IProvideAbilities this._issues this.Issues F# cast invalid I have a method : this.Issues is a member. I have an error: How can I cast this.Issues to IAMSOMETHING ? Thanks a lot.
[ -0.00286865234375, 0.0025177001953125, 0.0235595703125, 0.00086212158203125, -0.0191650390625, -0.004058837890625, -0.023681640625, -0.018798828125, 0.002471923828125, 0.01611328125, 0.0206298828125, -0.0179443359375, -0.00170135498046875, 0.0201416015625, 0.00384521484375, -0.01843261...
[ 563, 4904, 37702, 56649, 1238, 3949, 3742, 12353, 122116, 128878, 19929, 63928, 903, 126, 87, 8922, 13055, 33677, 191226, 1720, 39, 7614, 7092, 171859, 3522, 170, 10752, 33193, 284, 7180, 2449, 174404, 54607, 55300, 5, 568, 90, 83, 10, 32...
[ 0.1776123046875, 0.20458984375, 0.2137451171875, 0.277587890625, 0.123046875, 0.02880859375, 0.1385498046875, 0.109130859375, 0.0726318359375, 0.1068115234375, 0.1793212890625, 0.1435546875, 0.1370849609375, 0.006439208984375, 0.122802734375, 0.1746826171875, 0.03314208984375, 0.07...
embed
21166801_c1
21166801
fsharp
1
it seems that measures cannot be added directly to externs: [<DllImport(@"C:\API\COMAPI.dll", EntryPoint="Foobar")>] extern int<APIV> _Foobar ( int<APIP> hPool, int<APIV> hServer ) error FS0010: Unexpected type application in extern declaration. Expected identifier or other token. So I am having to write a wrapper fun...
it seems that measures cannot be added directly to externs: [<DllImport(@"C:\API\COMAPI.dll", EntryPoint="Foobar")>] extern int<APIV> _Foobar ( int<APIP> hPool, int<APIV> hServer ) error FS0010: Unexpected type application in extern declaration. Expected identifier or other token. So I am having to write a wrapper fun...
[ 0.00130462646484375, 0.0027618408203125, -0.01806640625, -0.00168609619140625, -0.030029296875, 0.003936767578125, -0.00799560546875, -0.01953125, 0.0213623046875, -0.0322265625, -0.01007080078125, 0.00982666015625, 0.005889892578125, 0.01214599609375, 0.01708984375, -0.001686096191406...
[ 37202, 72350, 7, 53418, 49814, 105237, 47, 76714, 397, 1181, 61637, 6982, 74220, 16113, 357, 15123, 147534, 27591, 31, 1299, 23, 18, 856, 683, 1096, 7192, 929, 193348, 18499, 93774, 7049, 963, 992, 83613, 10644, 38415, 21635, 60075, 42485, ...
[ 0.002532958984375, 0.272216796875, 0.130126953125, 0.12255859375, 0.1865234375, 0.15234375, 0.1036376953125, 0.272216796875, 0.004058837890625, 0.164794921875, 0.1427001953125, 0.22119140625, 0.2227783203125, 0.0631103515625, 0.03900146484375, 0.176025390625, 0.18603515625, 0.08624...
embed
64376178_c0
64376178
fsharp
0
Title: How to take in a string or int when Parsing Excel File Cell with NPOI F# Problem title: How to take in a string or int when Parsing Excel File Cell with NPOI F# Tags: f%23 Problem: How to take in a string or int when Parsing Excel File Cell with NPOI F# I am trying to parse an excel file using F#. I am adding a ...
How to take in a string or int when Parsing Excel File Cell with NPOI F# How to take in a string or int when Parsing Excel File Cell with NPOI F# f%23 How Parsing Excel File Cell NPOI Value sheet2.GetCell NumericCellValue How to take in a string or int when Parsing Excel File Cell with NPOI F# I am trying to parse an e...
[ -0.0145263671875, -0.00145721435546875, 0.000896453857421875, 0.031982421875, 0.0137939453125, 0.00970458984375, -0.0023193359375, -0.00762939453125, -0.001190185546875, 0.0208740234375, -0.01190185546875, 0.007537841796875, -0.014404296875, 0.002197265625, 0.0203857421875, -0.00793457...
[ 11249, 5646, 23, 79315, 707, 18, 2392, 6953, 30326, 42724, 80743, 678, 28814, 56272, 563, 4904, 10, 1238, 3742, 190060, 155434, 441, 6796, 93511, 856, 50770, 366, 184, 64152, 11435, 154107, 34292, 17164, 21917, 257, 46505, 2046, 2886, 12301...
[ 0.037139892578125, 0.1312255859375, 0.1988525390625, 0.234130859375, 0.092529296875, 0.12353515625, 0.1575927734375, 0.0631103515625, 0.1917724609375, 0.1539306640625, 0.1923828125, 0.037841796875, 0.1280517578125, 0.2080078125, 0.0762939453125, 0.1494140625, 0.002716064453125, 0.0...
embed
34794103_c0
34794103
fsharp
0
Title: Is there a way to define new type parameters in type constraints with F#? Problem title: Is there a way to define new type parameters in type constraints with F#? Tags: type-constraints, f%23 Problem: Is there a way to define new type parameters in type constraints with F#? I can't seem to find a way to do somet...
Is there a way to define new type parameters in type constraints with F#? Is there a way to define new type parameters in type constraints with F#? type-constraints f%23 Instance Aggregate Aggregate.T State Event Failure CurrentState Is there a way to define new type parameters in type constraints with F#? I can't seem...
[ -0.0194091796875, -0.0120849609375, -0.0172119140625, -0.0142822265625, -0.0169677734375, -0.0208740234375, -0.01251220703125, 0.00994873046875, -0.0040283203125, -0.018798828125, -0.0206298828125, -0.0169677734375, 0.00360107421875, 0.0030517578125, -0.00107574462890625, -0.0035400390...
[ 3917, 61924, 3525, 10644, 171859, 7, 23, 158, 2816, 4288, 678, 563, 4904, 2271, 1238, 3742, 116071, 68722, 2182, 22836, 36943, 190355, 3408, 114063, 135206, 2685, 47, 28032, 13204, 9969, 1340, 13, 48322, 91084, 110527, 192134, 17647, 379 ]
[ 0.07281494140625, 0.2081298828125, 0.1607666015625, 0.2467041015625, 0.2386474609375, 0.0601806640625, 0.03192138671875, 0.105712890625, 0.17041015625, 0.1260986328125, 0.07354736328125, 0.1102294921875, 0.195068359375, 0.08984375, 0.015899658203125, 0.05609130859375, 0.1103515625, ...
embed
41555336_c0
41555336
fsharp
0
Title: F# 3.1: Why can&#x27;t I use pipe operators with explicitly generic member methods? Problem title: F# 3.1: Why can&#x27;t I use pipe operators with explicitly generic member methods? Tags: generics, f%23 Problem: F# 3.1: Why can't I use pipe operators with explicitly generic member methods? Given the following c...
F# 3.1: Why can&#x27;t I use pipe operators with explicitly generic member methods? F# 3.1: Why can&#x27;t I use pipe operators with explicitly generic member methods? generics f%23 Why MyDU Ops Some None FS0717 Unexpected Ops.myFn Works F# 3.1: Why can't I use pipe operators with explicitly generic member methods? Giv...
[ -0.002166748046875, 0.005859375, 0.0118408203125, -0.00909423828125, -0.0322265625, -0.01953125, -0.0062255859375, -0.0189208984375, 0.0205078125, -0.024169921875, 0.000949859619140625, 0.00010204315185546875, 0.0135498046875, -0.0068359375, 0.007110595703125, -0.01507568359375, 0.00...
[ 563, 4904, 45151, 44084, 831, 3768, 18, 4527, 137158, 39933, 143726, 189534, 32786, 150624, 7, 1238, 3742, 2646, 18431, 2331, 31384, 438, 93774, 8368, 2489, 992, 83613, 1176, 919, 19, 27985, 678, 70, 25632, 27489, 18499, 10644, 10750, 87, ...
[ 0.0701904296875, 0.1317138671875, 0.1715087890625, 0.116455078125, 0.0751953125, 0.04168701171875, 0.042266845703125, 0.1014404296875, 0.1939697265625, 0.2239990234375, 0.1295166015625, 0.2366943359375, 0.2069091796875, 0.1422119140625, 0.0183258056640625, 0.0220489501953125, 0.01774...
embed
69937989_c0
69937989
fsharp
0
Title: Implement a queue type in F# contains elements Problem title: Implement a queue type in F# contains elements Tags: types, f%23, queue Problem: Implement a queue type in F# contains elements I'm implement a queue in F# and works good inserting the elements. // Defines the Queue type as an algebraic data type. typ...
Implement a queue type in F# contains elements Implement a queue type in F# contains elements types f%23 queue Implement Defines Queue QueueList Returns hd::tl tl2 Implement a queue type in F# contains elements I'm implement a queue in F# and works good inserting the elements. I'm stuck trying to verify that if the que...
[ 0.0076904296875, 0.01129150390625, 0.0050048828125, 0.015625, -0.0166015625, -0.003143310546875, 0.00775146484375, -0.0234375, -0.021728515625, -0.003326416015625, 0.004913330078125, 0.006134033203125, 0.0059814453125, -0.0032806396484375, -0.0106201171875, 0.00946044921875, 0.005554...
[ 153941, 41, 13388, 10644, 23, 563, 4904, 70541, 7, 80854, 52895, 1238, 3949, 3742, 85535, 12741, 5813, 154663, 173340, 26488, 18, 141, 75137, 304, 29479, 43240, 4127, 183540, 70, 179933, 493, 450, 2174, 5303, 1556, 12830, 30646, 29568, 4263...
[ 0.2152099609375, 0.1881103515625, 0.2015380859375, 0.2149658203125, 0.0379638671875, 0.1495361328125, 0.21875, 0.159423828125, 0.0667724609375, 0.197998046875, 0.1878662109375, 0.088134765625, 0.00140380859375, 0.1343994140625, 0.1260986328125, 0.02978515625, 0.16162109375, 0.12744...
embed
38272732_c1
38272732
fsharp
1
Of1>..sample....</othersOf1></r1>""" let xml1 = XmlProvider<"""<r1><parameters><parameter name="token">1</parameter><parameter name="other">xxx</parameter></parameters><othersOf1>...</othersOf1></r1>""">.Parse(input1) let input2 = """<r2><parameters><parameter name="token">1</parameter><parameter name="other">xxx</para...
Of1>..sample....</othersOf1></r1>""" let xml1 = XmlProvider<"""<r1><parameters><parameter name="token">1</parameter><parameter name="other">xxx</parameter></parameters><othersOf1>...</othersOf1></r1>""">.Parse(input1) let input2 = """<r2><parameters><parameter name="token">1</parameter><parameter name="other">xxx</para...
[ 0.003204345703125, 0.0439453125, -0.00469970703125, 0.0028228759765625, -0.0034942626953125, -0.006195068359375, -0.00592041015625, 0.00141143798828125, 0.007232666015625, -0.024658203125, 0.01806640625, 0.00640869140625, -0.00897216796875, -0.01190185546875, 0.01446533203125, -0.01208...
[ 6619, 418, 2740, 433, 33209, 27, 126340, 132887, 42, 2633, 131492, 1193, 7237, 177997, 62160, 6276, 6448, 43883, 5, 28636, 184, 73, 7077, 17727, 107730, 304, 10461, 2046, 7763, 1098, 29089, 35042, 14858, 171859, 503, 864, 15123, 204582, 164...
[ 0.279541015625, 0.1337890625, 0.0047607421875, 0.1134033203125, 0.1943359375, 0.0165557861328125, 0.172607421875, 0.250244140625, 0.005584716796875, 0.0810546875, 0.29443359375, 0.113525390625, 0.23046875, 0.199951171875, 0.1680908203125, 0.07464599609375, 0.170166015625, 0.0756225...
embed
5786454_c0
5786454
fsharp
0
Title: F# take items from a sequence Problem title: F# take items from a sequence Tags: take, sequence, f%23 Problem: F# take items from a sequence Im trying to learn F# What I would like to do is download a webpage, split it into a sequence then find the index of an item and take the next 3 items after it. Heres the c...
F# take items from a sequence F# take items from a sequence take sequence f%23 System.Collections.Generic.KeyNotFoundException a www.stackoverflow.com page.Replace System.String.Empty Split StringSplitOptions.RemoveEmptyEntries Seq.findIndex Exception Seq.toList F# take items from a sequence Im trying to learn F# What ...
[ -0.00008153915405273438, 0.02880859375, -0.00106048583984375, 0.00567626953125, -0.003021240234375, 0.006866455078125, 0.005584716796875, 0.0123291015625, 0.00933837890625, -0.0306396484375, 0.0123291015625, -0.00186920166015625, 0.002716064453125, 0.01318359375, 0.0191650390625, -0.00...
[ 563, 4904, 5646, 55769, 1295, 40, 944, 3956, 1238, 3742, 12353, 78457, 8996, 5256, 135932, 12259, 162429, 122116, 27591, 7030, 19279, 63928, 590, 2594, 5465, 118664, 277, 9191, 23935, 71713, 134332, 46474, 23351, 4353, 39029, 432, 503, 864, ...
[ 0.1513671875, 0.229248046875, 0.1708984375, 0.207763671875, 0.1727294921875, 0.0860595703125, 0.1551513671875, 0.0292510986328125, 0.0853271484375, 0.112548828125, 0.07537841796875, 0.08172607421875, 0.125244140625, 0.0285186767578125, 0.11669921875, 0.0684814453125, 0.1239013671875,...
embed
7931088_c1
7931088
fsharp
1
"]) Criteria1_ID = unbox(reader.["Criteria1_ID"]) Criteria2_ID = unbox(reader.["Criteria2_ID"]) Criteria3_ID = unbox(reader.["Criteria3_ID"]) } } // Sequence transformation let UserBase = GetUsers |> Seq.toList // Creating the matrix let matrixUA = Matrix.ofList [ // Create list containing rows from the database for ro...
"]) Criteria1_ID = unbox(reader.["Criteria1_ID"]) Criteria2_ID = unbox(reader.["Criteria2_ID"]) Criteria3_ID = unbox(reader.["Criteria3_ID"]) } } // Sequence transformation let UserBase = GetUsers |> Seq.toList // Creating the matrix let matrixUA = Matrix.ofList [ // Create list containing rows from the database for ro...
[ 0.0277099609375, 0.00421142578125, 0.014404296875, 0.012451171875, 0.02197265625, -0.0189208984375, 0.007110595703125, 0.00592041015625, 0.0203857421875, -0.0228271484375, -0.0113525390625, -0.00150299072265625, -0.01019287109375, -0.0024871826171875, -0.015869140625, -0.018798828125, ...
[ 44, 268, 16, 26315, 26206, 418, 454, 7146, 2203, 51, 11728, 1283, 820, 416, 304, 363, 4666, 503, 944, 3956, 167201, 2633, 53400, 63473, 20779, 1062, 7, 1314, 864, 188, 154663, 56781, 1916, 50944, 425, 20004, 194234, 5, 4390, 151313, 530...
[ 0.1641845703125, 0.1727294921875, 0.055908203125, 0.218994140625, 0.2413330078125, 0.1202392578125, 0.05316162109375, 0.2254638671875, 0.058135986328125, 0.0616455078125, 0.168701171875, 0.131591796875, 0.0838623046875, 0.1239013671875, 0.08184814453125, 0.178955078125, 0.00967407226...
embed
66249477_c0
66249477
fsharp
0
Title: F# how to structure a Linq query for master detail data? Problem title: F# how to structure a Linq query for master detail data? Tags: f%23 Problem: F# how to structure a Linq query for master detail data? I am using SQLProvider to get data from SQL Server. My query is shown below. The problem is that it gives m...
F# how to structure a Linq query for master detail data? F# how to structure a Linq query for master detail data? f%23 Linq ctx.Dbo.Orders dbo.OrderDetails Seq.map o.MapTo Order od.MapTo OrderDetail Seq.toList F# how to structure a Linq query for master detail data? I am using SQLProvider to get data from SQL Server. M...
[ 0.03125, 0.0277099609375, -0.0034637451171875, -0.0067138671875, -0.00836181640625, 0.0155029296875, 0.00872802734375, -0.006195068359375, 0.010986328125, -0.04248046875, -0.0029296875, -0.0009765625, 0.01104736328125, 0.008544921875, -0.018310546875, 0.0032806396484375, -0.026245117...
[ 563, 4904, 3642, 45646, 339, 44982, 41, 1294, 100, 31347, 22443, 2053, 1238, 3742, 425, 837, 143045, 4657, 46741, 62346, 36, 166179, 7763, 81206, 229, 864, 188, 154663, 17368, 80866, 177997, 62160, 2046, 1295, 22687, 127887, 35064, 2967, 76...
[ 0.10369873046875, 0.1761474609375, 0.05230712890625, 0.2371826171875, 0.091064453125, 0.241455078125, 0.1488037109375, 0.150390625, 0.04840087890625, 0.1539306640625, 0.2176513671875, 0.1024169921875, 0.06396484375, 0.07904052734375, 0.07000732421875, 0.10693359375, 0.166015625, 0....
embed
5189192_c0
5189192
fsharp
0
Title: Implementing Indexer in F# Problem title: Implementing Indexer in F# Tags: f%23, matrix, indexer Problem: Implementing Indexer in F# I am trying to convert this C# code to F#: double[,] matrix; public Matrix(int rows, int cols) { this.matrix = new double[rows, cols]; } public double this[int row, int col] { get ...
Implementing Indexer in F# Implementing Indexer in F# f%23 matrix indexer Implementing Indexer Matrix this.matrix Implementing Indexer in F# I am trying to convert this C# code to F#: Basically my biggest problem is creating the indexer in F#. I couldn't find anything that I could apply in this situation anywhere on th...
[ 0.00457763671875, 0.00775146484375, 0.02783203125, 0.0020904541015625, 0.0091552734375, -0.0213623046875, -0.000396728515625, -0.01019287109375, 0.0027313232421875, -0.0078125, -0.006988525390625, 0.000021219253540039062, -0.01031494140625, -0.0146484375, -0.0203857421875, 0.0015029907...
[ 153941, 31471, 56, 23, 563, 4904, 214, 1238, 3949, 3742, 50944, 425, 63262, 194234, 903, 192, 87427, 31577, 96760, 313, 18151, 47, 129058, 2967, 105233, 69427, 7413, 23937, 59911, 1467, 99201, 63920, 18507, 49504, 3934, 10644, 162520, 35166, ...
[ 0.230712890625, 0.2705078125, 0.2030029296875, 0.066650390625, 0.16943359375, 0.2440185546875, 0.011962890625, 0.1151123046875, 0.052886962890625, 0.1658935546875, 0.150634765625, 0.0565185546875, 0.2425537109375, 0.214599609375, 0.161865234375, 0.0789794921875, 0.1373291015625, 0....
embed
60746879_c0
60746879
fsharp
0
Title: F#: writing a function for maxCubeVolume? Problem title: F#: writing a function for maxCubeVolume? Tags: f%23, f%23-interactive Problem: F#: writing a function for maxCubeVolume? I'm working on a homework assignment and need to write a function in F# that takes a list of floating point tuples that represent dime...
F#: writing a function for maxCubeVolume? F#: writing a function for maxCubeVolume? f%23 f%23-interactive List.map F#: writing a function for maxCubeVolume? I'm working on a homework assignment and need to write a function in F# that takes a list of floating point tuples that represent dimensions of a cube (length, wid...
[ 0.0072021484375, 0.00726318359375, 0.00872802734375, 0.0263671875, 0.01422119140625, 0.00836181640625, 0.00970458984375, 0.01483154296875, 0.0302734375, 0.0021514892578125, 0.014404296875, 0.0098876953125, 0.0089111328125, -0.00775146484375, -0.004119873046875, -0.0174560546875, 0.00...
[ 563, 4904, 12, 32562, 32354, 18389, 33177, 372, 73668, 15537, 1238, 3742, 27495, 10433, 71232, 32036, 62346, 100, 20697, 5368, 18244, 95486, 3871, 33022, 51776, 5303, 21917, 26518, 6275, 370, 99726, 33636, 158208, 314, 23986, 146984, 155955, ...
[ 0.146240234375, 0.2236328125, 0.0162200927734375, 0.1329345703125, 0.1954345703125, 0.2083740234375, 0.1888427734375, 0.1441650390625, 0.2281494140625, 0.184814453125, 0.0716552734375, 0.05511474609375, 0.040771484375, 0.054351806640625, 0.031982421875, 0.154296875, 0.1243896484375, ...
embed
2855735_c0
2855735
fsharp
0
Title: F#: Can&#x27;t hide a type abbreviation in a signature? Why not? Problem title: F#: Can&#x27;t hide a type abbreviation in a signature? Why not? Tags: f%23 Problem: F#: Can't hide a type abbreviation in a signature? Why not? In F#, I'd like to have what I see as a fairly standard Abstract Datatype: // in ADT.fsi...
F#: Can&#x27;t hide a type abbreviation in a signature? Why not? F#: Can&#x27;t hide a type abbreviation in a signature? Why not? f%23 Can Why ADT.fsi ADT my_Type ADT.fs F#: Can't hide a type abbreviation in a signature? Why not? In F#, I'd like to have what I see as a fairly standard Abstract Datatype: In other words,...
[ -0.0093994140625, 0.01495361328125, 0.0028076171875, 0.0093994140625, -0.0120849609375, -0.00860595703125, 0.01043701171875, 0.009765625, -0.0032958984375, 0.009033203125, 0.00506591796875, -0.006439208984375, -0.0036468505859375, 0.01055908203125, 0.000614166259765625, -0.018920898437...
[ 563, 4904, 4171, 3768, 18, 1274, 112, 10644, 1563, 105160, 14, 2320, 23, 138256, 44084, 959, 1238, 3742, 62, 41072, 420, 172, 759, 196707, 17447, 10, 1884, 1957, 180663, 5570, 233973, 11809, 50986, 18151, 46132, 88996, 93002, 83, 1284, 50...
[ 0.1341552734375, 0.214599609375, 0.09228515625, 0.035369873046875, 0.07611083984375, 0.1678466796875, 0.123779296875, 0.234130859375, 0.08477783203125, 0.1865234375, 0.0892333984375, 0.0249481201171875, 0.0626220703125, 0.20947265625, 0.0655517578125, 0.06317138671875, 0.035949707031...
embed
9216902_c0
9216902
fsharp
0
Title: F# pattern matching in function signature Problem title: F# pattern matching in function signature Tags: pattern-matching, f%23 Problem: F# pattern matching in function signature Why doesn't this work? type RetryBuilder(max) = member x.Return(a) = a // Enable 'return' member x.Delay(f) = f // Gets wrapped body a...
F# pattern matching in function signature F# pattern matching in function signature pattern-matching f%23 RetryBuilder x.Return Enable x.Delay Gets Run x.Zero Zero Support x.Run Delay Some n-1 None F# pattern matching in function signature Why doesn't this work? It says 'incomplete pattern matches on this expression. F...
[ -0.01361083984375, -0.0057373046875, 0.00927734375, -0.019775390625, -0.000797271728515625, 0.006317138671875, -0.00830078125, -0.0032806396484375, 0.010986328125, -0.0184326171875, 0.0189208984375, 0.01031494140625, -0.011962890625, -0.01300048828125, 0.0361328125, -0.02099609375, -...
[ 563, 4904, 103510, 14858, 214, 32354, 138256, 98753, 1238, 3742, 853, 15123, 121137, 56, 1022, 987, 2886, 4657, 5259, 28398, 4036, 83947, 58832, 163321, 262, 5759, 438, 23, 44084, 22027, 18, 903, 4488, 73, 277, 131801, 90, 98, 125195, 70,...
[ 0.141357421875, 0.192138671875, 0.2237548828125, 0.19775390625, 0.06646728515625, 0.1552734375, 0.192626953125, 0.1844482421875, 0.07135009765625, 0.1168212890625, 0.07574462890625, 0.17041015625, 0.125244140625, 0.013427734375, 0.0440673828125, 0.0748291015625, 0.0709228515625, 0....
embed
73990203_c0
73990203
fsharp
0
Title: How to make a dynamic FFI in .NET? Problem title: How to make a dynamic FFI in .NET? Tags: ffi, f%23, dynamic, .net Problem: How to make a dynamic FFI in .NET? I am building a small interpreter, in F# and in order to make it more useful I would like to be able to add as a feature the possibility to call foreign ...
How to make a dynamic FFI in .NET? How to make a dynamic FFI in .NET? ffi f%23 dynamic .net How FFI NET How to make a dynamic FFI in .NET? I am building a small interpreter, in F# and in order to make it more useful I would like to be able to add as a feature the possibility to call foreign functions (from C probably)....
[ 0.01263427734375, 0.0026092529296875, 0.0123291015625, 0.0115966796875, -0.0027923583984375, -0.01531982421875, 0.0026702880859375, 0.0167236328125, -0.00811767578125, -0.027099609375, 0.00677490234375, -0.0159912109375, -0.013427734375, 0.0135498046875, 0.01422119140625, -0.0089721679...
[ 11249, 47, 3249, 10, 84079, 563, 22724, 23, 5, 17777, 24500, 1238, 3742, 1179, 33976, 19336, 29481, 56, 4904, 1286, 80234, 1884, 19048, 15190, 60213, 207116, 11782, 110613, 32354, 161063, 313, 31895, 16487, 3444, 3917, 1295, 25474, 59121, 4...
[ 0.09912109375, 0.0419921875, 0.116943359375, 0.05255126953125, 0.25244140625, 0.129638671875, 0.2734375, 0.08990478515625, 0.0836181640625, 0.2239990234375, 0.2412109375, 0.084228515625, 0.1190185546875, 0.1915283203125, 0.07489013671875, 0.0743408203125, 0.173828125, 0.07971191406...
embed
17478781_c0
17478781
fsharp
0
Title: passing record / class labels as parameters Problem title: passing record / class labels as parameters Tags: f%23, parameters, parameter-passing, label Problem: passing record / class labels as parameters Is it possible to pass a record or class label as a parameter to a function? I am not sure that is the best ...
passing record / class labels as parameters passing record / class labels as parameters f%23 parameters parameter-passing label i.a filter1 List List.filter i.b passing record / class labels as parameters Is it possible to pass a record or class label as a parameter to a function? I am not sure that is the best way to ...
[ -0.01708984375, -0.0106201171875, -0.00811767578125, -0.0029296875, -0.00494384765625, -0.021728515625, -0.0108642578125, 0.0130615234375, 0.00665283203125, -0.016357421875, 0.011962890625, -0.01373291015625, 0.005523681640625, -0.00286865234375, 0, -0.036376953125, 0.0174560546875, ...
[ 452, 6953, 17164, 248, 18507, 67967, 7, 237, 171859, 1238, 3949, 3742, 13409, 17, 5, 11, 46312, 418, 32036, 120337, 275, 2071, 442, 7722, 47, 27875, 10, 707, 32354, 98363, 2967, 58755, 27781, 7941, 40899, 5303, 105950, 81, 3249, 10434, ...
[ 0.1199951171875, 0.05389404296875, 0.25146484375, 0.07867431640625, 0.2034912109375, 0.274658203125, 0.02203369140625, 0.1280517578125, 0.263427734375, 0.095458984375, 0.038330078125, 0.117919921875, 0.12158203125, 0.106201171875, 0.06982421875, 0.1448974609375, 0.2142333984375, 0....
embed
52748117_c0
52748117
fsharp
0
Title: F# Pattern Matching on Generic Parameter Problem title: F# Pattern Matching on Generic Parameter Tags: f%23, generics, pattern-matching Problem: F# Pattern Matching on Generic Parameter I have a strange one here. I am wanting to match on the type of the generic parameter. Here is what I have so far: open System....
F# Pattern Matching on Generic Parameter F# Pattern Matching on Generic Parameter f%23 generics pattern-matching Pattern Matching Generic Parameter System.Reflection Chicken Size Name Didn F# Pattern Matching on Generic Parameter I have a strange one here. I am wanting to match on the type of the generic parameter. Her...
[ -0.03271484375, 0.009765625, 0.00506591796875, -0.028076171875, -0.0022125244140625, -0.0257568359375, -0.0306396484375, 0.00787353515625, 0.005889892578125, -0.0128173828125, 0.02392578125, -0.020751953125, -0.00811767578125, -0.02099609375, 0.019775390625, -0.01043701171875, -0.001...
[ 563, 4904, 9876, 22766, 67407, 214, 98, 88342, 1771, 1720, 29089, 1238, 3949, 3742, 189534, 103510, 98753, 12353, 190015, 133, 197527, 80378, 15757, 114453, 3688, 3444, 47, 14858, 10644, 171859, 2060, 78, 12097, 25, 618, 2740, 32354, 5646, ...
[ 0.122802734375, 0.2171630859375, 0.164794921875, 0.1597900390625, 0.22119140625, 0.098876953125, 0.0716552734375, 0.172119140625, 0.089599609375, 0.1143798828125, 0.141357421875, 0.080078125, 0.013580322265625, 0.1099853515625, 0.21826171875, 0.19580078125, 0.2037353515625, 0.09301...
embed
44565660_c0
44565660
fsharp
0
Title: F# XML multiline documentation, Visual Studio 2017 Problem title: F# XML multiline documentation, Visual Studio 2017 Tags: f%23, visual-studio, xml Problem: F# XML multiline documentation, Visual Studio 2017 I would like to add a multi-line XML documentation that will appear in the Intelli-Sense bubble when my m...
F# XML multiline documentation, Visual Studio 2017 F# XML multiline documentation, Visual Studio 2017 f%23 visual-studio xml XML Visual Studio EXAMPLE3 EXAMPLE4 EXAMPLE5 EXAMPLE6 F# XML multiline documentation, Visual Studio 2017 I would like to add a multi-line XML documentation that will appear in the Intelli-Sense b...
[ 0.0087890625, 0.01434326171875, -0.00872802734375, -0.0004558563232421875, -0.01361083984375, 0.01446533203125, -0.006988525390625, -0.0042724609375, -0.005340576171875, 0.0274658203125, 0.01068115234375, -0.005889892578125, 0.0020294189453125, 0.00738525390625, 0.003387451171875, -0.0...
[ 563, 4904, 92537, 6024, 2256, 209806, 73372, 22968, 505, 1238, 3949, 3742, 21176, 52629, 131492, 8922, 363, 910, 2806, 1884, 15190, 1221, 108975, 24018, 150, 294, 21161, 373, 73163, 3229, 759, 114669, 739, 814, 645, 17368, 24635, 25632, 181...
[ 0.1341552734375, 0.2281494140625, 0.260498046875, 0.18115234375, 0.20654296875, 0.278076171875, 0.1866455078125, 0.179443359375, 0.2039794921875, 0.062225341796875, 0.010528564453125, 0.1134033203125, 0.138916015625, 0.1224365234375, 0.1959228515625, 0.043304443359375, 0.050445556640...
embed
31967126_c0
31967126
fsharp
0
Title: F# and resulting type would be infinite error Problem title: F# and resulting type would be infinite error Tags: f%23, .net Problem: F# and resulting type would be infinite error I have the following recursive function : let rec ComputePath v items = match v with | x when x <> source -> ComputePath edgeTo.[x] x:...
F# and resulting type would be infinite error F# and resulting type would be infinite error f%23 .net ComputePath x::items s::items Some F# and resulting type would be infinite error I have the following recursive function : In the third line wherein I am calling the recursive function, I am getting the following error...
[ 0.001739501953125, -0.007110595703125, 0.0159912109375, 0.0186767578125, -0.00015163421630859375, -0.0087890625, -0.016357421875, -0.001190185546875, 0.00396728515625, -0.023681640625, 0.0263671875, 0.0027618408203125, 0.0113525390625, 0.016845703125, 0.029541015625, 0.006103515625, ...
[ 563, 4904, 136, 16750, 214, 10644, 2806, 54241, 18499, 186, 13, 1238, 3742, 1179, 159415, 683, 10519, 1022, 1486, 25632, 195625, 5844, 32354, 50960, 13315, 159029, 60457, 1239, 98753, 126684, 3229, 51, 151138, 10, 25, 5303, 15549, 55300, 17...
[ 0.109375, 0.181640625, 0.095703125, 0.1258544921875, 0.064697265625, 0.1971435546875, 0.0955810546875, 0.145751953125, 0.1693115234375, 0.04376220703125, 0.04046630859375, 0.0411376953125, 0.0960693359375, 0.1009521484375, 0.07440185546875, 0.0260162353515625, 0.1236572265625, 0.00...
embed
4216976_c0
4216976
fsharp
0
Title: How to make my function generic Problem title: How to make my function generic Tags: f%23, generics, value-restriction Problem: How to make my function generic let csvList startDelim endDelim lst memF = let listIter (listStr: string) item = if listStr.Length > 0 then listStr + "," + (memF item) else memF item st...
How to make my function generic How to make my function generic f%23 generics value-restriction How listStr.Length List.fold item:int item.ToString item:SomeObject item.value.ToString How to make my function generic I can't seem to find the magic sauce to make the csvList or its partially applied helpers listIntoJsonAr...
[ -0.016845703125, -0.002777099609375, 0.0191650390625, 0.01116943359375, 0.003936767578125, 0.0031280517578125, -0.013916015625, 0.027587890625, 0.01025390625, -0.0023651123046875, -0.01361083984375, -0.037109375, 0.01446533203125, -0.004852294921875, 0.003997802734375, -0.0068359375, ...
[ 11249, 47, 3249, 759, 32354, 189534, 1238, 3949, 3742, 7, 34292, 107, 7655, 10763, 5303, 71713, 449, 927, 32036, 42822, 35735, 4288, 7763, 214, 46471, 75161, 27494, 13, 7413, 49846, 139910, 20763, 334, 154663, 2878, 190659, 4358, 1314, 4153...
[ 0.08331298828125, 0.04461669921875, 0.157958984375, 0.10137939453125, 0.22216796875, 0.310546875, 0.06201171875, 0.0672607421875, 0.16552734375, 0.017822265625, 0.1953125, 0.10009765625, 0.19921875, 0.089111328125, 0.1646728515625, 0.1822509765625, 0.054412841796875, 0.006408691406...
embed