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
11142852_c2
11142852
fsharp
2
programme hangs at the line marked "LINE_MARKER_1," as revealed by breakpoints Visual Studio. It never reaches the printfn line. The strange thing is, already by generation 2, the CC sequence in the function Evolve has already stabilised to the sequence [4; 13; 14; 3] so I see no reason why generation 6 should fail to...
programme hangs at the line marked "LINE_MARKER_1," as revealed by breakpoints Visual Studio. It never reaches the printfn line. The strange thing is, already by generation 2, the CC sequence in the function Evolve has already stabilised to the sequence [4; 13; 14; 3] so I see no reason why generation 6 should fail to...
[ 0.0078125, -0.0000762939453125, -0.00970458984375, 0.011474609375, -0.0059814453125, -0.02001953125, 0.0201416015625, -0.022216796875, 0.006317138671875, -0.03173828125, 0.01080322265625, 0.017822265625, -0.01031494140625, -0.0027923583984375, 0.01251220703125, 0.0062255859375, -0.00...
[ 26693, 10756, 7, 99, 13315, 94419, 57339, 125662, 12501, 115187, 122273, 36356, 38496, 73372, 22968, 8306, 58359, 28412, 14783, 114453, 58093, 116, 21581, 40, 944, 3956, 32354, 241, 3784, 272, 21771, 39848, 5281, 617, 702, 616, 138, 1957, 3...
[ 0.2412109375, 0.2376708984375, 0.06158447265625, 0.07318115234375, 0.1865234375, 0.14697265625, 0.1900634765625, 0.1959228515625, 0.1405029296875, 0.1287841796875, 0.0733642578125, 0.06640625, 0.1265869140625, 0.1544189453125, 0.149169921875, 0.1390380859375, 0.1328125, 0.122070312...
embed
27483033_c0
27483033
fsharp
0
Title: F# point free style division Problem title: F# point free style division Tags: pointfree, partial-application, f%23 Problem: F# point free style division I'm looking for a way to do point-free style division. Point free style works great with most mathematical operators where the order of the arguments doesn't m...
F# point free style division F# point free style division pointfree partial-application f%23 List.map F# point free style division I'm looking for a way to do point-free style division. Point free style works great with most mathematical operators where the order of the arguments doesn't matter as in the case of multip...
[ -0.0146484375, 0.017822265625, 0.007415771484375, -0.0308837890625, -0.0098876953125, -0.0137939453125, 0.021484375, -0.006683349609375, 0.021484375, -0.0272216796875, 0.006500244140625, 0.006622314453125, 0.004119873046875, 0.0045166015625, -0.00592041015625, 0.00177001953125, 0.015...
[ 563, 4904, 6275, 4092, 20623, 91853, 32087, 2878, 289, 101687, 1238, 3949, 3742, 32036, 62346, 16487, 3917, 54, 41097, 43240, 6782, 2684, 140363, 39933, 12989, 10750, 22027, 18, 26866, 127664, 117474, 66044, 2967, 3444, 18221, 425, 113, 1284,...
[ 0.151123046875, 0.2178955078125, 0.1492919921875, 0.1971435546875, 0.2216796875, 0.2449951171875, 0.1986083984375, 0.14990234375, 0.050201416015625, 0.165771484375, 0.1083984375, 0.0091552734375, 0.128662109375, 0.12646484375, 0.121337890625, 0.0269775390625, 0.041046142578125, 0.0...
embed
48779198_c0
48779198
fsharp
0
Title: ws-replace is similar to ws-hole , isn't? Problem title: ws-replace is similar to ws-hole , isn't? Tags: websharper, websharper.ui.next, f%23 Problem: ws-replace is similar to ws-hole , isn't? ws-replace The attribute ws-replace creates a Doc or seq hole. The element on which this attribute is set will...
ws-replace is similar to ws-hole , isn't? ws-replace is similar to ws-hole , isn't? websharper websharper.ui.next f%23 websharper.ui.next ws-replace is similar to ws-hole , isn't? The attribute ws-replace creates a Doc or seq hole. The element on which this attribute is set will be replaced with the provided ...
[ -0.025634765625, 0.0296630859375, -0.01513671875, -0.0016326904296875, -0.01080322265625, 0.00872802734375, -0.0115966796875, -0.00933837890625, 0.0152587890625, 0.0245361328125, 0.004425048828125, 0.00531005859375, 0.005615234375, -0.0196533203125, 0.01409912109375, -0.0103759765625, ...
[ 148, 7, 9, 107, 23935, 83, 21373, 47, 70919, 56112, 3768, 1467, 89280, 1264, 4515, 86, 29062, 3742, 150380, 13, 28282, 29048, 707, 40, 864, 108564, 12830, 5423, 91995, 678, 62952, 9351, 111, 34292, 5, 10941, 70, 123019, 157167, 6097, 66...
[ 0.1710205078125, 0.1881103515625, 0.1138916015625, 0.19140625, 0.2890625, 0.04241943359375, 0.1767578125, 0.022308349609375, 0.2578125, 0.0153045654296875, 0.037933349609375, 0.0936279296875, 0.159423828125, 0.1878662109375, 0.06103515625, 0.04290771484375, 0.088623046875, 0.000518...
embed
19243982_c1
19243982
fsharp
1
: let MultiArray (arr1:array<'a>) (arr2:array<'a>) = let rws = arr1.Length let c1 = arr1.GetLength(1) let c2 = arr2.GetLength(1) let cols = c1+c2 Array2D.init rws cols (fun i j -> arr1.[i], arr2.[i]) But this is flawed. Could you please let me know how I could do this? Also why my first function works but I think is wr...
: let MultiArray (arr1:array<'a>) (arr2:array<'a>) = let rws = arr1.Length let c1 = arr1.GetLength(1) let c2 = arr2.GetLength(1) let cols = c1+c2 Array2D.init rws cols (fun i j -> arr1.[i], arr2.[i]) But this is flawed. Could you please let me know how I could do this? Also why my first function works but I think is wr...
[ -0.00604248046875, 0.0201416015625, -0.0033111572265625, 0.024658203125, 0.00848388671875, -0.003753662109375, -0.01153564453125, -0.005523681640625, 0.00933837890625, 0.0126953125, -0.0019378662109375, 0.015380859375, 0.0030975341796875, -0.006103515625, -0.00970458984375, -0.02392578...
[ 152, 2633, 19335, 7614, 7092, 147, 42, 82825, 19305, 11, 2740, 304, 53, 1690, 19725, 187, 418, 449, 5442, 3365, 1328, 69253, 397, 73, 217, 16498, 17, 1647, 33079, 14, 13034, 24243, 5809, 54, 903, 5117, 32354, 43240, 5351, 44691, 4939, ...
[ 0.00311279296875, 0.1256103515625, 0.2386474609375, 0.2086181640625, 0.25830078125, 0.06585693359375, 0.1151123046875, 0.07830810546875, 0.138916015625, 0.06982421875, 0.01287841796875, 0.125732421875, 0.014068603515625, 0.0147247314453125, 0.1546630859375, 0.0811767578125, 0.0773315...
embed
28172616_c0
28172616
fsharp
0
Title: How do you use tokens instead of strings for targets? Problem title: How do you use tokens instead of strings for targets? Tags: f%23-fake, type-safety, f%23, token Problem: How do you use tokens instead of strings for targets? I found that you can use tokens instead of strings for target names in FAKE scripts. ...
How do you use tokens instead of strings for targets? How do you use tokens instead of strings for targets? f%23-fake type-safety f%23 token Fake How FakeLib.dll Targets Target Clean CleanDir Default Hello World Dependencies RunTargetOrDefault How do you use tokens instead of strings for targets? I found that you can u...
[ 0.0029144287109375, 0.01202392578125, 0.01202392578125, 0.01116943359375, 0.007232666015625, -0.014892578125, -0.01708984375, -0.0196533203125, -0.00732421875, -0.01446533203125, 0.01385498046875, 0.0162353515625, 0.01165771484375, 0.014404296875, 0.0162353515625, -0.029296875, 0.006...
[ 11249, 54, 4527, 47, 84694, 64457, 111, 79315, 7, 100, 30388, 1238, 27495, 1021, 350, 10644, 115840, 939, 3742, 1098, 3036, 104820, 1181, 160017, 73133, 481, 35378, 6661, 26885, 63031, 3794, 19060, 187423, 11, 831, 123055, 563, 119960, 2649...
[ 0.04803466796875, 0.011871337890625, 0.114990234375, 0.1456298828125, 0.28076171875, 0.1290283203125, 0.01806640625, 0.203125, 0.0814208984375, 0.0477294921875, 0.2440185546875, 0.0147247314453125, 0.042572021484375, 0.1243896484375, 0.1107177734375, 0.07421875, 0.09619140625, 0.04...
embed
52654013_c0
52654013
fsharp
0
Title: How can I abstract away the methods on Int32 and Int64 types? Problem title: How can I abstract away the methods on Int32 and Int64 types? Tags: f%23 Problem: How can I abstract away the methods on Int32 and Int64 types? How can I abstract away the methods on Int32 and Int64 types? Specifically, how can I refact...
How can I abstract away the methods on Int32 and Int64 types? How can I abstract away the methods on Int32 and Int64 types? f%23 How Int32 Int64 tryParseInt64 text:string number:Int64 Int64.TryParse Some None tryParseInt32 number:Int32 Int32.TryParse How can I abstract away the methods on Int32 and Int64 types? How can...
[ -0.01007080078125, -0.0012054443359375, 0.00970458984375, 0.0223388671875, -0.0245361328125, -0.005096435546875, -0.01300048828125, -0.0111083984375, 0.00445556640625, -0.0142822265625, -0.00396728515625, -0.029541015625, -0.0145263671875, 0.0172119140625, 0.020263671875, 0.00230407714...
[ 11249, 831, 164789, 16065, 150624, 360, 18, 6460, 136, 13307, 52895, 87, 98, 1238, 3949, 3742, 9790, 28636, 184, 4153, 7986, 91693, 14012, 1294, 31384, 438, 70, 3642, 456, 144810, 21373, 32354, 3934, 56458 ]
[ 0.051025390625, 0.0694580078125, 0.2183837890625, 0.1719970703125, 0.1829833984375, 0.1024169921875, 0.142578125, 0.2705078125, 0.08160400390625, 0.2423095703125, 0.15185546875, 0.048797607421875, 0.03643798828125, 0.05523681640625, 0.009124755859375, 0.11279296875, 0.0867919921875, ...
embed
31909234_c0
31909234
fsharp
0
Title: How to Select by LINQ into anonymous type in F# Problem title: How to Select by LINQ into anonymous type in F# Tags: f%23, linq, .net Problem: How to Select by LINQ into anonymous type in F# I have this code snippet, which creates an array of anonymously typed elements with properties Name and FirstLetter: strin...
How to Select by LINQ into anonymous type in F# How to Select by LINQ into anonymous type in F# f%23 linq .net How Select LINQ Dennis Leo Paul arr.Select Name FirstLetter names.Select How to Select by LINQ into anonymous type in F# I have this code snippet, which creates an array of anonymously typed elements with prop...
[ 0.006866455078125, -0.0184326171875, 0.01220703125, 0.0185546875, -0.022705078125, -0.0245361328125, -0.007049560546875, 0.0140380859375, 0.017822265625, -0.0206298828125, -0.005126953125, 0.0216064453125, -0.000408172607421875, 0.012939453125, -0.00531005859375, -0.00092315673828125, ...
[ 11249, 51620, 390, 46610, 2737, 3934, 52184, 10821, 10644, 563, 4904, 47, 1238, 3742, 96, 44982, 1179, 124748, 29036, 10208, 294, 100184, 15757, 23972, 5267, 3055, 123055, 18151, 28282, 10298, 80854, 183871, 136, 1884, 37842, 22027, 18, 9969,...
[ 0.02996826171875, 0.20703125, 0.0987548828125, 0.1983642578125, 0.220703125, 0.0740966796875, 0.2164306640625, 0.1551513671875, 0.17236328125, 0.1207275390625, 0.2015380859375, 0.00146484375, 0.061767578125, 0.061248779296875, 0.0606689453125, 0.2110595703125, 0.10107421875, 0.0545...
embed
44245358_c0
44245358
fsharp
0
Title: Why does a record in an array cause a type initializer error in heroku? Problem title: Why does a record in an array cause a type initializer error in heroku? Tags: f%23, heroku, typeinitializationexception Problem: Why does a record in an array cause a type initializer error in heroku? type Test = { Test: strin...
Why does a record in an array cause a type initializer error in heroku? Why does a record in an array cause a type initializer error in heroku? f%23 heroku typeinitializationexception Why Test Why does a record in an array cause a type initializer error in heroku? I'm deploying an F# app to heroku as a script, and I'm ...
[ -0.002471923828125, 0.0032501220703125, -0.00836181640625, 0.013671875, -0.00927734375, -0.0203857421875, -0.01190185546875, 0.0002288818359375, 0.01025390625, -0.004119873046875, 0.00732421875, 0.000782012939453125, 0.0177001953125, -0.00112152099609375, 0.0294189453125, -0.0115966796...
[ 44084, 17164, 23, 142, 10298, 53, 22304, 10644, 61475, 52825, 18499, 40814, 319, 1238, 3742, 943, 118, 289, 47691, 63928, 8647, 14602, 13158, 563, 4904, 4027, 26499, 114453, 50218, 35064, 212059, 27985, 831, 18, 3884, 115923, 4778, 88303, 7...
[ 0.09814453125, 0.24462890625, 0.0968017578125, 0.0377197265625, 0.2027587890625, 0.169189453125, 0.103271484375, 0.2325439453125, 0.1748046875, 0.127197265625, 0.1810302734375, 0.17578125, 0.2196044921875, 0.060699462890625, 0.1180419921875, 0.065185546875, 0.0809326171875, 0.04302...
embed
16177718_c0
16177718
fsharp
0
Title: F# Function doesn&#x27;t let me mutate mutable value Problem title: F# Function doesn&#x27;t let me mutate mutable value Tags: variables, mutation, mutable, function, f%23 Problem: F# Function doesn't let me mutate mutable value Probably another dumb F# beginner's question... But it's bugging me all the same I c...
F# Function doesn&#x27;t let me mutate mutable value F# Function doesn&#x27;t let me mutate mutable value variables mutation mutable function f%23 F# Function doesn't let me mutate mutable value Probably another dumb F# beginner's question... But it's bugging me all the same I can't seem to find any answers to this onl...
[ 0.007537841796875, 0.0004520416259765625, 0.01300048828125, 0.0029296875, 0.007415771484375, 0.011474609375, 0.0211181640625, -0.003753662109375, 0.0072021484375, -0.0299072265625, -0.0126953125, 0.0277099609375, -0.00099945068359375, 0.013427734375, 0.060302734375, -0.004791259765625,...
[ 563, 4904, 28670, 10763, 22027, 3768, 18, 2633, 163, 31158, 13, 842, 22819, 34292, 77336, 199334, 32354, 1238, 3742, 6492, 35166, 69407, 18151, 73372, 22968, 128219, 1022, 11814, 56649, 3917, 831, 141621, 390, 170224, 15400, 63769 ]
[ 0.1416015625, 0.2313232421875, 0.1646728515625, 0.03106689453125, 0.091064453125, 0.08154296875, 0.1124267578125, 0.1478271484375, 0.0982666015625, 0.2034912109375, 0.121337890625, 0.1575927734375, 0.1968994140625, 0.1766357421875, 0.2127685546875, 0.2147216796875, 0.1300048828125, ...
embed
14056891_c1
14056891
fsharp
1
(dr) dt) let myList: list<byte * byte * int * byte * byte * single> = [(byte)1,(byte)1,1, (byte)1,(byte)1,(single)0.111] // Call method to bulk insert data row bulkLoadEsgData lcpSqlConnection myList lcpSqlConnection.Close() I think I need to include a for loop inside the bulkLoadEsgData method, to make the code run ef...
(dr) dt) let myList: list<byte * byte * int * byte * byte * single> = [(byte)1,(byte)1,1, (byte)1,(byte)1,(single)0.111] // Call method to bulk insert data row bulkLoadEsgData lcpSqlConnection myList lcpSqlConnection.Close() I think I need to include a for loop inside the bulkLoadEsgData method, to make the code run ef...
[ 0.005706787109375, -0.015869140625, -0.007049560546875, 0.0208740234375, -0.00421142578125, 0.0181884765625, 0.01202392578125, -0.0235595703125, 0.005462646484375, -0.00130462646484375, 0.01141357421875, -0.00823974609375, 0.00165557861328125, 0.00156402587890625, -0.007354736328125, -...
[ 7569, 18, 2633, 759, 154663, 5303, 61028, 390, 67, 23, 11001, 6953, 102014, 1662, 26265, 55300, 11876, 92, 183540, 2053, 15555, 15363, 712, 16474, 177, 137989, 96, 121422, 99247, 235603, 59453, 5351, 3871, 26698, 100, 40956, 46132, 18151, 1...
[ 0.031707763671875, 0.0298614501953125, 0.057037353515625, 0.1319580078125, 0.2471923828125, 0.2117919921875, 0.15087890625, 0.059051513671875, 0.054840087890625, 0.006622314453125, 0.2039794921875, 0.0836181640625, 0.09515380859375, 0.121337890625, 0.1956787109375, 0.1611328125, 0.17...
embed
53814082_c0
53814082
fsharp
0
Title: Pulling out one discriminated union case in F#? Problem title: Pulling out one discriminated union case in F#? Tags: discriminated-union, f%23 Problem: Pulling out one discriminated union case in F#? Suppose I have a DU like: type Fruit = | Apple of string * bool | Banana of string | Cherry of string Then I have...
Pulling out one discriminated union case in F#? Pulling out one discriminated union case in F#? discriminated-union f%23 Pulling Fruit Apple Banana Cherry Seq Seq.choose Some None Not Seq.match Pulling out one discriminated union case in F#? Suppose I have a DU like: Then I have a collection like this: I want to pull o...
[ 0.007110595703125, 0.0167236328125, 0.012939453125, 0.004608154296875, -0.01385498046875, 0.0033416748046875, 0.006439208984375, 0.01214599609375, 0.028076171875, 0.0133056640625, 0.01055908203125, 0.000873565673828125, -0.00007724761962890625, 0.00634765625, 0.01385498046875, -0.00506...
[ 167392, 214, 1810, 1632, 55970, 3674, 69941, 7225, 23, 563, 4904, 32, 87046, 1238, 3949, 3742, 151958, 4129, 53592, 76, 187243, 503, 864, 3089, 31384, 438, 11205, 98753, 121691, 14614, 1884, 42486, 903, 3444, 47, 50065, 756, 111, 110527, ...
[ 0.1636962890625, 0.0718994140625, 0.1697998046875, 0.1524658203125, 0.2183837890625, 0.09649658203125, 0.2213134765625, 0.183837890625, 0.0518798828125, 0.1468505859375, 0.2110595703125, 0.00848388671875, 0.18798828125, 0.09405517578125, 0.0428466796875, 0.1197509765625, 0.2001953125...
embed
39478703_c0
39478703
fsharp
0
Title: Should it be possible to put the #load directive inside #if directive in F# fsx file? Problem title: Should it be possible to put the #load directive inside #if directive in F# fsx file? Tags: f%23, fable-f%23, f%23-interactive Problem: Should it be possible to put the #load directive inside #if directive in F# ...
Should it be possible to put the #load directive inside #if directive in F# fsx file? Should it be possible to put the #load directive inside #if directive in F# fsx file? f%23 fable-f%23 f%23-interactive Should DEV MyFile.fs Later Should it be possible to put the #load directive inside #if directive in F# fsx file? I ...
[ 0.0107421875, -0.0128173828125, 0.002105712890625, 0.01470947265625, -0.00543212890625, 0.0218505859375, 0.018310546875, 0.031982421875, 0.0037994384765625, -0.017822265625, -0.0252685546875, 0.0130615234375, -0.00714111328125, 0.0010986328125, 0.0203857421875, 0.00750732421875, -0.0...
[ 151117, 7722, 3884, 63033, 8951, 5844, 46132, 3190, 563, 4904, 1238, 7, 425, 11435, 468, 3742, 1071, 2661, 420, 10433, 170623, 2646, 174350, 17447, 147466, 11782, 8912, 282, 64113, 168407, 31852, 43240, 87388, 17215, 10932, 179459, 9969, 1340...
[ 0.0665283203125, 0.11865234375, 0.0242462158203125, 0.231689453125, 0.1708984375, 0.1148681640625, 0.1083984375, 0.218994140625, 0.1087646484375, 0.1539306640625, 0.089111328125, 0.0718994140625, 0.18212890625, 0.110107421875, 0.01416015625, 0.0182342529296875, 0.13330078125, 0.110...
embed
18115812_c0
18115812
fsharp
0
Title: Async Controller Actions in F# Problem title: Async Controller Actions in F# Tags: f%23, asynchronous, asp.net-mvc Problem: Async Controller Actions in F# Using C# - ASP.NET MVC 4, I can define an async controller action like: public async Task<ActionResult> IndexWorks() { var data = await DownloadAsync("http://...
Async Controller Actions in F# Async Controller Actions in F# f%23 asynchronous asp.net-mvc Async Controller Actions Task ActionResult IndexWorks DownloadAsync stackoverflow.com Content AsyncManager AsyncActionBuilder asp.net-mvc Async Controller Actions in F# Using C# - ASP.NET MVC 4, I can define an async controller ...
[ -0.031005859375, 0.021728515625, 0.01129150390625, -0.03955078125, -0.0026702880859375, -0.003173828125, -0.01544189453125, -0.000293731689453125, -0.0004177093505859375, -0.0289306640625, -0.0228271484375, -0.0189208984375, -0.0186767578125, 0.01251220703125, 0.02490234375, 0.02160644...
[ 62, 12654, 238, 27131, 603, 57945, 23, 563, 4904, 1238, 3742, 101966, 254, 1179, 66357, 9598, 7, 7136, 31471, 108259, 4857, 177261, 5465, 118664, 70870, 12662, 33730, 284, 10763, 121137, 56, 345, 313, 147153, 17777, 56349, 201, 61924, 10, ...
[ 0.06585693359375, 0.2313232421875, 0.129638671875, 0.19775390625, 0.12744140625, 0.1943359375, 0.03741455078125, 0.1370849609375, 0.2132568359375, 0.034210205078125, 0.076904296875, 0.11181640625, 0.061614990234375, 0.057525634765625, 0.1158447265625, 0.0615234375, 0.03619384765625, ...
embed
548584_c0
548584
fsharp
0
Title: C++ to functional Problem title: C++ to functional Tags: c%2B%2B, f%23, haskell, port Problem: C++ to functional I am wondering how to do this in a functional programming language. Maybe F# or Haskell. Can someone show me an example without using any function calls except for find and rfind ? This function finds...
C++ to functional C++ to functional c%2B%2B f%23 haskell port size_t std::string s.rfind s.find C++ to functional I am wondering how to do this in a functional programming language. Maybe F# or Haskell. Can someone show me an example without using any function calls except for find and rfind ? This function finds the n...
[ -0.00173187255859375, 0.017578125, 0.00830078125, -0.0031890869140625, -0.024658203125, 0.00860595703125, 0.004669189453125, 0.007659912109375, -0.0029754638671875, -0.00933837890625, 0.01190185546875, -0.01953125, -0.005889892578125, -0.0072021484375, -0.00096893310546875, 0.01953125,...
[ 313, 37223, 47, 123309, 501, 1238, 3742, 1556, 142508, 11469, 13267, 18, 6138, 71, 91693, 91, 42, 111607, 149016, 3642, 54, 903, 23, 56037, 449, 46876, 83425, 563, 4904, 707, 20625, 7639, 27781, 15490, 17368, 2499, 32354, 11782, 40494, 74...
[ 0.13671875, 0.3203125, 0.197021484375, 0.31591796875, 0.093994140625, 0.03839111328125, 0.07177734375, 0.129638671875, 0.2298583984375, 0.1365966796875, 0.119384765625, 0.0323486328125, 0.134033203125, 0.08056640625, 0.14013671875, 0.08624267578125, 0.040008544921875, 0.21508789062...
embed
58179754_c0
58179754
fsharp
0
Title: What is the equivalent of EF C# ToListAsync in F#? Problem title: What is the equivalent of EF C# ToListAsync in F#? Tags: f%23, c%23-to-f%23, entity-framework-6 Problem: What is the equivalent of EF C# ToListAsync in F#? I have the following code in C#: public async Task<List<Table>> GetRows() { return await db...
What is the equivalent of EF C# ToListAsync in F#? What is the equivalent of EF C# ToListAsync in F#? f%23 c%23-to-f%23 entity-framework-6 r What ToListAsync Task List Table GetRows db.Table.ToListAsync db.Table Seq.map Here entity-framework-6 What is the equivalent of EF C# ToListAsync in F#? I have the following code...
[ 0.01251220703125, 0.0201416015625, 0.009521484375, -0.007080078125, -0.004852294921875, -0.011962890625, 0.0164794921875, 0.02294921875, 0.001983642578125, -0.037109375, 0.0023651123046875, 0.01177978515625, -0.014892578125, 0.01177978515625, -0.0016021728515625, 0.02001953125, 0.000...
[ 4865, 83, 70, 183234, 51779, 313, 4904, 717, 154663, 284, 12654, 238, 23, 563, 1238, 3742, 27495, 188, 420, 77630, 160328, 18244, 13545, 1690, 9598, 92, 32036, 112997, 20779, 12724, 19725, 40041, 618, 2886, 7763, 864, 62346, 11853, 939, 2...
[ 0.0419921875, 0.018829345703125, 0.0230865478515625, 0.18505859375, 0.2208251953125, 0.04620361328125, 0.1810302734375, 0.18603515625, 0.2298583984375, 0.042694091796875, 0.2335205078125, 0.07879638671875, 0.05047607421875, 0.1322021484375, 0.076904296875, 0.060302734375, 0.069213867...
embed
32201206_c0
32201206
fsharp
0
Title: Asynchronously wait for n things to happen Problem title: Asynchronously wait for n things to happen Tags: asynchronous, .net, f%23, semaphore Problem: Asynchronously wait for n things to happen I'm looking for something like a Semaphore but that resolves after all the slots have been released. Something like th...
Asynchronously wait for n things to happen Asynchronously wait for n things to happen asynchronous .net f%23 semaphore Asynchronously Semaphore SemaphoreSlim anEvent.add semaphore.Release thingThatCausesAnEventToFire100Times semaphore.WaitAsync Async.AwaitTask Asynchronously wait for n things to happen I'm looking for ...
[ -0.01544189453125, 0.009765625, 0.00115203857421875, -0.02099609375, -0.00555419921875, -0.01348876953125, 0.00186920166015625, 0.00653076171875, 0.01141357421875, -0.031005859375, 0.01019287109375, 0.003997802734375, 0.014404296875, 0.027587890625, 0.013427734375, -0.0128173828125, ...
[ 62, 12654, 101966, 79850, 40485, 100, 653, 8966, 47, 53383, 10, 5, 1179, 1238, 3949, 3742, 484, 2631, 94187, 503, 62346, 3141, 192134, 4028, 133, 13580, 115743, 20370, 29001, 7763, 6159, 107, 3559, 70059, 22489, 217, 238, 634, 9874, 16487...
[ 0.000823974609375, 0.1949462890625, 0.196044921875, 0.0645751953125, 0.2413330078125, 0.156494140625, 0.15087890625, 0.1767578125, 0.0926513671875, 0.174072265625, 0.01129150390625, 0.004425048828125, 0.141845703125, 0.039031982421875, 0.035400390625, 0.1107177734375, 0.1138916015625...
embed
48111754_c0
48111754
fsharp
0
Title: F# type class persistent counter Problem title: F# type class persistent counter Tags: class, f%23, counter Problem: F# type class persistent counter Gentlefolk, Old time procedural/deterministic programmer battling with F# functional.... I require some counters to record counts from various areas of a program. ...
F# type class persistent counter F# type class persistent counter class f%23 counter Count Count:Constructor this.upctr inCount.upctr MyCtr1 myCount.upctr F# type class persistent counter Gentlefolk, Old time procedural/deterministic programmer battling with F# functional.... I require some counters to record counts fr...
[ -0.00049591064453125, 0.013916015625, -0.004913330078125, -0.01171875, 0.0216064453125, 0.0167236328125, 0.0059814453125, 0.000934600830078125, 0.013671875, -0.0205078125, -0.027099609375, 0.0111083984375, 0.03466796875, 0.0189208984375, 0.016357421875, 0.001220703125, -0.02026367187...
[ 563, 4904, 10644, 18507, 70560, 2517, 105416, 1238, 3949, 3742, 108210, 11935, 36716, 748, 903, 2037, 15390, 42, 23, 5, 2646, 441, 4448, 418, 759, 44704, 33850, 25074, 1733, 59158, 112, 30524, 48242, 77848, 1777, 123309, 64209, 3060, 7, 1...
[ 0.1282958984375, 0.182373046875, 0.166259765625, 0.15771484375, 0.1805419921875, 0.07525634765625, 0.242919921875, 0.0872802734375, 0.047393798828125, 0.16943359375, 0.187255859375, 0.0482177734375, 0.1661376953125, 0.13330078125, 0.16845703125, 0.11376953125, 0.09161376953125, 0.1...
embed
3226521_c0
3226521
fsharp
0
Title: F# interactive and performance profilers Problem title: F# interactive and performance profilers Tags: profiler, f%23, f%23-interactive Problem: F# interactive and performance profilers F# Interactive (and in general REPL-style tools) is an ideal entrance to performance profiling. What could be easier than to se...
F# interactive and performance profilers F# interactive and performance profilers profiler f%23 f%23-interactive F# interactive and performance profilers F# Interactive (and in general REPL-style tools) is an ideal entrance to performance profiling. What could be easier than to select a code block and send it right to ...
[ -0.010986328125, 0.004730224609375, 0.00604248046875, -0.006683349609375, -0.0233154296875, 0.00099945068359375, 0.00124359130859375, -0.0189208984375, -0.0034637451171875, -0.03955078125, -0.00994873046875, 0.04638671875, 0.0091552734375, -0.000020503997802734375, 0.02587890625, 0.001...
[ 563, 4904, 212398, 136, 23718, 105609, 1238, 3742, 27495, 10433, 5337, 71232, 9069, 21130, 40946, 72977, 83, 6397, 14018, 3956, 9468, 214, 5809, 99156, 36849, 18151, 46389, 25379, 7108, 4420, 114137, 13416, 185397, 144573, 18, 8060, 243, 934,...
[ 0.145751953125, 0.2100830078125, 0.1820068359375, 0.04437255859375, 0.1929931640625, 0.298828125, 0.1068115234375, 0.024261474609375, 0.01373291015625, 0.11083984375, 0.1446533203125, 0.1749267578125, 0.136474609375, 0.237548828125, 0.1239013671875, 0.173583984375, 0.029388427734375,...
embed
76524919_c1
76524919
fsharp
1
+) 1) not (fun s -> s.ToUpper()) let foo : MyData = Foo 42 let newFoo : MyData = mapMyData foo let bar : MyData = Bar true let newBar : MyData = mapMyData bar And now I am curious about what other solutions exists for this problem, in F# as well as in other languages that has sum-types. I can easily see this being a ge...
+) 1) not (fun s -> s.ToUpper()) let foo : MyData = Foo 42 let newFoo : MyData = mapMyData foo let bar : MyData = Bar true let newBar : MyData = mapMyData bar And now I am curious about what other solutions exists for this problem, in F# as well as in other languages that has sum-types. I can easily see this being a ge...
[ -0.0172119140625, 0.0108642578125, 0.0167236328125, 0.0125732421875, -0.0067138671875, -0.007110595703125, 0.00091552734375, 0.0108642578125, 0.01116943359375, -0.0111083984375, -0.000274658203125, -0.00396728515625, 0.005523681640625, -0.000400543212890625, -0.0021514892578125, -0.011...
[ 997, 4879, 959, 16498, 91, 33079, 5, 7763, 1062, 8079, 132, 2633, 5775, 31, 2646, 137989, 9572, 4828, 3525, 27591, 22288, 31852, 1909, 3253, 29568, 25267, 193844, 3789, 51347, 32316, 100, 903, 2967, 23, 563, 4904, 46876, 10554, 9, 50986, ...
[ 0.1512451171875, 0.047821044921875, 0.2186279296875, 0.2044677734375, 0.1368408203125, 0.022186279296875, 0.017608642578125, 0.1875, 0.111572265625, 0.2286376953125, 0.03472900390625, 0.1197509765625, 0.135498046875, 0.1273193359375, 0.1558837890625, 0.1905517578125, 0.1402587890625,...
embed
39952215_c0
39952215
fsharp
0
Title: Recommended approach for project management in F# Problem title: Recommended approach for project management in F# Tags: .net, f%23 Problem: Recommended approach for project management in F# What is the recommended approach for platform-independent and IDE-independent project management for F# projects. Explorin...
Recommended approach for project management in F# Recommended approach for project management in F# .net f%23 Recommended Recommended approach for project management in F# What is the recommended approach for platform-independent and IDE-independent project management for F# projects. Exploring for solutions I came acr...
[ -0.01611328125, 0.02734375, 0.00506591796875, 0.004974365234375, -0.017822265625, -0.0108642578125, 0.00872802734375, -0.004638671875, -0.0027008056640625, 0.0155029296875, 0.00994873046875, -0.001556396484375, -0.0185546875, 0.0157470703125, 0.0087890625, -0.0002727508544921875, -0....
[ 89002, 106133, 71, 51515, 100, 13452, 24365, 23, 563, 4904, 1179, 1238, 3742, 170198, 13651, 181063, 136, 6, 36497, 77635, 51347, 36880, 27331, 61278, 2407, 42822, 1326, 429, 8505, 36457, 76104, 5701, 53702, 17447, 95322, 162520, 62548, 29806...
[ 0.1207275390625, 0.1231689453125, 0.02587890625, 0.197021484375, 0.05126953125, 0.1988525390625, 0.2061767578125, 0.07855224609375, 0.1668701171875, 0.259765625, 0.1229248046875, 0.0258636474609375, 0.02008056640625, 0.1544189453125, 0.1473388671875, 0.1214599609375, 0.03689575195312...
embed
79193218_c1
79193218
fsharp
1
in my fsproj files. It compiles, but when I run one of the (Fable-based) projects I get no successful import of /.../.nuget/packages/fsharp.core/9.0.100/lib/netstandard2.0/FSharp.Core.dllstartup - probably because Fable does a dotnet restore that reinstates 9.0 as a dependency. Note: all builds attempts were both in m...
in my fsproj files. It compiles, but when I run one of the (Fable-based) projects I get no successful import of /.../.nuget/packages/fsharp.core/9.0.100/lib/netstandard2.0/FSharp.Core.dllstartup - probably because Fable does a dotnet restore that reinstates 9.0 as a dependency. Note: all builds attempts were both in m...
[ -0.005706787109375, 0.00726318359375, 0.0019073486328125, 0.00750732421875, -0.01165771484375, -0.0023651123046875, -0.004669189453125, -0.00897216796875, -0.013427734375, 0.00640869140625, 0.007598876953125, 0.007568359375, -0.01275634765625, 0.015625, 0.0201416015625, -0.007690429687...
[ 23, 759, 1238, 47606, 897, 102158, 9969, 1340, 1284, 11675, 919, 2886, 77007, 77635, 2046, 110, 65771, 24927, 539, 3794, 29102, 420, 89280, 254, 5, 30854, 22364, 2389, 3559, 5612, 1179, 66589, 73011, 36381, 3467, 50886, 1181, 17137, 2037, ...
[ 0.0153656005859375, 0.00604248046875, 0.09259033203125, 0.096435546875, 0.2235107421875, 0.1136474609375, 0.145751953125, 0.1214599609375, 0.017181396484375, 0.0653076171875, 0.099365234375, 0.2171630859375, 0.03594970703125, 0.0885009765625, 0.0023193359375, 0.10211181640625, 0.1519...
embed
62752272_c0
62752272
fsharp
0
Title: Code analyzers for detecting concurrency issues in F# Problem title: Code analyzers for detecting concurrency issues in F# Tags: deadlock, code-analysis, concurrency, race-condition, f%23 Problem: Code analyzers for detecting concurrency issues in F# I'm looking for some code analyzing tool (either static or dyn...
Code analyzers for detecting concurrency issues in F# Code analyzers for detecting concurrency issues in F# deadlock code-analysis concurrency race-condition f%23 Code analyzers for detecting concurrency issues in F# I'm looking for some code analyzing tool (either static or dynamic analysis) that can detect concurrenc...
[ 0.01165771484375, 0.005706787109375, 0.0033416748046875, -0.013671875, -0.009765625, -0.00506591796875, -0.01708984375, 0.0169677734375, 0.004852294921875, -0.03466796875, 0.0022430419921875, 0.003753662109375, 0.0029449462890625, -0.00021839141845703125, 0.03369140625, 0.009765625, ...
[ 28864, 7968, 32189, 1314, 100, 96391, 214, 108636, 982, 2408, 37348, 563, 4904, 103494, 21135, 18151, 174976, 45712, 126940, 1238, 3949, 3742, 23, 16487, 53, 35401, 55516, 201939, 84079, 114137, 831, 27289, 707, 103391, 35509, 284, 18770, 329...
[ 0.2080078125, 0.1766357421875, 0.1729736328125, 0.094482421875, 0.0355224609375, 0.1793212890625, 0.05694580078125, 0.2025146484375, 0.1981201171875, 0.1097412109375, 0.1734619140625, 0.1435546875, 0.22802734375, 0.1114501953125, 0.21533203125, 0.202880859375, 0.1729736328125, 0.19...
embed
72033592_c0
72033592
fsharp
0
Title: F#: How can I define a computed property in a type? Problem title: F#: How can I define a computed property in a type? Tags: c%23-to-f%23, f%23, computed-properties, c%23-7.0, c%23 Problem: F#: How can I define a computed property in a type? In C#, I can define a computed property as such: public class MyViewMod...
F#: How can I define a computed property in a type? F#: How can I define a computed property in a type? c%23-to-f%23 f%23 computed-properties c%23-7.0 c%23 How MyViewModel DateTime StartDate StartDateFormatted StartDate.ToString yyyy.MM.dd h:mm DataContract CLIMutable DataMember F#: How can I define a computed property...
[ -0.01318359375, 0.0091552734375, 0.0308837890625, 0.027099609375, 0.00072479248046875, 0.0084228515625, 0.00885009765625, 0.01348876953125, 0.002777099609375, -0.01397705078125, 0.0052490234375, 0.038330078125, -0.00433349609375, 0.0238037109375, -0.01129150390625, 0.0167236328125, -...
[ 563, 4904, 11249, 61924, 375, 7077, 297, 57266, 23, 10644, 12, 831, 87, 10, 27495, 188, 420, 3742, 1238, 36290, 56, 2449, 129884, 2646, 100474, 140290, 25512, 70059, 13794, 86291, 102973, 7763, 71713, 113, 34034, 25590, 4028, 2276, 11809, ...
[ 0.10302734375, 0.2003173828125, 0.05255126953125, 0.21337890625, 0.147216796875, 0.2166748046875, 0.12646484375, 0.267578125, 0.0570068359375, 0.2239990234375, 0.00445556640625, 0.0560302734375, 0.039520263671875, 0.065673828125, 0.084716796875, 0.1361083984375, 0.047821044921875, ...
embed
59242353_c0
59242353
fsharp
0
Title: How does one call bool.TryParse in F# Problem title: How does one call bool.TryParse in F# Tags: f%23, pass-by-reference Problem: How does one call bool.TryParse in F# I need to call bool.TryParse in F# and I'm having a little difficulty with the compiler / Ionide. Ex. let value = true let parsable = bool.TryPar...
How does one call bool.TryParse in F# How does one call bool.TryParse in F# f%23 pass-by-reference How bool.TryParse How does one call bool.TryParse in F# I need to call bool.TryParse in F# and I'm having a little difficulty with the compiler / Ionide. Ex. This is the first example that I've used call by ref keywords a...
[ 0.00811767578125, 0.0279541015625, 0.01129150390625, 0.0245361328125, -0.00360107421875, 0.01025390625, 0.0004596710205078125, -0.015625, 0.0091552734375, 0.00122833251953125, 0.00628662109375, 0.0067138671875, -0.020263671875, 0.0289306640625, 0.0267333984375, 0.01043701171875, 0.01...
[ 11249, 14602, 1632, 11782, 142484, 5, 618, 1294, 28636, 184, 23, 563, 4904, 1238, 3742, 27875, 1272, 239879, 3871, 10176, 34844, 9969, 34759, 37859, 2506, 27781, 11814, 390, 18831, 166117, 136, 86531, 44691, 29087, 209806, 100094, 106117 ]
[ 0.0802001953125, 0.032928466796875, 0.06201171875, 0.1624755859375, 0.183837890625, 0.064453125, 0.107421875, 0.189208984375, 0.20068359375, 0.171142578125, 0.057952880859375, 0.1378173828125, 0.1982421875, 0.1041259765625, 0.1048583984375, 0.113525390625, 0.1236572265625, 0.186157...
embed
28693784_c0
28693784
fsharp
0
Title: How to pass arguments to funscript function? Problem title: How to pass arguments to funscript function? Tags: f%23, funscript Problem: How to pass arguments to funscript function? Is it possible to pass data generated locally in F# to the expression that's being compiled in Funscript? Example of what I mean: le...
How to pass arguments to funscript function? How to pass arguments to funscript function? f%23 funscript How MyJSFunc Globals.alert File.ReadAllText somefile.txt Compiler.Compiler.Compile How to pass arguments to funscript function? Is it possible to pass data generated locally in F# to the expression that's being comp...
[ 0.01416015625, -0.0101318359375, -0.01025390625, -0.0048828125, -0.0084228515625, 0.0106201171875, 0.020751953125, -0.0054931640625, -0.0184326171875, -0.04345703125, 0.001800537109375, 0.00750732421875, -0.01519775390625, 0.0167236328125, 0.025390625, 0.0081787109375, -0.00238037109...
[ 11249, 27875, 10750, 7, 47, 7477, 32032, 32354, 1238, 3742, 2646, 64977, 97249, 238, 13453, 289, 2529, 42724, 31345, 43512, 174379, 29822, 124326, 15612, 34759, 108161, 1340, 7722, 2053, 139392, 4000, 563, 4904, 125195, 5974, 28670, 4527, 201...
[ 0.05120849609375, 0.1610107421875, 0.2587890625, 0.08807373046875, 0.10638427734375, 0.198974609375, 0.248046875, 0.181884765625, 0.052947998046875, 0.117431640625, 0.0538330078125, 0.150634765625, 0.117431640625, 0.00701904296875, 0.1221923828125, 0.016021728515625, 0.07916259765625...
embed
6636665_c0
6636665
fsharp
0
Title: F# constructor doesn&#x27;t accept tuples? Problem title: F# constructor doesn&#x27;t accept tuples? Tags: f%23, tuples, constructor Problem: F# constructor doesn't accept tuples? I tried to use a tuple to create a new instance of a class defined in F#. To duplicate the problem, I tried the following code. type ...
F# constructor doesn&#x27;t accept tuples? F# constructor doesn&#x27;t accept tuples? f%23 tuples constructor y:int z:int test2 F# constructor doesn't accept tuples? I tried to use a tuple to create a new instance of a class defined in F#. To duplicate the problem, I tried the following code. It complains that If I rem...
[ 0.01031494140625, 0.0111083984375, -0.00872802734375, -0.004791259765625, 0.00732421875, -0.00634765625, -0.010498046875, 0.00506591796875, 0.0079345703125, -0.0091552734375, 0.006805419921875, -0.0015869140625, 0.022705078125, 0.00555419921875, -0.00836181640625, 0.006805419921875, ...
[ 563, 4904, 64549, 748, 22027, 3768, 18, 26946, 370, 99726, 1238, 113, 4288, 97, 3034, 304, 37842, 4527, 8705, 28282, 3525, 110527, 18507, 61924, 171763, 2967, 25632, 18151, 186992, 87388, 351, 214810, 5885, 24209, 6626, 64, 107, 10750, 6445...
[ 0.1246337890625, 0.1922607421875, 0.1796875, 0.09967041015625, 0.0631103515625, 0.024993896484375, 0.0799560546875, 0.16064453125, 0.173095703125, 0.2255859375, 0.0787353515625, 0.060791015625, 0.062255859375, 0.0577392578125, 0.09759521484375, 0.06256103515625, 0.00775146484375, 0...
embed
51622669_c2
51622669
fsharp
2
.fs, System, System.Collections.Generic, System.IO, System.Linq, System.Threading.Tasks, Microsoft.AspNetCore, Microsoft.AspNetCore.Hosting, Microsoft.Extensions.Configuration, Microsoft.Extensions.Logging, Program, CreateWebHostBuilder, WebHost, CreateDefaultBuilder, UseStartup, Startup, Build, Project, Sdk, Microsoft...
.fs, System, System.Collections.Generic, System.IO, System.Linq, System.Threading.Tasks, Microsoft.AspNetCore, Microsoft.AspNetCore.Hosting, Microsoft.Extensions.Configuration, Microsoft.Extensions.Logging, Program, CreateWebHostBuilder, WebHost, CreateDefaultBuilder, UseStartup, Startup, Build, Project, Sdk, Microsoft...
[ -0.0194091796875, 0.0198974609375, 0.0059814453125, 0.0184326171875, -0.00994873046875, 0.01263427734375, -0.0301513671875, -0.0179443359375, -0.000522613525390625, 0.0208740234375, -0.000518798828125, 0.0224609375, -0.00830078125, 0.01312255859375, 0.0042724609375, 0.007415771484375, ...
[ 5, 17447, 4, 12353, 78457, 8996, 5256, 135932, 12259, 17780, 866, 44982, 39116, 214, 9874, 1042, 7244, 284, 7008, 24447, 50886, 13, 11193, 7, 1916, 19279, 128872, 59994, 15363, 36659, 7663, 151313, 30474, 271, 121137, 4002, 187423, 11, 3683...
[ 0.1865234375, 0.278076171875, 0.06329345703125, 0.234375, 0.1339111328125, 0.18603515625, 0.07440185546875, 0.156005859375, 0.11279296875, 0.2286376953125, 0.054229736328125, 0.1961669921875, 0.134033203125, 0.0177459716796875, 0.117919921875, 0.08441162109375, 0.146728515625, 0.05...
embed
37473007_c0
37473007
fsharp
0
Title: How to force my F# application to run as administrator? Problem title: How to force my F# application to run as administrator? Tags: visual-studio, f%23 Problem: How to force my F# application to run as administrator? For an F# application, I attempted to follow these instructions: How to force my .NET applicati...
How to force my F# application to run as administrator? How to force my F# application to run as administrator? visual-studio f%23 How app.manifest How to force my F# application to run as administrator? For an F# application, I attempted to follow these instructions: How to force my .NET application to run as administ...
[ -0.003814697265625, 0.0228271484375, -0.0031890869140625, -0.018798828125, 0.003875732421875, 0.0123291015625, -0.03173828125, -0.019287109375, -0.0003757476806640625, -0.004791259765625, 0.03369140625, -0.01092529296875, -0.000885009765625, 0.02001953125, 0.004364013671875, -0.0153198...
[ 11249, 47, 37772, 759, 563, 4904, 38415, 11675, 237, 53294, 21176, 52629, 1238, 3742, 4027, 9051, 13576, 81887, 28960, 167934, 5, 17777, 21664, 73372, 22968, 959, 5701, 75101, 13452, 180346, 37967, 77635, 75935, 104250, 72274, 71200, 3934, 73...
[ 0.089111328125, 0.08642578125, 0.2001953125, 0.050506591796875, 0.1748046875, 0.268798828125, 0.1954345703125, 0.15234375, 0.1434326171875, 0.26611328125, 0.1756591796875, 0.147216796875, 0.09228515625, 0.050994873046875, 0.1512451171875, 0.0660400390625, 0.1444091796875, 0.0111999...
embed
9345360_c0
9345360
fsharp
0
Title: anonymous functions and overloaded methods in F# Problem title: anonymous functions and overloaded methods in F# Tags: f%23 Problem: anonymous functions and overloaded methods in F# So, if you want to write out a line to the console in F#, you do the following: System.Console.WriteLine "foo" Originally I thought...
anonymous functions and overloaded methods in F# anonymous functions and overloaded methods in F# f%23 System.Console.WriteLine anonymous functions and overloaded methods in F# So, if you want to write out a line to the console in F#, you do the following: Originally I thought the following was pretty much identical, j...
[ 0.01031494140625, -0.0036773681640625, 0.0191650390625, 0.00335693359375, 0.00299072265625, -0.0137939453125, 0.00592041015625, -0.014892578125, -0.0059814453125, -0.010009765625, -0.02685546875, -0.01031494140625, 0.005096435546875, -0.00439453125, 0.004058837890625, 0.00408935546875,...
[ 52184, 10821, 32354, 645, 63033, 297, 150624, 563, 4904, 1238, 3742, 40777, 18781, 93232, 3444, 33022, 1810, 13315, 47, 130250, 23, 31943, 57823, 18499, 36998, 55300, 1456, 5809, 959, 83324, 35509, 10644, 4677, 41928, 903, 1528, 6275, 17932, ...
[ 0.1781005859375, 0.08294677734375, 0.1392822265625, 0.1102294921875, 0.188232421875, 0.0190582275390625, 0.160888671875, 0.114990234375, 0.1978759765625, 0.01129150390625, 0.0721435546875, 0.0914306640625, 0.091796875, 0.1888427734375, 0.002532958984375, 0.117431640625, 0.11657714843...
embed
39394442_c2
39394442
fsharp
2
executed="False"> <reason> <message><![CDATA[UnitTests.ValidatorTests is an abstract class]]></message> </reason> </test-case> Code signals: NUnit, UnitTests, TestFixture, ValidatorTests, Test, VerifyBasicFunctionality, Assert.That, nunit-console4, Release, UnitTests.dll, Copyright, Charlie, Poole, James, Newkirk, Mic...
executed="False"> <reason> <message><![CDATA[UnitTests.ValidatorTests is an abstract class]]></message> </reason> </test-case> Code signals: NUnit, UnitTests, TestFixture, ValidatorTests, Test, VerifyBasicFunctionality, Assert.That, nunit-console4, Release, UnitTests.dll, Copyright, Charlie, Poole, James, Newkirk, Mic...
[ 0.0172119140625, 0.0184326171875, 0.0167236328125, -0.0111083984375, 0.006439208984375, -0.0062255859375, 0.004486083984375, -0.0189208984375, -0.007171630859375, 0.040771484375, -0.00146484375, 0.0011749267578125, 0.003265380859375, -0.005157470703125, -0.01397705078125, 0.01721191406...
[ 71924, 297, 17647, 11971, 1283, 1681, 74157, 16069, 17758, 85600, 18, 111337, 42272, 1683, 1290, 7, 83, 142, 164789, 18507, 6, 6954, 58437, 2740, 28864, 26073, 12, 18057, 6773, 4, 46640, 8647, 6159, 425, 6644, 25447, 85, 1446, 40383, 6347...
[ 0.21435546875, 0.04949951171875, 0.017822265625, 0.055633544921875, 0.0548095703125, 0.07177734375, 0.0665283203125, 0.05889892578125, 0.134033203125, 0.1563720703125, 0.05224609375, 0.306396484375, 0.153564453125, 0.147705078125, 0.1480712890625, 0.0609130859375, 0.050689697265625, ...
embed
13547146_c0
13547146
fsharp
0
Title: How do I create a member that has an out parameter in F# Problem title: How do I create a member that has an out parameter in F# Tags: clr, f%23 Problem: How do I create a member that has an out parameter in F# I know that in f# I can treat out parameters as members of a result tuple when I'm using them from F#,...
How do I create a member that has an out parameter in F# How do I create a member that has an out parameter in F# clr f%23 How System.Int32.TryParse Example x.TryParse Unchecked.defaultof How do I create a member that has an out parameter in F# I know that in f# I can treat out parameters as members of a result tuple w...
[ 0.0274658203125, 0.01171875, 0.01092529296875, -0.00142669677734375, -0.019775390625, 0.004364013671875, 0.00188446044921875, 0.00167083740234375, 0.004669189453125, 0.01953125, 0.01226806640625, -0.01287841796875, -0.0062255859375, 0.0235595703125, 0.00799560546875, -0.0087890625, -...
[ 11249, 54, 87, 28282, 10, 32786, 450, 1556, 142, 1810, 171859, 23, 563, 4904, 42, 1238, 3742, 12353, 6460, 1294, 28636, 89536, 1022, 184, 992, 78292, 297, 214810, 4390, 831, 85689, 237, 43032, 16750, 370, 8705, 3642, 61924, 765, 138256, ...
[ 0.0626220703125, 0.034088134765625, 0.023193359375, 0.207763671875, 0.06646728515625, 0.279541015625, 0.03656005859375, 0.119873046875, 0.07989501953125, 0.255859375, 0.268798828125, 0.078857421875, 0.139404296875, 0.216796875, 0.05474853515625, 0.0860595703125, 0.1090087890625, 0....
embed
32589861_c0
32589861
fsharp
0
Title: How to enable an F# type-provider when running Visual Studio under windows user-account Problem title: How to enable an F# type-provider when running Visual Studio under windows user-account Tags: f%23, websharper, type-providers Problem: How to enable an F# type-provider when running Visual Studio under windows...
How to enable an F# type-provider when running Visual Studio under windows user-account How to enable an F# type-provider when running Visual Studio under windows user-account f%23 websharper type-providers How Visual Studio How to enable an F# type-provider when running Visual Studio under windows user-account Is it p...
[ 0.00872802734375, 0.019775390625, -0.0030670166015625, -0.0084228515625, 0.001983642578125, 0.0303955078125, -0.018798828125, -0.0052490234375, -0.003997802734375, -0.0189208984375, 0.004730224609375, 0.006988525390625, 0.00860595703125, 0.000537872314453125, 0.0272216796875, -0.006072...
[ 11249, 47, 22, 2886, 563, 4904, 10644, 93136, 820, 51042, 73372, 22968, 1379, 54825, 38937, 213499, 142, 1238, 3742, 1467, 89280, 1264, 3229, 7722, 11675, 4002, 294, 3467, 111481, 81280, 81450, 3773, 15426, 170198, 83947, 61443, 15649, 7244, ...
[ 0.047332763671875, 0.02490234375, 0.05987548828125, 0.1297607421875, 0.1180419921875, 0.2261962890625, 0.18505859375, 0.18212890625, 0.1551513671875, 0.075927734375, 0.229248046875, 0.23291015625, 0.16259765625, 0.1033935546875, 0.1005859375, 0.1953125, 0.003936767578125, 0.0417785...
embed
393318_c0
393318
fsharp
0
Title: WPF animation slow when the mouse is in the window Problem title: WPF animation slow when the mouse is in the window Tags: wpf, f%23, .net Problem: WPF animation slow when the mouse is in the window I'm trying create a moving rectangle (rect). This is the relevant code: let timer = new Threading.DispatcherTimer(...
WPF animation slow when the mouse is in the window WPF animation slow when the mouse is in the window wpf f%23 .net WPF Threading.DispatcherTimer timer.Tick.Add Canvas.SetLeft Canvas.GetLeft timer.Start timer.Interval TimeSpan.FromMilliSeconds WPF animation slow when the mouse is in the window I'm trying create a movin...
[ -0.01373291015625, 0.00787353515625, 0.01031494140625, -0.0169677734375, 0.006744384765625, -0.01129150390625, -0.000965118408203125, -0.007568359375, -0.0048828125, -0.03271484375, 0.0107421875, -0.00142669677734375, 0.0172119140625, -0.00958251953125, 0.01214599609375, 0.003250122070...
[ 601, 41265, 114205, 72803, 3229, 114669, 83, 23, 76896, 39557, 3742, 1179, 136719, 4453, 5372, 70059, 42, 21991, 41113, 4079, 2480, 126597, 1405, 19055, 3180, 178449, 2271, 31577, 28282, 98567, 148734, 449, 133, 173247, 29191, 18151, 2967, 56...
[ 0.08331298828125, 0.2100830078125, 0.199462890625, 0.2203369140625, 0.04876708984375, 0.2108154296875, 0.044158935546875, 0.0985107421875, 0.179931640625, 0.0965576171875, 0.0616455078125, 0.048583984375, 0.0809326171875, 0.03741455078125, 0.0096435546875, 0.117919921875, 0.024810791...
embed
66133333_c1
66133333
fsharp
1
* int * string -> bool let (<.) ((hour1, min1, pod1):TimeOfDayTriple) ((hour2, min2, pod2):TimeOfDayTriple) = (pod1, pod2) //val ( <. ) : int * int * string -> int * int * string -> string * string let (<.) ((hour1, min1, pod1):TimeOfDayTriple) ((hour2, min2, pod2):TimeOfDayTriple) = pod1 + pod2 val ( <. ) : int * int...
* int * string -> bool let (<.) ((hour1, min1, pod1):TimeOfDayTriple) ((hour2, min2, pod2):TimeOfDayTriple) = (pod1, pod2) //val ( <. ) : int * int * string -> int * int * string -> string * string let (<.) ((hour1, min1, pod1):TimeOfDayTriple) ((hour2, min2, pod2):TimeOfDayTriple) = pod1 + pod2 val ( <. ) : int * int...
[ 0.0028076171875, 0.02197265625, 0.0294189453125, 0.0203857421875, -0.01519775390625, -0.02197265625, -0.01904296875, -0.0135498046875, 0.007659912109375, 0.0152587890625, -0.004241943359375, 0.0179443359375, 0.0230712890625, -0.0020751953125, 0.00799560546875, -0.00125885009765625, 0...
[ 661, 23, 18, 79315, 33079, 142484, 2633, 16093, 5, 497, 474, 418, 881, 855, 17727, 70059, 132887, 97141, 74257, 8705, 304, 10461, 10299, 1405, 4426, 997, 3502, 15982, 38775, 17447, 425, 71928, 18499, 93774, 188735, 125195, 84751, 10644, 428...
[ 0.054840087890625, 0.103759765625, 0.1097412109375, 0.249755859375, 0.09033203125, 0.2222900390625, 0.2060546875, 0.173583984375, 0.033416748046875, 0.09521484375, 0.0933837890625, 0.032562255859375, 0.15966796875, 0.1650390625, 0.024444580078125, 0.1060791015625, 0.146240234375, 0...
embed
51343039_c1
51343039
fsharp
1
that is required by Deedle . I checked again and the version of System.ValueTuple did not change in NuGet . Once again I did Tools\Paket Dependencies Manager\Update All Packages but v4.4.0 was still the version installed in NuGet . So I did References\Add Package and added System.ValueTuple to Paket . The package appe...
that is required by Deedle . I checked again and the version of System.ValueTuple did not change in NuGet . Once again I did Tools\Paket Dependencies Manager\Update All Packages but v4.4.0 was still the version installed in NuGet . So I did References\Add Package and added System.ValueTuple to Paket . The package appe...
[ 0.0012969970703125, 0.0302734375, 0.016845703125, -0.00026702880859375, 0.0035247802734375, 0.0234375, 0.000843048095703125, 0.00141143798828125, 0.0179443359375, 0.034912109375, -0.019775390625, 0.0216064453125, -0.0172119140625, 0.0172119140625, 0.013671875, 0.0150146484375, 0.0363...
[ 450, 83, 56065, 390, 262, 297, 133, 12765, 13438, 11389, 111, 12353, 5, 856, 50770, 15665, 8705, 6777, 959, 15549, 23, 1429, 724, 126, 119296, 155402, 26885, 117538, 30195, 152872, 3164, 56607, 52467, 81, 617, 151152, 7464, 20600, 215996, ...
[ 0.0732421875, 0.0386962890625, 0.2103271484375, 0.023834228515625, 0.128173828125, 0.20361328125, 0.190673828125, 0.048583984375, 0.023406982421875, 0.17236328125, 0.000274658203125, 0.1280517578125, 0.008331298828125, 0.1378173828125, 0.2122802734375, 0.161865234375, 0.23486328125, ...
embed
54098572_c0
54098572
fsharp
0
Title: F# sum machine console Problem title: F# sum machine console Tags: recursion, f%23, sum, console Problem: F# sum machine console I'm learning to use the console in Visual Code (F#). I want to write a code, which calculates the sum of every number I write in the console. For example, when I write 3 in the console...
F# sum machine console F# sum machine console recursion f%23 sum console Geben Sie Zahlen Addieren Zahl F# sum machine console I'm learning to use the console in Visual Code (F#). I want to write a code, which calculates the sum of every number I write in the console. For example, when I write 3 in the console, the cod...
[ -0.023193359375, -0.00017547607421875, 0.0036468505859375, 0.03564453125, -0.00008153915405273438, 0.004119873046875, 0.005889892578125, 0.016357421875, 0.000823974609375, -0.0291748046875, -0.0034332275390625, -0.0272216796875, -0.028076171875, 0.003448486328125, 0.0263671875, 0.01855...
[ 563, 4904, 10554, 36279, 130250, 195625, 1830, 1238, 3949, 3742, 2206, 776, 727, 150330, 29117, 4921, 90633, 52080, 4527, 73372, 28864, 919, 3444, 33022, 18151, 74481, 111, 11907, 14012, 87, 23, 27781, 138, 5608, 8337, 163, 4420, 1031, 2645...
[ 0.1204833984375, 0.1812744140625, 0.2113037109375, 0.1351318359375, 0.23291015625, 0.19091796875, 0.056304931640625, 0.0845947265625, 0.07232666015625, 0.1546630859375, 0.0928955078125, 0.0546875, 0.07666015625, 0.1365966796875, 0.10516357421875, 0.1136474609375, 0.1197509765625, 0...
embed
54336921_c1
54336921
fsharp
1
, ConnectionString = connectionString, IndividualsAmount = 1000, UseOptionTypes = true> let table = sql.GetDataContext().Dbo //property Dbo not found let testQuery = query{ for rows in table.Organization do where (rows.OrgName = "ASME") select rows } |> Seq.toArray let firstRow = testQuery.[0].PressureLabel [<EntryPoin...
, ConnectionString = connectionString, IndividualsAmount = 1000, UseOptionTypes = true> let table = sql.GetDataContext().Dbo //property Dbo not found let testQuery = query{ for rows in table.Organization do where (rows.OrgName = "ASME") select rows } |> Seq.toArray let firstRow = testQuery.[0].PressureLabel [<EntryPoin...
[ 0.015625, 0.0123291015625, -0.006103515625, 0.036376953125, -0.0125732421875, -0.018798828125, 0.00811767578125, -0.0162353515625, -0.0245361328125, -0.0240478515625, 0.00872802734375, 0.0108642578125, -0.00445556640625, -0.0091552734375, -0.0120849609375, 0.02099609375, -0.008666992...
[ 4, 62448, 1830, 71713, 214, 2203, 94878, 154966, 121147, 4382, 36836, 39029, 196707, 29568, 2633, 23180, 99247, 126, 137989, 11935, 22829, 837, 36290, 56, 391, 959, 14037, 3034, 41732, 1294, 41, 15555, 100222, 47691, 19060, 163612, 9713, 1061...
[ 0.01025390625, 0.170166015625, 0.060943603515625, 0.1663818359375, 0.0987548828125, 0.05267333984375, 0.17236328125, 0.1339111328125, 0.1331787109375, 0.11865234375, 0.1129150390625, 0.137451171875, 0.13916015625, 0.0142059326171875, 0.08624267578125, 0.1748046875, 0.1968994140625, ...
embed
44088028_c0
44088028
fsharp
0
Title: F# Finding paths in an n-ary tree Problem title: F# Finding paths in an n-ary tree Tags: f%23 Problem: F# Finding paths in an n-ary tree Given this tree type: type T<'a> = N of 'a * T<'a> list which could be declared as: let ta = N("b", [N("c", [])]) How would I get all the possible paths in this tree? I've trie...
F# Finding paths in an n-ary tree F# Finding paths in an n-ary tree f%23 Finding List.collect x::is F# Finding paths in an n-ary tree Given this tree type: which could be declared as: let ta = N("b", [N("c", [])]) How would I get all the possible paths in this tree? I've tried by applying the method mentioned in this p...
[ 0.00799560546875, 0.007354736328125, 0.01190185546875, 0.00872802734375, -0.009765625, 0.0023345947265625, -0.006134033203125, -0.026123046875, -0.01275634765625, -0.043212890625, 0.0009765625, 0.00836181640625, -0.005096435546875, 0.016845703125, 0.005279541015625, 0.00677490234375, ...
[ 563, 4904, 26040, 60875, 7, 653, 6635, 53201, 23, 9, 1238, 3742, 32036, 196352, 1022, 164, 903, 10644, 5809, 159978, 2633, 308, 541, 275, 839, 238, 11249, 2806, 2046, 756, 70, 7722, 37842, 59911, 55300, 30646, 201505, 5303, 29479, 83, 6...
[ 0.1246337890625, 0.198486328125, 0.1185302734375, 0.2431640625, 0.117919921875, 0.117919921875, 0.1680908203125, 0.2022705078125, 0.0545654296875, 0.0222320556640625, 0.08245849609375, 0.09423828125, 0.123291015625, 0.1649169921875, 0.08203125, 0.0804443359375, 0.0516357421875, 0.1...
embed
24252672_c0
24252672
fsharp
0
Title: How to pass data from a FSharp.Data.CsvProvider to a Deedle.Frame? Problem title: How to pass data from a FSharp.Data.CsvProvider to a Deedle.Frame? Tags: f%23-data, csv, f%23, deedle Problem: How to pass data from a FSharp.Data.CsvProvider to a Deedle.Frame? I'm trying to pass data from a FSharp.Data.CsvProvide...
How to pass data from a FSharp.Data.CsvProvider to a Deedle.Frame? How to pass data from a FSharp.Data.CsvProvider to a Deedle.Frame? f%23-data csv f%23 deedle a How FSharp.Data.CsvProvider Deedle.Frame How to pass data from a FSharp.Data.CsvProvider to a Deedle.Frame? I'm trying to pass data from a FSharp.Data.CsvProv...
[ 0.021484375, 0.01104736328125, 0.00244140625, 0.01202392578125, -0.00188446044921875, 0.007598876953125, 0.0147705078125, 0.0033111572265625, 0.00066375732421875, -0.034423828125, -0.0145263671875, -0.0157470703125, -0.00139617919921875, 0.0089111328125, 0.003326416015625, -0.010559082...
[ 11249, 47, 27875, 2053, 1295, 93774, 3467, 254, 137989, 441, 67756, 177997, 62160, 262, 297, 133, 5, 108386, 282, 1238, 27495, 10135, 20763, 334, 3742, 8, 10, 31577, 3525, 563, 4904, 96760, 313, 43486, 102158, 29394, 217, 6371, 33, 8762, ...
[ 0.0941162109375, 0.10595703125, 0.172607421875, 0.178466796875, 0.1033935546875, 0.1055908203125, 0.1802978515625, 0.1876220703125, 0.1422119140625, 0.06903076171875, 0.2158203125, 0.1871337890625, 0.1439208984375, 0.1468505859375, 0.1934814453125, 0.20458984375, 0.010589599609375, ...
embed
9696492_c1
9696492
fsharp
1
I am facing is parsing XML with element such as <Node Color="Red" Transparency="90%" Material="Wood"/> Here the attributes Color, Transparency and Material are required attributes, however, their sequence is immaterial. In addition, there can be other optional attributes. How can I create a combinatorial parser to rep...
I am facing is parsing XML with element such as <Node Color="Red" Transparency="90%" Material="Wood"/> Here the attributes Color, Transparency and Material are required attributes, however, their sequence is immaterial. In addition, there can be other optional attributes. How can I create a combinatorial parser to rep...
[ -0.0062255859375, 0.01348876953125, -0.024169921875, 0.01318359375, 0.0106201171875, -0.00005602836608886719, -0.0003299713134765625, -0.01611328125, -0.0128173828125, 0.0240478515625, -0.00311279296875, 0.0146484375, 0.0205078125, -0.016357421875, -0.01251220703125, 0.01190185546875, ...
[ 7808, 214, 366, 6953, 92537, 12830, 5021, 112, 51193, 80852, 11062, 16082, 27771, 100432, 23994, 26995, 150380, 90, 56065, 40, 944, 566, 39886, 35829, 289, 11249, 831, 87, 28282, 22321, 77275, 2189, 33636, 3956, 41371, 13, 45064, 183234, 14...
[ 0.0841064453125, 0.009124755859375, 0.169189453125, 0.09405517578125, 0.20849609375, 0.13232421875, 0.116943359375, 0.09130859375, 0.1446533203125, 0.136962890625, 0.03399658203125, 0.1322021484375, 0.04364013671875, 0.1658935546875, 0.1597900390625, 0.0992431640625, 0.180908203125, ...
embed
14673544_c1
14673544
fsharp
1
>\fsharp-tapl\arith\bin\Debug\arith.exe' And F# Interactive correctly finds arith.exe reporting the correct absolute path. > open Main > eval "true;" ;; true val it : unit = () This confirms that arith.exe was correctly found, loaded and works. So how did F# Interactive #I command know the project path since the curren...
>\fsharp-tapl\arith\bin\Debug\arith.exe' And F# Interactive correctly finds arith.exe reporting the correct absolute path. > open Main > eval "true;" ;; true val it : unit = () This confirms that arith.exe was correctly found, loaded and works. So how did F# Interactive #I command know the project path since the curren...
[ -0.004638671875, 0.00122833251953125, 0.005157470703125, 0.027099609375, -0.0169677734375, 0.0223388671875, 0.01312255859375, 0.01470947265625, 0.00064849853515625, -0.006134033203125, 0.0028839111328125, 0.01611328125, -0.0072021484375, -0.0027313232421875, 0.0224609375, -0.0026702880...
[ 420, 89280, 254, 102, 2424, 147, 8962, 7568, 4657, 85779, 46480, 563, 4904, 5337, 71232, 26785, 7413, 187, 13416, 89931, 60875, 9803, 12321, 28, 1405, 9774, 29568, 3502, 442, 25072, 2203, 39563, 14037, 72367, 43240, 3642, 568, 75101, 3714, ...
[ 0.080078125, 0.184814453125, 0.13232421875, 0.0888671875, 0.1644287109375, 0.114990234375, 0.27685546875, 0.07489013671875, 0.1036376953125, 0.225830078125, 0.1727294921875, 0.10504150390625, 0.2008056640625, 0.1705322265625, 0.170166015625, 0.1199951171875, 0.10455322265625, 0.138...
embed
54946299_c2
54946299
fsharp
2
Sharp.Reflection, DocumentRow, doc_id:int32, doc_kind:string, doc_code:string, customer_code:string, from_code:string, username:string, createdat:DateTime, updatedat:DateTime, dueat:DateTime, signature:string, authorized:string, delivery_order:int32, price:decimal, cost:decimal, tax_value:decimal, discount_value:decima...
Sharp.Reflection, DocumentRow, doc_id:int32, doc_kind:string, doc_code:string, customer_code:string, from_code:string, username:string, createdat:DateTime, updatedat:DateTime, dueat:DateTime, signature:string, authorized:string, delivery_order:int32, price:decimal, cost:decimal, tax_value:decimal, discount_value:decima...
[ 0.0020904541015625, 0.023681640625, -0.005645751953125, 0.017578125, -0.00311279296875, -0.02001953125, -0.0093994140625, -0.00579833984375, 0.002838134765625, 0.0159912109375, 0.01495361328125, -0.00830078125, -0.021728515625, -0.006988525390625, 0.01177978515625, -0.0081787109375, ...
[ 197106, 5, 190015, 133, 10763, 43101, 12724, 434, 51584, 532, 4288, 6460, 68347, 91693, 40899, 43373, 1295, 38937, 11627, 75935, 70059, 150011, 4743, 138256, 42179, 117989, 80596, 27167, 170753, 11034, 24643, 27494, 124218, 1614, 188, 3622, 107...
[ 0.303466796875, 0.0235748291015625, 0.2044677734375, 0.212646484375, 0.11083984375, 0.201171875, 0.155517578125, 0.1187744140625, 0.14892578125, 0.0712890625, 0.08502197265625, 0.152587890625, 0.133056640625, 0.124755859375, 0.1756591796875, 0.214111328125, 0.1312255859375, 0.08117...
embed
35140697_c0
35140697
fsharp
0
Title: f# adding non interface functions to object expressions Problem title: f# adding non interface functions to object expressions Tags: f%23 Problem: f# adding non interface functions to object expressions Say I have an interface ICache which defines two functions, Function1 and Function2 and I use an object expres...
f# adding non interface functions to object expressions f# adding non interface functions to object expressions f%23 ICache Function1 Function2 WebCache __.HelperFunction __.Function1 __.Function2 f# adding non interface functions to object expressions Say I have an interface ICache which defines two functions, Functio...
[ -0.0045166015625, -0.00555419921875, 0.003021240234375, -0.006683349609375, -0.013916015625, 0.0031890869140625, -0.0216064453125, 0.0052490234375, 0.001922607421875, -0.0174560546875, -0.00170135498046875, 0.017822265625, 0.0067138671875, -0.0111083984375, 0.021240234375, -0.005493164...
[ 1238, 4904, 154107, 351, 101758, 32354, 7, 47, 36746, 125195, 3742, 69010, 46994, 28670, 418, 304, 4002, 441, 60785, 1264, 97249, 10763, 61924, 6626, 136, 4527, 29479, 3444, 15190, 4358, 56, 563, 959, 63769, 150624, 2831, 70, 4488, 67688, ...
[ 0.1282958984375, 0.1854248046875, 0.1116943359375, 0.1612548828125, 0.2294921875, 0.2069091796875, 0.0377197265625, 0.03302001953125, 0.177490234375, 0.206787109375, 0.06097412109375, 0.037872314453125, 0.1976318359375, 0.08843994140625, 0.028564453125, 0.0787353515625, 0.05355834960...
embed
46846798_c0
46846798
fsharp
0
Title: Compiler warning: FS0058: Possible incorrect indentation Problem title: Compiler warning: FS0058: Possible incorrect indentation Tags: compiler-warnings, f%23, indentation Problem: Compiler warning: FS0058: Possible incorrect indentation I wrote this code with Visual Studio but when I compile it, it gives me bac...
Compiler warning: FS0058: Possible incorrect indentation Compiler warning: FS0058: Possible incorrect indentation compiler-warnings f%23 indentation Compiler FS0058 Possible converti_tempo Compiler warning: FS0058: Possible incorrect indentation I wrote this code with Visual Studio but when I compile it, it gives me ba...
[ 0.0048828125, 0.0031890869140625, 0.004791259765625, 0.01019287109375, 0.006744384765625, -0.011962890625, -0.0242919921875, -0.01007080078125, -0.00970458984375, -0.020751953125, -0.0037841796875, 0.01544189453125, -0.00848388671875, 0.013671875, 0.02490234375, -0.0081787109375, 0.0...
[ 15612, 34759, 1631, 592, 93774, 7049, 10057, 115861, 2661, 214552, 18597, 22062, 9969, 4205, 6977, 1238, 3949, 3742, 166615, 65769, 54397, 903, 18151, 678, 73372, 22968, 1284, 1340, 163, 4420, 6097, 9790, 442, 180, 105272, 141, 43240 ]
[ 0.1314697265625, 0.1810302734375, 0.1416015625, 0.040008544921875, 0.1356201171875, 0.10601806640625, 0.2332763671875, 0.1439208984375, 0.06341552734375, 0.1727294921875, 0.183837890625, 0.126220703125, 0.161865234375, 0.08380126953125, 0.0736083984375, 0.0670166015625, 0.03060913085...
embed
30337324_c0
30337324
fsharp
0
Title: Can&#x27;t open namespaces in a Nuget package Problem title: Can&#x27;t open namespaces in a Nuget package Tags: f%23, nuget-package, nuget, type-providers, visual-studio-2013 Problem: Can't open namespaces in a Nuget package I did the following: Create a new F# project in VS2013 In Package Manager Console, exec...
Can&#x27;t open namespaces in a Nuget package Can&#x27;t open namespaces in a Nuget package f%23 nuget-package nuget type-providers visual-studio-2013 Can Nuget Install-Package FSharp.Azure.StorageTypeProvider visual-studio-2013 Can't open namespaces in a Nuget package I did the following: Create a new F# project in VS...
[ 0.00433349609375, 0.0111083984375, -0.001373291015625, -0.020751953125, -0.0074462890625, 0.0048828125, 0.0166015625, -0.0125732421875, -0.00946044921875, 0.01104736328125, -0.01025390625, -0.006561279296875, 0.0244140625, -0.01300048828125, 0.0135498046875, 0.00049591064453125, 0.00...
[ 4171, 3768, 18, 9803, 210716, 7, 23, 1429, 3794, 98169, 3742, 315, 29102, 10644, 93136, 21176, 52629, 74790, 107951, 205956, 93774, 3467, 254, 219534, 196707, 177997, 563, 4904, 13452, 44160, 7735, 56607, 30195, 40777, 71924, 30388, 11435, 27...
[ 0.07647705078125, 0.07342529296875, 0.04339599609375, 0.194580078125, 0.308837890625, 0.11865234375, 0.050537109375, 0.20068359375, 0.255126953125, 0.1905517578125, 0.0264434814453125, 0.1590576171875, 0.132568359375, 0.09893798828125, 0.08154296875, 0.1422119140625, 0.1337890625, ...
embed
34511535_c0
34511535
fsharp
0
Title: How to repeat TryParse until success in F#? Problem title: How to repeat TryParse until success in F#? Tags: f%23, while-loop, tryparse Problem: How to repeat TryParse until success in F#? Sorry for dumb question, but I'm perplexed a bit. In C# I can idiomatically do the following: int result = 0; while (!Int32....
How to repeat TryParse until success in F#? How to repeat TryParse until success in F#? f%23 while-loop tryparse How TryParse Int32.TryParse How to repeat TryParse until success in F#? Sorry for dumb question, but I'm perplexed a bit. In C# I can idiomatically do the following: In F# I have two options for Try DoSometh...
[ -0.0019683837890625, 0.006683349609375, -0.0004177093505859375, 0.031982421875, -0.01104736328125, 0.0030517578125, 0.007537841796875, -0.013671875, 0.005645751953125, -0.01806640625, 0.0201416015625, 0.0283203125, -0.0135498046875, 0.01416015625, 0.02587890625, 0.01068115234375, 0.0...
[ 11249, 47, 119140, 40858, 28636, 184, 24189, 36272, 23, 563, 4904, 1238, 3949, 3742, 12960, 28354, 9790, 2500, 18, 6460, 618, 1294, 90502, 6492, 44974, 360, 313, 831, 49666, 54, 25632, 6626, 50717, 984, 8912, 282, 64113, 103510, 1650, 959...
[ 0.07763671875, 0.050811767578125, 0.259033203125, 0.23828125, 0.2041015625, 0.17578125, 0.1590576171875, 0.18603515625, 0.04595947265625, 0.1129150390625, 0.1890869140625, 0.090576171875, 0.00067138671875, 0.1922607421875, 0.18359375, 0.171875, 0.1876220703125, 0.173828125, 0.023...
embed
1148167_c1
1148167
fsharp
1
.taskList |> Seq.find (fun t -> t.Element(XName.op_Implicit("Parent")).Value.Equals("0")) let rec doSort t = let parId = t.Element(XName.op_Implicit("Id")).Value let children = o.tasklist |> Seq.filter (fun x -> x.Element(XName.op_Implicit("Parent")).Value.Equals(parId)) |> Seq.iter (fun x -> Console.WriteLine(x)) |> S...
.taskList |> Seq.find (fun t -> t.Element(XName.op_Implicit("Parent")).Value.Equals("0")) let rec doSort t = let parId = t.Element(XName.op_Implicit("Id")).Value let children = o.tasklist |> Seq.filter (fun x -> x.Element(XName.op_Implicit("Parent")).Value.Equals(parId)) |> Seq.iter (fun x -> Console.WriteLine(x)) |> S...
[ 0.01141357421875, 0.024169921875, 0.005157470703125, -0.01080322265625, -0.00860595703125, -0.003143310546875, -0.0052490234375, -0.00299072265625, 0.00714111328125, 0.004730224609375, 0.006805419921875, 0.0108642578125, -0.01092529296875, -0.00010538101196289062, 0.0145263671875, 0.00...
[ 5, 1073, 92, 154663, 503, 864, 111607, 16498, 808, 33079, 647, 19929, 1542, 163612, 2146, 128878, 60923, 28636, 2517, 856, 50770, 71723, 2389, 2633, 21954, 54, 158240, 18, 366, 71, 20020, 2203, 36, 6562, 120337, 1022, 2500, 16840, 40777, ...
[ 0.048675537109375, 0.1776123046875, 0.08221435546875, 0.2039794921875, 0.04571533203125, 0.1390380859375, 0.14306640625, 0.1099853515625, 0.115966796875, 0.01629638671875, 0.064453125, 0.15625, 0.08526611328125, 0.154296875, 0.0814208984375, 0.024932861328125, 0.174072265625, 0.117...
embed
38905735_c0
38905735
fsharp
0
Title: Forcing let to bind to a function instead of a value Problem title: Forcing let to bind to a function instead of a value Tags: f%23 Problem: Forcing let to bind to a function instead of a value I have this piece of code that is supposed to generate random names: let generateName = let rnd = System.Random() let c...
Forcing let to bind to a function instead of a value Forcing let to bind to a function instead of a value f%23 Forcing System.Random rnd.Next System.Convert.ToChar Hello Forcing let to bind to a function instead of a value I have this piece of code that is supposed to generate random names: This evaluates to a string, ...
[ -0.0025482177734375, 0.004791259765625, 0.025390625, 0.01214599609375, 0.0059814453125, 0.008544921875, 0.00640869140625, -0.021728515625, -0.010498046875, -0.03369140625, -0.006805419921875, 0.0059814453125, -0.0224609375, 0.014404296875, 0.0096435546875, -0.005401611328125, -0.0009...
[ 1326, 21896, 2633, 47, 68557, 32354, 64457, 111, 34292, 1238, 3742, 12353, 126525, 3815, 2208, 81280, 11935, 11549, 7763, 84068, 35378, 10, 903, 63847, 18151, 134598, 139392, 96759, 123055, 151575, 79315, 18, 32233, 2367, 17, 3444, 62, 59725,...
[ 0.1676025390625, 0.170654296875, 0.253173828125, 0.2127685546875, 0.267822265625, 0.2227783203125, 0.1807861328125, 0.074951171875, 0.2047119140625, 0.0231475830078125, 0.0986328125, 0.1124267578125, 0.07562255859375, 0.136962890625, 0.06597900390625, 0.15185546875, 0.0322265625, 0...
embed
42919797_c0
42919797
fsharp
0
Title: Reading Xml file throws an error - FAKE F#MAKE Problem title: Reading Xml file throws an error - FAKE F#MAKE Tags: f%23, f%23-3.0, f%23-data, f%23-fake, f%23-interactive Problem: Reading Xml file throws an error - FAKE F#MAKE I am reading XML File in FAKE script using XMLHelper.XMLRead but it is throwing an erro...
Reading Xml file throws an error - FAKE F#MAKE Reading Xml file throws an error - FAKE F#MAKE f%23 f%23-3.0 f%23-data f%23-fake f%23-interactive Reading Xml FAKE MAKE XMLHelper.XMLRead i.e IEnumerable GetEnumerator Version.Config Target Reading Xml file throws an error - FAKE F#MAKE I am reading XML File in FAKE script...
[ -0.000553131103515625, 0.03564453125, 0.004730224609375, -0.00830078125, 0.0140380859375, 0.015869140625, 0.00970458984375, -0.0208740234375, -0.01263427734375, -0.00109100341796875, 0.00162506103515625, -0.0037841796875, 0.0029449462890625, 0.000644683837890625, 0.03271484375, -0.0295...
[ 104951, 1193, 7237, 11435, 104250, 18499, 563, 119960, 4904, 3742, 1238, 27495, 132265, 10135, 1021, 10433, 43711, 92537, 60785, 1264, 39456, 31345, 2606, 56, 2886, 4597, 40647, 83671, 160017, 16454, 42724, 26499, 1542, 10644, 91693, 33079, 793...
[ 0.171630859375, 0.0919189453125, 0.2069091796875, 0.1219482421875, 0.141357421875, 0.1636962890625, 0.09771728515625, 0.155517578125, 0.03521728515625, 0.0638427734375, 0.000335693359375, 0.00823974609375, 0.10284423828125, 0.006805419921875, 0.114013671875, 0.0057373046875, 0.023941...
embed
21897510_c1
21897510
fsharp
1
{ // Implementation specific setup code here } Async.StartAsTask f Instead now you will be greeted by a similar error message: This expression was expected to have type Task but here has type Task<'a>' You may then ask why I am not using events in the first place. The main reason for that is then since you are going t...
{ // Implementation specific setup code here } Async.StartAsTask f Instead now you will be greeted by a similar error message: This expression was expected to have type Task but here has type Task<'a>' You may then ask why I am not using events in the first place. The main reason for that is then since you are going t...
[ -0.01055908203125, 0.0130615234375, -0.0002231597900390625, -0.0028228759765625, -0.0003185272216796875, -0.003631591796875, 0.00213623046875, -0.01055908203125, 0.01544189453125, -0.0159912109375, -0.000522613525390625, 0.0234375, -0.001495361328125, 0.01556396484375, 0.0223388671875, ...
[ 153941, 29458, 169581, 18151, 3688, 62, 12654, 238, 126597, 19659, 9874, 1042, 1238, 175399, 21373, 18499, 26008, 3293, 125195, 509, 84751, 10644, 9598, 92, 1284, 1556, 16093, 11, 15400, 87, 444, 959, 17368, 47353, 3687, 5201, 31635, 30646, ...
[ 0.13525390625, 0.090087890625, 0.1697998046875, 0.07427978515625, 0.0804443359375, 0.055084228515625, 0.2039794921875, 0.0830078125, 0.1453857421875, 0.1014404296875, 0.1854248046875, 0.1458740234375, 0.1591796875, 0.040313720703125, 0.07708740234375, 0.15673828125, 0.05633544921875,...
embed
44059826_c0
44059826
fsharp
0
Title: FSharp.Data.SqlClient with multiple result sets Problem title: FSharp.Data.SqlClient with multiple result sets Tags: fsharp.data.sqlclient, sql-server, f%23 Problem: FSharp.Data.SqlClient with multiple result sets With FSharp.Data.SqlClient , how do you use SqlCommandProvider or SqlProgrammabilityProvider with m...
FSharp.Data.SqlClient with multiple result sets FSharp.Data.SqlClient with multiple result sets fsharp.data.sqlclient sql-server f%23 FSharp.Data.SqlClient OrderId Date Name Dave Smith Orders Select Customer Where CustomerId FSharp.Data.SqlClient with multiple result sets With FSharp.Data.SqlClient , how do you use Sql...
[ 0.0238037109375, 0.00750732421875, -0.01190185546875, 0.025390625, -0.00811767578125, 0.01123046875, -0.01422119140625, -0.0135498046875, 0.01373291015625, -0.0478515625, 0.01373291015625, -0.00653076171875, -0.002655029296875, -0.005462646484375, -0.00860595703125, -0.017822265625, ...
[ 93774, 3467, 254, 137989, 99247, 441, 150, 2517, 678, 48716, 16750, 5423, 1238, 89280, 10135, 222978, 39642, 3742, 81206, 71, 15757, 103383, 37700, 51620, 124765, 568, 17106, 3642, 4527, 159, 10770, 12018, 177997, 707, 172895, 41159, 62160, 3...
[ 0.0787353515625, 0.16455078125, 0.196044921875, 0.104736328125, 0.15234375, 0.01556396484375, 0.161865234375, 0.1339111328125, 0.0650634765625, 0.199462890625, 0.1788330078125, 0.1854248046875, 0.054901123046875, 0.1636962890625, 0.0841064453125, 0.191650390625, 0.09619140625, 0.09...
embed
10719770_c0
10719770
fsharp
0
Title: Is there anyway to use C# implicit operators from F#? Problem title: Is there anyway to use C# implicit operators from F#? Tags: implicit-conversion, c%23, f%23 Problem: Is there anyway to use C# implicit operators from F#? If I have a C# class with implicit conversion to double, like so: public class Parameter ...
Is there anyway to use C# implicit operators from F#? Is there anyway to use C# implicit operators from F#? implicit-conversion c%23 f%23 F# Parameter _value Math.Sin Is there anyway to use C# implicit operators from F#? If I have a C# class with implicit conversion to double, like so: F# doesn't like me trying to use ...
[ -0.0033416748046875, 0.00885009765625, 0.025390625, 0.01416015625, 0.004180908203125, 0.0186767578125, -0.01239013671875, -0.00433349609375, -0.0028228759765625, -0.038330078125, 0.00018978118896484375, 0.0000457763671875, -0.00439453125, -0.00531005859375, 0.000885009765625, -0.008483...
[ 2071, 2685, 109954, 47, 4527, 313, 4904, 165164, 39933, 7, 1295, 563, 2271, 46354, 3742, 1238, 1720, 29089, 27494, 78804, 294, 73, 18507, 142477, 41929, 22027, 18, 1884, 31577, 237, 2174, 3542, 21917, 257, 2499, 3917, 54, 57767, 16797, 67...
[ 0.008941650390625, 0.076171875, 0.1229248046875, 0.05126953125, 0.1470947265625, 0.088134765625, 0.2340087890625, 0.2467041015625, 0.21533203125, 0.103759765625, 0.087890625, 0.1400146484375, 0.024169921875, 0.1182861328125, 0.0966796875, 0.034698486328125, 0.021148681640625, 0.085...
embed
17964765_c0
17964765
fsharp
0
Title: F# What is the syntax for creating and populating an FSharpx.Collections.Vector? Problem title: F# What is the syntax for creating and populating an FSharpx.Collections.Vector? Tags: f%23-3.0, f%23, syntax Problem: F# What is the syntax for creating and populating an FSharpx.Collections.Vector? I would like to m...
F# What is the syntax for creating and populating an FSharpx.Collections.Vector? F# What is the syntax for creating and populating an FSharpx.Collections.Vector? f%23-3.0 f%23 syntax What FSharpx.Collections.Vector Vector FSharpx.Collections tuple1 tuple2 F# What is the syntax for creating and populating an FSharpx.Col...
[ 0.01141357421875, 0.028076171875, -0.0213623046875, 0.006927490234375, 0.0032806396484375, 0.00165557861328125, -0.0174560546875, -0.01177978515625, 0.004791259765625, -0.0233154296875, -0.0048828125, 0.0028839111328125, -0.005035400390625, -0.0076904296875, -0.026611328125, 0.00006341...
[ 563, 4904, 4865, 6002, 86531, 100, 105233, 136, 27623, 1916, 93774, 3467, 88684, 78457, 8996, 5256, 26455, 18770, 1238, 27495, 132265, 3949, 3742, 2609, 370, 8705, 304, 618, 2053, 45646, 28282, 173, 10644, 4288, 21917, 79315, 67, 678 ]
[ 0.06756591796875, 0.09271240234375, 0.03448486328125, 0.1641845703125, 0.250244140625, 0.0166015625, 0.1492919921875, 0.0772705078125, 0.1461181640625, 0.03729248046875, 0.08428955078125, 0.1534423828125, 0.2484130859375, 0.0955810546875, 0.1363525390625, 0.0960693359375, 0.190673828...
embed
11106737_c1
11106737
fsharp
1
.InvalidCastException: Unable to cast object of type 'RangeInt32@4819-2' to type 'System.Collections.Generic.IEnumerable`1[System.Object]' Tried returning the partial functions as quotations, but had similar problems. If I returned typed quotations, had the same problem with returning different Expr signatures. I could...
.InvalidCastException: Unable to cast object of type 'RangeInt32@4819-2' to type 'System.Collections.Generic.IEnumerable`1[System.Object]' Tried returning the partial functions as quotations, but had similar problems. If I returned typed quotations, had the same problem with returning different Expr signatures. I could...
[ -0.0206298828125, -0.0008697509765625, 0.005584716796875, 0.01263427734375, 0.0028839111328125, -0.0033111572265625, 0.00958251953125, -0.009765625, 0.0098876953125, -0.0093994140625, -0.0172119140625, 0.0001735687255859375, 0.0164794921875, 0.01708984375, 0.021484375, -0.0041198730468...
[ 7013, 71, 174830, 19279, 63928, 992, 2886, 47, 37702, 36746, 10644, 1052, 51459, 4153, 18, 6460, 981, 9285, 2947, 5428, 84293, 78457, 8996, 5256, 135932, 20441, 2606, 56, 46471, 75161, 4699, 30646, 2878, 289, 32354, 237, 81732, 21373, 44402...
[ 0.1890869140625, 0.03167724609375, 0.2071533203125, 0.052978515625, 0.15576171875, 0.037109375, 0.126953125, 0.035125732421875, 0.2098388671875, 0.218505859375, 0.1658935546875, 0.05126953125, 0.133056640625, 0.043304443359375, 0.049652099609375, 0.1864013671875, 0.041961669921875, ...
embed
7709554_c0
7709554
fsharp
0
Title: F#: two ways of defining functions? Problem title: F#: two ways of defining functions? Tags: f%23 Problem: F#: two ways of defining functions? These two are equivalent: let f(x) = 10 let g = fun(x) -> 10 I think? They seem to do the same thing, but are there any cases where the behavior of the two would vary? I ...
F#: two ways of defining functions? F#: two ways of defining functions? f%23 F#: two ways of defining functions? These two are equivalent: I think? They seem to do the same thing, but are there any cases where the behavior of the two would vary? I find the second version useful (even if more verbose) because you can us...
[ 0.0002460479736328125, -0.003509521484375, 0.0135498046875, 0.0038604736328125, 0.0130615234375, 0.004669189453125, -0.005767822265625, -0.00616455078125, -0.00061798095703125, -0.0079345703125, -0.00124359130859375, 0.0216064453125, -0.00677490234375, -0.0142822265625, 0.026611328125, ...
[ 563, 4904, 12, 6626, 48322, 111, 13204, 449, 32354, 7, 32, 1238, 3949, 3742, 32255, 621, 183234, 5351, 48903, 5701, 13580, 50218, 70, 123166, 285, 53, 7413, 17932, 11389, 80234, 57823, 831, 4527, 4426, 58745, 136, 56473, 39933, 29479, 171...
[ 0.1446533203125, 0.2174072265625, 0.0218048095703125, 0.180908203125, 0.1395263671875, 0.028656005859375, 0.231689453125, 0.1077880859375, 0.265625, 0.0966796875, 0.011383056640625, 0.091796875, 0.0032958984375, 0.10223388671875, 0.00390625, 0.0335693359375, 0.153076171875, 0.07568...
embed
19413748_c0
19413748
fsharp
0
Title: Are there any active efforts from the F# maintainers to implement Functors? Problem title: Are there any active efforts from the F# maintainers to implement Functors? Tags: .net, f%23, ocaml Problem: Are there any active efforts from the F# maintainers to implement Functors? I tried searching the web a bit but I...
Are there any active efforts from the F# maintainers to implement Functors? Are there any active efforts from the F# maintainers to implement Functors? .net f%23 ocaml the Functors Are there any active efforts from the F# maintainers to implement Functors? I tried searching the web a bit but I couldn't find any talks a...
[ 0.019775390625, 0.0050048828125, 0.0303955078125, -0.0164794921875, 0.0054931640625, 0.0084228515625, 0.00567626953125, -0.021728515625, 0.0036163330078125, -0.00494384765625, 0.01019287109375, -0.0040283203125, -0.01263427734375, 0.003082275390625, -0.0002803802490234375, -0.009826660...
[ 2685, 2499, 36457, 79825, 563, 4904, 76104, 1314, 47, 29479, 28670, 18770, 7, 1295, 1179, 1238, 3949, 3742, 36, 9779, 141, 70, 15901, 22120, 8035, 22690, 11389, 201, 3444, 54, 70488, 16498, 166117, 180, 105272, 4785, 114453, 46876, 21771, ...
[ 0.013946533203125, 0.03497314453125, 0.1566162109375, 0.14404296875, 0.135498046875, 0.239501953125, 0.168212890625, 0.066162109375, 0.037261962890625, 0.1915283203125, 0.2470703125, 0.3076171875, 0.161376953125, 0.01422119140625, 0.1392822265625, 0.0743408203125, 0.011260986328125, ...
embed
29321852_c0
29321852
fsharp
0
Title: fsharp compound interest beginner Problem title: fsharp compound interest beginner Tags: f%23 Problem: fsharp compound interest beginner I do not know what I'm supposed to do here I am a beginner let interest = 0.02 // Interest rate is 2% let periods = 12.0 // Number of times the interest is compounded per year ...
fsharp compound interest beginner fsharp compound interest beginner f%23 the Interest Number Calculate en.wikipedia.org Compound_interest Compound fsharp compound interest beginner I do not know what I'm supposed to do here I am a beginner
[ -0.01287841796875, -0.0118408203125, 0.00750732421875, 0.01177978515625, 0.00848388671875, 0.01519775390625, 0.0269775390625, -0.00579833984375, 0.0247802734375, -0.00701904296875, -0.01361083984375, 0.018798828125, -0.0233154296875, 0.026611328125, 0.017333984375, 0.004608154296875, ...
[ 1238, 89280, 254, 217773, 33946, 9842, 1679, 3949, 3742, 70, 66348, 18, 103332, 212467, 2182, 7168, 1478, 15612, 31, 7030, 50171, 959, 3714, 39, 134598, 54, 3688, 444, 10 ]
[ 0.1234130859375, 0.192138671875, 0.14892578125, 0.24072265625, 0.186767578125, 0.1331787109375, 0.110107421875, 0.08612060546875, 0.122802734375, 0.047119140625, 0.2034912109375, 0.1357421875, 0.1795654296875, 0.1842041015625, 0.07696533203125, 0.088623046875, 0.076171875, 0.120117...
embed
24185357_c0
24185357
fsharp
0
Title: Creating more than one root type with generative type provider Problem title: Creating more than one root type with generative type provider Tags: type-providers, f%23 Problem: Creating more than one root type with generative type provider Generative type providers seem to have an issue with having more than one...
Creating more than one root type with generative type provider Creating more than one root type with generative type provider type-providers f%23 Creating SampleProvider.dll Birch Sample.Sample Elm Birch.birch Elm.elm elm.Branches FSC FS2014 Debug Tests.dll Error pass3 Schema GetMethodRefAsMethodDefIdx ZipLookup Except...
[ 0.019775390625, 0.027587890625, -0.0186767578125, 0.025390625, -0.0172119140625, 0.0101318359375, -0.001556396484375, -0.005035400390625, 0.01708984375, -0.03662109375, -0.006744384765625, -0.0028228759765625, 0.0274658203125, -0.0137939453125, 0.013916015625, -0.01513671875, 0.00878...
[ 56781, 1916, 1286, 3501, 1632, 74855, 10644, 678, 12663, 4935, 81450, 93136, 14202, 3742, 947, 33209, 177997, 62160, 1181, 2992, 206, 540, 39, 5720, 208155, 93774, 7360, 85779, 8647, 212059, 27875, 363, 34702, 190015, 187423, 162150, 15363, 1...
[ 0.1278076171875, 0.00494384765625, 0.145263671875, 0.1192626953125, 0.11083984375, 0.1978759765625, 0.21484375, 0.04254150390625, 0.1458740234375, 0.1246337890625, 0.197265625, 0.138916015625, 0.00225830078125, 0.033599853515625, 0.03936767578125, 0.1156005859375, 0.1170654296875, ...
embed
796021_c0
796021
fsharp
0
Title: Do concepts like Map and Reduce apply to all Functional Programming Languages? Problem title: Do concepts like Map and Reduce apply to all Functional Programming Languages? Tags: functional-programming, f%23 Problem: Do concepts like Map and Reduce apply to all Functional Programming Languages? I have just start...
Do concepts like Map and Reduce apply to all Functional Programming Languages? Do concepts like Map and Reduce apply to all Functional Programming Languages? functional-programming f%23 Map Reduce Functional Programming Languages Do concepts like Map and Reduce apply to all Functional Programming Languages? I have just...
[ 0.01470947265625, 0.00634765625, 0.0030670166015625, -0.000545501708984375, -0.02294921875, -0.004241943359375, -0.0079345703125, 0.004669189453125, -0.0027313232421875, -0.01318359375, -0.015869140625, -0.031982421875, -0.0012054443359375, 0.00811767578125, -0.0145263671875, 0.0077514...
[ 984, 23755, 1884, 42719, 136, 853, 106357, 59911, 756, 28670, 10763, 27958, 83658, 47, 123309, 28966, 1238, 3742, 214, 146, 8999, 56037, 449, 180, 20880, 46471, 75161, 142225, 3334, 35874, 178851, 2684, 5744, 30563, 46876, 4904, 41925, 75034,...
[ 0.0701904296875, 0.19970703125, 0.05609130859375, 0.257080078125, 0.1776123046875, 0.1915283203125, 0.25830078125, 0.158203125, 0.1190185546875, 0.1806640625, 0.1033935546875, 0.15966796875, 0.1702880859375, 0.022857666015625, 0.207763671875, 0.1502685546875, 0.00885009765625, 0.06...
embed
5996239_c0
5996239
fsharp
0
Title: Is F#&#x27;s implementation of monads unique with respect to the amount of keywords available to it? Problem title: Is F#&#x27;s implementation of monads unique with respect to the amount of keywords available to it? Tags: f%23, functional-programming, monads Problem: Is F#'s implementation of monads unique with...
Is F#&#x27;s implementation of monads unique with respect to the amount of keywords available to it? Is F#&#x27;s implementation of monads unique with respect to the amount of keywords available to it? f%23 functional-programming monads Is F#'s implementation of monads unique with respect to the amount of keywords avai...
[ -0.0057373046875, 0.01446533203125, 0.024658203125, -0.006256103515625, -0.008544921875, 0.00138092041015625, 0.003204345703125, 0.004150390625, 0.004669189453125, -0.01025390625, 0.0013885498046875, -0.01318359375, -0.0023040771484375, -0.009033203125, 0.004119873046875, -0.0006637573...
[ 2071, 563, 4904, 3768, 208124, 2667, 712, 7, 36998, 15072, 41170, 166117, 19882, 1238, 3742, 123309, 28966, 47, 4734, 3714, 97384, 56037, 449, 46876, 27781, 51592, 98363, 68557, 136, 25072, 150624, 71358, 2633, 38, 54, 63769, 12921, 8966, 2...
[ 0.031646728515625, 0.1524658203125, 0.2265625, 0.05059814453125, 0.1734619140625, 0.1602783203125, 0.22705078125, 0.127197265625, 0.212890625, 0.034210205078125, 0.08197021484375, 0.259765625, 0.1341552734375, 0.04315185546875, 0.0191192626953125, 0.2066650390625, 0.14013671875, 0....
embed
13001555_c1
13001555
fsharp
1
-> 'U) | CompareWith of ('T -> 'U) * IEqualityComparer<'U> // TO USE: [<ParamArray>] // TODO: this method returns a dummy for now let CompareStrategy (opts : ComparsionOption<'T, _> array) = EqualityComparer<'T>.Default // How it's used type Person(name : string, id : Guid) = member this.Name = name member this.ID = i...
-> 'U) | CompareWith of ('T -> 'U) * IEqualityComparer<'U> // TO USE: [<ParamArray>] // TODO: this method returns a dummy for now let CompareStrategy (opts : ComparsionOption<'T, _> array) = EqualityComparer<'T>.Default // How it's used type Person(name : string, id : Guid) = member this.Name = name member this.ID = i...
[ -0.033447265625, 0.025146484375, 0.006134033203125, 0.01177978515625, -0.00225830078125, -0.01153564453125, 0.0040283203125, -0.0145263671875, 0.00921630859375, 0.011474609375, -0.017333984375, 0.050537109375, 0.0264892578125, 0.0216064453125, 0.000675201416015625, 0.0064697265625, -...
[ 33079, 1062, 58745, 113307, 13, 194583, 111, 618, 661, 75536, 161789, 108161, 147, 56, 9926, 78441, 55292, 7614, 7092, 13223, 903, 55300, 30646, 8473, 1176, 5036, 2633, 97315, 67, 3432, 2146, 6889, 39029, 10298, 241, 187423, 11, 7136, 11249...
[ 0.1387939453125, 0.1513671875, 0.031982421875, 0.203125, 0.120849609375, 0.2313232421875, 0.197998046875, 0.1156005859375, 0.019927978515625, 0.1480712890625, 0.2486572265625, 0.1881103515625, 0.1925048828125, 0.1004638671875, 0.0738525390625, 0.1002197265625, 0.075439453125, 0.053...
embed
45686849_c1
45686849
fsharp
1
i (trainSize, fullSize) = let takenAssets = assets |> Assets.take (min fullSize len) lastDate takenAssets |> printfn "\nIteration %d of %d - Calculating P&L for test window ending at %A\n" (i + 1) n paramList |> windowTrainTest comm' critFoo trainSize model takenAssets let mapTrainTest (initSizes: (int * int) list) = ...
i (trainSize, fullSize) = let takenAssets = assets |> Assets.take (min fullSize len) lastDate takenAssets |> printfn "\nIteration %d of %d - Calculating P&L for test window ending at %A\n" (i + 1) n paramList |> windowTrainTest comm' critFoo trainSize model takenAssets let mapTrainTest (initSizes: (int * int) list) = ...
[ -0.0123291015625, -0.007049560546875, -0.0145263671875, -0.00311279296875, -0.028564453125, -0.01123046875, 0.0123291015625, -0.02001953125, 0.02685546875, -0.0169677734375, 0.00927734375, 0.005584716796875, 0.0311279296875, -0.0030975341796875, 0.0003509521484375, 0.0108642578125, -...
[ 17, 1517, 73, 127167, 13, 4393, 2633, 39958, 53975, 181079, 78219, 1249, 3098, 4568, 86291, 28412, 14783, 568, 720, 111, 212467, 26518, 436, 1230, 866, 3034, 76896, 86658, 99, 284, 14, 997, 4879, 653, 121, 154663, 28542, 111337, 375, 1244...
[ 0.1312255859375, 0.2012939453125, 0.0899658203125, 0.1650390625, 0.05462646484375, 0.1309814453125, 0.056427001953125, 0.19580078125, 0.15869140625, 0.1812744140625, 0.1502685546875, 0.149658203125, 0.09136962890625, 0.1136474609375, 0.11962890625, 0.138916015625, 0.14306640625, 0....
embed
47510411_c0
47510411
fsharp
0
Title: Partial active pattern Problem title: Partial active pattern Tags: f%23-interactive, functional-programming, f%23 Problem: Partial active pattern I have to write a function for school which determines from a poker hand if it has two pairs. I should do it with partial active pattern, but I am stuck here. let (|Tw...
Partial active pattern Partial active pattern f%23-interactive functional-programming f%23 Partial TwoPairs List.groupBy List.sortByDescending List.filter List.length Two Nothing Partial active pattern I have to write a function for school which determines from a poker hand if it has two pairs. I should do it with part...
[ -0.015869140625, 0.016357421875, 0.0042724609375, 0.0167236328125, -0.001373291015625, 0.0264892578125, -0.007568359375, -0.020263671875, 0.0146484375, 0.0146484375, 0.0220947265625, 0.028076171875, 0.004730224609375, -0.0022430419921875, -0.00457763671875, 0.00970458984375, 0.027954...
[ 9148, 289, 36457, 103510, 1238, 27495, 10433, 71232, 123309, 28966, 32964, 8335, 481, 32036, 51588, 75358, 62351, 329, 120337, 23986, 182747, 765, 33022, 32354, 100, 10696, 83324, 1295, 25600, 3535, 2174, 1556, 6626, 80836, 678, 2878, 179933, ...
[ 0.1678466796875, 0.0963134765625, 0.195556640625, 0.2208251953125, 0.01214599609375, 0.00592041015625, 0.013031005859375, 0.026702880859375, 0.0908203125, 0.087890625, 0.1229248046875, 0.135498046875, 0.09613037109375, 0.122802734375, 0.06378173828125, 0.028411865234375, 0.1013183593...
embed
35473140_c0
35473140
fsharp
0
Title: F# error: Wrong type expected? Problem title: F# error: Wrong type expected? Tags: casting, f%23, types Problem: F# error: Wrong type expected? let distance (x:(float * float)): float = sqrt ((fst x * fst x) + (snd x * snd x)) let getClosestPair (pairs:(float * float) list) = let mutable closest = (0.0, 0.0) if ...
F# error: Wrong type expected? F# error: Wrong type expected? casting f%23 types Wrong List.isEmpty F# error: Wrong type expected? The above function goes through a list of float pairs. Each pair acts like a coordinate on the cartesian plane. The function finds the closest pair to the origin. The for loop at the bottom...
[ 0.0238037109375, 0.0078125, 0.00133514404296875, -0.01177978515625, 0.01361083984375, 0.00176239013671875, 0.0010528564453125, -0.0191650390625, 0.006378173828125, 0.0059814453125, 0.01385498046875, 0.0040283203125, -0.0096435546875, -0.035888671875, -0.00592041015625, 0.00191497802734...
[ 563, 4904, 18499, 601, 35133, 10644, 84751, 32, 176050, 1238, 3949, 3742, 52895, 32036, 164, 134332, 939, 36917, 32354, 60899, 8305, 5303, 111, 21917, 257, 80836, 98423, 27992, 1884, 176866, 129912, 3378, 47880, 7413, 20903, 271, 47, 59665, ...
[ 0.120361328125, 0.2066650390625, 0.1873779296875, 0.06292724609375, 0.2069091796875, 0.2451171875, 0.22802734375, 0.0072021484375, 0.1419677734375, 0.0997314453125, 0.00732421875, 0.12744140625, 0.210693359375, 0.1710205078125, 0.040557861328125, 0.1197509765625, 0.051513671875, 0....
embed
88302_c0
88302
fsharp
0
Title: macro support in F# Problem title: macro support in F# Tags: f%23, functional-programming, lisp, clojure, .net Problem: macro support in F# After reading Practical Common Lisp I finally understood what the big deal about macros was, and I have been looking for a language for the .NET platform that supports this....
macro support in F# macro support in F# f%23 functional-programming lisp clojure .net macro support in F# After reading Practical Common Lisp I finally understood what the big deal about macros was, and I have been looking for a language for the .NET platform that supports this. There are a few lisp dialects for .NET b...
[ 0.0103759765625, 0.0125732421875, 0.014892578125, 0.00122833251953125, -0.00225830078125, 0.01275634765625, -0.01031494140625, -0.004608154296875, -0.0166015625, -0.0257568359375, 0.0008697509765625, -0.01519775390625, 0.002166748046875, -0.0301513671875, 0.011474609375, -0.02233886718...
[ 111789, 8060, 563, 4904, 1238, 3742, 123309, 28966, 400, 7008, 20450, 461, 107, 1179, 23, 109613, 151301, 1261, 217064, 35142, 7, 46876, 17777, 13651, 220734, 5, 4552, 51703, 32997, 33946, 131999, 51053, 79, 330, 4527, 1376, 334, 39, 12319,...
[ 0.2325439453125, 0.236572265625, 0.14501953125, 0.21435546875, 0.043975830078125, 0.1014404296875, 0.12451171875, 0.0869140625, 0.1148681640625, 0.146728515625, 0.103271484375, 0.1356201171875, 0.1168212890625, 0.1329345703125, 0.001739501953125, 0.048797607421875, 0.00994873046875, ...
embed
48371443_c0
48371443
fsharp
0
Title: Rewrite msort, so it uses pattern matching in F# Problem title: Rewrite msort, so it uses pattern matching in F# Tags: pattern-matching, f%23 Problem: Rewrite msort, so it uses pattern matching in F# The code underneath is the code for mergesort in f# and I have to rewrite it, so it uses pattern matching. let re...
Rewrite msort, so it uses pattern matching in F# Rewrite msort, so it uses pattern matching in F# pattern-matching f%23 Rewrite List.length n-1 n..sz-1 Rewrite msort, so it uses pattern matching in F# The code underneath is the code for mergesort in f# and I have to rewrite it, so it uses pattern matching. So far I've ...
[ -0.0272216796875, 0.0211181640625, 0.0223388671875, -0.0286865234375, 0.0157470703125, 0.003448486328125, -0.0167236328125, 0.007537841796875, 0.017578125, -0.0030364990234375, 0.0281982421875, 0.01153564453125, 0.026123046875, -0.0086669921875, 0.0062255859375, -0.006256103515625, -...
[ 853, 434, 18781, 347, 62351, 221, 4527, 103510, 14858, 214, 563, 4904, 23, 98753, 1238, 3742, 32036, 23986, 5759, 1330, 18151, 1379, 86, 10519, 70, 42564, 765, 47, 456, 2060, 17763, 83, 3688, 48903, 26366, 11522, 3917, 4358 ]
[ 0.136962890625, 0.1431884765625, 0.18408203125, 0.169189453125, 0.286865234375, 0.043731689453125, 0.08917236328125, 0.2181396484375, 0.1810302734375, 0.074462890625, 0.145263671875, 0.18798828125, 0.03765869140625, 0.187255859375, 0.1170654296875, 0.13037109375, 0.1573486328125, 0...
embed
833180_c0
833180
fsharp
0
Title: Handy F# snippets Problem title: Handy F# snippets Tags: reference, code-snippets, f%23 Problem: Handy F# snippets There are already two questions about F#/functional snippets. However what I'm looking for here are useful snippets, little 'helper' functions that are reusable. Or obscure but nifty patterns that y...
Handy F# snippets Handy F# snippets reference code-snippets f%23 Handy System.IO Directory.GetFiles Directory.GetDirectories Handy F# snippets There are already two questions about F#/functional snippets. However what I'm looking for here are useful snippets, little 'helper' functions that are reusable. Or obscure but ...
[ 0.017578125, 0.00592041015625, 0.01129150390625, -0.004974365234375, -0.002349853515625, 0.001861572265625, -0.01080322265625, -0.018798828125, 0.007080078125, -0.0693359375, -0.0030670166015625, 0.039306640625, -0.01104736328125, 0.01373291015625, 0.0286865234375, 0.0135498046875, 0...
[ 92633, 563, 4904, 91, 93, 58134, 7, 91067, 18151, 1238, 3949, 3742, 12353, 17780, 31068, 724, 126, 174350, 184911, 21771, 6626, 17582, 64, 137175, 289, 33306, 2367, 16487, 100, 3688, 621, 80234, 10176, 73866, 56, 32354, 456, 223, 2886, 33...
[ 0.254638671875, 0.171630859375, 0.246826171875, 0.07696533203125, 0.19140625, 0.2158203125, 0.0222015380859375, 0.205322265625, 0.1529541015625, 0.10394287109375, 0.051849365234375, 0.126220703125, 0.1202392578125, 0.1451416015625, 0.0950927734375, 0.037811279296875, 0.05596923828125...
embed
6976028_c0
6976028
fsharp
0
Title: F# Agent.PostAndReply vs Agent.PostAndAsyncReply Problem title: F# Agent.PostAndReply vs Agent.PostAndAsyncReply Tags: f%23, asynchronous Problem: F# Agent.PostAndReply vs Agent.PostAndAsyncReply I wrote the following two functions: let requestAsync qry = dispatcher.PostAndAsyncReply (fun chan -> Query (qry chan...
F# Agent.PostAndReply vs Agent.PostAndAsyncReply F# Agent.PostAndReply vs Agent.PostAndAsyncReply f%23 asynchronous Agent.PostAndReply Agent.PostAndAsyncReply dispatcher.PostAndAsyncReply Query Async.RunSynchronously dispatcher.PostAndReply F# Agent.PostAndReply vs Agent.PostAndAsyncReply I wrote the following two func...
[ -0.0086669921875, 0.020751953125, 0.01123046875, 0.003326416015625, -0.002777099609375, -0.007476806640625, -0.006378173828125, -0.0074462890625, -0.006683349609375, -0.0269775390625, 0.0021209716796875, 0.027099609375, -0.00147247314453125, 0.0031890869140625, 0.004913330078125, 0.020...
[ 563, 4904, 54603, 49411, 37839, 4332, 62479, 20209, 12654, 1238, 3949, 3742, 101966, 58580, 257, 5372, 58836, 238, 163321, 217835, 127, 1900, 79850, 54397, 25632, 6626, 32354, 149016, 765, 2499, 240804, 32562, 50336, 1884, 903, 64457, 18, 190...
[ 0.1083984375, 0.179443359375, 0.2445068359375, 0.138427734375, 0.162841796875, 0.090576171875, 0.1995849609375, 0.1365966796875, 0.14794921875, 0.0777587890625, 0.00311279296875, 0.1461181640625, 0.115478515625, 0.053924560546875, 0.040863037109375, 0.0657958984375, 0.0809326171875, ...
embed
29331198_c0
29331198
fsharp
0
Title: F# Skip Range Operator Problem title: F# Skip Range Operator Tags: f%23 Problem: F# Skip Range Operator I'm trying to generate lists of dates (time periods) in F# and I found my answer at ( F# generate a sequence/array of dates ) and it works perfectly. However I cannot wrap my ahead around the definition of the...
F# Skip Range Operator F# Skip Range Operator f%23 Skip Range Operator F# Skip Range Operator I'm trying to generate lists of dates (time periods) in F# and I found my answer at ( F# generate a sequence/array of dates ) and it works perfectly. However I cannot wrap my ahead around the definition of the (+) static membe...
[ -0.00970458984375, 0.01336669921875, 0.02197265625, 0.0255126953125, -0.02001953125, -0.00145721435546875, -0.0269775390625, -0.000453948974609375, -0.00848388671875, -0.00439453125, -0.01153564453125, 0.01324462890625, -0.004547119140625, 0.00762939453125, 0.00579833984375, -0.0090942...
[ 563, 4904, 91958, 142462, 150922, 1238, 3949, 3742, 31577, 139392, 5303, 112474, 6032, 14922, 35166, 944, 19305, 43240, 169123, 33306, 53418, 137565, 99255, 80934, 22183, 16, 201939, 32786, 71, 86291, 70059, 63438, 1264, 126826, 456, 5429, 2290...
[ 0.1312255859375, 0.22412109375, 0.218505859375, 0.1690673828125, 0.22607421875, 0.07720947265625, 0.013427734375, 0.1561279296875, 0.02471923828125, 0.135009765625, 0.1668701171875, 0.156005859375, 0.08551025390625, 0.160400390625, 0.01678466796875, 0.07366943359375, 0.043212890625, ...
embed
29392347_c0
29392347
fsharp
0
Title: How do I iterate over a hashtable in F#? Problem title: How do I iterate over a hashtable in F#? Tags: hashtable, f%23 Problem: How do I iterate over a hashtable in F#? let dic = Environment.GetEnvironmentVariables() dic |> Seq.filter( fun k -> k.Contains("COMNTOOLS")) fails to compile. I've tried using Array.fi...
How do I iterate over a hashtable in F#? How do I iterate over a hashtable in F#? hashtable f%23 How Environment.GetEnvironmentVariables Seq.filter k.Contains COMNTOOLS Array.filter List.filter dic.Keys KeyCollection IEnumerable KeyValuePair How do I iterate over a hashtable in F#? fails to compile. I've tried using Ar...
[ -0.005859375, -0.009765625, -0.011474609375, -0.004364013671875, -0.0076904296875, -0.014404296875, -0.0007171630859375, -0.01495361328125, -0.0045166015625, -0.005096435546875, 0.0032196044921875, 0.0299072265625, 0.0130615234375, 0.0164794921875, -0.0062255859375, 0.0181884765625, ...
[ 11249, 87, 17, 8560, 67, 645, 1556, 127, 22819, 23, 563, 4904, 10, 1238, 3742, 686, 1900, 81827, 14, 19736, 503, 864, 120337, 25500, 31436, 137142, 69253, 32036, 66166, 162429, 26824, 78457, 133, 75536, 2606, 56, 2886, 856, 50770, 8335, ...
[ 0.06414794921875, 0.02227783203125, 0.061767578125, 0.252197265625, 0.09429931640625, 0.168212890625, 0.1612548828125, 0.1226806640625, 0.2410888671875, 0.0450439453125, 0.137451171875, 0.2222900390625, 0.0113525390625, 0.05023193359375, 0.0648193359375, 0.07635498046875, 0.120483398...
embed
60946490_c0
60946490
fsharp
0
Title: How do I reference a whole GitHub project using Paket? Problem title: How do I reference a whole GitHub project using Paket? Tags: f%23, paket Problem: How do I reference a whole GitHub project using Paket? According to the docs I can fetch a whole GitHub repository with a line like this in my paket.dependencies...
How do I reference a whole GitHub project using Paket? How do I reference a whole GitHub project using Paket? f%23 paket Paket How GitHub paket.dependencies FSharp.Formatting FSharp.Formatting:2.13.5 FSharp.Formatting:30cd5366a4f3f25a443ca4cd62cd592fd16ac69 paket.refrences How do I reference a whole GitHub project usin...
[ -0.014892578125, 0.031005859375, 0.00274658203125, 0.00616455078125, -0.0012054443359375, 0.0228271484375, 0.00054931640625, 0.00537109375, -0.00160980224609375, -0.01116943359375, 0.013427734375, -0.038818359375, -0.01409912109375, 0.0242919921875, 0.003753662109375, -0.00653076171875...
[ 11249, 54, 87, 91067, 28271, 527, 217, 140505, 13452, 17368, 50867, 1238, 3949, 3742, 13360, 105254, 13, 117538, 3467, 254, 102973, 68107, 72516, 1197, 110144, 126384, 14212, 107, 7079, 69098, 10, 831, 7647, 64722, 31667, 13315, 1884, 903, ...
[ 0.07958984375, 0.053131103515625, 0.03570556640625, 0.25341796875, 0.165283203125, 0.10162353515625, 0.167236328125, 0.21484375, 0.1546630859375, 0.076171875, 0.296875, 0.01806640625, 0.007415771484375, 0.1026611328125, 0.252197265625, 0.1180419921875, 0.0755615234375, 0.0773925781...
embed
7999019_c1
7999019
fsharp
1
| Lmda of Term | TermList of Term * Term And the fslex input: { module Lexer open System open Parser open Microsoft.FSharp.Text.Lexing let lexeme lexbuf = LexBuffer<char>.LexemeString lexbuf } // These are some regular expression definitions let name = ['a'-'z' 'A'-'Z' '0'-'9'] let whitespace = [' ' '\t' ] let newline...
| Lmda of Term | TermList of Term * Term And the fslex input: { module Lexer open System open Parser open Microsoft.FSharp.Text.Lexing let lexeme lexbuf = LexBuffer<char>.LexemeString lexbuf } // These are some regular expression definitions let name = ['a'-'z' 'A'-'Z' '0'-'9'] let whitespace = [' ' '\t' ] let newline...
[ 0.00689697265625, 0.0162353515625, -0.005096435546875, 0.026123046875, 0.004852294921875, 0.00010824203491210938, -0.01043701171875, 0.0255126953125, 0.0089111328125, -0.0230712890625, 0.022705078125, -0.005279541015625, -0.0194091796875, 0.003509521484375, -0.002593994140625, 0.003158...
[ 58745, 339, 34492, 111, 2994, 39, 154663, 661, 3493, 1238, 7, 74070, 107730, 88996, 99078, 56, 9803, 12353, 2392, 2189, 7244, 36381, 3467, 254, 174379, 5267, 425, 214, 2633, 75675, 12549, 978, 420, 7235, 18234, 9254, 5, 4878, 282, 71713, ...
[ 0.043731689453125, 0.0765380859375, 0.21826171875, 0.17431640625, 0.177001953125, 0.1011962890625, 0.173095703125, 0.059326171875, 0.021209716796875, 0.09765625, 0.07952880859375, 0.272216796875, 0.2218017578125, 0.134521484375, 0.18408203125, 0.203857421875, 0.08660888671875, 0.10...
embed
7601846_c0
7601846
fsharp
0
Title: F# Create list of multiples of x? Problem title: F# Create list of multiples of x? Tags: f%23, factors, list Problem: F# Create list of multiples of x? I want to create a list that is the multiples of a number. For example [2; 4; 6; 8; 10] would be the multiples of 2 between 0 and 10. How would I dynamically cre...
F# Create list of multiples of x? F# Create list of multiples of x? f%23 factors list Create F# Create list of multiples of x? I want to create a list that is the multiples of a number. For example [2; 4; 6; 8; 10] would be the multiples of 2 between 0 and 10. How would I dynamically create such a list of the multiples...
[ -0.0035858154296875, 0.001434326171875, 0.018310546875, -0.00946044921875, -0.00921630859375, 0.01080322265625, -0.002716064453125, -0.0012969970703125, 0.025634765625, -0.0135498046875, 0.0004482269287109375, -0.0235595703125, 0.0206298828125, 0.0004024505615234375, -0.006072998046875, ...
[ 563, 4904, 151313, 5303, 111, 48716, 7, 1022, 32, 1238, 3949, 3742, 120103, 87, 3444, 28282, 10, 83, 70, 14012, 27781, 304, 201, 305, 382, 209, 2806, 186, 116, 17721, 757, 136, 4068, 11249, 84079, 6044, 7722, 54, 15490, 53550, 1407, 5...
[ 0.1673583984375, 0.239013671875, 0.1513671875, 0.23828125, 0.1580810546875, 0.288818359375, 0.1356201171875, 0.1976318359375, 0.032318115234375, 0.1090087890625, 0.0621337890625, 0.1712646484375, 0.2144775390625, 0.017120361328125, 0.1175537109375, 0.15771484375, 0.0258636474609375, ...
embed
2892759_c0
2892759
fsharp
0
Title: get the coordinates of a FrameworkElement bounding rectangle Problem title: get the coordinates of a FrameworkElement bounding rectangle Tags: c%23, f%23, wpf, silverlight, silverlight-3.0 Problem: get the coordinates of a FrameworkElement bounding rectangle How does one get the upper left coordinates of a frame...
get the coordinates of a FrameworkElement bounding rectangle get the coordinates of a FrameworkElement bounding rectangle c%23 f%23 wpf silverlight silverlight-3.0 FrameworkElement ea.Item.Content fe.TranslatePoint Point silverlight-3.0 get the coordinates of a FrameworkElement bounding rectangle How does one get the u...
[ 0.0135498046875, 0.022705078125, 0.0262451171875, -0.0164794921875, -0.01373291015625, -0.00445556640625, 0.0277099609375, -0.00135040283203125, 0.00982666015625, -0.00909423828125, 0.0015411376953125, -0.0206298828125, -0.00994873046875, -0.006988525390625, -0.0057373046875, 0.0177001...
[ 2046, 70, 176866, 90, 202220, 647, 19929, 20802, 33770, 148734, 449, 133, 3949, 3742, 1238, 39557, 115392, 20016, 132265, 8394, 2982, 25352, 3820, 62624, 19309, 147534, 41097, 1407, 56, 25737, 170846, 80854, 107671, 18151, 44457, 64549, 748, ...
[ 0.1068115234375, 0.00921630859375, 0.258056640625, 0.1451416015625, 0.2269287109375, 0.1119384765625, 0.2017822265625, 0.1265869140625, 0.15234375, 0.116455078125, 0.121337890625, 0.0909423828125, 0.00164794921875, 0.1483154296875, 0.041656494140625, 0.06634521484375, 0.087646484375,...
embed
27245960_c0
27245960
fsharp
0
Title: How to sort a list of different type objects by timestamp Problem title: How to sort a list of different type objects by timestamp Tags: f%23, f%23-interactive Problem: How to sort a list of different type objects by timestamp New to F# Have a list of objects. Objects share the same base class, but the timestamp...
How to sort a list of different type objects by timestamp How to sort a list of different type objects by timestamp f%23 f%23-interactive How unsortedList.Sort How to sort a list of different type objects by timestamp New to F# Have a list of objects. Objects share the same base class, but the timestamp attribute we wa...
[ -0.004486083984375, 0.00836181640625, 0.0167236328125, -0.0218505859375, -0.0234375, -0.033447265625, -0.031982421875, -0.007293701171875, -0.000606536865234375, -0.00665283203125, 0.0029296875, -0.0191650390625, 0.01116943359375, -0.0002155303955078125, -0.01348876953125, -0.021118164...
[ 11249, 47, 12096, 5303, 111, 12921, 10644, 36746, 7, 390, 1733, 590, 2676, 10, 1238, 3742, 27495, 10433, 71232, 51, 62351, 297, 154663, 158240, 18, 563, 4904, 134549, 12008, 5701, 3647, 18507, 150380, 3444, 12989, 83, 959, 13379, 87769, 7...
[ 0.070068359375, 0.060150146484375, 0.2384033203125, 0.185546875, 0.026641845703125, 0.1641845703125, 0.1827392578125, 0.1986083984375, 0.031707763671875, 0.11865234375, 0.1312255859375, 0.1763916015625, 0.1907958984375, 0.001617431640625, 0.0133056640625, 0.05242919921875, 0.03610229...
embed
62408621_c0
62408621
fsharp
0
Title: F# with Http.fs - not able to execute GraphQL APIs Problem title: F# with Http.fs - not able to execute GraphQL APIs Tags: f%23, httpfs Problem: F# with Http.fs - not able to execute GraphQL APIs I don't see any good documentation about how to execute GraphQL APIs using F# with Http.fs Kindly share if you have t...
F# with Http.fs - not able to execute GraphQL APIs F# with Http.fs - not able to execute GraphQL APIs f%23 httpfs Http.fs GraphQL APIs URL swapi.graph.cool Header Content-Type JSON Body Film Hope F# with Http.fs - not able to execute GraphQL APIs I don't see any good documentation about how to execute GraphQL APIs usin...
[ -0.0025177001953125, 0.03271484375, 0.026611328125, -0.00823974609375, -0.00555419921875, -0.007720947265625, -0.015625, -0.0004596710205078125, -0.018310546875, 0.0028839111328125, 0.038818359375, 0.00946044921875, -0.00347900390625, -0.000843048095703125, -0.00640869140625, 0.0174560...
[ 563, 4904, 678, 572, 3062, 254, 5, 17447, 959, 19048, 71924, 13, 6524, 11727, 2737, 866, 61687, 7, 1238, 3949, 3742, 1621, 31862, 202317, 14, 41382, 137160, 44816, 70870, 196707, 821, 58627, 43960, 3847, 75359, 47, 209806, 3642, 17368, 12...
[ 0.1844482421875, 0.249267578125, 0.123046875, 0.06683349609375, 0.1466064453125, 0.132568359375, 0.10223388671875, 0.236328125, 0.0982666015625, 0.1314697265625, 0.210205078125, 0.0220794677734375, 0.196044921875, 0.1778564453125, 0.1917724609375, 0.180419921875, 0.2412109375, 0.07...
embed
564908_c1
564908
fsharp
1
Bin The site is deployed using the Publish option from Visual Studio The allow precompiled site to be updatable has to be unchecked Error from my site: The system cannot find the file specified Description : An unhandled exception occurred during the execution of the current web request. Please review the stack trace ...
Bin The site is deployed using the Publish option from Visual Studio The allow precompiled site to be updatable has to be unchecked Error from my site: The system cannot find the file specified Description : An unhandled exception occurred during the execution of the current web request. Please review the stack trace ...
[ -0.0064697265625, 0.01507568359375, 0.006011962890625, -0.0028839111328125, 0.01373291015625, 0.0162353515625, -0.004730224609375, -0.0164794921875, 0.002685546875, -0.0302734375, -0.006561279296875, -0.000774383544921875, 0.02294921875, -0.01153564453125, 0.022705078125, -0.0021209716...
[ 16666, 581, 1764, 8, 13158, 53, 17368, 67325, 1495, 35829, 73372, 22968, 63769, 118562, 11368, 6259, 1257, 85, 22819, 1556, 47, 51, 78292, 212059, 1295, 759, 5426, 53418, 7413, 11435, 58735, 297, 70643, 79628, 131527, 74918, 20271, 71924, 7...
[ 0.2247314453125, 0.01763916015625, 0.164794921875, 0.009765625, 0.154052734375, 0.026092529296875, 0.0096435546875, 0.1680908203125, 0.1458740234375, 0.1517333984375, 0.1947021484375, 0.1875, 0.1549072265625, 0.116455078125, 0.154541015625, 0.05621337890625, 0.09613037109375, 0.135...
embed
66868918_c0
66868918
fsharp
0
Title: Deserialise JSON to Dictionary&lt;string, string &gt; Problem title: Deserialise JSON to Dictionary&lt;string, string &gt; Tags: json, f%23, f%23-data Problem: Deserialise JSON to Dictionary I’m sure there will be a barrage of stupid questions from me as I migrate away from the extremely loose PHP to F#. This on...
Deserialise JSON to Dictionary&lt;string, string &gt; Deserialise JSON to Dictionary&lt;string, string &gt; json f%23 f%23-data Deserialise JSON Dictionary some_ some_value Deserialise JSON to Dictionary I’m sure there will be a barrage of stupid questions from me as I migrate away from the extremely loose PHP to F#. T...
[ 0.0081787109375, -0.00311279296875, -0.0233154296875, -0.00604248046875, -0.001800537109375, -0.014892578125, -0.01123046875, -0.0012664794921875, 0.000522613525390625, 0.006744384765625, -0.002471923828125, 0.01385498046875, 0.000843048095703125, 0.014404296875, 0.00133514404296875, 0...
[ 5581, 25435, 12811, 821, 58627, 47, 147638, 1277, 91693, 4, 79315, 5386, 1647, 1681, 1238, 3742, 27495, 10135, 3060, 27494, 9077, 56197, 110833, 17582, 39666, 16065, 1295, 111531, 5078, 47302, 563, 4904, 3293, 219736, 80560, 2472, 765, 11435,...
[ 0.1878662109375, 0.204345703125, 0.135498046875, 0.1865234375, 0.25341796875, 0.1436767578125, 0.25048828125, 0.02386474609375, 0.1983642578125, 0.08135986328125, 0.21826171875, 0.0433349609375, 0.1534423828125, 0.2232666015625, 0.0576171875, 0.104248046875, 0.09808349609375, 0.106...
embed
16303078_c0
16303078
fsharp
0
Title: Can I use branch of discriminated unions for specify record type &#x27;s members? Problem title: Can I use branch of discriminated unions for specify record type &#x27;s members? Tags: f%23 Problem: Can I use branch of discriminated unions for specify record type 's members? How can I specify the type of member ...
Can I use branch of discriminated unions for specify record type &#x27;s members? Can I use branch of discriminated unions for specify record type &#x27;s members? f%23 Can FilterConditions Query BoolExpr Expr ConstValue Object FieldAccess SelectList Expr.BoolExpr Can I use branch of discriminated unions for specify re...
[ -0.0211181640625, -0.000347137451171875, 0.010986328125, 0.0054931640625, -0.00262451171875, -0.0189208984375, -0.001708984375, 0.01336669921875, 0.013427734375, -0.0223388671875, 0.01904296875, 0.00445556640625, 0.0172119140625, 0.0064697265625, -0.0026702880859375, 0.01318359375, 0...
[ 4171, 87, 4527, 32845, 206, 55970, 3674, 69941, 40140, 18929, 17164, 10644, 3768, 43032, 7, 128896, 11935, 428, 5256, 58836, 2460, 929, 19279, 10287, 60075, 42, 271, 50770, 134549, 117657, 26531, 51620, 154663, 32786, 53, 17475, 173072, 111, ...
[ 0.0679931640625, 0.0255584716796875, 0.08416748046875, 0.12744140625, 0.09930419921875, 0.210205078125, 0.0736083984375, 0.1904296875, 0.1400146484375, 0.04193115234375, 0.1595458984375, 0.1302490234375, 0.031494140625, 0.1527099609375, 0.0192413330078125, 0.177490234375, 0.055755615...
embed
30673025_c0
30673025
fsharp
0
Title: Signing F# Assembly Problem title: Signing F# Assembly Tags: strongname, f%23, assembly-signing, .net Problem: Signing F# Assembly I'm having a lot of trouble trying to sign a F# class library project. First I've tried this thread , using the AssemblyKeyFileAttribute but had no success. I also tried to add the f...
Signing F# Assembly Signing F# Assembly strongname f%23 assembly-signing .net Signing Assembly Signing F# Assembly I'm having a lot of trouble trying to sign a F# class library project. First I've tried this thread , using the AssemblyKeyFileAttribute but had no success. I also tried to add the flag "--keyfile:keyfile....
[ -0.000659942626953125, -0.0022125244140625, 0.002349853515625, -0.0186767578125, -0.0137939453125, -0.005828857421875, -0.01434326171875, 0.003692626953125, -0.00531005859375, 0.0303955078125, -0.00011014938354492188, -0.00848388671875, -0.004058837890625, 0.0281982421875, -0.01000976562...
[ 48838, 214, 563, 4904, 151169, 53, 37515, 11627, 1238, 3742, 89845, 38526, 31304, 1179, 5915, 63134, 31577, 24092, 18507, 35773, 1294, 13452, 86997, 162429, 174350, 191145, 36272, 15190, 49938, 19770, 29822, 7570, 183871, 125726, 44457, 121137, ...
[ 0.2059326171875, 0.1297607421875, 0.1497802734375, 0.2276611328125, 0.196044921875, 0.05322265625, 0.07635498046875, 0.1446533203125, 0.07012939453125, 0.102294921875, 0.1307373046875, 0.031341552734375, 0.148193359375, 0.13623046875, 0.031219482421875, 0.05706787109375, 0.0144042968...
embed
77028103_c0
77028103
fsharp
0
Title: Errors in F# Interactive when trying to reference to dlls related to WPF Problem title: Errors in F# Interactive when trying to reference to dlls related to WPF Tags: f%23-3.0, f%23-interactive, f%23 Problem: Errors in F# Interactive when trying to reference to dlls related to WPF open System.Windows I've tried ...
Errors in F# Interactive when trying to reference to dlls related to WPF Errors in F# Interactive when trying to reference to dlls related to WPF f%23-3.0 f%23-interactive f%23 compilation Errors Interactive WPF Program Files Microsoft.WindowsDesktop.App PresentationFramework.dll PresentationCore.dll WindowsBase.dll Sy...
[ -0.00083160400390625, 0.012451171875, 0.0057373046875, 0.005523681640625, -0.0145263671875, -0.0089111328125, -0.005706787109375, -0.00836181640625, -0.010009765625, 0.0050048828125, -0.01397705078125, 0.001953125, 0.006683349609375, 0.01251220703125, 0.01708984375, 0.00121307373046875...
[ 212059, 563, 4904, 5337, 71232, 31577, 91067, 47, 81717, 7, 62548, 601, 41265, 1238, 27495, 132265, 10433, 3949, 3742, 98352, 7663, 42724, 7244, 43342, 4657, 1042, 13784, 39179, 120772, 1181, 50886, 3773, 63473, 71, 12353, 26885, 5153, 169, ...
[ 0.209716796875, 0.1201171875, 0.2479248046875, 0.175048828125, 0.140869140625, 0.07379150390625, 0.242431640625, 0.0232086181640625, 0.2286376953125, 0.08648681640625, 0.0733642578125, 0.125244140625, 0.242431640625, 0.081787109375, 0.03173828125, 0.126708984375, 0.1058349609375, 0...
embed
49575984_c2
49575984
fsharp
2
B => 15]; ... ; 9 => series [ A => 10; B => 20]];} So I tried to install FSLab , but it seems to have incompatibilities with versions of packages I have previously installed. Installation does not go through and I get the following message: Severity Code Description Project File Line Suppression State Error Unable to ...
B => 15]; ... ; 9 => series [ A => 10; B => 20]];} So I tried to install FSLab , but it seems to have incompatibilities with versions of packages I have previously installed. Installation does not go through and I get the following message: Severity Code Description Project File Line Suppression State Error Unable to ...
[ 0.0181884765625, 0.009033203125, 0.01141357421875, 0.018310546875, -0.00634765625, -0.001617431640625, 0.007415771484375, -0.005706787109375, 0.01080322265625, 0.0203857421875, -0.0019989013671875, -0.0157470703125, 0.00830078125, -0.01116943359375, 0.01708984375, 0.01446533203125, 0...
[ 335, 44357, 423, 483, 36549, 209, 387, 37842, 20600, 93774, 97381, 240456, 31075, 678, 11389, 98169, 198395, 145323, 959, 8305, 26008, 48752, 2481, 28864, 70643, 27331, 42724, 16777, 47004, 48448, 22836, 212059, 992, 2886, 103608, 42548, 117538...
[ 0.074462890625, 0.0204315185546875, 0.0989990234375, 0.0906982421875, 0.1348876953125, 0.0516357421875, 0.058990478515625, 0.037261962890625, 0.1082763671875, 0.19287109375, 0.28173828125, 0.2052001953125, 0.054534912109375, 0.0484619140625, 0.0634765625, 0.1612548828125, 0.008483886...
embed
32226792_c0
32226792
fsharp
0
Title: F# Deserialize JSON to string or node Problem title: F# Deserialize JSON to string or node Tags: json, f%23, json.net Problem: F# Deserialize JSON to string or node I have some JSON data I am trying to deserialize that looks like so: {[{ "node":"xyz", "type":"string" }, { "node":{ "moredata":"values", "otherdata...
F# Deserialize JSON to string or node F# Deserialize JSON to string or node json f%23 json.net Deserialize JSON values2 json.net F# Deserialize JSON to string or node I have some JSON data I am trying to deserialize that looks like so: I want to be able to serialize this to a F# class but it currently fails because the...
[ -0.00970458984375, 0.0194091796875, -0.01434326171875, 0.0189208984375, -0.0029449462890625, -0.003692626953125, -0.0225830078125, -0.00095367431640625, -0.007080078125, 0.00182342529296875, 0.00714111328125, 0.01422119140625, 0.0034027099609375, -0.0091552734375, 0.014404296875, 0.003...
[ 563, 4904, 5581, 25435, 119066, 821, 58627, 47, 79315, 707, 110, 112, 1647, 1681, 1238, 3949, 3742, 1179, 142424, 304, 765, 2053, 31577, 224, 33342, 1884, 3444, 19048, 35686, 20650, 18507, 1284, 82424, 35782, 44457, 831, 15549, 10644, 4127,...
[ 0.1285400390625, 0.193359375, 0.1473388671875, 0.204833984375, 0.1024169921875, 0.1390380859375, 0.20458984375, 0.1248779296875, 0.1778564453125, 0.06927490234375, 0.110107421875, 0.1260986328125, 0.087890625, 0.1705322265625, 0.06597900390625, 0.021087646484375, 0.09228515625, 0.1...
embed
39501709_c0
39501709
fsharp
0
Title: Syntax for covariance generic out parameters when translating C# to F# Problem title: Syntax for covariance generic out parameters when translating C# to F# Tags: type-parameter, generics, f%23 Problem: Syntax for covariance generic out parameters when translating C# to F# I am converting some old C# code to our...
Syntax for covariance generic out parameters when translating C# to F# Syntax for covariance generic out parameters when translating C# to F# type-parameter generics f%23 Syntax IFoo IBar Copy Syntax for covariance generic out parameters when translating C# to F# I am converting some old C# code to our F# project and t...
[ 0.0013885498046875, 0.005523681640625, -0.0272216796875, 0.005584716796875, 0.00128936767578125, -0.01171875, -0.0164794921875, 0.021240234375, -0.00823974609375, 0.0052490234375, -0.00811767578125, -0.0242919921875, -0.007293701171875, -0.0038604736328125, 0.005950927734375, -0.015258...
[ 19010, 86531, 100, 552, 21690, 7154, 189534, 1810, 171859, 3900, 143, 313, 4904, 47, 563, 10644, 6276, 29089, 1238, 3949, 3742, 55449, 16635, 87, 25267, 146930, 96760, 10332, 18151, 5299, 156100, 101758, 61924, 384, 2816, 41851, 142994, 15210...
[ 0.1319580078125, 0.1790771484375, 0.02435302734375, 0.12890625, 0.255615234375, 0.06658935546875, 0.2288818359375, 0.19091796875, 0.19189453125, 0.1436767578125, 0.1488037109375, 0.05181884765625, 0.213134765625, 0.1270751953125, 0.131103515625, 0.1915283203125, 0.0609130859375, 0....
embed
48455488_c0
48455488
fsharp
0
Title: In F#, do agent ReplyChannels/AsyncReplyChannels cross threads? Problem title: In F#, do agent ReplyChannels/AsyncReplyChannels cross threads? Tags: agent, f%23 Problem: In F#, do agent ReplyChannels/AsyncReplyChannels cross threads? For example, if I start an agent (1) on a UI thread, then start another agent (...
In F#, do agent ReplyChannels/AsyncReplyChannels cross threads? In F#, do agent ReplyChannels/AsyncReplyChannels cross threads? agent f%23 ReplyChannels AsyncReplyChannels In F#, do agent ReplyChannels/AsyncReplyChannels cross threads? For example, if I start an agent (1) on a UI thread, then start another agent (2) on...
[ -0.01165771484375, 0.0181884765625, -0.00250244140625, 0.007354736328125, -0.004669189453125, -0.006561279296875, 0.0040283203125, 0.0059814453125, -0.00970458984375, -0.0185546875, 0.0067138671875, -0.00469970703125, -0.002105712890625, 0.0255126953125, 0.013671875, 0.00726318359375, ...
[ 563, 4904, 23882, 122813, 127008, 8876, 64, 12654, 238, 4332, 62479, 41421, 86997, 7, 1238, 3742, 62, 54, 4034, 111481, 76615, 25379, 26008, 75836, 20174, 63284, 927, 39116, 36398, 150624, 127219, 678, 29458, 12601, 40129, 47353, 19010, 10196...
[ 0.1336669921875, 0.1978759765625, 0.2061767578125, 0.1947021484375, 0.157958984375, 0.1217041015625, 0.02679443359375, 0.1600341796875, 0.049896240234375, 0.06463623046875, 0.1688232421875, 0.2012939453125, 0.1845703125, 0.03167724609375, 0.0498046875, 0.019775390625, 0.0452880859375...
embed
47331979_c0
47331979
fsharp
0
Title: How can I call bind on a computation expression without the let keyword? Problem title: How can I call bind on a computation expression without the let keyword? Tags: computation-expression, f%23 Problem: How can I call bind on a computation expression without the let keyword? Say I have this: MyComputationExpre...
How can I call bind on a computation expression without the let keyword? How can I call bind on a computation expression without the let keyword? computation-expression f%23 How MyComputationExpression Salesrecord.Address Salesrecord.Name How can I call bind on a computation expression without the let keyword? Say I ha...
[ -0.02685546875, 0.0228271484375, 0.01531982421875, 0.0159912109375, 0.00762939453125, 0.01043701171875, 0.007598876953125, -0.0011138916015625, 0.01043701171875, -0.0439453125, -0.0169677734375, 0.02197265625, 0.000545501708984375, 0.023193359375, 0.01123046875, 0.0033416748046875, -...
[ 11249, 831, 11782, 68557, 98, 181135, 1363, 125195, 15490, 2633, 166117, 87, 204629, 1238, 3742, 2646, 108161, 34, 178752, 1830, 88583, 32271, 161007, 163612, 2499, 3917, 309, 434, 13631, 85763, 55300, 29823, 136, 9351, 12403, 91306, 711, 399...
[ 0.042510986328125, 0.05865478515625, 0.1727294921875, 0.299560546875, 0.109619140625, 0.1812744140625, 0.05633544921875, 0.219482421875, 0.151123046875, 0.197021484375, 0.1767578125, 0.001617431640625, 0.175048828125, 0.0142974853515625, 0.091552734375, 0.06951904296875, 0.0712280273...
embed
52917799_c0
52917799
fsharp
0
Title: List of tuples into a single list with the second elements Problem title: List of tuples into a single list with the second elements Tags: tuples, list, list-comprehension, f%23 Problem: List of tuples into a single list with the second elements I am trying to convert a list of tuples(A*B) into a list of (B). Ho...
List of tuples into a single list with the second elements List of tuples into a single list with the second elements tuples list list-comprehension f%23 List Map.toList List of tuples into a single list with the second elements I am trying to convert a list of tuples(A*B) into a list of (B). How would I approach this?...
[ 0.000553131103515625, 0.00958251953125, 0.00099945068359375, 0.0145263671875, -0.00408935546875, 0.01373291015625, -0.01373291015625, 0.01080322265625, 0.01806640625, -0.0019989013671875, -0.00396728515625, 0.01031494140625, -0.004852294921875, 0.0279541015625, -0.0166015625, 0.0127563...
[ 32036, 111, 370, 99726, 3934, 11001, 5303, 678, 17932, 80854, 4692, 3220, 1238, 3742, 42719, 188, 154663, 31577, 96760, 284, 1639, 571, 10, 51515, 20654, 2046, 34292, 22288, 5117, 69347, 237875, 49146, 6496, 1295, 959, 3871, 2856, 120337, 5...
[ 0.1959228515625, 0.1524658203125, 0.152099609375, 0.253173828125, 0.1365966796875, 0.144287109375, 0.2376708984375, 0.0662841796875, 0.1910400390625, 0.18115234375, 0.0718994140625, 0.080078125, 0.010498046875, 0.06451416015625, 0.10626220703125, 0.07275390625, 0.1551513671875, 0.0...
embed
53410900_c0
53410900
fsharp
0
Title: F# Compiling VS Intellisense in .fs VS .fsx files Problem title: F# Compiling VS Intellisense in .fs VS .fsx files Tags: f%23, intellisense, visual-studio Problem: F# Compiling VS Intellisense in .fs VS .fsx files Visual Studio 2015, same F# 4.0 Console application. Two files, a Program.fs file and a Script.fsx ...
F# Compiling VS Intellisense in .fs VS .fsx files F# Compiling VS Intellisense in .fs VS .fsx files f%23 intellisense visual-studio Compiling Intellisense Program.fs Script.fsx FSharp.Core Microsoft.FSharp.Collections seqItem1 Seq.nth seqItem2 Seq.item F# Compiling VS Intellisense in .fs VS .fsx files Visual Studio 201...
[ 0.0028533935546875, 0.00250244140625, -0.00555419921875, 0.006317138671875, -0.010498046875, -0.000629425048828125, 0.0074462890625, 0.015869140625, -0.01708984375, 0.004852294921875, 0.00848388671875, 0.01361083984375, 0.00090789794921875, 0.02880859375, 0.0174560546875, -0.0044555664...
[ 563, 4904, 15612, 49725, 44160, 30131, 27077, 184, 23, 5, 17447, 425, 102158, 1238, 3742, 892, 21176, 52629, 7663, 84654, 93774, 3467, 254, 50886, 7244, 36381, 78457, 8996, 40, 864, 2982, 418, 503, 927, 304, 217, 73372, 22968, 24635, 5701...
[ 0.1439208984375, 0.223876953125, 0.1954345703125, 0.1837158203125, 0.1849365234375, 0.1588134765625, 0.2030029296875, 0.1251220703125, 0.05792236328125, 0.09381103515625, 0.266845703125, 0.18798828125, 0.2083740234375, 0.07421875, 0.086181640625, 0.1441650390625, 0.11767578125, 0.1...
embed
865044_c0
865044
fsharp
0
Title: How do I translate this Haskell to F#? Problem title: How do I translate this Haskell to F#? Tags: f%23, haskell, syntax, list-comprehension Problem: How do I translate this Haskell to F#? I'm trying to learn F# by translating some Haskell code I wrote a very long time ago, but I'm stuck! percent :: Int -> Int -...
How do I translate this Haskell to F#? How do I translate this Haskell to F#? f%23 haskell syntax list-comprehension How Haskell Float Char How do I translate this Haskell to F#? I'm trying to learn F# by translating some Haskell code I wrote a very long time ago, but I'm stuck! I've managed this: although i dont like ...
[ 0.01007080078125, -0.00030517578125, 0.0037078857421875, 0.00494384765625, 0.0098876953125, -0.0030517578125, 0.0074462890625, -0.01953125, -0.006591796875, 0.0068359375, 0.0048828125, -0.004669189453125, 0.0213623046875, -0.0029449462890625, -0.030517578125, -0.00701904296875, 0.001...
[ 11249, 87, 3900, 19309, 903, 20625, 142508, 47, 563, 4904, 54, 1238, 3949, 3742, 1556, 6002, 86531, 5303, 4692, 3220, 38699, 257, 21656, 30698, 143, 18151, 179933, 145755, 102971, 13319, 1884, 765, 70, 5, 7103, 805, 9351, 41018, 51339, 12...
[ 0.089599609375, 0.0174560546875, 0.140625, 0.175048828125, 0.08233642578125, 0.1673583984375, 0.27197265625, 0.1494140625, 0.1568603515625, 0.21337890625, 0.024627685546875, 0.0982666015625, 0.0289764404296875, 0.145263671875, 0.1390380859375, 0.0249786376953125, 0.07806396484375, ...
embed
9383903_c0
9383903
fsharp
0
Title: How to keep track of compiler environment Problem title: How to keep track of compiler environment Tags: compiler-construction, f%23 Problem: How to keep track of compiler environment I don't have much experience with compilers, but I finally have to write one. I'm using FParsec for the parser and now working on...
How to keep track of compiler environment How to keep track of compiler environment compiler-construction f%23 How How to keep track of compiler environment I don't have much experience with compilers, but I finally have to write one. I'm using FParsec for the parser and now working on the evaluator. I'm taking ( I thi...
[ -0.0087890625, 0.0067138671875, -0.0015716552734375, 0.002227783203125, -0.00799560546875, 0.0113525390625, 0.01025390625, -0.0233154296875, -0.010986328125, -0.0439453125, -0.009033203125, 0.01165771484375, -0.0037994384765625, 0.0037994384765625, 0.004119873046875, 0.0029296875, -0...
[ 11249, 47, 13695, 28560, 111, 9969, 34759, 65998, 238478, 1238, 3742, 5045, 16981, 7, 77681, 33022, 17368, 563, 28636, 39797, 366, 2189, 20697, 151575, 748, 222201, 51515, 28, 1405, 32354, 51776, 48963, 110, 112, 70560, 10644, 41110, 390, 7...
[ 0.1124267578125, 0.063232421875, 0.17822265625, 0.253662109375, 0.1038818359375, 0.2108154296875, 0.2216796875, 0.251220703125, 0.16650390625, 0.0139923095703125, 0.0665283203125, 0.0008544921875, 0.054931640625, 0.005767822265625, 0.018768310546875, 0.035308837890625, 0.043273925781...
embed
5269880_c0
5269880
fsharp
0
Title: Can I make a record more flexible? Problem title: Can I make a record more flexible? Tags: f%23, record Problem: Can I make a record more flexible? Can somebody give me an example of how to make inserting data into an F# record more flexible? I often see examples using records like this: type Employee = {mutable...
Can I make a record more flexible? Can I make a record more flexible? f%23 record Can Employee name:string id:string Thomas Johny Lucky Don Can I make a record more flexible? Can somebody give me an example of how to make inserting data into an F# record more flexible? I often see examples using records like this: Can'...
[ -0.0036163330078125, 0.006072998046875, 0.0135498046875, 0.0128173828125, -0.003997802734375, 0.0004291534423828125, -0.026123046875, 0.0166015625, 0.007110595703125, 0.0019073486328125, -0.00022029876708984375, -0.00135040283203125, 0.0164794921875, 0.005462646484375, -0.00909423828125,...
[ 4171, 87, 3249, 10, 17164, 1286, 110677, 1238, 3949, 3742, 31678, 365, 1033, 9351, 91693, 3447, 14978, 4939, 53, 138753, 7650, 27781, 183540, 2053, 3934, 563, 4904, 27983, 17368, 115923, 1884, 903, 4034, 678, 110, 756, 14432, 15490, 21635, ...
[ 0.09210205078125, 0.058624267578125, 0.1295166015625, 0.024871826171875, 0.23779296875, 0.1575927734375, 0.282958984375, 0.0758056640625, 0.033721923828125, 0.1201171875, 0.060546875, 0.1092529296875, 0.1094970703125, 0.088134765625, 0.1488037109375, 0.0699462890625, 0.1640625, 0.0...
embed
64128815_c0
64128815
fsharp
0
Title: Discriminated Union label to string Problem title: Discriminated Union label to string Tags: f%23 Problem: Discriminated Union label to string given the following Discriminated Union: type A = B of string | C of int How can I get the constructor B name? A.B.ToString() // would return something like: val it : str...
Discriminated Union label to string Discriminated Union label to string f%23 Discriminated Union A.B.ToString FSI_0045 D.E.ToString FSharpValue.GetUnionFields case.Name Discriminated Union label to string given the following Discriminated Union: How can I get the constructor B name? for example with this type it works:...
[ -0.0033111572265625, 0.003692626953125, -0.0028076171875, 0.020751953125, -0.0230712890625, -0.00689697265625, -0.0103759765625, 0.0185546875, 0.01544189453125, 0.006744384765625, 0.01324462890625, -0.01141357421875, 0.017822265625, 0.009521484375, 0.00567626953125, -0.01116943359375, ...
[ 6206, 135421, 3674, 32528, 67967, 47, 79315, 1238, 3949, 3742, 62, 571, 7763, 71713, 563, 9902, 7049, 4633, 391, 647, 93774, 3467, 254, 856, 50770, 724, 126, 147547, 19388, 7225, 163612, 25632, 11249, 831, 87, 2046, 64549, 748, 335, 9351,...
[ 0.0552978515625, 0.20654296875, 0.05780029296875, 0.217041015625, 0.26220703125, 0.1141357421875, 0.2386474609375, 0.082275390625, 0.0172119140625, 0.136962890625, 0.004638671875, 0.05718994140625, 0.1102294921875, 0.118896484375, 0.050537109375, 0.1328125, 0.006134033203125, 0.153...
embed
9838556_c0
9838556
fsharp
0
Title: HashMultiMap save repetitive keys bindings on background? Problem title: HashMultiMap save repetitive keys bindings on background? Tags: f%23, hashtable, powerpack Problem: HashMultiMap save repetitive keys bindings on background? why when table.Count = 1 table iteration functions get more than 1 key-value pairs...
HashMultiMap save repetitive keys bindings on background? HashMultiMap save repetitive keys bindings on background? f%23 hashtable powerpack HashMultiMap HashIdentity.Structural table.Add table.Count table.Fold table.Iterate acc.contents HashMultiMap save repetitive keys bindings on background? why when table.Count = 1...
[ -0.01953125, -0.0047607421875, 0.0103759765625, 0.003570556640625, -0.03173828125, 0.005859375, 0.0157470703125, -0.00958251953125, 0.01226806640625, -0.005828857421875, -0.0034942626953125, 0.013427734375, 0.028564453125, 0.05517578125, 0.01446533203125, 0.01251220703125, 0.00424194...
[ 162087, 50657, 118, 166179, 30098, 57346, 4935, 22799, 128239, 98, 76615, 1238, 3742, 1556, 22819, 14537, 29102, 37379, 73317, 23180, 4028, 108210, 18345, 8560, 50015, 69246, 15400, 106, 720, 32354, 1286, 3501, 27494, 80836, 60213, 84751, 12316...
[ 0.153564453125, 0.1746826171875, 0.053802490234375, 0.20654296875, 0.135498046875, 0.206298828125, 0.10455322265625, 0.1416015625, 0.176513671875, 0.05322265625, 0.2109375, 0.024139404296875, 0.1005859375, 0.0897216796875, 0.1209716796875, 0.03399658203125, 0.1412353515625, 0.11608...
embed
41689866_c1
41689866
fsharp
1
will return this new Discriminator union, but now problem is all by default float operations will not be valid on my new discriminator union (which even though is float value). type myResultType = | Number of float | StringItem of string //assume function has some logic to return either float/string let myFunction inp...
will return this new Discriminator union, but now problem is all by default float operations will not be valid on my new discriminator union (which even though is float value). type myResultType = | Number of float | StringItem of string //assume function has some logic to return either float/string let myFunction inp...
[ -0.000762939453125, 0.0012359619140625, 0.000751495361328125, -0.0019683837890625, -0.0028533935546875, -0.00811767578125, -0.000946044921875, -0.009033203125, 0.006622314453125, -0.02392578125, 0.010009765625, -0.00286865234375, 0.02099609375, 0.010986328125, -0.01190185546875, -0.014...
[ 30646, 903, 3525, 6206, 135421, 1290, 69941, 5036, 2967, 756, 390, 114977, 21917, 257, 41018, 959, 35604, 55970, 34292, 10644, 759, 4332, 7, 7136, 196707, 103332, 23351, 2982, 111, 79315, 66596, 32354, 62775, 91693, 97249, 107730, 14858, 919,...
[ 0.1771240234375, 0.023345947265625, 0.095458984375, 0.03192138671875, 0.2166748046875, 0.11279296875, 0.20751953125, 0.00152587890625, 0.0755615234375, 0.038055419921875, 0.019805908203125, 0.2183837890625, 0.1702880859375, 0.082763671875, 0.1602783203125, 0.08056640625, 0.1429443359...
embed
42161504_c1
42161504
fsharp
1
Value) .Scan(fun acc x -> acc + x) .StartWith(0) let bGivenA a = Observable.Sample(a, OnClick buttonB) .StartWith(1) let a, b = dependency aGivenB bGivenA a.Subscribe(SetText buttonA) b.Subscribe(SetText buttonB) This seems a bit better, but since there exists no method like dependency in the reactive library, I believ...
Value) .Scan(fun acc x -> acc + x) .StartWith(0) let bGivenA a = Observable.Sample(a, OnClick buttonB) .StartWith(1) let a, b = dependency aGivenB bGivenA a.Subscribe(SetText buttonA) b.Subscribe(SetText buttonB) This seems a bit better, but since there exists no method like dependency in the reactive library, I believ...
[ -0.01397705078125, 0.033935546875, -0.007415771484375, 0.017578125, 0.00537109375, 0.0203857421875, 0.005340576171875, 0.00726318359375, 0.0245361328125, -0.02978515625, -0.0012969970703125, 0.00390625, 0.00823974609375, 0.037841796875, 0.014892578125, -0.00921630859375, 0.0147705078...
[ 190060, 5, 294, 4398, 16498, 50015, 1022, 33079, 997, 126597, 194583, 177609, 2633, 876, 1353, 284, 10, 87652, 2661, 5464, 33209, 2161, 181671, 77679, 571, 42548, 27771, 96472, 34601, 126, 174379, 37202, 11522, 32316, 110, 55300, 71232, 35773...
[ 0.245361328125, 0.013336181640625, 0.046142578125, 0.1783447265625, 0.196533203125, 0.1514892578125, 0.09783935546875, 0.0777587890625, 0.09307861328125, 0.0928955078125, 0.17138671875, 0.1483154296875, 0.035308837890625, 0.041534423828125, 0.0628662109375, 0.03765869140625, 0.051513...
embed
29264833_c1
29264833
fsharp
1
will be serialized like this: { "_t" : "CaseOne", "IsCaseOne" : "true", "IsCaseTwo" : "false", "Tag" : 0 } I'm not sure why but I'm guessing the F# compiler adds extra information to DUs during runtime for interop purposes but that is only a guess.. Anyhow so the problem was really only that I had a mix of BSON-serial...
will be serialized like this: { "_t" : "CaseOne", "IsCaseOne" : "true", "IsCaseTwo" : "false", "Tag" : 0 } I'm not sure why but I'm guessing the F# compiler adds extra information to DUs during runtime for interop purposes but that is only a guess.. Anyhow so the problem was really only that I had a mix of BSON-serial...
[ 0.0123291015625, 0.0264892578125, -0.0023956298828125, -0.0233154296875, -0.0164794921875, -0.0147705078125, -0.032470703125, -0.01019287109375, 0.01251220703125, -0.021728515625, 0.025146484375, 0.03466796875, 0.0108642578125, -0.01019287109375, 0.02734375, -0.002838134765625, -0.00...
[ 1221, 186, 35686, 29367, 1884, 903, 18, 441, 6991, 62068, 29598, 9774, 3613, 66448, 757, 39, 15400, 57767, 563, 4904, 9969, 34759, 15190, 4173, 4677, 47, 14614, 7, 20271, 11675, 6032, 1940, 2146, 60042, 2967, 6183, 17664, 335, 58627, 184,...
[ 0.12060546875, 0.08673095703125, 0.246337890625, 0.15771484375, 0.125244140625, 0.09912109375, 0.01177978515625, 0.07354736328125, 0.1201171875, 0.1707763671875, 0.087890625, 0.0120849609375, 0.1590576171875, 0.14404296875, 0.06243896484375, 0.011871337890625, 0.0256805419921875, 0...
embed
58070676_c0
58070676
fsharp
0
Title: F# - constructing nested types Problem title: F# - constructing nested types Tags: composite, f%23 Problem: F# - constructing nested types I guess this is pretty basic F# question: Types are: type Id1 = | Id1 of int type Id2 = | Id2 of string type Id = | Id1 | Id2 type Child = { Id : Id; Smth : string list } typ...
F# - constructing nested types F# - constructing nested types composite f%23 Id1 Id2 Child Smth Node Compos Expression F# - constructing nested types I guess this is pretty basic F# question: Types are: where Node and Child should represent replacement for Composite OOP design pattern. The problem is that I cannot inst...
[ -0.026123046875, -0.0260009765625, -0.0003337860107421875, 0.00445556640625, 0.019775390625, 0.0223388671875, -0.01275634765625, 0.0019378662109375, 0.0003337860107421875, -0.0244140625, -0.005615234375, -0.00830078125, 0.0093994140625, 0.00238037109375, 0.00604248046875, -0.0043334960...
[ 563, 4904, 64549, 8512, 71, 52895, 214, 375, 77087, 1238, 3742, 24799, 418, 304, 123829, 24965, 927, 438, 112, 15612, 232, 25129, 57767, 62822, 60457, 7, 621, 7440, 136, 5608, 33636, 91995, 674, 3288, 180, 20880, 4331, 103510, 2967, 53418...
[ 0.102294921875, 0.170654296875, 0.1185302734375, 0.2138671875, 0.09527587890625, 0.2264404296875, 0.0276947021484375, 0.0655517578125, 0.1865234375, 0.069091796875, 0.09716796875, 0.06549072265625, 0.0172271728515625, 0.031463623046875, 0.2008056640625, 0.06640625, 0.1351318359375, ...
embed
65271365_c0
65271365
fsharp
0
Title: Sorted Sublist within a F# list of integers Problem title: Sorted Sublist within a F# list of integers Tags: f%23, list, sublist, recursion Problem: Sorted Sublist within a F# list of integers I am trying to get a sublist which contains the largest and then eventually second largest element from left to right in...
Sorted Sublist within a F# list of integers Sorted Sublist within a F# list of integers f%23 list sublist recursion Sorted Sublist list1 List Empty x::xs x1::x2::xs Sorted Sublist within a F# list of integers I am trying to get a sublist which contains the largest and then eventually second largest element from left to...
[ -0.0004100799560546875, 0.0081787109375, 0.031494140625, -0.0164794921875, -0.01953125, 0.0162353515625, -0.01239013671875, 0.008544921875, 0.01165771484375, -0.005035400390625, 0.00994873046875, 0.01300048828125, 0, 0.0130615234375, 0.0211181640625, -0.021484375, 0.0023040771484375,...
[ 53666, 297, 8273, 6562, 28032, 563, 4904, 5303, 892, 26255, 1238, 3949, 3742, 1614, 195625, 1830, 418, 32036, 31678, 1022, 82825, 304, 31577, 2046, 70541, 142105, 155605, 17932, 12830, 1295, 25737, 47, 7108, 758, 617, 5608, 19048, 74, 16750...
[ 0.166259765625, 0.1053466796875, 0.2061767578125, 0.23046875, 0.0933837890625, 0.098388671875, 0.1893310546875, 0.175048828125, 0.1131591796875, 0.08990478515625, 0.05926513671875, 0.013427734375, 0.1337890625, 0.2032470703125, 0.1630859375, 0.018951416015625, 0.03765869140625, 0.1...
embed
19107482_c0
19107482
fsharp
0
Title: Find repeating values in List Problem title: Find repeating values in List Tags: f%23, recursion Problem: Find repeating values in List I want to return true if I find a repeating value in the list let rec repeats L = match L with | [] -> false | x::xs when x = xs.Head -> true | x::xs -> repeats xs;; repeats [1;...
Find repeating values in List Find repeating values in List f%23 recursion System.InvalidOperationException Find List x::xs xs.Head Microsoft.FSharp.Collections.FSharpList get_Head FSI_0003.repeats FSharpList StartupCode$FSI_0004 FSI_0004.main Stopped Find repeating values in List I want to return true if I find a repe...
[ -0.0174560546875, 0.0191650390625, 0.0091552734375, -0.0074462890625, -0.007110595703125, -0.00653076171875, 0.01141357421875, -0.0263671875, 0.008056640625, -0.0145263671875, 0.027099609375, 0.0283203125, -0.000957489013671875, -0.004425048828125, 0.019287109375, 0.0162353515625, 0....
[ 26040, 119140, 214, 142424, 23, 32036, 1238, 3949, 3742, 195625, 1830, 12353, 7013, 156823, 19279, 63928, 1022, 425, 7, 13025, 712, 7244, 36381, 3467, 254, 78457, 8996, 154663, 2046, 563, 9902, 9508, 363, 107, 1081, 9821, 93774, 153076, 114...
[ 0.1236572265625, 0.30615234375, 0.18994140625, 0.2052001953125, 0.09716796875, 0.228515625, 0.06585693359375, 0.051300048828125, 0.16357421875, 0.17431640625, 0.04254150390625, 0.07763671875, 0.14453125, 0.1483154296875, 0.0264739990234375, 0.10711669921875, 0.058502197265625, 0.05...
embed
51603222_c0
51603222
fsharp
0
Title: How to shift all 2D array values (wrap them around) in F#? Problem title: How to shift all 2D array values (wrap them around) in F#? Tags: for-loop, f%23, arrays, multidimensional-array Problem: How to shift all 2D array values (wrap them around) in F#? I am trying to create a program which moves a 2D array in f...
How to shift all 2D array values (wrap them around) in F#? How to shift all 2D array values (wrap them around) in F#? for-loop f%23 arrays multidimensional-array How System Length Console.Read How to shift all 2D array values (wrap them around) in F#? I am trying to create a program which moves a 2D array in four direc...
[ 0.00604248046875, 0.00567626953125, -0.01043701171875, 0.0089111328125, -0.01031494140625, -0.01318359375, -0.005645751953125, 0.00579833984375, -0.0089111328125, 0.0419921875, 0.029052734375, 0.038818359375, -0.0113525390625, 0.00433349609375, -0.0025634765625, -0.0016021728515625, ...
[ 11249, 47, 122925, 756, 116, 397, 10298, 53, 142424, 13631, 10932, 563, 4904, 434, 2856, 23, 100, 28354, 1238, 3742, 4778, 6024, 157955, 19305, 12353, 77554, 40777, 31345, 31577, 28282, 1528, 25813, 22759, 48225, 27781, 35064, 98567, 70, 71...
[ 0.0711669921875, 0.07989501953125, 0.248291015625, 0.1295166015625, 0.1343994140625, 0.150634765625, 0.16796875, 0.1146240234375, 0.187744140625, 0.1868896484375, 0.1533203125, 0.1297607421875, 0.2020263671875, 0.02386474609375, 0.0195465087890625, 0.038360595703125, 0.062744140625, ...
embed