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
4065072_c0
4065072
fsharp
0
Title: F# something goes wrong Problem title: F# something goes wrong Tags: types, f%23 Problem: F# something goes wrong can anyone help me with this F# code? I am a F# beginner and I have a problem with it. Big thanks let rec rem l xs = match xs with | [] -> [] | x::xs -> if x>l then rem l y else x::(rem l y) let rec ...
F# something goes wrong F# something goes wrong types f%23 x::xs minfree1 l:long List.length F# something goes wrong can anyone help me with this F# code? I am a F# beginner and I have a problem with it. Big thanks
[ 0.0031585693359375, 0.0166015625, 0.0233154296875, -0.01055908203125, -0.0019989013671875, -0.00823974609375, 0.0030517578125, -0.00003981590270996094, 0.0167236328125, -0.00848388671875, 0.002227783203125, 0.0057373046875, 0.03564453125, 0.01080322265625, 0.0186767578125, -0.007019042...
[ 563, 4904, 9844, 60899, 44691, 52895, 1238, 3949, 3742, 1022, 425, 7, 881, 32087, 96, 10617, 32036, 23986, 831, 35672, 4358, 163, 678, 903, 18151, 32, 444, 9842, 1679, 765, 10, 2967, 45458 ]
[ 0.197509765625, 0.238525390625, 0.158935546875, 0.1583251953125, 0.2310791015625, 0.1826171875, 0.14404296875, 0.0252227783203125, 0.11474609375, 0.0687255859375, 0.074462890625, 0.012237548828125, 0.1307373046875, 0.1776123046875, 0.0142974853515625, 0.0243988037109375, 0.1672363281...
embed
43244671_c0
43244671
fsharp
0
Title: f# async cancel or continue Problem title: f# async cancel or continue Tags: f%23, asynchronous Problem: f# async cancel or continue How do I implement an async function that will check each result of multiple parallel async functions and cancels them all if a certain result is found (say a bool returns false). ...
f# async cancel or continue f# async cancel or continue f%23 asynchronous f# async cancel or continue How do I implement an async function that will check each result of multiple parallel async functions and cancels them all if a certain result is found (say a bool returns false). Otherwise it will let all the async fu...
[ 0.0014495849609375, 0.00897216796875, 0.0194091796875, -0.01300048828125, -0.01953125, -0.00872802734375, 0.0196533203125, -0.0031585693359375, 0.01068115234375, 0.021484375, -0.010498046875, 0.0103759765625, -0.0123291015625, -0.005340576171875, 0.0172119140625, -0.00090789794921875, ...
[ 1238, 4904, 10, 12654, 238, 53017, 707, 21342, 3949, 3742, 101966, 87, 29479, 32354, 1221, 12765, 12638, 16750, 111, 48716, 95103, 136, 2856, 756, 2174, 24233, 14037, 142484, 30646, 98320, 2633, 28484, 2704, 29568, 37842, 62, 107522, 2980, ...
[ 0.11669921875, 0.18505859375, 0.06842041015625, 0.243896484375, 0.1107177734375, 0.274658203125, 0.1068115234375, 0.2198486328125, 0.00537109375, 0.13232421875, 0.115966796875, 0.0054931640625, 0.177734375, 0.1934814453125, 0.040985107421875, 0.2161865234375, 0.07061767578125, 0.15...
embed
28115431_c1
28115431
fsharp
1
result as choice1 & 2? EDIT: It seems that changing choice4 to this: let choice4 : Choice<string, Object> = Choice1Of2 "test" works it out. It's just totally unclear to me why I need that there. The right side of the assignment is as clear as day to what type is being set. Code signals: the, Trying, Choice, TestModule...
result as choice1 & 2? EDIT: It seems that changing choice4 to this: let choice4 : Choice<string, Object> = Choice1Of2 "test" works it out. It's just totally unclear to me why I need that there. The right side of the assignment is as clear as day to what type is being set. Code signals: the, Trying, Choice, TestModule...
[ -0.0240478515625, 0.00775146484375, 0.01092529296875, 0.028564453125, 0.006805419921875, -0.00051116943359375, -0.02294921875, 0.000949859619140625, 0.005615234375, 0.0308837890625, -0.0025482177734375, 0.007354736328125, 0.0029449462890625, 0.00994873046875, 0.0029144287109375, 0.0057...
[ 16750, 237, 44126, 418, 619, 116, 151134, 617, 903, 2633, 181948, 91693, 134549, 132887, 304, 6954, 43240, 1810, 119488, 15400, 3871, 7108, 5609, 95486, 674, 34735, 10644, 5423, 28864, 26073, 70, 40858, 214, 8647, 91616, 8782, 7244, 6609, 6...
[ 0.1826171875, 0.06683349609375, 0.1903076171875, 0.05401611328125, 0.094482421875, 0.151123046875, 0.1214599609375, 0.1829833984375, 0.0465087890625, 0.0294952392578125, 0.2030029296875, 0.1651611328125, 0.1982421875, 0.1866455078125, 0.1063232421875, 0.2125244140625, 0.0340881347656...
embed
59323412_c0
59323412
fsharp
0
Title: Deserializing private types in F# with Newtonsoft.Json Problem title: Deserializing private types in F# with Newtonsoft.Json Tags: f%23, json Problem: Deserializing private types in F# with Newtonsoft.Json When working with Newtonsoft.Json, how do you deserialize private types? For example: [<CLIMuteable>] type ...
Deserializing private types in F# with Newtonsoft.Json Deserializing private types in F# with Newtonsoft.Json f%23 json Deserializing Newtonsoft.Json CLIMuteable Foo Bar:string Newtonsoft.Json.JsonCovert.DeserializeObject Deserializing private types in F# with Newtonsoft.Json When working with Newtonsoft.Json, how do y...
[ -0.000713348388671875, 0.0213623046875, -0.00897216796875, 0.00823974609375, 0.0137939453125, 0.001983642578125, -0.0067138671875, -0.00860595703125, -0.01092529296875, 0.01220703125, 0.01275634765625, 0.029541015625, 0.004547119140625, 0.018798828125, 0.0191650390625, -0.0123901367187...
[ 262, 184, 51626, 84382, 14375, 52895, 563, 4904, 678, 145076, 61306, 1375, 1681, 1238, 3742, 1647, 83318, 6743, 2886, 9572, 31, 3253, 91693, 5, 11549, 73347, 25435, 119066, 75161, 20697, 3642, 224, 1326 ]
[ 0.1141357421875, 0.10723876953125, 0.1416015625, 0.051422119140625, 0.1922607421875, 0.201904296875, 0.0897216796875, 0.15478515625, 0.02069091796875, 0.1712646484375, 0.1845703125, 0.081787109375, 0.1312255859375, 0.043426513671875, 0.053070068359375, 0.035614013671875, 0.0725708007...
embed
45526413_c0
45526413
fsharp
0
Title: How do I do I execute tests in Debug mode using .Net Core and VSCode? Problem title: How do I do I execute tests in Debug mode using .Net Core and VSCode? Tags: .net-core, f%23, visual-studio-code Problem: How do I do I execute tests in Debug mode using .Net Core and VSCode? How do I execute tests in Debug mode ...
How do I do I execute tests in Debug mode using .Net Core and VSCode? How do I do I execute tests in Debug mode using .Net Core and VSCode? .net-core f%23 visual-studio-code Net How Debug Core VSCode Test How do I do I execute tests in Debug mode using .Net Core and VSCode? How do I execute tests in Debug mode using .N...
[ -0.004791259765625, 0.003387451171875, -0.006195068359375, 0.02294921875, 0.0081787109375, -0.0142822265625, 0.00823974609375, 0.0181884765625, 0.00188446044921875, 0.01495361328125, 0.019775390625, 0.01483154296875, -0.000591278076171875, 0.02783203125, 0.01373291015625, 0.03149414062...
[ 11249, 71924, 109921, 23, 262, 85779, 13736, 17368, 24447, 31365, 136, 44160, 114211, 87, 1179, 30854, 3742, 21176, 52629, 40899, 10086, 8647, 82424, 51042, 25632, 75101, 13315, 959, 8, 243, 934, 978, 21407 ]
[ 0.041961669921875, 0.1468505859375, 0.245361328125, 0.07525634765625, 0.1417236328125, 0.2666015625, 0.1370849609375, 0.049896240234375, 0.09368896484375, 0.2159423828125, 0.06182861328125, 0.1419677734375, 0.2489013671875, 0.004119873046875, 0.060272216796875, 0.16943359375, 0.08306...
embed
6615982_c0
6615982
fsharp
0
Title: What is the nature of F# exception type Problem title: What is the nature of F# exception type Tags: exception, f%23 Problem: What is the nature of F# exception type I am learning F# and I found an interesting question. We can use F# type exception exception MyExpetion of string However, when we match it, we can...
What is the nature of F# exception type What is the nature of F# exception type exception f%23 What MyExpetion What is the nature of F# exception type I am learning F# and I found an interesting question. We can use F# type exception However, when we match it, we can use the same syntax as matching a discriminated unio...
[ -0.00433349609375, 0.0174560546875, -0.004364013671875, 0.0030670166015625, 0.0146484375, 0.0034332275390625, -0.004119873046875, 0.014404296875, 0.004913330078125, -0.006378173828125, 0.0113525390625, -0.00469970703125, -0.00286865234375, -0.01043701171875, 0.01104736328125, -0.006561...
[ 4865, 83, 70, 31425, 111, 563, 4904, 131527, 10644, 1238, 3949, 3742, 2646, 19279, 1081, 1363, 52080, 49041, 831, 4527, 14858, 442, 5701, 6002, 86531, 55970, 3674, 69941, 1733, 12353, 63928, 16940 ]
[ 0.05487060546875, 0.06640625, 0.055450439453125, 0.1702880859375, 0.059814453125, 0.1624755859375, 0.236328125, 0.22900390625, 0.1844482421875, 0.07110595703125, 0.0194244384765625, 0.0780029296875, 0.095947265625, 0.0853271484375, 0.14697265625, 0.0765380859375, 0.005828857421875, ...
embed
5063422_c0
5063422
fsharp
0
Title: visual studio 2010 fsproj not supported Problem title: visual studio 2010 fsproj not supported Tags: f%23, visual-studio-2010 Problem: visual studio 2010 fsproj not supported I have Visual Studio 2010 at home and at another location. I tried running a fsproj project from home at this other location and when I op...
visual studio 2010 fsproj not supported visual studio 2010 fsproj not supported f%23 visual-studio-2010 visual-studio-2010 visual studio 2010 fsproj not supported I have Visual Studio 2010 at home and at another location. I tried running a fsproj project from home at this other location and when I open the sollution it...
[ 0.0106201171875, 0.04052734375, -0.00872802734375, -0.013916015625, 0.006134033203125, -0.00848388671875, -0.025634765625, -0.025146484375, -0.03564453125, 0.00946044921875, -0.0133056640625, 0.0003147125244140625, 0.00537109375, -0.00244140625, 0.002044677734375, 0.0106201171875, -0...
[ 21176, 12275, 1532, 1238, 47606, 897, 959, 8060, 3949, 3742, 52629, 73552, 297, 73372, 22968, 5368, 31913, 37842, 51042, 13452, 3789, 9803, 9519, 34, 1363, 17378, 442, 501, 89280, 254, 29806, 72367, 5885, 25647, 15400, 18499, 16065 ]
[ 0.1712646484375, 0.1923828125, 0.2083740234375, 0.114013671875, 0.1513671875, 0.275634765625, 0.1317138671875, 0.226806640625, 0.015899658203125, 0.0985107421875, 0.181640625, 0.18310546875, 0.051177978515625, 0.1766357421875, 0.19970703125, 0.0770263671875, 0.0682373046875, 0.0150...
embed
23301781_c0
23301781
fsharp
0
Title: Multiplying decimal and integer F# Problem title: Multiplying decimal and integer F# Tags: type-conversion, f%23 Problem: Multiplying decimal and integer F# I'm learning f#. Considering this function: let mult (a:decimal) (b:int) : decimal = a * b When I try to compile I get this error: Error 1 Type constraint m...
Multiplying decimal and integer F# Multiplying decimal and integer F# type-conversion f%23 Multiplying a:decimal b:int Multiplying decimal and integer F# I'm learning f#. Considering this function: When I try to compile I get this error: Error 1 Type constraint mismatch. The type int is not compatible with type decimal...
[ -0.0098876953125, -0.0064697265625, 0.025634765625, 0.0152587890625, -0.00244140625, 0.0235595703125, -0.01904296875, -0.00677490234375, -0.01141357421875, -0.00106048583984375, -0.0062255859375, -0.006103515625, -0.0030059814453125, 0.0235595703125, 0.00848388671875, -0.035888671875, ...
[ 19335, 62479, 32380, 2749, 136, 892, 563, 4904, 1505, 10644, 2271, 46354, 1238, 3742, 10, 170753, 289, 876, 4288, 52080, 137399, 32354, 14847, 9790, 9969, 1340, 903, 18499, 212059, 106, 60457, 158, 2816, 1239, 98753, 23, 18, 959, 146731, ...
[ 0.09814453125, 0.147216796875, 0.1943359375, 0.113525390625, 0.09490966796875, 0.100341796875, 0.119873046875, 0.1768798828125, 0.03436279296875, 0.16552734375, 0.041107177734375, 0.111083984375, 0.07806396484375, 0.1173095703125, 0.07061767578125, 0.1851806640625, 0.0631103515625, ...
embed
19580847_c0
19580847
fsharp
0
Title: Consuming Discriminated Union types in variable bindings Problem title: Consuming Discriminated Union types in variable bindings Tags: discriminated-union, f%23, types Problem: Consuming Discriminated Union types in variable bindings I have made a custom type and would like to create 2 variables that prove my ty...
Consuming Discriminated Union types in variable bindings Consuming Discriminated Union types in variable bindings discriminated-union f%23 types Consuming Discriminated Union Consuming Discriminated Union types in variable bindings I have made a custom type and would like to create 2 variables that prove my type works ...
[ -0.00165557861328125, 0.00634765625, 0.004608154296875, 0.0216064453125, -0.0027923583984375, 0.01153564453125, -0.0322265625, 0.01397705078125, 0.02490234375, 0.009765625, 0.00096893310546875, -0.010498046875, 0.01904296875, 0.0081787109375, 0.00909423828125, 0.006378173828125, 0.02...
[ 76980, 214, 6206, 135421, 3674, 32528, 52895, 23, 77336, 128239, 55970, 87046, 1238, 3949, 3742, 7228, 114122, 10644, 2806, 1884, 28282, 116, 7, 23534, 759, 43240, 237, 84751, 11249, 5608, 15549, 70, 21635, 5256, 37772, 2856, 47, 14012, 114...
[ 0.193603515625, 0.055267333984375, 0.07415771484375, 0.1981201171875, 0.04754638671875, 0.197998046875, 0.22314453125, 0.07562255859375, 0.24951171875, 0.201416015625, 0.1998291015625, 0.1561279296875, 0.072998046875, 0.08197021484375, 0.1610107421875, 0.044219970703125, 0.1641845703...
embed
73416468_c0
73416468
fsharp
0
Title: &quot;Hello&quot; |&gt; printfn generates an error in F# Problem title: &quot;Hello&quot; |&gt; printfn generates an error in F# Tags: function, pipeline, f%23 Problem: "Hello" |> printfn generates an error in F# https://tryfsharp.fsbolero.io/ printfn "Hello" works as expected without errors, however, using pipe...
&quot;Hello&quot; |&gt; printfn generates an error in F# &quot;Hello&quot; |&gt; printfn generates an error in F# function pipeline f%23 Hello "Hello" |> printfn generates an error in F# https://tryfsharp.fsbolero.io/ works as expected without errors, however, using pipe operator I understood the pipe operator behavior...
[ 0.00921630859375, 0.0084228515625, 0.0164794921875, 0.02392578125, -0.0225830078125, -0.0206298828125, 0.001861572265625, -0.01470947265625, -0.00982666015625, -0.0213623046875, -0.0003414154052734375, -0.0023193359375, 0.0048828125, -0.0072021484375, 0.0166015625, -0.0054931640625, ...
[ 41502, 841, 13817, 1230, 74, 6, 5386, 28412, 14783, 139392, 7, 142, 18499, 23, 563, 4904, 32354, 137158, 2256, 1238, 3742, 35378, 15123, 420, 89280, 254, 17447, 61217, 516, 5, 846, 43240, 84751, 15490, 4, 17368, 39933, 217064, 123166, 132...
[ 0.065673828125, 0.1343994140625, 0.2264404296875, 0.005035400390625, 0.0333251953125, 0.03277587890625, 0.080322265625, 0.2242431640625, 0.236572265625, 0.2100830078125, 0.038970947265625, 0.015960693359375, 0.211669921875, 0.041534423828125, 0.1466064453125, 0.2098388671875, 0.15466...
embed
48574028_c0
48574028
fsharp
0
Title: Higher order function in F# Problem title: Higher order function in F# Tags: f%23, functional-programming, lambda Problem: Higher order function in F# Hi everyone I want to express the function call to test1 without firstly defining the function higher let higher = fun a b -> a>b let rec test1 test2 number list=...
Higher order function in F# Higher order function in F# f%23 functional-programming lambda Higher test1 test2 x1::xs x1::test1 Higher order function in F# Hi everyone I want to express the function call to test1 without firstly defining the function higher
[ -0.0093994140625, -0.00008440017700195312, 0.01043701171875, -0.005340576171875, 0.0191650390625, 0.0045166015625, 0.003936767578125, 0.01116943359375, 0.0140380859375, -0.01416015625, 0.020263671875, 0.01385498046875, -0.0277099609375, -0.01397705078125, 0.0294189453125, -0.0229492187...
[ 19694, 56, 12989, 32354, 563, 4904, 23, 1238, 3949, 3742, 123309, 28966, 6492, 85, 3034, 418, 304, 1022, 82825, 425, 7, 6954, 30309, 3444, 36510, 11782, 47, 15490, 5117, 13204, 77546 ]
[ 0.1015625, 0.05706787109375, 0.1781005859375, 0.1827392578125, 0.10601806640625, 0.197509765625, 0.002899169921875, 0.0418701171875, 0.007598876953125, 0.0955810546875, 0.0906982421875, 0.045257568359375, 0.0916748046875, 0.041015625, 0.1826171875, 0.0858154296875, 0.08172607421875, ...
embed
5054253_c0
5054253
fsharp
0
Title: Silverlight F# library and WCF Problem title: Silverlight F# library and WCF Tags: wcf, silverlight, f%23, c%23, .net Problem: Silverlight F# library and WCF I have a WCF service(maybe multiple services) and a client in Silverlight(C#). As I read somewhere on the web F# is great for async and parallel programmin...
Silverlight F# library and WCF Silverlight F# library and WCF wcf silverlight f%23 c%23 .net Silverlight WCF Silverlight F# library and WCF I have a WCF service(maybe multiple services) and a client in Silverlight(C#). As I read somewhere on the web F# is great for async and parallel programming. I want to give F# a tr...
[ -0.00006866455078125, -0.000518798828125, 0.00048828125, -0.002960205078125, -0.01080322265625, -0.00157928466796875, -0.000713348388671875, 0.01165771484375, 0.0120849609375, -0.002044677734375, -0.01129150390625, 0.0078125, -0.000949859619140625, 0.01123046875, 0.0021514892578125, -0...
[ 57035, 20016, 563, 4904, 35773, 1294, 136, 37808, 919, 148, 67466, 115392, 1238, 3742, 1179, 4516, 48716, 11374, 23282, 6782, 100, 12654, 95103, 56037, 449, 3444, 8337, 9790, 33022, 127219, 34831, 193857, 30646, 16750, 2499, 72382, 40494, 520...
[ 0.177978515625, 0.212158203125, 0.1358642578125, 0.2310791015625, 0.2158203125, 0.09307861328125, 0.07342529296875, 0.1326904296875, 0.183349609375, 0.0126953125, 0.1534423828125, 0.1513671875, 0.06524658203125, 0.007537841796875, 0.134033203125, 0.119873046875, 0.07928466796875, 0...
embed
14929470_c0
14929470
fsharp
0
Title: Is possible to define same-named operator for different argument count? Problem title: Is possible to define same-named operator for different argument count? Tags: operators, f%23, syntax Problem: Is possible to define same-named operator for different argument count? Is possible to define same-named operator f...
Is possible to define same-named operator for different argument count? Is possible to define same-named operator for different argument count? operators f%23 syntax Is possible to define same-named operator for different argument count? Is possible to define same-named operator for different argument count? And if it ...
[ 0.006683349609375, 0.003997802734375, 0.0030670166015625, 0.007415771484375, 0.00250244140625, -0.0208740234375, 0.0079345703125, -0.00170135498046875, 0.011962890625, -0.00372314453125, -0.0002918243408203125, -0.029052734375, 0.0155029296875, -0.00848388671875, 0.007232666015625, -0....
[ 2071, 7722, 61924, 5701, 76, 4806, 39933, 100, 12921, 10750, 54529, 1238, 3949, 3742, 6002, 86531, 47, 3642, 3444, 25627, 831, 18, 11782, 20, 425, 3871, 9, 16, 4527, 442, 1614, 7162, 1363 ]
[ 0.036407470703125, 0.1494140625, 0.175537109375, 0.1558837890625, 0.0958251953125, 0.119140625, 0.238037109375, 0.0222320556640625, 0.136474609375, 0.186767578125, 0.129638671875, 0.05450439453125, 0.04022216796875, 0.13671875, 0.05084228515625, 0.0838623046875, 0.0205535888671875, ...
embed
63138480_c0
63138480
fsharp
0
Title: How do I test &quot;should not contain&quot; using FsUnit.Xunit? Problem title: How do I test &quot;should not contain&quot; using FsUnit.Xunit? Tags: xunit, fsunit, f%23 Problem: How do I test "should not contain" using FsUnit.Xunit? I am trying to test that a collection does not contain a value using FsUnit.Xu...
How do I test &quot;should not contain&quot; using FsUnit.Xunit? How do I test &quot;should not contain&quot; using FsUnit.Xunit? xunit fsunit f%23 FsUnit.Xunit How Fact Not How do I test "should not contain" using FsUnit.Xunit? I am trying to test that a collection does not contain a value using FsUnit.Xunit . I have ...
[ -0.00823974609375, 0.0216064453125, -0.00946044921875, -0.0205078125, -0.0269775390625, 0.01129150390625, 0.0223388671875, -0.0030364990234375, 0.0025787353515625, 0.037841796875, -0.0113525390625, 0.0301513671875, -0.01275634765625, 0.01220703125, 0.011474609375, 0.0166015625, -0.00...
[ 11249, 54, 87, 3034, 11412, 52366, 959, 70541, 41502, 17368, 563, 7, 85600, 18, 1542, 309, 217, 10438, 6773, 1238, 6548, 3742, 132640, 11205, 31577, 42486, 14602, 34292, 37842, 25, 33022, 903 ]
[ 0.05926513671875, 0.0162811279296875, 0.0141448974609375, 0.218505859375, 0.088134765625, 0.15869140625, 0.1910400390625, 0.257568359375, 0.041839599609375, 0.08984375, 0.1055908203125, 0.06158447265625, 0.2137451171875, 0.0806884765625, 0.09814453125, 0.1297607421875, 0.154418945312...
embed
17238851_c0
17238851
fsharp
0
Title: F# - how to group previous, this and next elements in circular Seq Problem title: F# - how to group previous, this and next elements in circular Seq Tags: f%23 Problem: F# - how to group previous, this and next elements in circular Seq In F# How to best convert a finite Sequence-like seq [0; 1; 2; 3; 4] into a S...
F# - how to group previous, this and next elements in circular Seq F# - how to group previous, this and next elements in circular Seq f%23 Seq F# - how to group previous, this and next elements in circular Seq In F# How to best convert a finite Sequence-like seq [0; 1; 2; 3; 4] into a Sequence of tuples like seq [4,0,1...
[ 0.007171630859375, 0.01019287109375, 0.0004329681396484375, 0.025634765625, -0.0181884765625, -0.00909423828125, 0.00335693359375, 0.0164794921875, 0.0128173828125, -0.01312255859375, -0.0189208984375, 0.03564453125, 0.006103515625, 0.0196533203125, 0.003326416015625, 0.0224609375, -...
[ 563, 4904, 3642, 21115, 96362, 4, 903, 136, 11737, 80854, 115339, 503, 864, 1238, 3949, 3742, 23, 360, 11249, 2965, 96760, 94418, 944, 3956, 5062, 40, 2389, 106, 116, 138, 74, 201, 3934, 370, 99726, 1884, 617, 72966, 25568, 363, 82449, ...
[ 0.1070556640625, 0.1968994140625, 0.0927734375, 0.236083984375, 0.1678466796875, 0.003936767578125, 0.1256103515625, 0.05804443359375, 0.169677734375, 0.197021484375, 0.242919921875, 0.1226806640625, 0.2374267578125, 0.08001708984375, 0.00286865234375, 0.117431640625, 0.0127563476562...
embed
25317595_c0
25317595
fsharp
0
Title: F# Multidimensional array comprehensions Problem title: F# Multidimensional array comprehensions Tags: f%23, arrays Problem: F# Multidimensional array comprehensions Is there a syntax for creating multidimensional array using comprehensions is F#? This is really easy for jagged arrays: let weights1 = [| [|3.0|] ...
F# Multidimensional array comprehensions F# Multidimensional array comprehensions f%23 arrays Multidimensional weights1 Array2D.init F# Multidimensional array comprehensions Is there a syntax for creating multidimensional array using comprehensions is F#? This is really easy for jagged arrays: Sure that I can than conv...
[ 0.0015869140625, 0.01123046875, -0.023681640625, 0.0252685546875, -0.006988525390625, 0.00921630859375, 0.009033203125, 0.00927734375, 0.0016937255859375, -0.0211181640625, 0.015380859375, 0.0137939453125, 0.006866455078125, 0.0022125244140625, -0.00665283203125, -0.014404296875, -0....
[ 563, 4904, 19335, 157955, 10298, 53, 46683, 3220, 1238, 3742, 57888, 69253, 397, 2685, 10, 6002, 86531, 105233, 6024, 17368, 63239, 6183, 23468, 79, 134229, 4778, 831, 96760, 47, 5701 ]
[ 0.11572265625, 0.1802978515625, 0.08441162109375, 0.1968994140625, 0.173828125, 0.135498046875, 0.16357421875, 0.17919921875, 0.049713134765625, 0.05963134765625, 0.17236328125, 0.1103515625, 0.050537109375, 0.01080322265625, 0.0147705078125, 0.12890625, 0.209716796875, 0.137573242...
embed
60385022_c1
60385022
fsharp
1
="FSharp.Core" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-4.8.0.0" newVersion="4.3.1.0" /> </dependentAssembly> </assemblyBinding> </runtime> I am not sure what to try next. Code signals: Powershell, Method, FSharp.Data.HttpResponse, FSharp.Data.Http.Request, Http.Reques...
="FSharp.Core" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-4.8.0.0" newVersion="4.3.1.0" /> </dependentAssembly> </assemblyBinding> </runtime> I am not sure what to try next. Code signals: Powershell, Method, FSharp.Data.HttpResponse, FSharp.Data.Http.Request, Http.Reques...
[ -0.01397705078125, 0.012451171875, 0.006439208984375, 0.00139617919921875, 0.00616455078125, 0.00799560546875, 0.0003032684326171875, -0.004791259765625, 0.0034027099609375, 0.00010347366333007812, 0.005828857421875, 0.00897216796875, -0.0196533203125, -0.0032958984375, 0.02197265625, ...
[ 36381, 3467, 254, 50886, 13, 3835, 162429, 7763, 1098, 29394, 218142, 128239, 80581, 178390, 99929, 11565, 52196, 158406, 102107, 181063, 89845, 38526, 16882, 33770, 87, 959, 9077, 2367, 47, 9790, 11737, 28864, 26073, 17170, 128019, 74644, 9377...
[ 0.05780029296875, 0.2047119140625, 0.20556640625, 0.1455078125, 0.0987548828125, 0.090087890625, 0.105224609375, 0.027099609375, 0.1588134765625, 0.1641845703125, 0.10986328125, 0.1083984375, 0.10040283203125, 0.07550048828125, 0.054443359375, 0.0294342041015625, 0.06793212890625, ...
embed
15606825_c0
15606825
fsharp
0
Title: F# distinctBy behavior Problem title: F# distinctBy behavior Tags: f%23, identity Problem: F# distinctBy behavior I don't understand behavior of distinctBy in this snippet: let s = [123; 231; 321] let s1 = s |> Seq.map (string >> Seq.sort) let s2 = s |> Seq.distinctBy (string >> Seq.sort) which produces: s1 = se...
F# distinctBy behavior F# distinctBy behavior f%23 identity Seq.map Seq.sort Seq.distinctBy F# distinctBy behavior I don't understand behavior of distinctBy in this snippet: which produces: as expected, but: where I expected only one element, because the 3 keys are identical. Which part I got wrong?
[ 0.0118408203125, 0.0068359375, 0.01031494140625, -0.00823974609375, 0.0029296875, -0.014404296875, 0.015869140625, 0.004791259765625, -0.0091552734375, -0.00060272216796875, 0.00543212890625, 0.0341796875, 0.01556396484375, 0.00177764892578125, -0.0166015625, 0.00738525390625, -0.007...
[ 563, 4904, 117781, 75358, 123166, 1238, 3742, 182324, 503, 864, 62346, 62351, 46295, 38893, 2301, 18, 28219, 93, 58134, 27489, 7, 237, 84751, 1284, 7440, 87, 4734, 1632, 12830, 138, 22799, 31943, 6827, 2831, 4163, 44691 ]
[ 0.10211181640625, 0.1495361328125, 0.2261962890625, 0.26123046875, 0.1939697265625, 0.0477294921875, 0.0928955078125, 0.1795654296875, 0.004638671875, 0.0633544921875, 0.08575439453125, 0.14208984375, 0.033447265625, 0.161376953125, 0.002288818359375, 0.020263671875, 0.1015625, 0.0...
embed
33014900_c0
33014900
fsharp
0
Title: Classes without constructor in F# Problem title: Classes without constructor in F# Tags: .net, f%23 Problem: Classes without constructor in F# I'm not sure why F# seems to allow the definition of a class without any constructors. I mean, it would be impossible to instantiate an object of the class. Shouldn't the...
Classes without constructor in F# Classes without constructor in F# .net f%23 Classes this.x Classes without constructor in F# I'm not sure why F# seems to allow the definition of a class without any constructors. I mean, it would be impossible to instantiate an object of the class. Shouldn't the language spec treat th...
[ 0.006927490234375, 0.0262451171875, -0.01177978515625, 0.00543212890625, 0.00156402587890625, 0.00677490234375, 0.005950927734375, -0.012939453125, 0.00016498565673828125, -0.000240325927734375, 0.01123046875, -0.008544921875, 0.0010528564453125, 0.00555419921875, 0.0089111328125, -0.0...
[ 35014, 90, 15490, 64549, 748, 563, 4904, 23, 1179, 1238, 3742, 903, 425, 15400, 63769, 80934, 18507, 2499, 25251, 87, 2806, 186, 69201, 34648, 101426, 36746, 111, 46876, 48502, 85325, 123166, 4, 61924, 759, 140803, 37202, 10644, 959, 14, ...
[ 0.2296142578125, 0.014617919921875, 0.15576171875, 0.1873779296875, 0.140625, 0.140869140625, 0.214599609375, 0.00872802734375, 0.10888671875, 0.0733642578125, 0.08642578125, 0.1416015625, 0.07806396484375, 0.0113525390625, 0.08447265625, 0.13330078125, 0.233642578125, 0.0816040039...
embed
36216679_c1
36216679
fsharp
1
]" to "bin\Debug\[project_name_dll]". Exceeded retry count of 10. Failed. error MSB3021: Unable to copy file "obj\Debug\[project_name_dll]" to "bin\Debug\[project_name_dll]". The process cannot access the file 'bin\Debug\[project_name_dll]' because it is being used by another process. It turned out that the process, wh...
]" to "bin\Debug\[project_name_dll]". Exceeded retry count of 10. Failed. error MSB3021: Unable to copy file "obj\Debug\[project_name_dll]" to "bin\Debug\[project_name_dll]". The process cannot access the file 'bin\Debug\[project_name_dll]' because it is being used by another process. It turned out that the process, wh...
[ -0.030517578125, 0.0169677734375, -0.021240234375, -0.003936767578125, 0.00537109375, -0.0166015625, -0.0184326171875, -0.0026092529296875, 0.0011138916015625, 0.00482177734375, 0.0023956298828125, -0.022216796875, 0.00138092041015625, 0.005889892578125, 0.02099609375, 0.009765625, 0...
[ 10114, 47, 7568, 4657, 85779, 95322, 11627, 71, 1181, 110823, 456, 15123, 54529, 4068, 190355, 18499, 16265, 571, 1197, 3117, 992, 2886, 43658, 11435, 3522, 170, 9433, 53418, 17203, 11814, 15700, 46389, 214, 13452, 81717, 91995, 8, 1353, 33...
[ 0.0170135498046875, 0.10125732421875, 0.14111328125, 0.146240234375, 0.28271484375, 0.1505126953125, 0.11181640625, 0.05517578125, 0.1566162109375, 0.03607177734375, 0.0819091796875, 0.167724609375, 0.1077880859375, 0.0902099609375, 0.1046142578125, 0.07470703125, 0.083984375, 0.12...
embed
32663072_c0
32663072
fsharp
0
Title: F# polymorphism in function return types Problem title: F# polymorphism in function return types Tags: polymorphism, f%23 Problem: F# polymorphism in function return types Here's a simple type hierarchy. type Parent() = class end type Child() = inherit Parent() I want to treat a function of type ('x -> Child) as...
F# polymorphism in function return types F# polymorphism in function return types polymorphism f%23 Parent Child F# polymorphism in function return types Here's a simple type hierarchy. I want to treat a function of type ('x -> Child) as ('x -> Parent) : But that last assignment fails, with the message The type 'Parent...
[ 0.0013885498046875, 0.00482177734375, 0.00439453125, -0.0037384033203125, -0.00115203857421875, 0.01031494140625, 0.00153350830078125, 0.00775146484375, 0.0012664794921875, -0.004913330078125, 0.0166015625, -0.0177001953125, 0.01434326171875, 0.0002651214599609375, 0.000896453857421875, ...
[ 563, 4904, 35874, 178851, 8780, 32354, 30646, 52895, 23, 1238, 3949, 3742, 170918, 123829, 11853, 8781, 10644, 1791, 147, 7668, 3444, 85689, 425, 33079, 237, 15, 4966, 4568, 95486, 35782, 70, 26008, 28636, 2517, 14602, 959, 14858, 441, 1026...
[ 0.103271484375, 0.16796875, 0.1741943359375, 0.1988525390625, 0.055755615234375, 0.149658203125, 0.1754150390625, 0.1839599609375, 0.01080322265625, 0.059295654296875, 0.006500244140625, 0.06793212890625, 0.2109375, 0.198974609375, 0.01214599609375, 0.07000732421875, 0.1663818359375,...
embed
3989195_c0
3989195
fsharp
0
Title: F# class definition with and without interface Problem title: F# class definition with and without interface Tags: interface, f%23, class Problem: F# class definition with and without interface Why is this acceptable: type SomeClass<'T> = val mutable id : int val mutable result : 'T But this is not: type SomeIfa...
F# class definition with and without interface F# class definition with and without interface interface f%23 class SomeClass SomeIface F# class definition with and without interface Why is this acceptable: But this is not: The compiler complains about my use of 'val' telling me to use 'member' but then I can't use muta...
[ 0.0096435546875, 0.01031494140625, -0.01385498046875, -0.00762939453125, 0.0123291015625, 0.0086669921875, -0.0172119140625, 0.0166015625, 0.0106201171875, 0.02734375, -0.0029296875, 0.0012969970703125, -0.0101318359375, 0.0012969970703125, 0.0076904296875, 0.0021514892578125, 0.0108...
[ 563, 4904, 18507, 80934, 678, 136, 15490, 101758, 1238, 3742, 31384, 140803, 40404, 83, 903, 213850, 959, 9969, 34759, 186992, 4527, 1405, 128219, 39, 27417, 831, 842, 22819 ]
[ 0.1064453125, 0.2105712890625, 0.196533203125, 0.1531982421875, 0.1151123046875, 0.0723876953125, 0.119384765625, 0.22021484375, 0.073974609375, 0.1429443359375, 0.0936279296875, 0.202392578125, 0.179931640625, 0.01226806640625, 0.022857666015625, 0.1522216796875, 0.0718994140625, ...
embed
40371039_c0
40371039
fsharp
0
Title: How do I use System.Configuration namespace on Linux Problem title: How do I use System.Configuration namespace on Linux Tags: f%23, linux Problem: How do I use System.Configuration namespace on Linux I tried to deploy my F# project to a linux box today. Can't compile using fsharpc because I have no System.Confi...
How do I use System.Configuration namespace on Linux How do I use System.Configuration namespace on Linux f%23 linux How System.Configuration Linux How do I use System.Configuration namespace on Linux I tried to deploy my F# project to a linux box today. Can't compile using fsharpc because I have no System.Configuratio...
[ -0.00677490234375, 0.026611328125, 0.00823974609375, -0.004364013671875, 0.01080322265625, -0.006011962890625, 0.006744384765625, -0.01458740234375, -0.0238037109375, -0.0050048828125, 0.004119873046875, 0.0172119140625, -0.004119873046875, -0.0020751953125, -0.008056640625, -0.0101928...
[ 11249, 87, 4527, 12353, 5, 11935, 59994, 2320, 210716, 98, 29908, 54, 1238, 3742, 11508, 6077, 8, 13158, 563, 4904, 13452, 47, 16530, 18925, 4171, 18, 9969, 1340, 17368, 89280, 57095, 110, 91067, 30022, 56112, 903, 391, 23708, 19882, 2154...
[ 0.06427001953125, 0.0465087890625, 0.1392822265625, 0.173583984375, 0.059600830078125, 0.105224609375, 0.25, 0.0740966796875, 0.2705078125, 0.093505859375, 0.2357177734375, 0.0160980224609375, 0.0946044921875, 0.109375, 0.09124755859375, 0.11083984375, 0.010284423828125, 0.07141113...
embed
42518788_c0
42518788
fsharp
0
Title: How to set MaxReceivedMessageSize for Owin/Katana Problem title: How to set MaxReceivedMessageSize for Owin/Katana Tags: owin, katana, f%23 Problem: How to set MaxReceivedMessageSize for Owin/Katana Pretty straight forward question. The default size limit of MaxReceivedMessageSize (64kb) is to small for what I'm...
How to set MaxReceivedMessageSize for Owin/Katana How to set MaxReceivedMessageSize for Owin/Katana owin katana f%23 How MaxReceivedMessageSize Owin Katana How to set MaxReceivedMessageSize for Owin/Katana Pretty straight forward question. The default size limit of MaxReceivedMessageSize (64kb) is to small for what I'm...
[ -0.005279541015625, 0.00653076171875, -0.01300048828125, -0.0111083984375, -0.006622314453125, 0.0016021728515625, 0.005096435546875, -0.000713348388671875, 0.00689697265625, -0.01611328125, 0.01220703125, -0.0025177001953125, -0.004150390625, 0.0086669921875, 0.0279541015625, -0.00393...
[ 11249, 5423, 9920, 4332, 329, 14, 4126, 594, 6011, 429, 127167, 13, 180, 9494, 64, 79940, 1500, 100, 36, 3441, 76, 1238, 3742, 15267, 114977, 13267, 17475, 13307, 92, 275, 47, 19336, 27781, 313, 4904, 563, 4488, 51671, 43101 ]
[ 0.031768798828125, 0.14111328125, 0.2012939453125, 0.11328125, 0.14990234375, 0.157470703125, 0.1602783203125, 0.05712890625, 0.15087890625, 0.07672119140625, 0.181396484375, 0.041229248046875, 0.10638427734375, 0.244873046875, 0.0634765625, 0.151611328125, 0.1915283203125, 0.03643...
embed
14099218_c0
14099218
fsharp
0
Title: Is it possible to get F#&#x27;s function application &quot;|&gt;&quot; operator in R? Problem title: Is it possible to get F#&#x27;s function application &quot;|&gt;&quot; operator in R? Tags: f%23, operator-overloading, r Problem: Is it possible to get F#'s function application "|>" operator in R? Possible Dupl...
Is it possible to get F#&#x27;s function application &quot;|&gt;&quot; operator in R? Is it possible to get F#&#x27;s function application &quot;|&gt;&quot; operator in R? f%23 operator-overloading r Is it possible to get F#'s function application "|>" operator in R? I find R syntax very unwieldy compared to F#: In R -...
[ 0.021240234375, 0.01519775390625, 0.00823974609375, 0.00396728515625, -0.0022125244140625, -0.028076171875, -0.00860595703125, -0.01141357421875, -0.005828857421875, -0.017333984375, 0.0014190673828125, 0.0126953125, 0.01300048828125, -0.020263671875, 0.01104736328125, 0.00454711914062...
[ 2071, 442, 7722, 2046, 563, 4904, 3768, 7, 32354, 38415, 74, 58745, 1230, 5386, 41502, 39933, 23, 627, 1238, 3742, 5465, 63033, 214, 1690, 2740, 7413, 6002, 86531, 4552, 87240, 1459, 154186, 360, 175399, 111, 87, 2806, 5161, 3917, 645, ...
[ 0.0295257568359375, 0.048553466796875, 0.156982421875, 0.06414794921875, 0.1248779296875, 0.1943359375, 0.07708740234375, 0.0143280029296875, 0.1689453125, 0.1820068359375, 0.00445556640625, 0.123291015625, 0.0364990234375, 0.1219482421875, 0.03271484375, 0.2471923828125, 0.091857910...
embed
49403901_c1
49403901
fsharp
1
) | :? Team as teamSport -> interpretSport(teamSport.Name,teamSport.numberOfPlayers) | _ -> printfn "not a sport" matchSport(MK) matchSport(SF) matchSport(Tk) matchSport(MvC) matchSport(Dbz) 1st error when calling function with more than 1 argument: 2nd error when printing: Code signals: Pattern, Sport, x.Name, Individ...
) | :? Team as teamSport -> interpretSport(teamSport.Name,teamSport.numberOfPlayers) | _ -> printfn "not a sport" matchSport(MK) matchSport(SF) matchSport(Tk) matchSport(MvC) matchSport(Dbz) 1st error when calling function with more than 1 argument: 2nd error when printing: Code signals: Pattern, Sport, x.Name, Individ...
[ -0.013427734375, 0.005767822265625, -0.007171630859375, 0.00201416015625, 0.005767822265625, -0.01287841796875, -0.01708984375, -0.0087890625, -0.005218505859375, 0.0308837890625, 0.0004673004150390625, 0.005767822265625, -0.005279541015625, -0.006866455078125, -0.001983642578125, 0.00...
[ 1388, 58745, 32, 11399, 237, 7175, 43488, 33079, 29481, 44420, 163612, 2606, 1297, 132887, 142581, 28412, 14783, 10869, 10, 2896, 14858, 47859, 38406, 334, 441, 169, 271, 18499, 159029, 32354, 678, 1286, 106, 10750, 116, 2208, 3229, 2448, 1...
[ 0.00262451171875, 0.002960205078125, 0.013427734375, 0.2291259765625, 0.1168212890625, 0.1754150390625, 0.26513671875, 0.0155029296875, 0.188232421875, 0.1544189453125, 0.126220703125, 0.032684326171875, 0.0382080078125, 0.0947265625, 0.1719970703125, 0.20068359375, 0.1766357421875, ...
embed
53144601_c0
53144601
fsharp
0
Title: Getting the length of a list using combinators f# Problem title: Getting the length of a list using combinators f# Tags: f%23, combinators Problem: Getting the length of a list using combinators f# let length (l : 'a list) = let mutable counter = 0 for i in l do counter <- counter + 1 counter let list1 = [ 10; 2...
Getting the length of a list using combinators f# Getting the length of a list using combinators f# f%23 combinators combinators Getting list1 Getting the length of a list using combinators f# I can get the length of a list using the above piece of code (in F#) but I'm wondering how I can do this exact code using combi...
[ -0.0079345703125, 0.023681640625, -0.00732421875, 0.0181884765625, 0.009521484375, 0.0040283203125, 0.016845703125, 0.02099609375, 0.0118408203125, -0.06494140625, -0.010986328125, 0.0250244140625, 0.017578125, 0.0244140625, 0.00341796875, -0.00799560546875, 0.006744384765625, 0.00...
[ 210732, 70, 140909, 111, 5303, 17368, 22321, 22230, 1238, 4904, 10, 3742, 418, 831, 2046, 36917, 18151, 563, 149016, 3642, 54, 24763, 5809, 4358, 6782 ]
[ 0.0955810546875, 0.080810546875, 0.20166015625, 0.091064453125, 0.22119140625, 0.06805419921875, 0.215576171875, 0.152587890625, 0.108642578125, 0.160400390625, 0.014190673828125, 0.08544921875, 0.02227783203125, 0.0211181640625, 0.095947265625, 0.012420654296875, 0.1212158203125, ...
embed
9128882_c0
9128882
fsharp
0
Title: Types and functions Problem title: Types and functions Tags: types, f%23, function Problem: Types and functions Consider the following: type T () = member x.y = 4 let a = let fn () (k: T) = () fn () let b = let fn () (k: System.IO.Directory) = () fn () a fails while b is ok. The error message is: The value 'a' h...
Types and functions Types and functions types f%23 function Types x.y System.IO.Directory Types and functions Consider the following: a fails while b is ok. The error message is: Why and how to fix that?
[ 0.02197265625, 0.014892578125, 0.0081787109375, 0.0086669921875, -0.0179443359375, -0.005950927734375, -0.01165771484375, -0.0107421875, -0.00182342529296875, -0.009765625, 0.0003986358642578125, 0.012451171875, -0.004241943359375, 0.0034942626953125, 0.0196533203125, -0.0118408203125,...
[ 60457, 7, 136, 32354, 52895, 1238, 3949, 3742, 1022, 5, 53, 12353, 17780, 184911, 30675, 137399, 25632, 10, 35782, 12960, 876, 83, 3664, 18499, 26008, 44084, 3642, 47, 30022, 450 ]
[ 0.2279052734375, 0.0306396484375, 0.1649169921875, 0.212890625, 0.2147216796875, 0.066650390625, 0.0667724609375, 0.1458740234375, 0.0280303955078125, 0.00244140625, 0.0931396484375, 0.09698486328125, 0.1551513671875, 0.074462890625, 0.05126953125, 0.073486328125, 0.032135009765625, ...
embed
43492505_c0
43492505
fsharp
0
Title: Array pattern matching Problem title: Array pattern matching Tags: functional-programming, f%23 Problem: Array pattern matching Is it possible to iterate through an array using pattering matching just like we do with lists in F#? I tried something like this: type Alphabet = A | B let rec calc (l: Alphabet []) = ...
Array pattern matching Array pattern matching functional-programming f%23 Array Alphabet Array pattern matching Is it possible to iterate through an array using pattering matching just like we do with lists in F#? I tried something like this: The problem seems to be that the loop goes on and results a stackoverflow. Is...
[ -0.0006103515625, -0.0035858154296875, -0.001739501953125, 0.0244140625, -0.00634765625, -0.023681640625, -0.0118408203125, 0.0235595703125, 0.0159912109375, 0.01397705078125, 0.0172119140625, 0.01019287109375, 0.0157470703125, -0.00885009765625, 0.0029754638671875, -0.0174560546875, ...
[ 69253, 53, 103510, 14858, 214, 123309, 28966, 1238, 3949, 3742, 76569, 4626, 2071, 442, 7722, 47, 17, 8560, 67, 8305, 10298, 17368, 2340, 33558, 1660, 1884, 678, 5303, 563, 4904, 37842, 2967, 40956, 60899, 98, 50339, 177261, 5465, 118664, ...
[ 0.1688232421875, 0.158203125, 0.252685546875, 0.234375, 0.1070556640625, 0.139404296875, 0.1048583984375, 0.077880859375, 0.0243988037109375, 0.101806640625, 0.112548828125, 0.1346435546875, 0.03369140625, 0.070556640625, 0.154541015625, 0.003875732421875, 0.0447998046875, 0.207519...
embed
12249348_c0
12249348
fsharp
0
Title: How to do pattern match on fields of 2 records? Problem title: How to do pattern match on fields of 2 records? Tags: f%23, pattern-matching Problem: How to do pattern match on fields of 2 records? type A = { ... id: int; ... } I wish i could do this let Add (x:A) (y:A) = match x,y with | {x.id=0,y.id=1} -> ... A...
How to do pattern match on fields of 2 records? How to do pattern match on fields of 2 records? f%23 pattern-matching How Add x:A y:A x.id y.id How to do pattern match on fields of 2 records? I wish i could do this And is there any trick to define the function if i don't care about the order of x and y (so that the fun...
[ -0.0257568359375, -0.002197265625, -0.006072998046875, 0.01239013671875, -0.0084228515625, 0.00341796875, -0.0302734375, 0.01068115234375, 0.0224609375, -0.010009765625, 0.0223388671875, 0.0213623046875, 0.006988525390625, -0.0026397705078125, 0.022705078125, -0.03173828125, 0.006011...
[ 11249, 47, 54, 103510, 14858, 98, 44457, 7, 111, 116, 115923, 1238, 3949, 3742, 98753, 214, 29117, 1022, 12, 284, 113, 532, 32599, 5809, 88308, 61924, 32354, 517, 12989, 136, 230612, 238, 171859, 370, 8705, 53 ]
[ 0.1121826171875, 0.058868408203125, 0.0892333984375, 0.260498046875, 0.250732421875, 0.09417724609375, 0.2215576171875, 0.0288543701171875, 0.04132080078125, 0.1658935546875, 0.207275390625, 0.0633544921875, 0.00872802734375, 0.1177978515625, 0.235107421875, 0.06781005859375, 0.14086...
embed
44952289_c0
44952289
fsharp
0
Title: How do I assign a large number to a value? Problem title: How do I assign a large number to a value? Tags: f%23 Problem: How do I assign a large number to a value? I am struggling to assign a long number to a value. let cardNumber = 1234567891234567 I receive the following error: This number is outside the allow...
How do I assign a large number to a value? How do I assign a large number to a value? f%23 How int64 How do I assign a large number to a value? I am struggling to assign a long number to a value. I receive the following error: I then tried: However, I get the same error. I'm referencing the following documentation . Ho...
[ 0.004486083984375, 0.0087890625, 0.01446533203125, -0.00390625, -0.00634765625, -0.0159912109375, -0.0208740234375, 0.00958251953125, 0.01904296875, 0.01080322265625, 0.003997802734375, -0.004180908203125, -0.001800537109375, 0.0240478515625, 0.01806640625, -0.01385498046875, -0.0036...
[ 11249, 54, 87, 95486, 21334, 14012, 47, 34292, 10, 1238, 3949, 3742, 23, 18, 13307, 237875, 4989, 53299, 70, 25632, 18499, 37842, 5701, 142447, 209806, 6, 15876, 3871, 3249, 9969, 34759, 17723 ]
[ 0.1229248046875, 0.0750732421875, 0.09423828125, 0.28125, 0.19677734375, 0.2275390625, 0.1751708984375, 0.2425537109375, 0.0347900390625, 0.0906982421875, 0.04718017578125, 0.16015625, 0.0816650390625, 0.096923828125, 0.2213134765625, 0.111572265625, 0.168701171875, 0.0247497558593...
embed
54188469_c0
54188469
fsharp
0
Title: How does F# know that bitArray elements are bool while enumerating in seq builder? Problem title: How does F# know that bitArray elements are bool while enumerating in seq builder? Tags: f%23 Problem: How does F# know that bitArray elements are bool while enumerating in seq builder? seq{ for bit in BitArray(10) ...
How does F# know that bitArray elements are bool while enumerating in seq builder? How does F# know that bitArray elements are bool while enumerating in seq builder? f%23 How BitArray IEnumerable How does F# know that bitArray elements are bool while enumerating in seq builder? bit is of bool type. I checked with ILSpy...
[ 0.007568359375, 0.0081787109375, -0.008544921875, 0.0185546875, 0.00787353515625, 0.005706787109375, 0.0012054443359375, 0.017333984375, -0.002532958984375, -0.00390625, -0.0030975341796875, 0.0062255859375, -0.005340576171875, -0.0025634765625, 0.0157470703125, -0.01080322265625, 0....
[ 11249, 563, 4904, 3714, 4785, 7614, 7092, 80854, 142484, 189085, 40, 864, 45367, 56, 621, 12960, 1238, 3742, 27774, 75536, 2606, 2886, 83, 111, 10644, 12765, 6493, 143726, 37702, 49814, 170224, 139392, 29479, 111719, 189534, 442, 10 ]
[ 0.0269927978515625, 0.1044921875, 0.19970703125, 0.122314453125, 0.203369140625, 0.1817626953125, 0.20361328125, 0.1510009765625, 0.2115478515625, 0.172607421875, 0.0810546875, 0.1414794921875, 0.138671875, 0.1151123046875, 0.0232086181640625, 0.046417236328125, 0.014129638671875, ...
embed
39359448_c0
39359448
fsharp
0
Title: How do you access items in a tuple that is a discriminated union? Problem title: How do you access items in a tuple that is a discriminated union? Tags: f%23 Problem: How do you access items in a tuple that is a discriminated union? Say I declare a type like so: type Kvp = Kvp of string * int And I create an ins...
How do you access items in a tuple that is a discriminated union? How do you access items in a tuple that is a discriminated union? f%23 How Kvp FS0001 How do you access items in a tuple that is a discriminated union? Say I declare a type like so: And I create an instance of it How do I get the first and second values ...
[ 0.01031494140625, -0.01434326171875, 0.010009765625, 0.01055908203125, 0.007080078125, 0.0004444122314453125, -0.01287841796875, 0.00634765625, 0.017333984375, -0.0247802734375, 0.0322265625, 0.00148773193359375, -0.0004367828369140625, 0.013427734375, -0.011962890625, 0.00299072265625...
[ 11249, 17203, 55769, 23, 370, 8705, 55970, 3674, 69941, 54, 10, 83, 1238, 3949, 3742, 75549, 254, 93774, 188735, 159978, 10644, 1884, 221, 28282, 110527, 2046, 5117, 136, 17932, 142424, 1295, 271, 2208, 4488 ]
[ 0.06683349609375, 0.1959228515625, 0.18994140625, 0.076416015625, 0.1121826171875, 0.2159423828125, 0.2152099609375, 0.1053466796875, 0.1954345703125, 0.042572021484375, 0.013641357421875, 0.0234527587890625, 0.0478515625, 0.031524658203125, 0.1265869140625, 0.093505859375, 0.0957031...
embed
69951571_c0
69951571
fsharp
0
Title: F# - string | int inference on union Problem title: F# - string | int inference on union Tags: f%23 Problem: F# - string | int inference on union I'm pretty sure this isn't possible but thought I'd double check. I guess I'm trying to mimic typescript's union types. I have a type type StringOrInt = | String of st...
F# - string | int inference on union F# - string | int inference on union f%23 StringOrInt F# - string | int inference on union I'm pretty sure this isn't possible but thought I'd double check. I guess I'm trying to mimic typescript's union types. I have a type And then a function At the moment the function has to be c...
[ 0.00021648406982421875, -0.00323486328125, 0.001678466796875, 0.0216064453125, -0.0211181640625, -0.016357421875, -0.006683349609375, -0.004730224609375, -0.006195068359375, -0.011962890625, 0.014404296875, -0.006866455078125, -0.0029144287109375, 0.00970458984375, 0.015380859375, -0.0...
[ 563, 4904, 79315, 23, 18, 53498, 6620, 98, 69941, 1238, 3949, 3742, 23351, 214, 19060, 4153, 39, 56112, 7722, 41929, 12765, 31577, 324, 21068, 10644, 32032, 52895, 3493, 32354, 3095, 35839, 1884, 54, 136, 83, 35604 ]
[ 0.113525390625, 0.1949462890625, 0.23779296875, 0.1153564453125, 0.168212890625, 0.2303466796875, 0.09722900390625, 0.05743408203125, 0.221923828125, 0.09539794921875, 0.0103759765625, 0.11279296875, 0.171875, 0.0836181640625, 0.1534423828125, 0.1517333984375, 0.00146484375, 0.0102...
embed
2844047_c0
2844047
fsharp
0
Title: What is the &quot;let&quot; keyword in functional languages like F# and OCaml for? Problem title: What is the &quot;let&quot; keyword in functional languages like F# and OCaml for? Tags: ocaml, f%23, functional-programming Problem: What is the "let" keyword in functional languages like F# and OCaml for? When loo...
What is the &quot;let&quot; keyword in functional languages like F# and OCaml for? What is the &quot;let&quot; keyword in functional languages like F# and OCaml for? ocaml f%23 functional-programming What OCaml What is the "let" keyword in functional languages like F# and OCaml for? When looking at F#, Ocaml and other ...
[ 0.017822265625, 0.01171875, 0.021240234375, 0.01904296875, 0.01031494140625, 0.0034942626953125, -0.0037994384765625, 0.005279541015625, 0.0011749267578125, -0.005615234375, -0.00714111328125, -0.00958251953125, -0.01324462890625, 0.01806640625, 0.01055908203125, 0.00384521484375, -0...
[ 4865, 41502, 1974, 1230, 166117, 23, 123309, 46876, 563, 4904, 180, 105272, 141, 100, 36, 9779, 1238, 3742, 28966, 70, 136, 18151, 27781, 2633, 11814, 4552, 27983, 44084, 3871, 442, 82775, 765, 31358, 1810, 1022, 107947, 24209 ]
[ 0.06121826171875, 0.060577392578125, 0.25439453125, 0.0660400390625, 0.2423095703125, 0.03082275390625, 0.2071533203125, 0.1651611328125, 0.09814453125, 0.156982421875, 0.103271484375, 0.1650390625, 0.1654052734375, 0.105712890625, 0.069091796875, 0.1229248046875, 0.0153961181640625,...
embed
9913065_c0
9913065
fsharp
0
Title: FParsec Reactive Example Problem title: FParsec Reactive Example Tags: system.reactive, parser-combinators, f%23, fparsec Problem: FParsec Reactive Example I'm hopeful that someone could potentially post an example of using FParsec where the data is based on some sort of incoming live stream. Some examples could...
FParsec Reactive Example FParsec Reactive Example system.reactive parser-combinators f%23 fparsec FParsec Reactive Example system.reactive FParsec Reactive Example I'm hopeful that someone could potentially post an example of using FParsec where the data is based on some sort of incoming live stream. Some examples coul...
[ 0.0029144287109375, 0.03662109375, -0.000457763671875, 0.01080322265625, 0.0054931640625, 0.01275634765625, 0.0185546875, 0.028076171875, -0.004058837890625, -0.039794921875, 0.0185546875, -0.014892578125, 0.00518798828125, 0.0291748046875, 0.0098876953125, 0.00982666015625, -0.00433...
[ 563, 28636, 39797, 853, 71232, 89536, 8705, 5426, 107, 366, 2189, 277, 19155, 22230, 1238, 3742, 2500, 15673, 7844, 38516, 1305, 27781, 17368, 7440, 2053, 35509, 23, 6867, 75973, 5809, 27024, 16750, 114669, 28995, 30891, 12663, 110342, 185325...
[ 0.1424560546875, 0.1844482421875, 0.260009765625, 0.100341796875, 0.1898193359375, 0.2025146484375, 0.0714111328125, 0.1385498046875, 0.06884765625, 0.1318359375, 0.09765625, 0.14892578125, 0.156982421875, 0.08416748046875, 0.0751953125, 0.062164306640625, 0.0899658203125, 0.049163...
embed
57541057_c0
57541057
fsharp
0
Title: How can I convert a 2D array to 1D functionally, in F#? Problem title: How can I convert a 2D array to 1D functionally, in F#? Tags: arrays, functional-programming, f%23 Problem: How can I convert a 2D array to 1D functionally, in F#? I can do it easily if I use a mutable counter and 2 for loops but I want to do...
How can I convert a 2D array to 1D functionally, in F#? How can I convert a 2D array to 1D functionally, in F#? arrays functional-programming f%23 How Array.init array2D Array2D.init How can I convert a 2D array to 1D functionally, in F#? I can do it easily if I use a mutable counter and 2 for loops but I want to do it...
[ 0.01251220703125, 0.00982666015625, -0.00030517578125, -0.00028228759765625, -0.01043701171875, 0.0155029296875, 0.00848388671875, -0.0107421875, 0.006317138671875, -0.0155029296875, -0.0010223388671875, 0.04638671875, 0.0038299560546875, 0.0264892578125, 0.0062255859375, -0.0046997070...
[ 11249, 831, 87, 96760, 116, 397, 10298, 53, 47, 106, 123309, 538, 563, 4904, 4778, 28966, 1238, 3742, 69253, 73, 217, 304, 23, 72546, 842, 22819, 105416, 100, 40956, 3444, 54, 46132, 32354, 2060, 3871, 15549, 45234, 90, 2389, 757 ]
[ 0.03125, 0.05633544921875, 0.010894775390625, 0.183349609375, 0.16357421875, 0.1689453125, 0.192626953125, 0.1461181640625, 0.131591796875, 0.1162109375, 0.2237548828125, 0.0290679931640625, 0.1217041015625, 0.184814453125, 0.03289794921875, 0.0518798828125, 0.015411376953125, 0.04...
embed
28357295_c2
28357295
fsharp
2
CompID, StartTime, EndTime, HeartBtInt, SocketConnectPort, SocketConnectHost, FileStorePath, ValidateUserDefinedFields, ResetOnLogon, ResetOnLogout, ResetOnDisconnect, FIXimulatorLogToFile, FIXimulatorLogToDB, FIXimulatorAutoPendingCancel, FIXimulatorAutoPendingReplace, FIXimulatorSendOnBehalfOfCompID, FIXimulatorAutoA...
CompID, StartTime, EndTime, HeartBtInt, SocketConnectPort, SocketConnectHost, FileStorePath, ValidateUserDefinedFields, ResetOnLogon, ResetOnLogout, ResetOnDisconnect, FIXimulatorLogToFile, FIXimulatorLogToDB, FIXimulatorAutoPendingCancel, FIXimulatorAutoPendingReplace, FIXimulatorSendOnBehalfOfCompID, FIXimulatorAutoA...
[ 0.027099609375, 0.016845703125, -0.0035858154296875, 0.016845703125, 0.0101318359375, 0.033447265625, 0.020263671875, -0.018798828125, 0.0230712890625, 0.01348876953125, 0.004791259765625, -0.00714111328125, 0.005126953125, -0.0120849609375, -0.0012359619140625, -0.00001990795135498047...
[ 15612, 7146, 4, 13794, 70059, 18878, 60861, 571, 18, 4153, 1061, 27853, 235603, 60006, 11193, 271, 42724, 165248, 683, 10519, 25447, 17489, 1062, 2189, 187423, 73, 19388, 9624, 126, 20320, 113972, 191, 6056, 135457, 563, 21487, 464, 129073, ...
[ 0.2008056640625, 0.248779296875, 0.080078125, 0.164306640625, 0.2132568359375, 0.1337890625, 0.1800537109375, 0.0787353515625, 0.0882568359375, 0.116455078125, 0.0802001953125, 0.1732177734375, 0.137939453125, 0.1783447265625, 0.08050537109375, 0.0125732421875, 0.144287109375, 0.17...
embed
32385168_c0
32385168
fsharp
0
Title: WebSharper 3.4 with working HelloWorld example? Problem title: WebSharper 3.4 with working HelloWorld example? Tags: websharper, f%23 Problem: WebSharper 3.4 with working HelloWorld example? The current HelloWorld example on websharper.com doesn't work anymore due to changes made in WebSharper 3.4. It now requir...
WebSharper 3.4 with working HelloWorld example? WebSharper 3.4 with working HelloWorld example? websharper f%23 WebSharper HelloWorld WebSharper 3.4 with working HelloWorld example? The current HelloWorld example on websharper.com doesn't work anymore due to changes made in WebSharper 3.4. It now requires some attribut...
[ -0.0301513671875, 0.01153564453125, -0.0037689208984375, -0.01336669921875, 0.0033111572265625, -0.003692626953125, -0.0037078857421875, -0.01129150390625, 0.002899169921875, -0.0255126953125, -0.01495361328125, -0.0031890869140625, -0.003997802734375, -0.00299072265625, 0.0228271484375,...
[ 4002, 294, 3467, 1264, 104271, 678, 20697, 35378, 70646, 27781, 32, 1467, 89280, 1238, 3949, 3742, 43581, 277, 22027, 18, 4488, 176683, 65572, 5036, 144570, 150380, 41884, 9969, 1340, 26785, 26859, 1884, 1957, 15440, 7693, 1328, 24071, 32032,...
[ 0.137451171875, 0.0748291015625, 0.1944580078125, 0.2254638671875, 0.244384765625, 0.1019287109375, 0.1480712890625, 0.2073974609375, 0.2135009765625, 0.2327880859375, 0.02142333984375, 0.12109375, 0.179931640625, 0.05224609375, 0.018646240234375, 0.09405517578125, 0.07281494140625, ...
embed
59536776_c2
59536776
fsharp
2
.None, UniqueName, X509Store, StoreName.My, StoreLocation.CurrentUser, store.Open, OpenFlags.OpenExistingOnly, store.Certificates.Find, X509FindType.FindBySubjectName, Console.WriteLine, certs.Count, store.Close, cert.HasPrivateKey, CryptoApi.GetCngUniqueKeyContainerName, netstandard2.1, System.Security.Cryptography.Cn...
.None, UniqueName, X509Store, StoreName.My, StoreLocation.CurrentUser, store.Open, OpenFlags.OpenExistingOnly, store.Certificates.Find, X509FindType.FindBySubjectName, Console.WriteLine, certs.Count, store.Close, cert.HasPrivateKey, CryptoApi.GetCngUniqueKeyContainerName, netstandard2.1, System.Security.Cryptography.Cn...
[ -0.004730224609375, 0.0133056640625, 0.0194091796875, 0.01226806640625, 0.0081787109375, -0.0087890625, 0.05908203125, -0.025390625, 0.025634765625, -0.01220703125, 0.00872802734375, 0.015869140625, 0.006072998046875, 0.00075531005859375, -0.0067138671875, 0.0034942626953125, 0.00909...
[ 5, 5021, 86, 4, 11789, 944, 163612, 1193, 2525, 1126, 165248, 14934, 31852, 15363, 120639, 474, 15724, 1062, 2189, 4343, 103264, 13527, 3668, 19279, 1419, 20320, 538, 56, 61093, 204582, 196707, 75358, 96472, 75161, 1657, 40777, 18781, 93232, ...
[ 0.11181640625, 0.08489990234375, 0.0765380859375, 0.0362548828125, 0.1829833984375, 0.125732421875, 0.1807861328125, 0.110107421875, 0.2056884765625, 0.2098388671875, 0.2091064453125, 0.185546875, 0.135986328125, 0.09002685546875, 0.067138671875, 0.0677490234375, 0.101318359375, 0....
embed
2332834_c0
2332834
fsharp
0
Title: Piping a list into the line in F# Problem title: Piping a list into the line in F# Tags: pipeline, forward, f%23 Problem: Piping a list into the line in F# Now I can add single value or tubles to the pipeline, my next question is can I add a list/array: filesUnderFolder |> Seq.map FileInfo my problem is I can't ...
Piping a list into the line in F# Piping a list into the line in F# pipeline forward f%23 Piping Seq.map FileInfo Assembly.GetExecutingAssembly.GetFiles Array.map file.ReadAllText Contains Piping a list into the line in F# Now I can add single value or tubles to the pipeline, my next question is can I add a list/array:...
[ -0.006927490234375, 0.01434326171875, -0.007232666015625, 0.038330078125, -0.0380859375, 0.003631591796875, 0.037353515625, -0.015380859375, -0.01300048828125, -0.01165771484375, -0.0206298828125, 0.0380859375, 0.02880859375, 0.0341796875, 0.00408935546875, 0.005706787109375, 0.00823...
[ 93128, 214, 5303, 3934, 13315, 563, 4904, 137158, 2256, 40225, 1238, 3742, 503, 864, 62346, 42724, 93147, 151169, 211603, 89845, 38526, 174350, 69253, 11435, 31345, 43512, 174379, 34749, 10, 23, 831, 15190, 11001, 34292, 370, 13566, 47, 9655,...
[ 0.1859130859375, 0.0777587890625, 0.226806640625, 0.1392822265625, 0.173583984375, 0.1484375, 0.2122802734375, 0.1939697265625, 0.1844482421875, 0.158447265625, 0.03533935546875, 0.10546875, 0.003082275390625, 0.080810546875, 0.1009521484375, 0.094970703125, 0.0732421875, 0.1282958...
embed
55919895_c1
55919895
fsharp
1
! resSeq inArray |JsonToken.StartArray when not inArray -> yield! resSeq true |JsonToken.EndArray when inArray -> yield! resSeq false |_ -> let resObj = serializer.Deserialize<'T>(jrdr) yield resObj yield! resSeq inArray else () } yield! resSeq false } Code signals: Can, Newtonsoft, json.net, Deserialize, Http.RequestS...
! resSeq inArray |JsonToken.StartArray when not inArray -> yield! resSeq true |JsonToken.EndArray when inArray -> yield! resSeq false |_ -> let resObj = serializer.Deserialize<'T>(jrdr) yield resObj yield! resSeq inArray else () } yield! resSeq false } Code signals: Can, Newtonsoft, json.net, Deserialize, Http.RequestS...
[ 0.0135498046875, 0.03076171875, -0.0166015625, -0.0036773681640625, 0.008056640625, -0.0128173828125, -0.009033203125, 0.01190185546875, -0.00732421875, -0.00567626953125, -0.005523681640625, 0.034912109375, 0.00518798828125, -0.004302978515625, 0.0244140625, -0.006256103515625, 0.00...
[ 711, 3332, 4233, 864, 23, 7614, 7092, 1375, 1681, 7763, 1098, 126597, 3229, 959, 11180, 19388, 38, 29568, 152378, 98320, 2633, 46471, 170, 35686, 52825, 73347, 25435, 119066, 618, 42, 37076, 28864, 26073, 4171, 145076, 61306, 1647, 1179, 55...
[ 0.06683349609375, 0.15185546875, 0.18896484375, 0.2147216796875, 0.1226806640625, 0.1131591796875, 0.1805419921875, 0.1239013671875, 0.203857421875, 0.09100341796875, 0.1898193359375, 0.1414794921875, 0.048004150390625, 0.141357421875, 0.09307861328125, 0.1634521484375, 0.01248168945...
embed
15078419_c1
15078419
fsharp
1
Assembly = ProvidedAssembly.RegisterGenerated(assemblyPath) for t in providedAssembly.GetExportedTypes() do let ty = createGeneratedType t ty.SetAssembly(providedAssembly) reqType.AddMember(ty) reqType Thanks in advance Code signals: Emitting, Generated, Types, Literal, Appdev, Playground, SimpleLib, Debug, SimpleLib.d...
Assembly = ProvidedAssembly.RegisterGenerated(assemblyPath) for t in providedAssembly.GetExportedTypes() do let ty = createGeneratedType t ty.SetAssembly(providedAssembly) reqType.AddMember(ty) reqType Thanks in advance Code signals: Emitting, Generated, Types, Literal, Appdev, Playground, SimpleLib, Debug, SimpleLib.d...
[ -0.00775146484375, 0.005828857421875, 0.001617431640625, 0.0189208984375, -0.04345703125, -0.003875732421875, -0.0223388671875, -0.02587890625, 0.0079345703125, -0.036376953125, -0.0108642578125, 0.01177978515625, -0.0157470703125, 0.0036773681640625, 0.005096435546875, -0.005828857421...
[ 151169, 53, 2203, 123089, 71, 89845, 38526, 54601, 19656, 135932, 2175, 297, 683, 10519, 808, 62952, 19279, 6982, 196707, 2633, 2281, 28282, 294, 126, 93136, 48141, 456, 864, 4028, 594, 27417, 939, 28864, 26073, 2775, 14, 19514, 155370, 604...
[ 0.25341796875, 0.1136474609375, 0.03082275390625, 0.1776123046875, 0.0496826171875, 0.211181640625, 0.1068115234375, 0.06402587890625, 0.063720703125, 0.106201171875, 0.06756591796875, 0.02587890625, 0.0565185546875, 0.1590576171875, 0.0921630859375, 0.1968994140625, 0.04507446289062...
embed
41312731_c0
41312731
fsharp
0
Title: Nested functions performance (F#) Problem title: Nested functions performance (F#) Tags: functional-programming, f%23 Problem: Nested functions performance (F#) Are there any performance issues with nested functions in F#? If I have a function which is called on every item in an array, and this function has nest...
Nested functions performance (F#) Nested functions performance (F#) functional-programming f%23 Nested Nested functions performance (F#) Are there any performance issues with nested functions in F#? If I have a function which is called on every item in an array, and this function has nested inner functions, does that m...
[ -0.00775146484375, 0.01123046875, 0.005340576171875, -0.0174560546875, 0.017578125, 0.00714111328125, 0.004913330078125, -0.02783203125, 0.0181884765625, -0.00086212158203125, -0.0016326904296875, -0.00946044921875, 0.0024566650390625, 0.0277099609375, 0.00738525390625, -0.003845214843...
[ 28701, 71, 32354, 7, 23718, 919, 4904, 123309, 28966, 1238, 3742, 15901, 2685, 2499, 37348, 678, 8512, 23, 563, 35839, 98, 11907, 35735, 10298, 75414, 14602, 29459, 17, 720, 27117, 159978, 28282, 95486, 756, 6872, 434, 126351, 24500, 6183, ...
[ 0.27197265625, 0.1612548828125, 0.223876953125, 0.0458984375, 0.201416015625, 0.12353515625, 0.2034912109375, 0.1563720703125, 0.068603515625, 0.045745849609375, 0.056488037109375, 0.0115966796875, 0.01165771484375, 0.044403076171875, 0.1607666015625, 0.04632568359375, 0.28271484375,...
embed
26632586_c0
26632586
fsharp
0
Title: F# Design patterns Problem title: F# Design patterns Tags: design-patterns, f%23, f%23-3.0, c%23-to-f%23 Problem: F# Design patterns After more than 10 years of object oriented programming with C#, when learning about F# I am struggling in imagining how to design applications in a modular way, that allows to add...
F# Design patterns F# Design patterns design-patterns f%23 f%23-3.0 c%23-to-f%23 Design F# Design patterns After more than 10 years of object oriented programming with C#, when learning about F# I am struggling in imagining how to design applications in a modular way, that allows to add functionality without modify cod...
[ 0.00225830078125, 0.02490234375, 0.003875732421875, 0.0029296875, 0.0012664794921875, 0.0012359619140625, -0.00469970703125, 0.0101318359375, 0.024658203125, -0.01953125, 0.006927490234375, -0.0011138916015625, -0.00052642822265625, 0.02099609375, -0.01214599609375, 0.0016021728515625,...
[ 563, 4904, 11724, 103510, 4331, 4453, 22766, 1238, 3742, 27495, 132265, 188, 420, 209, 5369, 36746, 23509, 297, 56037, 52080, 237875, 86898, 86685, 17055, 147, 3917, 114864, 15190, 123309, 15490, 2811, 40383, 18151, 21771, 2685, 11249, 84079, ...
[ 0.137939453125, 0.22265625, 0.2177734375, 0.2257080078125, 0.1920166015625, 0.1376953125, 0.09197998046875, 0.06817626953125, 0.044158935546875, 0.06842041015625, 0.1295166015625, 0.053070068359375, 0.0413818359375, 0.033782958984375, 0.044830322265625, 0.1236572265625, 0.06155395507...
embed
73623005_c1
73623005
fsharp
1
Users, User, Documents, FSharp, privkey.pem, BEGIN, PRIVATE, KEY, MIIEvgIBADANBgkqhkiG9w0BAQEFAASC, convertFromBase64ToBytes, input.Length, input.Substring, Replace, System.Convert.FromBase64String, rsa.ImportPkcs8PrivateKey, Int32.MaxValue, System.Formats.Asn1.AsnDecoder.ReadLength, ReadOnlySpan, AsnEncodingRules, In...
Users, User, Documents, FSharp, privkey.pem, BEGIN, PRIVATE, KEY, MIIEvgIBADANBgkqhkiG9w0BAQEFAASC, convertFromBase64ToBytes, input.Length, input.Substring, Replace, System.Convert.FromBase64String, rsa.ImportPkcs8PrivateKey, Int32.MaxValue, System.Formats.Asn1.AsnDecoder.ReadLength, ReadOnlySpan, AsnEncodingRules, In...
[ -0.009521484375, 0.00811767578125, -0.00726318359375, -0.00152587890625, 0.001007080078125, 0.018798828125, -0.00238037109375, -0.0303955078125, 0.00133514404296875, -0.02685546875, 0.0072021484375, 0.028076171875, -0.011962890625, 0.00433349609375, 0.01416015625, -0.01300048828125, ...
[ 53400, 7, 4, 43101, 93774, 3467, 254, 46827, 19770, 5, 72508, 9622, 108526, 221061, 647, 186104, 13763, 334, 88049, 14676, 14495, 96760, 168407, 63473, 13, 13307, 7763, 75358, 1636, 107730, 449, 927, 96472, 91693, 853, 23935, 12353, 11935, ...
[ 0.2406005859375, 0.1259765625, 0.0245208740234375, 0.258544921875, 0.16162109375, 0.2322998046875, 0.223876953125, 0.2301025390625, 0.2366943359375, 0.06414794921875, 0.2047119140625, 0.031768798828125, 0.1153564453125, 0.157958984375, 0.0909423828125, 0.1732177734375, 0.036560058593...
embed
43795277_c0
43795277
fsharp
0
Title: Is there a name for this higher order function? Problem title: Is there a name for this higher order function? Tags: f%23 Problem: Is there a name for this higher order function? I very frequently want to apply the same argument twice to a binary function f , is there a name for this convert function/combinator?...
Is there a name for this higher order function? Is there a name for this higher order function? f%23 Is there a name for this higher order function? I very frequently want to apply the same argument twice to a binary function f , is there a name for this convert function/combinator? Example usage might be partially app...
[ -0.00823974609375, -0.0179443359375, 0.0211181640625, 0.017333984375, 0.0072021484375, 0.013427734375, -0.00714111328125, -0.005706787109375, 0.00830078125, -0.0174560546875, 0.00537109375, -0.000827789306640625, -0.0198974609375, -0.01318359375, 0.00921630859375, -0.017578125, -0.00...
[ 2071, 2685, 10, 9351, 100, 903, 77546, 12989, 32354, 1238, 3949, 3742, 4552, 195409, 3444, 47, 59911, 5701, 10750, 186351, 2394, 6635, 6, 83, 96760, 64, 277, 19155, 1290, 89536, 127689, 13648, 2878, 678, 127664, 1363, 39933, 661, 30022, 2...
[ 0.047637939453125, 0.10003662109375, 0.1025390625, 0.1822509765625, 0.107421875, 0.1512451171875, 0.18115234375, 0.229736328125, 0.2489013671875, 0.1693115234375, 0.0831298828125, 0.2003173828125, 0.048858642578125, 0.1510009765625, 0.1087646484375, 0.043243408203125, 0.1407470703125...
embed
4861823_c0
4861823
fsharp
0
Title: F# apply sprintf to a list of strings Problem title: F# apply sprintf to a list of strings Tags: f%23, functional-programming, recursion Problem: F# apply sprintf to a list of strings How can I best create a function (lets call it myPrint) that takes sprintf, a format string, and a list of strings as arguments a...
F# apply sprintf to a list of strings F# apply sprintf to a list of strings f%23 functional-programming recursion F# apply sprintf to a list of strings How can I best create a function (lets call it myPrint) that takes sprintf, a format string, and a list of strings as arguments and produces a result such that each ele...
[ -0.0322265625, -0.007049560546875, 0.0185546875, 0.00921630859375, -0.00811767578125, 0.0233154296875, 0.0103759765625, 0.004974365234375, 0.01409912109375, -0.004791259765625, 0.0216064453125, -0.007476806640625, 0.0012359619140625, -0.01483154296875, 0.004638671875, 0.00665283203125,...
[ 563, 4904, 59911, 145320, 420, 47, 5303, 79315, 1238, 3742, 123309, 28966, 195625, 2965, 28282, 32354, 759, 112079, 18, 51776, 9384, 10750, 27489, 16750, 12638, 12830, 190659, 42822, 3934, 140992 ]
[ 0.096923828125, 0.1573486328125, 0.1153564453125, 0.187255859375, 0.222412109375, 0.016357421875, 0.1463623046875, 0.193359375, 0.022552490234375, 0.053955078125, 0.111572265625, 0.053314208984375, 0.1297607421875, 0.07672119140625, 0.10400390625, 0.1904296875, 0.09912109375, 0.189...
embed
22306533_c0
22306533
fsharp
0
Title: Is there an easy way to apply a mass transformation to a Deedle frame? Problem title: Is there an easy way to apply a mass transformation to a Deedle frame? Tags: deedle, f%23 Problem: Is there an easy way to apply a mass transformation to a Deedle frame? I have a Deedle frame in fsharp with 45 columns where eve...
Is there an easy way to apply a mass transformation to a Deedle frame? Is there an easy way to apply a mass transformation to a Deedle frame? deedle f%23 Deedle Is there an easy way to apply a mass transformation to a Deedle frame? I have a Deedle frame in fsharp with 45 columns where every column contains floats. I'd ...
[ -0.0022125244140625, 0.0169677734375, 0.0076904296875, 0.003997802734375, -0.0081787109375, -0.0172119140625, 0.0147705078125, 0.01483154296875, 0.00909423828125, 0.001373291015625, 0.0166015625, 0.006927490234375, -0.021240234375, -0.025390625, 0.007415771484375, -0.00946044921875, ...
[ 2071, 2685, 142, 23468, 3917, 47, 59911, 10, 46889, 167201, 262, 297, 133, 123789, 8, 1238, 3742, 89280, 254, 2678, 3365, 316, 11907, 70541, 21917, 9821, 1884, 28282, 3525, 42805, 7311, 8781, 32354 ]
[ 0.01690673828125, 0.025115966796875, 0.042144775390625, 0.1865234375, 0.1160888671875, 0.06549072265625, 0.188720703125, 0.08172607421875, 0.2054443359375, 0.271728515625, 0.1436767578125, 0.185302734375, 0.209228515625, 0.2327880859375, 0.09075927734375, 0.089599609375, 0.0797119140...
embed
5204699_c0
5204699
fsharp
0
Title: Setting ExitCode in self-hosted F# script Problem title: Setting ExitCode in self-hosted F# script Tags: f%23-interactive, f%23-scripting, f%23 Problem: Setting ExitCode in self-hosted F# script I am hosting the FSI.exe in my build tool (" FAKE - F# Make ") and I need to set the ExitCode for FSI.exe from inside ...
Setting ExitCode in self-hosted F# script Setting ExitCode in self-hosted F# script f%23-interactive f%23-scripting f%23 Setting ExitCode Setting ExitCode in self-hosted F# script I am hosting the FSI.exe in my build tool (" FAKE - F# Make ") and I need to set the ExitCode for FSI.exe from inside my fsx-script. Is this...
[ 0.01904296875, 0.0126953125, 0.01025390625, 0.0169677734375, 0.0142822265625, -0.01544189453125, 0.003997802734375, -0.0150146484375, -0.00311279296875, 0.0177001953125, -0.0108642578125, 0.0172119140625, 0.00185394287109375, 0.016357421875, 0.0284423828125, -0.004241943359375, 0.033...
[ 503, 19514, 5443, 217, 114211, 23, 15970, 497, 14437, 563, 4904, 26499, 1238, 27495, 10433, 32032, 3742, 70496, 9902, 46480, 759, 45367, 55516, 119960, 26176, 3871, 47, 5423, 70, 100, 1295, 46132, 7, 425, 2071, 903, 7722, 1913, 40129, 184...
[ 0.1290283203125, 0.052093505859375, 0.1839599609375, 0.179931640625, 0.254638671875, 0.04052734375, 0.158203125, 0.103759765625, 0.0182647705078125, 0.1297607421875, 0.2059326171875, 0.213623046875, 0.09649658203125, 0.02032470703125, 0.0079345703125, 0.180908203125, 0.01205444335937...
embed
4537907_c0
4537907
fsharp
0
Title: how to add a string to string list Problem title: how to add a string to string list Tags: f%23 Problem: how to add a string to string list let IntAndString value = let (|Match|_|) pattern input = let m = Regex.Match(input, pattern) in if m.Success then Some ([ for g in m.Groups -> g.Value ]) else None match val...
how to add a string to string list how to add a string to string list f%23 IntAndString Match Regex.Match m.Success Some m.Groups g.Value None VALUE List.Empty how to add a string to string list how can I add a string to my string list here ?
[ -0.01458740234375, -0.001434326171875, -0.01031494140625, 0.0260009765625, -0.0181884765625, 0.016845703125, -0.0064697265625, 0.00885009765625, 0.02685546875, 0.0086669921875, 0.013671875, -0.005889892578125, 0.002685546875, 0.0033416748046875, 0.004974365234375, 0.009765625, 0.0038...
[ 3642, 47, 15190, 10, 79315, 5303, 1238, 3949, 3742, 360, 18, 37839, 71713, 214, 67407, 11678, 3355, 79520, 347, 14168, 238, 26531, 31384, 205072, 706, 856, 50770, 55991, 37066, 32036, 134332, 939, 831, 87, 759, 3688 ]
[ 0.0848388671875, 0.176025390625, 0.182373046875, 0.06536865234375, 0.2783203125, 0.2357177734375, 0.1041259765625, 0.03387451171875, 0.1746826171875, 0.0443115234375, 0.05810546875, 0.11279296875, 0.1612548828125, 0.005950927734375, 0.1414794921875, 0.09417724609375, 0.13525390625, ...
embed
50483317_c0
50483317
fsharp
0
Title: F# composition of types. How to instantiate and use. Problem title: F# composition of types. How to instantiate and use. Tags: .net, f%23, type-conversion, types Problem: F# composition of types. How to instantiate and use. I can create and instantiate simple types like this: type MyStr1 = MyStr1 of string let m...
F# composition of types. How to instantiate and use. F# composition of types. How to instantiate and use. .net f%23 type-conversion types How MyStr1 MyStr2 MyStr3 F# composition of types. How to instantiate and use. I can create and instantiate simple types like this: Then I can compose them into third type: How to ins...
[ -0.00909423828125, -0.0038604736328125, 0.000850677490234375, 0.04150390625, -0.00933837890625, 0.02294921875, 0.0067138671875, 0.0133056640625, 0.01373291015625, 0.003936767578125, -0.0076904296875, 0.0107421875, 0.03466796875, 0.001983642578125, -0.015869140625, -0.001007080078125, ...
[ 563, 4904, 166577, 111, 52895, 11249, 47, 34648, 101426, 136, 4527, 6, 1179, 1238, 3742, 10644, 2271, 46354, 2646, 71713, 418, 304, 363, 831, 28282, 8781, 1884, 903, 150350, 3934, 50960, 36746, 33636, 442, 100 ]
[ 0.14794921875, 0.20849609375, 0.217529296875, 0.07757568359375, 0.25, 0.06768798828125, 0.036529541015625, 0.1650390625, 0.183837890625, 0.02789306640625, 0.0855712890625, 0.0068359375, 0.1339111328125, 0.118408203125, 0.081787109375, 0.1939697265625, 0.02734375, 0.1151123046875, ...
embed
2408572_c0
2408572
fsharp
0
Title: How would i write this in F# or another functional language Problem title: How would i write this in F# or another functional language Tags: f%23 Problem: How would i write this in F# or another functional language I know in F# you declare variables when you assign them. I'm sure you can declare vars in a C way ...
How would i write this in F# or another functional language How would i write this in F# or another functional language f%23 How SQLiteDataReader command.ExecuteReader r.Read r.GetInt64 How would i write this in F# or another functional language I know in F# you declare variables when you assign them. I'm sure you can ...
[ 0.02392578125, 0.00156402587890625, 0.0015411376953125, -0.00701904296875, -0.00035858154296875, 0.007171630859375, -0.01031494140625, -0.005157470703125, -0.01287841796875, -0.041259765625, 0.0198974609375, -0.0020904541015625, 0.00007867813110351562, -0.017578125, 0.0062255859375, 0....
[ 11249, 2806, 17, 33022, 903, 23, 563, 4904, 123309, 46876, 1238, 3949, 3742, 80866, 1486, 137989, 31345, 56, 75101, 211603, 1690, 724, 126, 4153, 18, 13307, 159978, 77336, 3229, 95486, 2856, 831, 285, 7, 313, 3917, 3642, 13648 ]
[ 0.0511474609375, 0.1043701171875, 0.05303955078125, 0.163330078125, 0.1014404296875, 0.0726318359375, 0.09814453125, 0.176513671875, 0.134033203125, 0.120849609375, 0.082763671875, 0.048858642578125, 0.1746826171875, 0.1231689453125, 0.1903076171875, 0.07275390625, 0.208740234375, ...
embed
2233592_c0
2233592
fsharp
0
Title: Does F# really allow specifying which functions to be inlined in code? Problem title: Does F# really allow specifying which functions to be inlined in code? Tags: c%23, performance, inline, f%23 Problem: Does F# really allow specifying which functions to be inlined in code? When I am reading F# stuff, they are t...
Does F# really allow specifying which functions to be inlined in code? Does F# really allow specifying which functions to be inlined in code? c%23 performance inline f%23 Does Does F# really allow specifying which functions to be inlined in code? When I am reading F# stuff, they are talking about inlining methods, but ...
[ 0.006195068359375, 0.00518798828125, 0.016845703125, -0.009521484375, -0.01153564453125, -0.01141357421875, 0.002532958984375, -0.01556396484375, 0.0016632080078125, -0.01220703125, 0.0166015625, -0.00054168701171875, -0.0068359375, 0.000606536865234375, 0.004486083984375, -0.003845214...
[ 101790, 563, 4904, 6183, 63769, 48502, 151138, 3129, 32354, 23, 2256, 71, 18151, 47, 501, 3742, 23718, 1238, 150, 592, 150624, 17777, 172554, 903, 123309, 2481, 77848, 30219, 831, 313, 4527, 442, 5701, 37223 ]
[ 0.02081298828125, 0.163330078125, 0.2236328125, 0.106689453125, 0.1248779296875, 0.1922607421875, 0.119140625, 0.07745361328125, 0.221435546875, 0.1473388671875, 0.2335205078125, 0.066650390625, 0.1612548828125, 0.01708984375, 0.018524169921875, 0.0653076171875, 0.151123046875, 0.0...
embed
27069907_c0
27069907
fsharp
0
Title: taking every subsequence in F#? Problem title: taking every subsequence in F#? Tags: f%23, c%23, c%23-to-f%23 Problem: taking every subsequence in F#? I wrote this C# code to take every subsequence of a set of words. static IEnumerable<IEnumerable<string>> Subsequences(IEnumerable<string> words) { var arr = word...
taking every subsequence in F#? taking every subsequence in F#? f%23 c%23 c%23-to-f%23 IEnumerable Subsequences words.ToArray arr.Count arr.Skip Take taking every subsequence in F#? I wrote this C# code to take every subsequence of a set of words. How would you write this in F#?
[ 0.0152587890625, -0.000518798828125, -0.0018157958984375, 0.021240234375, -0.016357421875, -0.005401611328125, -0.0022430419921875, 0.01214599609375, 0.0145263671875, -0.032958984375, -0.0004634857177734375, 0.01007080078125, 0.00775146484375, 0.015625, -0.0040283203125, 0.01708984375,...
[ 35971, 11907, 1614, 184, 944, 3956, 23, 563, 4904, 32, 1238, 3742, 27495, 188, 420, 2606, 56, 2886, 8273, 26513, 34153, 7763, 7092, 108210, 301, 254, 46673, 54397, 903, 18151, 47, 5646, 5423, 5, 11249, 33022 ]
[ 0.1832275390625, 0.197265625, 0.1444091796875, 0.1455078125, 0.1456298828125, 0.057525634765625, 0.058380126953125, 0.1207275390625, 0.207763671875, 0.0155029296875, 0.038421630859375, 0.0478515625, 0.093017578125, 0.10595703125, 0.056488037109375, 0.1099853515625, 0.07464599609375, ...
embed
69660802_c0
69660802
fsharp
0
Title: Head of empty list Problem title: Head of empty list Tags: list, function, f%23 Problem: Head of empty list I'm trying to make a function which returns a list of the first element of each sub-list, including empty lists being returned as []. let firstCol (lst: 'a list list) = List.map List.head lst This works as...
Head of empty list Head of empty list list function f%23 System.ArgumentException Head List.map List.head Head of empty list I'm trying to make a function which returns a list of the first element of each sub-list, including empty lists being returned as []. This works as long as there are no empty lists, but I get the...
[ -0.003509521484375, -0.01214599609375, 0.0086669921875, 0.014404296875, -0.009521484375, 0.014892578125, 0.0113525390625, -0.0089111328125, 0.003387451171875, -0.00933837890625, 0.003448486328125, 0.00787353515625, -0.0020904541015625, 0.0294189453125, 0.010986328125, -0.013427734375, ...
[ 44816, 111, 201505, 5303, 32354, 1238, 3949, 3742, 12353, 7614, 1234, 19279, 63928, 32036, 62346, 31251, 31577, 3249, 30646, 10, 5117, 12830, 12638, 1614, 6562, 176377, 237, 43240, 4989, 110, 25632, 18499, 26008, 3229, 107730, 96853, 11249, 1...
[ 0.2021484375, 0.162841796875, 0.2152099609375, 0.1905517578125, 0.1636962890625, 0.05218505859375, 0.0426025390625, 0.1317138671875, 0.0703125, 0.030303955078125, 0.13916015625, 0.00543212890625, 0.130126953125, 0.1217041015625, 0.08837890625, 0.1717529296875, 0.04632568359375, 0.0...
embed
14999663_c0
14999663
fsharp
0
Title: Absolute beginner in F# - help required Problem title: Absolute beginner in F# - help required Tags: f%23, string Problem: Absolute beginner in F# - help required I have the following piece of code - let items = [ (20,"cat"); (13,"can"); (19,"letter"); (55,"dog"); (87,"kettle"); (122,"weight"); ] Can someone sho...
Absolute beginner in F# - help required Absolute beginner in F# - help required f%23 string Absolute Absolute beginner in F# - help required I have the following piece of code - Can someone show me an example that will give the name of the item with number 13? Everything I try returns an error, looked online for some e...
[ -0.0014801025390625, -0.0196533203125, -0.0037841796875, 0.0126953125, 0.008544921875, 0.014892578125, 0.0162353515625, 0.00775146484375, 0.006500244140625, 0.006072998046875, 0.0189208984375, -0.0201416015625, -0.0084228515625, 0.0224609375, -0.0098876953125, -0.0028076171875, -0.00...
[ 101397, 13, 9842, 1679, 23, 563, 4904, 20, 4358, 56065, 1238, 3949, 3742, 79315, 765, 25632, 63847, 18151, 4171, 22008, 7639, 27781, 1221, 8337, 9351, 35735, 678, 14012, 702, 171581, 9790, 30646, 142, 18499, 54811, 1118, 100, 351, 1810, 2...
[ 0.153076171875, 0.10546875, 0.114990234375, 0.1019287109375, 0.062744140625, 0.1588134765625, 0.246337890625, 0.008453369140625, 0.161376953125, 0.1744384765625, 0.1444091796875, 0.10888671875, 0.21142578125, 0.1514892578125, 0.008758544921875, 0.0614013671875, 0.0195159912109375, ...
embed
32236509_c0
32236509
fsharp
0
Title: F# type mismatch while calling function Problem title: F# type mismatch while calling function Tags: f%23 Problem: F# type mismatch while calling function This code let rec readNLines n list = if n = 0 then list else readNLines(n-1,readInt()::list) ends with Type mismatch. Expecting a 'a but given a 'a -> 'a The...
F# type mismatch while calling function F# type mismatch while calling function f%23 built-in n-1 Type Expecting F# type mismatch while calling function This code ends with but runs ok when last line is changed to or Question is: Why? :|
[ -0.01324462890625, -0.0111083984375, 0.01513671875, 0.01348876953125, -0.00075531005859375, -0.00177001953125, 0.0225830078125, 0.005401611328125, -0.006134033203125, -0.00262451171875, 0.003021240234375, -0.0103759765625, -0.0107421875, -0.0118408203125, 0.0146484375, -0.0172119140625...
[ 563, 4904, 10644, 1239, 98753, 12960, 159029, 32354, 1238, 3949, 3742, 88303, 653, 5759, 60457, 60075, 24762, 214, 18151, 3564, 678, 1284, 127877, 3664, 3229, 4568, 13315, 83, 98816, 47, 707, 68185, 44084 ]
[ 0.11962890625, 0.1937255859375, 0.2125244140625, 0.1116943359375, 0.2496337890625, 0.0654296875, 0.1275634765625, 0.1580810546875, 0.11376953125, 0.07421875, 0.167236328125, 0.1011962890625, 0.0206298828125, 0.1324462890625, 0.1812744140625, 0.120361328125, 0.1451416015625, 0.00387...
embed
21462617_c0
21462617
fsharp
0
Title: How to get culture-aware output with printf-like functions? Problem title: How to get culture-aware output with printf-like functions? Tags: f%23, printf Problem: How to get culture-aware output with printf-like functions? Is there a way to use F#'s sprintf float formating with a decimal comma? It would be nice ...
How to get culture-aware output with printf-like functions? How to get culture-aware output with printf-like functions? f%23 printf How How to get culture-aware output with printf-like functions? Is there a way to use F#'s sprintf float formating with a decimal comma? It would be nice if this worked: Or can I only use ...
[ 0.0024261474609375, -0.0025634765625, 0.00958251953125, -0.0106201171875, 0.002105712890625, 0.00135040283203125, 0.0184326171875, 0.00830078125, -0.010986328125, 0.00640869140625, 0.0135498046875, -0.0113525390625, -0.00421142578125, -0.01116943359375, -0.004425048828125, 0.0021362304...
[ 11249, 47, 2046, 29394, 11, 15876, 140992, 678, 28412, 420, 5062, 32354, 9, 1238, 3949, 3742, 3917, 4527, 563, 4904, 145320, 21917, 257, 9384, 214, 10, 32380, 2749, 96117, 2806, 26267, 79786, 831, 23351, 102973, 74644, 568, 177997, 62160, ...
[ 0.0701904296875, 0.029571533203125, 0.0836181640625, 0.2086181640625, 0.0242767333984375, 0.18408203125, 0.1923828125, 0.08392333984375, 0.159423828125, 0.1881103515625, 0.12451171875, 0.1531982421875, 0.021881103515625, 0.109375, 0.064697265625, 0.1800537109375, 0.055419921875, 0....
embed
23812801_c0
23812801
fsharp
0
Title: a pitfall in argument and interface inheritance in fsharp Problem title: a pitfall in argument and interface inheritance in fsharp Tags: f%23, unit-type Problem: a pitfall in argument and interface inheritance in fsharp Is there any real reason why KO would not work ? type IBase = abstract member test : (unit * ...
a pitfall in argument and interface inheritance in fsharp a pitfall in argument and interface inheritance in fsharp f%23 unit-type IBase x.test a pitfall in argument and interface inheritance in fsharp Is there any real reason why KO would not work ?
[ 0.01904296875, 0.0179443359375, -0.01953125, 0.0032501220703125, 0.00836181640625, -0.01373291015625, -0.0123291015625, -0.00189208984375, 0.01373291015625, 0.00396728515625, -0.004119873046875, 0.00116729736328125, 0.00014781951904296875, 0.0169677734375, 0.0113525390625, -0.010803222...
[ 10, 13380, 9146, 10750, 136, 101758, 23, 3334, 217, 1238, 89280, 254, 3949, 3742, 25072, 50986, 88874, 6991, 1022, 6954, 2499, 2773, 31635, 15400, 11841, 2806, 959, 4488 ]
[ 0.021392822265625, 0.1385498046875, 0.2177734375, 0.16650390625, 0.06378173828125, 0.1611328125, 0.026397705078125, 0.119873046875, 0.04595947265625, 0.1177978515625, 0.1990966796875, 0.136474609375, 0.048919677734375, 0.1602783203125, 0.1622314453125, 0.1181640625, 0.09490966796875,...
embed
57701519_c2
57701519
fsharp
2
: Anonymous, Records, NET, Core, SDK, Linux, ConsoleApp.fsproj, Project, Microsoft.NET.Sdk, PropertyGroup, OutputType, Exe, TargetFramework, netcoreapp2.2, ItemGroup, Compile, Include, Program.fs, EntryPoint, Michelle, Microsoft.NETCore.App, Microsoft, Build, Engine, Copyright, Corporation, All, Restoring, Desktop, Con...
: Anonymous, Records, NET, Core, SDK, Linux, ConsoleApp.fsproj, Project, Microsoft.NET.Sdk, PropertyGroup, OutputType, Exe, TargetFramework, netcoreapp2.2, ItemGroup, Compile, Include, Program.fs, EntryPoint, Michelle, Microsoft.NETCore.App, Microsoft, Build, Engine, Copyright, Corporation, All, Restoring, Desktop, Con...
[ -0.0198974609375, 0.01318359375, 0.0115966796875, 0.020263671875, 0.01470947265625, -0.009521484375, 0.000762939453125, -0.0152587890625, 0.00799560546875, 0.049072265625, 0.01318359375, 0.001708984375, -0.00738525390625, 0.0250244140625, 0.026611328125, 0.0023193359375, 0.021484375,...
[ 152, 180585, 89916, 17777, 31365, 159, 45461, 29908, 1657, 40777, 39179, 17447, 3454, 170, 27331, 7244, 5, 294, 5740, 206984, 205072, 13538, 7077, 196707, 5443, 13, 160017, 108386, 282, 18244, 2043, 30854, 9007, 70147, 78426, 15612, 1340, 822...
[ 0.033782958984375, 0.273681640625, 0.266845703125, 0.191162109375, 0.199462890625, 0.06427001953125, 0.258056640625, 0.236572265625, 0.0687255859375, 0.180419921875, 0.1910400390625, 0.15087890625, 0.170166015625, 0.15283203125, 0.1611328125, 0.1600341796875, 0.00042724609375, 0.04...
embed
44267737_c0
44267737
fsharp
0
Title: Debugging xunit tests written in F# in .NET Core and Visual Studio Code? Problem title: Debugging xunit tests written in F# in .NET Core and Visual Studio Code? Tags: .net-core, debugging, f%23, visual-studio-code Problem: Debugging xunit tests written in F# in .NET Core and Visual Studio Code? I am trying to de...
Debugging xunit tests written in F# in .NET Core and Visual Studio Code? Debugging xunit tests written in F# in .NET Core and Visual Studio Code? .net-core debugging f%23 visual-studio-code Debugging NET Core Visual Studio Debugging xunit tests written in F# in .NET Core and Visual Studio Code? I am trying to debug xun...
[ 0.009765625, 0.005889892578125, -0.0021209716796875, 0.0011444091796875, 0.00787353515625, -0.015869140625, 0.003021240234375, 0.006591796875, -0.002899169921875, 0.031494140625, -0.0081787109375, -0.00146484375, 0.019287109375, 0.0289306640625, 0.009765625, 0.021240234375, 0.0036163...
[ 262, 978, 36659, 10438, 6773, 109921, 59121, 563, 4904, 23, 17777, 31365, 136, 73372, 22968, 28864, 5, 1179, 30854, 8, 1238, 3949, 3742, 21176, 52629, 40899, 32, 31577, 85779, 678, 98, 17368, 54825, 13651, 2071, 903, 7722, 29458 ]
[ 0.13818359375, 0.197021484375, 0.087158203125, 0.189208984375, 0.2420654296875, 0.245361328125, 0.10009765625, 0.1234130859375, 0.2001953125, 0.034149169921875, 0.1376953125, 0.1717529296875, 0.06402587890625, 0.161376953125, 0.1434326171875, 0.136474609375, 0.0217132568359375, 0.0...
embed
35434285_c0
35434285
fsharp
0
Title: How can I generate a dictionary from a list? Problem title: How can I generate a dictionary from a list? Tags: f%23 Problem: How can I generate a dictionary from a list? How can I generate a dictionary from a list? Take the following list: let numbers = [1;2;2;3;3;3;4;5;5;] How can I generate a dictionary where ...
How can I generate a dictionary from a list? How can I generate a dictionary from a list? f%23 a How Seq.fold Map.add How can I generate a dictionary from a list? How can I generate a dictionary from a list? Take the following list: How can I generate a dictionary where the key is the element and the value is the numbe...
[ -0.01153564453125, 0.0130615234375, -0.01141357421875, -0.0011138916015625, -0.005584716796875, 0.004150390625, -0.0128173828125, 0.0012054443359375, -0.004608154296875, -0.025634765625, 0.0028839111328125, -0.00579833984375, 0.004791259765625, 0.059326171875, 0.00090789794921875, -0.0...
[ 11249, 831, 87, 139392, 10, 45, 10763, 6635, 1295, 5303, 1238, 3742, 503, 864, 42822, 42719, 4028, 25632, 22799, 83, 12830, 34292, 14012, 20028, 74918, 28032, 17110, 81887 ]
[ 0.0777587890625, 0.08026123046875, 0.03460693359375, 0.2169189453125, 0.05523681640625, 0.1256103515625, 0.207275390625, 0.20068359375, 0.1514892578125, 0.2261962890625, 0.00537109375, 0.08197021484375, 0.02484130859375, 0.0667724609375, 0.1597900390625, 0.1358642578125, 0.0701904296...
embed
15292425_c0
15292425
fsharp
0
Title: Idiomatic way of aggregating denormalized data Problem title: Idiomatic way of aggregating denormalized data Tags: f%23 Problem: Idiomatic way of aggregating denormalized data I have a set of data of arrays of arrays. As an example [[1,3], [4,3], [1,2], [7,2]] I'd like to transform this to [(3,[1,4]) (2,[1,7])] ...
Idiomatic way of aggregating denormalized data Idiomatic way of aggregating denormalized data f%23 Idiomatic Idiomatic way of aggregating denormalized data I have a set of data of arrays of arrays. As an example I'd like to transform this to that is: create an array of tuples, where the first member is from index 1 of ...
[ 0.012451171875, 0.006103515625, -0.01611328125, -0.00665283203125, -0.01239013671875, 0.0220947265625, -0.002471923828125, 0.01153564453125, 0.0191650390625, -0.006744384765625, 0.00250244140625, 0.005462646484375, -0.005126953125, 0.005523681640625, -0.003173828125, -0.0081787109375, ...
[ 87, 5670, 47148, 3917, 197564, 214, 8, 33176, 29367, 2053, 1238, 3949, 3742, 765, 5423, 111, 10298, 4778, 27781, 1884, 27198, 47, 28282, 370, 99726, 5117, 32786, 1295, 63262, 106, 7311, 53, 756, 142424, 757, 37769, 35509, 615, 831, 86869,...
[ 0.042633056640625, 0.154296875, 0.1405029296875, 0.10791015625, 0.2227783203125, 0.05194091796875, 0.2000732421875, 0.1966552734375, 0.0850830078125, 0.1556396484375, 0.07159423828125, 0.020599365234375, 0.1024169921875, 0.01043701171875, 0.053741455078125, 0.08544921875, 0.131225585...
embed
46670941_c0
46670941
fsharp
0
Title: F# Summing all ints in a list Problem title: F# Summing all ints in a list Tags: recursion, list, f%23 Problem: F# Summing all ints in a list Given a list of int s, I want to return the sum of all the elements in the list which satisfy some predicate p . I have come this far, but it isn't quite there yet. The co...
F# Summing all ints in a list F# Summing all ints in a list recursion list f%23 Summing x::xs F# Summing all ints in a list Given a list of int s, I want to return the sum of all the elements in the list which satisfy some predicate p . I have come this far, but it isn't quite there yet. The compiler complains on 0 wit...
[ -0.01251220703125, 0.0062255859375, 0.023681640625, -0.00138092041015625, -0.0223388671875, 0.0166015625, 0.01153564453125, 0.01513671875, 0.02734375, -0.0028076171875, 0.025634765625, -0.00099945068359375, 0.00799560546875, 0.00732421875, 0.016845703125, 0.007476806640625, 0.0027923...
[ 563, 4904, 1832, 58838, 756, 23, 933, 5303, 195625, 1238, 3742, 1022, 425, 7, 18, 91, 3444, 30646, 10554, 111, 80854, 40407, 1653, 2063, 915, 9969, 34759, 186992, 98, 757, 26008, 10644, 4288, 14602, 959, 14858, 33079, 11, 132283 ]
[ 0.097412109375, 0.136962890625, 0.1845703125, 0.138427734375, 0.1070556640625, 0.108154296875, 0.1361083984375, 0.1591796875, 0.148681640625, 0.047576904296875, 0.099853515625, 0.03118896484375, 0.0740966796875, 0.0208282470703125, 0.0594482421875, 0.03253173828125, 0.0496826171875, ...
embed
53385586_c0
53385586
fsharp
0
Title: About F# TypeProvider Static Parameter Syntax Problem title: About F# TypeProvider Static Parameter Syntax Tags: f%23, type-providers Problem: About F# TypeProvider Static Parameter Syntax Why TypeProvider supports static parameters, how is this done, and does the f# compiler specifically support this feature? I...
About F# TypeProvider Static Parameter Syntax About F# TypeProvider Static Parameter Syntax f%23 type-providers About TypeProvider Static Parameter Syntax About F# TypeProvider Static Parameter Syntax Why TypeProvider supports static parameters, how is this done, and does the f# compiler specifically support this featu...
[ 0.001556396484375, 0.01092529296875, 0.00982666015625, 0.00408935546875, -0.0311279296875, -0.0016632080078125, 0.005645751953125, 0.006072998046875, -0.01470947265625, 0.00109100341796875, -0.0064697265625, -0.031005859375, -0.005218505859375, 0.003448486328125, 0.023193359375, -0.016...
[ 56888, 563, 4904, 60457, 177997, 62160, 71465, 238, 1720, 29089, 19010, 86531, 1238, 3742, 10644, 93136, 14202, 44084, 8060, 201939, 171859, 3642, 16940, 9969, 34759, 183037, 60213, 18507, 35978, 29479, 87, 196707, 101758, 21543, 6002, 959, 151...
[ 0.014129638671875, 0.091796875, 0.2042236328125, 0.2120361328125, 0.1849365234375, 0.156982421875, 0.20556640625, 0.05712890625, 0.138427734375, 0.1519775390625, 0.12548828125, 0.1844482421875, 0.063232421875, 0.1114501953125, 0.205322265625, 0.1898193359375, 0.029510498046875, 0.0...
embed
54074653_c0
54074653
fsharp
0
Title: How to declare an empty Map/dictionary? Problem title: How to declare an empty Map/dictionary? Tags: f%23 Problem: How to declare an empty Map/dictionary? I would like to initialize a recursive function with a Map. To declare a read-only dictionary with value we can do: let dictionary1 = dict [ (1, "a"); (2, "b"...
How to declare an empty Map/dictionary? How to declare an empty Map/dictionary? f%23 How Map dictionary1 dictionary2 How to declare an empty Map/dictionary? I would like to initialize a recursive function with a Map. To declare a read-only dictionary with value we can do: Try it online! Now, I would like to create an e...
[ 0.007354736328125, -0.0019683837890625, -0.00010347366333007812, 0.022705078125, -0.026123046875, 0.0128173828125, 0.00933837890625, -0.021484375, 0.01318359375, 0.004547119140625, 0.01019287109375, -0.0010833740234375, -0.01708984375, 0.0289306640625, 0.033203125, 0.01104736328125, ...
[ 11249, 47, 159978, 142, 201505, 42719, 64, 428, 10763, 6635, 3742, 45, 418, 304, 1884, 61475, 20650, 195625, 5844, 32354, 678, 12301, 191, 34292, 40858, 1118, 2806, 28282, 69307, 16487 ]
[ 0.08837890625, 0.0802001953125, 0.2303466796875, 0.08233642578125, 0.251708984375, 0.2137451171875, 0.05712890625, 0.0638427734375, 0.1470947265625, 0.1348876953125, 0.05316162109375, 0.0760498046875, 0.011077880859375, 0.0574951171875, 0.058441162109375, 0.08392333984375, 0.02209472...
embed
27162285_c0
27162285
fsharp
0
Title: Is possible to parse &quot;off-side&quot; (indentation-based) languages with fparsec? Problem title: Is possible to parse &quot;off-side&quot; (indentation-based) languages with fparsec? Tags: fparsec, indentation, f%23, parsing Problem: Is possible to parse "off-side" (indentation-based) languages with fparsec?...
Is possible to parse &quot;off-side&quot; (indentation-based) languages with fparsec? Is possible to parse &quot;off-side&quot; (indentation-based) languages with fparsec? fparsec indentation f%23 parsing Is possible to parse "off-side" (indentation-based) languages with fparsec? I wish to use FParsec for a python-like...
[ -0.0004596710205078125, -0.00567626953125, 0.004791259765625, 0.0093994140625, -0.0098876953125, 0.01202392578125, -0.003326416015625, 0.002471923828125, 0.00182342529296875, -0.039794921875, 0.0289306640625, 0.0250244140625, -0.01611328125, 0.00537109375, 0.021484375, -0.0053405761718...
[ 2071, 7722, 47, 366, 184, 16713, 8752, 21704, 22062, 77007, 46876, 7, 678, 1238, 2500, 39797, 18597, 3949, 3742, 6953, 9, 32599, 4527, 563, 28636, 17198, 50828, 5062, 8110, 16940, 75675, 214, 93402, 61590, 442, 7103, 4904, 122446 ]
[ 0.040740966796875, 0.154296875, 0.0241851806640625, 0.1737060546875, 0.1309814453125, 0.20263671875, 0.1795654296875, 0.1138916015625, 0.109130859375, 0.1201171875, 0.2174072265625, 0.04022216796875, 0.06512451171875, 0.122314453125, 0.1849365234375, 0.260498046875, 0.152587890625, ...
embed
54163243_c0
54163243
fsharp
0
Title: How to multiply items in an array for example 4 lots of [ 1 .. 10 ] in F# Problem title: How to multiply items in an array for example 4 lots of [ 1 .. 10 ] in F# Tags: f%23, arrays, list Problem: How to multiply items in an array for example 4 lots of [ 1 .. 10 ] in F# I am trying to put a deck of cards (Blackj...
How to multiply items in an array for example 4 lots of [ 1 .. 10 ] in F# How to multiply items in an array for example 4 lots of [ 1 .. 10 ] in F# f%23 arrays list How How to multiply items in an array for example 4 lots of [ 1 .. 10 ] in F# I am trying to put a deck of cards (Blackjack) into an array or list. I have ...
[ -0.004913330078125, -0.00079345703125, 0.002685546875, -0.01153564453125, -0.01007080078125, 0.00323486328125, -0.01544189453125, -0.0012969970703125, 0.006622314453125, -0.022705078125, -0.0018768310546875, 0.0257568359375, -0.003448486328125, 0.0233154296875, -0.0208740234375, -0.021...
[ 11249, 47, 6024, 62479, 55769, 23, 142, 10298, 53, 27781, 201, 71358, 106, 209, 563, 4904, 111, 1468, 1238, 3949, 3742, 4778, 5303, 31577, 3884, 8, 2594, 126381, 97732, 135758, 3934, 51592, 37629, 6002, 86531, 3871, 1884, 903, 2633, 2203,...
[ 0.093505859375, 0.05908203125, 0.20263671875, 0.2498779296875, 0.2254638671875, 0.0894775390625, 0.034423828125, 0.1982421875, 0.1793212890625, 0.0255889892578125, 0.157958984375, 0.2225341796875, 0.076904296875, 0.1650390625, 0.1279296875, 0.199462890625, 0.07843017578125, 0.01504...
embed
65222555_c0
65222555
fsharp
0
Title: In F#, how to sort on a Nullable property? Problem title: In F#, how to sort on a Nullable property? Tags: f%23 Problem: In F#, how to sort on a Nullable property? I have an array downloaded from a database where the property service_time is Nullable<DateTime> : service_time: Nullable<DateTime> In F#, how can I ...
In F#, how to sort on a Nullable property? In F#, how to sort on a Nullable property? f%23 Nullable DateTime service_time Array.sortBy t.service_time In F#, how to sort on a Nullable property? I have an array downloaded from a database where the property service_time is Nullable<DateTime> : In F#, how can I sort this a...
[ -0.0067138671875, 0.00084686279296875, 0.03857421875, -0.011962890625, -0.006683349609375, -0.0198974609375, 0.014892578125, -0.013671875, 0.0057373046875, 0.003265380859375, -0.004669189453125, 0.0255126953125, -0.01177978515625, -0.003753662109375, -0.0164794921875, -0.0257568359375,...
[ 360, 563, 4904, 3642, 12096, 98, 27786, 2661, 57266, 47, 1238, 3742, 25512, 70059, 4516, 6032, 69253, 53, 62351, 75358, 808, 22584, 10298, 7026, 63399, 86291, 831, 903, 22466, 80854, 678, 56574, 5117, 840, 3525, 10644, 839, 20446, 14602, ...
[ 0.0538330078125, 0.147216796875, 0.201904296875, 0.05328369140625, 0.2325439453125, 0.14501953125, 0.200439453125, 0.2174072265625, 0.1646728515625, 0.02197265625, 0.0712890625, 0.047882080078125, 0.05047607421875, 0.1580810546875, 0.131103515625, 0.142578125, 0.082275390625, 0.054...
embed
66907819_c1
66907819
fsharp
1
on my my tree nodes require that children of the nodes are computed first. In any case, I do like CPS and I'd like to improve my understanding of it. So my question is: Is there an alternative way of implementing CPS on rose trees which I may manage to better follow understand? Is there a way to refactor the above cod...
on my my tree nodes require that children of the nodes are computed first. In any case, I do like CPS and I'd like to improve my understanding of it. So my question is: Is there an alternative way of implementing CPS on rose trees which I may manage to better follow understand? Is there a way to refactor the above cod...
[ -0.0108642578125, 0.0084228515625, 0.00439453125, 0.0025634765625, 0.00341796875, 0.0001621246337890625, 0.01470947265625, -0.029541015625, 0.0283203125, -0.05029296875, -0.021484375, 0.0157470703125, 0.007354736328125, 0.036376953125, 0.01519775390625, -0.008544921875, -0.0036163330...
[ 98, 759, 53201, 110, 988, 64209, 20020, 111, 375, 7077, 297, 5117, 54, 1884, 313, 9059, 52295, 100094, 442, 9655, 30700, 3917, 29479, 214, 49175, 1360, 90, 111240, 11522, 28960, 28219, 456, 144810, 70, 36917, 18151, 99156, 40251, 199849, ...
[ 0.09130859375, 0.084716796875, 0.2232666015625, 0.161376953125, 0.160400390625, 0.1085205078125, 0.1925048828125, 0.030426025390625, 0.101806640625, 0.17724609375, 0.059295654296875, 0.1253662109375, 0.016082763671875, 0.1468505859375, 0.11572265625, 0.3046875, 0.0870361328125, 0.0...
embed
35384220_c0
35384220
fsharp
0
Title: Unwrapping a custom list type Problem title: Unwrapping a custom list type Tags: f%23 Problem: Unwrapping a custom list type If I have the following: type StringList = StringList of string list let sl = StringList [ "Hello, "; "World" ] let length = List.length sl then the following compiler error is thrown: Thi...
Unwrapping a custom list type Unwrapping a custom list type f%23 Unwrapping StringList Hello World List.length List Unwrapping a custom list type If I have the following: then the following compiler error is thrown: My understanding is that StringList is an option "wrapping" string list , so how can I "unwrap" it such ...
[ -0.00213623046875, 0.0196533203125, -0.0026397705078125, 0.0296630859375, -0.00872802734375, -0.000637054443359375, -0.006317138671875, -0.00927734375, 0.02490234375, 0.01318359375, 0.0028076171875, -0.0211181640625, -0.0081787109375, 0.01495361328125, -0.004150390625, -0.0015106201171...
[ 992, 5429, 11, 26783, 114122, 5303, 10644, 1238, 3949, 3742, 23351, 214, 154663, 35378, 6661, 32036, 23986, 25632, 9969, 34759, 18499, 104250, 100094, 83, 35829, 79315, 309, 434, 13631, 11782, 150624, 98 ]
[ 0.1324462890625, 0.153076171875, 0.11328125, 0.092041015625, 0.1876220703125, 0.199462890625, 0.1595458984375, 0.03729248046875, 0.0260772705078125, 0.09423828125, 0.1522216796875, 0.10589599609375, 0.2415771484375, 0.1041259765625, 0.07452392578125, 0.1766357421875, 0.0665283203125,...
embed
43509405_c0
43509405
fsharp
0
Title: Understanding type mismatch error? Problem title: Understanding type mismatch error? Tags: f%23 Problem: Understanding type mismatch error? Why does this statement give me a type mismatch error, let x = List.rev [] in (3::x, true::x);; while this statement does not? let x = [] in (3::x, true::x);; I'm assuming i...
Understanding type mismatch error? Understanding type mismatch error? f%23 Understanding List.rev true::x Understanding type mismatch error? Why does this statement give me a type mismatch error, while this statement does not? I'm assuming it is because x is given a function call in the first statement, while it is onl...
[ 0.00118255615234375, 0.0172119140625, 0.0003910064697265625, 0.01275634765625, -0.00225830078125, 0.00628662109375, -0.0026092529296875, 0.0018157958984375, 0.013916015625, -0.0033721923828125, 0.023193359375, 0.004425048828125, 0.018798828125, 0.00823974609375, 0.00238037109375, -0.00...
[ 9626, 144057, 10644, 1239, 98753, 18499, 32, 1238, 3949, 3742, 32036, 65381, 29568, 425, 44084, 63805, 8337, 163, 12960, 959, 66596, 1022, 34475, 32354, 11782, 5117, 4734, 201505, 5303, 17932, 9077, 15400, 43240, 136, 4358 ]
[ 0.1256103515625, 0.170654296875, 0.203857421875, 0.1141357421875, 0.261962890625, 0.185791015625, 0.001129150390625, 0.0316162109375, 0.04498291015625, 0.11669921875, 0.168701171875, 0.1763916015625, 0.100830078125, 0.07061767578125, 0.05743408203125, 0.1728515625, 0.038970947265625,...
embed
48227722_c0
48227722
fsharp
0
Title: Match Type directly in F# (not the object, the actual System.Type) Problem title: Match Type directly in F# (not the object, the actual System.Type) Tags: types, pattern-matching, f%23 Problem: Match Type directly in F# (not the object, the actual System.Type) I know how match on the Type of a object, but how di...
Match Type directly in F# (not the object, the actual System.Type) Match Type directly in F# (not the object, the actual System.Type) types pattern-matching f%23 Match Type System.Type p.PropertyType System.Enum System.Int32 Match Type directly in F# (not the object, the actual System.Type) I know how match on the Type...
[ -0.018798828125, 0.004730224609375, -0.007659912109375, -0.00848388671875, -0.0120849609375, -0.017578125, -0.0269775390625, 0.01458740234375, -0.010498046875, -0.0181884765625, 0.032470703125, 0.00384521484375, -0.00185394287109375, -0.01324462890625, 0.03515625, 0.01104736328125, -...
[ 67407, 60457, 105237, 23, 563, 4904, 10869, 36746, 8561, 12353, 196707, 52895, 103510, 98753, 1238, 3949, 3742, 2606, 6460, 70, 3714, 3642, 14858, 98, 1284, 959, 4488, 30490, 3871, 10644, 2301, 18, 765, 44961, 214 ]
[ 0.254638671875, 0.251708984375, 0.180908203125, 0.049285888671875, 0.1236572265625, 0.191162109375, 0.09515380859375, 0.14599609375, 0.06500244140625, 0.0784912109375, 0.1829833984375, 0.1865234375, 0.1402587890625, 0.218994140625, 0.080322265625, 0.00604248046875, 0.095703125, 0.0...
embed
53186226_c0
53186226
fsharp
0
Title: Is it possible to repeat an array? Problem title: Is it possible to repeat an array? Tags: f%23 Problem: Is it possible to repeat an array? I need to add 1 to each element in an array, and if it goes out of range, I need to start over. let arr = [| 1; 2; 3 |] for i = 0 to Array.length arr - 1 do arr.[i] <- arr.[...
Is it possible to repeat an array? Is it possible to repeat an array? f%23 Array.length Is it possible to repeat an array? I need to add 1 to each element in an array, and if it goes out of range, I need to start over. I want to add 5 points to the array, so that it iterates over the array and gives one point in each e...
[ -0.0174560546875, 0.019775390625, -0.005126953125, 0.015625, -0.007781982421875, -0.007232666015625, -0.00170135498046875, 0.016845703125, 0.0191650390625, -0.0014495849609375, 0.00089263916015625, 0.0086669921875, -0.011962890625, 0.004180908203125, 0.02294921875, -0.005859375, 0.01...
[ 2071, 442, 7722, 47, 119140, 142, 10298, 53, 1238, 3949, 3742, 69253, 23986, 3871, 15190, 106, 12638, 12830, 23, 2174, 60899, 1810, 37457, 4034, 645, 3444, 190, 26847, 17, 8560, 76199, 1632, 6275, 70, 2878, 116, 138, 201, 67, 8305, 1343...
[ 0.0726318359375, 0.1092529296875, 0.220703125, 0.1082763671875, 0.334716796875, 0.095458984375, 0.23779296875, 0.2044677734375, 0.07415771484375, 0.04669189453125, 0.1282958984375, 0.177734375, 0.041351318359375, 0.07049560546875, 0.1011962890625, 0.074951171875, 0.0404052734375, 0...
embed
38684149_c0
38684149
fsharp
0
Title: What&#x27;s the advantage of having a type to represent a function? Problem title: What&#x27;s the advantage of having a type to represent a function? Tags: f%23 Problem: What's the advantage of having a type to represent a function? What's the advantage of having a type represent a function? For example, I have...
What&#x27;s the advantage of having a type to represent a function? What&#x27;s the advantage of having a type to represent a function? f%23 What Soldier PieceProperties King Crown What's the advantage of having a type to represent a function? What's the advantage of having a type represent a function? For example, I h...
[ 0.019287109375, -0.00555419921875, -0.0024566650390625, 0.0181884765625, -0.0240478515625, 0.00102996826171875, -0.0167236328125, -0.00115966796875, 0.01409912109375, -0.0034942626953125, 0.00323486328125, -0.0012969970703125, -0.0174560546875, 0.01043701171875, -0.00494384765625, 0.01...
[ 4865, 3768, 70, 92940, 19441, 10, 10644, 47, 33636, 32354, 111, 6678, 63052, 10374, 329, 10752, 1264, 2449, 18813, 174462, 139999, 8060, 9148, 289, 104921, 3229, 78301, 79459, 765, 14373, 214521 ]
[ 0.04083251953125, 0.06390380859375, 0.047454833984375, 0.24462890625, 0.1494140625, 0.0970458984375, 0.317626953125, 0.1126708984375, 0.28466796875, 0.2237548828125, 0.017791748046875, 0.07391357421875, 0.0877685546875, 0.1044921875, 0.0196380615234375, 0.0477294921875, 0.11352539062...
embed
73236483_c2
73236483
fsharp
2
sharpi.exp" set argv "" executing commands from command file ./testFsharpi.exp spawn fsharpi parent: waiting for sync byte parent: telling child to go ahead parent: now unsynchronized from child spawn: returns {72534} expect: does "" (spawn_id exp6) match glob pattern "> "? no expect: does " \r\n" (spawn_id exp6) match...
sharpi.exp" set argv "" executing commands from command file ./testFsharpi.exp spawn fsharpi parent: waiting for sync byte parent: telling child to go ahead parent: now unsynchronized from child spawn: returns {72534} expect: does "" (spawn_id exp6) match glob pattern "> "? no expect: does " \r\n" (spawn_id exp6) match...
[ 0.01214599609375, -0.00011444091796875, -0.0263671875, -0.004791259765625, -0.01080322265625, -0.0115966796875, 0.0230712890625, 0.0103759765625, 0.004638671875, 0.0147705078125, 0.0260009765625, 0.0184326171875, -0.0213623046875, 0.0223388671875, 0.004974365234375, 0.0042724609375, ...
[ 189173, 14, 83613, 5423, 79459, 334, 71924, 75101, 1295, 11435, 6954, 919, 89280, 1434, 5623, 7710, 1238, 49129, 89289, 100, 6002, 238, 390, 128219, 29041, 47, 738, 99255, 5036, 51, 12654, 101966, 30646, 189075, 10289, 41206, 14602, 19341, ...
[ 0.193359375, 0.21484375, 0.230712890625, 0.1685791015625, 0.1649169921875, 0.236328125, 0.1746826171875, 0.256103515625, 0.06890869140625, 0.123779296875, 0.1702880859375, 0.03533935546875, 0.1932373046875, 0.244384765625, 0.14697265625, 0.1131591796875, 0.05780029296875, 0.1805419...
embed
44368636_c0
44368636
fsharp
0
Title: miniKanren F# with FSLogic Problem title: miniKanren F# with FSLogic Tags: minikanren, f%23 Problem: miniKanren F# with FSLogic Well I'm following a tutorial of miniKanren in scheme using FsLogic , but I just got stuck in this example (run 1 (q) (== '(lambda (x) x) '(lambda (x) x))) And I'm writing it in f# like...
miniKanren F# with FSLogic miniKanren F# with FSLogic minikanren f%23 FSLogic miniKanren F# with FSLogic Well I'm following a tutorial of miniKanren in scheme using FsLogic , but I just got stuck in this example And I'm writing it in f# like this: But it fails (doesn't compile) :( Reading the tests I tried to use proje...
[ 0.0169677734375, 0.00714111328125, 0.0037078857421875, 0.006072998046875, -0.0152587890625, -0.00482177734375, 0.0181884765625, -0.0107421875, 0.006011962890625, -0.031005859375, 0.017822265625, 0.0057373046875, -0.0048828125, -0.017333984375, 0.00457763671875, -0.0234375, 0.01104736...
[ 7665, 50245, 982, 563, 4904, 678, 93774, 113972, 1771, 331, 1238, 3949, 3742, 25632, 57143, 150370, 7, 179933, 903, 27781, 32562, 442, 23, 1884, 4966, 35782, 18, 9969, 1340, 104951, 109921, 4527, 13452, 4488, 100599 ]
[ 0.1788330078125, 0.147705078125, 0.1959228515625, 0.09283447265625, 0.195556640625, 0.043853759765625, 0.129638671875, 0.1944580078125, 0.0789794921875, 0.135986328125, 0.1094970703125, 0.003021240234375, 0.107177734375, 0.06591796875, 0.09906005859375, 0.143310546875, 0.030517578125...
embed
21583379_c0
21583379
fsharp
0
Title: Flatten a list of vectors to a list of floats with fold Problem title: Flatten a list of vectors to a list of floats with fold Tags: f%23 Problem: Flatten a list of vectors to a list of floats with fold I want to flatten a Vector3 list to float32 list . [Vector(1.,2.,3.);Vector(1.,2.,3.)] to [1.;2.;3.;1.;2.;3.] ...
Flatten a list of vectors to a list of floats with fold Flatten a list of vectors to a list of floats with fold f%23 Flatten Vector3 float32 Vector convert_vec3 x.X x.Y x.Z Flatten a list of vectors to a list of floats with fold I want to flatten a Vector3 list to float32 list . I have done it successfully with the fol...
[ -0.0181884765625, 0.01373291015625, 0.0025787353515625, 0.004364013671875, -0.0009613037109375, 0.0034942626953125, -0.018310546875, 0.0048828125, 0.0078125, -0.02197265625, 0.0016326904296875, -0.0179443359375, 0.00408935546875, 0.00482177734375, -0.016845703125, -0.0191650390625, -...
[ 106516, 510, 5303, 22834, 22230, 47, 21917, 9821, 678, 42822, 111, 1238, 3949, 3742, 2609, 18770, 363, 257, 6460, 96760, 35259, 1022, 1542, 1723, 1511, 10, 3444, 49878, 765, 16940, 65771, 25632, 32354, 2806, 903, 6713, 32036 ]
[ 0.2109375, 0.1895751953125, 0.2017822265625, 0.197265625, 0.171142578125, 0.108154296875, 0.197265625, 0.112060546875, 0.08135986328125, 0.25244140625, 0.01458740234375, 0.0360107421875, 0.0421142578125, 0.1143798828125, 0.1549072265625, 0.175537109375, 0.1763916015625, 0.072204589...
embed
62082930_c0
62082930
fsharp
0
Title: Best way to do tryMax and tryMin in F#? Problem title: Best way to do tryMax and tryMin in F#? Tags: f%23, seq Problem: Best way to do tryMax and tryMin in F#? Suppose I have a seq and I want to return the largest if there are any elements or None otherwise. F# does not appear to have this built-in. Here is my a...
Best way to do tryMax and tryMin in F#? Best way to do tryMax and tryMin in F#? f%23 seq Best None Seq.isEmpty Seq.max Some Seq.min Best way to do tryMax and tryMin in F#? Suppose I have a seq and I want to return the largest if there are any elements or None otherwise. F# does not appear to have this built-in. Here is...
[ -0.0006103515625, 0.008544921875, 0.028564453125, -0.003631591796875, -0.013671875, -0.000453948974609375, 0.01513671875, -0.01361083984375, 0.013427734375, 0.00933837890625, 0.005096435546875, 0.03662109375, -0.0140380859375, 0.0027008056640625, 0.052001953125, -0.00005483627319335937...
[ 11345, 3917, 54, 9790, 71346, 136, 59076, 23, 563, 4904, 1238, 3742, 40, 864, 438, 86, 503, 164, 134332, 939, 24084, 1249, 3444, 47, 30646, 142105, 2174, 2499, 80854, 120262, 903, 88303, 73, 81887, 44402, 51515, 29806 ]
[ 0.10791015625, 0.045013427734375, 0.035003662109375, 0.181640625, 0.2313232421875, 0.0811767578125, 0.274658203125, 0.05010986328125, 0.1328125, 0.1986083984375, 0.0770263671875, 0.125732421875, 0.0870361328125, 0.1767578125, 0.0281829833984375, 0.077880859375, 0.0577392578125, 0.0...
embed
78401360_c0
78401360
fsharp
0
Title: Is it possible to do tail recursion with tasks? Problem title: Is it possible to do tail recursion with tasks? Tags: f%23 Problem: Is it possible to do tail recursion with tasks? Is it possible to do tail recursion with methods returning tasks? The following example does not create a correct tail recursion funct...
Is it possible to do tail recursion with tasks? Is it possible to do tail recursion with tasks? f%23 TailCall Warning FS3569 Is it possible to do tail recursion with tasks? Is it possible to do tail recursion with methods returning tasks? The following example does not create a correct tail recursion function: When I r...
[ 0.00701904296875, 0.01806640625, 0.0225830078125, -0.00124359130859375, 0.000782012939453125, 0.000274658203125, -0.00162506103515625, -0.0306396484375, 0.007293701171875, -0.0264892578125, 0.00665283203125, 0.00787353515625, 0.0001621246337890625, 0.0028533935546875, 0.04052734375, 0....
[ 2071, 442, 7722, 54, 46741, 195625, 1830, 678, 66211, 7, 3742, 1218, 379, 441, 5584, 5550, 592, 93774, 176873, 47, 6, 150624, 30646, 25632, 27781, 959, 28282, 26785, 32354, 91995, 12654, 238, 15612, 34759, 1631, 16065, 11675, 15490, 177261,...
[ 0.0290374755859375, 0.05059814453125, 0.1658935546875, 0.070556640625, 0.2666015625, 0.211669921875, 0.161376953125, 0.1580810546875, 0.23046875, 0.1021728515625, 0.04156494140625, 0.1390380859375, 0.09234619140625, 0.084716796875, 0.109375, 0.094482421875, 0.049102783203125, 0.051...
embed
62194626_c0
62194626
fsharp
0
Title: clarification on F# match syntax Problem title: clarification on F# match syntax Tags: f%23 Problem: clarification on F# match syntax I am trying to clarify something that's a bit fuzzy for me: let a, b = true, 3 match a, b with | true, x -> sprintf "true %i" x | false, _ -> "false" in the first match case, true...
clarification on F# match syntax clarification on F# match syntax f%23 clarification on F# match syntax I am trying to clarify something that's a bit fuzzy for me: in the first match case, true is matched and the value of b is assigned to x. the first part I have trouble 'accepting' is that 'true' is read for the compa...
[ 0.003753662109375, 0.01104736328125, 0.0032196044921875, 0.0108642578125, -0.01190185546875, 0.005218505859375, -0.003326416015625, 0.0042724609375, 0.01043701171875, 0.03564453125, 0.0235595703125, 0.0128173828125, 0.0030059814453125, -0.012939453125, 0.005523681640625, -0.01818847656...
[ 17306, 41274, 563, 4904, 14858, 6002, 86531, 98, 1238, 3949, 3742, 40383, 4785, 151581, 5117, 7225, 29568, 83, 34292, 876, 95486, 297, 47, 1022, 63134, 19462, 9774, 13, 12301, 225490, 29459, 1221, 11343, 63805 ]
[ 0.1376953125, 0.09423828125, 0.1220703125, 0.2059326171875, 0.26220703125, 0.1259765625, 0.1378173828125, 0.0074462890625, 0.0828857421875, 0.0679931640625, 0.1439208984375, 0.03509521484375, 0.00689697265625, 0.0640869140625, 0.0836181640625, 0.08837890625, 0.21337890625, 0.009613...
embed
7632820_c0
7632820
fsharp
0
Title: Asynchronous ADO.NET Problem title: Asynchronous ADO.NET Tags: ado.net, sql-server, f%23, c%23 Problem: Asynchronous ADO.NET I'm trying to write an asynchronous server that queries a SQL Server database and am concerned that my DB side is too synchronous. Specifically, I can call ExecuteReader asynchronously but...
Asynchronous ADO.NET Asynchronous ADO.NET ado.net sql-server f%23 c%23 Asynchronous ADO.NET ExecuteReader reader.Item Asynchronous ADO.NET I'm trying to write an asynchronous server that queries a SQL Server database and am concerned that my DB side is too synchronous. Specifically, I can call ExecuteReader asynchronou...
[ -0.0030670166015625, 0.0064697265625, -0.004547119140625, 0.00102996826171875, -0.0262451171875, -0.015625, -0.01220703125, -0.00250244140625, -0.00811767578125, -0.039794921875, 0.0167236328125, -0.01141357421875, 0.015380859375, 0.0004405975341796875, -0.000926971435546875, 0.0061645...
[ 62, 12654, 101966, 41388, 17777, 10821, 1138, 1179, 99247, 39642, 1238, 3742, 211603, 13, 31345, 56, 155255, 2982, 31577, 33022, 10, 10723, 41, 80866, 22687, 63399, 142837, 57976, 5609, 5792, 200470, 831, 11782, 1284, 53418, 5, 7440, 190, 1...
[ 0.02911376953125, 0.138916015625, 0.19677734375, 0.2261962890625, 0.1380615234375, 0.07904052734375, 0.1766357421875, 0.0743408203125, 0.13623046875, 0.1014404296875, 0.03277587890625, 0.04632568359375, 0.149169921875, 0.0382080078125, 0.2327880859375, 0.1275634765625, 0.27001953125,...
embed
18990661_c0
18990661
fsharp
0
Title: Find all strings which has sub-string of an item in another string list Problem title: Find all strings which has sub-string of an item in another string list Tags: f%23, f%23-3.0 Problem: Find all strings which has sub-string of an item in another string list I have the following code. let s1 = [(12, "abcde1234...
Find all strings which has sub-string of an item in another string list Find all strings which has sub-string of an item in another string list f%23 f%23-3.0 Find abcde12345 bcdef2345 xyzafg3838 Seq Find all strings which has sub-string of an item in another string list I have the following code. What's the best way to...
[ 0.004364013671875, 0.004058837890625, -0.000865936279296875, 0.025390625, 0.00396728515625, -0.000759124755859375, 0.000518798828125, 0.0166015625, 0.0096435546875, -0.00958251953125, 0.01495361328125, 0.0203857421875, 0.006195068359375, 0.0218505859375, -0.0040283203125, 0.00518798828...
[ 26040, 756, 79315, 7, 3129, 1556, 1614, 9, 91693, 111, 35735, 23, 15700, 5303, 1238, 3949, 3742, 27495, 132265, 112, 96060, 4240, 4633, 190955, 503, 864, 25632, 18151, 2965, 3917, 47, 7413, 55769, 91, 418, 17932, 2499, 1632, 304, 2773 ]
[ 0.135498046875, 0.115234375, 0.2364501953125, 0.0736083984375, 0.0382080078125, 0.1136474609375, 0.260498046875, 0.075439453125, 0.256103515625, 0.0782470703125, 0.1654052734375, 0.07904052734375, 0.138427734375, 0.161376953125, 0.044586181640625, 0.0170440673828125, 0.113037109375, ...
embed
69700548_c0
69700548
fsharp
0
Title: Transposing without recursion Problem title: Transposing without recursion Tags: function, transpose, f%23, list Problem: Transposing without recursion How do I go about creating a function which will transpose a list without using recursion? This is what I've gotten so far: let lst = [[1;2;3];[4;5;6];[7;8;9]] l...
Transposing without recursion Transposing without recursion function transpose f%23 list Transposing List.map List.head Transposing without recursion How do I go about creating a function which will transpose a list without using recursion? This is what I've gotten so far: Which returns: This is a long the lines of the...
[ -0.0164794921875, 0.014892578125, -0.003143310546875, 0.00170135498046875, -0.012939453125, -0.013671875, -0.0223388671875, -0.0047607421875, -0.0029449462890625, -0.03759765625, 0.00946044921875, 0.0194091796875, 0.00147247314453125, 0.0262451171875, -0.0052490234375, 0.00625610351562...
[ 11062, 7522, 214, 15490, 195625, 1830, 32354, 3900, 78381, 1238, 3949, 3742, 5303, 32036, 62346, 31251, 1672, 105233, 1221, 17368, 17763, 2060, 30646, 3293, 4989, 124519, 140992, 3444, 1295, 2046 ]
[ 0.1602783203125, 0.1868896484375, 0.1075439453125, 0.15966796875, 0.1837158203125, 0.074462890625, 0.202880859375, 0.1875, 0.2005615234375, 0.05108642578125, 0.0579833984375, 0.1312255859375, 0.1893310546875, 0.1578369140625, 0.0830078125, 0.123291015625, 0.0438232421875, 0.1297607...
embed
7428531_c0
7428531
fsharp
0
Title: Which language idioms/paradigms/features make it hard to add support for &quot;type providers&quot;? Problem title: Which language idioms/paradigms/features make it hard to add support for &quot;type providers&quot;? Tags: clr, language-design, f%23, database, c%23 Problem: Which language idioms/paradigms/featur...
Which language idioms/paradigms/features make it hard to add support for &quot;type providers&quot;? Which language idioms/paradigms/features make it hard to add support for &quot;type providers&quot;? clr language-design f%23 database c%23 Which Which language idioms/paradigms/features make it hard to add support for ...
[ 0.010986328125, 0.007171630859375, 0.005828857421875, -0.00087738037109375, -0.004180908203125, -0.01507568359375, -0.01123046875, 0.00982666015625, -0.0047607421875, -0.015869140625, -0.00157928466796875, -0.01708984375, -0.0025634765625, 0.0008392333984375, -0.00148773193359375, 0.00...
[ 46876, 13373, 28016, 4803, 88981, 7941, 15190, 8060, 50986, 81450, 7, 33139, 42, 34198, 3742, 63399, 6276, 3249, 100, 563, 4904, 17596, 49814, 10644, 7722, 60213, 47, 313, 138535, 123309, 30563, 56037, 20623 ]
[ 0.1815185546875, 0.1361083984375, 0.1541748046875, 0.0858154296875, 0.06939697265625, 0.1533203125, 0.0987548828125, 0.2034912109375, 0.206298828125, 0.2242431640625, 0.040069580078125, 0.0200042724609375, 0.1033935546875, 0.1759033203125, 0.046295166015625, 0.10467529296875, 0.01934...
embed
20626381_c0
20626381
fsharp
0
Title: Postfix conditional operator in F# Problem title: Postfix conditional operator in F# Tags: f%23, postfix-operator Problem: Postfix conditional operator in F# In Perl language one can write something like someFunction() if $x == 0 i.e. apply condition in postfix notation. I was sure there must be similar type of ...
Postfix conditional operator in F# Postfix conditional operator in F# f%23 postfix-operator Postfix Postfix conditional operator in F# In Perl language one can write something like i.e. apply condition in postfix notation. I was sure there must be similar type of expression in F#, since it is so flexible in working wit...
[ 0.01019287109375, -0.012939453125, 0.015380859375, -0.01513671875, 0.0184326171875, -0.00469970703125, 0.023193359375, 0.00439453125, -0.013671875, 0.0198974609375, 0.005096435546875, 0.0091552734375, 0.00787353515625, -0.02197265625, 0.00994873046875, 0.0106201171875, -0.02075195312...
[ 2795, 55923, 35431, 289, 39933, 563, 4904, 23, 1238, 3949, 3742, 1305, 206469, 908, 141, 46876, 831, 33022, 9844, 1884, 59911, 110, 22062, 9077, 21373, 10644, 125195, 221, 110677, 20697, 32354, 9790, 142, 84751, 18499, 26008, 3917, 29479, 1...
[ 0.1136474609375, 0.2427978515625, 0.273681640625, 0.067626953125, 0.199462890625, 0.1444091796875, 0.217041015625, 0.03607177734375, 0.0753173828125, 0.07489013671875, 0.1512451171875, 0.120361328125, 0.1900634765625, 0.14892578125, 0.1375732421875, 0.10333251953125, 0.0513916015625,...
embed
28290660_c0
28290660
fsharp
0
Title: Creating a 2D array in F# from a sequence of arrays with similar dimension Problem title: Creating a 2D array in F# from a sequence of arrays with similar dimension Tags: f%23 Problem: Creating a 2D array in F# from a sequence of arrays with similar dimension Suppose I have a sequence of int arrays, all of the s...
Creating a 2D array in F# from a sequence of arrays with similar dimension Creating a 2D array in F# from a sequence of arrays with similar dimension f%23 a Creating Creating a 2D array in F# from a sequence of arrays with similar dimension Suppose I have a sequence of int arrays, all of the same dimension; I wish to c...
[ 0.0164794921875, 0.007080078125, -0.0159912109375, 0.01239013671875, -0.0004215240478515625, -0.0030517578125, -0.00982666015625, 0.0152587890625, 0.01275634765625, -0.0084228515625, 0.00927734375, 0.010986328125, 0.0031890869140625, 0.01019287109375, -0.0205078125, -0.0169677734375, ...
[ 56781, 1916, 116, 397, 10298, 53, 563, 4904, 1295, 10, 944, 4778, 678, 21373, 91403, 23, 40, 1238, 3742, 5701, 32599, 28282, 13315, 653, 927, 13579, 32354, 30646 ]
[ 0.1434326171875, 0.003387451171875, 0.1236572265625, 0.146484375, 0.19482421875, 0.1676025390625, 0.114501953125, 0.190673828125, 0.02984619140625, 0.01092529296875, 0.0882568359375, 0.0654296875, 0.0253448486328125, 0.1097412109375, 0.1240234375, 0.021392822265625, 0.015609741210937...
embed
25063942_c1
25063942
fsharp
1
suggestions! Update 1 The library I'm referencing is Interop.SHDocVw, in 'Microsoft Internet Controls'. I also tried using SHDocVw.DWebBrowserEvents2_DocumentCompleteEventHandler as the delegate type, still failing. Code signals: it, Delegate, NET, Event, You, Documentation, msdn.microsoft.com, aa752084, vs.85, Don, I...
suggestions! Update 1 The library I'm referencing is Interop.SHDocVw, in 'Microsoft Internet Controls'. I also tried using SHDocVw.DWebBrowserEvents2_DocumentCompleteEventHandler as the delegate type, still failing. Code signals: it, Delegate, NET, Event, You, Documentation, msdn.microsoft.com, aa752084, vs.85, Don, I...
[ -0.0103759765625, 0.01409912109375, -0.01708984375, 0.007049560546875, -0.0179443359375, 0.004669189453125, -0.00811767578125, -0.0274658203125, 0.01068115234375, -0.03466796875, -0.00020313262939453125, 0.018798828125, -0.0240478515625, 0.0011138916015625, 0.0098876953125, -0.02038574...
[ 157666, 38, 28641, 35773, 1294, 25, 142447, 5337, 2146, 5, 12927, 8331, 238, 856, 434, 113387, 2665, 27131, 7, 87, 37842, 17368, 159, 16291, 6652, 30474, 15555, 2189, 192134, 304, 239469, 10770, 131801, 135679, 603, 237, 102329, 13, 10644, ...
[ 0.16064453125, 0.00408935546875, 0.05218505859375, 0.2548828125, 0.189697265625, 0.01287841796875, 0.1485595703125, 0.136474609375, 0.2091064453125, 0.0379638671875, 0.099853515625, 0.13525390625, 0.054779052734375, 0.1317138671875, 0.1591796875, 0.109130859375, 0.147216796875, 0.2...
embed
33766181_c0
33766181
fsharp
0
Title: Meaning of &quot;==&gt;&quot; syntax in F# Problem title: Meaning of &quot;==&gt;&quot; syntax in F# Tags: fscheck, f%23 Problem: Meaning of "==>" syntax in F# Consider the following code in F# let rec ordered xs = match xs with | [] | [_] -> true | x1 :: x2 :: xs' -> x1 <= x2 && ordered (x2 :: xs') and then let...
Meaning of &quot;==&gt;&quot; syntax in F# Meaning of &quot;==&gt;&quot; syntax in F# fscheck f%23 Meaning Meaning of "==>" syntax in F# Consider the following code in F# and then and finally What i can not understand is the ==> meanning in the last line!!! What is it?
[ -0.001800537109375, -0.0062255859375, 0.00146484375, -0.0029144287109375, 0.01263427734375, 0.023681640625, -0.009765625, -0.00726318359375, 0.0157470703125, -0.006195068359375, 0.0146484375, 0.01177978515625, -0.012939453125, -0.006805419921875, -0.00457763671875, -0.00970458984375, ...
[ 1215, 11, 592, 41502, 69112, 1230, 5386, 6002, 86531, 23, 563, 4904, 111, 1238, 78292, 3742, 2740, 58, 137399, 25632, 18151, 7068, 77681, 831, 959, 28219, 83, 70, 29459, 4568, 13315, 1564, 4865, 442 ]
[ 0.1041259765625, 0.121826171875, 0.10595703125, 0.1236572265625, 0.224853515625, 0.08795166015625, 0.193115234375, 0.1463623046875, 0.194091796875, 0.062744140625, 0.144287109375, 0.21044921875, 0.053680419921875, 0.0850830078125, 0.1910400390625, 0.0792236328125, 0.249755859375, 0...
embed
65751331_c1
65751331
fsharp
1
Foo -> string' does not have the correct type to override the corresponding abstract method. The required signature is 'Unwrap<'T> : 'T -> string'. let wrapper = { new IWrapper with member this.Unwrap<'T>(foo: Foo) = unwrapFoo foo member this.Wrap<'U> string = Bar(string) } Any help implementing this interface type an...
Foo -> string' does not have the correct type to override the corresponding abstract method. The required signature is 'Unwrap<'T> : 'T -> string'. let wrapper = { new IWrapper with member this.Unwrap<'T>(foo: Foo) = unwrapFoo foo member this.Wrap<'U> string = Bar(string) } Any help implementing this interface type an...
[ 0.0033721923828125, 0.007781982421875, -0.01202392578125, 0.00628662109375, -0.01287841796875, 0.005828857421875, -0.01507568359375, -0.00921630859375, 0.00628662109375, 0.04638671875, -0.020751953125, 0.000164031982421875, 0.00110626220703125, 0.006591796875, -0.002197265625, -0.01098...
[ 9572, 31, 33079, 79315, 959, 765, 26785, 10644, 645, 416, 112, 42518, 164789, 55300, 56065, 138256, 83, 14256, 434, 13631, 618, 2633, 137565, 1264, 3525, 87, 1456, 219, 8079, 678, 32786, 903, 3584, 12, 2203, 51, 27591, 5775, 1062, 3253, ...
[ 0.21435546875, 0.1868896484375, 0.1585693359375, 0.25146484375, 0.079833984375, 0.0352783203125, 0.127685546875, 0.1741943359375, 0.051483154296875, 0.15966796875, 0.057769775390625, 0.04010009765625, 0.2471923828125, 0.1378173828125, 0.1607666015625, 0.250732421875, 0.02798461914062...
embed
70519528_c0
70519528
fsharp
0
Title: Syntax for implicit conversion from F# function to C# Func&lt;&gt; Problem title: Syntax for implicit conversion from F# function to C# Func&lt;&gt; Tags: f%23 Problem: Syntax for implicit conversion from F# function to C# Func<> This compiles let a (t2: Type) = obj() let c: Func<Type,obj> = a but this let a (t2...
Syntax for implicit conversion from F# function to C# Func&lt;&gt; Syntax for implicit conversion from F# function to C# Func&lt;&gt; f%23 F# Syntax Func Type t:Type Syntax for implicit conversion from F# function to C# Func<> This compiles but this says This expression was expected to have type 'Func<Type,(Type -> obj...
[ 0.0107421875, 0.0098876953125, 0.007080078125, 0.00811767578125, 0.011474609375, 0.016357421875, -0.01031494140625, -0.00909423828125, 0.01092529296875, -0.00106048583984375, 0.0052490234375, 0.004180908203125, -0.0101318359375, 0.00029754638671875, 0.006988525390625, -0.01806640625, ...
[ 19010, 86531, 100, 165164, 142477, 1295, 563, 4904, 32354, 47, 313, 28670, 1238, 3742, 60457, 808, 12, 196707, 238, 3293, 9969, 1340, 1284, 903, 17378, 125195, 509, 84751, 765, 10644, 97249, 33079, 995, 170, 2740, 3688, 1556, 11, 275, 371...
[ 0.140625, 0.2078857421875, 0.02203369140625, 0.265380859375, 0.176513671875, 0.0706787109375, 0.1185302734375, 0.233154296875, 0.15771484375, 0.105712890625, 0.0654296875, 0.1527099609375, 0.0704345703125, 0.1058349609375, 0.1492919921875, 0.12353515625, 0.01922607421875, 0.2292480...
embed
32017021_c0
32017021
fsharp
0
Title: How do you add a description to a FAKE Target? Problem title: How do you add a description to a FAKE Target? Tags: f%23, f%23-fake Problem: How do you add a description to a FAKE Target? Is it possible to add a description to this target? Or would I have to go about it another way? Target "Test" (fun _ -> trace ...
How do you add a description to a FAKE Target? How do you add a description to a FAKE Target? f%23 f%23-fake How FAKE Target Test Testing How do you add a description to a FAKE Target? Is it possible to add a description to this target? Or would I have to go about it another way? Edit: TargetHelper allows for the descr...
[ 0.0233154296875, 0.0205078125, 0.007354736328125, -0.00958251953125, 0.0140380859375, -0.01361083984375, -0.006103515625, -0.0184326171875, 0.003082275390625, 0.0101318359375, 0.015380859375, -0.004608154296875, -0.0147705078125, 0.023681640625, 0.014892578125, 0.0040283203125, 0.019...
[ 11249, 15190, 10, 76811, 47, 563, 119960, 160017, 1021, 350, 8647, 7722, 903, 30388, 60785, 1264, 114864, 127887, 5303, 63031, 3794, 35839, 100094, 18151, 32102, 89280, 919, 9007, 17647, 104820, 17447, 38230 ]
[ 0.05413818359375, 0.1651611328125, 0.058380126953125, 0.260009765625, 0.08251953125, 0.1541748046875, 0.2186279296875, 0.28076171875, 0.1268310546875, 0.088623046875, 0.124267578125, 0.066650390625, 0.0200958251953125, 0.252197265625, 0.152587890625, 0.1578369140625, 0.0714111328125,...
embed
24741360_c0
24741360
fsharp
0
Title: How do you generate F# code using its AST? Problem title: How do you generate F# code using its AST? Tags: abstract-syntax-tree, f%23 Problem: How do you generate F# code using its AST? I would like to generate F# code for a .fs file using the abstract syntax tree. I am able to generate a .cs file using the Rosl...
How do you generate F# code using its AST? How do you generate F# code using its AST? abstract-syntax-tree f%23 its How AST How do you generate F# code using its AST? I would like to generate F# code for a .fs file using the abstract syntax tree. I am able to generate a .cs file using the Roslyn API. Here is an example...
[ -0.010498046875, 0.0157470703125, 0.004913330078125, -0.0196533203125, 0.00665283203125, -0.0007476806640625, -0.0076904296875, 0.000171661376953125, -0.01153564453125, -0.0235595703125, 0.0108642578125, 0.0024566650390625, -0.0093994140625, 0.021728515625, 0.022216796875, -0.001007080...
[ 11249, 54, 139392, 563, 4904, 18151, 17368, 6863, 48963, 398, 164789, 12654, 86531, 62600, 1238, 3949, 3742, 1884, 5, 17447, 11435, 6002, 53201, 19048, 4439, 70, 12015, 12536, 61687, 27781, 45832, 25072, 109921, 35509, 18606, 31, 23, 28282, ...
[ 0.0858154296875, 0.04058837890625, 0.2197265625, 0.174072265625, 0.2734375, 0.2459716796875, 0.1163330078125, 0.1297607421875, 0.1995849609375, 0.018646240234375, 0.2081298828125, 0.05438232421875, 0.1531982421875, 0.1859130859375, 0.09912109375, 0.01312255859375, 0.08282470703125, ...
embed
6265619_c0
6265619
fsharp
0
Title: f#/.net read Excel: use ApplicationClass Problem title: f#/.net read Excel: use ApplicationClass Tags: f%23, c%23, .net Problem: f#/.net read Excel: use ApplicationClass If I use Microsoft.Office.Interop.Excel.ApplicationClass to read an excel file as below, do I need to explictly close/quit the Excel.applicatio...
f#/.net read Excel: use ApplicationClass f#/.net read Excel: use ApplicationClass f%23 c%23 .net Excel ApplicationClass Microsoft.Office.Interop.Excel.ApplicationClass Excel.applicationClass Visible app.Workbooks.Open f#/.net read Excel: use ApplicationClass If I use Microsoft.Office.Interop.Excel.ApplicationClass to r...
[ 0.019775390625, 0.019775390625, 0.0030975341796875, 0.013916015625, -0.00872802734375, -0.00104522705078125, -0.0001888275146484375, -0.0146484375, 0.00787353515625, -0.0281982421875, 0.0179443359375, -0.0032196044921875, -0.01220703125, 0.004150390625, 0.0159912109375, -0.039306640625...
[ 1238, 4904, 64, 1179, 12301, 30326, 12, 4527, 104921, 140803, 5, 3742, 6, 7244, 94833, 44851, 2146, 184926, 47677, 182867, 101687, 582, 55356, 4027, 81415, 103264, 4263, 87, 47, 64152, 11435, 237, 35064, 54, 3871, 96320, 18, 20903, 3181, ...
[ 0.104248046875, 0.1527099609375, 0.1004638671875, 0.1488037109375, 0.1763916015625, 0.254638671875, 0.05596923828125, 0.06939697265625, 0.1827392578125, 0.26708984375, 0.05206298828125, 0.03973388671875, 0.0204010009765625, 0.046661376953125, 0.15283203125, 0.1112060546875, 0.1810302...
embed
55562642_c0
55562642
fsharp
0
Title: F# Seq&lt;Seq&lt;char&gt;&gt; convert to string Problem title: F# Seq&lt;Seq&lt;char&gt;&gt; convert to string Tags: f%23 Problem: F# Seq > convert to string Playing with F# and trying to get from string abcdefghijklmnop another string aeimbfjncgkodhlp . let input ="abcdefghijklmnop" let convertList (input:strin...
F# Seq&lt;Seq&lt;char&gt;&gt; convert to string F# Seq&lt;Seq&lt;char&gt;&gt; convert to string f%23 Seq input:string Seq.mapi Seq.groupBy Seq.map F# Seq > convert to string Playing with F# and trying to get from string abcdefghijklmnop another string aeimbfjncgkodhlp . In my function final result is seq<seq<char>> , h...
[ 0.0047607421875, 0.006072998046875, -0.0167236328125, 0.02294921875, -0.0059814453125, 0.009765625, -0.0006103515625, 0.015380859375, 0.00433349609375, 0.0419921875, 0.012451171875, 0.0264892578125, 0.003204345703125, 0.035888671875, -0.0238037109375, 0.002197265625, -0.0036773681640...
[ 563, 4904, 503, 864, 1277, 4233, 9254, 5386, 96760, 47, 79315, 1238, 3949, 3742, 107730, 91693, 1434, 51588, 62346, 11356, 31577, 2046, 1295, 1563, 4240, 18651, 49622, 28122, 157, 254, 15700, 464, 150598, 17144, 8266, 6, 5, 759, 32354, 27...
[ 0.1285400390625, 0.19482421875, 0.13134765625, 0.26171875, 0.008514404296875, 0.10498046875, 0.1806640625, 0.0660400390625, 0.177734375, 0.1053466796875, 0.276123046875, 0.107666015625, 0.00335693359375, 0.1468505859375, 0.128662109375, 0.153564453125, 0.087646484375, 0.10217285156...
embed
35810566_c0
35810566
fsharp
0
Title: F# download text file via FTP with implicit SSL Problem title: F# download text file via FTP with implicit SSL Tags: ssl, ftps, ftp, f%23 Problem: F# download text file via FTP with implicit SSL I am trying to download a file over FTP which is setup with implicit SSL. Here is my code so far: open System.Net Code...
F# download text file via FTP with implicit SSL F# download text file via FTP with implicit SSL ssl ftps ftp f%23 System.Net.WebException FTP SSL System.Net user_name FtpWebRequest.Create FtpWebRequest request.Credentials NetworkCredential request.Method WebRequestMethods.Ftp.DownloadFile request.Proxy request.GetRespo...
[ 0.0021514892578125, 0.0036773681640625, 0.0010528564453125, 0.006866455078125, 0.0162353515625, -0.01318359375, -0.0166015625, 0.0074462890625, -0.0037689208984375, 0.00180816650390625, 0.011474609375, -0.0115966796875, -0.0146484375, 0.006500244140625, 0.001617431640625, -0.0094604492...
[ 563, 4904, 7026, 7986, 11435, 1829, 162379, 678, 165164, 103527, 91, 24861, 2480, 6423, 254, 1238, 3949, 3742, 12353, 24447, 30474, 19279, 63928, 38937, 23805, 75616, 50336, 2822, 80973, 28997, 78572, 4002, 7352, 919, 18, 144786, 174350, 5087...
[ 0.140625, 0.2099609375, 0.1356201171875, 0.1715087890625, 0.1204833984375, 0.043243408203125, 0.2587890625, 0.06512451171875, 0.258544921875, 0.227294921875, 0.012451171875, 0.1768798828125, 0.1158447265625, 0.0863037109375, 0.133544921875, 0.05889892578125, 0.01361083984375, 0.129...
embed
63081914_c0
63081914
fsharp
0
Title: How to add FsLexYacc to a project via PackageReference Problem title: How to add FsLexYacc to a project via PackageReference Tags: f%23 Problem: How to add FsLexYacc to a project via PackageReference I do not see how to install fslex on my mac os. According to https://fsprojects.github.io/FsLexYacc/fslex.html , ...
How to add FsLexYacc to a project via PackageReference How to add FsLexYacc to a project via PackageReference f%23 How FsLexYacc PackageReference How to add FsLexYacc to a project via PackageReference I do not see how to install fslex on my mac os. According to https://fsprojects.github.io/FsLexYacc/fslex.html , I will...
[ 0.00014019012451171875, 0.0289306640625, 0.009521484375, 0.01312255859375, -0.00469970703125, 0.013427734375, 0.01263427734375, -0.01275634765625, 0.01129150390625, -0.00439453125, 0.042724609375, -0.007415771484375, -0.016357421875, 0.01373291015625, 0.01092529296875, -0.0019226074218...
[ 11249, 15190, 563, 7, 5267, 425, 21566, 10060, 47, 13452, 1829, 56607, 4588, 4332, 69988, 1238, 3742, 1957, 3642, 20600, 74070, 98, 19138, 362, 17447, 95322, 32102, 919, 3871, 98169, 91067, 11435, 5608, 49814, 76811, 131492, 4904, 106001, 4...
[ 0.0675048828125, 0.178466796875, 0.14404296875, 0.1190185546875, 0.2020263671875, 0.150390625, 0.1932373046875, 0.1983642578125, 0.076171875, 0.16650390625, 0.0811767578125, 0.1612548828125, 0.0836181640625, 0.0894775390625, 0.184326171875, 0.125732421875, 0.06463623046875, 0.01022...
embed
39452303_c0
39452303
fsharp
0
Title: F# Why can&#x27;t I use the :? operator in F# interactive? Problem title: F# Why can&#x27;t I use the :? operator in F# interactive? Tags: f%23-interactive, f%23, typechecking Problem: F# Why can't I use the :? operator in F# interactive? I am trying to check if a variable is of a certain type like so: let s = "...
F# Why can&#x27;t I use the :? operator in F# interactive? F# Why can&#x27;t I use the :? operator in F# interactive? f%23-interactive f%23 typechecking Why FS0016 F# Why can't I use the :? operator in F# interactive? I am trying to check if a variable is of a certain type like so: but in F# interactive, I get the foll...
[ 0.0011138916015625, -0.00897216796875, 0.00726318359375, 0.012939453125, -0.01507568359375, -0.000415802001953125, -0.005706787109375, 0.0159912109375, -0.01165771484375, 0.001922607421875, 0.01165771484375, -0.033447265625, 0.0194091796875, -0.00494384765625, 0.002899169921875, -0.006...
[ 563, 4904, 44084, 831, 3768, 18, 4527, 152, 32, 39933, 23, 212398, 1238, 27495, 10433, 71232, 3742, 10644, 78292, 93774, 7049, 2485, 12765, 77336, 111, 24233, 1884, 221, 18499, 91693, 959, 2499, 27798, 1614, 50986, 53418, 11814, 237, 31344,...
[ 0.113037109375, 0.206298828125, 0.06695556640625, 0.07879638671875, 0.032470703125, 0.05718994140625, 0.0882568359375, 0.1175537109375, 0.117431640625, 0.1982421875, 0.03173828125, 0.1806640625, 0.07122802734375, 0.0142364501953125, 0.0621337890625, 0.0706787109375, 0.017501831054687...
embed
20440957_c0
20440957
fsharp
0
Title: Is it possible to force record type in F# when doing an assignment? Problem title: Is it possible to force record type in F# when doing an assignment? Tags: f%23 Problem: Is it possible to force record type in F# when doing an assignment? To explain I think it is best with an example: type myRec = {x: string} ty...
Is it possible to force record type in F# when doing an assignment? Is it possible to force record type in F# when doing an assignment? f%23 myRec2 a.x FS0001 Is it possible to force record type in F# when doing an assignment? To explain I think it is best with an example: So how do I force x to have the type myRec if ...
[ -0.0022735595703125, -0.000164031982421875, 0.00787353515625, 0.018798828125, 0.007659912109375, -0.018798828125, -0.04345703125, 0.01220703125, 0.0034332275390625, 0.00075531005859375, 0.015625, -0.00531005859375, 0.01226806640625, -0.01361083984375, 0.01446533203125, -0.0263671875, ...
[ 2071, 442, 7722, 47, 37772, 17164, 10644, 23, 563, 4904, 95486, 674, 1238, 3742, 759, 4332, 238, 304, 425, 93774, 188735, 73342, 27781, 3642, 1022, 765, 70, 5701, 138256 ]
[ 0.0220489501953125, 0.0423583984375, 0.1666259765625, 0.033538818359375, 0.2130126953125, 0.235595703125, 0.2144775390625, 0.04644775390625, 0.1402587890625, 0.2021484375, 0.1568603515625, 0.042633056640625, 0.042388916015625, 0.078369140625, 0.08282470703125, 0.108642578125, 0.12207...
embed