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
10468188_c0
10468188
fsharp
0
Title: How do I declare circular dependant abstract Classes in F# Problem title: How do I declare circular dependant abstract Classes in F# Tags: abstract-class, circular-dependency, circular-reference, f%23, .net Problem: How do I declare circular dependant abstract Classes in F# Consider the two abstract classes alph...
How do I declare circular dependant abstract Classes in F# How do I declare circular dependant abstract Classes in F# abstract-class circular-dependency circular-reference f%23 .net How Classes AbstractClass FS0010 Unexpected FS0365 beta.bar How do I declare circular dependant abstract Classes in F# Consider the two ab...
[ 0.024658203125, -0.001312255859375, -0.00836181640625, 0.00799560546875, 0.00173187255859375, -0.0048828125, -0.004730224609375, 0.0064697265625, -0.00099945068359375, 0.0035858154296875, 0.0023345947265625, 0.00628662109375, -0.0068359375, 0.0302734375, 0.0264892578125, -0.01489257812...
[ 11249, 87, 159978, 115339, 56566, 1236, 164789, 35014, 90, 23, 563, 4904, 67413, 105254, 33, 239879, 1238, 3742, 1179, 233973, 140803, 93774, 7049, 963, 83613, 34131, 51703, 1299, 6626, 61112, 144, 14612, 136, 9790, 9969, 1340, 18499, 13315, ...
[ 0.05682373046875, 0.02423095703125, 0.1920166015625, 0.2235107421875, 0.178955078125, 0.0494384765625, 0.2333984375, 0.2178955078125, 0.02191162109375, 0.03924560546875, 0.11962890625, 0.22021484375, 0.153076171875, 0.1849365234375, 0.060302734375, 0.148193359375, 0.053955078125, 0...
embed
54734055_c0
54734055
fsharp
0
Title: Casting a dynamic type in C# to F# Problem title: Casting a dynamic type in C# to F# Tags: auth0, f%23 Problem: Casting a dynamic type in C# to F# I am working through Auth0's documentation here and porting the C# code to F# In the C# code, there is this line: var auth0LoginResult = await _auth0Client.LoginAsync...
Casting a dynamic type in C# to F# Casting a dynamic type in C# to F# auth0 f%23 Casting auth0LoginResult _auth0Client.LoginAsync AuthenticationConfig.Audience Support.authenticationConfig.Audience client.LoginAsync Result auth0 Casting a dynamic type in C# to F# I am working through Auth0's documentation here and port...
[ 0.009033203125, 0.0032501220703125, 0.015625, 0.00836181640625, 0.0037689208984375, -0.0303955078125, -0.007720947265625, 0.01495361328125, 0.000949859619140625, -0.01495361328125, -0.004730224609375, -0.02392578125, -0.002899169921875, -0.0020599365234375, 0.005767822265625, -0.008483...
[ 32301, 84079, 10644, 313, 4904, 47, 563, 531, 927, 2389, 1238, 3742, 113972, 73, 7, 7136, 916, 150, 2517, 12654, 52236, 63250, 83671, 119516, 6620, 58832, 5, 1003, 23282, 126684, 5655, 209806, 196, 18151, 13315, 122986, 284, 238, 171859, ...
[ 0.182861328125, 0.2406005859375, 0.251220703125, 0.087890625, 0.22412109375, 0.148681640625, 0.1661376953125, 0.09613037109375, 0.08172607421875, 0.1297607421875, 0.008575439453125, 0.09246826171875, 0.0557861328125, 0.0679931640625, 0.011749267578125, 0.08642578125, 0.013916015625, ...
embed
28025698_c0
28025698
fsharp
0
Title: Performance of different implementations of mapping two lists/arrays to a single list/array Problem title: Performance of different implementations of mapping two lists/arrays to a single list/array Tags: f%23 Problem: Performance of different implementations of mapping two lists/arrays to a single list/array Th...
Performance of different implementations of mapping two lists/arrays to a single list/array Performance of different implementations of mapping two lists/arrays to a single list/array f%23 Performance avg1 avg2 List.zip List.map List.map2 List Array Performance of different implementations of mapping two lists/arrays t...
[ 0.007415771484375, 0.0174560546875, 0.0020294189453125, 0.0087890625, -0.003143310546875, -0.00408935546875, -0.00124359130859375, -0.006927490234375, 0.01446533203125, -0.007415771484375, 0.004638671875, 0.0185546875, -0.006195068359375, 0.0181884765625, -0.00653076171875, -0.00029373...
[ 94030, 12921, 208124, 7, 291, 26783, 6626, 5303, 19305, 47, 11001, 4778, 3742, 185, 177, 418, 304, 32036, 50836, 62346, 69253, 17262, 876, 501, 5701, 16750, 83324, 2965, 38352, 6183, 31943, 6827, 20653, 27489, 370, 8705, 80854, 96, 136, 9...
[ 0.2099609375, 0.1868896484375, 0.21533203125, 0.049407958984375, 0.2186279296875, 0.1527099609375, 0.175537109375, 0.26171875, 0.1531982421875, 0.099609375, 0.1529541015625, 0.033355712890625, 0.0230560302734375, 0.1171875, 0.02386474609375, 0.051788330078125, 0.1182861328125, 0.21...
embed
47032226_c0
47032226
fsharp
0
Title: Functional digits reversion Problem title: Functional digits reversion Tags: f%23 Problem: Functional digits reversion In C, I would solve the problem with a loop. To represent the idea, something like: void foo(int x){ while(x > 0){ printf("%d", x % 10); x /= 10; } } With F#, I am unable to make the function re...
Functional digits reversion Functional digits reversion f%23 Functional aux2 reverse2 Functional digits reversion In C, I would solve the problem with a loop. To represent the idea, something like: With F#, I am unable to make the function return the single values. I tried: but it returns always the base case 0 . I can...
[ -0.0257568359375, -0.0003108978271484375, 0.0096435546875, 0.0025787353515625, -0.00909423828125, 0.007049560546875, 0.0137939453125, 0.009033203125, 0.0208740234375, -0.031005859375, -0.00909423828125, -0.0037841796875, -0.004302978515625, 0.0096435546875, 0.0208740234375, 0.001136779...
[ 28670, 10763, 289, 153939, 456, 46354, 1238, 3949, 3742, 2970, 304, 39531, 184, 7, 360, 313, 2806, 86869, 2967, 678, 40956, 33636, 6528, 17106, 563, 4904, 51, 2886, 3249, 32354, 30646, 11001, 142424, 37842, 1284, 11343, 3647, 7225, 757, 5...
[ 0.163330078125, 0.1414794921875, 0.013397216796875, 0.21533203125, 0.140869140625, 0.241943359375, 0.0919189453125, 0.0672607421875, 0.1568603515625, 0.174560546875, 0.1119384765625, 0.197998046875, 0.085205078125, 0.02117919921875, 0.006500244140625, 0.1351318359375, 0.0400085449218...
embed
8377216_c0
8377216
fsharp
0
Title: filling a List&lt;List&lt;&gt;&gt; with f# Problem title: filling a List&lt;List&lt;&gt;&gt; with f# Tags: list, f%23 Problem: filling a List > with f# I need a function that returns a List < List < T>>. The value i j should be 1.0 or 2.0 or nothing..depending on certain conditions (condition_1_is_true ...). I'v...
filling a List&lt;List&lt;&gt;&gt; with f# filling a List&lt;List&lt;&gt;&gt; with f# list f%23 List float32 level_1_docked_balls LineNumber BallsPerLine condition_1_is_true condition_2_is_true HERE filling a List > with f# I need a function that returns a List < List < T>>. The value i j should be 1.0 or 2.0 or nothin...
[ 0.00107574462890625, 0.00958251953125, -0.0011749267578125, -0.012451171875, 0.00439453125, 0.000743865966796875, 0.021240234375, -0.006866455078125, 0.003997802734375, 0.041259765625, 0.00157928466796875, 0.007354736328125, 0.01373291015625, -0.00689697265625, -0.00872802734375, 0.015...
[ 26292, 32036, 1277, 154663, 5386, 678, 1238, 4904, 5303, 3742, 21917, 6460, 17366, 246, 76622, 12126, 16777, 21786, 15277, 93232, 35431, 115187, 164, 9774, 304, 65791, 214, 3871, 32354, 30646, 384, 34292, 17, 1647, 5608, 53855, 707, 16655, ...
[ 0.1751708984375, 0.2342529296875, 0.011962890625, 0.192138671875, 0.0311279296875, 0.064697265625, 0.1239013671875, 0.1920166015625, 0.1802978515625, 0.1221923828125, 0.1051025390625, 0.1181640625, 0.156982421875, 0.034423828125, 0.06964111328125, 0.141845703125, 0.1170654296875, 0...
embed
4291443_c1
4291443
fsharp
1
user interface to display the current data (for example a matrix) and a different part to display and control the simulator, with some buttons like "run", "stop", "reset" etc. Since the simulator might also be stopped by other means than just clicking a button (for example, after reaching some specific state, generati...
user interface to display the current data (for example a matrix) and a different part to display and control the simulator, with some buttons like "run", "stop", "reset" etc. Since the simulator might also be stopped by other means than just clicking a button (for example, after reaching some specific state, generati...
[ 0.004119873046875, 0.0191650390625, -0.003143310546875, 0.0113525390625, -0.000072479248046875, 0.01470947265625, 0.01409912109375, -0.004791259765625, 0.0147705078125, -0.030029296875, 0.0081787109375, -0.003631591796875, -0.006591796875, 0.010498046875, 0.01446533203125, 0.0043029785...
[ 38937, 101758, 44116, 43581, 2053, 27781, 50944, 425, 136, 12921, 2831, 6226, 40226, 1290, 77679, 16428, 19111, 2109, 126, 13648, 118066, 18158, 7103, 58359, 11341, 58093, 27117, 114419, 1295, 959, 7722, 3249, 42486, 33022, 22046, 2661, 73197, ...
[ 0.1876220703125, 0.275634765625, 0.150390625, 0.1256103515625, 0.15478515625, 0.0108642578125, 0.1094970703125, 0.033843994140625, 0.011932373046875, 0.06298828125, 0.0732421875, 0.1910400390625, 0.2890625, 0.1861572265625, 0.1904296875, 0.1258544921875, 0.15185546875, 0.0723266601...
embed
46959519_c0
46959519
fsharp
0
Title: Recursion with two results Problem title: Recursion with two results Tags: recursion, f%23 Problem: Recursion with two results I have built a function that recursively calculate the progressive powers of two, up to a certain value n . let rec aux_pow = fun e n -> match n with | n -> 1 # I tried with e, but clear...
Recursion with two results Recursion with two results recursion f%23 Recursion aux_pow Recursion with two results I have built a function that recursively calculate the progressive powers of two, up to a certain value n . The function will return an integer (2, 4, 8, 16 ... n), that can be used by other functions as pa...
[ -0.002227783203125, -0.01116943359375, 0.00543212890625, 0.0091552734375, 0.00787353515625, 0.0272216796875, -0.026611328125, -0.010498046875, 0.0189208984375, -0.0223388671875, 0.007354736328125, -0.01214599609375, -0.0091552734375, 0.02587890625, 0.0211181640625, 0.004730224609375, ...
[ 165428, 42, 6889, 678, 6626, 50339, 195625, 1830, 1238, 3949, 3742, 2970, 771, 434, 88303, 32354, 5844, 74481, 67, 161838, 14537, 7, 111, 1257, 24233, 34292, 653, 30646, 892, 1505, 201, 382, 611, 831, 11814, 171859, 71975, 16487, 3917, 28...
[ 0.188720703125, 0.1973876953125, 0.144775390625, 0.1131591796875, 0.20654296875, 0.25634765625, 0.236083984375, 0.15185546875, 0.080078125, 0.0634765625, 0.1697998046875, 0.2064208984375, 0.1004638671875, 0.1834716796875, 0.12158203125, 0.1876220703125, 0.134033203125, 0.1662597656...
embed
25777592_c0
25777592
fsharp
0
Title: Avoid mutation in this example in F# Problem title: Avoid mutation in this example in F# Tags: f%23, functional-programming, mutation Problem: Avoid mutation in this example in F# Coming from an OO background, I am having trouble wrapping my head around how to solve simple issues with FP when trying to avoid mut...
Avoid mutation in this example in F# Avoid mutation in this example in F# f%23 functional-programming mutation Avoid player1List Console.ReadLine player1List.Length Avoid mutation in this example in F# Coming from an OO background, I am having trouble wrapping my head around how to solve simple issues with FP when tryi...
[ -0.00982666015625, 0.0029449462890625, 0.0093994140625, -0.00396728515625, 0.0019378662109375, 0.010498046875, -0.0087890625, 0.01373291015625, 0.00579833984375, -0.0186767578125, 0.046875, 0.014404296875, 0.0033416748046875, 0.0181884765625, 0.00836181640625, -0.007598876953125, 0.0...
[ 84361, 532, 199334, 903, 27781, 563, 4904, 1238, 3949, 3742, 123309, 28966, 58585, 418, 154663, 40777, 31345, 93232, 449, 30563, 76615, 63134, 86869, 8781, 37348, 678, 51006, 31577, 71864, 442, 3664, 4527, 25550, 237, 114977, 7639, 142, 64, ...
[ 0.1929931640625, 0.1033935546875, 0.264404296875, 0.02642822265625, 0.1954345703125, 0.131591796875, 0.222412109375, 0.080810546875, 0.030181884765625, 0.1220703125, 0.1500244140625, 0.111083984375, 0.2176513671875, 0.05389404296875, 0.1890869140625, 0.09808349609375, 0.1295166015625...
embed
79102114_c1
79102114
fsharp
1
.optional "b" Decode.string) let ready_json = "{}" let not_ready_json = """{"a": 1, "b": "hello"}""" let unexpected_json = """{"b":"not suppored to happen"}""" ready_json |> Decode.fromString Status.decoder |> printfn "ready result:%A" not_ready_json |> Decode.fromString Status.decoder |> printfn "not ready result:%A" ...
.optional "b" Decode.string) let ready_json = "{}" let not_ready_json = """{"a": 1, "b": "hello"}""" let unexpected_json = """{"b":"not suppored to happen"}""" ready_json |> Decode.fromString Status.decoder |> printfn "ready result:%A" not_ready_json |> Decode.fromString Status.decoder |> printfn "not ready result:%A" ...
[ -0.0233154296875, 0.0299072265625, 0.018310546875, 0.01483154296875, -0.010986328125, -0.004364013671875, -0.00689697265625, -0.03857421875, 0.0032958984375, 0.050537109375, -0.004608154296875, 0.001922607421875, 0.0074462890625, 0.0103759765625, 0.012451171875, 0.00074005126953125, ...
[ 5, 109585, 289, 275, 262, 40899, 91693, 2633, 43542, 170, 1681, 2203, 959, 1283, 1459, 11, 106, 13817, 241957, 10869, 15811, 81802, 47, 53383, 161063, 71713, 56504, 50718, 28412, 14783, 16750, 309, 83613, 284, 2967, 1647, 7464, 8, 4764, 5...
[ 0.049224853515625, 0.2294921875, 0.1192626953125, 0.1597900390625, 0.1749267578125, 0.232177734375, 0.146240234375, 0.0592041015625, 0.25, 0.1417236328125, 0.224609375, 0.03076171875, 0.1651611328125, 0.138916015625, 0.144775390625, 0.0687255859375, 0.045318603515625, 0.20336914062...
embed
39650831_c0
39650831
fsharp
0
Title: F#: Returning a Union Type From a Function Problem title: F#: Returning a Union Type From a Function Tags: f%23 Problem: F#: Returning a Union Type From a Function Given the following working code. type Square = { Foo : int } type Circle = { Bar : int } type Shape = | Square of Square | Circle of Circle let Test...
F#: Returning a Union Type From a Function F#: Returning a Union Type From a Function f%23 Returning Union Type Square Foo Circle Bar Shape Test F#: Returning a Union Type From a Function Given the following working code. The function Test has the expected return type (Shape -> Shape). If I then change the definition o...
[ 0.0027618408203125, 0.00933837890625, -0.00909423828125, 0.00183868408203125, -0.0023651123046875, -0.0211181640625, -0.033203125, -0.0106201171875, 0.007568359375, 0.03125, 0.01544189453125, 0.0294189453125, -0.003265380859375, 0.000400543212890625, 0.016357421875, 0.0081787109375, ...
[ 563, 4904, 173340, 32528, 60457, 28090, 28670, 1238, 3742, 68305, 9572, 31, 163731, 3253, 7224, 1081, 8647, 20697, 18151, 32354, 1556, 70, 84751, 30646, 10644, 40798, 33079, 15549, 80934, 161549, 47, 138256, 65572, 4568, 13315, 14240, 14602, ...
[ 0.0947265625, 0.16943359375, 0.133544921875, 0.2047119140625, 0.19140625, 0.046966552734375, 0.10223388671875, 0.045623779296875, 0.095947265625, 0.07952880859375, 0.1268310546875, 0.0711669921875, 0.1395263671875, 0.1446533203125, 0.1375732421875, 0.1116943359375, 0.2227783203125, ...
embed
26932635_c0
26932635
fsharp
0
Title: F# Avoid active pattern overwriting Problem title: F# Avoid active pattern overwriting Tags: active-pattern, f%23 Problem: F# Avoid active pattern overwriting I have noticed I cannot create two active patterns with the same options, but I can have two with similar ones without any warning: let (|A|B|C|) c = if (...
F# Avoid active pattern overwriting F# Avoid active pattern overwriting active-pattern f%23 Avoid Direct Indirect Alternating F# Avoid active pattern overwriting I have noticed I cannot create two active patterns with the same options, but I can have two with similar ones without any warning: So when matching this way:...
[ 0.00640869140625, -0.000396728515625, 0.00021839141845703125, 0.021240234375, -0.01116943359375, -0.0145263671875, -0.004547119140625, 0.0213623046875, 0.00970458984375, -0.0035247802734375, 0.016357421875, 0.00885009765625, 0.02490234375, 0.00823974609375, 0.01544189453125, 0.00186920...
[ 563, 4904, 84361, 532, 36457, 103510, 645, 199332, 4453, 22766, 1238, 3742, 42666, 80581, 108419, 1916, 156672, 53418, 28282, 6626, 7, 5701, 50717, 831, 765, 678, 21373, 64333, 15490, 2499, 1631, 14858, 214, 3917, 96276, 4785, 142837, 144573,...
[ 0.07177734375, 0.1435546875, 0.1273193359375, 0.072509765625, 0.1810302734375, 0.202392578125, 0.0875244140625, 0.185302734375, 0.09381103515625, 0.04595947265625, 0.04095458984375, 0.0560302734375, 0.09014892578125, 0.1357421875, 0.109619140625, 0.0802001953125, 0.055419921875, 0....
embed
29240575_c0
29240575
fsharp
0
Title: How to avoid boilerplate code when type aggregates other types Problem title: How to avoid boilerplate code when type aggregates other types Tags: f%23 Problem: How to avoid boilerplate code when type aggregates other types I'd like to model my domain. I start with aggregation: type Tree() = member x.Plant = ......
How to avoid boilerplate code when type aggregates other types How to avoid boilerplate code when type aggregates other types f%23 Tree How x.Plant x.Trim x.Uproot FruitTree x.PickFruit tree.Plant tree.Uproot How to avoid boilerplate code when type aggregates other types I'd like to model my domain. I start with aggreg...
[ 0.005462646484375, 0.00750732421875, -0.01220703125, 0.01251220703125, -0.020263671875, -0.014404296875, -0.0034332275390625, 0.01446533203125, -0.0017852783203125, -0.0177001953125, -0.01275634765625, 0.017822265625, 0.01220703125, 0.0115966796875, 0.0032196044921875, -0.0014953613281...
[ 11249, 71864, 337, 34759, 92558, 18151, 3229, 10644, 197564, 90, 3789, 52895, 3742, 101344, 1022, 78680, 74257, 39, 53234, 148920, 151958, 62731, 73032, 53201, 3299, 77758, 1830, 3249, 43032, 36746, 19882, 15490, 160093, 86151, 23, 3835, 71579,...
[ 0.030517578125, 0.198486328125, 0.0760498046875, 0.13525390625, 0.21728515625, 0.1986083984375, 0.0223236083984375, 0.212890625, 0.224365234375, 0.03265380859375, 0.099853515625, 0.1900634765625, 0.05792236328125, 0.1610107421875, 0.033203125, 0.1031494140625, 0.1126708984375, 0.05...
embed
46726271_c0
46726271
fsharp
0
Title: F# - Weight (Unit of Measure) Stones-Pounds Problem title: F# - Weight (Unit of Measure) Stones-Pounds Tags: units-of-measurement, f%23 Problem: F# - Weight (Unit of Measure) Stones-Pounds I have a csv file containing daily weights as follows: Date,Name,Weight 11-Sep-2017,Alpha,9-1 13-Sep-2017,Alpha,8-13 15-Sep-...
F# - Weight (Unit of Measure) Stones-Pounds F# - Weight (Unit of Measure) Stones-Pounds units-of-measurement f%23 Weight Unit Measure Stones-Pounds Date Name Sep-2017 Alpha Literal DayWeights.csv Weights CsvProvider HasHeaders Weights.GetSample data.Rows Output row.Date row.Name row.Weight F# - Weight (Unit of Measure)...
[ 0.01092529296875, 0.0262451171875, 0.01080322265625, 0.0213623046875, -0.01092529296875, 0.015869140625, 0.00213623046875, 0.001708984375, 0.0194091796875, 0.01202392578125, -0.0267333984375, -0.0159912109375, 0.0125732421875, 0.001861572265625, 0.01068115234375, 0.0299072265625, 0.0...
[ 563, 4904, 20, 150533, 15, 85600, 18, 111, 1215, 11, 56851, 47002, 7, 9, 7192, 7030, 25072, 4390, 37440, 1238, 3949, 3742, 46640, 25512, 15757, 21693, 22842, 76569, 135940, 10013, 12137, 22553, 4439, 334, 313, 67756, 177997, 62160, 20625, ...
[ 0.14599609375, 0.2113037109375, 0.027801513671875, 0.251708984375, 0.0023193359375, 0.1436767578125, 0.0247955322265625, 0.1197509765625, 0.11279296875, 0.1317138671875, 0.1331787109375, 0.2110595703125, 0.0269317626953125, 0.0670166015625, 0.1295166015625, 0.1776123046875, 0.1579589...
embed
65740576_c1
65740576
fsharp
1
though) type RepositoryTaskResultBuilder() = inherit TaskResultBuilder() member __.Bind(databaseTaskResult: Task<Result<'T, DatabaseError>>, binder) = let repoTaskResult = databaseTaskResult |> TaskResult.mapError RepositoryError.fromDatabaseError __.Bind(taskResult = repoTaskResult, binder = binder) let repoTaskResul...
though) type RepositoryTaskResultBuilder() = inherit TaskResultBuilder() member __.Bind(databaseTaskResult: Task<Result<'T, DatabaseError>>, binder) = let repoTaskResult = databaseTaskResult |> TaskResult.mapError RepositoryError.fromDatabaseError __.Bind(taskResult = repoTaskResult, binder = binder) let repoTaskResul...
[ -0.026123046875, 0.0267333984375, -0.006378173828125, -0.00262451171875, 0.00174713134765625, 0.004119873046875, -0.00885009765625, -0.02978515625, 0.0244140625, -0.0177001953125, -0.004913330078125, 0.01507568359375, 0.002227783203125, 0.005645751953125, -0.00677490234375, 0.007781982...
[ 21208, 10644, 853, 59111, 1294, 9874, 1042, 4332, 7, 7136, 121137, 56, 2203, 23, 3334, 217, 9598, 92, 32786, 571, 7250, 37382, 618, 187781, 18468, 31611, 186653, 2633, 93392, 63399, 62346, 161063, 1073, 70166, 2046, 43512, 158, 5773, 3509, ...
[ 0.2137451171875, 0.193603515625, 0.03741455078125, 0.1522216796875, 0.0216064453125, 0.14794921875, 0.09112548828125, 0.0904541015625, 0.1387939453125, 0.1650390625, 0.197021484375, 0.129150390625, 0.050201416015625, 0.11181640625, 0.1925048828125, 0.1097412109375, 0.177001953125, ...
embed
30416774_c0
30416774
fsharp
0
Title: When calling an F# async workflow, can I avoid defining a temporary label? Problem title: When calling an F# async workflow, can I avoid defining a temporary label? Tags: f%23, async-workflow Problem: When calling an F# async workflow, can I avoid defining a temporary label? Suppose I have an async data source: ...
When calling an F# async workflow, can I avoid defining a temporary label? When calling an F# async workflow, can I avoid defining a temporary label? f%23 async-workflow When showData1 Seq.iter Async.RunSynchronously showData2 Async When calling an F# async workflow, can I avoid defining a temporary label? Suppose I ha...
[ -0.00119781494140625, 0.00897216796875, 0.01123046875, -0.0130615234375, 0.005706787109375, -0.01239013671875, -0.00049591064453125, -0.0007781982421875, 0.0107421875, -0.0216064453125, 0.000701904296875, 0.014892578125, 0.0025787353515625, 0.0011749267578125, 0.038330078125, -0.014465...
[ 159029, 563, 4904, 12654, 238, 4488, 118664, 831, 71864, 13204, 142458, 53, 67967, 1238, 3742, 18244, 7639, 137989, 418, 864, 16840, 163321, 217835, 127, 1900, 304, 10, 2053, 31344, 5809, 11782, 17368, 2633, 38, 24500, 2147, 10366, 15490, 1...
[ 0.14892578125, 0.0909423828125, 0.1776123046875, 0.2030029296875, 0.1041259765625, 0.06414794921875, 0.2152099609375, 0.0287017822265625, 0.181884765625, 0.187255859375, 0.218505859375, 0.0552978515625, 0.267578125, 0.0249176025390625, 0.09344482421875, 0.02862548828125, 0.0989990234...
embed
46568998_c0
46568998
fsharp
0
Title: Why does this Inlining for Tuples not work? Problem title: Why does this Inlining for Tuples not work? Tags: f%23 Problem: Why does this Inlining for Tuples not work? Why does the inlining not work in this case? type TupleBuilder () = static member inline Cons(a,(b,c)) = (a, b, c) static member inline Cons(a,(b,...
Why does this Inlining for Tuples not work? Why does this Inlining for Tuples not work? f%23 Why Inlining Tuples TupleBuilder Cons TupleBuilder.Cons Candidates Why does this Inlining for Tuples not work? Why does the inlining not work in this case? The call to TupleBuilder.Cons gives me the following compiler error
[ 0.0002288818359375, 0.018798828125, 0.0078125, 0.0120849609375, 0.0023651123046875, 0.000720977783203125, -0.0216064453125, -0.0133056640625, 0.0064697265625, -0.00909423828125, -0.002105712890625, -0.01409912109375, 0.024658203125, 0.020263671875, 0.0113525390625, -0.004547119140625, ...
[ 44084, 14602, 903, 360, 150, 592, 100, 1371, 99726, 959, 4488, 3742, 8705, 121137, 56, 39215, 11935, 7, 194215, 23, 11782, 25632, 9969, 34759, 18499 ]
[ 0.06268310546875, 0.033599853515625, 0.06365966796875, 0.1298828125, 0.1676025390625, 0.1368408203125, 0.0457763671875, 0.127197265625, 0.2021484375, 0.095703125, 0.1026611328125, 0.0292205810546875, 0.1480712890625, 0.1314697265625, 0.0794677734375, 0.1214599609375, 0.10888671875, ...
embed
66618622_c2
66618622
fsharp
2
:ap-northeast-1:960544703730:igorbot", "Message" : "You have chosen to subscribe to the topic arn:aws:sns:ap-northeast-1:960544703730:igorbot.\nTo confirm the subscription, visit the SubscribeURL included in this message.", "SubscribeURL" : "https://sns.ap-northeast-1.amazonaws.com/?Action=ConfirmSubscription&TopicArn=...
:ap-northeast-1:960544703730:igorbot", "Message" : "You have chosen to subscribe to the topic arn:aws:sns:ap-northeast-1:960544703730:igorbot.\nTo confirm the subscription, visit the SubscribeURL included in this message.", "SubscribeURL" : "https://sns.ap-northeast-1.amazonaws.com/?Action=ConfirmSubscription&TopicArn=...
[ -0.00506591796875, 0.0439453125, -0.017578125, 0.0003643035888671875, 0.000499725341796875, -0.0257568359375, 0.0225830078125, 0.02392578125, 0.007659912109375, 0.00830078125, -0.0036468505859375, -0.01318359375, -0.031494140625, -0.0079345703125, 0.010009765625, 0.000728607177734375, ...
[ 152, 2631, 13665, 2347, 4438, 5759, 12, 91230, 171803, 5757, 10945, 1197, 14, 6504, 9190, 830, 594, 6011, 429, 58, 23562, 765, 19667, 19, 47, 1614, 34601, 70, 28451, 187, 15519, 7, 1779, 39563, 59478, 4, 19922, 134019, 95538, 99201, 23,...
[ 0.033111572265625, 0.192626953125, 0.1812744140625, 0.1336669921875, 0.1715087890625, 0.107421875, 0.0748291015625, 0.1864013671875, 0.18798828125, 0.102294921875, 0.1190185546875, 0.18994140625, 0.0806884765625, 0.21337890625, 0.278564453125, 0.018798828125, 0.07830810546875, 0.21...
embed
79263390_c1
79263390
fsharp
1
Context | Object of Value * List<Value> | Ref of Context * (Context -> Value) * (Context -> Value -> Context) | Unrecognizable of Node | Closure of Value * ContextStack * bool | Application of Value * Value with override this.ToString(): string = "Please, don't crash!" causes an error. What do I do? Just in case: Oper...
Context | Object of Value * List<Value> | Ref of Context * (Context -> Value) * (Context -> Value -> Context) | Unrecognizable of Node | Closure of Value * ContextStack * bool | Application of Value * Value with override this.ToString(): string = "Please, don't crash!" causes an error. What do I do? Just in case: Oper...
[ -0.002349853515625, 0.01373291015625, 0.0113525390625, 0.0306396484375, -0.0035858154296875, 0.005615234375, -0.000301361083984375, 0.006866455078125, -0.005950927734375, 0.0017852783203125, -0.005859375, 0.01116943359375, -0.001617431640625, -0.0034637451171875, 0.0235595703125, 0.004...
[ 1657, 22829, 134549, 111, 190060, 32036, 856, 50770, 53295, 11935, 115558, 169, 2886, 438, 112, 51053, 42378, 142484, 104921, 645, 416, 903, 7763, 71713, 214, 132, 79315, 2203, 238159, 2301, 18, 150631, 3890, 113660, 18499, 54, 7225, 16556, ...
[ 0.10498046875, 0.203369140625, 0.1773681640625, 0.16015625, 0.2225341796875, 0.08929443359375, 0.0780029296875, 0.1697998046875, 0.17138671875, 0.037322998046875, 0.111572265625, 0.04974365234375, 0.06634521484375, 0.10137939453125, 0.06597900390625, 0.0445556640625, 0.06268310546875...
embed
47229950_c0
47229950
fsharp
0
Title: F# get set of subsets containing k elements Problem title: F# get set of subsets containing k elements Tags: f%23 Problem: F# get set of subsets containing k elements Given a set with n elements {1, 2, 3, ..., n} , I want to declare a function which returns the set containing the sets with k number of elements s...
F# get set of subsets containing k elements F# get set of subsets containing k elements f%23 Set.ofList Set.count Set.remove Set F# get set of subsets containing k elements Given a set with n elements {1, 2, 3, ..., n} , I want to declare a function which returns the set containing the sets with k number of elements su...
[ 0.0244140625, 0.0037841796875, 0.023681640625, -0.0106201171875, 0.0034332275390625, -0.005157470703125, -0.0033111572265625, -0.0279541015625, 0.01190185546875, 0.00494384765625, 0.031494140625, 0.0179443359375, -0.0037689208984375, 0.00799560546875, 0.0042724609375, 0.0162353515625, ...
[ 563, 4904, 2046, 5423, 111, 1614, 3509, 7, 70541, 214, 472, 80854, 1238, 3742, 19943, 4390, 154663, 71013, 26973, 678, 653, 418, 116, 138, 3444, 159978, 32354, 30646, 14012, 154559, 74, 90173, 96386, 304, 75935, 106, 1468, 28282, 17365, 1...
[ 0.068359375, 0.14599609375, 0.054656982421875, 0.20458984375, 0.023712158203125, 0.2021484375, 0.23583984375, 0.028167724609375, 0.120361328125, 0.03570556640625, 0.1978759765625, 0.1864013671875, 0.0107421875, 0.0897216796875, 0.1485595703125, 0.1197509765625, 0.07977294921875, 0....
embed
32785374_c1
32785374
fsharp
1
11d50a3a' in the context 'Default' at location 'C:\Script\AutomatedTestLauncher5.4\FSharp.Core.dll'."} Following the following stackoverflow question's answer , I have tried creating the following binding redirect in my App.config file: <?xml version="1.0" encoding="utf-8" ?> <configuration> <startup> <supportedRuntime...
11d50a3a' in the context 'Default' at location 'C:\Script\AutomatedTestLauncher5.4\FSharp.Core.dll'."} Following the following stackoverflow question's answer , I have tried creating the following binding redirect in my App.config file: <?xml version="1.0" encoding="utf-8" ?> <configuration> <startup> <supportedRuntime...
[ -0.02099609375, 0.0341796875, -0.0035858154296875, -0.0206298828125, -0.00726318359375, -0.004638671875, -0.011474609375, -0.007110595703125, 0.01043701171875, -0.0067138671875, -0.01177978515625, -0.017578125, -0.01031494140625, 0.0107421875, 0.0186767578125, 0.00136566162109375, 0....
[ 534, 71, 2525, 11, 363, 43701, 187423, 7136, 31913, 147845, 38115, 2227, 111337, 309, 5372, 758, 617, 36381, 3467, 254, 50886, 13, 1181, 177261, 37842, 105233, 25632, 128239, 456, 80581, 5659, 153837, 11435, 131492, 11389, 102107, 587, 1003, ...
[ 0.156494140625, 0.0721435546875, 0.175048828125, 0.1507568359375, 0.10345458984375, 0.1353759765625, 0.133544921875, 0.1533203125, 0.0972900390625, 0.1187744140625, 0.07061767578125, 0.0462646484375, 0.1400146484375, 0.1036376953125, 0.1112060546875, 0.05169677734375, 0.1063232421875...
embed
68868059_c0
68868059
fsharp
0
Title: Generic types on function don&#x27;t correspond properly Problem title: Generic types on function don&#x27;t correspond properly Tags: list, functional-programming, types, f%23 Problem: Generic types on function don't correspond properly I have experience with functional programming in general, but I'm new to F#...
Generic types on function don&#x27;t correspond properly Generic types on function don&#x27;t correspond properly list functional-programming types f%23 Generic group2 Seq.fold None Some main.fs FS0001 Generic types on function don't correspond properly I have experience with functional programming in general, but I'm ...
[ 0.005767822265625, 0.0022125244140625, -0.0045166015625, -0.00457763671875, 0.000942230224609375, 0.00445556640625, -0.0247802734375, -0.007293701171875, 0.007354736328125, -0.000652313232421875, -0.00604248046875, 0.0101318359375, 0.00830078125, 0.006256103515625, -0.0155029296875, 0....
[ 88342, 1771, 52895, 98, 32354, 2301, 3768, 18, 42518, 155965, 5303, 123309, 28966, 1238, 3742, 21115, 304, 503, 864, 42822, 438, 5201, 17447, 93774, 188735, 16981, 56037, 449, 4537, 3525, 563, 4904, 831, 2046, 903, 18151, 47, 9969, 1340, ...
[ 0.180908203125, 0.053009033203125, 0.2413330078125, 0.08319091796875, 0.168701171875, 0.040435791015625, 0.084228515625, 0.0704345703125, 0.2281494140625, 0.125244140625, 0.07122802734375, 0.1431884765625, 0.07421875, 0.0276947021484375, 0.06451416015625, 0.10406494140625, 0.05831909...
embed
47327255_c0
47327255
fsharp
0
Title: Record instance in F# is null in C# Problem title: Record instance in F# is null in C# Tags: visual-studio, c%23, monogame, f%23 Problem: Record instance in F# is null in C# I'm working on an assignment for school in which we make a small game using monogame, with the added challenge of working in F#. The game l...
Record instance in F# is null in C# Record instance in F# is null in C# visual-studio c%23 monogame f%23 Record Vectors Vector Zero player.vector Vectors.Zero Record instance in F# is null in C# I'm working on an assignment for school in which we make a small game using monogame, with the added challenge of working in ...
[ 0.0019683837890625, 0.0091552734375, 0.02294921875, 0.01904296875, -0.00445556640625, -0.00390625, -0.017578125, -0.020263671875, -0.01031494140625, -0.000896453857421875, -0.00872802734375, 0.011474609375, -0.00170135498046875, 0.0027008056640625, -0.002288818359375, -0.023681640625, ...
[ 54877, 110527, 23, 563, 4904, 83, 56574, 313, 21176, 52629, 3742, 22460, 35311, 1238, 52884, 22230, 2609, 18770, 83947, 58585, 272, 1511, 4036, 95486, 10696, 6712, 62775, 561, 22819, 42805, 38496, 13547, 18507, 179459, 2967, 52895, 919, 18151...
[ 0.227294921875, 0.2296142578125, 0.053375244140625, 0.13134765625, 0.22216796875, 0.022308349609375, 0.192138671875, 0.0638427734375, 0.1060791015625, 0.1002197265625, 0.00579833984375, 0.1163330078125, 0.08544921875, 0.03155517578125, 0.145751953125, 0.0699462890625, 0.1422119140625...
embed
31897788_c0
31897788
fsharp
0
Title: Using nuget packages in a script file Problem title: Using nuget packages in a script file Tags: f%23 Problem: Using nuget packages in a script file I installed FSharp.Quotations.Evaluator in my library. I added a reference to the install in the project. Then, I added a reference to FSharp.Quotations.Evaluator i...
Using nuget packages in a script file Using nuget packages in a script file f%23 Using FSharp.Quotations.Evaluator Using nuget packages in a script file I installed FSharp.Quotations.Evaluator in my library. I added a reference to the install in the project. Then, I added a reference to FSharp.Quotations.Evaluator in t...
[ 0.00384521484375, 0.0022125244140625, -0.0091552734375, 0.000019550323486328125, -0.003997802734375, -0.00909423828125, 0.037353515625, -0.00823974609375, -0.004150390625, -0.045654296875, -0.0157470703125, 0.0015716552734375, 0.0108642578125, -0.01397705078125, 0.015869140625, -0.0117...
[ 345, 315, 3794, 98169, 23, 26499, 11435, 3742, 93774, 3467, 254, 31583, 818, 21094, 647, 27494, 4597, 20600, 35773, 49814, 91067, 13452, 88996, 1294, 9969, 1340, 15490, 18499, 81887, 72367, 5701, 35782, 186992, 110, 80934, 11814, 18151, 21239...
[ 0.0909423828125, 0.1929931640625, 0.26416015625, 0.1734619140625, 0.006988525390625, 0.194580078125, 0.144287109375, 0.0755615234375, 0.15185546875, 0.1397705078125, 0.158203125, 0.14208984375, 0.134033203125, 0.07696533203125, 0.06854248046875, 0.203369140625, 0.172119140625, 0.07...
embed
8176817_c0
8176817
fsharp
0
Title: Why are button clicks slow in VS 11, and how to fix it? Problem title: Why are button clicks slow in VS 11, and how to fix it? Tags: f%23, c%23, .net, visual-studio-2012, wpf Problem: Why are button clicks slow in VS 11, and how to fix it? Here is a simple test application (in F#, but I checked and the same prob...
Why are button clicks slow in VS 11, and how to fix it? Why are button clicks slow in VS 11, and how to fix it? f%23 c%23 .net visual-studio-2012 wpf Why Button Content but.Click.Add STAThread Application Run Window visual-studio-2012 Why are button clicks slow in VS 11, and how to fix it? Here is a simple test applica...
[ -0.0011138916015625, 0.00167083740234375, 0.00775146484375, -0.01068115234375, 0.0103759765625, 0.004119873046875, -0.00830078125, -0.02294921875, -0.0034332275390625, -0.034912109375, 0.004486083984375, 0.005950927734375, -0.006439208984375, 0.00494384765625, 0.0177001953125, -0.01049...
[ 44084, 77679, 18158, 72803, 44160, 534, 30022, 7, 23, 3742, 1179, 21176, 52629, 54458, 39557, 144037, 70870, 1284, 181671, 4028, 144792, 39116, 104921, 28398, 176501, 8781, 3034, 38415, 563, 4904, 2967, 51042, 479, 22751, 17777, 11389, 123278, ...
[ 0.07171630859375, 0.1956787109375, 0.244140625, 0.2161865234375, 0.1982421875, 0.2017822265625, 0.06414794921875, 0.0179290771484375, 0.040924072265625, 0.016387939453125, 0.032379150390625, 0.1572265625, 0.1370849609375, 0.1612548828125, 0.056854248046875, 0.1787109375, 0.1661376953...
embed
14935479_c0
14935479
fsharp
0
Title: Missing targeting pack for &quot;.NETFramework,Version=v4.0,Profile=Profile47&quot; Problem title: Missing targeting pack for &quot;.NETFramework,Version=v4.0,Profile=Profile47&quot; Tags: visual-studio-2012, portable-class-library, f%23 Problem: Missing targeting pack for ".NETFramework,Version=v4.0,Profile=Pro...
Missing targeting pack for &quot;.NETFramework,Version=v4.0,Profile=Profile47&quot; Missing targeting pack for &quot;.NETFramework,Version=v4.0,Profile=Profile47&quot; visual-studio-2012 portable-class-library f%23 Missing NETFramework Version v4.0 Profile Profile47 fsharp-library-build.proj p:TargetFramework portable-...
[ -0.0172119140625, 0.020263671875, -0.0245361328125, -0.005279541015625, -0.0257568359375, 0.00185394287109375, -0.012451171875, -0.0030364990234375, -0.01190185546875, 0.0123291015625, 0.023681640625, -0.0106201171875, -0.006744384765625, 0.011962890625, 0.02001953125, 0.0106201171875,...
[ 16771, 30388, 214, 43824, 17777, 108386, 18244, 178390, 334, 151152, 147161, 1340, 13330, 100, 21176, 52629, 54458, 168627, 67413, 2844, 282, 40647, 121858, 89280, 254, 177149, 63031, 3794, 617, 15770, 1019, 3467, 50886, 60006, 24861, 9969, 113...
[ 0.139404296875, 0.2425537109375, 0.1302490234375, 0.23583984375, 0.05938720703125, 0.0938720703125, 0.1380615234375, 0.1181640625, 0.028045654296875, 0.2216796875, 0.09698486328125, 0.08355712890625, 0.181640625, 0.00067138671875, 0.1278076171875, 0.1590576171875, 0.1451416015625, ...
embed
27171596_c0
27171596
fsharp
0
Title: Tupled arguments in interfaces Problem title: Tupled arguments in interfaces Tags: f%23 Problem: Tupled arguments in interfaces Can someone explain this F# curiosity? type IFoo = abstract member Bar1: int * int -> int * int abstract member Bar2: int * int -> (int * int) abstract member Bar3: (int * int) -> int *...
Tupled arguments in interfaces Tupled arguments in interfaces f%23 Tupled IFoo Bar1 Bar2 Bar3 Foo this.Bar1 this.Bar2 Same i.e RHS this.Bar3 Compile LHS IFoo.Bar1 IFoo.Bar3 Tupled arguments in interfaces Can someone explain this F# curiosity? What is the difference in meaning between the definitions of IFoo.Bar1 and IF...
[ 0.0234375, -0.00372314453125, -0.00020122528076171875, 0.0113525390625, 0.01043701171875, 0.003143310546875, -0.0120849609375, 0.00933837890625, 0.0179443359375, 0.0196533203125, -0.006011962890625, 0.00628662109375, -0.01104736328125, 0.03125, -0.002166748046875, 0.00970458984375, 0...
[ 1371, 8705, 71, 10750, 23, 101758, 7, 1238, 3949, 3742, 55449, 16635, 3253, 418, 304, 363, 9572, 31, 903, 25267, 99908, 68416, 294, 15612, 1340, 339, 38131, 4171, 22008, 73342, 563, 4904, 79975, 60212, 91084, 17721, 80934, 136 ]
[ 0.1318359375, 0.1761474609375, 0.0936279296875, 0.2286376953125, 0.045379638671875, 0.21923828125, 0.015960693359375, 0.055023193359375, 0.0207672119140625, 0.09521484375, 0.08843994140625, 0.1953125, 0.16552734375, 0.07415771484375, 0.05755615234375, 0.147705078125, 0.13427734375, ...
embed
23146473_c0
23146473
fsharp
0
Title: How do I create a Linq expression tree with an F# lambda? Problem title: How do I create a Linq expression tree with an F# lambda? Tags: linq, c%23, f%23, expression-trees Problem: How do I create a Linq expression tree with an F# lambda? Here's what can be done in C# - var two = 2; System.Linq.Expressions.Expre...
How do I create a Linq expression tree with an F# lambda? How do I create a Linq expression tree with an F# lambda? linq c%23 f%23 expression-trees How Linq System.Linq.Expressions.Expression System.Func expr.Compile Invoke How do I create a Linq expression tree with an F# lambda? Here's what can be done in C# - I wish...
[ 0.0240478515625, 0.0179443359375, -0.01397705078125, -0.00885009765625, 0.005889892578125, 0.03271484375, 0.027099609375, 0.0050048828125, -0.0113525390625, -0.044189453125, -0.0032806396484375, -0.00170135498046875, 0.0027313232421875, 0.001556396484375, 0.0164794921875, 0.00154876708...
[ 11249, 28282, 339, 44982, 125195, 53201, 678, 563, 4904, 21, 6492, 85, 10, 96, 3742, 1238, 2921, 12353, 866, 178752, 17514, 97249, 14700, 42, 108161, 1340, 23253, 16940, 23, 313, 32599, 134995, 183234, 37842, 959, 9969, 92054, 98352, 35782,...
[ 0.0144805908203125, 0.1336669921875, 0.1129150390625, 0.2406005859375, 0.2032470703125, 0.252197265625, 0.07086181640625, 0.1221923828125, 0.189453125, 0.037841796875, 0.1805419921875, 0.1302490234375, 0.0157623291015625, 0.066650390625, 0.10650634765625, 0.042327880859375, 0.1617431...
embed
39962717_c0
39962717
fsharp
0
Title: Is there a library function in F# Combine elements from different lists Problem title: Is there a library function in F# Combine elements from different lists Tags: f%23, combinatorics Problem: Is there a library function in F# Combine elements from different lists I want a function f that takes a list of lists ...
Is there a library function in F# Combine elements from different lists Is there a library function in F# Combine elements from different lists f%23 combinatorics different Combine Is there a library function in F# Combine elements from different lists I want a function f that takes a list of lists and returns the list...
[ -0.01422119140625, 0.0283203125, -0.00335693359375, 0.018310546875, -0.022216796875, 0.0166015625, -0.004608154296875, -0.0021820068359375, 0.0101318359375, -0.005340576171875, -0.003997802734375, -0.003662109375, 0.0223388671875, 0.0235595703125, -0.0264892578125, -0.0128173828125, ...
[ 2071, 2685, 10, 35773, 1294, 32354, 23, 563, 4904, 106935, 86, 80854, 1295, 12921, 5303, 1238, 3949, 3742, 22321, 3826, 3444, 51776, 30646, 370, 99726, 756, 7722, 162515, 35971, 1632, 12830, 12638, 16750, 8337, 49432, 21972, 10002, 12319, 1...
[ 0.01312255859375, 0.069091796875, 0.05615234375, 0.209228515625, 0.1680908203125, 0.2266845703125, 0.0716552734375, 0.1473388671875, 0.1964111328125, 0.252685546875, 0.1507568359375, 0.2174072265625, 0.141357421875, 0.1717529296875, 0.199462890625, 0.1181640625, 0.0142364501953125, ...
embed
20576684_c1
20576684
fsharp
1
(fun (events:Event seq) -> ()) } dummyMapping (CommandMeta(AggregateId(1),Version(1)), Command1) Seq.empty<Event> dummyMapping (CommandMeta(AggregateId(1),Version(1)), Command2) Seq.empty<Event> // Why does this work? let commandDispatcher = commandDispatcherFactory(dummyMapping, dummyEs) commandDispatcher (CommandMet...
(fun (events:Event seq) -> ()) } dummyMapping (CommandMeta(AggregateId(1),Version(1)), Command1) Seq.empty<Event> dummyMapping (CommandMeta(AggregateId(1),Version(1)), Command2) Seq.empty<Event> // Why does this work? let commandDispatcher = commandDispatcherFactory(dummyMapping, dummyEs) commandDispatcher (CommandMet...
[ -0.01251220703125, 0.024658203125, -0.01300048828125, -0.0027618408203125, 0.016357421875, -0.00860595703125, 0.0167236328125, -0.00408935546875, 0.004425048828125, -0.01043701171875, -0.0284423828125, 0.035400390625, -0.00185394287109375, 0.01092529296875, 0.00099945068359375, -0.0235...
[ 16498, 90141, 192134, 40, 864, 33079, 8473, 1176, 4613, 26783, 10770, 12018, 6696, 102, 54431, 68722, 2182, 568, 71, 27750, 178390, 123573, 17727, 503, 33548, 939, 10461, 44084, 14602, 903, 4488, 75101, 44456, 4453, 5372, 135518, 10863, 16474...
[ 0.1900634765625, 0.1536865234375, 0.167724609375, 0.05938720703125, 0.17236328125, 0.003570556640625, 0.2108154296875, 0.1810302734375, 0.2066650390625, 0.188232421875, 0.04156494140625, 0.1689453125, 0.1396484375, 0.1185302734375, 0.004302978515625, 0.1767578125, 0.025177001953125, ...
embed
72848427_c1
72848427
fsharp
1
Assembly name is "UnitTests.Core" ? It seems that the embedded resource path is generated using the project file name. I also tried to set the DefaultNamespace in the project file but nothing changed. How can I get the initial part of the resources from the Assembly? [EDIT] I found this workaround: module MyModule let...
Assembly name is "UnitTests.Core" ? It seems that the embedded resource path is generated using the project file name. I also tried to set the DefaultNamespace in the project file but nothing changed. How can I get the initial part of the resources from the Assembly? [EDIT] I found this workaround: module MyModule let...
[ -0.0113525390625, 0.01007080078125, 0.013671875, 0.01611328125, -0.0026397705078125, -0.03955078125, 0.00994873046875, -0.0028839111328125, -0.0108642578125, -0.00162506103515625, 0.032958984375, 0.0107421875, -0.002593994140625, 0.0341796875, 0.0027923583984375, -0.006011962890625, ...
[ 151169, 53, 9351, 83, 85600, 18, 111337, 7, 50886, 13, 37202, 55720, 69819, 177953, 60875, 139392, 17368, 13452, 11435, 5423, 262, 1021, 7136, 163612, 65421, 33720, 98816, 2046, 61475, 2831, 65514, 1295, 67688, 88996, 2646, 91616, 8782, 2633,...
[ 0.26953125, 0.1329345703125, 0.135009765625, 0.0280303955078125, 0.1429443359375, 0.04290771484375, 0.24609375, 0.04766845703125, 0.1402587890625, 0.093994140625, 0.0290679931640625, 0.21484375, 0.14111328125, 0.2076416015625, 0.20458984375, 0.103271484375, 0.008575439453125, 0.155...
embed
49393215_c1
49393215
fsharp
1
10.Invoke(Unit _arg6) at Fake.TargetHelper.runSingleTarget(TargetTemplate1 target) in C:\code\fake\src\app\FakeLib\TargetHelper.fs:line 626 Some relevant contents of paket.lock: FAKE (4.61.3) - framework: net40, net45, net461 NUnit (3.7.1) - framework: net40, net45, net461 NUnit.ConsoleRunner (3.6.1) - framework: net40...
10.Invoke(Unit _arg6) at Fake.TargetHelper.runSingleTarget(TargetTemplate1 target) in C:\code\fake\src\app\FakeLib\TargetHelper.fs:line 626 Some relevant contents of paket.lock: FAKE (4.61.3) - framework: net40, net45, net461 NUnit (3.7.1) - framework: net40, net45, net461 NUnit.ConsoleRunner (3.6.1) - framework: net40...
[ -0.0107421875, 0.0086669921875, 0.018310546875, -0.003814697265625, 0.008544921875, 0.007171630859375, 0.000743865966796875, -0.028564453125, -0.0126953125, 0.00567626953125, -0.0123291015625, 0.005218505859375, -0.005340576171875, 0.0263671875, 0.00775146484375, -0.006500244140625, ...
[ 4068, 4153, 23253, 13, 85600, 18, 101, 61477, 59690, 99, 3036, 350, 63031, 3794, 60785, 1264, 16428, 213039, 159065, 19309, 418, 30388, 313, 40899, 1021, 19437, 9007, 17647, 104820, 17447, 2256, 305, 4046, 29191, 10941, 13360, 5, 21135, 563...
[ 0.1572265625, 0.0533447265625, 0.171142578125, 0.032745361328125, 0.1568603515625, 0.07952880859375, 0.0205230712890625, 0.1517333984375, 0.1788330078125, 0.0202178955078125, 0.1624755859375, 0.1439208984375, 0.1231689453125, 0.15185546875, 0.1868896484375, 0.1434326171875, 0.0764770...
embed
24091824_c0
24091824
fsharp
0
Title: F# Canopy - how can I use the &quot;context&quot; tests? Problem title: F# Canopy - how can I use the &quot;context&quot; tests? Tags: canopy-web-testing, f%23 Problem: F# Canopy - how can I use the "context" tests? I am stumped on how to format the "context" test utilizing the Canopy API. The following website ...
F# Canopy - how can I use the &quot;context&quot; tests? F# Canopy - how can I use the &quot;context&quot; tests? canopy-web-testing f%23 Canopy Change ZipCodeID FirstNameID Paul CityID Tacoma StateID Error Incomplete Expected F# Canopy - how can I use the "context" tests? I am stumped on how to format the "context" te...
[ 0.00872802734375, 0.010009765625, -0.013427734375, 0.024658203125, 0.01483154296875, -0.003753662109375, 0.0084228515625, -0.0035400390625, 0.0006866455078125, -0.01141357421875, -0.0035247802734375, 0.0240478515625, -0.013427734375, -0.0150146484375, 0.032470703125, 0.002685546875, ...
[ 563, 4904, 4171, 2146, 53, 3642, 831, 4527, 2271, 22829, 109921, 14051, 6954, 1238, 3742, 87377, 162150, 114211, 7146, 23972, 163612, 10208, 6406, 1218, 277, 11, 22836, 212059, 131801, 60075, 13, 70, 9384, 3034, 61687, 27781, 53418, 1528, 4...
[ 0.06256103515625, 0.1378173828125, 0.11376953125, 0.1826171875, 0.16015625, 0.05584716796875, 0.050750732421875, 0.15185546875, 0.115234375, 0.259765625, 0.258544921875, 0.074462890625, 0.1568603515625, 0.01776123046875, 0.005859375, 0.10888671875, 0.0784912109375, 0.10302734375, ...
embed
58827036_c0
58827036
fsharp
0
Title: How to parse back string created using printfn &quot;%A&quot; in F#? Problem title: How to parse back string created using printfn &quot;%A&quot; in F#? Tags: .net, f%23, parsing Problem: How to parse back string created using printfn "%A" in F#? For an existing software, simple logging was achieved usign %A. No...
How to parse back string created using printfn &quot;%A&quot; in F#? How to parse back string created using printfn &quot;%A&quot; in F#? .net f%23 parsing printfn How Image ImageId Patch PatchId ImagePatch LogItem How to parse back string created using printfn "%A" in F#? For an existing software, simple logging was a...
[ 0, -0.0012664794921875, -0.00113677978515625, 0.04541015625, -0.01470947265625, 0.0311279296875, 0.01025390625, 0.00994873046875, 0.0113525390625, -0.00469970703125, 0.043701171875, 0.0108642578125, 0.00054168701171875, -0.01519775390625, 0.01312255859375, -0.0157470703125, 0.0032958...
[ 11249, 366, 184, 4420, 79315, 75935, 17368, 28412, 14783, 3949, 284, 1230, 563, 4904, 1179, 1238, 3742, 6953, 22710, 71, 159954, 257, 13146, 2982, 23, 144573, 10975, 8781, 459, 36659, 69307, 31304, 1745, 141956, 4488, 2053, 13438, 4527, 821...
[ 0.04315185546875, 0.144287109375, 0.10888671875, 0.221435546875, 0.23291015625, 0.1435546875, 0.024566650390625, 0.185546875, 0.2027587890625, 0.115966796875, 0.167236328125, 0.019012451171875, 0.1131591796875, 0.208984375, 0.1414794921875, 0.0654296875, 0.0980224609375, 0.09741210...
embed
17368404_c0
17368404
fsharp
0
Title: Excel Type Provider has error - it needs an assembly &quot;Excel.dll&quot; Problem title: Excel Type Provider has error - it needs an assembly &quot;Excel.dll&quot; Tags: type-providers, f%23, excel Problem: Excel Type Provider has error - it needs an assembly "Excel.dll" So, I started with this code: open Syste...
Excel Type Provider has error - it needs an assembly &quot;Excel.dll&quot; Excel Type Provider has error - it needs an assembly &quot;Excel.dll&quot; type-providers f%23 excel Excel Type Provider Excel.dll System System.IO FSharpx ExcelManipulation BoyICantWaitToUseThis ExcelFile Users sean.newham Documents Sheet1 Exce...
[ 0.0294189453125, 0.0194091796875, -0.0068359375, 0.0159912109375, -0.01263427734375, 0.00157928466796875, -0.01080322265625, -0.0169677734375, -0.01318359375, -0.0262451171875, -0.01397705078125, -0.0101318359375, 0.00762939453125, -0.001251220703125, 0.0194091796875, -0.00396728515625...
[ 30326, 60457, 123089, 42, 1556, 18499, 442, 27117, 142, 89845, 38526, 184926, 5, 71, 1181, 10644, 93136, 14202, 1238, 3742, 64152, 12353, 17780, 3467, 88684, 3442, 72403, 29642, 1236, 22489, 217, 1062, 73243, 174350, 52451, 54936, 3915, 43101...
[ 0.235107421875, 0.2364501953125, 0.189697265625, 0.14990234375, 0.03314208984375, 0.189453125, 0.04449462890625, 0.15283203125, 0.0189056396484375, 0.1788330078125, 0.114990234375, 0.2352294921875, 0.024383544921875, 0.08502197265625, 0.198974609375, 0.20751953125, 0.1671142578125, ...
embed
42524242_c0
42524242
fsharp
0
Title: F# Charting on MacOS (Xamarin) Problem title: F# Charting on MacOS (Xamarin) Tags: f%23-interactive, f%23, fsharpchart, mono Problem: F# Charting on MacOS (Xamarin) Hi I'm running on Xamarin 6.1.5 on MacOS I've installed FSharp.Charting 0.90.14 its the first time I'm trying to use it whether i try to compile or ...
F# Charting on MacOS (Xamarin) F# Charting on MacOS (Xamarin) f%23-interactive f%23 fsharpchart mono Charting MacOS Xamarin Chart.Line ShowChart F# Charting on MacOS (Xamarin) Hi I'm running on Xamarin 6.1.5 on MacOS I've installed FSharp.Charting 0.90.14 its the first time I'm trying to use it whether i try to compile...
[ -0.00058746337890625, 0.01251220703125, 0.0208740234375, -0.01251220703125, 0.008544921875, 0.001861572265625, 0.02734375, -0.02587890625, -0.0172119140625, 0.0031585693359375, -0.01397705078125, -0.04150390625, 0.007171630859375, -0.0062255859375, 0.01007080078125, 0.0048828125, -0....
[ 563, 4904, 110373, 214, 98, 4727, 7285, 1542, 11, 44503, 1238, 27495, 10433, 71232, 3742, 89280, 254, 9254, 18, 22460, 8606, 93232, 17367, 84068, 51042, 2289, 42876, 20600, 93774, 3467, 1916, 5039, 2592, 31577, 4527, 9969, 1340, 212398, 903...
[ 0.142578125, 0.234375, 0.252685546875, 0.13330078125, 0.0240478515625, 0.11669921875, 0.14208984375, 0.055572509765625, 0.054931640625, 0.2196044921875, 0.09869384765625, 0.05389404296875, 0.0716552734375, 0.03704833984375, 0.094482421875, 0.133544921875, 0.1739501953125, 0.1702880...
embed
26788785_c0
26788785
fsharp
0
Title: Creating a record inside a lambda Problem title: Creating a record inside a lambda Tags: f%23, record, lambda Problem: Creating a record inside a lambda I'm having some troubles with transforming an array inside of an array to a record type. The offending code is this let arrayToTransaction arr = arr |> Array.ma...
Creating a record inside a lambda Creating a record inside a lambda f%23 record lambda Creating Array.map Array.collect DateTime.Parse Substring IndexOf Test Parsed Single.Parse str.Substring str.IndexOf DateTime.Now Creating a record inside a lambda I'm having some troubles with transforming an array inside of an arra...
[ -0.01092529296875, -0.0050048828125, -0.0184326171875, 0.004302978515625, -0.013427734375, -0.0024566650390625, -0.01171875, 0.00927734375, 0.00787353515625, -0.00677490234375, -0.00732421875, -0.000270843505859375, 0.011962890625, -0.018310546875, -0.00127410888671875, -0.014892578125...
[ 56781, 17164, 46132, 21, 6492, 85, 1916, 10, 1238, 3949, 3742, 69253, 53, 62346, 196352, 25512, 70059, 28636, 8273, 91693, 31471, 132887, 8647, 2392, 43609, 7704, 96472, 39659, 63134, 27198, 10298, 47, 10644, 29114, 6238, 18151, 903, 18499, ...
[ 0.1549072265625, 0.23681640625, 0.1953125, 0.0914306640625, 0.2161865234375, 0.17333984375, 0.031646728515625, 0.01361083984375, 0.03631591796875, 0.005767822265625, 0.1397705078125, 0.116943359375, 0.0970458984375, 0.09088134765625, 0.117919921875, 0.042877197265625, 0.1273193359375...
embed
17640218_c0
17640218
fsharp
0
Title: Accessing dynamic property in F# Problem title: Accessing dynamic property in F# Tags: c%23-4.0, c%23-to-f%23, f%23-3.0, f%23, nancy Problem: Accessing dynamic property in F# I was trying to access dynamic property in Nancy. In Nancy if pass parameter in query it comes as dynamic property. How can I access that....
Accessing dynamic property in F# Accessing dynamic property in F# c%23-4.0 c%23-to-f%23 f%23-3.0 f%23 nancy Accessing ParameterModule NancyModule this.Get Hello About parameters.about Accessing dynamic property in F# I was trying to access dynamic property in Nancy. In Nancy if pass parameter in query it comes as dynam...
[ 0.01043701171875, 0.002105712890625, 0.0157470703125, 0.007110595703125, 0.00897216796875, -0.006072998046875, 0.004150390625, 0.01495361328125, -0.010498046875, -0.06201171875, 0.00921630859375, 0.000766754150390625, -0.0101318359375, -0.0137939453125, 0.00323486328125, 0.005462646484...
[ 40266, 214, 84079, 57266, 23, 563, 4904, 167218, 27495, 151152, 188, 420, 3742, 1238, 132265, 24, 27771, 1720, 29089, 91616, 156946, 8782, 903, 35378, 171859, 17203, 360, 2174, 27875, 41, 32497, 237, 11249, 831, 450, 35107, 248, 111, 105233...
[ 0.1865234375, 0.0399169921875, 0.234130859375, 0.2415771484375, 0.056640625, 0.1585693359375, 0.21630859375, 0.003509521484375, 0.06622314453125, 0.142822265625, 0.0584716796875, 0.0265960693359375, 0.033355712890625, 0.047332763671875, 0.08203125, 0.1197509765625, 0.1737060546875, ...
embed
4408227_c0
4408227
fsharp
0
Title: F# and Image Processing on ASP.NET Problem title: F# and Image Processing on ASP.NET Tags: image-processing, f%23, asp.net Problem: F# and Image Processing on ASP.NET Well, I have posted a question about F# and fuzzy logic, now trying to widen a little bit my horizon, I'd like to know how much useful can be F# w...
F# and Image Processing on ASP.NET F# and Image Processing on ASP.NET image-processing f%23 asp.net Image Processing ASP.NET F# and Image Processing on ASP.NET Well, I have posted a question about F# and fuzzy logic, now trying to widen a little bit my horizon, I'd like to know how much useful can be F# when talking ab...
[ -0.0014190673828125, -0.002166748046875, -0.007354736328125, 0.000392913818359375, -0.00787353515625, 0.02001953125, -0.00160980224609375, 0.012451171875, -0.00836181640625, -0.01287841796875, 0.0301513671875, 0.00830078125, 0.01190185546875, 0.0269775390625, 0.004913330078125, 0.00805...
[ 563, 4904, 136, 22710, 123996, 214, 98, 147153, 17777, 29569, 63923, 1238, 3949, 3742, 237, 254, 1179, 44183, 9655, 5639, 151581, 62775, 156634, 1884, 3714, 5045, 80234, 831, 186, 56661, 9433, 44457, 30388, 179635, 106001, 45367, 48461, 10175...
[ 0.1759033203125, 0.25927734375, 0.119873046875, 0.1920166015625, 0.1766357421875, 0.0880126953125, 0.07470703125, 0.207275390625, 0.166015625, 0.1693115234375, 0.153564453125, 0.163330078125, 0.0257720947265625, 0.077880859375, 0.038818359375, 0.12255859375, 0.1341552734375, 0.0052...
embed
11766002_c1
11766002
fsharp
1
) = let cells = Array.ofSeq(s.Split([|' '|],StringSplitOptions.RemoveEmptyEntries)) (cells.[1], int cells.[6], int cells.[8]) let balance t = let (_,f,a) = t -(f-a) let splitLines (s:string) = List.ofSeq(s.Split([|'\n'|])) let wc = new WebClient() let lines = wc.DownloadString("http://pragdave.pragprog.com/data/footbal...
) = let cells = Array.ofSeq(s.Split([|' '|],StringSplitOptions.RemoveEmptyEntries)) (cells.[1], int cells.[6], int cells.[8]) let balance t = let (_,f,a) = t -(f-a) let splitLines (s:string) = List.ofSeq(s.Split([|'\n'|])) let wc = new WebClient() let lines = wc.DownloadString("http://pragdave.pragprog.com/data/footbal...
[ -0.00604248046875, 0.0179443359375, -0.01409912109375, 0.005401611328125, -0.004425048828125, -0.00136566162109375, 0.01177978515625, 0.0274658203125, -0.002471923828125, 0.000522613525390625, -0.006988525390625, 0.0164794921875, -0.0174560546875, -0.000850677490234375, 0, -0.004058837...
[ 1388, 2203, 2633, 38750, 7, 69253, 53, 5, 4390, 4233, 864, 132, 31923, 4353, 25, 268, 71713, 214, 39029, 5256, 4332, 432, 272, 134332, 939, 7768, 18, 10484, 16, 34680, 25432, 23, 52688, 75064, 40197, 808, 420, 11, 20, 9, 65450, 93232,...
[ 0.09246826171875, 0.1090087890625, 0.170654296875, 0.2861328125, 0.1175537109375, 0.182861328125, 0.13525390625, 0.04327392578125, 0.281494140625, 0.136962890625, 0.26611328125, 0.034332275390625, 0.087158203125, 0.232666015625, 0.022216796875, 0.0225677490234375, 0.166748046875, 0...
embed
5847202_c0
5847202
fsharp
0
Title: &#x27;base&#x27; values may only be used to make direct calls to the base implementations of overridden members Problem title: &#x27;base&#x27; values may only be used to make direct calls to the base implementations of overridden members Tags: overriding, radix, f%23, inheritance, derived Problem: 'base' values...
&#x27;base&#x27; values may only be used to make direct calls to the base implementations of overridden members &#x27;base&#x27; values may only be used to make direct calls to the base implementations of overridden members overriding radix f%23 inheritance derived Base this.f Derived base.f FS0419 'base' values may on...
[ 0.0098876953125, 0.00335693359375, 0.00183868408203125, -0.01239013671875, 0.0274658203125, -0.0125732421875, -0.00096893310546875, -0.0107421875, 0.006683349609375, -0.000789642333984375, 0.004608154296875, 0.005706787109375, 0.016357421875, 0.01519775390625, 0.00341796875, -0.0090942...
[ 3768, 37382, 142424, 1543, 4734, 11814, 8951, 11782, 7, 47, 3647, 208124, 645, 19040, 555, 43032, 3249, 416, 4567, 1238, 3742, 3334, 217, 16406, 44978, 903, 420, 1310, 93774, 7709, 2947, 70, 831, 18, 3688, 60923, 9969, 34759, 18499, 4263,...
[ 0.053375244140625, 0.259521484375, 0.18408203125, 0.081787109375, 0.0772705078125, 0.123779296875, 0.143310546875, 0.181396484375, 0.044189453125, 0.0753173828125, 0.2431640625, 0.2239990234375, 0.0650634765625, 0.138916015625, 0.07061767578125, 0.1636962890625, 0.000213623046875, ...
embed
60989884_c0
60989884
fsharp
0
Title: Why does the weak reference not get collected in this simple F# example? Problem title: Why does the weak reference not get collected in this simple F# example? Tags: weak-references, garbage-collection, f%23 Problem: Why does the weak reference not get collected in this simple F# example? open System let WeakRe...
Why does the weak reference not get collected in this simple F# example? Why does the weak reference not get collected in this simple F# example? weak-references garbage-collection f%23 Why System WeakReferenceExample Object WeakReference GC.Collect Console.WriteLine IsAlive weak.IsAlive Console.ReadKey Why does the we...
[ 0.003875732421875, 0.0206298828125, 0.01611328125, -0.0025634765625, -0.00653076171875, 0.01092529296875, -0.016845703125, -0.0003185272216796875, 0.00421142578125, 0.026123046875, -0.00946044921875, 0.01470947265625, -0.013427734375, 0.035400390625, 0.01422119140625, -0.00765991210937...
[ 44084, 642, 344, 91067, 959, 43799, 8781, 563, 4904, 27781, 239879, 3671, 402, 429, 196352, 1830, 3949, 3742, 12353, 1401, 4332, 69988, 11, 134549, 69657, 78457, 8996, 40777, 93232, 2071, 24056, 31345, 162429, 2046, 425, 360, 57945, 121413, ...
[ 0.05328369140625, 0.1533203125, 0.2021484375, 0.2491455078125, 0.0941162109375, 0.2020263671875, 0.07537841796875, 0.0198516845703125, 0.145751953125, 0.1431884765625, 0.21240234375, 0.033599853515625, 0.146240234375, 0.03125, 0.1187744140625, 0.00640869140625, 0.002410888671875, 0...
embed
10198597_c0
10198597
fsharp
0
Title: Ambiguity on overload resolution between Action and unit -&gt; unit types in F# Problem title: Ambiguity on overload resolution between Action and unit -&gt; unit types in F# Tags: f%23 Problem: Ambiguity on overload resolution between Action and unit -> unit types in F# Given the following fragment: type Foo() ...
Ambiguity on overload resolution between Action and unit -&gt; unit types in F# Ambiguity on overload resolution between Action and unit -&gt; unit types in F# f%23 Ambiguity Action Foo Test Foo.Test act.Invoke Ambiguity on overload resolution between Action and unit -> unit types in F# Given the following fragment: I ...
[ -0.004791259765625, 0.00191497802734375, 0.0174560546875, -0.0228271484375, -0.01324462890625, -0.025634765625, -0.005859375, 0.0159912109375, -0.0037078857421875, -0.0159912109375, -0.02001953125, -0.00665283203125, -0.004302978515625, 0.01263427734375, 0.007598876953125, 0.0111694335...
[ 10250, 12282, 2481, 98, 645, 63033, 158839, 17721, 57945, 136, 25072, 5386, 52895, 563, 4904, 3742, 9572, 31, 8647, 111337, 27992, 23253, 38551, 18499, 2704, 36998, 55300, 25, 5809, 959, 83324, 35509, 10644, 4677, 41928, 903, 1528, 6275, 86...
[ 0.1163330078125, 0.1737060546875, 0.05279541015625, 0.055389404296875, 0.1240234375, 0.1888427734375, 0.166015625, 0.060333251953125, 0.1856689453125, 0.003173828125, 0.1746826171875, 0.051116943359375, 0.1651611328125, 0.11181640625, 0.1932373046875, 0.06085205078125, 0.12890625, ...
embed
33696325_c1
33696325
fsharp
1
Option[bool] instead of FSharpOption[Boolean]. I tried modifying the Akka.FSharp code to explcitly pass an Option, but that didn't seem to help. I'm using FSharp.Core 4.0.0.1 (other links suggested 3.0 had problems). Has anyone seen anything similar? Even suggestions about where to look for the problem would be helpful...
Option[bool] instead of FSharpOption[Boolean]. I tried modifying the Akka.FSharp code to explcitly pass an Option, but that didn't seem to help. I'm using FSharp.Core 4.0.0.1 (other links suggested 3.0 had problems). Has anyone seen anything similar? Even suggestions about where to look for the problem would be helpful...
[ 0.00653076171875, 0.0308837890625, 0.01483154296875, -0.01202392578125, -0.006866455078125, -0.005889892578125, 0.0084228515625, -0.0157470703125, -0.01318359375, 0.0030059814453125, 0.00592041015625, 0.0108642578125, 0.01373291015625, 0.0098876953125, 0.01092529296875, 0.009521484375,...
[ 86769, 1065, 142484, 64457, 111, 93774, 3467, 254, 39029, 1363, 12647, 31, 34677, 2811, 151138, 62, 5515, 36381, 18151, 14700, 45329, 27875, 4358, 17368, 50886, 13, 40401, 102014, 17596, 44402, 51592, 21373, 157666, 6713, 2967, 98893, 31089, ...
[ 0.302734375, 0.0173492431640625, 0.286865234375, 0.155517578125, 0.0284576416015625, 0.1236572265625, 0.217529296875, 0.2103271484375, 0.2158203125, 0.0899658203125, 0.0653076171875, 0.121826171875, 0.200439453125, 0.1064453125, 0.0217132568359375, 0.06005859375, 0.1885986328125, 0...
embed
34252606_c0
34252606
fsharp
0
Title: Array.create and jagged array Problem title: Array.create and jagged array Tags: arrays, f%23 Problem: Array.create and jagged array Can't understand the reason of such behavior: let example count = let arr = Array.create 2 (Array.zeroCreate count) for i in [0..count - 1] do arr.[0].[i] <- 1 arr.[1].[i] <- 2 arr...
Array.create and jagged array Array.create and jagged array arrays f%23 Array.create Array.zeroCreate Array.iter Array.init Array.create and jagged array Can't understand the reason of such behavior: Print: https://dotnetfiddle.net/borMmO If I replace: to: Everything will work as expected: Print: https://dotnetfiddle.n...
[ 0.025634765625, 0.0166015625, -0.01214599609375, 0.0291748046875, -0.00177764892578125, -0.016845703125, -0.00115966796875, 0.01458740234375, 0.0086669921875, 0.027099609375, 0.0023040771484375, 0.01556396484375, 0.009521484375, 0.0108642578125, 0.01513671875, -0.01446533203125, 0.00...
[ 69253, 53, 7612, 2182, 136, 79, 134229, 10298, 4778, 1238, 3742, 80510, 63784, 16840, 73, 217, 18, 28219, 70, 31635, 6044, 123166, 39754, 15464, 1179, 4028, 133, 3422, 670, 4263, 91995, 12, 47, 171581, 1221, 4488, 237, 84751, 61320, 5351,...
[ 0.173095703125, 0.1695556640625, 0.1556396484375, 0.103759765625, 0.124755859375, 0.159912109375, 0.2391357421875, 0.20166015625, 0.0882568359375, 0.0285186767578125, 0.0709228515625, 0.1348876953125, 0.07318115234375, 0.1103515625, 0.0282135009765625, 0.050750732421875, 0.0242614746...
embed
54317527_c1
54317527
fsharp
1
). Does F#'s type system allow any way to refer to or build upon existing inferred types? Such as type t = typeof<some inferred function without a manually written type signature> And can F#'s type system let me express a partially applied function without manually writing its argument types? E..g type partial1<'a when...
). Does F#'s type system allow any way to refer to or build upon existing inferred types? Such as type t = typeof<some inferred function without a manually written type signature> And can F#'s type system let me express a partially applied function without manually writing its argument types? E..g type partial1<'a when...
[ -0.002044677734375, 0.004486083984375, 0.00244140625, -0.0004596710205078125, 0.00136566162109375, -0.00604248046875, -0.0155029296875, -0.01446533203125, -0.003875732421875, -0.0125732421875, 0.0185546875, 0.0118408203125, -0.0159912109375, -0.00115203857421875, 0.0194091796875, 0.004...
[ 101790, 563, 4904, 10644, 5426, 63769, 3917, 15005, 47, 45367, 54799, 144573, 53498, 2822, 52895, 808, 4390, 32354, 15490, 23009, 59121, 138256, 831, 2633, 36510, 2878, 25958, 190659, 32562, 10750, 289, 11, 3229, 169, 11814, 50986, 2875, 5826...
[ 0.00823974609375, 0.103515625, 0.2064208984375, 0.236328125, 0.152587890625, 0.0770263671875, 0.058074951171875, 0.1495361328125, 0.059661865234375, 0.1343994140625, 0.1190185546875, 0.1282958984375, 0.1588134765625, 0.1029052734375, 0.224365234375, 0.102783203125, 0.2044677734375, ...
embed
1479297_c0
1479297
fsharp
0
Title: Find common elements in two sorted lists in linear time Problem title: Find common elements in two sorted lists in linear time Tags: algorithm, language-agnostic, f%23 Problem: Find common elements in two sorted lists in linear time I have a sorted list of inputs: let x = [2; 4; 6; 8; 8; 10; 12] let y = [-8; -7;...
Find common elements in two sorted lists in linear time Find common elements in two sorted lists in linear time algorithm language-agnostic f%23 Find List.choose Some None x.length y.length Find common elements in two sorted lists in linear time I have a sorted list of inputs: I want to write a function which behaves s...
[ -0.005889892578125, 0.01318359375, 0.00750732421875, -0.004791259765625, 0.00653076171875, 0.0299072265625, -0.0050048828125, -0.0086669921875, 0.01080322265625, -0.030029296875, 0.007568359375, 0.0106201171875, -0.0086669921875, -0.015380859375, -0.01263427734375, 0.0108642578125, 0...
[ 26040, 39210, 80854, 23, 6626, 17497, 71, 5303, 7, 192617, 1733, 234873, 46876, 2895, 1238, 3742, 32036, 3089, 31384, 438, 86, 1022, 23986, 113, 107730, 3444, 33022, 32354, 68991, 21373, 80866, 5881, 52952, 21253, 8852, 30646, 129912, 3378, ...
[ 0.140625, 0.2261962890625, 0.22900390625, 0.073486328125, 0.204833984375, 0.2113037109375, 0.1270751953125, 0.2354736328125, 0.06024169921875, 0.1796875, 0.18896484375, 0.151123046875, 0.08251953125, 0.10186767578125, 0.005523681640625, 0.088623046875, 0.16552734375, 0.031677246093...
embed
24661597_c0
24661597
fsharp
0
Title: How do you customize the pattern / syntax matching used to colorize text in VS2013? Problem title: How do you customize the pattern / syntax matching used to colorize text in VS2013? Tags: visual-studio-2013, f%23 Problem: How do you customize the pattern / syntax matching used to colorize text in VS2013? I'm cu...
How do you customize the pattern / syntax matching used to colorize text in VS2013? How do you customize the pattern / syntax matching used to colorize text in VS2013? visual-studio-2013 f%23 How VS2013 Terrain Water Rock Land visual-studio-2013 How do you customize the pattern / syntax matching used to colorize text i...
[ -0.00885009765625, 0.01483154296875, -0.0242919921875, 0.00830078125, -0.003143310546875, 0.01806640625, -0.0235595703125, 0.0274658203125, 0.009033203125, 0.010986328125, 0.0194091796875, 0.0133056640625, -0.004486083984375, -0.016357421875, 0.0125732421875, 0.009521484375, -0.00503...
[ 11249, 178036, 13, 103510, 248, 6002, 86531, 14858, 214, 11814, 40222, 731, 7986, 23, 44160, 7735, 21176, 52629, 74790, 1238, 3742, 21432, 73, 27646, 14434, 6557, 17368, 563, 4904, 73372, 22968, 81, 1530, 205969, 14537, 72977, 30388, 22, 31...
[ 0.0548095703125, 0.196044921875, 0.06317138671875, 0.1966552734375, 0.0283660888671875, 0.12841796875, 0.17041015625, 0.20703125, 0.061553955078125, 0.0794677734375, 0.176025390625, 0.105712890625, 0.201904296875, 0.040985107421875, 0.179931640625, 0.2393798828125, 0.1142578125, 0....
embed
74338971_c1
74338971
fsharp
1
] [] ] ] ] ] , div [] //the comma here looks like a problem [ div [ Props.Id "templatemo_menu" ] [ ul [] [ li [] //The comma in the <a> tag looks like a problem //Or maybe having more than one attribute is a problem [ a [ Props.Class "current", Props.Href "/" ] [ text "Some text" ] //text seems to be a problem ] ] ] ,...
] [] ] ] ] ] , div [] //the comma here looks like a problem [ div [ Props.Id "templatemo_menu" ] [ ul [] [ li [] //The comma in the <a> tag looks like a problem //Or maybe having more than one attribute is a problem [ a [ Props.Class "current", Props.Href "/" ] [ text "Some text" ] //text seems to be a problem ] ] ] ,...
[ -0.01416015625, -0.00457763671875, 0.01446533203125, 0.0028533935546875, 0.0002460479736328125, 0.004608154296875, -0.00396728515625, -0.01239013671875, 0.015869140625, -0.02392578125, -0.01220703125, -0.0233154296875, 0.01373291015625, -0.008544921875, 0.010498046875, -0.0059204101562...
[ 18221, 2347, 96117, 3688, 33342, 1884, 2967, 43796, 7, 71, 2982, 92558, 432, 30144, 15081, 400, 11, 7909, 51139, 1286, 3501, 1632, 150380, 140803, 163812, 29087, 7986, 8912, 22829, 37202, 24931, 69246, 363, 282, 2551, 117176, 18151, 14602, ...
[ 0.151611328125, 0.0489501953125, 0.252685546875, 0.09039306640625, 0.16748046875, 0.1199951171875, 0.2012939453125, 0.2125244140625, 0.07666015625, 0.06671142578125, 0.109130859375, 0.1666259765625, 0.17529296875, 0.1773681640625, 0.059112548828125, 0.06201171875, 0.04364013671875, ...
embed
21652203_c2
21652203
fsharp
2
_256x240.png" /> <None Include="Content\Widgets\jQueryUI\v_1_10_4\Lightness\images\ui-icons_228ef1_256x240.png" /> <None Include="Content\Widgets\jQueryUI\v_1_10_4\Lightness\images\ui-icons_ef8c08_256x240.png" /> <None Include="Content\Widgets\jQueryUI\v_1_10_4\Lightness\images\ui-icons_ffd27a_256x240.png" Code signals...
_256x240.png" /> <None Include="Content\Widgets\jQueryUI\v_1_10_4\Lightness\images\ui-icons_228ef1_256x240.png" /> <None Include="Content\Widgets\jQueryUI\v_1_10_4\Lightness\images\ui-icons_ef8c08_256x240.png" /> <None Include="Content\Widgets\jQueryUI\v_1_10_4\Lightness\images\ui-icons_ffd27a_256x240.png" Code signals...
[ -0.012939453125, 0.01190185546875, -0.0201416015625, -0.002838134765625, 0.00040435791015625, -0.011962890625, -0.01177978515625, -0.01226806640625, -0.005462646484375, 0.03955078125, 0.004119873046875, -0.0135498046875, -0.0011138916015625, -0.00090789794921875, 0.02490234375, 0.01239...
[ 101, 127892, 425, 62635, 5, 128468, 58, 57433, 5021, 86, 8942, 822, 25352, 41872, 1456, 532, 3794, 7, 170, 41732, 1294, 33457, 334, 115187, 454, 963, 617, 187459, 7432, 37926, 4515, 9, 14, 25553, 134712, 4240, 418, 112, 1019, 8318, 1193...
[ 0.1072998046875, 0.321533203125, 0.1632080078125, 0.2841796875, 0.07403564453125, 0.2366943359375, 0.006317138671875, 0.0994873046875, 0.036224365234375, 0.015228271484375, 0.00140380859375, 0.04718017578125, 0.15966796875, 0.010955810546875, 0.0147247314453125, 0.1375732421875, 0.21...
embed
36144972_c0
36144972
fsharp
0
Title: Pretty Printing in Deedle Data Frame Problem title: Pretty Printing in Deedle Data Frame Tags: deedle, f%23-interactive, f%23 Problem: Pretty Printing in Deedle Data Frame I was wondering if there is a simple way to add pretty printing to a custom type used in a Deedle data frame. In the following example: open ...
Pretty Printing in Deedle Data Frame Pretty Printing in Deedle Data Frame deedle f%23-interactive f%23 Pretty Printing Deedle Data Frame PrimaryContactInfo Default NonDefault Missing Account PrimaryContact Frame.ofRecords FSI_0011 Pretty Printing in Deedle Data Frame I was wondering if there is a simple way to add pret...
[ 0.0159912109375, 0.00982666015625, 0.01251220703125, 0.0233154296875, -0.0194091796875, -0.0126953125, 0.010498046875, 0.00372314453125, -0.0038299560546875, 0.0164794921875, -0.00347900390625, -0.0047607421875, -0.025390625, -0.00775146484375, 0.0081787109375, 0.01336669921875, 0.01...
[ 197570, 39754, 214, 23, 262, 297, 133, 11809, 42557, 8, 1238, 27495, 10433, 3742, 233695, 93147, 1021, 3775, 11, 16771, 61417, 4390, 32271, 563, 9902, 7049, 1662, 149016, 8781, 3917, 15190, 28875, 2448, 1916, 47, 114122, 10644, 11814, 2053,...
[ 0.2413330078125, 0.1773681640625, 0.099609375, 0.035003662109375, 0.095703125, 0.1435546875, 0.1683349609375, 0.09381103515625, 0.1282958984375, 0.069580078125, 0.03094482421875, 0.044464111328125, 0.036224365234375, 0.039459228515625, 0.0816650390625, 0.02099609375, 0.0797119140625,...
embed
47247269_c0
47247269
fsharp
0
Title: Serializing F# Discriminated union as strings with Json.NET Problem title: Serializing F# Discriminated union as strings with Json.NET Tags: json.net, f%23, json, serialization Problem: Serializing F# Discriminated union as strings with Json.NET I'm trying to do a one way transform from F#'s discriminated union ...
Serializing F# Discriminated union as strings with Json.NET Serializing F# Discriminated union as strings with Json.NET json.net f%23 json serialization Serializing Discriminated Json.NET Fsharp Newtonsoft.Json HowLame PrettyLame SuperLame Lame EntryPoint JsonConvert.SerializeObject Case Desired Serializing F# Discrimi...
[ -0.01324462890625, 0.0260009765625, -0.006622314453125, -0.00860595703125, -0.021484375, -0.0167236328125, -0.006866455078125, 0.01275634765625, 0.00396728515625, -0.00154876708984375, 0.015625, 0.0299072265625, -0.00081634521484375, 0.004608154296875, 0.00775146484375, 0.0009613037109...
[ 135188, 84382, 563, 4904, 6206, 135421, 3674, 69941, 237, 79315, 7, 678, 821, 1681, 17777, 1647, 1179, 1238, 3949, 3742, 35686, 47691, 89280, 254, 145076, 61306, 1375, 11249, 2729, 282, 197570, 4265, 239, 15123, 147534, 11549, 25435, 119066, ...
[ 0.234375, 0.06072998046875, 0.1346435546875, 0.2294921875, 0.054901123046875, 0.2225341796875, 0.07598876953125, 0.21533203125, 0.10064697265625, 0.2109375, 0.051422119140625, 0.059326171875, 0.1136474609375, 0.2000732421875, 0.191162109375, 0.061279296875, 0.11181640625, 0.0678100...
embed
23132974_c0
23132974
fsharp
0
Title: F# query for join/group/aggregate? Problem title: F# query for join/group/aggregate? Tags: f%23-3.0, f%23 Problem: F# query for join/group/aggregate? How can I get F# to do the equivalent of select a.id, avg(case when a.score = b.score then 1.0 else 0.0 end) from table1 a join table2 b on a.id = b.id and a.date ...
F# query for join/group/aggregate? F# query for join/group/aggregate? f%23-3.0 f%23 table1 a.id a.score b.score table2 b.id a.date b.date db.table1 db.table2 g.Key F# query for join/group/aggregate? How can I get F# to do the equivalent of in a query expression? I've come up with but I can't figure out what to insert i...
[ 0.00830078125, -0.0037841796875, -0.007232666015625, 0.00103759765625, 0.0027008056640625, 0.000202178955078125, -0.004180908203125, 0.007293701171875, -0.0004558563232421875, -0.002410888671875, -0.003997802734375, 0.03515625, -0.0123291015625, -0.02392578125, -0.0252685546875, 0.0187...
[ 563, 4904, 41, 1294, 100, 33284, 64, 51588, 197564, 13, 1238, 167218, 27495, 132265, 3742, 23180, 418, 532, 10, 30854, 876, 17489, 22819, 304, 706, 162429, 11249, 2046, 54, 183234, 111, 23, 125195, 1257, 26366, 2367, 183540, 3934, 44, 727...
[ 0.154296875, 0.22607421875, 0.172607421875, 0.13330078125, 0.09930419921875, 0.20556640625, 0.0697021484375, 0.1727294921875, 0.1932373046875, 0.083740234375, 0.10052490234375, 0.00909423828125, 0.1029052734375, 0.1578369140625, 0.0831298828125, 0.1368408203125, 0.01611328125, 0.03...
embed
64582264_c0
64582264
fsharp
0
Title: Making a bprintfn (StringBuilder.AppendLine vs Append) Problem title: Making a bprintfn (StringBuilder.AppendLine vs Append) Tags: f%23 Problem: Making a bprintfn (StringBuilder.AppendLine vs Append) I need to print a bunch of command-line help. There is a bprintf, but oddly no bprintfn for working with StringBu...
Making a bprintfn (StringBuilder.AppendLine vs Append) Making a bprintfn (StringBuilder.AppendLine vs Append) f%23 Making StringBuilder.AppendLine Append StringBuilder Printf.kprintf sb.AppendLine Command helper.bprintfn Title body1 body2 sb.ToString Making a bprintfn (StringBuilder.AppendLine vs Append) I need to prin...
[ 0.00084686279296875, 0.0150146484375, 0.03271484375, 0.003387451171875, -0.02197265625, 0.023193359375, -0.0001544952392578125, 0.001373291015625, 0.0020599365234375, 0.00909423828125, 0.01019287109375, -0.0225830078125, 0.006317138671875, -0.00750732421875, 0.006927490234375, -0.00643...
[ 13676, 876, 35662, 14783, 71713, 214, 121137, 56, 39179, 3611, 93232, 20209, 5659, 10, 3742, 23351, 39754, 420, 92, 275, 123573, 4358, 48962, 14361, 304, 7763, 3871, 28412, 147306, 75101, 2256, 110, 20697, 678, 1314, 831, 15190, 23937, 5062...
[ 0.0618896484375, 0.109619140625, 0.1824951171875, 0.2066650390625, 0.145751953125, 0.08319091796875, 0.20361328125, 0.1204833984375, 0.09197998046875, 0.2039794921875, 0.1654052734375, 0.08349609375, 0.1326904296875, 0.00677490234375, 0.066162109375, 0.1650390625, 0.1485595703125, ...
embed
15033448_c0
15033448
fsharp
0
Title: F# upcasting base Problem title: F# upcasting base Tags: upcasting, f%23, f%23-3.0 Problem: F# upcasting base I get a parse error when I want to upcast base to the appropriate interface type (i.e. A ) such that I can call doA() on it. I'm aware that base ( http://cs.hubfs.net/topic/None/58670 ) is somewhat speci...
F# upcasting base F# upcasting base upcasting f%23 f%23-3.0 ConcreteA this.doA ExtA base.doA F# upcasting base I get a parse error when I want to upcast base to the appropriate interface type (i.e. A ) such that I can call doA() on it. I'm aware that base ( http://cs.hubfs.net/topic/None/58670 ) is somewhat special, bu...
[ 0.01123046875, -0.002288818359375, 0.0294189453125, 0.006744384765625, 0.00927734375, -0.0002899169921875, -0.0115966796875, 0.0220947265625, 0.0191650390625, -0.0162353515625, -0.003143310546875, 0.0120849609375, 0.01483154296875, 0.0164794921875, -0.00823974609375, -0.000413894653320...
[ 563, 4904, 1257, 55741, 214, 3647, 1238, 3742, 27495, 132265, 225111, 13, 284, 903, 246, 5443, 18, 87, 2046, 10, 366, 184, 18499, 3444, 47, 95307, 101758, 10644, 62, 6044, 831, 11782, 54, 132, 98, 107419, 4439, 17447, 5021, 108620, 2088...
[ 0.1405029296875, 0.1923828125, 0.135009765625, 0.2197265625, 0.02874755859375, 0.232666015625, 0.07135009765625, 0.1083984375, 0.02716064453125, 0.1119384765625, 0.1278076171875, 0.024261474609375, 0.171142578125, 0.1260986328125, 0.1103515625, 0.07769775390625, 0.0916748046875, 0....
embed
40270879_c0
40270879
fsharp
0
Title: F# discriminated union syntax clarification Problem title: F# discriminated union syntax clarification Tags: syntax, f%23, discriminated-union Problem: F# discriminated union syntax clarification I'm reading Expert F# 4.0 and at some point (p.93) the following syntax is introduced for list : type 'T list = | ([]...
F# discriminated union syntax clarification F# discriminated union syntax clarification syntax f%23 discriminated-union None Some F# discriminated union syntax clarification I'm reading Expert F# 4.0 and at some point (p.93) the following syntax is introduced for list : Although I understand conceptually what's going o...
[ 0.01068115234375, -0.004547119140625, 0.0135498046875, -0.006195068359375, -0.0118408203125, -0.007110595703125, -0.0098876953125, 0.004730224609375, 0.021728515625, 0.0086669921875, 0.0240478515625, -0.005645751953125, 0.01507568359375, -0.01458740234375, -0.00238037109375, -0.0079345...
[ 563, 4904, 55970, 3674, 69941, 6002, 86531, 17306, 41274, 1238, 3949, 3742, 87046, 438, 31384, 16454, 70523, 40401, 70, 25632, 65508, 5303, 28219, 228113, 3688, 831, 3884, 378, 268, 707, 1984, 17721, 49129, 35412, 29459, 9844, 5361, 64511, ...
[ 0.14794921875, 0.2327880859375, 0.215576171875, 0.04058837890625, 0.1968994140625, 0.1702880859375, 0.1663818359375, 0.09423828125, 0.036651611328125, 0.0853271484375, 0.0227813720703125, 0.09967041015625, 0.1336669921875, 0.0153350830078125, 0.1693115234375, 0.0255889892578125, 0.10...
embed
20543567_c0
20543567
fsharp
0
Title: Using variable/function before it is declared Problem title: Using variable/function before it is declared Tags: f%23 Problem: Using variable/function before it is declared I have a recursion that I can't resolve: module Test type Command = | Exit of string | Action of string * (unit -> unit) let getName command...
Using variable/function before it is declared Using variable/function before it is declared f%23 Using Test Command Exit Action List.iter Well Available ERROR HERE Using variable/function before it is declared I have a recursion that I can't resolve: In method help() I use list commands , which, in turn, references met...
[ -0.007476806640625, 0.0084228515625, 0.004302978515625, 0.03515625, 0.01153564453125, 0.00830078125, -0.009765625, 0.0002079010009765625, 0.00159454345703125, -0.0224609375, 0.00080108642578125, 0.0164794921875, -0.00555419921875, 0.0086669921875, 0.03369140625, -0.009521484375, -0.0...
[ 345, 6953, 77336, 64, 137175, 8108, 442, 83, 159978, 71, 1238, 3949, 3742, 8647, 123573, 5443, 217, 57945, 32036, 16840, 22576, 238204, 151206, 24638, 65791, 195625, 1830, 831, 18, 103608, 55300, 4358, 4527, 5303, 75101, 91067, 132, 26267, ...
[ 0.128173828125, 0.058197021484375, 0.26318359375, 0.1011962890625, 0.2286376953125, 0.2003173828125, 0.0892333984375, 0.048187255859375, 0.2142333984375, 0.05322265625, 0.0416259765625, 0.03216552734375, 0.1346435546875, 0.202880859375, 0.194580078125, 0.1065673828125, 0.076110839843...
embed
28652801_c0
28652801
fsharp
0
Title: forward pipe tuple to a method with optional params Problem title: forward pipe tuple to a method with optional params Tags: f%23, optional-parameters Problem: forward pipe tuple to a method with optional params I got piece of code like this: type x() = member x.f(number:int, ?text:string) = "doesn't matter" let...
forward pipe tuple to a method with optional params forward pipe tuple to a method with optional params f%23 optional-parameters x.f number:int text:string instance.f result2 Type forward pipe tuple to a method with optional params I got piece of code like this: This works fine, but as I was doing some refactoring I've...
[ 0.0213623046875, -0.00201416015625, -0.017578125, 0.01904296875, -0.0277099609375, -0.00860595703125, 0.00408935546875, -0.0191650390625, 0.00787353515625, 0.005523681640625, -0.00125885009765625, -0.004302978515625, 0.0228271484375, 0.0191650390625, 0.000301361083984375, -0.021484375,...
[ 40225, 137158, 370, 8705, 47, 55300, 678, 35829, 289, 121, 1238, 3742, 6276, 29089, 420, 14012, 4288, 7986, 91693, 110527, 16750, 304, 60457, 4432, 63847, 18151, 43240, 5885, 144810, 25632, 23742, 18, 3853, 9969, 1340, 18499, 26008, 158, 28...
[ 0.2108154296875, 0.2083740234375, 0.132080078125, 0.21875, 0.08355712890625, 0.18310546875, 0.0357666015625, 0.188232421875, 0.056610107421875, 0.0933837890625, 0.1270751953125, 0.1373291015625, 0.034820556640625, 0.0577392578125, 0.104736328125, 0.05352783203125, 0.143798828125, 0...
embed
22866431_c1
22866431
fsharp
1
NotPresent -> printfn "Item not in cache; running function." updateCache cacheStore cacheKey (functionToCache arg) Obviously, it makes no sense to cache a function that is void / returns unit, and in fact this code will fail at runtime if someone tries to cache a 'a -> unit function. How do I make it fail at compiletim...
NotPresent -> printfn "Item not in cache; running function." updateCache cacheStore cacheKey (functionToCache arg) Obviously, it makes no sense to cache a function that is void / returns unit, and in fact this code will fail at runtime if someone tries to cache a 'a -> unit function. How do I make it fail at compiletim...
[ -0.0191650390625, 0.009521484375, 0.0224609375, -0.01361083984375, 0.01361083984375, 0.0020904541015625, -0.01190185546875, -0.004669189453125, -0.000720977783203125, 0.017333984375, -0.003326416015625, 0.014404296875, -0.01422119140625, -0.0220947265625, 0.0174560546875, 0.00448608398...
[ 11205, 19273, 12832, 28412, 14783, 2982, 959, 23, 82365, 51042, 32354, 28350, 46994, 165248, 162429, 137175, 7763, 441, 79459, 110, 10422, 2292, 71, 30646, 25072, 18151, 35782, 99, 11675, 6032, 1927, 11, 33079, 11249, 3249, 442, 9969, 1340, ...
[ 0.16015625, 0.1561279296875, 0.195068359375, 0.1077880859375, 0.116943359375, 0.1431884765625, 0.15234375, 0.0645751953125, 0.2391357421875, 0.144287109375, 0.189208984375, 0.097412109375, 0.16259765625, 0.1544189453125, 0.1422119140625, 0.0947265625, 0.047637939453125, 0.045837402...
embed
1025775_c0
1025775
fsharp
0
Title: Optimize F# string concatenation Problem title: Optimize F# string concatenation Tags: optimization, string, f%23 Problem: Optimize F# string concatenation I'm building a MySql query that batch inserts 4096 records at once. The actual insert is quite fast but the bottleneck is generating the query. Any hints on ...
Optimize F# string concatenation Optimize F# string concatenation optimization string f%23 Optimize StringBuilder Printf.bprintf INSERT INTO Tag Port Excess StartDate EndDate x.evaluationstable Seq.iter e.ID e.Tag e.Port e.Excess e.Return e.StartDate.ToString x.datetimeformat e.EndDate.ToString Optimize F# string conca...
[ -0.00518798828125, -0.002716064453125, 0.00872802734375, 0.01043701171875, -0.019775390625, 0.005645751953125, -0.0186767578125, -0.01318359375, -0.0047607421875, -0.005218505859375, 0.01043701171875, -0.0169677734375, 0.022216796875, -0.03466796875, -0.0072021484375, -0.00497436523437...
[ 43938, 20650, 563, 4904, 79315, 158, 4460, 33, 87235, 1238, 3742, 23351, 214, 121137, 56, 39754, 420, 35662, 64083, 56263, 213354, 4837, 13791, 5443, 26531, 13794, 86291, 18878, 1022, 159258, 22819, 864, 5, 16840, 7146, 66448, 60006, 987, 1...
[ 0.224365234375, 0.0777587890625, 0.17138671875, 0.2281494140625, 0.2445068359375, 0.1104736328125, 0.1513671875, 0.11181640625, 0.207275390625, 0.1043701171875, 0.1107177734375, 0.17431640625, 0.0400390625, 0.1600341796875, 0.029937744140625, 0.1334228515625, 0.1015625, 0.124755859...
embed
11201850_c1
11201850
fsharp
1
2 then printf "%d " h1; printSortedList t1 t2; elif h1 < h2 then printf "%d " h1; printSortedList t1 l2; else printf "%d " h2; printSortedList l1 t2; | [] , h2 :: t2 -> printf "%d " h2; printSortedList [] t2; | h1 :: t1, [] -> printf "%d " h1; printSortedList t1 []; | [], [] -> printfn""; The performance of using them ...
2 then printf "%d " h1; printSortedList t1 t2; elif h1 < h2 then printf "%d " h1; printSortedList t1 l2; else printf "%d " h2; printSortedList l1 t2; | [] , h2 :: t2 -> printf "%d " h2; printSortedList [] t2; | h1 :: t1, [] -> printf "%d " h1; printSortedList t1 []; | [], [] -> printfn""; The performance of using them ...
[ -0.000698089599609375, 0.0203857421875, 0.00872802734375, -0.00860595703125, -0.000194549560546875, -0.0020904541015625, -0.017822265625, -0.00830078125, 0.019775390625, 0.005096435546875, 0.01318359375, 0.0390625, 0.0101318359375, 0.00140380859375, -0.00933837890625, -0.01031494140625...
[ 116, 7068, 28412, 420, 3949, 71, 1096, 418, 74, 158240, 3674, 154663, 808, 304, 88, 3190, 4426, 14783, 23718, 17368, 2856, 154186, 58696, 10862, 32036, 5527, 214, 50339, 468, 6032, 563, 9902, 110324, 107730, 1022, 5442, 4283, 113, 3559, 1...
[ 0.1107177734375, 0.013580322265625, 0.1746826171875, 0.1142578125, 0.0078125, 0.034423828125, 0.085205078125, 0.058807373046875, 0.048675537109375, 0.160400390625, 0.0972900390625, 0.182373046875, 0.045654296875, 0.1148681640625, 0.0236053466796875, 0.082275390625, 0.07177734375, 0...
embed
62925308_c0
62925308
fsharp
0
Title: How can I wrap sprintf + a call into a single function, and have two signatures, in F#? Problem title: How can I wrap sprintf + a call into a single function, and have two signatures, in F#? Tags: f%23 Problem: How can I wrap sprintf + a call into a single function, and have two signatures, in F#? I have a funct...
How can I wrap sprintf + a call into a single function, and have two signatures, in F#? How can I wrap sprintf + a call into a single function, and have two signatures, in F#? f%23 How Print settings.Print DateTime.UtcNow How can I wrap sprintf + a call into a single function, and have two signatures, in F#? I have a f...
[ -0.0201416015625, 0.011474609375, 0.00518798828125, 0.018798828125, -0.0128173828125, 0.016845703125, -0.00518798828125, -0.0283203125, 0.0013275146484375, 0.00335693359375, 0.01544189453125, 0.00970458984375, -0.001708984375, -0.02099609375, 0.0103759765625, 0.00933837890625, 0.0080...
[ 11249, 831, 137565, 145320, 420, 997, 11782, 3934, 11001, 32354, 765, 6626, 138256, 563, 4904, 1238, 3742, 39754, 53550, 112079, 18, 25512, 70059, 106742, 238, 137594, 51776, 79315, 25379, 47, 33949, 115081, 40368, 88996, 112892, 18929, 86531, ...
[ 0.05047607421875, 0.05242919921875, 0.2174072265625, 0.2037353515625, 0.23486328125, 0.1641845703125, 0.196044921875, 0.077392578125, 0.14892578125, 0.2166748046875, 0.0302734375, 0.17919921875, 0.2254638671875, 0.1116943359375, 0.1953125, 0.0784912109375, 0.1241455078125, 0.158203...
embed
3857474_c0
3857474
fsharp
0
Title: How to constrain one type parameter by another Problem title: How to constrain one type parameter by another Tags: f%23 Problem: How to constrain one type parameter by another Is there a way to constrain one type parameter to be derived from another? type Foo<'T, 'U when 'U :> 'T> = member x.Bar() : 'T = upcast ...
How to constrain one type parameter by another How to constrain one type parameter by another f%23 How Foo x.Bar Unchecked.defaultof How to constrain one type parameter by another Is there a way to constrain one type parameter to be derived from another? This code produces the following errors:
[ 0.0020904541015625, 0.0035400390625, 0.007232666015625, 0.0029754638671875, 0.0035858154296875, -0.0296630859375, -0.00982666015625, 0.0091552734375, -0.002105712890625, 0.002166748046875, -0.00872802734375, -0.0257568359375, 0.006439208984375, 0.0238037109375, -0.007171630859375, -0.0...
[ 11249, 47, 158, 2816, 73, 1632, 10644, 171859, 390, 15700, 1238, 3949, 3742, 9572, 31, 1022, 25267, 992, 78292, 214810, 4390, 3917, 186, 16406, 4126, 1295, 18151, 27489, 25632, 18499 ]
[ 0.046142578125, 0.0819091796875, 0.1070556640625, 0.193603515625, 0.143798828125, 0.1051025390625, 0.1966552734375, 0.23291015625, 0.1029052734375, 0.10693359375, 0.05426025390625, 0.01171875, 0.1163330078125, 0.10479736328125, 0.07965087890625, 0.1611328125, 0.168212890625, 0.0530...
embed
28845241_c1
28845241
fsharp
1
: ID: 0, Make: , Model: ID: 0, Make: , Model: However if I change the type to this: [<CLIMutable>] [<DataContract>] type Car = { [<field: DataMember(Name="ID")>] mutable ID : int64 [<field: DataMember(Name="Make")>] mutable Make : string [<field: DataMember(Name="Model")>] mutable Model : string } It will then print ou...
: ID: 0, Make: , Model: ID: 0, Make: , Model: However if I change the type to this: [<CLIMutable>] [<DataContract>] type Car = { [<field: DataMember(Name="ID")>] mutable ID : int64 [<field: DataMember(Name="Make")>] mutable Make : string [<field: DataMember(Name="Model")>] mutable Model : string } It will then print ou...
[ 0.0086669921875, 0.00074005126953125, -0.01007080078125, 0.000408172607421875, 0.0184326171875, 0.0252685546875, 0.0166015625, 0.002899169921875, 0.019775390625, 0.0007476806640625, -0.0186767578125, 0.01019287109375, 0.0091552734375, 0.00848388671875, 0.0050048828125, 0.01708984375, ...
[ 11338, 757, 26176, 13293, 15549, 10644, 47, 903, 83318, 34, 22819, 137989, 39989, 3980, 28394, 11809, 594, 27417, 163612, 7146, 842, 13307, 79315, 140290, 28412, 1810, 106, 33220, 29899, 6651, 103911, 29426, 138, 120844, 44084, 765, 15190, 12...
[ 0.1407470703125, 0.10040283203125, 0.0860595703125, 0.1556396484375, 0.154541015625, 0.209228515625, 0.0279083251953125, 0.03057861328125, 0.145751953125, 0.1199951171875, 0.2587890625, 0.078369140625, 0.1285400390625, 0.1885986328125, 0.1029052734375, 0.0701904296875, 0.012481689453...
embed
23973233_c0
23973233
fsharp
0
Title: Get from IQueryable to IEnumerable Problem title: Get from IQueryable to IEnumerable Tags: f%23, casting Problem: Get from IQueryable to IEnumerable this should be a quick one for all you f# rockers, but it's got me stuck at the moment. I've got an F# type which I'm trying to get to implement a c# interface publ...
Get from IQueryable to IEnumerable Get from IQueryable to IEnumerable f%23 casting IQueryable Get IEnumerable ICrudService DelEntity GetAll repo.GetAll CrudService IRepo this.GetAll Get from IQueryable to IEnumerable this should be a quick one for all you f# rockers, but it's got me stuck at the moment. I've got an F# ...
[ -0.003814697265625, 0.00830078125, -0.00543212890625, -0.01470947265625, -0.000152587890625, 0.009033203125, -0.01373291015625, 0.0078125, -0.006591796875, -0.041259765625, 0.00186920166015625, -0.016357421875, -0.0135498046875, 0.000560760498046875, -0.00909423828125, -0.016357421875,...
[ 20779, 1295, 87, 41732, 1294, 2886, 47, 75536, 2606, 56, 1238, 3949, 3742, 176050, 32721, 121979, 8901, 7768, 18, 2481, 43512, 93392, 724, 126, 41649, 71, 13, 771, 903, 5608, 63773, 756, 4904, 13950, 1314, 4163, 163, 179933, 3095, 563, ...
[ 0.1207275390625, 0.15771484375, 0.1390380859375, 0.1861572265625, 0.1790771484375, 0.2127685546875, 0.112060546875, 0.187744140625, 0.2509765625, 0.1986083984375, 0.0672607421875, 0.037200927734375, 0.1373291015625, 0.148193359375, 0.1099853515625, 0.1573486328125, 0.1309814453125, ...
embed
60022960_c0
60022960
fsharp
0
Title: F# Function programming Problem title: F# Function programming Tags: f%23, function Problem: F# Function programming Define the function add10, which takes an integer argument, adds 10 to it, and returns the result. Define the function add20, which uses add10 to add 20 to a given integer. (add20 is not allowed to ...
F# Function programming F# Function programming f%23 function add20 add10 x:int add10:int F# Function programming I am unsure if I am thinking too hard about this and there is a simpler solution like just adding another function he is not asking for, as he didn't specify whether I could or couldn't but only need to use...
[ 0.00872802734375, -0.007080078125, -0.0013580322265625, 0.01129150390625, -0.0047607421875, 0.01220703125, -0.00445556640625, -0.02197265625, -0.0218505859375, -0.01422119140625, 0.0213623046875, 0.017822265625, -0.01055908203125, 0.025146484375, 0.02490234375, -0.0203857421875, 0.00...
[ 563, 4904, 28670, 56037, 1238, 3949, 3742, 32354, 15190, 1549, 963, 1022, 4288, 51646, 47644, 7941, 8781, 29806, 154107, 764, 959, 113292, 5809, 69427, 18, 4527, 75447, 53418, 26366, 387, 15490, 66044, 24092, 184345, 1660, 4734, 89778, 892, ...
[ 0.0770263671875, 0.13037109375, 0.095947265625, 0.0615234375, 0.06427001953125, 0.005096435546875, 0.1453857421875, 0.1639404296875, 0.151611328125, 0.18896484375, 0.1849365234375, 0.0732421875, 0.1241455078125, 0.0250701904296875, 0.0192108154296875, 0.001373291015625, 0.00964355468...
embed
24068078_c0
24068078
fsharp
0
Title: Process function in parallel/async and append results, returning one list of results? Problem title: Process function in parallel/async and append results, returning one list of results? Tags: html-agility-pack, f%23, c%23-to-f%23 Problem: Process function in parallel/async and append results, returning one list...
Process function in parallel/async and append results, returning one list of results? Process function in parallel/async and append results, returning one list of results? html-agility-pack f%23 c%23-to-f%23 Process Seq.map Async.Parallel Async.RunSynchronously Array.mapi Process function in parallel/async and append r...
[ 0.0086669921875, 0.02880859375, -0.033447265625, 0.00360107421875, -0.0179443359375, -0.007110595703125, 0.011474609375, 0.005279541015625, 0.00848388671875, -0.0294189453125, -0.01318359375, 0.024658203125, -0.00007581710815429688, -0.0013275146484375, 0.0191650390625, -0.006134033203...
[ 123996, 32354, 95103, 12654, 238, 114689, 71, 50339, 30646, 1632, 5303, 7693, 2703, 103133, 29102, 3742, 27495, 188, 503, 864, 62346, 55292, 1229, 163321, 217835, 1900, 79850, 69253, 53, 192, 1434, 23, 214, 79315, 3444, 8560, 8305, 10298, 1...
[ 0.21435546875, 0.212890625, 0.255126953125, 0.1632080078125, 0.0765380859375, 0.1429443359375, 0.0660400390625, 0.22314453125, 0.1524658203125, 0.0791015625, 0.151611328125, 0.1475830078125, 0.114990234375, 0.1700439453125, 0.197509765625, 0.0682373046875, 0.03472900390625, 0.06842...
embed
62818362_c0
62818362
fsharp
0
Title: Using StringBuilder with a computation expression, in F# Problem title: Using StringBuilder with a computation expression, in F# Tags: f%23, stringbuilder Problem: Using StringBuilder with a computation expression, in F# I have a lot of code using string builders and I am looking for a way to simplify the syntax...
Using StringBuilder with a computation expression, in F# Using StringBuilder with a computation expression, in F# f%23 stringbuilder Using StringBuilder Map.map data.DescribeIntoAString Using StringBuilder with a computation expression, in F# I have a lot of code using string builders and I am looking for a way to simp...
[ -0.0196533203125, -0.00970458984375, 0.02099609375, 0.0098876953125, -0.0177001953125, 0.01055908203125, 0.01531982421875, 0.0166015625, 0.016357421875, -0.04052734375, -0.003631591796875, 0.0020751953125, 0.0302734375, 0.01483154296875, 0.0203857421875, -0.009521484375, -0.010864257...
[ 345, 23351, 214, 121137, 56, 678, 181135, 1363, 125195, 563, 4904, 1238, 3742, 79315, 177149, 42719, 62346, 2053, 4657, 34601, 188, 2852, 5915, 18151, 17368, 45367, 1314, 112892, 18929, 6002, 86531, 93, 58134, 254, 108161, 34, 22062, 204629, ...
[ 0.0858154296875, 0.176513671875, 0.0947265625, 0.2205810546875, 0.137939453125, 0.07757568359375, 0.186767578125, 0.0194244384765625, 0.1966552734375, 0.080322265625, 0.1298828125, 0.0270843505859375, 0.0997314453125, 0.2001953125, 0.199951171875, 0.1151123046875, 0.098388671875, 0...
embed
40250567_c0
40250567
fsharp
0
Title: F# Wsdl Provider - Handling x references a method and a type issue Problem title: F# Wsdl Provider - Handling x references a method and a type issue Tags: type-providers, wsdl, f%23 Problem: F# Wsdl Provider - Handling x references a method and a type issue I'm using the F# Type Provider to consume a web service...
F# Wsdl Provider - Handling x references a method and a type issue F# Wsdl Provider - Handling x references a method and a type issue type-providers wsdl f%23 System.InvalidOperationException namespace WebMethodAttribute the Wsdl Provider Handling System.Xml.dll Additional XML ResponseBO com.x.xx Change XmlRootAttribut...
[ 0.01397705078125, 0.050048828125, -0.004730224609375, 0.0005950927734375, -0.001953125, 0.004119873046875, -0.01953125, -0.0089111328125, -0.014404296875, -0.00982666015625, 0.000331878662109375, -0.0020751953125, 0.01513671875, 0.0050048828125, 0.00244140625, -0.006591796875, 0.0032...
[ 563, 4904, 601, 7, 20469, 123089, 42, 193237, 1022, 91067, 55300, 136, 10644, 31089, 93136, 148, 1238, 3949, 3742, 12353, 7013, 156823, 63928, 210716, 4002, 78572, 7352, 191145, 1542, 7237, 1181, 92537, 92748, 17398, 375, 425, 52219, 87377, ...
[ 0.120849609375, 0.205810546875, 0.114013671875, 0.05865478515625, 0.181640625, 0.1617431640625, 0.071044921875, 0.1907958984375, 0.134033203125, 0.2191162109375, 0.1534423828125, 0.0804443359375, 0.20654296875, 0.15771484375, 0.1552734375, 0.0589599609375, 0.07568359375, 0.00180053...
embed
7221939_c0
7221939
fsharp
0
Title: Writing F# code to parse &quot;2 + 2&quot; into code Problem title: Writing F# code to parse &quot;2 + 2&quot; into code Tags: f%23 Problem: Writing F# code to parse "2 + 2" into code Extremely just-started-yesterday new to F#. What I want: To write code that parses the string "2 + 2" into (using as an example c...
Writing F# code to parse &quot;2 + 2&quot; into code Writing F# code to parse &quot;2 + 2&quot; into code f%23 Writing y::ys script.Split script.Length Writing F# code to parse "2 + 2" into code Extremely just-started-yesterday new to F#. What I want: To write code that parses the string "2 + 2" into (using as an examp...
[ -0.01153564453125, 0.010986328125, -0.0052490234375, 0.02294921875, 0.007568359375, 0.024169921875, 0.011474609375, -0.0111083984375, 0.010498046875, -0.025146484375, -0.002838134765625, -0.01043701171875, -0.0145263671875, -0.00396728515625, 0.00799560546875, 0.01220703125, 0.013366...
[ 213185, 563, 4904, 18151, 47, 366, 184, 304, 997, 116, 41502, 3934, 1238, 3949, 3742, 113, 4778, 26499, 31923, 4353, 449, 96051, 1660, 17137, 3525, 3444, 33022, 5908, 79315, 27781, 57143, 13452, 60075, 42, 4028, 19279, 10287, 839, 316, 49...
[ 0.12255859375, 0.144287109375, 0.2227783203125, 0.197509765625, 0.0379638671875, 0.140625, 0.083984375, 0.16064453125, 0.2249755859375, 0.2061767578125, 0.0274810791015625, 0.126953125, 0.1080322265625, 0.021331787109375, 0.1484375, 0.07177734375, 0.08465576171875, 0.16650390625, ...
embed
44193638_c0
44193638
fsharp
0
Title: Continuously logging in F# Problem title: Continuously logging in F# Tags: printf, f%23, string-formatting, .net Problem: Continuously logging in F# I'm trying to create 2 logging functions: one is to directly print to stdout, another is to print with an antecedent string [Error] . let log message = printfn mess...
Continuously logging in F# Continuously logging in F# printf f%23 string-formatting .net twError Continuously Error tw:System.IO.TextWriter tw.Write message:Printf.StringFormat Printf.TextWriterFormat System.DateTime.Now date.ToString TextWriterFormat Continuously logging in F# I'm trying to create 2 logging functions:...
[ 0.0024261474609375, 0.0081787109375, 0.003570556640625, 0.00799560546875, 0.01214599609375, -0.021240234375, 0.00775146484375, 0.01116943359375, 0.00396728515625, -0.02783203125, 0.023681640625, 0.0023040771484375, 0.00848388671875, 0.00052642822265625, 0.01385498046875, 0.002502441406...
[ 100761, 79850, 459, 36659, 23, 563, 4904, 28412, 420, 1238, 3742, 79315, 51727, 1179, 77488, 18468, 31611, 212059, 84293, 17780, 174379, 1456, 2783, 26008, 112079, 71713, 102973, 39754, 12353, 70059, 137594, 5622, 7763, 24129, 28282, 116, 32354...
[ 0.163330078125, 0.08642578125, 0.1444091796875, 0.1531982421875, 0.052978515625, 0.1181640625, 0.2008056640625, 0.1248779296875, 0.09649658203125, 0.02752685546875, 0.114013671875, 0.18212890625, 0.1268310546875, 0.132080078125, 0.12744140625, 0.09906005859375, 0.1414794921875, 0.1...
embed
2250220_c0
2250220
fsharp
0
Title: F# 2.0 namespace warning Problem title: F# 2.0 namespace warning Tags: namespaces, f%23 Problem: F# 2.0 namespace warning I just installed the latest version of F#, and opened an old solution to see what it would tell me. It's a multi-file solution, where the first file includes some 'extension functions' on the...
F# 2.0 namespace warning F# 2.0 namespace warning namespaces f%23 List Given _::_ List.map List.hd List.tl Foo.List F# 2.0 namespace warning I just installed the latest version of F#, and opened an old solution to see what it would tell me. It's a multi-file solution, where the first file includes some 'extension funct...
[ 0.0034637451171875, 0.0098876953125, 0.0174560546875, 0.01116943359375, -0.00213623046875, -0.0050048828125, -0.01483154296875, -0.00897216796875, -0.000865936279296875, -0.0123291015625, 0.0146484375, 0.0201416015625, -0.0030670166015625, -0.00152587890625, -0.0072021484375, -0.004577...
[ 563, 4904, 16655, 210716, 1631, 592, 1238, 3949, 3742, 32036, 77878, 62346, 20257, 18, 141, 9572, 31, 154663, 20600, 42850, 11389, 142096, 10332, 29806, 6024, 29822, 5117, 11435, 96853, 3355, 128872, 32354, 88996, 9969, 34759, 110, 51713, 188...
[ 0.135498046875, 0.2161865234375, 0.226318359375, 0.2413330078125, 0.1551513671875, 0.052459716796875, 0.10467529296875, 0.0133056640625, 0.136962890625, 0.19921875, 0.03570556640625, 0.1431884765625, 0.1363525390625, 0.010040283203125, 0.021636962890625, 0.12158203125, 0.084228515625...
embed
45848103_c0
45848103
fsharp
0
Title: Cannot define a computation expression custom &quot;condition&quot; operator Problem title: Cannot define a computation expression custom &quot;condition&quot; operator Tags: computation-expression, custom-operator, f%23 Problem: Cannot define a computation expression custom "condition" operator I am having seri...
Cannot define a computation expression custom &quot;condition&quot; operator Cannot define a computation expression custom &quot;condition&quot; operator computation-expression custom-operator f%23 Cannot Builder CustomOperation MaintainsVariableSpaceUsingBind this.Condition ProjectionParameter AttemptBuilder exp1 exp2...
[ -0.003570556640625, 0.024169921875, 0.0155029296875, -0.006317138671875, -0.0021820068359375, 0.00982666015625, 0.0086669921875, -0.002716064453125, 0.01025390625, -0.0037078857421875, -0.002288818359375, 0.009033203125, 0.0257568359375, -0.016357421875, 0.0028533935546875, 0.026733398...
[ 4171, 10869, 61924, 181135, 125195, 114122, 126940, 39933, 204629, 206469, 1238, 3742, 121137, 56, 130664, 156823, 25500, 81827, 2886, 141012, 7250, 903, 11935, 428, 27331, 29089, 34224, 14700, 418, 304, 1363, 80934, 35431, 18151, 100, 27781, 1...
[ 0.0098876953125, 0.1279296875, 0.197998046875, 0.160400390625, 0.2198486328125, 0.220703125, 0.293212890625, 0.241455078125, 0.171142578125, 0.1881103515625, 0.054656982421875, 0.1044921875, 0.0865478515625, 0.0404052734375, 0.1456298828125, 0.1405029296875, 0.0301361083984375, 0.0...
embed
19969863_c0
19969863
fsharp
0
Title: Targets for FSharp project with MonoFramework? Problem title: Targets for FSharp project with MonoFramework? Tags: mono, f%23, xamarin Problem: Targets for FSharp project with MonoFramework? I've found solution to get C# / F# on travis: How do I use Travis-CI with C# or F# except I get 3.2.4 version I checked ar...
Targets for FSharp project with MonoFramework? Targets for FSharp project with MonoFramework? mono f%23 xamarin Targets FSharp MonoFramework Microsoft.FSharp.Targets Project MSBuildExtensionsPath32 Microsoft VisualStudio v12.0 Xamarin Targets for FSharp project with MonoFramework? I've found solution to get C# / F# on ...
[ -0.01031494140625, 0.02685546875, 0.007354736328125, -0.0174560546875, -0.0037994384765625, -0.00933837890625, 0.0036468505859375, -0.0032958984375, -0.00848388671875, -0.000942230224609375, 0.00933837890625, -0.018310546875, -0.0179443359375, 0.01275634765625, 0.0113525390625, 0.00805...
[ 160017, 7, 100, 93774, 3467, 254, 13452, 678, 77879, 108386, 282, 18244, 22460, 1238, 3742, 2459, 44503, 7244, 36381, 63031, 3794, 27331, 121137, 128872, 10519, 6460, 73372, 109023, 31, 81, 418, 73011, 8606, 29806, 2046, 313, 4904, 248, 563...
[ 0.283203125, 0.07269287109375, 0.0426025390625, 0.114013671875, 0.20751953125, 0.200439453125, 0.129638671875, 0.0980224609375, 0.1861572265625, 0.1517333984375, 0.04193115234375, 0.1319580078125, 0.1666259765625, 0.104248046875, 0.10986328125, 0.07904052734375, 0.2052001953125, 0....
embed
59381739_c0
59381739
fsharp
0
Title: Is there a way in F# to chain computation? Problem title: Is there a way in F# to chain computation? Tags: f%23 Problem: Is there a way in F# to chain computation? I would like to create a chain of expressions and any of them can fail when the computation should just stop. With Unix pipes it is usually like this...
Is there a way in F# to chain computation? Is there a way in F# to chain computation? f%23 bash-3.2 None LogAndStop Some LogAndContinue Is there a way in F# to chain computation? I would like to create a chain of expressions and any of them can fail when the computation should just stop. With Unix pipes it is usually l...
[ -0.0159912109375, 0.00634765625, 0.02099609375, 0.011962890625, 0.00762939453125, 0.0022125244140625, 0.0189208984375, -0.025390625, -0.0007171630859375, -0.009521484375, -0.007568359375, 0.0281982421875, 0.01409912109375, 0.00885009765625, 0.0206298828125, 0.00823974609375, 0.010192...
[ 2071, 2685, 10, 3917, 23, 563, 4904, 47, 121293, 181135, 1363, 1238, 3742, 87109, 107033, 438, 13146, 37839, 156095, 31384, 100761, 13, 1884, 28282, 125195, 831, 35782, 3229, 5608, 1660, 7279, 992, 4084, 137158, 442, 56104, 14847, 9844, 225...
[ 0.028472900390625, 0.03594970703125, 0.1011962890625, 0.14453125, 0.100830078125, 0.1900634765625, 0.2493896484375, 0.1357421875, 0.289794921875, 0.238525390625, 0.112060546875, 0.125732421875, 0.1168212890625, 0.17041015625, 0.156982421875, 0.0628662109375, 0.1240234375, 0.1389160...
embed
21738387_c0
21738387
fsharp
0
Title: Recursion &amp; Immutability in F# Problem title: Recursion &amp; Immutability in F# Tags: f%23, recursion Problem: Recursion & Immutability in F# Consider the following simplistic example: type Parent = { Children : Child list } and Child = { Value : int ; Parent : Parent } let rec children = [ { Value = 0 ; Pa...
Recursion &amp; Immutability in F# Recursion &amp; Immutability in F# f%23 recursion Recursion Immutability Parent Children Child Value obj.ReferenceEquals parent.Children.Head.Parent List.init Recursion & Immutability in F# Consider the following simplistic example: The F# compiler is smart enough to correctly initial...
[ 0.00171661376953125, 0.0196533203125, -0.00170135498046875, 0.006622314453125, 0.0006103515625, 0.00445556640625, 0.0026397705078125, -0.0022125244140625, 0.016845703125, -0.034423828125, 0.004241943359375, 0.019775390625, 0.0086669921875, 0.0247802734375, 0.029052734375, -0.0056762695...
[ 165428, 42, 6889, 619, 25133, 3370, 14311, 41159, 563, 4904, 1238, 3949, 3742, 195625, 1830, 170918, 91345, 123829, 190060, 995, 170, 69988, 71723, 49129, 102656, 982, 13025, 712, 28636, 2517, 32036, 73, 217, 23, 112892, 27781, 9969, 34759, ...
[ 0.1822509765625, 0.1878662109375, 0.1507568359375, 0.0882568359375, 0.0777587890625, 0.064453125, 0.21337890625, 0.154296875, 0.158203125, 0.2479248046875, 0.07354736328125, 0.012359619140625, 0.1224365234375, 0.239013671875, 0.06719970703125, 0.15966796875, 0.1463623046875, 0.1119...
embed
15582534_c0
15582534
fsharp
0
Title: F# - Type augmentation VS Type extension Problem title: F# - Type augmentation VS Type extension Tags: f%23, type-extension Problem: F# - Type augmentation VS Type extension What exactly is the difference between F#'s type augmentation and type extension, and do we really need both? Are there situations where on...
F# - Type augmentation VS Type extension F# - Type augmentation VS Type extension f%23 type-extension Type F# - Type augmentation VS Type extension What exactly is the difference between F#'s type augmentation and type extension, and do we really need both? Are there situations where one is better than the other, and v...
[ 0.01031494140625, 0.02490234375, 0.0257568359375, 0.01336669921875, -0.01092529296875, -0.00946044921875, -0.01263427734375, 0.019775390625, -0.002593994140625, 0.0107421875, -0.0020294189453125, -0.00848388671875, 0.002349853515625, 0.011474609375, 0.0038909912109375, -0.005126953125,...
[ 563, 4904, 60457, 172562, 44160, 111938, 20, 1238, 3949, 3742, 10644, 3355, 128872, 66161, 70, 60212, 17721, 6, 136, 54, 642, 6183, 3871, 15044, 113949, 7440, 1632, 11522, 3501, 3789, 22925, 28784, 113292, 59619, 69427, 31635, 15400, 99201, ...
[ 0.153564453125, 0.237060546875, 0.257080078125, 0.24365234375, 0.1904296875, 0.247802734375, 0.0003662109375, 0.09527587890625, 0.01727294921875, 0.0810546875, 0.2476806640625, 0.0565185546875, 0.08111572265625, 0.04107666015625, 0.011383056640625, 0.170166015625, 0.1009521484375, ...
embed
51052596_c0
51052596
fsharp
0
Title: F# class type with unusual construction feature Problem title: F# class type with unusual construction feature Tags: f%23 Problem: F# class type with unusual construction feature type T4(i1: int, i2: int) = new (?maybei1: int, ?maybei2: int) = but I couldn't get a version that I can instantiate with both optiona...
F# class type with unusual construction feature F# class type with unusual construction feature f%23 maybei1 maybei2 t11 t12 t13 t14 t24 t22 t23 F# class type with unusual construction feature I have a class type defined like this: All the following work: but this one doesn't (as expected): on the other hand, if I defi...
[ -0.0037078857421875, 0.02099609375, -0.009521484375, -0.01068115234375, -0.007598876953125, -0.0211181640625, -0.0128173828125, 0.0024871826171875, 0.0125732421875, 0.0159912109375, -0.0081787109375, -0.0130615234375, 0.006927490234375, -0.0013885498046875, -0.01507568359375, 0.0070190...
[ 563, 4904, 18507, 10644, 678, 225073, 50961, 60213, 1238, 3742, 51139, 418, 304, 1662, 1530, 2681, 2592, 2357, 4015, 765, 61924, 1884, 903, 3164, 25632, 4488, 1284, 22027, 18, 162, 84751, 759, 237, 831, 64549, 110527, 390, 370, 8705, 388,...
[ 0.103515625, 0.186279296875, 0.21728515625, 0.2230224609375, 0.0323486328125, 0.1920166015625, 0.13720703125, 0.1466064453125, 0.057373046875, 0.0792236328125, 0.0888671875, 0.0207977294921875, 0.0233306884765625, 0.06268310546875, 0.034088134765625, 0.048431396484375, 0.070373535156...
embed
36953992_c2
36953992
fsharp
2
:\Users\panga\project\AleaGPUTutorial\packages\FSharp.Data\lib\net40\FSharp.Data.dll -r:C:\Users\panga\project\AleaGPUTutorial\packages\FsUnit\lib\FsUnit.CustomMatchers.dll Code signals: System.Runtime.Remoting.RemotingException, AOTCompileServer, AleaGPUTutorial, Rebuild, All, Project, Tutorial.Fs, Configuration, Rele...
:\Users\panga\project\AleaGPUTutorial\packages\FSharp.Data\lib\net40\FSharp.Data.dll -r:C:\Users\panga\project\AleaGPUTutorial\packages\FsUnit\lib\FsUnit.CustomMatchers.dll Code signals: System.Runtime.Remoting.RemotingException, AOTCompileServer, AleaGPUTutorial, Rebuild, All, Project, Tutorial.Fs, Configuration, Rele...
[ 0.000675201416015625, 0.0107421875, 0.01019287109375, -0.005126953125, 0.012939453125, -0.005645751953125, 0.01397705078125, -0.01495361328125, -0.01202392578125, 0.007781982421875, -0.00080108642578125, -0.01531982421875, 0.005828857421875, 0.00168609619140625, 0.009033203125, 0.00378...
[ 152, 41872, 1062, 7, 1314, 78988, 95322, 117299, 11, 724, 124599, 34, 77275, 29102, 36381, 3467, 254, 137989, 5612, 1179, 2839, 71, 1181, 441, 919, 85600, 18, 223, 5928, 79520, 28864, 26073, 12, 12353, 163321, 4332, 432, 1916, 63928, 62, ...
[ 0.051849365234375, 0.03729248046875, 0.05596923828125, 0.09375, 0.1072998046875, 0.1986083984375, 0.1080322265625, 0.141845703125, 0.0975341796875, 0.1107177734375, 0.0975341796875, 0.1163330078125, 0.1781005859375, 0.16943359375, 0.0899658203125, 0.1702880859375, 0.2049560546875, ...
embed
75099971_c0
75099971
fsharp
0
Title: How to group data attached to discriminated union values, in F#? Problem title: How to group data attached to discriminated union values, in F#? Tags: f%23, discriminated-union Problem: How to group data attached to discriminated union values, in F#? Here is an example: type Events = | A of AData | B of BData | ...
How to group data attached to discriminated union values, in F#? How to group data attached to discriminated union values, in F#? f%23 discriminated-union How Events AData BData CData List.map Some None List.choose List.rev x::a x::b x::c How to group data attached to discriminated union values, in F#? Here is an examp...
[ -0.006256103515625, -0.0038909912109375, 0.02001953125, -0.005096435546875, -0.0283203125, -0.00860595703125, -0.00830078125, 0.01507568359375, 0.017822265625, 0.0038909912109375, -0.000957489013671875, 0.00665283203125, 0.00946044921875, 0.012451171875, -0.0181884765625, -0.009765625,...
[ 11249, 47, 21115, 2053, 220642, 55970, 3674, 69941, 142424, 563, 4904, 1238, 3742, 87046, 123560, 62, 137989, 335, 1724, 32036, 62346, 438, 3089, 65381, 238, 23, 27781, 765, 5303, 3871, 45367, 390, 19732, 10644, 5036, 54, 119140, 17569, 580...
[ 0.09881591796875, 0.07684326171875, 0.2423095703125, 0.193115234375, 0.1646728515625, 0.2384033203125, 0.110107421875, 0.2049560546875, 0.156982421875, 0.1363525390625, 0.207763671875, 0.1015625, 0.1087646484375, 0.166748046875, 0.1492919921875, 0.0845947265625, 0.1373291015625, 0....
embed
48322324_c1
48322324
fsharp
1
program to crash here: Conversions.nint(listings.Length) with the following exception: System.NullReferenceException has been thrown. Object reference not set to an instance of an object. This doesn't make any sense to me as the code works fine without the delegate being set, so listings is not null. Code signals: Sys...
program to crash here: Conversions.nint(listings.Length) with the following exception: System.NullReferenceException has been thrown. Object reference not set to an instance of an object. This doesn't make any sense to me as the code works fine without the delegate being set, so listings is not null. Code signals: Sys...
[ -0.0159912109375, 0.0262451171875, 0.01336669921875, -0.000492095947265625, -0.0133056640625, 0.01324462890625, 0.0016632080078125, -0.01434326171875, 0.006439208984375, 0.01324462890625, -0.002960205078125, 0.01708984375, 0.01287841796875, 0.0169677734375, 0.02490234375, -0.0151977539...
[ 1528, 47, 150631, 3688, 1657, 46354, 7, 694, 18, 6562, 5180, 5267, 449, 927, 25632, 131527, 12353, 18444, 1181, 4332, 69988, 19279, 63928, 1556, 104250, 134549, 91067, 959, 5423, 110527, 36746, 10422, 18151, 43240, 5885, 102329, 5303, 56574, ...
[ 0.1871337890625, 0.05621337890625, 0.2391357421875, 0.05059814453125, 0.036407470703125, 0.17236328125, 0.02044677734375, 0.1109619140625, 0.075927734375, 0.157470703125, 0.169677734375, 0.009063720703125, 0.07928466796875, 0.0614013671875, 0.0249786376953125, 0.173828125, 0.09631347...
embed
70642657_c0
70642657
fsharp
0
Title: Functional Programming - Avoid making my variable mutable when counting it down Problem title: Functional Programming - Avoid making my variable mutable when counting it down Tags: functional-programming, f%23 Problem: Functional Programming - Avoid making my variable mutable when counting it down Yesterday's th...
Functional Programming - Avoid making my variable mutable when counting it down Functional Programming - Avoid making my variable mutable when counting it down functional-programming f%23 Functional Programming Avoid fighterPair:list Domain.Pokemon Functional Programming - Avoid making my variable mutable when counting...
[ -0.0038604736328125, 0.0045166015625, 0.005218505859375, 0.01220703125, -0.005889892578125, 0.000164031982421875, 0.007232666015625, -0.003265380859375, 0.0234375, -0.0274658203125, -0.000705718994140625, 0.006256103515625, 0.0150146484375, 0.033203125, 0.01031494140625, -0.00775146484...
[ 28670, 10763, 289, 27958, 214, 84361, 532, 20662, 759, 77336, 842, 22819, 3229, 54529, 442, 7565, 123309, 28966, 1238, 3742, 202523, 8335, 481, 6562, 93702, 7192, 350, 3796, 86997, 43581, 31089, 19048, 71864, 756, 40494, 36599, 181812, 28864,...
[ 0.09588623046875, 0.08245849609375, 0.034088134765625, 0.1864013671875, 0.06103515625, 0.187744140625, 0.1131591796875, 0.0938720703125, 0.07080078125, 0.263916015625, 0.172119140625, 0.1827392578125, 0.0168304443359375, 0.1773681640625, 0.08160400390625, 0.184326171875, 0.1618652343...
embed
37122102_c0
37122102
fsharp
0
Title: Sorting an Array so that all elements with Some are in front Problem title: Sorting an Array so that all elements with Some are in front Tags: .net, f%23, option-type, sorting, arrays Problem: Sorting an Array so that all elements with Some are in front I have an F# record type ( Request<'a> ) defined with one o...
Sorting an Array so that all elements with Some are in front Sorting an Array so that all elements with Some are in front .net f%23 option-type sorting arrays Sorting Array Some Request None req1:Request req2:Request req1.ResourceCondition.IsSome req2.ResourceCondition.IsSome Array.sortWith Sorting an Array so that all...
[ 0.0087890625, 0.01300048828125, -0.0038909912109375, -0.02734375, -0.0130615234375, -0.02294921875, -0.000545501708984375, -0.022216796875, -0.0103759765625, 0.02880859375, 0.004913330078125, 0.0228271484375, -0.00537109375, -0.01116943359375, -0.003997802734375, -0.0174560546875, 0....
[ 53666, 214, 69253, 53, 221, 756, 80854, 678, 31384, 23, 12912, 1179, 1238, 3742, 35829, 50986, 12096, 10298, 4778, 75616, 438, 86, 456, 864, 60427, 428, 8912, 282, 62351, 194583, 563, 4904, 17164, 10644, 11, 61924, 111, 44457, 142484, 280...
[ 0.2020263671875, 0.054840087890625, 0.177001953125, 0.162109375, 0.047637939453125, 0.099609375, 0.1651611328125, 0.10113525390625, 0.2161865234375, 0.08740234375, 0.1937255859375, 0.10614013671875, 0.0172882080078125, 0.130615234375, 0.172607421875, 0.05804443359375, 0.1778564453125...
embed
50634591_c1
50634591
fsharp
1
(pairs s1 s2) | (SI s1, IS s2) -> SIIS (pairs s1 s2) | (SI s1, SI s2) -> SISI (pairs s1 s2) The assignment is to create a function, 'pairs', that assembles the Cartesian product of the SET elements. We were told to begin with creating a function that can distribute a value across a list. I have done so here: let rec d...
(pairs s1 s2) | (SI s1, IS s2) -> SIIS (pairs s1 s2) | (SI s1, SI s2) -> SISI (pairs s1 s2) The assignment is to create a function, 'pairs', that assembles the Cartesian product of the SET elements. We were told to begin with creating a function that can distribute a value across a list. I have done so here: let rec d...
[ -0.00946044921875, 0.019775390625, 0.0036163330078125, 0.00004172325134277344, -0.011962890625, -0.00677490234375, -0.03955078125, -0.00201416015625, 0.01611328125, -0.0196533203125, 0.028564453125, 0.0322265625, -0.011962890625, -0.02490234375, -0.01556396484375, 0.000606536865234375,...
[ 109637, 7, 91, 418, 10461, 58745, 9902, 15744, 33079, 10000, 9956, 159, 32938, 95486, 674, 28282, 32354, 93457, 106274, 39209, 12996, 128565, 80854, 30745, 9842, 105233, 831, 15917, 34292, 36880, 5303, 3688, 2633, 21954, 45, 271, 10, 339, 1...
[ 0.2373046875, 0.1759033203125, 0.0953369140625, 0.112060546875, 0.1883544921875, 0.0006103515625, 0.15185546875, 0.151123046875, 0.04608154296875, 0.1412353515625, 0.1905517578125, 0.06982421875, 0.1832275390625, 0.132568359375, 0.0447998046875, 0.093017578125, 0.1710205078125, 0.1...
embed
23281990_c1
23281990
fsharp
1
? open System open System.Threading open System.Threading.Tasks open System.Windows open System.Windows.Controls let incrementSlowly previous = Thread.Sleep(3000) if previous = 2 then failwith "Oops!" previous + 1 let btn_Click (sender : obj) e = let btn = sender :?> Button btn.IsEnabled <- false try try let prev = btn...
? open System open System.Threading open System.Threading.Tasks open System.Windows open System.Windows.Controls let incrementSlowly previous = Thread.Sleep(3000) if previous = 2 then failwith "Oops!" previous + 1 let btn_Click (sender : obj) e = let btn = sender :?> Button btn.IsEnabled <- false try try let prev = btn...
[ -0.018798828125, 0.0242919921875, -0.00140380859375, -0.01275634765625, 0.0159912109375, -0.004547119140625, 0.0157470703125, -0.0233154296875, 0.0050048828125, -0.04345703125, -0.01348876953125, 0.0191650390625, -0.0003509521484375, 0.0133056640625, 0.023681640625, -0.00372314453125, ...
[ 705, 9803, 12353, 5, 20800, 39116, 214, 9874, 1042, 43342, 175904, 2633, 158661, 17336, 96362, 136719, 294, 133, 4517, 36605, 116, 35782, 670, 68818, 997, 106, 18, 19, 181671, 152452, 995, 170, 28, 59146, 144037, 29598, 7768, 2886, 98320, ...
[ 0.044464111328125, 0.1876220703125, 0.1864013671875, 0.00860595703125, 0.022308349609375, 0.193603515625, 0.115966796875, 0.138671875, 0.1279296875, 0.15771484375, 0.2423095703125, 0.1282958984375, 0.287841796875, 0.251708984375, 0.1533203125, 0.2232666015625, 0.058990478515625, 0....
embed
26565258_c1
26565258
fsharp
1
if the compiler already generates IEquatable for DUs), but just to make sure I haven't overlooked anything. The code [<CustomEquality; CustomComparison>] type FunkyUnion = | Case1 | Case2 | Funky of (unit -> unit) override x.Equals(obj) = //This here will cause a stackoverflow to occur... match obj with | :? FunkyUnio...
if the compiler already generates IEquatable for DUs), but just to make sure I haven't overlooked anything. The code [<CustomEquality; CustomComparison>] type FunkyUnion = | Case1 | Case2 | Funky of (unit -> unit) override x.Equals(obj) = //This here will cause a stackoverflow to occur... match obj with | :? FunkyUnio...
[ -0.007354736328125, 0.00677490234375, 0.0030059814453125, -0.00775146484375, -0.0191650390625, -0.018798828125, -0.018310546875, -0.0174560546875, 0.01275634765625, -0.005462646484375, -0.004486083984375, 0.03515625, 0.005279541015625, 0.00025177001953125, 0.0037078857421875, -0.004821...
[ 2174, 9969, 34759, 21771, 139392, 75536, 90065, 2886, 100, 14614, 7, 64747, 18151, 223, 5928, 647, 161789, 74, 130664, 108161, 1686, 1681, 10644, 58372, 53, 147547, 43731, 418, 304, 111, 309, 25072, 645, 416, 112, 1022, 71723, 3522, 170, ...
[ 0.0150146484375, 0.160888671875, 0.1529541015625, 0.06170654296875, 0.143798828125, 0.1376953125, 0.218017578125, 0.180419921875, 0.0272979736328125, 0.1712646484375, 0.03289794921875, 0.05609130859375, 0.21875, 0.1007080078125, 0.147216796875, 0.0689697265625, 0.246337890625, 0.06...
embed
62307624_c0
62307624
fsharp
0
Title: F#- Getting error HttpFs.Client : &quot;code&quot;:&quot;415&quot;,&quot;message&quot;:&quot;Content type &#x27;&#x27; not supported&quot; Problem title: F#- Getting error HttpFs.Client : &quot;code&quot;:&quot;415&quot;,&quot;message&quot;:&quot;Content type &#x27;&#x27; not supported&quot; Tags: f%23 Problem: ...
F#- Getting error HttpFs.Client : &quot;code&quot;:&quot;415&quot;,&quot;message&quot;:&quot;Content type &#x27;&#x27; not supported&quot; F#- Getting error HttpFs.Client : &quot;code&quot;:&quot;415&quot;,&quot;message&quot;:&quot;Content type &#x27;&#x27; not supported&quot; f%23 Getting HttpFs.Client Content Play Re...
[ -0.00113677978515625, 0.01068115234375, 0.007354736328125, 0.01226806640625, 0.02001953125, -0.022705078125, -0.0084228515625, 0.002655029296875, -0.01202392578125, -0.0050048828125, 0.041015625, 0.004608154296875, -0.013427734375, -0.01556396484375, 0.0245361328125, -0.01458740234375,...
[ 563, 4904, 9, 210732, 18499, 3062, 254, 919, 7, 441, 150, 2517, 40899, 617, 1837, 74157, 11935, 25352, 10644, 3768, 959, 8060, 572, 1238, 3742, 70870, 11356, 49756, 61687, 75616, 7612, 48743, 2795, 304, 28122, 5498, 694, 145, 20682, 13025...
[ 0.12060546875, 0.184326171875, 0.0271759033203125, 0.09759521484375, 0.1953125, 0.14794921875, 0.07037353515625, 0.2139892578125, 0.1209716796875, 0.00225830078125, 0.192138671875, 0.11328125, 0.1790771484375, 0.0872802734375, 0.1982421875, 0.0908203125, 0.0906982421875, 0.2109375,...
embed
39276618_c1
39276618
fsharp
1
> </BeginStoryboard> </EventTrigger> </funk:MyButtonSimple.Triggers> </funk:MyButtonSimple> </StackPanel> </Window> Clicking the button doesn't start the animation. Changing the code RoutedEvent="funk:MyButtonSimple.Tap" to RoutedEvent="GotFocus" gives a working example (Button.Click is overridden). Any ideas what I'm ...
> </BeginStoryboard> </EventTrigger> </funk:MyButtonSimple.Triggers> </funk:MyButtonSimple> </StackPanel> </Window> Clicking the button doesn't start the animation. Changing the code RoutedEvent="funk:MyButtonSimple.Tap" to RoutedEvent="GotFocus" gives a working example (Button.Click is overridden). Any ideas what I'm ...
[ 0.00653076171875, 0.0029754638671875, 0.00830078125, 0.005950927734375, 0.005340576171875, -0.003997802734375, 0.013427734375, -0.0211181640625, 0.007080078125, -0.033935546875, 0.0014190673828125, 0.013916015625, 0.00041961669921875, 0.0185546875, 0.003662109375, -0.01214599609375, ...
[ 6820, 31667, 24351, 192134, 74257, 21407, 54881, 31852, 82212, 1507, 8859, 33209, 42378, 55956, 24293, 21138, 214, 77679, 22027, 18, 4034, 114205, 108193, 18151, 106015, 71, 618, 2631, 17903, 27591, 11680, 20697, 27781, 181671, 645, 19040, 2564...
[ 0.09881591796875, 0.08319091796875, 0.22119140625, 0.2325439453125, 0.149658203125, 0.1824951171875, 0.169921875, 0.0921630859375, 0.1387939453125, 0.0982666015625, 0.08740234375, 0.1829833984375, 0.059844970703125, 0.065185546875, 0.037384033203125, 0.198486328125, 0.031524658203125...
embed
66797081_c0
66797081
fsharp
0
Title: Why is F# having a problem with partially overlapping module names? Problem title: Why is F# having a problem with partially overlapping module names? Tags: f%23 Problem: Why is F# having a problem with partially overlapping module names? This one always gets me, and I fail to understand the problem the F# compi...
Why is F# having a problem with partially overlapping module names? Why is F# having a problem with partially overlapping module names? f%23 Why A.B A.fs FS0247 Why is F# having a problem with partially overlapping module names? This one always gets me, and I fail to understand the problem the F# compiler is having her...
[ 0.00506591796875, 0.0047607421875, -0.01123046875, 0.018798828125, -0.00151824951171875, 0.010498046875, 0.004241943359375, -0.021728515625, -0.00762939453125, 0.015380859375, 0.00089263916015625, 0.002655029296875, 0.0125732421875, 0.0169677734375, 0.007598876953125, -0.015869140625, ...
[ 44084, 83, 563, 4904, 19441, 2967, 2878, 25958, 645, 143, 26783, 88996, 123055, 678, 1238, 3949, 3742, 62, 571, 17447, 93774, 9550, 13330, 11343, 62163, 163, 35782, 28219, 9969, 34759, 3688, 6626, 102158, 5, 335, 45367, 13452, 2046, 65034, ...
[ 0.1304931640625, 0.01104736328125, 0.16943359375, 0.266357421875, 0.0435791015625, 0.1593017578125, 0.185546875, 0.115478515625, 0.1590576171875, 0.2322998046875, 0.1622314453125, 0.2464599609375, 0.177490234375, 0.03057861328125, 0.0802001953125, 0.016021728515625, 0.09674072265625,...
embed
63812370_c0
63812370
fsharp
0
Title: Returning derived classes in F# Problem title: Returning derived classes in F# Tags: inheritance, f%23 Problem: Returning derived classes in F# Consider the following code, which declares an abstract base class called shape and another class called square which inherits from shape : open System [<AbstractClass>]...
Returning derived classes in F# Returning derived classes in F# inheritance f%23 Returning System AbstractClass this.area return_square EntryPoint foo.area bar.area Returning derived classes in F# Consider the following code, which declares an abstract base class called shape and another class called square which inher...
[ 0.015380859375, -0.00152587890625, -0.01251220703125, -0.0067138671875, 0.0106201171875, -0.0098876953125, -0.0234375, -0.0002613067626953125, -0.005462646484375, 0.0023193359375, 0.0174560546875, -0.007568359375, -0.00579833984375, 0.00848388671875, -0.0189208984375, -0.0211181640625,...
[ 173340, 214, 16406, 4126, 61112, 23, 563, 4904, 3334, 217, 1238, 3949, 3742, 12353, 233973, 140803, 903, 3464, 30646, 108047, 15123, 147534, 5775, 31, 1909, 137399, 25632, 18151, 159978, 7, 164789, 3647, 18507, 115700, 136, 15700, 14481, 1295...
[ 0.2110595703125, 0.033233642578125, 0.1510009765625, 0.1309814453125, 0.2137451171875, 0.047515869140625, 0.1561279296875, 0.216064453125, 0.1458740234375, 0.033233642578125, 0.079833984375, 0.0235748291015625, 0.10546875, 0.058746337890625, 0.154052734375, 0.1334228515625, 0.1080322...
embed
16769083_c0
16769083
fsharp
0
Title: MonoGame 3D model and spritebatch Problem title: MonoGame 3D model and spritebatch Tags: monogame, f%23 Problem: MonoGame 3D model and spritebatch I am using MonoGame to draw some sprites and some models in the same game. I can draw and see everything, but the render states are all wrong. Before drawing my model...
MonoGame 3D model and spritebatch MonoGame 3D model and spritebatch monogame f%23 MonoGame this.GraphicsDevice.Value.RasterizerState RasterizerState.CullCounterClockwise this.GraphicsDevice.Value.DepthStencilState DepthStencilState.Default this.GraphicsDevice.Value.BlendState BlendState.Opaque this.AllModels m.Model.Dr...
[ -0.015869140625, 0.005218505859375, -0.0194091796875, 0.007476806640625, -0.017822265625, -0.0081787109375, -0.004974365234375, -0.014404296875, -0.00604248046875, -0.01092529296875, -0.00311279296875, 0.00262451171875, 0.02001953125, -0.0003376007080078125, 0.0021514892578125, -0.0031...
[ 77879, 107576, 138, 397, 3299, 40988, 67, 2848, 206, 22460, 35311, 3742, 903, 37878, 19379, 20375, 50770, 1515, 52825, 135206, 2552, 43806, 108210, 21135, 254, 50771, 193924, 39029, 43512, 140290, 81456, 70646, 15593, 100474, 223353, 136, 17368...
[ 0.18359375, 0.2279052734375, 0.10888671875, 0.0760498046875, 0.1907958984375, 0.12060546875, 0.05609130859375, 0.1112060546875, 0.07159423828125, 0.131591796875, 0.1561279296875, 0.0914306640625, 0.040191650390625, 0.007537841796875, 0.0638427734375, 0.1217041015625, 0.05868530273437...
embed
4413324_c0
4413324
fsharp
0
Title: How does F# inline work? Problem title: How does F# inline work? Tags: c%23, f%23, inline Problem: How does F# inline work? With F# it is my understanding that you can use the inline keyword to perform type specialization at the call site. That is:: val inline (+) : ^a -> ^b -> ^c when (^a or ^b) : (static membe...
How does F# inline work? How does F# inline work? c%23 f%23 inline How op_Addition How does F# inline work? With F# it is my understanding that you can use the inline keyword to perform type specialization at the call site. That is:: Constrains that ^a or ^b must have a static member like op_Addition , or one of the bu...
[ 0.01031494140625, 0.00012159347534179688, 0.021484375, 0.00653076171875, 0.007537841796875, 0.01165771484375, 0.0057373046875, -0.017333984375, -0.006317138671875, -0.021484375, 0.00537109375, -0.0311279296875, -0.00543212890625, 0.00136566162109375, 0.00592041015625, -0.008544921875, ...
[ 11249, 14602, 563, 4904, 23, 2256, 4488, 3742, 1238, 233, 454, 284, 12071, 1363, 100094, 831, 4527, 166117, 47, 51339, 10644, 5361, 47691, 99, 11782, 1764, 1657, 2816, 13331, 707, 275, 8110, 201939, 32786, 88303, 128489, 11814, 26292, 43599...
[ 0.0799560546875, 0.05999755859375, 0.159423828125, 0.260009765625, 0.1636962890625, 0.2666015625, 0.1580810546875, 0.07989501953125, 0.081787109375, 0.1864013671875, 0.011383056640625, 0.004119873046875, 0.155517578125, 0.008331298828125, 0.044219970703125, 0.0206146240234375, 0.0985...
embed
19887610_c0
19887610
fsharp
0
Title: F# tail recursion on tree&#x27;s path listing Problem title: F# tail recursion on tree&#x27;s path listing Tags: tail-recursion, recursion, f%23 Problem: F# tail recursion on tree's path listing I'm trying to implement a recursive function that takes in a tree and list all the path it has. My current implementat...
F# tail recursion on tree&#x27;s path listing F# tail recursion on tree&#x27;s path listing tail-recursion recursion f%23 Leaf Node x::acc pathToList2 Set.singleton Set.union F# tail recursion on tree's path listing I'm trying to implement a recursive function that takes in a tree and list all the path it has. My curre...
[ 0.02783203125, 0.021484375, 0.005126953125, -0.000743865966796875, 0.0185546875, 0.007568359375, -0.03271484375, -0.0185546875, 0.00811767578125, -0.06005859375, 0.00518798828125, 0.01123046875, -0.003936767578125, 0.01104736328125, 0.01397705078125, 0.00994873046875, 0.0013046264648...
[ 563, 4904, 46741, 195625, 1830, 98, 53201, 3768, 60875, 5303, 214, 48650, 1238, 3742, 636, 2407, 438, 112, 1022, 10060, 7763, 154663, 304, 19943, 6953, 133, 1507, 87046, 31577, 29479, 5844, 32354, 51776, 23, 136, 756, 70, 1556, 43581, 208...
[ 0.107421875, 0.1539306640625, 0.25537109375, 0.2244873046875, 0.1019287109375, 0.039947509765625, 0.1873779296875, 0.05181884765625, 0.20263671875, 0.1702880859375, 0.0648193359375, 0.171142578125, 0.03594970703125, 0.01910400390625, 0.026763916015625, 0.1278076171875, 0.098022460937...
embed
24226798_c0
24226798
fsharp
0
Title: Loop through list of 2 tuples to replace part of a string Problem title: Loop through list of 2 tuples to replace part of a string Tags: f%23 Problem: Loop through list of 2 tuples to replace part of a string I'm trying to replace chained String.Replace() calls with a more functional version. Original: let Short...
Loop through list of 2 tuples to replace part of a string Loop through list of 2 tuples to replace part of a string f%23 Loop String.Replace ShortenRomanNumeral num.Replace VIIII Replace IIII LXXXX XXXX DCCCC CCCC str.Replace Loop through list of 2 tuples to replace part of a string I'm trying to replace chained String...
[ -0.021728515625, -0.0137939453125, 0.007293701171875, 0.0186767578125, 0.007232666015625, -0.0079345703125, -0.015869140625, -0.0081787109375, 0.023193359375, 0.0361328125, 0.02685546875, -0.0027923583984375, -0.0084228515625, -0.00958251953125, 0.0054931640625, 0.01177978515625, 0.0...
[ 199694, 8305, 5303, 111, 116, 370, 99726, 47, 91995, 2831, 79315, 1238, 3949, 3742, 23351, 214, 4332, 23935, 82990, 33, 158271, 13269, 32896, 568, 853, 4830, 205378, 31455, 134982, 7704, 31577, 121293, 297, 132, 11782, 1286, 123309, 11389, ...
[ 0.1915283203125, 0.1954345703125, 0.138427734375, 0.0224609375, 0.16552734375, 0.134033203125, 0.23974609375, 0.033416748046875, 0.197509765625, 0.1217041015625, 0.2056884765625, 0.0953369140625, 0.06878662109375, 0.1763916015625, 0.189697265625, 0.0933837890625, 0.10009765625, 0.2...
embed
54611359_c0
54611359
fsharp
0
Title: FSCheck shrinker isn&#x27;t called Problem title: FSCheck shrinker isn&#x27;t called Tags: shrink, fscheck, f%23 Problem: FSCheck shrinker isn't called I can't seem to get the FSCheck shrinker to work. Say I have this let arb_chars = Arb.fromGenShrink( Arb.generate<char[]>, fun cs -> seq { printfn "shrinking..."...
FSCheck shrinker isn&#x27;t called FSCheck shrinker isn&#x27;t called shrink fscheck f%23 FSCheck arb_chars Arb.fromGenShrink Arb.generate cs.Length prop_len arb_chars.Generator a.Length Check.One Falsifiable StdGen Original FSCheck shrinker isn't called I can't seem to get the FSCheck shrinker to work. Say I have this...
[ -0.0021820068359375, 0.017578125, 0.00897216796875, 0.009521484375, -0.01513671875, -0.00811767578125, -0.000568389892578125, -0.0299072265625, -0.006927490234375, 0.01416015625, 0.015380859375, 0.05029296875, 0.007720947265625, 0.004119873046875, 0.0048828125, -0.000835418701171875, ...
[ 93774, 202567, 90978, 73, 1728, 56112, 3768, 18, 35839, 7547, 35838, 1238, 7, 78292, 3742, 187, 275, 9254, 1172, 161063, 105376, 40888, 48281, 20763, 25793, 1977, 5, 56, 4597, 10, 449, 927, 38679, 62068, 22225, 27430, 2907, 34525, 48903, ...
[ 0.204833984375, 0.295166015625, 0.179443359375, 0.1912841796875, 0.189208984375, 0.05804443359375, 0.04791259765625, 0.056549072265625, 0.09912109375, 0.1510009765625, 0.1982421875, 0.093505859375, 0.0692138671875, 0.254150390625, 0.029083251953125, 0.07080078125, 0.06298828125, 0....
embed
1942413_c0
1942413
fsharp
0
Title: Why are the signatures of these two methods different? Problem title: Why are the signatures of these two methods different? Tags: f%23 Problem: Why are the signatures of these two methods different? Why do Bind1 and Bind2 have different signatures? type T() = let bind(v, f) = v member self.Bind1 = bind member s...
Why are the signatures of these two methods different? Why are the signatures of these two methods different? f%23 Why self.Bind1 self.Bind2 Bind2 Bind1 q.Bind1 q.Bind2 Why are the signatures of these two methods different? Why do Bind1 and Bind2 have different signatures? fsi reports them as This came up when I was pl...
[ -0.002593994140625, 0.010498046875, -0.0024566650390625, 0.01318359375, -0.00726318359375, -0.0078125, -0.00153350830078125, 0.0037384033203125, 0.01312255859375, -0.000050067901611328125, -0.00909423828125, -0.0174560546875, 0.000823974609375, 0.01470947265625, -0.00665283203125, -0.0...
[ 44084, 138256, 7, 6097, 6626, 150624, 12921, 1238, 3742, 15970, 571, 7250, 418, 304, 16666, 71, 8096, 136, 172, 117729, 2856, 75169, 181135, 125195, 18499, 26008, 959, 8035, 61924, 20268, 40946, 4488, 26366, 15400, 77878, 5701, 36746, 30646, ...
[ 0.0789794921875, 0.221923828125, 0.0572509765625, 0.019195556640625, 0.0714111328125, 0.1539306640625, 0.1787109375, 0.012115478515625, 0.004913330078125, 0.08447265625, 0.0994873046875, 0.2001953125, 0.109375, 0.1976318359375, 0.21630859375, 0.1661376953125, 0.0806884765625, 0.005...
embed
6829547_c0
6829547
fsharp
0
Title: write records just in time when the value (for id of something) is changing Problem title: write records just in time when the value (for id of something) is changing Tags: f%23 Problem: write records just in time when the value (for id of something) is changing How to write records just in time when the value f...
write records just in time when the value (for id of something) is changing write records just in time when the value (for id of something) is changing f%23 Seq.distinctBy Seq.map Array.ofSeq write records just in time when the value (for id of something) is changing How to write records just in time when the value for...
[ 0.006378173828125, 0.00927734375, -0.0036163330078125, -0.015869140625, 0.00897216796875, -0.006072998046875, -0.004638671875, 0.02197265625, 0.016357421875, -0.00848388671875, -0.006072998046875, 0.02734375, 0.0084228515625, 0.0203857421875, 0.006744384765625, 0.0019378662109375, -0...
[ 33022, 115923, 1660, 23, 1733, 3229, 34292, 2472, 3447, 111, 9844, 83, 151134, 1238, 3949, 3742, 864, 46295, 38893, 75358, 62346, 69253, 53, 4390, 11249, 47, 100, 12638, 17164, 6644, 8710, 136, 98320, 9774, 5303, 23180, 16750, 6528, 123309,...
[ 0.2266845703125, 0.27392578125, 0.121337890625, 0.099853515625, 0.2191162109375, 0.11474609375, 0.2008056640625, 0.05633544921875, 0.1732177734375, 0.07720947265625, 0.0594482421875, 0.083984375, 0.22265625, 0.053558349609375, 0.01947021484375, 0.123046875, 0.09075927734375, 0.0158...
embed
48633043_c0
48633043
fsharp
0
Title: How to import functions from NPM modules in Fable? Problem title: How to import functions from NPM modules in Fable? Tags: f%23, fable-f%23 Problem: How to import functions from NPM modules in Fable? I'm trying to use the NPM package normalize-wheel in a Fable project. I've confirmed that the package has been do...
How to import functions from NPM modules in Fable? How to import functions from NPM modules in Fable? f%23 fable-f%23 functions NPM How Fable INormalizedWheel React.WheelEvent Object How to import functions from NPM modules in Fable? I'm trying to use the NPM package normalize-wheel in a Fable project. I've confirmed t...
[ -0.0262451171875, -0.01422119140625, -0.01336669921875, -0.026123046875, 0.00665283203125, 0.0252685546875, -0.00127410888671875, -0.001220703125, -0.0087890625, -0.00506591796875, 0.00147247314453125, -0.0240478515625, 0.0034027099609375, -0.0103759765625, -0.01263427734375, -0.000778...
[ 11249, 24927, 32354, 7, 1295, 541, 20266, 88996, 23, 563, 2886, 47, 1238, 3949, 3742, 1071, 2661, 420, 748, 2749, 29367, 144009, 853, 47013, 192134, 134549, 31577, 4527, 98169, 3638, 20650, 434, 13452, 39563, 7026, 110, 112, 83279, 78303, ...
[ 0.06488037109375, 0.2529296875, 0.244140625, 0.035125732421875, 0.142333984375, 0.107421875, 0.257568359375, 0.2025146484375, 0.0748291015625, 0.1431884765625, 0.211669921875, 0.01312255859375, 0.05487060546875, 0.00750732421875, 0.107177734375, 0.1240234375, 0.146728515625, 0.0428...
embed
6470256_c0
6470256
fsharp
0
Title: How to read F# type signatures? Problem title: How to read F# type signatures? Tags: f%23 Problem: How to read F# type signatures? I'm struggling with the F# type signature notation. For example let's say you have a Fold function: let rec Fold combine acc l = ... that may have this type signature: ('a -> 'b -> '...
How to read F# type signatures? How to read F# type signatures? f%23 How Fold How to read F# type signatures? I'm struggling with the F# type signature notation. For example let's say you have a Fold function: that may have this type signature: which I would read as a function that has three arguments: a function that ...
[ 0.0012969970703125, -0.00885009765625, -0.004974365234375, -0.00034332275390625, -0.013427734375, 0.012939453125, -0.0152587890625, -0.00055694580078125, -0.003326416015625, -0.00909423828125, 0.0123291015625, -0.034423828125, -0.00750732421875, 0.013916015625, -0.006195068359375, -0.0...
[ 11249, 47, 12301, 563, 4904, 10644, 138256, 7, 1238, 3949, 3742, 30077, 71, 237875, 110, 22062, 32354, 1543, 2806, 237, 17262, 10750, 51776, 11, 10, 275, 30646, 5303, 136, 1286, 10422, 143383, 1055, 78574, 36510, 484, 109109, 31635, 171859,...
[ 0.089111328125, 0.07958984375, 0.219970703125, 0.1778564453125, 0.2432861328125, 0.197021484375, 0.237548828125, 0.0908203125, 0.07110595703125, 0.013671875, 0.093505859375, 0.16748046875, 0.1116943359375, 0.06182861328125, 0.09063720703125, 0.06561279296875, 0.136962890625, 0.0383...
embed
63741463_c0
63741463
fsharp
0
Title: F# how to stop Async.Start Problem title: F# how to stop Async.Start Tags: f%23 Problem: F# how to stop Async.Start Hi I have a question about async in F#. So I have a simple procedure that runs in background that is placed in a member of a type and it looks like: type Sender() = member this.Start(udpConectionPo...
F# how to stop Async.Start F# how to stop Async.Start f%23 Async.Start Sender this.Start Some this.Stop F# how to stop Async.Start Hi I have a question about async in F#. So I have a simple procedure that runs in background that is placed in a member of a type and it looks like: So this starts and begins to continuousl...
[ -0.0194091796875, 0.0135498046875, 0.006256103515625, -0.0003871917724609375, -0.017578125, 0.01043701171875, -0.006561279296875, 0.01019287109375, -0.00135040283203125, -0.023193359375, 0.006866455078125, 0.016845703125, 0.02392578125, 0.007354736328125, 0.036376953125, -0.00225830078...
[ 563, 4904, 3642, 47, 7279, 62, 12654, 238, 5, 126597, 1238, 3742, 24044, 56, 903, 31384, 156095, 9655, 10, 8781, 50491, 127877, 76615, 158012, 32786, 10644, 33342, 4034, 9842, 19686, 25379, 2674, 645, 345, 28399, 15490, 46389, 10588, 1528, ...
[ 0.1351318359375, 0.19970703125, 0.038330078125, 0.040771484375, 0.2100830078125, 0.0728759765625, 0.22802734375, 0.15087890625, 0.0212860107421875, 0.207763671875, 0.1038818359375, 0.1011962890625, 0.049285888671875, 0.07073974609375, 0.1026611328125, 0.027496337890625, 0.18505859375...
embed
58153178_c1
58153178
fsharp
1
Async() { // Initial task and status task = "First Task"; status = "Status One"; Action<System.Timers.ElapsedEventArgs> timeEvent = t => { UpdateTime().Wait(); }; var func = FuncConvert.ToFSharpFunc(timeEvent); await new ClientTImer.Timer(time).SetTimeAsTask(func); // Update task and status task = "Second Task"; status...
Async() { // Initial task and status task = "First Task"; status = "Status One"; Action<System.Timers.ElapsedEventArgs> timeEvent = t => { UpdateTime().Wait(); }; var func = FuncConvert.ToFSharpFunc(timeEvent); await new ClientTImer.Timer(time).SetTimeAsTask(func); // Update task and status task = "Second Task"; status...
[ -0.0004863739013671875, 0.006927490234375, 0.01495361328125, -0.0125732421875, 0.01214599609375, -0.0223388671875, -0.007171630859375, 0.0203857421875, 0.01190185546875, 0.0034637451171875, -0.00171661376953125, 0.031982421875, 0.00311279296875, 0.0184326171875, 0.0269775390625, 0.0038...
[ 62, 12654, 238, 132, 10666, 4666, 360, 1890, 289, 66211, 136, 10778, 2203, 207263, 9598, 92, 56128, 135206, 223, 6561, 57945, 84293, 152704, 1314, 127966, 71, 192134, 7614, 9405, 1733, 808, 28641, 70059, 22489, 285, 7477, 28670, 11935, 1154...
[ 0.138427734375, 0.28662109375, 0.1964111328125, 0.1395263671875, 0.03662109375, 0.061767578125, 0.055908203125, 0.1407470703125, 0.0740966796875, 0.2413330078125, 0.07464599609375, 0.2095947265625, 0.0643310546875, 0.1419677734375, 0.2188720703125, 0.0989990234375, 0.0118408203125, ...
embed