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
66413773_c0
66413773
fsharp
0
Title: How to efficiently create a list in reversed order in F# Problem title: How to efficiently create a list in reversed order in F# Tags: f%23 Problem: How to efficiently create a list in reversed order in F# Is there anyway to contruct a list in reverse order without having to reverse it Here is an example, I read...
How to efficiently create a list in reversed order in F# How to efficiently create a list in reversed order in F# f%23 How System readLines1 Console.ReadLine List.rev List.iter How to efficiently create a list in reversed order in F# Is there anyway to contruct a list in reverse order without having to reverse it Here ...
[ -0.006011962890625, 0.0096435546875, 0.015869140625, 0.01409912109375, -0.00250244140625, -0.005828857421875, 0.0162353515625, 0.004913330078125, 0.00146484375, -0.0223388671875, 0.0125732421875, 0.01007080078125, 0.0098876953125, -0.003997802734375, 0.00579833984375, -0.00332641601562...
[ 11249, 93766, 538, 28282, 5303, 23, 39531, 5281, 12989, 563, 4904, 1238, 3742, 12353, 12301, 93232, 40777, 31345, 32036, 65381, 16840, 10, 109954, 158, 9774, 15390, 184, 15490, 27781, 756, 124519, 6138, 3035, 30646, 7108, 16750, 161549, 3126,...
[ 0.03558349609375, 0.1871337890625, 0.010284423828125, 0.186767578125, 0.2381591796875, 0.08087158203125, 0.2122802734375, 0.2061767578125, 0.18896484375, 0.1187744140625, 0.181640625, 0.057861328125, 0.0738525390625, 0.053497314453125, 0.10260009765625, 0.14453125, 0.06549072265625, ...
embed
15943026_c0
15943026
fsharp
0
Title: F# with Visual Studio Express/Professional/etc Problem title: F# with Visual Studio Express/Professional/etc Tags: f%23, visual-studio-2012, visual-studio-2010, visual-studio Problem: F# with Visual Studio Express/Professional/etc I am going to learn F#. In my lecturer notes, they have simply asked to open VS 20...
F# with Visual Studio Express/Professional/etc F# with Visual Studio Express/Professional/etc f%23 visual-studio-2012 visual-studio-2010 visual-studio Visual Studio Express Professional visual-studio-2012 visual-studio-2010 F# with Visual Studio Express/Professional/etc I am going to learn F#. In my lecturer notes, the...
[ 0.002899169921875, 0.01251220703125, 0.0076904296875, -0.013916015625, -0.00469970703125, 0.004852294921875, -0.008544921875, 0.0157470703125, 0.0020294189453125, 0.000583648681640625, 0.01129150390625, -0.00732421875, 0.004638671875, 0.01416015625, 0.0003147125244140625, -0.0063476562...
[ 563, 4904, 678, 73372, 22968, 25129, 166964, 30283, 111879, 1238, 3742, 21176, 52629, 54458, 73552, 61928, 7730, 30698, 59619, 73048, 37170, 9803, 44160, 36404, 13452, 36849, 46876, 765, 1532, 36510, 26818, 84797, 12921, 10975, 37223, 110, 1759...
[ 0.16357421875, 0.2386474609375, 0.095458984375, 0.1705322265625, 0.1300048828125, 0.1585693359375, 0.10504150390625, 0.059661865234375, 0.046661376953125, 0.079345703125, 0.036529541015625, 0.1021728515625, 0.1131591796875, 0.1285400390625, 0.1087646484375, 0.17431640625, 0.009643554...
embed
19807437_c0
19807437
fsharp
0
Title: FSharp ProvidedConstructor Arguments Problem title: FSharp ProvidedConstructor Arguments Tags: type-providers, f%23 Problem: FSharp ProvidedConstructor Arguments I'm trying to implement a typeprovider using the examples I found in different places. What I want is to be able to create a constructor which assigns ...
FSharp ProvidedConstructor Arguments FSharp ProvidedConstructor Arguments type-providers f%23 FSharp ProvidedConstructor Arguments SomeType arg1 arg2 this.Arg1 this.Arg2 InvokeCode FSharp ProvidedConstructor Arguments I'm trying to implement a typeprovider using the examples I found in different places. What I want is ...
[ 0.0096435546875, 0.0208740234375, -0.0086669921875, 0.017333984375, -0.002655029296875, 0.004150390625, 0.00830078125, 0.00836181640625, -0.0034637451171875, -0.01263427734375, 0.0205078125, -0.00921630859375, 0.0096435546875, 0.0235595703125, -0.017333984375, 0.0032196044921875, 0.0...
[ 93774, 3467, 254, 123089, 71, 36716, 748, 112140, 10644, 93136, 14202, 1238, 3742, 196707, 79459, 418, 304, 903, 7614, 177, 360, 23253, 114211, 31577, 29479, 820, 27781, 3444, 28282, 64549, 95486, 62952, 10750, 47, 7108, 183871, 16750, 5701, ...
[ 0.044891357421875, 0.1370849609375, 0.12060546875, 0.1627197265625, 0.012542724609375, 0.15673828125, 0.1236572265625, 0.1988525390625, 0.18310546875, 0.191162109375, 0.083251953125, 0.04071044921875, 0.096923828125, 0.167724609375, 0.1805419921875, 0.00836181640625, 0.0457763671875,...
embed
50311629_c0
50311629
fsharp
0
Title: Statements vs Expressions in Haskell, Ocaml, Javascript Problem title: Statements vs Expressions in Haskell, Ocaml, Javascript Tags: ocaml, f%23, haskell Problem: Statements vs Expressions in Haskell, Ocaml, Javascript In Haskell, afaik, there are no statements, just expressions. That is, unlike in an imperative...
Statements vs Expressions in Haskell, Ocaml, Javascript Statements vs Expressions in Haskell, Ocaml, Javascript ocaml f%23 haskell Statements Expressions Haskell Ocaml Javascript Statements vs Expressions in Haskell, Ocaml, Javascript In Haskell, afaik, there are no statements, just expressions. That is, unlike in an i...
[ 0.00494384765625, 0.007354736328125, -0.0101318359375, 0.0008392333984375, 0.0034637451171875, 0.00823974609375, 0.004791259765625, -0.00103759765625, -0.00518798828125, -0.00921630859375, -0.00872802734375, -0.03369140625, -0.01141357421875, 0.007080078125, 0.00823974609375, -0.002029...
[ 22836, 9035, 20209, 25129, 17514, 23, 20625, 142508, 180, 9779, 141, 74181, 36, 1238, 3742, 1556, 360, 261, 11, 783, 2685, 110, 63805, 1660, 125195, 5062, 222530, 46876, 53418, 71924, 18151, 13315, 7103, 26818, 33720, 831, 2811, 11341, 3064...
[ 0.223388671875, 0.152099609375, 0.155517578125, 0.1998291015625, 0.1240234375, 0.0295562744140625, 0.130615234375, 0.25830078125, 0.07659912109375, 0.1572265625, 0.1336669921875, 0.19091796875, 0.029327392578125, 0.013824462890625, 0.0855712890625, 0.08758544921875, 0.01202392578125,...
embed
22543930_c0
22543930
fsharp
0
Title: Process a stream of Tuples without mutability? Problem title: Process a stream of Tuples without mutability? Tags: f%23, immutability, tuples Problem: Process a stream of Tuples without mutability? So I want a function that receives an array of Tuple<int,int> and returns the same type but with different values. ...
Process a stream of Tuples without mutability? Process a stream of Tuples without mutability? f%23 immutability tuples Process Tuples Process a stream of Tuples without mutability? So I want a function that receives an array of Tuple<int,int> and returns the same type but with different values. What I want to do is a f...
[ -0.003997802734375, 0.024169921875, -0.002349853515625, 0.0113525390625, -0.00518798828125, -0.0064697265625, -0.001190185546875, -0.0074462890625, 0.022216796875, 0.0052490234375, 0.020751953125, 0.0166015625, 0.0032501220703125, 0.044921875, -0.000545501708984375, 0.01312255859375, ...
[ 123996, 75973, 1371, 99726, 15490, 21144, 41159, 111, 1238, 3949, 3742, 566, 14311, 370, 10, 3444, 32354, 53299, 10298, 8705, 4288, 30646, 5701, 10644, 1284, 678, 12921, 142424, 903, 8562, 5117, 14012, 198343, 152028, 19462, 35735, 959, 17173...
[ 0.186279296875, 0.220458984375, 0.1654052734375, 0.220703125, 0.148681640625, 0.1566162109375, 0.10198974609375, 0.008514404296875, 0.07891845703125, 0.006072998046875, 0.12158203125, 0.047698974609375, 0.157958984375, 0.13330078125, 0.00616455078125, 0.09271240234375, 0.193725585937...
embed
570899_c0
570899
fsharp
0
Title: Simpler way of pattern matching against start of list in F# Problem title: Simpler way of pattern matching against start of list in F# Tags: pattern-matching, parsing, f%23, list Problem: Simpler way of pattern matching against start of list in F# I'm trying to write a string processing function in F#, which loo...
Simpler way of pattern matching against start of list in F# Simpler way of pattern matching against start of list in F# pattern-matching parsing f%23 list Simpler Process List.of_seq Simpler way of pattern matching against start of list in F# I'm trying to write a string processing function in F#, which looks like this...
[ -0.004119873046875, -0.0030517578125, -0.0029296875, 0.01806640625, -0.011962890625, -0.007049560546875, -0.005126953125, 0.00103759765625, 0.023681640625, -0.0185546875, 0.023193359375, 0.0299072265625, 0.00130462646484375, -0.01025390625, 0.003936767578125, -0.01165771484375, 0.002...
[ 60552, 42, 3917, 103510, 14858, 214, 26548, 4034, 111, 5303, 563, 4904, 98753, 366, 6953, 1238, 3742, 123996, 32036, 4390, 184, 864, 31577, 33022, 79315, 9433, 32354, 33342, 1884, 903, 2646, 125195, 40368, 80854, 83, 4785, 75, 110608, 28271...
[ 0.14453125, 0.0535888671875, 0.077392578125, 0.2298583984375, 0.211181640625, 0.0670166015625, 0.1776123046875, 0.1083984375, 0.05279541015625, 0.1407470703125, 0.1510009765625, 0.2025146484375, 0.2122802734375, 0.06378173828125, 0.0194244384765625, 0.09051513671875, 0.0997314453125,...
embed
14965700_c1
14965700
fsharp
1
to the printfn line and than when it "sees" the 'a' there it goes back and computes the answer of 'a'. why is it and how can i "start" the function without printing?? also- Can some one tells me why do I have to add file as a return type of the function "addNumber"? (I added this because that how it works but I don't ...
to the printfn line and than when it "sees" the 'a' there it goes back and computes the answer of 'a'. why is it and how can i "start" the function without printing?? also- Can some one tells me why do I have to add file as a return type of the function "addNumber"? (I added this because that how it works but I don't ...
[ 0.0091552734375, -0.0031585693359375, -0.00007390975952148438, 0.031982421875, -0.01019287109375, 0.00122833251953125, 0.0034027099609375, 0.00518798828125, 0.046142578125, -0.0164794921875, -0.00909423828125, 0.0113525390625, -0.01708984375, 0.020751953125, 0.0181884765625, -0.0073852...
[ 47, 28412, 14783, 13315, 3501, 184, 90, 11, 2685, 4420, 7077, 35166, 15400, 17137, 32354, 15490, 2448, 1916, 15190, 11435, 30646, 10644, 4028, 18444, 26278, 3642, 43240, 28219, 4568, 9655, 33022, 8244, 64163, 77336, 7103, 378, 80934, 18499, ...
[ 0.101806640625, 0.159912109375, 0.2178955078125, 0.142333984375, 0.054656982421875, 0.0948486328125, 0.04241943359375, 0.0902099609375, 0.010162353515625, 0.07373046875, 0.1072998046875, 0.119140625, 0.0753173828125, 0.10711669921875, 0.1729736328125, 0.08905029296875, 0.11962890625,...
embed
54440211_c0
54440211
fsharp
0
Title: Download file in Fable Problem title: Download file in Fable Tags: f%23, fable-f%23 Problem: Download file in Fable How do I download file in Fable? Let's say I have a CSV data and I want to save it on my machine. I tried using ts2fable with the Download.js . However, it creates just an interface: // ts2fable 0....
Download file in Fable Download file in Fable f%23 fable-f%23 Download Fable ts2fable Download.js Fable.Import AllowNullLiteral IExports Browser.Blob Fable.Core.JsInterop.importMember Download file in Fable How do I download file in Fable? Let's say I have a CSV data and I want to save it on my machine. I tried using t...
[ -0.02001953125, -0.00323486328125, 0.024658203125, 0.028076171875, 0.0059814453125, -0.00738525390625, -0.0067138671875, 0.01373291015625, -0.0022430419921875, -0.01708984375, -0.019287109375, -0.01806640625, 0.0020751953125, 0.020263671875, 0.0091552734375, 0.0120849609375, 0.000747...
[ 4857, 11435, 23, 563, 2886, 1238, 3949, 3742, 1071, 2661, 420, 61636, 304, 28175, 61637, 6982, 41566, 18444, 720, 87, 19279, 86976, 365, 50886, 1375, 44851, 2146, 60270, 27417, 11249, 54, 7026, 10842, 5154, 765, 313, 43486, 2053, 3444, 30...
[ 0.2349853515625, 0.1993408203125, 0.1385498046875, 0.200927734375, 0.260498046875, 0.07421875, 0.0288238525390625, 0.08209228515625, 0.1614990234375, 0.1640625, 0.139404296875, 0.1373291015625, 0.136474609375, 0.164306640625, 0.0306396484375, 0.103515625, 0.0665283203125, 0.0448608...
embed
77177296_c0
77177296
fsharp
0
Title: How to compute a value on demand and cache this value in FP/F#? Problem title: How to compute a value on demand and cache this value in FP/F#? Tags: .net, f%23, functional-programming Problem: How to compute a value on demand and cache this value in FP/F#? In C# (OOP) I can easily compute a value on demand and r...
How to compute a value on demand and cache this value in FP/F#? How to compute a value on demand and cache this value in FP/F#? .net f%23 functional-programming How WorkItem Dictionary WorkItemState State ParseWorkItemState Lazy How to compute a value on demand and cache this value in FP/F#? In C# (OOP) I can easily co...
[ -0.013671875, -0.003387451171875, 0.004547119140625, 0.00084686279296875, -0.0086669921875, 0.020263671875, 0.0206298828125, 0.00927734375, 0.01904296875, -0.01080322265625, 0.00113677978515625, 0.037841796875, 0.004608154296875, 0.0157470703125, 0.0211181640625, 0.005706787109375, 0...
[ 11249, 47, 9969, 6743, 34292, 98, 35968, 136, 82365, 903, 23, 51006, 64, 919, 4904, 10, 1179, 1238, 3742, 123309, 28966, 27985, 2982, 147638, 135206, 22836, 2392, 108259, 239, 3285, 313, 670, 20880, 72546, 37629, 24145, 375, 7077, 377, 59...
[ 0.07489013671875, 0.0193023681640625, 0.1727294921875, 0.183837890625, 0.2176513671875, 0.1663818359375, 0.259521484375, 0.09765625, 0.2471923828125, 0.051361083984375, 0.037445068359375, 0.201171875, 0.092041015625, 0.091064453125, 0.1939697265625, 0.032867431640625, 0.1014404296875...
embed
41263489_c0
41263489
fsharp
0
Title: Project euler #1. I keep getting the answer wrong by exactly 100 and I don&#x27;t know why (written inF#) Problem title: Project euler #1. I keep getting the answer wrong by exactly 100 and I don&#x27;t know why (written inF#) Tags: f%23, computer-science Problem: Project euler #1. I keep getting the answer wron...
Project euler #1. I keep getting the answer wrong by exactly 100 and I don&#x27;t know why (written inF#) Project euler #1. I keep getting the answer wrong by exactly 100 and I don&#x27;t know why (written inF#) f%23 computer-science Project Project euler #1. I keep getting the answer wrong by exactly 100 and I don't k...
[ -0.019287109375, 0.01031494140625, 0.007659912109375, -0.0157470703125, -0.002685546875, 0.00836181640625, -0.0133056640625, 0.0064697265625, 0.018310546875, -0.0311279296875, 0.0048828125, -0.01226806640625, 0.003936767578125, 0.0240478515625, -0.0019683837890625, 0.000537872314453125...
[ 27331, 1175, 603, 41766, 13695, 20949, 35166, 44691, 390, 66161, 805, 2301, 3768, 18, 3714, 15400, 23, 919, 4904, 75639, 3742, 13909, 175201, 6602, 25841, 9836, 41928, 51359, 56037, 170198, 44402, 5177, 145755, 86869, 840, 5117, 2967, 117249,...
[ 0.1812744140625, 0.1607666015625, 0.21923828125, 0.137939453125, 0.128662109375, 0.06121826171875, 0.2008056640625, 0.2008056640625, 0.10205078125, 0.12890625, 0.2188720703125, 0.044036865234375, 0.05328369140625, 0.07110595703125, 0.1119384765625, 0.1373291015625, 0.039886474609375,...
embed
74858887_c0
74858887
fsharp
0
Title: How to Parse a DateTime in a specific timezone in .Net 6 ( Australia / Sydney ) Problem title: How to Parse a DateTime in a specific timezone in .Net 6 ( Australia / Sydney ) Tags: .net, f%23, .net-6.0, datetime Problem: How to Parse a DateTime in a specific timezone in .Net 6 ( Australia / Sydney ) I have a Dat...
How to Parse a DateTime in a specific timezone in .Net 6 ( Australia / Sydney ) How to Parse a DateTime in a specific timezone in .Net 6 ( Australia / Sydney ) .net f%23 .net-6.0 datetime How Parse DateTime Net Australia Sydney net-6.0 How to Parse a DateTime in a specific timezone in .Net 6 ( Australia / Sydney ) I ha...
[ -0.010009765625, 0.0142822265625, -0.01458740234375, 0.0126953125, -0.00830078125, -0.0196533203125, 0.005035400390625, 0.021484375, -0.0025634765625, -0.0185546875, 0.0166015625, 0.00176239013671875, 0.003082275390625, 0.000797271728515625, 0.00897216796875, 0.0140380859375, -0.0026...
[ 11249, 47, 2392, 184, 25512, 70059, 23, 29458, 1733, 18979, 5, 24447, 305, 28173, 248, 87547, 1179, 1238, 3742, 13545, 2389, 5622, 6032, 10086, 2043, 79315, 3444, 366, 20288, 15426, 5155, 20016, 14880, 5180, 17368, 563, 4904, 4527, 5701, ...
[ 0.07373046875, 0.049224853515625, 0.1817626953125, 0.1600341796875, 0.18603515625, 0.26611328125, 0.03179931640625, 0.1722412109375, 0.166015625, 0.2000732421875, 0.03497314453125, 0.158203125, 0.1556396484375, 0.1976318359375, 0.0533447265625, 0.2174072265625, 0.126220703125, 0.02...
embed
23201749_c0
23201749
fsharp
0
Title: Passing user name and password parameters to the type provider Problem title: Passing user name and password parameters to the type provider Tags: type-providers, f%23 Problem: Passing user name and password parameters to the type provider I have created a type provider to a service that requires authentication ...
Passing user name and password parameters to the type provider Passing user name and password parameters to the type provider type-providers f%23 Passing DemoTable TableId User Password Passing user name and password parameters to the type provider I have created a type provider to a service that requires authenticatio...
[ 0.0208740234375, 0.0126953125, -0.005462646484375, 0.0015411376953125, -0.00616455078125, -0.028564453125, 0.01068115234375, -0.000720977783203125, 0.005462646484375, 0.005035400390625, -0.0140380859375, -0.01409912109375, 0.00083160400390625, 0.01373291015625, -0.0103759765625, -0.002...
[ 28872, 38937, 9351, 136, 78506, 171859, 47, 10644, 81450, 93136, 14202, 1238, 3949, 3742, 42506, 618, 2886, 112997, 568, 71, 53400, 170461, 75935, 4516, 144570, 195734, 390, 138256, 105233, 110527, 1884, 903, 756, 43240, 1660, 5885, 2967, 344...
[ 0.1290283203125, 0.130126953125, 0.1258544921875, 0.1171875, 0.2283935546875, 0.22021484375, 0.08990478515625, 0.212646484375, 0.2427978515625, 0.1575927734375, 0.07073974609375, 0.0160675048828125, 0.01104736328125, 0.09710693359375, 0.182861328125, 0.0826416015625, 0.1151123046875,...
embed
55319107_c0
55319107
fsharp
0
Title: F# Pass a list of triples through command line using Argu Problem title: F# Pass a list of triples through command line using Argu Tags: f%23, command-line-arguments, f%23-argu Problem: F# Pass a list of triples through command line using Argu I have a list of triples, call them (x : int, y : int, z : int) , whi...
F# Pass a list of triples through command line using Argu F# Pass a list of triples through command line using Argu f%23 command-line-arguments f%23-argu Argu Pass F# Pass a list of triples through command line using Argu I have a list of triples, call them (x : int, y : int, z : int) , which I would like to pass to F#...
[ -0.0040283203125, 0.0036468505859375, -0.006439208984375, 0.0040283203125, -0.033447265625, -0.0172119140625, 0.0050048828125, -0.01019287109375, 0.006256103515625, 0.004852294921875, 0.001434326171875, 0.00396728515625, 0.0294189453125, 0.0172119140625, -0.01409912109375, 0.0074768066...
[ 563, 4904, 28872, 5303, 111, 162738, 7, 8305, 75101, 13315, 17368, 1172, 1234, 1238, 3742, 2256, 155937, 27495, 147, 765, 11782, 425, 23, 18, 113, 97, 27875, 47, 1528, 4527, 17447, 95322, 32102, 846, 7614, 9433, 171859, 831, 34831, 128489...
[ 0.115966796875, 0.1864013671875, 0.1380615234375, 0.17041015625, 0.0239105224609375, 0.2646484375, 0.0819091796875, 0.08306884765625, 0.1790771484375, 0.1142578125, 0.039276123046875, 0.1900634765625, 0.253662109375, 0.09228515625, 0.1181640625, 0.0911865234375, 0.1917724609375, 0....
embed
32363848_c0
32363848
fsharp
0
Title: Fastest way to reduce a list based on another list using F# Problem title: Fastest way to reduce a list based on another list using F# Tags: f%23 Problem: Fastest way to reduce a list based on another list using F# What would be the most efficient way in F# to remove items in one list based on items in another l...
Fastest way to reduce a list based on another list using F# Fastest way to reduce a list based on another list using F# f%23 F# Fastest seq1 seq2 Seq.filter Seq.exists Fastest way to reduce a list based on another list using F# What would be the most efficient way in F# to remove items in one list based on items in ano...
[ -0.00390625, 0.01171875, -0.0037841796875, 0.034912109375, 0.005706787109375, -0.00726318359375, -0.0023345947265625, 0.028076171875, 0.007415771484375, -0.0047607421875, 0.01953125, 0.017822265625, -0.006561279296875, 0.00762939453125, -0.00506591796875, 0.0185546875, 0.01220703125,...
[ 25290, 525, 3917, 47, 34390, 5303, 35509, 98, 15700, 17368, 563, 4904, 1238, 3742, 40, 864, 418, 304, 503, 120337, 54376, 2684, 93766, 87388, 55769, 23, 1632, 27781, 143802, 99433, 2822, 991, 33554, 55577, 61475, 427, 136622, 55993, 13267, ...
[ 0.1751708984375, 0.08721923828125, 0.088623046875, 0.009674072265625, 0.2471923828125, 0.2166748046875, 0.1453857421875, 0.03912353515625, 0.10693359375, 0.01409912109375, 0.1553955078125, 0.196044921875, 0.0540771484375, 0.098876953125, 0.0784912109375, 0.16943359375, 0.066772460937...
embed
43343936_c0
43343936
fsharp
0
Title: How to get the Typed Abstract Syntaxt Tree from F# Compiler Service Problem title: How to get the Typed Abstract Syntaxt Tree from F# Compiler Service Tags: f%23-compiler-services, f%23 Problem: How to get the Typed Abstract Syntaxt Tree from F# Compiler Service How can I access the typed abstract syntaxe tree f...
How to get the Typed Abstract Syntaxt Tree from F# Compiler Service How to get the Typed Abstract Syntaxt Tree from F# Compiler Service f%23-compiler-services f%23 F# How Typed Abstract Syntaxt Tree Compiler Service How to get the Typed Abstract Syntaxt Tree from F# Compiler Service How can I access the typed abstract ...
[ 0.0091552734375, 0.0145263671875, -0.0032501220703125, -0.0011749267578125, 0.016357421875, -0.01531982421875, -0.0125732421875, -0.0037841796875, -0.026123046875, -0.0400390625, 0.01068115234375, -0.00115203857421875, -0.0033416748046875, 0.01141357421875, 0.0191650390625, 0.00390625,...
[ 11249, 2046, 70, 60457, 71, 233973, 19010, 86531, 18, 101344, 1295, 563, 4904, 15612, 34759, 12349, 47, 1238, 27495, 58875, 22584, 3742, 17203, 10644, 164789, 6002, 102, 4878, 53201, 756, 31344, 102158, 13452, 318, 174976, 28271, 3871, 7244, ...
[ 0.03863525390625, 0.1083984375, 0.039398193359375, 0.2412109375, 0.08154296875, 0.177734375, 0.100830078125, 0.1602783203125, 0.07818603515625, 0.26611328125, 0.0804443359375, 0.09130859375, 0.198974609375, 0.1376953125, 0.139404296875, 0.1348876953125, 0.006011962890625, 0.0571289...
embed
26044214_c0
26044214
fsharp
0
Title: The value or constructor &#x27;DotCoverNUnit&#x27; is not defined Problem title: The value or constructor &#x27;DotCoverNUnit&#x27; is not defined Tags: f%23, f%23-fake Problem: The value or constructor 'DotCoverNUnit' is not defined We're using Fake and I'd like to run DotCover after our Build target. It's alwa...
The value or constructor &#x27;DotCoverNUnit&#x27; is not defined The value or constructor &#x27;DotCoverNUnit&#x27; is not defined f%23 f%23-fake DotCoverNUnit Users Dev FAKE build.fsx Interactive Freely Apache Open Source License Loading FS0039 FakeLib.dll The value or constructor 'DotCoverNUnit' is not defined We're...
[ -0.002166748046875, 0.0185546875, -0.0101318359375, -0.01904296875, 0.0123291015625, -0.00811767578125, -0.0014801025390625, -0.037841796875, -0.0145263671875, -0.01214599609375, -0.0274658203125, 0.015380859375, 0.00457763671875, 0.01458740234375, 0.0089111328125, -0.0177001953125, ...
[ 34292, 707, 64549, 748, 3768, 8331, 18, 441, 5465, 33261, 6773, 83, 959, 61924, 71, 3742, 27495, 1021, 350, 84929, 53400, 40317, 563, 119960, 45367, 17447, 425, 5337, 5153, 9795, 1430, 13527, 77641, 64779, 228006, 93774, 7049, 9323, 3036, ...
[ 0.21826171875, 0.0870361328125, 0.1767578125, 0.1549072265625, 0.06982421875, 0.1103515625, 0.1251220703125, 0.1119384765625, 0.2493896484375, 0.1307373046875, 0.248046875, 0.03289794921875, 0.124267578125, 0.21435546875, 0.03277587890625, 0.0297088623046875, 0.03863525390625, 0.15...
embed
15051840_c0
15051840
fsharp
0
Title: f# split html by tags Problem title: f# split html by tags Tags: string, f%23, html, parsing, split Problem: f# split html by tags I would like to parse an HTML document and print each of the paragraphs to a log file as an individual entry. So far I have: let parseTextFile (path) = let fileText = File.ReadAllTex...
f# split html by tags f# split html by tags string f%23 html parsing split File.ReadAllText fileText.Split Seq.iter f# split html by tags I would like to parse an HTML document and print each of the paragraphs to a log file as an individual entry. So far I have: But unfortunately for me string.Split does not do what I ...
[ -0.000431060791015625, 0.02392578125, 0.00299072265625, 0.0130615234375, -0.0078125, 0.0191650390625, 0.004302978515625, 0.00323486328125, 0, -0.03662109375, 0.00543212890625, 0.027587890625, -0.0341796875, -0.009521484375, 0.03125, 0.00762939453125, 0.0032806396484375, 0.004241943...
[ 1238, 4904, 65450, 7693, 390, 69141, 79315, 3949, 3742, 366, 6953, 42724, 31345, 43512, 174379, 11435, 31923, 4353, 864, 16840, 2806, 1884, 184, 19097, 12937, 28412, 12638, 151268, 47, 12684, 237, 11651, 42805, 2060, 104272, 959, 54, 3444, ...
[ 0.140380859375, 0.2314453125, 0.24072265625, 0.258056640625, 0.0892333984375, 0.2315673828125, 0.19287109375, 0.03411865234375, 0.1622314453125, 0.1153564453125, 0.0548095703125, 0.1212158203125, 0.1070556640625, 0.0784912109375, 0.1029052734375, 0.1707763671875, 0.0904541015625, 0...
embed
21676017_c0
21676017
fsharp
0
Title: Is it possible to parameterise the NUnit test case display name when using ``Ticked method names``? Problem title: Is it possible to parameterise the NUnit test case display name when using ``Ticked method names``? Tags: nunit, f%23 Problem: Is it possible to parameterise the NUnit test case display name when us...
Is it possible to parameterise the NUnit test case display name when using ``Ticked method names``? Is it possible to parameterise the NUnit test case display name when using ``Ticked method names``? nunit f%23 NUnit Ticked TestCaseAttribute TestCase Should Is it possible to parameterise the NUnit test case display nam...
[ 0.0064697265625, 0.0064697265625, 0.0025482177734375, -0.00982666015625, 0.0001125335693359375, -0.018798828125, 0.0162353515625, -0.00567626953125, -0.004302978515625, 0.01904296875, 0.004486083984375, -0.019775390625, -0.0206298828125, 0.02783203125, -0.004364013671875, -0.0061340332...
[ 2071, 7722, 171859, 3075, 18057, 6773, 3034, 7225, 44116, 9351, 17368, 16734, 76622, 55300, 123055, 32, 442, 4124, 217, 1238, 3949, 3742, 2371, 8647, 441, 6991, 191145, 151117, 134234, 1810, 563, 4904, 237, 759, 35773, 134053, 4527, 41929, ...
[ 0.036407470703125, 0.1600341796875, 0.20703125, 0.14453125, 0.171142578125, 0.23583984375, 0.189453125, 0.15576171875, 0.1556396484375, 0.1534423828125, 0.048614501953125, 0.184326171875, 0.166748046875, 0.1605224609375, 0.1522216796875, 0.010711669921875, 0.01324462890625, 0.13488...
embed
46159129_c1
46159129
fsharp
1
prevent him from dishing out two good hints/tricks on the topic). My goal is to have two types, Parent and Child, each with a default constructor (meaning an instance constructor that does not take any parameters). The type Child should inherit Parent, and for this example let us say that the type Parent inherit Syste...
prevent him from dishing out two good hints/tricks on the topic). My goal is to have two types, Parent and Child, each with a default constructor (meaning an instance constructor that does not take any parameters). The type Child should inherit Parent, and for this example let us say that the type Parent inherit Syste...
[ 0.0123291015625, 0.006103515625, -0.0032958984375, 0.010986328125, 0.000782012939453125, -0.0004367828369140625, -0.001617431640625, 0.01953125, 0.013671875, 0.01116943359375, -0.00640869140625, 0.01177978515625, 0.02783203125, 0.052978515625, -0.0091552734375, -0.00909423828125, 0.0...
[ 56282, 4049, 6626, 4127, 5122, 149718, 28451, 2646, 69236, 83, 765, 52895, 170918, 136, 123829, 12638, 114977, 64549, 748, 110527, 450, 14602, 959, 5646, 2499, 171859, 10644, 5608, 23, 3334, 217, 100, 27781, 12353, 46471, 75161, 2806, 1884, ...
[ 0.1458740234375, 0.1009521484375, 0.1124267578125, 0.07275390625, 0.0909423828125, 0.0765380859375, 0.06072998046875, 0.02691650390625, 0.187255859375, 0.05596923828125, 0.052093505859375, 0.2196044921875, 0.246337890625, 0.067626953125, 0.232666015625, 0.008819580078125, 0.251464843...
embed
8427843_c0
8427843
fsharp
0
Title: How to make piped lambda returning some value Problem title: How to make piped lambda returning some value Tags: f%23, lambda, pipe Problem: How to make piped lambda returning some value It's hard to explain, here is what I want: let internal (=%=) (W : int, thriller : Dev -> unit -> bool) = let id = get W if id...
How to make piped lambda returning some value How to make piped lambda returning some value f%23 lambda pipe How Dev CanRead w.GetCanRead opt.IsSome opt.Value Some None How to make piped lambda returning some value It's hard to explain, here is what I want: It doesn't allow my thriller to return any type. So I can do W...
[ -0.000499725341796875, -0.010009765625, -0.0002956390380859375, 0.003204345703125, -0.00665283203125, -0.02978515625, 0.0107421875, -0.03369140625, -0.001739501953125, -0.0140380859375, 0.0162353515625, 0.027587890625, 0.006317138671875, 0.004638671875, 0.00811767578125, -0.00064849853...
[ 11249, 47, 3249, 137158, 71, 21, 6492, 85, 30646, 214, 3060, 34292, 1238, 3742, 40317, 4171, 31345, 148, 126, 54694, 43922, 29598, 282, 856, 50770, 31384, 438, 7941, 3444, 63769, 133995, 10644, 831, 54, 601, 3949, 7477, 33079, 5775, 31, ...
[ 0.06573486328125, 0.0184478759765625, 0.118408203125, 0.194580078125, 0.128173828125, 0.075439453125, 0.18115234375, 0.151611328125, 0.1998291015625, 0.0726318359375, 0.04510498046875, 0.18212890625, 0.034698486328125, 0.1470947265625, 0.169677734375, 0.039886474609375, 0.19836425781...
embed
4169159_c1
4169159
fsharp
1
parentWindow.Height + STANDARD_ROW_HEIGHT this.btnWhatever.Content <- "Off" () In this case, my STANDARD_ROW_HEIGHT is only 23 pixels, and yet an empty space of 92 pixels is being added to the ChildWindow below the title bar after the user clicks the button. What's more, is that when the user clicks the button again (...
parentWindow.Height + STANDARD_ROW_HEIGHT this.btnWhatever.Content <- "Off" () In this case, my STANDARD_ROW_HEIGHT is only 23 pixels, and yet an empty space of 92 pixels is being added to the ChildWindow below the title bar after the user clicks the button. What's more, is that when the user clicks the button again (...
[ 0.0133056640625, 0.0306396484375, 0.005828857421875, 0.017333984375, -0.0018157958984375, -0.01446533203125, 0.0042724609375, 0.0038909912109375, 0.0223388671875, 0.0169677734375, -0.00494384765625, -0.0128173828125, 0.0021209716796875, 0.0106201171875, -0.002349853515625, -0.029296875...
[ 49129, 92049, 24293, 5, 13025, 22553, 997, 16992, 34860, 40756, 14255, 1456, 19412, 95954, 903, 16723, 52231, 30441, 11935, 25352, 150369, 7225, 759, 454, 618, 4734, 1105, 98009, 14373, 201505, 32628, 15671, 83, 49814, 123829, 35064, 44759, 1...
[ 0.1876220703125, 0.1494140625, 0.1868896484375, 0.005401611328125, 0.195556640625, 0.17333984375, 0.1192626953125, 0.119140625, 0.1756591796875, 0.1510009765625, 0.140869140625, 0.0982666015625, 0.1824951171875, 0.18408203125, 0.1507568359375, 0.0850830078125, 0.09906005859375, 0.1...
embed
12381071_c1
12381071
fsharp
1
3.0\Framework\v4.0\Microsoft.FSharp.Targets')) And (Exists('$(MSBuildExtensionsPath32)\..\Microsoft F#\v4.0\Microsoft.FSharp.Targets'))" /> <Import Project="$(MSBuildExtensionsPath32)\FSharp\1.0\Microsoft.FSharp.Targets" Condition="(!Exists('$(MSBuildExtensionsPath32)\..\Microsoft SDKs\F#\3.0\Framework\v4.0\Microsoft.F...
3.0\Framework\v4.0\Microsoft.FSharp.Targets')) And (Exists('$(MSBuildExtensionsPath32)\..\Microsoft F#\v4.0\Microsoft.FSharp.Targets'))" /> <Import Project="$(MSBuildExtensionsPath32)\FSharp\1.0\Microsoft.FSharp.Targets" Condition="(!Exists('$(MSBuildExtensionsPath32)\..\Microsoft SDKs\F#\3.0\Framework\v4.0\Microsoft.F...
[ -0.0198974609375, 0.01904296875, 0.0045166015625, -0.0189208984375, -0.005828857421875, -0.0031280517578125, -0.004852294921875, -0.006561279296875, 0.006195068359375, 0.015625, -0.004547119140625, -0.01513671875, 0.005279541015625, -0.002532958984375, 0.0115966796875, 0.00411987304687...
[ 17596, 108386, 282, 18244, 334, 151152, 113387, 36381, 3467, 254, 63031, 3794, 7, 16, 3493, 19279, 64370, 13439, 121137, 128872, 683, 10519, 91887, 5, 563, 4904, 25, 58, 61637, 6982, 27331, 132, 41872, 102107, 46347, 1363, 22422, 4369, 4546...
[ 0.219970703125, 0.09661865234375, 0.045196533203125, 0.1361083984375, 0.06524658203125, 0.248779296875, 0.09423828125, 0.11083984375, 0.21826171875, 0.167236328125, 0.1654052734375, 0.218994140625, 0.0157928466796875, 0.015625, 0.0151824951171875, 0.095703125, 0.1513671875, 0.09545...
embed
69918652_c0
69918652
fsharp
0
Title: is possible to read a URL compressed with gzip (tvs.gz) with CSVProvider in F#? Problem title: is possible to read a URL compressed with gzip (tvs.gz) with CSVProvider in F#? Tags: f%23-data, f%23 Problem: is possible to read a URL compressed with gzip (tvs.gz) with CSVProvider in F#? is possible to read a URL c...
is possible to read a URL compressed with gzip (tvs.gz) with CSVProvider in F#? is possible to read a URL compressed with gzip (tvs.gz) with CSVProvider in F#? f%23-data f%23 URL tvs.gz CSVProvider datasets.imdbws.com name.basics.tsv.gz is possible to read a URL compressed with gzip (tvs.gz) with CSVProvider in F#? is ...
[ 0.0038604736328125, 0.017822265625, 0.0157470703125, 0.021240234375, 0.030029296875, -0.0103759765625, 0.00139617919921875, 0.0189208984375, -0.004241943359375, -0.016845703125, 0.00787353515625, -0.01287841796875, 0.0247802734375, 0.00140380859375, -0.013916015625, -0.006103515625, ...
[ 83, 7722, 12301, 31862, 375, 11856, 678, 706, 50836, 8283, 7, 177, 169, 25841, 41195, 83220, 820, 563, 4904, 1238, 27495, 10135, 3742, 5044, 2053, 3509, 464, 48073, 19725, 9351, 5918, 28021, 933, 334, 23, 18151, 18499, 10644, 81450, 17799...
[ 0.01214599609375, 0.1541748046875, 0.2193603515625, 0.2032470703125, 0.127197265625, 0.20166015625, 0.058074951171875, 0.07257080078125, 0.218505859375, 0.1937255859375, 0.0836181640625, 0.06536865234375, 0.1170654296875, 0.1160888671875, 0.0654296875, 0.1597900390625, 0.1728515625, ...
embed
21909506_c0
21909506
fsharp
0
Title: Can I call a function by name in f#? Problem title: Can I call a function by name in f#? Tags: f%23 Problem: Can I call a function by name in f#? Is there any way to call a function by name in F#? Given a string, I want to pluck a function value from the global namespace (or, in general, a given module), and cal...
Can I call a function by name in f#? Can I call a function by name in f#? f%23 Can use:script_with_many_funcs.fsx trampoline.fsx Can I call a function by name in f#? Is there any way to call a function by name in F#? Given a string, I want to pluck a function value from the global namespace (or, in general, a given mod...
[ -0.004638671875, -0.002716064453125, -0.0107421875, 0.0341796875, -0.005706787109375, 0.00159454345703125, 0.02001953125, -0.008544921875, 0.01123046875, -0.052001953125, -0.01275634765625, 0.0162353515625, -0.013916015625, -0.005645751953125, 0.0130615234375, -0.01470947265625, -0.0...
[ 4171, 87, 11782, 10, 32354, 390, 9351, 23, 1238, 4904, 3742, 4527, 32032, 76228, 669, 53, 16498, 4439, 17447, 425, 240477, 13, 2685, 2499, 3917, 47, 563, 77878, 79315, 3444, 12266, 2594, 34292, 1295, 7964, 210716, 4537, 88996, 442, 3714, ...
[ 0.11474609375, 0.07525634765625, 0.1923828125, 0.06085205078125, 0.251953125, 0.12744140625, 0.198486328125, 0.0977783203125, 0.1405029296875, 0.21630859375, 0.06097412109375, 0.0697021484375, 0.15380859375, 0.0570068359375, 0.054290771484375, 0.05792236328125, 0.134033203125, 0.06...
embed
24893246_c0
24893246
fsharp
0
Title: Visual Studio 2013 error Problem title: Visual Studio 2013 error Tags: fsc, module, visual-studio-2013, z3, f%23 Problem: Visual Studio 2013 error The top line of my code 'module Title' is giving me a dual warning "The search directory 'C:\z3-4.3.0-x64\bin\' could not be found". One for my .fs (f#) file and one ...
Visual Studio 2013 error Visual Studio 2013 error fsc module visual-studio-2013 z3 f%23 Visual Studio visual-studio-2013 Visual Studio 2013 error The top line of my code 'module Title' is giving me a dual warning "The search directory 'C:\z3-4.3.0-x64\bin\' could not be found". One for my .fs (f#) file and one for some...
[ 0.005615234375, 0.0031890869140625, -0.0225830078125, 0.011474609375, 0.002288818359375, 0.01055908203125, 0, 0.00830078125, -0.010986328125, -0.02294921875, 0.0027008056640625, -0.00537109375, 0.01129150390625, -0.004180908203125, 0.019775390625, 0.0166015625, -0.01165771484375, -...
[ 73372, 22968, 1210, 18499, 1238, 10382, 88996, 21176, 52629, 74790, 97, 363, 3742, 2663, 13315, 18151, 83279, 13, 48962, 163, 87758, 1631, 592, 33938, 14364, 53, 441, 169, 130913, 132265, 13307, 7568, 5809, 959, 14037, 6561, 17447, 420, 490...
[ 0.1827392578125, 0.2098388671875, 0.22705078125, 0.1763916015625, 0.07666015625, 0.1322021484375, 0.16748046875, 0.1741943359375, 0.148193359375, 0.1920166015625, 0.1021728515625, 0.1444091796875, 0.081298828125, 0.0947265625, 0.049957275390625, 0.115478515625, 0.1295166015625, 0.0...
embed
65432784_c1
65432784
fsharp
1
|> ignore m else message else messageQueue.TryDequeue() |> ignore takeMessages $"{message}\n{m}" else message let messagesString = (takeMessages String.Empty).TrimStart('\n') it works, but I think it's not very readable. Additionally, the code that sends the message is looking for the alert characters again: let parse...
|> ignore m else message else messageQueue.TryDequeue() |> ignore takeMessages $"{message}\n{m}" else message let messagesString = (takeMessages String.Empty).TrimStart('\n') it works, but I think it's not very readable. Additionally, the code that sends the message is looking for the alert characters again: let parse...
[ -0.0022430419921875, 0.013427734375, -0.0174560546875, 0.017333984375, -0.0037078857421875, 0.00665283203125, 0.0003948211669921875, 0.00860595703125, 0.0012969970703125, 0.0050048828125, 0.01220703125, 0.0279541015625, 0.015625, 0.005218505859375, -0.005035400390625, 0.04150390625, ...
[ 124962, 347, 37076, 26008, 41732, 13388, 1294, 4657, 944, 5646, 594, 6011, 4188, 3650, 74157, 39, 2633, 89914, 71713, 214, 78219, 23351, 134332, 939, 74257, 126597, 43240, 5351, 959, 4552, 12301, 2886, 18151, 25379, 16487, 100, 110342, 124850...
[ 0.2578125, 0.142822265625, 0.1749267578125, 0.1572265625, 0.1146240234375, 0.1700439453125, 0.1527099609375, 0.1083984375, 0.09619140625, 0.1597900390625, 0.03314208984375, 0.1810302734375, 0.139404296875, 0.04931640625, 0.108642578125, 0.117431640625, 0.04229736328125, 0.133911132...
embed
68609258_c0
68609258
fsharp
0
Title: is this a good use of Seq.cache, in F# Problem title: is this a good use of Seq.cache, in F# Tags: f%23 Problem: is this a good use of Seq.cache, in F# I'm going through a mutable ConcurrentDictionary to remove old entries. let private cache = ConcurrentDictionary<Instrument * DateTimeOffset, SmallSet>() and sin...
is this a good use of Seq.cache, in F# is this a good use of Seq.cache, in F# f%23 Seq.cache ConcurrentDictionary Instrument DateTimeOffset SmallSet DateTimeOffset.UtcNow.AddHours cache.Keys Seq.filter Seq.iter cache.TryRemove is this a good use of Seq.cache, in F# I'm going through a mutable ConcurrentDictionary to re...
[ 0.0084228515625, 0.0162353515625, 0.0140380859375, -0.004638671875, -0.0037078857421875, -0.0120849609375, -0.00156402587890625, 0.01422119140625, -0.001068115234375, -0.04052734375, -0.0172119140625, 0.042724609375, 0.01708984375, 0.004608154296875, 0.0091552734375, 0.00787353515625, ...
[ 83, 903, 4127, 4527, 503, 864, 5, 408, 1430, 563, 4904, 1238, 3742, 163812, 10763, 73750, 150369, 105508, 137594, 4028, 11193, 82365, 162429, 120337, 16840, 1294, 432, 272, 10, 842, 22819, 14055, 6635, 87388, 10332, 112820, 831, 67, 22799, ...
[ 0.0316162109375, 0.1156005859375, 0.1275634765625, 0.13720703125, 0.117919921875, 0.2421875, 0.05279541015625, 0.12451171875, 0.1927490234375, 0.0865478515625, 0.1531982421875, 0.027801513671875, 0.138916015625, 0.18701171875, 0.09710693359375, 0.1116943359375, 0.07861328125, 0.018...
embed
17777014_c1
17777014
fsharp
1
I still didn't manage to successfully run this. Moreover, using the author's application (in "Debugging the Shell Extension" section) I get an error that my assembly doesn't contain a COM server. I believe I'm doing something wrong with the signing the component. Could you help me in running this ? Code signals: Signi...
I still didn't manage to successfully run this. Moreover, using the author's application (in "Debugging the Shell Extension" section) I get an error that my assembly doesn't contain a COM server. I believe I'm doing something wrong with the signing the component. Could you help me in running this ? Code signals: Signi...
[ -0.01397705078125, 0.01458740234375, 0.013671875, 0.02197265625, -0.021240234375, 0.005889892578125, -0.009765625, -0.0211181640625, -0.000059604644775390625, -0.03369140625, -0.0157470703125, 0.0003204345703125, 0.0223388671875, 0.03173828125, 0.00677490234375, 0.00701904296875, 0.0...
[ 7464, 15935, 18, 111240, 65771, 11675, 903, 42179, 38415, 4657, 978, 108362, 224545, 18499, 759, 89845, 38526, 22027, 70541, 10, 31436, 10723, 18822, 44691, 1144, 592, 82761, 4358, 51042, 28864, 26073, 48838, 214, 151169, 200537, 12353, 17780, ...
[ 0.07171630859375, 0.0268402099609375, 0.09735107421875, 0.115478515625, 0.1304931640625, 0.113525390625, 0.1334228515625, 0.0313720703125, 0.0853271484375, 0.0333251953125, 0.11474609375, 0.174560546875, 0.17529296875, 0.130859375, 0.001739501953125, 0.1739501953125, 0.09661865234375...
embed
21555991_c0
21555991
fsharp
0
Title: Rises System.ObjectDisposedException when use keyword used with function result Problem title: Rises System.ObjectDisposedException when use keyword used with function result Tags: f%23 Problem: Rises System.ObjectDisposedException when use keyword used with function result hashAlgorithm returns SHA1 for example...
Rises System.ObjectDisposedException when use keyword used with function result Rises System.ObjectDisposedException when use keyword used with function result f%23 System.ObjectDisposedException Rises HashAlgorithm ConfigurationManager.AppSettings.Item CryptoConfig.CreateFromName hash.ComputeHash SHA1.Create Rises Sys...
[ -0.009033203125, 0.0198974609375, 0.01312255859375, -0.0031890869140625, -0.00872802734375, -0.01092529296875, 0.000522613525390625, 0.01416015625, 0.00323486328125, -0.037353515625, 0.00274658203125, 0.04248046875, 0.0198974609375, 0.022216796875, 0.0242919921875, -0.037841796875, 0...
[ 24116, 90, 12353, 46471, 75161, 44456, 144429, 19279, 63928, 4527, 166117, 11814, 678, 32354, 16750, 1238, 3949, 3742, 162087, 6504, 8962, 59994, 12662, 39179, 105548, 2982, 201543, 83671, 63784, 168407, 163612, 1556, 127, 6495, 92717, 418, 306...
[ 0.226806640625, 0.1875, 0.1651611328125, 0.13134765625, 0.212646484375, 0.1258544921875, 0.195556640625, 0.0751953125, 0.165283203125, 0.1021728515625, 0.287109375, 0.09912109375, 0.1226806640625, 0.1695556640625, 0.21826171875, 0.043365478515625, 0.008514404296875, 0.15625, 0.13...
embed
49699277_c1
49699277
fsharp
1
sprintf "Unable to locate a value between %s and %s" s1 s2) Now that I know about computation expressions, I suspect that the match statements can be hidden. I can clean it up slightly using the MaybeBuilder like so let myFunction2 (m:Map<string,Map<string,float>>) s1 s2 = let maybe = new MaybeBuilder() let try1 = mayb...
sprintf "Unable to locate a value between %s and %s" s1 s2) Now that I know about computation expressions, I suspect that the match statements can be hidden. I can clean it up slightly using the MaybeBuilder like so let myFunction2 (m:Map<string,Map<string,float>>) s1 s2 = let maybe = new MaybeBuilder() let try1 = mayb...
[ -0.0252685546875, 0.008544921875, 0.017333984375, -0.0146484375, 0.0037384033203125, 0.01373291015625, 0.0045166015625, -0.005523681640625, 0.0263671875, -0.0252685546875, -0.00433349609375, 0.034423828125, 0.00604248046875, -0.00176239013671875, 0.03662109375, 0.00775146484375, -0.0...
[ 145320, 420, 14256, 2886, 47, 64040, 67, 34292, 17721, 1745, 136, 91, 418, 10461, 3714, 181135, 1363, 125195, 92610, 14858, 63805, 7, 831, 186, 204105, 46622, 442, 1257, 161549, 17368, 83425, 121137, 56, 759, 97249, 10763, 304, 39, 166179, ...
[ 0.197265625, 0.176025390625, 0.05694580078125, 0.1697998046875, 0.01885986328125, 0.1956787109375, 0.106201171875, 0.149658203125, 0.1981201171875, 0.130126953125, 0.130615234375, 0.0714111328125, 0.0875244140625, 0.0863037109375, 0.038848876953125, 0.16357421875, 0.05322265625, 0....
embed
29884792_c0
29884792
fsharp
0
Title: Need to return seq&lt;R&gt; instead of seq&lt;seq&lt;R&gt;&gt;? Problem title: Need to return seq&lt;R&gt; instead of seq&lt;seq&lt;R&gt;&gt;? Tags: f%23 Problem: Need to return seq instead of seq >? The following function files returns seq<seq<R>> . How to make it return seq<R> instead? type R = { .... } let fi...
Need to return seq&lt;R&gt; instead of seq&lt;seq&lt;R&gt;&gt;? Need to return seq&lt;R&gt; instead of seq&lt;seq&lt;R&gt;&gt;? f%23 Need Seq.choose Helper.ParseRegex doc.LoadHtml Some doc.DucumentNode.SelectNodes Seq.map Omitted Expect None Month Payment Data Line Need to return seq instead of seq >? The following fun...
[ 0.000732421875, -0.003875732421875, -0.00836181640625, 0.0250244140625, -0.020263671875, -0.002685546875, -0.0135498046875, 0.012451171875, -0.006927490234375, 0.01019287109375, -0.00701904296875, 0.017822265625, -0.007476806640625, 0.0031280517578125, 0.021240234375, 0.025146484375, ...
[ 52889, 30646, 40, 864, 1277, 1052, 1230, 5386, 64457, 184, 3742, 503, 3089, 39527, 56, 28636, 54601, 3355, 51584, 7237, 47079, 5021, 100184, 62346, 2383, 217, 60075, 24762, 438, 12982, 17166, 674, 11809, 16777, 47, 25632, 32354, 102158, 112...
[ 0.1351318359375, 0.2303466796875, 0.1573486328125, 0.2188720703125, 0.00494384765625, 0.1160888671875, 0.022247314453125, 0.113525390625, 0.1507568359375, 0.1307373046875, 0.033294677734375, 0.1180419921875, 0.003509521484375, 0.15185546875, 0.0865478515625, 0.06109619140625, 0.04006...
embed
7003255_c0
7003255
fsharp
0
Title: Are F# lists persistent? Problem title: Are F# lists persistent? Tags: immutability, performance, persistent, f%23 Problem: Are F# lists persistent? I'm a C# developer new to F#,I understand that in .net the strings are immutable. In other words every time you modify a string you get a new string instance. For a...
Are F# lists persistent? Are F# lists persistent? immutability performance persistent f%23 Are F# lists persistent? I'm a C# developer new to F#,I understand that in .net the strings are immutable. In other words every time you modify a string you get a new string instance. For a non functional mind like mine the first...
[ 0.0034637451171875, 0.03271484375, 0.00121307373046875, 0.006561279296875, -0.000629425048828125, 0.00677490234375, 0.0172119140625, 0.00921630859375, -0.006500244140625, 0.022216796875, 0.03564453125, 0.0072021484375, 0.00927734375, 0.0030975341796875, -0.0123291015625, 0.018676757812...
[ 15901, 563, 4904, 5303, 7, 70560, 2517, 32, 566, 14311, 41159, 23718, 1238, 3742, 313, 106001, 3525, 28219, 23, 5, 1179, 79315, 621, 561, 22819, 11907, 1733, 2811, 40383, 2046, 110527, 351, 123309, 7086, 9655, 227066, 842, 36746, 959, 452...
[ 0.0706787109375, 0.177490234375, 0.244140625, 0.246337890625, 0.072509765625, 0.210693359375, 0.142822265625, 0.0292205810546875, 0.0709228515625, 0.1500244140625, 0.07769775390625, 0.16845703125, 0.10400390625, 0.0509033203125, 0.0543212890625, 0.068359375, 0.0703125, 0.0152587890...
embed
8091681_c0
8091681
fsharp
0
Title: Printfn value is not a function and cannot be applied in F#&#x27;s interactive window Problem title: Printfn value is not a function and cannot be applied in F#&#x27;s interactive window Tags: fsi, f%23, unit-type Problem: Printfn value is not a function and cannot be applied in F#'s interactive window This is p...
Printfn value is not a function and cannot be applied in F#&#x27;s interactive window Printfn value is not a function and cannot be applied in F#&#x27;s interactive window fsi f%23 unit-type Printfn Hello PathToMyFSFile Test.fs Test.printHello Printfn value is not a function and cannot be applied in F#'s interactive wi...
[ -0.00004124641418457031, 0.003997802734375, 0.0220947265625, 0.015625, -0.0189208984375, -0.000762939453125, 0.00543212890625, -0.017822265625, -0.0005950927734375, -0.0230712890625, -0.0089111328125, -0.01336669921875, -0.01177978515625, -0.014404296875, 0.02099609375, 0.0068359375, ...
[ 39754, 14783, 34292, 959, 10, 32354, 53418, 190659, 563, 4904, 3768, 212398, 76896, 23, 1238, 172, 3742, 25072, 50986, 35378, 108421, 7763, 31852, 36381, 174350, 8647, 17447, 35662, 841, 13817, 8781, 11435, 121413, 5423, 33938, 60875, 47, 723...
[ 0.22265625, 0.2457275390625, 0.194580078125, 0.139892578125, 0.050750732421875, 0.1876220703125, 0.1351318359375, 0.160400390625, 0.0936279296875, 0.1737060546875, 0.059967041015625, 0.1585693359375, 0.1300048828125, 0.01165771484375, 0.03143310546875, 0.056884765625, 0.0530395507812...
embed
60051250_c0
60051250
fsharp
0
Title: F#: Specifying a custom type in function declaration (complex number to pair) Problem title: F#: Specifying a custom type in function declaration (complex number to pair) Tags: f%23 Problem: F#: Specifying a custom type in function declaration (complex number to pair) I've specified a custom type which takes two...
F#: Specifying a custom type in function declaration (complex number to pair) F#: Specifying a custom type in function declaration (complex number to pair) f%23 Specifying F#: Specifying a custom type in function declaration (complex number to pair) I've specified a custom type which takes two floats and makes them a p...
[ 0.00506591796875, 0.0027008056640625, -0.01708984375, 0.003814697265625, 0.000926971435546875, 0.005950927734375, -0.01397705078125, -0.000789642333984375, 0.0145263671875, 0.0037994384765625, 0.0025634765625, -0.0177001953125, -0.01263427734375, -0.01611328125, 0.0184326171875, 0.0054...
[ 563, 4904, 24990, 151138, 114122, 10644, 32354, 21635, 277, 44974, 14012, 47, 80836, 12, 1238, 3949, 3742, 23, 58735, 51776, 6626, 21917, 9821, 30482, 27140, 3249, 10770, 111, 257, 167969, 26785, 3444, 28282, 3638, 37842, 4966, 16750, 661, ...
[ 0.0867919921875, 0.1695556640625, 0.154052734375, 0.076416015625, 0.2052001953125, 0.2235107421875, 0.1671142578125, 0.1343994140625, 0.09759521484375, 0.2423095703125, 0.14501953125, 0.08599853515625, 0.2037353515625, 0.00762939453125, 0.05078125, 0.01171875, 0.1231689453125, 0.00...
embed
13475295_c0
13475295
fsharp
0
Title: How can I see if a int exist in a list without any inbuilt functions? Problem title: How can I see if a int exist in a list without any inbuilt functions? Tags: f%23 Problem: How can I see if a int exist in a list without any inbuilt functions? First write a function called mem which, given an integer and a list...
How can I see if a int exist in a list without any inbuilt functions? How can I see if a int exist in a list without any inbuilt functions? f%23 How How can I see if a int exist in a list without any inbuilt functions? First write a function called mem which, given an integer and a list of integers, return true if the ...
[ -0.0101318359375, 0.00799560546875, 0.01287841796875, 0.01434326171875, -0.01287841796875, 0.00555419921875, 0.0128173828125, 0.0133056640625, -0.006622314453125, -0.02978515625, -0.0006561279296875, 0.0086669921875, 0.005645751953125, 0.0233154296875, 0.0128173828125, -0.0012512207031...
[ 11249, 831, 87, 1957, 2174, 23, 18, 32316, 5303, 15490, 2499, 978, 24908, 32354, 10, 1238, 3742, 33022, 7199, 34475, 892, 1505, 26255, 30646, 29568, 74918, 19713, 24145, 98320, 120262, 151313, 6626, 10750, 69941, 1940, 7, 58994, 5423, 4527,...
[ 0.0726318359375, 0.1163330078125, 0.042388916015625, 0.203125, 0.1527099609375, 0.1734619140625, 0.1966552734375, 0.2427978515625, 0.235107421875, 0.18310546875, 0.0994873046875, 0.0985107421875, 0.07623291015625, 0.169189453125, 0.0328369140625, 0.0180511474609375, 0.08563232421875,...
embed
31091556_c0
31091556
fsharp
0
Title: f# calc variance function Problem title: f# calc variance function Tags: finance, f%23 Problem: f# calc variance function I am working through an F# function that calculates variance. I'm trying to step through each iteration to get the correct answer but think im getitng off track somewhere because I keep getti...
f# calc variance function f# calc variance function finance f%23 Seq.average Seq.length Seq.map Seq.sum f# calc variance function I am working through an F# function that calculates variance. I'm trying to step through each iteration to get the correct answer but think im getitng off track somewhere because I keep gett...
[ 0.027587890625, -0.00384521484375, -0.0186767578125, -0.002105712890625, -0.0023651123046875, -0.011474609375, 0.00958251953125, 0.00083160400390625, 0.0019683837890625, -0.006011962890625, 0.00994873046875, -0.006439208984375, 0.00096893310546875, 0.0257568359375, 0.02685546875, 0.015...
[ 1238, 4904, 6510, 238, 16757, 3956, 32354, 82466, 3949, 3742, 503, 864, 8216, 29838, 23986, 62346, 11832, 20697, 8305, 563, 74481, 31577, 29954, 720, 2320, 26785, 35166, 5351, 566, 449, 5773, 28560, 13695, 44691, 35691, 1632, 17, 903, 4420,...
[ 0.1436767578125, 0.2005615234375, 0.164794921875, 0.10760498046875, 0.296875, 0.18701171875, 0.194091796875, 0.234375, 0.07049560546875, 0.1763916015625, 0.050262451171875, 0.1298828125, 0.1534423828125, 0.106689453125, 0.05987548828125, 0.1285400390625, 0.1727294921875, 0.06182861...
embed
62719601_c0
62719601
fsharp
0
Title: Getting all indices of elements matching criteria in F# Problem title: Getting all indices of elements matching criteria in F# Tags: f%23, collections Problem: Getting all indices of elements matching criteria in F# Let's make a list: let l = [ 1; 2; 3; 4; 5 ] how do I get a list of indices for elements matching...
Getting all indices of elements matching criteria in F# Getting all indices of elements matching criteria in F# f%23 collections Getting List.FindIndex Getting all indices of elements matching criteria in F# Let's make a list: how do I get a list of indices for elements matching a predicate? I can do: but it will retur...
[ -0.01031494140625, 0.0030364990234375, 0.00714111328125, -0.0216064453125, -0.0089111328125, 0.0008392333984375, 0.009033203125, 0.0079345703125, 0.017578125, -0.0155029296875, 0.006195068359375, -0.002166748046875, -0.01483154296875, 0.00726318359375, 0.0257568359375, -0.0061950683593...
[ 210732, 756, 136044, 7, 111, 80854, 14858, 214, 55738, 11, 563, 4904, 1238, 3742, 42486, 32036, 204582, 4153, 39659, 3249, 5303, 3642, 2046, 10, 100, 1653, 2063, 67, 30646, 163, 11001, 63262, 7225, 16487, 32354, 106, 74, 116, 138, 27781, ...
[ 0.1102294921875, 0.131103515625, 0.260986328125, 0.1080322265625, 0.00555419921875, 0.1837158203125, 0.2017822265625, 0.1162109375, 0.147705078125, 0.06597900390625, 0.12548828125, 0.19287109375, 0.029815673828125, 0.10162353515625, 0.1923828125, 0.158447265625, 0.1038818359375, 0....
embed
47564041_c0
47564041
fsharp
0
Title: How to setup fable-elmish-react native app? Problem title: How to setup fable-elmish-react native app? Tags: elmish, f%23, android, react-native, fable-f%23 Problem: How to setup fable-elmish-react native app? I'm able to setup Elmish-React by following https://github.com/fable-elmish/react dotnet new -i "Fable....
How to setup fable-elmish-react native app? How to setup fable-elmish-react native app? elmish f%23 android react-native fable-f%23 How Fable.Template.Elmish.React MyProject AwesomeProject How to setup fable-elmish-react native app? I'm able to setup Elmish-React by following https://github.com/fable-elmish/react but I...
[ -0.009033203125, 0.004486083984375, -0.007598876953125, 0.003204345703125, -0.0233154296875, 0.029296875, 0.01251220703125, -0.0006256103515625, 0.026123046875, -0.02294921875, -0.004547119140625, -0.021728515625, 0.018310546875, 0.0250244140625, 0.0185546875, -0.0074462890625, -0.01...
[ 11249, 47, 169581, 1071, 2661, 583, 78192, 107, 47013, 24, 4935, 4027, 32, 9, 88, 1238, 3742, 54527, 131300, 76, 420, 563, 2886, 159065, 19309, 7623, 4332, 2646, 223353, 227865, 19048, 540, 25632, 15769, 32102, 2046, 183234, 8781, 105416, ...
[ 0.099365234375, 0.065185546875, 0.2412109375, 0.1282958984375, 0.1658935546875, 0.159423828125, 0.268310546875, 0.129638671875, 0.2529296875, 0.1412353515625, 0.1846923828125, 0.2166748046875, 0.0111083984375, 0.053558349609375, 0.14697265625, 0.0611572265625, 0.039764404296875, 0....
embed
18619000_c0
18619000
fsharp
0
Title: What do &quot;schema&quot; and &quot;meta symbol&quot; mean in F# expressions? Problem title: What do &quot;schema&quot; and &quot;meta symbol&quot; mean in F# expressions? Tags: f%23 Problem: What do "schema" and "meta symbol" mean in F# expressions? I'm working through a textbook on F# and after introducing th...
What do &quot;schema&quot; and &quot;meta symbol&quot; mean in F# expressions? What do &quot;schema&quot; and &quot;meta symbol&quot; mean in F# expressions? f%23 What n-1 What do "schema" and "meta symbol" mean in F# expressions? I'm working through a textbook on F# and after introducing the factorial function the aut...
[ 0.01092529296875, 0.0026397705078125, 0.0022735595703125, 0.0087890625, -0.01361083984375, 0.0047607421875, 0.00058746337890625, 0.01422119140625, 0.002685546875, -0.001129150390625, 0.0067138671875, -0.0146484375, 0.00020503997802734375, -0.0062255859375, 0.0027008056640625, 0.0057678...
[ 4865, 41502, 7560, 192, 136, 35273, 26582, 29459, 563, 4904, 125195, 1238, 3742, 653, 5759, 23, 14137, 31461, 15403, 32354, 219836, 70541, 214, 15824, 13648, 959, 121011, 15190, 57616, 48345, 645, 10336, 17723, 43240, 195625, 46876, 1957, 149...
[ 0.04034423828125, 0.0156097412109375, 0.2188720703125, 0.2069091796875, 0.1114501953125, 0.2484130859375, 0.231689453125, 0.1407470703125, 0.130615234375, 0.2166748046875, 0.23046875, 0.0772705078125, 0.0823974609375, 0.02252197265625, 0.1328125, 0.017425537109375, 0.0279388427734375...
embed
44093220_c0
44093220
fsharp
0
Title: Parenthesized pattern within a cons pattern Problem title: Parenthesized pattern within a cons pattern Tags: f%23, .net, pattern-matching Problem: Parenthesized pattern within a cons pattern From the Microsoft guide of Pattern Matching , there is an example of Parenthesized Pattern: Parentheses can be grouped ar...
Parenthesized pattern within a cons pattern Parenthesized pattern within a cons pattern f%23 .net pattern-matching Parenthesized elem1 Parenthesized pattern within a cons pattern From the Microsoft guide of Pattern Matching , there is an example of Parenthesized Pattern: How does the (elem1 & head) :: tail when elem1 =...
[ 0.00007581710815429688, 0.01263427734375, -0.01470947265625, 0.0155029296875, 0.00144195556640625, 0.0042724609375, -0.015380859375, 0.00164031982421875, 0.01251220703125, -0.026123046875, 0.029296875, -0.0004425048828125, 0.0179443359375, 0.0089111328125, 0.007415771484375, -0.0098876...
[ 170918, 35412, 29367, 103510, 28032, 158, 7, 1238, 3949, 3742, 1179, 98753, 88, 195, 418, 70, 7244, 17997, 9876, 22766, 67407, 214, 27781, 11249, 14602, 27889, 619, 10336, 1984, 46741, 3229, 2203, 34292, 4488, 903, 5701 ]
[ 0.1495361328125, 0.1380615234375, 0.107666015625, 0.222412109375, 0.1180419921875, 0.1634521484375, 0.0865478515625, 0.03436279296875, 0.00555419921875, 0.05572509765625, 0.122802734375, 0.1484375, 0.04278564453125, 0.149169921875, 0.1016845703125, 0.0142059326171875, 0.107177734375,...
embed
11004179_c0
11004179
fsharp
0
Title: Discriminated union structural/custom equality Problem title: Discriminated union structural/custom equality Tags: f%23, discriminated-union Problem: Discriminated union structural/custom equality I have the following discriminated union: type ActCard = Cellar of card list | Chapel of (card option * card option*...
Discriminated union structural/custom equality Discriminated union structural/custom equality f%23 discriminated-union Discriminated ActCard Cellar Chapel Smithy Spy x.Equals cards2 Discriminated union structural/custom equality I have the following discriminated union: It had structural equality until I added the card...
[ -0.0004711151123046875, 0.0260009765625, 0.01007080078125, 0.01324462890625, -0.00592041015625, -0.0196533203125, 0.003692626953125, 0.001068115234375, 0.01025390625, -0.00159454345703125, -0.00022602081298828125, 0.029052734375, 0.00830078125, 0.006378173828125, -0.0036773681640625, -...
[ 6206, 135421, 3674, 69941, 118990, 11680, 5928, 28, 161789, 3742, 55970, 87046, 25515, 156119, 10077, 320, 213912, 37700, 53, 103197, 71723, 126381, 25632, 1902, 49814, 20596, 142484, 47, 98893, 114122, 115923, 2965, 29479, 12601, 959, 189085, ...
[ 0.0189056396484375, 0.18115234375, 0.0721435546875, 0.20263671875, 0.1824951171875, 0.05804443359375, 0.134033203125, 0.0863037109375, 0.2249755859375, 0.05828857421875, 0.21044921875, 0.1077880859375, 0.0985107421875, 0.18408203125, 0.07513427734375, 0.053680419921875, 0.1201171875,...
embed
46537558_c1
46537558
fsharp
1
= new System.Collections.Concurrent.ConcurrentBag<Record>() let search comparison = let matchingRecords = dummyStore |> Seq.where (comparison) if matchingRecords |> Seq.isEmpty then EmptyFailedRequest else Record (matchingRecords |> Seq.head) let initialize initialData = initialData |> Seq.iter (dummyStore.Add) let ad...
= new System.Collections.Concurrent.ConcurrentBag<Record>() let search comparison = let matchingRecords = dummyStore |> Seq.where (comparison) if matchingRecords |> Seq.isEmpty then EmptyFailedRequest else Record (matchingRecords |> Seq.head) let initialize initialData = initialData |> Seq.iter (dummyStore.Add) let ad...
[ -0.005279541015625, 0.023193359375, -0.0030670166015625, 0.0274658203125, 0.00921630859375, 0.020263671875, 0.0150146484375, 0.000021338462829589844, 0.021728515625, 0.00015163421630859375, 0.000667572021484375, 0.030029296875, 0.0098876953125, -0.009521484375, 0.006195068359375, 0.003...
[ 2203, 3525, 12353, 78457, 8996, 5256, 11935, 163812, 192996, 32271, 2633, 33938, 225490, 14858, 214, 8473, 1176, 165248, 503, 864, 136913, 24980, 134332, 939, 31678, 17647, 14, 6259, 4332, 75616, 54877, 98753, 31251, 61475, 137989, 5, 16840, ...
[ 0.032440185546875, 0.08441162109375, 0.12646484375, 0.07977294921875, 0.156982421875, 0.053863525390625, 0.02789306640625, 0.1968994140625, 0.194091796875, 0.2288818359375, 0.040252685546875, 0.169189453125, 0.2135009765625, 0.13623046875, 0.006134033203125, 0.15966796875, 0.12414550...
embed
51640498_c1
51640498
fsharp
1
new function from old functions. I suspect option 3 to be truly equivalent to 1 (in the sense that the >> operator is defined so that square >> negate >> print is actually computed as print (negate (square x)) but the code benefits in readability since you see the function names in the order they happen instead of rev...
new function from old functions. I suspect option 3 to be truly equivalent to 1 (in the sense that the >> operator is defined so that square >> negate >> print is actually computed as print (negate (square x)) but the code benefits in readability since you see the function names in the order they happen instead of rev...
[ -0.00860595703125, 0.0128173828125, 0.004302978515625, 0.020751953125, 0.00860595703125, 0.004852294921875, -0.017822265625, -0.001983642578125, 0.01611328125, -0.01470947265625, -0.0167236328125, -0.0047607421875, 0.0294189453125, 0.00494384765625, -0.0002918243408203125, -0.008789062...
[ 3525, 32354, 1295, 10332, 92610, 35829, 138, 87607, 183234, 47, 106, 6396, 39933, 61924, 108047, 90584, 13, 28412, 20653, 375, 7077, 237, 3331, 67, 1022, 18151, 72382, 12301, 41159, 1957, 123055, 12989, 53383, 64457, 39531, 184, 140363, 110, ...
[ 0.16552734375, 0.214111328125, 0.117919921875, 0.095458984375, 0.08935546875, 0.172607421875, 0.1285400390625, 0.0931396484375, 0.1380615234375, 0.0171051025390625, 0.066162109375, 0.06329345703125, 0.2376708984375, 0.151123046875, 0.137939453125, 0.20556640625, 0.10528564453125, 0...
embed
5231145_c0
5231145
fsharp
0
Title: Extending the Indexer for an existing class Problem title: Extending the Indexer for an existing class Tags: f%23 Problem: Extending the Indexer for an existing class Suppose I have type A with indexer implemented, e.g. type A is a library. Now I want to extend the indexer of it, e.g. here I want to add float nu...
Extending the Indexer for an existing class Extending the Indexer for an existing class f%23 Extending Indexer a:int this.Item m.Item x:float Script1.fsx FS0001 Extending the Indexer for an existing class Suppose I have type A with indexer implemented, e.g. type A is a library. Now I want to extend the indexer of it, e...
[ -0.006256103515625, 0.019775390625, 0.01544189453125, 0.0084228515625, 0.021484375, -0.031982421875, 0.002960205078125, -0.00677490234375, 0.00186920166015625, -0.0311279296875, 0.007659912109375, 0.0164794921875, 0.01214599609375, 0.004852294921875, 0.01483154296875, -0.022705078125, ...
[ 5443, 67, 33770, 31471, 56, 100, 144573, 18507, 70, 1238, 3742, 10, 4288, 903, 2982, 347, 1022, 52347, 257, 84654, 17447, 425, 93774, 188735, 10644, 62, 678, 63262, 29479, 83, 35773, 3444, 65042, 111, 3688, 15190, 21917, 14012, 3934, 2563...
[ 0.118408203125, 0.15625, 0.0716552734375, 0.24853515625, 0.2034912109375, 0.07373046875, 0.2213134765625, 0.174072265625, 0.03277587890625, 0.0675048828125, 0.102783203125, 0.0682373046875, 0.1075439453125, 0.1138916015625, 0.11328125, 0.04730224609375, 0.005950927734375, 0.1284179...
embed
16827951_c0
16827951
fsharp
0
Title: Mergesort Getting an Error in F# Problem title: Mergesort Getting an Error in F# Tags: mergesort, f%23-scripting, f%23 Problem: Mergesort Getting an Error in F# let rec merge = function | ([], ys) -> ys | (xs, []) -> xs | (x::xs, y::ys) -> if x < y then x :: merge (xs, y::ys) else y :: merge (x::xs, ys) let rec ...
Mergesort Getting an Error in F# Mergesort Getting an Error in F# mergesort f%23-scripting f%23 Mergesort Getting Error x::xs y::ys a::b::cs a::M b::N Will FS0030 Value Mergesort Getting an Error in F# I took this code from here StackOverflow Question but when I run the mergesort with a list I get an error: How would I...
[ -0.00396728515625, 0.0223388671875, 0.02294921875, -0.0179443359375, 0.01300048828125, -0.006744384765625, -0.01031494140625, -0.0076904296875, 0.00775146484375, -0.007476806640625, -0.000583648681640625, 0.0172119140625, 0.02880859375, 0.000255584716796875, 0.01190185546875, -0.009887...
[ 6035, 429, 62351, 210732, 212059, 23, 563, 4904, 42564, 1238, 27495, 32032, 3742, 1022, 425, 113, 4778, 4439, 594, 20255, 93774, 7049, 1197, 190060, 18151, 11675, 678, 5303, 2046, 18499, 30022, 2967 ]
[ 0.1864013671875, 0.1536865234375, 0.27490234375, 0.0416259765625, 0.1884765625, 0.0277252197265625, 0.1317138671875, 0.2012939453125, 0.2291259765625, 0.0799560546875, 0.060394287109375, 0.07574462890625, 0.089111328125, 0.0190582275390625, 0.0369873046875, 0.0245513916015625, 0.0543...
embed
18752493_c0
18752493
fsharp
0
Title: f# type provider using simple groupby and count Problem title: f# type provider using simple groupby and count Tags: f%23-3.0, f%23, type-providers Problem: f# type provider using simple groupby and count why is this not compiling open System open System.Data open System.Data.Linq open System.Linq open Microsoft...
f# type provider using simple groupby and count f# type provider using simple groupby and count f%23-3.0 f%23 type-providers simple System System.Data System.Data.Linq System.Linq Microsoft.FSharp.Data.TypeProviders Microsoft.FSharp.Linq Microsoft.FSharp.Linq.RuntimeHelpers SqlDataConnection Data Source Initial Catalog...
[ 0.038330078125, 0.00665283203125, -0.00787353515625, 0.0152587890625, -0.0107421875, 0.00092315673828125, 0.0167236328125, -0.00860595703125, 0.0106201171875, -0.04345703125, -0.025146484375, -0.0260009765625, 0.015869140625, 0.0111083984375, -0.00830078125, 0.007781982421875, -0.016...
[ 1238, 4904, 10644, 81450, 17368, 8781, 21115, 1272, 136, 54529, 27495, 132265, 3742, 93136, 14202, 12353, 137989, 44982, 7244, 36381, 3467, 254, 196707, 177997, 14, 60785, 99247, 235603, 77641, 150917, 2646, 37382, 48748, 15185, 22829, 2886, 15...
[ 0.1329345703125, 0.1800537109375, 0.1922607421875, 0.2237548828125, 0.0302581787109375, 0.162109375, 0.152099609375, 0.20751953125, 0.01788330078125, 0.16162109375, 0.0333251953125, 0.1243896484375, 0.0843505859375, 0.161376953125, 0.0382080078125, 0.047119140625, 0.030303955078125, ...
embed
4318926_c0
4318926
fsharp
0
Title: F# - how do I index a collection (specifically the PropertyCollection) Problem title: F# - how do I index a collection (specifically the PropertyCollection) Tags: active-directory, f%23 Problem: F# - how do I index a collection (specifically the PropertyCollection) I'm trying to wrap my mind around F# so I thoug...
F# - how do I index a collection (specifically the PropertyCollection) F# - how do I index a collection (specifically the PropertyCollection) active-directory f%23 PropertyCollection entry.Properties Value F# - how do I index a collection (specifically the PropertyCollection) I'm trying to wrap my mind around F# so I t...
[ 0.004364013671875, 0.00860595703125, 0.017333984375, 0.0052490234375, -0.0220947265625, -0.004730224609375, -0.01123046875, -0.0177001953125, -0.01275634765625, -0.0235595703125, 0.00787353515625, 0.033935546875, -0.01708984375, 0.013916015625, 0.013427734375, -0.006988525390625, -0....
[ 563, 4904, 3642, 87, 63262, 42486, 206984, 78457, 133, 10763, 54, 10, 36457, 80581, 30675, 1238, 3742, 42805, 10752, 1264, 2449, 190060, 159975, 7477, 96760, 8781, 18151, 33342, 38937, 1257, 88441, 31068, 184911, 121979, 210716, 30646, 7768, ...
[ 0.1417236328125, 0.2305908203125, 0.0843505859375, 0.07421875, 0.25439453125, 0.261474609375, 0.231689453125, 0.1024169921875, 0.1270751953125, 0.112060546875, 0.032012939453125, 0.05731201171875, 0.1295166015625, 0.0841064453125, 0.06005859375, 0.0740966796875, 0.0943603515625, 0....
embed
44989842_c0
44989842
fsharp
0
Title: No connection could be made because the target machine actively refused it 127.0.0.1:10000 Problem title: No connection could be made because the target machine actively refused it 127.0.0.1:10000 Tags: windows-firewall, f%23, iis, sql Problem: No connection could be made because the target machine actively refu...
No connection could be made because the target machine actively refused it 127.0.0.1:10000 No connection could be made because the target machine actively refused it 127.0.0.1:10000 windows-firewall f%23 iis sql No connection could be made because the target machine actively refused it 127.0.0.1:10000 So I've been gett...
[ 0.00165557861328125, 0.01104736328125, -0.0274658203125, -0.008544921875, 0.001953125, 0.0023040771484375, -0.018310546875, -0.020751953125, 0.005615234375, -0.02783203125, 0.019287109375, -0.009033203125, -0.0031280517578125, 0.016845703125, 0.005767822265625, -0.01361083984375, 0.0...
[ 438, 94878, 5809, 7228, 6637, 30388, 36279, 36457, 128120, 71, 427, 129884, 102014, 191281, 54825, 73702, 66769, 1238, 3949, 3742, 17, 164, 99247, 903, 18499, 11675, 1528, 563, 4904, 1467, 4027, 26367, 959, 86983, 221521, 11469, 142096, 7464,...
[ 0.1220703125, 0.2271728515625, 0.1318359375, 0.1051025390625, 0.0574951171875, 0.234619140625, 0.1361083984375, 0.1422119140625, 0.1982421875, 0.04913330078125, 0.12890625, 0.17431640625, 0.1405029296875, 0.2462158203125, 0.0660400390625, 0.049072265625, 0.139404296875, 0.036621093...
embed
40349835_c0
40349835
fsharp
0
Title: F# access Array ith element function Error Problem title: F# access Array ith element function Error Tags: f%23, element, arrays Problem: F# access Array ith element function Error I have several times used the expression anArray.[i] to access an element from an array. but all the sudden when i try to make a ver...
F# access Array ith element function Error F# access Array ith element function Error f%23 element arrays Array Error F# access Array ith element function Error I have several times used the expression anArray.[i] to access an element from an array. but all the sudden when i try to make a very very simple function then...
[ -0.01171875, -0.00860595703125, 0.00909423828125, -0.00113677978515625, 0.00201416015625, -0.01361083984375, 0.00086212158203125, 0.01544189453125, -0.00592041015625, -0.047119140625, 0.01214599609375, -0.00701904296875, -0.01434326171875, -0.0101318359375, 0.006500244140625, -0.028564...
[ 563, 4904, 17203, 69253, 53, 8962, 12830, 32354, 212059, 1238, 3949, 3742, 10298, 4778, 765, 40368, 20028, 11814, 125195, 142, 7614, 7092, 5, 14, 1295, 756, 70, 8932, 555, 3229, 9790, 4552, 8781, 7068, 18499, 3871, 3249, 30646, 111, 17569...
[ 0.1234130859375, 0.2021484375, 0.1903076171875, 0.1651611328125, 0.0997314453125, 0.2496337890625, 0.196533203125, 0.176025390625, 0.2098388671875, 0.123291015625, 0.07049560546875, 0.19384765625, 0.135009765625, 0.077880859375, 0.061737060546875, 0.0909423828125, 0.099853515625, 0...
embed
24114748_c0
24114748
fsharp
0
Title: F#: Trying to support passing a function in a constructor in both F# and C# idioms Problem title: F#: Trying to support passing a function in a constructor in both F# and C# idioms Tags: f%23, overloading, constructor, c%23 Problem: F#: Trying to support passing a function in a constructor in both F# and C# idio...
F#: Trying to support passing a function in a constructor in both F# and C# idioms F#: Trying to support passing a function in a constructor in both F# and C# idioms f%23 overloading constructor c%23 Trying System MyType this.MyResult Func myFn.Invoke Candidates myFn:Func F#: Trying to support passing a function in a c...
[ 0.01287841796875, 0.0185546875, 0.0074462890625, -0.003021240234375, 0.0015106201171875, -0.0125732421875, 0.004302978515625, -0.006561279296875, 0.0018157958984375, -0.024658203125, 0.01458740234375, -0.00323486328125, -0.0096435546875, 0.00543212890625, -0.00098419189453125, -0.00174...
[ 563, 4904, 40858, 8060, 452, 32354, 64549, 748, 136, 13373, 28016, 1238, 3742, 645, 63033, 12353, 2646, 196707, 903, 31852, 7, 7136, 28670, 759, 919, 19, 23253, 194215, 97249, 10644, 18499, 36998, 55300, 5809, 959, 83324, 35509, 4677, 41928...
[ 0.0906982421875, 0.1793212890625, 0.043914794921875, 0.1593017578125, 0.06451416015625, 0.1328125, 0.1474609375, 0.09423828125, 0.053131103515625, 0.1021728515625, 0.0261993408203125, 0.034912109375, 0.068115234375, 0.130126953125, 0.2091064453125, 0.0775146484375, 0.1279296875, 0....
embed
28740929_c0
28740929
fsharp
0
Title: F# append to list in a loop functiuonally Problem title: F# append to list in a loop functiuonally Tags: f%23, list Problem: F# append to list in a loop functiuonally I am looking to convert this code to use F# list instead of the C# list implementation. I am connecting to a database and running a query usually ...
F# append to list in a loop functiuonally F# append to list in a loop functiuonally f%23 list NpgsqlConnection List NpgsqlCommand command.ExecuteReader dataReader.Read dataReader.GetString transactions.Add F# append to list in a loop functiuonally I am looking to convert this code to use F# list instead of the C# list ...
[ 0.015625, 0.0103759765625, 0.00689697265625, 0.0029296875, 0.00750732421875, -0.00433349609375, -0.006561279296875, 0.0147705078125, 0.0010833740234375, -0.042236328125, 0.03173828125, -0.008056640625, -0.00799560546875, -0.0142822265625, -0.00982666015625, 0.0093994140625, -0.000396...
[ 563, 4904, 114689, 71, 47, 5303, 23, 40956, 7477, 23835, 1238, 3949, 3742, 254, 9405, 99247, 235603, 32036, 10770, 12018, 75101, 211603, 31345, 56, 2053, 5, 71713, 124161, 4028, 16487, 96760, 18151, 4527, 64457, 208124, 37067, 63399, 51042, ...
[ 0.17919921875, 0.23681640625, 0.184326171875, 0.1337890625, 0.1295166015625, 0.2115478515625, 0.059326171875, 0.2086181640625, 0.07379150390625, 0.03704833984375, 0.11572265625, 0.02960205078125, 0.1552734375, 0.00579833984375, 0.04339599609375, 0.1383056640625, 0.052734375, 0.1064...
embed
39637626_c1
39637626
fsharp
1
. I'd like to create a function extractInterested taking a register and an arrangement as arguments. Anyone? EDIT: I've tried something along the lines of let extractInterested f (person : Register list, arr : Arrangement list) = if BirthYear > Year then (person |> List.map (fun x -> (x, List.tryFind (f x) arr)) |> Lis...
. I'd like to create a function extractInterested taking a register and an arrangement as arguments. Anyone? EDIT: I've tried something along the lines of let extractInterested f (person : Register list, arr : Arrangement list) = if BirthYear > Year then (person |> List.map (fun x -> (x, List.tryFind (f x) arr)) |> Lis...
[ -0.0004558563232421875, -0.0196533203125, 0.03369140625, 0.0194091796875, -0.01165771484375, -0.004425048828125, -0.0057373046875, 0.0147705078125, 0.0189208984375, 0.02001953125, -0.01287841796875, 0.003448486328125, -0.018310546875, -0.007781982421875, 0.00384521484375, -0.0161132812...
[ 1884, 28282, 32354, 125663, 44851, 525, 297, 35971, 68067, 136, 70767, 237, 10750, 3630, 37842, 124519, 2633, 1238, 30816, 131423, 5303, 42, 1172, 5445, 2174, 2992, 927, 69085, 147, 42552, 32036, 62346, 16498, 15123, 204582, 1022, 16840, 1371...
[ 0.0423583984375, 0.1405029296875, 0.199462890625, 0.265380859375, 0.1624755859375, 0.188232421875, 0.1485595703125, 0.0615234375, 0.2496337890625, 0.035552978515625, 0.26904296875, 0.0263824462890625, 0.2479248046875, 0.0161590576171875, 0.07159423828125, 0.007110595703125, 0.1008300...
embed
39962034_c0
39962034
fsharp
0
Title: Plotting data of deedle data frame with Xplot plotly Problem title: Plotting data of deedle data frame with Xplot plotly Tags: f%23, deedle, plotly Problem: Plotting data of deedle data frame with Xplot plotly I have a Deedle data frame with DateTime values as key and two columns with data. Now I want to plot th...
Plotting data of deedle data frame with Xplot plotly Plotting data of deedle data frame with Xplot plotly f%23 deedle plotly Plotting Xplot XPlot.Plotly.Graph XPlot.Plotly XPlot.Plotly.HTML Scatter dataFrame.ColumnKeys dataFrame.GetColumn col1 Chart.Plot Chart.Show Plotting data of deedle data frame with Xplot plotly I...
[ 0.0111083984375, 0.006744384765625, 0.01287841796875, 0.00634765625, -0.0242919921875, 0.0186767578125, 0.0181884765625, -0.0181884765625, 0.0034637451171875, 0.007598876953125, -0.01361083984375, 0.03173828125, -0.010009765625, -0.00823974609375, 0.00408935546875, 0.02783203125, 0.0...
[ 168763, 1916, 2053, 8, 297, 133, 123789, 678, 1193, 105710, 23577, 538, 1238, 3949, 3742, 12631, 127068, 81543, 3055, 108386, 316, 162429, 3365, 418, 110373, 168660, 262, 70059, 142424, 22799, 6626, 106, 116287, 93774, 97381, 45005, 615, 9710...
[ 0.2100830078125, 0.0128173828125, 0.1434326171875, 0.0849609375, 0.122314453125, 0.1297607421875, 0.1285400390625, 0.00860595703125, 0.08758544921875, 0.2420654296875, 0.18701171875, 0.1905517578125, 0.02117919921875, 0.0423583984375, 0.125244140625, 0.1998291015625, 0.05172729492187...
embed
41193857_c0
41193857
fsharp
0
Title: LINQ equivalent of f#&#x27;s builder.Zero()? Problem title: LINQ equivalent of f#&#x27;s builder.Zero()? Tags: monoids, c%23, f%23 Problem: LINQ equivalent of f#'s builder.Zero()? So, I've become quite addicted to f#'s computation expressions and custom builders. I have to use c# for most of my daily work but st...
LINQ equivalent of f#&#x27;s builder.Zero()? LINQ equivalent of f#&#x27;s builder.Zero()? monoids c%23 f%23 c# LINQ builder.Zero Zero OptionBuilder x.Bind Option.bind x.Return Some x.ReturnFrom x.Zero Option.None Example Option LINQ equivalent of f#'s builder.Zero()? So, I've become quite addicted to f#'s computation e...
[ -0.0172119140625, 0.007537841796875, 0.01507568359375, -0.0030670166015625, -0.01019287109375, 0.005462646484375, 0.02294921875, -0.0089111328125, -0.006561279296875, -0.015869140625, -0.00811767578125, 0.0145263671875, 0.00262451171875, -0.0120849609375, 0.016357421875, 0.001487731933...
[ 46610, 2737, 183234, 111, 1238, 4904, 3768, 45367, 56, 1511, 4036, 22460, 30185, 3742, 83947, 86769, 121137, 7250, 89817, 1022, 987, 31384, 168407, 5021, 89536, 181050, 181135, 125195, 114122, 1314, 4527, 2684, 31815, 4488, 7464, 3444, 678, 1...
[ 0.216796875, 0.26611328125, 0.19482421875, 0.040679931640625, 0.0760498046875, 0.1549072265625, 0.027374267578125, 0.177978515625, 0.1749267578125, 0.1319580078125, 0.2032470703125, 0.1297607421875, 0.153564453125, 0.013580322265625, 0.220458984375, 0.220947265625, 0.156982421875, ...
embed
63759105_c0
63759105
fsharp
0
Title: F# how to upcast a generic Problem title: F# how to upcast a generic Tags: f%23 Problem: F# how to upcast a generic I cannot make an upcast of a generic with a valid sub type type IRequest = abstract build: string -> unit type ReqA = interface IRequest with member this.build _ = () type Request<'a when 'a :> IRe...
F# how to upcast a generic F# how to upcast a generic f%23 IRequest ReqA this.build Request Req Type fn2 x.Req F# how to upcast a generic I cannot make an upcast of a generic with a valid sub type Event though Request<ReqA> is a valid specialization of Request<IRequest> I can't cast it using :> , what's the right way t...
[ -0.0216064453125, 0.03515625, 0.03564453125, -0.0228271484375, 0.00872802734375, 0.00029754638671875, -0.0133056640625, 0.00144195556640625, 0.01177978515625, -0.00179290771484375, -0.0012969970703125, -0.0069580078125, 0.002716064453125, 0.0186767578125, -0.003265380859375, -0.0292968...
[ 563, 4904, 3642, 47, 1257, 55741, 10, 189534, 1238, 3742, 32863, 13, 75616, 853, 864, 284, 903, 177149, 60457, 14783, 304, 1022, 4332, 53418, 3249, 111, 35604, 1614, 10644, 36943, 5361, 47691, 14688, 831, 18, 37702, 442, 17368, 152, 2740,...
[ 0.1102294921875, 0.1851806640625, 0.052886962890625, 0.068115234375, 0.149658203125, 0.2313232421875, 0.06915283203125, 0.24951171875, 0.06494140625, 0.08843994140625, 0.023223876953125, 0.06719970703125, 0.143798828125, 0.06488037109375, 0.107666015625, 0.1153564453125, 0.0194854736...
embed
21188452_c1
21188452
fsharp
1
14 before.. val cancellationSource : CancellationTokenSource > So it seems like the check is actually in the for-loop! I.e. it keeps running until the for loop after being cancelled. Is this how it works? What then if I'd rather want it to check after the sleep? This question seems to hint at cancellation working like ...
14 before.. val cancellationSource : CancellationTokenSource > So it seems like the check is actually in the for-loop! I.e. it keeps running until the for loop after being cancelled. Is this how it works? What then if I'd rather want it to check after the sleep? This question seems to hint at cancellation working like ...
[ 0.0115966796875, 0.016845703125, 0.01141357421875, 0.0008544921875, -0.00115203857421875, -0.0084228515625, 0.028076171875, 0.0228271484375, 0.0157470703125, 0.00970458984375, 0.00634765625, 0.028564453125, -0.0028533935546875, -0.0084228515625, 0.01611328125, -0.00958251953125, 0.01...
[ 616, 8108, 5, 3502, 126136, 1363, 211235, 80392, 57860, 7763, 1098, 37202, 12765, 83, 20653, 23, 70, 100, 28354, 38, 13695, 51042, 24189, 40956, 7103, 8035, 53017, 6259, 3642, 43240, 60268, 9655, 5122, 20697, 1884, 4171, 143726, 248, 121011...
[ 0.197265625, 0.21337890625, 0.005889892578125, 0.1800537109375, 0.2491455078125, 0.1002197265625, 0.162841796875, 0.1851806640625, 0.091796875, 0.03765869140625, 0.1488037109375, 0.07177734375, 0.2493896484375, 0.0386962890625, 0.063232421875, 0.045928955078125, 0.006317138671875, ...
embed
13281340_c0
13281340
fsharp
0
Title: Referencing F# libraries from a Windows Store/Metro C# app Problem title: Referencing F# libraries from a Windows Store/Metro C# app Tags: windows-store, c%23, microsoft-metro, f%23 Problem: Referencing F# libraries from a Windows Store/Metro C# app I'm attempting to do some SharpDX in F#. SharpDX can't be impor...
Referencing F# libraries from a Windows Store/Metro C# app Referencing F# libraries from a Windows Store/Metro C# app windows-store c%23 microsoft-metro f%23 a Referencing Windows Store Metro Could FSharp.Core Version Culture PublicKeyToken b03f5f7f11d50a3a Referencing F# libraries from a Windows Store/Metro C# app I'm...
[ 0.00250244140625, 0.0206298828125, 0.0017852783203125, -0.00885009765625, 0.0035247802734375, -0.01177978515625, -0.01068115234375, -0.000690460205078125, 0.0167236328125, -0.00921630859375, 0.0072021484375, -0.0011138916015625, 0.0021209716796875, 0.022216796875, 0.004364013671875, -0...
[ 853, 69988, 563, 4904, 35773, 10484, 1295, 3773, 14934, 6696, 2955, 313, 4027, 54825, 45804, 3742, 138410, 37165, 1238, 36159, 191147, 93774, 3467, 254, 50886, 40647, 105141, 16934, 162429, 7763, 1098, 9513, 2525, 197106, 397, 1542, 831, 7624...
[ 0.060302734375, 0.2242431640625, 0.1363525390625, 0.22509765625, 0.17822265625, 0.03070068359375, 0.042144775390625, 0.10693359375, 0.150390625, 0.0789794921875, 0.1319580078125, 0.00836181640625, 0.13623046875, 0.059783935546875, 0.1375732421875, 0.020965576171875, 0.00726318359375,...
embed
48763970_c2
48763970
fsharp
2
.create, RuleActivatorContextFactory.java:69, RuleActivatorContextFactory.java:61, org.sonar.server.qualityprofile.RuleActivator.activate, RuleActivator.java:85, org.sonar.server.qualityprofile.RegisterQualityProfiles.register, RegisterQualityProfiles.java:157, org.sonar.server.qualityprofile.RegisterQualityProfiles.re...
.create, RuleActivatorContextFactory.java:69, RuleActivatorContextFactory.java:61, org.sonar.server.qualityprofile.RuleActivator.activate, RuleActivator.java:85, org.sonar.server.qualityprofile.RegisterQualityProfiles.register, RegisterQualityProfiles.java:157, org.sonar.server.qualityprofile.RegisterQualityProfiles.re...
[ 0.0264892578125, -0.007354736328125, 0.007354736328125, 0.0184326171875, -0.000942230224609375, 0.005096435546875, -0.00531005859375, -0.010986328125, -0.004608154296875, -0.0159912109375, 0.000637054443359375, 0.0123291015625, 0.01397705078125, 0.00457763671875, 0.004180908203125, -0....
[ 5, 7612, 2182, 4, 139118, 164414, 4597, 11935, 22829, 135518, 31667, 24071, 12, 14212, 11540, 30910, 1681, 147, 39642, 161789, 58395, 26951, 133, 111438, 67, 12951, 54601, 19656, 178476, 147161, 105199, 131423, 2481, 1340, 145445, 18537, 2729, ...
[ 0.1490478515625, 0.201904296875, 0.1497802734375, 0.06463623046875, 0.2049560546875, 0.206298828125, 0.16259765625, 0.03302001953125, 0.1978759765625, 0.1668701171875, 0.10357666015625, 0.258056640625, 0.0745849609375, 0.202880859375, 0.1566162109375, 0.1356201171875, 0.095947265625,...
embed
40997380_c0
40997380
fsharp
0
Title: How to pass a Type as an attribute parameter using F# syntax? Problem title: How to pass a Type as an attribute parameter using F# syntax? Tags: f%23, types, nunit, custom-attributes, fscheck Problem: How to pass a Type as an attribute parameter using F# syntax? FsCheck allows a custom Arbitrary in its NUnit int...
How to pass a Type as an attribute parameter using F# syntax? How to pass a Type as an attribute parameter using F# syntax? f%23 types nunit custom-attributes fscheck F# How Type Arbitrary Property Verbose Test.Arithmetic.MyArb MultiplyIdentity int64 How to pass a Type as an attribute parameter using F# syntax? FsCheck...
[ -0.0191650390625, -0.007354736328125, -0.0167236328125, -0.0101318359375, -0.025146484375, -0.01171875, 0.00396728515625, 0.005218505859375, -0.01373291015625, -0.01031494140625, 0.0201416015625, 0.003936767578125, -0.006011962890625, -0.0096435546875, 0.003082275390625, -0.00427246093...
[ 11249, 47, 27875, 60457, 237, 142, 150380, 13, 171859, 17368, 563, 4904, 6002, 86531, 10, 1238, 3949, 3742, 52895, 4124, 217, 114122, 257, 191145, 7, 78292, 242522, 1294, 206984, 1446, 837, 184, 8647, 8962, 31852, 7614, 275, 19335, 62479, ...
[ 0.057769775390625, 0.01031494140625, 0.15576171875, 0.295166015625, 0.123779296875, 0.04559326171875, 0.2183837890625, 0.0899658203125, 0.2181396484375, 0.0235595703125, 0.1441650390625, 0.2088623046875, 0.116943359375, 0.154541015625, 0.0278167724609375, 0.1005859375, 0.00830078125,...
embed
19822768_c0
19822768
fsharp
0
Title: How to turn Y axis label back Problem title: How to turn Y axis label back Tags: f%23-interactive, f%23, fsharpchart Problem: How to turn Y axis label back I am using FSharp.Charting 0.87 to draw very basic chart of linear function. Is there a way to turn Y axis label back to normal position? In other words, can...
How to turn Y axis label back How to turn Y axis label back f%23-interactive f%23 fsharpchart How FSharp.Charting.0.87 FSharp.Charting.fsx FSharp.Charting System.Drawing Chart.Line WithYAxis Title TitleAlignment StringAlignment.Far WithXAxis ShowChart How to turn Y axis label back I am using FSharp.Charting 0.87 to dra...
[ 0.02197265625, -0.00665283203125, 0.032470703125, 0.0002651214599609375, 0.006561279296875, -0.005523681640625, 0.0027618408203125, 0.006103515625, -0.00384521484375, 0.02197265625, -0.00982666015625, -0.0031890869140625, -0.01055908203125, -0.004638671875, 0.0233154296875, 0.014526367...
[ 11249, 47, 15504, 990, 10, 33102, 67967, 4420, 1238, 27495, 10433, 71232, 3742, 89280, 254, 9254, 3467, 84068, 1916, 132208, 966, 425, 110373, 93232, 14671, 48962, 1746, 23351, 80908, 17106, 17367, 17368, 93774, 757, 19308, 79442, 62822, 1162...
[ 0.05560302734375, 0.0677490234375, 0.1668701171875, 0.255859375, 0.0582275390625, 0.1942138671875, 0.2371826171875, 0.2021484375, 0.007659912109375, 0.0210723876953125, 0.0224151611328125, 0.00390625, 0.033294677734375, 0.0684814453125, 0.119140625, 0.08721923828125, 0.1318359375, ...
embed
65141683_c0
65141683
fsharp
0
Title: Get index value for specific positions in a boolean array in F# Problem title: Get index value for specific positions in a boolean array in F# Tags: f%23 Problem: Get index value for specific positions in a boolean array in F# I have an array that contains only 0 and 1 . Lets call this array numbers . The number...
Get index value for specific positions in a boolean array in F# Get index value for specific positions in a boolean array in F# f%23 Get Get index value for specific positions in a boolean array in F# I have an array that contains only 0 and 1 . Lets call this array numbers . The numbers look something like this: I wan...
[ -0.0078125, 0.0079345703125, -0.007049560546875, -0.004913330078125, -0.009765625, 0.00830078125, 0.0125732421875, 0.015869140625, 0.013427734375, -0.000046253204345703125, -0.007781982421875, 0.01953125, -0.0198974609375, 0.012939453125, 0.018798828125, -0.0091552734375, 0.028320312...
[ 20779, 63262, 34292, 100, 29458, 19069, 23, 337, 31, 34677, 10298, 53, 563, 4904, 7, 1238, 3742, 70541, 757, 136, 106, 11782, 101935, 6713, 1884, 3444, 47, 456, 3996, 3134, 136044, 7440, 74918, 36917, 138, 190, 1556, 87, 903, 831, 54 ]
[ 0.114990234375, 0.248046875, 0.2352294921875, 0.06695556640625, 0.2310791015625, 0.23876953125, 0.039886474609375, 0.046783447265625, 0.1273193359375, 0.2120361328125, 0.156494140625, 0.1365966796875, 0.1204833984375, 0.17822265625, 0.0243682861328125, 0.04351806640625, 0.10235595703...
embed
51659858_c0
51659858
fsharp
0
Title: F# pattern matching on discriminated union containing records Problem title: F# pattern matching on discriminated union containing records Tags: f%23, record, pattern-matching, discriminated-union Problem: F# pattern matching on discriminated union containing records I am trying to create a simple scenario; wher...
F# pattern matching on discriminated union containing records F# pattern matching on discriminated union containing records f%23 record pattern-matching discriminated-union Circle Rectangle Shape ACircle ARectangle System.Math.PI F# pattern matching on discriminated union containing records I am trying to create a simp...
[ -0.02001953125, -0.0014801025390625, 0.0035858154296875, 0.00494384765625, -0.01068115234375, -0.0081787109375, -0.031982421875, 0.01336669921875, 0.00933837890625, -0.0081787109375, 0.0174560546875, 0.00921630859375, 0.011474609375, -0.00836181640625, 0.0169677734375, -0.0121459960937...
[ 563, 4904, 103510, 14858, 214, 98, 55970, 3674, 69941, 70541, 115923, 1238, 3949, 3742, 17164, 98753, 87046, 163731, 14525, 7224, 481, 11030, 109217, 12353, 199450, 15185, 31577, 28282, 8781, 106117, 237, 43032, 18499, 4453, 22766, 1290, 959, ...
[ 0.10345458984375, 0.16552734375, 0.22314453125, 0.2158203125, 0.019866943359375, 0.038604736328125, 0.2412109375, 0.05230712890625, 0.17578125, 0.10205078125, 0.1744384765625, 0.06427001953125, 0.024200439453125, 0.0960693359375, 0.168212890625, 0.1522216796875, 0.1419677734375, 0....
embed
38343566_c1
38343566
fsharp
1
to instantiate something: Windows.UI.Xaml.Application() I get: error FS0193: Could not load file or assembly 'file:///C:\Program Files (x86)\Windows Kits\10\References\Windows.Foundation.UniversalApiContract\2.0.0.0\Windows.Foundation.UniversalApiContract.winmd' or one of its dependencies. Operation is not supported. ...
to instantiate something: Windows.UI.Xaml.Application() I get: error FS0193: Could not load file or assembly 'file:///C:\Program Files (x86)\Windows Kits\10\References\Windows.Foundation.UniversalApiContract\2.0.0.0\Windows.Foundation.UniversalApiContract.winmd' or one of its dependencies. Operation is not supported. ...
[ 0.008056640625, 0.037109375, 0.00958251953125, 0.010986328125, -0.00970458984375, -0.0032196044921875, 0.01275634765625, -0.0303955078125, 0.01055908203125, -0.0181884765625, 0.00110626220703125, -0.029052734375, 0.01104736328125, 0.003265380859375, 0.00543212890625, -0.00567626953125,...
[ 47, 34648, 101426, 9844, 3773, 33457, 1542, 302, 141, 47677, 182867, 132, 87, 2046, 18499, 93774, 6746, 11591, 191147, 959, 72367, 11435, 707, 89845, 38526, 29822, 696, 64, 441, 148968, 42724, 425, 112916, 43342, 23564, 963, 4332, 69988, 27...
[ 0.0628662109375, 0.192138671875, 0.194091796875, 0.0850830078125, 0.1343994140625, 0.16455078125, 0.0985107421875, 0.1488037109375, 0.1575927734375, 0.1103515625, 0.1666259765625, 0.0347900390625, 0.01141357421875, 0.0219879150390625, 0.17919921875, 0.235595703125, 0.157470703125, ...
embed
7562355_c0
7562355
fsharp
0
Title: How can I retrieve a JPEG image codec in F#? Problem title: How can I retrieve a JPEG image codec in F#? Tags: c%23, jpeg, f%23, .net Problem: How can I retrieve a JPEG image codec in F#? In C#, I can retrieve a JPEG encoder like this: var jpegEncoder = ImageCodecInfo.GetImageEncoders() .Where(e => e.FormatID ==...
How can I retrieve a JPEG image codec in F#? How can I retrieve a JPEG image codec in F#? c%23 jpeg f%23 .net How JPEG ImageCodecInfo.GetImageEncoders Where e.FormatID ImageFormat.Jpeg.Guid Single GetImageEncoders How can I retrieve a JPEG image codec in F#? In C#, I can retrieve a JPEG encoder like this: I'd like to d...
[ -0.00104522705078125, -0.012451171875, 0.0172119140625, -0.0086669921875, 0.0076904296875, 0.01708984375, 0.0101318359375, -0.00201416015625, -0.01416015625, -0.0269775390625, 0.003936767578125, 0.0281982421875, -0.00133514404296875, -0.01806640625, -0.0107421875, -0.0009918212890625, ...
[ 11249, 831, 87, 456, 3996, 3134, 216281, 29569, 18151, 238, 23, 563, 4904, 10, 501, 3742, 215109, 1238, 1179, 22710, 114211, 93147, 724, 126, 216960, 7768, 587, 14202, 78662, 28, 102973, 7146, 1375, 1081, 22769, 43609, 20779, 360, 313, 22...
[ 0.063232421875, 0.0743408203125, 0.0158233642578125, 0.09765625, 0.1590576171875, 0.11474609375, 0.321533203125, 0.1739501953125, 0.199462890625, 0.136962890625, 0.0811767578125, 0.15673828125, 0.238525390625, 0.034454345703125, 0.0130615234375, 0.050537109375, 0.2509765625, 0.0614...
embed
41684233_c0
41684233
fsharp
0
Title: Overflow of an int in f# Problem title: Overflow of an int in f# Tags: overflow, f%23 Problem: Overflow of an int in f# I am working on some homework and we are supposed to be making a combination function in F#. I have got the factorial function down, but it seems to overflow once I get a big number to use fact...
Overflow of an int in f# Overflow of an int in f# overflow f%23 Overflow Fact a:int a-1 n:int k:int Overflow of an int in f# I am working on some homework and we are supposed to be making a combination function in F#. I have got the factorial function down, but it seems to overflow once I get a big number to use factor...
[ -0.00106048583984375, 0.017822265625, 0.0142822265625, -0.000423431396484375, -0.0054931640625, -0.015869140625, -0.018310546875, -0.004302978515625, -0.0048828125, -0.0108642578125, 0.000629425048828125, -0.0198974609375, 0.01263427734375, 0.00189971923828125, 0.0089111328125, -0.0032...
[ 9578, 118664, 23, 18, 1238, 4904, 111, 645, 3949, 3742, 132640, 10, 4288, 5759, 653, 472, 142, 20697, 5368, 18244, 134598, 20662, 162515, 32354, 563, 31461, 15403, 7565, 37202, 24145, 2046, 6957, 14012, 4527, 387, 28219, 831, 13307, 21917, ...
[ 0.1519775390625, 0.294921875, 0.14599609375, 0.18212890625, 0.146240234375, 0.2393798828125, 0.0294036865234375, 0.138427734375, 0.02239990234375, 0.1552734375, 0.183837890625, 0.04266357421875, 0.165283203125, 0.14599609375, 0.042724609375, 0.1083984375, 0.003448486328125, 0.04718...
embed
47730058_c0
47730058
fsharp
0
Title: F# - Apply Function To Two Arrays Of Different Lengths Problem title: F# - Apply Function To Two Arrays Of Different Lengths Tags: arrays, f%23 Problem: F# - Apply Function To Two Arrays Of Different Lengths I am trying to apply a function to two arrays of different lengths but the result is not matching my expe...
F# - Apply Function To Two Arrays Of Different Lengths F# - Apply Function To Two Arrays Of Different Lengths arrays f%23 Apply Two Arrays Different Lengths SOQN System first.Length-1 second.Length-1 Result Actual Expected F# - Apply Function To Two Arrays Of Different Lengths I am trying to apply a function to two arr...
[ 0.002899169921875, 0.018798828125, -0.0023651123046875, 0.0198974609375, -0.002227783203125, -0.0052490234375, -0.0076904296875, 0.005645751953125, 0.007171630859375, -0.0087890625, 0.0242919921875, 0.034423828125, -0.015625, 0.0022430419921875, 0.00096893310546875, -0.01300048828125, ...
[ 563, 4904, 5659, 538, 28670, 10763, 717, 32964, 69253, 4778, 6619, 242520, 77554, 927, 20, 10298, 1238, 3949, 3742, 15969, 2737, 839, 12353, 5117, 449, 5759, 17932, 126684, 100582, 60075, 13, 31577, 59911, 32354, 47, 6626, 12921, 140909, 16...
[ 0.1246337890625, 0.202392578125, 0.1392822265625, 0.10089111328125, 0.1578369140625, 0.0999755859375, 0.129638671875, 0.1837158203125, 0.171875, 0.15380859375, 0.09234619140625, 0.18115234375, 0.1396484375, 0.07293701171875, 0.0161895751953125, 0.1485595703125, 0.08349609375, 0.030...
embed
38230023_c0
38230023
fsharp
0
Title: Functional queue type Problem title: Functional queue type Tags: data-structures, f%23, functional-programming, types, haskell Problem: Functional queue type I would like to represent a kind of queue data structure functionally, but I haven't really gotten anywhere. I've looked into Zippers but they don't seem t...
Functional queue type Functional queue type data-structures f%23 functional-programming types haskell Functional Functional queue type I would like to represent a kind of queue data structure functionally, but I haven't really gotten anywhere. I've looked into Zippers but they don't seem to be the right structure. Spec...
[ 0.0206298828125, 0.01177978515625, -0.004730224609375, -0.01263427734375, -0.006256103515625, -0.012451171875, -0.004150390625, -0.0031585693359375, 0.00653076171875, -0.0196533203125, -0.011962890625, -0.017333984375, 0.01104736328125, -0.0021820068359375, -0.010498046875, 0.019287109...
[ 28670, 10763, 289, 41, 13388, 10644, 2053, 137656, 1238, 3949, 3742, 123309, 28966, 52895, 1556, 142508, 1884, 33636, 8562, 45646, 1284, 38246, 6183, 54811, 162150, 21777, 7108, 31577, 36549, 8, 5259, 124519, 2472, 18215, 93425, 28, 3089, 707...
[ 0.14013671875, 0.09967041015625, 0.0316162109375, 0.1961669921875, 0.186767578125, 0.186279296875, 0.130615234375, 0.128173828125, 0.020751953125, 0.011260986328125, 0.09405517578125, 0.1640625, 0.08056640625, 0.1295166015625, 0.0985107421875, 0.18994140625, 0.02947998046875, 0.202...
embed
412459_c0
412459
fsharp
0
Title: How to generically remove F# Units of measure Problem title: How to generically remove F# Units of measure Tags: f%23, units-of-measurement Problem: How to generically remove F# Units of measure I've got some data manipulation code which spits out csv at the end. I started upgrading it to add units of measure ev...
How to generically remove F# Units of measure How to generically remove F# Units of measure f%23 units-of-measurement How Units WriteCSV n:float How to generically remove F# Units of measure I've got some data manipulation code which spits out csv at the end. I started upgrading it to add units of measure everywhere, b...
[ -0.01263427734375, 0.010986328125, 0.031982421875, -0.0023040771484375, -0.002960205078125, -0.0341796875, 0.0002593994140625, -0.00787353515625, 0.0225830078125, 0.0133056640625, -0.0311279296875, -0.01202392578125, 0.0052490234375, -0.01416015625, 0.00140380859375, 0.0020294189453125...
[ 11249, 11212, 71407, 87388, 563, 4904, 46640, 7, 111, 72350, 1238, 3742, 25072, 4390, 37440, 56851, 601, 18781, 19283, 856, 52347, 257, 2053, 45258, 18151, 16195, 1810, 20763, 334, 3564, 8961, 15190, 219743, 2967, 32354, 171859, 11435, 163612...
[ 0.051025390625, 0.1697998046875, 0.0814208984375, 0.2012939453125, 0.1146240234375, 0.1893310546875, 0.2044677734375, 0.06744384765625, 0.1099853515625, 0.2196044921875, 0.09423828125, 0.12451171875, 0.2139892578125, 0.052520751953125, 0.0987548828125, 0.113037109375, 0.0167236328125...
embed
10416760_c0
10416760
fsharp
0
Title: String and CharStream&lt;&#x27;a&gt; in FParsec Problem title: String and CharStream&lt;&#x27;a&gt; in FParsec Tags: fparsec, f%23 Problem: String and CharStream<'a> in FParsec I would like to parse a big sentence, which can contain names in fsharp. I posit that names is in the form first name + last name. In th...
String and CharStream&lt;&#x27;a&gt; in FParsec String and CharStream&lt;&#x27;a&gt; in FParsec fparsec f%23 CharStream FParsec JEAN CHRISTOPHE String and CharStream<'a> in FParsec I would like to parse a big sentence, which can contain names in fsharp. I posit that names is in the form first name + last name. In the a...
[ -0.005279541015625, 0.0184326171875, -0.01116943359375, 0.033447265625, -0.0022735595703125, 0.0157470703125, 0.0096435546875, 0.0028076171875, 0.0142822265625, -0.0185546875, 0.01312255859375, 0.0069580078125, -0.0084228515625, 0.017822265625, -0.0027923583984375, -0.002410888671875, ...
[ 23351, 214, 136, 21656, 115061, 1277, 3768, 11, 5386, 23, 563, 28636, 39797, 1238, 2500, 3742, 821, 105621, 231282, 20880, 19412, 25, 1884, 366, 184, 6957, 149357, 831, 70541, 123055, 89280, 254, 77087, 3173, 5117, 9351, 997, 4568, 112199, ...
[ 0.190185546875, 0.10595703125, 0.1427001953125, 0.175048828125, 0.270751953125, 0.0113525390625, 0.08770751953125, 0.1456298828125, 0.1077880859375, 0.008514404296875, 0.1329345703125, 0.1683349609375, 0.2149658203125, 0.11865234375, 0.1156005859375, 0.0751953125, 0.059356689453125, ...
embed
64526930_c0
64526930
fsharp
0
Title: Could collection functions be directly used as methods from the types they support, in F#? Problem title: Could collection functions be directly used as methods from the types they support, in F#? Tags: f%23 Problem: Could collection functions be directly used as methods from the types they support, in F#? This ...
Could collection functions be directly used as methods from the types they support, in F#? Could collection functions be directly used as methods from the types they support, in F#? f%23 the Could List.max a.max List.sort List.truncate a.sort.truncate Could collection functions be directly used as methods from the type...
[ 0.00799560546875, 0.0216064453125, 0.0181884765625, -0.01507568359375, -0.01513671875, -0.01104736328125, -0.015869140625, -0.00787353515625, 0.01220703125, -0.039306640625, -0.02685546875, 0.0211181640625, 0.0062255859375, -0.0157470703125, 0.0166015625, -0.0274658203125, -0.0068969...
[ 191147, 42486, 32354, 105237, 11814, 237, 150624, 1295, 52895, 8060, 563, 4904, 7, 1238, 3742, 32036, 24084, 10, 62351, 9774, 19, 33478, 79975, 36746, 5809, 2046, 18389, 34292, 20594, 56282, 53550, 3444, 17497, 71, 5303, 5646, 2663, 116, 50...
[ 0.0863037109375, 0.223876953125, 0.17822265625, 0.144287109375, 0.11669921875, 0.057861328125, 0.1533203125, 0.05535888671875, 0.13134765625, 0.160888671875, 0.13134765625, 0.1834716796875, 0.03912353515625, 0.038238525390625, 0.037261962890625, 0.1534423828125, 0.14599609375, 0.09...
embed
18132557_c0
18132557
fsharp
0
Title: F# Comment error Problem title: F# Comment error Tags: f%23 Problem: F# Comment error I am teaching myself F# I am normally a C# programmer. I am trying to use the (**) to make notes for myself as I go through the chapters but I am getting an error from the comment itself. module Characters let vowels = ['a', 'e...
F# Comment error F# Comment error f%23 Comment Characters Hex u0061 Error End Character Escape Sequences Meaning Single Quote Double Backslash Backspace Newline Carriage Horisontal Tab F# Comment error I am teaching myself F# I am normally a C# programmer. I am trying to use the (**) to make notes for myself as I go th...
[ 0.01373291015625, 0.005340576171875, -0.01470947265625, 0.01324462890625, 0.0098876953125, 0.01708984375, 0.0084228515625, -0.00872802734375, -0.0004215240478515625, -0.005828857421875, 0.01220703125, -0.01055908203125, 0.02587890625, -0.00016021728515625, -0.01025390625, 0.01086425781...
[ 563, 4904, 16277, 18499, 1238, 3949, 3742, 21656, 2263, 1529, 425, 75, 159343, 418, 212059, 18878, 181540, 26513, 1215, 11, 43609, 109216, 107172, 26828, 5544, 65421, 2356, 2256, 3980, 1651, 71871, 1681, 22193, 128169, 35978, 3638, 77848, 315...
[ 0.1551513671875, 0.2098388671875, 0.222900390625, 0.2001953125, 0.09912109375, 0.03955078125, 0.1226806640625, 0.042144775390625, 0.069091796875, 0.138671875, 0.0950927734375, 0.0810546875, 0.1385498046875, 0.0860595703125, 0.1488037109375, 0.0911865234375, 0.1693115234375, 0.09613...
embed
28378492_c0
28378492
fsharp
0
Title: Generating an infinite list of items does not &quot;pause&quot; when getting external input Problem title: Generating an infinite list of items does not &quot;pause&quot; when getting external input Tags: f%23 Problem: Generating an infinite list of items does not "pause" when getting external input I have some ...
Generating an infinite list of items does not &quot;pause&quot; when getting external input Generating an infinite list of items does not &quot;pause&quot; when getting external input f%23 Generating Console.WriteLine Enter Input Console.ReadLine Trim Seq.initInfinite Seq.map Generating an infinite list of items does n...
[ 0.007598876953125, -0.000518798828125, 0.01385498046875, -0.003082275390625, 0.00616455078125, -0.00433349609375, 0.0224609375, -0.00167083740234375, 0.0028228759765625, -0.0211181640625, 0.0020904541015625, 0.0211181640625, 0.00037384033203125, 0.0225830078125, 0.01214599609375, 0.012...
[ 155370, 54241, 13, 5303, 55769, 959, 149302, 3229, 20949, 173591, 107730, 111, 1238, 3742, 40777, 93232, 60816, 7077, 31345, 4699, 503, 864, 217, 48310, 67, 62346, 14602, 18151, 41206, 76968, 26458, 38937, 4568, 125195, 563, 4904 ]
[ 0.1751708984375, 0.1597900390625, 0.0799560546875, 0.1839599609375, 0.1749267578125, 0.093017578125, 0.200439453125, 0.0247802734375, 0.0999755859375, 0.16259765625, 0.1829833984375, 0.0457763671875, 0.01129150390625, 0.0914306640625, 0.1187744140625, 0.1077880859375, 0.0448303222656...
embed
30265901_c0
30265901
fsharp
0
Title: Erlang alternative to f# sequence Problem title: Erlang alternative to f# sequence Tags: seq, f%23, erlang Problem: Erlang alternative to f# sequence Is there an alternative for F# "seq" construct in Erlang? For example, in F# I can write an O(1) memory integrate function let integrate x1 x2 dx f = let N = int (...
Erlang alternative to f# sequence Erlang alternative to f# sequence seq f%23 erlang Erlang x2-x1 Seq.sum Init N-1 Points Vals lists:map lists:sum Erlang alternative to f# sequence Is there an alternative for F# "seq" construct in Erlang? For example, in F# I can write an O(1) memory integrate function In Erlang, I have...
[ 0.0162353515625, 0.00909423828125, -0.0026702880859375, 0.01239013671875, 0.00787353515625, -0.004669189453125, -0.004852294921875, 0.00775146484375, 0.00537109375, -0.0267333984375, 0.003143310546875, 0.03564453125, 0.006195068359375, 0.0198974609375, 0.034423828125, 0.00836181640625,...
[ 1004, 3066, 30700, 47, 1238, 4904, 40, 944, 3956, 864, 3949, 3742, 72, 1022, 18504, 425, 418, 503, 11832, 217, 541, 5759, 41097, 4769, 5303, 62346, 2685, 142, 100, 563, 184, 64549, 23, 831, 33022, 180, 27750, 98323, 78779, 13, 32354, ...
[ 0.1826171875, 0.294921875, 0.19921875, 0.05755615234375, 0.093994140625, 0.17822265625, 0.1187744140625, 0.1671142578125, 0.061065673828125, 0.232177734375, 0.02947998046875, 0.108642578125, 0.09600830078125, 0.05157470703125, 0.129638671875, 0.0208892822265625, 0.047088623046875, ...
embed
56535220_c0
56535220
fsharp
0
Title: Migrating from IHostingEnvironment to IWebHostEnvironment Problem title: Migrating from IHostingEnvironment to IWebHostEnvironment Tags: f%23, f%23-giraffe Problem: Migrating from IHostingEnvironment to IWebHostEnvironment I have this: let configureApp (app : IApplicationBuilder) = let env = app.ApplicationServi...
Migrating from IHostingEnvironment to IWebHostEnvironment Migrating from IHostingEnvironment to IWebHostEnvironment f%23 f%23-giraffe IHostingEnvironment Migrating IWebHostEnvironment IApplicationBuilder app.ApplicationServices.GetService env.IsDevelopment app.UseDeveloperExceptionPage app.UseGiraffeErrorHandler Migrat...
[ -0.0380859375, 0.00762939453125, -0.023681640625, -0.0001430511474609375, 0.00927734375, 0.032470703125, -0.02099609375, -0.0260009765625, -0.003936767578125, -0.002655029296875, 0.0206298828125, 0.009033203125, 0.000965118408203125, -0.005828857421875, 0.0146484375, -0.01544189453125,...
[ 130446, 1916, 1295, 87, 11193, 7, 7768, 686, 1900, 47, 30474, 271, 1238, 3742, 167218, 27495, 6920, 11, 16670, 182867, 121137, 56, 4027, 121979, 126, 334, 29598, 2601, 2146, 1062, 42227, 63928, 147101, 184, 724, 2634, 18468, 31611, 135679, ...
[ 0.2464599609375, 0.15966796875, 0.1259765625, 0.1810302734375, 0.1820068359375, 0.09033203125, 0.056488037109375, 0.140380859375, 0.1466064453125, 0.1270751953125, 0.1805419921875, 0.121337890625, 0.0188751220703125, 0.07373046875, 0.022705078125, 0.052154541015625, 0.1361083984375, ...
embed
18850730_c0
18850730
fsharp
0
Title: How to await nongeneric Task using Async workflow? Problem title: How to await nongeneric Task using Async workflow? Tags: asynchronous, f%23-3.0, f%23 Problem: How to await nongeneric Task using Async workflow? How do you await nongeneric Tasks in F# async workflows? open System.IO let openConnection = async { ...
How to await nongeneric Task using Async workflow? How to await nongeneric Task using Async workflow? asynchronous f%23-3.0 f%23 Async How Task System.IO StreamReader reader.ReadLineAsync Async.AwaitTask StreamWriter writer.WriteLineAsync Unit How to await nongeneric Task using Async workflow? How do you await nongener...
[ -0.0166015625, 0.01007080078125, 0.0059814453125, -0.0294189453125, 0.01092529296875, -0.00799560546875, -0.017822265625, -0.0033416748046875, -0.0018157958984375, -0.006256103515625, 0.01171875, -0.0084228515625, 0.00958251953125, -0.0216064453125, 0.00775146484375, -0.01495361328125,...
[ 11249, 634, 217, 351, 79446, 1771, 9598, 92, 62, 12654, 238, 4488, 118664, 101966, 1238, 27495, 132265, 3742, 12353, 17780, 115061, 31345, 155255, 93232, 9874, 70035, 46640, 1224, 563, 4904, 73372, 22968, 186992, 10644, 959, 146731, 11, 3917,...
[ 0.037109375, 0.1729736328125, 0.1162109375, 0.1431884765625, 0.158203125, 0.06549072265625, 0.20166015625, 0.145263671875, 0.045928955078125, 0.2000732421875, 0.0938720703125, 0.048614501953125, 0.2081298828125, 0.087890625, 0.033660888671875, 0.007110595703125, 0.1146240234375, 0....
embed
42542117_c0
42542117
fsharp
0
Title: Matching command line args Problem title: Matching command line args Tags: argv, f%23, match Problem: Matching command line args Starting out learning F#. Want to make a simple program that just tells me what it found in the command line args. I have: [<EntryPoint>] let main argv = printfn "%A" argv match argv w...
Matching command line args Matching command line args argv f%23 match Matching EntryPoint Matching command line args Starting out learning F#. Want to make a simple program that just tells me what it found in the command line args. I have: But this gives errors. If I hover over argv I see: which is what I would have ex...
[ -0.020751953125, 0.0052490234375, -0.01080322265625, 0.00067138671875, -0.004974365234375, -0.000396728515625, 0.006256103515625, 0.00994873046875, 0.000965118408203125, 0.0162353515625, 0.007354736328125, -0.0213623046875, -0.00408935546875, 0.00811767578125, 0.00494384765625, -0.0150...
[ 67407, 214, 75101, 13315, 79459, 7, 334, 1238, 3949, 3742, 14858, 357, 15123, 147534, 52080, 563, 4904, 42335, 3249, 8781, 1528, 14192, 163, 2367, 14037, 76199, 18499, 739, 814, 645, 1957, 2806, 765, 84751, 5303, 79315, 5117, 125195, 3444, ...
[ 0.241455078125, 0.0823974609375, 0.163330078125, 0.107666015625, 0.2137451171875, 0.023406982421875, 0.1976318359375, 0.09356689453125, 0.11767578125, 0.1827392578125, 0.251708984375, 0.043487548828125, 0.1336669921875, 0.12890625, 0.057769775390625, 0.0750732421875, 0.150146484375, ...
embed
36961847_c1
36961847
fsharp
1
Using summation2 the program works as expected with the sum for example1 being 12.6 and for example2 being Unknown . But I don't understand why summation doesn't work - the compiler complains "this value is not a function and cannot be applied". In another attempt (not shown), I also got the error of a missing get_Zer...
Using summation2 the program works as expected with the sum for example1 being 12.6 and for example2 being Unknown . But I don't understand why summation doesn't work - the compiler complains "this value is not a function and cannot be applied". In another attempt (not shown), I also got the error of a missing get_Zer...
[ -0.0150146484375, -0.01446533203125, 0.0037994384765625, 0.01031494140625, -0.01470947265625, 0.00098419189453125, 0.00811767578125, -0.0017852783203125, 0.0240478515625, 0.01214599609375, 0.00897216796875, -0.0123291015625, -0.0140380859375, -0.01104736328125, 0.0201416015625, -0.0123...
[ 345, 29334, 1363, 304, 1528, 43240, 237, 84751, 10554, 27781, 418, 5035, 910, 992, 69723, 19, 18, 28219, 15400, 22027, 4488, 9969, 34759, 186992, 100231, 34292, 83, 959, 10, 32354, 53418, 190659, 81887, 18499, 132283, 2046, 1511, 4036, 1283...
[ 0.042449951171875, 0.2578125, 0.1466064453125, 0.1927490234375, 0.1483154296875, 0.102783203125, 0.03045654296875, 0.06951904296875, 0.22998046875, 0.160400390625, 0.0550537109375, 0.1207275390625, 0.1693115234375, 0.03094482421875, 0.1571044921875, 0.009185791015625, 0.109130859375,...
embed
4141976_c1
4141976
fsharp
1
{0} times", tries); Console.WriteLine("Press enter to exist"); Console.ReadLine(); } } } The very broken and wrong F# code open System; let main() = let tries = 0; let answer = (new Random()).Next 1, 100 printfn "Guess the number between 1 and 100" let dummyWhileTrue() = let v = Console.ReadLine() if v = "q" then prin...
{0} times", tries); Console.WriteLine("Press enter to exist"); Console.ReadLine(); } } } The very broken and wrong F# code open System; let main() = let tries = 0; let answer = (new Random()).Next 1, 100 printfn "Guess the number between 1 and 100" let dummyWhileTrue() = let v = Console.ReadLine() if v = "q" then prin...
[ -0.01458740234375, 0.0118408203125, 0.0172119140625, 0.00579833984375, 0.0162353515625, 0.014892578125, -0.005523681640625, -0.01385498046875, -0.020263671875, 0.0021209716796875, -0.005859375, 0.0184326171875, -0.01385498046875, 0.0272216796875, 0.0079345703125, 0.0072021484375, 0.0...
[ 2389, 8152, 20028, 1927, 90, 1657, 40777, 93232, 94753, 30957, 47, 32316, 31345, 581, 4552, 148431, 136, 44691, 563, 4904, 18151, 9803, 12353, 74, 2633, 5201, 757, 35166, 54936, 39643, 306, 81280, 106, 805, 28412, 14783, 22769, 14012, 17721...
[ 0.148681640625, 0.010162353515625, 0.24755859375, 0.1927490234375, 0.172607421875, 0.028411865234375, 0.1595458984375, 0.182373046875, 0.2078857421875, 0.22216796875, 0.1082763671875, 0.260009765625, 0.0955810546875, 0.024810791015625, 0.1285400390625, 0.227294921875, 0.09619140625, ...
embed
55054742_c0
55054742
fsharp
0
Title: Type mismatch when passing tuple Problem title: Type mismatch when passing tuple Tags: f%23 Problem: Type mismatch when passing tuple The following function accepts a list, a tuple (a, b) where 'a' is a tuple of floats and a query to test against. checkDist is a function that takes two tuples of floats and retur...
Type mismatch when passing tuple Type mismatch when passing tuple f%23 Type Check Type mismatch when passing tuple The following function accepts a list, a tuple (a, b) where 'a' is a tuple of floats and a query to test against. checkDist is a function that takes two tuples of floats and returns the distance between al...
[ 0.0235595703125, 0.00170135498046875, 0.01806640625, 0.0081787109375, 0.00750732421875, 0.003082275390625, -0.0172119140625, -0.012451171875, 0.0166015625, -0.027587890625, 0.0042724609375, 0.00927734375, -0.00311279296875, 0.002349853515625, -0.01092529296875, -0.0108642578125, 0.01...
[ 60457, 1239, 98753, 3229, 452, 6953, 370, 8705, 1238, 3949, 3742, 38679, 25632, 32354, 26946, 5303, 11, 876, 21917, 9821, 41, 3034, 26548, 12765, 397, 1419, 51776, 6626, 99726, 30646, 62488, 17721, 756, 26847, 2967, 11675, 3934, 10644, 1802...
[ 0.238525390625, 0.148681640625, 0.291748046875, 0.03143310546875, 0.09521484375, 0.05657958984375, 0.137451171875, 0.216064453125, 0.0675048828125, 0.054656982421875, 0.1129150390625, 0.1873779296875, 0.059295654296875, 0.1585693359375, 0.091552734375, 0.124755859375, 0.108642578125,...
embed
22198072_c0
22198072
fsharp
0
Title: F#, This value is not a function and the + operator Problem title: F#, This value is not a function and the + operator Tags: f%23 Problem: F#, This value is not a function and the + operator This code: let extractTime line = let result = Regex.Match(line, "(\d\d):(\d\d):(\d\d)") let captureGroups = List.tail [fo...
F#, This value is not a function and the + operator F#, This value is not a function and the + operator f%23 Regex.Match List.tail result.Groups g.Value hrs::mins::secs F#, This value is not a function and the + operator This code: Gives the error: "This value is not a function and cannot be applied" on this part of th...
[ -0.005157470703125, 0.000705718994140625, 0.0167236328125, 0.024658203125, -0.01324462890625, -0.0086669921875, -0.01165771484375, -0.0002727508544921875, 0.003204345703125, -0.033203125, -0.0091552734375, 0.0037994384765625, 0.00787353515625, 0.0031585693359375, -0.00139617919921875, ...
[ 563, 4904, 3293, 34292, 83, 959, 10, 32354, 136, 997, 39933, 1238, 3949, 3742, 11678, 3355, 79520, 206, 32036, 46741, 16750, 205072, 706, 856, 50770, 10979, 1249, 39797, 18151, 77878, 18499, 73243, 53418, 190659, 903, 2831, 70, 4950, 10336,...
[ 0.0963134765625, 0.147216796875, 0.1923828125, 0.2313232421875, 0.167724609375, 0.242431640625, 0.13720703125, 0.2021484375, 0.0780029296875, 0.1922607421875, 0.218017578125, 0.124755859375, 0.06378173828125, 0.200927734375, 0.1268310546875, 0.1446533203125, 0.0924072265625, 0.0524...
embed
40393020_c0
40393020
fsharp
0
Title: how do I handle an optional trailing comma? Problem title: how do I handle an optional trailing comma? Tags: fparsec, f%23 Problem: how do I handle an optional trailing comma? given the following let maxCount = System.Int32.MaxValue let pmlcomment = pstring "/*" >>. skipCharsTillString "*/" true (maxCount) let w...
how do I handle an optional trailing comma? how do I handle an optional trailing comma? fparsec f%23 System.Int32.MaxValue str_ws None how do I handle an optional trailing comma? given the following it properly matches all of the following except the last one: I'm guessing something is altering the state or something. ...
[ 0.004241943359375, 0.0164794921875, -0.006378173828125, 0.01007080078125, -0.01275634765625, 0.0233154296875, 0.0126953125, -0.036376953125, 0.00830078125, 0.0096435546875, -0.0029449462890625, 0.020263671875, 0.0162353515625, -0.009521484375, 0.004669189453125, 0.00872802734375, 0.0...
[ 3642, 54, 87, 34831, 35829, 289, 141037, 214, 96117, 32, 142, 1238, 2500, 39797, 3742, 12353, 6460, 71346, 856, 50770, 7704, 19725, 155965, 14858, 40494, 4568, 57767, 9844, 144, 33558, 11341, 11249 ]
[ 0.0960693359375, 0.0382080078125, 0.06103515625, 0.178955078125, 0.1690673828125, 0.106201171875, 0.187744140625, 0.1273193359375, 0.266357421875, 0.003631591796875, 0.01251220703125, 0.06475830078125, 0.05596923828125, 0.18310546875, 0.133544921875, 0.067626953125, 0.134521484375, ...
embed
45517250_c0
45517250
fsharp
0
Title: Do properties in F# classes double memory used in private fields? Problem title: Do properties in F# classes double memory used in private fields? Tags: class, f%23, memory Problem: Do properties in F# classes double memory used in private fields? F# classes have the nice property that arguments automatically be...
Do properties in F# classes double memory used in private fields? Do properties in F# classes double memory used in private fields? class f%23 memory MyClass this.I this.foo i.Head mc.foo mc.I Do properties in F# classes double memory used in private fields? F# classes have the nice property that arguments automaticall...
[ -0.00360107421875, 0.00189971923828125, 0.01409912109375, 0.01141357421875, -0.004486083984375, 0.014404296875, -0.00543212890625, 0.003509521484375, 0.00634765625, -0.0125732421875, 0.024169921875, 0.0252685546875, -0.0142822265625, 0.00494384765625, -0.00128173828125, -0.007690429687...
[ 984, 183871, 23, 563, 4904, 61112, 41929, 98323, 11814, 14375, 44457, 18507, 1238, 3949, 3742, 2646, 140803, 903, 568, 3584, 31, 17, 13025, 712, 765, 26267, 57266, 10750, 191082, 24209, 566, 561, 22819, 3444, 3249, 1632, 6044, 19882, 173591...
[ 0.06134033203125, 0.23779296875, 0.036285400390625, 0.155517578125, 0.2325439453125, 0.1898193359375, 0.2130126953125, 0.2117919921875, 0.125244140625, 0.184814453125, 0.170166015625, 0.138916015625, 0.1229248046875, 0.010589599609375, 0.1439208984375, 0.1077880859375, 0.189819335937...
embed
4978412_c0
4978412
fsharp
0
Title: Time series modeling in f#-- seq vs array vs vector vs list vs generic list Problem title: Time series modeling in f#-- seq vs array vs vector vs list vs generic list Tags: time-series, f%23 Problem: Time series modeling in f#-- seq vs array vs vector vs list vs generic list If I want to make a time series type ...
Time series modeling in f#-- seq vs array vs vector vs list vs generic list Time series modeling in f#-- seq vs array vs vector vs list vs generic list time-series f%23 Time Time series modeling in f#-- seq vs array vs vector vs list vs generic list If I want to make a time series type in F# to hold stock prices, which...
[ -0.0074462890625, 0.031982421875, -0.005767822265625, 0.00159454345703125, -0.005889892578125, -0.0185546875, -0.0064697265625, 0.0189208984375, 0.0137939453125, -0.015869140625, 0.000652313232421875, 0.0023956298828125, -0.009033203125, 0.000133514404296875, -0.0167236328125, 0.015136...
[ 19055, 36549, 3299, 214, 23, 1238, 4904, 40, 864, 20209, 10298, 53, 173, 18770, 5303, 189534, 1733, 32832, 3949, 3742, 3444, 3249, 10644, 563, 47, 16401, 31837, 112034, 62822, 5608, 4527, 51620, 1614, 3509, 35509, 63262, 212467, 80835, 2945...
[ 0.14501953125, 0.2374267578125, 0.2025146484375, 0.048187255859375, 0.0419921875, 0.1192626953125, 0.2255859375, 0.14306640625, 0.2364501953125, 0.06689453125, 0.1624755859375, 0.1328125, 0.1636962890625, 0.190673828125, 0.2039794921875, 0.2049560546875, 0.1514892578125, 0.18225097...
embed
33178027_c0
33178027
fsharp
0
Title: F# query concatenation Problem title: F# query concatenation Tags: type-providers, f%23 Problem: F# query concatenation I am using SqlDataConnection data provider in F# to migrate some rows, part of that migration is to make a join between 3 tables like this, think of it as an inheritance of tables A , B , C whe...
F# query concatenation F# query concatenation type-providers f%23 SqlDataConnection Bs.Join b.PK a.FK Select Concat Cs.Join c.PK F# query concatenation I am using SqlDataConnection data provider in F# to migrate some rows, part of that migration is to make a join between 3 tables like this, think of it as an inheritanc...
[ 0.0277099609375, 0.0177001953125, 0.000614166259765625, 0.00128173828125, 0.00066375732421875, -0.003997802734375, -0.018310546875, 0.0098876953125, 0.004150390625, -0.06494140625, -0.01251220703125, 0.01373291015625, 0.007049560546875, -0.004791259765625, -0.00653076171875, 0.00576782...
[ 563, 4904, 41, 1294, 158, 4460, 33, 10644, 93136, 1238, 3742, 99247, 137989, 235603, 335, 16604, 876, 47386, 86371, 51620, 1657, 17368, 159, 1830, 2053, 81450, 39666, 15555, 212416, 33284, 17721, 138, 23180, 1884, 5351, 442, 3334, 62, 313, ...
[ 0.1461181640625, 0.1995849609375, 0.1343994140625, 0.0845947265625, 0.08349609375, 0.17919921875, 0.126953125, 0.1064453125, 0.16552734375, 0.038787841796875, 0.057464599609375, 0.0985107421875, 0.0750732421875, 0.130126953125, 0.004364013671875, 0.1058349609375, 0.00177001953125, ...
embed
77310991_c1
77310991
fsharp
1
:: (listPaths (Object t)) | Array (h ::t) -> listPaths h @ (listPaths (Array t)) | _ -> []` Yet the output is [abc] [] [xs] [xs, a, b] [xyz] [xyz, a, b, b, b] [ws] [ws] I tried filtering, which wasn't any better, I feel like I should use fold or even better catamorphisms, yet I am not sure how and I am just stuck here...
:: (listPaths (Object t)) | Array (h ::t) -> listPaths h @ (listPaths (Array t)) | _ -> []` Yet the output is [abc] [] [xs] [xs, a, b] [xyz] [xyz, a, b, b, b] [ws] [ws] I tried filtering, which wasn't any better, I feel like I should use fold or even better catamorphisms, yet I am not sure how and I am just stuck here...
[ 0.01483154296875, -0.005889892578125, -0.00872802734375, 0.00159454345703125, -0.0079345703125, 0.006866455078125, -0.02294921875, -0.00072479248046875, 0.01025390625, -0.018798828125, 0.0167236328125, -0.0025787353515625, 0.008056640625, 0.0169677734375, -0.00506591796875, -0.00598144...
[ 1984, 6562, 683, 10519, 7, 46471, 75161, 808, 58745, 69253, 53, 127, 18, 33079, 5303, 1096, 1374, 7614, 7092, 1135, 63519, 140992, 83, 2055, 238, 425, 876, 50878, 19725, 37842, 46312, 11522, 12319, 4527, 42822, 3853, 60199, 178851, 8780, ...
[ 0.12353515625, 0.1878662109375, 0.1627197265625, 0.2139892578125, 0.07379150390625, 0.0794677734375, 0.1376953125, 0.1402587890625, 0.02880859375, 0.1502685546875, 0.1231689453125, 0.1063232421875, 0.0758056640625, 0.022613525390625, 0.1961669921875, 0.1231689453125, 0.071533203125, ...
embed
55885572_c0
55885572
fsharp
0
Title: inner types in a module and creating a record Problem title: inner types in a module and creating a record Tags: f%23 Problem: inner types in a module and creating a record I've a type defined inside a module and trying to create a record of that. namespace ClassLibrary1 module Data = type Location = {Latitude: ...
inner types in a module and creating a record inner types in a module and creating a record f%23 ClassLibrary1 Data Location Latitude Longitude TestProject2 System Microsoft.VisualStudio.TestTools.UnitTesting TestClass TestMethod this.TestMethod3 Console.WriteLine inner types in a module and creating a record I've a ty...
[ -0.005096435546875, 0.0084228515625, -0.017333984375, 0.01153564453125, 0.01385498046875, -0.00701904296875, 0.0225830078125, -0.005340576171875, -0.006103515625, -0.01300048828125, -0.0174560546875, 0.0033111572265625, 0.01220703125, -0.0084228515625, 0.015869140625, 0.001296997070312...
[ 75414, 52895, 23, 88996, 136, 105233, 17164, 1238, 3949, 3742, 35014, 104820, 3701, 90788, 239, 35810, 21753, 8647, 223353, 12353, 7244, 64010, 109023, 111337, 186490, 85600, 140803, 78572, 7352, 363, 40777, 93232, 10644, 61924, 46132, 31577, 2...
[ 0.238037109375, 0.254150390625, 0.0863037109375, 0.2176513671875, 0.018798828125, 0.162841796875, 0.19970703125, 0.00396728515625, 0.00604248046875, 0.10394287109375, 0.07794189453125, 0.05426025390625, 0.013397216796875, 0.05303955078125, 0.005859375, 0.08343505859375, 0.07312011718...
embed
6849557_c0
6849557
fsharp
0
Title: F# A type parameter is missing a constraint Problem title: F# A type parameter is missing a constraint Tags: f%23, generics, type-parameter, type-constraints Problem: F# A type parameter is missing a constraint I'm trying to define a generic addition operator for a wrapper class. So far I have this: (simplified ...
F# A type parameter is missing a constraint F# A type parameter is missing a constraint f%23 generics type-parameter type-constraints Wrap F# A type parameter is missing a constraint I'm trying to define a generic addition operator for a wrapper class. So far I have this: (simplified from the actual code) and indeed it...
[ -0.007293701171875, -0.000316619873046875, 0.006072998046875, 0.01397705078125, -0.01708984375, -0.000453948974609375, -0.0087890625, -0.00213623046875, 0.0027923583984375, -0.01123046875, 0.006256103515625, -0.032958984375, 0.00186920166015625, 0.004730224609375, 0.00860595703125, -0....
[ 563, 4904, 62, 10644, 171859, 132283, 10, 158, 2816, 4288, 1238, 3742, 189534, 6276, 29089, 2271, 13631, 83, 61924, 66044, 39933, 137565, 1264, 18507, 8561, 43240, 25632, 30700, 15190, 104475, 420, 959, 9969, 1340, 18499, 93774, 6746, 11591, ...
[ 0.06390380859375, 0.1282958984375, 0.040313720703125, 0.23291015625, 0.25341796875, 0.1961669921875, 0.0452880859375, 0.1075439453125, 0.195068359375, 0.12646484375, 0.010650634765625, 0.09625244140625, 0.1700439453125, 0.059112548828125, 0.06201171875, 0.0372314453125, 0.11767578125...
embed
44162818_c0
44162818
fsharp
0
Title: f# web api HttpModule Problem title: f# web api HttpModule Tags: f%23 Problem: f# web api HttpModule I am trying to write my own httpModule in f# web api, I am using visual studio 2015. I was able write the code in C# but when I try same code in f# , I get error that it is unable to load class from assembly Test...
f# web api HttpModule f# web api HttpModule f%23 assembly HttpModule Could FSharp.TestHttpMod.TestHttpMod1 FSharp TestHttpMod1 f# web api HttpModule I am trying to write my own httpModule in f# web api, I am using visual studio 2015. I was able write the code in C# but when I try same code in f# , I get error that it i...
[ -0.007171630859375, 0.0135498046875, -0.00040435791015625, 0.006256103515625, -0.0028076171875, 0.00933837890625, 0.006103515625, -0.01239013671875, -0.0172119140625, -0.036376953125, -0.0037384033203125, -0.0032501220703125, -0.001068115234375, -0.014892578125, 0.01361083984375, 0.002...
[ 1238, 4904, 1467, 31470, 572, 3062, 254, 91616, 8782, 3949, 3742, 89845, 191147, 93774, 3467, 111337, 418, 8647, 841, 33022, 10002, 1621, 21176, 12275, 7891, 19048, 18151, 23, 9790, 5701, 18499, 51, 2886, 72367, 18507, 1295, 83, 9351, 16406...
[ 0.151611328125, 0.216064453125, 0.132080078125, 0.1705322265625, 0.07452392578125, 0.13134765625, 0.189453125, 0.224609375, 0.151611328125, 0.021209716796875, 0.153564453125, 0.2117919921875, 0.10400390625, 0.1151123046875, 0.21923828125, 0.1849365234375, 0.1099853515625, 0.1873779...
embed
14297860_c0
14297860
fsharp
0
Title: No property &#x27;HasValue&#x27; exists for nullable int for ODataService Type Provider Problem title: No property &#x27;HasValue&#x27; exists for nullable int for ODataService Type Provider Tags: f%23, type-providers, f%23-3.0 Problem: No property 'HasValue' exists for nullable int for ODataService Type Provide...
No property &#x27;HasValue&#x27; exists for nullable int for ODataService Type Provider No property &#x27;HasValue&#x27; exists for nullable int for ODataService Type Provider f%23 type-providers f%23-3.0 HasValue ODataService Type Provider NetflixData odata.netflix.com Catalog NetflixContext NetflixData.GetDataContext...
[ 0.0140380859375, 0.01141357421875, 0.0177001953125, 0.005523681640625, -0.02099609375, -0.0022430419921875, 0.02685546875, -0.0035552978515625, 0.0074462890625, 0.0086669921875, -0.007781982421875, 0.006561279296875, 0.005401611328125, 0.0101318359375, 0.0030975341796875, 0.00543212890...
[ 438, 57266, 3768, 6495, 7, 856, 50770, 32316, 100, 9229, 2661, 23, 18, 180, 137989, 121979, 60457, 123089, 3742, 10644, 93136, 1238, 27495, 132265, 20625, 59036, 36, 10135, 1179, 148176, 150917, 22829, 618, 217, 808, 163612, 25500, 3430, 16...
[ 0.1123046875, 0.2415771484375, 0.134765625, 0.1983642578125, 0.164794921875, 0.2685546875, 0.2841796875, 0.196533203125, 0.1153564453125, 0.2498779296875, 0.2249755859375, 0.1304931640625, 0.127685546875, 0.18212890625, 0.16552734375, 0.1851806640625, 0.1746826171875, 0.16748046875...
embed
2399946_c0
2399946
fsharp
0
Title: Where to put my xUnit tests for an F# assembly? Problem title: Where to put my xUnit tests for an F# assembly? Tags: xunit.net, tdd, f%23, projects-and-solutions Problem: Where to put my xUnit tests for an F# assembly? I'm working on my first 'real' F# assembly, and trying to do things right. I've managed to get...
Where to put my xUnit tests for an F# assembly? Where to put my xUnit tests for an F# assembly? xunit.net tdd f%23 projects-and-solutions Where xunit.net Where to put my xUnit tests for an F# assembly? I'm working on my first 'real' F# assembly, and trying to do things right. I've managed to get xUnit working too, but ...
[ 0.020263671875, 0.000804901123046875, -0.001556396484375, -0.00958251953125, -0.0213623046875, 0.005828857421875, 0.020751953125, -0.0064697265625, -0.006561279296875, 0.0186767578125, -0.0189208984375, 0.00159454345703125, 0.00118255615234375, 0.00958251953125, -0.0048828125, 0.001342...
[ 78662, 47, 3884, 759, 1022, 85600, 18, 109921, 563, 4904, 89845, 38526, 10438, 6773, 1179, 4028, 1238, 3742, 77635, 166589, 100, 20697, 30544, 7108, 3034, 88996, 46132, 5701, 15044, 200513, 110518, 23552, 18151, 20668, 61687, 150624, 54969, 3...
[ 0.1295166015625, 0.0406494140625, 0.1282958984375, 0.01141357421875, 0.1263427734375, 0.2249755859375, 0.1395263671875, 0.26220703125, 0.09234619140625, 0.1865234375, 0.1495361328125, 0.065185546875, 0.0694580078125, 0.1705322265625, 0.05792236328125, 0.032470703125, 0.05282592773437...
embed
68461824_c0
68461824
fsharp
0
Title: is there a more idiomatic way to achive these sequential test, in F# Problem title: is there a more idiomatic way to achive these sequential test, in F# Tags: f%23 Problem: is there a more idiomatic way to achive these sequential test, in F# I have a function (let's call it 'doSomething') that returns: ('a * 'b)...
is there a more idiomatic way to achive these sequential test, in F# is there a more idiomatic way to achive these sequential test, in F# f%23 testA.IsSome testA.Value testB.IsSome testB.Value testC.IsSome testC.Value is there a more idiomatic way to achive these sequential test, in F# I have a function (let's call it ...
[ 0.01336669921875, -0.0086669921875, 0.00457763671875, 0.0098876953125, 0.0101318359375, -0.0021209716796875, 0.013427734375, -0.005340576171875, 0.00543212890625, -0.0107421875, -0.00173187255859375, 0.0277099609375, -0.0223388671875, 0.006317138671875, 0.025146484375, 0.018310546875, ...
[ 1286, 49666, 9523, 3917, 8225, 5844, 6097, 243228, 289, 3034, 563, 4904, 1238, 3949, 3742, 29598, 8912, 282, 856, 50770, 23, 32354, 246, 64113, 30646, 1884, 69307, 16487, 181135, 125195, 183234, 8781, 6002, 86531, 2806, 13695, 71924, 12960, ...
[ 0.1064453125, 0.1929931640625, 0.1298828125, 0.05963134765625, 0.083984375, 0.089111328125, 0.08447265625, 0.177490234375, 0.09912109375, 0.197998046875, 0.1016845703125, 0.1768798828125, 0.061553955078125, 0.0482177734375, 0.1556396484375, 0.0828857421875, 0.0609130859375, 0.04931...
embed
48007214_c0
48007214
fsharp
0
Title: Inheriting Multiple Classes in F# Problem title: Inheriting Multiple Classes in F# Tags: inheritance, f%23, superclass, swift, uicollectionview Problem: Inheriting Multiple Classes in F# I have the following class definition in Swift: class LandlordHome : UIViewController, UICollectionViewDelegate, UICollectionV...
Inheriting Multiple Classes in F# Inheriting Multiple Classes in F# inheritance f%23 superclass swift uicollectionview Inheriting Multiple Classes LandlordHome UIViewController UICollectionViewDelegate UICollectionViewDataSource Register handle:IntPtr Inheriting Multiple Classes in F# I have the following class definit...
[ -0.010009765625, 0.00616455078125, -0.017822265625, 0.0081787109375, -0.012939453125, -0.00250244140625, 0.0025177001953125, -0.0130615234375, 0.0057373046875, -0.0294189453125, 0.0059814453125, -0.029052734375, 0.01043701171875, 0.0068359375, -0.0157470703125, 0.003173828125, 0.0002...
[ 360, 86151, 1916, 19335, 8705, 35014, 90, 23, 563, 4904, 3334, 217, 1238, 3949, 3742, 1601, 67413, 91, 2452, 2480, 75, 14, 196352, 22751, 6557, 1484, 55376, 111481, 100474, 175904, 345, 45878, 3257, 211235, 131423, 34831, 18, 4448, 70, 25...
[ 0.04962158203125, 0.2239990234375, 0.04248046875, 0.16162109375, 0.1829833984375, 0.259033203125, 0.01629638671875, 0.06884765625, 0.1402587890625, 0.209228515625, 0.1820068359375, 0.094482421875, 0.07293701171875, 0.0142364501953125, 0.1029052734375, 0.09954833984375, 0.196411132812...
embed
2973250_c0
2973250
fsharp
0
Title: Rfactor this F# code to tail recursion Problem title: Rfactor this F# code to tail recursion Tags: tail-recursion, f%23 Problem: Rfactor this F# code to tail recursion I write some code to learning F#. Here is a example: let nextPrime list= let rec loop n= match n with | _ when (list |> List.filter (fun x -> x <...
Rfactor this F# code to tail recursion Rfactor this F# code to tail recursion tail-recursion f%23 Rfactor List.filter List.forall List.max n-1 Rfactor this F# code to tail recursion I write some code to learning F#. Here is a example: I'm very happy that it just works! I'm totally beginner to recursion Recursion is a w...
[ -0.007049560546875, 0.0223388671875, 0.026611328125, 0.012451171875, 0.0242919921875, -0.002593994140625, 0.00457763671875, -0.0296630859375, 0.0050048828125, -0.02587890625, 0.0220947265625, 0.01202392578125, 0.00677490234375, -0.01422119140625, 0.0167236328125, 0.00457763671875, 0....
[ 627, 144810, 903, 563, 4904, 18151, 47, 46741, 195625, 1830, 107, 48650, 1238, 3949, 3742, 32036, 120337, 2472, 5584, 24084, 653, 5759, 33022, 52080, 27781, 4552, 17723, 450, 1660, 43240, 87, 112668, 9842, 1679, 165428, 42, 6889, 58867, 135...
[ 0.1376953125, 0.3046875, 0.0980224609375, 0.125, 0.187255859375, 0.169677734375, 0.1009521484375, 0.259765625, 0.2237548828125, 0.09368896484375, 0.07427978515625, 0.1859130859375, 0.10888671875, 0.005584716796875, 0.133056640625, 0.136474609375, 0.1837158203125, 0.005950927734375,...
embed
27048616_c0
27048616
fsharp
0
Title: Constraint produces &quot;This construct causes code to be less generic...&quot; Problem title: Constraint produces &quot;This construct causes code to be less generic...&quot; Tags: f%23 Problem: Constraint produces "This construct causes code to be less generic..." I am trying to use a generic with a constrain...
Constraint produces &quot;This construct causes code to be less generic...&quot; Constraint produces &quot;This construct causes code to be less generic...&quot; f%23 Constraint Test Foo Bar:string NotUsed:string Foo2 Shared Item Bar item.Bar Constraint produces "This construct causes code to be less generic..." I am t...
[ 0.0013427734375, -0.005706787109375, -0.00506591796875, 0.0002079010009765625, 0.01434326171875, -0.012939453125, -0.0174560546875, -0.00286865234375, 0.013671875, -0.006439208984375, 0.002838134765625, -0.00457763671875, 0.01153564453125, 0.006744384765625, 0.0009765625, -0.0052490234...
[ 1657, 2816, 4288, 27489, 73243, 64549, 113660, 18151, 186, 40715, 189534, 3742, 8647, 9572, 31, 3253, 91693, 11205, 1062, 5281, 304, 29790, 78426, 35735, 25267, 31577, 47, 4527, 678, 158, 63769, 17203, 57266, 171859, 40266, 46132, 32354, 9969...
[ 0.077392578125, 0.1900634765625, 0.135986328125, 0.1187744140625, 0.1083984375, 0.203125, 0.11181640625, 0.175537109375, 0.036376953125, 0.180908203125, 0.23193359375, 0.0894775390625, 0.1207275390625, 0.1102294921875, 0.0699462890625, 0.11572265625, 0.07391357421875, 0.03826904296...
embed
56300298_c0
56300298
fsharp
0
Title: FParsec: how to omit `many` parser failures from error messages Problem title: FParsec: how to omit `many` parser failures from error messages Tags: fparsec, parser-combinators, f%23 Problem: FParsec: how to omit `many` parser failures from error messages Consider this parser that converts digit strings to int s...
FParsec: how to omit `many` parser failures from error messages FParsec: how to omit `many` parser failures from error messages fparsec parser-combinators f%23 error FParsec s:string Int32.TryParse Number many1Chars Col Expecting Note Other System EntryPoint Failure Success FParsec: how to omit `many` parser failures f...
[ -0.0087890625, 0.01312255859375, -0.004852294921875, 0.01312255859375, -0.004425048828125, 0.0189208984375, 0.01153564453125, -0.01116943359375, 0.009521484375, -0.020751953125, 0.004180908203125, -0.01214599609375, -0.00098419189453125, 0.01416015625, 0.0009765625, -0.0091552734375, ...
[ 563, 28636, 39797, 3642, 171, 217, 669, 53, 366, 2189, 137578, 1295, 18499, 89914, 1238, 2500, 19155, 22230, 3949, 3742, 91, 91693, 360, 18, 6460, 1294, 184, 103332, 5941, 418, 84068, 11554, 60075, 24762, 18622, 12353, 357, 15123, 147534, ...
[ 0.0726318359375, 0.14404296875, 0.15869140625, 0.018829345703125, 0.1148681640625, 0.10693359375, 0.09619140625, 0.0677490234375, 0.1480712890625, 0.139404296875, 0.182861328125, 0.0423583984375, 0.1478271484375, 0.1109619140625, 0.0614013671875, 0.08868408203125, 0.12060546875, 0....
embed
15690053_c0
15690053
fsharp
0
Title: Impredicative polymorphism in F# Problem title: Impredicative polymorphism in F# Tags: impredicativetypes, coq, f%23, ocaml, polymorphism Problem: Impredicative polymorphism in F# OCaml's Hindley-Milner type system does not allow for impredicative polymorphism (à la System-F), except through a somewhat recent ex...
Impredicative polymorphism in F# Impredicative polymorphism in F# impredicativetypes coq f%23 ocaml polymorphism Impredicative Obj.magic Impredicative polymorphism in F# OCaml's Hindley-Milner type system does not allow for impredicative polymorphism (à la System-F), except through a somewhat recent extension for recor...
[ -0.00543212890625, -0.00946044921875, 0.007415771484375, -0.01141357421875, 0.0078125, 0.0233154296875, -0.001861572265625, 0.0142822265625, 0.01251220703125, -0.03466796875, 0.010498046875, 0.00689697265625, -0.004486083984375, -0.0228271484375, -0.002593994140625, -0.01953125, 0.00...
[ 29128, 107, 18601, 4935, 35874, 178851, 563, 4904, 8780, 73340, 50986, 552, 864, 1238, 3949, 3742, 36, 9779, 141, 3545, 170, 91088, 180, 105272, 67944, 4293, 92369, 1679, 10644, 5426, 959, 63769, 12353, 9, 919, 111938, 17164, 52895, 68018, ...
[ 0.030303955078125, 0.1187744140625, 0.162353515625, 0.045013427734375, 0.1807861328125, 0.20947265625, 0.122802734375, 0.221435546875, 0.041046142578125, 0.1693115234375, 0.182373046875, 0.06414794921875, 0.162353515625, 0.046661376953125, 0.034637451171875, 0.1077880859375, 0.048645...
embed
10825230_c0
10825230
fsharp
0
Title: Fsharp - types compilation error Problem title: Fsharp - types compilation error Tags: fsharpchart, f%23, filesystems Problem: Fsharp - types compilation error I am new to F#, and I'd love to get some help :) I have ? compilation error on this code, and I can't figure it out: printfn "Please enter the path for t...
Fsharp - types compilation error Fsharp - types compilation error fsharpchart f%23 filesystems Fsharp Please Jack System.Console.ReadLine List Directory.GetFiles Seq.iteri Path.GetExtension Equals JackFiles.Add Fsharp - types compilation error I am new to F#, and I'd love to get some help :) I have ? compilation error ...
[ 0.0162353515625, 0.01507568359375, -0.004791259765625, 0.002349853515625, -0.0252685546875, 0.0277099609375, -0.00799560546875, 0.006317138671875, -0.0189208984375, -0.018798828125, -0.00183868408203125, -0.005615234375, -0.001312255859375, 0.0106201171875, 0.0179443359375, 0.023315429...
[ 563, 89280, 254, 52895, 98352, 18499, 1238, 9254, 18, 3742, 11435, 16751, 30607, 21763, 12353, 40777, 31345, 93232, 32036, 31068, 126, 174350, 864, 14465, 108421, 19279, 128872, 71723, 4028, 4904, 5161, 4358, 705, 1363, 903, 18151, 26366, 996...
[ 0.1214599609375, 0.2000732421875, 0.1702880859375, 0.18798828125, 0.206298828125, 0.166259765625, 0.0648193359375, 0.1331787109375, 0.04833984375, 0.0941162109375, 0.031890869140625, 0.07330322265625, 0.06451416015625, 0.1844482421875, 0.0292510986328125, 0.06201171875, 0.07763671875...
embed
1929811_c0
1929811
fsharp
0
Title: Haskell map function with where statement in F# Problem title: Haskell map function with where statement in F# Tags: f%23, haskell Problem: Haskell map function with where statement in F# I am trying to port this haskell function to F# subs :: [a] -> [[a]] subs [] = [[]] subs (x:xs) = ys ++ map (x:) ys where ys ...
Haskell map function with where statement in F# Haskell map function with where statement in F# f%23 haskell Haskell x:xs x::xs List.map Haskell map function with where statement in F# I am trying to port this haskell function to F# example subs [1,2,3] returns: [[],[3],[2],[2,3],[1],[1,3],[1,2],[1,2,3]] returns all su...
[ -0.00148773193359375, 0.0196533203125, 0.0133056640625, -0.0172119140625, -0.020751953125, 0.005767822265625, 0.002349853515625, 0.014404296875, 0.0172119140625, 0.004913330078125, 0.015869140625, -0.019287109375, 0.01336669921875, 0.00848388671875, 0.0018310546875, 0.011474609375, 0...
[ 20625, 142508, 22288, 32354, 678, 7440, 63805, 23, 563, 4904, 1238, 3949, 3742, 1556, 1022, 12, 425, 7, 32036, 62346, 31577, 11469, 47, 27781, 1614, 155761, 30646, 54968, 39556, 133063, 96386, 756, 40, 26513, 5303, 34475, 7722, 162515, 3904...
[ 0.1566162109375, 0.2174072265625, 0.232177734375, 0.1634521484375, 0.084228515625, 0.2298583984375, 0.219970703125, 0.0521240234375, 0.141845703125, 0.1854248046875, 0.0750732421875, 0.051605224609375, 0.1485595703125, 0.1444091796875, 0.06024169921875, 0.1142578125, 0.092529296875, ...
embed
27359370_c0
27359370
fsharp
0
Title: Type mismatch with pattern matching Problem title: Type mismatch with pattern matching Tags: f%23 Problem: Type mismatch with pattern matching I have a code which works fine: let rec calculate s l acc = if length s = 0 then acc else if first s = l then calculate (rest s) l (acc+1) else calculate (rest s) (first ...
Type mismatch with pattern matching Type mismatch with pattern matching f%23 Type Type mismatch with pattern matching I have a code which works fine: I want to rewrite it using pattern matching: But last function returns the error message: Why ?
[ 0.0022735595703125, 0.00933837890625, -0.01385498046875, 0.005126953125, -0.002532958984375, -0.0235595703125, -0.01226806640625, 0.0130615234375, 0.0281982421875, 0.00122833251953125, 0.024658203125, -0.01263427734375, -0.005889892578125, -0.0233154296875, 0.02001953125, 0.00030326843...
[ 60457, 1239, 98753, 678, 103510, 14858, 214, 1238, 3949, 3742, 87, 765, 18151, 43240, 5885, 3444, 456, 434, 18781, 17368, 4966, 4568, 32354, 30646, 70, 18499, 26008, 44084 ]
[ 0.1885986328125, 0.154541015625, 0.25927734375, 0.1064453125, 0.23193359375, 0.2137451171875, 0.11865234375, 0.094970703125, 0.0755615234375, 0.147705078125, 0.00225830078125, 0.00543212890625, 0.12353515625, 0.049285888671875, 0.053863525390625, 0.04693603515625, 0.1192626953125, ...
embed
5523051_c0
5523051
fsharp
0
Title: Record with parameterless constructor? Problem title: Record with parameterless constructor? Tags: entity-framework, asp.net-mvc-3, f%23 Problem: Record with parameterless constructor? I'm trying to build a web app (ASP.NET MVC3) that uses Entity Framework, and I've once again hit a wall. It throws following exc...
Record with parameterless constructor? Record with parameterless constructor? entity-framework asp.net-mvc-3 f%23 Record News ID:int Author:string Title:string Content:string asp.net-mvc-3 Record with parameterless constructor? I'm trying to build a web app (ASP.NET MVC3) that uses Entity Framework, and I've once again...
[ -0.00848388671875, 0.0269775390625, -0.00982666015625, -0.0086669921875, 0.01416015625, 0.012451171875, -0.01129150390625, 0.0006866455078125, -0.002685546875, -0.061279296875, 0.0010833740234375, 0.000823974609375, 0.0003833770751953125, 0.009521484375, 0.009033203125, -0.024291992187...
[ 54877, 678, 171859, 9393, 64549, 748, 77630, 160328, 18244, 254, 1179, 66357, 8316, 3742, 1833, 11338, 70870, 91693, 237, 31577, 45367, 1467, 4027, 9434, 17777, 276, 56349, 21320, 16511, 2481, 202220, 24145, 13438, 5962, 58982, 104250, 25632, ...
[ 0.25439453125, 0.1156005859375, 0.21240234375, 0.1939697265625, 0.1942138671875, 0.1304931640625, 0.079345703125, 0.0338134765625, 0.005462646484375, 0.07147216796875, 0.0843505859375, 0.1402587890625, 0.1549072265625, 0.006378173828125, 0.044189453125, 0.0214996337890625, 0.03393554...
embed