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
72174552_c0
72174552
fsharp
0
Title: Record transformation Problem title: Record transformation Tags: f%23 Problem: Record transformation Suppose I have the following type: type Temp<'b,'c> = { A : string B : 'b C : 'c D : string } And I want to create a function that receives Temp<string,string> and outputs Temp<int,int>. I tried two approaches. T...
Record transformation Record transformation f%23 Record Temp r.A r.B r.C r.D Record transformation Suppose I have the following type: And I want to create a function that receives Temp<string,string> and outputs Temp<int,int>. I tried two approaches. The most cumbersome (f1) works and the most logical (in my view) does...
[ -0.00494384765625, -0.0019989013671875, 0.00439453125, 0.01409912109375, -0.005767822265625, -0.03076171875, -0.04296875, 0.012939453125, 0.004180908203125, 0.0126953125, 0.0135498046875, 0.0250244140625, 0.0054931640625, 0.01300048828125, 0.015869140625, -0.0137939453125, 0.00402832...
[ 54877, 167201, 1238, 3949, 3742, 37446, 1690, 284, 571, 397, 25632, 10644, 3444, 28282, 32354, 53299, 7, 91693, 140992, 4288, 37842, 6626, 51515, 2684, 1452, 1297, 43452, 420, 17727, 43240, 62775, 289, 21455, 14602, 959, 10461, 15700, 3917, ...
[ 0.24609375, 0.262451171875, 0.06683349609375, 0.059844970703125, 0.160400390625, 0.27490234375, 0.05010986328125, 0.001129150390625, 0.032379150390625, 0.067626953125, 0.06158447265625, 0.144287109375, 0.0810546875, 0.1258544921875, 0.1944580078125, 0.134765625, 0.031768798828125, ...
embed
65628063_c0
65628063
fsharp
0
Title: Getting list of values from list of options Problem title: Getting list of values from list of options Tags: list, f%23 Problem: Getting list of values from list of options I have a simple list of string options, like this: let myList = [ None; Some "foo"; Some "bar" ] I tried to get the non-empty values from th...
Getting list of values from list of options Getting list of values from list of options list f%23 list Getting None Some List.filter Option.isSome List.map Option.get List.choose Getting list of values from list of options I have a simple list of string options, like this: I tried to get the non-empty values from the l...
[ -0.01226806640625, -0.000335693359375, -0.00003933906555175781, 0.001129150390625, -0.014404296875, -0.0228271484375, 0.01007080078125, -0.005706787109375, 0.01287841796875, 0.007781982421875, 0.00836181640625, 0.0037841796875, 0.00421142578125, -0.0020294189453125, -0.00885009765625, ...
[ 210732, 5303, 111, 142424, 1295, 50717, 1238, 3949, 3742, 438, 86, 31384, 32036, 120337, 86769, 5, 164, 282, 62346, 3794, 3089, 8364, 8781, 79315, 4, 37842, 2046, 351, 33548, 939, 70, 903, 51515, 14037, 15700, 18151, 2665, 15044, 24763, 5...
[ 0.0833740234375, 0.16943359375, 0.091064453125, 0.1798095703125, 0.103271484375, 0.2333984375, 0.06939697265625, 0.032928466796875, 0.1580810546875, 0.05340576171875, 0.043121337890625, 0.04034423828125, 0.1663818359375, 0.153076171875, 0.194580078125, 0.0276641845703125, 0.022338867...
embed
45160715_c0
45160715
fsharp
0
Title: Copy and update record expression doesn&#x27;t work Problem title: Copy and update record expression doesn&#x27;t work Tags: linqpad, f%23 Problem: Copy and update record expression doesn't work I'm trying to copy an entity in a table using LinqPad. let dc = new TypedDataContext() let title = "Some title" let ne...
Copy and update record expression doesn&#x27;t work Copy and update record expression doesn&#x27;t work linqpad f%23 Copy TypedDataContext Some dc.UserIDs Seq.filter x.Funktion SomeFunction Seq.last Title Copy and update record expression doesn't work I'm trying to copy an entity in a table using LinqPad. The type ' Us...
[ 0.0015716552734375, -0.00799560546875, 0.000682830810546875, 0.0125732421875, 0.01385498046875, 0.01055908203125, 0.00116729736328125, 0.0057373046875, 0.00994873046875, -0.024658203125, -0.01239013671875, 0.01953125, 0.004364013671875, -0.0019073486328125, 0.021240234375, -0.006988525...
[ 146930, 136, 28350, 17164, 125195, 22027, 3768, 18, 4488, 96, 44982, 4299, 3742, 60457, 137989, 22829, 1062, 2189, 7146, 864, 120337, 97249, 19777, 48962, 31577, 43658, 77630, 939, 23, 23180, 339, 113954, 10644, 53400, 959, 70541, 44457, 3835...
[ 0.2236328125, 0.1175537109375, 0.2196044921875, 0.1905517578125, 0.2479248046875, 0.037506103515625, 0.053070068359375, 0.0462646484375, 0.1529541015625, 0.0252685546875, 0.1165771484375, 0.1937255859375, 0.0153350830078125, 0.1314697265625, 0.0020751953125, 0.0872802734375, 0.051147...
embed
34969683_c0
34969683
fsharp
0
Title: Pattern matching numeric strings Problem title: Pattern matching numeric strings Tags: f%23, pattern-matching Problem: Pattern matching numeric strings I have a function that pattern matches its argument, which is a string : let processLexime lexime match lexime with | "abc" -> ... | "bar" -> ... | "cat" -> ... ...
Pattern matching numeric strings Pattern matching numeric strings f%23 pattern-matching Pattern FParsec Pattern matching numeric strings I have a function that pattern matches its argument, which is a string : This works as expected. However, I'm now trying to extend this by expressing "match a string containing only t...
[ -0.01220703125, -0.0019378662109375, -0.01025390625, 0.036865234375, -0.0079345703125, 0.0269775390625, -0.000701904296875, 0.0208740234375, 0.01513671875, -0.01141357421875, -0.00113677978515625, 0.0015106201171875, -0.0164794921875, 0.000934600830078125, 0.004150390625, 0.00558471679...
[ 9876, 22766, 14858, 214, 54744, 79315, 238, 1238, 3949, 3742, 103510, 98753, 563, 28636, 39797, 32354, 90, 6863, 10750, 3293, 43240, 237, 84751, 31577, 65042, 36510, 10, 70541, 4734, 25632, 124850, 29458, 27781, 3444, 23937, 153939, 47, 186, ...
[ 0.1890869140625, 0.1661376953125, 0.217041015625, 0.053314208984375, 0.1435546875, 0.23583984375, 0.0232086181640625, 0.0579833984375, 0.037078857421875, 0.1429443359375, 0.2325439453125, 0.239013671875, 0.1083984375, 0.1036376953125, 0.1544189453125, 0.1279296875, 0.078857421875, ...
embed
4430770_c0
4430770
fsharp
0
Title: Shorter way to constraint a function Problem title: Shorter way to constraint a function Tags: f%23, type-constraints Problem: Shorter way to constraint a function I'm looking for a shorter way (if there is one) to constraint a function. E.g. let inline sincos (a:'T) = let y = sin a let x = cos a y, x For using ...
Shorter way to constraint a function Shorter way to constraint a function f%23 type-constraints Shorter Sin Cos float32 Shorter way to constraint a function I'm looking for a shorter way (if there is one) to constraint a function. E.g. For using this function, 'T will need to support both Sin and Cos static members. I ...
[ -0.00738525390625, -0.002044677734375, 0.007720947265625, 0.0169677734375, -0.002105712890625, -0.019775390625, -0.00732421875, 0.005157470703125, -0.004852294921875, -0.0233154296875, -0.007476806640625, -0.007568359375, -0.007598876953125, -0.002166748046875, 0.0306396484375, 0.01214...
[ 82990, 56, 3917, 47, 158, 2816, 4288, 32354, 1238, 3949, 3742, 10644, 2271, 6610, 50939, 21917, 257, 6460, 10, 16487, 16610, 17368, 242, 618, 1221, 3871, 8060, 15044, 201939, 43032, 4488, 678, 56409, 38931, 83, 442, 7722, 15190, 171859, 8...
[ 0.2220458984375, 0.1416015625, 0.1337890625, 0.05023193359375, 0.137939453125, 0.221923828125, 0.187744140625, 0.2408447265625, 0.06939697265625, 0.0711669921875, 0.1676025390625, 0.2047119140625, 0.0889892578125, 0.1849365234375, 0.1973876953125, 0.140869140625, 0.05242919921875, ...
embed
49842959_c1
49842959
fsharp
1
Test.fsproj"> <Name>fsTest.fsproj</Name> </ProjectReference> </ItemGroup> <ItemGroup> <Compile Include="fsTest.fs" /> <None Include="App.config" /> </ItemGroup> <Import Project="..\.paket\Paket.Restore.targets" /> </Project> I used this instructions as reference for my setup: Four easy steps for installing F# on Ubuntu...
Test.fsproj"> <Name>fsTest.fsproj</Name> </ProjectReference> </ItemGroup> <ItemGroup> <Compile Include="fsTest.fs" /> <None Include="App.config" /> </ItemGroup> <Import Project="..\.paket\Paket.Restore.targets" /> </Project> I used this instructions as reference for my setup: Four easy steps for installing F# on Ubuntu...
[ -0.0113525390625, 0.00982666015625, -0.00006246566772460938, -0.006439208984375, 0.00775146484375, -0.004669189453125, 0.0034942626953125, -0.0272216796875, -0.005096435546875, 0.025634765625, 0.016357421875, -0.00714111328125, -0.01446533203125, 0.0400390625, 0.006134033203125, 0.0070...
[ 8647, 5, 17447, 3454, 170, 70902, 163612, 2740, 111337, 223353, 4332, 69988, 2982, 205072, 108161, 1340, 8942, 822, 5021, 39179, 153837, 61637, 6982, 27331, 67646, 155402, 45804, 867, 3794, 11814, 903, 167934, 237, 91067, 759, 169581, 65056, ...
[ 0.281005859375, 0.1026611328125, 0.22900390625, 0.201416015625, 0.2086181640625, 0.030120849609375, 0.05255126953125, 0.008636474609375, 0.28173828125, 0.122802734375, 0.06414794921875, 0.165283203125, 0.111572265625, 0.171142578125, 0.0816650390625, 0.135009765625, 0.006072998046875...
embed
56344851_c1
56344851
fsharp
1
samelength Arb.from<int list * int list> type MyGeneratorZ = static member arbMyGen2() = { new Arbitrary<int list * int list>() with override x.Generator = arbMyGen2 |> Arb.toGen override x.Shrinker t = Seq.empty } let _ = Arb.register<MyGeneratorZ>() let pro_zip (xs: int list, ys: int list) = (xs, ys) = List.unzip(Li...
samelength Arb.from<int list * int list> type MyGeneratorZ = static member arbMyGen2() = { new Arbitrary<int list * int list>() with override x.Generator = arbMyGen2 |> Arb.toGen override x.Shrinker t = Seq.empty } let _ = Arb.register<MyGeneratorZ>() let pro_zip (xs: int list, ys: int list) = (xs, ys) = List.unzip(Li...
[ -0.005279541015625, 0.0233154296875, -0.015869140625, 0.000701904296875, -0.0133056640625, 0.007720947265625, -0.0019989013671875, -0.01171875, 0.0244140625, -0.017822265625, 0.0020751953125, 0.04931640625, 0.021484375, 0.00811767578125, 0.00885009765625, -0.0140380859375, -0.0043029...
[ 5701, 23986, 1172, 275, 161063, 4288, 5303, 23, 10644, 2646, 105376, 56, 4597, 1511, 201939, 32786, 187, 31852, 304, 242522, 1294, 18, 645, 416, 188, 1022, 35838, 808, 864, 33548, 105199, 502, 50836, 425, 113, 32036, 309, 154663, 38679, 9...
[ 0.1302490234375, 0.1397705078125, 0.14208984375, 0.115478515625, 0.129638671875, 0.10302734375, 0.21826171875, 0.00872802734375, 0.07373046875, 0.0679931640625, 0.1435546875, 0.1622314453125, 0.101318359375, 0.1307373046875, 0.08343505859375, 0.1177978515625, 0.094482421875, 0.0595...
embed
67463292_c0
67463292
fsharp
0
Title: F# - How to defining multiple generic functions together Problem title: F# - How to defining multiple generic functions together Tags: f%23 Problem: F# - How to defining multiple generic functions together OK: let em inp=sprintf"<em>%A</em>"inp let bold inp=sprintf"<b>%A</b>"inp printfn"%s"<|em"blabla"///<em>bla...
F# - How to defining multiple generic functions together F# - How to defining multiple generic functions together f%23 How em2 bold2 F# - How to defining multiple generic functions together OK: Trying to define together (with compiling error): Error:
[ -0.00115966796875, -0.01141357421875, 0.00518798828125, 0.006622314453125, 0.0042724609375, 0.015869140625, 0.001556396484375, -0.0184326171875, 0.02587890625, -0.001495361328125, 0.0064697265625, -0.002410888671875, 0.01202392578125, -0.00830078125, 0.01153564453125, 0.005767822265625...
[ 563, 4904, 20, 11249, 47, 13204, 48716, 189534, 32354, 25842, 449, 1238, 3949, 3742, 352, 304, 6, 65665, 7, 14315, 40858, 214, 61924, 76228, 9969, 49725, 18499, 212059 ]
[ 0.1134033203125, 0.18701171875, 0.0018310546875, 0.053985595703125, 0.0401611328125, 0.216796875, 0.1981201171875, 0.25732421875, 0.2188720703125, 0.2364501953125, 0.0513916015625, 0.0859375, 0.0001220703125, 0.112548828125, 0.1123046875, 0.09234619140625, 0.0035400390625, 0.115478...
embed
19166077_c0
19166077
fsharp
0
Title: how do can I check whether a date is within business hours in f#? Problem title: how do can I check whether a date is within business hours in f#? Tags: f%23 Problem: how do can I check whether a date is within business hours in f#? I m trying to write a simple function in fsharp to check the business hours but ...
how do can I check whether a date is within business hours in f#? how do can I check whether a date is within business hours in f#? f%23 DateTime.FromOADate DayOfWeek.Saturday DayOfWeek.Sunday DateTime.Hour how do can I check whether a date is within business hours in f#? I m trying to write a simple function in fsharp...
[ -0.0120849609375, -0.0177001953125, -0.005584716796875, 0.00555419921875, -0.005340576171875, 0.005615234375, -0.00927734375, 0.00897216796875, -0.00933837890625, 0.009033203125, -0.009521484375, 0.01361083984375, -0.004119873046875, -0.0021209716796875, 0.0147705078125, -0.01416015625...
[ 3642, 831, 87, 12765, 36766, 5622, 83, 28032, 8063, 21974, 23, 1238, 4904, 54, 3742, 25512, 70059, 168407, 44593, 86291, 10013, 132887, 12137, 343, 16989, 66279, 5636, 11193, 474, 10, 33022, 8781, 32354, 89280, 254, 4288, 20697, 35782, 7722...
[ 0.033477783203125, 0.06317138671875, 0.031219482421875, 0.19580078125, 0.1107177734375, 0.18017578125, 0.0894775390625, 0.1746826171875, 0.1826171875, 0.216552734375, 0.0577392578125, 0.118896484375, 0.180419921875, 0.0284576416015625, 0.106201171875, 0.135986328125, 0.209228515625, ...
embed
20639887_c1
20639887
fsharp
1
of the explicit class or function type variables for this binding could not be generalized, because they were constrained to other types and also in line mailbox.Post(CrossoverMessage genomeIn) : Error 3 The type ''T' does not match the type ''a' I an not using the variable ''a' anywhere in the project. Also, the name...
of the explicit class or function type variables for this binding could not be generalized, because they were constrained to other types and also in line mailbox.Post(CrossoverMessage genomeIn) : Error 3 The type ''T' does not match the type ''a' I an not using the variable ''a' anywhere in the project. Also, the name...
[ -0.004150390625, 0.0341796875, -0.00145721435546875, 0.003570556640625, 0.00390625, -0.015869140625, -0.0087890625, -0.00933837890625, 0.00677490234375, -0.00531005859375, 0.0159912109375, -0.0037841796875, 0.00506591796875, -0.0150146484375, 0.01373291015625, -0.0032501220703125, 0....
[ 111, 143726, 18507, 32354, 10644, 77336, 7, 128239, 5809, 959, 4537, 29367, 9297, 122009, 52895, 13315, 6648, 11728, 49411, 3666, 5465, 594, 6011, 429, 8584, 13, 4153, 212059, 138, 618, 14602, 14858, 11, 87, 17368, 13452, 9351, 47832, 284, ...
[ 0.013885498046875, 0.1678466796875, 0.158935546875, 0.08697509765625, 0.181640625, 0.21923828125, 0.036041259765625, 0.19580078125, 0.03668212890625, 0.06201171875, 0.0927734375, 0.0693359375, 0.080810546875, 0.036865234375, 0.1375732421875, 0.056884765625, 0.0137939453125, 0.15588...
embed
2916758_c0
2916758
fsharp
0
Title: Running a batch file with parameters in Python OR F# Problem title: Running a batch file with parameters in Python OR F# Tags: windows, web-services, f%23, batch-file, python Problem: Running a batch file with parameters in Python OR F# I searched the site, but I didn't see anything quite matching what I was loo...
Running a batch file with parameters in Python OR F# Running a batch file with parameters in Python OR F# windows web-services f%23 batch-file python Running Python run-client.bat param1 param2 param3 param4 Running a batch file with parameters in Python OR F# I searched the site, but I didn't see anything quite matchi...
[ 0.01226806640625, 0.0006256103515625, -0.0040283203125, 0.007720947265625, -0.010986328125, -0.007476806640625, 0.00836181640625, -0.020263671875, -0.009033203125, -0.0213623046875, 0.01220703125, 0.003021240234375, -0.0035858154296875, -0.004974365234375, 0.000331878662109375, -0.0356...
[ 28398, 592, 1777, 206, 11435, 678, 171859, 7, 23, 145581, 33172, 563, 4904, 54825, 1467, 22584, 1238, 3742, 29822, 17198, 50828, 11675, 222978, 2848, 121, 39, 304, 363, 617, 33938, 14858, 75935, 9157, 51684, 38415, 4527, 4516, 23282, 2806, ...
[ 0.180908203125, 0.0199737548828125, 0.1986083984375, 0.147216796875, 0.1856689453125, 0.09429931640625, 0.2421875, 0.062744140625, 0.05615234375, 0.251220703125, 0.1339111328125, 0.11474609375, 0.180419921875, 0.1014404296875, 0.06103515625, 0.13818359375, 0.06988525390625, 0.11755...
embed
5855781_c0
5855781
fsharp
0
Title: F#: Printing full lists without explicit loop Problem title: F#: Printing full lists without explicit loop Tags: f%23 Problem: F#: Printing full lists without explicit loop Is it possible to print a data structure in F# without abbreviating long lists? With printf I can only seem to print the first 100 elements:...
F#: Printing full lists without explicit loop F#: Printing full lists without explicit loop f%23 Printing F#: Printing full lists without explicit loop Is it possible to print a data structure in F# without abbreviating long lists? With printf I can only seem to print the first 100 elements: In this case it would be po...
[ 0.00836181640625, 0.00170135498046875, 0.0021820068359375, 0.003448486328125, 0.0023651123046875, 0.006561279296875, 0.010498046875, -0.0157470703125, 0.0033416748046875, -0.001708984375, 0.0177001953125, -0.0005950927734375, 0.004730224609375, 0.01043701171875, 0.00567626953125, -0.00...
[ 563, 4904, 12, 39754, 214, 4393, 5303, 15490, 143726, 40956, 1238, 3742, 442, 7722, 28412, 2053, 45646, 23, 1563, 4134, 3459, 4989, 17106, 420, 87, 831, 4734, 48903, 47, 5117, 805, 80854, 2806, 8305, 1286, 96704, 63559, 8, 277, 78381, 6...
[ 0.1558837890625, 0.2265625, 0.03021240234375, 0.1563720703125, 0.019927978515625, 0.136474609375, 0.1734619140625, 0.099853515625, 0.1195068359375, 0.1512451171875, 0.023468017578125, 0.06097412109375, 0.04736328125, 0.1422119140625, 0.1978759765625, 0.0941162109375, 0.2022705078125,...
embed
16073735_c0
16073735
fsharp
0
Title: image WriteableBitmap image .Pixels The field, constructor or member &#x27;Pixels&#x27; is not defined? Problem title: image WriteableBitmap image .Pixels The field, constructor or member &#x27;Pixels&#x27; is not defined? Tags: graphics, writeablebitmap, f%23, .net Problem: image WriteableBitmap image .Pixels T...
image WriteableBitmap image .Pixels The field, constructor or member &#x27;Pixels&#x27; is not defined? image WriteableBitmap image .Pixels The field, constructor or member &#x27;Pixels&#x27; is not defined? graphics writeablebitmap f%23 .net WriteableBitmap Pixels Media.PixelFormats.Bgra32 image.Pixels image Writeable...
[ 0.00811767578125, 0.00860595703125, 0.000873565673828125, 0.01904296875, -0.006866455078125, 0.020263671875, 0.01507568359375, 0.0030975341796875, 0.0030975341796875, 0.022705078125, -0.0027008056640625, 0.03369140625, 0.0213623046875, -0.00970458984375, 0.01220703125, -0.0142211914062...
[ 29569, 601, 18781, 2886, 571, 217, 62346, 5, 29348, 52851, 44457, 64549, 748, 707, 32786, 3768, 83, 959, 61924, 71, 48461, 33022, 3137, 1238, 3742, 1179, 111159, 4794, 102973, 5739, 6460, 212059, 116, 4, 206984, 16265, 51671, 44084, 170846,...
[ 0.1441650390625, 0.049224853515625, 0.1829833984375, 0.1939697265625, 0.053741455078125, 0.107421875, 0.205322265625, 0.01275634765625, 0.1180419921875, 0.230224609375, 0.22705078125, 0.1646728515625, 0.1337890625, 0.1107177734375, 0.21728515625, 0.1234130859375, 0.07403564453125, ...
embed
28662616_c0
28662616
fsharp
0
Title: WebService type confusion Problem title: WebService type confusion Tags: f%23, unit-type Problem: WebService type confusion I am using this template to create a web service. Here is a Web Service Contract I am using: [<ServiceContract>] type ISimpleService = [<OperationContract>] abstract GetItems: value:int -> ...
WebService type confusion WebService type confusion f%23 unit-type WebService ServiceContract ISimpleService OperationContract GetItems value:int Item InsertItem composite:Item WebService type confusion I am using this template to create a web service. Here is a Web Service Contract I am using: Where can I find value a...
[ -0.00124359130859375, 0.007232666015625, -0.0157470703125, -0.00136566162109375, -0.01031494140625, 0.00750732421875, -0.007293701171875, 0.00408935546875, 0.0059814453125, 0.0135498046875, 0.006195068359375, 0.006988525390625, 0.010986328125, 0.0164794921875, 0.0142822265625, 0.003677...
[ 4002, 121979, 10644, 169463, 1238, 3949, 3742, 25072, 50986, 12349, 11935, 39989, 15744, 14, 33209, 102203, 20779, 568, 2982, 34292, 4288, 78426, 360, 33657, 375, 77087, 17368, 903, 110934, 28282, 1467, 4516, 149957, 831, 7413, 136, 76811, 46...
[ 0.09716796875, 0.226806640625, 0.2017822265625, 0.189697265625, 0.0206451416015625, 0.041046142578125, 0.103759765625, 0.119384765625, 0.17041015625, 0.1593017578125, 0.04827880859375, 0.1483154296875, 0.0251007080078125, 0.044189453125, 0.09033203125, 0.1224365234375, 0.106384277343...
embed
50537760_c2
50537760
fsharp
2
:string, AddPart, Suave.Http.HttpContext, Async, Port, Suave.Sockets.Port, System.Lazy, System.Collections.Generic.IDictionary, html:string, FSI_0003.FSharp.Charting, Chart, Line, data:Deedle.Series, FSharp.Charting.value, Name:string, Title:string, Labels, Color:System.Drawing.Color, XTitle:string, YTitle:string, FSha...
:string, AddPart, Suave.Http.HttpContext, Async, Port, Suave.Sockets.Port, System.Lazy, System.Collections.Generic.IDictionary, html:string, FSI_0003.FSharp.Charting, Chart, Line, data:Deedle.Series, FSharp.Charting.value, Name:string, Title:string, Labels, Color:System.Drawing.Color, XTitle:string, YTitle:string, FSha...
[ -0.015625, 0.0008392333984375, 0.008056640625, 0.010009765625, -0.006195068359375, -0.00408935546875, -0.0118408203125, -0.00634765625, 0.0198974609375, -0.001708984375, -0.022216796875, 0.00830078125, -0.0184326171875, -0.00823974609375, 0.0213623046875, 0.0133056640625, 0.004821777...
[ 152, 91693, 4, 29117, 58229, 45384, 272, 5, 3062, 11935, 22829, 12654, 238, 13791, 8912, 27853, 60006, 12353, 2729, 3285, 78457, 8996, 135932, 12259, 7146, 14, 10763, 7693, 12, 563, 9902, 9508, 363, 36381, 3467, 254, 84068, 1916, 110373, ...
[ 0.07830810546875, 0.2369384765625, 0.00860595703125, 0.151611328125, 0.2435302734375, 0.257568359375, 0.2607421875, 0.00189208984375, 0.099853515625, 0.0184783935546875, 0.203857421875, 0.1544189453125, 0.024658203125, 0.1678466796875, 0.0574951171875, 0.1661376953125, 0.153076171875...
embed
51482953_c0
51482953
fsharp
0
Title: How to create a list of objects from single object in object of IList Problem title: How to create a list of objects from single object in object of IList Tags: f%23 Problem: How to create a list of objects from single object in object of IList So assume that I have List<'a> and inside 'a there is 'b Something l...
How to create a list of objects from single object in object of IList How to create a list of objects from single object in object of IList f%23 single How IList List How to create a list of objects from single object in object of IList So assume that I have List<'a> and inside 'a there is 'b Something like this and I ...
[ 0.002471923828125, 0.004669189453125, -0.0012054443359375, 0.01220703125, -0.01708984375, 0.008544921875, -0.032958984375, 0.01141357421875, 0.0242919921875, -0.03125, 0.01373291015625, -0.0284423828125, 0.005523681640625, 0.01397705078125, -0.0012054443359375, -0.0279541015625, 0.00...
[ 11249, 47, 28282, 5303, 111, 36746, 7, 1295, 11001, 23, 87, 154663, 10, 1238, 3949, 3742, 32036, 41591, 11, 46132, 2685, 275, 903, 3444, 187694, 571, 563, 4904, 3917, 20594, 42822, 136, 34390, 15044, 30646, 10644, 284, 8560, 645, 42486, ...
[ 0.05718994140625, 0.0198974609375, 0.1710205078125, 0.212158203125, 0.0816650390625, 0.225830078125, 0.08197021484375, 0.1256103515625, 0.1898193359375, 0.074951171875, 0.1585693359375, 0.27001953125, 0.00823974609375, 0.081298828125, 0.0207672119140625, 0.1474609375, 0.1865234375, ...
embed
67123281_c1
67123281
fsharp
1
themeVars.[varName] else "[Undefined Variable: " + varName + "]" )) let loadTemplate templateName = if templateExists templateName then templateName |> getTemplateFilePath |> File.ReadAllText |> ParseVariables else "Missing Template: " + templateName + "" Code signals: Stop, app.UseRouting, UseEndpoints, endpoints.Map...
themeVars.[varName] else "[Undefined Variable: " + varName + "]" )) let loadTemplate templateName = if templateExists templateName then templateName |> getTemplateFilePath |> File.ReadAllText |> ParseVariables else "Missing Template: " + templateName + "" Code signals: Stop, app.UseRouting, UseEndpoints, endpoints.Map...
[ 0.015869140625, 0.031005859375, -0.00063323974609375, 0.01806640625, -0.01153564453125, 0.0146484375, 0.006378173828125, 0.00567626953125, 0.0179443359375, -0.0230712890625, 0.00848388671875, -0.00897216796875, 0.00579833984375, -0.01483154296875, 0.021728515625, 0.02294921875, -0.01...
[ 73986, 81827, 7, 1961, 163612, 37076, 1067, 5983, 297, 84572, 2886, 997, 285, 78960, 2633, 72367, 159065, 19309, 110934, 2203, 2174, 19279, 64370, 2046, 174350, 683, 10519, 42724, 31345, 43512, 174379, 2392, 184, 14, 19736, 135261, 214, 19663...
[ 0.2061767578125, 0.2305908203125, 0.06097412109375, 0.1729736328125, 0.1318359375, 0.0745849609375, 0.09564208984375, 0.17431640625, 0.071533203125, 0.1719970703125, 0.1168212890625, 0.094482421875, 0.1544189453125, 0.012359619140625, 0.05767822265625, 0.162109375, 0.1844482421875, ...
embed
78177727_c0
78177727
fsharp
0
Title: F# backgroundTask cause WPF UI freezing Problem title: F# backgroundTask cause WPF UI freezing Tags: wpf, f%23, asynchronous Problem: F# backgroundTask cause WPF UI freezing I have a WPF application (.NET 8) in C#. This application calls a function in a F# library, this F# function starts a task using the backgr...
F# backgroundTask cause WPF UI freezing F# backgroundTask cause WPF UI freezing wpf f%23 asynchronous WPF fun1 F# backgroundTask cause WPF UI freezing I have a WPF application (.NET 8) in C#. This application calls a function in a F# library, this F# function starts a task using the backgroundTask computation expressio...
[ -0.00119781494140625, 0.014404296875, 0.0024261474609375, -0.010986328125, -0.006439208984375, -0.0098876953125, 0.0118408203125, 0.000476837158203125, -0.000469207763671875, -0.050048828125, 0.0023193359375, 0.0174560546875, -0.00099945068359375, -0.0030517578125, 0.0194091796875, 0.0...
[ 563, 4904, 76615, 9874, 1042, 22304, 601, 41265, 111481, 4092, 35401, 39557, 3742, 12654, 101966, 7477, 38415, 17777, 65034, 11782, 32354, 35773, 4034, 66211, 17368, 181135, 125195, 64457, 18471, 41206, 127877, 84797, 86997, 52490, 226874, 195490...
[ 0.1270751953125, 0.205810546875, 0.221435546875, 0.2142333984375, 0.1707763671875, 0.086669921875, 0.08740234375, 0.2235107421875, 0.1724853515625, 0.1834716796875, 0.131103515625, 0.116455078125, 0.07208251953125, 0.0272064208984375, 0.08148193359375, 0.06494140625, 0.0946044921875,...
embed
20487659_c0
20487659
fsharp
0
Title: Testing a list of types with FsCheck Problem title: Testing a list of types with FsCheck Tags: fscheck, f%23 Problem: Testing a list of types with FsCheck I have a property that tests a type can be successfully round tripped to JSON and back. let roundTrip<'a when 'a : equality> (x: 'a) = (toJSON >> ofJSON) x = ...
Testing a list of types with FsCheck Testing a list of types with FsCheck fscheck f%23 Testing FsCheck Check.Quick TypeName Testing a list of types with FsCheck I have a property that tests a type can be successfully round tripped to JSON and back. which I currently run by calling What I would like is to be able to run...
[ -0.00469970703125, 0.00045013427734375, -0.007354736328125, 0.00830078125, -0.0289306640625, -0.0238037109375, 0.008056640625, 0.000591278076171875, 0.01495361328125, 0.006256103515625, -0.0007781982421875, 0.0142822265625, 0.004302978515625, -0.0057373046875, -0.000865936279296875, 0....
[ 8647, 5303, 52895, 678, 563, 7, 202567, 1238, 78292, 3742, 38679, 96010, 2594, 60457, 163612, 57266, 109921, 10644, 831, 65771, 68807, 1927, 48398, 47, 821, 58627, 136, 4420, 82424, 11675, 159029, 2806, 1884, 19048, 903, 645, 8305, 44961, 1...
[ 0.1900634765625, 0.15234375, 0.2149658203125, 0.07354736328125, 0.1470947265625, 0.11572265625, 0.31298828125, 0.113525390625, 0.28125, 0.093017578125, 0.2086181640625, 0.048583984375, 0.003814697265625, 0.1649169921875, 0.1387939453125, 0.16748046875, 0.177978515625, 0.19360351562...
embed
46236346_c0
46236346
fsharp
0
Title: how unbox object into actual object by name of class Problem title: how unbox object into actual object by name of class Tags: f%23-data, reflection, f%23 Problem: how unbox object into actual object by name of class I want do unboxing of object to its actual type by using name of actual object. type Employee = ...
how unbox object into actual object by name of class how unbox object into actual object by name of class f%23-data reflection f%23 Employee Id:int Name:string Name Mahi how unbox object into actual object by name of class I want do unboxing of object to its actual type by using name of actual object. I can do it when ...
[ 0.0118408203125, 0.0072021484375, 0.0115966796875, 0.02783203125, -0.00714111328125, 0.002471923828125, -0.0255126953125, 0.0081787109375, -0.005889892578125, 0.01312255859375, 0.00086212158203125, -0.01953125, 0.020751953125, 0.01043701171875, 0.00537109375, -0.013916015625, 0.00939...
[ 3642, 51, 11728, 36746, 3934, 8561, 390, 9351, 111, 18507, 1238, 27495, 10135, 44961, 1830, 3742, 31678, 365, 1033, 24799, 4288, 15757, 91693, 130698, 3444, 54, 214, 47, 6863, 10644, 17368, 831, 442, 11675, 6032, 1284, 765, 4734, 64, 1876...
[ 0.1112060546875, 0.1448974609375, 0.26513671875, 0.2249755859375, 0.167236328125, 0.2012939453125, 0.102294921875, 0.1463623046875, 0.109619140625, 0.21142578125, 0.036407470703125, 0.0841064453125, 0.074462890625, 0.1746826171875, 0.0748291015625, 0.071044921875, 0.019287109375, 0...
embed
26791605_c0
26791605
fsharp
0
Title: Action&lt;T,U&gt; and &#x27;T -&gt; &#x27;U -&gt; unit conversion Problem title: Action&lt;T,U&gt; and &#x27;T -&gt; &#x27;U -&gt; unit conversion Tags: f%23 Problem: Action and 'T -> 'U -> unit conversion In F#, when calling a C# method which takes a Action<T,U> as argument, I had thought I should use something...
Action&lt;T,U&gt; and &#x27;T -&gt; &#x27;U -&gt; unit conversion Action&lt;T,U&gt; and &#x27;T -&gt; &#x27;U -&gt; unit conversion f%23 Action Action and 'T -> 'U -> unit conversion In F#, when calling a C# method which takes a Action<T,U> as argument, I had thought I should use something like (fun (x, y) -> ()) . But...
[ -0.0186767578125, 0.0179443359375, 0.0037384033203125, -0.02734375, -0.01708984375, -0.00860595703125, -0.00775146484375, -0.01275634765625, 0.01092529296875, 0.01324462890625, -0.0062255859375, 0.01007080078125, 0.00628662109375, 0.000606536865234375, 0.01275634765625, -0.013671875, ...
[ 57945, 1277, 618, 4, 1062, 1230, 5386, 136, 3768, 25072, 142477, 1238, 3742, 33079, 563, 4904, 159029, 313, 55300, 51776, 237, 10750, 17569, 4527, 16498, 425, 113, 20653, 4734, 26946, 1022, 36770, 35782, 27992, 1884, 30388, 102329, 13, 9627...
[ 0.2265625, 0.0295562744140625, 0.1358642578125, 0.0557861328125, 0.17431640625, 0.009185791015625, 0.09320068359375, 0.06304931640625, 0.057861328125, 0.18994140625, 0.1729736328125, 0.0259857177734375, 0.084716796875, 0.06793212890625, 0.1048583984375, 0.1964111328125, 0.09259033203...
embed
60574556_c0
60574556
fsharp
0
Title: Import css or scss file into Fable/F# React Component? Problem title: Import css or scss file into Fable/F# React Component? Tags: f%23, fable-f%23, reactjs Problem: Import css or scss file into Fable/F# React Component? I'm using Webpack bundler and configured appropriate loaders for .fs, .scss, .css files. Now...
Import css or scss file into Fable/F# React Component? Import css or scss file into Fable/F# React Component? f%23 fable-f%23 reactjs Fable React Component Fable.React Fable.React.Props MyComponent.scss MyComponent Import css or scss file into Fable/F# React Component? I'm using Webpack bundler and configured appropria...
[ -0.0118408203125, -0.01373291015625, 0.003265380859375, -0.0024261474609375, -0.02392578125, -0.00482177734375, 0.007171630859375, 0.00628662109375, -0.00897216796875, -0.0233154296875, -0.01019287109375, 0.007537841796875, -0.0003185272216796875, 0.01434326171875, 0.0107421875, 0.0072...
[ 92966, 20763, 7, 707, 9023, 11435, 3934, 563, 2886, 64, 919, 4904, 853, 47013, 3288, 54137, 1238, 3742, 1071, 2661, 131300, 28175, 10752, 6423, 2646, 10770, 4439, 17368, 4002, 29102, 57134, 603, 222495, 72367, 17447, 102158, 3642, 24927, 20...
[ 0.2017822265625, 0.1666259765625, 0.1236572265625, 0.050140380859375, 0.10723876953125, 0.127685546875, 0.1456298828125, 0.131591796875, 0.165283203125, 0.04864501953125, 0.0435791015625, 0.141357421875, 0.0975341796875, 0.20947265625, 0.07708740234375, 0.16943359375, 0.0276336669921...
embed
27002504_c0
27002504
fsharp
0
Title: Generate two different randoms in F# Problem title: Generate two different randoms in F# Tags: f%23, random Problem: Generate two different randoms in F# I have a F# list and I'm taking two elements of that list. If the list has 10 elements in it : let rnd = new Random() let elem1 = list.Item(rnd.Next(0,9)) let ...
Generate two different randoms in F# Generate two different randoms in F# f%23 random Generate Random elem1 list.Item rnd.Next elem2 First Second Generate two different randoms in F# I have a F# list and I'm taking two elements of that list. If the list has 10 elements in it : There is a chance elem1 and elem2 are equa...
[ -0.007415771484375, -0.00445556640625, 0.020263671875, 0.0107421875, 0.00775146484375, 0.0162353515625, -0.0030517578125, -0.0059814453125, 0.0078125, -0.0155029296875, 0.0267333984375, 0.0216064453125, 0.0004520416259765625, 0.0029144287109375, 0.006256103515625, -0.008056640625, 0....
[ 155370, 67, 6626, 12921, 96759, 7, 23, 563, 4904, 1238, 3949, 3742, 39643, 306, 88, 195, 418, 5303, 2982, 2208, 81280, 304, 23972, 77648, 35971, 80854, 70, 1556, 209, 83, 10, 18227, 136, 105950, 67688, 4488, 54, 12960, 3444, 29479, 3235...
[ 0.1612548828125, 0.03887939453125, 0.1513671875, 0.1534423828125, 0.2310791015625, 0.08099365234375, 0.006805419921875, 0.1519775390625, 0.2008056640625, 0.103271484375, 0.030487060546875, 0.1654052734375, 0.1634521484375, 0.0999755859375, 0.058837890625, 0.14404296875, 0.05392456054...
embed
34655981_c1
34655981
fsharp
1
let add (numbers:string) = let add (numbers:string) (delimiter:string) = if (numbers.Contains(delimiter)) then numbers.Split(delimiter.Chars(0)) |> Array.map Int32.Parse |> Array.sum else 0 let resultX = numbers |> add "," |> add "\n" Implemented Feedback: let add (numbers:string) = let add (numbers:string) (delimiter...
let add (numbers:string) = let add (numbers:string) (delimiter:string) = if (numbers.Contains(delimiter)) then numbers.Split(delimiter.Chars(0)) |> Array.map Int32.Parse |> Array.sum else 0 let resultX = numbers |> add "," |> add "\n" Implemented Feedback: let add (numbers:string) = let add (numbers:string) (delimiter...
[ -0.0167236328125, 0.00106048583984375, -0.002197265625, 0.01068115234375, -0.0224609375, 0.01507568359375, 0.038818359375, -0.0002689361572265625, 0.01483154296875, -0.01263427734375, -0.00830078125, -0.0167236328125, -0.01519775390625, 0.0279541015625, 0.00390625, -0.005859375, 0.00...
[ 2633, 15190, 15, 2606, 1297, 12, 91693, 2203, 112, 93343, 56, 2174, 11935, 25500, 101935, 31923, 4353, 84068, 177609, 69253, 53, 62346, 18, 6460, 28636, 184, 11832, 37076, 757, 16750, 1542, 4, 19, 153941, 174633, 9254, 10298, 449, 1314, 8...
[ 0.20849609375, 0.23779296875, 0.03466796875, 0.171630859375, 0.1827392578125, 0.080078125, 0.2666015625, 0.04248046875, 0.1051025390625, 0.24560546875, 0.0758056640625, 0.12255859375, 0.039581298828125, 0.1868896484375, 0.2032470703125, 0.05596923828125, 0.1739501953125, 0.13891601...
embed
40385154_c0
40385154
fsharp
0
Title: F# Count how Many times a substring Contains within a string Problem title: F# Count how Many times a substring Contains within a string Tags: string, f%23, contains, count Problem: F# Count how Many times a substring Contains within a string How could one count how many times a substring exists within a string?...
F# Count how Many times a substring Contains within a string F# Count how Many times a substring Contains within a string string f%23 contains count Count Many Contains String.Contains String.forall F# Count how Many times a substring Contains within a string How could one count how many times a substring exists within...
[ -0.00127410888671875, 0.010009765625, -0.01318359375, 0.0179443359375, -0.0091552734375, 0.00927734375, 0.0184326171875, -0.015869140625, 0.0133056640625, -0.0157470703125, -0.0296630859375, -0.007415771484375, 0.005645751953125, 0.029052734375, 0.006561279296875, 0.00124359130859375, ...
[ 563, 4904, 108210, 3642, 52455, 20028, 1614, 91693, 34749, 5425, 28032, 79315, 1238, 3949, 3742, 70541, 54529, 23351, 214, 11935, 25500, 2472, 5584, 5809, 1632, 5941, 32316, 6626, 17262, 3249, 442, 3630, 8035, 13379, 138, 19048, 12447, 12765,...
[ 0.11962890625, 0.167724609375, 0.16943359375, 0.074462890625, 0.131103515625, 0.242431640625, 0.215087890625, 0.2489013671875, 0.166259765625, 0.0810546875, 0.1419677734375, 0.2200927734375, 0.0989990234375, 0.020782470703125, 0.155029296875, 0.153076171875, 0.2021484375, 0.171875,...
embed
70549690_c0
70549690
fsharp
0
Title: .Net Core connect to a Windows Printer Problem title: .Net Core connect to a Windows Printer Tags: f%23, .net Problem: .Net Core connect to a Windows Printer NET 6 and F#. Hardware interaction is a new field! I’m trying to connect to a printer that is installed on Windows and has a name “PRINTERNAME”. I was prev...
.Net Core connect to a Windows Printer .Net Core connect to a Windows Printer f%23 .net Net Core Windows Printer .Net Core connect to a Windows Printer NET 6 and F#. Hardware interaction is a new field! I’m trying to connect to a printer that is installed on Windows and has a name “PRINTERNAME”. I was previously using ...
[ -0.011962890625, 0.0016326904296875, 0.01275634765625, 0.03271484375, -0.0164794921875, -0.006439208984375, -0.01458740234375, -0.004974365234375, -0.0036773681640625, -0.01531982421875, 0.01495361328125, 0.007049560546875, 0.007537841796875, -0.004730224609375, -0.00201416015625, 0.00...
[ 5, 24447, 31365, 37067, 47, 10, 3773, 39754, 56, 1238, 3742, 1179, 10086, 17777, 305, 136, 563, 4904, 155227, 182809, 83, 44457, 38, 31577, 110264, 20600, 9351, 17255, 186096, 182512, 198395, 17368, 47302, 35773, 5809, 1294, 53418, 81887, 3...
[ 0.066650390625, 0.1922607421875, 0.26904296875, 0.205078125, 0.11865234375, 0.0760498046875, 0.1953125, 0.2203369140625, 0.1357421875, 0.034698486328125, 0.092529296875, 0.169189453125, 0.1634521484375, 0.1839599609375, 0.1324462890625, 0.0579833984375, 0.0745849609375, 0.153198242...
embed
16776430_c0
16776430
fsharp
0
Title: WebSharper: opaque type with equality checking for `===` Problem title: WebSharper: opaque type with equality checking for `===` Tags: f%23, websharper Problem: WebSharper: opaque type with equality checking for `===` I need a datatype that will be completely opaque in F# with equality defined in terms of JS ===...
WebSharper: opaque type with equality checking for `===` WebSharper: opaque type with equality checking for `===` f%23 websharper WebSharper Equals OpaqueType WebSharper: opaque type with equality checking for `===` I need a datatype that will be completely opaque in F# with equality defined in terms of JS === . WebSha...
[ -0.0164794921875, 0.027587890625, -0.002960205078125, -0.005218505859375, 0.02294921875, -0.00946044921875, 0.00897216796875, -0.00396728515625, 0.013671875, -0.0223388671875, 0.00579833984375, 0.01214599609375, 0.00015354156494140625, -0.007080078125, 0.0030364990234375, 0.01318359375...
[ 4002, 3467, 1264, 233, 11, 944, 10644, 678, 28, 161789, 175199, 1369, 69112, 12, 1238, 3742, 1467, 89280, 241, 71723, 2331, 196707, 100, 3871, 2053, 50986, 64557, 563, 4904, 61924, 64977, 182906, 23009, 416, 831, 4488, 26785, 80934, 995, ...
[ 0.095703125, 0.148193359375, 0.182373046875, 0.16845703125, 0.167724609375, 0.160400390625, 0.2054443359375, 0.03363037109375, 0.035888671875, 0.197021484375, 0.1851806640625, 0.051300048828125, 0.1998291015625, 0.008026123046875, 0.005645751953125, 0.060699462890625, 0.0494384765625...
embed
12607715_c0
12607715
fsharp
0
Title: Declare a function which accepts a tuple parameter with a generic type Problem title: Declare a function which accepts a tuple parameter with a generic type Tags: f%23, generics Problem: Declare a function which accepts a tuple parameter with a generic type Here is a code snippet which I have written: let Foo (a...
Declare a function which accepts a tuple parameter with a generic type Declare a function which accepts a tuple parameter with a generic type f%23 generics Declare Foo Bar FS0039 Declare a function which accepts a tuple parameter with a generic type Here is a code snippet which I have written: My intention was that Bar...
[ 0.0135498046875, 0.0150146484375, -0.0087890625, 0.00958251953125, 0.0172119140625, -0.0079345703125, -0.0040283203125, -0.011474609375, 0.0205078125, -0.002471923828125, -0.0023956298828125, 0.0019073486328125, -0.016357421875, 0.0255126953125, -0.0078125, 0.004302978515625, 0.00415...
[ 25755, 38103, 32354, 3129, 26946, 7, 370, 8705, 171859, 678, 189534, 10644, 1238, 3949, 3742, 9572, 31, 3253, 93774, 7049, 9323, 10, 18151, 58134, 91177, 5608, 47, 831, 27875, 99726, 12921, 52895, 1884, 91693, 661, 23, 18, 52347, 44084, 6...
[ 0.142822265625, 0.1685791015625, 0.22802734375, 0.052154541015625, 0.185546875, 0.04522705078125, 0.135498046875, 0.2237548828125, 0.211181640625, 0.0731201171875, 0.2303466796875, 0.180419921875, 0.058349609375, 0.000396728515625, 0.13427734375, 0.1600341796875, 0.0909423828125, 0...
embed
66752760_c0
66752760
fsharp
0
Title: Implement generic interface: construct causes code to be less generic than indicated by the type annotations Problem title: Implement generic interface: construct causes code to be less generic than indicated by the type annotations Tags: f%23 Problem: Implement generic interface: construct causes code to be les...
Implement generic interface: construct causes code to be less generic than indicated by the type annotations Implement generic interface: construct causes code to be less generic than indicated by the type annotations f%23 Implement IEvent Data Guid Version Sequence StreamId StreamKey DateTimeOffset Timestamp TenantId ...
[ -0.006378173828125, 0.009521484375, 0.005706787109375, -0.00286865234375, 0.01397705078125, -0.00775146484375, -0.01397705078125, 0.0098876953125, 0.0191650390625, 0.0225830078125, -0.00775146484375, -0.011962890625, 0.00177764892578125, 0.00732421875, -0.00335693359375, 0.011535644531...
[ 153941, 189534, 101758, 64549, 113660, 18151, 40715, 3501, 117414, 10644, 8668, 22062, 186, 1238, 3949, 3742, 87, 192134, 11809, 6955, 532, 40647, 115061, 162429, 70059, 150369, 5531, 1236, 60457, 36943, 196707, 84929, 24447, 163612, 219, 48398, ...
[ 0.2098388671875, 0.232421875, 0.2420654296875, 0.23486328125, 0.129150390625, 0.1668701171875, 0.17041015625, 0.02001953125, 0.1082763671875, 0.137451171875, 0.1134033203125, 0.047607421875, 0.0084228515625, 0.0098876953125, 0.0287933349609375, 0.11865234375, 0.097900390625, 0.2203...
embed
17657445_c0
17657445
fsharp
0
Title: Pass `out` parameter (as reference) in F# Problem title: Pass `out` parameter (as reference) in F# Tags: reference, functional-programming, f%23, .net Problem: Pass `out` parameter (as reference) in F# I want to call System.Uri.TryCreate() : let uriResult: System.Uri = ref (* what's here? *); System.Uri.TryCreat...
Pass `out` parameter (as reference) in F# Pass `out` parameter (as reference) in F# reference functional-programming f%23 .net Pass System.Uri.TryCreate System.Uri UriKind.Absolute Pass `out` parameter (as reference) in F# I want to call System.Uri.TryCreate() : As I've learned here , one has to pass a F# reference for...
[ 0.01177978515625, 0.0179443359375, 0.025146484375, 0.0023193359375, 0.001708984375, -0.01531982421875, -0.00445556640625, -0.01190185546875, 0.008544921875, 0.0024261474609375, 0.0230712890625, -0.00634765625, -0.0019989013671875, 0.0289306640625, 0.006683349609375, -0.00592041015625, ...
[ 28872, 6056, 171859, 162, 91067, 23, 563, 4904, 9473, 123309, 28966, 1238, 3742, 1179, 12353, 1062, 416, 618, 1294, 63784, 2182, 130885, 605, 7250, 98685, 3444, 11782, 132, 1556, 27875, 5, 17777, 1810, 3642, 831, 61475, 20650, 39074, 4332, ...
[ 0.185302734375, 0.281494140625, 0.269287109375, 0.13623046875, 0.275634765625, 0.0623779296875, 0.16748046875, 0.229736328125, 0.001617431640625, 0.1517333984375, 0.08697509765625, 0.046722412109375, 0.08184814453125, 0.1263427734375, 0.1346435546875, 0.1219482421875, 0.207275390625,...
embed
4487633_c0
4487633
fsharp
0
Title: F# Excel - error on new ApplicationClass Problem title: F# Excel - error on new ApplicationClass Tags: excel, f%23 Problem: F# Excel - error on new ApplicationClass When I do just type RExcel() = let xlApp = new ApplicationClass() I've got this Error : Retrieving the COM class factory for component with CLSID {0...
F# Excel - error on new ApplicationClass F# Excel - error on new ApplicationClass excel f%23 Excel ApplicationClass RExcel F# Excel - error on new ApplicationClass When I do just I've got this Error : So maybe I can realize Excel read/write functions some another way. Added : installed OpenOffice... Version of assemble...
[ 0.01043701171875, 0.01336669921875, 0.00012683868408203125, 0.00946044921875, 0.000934600830078125, 0.0091552734375, 0.0054931640625, -0.014892578125, 0.01495361328125, -0.0103759765625, 0.005096435546875, -0.00640869140625, 0.00701904296875, -0.000009179115295410156, 0.01171875, -0.03...
[ 563, 4904, 30326, 20, 18499, 98, 3525, 104921, 140803, 64152, 1238, 3949, 3742, 627, 184926, 14847, 87, 1660, 272, 903, 212059, 152, 51139, 831, 92154, 12301, 64, 18781, 32354, 7, 15700, 69819, 20600, 13527, 94833, 27, 40647, 93457, 42, 8...
[ 0.1116943359375, 0.1875, 0.219970703125, 0.05255126953125, 0.185546875, 0.10986328125, 0.15478515625, 0.188720703125, 0.2333984375, 0.177490234375, 0.0977783203125, 0.0638427734375, 0.15283203125, 0.0797119140625, 0.21240234375, 0.0255584716796875, 0.0072021484375, 0.00033569335937...
embed
26755828_c0
26755828
fsharp
0
Title: Disjunctive Normal Form Formula Problem title: Disjunctive Normal Form Formula Tags: declaration, f%23, formula, set Problem: Disjunctive Normal Form Formula Im about to use a set-based representation of formulas in disjunctive normal form. And I've found out that since conjunction is commutative, associative an...
Disjunctive Normal Form Formula Disjunctive Normal Form Formula declaration f%23 formula set Disjunctive Normal Form Formula bc1 Disjunctive Normal Form Formula Im about to use a set-based representation of formulas in disjunctive normal form. And I've found out that since conjunction is commutative, associative and (a...
[ 0.022216796875, -0.0031890869140625, -0.0225830078125, 0.01708984375, -0.0125732421875, -0.00506591796875, 0.00897216796875, 0.010986328125, -0.005706787109375, -0.01422119140625, -0.01361083984375, 0.0078125, 0.01153564453125, -0.006591796875, -0.00531005859375, 0.007293701171875, 0...
[ 6206, 461, 8766, 4935, 28723, 15236, 72791, 21635, 1238, 3949, 3742, 26168, 5423, 65037, 418, 3370, 1672, 4527, 77007, 18811, 111, 2837, 3638, 3173, 158, 17043, 10763, 83, 375, 68754, 166027, 11, 248144, 10, 183234, 142267, 33636, 62822, 15...
[ 0.08984375, 0.1541748046875, 0.093994140625, 0.07904052734375, 0.17626953125, 0.1708984375, 0.2027587890625, 0.19482421875, 0.076171875, 0.09423828125, 0.1656494140625, 0.2064208984375, 0.1812744140625, 0.140869140625, 0.09637451171875, 0.0208587646484375, 0.0143890380859375, 0.009...
embed
35663078_c0
35663078
fsharp
0
Title: F# Expected type List but here has type [] Problem title: F# Expected type List but here has type [] Tags: f%23, dictionary, asynchronous Problem: F# Expected type List but here has type [] I am running my data through this: myData |> List.map(myAsyncMethod) |> Async.Parallel |> Async.RunSynchronously myData is:...
F# Expected type List but here has type [] F# Expected type List but here has type [] f%23 dictionary asynchronous Expected List List.map Async.Parallel Async.RunSynchronously MyDataType F# Expected type List but here has type [] I am running my data through this: myData is: MyDataType list and that is what I am expect...
[ 0.00946044921875, 0.004241943359375, -0.002532958984375, -0.0016937255859375, -0.00677490234375, 0.01220703125, -0.005645751953125, 0.00360107421875, -0.0002841949462890625, -0.0142822265625, 0.0013580322265625, -0.006927490234375, 0.00015544891357421875, -0.01385498046875, 0.01385498046...
[ 563, 4904, 60075, 13, 89829, 10644, 32036, 1284, 3688, 1556, 378, 1238, 3949, 3742, 10763, 12654, 101966, 62346, 5, 1229, 62, 163321, 217835, 127, 1900, 2646, 137989, 196707, 51042, 2053, 8305, 903, 759, 5303, 136, 41206, 4420, 64457, 87, ...
[ 0.125732421875, 0.1759033203125, 0.1473388671875, 0.161376953125, 0.1097412109375, 0.2431640625, 0.185791015625, 0.1058349609375, 0.2017822265625, 0.0948486328125, 0.085205078125, 0.0850830078125, 0.0152435302734375, 0.1302490234375, 0.072509765625, 0.0897216796875, 0.1041259765625, ...
embed
20590323_c0
20590323
fsharp
0
Title: update a FSharpMap in a while loop Problem title: update a FSharpMap in a while loop Tags: local, f%23, dictionary, mutable Problem: update a FSharpMap in a while loop [<EntryPoint>] let main argv = let linshi1 = [|1,2|] let linshi2 = Array.append linshi1 [|2,3|] let map1 = Map.ofArray linshi2 let mutable it = 1...
update a FSharpMap in a while loop update a FSharpMap in a while loop local f%23 dictionary mutable FSharpMap EntryPoint linshi1 linshi2 Array.append map1 Map.ofArray map2 map1.Add update a FSharpMap in a while loop this is my test code. I am trying to update the "map1" in the while loop but the result shows that I fai...
[ -0.0018310546875, 0.0125732421875, 0.0036773681640625, -0.00592041015625, -0.00567626953125, -0.01611328125, -0.0020294189453125, 0.0125732421875, 0.0081787109375, -0.01019287109375, 0.0216064453125, 0.0380859375, 0.000560760498046875, 0.006866455078125, 0.050048828125, -0.005401611328...
[ 28350, 10, 93774, 3467, 254, 166179, 23, 12960, 40956, 4000, 1238, 3949, 3742, 45, 10763, 842, 22819, 357, 15123, 147534, 11508, 3767, 418, 304, 69253, 53, 9007, 3611, 22288, 42719, 4390, 7092, 4028, 3034, 18151, 31577, 62346, 16750, 165523...
[ 0.2049560546875, 0.06439208984375, 0.0986328125, 0.182373046875, 0.173095703125, 0.264404296875, 0.0589599609375, 0.21240234375, 0.2020263671875, 0.0955810546875, 0.0784912109375, 0.0180511474609375, 0.1357421875, 0.030242919921875, 0.0919189453125, 0.0660400390625, 0.0953369140625, ...
embed
52916264_c0
52916264
fsharp
0
Title: i want to write a function that rewrite a float to continued fraction Problem title: i want to write a function that rewrite a float to continued fraction Tags: error-handling, f%23 Problem: i want to write a function that rewrite a float to continued fraction i am trying to make a recursive function, that can r...
i want to write a function that rewrite a float to continued fraction i want to write a function that rewrite a float to continued fraction error-handling f%23 float2cfrac i want to write a function that rewrite a float to continued fraction i am trying to make a recursive function, that can rewrite a float to an conti...
[ -0.0157470703125, 0.006256103515625, -0.00543212890625, -0.0019683837890625, 0.0234375, 0.004791259765625, -0.001678466796875, -0.006591796875, 0.0189208984375, 0.00457763671875, -0.03271484375, -0.000873565673828125, 0.0033721923828125, 0.001495361328125, 0.0184326171875, -0.009277343...
[ 17, 3444, 33022, 32354, 456, 434, 18781, 21917, 257, 47, 136475, 175921, 450, 18499, 54885, 1238, 3949, 3742, 304, 238, 132076, 31577, 195625, 5844, 831, 142, 115288, 23023, 13319, 28219, 37202, 18, 132096, 24233, 101935, 2394, 6635, 3642, ...
[ 0.02996826171875, 0.0938720703125, 0.1195068359375, 0.1842041015625, 0.110595703125, 0.10369873046875, 0.1192626953125, 0.1884765625, 0.114501953125, 0.1158447265625, 0.2049560546875, 0.257080078125, 0.002471923828125, 0.183349609375, 0.146240234375, 0.082275390625, 0.049835205078125...
embed
45570750_c2
45570750
fsharp
2
utex.h:120, _wapi_handle_timedwait_signal_handle, handles.c:1554, wapi_WaitForSingleObjectEx, wait.c:173, ves_icall_System_Threading_Monitor_Monitor_wait, monitor.c:1294, System.Threading.Monitor:Wait, mono-4.3.2, System.Threading, Monitor.cs:148, System.Threading.ManualResetEventSlim:Wait, ManualResetEventSlim.cs:669,...
utex.h:120, _wapi_handle_timedwait_signal_handle, handles.c:1554, wapi_WaitForSingleObjectEx, wait.c:173, ves_icall_System_Threading_Monitor_Monitor_wait, monitor.c:1294, System.Threading.Monitor:Wait, mono-4.3.2, System.Threading, Monitor.cs:148, System.Threading.ManualResetEventSlim:Wait, ManualResetEventSlim.cs:669,...
[ 0.0019683837890625, 0.0078125, 0.000476837158203125, -0.004730224609375, 0.0010528564453125, -0.017822265625, -0.01043701171875, -0.005126953125, -0.00506591796875, -0.0303955078125, 0.00823974609375, 0.0294189453125, 0.00933837890625, -0.0091552734375, -0.0018310546875, -0.00830078125...
[ 486, 3355, 127, 20840, 634, 1434, 79628, 6032, 63475, 217, 165992, 34831, 7, 5, 238, 12221, 12338, 129143, 22489, 18537, 213039, 46471, 75161, 19279, 40485, 160248, 53678, 14, 85763, 84293, 39116, 214, 46674, 26111, 12983, 20927, 14889, 4, ...
[ 0.164794921875, 0.2196044921875, 0.070556640625, 0.1854248046875, 0.1519775390625, 0.1580810546875, 0.1741943359375, 0.1409912109375, 0.134765625, 0.1644287109375, 0.1883544921875, 0.1881103515625, 0.08544921875, 0.066650390625, 0.0197296142578125, 0.052978515625, 0.1263427734375, ...
embed
3126132_c0
3126132
fsharp
0
Title: Serializing data types for use over a network in F# Problem title: Serializing data types for use over a network in F# Tags: serialization, f%23 Problem: Serializing data types for use over a network in F# I want to send a a Uint16 over the network. I've had a look at the different .NET serializers available. Ac...
Serializing data types for use over a network in F# Serializing data types for use over a network in F# serialization f%23 Serializing Serializing data types for use over a network in F# I want to send a a Uint16 over the network. I've had a look at the different .NET serializers available. According to this F# Seriali...
[ 0.01544189453125, 0.003753662109375, 0.00445556640625, -0.00469970703125, -0.02294921875, -0.0289306640625, -0.0096435546875, 0.002349853515625, 0.0047607421875, -0.00128173828125, 0.029541015625, -0.023681640625, 0.0002899169921875, 0.0028228759765625, -0.0057373046875, 0.003814697265...
[ 135188, 84382, 2053, 52895, 100, 4527, 645, 33120, 23, 563, 4904, 35686, 47691, 1238, 3742, 3444, 25379, 345, 4288, 2485, 99, 70, 12921, 17777, 52825, 19882, 20650, 6206, 135421, 32528, 15400, 221, 5941, 390, 1636, 17368, 54092, 1294, 10297...
[ 0.23828125, 0.116943359375, 0.140625, 0.2249755859375, 0.05511474609375, 0.1148681640625, 0.1141357421875, 0.1451416015625, 0.0506591796875, 0.1300048828125, 0.229736328125, 0.1942138671875, 0.0762939453125, 0.0144195556640625, 0.079833984375, 0.047027587890625, 0.100830078125, 0.0...
embed
60286604_c0
60286604
fsharp
0
Title: lists&#x27; recursive dividing F# Problem title: lists&#x27; recursive dividing F# Tags: f%23 Problem: lists' recursive dividing F# it seems, I need help with my recursive function, it not applied. I have an example, but I don't understand what I must to do. where is my mistake? I will be glad to any help! my fu...
lists&#x27; recursive dividing F# lists&#x27; recursive dividing F# f%23 lists' recursive dividing F# it seems, I need help with my recursive function, it not applied. I have an example, but I don't understand what I must to do. where is my mistake? I will be glad to any help! my function: example:
[ -0.01116943359375, 0.0086669921875, -0.004150390625, -0.0028076171875, -0.0036163330078125, 0.020751953125, -0.005859375, -0.0024261474609375, 0.01239013671875, -0.0166015625, 0.0279541015625, -0.00360107421875, -0.0037689208984375, 0.023193359375, 0.0263671875, 0.00170135498046875, ...
[ 5303, 7, 3768, 195625, 5844, 61998, 449, 563, 4904, 1238, 3742, 37202, 3871, 4358, 759, 32354, 442, 959, 190659, 27781, 28219, 8110, 7440, 121742, 9525 ]
[ 0.182373046875, 0.0194854736328125, 0.071533203125, 0.2139892578125, 0.13232421875, 0.1702880859375, 0.049896240234375, 0.08447265625, 0.166259765625, 0.040130615234375, 0.056488037109375, 0.03338623046875, 0.04278564453125, 0.09967041015625, 0.0170440673828125, 0.166259765625, 0.060...
embed
13046188_c0
13046188
fsharp
0
Title: In F#, how do you handle (float seq) and { ts : DateTime; value: float } in a generic manner? Problem title: In F#, how do you handle (float seq) and { ts : DateTime; value: float } in a generic manner? Tags: f%23, coding-style Problem: In F#, how do you handle (float seq) and { ts : DateTime; value: float } in ...
In F#, how do you handle (float seq) and { ts : DateTime; value: float } in a generic manner? In F#, how do you handle (float seq) and { ts : DateTime; value: float } in a generic manner? f%23 coding-style DateTime In F#, how do you handle (float seq) and { ts : DateTime; value: float } in a generic manner? What is the...
[ 0.0157470703125, 0.00081634521484375, -0.0006866455078125, -0.00164031982421875, 0.0164794921875, -0.03662109375, -0.01263427734375, 0.005157470703125, -0.01080322265625, -0.018798828125, 0.005157470703125, 0.0211181640625, -0.00567626953125, 0.005523681640625, -0.0025482177734375, 0.0...
[ 563, 4904, 3642, 34831, 52347, 257, 40, 864, 136, 61636, 25512, 70059, 34292, 21917, 189534, 144996, 1238, 3742, 552, 6238, 40946, 74, 2965, 3917, 33022, 32354, 302, 9393, 20028, 2537, 20051, 36549, 10644, 142424, 35839, 242122, 83080, 21690,...
[ 0.1190185546875, 0.2149658203125, 0.03363037109375, 0.16943359375, 0.162353515625, 0.0977783203125, 0.1224365234375, 0.204833984375, 0.07489013671875, 0.162353515625, 0.1043701171875, 0.217529296875, 0.208984375, 0.1767578125, 0.1678466796875, 0.059661865234375, 0.050262451171875, ...
embed
30590473_c0
30590473
fsharp
0
Title: How to print formatted date in F# Problem title: How to print formatted date in F# Tags: f%23, .net Problem: How to print formatted date in F# I have this date in F# let myDate = new DateTime(2015, 06, 02) And want to output it like "2015/06/02" in the console window. I tried: Console.WriteLine(sprintf "%s" myDa...
How to print formatted date in F# How to print formatted date in F# f%23 .net How DateTime Console.WriteLine myDate.ToString How to print formatted date in F# I have this date in F# And want to output it like "2015/06/02" in the console window. I tried: But this does not compile (compiler says, " Successive arguments s...
[ -0.01171875, -0.004608154296875, 0.006195068359375, 0.026611328125, -0.01171875, 0.00311279296875, 0.013916015625, 0.00408935546875, 0.000591278076171875, 0.00787353515625, 0.01312255859375, -0.005279541015625, -0.00194549560546875, -0.0113525390625, 0.0108642578125, -0.00775146484375,...
[ 11249, 47, 28412, 9384, 3674, 5622, 23, 563, 4904, 1238, 3949, 3742, 1179, 25512, 70059, 1657, 40777, 18781, 93232, 759, 86291, 7763, 71713, 214, 3444, 140992, 1884, 5357, 34340, 97564, 130250, 76896, 37842, 959, 9969, 1340, 58875, 34759, 1...
[ 0.057830810546875, 0.045623779296875, 0.22900390625, 0.22509765625, 0.1593017578125, 0.223388671875, 0.08233642578125, 0.1671142578125, 0.229736328125, 0.120849609375, 0.0406494140625, 0.13525390625, 0.121826171875, 0.1405029296875, 0.1456298828125, 0.011627197265625, 0.126953125, ...
embed
15815934_c2
15815934
fsharp
2
[MED PAY], [TOT PREMIUM], [HURR DED], ZONE, SUBZONE, [%%CRC], [%%CRD], [YR BLT], RENYRS, [%%CFD], [%%HA], [%%MLD], GRP1, [%%NH], QCLM, Code signals: Access, OleDb, Syntax, Error, INSERT, INTO, Statement, Pulling, Data, Linked, SQL, Server, dbo_TempTerm, UnitID, PolicyTermYear, InsuredName, PolicyNumber, RenewalDate, C...
[MED PAY], [TOT PREMIUM], [HURR DED], ZONE, SUBZONE, [%%CRC], [%%CRD], [YR BLT], RENYRS, [%%CFD], [%%HA], [%%MLD], GRP1, [%%NH], QCLM, Code signals: Access, OleDb, Syntax, Error, INSERT, INTO, Statement, Pulling, Data, Linked, SQL, Server, dbo_TempTerm, UnitID, PolicyTermYear, InsuredName, PolicyNumber, RenewalDate, C...
[ 0.0277099609375, 0.0208740234375, 0.0002613067626953125, 0.0311279296875, -0.0009918212890625, -0.0118408203125, -0.0027008056640625, 0.006805419921875, 0.015869140625, 0.0033721923828125, -0.003692626953125, -0.0076904296875, 0.01458740234375, -0.01806640625, -0.00860595703125, 0.0021...
[ 378, 104126, 11107, 1723, 4, 8727, 618, 152438, 11893, 133515, 1052, 1514, 397, 567, 31261, 111231, 1511, 3949, 441, 22578, 85054, 27026, 9069, 25182, 15396, 84683, 11487, 39456, 38796, 418, 27190, 2396, 37150, 28864, 26073, 12, 40266, 31031,...
[ 0.00469970703125, 0.2166748046875, 0.22412109375, 0.1959228515625, 0.011749267578125, 0.0787353515625, 0.0858154296875, 0.1920166015625, 0.1219482421875, 0.112548828125, 0.0972900390625, 0.1669921875, 0.1392822265625, 0.09893798828125, 0.150390625, 0.142578125, 0.09478759765625, 0....
embed
38409548_c0
38409548
fsharp
0
Title: F# function conciseness when generating random numbers Problem title: F# function conciseness when generating random numbers Tags: f%23, function, random Problem: F# function conciseness when generating random numbers Is there a reason why one writes the line: (fun max -> rndGen.Next(max)) https://github.com/seb...
F# function conciseness when generating random numbers F# function conciseness when generating random numbers f%23 function random rndGen.Next NextRandom System.Random System.DateTime.Now.Ticks F# function conciseness when generating random numbers Is there a reason why one writes the line: https://github.com/sebfia/Of...
[ -0.00136566162109375, -0.00946044921875, 0.0283203125, -0.004302978515625, 0.007568359375, 0.0010528564453125, 0.00604248046875, -0.0238037109375, -0.0089111328125, -0.054443359375, -0.004547119140625, 0.0196533203125, -0.0230712890625, -0.007049560546875, 0.0498046875, -0.0107421875, ...
[ 563, 4904, 32354, 158, 318, 184, 7432, 3229, 12663, 96759, 101935, 1916, 1238, 3742, 2208, 105376, 81280, 4997, 126525, 3815, 12353, 70059, 137594, 16734, 22824, 31635, 15400, 33022, 13315, 15769, 32102, 27359, 32041, 150369, 113972, 12986, 473...
[ 0.1624755859375, 0.260009765625, 0.18408203125, 0.1217041015625, 0.216064453125, 0.150146484375, 0.0728759765625, 0.02459716796875, 0.1409912109375, 0.155517578125, 0.127197265625, 0.00390625, 0.0877685546875, 0.12744140625, 0.07073974609375, 0.181884765625, 0.183837890625, 0.09863...
embed
11063962_c0
11063962
fsharp
0
Title: Create a byte array with dynamic size in F# Problem title: Create a byte array with dynamic size in F# Tags: f%23, .net, arrays Problem: Create a byte array with dynamic size in F# In C# and Java a byte array can be created like this byte[] b = new byte[x]; where x denotes the size of the array. What I want to d...
Create a byte array with dynamic size in F# Create a byte array with dynamic size in F# f%23 .net arrays Create Array.create Byte Create a byte array with dynamic size in F# In C# and Java a byte array can be created like this where x denotes the size of the array. What I want to do is to do the same thing in F#. I hav...
[ 0.016357421875, 0.00787353515625, 0.01214599609375, 0.028076171875, -0.0033416748046875, -0.01214599609375, -0.0030670166015625, 0.01116943359375, 0.01214599609375, 0.0235595703125, 0.0054931640625, -0.021240234375, -0.008056640625, -0.0140380859375, -0.0032958984375, -0.025146484375, ...
[ 151313, 390, 67, 10298, 53, 678, 84079, 13267, 563, 4904, 1238, 3742, 1179, 69253, 7612, 2182, 3311, 23, 313, 136, 41925, 831, 75935, 1884, 903, 1022, 8, 157, 54, 5701, 3642, 209806, 87, 44691, 33938, 69407, 5, 11814, 15700, 3917, 1286,...
[ 0.1610107421875, 0.1444091796875, 0.117919921875, 0.2034912109375, 0.1719970703125, 0.04461669921875, 0.23876953125, 0.1788330078125, 0.144287109375, 0.1976318359375, 0.061370849609375, 0.101318359375, 0.12353515625, 0.1888427734375, 0.1888427734375, 0.1309814453125, 0.1475830078125,...
embed
35188597_c0
35188597
fsharp
0
Title: compiling issue with atom and f# Problem title: compiling issue with atom and f# Tags: compiler-errors, compilation, f%23-3.0, f%23-interactive, f%23 Problem: compiling issue with atom and f# hey guys I'm trying to compile this function called 2v2 that multiplies any number times 2. I'm doing it using Atom with ...
compiling issue with atom and f# compiling issue with atom and f# compiler-errors compilation f%23-3.0 f%23-interactive f%23 4 FS1156 Sample compiling issue with atom and f# hey guys I'm trying to compile this function called 2v2 that multiplies any number times 2. I'm doing it using Atom with ionide but when i run it ...
[ -0.0093994140625, 0.005767822265625, -0.0001983642578125, 0.01495361328125, 0.0224609375, 0.01904296875, -0.000553131103515625, 0.0123291015625, -0.0225830078125, -0.0167236328125, -0.00897216796875, -0.01226806640625, 0.018798828125, 0.00787353515625, 0.01190185546875, 0.0048828125, ...
[ 9969, 49725, 31089, 678, 34627, 136, 1238, 4904, 34759, 188800, 98352, 27495, 132265, 10433, 71232, 3742, 201, 93774, 1662, 13683, 33209, 28192, 51484, 31577, 1340, 903, 32354, 116, 334, 304, 118126, 90, 2499, 14012, 20028, 787, 17368, 69728,...
[ 0.1669921875, 0.129150390625, 0.1282958984375, 0.1082763671875, 0.2073974609375, 0.121337890625, 0.130859375, 0.1802978515625, 0.1328125, 0.136474609375, 0.1734619140625, 0.062164306640625, 0.09930419921875, 0.08203125, 0.09130859375, 0.0863037109375, 0.039093017578125, 0.096862792...
embed
45626196_c0
45626196
fsharp
0
Title: Defining a non zero integer type in F# Problem title: Defining a non zero integer type in F# Tags: f%23, integer, types, subdomain Problem: Defining a non zero integer type in F# How I can define a non zero integer in F# that rise a compile time error when assigning zero value? My question comes by watching this...
Defining a non zero integer type in F# Defining a non zero integer type in F# f%23 integer types subdomain Defining NonZeroInteger Defining a non zero integer type in F# How I can define a non zero integer in F# that rise a compile time error when assigning zero value? My question comes by watching this Scott Wlaschin ...
[ -0.03125, -0.00531005859375, -0.002044677734375, -0.000240325927734375, 0.01214599609375, -0.0023040771484375, 0.0033416748046875, -0.001800537109375, -0.020263671875, 0.004058837890625, 0.0064697265625, 0.018310546875, -0.0111083984375, 0.0027618408203125, 0.01361083984375, 0.01098632...
[ 88606, 449, 351, 45234, 892, 1505, 10644, 23, 563, 4904, 1238, 3742, 52895, 1614, 56206, 3775, 1511, 4036, 4153, 67, 831, 61924, 450, 58944, 9969, 1340, 1733, 18499, 95486, 34292, 100244, 50695, 2512, 66624, 1202, 55418, 15969, 15005, 84079...
[ 0.1617431640625, 0.0184783935546875, 0.235595703125, 0.2196044921875, 0.1275634765625, 0.1390380859375, 0.20263671875, 0.0657958984375, 0.129638671875, 0.195556640625, 0.071533203125, 0.0908203125, 0.1422119140625, 0.05291748046875, 0.06201171875, 0.205322265625, 0.1187744140625, 0...
embed
37833313_c1
37833313
fsharp
1
qlServer.getDbType, Int32, FSharp.Data.Sql.Providers.MSSqlServer, GenerateNext, IEnumerable, Microsoft.FSharp.Core.CompilerServices.GeneratedSequenceBase, MoveNextImpl, System-Collections-IEnumerator-MoveNext, Microsoft.FSharp.Collections.SeqModule.ToList, FSharp.Data.Sql.Providers.MSSqlServer.createTypeMappings, IDbCo...
qlServer.getDbType, Int32, FSharp.Data.Sql.Providers.MSSqlServer, GenerateNext, IEnumerable, Microsoft.FSharp.Core.CompilerServices.GeneratedSequenceBase, MoveNextImpl, System-Collections-IEnumerator-MoveNext, Microsoft.FSharp.Collections.SeqModule.ToList, FSharp.Data.Sql.Providers.MSSqlServer.createTypeMappings, IDbCo...
[ 0.0263671875, 0.02197265625, -0.01275634765625, 0.01611328125, -0.00616455078125, -0.0019989013671875, -0.014404296875, 0.00135040283203125, 0.0029449462890625, -0.016357421875, -0.01416015625, 0.01507568359375, 0.014892578125, -0.0164794921875, 0.000637054443359375, 0.0033416748046875...
[ 99247, 193348, 5, 3794, 397, 275, 196707, 360, 18, 6460, 4, 93774, 3467, 254, 137989, 177997, 14, 14202, 13439, 294, 155370, 67, 81280, 75536, 2606, 2886, 7244, 36381, 50886, 108161, 121979, 135932, 2175, 944, 63473, 135828, 128878, 141, 12...
[ 0.20947265625, 0.2484130859375, 0.024810791015625, 0.112060546875, 0.048675537109375, 0.1156005859375, 0.3046875, 0.0200042724609375, 0.046630859375, 0.1920166015625, 0.018768310546875, 0.10418701171875, 0.184814453125, 0.1988525390625, 0.0859375, 0.1666259765625, 0.08380126953125, ...
embed
60363652_c1
60363652
fsharp
1
.0. Reference the package directly from the project to select a different version. ElbBazarApiComponentTest -> FSharp.Data.SqlClient 2.0.6 -> System.Data.SqlClient (>= 4.5.1) ElbBazarApiComponentTest -> System.Data.SqlClient (>= 4.4.0) ElbBazarApiComponentTest F:\ElbBazar\ElbBazarApi\ElbBazarApiComponentTest\ElbBazarAp...
.0. Reference the package directly from the project to select a different version. ElbBazarApiComponentTest -> FSharp.Data.SqlClient 2.0.6 -> System.Data.SqlClient (>= 4.5.1) ElbBazarApiComponentTest -> System.Data.SqlClient (>= 4.4.0) ElbBazarApiComponentTest F:\ElbBazar\ElbBazarApi\ElbBazarApiComponentTest\ElbBazarAp...
[ 0.0050048828125, 0.0147705078125, 0.0198974609375, -0.0072021484375, 0.0107421875, 0.0091552734375, -0.015625, 0.0084228515625, 0.00823974609375, 0.015625, 0.0068359375, -0.006866455078125, -0.0029296875, 0.0098876953125, 0.005645751953125, 0.004486083984375, 0.0120849609375, 0.005...
[ 5, 2389, 215996, 98169, 105237, 1295, 13452, 47, 36849, 10, 12921, 11389, 540, 275, 8023, 6383, 1434, 10770, 54137, 111337, 93774, 3467, 254, 137989, 99247, 150, 2517, 787, 122887, 12353, 60061, 17727, 284, 1398, 151152, 563, 7623, 17447, 3...
[ 0.06915283203125, 0.161865234375, 0.2215576171875, 0.2364501953125, 0.1102294921875, 0.05108642578125, 0.1485595703125, 0.057220458984375, 0.17626953125, 0.0210113525390625, 0.171630859375, 0.2242431640625, 0.1197509765625, 0.117431640625, 0.039642333984375, 0.1256103515625, 0.151611...
embed
13959949_c0
13959949
fsharp
0
Title: Compiling F# code on Ubuntu 12.04 using Monodevelop Problem title: Compiling F# code on Ubuntu 12.04 using Monodevelop Tags: f%23, monodevelop, mono, ubuntu, .net Problem: Compiling F# code on Ubuntu 12.04 using Monodevelop I followed the instructions here for installing Monodevelop with F# support on Ubuntu, ho...
Compiling F# code on Ubuntu 12.04 using Monodevelop Compiling F# code on Ubuntu 12.04 using Monodevelop f%23 monodevelop mono ubuntu .net Monodevelop Compiling Ubuntu Compiling F# code on Ubuntu 12.04 using Monodevelop I followed the instructions here for installing Monodevelop with F# support on Ubuntu, however when I...
[ -0.0223388671875, 0.019775390625, 0.0036163330078125, -0.0030975341796875, -0.008544921875, 0.0107421875, 0.0118408203125, -0.0101318359375, -0.012939453125, -0.000957489013671875, -0.0020751953125, -0.0380859375, 0.0228271484375, 0.017578125, 0.007049560546875, -0.0057373046875, 0.0...
[ 15612, 49725, 563, 4904, 18151, 98, 116890, 5035, 7709, 17368, 77879, 229815, 1238, 3949, 3742, 22460, 198996, 1179, 167934, 20600, 678, 8060, 9803, 9790, 9969, 1340, 8781, 1528, 26008, 4263, 23009, 75101, 13315, 5701, 34759, 223, 7568, 420, ...
[ 0.1341552734375, 0.0941162109375, 0.11767578125, 0.1993408203125, 0.1756591796875, 0.0179443359375, 0.166748046875, 0.1522216796875, 0.160888671875, 0.050201416015625, 0.217041015625, 0.288330078125, 0.06256103515625, 0.009429931640625, 0.0875244140625, 0.16552734375, 0.1378173828125...
embed
43477426_c0
43477426
fsharp
0
Title: What&#x27;s the difference between `type private MyRecord = {...}` and `type MyRecord = private {...}` Problem title: What&#x27;s the difference between `type private MyRecord = {...}` and `type MyRecord = private {...}` Tags: f%23, .net, encapsulation, functional-programming, record Problem: What's the differen...
What&#x27;s the difference between `type private MyRecord = {...}` and `type MyRecord = private {...}` What&#x27;s the difference between `type private MyRecord = {...}` and `type MyRecord = private {...}` f%23 .net encapsulation functional-programming record What MyRecord What's the difference between `type private My...
[ -0.001190185546875, -0.010498046875, -0.0029296875, 0.0267333984375, -0.0029754638671875, -0.001220703125, -0.0211181640625, 0.004913330078125, 0.00921630859375, 0.007537841796875, 0.00360107421875, 0.015625, 0.00714111328125, 0.01434326171875, 0.0072021484375, 0.00186920166015625, -...
[ 3768, 60212, 17721, 50986, 14375, 2646, 4332, 32271, 2203, 27, 136, 1179, 22, 15644, 123309, 28966, 17164, 4865, 70, 3493, 5117, 10644, 83, 4734, 81522, 28032, 11435, 17932, 7225, 3835, 1284, 756, 44457, 7228, 831, 172554, 5526, 183871 ]
[ 0.047149658203125, 0.1968994140625, 0.1368408203125, 0.2152099609375, 0.2047119140625, 0.182861328125, 0.1297607421875, 0.2210693359375, 0.02374267578125, 0.04791259765625, 0.0699462890625, 0.109375, 0.0277862548828125, 0.0850830078125, 0.1026611328125, 0.0653076171875, 0.1640625, ...
embed
25565532_c0
25565532
fsharp
0
Title: Learning F# with style Problem title: Learning F# with style Tags: coding-style, f%23 Problem: Learning F# with style When passing a function to another function which should calculate the result and then pass that value as an argument to another function, I've discovered that I could "compose" the following cod...
Learning F# with style Learning F# with style coding-style f%23 Learning Learning F# with style When passing a function to another function which should calculate the result and then pass that value as an argument to another function, I've discovered that I could "compose" the following code in 5 different ways. I do l...
[ -0.0034942626953125, -0.01519775390625, 0.016357421875, 0.01373291015625, -0.005157470703125, -0.005645751953125, 0.0167236328125, -0.000701904296875, 0.00823974609375, 0.006866455078125, 0.006072998046875, 0.00154876708984375, 0.006378173828125, 0.0072021484375, 0.0089111328125, -0.00...
[ 114344, 563, 4904, 678, 20623, 552, 6238, 40946, 1238, 3949, 3742, 452, 6953, 32354, 47, 15700, 5608, 74481, 16750, 27875, 34292, 237, 10750, 134053, 5809, 277, 78381, 25632, 18151, 23, 190, 12921, 48322, 1884, 15490, 49129, 35412, 1286, 14...
[ 0.133056640625, 0.1439208984375, 0.209228515625, 0.106201171875, 0.250732421875, 0.1220703125, 0.037078857421875, 0.215087890625, 0.09765625, 0.071044921875, 0.162841796875, 0.0938720703125, 0.0357666015625, 0.1495361328125, 0.09521484375, 0.05426025390625, 0.03155517578125, 0.1511...
embed
36336137_c0
36336137
fsharp
0
Title: F# - Converting nested for-loops to a functional style Problem title: F# - Converting nested for-loops to a functional style Tags: functional-programming, f%23 Problem: F# - Converting nested for-loops to a functional style I'm trying to convert my nested for-loops to a more functional style. I've been messing a...
F# - Converting nested for-loops to a functional style F# - Converting nested for-loops to a functional style functional-programming f%23 Converting List allCarrierCodes.Add carrierCode.ToString F# - Converting nested for-loops to a functional style I'm trying to convert my nested for-loops to a more functional style. ...
[ 0.024658203125, 0.0025634765625, -0.00482177734375, 0.01318359375, 0.0240478515625, -0.00186920166015625, 0.015869140625, -0.004150390625, 0.004058837890625, -0.01007080078125, 0.007232666015625, -0.02001953125, 0.0184326171875, 0.0247802734375, -0.01904296875, -0.02587890625, 0.0009...
[ 563, 4904, 1657, 814, 8512, 71, 100, 28354, 47, 123309, 20623, 28966, 1238, 3742, 32036, 756, 21851, 25388, 114211, 4028, 2258, 7763, 71713, 9, 31577, 96760, 7, 1286, 163, 38001, 10932, 137158, 150, 26513, 10298, 25820, 765, 2046, 43512, ...
[ 0.0977783203125, 0.1746826171875, 0.006561279296875, 0.10577392578125, 0.23583984375, 0.13134765625, 0.1627197265625, 0.1844482421875, 0.05224609375, 0.2152099609375, 0.210205078125, 0.0897216796875, 0.051116943359375, 0.08233642578125, 0.1053466796875, 0.057342529296875, 0.069519042...
embed
73660646_c1
73660646
fsharp
1
|> Observable.subscribe print |> ignore stream2.OnNext 99 However, unfortunately, this is only my Guess simply because there's no such a documentation in https://reactivex.io/documentation/subject.html and there is an external documentation http://xgrommx.github.io/rx-book/content/subjects/subject/index.html The all I...
|> Observable.subscribe print |> ignore stream2.OnNext 99 However, unfortunately, this is only my Guess simply because there's no such a documentation in https://reactivex.io/documentation/subject.html and there is an external documentation http://xgrommx.github.io/rx-book/content/subjects/subject/index.html The all I...
[ -0.0225830078125, 0.03955078125, 0.00799560546875, -0.004791259765625, 0.00885009765625, -0.0106201171875, 0.01275634765625, 0.007598876953125, -0.004669189453125, -0.0269775390625, 0.0107421875, -0.004180908203125, -0.0009918212890625, 0.027099609375, 0.0081787109375, -0.0009155273437...
[ 87652, 2661, 22144, 34601, 28412, 124962, 75973, 5442, 20320, 81280, 10078, 104272, 903, 96274, 7, 110, 6044, 209806, 107, 71232, 425, 846, 117432, 64, 75161, 7693, 173591, 8407, 2276, 32102, 67179, 14137, 3714, 18151, 43240, 237, 179140, 473...
[ 0.2469482421875, 0.219482421875, 0.1820068359375, 0.2327880859375, 0.1949462890625, 0.234619140625, 0.176025390625, 0.1788330078125, 0.1982421875, 0.209716796875, 0.2406005859375, 0.0579833984375, 0.09918212890625, 0.0853271484375, 0.0469970703125, 0.0255126953125, 0.0177764892578125...
embed
52363537_c2
52363537
fsharp
2
] let mutable xResult:float[] = [|0.;0.|] ExternalFunctions.DisplayHelloFromDLL(P_x, xResult); printfn "This is x:%A" xResult 0 // return an integer exit code C# code class Program { Code signals: C, DLL, Returning, Net, What, __declspec, DisplayHelloFromDLL, c_float, P_x, Hello, You, Load, c_int, P_nnz, P_i, P_p, A_x,...
] let mutable xResult:float[] = [|0.;0.|] ExternalFunctions.DisplayHelloFromDLL(P_x, xResult); printfn "This is x:%A" xResult 0 // return an integer exit code C# code class Program { Code signals: C, DLL, Returning, Net, What, __declspec, DisplayHelloFromDLL, c_float, P_x, Hello, You, Load, c_int, P_nnz, P_i, P_p, A_x,...
[ 0.019287109375, 0.0234375, -0.000759124755859375, 0.0107421875, 0.0028533935546875, 0.025390625, 0.0281982421875, -0.029052734375, -0.0024566650390625, 0.005584716796875, -0.005340576171875, -0.0166015625, -0.01025390625, -0.0040283203125, 0.0069580078125, -0.00946044921875, 0.021118...
[ 10114, 2633, 842, 22819, 1022, 4332, 7, 7136, 12, 52347, 257, 2203, 2389, 141070, 289, 97249, 10763, 44456, 20706, 841, 13817, 168407, 397, 23708, 683, 425, 28412, 14783, 73243, 83, 3949, 284, 757, 4666, 30646, 892, 1505, 82230, 18151, 31...
[ 0.0135498046875, 0.0811767578125, 0.14794921875, 0.2191162109375, 0.1361083984375, 0.14208984375, 0.1651611328125, 0.2327880859375, 0.1124267578125, 0.2216796875, 0.1470947265625, 0.061676025390625, 0.07611083984375, 0.1517333984375, 0.007537841796875, 0.1641845703125, 0.105590820312...
embed
33990695_c0
33990695
fsharp
0
Title: Single case union type inside a union type Problem title: Single case union type inside a union type Tags: f%23 Problem: Single case union type inside a union type I have the following union types: type UserName = UserName of string type LogLineType = | UserName of UserName | EmptyLine and a function that return...
Single case union type inside a union type Single case union type inside a union type f%23 Single UserName LogLineType EmptyLine Single case union type inside a union type I have the following union types: and a function that returns the LogLineType : However, I keep getting a compile error saying I understand it's try...
[ -0.0021209716796875, 0.0031890869140625, -0.00012063980102539062, 0.022216796875, -0.005615234375, -0.002899169921875, -0.0150146484375, -0.01275634765625, 0.0191650390625, -0.0016937255859375, 0.00701904296875, -0.0025787353515625, -0.004058837890625, -0.01318359375, -0.01019287109375, ...
[ 43609, 7225, 69941, 10644, 46132, 3949, 3742, 53400, 163612, 13146, 93232, 196707, 31678, 939, 25632, 52895, 32354, 30646, 13695, 9969, 1340, 18499, 28219, 31577, 64549, 1295, 14192, 34759, 79315, 11001 ]
[ 0.1640625, 0.1734619140625, 0.2340087890625, 0.1688232421875, 0.1116943359375, 0.0156097412109375, 0.08306884765625, 0.1396484375, 0.1700439453125, 0.1309814453125, 0.1629638671875, 0.212646484375, 0.06097412109375, 0.048004150390625, 0.01910400390625, 0.1627197265625, 0.1220703125, ...
embed
41374343_c1
41374343
fsharp
1
outFile.WriteLine The error below is on expandRows in the context of the pipeline. Type mismatch. Expecting a 'seq<string * int32> -> ('a * seq<string * int32>) option' but given a 'string * int32 -> (string * (string * int32)) option' The type 'seq<string * int 32>' does not match the type 'string * int32' I was expe...
outFile.WriteLine The error below is on expandRows in the context of the pipeline. Type mismatch. Expecting a 'seq<string * int32> -> ('a * seq<string * int32>) option' but given a 'string * int32 -> (string * (string * int32)) option' The type 'seq<string * int 32>' does not match the type 'string * int32' I was expe...
[ 0.0269775390625, 0.006805419921875, 0.00860595703125, 0.058349609375, 0.0018463134765625, -0.023681640625, 0.019775390625, -0.0093994140625, 0.00738525390625, 0.01806640625, 0.00052642822265625, -0.0030364990234375, 0.02392578125, 0.0198974609375, 0.00144195556640625, 0.01153564453125,...
[ 1810, 174350, 18781, 93232, 18499, 35064, 71062, 12724, 19725, 43701, 137158, 2256, 60457, 1239, 98753, 60075, 24762, 184, 864, 91693, 23, 18, 6460, 40, 35829, 91887, 10644, 2789, 959, 14858, 41206, 30646, 79315, 54015, 3034, 19279, 47107, 19...
[ 0.130126953125, 0.1956787109375, 0.0301361083984375, 0.1644287109375, 0.18212890625, 0.1038818359375, 0.1981201171875, 0.158203125, 0.1790771484375, 0.10406494140625, 0.143310546875, 0.174560546875, 0.2122802734375, 0.086669921875, 0.258544921875, 0.0784912109375, 0.1153564453125, ...
embed
1508818_c0
1508818
fsharp
0
Title: F# - Display full results in F# interactive window Problem title: F# - Display full results in F# interactive window Tags: f%23-interactive, f%23 Problem: F# - Display full results in F# interactive window Disclaimer: Total F# Newbie question! If I type the following into an F# file in Visual Studio #light let s...
F# - Display full results in F# interactive window F# - Display full results in F# interactive window f%23-interactive f%23 Display F# - Display full results in F# interactive window Disclaimer: Total F# Newbie question! If I type the following into an F# file in Visual Studio and run F# interactive on it by highlighti...
[ 0.01336669921875, 0.0054931640625, 0.0205078125, 0.01806640625, 0.0026092529296875, 0.00347900390625, 0.005615234375, 0.0034942626953125, -0.005035400390625, 0.0216064453125, 0.006561279296875, 0.028076171875, 0.00433349609375, 0.00927734375, 0.00653076171875, 0.01409912109375, -0.00...
[ 563, 4904, 20, 90045, 4393, 50339, 23, 212398, 76896, 1238, 27495, 10433, 71232, 3742, 184980, 33867, 9014, 10644, 25632, 3934, 11435, 73372, 22968, 11675, 127308, 24234, 10544, 997, 60816, 140992, 83, 4966, 3444, 1957, 40, 944, 3956, 903, ...
[ 0.1700439453125, 0.24853515625, 0.031707763671875, 0.1510009765625, 0.1485595703125, 0.1888427734375, 0.058074951171875, 0.2012939453125, 0.1475830078125, 0.102294921875, 0.0615234375, 0.097900390625, 0.09716796875, 0.075927734375, 0.0670166015625, 0.04833984375, 0.0830078125, 0.13...
embed
50762436_c0
50762436
fsharp
0
Title: How to ignore the return value of an Async function in an Async block? Problem title: How to ignore the return value of an Async function in an Async block? Tags: f%23 Problem: How to ignore the return value of an Async function in an Async block? The m1 and m2 in the following functions have compiling errors. l...
How to ignore the return value of an Async function in an Async block? How to ignore the return value of an Async function in an Async block? f%23 How Async ERR How to ignore the return value of an Async function in an Async block? The m1 and m2 in the following functions have compiling errors. m is called at the last ...
[ -0.007080078125, 0.0147705078125, 0.0069580078125, -0.0274658203125, 0.004486083984375, -0.00567626953125, -0.00799560546875, -0.0068359375, 0.01202392578125, -0.01318359375, -0.003082275390625, 0.0142822265625, 0.006256103515625, -0.01336669921875, 0.0341796875, 0.006195068359375, -...
[ 11249, 124962, 30646, 34292, 62, 12654, 238, 32354, 46389, 47, 1238, 3949, 3742, 151206, 347, 418, 136, 304, 25632, 9969, 49725, 18499, 35839, 99, 4568, 13315, 71924, 15572, 34759 ]
[ 0.032867431640625, 0.2308349609375, 0.2044677734375, 0.1536865234375, 0.0232696533203125, 0.2086181640625, 0.0858154296875, 0.136962890625, 0.1685791015625, 0.01641845703125, 0.0241851806640625, 0.001739501953125, 0.116943359375, 0.1807861328125, 0.1085205078125, 0.0202178955078125, ...
embed
4485445_c0
4485445
fsharp
0
Title: F# interface inheritance failure due to unit Problem title: F# interface inheritance failure due to unit Tags: f%23, unit-type Problem: F# interface inheritance failure due to unit Does anyone know why this fails to compile? type MyInterface<'input, 'output> = abstract member MyFun: 'input -> 'output type MyClas...
F# interface inheritance failure due to unit F# interface inheritance failure due to unit f%23 unit-type MyInterface MyFun MyClass this.MyFun FS0017 MyUnit MyClass2 F# interface inheritance failure due to unit Does anyone know why this fails to compile?
[ -0.006744384765625, 0.01123046875, -0.0018310546875, -0.00445556640625, -0.007080078125, -0.0260009765625, -0.007293701171875, -0.0101318359375, 0.007080078125, 0.004302978515625, -0.0228271484375, 0.0032501220703125, 0.007476806640625, -0.0093994140625, 0.00518798828125, -0.0034332275...
[ 563, 4904, 101758, 23, 3334, 217, 7154, 137578, 4743, 47, 25072, 1238, 3949, 3742, 50986, 2646, 44851, 40404, 97249, 140803, 903, 31852, 93774, 7049, 2489, 85600, 304, 101790, 35672, 3714, 15400, 35782, 7, 9969, 1340 ]
[ 0.1470947265625, 0.25, 0.234130859375, 0.0850830078125, 0.19091796875, 0.11669921875, 0.02484130859375, 0.2069091796875, 0.0670166015625, 0.0701904296875, 0.193359375, 0.09228515625, 0.0692138671875, 0.1602783203125, 0.07940673828125, 0.138916015625, 0.1500244140625, 0.15771484375,...
embed
192090_c0
192090
fsharp
0
Title: How do you design a functional program? Problem title: How do you design a functional program? Tags: f%23, functional-programming Problem: How do you design a functional program? From day 1 of my programming career, I started with object-oriented programming. However, I'm interested in learning other paradigms (...
How do you design a functional program? How do you design a functional program? f%23 functional-programming How How do you design a functional program? From day 1 of my programming career, I started with object-oriented programming. However, I'm interested in learning other paradigms (something which I've said here on ...
[ 0.020263671875, 0.00830078125, 0.00537109375, 0.01007080078125, -0.00982666015625, 0.01507568359375, 0.0087890625, -0.000667572021484375, 0.002166748046875, -0.01446533203125, 0.0078125, -0.020263671875, -0.0269775390625, 0.01165771484375, -0.0145263671875, 0.0096435546875, -0.013488...
[ 11249, 54, 398, 4331, 10, 123309, 1528, 32, 1238, 3949, 3742, 9, 28966, 214, 28090, 5155, 106, 56037, 449, 80997, 87, 26859, 678, 36746, 49133, 297, 33306, 60892, 52080, 3789, 214709, 3688, 15969, 83, 4127, 13580, 38246, 1902, 1733, 5351,...
[ 0.1419677734375, 0.1002197265625, 0.0833740234375, 0.284912109375, 0.111328125, 0.271484375, 0.25341796875, 0.027496337890625, 0.037017822265625, 0.03314208984375, 0.09625244140625, 0.0111083984375, 0.1846923828125, 0.1005859375, 0.012176513671875, 0.04132080078125, 0.020736694335937...
embed
13590439_c0
13590439
fsharp
0
Title: Trying to understand F# active patterns, why can I do this: Problem title: Trying to understand F# active patterns, why can I do this: Tags: f%23, active-pattern Problem: Trying to understand F# active patterns, why can I do this: I have a Dictionary over which I initially iterated thusly: myDictionary |> Seq.it...
Trying to understand F# active patterns, why can I do this: Trying to understand F# active patterns, why can I do this: f%23 active-pattern Trying Dictionary Seq.iter kvp.Key kvp.Value KeyValue Trying to understand F# active patterns, why can I do this: I have a Dictionary over which I initially iterated thusly: myDict...
[ 0.002685546875, -0.006500244140625, 0.01031494140625, 0.005279541015625, -0.002227783203125, 0.000789642333984375, -0.0004329681396484375, 0.01324462890625, -0.006195068359375, -0.01129150390625, 0.021484375, 0.01470947265625, -0.00506591796875, 0.01806640625, 0.01220703125, 0.00073623...
[ 28219, 563, 4904, 36457, 103510, 15400, 831, 54, 903, 1238, 3742, 4453, 22766, 40858, 147638, 864, 16840, 26687, 254, 162429, 856, 50770, 26824, 645, 720, 759, 14055, 10763, 6635, 16498, 64113, 134053, 5809, 4527, 92, 81, 282, 472, 125381, ...
[ 0.1141357421875, 0.09234619140625, 0.174072265625, 0.18017578125, 0.199951171875, 0.088623046875, 0.0850830078125, 0.0472412109375, 0.0540771484375, 0.07562255859375, 0.123046875, 0.12646484375, 0.08746337890625, 0.05670166015625, 0.164306640625, 0.08447265625, 0.12939453125, 0.089...
embed
26809483_c0
26809483
fsharp
0
Title: Pattern match guard with DateTime.TryParseExact? Problem title: Pattern match guard with DateTime.TryParseExact? Tags: f%23, guard-clause Problem: Pattern match guard with DateTime.TryParseExact? How to guard with DateTime.TryParseExact (and get the parsed value if possible)? The following code doesn't work. [<E...
Pattern match guard with DateTime.TryParseExact? Pattern match guard with DateTime.TryParseExact? f%23 guard-clause Pattern DateTime.TryParseExact EntryPoint List.ofSeq aaa.main bbb.main CultureInfo.InvariantCulture DateTimeStyles.None ccc.main Pattern match guard with DateTime.TryParseExact? How to guard with DateTime...
[ -0.0196533203125, -0.004364013671875, 0.01171875, 0.002471923828125, -0.0020599365234375, -0.013427734375, -0.0262451171875, 0.00921630859375, 0.0185546875, 0.00506591796875, 0.0093994140625, 0.015869140625, 0.0004787445068359375, 0.00014495849609375, 0.0208740234375, -0.00424194335937...
[ 9876, 22766, 14858, 56050, 678, 25512, 70059, 1294, 28636, 184, 19279, 47013, 1238, 3742, 18347, 15123, 147534, 32036, 4390, 864, 24931, 5125, 105141, 93147, 162591, 202, 209480, 10060, 2046, 366, 5281, 34292, 7722, 25632, 18151, 18, 4488 ]
[ 0.1552734375, 0.134521484375, 0.166259765625, 0.2479248046875, 0.080078125, 0.1370849609375, 0.2215576171875, 0.14599609375, 0.1646728515625, 0.07415771484375, 0.100830078125, 0.1749267578125, 0.02105712890625, 0.1363525390625, 0.0684814453125, 0.10113525390625, 0.08795166015625, 0...
embed
6726559_c0
6726559
fsharp
0
Title: Group totals in F# - easy with sequences, is it possible with lists? Problem title: Group totals in F# - easy with sequences, is it possible with lists? Tags: f%23 Problem: Group totals in F# - easy with sequences, is it possible with lists? Given a sequence of a group id/value tuples, it was easy to calculate g...
Group totals in F# - easy with sequences, is it possible with lists? Group totals in F# - easy with sequences, is it possible with lists? f%23 Group Seq.groupBy Seq.map Seq.fold Group totals in F# - easy with sequences, is it possible with lists? Given a sequence of a group id/value tuples, it was easy to calculate gro...
[ 0.005828857421875, 0.001922607421875, 0.0020751953125, 0.003997802734375, -0.01190185546875, 0.00103759765625, -0.00011157989501953125, 0.0120849609375, 0.0240478515625, 0.00799560546875, 0.006072998046875, 0.029296875, 0.00653076171875, 0.015380859375, -0.0023040771484375, 0.009765625...
[ 10760, 3622, 7, 23, 563, 4904, 23468, 678, 40, 26513, 5170, 7722, 5303, 1238, 3742, 503, 864, 51588, 75358, 62346, 42822, 83, 944, 21115, 3447, 27494, 370, 99726, 74481, 46610, 2737, 3525, 831, 1957, 3917, 4527, 842, 22819, 77336, 123309 ...
[ 0.238037109375, 0.2392578125, 0.0894775390625, 0.0208282470703125, 0.14697265625, 0.20654296875, 0.1505126953125, 0.08099365234375, 0.048095703125, 0.1600341796875, 0.039459228515625, 0.1395263671875, 0.2276611328125, 0.04669189453125, 0.09515380859375, 0.006134033203125, 0.076416015...
embed
39026574_c0
39026574
fsharp
0
Title: F# cannot post to web api? Problem title: F# cannot post to web api? Tags: c%23, webclient, f%23, asp.net-web-api Problem: F# cannot post to web api? I have the following code to post to a web api. [<CLIMutable>] type MyModel = { FileName:string; Period:DateTime; DownloadedTime:DateTimeOffset; Url:string; } Code...
F# cannot post to web api? F# cannot post to web api? c%23 webclient f%23 asp.net-web-api logger.Error CLIMutable MyModel FileName:string Period:DateTime DownloadedTime:DateTimeOffset Url:string PostDownload HttpClient FileName Period DownloadedTime DateTimeOffset.Now Url Async.AwaitTask client.PostAsJsonAsync localhos...
[ -0.023193359375, 0.0145263671875, 0.01806640625, 0.0016021728515625, 0.0033111572265625, -0.00677490234375, -0.01165771484375, -0.01458740234375, -0.00238037109375, -0.004302978515625, 0.0115966796875, 0.01458740234375, 0.0096435546875, 0.0157470703125, 0.0205078125, 0.0106201171875, ...
[ 563, 4904, 53418, 1305, 47, 1467, 31470, 3742, 222978, 1238, 237, 254, 1179, 14051, 40897, 73088, 18468, 83318, 34, 22819, 2646, 140290, 42724, 91693, 92329, 70059, 4857, 144786, 150, 12654, 634, 9874, 23282, 49411, 19659, 1375, 1681, 4000, ...
[ 0.169677734375, 0.253662109375, 0.1832275390625, 0.15869140625, 0.1258544921875, 0.1312255859375, 0.237548828125, 0.01226806640625, 0.139892578125, 0.1148681640625, 0.043975830078125, 0.07354736328125, 0.07623291015625, 0.08612060546875, 0.155517578125, 0.06732177734375, 0.0012207031...
embed
33330747_c0
33330747
fsharp
0
Title: CsvProvider skips first row with data Problem title: CsvProvider skips first row with data Tags: f%23, f%23-data Problem: CsvProvider skips first row with data There is a CSV file without headers. Only the rows with data. In order to set the headers I use sample. type DisaggreggatedFinancialData = CsvProvider<"S...
CsvProvider skips first row with data CsvProvider skips first row with data f%23 f%23-data CsvProvider DisaggreggatedFinancialData Schema.csv HasHeaders AssumeMissingValues MissingValues CsvProvider skips first row with data There is a CSV file without headers. Only the rows with data. In order to set the headers I use...
[ 0.01434326171875, 0.0125732421875, 0.0032501220703125, 0.03759765625, -0.01904296875, -0.0169677734375, 0.02099609375, 0.028564453125, 0.0010986328125, -0.007293701171875, -0.00537109375, -0.0087890625, -0.003143310546875, 0.0137939453125, 0.0126953125, -0.00909423828125, -0.01660156...
[ 313, 67756, 177997, 62160, 21658, 5117, 15555, 678, 2053, 1238, 27495, 10135, 72956, 68722, 208, 84511, 137989, 34702, 192, 4439, 334, 20625, 13025, 11, 14202, 66596, 135261, 42272, 16771, 43486, 11435, 15490, 10336, 1314, 5423, 4527, 121413, ...
[ 0.078369140625, 0.223876953125, 0.1666259765625, 0.1241455078125, 0.1678466796875, 0.1307373046875, 0.18505859375, 0.092041015625, 0.13525390625, 0.00506591796875, 0.0238800048828125, 0.047210693359375, 0.06268310546875, 0.06329345703125, 0.003082275390625, 0.0848388671875, 0.0575561...
embed
30386870_c0
30386870
fsharp
0
Title: F# command line (fsi) doesn&#x27;t recognize function, compile error, why? Problem title: F# command line (fsi) doesn&#x27;t recognize function, compile error, why? Tags: fsi, f%23 Problem: F# command line (fsi) doesn't recognize function, compile error, why? I tried F# under command line, it doesn't recognize f...
F# command line (fsi) doesn&#x27;t recognize function, compile error, why? F# command line (fsi) doesn&#x27;t recognize function, compile error, why? fsi f%23 n-1 n-2 n:int FS0039 F# command line (fsi) doesn't recognize function, compile error, why? I tried F# under command line, it doesn't recognize function definitio...
[ -0.005126953125, 0.005706787109375, 0.01214599609375, 0.01519775390625, 0.0106201171875, -0.0031890869140625, 0.019775390625, 0.005126953125, -0.001617431640625, -0.00970458984375, 0.0033111572265625, -0.0113525390625, 0.0137939453125, -0.0024871826171875, 0.0301513671875, -0.008483886...
[ 563, 4904, 75101, 13315, 420, 172, 22027, 3768, 18, 125296, 32354, 9969, 1340, 18499, 15400, 1238, 3742, 5759, 5428, 4288, 93774, 7049, 9323, 37842, 1379, 80934, 1528, 71200, 452, 127689, 3934, 21176, 12275, 13452, 127877, 14315, 44084, 35782...
[ 0.1611328125, 0.2037353515625, 0.177490234375, 0.1236572265625, 0.109130859375, 0.1666259765625, 0.09527587890625, 0.03607177734375, 0.114501953125, 0.165771484375, 0.194580078125, 0.1456298828125, 0.1380615234375, 0.18310546875, 0.09259033203125, 0.18212890625, 0.06121826171875, 0...
embed
69109335_c0
69109335
fsharp
0
Title: F# using a temporary variable in pipe operator aka C# LINQ let Problem title: F# using a temporary variable in pipe operator aka C# LINQ let Tags: linq, f%23, c%23 Problem: F# using a temporary variable in pipe operator aka C# LINQ let In C# LINQ we can use a temporary variable with let clause: var users2 = from...
F# using a temporary variable in pipe operator aka C# LINQ let F# using a temporary variable in pipe operator aka C# LINQ let linq f%23 c%23 a user LINQ users2 users.Sum u.Salary user.Salary List.averageBy List.filter F# using a temporary variable in pipe operator aka C# LINQ let In C# LINQ we can use a temporary varia...
[ 0.01275634765625, 0.01251220703125, -0.0101318359375, 0.0169677734375, -0.0155029296875, -0.00482177734375, -0.00567626953125, 0.01318359375, 0.01611328125, -0.039306640625, -0.0125732421875, 0.0439453125, 0.00543212890625, 0.01190185546875, 0.0159912109375, 0.004150390625, 0.0032348...
[ 563, 4904, 17368, 142458, 53, 77336, 137158, 39933, 15623, 46610, 2737, 2633, 313, 96, 44982, 1238, 3742, 38937, 72095, 304, 316, 75, 52779, 6635, 32036, 8216, 29838, 75358, 120337, 831, 4527, 678, 70731, 13, 7722, 54, 5701, 23, 1632, 738...
[ 0.1470947265625, 0.1978759765625, 0.0604248046875, 0.2203369140625, 0.0892333984375, 0.255615234375, 0.1856689453125, 0.1920166015625, 0.005523681640625, 0.1683349609375, 0.21142578125, 0.2330322265625, 0.00506591796875, 0.0677490234375, 0.2071533203125, 0.05419921875, 0.093994140625...
embed
9774398_c0
9774398
fsharp
0
Title: Better way to add element at the beginning of F# sequence Problem title: Better way to add element at the beginning of F# sequence Tags: f%23, sequence Problem: Better way to add element at the beginning of F# sequence F# List provides the cons ( :: ) operator to add an item at the front of a list. Is there a fu...
Better way to add element at the beginning of F# sequence Better way to add element at the beginning of F# sequence f%23 sequence Better List Seq Seq.append Better way to add element at the beginning of F# sequence F# List provides the cons ( :: ) operator to add an item at the front of a list. Is there a function to d...
[ -0.001495361328125, 0.0208740234375, 0.0086669921875, -0.006805419921875, -0.002685546875, -0.0263671875, -0.00482177734375, -0.005889892578125, -0.004486083984375, -0.06103515625, 0.01123046875, 0.03857421875, 0.0128173828125, 0.022216796875, 0.020751953125, -0.0126953125, -0.020019...
[ 177154, 3917, 15190, 12830, 99, 70, 86595, 111, 563, 4904, 40, 944, 3956, 1238, 3949, 3742, 32036, 503, 864, 5, 9007, 3611, 87344, 158, 7, 1984, 39933, 47, 142, 35735, 12912, 5303, 32354, 54, 5701, 4734, 36880, 17368, 237, 28960, 1286, ...
[ 0.189208984375, 0.10400390625, 0.196533203125, 0.220458984375, 0.114501953125, 0.03338623046875, 0.1988525390625, 0.049407958984375, 0.1268310546875, 0.1846923828125, 0.10107421875, 0.1358642578125, 0.067626953125, 0.08807373046875, 0.0141448974609375, 0.15283203125, 0.200439453125, ...
embed
45386986_c0
45386986
fsharp
0
Title: Why is passing a ref type into a F# function expecting a byref a type error? Problem title: Why is passing a ref type into a F# function expecting a byref a type error? Tags: f%23 Problem: Why is passing a ref type into a F# function expecting a byref a type error? let a = ref 0 let f (x: byref<int>) = x f a // ...
Why is passing a ref type into a F# function expecting a byref a type error? Why is passing a ref type into a F# function expecting a byref a type error? f%23 Why System.Int32.TryParse x:byref Why is passing a ref type into a F# function expecting a byref a type error? f a being a type error is puzzling to me since a c...
[ 0.005615234375, 0.022705078125, 0.007293701171875, 0.008056640625, -0.01153564453125, -0.0087890625, -0.014404296875, -0.0031890869140625, 0.01019287109375, 0.00396728515625, 0.01434326171875, -0.0033721923828125, 0.01446533203125, 0.00262451171875, 0.00144195556640625, 0.0012664794921...
[ 44084, 452, 18831, 10644, 3934, 563, 4904, 32354, 41206, 390, 29087, 18499, 6953, 1238, 3742, 12353, 6460, 1294, 28636, 184, 1022, 1272, 10, 8035, 2069, 831, 115081, 17777, 35773, 150624, 4288, 189050, 70425, 18, 79315, 142484, 14373, 43240, ...
[ 0.10516357421875, 0.080078125, 0.240966796875, 0.215576171875, 0.1253662109375, 0.09136962890625, 0.1854248046875, 0.164794921875, 0.1595458984375, 0.132568359375, 0.27392578125, 0.2060546875, 0.00164794921875, 0.0950927734375, 0.05914306640625, 0.0823974609375, 0.1497802734375, 0....
embed
6007564_c0
6007564
fsharp
0
Title: F# performance bug? Problem title: F# performance bug? Tags: f%23, performance Problem: F# performance bug? let test1fun x = [for i in 1..x-> i] let test2fun x y= [for i in 1..x do for i in 1..y-> i] let singlesearcher i = let rec searcher j agg = if j > i then agg else searcher (j+1) (i::agg) searcher 1 [] let ...
F# performance bug? F# performance bug? f%23 performance test1fun test2fun i::agg F# performance bug? executing the above with #time and 10000 for all inputs yields Why is the nested list comprehension more than twice the the functional version?
[ -0.0107421875, 0.011474609375, 0.00689697265625, -0.00311279296875, 0.0079345703125, -0.003997802734375, -0.00628662109375, -0.003692626953125, 0.01214599609375, -0.0302734375, 0.00153350830078125, 0.0191650390625, 0.004669189453125, -0.006500244140625, 0.000957489013671875, -0.0029754...
[ 563, 4904, 23718, 54608, 1238, 3949, 3742, 3034, 16498, 304, 9815, 71924, 70, 36917, 678, 468, 6032, 136, 77433, 100, 756, 107730, 11180, 19388, 44084, 83, 8512, 71, 5303, 46683, 3220, 1286, 186351, 123309, 11389 ]
[ 0.168212890625, 0.2353515625, 0.1746826171875, 0.1578369140625, 0.1192626953125, 0.022613525390625, 0.1328125, 0.151611328125, 0.1083984375, 0.02252197265625, 0.057830810546875, 0.170166015625, 0.010467529296875, 0.0743408203125, 0.0250701904296875, 0.0447998046875, 0.1766357421875, ...
embed
62834756_c0
62834756
fsharp
0
Title: How do I register my own FsCheck Generator on Expecto Problem title: How do I register my own FsCheck Generator on Expecto Tags: property-based-testing, fscheck, f%23, expecto Problem: How do I register my own FsCheck Generator on Expecto I've built my generator type that generates multiples of three. I want to ...
How do I register my own FsCheck Generator on Expecto How do I register my own FsCheck Generator on Expecto property-based-testing fscheck f%23 expecto How FsCheck Generator Expecto ThreeGenerator ThreeMultiple Arb.generate NonNegativeInt Gen.map Gen.filter Arb.fromGen How do I register my own FsCheck Generator on Expe...
[ -0.000888824462890625, 0.007476806640625, -0.006317138671875, -0.013427734375, -0.02197265625, -0.00897216796875, 0.01446533203125, -0.031494140625, 0.0213623046875, -0.0458984375, 0.005096435546875, 0.031982421875, 0.001678466796875, -0.019287109375, -0.0031585693359375, -0.0111694335...
[ 11249, 68067, 10002, 563, 7, 202567, 222518, 98, 60075, 60751, 54, 759, 57266, 77007, 6954, 1238, 78292, 3742, 41206, 31, 129335, 105376, 56, 4597, 50657, 118, 8705, 1172, 275, 48281, 3775, 208, 4935, 15937, 62346, 120337, 161063, 88303, 14...
[ 0.0426025390625, 0.2283935546875, 0.1246337890625, 0.12890625, 0.1258544921875, 0.28955078125, 0.2509765625, 0.0806884765625, 0.16064453125, 0.23779296875, 0.002532958984375, 0.003387451171875, 0.1158447265625, 0.048095703125, 0.12548828125, 0.055328369140625, 0.233642578125, 0.097...
embed
16695288_c0
16695288
fsharp
0
Title: F# op_Equality different types Problem title: F# op_Equality different types Tags: f%23-3.0, f%23, type-inference Problem: F# op_Equality different types I'm trying to override (=) to be able to compare my newly defined type with int. I want to achieve something lake this: type T = T with static member op_Equali...
F# op_Equality different types F# op_Equality different types f%23-3.0 f%23 type-inference op_Equality Error F# op_Equality different types I'm trying to override (=) to be able to compare my newly defined type with int. I want to achieve something lake this: I can easily make it work in C# but cannot do this in F# I'v...
[ 0.0107421875, 0.004852294921875, 0.0262451171875, 0.0177001953125, 0.004180908203125, -0.0260009765625, -0.00823974609375, 0.006866455078125, -0.004913330078125, -0.0047607421875, 0.010009765625, 0.000751495361328125, 0.01348876953125, 0.02001953125, 0.006805419921875, -0.0018234252929...
[ 563, 4904, 233, 647, 161789, 12921, 52895, 1238, 27495, 132265, 3742, 10644, 69988, 212059, 31577, 645, 416, 112, 78690, 19048, 47, 69101, 3525, 61924, 678, 23, 18, 69307, 85437, 831, 72546, 4488, 1284, 53418, 903, 28282, 201939, 32786, 221...
[ 0.143310546875, 0.2122802734375, 0.1851806640625, 0.10260009765625, 0.2293701171875, 0.137939453125, 0.21875, 0.08428955078125, 0.0989990234375, 0.135009765625, 0.058746337890625, 0.1932373046875, 0.130859375, 0.13330078125, 0.018798828125, 0.06878662109375, 0.122802734375, 0.07897...
embed
1798920_c1
1798920
fsharp
1
") df.["logweight"] = log(double df.["weight"]) If this were once or twice, it might be okay, but specifying a type every time I use a variable doesn't seem reasonable. I often deal with surveys with 100s of variables that are added/dropped, split into new subsets and merged with other dataframes. Am I missing some obv...
") df.["logweight"] = log(double df.["weight"]) If this were once or twice, it might be okay, but specifying a type every time I use a variable doesn't seem reasonable. I often deal with surveys with 100s of variables that are added/dropped, split into new subsets and merged with other dataframes. Am I missing some obv...
[ 0.020263671875, 0.0142822265625, -0.0205078125, 0.01251220703125, 0.0126953125, -0.009033203125, -0.00799560546875, 0.017822265625, -0.000301361083984375, -0.0322265625, -0.0013275146484375, -0.006591796875, 0.004364013671875, -0.028076171875, -0.005218505859375, 0.007293701171875, 0...
[ 44, 16, 104, 420, 4867, 165598, 2203, 12684, 21555, 2661, 903, 24145, 186351, 13648, 68403, 48502, 151138, 10644, 11907, 1733, 4527, 77336, 48903, 169022, 27983, 35142, 110297, 805, 49814, 5814, 65450, 1614, 42564, 2053, 160328, 132283, 162520,...
[ 0.05975341796875, 0.0557861328125, 0.08111572265625, 0.1663818359375, 0.1756591796875, 0.32421875, 0.050872802734375, 0.195068359375, 0.09832763671875, 0.0928955078125, 0.02520751953125, 0.133056640625, 0.1005859375, 0.010345458984375, 0.0848388671875, 0.1768798828125, 0.027801513671...
embed
56298322_c0
56298322
fsharp
0
Title: How does IDisposable work with use and return? Problem title: How does IDisposable work with use and return? Tags: disposable, asynchronous, f%23 Problem: How does IDisposable work with use and return? In F# async workflows, we can define a resource that should be cleaned up with the use keyword. But how does us...
How does IDisposable work with use and return? How does IDisposable work with use and return? disposable asynchronous f%23 How IDisposable Resource Async.RunSynchronously Resource.Dispose How does IDisposable work with use and return? In F# async workflows, we can define a resource that should be cleaned up with the us...
[ -0.007080078125, 0.020751953125, 0.006011962890625, -0.0084228515625, 0.0027313232421875, -0.000492095947265625, 0.000263214111328125, 0.003509521484375, 0.017333984375, -0.019287109375, 0.0218505859375, 0.0224609375, 0.015869140625, 0.004150390625, 0.018798828125, -0.011962890625, 0...
[ 11249, 14602, 11338, 164, 7522, 2886, 4488, 678, 4527, 136, 30646, 82566, 2661, 12654, 101966, 10821, 1238, 3949, 3742, 152055, 238, 163321, 217835, 127, 1900, 79850, 44456, 78381, 563, 4904, 118664, 61924, 177953, 5608, 46622, 297, 1257, 166...
[ 0.0753173828125, 0.044769287109375, 0.1016845703125, 0.1112060546875, 0.17529296875, 0.217041015625, 0.153076171875, 0.1466064453125, 0.19970703125, 0.1463623046875, 0.246826171875, 0.1871337890625, 0.17138671875, 0.1541748046875, 0.1212158203125, 0.0154876708984375, 0.04425048828125...
embed
39840624_c0
39840624
fsharp
0
Title: Accessing data from a SqlDataProvider Problem title: Accessing data from a SqlDataProvider Tags: type-providers, f%23 Problem: Accessing data from a SqlDataProvider I'm using the SQlProvider in a project to query a database and perform CRUD operations. I come from C#/Entity-Framework background, so my normal app...
Accessing data from a SqlDataProvider Accessing data from a SqlDataProvider type-providers f%23 a Accessing SqlDataProvider Accessing data from a SqlDataProvider I'm using the SQlProvider in a project to query a database and perform CRUD operations. I come from C#/Entity-Framework background, so my normal approach woul...
[ 0.0281982421875, 0.0322265625, -0.004180908203125, -0.000019073486328125, -0.0137939453125, 0.00469970703125, -0.00130462646484375, -0.004180908203125, -0.003143310546875, -0.053955078125, 0.01220703125, -0.01495361328125, 0.01116943359375, -0.0174560546875, -0.005950927734375, -0.0087...
[ 40266, 2053, 1295, 159, 99247, 137989, 177997, 62160, 10, 10644, 93136, 14202, 3742, 17368, 2737, 141, 13452, 41, 1294, 63399, 51339, 25109, 26119, 41018, 1380, 4904, 18244, 76615, 3638, 51515, 4527, 189534, 64722, 14, 31667, 92940, 27169, 35...
[ 0.16748046875, 0.10528564453125, 0.1414794921875, 0.04949951171875, 0.18798828125, 0.1190185546875, 0.2093505859375, 0.1885986328125, 0.0187530517578125, 0.15869140625, 0.1839599609375, 0.0697021484375, 0.05389404296875, 0.043853759765625, 0.1343994140625, 0.061981201171875, 0.081176...
embed
25096509_c1
25096509
fsharp
1
the [ < STAThread > ] above the loadWindow() block like so according to ethicallogics's answer, it still does not work. type MainWindow = XAML<"MainWindow.xaml"> [<STAThread>] let loadWindow() = let window = MainWindow() let x = new TestWindow1.Test1() x.Root.Show(); window.Root [<STAThread>] (new Application()).Run(l...
the [ < STAThread > ] above the loadWindow() block like so according to ethicallogics's answer, it still does not work. type MainWindow = XAML<"MainWindow.xaml"> [<STAThread>] let loadWindow() = let window = MainWindow() let x = new TestWindow1.Test1() x.Root.Show(); window.Root [<STAThread>] (new Application()).Run(l...
[ 0.00787353515625, 0.01220703125, -0.0164794921875, 0.01165771484375, -0.00118255615234375, 0.01312255859375, 0.03369140625, -0.0279541015625, 0.00970458984375, -0.038330078125, -0.00262451171875, 0.00098419189453125, -0.0029296875, -0.027587890625, 0.0125732421875, -0.003997802734375, ...
[ 70, 378, 144792, 127, 39116, 10114, 36917, 72367, 92049, 24293, 132, 16, 46389, 1884, 221, 82, 21533, 137043, 442, 7464, 14602, 959, 4488, 5, 10644, 12321, 65415, 39456, 168793, 3798, 7237, 176523, 2633, 76896, 1022, 3525, 8647, 418, 111337...
[ 0.075927734375, 0.052581787109375, 0.1876220703125, 0.077392578125, 0.28759765625, 0.02581787109375, 0.19921875, 0.221435546875, 0.158935546875, 0.201171875, 0.1212158203125, 0.010833740234375, 0.238037109375, 0.055450439453125, 0.008056640625, 0.029510498046875, 0.007080078125, 0....
embed
17621089_c0
17621089
fsharp
0
Title: How to use out attributes in an F# Interface? Problem title: How to use out attributes in an F# Interface? Tags: f%23 Problem: How to use out attributes in an F# Interface? I would like to define one of my parameters to be a C# out parameter in one of my interfaces. I realize that F# supports byref but how can I...
How to use out attributes in an F# Interface? How to use out attributes in an F# Interface? f%23 How Interface System.Runtime.InteropServices.OutAttribute IStatisticalTests JohansenWrapper JohansenModelParameters How to use out attributes in an F# Interface? I would like to define one of my parameters to be a C# out pa...
[ 0.00457763671875, 0.00110626220703125, -0.0252685546875, -0.00885009765625, -0.01141357421875, 0.00970458984375, -0.0169677734375, 0.010009765625, -0.00885009765625, 0.0150146484375, -0.01214599609375, -0.02783203125, -0.03173828125, 0.00341796875, 0.004058837890625, 0.00823974609375, ...
[ 11249, 47, 4527, 1810, 150380, 90, 23, 563, 4904, 220237, 142, 1238, 3742, 12353, 163321, 6032, 44851, 2146, 121979, 79858, 28848, 191145, 59130, 111337, 27865, 1015, 219, 8079, 140290, 55292, 29089, 1884, 61924, 1632, 171859, 186, 10, 313, ...
[ 0.1181640625, 0.06256103515625, 0.1878662109375, 0.27197265625, 0.259765625, 0.14892578125, 0.061553955078125, 0.1563720703125, 0.232421875, 0.257568359375, 0.014007568359375, 0.036041259765625, 0.0467529296875, 0.0859375, 0.0413818359375, 0.0753173828125, 0.083740234375, 0.1259765...
embed
11229480_c0
11229480
fsharp
0
Title: Mocking functions for acceptance testing in F# Problem title: Mocking functions for acceptance testing in F# Tags: dependency-injection, mocking, f%23, functional-programming Problem: Mocking functions for acceptance testing in F# I have a function which generates random numbers. When acceptance testing, I want ...
Mocking functions for acceptance testing in F# Mocking functions for acceptance testing in F# dependency-injection mocking f%23 functional-programming Mocking Mocking functions for acceptance testing in F# I have a function which generates random numbers. When acceptance testing, I want to replace this with one that ge...
[ -0.0174560546875, -0.00396728515625, 0.00372314453125, -0.0081787109375, 0.002288818359375, 0.01190185546875, 0.00185394287109375, -0.0034027099609375, 0.01348876953125, -0.021484375, 0.0034027099609375, 0.01507568359375, -0.017822265625, 0.0286865234375, 0.041259765625, -0.00230407714...
[ 2501, 41324, 32354, 26946, 7154, 134234, 563, 4904, 42548, 27771, 73, 236, 931, 1238, 3742, 123309, 28966, 765, 139392, 96759, 101935, 14847, 3444, 47, 91995, 678, 51529, 36746, 23509, 46876, 4527, 115049, 1439, 82761, 12921, 3034, 5423, 4734...
[ 0.1822509765625, 0.1661376953125, 0.182861328125, 0.170166015625, 0.09130859375, 0.2147216796875, 0.1048583984375, 0.1856689453125, 0.191650390625, 0.093994140625, 0.0633544921875, 0.1390380859375, 0.15478515625, 0.026275634765625, 0.0858154296875, 0.1925048828125, 0.0799560546875, ...
embed
50181215_c0
50181215
fsharp
0
Title: F#: Why does script file not recognize module? Problem title: F#: Why does script file not recognize module? Tags: f%23, f%23-scripting Problem: F#: Why does script file not recognize module? I create a new F# console application project in Visual Studio 2015 I create a simple new module file called Calc.fs like...
F#: Why does script file not recognize module? F#: Why does script file not recognize module? f%23 f%23-scripting Why Calc F#: Why does script file not recognize module? I create a new F# console application project in Visual Studio 2015 I create a simple new module file called Calc.fs like so: I add an F# script file ...
[ 0.018798828125, 0.00078582763671875, -0.0107421875, 0.0225830078125, 0.0238037109375, -0.004913330078125, 0.02783203125, -0.021728515625, 0.007415771484375, -0.01226806640625, -0.000518798828125, -0.0186767578125, 0.01007080078125, 0.0017547607421875, 0.00946044921875, -0.021728515625,...
[ 563, 4904, 44084, 26499, 11435, 959, 125296, 88996, 14602, 1238, 3742, 27495, 32032, 214, 9113, 238, 28282, 130250, 38415, 13452, 73372, 22968, 918, 8781, 5, 17447, 15190, 25632, 9969, 34759, 18499, 83, 30022, 135179, 7103, 12989, 102158 ]
[ 0.13427734375, 0.21484375, 0.10302734375, 0.2464599609375, 0.1796875, 0.12255859375, 0.1622314453125, 0.2427978515625, 0.017822265625, 0.06396484375, 0.024871826171875, 0.012481689453125, 0.1142578125, 0.00244140625, 0.17041015625, 0.14501953125, 0.025421142578125, 0.1279296875, ...
embed
52812678_c0
52812678
fsharp
0
Title: Find element in Map with Map.pick Problem title: Find element in Map with Map.pick Tags: f%23 Problem: Find element in Map with Map.pick I have something similar top this: let idx = 9 let map = Map.empty. Add(10, "abc"). Add( 9, "bcd"). Add( 8, "cde"). Add( 7, "def") let result = map |> Map.pick (fun key value -...
Find element in Map with Map.pick Find element in Map with Map.pick f%23 Find Map Map.pick Map.empty Add Some None Searches Find element in Map with Map.pick I have something similar top this: Map.pick from MSDN: Searches the map looking for the first element where the given function returns a Some value. I assume that...
[ -0.0093994140625, 0.00714111328125, 0.0257568359375, -0.0002498626708984375, -0.03466796875, 0.00982666015625, 0.01251220703125, -0.004364013671875, -0.0023345947265625, -0.0140380859375, 0.0159912109375, -0.0030059814453125, -0.01031494140625, 0.01953125, 0.00872802734375, -0.00152587...
[ 26040, 12830, 23, 42719, 678, 5, 18695, 92, 1238, 3949, 3742, 33548, 939, 29117, 31384, 438, 33086, 21373, 2663, 16265, 51671, 22288, 16487, 5117, 7440, 34475, 32354, 30646, 34292, 41591, 157318, 72134, 1295, 3564, 70, 361, 98186, 209, 1675...
[ 0.14501953125, 0.193603515625, 0.08935546875, 0.219482421875, 0.1534423828125, 0.0596923828125, 0.193359375, 0.13427734375, 0.0648193359375, 0.03564453125, 0.1614990234375, 0.1112060546875, 0.029876708984375, 0.0941162109375, 0.05621337890625, 0.066162109375, 0.168212890625, 0.0376...
embed
61053105_c0
61053105
fsharp
0
Title: FSharp.Data HTTP Utility RequestString response Body is prepended with the word &quot;Text&quot; Problem title: FSharp.Data HTTP Utility RequestString response Body is prepended with the word &quot;Text&quot; Tags: f%23-data, f%23 Problem: FSharp.Data HTTP Utility RequestString response Body is prepended with th...
FSharp.Data HTTP Utility RequestString response Body is prepended with the word &quot;Text&quot; FSharp.Data HTTP Utility RequestString response Body is prepended with the word &quot;Text&quot; f%23-data f%23 FSharp.Data HTTP Utility RequestString Body Text Years FSharp.Data HTTP Utility RequestString response Body is ...
[ 0.0167236328125, 0.0289306640625, 0.011962890625, 0.00421142578125, -0.0069580078125, 0.0081787109375, 0.0194091796875, 0.003387451171875, 0.002166748046875, -0.0135498046875, 0.01239013671875, 0.00469970703125, -0.01708984375, -0.0194091796875, 0.02685546875, -0.0023040771484375, 0....
[ 93774, 3467, 254, 137989, 135913, 73876, 939, 853, 75616, 71713, 57553, 43960, 479, 26885, 678, 70, 2565, 174379, 1238, 167218, 27495, 10135, 3742, 24129, 42552, 5, 83, 8781, 1467, 11782, 79794, 31470, 30646, 1647, 1681, 119671, 2661, 831, ...
[ 0.08465576171875, 0.1920166015625, 0.1842041015625, 0.147216796875, 0.15869140625, 0.15234375, 0.06719970703125, 0.028289794921875, 0.1068115234375, 0.1473388671875, 0.1793212890625, 0.2384033203125, 0.1048583984375, 0.1927490234375, 0.06634521484375, 0.0126953125, 0.15185546875, 0...
embed
21033105_c0
21033105
fsharp
0
Title: Initializing a C#-struct from F#? Problem title: Initializing a C#-struct from F#? Tags: c%23, c%23-to-f%23, f%23, struct Problem: Initializing a C#-struct from F#? I have a simple C# struct that I want to consume from F#: public struct Stat : IEquatable<Stat> { public ulong st_dev; public long st_blocks; } The ...
Initializing a C#-struct from F#? Initializing a C#-struct from F#? c%23 c%23-to-f%23 f%23 struct F# Initializing Stat IEquatable st_dev st_blocks stbuf.st_blocks stbuf.st_dev Initializing a C#-struct from F#? I have a simple C# struct that I want to consume from F#: The way I've found to do it feels too C#ish and muta...
[ 0.0029296875, 0.0220947265625, 0.0118408203125, -0.024658203125, -0.000667572021484375, -0.0014190673828125, 0.005615234375, -0.0216064453125, 0.006317138671875, 0.016845703125, 0.0091552734375, 0.0255126953125, 0.0203857421875, 0.0081787109375, -0.00616455078125, -0.0011749267578125, ...
[ 360, 1890, 289, 84382, 313, 4904, 9, 36716, 1295, 563, 32, 3742, 27495, 188, 420, 1238, 23888, 90065, 2886, 6138, 18548, 81409, 20101, 5, 271, 8781, 3444, 18588, 13, 3917, 14037, 12319, 5792, 4745, 136, 842, 22819, 47, 163, 23, 5809, ...
[ 0.070068359375, 0.127197265625, 0.1090087890625, 0.052490234375, 0.097412109375, 0.26220703125, 0.130615234375, 0.23974609375, 0.14697265625, 0.1790771484375, 0.029754638671875, 0.0802001953125, 0.1163330078125, 0.119873046875, 0.0885009765625, 0.03448486328125, 0.1846923828125, 0....
embed
24062277_c0
24062277
fsharp
0
Title: can I organize method definition order inside a single file somehow? Problem title: can I organize method definition order inside a single file somehow? Tags: f%23 Problem: can I organize method definition order inside a single file somehow? I want to define helper methods below the methods that consume them, is...
can I organize method definition order inside a single file somehow? can I organize method definition order inside a single file somehow? f%23 can I organize method definition order inside a single file somehow? I want to define helper methods below the methods that consume them, is there a way to do this in a single f...
[ 0.0172119140625, 0.02490234375, 0.0123291015625, 0.0159912109375, -0.01483154296875, 0.000553131103515625, -0.0166015625, -0.0184326171875, 0.0059814453125, -0.00787353515625, -0.0223388671875, -0.00482177734375, -0.004913330078125, -0.00360107421875, 0.00714111328125, -0.0032653808593...
[ 831, 87, 5808, 13, 55300, 80934, 12989, 46132, 11001, 11435, 209303, 1238, 3742, 3444, 61924, 4358, 56, 150624, 35064, 18588, 3917, 54, 23, 563, 4904, 14707, 2663, 60042, 17723, 205969, 2684, 44982, 113954, 224545, 110608, 159978, 5201, 9790,...
[ 0.07916259765625, 0.030548095703125, 0.2391357421875, 0.07891845703125, 0.2418212890625, 0.21826171875, 0.2220458984375, 0.1378173828125, 0.1409912109375, 0.2109375, 0.061859130859375, 0.005859375, 0.04644775390625, 0.0382080078125, 0.1881103515625, 0.1505126953125, 0.108154296875, ...
embed
377078_c0
377078
fsharp
0
Title: F# Floating point ranges are experimental and may be deprecated Problem title: F# Floating point ranges are experimental and may be deprecated Tags: f%23, floating-point Problem: F# Floating point ranges are experimental and may be deprecated I'm trying to make a little function to interpolate between two values...
F# Floating point ranges are experimental and may be deprecated F# Floating point ranges are experimental and may be deprecated f%23 floating-point Floating F# Floating point ranges are experimental and may be deprecated I'm trying to make a little function to interpolate between two values with a given increment. The ...
[ 0, -0.001708984375, 0.0050048828125, -0.000949859619140625, 0.01043701171875, 0.022216796875, 0.004119873046875, -0.01165771484375, -0.0072021484375, 0.0035552978515625, -0.0181884765625, 0.0126953125, 0.0205078125, 0.0279541015625, 0.016845703125, 0.00153350830078125, -0.00628662109...
[ 563, 4904, 38699, 26518, 6275, 37457, 195935, 1543, 8, 4692, 4460, 1238, 3949, 3742, 21917, 38496, 31577, 3249, 10176, 32354, 1940, 69990, 17721, 6626, 142424, 678, 34475, 158661, 9969, 34759, 42459, 17368, 23, 933, 176050, 47, 257, 37202, ...
[ 0.1199951171875, 0.2222900390625, 0.208251953125, 0.087890625, 0.1422119140625, 0.185302734375, 0.2381591796875, 0.06591796875, 0.1043701171875, 0.1378173828125, 0.1455078125, 0.083251953125, 0.06072998046875, 0.1787109375, 0.2457275390625, 0.10272216796875, 0.0775146484375, 0.0445...
embed
9890304_c0
9890304
fsharp
0
Title: How to type cast in F#? Problem title: How to type cast in F#? Tags: types, casting, f%23 Problem: How to type cast in F#? I have to enumerate through the members of a collection and create an array with a particular property of the members: let ops: int array = [| for x in app.Operations -> let op= x : IAzOpera...
How to type cast in F#? How to type cast in F#? types casting f%23 How app.Operations IAzOperation op.OperationID Obj How to type cast in F#? I have to enumerate through the members of a collection and create an array with a particular property of the members: Here app.Operations is a collection of IAzOperation but on ...
[ 0.007232666015625, -0.0006256103515625, -0.00335693359375, 0.006561279296875, -0.009033203125, -0.0167236328125, -0.006072998046875, 0.0174560546875, 0.000331878662109375, -0.000972747802734375, 0.0255126953125, 0.00543212890625, 0.006866455078125, -0.00193023681640625, -0.00418090820312...
[ 11249, 47, 10644, 37702, 23, 563, 4904, 32, 52895, 176050, 1238, 3949, 3742, 4027, 156823, 5256, 87, 16135, 1363, 233, 7146, 3545, 170, 189085, 67, 8305, 43032, 42486, 28282, 10298, 678, 17311, 57266, 11853, 30646, 12638, 32786, 237, 3444, ...
[ 0.0882568359375, 0.061126708984375, 0.2457275390625, 0.260498046875, 0.0946044921875, 0.1453857421875, 0.2130126953125, 0.009552001953125, 0.2086181640625, 0.2178955078125, 0.083251953125, 0.007415771484375, 0.08087158203125, 0.150390625, 0.1981201171875, 0.1097412109375, 0.066040039...
embed
5103447_c0
5103447
fsharp
0
Title: F# linq - How to filter for only unique values? Problem title: F# linq - How to filter for only unique values? Tags: f%23, linq-to-sql, linq Problem: F# linq - How to filter for only unique values? my seq linq is <@ db.Dictionaries |> Seq.filter(fun x -> x.ID_Line = l1 || x.ID_Line = l2) @> |> fun pquery -> <@ s...
F# linq - How to filter for only unique values? F# linq - How to filter for only unique values? f%23 linq-to-sql linq How db.Dictionaries Seq.filter x.ID_Line db.DeltaCompares cl1 cl2 cd.IID1 cl1.IID cd.IID2 cl2.IID Some None Seq.choose Seq.collect List.ofSeq F# linq - How to filter for only unique values? my seq linq ...
[ 0.0050048828125, 0.01513671875, -0.00103759765625, -0.014892578125, -0.0038909912109375, -0.00799560546875, 0.003509521484375, 0.003814697265625, 0.0038299560546875, -0.0361328125, -0.0198974609375, 0.0250244140625, 0.011962890625, 0.00189208984375, -0.01019287109375, 0.0172119140625, ...
[ 563, 4904, 96, 44982, 11249, 46312, 100, 4734, 36998, 142424, 1238, 3742, 188, 99247, 40041, 10763, 503, 864, 120337, 1022, 7146, 93232, 58598, 102, 108161, 68291, 33139, 304, 56329, 10001, 438, 3089, 5, 196352, 32036, 4390, 4233, 40, 3688,...
[ 0.10791015625, 0.1693115234375, 0.090087890625, 0.2393798828125, 0.07098388671875, 0.28369140625, 0.1248779296875, 0.1610107421875, 0.2666015625, 0.2056884765625, 0.06951904296875, 0.0924072265625, 0.1048583984375, 0.198974609375, 0.0484619140625, 0.0780029296875, 0.05645751953125, ...
embed
78558128_c0
78558128
fsharp
0
Title: Why does this member inline snippet throw an FS1113 error (inline but uses internal or private)? Problem title: Why does this member inline snippet throw an FS1113 error (inline but uses internal or private)? Tags: f%23 Problem: Why does this member inline snippet throw an FS1113 error (inline but uses internal ...
Why does this member inline snippet throw an FS1113 error (inline but uses internal or private)? Why does this member inline snippet throw an FS1113 error (inline but uses internal or private)? f%23 Why FS1113 SomeType _.Value Value x.Value Why does this member inline snippet throw an FS1113 error (inline but uses inte...
[ 0.00396728515625, 0.00099945068359375, 0.0057373046875, -0.0018157958984375, -0.00262451171875, 0.00457763671875, 0.017333984375, -0.008056640625, 0.001373291015625, -0.00141143798828125, 0.02978515625, 0.041748046875, 0.01080322265625, 0.00958251953125, 0.024658203125, -0.013122558593...
[ 44084, 903, 32786, 23, 2256, 93, 58134, 104250, 93774, 1662, 2681, 18499, 73, 4527, 70796, 707, 14375, 1284, 3949, 3742, 31384, 196707, 101, 856, 50770, 190060, 1022, 14602, 6626, 79852, 6003, 15555, 32055, 9969, 1340 ]
[ 0.10247802734375, 0.054931640625, 0.1824951171875, 0.04608154296875, 0.176025390625, 0.1070556640625, 0.1395263671875, 0.0858154296875, 0.1617431640625, 0.1263427734375, 0.2454833984375, 0.171630859375, 0.0655517578125, 0.0631103515625, 0.1873779296875, 0.033935546875, 0.187622070312...
embed
9518503_c0
9518503
fsharp
0
Title: fst and 3-tuple in fsharp Problem title: fst and 3-tuple in fsharp Tags: tuples, iterable-unpacking, cons, f%23 Problem: fst and 3-tuple in fsharp Do you know the nicest way to make this work : let toTableau2D (seqinit:seq<'a*'b*'c>) = let myfst = fun (a,b,c) -> a let myscd = fun (a,b,c) -> b let mytrd = fun (a,...
fst and 3-tuple in fsharp fst and 3-tuple in fsharp tuples iterable-unpacking cons f%23 toTableau2D seqinit:seq groupBy2 Seq.groupBy Seq.map Set.ofSeq List.ofSeq fst and 3-tuple in fsharp Do you know the nicest way to make this work : there must be a better way than rewriting fst.. UPDATE After pad advice, I rewrote pa...
[ 0.0262451171875, -0.01129150390625, -0.00860595703125, 0.0089111328125, 0.00145721435546875, -0.00787353515625, 0.00811767578125, 0.0172119140625, 0.0179443359375, -0.035888671875, -0.00579833984375, 0.044189453125, -0.00122833251953125, 0.035888671875, -0.0213623046875, 0.006774902343...
[ 1238, 271, 136, 5691, 458, 8705, 89280, 254, 23, 370, 99726, 720, 2886, 309, 29102, 158, 3742, 47, 916, 397, 40, 117144, 18, 184, 864, 21115, 75358, 304, 503, 51588, 62346, 19943, 4390, 32036, 3714, 70, 10443, 525, 3917, 903, 4488, 11...
[ 0.10516357421875, 0.1866455078125, 0.0723876953125, 0.17333984375, 0.1468505859375, 0.169921875, 0.1890869140625, 0.14697265625, 0.00018310546875, 0.123779296875, 0.187744140625, 0.149169921875, 0.1070556640625, 0.060272216796875, 0.1949462890625, 0.171875, 0.129638671875, 0.059997...
embed
73919355_c0
73919355
fsharp
0
Title: Missing option for C# but only F# when creating new ASP.NET Core Web App (Model-View-Controller) template in Visual Studio 2019 Problem title: Missing option for C# but only F# when creating new ASP.NET Core Web App (Model-View-Controller) template in Visual Studio 2019 Tags: asp.net-core-mvc, c%23, f%23 Problem...
Missing option for C# but only F# when creating new ASP.NET Core Web App (Model-View-Controller) template in Visual Studio 2019 Missing option for C# but only F# when creating new ASP.NET Core Web App (Model-View-Controller) template in Visual Studio 2019 asp.net-core-mvc c%23 f%23 Missing ASP.NET Core Web App Model-Vi...
[ -0.01458740234375, 0.018798828125, -0.00677490234375, -0.008056640625, -0.0023193359375, -0.0194091796875, -0.0115966796875, 0.0027313232421875, -0.005950927734375, 0.0064697265625, -0.0000743865966796875, -0.038330078125, 0.0050048828125, 0.016357421875, 0.020751953125, 0.002670288085...
[ 16771, 35829, 100, 313, 4904, 1284, 4734, 563, 105233, 3525, 147153, 17777, 31365, 4002, 5659, 140290, 100474, 175904, 110934, 73372, 22968, 3640, 254, 1179, 30854, 66357, 3742, 13293, 2967, 132283, 61922, 441, 44160, 121461, 105348, 4358, 3773...
[ 0.114501953125, 0.188232421875, 0.006591796875, 0.060333251953125, 0.20947265625, 0.0107421875, 0.041656494140625, 0.096435546875, 0.1248779296875, 0.0755615234375, 0.125732421875, 0.07928466796875, 0.11572265625, 0.0914306640625, 0.130859375, 0.1275634765625, 0.13427734375, 0.1240...
embed
15936900_c0
15936900
fsharp
0
Title: F# Database Type Provider that uses dumb DTOs Problem title: F# Database Type Provider that uses dumb DTOs Tags: f%23, linq-to-sql, type-providers Problem: F# Database Type Provider that uses dumb DTOs I've tried searching and can't find any type providers for databases other than the linq one which spits out th...
F# Database Type Provider that uses dumb DTOs F# Database Type Provider that uses dumb DTOs f%23 linq-to-sql type-providers Database Type Provider DTOs F# Database Type Provider that uses dumb DTOs I've tried searching and can't find any type providers for databases other than the linq one which spits out the connected...
[ 0.0026092529296875, 0.00946044921875, -0.01556396484375, 0.0042724609375, -0.0322265625, 0.031005859375, -0.00897216796875, -0.0008544921875, -0.01458740234375, -0.042724609375, -0.00750732421875, -0.0164794921875, -0.01287841796875, 0.0028839111328125, -0.01312255859375, -0.0021972656...
[ 563, 4904, 187781, 60457, 123089, 42, 450, 4527, 115, 6492, 391, 8727, 7, 1238, 3742, 96, 44982, 188, 99247, 10644, 93136, 37842, 157318, 7413, 81450, 63399, 16195, 1810, 162711, 36746, 52895, 4677, 55720, 156377, 80866, 35773, 191082, 96760,...
[ 0.09954833984375, 0.2080078125, 0.153076171875, 0.2158203125, 0.1761474609375, 0.051483154296875, 0.0244293212890625, 0.1016845703125, 0.12744140625, 0.1744384765625, 0.088134765625, 0.23974609375, 0.0440673828125, 0.0416259765625, 0.07354736328125, 0.062103271484375, 0.19482421875, ...
embed
14469587_c0
14469587
fsharp
0
Title: mapping xml node to user defined data type in F# Problem title: mapping xml node to user defined data type in F# Tags: xml, macros, f%23 Problem: mapping xml node to user defined data type in F# Trying to convert an XML file (e.g. a list of sales record) to a list of type_sales in F#. but i don't want to write s...
mapping xml node to user defined data type in F# mapping xml node to user defined data type in F# xml macros f%23 mapping xml node to user defined data type in F# Trying to convert an XML file (e.g. a list of sales record) to a list of type_sales in F#. but i don't want to write something like: xmlnode.product = typesa...
[ 0.0019683837890625, 0.00897216796875, 0.00439453125, -0.0030975341796875, -0.00927734375, 0.0303955078125, -0.012939453125, 0.007080078125, 0.006317138671875, -0.0216064453125, -0.00836181640625, -0.017822265625, -0.0003662109375, -0.013671875, 0.0107421875, -0.0228271484375, 0.00558...
[ 291, 26783, 131492, 110, 112, 47, 38937, 61924, 2053, 10644, 563, 4904, 23, 111789, 1238, 3742, 96760, 92537, 11435, 5303, 40575, 17164, 7, 21183, 3444, 33022, 157, 57877, 52895, 5293, 18151, 51776, 21373, 400, 7008, 4171, 54, 75034, 3126, ...
[ 0.15869140625, 0.1290283203125, 0.2330322265625, 0.11376953125, 0.1036376953125, 0.1019287109375, 0.156005859375, 0.1470947265625, 0.091064453125, 0.191162109375, 0.144775390625, 0.2218017578125, 0.0487060546875, 0.2161865234375, 0.11083984375, 0.0921630859375, 0.1177978515625, 0.1...
embed
23594108_c0
23594108
fsharp
0
Title: Why is this (~=) considered a prefix operator? Problem title: Why is this (~=) considered a prefix operator? Tags: operator-overloading, f%23 Problem: Why is this (~=) considered a prefix operator? let tolerance = 0.00000001 let (~=) x1 x2 = abs(x1 - x2) < tolerance This throws the error: "invalid operator defin...
Why is this (~=) considered a prefix operator? Why is this (~=) considered a prefix operator? operator-overloading f%23 Why Why is this (~=) considered a prefix operator? This throws the error: "invalid operator definition. Prefix operator definitions must use a valid prefix operator name" This isn't even a prefix oper...
[ 0.01336669921875, -0.002166748046875, 0.0281982421875, 0.0013580322265625, 0.0155029296875, -0.005279541015625, 0.00109100341796875, 0.006103515625, 0.00531005859375, 0.0322265625, 0.0257568359375, 0.015625, 0.019775390625, -0.0086669921875, -0.004241943359375, 0.00152587890625, -0.0...
[ 44084, 83, 903, 2306, 1369, 90698, 10, 183114, 39933, 5465, 63033, 214, 1238, 3949, 3742, 104250, 70, 18499, 7013, 71, 80934, 1914, 55923, 8110, 4527, 35604, 9351, 3293, 56112, 18, 3853, 15400, 5351, 25632, 5885, 4734, 101089, 12989, 22422,...
[ 0.1341552734375, 0.039764404296875, 0.12890625, 0.1767578125, 0.237060546875, 0.12890625, 0.05084228515625, 0.252685546875, 0.25244140625, 0.100341796875, 0.186279296875, 0.01947021484375, 0.0931396484375, 0.08074951171875, 0.13720703125, 0.08233642578125, 0.017547607421875, 0.1176...
embed
64354748_c0
64354748
fsharp
0
Title: Removing of tail items in F# Problem title: Removing of tail items in F# Tags: f%23, .net, f%23-interactive Problem: Removing of tail items in F# I am a beginner in the F# world. I have a question regarding the removal of items in a list. Suppose you have a arbitrary list, lets say let list1 = [0;1;2;0;3;4;0;0] ...
Removing of tail items in F# Removing of tail items in F# f%23 .net f%23-interactive Removing list1 List.rev Head ps.Tail Removing of tail items in F# I am a beginner in the F# world. I have a question regarding the removal of items in a list. Suppose you have a arbitrary list, lets say I want to remove all the last ze...
[ 0.002227783203125, 0.0252685546875, 0.00323486328125, 0.0079345703125, -0.00408935546875, -0.007354736328125, 0.01416015625, 0.007049560546875, 0.00823974609375, 0.0033111572265625, 0.0140380859375, 0.003173828125, 0.007781982421875, 0.01953125, 0.0111083984375, 0.009765625, 0.028808...
[ 853, 432, 6496, 111, 46741, 55769, 23, 563, 4904, 1238, 3742, 1179, 10433, 5303, 418, 32036, 65381, 44816, 24014, 9874, 379, 9842, 1679, 8999, 9655, 49146, 1405, 61799, 3444, 87388, 756, 70, 4568, 45234, 24209, 2203, 2389, 363, 617, 37842...
[ 0.047088623046875, 0.1495361328125, 0.060028076171875, 0.1279296875, 0.273681640625, 0.2021484375, 0.0579833984375, 0.1572265625, 0.2218017578125, 0.071044921875, 0.0335693359375, 0.0546875, 0.041351318359375, 0.1966552734375, 0.04949951171875, 0.1593017578125, 0.12841796875, 0.133...
embed
5759332_c0
5759332
fsharp
0
Title: F# - Extract parameter from Expr Problem title: F# - Extract parameter from Expr Tags: f%23 Problem: F# - Extract parameter from Expr My questions will no end take... I've the function: let hasMany (expr:Expr<'a -> seq<'b>>) now I want to extract the seq<'b> from the Expr since I need to cast it to an ICollectio...
F# - Extract parameter from Expr F# - Extract parameter from Expr f%23 Expr Extract expr:Expr ICollection F# - Extract parameter from Expr My questions will no end take... I've the function: now I want to extract the seq<'b> from the Expr since I need to cast it to an ICollection<'b> and wrap it back into a new Expr - ...
[ -0.00506591796875, 0.005584716796875, 0.01220703125, 0.016357421875, -0.00848388671875, 0.007476806640625, -0.004913330078125, 0.01202392578125, 0.009765625, -0.0478515625, -0.01312255859375, -0.006103515625, -0.01373291015625, 0.004547119140625, 0.005584716796875, -0.01043701171875, ...
[ 563, 4904, 31501, 15390, 171859, 1295, 60075, 42, 20, 1238, 3949, 3742, 14700, 19279, 10287, 69010, 45878, 10763, 17582, 5646, 272, 32354, 5036, 3444, 125663, 40, 864, 275, 3871, 37702, 137565, 4420, 44084, 3249, 51776, 5117, 8781, 38937, 4...
[ 0.1351318359375, 0.218017578125, 0.211181640625, 0.1138916015625, 0.276611328125, 0.145263671875, 0.1915283203125, 0.2081298828125, 0.0261993408203125, 0.1082763671875, 0.0677490234375, 0.1519775390625, 0.1392822265625, 0.1016845703125, 0.2216796875, 0.0228424072265625, 0.17468261718...
embed
30156414_c0
30156414
fsharp
0
Title: Running c# async method in f# workflow Problem title: Running c# async method in f# workflow Tags: async-await, c%23-to-f%23, f%23 Problem: Running c# async method in f# workflow I am trying to get the below code to work in a F# async workflow, but I am getting the error "Unexpected symbol '}' in expression". I ...
Running c# async method in f# workflow Running c# async method in f# workflow async-await c%23-to-f%23 f%23 Running HttpRequestMesssage req.Content.ReadAsMultipartAsync Async.AwaitIAsyncResult Async.RunSynchronously req.CreateResponse HttpStatusCode.OK Running c# async method in f# workflow I am trying to get the below...
[ 0.000949859619140625, -0.0003070831298828125, 0.005340576171875, -0.02880859375, -0.002685546875, 0.0189208984375, -0.0120849609375, -0.01019287109375, -0.004486083984375, -0.0172119140625, 0.0084228515625, 0.0341796875, 0.0014495849609375, -0.0089111328125, 0.02197265625, -0.019775390...
[ 28398, 592, 501, 4904, 10, 12654, 238, 55300, 23, 1238, 4488, 118664, 7978, 217, 27495, 188, 420, 3742, 3062, 75616, 113709, 1192, 456, 864, 25352, 31345, 19659, 50657, 118, 17365, 634, 7, 7136, 163321, 217835, 127, 1900, 63784, 94399, 13...
[ 0.1356201171875, 0.0192413330078125, 0.04010009765625, 0.22412109375, 0.0745849609375, 0.2431640625, 0.145263671875, 0.177734375, 0.0361328125, 0.1087646484375, 0.1014404296875, 0.2327880859375, 0.136962890625, 0.110595703125, 0.1090087890625, 0.1107177734375, 0.06268310546875, 0.0...
embed
50553215_c0
50553215
fsharp
0
Title: Detect when FParsec has not parsed all the input Problem title: Detect when FParsec has not parsed all the input Tags: fparsec, f%23 Problem: Detect when FParsec has not parsed all the input How can you detect when an FParsec parser has stopped without parsing all the input? For example, the following parser p s...
Detect when FParsec has not parsed all the input Detect when FParsec has not parsed all the input fparsec f%23 Detect FParsec Success Failure Detect when FParsec has not parsed all the input How can you detect when an FParsec parser has stopped without parsing all the input? For example, the following parser p stops wh...
[ -0.00518798828125, 0.00762939453125, 0.000598907470703125, 0.02197265625, -0.0103759765625, 0.019287109375, 0.001312255859375, -0.02001953125, 0.000728607177734375, 0.027587890625, 0.00958251953125, -0.00335693359375, -0.0027008056640625, 0.01251220703125, -0.00151824951171875, -0.0008...
[ 579, 24762, 3229, 563, 28636, 39797, 1556, 959, 366, 5281, 756, 107730, 1238, 2500, 3742, 144053, 190355, 831, 96391, 2189, 118066, 15490, 6953, 70, 25632, 915, 7279, 7, 7413, 241957, 62816, 104, 21342, 184, 47143, 820 ]
[ 0.1260986328125, 0.116943359375, 0.043670654296875, 0.1280517578125, 0.1796875, 0.2401123046875, 0.0821533203125, 0.1390380859375, 0.157958984375, 0.1158447265625, 0.1253662109375, 0.2001953125, 0.08074951171875, 0.1556396484375, 0.0797119140625, 0.12255859375, 0.070556640625, 0.02...
embed
6793774_c1
6793774
fsharp
1
allel |> Async.RunSynchronously |> Array.map getReturns;; However, the getReturns function is executed once every file is downloaded and parsed. What I would like to know, is if it is possible to start execution the second function while the downloads are still taking place: once MSFT is done, no need to wait until YHO...
allel |> Async.RunSynchronously |> Array.map getReturns;; However, the getReturns function is executed once every file is downloaded and parsed. What I would like to know, is if it is possible to start execution the second function while the downloads are still taking place: once MSFT is done, no need to wait until YHO...
[ -0.01043701171875, 0.00823974609375, 0.00396728515625, 0.008544921875, 0.004425048828125, 0.011962890625, 0.005126953125, 0.00133514404296875, 0.0166015625, -0.021484375, 0.00130462646484375, 0.03125, 0.002777099609375, -0.00982666015625, 0.0240478515625, 0.00112152099609375, 0.00015...
[ 747, 141, 62, 12654, 238, 163321, 217835, 127, 1900, 79850, 69253, 53, 62346, 2046, 4332, 987, 1779, 32354, 71924, 24145, 11907, 11435, 7026, 136, 366, 5281, 1884, 3714, 7722, 4034, 1830, 17932, 12960, 7464, 35971, 3687, 16265, 25217, 16940...
[ 0.138671875, 0.124267578125, 0.00775146484375, 0.1368408203125, 0.059295654296875, 0.0772705078125, 0.058868408203125, 0.02044677734375, 0.101806640625, 0.1112060546875, 0.08734130859375, 0.06005859375, 0.1729736328125, 0.15185546875, 0.1697998046875, 0.2403564453125, 0.1793212890625...
embed
60882973_c1
60882973
fsharp
1
communicating status upon request) is the same in both worlds (requests triggered by FileSystemWatcher events or REST API), but I use the REST approach to explain my desired functionality: I want to be able to start jobs (POST) (with response: job accepted, job ID = xyz), check the status of the jobs (GET with job id,...
communicating status upon request) is the same in both worlds (requests triggered by FileSystemWatcher events or REST API), but I use the REST approach to explain my desired functionality: I want to be able to start jobs (POST) (with response: job accepted, job ID = xyz), check the status of the jobs (GET with job id,...
[ 0.015869140625, 0.025390625, -0.0023956298828125, -0.00531005859375, 0.00115966796875, 0.01434326171875, 0.00604248046875, -0.01123046875, 0.000499725341796875, 0.00836181640625, -0.00787353515625, 0.01611328125, -0.0166015625, 0.00830078125, 0.01202392578125, 0.0279541015625, 0.0200...
[ 127219, 1916, 10778, 54799, 50336, 70, 5701, 15044, 8999, 75616, 185553, 42724, 84293, 156378, 56, 47353, 627, 21828, 61687, 4527, 51515, 73342, 104851, 123309, 2481, 3444, 19048, 4034, 74464, 34274, 76228, 57553, 12447, 68186, 11338, 32189, 12...
[ 0.20849609375, 0.038909912109375, 0.2322998046875, 0.1373291015625, 0.218505859375, 0.00018310546875, 0.0792236328125, 0.0231781005859375, 0.112548828125, 0.1453857421875, 0.1473388671875, 0.1383056640625, 0.1239013671875, 0.22314453125, 0.0850830078125, 0.102294921875, 0.06726074218...
embed
39459472_c0
39459472
fsharp
0
Title: Why is F# printfn not implemented in terms of Console.WriteLine? Problem title: Why is F# printfn not implemented in terms of Console.WriteLine? Tags: console.writeline, printf, f%23 Problem: Why is F# printfn not implemented in terms of Console.WriteLine? I noticed an unexpected behavior when using F# printfn. ...
Why is F# printfn not implemented in terms of Console.WriteLine? Why is F# printfn not implemented in terms of Console.WriteLine? console.writeline printf f%23 Why Console.WriteLine Why is F# printfn not implemented in terms of Console.WriteLine? I noticed an unexpected behavior when using F# printfn. It seems to break...
[ -0.0017242431640625, -0.0037841796875, 0.031982421875, 0.0033721923828125, -0.0238037109375, 0.001373291015625, 0.021728515625, -0.0091552734375, 0.0023040771484375, 0.01483154296875, 0.0225830078125, -0.007537841796875, -0.0135498046875, 0.000583648681640625, 0.0213623046875, 0.029052...
[ 44084, 563, 4904, 28412, 14783, 959, 29479, 297, 69407, 1657, 40777, 18781, 93232, 130250, 434, 2256, 420, 1238, 3949, 3742, 1456, 156672, 241957, 123166, 17368, 36356, 1257, 9384, 79315, 3934, 7839, 11782, 48716, 20028, 12638, 41206, 64194, ...
[ 0.100830078125, 0.1337890625, 0.2359619140625, 0.1959228515625, 0.219482421875, 0.09521484375, 0.1661376953125, 0.0198974609375, 0.067626953125, 0.03460693359375, 0.1793212890625, 0.126708984375, 0.213623046875, 0.210205078125, 0.01739501953125, 0.1751708984375, 0.1661376953125, 0....
embed
4168220_c0
4168220
fsharp
0
Title: Implement C# equality operator from F# Problem title: Implement C# equality operator from F# Tags: operator-overloading, equality, f%23 Problem: Implement C# equality operator from F# Is it possible to provide an implementation for the C# equality (==) operator in F#? EDIT : This code: static member (=) (left : ...
Implement C# equality operator from F# Implement C# equality operator from F# operator-overloading equality f%23 F# other Implement Foo Object.Equals CLI op_Equality Implement C# equality operator from F# Is it possible to provide an implementation for the C# equality (==) operator in F#? EDIT : This code: Produces the...
[ 0.01470947265625, 0.001922607421875, 0.03173828125, 0.015625, 0.00897216796875, -0.0084228515625, -0.00341796875, 0.004974365234375, 0.0024261474609375, -0.0027618408203125, 0.00909423828125, 0.0057373046875, 0.010986328125, 0.0166015625, -0.0033721923828125, -0.01019287109375, -0.01...
[ 153941, 313, 4904, 28, 161789, 39933, 1295, 563, 5465, 63033, 1238, 3949, 3742, 9572, 31, 134549, 647, 71723, 10927, 233, 454, 7722, 22691, 142, 208124, 69112, 23, 18151, 103687, 9969, 34759, 1631, 9351, 1369, 5608, 959, 11814, 32786, 61924...
[ 0.21142578125, 0.051971435546875, 0.223876953125, 0.1177978515625, 0.25732421875, 0.2423095703125, 0.0726318359375, 0.14404296875, 0.085693359375, 0.1627197265625, 0.07086181640625, 0.0187835693359375, 0.088623046875, 0.1312255859375, 0.1007080078125, 0.1826171875, 0.139404296875, ...
embed
8479612_c0
8479612
fsharp
0
Title: F# Find dictionary entries with some conditions Problem title: F# Find dictionary entries with some conditions Tags: f%23 Problem: F# Find dictionary entries with some conditions let dTuples = new Dictionary<int, string * string * int>() dTuples.Add(1, ("A", "OK", 1)) dTuples.Add(2, ("B", "NOK", 2)) dTuples.Add(...
F# Find dictionary entries with some conditions F# Find dictionary entries with some conditions f%23 Find Dictionary dTuples.Add NOK F# Find dictionary entries with some conditions I want to find the items from the dictionary where they have "OK" in the second element of the value part. I also want to convert the resul...
[ 0.01153564453125, -0.01080322265625, 0.005584716796875, 0.008056640625, -0.002777099609375, -0.003997802734375, -0.0118408203125, 0.0086669921875, -0.001739501953125, 0.0289306640625, 0.01055908203125, 0.006561279296875, -0.0234375, 0.000004976987838745117, 0.01123046875, 0.00970458984...
[ 563, 4904, 26040, 45, 10763, 6635, 112820, 90, 678, 3060, 27289, 1238, 3742, 147638, 104, 15665, 99726, 4028, 167272, 3444, 7413, 55769, 1295, 7440, 1836, 765, 9092, 17932, 12830, 34292, 2831, 96760, 16750, 10298, 370, 8705, 15490, 22799, 2...
[ 0.10723876953125, 0.1695556640625, 0.15576171875, 0.0714111328125, 0.14453125, 0.112060546875, 0.186279296875, 0.054229736328125, 0.1121826171875, 0.0877685546875, 0.2369384765625, 0.0799560546875, 0.0753173828125, 0.1982421875, 0.011810302734375, 0.111328125, 0.216064453125, 0.088...
embed