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
21629048_c0
21629048
fsharp
0
Title: F# recursive function arguments and stack overflow Problem title: F# recursive function arguments and stack overflow Tags: recursion, f%23 Problem: F# recursive function arguments and stack overflow I am somewhat new to F#, and I came across some strange behaviour when I was working with some recursive functions...
F# recursive function arguments and stack overflow F# recursive function arguments and stack overflow recursion f%23 F# recursive function arguments and stack overflow I am somewhat new to F#, and I came across some strange behaviour when I was working with some recursive functions. I have two different versions of it ...
[ 0.002899169921875, 0.006439208984375, -0.001983642578125, 0.0191650390625, 0.01416015625, 0.00567626953125, -0.01177978515625, 0.0115966796875, 0.005218505859375, -0.01348876953125, 0.0172119140625, -0.02587890625, -0.0064697265625, 0.00421142578125, 0.036376953125, -0.00628662109375, ...
[ 563, 4904, 195625, 5844, 32354, 10750, 136, 177261, 645, 118664, 1238, 3949, 3742, 208806, 3525, 114453, 224833, 20697, 6626, 12921, 11389, 35064, 40647, 13806, 113660, 37202, 442, 3522, 46223, 304, 3293, 1632, 43240, 237, 41206, 60212, 116, ...
[ 0.1287841796875, 0.200927734375, 0.20263671875, 0.1156005859375, 0.172607421875, 0.216552734375, 0.03387451171875, 0.172607421875, 0.12646484375, 0.256591796875, 0.0860595703125, 0.044708251953125, 0.1295166015625, 0.01092529296875, 0.005767822265625, 0.059417724609375, 0.07159423828...
embed
30621305_c0
30621305
fsharp
0
Title: strange f# list notation in suave.io Problem title: strange f# list notation in suave.io Tags: suave, f%23 Problem: strange f# list notation in suave.io In suave.io we can use choose combinator that has the Types.WebPart list -> Types.WebPart type. Examples from their website show that I can use this combinator ...
strange f# list notation in suave.io strange f# list notation in suave.io suave f%23 suave.io Types.WebPart Hello GET Good fun:choose ERROR strange f# list notation in suave.io In suave.io we can use choose combinator that has the Types.WebPart list -> Types.WebPart type. Examples from their website show that I can use...
[ -0.027099609375, -0.0106201171875, -0.002197265625, 0.005828857421875, -0.0203857421875, 0.00136566162109375, -0.0155029296875, 0.0223388671875, 0.01348876953125, 0.00885009765625, 0.01080322265625, 0.0012664794921875, 0.0216064453125, -0.007720947265625, 0.00970458984375, -0.016357421...
[ 114453, 1238, 4904, 5303, 110, 22062, 109829, 5, 846, 23, 3742, 60457, 30474, 58229, 35378, 79794, 7477, 3089, 151206, 24638, 4527, 55076, 22321, 1290, 10644, 89536, 903, 37202, 18, 35968, 46029, 4759, 38310, 80854, 43701, 25632, 43240, 4966,...
[ 0.1553955078125, 0.1097412109375, 0.1744384765625, 0.177978515625, 0.11767578125, 0.07598876953125, 0.2412109375, 0.045196533203125, 0.159912109375, 0.003875732421875, 0.07586669921875, 0.1650390625, 0.09130859375, 0.13671875, 0.047821044921875, 0.0207977294921875, 0.06451416015625, ...
embed
35103703_c0
35103703
fsharp
0
Title: Unit test function returning function in F# Problem title: Unit test function returning function in F# Tags: f%23, unit-testing Problem: Unit test function returning function in F# I have written the following function in F# which, given two points, returns a function representing the line which passes throught ...
Unit test function returning function in F# Unit test function returning function in F# f%23 unit-testing Unit point1:float point2:float point1 point2 y2-y1 x2-x1 y1-x1 Unit test function returning function in F# I have written the following function in F# which, given two points, returns a function representing the li...
[ 0.004638671875, -0.0031280517578125, -0.0013580322265625, -0.0098876953125, 0.01251220703125, -0.015869140625, 0.013427734375, -0.0081787109375, 0.0120849609375, -0.0037689208984375, -0.00099945068359375, 0.034912109375, -0.04345703125, -0.0034027099609375, 0.0172119140625, 0.017700195...
[ 46640, 3034, 32354, 30646, 563, 4904, 1238, 3949, 3742, 25072, 6954, 6275, 82825, 52347, 304, 113, 18504, 53, 1022, 418, 20268, 425, 214, 23, 59121, 25632, 34475, 6626, 26847, 33636, 13315, 3129, 10922, 8305, 18, 1884, 903, 3642, 54, 4527...
[ 0.234619140625, 0.2340087890625, 0.2017822265625, 0.224853515625, 0.15576171875, 0.228271484375, 0.0958251953125, 0.0330810546875, 0.1414794921875, 0.234375, 0.1766357421875, 0.112060546875, 0.018463134765625, 0.099853515625, 0.037506103515625, 0.047088623046875, 0.07666015625, 0.0...
embed
75748481_c1
75748481
fsharp
1
? Short of going back to the first version, is there a way to use module rec that does not produce any warnings? Update! Curiously a static member works without warnings. Is this equivalent to the module rec approach above in terms of performance? module rec Domain = open Thoth.Json.Net type Person = { Name : FullName ...
? Short of going back to the first version, is there a way to use module rec that does not produce any warnings? Update! Curiously a static member works without warnings. Is this equivalent to the module rec approach above in terms of performance? module rec Domain = open Thoth.Json.Net type Person = { Name : FullName ...
[ -0.00244140625, 0.004913330078125, 0.0255126953125, 0.02685546875, 0.006103515625, 0.004913330078125, 0.002197265625, -0.00109100341796875, 0.0024261474609375, -0.0277099609375, -0.008544921875, 0.013671875, -0.006011962890625, 0.005218505859375, 0.016845703125, -0.0245361328125, 0.0...
[ 82990, 4420, 5117, 11389, 3917, 4527, 88996, 21954, 14602, 959, 27489, 2499, 1631, 6977, 17065, 201939, 32786, 43240, 15490, 183234, 51515, 23718, 93702, 9803, 32238, 927, 1375, 1681, 24447, 10644, 15270, 15757, 9312, 163612, 2777, 79315, 678, ...
[ 0.043701171875, 0.05792236328125, 0.01275634765625, 0.06109619140625, 0.051605224609375, 0.119873046875, 0.2379150390625, 0.2734375, 0.036163330078125, 0.10235595703125, 0.1053466796875, 0.06378173828125, 0.1751708984375, 0.1353759765625, 0.0298309326171875, 0.2041015625, 0.233764648...
embed
42912346_c0
42912346
fsharp
0
Title: Is there a bug in Frame.denseCols? Problem title: Is there a bug in Frame.denseCols? Tags: deedle, f%23 Problem: Is there a bug in Frame.denseCols? The Visual Studio 2017 Quick Info tooltip for Frame.denseCols says "it skips columns that contain missing value in any row." The following example seems to suggest o...
Is there a bug in Frame.denseCols? Is there a bug in Frame.denseCols? deedle f%23 Deedle.MissingValueException 1/1/2013 Frame.denseCols first:System.DateTime first.AddDays Series DateTime dfR10 Frame sR1 sR1.Keys Value Deedle.Series Get Deedle Series.fs:line StartupCode$FSI_0167 FSI_0167.main Stopped Frame.denseRows sR...
[ 0.01287841796875, 0.0002002716064453125, 0.006195068359375, 0.014404296875, -0.0032958984375, -0.005950927734375, 0.031982421875, 0.00738525390625, 0.004150390625, 0.01556396484375, -0.0015411376953125, 0.03076171875, 0.002593994140625, -0.004180908203125, 0.01336669921875, 0.010681152...
[ 2071, 2685, 54608, 42557, 13, 118435, 78457, 7, 10, 23, 5, 8, 297, 133, 1238, 3742, 262, 135261, 214, 856, 50770, 63928, 142998, 25105, 5117, 84293, 86291, 70059, 4028, 97141, 64876, 25512, 963, 1052, 162429, 190060, 138724, 2256, 153076, ...
[ 0.027069091796875, 0.05230712890625, 0.19091796875, 0.192138671875, 0.204345703125, 0.2061767578125, 0.2412109375, 0.1719970703125, 0.03680419921875, 0.018829345703125, 0.01007080078125, 0.0938720703125, 0.1619873046875, 0.1558837890625, 0.03228759765625, 0.104248046875, 0.0881347656...
embed
53869312_c0
53869312
fsharp
0
Title: F# if statement function with parameter syntax Problem title: F# if statement function with parameter syntax Tags: compilation, if-statement, f%23 Problem: F# if statement function with parameter syntax The issue is: I cannot figure out what the error is refering to when it diplays Here is the error: source_file...
F# if statement function with parameter syntax F# if statement function with parameter syntax compilation if-statement f%23 System F# if statement function with parameter syntax The issue is: I cannot figure out what the error is refering to when it diplays Here is the error: source_file.fs(10,5): error FS0010: Unexpec...
[ 0.006927490234375, -0.0012664794921875, -0.0042724609375, 0.01123046875, 0.011474609375, 0.00054168701171875, 0.0206298828125, 0.00994873046875, -0.010986328125, -0.0035552978515625, 0.00098419189453125, 0.0101318359375, -0.0302734375, 0.02490234375, 0.024658203125, -0.002227783203125,...
[ 563, 4904, 2174, 63805, 32354, 678, 171859, 6002, 86531, 98352, 61340, 674, 1238, 3742, 12353, 31089, 53418, 26366, 1810, 2367, 18499, 15005, 214, 45, 20706, 31344, 29822, 17447, 90980, 43317, 93774, 7049, 963, 992, 83613, 166117, 3190, 25, ...
[ 0.113037109375, 0.1783447265625, 0.2427978515625, 0.25634765625, 0.1588134765625, 0.1080322265625, 0.232666015625, 0.120361328125, 0.1534423828125, 0.1475830078125, 0.160888671875, 0.034027099609375, 0.0626220703125, 0.1475830078125, 0.0634765625, 0.06256103515625, 0.1068115234375, ...
embed
64195784_c0
64195784
fsharp
0
Title: F# match pattern discriminator not defined issue Problem title: F# match pattern discriminator not defined issue Tags: error-handling, f%23, list, pattern-matching, recursion Problem: F# match pattern discriminator not defined issue im in the process of writing a transposing recursive function and i have stopped...
F# match pattern discriminator not defined issue F# match pattern discriminator not defined issue error-handling f%23 list pattern-matching recursion List.map List.length List.distinct List.head M::transpose List.tail F# match pattern discriminator not defined issue im in the process of writing a transposing recursive ...
[ -0.0191650390625, 0.0166015625, 0.0091552734375, 0.0012969970703125, -0.00445556640625, -0.0225830078125, 0.00001233816146850586, -0.007415771484375, 0.000507354736328125, -0.00537109375, 0.0260009765625, 0.01806640625, 0.0140380859375, 0.0087890625, -0.004119873046875, 0.015380859375,...
[ 563, 4904, 14858, 103510, 55970, 1290, 959, 61924, 31089, 71, 18499, 54885, 1238, 3949, 3742, 5303, 98753, 195625, 32036, 62346, 46295, 38893, 31251, 276, 30145, 78381, 46741, 566, 32562, 3900, 7522, 5844, 32354, 118066, 2967, 12765, 159029, ...
[ 0.1065673828125, 0.1845703125, 0.2127685546875, 0.215576171875, 0.2427978515625, 0.1572265625, 0.140380859375, 0.212646484375, 0.138427734375, 0.046417236328125, 0.123779296875, 0.1063232421875, 0.0704345703125, 0.0147247314453125, 0.138427734375, 0.1007080078125, 0.16064453125, 0....
embed
42570927_c0
42570927
fsharp
0
Title: Implement F# interface via tacit programming Problem title: Implement F# interface via tacit programming Tags: f%23, first-class-functions, functional-programming, tacit-programming Problem: Implement F# interface via tacit programming An idea from tacit programming is to not apply arguments to functions if it c...
Implement F# interface via tacit programming Implement F# interface via tacit programming f%23 first-class-functions functional-programming tacit-programming Implement IAdder Add Adder this.Add AdderWithInnerAdder adder:IAdder adder.Add IAdder.Add Implement F# interface via tacit programming An idea from tacit programm...
[ -0.00592041015625, 0.00677490234375, 0.0081787109375, 0.003936767578125, -0.00115966796875, -0.0137939453125, 0.0036468505859375, 0.000885009765625, -0.00946044921875, -0.0189208984375, -0.006072998046875, 0.035888671875, -0.01708984375, 0.0162353515625, 0.027099609375, -0.013610839843...
[ 153941, 563, 4904, 101758, 1829, 308, 12645, 56037, 1238, 3949, 3742, 5117, 67413, 137175, 123309, 28966, 87, 22409, 820, 29117, 56, 903, 4028, 194583, 13857, 606, 17481, 70764, 6528, 1295, 449, 959, 59911, 10750, 47, 32354, 2174, 831, 7186...
[ 0.17919921875, 0.1549072265625, 0.21240234375, 0.1951904296875, 0.0843505859375, 0.18701171875, 0.2308349609375, 0.182861328125, 0.0867919921875, 0.028228759765625, 0.1256103515625, 0.1480712890625, 0.1248779296875, 0.1407470703125, 0.135986328125, 0.1541748046875, 0.114990234375, ...
embed
51409592_c0
51409592
fsharp
0
Title: F# Strange difference in behavior of two recursive function definitions Problem title: F# Strange difference in behavior of two recursive function definitions Tags: recursion, f%23 Problem: F# Strange difference in behavior of two recursive function definitions I am trying to define a power function to compute x...
F# Strange difference in behavior of two recursive function definitions F# Strange difference in behavior of two recursive function definitions recursion f%23 StackOverflowException Strange y-1 n-1 F# Strange difference in behavior of two recursive function definitions I am trying to define a power function to compute ...
[ 0.0035858154296875, -0.002471923828125, 0.01171875, 0.013916015625, 0.0126953125, -0.011474609375, -0.0218505859375, -0.00099945068359375, 0.017822265625, 0.0263671875, 0.004638671875, 0.01153564453125, -0.019775390625, 0.01025390625, 0.04248046875, 0.0037689208984375, 0.027099609375...
[ 563, 4904, 187791, 60212, 123166, 6626, 195625, 5844, 32354, 80934, 1830, 1238, 3949, 3742, 6512, 2594, 156673, 118664, 19279, 63928, 113, 5759, 653, 31577, 61924, 14537, 9969, 6743, 1022, 8353, 53, 11782, 23827, 97249, 284, 71928, 43240, 847...
[ 0.068115234375, 0.1419677734375, 0.212890625, 0.1800537109375, 0.1495361328125, 0.1239013671875, 0.195068359375, 0.104248046875, 0.171630859375, 0.1981201171875, 0.03631591796875, 0.0826416015625, 0.0013427734375, 0.1322021484375, 0.10107421875, 0.0867919921875, 0.148193359375, 0.2...
embed
7942630_c0
7942630
fsharp
0
Title: Splitting a list of items into two lists of odd and even indexed items Problem title: Splitting a list of items into two lists of odd and even indexed items Tags: ocaml, functional-programming, f%23, list, tail-recursion Problem: Splitting a list of items into two lists of odd and even indexed items I would like...
Splitting a list of items into two lists of odd and even indexed items Splitting a list of items into two lists of odd and even indexed items ocaml functional-programming f%23 list tail-recursion Splitting list1 list2 list1::head list2::head Splitting a list of items into two lists of odd and even indexed items I would...
[ -0.0225830078125, 0.0164794921875, 0.0036468505859375, -0.0021209716796875, -0.011474609375, 0.0260009765625, -0.0213623046875, 0.00084686279296875, 0.012451171875, 0.0087890625, 0.0194091796875, -0.002899169921875, -0.00653076171875, 0.0201416015625, 0.020751953125, 0.007598876953125,...
[ 46474, 1916, 5303, 55769, 3934, 6626, 111, 70270, 136, 3853, 63262, 297, 36, 9779, 141, 123309, 28966, 1238, 3949, 3742, 46741, 107, 48650, 1830, 418, 304, 82825, 31251, 87, 2806, 1884, 3249, 32354, 26946, 10, 30646, 5117, 70541, 11907, 3...
[ 0.242431640625, 0.109375, 0.2413330078125, 0.2149658203125, 0.1680908203125, 0.18994140625, 0.03985595703125, 0.246826171875, 0.10302734375, 0.1905517578125, 0.1767578125, 0.074462890625, 0.0885009765625, 0.1138916015625, 0.0970458984375, 0.1275634765625, 0.0992431640625, 0.0520935...
embed
6515795_c0
6515795
fsharp
0
Title: Why is my xml doc file always getting locked? Problem title: Why is my xml doc file always getting locked? Tags: f%23, visual-studio-2010 Problem: Why is my xml doc file always getting locked? When building an F# project through Visual Studio 2010 (either Build or Rebuild, or Clean -> Build) where I've checked "...
Why is my xml doc file always getting locked? Why is my xml doc file always getting locked? f%23 visual-studio-2010 Why FSC FS0193 Access xxx.XML visual-studio-2010 Why is my xml doc file always getting locked? When building an F# project through Visual Studio 2010 (either Build or Rebuild, or Clean -> Build) where I'v...
[ 0.0007476806640625, 0.0242919921875, 0.00848388671875, -0.06103515625, 0.01531982421875, 0.0004024505615234375, -0.01556396484375, -0.0034027099609375, -0.01483154296875, 0.0089111328125, 0.0255126953125, -0.00445556640625, -0.006591796875, 0.000579833984375, 0.01446533203125, 0.014953...
[ 44084, 759, 131492, 51584, 11435, 11343, 20949, 56776, 297, 1238, 3742, 21176, 52629, 73552, 208155, 93774, 11591, 40266, 20112, 1542, 39456, 83, 33976, 563, 4904, 13452, 73372, 22968, 1532, 121137, 707, 177149, 73133, 12765, 43101, 58735, 3191...
[ 0.0889892578125, 0.006561279296875, 0.2578125, 0.2093505859375, 0.1810302734375, 0.1307373046875, 0.04803466796875, 0.197021484375, 0.131591796875, 0.003387451171875, 0.06500244140625, 0.13232421875, 0.13623046875, 0.1407470703125, 0.1063232421875, 0.0726318359375, 0.125732421875, ...
embed
62133294_c0
62133294
fsharp
0
Title: Paket: what is the point of the framework restrictions? Problem title: Paket: what is the point of the framework restrictions? Tags: .net, f%23, paket, target-framework, c%23 Problem: Paket: what is the point of the framework restrictions? The paket.dependencies page of the Paket documentation describes the purp...
Paket: what is the point of the framework restrictions? Paket: what is the point of the framework restrictions? .net f%23 paket target-framework c%23 Paket paket.dependencies TargetFramework Paket: what is the point of the framework restrictions? The paket.dependencies page of the Paket documentation describes the purp...
[ 0.0045166015625, 0.007232666015625, 0.01446533203125, 0.01104736328125, -0.0017242431640625, 0.008056640625, 0.0019378662109375, -0.0101318359375, 0.015380859375, 0.046142578125, 0.00885009765625, -0.0498046875, -0.01220703125, 0.003814697265625, -0.006378173828125, -0.00885009765625, ...
[ 50867, 2367, 6275, 111, 170846, 185190, 7, 70, 1179, 3742, 13360, 30388, 160328, 18244, 105254, 160017, 108386, 282, 83, 117538, 209806, 98363, 60042, 44457, 28219, 58735, 7026, 91067, 4734, 98169, 2844, 74220, 28032, 77635, 134598, 29458, 7897...
[ 0.278564453125, 0.044158935546875, 0.1456298828125, 0.027008056640625, 0.249267578125, 0.251708984375, 0.07574462890625, 0.014251708984375, 0.146240234375, 0.0504150390625, 0.2362060546875, 0.176513671875, 0.1021728515625, 0.121826171875, 0.1181640625, 0.2164306640625, 0.132568359375...
embed
307113_c0
307113
fsharp
0
Title: Visual Studio Shell And F# (invalid license) Problem title: Visual Studio Shell And F# (invalid license) Tags: visual-studio-2008, visual-studio-shell, f%23 Problem: Visual Studio Shell And F# (invalid license) Does anyone have any experience with installing the Visual Studio Isolated Shell and using it with F# ...
Visual Studio Shell And F# (invalid license) Visual Studio Shell And F# (invalid license) visual-studio-2008 visual-studio-shell f%23 Visual Studio Shell visual-studio-2008 Visual Studio Shell And F# (invalid license) Does anyone have any experience with installing the Visual Studio Isolated Shell and using it with F# ...
[ -0.003662109375, 0.021484375, -0.005645751953125, 0.0010986328125, -0.00848388671875, 0.0011444091796875, -0.01904296875, -0.013427734375, -0.006317138671875, -0.007232666015625, 0.0074462890625, 0.01611328125, 0.0025482177734375, 0.02978515625, -0.00714111328125, -0.01416015625, 0.0...
[ 73372, 22968, 108362, 3493, 563, 4904, 73, 7013, 86872, 21176, 52629, 105011, 128019, 1238, 3949, 3742, 35672, 16981, 20600, 87, 8748, 27686, 17368, 442, 678, 65771, 1284, 3229, 18158, 8, 1353, 334, 46480, 9803, 44160, 163, 18499, 4153, 647...
[ 0.241943359375, 0.24365234375, 0.254638671875, 0.1446533203125, 0.1605224609375, 0.2288818359375, 0.046417236328125, 0.1832275390625, 0.1370849609375, 0.20458984375, 0.18310546875, 0.1927490234375, 0.161865234375, 0.077392578125, 0.00128173828125, 0.052032470703125, 0.013336181640625...
embed
40902526_c0
40902526
fsharp
0
Title: C# Deedle AggregateRowsBy/PivotTable Examples Problem title: C# Deedle AggregateRowsBy/PivotTable Examples Tags: data-manipulation, deedle, f%23, c%23 Problem: C# Deedle AggregateRowsBy/PivotTable Examples I am a newbie to C#/F#. There are very limited online resources demonstrating how to aggregate data by grou...
C# Deedle AggregateRowsBy/PivotTable Examples C# Deedle AggregateRowsBy/PivotTable Examples data-manipulation deedle f%23 c%23 Deedle AggregateRowsBy PivotTable Examples Frame.ReadCsv Titanic.csv How Column Freq titanic.AggregateRowsBy Sex Age titanic.PivotTable C# Deedle AggregateRowsBy/PivotTable Examples I am a newb...
[ 0.0296630859375, 0.0274658203125, 0.00836181640625, 0.0252685546875, -0.01611328125, -0.025146484375, 0.015625, 0.0076904296875, -0.00390625, 0.0015869140625, -0.0107421875, -0.01611328125, -0.00011110305786132812, 0.0142822265625, 0.00118255615234375, 0.011962890625, 0.0043334960937...
[ 313, 4904, 262, 297, 133, 12342, 68722, 2182, 12724, 19725, 75358, 64, 5777, 18, 618, 2886, 89536, 2053, 9051, 254, 72403, 8, 1238, 3742, 42557, 31345, 67756, 213833, 4439, 334, 11249, 233987, 21612, 864, 140147, 1771, 54431, 3621, 72944, ...
[ 0.07452392578125, 0.2113037109375, 0.1494140625, 0.2042236328125, 0.196044921875, 0.03704833984375, 0.1915283203125, 0.041351318359375, 0.0963134765625, 0.0789794921875, 0.19091796875, 0.0234375, 0.1558837890625, 0.02972412109375, 0.1004638671875, 0.1573486328125, 0.1873779296875, ...
embed
4367110_c0
4367110
fsharp
0
Title: How to create record with some local private functions in F# Problem title: How to create record with some local private functions in F# Tags: f%23 Problem: How to create record with some local private functions in F# type SQLConn = val mutable private connection : string option member this.Connection with get()...
How to create record with some local private functions in F# How to create record with some local private functions in F# f%23 How SQLConn this.Connection this.connection.Value Some Data Source Projects Service dbflow.db3 Version Password How to create record with some local private functions in F# I want to use "let x...
[ -0.00750732421875, 0.002960205078125, 0.0098876953125, 0.0194091796875, 0.002532958984375, 0.00738525390625, -0.01153564453125, -0.024658203125, 0.010986328125, -0.01202392578125, 0.01544189453125, -0.00579833984375, 0.02978515625, -0.00555419921875, -0.00555419921875, -0.0244140625, ...
[ 11249, 28282, 17164, 678, 3060, 4000, 14375, 32354, 563, 4904, 47, 23, 1238, 3742, 80866, 11935, 19, 903, 235603, 135457, 856, 50770, 77641, 27331, 12349, 40041, 118664, 48073, 363, 40647, 170461, 3444, 4527, 1974, 1022, 2203, 190, 131815, ...
[ 0.04656982421875, 0.199462890625, 0.2283935546875, 0.1212158203125, 0.03594970703125, 0.1492919921875, 0.1873779296875, 0.19189453125, 0.1400146484375, 0.221923828125, 0.004852294921875, 0.0181884765625, 0.07958984375, 0.1260986328125, 0.152587890625, 0.0982666015625, 0.0758056640625...
embed
27954170_c0
27954170
fsharp
0
Title: F#: Why can't I cons an object of type B to a list of type A when B is a subtype of A? Problem title: F#: Why can't I cons an object of type B to a list of type A when B is a subtype of A? Tags: f%23 Problem: F#: Why can't I cons an object of type B to a list of type A when B is a subtype of A? Accordi...
F#: Why can't I cons an object of type B to a list of type A when B is a subtype of A? F#: Why can't I cons an object of type B to a list of type A when B is a subtype of A? f%23 Why this.x this.y Valid Invalid F#: Why can't I cons an object of type B to a list of type A when B is a subtype of A? According to...
[ 0.0042724609375, 0.003265380859375, 0.0234375, 0.0031280517578125, 0.0096435546875, -0.003814697265625, -0.0230712890625, 0.01611328125, 0.01226806640625, 0.0029449462890625, 0.0216064453125, -0.0155029296875, 0.03955078125, 0.018798828125, 0.0005950927734375, -0.03662109375, 0.01599...
[ 563, 4904, 44084, 831, 3768, 18, 158, 7, 36746, 10644, 335, 47, 5303, 62, 3229, 1614, 50986, 903, 425, 53, 25447, 7013, 27781, 138410, 70541, 12921, 52895, 4989, 15044, 122, 5701, 1601, 12, 39933, 15190, 31635, 4527, 1984, 114689, 71 ]
[ 0.1015625, 0.1826171875, 0.087646484375, 0.0936279296875, 0.00445556640625, 0.05914306640625, 0.2144775390625, 0.1214599609375, 0.1573486328125, 0.13671875, 0.1107177734375, 0.06903076171875, 0.1673583984375, 0.08544921875, 0.038238525390625, 0.1746826171875, 0.211669921875, 0.1058...
embed
35089724_c1
35089724
fsharp
1
.cast<Control> |> Array.ofSeq |> form.Controls.AddRange let initializeForm() = let formWidth = 240 let formHeight = 400 let x = 10 let y = 10 let width = 200 let height = 200 let form = new Form(Width=formWidth, Height=formHeight, Visible=true, Text="Some form", TopMost=true) form.Paint.Add(fun e -> drawBoard form x y ...
.cast<Control> |> Array.ofSeq |> form.Controls.AddRange let initializeForm() = let formWidth = 240 let formHeight = 400 let x = 10 let y = 10 let width = 200 let height = 200 let form = new Form(Width=formWidth, Height=formHeight, Visible=true, Text="Some form", TopMost=true) form.Paint.Add(fun e -> drawBoard form x y ...
[ 0.0242919921875, 0.0284423828125, -0.0205078125, -0.007598876953125, 0.004058837890625, -0.00823974609375, 0.0211181640625, 0.0014495849609375, 0.0045166015625, -0.0194091796875, 0.0181884765625, -0.000423431396484375, 0.006805419921875, 0.0216064453125, -0.01153564453125, -0.007934570...
[ 5, 55741, 175904, 69253, 53, 4390, 4233, 864, 2740, 3173, 284, 4028, 1052, 51459, 2633, 61475, 20650, 102973, 2203, 1456, 532, 927, 30183, 13025, 22553, 4082, 1022, 209, 113, 6, 146984, 1781, 155955, 3525, 15236, 5037, 1529, 582, 55356, 9...
[ 0.0814208984375, 0.198974609375, 0.251953125, 0.12353515625, 0.1038818359375, 0.156982421875, 0.0885009765625, 0.2022705078125, 0.0115966796875, 0.27783203125, 0.034271240234375, 0.166748046875, 0.162841796875, 0.21923828125, 0.0867919921875, 0.1632080078125, 0.1107177734375, 0.262...
embed
59140899_c0
59140899
fsharp
0
Title: Enforcing one Async Observable at a time in F# Problem title: Enforcing one Async Observable at a time in F# Tags: f%23, async-await, system.reactive Problem: Enforcing one Async Observable at a time in F# Observable.generate (new Random()) (fun _ -> true) id (fun s -> s.Next(250, 500)) |> Observable.take 20 |> ...
Enforcing one Async Observable at a time in F# Enforcing one Async Observable at a time in F# f%23 async-await system.reactive Enforcing Async Observable idx:int delay:int System.Diagnostics.Trace.WriteLine System.Threading.Tasks.Task.Delay Async.AwaitTask Observable.generate Random s.Next Observable.take Observable.ma...
[ -0.0034637451171875, 0.0252685546875, 0.0150146484375, -0.02783203125, -0.0021209716796875, -0.0059814453125, 0.01556396484375, 0.0045166015625, -0.0002536773681640625, -0.044189453125, 0.0106201171875, -0.014404296875, 0.0035400390625, 0.007110595703125, 0.01068115234375, 0.0051574707...
[ 357, 2472, 1632, 62, 12654, 238, 87652, 2661, 1733, 563, 4904, 1238, 3742, 7978, 217, 5426, 107, 71232, 21896, 425, 4288, 8, 5259, 12353, 128198, 28542, 93232, 39116, 9874, 4657, 634, 48281, 39643, 91, 81280, 192, 1434, 89817, 4390, 22144...
[ 0.023895263671875, 0.161376953125, 0.1492919921875, 0.051910400390625, 0.2188720703125, 0.10357666015625, 0.2281494140625, 0.192138671875, 0.1475830078125, 0.13720703125, 0.22265625, 0.076171875, 0.1103515625, 0.145751953125, 0.1304931640625, 0.1102294921875, 0.028106689453125, 0.1...
embed
59223693_c1
59223693
fsharp
1
my particular domain problem I want to share the possible solutions that I encountered and ask If you think that any of them is better or more FSharpish. I'll list the solutions in the order that I found them. 1. WalternativE response Passing the function n times one per possible type; with or without the type annotat...
my particular domain problem I want to share the possible solutions that I encountered and ask If you think that any of them is better or more FSharpish. I'll list the solutions in the order that I found them. 1. WalternativE response Passing the function n times one per possible type; with or without the type annotat...
[ -0.0111083984375, 0.01171875, 0.031005859375, -0.015869140625, -0.0037689208984375, -0.01611328125, -0.0166015625, -0.00213623046875, 0.0213623046875, -0.0286865234375, -0.001983642578125, 0.00445556640625, 0.005157470703125, 0.005340576171875, -0.00191497802734375, 0.00020027160644531...
[ 759, 17311, 77758, 2967, 3444, 12008, 7722, 51347, 190647, 297, 26458, 5351, 2856, 83, 11522, 1286, 93774, 3467, 4994, 127, 5303, 12989, 14037, 615, 601, 119927, 647, 57553, 28872, 214, 32354, 653, 20028, 1632, 117, 10644, 15490, 8668, 2633...
[ 0.1353759765625, 0.2103271484375, 0.2291259765625, 0.22705078125, 0.0501708984375, 0.09033203125, 0.163818359375, 0.1953125, 0.1435546875, 0.028289794921875, 0.06121826171875, 0.05474853515625, 0.02850341796875, 0.014678955078125, 0.1600341796875, 0.0721435546875, 0.0706787109375, ...
embed
8777975_c1
8777975
fsharp
1
<'TResult>(begin: Func<AsyncCallback,obj,IAsyncResult>, end: Func<IAsyncResult,'TResult>) : Func<IObservable<'TResult>>'. Error 3 Possible overload: 'Observable.FromAsyncPattern<'T1,'TResult>(begin: Func<'T1,AsyncCallback,obj,IAsyncResult>, end: Func<IAsyncResult,'TResult>) : Func<'T1,IObservable<'TResult>>'. It seems ...
<'TResult>(begin: Func<AsyncCallback,obj,IAsyncResult>, end: Func<IAsyncResult,'TResult>) : Func<IObservable<'TResult>>'. Error 3 Possible overload: 'Observable.FromAsyncPattern<'T1,'TResult>(begin: Func<'T1,AsyncCallback,obj,IAsyncResult>, end: Func<IAsyncResult,'TResult>) : Func<'T1,IObservable<'TResult>>'. It seems ...
[ -0.0191650390625, 0.0264892578125, -0.006317138671875, -0.01251220703125, 0.003814697265625, -0.003387451171875, -0.0020294189453125, 0.0003833770751953125, 0.00518798828125, -0.040283203125, 0.0220947265625, -0.01483154296875, 0.037353515625, -0.0040283203125, 0.003662109375, -0.01275...
[ 28981, 90, 7136, 6820, 28670, 12654, 5584, 12620, 3522, 170, 17481, 7, 3564, 17780, 275, 65756, 2661, 212059, 138, 115861, 645, 63033, 46471, 168407, 8335, 618, 418, 9969, 34759, 563, 4904, 959, 125296, 18775, 56, 12447, 7639, 18151, 14000,...
[ 0.1146240234375, 0.100830078125, 0.2030029296875, 0.0621337890625, 0.116455078125, 0.1551513671875, 0.053436279296875, 0.16943359375, 0.077392578125, 0.10888671875, 0.0557861328125, 0.04547119140625, 0.0859375, 0.07440185546875, 0.036407470703125, 0.1866455078125, 0.1842041015625, ...
embed
11398528_c0
11398528
fsharp
0
Title: Are there any tools that assist in porting F# to OCaml? Problem title: Are there any tools that assist in porting F# to OCaml? Tags: llvm, porting, real-time, ocaml, f%23 Problem: Are there any tools that assist in porting F# to OCaml? Unfortunately, due to .NET's lack of an incremental GC (either in the MS or M...
Are there any tools that assist in porting F# to OCaml? Are there any tools that assist in porting F# to OCaml? llvm porting real-time ocaml f%23 OCaml Are there any tools that assist in porting F# to OCaml? Unfortunately, due to .NET's lack of an incremental GC (either in the MS or Mono implementation), building soft ...
[ -0.000423431396484375, 0.0057373046875, 0.0017852783203125, -0.0093994140625, 0.00732421875, -0.0026092529296875, -0.01263427734375, -0.0118408203125, 0.000659942626953125, -0.0113525390625, 0.006103515625, 0.006805419921875, -0.004150390625, -0.007415771484375, 0.021484375, -0.0153808...
[ 2685, 2499, 72977, 450, 30793, 196, 1916, 563, 4904, 47, 180, 105272, 141, 23, 96, 3723, 39, 2773, 6032, 36, 9779, 1238, 3949, 3742, 15901, 185397, 5, 17777, 92635, 145322, 69657, 16265, 77879, 208124, 33976, 32977, 10975, 27528, 678, 186...
[ 0.0288543701171875, 0.07470703125, 0.259033203125, 0.05413818359375, 0.1903076171875, 0.151123046875, 0.1180419921875, 0.1639404296875, 0.2432861328125, 0.1627197265625, 0.1337890625, 0.2054443359375, 0.1796875, 0.026519775390625, 0.00811767578125, 0.0869140625, 0.10516357421875, 0...
embed
11862162_c0
11862162
fsharp
0
Title: How to specify union clause with generic unit of measure in F#? Problem title: How to specify union clause with generic unit of measure in F#? Tags: generics, f%23, discriminated-union Problem: How to specify union clause with generic unit of measure in F#? Is there anyway to define a DU whose clauses uses gener...
How to specify union clause with generic unit of measure in F#? How to specify union clause with generic unit of measure in F#? generics f%23 discriminated-union How MyDU MyDU.A MyDU.B How to specify union clause with generic unit of measure in F#? Is there anyway to define a DU whose clauses uses generic unit of measu...
[ -0.01422119140625, 0.0286865234375, 0.006744384765625, -0.0167236328125, -0.02099609375, -0.017333984375, -0.01031494140625, -0.0086669921875, 0.030517578125, 0.00408935546875, -0.014892578125, -0.0133056640625, 0.0181884765625, -0.0108642578125, -0.00537109375, 0.0185546875, 0.01544...
[ 11249, 47, 40140, 18929, 69941, 70731, 13, 678, 189534, 25072, 111, 72350, 563, 4904, 23, 1238, 3742, 55970, 87046, 2646, 18431, 284, 571, 109954, 61924, 14614, 4527, 18151, 18, 9969, 831, 20324, 32354, 51776, 54744, 34292, 12638, 96760, 10...
[ 0.08782958984375, 0.021148681640625, 0.2235107421875, 0.10589599609375, 0.256591796875, 0.232421875, 0.1239013671875, 0.126708984375, 0.24658203125, 0.1795654296875, 0.060791015625, 0.197509765625, 0.1416015625, 0.226318359375, 0.0460205078125, 0.0662841796875, 0.06683349609375, 0....
embed
29789850_c0
29789850
fsharp
0
Title: FSharp Data - issues with FSharp Core on prod server Problem title: FSharp Data - issues with FSharp Core on prod server Tags: f%23, f%23-data Problem: FSharp Data - issues with FSharp Core on prod server I am using the latest FSharp.Data package in a mixed F#/C# project and I have an issue on my prod server wit...
FSharp Data - issues with FSharp Core on prod server FSharp Data - issues with FSharp Core on prod server f%23 f%23-data FSharp Data Core FSharp Data - issues with FSharp Core on prod server I am using the latest FSharp.Data package in a mixed F#/C# project and I have an issue on my prod server with FSharp Core when mo...
[ -0.003936767578125, 0.024169921875, 0.0103759765625, 0.00616455078125, -0.01141357421875, -0.00323486328125, -0.006988525390625, 0.0145263671875, -0.0189208984375, -0.0218505859375, 0.00860595703125, 0.0087890625, 0.00433349609375, 0.0021209716796875, 0.032470703125, 0.01239013671875, ...
[ 93774, 3467, 254, 11809, 37348, 678, 31365, 98, 502, 71, 10723, 1238, 3742, 10135, 17368, 42850, 137989, 98169, 17664, 563, 4904, 64, 13452, 765, 31089, 3229, 98567, 2394, 14364, 645, 20600, 51521, 17777, 1398, 156627, 136, 73372, 119296, 1...
[ 0.12353515625, 0.2227783203125, 0.221435546875, 0.21435546875, 0.1605224609375, 0.080322265625, 0.26611328125, 0.0472412109375, 0.1619873046875, 0.1241455078125, 0.181640625, 0.047271728515625, 0.041595458984375, 0.0858154296875, 0.0596923828125, 0.053802490234375, 0.1988525390625, ...
embed
17152187_c0
17152187
fsharp
0
Title: Unable to call F# Extension in VB.Net Problem title: Unable to call F# Extension in VB.Net Tags: c%23, extension-methods, vb.net, f%23 Problem: Unable to call F# Extension in VB.Net Solved: IntelliSense just doesn't show the Extension! Lets say we got the following extension method in F#: [<Extension>] module Ex...
Unable to call F# Extension in VB.Net Unable to call F# Extension in VB.Net c%23 extension-methods vb.net f%23 Unable Extension VB.Net Increment System.Int32 x.Increment Result Int32 Works Unable to call F# Extension in VB.Net Solved: IntelliSense just doesn't show the Extension! Lets say we got the following extension...
[ -0.0029754638671875, 0.026123046875, 0.0301513671875, 0.01275634765625, 0.0111083984375, 0.005157470703125, -0.006378173828125, -0.00299072265625, -0.00634765625, -0.0240478515625, -0.00445556640625, -0.01275634765625, -0.009765625, 0.01904296875, 0.0069580078125, -0.0206298828125, 0...
[ 992, 2886, 11782, 563, 4904, 224545, 23, 75034, 24447, 3742, 111938, 1928, 7352, 86482, 1179, 1238, 8942, 107, 12353, 6460, 1022, 4153, 7612, 126684, 18, 27985, 6678, 4126, 24018, 150, 294, 21161, 1660, 22027, 7639, 25632, 55300, 360, 313, ...
[ 0.0782470703125, 0.1658935546875, 0.209716796875, 0.1717529296875, 0.261474609375, 0.2493896484375, 0.0582275390625, 0.2364501953125, 0.1793212890625, 0.12744140625, 0.21826171875, 0.05816650390625, 0.10498046875, 0.18212890625, 0.1258544921875, 0.0743408203125, 0.06500244140625, 0...
embed
24657889_c0
24657889
fsharp
0
Title: Syntax for generic types parameterized by generic records Problem title: Syntax for generic types parameterized by generic records Tags: f%23, generics, types Problem: Syntax for generic types parameterized by generic records Suppose I have defined the generic record type GenericType1<'T> = {MyField : 'T} and I ...
Syntax for generic types parameterized by generic records Syntax for generic types parameterized by generic records f%23 generics types Syntax GenericType1 MyField GenericType2 Syntax for generic types parameterized by generic records Suppose I have defined the generic record and I want to define another generic type p...
[ -0.0242919921875, 0.0048828125, -0.00506591796875, -0.0081787109375, -0.0001544952392578125, -0.0045166015625, -0.02001953125, 0.0032806396484375, 0.0023345947265625, -0.01092529296875, 0.0027923583984375, -0.00787353515625, -0.00421142578125, -0.0142822265625, 0.00994873046875, -0.009...
[ 19010, 86531, 189534, 52895, 171859, 29367, 390, 115923, 100, 1238, 3742, 88342, 1771, 196707, 418, 2646, 6159, 19388, 304, 61924, 17164, 15700, 10644, 39850, 4904, 33022, 185397, 959, 4488, 28704, 9969, 34759, 23742, 26946, 1614, 50986, 2816, ...
[ 0.1451416015625, 0.191162109375, 0.2288818359375, 0.22314453125, 0.180419921875, 0.0400390625, 0.0496826171875, 0.21533203125, 0.0257720947265625, 0.0032958984375, 0.09661865234375, 0.1602783203125, 0.07391357421875, 0.260009765625, 0.08203125, 0.09814453125, 0.08819580078125, 0.15...
embed
56193625_c0
56193625
fsharp
0
Title: Pattern matching with type annotations Problem title: Pattern matching with type annotations Tags: f%23, pattern-matching Problem: Pattern matching with type annotations At https://learn.microsoft.com/en-us/dotnet/fsharp/language-reference/pattern-matching#tuple-pattern , there is this example of a pattern with ...
Pattern matching with type annotations Pattern matching with type annotations f%23 pattern-matching Pattern detect1 Found var1 Pattern matching with type annotations At https://learn.microsoft.com/en-us/dotnet/fsharp/language-reference/pattern-matching#tuple-pattern , there is this example of a pattern with a type anno...
[ 0.00188446044921875, 0.01287841796875, 0.0006561279296875, 0.005401611328125, -0.00213623046875, -0.01123046875, -0.03076171875, 0.0223388671875, 0.00518798828125, -0.0004329681396484375, 0.0218505859375, -0.0205078125, -0.0059814453125, 0.01068115234375, 0.0233154296875, 0.00463867187...
[ 9876, 22766, 14858, 214, 678, 10644, 8668, 22062, 3742, 103510, 98753, 96391, 418, 215624, 285, 138410, 1179, 89280, 254, 196651, 4453, 8705, 903, 27781, 1961, 152, 23, 18, 83, 4842, 35405, 15659, 289, 106, 96362, 137633, 220, 6332, 7225, ...
[ 0.1304931640625, 0.082275390625, 0.177001953125, 0.0265655517578125, 0.090576171875, 0.1722412109375, 0.142333984375, 0.10009765625, 0.050384521484375, 0.19970703125, 0.1641845703125, 0.154541015625, 0.044036865234375, 0.021697998046875, 0.0997314453125, 0.049407958984375, 0.01043701...
embed
64289555_c1
64289555
fsharp
1
(* 2.7 2.7.1 Declare the F# function test: int * int * int -> bool. The value of test(a, b, c), for a ≤ b, is the truth value of: notDivisible(a, c) and notDivisible(a + 1, c) and . . . notDivisible(b, c) 2.7.2 Declare an F# function prime: int -> bool, where prime(n) = true, if and only if n is a prime number. 2.7.3 ...
(* 2.7 2.7.1 Declare the F# function test: int * int * int -> bool. The value of test(a, b, c), for a ≤ b, is the truth value of: notDivisible(a, c) and notDivisible(a + 1, c) and . . . notDivisible(b, c) 2.7.2 Declare an F# function prime: int -> bool, where prime(n) = true, if and only if n is a prime number. 2.7.3 ...
[ -0.0228271484375, 0.01953125, 0.0166015625, 0.032958984375, 0.0126953125, 0.004150390625, 0.006561279296875, -0.029541015625, 0.00005602836608886719, 0.044189453125, -0.00836181640625, 0.028076171875, -0.01318359375, 0.00174713134765625, 0.01397705078125, -0.01318359375, 0.0101318359...
[ 75402, 787, 966, 165830, 25755, 38103, 563, 4904, 32354, 3034, 23, 18, 33079, 142484, 34292, 11, 876, 501, 100, 237637, 83, 85027, 959, 14055, 99017, 136, 997, 106, 275, 179642, 20809, 19, 29568, 653, 14012, 145515, 11737, 145111, 13, 70,...
[ 0.0806884765625, 0.014434814453125, 0.0726318359375, 0.12744140625, 0.1456298828125, 0.1767578125, 0.149658203125, 0.256591796875, 0.186767578125, 0.232421875, 0.06640625, 0.1072998046875, 0.042572021484375, 0.1549072265625, 0.158203125, 0.0156097412109375, 0.07366943359375, 0.0786...
embed
12657569_c0
12657569
fsharp
0
Title: Folding a list in F# Problem title: Folding a list in F# Tags: f%23 Problem: Folding a list in F# I have a pretty trivial task but I can't figure out how to make the solution prettier. The goal is taking a List and returning results, based on whether they passed a predicate. The results should be grouped. Here's...
Folding a list in F# Folding a list in F# f%23 Folding List Inp Out List.foldBack el::xs xs::ys List.Cons List.filter List.isEmpty Folding a list in F# I have a pretty trivial task but I can't figure out how to make the solution prettier. The goal is taking a List and returning results, based on whether they passed a p...
[ -0.0118408203125, 0.003753662109375, 0.0098876953125, -0.0098876953125, -0.006622314453125, 0.0250244140625, -0.00115966796875, 0.0028839111328125, 0.005859375, -0.001129150390625, 0.01422119140625, 0.00156402587890625, -0.0089111328125, 0.00787353515625, -0.01275634765625, 0.003585815...
[ 30077, 6238, 5303, 23, 563, 4904, 10, 1238, 3949, 3742, 32036, 360, 254, 13538, 42822, 152470, 88, 425, 7, 4778, 11935, 120337, 164, 134332, 939, 28875, 686, 66211, 1810, 70, 29806, 4589, 31182, 69236, 35971, 30646, 214, 50339, 35509, 367...
[ 0.1944580078125, 0.0830078125, 0.2342529296875, 0.032257080078125, 0.1480712890625, 0.236572265625, 0.000885009765625, 0.0885009765625, 0.0189971923828125, 0.15283203125, 0.21435546875, 0.1318359375, 0.1368408203125, 0.16796875, 0.137451171875, 0.140625, 0.057647705078125, 0.009460...
embed
5116712_c0
5116712
fsharp
0
Title: Task.WaitAll on a list in F# Problem title: Task.WaitAll on a list in F# Tags: list, parallel-extensions, f%23, functional-programming Problem: Task.WaitAll on a list in F# I am doing parallel programming using F#. With fixed number of elements, for example with 2 elements a1, a2 and a function f, I can do as fo...
Task.WaitAll on a list in F# Task.WaitAll on a list in F# list parallel-extensions f%23 functional-programming Task.WaitAll Task.Factory.StartNew t1.Result t2.Result List.map Task t.Result Task.WaitAll on a list in F# I am doing parallel programming using F#. With fixed number of elements, for example with 2 elements a...
[ -0.006439208984375, -0.000385284423828125, -0.0023345947265625, -0.010986328125, 0.0042724609375, -0.022216796875, -0.012939453125, -0.01416015625, -0.0012359619140625, -0.02880859375, 0.025390625, 0.0177001953125, 0.0004730224609375, 0.0234375, -0.0024871826171875, -0.00848388671875, ...
[ 9598, 92, 22489, 217, 43512, 98, 5303, 563, 4904, 95103, 3355, 128872, 1238, 3742, 123309, 28966, 135518, 31667, 126597, 46568, 808, 7, 7136, 5442, 32036, 62346, 56037, 188347, 14012, 80854, 116, 304, 32354, 54, 5701, 678, 73372, 22968, 131...
[ 0.2088623046875, 0.13623046875, 0.1922607421875, 0.1497802734375, 0.229736328125, 0.033050537109375, 0.1995849609375, 0.13427734375, 0.1905517578125, 0.1571044921875, 0.01116943359375, 0.113525390625, 0.1158447265625, 0.074462890625, 0.09918212890625, 0.06011962890625, 0.068359375, ...
embed
4440109_c1
4440109
fsharp
1
.increaseBalance amount scope.Complete() context(source,destination) } sourcePlayer.transfer(amount) which is a try at porting "the" textbook example of DCI in F#. The source and destination are DCI roles. It's the idea that any data object that adhere's to a specific contract can play those. In this case the contract ...
.increaseBalance amount scope.Complete() context(source,destination) } sourcePlayer.transfer(amount) which is a try at porting "the" textbook example of DCI in F#. The source and destination are DCI roles. It's the idea that any data object that adhere's to a specific contract can play those. In this case the contract ...
[ 0.0208740234375, 0.006805419921875, -0.002593994140625, 0.0120849609375, 0.0034332275390625, -0.005615234375, -0.016357421875, 0.007720947265625, 0.00115966796875, 0.003021240234375, 0.01202392578125, 0.0186767578125, -0.02294921875, 0.01416015625, 0.0361328125, 0.0205078125, -0.0089...
[ 5, 73, 7612, 6991, 63641, 7154, 41170, 70820, 10770, 131801, 43701, 60427, 112, 12729, 2320, 31344, 142581, 141325, 121147, 9790, 196, 7986, 14137, 27781, 391, 17304, 563, 4904, 136, 78869, 621, 31486, 6528, 2499, 2053, 36746, 606, 35593, 2...
[ 0.06561279296875, 0.1226806640625, 0.1917724609375, 0.1300048828125, 0.25830078125, 0.1978759765625, 0.169921875, 0.197021484375, 0.04437255859375, 0.15625, 0.161865234375, 0.19482421875, 0.058349609375, 0.13427734375, 0.056976318359375, 0.2176513671875, 0.18115234375, 0.1710205078...
embed
48157872_c1
48157872
fsharp
1
found. Confirm that the path in the declaration is correct, and that the file exists on disk. [D:\home\site\repository\MyFunc\MyFunc.fsproj] Done Building Project "D:\home\site\repository\MyFunc\MyFunc.fsproj" (default targets) -- FAILED. This is the fsproj: <Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <TargetFra...
found. Confirm that the path in the declaration is correct, and that the file exists on disk. [D:\home\site\repository\MyFunc\MyFunc.fsproj] Done Building Project "D:\home\site\repository\MyFunc\MyFunc.fsproj" (default targets) -- FAILED. This is the fsproj: <Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <TargetFra...
[ -0.021484375, 0.0123291015625, -0.0033721923828125, 0.0069580078125, -0.008544921875, 0.006591796875, 0.0018310546875, -0.017578125, -0.0081787109375, 0.017822265625, 0.00113677978515625, 0.006744384765625, -0.00099945068359375, 0.0194091796875, 0.0284423828125, 0.007415771484375, 0....
[ 14037, 1657, 38949, 60875, 21635, 1363, 83, 26785, 11435, 32316, 7, 28338, 29552, 11090, 59111, 31852, 97249, 238, 17447, 3454, 170, 984, 86, 104919, 27331, 214810, 30388, 563, 11388, 38409, 1238, 47606, 897, 223353, 159, 5740, 113387, 17777,...
[ 0.25244140625, 0.06402587890625, 0.142578125, 0.19970703125, 0.22509765625, 0.035308837890625, 0.005706787109375, 0.1163330078125, 0.2340087890625, 0.15380859375, 0.0352783203125, 0.109130859375, 0.0728759765625, 0.057769775390625, 0.0838623046875, 0.0916748046875, 0.1522216796875, ...
embed
49457428_c0
49457428
fsharp
0
Title: Parentheses around parameters in explicit F# constructor definition Problem title: Parentheses around parameters in explicit F# constructor definition Tags: f%23, constructor Problem: Parentheses around parameters in explicit F# constructor definition When presented with the below four classes, my editor, VS2013...
Parentheses around parameters in explicit F# constructor definition Parentheses around parameters in explicit F# constructor definition f%23 constructor Parentheses ClassOne ClassTwo ClassThree ClassFour Parentheses around parameters in explicit F# constructor definition When presented with the below four classes, my e...
[ 0.000858306884765625, 0.00335693359375, -0.024658203125, 0.006805419921875, 0.01251220703125, 0.003997802734375, -0.004058837890625, 0.01385498046875, 0.004150390625, 0.011962890625, 0.015869140625, -0.0146484375, 0.00628662109375, 0.00439453125, 0.00396728515625, -0.01806640625, 0.0...
[ 170918, 35412, 90, 10932, 171859, 143726, 563, 4904, 64549, 748, 80934, 1238, 3949, 3742, 35014, 62068, 3613, 107, 27591, 474, 7, 70, 35064, 22759, 61112, 4, 30391, 44160, 7735, 26946, 17262, 55681, 927, 4527, 2725, 9319, 49129, 15322, 685,...
[ 0.18115234375, 0.198486328125, 0.032135009765625, 0.1085205078125, 0.2227783203125, 0.165771484375, 0.09820556640625, 0.2064208984375, 0.1815185546875, 0.1170654296875, 0.115234375, 0.0850830078125, 0.0335693359375, 0.1517333984375, 0.1739501953125, 0.110107421875, 0.0872802734375, ...
embed
35762194_c0
35762194
fsharp
0
Title: My F# Chart Library doesn&#x27;t work in a project Problem title: My F# Chart Library doesn&#x27;t work in a project Tags: charts, dotnetcharting, f%23, fsharpchart Problem: My F# Chart Library doesn't work in a project open FSharp.Charting open System [<EntryPoint>] let main argv = printfn "%A" argv let x = Cha...
My F# Chart Library doesn&#x27;t work in a project My F# Chart Library doesn&#x27;t work in a project charts dotnetcharting f%23 fsharpchart Chart Library FSharp.Charting System EntryPoint Chart.Line Console.ReadKey My F# Chart Library doesn't work in a project Hello, I'm trying to play with the F# in PROJECT mode NOT ...
[ -0.0130615234375, 0.0079345703125, 0.0157470703125, 0.000308990478515625, -0.00665283203125, -0.0057373046875, 0.01043701171875, -0.0247802734375, -0.01226806640625, 0.003265380859375, -0.003265380859375, -0.012939453125, -0.01226806640625, 0.005035400390625, 0.0167236328125, -0.008972...
[ 2646, 563, 4904, 110373, 103835, 22027, 3768, 18, 4488, 23, 10, 13452, 116287, 20633, 1179, 9254, 1238, 3742, 89280, 3467, 254, 84068, 12353, 15123, 147534, 93232, 40777, 31345, 162429, 31577, 11301, 167795, 43379, 13736, 86725, 26499, 18151, ...
[ 0.059967041015625, 0.128662109375, 0.23046875, 0.2457275390625, 0.2412109375, 0.052886962890625, 0.03936767578125, 0.0872802734375, 0.126953125, 0.071044921875, 0.028900146484375, 0.16943359375, 0.2022705078125, 0.0155487060546875, 0.05218505859375, 0.1429443359375, 0.029678344726562...
embed
33323041_c0
33323041
fsharp
0
Title: F#: multiplication of polynomials Problem title: F#: multiplication of polynomials Tags: f%23, math Problem: F#: multiplication of polynomials I found this exercise in "Functional Programming Using F#" (4.22.3): Declare infix F# operators for addition and multiplication of polynomials in the chosen representatio...
F#: multiplication of polynomials F#: multiplication of polynomials f%23 math F#: multiplication of polynomials I found this exercise in "Functional Programming Using F#" (4.22.3): f(x) = a0 + a1 * x + a2 * x^2 + ... + an * x^n The polynomial is reprsented as a list of integer. For example the polynomial f(x) = x^3 + 2...
[ -0.02685546875, 0.012451171875, 0.0322265625, 0.0184326171875, -0.0166015625, 0.017822265625, 0.01446533203125, -0.0194091796875, 0.00592041015625, -0.040771484375, 0.031494140625, 0.0159912109375, 0.005279541015625, -0.0014801025390625, -0.0181884765625, -0.0159912109375, 0.01708984...
[ 563, 4904, 127664, 35874, 1687, 15403, 1238, 3949, 3742, 48909, 14037, 903, 81979, 97249, 10763, 27958, 117904, 120883, 132, 425, 2203, 10, 2389, 997, 418, 304, 8353, 153, 661, 10958, 42, 12832, 237, 5303, 892, 1505, 1022, 363, 116, 33636...
[ 0.10595703125, 0.165771484375, 0.1754150390625, 0.1905517578125, 0.1729736328125, 0.1573486328125, 0.147705078125, 0.043365478515625, 0.1119384765625, 0.06353759765625, 0.021575927734375, 0.016204833984375, 0.1683349609375, 0.03466796875, 0.0218048095703125, 0.0748291015625, 0.007324...
embed
33347299_c0
33347299
fsharp
0
Title: Can I (safely) write to an Array in a Parallel.For loop construct? Problem title: Can I (safely) write to an Array in a Parallel.For loop construct? Tags: multithreading, parallel-processing, f%23, .net Problem: Can I (safely) write to an Array in a Parallel.For loop construct? Will the below code snippet write ...
Can I (safely) write to an Array in a Parallel.For loop construct? Can I (safely) write to an Array in a Parallel.For loop construct? multithreading parallel-processing f%23 .net Can Array Parallel.For results:NewType Array.zeroCreate temp.Length Unchecked.defaultof OldType System.Threading.Tasks.Parallel.For NewType d...
[ 0.0010528564453125, 0.018798828125, -0.0205078125, -0.002044677734375, -0.00897216796875, -0.0191650390625, 0.00750732421875, 0.0064697265625, 0.0186767578125, 0.0272216796875, 0.00101470947265625, 0.0223388671875, 0.01806640625, 0.013916015625, -0.0015716552734375, -0.0264892578125, ...
[ 4171, 87, 115840, 33022, 47, 69253, 53, 23, 211485, 18537, 40956, 64549, 538, 142, 10, 5, 3869, 65847, 11, 95103, 63923, 1238, 3949, 3742, 1179, 50339, 46568, 196707, 80510, 63784, 20805, 449, 992, 78292, 214810, 25074, 12353, 39116, 9874, ...
[ 0.109375, 0.06243896484375, 0.1378173828125, 0.20361328125, 0.157958984375, 0.1649169921875, 0.155029296875, 0.073486328125, 0.27392578125, 0.15576171875, 0.17626953125, 0.1661376953125, 0.040985107421875, 0.012054443359375, 0.000457763671875, 0.02679443359375, 0.06005859375, 0.105...
embed
62958460_c0
62958460
fsharp
0
Title: Clean way to extract results, or aggregate errors using Result, in f# Problem title: Clean way to extract results, or aggregate errors using Result, in f# Tags: f%23 Problem: Clean way to extract results, or aggregate errors using Result, in f# I have a system where I collect data from a grid. It is organized in...
Clean way to extract results, or aggregate errors using Result, in f# Clean way to extract results, or aggregate errors using Result, in f# f%23 Result Clean List.exists Error List.map List.collect Clean way to extract results, or aggregate errors using Result, in f# I have a system where I collect data from a grid. It...
[ 0.003204345703125, 0.0205078125, 0.006317138671875, 0.00421142578125, 0.01324462890625, -0.020263671875, 0.01177978515625, -0.00927734375, 0.0186767578125, 0.015380859375, 0.009033203125, -0.00872802734375, 0.001068115234375, 0.00811767578125, -0.0185546875, 0.0042724609375, 0.000835...
[ 73133, 3917, 47, 125663, 50339, 197564, 13, 18499, 7, 17368, 126684, 1238, 4904, 3742, 32036, 54376, 212059, 62346, 196352, 23, 5426, 43799, 2053, 1295, 120067, 5808, 15555, 98423, 9433, 30646, 10135, 79315, 5303, 36746, 7225, 83, 190647, 366...
[ 0.225830078125, 0.1053466796875, 0.0765380859375, 0.2320556640625, 0.2498779296875, 0.22705078125, 0.08636474609375, 0.259033203125, 0.045379638671875, 0.0745849609375, 0.29296875, 0.1253662109375, 0.19921875, 0.1409912109375, 0.1988525390625, 0.1358642578125, 0.1737060546875, 0.06...
embed
67392917_c0
67392917
fsharp
0
Title: Access values of implemented interface members in function Problem title: Access values of implemented interface members in function Tags: f%23 Problem: Access values of implemented interface members in function I have this interface: interface IHaveHeaders { Dictionary<string, object>? Headers { get; set; } voi...
Access values of implemented interface members in function Access values of implemented interface members in function f%23 Access IHaveHeaders Dictionary Headers SetHeader GetHeader HeadersImpl this.SetHeader this.GetHeader Access values of implemented interface members in function I have this interface: I'm trying to ...
[ 0.007598876953125, -0.0308837890625, 0.00173187255859375, 0.0064697265625, -0.00677490234375, -0.01214599609375, -0.01123046875, 0.007110595703125, 0.00164031982421875, 0.009033203125, 0.01708984375, 0.03857421875, -0.01446533203125, 0.00006341934204101562, 0.0264892578125, -0.00643920...
[ 40266, 142424, 29479, 297, 101758, 43032, 32354, 111, 1238, 3949, 3742, 87, 6495, 272, 13025, 11, 14202, 147638, 44816, 1314, 19943, 38970, 20779, 128878, 141, 903, 294, 126, 724, 23, 765, 31577, 563, 4904, 17203, 136, 3714, 3642, 47, 327...
[ 0.212158203125, 0.17919921875, 0.1927490234375, 0.0181427001953125, 0.22509765625, 0.19921875, 0.20361328125, 0.029571533203125, 0.1220703125, 0.104248046875, 0.1768798828125, 0.0972900390625, 0.1480712890625, 0.15087890625, 0.1497802734375, 0.13427734375, 0.141357421875, 0.1761474...
embed
38071645_c0
38071645
fsharp
0
Title: Error on Extension Methods when Inlining Problem title: Error on Extension Methods when Inlining Tags: f%23 Problem: Error on Extension Methods when Inlining I want to extend some system types and later use them via inlining type System.String with member this.foo n = this + "!" + n type System.Boolean with memb...
Error on Extension Methods when Inlining Error on Extension Methods when Inlining f%23 Error Extension Methods Inlining System.String this.foo System.Boolean true.foo Error on Extension Methods when Inlining I want to extend some system types and later use them via inlining Now I call these extension methods which give...
[ 0.003875732421875, 0.01177978515625, 0.005767822265625, 0.0137939453125, 0.0027008056640625, -0.0185546875, -0.0120849609375, -0.0128173828125, -0.0015106201171875, -0.03271484375, 0.0076904296875, -0.0001125335693359375, 0.0205078125, 0.005584716796875, -0.009033203125, -0.00982666015...
[ 212059, 98, 224545, 74644, 3229, 360, 150, 592, 7, 1238, 3949, 3742, 12353, 71713, 903, 3584, 31, 12647, 34677, 29568, 3444, 65042, 5426, 52895, 14432, 4527, 1829, 23, 11782, 111938, 150624, 3164, 5885, 1459, 5036, 137565, 5, 3934, 2256, ...
[ 0.17919921875, 0.1219482421875, 0.282470703125, 0.22216796875, 0.083251953125, 0.1488037109375, 0.1993408203125, 0.149169921875, 0.03265380859375, 0.061431884765625, 0.006195068359375, 0.13232421875, 0.123291015625, 0.06817626953125, 0.151123046875, 0.161376953125, 0.150390625, 0.0...
embed
11812250_c0
11812250
fsharp
0
Title: Overriding an inherited member in F# Problem title: Overriding an inherited member in F# Tags: f%23 Problem: Overriding an inherited member in F# The code below produces "t1 t1 t2". I wondered if someone could please tell me how to change it so as to get "t1 t2 t2". It is an error to use "override" instead of "m...
Overriding an inherited member in F# Overriding an inherited member in F# f%23 Overriding x.doit override_test t2i t1.doit t2i.doit t2.doit Overriding an inherited member in F# The code below produces "t1 t1 t2". I wondered if someone could please tell me how to change it so as to get "t1 t2 t2". It is an error to use ...
[ 0.009765625, -0.0120849609375, 0.0091552734375, 0.01611328125, 0.0159912109375, -0.01806640625, 0.006591796875, 0.020751953125, -0.0028533935546875, -0.00164031982421875, -0.0096435546875, 0.01312255859375, 0.01348876953125, 0.003387451171875, 0.0093994140625, -0.00750732421875, 0.01...
[ 9578, 416, 6238, 23, 86151, 3674, 32786, 563, 4904, 1238, 3742, 1022, 246, 217, 645, 112, 6954, 808, 304, 14, 418, 5442, 18151, 35064, 27489, 18, 15549, 442, 2046, 18499, 4527, 5465, 64457, 39, 27417, 28219, 15400, 17723, 27389, 59370, ...
[ 0.1165771484375, 0.196044921875, 0.0216217041015625, 0.083984375, 0.201416015625, 0.0919189453125, 0.23876953125, 0.1075439453125, 0.2152099609375, 0.06353759765625, 0.0977783203125, 0.0538330078125, 0.045318603515625, 0.104736328125, 0.098876953125, 0.1600341796875, 0.1990966796875,...
embed
71243348_c0
71243348
fsharp
0
Title: How to check if list contains discriminated union case with type? Problem title: How to check if list contains discriminated union case with type? Tags: f%23, discriminated-union Problem: How to check if list contains discriminated union case with type? Given the follwing code: type Creature = { Strength: int To...
How to check if list contains discriminated union case with type? How to check if list contains discriminated union case with type? f%23 discriminated-union How Creature Strength Toughness CardType Land Instant Card Types List.contains card.Types Card.isType How to check if list contains discriminated union case with t...
[ -0.01904296875, -0.001953125, 0.00732421875, 0.00148773193359375, -0.0120849609375, -0.02294921875, -0.0026092529296875, 0.01055908203125, 0.01220703125, -0.0191650390625, 0.0185546875, 0.0142822265625, 0.006500244140625, -0.0166015625, 0.0006103515625, -0.0027923583984375, 0.0239257...
[ 11249, 12765, 2174, 5303, 70541, 55970, 3674, 69941, 7225, 678, 10644, 47, 1238, 3949, 3742, 87046, 56781, 6644, 24714, 449, 384, 72089, 23660, 196707, 6557, 166945, 60457, 32036, 98102, 20596, 164, 18151, 19048, 33022, 31577, 83, 10, 195629,...
[ 0.0164947509765625, 0.1798095703125, 0.077880859375, 0.20166015625, 0.136962890625, 0.19775390625, 0.0712890625, 0.2073974609375, 0.1356201171875, 0.0924072265625, 0.2099609375, 0.013824462890625, 0.022979736328125, 0.003021240234375, 0.1102294921875, 0.1500244140625, 0.0948486328125...
embed
28017040_c0
28017040
fsharp
0
Title: error FS0193: internal error: Could not load type &#x27;FSharp.Data.Runtime.IJsonDocument&#x27; from assembly &#x27;FSharp.Data, Version=2.1.1.0, Problem title: error FS0193: internal error: Could not load type &#x27;FSharp.Data.Runtime.IJsonDocument&#x27; from assembly &#x27;FSharp.Data, Version=2.1.1.0, Tags: ...
error FS0193: internal error: Could not load type &#x27;FSharp.Data.Runtime.IJsonDocument&#x27; from assembly &#x27;FSharp.Data, Version=2.1.1.0, error FS0193: internal error: Could not load type &#x27;FSharp.Data.Runtime.IJsonDocument&#x27; from assembly &#x27;FSharp.Data, Version=2.1.1.0, f%23 assembly FS0193 Could F...
[ -0.0081787109375, 0.024658203125, -0.0177001953125, 0.006072998046875, -0.00616455078125, 0.00811767578125, -0.004547119140625, -0.00125885009765625, -0.0286865234375, -0.007537841796875, -0.01080322265625, -0.0244140625, -0.0036163330078125, -0.0145263671875, 0.022705078125, 0.0120239...
[ 18499, 93774, 6746, 11591, 70796, 191147, 959, 72367, 10644, 3768, 36381, 3467, 254, 137989, 163321, 6032, 46765, 1681, 239469, 1295, 89845, 40647, 55257, 22892, 102107, 425, 1238, 3742, 20697, 70077, 10061, 120684, 7, 2914, 3610, 114137, 15769...
[ 0.15478515625, 0.2218017578125, 0.120361328125, 0.283203125, 0.2314453125, 0.134765625, 0.1151123046875, 0.2037353515625, 0.1905517578125, 0.1082763671875, 0.1175537109375, 0.20654296875, 0.206298828125, 0.15087890625, 0.11181640625, 0.1083984375, 0.22412109375, 0.200439453125, 0...
embed
52505669_c0
52505669
fsharp
0
Title: F#: Grouping a complex list Problem title: F#: Grouping a complex list Tags: f%23, functional-programming Problem: F#: Grouping a complex list I am trying to group the list by each element of player list let playersScore= [ (["Player 1";"Player 2";], "First Game"); (["Player 2";"Player 3";"Player 4";], "Second G...
F#: Grouping a complex list F#: Grouping a complex list f%23 functional-programming Grouping Player First Game Second Third Last List.groupBy F#: Grouping a complex list I am trying to group the list by each element of player list What I want to get is to find which player has joined to which games as For example accor...
[ -0.0086669921875, 0.00732421875, -0.00518798828125, 0.00408935546875, -0.00045013427734375, 0.00101470947265625, -0.0218505859375, 0.0201416015625, 0.00421142578125, 0.0098876953125, 0.0230712890625, 0.016357421875, 0.0067138671875, 0.0286865234375, -0.023193359375, 0.015869140625, 0...
[ 563, 4904, 10760, 27140, 5303, 12, 214, 1238, 3949, 3742, 123309, 28966, 60560, 23972, 13547, 77648, 198387, 21672, 32036, 51588, 75358, 31577, 21115, 70, 390, 12638, 12830, 58585, 3444, 2046, 47, 7413, 3129, 1556, 33284, 27528, 59499, 418, ...
[ 0.1119384765625, 0.1796875, 0.2347412109375, 0.18603515625, 0.197265625, 0.005126953125, 0.07061767578125, 0.0635986328125, 0.005340576171875, 0.1163330078125, 0.13427734375, 0.0965576171875, 0.203125, 0.0648193359375, 0.14599609375, 0.045623779296875, 0.1239013671875, 0.1174316406...
embed
5335858_c0
5335858
fsharp
0
Title: When should we use FSharpFunc.Adapt? Problem title: When should we use FSharpFunc.Adapt? Tags: f%23 Problem: When should we use FSharpFunc.Adapt? Looking at the source in FSharp.Core and PowerPack, I see that a lot of higher-order functions that accept a function with two or more parameters use FSharpFunc.Adapt ...
When should we use FSharpFunc.Adapt? When should we use FSharpFunc.Adapt? f%23 When FSharpFunc.Adapt ResizeArray FSharpFunc Adapt res.Add f.Invoke When should we use FSharpFunc.Adapt? Looking at the source in FSharp.Core and PowerPack, I see that a lot of higher-order functions that accept a function with two or more p...
[ -0.01092529296875, -0.000568389892578125, 0.01806640625, -0.0164794921875, -0.006561279296875, -0.00994873046875, -0.0186767578125, 0.000385284423828125, -0.010009765625, -0.00616455078125, 0.0205078125, -0.006103515625, -0.0081787109375, 0.005340576171875, 0.006866455078125, -0.003890...
[ 14847, 5608, 4527, 93774, 3467, 254, 97249, 238, 5, 284, 85, 6328, 1238, 3742, 853, 62539, 7614, 7092, 91903, 3332, 4028, 23253, 31344, 50886, 17170, 205956, 5915, 77546, 80596, 32354, 26946, 678, 6626, 707, 1286, 171859, 209806, 180663, 61...
[ 0.1126708984375, 0.08221435546875, 0.13134765625, 0.1195068359375, 0.1937255859375, 0.147705078125, 0.181640625, 0.154541015625, 0.0284576416015625, 0.0340576171875, 0.1826171875, 0.215087890625, 0.061370849609375, 0.08062744140625, 0.0633544921875, 0.13916015625, 0.0689697265625, ...
embed
31702221_c0
31702221
fsharp
0
Title: Insert row (as list) into SQL table from F# Problem title: Insert row (as list) into SQL table from F# Tags: f%23, insert, sql-server, list Problem: Insert row (as list) into SQL table from F# In F#, suppose I have a MyType List List, where MyType can be a string, int, float, etc. Now suppose that each list in t...
Insert row (as list) into SQL table from F# Insert row (as list) into SQL table from F# f%23 insert sql-server list F# Insert SQL Foo Bar Zen Name Rating Insert row (as list) into SQL table from F# In F#, suppose I have a MyType List List, where MyType can be a string, int, float, etc. Now suppose that each list in the...
[ 0.00860595703125, -0.01446533203125, 0.0086669921875, 0.021484375, -0.0235595703125, -0.005462646484375, -0.01318359375, -0.019775390625, -0.01141357421875, 0.004302978515625, 0.018798828125, -0.0272216796875, 0.01611328125, -0.0157470703125, -0.030029296875, 0.0008392333984375, -0.0...
[ 360, 33657, 15555, 162, 5303, 3934, 80866, 23180, 1295, 563, 4904, 1238, 3742, 183540, 99247, 39642, 9572, 31, 3253, 25908, 15757, 66350, 139124, 2646, 196707, 32036, 79315, 23, 21917, 12638, 33636, 10, 6713, 1884, 3444, 63399, 1653, 13, 59...
[ 0.10888671875, 0.139892578125, 0.2164306640625, 0.1383056640625, 0.1915283203125, 0.1202392578125, 0.1796875, 0.1666259765625, 0.08349609375, 0.1337890625, 0.18505859375, 0.016632080078125, 0.07647705078125, 0.2208251953125, 0.1302490234375, 0.0823974609375, 0.0660400390625, 0.0247...
embed
5169091_c0
5169091
fsharp
0
Title: Indices of substring Problem title: Indices of substring Tags: substring, f%23 Problem: Indices of substring I am very new to F#. I wrote a function that returns an array of the indices of substring matches in the target and its similar to how I write in C#. Is there a more functional way of solving this problem...
Indices of substring Indices of substring substring f%23 Indices SubStringIndices haystack:string needle:string System.Collections.Generic.List haystack.IndexOf indices.Add indices.ToArray Indices of substring I am very new to F#. I wrote a function that returns an array of the indices of substring matches in the targe...
[ -0.0146484375, -0.00836181640625, 0.004791259765625, 0.00421142578125, -0.0238037109375, 0.006561279296875, 0.0091552734375, -0.019287109375, 0.011474609375, 0.0089111328125, -0.0169677734375, 0.005615234375, -0.019287109375, 0.0244140625, 0.0269775390625, -0.01483154296875, 0.011779...
[ 22420, 5170, 111, 1614, 91693, 1238, 3949, 3742, 8273, 71713, 159310, 2054, 590, 2594, 3871, 133, 12353, 78457, 8996, 135932, 154663, 4153, 39659, 132887, 136044, 4028, 7763, 7614, 7092, 4552, 3525, 47, 563, 4904, 54397, 32354, 30646, 10298, ...
[ 0.2281494140625, 0.15283203125, 0.112548828125, 0.2340087890625, 0.25244140625, 0.08123779296875, 0.08642578125, 0.1488037109375, 0.2139892578125, 0.193359375, 0.1229248046875, 0.121337890625, 0.1103515625, 0.1097412109375, 0.09765625, 0.1314697265625, 0.0787353515625, 0.0456237792...
embed
6040774_c0
6040774
fsharp
0
Title: Style guidelines for global variables in F# Problem title: Style guidelines for global variables in F# Tags: coding-style, f%23, global-variables Problem: Style guidelines for global variables in F# I need a global variable (I could build it, then pass it to every single function call and let every single functi...
Style guidelines for global variables in F# Style guidelines for global variables in F# coding-style f%23 global-variables Style Style guidelines for global variables in F# I need a global variable (I could build it, then pass it to every single function call and let every single function call know about it, but that s...
[ 0.003936767578125, -0.00933837890625, 0.0031890869140625, -0.0166015625, -0.00482177734375, -0.0015106201171875, 0.01416015625, 0.01043701171875, -0.002593994140625, -0.00982666015625, -0.004638671875, 0.006805419921875, -0.00124359130859375, 0.0047607421875, 0.007232666015625, 0.00659...
[ 57845, 226829, 7964, 77336, 7, 563, 4904, 552, 40946, 1238, 3742, 21690, 3871, 5809, 45367, 27875, 11001, 32354, 11782, 11907, 3714, 37202, 237, 85526, 53, 40715, 12301, 1286, 4488, 6713, 2037, 23180, 3611, 35311, 73432, 12877, 3900, 40322, ...
[ 0.201171875, 0.18994140625, 0.206787109375, 0.288818359375, 0.022857666015625, 0.11669921875, 0.2139892578125, 0.1044921875, 0.1666259765625, 0.0555419921875, 0.1142578125, 0.1795654296875, 0.1004638671875, 0.006622314453125, 0.1822509765625, 0.080322265625, 0.172607421875, 0.07763...
embed
43934531_c0
43934531
fsharp
0
Title: Unable to generate random number F# Problem title: Unable to generate random number F# Tags: functional-programming, f%23 Problem: Unable to generate random number F# I am working on a small project and am trying to learn F# the functional way ,for some strange reason I am unable to generate a random number and ...
Unable to generate random number F# Unable to generate random number F# functional-programming f%23 Unable IfancyHerList Sara Saima Zoe Scarlett Jennifer Sandra Bullock MyGirlFriend List.pick rand.Next Some None Your Unable to generate random number F# I am working on a small project and am trying to learn F# the funct...
[ -0.0059814453125, 0.0128173828125, 0.0223388671875, -0.00860595703125, -0.00811767578125, 0.0048828125, -0.004302978515625, -0.004547119140625, -0.02001953125, -0.0146484375, 0.0054931640625, 0.00823974609375, -0.006622314453125, 0.017333984375, 0.01177978515625, -0.0111083984375, 0....
[ 992, 2886, 47, 139392, 96759, 14012, 563, 4904, 123309, 28966, 1238, 3949, 3742, 4263, 66, 2408, 25178, 154663, 13156, 947, 1352, 5880, 13, 76639, 37356, 96180, 78740, 35935, 21135, 2646, 221179, 416, 3611, 32036, 18695, 27388, 81280, 31384, ...
[ 0.093017578125, 0.169921875, 0.046875, 0.241943359375, 0.2376708984375, 0.2218017578125, 0.1708984375, 0.2144775390625, 0.1502685546875, 0.112060546875, 0.1024169921875, 0.027923583984375, 0.1258544921875, 0.05316162109375, 0.07958984375, 0.043243408203125, 0.16845703125, 0.1683349...
embed
52795069_c0
52795069
fsharp
0
Title: Interface properties not getting serialized Problem title: Interface properties not getting serialized Tags: f%23, json.net Problem: Interface properties not getting serialized If I defined a record that implements an interface with an additional property the interface properties are not serialized by json.net. ...
Interface properties not getting serialized Interface properties not getting serialized f%23 json.net Interface Newtonsoft.Json IRecord ARec Name this.id this.Name John JsonConvert.SerializeObject ShouldSerializeid json.net Interface properties not getting serialized If I defined a record that implements an interface w...
[ -0.01287841796875, 0.006378173828125, 0.0084228515625, 0.0106201171875, -0.01361083984375, -0.012451171875, -0.03466796875, 0.0306396484375, -0.005126953125, 0.00946044921875, 0.00714111328125, 0.044677734375, -0.01251220703125, 0.0194091796875, 0.00872802734375, 0.00897216796875, -0...
[ 220237, 183871, 959, 20949, 35686, 29367, 1238, 3949, 3742, 1647, 1681, 1179, 145076, 61306, 1375, 32863, 13, 32271, 13685, 3240, 15757, 903, 532, 163612, 4939, 821, 11549, 294, 25435, 119066, 75161, 151117, 61924, 17164, 29479, 101758, 78301, ...
[ 0.2861328125, 0.25439453125, 0.1209716796875, 0.120361328125, 0.2457275390625, 0.110107421875, 0.01324462890625, 0.0323486328125, 0.111572265625, 0.1429443359375, 0.1800537109375, 0.17333984375, 0.1558837890625, 0.17724609375, 0.1121826171875, 0.0703125, 0.06097412109375, 0.1807861...
embed
9094144_c0
9094144
fsharp
0
Title: Best class to represent a time Problem title: Best class to represent a time Tags: .net, c%23, time, f%23, datetime Problem: Best class to represent a time I'm working on timetabling application and I have a class: called ClassOption representing a possible time to have a class. with fields(/properties): Day , S...
Best class to represent a time Best class to represent a time .net c%23 time f%23 datetime Best ClassOption Day StartTime EndTime Weeks DayOfWeek DateTime Best class to represent a time I'm working on timetabling application and I have a class: called ClassOption representing a possible time to have a class. with field...
[ 0.0074462890625, 0.024169921875, 0.0107421875, 0.0157470703125, -0.0322265625, -0.0234375, 0.0081787109375, -0.015869140625, -0.0033416748046875, -0.003143310546875, 0.006561279296875, 0.01416015625, 0.0035552978515625, 0.0283203125, -0.031005859375, 0.005950927734375, -0.02307128906...
[ 11345, 18507, 47, 33636, 10, 1733, 5, 1179, 3742, 1238, 5622, 6032, 35014, 39029, 10013, 13794, 70059, 18878, 58417, 132887, 12137, 343, 25512, 20697, 102, 79298, 38415, 1363, 7722, 44457, 23468, 10644, 7, 64209, 114122, 442, 141626, 10002, ...
[ 0.1695556640625, 0.27734375, 0.0865478515625, 0.26318359375, 0.060028076171875, 0.2156982421875, 0.0838623046875, 0.182373046875, 0.0850830078125, 0.039215087890625, 0.0982666015625, 0.15283203125, 0.1929931640625, 0.204345703125, 0.1322021484375, 0.17138671875, 0.2008056640625, 0....
embed
19373814_c1
19373814
fsharp
1
Entity, testFloorActor, testFloor) TestFloorAddress let hintRenderingPackageUse = HintRenderingPackageUse { FileName = "AssetGraph.xml"; PackageName = "Misc"; HRPU = () } do! fun world -> { world with RenderMessages = hintRenderingPackageUse :: world.RenderMessages } let hintAudioPackageUse = HintAudioPackageUse { File...
Entity, testFloorActor, testFloor) TestFloorAddress let hintRenderingPackageUse = HintRenderingPackageUse { FileName = "AssetGraph.xml"; PackageName = "Misc"; HRPU = () } do! fun world -> { world with RenderMessages = hintRenderingPackageUse :: world.RenderMessages } let hintAudioPackageUse = HintAudioPackageUse { File...
[ -0.0011749267578125, 0.00274658203125, -0.00628662109375, 0.006622314453125, -0.01104736328125, 0.0038299560546875, 0.00110626220703125, -0.02294921875, 0.0208740234375, 0.016845703125, 0.0225830078125, 0.0164794921875, 0.00469970703125, 0.0223388671875, -0.006561279296875, 0.006591796...
[ 16511, 2481, 3034, 919, 365, 748, 284, 18770, 8647, 161007, 2633, 5122, 18, 33, 111747, 205956, 1062, 19895, 42724, 163612, 53975, 37878, 11727, 131492, 56607, 130777, 238, 22439, 26214, 54, 7477, 8999, 678, 63137, 56, 6011, 23894, 119516, ...
[ 0.113037109375, 0.0372314453125, 0.2164306640625, 0.028839111328125, 0.1319580078125, 0.0980224609375, 0.0236053466796875, 0.141357421875, 0.2208251953125, 0.18408203125, 0.06744384765625, 0.177734375, 0.0572509765625, 0.0877685546875, 0.1048583984375, 0.1575927734375, 0.117553710937...
embed
46374400_c0
46374400
fsharp
0
Title: Is it better to call sort descending or just to sort a list and reverse it? Problem title: Is it better to call sort descending or just to sort a list and reverse it? Tags: sorting, reverse, list, f%23 Problem: Is it better to call sort descending or just to sort a list and reverse it? The List module contains t...
Is it better to call sort descending or just to sort a list and reverse it? Is it better to call sort descending or just to sort a list and reverse it? sorting reverse list f%23 List List.sortDescending Real CPU gen0 gen1 gen2 List.sort List.rev Is it better to call sort descending or just to sort a list and reverse it...
[ -0.00732421875, 0.021484375, 0.01287841796875, -0.0093994140625, -0.00634765625, -0.01019287109375, 0.01214599609375, -0.0140380859375, -0.00069427490234375, 0.00531005859375, -0.00102996826171875, 0.02587890625, -0.00823974609375, -0.00830078125, -0.007171630859375, 0.0014114379882812...
[ 11522, 11782, 12096, 60887, 214, 1660, 5303, 39531, 184, 442, 136, 3949, 3742, 32036, 62351, 73347, 329, 33770, 5120, 86039, 9226, 2389, 65381, 88996, 70541, 32354, 1295, 11192, 47, 27226, 12301, 4271, 56, 7068, 37842, 5941, 20028, 142424, ...
[ 0.1846923828125, 0.125244140625, 0.236572265625, 0.2445068359375, 0.1402587890625, 0.0709228515625, 0.186279296875, 0.215087890625, 0.1558837890625, 0.047454833984375, 0.0550537109375, 0.0221405029296875, 0.1075439453125, 0.17041015625, 0.1982421875, 0.1605224609375, 0.1671142578125,...
embed
9568024_c0
9568024
fsharp
0
Title: call a base-class explicit interface method in F# Problem title: call a base-class explicit interface method in F# Tags: inheritance, explicit-interface, f%23 Problem: call a base-class explicit interface method in F# Ok I derive a type B from a base class A . A implements IDisposable explicit but I have to do a...
call a base-class explicit interface method in F# call a base-class explicit interface method in F# inheritance explicit-interface f%23 StackOverflowException IDisposable i.Dispose base.Dispose Dispose Unexpected Expected call a base-class explicit interface method in F# Ok I derive a type B from a base class A . A imp...
[ -0.01177978515625, 0.01470947265625, -0.000759124755859375, 0.0306396484375, -0.00518798828125, 0.005401611328125, -0.0247802734375, 0.003570556640625, 0.007537841796875, -0.01092529296875, 0.005401611328125, 0.0322265625, 0.00665283203125, -0.005218505859375, -0.000972747802734375, -0...
[ 11782, 3647, 67413, 143726, 101758, 55300, 563, 4904, 9, 3334, 217, 10433, 40404, 1238, 3742, 6512, 2594, 156673, 118664, 19279, 63928, 11338, 164, 7522, 2886, 17, 44456, 78381, 70958, 184, 992, 83613, 60075, 13, 122, 5844, 10, 10644, 335, ...
[ 0.12744140625, 0.2392578125, 0.1739501953125, 0.236572265625, 0.2174072265625, 0.1859130859375, 0.140625, 0.216064453125, 0.011077880859375, 0.119140625, 0.0151824951171875, 0.09423828125, 0.051361083984375, 0.0706787109375, 0.1246337890625, 0.09442138671875, 0.0675048828125, 0.124...
embed
61628000_c1
61628000
fsharp
1
48 + 2.0*x.[0]+x.[1]*0.001431 + x.[1]*x.[1]*0.6737996-0.0084050 jac.[0,0] <- -0.00498 jac.[0,1] <- 0.05656 jac.[2,0] <- 1.0 jac.[2,1] <- 1.0 jac.[1,0] <- 2*x.[0]*0.00001048 + 2*x[1]*0.001431 jac.[1,1] <- 2*x.[0]*0.001431 + 2+x[1]*0.6737996 let mutable state2 = new alglib.minnlcstate() let mutable rep2 = new alglib.minn...
48 + 2.0*x.[0]+x.[1]*0.001431 + x.[1]*x.[1]*0.6737996-0.0084050 jac.[0,0] <- -0.00498 jac.[0,1] <- 0.05656 jac.[2,0] <- 1.0 jac.[2,1] <- 1.0 jac.[1,0] <- 2*x.[0]*0.00001048 + 2*x[1]*0.001431 jac.[1,1] <- 2*x.[0]*0.001431 + 2+x[1]*0.6737996 let mutable state2 = new alglib.minnlcstate() let mutable rep2 = new alglib.minn...
[ 0.0024566650390625, -0.01300048828125, -0.01470947265625, 0.00677490234375, 0.0003070831298828125, 0.0206298828125, 0.01446533203125, 0.0108642578125, 0.0089111328125, 0.0027923583984375, 0.007659912109375, 0.00872802734375, 0.007537841796875, -0.00640869140625, -0.00136566162109375, 0...
[ 4572, 997, 16655, 1639, 425, 5, 2389, 268, 1328, 25432, 37509, 2592, 5016, 1022, 122887, 115252, 185245, 9, 13903, 78800, 79, 238, 63527, 4426, 20, 165611, 4, 89678, 758, 182058, 216969, 53855, 1065, 304, 76172, 206808, 116, 7049, 963, 92...
[ 0.33447265625, 0.243896484375, 0.265625, 0.120849609375, 0.167236328125, 0.0157928466796875, 0.1575927734375, 0.007476806640625, 0.1920166015625, 0.1329345703125, 0.2109375, 0.1663818359375, 0.273193359375, 0.211669921875, 0.2005615234375, 0.186767578125, 0.1917724609375, 0.0831298...
embed
17832203_c0
17832203
fsharp
0
Title: Is F# aware of its discriminated unions&#x27; compiled forms? Problem title: Is F# aware of its discriminated unions&#x27; compiled forms? Tags: f%23, servicestack, servicestack-text Problem: Is F# aware of its discriminated unions' compiled forms? A discriminated union in F# is compiled to an abstract class and...
Is F# aware of its discriminated unions&#x27; compiled forms? Is F# aware of its discriminated unions&#x27; compiled forms? f%23 servicestack servicestack-text ServiceStack.Text JsConfig DU.A SerializeFn Func DU.B DeserializeFn DU.NewA DU.NewB FS0039 System RawDeserializeFn Hooked Is F# aware of its discriminated union...
[ -0.0030059814453125, 0.00848388671875, 0.0035552978515625, 0.002410888671875, -0.0164794921875, 0.0026092529296875, -0.003692626953125, 0.010009765625, -0.0000591278076171875, -0.0107421875, -0.0004520416259765625, -0.0035858154296875, 0.01409912109375, 0.01239013671875, 0.014404296875, ...
[ 563, 4904, 107419, 55970, 3674, 69941, 3768, 375, 5974, 3173, 1238, 3742, 11374, 102, 2594, 22829, 12349, 42378, 174379, 821, 7, 83671, 14614, 5, 284, 135188, 20650, 28670, 571, 5581, 25435, 119066, 46568, 93774, 7049, 9323, 12353, 109997, ...
[ 0.1572265625, 0.244140625, 0.13427734375, 0.23486328125, 0.044342041015625, 0.18994140625, 0.0015869140625, 0.05853271484375, 0.1444091796875, 0.1639404296875, 0.038848876953125, 0.01116943359375, 0.1142578125, 0.07049560546875, 0.08221435546875, 0.0662841796875, 0.1336669921875, 0...
embed
27524101_c0
27524101
fsharp
0
Title: System.Version doesn&#x27;t implement System.IComparable in F# Problem title: System.Version doesn&#x27;t implement System.IComparable in F# Tags: c%23, base-class-library, .net, icomparable, f%23 Problem: System.Version doesn't implement System.IComparable in F# I want to sort a sequence of Version objects in F...
System.Version doesn&#x27;t implement System.IComparable in F# System.Version doesn&#x27;t implement System.IComparable in F# c%23 base-class-library .net icomparable f%23 System.Version System.IComparable Version Seq.max ICloneable IComparable System.Version doesn't implement System.IComparable in F# I want to sort a ...
[ -0.004180908203125, 0.029296875, 0.01055908203125, 0.01141357421875, -0.00860595703125, 0.0031280517578125, 0.0023956298828125, 0.0133056640625, -0.002105712890625, 0.00299072265625, -0.007171630859375, 0.00933837890625, 0.001983642578125, -0.00836181640625, 0.00927734375, -0.004364013...
[ 12353, 178390, 22027, 3768, 18, 29479, 5, 568, 108161, 147, 2886, 23, 563, 4904, 3742, 3647, 67413, 2844, 1179, 17, 277, 2500, 1238, 40647, 503, 864, 24084, 69010, 51684, 87, 12096, 944, 36746, 9969, 34759, 18499, 26008, 5962, 1530, 73372...
[ 0.156494140625, 0.269775390625, 0.040069580078125, 0.05853271484375, 0.0670166015625, 0.179931640625, 0.0296630859375, 0.1397705078125, 0.164794921875, 0.1552734375, 0.169921875, 0.010498046875, 0.1534423828125, 0.2232666015625, 0.065673828125, 0.111572265625, 0.0802001953125, 0.04...
embed
52819834_c0
52819834
fsharp
0
Title: Idiomatic F# - Simple Statistical Functions Problem title: Idiomatic F# - Simple Statistical Functions Tags: f%23, idioms Problem: Idiomatic F# - Simple Statistical Functions As part of a simple challenge I am to write a couple of simple statistical functions by scratch and I'm trying to write them in the most "...
Idiomatic F# - Simple Statistical Functions Idiomatic F# - Simple Statistical Functions f%23 idioms Idiomatic Simple Statistical Functions List.sum List.length List.map Math.Sqrt Idiomatic F# - Simple Statistical Functions As part of a simple challenge I am to write a couple of simple statistical functions by scratch a...
[ 0.005889892578125, -0.0050048828125, 0.0108642578125, 0.004180908203125, -0.0107421875, 0.01263427734375, 0.01031494140625, -0.0089111328125, 0.003173828125, -0.028564453125, 0.0009613037109375, 0.004608154296875, -0.0019378662109375, 0.0047607421875, 0.015380859375, 0.007049560546875,...
[ 87, 5670, 47148, 563, 4904, 60552, 126124, 28670, 10763, 21533, 1238, 3949, 3742, 13373, 28016, 32036, 11832, 23986, 62346, 78804, 864, 3198, 8781, 66801, 33022, 24941, 80835, 32354, 206597, 31577, 2684, 57840, 3525, 27958, 16487, 30698, 28282,...
[ 0.0230560302734375, 0.15771484375, 0.123779296875, 0.1087646484375, 0.2030029296875, 0.1771240234375, 0.18115234375, 0.1553955078125, 0.048980712890625, 0.03125, 0.0859375, 0.025726318359375, 0.1142578125, 0.169921875, 0.09912109375, 0.10498046875, 0.105224609375, 0.00103759765625,...
embed
39560210_c0
39560210
fsharp
0
Title: F#: System.Drawing.Graphics namespace not defined Problem title: F#: System.Drawing.Graphics namespace not defined Tags: mono, f%23 Problem: F#: System.Drawing.Graphics namespace not defined I've got a brand new and very minimal F# project; I'm on OSX, using Mono and Paket and Emacs. In this project, I'm trying ...
F#: System.Drawing.Graphics namespace not defined F#: System.Drawing.Graphics namespace not defined mono f%23 System.Drawing.Graphics System.Drawing System.Drawing.Drawing2D Drawing2D F#: System.Drawing.Graphics namespace not defined I've got a brand new and very minimal F# project; I'm on OSX, using Mono and Paket and...
[ -0.025390625, 0.01171875, -0.004608154296875, -0.007049560546875, -0.005950927734375, 0.0242919921875, 0.00592041015625, -0.0018463134765625, -0.01611328125, 0.0302734375, 0.00872802734375, 0.00738525390625, 0.002227783203125, -0.003997802734375, 0.006622314453125, 0.00830078125, -0....
[ 563, 4904, 12353, 219, 14775, 37878, 19379, 210716, 959, 61924, 22460, 1238, 3949, 3742, 304, 397, 18186, 5, 3525, 20187, 13452, 11787, 1542, 77879, 136, 50867, 85269, 4439, 31577, 4527, 98870, 58867, 8999, 831, 5885, 32774, 44402, 4265, 90...
[ 0.1077880859375, 0.2060546875, 0.157470703125, 0.119384765625, 0.1214599609375, 0.152099609375, 0.136962890625, 0.2763671875, 0.1270751953125, 0.21142578125, 0.161865234375, 0.042572021484375, 0.008331298828125, 0.111083984375, 0.072998046875, 0.0809326171875, 0.11865234375, 0.0074...
embed
13654437_c0
13654437
fsharp
0
Title: Why doesn&#x27;t infinite recursion hit a stack overflow exception in F#? Problem title: Why doesn&#x27;t infinite recursion hit a stack overflow exception in F#? Tags: .net, f%23, functional-programming Problem: Why doesn't infinite recursion hit a stack overflow exception in F#? I know this is somewhat the rev...
Why doesn&#x27;t infinite recursion hit a stack overflow exception in F#? Why doesn&#x27;t infinite recursion hit a stack overflow exception in F#? .net f%23 functional-programming Why uint64 Why doesn't infinite recursion hit a stack overflow exception in F#? I know this is somewhat the reverse of the issue people are...
[ -0.01513671875, -0.00933837890625, 0.0098876953125, -0.0028076171875, -0.000469207763671875, -0.0277099609375, 0.004638671875, -0.01422119140625, 0.016357421875, -0.0017852783203125, 0.0224609375, -0.0048828125, 0.000461578369140625, 0.01031494140625, 0.0361328125, 0.004058837890625, ...
[ 44084, 22027, 3768, 18, 54241, 13, 195625, 1830, 5962, 177261, 645, 118664, 131527, 563, 4904, 1179, 1238, 123309, 28966, 75, 4288, 13307, 23, 39531, 26458, 31089, 28282, 32354, 11782, 28960, 8306, 53299, 18499, 38415, 98845, 1257, 56458, 860...
[ 0.105712890625, 0.0550537109375, 0.032562255859375, 0.07470703125, 0.1494140625, 0.0772705078125, 0.2142333984375, 0.092041015625, 0.1431884765625, 0.1695556640625, 0.1175537109375, 0.2095947265625, 0.1868896484375, 0.1292724609375, 0.2130126953125, 0.0657958984375, 0.0263671875, 0...
embed
72983399_c1
72983399
fsharp
1
override the 'Object.Equals' member. If defining a static member for use from other CLI languages then use the name 'op_Equality' instead. The name '(<>)' should not be used as a member name. To define equality semantics for a type, override the 'Object.Equals' member. If defining a static member for use from other CL...
override the 'Object.Equals' member. If defining a static member for use from other CLI languages then use the name 'op_Equality' instead. The name '(<>)' should not be used as a member name. To define equality semantics for a type, override the 'Object.Equals' member. If defining a static member for use from other CL...
[ 0.01409912109375, 0.0022125244140625, 0.0191650390625, 0.005950927734375, -0.00360107421875, 0.0030517578125, -0.01422119140625, -0.0069580078125, 0.017333984375, 0.02197265625, 0.004730224609375, -0.00738525390625, 0.01141357421875, -0.0142822265625, 0.0021514892578125, 0.015380859375...
[ 645, 416, 46471, 75161, 647, 71723, 7, 32786, 13204, 201939, 4527, 1295, 10927, 46876, 9351, 2146, 161789, 64457, 16093, 2740, 11814, 61924, 28, 484, 109109, 10, 10644, 112, 100, 4153, 67660, 39933, 237, 43032, 6713, 99, 124498, 5609, 18499...
[ 0.0703125, 0.1708984375, 0.122314453125, 0.1802978515625, 0.0958251953125, 0.231201171875, 0.1044921875, 0.242919921875, 0.15673828125, 0.21142578125, 0.046722412109375, 0.00323486328125, 0.1292724609375, 0.1165771484375, 0.06756591796875, 0.1773681640625, 0.262939453125, 0.0112609...
embed
30753169_c0
30753169
fsharp
0
Title: F# - Result is list of list of int instead of a list of int Problem title: F# - Result is list of list of int instead of a list of int Tags: f%23 Problem: F# - Result is list of list of int instead of a list of int I have quite a complex problem that I have simplified for the purpose of this question. Let's just...
F# - Result is list of list of int instead of a list of int F# - Result is list of list of int instead of a list of int f%23 Result List.map F# - Result is list of list of int instead of a list of int I have quite a complex problem that I have simplified for the purpose of this question. Let's just say the problem is a...
[ 0.00144195556640625, 0.0157470703125, -0.00015354156494140625, 0.0020751953125, -0.01171875, -0.003021240234375, -0.006256103515625, 0.00408935546875, 0.005523681640625, 0.00104522705078125, 0.02001953125, 0.0211181640625, 0.01434326171875, 0.049560546875, 0, 0.0098876953125, 0.00469...
[ 563, 4904, 20, 126684, 83, 5303, 111, 23, 18, 64457, 10, 1238, 3949, 3742, 32036, 62346, 32233, 27140, 2967, 112892, 28960, 3444, 5117, 138, 101935, 2858, 155761, 49814, 756, 6097, 757, 963, 1549, 25632, 104851, 71, 140992, 18151, 59121, ...
[ 0.1383056640625, 0.24169921875, 0.012115478515625, 0.285400390625, 0.1097412109375, 0.2042236328125, 0.07958984375, 0.1456298828125, 0.1331787109375, 0.16162109375, 0.0176544189453125, 0.1251220703125, 0.03619384765625, 0.17626953125, 0.197021484375, 0.14990234375, 0.03271484375, 0...
embed
58532891_c0
58532891
fsharp
0
Title: f# dictionary, immutability and performance Problem title: f# dictionary, immutability and performance Tags: dictionary, f%23 Problem: f# dictionary, immutability and performance I am porting C# code to F# and I have a situation with some rather large, but simple dictionaries; they're value is a single float and...
f# dictionary, immutability and performance f# dictionary, immutability and performance dictionary f%23 f# dictionary, immutability and performance I am porting C# code to F# and I have a situation with some rather large, but simple dictionaries; they're value is a single float and the key is a string. The code process...
[ 0.00023651123046875, -0.00567626953125, 0.002197265625, -0.0194091796875, 0.007232666015625, -0.0108642578125, -0.01202392578125, -0.01263427734375, 0.0064697265625, 0.0032196044921875, 0.03125, 0.02099609375, 0.004180908203125, -0.01263427734375, 0.025634765625, 0.008544921875, -0.0...
[ 1238, 4904, 45, 10763, 6635, 566, 14311, 41159, 136, 23718, 3742, 196, 313, 18151, 47, 563, 16648, 21334, 8781, 11, 10484, 34292, 11001, 21917, 257, 22799, 83, 79315, 9433, 75101, 64209, 183540, 154109, 28350, 5915, 41018, 123087, 178308, 2...
[ 0.1494140625, 0.264404296875, 0.09539794921875, 0.1514892578125, 0.08447265625, 0.0867919921875, 0.1837158203125, 0.122802734375, 0.028900146484375, 0.170166015625, 0.08087158203125, 0.0418701171875, 0.01043701171875, 0.08740234375, 0.0452880859375, 0.1544189453125, 0.0128173828125, ...
embed
50686704_c1
50686704
fsharp
1
Canvas (_: int) (_: int): unit = jsNative let setup () = createCanvas 500 500 frameRate 15 let draw () = fill 255 rect 10 10 100 101 If I use the very same HTML above with the equivalent JS it will work as expected, so I assume Fable is messing up my somewhere. <!doctype html> <html> <head> <style> body { padding: 20px...
Canvas (_: int) (_: int): unit = jsNative let setup () = createCanvas 500 500 frameRate 15 let draw () = fill 255 rect 10 10 100 101 If I use the very same HTML above with the equivalent JS it will work as expected, so I assume Fable is messing up my somewhere. <!doctype html> <html> <head> <style> body { padding: 20px...
[ -0.0166015625, -0.006195068359375, 0.0137939453125, 0.003326416015625, -0.0023193359375, -0.00799560546875, 0.00860595703125, -0.00531005859375, -0.003173828125, -0.0419921875, -0.0026397705078125, -0.04345703125, 0.024169921875, 0.01165771484375, 0.0019378662109375, 0.00286865234375, ...
[ 4171, 4079, 454, 23, 18, 25072, 2203, 1647, 7, 4645, 4935, 2633, 169581, 28282, 54694, 2101, 123789, 12248, 423, 79442, 26292, 86565, 173247, 209, 805, 21027, 4527, 4552, 5701, 19097, 36917, 678, 70, 183234, 64977, 1221, 4488, 237, 84751, ...
[ 0.18798828125, 0.27197265625, 0.017852783203125, 0.06182861328125, 0.0888671875, 0.2132568359375, 0.01080322265625, 0.1695556640625, 0.005279541015625, 0.08819580078125, 0.140380859375, 0.1336669921875, 0.206298828125, 0.1439208984375, 0.168701171875, 0.163330078125, 0.1690673828125,...
embed
24699817_c0
24699817
fsharp
0
Title: F# Select from SQL Server table synonym Problem title: F# Select from SQL Server table synonym Tags: synonym, type-providers, sql, f%23 Problem: F# Select from SQL Server table synonym I have a synonym for a table in my SQL Server database. I want to select rows from the table but when I create data context with...
F# Select from SQL Server table synonym F# Select from SQL Server table synonym synonym type-providers sql f%23 SQL Select Server CREATE SYNONYM AnotherDatabase_dbo MyTable AnotherDatabase SqlDataConnection Data Source MyServer MyInstance Initial Catalog MyDatabase Integrated Security SSPI dbSchema.GetDataContext F# Se...
[ 0.0079345703125, 0.0146484375, 0.0123291015625, 0.03662109375, -0.0185546875, 0.0013275146484375, 0.00408935546875, 0.005615234375, -0.013916015625, -0.04296875, -0.002197265625, 0.0086669921875, 0.0003147125244140625, -0.007720947265625, -0.0128173828125, 0.002685546875, -0.01391601...
[ 563, 4904, 51620, 1295, 80866, 22687, 23180, 164661, 10644, 93136, 14202, 99247, 1238, 3742, 175151, 159, 58640, 138960, 116267, 37382, 837, 2886, 77641, 193348, 116071, 150917, 48748, 15185, 11883, 22829, 63399, 3444, 36849, 15555, 28282, 2053, ...
[ 0.10760498046875, 0.193115234375, 0.1966552734375, 0.121337890625, 0.14599609375, 0.130615234375, 0.1749267578125, 0.2308349609375, 0.136962890625, 0.1500244140625, 0.0233306884765625, 0.1422119140625, 0.040435791015625, 0.08038330078125, 0.0621337890625, 0.0264892578125, 0.065063476...
embed
11664791_c0
11664791
fsharp
0
Title: Filter a list of records containing discriminated union members based on member underlying type Problem title: Filter a list of records containing discriminated union members based on member underlying type Tags: f%23 Problem: Filter a list of records containing discriminated union members based on member underl...
Filter a list of records containing discriminated union members based on member underlying type Filter a list of records containing discriminated union members based on member underlying type f%23 Filter EntryDetails ADetails TypeADetails BDetails TypeBDetails Entry Details:EntryDetails list:list List.filter x.Details ...
[ -0.000240325927734375, 0.00640869140625, 0.0203857421875, -0.004364013671875, -0.019287109375, -0.019775390625, -0.0106201171875, 0.018310546875, 0.01116943359375, 0.01141357421875, -0.0004596710205078125, -0.0091552734375, 0.0191650390625, 0.0159912109375, -0.001251220703125, -0.00350...
[ 128896, 5303, 115923, 70541, 55970, 3674, 69941, 43032, 35509, 98, 32786, 1379, 538, 10644, 1238, 3949, 3742, 15123, 46741, 4241, 7870, 60457, 77658, 6562, 32036, 120337, 1022, 42805, 214, 10, 3917, 54, 903, 1884, 759, 196707, 171859, 7941, ...
[ 0.27099609375, 0.144775390625, 0.1826171875, 0.111328125, 0.2437744140625, 0.106689453125, 0.167724609375, 0.1461181640625, 0.1300048828125, 0.009246826171875, 0.1806640625, 0.178955078125, 0.09271240234375, 0.2235107421875, 0.035552978515625, 0.01190185546875, 0.1051025390625, 0.0...
embed
29800017_c0
29800017
fsharp
0
Title: How do I set the owinstartup attribute? Problem title: How do I set the owinstartup attribute? Tags: f%23, owin Problem: How do I set the owinstartup attribute? I read up on a similar problem in F# but don't seem to be able to apply the answers here. I have very simple code that gives the same error as the linke...
How do I set the owinstartup attribute? How do I set the owinstartup attribute? f%23 owin How MyNamespace Microsoft.Owin Owin Startup x.Foo x.ConfigureAuth IAppBuilder app.CreatePerOwinContext OwinStartup How do I set the owinstartup attribute? I read up on a similar problem in F# but don't seem to be able to apply the...
[ -0.01129150390625, 0.0177001953125, -0.01141357421875, -0.01031494140625, -0.00872802734375, -0.0123291015625, 0.0062255859375, -0.0137939453125, 0.0074462890625, -0.01031494140625, -0.01287841796875, 0.023681640625, 0.01019287109375, 0.01214599609375, -0.0072021484375, 0.0000555515289...
[ 11249, 5423, 36, 9494, 17137, 2037, 150380, 13, 1238, 3742, 2646, 163612, 65421, 7244, 670, 180, 153076, 27591, 31, 59994, 67362, 39179, 121137, 4027, 63784, 15277, 22829, 126597, 54, 87, 70, 2967, 563, 4904, 8781, 18151, 18499, 73243, 959,...
[ 0.039215087890625, 0.1993408203125, 0.1329345703125, 0.230712890625, 0.1885986328125, 0.1910400390625, 0.2408447265625, 0.102783203125, 0.047515869140625, 0.1077880859375, 0.0694580078125, 0.06732177734375, 0.17919921875, 0.0792236328125, 0.07550048828125, 0.0970458984375, 0.24267578...
embed
837676_c0
837676
fsharp
0
Title: Invalid IL Code - F# Problem title: Invalid IL Code - F# Tags: mono, f%23 Problem: Invalid IL Code - F# I am new to F#, and I am trying to write a function that calculates a powerset. I am getting an error from Mono (running this on a Mac) that is below. For example, I would pass calcPowerSet ([1;2;3], []) to st...
Invalid IL Code - F# Invalid IL Code - F# mono f%23 System.InvalidProgramException System.Exception Invalid FSI_0010:calcPowerSet Microsoft.FSharp.Collections.List IL_005d stind.r4 FSI_0010.calcPowerSet Int32 _arg1_0 _arg1_1 FSI_0011._main System.Reflection.MonoMethod:InternalInvoke System.Reflection.MonoMethod.Invoke ...
[ 0.02880859375, 0.00665283203125, 0.01165771484375, 0.00836181640625, -0.004241943359375, 0.002532958984375, -0.0238037109375, -0.022705078125, 0.0194091796875, -0.006591796875, 0.0152587890625, 0.0084228515625, 0.0045166015625, 0.00506591796875, 0.00119781494140625, -0.0022430419921875...
[ 360, 7013, 71, 30219, 28864, 563, 4904, 22460, 1238, 3949, 3742, 12353, 4153, 148968, 63928, 19279, 9902, 7049, 963, 6827, 238, 105022, 294, 126, 7244, 36381, 3467, 254, 78457, 8996, 154663, 130171, 13629, 2208, 617, 6460, 61477, 115187, 16...
[ 0.06060791015625, 0.1873779296875, 0.078125, 0.2022705078125, 0.2391357421875, 0.1527099609375, 0.224853515625, 0.211669921875, 0.072021484375, 0.006805419921875, 0.1236572265625, 0.1109619140625, 0.03778076171875, 0.10101318359375, 0.08837890625, 0.02276611328125, 0.1785888671875, ...
embed
58702479_c0
58702479
fsharp
0
Title: Can&#x27;t serialize records, in F#, with json.net Problem title: Can&#x27;t serialize records, in F#, with json.net Tags: json.net, f%23 Problem: Can't serialize records, in F#, with json.net A very basic example: type private test = { a : string b : string list } let t = { a = "hello"; b = ["1"; "2"] } let s =...
Can&#x27;t serialize records, in F#, with json.net Can&#x27;t serialize records, in F#, with json.net json.net f%23 Can json.net JsonConvert.SerializeObject Can't serialize records, in F#, with json.net A very basic example: This will produce an empty string. I have seen that json.net supports F# and that there are a l...
[ -0.01446533203125, 0.004638671875, 0.002593994140625, 0.00579833984375, -0.020263671875, -0.007720947265625, -0.01458740234375, 0.01544189453125, -0.01177978515625, 0.001739501953125, 0.0118408203125, 0.031982421875, 0.006072998046875, 0.010986328125, 0.0272216796875, -0.00078582763671...
[ 4171, 3768, 18, 35686, 20650, 115923, 563, 4904, 678, 1647, 1681, 1179, 23, 1238, 3742, 821, 11549, 294, 25435, 119066, 46471, 75161, 5, 4552, 62822, 27781, 27489, 201505, 79315, 8060, 5915, 22, 316, 52895, 14373, 31577, 8781, 154732, 52825...
[ 0.0968017578125, 0.05780029296875, 0.0712890625, 0.2288818359375, 0.1134033203125, 0.1968994140625, 0.144775390625, 0.2042236328125, 0.05902099609375, 0.12841796875, 0.1947021484375, 0.170166015625, 0.037628173828125, 0.021209716796875, 0.0301666259765625, 0.135498046875, 0.112548828...
embed
17665888_c0
17665888
fsharp
0
Title: Accessing property values in F# constructors Problem title: Accessing property values in F# constructors Tags: f%23, constructor Problem: Accessing property values in F# constructors Sorry if this is basic, but I'm still wrapping my head around F#. I want to do this: type Person(user:User) as this = member val N...
Accessing property values in F# constructors Accessing property values in F# constructors f%23 constructor InvalidOperationException Accessing Person user:User Name user.UserId this.Name Unexpected this.Setup person.Setup Accessing property values in F# constructors Sorry if this is basic, but I'm still wrapping my hea...
[ 0.01287841796875, -0.001617431640625, 0.021240234375, -0.016845703125, -0.0086669921875, 0.001007080078125, -0.0146484375, -0.00183868408203125, 0.00726318359375, -0.029541015625, 0.0030670166015625, 0.053466796875, 0.01190185546875, -0.00189208984375, 0.0042724609375, -0.0052795410156...
[ 40266, 214, 57266, 142424, 563, 4904, 64549, 25251, 1238, 3949, 3742, 748, 360, 7013, 156823, 19279, 63928, 15270, 38937, 1062, 2189, 15757, 903, 163612, 992, 83613, 294, 126, 2037, 3445, 62822, 10336, 18499, 42485, 56, 32786, 80934, 9969, ...
[ 0.17333984375, 0.011688232421875, 0.21240234375, 0.1756591796875, 0.1317138671875, 0.218505859375, 0.1917724609375, 0.1197509765625, 0.085693359375, 0.037811279296875, 0.1654052734375, 0.0474853515625, 0.026153564453125, 0.14501953125, 0.1622314453125, 0.048492431640625, 0.1281738281...
embed
1796711_c0
1796711
fsharp
0
Title: Drawbacks of developing ASP.NET and ASP.NET MVC apps in F#? Problem title: Drawbacks of developing ASP.NET and ASP.NET MVC apps in F#? Tags: f%23, asp.net, asp.net-mvc Problem: Drawbacks of developing ASP.NET and ASP.NET MVC apps in F#? I would like to try developing ASP.NET and ASP.NET MVC apps in F# . I enjoy ...
Drawbacks of developing ASP.NET and ASP.NET MVC apps in F#? Drawbacks of developing ASP.NET and ASP.NET MVC apps in F#? f%23 asp.net asp.net-mvc Drawbacks ASP.NET MVC asp.net-mvc Drawbacks of developing ASP.NET and ASP.NET MVC apps in F#? I would like to try developing ASP.NET and ASP.NET MVC apps in F# . I enjoy using...
[ -0.000652313232421875, 0.01953125, 0.00537109375, -0.02978515625, 0.004547119140625, -0.010009765625, -0.0235595703125, 0.00537109375, 0.006591796875, -0.0145263671875, 0.006988525390625, -0.013427734375, 0.019287109375, 0.0301513671875, 0.01019287109375, 0.0022125244140625, -0.00585...
[ 18186, 434, 12620, 168698, 147153, 5, 17777, 136, 276, 56349, 49966, 23, 563, 4904, 32, 111, 1238, 3949, 3742, 237, 254, 1179, 39, 66357, 7, 2806, 1884, 9790, 25225, 17368, 123309, 1937, 19670, 7086, 214709, 11177, 11522, 678, 135913, 146...
[ 0.112060546875, 0.15380859375, 0.2149658203125, 0.14111328125, 0.207275390625, 0.03826904296875, 0.186279296875, 0.08740234375, 0.0826416015625, 0.2144775390625, 0.1748046875, 0.0721435546875, 0.1524658203125, 0.2430419921875, 0.001495361328125, 0.0150909423828125, 0.0460205078125, ...
embed
2364193_c0
2364193
fsharp
0
Title: How to generate an array of exponential weights? Problem title: How to generate an array of exponential weights? Tags: f%23 Problem: How to generate an array of exponential weights? I am trying to do an "unfold" - (I think), by starting with an initial value, applying some function to it repeatedly, and then get...
How to generate an array of exponential weights? How to generate an array of exponential weights? f%23 How How to generate an array of exponential weights? I am trying to do an "unfold" - (I think), by starting with an initial value, applying some function to it repeatedly, and then getting a sequence as a result. In t...
[ 0.0211181640625, 0.0244140625, -0.0223388671875, 0.01220703125, -0.00689697265625, 0.0059814453125, 0.0021820068359375, 0.00933837890625, 0.0164794921875, -0.0242919921875, -0.0033416748046875, 0.029296875, -0.0020751953125, -0.001800537109375, 0.005767822265625, 0.004150390625, 0.00...
[ 11249, 47, 139392, 142, 10298, 53, 111, 78643, 80973, 57888, 7, 32, 1238, 3742, 31577, 309, 42822, 5351, 72134, 61475, 34292, 59911, 32354, 119140, 20949, 944, 16750, 27781, 4034, 678, 53855, 6024, 62479, 4836, 201, 20028, 3564, 13307, 8173...
[ 0.110595703125, 0.0625, 0.226806640625, 0.045379638671875, 0.2144775390625, 0.1724853515625, 0.085205078125, 0.1962890625, 0.157958984375, 0.270263671875, 0.1129150390625, 0.012115478515625, 0.0374755859375, 0.0704345703125, 0.0684814453125, 0.06829833984375, 0.1614990234375, 0.060...
embed
74878690_c0
74878690
fsharp
0
Title: How to correctly call a function of a module in a file that includes mutiple modules in F# Problem title: How to correctly call a function of a module in a file that includes mutiple modules in F# Tags: f%23 Problem: How to correctly call a function of a module in a file that includes mutiple modules in F# After...
How to correctly call a function of a module in a file that includes mutiple modules in F# How to correctly call a function of a module in a file that includes mutiple modules in F# f%23 module How MyTest.fs MyTest MyModule1 MyModule2 Program.fs EntryPoint MyTest.MyModule2.f How to correctly call a function of a module...
[ -0.0084228515625, -0.006072998046875, 0.0086669921875, 0.0184326171875, 0.01458740234375, -0.00811767578125, 0.01544189453125, 0.00148773193359375, -0.0089111328125, -0.00909423828125, 0.003997802734375, 0.0001659393310546875, -0.002166748046875, 0.01287841796875, 0.02099609375, -0.013...
[ 11249, 26785, 11782, 32354, 111, 88996, 23, 11435, 96853, 842, 118, 8705, 7, 563, 4904, 538, 1238, 3949, 3742, 2646, 111337, 17447, 91616, 8782, 418, 304, 7663, 15123, 147534, 31852, 5442, 420, 16454, 1674, 1577, 51584, 7464, 74563, 4527, ...
[ 0.033050537109375, 0.1578369140625, 0.212890625, 0.2156982421875, 0.03717041015625, 0.253173828125, 0.055633544921875, 0.1839599609375, 0.109375, 0.145263671875, 0.156494140625, 0.149658203125, 0.006683349609375, 0.133056640625, 0.196044921875, 0.001251220703125, 0.16015625, 0.0246...
embed
20592697_c0
20592697
fsharp
0
Title: F# error, Map including Dictionary Problem title: F# error, Map including Dictionary Tags: addition, dictionary, f%23 Problem: F# error, Map including Dictionary I have made a Map which includes several Dictionaries. Everytime I receive a data, I will find the corresponding dictionary in the Map, and then add ne...
F# error, Map including Dictionary F# error, Map including Dictionary addition dictionary f%23 Map Dictionary dictionnarydata.ContainsKey key1 refdic.Value.Add F# error, Map including Dictionary I have made a Map which includes several Dictionaries. Everytime I receive a data, I will find the corresponding dictionary i...
[ -0.002716064453125, 0.01531982421875, 0.005096435546875, -0.00457763671875, -0.00007915496826171875, -0.008544921875, 0.007049560546875, 0.007659912109375, 0.00689697265625, -0.015380859375, 0.0087890625, -0.006866455078125, 0.006072998046875, 0.0284423828125, 0.035888671875, 0.0000199...
[ 563, 4904, 18499, 4, 42719, 26719, 147638, 66044, 45, 10763, 1238, 3949, 3742, 76, 10135, 11935, 25500, 162429, 22799, 18831, 18403, 856, 50770, 4028, 7228, 96853, 40368, 67437, 87769, 6032, 53299, 2053, 7413, 42518, 6635, 15190, 3525, 4677, ...
[ 0.1583251953125, 0.231201171875, 0.2091064453125, 0.006134033203125, 0.216064453125, 0.1796875, 0.2255859375, 0.1663818359375, 0.07562255859375, 0.1488037109375, 0.10076904296875, 0.039031982421875, 0.1353759765625, 0.06494140625, 0.08111572265625, 0.015960693359375, 0.14208984375, ...
embed
60687337_c1
60687337
fsharp
1
-> AcceptedGdpr { c with Contact = contact } | CheckedIn c -> CheckedIn { c with Contact = contact } // <- Here I get a compile error saying that all branches must return the same type. The problem here are the different types which are returned by the pattern matching expression. The ContactOnly and AcceptedGdpr unio...
-> AcceptedGdpr { c with Contact = contact } | CheckedIn c -> CheckedIn { c with Contact = contact } // <- Here I get a compile error saying that all branches must return the same type. The problem here are the different types which are returned by the pattern matching expression. The ContactOnly and AcceptedGdpr unio...
[ -0.0169677734375, 0.02197265625, 0.004364013671875, -0.021728515625, 0.0087890625, -0.00439453125, -0.0186767578125, 0.0146484375, 0.016357421875, 0.0152587890625, 0.0076904296875, -0.001129150390625, -0.00482177734375, 0.007354736328125, 0.00616455078125, 0.03173828125, 0.0095214843...
[ 33079, 111383, 297, 724, 71, 10287, 501, 678, 27627, 2203, 5470, 38679, 4153, 9969, 1340, 18499, 756, 90356, 7, 8110, 30646, 5701, 10644, 2967, 3688, 12921, 52895, 176377, 103510, 14858, 214, 125195, 20320, 69941, 50218, 4267, 6238, 441, 63...
[ 0.000396728515625, 0.18701171875, 0.121826171875, 0.04296875, 0.096923828125, 0.1964111328125, 0.06781005859375, 0.0897216796875, 0.2264404296875, 0.027130126953125, 0.193603515625, 0.20068359375, 0.215087890625, 0.1328125, 0.14208984375, 0.1739501953125, 0.0814208984375, 0.2219238...
embed
39013456_c0
39013456
fsharp
0
Title: Consume UWP app service from F# Problem title: Consume UWP app service from F# Tags: uwp, .net, c%23, f%23, win-universal-app Problem: Consume UWP app service from F# I am resorted to create a Universal Windows Platform (UWP) app service provider in C# since the library I want to use is only available from withi...
Consume UWP app service from F# Consume UWP app service from F# uwp .net c%23 f%23 win-universal-app F# Consume UWP Consume UWP app service from F# I am resorted to create a Universal Windows Platform (UWP) app service provider in C# since the library I want to use is only available from within UWP apps. However, I nee...
[ 0.00390625, 0.04248046875, 0.0029449462890625, 0.00689697265625, -0.00592041015625, 0.0101318359375, 0.013916015625, -0.0035247802734375, 0.0164794921875, 0.002471923828125, -0.0081787109375, -0.00616455078125, 0.03662109375, 0.022216796875, 0.005340576171875, -0.015380859375, -0.011...
[ 76980, 13, 345, 139873, 4027, 4516, 1295, 563, 4904, 4424, 254, 1179, 3742, 19916, 49545, 289, 9007, 70634, 28282, 53900, 3773, 70968, 1062, 81450, 23, 313, 35773, 3444, 4527, 19882, 28032, 49966, 3871, 33022, 2271, 40777, 38415, 11782, 369...
[ 0.244873046875, 0.040985107421875, 0.1646728515625, 0.260498046875, 0.2138671875, 0.2181396484375, 0.1195068359375, 0.16796875, 0.251708984375, 0.1451416015625, 0.1646728515625, 0.1484375, 0.05010986328125, 0.157470703125, 0.0860595703125, 0.060943603515625, 0.1793212890625, 0.0544...
embed
41814509_c0
41814509
fsharp
0
Title: F# implicit typing choking on simple recursion Problem title: F# implicit typing choking on simple recursion Tags: syntax, f%23, recursion, implicit-typing Problem: F# implicit typing choking on simple recursion When I define a recursive function in F# thus: let rec recursiveSum inputs = let startState = 0.0m if...
F# implicit typing choking on simple recursion F# implicit typing choking on simple recursion syntax f%23 recursion implicit-typing List.length inputs.Head List.tail List.isEmpty recursion.fsx FS0001 F# implicit typing choking on simple recursion When I define a recursive function in F# thus: ...all is good. When I att...
[ -0.02294921875, 0.01239013671875, 0.0069580078125, 0.01239013671875, 0.0081787109375, -0.001800537109375, -0.01446533203125, -0.01287841796875, -0.0014801025390625, -0.00014781951904296875, 0.0228271484375, -0.0087890625, -0.010498046875, 0.0018768310546875, 0.0225830078125, 0.00270080...
[ 563, 4904, 165164, 11417, 214, 681, 6048, 98, 8781, 195625, 6002, 1238, 3742, 46280, 32036, 23986, 107730, 13025, 712, 46741, 164, 134332, 939, 1830, 425, 93774, 188735, 61924, 5844, 32354, 153, 5584, 83, 4127, 81887, 71864, 33548, 5303, 29...
[ 0.109130859375, 0.183349609375, 0.204833984375, 0.1451416015625, 0.01080322265625, 0.1463623046875, 0.08447265625, 0.006439208984375, 0.0943603515625, 0.203857421875, 0.013427734375, 0.04644775390625, 0.0909423828125, 0.1505126953125, 0.125, 0.00018310546875, 0.080322265625, 0.0183...
embed
20568309_c0
20568309
fsharp
0
Title: Feeding tuple into function such as printfn Problem title: Feeding tuple into function such as printfn Tags: operators, tuples, f%23 Problem: Feeding tuple into function such as printfn I want to give a tuple to a printf function: let tuple = ("Hello", "world") do printfn "%s %s" tuple This, of course, does not ...
Feeding tuple into function such as printfn Feeding tuple into function such as printfn operators tuples f%23 Feeding Hello Feeding tuple into function such as printfn I want to give a tuple to a printf function: This, of course, does not work, compiler first says, that it needs string instead of string*string . I writ...
[ 0.0062255859375, 0.00994873046875, 0.021728515625, 0.03466796875, -0.00384521484375, 0.01116943359375, -0.002197265625, -0.00144195556640625, -0.00005316734313964844, -0.0211181640625, 0.0184326171875, 0.006072998046875, -0.01495361328125, 0.015869140625, -0.001739501953125, 0.00043106...
[ 124689, 370, 8705, 3934, 32354, 28412, 14783, 6044, 39933, 99726, 1238, 3949, 3742, 35378, 3444, 8337, 47, 420, 959, 4488, 9969, 34759, 27117, 79315, 64457, 1639, 91693, 33022, 31635, 73048, 34292, 10644, 25072, 10422, 831, 43240, 10443, 2967...
[ 0.20703125, 0.12548828125, 0.2265625, 0.1207275390625, 0.1978759765625, 0.18896484375, 0.17822265625, 0.0010986328125, 0.170166015625, 0.1793212890625, 0.044677734375, 0.0216827392578125, 0.12646484375, 0.1558837890625, 0.04974365234375, 0.112548828125, 0.021087646484375, 0.1644287...
embed
29125439_c0
29125439
fsharp
0
Title: F# MvcWebApi - Postman - FromBody always null Problem title: F# MvcWebApi - Postman - FromBody always null Tags: postman, f%23, asp.net-mvc Problem: F# MvcWebApi - Postman - FromBody always null I have just started to begin playing around with an F# MvcWebApi. I have started with the basic template and have mana...
F# MvcWebApi - Postman - FromBody always null F# MvcWebApi - Postman - FromBody always null postman f%23 asp.net-mvc MvcWebApi Postman FromBody ValuesController ApiController Always x.Post data:string Works Succesful asp.net-mvc F# MvcWebApi - Postman - FromBody always null I have just started to begin playing around w...
[ -0.00109100341796875, 0.0186767578125, -0.00244140625, -0.00274658203125, -0.004058837890625, 0.0211181640625, 0.028564453125, -0.0050048828125, -0.009033203125, -0.0263671875, 0.0242919921875, -0.0126953125, -0.0162353515625, -0.009765625, 0.0189208984375, 0.00102996826171875, 0.001...
[ 563, 4904, 276, 66357, 30474, 284, 1434, 2795, 669, 28090, 12647, 1459, 11343, 56574, 1305, 1238, 3742, 237, 254, 1179, 190060, 175904, 603, 5787, 14, 203623, 1022, 49411, 2053, 91693, 27985, 209833, 75169, 10932, 62822, 110934, 20697, 14361,...
[ 0.0682373046875, 0.1649169921875, 0.037139892578125, 0.154296875, 0.1280517578125, 0.050445556640625, 0.163330078125, 0.1246337890625, 0.16015625, 0.1798095703125, 0.1473388671875, 0.134765625, 0.10662841796875, 0.2235107421875, 0.0928955078125, 0.0184783935546875, 0.0308074951171875...
embed
1974073_c0
1974073
fsharp
0
Title: F# Type Inference and System.Object Problem title: F# Type Inference and System.Object Tags: f%23, inference, object, types Problem: F# Type Inference and System.Object I have a problem getting the following code to work. open System open System.ComponentModel open System.Threading let triggerEvent (state : Obje...
F# Type Inference and System.Object F# Type Inference and System.Object f%23 inference object types Type Inference System.Object System System.ComponentModel System.Threading Object Console.Write Something AsyncOperationManager.CreateOperation asyncContext.PostOperationCompleted F# Type Inference and System.Object I ha...
[ 0.0032196044921875, -0.003753662109375, -0.01611328125, -0.0020904541015625, -0.005096435546875, -0.01513671875, -0.0067138671875, 0.01263427734375, -0.005645751953125, -0.0322265625, -0.003997802734375, -0.004852294921875, -0.01129150390625, -0.00830078125, 0.0050048828125, -0.0086669...
[ 563, 4904, 60457, 360, 69988, 136, 12353, 46471, 75161, 1238, 3742, 53498, 6620, 36746, 52895, 140290, 39116, 134549, 40777, 12654, 156823, 12662, 33730, 22829, 49411, 133, 2967, 20949, 25632, 18151, 4488, 18499, 185553, 192134, 83, 10644, 242,...
[ 0.07757568359375, 0.1766357421875, 0.2003173828125, 0.06976318359375, 0.209716796875, 0.039398193359375, 0.10003662109375, 0.094970703125, 0.091552734375, 0.022552490234375, 0.080078125, 0.19677734375, 0.01470947265625, 0.1519775390625, 0.1600341796875, 0.0701904296875, 0.04391479492...
embed
23482959_c0
23482959
fsharp
0
Title: get count of numbers in an infinite sequence when it reaches condition Problem title: get count of numbers in an infinite sequence when it reaches condition Tags: f%23 Problem: get count of numbers in an infinite sequence when it reaches condition i want to use the functional way to count this and i want to coun...
get count of numbers in an infinite sequence when it reaches condition get count of numbers in an infinite sequence when it reaches condition f%23 conjv2 Seq.initInfinite Seq.takeWhile Seq.length get count of numbers in an infinite sequence when it reaches condition i want to use the functional way to count this and i ...
[ 0.007781982421875, 0.007537841796875, -0.013427734375, 0.01544189453125, 0.0167236328125, -0.006500244140625, 0.0123291015625, 0.00848388671875, 0.020751953125, -0.04638671875, -0.006011962890625, 0.01556396484375, 0.0220947265625, 0.0277099609375, 0.0240478515625, 0.016357421875, -0...
[ 2046, 54529, 111, 101935, 23, 54241, 13, 40, 944, 3956, 3229, 58359, 90, 35431, 142, 1238, 3949, 3742, 158, 170, 334, 304, 503, 864, 217, 48310, 67, 78219, 979, 23986, 3444, 4527, 123309, 3917, 903, 93766, 4343, 70, 8305, 959, 4488, 3...
[ 0.0833740234375, 0.2322998046875, 0.0980224609375, 0.2010498046875, 0.06158447265625, 0.169677734375, 0.074951171875, 0.0677490234375, 0.145751953125, 0.0960693359375, 0.09674072265625, 0.1781005859375, 0.08349609375, 0.258544921875, 0.008514404296875, 0.082763671875, 0.0540161132812...
embed
22496855_c0
22496855
fsharp
0
Title: What is the F# interactive window good for? Problem title: What is the F# interactive window good for? Tags: f%23, visual-studio Problem: What is the F# interactive window good for? Am I able to script macros here? Maybe process some text? I may be interest in learning F# if this window provided the ability to p...
What is the F# interactive window good for? What is the F# interactive window good for? f%23 visual-studio What What is the F# interactive window good for? Am I able to script macros here? Maybe process some text? I may be interest in learning F# if this window provided the ability to process the current document, etc....
[ -0.006317138671875, -0.012451171875, 0.0181884765625, 0.0036468505859375, 0.0036468505859375, 0.0186767578125, 0.00335693359375, -0.0093994140625, 0.00408935546875, -0.002105712890625, -0.01116943359375, -0.01446533203125, 0, 0.00933837890625, -0.007110595703125, -0.00274658203125, 0...
[ 4865, 83, 70, 563, 4904, 212398, 76896, 4127, 100, 1238, 3949, 3742, 21176, 9, 52629, 2022, 19048, 47, 26499, 111789, 7, 3688, 83425, 9433, 7986, 1543, 33946, 52080, 903, 62952, 81273, 43581, 12937, 26484, 57143, 32562, 103391, 33720, 2367,...
[ 0.107666015625, 0.06805419921875, 0.0714111328125, 0.1640625, 0.270263671875, 0.2470703125, 0.2318115234375, 0.1669921875, 0.180908203125, 0.107421875, 0.009185791015625, 0.110595703125, 0.152099609375, 0.0074462890625, 0.1680908203125, 0.009490966796875, 0.079833984375, 0.03048706...
embed
41717245_c0
41717245
fsharp
0
Title: where does the log is created by default in FAKE F#Make? Problem title: where does the log is created by default in FAKE F#Make? Tags: f%23-fake, msbuild, f%23 Problem: where does the log is created by default in FAKE F#Make? I am trying to build a csproj file with FAKE, following the "Getting started with FAKE ...
where does the log is created by default in FAKE F#Make? where does the log is created by default in FAKE F#Make? f%23-fake msbuild f%23 FAKE Make Log AppBuild-Output Target BuildApp MSBuildRelease Build where does the log is created by default in FAKE F#Make? I am trying to build a csproj file with FAKE, following the...
[ 0.0026702880859375, 0.044677734375, 0.000698089599609375, -0.00122833251953125, 0.02001953125, 0.0031585693359375, 0.00982666015625, -0.01031494140625, 0.013916015625, 0.027099609375, 0.005859375, -0.01092529296875, 0.0291748046875, -0.0016326904296875, 0.0145263671875, -0.017700195312...
[ 7440, 14602, 70, 12684, 83, 75935, 390, 114977, 563, 119960, 4904, 76978, 13, 23, 1238, 27495, 1021, 350, 68163, 177149, 3742, 26176, 13146, 5659, 121137, 79858, 160017, 39179, 16265, 133, 45367, 20763, 3454, 170, 11435, 678, 13315, 105233, ...
[ 0.150146484375, 0.00927734375, 0.0255584716796875, 0.2279052734375, 0.0247344970703125, 0.1824951171875, 0.0902099609375, 0.227294921875, 0.1412353515625, 0.2308349609375, 0.127197265625, 0.169677734375, 0.13427734375, 0.03369140625, 0.01239013671875, 0.039703369140625, 0.1708984375,...
embed
2026556_c1
2026556
fsharp
1
"got: %A" z' return z } printfn "three steps" let a = x() printfn "something inbetween" let b = a() printfn "something inbetween" let c = b() And the results are what I'm looking for: two steps got: "foo" something inbetween got: "foobar" three steps got: "foo" something inbetween got: "foobar" something inbetween got...
"got: %A" z' return z } printfn "three steps" let a = x() printfn "something inbetween" let b = a() printfn "something inbetween" let c = b() And the results are what I'm looking for: two steps got: "foo" something inbetween got: "foobar" three steps got: "foo" something inbetween got: "foobar" something inbetween got...
[ -0.0103759765625, 0.036376953125, 0.00167083740234375, 0.00194549560546875, 0.0010528564453125, -0.002197265625, 0.02734375, -0.006072998046875, 0.046875, -0.0267333984375, -0.0108642578125, 0.0159912109375, -0.0167236328125, 0.017578125, 0.004364013671875, 0.005279541015625, 0.01623...
[ 9904, 1745, 284, 97, 30646, 28412, 14783, 927, 107, 13, 98441, 2633, 10, 1022, 64113, 23, 4626, 1177, 33, 876, 43452, 50339, 16487, 100, 6626, 4163, 3584, 31, 9844, 1299, 17262, 115674, 82249, 26366, 4537, 7225, 1884, 19048, 61590, 47353,...
[ 0.17041015625, 0.072021484375, 0.043914794921875, 0.04833984375, 0.1124267578125, 0.11376953125, 0.0948486328125, 0.0648193359375, 0.1549072265625, 0.0628662109375, 0.256103515625, 0.039306640625, 0.006591796875, 0.035369873046875, 0.096435546875, 0.0941162109375, 0.142333984375, 0...
embed
27971077_c0
27971077
fsharp
0
Title: Setting Solution Filename on OutDir Problem title: Setting Solution Filename on OutDir Tags: f%23-fake, f%23 Problem: Setting Solution Filename on OutDir I have a file set which is a scan for all of the *.sln files in my source tree. There is currently 4 folders With the masterParam I am passing in the GenerateP...
Setting Solution Filename on OutDir Setting Solution Filename on OutDir f%23-fake f%23 Setting Solution Filename OutDir Configuration GenerateProjectSpecificOutputFolder BuildInParallel MSBuild Build Log Build-Output Setting Solution Filename on OutDir I have a file set which is a scan for all of the *.sln files in my ...
[ 0.0103759765625, 0.0230712890625, -0.002227783203125, 0.00994873046875, -0.01153564453125, 0.01708984375, -0.01165771484375, -0.007354736328125, 0.0103759765625, 0.052001953125, 0.0050048828125, -0.0159912109375, 0.002532958984375, 0.017333984375, 0.0213623046875, -0.002471923828125, ...
[ 503, 19514, 187895, 42724, 11627, 98, 13538, 397, 481, 1238, 27495, 1021, 350, 3742, 59994, 155370, 67, 223353, 47107, 14486, 79858, 7077, 31178, 121137, 55292, 1229, 16265, 13146, 11435, 5423, 83, 44954, 661, 24861, 19, 102158, 31344, 53201,...
[ 0.133544921875, 0.061126708984375, 0.2442626953125, 0.1671142578125, 0.18896484375, 0.1051025390625, 0.2327880859375, 0.1800537109375, 0.2130126953125, 0.028594970703125, 0.042755126953125, 0.152099609375, 0.08990478515625, 0.0821533203125, 0.067626953125, 0.0711669921875, 0.00421142...
embed
28000020_c0
28000020
fsharp
0
Title: Initializing class instance similar to records in F# Problem title: Initializing class instance similar to records in F# Tags: f%23, .net Problem: Initializing class instance similar to records in F# With record types in F# you can use a syntax like this to initialize a record based on another one: let rr3 = { d...
Initializing class instance similar to records in F# Initializing class instance similar to records in F# f%23 .net Initializing rr3 defaultRecord1 field2 Clone Initializing class instance similar to records in F# With record types in F# you can use a syntax like this to initialize a record based on another one: Is the...
[ -0.01806640625, 0.01495361328125, 0.0068359375, 0.0018310546875, 0.0030059814453125, -0.0289306640625, -0.0111083984375, -0.01513671875, 0.01116943359375, 0.007476806640625, -0.00469970703125, 0.01123046875, 0.01806640625, 0.005645751953125, -0.00653076171875, -0.01300048828125, -0.0...
[ 360, 1890, 289, 84382, 18507, 110527, 21373, 47, 115923, 563, 4904, 23, 1238, 3742, 1179, 29161, 363, 114977, 32271, 44457, 51053, 86, 17164, 52895, 831, 4527, 10, 6002, 86531, 1884, 903, 61475, 20650, 35509, 15700, 1632, 158, 318, 27650, ...
[ 0.0760498046875, 0.133544921875, 0.0933837890625, 0.07940673828125, 0.182861328125, 0.19384765625, 0.1663818359375, 0.0338134765625, 0.2216796875, 0.1253662109375, 0.2098388671875, 0.03216552734375, 0.0248565673828125, 0.075439453125, 0.1160888671875, 0.046783447265625, 0.08764648437...
embed
28650755_c0
28650755
fsharp
0
Title: F# - WPF treeview - bind self referencing dataset using XAML Problem title: F# - WPF treeview - bind self referencing dataset using XAML Tags: treeview, wpf, xaml, f%23, binding Problem: F# - WPF treeview - bind self referencing dataset using XAML I'm not very familiar with WPF, and I use it with F#. The scenari...
F# - WPF treeview - bind self referencing dataset using XAML F# - WPF treeview - bind self referencing dataset using XAML treeview wpf xaml f%23 binding XAML WPF F# - WPF treeview - bind self referencing dataset using XAML I'm not very familiar with WPF, and I use it with F#. The scenario is that I have a dataset with ...
[ 0.0189208984375, 0.042236328125, -0.0015411376953125, -0.006439208984375, 0.004119873046875, 0.0042724609375, 0.005950927734375, -0.00110626220703125, -0.006744384765625, -0.038330078125, -0.000865936279296875, -0.0311279296875, -0.014892578125, 0.0220947265625, 0.005615234375, 0.00167...
[ 563, 4904, 601, 41265, 53201, 22751, 68557, 15970, 142447, 214, 2053, 3509, 17368, 65415, 39456, 39557, 2459, 7237, 1238, 3949, 3742, 128239, 16031, 4527, 106117, 678, 49129, 7146, 44116, 10176, 13765, 15555, 76685, 72697, 38162, 2276, 43084, ...
[ 0.1092529296875, 0.20947265625, 0.101318359375, 0.2335205078125, 0.19091796875, 0.284912109375, 0.2232666015625, 0.1663818359375, 0.2291259765625, 0.0008544921875, 0.095703125, 0.1483154296875, 0.030364990234375, 0.1334228515625, 0.2213134765625, 0.146728515625, 0.0679931640625, 0....
embed
28901367_c0
28901367
fsharp
0
Title: F#: Converting tuples into a hashtable Problem title: F#: Converting tuples into a hashtable Tags: hashmap, hashtable, f%23 Problem: F#: Converting tuples into a hashtable I am new to programming, and this is my first time working with a typed, functional, and .NET language, so pardon me if my question is silly/...
F#: Converting tuples into a hashtable F#: Converting tuples into a hashtable hashmap hashtable f%23 Converting Hashtable List.map File.ReadAllBytes hashtable.Add F#: Converting tuples into a hashtable I am new to programming, and this is my first time working with a typed, functional, and .NET language, so pardon me i...
[ 0.0040283203125, -0.004730224609375, 0.00592041015625, 0.008056640625, -0.0169677734375, -0.019287109375, -0.0029754638671875, -0.01007080078125, 0.001007080078125, -0.000186920166015625, 0.01116943359375, 0.0189208984375, 0.0185546875, 0.049072265625, 0.00060272216796875, 0.0033721923...
[ 563, 4904, 1657, 814, 370, 99726, 3934, 1556, 127, 22819, 256, 80425, 254, 1238, 3742, 162087, 32036, 62346, 42724, 31345, 43512, 75358, 4028, 1916, 10, 3525, 56037, 1733, 20697, 10644, 123309, 17777, 46876, 158003, 12097, 5303, 1884, 4343, ...
[ 0.084228515625, 0.1671142578125, 0.01983642578125, 0.1099853515625, 0.1285400390625, 0.2335205078125, 0.083740234375, 0.15625, 0.0863037109375, 0.212646484375, 0.0975341796875, 0.03338623046875, 0.0714111328125, 0.016448974609375, 0.0970458984375, 0.1563720703125, 0.1009521484375, ...
embed
66691049_c0
66691049
fsharp
0
Title: F# anonymous functions, pipelining Problem title: F# anonymous functions, pipelining Tags: f%23, pipelining, lambda, anonymous-function Problem: F# anonymous functions, pipelining I am trying to understand lambda functions from the beginning of my f# course and still struggling to read and use them sometimes. le...
F# anonymous functions, pipelining F# anonymous functions, pipelining f%23 pipelining lambda anonymous-function Split wordCount.Length Array.sumBy w.Length F# anonymous functions, pipelining I am trying to understand lambda functions from the beginning of my f# course and still struggling to read and use them sometimes...
[ 0.0020751953125, 0.00323486328125, -0.0198974609375, 0.0205078125, -0.01422119140625, -0.0020751953125, 0.0030059814453125, 0.00185394287109375, 0.0123291015625, -0.0361328125, -0.0172119140625, 0.003814697265625, 0.0167236328125, 0.01318359375, -0.0035552978515625, -0.0033721923828125...
[ 563, 4904, 52184, 10821, 32354, 137158, 150, 592, 1238, 3742, 21, 6492, 85, 137175, 46474, 2565, 108210, 449, 69253, 53, 11832, 75358, 148, 28219, 237875, 12301, 4527, 124519, 80560, 2472, 50960, 13319, 83, 10298, 79315, 84022, 56128, 3642, ...
[ 0.1014404296875, 0.1705322265625, 0.194580078125, 0.0980224609375, 0.1744384765625, 0.1319580078125, 0.117431640625, 0.046478271484375, 0.0592041015625, 0.11376953125, 0.041839599609375, 0.1708984375, 0.125244140625, 0.1656494140625, 0.1893310546875, 0.2117919921875, 0.248779296875, ...
embed
59249297_c0
59249297
fsharp
0
Title: How to get Avro serialised message from a F# record? Problem title: How to get Avro serialised message from a F# record? Tags: avro, f%23 Problem: How to get Avro serialised message from a F# record? I have the following in F#: type HitType = { hitHostname : string; hitMemoryUsed : float; hitPage : string; } I t...
How to get Avro serialised message from a F# record? How to get Avro serialised message from a F# record? avro f%23 InvalidCastException a How Avro HitType SpecificDatumWriter MemoryStream BinaryEncoder specificDatumWriter.Write encoder.Flush memStream.ToArray None Unable TrckFsharp.HitType Avro.Specific.ISpecificRecor...
[ -0.01043701171875, 0.0089111328125, -0.01373291015625, -0.0045166015625, -0.019287109375, -0.011962890625, -0.01312255859375, -0.01055908203125, -0.0111083984375, -0.00933837890625, 0.0093994140625, 0.004608154296875, 0.027099609375, 0.00921630859375, 0.01611328125, -0.00830078125, -...
[ 11249, 2046, 4908, 516, 17594, 48353, 26008, 1295, 563, 4904, 17164, 185, 1238, 3949, 3742, 7013, 174830, 63928, 43482, 196707, 209052, 77318, 2783, 172681, 115061, 54092, 587, 29458, 5782, 7199, 2886, 5454, 2594, 89280, 841, 47107, 32271, 19...
[ 0.078857421875, 0.1085205078125, 0.213623046875, 0.261962890625, 0.223876953125, 0.169677734375, 0.162353515625, 0.0609130859375, 0.081787109375, 0.17529296875, 0.1915283203125, 0.1610107421875, 0.00830078125, 0.0074462890625, 0.11474609375, 0.11865234375, 0.085693359375, 0.1503906...
embed
42428907_c1
42428907
fsharp
1
Trojan horse? Also, does anyone know what FSharp.Core.resources.dll even is? It looks like Xamarin has mistaken FSharp.Core.dll for a localisable assembly, and tried to load an associated resources project. UPDATE So deep within mscorlib, there is a class called ManifestBasedResourceGroveler , and its GrovelForResourc...
Trojan horse? Also, does anyone know what FSharp.Core.resources.dll even is? It looks like Xamarin has mistaken FSharp.Core.dll for a localisable assembly, and tried to load an associated resources project. UPDATE So deep within mscorlib, there is a class called ManifestBasedResourceGroveler , and its GrovelForResourc...
[ -0.005584716796875, 0.031982421875, -0.011962890625, -0.018310546875, -0.0089111328125, -0.01422119140625, 0.0101318359375, 0.005584716796875, -0.00194549560546875, -0.01434326171875, 0.0166015625, -0.02490234375, 0.0045166015625, 0.0166015625, 0.023193359375, 0.000507354736328125, 0...
[ 8302, 2864, 111649, 35672, 3714, 2367, 93774, 3467, 254, 5, 50886, 13, 107, 60427, 7, 71, 1181, 83, 33342, 8606, 44503, 121742, 39861, 89845, 37842, 72367, 137272, 65514, 13452, 53894, 28032, 68163, 10517, 5612, 18507, 92669, 63473, 297, 43...
[ 0.1444091796875, 0.1329345703125, 0.1929931640625, 0.01422119140625, 0.045684814453125, 0.021942138671875, 0.0899658203125, 0.174072265625, 0.1912841796875, 0.011993408203125, 0.1556396484375, 0.088623046875, 0.085205078125, 0.2242431640625, 0.070556640625, 0.0216522216796875, 0.1572...
embed
11145680_c0
11145680
fsharp
0
Title: In F#, how do you curry ParamArray functions (like sprintf)? Problem title: In F#, how do you curry ParamArray functions (like sprintf)? Tags: f%23, currying, paramarray, printf Problem: In F#, how do you curry ParamArray functions (like sprintf)? In F#, how do you curry a function that accepts a variable number...
In F#, how do you curry ParamArray functions (like sprintf)? In F#, how do you curry ParamArray functions (like sprintf)? f%23 currying paramarray printf ParamArray Sample Test In F#, how do you curry ParamArray functions (like sprintf)? In F#, how do you curry a function that accepts a variable number of parameters? I...
[ 0.0008392333984375, 0.00531005859375, 0.0111083984375, 0.00762939453125, 0.0025482177734375, 0.0026397705078125, 0.013671875, -0.006011962890625, 0.00848388671875, -0.01190185546875, 0.035888671875, -0.0213623046875, -0.0133056640625, -0.0262451171875, 0.0128173828125, -0.025146484375,...
[ 563, 4904, 3642, 198555, 1720, 39, 7614, 7092, 32354, 145320, 420, 1238, 3742, 214, 121, 1727, 28412, 33209, 8647, 360, 26946, 77336, 14012, 171859, 18151, 12684, 27781, 208124, 35839, 87420, 9384, 79315, 123309, 33342, 1884, 27875, 10750, 83...
[ 0.1171875, 0.1717529296875, 0.050750732421875, 0.274169921875, 0.120361328125, 0.10321044921875, 0.12060546875, 0.2100830078125, 0.2012939453125, 0.1834716796875, 0.19677734375, 0.0772705078125, 0.0966796875, 0.03338623046875, 0.074462890625, 0.0248260498046875, 0.0916748046875, 0....
embed
26604766_c0
26604766
fsharp
0
Title: F# stream of armstrong numbers Problem title: F# stream of armstrong numbers Tags: f%23 Problem: F# stream of armstrong numbers I am seeking help, mainly because I am very new to F# environment. I need to use F# stream to generate an infinite stream of Armstrong Numbers. Can any one help with this one. I have do...
F# stream of armstrong numbers F# stream of armstrong numbers f%23 Cons n-1 F# stream of armstrong numbers I am seeking help, mainly because I am very new to F# environment. I need to use F# stream to generate an infinite stream of Armstrong Numbers. Can any one help with this one. I have done some mambo jumbo but I ha...
[ -0.0181884765625, 0.0194091796875, -0.00372314453125, -0.000598907470703125, 0.005889892578125, -0.00457763671875, 0.000041484832763671875, 0.00433349609375, 0.00897216796875, -0.00787353515625, 0.0233154296875, -0.0084228515625, 0.011474609375, 0.0162353515625, 0.00738525390625, 0.007...
[ 563, 4904, 75973, 111, 16294, 6639, 449, 101935, 1238, 3949, 3742, 39215, 653, 5759, 87, 444, 191618, 4358, 4552, 3525, 47, 65998, 3871, 4527, 139392, 54241, 13, 191011, 103332, 7, 4171, 2499, 1632, 903, 765, 16940, 30601, 1129, 7567, 128...
[ 0.1820068359375, 0.22509765625, 0.238525390625, 0.0841064453125, 0.1407470703125, 0.184326171875, 0.108642578125, 0.1705322265625, 0.13623046875, 0.044952392578125, 0.14794921875, 0.1756591796875, 0.025115966796875, 0.08935546875, 0.01104736328125, 0.009368896484375, 0.08612060546875...
embed
39274881_c0
39274881
fsharp
0
Title: F# type constraint for record type with specific property Problem title: F# type constraint for record type with specific property Tags: type-constraints, generics, f%23 Problem: F# type constraint for record type with specific property I'm trying to create a generic function which requires of its type argument ...
F# type constraint for record type with specific property F# type constraint for record type with specific property type-constraints generics f%23 get_Int F# type constraint for record type with specific property I'm trying to create a generic function which requires of its type argument that it is a record type, and t...
[ 0.004791259765625, -0.0115966796875, 0.00006437301635742188, 0.006103515625, -0.010498046875, -0.01171875, -0.015380859375, 0.01513671875, -0.00142669677734375, -0.01348876953125, 0.011962890625, 0.0032806396484375, -0.006744384765625, -0.020263671875, 0.00112152099609375, -0.010253906...
[ 563, 4904, 10644, 158, 2816, 4288, 17164, 678, 29458, 57266, 2271, 189534, 1238, 3742, 2046, 4153, 18, 100, 28282, 32354, 144570, 10750, 121413, 9969, 34759, 18499, 15612, 49725, 67967, 1909, 83, 959, 61924, 154107, 25632, 1340, 186992, 18151...
[ 0.08929443359375, 0.195556640625, 0.2042236328125, 0.0924072265625, 0.1812744140625, 0.0877685546875, 0.1900634765625, 0.041229248046875, 0.1513671875, 0.1729736328125, 0.051727294921875, 0.1827392578125, 0.059661865234375, 0.10888671875, 0.08056640625, 0.083251953125, 0.055145263671...
embed
23276606_c0
23276606
fsharp
0
Title: FSharp GetGenericArguments().[0].Name returns T instead of actual type name Problem title: FSharp GetGenericArguments().[0].Name returns T instead of actual type name Tags: system.reflection, f%23 Problem: FSharp GetGenericArguments().[0].Name returns T instead of actual type name I'm having an issue trying to r...
FSharp GetGenericArguments().[0].Name returns T instead of actual type name FSharp GetGenericArguments().[0].Name returns T instead of actual type name system.reflection f%23 FSharp GetGenericArguments Name system.reflection FSharp GetGenericArguments().[0].Name returns T instead of actual type name I'm having an issue...
[ 0.01708984375, 0.0162353515625, 0.00138092041015625, 0.0179443359375, -0.0224609375, 0.01397705078125, -0.0015716552734375, 0.0034332275390625, -0.009765625, 0.00408935546875, 0.018798828125, 0.0225830078125, -0.022705078125, 0.0009307861328125, 0.002410888671875, 0.003814697265625, ...
[ 93774, 3467, 254, 20779, 135932, 12259, 7614, 1234, 9035, 2389, 163612, 30646, 384, 64457, 8561, 10644, 9351, 5426, 107, 34334, 3742, 15757, 31089, 44961, 645, 189534, 10750, 563, 4904, 27875, 6626, 52895, 47, 32354, 3444, 7413, 29479, 116, ...
[ 0.0736083984375, 0.1943359375, 0.155029296875, 0.1075439453125, 0.1507568359375, 0.1177978515625, 0.10748291015625, 0.2236328125, 0.1383056640625, 0.1123046875, 0.2137451171875, 0.1805419921875, 0.152587890625, 0.1708984375, 0.1138916015625, 0.1903076171875, 0.11865234375, 0.102661...
embed
31818738_c0
31818738
fsharp
0
Title: How to format strings to print in a file with F# Problem title: How to format strings to print in a file with F# Tags: f%23, f%23-3.0 Problem: How to format strings to print in a file with F# This code is printing float numbers in the file with this format f,ffffff (with comma) and the numbers are in a row, but ...
How to format strings to print in a file with F# How to format strings to print in a file with F# f%23 f%23-3.0 How w:float ToString File.AppendAllText File.AppendAllLines How to format strings to print in a file with F# This code is printing float numbers in the file with this format f,ffffff (with comma) and the numb...
[ 0.002532958984375, -0.006866455078125, 0.002716064453125, 0.00579833984375, 0.004974365234375, -0.0064697265625, 0.024658203125, -0.0040283203125, 0.0087890625, 0.0537109375, -0.00171661376953125, -0.0006256103515625, 0.006195068359375, -0.006134033203125, 0.01043701171875, -0.01049804...
[ 11249, 47, 9384, 79315, 7, 28412, 23, 11435, 678, 563, 4904, 1238, 3742, 27495, 132265, 148, 52347, 257, 717, 71713, 214, 42724, 39179, 3611, 43512, 174379, 93232, 18151, 2448, 1916, 21917, 101935, 4902, 76228, 96117, 15555, 3871, 1884, 903...
[ 0.068359375, 0.061279296875, 0.250244140625, 0.259765625, 0.0872802734375, 0.2159423828125, 0.0628662109375, 0.1898193359375, 0.0826416015625, 0.148193359375, 0.21337890625, 0.103759765625, 0.1322021484375, 0.0802001953125, 0.1451416015625, 0.0809326171875, 0.177001953125, 0.102294...
embed
32254580_c1
32254580
fsharp
1
the complexity of the objects and structures used in our DB. The first error is due to a User-Defined Table Types called udt_IncidentExposure in the function utvf_VehiclesSummaryUDT . The second is because the temporary table #updatedPriceTab is called in asynch.usp_LBNGBasket but created in another stored procedures....
the complexity of the objects and structures used in our DB. The first error is due to a User-Defined Table Types called udt_IncidentExposure in the function utvf_VehiclesSummaryUDT . The second is because the temporary table #updatedPriceTab is called in asynch.usp_LBNGBasket but created in another stored procedures....
[ 0.0194091796875, 0.0140380859375, -0.00738525390625, 0.00592041015625, 0.0115966796875, 0.00830078125, -0.0191650390625, -0.018798828125, 0.004486083984375, -0.046630859375, -0.004791259765625, -0.009521484375, 0.033203125, -0.005859375, 0.01025390625, 0.00543212890625, 0.00448608398...
[ 27140, 2481, 36746, 136, 45646, 11814, 2446, 57976, 5117, 18499, 4743, 53400, 187423, 112997, 60457, 1872, 18, 36079, 19279, 7522, 3408, 32354, 486, 334, 420, 26455, 979, 66695, 14168, 2276, 6635, 26119, 618, 581, 17932, 6637, 70, 142458, 2...
[ 0.1793212890625, 0.0482177734375, 0.1456298828125, 0.052886962890625, 0.1541748046875, 0.0887451171875, 0.01751708984375, 0.155029296875, 0.06793212890625, 0.21923828125, 0.04766845703125, 0.1138916015625, 0.092529296875, 0.1697998046875, 0.2054443359375, 0.10662841796875, 0.12280273...
embed
68851007_c0
68851007
fsharp
0
Title: F# - Type Constraints with primitives Problem title: F# - Type Constraints with primitives Tags: generics, f%23 Problem: F# - Type Constraints with primitives I would like to add type constraints as shown below. When I do, I get the error error FS0698: Invalid constraint: the type used for the constraint is seal...
F# - Type Constraints with primitives F# - Type Constraints with primitives generics f%23 Type Constraints PropertyValue System.Int16 System.String Single Array PropertyValueInfo StringArray IntArray F# - Type Constraints with primitives I would like to add type constraints as shown below. When I do, I get the error er...
[ -0.007049560546875, -0.0123291015625, -0.006866455078125, 0.0096435546875, -0.0045166015625, -0.016845703125, -0.0128173828125, -0.00732421875, -0.00543212890625, 0.012939453125, 0.004058837890625, -0.017822265625, -0.00023746490478515625, -0.0101318359375, -0.0018768310546875, 0.01904...
[ 563, 4904, 60457, 1657, 2816, 4288, 678, 128489, 189534, 1238, 3742, 206984, 856, 50770, 12353, 18, 2485, 71713, 43609, 69253, 93147, 23351, 7092, 90, 15190, 10644, 158, 18499, 93774, 9016, 16665, 360, 7013, 11814, 83, 28704, 297, 5809, 473...
[ 0.08502197265625, 0.154296875, 0.2000732421875, 0.10736083984375, 0.1993408203125, 0.127685546875, 0.062255859375, 0.1671142578125, 0.133544921875, 0.029876708984375, 0.0941162109375, 0.1043701171875, 0.0172271728515625, 0.05645751953125, 0.055633544921875, 0.06060791015625, 0.128540...
embed
39169500_c0
39169500
fsharp
0
Title: Curried Arguments in Discriminated Unions Problem title: Curried Arguments in Discriminated Unions Tags: discriminated-union, f%23, active-pattern Problem: Curried Arguments in Discriminated Unions I have a discriminated union like this: type A = |B | C of int*A I have to pattern match like this (the parenthesis...
Curried Arguments in Discriminated Unions Curried Arguments in Discriminated Unions discriminated-union f%23 active-pattern Curried Arguments Discriminated Unions h::t List Head Tail Curried Arguments in Discriminated Unions I have a discriminated union like this: I have to pattern match like this (the parenthesis appe...
[ 0.00799560546875, 0.01123046875, 0.011962890625, 0.01177978515625, 0.0014801025390625, 0.0025177001953125, -0.007476806640625, 0.0096435546875, 0.01806640625, -0.006805419921875, 0.037353515625, -0.01318359375, -0.0030670166015625, 0.003997802734375, -0.000621795654296875, -0.012573242...
[ 17065, 46572, 112140, 6206, 135421, 3674, 32528, 23, 55970, 87046, 1238, 3949, 3742, 36457, 4453, 22766, 1096, 12, 18, 32036, 44816, 1218, 379, 765, 69941, 1884, 903, 47, 103510, 14858, 49129, 160291, 108975, 44841, 2071, 2685, 10, 3917, 64...
[ 0.123779296875, 0.189697265625, 0.240478515625, 0.0172119140625, 0.1697998046875, 0.07568359375, 0.17529296875, 0.003662109375, 0.2049560546875, 0.135986328125, 0.054931640625, 0.0328369140625, 0.1234130859375, 0.1632080078125, 0.112548828125, 0.0153045654296875, 0.119140625, 0.065...
embed
4608860_c0
4608860
fsharp
0
Title: Asynchronous barrier in F# Problem title: Asynchronous barrier in F# Tags: f%23, functional-programming, synchronization, multitasking Problem: Asynchronous barrier in F# I wrote a program in F# that asynchronously lists all directories on disk. An async task lists all files in a given directory and creates sepa...
Asynchronous barrier in F# Asynchronous barrier in F# f%23 functional-programming synchronization multitasking Asynchronous Asynchronous barrier in F# I wrote a program in F# that asynchronously lists all directories on disk. An async task lists all files in a given directory and creates separate async tasks (daemons: ...
[ 0.0084228515625, 0.018310546875, 0.005157470703125, -0.00787353515625, -0.007568359375, 0.012939453125, 0.01239013671875, 0.02294921875, -0.000751495361328125, -0.0107421875, 0.01104736328125, 0.01507568359375, 0.00732421875, 0.0211181640625, 0.0311279296875, -0.005615234375, 0.01220...
[ 62, 12654, 101966, 125861, 563, 4904, 1238, 3742, 123309, 28966, 200470, 1073, 54397, 1528, 5303, 756, 14364, 3387, 28338, 10, 238, 66211, 102158, 28282, 84797, 74768, 4034, 126597, 1614, 80581, 31, 127219, 50339, 9879, 25919, 11728, 26531, 7...
[ 0.025146484375, 0.22412109375, 0.184814453125, 0.28955078125, 0.1309814453125, 0.215087890625, 0.018585205078125, 0.09503173828125, 0.08251953125, 0.03948974609375, 0.202392578125, 0.10791015625, 0.031341552734375, 0.0936279296875, 0.1236572265625, 0.0654296875, 0.0908203125, 0.034...
embed
55263819_c0
55263819
fsharp
0
Title: Must explicit function type arguments include all generic types in signature? Problem title: Must explicit function type arguments include all generic types in signature? Tags: generics, f%23 Problem: Must explicit function type arguments include all generic types in signature? The following code has signature '...
Must explicit function type arguments include all generic types in signature? Must explicit function type arguments include all generic types in signature? generics f%23 all Must MyType Must explicit function type arguments include all generic types in signature? The following code has signature 'c -> 'c : However, the...
[ 0.0120849609375, 0.007659912109375, -0.01434326171875, 0.008544921875, -0.00101470947265625, 0.0015106201171875, 0.004852294921875, 0.0164794921875, 0.037109375, 0.000751495361328125, 0.00087738037109375, -0.0225830078125, -0.0186767578125, 0.0062255859375, -0.00439453125, 0.0049743652...
[ 74275, 143726, 32354, 10644, 10750, 26698, 756, 189534, 52895, 138256, 7, 23, 1238, 3742, 2646, 196707, 25632, 18151, 1556, 238, 33079, 242, 995, 170, 59725, 171859, 71403, 39531, 7722, 159978, 4734, 3060, 111, 3444, 1884, 8, 51626, 47691, ...
[ 0.1287841796875, 0.2095947265625, 0.1527099609375, 0.2122802734375, 0.1993408203125, 0.0771484375, 0.056182861328125, 0.1773681640625, 0.20458984375, 0.2069091796875, 0.0025634765625, 0.03399658203125, 0.005950927734375, 0.092041015625, 0.11962890625, 0.25341796875, 0.020919799804687...
embed
40826402_c0
40826402
fsharp
0
Title: Get multiple pattern matches Problem title: Get multiple pattern matches Tags: pattern-matching, functional-programming, f%23 Problem: Get multiple pattern matches I have the following list of tuples (ie note the ; and , ): let nodes = [0, 1, 394; 0, 2, 4; 1, 3, 50; 1, 2, 5; 2, 3, 600] I want to find all tuples ...
Get multiple pattern matches Get multiple pattern matches pattern-matching functional-programming f%23 Get Get multiple pattern matches I have the following list of tuples (ie note the ; and , ): I want to find all tuples in the list that have the first element = 0, so I do the following pattern match: There are a coup...
[ -0.0140380859375, 0.00787353515625, 0.00811767578125, 0.01031494140625, -0.01409912109375, -0.01068115234375, -0.005767822265625, -0.009765625, 0.038330078125, -0.025634765625, 0.0247802734375, -0.00726318359375, 0.0096435546875, -0.0025787353515625, 0.0027923583984375, 0.0087890625, ...
[ 20779, 48716, 103510, 14858, 90, 98753, 214, 123309, 28966, 1238, 3949, 3742, 87, 25632, 5303, 370, 99726, 20537, 70, 2819, 136, 3444, 47, 7413, 756, 5117, 12830, 2203, 757, 24941, 44402, 51, 2886, 30022, 4734, 2046, 10, 619, 876, 111, ...
[ 0.1455078125, 0.25537109375, 0.25439453125, 0.2469482421875, 0.1295166015625, 0.22314453125, 0.042022705078125, 0.1380615234375, 0.10333251953125, 0.0123291015625, 0.0179901123046875, 0.076416015625, 0.0029296875, 0.053375244140625, 0.1116943359375, 0.1068115234375, 0.1785888671875, ...
embed