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
69043351_c0
69043351
fsharp
0
Title: Which function is called for the expression "some string".[3 .. 7] in F#? Problem title: Which function is called for the expression "some string".[3 .. 7] in F#? Tags: string, f%23, slice Problem: Which function is called for the expression "some string".[3 .. 7] in F#? Just found out that w...
Which function is called for the expression "some string".[3 .. 7] in F#? Which function is called for the expression "some string".[3 .. 7] in F#? string f%23 slice Which Which function is called for the expression "some string".[3 .. 7] in F#? Just found out that with f# sub-strings can be defined...
[ 0.008544921875, -0.0015411376953125, 0.0089111328125, 0.019287109375, -0.0233154296875, -0.006561279296875, 0.006072998046875, 0.005279541015625, 0.01348876953125, 0.01556396484375, -0.005767822265625, -0.00494384765625, -0.04443359375, -0.0021514892578125, 0.0035247802734375, 0.008789...
[ 130078, 32354, 35839, 100, 125195, 43452, 79315, 363, 1468, 361, 23, 563, 4904, 5, 1238, 3949, 3742, 91, 13348, 70, 740, 1065, 1614, 91693, 831, 61924, 237, 28756, 5170, 13580, 30646, 959, 21441, 42486, 7, 56458, 29479, 20779, 294, 7225, ...
[ 0.1141357421875, 0.23193359375, 0.10546875, 0.0911865234375, 0.2476806640625, 0.1268310546875, 0.28271484375, 0.2137451171875, 0.159912109375, 0.2047119140625, 0.057098388671875, 0.138671875, 0.214111328125, 0.02984619140625, 0.107177734375, 0.08441162109375, 0.199462890625, 0.0913...
embed
34611616_c2
34611616
fsharp
2
05c: dup IL_005d: ldc.i4.4 IL_005e: ldtoken [mscorlib]System.Tuple`5 IL_0063: call class Code signals: Can, Expr, GpuModule, ConcurrentDictionary, Key, expr:Expr, cache.GetOrAdd, Microsoft.FSharp.Quotations, EntryPoint, IL_0000, IL_0001, ldc.i4.1, IL_0002, stloc.0, IL_0003, IL_00a2, IL_0008, StartupCode$ConsoleApplicat...
05c: dup IL_005d: ldc.i4.4 IL_005e: ldtoken [mscorlib]System.Tuple`5 IL_0063: call class Code signals: Can, Expr, GpuModule, ConcurrentDictionary, Key, expr:Expr, cache.GetOrAdd, Microsoft.FSharp.Quotations, EntryPoint, IL_0000, IL_0001, ldc.i4.1, IL_0002, stloc.0, IL_0003, IL_00a2, IL_0008, StartupCode$ConsoleApplicat...
[ -0.01385498046875, 0.01544189453125, -0.00058746337890625, -0.00933837890625, -0.0146484375, -0.0208740234375, 0.0126953125, 0.003692626953125, 0.007781982421875, -0.036376953125, -0.004241943359375, 0.01611328125, -0.006134033203125, 0.018798828125, 0.005401611328125, 0.0224609375, ...
[ 4777, 238, 12, 115, 254, 30219, 454, 130171, 71, 96, 5, 14, 180874, 13, 6448, 33, 4432, 10517, 5612, 268, 84293, 15665, 8705, 1135, 758, 159343, 363, 11782, 18507, 28864, 26073, 7, 4171, 4, 60075, 42, 527, 1766, 91616, 8782, 1657, 163...
[ 0.256103515625, 0.1522216796875, 0.06964111328125, 0.19091796875, 0.14990234375, 0.1917724609375, 0.065185546875, 0.246337890625, 0.150146484375, 0.068603515625, 0.064208984375, 0.059356689453125, 0.2330322265625, 0.105224609375, 0.1959228515625, 0.1292724609375, 0.042022705078125, ...
embed
77352980_c0
77352980
fsharp
0
Title: Is there a way to extend the generic type IStore<ValueTuple<K, V>> dependant on K and V in F#? Problem title: Is there a way to extend the generic type IStore<ValueTuple<K, V>> dependant on K and V in F#? Tags: f%23, generics Problem: Is there a way to extend the generic type IStore > dep...
Is there a way to extend the generic type IStore<ValueTuple<K, V>> dependant on K and V in F#? Is there a way to extend the generic type IStore<ValueTuple<K, V>> dependant on K and V in F#? f%23 generics IStore ValueTuple o.F Is there a way to extend the generic type IStore > dependant on K and ...
[ 0.003326416015625, 0.00543212890625, 0.00872802734375, -0.01953125, -0.00860595703125, -0.0198974609375, -0.003875732421875, -0.0111083984375, 0.021484375, -0.010986328125, 0.01153564453125, -0.00151824951171875, -0.00604248046875, -0.00726318359375, -0.0224609375, -0.00152587890625, ...
[ 3917, 65042, 189534, 10644, 87, 165248, 1277, 856, 50770, 15665, 8705, 605, 310, 5386, 56566, 1236, 341, 136, 563, 4904, 3742, 190060, 36, 919, 23, 360, 313, 831, 192961, 111938, 55300, 20903, 36510, 29458, 1829, 158, 2816, 4288, 959, 448...
[ 0.0738525390625, 0.1898193359375, 0.1986083984375, 0.1790771484375, 0.141357421875, 0.2587890625, 0.01788330078125, 0.09716796875, 0.16064453125, 0.1142578125, 0.170654296875, 0.1109619140625, 0.2109375, 0.036712646484375, 0.1458740234375, 0.05902099609375, 0.1522216796875, 0.14672...
embed
7128221_c1
7128221
fsharp
1
can I chain together this information such that the root object can be passed to sync and it can traverse the graphs downward? My initial thought was to incorporate all of the arguments into a class, which would have a children property (a ResizeArray of the same type). But with various properties having different typ...
can I chain together this information such that the root object can be passed to sync and it can traverse the graphs downward? My initial thought was to incorporate all of the arguments into a class, which would have a children property (a ResizeArray of the same type). But with various properties having different typ...
[ -0.003631591796875, 0.02587890625, -0.0155029296875, 0.01458740234375, -0.0050048828125, 0.0120849609375, -0.004974365234375, -0.007171630859375, 0.01171875, -0.0257568359375, 0.007476806640625, -0.020751953125, 0.0069580078125, 0.01007080078125, -0.01190185546875, 0.00531005859375, ...
[ 831, 87, 121293, 25842, 903, 4677, 74855, 36746, 115081, 47, 6002, 238, 37317, 41382, 7, 7565, 19364, 61475, 17569, 49504, 67, 756, 111, 10750, 3934, 18507, 20020, 57266, 853, 62539, 7614, 7092, 5701, 10644, 67842, 183871, 12921, 52895, 694...
[ 0.0841064453125, 0.040924072265625, 0.2186279296875, 0.173095703125, 0.0626220703125, 0.1661376953125, 0.188232421875, 0.1572265625, 0.1080322265625, 0.035614013671875, 0.1641845703125, 0.07708740234375, 0.1385498046875, 0.197265625, 0.027130126953125, 0.134521484375, 0.1634521484375...
embed
33696309_c0
33696309
fsharp
0
Title: Need guidance on adhering to Open/Close Principle with F# Problem title: Need guidance on adhering to Open/Close Principle with F# Tags: f%23 Problem: Need guidance on adhering to Open/Close Principle with F# What patterns are available for adhering to the Open/Close principle when programming in F#? For example...
Need guidance on adhering to Open/Close Principle with F# Need guidance on adhering to Open/Close Principle with F# f%23 Need Open Close Principle Bizmonger Rico Scott Nimrod Need guidance on adhering to Open/Close Principle with F# What patterns are available for adhering to the Open/Close principle when programming i...
[ -0.0016021728515625, -0.00179290771484375, 0.000324249267578125, 0.003173828125, 0.0108642578125, 0.00128936767578125, -0.009033203125, 0.004364013671875, 0.00921630859375, 0.007781982421875, 0.0157470703125, -0.002960205078125, -0.004180908203125, 0.004669189453125, 0.023681640625, -0...
[ 52889, 196219, 5667, 4209, 47, 13527, 64, 441, 59453, 79680, 133, 678, 563, 4904, 3742, 153335, 8981, 432, 12060, 70867, 50695, 59285, 5914, 103510, 19882, 24702, 56037, 449, 23, 9876, 22766, 67407, 214, 28032, 6782, 106117, 32316, 18, 3444...
[ 0.1077880859375, 0.1695556640625, 0.113525390625, 0.0638427734375, 0.048248291015625, 0.234130859375, 0.1317138671875, 0.111328125, 0.213134765625, 0.1717529296875, 0.0799560546875, 0.0830078125, 0.1527099609375, 0.2322998046875, 0.04876708984375, 0.2022705078125, 0.071533203125, 0...
embed
63462794_c1
63462794
fsharp
1
in ... at Program.main(String[] _arg1) in ... When I remove the line rsa.ImportRSAPrivateKey(ReadOnlySpan<byte>(privateKey2), ref 2048) , the code runs just fine. My question is why is it that in the first case, the encryption depends somehow on the private key as well and when I decrypt, I get this error? Code signal...
in ... at Program.main(String[] _arg1) in ... When I remove the line rsa.ImportRSAPrivateKey(ReadOnlySpan<byte>(privateKey2), ref 2048) , the code runs just fine. My question is why is it that in the first case, the encryption depends somehow on the private key as well and when I decrypt, I get this error? Code signal...
[ -0.00482177734375, 0.018798828125, -0.02490234375, 0.0196533203125, 0.01123046875, 0.0091552734375, 0.003265380859375, 0.0034637451171875, -0.0016326904296875, -0.002197265625, -0.0072021484375, 0.004913330078125, 0.019287109375, 0.01544189453125, 0.0062255859375, -0.014892578125, 0....
[ 23, 153, 99, 7663, 24931, 71713, 214, 61477, 17727, 87388, 13315, 24666, 61637, 6982, 130424, 33163, 24836, 162429, 31345, 20320, 538, 3180, 61028, 158559, 10461, 18831, 72208, 18151, 127877, 5885, 9655, 15400, 22, 136791, 1830, 56566, 209303, ...
[ 0.0986328125, 0.0052490234375, 0.027252197265625, 0.144775390625, 0.1126708984375, 0.0806884765625, 0.01104736328125, 0.1143798828125, 0.06884765625, 0.172119140625, 0.1177978515625, 0.1260986328125, 0.06878662109375, 0.1468505859375, 0.175048828125, 0.04498291015625, 0.0751953125, ...
embed
53027886_c0
53027886
fsharp
0
Title: F#: Passing a function to Option.bind Problem title: F#: Passing a function to Option.bind Tags: functional-programming, function, f%23 Problem: F#: Passing a function to Option.bind I have a function great and it is implemented as below let great y z = Option.bind (cons (Option.get z) >> Some) y And I have the ...
F#: Passing a function to Option.bind F#: Passing a function to Option.bind functional-programming function f%23 Passing Option.bind Option.get Some None Option.map F#: Passing a function to Option.bind I have a function great and it is implemented as below And I have the function apply as below If I give the None valu...
[ -0.01104736328125, 0.0167236328125, 0.0118408203125, 0.003570556640625, 0.0001506805419921875, -0.00927734375, 0.016357421875, -0.01171875, 0.01025390625, -0.016845703125, 0.01708984375, -0.004302978515625, -0.00872802734375, 0.00182342529296875, 0.0238037109375, 0.007415771484375, 0...
[ 563, 4904, 28872, 32354, 47, 86769, 5, 89817, 123309, 28966, 1238, 3742, 3794, 31384, 438, 86, 62346, 214, 765, 6782, 29479, 35064, 59911, 237, 8337, 34292, 17932, 171859, 97, 68772, 163, 18499, 30646, 3229, 62163, 3444, 71864, 15490, 2174,...
[ 0.095703125, 0.192138671875, 0.1265869140625, 0.196533203125, 0.1168212890625, 0.2578125, 0.040557861328125, 0.2325439453125, 0.1241455078125, 0.0723876953125, 0.052337646484375, 0.1024169921875, 0.1343994140625, 0.02197265625, 0.1265869140625, 0.1934814453125, 0.1246337890625, 0.0...
embed
24942931_c1
24942931
fsharp
1
198,201,0,0" TextWrapping="Wrap" Text="TextBlock" VerticalAlignment="Top"/> <TextBox Name="tbo" HorizontalAlignment="Left" Height="23" Margin="340,198,0,0" TextWrapping="Wrap" Text="TextBox" VerticalAlignment="Top" Width="120"/> </Grid> </Window> I intend to change the content of a Label:lbl with a button click, but fo...
198,201,0,0" TextWrapping="Wrap" Text="TextBlock" VerticalAlignment="Top"/> <TextBox Name="tbo" HorizontalAlignment="Left" Height="23" Margin="340,198,0,0" TextWrapping="Wrap" Text="TextBox" VerticalAlignment="Top" Width="120"/> </Grid> </Window> I intend to change the content of a Label:lbl with a button click, but fo...
[ -0.00640869140625, 0.004791259765625, 0.00250244140625, 0.0159912109375, 0.025634765625, 0.0208740234375, 0.007568359375, -0.0181884765625, 0.00543212890625, 0.006561279296875, -0.005462646484375, -0.006011962890625, 0.0201416015625, -0.0223388671875, 0.003326416015625, -0.005950927734...
[ 125250, 123885, 63527, 24129, 219, 26783, 13631, 174379, 166191, 1446, 70760, 1746, 19, 77888, 72295, 15757, 18, 837, 112639, 1803, 1529, 22553, 3742, 33346, 109356, 2947, 1019, 58302, 20840, 19040, 24293, 150661, 15549, 10941, 129214, 141, 903...
[ 0.1898193359375, 0.162109375, 0.175537109375, 0.15478515625, 0.126220703125, 0.0904541015625, 0.1607666015625, 0.1546630859375, 0.173828125, 0.049560546875, 0.02880859375, 0.16162109375, 0.050933837890625, 0.04620361328125, 0.2059326171875, 0.0215606689453125, 0.05657958984375, 0.1...
embed
18551106_c0
18551106
fsharp
0
Title: Why F# compiler gets into twist with seq{0L..-5L..-10L}? Problem title: Why F# compiler gets into twist with seq{0L..-5L..-10L}? Tags: f%23 Problem: Why F# compiler gets into twist with seq{0L..-5L..-10L}? I'm having a bit of trouble declaring a descending sequence of int64 . What I want is this: seq{0L..-5L..-1...
Why F# compiler gets into twist with seq{0L..-5L..-10L}? Why F# compiler gets into twist with seq{0L..-5L..-10L}? f%23 Why int64 FS0739 Invalid Why F# compiler gets into twist with seq{0L..-5L..-10L}? I'm having a bit of trouble declaring a descending sequence of int64 . What I want is this: However, I get an error: In...
[ 0.010498046875, 0.008056640625, -0.00750732421875, 0.00665283203125, -0.0162353515625, -0.00787353515625, 0.001373291015625, 0.0040283203125, -0.022705078125, 0.005126953125, -0.004180908203125, 0.0135498046875, 0.006317138671875, 0.010498046875, 0.0172119140625, -0.0006103515625, 0....
[ 44084, 563, 4904, 9969, 34759, 62163, 3934, 165292, 678, 40, 864, 2389, 866, 10342, 9193, 1238, 3742, 23, 18, 13307, 93774, 8368, 9323, 7013, 63134, 18347, 60887, 214, 944, 18499, 43240, 111719, 49041, 32628, 17721, 1468, 20697, 73342, 1540...
[ 0.0985107421875, 0.1190185546875, 0.2244873046875, 0.1392822265625, 0.1494140625, 0.03851318359375, 0.1053466796875, 0.25048828125, 0.039886474609375, 0.04449462890625, 0.146240234375, 0.116455078125, 0.12158203125, 0.154052734375, 0.1566162109375, 0.063720703125, 0.08380126953125, ...
embed
28400123_c0
28400123
fsharp
0
Title: Defining an operator for the let statement (binding) Problem title: Defining an operator for the let statement (binding) Tags: metaprogramming, f%23 Problem: Defining an operator for the let statement (binding) In F#, is it possible to define an operator, say (<<), that would assign a value to a variable like so...
Defining an operator for the let statement (binding) Defining an operator for the let statement (binding) metaprogramming f%23 Defining Defining an operator for the let statement (binding) In F#, is it possible to define an operator, say (<<), that would assign a value to a variable like so : that would compile inside ...
[ 0.01055908203125, -0.00408935546875, 0.0115966796875, 0.008056640625, 0.01300048828125, 0.001312255859375, 0.0020599365234375, 0.0150146484375, 0.0089111328125, -0.01055908203125, -0.006683349609375, -0.00823974609375, 0.0147705078125, 0.004913330078125, 0.0223388671875, 0.004913330078...
[ 88606, 39933, 100, 2633, 63805, 128239, 142, 23550, 28966, 1238, 3742, 563, 4904, 7722, 61924, 5154, 16093, 2806, 95486, 34292, 47, 10, 77336, 1884, 221, 9969, 1340, 46132, 1528, 16750, 285, 674, 5809, 11814, 14432, 6002, 86531, 17721, 2461...
[ 0.19287109375, 0.300048828125, 0.03515625, 0.2607421875, 0.2015380859375, 0.22998046875, 0.01214599609375, 0.086669921875, 0.07659912109375, 0.0216827392578125, 0.07080078125, 0.08563232421875, 0.168701171875, 0.122314453125, 0.2039794921875, 0.001708984375, 0.22900390625, 0.072021...
embed
11378402_c0
11378402
fsharp
0
Title: Partial function application for a non-symmetric operator using point-free style in F#? Problem title: Partial function application for a non-symmetric operator using point-free style in F#? Tags: pointfree, f%23 Problem: Partial function application for a non-symmetric operator using point-free style in F#? How...
Partial function application for a non-symmetric operator using point-free style in F#? Partial function application for a non-symmetric operator using point-free style in F#? pointfree f%23 point-free Partial mod10 Partial function application for a non-symmetric operator using point-free style in F#? How can I create...
[ -0.003875732421875, 0.0072021484375, 0.01806640625, -0.0064697265625, 0.0059814453125, 0.00860595703125, 0.01611328125, -0.018310546875, -0.006134033203125, -0.0218505859375, 0.009033203125, -0.031494140625, 0.024169921875, -0.014404296875, -0.0022125244140625, -0.00714111328125, -0....
[ 9148, 289, 32354, 38415, 100, 351, 230612, 238, 39933, 6275, 32087, 20623, 563, 4904, 1238, 3949, 3742, 2811, 963, 11249, 831, 28282, 2878, 17055, 223, 5117, 10750, 15490, 2499, 123055, 81887, 2633, 2203, 26244, 209, 3900, 425, 1022, 64457,...
[ 0.192138671875, 0.1278076171875, 0.18017578125, 0.184814453125, 0.0450439453125, 0.1676025390625, 0.188232421875, 0.0157470703125, 0.1910400390625, 0.1029052734375, 0.1971435546875, 0.1671142578125, 0.1212158203125, 0.185546875, 0.07501220703125, 0.0404052734375, 0.139892578125, 0....
embed
12971965_c0
12971965
fsharp
0
Title: Overloaded inline operators in F#: ( |+| ) Problem title: Overloaded inline operators in F#: ( |+| ) Tags: syntax, operator-overloading, f%23 Problem: Overloaded inline operators in F#: ( |+| ) I'm trying to define an overloaded operator, e.g. |+| , as the following: let inline ( |+| ) (m1 : #IMeasurable) (m2 : ...
Overloaded inline operators in F#: ( |+| ) Overloaded inline operators in F#: ( |+| ) syntax operator-overloading f%23 Overloaded IMeasurable m1.Measure m2.Measure Overloaded inline operators in F#: ( |+| ) I'm trying to define an overloaded operator, e.g. |+| , as the following: The problem is, I can't do something li...
[ -0.006439208984375, 0.00811767578125, 0.0133056640625, 0.003631591796875, -0.007476806640625, 0.003082275390625, -0.0142822265625, 0.0034027099609375, 0.0166015625, -0.04052734375, 0.003326416015625, -0.004608154296875, 0.017822265625, -0.0003833770751953125, 0.01409912109375, -0.00044...
[ 9578, 63033, 297, 23, 2256, 39933, 563, 4904, 58745, 1328, 6002, 86531, 5465, 1238, 3742, 46832, 13, 162, 474, 2886, 347, 6696, 11, 56851, 5442, 31577, 61924, 645, 2967, 831, 18, 54, 56112, 7225, 39, 418, 304, 17199, 3917, 47, 903, 20...
[ 0.1234130859375, 0.224365234375, 0.108154296875, 0.093505859375, 0.1376953125, 0.253662109375, 0.130859375, 0.2003173828125, 0.1041259765625, 0.166015625, 0.053497314453125, 0.032806396484375, 0.1094970703125, 0.1097412109375, 0.10345458984375, 0.045379638671875, 0.0789794921875, 0...
embed
51347069_c1
51347069
fsharp
1
YUV 420 888 to JPEG, the correct dimensions come back. But in fact what I really need is to convert the image to an RGB byte array, and it seems that YUV is a preferable format. It is possible to request RGB as an image format type, but the device I'm testing on doesn't accept that. Code signals: __.OnError, Android, ...
YUV 420 888 to JPEG, the correct dimensions come back. But in fact what I really need is to convert the image to an RGB byte array, and it seems that YUV is a preferable format. It is possible to request RGB as an image format type, but the device I'm testing on doesn't accept that. Code signals: __.OnError, Android, ...
[ 0.005218505859375, 0.0025482177734375, 0.0026092529296875, 0.006256103515625, -0.01434326171875, 0.0089111328125, -0.004364013671875, -0.0023956298828125, -0.0103759765625, 0.0380859375, -0.0152587890625, 0.0157470703125, -0.00604248046875, -0.03955078125, 0.00154876708984375, -0.01855...
[ 990, 83037, 77855, 49543, 47, 216281, 26785, 158208, 1380, 4420, 4966, 15824, 2367, 87, 6183, 3871, 83, 96760, 29569, 142, 171052, 390, 67, 10298, 53, 37202, 12601, 2886, 9384, 7722, 50336, 237, 10644, 4, 1284, 75186, 134234, 98, 22027, 1...
[ 0.15185546875, 0.287353515625, 0.2232666015625, 0.2420654296875, 0.1158447265625, 0.281982421875, 0.1405029296875, 0.2020263671875, 0.0277862548828125, 0.097900390625, 0.0209503173828125, 0.04156494140625, 0.047607421875, 0.001861572265625, 0.0802001953125, 0.1402587890625, 0.0150909...
embed
3398861_c0
3398861
fsharp
0
Title: Have J style adverbs, forks etc been emulated via libraries in mainstream functional languages? Problem title: Have J style adverbs, forks etc been emulated via libraries in mainstream functional languages? Tags: f%23, tacit-programming, j, haskell, functional-programming Problem: Have J style adverbs, forks etc...
Have J style adverbs, forks etc been emulated via libraries in mainstream functional languages? Have J style adverbs, forks etc been emulated via libraries in mainstream functional languages? f%23 tacit-programming j haskell functional-programming Have Have J style adverbs, forks etc been emulated via libraries in main...
[ 0.01220703125, -0.00860595703125, -0.006072998046875, -0.008544921875, -0.003204345703125, -0.007598876953125, 0.0003948211669921875, 0.01336669921875, 0.0004863739013671875, -0.028076171875, -0.000675201416015625, -0.0038909912109375, -0.0096435546875, -0.004241943359375, 0.001106262207...
[ 31901, 821, 20623, 606, 81465, 7, 100, 1224, 2809, 352, 202, 27686, 1829, 35773, 10484, 154909, 123309, 46876, 1238, 3949, 3742, 308, 12645, 28966, 1647, 1556, 142508, 72403, 1601, 158, 555, 56037, 449, 42792, 17669, 81887, 65771, 121392, 3...
[ 0.0556640625, 0.2125244140625, 0.18994140625, 0.1058349609375, 0.2315673828125, 0.040191650390625, 0.179443359375, 0.141845703125, 0.0226593017578125, 0.12109375, 0.117431640625, 0.020660400390625, 0.053924560546875, 0.1787109375, 0.10650634765625, 0.1419677734375, 0.1822509765625, ...
embed
28420373_c0
28420373
fsharp
0
Title: Why does F# Set need IComparable? Problem title: Why does F# Set need IComparable? Tags: f%23 Problem: Why does F# Set need IComparable? So I am trying to use the F# Set as a hash table. But my element type doesn't implement the IComparable interface (although it implements IEquatable ). I got an error saying th...
Why does F# Set need IComparable? Why does F# Set need IComparable? f%23 Why Set IComparable IEquatable SortedSet Why does F# Set need IComparable? So I am trying to use the F# Set as a hash table. But my element type doesn't implement the IComparable interface (although it implements IEquatable ). I got an error sayin...
[ 0.0020904541015625, 0.00457763671875, 0.012939453125, -0.01092529296875, 0.004241943359375, -0.00164794921875, -0.013916015625, -0.01373291015625, -0.003509521484375, 0.00439453125, 0.0048828125, 0.0194091796875, 0.00927734375, -0.00775146484375, -0.002960205078125, 0.00909423828125, ...
[ 44084, 14602, 563, 4904, 19943, 3871, 87, 108161, 147, 2886, 1238, 3742, 75536, 90065, 53666, 297, 294, 126, 31577, 4527, 237, 1556, 127, 23180, 12830, 10644, 18, 29479, 101758, 18499, 50961, 959, 107003, 6637, 225490, 2816, 17368, 2394, 66...
[ 0.1318359375, 0.0185546875, 0.1317138671875, 0.2362060546875, 0.2261962890625, 0.15283203125, 0.1348876953125, 0.1636962890625, 0.1793212890625, 0.165283203125, 0.049407958984375, 0.03155517578125, 0.1119384765625, 0.1888427734375, 0.15869140625, 0.0936279296875, 0.151123046875, 0....
embed
2981126_c0
2981126
fsharp
0
Title: Converting a pointer C# type to F#? Problem title: Converting a pointer C# type to F#? Tags: f%23 Problem: Converting a pointer C# type to F#? I am just a beginner in programing i wish covert some code from C# to F#, I have encotered this code: float[] v1=new float[10] I need to use this pointer to pass to the f...
Converting a pointer C# type to F#? Converting a pointer C# type to F#? f%23 Converting ComputeBuffer bufV1 Context ComputeMemoryFlags.ReadWrite ComputeMemoryFlags.UseHostPointer Converting a pointer C# type to F#? I am just a beginner in programing i wish covert some code from C# to F#, I have encotered this code: I n...
[ 0.01043701171875, -0.000659942626953125, 0.006256103515625, 0.00927734375, -0.00225830078125, -0.000751495361328125, -0.01287841796875, -0.0147705078125, 0.0003414154052734375, -0.021240234375, -0.0057373046875, 0.00142669677734375, 0.020751953125, 0.010009765625, 0.0123291015625, -0.0...
[ 1657, 814, 1916, 6275, 56, 313, 4904, 10644, 47, 563, 1238, 3742, 159415, 7235, 18234, 373, 420, 856, 418, 22829, 4514, 3668, 31345, 11193, 147534, 9842, 1679, 1528, 32599, 29256, 18151, 1295, 587, 3871, 4527, 903, 27875, 70, 32354, 48107...
[ 0.04998779296875, 0.127685546875, 0.0673828125, 0.215087890625, 0.172119140625, 0.0911865234375, 0.2509765625, 0.1507568359375, 0.1240234375, 0.1510009765625, 0.05889892578125, 0.08465576171875, 0.11328125, 0.06854248046875, 0.14501953125, 0.040130615234375, 0.0511474609375, 0.1142...
embed
3019446_c0
3019446
fsharp
0
Title: .NET 4 SpinLock Problem title: .NET 4 SpinLock Tags: f%23, .net Problem: .NET 4 SpinLock The following test code (F#) is not returning the result I'd expect: let safeCount() = let n = 1000000 let counter = ref 0 let spinlock = ref <| SpinLock(false) let run i0 i1 () = for i=i0 to i1-1 do let locked = ref false t...
.NET 4 SpinLock .NET 4 SpinLock f%23 .net NET SpinLock i1-1 Enter Exit System.Threading.Thread thread.Start thread.Join .NET 4 SpinLock The following test code (F#) is not returning the result I'd expect: I'd expect the SpinLock to mutually exclude the counter and, therefore, for it to return counts of 1,000,000 but, i...
[ -0.0081787109375, 0.008544921875, 0.004730224609375, -0.0299072265625, -0.0302734375, 0.0020904541015625, 0.0096435546875, 0.01202392578125, 0.015869140625, -0.03369140625, -0.0250244140625, 0.03759765625, -0.00714111328125, 0.00482177734375, 0.0130615234375, 0.011962890625, 0.009582...
[ 17777, 201, 58383, 209848, 1238, 3742, 1179, 115727, 60816, 5443, 217, 12353, 39116, 86997, 126597, 16604, 25632, 3034, 18151, 4904, 83, 959, 30646, 214, 16750, 41206, 199849, 39041, 105416, 54529, 158887, 64457, 164917, 142424, 237, 2174, 110,...
[ 0.121826171875, 0.161865234375, 0.1820068359375, 0.249755859375, 0.0001220703125, 0.0794677734375, 0.098388671875, 0.0865478515625, 0.07952880859375, 0.048828125, 0.04632568359375, 0.0173492431640625, 0.050994873046875, 0.09326171875, 0.034698486328125, 0.0626220703125, 0.03030395507...
embed
34681495_c0
34681495
fsharp
0
Title: How can I convert a System.Reflection.MemberInfo value into the F# value it represents? Problem title: How can I convert a System.Reflection.MemberInfo value into the F# value it represents? Tags: system.reflection, reflection, generics, f%23 Problem: How can I convert a System.Reflection.MemberInfo value into t...
How can I convert a System.Reflection.MemberInfo value into the F# value it represents? How can I convert a System.Reflection.MemberInfo value into the F# value it represents? system.reflection reflection generics f%23 How System.Reflection.MemberInfo FSharp.Compiler.Service MemberInfo system.reflection How can I conve...
[ -0.0115966796875, 0.0019989013671875, 0.017578125, 0.00119781494140625, -0.00897216796875, -0.007598876953125, -0.02099609375, -0.0035552978515625, -0.000637054443359375, -0.00927734375, 0.0057373046875, 0.03515625, -0.00677490234375, 0.004150390625, 0.01556396484375, -0.00799560546875...
[ 11249, 831, 96760, 12353, 190015, 133, 10763, 594, 27417, 93147, 34292, 3934, 563, 4904, 33636, 5426, 107, 34334, 44961, 1830, 189534, 1238, 3742, 3467, 254, 108161, 34759, 121979, 74057, 72367, 71924, 18151, 6032, 93774, 89845, 27489, 142424, ...
[ 0.034515380859375, 0.04888916015625, 0.18798828125, 0.160400390625, 0.170166015625, 0.1578369140625, 0.07568359375, 0.0780029296875, 0.2109375, 0.2353515625, 0.1695556640625, 0.0958251953125, 0.0894775390625, 0.199462890625, 0.17919921875, 0.1129150390625, 0.078369140625, 0.1937255...
embed
315533_c0
315533
fsharp
0
Title: Scientific data visualization and the .NET framework Problem title: Scientific data visualization and the .NET framework Tags: ironpython, f%23, data-visualization, .net, c%23 Problem: Scientific data visualization and the .NET framework I have spent a long time searching for a product that would bring functiona...
Scientific data visualization and the .NET framework Scientific data visualization and the .NET framework ironpython f%23 data-visualization .net c%23 Scientific NET Scientific data visualization and the .NET framework I have spent a long time searching for a product that would bring functionality similar to matplotlib...
[ 0.0048828125, 0.0322265625, 0.008544921875, -0.0027008056640625, -0.00567626953125, -0.016845703125, -0.006927490234375, 0.001739501953125, -0.00010633468627929688, 0.0186767578125, 0.009765625, -0.00836181640625, -0.02880859375, 0.0019683837890625, -0.0040283203125, -0.000999450683593...
[ 210017, 2053, 21176, 47691, 136, 5, 17777, 170846, 193, 191, 6493, 50828, 1238, 3742, 1824, 20605, 1179, 4989, 157318, 12996, 19095, 123309, 21373, 2589, 105710, 5612, 47, 33720, 6183, 72350, 1257, 152018, 164031, 765, 14037, 30964, 42, 26136...
[ 0.2086181640625, 0.1751708984375, 0.1993408203125, 0.0859375, 0.034637451171875, 0.04156494140625, 0.1949462890625, 0.19140625, 0.0814208984375, 0.0426025390625, 0.1011962890625, 0.15966796875, 0.046051025390625, 0.1270751953125, 0.1192626953125, 0.1453857421875, 0.1473388671875, 0...
embed
28645437_c2
28645437
fsharp
2
-ICompilerComponent-TryCompile, IReturnStrategy, FunScript.InternalCompiler.Compiler.tryComponent, ICompilerComponent, FunScript.InternalCompiler.result, Microsoft.FSharp.Collections.ListModule.TryPick, TResult, FunScript.InternalCompiler.Compiler.tryAllComponents, FunScript.InternalCompiler.Compiler.compile, FunScript...
-ICompilerComponent-TryCompile, IReturnStrategy, FunScript.InternalCompiler.Compiler.tryComponent, ICompilerComponent, FunScript.InternalCompiler.result, Microsoft.FSharp.Collections.ListModule.TryPick, TResult, FunScript.InternalCompiler.Compiler.tryAllComponents, FunScript.InternalCompiler.Compiler.compile, FunScript...
[ -0.0279541015625, -0.0050048828125, 0.00616455078125, -0.0091552734375, -0.0098876953125, 0.0001468658447265625, 0.00043487548828125, -0.021484375, -0.011474609375, -0.0001850128173828125, -0.035400390625, 0.025634765625, -0.011962890625, 0.0169677734375, 0.015380859375, 0.003433227539...
[ 20, 568, 108161, 34759, 10770, 54137, 9, 618, 1294, 1340, 4, 32863, 63434, 19, 97315, 67, 3432, 28670, 147845, 5, 44851, 6236, 15123, 87, 2109, 7136, 7244, 36381, 3467, 254, 78457, 8996, 154663, 91616, 8782, 683, 41113, 14107, 90, 43512, ...
[ 0.0618896484375, 0.189697265625, 0.2235107421875, 0.2001953125, 0.1195068359375, 0.25244140625, 0.0400390625, 0.09033203125, 0.2158203125, 0.222900390625, 0.0911865234375, 0.1195068359375, 0.2158203125, 0.1033935546875, 0.1866455078125, 0.16064453125, 0.1385498046875, 0.20959472656...
embed
3555272_c0
3555272
fsharp
0
Title: FSharp.Core not optimized? Problem title: FSharp.Core not optimized? Tags: f%23, cil Problem: FSharp.Core not optimized? I've recently inspected the performance of a F# app and while digging through the CIL I've found out that FSharp.Core (for .NET v4.0) contains several nop instructions, many unused variables a...
FSharp.Core not optimized? FSharp.Core not optimized? f%23 cil FSharp.Core FSharp.Core not optimized? I've recently inspected the performance of a F# app and while digging through the CIL I've found out that FSharp.Core (for .NET v4.0) contains several nop instructions, many unused variables and variables which are onl...
[ -0.002716064453125, 0.0185546875, -0.00139617919921875, -0.006683349609375, -0.0263671875, -0.0203857421875, -0.003936767578125, -0.005706787109375, -0.021728515625, 0.0201416015625, 0.00193023681640625, -0.00048065185546875, -0.00225830078125, 0.004608154296875, 0.0032501220703125, 0....
[ 93774, 3467, 254, 5, 50886, 13, 959, 15572, 29367, 32, 1238, 3742, 13003, 134071, 23718, 563, 4904, 4027, 313, 16444, 17777, 81, 151152, 70541, 40368, 110, 167934, 5941, 51, 33740, 77336, 4734, 59121, 39116, 24145, 26513, 6138, 55043, 7344,...
[ 0.1148681640625, 0.19287109375, 0.2176513671875, 0.05865478515625, 0.2020263671875, 0.1724853515625, 0.1103515625, 0.1820068359375, 0.130126953125, 0.006134033203125, 0.0518798828125, 0.0699462890625, 0.09375, 0.0623779296875, 0.1103515625, 0.0968017578125, 0.134521484375, 0.107910...
embed
70371615_c1
70371615
fsharp
1
ParamArray>] constraints: string []) = inherit Attribute() member _.Constraints = constraints |> List.ofArray type X<[<Constraint("equality")>] 'y when 'y: equality> = { Y: 'y } typedefof<X<_>>.GetGenericArguments().[0].GetCustomAttributes<ConstraintAttribute>() Obviously having to manually annotate is not ideal, thoug...
ParamArray>] constraints: string []) = inherit Attribute() member _.Constraints = constraints |> List.ofArray type X<[<Constraint("equality")>] 'y when 'y: equality> = { Y: 'y } typedefof<X<_>>.GetGenericArguments().[0].GetCustomAttributes<ConstraintAttribute>() Obviously having to manually annotate is not ideal, thoug...
[ -0.0098876953125, -0.00180816650390625, -0.01708984375, -0.00830078125, 0.010009765625, -0.010009765625, -0.003143310546875, 0.002410888671875, -0.0029144287109375, -0.007080078125, -0.0027313232421875, 0.00070953369140625, -0.01080322265625, -0.0010986328125, -0.0118408203125, 0.00616...
[ 1720, 39, 7614, 7092, 2740, 158, 2816, 4288, 12, 79315, 378, 268, 2203, 23, 3334, 217, 1913, 191145, 32786, 11935, 32036, 4390, 10644, 1193, 13, 161789, 53, 3229, 28, 990, 112, 3584, 420, 724, 126, 135932, 1234, 223, 5928, 23009, 8668, ...
[ 0.151123046875, 0.113525390625, 0.1392822265625, 0.2177734375, 0.035980224609375, 0.099609375, 0.197265625, 0.1556396484375, 0.003997802734375, 0.225830078125, 0.00390625, 0.042510986328125, 0.0389404296875, 0.048187255859375, 0.1639404296875, 0.0701904296875, 0.04364013671875, 0.2...
embed
11836167_c0
11836167
fsharp
0
Title: How to define a type extension for T[] in F#? Problem title: How to define a type extension for T[] in F#? Tags: arrays, c%23, extension-methods, f%23 Problem: How to define a type extension for T[] in F#? In C#, I can define an extension method for a generic array of type T like this: public static T GetOrDefau...
How to define a type extension for T[] in F#? How to define a type extension for T[] in F#? arrays c%23 extension-methods f%23 How GetOrDefault arr.Length How to define a type extension for T[] in F#? In C#, I can define an extension method for a generic array of type T like this: but for the life of me I can't figure ...
[ -0.0010223388671875, 0.0264892578125, 0.0198974609375, 0.0079345703125, -0.01409912109375, -0.042724609375, -0.01141357421875, -0.01239013671875, -0.007781982421875, -0.004058837890625, -0.00201416015625, 0.003875732421875, -0.01373291015625, 0.002532958984375, -0.0021514892578125, -0....
[ 11249, 61924, 10, 10644, 111938, 100, 384, 1065, 23, 563, 4904, 10298, 4778, 3742, 1928, 7352, 1238, 20779, 19060, 187423, 11, 7136, 187, 42, 5267, 449, 927, 360, 55300, 189534, 53, 1884, 903, 26366, 3642, 5701, 37842, 678, 9969, 34759, ...
[ 0.061798095703125, 0.2081298828125, 0.045684814453125, 0.278564453125, 0.262451171875, 0.04949951171875, 0.182861328125, 0.05987548828125, 0.04449462890625, 0.1302490234375, 0.2025146484375, 0.1202392578125, 0.06463623046875, 0.053009033203125, 0.0982666015625, 0.1195068359375, 0.050...
embed
70623830_c0
70623830
fsharp
0
Title: How to validate null or empty space input in F# Problem title: How to validate null or empty space input in F# Tags: f%23 Problem: How to validate null or empty space input in F# I'm trying to validate a string input to prevent it from being null or empty. I tried using pattern matching but it always prints erro...
How to validate null or empty space input in F# How to validate null or empty space input in F# f%23 How Enter Console.ReadLine String.IsNullOrEmpty How to validate null or empty space input in F# I'm trying to validate a string input to prevent it from being null or empty. I tried using pattern matching but it always ...
[ -0.01141357421875, 0.0096435546875, 0.0128173828125, 0.024169921875, -0.016357421875, -0.009765625, 0.0035247802734375, -0.0157470703125, 0.0068359375, 0.010986328125, 0.0341796875, 0.00167083740234375, 0.00182342529296875, 0.007415771484375, -0.0064697265625, 0.00897216796875, 0.022...
[ 11249, 47, 44622, 67, 56574, 707, 201505, 32628, 107730, 23, 563, 4904, 1238, 3742, 60816, 1657, 40777, 31345, 93232, 23351, 214, 29598, 18444, 1181, 19060, 134332, 939, 31577, 79315, 56282, 1295, 8035, 103510, 14858, 11343, 28412, 18499, 268...
[ 0.03875732421875, 0.008148193359375, 0.22216796875, 0.1221923828125, 0.23828125, 0.109130859375, 0.1849365234375, 0.1927490234375, 0.197021484375, 0.05657958984375, 0.1400146484375, 0.2060546875, 0.072998046875, 0.10357666015625, 0.108154296875, 0.026397705078125, 0.12060546875, 0....
embed
39781187_c0
39781187
fsharp
0
Title: Easiest way to remove the last element from list Problem title: Easiest way to remove the last element from list Tags: f%23 Problem: Easiest way to remove the last element from list I am writing a function that will take a list of integers, for example : let x = [1..5] and should return a shuffled list like belo...
Easiest way to remove the last element from list Easiest way to remove the last element from list f%23 list Easiest List.last Easiest way to remove the last element from list I am writing a function that will take a list of integers, for example : and should return a shuffled list like below : So, it should take first ...
[ -0.01611328125, 0.027587890625, 0.01123046875, 0.000537872314453125, -0.0123291015625, 0.0032501220703125, -0.0126953125, 0.00738525390625, 0.0037841796875, -0.00176239013671875, 0.032958984375, -0.006988525390625, -0.0003032684326171875, 0.01806640625, 0.01434326171875, 0.000249862670...
[ 241, 1544, 525, 3917, 47, 87388, 4568, 12830, 1295, 5303, 1238, 3949, 3742, 32036, 19777, 70, 32562, 32354, 5646, 892, 26255, 27781, 30646, 170052, 71, 35064, 5608, 5117, 8108, 59121, 2060, 35166, 37202, 6637, 12638, 1733, 195625, 16940, 95...
[ 0.05615234375, 0.1932373046875, 0.1016845703125, 0.1195068359375, 0.041778564453125, 0.216552734375, 0.250732421875, 0.213134765625, 0.14794921875, 0.212646484375, 0.0831298828125, 0.0311279296875, 0.1434326171875, 0.1995849609375, 0.2025146484375, 0.01226806640625, 0.0792236328125, ...
embed
39139961_c0
39139961
fsharp
0
Title: Using F# type providers in tests Problem title: Using F# type providers in tests Tags: f%23, testing, type-providers Problem: Using F# type providers in tests I'm creating a class library with integration tests. I'm using combination of FsCheck and xUnit here. Tests are supposed to run queries on the database to...
Using F# type providers in tests Using F# type providers in tests f%23 testing type-providers Using Using F# type providers in tests I'm creating a class library with integration tests. I'm using combination of FsCheck and xUnit here. Tests are supposed to run queries on the database to verify an output. I'm using FSha...
[ -0.007110595703125, -0.00250244140625, -0.004791259765625, -0.0233154296875, -0.030029296875, 0.01409912109375, -0.005645751953125, -0.013916015625, 0.0125732421875, -0.0291748046875, -0.0096435546875, -0.00714111328125, 0.01177978515625, 0.004791259765625, 0.0164794921875, 0.003570556...
[ 345, 563, 4904, 10644, 81450, 7, 23, 109921, 1238, 3742, 134234, 93136, 6953, 105233, 18507, 35773, 1294, 157353, 17368, 162515, 202567, 1022, 85600, 18, 8647, 63399, 493, 140992, 93774, 3467, 254, 137989, 196707, 177997, 14202, 866, 44982, 3...
[ 0.064208984375, 0.1475830078125, 0.2244873046875, 0.217529296875, 0.2296142578125, 0.04351806640625, 0.016021728515625, 0.233642578125, 0.0906982421875, 0.1363525390625, 0.2008056640625, 0.14599609375, 0.003936767578125, 0.012542724609375, 0.1029052734375, 0.11376953125, 0.0436401367...
embed
70949261_c0
70949261
fsharp
0
Title: F# CLIMutableAttribute default constructor Problem title: F# CLIMutableAttribute default constructor Tags: f%23, c%23, record, default-constructor Problem: F# CLIMutableAttribute default constructor In F#, CLIMutableAttribute is used to make record types usable with CLI. For example, it adds a default constructo...
F# CLIMutableAttribute default constructor F# CLIMutableAttribute default constructor f%23 c%23 record default-constructor CLIMutableAttribute F# CLIMutableAttribute default constructor In F#, CLIMutableAttribute is used to make record types usable with CLI. For example, it adds a default constructor. Apparently, thoug...
[ 0.00167083740234375, 0.01300048828125, -0.016845703125, -0.01324462890625, 0.00390625, -0.0198974609375, -0.0018157958984375, -0.002044677734375, 0.0078125, 0.002532958984375, 0.0022430419921875, 0.0091552734375, 0.0245361328125, 0.0211181640625, -0.01165771484375, 0.01129150390625, ...
[ 563, 4904, 313, 83318, 34, 22819, 28848, 191145, 114977, 64549, 748, 1238, 3742, 17164, 2271, 36716, 360, 11814, 3249, 52895, 1821, 2886, 678, 10927, 15190, 17116, 107, 3180, 15824, 114864, 61924, 4527, 5423, 142424, 20271, 50961, 2071, 903, ...
[ 0.1568603515625, 0.2337646484375, 0.0831298828125, 0.205322265625, 0.1239013671875, 0.22607421875, 0.052947998046875, 0.2012939453125, 0.276123046875, 0.21826171875, 0.1337890625, 0.0677490234375, 0.037841796875, 0.220703125, 0.0184173583984375, 0.1431884765625, 0.009613037109375, ...
embed
73467027_c0
73467027
fsharp
0
Title: F# strange difference in resolving class method calls Problem title: F# strange difference in resolving class method calls Tags: f%23 Problem: F# strange difference in resolving class method calls Given the following F# code type MyClass = class end type MyWorker1() = (*1*)member this.DoWork(myObject: MyClass) =...
F# strange difference in resolving class method calls F# strange difference in resolving class method calls f%23 MyClass MyWorker1 this.DoWork Seq.iter Resolves MyWorker2 F# strange difference in resolving class method calls Given the following F# code in MyWorker2 the call this.DoWork is resolved as recursive call. I ...
[ -0.0228271484375, 0.00482177734375, -0.004119873046875, 0.00933837890625, -0.0003204345703125, 0.00201416015625, -0.0057373046875, 0.007354736328125, 0.01611328125, -0.0123291015625, -0.0126953125, 0.0019683837890625, 0.0184326171875, 0.01458740234375, 0.01031494140625, -0.03515625, ...
[ 563, 4904, 114453, 60212, 23, 166996, 449, 18507, 55300, 11782, 7, 1238, 3949, 3742, 2646, 140803, 108259, 56, 418, 903, 5, 8331, 503, 864, 16840, 86918, 304, 25632, 18151, 83, 103608, 71, 237, 195625, 5844, 84751, 186, 68991, 4, 363, 7...
[ 0.1490478515625, 0.1953125, 0.1719970703125, 0.20263671875, 0.047607421875, 0.183837890625, 0.0894775390625, 0.186767578125, 0.1524658203125, 0.1824951171875, 0.002960205078125, 0.11962890625, 0.06427001953125, 0.1387939453125, 0.141357421875, 0.18798828125, 0.241455078125, 0.16674...
embed
7964221_c0
7964221
fsharp
0
Title: Optimizing nbody algorithm in F# Problem title: Optimizing nbody algorithm in F# Tags: optimization, algorithm, f%23 Problem: Optimizing nbody algorithm in F# How could be optimized this code further: let rec nCollect func = function | [] -> [] | x::xs -> let firstAndNext body (firstBody, ys) = let newFirst, z =...
Optimizing nbody algorithm in F# Optimizing nbody algorithm in F# optimization algorithm f%23 Optimizing x::xs z::ys List.foldBack Optimizing nbody algorithm in F# How could be optimized this code further: This code is part of nbody simulation program. It is getting each body and is applying a func function between it ...
[ 0.00762939453125, 0.0106201171875, 0.0289306640625, 0.01544189453125, -0.0133056640625, -0.01080322265625, -0.004791259765625, -0.01361083984375, 0.0003185272216796875, -0.0194091796875, 0.009765625, 0.0208740234375, 0.002044677734375, -0.01007080078125, 0.0120849609375, -0.01318359375...
[ 43938, 84382, 653, 37873, 234873, 563, 4904, 87235, 1238, 3949, 3742, 1022, 425, 97, 4778, 32036, 42822, 152470, 15572, 29367, 18151, 53333, 83, 40226, 1528, 20949, 12638, 14361, 59911, 7477, 238, 32354, 17721, 11737, 146104, 11814, 720, 1615...
[ 0.1668701171875, 0.0682373046875, 0.1273193359375, 0.2391357421875, 0.17822265625, 0.1334228515625, 0.197021484375, 0.1798095703125, 0.09637451171875, 0.009918212890625, 0.13330078125, 0.059173583984375, 0.05047607421875, 0.08544921875, 0.09759521484375, 0.1402587890625, 0.1448974609...
embed
7424332_c0
7424332
fsharp
0
Title: Comparing Discriminated Unions Problem title: Comparing Discriminated Unions Tags: discriminated-union, f%23, fsunit Problem: Comparing Discriminated Unions I'm a newbie to F# and I'm playing around with FParsec. I would use FParsec to generate an AST. I would like to use FsUnit to write some tests around the va...
Comparing Discriminated Unions Comparing Discriminated Unions discriminated-union f%23 fsunit Comparing Discriminated Unions AST Variable Number Comparing Discriminated Unions I'm a newbie to F# and I'm playing around with FParsec. I would use FParsec to generate an AST. I would like to use FsUnit to write some tests a...
[ -0.01953125, -0.00007772445678710938, -0.00179290771484375, 0.00811767578125, -0.0123291015625, -0.00244140625, 0.00506591796875, -0.006622314453125, 0.01483154296875, 0.01953125, 0.01708984375, 0.0220947265625, 0.0152587890625, 0.014404296875, 0.0032958984375, 0.00469970703125, 0.01...
[ 113307, 214, 6206, 135421, 3674, 32528, 7, 55970, 87046, 1238, 3949, 3742, 6548, 217, 48963, 84572, 2886, 103332, 87, 9014, 563, 4904, 75169, 10932, 28636, 39797, 2806, 4527, 139392, 85600, 18, 33022, 109921, 67842, 63920, 366, 2189, 63284, ...
[ 0.2060546875, 0.0560302734375, 0.0841064453125, 0.20703125, 0.1103515625, 0.221435546875, 0.094970703125, 0.239013671875, 0.186279296875, 0.10662841796875, 0.0902099609375, 0.1494140625, 0.0902099609375, 0.156494140625, 0.1995849609375, 0.1558837890625, 0.008392333984375, 0.1036987...
embed
43747494_c0
43747494
fsharp
0
Title: How to define a public static readonly field? Problem title: How to define a public static readonly field? Tags: f%23, .net Problem: How to define a public static readonly field? In C#, one can define a public static readonly field like this: namespace MyNamespace { public static class MyClass { public static re...
How to define a public static readonly field? How to define a public static readonly field? f%23 .net How MyNamespace MyClass MyValue Test Literal How to define a public static readonly field? In C#, one can define a public static readonly field like this: In F#, the code I can think of which matches the definition abo...
[ -0.007232666015625, -0.00726318359375, 0.01434326171875, 0.00909423828125, 0.00335693359375, 0.000019073486328125, 0.0036468505859375, -0.025634765625, -0.010498046875, -0.00799560546875, 0.006988525390625, 0.00445556640625, -0.00433349609375, 0.00162506103515625, 0.0233154296875, -0.0...
[ 11249, 61924, 3835, 201939, 12301, 191, 538, 44457, 47, 10, 1238, 3949, 3742, 1179, 2646, 163612, 65421, 140803, 856, 50770, 8647, 135940, 6, 360, 313, 4904, 831, 1884, 563, 18151, 5351, 14858, 80934, 2965, 3900, 23, 158, 271, 83, 959, ...
[ 0.04205322265625, 0.223388671875, 0.217529296875, 0.267578125, 0.21923828125, 0.171875, 0.179443359375, 0.28515625, 0.0037841796875, 0.020965576171875, 0.07391357421875, 0.0194854736328125, 0.1300048828125, 0.1220703125, 0.09075927734375, 0.0924072265625, 0.18994140625, 0.173583984...
embed
49751384_c0
49751384
fsharp
0
Title: F# loop through List.CountBy Problem title: F# loop through List.CountBy Tags: .net, f%23 Problem: F# loop through List.CountBy I am attempting to loop through the list group at the end. How can I iterate through a group by list and apply a function to the count: open System module MonteCarlo = let processMin = ...
F# loop through List.CountBy F# loop through List.CountBy .net f%23 count List.CountBy System MonteCarlo Random randInt.Next List.map MCResults List.average MCTotal List.sum List.iter F# loop through List.CountBy I am attempting to loop through the list group at the end. How can I iterate through a group by list and ap...
[ 0.01904296875, -0.01275634765625, 0.00433349609375, 0.0291748046875, 0.00054168701171875, 0.00445556640625, 0.0245361328125, -0.0125732421875, 0.0208740234375, 0.000514984130859375, -0.002777099609375, 0.0032958984375, 0.0255126953125, -0.014892578125, 0.00665283203125, 0.0020141601562...
[ 563, 4904, 40956, 8305, 32036, 108210, 75358, 6, 1179, 1238, 3949, 3742, 54529, 12353, 17629, 21851, 365, 39643, 306, 27388, 18, 81280, 62346, 90, 7136, 7, 8216, 29838, 38485, 169473, 11832, 16840, 5, 81887, 5303, 21115, 99, 70, 3564, 112...
[ 0.13232421875, 0.18359375, 0.18994140625, 0.1431884765625, 0.197509765625, 0.177978515625, 0.220947265625, 0.031036376953125, 0.1351318359375, 0.0950927734375, 0.0023193359375, 0.15478515625, 0.213623046875, 0.1253662109375, 0.060882568359375, 0.09088134765625, 0.08349609375, 0.101...
embed
53627024_c1
53627024
fsharp
1
.Net.IRequestParameters, End, Elasticsearch.Net.ElasticLowLevelClient.DoRequest, Elasticsearch.Net.ElasticLowLevelClient.Search, Elasticsearch.Net.SearchRequestParameters, Nest.LowLevelDispatch.SearchDispatch, Nest.IRequest, TParameters, Elasticsearch.Net.SerializableData, Nest.ElasticClient, Search, b__546_0, Nest.ISe...
.Net.IRequestParameters, End, Elasticsearch.Net.ElasticLowLevelClient.DoRequest, Elasticsearch.Net.ElasticLowLevelClient.Search, Elasticsearch.Net.SearchRequestParameters, Nest.LowLevelDispatch.SearchDispatch, Nest.IRequest, TParameters, Elasticsearch.Net.SerializableData, Nest.ElasticClient, Search, b__546_0, Nest.ISe...
[ -0.018310546875, 0.02587890625, 0.004608154296875, -0.00518798828125, -0.017333984375, -0.00069427490234375, 0.0196533203125, -0.0233154296875, -0.021484375, 0.02587890625, 0.007781982421875, 0.016845703125, -0.019287109375, 0.0042724609375, -0.006072998046875, -0.0322265625, 0.01037...
[ 5, 24447, 14688, 13, 75616, 55292, 29089, 18878, 37905, 28692, 86250, 7623, 11, 15363, 434, 5267, 2601, 150, 2517, 8331, 4332, 221175, 4, 799, 271, 44456, 4453, 384, 25435, 137989, 33086, 876, 14005, 155670, 2389, 568, 163025, 7763, 14107, ...
[ 0.10205078125, 0.1893310546875, 0.13427734375, 0.1253662109375, 0.223388671875, 0.168212890625, 0.2138671875, 0.19921875, 0.208251953125, 0.159423828125, 0.25048828125, 0.127685546875, 0.1158447265625, 0.1566162109375, 0.0206756591796875, 0.073486328125, 0.165283203125, 0.150634765...
embed
26109368_c1
26109368
fsharp
1
2nd function calcuation (the long one) is a cpu drain - can this be optimized? I am unsure if the anonymous functions create a performance problem, as readable as it is... I am brand new to F# programming, so please let me know if you spot any egregarious problems with either the style/form or the performance! Thank y...
2nd function calcuation (the long one) is a cpu drain - can this be optimized? I am unsure if the anonymous functions create a performance problem, as readable as it is... I am brand new to F# programming, so please let me know if you spot any egregarious problems with either the style/form or the performance! Thank y...
[ -0.0029449462890625, -0.0052490234375, -0.000774383544921875, 0.002777099609375, 0.0172119140625, -0.010009765625, 0.021240234375, -0.034423828125, 0.0240478515625, -0.005523681640625, 0.01092529296875, 0.033203125, -0.003875732421875, -0.0322265625, 0.02294921875, 0.000421524047851562...
[ 116, 2208, 32354, 6510, 1010, 2320, 2347, 4989, 1632, 83, 10, 1766, 8167, 73, 831, 903, 186, 15572, 29367, 51646, 52184, 10821, 28282, 23718, 2967, 12301, 2886, 3525, 47, 563, 4904, 56037, 449, 44402, 20623, 5037, 29479, 65572, 42459, 493...
[ 0.1278076171875, 0.1304931640625, 0.19384765625, 0.1085205078125, 0.1278076171875, 0.05657958984375, 0.000732421875, 0.1387939453125, 0.06146240234375, 0.0689697265625, 0.0263214111328125, 0.1748046875, 0.138671875, 0.115478515625, 0.053802490234375, 0.043731689453125, 0.002532958984...
embed
5543366_c0
5543366
fsharp
0
Title: F# -&gt; Seq to Map Problem title: F# -&gt; Seq to Map Tags: f%23 Problem: F# -> Seq to Map I'm trying to load all my Categories from the database and then map them to a Map (dictionary?), however when I use the following code: [<StructuralComparison>] type Category = { mutable Id: string; Name: string; SavePath...
F# -&gt; Seq to Map F# -&gt; Seq to Map f%23 Seq Map Categories StructuralComparison Category Name SavePath Tags ResizeArray Tag session.Query Seq.map Map.ofSeq F# -> Seq to Map I'm trying to load all my Categories from the database and then map them to a Map (dictionary?), however when I use the following code: it sim...
[ -0.0015716552734375, 0.0203857421875, 0.003143310546875, -0.0137939453125, -0.0133056640625, -0.00299072265625, -0.00836181640625, -0.00250244140625, 0.0020599365234375, -0.050537109375, -0.01611328125, 0.017822265625, -0.0150146484375, 0.0157470703125, -0.004180908203125, -0.002517700...
[ 563, 4904, 1230, 5386, 503, 864, 47, 42719, 1238, 3742, 106584, 63667, 73317, 108161, 1686, 1681, 49057, 15757, 64944, 10519, 12298, 853, 62539, 7092, 4837, 56002, 41732, 1294, 62346, 4390, 4233, 31577, 72367, 756, 759, 1295, 63399, 22288, ...
[ 0.1312255859375, 0.225341796875, 0.049041748046875, 0.13623046875, 0.15966796875, 0.26025390625, 0.1802978515625, 0.261474609375, 0.08056640625, 0.1134033203125, 0.2578125, 0.075927734375, 0.08221435546875, 0.09539794921875, 0.1187744140625, 0.0222320556640625, 0.2130126953125, 0.0...
embed
3399637_c0
3399637
fsharp
0
Title: How to create a F# based Visual Studio Add-In? Problem title: How to create a F# based Visual Studio Add-In? Tags: f%23, visual-studio Problem: How to create a F# based Visual Studio Add-In? Even with F# installed, Visual Studio 2008 (and probably 2010) only provides Add-In project templates for C#, VB.NET and C...
How to create a F# based Visual Studio Add-In? How to create a F# based Visual Studio Add-In? f%23 visual-studio How Visual Studio Add-In How to create a F# based Visual Studio Add-In? Even with F# installed, Visual Studio 2008 (and probably 2010) only provides Add-In project templates for C#, VB.NET and C++. So, how t...
[ -0.0101318359375, 0.007537841796875, -0.001861572265625, 0.00250244140625, -0.01409912109375, 0.0186767578125, -0.01165771484375, -0.006927490234375, -0.0004367828369140625, -0.02490234375, 0.016845703125, -0.0302734375, -0.0032806396484375, 0.020751953125, 0.006500244140625, -0.018188...
[ 11249, 47, 28282, 563, 4904, 35509, 73372, 22968, 29117, 9, 4153, 32, 10, 1238, 3742, 21176, 52629, 678, 20600, 2021, 106606, 4734, 87344, 13452, 110934, 100, 75034, 17777, 37223, 3642, 37842, 18507, 35773, 3525, 29479, 11338, 8241, 425, 41...
[ 0.1077880859375, 0.0380859375, 0.1680908203125, 0.1693115234375, 0.239013671875, 0.1702880859375, 0.22509765625, 0.2178955078125, 0.173583984375, 0.079833984375, 0.226806640625, 0.001312255859375, 0.014007568359375, 0.06634521484375, 0.0190887451171875, 0.1448974609375, 0.142578125, ...
embed
13011811_c0
13011811
fsharp
0
Title: F# generic type constraints and duck typing Problem title: F# generic type constraints and duck typing Tags: f%23, generics, inline Problem: F# generic type constraints and duck typing I'm trying to implement duck typing in F# and I spotted that you can have a member constraint in F# generics as follows: type Li...
F# generic type constraints and duck typing F# generic type constraints and duck typing f%23 generics inline ListEntryViewModel Name ViewModelBase this.Name model.Name F# generic type constraints and duck typing I'm trying to implement duck typing in F# and I spotted that you can have a member constraint in F# generics...
[ -0.00093841552734375, -0.01007080078125, 0.021728515625, 0.001068115234375, 0.00885009765625, -0.002532958984375, -0.01904296875, 0.0103759765625, -0.0004711151123046875, -0.01611328125, -0.00433349609375, -0.0267333984375, 0.0184326171875, -0.000667572021484375, -0.005096435546875, -0...
[ 563, 4904, 189534, 10644, 158, 2816, 4288, 115, 2594, 11417, 1238, 3742, 2256, 32036, 15123, 100474, 140290, 15757, 29805, 63473, 903, 163612, 3299, 31577, 29479, 214, 13162, 831, 32786, 28960, 36917, 18151, 23742, 18, 9969, 1340, 9790, 91067...
[ 0.1064453125, 0.181640625, 0.2242431640625, 0.1485595703125, 0.0953369140625, 0.167724609375, 0.0892333984375, 0.1385498046875, 0.1563720703125, 0.17041015625, 0.04315185546875, 0.087890625, 0.046295166015625, 0.0294647216796875, 0.026702880859375, 0.0775146484375, 0.08221435546875, ...
embed
17925598_c1
17925598
fsharp
1
Chris\Documents\Visual Studio 2012\Projects\WranglerDataStructures\bin\Debug\WranglerDataStructures.dll' or one of its dependencies. An attempt was made to load a program with an incorrect format. I have checked the file paths and they seem to be correct. I can mouse over the 'type tick' and it gives me the structure o...
Chris\Documents\Visual Studio 2012\Projects\WranglerDataStructures\bin\Debug\WranglerDataStructures.dll' or one of its dependencies. An attempt was made to load a program with an incorrect format. I have checked the file paths and they seem to be correct. I can mouse over the 'type tick' and it gives me the structure o...
[ 0.0194091796875, 0.00799560546875, -0.01226806640625, 0.00012683868408203125, -0.000926971435546875, 0.02197265625, -0.0128173828125, -0.002166748046875, -0.0062255859375, -0.01611328125, -0.006072998046875, -0.0026092529296875, -0.01422119140625, -0.01507568359375, 0.020263671875, -0....
[ 31745, 239469, 6609, 64010, 22968, 1324, 223353, 5445, 603, 137989, 71713, 18190, 54889, 7568, 4657, 85779, 1456, 71, 1181, 42548, 81887, 72367, 1528, 214552, 9384, 12765, 11435, 60875, 48903, 26785, 831, 114669, 645, 50986, 1053, 2594, 45646, ...
[ 0.171630859375, 0.136962890625, 0.07421875, 0.1361083984375, 0.148681640625, 0.1678466796875, 0.0743408203125, 0.2135009765625, 0.1884765625, 0.1331787109375, 0.1343994140625, 0.1513671875, 0.110595703125, 0.052978515625, 0.0887451171875, 0.244384765625, 0.053192138671875, 0.046051...
embed
24725358_c0
24725358
fsharp
0
Title: F# argument checking Problem title: F# argument checking Tags: arguments, code-contracts, f%23, design-by-contract, quotations Problem: F# argument checking F# has some nice succint argument checking functions that can be used like this: let foo (bar : string) : string = if bar = null then nullArg "bar" ... I pr...
F# argument checking F# argument checking arguments code-contracts f%23 design-by-contract quotations Contract.Requires Expr F# argument checking F# has some nice succint argument checking functions that can be used like this: I prefer a more prescriptive expression, however, a la Code Contracts: The code I dream about...
[ 0.00421142578125, 0.00872802734375, 0.00714111328125, -0.0033111572265625, -0.0032806396484375, 0.01251220703125, 0.0211181640625, 0.001953125, -0.00958251953125, -0.004638671875, -0.00007200241088867188, 0.004486083984375, -0.0032806396484375, 0.00836181640625, 0.0233154296875, 0.0048...
[ 563, 4904, 10750, 175199, 18151, 184103, 1238, 3742, 4331, 1272, 81732, 149957, 3181, 60075, 42, 26267, 91, 45740, 660, 32354, 831, 11814, 1884, 903, 12601, 1286, 479, 32032, 5844, 125195, 21, 28864, 48869, 1672, 32562, 83, 49903, 9655, 365...
[ 0.1373291015625, 0.193115234375, 0.2474365234375, 0.213623046875, 0.1629638671875, 0.148193359375, 0.05413818359375, 0.06915283203125, 0.1259765625, 0.046234130859375, 0.124755859375, 0.1815185546875, 0.1103515625, 0.06549072265625, 0.057403564453125, 0.031524658203125, 0.01153564453...
embed
34053413_c0
34053413
fsharp
0
Title: How can I execute function returning type from discriminated union Problem title: How can I execute function returning type from discriminated union Tags: f%23 Problem: How can I execute function returning type from discriminated union I am not sure how to write this statement. let dealPlayer() = Hit(Two; Spades...
How can I execute function returning type from discriminated union How can I execute function returning type from discriminated union f%23 discriminated How Suit Spades Diamonds Clubs Hearts Face Two Three Four Five Six Seven Eight Nine Ten Jack Queen King Ace Card Deal Hand Hit How can I execute function returning typ...
[ -0.004180908203125, -0.011962890625, -0.00299072265625, 0.0191650390625, -0.004791259765625, -0.01263427734375, -0.01513671875, -0.0137939453125, 0.00787353515625, -0.0133056640625, 0.0244140625, 0.02490234375, 0.00799560546875, 0.0014801025390625, -0.003265380859375, -0.0123291015625,...
[ 11249, 831, 87, 71924, 13, 32354, 30646, 214, 10644, 1295, 55970, 3674, 69941, 1238, 3949, 3742, 1832, 217, 10959, 988, 69124, 7, 7687, 60861, 26219, 32964, 129335, 65056, 156615, 84247, 132556, 22553, 1520, 5531, 21763, 44109, 18813, 70280, ...
[ 0.07470703125, 0.0972900390625, 0.0474853515625, 0.2017822265625, 0.0265045166015625, 0.213623046875, 0.220947265625, 0.0787353515625, 0.2275390625, 0.1334228515625, 0.256103515625, 0.1158447265625, 0.1978759765625, 0.0758056640625, 0.053009033203125, 0.1517333984375, 0.1434326171875...
embed
39806467_c1
39806467
fsharp
1
e089],[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]] or any of its base types I've tried the solution suggested suggested here (copying two DLLs): Deedle frame to R but that didn't make a difference. I should also say that my usage of series and Frame.ofRecords is pretty m...
e089],[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]] or any of its base types I've tried the solution suggested suggested here (copying two DLLs): Deedle frame to R but that didn't make a difference. I should also say that my usage of series and Frame.ofRecords is pretty m...
[ 0.0021820068359375, 0.0238037109375, -0.006561279296875, -0.00019168853759765625, -0.016845703125, 0.0089111328125, 0.00135040283203125, -0.016845703125, 0.0076904296875, -0.018798828125, -0.0179443359375, 0.0194091796875, 0.004180908203125, 0.0023651123046875, 0.0107421875, 0.00500488...
[ 28, 8318, 1126, 84293, 71713, 214, 68163, 10517, 5612, 40647, 151152, 99929, 105141, 218142, 16934, 162429, 1098, 14546, 3647, 52895, 25, 29806, 42459, 137366, 6626, 23708, 262, 297, 133, 123789, 47, 627, 60212, 127689, 36549, 136, 42557, 13,...
[ 0.09234619140625, 0.1177978515625, 0.17236328125, 0.12646484375, 0.1077880859375, 0.0831298828125, 0.050018310546875, 0.1336669921875, 0.195068359375, 0.0714111328125, 0.1640625, 0.074951171875, 0.1361083984375, 0.10888671875, 0.020751953125, 0.0628662109375, 0.10150146484375, 0.03...
embed
4965649_c0
4965649
fsharp
0
Title: System.DateTime formatting in F# Problem title: System.DateTime formatting in F# Tags: datetime, f%23 Problem: System.DateTime formatting in F# I have the following f# code: let mutable argNum = 0 let cmdArgs = System.Environment.GetCommandLineArgs() for arg in cmdArgs do printfn "arg %d : %s" argNum arg match a...
System.DateTime formatting in F# System.DateTime formatting in F# datetime f%23 System.DateTime System.Environment.GetCommandLineArgs System.Int32.Parse System.DateTime.Parse System.DateTime formatting in F# I have the following f# code: for the date parameters, the argument comes in the form: "1-1-2011", so "M-D-YYYY"...
[ 0.017333984375, 0.01385498046875, -0.003387451171875, -0.003082275390625, -0.007293701171875, 0.0030059814453125, -0.00775146484375, 0.0230712890625, -0.004364013671875, 0.01495361328125, 0.01531982421875, 0.004913330078125, -0.01397705078125, -0.00201416015625, -0.00592041015625, -0.0...
[ 12353, 86291, 70059, 9384, 1916, 563, 4904, 23, 5622, 6032, 1238, 3949, 3742, 1900, 12018, 93232, 7614, 9405, 6460, 28636, 25632, 18151, 171859, 70, 10750, 3173, 115727, 73251, 594, 9, 397, 108354, 33022, 112474, 3934, 131492, 35686, 52825, ...
[ 0.09442138671875, 0.1351318359375, 0.2266845703125, 0.1922607421875, 0.02972412109375, 0.1466064453125, 0.22509765625, 0.01361083984375, 0.139892578125, 0.1544189453125, 0.10089111328125, 0.000457763671875, 0.0928955078125, 0.0210723876953125, 0.09173583984375, 0.046539306640625, 0.0...
embed
30669756_c0
30669756
fsharp
0
Title: Split string into string list containing strings no greater than n chars Problem title: Split string into string list containing strings no greater than n chars Tags: f%23 Problem: Split string into string list containing strings no greater than n chars I have a long string that I need to convert to a string lis...
Split string into string list containing strings no greater than n chars Split string into string list containing strings no greater than n chars f%23 Split What Black Forest Iron Gate Sea Split string into string list containing strings no greater than n chars I have a long string that I need to convert to a string li...
[ -0.01080322265625, -0.01470947265625, -0.003753662109375, 0.01220703125, -0.00469970703125, 0.024169921875, 0.01318359375, -0.000362396240234375, 0.0019989013671875, -0.001007080078125, 0.0142822265625, -0.023193359375, -0.0184326171875, -0.008544921875, 0.0052490234375, 0.013427734375...
[ 46474, 79315, 3934, 5303, 70541, 110, 117396, 653, 21441, 1238, 3949, 3742, 4865, 10074, 87282, 70599, 132936, 27414, 4989, 3871, 96760, 47, 12638, 4426, 836, 2301, 18, 3444, 34153, 65450, 927, 31330, 2565, 74918, 107671, 32628, 25632, 96113,...
[ 0.2159423828125, 0.2442626953125, 0.1109619140625, 0.204345703125, 0.1204833984375, 0.0853271484375, 0.08984375, 0.095947265625, 0.1614990234375, 0.046966552734375, 0.048004150390625, 0.149658203125, 0.066650390625, 0.1790771484375, 0.2122802734375, 0.1995849609375, 0.2293701171875, ...
embed
8852776_c0
8852776
fsharp
0
Title: F# (.. ..) operator usage/overloading Problem title: F# (.. ..) operator usage/overloading Tags: operator-overloading, f%23 Problem: F# (.. ..) operator usage/overloading I'm interested in using/overloading the "range step" operator (.. ..), but I can't for the life of me find out how to use it. In the documenta...
F# (.. ..) operator usage/overloading F# (.. ..) operator usage/overloading operator-overloading f%23 Usage FS0010 Unexpected Expected F# (.. ..) operator usage/overloading I'm interested in using/overloading the "range step" operator (.. ..), but I can't for the life of me find out how to use it. In the documentation ...
[ 0.01116943359375, -0.000621795654296875, 0.016357421875, -0.005889892578125, 0.0123291015625, 0.006256103515625, 0.0208740234375, -0.0086669921875, -0.004638671875, -0.01416015625, -0.0019378662109375, 0.0147705078125, 0.01336669921875, 0.0106201171875, 0.0157470703125, -0.0166015625, ...
[ 563, 4904, 5, 1468, 39933, 127689, 5465, 63033, 1238, 3949, 3742, 70166, 93774, 7049, 963, 83613, 13, 60075, 60892, 17368, 64, 214, 94250, 29954, 831, 18, 6897, 7413, 1810, 3642, 47, 4527, 442, 209806, 31577, 128019, 18499, 159029, 60923, ...
[ 0.138916015625, 0.218994140625, 0.1143798828125, 0.1636962890625, 0.259033203125, 0.1162109375, 0.1240234375, 0.18994140625, 0.1082763671875, 0.09588623046875, 0.193115234375, 0.078369140625, 0.122314453125, 0.022979736328125, 0.1285400390625, 0.0611572265625, 0.04913330078125, 0.0...
embed
38999896_c0
38999896
fsharp
0
Title: Can I use F# to build a (cross-platform) library for use in an otherwise native iOS application? Problem title: Can I use F# to build a (cross-platform) library for use in an otherwise native iOS application? Tags: cross-platform, f%23, ios Problem: Can I use F# to build a (cross-platform) library for use in an ...
Can I use F# to build a (cross-platform) library for use in an otherwise native iOS application? Can I use F# to build a (cross-platform) library for use in an otherwise native iOS application? cross-platform f%23 ios Can Can I use F# to build a (cross-platform) library for use in an otherwise native iOS application? S...
[ -0.022216796875, 0.013671875, -0.000682830810546875, -0.00823974609375, -0.00677490234375, -0.0038604736328125, -0.00775146484375, 0.00439453125, -0.0036468505859375, -0.00994873046875, 0.0021514892578125, -0.041015625, 0.00823974609375, 0.008544921875, 0.005401611328125, -0.0046081542...
[ 4171, 87, 4527, 563, 4904, 45367, 95665, 172121, 35773, 1294, 23, 120262, 24, 4935, 13964, 38415, 47, 100, 41421, 1238, 3742, 17, 232, 98363, 16487, 55516, 115097, 8063, 62775, 18588, 47644, 17368, 1884, 123309, 51515, 23718, 169022, 149016, ...
[ 0.103515625, 0.04290771484375, 0.1201171875, 0.180419921875, 0.24609375, 0.145751953125, 0.1446533203125, 0.1724853515625, 0.2005615234375, 0.1357421875, 0.049072265625, 0.1131591796875, 0.052978515625, 0.0731201171875, 0.2054443359375, 0.1142578125, 0.00433349609375, 0.00192260742...
embed
73531576_c1
73531576
fsharp
1
that: *) | Ctor1 (a, b) -> hash a + hash b (* or maybe 1 + hash (a, b) *) | Ctor2 (a, b) -> hash a - hash b (* 2 + hash (a, b) *) The latter code does not seem to me very satisfactory... In such a situation, and assuming I have a large number of constructors, how am I supposed to define a hash function that of course ...
that: *) | Ctor1 (a, b) -> hash a + hash b (* or maybe 1 + hash (a, b) *) | Ctor2 (a, b) -> hash a - hash b (* 2 + hash (a, b) *) The latter code does not seem to me very satisfactory... In such a situation, and assuming I have a large number of constructors, how am I supposed to define a hash function that of course ...
[ -0.013427734375, 0.0245361328125, -0.0029296875, 0.012451171875, -0.0103759765625, 0.0035858154296875, -0.0152587890625, 0.0040283203125, 0.0179443359375, -0.0185546875, -0.01214599609375, 0.0162353515625, 0.000911712646484375, 0.018310546875, -0.0019683837890625, -0.01507568359375, ...
[ 450, 661, 313, 1290, 418, 876, 33079, 1556, 127, 10, 997, 75402, 51139, 106, 304, 116, 18151, 64561, 6044, 16648, 21334, 14012, 64549, 25251, 3642, 134598, 61924, 32354, 15411, 27489, 12921, 34292, 12638, 748, 11192, 37242, 109954, 234873, ...
[ 0.11572265625, 0.066650390625, 0.06756591796875, 0.2327880859375, 0.0924072265625, 0.09796142578125, 0.0467529296875, 0.207275390625, 0.1798095703125, 0.0299072265625, 0.1151123046875, 0.0141754150390625, 0.01776123046875, 0.0215606689453125, 0.1221923828125, 0.06195068359375, 0.1224...
embed
41704672_c0
41704672
fsharp
0
Title: Refreshing only parts of the form in F# Problem title: Refreshing only parts of the form in F# Tags: f%23, refresh, winforms Problem: Refreshing only parts of the form in F# How do i refresh only some parts of a form? I currently update the form every 100 milliseconds. However, it updates everything on the scree...
Refreshing only parts of the form in F# Refreshing only parts of the form in F# f%23 refresh winforms Refreshing Form win.Refresh Refreshing only parts of the form in F# How do i refresh only some parts of a form? I currently update the form every 100 milliseconds. However, it updates everything on the screen and not j...
[ 0.000873565673828125, 0.01531982421875, -0.00009012222290039062, -0.00830078125, -0.00023937225341796875, -0.01324462890625, -0.0032958984375, 0.01531982421875, 0.004241943359375, -0.00445556640625, 0.036865234375, -0.00518798828125, -0.004608154296875, 0.01312255859375, 0.0074462890625,...
[ 238781, 214, 4734, 63920, 111, 3173, 23, 563, 4904, 1238, 3949, 3742, 210651, 148, 46334, 15236, 19916, 11249, 54, 17, 3060, 82424, 28350, 11907, 805, 8877, 191633, 114419, 26818, 49119, 144, 33558, 36746, 201939, 22027, 15549, 142424, 9157, ...
[ 0.260498046875, 0.0711669921875, 0.183837890625, 0.172607421875, 0.0222625732421875, 0.2310791015625, 0.033935546875, 0.1444091796875, 0.2337646484375, 0.0748291015625, 0.006011962890625, 0.09637451171875, 0.274169921875, 0.024505615234375, 0.1409912109375, 0.186279296875, 0.11853027...
embed
39867802_c0
39867802
fsharp
0
Title: How to run fsharp test on Mac from terminal? Problem title: How to run fsharp test on Mac from terminal? Tags: macos, mono, nunit, f%23 Problem: How to run fsharp test on Mac from terminal? I want to learn fsharp. So I'm looking at exercism.io In their readme they instruct to use Xamarin Studio for running the t...
How to run fsharp test on Mac from terminal? How to run fsharp test on Mac from terminal? macos mono nunit f%23 terminal How Mac HelloWorldTest.fs How to run fsharp test on Mac from terminal? I want to learn fsharp. So I'm looking at exercism.io In their readme they instruct to use Xamarin Studio for running the test h...
[ 0.004486083984375, 0.0206298828125, 0.0029449462890625, -0.0033416748046875, 0.015380859375, 0.011474609375, 0.01495361328125, -0.0128173828125, -0.0155029296875, -0.0152587890625, -0.001739501953125, -0.015380859375, 0.00445556640625, 0.00848388671875, 0.019775390625, 0.0093994140625,...
[ 11249, 47, 11675, 1238, 89280, 254, 3034, 98, 4727, 1295, 33949, 291, 7840, 22460, 4124, 217, 3742, 35378, 70646, 111337, 17447, 30698, 56785, 39, 846, 282, 36716, 4527, 8606, 44503, 22968, 51042, 3355, 56, 10794, 196651, 420, 6954, 1884, ...
[ 0.05218505859375, 0.0030517578125, 0.14599609375, 0.1551513671875, 0.2174072265625, 0.205810546875, 0.2227783203125, 0.0438232421875, 0.18359375, 0.1287841796875, 0.27734375, 0.02642822265625, 0.047210693359375, 0.172119140625, 0.103515625, 0.1787109375, 0.1094970703125, 0.13342285...
embed
56153254_c0
56153254
fsharp
0
Title: F# Saturn Framework: what is the difference between &#x27;get&#x27; and &#x27;forward&#x27;? Problem title: F# Saturn Framework: what is the difference between &#x27;get&#x27; and &#x27;forward&#x27;? Tags: saturn-framework, f%23 Problem: F# Saturn Framework: what is the difference between 'get' and 'forward'? f...
F# Saturn Framework: what is the difference between &#x27;get&#x27; and &#x27;forward&#x27;? F# Saturn Framework: what is the difference between &#x27;get&#x27; and &#x27;forward&#x27;? saturn-framework f%23 Saturn Framework System.DateTime.Now.ToString HH:mm:ss Time F# Saturn Framework: what is the difference between ...
[ 0.0074462890625, 0.0216064453125, 0.0086669921875, -0.00787353515625, -0.0128173828125, -0.0269775390625, 0.01611328125, 0.01104736328125, 0.01806640625, -0.036865234375, 0.015869140625, 0.01519775390625, 0.0022430419921875, -0.00225830078125, -0.01220703125, -0.00836181640625, -0.01...
[ 563, 4904, 118651, 202220, 2367, 83, 70, 60212, 17721, 3768, 3794, 136, 2472, 19364, 110574, 19, 160328, 18244, 1238, 3742, 12353, 86291, 70059, 137594, 7763, 71713, 78288, 2276, 7, 19055, 25632, 18151, 46132, 122188, 181135, 14700, 48448, 37...
[ 0.087646484375, 0.1676025390625, 0.238525390625, 0.2427978515625, 0.06207275390625, 0.0172882080078125, 0.03350830078125, 0.218017578125, 0.1151123046875, 0.0989990234375, 0.2447509765625, 0.0830078125, 0.162841796875, 0.274658203125, 0.1541748046875, 0.08056640625, 0.110595703125, ...
embed
28587660_c0
28587660
fsharp
0
Title: What is wrong with this F# curried function? Problem title: What is wrong with this F# curried function? Tags: functional-programming, f%23 Problem: What is wrong with this F# curried function? I'm writing this curried f# function called inner that should take 2 lists as parameters and multiply both according to...
What is wrong with this F# curried function? What is wrong with this F# curried function? functional-programming f%23 What x::xs y::ys What is wrong with this F# curried function? I'm writing this curried f# function called inner that should take 2 lists as parameters and multiply both according to position and then re...
[ -0.022216796875, 0.0079345703125, 0.01153564453125, 0.0027618408203125, -0.007537841796875, 0.01708984375, 0.00238037109375, -0.01068115234375, 0.0213623046875, -0.00921630859375, 0.01483154296875, 0.0022125244140625, 0.0038299560546875, 0.003387451171875, 0.005157470703125, -0.0104980...
[ 4865, 83, 44691, 678, 903, 563, 4904, 9709, 46572, 32354, 123309, 28966, 1238, 3742, 1022, 12, 425, 7, 113, 4778, 32562, 75414, 5608, 5646, 116, 5303, 237, 171859, 6024, 62479, 15044, 59499, 19069, 30646, 10554, 70, 35166, 2789, 6637, 106...
[ 0.10101318359375, 0.08856201171875, 0.2088623046875, 0.1461181640625, 0.1407470703125, 0.14990234375, 0.23486328125, 0.1544189453125, 0.237548828125, 0.2069091796875, 0.1260986328125, 0.06903076171875, 0.1192626953125, 0.1080322265625, 0.076171875, 0.019012451171875, 0.0902099609375,...
embed
48965938_c0
48965938
fsharp
0
Title: Compiling a single F# program on a mac Problem title: Compiling a single F# program on a mac Tags: mono, visual-studio-code, macos, f%23, .net-core Problem: Compiling a single F# program on a mac So Im starting to use F# as a language. Currently Im either using Visual studio for mac to compile my code or just vs...
Compiling a single F# program on a mac Compiling a single F# program on a mac mono visual-studio-code macos f%23 .net-core Compiling Compiling a single F# program on a mac So Im starting to use F# as a language. Currently Im either using Visual studio for mac to compile my code or just vscode (and then running MSbuild ...
[ 0.00116729736328125, 0.017333984375, -0.021728515625, 0.01544189453125, 0.00106048583984375, 0.01416015625, -0.004302978515625, -0.006072998046875, 0.0078125, -0.02880859375, -0.0234375, -0.00860595703125, -0.00994873046875, 0.01239013671875, 0.0113525390625, -0.0177001953125, -0.006...
[ 15612, 49725, 11001, 563, 4904, 1528, 98, 19138, 10, 22460, 21176, 52629, 40899, 291, 7840, 1238, 3742, 1179, 30854, 3370, 72134, 4527, 237, 46876, 114063, 17368, 73372, 12275, 100, 9969, 1340, 18151, 20209, 51042, 16265, 177149, 5, 17447, ...
[ 0.1763916015625, 0.117919921875, 0.1917724609375, 0.1751708984375, 0.287841796875, 0.17626953125, 0.0712890625, 0.1973876953125, 0.0200958251953125, 0.17919921875, 0.1358642578125, 0.1348876953125, 0.209228515625, 0.03143310546875, 0.058380126953125, 0.106201171875, 0.063720703125, ...
embed
52169107_c0
52169107
fsharp
0
Title: How to declare multiple Literals with only one Literal attribute in F#? Problem title: How to declare multiple Literals with only one Literal attribute in F#? Tags: discriminated-union, f%23, literals Problem: How to declare multiple Literals with only one Literal attribute in F#? I am trying to find an elegant ...
How to declare multiple Literals with only one Literal attribute in F#? How to declare multiple Literals with only one Literal attribute in F#? discriminated-union f%23 literals How Literals Literal North ConsoleKey.UpArrow Direction East ConsoleKey.RightArrow South ConsoleKey.DownArrow West ConsoleKey.LeftArrow How to...
[ -0.013671875, -0.01165771484375, -0.0177001953125, -0.020751953125, -0.041259765625, -0.02587890625, -0.005889892578125, -0.0096435546875, 0.006195068359375, 0.01092529296875, 0.0208740234375, 0.015869140625, 0.01177978515625, 0.004150390625, -0.007476806640625, 0.0142822265625, 0.00...
[ 11249, 159978, 48716, 135940, 8080, 4734, 1632, 141, 150380, 563, 4904, 678, 13, 55970, 87046, 1238, 3949, 3742, 15659, 16765, 23924, 40777, 162429, 53234, 15555, 176774, 24453, 25134, 10542, 23, 27650, 95486, 22799, 47, 26582, 43257, 17368 ]
[ 0.046051025390625, 0.2091064453125, 0.2327880859375, 0.2119140625, 0.1697998046875, 0.13232421875, 0.15283203125, 0.0877685546875, 0.1939697265625, 0.1220703125, 0.1983642578125, 0.0212249755859375, 0.01239013671875, 0.1492919921875, 0.10540771484375, 0.059234619140625, 0.03527832031...
embed
14678414_c1
14678414
fsharp
1
Attribute' is not defined C:\fsh\fsharp\src\fsharp\FSharp.Data.TypeProviders\TypeProviderEmit.fs(25,42): error FS0752: The operator 'expr.[idx]' has been used on an object of indeterminate type based on information prior to this program point. Consider adding further type constraints C:\fsh\fsharp\src\fsharp\FSharp.Dat...
Attribute' is not defined C:\fsh\fsharp\src\fsharp\FSharp.Data.TypeProviders\TypeProviderEmit.fs(25,42): error FS0752: The operator 'expr.[idx]' has been used on an object of indeterminate type based on information prior to this program point. Consider adding further type constraints C:\fsh\fsharp\src\fsharp\FSharp.Dat...
[ -0.0004024505615234375, 0.0191650390625, -0.00677490234375, -0.0137939453125, 0.00384521484375, -0.006866455078125, -0.0004558563232421875, -0.00909423828125, -0.01519775390625, 0.006622314453125, 0.0152587890625, -0.026611328125, 0.0089111328125, 0.005615234375, 0.01373291015625, -0.0...
[ 1913, 191145, 25, 83, 959, 61924, 71, 420, 1495, 89280, 19437, 254, 36381, 3467, 137989, 196707, 177997, 14, 14202, 62160, 647, 4007, 17447, 2588, 13023, 18499, 93774, 8368, 12744, 39933, 83613, 42, 5, 532, 425, 1556, 11814, 36746, 145099, ...
[ 0.13720703125, 0.31201171875, 0.017730712890625, 0.044097900390625, 0.1358642578125, 0.2607421875, 0.033294677734375, 0.037353515625, 0.112548828125, 0.1778564453125, 0.080078125, 0.1588134765625, 0.01605224609375, 0.160888671875, 0.07568359375, 0.2081298828125, 0.197509765625, 0.1...
embed
17192310_c0
17192310
fsharp
0
Title: Initialize an array with unique numbers per column Problem title: Initialize an array with unique numbers per column Tags: .net, f%23 Problem: Initialize an array with unique numbers per column Using F#, I'd like to generate a 2D array which represent a Bingo card. The Bingo card must have unique number per colu...
Initialize an array with unique numbers per column Initialize an array with unique numbers per column .net f%23 Initialize Random Array2D.init randNumberGen.Next Initialize an array with unique numbers per column Using F#, I'd like to generate a 2D array which represent a Bingo card. The Bingo card must have unique num...
[ 0.00555419921875, 0.00909423828125, 0.01043701171875, -0.006744384765625, -0.00994873046875, -0.0111083984375, 0.002960205078125, -0.0152587890625, 0.00121307373046875, -0.000843048095703125, -0.00165557861328125, 0.031494140625, 0.0096435546875, 0.02685546875, -0.024169921875, -0.0142...
[ 360, 40705, 119066, 10298, 53, 678, 36998, 101935, 117, 3365, 316, 1179, 1238, 3742, 39643, 306, 69253, 304, 397, 73, 217, 27388, 18444, 26278, 105376, 81280, 563, 4904, 1884, 139392, 116, 33636, 73751, 31, 20596, 8110, 765, 14012, 873, 1...
[ 0.08270263671875, 0.15576171875, 0.05731201171875, 0.17431640625, 0.1453857421875, 0.1055908203125, 0.251708984375, 0.205322265625, 0.122802734375, 0.1416015625, 0.14404296875, 0.13134765625, 0.07177734375, 0.0986328125, 0.11376953125, 0.08685302734375, 0.1282958984375, 0.041290283...
embed
2461637_c0
2461637
fsharp
0
Title: Small and fast .NET programs? - 65% runtime in ResolvePolicy Problem title: Small and fast .NET programs? - 65% runtime in ResolvePolicy Tags: performance, f%23, .net, securitymanager, runtime Problem: Small and fast .NET programs? - 65% runtime in ResolvePolicy I tried to build a very very small .NET app in F#....
Small and fast .NET programs? - 65% runtime in ResolvePolicy Small and fast .NET programs? - 65% runtime in ResolvePolicy performance f%23 .net securitymanager runtime Small NET ResolvePolicy Small and fast .NET programs? - 65% runtime in ResolvePolicy I tried to build a very very small .NET app in F#. It just has to c...
[ -0.0035247802734375, 0.0089111328125, 0.00131988525390625, 0.0020904541015625, -0.02880859375, -0.00147247314453125, 0.0033111572265625, -0.002349853515625, 0.006378173828125, -0.03271484375, 0.01214599609375, 0.01275634765625, -0.0142822265625, 0.0245361328125, 0.00531005859375, 0.006...
[ 105508, 136, 4271, 5, 17777, 103391, 119675, 11675, 6032, 853, 86918, 106144, 2408, 23718, 1238, 3742, 1179, 48031, 141395, 37842, 45367, 4552, 19336, 4027, 23, 563, 4904, 96760, 79315, 15700, 28412, 16750, 130250, 46480, 759, 71713, 69112, 1...
[ 0.198486328125, 0.07275390625, 0.1534423828125, 0.044036865234375, 0.2220458984375, 0.170166015625, 0.2315673828125, 0.11181640625, 0.154541015625, 0.0665283203125, 0.20654296875, 0.1954345703125, 0.11376953125, 0.1839599609375, 0.059112548828125, 0.152587890625, 0.155029296875, 0....
embed
57924149_c1
57924149
fsharp
1
but it's not necessary for my purpose. Making a simple test case: Seq.toList <| comb 2 [1..3];; I was expecting the three solutions: [[2;1];[3;1];[3;2]] but actually it returns only: [[2;1]] I debug a little with VS Code, but I didn't really understand how the execution flows. Does anybody see where the problem is? Up...
but it's not necessary for my purpose. Making a simple test case: Seq.toList <| comb 2 [1..3];; I was expecting the three solutions: [[2;1];[3;1];[3;2]] but actually it returns only: [[2;1]] I debug a little with VS Code, but I didn't really understand how the execution flows. Does anybody see where the problem is? Up...
[ -0.005157470703125, 0.04248046875, 0.003753662109375, -0.0028533935546875, 0.01312255859375, 0.01171875, -0.0103759765625, -0.00994873046875, 0.00823974609375, -0.005462646484375, 0.00830078125, 0.00909423828125, 0.0283203125, 0.03173828125, -0.0036773681640625, -0.0020599365234375, ...
[ 1284, 442, 7, 959, 63559, 60042, 8781, 3034, 7225, 503, 864, 5, 188, 154663, 375, 275, 116, 68252, 96386, 509, 41206, 214, 17262, 51347, 304, 74, 76172, 363, 20653, 30646, 4734, 8, 85779, 10176, 44160, 28864, 28219, 3642, 71924, 1830, 8...
[ 0.04058837890625, 0.04071044921875, 0.03863525390625, 0.1292724609375, 0.1593017578125, 0.12646484375, 0.05718994140625, 0.1302490234375, 0.08050537109375, 0.1278076171875, 0.202880859375, 0.017333984375, 0.1942138671875, 0.2435302734375, 0.1551513671875, 0.1295166015625, 0.134277343...
embed
54650082_c0
54650082
fsharp
0
Title: F# equivalent of C# operator/symbol &quot;?.&quot; Problem title: F# equivalent of C# operator/symbol &quot;?.&quot; Tags: f%23 Problem: F# equivalent of C# operator/symbol "?." I have the following f# code product.code <- productPage.Html .Descendants["li"] .Select(fun node -> node.InnerText()) .Where(fun link ...
F# equivalent of C# operator/symbol &quot;?.&quot; F# equivalent of C# operator/symbol &quot;?.&quot; f%23 product.code productPage.Html Descendants Select node.InnerText Where Regex.Match Success FirstOrDefault Replace Trim Html Not Found F# equivalent of C# operator/symbol "?." I have the following f# code I'm having...
[ 0.01165771484375, 0.040771484375, 0.00823974609375, -0.005706787109375, -0.0087890625, -0.00537109375, -0.002716064453125, 0.01263427734375, -0.00860595703125, -0.01043701171875, 0.012451171875, 0.005645751953125, -0.0030670166015625, -0.0123291015625, 0.007080078125, 0.003509521484375...
[ 563, 4904, 183234, 111, 313, 39933, 64, 176726, 41502, 1238, 3742, 12996, 40899, 147101, 18, 7237, 68320, 3611, 10840, 51620, 110, 112, 13857, 174379, 78662, 11678, 3355, 79520, 144053, 23972, 19060, 187423, 11, 853, 23935, 4699, 39, 572, 1...
[ 0.1824951171875, 0.24560546875, 0.2103271484375, 0.0733642578125, 0.06854248046875, 0.2340087890625, 0.1041259765625, 0.221923828125, 0.013519287109375, 0.1561279296875, 0.09503173828125, 0.158935546875, 0.120361328125, 0.0771484375, 0.1036376953125, 0.14453125, 0.1265869140625, 0....
embed
58797702_c1
58797702
fsharp
1
LoggedIn >=> getLoggedInUser route "/logout" >=> mustBeLoggedIn >=> logoutHandler route "/exercises" >=> mustBeLoggedIn >=> getExercisesHandler ] POST >=> choose [ route "/register" >=> registerHandler route "/login" >=> loginHandler ] ] In the unit-tests, this works properly. The unit tests are written in C#. When i c...
LoggedIn >=> getLoggedInUser route "/logout" >=> mustBeLoggedIn >=> logoutHandler route "/exercises" >=> mustBeLoggedIn >=> getExercisesHandler ] POST >=> choose [ route "/register" >=> registerHandler route "/login" >=> loginHandler ] ] In the unit-tests, this works properly. The unit tests are written in C#. When i c...
[ 0.006500244140625, 0.0191650390625, -0.0023040771484375, 0.020751953125, -0.00531005859375, 0.0137939453125, -0.017822265625, -0.026123046875, 0.0224609375, -0.03125, 0.003021240234375, 0.00885009765625, -0.01092529296875, 0.0157470703125, 0.006622314453125, 0.00885009765625, 0.01403...
[ 64906, 297, 4153, 2046, 113972, 17704, 1062, 2189, 36439, 26989, 1003, 8110, 6766, 7643, 135679, 603, 46480, 15019, 19279, 56, 10794, 81903, 55076, 105199, 68067, 4867, 73, 73655, 25072, 6954, 903, 43240, 155965, 109921, 59121, 23, 313, 4904,...
[ 0.146484375, 0.09625244140625, 0.193115234375, 0.061920166015625, 0.14208984375, 0.1224365234375, 0.045135498046875, 0.065673828125, 0.2249755859375, 0.08544921875, 0.1300048828125, 0.11669921875, 0.09002685546875, 0.105712890625, 0.1683349609375, 0.154296875, 0.082763671875, 0.164...
embed
42867440_c0
42867440
fsharp
0
Title: How to write an extension method for a generic type, where one type variable has to be string? Problem title: How to write an extension method for a generic type, where one type variable has to be string? Tags: generics, f%23, extension-methods Problem: How to write an extension method for a generic type, where ...
How to write an extension method for a generic type, where one type variable has to be string? How to write an extension method for a generic type, where one type variable has to be string? generics f%23 extension-methods How Frame TRowKey frame.someMethod TColumnKey How to write an extension method for a generic type,...
[ 0.003387451171875, 0.0277099609375, 0.0030517578125, 0.0201416015625, -0.007537841796875, -0.0235595703125, 0.01068115234375, -0.0037841796875, -0.0016632080078125, 0.01019287109375, -0.0135498046875, -0.018798828125, 0.0024566650390625, -0.0130615234375, -0.0284423828125, 0.0125122070...
[ 11249, 33022, 111938, 55300, 100, 189534, 10644, 1632, 77336, 1556, 79315, 47, 142, 186, 7, 1238, 3742, 1928, 7352, 42557, 8770, 162429, 123789, 43452, 78572, 384, 78457, 316, 18151, 18499, 133266, 678, 23351, 214, 5701, 16750, 7311, 13, 28...
[ 0.049072265625, 0.1722412109375, 0.2257080078125, 0.21044921875, 0.0264129638671875, 0.233154296875, 0.1982421875, 0.0692138671875, 0.2034912109375, 0.045989990234375, 0.2144775390625, 0.002685546875, 0.030487060546875, 0.004150390625, 0.001922607421875, 0.005828857421875, 0.14025878...
embed
12610745_c0
12610745
fsharp
0
Title: My matching seems clunky, is there a better way to code this? Problem title: My matching seems clunky, is there a better way to code this? Tags: pattern-matching, f%23 Problem: My matching seems clunky, is there a better way to code this? This seems to work but it seems clunky. Is there a better way to code this...
My matching seems clunky, is there a better way to code this? My matching seems clunky, is there a better way to code this? pattern-matching f%23 Hunting Some None My matching seems clunky, is there a better way to code this? This seems to work but it seems clunky. Is there a better way to code this?
[ -0.01318359375, 0.01611328125, 0.0111083984375, 0.00174713134765625, -0.00799560546875, -0.0225830078125, 0.0038604736328125, -0.0255126953125, 0.0233154296875, 0.00167083740234375, 0.01806640625, 0.0021514892578125, -0.011962890625, -0.0162353515625, 0.00860595703125, -0.0027770996093...
[ 2646, 14858, 214, 37202, 29786, 29188, 83, 2685, 11522, 3917, 18151, 903, 47, 103510, 98753, 1238, 3949, 3742, 10453, 1916, 31384, 438, 86, 6, 3293, 4488, 1284, 442, 2071 ]
[ 0.07958984375, 0.223388671875, 0.1531982421875, 0.134765625, 0.14697265625, 0.1851806640625, 0.0254058837890625, 0.0269622802734375, 0.1065673828125, 0.0411376953125, 0.1937255859375, 0.10498046875, 0.0028076171875, 0.2261962890625, 0.238037109375, 0.0870361328125, 0.06689453125, 0...
embed
52265540_c0
52265540
fsharp
0
Title: .net seamless c# + f# Problem title: .net seamless c# + f# Tags: f%23, c%23, visual-studio, .net Problem: .net seamless c# + f# Lets say I have a C# class namespace CSharp; using FSharp; class Point { public double[] coords; double MyX { get { return FSharp.MyX(this); } } } And an F# method that would return a c...
.net seamless c# + f# .net seamless c# + f# f%23 c%23 visual-studio .net FSharp CSharp Point MyX FSharp.MyX CSharp.Point x.coords.item .net seamless c# + f# Lets say I have a C# class And an F# method that would return a coordinate And this would be just fine but its circularly referencing because its 2 separate projec...
[ 0.0093994140625, 0.0390625, 0.00122833251953125, -0.005615234375, -0.00023746490478515625, -0.009033203125, 0.004638671875, -0.00150299072265625, 0.0029144287109375, -0.0272216796875, -0.0089111328125, 0.01409912109375, -0.01171875, 0.01318359375, 0.00958251953125, -0.0107421875, -0....
[ 1179, 40, 302, 9393, 501, 4904, 997, 1238, 3742, 21176, 52629, 93774, 3467, 254, 41097, 2646, 1542, 31852, 147534, 1022, 587, 6651, 217, 313, 18507, 563, 55300, 30646, 176866, 13, 5885, 1284, 6863, 115339, 142447, 214, 116, 84797, 77635, ...
[ 0.15771484375, 0.09515380859375, 0.15625, 0.19970703125, 0.02789306640625, 0.21142578125, 0.125732421875, 0.127685546875, 0.0550537109375, 0.1512451171875, 0.1309814453125, 0.01348876953125, 0.1317138671875, 0.0977783203125, 0.09320068359375, 0.081787109375, 0.1077880859375, 0.0604...
embed
28894228_c0
28894228
fsharp
0
Title: Is it possible to inherit F# type provider from another one Problem title: Is it possible to inherit F# type provider from another one Tags: f%23, inheritance, type-providers Problem: Is it possible to inherit F# type provider from another one Here is what I tried to do: open Microsoft.FSharp.Core.CompilerServic...
Is it possible to inherit F# type provider from another one Is it possible to inherit F# type provider from another one f%23 inheritance type-providers another Microsoft.FSharp.Core.CompilerServices Microsoft.FSharp.Data.TypeProviders TypeProvider MySqlDataConnection SqlDataConnection Error Consider e.g BaseType Is it ...
[ 0.0103759765625, 0.01312255859375, -0.01080322265625, 0.027099609375, -0.004913330078125, 0.004486083984375, 0.005889892578125, -0.01165771484375, -0.01068115234375, -0.042724609375, 0.0078125, -0.001739501953125, 0.005828857421875, 0.018798828125, -0.019287109375, -0.0067138671875, ...
[ 2071, 442, 7722, 23, 3334, 217, 563, 4904, 10644, 81450, 1295, 15700, 1632, 1238, 3742, 93136, 7244, 36381, 3467, 254, 50886, 121979, 137989, 196707, 177997, 14, 60457, 2646, 99247, 235603, 212059, 137399, 44978, 83 ]
[ 0.036285400390625, 0.03619384765625, 0.1448974609375, 0.097412109375, 0.16455078125, 0.09521484375, 0.120849609375, 0.2047119140625, 0.17626953125, 0.215576171875, 0.08319091796875, 0.0970458984375, 0.051422119140625, 0.04852294921875, 0.07733154296875, 0.1292724609375, 0.02925109863...
embed
5328457_c0
5328457
fsharp
0
Title: F# Positional Arguments in Attributes Problem title: F# Positional Arguments in Attributes Tags: f%23, attributes Problem: F# Positional Arguments in Attributes I'm trying to create an attribute in F# with positional arguments but failing all the time. type ColumnAttribute(?index:int,?name:string) = inherit Attr...
F# Positional Arguments in Attributes F# Positional Arguments in Attributes f%23 attributes Positional Arguments Attributes ColumnAttribute index:int name:string Attribute x.Index x.Name Substance Column Index Name Sequence F# Positional Arguments in Attributes I'm trying to create an attribute in F# with positional ar...
[ -0.004425048828125, 0.007171630859375, -0.017333984375, 0.0012969970703125, -0.006805419921875, -0.0062255859375, 0.0120849609375, -0.0003414154052734375, -0.005096435546875, 0.0250244140625, 0.00579833984375, 0.01373291015625, -0.00445556640625, 0.0203857421875, -0.0174560546875, -0.0...
[ 563, 4904, 99428, 289, 112140, 7, 23, 1913, 191145, 1238, 3949, 3742, 150380, 233987, 28848, 63262, 4288, 9351, 91693, 1022, 4153, 39659, 163612, 8273, 116071, 31471, 15757, 944, 31577, 28282, 13, 678, 19069, 10750, 35782, 214, 756, 70, 173...
[ 0.1661376953125, 0.211181640625, 0.2054443359375, 0.1380615234375, 0.2354736328125, 0.041473388671875, 0.07000732421875, 0.08258056640625, 0.2071533203125, 0.11328125, 0.04693603515625, 0.1043701171875, 0.2432861328125, 0.1632080078125, 0.012451171875, 0.1700439453125, 0.135009765625...
embed
64744294_c0
64744294
fsharp
0
Title: How do i apply both hard-coded and method classes in Elmish? Problem title: How do i apply both hard-coded and method classes in Elmish? Tags: f%23, elmish Problem: How do i apply both hard-coded and method classes in Elmish? I am formatting a web application made using F# and the SAFE stack. I am using a variab...
How do i apply both hard-coded and method classes in Elmish? How do i apply both hard-coded and method classes in Elmish? f%23 elmish How Elmish state:Appointment.State state.ToString How do i apply both hard-coded and method classes in Elmish? I am formatting a web application made using F# and the SAFE stack. I am us...
[ -0.018310546875, 0.007354736328125, 0.0152587890625, 0.0093994140625, 0.00396728515625, -0.001708984375, -0.00592041015625, -0.0118408203125, 0.0021820068359375, -0.0198974609375, -0.0091552734375, 0.0036773681640625, -0.00897216796875, 0.01263427734375, 0.0036468505859375, -0.00187683...
[ 11249, 54, 17, 59911, 15044, 7941, 9, 40899, 71, 136, 55300, 61112, 23, 540, 78192, 1238, 3949, 3742, 88, 11341, 47677, 38496, 135206, 7763, 71713, 214, 9384, 1467, 38415, 7228, 563, 4904, 5377, 30018, 177261, 77336, 83324, 59279, 18507, ...
[ 0.1026611328125, 0.06396484375, 0.074462890625, 0.203857421875, 0.1319580078125, 0.1922607421875, 0.044281005859375, 0.2042236328125, 0.1170654296875, 0.10540771484375, 0.2203369140625, 0.253662109375, 0.10546875, 0.184814453125, 0.30517578125, 0.048126220703125, 0.025054931640625, ...
embed
4400355_c1
4400355
fsharp
1
7;};})), Let (PApp (PVar ("g", {srcFilename = "test.fs"; srcLine = {startLine = 1; endLine = 1;}; srcColumn = {startColumn = 14; endColumn = 15;};}), PVar ("x", {srcFilename = "test.fs"; srcLine = {startLine = 1; endLine = 1;}; srcColumn = {startColumn = 16; endColumn = 17;};})), Var ("x", {srcFilename = "test.fs"; src...
7;};})), Let (PApp (PVar ("g", {srcFilename = "test.fs"; srcLine = {startLine = 1; endLine = 1;}; srcColumn = {startColumn = 14; endColumn = 15;};}), PVar ("x", {srcFilename = "test.fs"; srcLine = {startLine = 1; endLine = 1;}; srcColumn = {startColumn = 16; endColumn = 17;};})), Var ("x", {srcFilename = "test.fs"; src...
[ 0.01263427734375, 0.0162353515625, -0.0057373046875, 0.013427734375, 0.01806640625, 0.02099609375, -0.007110595703125, -0.0118408203125, 0.0179443359375, -0.017822265625, -0.00089263916015625, 0.0029296875, -0.00579833984375, 0.0162353515625, 0.022705078125, 0.01385498046875, 0.01428...
[ 361, 74, 8152, 247, 10842, 683, 39179, 62655, 147, 177, 19437, 174350, 11627, 6954, 5, 17447, 56128, 91, 93232, 17137, 106, 3564, 78457, 316, 616, 423, 82375, 425, 611, 729, 3323, 387, 952, 5659, 81827, 427, 702, 32149, 866, 217, 46640,...
[ 0.0946044921875, 0.019866943359375, 0.06378173828125, 0.059722900390625, 0.1942138671875, 0.0804443359375, 0.249755859375, 0.10321044921875, 0.1982421875, 0.1075439453125, 0.2041015625, 0.162841796875, 0.0616455078125, 0.265869140625, 0.07275390625, 0.220947265625, 0.00933837890625, ...
embed
19247871_c0
19247871
fsharp
0
Title: What&#x27;s the point of having &lt;| in F#? Problem title: What&#x27;s the point of having &lt;| in F#? Tags: parameters, f%23 Problem: What's the point of having <| in F#? In F# you have the backward pipe operator <| , which like its brother |> serves as a way to pass parameters into functions... Now I already...
What&#x27;s the point of having &lt;| in F#? What&#x27;s the point of having &lt;| in F#? parameters f%23 What List.map List.filter func1 func2 What's the point of having <| in F#? In F# you have the backward pipe operator <| , which like its brother |> serves as a way to pass parameters into functions... Now I already...
[ 0.015625, 0.005157470703125, 0.0108642578125, -0.00787353515625, -0.0267333984375, 0.00189208984375, -0.006195068359375, -0.00360107421875, 0.00726318359375, -0.010498046875, 0.00136566162109375, 0.00022125244140625, 0.005828857421875, 0.0023193359375, -0.005645751953125, -0.0257568359...
[ 4865, 3768, 70, 6275, 111, 19441, 619, 1277, 74, 58745, 23, 563, 4904, 171859, 1238, 3742, 32036, 62346, 120337, 7477, 418, 238, 304, 4426, 360, 765, 4420, 19364, 137158, 39933, 82953, 21265, 3917, 27875, 3934, 32354, 28219, 6782, 6528, 5...
[ 0.001251220703125, 0.0810546875, 0.06549072265625, 0.200927734375, 0.03765869140625, 0.22216796875, 0.05438232421875, 0.136962890625, 0.01129150390625, 0.196044921875, 0.109375, 0.164306640625, 0.234619140625, 0.207763671875, 0.060699462890625, 0.075439453125, 0.1163330078125, 0.09...
embed
49813524_c0
49813524
fsharp
0
Title: Why is F# evaluating this lazily and twice below? Problem title: Why is F# evaluating this lazily and twice below? Tags: lazy-evaluation, f%23 Problem: Why is F# evaluating this lazily and twice below? I was expecting quotes in the first line below to be evaluated eagerly in F#. It is lazily evaluated twice inst...
Why is F# evaluating this lazily and twice below? Why is F# evaluating this lazily and twice below? lazy-evaluation f%23 Why Seq.maxBy quote.TradedOn q.TradedOn Seq.map Symbol quote.Symbol ClosingPrice quote.ClosingPrice TradedOn Why is F# evaluating this lazily and twice below? I was expecting quotes in the first line...
[ 0.01336669921875, 0.00994873046875, 0.0152587890625, -0.00069427490234375, -0.0007781982421875, 0.01043701171875, 0.00494384765625, 0.010986328125, 0.021728515625, -0.017822265625, -0.009521484375, 0.028076171875, 0.012451171875, -0.00408935546875, 0.0174560546875, 0.013916015625, -0...
[ 44084, 563, 4904, 151575, 903, 21, 708, 538, 136, 186351, 35064, 3285, 159258, 1238, 3742, 503, 864, 24084, 75358, 66747, 28542, 48141, 20320, 8096, 62346, 131899, 65183, 36846, 51053, 6953, 33163, 2400, 64166, 83, 214, 41206, 13315, 33730, ...
[ 0.13671875, 0.150146484375, 0.2125244140625, 0.1739501953125, 0.04681396484375, 0.1258544921875, 0.1383056640625, 0.08404541015625, 0.04962158203125, 0.201171875, 0.2037353515625, 0.1937255859375, 0.1826171875, 0.08984375, 0.0638427734375, 0.07244873046875, 0.1361083984375, 0.14941...
embed
51828141_c0
51828141
fsharp
0
Title: string representation of F# function signature Problem title: string representation of F# function signature Tags: f%23, jupyter, let Problem: string representation of F# function signature When I'm working in the F# REPL fsharpi whenever I enter a new function the signature is printed after I've entered them: >...
string representation of F# function signature string representation of F# function signature f%23 jupyter let foo.GetType FSI_0013 fun:it string representation of F# function signature When I'm working in the F# REPL fsharpi whenever I enter a new function the signature is printed after I've entered them: Is there a w...
[ 0.0087890625, 0.0074462890625, -0.010498046875, 0.02001953125, -0.01171875, -0.0079345703125, 0.0019683837890625, 0.0034942626953125, -0.01165771484375, 0.00732421875, -0.0091552734375, -0.00396728515625, -0.028564453125, 0.0120849609375, 0.007568359375, 0.01708984375, 0.008178710937...
[ 79315, 18811, 1363, 563, 4904, 32354, 138256, 1238, 3949, 3742, 1129, 6493, 720, 2633, 5775, 31, 724, 126, 196707, 9902, 34479, 363, 7477, 217, 20697, 9069, 21130, 89280, 1434, 217684, 30957, 3525, 83, 28412, 7103, 3917, 47, 456, 3996, 31...
[ 0.2418212890625, 0.2137451171875, 0.03912353515625, 0.1500244140625, 0.2193603515625, 0.205810546875, 0.2568359375, 0.074951171875, 0.00543212890625, 0.1231689453125, 0.05621337890625, 0.093017578125, 0.120849609375, 0.126953125, 0.06103515625, 0.061279296875, 0.00537109375, 0.0292...
embed
4106846_c0
4106846
fsharp
0
Title: How to wait for async to finish Problem title: How to wait for async to finish Tags: f%23, asynchronous Problem: How to wait for async to finish I would like to run some async workflow, then wait for it to finish before printing some results, example: let dowork n = async { do printfn "work %d" n } let createwor...
How to wait for async to finish How to wait for async to finish f%23 asynchronous How Async.Start Async.RunSynchronously How to wait for async to finish I would like to run some async workflow, then wait for it to finish before printing some results, example: when I run this, I want all the dowork calls to finish befor...
[ -0.0004062652587890625, 0.0034637451171875, -0.005584716796875, -0.00885009765625, -0.0164794921875, 0.01324462890625, 0.00311279296875, -0.00390625, 0.0034637451171875, -0.01416015625, 0.017578125, 0.008544921875, -0.0032958984375, 0.01373291015625, 0.0284423828125, -0.01123046875, ...
[ 11249, 47, 40485, 100, 10, 12654, 238, 67229, 1238, 3949, 3742, 101966, 62, 126597, 163321, 217835, 127, 1900, 79850, 1884, 11675, 4488, 118664, 8108, 2448, 50339, 3444, 54, 18244, 11782, 48310, 67175, 116, 138, 201, 190, 122799, 106, 49146...
[ 0.05828857421875, 0.1204833984375, 0.2279052734375, 0.157958984375, 0.07879638671875, 0.2261962890625, 0.14599609375, 0.2158203125, 0.047119140625, 0.039154052734375, 0.1494140625, 0.1453857421875, 0.05645751953125, 0.1097412109375, 0.05718994140625, 0.0687255859375, 0.0506591796875,...
embed
22764274_c0
22764274
fsharp
0
Title: Why does the type of Seq.concat involve a flexible type? Problem title: Why does the type of Seq.concat involve a flexible type? Tags: f%23, flexible-type Problem: Why does the type of Seq.concat involve a flexible type? I define two functions, one with and one without a flexible type: let concatA = Seq.concat /...
Why does the type of Seq.concat involve a flexible type? Why does the type of Seq.concat involve a flexible type? f%23 flexible-type Why Seq.concat Why does the type of Seq.concat involve a flexible type? I define two functions, one with and one without a flexible type: Is there a context in which I can use one but not...
[ 0.02001953125, 0.01202392578125, 0.002777099609375, 0.0166015625, -0.0011444091796875, 0.0010223388671875, -0.01348876953125, 0.0380859375, 0.01904296875, -0.00015544891357421875, -0.00135040283203125, -0.0269775390625, 0.005889892578125, 0.01165771484375, -0.002593994140625, 0.0021667...
[ 44084, 10644, 503, 864, 2271, 4460, 83687, 110677, 1238, 3742, 50986, 5, 61924, 6626, 32354, 678, 15490, 43701, 831, 4527, 100094, 52895, 98893, 100, 33079, 571, 142027, 420, 425, 391, 2499, 16406, 335, 27781, 209806, 180842, 2661, 60457, 1...
[ 0.092041015625, 0.19873046875, 0.0767822265625, 0.168212890625, 0.1197509765625, 0.2109375, 0.09637451171875, 0.259765625, 0.069580078125, 0.052978515625, 0.1690673828125, 0.0108642578125, 0.08868408203125, 0.04119873046875, 0.14404296875, 0.0111083984375, 0.0396728515625, 0.103027...
embed
37885422_c0
37885422
fsharp
0
Title: Can I access record values or object members in point-free style in F#? Problem title: Can I access record values or object members in point-free style in F#? Tags: f%23 Problem: Can I access record values or object members in point-free style in F#? Take this trivial example: type Foo = { bar : string } let bar...
Can I access record values or object members in point-free style in F#? Can I access record values or object members in point-free style in F#? f%23 Can Foo List.map x.bar System.IO DirectoryInfo GetFiles Array.map f.FullName FullName Can I access record values or object members in point-free style in F#? Take this tri...
[ -0.00469970703125, -0.0021514892578125, 0.00063323974609375, -0.0033111572265625, -0.019287109375, -0.0213623046875, -0.01177978515625, 0.016357421875, -0.00162506103515625, -0.01483154296875, 0.009033203125, 0.0191650390625, 0.0111083984375, -0.006378173828125, -0.0093994140625, -0.01...
[ 4171, 87, 17203, 17164, 142424, 707, 36746, 43032, 6275, 32087, 20623, 563, 4904, 23, 1238, 3742, 9572, 31, 32036, 62346, 1022, 1299, 12353, 17780, 31068, 93147, 20779, 174350, 69253, 53, 121962, 163612, 27781, 7722, 71864, 32562, 21, 6492, ...
[ 0.09051513671875, 0.027130126953125, 0.189208984375, 0.2010498046875, 0.1763916015625, 0.0178985595703125, 0.18701171875, 0.197265625, 0.1689453125, 0.2039794921875, 0.2218017578125, 0.1549072265625, 0.229736328125, 0.0204620361328125, 0.0809326171875, 0.05670166015625, 0.13537597656...
embed
9864165_c0
9864165
fsharp
0
Title: F# SQL typeprovider Problem title: F# SQL typeprovider Tags: f%23, f%23-3.0 Problem: F# SQL typeprovider According to the Microsoft documentation I should be able to instantiate a db schema like this: type dbSchema = SqlDataConnection<"Data Source=MYSERVER\INSTANCE;Initial Catalog=MyDatabase;Integrated Security=...
F# SQL typeprovider F# SQL typeprovider f%23 f%23-3.0 SQL SqlDataConnection Data Source MYSERVER INSTANCE Initial Catalog MyDatabase Integrated Security SSPI Generate F# SQL typeprovider According to the Microsoft documentation I should be able to instantiate a db schema like this: In Visual Studio 2011, F# 3.0 and .Ne...
[ 0.0380859375, 0.0169677734375, -0.00787353515625, 0.014404296875, -0.01275634765625, 0.01190185546875, -0.01416015625, -0.01092529296875, -0.0009613037109375, -0.051025390625, -0.0031890869140625, -0.0162353515625, 0.0047607421875, -0.00150299072265625, -0.006622314453125, 0.0026550292...
[ 563, 4904, 80866, 10644, 93136, 820, 1238, 3742, 27495, 132265, 99247, 137989, 235603, 11809, 77641, 54133, 116808, 12501, 618, 113786, 1890, 150917, 2646, 37382, 91969, 48748, 29581, 15185, 155370, 70, 7244, 209806, 5608, 19048, 34648, 101426, ...
[ 0.1263427734375, 0.2115478515625, 0.2236328125, 0.204345703125, 0.2139892578125, 0.093505859375, 0.04705810546875, 0.0859375, 0.03717041015625, 0.15380859375, 0.120361328125, 0.030059814453125, 0.09417724609375, 0.0142364501953125, 0.1214599609375, 0.0584716796875, 0.0989990234375, ...
embed
11433941_c1
11433941
fsharp
1
End and it is wired to always call the EndXXX() function no matter what, I'm not sure this is the best behaviour, perhaps I should write a replacement for it? Or does anyone have any other ideas for elegant solutions? I just found (sure I'd looked before though) this in the docs: To cancel a pending call to the BeginAc...
End and it is wired to always call the EndXXX() function no matter what, I'm not sure this is the best behaviour, perhaps I should write a replacement for it? Or does anyone have any other ideas for elegant solutions? I just found (sure I'd looked before though) this in the docs: To cancel a pending call to the BeginAc...
[ 0.01953125, 0.04443359375, 0.01214599609375, -0.018798828125, -0.00885009765625, 0.011474609375, 0.0027618408203125, -0.003936767578125, 0.007598876953125, -0.010986328125, 0.0240478515625, 0.01708984375, 0.011962890625, 0.004669189453125, 0.01318359375, -0.0150146484375, 0.026855468...
[ 18878, 1439, 297, 47, 11343, 11782, 115469, 132, 32354, 26866, 9077, 2965, 224833, 33022, 91995, 25647, 27650, 51347, 53017, 96819, 121427, 232587, 55300, 20903, 1061, 27853, 153335, 35839, 12960, 12654, 101966, 41018, 42658, 12620, 62952, 221419...
[ 0.25146484375, 0.14501953125, 0.10430908203125, 0.005828857421875, 0.1317138671875, 0.1700439453125, 0.25048828125, 0.1070556640625, 0.164794921875, 0.0233612060546875, 0.0240325927734375, 0.0750732421875, 0.13134765625, 0.01513671875, 0.08447265625, 0.03472900390625, 0.072998046875,...
embed
37265889_c0
37265889
fsharp
0
Title: Math Numerics Sum Matrix - FSharp Problem title: Math Numerics Sum Matrix - FSharp Tags: f%23, linear-algebra, machine-learning Problem: Math Numerics Sum Matrix - FSharp I'm working with the MathNumerics library and just attempting to sum all items in the matrix. It appears to not work. Here is what I've got......
Math Numerics Sum Matrix - FSharp Math Numerics Sum Matrix - FSharp f%23 linear-algebra machine-learning Math Numerics Sum Matrix FSharp SumSquares theta:Vector y:float trainingData:Matrix CostFunction trainingData.RowCount Matrix.mapRows Matrix.sum Math Numerics Sum Matrix - FSharp I'm working with the MathNumerics li...
[ 0.0155029296875, 0.031982421875, 0.011962890625, 0.00165557861328125, 0.0098876953125, -0.00775146484375, -0.01129150390625, 0.00262451171875, -0.0008544921875, -0.0206298828125, -0.00384521484375, -0.026123046875, -0.0025787353515625, -0.02490234375, -0.010498046875, -0.00296020507812...
[ 78804, 93511, 28021, 36335, 194234, 93774, 3467, 254, 1238, 3949, 3742, 192617, 429, 36279, 152538, 94727, 70, 102, 26455, 18770, 113, 52347, 257, 23189, 137989, 4613, 87427, 63099, 97249, 12724, 434, 108210, 62346, 19725, 11832, 20697, 678, ...
[ 0.15478515625, 0.17236328125, 0.133544921875, 0.2452392578125, 0.23974609375, 0.07403564453125, 0.1767578125, 0.174072265625, 0.057708740234375, 0.04449462890625, 0.14208984375, 0.0787353515625, 0.0224609375, 0.02056884765625, 0.082275390625, 0.1083984375, 0.0714111328125, 0.140258...
embed
72309690_c0
72309690
fsharp
0
Title: Moving the legend in plotly f# Problem title: Moving the legend in plotly f# Tags: f%23, plotly Problem: Moving the legend in plotly f# I've been trying to move the legend in a plotly plot to the top or the bottom of the plot to maintain uniform sizes of plots with different legnds but I have been unable to do s...
Moving the legend in plotly f# Moving the legend in plotly f# f%23 plotly Moving Chart.Scatter StyleParam.Mode.Lines_Markers Name Gaps GenericChart.mapTrace Trace2DStyle.Scatter ConnectGaps Chart.combine Moving the legend in plotly f# I've been trying to move the legend in a plotly plot to the top or the bottom of the ...
[ 0.00885009765625, 0.01318359375, 0.002166748046875, 0.0064697265625, -0.0048828125, 0.00640869140625, 0.021728515625, 0.015869140625, 0.0194091796875, 0.01708984375, -0.002685546875, 0.0159912109375, 0.006317138671875, -0.01531982421875, -0.003265380859375, 0.002838134765625, 0.00744...
[ 2501, 6496, 70, 37254, 23, 23577, 538, 1238, 4904, 3742, 110373, 408, 3055, 57845, 9083, 93232, 73484, 15757, 2902, 6423, 84068, 28542, 209480, 62448, 17067, 46187, 31577, 25813, 2663, 103136, 76104, 61514, 13267, 12921, 6049, 51, 2886, 20980...
[ 0.16015625, 0.06414794921875, 0.061767578125, 0.2435302734375, 0.050323486328125, 0.2030029296875, 0.1800537109375, 0.107177734375, 0.188720703125, 0.091064453125, 0.165283203125, 0.06866455078125, 0.1005859375, 0.09478759765625, 0.044464111328125, 0.029449462890625, 0.0247802734375,...
embed
47828380_c0
47828380
fsharp
0
Title: F# - Reduce Functions for Multiple Arrays Problem title: F# - Reduce Functions for Multiple Arrays Tags: reduce, arrays, f%23 Problem: F# - Reduce Functions for Multiple Arrays I am trying to implement the following iterated sequence of steps but with limited success: (* Foreach element in fifth do sum elements ...
F# - Reduce Functions for Multiple Arrays F# - Reduce Functions for Multiple Arrays reduce arrays f%23 Reduce Functions Multiple Arrays Foreach Example ABC ABD ABE ACD ACE ADE BCD BCE BDE CDE SOQN System ABCD ABCE ABDE ACDE BCDE fifth.Length Expected Result Sixth F# - Reduce Functions for Multiple Arrays I am trying to...
[ 0.01318359375, -0.0133056640625, 0.0084228515625, 0.0283203125, 0.00007343292236328125, -0.0216064453125, -0.0035552978515625, 0.0054931640625, 0.0079345703125, 0.0118408203125, 0.0218505859375, 0.0047607421875, -0.01214599609375, -0.0028839111328125, -0.00616455078125, -0.006866455078...
[ 563, 4904, 20, 853, 106357, 28670, 10763, 100, 19335, 8705, 69253, 4778, 34390, 10298, 1238, 3949, 3742, 52445, 934, 89536, 47457, 25152, 182467, 16069, 61019, 61058, 10854, 8399, 2737, 839, 12353, 397, 647, 77269, 809, 2480, 449, 60075, 12...
[ 0.1087646484375, 0.1881103515625, 0.0101318359375, 0.1466064453125, 0.1915283203125, 0.1407470703125, 0.071044921875, 0.04461669921875, 0.1307373046875, 0.09326171875, 0.1619873046875, 0.091552734375, 0.2142333984375, 0.1463623046875, 0.091064453125, 0.048187255859375, 0.128295898437...
embed
58408410_c0
58408410
fsharp
0
Title: How to avoid stack overflow during CPS conversion? Problem title: How to avoid stack overflow during CPS conversion? Tags: lisp, f%23, compiler-construction Problem: How to avoid stack overflow during CPS conversion? I'm writing a transformation from Scheme subset to CPS language. It is implemented in F#. On big...
How to avoid stack overflow during CPS conversion? How to avoid stack overflow during CPS conversion? lisp f%23 compiler-construction How CPS How to avoid stack overflow during CPS conversion? I'm writing a transformation from Scheme subset to CPS language. It is implemented in F#. On big input programs conversion fail...
[ -0.00482177734375, 0.005096435546875, 0.01904296875, -0.0194091796875, -0.014892578125, -0.0076904296875, -0.014404296875, -0.000957489013671875, 0.0084228515625, -0.0283203125, -0.00909423828125, 0.0003108978271484375, 0.00396728515625, 0.0262451171875, 0.0302734375, -0.0115966796875,...
[ 11249, 47, 71864, 177261, 645, 118664, 20271, 313, 9059, 142477, 400, 7008, 1238, 3949, 3742, 9969, 34759, 238478, 32562, 167201, 1295, 34702, 282, 1614, 3509, 46876, 29479, 563, 4904, 6957, 107730, 103391, 35782, 390, 234873, 15612, 49725, 6...
[ 0.086669921875, 0.055511474609375, 0.224609375, 0.2208251953125, 0.1573486328125, 0.261474609375, 0.1212158203125, 0.103515625, 0.273193359375, 0.21142578125, 0.05059814453125, 0.1689453125, 0.038604736328125, 0.004180908203125, 0.1131591796875, 0.1302490234375, 0.099609375, 0.1005...
embed
65853528_c0
65853528
fsharp
0
Title: How to write a function finding even numbers in list on F# Problem title: How to write a function finding even numbers in list on F# Tags: recursion, function, f%23-interactive, f%23 Problem: How to write a function finding even numbers in list on F# Hello guys so i have a problem about finding even numbers in t...
How to write a function finding even numbers in list on F# How to write a function finding even numbers in list on F# recursion function f%23-interactive f%23 How list1 List.filter How to write a function finding even numbers in list on F# Hello guys so i have a problem about finding even numbers in the list. Im so new...
[ -0.01092529296875, 0.025634765625, 0.01397705078125, 0.0030517578125, 0.01385498046875, 0.020751953125, 0.0167236328125, 0.005279541015625, 0.0089111328125, -0.02099609375, 0.019287109375, -0.01239013671875, -0.015869140625, 0.013671875, 0.00860595703125, 0.026611328125, 0.0144042968...
[ 11249, 33022, 32354, 90791, 3853, 101935, 23, 5303, 98, 563, 4904, 195625, 1830, 1238, 27495, 10433, 71232, 3742, 418, 32036, 120337, 51484, 2967, 3525, 3871, 7413, 678, 2773, 9655, 37735, 1353, 10, 892, 26255, 601, 18781, 5844, 30646, 8083...
[ 0.0221405029296875, 0.1693115234375, 0.1982421875, 0.15234375, 0.2369384765625, 0.2073974609375, 0.0863037109375, 0.20654296875, 0.024749755859375, 0.1273193359375, 0.182861328125, 0.166259765625, 0.0030517578125, 0.053192138671875, 0.0743408203125, 0.0477294921875, 0.04852294921875,...
embed
13034851_c0
13034851
fsharp
0
Title: F# Query Expression &quot;The field, constructor or member &#x27;Contains&#x27; is not defined&quot; Problem title: F# Query Expression &quot;The field, constructor or member &#x27;Contains&#x27; is not defined&quot; Tags: f%23, query-expressions Problem: F# Query Expression "The field, constructor or member 'Co...
F# Query Expression &quot;The field, constructor or member &#x27;Contains&#x27; is not defined&quot; F# Query Expression &quot;The field, constructor or member &#x27;Contains&#x27; is not defined&quot; f%23 query-expressions Query Expression Contains db.Student idQuery.Contains student.StudentID F# Query Expression "Th...
[ 0.006805419921875, 0.022705078125, 0.00179290771484375, 0.01177978515625, -0.0147705078125, 0.01068115234375, 0.0101318359375, -0.00469970703125, -0.005645751953125, -0.0517578125, -0.0026397705078125, 0.0291748046875, 0.000911712646484375, 0.0015716552734375, 0.009765625, 0.009765625,...
[ 563, 4904, 58836, 53, 25129, 1830, 44457, 64549, 748, 707, 32786, 3768, 11935, 25500, 7, 959, 61924, 71, 83, 1238, 3742, 41, 1294, 204629, 34749, 40041, 239825, 3447, 41732, 9836, 7146, 4, 27781, 70, 17514, 4488, 63399, 169581, 18151, 184...
[ 0.09967041015625, 0.174560546875, 0.15478515625, 0.0914306640625, 0.1689453125, 0.013092041015625, 0.204833984375, 0.1639404296875, 0.107177734375, 0.0728759765625, 0.2000732421875, 0.0828857421875, 0.115234375, 0.23193359375, 0.1492919921875, 0.1226806640625, 0.2191162109375, 0.06...
embed
1689460_c0
1689460
fsharp
0
Title: F# syntax for P/Invoke signature using MarshalAs Problem title: F# syntax for P/Invoke signature using MarshalAs Tags: winapi, f%23, marshalling, pinvoke Problem: F# syntax for P/Invoke signature using MarshalAs I'm unsure of the syntax for this. I'm trying to translate this C# code into F#. struct LASTINPUTINFO...
F# syntax for P/Invoke signature using MarshalAs F# syntax for P/Invoke signature using MarshalAs winapi f%23 marshalling pinvoke MarshalAs Invoke LASTINPUTINFO IdleTimer DllImport User32.dll UnmanagedType.Bool GetLastInputInfo UInt32 F# syntax for P/Invoke signature using MarshalAs I'm unsure of the syntax for this. I...
[ 0.00028228759765625, 0.00958251953125, -0.01123046875, 0.00543212890625, -0.03466796875, 0.0048828125, -0.0078125, -0.01458740234375, -0.01483154296875, -0.002838134765625, 0.035888671875, -0.000751495361328125, -0.01226806640625, 0.0098876953125, 0.00250244140625, -0.00958251953125, ...
[ 563, 4904, 6002, 86531, 100, 436, 64, 4153, 23253, 13, 138256, 17368, 23342, 4200, 19659, 19916, 40897, 1238, 3949, 3742, 10283, 29907, 214, 6520, 360, 107810, 54390, 124599, 157491, 19298, 70059, 42, 1181, 6982, 53400, 6460, 5, 4707, 19670...
[ 0.1556396484375, 0.2337646484375, 0.1663818359375, 0.18994140625, 0.023590087890625, 0.1494140625, 0.114501953125, 0.05810546875, 0.2027587890625, 0.10595703125, 0.2366943359375, 0.06768798828125, 0.1485595703125, 0.2041015625, 0.186279296875, 0.0948486328125, 0.18701171875, 0.1035...
embed
18673632_c0
18673632
fsharp
0
Title: F# filter function - first argument&#x27;s condition seems to be reversed Problem title: F# filter function - first argument&#x27;s condition seems to be reversed Tags: f%23, functional-programming Problem: F# filter function - first argument's condition seems to be reversed I have a little weird experience with...
F# filter function - first argument&#x27;s condition seems to be reversed F# filter function - first argument&#x27;s condition seems to be reversed f%23 functional-programming x::xs x::filter F# filter function - first argument's condition seems to be reversed I have a little weird experience with F# filter function to...
[ 0.009033203125, 0.02783203125, -0.005126953125, -0.0164794921875, -0.000766754150390625, 0.001953125, 0.0174560546875, 0.01519775390625, 0.0177001953125, 0.021484375, 0.01422119140625, 0.00762939453125, -0.00579833984375, 0.006866455078125, 0.00897216796875, -0.0042724609375, 0.03198...
[ 563, 4904, 46312, 32354, 5117, 10750, 3768, 35431, 37202, 39531, 5281, 1238, 3742, 123309, 28966, 120337, 7, 186, 10176, 179459, 16981, 18151, 9925, 30646, 15649, 27875, 2740, 4879, 41206, 1810, 5303, 80854, 17932, 117396, 106, 959, 184, 1712...
[ 0.137451171875, 0.2269287109375, 0.231689453125, 0.1439208984375, 0.15185546875, 0.2354736328125, 0.0892333984375, 0.21875, 0.1041259765625, 0.18896484375, 0.14794921875, 0.0677490234375, 0.004364013671875, 0.0849609375, 0.04302978515625, 0.17822265625, 0.0153045654296875, 0.016311...
embed
3098385_c0
3098385
fsharp
0
Title: using CLR interfaces with F# types Problem title: using CLR interfaces with F# types Tags: clr, c%23, f%23, interface Problem: using CLR interfaces with F# types im having a bit of problems using any decent C# interface with my F# types so given i have the following C# interface in one project... //C# namespace ...
using CLR interfaces with F# types using CLR interfaces with F# types clr c%23 f%23 interface CLR FunctionalInterfacing IFoo Bar FunctionalInterfacing.Concrete ConcreteType this.Bar using CLR interfaces with F# types im having a bit of problems using any decent C# interface with my F# types so given i have the followin...
[ 0.0225830078125, 0.0023040771484375, 0.006744384765625, -0.00020122528076171875, 0.01708984375, -0.00787353515625, -0.0201416015625, 0.00506591796875, -0.006439208984375, -0.003265380859375, -0.02197265625, -0.00177001953125, -0.0027008056640625, 0.01324462890625, 0.01416015625, 0.0045...
[ 17368, 313, 138535, 101758, 678, 563, 4904, 52895, 7, 33139, 42, 3742, 1238, 28670, 44851, 91468, 16635, 3253, 7612, 225111, 196707, 903, 25267, 4785, 44402, 16797, 25632, 1632, 13452, 33022, 10644, 23, 29479, 297, 4488, 566, 20949, 18499, ...
[ 0.0648193359375, 0.0498046875, 0.232421875, 0.1844482421875, 0.0670166015625, 0.102783203125, 0.175048828125, 0.186767578125, 0.011749267578125, 0.051727294921875, 0.11767578125, 0.07623291015625, 0.037384033203125, 0.0526123046875, 0.03607177734375, 0.1080322265625, 0.147705078125, ...
embed
39649493_c0
39649493
fsharp
0
Title: Why does function containing Console.ReadLine() not complete? Problem title: Why does function containing Console.ReadLine() not complete? Tags: seq, recursion, f%23 Problem: Why does function containing Console.ReadLine() not complete? I am using Visual Studio 2012, and the function that calls Console.ReadLine(...
Why does function containing Console.ReadLine() not complete? Why does function containing Console.ReadLine() not complete? seq recursion f%23 Why Console.ReadLine System System.Collections.Generic System.Text System.IO line.Equals EntryPoint Why does function containing Console.ReadLine() not complete? I am using Visu...
[ -0.0025482177734375, 0.00101470947265625, 0.00836181640625, 0.0294189453125, 0.0067138671875, -0.010498046875, 0.0269775390625, -0.001007080078125, -0.022216796875, -0.023193359375, 0.0040283203125, 0.014404296875, -0.0194091796875, 0.0004100799560546875, 0.03466796875, -0.005035400390...
[ 44084, 32354, 70541, 1657, 40777, 31345, 93232, 132, 959, 28484, 40, 864, 195625, 1830, 1238, 3949, 3742, 12353, 8996, 174379, 17780, 13315, 71723, 357, 15123, 147534, 14602, 214, 17368, 73372, 22968, 27997, 11782, 1221, 71924, 2633, 23, 4233...
[ 0.111572265625, 0.1728515625, 0.1334228515625, 0.0631103515625, 0.193359375, 0.2279052734375, 0.236572265625, 0.03369140625, 0.13916015625, 0.193115234375, 0.0828857421875, 0.176025390625, 0.1490478515625, 0.038177490234375, 0.040740966796875, 0.01300048828125, 0.1151123046875, 0.0...
embed
74379268_c0
74379268
fsharp
0
Title: How do I properly use INumber in .NET 7 in F#? Problem title: How do I properly use INumber in .NET 7 in F#? Tags: .net-7.0, .net-generic-math, f%23, generics, interface Problem: How do I properly use INumber in .NET 7 in F#? I was reading the following on .NET 7 and INumber : It gave an example of adding two IN...
How do I properly use INumber in .NET 7 in F#? How do I properly use INumber in .NET 7 in F#? .net-7.0 .net-generic-math f%23 generics interface How INumber NET net-7.0 How do I properly use INumber in .NET 7 in F#? I was reading the following on .NET 7 and INumber : It gave an example of adding two INumber generic val...
[ -0.0205078125, -0.004150390625, 0.01324462890625, 0.0189208984375, -0.006195068359375, -0.002349853515625, -0.013916015625, -0.00005173683166503906, 0.0038604736328125, -0.02880859375, 0.01031494140625, -0.030029296875, -0.027587890625, 0.01385498046875, 0.007293701171875, -0.006134033...
[ 11249, 54, 87, 155965, 4527, 5881, 316, 1297, 23, 5, 17777, 361, 563, 4904, 1179, 129884, 79446, 125458, 1238, 3742, 189534, 101758, 2043, 27781, 154107, 6626, 142424, 143126, 110, 36272, 159978, 10644, 171859, 618, 53418, 103608, 11675, 1733...
[ 0.0755615234375, 0.0219573974609375, 0.0203704833984375, 0.1748046875, 0.174072265625, 0.167236328125, 0.215087890625, 0.254638671875, 0.073486328125, 0.0225677490234375, 0.1904296875, 0.177978515625, 0.14794921875, 0.2252197265625, 0.1025390625, 0.1588134765625, 0.0826416015625, 0...
embed
22069476_c1
22069476
fsharp
1
= new Event<_> () abstract member Activate: 'a -> unit abstract member Deactivate: 'b -> unit type NotAbstract<'a, 'b> () = inherit DataSource<'a, 'b> () override this.Activate (a) = printfn "something" override this.Deactivate (b) = printfn "something" type NotAbstractTextual<'a, 'b> () = inherit DataSource<'a, 'b> (...
= new Event<_> () abstract member Activate: 'a -> unit abstract member Deactivate: 'b -> unit type NotAbstract<'a, 'b> () = inherit DataSource<'a, 'b> () override this.Activate (a) = printfn "something" override this.Deactivate (b) = printfn "something" type NotAbstractTextual<'a, 'b> () = inherit DataSource<'a, 'b> (...
[ 0.00982666015625, 0.0078125, 0.01483154296875, -0.01275634765625, 0.01361083984375, 0.003326416015625, 0.000331878662109375, 0.0052490234375, 0.00811767578125, -0.007049560546875, -0.00171661376953125, -0.01904296875, -0.00482177734375, 0.037841796875, -0.016845703125, -0.0174560546875...
[ 2203, 3525, 36943, 164789, 32786, 42902, 2182, 11, 25072, 262, 111438, 67, 275, 10644, 11205, 24988, 2816, 15390, 23, 3334, 217, 11809, 211235, 645, 416, 112, 903, 164414, 28412, 14783, 64113, 4657, 174379, 20605, 876, 37076, 238, 33306, 14...
[ 0.073486328125, 0.1407470703125, 0.257080078125, 0.28271484375, 0.2366943359375, 0.2032470703125, 0.1181640625, 0.00543212890625, 0.1572265625, 0.1220703125, 0.261962890625, 0.1220703125, 0.06170654296875, 0.1275634765625, 0.1251220703125, 0.04351806640625, 0.1771240234375, 0.03460...
embed
25769101_c0
25769101
fsharp
0
Title: Comparing function types in F# Problem title: Comparing function types in F# Tags: f%23 Problem: Comparing function types in F# The next test fail. I call GetType directly to a function definition, and then I also call GetType within an inline function. The generated types are not equal. namespace PocTests open ...
Comparing function types in F# Comparing function types in F# f%23 Comparing PocTests FsUnit NUnit.Framework Helpers TestFixture Reflected Test f.GetType FullName Helpers.balance Helpers.balance.GetType Comparing function types in F# The next test fail. I call GetType directly to a function definition, and then I also ...
[ -0.000232696533203125, -0.0040283203125, 0.0028839111328125, -0.014404296875, -0.0076904296875, -0.0220947265625, 0.01190185546875, 0.0024261474609375, 0.0030059814453125, 0.0032806396484375, 0.01031494140625, 0.034423828125, 0.000152587890625, -0.005401611328125, 0.01263427734375, 0.0...
[ 113307, 214, 32354, 52895, 563, 4904, 1238, 3742, 663, 238, 111337, 85600, 18057, 6773, 39527, 1314, 8647, 6159, 53295, 133, 126, 196707, 163612, 173212, 11737, 3034, 35782, 11782, 20779, 105237, 80934, 28032, 23, 2256, 139392, 71, 959, 10595...
[ 0.174560546875, 0.026885986328125, 0.1484375, 0.203857421875, 0.1212158203125, 0.1929931640625, 0.0484619140625, 0.056488037109375, 0.05810546875, 0.001129150390625, 0.140625, 0.0219268798828125, 0.0279388427734375, 0.064453125, 0.0968017578125, 0.031280517578125, 0.1220703125, 0.0...
embed
41204150_c0
41204150
fsharp
0
Title: Why is -1L * -9223372036854775808L == -9223372036854775808L Problem title: Why is -1L * -9223372036854775808L == -9223372036854775808L Tags: math, f%23, binary, c%23, .net Problem: Why is -1L * -9223372036854775808L == -9223372036854775808L I understand this has something to do with the way processors treat over...
Why is -1L * -9223372036854775808L == -9223372036854775808L Why is -1L * -9223372036854775808L == -9223372036854775808L math f%23 binary c%23 .net Why int64 Why is -1L * -9223372036854775808L == -9223372036854775808L I understand this has something to do with the way processors treat overflows, but I fail to see it. Mu...
[ -0.005645751953125, 0.004486083984375, -0.000408172607421875, -0.005218505859375, -0.007110595703125, -0.017578125, -0.002532958984375, 0.00982666015625, 0.0026702880859375, 0.01806640625, -0.010986328125, 0.00390625, 0.0147705078125, 0.01177978515625, 0.01904296875, -0.001998901367187...
[ 44084, 83, 68940, 866, 661, 20, 12231, 105586, 114988, 126701, 188608, 163736, 69112, 48909, 2394, 1179, 23, 18, 13307, 14543, 85689, 645, 118664, 35782, 1957, 19335, 182867, 678, 12921, 40907, 101935, 76199, 45234, 122297, 8353, 15748, 4904, ...
[ 0.126953125, 0.03778076171875, 0.2379150390625, 0.2025146484375, 0.03863525390625, 0.1202392578125, 0.1143798828125, 0.1019287109375, 0.03497314453125, 0.0718994140625, 0.07763671875, 0.130126953125, 0.149169921875, 0.035064697265625, 0.0565185546875, 0.08837890625, 0.048248291015625...
embed
1871475_c1
1871475
fsharp
1
added at anytime: common case would be that it is one of the 'rules' above, and an unlikely edge case that a new 'rule' branch may have to be added. I am still to determine whether the work needed it to make it fully dynamic using xml defined rules( or any other way) is worth it compared to the likelihood of the edge ...
added at anytime: common case would be that it is one of the 'rules' above, and an unlikely edge case that a new 'rule' branch may have to be added. I am still to determine whether the work needed it to make it fully dynamic using xml defined rules( or any other way) is worth it compared to the likelihood of the edge ...
[ -0.006927490234375, 0.018310546875, -0.004730224609375, 0.01007080078125, -0.0120849609375, -0.006317138671875, -0.008544921875, 0.00787353515625, 0.01397705078125, 0.014404296875, 0.00885009765625, -0.0286865234375, 0.01611328125, -0.0179443359375, -0.00787353515625, 0.007659912109375...
[ 49814, 99, 2499, 6032, 39210, 7225, 83, 1632, 13500, 90, 36917, 5062, 121303, 3525, 882, 133, 32845, 206, 1543, 83324, 4488, 89554, 84079, 131492, 61924, 91736, 41965, 442, 1884, 50218, 123087, 8063, 65998, 7560, 10360, 5201, 6275, 27650, 1...
[ 0.193603515625, 0.049407958984375, 0.111083984375, 0.1519775390625, 0.08837890625, 0.10626220703125, 0.000091552734375, 0.008575439453125, 0.10040283203125, 0.042572021484375, 0.04803466796875, 0.07965087890625, 0.128173828125, 0.0185089111328125, 0.10113525390625, 0.0958251953125, 0...
embed
54851587_c0
54851587
fsharp
0
Title: Take elements from list and add them in pairs recursively F# Problem title: Take elements from list and add them in pairs recursively F# Tags: tuples, list, f%23 Problem: Take elements from list and add them in pairs recursively F# I have just started my F# adventure and am stuck. I want to write a recursive fun...
Take elements from list and add them in pairs recursively F# Take elements from list and add them in pairs recursively F# tuples list f%23 list Take x::y::xs Take elements from list and add them in pairs recursively F# I have just started my F# adventure and am stuck. I want to write a recursive function that takes the...
[ -0.0186767578125, 0.030517578125, 0.01092529296875, 0.017578125, -0.005462646484375, 0.0244140625, -0.00994873046875, -0.005126953125, 0.0120849609375, 0.004150390625, 0.02685546875, -0.01153564453125, 0.01239013671875, 0.00069427490234375, 0.0011444091796875, -0.0024566650390625, 0....
[ 46673, 80854, 1295, 5303, 15190, 23, 80836, 7, 195625, 5844, 563, 4904, 370, 99726, 1238, 3949, 3742, 1022, 53, 425, 2856, 538, 26859, 156578, 179933, 3444, 33022, 32354, 51776, 30646, 18, 103607, 4288, 1639, 1884, 903, 418, 304, 363, 617...
[ 0.1634521484375, 0.2078857421875, 0.134521484375, 0.184814453125, 0.1458740234375, 0.07861328125, 0.2076416015625, 0.041900634765625, 0.1981201171875, 0.12158203125, 0.10626220703125, 0.171142578125, 0.05804443359375, 0.0693359375, 0.047271728515625, 0.017364501953125, 0.144897460937...
embed
9026965_c0
9026965
fsharp
0
Title: Runtime coercion of generic types in F# Problem title: Runtime coercion of generic types in F# Tags: .net, f%23 Problem: Runtime coercion of generic types in F# I have a base class with explicit generic arguments in F#. I'm trying to check if the given type I'm using implements a specific interface. I thought "i...
Runtime coercion of generic types in F# Runtime coercion of generic types in F# .net f%23 Runtime SysAware ISysAware Some None Runtime coercion of generic types in F# I have a base class with explicit generic arguments in F#. I'm trying to check if the given type I'm using implements a specific interface. I thought "if...
[ -0.0167236328125, -0.003936767578125, -0.003082275390625, -0.0111083984375, -0.0123291015625, 0.0068359375, -0.02734375, 0.013671875, -0.00390625, 0.0029296875, 0.01708984375, 0.01416015625, -0.00147247314453125, -0.01953125, -0.0021514892578125, -0.00946044921875, 0.00775146484375, ...
[ 28398, 6032, 552, 56, 6447, 189534, 52895, 563, 4904, 1179, 1238, 3742, 4843, 284, 15876, 15744, 4778, 438, 3647, 18507, 143726, 10750, 12765, 2174, 34475, 10644, 17368, 29479, 29458, 101758, 3190, 995, 186992, 11343, 5701, 18499, 93774, 9508...
[ 0.1112060546875, 0.10247802734375, 0.1002197265625, 0.18359375, 0.1068115234375, 0.19677734375, 0.17919921875, 0.112060546875, 0.1812744140625, 0.08843994140625, 0.014801025390625, 0.0736083984375, 0.0755615234375, 0.01800537109375, 0.2069091796875, 0.0877685546875, 0.115966796875, ...
embed
45808145_c0
45808145
fsharp
0
Title: How build a Tree (AST) of several generic constructors in F#? Problem title: How build a Tree (AST) of several generic constructors in F#? Tags: algebraic-data-types, f%23, interpreter, generics Problem: How build a Tree (AST) of several generic constructors in F#? I'm building a little array language, and strug...
How build a Tree (AST) of several generic constructors in F#? How build a Tree (AST) of several generic constructors in F#? algebraic-data-types f%23 interpreter generics How Tree AST Shape Col Rel value:array ExprC BoolC StrC IntC Here How build a Tree (AST) of several generic constructors in F#? I'm building a little...
[ 0.00494384765625, 0.0086669921875, -0.0091552734375, 0.00628662109375, 0.0137939453125, 0.0020599365234375, -0.0181884765625, 0.0084228515625, -0.01153564453125, -0.02294921875, -0.0076904296875, -0.0155029296875, 0.006195068359375, -0.00139617919921875, -0.000560760498046875, -0.00460...
[ 11249, 45367, 10, 101344, 48963, 111, 40368, 189534, 64549, 25251, 23, 563, 4904, 429, 2844, 10135, 50986, 1238, 3742, 29481, 56, 7224, 1081, 11554, 853, 141, 34292, 19305, 441, 23351, 11853, 33976, 10176, 10298, 53, 46876, 151994, 3642, 22...
[ 0.09619140625, 0.1851806640625, 0.0626220703125, 0.300048828125, 0.2054443359375, 0.035888671875, 0.123291015625, 0.2374267578125, 0.17578125, 0.1129150390625, 0.036376953125, 0.13623046875, 0.2177734375, 0.03143310546875, 0.00469970703125, 0.046630859375, 0.11474609375, 0.06146240...
embed
43972637_c1
43972637
fsharp
1
3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089") |> ignore Notes: Framework versions 3.5 and 4.5.2 through 4.7 are installed on the Windows 10 development machine. Identical behavior occurs on a Windows 2012 R2 server with Framework versions 3.5 and 4.5.2 through 4.6.2 installed. FSharp.Core.dll is distribut...
3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089") |> ignore Notes: Framework versions 3.5 and 4.5.2 through 4.7 are installed on the Windows 10 development machine. Identical behavior occurs on a Windows 2012 R2 server with Framework versions 3.5 and 4.5.2 through 4.6.2 installed. FSharp.Core.dll is distribut...
[ -0.008544921875, 0.0159912109375, 0.01434326171875, -0.016845703125, -0.00433349609375, -0.003448486328125, -0.0208740234375, 0.000667572021484375, 0.0017547607421875, -0.00909423828125, 0.0091552734375, -0.000797271728515625, -0.01239013671875, 0.0074462890625, 0.028564453125, 0.00279...
[ 38704, 5, 99929, 105141, 218142, 16934, 162429, 7763, 1098, 14546, 13683, 2947, 10289, 8318, 1126, 18939, 124962, 202220, 11389, 1398, 158296, 966, 20600, 3773, 209, 34754, 36279, 71257, 123166, 74918, 1324, 627, 304, 10723, 178121, 93774, 3467...
[ 0.28564453125, 0.0274200439453125, 0.179443359375, 0.22216796875, 0.171142578125, 0.06744384765625, 0.0904541015625, 0.026214599609375, 0.1300048828125, 0.0782470703125, 0.0517578125, 0.022186279296875, 0.1011962890625, 0.040802001953125, 0.088623046875, 0.00592041015625, 0.163208007...
embed
34722422_c0
34722422
fsharp
0
Title: How does a type satisfy the required signature for performing a map operation? Problem title: How does a type satisfy the required signature for performing a map operation? Tags: f%23 Problem: How does a type satisfy the required signature for performing a map operation? Can someone explain to me how the followi...
How does a type satisfy the required signature for performing a map operation? How does a type satisfy the required signature for performing a map operation? f%23 How List.map How does a type satisfy the required signature for performing a map operation? Can someone explain to me how the following line compiles? I expe...
[ -0.010009765625, -0.00083160400390625, 0.0022430419921875, 0.00946044921875, -0.0306396484375, -0.0101318359375, 0.0048828125, 0.00469970703125, 0.018798828125, 0.0106201171875, -0.0108642578125, -0.040283203125, 0.00015354156494140625, 0.0206298828125, -0.0115966796875, 0.00732421875,...
[ 11249, 14602, 10644, 40407, 53, 56065, 138256, 51339, 22288, 41018, 100, 1238, 3949, 3742, 32036, 5, 62346, 73342, 3642, 25632, 13315, 9969, 1340, 84751, 32354, 23, 3687, 79315, 618, 33079, 1062, 5303, 12301, 36917, 51776, 237, 107730, 11180,...
[ 0.09765625, 0.04034423828125, 0.2398681640625, 0.1917724609375, 0.0943603515625, 0.194580078125, 0.259521484375, 0.1204833984375, 0.228271484375, 0.1685791015625, 0.024444580078125, 0.069580078125, 0.05718994140625, 0.132080078125, 0.2158203125, 0.0523681640625, 0.224853515625, 0.0...
embed
76461407_c0
76461407
fsharp
0
Title: Improve F# Debugging experience Visual Studio/Code Problem title: Improve F# Debugging experience Visual Studio/Code Tags: debugging, f%23, visual-studio Problem: Improve F# Debugging experience Visual Studio/Code The Visual Studio (and Code) Debugging experience is much worse for F# than C#. Most of the time it...
Improve F# Debugging experience Visual Studio/Code Improve F# Debugging experience Visual Studio/Code debugging f%23 visual-studio Improve Debugging Visual Studio Improve F# Debugging experience Visual Studio/Code The Visual Studio (and Code) Debugging experience is much worse for F# than C#. Most of the time it is imp...
[ 0.014404296875, 0.0031890869140625, 0.000667572021484375, 0.00518798828125, 0.01220703125, 0.01318359375, -0.01434326171875, 0.01165771484375, -0.001251220703125, -0.00433349609375, 0.022216796875, -0.00128936767578125, 0.01409912109375, 0.021728515625, 0.0184326171875, 0.0194091796875...
[ 3370, 66187, 563, 4904, 262, 978, 36659, 16981, 73372, 22968, 64, 114211, 8, 1238, 3742, 21176, 52629, 2940, 28864, 83, 5045, 124632, 100, 3501, 313, 17006, 1733, 69201, 134071, 77336, 959, 4000, 43701, 61112, 101153, 36356, 38496, 128239, ...
[ 0.030029296875, 0.126220703125, 0.1427001953125, 0.2254638671875, 0.1640625, 0.2255859375, 0.15185546875, 0.1942138671875, 0.201171875, 0.2034912109375, 0.033966064453125, 0.14794921875, 0.0943603515625, 0.05474853515625, 0.0298004150390625, 0.1466064453125, 0.134033203125, 0.01927...
embed
71069244_c0
71069244
fsharp
0
Title: Write F# DataTable to CSV file Problem title: Write F# DataTable to CSV file Tags: f%23 Problem: Write F# DataTable to CSV file I am trying to write an F# DataTable to csv (or output in a txt). The table I have is defined as follows: let setup_report_tbl ( tbl : DataTable ) = ignore( tbl.Columns.Add("business_da...
Write F# DataTable to CSV file Write F# DataTable to CSV file f%23 Write DataTable CSV setup_report_tbl tbl.Columns.Add business_date System.Int32 System.String System.Boolean System.Double Write F# DataTable to CSV file I am trying to write an F# DataTable to csv (or output in a txt). The table I have is defined as fo...
[ 0.0093994140625, 0.0003223419189453125, 0.0142822265625, 0.016357421875, -0.00946044921875, -0.002960205078125, -0.018798828125, 0.0093994140625, -0.01153564453125, 0.031494140625, -0.0162353515625, -0.0037841796875, -0.0014190673828125, 0.0201416015625, -0.00830078125, 0.010498046875,...
[ 601, 18781, 563, 4904, 11809, 618, 2886, 47, 313, 43486, 11435, 1238, 3949, 3742, 169581, 79770, 9030, 316, 4028, 8063, 17489, 12353, 6460, 5, 34677, 34, 2661, 31577, 33022, 20763, 334, 140992, 6, 124326, 194, 23180, 765, 61924, 71, 28960...
[ 0.0804443359375, 0.101806640625, 0.1446533203125, 0.25244140625, 0.136474609375, 0.1514892578125, 0.2125244140625, 0.1116943359375, 0.0806884765625, 0.268798828125, 0.0946044921875, 0.05670166015625, 0.002471923828125, 0.0989990234375, 0.11181640625, 0.116943359375, 0.0750732421875, ...
embed
49888944_c0
49888944
fsharp
0
Title: (F#) Find Index of element in 2D Array Problem title: (F#) Find Index of element in 2D Array Tags: arrays, multidimensional-array, f%23 Problem: (F#) Find Index of element in 2D Array I'm currently having some issues finding the index of a specific element in a 2D array. I know that a standard array can use find...
(F#) Find Index of element in 2D Array (F#) Find Index of element in 2D Array arrays multidimensional-array f%23 Find Index Array Array.findIndex (F#) Find Index of element in 2D Array I'm currently having some issues finding the index of a specific element in a 2D array. I know that a standard array can use findIndex ...
[ 0.00439453125, 0.019775390625, 0.0016632080078125, 0.00982666015625, -0.022216796875, -0.0010223388671875, 0.0020294189453125, -0.0076904296875, 0.0118408203125, 0.001953125, 0.01336669921875, 0.0024871826171875, -0.02490234375, 0.00013828277587890625, 0.0186767578125, -0.0035400390625...
[ 919, 4904, 26040, 31471, 111, 12830, 23, 116, 397, 69253, 53, 10298, 4778, 6024, 157955, 19305, 1238, 3742, 111607, 4153, 39659, 37348, 90791, 63262, 29458, 5570, 4527, 7413, 3642, 59911, 173247, 1463, 35975, 93766, 67, 64194, 37397, 8560, ...
[ 0.056640625, 0.1492919921875, 0.1240234375, 0.287353515625, 0.11279296875, 0.1846923828125, 0.045989990234375, 0.1397705078125, 0.1219482421875, 0.1566162109375, 0.10205078125, 0.1478271484375, 0.0313720703125, 0.020965576171875, 0.05792236328125, 0.0906982421875, 0.02960205078125, ...
embed
31193757_c0
31193757
fsharp
0
Title: Using C# Linq ForEach() in F# Problem title: Using C# Linq ForEach() in F# Tags: linq, f%23, c%23, c%23-to-f%23 Problem: Using C# Linq ForEach() in F# I'm translating some code from C# to F#, and I have the following lines that I need to cross over the F#: List<VirtualMachine> vmList = new List<VirtualMachine>()...
Using C# Linq ForEach() in F# Using C# Linq ForEach() in F# linq f%23 c%23 c%23-to-f%23 Using Linq ForEach List VirtualMachine m_vimClient.FindEntityViews vmList.Add vimClient.FindEntityViews Using C# Linq ForEach() in F# I'm translating some code from C# to F#, and I have the following lines that I need to cross over ...
[ 0.00811767578125, 0.0244140625, -0.00396728515625, 0.00897216796875, 0.0084228515625, -0.0003643035888671875, -0.01068115234375, -0.004852294921875, -0.0067138671875, -0.058349609375, 0.0238037109375, 0.014404296875, 0.01422119140625, -0.01171875, -0.0079345703125, -0.01336669921875, ...
[ 345, 313, 4904, 339, 44982, 1326, 647, 934, 132, 23, 563, 96, 1238, 3742, 27495, 188, 420, 32036, 73303, 4613, 99326, 29671, 150, 204582, 18, 2481, 100474, 81, 39, 154663, 4028, 119916, 3900, 143, 18151, 1295, 47, 124519, 41421, 645, 25...
[ 0.0328369140625, 0.027984619140625, 0.21044921875, 0.0577392578125, 0.21337890625, 0.1826171875, 0.1351318359375, 0.2293701171875, 0.09820556640625, 0.0183563232421875, 0.1490478515625, 0.050994873046875, 0.0274810791015625, 0.08172607421875, 0.10040283203125, 0.1077880859375, 0.0776...
embed
65521329_c0
65521329
fsharp
0
Title: IDE errors for fake script in visual studio Problem title: IDE errors for fake script in visual studio Tags: f%23, f%23-fake Problem: IDE errors for fake script in visual studio I have fake build scripts, quite a lot of them, they all work, but visual studio always complains slightly about them. They all start r...
IDE errors for fake script in visual studio IDE errors for fake script in visual studio f%23 f%23-fake IDE Fake.IO.FileSystem Fake.DotNet.MSBuild Fake.DotNet.Nuget Fake.DotNet.Cli Fake.Runtime Fake.Core.Target build.fsx intellisense.fsx IDE errors for fake script in visual studio I have fake build scripts, quite a lot ...
[ 0.0027008056640625, 0.02587890625, -0.02197265625, -0.0030364990234375, 0.01287841796875, 0.004974365234375, 0.000301361083984375, -0.0064697265625, -0.01123046875, -0.007171630859375, 0.00286865234375, 0.0162353515625, 0.01239013671875, 0.0390625, 0.006805419921875, -0.0107421875, 0...
[ 36497, 18499, 100, 106287, 26499, 21176, 12275, 23, 3742, 27495, 1021, 350, 3036, 17780, 174350, 84293, 24447, 13439, 121137, 3794, 50886, 63031, 45367, 17447, 425, 27077, 5915, 4488, 11343, 186992, 161549, 4034, 166904, 1221, 2186, 2870, 12485...
[ 0.21142578125, 0.179443359375, 0.0275115966796875, 0.230712890625, 0.234130859375, 0.1474609375, 0.1983642578125, 0.1204833984375, 0.04400634765625, 0.02252197265625, 0.1318359375, 0.05426025390625, 0.1414794921875, 0.126708984375, 0.053466796875, 0.09381103515625, 0.0946044921875, ...
embed
35611522_c0
35611522
fsharp
0
Title: The smallest index i of the list such that the prefix sum of array elements from 0 to i is less then some constant c in F# Problem title: The smallest index i of the list such that the prefix sum of array elements from 0 to i is less then some constant c in F# Tags: f%23, functional-programming, lambda Problem: ...
The smallest index i of the list such that the prefix sum of array elements from 0 to i is less then some constant c in F# The smallest index i of the list such that the prefix sum of array elements from 0 to i is less then some constant c in F# f%23 functional-programming lambda 0 The smallest index i of the list such...
[ -0.0164794921875, 0.00579833984375, 0.00921630859375, -0.01470947265625, -0.004058837890625, 0.0027008056640625, 0.021484375, 0.01153564453125, 0.004119873046875, -0.01495361328125, -0.004730224609375, -0.01275634765625, -0.01483154296875, 0.01434326171875, 0.0123291015625, 0.016479492...
[ 19336, 525, 63262, 17, 5303, 6044, 183114, 10554, 10298, 53, 80854, 757, 47, 40715, 7068, 53697, 501, 563, 4904, 111, 1238, 3949, 3742, 123309, 28966, 21, 6492, 85, 1295, 83, 3060, 66596, 58055, 24491, 101935, 3249, 2878, 289, 68330, 2389...
[ 0.1859130859375, 0.16943359375, 0.2320556640625, 0.201904296875, 0.1822509765625, 0.0240325927734375, 0.254638671875, 0.201416015625, 0.1256103515625, 0.058746337890625, 0.1802978515625, 0.1239013671875, 0.08050537109375, 0.1668701171875, 0.039764404296875, 0.162353515625, 0.13439941...
embed
48144283_c0
48144283
fsharp
0
Title: Why does intellisense fail on my F# script? Problem title: Why does intellisense fail on my F# script? Tags: intellisense, dll, query-expressions, f%23 Problem: Why does intellisense fail on my F# script? I've been building a library to interact with one of my databases at work and everything is working fine. Bu...
Why does intellisense fail on my F# script? Why does intellisense fail on my F# script? intellisense dll query-expressions f%23 Why System.Data.Linq Copy Local Why does intellisense fail on my F# script? I've been building a library to interact with one of my databases at work and everything is working fine. But when I...
[ -0.0006866455078125, 0.01470947265625, -0.01446533203125, 0.02099609375, -0.0247802734375, 0.006134033203125, -0.0025634765625, -0.00885009765625, -0.01141357421875, -0.031494140625, -0.0013275146484375, 0.006561279296875, 0.00022411346435546875, 0.020263671875, 0.019775390625, 0.00183...
[ 44084, 14602, 892, 27077, 184, 35782, 759, 563, 4904, 26499, 98, 81717, 41, 1294, 204629, 1238, 3742, 12353, 137989, 866, 44982, 146930, 24172, 33976, 35773, 78974, 63399, 4488, 26818, 20697, 5885, 9803, 3525, 11343, 12478, 24251, 1810, 9790,...
[ 0.103515625, 0.019989013671875, 0.163330078125, 0.2069091796875, 0.1336669921875, 0.21240234375, 0.007293701171875, 0.1070556640625, 0.1988525390625, 0.20947265625, 0.005218505859375, 0.16552734375, 0.1080322265625, 0.1156005859375, 0.1737060546875, 0.04144287109375, 0.05380249023437...
embed