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
14015768_c0
14015768
fsharp
0
Title: I'm having DLL trouble with F# Interactive on Visual Studio 2012 Problem title: I'm having DLL trouble with F# Interactive on Visual Studio 2012 Tags: f%23-interactive, f%23, visual-studio-2012, z3 Problem: I'm having DLL trouble with F# Interactive on Visual Studio 2012 I am running VS 2012 on a 64 bi...
I'm having DLL trouble with F# Interactive on Visual Studio 2012 I'm having DLL trouble with F# Interactive on Visual Studio 2012 f%23-interactive f%23 visual-studio-2012 z3 DLL Interactive Visual Studio visual-studio-2012 I'm having DLL trouble with F# Interactive on Visual Studio 2012 I am running VS 2012 o...
[ -0.0086669921875, 0.01275634765625, 0.00128173828125, -0.0079345703125, -0.00043487548828125, 0.01483154296875, -0.0111083984375, 0.005889892578125, -0.0087890625, -0.021728515625, 0.001678466796875, 0.0084228515625, 0.008056640625, 0.005859375, 0.022216796875, 0.0024566650390625, 0....
[ 3768, 19441, 391, 23708, 63134, 678, 563, 4904, 5337, 71232, 98, 73372, 22968, 1324, 1238, 27495, 10433, 3742, 21176, 52629, 54458, 97, 363, 51042, 44160, 7911, 4785, 36279, 5423, 919, 3137, 35829, 22225, 184, 5608, 114977, 47, 2789, 9433, ...
[ 0.055023193359375, 0.05859375, 0.1163330078125, 0.252197265625, 0.1456298828125, 0.081787109375, 0.146728515625, 0.221435546875, 0.16162109375, 0.181640625, 0.0565185546875, 0.199951171875, 0.1920166015625, 0.21533203125, 0.09039306640625, 0.03485107421875, 0.1142578125, 0.02033996...
embed
28229603_c0
28229603
fsharp
0
Title: How to Alias .NET functions in F# Problem title: How to Alias .NET functions in F# Tags: .net, f%23 Problem: How to Alias .NET functions in F# So in F# functions are supposedly first class citizens since it is a functional programming language and can be referenced. So I can do this just fine let double x = x * ...
How to Alias .NET functions in F# How to Alias .NET functions in F# .net f%23 How Alias NET times2 System.IO.File.WriteAllLines WriteAllLines How to Alias .NET functions in F# So in F# functions are supposedly first class citizens since it is a functional programming language and can be referenced. So I can do this jus...
[ -0.015869140625, 0.01165771484375, 0.009521484375, -0.00372314453125, -0.004974365234375, -0.00238037109375, -0.007415771484375, 0.016845703125, -0.02392578125, -0.00860595703125, -0.004608154296875, 0.0162353515625, -0.006103515625, 0.0223388671875, 0.0103759765625, -0.00994873046875,...
[ 11249, 47, 2132, 162, 5, 17777, 32354, 23, 563, 4904, 7, 1179, 1238, 3742, 20028, 304, 12353, 17780, 174350, 18781, 43512, 93232, 134598, 5117, 18507, 130367, 123309, 56037, 46876, 831, 91067, 54, 5885, 142, 55109, 41929, 5701, 138256, 18, ...
[ 0.052947998046875, 0.037872314453125, 0.1973876953125, 0.206787109375, 0.0694580078125, 0.2237548828125, 0.2130126953125, 0.048980712890625, 0.1444091796875, 0.19970703125, 0.022247314453125, 0.16552734375, 0.03680419921875, 0.07666015625, 0.191162109375, 0.1947021484375, 0.061004638...
embed
62125518_c0
62125518
fsharp
0
Title: Make an F# class or module for a C# interface? Problem title: Make an F# class or module for a C# interface? Tags: f%23, interface, interop Problem: Make an F# class or module for a C# interface? I am totally lost on F# interfaces. I am trying to replace my C# classes with F# types that satisfy the C# interfaces...
Make an F# class or module for a C# interface? Make an F# class or module for a C# interface? f%23 interface interop Make IPatientName DateTime PatientName Make an F# class or module for a C# interface? I am totally lost on F# interfaces. I am trying to replace my C# classes with F# types that satisfy the C# interfaces...
[ 0.00762939453125, 0.0078125, -0.005523681640625, 0.0086669921875, 0.00347900390625, 0.026123046875, -0.011474609375, 0.005157470703125, -0.0036163330078125, -0.0034637451171875, -0.0191650390625, -0.00970458984375, -0.00567626953125, 0.005218505859375, -0.00750732421875, 0.011047363281...
[ 26176, 563, 4904, 18507, 707, 88996, 100, 313, 101758, 32, 142, 1238, 3949, 3742, 1940, 2146, 8021, 257, 18750, 163612, 25512, 70059, 135004, 87, 444, 112668, 72856, 31577, 91995, 61112, 678, 52895, 40407, 70, 25632, 759, 18151, 48716, 262,...
[ 0.1214599609375, 0.1358642578125, 0.2384033203125, 0.215576171875, 0.05487060546875, 0.2064208984375, 0.1011962890625, 0.0543212890625, 0.22802734375, 0.021759033203125, 0.0699462890625, 0.10491943359375, 0.00201416015625, 0.11083984375, 0.114013671875, 0.14990234375, 0.0566711425781...
embed
77475971_c1
77475971
fsharp
1
ifting through search results (while having no prior .NET experience whatsoever), I learned that the .fsproj file " is an MSBuild script ", and MSBuild is used by every .NET language and framework. (I found the ASP.NET Core's Understanding the Project File docs page way better than the any of the MSBuild articles...) L...
ifting through search results (while having no prior .NET experience whatsoever), I learned that the .fsproj file " is an MSBuild script ", and MSBuild is used by every .NET language and framework. (I found the ASP.NET Core's Understanding the Project File docs page way better than the any of the MSBuild articles...) L...
[ -0.00049591064453125, 0.0301513671875, -0.003265380859375, -0.009521484375, -0.0029754638671875, 0.001708984375, -0.0087890625, -0.0238037109375, 0.0179443359375, 0.01470947265625, 0.02392578125, -0.00933837890625, -0.002716064453125, 0.00506591796875, 0.005950927734375, 0.004791259765...
[ 1916, 33938, 50339, 110, 41928, 17777, 16981, 97384, 5, 17447, 3454, 170, 11435, 83, 142, 16265, 121137, 26499, 11814, 390, 11907, 46876, 170846, 147153, 31365, 9626, 144057, 27331, 42724, 54, 4439, 11522, 38440, 8305, 26267, 171332, 13452, 9...
[ 0.009063720703125, 0.0760498046875, 0.0269622802734375, 0.0009765625, 0.013641357421875, 0.145263671875, 0.07568359375, 0.040191650390625, 0.033416748046875, 0.156494140625, 0.2034912109375, 0.2059326171875, 0.2239990234375, 0.05987548828125, 0.005157470703125, 0.14111328125, 0.26123...
embed
53109361_c0
53109361
fsharp
0
Title: Can an FsCheck generator create an ever-increasing sequence Problem title: Can an FsCheck generator create an ever-increasing sequence Tags: functional-programming, fscheck, f%23 Problem: Can an FsCheck generator create an ever-increasing sequence I'm using FsCheck to make a generator to create fake database rec...
Can an FsCheck generator create an ever-increasing sequence Can an FsCheck generator create an ever-increasing sequence functional-programming fscheck f%23 Can FsCheck Can an FsCheck generator create an ever-increasing sequence I'm using FsCheck to make a generator to create fake database records. Depending upon the fi...
[ -0.000209808349609375, 0.02490234375, -0.0103759765625, 0.01226806640625, 0.007415771484375, 0.0067138671875, 0.01422119140625, -0.02734375, -0.0038299560546875, -0.037841796875, 0.006591796875, 0.04345703125, 0.00054931640625, 0.0184326171875, 0.0250244140625, -0.0162353515625, -0.0...
[ 4171, 563, 7, 202567, 145823, 28282, 17669, 38893, 1283, 6953, 40, 944, 3956, 123309, 28966, 1238, 78292, 3742, 3249, 106287, 63399, 115923, 44457, 55076, 168407, 154663, 23, 933, 21917, 1632, 63134, 43452, 158978, 22799, 8110, 243228, 106, 5...
[ 0.092529296875, 0.120361328125, 0.09649658203125, 0.297119140625, 0.2398681640625, 0.161376953125, 0.1412353515625, 0.079345703125, 0.1441650390625, 0.060943603515625, 0.0931396484375, 0.1578369140625, 0.099609375, 0.130859375, 0.09539794921875, 0.0802001953125, 0.2587890625, 0.111...
embed
4111774_c0
4111774
fsharp
0
Title: Can I use the pipeline operator in F# to pass an argument to a constructor? Problem title: Can I use the pipeline operator in F# to pass an argument to a constructor? Tags: f%23 Problem: Can I use the pipeline operator in F# to pass an argument to a constructor? This code reverses a string: let reverse (s : stri...
Can I use the pipeline operator in F# to pass an argument to a constructor? Can I use the pipeline operator in F# to pass an argument to a constructor? f%23 Can s.ToCharArray Array.rev Doesn reverse2 System.Char Can I use the pipeline operator in F# to pass an argument to a constructor? This code reverses a string: Can...
[ -0.00250244140625, 0.00848388671875, -0.003936767578125, 0.025634765625, -0.01019287109375, -0.01513671875, 0.01190185546875, 0.0069580078125, 0.00299072265625, 0.00567626953125, 0.00946044921875, 0.00714111328125, 0.0255126953125, 0.0017852783203125, -0.010009765625, -0.0150146484375,...
[ 4171, 4527, 137158, 2256, 39933, 563, 4904, 27875, 10750, 47, 64549, 748, 87, 23, 1238, 3742, 91, 7763, 84068, 7614, 7092, 69253, 53, 65381, 101790, 19, 39531, 184, 304, 12353, 18151, 5908, 79315, 456, 5429, 75639, 17368, 56065, 49666, 83...
[ 0.074462890625, 0.08966064453125, 0.1689453125, 0.17822265625, 0.22265625, 0.1282958984375, 0.1956787109375, 0.09051513671875, 0.189697265625, 0.06494140625, 0.1302490234375, 0.109619140625, 0.0154571533203125, 0.0190582275390625, 0.073974609375, 0.1070556640625, 0.026275634765625, ...
embed
19586825_c0
19586825
fsharp
0
Title: Computation expressions for a Haskell programmer Problem title: Computation expressions for a Haskell programmer Tags: computation-expression, f%23, haskell, monads Problem: Computation expressions for a Haskell programmer I'm looking to learn F#, but one thing that's confusing to me is the computation expressio...
Computation expressions for a Haskell programmer Computation expressions for a Haskell programmer computation-expression f%23 haskell monads Computation Haskell Computation expressions for a Haskell programmer I'm looking to learn F#, but one thing that's confusing to me is the computation expression (do-notation??) sy...
[ -0.0203857421875, 0.01708984375, 0.02294921875, 0.0087890625, 0.005218505859375, 0.033203125, -0.00457763671875, -0.000888824462890625, 0.003692626953125, -0.0269775390625, -0.0130615234375, -0.01416015625, -0.00145721435546875, 0.017822265625, 0.0031890869140625, -0.000911712646484375...
[ 159415, 2320, 125195, 100, 20625, 142508, 77848, 10, 181135, 1363, 204629, 1238, 3949, 3742, 1556, 2667, 712, 7, 16487, 30698, 563, 4904, 55681, 6953, 246, 9, 157, 22062, 4767, 6002, 86531, 136, 224, 16565, 2852, 360, 4552, 8781, 60331, 7...
[ 0.2052001953125, 0.0692138671875, 0.2327880859375, 0.05474853515625, 0.1436767578125, 0.252685546875, 0.167236328125, 0.0257568359375, 0.20556640625, 0.046539306640625, 0.196044921875, 0.0789794921875, 0.05072021484375, 0.1075439453125, 0.1490478515625, 0.1004638671875, 0.13012695312...
embed
21896548_c0
21896548
fsharp
0
Title: F# Canopy - Generate Random Letters and or Numbers and use in a variable Problem title: F# Canopy - Generate Random Letters and or Numbers and use in a variable Tags: canopy-web-testing, f%23 Problem: F# Canopy - Generate Random Letters and or Numbers and use in a variable I am using F# Canopy to complete some w...
F# Canopy - Generate Random Letters and or Numbers and use in a variable F# Canopy - Generate Random Letters and or Numbers and use in a variable canopy-web-testing f%23 Canopy Generate Random Letters Numbers System.Random List.init CompanyName F# Canopy - Generate Random Letters and or Numbers and use in a variable I ...
[ 0.01165771484375, 0.00982666015625, -0.044189453125, 0.00787353515625, 0.00732421875, 0.003265380859375, 0.0091552734375, -0.02587890625, 0.00921630859375, -0.045166015625, -0.0174560546875, 0.013427734375, -0.000766754150390625, 0.005218505859375, 0.020263671875, -0.020751953125, -0...
[ 563, 4904, 4171, 2146, 53, 155370, 39643, 306, 105451, 707, 103332, 4527, 77336, 67, 831, 14051, 6954, 1238, 3742, 12353, 126525, 3815, 32036, 217, 33734, 163612, 23, 17368, 28484, 1467, 134234, 31577, 28282, 72367, 96759, 14012, 15490, 12082...
[ 0.0986328125, 0.203857421875, 0.1251220703125, 0.188232421875, 0.1324462890625, 0.118896484375, 0.1236572265625, 0.116455078125, 0.176513671875, 0.0174102783203125, 0.1214599609375, 0.0748291015625, 0.1954345703125, 0.0172882080078125, 0.050079345703125, 0.0163726806640625, 0.0797119...
embed
2377565_c0
2377565
fsharp
0
Title: What to learn next: F# or LINQ Problem title: What to learn next: F# or LINQ Tags: .net, f%23, linq Problem: What to learn next: F# or LINQ Just started to get my feet wet with C# and .NET, liking it so far. I think I've got the main gist of the C# language constructs, so what technology should I dive into next:...
What to learn next: F# or LINQ What to learn next: F# or LINQ .net f%23 linq What LINQ What to learn next: F# or LINQ Just started to get my feet wet with C# and .NET, liking it so far. I think I've got the main gist of the C# language constructs, so what technology should I dive into next: F# or LINQ? I'm aiming for b...
[ 0.005859375, 0.0032958984375, 0.00946044921875, 0.0208740234375, -0.0035400390625, 0.017578125, -0.00848388671875, 0.0015411376953125, 0.0159912109375, -0.03662109375, 0.0030975341796875, -0.029296875, -0.0093994140625, 0.0054931640625, -0.01336669921875, 0.01202392578125, 0.00179290...
[ 4865, 47, 30698, 11737, 563, 4904, 707, 46610, 2737, 1179, 1238, 3742, 96, 44982, 26859, 74261, 36311, 678, 136, 17777, 400, 6048, 2060, 5351, 5201, 3016, 271, 313, 46876, 64549, 55556, 5608, 45, 272, 3934, 1300, 2873, 91130, 56037, 90825...
[ 0.08154296875, 0.048187255859375, 0.1558837890625, 0.1519775390625, 0.1510009765625, 0.25244140625, 0.1158447265625, 0.224609375, 0.2249755859375, 0.1563720703125, 0.0947265625, 0.0562744140625, 0.1239013671875, 0.2401123046875, 0.0186767578125, 0.01776123046875, 0.06298828125, 0.0...
embed
5766637_c0
5766637
fsharp
0
Title: Generic F# type with non-generic constructor Problem title: Generic F# type with non-generic constructor Tags: f%23, generics Problem: Generic F# type with non-generic constructor Is there some way to have a generic type with a parameterless constructor that creates a non-generic instance? Non-compiling example:...
Generic F# type with non-generic constructor Generic F# type with non-generic constructor f%23 generics Generic Child Parent c:Child ERROR Generic F# type with non-generic constructor Is there some way to have a generic type with a parameterless constructor that creates a non-generic instance? Non-compiling example: I ...
[ -0.0167236328125, 0.0189208984375, -0.007080078125, -0.0185546875, 0.00848388671875, -0.0040283203125, -0.000782012939453125, 0.00010061264038085938, -0.0022735595703125, -0.01080322265625, 0.0069580078125, -0.01611328125, 0.003509521484375, -0.00665283203125, -0.0018157958984375, 0.00...
[ 88342, 1771, 563, 4904, 10644, 678, 351, 79446, 64549, 748, 1238, 3742, 189534, 123829, 170918, 102656, 151206, 24638, 2685, 3060, 3917, 765, 171859, 9393, 28282, 9, 110527, 3775, 58875, 49725, 27781, 3444, 34292, 71864, 185190, 242, 618, 645...
[ 0.16162109375, 0.076171875, 0.1009521484375, 0.1754150390625, 0.2198486328125, 0.06121826171875, 0.15966796875, 0.159912109375, 0.1590576171875, 0.1021728515625, 0.0272369384765625, 0.09942626953125, 0.2374267578125, 0.112548828125, 0.133544921875, 0.0740966796875, 0.074951171875, ...
embed
3563985_c0
3563985
fsharp
0
Title: How to do Operator Overloading? Problem title: How to do Operator Overloading? Tags: operator-overloading, f%23 Problem: How to do Operator Overloading? I did this : let (-) (m:float[]) (n:float[])= [| for i = 0 to Array.length m - 1 do yield m.[i]-n.[i] |] But, why this is wrong?! let y=1.0-0.0 That is ok befor...
How to do Operator Overloading? How to do Operator Overloading? operator-overloading f%23 How Operator Overloading m:float n:float Array.length Error MyDocuments Visual Studio Projects Module1.fs How to do Operator Overloading? I did this : But, why this is wrong?! That is ok before! I think (m:float[]) (n:float[]) is ...
[ 0.0135498046875, 0.0000743865966796875, 0.0084228515625, 0.01611328125, 0.019775390625, -0.019287109375, 0.024658203125, -0.004669189453125, 0.006805419921875, -0.01129150390625, -0.00145721435546875, -0.005218505859375, 0.020263671875, -0.033203125, -0.00098419189453125, -0.0256347656...
[ 11249, 47, 54, 150922, 9578, 63033, 214, 39933, 5465, 1238, 3949, 3742, 347, 12, 52347, 257, 653, 69253, 53, 23986, 212059, 2646, 239469, 73372, 22968, 27331, 63014, 17447, 15400, 903, 83, 44691, 4730, 3664, 8108, 39, 1065, 19, 5423, 70, ...
[ 0.069580078125, 0.04833984375, 0.1011962890625, 0.291015625, 0.1900634765625, 0.24462890625, 0.123291015625, 0.2430419921875, 0.1678466796875, 0.08758544921875, 0.0195159912109375, 0.09136962890625, 0.10675048828125, 0.0282440185546875, 0.201904296875, 0.107666015625, 0.083740234375,...
embed
21387954_c0
21387954
fsharp
0
Title: Pattern matching by function call Problem title: Pattern matching by function call Tags: f%23, f%23-3.0, pattern-matching Problem: Pattern matching by function call F# assigns function arguments via pattern matching. This is why // ok: pattern matching of tuples upon function call let g (a,b) = a + b g (7,4) wor...
Pattern matching by function call Pattern matching by function call f%23 f%23-3.0 pattern-matching Pattern A.X Error Successive EDIT Pattern matching by function call F# assigns function arguments via pattern matching. This is why works: The tuple is matched with (a,b) and a and b are available directly inside f. Doing...
[ -0.0224609375, 0.01263427734375, 0.01043701171875, 0.01025390625, 0.001953125, -0.0007171630859375, -0.007354736328125, 0.000934600830078125, 0.0218505859375, -0.00732421875, 0.034423828125, -0.002471923828125, -0.016357421875, 0.00167083740234375, 0.0228271484375, -0.01055908203125, ...
[ 9876, 22766, 14858, 214, 390, 32354, 11782, 1238, 3742, 27495, 132265, 103510, 98753, 62, 1542, 212059, 172864, 563, 4904, 95486, 7, 10750, 1829, 15400, 43240, 370, 8705, 678, 11, 275, 10, 136, 876, 19882, 105237, 46132, 5701, 55970, 3674, ...
[ 0.185302734375, 0.1767578125, 0.24853515625, 0.111572265625, 0.0880126953125, 0.171875, 0.1865234375, 0.12890625, 0.1121826171875, 0.07281494140625, 0.1328125, 0.234619140625, 0.2369384765625, 0.03228759765625, 0.10504150390625, 0.1104736328125, 0.0165863037109375, 0.10595703125, ...
embed
31338505_c0
31338505
fsharp
0
Title: How does the implementation of list in F# work? Problem title: How does the implementation of list in F# work? Tags: f%23 Problem: How does the implementation of list in F# work? I'm curious as to how the list module/type works in F#, specifically does it optimise this? let xs = ["1"; "2"; "3"] let ys = "0"::xs ...
How does the implementation of list in F# work? How does the implementation of list in F# work? f%23 How How does the implementation of list in F# work? I'm curious as to how the list module/type works in F#, specifically does it optimise this? I've looked over some of the source https://github.com/fsharp/fsharp/blob/6...
[ 0.004425048828125, 0.021728515625, 0.004150390625, 0.002899169921875, 0.00043487548828125, 0.0009002685546875, -0.01507568359375, -0.00101470947265625, 0.0057373046875, 0.01483154296875, 0.0252685546875, 0.0011749267578125, 0.0111083984375, 0.00439453125, -0.005706787109375, 0.00787353...
[ 11249, 14602, 70, 208124, 111, 5303, 23, 563, 4904, 4488, 1238, 193844, 3642, 88996, 50986, 43240, 15572, 3075, 31344, 32102, 420, 89280, 36381, 3467, 254, 50886, 35188, 17447, 3714, 2174, 1022, 7, 71200, 3229, 20662, 113, 23468, 6275, 47, ...
[ 0.10302734375, 0.07305908203125, 0.0192413330078125, 0.189697265625, 0.0594482421875, 0.2442626953125, 0.09503173828125, 0.1695556640625, 0.2412109375, 0.140869140625, 0.0251617431640625, 0.019073486328125, 0.043121337890625, 0.148681640625, 0.18212890625, 0.12109375, 0.1451416015625...
embed
79234310_c0
79234310
fsharp
0
Title: F# 9 code with nullable reference feature does not compile on Visual Studio 17.6.5 Problem title: F# 9 code with nullable reference feature does not compile on Visual Studio 17.6.5 Tags: f%23 Problem: F# 9 code with nullable reference feature does not compile on Visual Studio 17.6.5 I have implemented following ...
F# 9 code with nullable reference feature does not compile on Visual Studio 17.6.5 F# 9 code with nullable reference feature does not compile on Visual Studio 17.6.5 f%23 Visual Studio Foo Bar Nullable PackageReference Update FSharp.Core Version F# 9 code with nullable reference feature does not compile on Visual Studi...
[ 0.01043701171875, 0.007110595703125, 0.0096435546875, 0.00689697265625, -0.016357421875, 0.0024871826171875, -0.00897216796875, -0.00012111663818359375, -0.0166015625, 0.02734375, -0.0185546875, 0.00592041015625, 0.0033721923828125, 0.030029296875, 0.0238037109375, -0.01904296875, 0....
[ 563, 4904, 483, 18151, 678, 9229, 2661, 91067, 60213, 959, 9969, 1340, 73372, 22968, 7076, 136473, 98, 1238, 3742, 9572, 31, 3253, 27786, 56607, 69988, 28641, 93774, 3467, 254, 50886, 40647, 29479, 25632, 10644, 14602, 759, 36279, 28219, 58...
[ 0.1641845703125, 0.213623046875, 0.268798828125, 0.20361328125, 0.072021484375, 0.224365234375, 0.218017578125, 0.22802734375, 0.1502685546875, 0.1197509765625, 0.184814453125, 0.1783447265625, 0.224365234375, 0.1885986328125, 0.17822265625, 0.226806640625, 0.022674560546875, 0.079...
embed
46362842_c0
46362842
fsharp
0
Title: Automatic units of measure conversion in F# (kilometers -> meters) Problem title: Automatic units of measure conversion in F# (kilometers -> meters) Tags: units-of-measurement, f%23 Problem: Automatic units of measure conversion in F# (kilometers -> meters) It would be great to be able to auto-convert unit...
Automatic units of measure conversion in F# (kilometers -> meters) Automatic units of measure conversion in F# (kilometers -> meters) units-of-measurement f%23 Automatic Measure Automatic units of measure conversion in F# (kilometers -> meters) It would be great to be able to auto-convert units of measure, which ...
[ 0.01129150390625, 0.0020599365234375, 0.01080322265625, -0.017333984375, -0.01220703125, -0.01373291015625, -0.0166015625, 0.004791259765625, 0.0186767578125, -0.01220703125, -0.01708984375, 0.01507568359375, 0.001708984375, 0.006103515625, -0.00087738037109375, -0.0086669921875, 0.0...
[ 51719, 1771, 25072, 111, 72350, 142477, 23, 563, 4904, 13595, 102220, 5386, 11903, 4390, 37440, 56851, 1238, 3742, 1215, 11, 33079, 2806, 6782, 19048, 1809, 2271, 11549, 1660, 118126, 1314, 5701, 91403, 8517, 706, 1827, 2866, 1785, 347, 123...
[ 0.2020263671875, 0.036407470703125, 0.2169189453125, 0.0855712890625, 0.221435546875, 0.1925048828125, 0.0297698974609375, 0.1337890625, 0.19921875, 0.1102294921875, 0.1302490234375, 0.07623291015625, 0.2119140625, 0.1630859375, 0.1160888671875, 0.09716796875, 0.059539794921875, 0....
embed
48369049_c3
48369049
fsharp
3
U9yj4hAocHjnrB, listing_id, Edinburgh, SWs56OIGzMdiCjSXahzDQX8zve92, L3ELSSzZPRdjCRcFTrb, L3EN1NW5hHWBTEGC9ve, YMM45tgFFvYB7rx9PhC2TE5eW6D2, David, Hey, L19C5OjcDSjMi4-oha, L19CJrzEpChO_W14YkC, Rp7ytJdEvZeMFgpLqeCSzkSeTyf1, L19V4QpPMCMwGcNaQBG, Albert, L19r0osoet4f9SjBGE7, L3ELGAbcOjdJsHRtnAe, Icvjv, L19ChjPjX1DnfQb28A...
U9yj4hAocHjnrB, listing_id, Edinburgh, SWs56OIGzMdiCjSXahzDQX8zve92, L3ELSSzZPRdjCRcFTrb, L3EN1NW5hHWBTEGC9ve, YMM45tgFFvYB7rx9PhC2TE5eW6D2, David, Hey, L19C5OjcDSjMi4-oha, L19CJrzEpChO_W14YkC, Rp7ytJdEvZeMFgpLqeCSzkSeTyf1, L19V4QpPMCMwGcNaQBG, Albert, L19r0osoet4f9SjBGE7, L3ELGAbcOjdJsHRtnAe, Icvjv, L19ChjPjX1DnfQb28A...
[ 0.00946044921875, 0.0289306640625, -0.01025390625, 0.00286865234375, 0.006195068359375, 0.0084228515625, -0.0040283203125, 0.0024261474609375, 0.000614166259765625, -0.00811767578125, -0.01165771484375, 0.0169677734375, 0.0130615234375, -0.0174560546875, 0.0133056640625, -0.00221252441...
[ 345, 1126, 53, 170, 617, 127, 6652, 841, 8541, 571, 4, 5303, 214, 454, 532, 210479, 61595, 7, 13683, 670, 31343, 76749, 12231, 339, 13471, 272, 25590, 6765, 28240, 2947, 24748, 74279, 35378, 11249, 48205, 25352, 18032, 32036, 3551, 1484, ...
[ 0.0921630859375, 0.124267578125, 0.00872802734375, 0.03759765625, 0.036590576171875, 0.009368896484375, 0.03961181640625, 0.015350341796875, 0.017120361328125, 0.0877685546875, 0.11328125, 0.2060546875, 0.1685791015625, 0.008514404296875, 0.1800537109375, 0.330078125, 0.1466064453125...
embed
8477197_c0
8477197
fsharp
0
Title: Wait without blocking thread? - How? Problem title: Wait without blocking thread? - How? Tags: f%23, multithreading Problem: Wait without blocking thread? - How? This is probably one of the most elementary things in F#, but I've just realized I've got no idea what's going on behind the sceens. let testMe() = asy...
Wait without blocking thread? - How? Wait without blocking thread? - How? f%23 multithreading Wait How Waits Async.RunSynchronously Wait without blocking thread? - How? This is probably one of the most elementary things in F#, but I've just realized I've got no idea what's going on behind the sceens. What's happening a...
[ 0.00152587890625, 0.0048828125, 0.022705078125, -0.0230712890625, -0.0244140625, 0.008544921875, 0.0196533203125, -0.0162353515625, -0.00567626953125, -0.035400390625, 0.0062255859375, 0.014892578125, -0.012451171875, -0.0028076171875, 0.02783203125, 0.0167236328125, 0.022216796875, ...
[ 175254, 15490, 46389, 86997, 11249, 1238, 3949, 3742, 3869, 65847, 62, 12654, 238, 163321, 217835, 127, 1900, 131830, 563, 4904, 6528, 7730, 98, 50155, 107223, 1755, 123087, 99, 54, 38, 759, 284, 97249, 10763, 107419, 40485, 100, 47, 67229,...
[ 0.27197265625, 0.1392822265625, 0.181640625, 0.171142578125, 0.059356689453125, 0.07080078125, 0.01214599609375, 0.1331787109375, 0.0902099609375, 0.0997314453125, 0.015289306640625, 0.20947265625, 0.083984375, 0.05743408203125, 0.07476806640625, 0.036834716796875, 0.0948486328125, ...
embed
19040543_c0
19040543
fsharp
0
Title: Statically-typed Dynamic Lookup for Record Problem title: Statically-typed Dynamic Lookup for Record Tags: f%23 Problem: Statically-typed Dynamic Lookup for Record I'm trying to statically type a record field and then return that field (unique items only to be exact). So it would look something like this: type I...
Statically-typed Dynamic Lookup for Record Statically-typed Dynamic Lookup for Record f%23 Statically-typed Dynamic Lookup Record Item Id:int Name:string this.field Seq.map FSharpValue.GetRecordField Seq.distinct Seq.sort Array.ofSeq Name First item.field Item.Id Statically-typed Dynamic Lookup for Record I'm trying to...
[ -0.004913330078125, -0.010986328125, 0.0322265625, -0.0025177001953125, 0.0089111328125, -0.0189208984375, -0.0118408203125, 0.0137939453125, 0.00179290771484375, -0.03466796875, -0.0001659393310546875, 0.023681640625, 0.000408172607421875, -0.0189208984375, 0.006134033203125, -0.01660...
[ 23888, 71407, 50986, 73327, 21068, 60818, 2037, 100, 54877, 1238, 3949, 3742, 78426, 24799, 4288, 15757, 91693, 903, 28394, 864, 62346, 3467, 856, 50770, 126, 32271, 19388, 62351, 69253, 23972, 35735, 71, 31577, 13254, 10644, 17164, 44457, 30...
[ 0.175048828125, 0.1002197265625, 0.2049560546875, 0.1424560546875, 0.0794677734375, 0.1226806640625, 0.1029052734375, 0.053924560546875, 0.22216796875, 0.03765869140625, 0.00848388671875, 0.1378173828125, 0.1669921875, 0.1165771484375, 0.09576416015625, 0.03192138671875, 0.1004638671...
embed
54676920_c0
54676920
fsharp
0
Title: How to hide properties with null values in FSharp.Data JsonProvider? Problem title: How to hide properties with null values in FSharp.Data JsonProvider? Tags: f%23-data, f%23, fsharp.data.typeproviders, type-providers Problem: How to hide properties with null values in FSharp.Data JsonProvider? This piece of cod...
How to hide properties with null values in FSharp.Data JsonProvider? How to hide properties with null values in FSharp.Data JsonProvider? f%23-data f%23 fsharp.data.typeproviders type-providers How FSharp.Data JsonProvider ColorProvider Red Green SampleIsList ColorProvider.Root Blue None fsharp.data.typeproviders How t...
[ 0.0033721923828125, 0.0162353515625, 0.00396728515625, 0.0147705078125, -0.0216064453125, 0.005859375, 0.0263671875, 0.01080322265625, -0.0103759765625, 0.03564453125, -0.024658203125, 0.0235595703125, -0.0004711151123046875, 0.000518798828125, 0.0024871826171875, 0.00112152099609375, ...
[ 11249, 1274, 112, 183871, 678, 56574, 142424, 93774, 3467, 254, 137989, 821, 1681, 177997, 62160, 1238, 27495, 10135, 3742, 89280, 50986, 93136, 10644, 51193, 6096, 15497, 33209, 29598, 154663, 22928, 18151, 103687, 903, 58627, 452, 1647, 47, ...
[ 0.047882080078125, 0.171630859375, 0.1556396484375, 0.216796875, 0.076416015625, 0.2275390625, 0.161376953125, 0.072998046875, 0.14794921875, 0.177978515625, 0.0965576171875, 0.11376953125, 0.1827392578125, 0.14599609375, 0.1298828125, 0.0452880859375, 0.038299560546875, 0.08770751...
embed
62734789_c0
62734789
fsharp
0
Title: adding a property extension to lists, in F# Problem title: adding a property extension to lists, in F# Tags: types, f%23, extension-methods Problem: adding a property extension to lists, in F# as a followup to question: type extension on a list in F# I am trying to figure out if I can extend lists with a propert...
adding a property extension to lists, in F# adding a property extension to lists, in F# types f%23 extension-methods a.IsEmpty Extension ListExtensions IsNotEmpty l.IsEmpty a.IsNotEmpty adding a property extension to lists, in F# as a followup to question: type extension on a list in F# I am trying to figure out if I c...
[ -0.01153564453125, 0.0233154296875, 0.039794921875, -0.0123291015625, -0.021728515625, -0.01708984375, 0.0031890869140625, -0.00885009765625, 0.004638671875, -0.0037841796875, 0.0169677734375, 0.043212890625, 0.000408172607421875, -0.0020294189453125, -0.01226806640625, 0.0136108398437...
[ 154107, 57266, 111938, 47, 5303, 7, 563, 4904, 52895, 1238, 3742, 1928, 7352, 29598, 134332, 939, 224545, 32036, 128872, 2071, 122116, 10644, 831, 65042, 678, 39210, 12301, 92858, 114864, 54, 3917, 3249, 2843, 10 ]
[ 0.1104736328125, 0.25048828125, 0.2359619140625, 0.037628173828125, 0.1904296875, 0.03216552734375, 0.1060791015625, 0.169921875, 0.1383056640625, 0.05401611328125, 0.09234619140625, 0.020751953125, 0.05987548828125, 0.0301361083984375, 0.1419677734375, 0.1121826171875, 0.20190429687...
embed
44812355_c0
44812355
fsharp
0
Title: What is the | symbol for in f #? Problem title: What is the | symbol for in f #? Tags: f%23 Problem: What is the | symbol for in f #? I'm pretty new to functional programming and I've started looking at the documentation for match statements and in the example I came across here gitpages and cut and pasted to my...
What is the | symbol for in f #? What is the | symbol for in f #? f%23 What What is the | symbol for in f #? I'm pretty new to functional programming and I've started looking at the documentation for match statements and in the example I came across here gitpages and cut and pasted to my question below: I understand th...
[ 0.00592041015625, 0.007293701171875, 0.01055908203125, -0.005706787109375, -0.0245361328125, -0.00701904296875, -0.01171875, 0.023193359375, 0.0172119140625, 0.01226806640625, 0.0064697265625, -0.006011962890625, 0.007659912109375, 0.0023956298828125, 0.00994873046875, 0.00302124023437...
[ 4865, 70, 58745, 26582, 100, 23, 1238, 468, 3742, 123309, 56037, 209806, 14858, 63805, 27781, 62270, 28219, 2633, 83, 201939, 128239, 195625, 32354, 809, 275, 51776, 171859, 1927, 138, 50218, 757, 35839, 43701, 15400, 11814, 89280, 254, 13715...
[ 0.046600341796875, 0.010772705078125, 0.2257080078125, 0.25927734375, 0.137939453125, 0.045166015625, 0.1558837890625, 0.1744384765625, 0.1085205078125, 0.119140625, 0.0731201171875, 0.03070068359375, 0.140869140625, 0.144775390625, 0.019012451171875, 0.02899169921875, 0.039916992187...
embed
51316475_c0
51316475
fsharp
0
Title: How to use Named Arguments in F# Problem title: How to use Named Arguments in F# Tags: f%23, named-parameters, overload-resolution, polly Problem: How to use Named Arguments in F# Calling a Dictionary 's Add() method using named arguments works in F#. let d = Dictionary<string, obj>() d.Add(key = "five", value =...
How to use Named Arguments in F# How to use Named Arguments in F# f%23 named-parameters overload-resolution polly How Named Arguments Dictionary Add d.Add d2.Add Context Polly.Context c.Add How to use Named Arguments in F# Calling a Dictionary 's Add() method using named arguments works in F#. In Polly's Context class ...
[ -0.000400543212890625, -0.00360107421875, 0.0208740234375, -0.000370025634765625, 0.0004405975341796875, -0.01409912109375, -0.0118408203125, -0.01953125, -0.001983642578125, 0.01007080078125, 0.00811767578125, -0.024169921875, 0.00909423828125, 0.01708984375, 0.0223388671875, -0.01251...
[ 11249, 4527, 2096, 297, 112140, 7, 23, 563, 4904, 47, 1238, 3742, 24, 4806, 29089, 645, 63033, 166589, 160, 12097, 147638, 29117, 104, 4028, 5442, 1657, 22829, 9017, 538, 26265, 132, 55300, 17368, 10750, 43240, 18507, 21373, 116, 831, 18,...
[ 0.0298004150390625, 0.1279296875, 0.2030029296875, 0.1632080078125, 0.25244140625, 0.1085205078125, 0.0469970703125, 0.1339111328125, 0.206298828125, 0.00811767578125, 0.03466796875, 0.0721435546875, 0.122802734375, 0.1575927734375, 0.014495849609375, 0.086669921875, 0.1666259765625,...
embed
56910353_c0
56910353
fsharp
0
Title: How to do external POST API call from F# code Problem title: How to do external POST API call from F# code Tags: f%23, web, f%23-data, f%23-fake Problem: How to do external POST API call from F# code I want to call external POST API from F# which has multipart form request body as below so how to do in F#? Exter...
How to do external POST API call from F# code How to do external POST API call from F# code f%23 web f%23-data f%23-fake F# How POST API External Content-Type Multipart Form-data Body Http.Request MultipartItem IFormFile.OpenReadStream How to do external POST API call from F# code I want to call external POST API from ...
[ 0.0086669921875, 0.0172119140625, 0.01507568359375, -0.018798828125, -0.0033416748046875, -0.004119873046875, 0.0225830078125, -0.004791259765625, -0.0159912109375, 0.006500244140625, 0.0262451171875, 0.01513671875, -0.0047607421875, 0.01080322265625, 0.0284423828125, -0.020263671875, ...
[ 11249, 47, 54, 173591, 81903, 61687, 11782, 1295, 563, 4904, 18151, 1238, 3742, 1467, 27495, 10135, 1021, 350, 141070, 70870, 196707, 19335, 17365, 15236, 43960, 3062, 75616, 2982, 87, 102973, 174350, 103264, 31345, 115061, 3444, 6024, 3173, ...
[ 0.0865478515625, 0.04571533203125, 0.092529296875, 0.2449951171875, 0.2037353515625, 0.2470703125, 0.16455078125, 0.1357421875, 0.1790771484375, 0.2313232421875, 0.1851806640625, 0.1005859375, 0.07220458984375, 0.08111572265625, 0.05419921875, 0.07171630859375, 0.1580810546875, 0.0...
embed
70841615_c0
70841615
fsharp
0
Title: Identify If The List Is Empty Problem title: Identify If The List Is Empty Tags: list, if-statement, f%23, pattern-matching Problem: Identify If The List Is Empty I am entirely new to F# I have this function that calculates the sum of the two different x and y points like this let vAdd (x1, y1) (x2, y2) : float ...
Identify If The List Is Empty Identify If The List Is Empty list if-statement f%23 pattern-matching Identify List Empty IsEmpty Identify If The List Is Empty I am entirely new to F# I have this function that calculates the sum of the two different x and y points like this let vAdd (x1, y1) (x2, y2) : float * float = (x...
[ -0.01165771484375, -0.0023193359375, 0.0113525390625, 0.018310546875, -0.00408935546875, 0.015869140625, 0.005645751953125, -0.0011749267578125, 0.0169677734375, 0.0279541015625, 0.031005859375, -0.009765625, -0.00634765625, -0.0224609375, -0.0064697265625, 0.0113525390625, 0.0153808...
[ 71257, 40383, 4263, 581, 32036, 2071, 31678, 939, 5303, 2174, 61340, 1238, 3949, 3742, 103510, 98753, 134332, 3525, 563, 4904, 32354, 74481, 10554, 6626, 12921, 1022, 136, 113, 26847, 81, 4028, 418, 17727, 304, 10461, 21917, 257, 316, 3642,...
[ 0.16357421875, 0.1427001953125, 0.137939453125, 0.07843017578125, 0.2264404296875, 0.1160888671875, 0.193603515625, 0.1761474609375, 0.23046875, 0.128662109375, 0.08294677734375, 0.0809326171875, 0.01934814453125, 0.115234375, 0.169677734375, 0.1585693359375, 0.191162109375, 0.0029...
embed
41697433_c0
41697433
fsharp
0
Title: F# make member value based on member function Problem title: F# make member value based on member function Tags: member-variables, member-functions, f%23 Problem: F# make member value based on member function I have made a member function in a class. Afterwards I want to make a member value that is set to the re...
F# make member value based on member function F# make member value based on member function member-variables member-functions f%23 MyType this.drawFilledPlanet xCoord:int yCoord:int pWidth:int pHeight:int System.Drawing.SolidBrush this.window.Paint.Add e.Graphics.FillEllipse this.yellow F# make member value based on me...
[ -0.00180816650390625, -0.0059814453125, -0.0013275146484375, -0.0184326171875, -0.016845703125, 0.0203857421875, 0.01239013671875, -0.0067138671875, 0.00872802734375, -0.0179443359375, -0.000797271728515625, 0.0274658203125, 0.0322265625, -0.01129150390625, 0.0093994140625, -0.02465820...
[ 563, 4904, 3249, 32786, 34292, 35509, 98, 32354, 21690, 19736, 137175, 1238, 3949, 3742, 2646, 196707, 903, 86905, 919, 2186, 71, 78680, 126, 1022, 6651, 4288, 113, 81630, 22553, 12353, 219, 102588, 532, 86532, 24293, 4028, 37878, 19379, 57...
[ 0.095458984375, 0.1761474609375, 0.094482421875, 0.271728515625, 0.195068359375, 0.1282958984375, 0.0328369140625, 0.1805419921875, 0.10308837890625, 0.03399658203125, 0.1424560546875, 0.045989990234375, 0.00091552734375, 0.086669921875, 0.0142822265625, 0.163818359375, 0.07800292968...
embed
26802465_c0
26802465
fsharp
0
Title: Does F# internally make the code run in parallel by default? Problem title: Does F# internally make the code run in parallel by default? Tags: .net, parallel-processing, f%23, task-parallel-library Problem: Does F# internally make the code run in parallel by default? I have a simple question regarding the parall...
Does F# internally make the code run in parallel by default? Does F# internally make the code run in parallel by default? .net parallel-processing f%23 task-parallel-library Does Seq.map Seq.sum Does F# internally make the code run in parallel by default? I have a simple question regarding the parallel processing in F#...
[ 0.0101318359375, 0.0087890625, 0.010986328125, 0.022216796875, -0.004852294921875, 0.009521484375, 0.0013275146484375, 0.00323486328125, -0.015380859375, -0.00909423828125, -0.0098876953125, 0.031005859375, 0.00848388671875, 0.01324462890625, -0.00634765625, 0.01275634765625, 0.01806...
[ 101790, 563, 4904, 70796, 3249, 18151, 11675, 23, 95103, 390, 114977, 538, 1179, 63923, 1238, 3742, 66211, 6276, 1229, 141, 2844, 503, 864, 62346, 11832, 9655, 9433, 214, 74481, 10554, 8353, 304, 54651, 1328, 3559, 8781, 2967, 1528, 28282, ...
[ 0.0654296875, 0.1705322265625, 0.2476806640625, 0.22021484375, 0.0958251953125, 0.19384765625, 0.14453125, 0.06695556640625, 0.279541015625, 0.0628662109375, 0.24169921875, 0.06884765625, 0.1109619140625, 0.0933837890625, 0.0948486328125, 0.08203125, 0.08734130859375, 0.04675292968...
embed
9850769_c0
9850769
fsharp
0
Title: F# equivalent of LINQ Single Problem title: F# equivalent of LINQ Single Tags: f%23, linq, seq Problem: F# equivalent of LINQ Single Ok, so for most LINQ operations there is a F# equivalent. (Generally in the Seq module, since Seq= IEnumerable) I can't find the equiv of IEmumerable.Single , I prefer Single over ...
F# equivalent of LINQ Single F# equivalent of LINQ Single f%23 linq seq LINQ Single IEmumerable.Single First System.Linq.Enumerable.Single only2 Seq.filter Seq.exactlyOne F# equivalent of LINQ Single Ok, so for most LINQ operations there is a F# equivalent. (Generally in the Seq module, since Seq= IEnumerable) I can't ...
[ 0.006500244140625, 0.0218505859375, 0.0018768310546875, -0.0157470703125, -0.00701904296875, -0.0003795623779296875, 0.006744384765625, 0.020751953125, 0.0006561279296875, -0.038330078125, 0.00153350830078125, 0.0120849609375, -0.019287109375, -0.004119873046875, 0.00096893310546875, 0...
[ 563, 4904, 183234, 46610, 2737, 43609, 1238, 3949, 3742, 96, 44982, 40, 864, 75536, 561, 1991, 2886, 213039, 23972, 12353, 866, 2606, 4734, 304, 503, 120337, 3355, 47013, 62068, 2684, 41018, 159342, 88996, 7413, 60715, 334, 12601, 645, 1116...
[ 0.1204833984375, 0.19189453125, 0.236328125, 0.1861572265625, 0.2183837890625, 0.244140625, 0.0731201171875, 0.0250701904296875, 0.1322021484375, 0.0560302734375, 0.2154541015625, 0.0791015625, 0.17578125, 0.08642578125, 0.09783935546875, 0.115966796875, 0.1312255859375, 0.27563476...
embed
42582057_c0
42582057
fsharp
0
Title: F#: Using a DU to limit types for a Property Problem title: F#: Using a DU to limit types for a Property Tags: f%23, .net Problem: F#: Using a DU to limit types for a Property I am implementing a type that mimics the System.Data.Common.DbParameter class. This type will be used across C#,VB.NET,and F# projects. H...
F#: Using a DU to limit types for a Property F#: Using a DU to limit types for a Property f%23 .net Using Property Direction Value Object F#: Using a DU to limit types for a Property I am implementing a type that mimics the System.Data.Common.DbParameter class. This type will be used across C#,VB.NET,and F# projects. H...
[ -0.0037689208984375, 0.005645751953125, 0.005950927734375, 0.0115966796875, -0.02490234375, -0.0086669921875, -0.01458740234375, -0.0033721923828125, 0.014404296875, -0.01080322265625, 0.0167236328125, -0.0004634857177734375, -0.0005950927734375, -0.00994873046875, -0.003997802734375, ...
[ 563, 4904, 345, 6953, 10, 14614, 47, 17475, 52895, 206984, 1238, 3949, 3742, 1179, 176774, 190060, 134549, 100, 29479, 10644, 324, 114666, 12353, 137989, 10770, 3796, 5, 397, 275, 55292, 29089, 18507, 11814, 36880, 75034, 17777, 77635, 34264,...
[ 0.1268310546875, 0.2171630859375, 0.0772705078125, 0.024993896484375, 0.0814208984375, 0.2352294921875, 0.0577392578125, 0.2349853515625, 0.2626953125, 0.201171875, 0.03338623046875, 0.003662109375, 0.1070556640625, 0.1209716796875, 0.232177734375, 0.235595703125, 0.1588134765625, ...
embed
58126121_c0
58126121
fsharp
0
Title: Action Delegates in F# Problem title: Action Delegates in F# Tags: f%23, f%23-giraffe Problem: Action Delegates in F# In the Giraffe library examples, I noticed the following: [<EntryPoint>] let main _ = WebHostBuilder() .UseKestrel() .Configure(Action<IApplicationBuilder> configureApp) .ConfigureServices(config...
Action Delegates in F# Action Delegates in F# f%23 f%23-giraffe Action Delegates EntryPoint WebHostBuilder UseKestrel Configure IApplicationBuilder ConfigureServices Build Run Action Delegates in F# In the Giraffe library examples, I noticed the following: While I understand most of it, I'm unclear with Configure(Actio...
[ -0.00799560546875, 0.0146484375, -0.019287109375, -0.00885009765625, -0.0252685546875, 0.01312255859375, 0.00054931640625, -0.007171630859375, 0.01287841796875, 0.007293701171875, 0.013671875, -0.010498046875, -0.020751953125, 0.00830078125, 0.017333984375, -0.0115966796875, 0.006317...
[ 57945, 228532, 90, 23, 563, 4904, 1238, 3742, 6920, 11, 16670, 15123, 147534, 4002, 11193, 121137, 7962, 59994, 87, 47677, 182867, 121979, 28398, 39919, 35773, 1294, 27781, 156672, 28219, 119488, 1657, 284, 10763, 17481, 222495, 39179, 8035, ...
[ 0.2314453125, 0.277587890625, 0.106689453125, 0.008148193359375, 0.114990234375, 0.1944580078125, 0.024017333984375, 0.037139892578125, 0.0653076171875, 0.041656494140625, 0.1923828125, 0.05926513671875, 0.047393798828125, 0.010772705078125, 0.0195159912109375, 0.15234375, 0.13354492...
embed
9696315_c1
9696315
fsharp
1
")>] extern void MakeDmat(float We,float Wi, float*arr) [<DllImport("a.dll")>] extern void randinit(float* arr) [<DllImport("a.dll")>] extern void print(float* arr) [<DllImport("a.dll")>] extern void evolve (float* input, float* output,float* connections) let arr1 = Array.zeroCreate (xsize*ysize) let arr2 = Array.zeroC...
")>] extern void MakeDmat(float We,float Wi, float*arr) [<DllImport("a.dll")>] extern void randinit(float* arr) [<DllImport("a.dll")>] extern void print(float* arr) [<DllImport("a.dll")>] extern void evolve (float* input, float* output,float* connections) let arr1 = Array.zeroCreate (xsize*ysize) let arr2 = Array.zeroC...
[ 0.00518798828125, 0.017822265625, -0.01446533203125, 0.00946044921875, 0.001068115234375, -0.016845703125, 0.00555419921875, -0.0269775390625, 0.015869140625, -0.04150390625, -0.00022602081298828125, 0.00897216796875, -0.006500244140625, -0.0111083984375, 0.0022430419921875, -0.0264892...
[ 44, 16, 2740, 268, 76714, 2292, 26176, 397, 2227, 52347, 257, 1401, 5140, 21917, 147, 42, 1181, 61637, 6982, 11, 71, 27388, 73, 217, 187, 28412, 216479, 107730, 140992, 94878, 2633, 418, 69253, 80510, 63784, 62539, 15190, 304, 7105, 19128...
[ 0.059051513671875, 0.047149658203125, 0.0595703125, 0.0243072509765625, 0.1998291015625, 0.1865234375, 0.1695556640625, 0.1080322265625, 0.2467041015625, 0.18212890625, 0.034027099609375, 0.19091796875, 0.1956787109375, 0.1959228515625, 0.070068359375, 0.0865478515625, 0.133544921875...
embed
75915149_c0
75915149
fsharp
0
Title: Passing .NET string to UTF-8 char pointer and size C function Problem title: Passing .NET string to UTF-8 char pointer and size C function Tags: .net, f%23, c%23, pinvoke Problem: Passing .NET string to UTF-8 char pointer and size C function I am trying to interop with a C API that looks like this: bool next(sta...
Passing .NET string to UTF-8 char pointer and size C function Passing .NET string to UTF-8 char pointer and size C function .net f%23 c%23 pinvoke Passing NET UTF-8 uint8_t size_t input_length Marshal.ZeroFreeCoTaskMemUTF8 Passing .NET string to UTF-8 char pointer and size C function I am trying to interop with a C API...
[ 0.017578125, 0.0308837890625, 0.00726318359375, 0.00738525390625, -0.031494140625, -0.01190185546875, -0.002685546875, -0.033935546875, -0.00147247314453125, 0.0057373046875, 0.009033203125, -0.011962890625, -0.00775146484375, 0.02783203125, -0.018798828125, -0.0146484375, 0.02258300...
[ 28872, 5, 17777, 79315, 47, 30992, 17376, 21441, 6275, 56, 13267, 313, 32354, 1179, 1238, 3742, 6520, 23253, 4288, 1019, 18, 107730, 23986, 23342, 4200, 1511, 4036, 81437, 10625, 9874, 1042, 594, 195, 17632, 919, 31577, 1940, 2146, 61687, ...
[ 0.1240234375, 0.051666259765625, 0.24169921875, 0.24462890625, 0.09033203125, 0.1822509765625, 0.2086181640625, 0.1475830078125, 0.173095703125, 0.1224365234375, 0.1114501953125, 0.1650390625, 0.16943359375, 0.191162109375, 0.0157470703125, 0.126708984375, 0.024688720703125, 0.1735...
embed
76213430_c0
76213430
fsharp
0
Title: Filtering Discriminated Unions with a Generic Function Problem title: Filtering Discriminated Unions with a Generic Function Tags: discriminated-union, f%23, generics Problem: Filtering Discriminated Unions with a Generic Function Given the following union type MyUnionType : type MyUnionType = | TInt of int | TS...
Filtering Discriminated Unions with a Generic Function Filtering Discriminated Unions with a Generic Function discriminated-union f%23 generics Filtering Discriminated Unions Generic MyUnionType TInt TString TBool List.choose Some None Filtering Discriminated Unions with a Generic Function Given the following union typ...
[ -0.014404296875, 0.014404296875, 0.017578125, -0.007415771484375, -0.0177001953125, -0.017822265625, -0.002655029296875, 0.0011138916015625, 0.014404296875, 0.0023040771484375, 0.00506591796875, -0.0208740234375, 0.00372314453125, -0.0196533203125, -0.01287841796875, 0.01031494140625, ...
[ 128896, 6206, 135421, 32528, 678, 88342, 1771, 28670, 7, 55970, 3674, 87046, 1238, 3949, 3742, 189534, 214, 2646, 147547, 196707, 53800, 2852, 43386, 32036, 3089, 438, 69941, 10644, 25632, 5303, 831, 46312, 903, 1632, 79929, 738, 8364, 136913...
[ 0.2275390625, 0.033447265625, 0.2021484375, 0.1964111328125, 0.020294189453125, 0.18505859375, 0.0517578125, 0.14599609375, 0.0190582275390625, 0.1875, 0.04644775390625, 0.1817626953125, 0.0087890625, 0.025054931640625, 0.115234375, 0.26318359375, 0.01861572265625, 0.1004638671875,...
embed
53025840_c0
53025840
fsharp
0
Title: F# type inference with recursive functions and pattern matching Problem title: F# type inference with recursive functions and pattern matching Tags: f%23 Problem: F# type inference with recursive functions and pattern matching I have the following F# code let Operation (l:int list) = let A,B = l.[0], l.[1] if A ...
F# type inference with recursive functions and pattern matching F# type inference with recursive functions and pattern matching f%23 Operation l:int x::rest opList:int l.Length operation::opList F# type inference with recursive functions and pattern matching I have the following F# code Compiler complains at the last l...
[ -0.00653076171875, -0.002349853515625, -0.0026092529296875, -0.003387451171875, -0.000637054443359375, -0.00634765625, -0.0098876953125, 0.006866455078125, 0.015625, -0.01220703125, 0.0184326171875, -0.0223388671875, 0.01495361328125, -0.014892578125, 0.0220947265625, -0.00946044921875...
[ 563, 4904, 10644, 53498, 195625, 5844, 32354, 103510, 14858, 6620, 214, 1238, 3949, 3742, 102203, 96, 4288, 1022, 56644, 233, 154663, 41018, 2146, 18151, 15612, 34759, 186992, 99, 4568, 13315, 1379, 538, 21473, 1363, 70, 23, 18, 33079, 5303...
[ 0.0968017578125, 0.1524658203125, 0.1783447265625, 0.156982421875, 0.1773681640625, 0.0660400390625, 0.1083984375, 0.147216796875, 0.1370849609375, 0.004669189453125, 0.08935546875, 0.06451416015625, 0.00311279296875, 0.10272216796875, 0.1375732421875, 0.042236328125, 0.1539306640625...
embed
2846586_c0
2846586
fsharp
0
Title: Understanding pattern matching with cons operator Problem title: Understanding pattern matching with cons operator Tags: pattern-matching, f%23, cons Problem: Understanding pattern matching with cons operator In "Programming F#" I came across a pattern-matching like this one (I simplified a bit): let rec len lis...
Understanding pattern matching with cons operator Understanding pattern matching with cons operator pattern-matching f%23 cons Understanding Understanding pattern matching with cons operator In "Programming F#" I came across a pattern-matching like this one (I simplified a bit): Practically, I understand that the last ...
[ 0.0011749267578125, 0.007659912109375, 0.00567626953125, 0.005126953125, 0.004058837890625, -0.004913330078125, -0.033935546875, 0.0247802734375, 0.0311279296875, -0.03173828125, 0.033203125, -0.0201416015625, 0.032470703125, -0.00445556640625, 0, -0.0191650390625, 0, 0.00144195556...
[ 9626, 144057, 103510, 14858, 214, 678, 158, 7, 39933, 98753, 1238, 3949, 3742, 172895, 563, 4904, 36880, 112892, 109613, 28219, 4568, 125296, 10336, 136, 46741, 5303, 128182, 2046, 15400, 43240, 1984, 83, 114689, 34292, 19069, 11814, 146981, ...
[ 0.08172607421875, 0.003936767578125, 0.205322265625, 0.1998291015625, 0.072998046875, 0.0794677734375, 0.1937255859375, 0.109130859375, 0.202392578125, 0.203125, 0.04022216796875, 0.001129150390625, 0.088134765625, 0.02655029296875, 0.0216827392578125, 0.0830078125, 0.002716064453125...
embed
29494091_c0
29494091
fsharp
0
Title: Using CompilerMessageAttribute to produce a compiler error, but only in other assemblies Problem title: Using CompilerMessageAttribute to produce a compiler error, but only in other assemblies Tags: f%23 Problem: Using CompilerMessageAttribute to produce a compiler error, but only in other assemblies I have a un...
Using CompilerMessageAttribute to produce a compiler error, but only in other assemblies Using CompilerMessageAttribute to produce a compiler error, but only in other assemblies f%23 Using CompilerMessageAttribute Default Using CompilerMessageAttribute to produce a compiler error, but only in other assemblies I have a ...
[ -0.009033203125, 0.01904296875, -0.0194091796875, -0.0224609375, -0.004058837890625, -0.00921630859375, -0.013916015625, -0.0208740234375, -0.00799560546875, -0.023681640625, -0.006805419921875, 0.007080078125, 0.044921875, 0.0185546875, 0.00640869140625, 0.01507568359375, -0.0017623...
[ 345, 15612, 34759, 594, 6011, 429, 28848, 191145, 27489, 9969, 18499, 1284, 4734, 23, 3789, 89845, 7121, 3949, 3742, 1021, 69941, 10644, 11001, 201505, 7225, 60042, 959, 131148, 75693, 1821, 4527, 2256, 32354, 56282, 14375, 29806, 17368, 442,...
[ 0.050750732421875, 0.1688232421875, 0.1876220703125, 0.034271240234375, 0.1446533203125, 0.091064453125, 0.0643310546875, 0.1944580078125, 0.128662109375, 0.180419921875, 0.1961669921875, 0.000213623046875, 0.049285888671875, 0.0345458984375, 0.0987548828125, 0.1475830078125, 0.09484...
embed
24645007_c1
24645007
fsharp
1
doesn't meet my extensibility requirement. My question is what alternatives would work well? [EDIT] I was asked to expand on the "doesn't meet my extenibility requirement" comment. The way this function would work is by doing something like: let makeDifferentiable (deriv : int -> IFunction) (f : IFunction)= { new IFun...
doesn't meet my extensibility requirement. My question is what alternatives would work well? [EDIT] I was asked to expand on the "doesn't meet my extenibility requirement" comment. The way this function would work is by doing something like: let makeDifferentiable (deriv : int -> IFunction) (f : IFunction)= { new IFun...
[ -0.001708984375, -0.000278472900390625, 0.011474609375, 0.01104736328125, -0.00543212890625, -0.0027008056640625, -0.0084228515625, -0.003875732421875, 0.003570556640625, -0.01904296875, -0.0038604736328125, 0.00830078125, -0.01483154296875, -0.008056640625, 0.004791259765625, 0.020141...
[ 22027, 18, 23356, 759, 1119, 41745, 83259, 64209, 674, 30700, 4488, 5299, 71062, 246, 90, 19, 24218, 6868, 3917, 903, 32354, 2806, 83, 2633, 3249, 14055, 18234, 21616, 2886, 820, 4371, 23, 33079, 87, 97249, 420, 3525, 10763, 678, 32786, ...
[ 0.07025146484375, 0.105224609375, 0.16455078125, 0.09326171875, 0.08837890625, 0.1820068359375, 0.1055908203125, 0.1400146484375, 0.055419921875, 0.1585693359375, 0.12255859375, 0.0281524658203125, 0.1185302734375, 0.041351318359375, 0.03741455078125, 0.02490234375, 0.1937255859375, ...
embed
29260683_c0
29260683
fsharp
0
Title: F#: Testing whether two strings are anagrams Problem title: F#: Testing whether two strings are anagrams Tags: f%23 Problem: F#: Testing whether two strings are anagrams I am new to programming and F# is my first language. Here is my code: let areAnagrams (firstString: string) (secondString: string) = let countC...
F#: Testing whether two strings are anagrams F#: Testing whether two strings are anagrams f%23 Testing someString.ToLower ToCharArray Array.toSeq Seq.countBy Seq.sortBy testString1 Laity testString2 Italy F#: Testing whether two strings are anagrams I am new to programming and F# is my first language. Here is my code: ...
[ 0.006805419921875, 0.00537109375, -0.00653076171875, 0.0172119140625, 0.0181884765625, 0.006866455078125, 0.0146484375, -0.003021240234375, -0.00531005859375, 0.038818359375, 0.004669189453125, 0.000835418701171875, -0.000865936279296875, 0.036865234375, -0.0006256103515625, 0.00442504...
[ 563, 4904, 8647, 214, 36766, 6626, 79315, 621, 3877, 25561, 7, 1238, 3949, 3742, 71713, 7763, 15363, 6488, 717, 84068, 7614, 7092, 69253, 188, 864, 5, 71013, 62351, 3034, 239, 2481, 304, 98848, 12, 3525, 47, 56037, 449, 5117, 46876, 759...
[ 0.13037109375, 0.1895751953125, 0.201171875, 0.045318603515625, 0.09197998046875, 0.1058349609375, 0.199951171875, 0.089599609375, 0.1551513671875, 0.2193603515625, 0.0144195556640625, 0.09136962890625, 0.0181427001953125, 0.099853515625, 0.115478515625, 0.0843505859375, 0.1010742187...
embed
20603696_c0
20603696
fsharp
0
Title: How to avoid creating new instance of FSharpFunc when calling recursive inner function? Problem title: How to avoid creating new instance of FSharpFunc when calling recursive inner function? Tags: inline, f%23, performance, recursion Problem: How to avoid creating new instance of FSharpFunc when calling recursiv...
How to avoid creating new instance of FSharpFunc when calling recursive inner function? How to avoid creating new instance of FSharpFunc when calling recursive inner function? inline f%23 performance recursion How FSharpFunc ReadState SpinWait w.SpinOnce Memory f222 Invoke InternalReadState How to avoid creating new in...
[ -0.01007080078125, 0.00579833984375, 0.00072479248046875, -0.00726318359375, -0.006072998046875, -0.00274658203125, 0.00830078125, -0.004730224609375, 0.0019989013671875, -0.0274658203125, 0.013427734375, 0.0191650390625, 0.0016326904296875, 0.007232666015625, 0.030517578125, -0.002075...
[ 11249, 71864, 105233, 3525, 110527, 93774, 3467, 254, 97249, 238, 159029, 195625, 5844, 75414, 32354, 23, 2256, 1238, 3949, 3742, 23718, 4764, 135206, 13, 58383, 22489, 217, 148, 5128, 3956, 172681, 132537, 23253, 106745, 31345, 6493, 60322, ...
[ 0.00341796875, 0.2010498046875, 0.1375732421875, 0.12744140625, 0.2255859375, 0.09661865234375, 0.1866455078125, 0.15771484375, 0.2021484375, 0.134521484375, 0.094482421875, 0.170166015625, 0.1109619140625, 0.1817626953125, 0.1602783203125, 0.0213470458984375, 0.0889892578125, 0.14...
embed
35560236_c0
35560236
fsharp
0
Title: How to manipulate list elements in F# Problem title: How to manipulate list elements in F# Tags: functional-programming, f%23, f%23-interactive, f%23-3.0 Problem: How to manipulate list elements in F# I'm currently working my way through a project using F#. I'm quite new to functional programming, and while I'm ...
How to manipulate list elements in F# How to manipulate list elements in F# functional-programming f%23 f%23-interactive f%23-3.0 How How to manipulate list elements in F# I'm currently working my way through a project using F#. I'm quite new to functional programming, and while I'm familiar with the idea of list items...
[ 0.005889892578125, 0.00872802734375, 0.00008392333984375, 0.0147705078125, -0.0181884765625, 0.0184326171875, -0.00787353515625, 0.0135498046875, 0.0020904541015625, 0.0003986358642578125, 0.003265380859375, -0.01708984375, -0.00433349609375, 0.01385498046875, -0.0242919921875, -0.0026...
[ 11249, 47, 45258, 67, 5303, 80854, 23, 563, 4904, 123309, 28966, 1238, 3742, 27495, 10433, 71232, 132265, 20697, 13452, 17368, 3525, 56037, 16031, 55769, 566, 561, 22819, 31089, 79315, 9384, 2806, 1884, 15504, 12638, 12830, 3934, 6863, 10002,...
[ 0.083984375, 0.0511474609375, 0.2344970703125, 0.101318359375, 0.2281494140625, 0.1983642578125, 0.07403564453125, 0.1575927734375, 0.2275390625, 0.1612548828125, 0.1138916015625, 0.07525634765625, 0.029815673828125, 0.0228271484375, 0.018798828125, 0.04315185546875, 0.07891845703125...
embed
72717170_c0
72717170
fsharp
0
Title: How can I make a function that adds a number to each value in an array? Problem title: How can I make a function that adds a number to each value in an array? Tags: f%23, functional-programming Problem: How can I make a function that adds a number to each value in an array? I am new to F# and I am trying to make...
How can I make a function that adds a number to each value in an array? How can I make a function that adds a number to each value in an array? f%23 functional-programming How int1 int2 Seq.map How can I make a function that adds a number to each value in an array? I am new to F# and I am trying to make a function call...
[ 0.002777099609375, 0.02294921875, -0.004119873046875, 0.0115966796875, -0.009765625, 0.016357421875, 0.00250244140625, 0.0164794921875, 0.01904296875, -0.02880859375, -0.0057373046875, 0.021240234375, 0.00238037109375, 0.04150390625, 0.0230712890625, -0.002288818359375, 0.00515747070...
[ 11249, 831, 87, 3249, 32354, 450, 15190, 7, 14012, 47, 12638, 34292, 23, 10298, 53, 142, 1238, 3742, 123309, 28966, 18, 304, 503, 864, 62346, 10, 3525, 563, 4904, 31577, 10554, 53234, 116, 142424, 106, 54651, 3444, 4488, 98, 37842, 1815...
[ 0.095703125, 0.0816650390625, 0.05120849609375, 0.1319580078125, 0.2462158203125, 0.043304443359375, 0.180419921875, 0.0789794921875, 0.2210693359375, 0.1346435546875, 0.137451171875, 0.1842041015625, 0.09051513671875, 0.1907958984375, 0.1575927734375, 0.03839111328125, 0.04174804687...
embed
51900023_c0
51900023
fsharp
0
Title: In F#, how to get head/tail of a seq without re-evaluating the seq Problem title: In F#, how to get head/tail of a seq without re-evaluating the seq Tags: f%23 Problem: In F#, how to get head/tail of a seq without re-evaluating the seq I'm reading a file and I want to do something with the first line, and someth...
In F#, how to get head/tail of a seq without re-evaluating the seq In F#, how to get head/tail of a seq without re-evaluating the seq f%23 System.IO.File.ReadLines filename.txt Seq.map r.Trim Seq.head Seq.tail TextReader Seq In F#, how to get head/tail of a seq without re-evaluating the seq I'm reading a file and I wan...
[ 0.03564453125, 0.017333984375, 0.0240478515625, 0.022705078125, -0.00250244140625, -0.0103759765625, 0.02099609375, 0.0167236328125, 0.003662109375, -0.030029296875, 0.007781982421875, 0.035400390625, -0.0216064453125, 0.0103759765625, 0.03271484375, -0.00010251998901367188, -0.01940...
[ 563, 4904, 3642, 2046, 10336, 64, 46741, 111, 40, 864, 15490, 456, 159258, 1238, 3742, 12353, 17780, 174350, 31345, 93232, 11435, 124326, 503, 62346, 74257, 39, 31251, 24129, 56, 16454, 3444, 678, 5117, 13315, 124519, 15649, 11782, 47, 3578...
[ 0.1109619140625, 0.1910400390625, 0.03399658203125, 0.1380615234375, 0.2315673828125, 0.12646484375, 0.26513671875, 0.0433349609375, 0.13037109375, 0.2081298828125, 0.0927734375, 0.035888671875, 0.1552734375, 0.013153076171875, 0.10546875, 0.022979736328125, 0.0863037109375, 0.0469...
embed
5789579_c1
5789579
fsharp
1
.Publish let mouseEvent = mkMouseTracker l mouseEvent.Add(fun (args1, args2) -> let pos1, pos2 = args1.GetPosition(l), args2.GetPosition(l) l.RenderTransform <- TranslateTransform(pos2.X - pos1.X, pos2.Y - pos1.Y) l.Content <- sprintf "%A: %A -> %A" args1.Timestamp pos1 pos2) Code signals: Combining, WPF, WindowsBase, ...
.Publish let mouseEvent = mkMouseTracker l mouseEvent.Add(fun (args1, args2) -> let pos1, pos2 = args1.GetPosition(l), args2.GetPosition(l) l.RenderTransform <- TranslateTransform(pos2.X - pos1.X, pos2.Y - pos1.Y) l.Content <- sprintf "%A: %A -> %A" args1.Timestamp pos1 pos2) Code signals: Combining, WPF, WindowsBase, ...
[ -0.0224609375, 0.03857421875, -0.004547119140625, -0.00958251953125, 0.0174560546875, -0.00139617919921875, 0.005401611328125, -0.007171630859375, -0.007354736328125, -0.0400390625, -0.005889892578125, 0.0035858154296875, 0.0218505859375, -0.00299072265625, -0.00933837890625, 0.0234375...
[ 5, 143145, 15227, 2633, 114669, 192134, 2203, 19201, 594, 51483, 28542, 11050, 96, 284, 4028, 16498, 61477, 7, 418, 79459, 10461, 3864, 304, 724, 126, 7192, 172, 141, 5442, 23894, 62624, 5037, 11062, 19309, 7522, 1542, 1723, 25352, 145320, ...
[ 0.08642578125, 0.176025390625, 0.212646484375, 0.128662109375, 0.214111328125, 0.28271484375, 0.044891357421875, 0.10302734375, 0.0323486328125, 0.177734375, 0.21435546875, 0.2215576171875, 0.08197021484375, 0.0484619140625, 0.1651611328125, 0.230224609375, 0.1400146484375, 0.04122...
embed
8160421_c0
8160421
fsharp
0
Title: In FsCheck, how to generate a test record with non-negative fields? Problem title: In FsCheck, how to generate a test record with non-negative fields? Tags: f%23, fscheck Problem: In FsCheck, how to generate a test record with non-negative fields? In F#, I have a record with a few fields: type myRecord = { a:flo...
In FsCheck, how to generate a test record with non-negative fields? In FsCheck, how to generate a test record with non-negative fields? f%23 fscheck FsCheck a:float b:float c:float verify_this_property r:myRecord r.a r.b r.c In FsCheck, how to generate a test record with non-negative fields? In F#, I have a record with...
[ -0.00787353515625, -0.005889892578125, -0.00958251953125, -0.003997802734375, -0.0032501220703125, 0.00396728515625, 0.028076171875, -0.016357421875, 0.006439208984375, -0.0089111328125, 0.0086669921875, 0.0262451171875, 0.0037689208984375, -0.00555419921875, -0.000621795654296875, -0....
[ 563, 7, 202567, 3642, 139392, 3034, 17164, 678, 351, 3331, 4935, 44457, 360, 9, 1238, 3742, 78292, 52347, 493, 40383, 100231, 36290, 56, 1176, 4332, 32271, 4904, 10846, 183871, 4527, 27781, 70796, 208124, 185190, 759, 97249, 10763, 28282, 5...
[ 0.105712890625, 0.0855712890625, 0.28369140625, 0.03778076171875, 0.2039794921875, 0.22509765625, 0.217041015625, 0.1156005859375, 0.1842041015625, 0.156005859375, 0.142333984375, 0.2015380859375, 0.025482177734375, 0.02410888671875, 0.034759521484375, 0.0272064208984375, 0.219604492...
embed
61637500_c0
61637500
fsharp
0
Title: Cross-type record with statements in F#? Problem title: Cross-type record with statements in F#? Tags: types, f%23, record Problem: Cross-type record with statements in F#? The following code does not compile: type Person = { FirstName : string LastName : string } type Employee = { FirstName : string LastName : ...
Cross-type record with statements in F#? Cross-type record with statements in F#? types f%23 record Cross-type Person FirstName LastName Employee Salary Steve Jobs p.FirstName p.LastName Unchecked.defaultof Cross-type record with statements in F#? The following code does not compile: A work-around is to write a helper,...
[ 0.005462646484375, 0.0054931640625, 0.0010528564453125, -0.00146484375, -0.0126953125, -0.02978515625, -0.048095703125, 0.0030059814453125, 0.016357421875, 0.011474609375, -0.004425048828125, 0.019287109375, 0.0089111328125, 0.0224609375, 0.00457763671875, -0.005950927734375, -0.0133...
[ 47832, 50986, 17164, 678, 63805, 7, 23, 563, 4904, 32, 9, 52895, 1238, 3949, 3742, 15270, 23972, 163612, 21672, 31678, 365, 13294, 1294, 41550, 73401, 915, 207263, 2729, 271, 992, 78292, 214810, 4390, 581, 25632, 18151, 14602, 959, 9969, ...
[ 0.22509765625, 0.2388916015625, 0.2220458984375, 0.0966796875, 0.250244140625, 0.0838623046875, 0.0389404296875, 0.177978515625, 0.2452392578125, 0.0153656005859375, 0.033355712890625, 0.197265625, 0.12060546875, 0.0260162353515625, 0.14892578125, 0.13671875, 0.0870361328125, 0.119...
embed
28769658_c0
28769658
fsharp
0
Title: F# applying function to it&#x27;s result n-times Problem title: F# applying function to it&#x27;s result n-times Tags: f%23, functional-programming Problem: F# applying function to it's result n-times I am trying to find a functional correct way for the following piece of code: let mutable u = initialize cities ...
F# applying function to it&#x27;s result n-times F# applying function to it&#x27;s result n-times f%23 functional-programming Seq.init Seq.fold F# applying function to it's result n-times I am trying to find a functional correct way for the following piece of code: randomIteration is a simple function which takes an ar...
[ -0.0023956298828125, -0.004241943359375, 0.00799560546875, 0.00439453125, 0.0087890625, -0.003875732421875, 0.0115966796875, -0.01348876953125, 0.005584716796875, -0.05908203125, 0.0205078125, 0.006256103515625, -0.009033203125, 0.0181884765625, 0.0036163330078125, -0.01251220703125, ...
[ 563, 4904, 59911, 32354, 47, 442, 3768, 16750, 653, 70141, 1238, 3742, 123309, 28966, 503, 864, 73, 217, 42822, 31577, 7413, 26785, 3917, 25632, 63847, 18151, 96759, 568, 720, 2320, 8781, 51776, 10298, 678, 116, 1286, 171859, 30646, 73197, ...
[ 0.117431640625, 0.2115478515625, 0.1650390625, 0.191162109375, 0.1368408203125, 0.07110595703125, 0.1177978515625, 0.193115234375, 0.14013671875, 0.210205078125, 0.0577392578125, 0.050689697265625, 0.1619873046875, 0.0904541015625, 0.055511474609375, 0.14013671875, 0.01776123046875, ...
embed
30488896_c0
30488896
fsharp
0
Title: How to do pattern matching in Rx. Where and Select in a single operator? Problem title: How to do pattern matching in Rx. Where and Select in a single operator? Tags: f%23, system.reactive, pattern-matching Problem: How to do pattern matching in Rx. Where and Select in a single operator? Suppose I have this type...
How to do pattern matching in Rx. Where and Select in a single operator? How to do pattern matching in Rx. Where and Select in a single operator? f%23 system.reactive pattern-matching How Where Select IObservable o.Where None Some system.reactive How to do pattern matching in Rx. Where and Select in a single operator? ...
[ -0.01141357421875, 0.029296875, 0.0022125244140625, -0.0021209716796875, -0.025146484375, -0.00994873046875, -0.0108642578125, 0.0130615234375, 0.0023040771484375, -0.01446533203125, 0.0247802734375, -0.031494140625, 0.01031494140625, -0.004180908203125, 0.00531005859375, 0.015625, 0...
[ 11249, 47, 54, 103510, 14858, 214, 23, 627, 425, 78662, 136, 51620, 11001, 39933, 1238, 3949, 3742, 5426, 107, 71232, 98753, 87, 46471, 65756, 2661, 36, 35593, 438, 86, 31384, 10644, 22046, 36510, 40368, 8966, 2301, 18, 1884, 17368, 116, ...
[ 0.06683349609375, 0.01629638671875, 0.07257080078125, 0.2432861328125, 0.24462890625, 0.15283203125, 0.08837890625, 0.119384765625, 0.2022705078125, 0.15380859375, 0.05474853515625, 0.1788330078125, 0.13671875, 0.2025146484375, 0.03826904296875, 0.001495361328125, 0.1160888671875, ...
embed
36710722_c0
36710722
fsharp
0
Title: F# - Custom max function over Operators.max - Huge performance hit Problem title: F# - Custom max function over Operators.max - Huge performance hit Tags: f%23, .net Problem: F# - Custom max function over Operators.max - Huge performance hit I implemented a sequential version of the LCS algorithm in F#, and ran ...
F# - Custom max function over Operators.max - Huge performance hit F# - Custom max function over Operators.max - Huge performance hit f%23 .net Custom Operators.max Huge a:int b:int F# - Custom max function over Operators.max - Huge performance hit I implemented a sequential version of the LCS algorithm in F#, and ran ...
[ 0.0084228515625, -0.00579833984375, 0.023193359375, 0.01446533203125, -0.01409912109375, -0.0120849609375, -0.005706787109375, 0.01611328125, 0.0003814697265625, -0.0308837890625, 0.00958251953125, 0.01104736328125, -0.01434326171875, -0.00787353515625, 0.0281982421875, -0.030151367187...
[ 563, 4904, 130664, 18389, 32354, 645, 150922, 7, 24084, 99926, 23718, 5962, 5, 1238, 3949, 3742, 1179, 10, 4288, 876, 13, 29479, 243228, 11389, 70, 339, 19283, 234873, 13028, 26548, 6626, 79315, 805, 9508, 124850, 12638, 74729, 34739, 10932...
[ 0.146484375, 0.2049560546875, 0.22021484375, 0.2440185546875, 0.2218017578125, 0.108642578125, 0.2161865234375, 0.0163726806640625, 0.200439453125, 0.08856201171875, 0.146240234375, 0.16064453125, 0.0267333984375, 0.10107421875, 0.0404052734375, 0.110107421875, 0.1240234375, 0.0668...
embed
78246316_c0
78246316
fsharp
0
Title: How do I convert a list of chars into a list of strings in F#? Problem title: How do I convert a list of chars into a list of strings in F#? Tags: f%23, list, f%23-interactive Problem: How do I convert a list of chars into a list of strings in F#? I have a list of chars that looks like this ['a'; 'b'; '&'; 'c']....
How do I convert a list of chars into a list of strings in F#? How do I convert a list of chars into a list of strings in F#? f%23 list f%23-interactive How varL1 ConvertToString l.ToString head.ToString How do I convert a list of chars into a list of strings in F#? I have a list of chars that looks like this ['a'; 'b'...
[ -0.01171875, -0.005462646484375, 0.0030059814453125, 0.01513671875, -0.0107421875, 0.0174560546875, -0.0177001953125, 0.006988525390625, 0.00506591796875, 0.00775146484375, 0.001861572265625, -0.003875732421875, 0.005126953125, 0.030029296875, -0.00885009765625, -0.0057373046875, 0.0...
[ 11249, 87, 96760, 5303, 111, 21441, 7, 3934, 10, 79315, 23, 563, 4904, 1238, 3742, 27495, 10433, 71232, 285, 866, 418, 1657, 11549, 7763, 71713, 214, 96, 10336, 54, 33342, 1884, 903, 11, 275, 1230, 238, 2055, 3564, 69101, 6626, 678, 7...
[ 0.03802490234375, 0.025634765625, 0.160888671875, 0.2020263671875, 0.05133056640625, 0.213134765625, 0.0810546875, 0.098876953125, 0.0728759765625, 0.2154541015625, 0.07489013671875, 0.15380859375, 0.210693359375, 0.0699462890625, 0.0760498046875, 0.01361083984375, 0.0241546630859375...
embed
9413483_c0
9413483
fsharp
0
Title: F# value restriction in empty list Problem title: F# value restriction in empty list Tags: value-restriction, list, f%23 Problem: F# value restriction in empty list I have a F# function: let removeEven (listToGoUnder : _ list) = let rec listRec list x = match list with | [] -> [] | head::tail when (x%2 = 0) -> h...
F# value restriction in empty list F# value restriction in empty list value-restriction list f%23 head::tail F# value restriction in empty list I have a F# function: It removes all elements at an even index in a list. It works if I give the list some imput, like removeEven ['1';'2';'3'] I get ['1';'3'] which I am suppo...
[ -0.0167236328125, 0.01373291015625, 0.002838134765625, -0.0034942626953125, 0.005767822265625, 0.0022430419921875, -0.009521484375, 0.002655029296875, 0.01300048828125, -0.022705078125, 0.021484375, -0.0067138671875, 0.01141357421875, -0.0057373046875, 0.0233154296875, -0.0093383789062...
[ 563, 4904, 34292, 185190, 23, 201505, 5303, 107, 7655, 10763, 1238, 3742, 10336, 46741, 32354, 87388, 756, 80854, 99, 3853, 63262, 43240, 8337, 65970, 1353, 363, 418, 74, 134598, 183540, 237, 171859, 903, 18499, 39527 ]
[ 0.1285400390625, 0.2156982421875, 0.2008056640625, 0.2401123046875, 0.034881591796875, 0.22705078125, 0.1964111328125, 0.03485107421875, 0.1318359375, 0.02056884765625, 0.0599365234375, 0.1212158203125, 0.1033935546875, 0.16845703125, 0.1273193359375, 0.1490478515625, 0.0609130859375...
embed
61025923_c0
61025923
fsharp
0
Title: Comparing two objects with default IComparable implementation with F# Reflection Problem title: Comparing two objects with default IComparable implementation with F# Reflection Tags: f%23, reflection, icomparable Problem: Comparing two objects with default IComparable implementation with F# Reflection Given two ...
Comparing two objects with default IComparable implementation with F# Reflection Comparing two objects with default IComparable implementation with F# Reflection f%23 reflection icomparable Comparing IComparable Reflection ty1 ty2 o1.GetType o2.GetType None o1.CompareTo Some Comparing two objects with default IComparab...
[ -0.0078125, 0.004852294921875, 0.01080322265625, 0.010009765625, 0.00274658203125, -0.01202392578125, -0.00860595703125, -0.0103759765625, -0.01336669921875, 0.005828857421875, 0.0024261474609375, 0.023681640625, 0.012451171875, -0.0024566650390625, 0.01416015625, -0.0184326171875, 0...
[ 113307, 6626, 36746, 114977, 87, 108161, 147, 2886, 208124, 563, 4904, 53295, 133, 1238, 3742, 44961, 1830, 17, 277, 2500, 2281, 418, 304, 36, 196707, 5442, 1046, 7763, 31384, 678, 3917, 4527, 55300, 47, 69101, 2856, 66596, 15044, 5701, 1...
[ 0.2042236328125, 0.1156005859375, 0.1763916015625, 0.2159423828125, 0.147705078125, 0.18359375, 0.1898193359375, 0.180908203125, 0.144287109375, 0.1217041015625, 0.201904296875, 0.162353515625, 0.132080078125, 0.070556640625, 0.1141357421875, 0.1939697265625, 0.0069580078125, 0.078...
embed
49395694_c0
49395694
fsharp
0
Title: construct only be used within computation expressions Problem title: construct only be used within computation expressions Tags: f%23 Problem: construct only be used within computation expressions I'v an async function that returns a string asynchronously and I'm calling that function within test method and is t...
construct only be used within computation expressions construct only be used within computation expressions f%23 Async Console.WriteLine TestMethod this.TestRequestDataAsync Assert.IsTrue construct only be used within computation expressions I'v an async function that returns a string asynchronously and I'm calling tha...
[ -0.0108642578125, 0.009765625, 0.021484375, 0.0062255859375, 0.025634765625, 0.00848388671875, 0.0159912109375, 0.00640869140625, -0.01214599609375, -0.0301513671875, -0.00008249282836914062, -0.01080322265625, 0.004638671875, -0.003082275390625, 0.036865234375, 0.016357421875, 0.021...
[ 64549, 4734, 186, 11814, 28032, 181135, 1363, 125195, 1238, 3949, 3742, 62, 12654, 238, 40777, 93232, 8647, 78572, 7352, 903, 111337, 75616, 137989, 33657, 882, 334, 10, 32354, 30646, 79315, 101966, 159029, 3034, 55300, 104250, 30022, 28864, ...
[ 0.2303466796875, 0.102783203125, 0.014984130859375, 0.145263671875, 0.177001953125, 0.1500244140625, 0.047882080078125, 0.1986083984375, 0.034942626953125, 0.024871826171875, 0.127685546875, 0.00970458984375, 0.174560546875, 0.0841064453125, 0.0987548828125, 0.0751953125, 0.122802734...
embed
57711393_c0
57711393
fsharp
0
Title: How to set --summary in the test assembly in Expecto Problem title: How to set --summary in the test assembly in Expecto Tags: expecto, unit-testing, f%23 Problem: How to set --summary in the test assembly in Expecto Expecto allows you to set parameters via CLIArguments and also by overriding its defaultConfig ....
How to set --summary in the test assembly in Expecto How to set --summary in the test assembly in Expecto expecto unit-testing f%23 How Expecto Expecto.Impl Expecto.Logging EntryPoint Logging.Colour256 LogLevel.Info Array.append Tests.runTestsInAssembly How to set --summary in the test assembly in Expecto Expecto allow...
[ -0.001434326171875, 0.00148773193359375, -0.001190185546875, -0.00244140625, -0.00543212890625, -0.0380859375, 0.00701904296875, -0.025390625, 0.00592041015625, 0.0250244140625, -0.004669189453125, 0.01171875, -0.00101470947265625, -0.006134033203125, -0.01409912109375, 0.0059509277343...
[ 11249, 5423, 4210, 112197, 1294, 23, 3034, 89845, 38526, 60075, 60751, 41206, 31, 25072, 6954, 3742, 128878, 141, 15123, 147534, 64906, 127892, 13146, 2601, 93147, 8647, 111337, 171859, 67991, 1234, 416, 114977, 83671, 27875, 9, 42564, 678, 7...
[ 0.019073486328125, 0.1729736328125, 0.1365966796875, 0.1951904296875, 0.18798828125, 0.0277557373046875, 0.1761474609375, 0.1258544921875, 0.060455322265625, 0.1435546875, 0.242919921875, 0.162109375, 0.142822265625, 0.07763671875, 0.126220703125, 0.061737060546875, 0.040771484375, ...
embed
43107508_c0
43107508
fsharp
0
Title: F#, implement fold3, fold4, fold_n Problem title: F#, implement fold3, fold4, fold_n Tags: f%23 Problem: F#, implement fold3, fold4, fold_n I am interested to implement fold3, fold4 etc., similar to List.fold and List.fold2. e.g. // TESTCASE let polynomial (x:double) a b c = a*x + b*x*x + c*x*x*x let A = [2.0; 3...
F#, implement fold3, fold4, fold_n F#, implement fold3, fold4, fold_n f%23 List.map3 fold3 fold4 fold_n TESTCASE x:double Output List.fold e.g Change F#, implement fold3, fold4, fold_n I am interested to implement fold3, fold4 etc., similar to List.fold and List.fold2. e.g. My first method is grouping the 3 lists A, B,...
[ -0.021240234375, 0.01226806640625, 0.0174560546875, 0.00408935546875, -0.009033203125, 0.01177978515625, 0.0025787353515625, 0.00665283203125, 0.00994873046875, -0.0162353515625, 0.0015106201171875, -0.0201416015625, -0.0128173828125, 0.01165771484375, -0.0019378662109375, 0.0075988769...
[ 563, 4904, 29479, 42822, 363, 4, 617, 454, 19, 1238, 3949, 3742, 32036, 62346, 31273, 76783, 1022, 21555, 2661, 13538, 7077, 5, 87377, 60892, 21373, 5442, 5117, 55300, 21115, 138, 5303, 62, 335, 313, 3934, 370, 99726, 59911, 17932, 159978...
[ 0.14990234375, 0.1953125, 0.20947265625, 0.25830078125, 0.1971435546875, 0.006256103515625, 0.1907958984375, 0.0176239013671875, 0.0447998046875, 0.0841064453125, 0.00048828125, 0.1116943359375, 0.209716796875, 0.1163330078125, 0.1126708984375, 0.05230712890625, 0.047637939453125, ...
embed
50879504_c0
50879504
fsharp
0
Title: Conditional compiling not work with F#/Visual Studio Mac with shared assembly (how workaround) Problem title: Conditional compiling not work with F#/Visual Studio Mac with shared assembly (how workaround) Tags: f%23, conditional-compilation, visual-studio-mac Problem: Conditional compiling not work with F#/Visua...
Conditional compiling not work with F#/Visual Studio Mac with shared assembly (how workaround) Conditional compiling not work with F#/Visual Studio Mac with shared assembly (how workaround) f%23 conditional-compilation visual-studio-mac Conditional Visual Studio Mac __MOBILE__ ROOT_PATH __SOURCE_DIRECTORY__ Conditional...
[ -0.01007080078125, 0.013916015625, 0.000286102294921875, 0.00921630859375, -0.004119873046875, -0.004913330078125, -0.00799560546875, 0.006500244140625, -0.0162353515625, 0.0107421875, 0.000040531158447265625, -0.007598876953125, 0.0167236328125, 0.0004425048828125, 0.026123046875, 0.0...
[ 46347, 43315, 9969, 49725, 959, 4488, 678, 563, 4904, 6609, 64010, 22968, 4727, 99764, 89845, 38526, 47251, 67688, 1238, 3742, 35431, 289, 277, 5974, 21176, 52629, 35572, 73372, 123670, 162727, 65135, 15644, 77593, 62775, 756, 77635, 14288, 2...
[ 0.2374267578125, 0.1531982421875, 0.1783447265625, 0.1824951171875, 0.096923828125, 0.1131591796875, 0.1126708984375, 0.0863037109375, 0.1497802734375, 0.053558349609375, 0.127685546875, 0.144775390625, 0.163330078125, 0.1634521484375, 0.1414794921875, 0.07586669921875, 0.01593017578...
embed
17772040_c0
17772040
fsharp
0
Title: JsonProvider &quot;This is not a constant expression or valid custom attribute value&quot; Problem title: JsonProvider &quot;This is not a constant expression or valid custom attribute value&quot; Tags: type-providers, f%23, f%23-interactive, f%23-data Problem: JsonProvider "This is not a constant expression or ...
JsonProvider &quot;This is not a constant expression or valid custom attribute value&quot; JsonProvider &quot;This is not a constant expression or valid custom attribute value&quot; type-providers f%23 f%23-interactive f%23-data JsonProvider INTERACTIVE Debug FSharp.Data.dll System FSharp.Data FSharp.Data.Json Schema J...
[ -0.0033111572265625, 0.02880859375, -0.0078125, -0.0034332275390625, -0.00860595703125, -0.0002460479736328125, 0, 0.0140380859375, -0.001617431640625, -0.0189208984375, -0.01202392578125, 0.022705078125, 0.0146484375, -0.00567626953125, 0.0186767578125, 0.017822265625, -0.0137329101...
[ 821, 1681, 177997, 62160, 73243, 83, 959, 10, 53697, 125195, 707, 35604, 114122, 150380, 13, 34292, 10644, 93136, 14202, 1238, 3742, 27495, 10433, 71232, 10135, 59692, 159318, 262, 85779, 3467, 254, 137989, 5, 1181, 1375, 34702, 4568, 13315, ...
[ 0.14404296875, 0.16650390625, 0.166259765625, 0.1197509765625, 0.167724609375, 0.130859375, 0.2017822265625, 0.08941650390625, 0.2529296875, 0.2498779296875, 0.1048583984375, 0.219482421875, 0.22314453125, 0.16455078125, 0.05938720703125, 0.1773681640625, 0.1324462890625, 0.1590576...
embed
13061952_c0
13061952
fsharp
0
Title: How do you provide ResizeArray to legacy F# apps? Problem title: How do you provide ResizeArray to legacy F# apps? Tags: mono, f%23 Problem: How do you provide ResizeArray to legacy F# apps? I'm building TrueSkill, the F# app, from 2008, on Mono 3.0 with F# 3.0. The two errors I get are fList |> ResizeArray.iter...
How do you provide ResizeArray to legacy F# apps? How do you provide ResizeArray to legacy F# apps? mono f%23 How ResizeArray ResizeArray.iter f.ResetMarginals ResizeArray.fold_left f.LogNormalisation List ResizeArray.fs How do you provide ResizeArray to legacy F# apps? I'm building TrueSkill, the F# app, from 2008, on...
[ -0.0135498046875, 0.004364013671875, 0.0184326171875, 0.01043701171875, 0.0019683837890625, -0.00506591796875, -0.003814697265625, 0.00787353515625, 0.0031585693359375, -0.00141143798828125, 0.0198974609375, -0.01019287109375, -0.0064697265625, -0.017822265625, 0.01251220703125, -0.006...
[ 11249, 22691, 853, 62539, 7614, 7092, 47, 3257, 2408, 563, 4904, 49966, 22460, 1238, 3742, 16840, 4332, 3509, 16305, 6820, 16765, 42822, 2480, 113972, 50645, 2749, 15032, 32036, 17447, 54, 33976, 87599, 294, 119261, 4027, 43304, 98, 77879, ...
[ 0.058929443359375, 0.154052734375, 0.17626953125, 0.2401123046875, 0.1875, 0.261962890625, 0.0823974609375, 0.156005859375, 0.09356689453125, 0.1353759765625, 0.2071533203125, 0.1768798828125, 0.1580810546875, 0.1146240234375, 0.06927490234375, 0.1722412109375, 0.1014404296875, 0.1...
embed
30469898_c0
30469898
fsharp
0
Title: F# - Set Property if changed Problem title: F# - Set Property if changed Tags: f%23-3.0, f%23 Problem: F# - Set Property if changed I have a class with properties that have several side effects that fire when its setters are called, such as change events fired and/or rendering actions. How could I design a funct...
F# - Set Property if changed F# - Set Property if changed f%23-3.0 f%23 Set Property Ref F# - Set Property if changed I have a class with properties that have several side effects that fire when its setters are called, such as change events fired and/or rendering actions. How could I design a function that would set th...
[ -0.0026397705078125, -0.000354766845703125, 0.03955078125, 0.012939453125, 0.0184326171875, -0.00860595703125, -0.005401611328125, 0.004852294921875, 0.005096435546875, 0.042724609375, 0.006866455078125, 0.0517578125, -0.006072998046875, 0.0155029296875, 0.00909423828125, 0.0224609375,...
[ 563, 4904, 19943, 206984, 2174, 98816, 1238, 27495, 132265, 3742, 53295, 18507, 183871, 40368, 5609, 93425, 11476, 3229, 88685, 35839, 15549, 47353, 89159, 61972, 4331, 32354, 5423, 57266, 4734, 34292, 27117, 47, 17106, 18831, 7, 842, 22819, ...
[ 0.0791015625, 0.1771240234375, 0.2198486328125, 0.26025390625, 0.152099609375, 0.25244140625, 0.0633544921875, 0.046173095703125, 0.1356201171875, 0.09619140625, 0.21826171875, 0.1707763671875, 0.1968994140625, 0.0185546875, 0.1007080078125, 0.161865234375, 0.1478271484375, 0.04724...
embed
34981869_c1
34981869
fsharp
1
= String20 of string type Name = { First:String20 Last:String20 Suffix:String20 option } type Module = { Author:Name Duration:Duration } and Section = | Introduction of Module | Conclusion of Module | Content of Module list Code signals: How, XAML, ListView, ItemsSource, Binding, Modules, DisplayMemberPath, Author.Fir...
= String20 of string type Name = { First:String20 Last:String20 Suffix:String20 option } type Module = { Author:Name Duration:Duration } and Section = | Introduction of Module | Conclusion of Module | Content of Module list Code signals: How, XAML, ListView, ItemsSource, Binding, Modules, DisplayMemberPath, Author.Fir...
[ -0.00121307373046875, 0.034912109375, 0.0015411376953125, 0.01904296875, 0.0021514892578125, 0.0155029296875, -0.004638671875, -0.017822265625, 0.017822265625, -0.016845703125, -0.0028228759765625, -0.0235595703125, 0.0361328125, -0.00567626953125, 0, -0.002166748046875, 0.0119628906...
[ 2203, 23351, 214, 1549, 111, 79315, 10644, 15757, 23972, 71713, 21672, 142830, 55923, 35829, 63014, 13, 61804, 163612, 79843, 17726, 30494, 140978, 44891, 10763, 135523, 6889, 70870, 5303, 28864, 26073, 11249, 65415, 39456, 32036, 100474, 78426, ...
[ 0.133544921875, 0.183837890625, 0.032867431640625, 0.2354736328125, 0.0555419921875, 0.249267578125, 0.2188720703125, 0.1839599609375, 0.06353759765625, 0.14111328125, 0.1431884765625, 0.0762939453125, 0.1610107421875, 0.17041015625, 0.2198486328125, 0.046051025390625, 0.152587890625...
embed
54381214_c0
54381214
fsharp
0
Title: What is the idiomatic way to write a UNIX pipeline filter in F#? Problem title: What is the idiomatic way to write a UNIX pipeline filter in F#? Tags: f%23 Problem: What is the idiomatic way to write a UNIX pipeline filter in F#? what is the idiomatic way in F# for writing little UNIX command-line tools that pro...
What is the idiomatic way to write a UNIX pipeline filter in F#? What is the idiomatic way to write a UNIX pipeline filter in F#? f%23 What UNIX SOME_FUNCTION_OF Seq.initInfinite System.Console.In.ReadLine Seq.takeWhile Seq.iter What is the idiomatic way to write a UNIX pipeline filter in F#? what is the idiomatic way ...
[ -0.00543212890625, -0.00482177734375, 0.007171630859375, -0.00011920928955078125, 0.0079345703125, -0.0181884765625, 0.0155029296875, -0.007293701171875, 0.0029296875, -0.0093994140625, -0.00262451171875, 0.0439453125, 0.00439453125, 0.0103759765625, 0.0024871826171875, 0.0131225585937...
[ 4865, 49666, 9523, 3917, 33022, 67569, 1542, 137158, 2256, 46312, 563, 4904, 70, 47, 23, 1238, 3949, 3742, 919, 175560, 35213, 82341, 503, 864, 48310, 12353, 40777, 4153, 31345, 93232, 78219, 979, 133, 16840, 32562, 10176, 75101, 72977, 943...
[ 0.002044677734375, 0.200927734375, 0.128662109375, 0.09710693359375, 0.1683349609375, 0.1771240234375, 0.149169921875, 0.15673828125, 0.1903076171875, 0.276611328125, 0.1412353515625, 0.2066650390625, 0.00311279296875, 0.02301025390625, 0.0264129638671875, 0.1009521484375, 0.06921386...
embed
27313670_c0
27313670
fsharp
0
Title: Signature implementation in FSharp Problem title: Signature implementation in FSharp Tags: functional-programming, f%23 Problem: Signature implementation in FSharp Implement a signature in Fsharp The Signature: MyLibrary.fsi namespace myLib module public MyModule1 = val addition : p:float -> float The Implementa...
Signature implementation in FSharp Signature implementation in FSharp functional-programming f%23 Signature FSharp MyModule1 p:float Projects MyLibrary.fsi MyLibrary.fs myLib.MyModule1 Signature implementation in FSharp Implement a signature in Fsharp The Signature: MyLibrary.fsi The Implementation: MyLibrary.fs The Te...
[ 0.0079345703125, 0.005828857421875, -0.0167236328125, 0.00860595703125, -0.01007080078125, 0.002288818359375, 0.0194091796875, -0.01171875, 0.00213623046875, -0.0027618408203125, 0.0013580322265625, 0.0068359375, -0.01171875, 0.000728607177734375, 0.01129150390625, -0.017333984375, 0...
[ 26729, 141762, 208124, 23, 93774, 3467, 254, 123309, 28966, 1238, 3949, 3742, 2646, 91616, 8782, 418, 915, 52347, 257, 27331, 104820, 3701, 53, 420, 172, 17447, 759, 31852, 153941, 138256, 563, 89280, 8647, 18499, 1374, 128277, 83, 183234, ...
[ 0.1884765625, 0.196533203125, 0.1961669921875, 0.0511474609375, 0.1260986328125, 0.1917724609375, 0.2064208984375, 0.14892578125, 0.0931396484375, 0.08404541015625, 0.0609130859375, 0.1448974609375, 0.09326171875, 0.0833740234375, 0.07421875, 0.04486083984375, 0.009857177734375, 0....
embed
52544486_c0
52544486
fsharp
0
Title: Verbose syntax doesn&#x27;t work in lightweight mode F# Problem title: Verbose syntax doesn&#x27;t work in lightweight mode F# Tags: f%23 Problem: Verbose syntax doesn't work in lightweight mode F# Microsoft F# manual says that verbose syntax is always enabled in F#. If I understand that correctly, it means that...
Verbose syntax doesn&#x27;t work in lightweight mode F# Verbose syntax doesn&#x27;t work in lightweight mode F# f%23 Verbose Unexpected Expected Verbose syntax doesn't work in lightweight mode F# Microsoft F# manual says that verbose syntax is always enabled in F#. If I understand that correctly, it means that F# code,...
[ 0.0185546875, 0.00017452239990234375, 0.00860595703125, 0.026611328125, 0.0042724609375, 0.0115966796875, -0.004730224609375, 0.0068359375, -0.0030670166015625, 0.0025634765625, 0.0181884765625, 0.01153564453125, -0.005706787109375, 0.0020904541015625, 0.0218505859375, 0.00411987304687...
[ 1446, 837, 184, 6002, 86531, 3768, 18, 4488, 22729, 165598, 13736, 563, 4904, 83613, 13, 60075, 7244, 23009, 57823, 11343, 225081, 23, 18151, 27489, 35064, 28412, 14012, 305, 1492, 20028, 139392, 18499, 166117, 73, 128239, 89829, 82940, 46485...
[ 0.17919921875, 0.171142578125, 0.1810302734375, 0.1343994140625, 0.1951904296875, 0.0457763671875, 0.0357666015625, 0.101806640625, 0.13232421875, 0.2103271484375, 0.121337890625, 0.09228515625, 0.1510009765625, 0.0960693359375, 0.1065673828125, 0.06414794921875, 0.0452880859375, 0...
embed
57957972_c1
57957972
fsharp
1
Settings) tenant.Name |> should equal "Doe" tenant.FirstName |> should equal "John" [<Test>] // FAILS let ``Serialize V1 + Deserialize V4 with complex Default`` () = let tenant : TenantV1 = { Name = "Doe" } let json = JsonConvert.SerializeObject(tenant, serializationSettings) let tenant = JsonConvert.DeserializeObject<...
Settings) tenant.Name |> should equal "Doe" tenant.FirstName |> should equal "John" [<Test>] // FAILS let ``Serialize V1 + Deserialize V4 with complex Default`` () = let tenant : TenantV1 = { Name = "Doe" } let json = JsonConvert.SerializeObject(tenant, serializationSettings) let tenant = JsonConvert.DeserializeObject<...
[ 0.0031585693359375, 0.03515625, -0.01434326171875, 0.00067138671875, 0.0020751953125, -0.016357421875, -0.0264892578125, 0.00185394287109375, -0.01031494140625, 0.034423828125, -0.001678466796875, 0.034423828125, 0.0098876953125, 0.024169921875, -0.008056640625, -0.00750732421875, 0....
[ 105548, 86216, 163612, 5608, 105950, 8331, 13, 207263, 98385, 111337, 15491, 16444, 2633, 294, 25435, 119066, 310, 418, 997, 5581, 617, 678, 27140, 262, 1021, 7136, 5531, 1236, 856, 15757, 1647, 1681, 821, 11549, 75161, 35686, 47691, 73347, ...
[ 0.26220703125, 0.26171875, 0.200927734375, 0.08935546875, 0.16845703125, 0.1126708984375, 0.1094970703125, 0.094970703125, 0.1922607421875, 0.1265869140625, 0.11572265625, 0.1051025390625, 0.03607177734375, 0.06915283203125, 0.183349609375, 0.10565185546875, 0.13818359375, 0.067871...
embed
35422450_c0
35422450
fsharp
0
Title: Apply function to elements of a list while condition with function&#x27;s result is true Problem title: Apply function to elements of a list while condition with function&#x27;s result is true Tags: c%23-to-f%23, f%23 Problem: Apply function to elements of a list while condition with function's result is true I ...
Apply function to elements of a list while condition with function&#x27;s result is true Apply function to elements of a list while condition with function&#x27;s result is true c%23-to-f%23 f%23 Apply head::tail Apply function to elements of a list while condition with function's result is true I need iterating over a...
[ -0.0089111328125, -0.0087890625, 0.0228271484375, 0.007049560546875, -0.00482177734375, 0.007476806640625, 0.0086669921875, 0.0162353515625, 0.01043701171875, -0.021240234375, 0.025390625, 0.01092529296875, -0.020263671875, 0.0007476806640625, 0.000293731689453125, 0.00299072265625, ...
[ 5659, 538, 32354, 47, 80854, 5303, 12960, 35431, 678, 3768, 7, 16750, 83, 29568, 111, 501, 167218, 27495, 188, 420, 3742, 1238, 10336, 12, 46741, 3871, 17, 67, 98767, 645, 10, 16940, 720, 238, 35064, 2301, 18, 1884, 450, 96760, 11814, ...
[ 0.1590576171875, 0.0975341796875, 0.2125244140625, 0.1171875, 0.15625, 0.200439453125, 0.14208984375, 0.270263671875, 0.1124267578125, 0.1116943359375, 0.0301513671875, 0.161376953125, 0.093994140625, 0.20947265625, 0.016571044921875, 0.024658203125, 0.0236358642578125, 0.133911132...
embed
37103911_c0
37103911
fsharp
0
Title: Remove item from Array, with item that doesn&#x27;t provide equality Problem title: Remove item from Array, with item that doesn&#x27;t provide equality Tags: .net, f%23, arrays Problem: Remove item from Array, with item that doesn't provide equality How would I remove an item from an array, provided that it doe...
Remove item from Array, with item that doesn&#x27;t provide equality Remove item from Array, with item that doesn&#x27;t provide equality .net f%23 arrays Array Remove Array.filter Port DateTime originalFifoRequests.toArray Remove item from Array, with item that doesn't provide equality How would I remove an item from ...
[ -0.004974365234375, 0.02783203125, -0.01611328125, 0.00982666015625, -0.00885009765625, -0.0361328125, -0.0162353515625, -0.01007080078125, 0.005126953125, 0.01483154296875, 0.0244140625, 0.016357421875, 0.000553131103515625, 0.00872802734375, -0.01025390625, -0.009765625, 0.00787353...
[ 181139, 35735, 1295, 69253, 53, 678, 450, 22027, 3768, 18, 22691, 28, 161789, 1179, 1238, 3742, 10298, 4778, 120337, 13791, 25512, 70059, 7311, 6159, 3584, 75616, 188, 7614, 7092, 2806, 87388, 62952, 14602, 959, 765, 185397, 4488, 370, 8705...
[ 0.19873046875, 0.193603515625, 0.1318359375, 0.1865234375, 0.1285400390625, 0.08441162109375, 0.01446533203125, 0.09326171875, 0.049407958984375, 0.131103515625, 0.123046875, 0.0889892578125, 0.2156982421875, 0.1143798828125, 0.00811767578125, 0.05499267578125, 0.173828125, 0.04122...
embed
14611194_c2
14611194
fsharp
2
40\Librarian.Data.dll Code signals: compilation, FS0193, FSharp.Core, Microsoft.FSharp.Linq.RuntimeHelpers, LeafExpressionConverter, Doctypes.fsproj, Reference, Include, Program, Files, x86, Microsoft, SDKs, Framework, v4.0, fsc.exe, o:obj, Debug, DTC.Doctypes.dll, debug:full, define:DEBUG, define:TRACE, doc:bin, Docty...
40\Librarian.Data.dll Code signals: compilation, FS0193, FSharp.Core, Microsoft.FSharp.Linq.RuntimeHelpers, LeafExpressionConverter, Doctypes.fsproj, Reference, Include, Program, Files, x86, Microsoft, SDKs, Framework, v4.0, fsc.exe, o:obj, Debug, DTC.Doctypes.dll, debug:full, define:DEBUG, define:TRACE, doc:bin, Docty...
[ -0.0025482177734375, 0.0140380859375, -0.0084228515625, 0.003448486328125, -0.0093994140625, 0.00159454345703125, -0.01385498046875, 0.000881195068359375, -0.01190185546875, -0.03173828125, -0.005126953125, -0.021484375, 0.01202392578125, 0.008056640625, 0.008056640625, -0.004608154296...
[ 1112, 104820, 219, 9893, 5, 137989, 71, 1181, 28864, 26073, 7, 12, 98352, 1363, 93774, 6746, 11591, 3467, 254, 50886, 13, 7244, 36381, 44982, 163321, 6032, 60785, 21777, 636, 2407, 178752, 814, 720, 29048, 50986, 17447, 3454, 170, 215996, ...
[ 0.192138671875, 0.1177978515625, 0.139404296875, 0.201171875, 0.028564453125, 0.20361328125, 0.080322265625, 0.21142578125, 0.2198486328125, 0.2469482421875, 0.059722900390625, 0.006317138671875, 0.226806640625, 0.07635498046875, 0.1295166015625, 0.0340576171875, 0.18896484375, 0.1...
embed
53254469_c0
53254469
fsharp
0
Title: F# How to Write/Read to a CSV File Problem title: F# How to Write/Read to a CSV File Tags: csv, f%23 Problem: F# How to Write/Read to a CSV File I am working on an assignment using F# where I have to add in a specific student and his information to a large Students.txt file The Student.txt file contains their la...
F# How to Write/Read to a CSV File F# How to Write/Read to a CSV File csv f%23 How Write Read CSV File Phone Email StudentInfo Students.txt F# How to Write/Read to a CSV File I am working on an assignment using F# where I have to add in a specific student and his information to a large Students.txt file The Student.txt...
[ -0.003082275390625, 0.004669189453125, 0.010498046875, 0.0106201171875, -0.0123291015625, -0.0084228515625, -0.0185546875, -0.015380859375, -0.0201416015625, 0.00787353515625, -0.007110595703125, 0.015625, 0.0024566650390625, 0.006683349609375, 0.01953125, -0.00811767578125, -0.00659...
[ 563, 4904, 11249, 47, 601, 18781, 64, 31345, 313, 43486, 42724, 20763, 334, 1238, 3949, 3742, 4764, 41761, 14886, 26696, 93147, 7, 124326, 20697, 95486, 17368, 15190, 29458, 9836, 1919, 4677, 11435, 5, 70541, 4568, 11627, 5117, 86991, 65208...
[ 0.136962890625, 0.2298583984375, 0.0699462890625, 0.1729736328125, 0.108154296875, 0.1771240234375, 0.0821533203125, 0.22021484375, 0.1220703125, 0.289794921875, 0.1883544921875, 0.127197265625, 0.159912109375, 0.05694580078125, 0.008544921875, 0.09478759765625, 0.181884765625, 0.1...
embed
24964070_c0
24964070
fsharp
0
Title: In F#, what is the correct way to store temporary results? Problem title: In F#, what is the correct way to store temporary results? Tags: f%23, functional-programming, math Problem: In F#, what is the correct way to store temporary results? I have to write an Excel addin in F#, it does some pretty heavy computa...
In F#, what is the correct way to store temporary results? In F#, what is the correct way to store temporary results? f%23 functional-programming math In F#, what is the correct way to store temporary results? I have to write an Excel addin in F#, it does some pretty heavy computations in order to calibrate some curves...
[ 0.0174560546875, 0.00848388671875, 0.00299072265625, -0.003021240234375, 0.00286865234375, -0.0169677734375, 0.00262451171875, -0.019775390625, 0.01513671875, -0.013671875, 0.0034637451171875, 0.03466796875, 0.01513671875, -0.002197265625, 0.019775390625, 0.004608154296875, -0.006622...
[ 563, 4904, 26785, 3917, 47, 4343, 142458, 53, 50339, 1238, 3742, 123309, 28966, 48909, 2367, 33022, 30326, 10, 76224, 99162, 181135, 72941, 2844, 9709, 3132, 5117, 29954, 53400, 5983, 28670, 17932, 456, 4032, 18811, 14997, 10750, 32354, 59158...
[ 0.1361083984375, 0.2113037109375, 0.1527099609375, 0.10003662109375, 0.07427978515625, 0.203857421875, 0.258544921875, 0.1378173828125, 0.213134765625, 0.0626220703125, 0.047027587890625, 0.14794921875, 0.0643310546875, 0.07452392578125, 0.001617431640625, 0.05279541015625, 0.1905517...
embed
66503890_c1
66503890
fsharp
1
of confusion might be that I expected the subtraction operation to work during the construction of the character class, while it works on character class constructs . With this interpretation, if I have a pattern like this: [^A-F-[C-D]] This does not mean that "C-D" should be subtracted from "A-F". It means that we ma...
of confusion might be that I expected the subtraction operation to work during the construction of the character class, while it works on character class constructs . With this interpretation, if I have a pattern like this: [^A-F-[C-D]] This does not mean that "C-D" should be subtracted from "A-F". It means that we ma...
[ -0.00616455078125, 0.003448486328125, -0.010009765625, 0.02099609375, -0.0120849609375, 0.00167083740234375, -0.0201416015625, 0.0230712890625, 0.0230712890625, 0.056396484375, -0.021240234375, 0.023193359375, 0.0064697265625, 0.0189208984375, -0.024169921875, -0.0146484375, 0.015502...
[ 111, 169463, 13648, 84751, 1614, 117474, 41018, 4488, 20271, 50961, 62816, 18507, 12960, 43240, 98, 64549, 206019, 103510, 1884, 903, 8353, 9, 919, 441, 397, 29459, 1517, 89829, 1295, 284, 26950, 14858, 29568, 2499, 40494, 39989, 21771, 959, ...
[ 0.07452392578125, 0.182373046875, 0.0517578125, 0.053985595703125, 0.1956787109375, 0.24658203125, 0.1646728515625, 0.0894775390625, 0.0276641845703125, 0.076416015625, 0.20263671875, 0.22119140625, 0.03839111328125, 0.1119384765625, 0.0625, 0.182861328125, 0.1734619140625, 0.23620...
embed
30385775_c0
30385775
fsharp
0
Title: FAKE FtpHelper Usage Problem title: FAKE FtpHelper Usage Tags: f%23-fake-4, f%23, f%23-fake, deployment Problem: FAKE FtpHelper Usage I am trying to use F# FAKE to deploy a zip file to GoDaddy using FTP. There seems to be a FTPHelper in FAKE but I can't find any usage examples of how to create a target to use it...
FAKE FtpHelper Usage FAKE FtpHelper Usage f%23-fake-4 f%23 f%23-fake deployment FAKE FtpHelper Usage Target Ftp Request somepassword1 fake-4 FAKE FtpHelper Usage I am trying to use F# FAKE to deploy a zip file to GoDaddy using FTP. There seems to be a FTPHelper in FAKE but I can't find any usage examples of how to crea...
[ 0.00244140625, 0.0255126953125, 0.0052490234375, -0.0137939453125, -0.002838134765625, 0.01043701171875, -0.01007080078125, -0.0201416015625, -0.007537841796875, 0.01312255859375, -0.0079345703125, -0.01361083984375, 0.018798828125, 0.0205078125, 0.004730224609375, -0.010986328125, 0...
[ 563, 119960, 23805, 254, 60785, 1264, 70166, 1238, 167218, 27495, 1021, 350, 11565, 3742, 8, 13158, 53, 160017, 75616, 3060, 13409, 47416, 106287, 31577, 4527, 4904, 68330, 11435, 47, 2016, 11866, 27376, 162379, 37202, 23, 127689, 27781, 3642...
[ 0.172607421875, 0.249267578125, 0.177001953125, 0.1270751953125, 0.244140625, 0.2423095703125, 0.13427734375, 0.038787841796875, 0.0084228515625, 0.0916748046875, 0.1500244140625, 0.10638427734375, 0.1854248046875, 0.03692626953125, 0.0697021484375, 0.1571044921875, 0.031585693359375...
embed
41394921_c0
41394921
fsharp
0
Title: F# Object Initialization with a Constructor Problem title: F# Object Initialization with a Constructor Tags: constructor, f%23, initialization Problem: F# Object Initialization with a Constructor I know that in F# if you have a C# class of the format: public class Person { public DateTime BirthDate { get; set; }...
F# Object Initialization with a Constructor F# Object Initialization with a Constructor constructor f%23 initialization Object Initialization Constructor Person DateTime BirthDate Name John DateTime.Now p.Name p.BirthDate F# Object Initialization with a Constructor I know that in F# if you have a C# class of the format...
[ 0.0125732421875, 0.011474609375, 0.006622314453125, 0.0078125, 0.011962890625, 0.0016021728515625, -0.006439208984375, 0.01165771484375, -0.00102996826171875, -0.0174560546875, 0.0125732421875, 0.011962890625, 0.0198974609375, 0.003021240234375, -0.001312255859375, -0.0224609375, 0.0...
[ 563, 4904, 134549, 360, 1890, 289, 47691, 678, 10, 82084, 18770, 64549, 748, 1238, 3949, 3742, 61475, 15270, 25512, 70059, 2992, 86291, 15757, 4939, 137594, 915, 163612, 41153, 927, 3714, 23, 2174, 765, 313, 18507, 111, 70, 9384, 831, 206...
[ 0.1671142578125, 0.2269287109375, 0.2432861328125, 0.1195068359375, 0.1767578125, 0.11865234375, 0.043609619140625, 0.1397705078125, 0.052032470703125, 0.2462158203125, 0.219482421875, 0.2379150390625, 0.1763916015625, 0.1102294921875, 0.08673095703125, 0.1888427734375, 0.23571777343...
embed
21411530_c0
21411530
fsharp
0
Title: Feedback on Haskell FFI Problem title: Feedback on Haskell FFI Tags: f%23, ffi, haskell Problem: Feedback on Haskell FFI I am new to functional programming (a C++ / C# programmer mostly) and I am about to start a new project. There are no strict deadlines, and at this point there are no restrictions on which tec...
Feedback on Haskell FFI Feedback on Haskell FFI f%23 ffi haskell Feedback Haskell FFI Feedback on Haskell FFI I am new to functional programming (a C++ / C# programmer mostly) and I am about to start a new project. There are no strict deadlines, and at this point there are no restrictions on which technologies can be u...
[ 0.01416015625, 0.00555419921875, -0.00482177734375, 0.01177978515625, -0.00148773193359375, -0.0086669921875, 0.0081787109375, -0.01226806640625, -0.0003299713134765625, -0.0224609375, 0.01318359375, -0.03076171875, 0.004608154296875, 0.0286865234375, -0.0020904541015625, -0.0099487304...
[ 174633, 98, 20625, 142508, 563, 22724, 1238, 3949, 3742, 24500, 1556, 444, 3525, 47, 123309, 56037, 37223, 248, 4904, 77848, 153161, 1672, 4034, 13452, 81113, 157206, 185190, 118299, 831, 11814, 56458, 366, 21334, 43486, 102158, 27623, 30326, ...
[ 0.275634765625, 0.0635986328125, 0.156494140625, 0.246337890625, 0.1173095703125, 0.252197265625, 0.05224609375, 0.054290771484375, 0.085205078125, 0.1468505859375, 0.1365966796875, 0.0059814453125, 0.084228515625, 0.03814697265625, 0.183837890625, 0.078125, 0.1868896484375, 0.0023...
embed
8100775_c0
8100775
fsharp
0
Title: F# mutable with no initial value for MEF Problem title: F# mutable with no initial value for MEF Tags: mef, f%23 Problem: F# mutable with no initial value for MEF I have a bunch of modules that export an IModule interface. So in the main program I have no problems ... let mutable modules = Seq.empty [<ImportMany...
F# mutable with no initial value for MEF F# mutable with no initial value for MEF mef f%23 MEF Seq.empty ImportMany x.Modules IEnumerable Lazy IModule IModuleData parent:IParent x.Parent IParent F# mutable with no initial value for MEF I have a bunch of modules that export an IModule interface. So in the main program I...
[ 0.0037689208984375, 0.0196533203125, -0.005584716796875, 0.011474609375, -0.015380859375, 0.0208740234375, 0.02099609375, -0.00421142578125, 0.01043701171875, -0.003997802734375, -0.01904296875, 0.01458740234375, 0.01336669921875, 0.0228271484375, 0.01104736328125, -0.00897216796875, ...
[ 563, 4904, 842, 22819, 678, 110, 61475, 34292, 100, 276, 28482, 163, 420, 1238, 3742, 864, 33548, 92966, 12662, 53, 1022, 91616, 60291, 2606, 2886, 239, 3285, 87, 8782, 137989, 49129, 1744, 18, 28636, 2517, 147306, 88996, 31255, 101758, 5...
[ 0.1116943359375, 0.1741943359375, 0.1561279296875, 0.214599609375, 0.0278167724609375, 0.1573486328125, 0.163818359375, 0.17822265625, 0.04443359375, 0.092529296875, 0.2578125, 0.1048583984375, 0.1553955078125, 0.05859375, 0.1151123046875, 0.04107666015625, 0.119384765625, 0.169555...
embed
38234891_c0
38234891
fsharp
0
Title: Convert String to Key Value Pair in F# Problem title: Convert String to Key Value Pair in F# Tags: f%23 Problem: Convert String to Key Value Pair in F# Given a string such as one:1.0|two:2.0|three:3.0 how do we create a dictionary of the form string: float? open System open System.Collections.Generic let ofSeq (...
Convert String to Key Value Pair in F# Convert String to Key Value Pair in F# f%23 fssnip Convert Key Value Pair System System.Collections.Generic src:seq Dictionary d.Add one:1.0 two:2.0 three:3.0 msg.Split Array.toSeq Seq.map i.Split Convert String to Key Value Pair in F# Given a string such as how do we create a dic...
[ 0.00836181640625, 0.00830078125, -0.02734375, -0.0037689208984375, 0.006439208984375, -0.010986328125, -0.00726318359375, -0.00732421875, 0.00131988525390625, 0.00347900390625, 0.00830078125, 0.0211181640625, 0.005859375, 0.01373291015625, 0.009765625, -0.013427734375, 0.006805419921...
[ 1657, 11549, 23351, 214, 47, 26824, 190060, 1342, 481, 23, 563, 4904, 1238, 3742, 93, 254, 12353, 78457, 8996, 135932, 19437, 184, 864, 147638, 4028, 1632, 102107, 6626, 73011, 17262, 132265, 4353, 69253, 188, 62346, 79315, 3642, 642, 28282...
[ 0.037078857421875, 0.1605224609375, 0.225830078125, 0.11083984375, 0.0975341796875, 0.189697265625, 0.2412109375, 0.1859130859375, 0.1689453125, 0.0142974853515625, 0.1260986328125, 0.205322265625, 0.032562255859375, 0.06683349609375, 0.0855712890625, 0.055023193359375, 0.06652832031...
embed
14781875_c0
14781875
fsharp
0
Title: Choosing between continuation passing style and memoization Problem title: Choosing between continuation passing style and memoization Tags: continuations, f%23, functional-programming, memoization, ocaml Problem: Choosing between continuation passing style and memoization While writing up examples for memoizati...
Choosing between continuation passing style and memoization Choosing between continuation passing style and memoization continuations f%23 functional-programming memoization ocaml Choosing Choosing between continuation passing style and memoization While writing up examples for memoization and continuation passing styl...
[ 0, -0.00885009765625, 0.0079345703125, -0.01116943359375, -0.00567626953125, 0.0001316070556640625, 0.0267333984375, -0.006622314453125, 0.00970458984375, 0.0087890625, -0.00311279296875, -0.0133056640625, 0.009765625, 0.0225830078125, 0.018310546875, 0.0033111572265625, -0.005676269...
[ 4960, 232, 17721, 9454, 1363, 452, 6953, 20623, 136, 163, 432, 47691, 3949, 3742, 123309, 28966, 36, 9779, 141, 27781, 9059, 32354, 46876, 17368, 3698, 20990, 52544, 15044, 18, 6183, 68073, 313, 40956, 7464, 11675, 78643, 27983, 678, 6863, ...
[ 0.0765380859375, 0.058624267578125, 0.03509521484375, 0.2178955078125, 0.033416748046875, 0.134765625, 0.047393798828125, 0.2432861328125, 0.0246734619140625, 0.143310546875, 0.1951904296875, 0.148681640625, 0.00628662109375, 0.0953369140625, 0.16015625, 0.08660888671875, 0.063537597...
embed
41489611_c0
41489611
fsharp
0
Title: using a sequence on partial application Problem title: using a sequence on partial application Tags: f%23 Problem: using a sequence on partial application I have a sequence of value that I would like to apply to a function partially : let f a b c d e= a+b+c+d+e let items = [1,2,3,4,5] let result = applyPartially...
using a sequence on partial application using a sequence on partial application f%23 a Assert.Equal using a sequence on partial application I have a sequence of value that I would like to apply to a function partially : I am looking after the applyPartially function. I have tried writing recursive functions like this :...
[ -0.00933837890625, 0.019287109375, -0.00133514404296875, 0.01312255859375, 0.0019989013671875, -0.000652313232421875, -0.0128173828125, -0.00262451171875, 0.01287841796875, -0.0264892578125, 0.025390625, -0.000766754150390625, -0.0072021484375, 0.039306640625, 0.01953125, -0.0227050781...
[ 17368, 40, 944, 3956, 98, 2878, 289, 38415, 1238, 3949, 3742, 10, 1301, 33657, 71723, 765, 34292, 2806, 1884, 59911, 32354, 25958, 16487, 7103, 58229, 14, 37842, 32562, 195625, 5844, 2967, 190647, 10644, 83, 86595, 759, 720, 11, 103607, 2...
[ 0.1038818359375, 0.107421875, 0.18896484375, 0.15380859375, 0.0975341796875, 0.1806640625, 0.0927734375, 0.1876220703125, 0.138916015625, 0.0684814453125, 0.1600341796875, 0.025848388671875, 0.012054443359375, 0.1951904296875, 0.1090087890625, 0.006500244140625, 0.1185302734375, 0....
embed
51530646_c0
51530646
fsharp
0
Title: Type inference error in computation expression Problem title: Type inference error in computation expression Tags: computation-expression, f%23 Problem: Type inference error in computation expression type Identity<'T> = Identity of 'T type IdentityBuilder() = member __.Bind (Identity x) (k : 'a -> Identity<'b>) ...
Type inference error in computation expression Type inference error in computation expression computation-expression f%23 Type Identity IdentityBuilder __.Bind __.Return identity.Bind identity.Return twelve2 Type inference error in computation expression twelve does not introduce any problem, but twelve2 gives on the l...
[ -0.0166015625, 0.015869140625, 0.01507568359375, 0.0147705078125, 0.0198974609375, 0.0048828125, -0.00592041015625, -0.005706787109375, 0.025390625, -0.038330078125, -0.0084228515625, 0.02294921875, 0.01214599609375, 0.0064697265625, 0.01025390625, 0.0274658203125, -0.00323486328125,...
[ 60457, 53498, 6620, 18499, 23, 181135, 125195, 1363, 204629, 1238, 3949, 3742, 71257, 2481, 121137, 56, 571, 7250, 987, 182324, 77488, 76456, 304, 959, 65508, 2499, 2967, 76199, 98, 70, 13315, 2633, 38, 808, 2203, 17262, 17569, 136, 5608, ...
[ 0.24365234375, 0.214599609375, 0.05615234375, 0.2379150390625, 0.0240936279296875, 0.171875, 0.21435546875, 0.0001220703125, 0.1998291015625, 0.08154296875, 0.046539306640625, 0.1527099609375, 0.1549072265625, 0.0294036865234375, 0.132568359375, 0.08343505859375, 0.030670166015625, ...
embed
41353263_c0
41353263
fsharp
0
Title: How to disable specific rule in FSharpLint? Problem title: How to disable specific rule in FSharpLint? Tags: f%23, build Problem: How to disable specific rule in FSharpLint? I created Settings.FSharpLint and I want to suppress IdentifiersMustNotContainUnderscores rule Is it possible to disable only one rule? Exa...
How to disable specific rule in FSharpLint? How to disable specific rule in FSharpLint? f%23 build How FSharpLint IdentifiersMustNotContainUnderscores utf-8 FSharpLintSettings Analysers NameConventions Enabled How to disable specific rule in FSharpLint? I created Settings.FSharpLint and I want to suppress IdentifiersMu...
[ -0.00090789794921875, 0.007415771484375, 0.005401611328125, -0.0194091796875, 0.0029449462890625, 0.030029296875, -0.00506591796875, 0.01171875, -0.01483154296875, 0.0103759765625, 0.0126953125, -0.00653076171875, 0.01434326171875, 0.00579833984375, 0.0263671875, 0.0101318359375, 0.0...
[ 11249, 47, 2837, 2886, 29458, 79986, 23, 93774, 3467, 254, 866, 4288, 1238, 3742, 45367, 189543, 1314, 55668, 122116, 25500, 14256, 14202, 30854, 486, 420, 17376, 105548, 114837, 15757, 11935, 57241, 357, 36381, 3444, 15811, 11856, 7722, 4734...
[ 0.06640625, 0.0244293212890625, 0.1298828125, 0.224365234375, 0.23583984375, 0.2264404296875, 0.042205810546875, 0.10272216796875, 0.2017822265625, 0.1689453125, 0.172607421875, 0.2264404296875, 0.052825927734375, 0.1229248046875, 0.1024169921875, 0.1806640625, 0.0955810546875, 0.0...
embed
17563956_c0
17563956
fsharp
0
Title: Why does F#&#x27;s Seq.windowed return seq of array Problem title: Why does F#&#x27;s Seq.windowed return seq of array Tags: f%23 Problem: Why does F#'s Seq.windowed return seq of array Seq.windowed in F# returns a sequence where each window within is an array. Is there a reason why each window is returned as an...
Why does F#&#x27;s Seq.windowed return seq of array Why does F#&#x27;s Seq.windowed return seq of array f%23 Why Seq.windowed IList Seq.groupBy Why does F#'s Seq.windowed return seq of array Seq.windowed in F# returns a sequence where each window within is an array. Is there a reason why each window is returned as an a...
[ 0.024658203125, 0.002349853515625, 0.00958251953125, 0.01019287109375, -0.015625, 0.001708984375, 0.003662109375, -0.001373291015625, 0.00360107421875, 0.00144195556640625, 0.001556396484375, 0.0196533203125, -0.00057220458984375, 0.0042724609375, -0.0103759765625, 0.00125885009765625,...
[ 44084, 563, 4904, 3768, 503, 864, 50777, 2600, 71, 30646, 40, 111, 10298, 53, 87, 154663, 51588, 75358, 944, 12638, 76896, 28032, 83, 31635, 15400, 176377, 237, 4552, 122776, 10644, 3956, 618, 129980, 60042, 127219, 55769, 96759, 17203, 173...
[ 0.1339111328125, 0.1087646484375, 0.173095703125, 0.043060302734375, 0.09857177734375, 0.21875, 0.134521484375, 0.1376953125, 0.107666015625, 0.1739501953125, 0.1129150390625, 0.0728759765625, 0.1646728515625, 0.1123046875, 0.06695556640625, 0.203857421875, 0.1429443359375, 0.15881...
embed
6096906_c0
6096906
fsharp
0
Title: how to open seq&lt;seq&lt;...&gt;&gt; or another way making Seq.collect(fun x -&gt; x) Problem title: how to open seq&lt;seq&lt;...&gt;&gt; or another way making Seq.collect(fun x -&gt; x) Tags: seq, f%23, sequence, sequences Problem: how to open seq > or another way making Seq.collect(fun x -> x) dashboard.Grid...
how to open seq&lt;seq&lt;...&gt;&gt; or another way making Seq.collect(fun x -&gt; x) how to open seq&lt;seq&lt;...&gt;&gt; or another way making Seq.collect(fun x -&gt; x) seq f%23 sequence sequences Seq.collect dashboard.Grid Seq.mapi s.IsEmpty s.CellState.Color s.CellState.motion SPosition psteps.IsEmpty Some None ...
[ 0.01446533203125, 0.03515625, -0.00994873046875, 0.031494140625, -0.00136566162109375, -0.0189208984375, 0.007354736328125, 0.0093994140625, 0.005340576171875, -0.024169921875, 0.005401611328125, 0.03662109375, 0.0034942626953125, 0.0103759765625, 0.01416015625, -0.004791259765625, 0...
[ 3642, 47, 9803, 40, 864, 1277, 184, 5386, 3917, 20662, 503, 196352, 16498, 1022, 20, 15700, 1238, 3742, 944, 3956, 26513, 239721, 19040, 1434, 134332, 939, 6796, 135206, 1484, 105401, 12607, 95528, 977, 33079, 13580, 4568, 2831, 4700, 79315...
[ 0.08526611328125, 0.00958251953125, 0.2509765625, 0.1407470703125, 0.230712890625, 0.09765625, 0.132568359375, 0.0889892578125, 0.076904296875, 0.01904296875, 0.108154296875, 0.2249755859375, 0.1490478515625, 0.08013916015625, 0.01275634765625, 0.0511474609375, 0.020660400390625, 0...
embed
40081933_c0
40081933
fsharp
0
Title: Losing syntax coloring with F# Power Tools, reinstall helps, looking for easier solution Problem title: Losing syntax coloring with F# Power Tools, reinstall helps, looking for easier solution Tags: f%23, visual-studio-2015 Problem: Losing syntax coloring with F# Power Tools, reinstall helps, looking for easier ...
Losing syntax coloring with F# Power Tools, reinstall helps, looking for easier solution Losing syntax coloring with F# Power Tools, reinstall helps, looking for easier solution f%23 visual-studio-2015 Losing Power Tools visual-studio-2015 Losing syntax coloring with F# Power Tools, reinstall helps, looking for easier ...
[ -0.007049560546875, 0.0167236328125, -0.01092529296875, 0.0125732421875, -0.01080322265625, 0.00543212890625, -0.02734375, -0.0002841949462890625, -0.01092529296875, 0.0103759765625, 0.007232666015625, 0.01226806640625, -0.011962890625, 0.00604248046875, 0.0123291015625, 0.002777099609...
[ 3731, 214, 6002, 86531, 10576, 678, 563, 4904, 17170, 119296, 456, 80383, 112397, 16487, 99156, 29806, 1238, 3742, 21176, 52629, 44906, 36456, 55993, 61689, 2785, 17368, 190704, 587, 6238, 16505, 68746, 87769, 13312, 40859, 388, 13, 66139, 91...
[ 0.129638671875, 0.118896484375, 0.1656494140625, 0.2120361328125, 0.1788330078125, 0.055816650390625, 0.123291015625, 0.2127685546875, 0.1605224609375, 0.23291015625, 0.0718994140625, 0.1495361328125, 0.05718994140625, 0.004608154296875, 0.08734130859375, 0.058319091796875, 0.0540161...
embed
66121677_c0
66121677
fsharp
0
Title: F# SQLProvider error FS0039: type &quot;dataContext&quot; does not define a field, constructor or member &quot;test&quot;. in demo Problem title: F# SQLProvider error FS0039: type &quot;dataContext&quot; does not define a field, constructor or member &quot;test&quot;. in demo Tags: f%23, c%23-to-f%23 Problem: F#...
F# SQLProvider error FS0039: type &quot;dataContext&quot; does not define a field, constructor or member &quot;test&quot;. in demo F# SQLProvider error FS0039: type &quot;dataContext&quot; does not define a field, constructor or member &quot;test&quot;. in demo f%23 c%23-to-f%23 SQLProvider FS0039 SqlDataProvider Resol...
[ 0.019287109375, 0.006591796875, 0.004119873046875, 0.0206298828125, 0.005462646484375, 0.020263671875, -0.0084228515625, -0.01446533203125, -0.013671875, -0.0242919921875, 0.00064849853515625, -0.006134033203125, 0.0009613037109375, 0.0012664794921875, -0.0019073486328125, -0.008483886...
[ 563, 4904, 80866, 177997, 62160, 18499, 93774, 7049, 9323, 10644, 10135, 11935, 22829, 14602, 959, 61924, 44457, 64549, 748, 707, 32786, 6954, 53397, 1238, 3742, 27495, 188, 420, 99247, 137989, 166589, 10519, 154966, 121147, 39029, 196707, 2201...
[ 0.113525390625, 0.2061767578125, 0.1822509765625, 0.1990966796875, 0.134033203125, 0.1680908203125, 0.191162109375, 0.0855712890625, 0.2421875, 0.1820068359375, 0.07720947265625, 0.11572265625, 0.2303466796875, 0.0223388671875, 0.09228515625, 0.1632080078125, 0.18896484375, 0.12243...
embed
7998416_c0
7998416
fsharp
0
Title: Why does F# have a unary plus operator? Problem title: Why does F# have a unary plus operator? Tags: f%23, unary-operator Problem: Why does F# have a unary plus operator? Some languages use a unary plus operator for implicit conversions, such as coercing a string to a number (e.g. Javascript) or casting small nu...
Why does F# have a unary plus operator? Why does F# have a unary plus operator? f%23 unary-operator Why Why does F# have a unary plus operator? Some languages use a unary plus operator for implicit conversions, such as coercing a string to a number (e.g. Javascript) or casting small number types to an int (e.g. most C-...
[ 0.00860595703125, 0.00836181640625, 0.031494140625, 0.00150299072265625, 0.000743865966796875, 0.001251220703125, -0.00115203857421875, 0.01116943359375, 0.003692626953125, 0.0098876953125, -0.0084228515625, -0.0380859375, 0.00921630859375, 0.011962890625, -0.0228271484375, 0.002349853...
[ 44084, 563, 4904, 765, 10, 220, 1294, 1001, 39933, 1238, 3742, 206469, 14602, 46876, 4527, 100, 165164, 142477, 552, 56, 79315, 14012, 74181, 176050, 19336, 52895, 23, 18, 2684, 313, 77007, 11814, 645, 63033, 102917, 85526, 4745, 60042, 513...
[ 0.11962890625, 0.177734375, 0.245361328125, 0.037384033203125, 0.034149169921875, 0.177734375, 0.1763916015625, 0.194091796875, 0.2122802734375, 0.13818359375, 0.070068359375, 0.19775390625, 0.0054931640625, 0.1546630859375, 0.092041015625, 0.0249481201171875, 0.188232421875, 0.117...
embed
41254174_c1
41254174
fsharp
1
` number of consumers in parallel { 1 .. boundedSize } |> Seq.map mkConsumer |> Async.Parallel |> Async.RunSynchronously |> ignore let Test () = let boundedSize = 15 let start = 1 let finish = 50 let mkJob = (fun jobNum -> async { printfn "%A STARTED" jobNum do! Async.Sleep(5000) printfn "%A COMPLETED" jobNum }) RunCon...
` number of consumers in parallel { 1 .. boundedSize } |> Seq.map mkConsumer |> Async.Parallel |> Async.RunSynchronously |> ignore let Test () = let boundedSize = 15 let start = 1 let finish = 50 let mkJob = (fun jobNum -> async { printfn "%A STARTED" jobNum do! Async.Sleep(5000) printfn "%A COMPLETED" jobNum }) RunCon...
[ -0.014404296875, 0.023193359375, 0.004638671875, -0.0062255859375, 0.00008487701416015625, 0.00286865234375, -0.005218505859375, -0.0024261474609375, 0.00823974609375, 0.00186920166015625, -0.0260009765625, 0.0255126953125, 0.029296875, 0.00811767578125, 0.01385498046875, 0.01025390625...
[ 9473, 14012, 107222, 7, 23, 95103, 106, 876, 167457, 127167, 503, 864, 62346, 19201, 11935, 11832, 56, 12654, 238, 55292, 1229, 163321, 217835, 127, 1900, 79850, 124962, 2633, 8647, 423, 4034, 67229, 836, 194802, 16498, 12447, 28412, 14783, ...
[ 0.05133056640625, 0.1019287109375, 0.295654296875, 0.138671875, 0.010833740234375, 0.27587890625, 0.006591796875, 0.06365966796875, 0.1597900390625, 0.1412353515625, 0.0242767333984375, 0.0648193359375, 0.1112060546875, 0.0924072265625, 0.0621337890625, 0.2237548828125, 0.08203125, ...
embed
62197211_c1
62197211
fsharp
1
K",NonWhiteSpaceString "▲") Shrunk 3 times to: DifferentNonWhiteSpace (NonWhiteSpaceString "a",NonWhiteSpaceString "a") Result: Exception Expecto.AssertException: return Bouh. I should not have the same value in the shrunk data : DifferentNonWhiteSpace (NonWhiteSpaceString "a",NonWhiteSpaceString "a") Could someone poi...
K",NonWhiteSpaceString "▲") Shrunk 3 times to: DifferentNonWhiteSpace (NonWhiteSpaceString "a",NonWhiteSpaceString "a") Result: Exception Expecto.AssertException: return Bouh. I should not have the same value in the shrunk data : DifferentNonWhiteSpace (NonWhiteSpaceString "a",NonWhiteSpaceString "a") Could someone poi...
[ -0.006561279296875, 0.032470703125, -0.01318359375, -0.00909423828125, 0.0174560546875, -0.0016326904296875, 0.00836181640625, -0.0206298828125, 0.016845703125, 0.01708984375, 0.0267333984375, 0.06494140625, -0.0185546875, 0.0177001953125, 0.00714111328125, -0.00921630859375, 0.01818...
[ 341, 59881, 173473, 141012, 71713, 214, 243427, 7525, 79099, 138, 20028, 47, 242520, 11, 126684, 5443, 63928, 60075, 60751, 33657, 30646, 31649, 127, 5608, 959, 765, 5701, 34292, 90978, 3678, 2053, 6275, 1810, 444, 20594, 44691, 37348, 145823...
[ 0.1361083984375, 0.145751953125, 0.149169921875, 0.2056884765625, 0.1478271484375, 0.0030517578125, 0.17626953125, 0.1156005859375, 0.2347412109375, 0.149658203125, 0.163330078125, 0.0850830078125, 0.2181396484375, 0.11181640625, 0.09619140625, 0.0391845703125, 0.162109375, 0.09661...
embed
47254895_c1
47254895
fsharp
1
"; "Music"]) So, I guess you can call it kind of a dating bureau. In the above example, I request all clients, which do not share the same sex as me and do not have an age difference larger than 10. I'm not using interests as of now, as I'm still working on that, but it should compare the given interests and the intere...
"; "Music"]) So, I guess you can call it kind of a dating bureau. In the above example, I request all clients, which do not share the same sex as me and do not have an age difference larger than 10. I'm not using interests as of now, as I'm still working on that, but it should compare the given interests and the intere...
[ -0.00836181640625, -0.000667572021484375, 0.0218505859375, 0.034423828125, -0.00799560546875, 0.0026092529296875, -0.01141357421875, 0.001129150390625, 0.018798828125, -0.01953125, -0.009765625, 0.022705078125, 0.01385498046875, 0.005218505859375, -0.0018157958984375, 0.0172119140625, ...
[ 44, 74, 158257, 57767, 831, 11782, 442, 8562, 10, 1740, 57495, 36917, 27781, 50336, 756, 19802, 3129, 54, 959, 12008, 5701, 1100, 237, 163, 765, 32070, 60212, 4068, 17368, 33946, 7, 5036, 20697, 69101, 1940, 23282, 1957, 19713, 21373, 248...
[ 0.0054931640625, 0.04168701171875, 0.22802734375, 0.056365966796875, 0.04913330078125, 0.08551025390625, 0.07275390625, 0.0413818359375, 0.03515625, 0.2037353515625, 0.285400390625, 0.03704833984375, 0.12451171875, 0.184326171875, 0.098876953125, 0.260009765625, 0.002349853515625, ...
embed
44228771_c0
44228771
fsharp
0
Title: Parallel Fsharp vs parallel C++ Problem title: Parallel Fsharp vs parallel C++ Tags: c%2B%2B, f%23, parallel-processing Problem: Parallel Fsharp vs parallel C++ I copy pasted the parallel portion of this example . I measured the time in a i3 processor and the measurement was 37563ms. I rewrote the same program i...
Parallel Fsharp vs parallel C++ Parallel Fsharp vs parallel C++ c%2B%2B f%23 parallel-processing Parallel Fsharp x-1 x-2 time_call System.Environment.TickCount System.Environment.TickCount-b Async.Parallel Async.RunSynchronously EntryPoint Parallel Fsharp vs parallel C++ I copy pasted the parallel portion of this examp...
[ -0.0142822265625, 0.01806640625, -0.004302978515625, -0.0223388671875, -0.00189208984375, -0.00421142578125, 0.0128173828125, 0.00885009765625, -0.0002956390380859375, -0.0390625, 0.0021820068359375, 0.0157470703125, 0.00872802734375, 0.006744384765625, 0.017333984375, -0.0044860839843...
[ 211485, 563, 89280, 254, 20209, 95103, 313, 37223, 501, 1238, 3742, 63923, 1022, 5759, 5428, 1733, 85763, 12353, 686, 1900, 41113, 108210, 12654, 55292, 1229, 163321, 217835, 127, 357, 15123, 147534, 43658, 452, 126826, 27781, 72350, 17, 363,...
[ 0.2125244140625, 0.148193359375, 0.2493896484375, 0.21337890625, 0.1265869140625, 0.2208251953125, 0.08233642578125, 0.283203125, 0.056060791015625, 0.0452880859375, 0.05072021484375, 0.0909423828125, 0.0479736328125, 0.07342529296875, 0.11181640625, 0.12646484375, 0.1402587890625, ...
embed
31271078_c0
31271078
fsharp
0
Title: How to pass discriminated union to function Problem title: How to pass discriminated union to function Tags: f%23 Problem: How to pass discriminated union to function I have the discriminated union: type Attribute = | AttrA of o : AttrA | AttrB of o : AttrB // ... | None And I have the big piece of code which I ...
How to pass discriminated union to function How to pass discriminated union to function f%23 How Attribute AttrA AttrB None foo1 attrs.Length foo2 How to pass discriminated union to function I have the discriminated union: And I have the big piece of code which I want to refactore: I want to create new function to use ...
[ -0.0177001953125, 0.0002040863037109375, -0.0023651123046875, 0.0010223388671875, -0.01348876953125, -0.0257568359375, 0.00157928466796875, 0.0179443359375, 0.0126953125, -0.013427734375, 0.02294921875, 0.00518798828125, 0.0037078857421875, 0.0012359619140625, -0.00341796875, -0.019165...
[ 11249, 47, 27875, 55970, 3674, 69941, 32354, 1238, 3949, 3742, 1913, 191145, 9208, 42, 284, 571, 438, 86, 5775, 31, 243, 4295, 449, 304, 765, 18151, 3444, 456, 144810, 28282, 3525, 4527, 75414, 14858, 2967, 171859, 808, 30022 ]
[ 0.0972900390625, 0.1322021484375, 0.178955078125, 0.269287109375, 0.1190185546875, 0.26123046875, 0.2607421875, 0.128662109375, 0.109130859375, 0.189453125, 0.0035400390625, 0.17041015625, 0.0166168212890625, 0.0908203125, 0.043670654296875, 0.053558349609375, 0.045806884765625, 0....
embed
36289714_c0
36289714
fsharp
0
Title: Installing F# NuGet packages on Xamarin for Mac OS X Problem title: Installing F# NuGet packages on Xamarin for Mac OS X Tags: xamarin, f%23, package Problem: Installing F# NuGet packages on Xamarin for Mac OS X I am used to Visual Studio 2015 when developing in F# . I just bought a new iMac and installed Xamari...
Installing F# NuGet packages on Xamarin for Mac OS X Installing F# NuGet packages on Xamarin for Mac OS X xamarin f%23 package Installing NuGet Xamarin Mac Installing F# NuGet packages on Xamarin for Mac OS X I am used to Visual Studio 2015 when developing in F# . I just bought a new iMac and installed Xamarin fine as ...
[ -0.006622314453125, 0.0260009765625, 0.006927490234375, -0.0098876953125, -0.004180908203125, 0.02685546875, 0.016357421875, -0.018798828125, -0.01031494140625, 0.038818359375, -0.006683349609375, -0.039794921875, 0.006500244140625, 0.0030975341796875, 0.0166015625, -0.0015869140625, ...
[ 107951, 563, 4904, 1429, 724, 126, 98169, 8606, 44503, 4727, 11787, 2459, 1238, 3949, 3742, 1193, 11814, 73372, 22968, 918, 168698, 123997, 55450, 20600, 5885, 42459, 1884, 35773, 33533, 712, 7, 165523, 70425, 45064, 31089, 19882, 26367, 7088...
[ 0.1502685546875, 0.1236572265625, 0.202392578125, 0.2017822265625, 0.196533203125, 0.1875, 0.1866455078125, 0.160400390625, 0.238525390625, 0.1102294921875, 0.099609375, 0.1231689453125, 0.0780029296875, 0.0091552734375, 0.1500244140625, 0.04046630859375, 0.0810546875, 0.1434326171...
embed
19713216_c1
19713216
fsharp
1
9],[System.Collections.Generic.IEnumerable`1[[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]] or any of its base type...
9],[System.Collections.Generic.IEnumerable`1[[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]] or any of its base type...
[ 0.01214599609375, 0.0203857421875, 0.0111083984375, 0.020263671875, -0.006378173828125, -0.017822265625, -0.00970458984375, -0.003631591796875, 0.003875732421875, -0.01214599609375, -0.01239013671875, -0.004119873046875, 0.0166015625, -0.00927734375, -0.0013275146484375, 0.010681152343...
[ 483, 84293, 78457, 8996, 135932, 12259, 20441, 2606, 56, 2886, 1135, 71713, 214, 68163, 10517, 5612, 40647, 151152, 99929, 105141, 218142, 16934, 162429, 7763, 1098, 14546, 10289, 1126, 3647, 52895, 27781, 98411, 72367, 4806, 55292, 29089, 1547...
[ 0.1436767578125, 0.1495361328125, 0.1029052734375, 0.15576171875, 0.111083984375, 0.0478515625, 0.1121826171875, 0.16845703125, 0.1357421875, 0.1204833984375, 0.003265380859375, 0.07305908203125, 0.0249481201171875, 0.065185546875, 0.1690673828125, 0.2261962890625, 0.0892333984375, ...
embed
4285638_c0
4285638
fsharp
0
Title: Line length limit in F# - Bug or feature? Problem title: Line length limit in F# - Bug or feature? Tags: f%23 Problem: Line length limit in F# - Bug or feature? This code gives you an error in the error list of VS 2010: let (a: float), (b: float), (c: int), (d: float), (e: float), (f: float), (g: float), (h: flo...
Line length limit in F# - Bug or feature? Line length limit in F# - Bug or feature? f%23 Line Bug Line length limit in F# - Bug or feature? This code gives you an error in the error list of VS 2010: Adding one character to the last variable as results in no error in the error list. I have met such a behaviour in many w...
[ 0.0093994140625, 0.01507568359375, 0.00018787384033203125, 0.00823974609375, 0.0123291015625, -0.01409912109375, 0.00119781494140625, 0.0125732421875, -0.000743865966796875, -0.008544921875, -0.02587890625, -0.01153564453125, 0.00823974609375, 0.00189971923828125, 0.032958984375, -0.00...
[ 16777, 140909, 17475, 563, 4904, 57279, 707, 60213, 23, 1238, 3949, 3742, 18151, 18499, 5303, 44160, 1532, 62, 59725, 1632, 62816, 4568, 77336, 50339, 110, 435, 224833, 11343, 4989, 124519, 54608, 26932 ]
[ 0.217529296875, 0.230712890625, 0.225341796875, 0.1502685546875, 0.23876953125, 0.2227783203125, 0.100830078125, 0.204345703125, 0.0301513671875, 0.0810546875, 0.03045654296875, 0.17041015625, 0.0855712890625, 0.1644287109375, 0.138427734375, 0.1649169921875, 0.1573486328125, 0.062...
embed
23378849_c0
23378849
fsharp
0
Title: Syntax for SqlDataConnection Problem title: Syntax for SqlDataConnection Tags: f%23, type-providers Problem: Syntax for SqlDataConnection What is the syntax for defining a SqlDataConnection Type Provider when using a connection string name from an app.config file. I have a solution with two projects in it. The m...
Syntax for SqlDataConnection Syntax for SqlDataConnection f%23 type-providers Syntax SqlDataConnection ConnectionStringName ConfigFile app.config Syntax for SqlDataConnection What is the syntax for defining a SqlDataConnection Type Provider when using a connection string name from an app.config file. I have a solution ...
[ 0.01336669921875, 0.019775390625, -0.00848388671875, 0.0191650390625, -0.015380859375, 0.0205078125, -0.022705078125, -0.01904296875, 0.00689697265625, -0.02685546875, -0.0107421875, -0.05078125, -0.01116943359375, -0.004852294921875, 0.0003147125244140625, -0.0140380859375, -0.01318...
[ 19010, 86531, 100, 159, 99247, 137989, 235603, 1830, 1238, 3949, 3742, 10644, 93136, 14202, 62448, 71713, 163612, 139403, 174350, 4027, 153837, 6002, 13204, 449, 60457, 123089, 42, 17368, 94878, 79315, 9351, 5, 11435, 29806, 6626, 77635, 5201, ...
[ 0.167724609375, 0.229736328125, 0.07049560546875, 0.0611572265625, 0.2120361328125, 0.1719970703125, 0.2198486328125, 0.08538818359375, 0.0556640625, 0.026702880859375, 0.140869140625, 0.1732177734375, 0.1680908203125, 0.031341552734375, 0.1397705078125, 0.097900390625, 0.11437988281...
embed
54062165_c0
54062165
fsharp
0
Title: In F#, is it possible to implement operators for tuples? Problem title: In F#, is it possible to implement operators for tuples? Tags: f%23 Problem: In F#, is it possible to implement operators for tuples? I am working with an API that represents points like float * float . These are inconvenient to do arithmeti...
In F#, is it possible to implement operators for tuples? In F#, is it possible to implement operators for tuples? f%23 Vector2 a.X b.X a.Y b.Y c.X c.Y In F#, is it possible to implement operators for tuples? I am working with an API that represents points like float * float . These are inconvenient to do arithmetic on:...
[ 0.008544921875, 0.0169677734375, 0.021728515625, 0.014404296875, 0.005859375, -0.00262451171875, -0.00101470947265625, -0.00274658203125, 0.006591796875, -0.017578125, -0.00133514404296875, 0.004638671875, -0.01080322265625, 0.00017547607421875, -0.01177978515625, -0.0021820068359375, ...
[ 360, 563, 4904, 83, 7722, 29479, 39933, 7, 100, 370, 99726, 442, 1238, 3742, 2609, 18770, 304, 10, 1542, 876, 1723, 20697, 61687, 33636, 26847, 1884, 21917, 257, 661, 621, 192206, 8962, 98, 33022, 831, 61924, 10002, 10644, 96760, 5809, ...
[ 0.05841064453125, 0.15869140625, 0.219970703125, 0.0543212890625, 0.1634521484375, 0.1920166015625, 0.252685546875, 0.141357421875, 0.1085205078125, 0.177734375, 0.249267578125, 0.013702392578125, 0.09527587890625, 0.0927734375, 0.137451171875, 0.1214599609375, 0.08697509765625, 0....
embed
14451019_c0
14451019
fsharp
0
Title: Can&#x27;t access Dispose method in F# class Problem title: Can&#x27;t access Dispose method in F# class Tags: dispose, f%23 Problem: Can't access Dispose method in F# class I have created a class in F# that implements the IDisposable interface. The class is cleaned up correctly and the use keyword is able to ac...
Can&#x27;t access Dispose method in F# class Can&#x27;t access Dispose method in F# class dispose f%23 Can Dispose System Foo IDisposable x.Dispose Disposing f2.Dispose Can't access Dispose method in F# class I have created a class in F# that implements the IDisposable interface. The class is cleaned up correctly and t...
[ -0.01141357421875, 0.025390625, 0.0140380859375, 0.007232666015625, 0.000591278076171875, 0.011474609375, -0.02001953125, 0.0106201171875, 0.0111083984375, 0.0020599365234375, 0.007781982421875, 0.0196533203125, 0, 0.004302978515625, -0.005096435546875, -0.02587890625, 0.007995605468...
[ 4171, 3768, 18, 17203, 70958, 184, 55300, 23, 563, 4904, 18507, 60458, 1238, 3742, 12353, 9572, 31, 11338, 164, 7522, 2886, 1022, 44456, 78381, 5442, 75935, 29479, 101758, 46622, 4527, 166117, 19048, 17932, 7225, 143726, 11782, 51, 27781, 8...
[ 0.052978515625, 0.0382080078125, 0.0290374755859375, 0.16748046875, 0.2335205078125, 0.1890869140625, 0.1888427734375, 0.033416748046875, 0.13525390625, 0.1956787109375, 0.1883544921875, 0.2496337890625, 0.0728759765625, 0.02996826171875, 0.12548828125, 0.0908203125, 0.0501708984375,...
embed
30246799_c0
30246799
fsharp
0
Title: F# how to do List.map in parallel Problem title: F# how to do List.map in parallel Tags: f%23, parallel-processing Problem: F# how to do List.map in parallel What is the most lightweight, terse way to run the following code in parallel within the standard F# libs? Or failing that any widely used additional libs?...
F# how to do List.map in parallel F# how to do List.map in parallel f%23 parallel-processing List.map Async.Parallel Async.RunSynchronously Array.toList F# how to do List.map in parallel What is the most lightweight, terse way to run the following code in parallel within the standard F# libs? Or failing that any widely...
[ -0.0191650390625, 0.00592041015625, 0.006744384765625, -0.0166015625, -0.021240234375, 0.000736236572265625, 0.0128173828125, -0.00017261505126953125, 0.0033111572265625, -0.034912109375, 0.01080322265625, 0.0184326171875, 0.0101318359375, 0.007568359375, 0.000644683837890625, 0.008117...
[ 563, 4904, 3642, 54, 32036, 5, 62346, 23, 95103, 47, 1238, 3742, 63923, 12654, 55292, 1229, 163321, 217835, 1900, 69253, 53, 188, 154663, 2684, 22729, 165598, 77782, 3917, 11675, 25632, 18151, 28032, 5570, 25474, 35782, 2965, 2301, 18, 1884...
[ 0.1256103515625, 0.1605224609375, 0.04107666015625, 0.08251953125, 0.2418212890625, 0.0192718505859375, 0.2236328125, 0.09844970703125, 0.251953125, 0.012725830078125, 0.09185791015625, 0.12841796875, 0.0899658203125, 0.1451416015625, 0.043365478515625, 0.1370849609375, 0.0703125, ...
embed
47803731_c0
47803731
fsharp
0
Title: Can I get a list of the values that are not functions in all of the program modules? Problem title: Can I get a list of the values that are not functions in all of the program modules? Tags: module, f%23, namespaces Problem: Can I get a list of the values that are not functions in all of the program modules? My ...
Can I get a list of the values that are not functions in all of the program modules? Can I get a list of the values that are not functions in all of the program modules? module f%23 namespaces Can A.i B.x Can I get a list of the values that are not functions in all of the program modules? My F# program runs well but so...
[ 0.00909423828125, 0.000843048095703125, -0.0115966796875, -0.003936767578125, 0.005126953125, 0.01092529296875, 0.001678466796875, -0.030517578125, 0.0002918243408203125, 0.001983642578125, 0.00921630859375, -0.0003108978271484375, 0.0036163330078125, -0.01092529296875, 0.0091552734375, ...
[ 4171, 87, 2046, 5303, 111, 142424, 450, 621, 959, 32354, 7, 23, 756, 1528, 88996, 1238, 3949, 3742, 210716, 62, 14, 335, 425, 10, 70, 563, 4904, 5299, 68018, 28219, 86608, 61924, 5941, 142096, 6097, 99091, 1884, 113054, 123055, 351, 9, ...
[ 0.0709228515625, 0.031402587890625, 0.09954833984375, 0.1787109375, 0.056640625, 0.211669921875, 0.0723876953125, 0.1500244140625, 0.199951171875, 0.197021484375, 0.036590576171875, 0.071044921875, 0.085205078125, 0.13232421875, 0.202880859375, 0.0521240234375, 0.001251220703125, 0...
embed
9925138_c0
9925138
fsharp
0
Title: F# find in list of records the records with same id and add up their values Problem title: F# find in list of records the records with same id and add up their values Tags: list, find, f%23 Problem: F# find in list of records the records with same id and add up their values Iam an F# newbie, I have following sta...
F# find in list of records the records with same id and add up their values F# find in list of records the records with same id and add up their values list find f%23 Slide aB1 aB2 correctoraB2 Now aB2New F# find in list of records the records with same id and add up their values Iam an F# newbie, I have following star...
[ 0.000644683837890625, -0.0211181640625, 0.005096435546875, 0.0272216796875, -0.0177001953125, 0.0208740234375, -0.0185546875, 0.017578125, 0.0220947265625, 0.0108642578125, 0.01409912109375, 0.02880859375, -0.00125885009765625, -0.0179443359375, 0.0024871826171875, -0.007476806640625, ...
[ 563, 4904, 7413, 23, 5303, 111, 115923, 678, 5701, 3447, 15190, 1257, 2363, 142424, 1238, 3742, 160725, 10, 571, 418, 304, 127106, 219, 46568, 9014, 72134, 4989, 135812, 756, 31943, 11338, 3444, 2043, 1810, 122753, 3525, 50339, 147306, 297,...
[ 0.13916015625, 0.2110595703125, 0.141357421875, 0.08856201171875, 0.15185546875, 0.042510986328125, 0.19287109375, 0.06787109375, 0.1435546875, 0.165283203125, 0.132568359375, 0.08782958984375, 0.06634521484375, 0.1610107421875, 0.10467529296875, 0.123046875, 0.187744140625, 0.0502...
embed
16365223_c0
16365223
fsharp
0
Title: Inheritance null reference exception using F# Problem title: Inheritance null reference exception using F# Tags: nullreferenceexception, inheritance, f%23 Problem: Inheritance null reference exception using F# Is there any way to make the following code work? open System.Collections.Generic type Geometry<'t>(chi...
Inheritance null reference exception using F# Inheritance null reference exception using F# nullreferenceexception inheritance f%23 F# Inheritance System.Collections.Generic Geometry List o.add values.Add Line o.length Inheritance null reference exception using F# Is there any way to make the following code work? I get...
[ -0.01116943359375, 0.0194091796875, 0.0072021484375, -0.016845703125, -0.005706787109375, -0.0064697265625, 0.028564453125, 0.0084228515625, 0.005950927734375, -0.0291748046875, 0.00927734375, 0.0191650390625, 0.02587890625, 0.00830078125, 0.006134033203125, -0.021484375, 0.023193359...
[ 360, 3334, 217, 7154, 56574, 91067, 131527, 17368, 563, 4904, 239879, 3355, 63928, 23, 1238, 3949, 3742, 12353, 78457, 8996, 135932, 2206, 87739, 32036, 36, 4028, 142424, 16777, 3917, 3249, 25632, 18151, 4488, 172864, 20174, 11782, 185553, 98...
[ 0.05584716796875, 0.179443359375, 0.120849609375, 0.03289794921875, 0.225341796875, 0.2440185546875, 0.2396240234375, 0.053955078125, 0.134521484375, 0.202392578125, 0.1806640625, 0.04876708984375, 0.0968017578125, 0.0064697265625, 0.07769775390625, 0.01251220703125, 0.13720703125, ...
embed
4513500_c0
4513500
fsharp
0
Title: Returning first value of list of tuples Problem title: Returning first value of list of tuples Tags: f%23, list, tuples Problem: Returning first value of list of tuples I'm learning to deal with Lists and Tuples in F# and a problem came up. I have two lists: one of names and one with names,ages. let namesToFind ...
Returning first value of list of tuples Returning first value of list of tuples f%23 list tuples Returning List.filter Seq.head Returning first value of list of tuples I'm learning to deal with Lists and Tuples in F# and a problem came up. I have two lists: one of names and one with names,ages. I'm trying to create a f...
[ 0.0234375, 0.00439453125, 0.00537109375, 0.01470947265625, -0.00360107421875, -0.003997802734375, -0.00518798828125, 0.006805419921875, 0.0087890625, -0.03515625, 0.03515625, 0.0205078125, -0.010009765625, 0.02490234375, 0.0174560546875, 0.01312255859375, 0.01171875, -0.00732421875...
[ 173340, 214, 5117, 34292, 111, 5303, 370, 99726, 1238, 3949, 3742, 32036, 120337, 503, 864, 31251, 52080, 136, 1371, 563, 4904, 2967, 6626, 123055, 678, 52467, 31577, 28282, 10, 32354, 30646, 32070, 14037, 37839, 284, 4188, 34475, 7763, 204...
[ 0.1712646484375, 0.03466796875, 0.171630859375, 0.1790771484375, 0.08203125, 0.171142578125, 0.14453125, 0.2313232421875, 0.075927734375, 0.055419921875, 0.1353759765625, 0.1260986328125, 0.1568603515625, 0.0081787109375, 0.0751953125, 0.1103515625, 0.015228271484375, 0.01589965820...
embed
12403040_c0
12403040
fsharp
0
Title: C# and F# - When would a situation require one or the other Problem title: C# and F# - When would a situation require one or the other Tags: c%23, f%23 Problem: C# and F# - When would a situation require one or the other I'm trying to understand the differences between C# and F#. To me, C# and VB are pretty much...
C# and F# - When would a situation require one or the other C# and F# - When would a situation require one or the other c%23 f%23 one When C# and F# - When would a situation require one or the other I'm trying to understand the differences between C# and F#. To me, C# and VB are pretty much the same thing and I'm happy...
[ 0.01611328125, 0.0078125, 0.01324462890625, -0.004913330078125, -0.0106201171875, -0.00738525390625, -0.0108642578125, 0.009521484375, 0.01348876953125, 0.000583648681640625, 0.0035858154296875, -0.0302734375, 0.0027923583984375, 0.0147705078125, 0.005828857421875, -0.01422119140625, ...
[ 313, 4904, 136, 563, 14847, 2806, 16648, 64209, 1632, 707, 3789, 10, 501, 3949, 3742, 1238, 31577, 28219, 60212, 17721, 75034, 28875, 5045, 5701, 13580, 17723, 4527, 37223, 15400, 47, 442, 47143, 236209, 83, 11814, 100, 123309, 56037, 449, ...
[ 0.1307373046875, 0.27001953125, 0.142822265625, 0.1802978515625, 0.125244140625, 0.0975341796875, 0.2059326171875, 0.1673583984375, 0.093994140625, 0.05572509765625, 0.0888671875, 0.008697509765625, 0.0455322265625, 0.060699462890625, 0.0877685546875, 0.11376953125, 0.017288208007812...
embed
37526740_c1
37526740
fsharp
1
do getInt() |> ignore let ar = getIntLine() printfn "%i" (solve ar) The above two programs are the solutions for the Stock Maximize problem and times are for the first test case of the Run Code button. For some reason the F# version is roughly 6x faster, but I am pretty sure that if I replaced the slow library functio...
do getInt() |> ignore let ar = getIntLine() printfn "%i" (solve ar) The above two programs are the solutions for the Stock Maximize problem and times are for the first test case of the Run Code button. For some reason the F# version is roughly 6x faster, but I am pretty sure that if I replaced the slow library functio...
[ -0.017578125, 0.009765625, 0.0118408203125, 0.0076904296875, -0.0216064453125, 0.031494140625, -0.00457763671875, 0.00604248046875, 0.0137939453125, -0.0289306640625, -0.000965118408203125, 0.00933837890625, -0.0067138671875, 0.011962890625, 0.00823974609375, -0.00885009765625, -0.00...
[ 54, 2046, 4153, 18, 132, 124962, 2633, 187, 93232, 28412, 14783, 3949, 14, 86918, 36917, 6626, 103391, 621, 51347, 68804, 9920, 77651, 2967, 20028, 5117, 3034, 7225, 28398, 28864, 77679, 31635, 563, 4904, 11389, 83, 166904, 305, 425, 4271, ...
[ 0.04730224609375, 0.103759765625, 0.0977783203125, 0.1124267578125, 0.000579833984375, 0.2020263671875, 0.099365234375, 0.1297607421875, 0.1668701171875, 0.1141357421875, 0.1514892578125, 0.0452880859375, 0.0672607421875, 0.1197509765625, 0.065673828125, 0.101318359375, 0.17724609375...
embed