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
14990142_c0
14990142
fsharp
0
Title: Static type variable, member constraint, compiler bug? ("Attempted to parse this as an operator name, but failed") Problem title: Static type variable, member constraint, compiler bug? ("Attempted to parse this as an operator name, but failed") Tags: inline, f%23, f%23-3.0 Problem: Static typ...
Static type variable, member constraint, compiler bug? ("Attempted to parse this as an operator name, but failed") Static type variable, member constraint, compiler bug? ("Attempted to parse this as an operator name, but failed") inline f%23 f%23-3.0 Static Attempted Static type variable, member con...
[ 0.0146484375, -0.0118408203125, 0.014404296875, -0.002227783203125, -0.020751953125, -0.0137939453125, -0.00872802734375, 0.019775390625, -0.015869140625, -0.01275634765625, -0.01153564453125, -0.01171875, 0.0030364990234375, -0.00153350830078125, 0.03662109375, -0.007293701171875, -...
[ 71465, 238, 10644, 77336, 32786, 158, 2816, 4288, 9969, 34759, 54608, 34224, 366, 184, 903, 39933, 9351, 165523, 1284, 23, 2256, 1238, 3742, 27495, 132265, 15612, 1340, 959, 212059, 992, 83613, 13, 26582, 2740, 138256, 60075, 47, 1098, 1718...
[ 0.18896484375, 0.0557861328125, 0.1895751953125, 0.2410888671875, 0.23388671875, 0.0693359375, 0.1666259765625, 0.1060791015625, 0.14013671875, 0.135986328125, 0.15234375, 0.1307373046875, 0.099609375, 0.0606689453125, 0.01605224609375, 0.201904296875, 0.0853271484375, 0.1513671875...
embed
43005294_c0
43005294
fsharp
0
Title: F# trim null chars Problem title: F# trim null chars Tags: f%23, null Problem: F# trim null chars I have a string recieved from a web socket: let websocket = new ClientWebSocket() let source = new CancellationTokenSource() let buffer = ArraySegment(Array.zeroCreate 32) do! websocket.ConnectAsync(url, source.Toke...
F# trim null chars F# trim null chars f%23 null ClientWebSocket CancellationTokenSource ArraySegment Array.zeroCreate websocket.ConnectAsync source.Token websocket.ReceiveAsync Encoding.ASCII.GetString buffer.Array trim1 Regex.replace String.Empty trim2 trim3 str.TrimEnd F# trim null chars I have a string recieved from...
[ -0.0019378662109375, 0.0242919921875, 0.000858306884765625, 0.032958984375, -0.01141357421875, -0.000492095947265625, 0.01458740234375, 0.01025390625, -0.0037384033203125, 0.027587890625, -0.0078125, -0.020751953125, -0.0072021484375, 0.00762939453125, 0.00439453125, -0.001358032226562...
[ 563, 4904, 85247, 56574, 21441, 1238, 3742, 91732, 30474, 8912, 27853, 80392, 1098, 211235, 2507, 80510, 1467, 991, 235603, 12654, 31344, 587, 134165, 71713, 373, 18234, 7092, 11678, 3355, 107, 23935, 23351, 134332, 363, 7704, 74257, 79315, 2...
[ 0.1412353515625, 0.19677734375, 0.21044921875, 0.2086181640625, 0.1624755859375, 0.09796142578125, 0.1014404296875, 0.1146240234375, 0.0149993896484375, 0.03839111328125, 0.135009765625, 0.0987548828125, 0.0711669921875, 0.08685302734375, 0.045074462890625, 0.0833740234375, 0.0483703...
embed
32312503_c1
32312503
fsharp
1
("./ImportLog.txt") use targetCon = new SqlConnection(conStr) targetCon.Open() let query = "insert query" let insert person = try use cmd = new SqlCommand(query, targetCon) ....setting parameters stuff...... cmd.ExecuteNonQuery() |> ignore with sx -> sw.WriteLine(sx.Message) source.source.ServiceTypes.Person |> Seq.map...
("./ImportLog.txt") use targetCon = new SqlConnection(conStr) targetCon.Open() let query = "insert query" let insert person = try use cmd = new SqlCommand(query, targetCon) ....setting parameters stuff...... cmd.ExecuteNonQuery() |> ignore with sx -> sw.WriteLine(sx.Message) source.source.ServiceTypes.Person |> Seq.map...
[ 0.0037384033203125, 0.0123291015625, -0.0004425048828125, 0.01446533203125, -0.01513671875, 0.021240234375, -0.0230712890625, -0.0194091796875, -0.00860595703125, -0.035400390625, 0.011474609375, -0.01507568359375, 0.00970458984375, 0.00494384765625, 0.01092529296875, -0.012939453125, ...
[ 61637, 6982, 113972, 124326, 4527, 30388, 11935, 99247, 235603, 1830, 2271, 71713, 103264, 2633, 41, 73, 33657, 1294, 183540, 3445, 9790, 1827, 71, 12018, 944, 89840, 171859, 211603, 59881, 41732, 124962, 425, 434, 93232, 6011, 31344, 60427, ...
[ 0.1014404296875, 0.1832275390625, 0.230712890625, 0.2291259765625, 0.057373046875, 0.232177734375, 0.1964111328125, 0.1380615234375, 0.1229248046875, 0.04473876953125, 0.021697998046875, 0.134033203125, 0.07818603515625, 0.02459716796875, 0.1134033203125, 0.0345458984375, 0.139404296...
embed
77681401_c1
77681401
fsharp
1
docx.WordProcessingML.DocumentPart let Save(document: docx.WordProcessingML.Document): string = if isNull (box document) then nullArg "document" docx.WordProcessingML.Save document let Paragraph(runs: Run seq): docx.WordProcessingML.Paragraph = if isNull (box runs) then nullArg "runs" List.ofSeq runs let Document(path...
docx.WordProcessingML.DocumentPart let Save(document: docx.WordProcessingML.Document): string = if isNull (box document) then nullArg "document" docx.WordProcessingML.Save document let Paragraph(runs: Run seq): docx.WordProcessingML.Paragraph = if isNull (box runs) then nullArg "runs" List.ofSeq runs let Document(path...
[ -0.01123046875, -0.0025634765625, 0.024658203125, 0.00830078125, -0.0233154296875, 0.000942230224609375, -0.00726318359375, -0.0159912109375, -0.00011301040649414062, 0.0264892578125, 0.010986328125, 0.05126953125, -0.00958251953125, 0.0096435546875, 0.010986328125, -0.012451171875, ...
[ 51584, 425, 164805, 10752, 26531, 39456, 239469, 58229, 2633, 64944, 117432, 214, 79315, 2174, 83, 18444, 1181, 11728, 12937, 56574, 7614, 177, 5464, 272, 1720, 41382, 16428, 28398, 40, 864, 55292, 127877, 32036, 4390, 4233, 43101, 128405, 63...
[ 0.11572265625, 0.123046875, 0.1591796875, 0.046875, 0.117431640625, 0.1923828125, 0.18701171875, 0.20361328125, 0.06695556640625, 0.202880859375, 0.22314453125, 0.031463623046875, 0.2447509765625, 0.0560302734375, 0.038177490234375, 0.139892578125, 0.17626953125, 0.195068359375, ...
embed
22598857_c0
22598857
fsharp
0
Title: F# denies existence of a constructor (probably type-constraint related) Problem title: F# denies existence of a constructor (probably type-constraint related) Tags: signature-files, f%23 Problem: F# denies existence of a constructor (probably type-constraint related) On the following code, F sharp says: module x...
F# denies existence of a constructor (probably type-constraint related) F# denies existence of a constructor (probably type-constraint related) signature-files f%23 IBlah IHuha x:IBlah x.huha F# denies existence of a constructor (probably type-constraint related) On the following code, F sharp says: module xyz requires...
[ 0.000904083251953125, 0.0004215240478515625, -0.013671875, -0.00872802734375, -0.004852294921875, 0.00634765625, -0.000942230224609375, 0.004425048828125, 0.016357421875, -0.003387451171875, 0.0024261474609375, -0.00750732421875, 0.0028533935546875, -0.018310546875, 0.0054931640625, -0...
[ 563, 4904, 8, 70142, 116311, 64549, 748, 90837, 10644, 2816, 62548, 2271, 138256, 29822, 1238, 3742, 88874, 1566, 30513, 528, 1022, 29877, 1132, 25632, 18151, 189173, 17378, 88996, 32189, 144570, 34292, 3525, 275, 3034, 100677, 24763, 143726, ...
[ 0.134521484375, 0.203857421875, 0.109619140625, 0.1041259765625, 0.1107177734375, 0.19189453125, 0.1566162109375, 0.005523681640625, 0.114501953125, 0.11474609375, 0.00927734375, 0.005096435546875, 0.15673828125, 0.1304931640625, 0.144775390625, 0.0858154296875, 0.035003662109375, ...
embed
11800168_c0
11800168
fsharp
0
Title: How to implement the list filter function in F# using primitives Problem title: How to implement the list filter function in F# using primitives Tags: pointfree, functional-programming, f%23 Problem: How to implement the list filter function in F# using primitives I was reading Why functional programming matters...
How to implement the list filter function in F# using primitives How to implement the list filter function in F# using primitives pointfree functional-programming f%23 primitives How a::lst List.foldBack How to implement the list filter function in F# using primitives I was reading Why functional programming matters wh...
[ -0.01104736328125, 0.0260009765625, 0.00970458984375, 0.00109100341796875, -0.003082275390625, 0.0166015625, 0.002349853515625, 0.0189208984375, 0.005279541015625, -0.02685546875, 0.0068359375, -0.00799560546875, -0.0033416748046875, 0.01904296875, -0.00146484375, 0.0147705078125, 0....
[ 11249, 29479, 5303, 46312, 32354, 563, 4904, 17368, 128489, 90, 47, 23, 6275, 32087, 123309, 28966, 1238, 3742, 271, 32036, 42822, 152470, 56037, 449, 26866, 86685, 18344, 7569, 166577, 22288, 179933, 2367, 519, 35593, 32, 237, 107730, 35735,...
[ 0.0648193359375, 0.21728515625, 0.238037109375, 0.27734375, 0.1680908203125, 0.1370849609375, 0.2139892578125, 0.04217529296875, 0.21044921875, 0.114501953125, 0.00067138671875, 0.00616455078125, 0.07208251953125, 0.1519775390625, 0.151611328125, 0.0919189453125, 0.06365966796875, ...
embed
33838639_c0
33838639
fsharp
0
Title: Issue with Ninject & WebApi 2 / Error activating IFilterProvider Problem title: Issue with Ninject & WebApi 2 / Error activating IFilterProvider Tags: asp.net-web-api2, f%23, ninject Problem: Issue with Ninject & WebApi 2 / Error activating IFilterProvider I am trying to use Ninject in my WebApi project....
Issue with Ninject & WebApi 2 / Error activating IFilterProvider Issue with Ninject & WebApi 2 / Error activating IFilterProvider asp.net-web-api2 f%23 ninject binding IFilterProvider Issue Ninject WebApi Error StandardKernel kernel.Bind ITestDomain TestDomain resolver:Dependencies.IDependencyResolver NinjectDe...
[ -0.00136566162109375, 0.022216796875, -0.00122833251953125, -0.0301513671875, -0.008056640625, 0.00921630859375, 0.01080322265625, -0.0113525390625, 0.0021209716796875, -0.021728515625, -0.0198974609375, 0.01153564453125, -0.00927734375, 0.004974365234375, 0.00946044921875, -0.00024127...
[ 223317, 678, 56740, 75161, 619, 25133, 4002, 284, 1434, 116, 248, 212059, 34704, 1916, 379, 720, 177997, 62160, 55449, 237, 254, 1179, 14051, 40897, 304, 1238, 3742, 14610, 128239, 20744, 3196, 77924, 583, 571, 7250, 5959, 525, 8331, 24931,...
[ 0.1522216796875, 0.1041259765625, 0.201904296875, 0.27734375, 0.030670166015625, 0.109130859375, 0.1439208984375, 0.0888671875, 0.2078857421875, 0.186279296875, 0.00360107421875, 0.180908203125, 0.156494140625, 0.029296875, 0.154296875, 0.1141357421875, 0.1717529296875, 0.085510253...
embed
4140247_c0
4140247
fsharp
0
Title: F#: Can units of measure be bound dynamically at runtime? Problem title: F#: Can units of measure be bound dynamically at runtime? Tags: f%23, units-of-measurement Problem: F#: Can units of measure be bound dynamically at runtime? I'm very new to F# and am intrigued by the Units of Measure functionality and have...
F#: Can units of measure be bound dynamically at runtime? F#: Can units of measure be bound dynamically at runtime? f%23 units-of-measurement Can Measure USD EUR AUD Enum.Parse F#: Can units of measure be bound dynamically at runtime? I'm very new to F# and am intrigued by the Units of Measure functionality and have a ...
[ 0.0108642578125, 0.0020751953125, 0.01434326171875, -0.005889892578125, -0.004150390625, -0.007476806640625, -0.00013828277587890625, -0.00118255615234375, 0.0255126953125, -0.01458740234375, -0.025634765625, -0.0235595703125, 0.0211181640625, -0.00665283203125, 0.006561279296875, 0.02...
[ 563, 4904, 4171, 25072, 7, 111, 72350, 99091, 84079, 25958, 99, 11675, 6032, 1238, 3742, 4390, 37440, 56851, 1215, 11, 19052, 12220, 143663, 357, 316, 28636, 184, 186, 3525, 241522, 46640, 123309, 43240, 3638, 7722, 68557, 47, 142424, 18, ...
[ 0.12158203125, 0.22119140625, 0.089111328125, 0.219970703125, 0.060546875, 0.1705322265625, 0.251220703125, 0.22607421875, 0.211669921875, 0.08203125, 0.05755615234375, 0.12841796875, 0.15478515625, 0.084228515625, 0.121826171875, 0.1385498046875, 0.1375732421875, 0.2015380859375, ...
embed
5002115_c0
5002115
fsharp
0
Title: Cannot overload boolean operators in F# Problem title: Cannot overload boolean operators in F# Tags: operator-overloading, boolean, f%23 Problem: Cannot overload boolean operators in F# F# does allow overloading of arithmetic operators like +, but seems to disallow this for boolean operators like ||. The followi...
Cannot overload boolean operators in F# Cannot overload boolean operators in F# operator-overloading boolean f%23 Cannot MyBool Value v1.Value v2.Value Cannot overload boolean operators in F# F# does allow overloading of arithmetic operators like +, but seems to disallow this for boolean operators like ||. The followin...
[ 0.01025390625, 0.00004029273986816406, 0.0206298828125, 0.00151824951171875, -0.0017547607421875, 0.0169677734375, -0.000507354736328125, -0.0164794921875, -0.01214599609375, -0.00168609619140625, -0.017822265625, 0.0152587890625, 0.016357421875, -0.006011962890625, 0.006683349609375, ...
[ 4171, 10869, 645, 63033, 337, 31, 34677, 39933, 563, 4904, 23, 5465, 1238, 3949, 3742, 2646, 12647, 929, 190060, 856, 50770, 81, 5442, 7, 63769, 111, 8962, 282, 997, 6392, 41566, 1884, 58745, 25632, 18151, 139392, 1631, 592, 6626, 18499, ...
[ 0.045440673828125, 0.1407470703125, 0.1650390625, 0.2374267578125, 0.0670166015625, 0.1444091796875, 0.1986083984375, 0.2369384765625, 0.1448974609375, 0.232666015625, 0.024749755859375, 0.1280517578125, 0.08807373046875, 0.0474853515625, 0.15625, 0.1370849609375, 0.106689453125, 0...
embed
63401135_c0
63401135
fsharp
0
Title: Managing a WPF Tab Control with Elmish.WPF (F#)? Problem title: Managing a WPF Tab Control with Elmish.WPF (F#)? Tags: elmish-wpf, f%23 Problem: Managing a WPF Tab Control with Elmish.WPF (F#)? I have a complex WPF Tab control inside a main main window, all in C#, using .NET Framework. The main window provides a...
Managing a WPF Tab Control with Elmish.WPF (F#)? Managing a WPF Tab Control with Elmish.WPF (F#)? elmish-wpf f%23 Managing WPF Tab Control Elmish.WPF Program.mkSimpleWpf App.init App.update Managing a WPF Tab Control with Elmish.WPF (F#)? I have a complex WPF Tab control inside a main main window, all in C#, using .NET...
[ 0.00994873046875, 0.0296630859375, -0.01177978515625, 0.0091552734375, -0.00469970703125, 0.0033416748046875, 0.02001953125, -0.0037841796875, 0.01092529296875, -0.00616455078125, 0.0198974609375, -0.0189208984375, 0.0111083984375, 0.031005859375, 0.0128173828125, 0.0179443359375, 0....
[ 1572, 66398, 601, 41265, 22193, 27131, 678, 540, 78192, 1456, 919, 4904, 88, 434, 39557, 1238, 3742, 7663, 33209, 5659, 117008, 5, 27140, 6226, 46132, 5201, 76896, 17777, 202220, 74729, 8026, 10941, 81988, 104064, 98423, 20928, 13379, 12921, ...
[ 0.1253662109375, 0.088134765625, 0.0704345703125, 0.239501953125, 0.2454833984375, 0.2108154296875, 0.0714111328125, 0.10888671875, 0.2252197265625, 0.051483154296875, 0.05194091796875, 0.1748046875, 0.068115234375, 0.0142822265625, 0.162353515625, 0.00872802734375, 0.05987548828125,...
embed
41304923_c1
41304923
fsharp
1
of magnitude faster, but it's equally valid with an ordinary list. Here's the C# function I'm having trouble with: int solutionWeight; Dictionary<int,int> Evaluate(int w, Dictionary<int, SortedSet<int>> wbk, int key) { if (w == solutionWeight) return new Dictionary<int, int>(); if (key == 8) return null; foreach (var ...
of magnitude faster, but it's equally valid with an ordinary list. Here's the C# function I'm having trouble with: int solutionWeight; Dictionary<int,int> Evaluate(int w, Dictionary<int, SortedSet<int>> wbk, int key) { if (w == solutionWeight) return new Dictionary<int, int>(); if (key == 8) return null; foreach (var ...
[ -0.0074462890625, 0.0194091796875, 0.00592041015625, -0.007354736328125, -0.0172119140625, -0.0184326171875, -0.006378173828125, -0.01031494140625, 0.024658203125, 0.0230712890625, 0.006134033203125, 0.04345703125, 0.020751953125, 0.0003833770751953125, 0.008544921875, -0.0201416015625...
[ 111, 101668, 13, 4271, 56, 105950, 35604, 23335, 5303, 313, 4904, 32354, 19441, 63134, 23, 18, 29806, 12137, 22553, 147638, 4288, 151228, 67, 148, 53666, 297, 294, 126, 275, 92, 22799, 434, 30646, 19770, 65034, 56574, 41581, 1961, 304, 61...
[ 0.1246337890625, 0.184326171875, 0.0460205078125, 0.153564453125, 0.1002197265625, 0.0946044921875, 0.135009765625, 0.056732177734375, 0.1658935546875, 0.02435302734375, 0.182373046875, 0.1451416015625, 0.00439453125, 0.099609375, 0.0732421875, 0.09344482421875, 0.184326171875, 0.1...
embed
32570410_c0
32570410
fsharp
0
Title: Idiomatic way to implement &quot;services&quot; in F# Problem title: Idiomatic way to implement &quot;services&quot; in F# Tags: f%23 Problem: Idiomatic way to implement "services" in F# When working in F# and implementing a "service" pattern, such as wrappers around web APIs or databases or USB gadgets, what's ...
Idiomatic way to implement &quot;services&quot; in F# Idiomatic way to implement &quot;services&quot; in F# f%23 Idiomatic IDatabase Database ITwitter Twitter ICamera Camera TestCamera Idiomatic way to implement "services" in F# When working in F# and implementing a "service" pattern, such as wrappers around web APIs o...
[ 0.00168609619140625, -0.00075531005859375, 0.000530242919921875, -0.0020294189453125, -0.00445556640625, 0.0086669921875, -0.00171661376953125, 0.005340576171875, 0.0223388671875, -0.029541015625, -0.0030670166015625, 0.01708984375, -0.0026702880859375, -0.00677490234375, 0.010009765625,...
[ 87, 5670, 47148, 3917, 29479, 22584, 563, 4904, 23, 1238, 3742, 137989, 37382, 187781, 75691, 3610, 105272, 44813, 8647, 20697, 103510, 137565, 1467, 61687, 63399, 10273, 88100, 49666, 9523, 121225, 136, 1704, 101758, 61112, 23468, 3034, 8698, ...
[ 0.1207275390625, 0.1806640625, 0.185546875, 0.0806884765625, 0.1986083984375, 0.25390625, 0.16650390625, 0.2467041015625, 0.024169921875, 0.054534912109375, 0.033233642578125, 0.09429931640625, 0.17724609375, 0.125732421875, 0.1739501953125, 0.1590576171875, 0.130615234375, 0.17163...
embed
74006136_c0
74006136
fsharp
0
Title: Suspend and resume F# asynchronous workflows (Async&lt;&#x27;T&gt;) Problem title: Suspend and resume F# asynchronous workflows (Async&lt;&#x27;T&gt;) Tags: f%23, resume, async-workflow, suspend Problem: Suspend and resume F# asynchronous workflows (Async<'T>) Is there a general way to gain external control over...
Suspend and resume F# asynchronous workflows (Async&lt;&#x27;T&gt;) Suspend and resume F# asynchronous workflows (Async&lt;&#x27;T&gt;) f%23 resume async-workflow suspend Suspend Async SuspendResumeToken Async.Start suspendResumeToken.SuspendAsync Suspended suspendResumeToken.ResumeAsync Resumed Suspend and resume F# a...
[ -0.004119873046875, 0.01513671875, -0.0009918212890625, -0.005462646484375, -0.01434326171875, -0.01483154296875, -0.0211181640625, 0.0016632080078125, -0.0203857421875, -0.0029144287109375, -0.00165557861328125, 0.01080322265625, -0.0218505859375, 0.00701904296875, 0.033203125, 0.0085...
[ 26832, 2278, 71, 136, 138755, 563, 4904, 10, 12654, 101966, 4488, 118664, 238, 3768, 1238, 3742, 18244, 45890, 4332, 7, 15537, 7763, 1098, 126597, 9217, 26885, 9624, 316, 618, 4537, 3917, 21647, 173591, 6226, 645, 71924, 61799, 72179, 1830,...
[ 0.1094970703125, 0.1810302734375, 0.0615234375, 0.08056640625, 0.265869140625, 0.10699462890625, 0.1622314453125, 0.0232696533203125, 0.2025146484375, 0.1766357421875, 0.0826416015625, 0.237060546875, 0.0833740234375, 0.06488037109375, 0.03692626953125, 0.04681396484375, 0.0501708984...
embed
22560509_c0
22560509
fsharp
0
Title: Xamarin Error on Signed Assembly Problem title: Xamarin Error on Signed Assembly Tags: xamarin, xamarin.mac, mono, f%23 Problem: Xamarin Error on Signed Assembly I developed and built my application using F# and C# successfully using Xamarin Mac. It was all fine and finished development, until I switched to App ...
Xamarin Error on Signed Assembly Xamarin Error on Signed Assembly xamarin xamarin.mac mono f%23 Xamarin Error Signed Assembly xamarin.mac Xamarin Error on Signed Assembly I developed and built my application using F# and C# successfully using Xamarin Mac. It was all fine and finished development, until I switched to Ap...
[ 0.001068115234375, 0.0277099609375, -0.005462646484375, -0.01336669921875, 0.003997802734375, 0.005584716796875, 0.00811767578125, -0.00119781494140625, -0.016845703125, -0.007110595703125, -0.01025390625, -0.044677734375, 0.0166015625, 0.0184326171875, 0.017578125, -0.00408935546875, ...
[ 8606, 44503, 212059, 98, 48838, 297, 151169, 2459, 35572, 22460, 1238, 3742, 126809, 88303, 38415, 563, 4904, 136, 65771, 4727, 5885, 122799, 34754, 101089, 5659, 14934, 98352, 24092, 89845, 7121, 11675, 6275, 58359, 35773, 104250, 131527, 1911...
[ 0.166259765625, 0.2509765625, 0.1673583984375, 0.009185791015625, 0.2178955078125, 0.1097412109375, 0.2529296875, 0.1407470703125, 0.1263427734375, 0.1685791015625, 0.0269775390625, 0.07470703125, 0.0682373046875, 0.03643798828125, 0.12744140625, 0.07012939453125, 0.14013671875, 0....
embed
7053245_c1
7053245
fsharp
1
prior Silverlight experience!). Update 2 I was able to add the normal xunit assembly to my project through NuGet (which "forces" it in despite not being built for Silverlight) and then run the tests successfully using Testdriven.NET. But I'm not sure if this is "cheating". Perhaps not because my tests are still compil...
prior Silverlight experience!). Update 2 I was able to add the normal xunit assembly to my project through NuGet (which "forces" it in despite not being built for Silverlight) and then run the tests successfully using Testdriven.NET. But I'm not sure if this is "cheating". Perhaps not because my tests are still compil...
[ 0.00102996826171875, 0.00897216796875, 0.0096435546875, -0.015869140625, -0.033447265625, -0.0042724609375, 0.0146484375, -0.000732421875, 0.004241943359375, 0.0022735595703125, -0.033203125, 0.0146484375, -0.016845703125, -0.01287841796875, -0.012451171875, -0.0028533935546875, 0.01...
[ 41928, 57035, 20016, 16981, 57060, 28641, 19048, 15190, 3638, 10438, 6773, 89845, 38526, 47, 13452, 1429, 724, 126, 50930, 61518, 959, 88303, 100, 11675, 109921, 65771, 8647, 33926, 33, 17777, 9077, 1430, 26518, 5974, 26548, 11389, 35773, 844...
[ 0.045196533203125, 0.1822509765625, 0.2186279296875, 0.11865234375, 0.0181884765625, 0.06158447265625, 0.0181884765625, 0.10009765625, 0.09783935546875, 0.1883544921875, 0.242431640625, 0.1490478515625, 0.048095703125, 0.001434326171875, 0.10198974609375, 0.1632080078125, 0.104797363...
embed
30225152_c0
30225152
fsharp
0
Title: How do I programmatically build up the following Quotation Expression in F#? Problem title: How do I programmatically build up the following Quotation Expression in F#? Tags: f%23 Problem: How do I programmatically build up the following Quotation Expression in F#? I have a need to access a .NET dictionary withi...
How do I programmatically build up the following Quotation Expression in F#? How do I programmatically build up the following Quotation Expression in F#? f%23 How Quotation Expression dict:Dictionary Dictionary dict.Add qe2 Quotations.Expr PropertyGet Some None Item Value Quotations.Expr.PropertyGet PropertyInfo Method...
[ -0.010986328125, 0.0201416015625, 0.000396728515625, 0.0004482269287109375, 0.00665283203125, 0.004852294921875, 0.0113525390625, 0.019775390625, 0.010498046875, -0.033203125, 0.00457763671875, 0.0181884765625, -0.0172119140625, -0.01324462890625, 0.009765625, 0.01953125, -0.00363159...
[ 11249, 87, 11720, 18, 71407, 45367, 1257, 25632, 43851, 22062, 25129, 1830, 23, 563, 4904, 1238, 3949, 3742, 61669, 10763, 147638, 4028, 3384, 304, 19279, 10287, 206984, 724, 126, 438, 78426, 190060, 1264, 93147, 74644, 3871, 17203, 17777, ...
[ 0.0616455078125, 0.0052490234375, 0.1806640625, 0.1097412109375, 0.075927734375, 0.1861572265625, 0.17724609375, 0.10015869140625, 0.196044921875, 0.1629638671875, 0.1671142578125, 0.075439453125, 0.034515380859375, 0.1416015625, 0.2232666015625, 0.0816650390625, 0.0274505615234375, ...
embed
25189077_c1
25189077
fsharp
1
differently. From examining the output of a decompiler I have determined the following: mkHandler is functioning correctly; it creates a function that closes over unique state. When called multiple times it mutates that state. The same overload of Subscribe is called by both try1 and try2 : public static IDisposable S...
differently. From examining the output of a decompiler I have determined the following: mkHandler is functioning correctly; it creates a function that closes over unique state. When called multiple times it mutates that state. The same overload of Subscribe is called by both try1 and try2 : public static IDisposable S...
[ 0.00201416015625, 0.0245361328125, 0.014404296875, 0.0184326171875, -0.013916015625, -0.005828857421875, -0.0235595703125, -0.0024566650390625, 0.0250244140625, -0.040283203125, -0.0267333984375, 0.01019287109375, 0.01025390625, 0.041259765625, 0.0274658203125, -0.00799560546875, 0.0...
[ 12921, 538, 42276, 140992, 8, 58875, 34759, 765, 83324, 25632, 19201, 135679, 603, 83, 32354, 214, 26785, 28282, 20903, 645, 36998, 11341, 14847, 35839, 48716, 20028, 31158, 90, 581, 5701, 63033, 134019, 15044, 9790, 418, 136, 304, 201939, ...
[ 0.173828125, 0.08782958984375, 0.01123046875, 0.09228515625, 0.17626953125, 0.1473388671875, 0.1502685546875, 0.006744384765625, 0.06646728515625, 0.01629638671875, 0.162109375, 0.225341796875, 0.1929931640625, 0.0214691162109375, 0.148193359375, 0.03472900390625, 0.0853271484375, ...
embed
10451934_c0
10451934
fsharp
0
Title: f# console app doesn&#x27;t work. c# console app does Problem title: f# console app doesn&#x27;t work. c# console app does Tags: console, f%23, c%23 Problem: f# console app doesn't work. c# console app does I am attempting to deploy a simple f# console app to a coworkers computer but it keeps failing. After doub...
f# console app doesn&#x27;t work. c# console app does f# console app doesn&#x27;t work. c# console app does console f%23 c%23 System System.Collections.Generic System.Linq System.Text Console.ReadLine TestCApplication Program Main Console.WriteLine Testing f# console app doesn't work. c# console app does I am attemptin...
[ 0.000579833984375, 0.0108642578125, 0.0034942626953125, 0.00958251953125, 0.000453948974609375, -0.003204345703125, -0.0032196044921875, -0.0274658203125, -0.00286865234375, -0.0031890869140625, 0.0113525390625, -0.0211181640625, 0, 0.017333984375, 0.010009765625, 0.01104736328125, 0...
[ 1238, 4904, 130250, 4027, 22027, 3768, 18, 4488, 501, 14602, 3742, 12353, 78457, 8996, 44982, 174379, 40777, 31345, 93232, 8647, 182867, 7663, 1657, 81887, 13158, 8781, 47, 552, 18244, 1314, 13909, 13695, 35782, 41929, 18158, 47989, 76896, 72...
[ 0.152099609375, 0.24462890625, 0.2734375, 0.201416015625, 0.0850830078125, 0.035919189453125, 0.106689453125, 0.1348876953125, 0.057708740234375, 0.1026611328125, 0.030670166015625, 0.042236328125, 0.003509521484375, 0.0389404296875, 0.023193359375, 0.02374267578125, 0.16845703125, ...
embed
47439126_c0
47439126
fsharp
0
Title: Faking Return value with F# and FakeItEasy Problem title: Faking Return value with F# and FakeItEasy Tags: unit-testing, fakeiteasy, f%23 Problem: Faking Return value with F# and FakeItEasy I am trying to use FakeItEasy to mock an interface defined in C# public interface IMyInterface { int HeartbeatInterval { ge...
Faking Return value with F# and FakeItEasy Faking Return value with F# and FakeItEasy unit-testing fakeiteasy f%23 System.ArgumentException Faking FakeItEasy IMyInterface HeartbeatInterval A.Fake A.CallTo Returns Expression Microsoft.FSharp.Core.FSharpFunc Microsoft.FSharp.Core.Unit System.Int32 Faking Return value wit...
[ -0.0191650390625, -0.00860595703125, -0.0009613037109375, -0.0003337860107421875, 0.0159912109375, -0.00250244140625, 0.0189208984375, -0.0024566650390625, -0.0030059814453125, 0.0002994537353515625, 0.01416015625, 0.041015625, -0.004547119140625, 0.0244140625, 0.0252685546875, -0.0240...
[ 3036, 6048, 173340, 34292, 678, 563, 4904, 136, 350, 23389, 647, 162, 25072, 6954, 106287, 1486, 53, 1238, 3949, 3742, 12353, 7614, 1234, 63928, 46832, 44851, 40404, 60861, 101448, 1405, 17647, 62, 441, 5584, 7763, 25129, 7244, 36381, 3467,...
[ 0.203125, 0.0830078125, 0.275390625, 0.154052734375, 0.08203125, 0.122314453125, 0.2332763671875, 0.119873046875, 0.167724609375, 0.1927490234375, 0.120849609375, 0.2059326171875, 0.130615234375, 0.1236572265625, 0.1739501953125, 0.06195068359375, 0.1630859375, 0.07470703125, 0.0...
embed
27004355_c0
27004355
fsharp
0
Title: wrapping printf and still take parameters Problem title: wrapping printf and still take parameters Tags: f%23 Problem: wrapping printf and still take parameters /// Colored printf let cprintf c fmt = Printf.kprintf (fun s -> let old = System.Console.ForegroundColor try System.Console.ForegroundColor <- c; System...
wrapping printf and still take parameters wrapping printf and still take parameters f%23 Colored Printf.kprintf System.Console.ForegroundColor System.Console.Write ConsoleColor.Yellow Printf.TextWriterFormat fmt:Printf.TextWriterFormat wrapping printf and still take parameters With the above stolen code , but I know th...
[ -0.0059814453125, 0.0235595703125, 0.0162353515625, 0.017578125, 0.0002498626708984375, -0.01544189453125, 0.0087890625, -0.0030975341796875, 0.0118408203125, 0.0245361328125, -0.0042724609375, -0.01019287109375, -0.013916015625, -0.0118408203125, 0.01165771484375, 0.0120849609375, -...
[ 137565, 10366, 28412, 420, 136, 7464, 5646, 171859, 7, 1238, 3949, 3742, 51193, 39754, 92, 35662, 12353, 40777, 64330, 1484, 41566, 174379, 2783, 102973, 18, 112079, 116496, 18151, 257, 20209, 8781, 79315, 48502, 10644, 39, 501, 831, 472, 2...
[ 0.1962890625, 0.080322265625, 0.1966552734375, 0.2054443359375, 0.060546875, 0.1473388671875, 0.1285400390625, 0.252197265625, 0.025054931640625, 0.035736083984375, 0.0206298828125, 0.12353515625, 0.123291015625, 0.166748046875, 0.007781982421875, 0.1370849609375, 0.04278564453125, ...
embed
21069080_c1
21069080
fsharp
1
,22). c:\wd\RPythonFSharpDFChallenge\RPythonFSharpDFChallenge\EvilMovieQuery.fsx 19 8 RPythonFSharpDFChallenge Error 2 Type mismatch. Expecting a 'a -> Frame<'c,Frame<int,string>> but given a 'a -> float The type 'Frame<'a,Frame<int,string>>' does not match the type 'float' c:\wd\RPythonFSharpDFChallenge\RPythonFSharpD...
,22). c:\wd\RPythonFSharpDFChallenge\RPythonFSharpDFChallenge\EvilMovieQuery.fsx 19 8 RPythonFSharpDFChallenge Error 2 Type mismatch. Expecting a 'a -> Frame<'c,Frame<int,string>> but given a 'a -> float The type 'Frame<'a,Frame<int,string>>' does not match the type 'float' c:\wd\RPythonFSharpDFChallenge\RPythonFSharpD...
[ 0.0084228515625, 0.0159912109375, -0.00189208984375, -0.01092529296875, 0.002838134765625, -0.01513671875, 0.0218505859375, -0.01025390625, -0.00103759765625, -0.01226806640625, -0.00384521484375, -0.0267333984375, -0.00927734375, -0.0206298828125, 0.0084228515625, 0.0010528564453125, ...
[ 89647, 37281, 38796, 53, 50828, 36381, 3467, 254, 397, 76489, 647, 5115, 187430, 41732, 1294, 17447, 425, 953, 382, 80026, 27529, 429, 212059, 116, 60457, 1239, 98753, 60075, 24762, 11, 33079, 42557, 238, 108386, 4288, 91693, 1284, 34475, 2...
[ 0.1326904296875, 0.0211944580078125, 0.033416748046875, 0.054931640625, 0.12158203125, 0.03033447265625, 0.182373046875, 0.14404296875, 0.06842041015625, 0.21533203125, 0.0164642333984375, 0.1734619140625, 0.1611328125, 0.1435546875, 0.09912109375, 0.0885009765625, 0.09033203125, 0...
embed
26597773_c1
26597773
fsharp
1
uspendedInitially: bool): IObservable<_> = Observable.Create<_>(fun observer -> let shared = source.Publish() let pausable = suspend.StartWith(isSuspendedInitially) .TakeUntil(shared.LastOrDefaultAsync()) .DistinctUntilChanged() .Select(fun p -> if p then shared else Observable.Empty<_>()) .Switch() new CompositeDispos...
uspendedInitially: bool): IObservable<_> = Observable.Create<_>(fun observer -> let shared = source.Publish() let pausable = suspend.StartWith(isSuspendedInitially) .TakeUntil(shared.LastOrDefaultAsync()) .DistinctUntilChanged() .Select(fun p -> if p then shared else Observable.Empty<_>()) .Switch() new CompositeDispos...
[ -0.00872802734375, 0.0279541015625, 0.0302734375, 0.0126953125, -0.010498046875, -0.0068359375, 0.01141357421875, 0.00089263916015625, -0.003448486328125, -0.010009765625, 0.019775390625, -0.0218505859375, 0.00738525390625, 0.0224609375, 0.00775146484375, 0.0234375, 0.003753662109375...
[ 1821, 26885, 71, 4153, 1890, 25958, 12, 142484, 2077, 87, 46471, 65756, 2661, 2203, 87652, 63784, 2182, 16498, 160073, 2633, 99764, 31344, 5, 143145, 15227, 112314, 2886, 45890, 126597, 194583, 132, 164, 223, 51654, 3675, 67886, 2729, 271, ...
[ 0.1103515625, 0.270263671875, 0.15478515625, 0.05584716796875, 0.1842041015625, 0.1358642578125, 0.0152130126953125, 0.2239990234375, 0.0498046875, 0.1669921875, 0.1693115234375, 0.259033203125, 0.225830078125, 0.023101806640625, 0.2392578125, 0.117919921875, 0.009002685546875, 0.1...
embed
8495736_c1
8495736
fsharp
1
only have one in and one out. I'm not entirely sure how the first function is interpreted (might be a bad word to use) in the context of composition in F# because there is no distinct input/output. I believe this is the direct affect of currying. Here is my current attempt: let GetDuplicateFiles = let LengthAndExtensi...
only have one in and one out. I'm not entirely sure how the first function is interpreted (might be a bad word to use) in the context of composition in F# because there is no distinct input/output. I believe this is the direct affect of currying. Here is my current attempt: let GetDuplicateFiles = let LengthAndExtensi...
[ 0.00028228759765625, 0.00830078125, 0.00075531005859375, 0.00136566162109375, -0.0162353515625, 0.01348876953125, 0.00775146484375, -0.01544189453125, 0.008544921875, -0.027587890625, -0.01556396484375, 0.0576171875, 0.01263427734375, 0.02685546875, -0.000942230224609375, 0.02941894531...
[ 4734, 765, 1632, 23, 136, 1810, 5117, 32354, 29481, 6494, 43701, 166577, 563, 4904, 110, 117781, 107730, 6056, 7077, 8951, 52490, 198555, 214, 43581, 81887, 2633, 20779, 17726, 52721, 67, 174350, 77554, 37839, 19279, 128872, 11435, 106287, 13...
[ 0.1212158203125, 0.0745849609375, 0.1175537109375, 0.2032470703125, 0.0911865234375, 0.231689453125, 0.06109619140625, 0.191650390625, 0.062347412109375, 0.0155029296875, 0.016265869140625, 0.21142578125, 0.1239013671875, 0.2021484375, 0.03424072265625, 0.13720703125, 0.1326904296875...
embed
75743985_c0
75743985
fsharp
0
Title: F# TypeInitializationException Problem title: F# TypeInitializationException Tags: compiler-errors, f%23 Problem: F# TypeInitializationException I stumbled upon a weird runtime error in my code. The code base is rather big so it is hard to post it here. but my problem is, I have made a search tree data structure...
F# TypeInitializationException F# TypeInitializationException compiler-errors f%23 TypeInitializationException F# TypeInitializationException I stumbled upon a weird runtime error in my code. The code base is rather big so it is hard to post it here. but my problem is, I have made a search tree data structure which is ...
[ 0.0072021484375, 0.0024871826171875, -0.0150146484375, -0.0137939453125, -0.00015163421630859375, -0.01190185546875, 0.006744384765625, 0.004913330078125, -0.006591796875, -0.033447265625, 0.01043701171875, 0.0137939453125, 0.0250244140625, 0.007476806640625, 0.0203857421875, 0.0038452...
[ 563, 4904, 60457, 4153, 1890, 289, 47691, 19279, 63928, 9969, 34759, 188800, 1238, 3949, 3742, 179459, 11675, 6032, 18499, 18151, 3647, 6957, 2967, 7228, 33938, 53201, 2053, 45646, 11814, 7413, 29458, 47416, 944, 55769, 43573, 2256, 1733, 303...
[ 0.1160888671875, 0.165771484375, 0.255859375, 0.051361083984375, 0.1270751953125, 0.098876953125, 0.029510498046875, 0.0634765625, 0.1517333984375, 0.109130859375, 0.1107177734375, 0.101806640625, 0.0928955078125, 0.00311279296875, 0.127685546875, 0.1121826171875, 0.06964111328125, ...
embed
20959906_c0
20959906
fsharp
0
Title: F# on Monodevelop: compiler doesn&#x27;t understand valid Linux file path Problem title: F# on Monodevelop: compiler doesn&#x27;t understand valid Linux file path Tags: linux, f%23, monodevelop Problem: F# on Monodevelop: compiler doesn't understand valid Linux file path I am new to F#. I get the following error...
F# on Monodevelop: compiler doesn&#x27;t understand valid Linux file path F# on Monodevelop: compiler doesn&#x27;t understand valid Linux file path linux f%23 monodevelop Monodevelop Linux F# on Monodevelop: compiler doesn't understand valid Linux file path I am new to F#. I get the following error when I attempt to bu...
[ -0.00616455078125, 0.01397705078125, -0.005889892578125, 0.006927490234375, 0.001739501953125, 0.0177001953125, -0.00665283203125, 0.005157470703125, -0.0216064453125, -0.0172119140625, -0.0026397705078125, -0.0223388671875, 0.01409912109375, 0.03564453125, -0.0028228759765625, -0.0009...
[ 563, 4904, 98, 77879, 229815, 9969, 34759, 22027, 3768, 18, 28219, 35604, 29908, 11435, 60875, 11508, 22460, 3525, 25632, 18499, 81887, 45367, 13452, 5351, 50181, 62816, 17475, 17777, 4734, 30669, 124850, 5809, 2967, 2301, 3853, 3714, 903, 11...
[ 0.1395263671875, 0.2354736328125, 0.03411865234375, 0.195068359375, 0.250244140625, 0.1484375, 0.145751953125, 0.036041259765625, 0.0625, 0.06195068359375, 0.1588134765625, 0.1480712890625, 0.169921875, 0.168212890625, 0.1973876953125, 0.02374267578125, 0.1114501953125, 0.025070190...
embed
27090892_c0
27090892
fsharp
0
Title: Html TypeProvider MSBuild compilation issue Problem title: Html TypeProvider MSBuild compilation issue Tags: msbuild, f%23-data, f%23, type-providers Problem: Html TypeProvider MSBuild compilation issue I am using multiple type providers two of them HTML type providers. Everything compiles using Visual Studio, h...
Html TypeProvider MSBuild compilation issue Html TypeProvider MSBuild compilation issue msbuild f%23-data f%23 type-providers Html TypeProvider MSBuild Html TypeProvider MSBuild compilation issue I am using multiple type providers two of them HTML type providers. Everything compiles using Visual Studio, however when us...
[ 0.0118408203125, 0.01409912109375, -0.000476837158203125, -0.01007080078125, -0.0242919921875, 0.006195068359375, -0.018310546875, -0.005584716796875, 0.00384521484375, -0.03857421875, -0.017333984375, -0.0166015625, 0.0279541015625, 0.001220703125, 0.0260009765625, 0.00171661376953125...
[ 572, 18, 7237, 60457, 177997, 62160, 16265, 121137, 98352, 31089, 68163, 177149, 27495, 10135, 3742, 10644, 93136, 48716, 81450, 6626, 19097, 9969, 1340, 73372, 22968, 17368, 7693, 959, 139392, 5426, 18499, 52895, 26785, 33976, 70802, 171859, 2...
[ 0.00738525390625, 0.12841796875, 0.1324462890625, 0.1859130859375, 0.1820068359375, 0.07080078125, 0.1324462890625, 0.2578125, 0.1937255859375, 0.10272216796875, 0.08624267578125, 0.2042236328125, 0.0157012939453125, 0.054290771484375, 0.0361328125, 0.2138671875, 0.15185546875, 0.0...
embed
65378739_c0
65378739
fsharp
0
Title: How to define a function that creates an asynchronous computation in F# Problem title: How to define a function that creates an asynchronous computation in F# Tags: .net, f%23 Problem: How to define a function that creates an asynchronous computation in F# How to defined a function that 'mandelbrotAsync m n s e ...
How to define a function that creates an asynchronous computation in F# How to define a function that creates an asynchronous computation in F# .net f%23 How Complex Async How to define a function that creates an asynchronous computation in F# How to defined a function that 'mandelbrotAsync m n s e cs' creates an async...
[ -0.0279541015625, 0.01202392578125, 0.015625, -0.00506591796875, 0.00335693359375, 0.01055908203125, 0.022216796875, -0.00176239013671875, 0.0042724609375, 0.00396728515625, -0.000576019287109375, 0.0234375, 0.0047607421875, 0.004547119140625, 0.0177001953125, 0.01275634765625, 0.004...
[ 11249, 61924, 32354, 450, 28282, 10, 12654, 101966, 181135, 1363, 563, 4904, 1179, 1238, 3742, 113197, 62, 238, 23, 669, 1743, 6369, 18, 284, 347, 653, 91, 28, 20763, 375, 7077, 10298, 337, 16836, 10133, 5701, 13267, 12830, 29568, 27140, ...
[ 0.0335693359375, 0.202880859375, 0.2105712890625, 0.0260772705078125, 0.17431640625, 0.083740234375, 0.2225341796875, 0.206787109375, 0.19140625, 0.0897216796875, 0.1265869140625, 0.212890625, 0.11572265625, 0.033935546875, 0.060791015625, 0.2181396484375, 0.0484619140625, 0.151489...
embed
37835509_c0
37835509
fsharp
0
Title: How can I handle onchange for a select option in WebSharper UI.Next Problem title: How can I handle onchange for a select option in WebSharper UI.Next Tags: single-page-application, websharper.ui.next, websharper, f%23 Problem: How can I handle onchange for a select option in WebSharper UI.Next I am trying to di...
How can I handle onchange for a select option in WebSharper UI.Next How can I handle onchange for a select option in WebSharper UI.Next single-page-application websharper.ui.next websharper f%23 How WebSharper UI.Next Elt on.click Doc.Select Var.Create websharper.ui.next How can I handle onchange for a select option in...
[ -0.0255126953125, 0.01336669921875, -0.006927490234375, -0.00921630859375, 0.002166748046875, -0.012451171875, -0.006591796875, -0.0179443359375, 0.008056640625, -0.0225830078125, -0.00136566162109375, -0.00738525390625, -0.01611328125, -0.00030517578125, 0.01397705078125, 0.0096435546...
[ 11249, 831, 34831, 98, 152028, 100, 36849, 35829, 4002, 3467, 1264, 111481, 81280, 294, 11001, 22469, 101687, 1467, 89280, 4515, 86, 29062, 3742, 540, 18, 123278, 29048, 100184, 3323, 63784, 44116, 12921, 47654, 21455, 35509, 133291, 1884, 47...
[ 0.06219482421875, 0.05218505859375, 0.198486328125, 0.228271484375, 0.31494140625, 0.08563232421875, 0.2178955078125, 0.2259521484375, 0.1278076171875, 0.17724609375, 0.2012939453125, 0.196533203125, 0.247314453125, 0.075439453125, 0.07244873046875, 0.07611083984375, 0.078369140625, ...
embed
12860712_c0
12860712
fsharp
0
Title: F# syntax for implementing a &#x27;virtual&#x27; property implementing an interface Problem title: F# syntax for implementing a &#x27;virtual&#x27; property implementing an interface Tags: c%23-to-f%23, f%23 Problem: F# syntax for implementing a 'virtual' property implementing an interface I need to implement th...
F# syntax for implementing a &#x27;virtual&#x27; property implementing an interface F# syntax for implementing a &#x27;virtual&#x27; property implementing an interface c%23-to-f%23 f%23 this.Error ViewModelBase IDataErrorInfo Error F# syntax for implementing a 'virtual' property implementing an interface I need to impl...
[ 0.017822265625, 0.0107421875, 0.00180816650390625, 0.0035400390625, 0.0145263671875, -0.00531005859375, -0.004180908203125, -0.0089111328125, -0.00958251953125, -0.0181884765625, 0.0135498046875, 0.00970458984375, 0.0040283203125, 0.004547119140625, -0.00921630859375, 0.01043701171875,...
[ 563, 4904, 6002, 86531, 100, 29479, 214, 3768, 178323, 289, 57266, 101758, 501, 167218, 27495, 188, 420, 3742, 1238, 903, 18468, 31611, 29805, 140290, 63473, 87, 137989, 93147, 212059, 3871, 23, 10, 3647, 18507, 144570, 136, 142, 63262, 56,...
[ 0.15625, 0.2310791015625, 0.16748046875, 0.2281494140625, 0.033538818359375, 0.1959228515625, 0.00885009765625, 0.0712890625, 0.19580078125, 0.10498046875, 0.229736328125, 0.252197265625, 0.033050537109375, 0.01251220703125, 0.125244140625, 0.1331787109375, 0.06500244140625, 0.0750...
embed
40386406_c0
40386406
fsharp
0
Title: Enum Type in F# Library Not Visible in Linked Program Problem title: Enum Type in F# Library Not Visible in Linked Program Tags: enums, f%23, static-libraries Problem: Enum Type in F# Library Not Visible in Linked Program After I build the library below and then link a program with it, the functions libInit , dr...
Enum Type in F# Library Not Visible in Linked Program Enum Type in F# Library Not Visible in Linked Program enums f%23 static-libraries Enum Type Library Not Visible Linked Program Toa.volLib System System.Threading System.Collections.Generic System.Text System.IO Microsoft.Win32 AutoOpen Min_c Min_d DriveInfo.GetDrive...
[ 0.01019287109375, -0.01055908203125, 0.0050048828125, 0.0220947265625, -0.01513671875, -0.005828857421875, -0.00653076171875, 0.004638671875, -0.0159912109375, 0.019287109375, -0.0020751953125, -0.01239013671875, 0.0235595703125, 0.01129150390625, -0.0045166015625, -0.0196533203125, ...
[ 357, 316, 60457, 563, 4904, 103835, 11205, 582, 55356, 23, 12779, 297, 7663, 22, 10321, 1238, 3742, 201939, 150, 2844, 717, 11, 3784, 104820, 12353, 17780, 7244, 6460, 4396, 103264, 4211, 50161, 93147, 142994, 25820, 81437, 141012, 45367, 3...
[ 0.16357421875, 0.2403564453125, 0.22265625, 0.12353515625, 0.2130126953125, 0.2130126953125, 0.0811767578125, 0.1490478515625, 0.1024169921875, 0.024932861328125, 0.153076171875, 0.06402587890625, 0.1185302734375, 0.1646728515625, 0.23583984375, 0.039825439453125, 0.059844970703125, ...
embed
50244514_c0
50244514
fsharp
0
Title: F# Three Arrays - Replace Unique Values In Original Array With New Values Problem title: F# Three Arrays - Replace Unique Values In Original Array With New Values Tags: arrays, f%23, match, replace, unique Problem: F# Three Arrays - Replace Unique Values In Original Array With New Values I have three arrays - fi...
F# Three Arrays - Replace Unique Values In Original Array With New Values F# Three Arrays - Replace Unique Values In Original Array With New Values arrays f%23 match replace unique Three Arrays Replace Unique Values Original Array SOQN System x:string y:string z:string Array.map Array.iter2 Expected Result Actual F# Th...
[ -0.0294189453125, -0.00225830078125, 0.0026092529296875, 0.0185546875, -0.002349853515625, -0.016845703125, -0.00836181640625, 0.0086669921875, 0.01220703125, 0.039306640625, -0.0023040771484375, 0.03125, 0.0196533203125, -0.01287841796875, 0.01019287109375, 0.003173828125, -0.006530...
[ 563, 4904, 129335, 69253, 4778, 853, 23935, 11789, 944, 190060, 360, 34525, 53, 17106, 2356, 10298, 1238, 3949, 3742, 14858, 91995, 36998, 15969, 2737, 839, 12353, 91693, 97, 62346, 16840, 304, 60075, 13, 126684, 100582, 765, 17262, 5117, 1...
[ 0.1026611328125, 0.1575927734375, 0.2626953125, 0.1763916015625, 0.17822265625, 0.1038818359375, 0.16748046875, 0.1707763671875, 0.1217041015625, 0.2091064453125, 0.0189361572265625, 0.1331787109375, 0.075439453125, 0.0859375, 0.1405029296875, 0.1749267578125, 0.1046142578125, 0.01...
embed
60849757_c0
60849757
fsharp
0
Title: F# CsvProvider MissingMethodException Problem title: F# CsvProvider MissingMethodException Tags: missingmethodexception, f%23, f%23-data Problem: F# CsvProvider MissingMethodException I am trying to create a F# command line tool to parse a CSV file and convert it to a gpx file. I am using the CsvProvider and get...
F# CsvProvider MissingMethodException F# CsvProvider MissingMethodException missingmethodexception f%23 f%23-data MissingMethodException System.MissingMethodException CsvProvider Method FSharp.Data.Runtime.CsvFile Create System.Func System.Object System.String System.IO.TextReader System.Char System.Boolean System.Int3...
[ 0.0023651123046875, 0.0201416015625, 0.0150146484375, 0.00994873046875, 0.01129150390625, 0.00145721435546875, 0.0228271484375, 0.0048828125, -0.01092529296875, -0.00335693359375, -0.0184326171875, -0.026611328125, 0.00732421875, 0.002685546875, 0.0089111328125, -0.0201416015625, -0....
[ 563, 4904, 313, 67756, 177997, 62160, 16771, 214, 78572, 7352, 19279, 63928, 132283, 113399, 425, 1238, 3949, 3742, 167218, 27495, 10135, 12353, 135261, 74644, 93774, 3467, 254, 137989, 441, 174350, 151313, 97249, 17780, 174379, 31345, 84068, 6...
[ 0.10296630859375, 0.1942138671875, 0.084716796875, 0.2666015625, 0.2017822265625, 0.1612548828125, 0.1497802734375, 0.1124267578125, 0.1868896484375, 0.1517333984375, 0.07281494140625, 0.116943359375, 0.1895751953125, 0.2440185546875, 0.0257110595703125, 0.086669921875, 0.02604675292...
embed
9616848_c0
9616848
fsharp
0
Title: simultaneous definition of a static property of the same name than an instance property in fsharp Problem title: simultaneous definition of a static property of the same name than an instance property in fsharp Tags: overriding, properties, f%23, static Problem: simultaneous definition of a static property of th...
simultaneous definition of a static property of the same name than an instance property in fsharp simultaneous definition of a static property of the same name than an instance property in fsharp overriding properties f%23 static BBGReferenceData.Acquire BBGReferenceData.Release refdataservice.Release Release instance....
[ 0.00848388671875, 0.017822265625, 0.0419921875, -0.0179443359375, 0.0072021484375, -0.0208740234375, 0.00970458984375, 0.004241943359375, 0.017333984375, -0.01165771484375, -0.024169921875, 0.0303955078125, 0.01519775390625, -0.002960205078125, 0.0257568359375, 0.0057373046875, 0.002...
[ 134477, 13, 10821, 80934, 201939, 57266, 5701, 9351, 3501, 110527, 1238, 89280, 254, 645, 416, 183871, 3949, 3742, 40746, 69988, 137989, 3181, 133, 18831, 10135, 22584, 152590, 50770, 156095, 90, 1884, 19048, 4527, 15044, 20623, 136, 45767, 4...
[ 0.2203369140625, 0.0889892578125, 0.040191650390625, 0.18701171875, 0.2440185546875, 0.255615234375, 0.105224609375, 0.1165771484375, 0.0560302734375, 0.22900390625, 0.08001708984375, 0.2052001953125, 0.1343994140625, 0.0247344970703125, 0.1072998046875, 0.1754150390625, 0.0023498535...
embed
9639172_c1
9639172
fsharp
1
, System.Object); System.Object& Address(Int32, Int32); System.Object Get(Int32, Int32)|]; DeclaredNestedTypes = seq []; DeclaredProperties = [||]; It has a Get method, however, when I try to retrieve the element, I get an error. >toto.Get(0,0);; toto.Get(0,0);; -----^^^ error FS0039: The field, constructor or member '...
, System.Object); System.Object& Address(Int32, Int32); System.Object Get(Int32, Int32)|]; DeclaredNestedTypes = seq []; DeclaredProperties = [||]; It has a Get method, however, when I try to retrieve the element, I get an error. >toto.Get(0,0);; toto.Get(0,0);; -----^^^ error FS0039: The field, constructor or member '...
[ -0.000484466552734375, 0.022705078125, 0.009521484375, -0.00457763671875, -0.00616455078125, -0.0130615234375, -0.006072998046875, 0.00092315673828125, 0.00159454345703125, -0.0224609375, 0.00921630859375, 0.0233154296875, -0.0167236328125, -0.00201416015625, -0.0205078125, -0.01696777...
[ 12353, 46471, 75161, 3142, 1230, 49990, 18, 6460, 360, 91887, 20779, 25755, 320, 297, 6433, 14437, 196707, 40, 864, 10752, 1264, 1556, 55300, 49903, 9790, 456, 3996, 12830, 2046, 18499, 188, 724, 126, 63527, 22034, 15729, 93774, 7049, 9323,...
[ 0.1724853515625, 0.1273193359375, 0.171875, 0.029571533203125, 0.03863525390625, 0.1102294921875, 0.0474853515625, 0.1649169921875, 0.007720947265625, 0.13720703125, 0.2244873046875, 0.0675048828125, 0.131103515625, 0.024139404296875, 0.11962890625, 0.1229248046875, 0.214111328125, ...
embed
46608996_c0
46608996
fsharp
0
Title: Specifying assembly version in .fsproj for .NET core Problem title: Specifying assembly version in .fsproj for .NET core Tags: .net-core, f%23 Problem: Specifying assembly version in .fsproj for .NET core I am trying to specify the assembly version in a .NET core (2.0) console application so I can programmatical...
Specifying assembly version in .fsproj for .NET core Specifying assembly version in .fsproj for .NET core .net-core f%23 Specifying NET System.Reflection Assembly Version Assembly.GetEntryAssembly GetName Version.ToString PropertyGroup OutputType Exe TargetFramework netcoreapp2.0 Specifying assembly version in .fsproj ...
[ -0.0169677734375, 0.0185546875, 0.0150146484375, 0.0177001953125, -0.00946044921875, -0.054443359375, -0.0130615234375, 0.01116943359375, -0.013671875, 0.0308837890625, 0.010498046875, -0.006439208984375, -0.0142822265625, 0.01519775390625, 0.000659942626953125, 0.0201416015625, 0.01...
[ 24990, 151138, 10, 89845, 38526, 11389, 5, 17447, 3454, 170, 100, 17777, 56458, 23, 1179, 30854, 1238, 3949, 3742, 12353, 190015, 133, 151169, 40647, 7768, 15123, 20779, 163612, 71713, 206984, 205072, 13538, 196707, 5443, 160017, 2043, 9007, ...
[ 0.22314453125, 0.106201171875, 0.03985595703125, 0.232177734375, 0.111328125, 0.228515625, 0.04180908203125, 0.1531982421875, 0.201171875, 0.1737060546875, 0.0533447265625, 0.16455078125, 0.171142578125, 0.0287628173828125, 0.1148681640625, 0.16064453125, 0.048004150390625, 0.00213...
embed
5782135_c0
5782135
fsharp
0
Title: F# - Reconstruct Expression Tree Problem title: F# - Reconstruct Expression Tree Tags: f%23 Problem: F# - Reconstruct Expression Tree Alright... this question is more or less related to one I've asked earlier today ( F# - "Not a valid property expression" ), which @Tomas Petricek answer perfectly - however it se...
F# - Reconstruct Expression Tree F# - Reconstruct Expression Tree f%23 Reconstruct Expression Tree e:Expr Patterns.Lambda Patterns.PropertyGet Some Get propInfo.Name TODO Use Expr.Lambda Expr.PropGet Not ICollection F# - Reconstruct Expression Tree Alright... this question is more or less related to one I've asked earl...
[ 0.01153564453125, 0.0115966796875, 0.0096435546875, 0.012451171875, 0.0006103515625, 0.01104736328125, -0.0028839111328125, 0.0130615234375, 0.0022430419921875, -0.03564453125, -0.003936767578125, 0.0218505859375, -0.02490234375, -0.00136566162109375, 0.01019287109375, 0.01953125, -0...
[ 563, 4904, 154807, 36716, 25129, 101344, 1830, 1238, 3949, 3742, 28, 19279, 10287, 9876, 22766, 6492, 85, 10752, 1264, 939, 724, 126, 31384, 20779, 25793, 93147, 163612, 13223, 36836, 60075, 42, 254, 11205, 45878, 10763, 122116, 10, 35604, ...
[ 0.09967041015625, 0.197021484375, 0.0946044921875, 0.1795654296875, 0.1676025390625, 0.22802734375, 0.0220184326171875, 0.038848876953125, 0.0291900634765625, 0.1177978515625, 0.0655517578125, 0.063720703125, 0.1221923828125, 0.07550048828125, 0.0975341796875, 0.1689453125, 0.1240234...
embed
39581238_c0
39581238
fsharp
0
Title: Is it possible to set the width of tooltips in Visual Studio Code Editor windows? Problem title: Is it possible to set the width of tooltips in Visual Studio Code Editor windows? Tags: xml-comments, visual-studio, visual-studio-2015, f%23, c%23 Problem: Is it possible to set the width of tooltips in Visual Studi...
Is it possible to set the width of tooltips in Visual Studio Code Editor windows? Is it possible to set the width of tooltips in Visual Studio Code Editor windows? xml-comments visual-studio visual-studio-2015 f%23 c%23 Visual Studio Editor visual-studio-2015 Is it possible to set the width of tooltips in Visual Studio...
[ 0.00592041015625, 0.029296875, -0.01416015625, -0.0106201171875, 0.004852294921875, -0.0076904296875, -0.01123046875, -0.00250244140625, 0.0023956298828125, 0.018310546875, -0.0101318359375, 0.02294921875, -0.00112152099609375, -0.0103759765625, 0.00799560546875, 0.00445556640625, 0....
[ 7722, 5423, 70, 146984, 111, 55516, 41201, 73372, 22968, 28864, 69340, 54825, 23, 131492, 277, 9035, 21176, 52629, 44906, 46876, 1528, 27983, 8668, 92537, 1809, 117432, 24626, 479, 96819, 13315, 6276, 46312, 209806, 99156, 29806, 53550, 21478, ...
[ 0.1324462890625, 0.1473388671875, 0.043670654296875, 0.246826171875, 0.05621337890625, 0.1976318359375, 0.2314453125, 0.15673828125, 0.1513671875, 0.1868896484375, 0.1944580078125, 0.1397705078125, 0.04644775390625, 0.119140625, 0.09967041015625, 0.125, 0.1043701171875, 0.133422851...
embed
76166699_c1
76166699
fsharp
1
rewrite the query in a form that can be translated, or switch to client evaluation explicitly by inserting a call to 'AsEnumerable', 'AsAsyncEnumerable', 'ToList', or 'ToListAsync I also tried adding a function to my Employee type to resolve a single PersonalValue member this.GetPersonalValue(): PersonalValue = this.P...
rewrite the query in a form that can be translated, or switch to client evaluation explicitly by inserting a call to 'AsEnumerable', 'AsAsyncEnumerable', 'ToList', or 'ToListAsync I also tried adding a function to my Employee type to resolve a single PersonalValue member this.GetPersonalValue(): PersonalValue = this.P...
[ 0.00604248046875, 0.0208740234375, 0.000579833984375, 0.011474609375, -0.0128173828125, 0.01104736328125, -0.0205078125, -0.004486083984375, -0.0128173828125, -0.03125, -0.014404296875, 0.033203125, 0.0011138916015625, 0.0206298828125, 0.00634765625, 0.0034942626953125, 0.00738525390...
[ 456, 434, 18781, 41, 1294, 3173, 831, 3900, 143, 101089, 23282, 219836, 143726, 183540, 11782, 19659, 2606, 56, 2886, 12654, 7763, 154663, 37842, 154107, 10, 32354, 31678, 365, 1033, 13, 10644, 103608, 11001, 17915, 856, 50770, 32786, 724, ...
[ 0.09014892578125, 0.130615234375, 0.1112060546875, 0.154296875, 0.1484375, 0.166259765625, 0.0498046875, 0.11083984375, 0.1461181640625, 0.0985107421875, 0.144775390625, 0.1917724609375, 0.0672607421875, 0.0928955078125, 0.108642578125, 0.061798095703125, 0.121337890625, 0.08276367...
embed
29882546_c1
29882546
fsharp
1
[Microsoft.FSharp.Core.CompilationMappingAttribute] public decimal Price { get; set; } [Microsoft.FSharp.Core.CompilationMappingAttribute] public string Symbol { get; set; } [Microsoft.FSharp.Core.CompilationMappingAttribute] public int Volume { get; set; } [CompilerGenerated] public sealed override int CompareTo(obje...
[Microsoft.FSharp.Core.CompilationMappingAttribute] public decimal Price { get; set; } [Microsoft.FSharp.Core.CompilationMappingAttribute] public string Symbol { get; set; } [Microsoft.FSharp.Core.CompilationMappingAttribute] public int Volume { get; set; } [CompilerGenerated] public sealed override int CompareTo(obje...
[ -0.0032806396484375, 0.011962890625, 0.018310546875, -0.0159912109375, 0.000659942626953125, -0.003753662109375, -0.0247802734375, 0.0042724609375, -0.00136566162109375, 0.03369140625, -0.00982666015625, 0.02783203125, 0.021240234375, 0.0003147125244140625, -0.01104736328125, 0.0134887...
[ 113387, 36381, 3467, 254, 50886, 13, 108161, 14, 57860, 4613, 26783, 191145, 3835, 32380, 2749, 48025, 2046, 74, 5423, 79315, 131899, 23, 18, 98872, 135932, 28704, 645, 416, 113307, 187694, 995, 170, 80852, 164, 618, 41113, 147, 9969, 14248...
[ 0.0966796875, 0.06488037109375, 0.1881103515625, 0.1632080078125, 0.1024169921875, 0.0579833984375, 0.08917236328125, 0.07208251953125, 0.01080322265625, 0.140625, 0.05584716796875, 0.1654052734375, 0.1236572265625, 0.213134765625, 0.13916015625, 0.2568359375, 0.09649658203125, 0.0...
embed
3141669_c0
3141669
fsharp
0
Title: Recursive functions in computation expressions Problem title: Recursive functions in computation expressions Tags: computation-expression, f%23, tail-recursion Problem: Recursive functions in computation expressions Some background first. I am currently learning some stuff about monadic parser combinators. While...
Recursive functions in computation expressions Recursive functions in computation expressions computation-expression f%23 tail-recursion Recursive chainl1 Parser b.Bind b.ReturnFrom Recursive functions in computation expressions Some background first. I am currently learning some stuff about monadic parser combinators....
[ -0.019775390625, 0.0166015625, 0.0196533203125, 0.0247802734375, 0.022705078125, 0.0166015625, -0.00689697265625, -0.019287109375, 0.01214599609375, -0.0625, -0.00518798828125, 0.0220947265625, 0.0189208984375, 0.01708984375, 0.038818359375, 0.0145263671875, 0.001739501953125, 0.00...
[ 853, 48650, 5844, 32354, 181135, 125195, 23, 1363, 204629, 1238, 3949, 3742, 46741, 107, 1830, 121293, 141, 418, 2392, 2189, 876, 7250, 4332, 987, 168407, 76615, 5117, 82424, 52080, 41884, 2667, 11, 18403, 366, 22321, 22230, 37842, 12302, 1...
[ 0.08782958984375, 0.2352294921875, 0.1512451171875, 0.1962890625, 0.18798828125, 0.2152099609375, 0.023773193359375, 0.06500244140625, 0.1695556640625, 0.079833984375, 0.05816650390625, 0.1414794921875, 0.283935546875, 0.09674072265625, 0.1103515625, 0.1927490234375, 0.1485595703125,...
embed
40787650_c1
40787650
fsharp
1
of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Xamarin.AndroidDesigner.AndroidRenderSession.<InitSession>d__105.MoveNex...
of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Xamarin.AndroidDesigner.AndroidRenderSession.<InitSession>d__105.MoveNex...
[ 0.0091552734375, 0.036865234375, -0.000492095947265625, 0.00518798828125, 0.000461578369140625, -0.0052490234375, 0.0194091796875, -0.0177001953125, -0.0211181640625, -0.0186767578125, -0.01953125, -0.00762939453125, 0.00653076171875, -0.007110595703125, 0.01483154296875, 0.00289916992...
[ 111, 177261, 144851, 1295, 96362, 31913, 131527, 104250, 19, 12353, 163321, 6032, 108161, 34759, 121979, 9874, 634, 16840, 15555, 18537, 59881, 14168, 238, 26531, 1042, 66211, 978, 122116, 8606, 44503, 57934, 128640, 23894, 90, 217, 294, 6889, ...
[ 0.1048583984375, 0.21630859375, 0.25732421875, 0.065673828125, 0.2413330078125, 0.166259765625, 0.2578125, 0.1339111328125, 0.00201416015625, 0.1202392578125, 0.024444580078125, 0.07501220703125, 0.08807373046875, 0.12451171875, 0.140380859375, 0.0841064453125, 0.1358642578125, 0.1...
embed
12432595_c1
12432595
fsharp
1
documented), and why using AddHandler doesn't work? I'm using VS2010, F# 2.0, .NET 3.0 libraries. Update: Ah, I just realized that I was wrong that using AddHandler works differently than using add_MouseDown. What I had actually been doing was adding two event handlers one after the other using the two different appro...
documented), and why using AddHandler doesn't work? I'm using VS2010, F# 2.0, .NET 3.0 libraries. Update: Ah, I just realized that I was wrong that using AddHandler works differently than using add_MouseDown. What I had actually been doing was adding two event handlers one after the other using the two different appro...
[ 0.002593994140625, 0.0242919921875, 0.002899169921875, 0.0012969970703125, -0.0191650390625, 0.0059814453125, 0.0196533203125, -0.01458740234375, 0.018798828125, -0.03857421875, 0.0203857421875, -0.00823974609375, 0.005950927734375, 0.004608154296875, -0.01409912109375, -0.019775390625...
[ 12937, 297, 15400, 17368, 29117, 135679, 603, 22027, 18, 4488, 44160, 11436, 563, 4904, 16655, 17777, 17596, 35773, 185171, 44691, 43240, 12921, 15190, 594, 51483, 8331, 7710, 154107, 6626, 19732, 35863, 7103, 3789, 51515, 19916, 11, 4028, 17...
[ 0.158447265625, 0.0202789306640625, 0.060211181640625, 0.0887451171875, 0.202880859375, 0.2481689453125, 0.2486572265625, 0.045379638671875, 0.079833984375, 0.1341552734375, 0.1466064453125, 0.177001953125, 0.005767822265625, 0.0816650390625, 0.0650634765625, 0.09344482421875, 0.1099...
embed
30517301_c0
30517301
fsharp
0
Title: Will .Net call Dispose for me in this case? Problem title: Will .Net call Dispose for me in this case? Tags: .net, f%23, garbage-collection, idisposable Problem: Will .Net call Dispose for me in this case? For what I've read on the Internet, you should always call dispose on IDisposable objects as soon as you no...
Will .Net call Dispose for me in this case? Will .Net call Dispose for me in this case? .net f%23 garbage-collection idisposable Will Net Dispose IDisposable Foo disposable:IDisposable Will .Net call Dispose for me in this case? For what I've read on the Internet, you should always call dispose on IDisposable objects a...
[ 0.0033416748046875, 0.02783203125, 0.00750732421875, 0.01165771484375, -0.0177001953125, 0.010009765625, -0.0162353515625, 0.0228271484375, 0.01458740234375, -0.00933837890625, -0.00628662109375, 0.032958984375, 0.00151824951171875, 0.01031494140625, 0.003021240234375, -0.009765625, ...
[ 20255, 5, 24447, 11782, 70958, 184, 100, 163, 903, 7225, 1179, 1238, 3742, 3671, 402, 429, 196352, 17, 3827, 7522, 2886, 10086, 11338, 164, 9572, 31, 82566, 2661, 7146, 12301, 5608, 11343, 60458, 98, 36746, 33662, 110, 51713, 3871, 2856, ...
[ 0.079345703125, 0.0577392578125, 0.2423095703125, 0.1658935546875, 0.23876953125, 0.2120361328125, 0.13916015625, 0.07830810546875, 0.0469970703125, 0.07666015625, 0.2078857421875, 0.003997802734375, 0.0709228515625, 0.045623779296875, 0.148193359375, 0.06005859375, 0.1192626953125, ...
embed
62071593_c0
62071593
fsharp
0
Title: How to use ZeroLog from F#? Problem title: How to use ZeroLog from F#? Tags: logging, f%23 Problem: How to use ZeroLog from F#? I could not find any details on this. Here is the code: // external open ZeroLog open ZeroLog.Appenders open ZeroLog.Config open System.Collections.Generic // internal module Logging = ...
How to use ZeroLog from F#? How to use ZeroLog from F#? logging f%23 F# How ZeroLog ZeroLog.Appenders ZeroLog.Config System.Collections.Generic Logging ConsoleAppender DefaultAppenderConfig defaultAppenderConfig.PrefixPattern appender.Configure List IAppender appenders.Add BasicConfigurator.Configure name:string LogMan...
[ -0.026611328125, 0.0003719329833984375, -0.00616455078125, -0.01611328125, 0.0103759765625, -0.01123046875, 0.0159912109375, -0.0084228515625, -0.0208740234375, -0.01165771484375, 0.011474609375, 0.003387451171875, -0.0106201171875, -0.00860595703125, 0.0250244140625, -0.034423828125, ...
[ 11249, 47, 4527, 83947, 113972, 1295, 563, 4904, 32, 459, 36659, 1238, 3742, 39179, 23894, 83671, 64906, 40777, 1021, 114977, 55923, 114689, 820, 59994, 14202, 91692, 123310, 1290, 91693, 13146, 12662, 33730, 1505, 12321, 73088, 42, 93147, 18...
[ 0.060699462890625, 0.038421630859375, 0.129638671875, 0.222412109375, 0.229736328125, 0.1260986328125, 0.138671875, 0.18408203125, 0.0218048095703125, 0.112060546875, 0.1124267578125, 0.08648681640625, 0.1112060546875, 0.032745361328125, 0.079345703125, 0.0909423828125, 0.10577392578...
embed
39660900_c0
39660900
fsharp
0
Title: custom unfold returning the accumulator Problem title: custom unfold returning the accumulator Tags: f%23, list, recursion, tail-recursion, unfold Problem: custom unfold returning the accumulator I'm trying to create a custom unfold function that returns its last accumulator value like: val unfold' : generator:(...
custom unfold returning the accumulator custom unfold returning the accumulator f%23 list recursion tail-recursion unfold State Some None List.rev custom unfold returning the accumulator I'm trying to create a custom unfold function that returns its last accumulator value like: I managed to make the following: But I wa...
[ 0.01324462890625, 0.032470703125, 0.0191650390625, 0.01513671875, -0.01226806640625, 0.011962890625, -0.02099609375, -0.0093994140625, 0.007415771484375, -0.036865234375, 0.025634765625, 0.0048828125, 0.000659942626953125, 0.017333984375, -0.007568359375, 0.00086212158203125, -0.0055...
[ 114122, 51, 42822, 30646, 183278, 1290, 1238, 3949, 3742, 5303, 195625, 46741, 48650, 22836, 31384, 438, 32036, 65381, 31577, 28282, 32354, 4568, 34292, 145755, 25632, 36663, 71864, 16750, 139392, 21771, 678, 26785, 12989, 28987, 4527, 9454, 52...
[ 0.2147216796875, 0.1016845703125, 0.20556640625, 0.176025390625, 0.238037109375, 0.1339111328125, 0.056427001953125, 0.026336669921875, 0.130615234375, 0.160400390625, 0.1507568359375, 0.1749267578125, 0.076904296875, 0.09033203125, 0.03179931640625, 0.05767822265625, 0.1630859375, ...
embed
30694040_c0
30694040
fsharp
0
Title: how to call function from library in formula with R type provider Problem title: how to call function from library in formula with R type provider Tags: r, f%23 Problem: how to call function from library in formula with R type provider I am following some R examples from a book on stochastic simulation, and bein...
how to call function from library in formula with R type provider how to call function from library in formula with R type provider r f%23 RDotNet.EvaluationException library Nit AOB AOBm Nitm System System.Linq RDotNet RProvider RProvider.stats RProvider.graphics RProvider.splines Seq.sum Seq.length List.zip Seq.map L...
[ -0.0086669921875, 0.005828857421875, -0.010498046875, 0.00482177734375, 0.01129150390625, -0.0206298828125, 0.030029296875, -0.0006256103515625, 0.012939453125, -0.04443359375, 0.019775390625, 0.01708984375, 0.0223388671875, -0.028076171875, 0.015869140625, -0.0230712890625, -0.00872...
[ 3642, 11782, 32354, 1295, 35773, 1294, 23, 26168, 678, 627, 10644, 81450, 1690, 3742, 24447, 27494, 63928, 82005, 38296, 39, 12353, 44982, 83220, 820, 17346, 48461, 7008, 59801, 11832, 50836, 103247, 160328, 28122, 212059, 1779, 27781, 40226, ...
[ 0.03338623046875, 0.177490234375, 0.1990966796875, 0.153076171875, 0.2156982421875, 0.128662109375, 0.0297698974609375, 0.22607421875, 0.07666015625, 0.1512451171875, 0.1600341796875, 0.178955078125, 0.0927734375, 0.06781005859375, 0.08203125, 0.0997314453125, 0.1031494140625, 0.11...
embed
66939626_c0
66939626
fsharp
0
Title: Best way to connect to MySQL and execute a query? (probably with Dapper) Problem title: Best way to connect to MySQL and execute a query? (probably with Dapper) Tags: mysql, f%23, .net Problem: Best way to connect to MySQL and execute a query? (probably with Dapper) I will preface with I simply could not get the...
Best way to connect to MySQL and execute a query? (probably with Dapper) Best way to connect to MySQL and execute a query? (probably with Dapper) mysql f%23 .net Best MySQL Dapper Best way to connect to MySQL and execute a query? (probably with Dapper) I will preface with I simply could not get the Sql Type Provider to...
[ 0.002685546875, 0.014892578125, 0.00677490234375, 0.0130615234375, -0.0157470703125, 0.0250244140625, -0.0024566650390625, -0.0296630859375, 0.000751495361328125, -0.0244140625, 0.025390625, -0.01116943359375, -0.0101318359375, -0.0042724609375, -0.033203125, -0.007293701171875, -0.0...
[ 11345, 3917, 47, 37067, 157146, 136, 71924, 13, 41, 1294, 90837, 678, 930, 8079, 38526, 759, 7, 99247, 1238, 3949, 3742, 1179, 10, 40404, 60457, 123089, 4488, 3121, 12921, 18499, 26847, 115058, 11389, 79612, 71864, 4904, 27781, 6002, 86531,...
[ 0.1397705078125, 0.078857421875, 0.1673583984375, 0.2186279296875, 0.260009765625, 0.08447265625, 0.2037353515625, 0.06768798828125, 0.1495361328125, 0.1016845703125, 0.04327392578125, 0.07757568359375, 0.159912109375, 0.278564453125, 0.016357421875, 0.11962890625, 0.01605224609375, ...
embed
76863511_c0
76863511
fsharp
0
Title: Code inside a task expression is executed before the task is created Problem title: Code inside a task expression is executed before the task is created Tags: f%23 Problem: Code inside a task expression is executed before the task is created Consider the following: let makeTask n = task { return longRunningFunc ...
Code inside a task expression is executed before the task is created Code inside a task expression is executed before the task is created f%23 Task.Run Array.init Task.WhenAll Code inside a task expression is executed before the task is created Consider the following: Under the assumption that everything inside the cur...
[ 0.0167236328125, 0.00994873046875, 0.0130615234375, -0.00946044921875, 0.00616455078125, -0.005157470703125, 0.0101318359375, -0.0035858154296875, 0.0172119140625, -0.0228271484375, 0.0023193359375, 0.031494140625, 0.00131988525390625, -0.00958251953125, 0.03125, 0.00096893310546875, ...
[ 28864, 46132, 66211, 125195, 83, 71924, 297, 8108, 75935, 1238, 3949, 3742, 9598, 92, 163321, 69253, 53, 73, 217, 186048, 43512, 237259, 26818, 70, 9709, 538, 1620, 5170, 2831, 41206, 183234, 442, 20653, 241957, 40715, 224, 481, 81887, 1167...
[ 0.2310791015625, 0.2156982421875, 0.266357421875, 0.268310546875, 0.002227783203125, 0.2318115234375, 0.024688720703125, 0.1988525390625, 0.171142578125, 0.08154296875, 0.03271484375, 0.142822265625, 0.1953125, 0.07470703125, 0.1654052734375, 0.10693359375, 0.076904296875, 0.044677...
embed
531178_c0
531178
fsharp
0
Title: Using the F# pipe symbol with an object constructor Problem title: Using the F# pipe symbol with an object constructor Tags: constructor, syntax, pipe, f%23 Problem: Using the F# pipe symbol with an object constructor I'm trying to figure out the correct syntax to use the pipe operator |> into the creation of an...
Using the F# pipe symbol with an object constructor Using the F# pipe symbol with an object constructor constructor syntax pipe f%23 Using Shape Vector List.map shape.points Array.concat Shape.create Using the F# pipe symbol with an object constructor I'm trying to figure out the correct syntax to use the pipe operator...
[ 0.00982666015625, -0.00061798095703125, -0.0181884765625, 0.0107421875, -0.031005859375, -0.00830078125, -0.0274658203125, 0.004241943359375, 0.000507354736328125, -0.034423828125, -0.004119873046875, -0.01116943359375, 0.0299072265625, -0.004547119140625, -0.0024261474609375, -0.00897...
[ 345, 563, 4904, 137158, 26582, 678, 36746, 64549, 748, 6002, 86531, 1238, 3949, 3742, 7224, 1081, 2609, 18770, 32036, 62346, 115700, 38496, 69253, 4460, 7612, 26366, 26785, 4527, 70, 39933, 58745, 2740, 3934, 166635, 17368, 10, 201939, 32786,...
[ 0.0841064453125, 0.1591796875, 0.2403564453125, 0.255615234375, 0.2330322265625, 0.115234375, 0.1937255859375, 0.2066650390625, 0.1248779296875, 0.1300048828125, 0.185302734375, 0.11767578125, 0.011749267578125, 0.12744140625, 0.1143798828125, 0.025054931640625, 0.1009521484375, 0....
embed
68603155_c0
68603155
fsharp
0
Title: In F#, how to break a list down into multiple subgroups and return all subgroups? Problem title: In F#, how to break a list down into multiple subgroups and return all subgroups? Tags: f%23 Problem: In F#, how to break a list down into multiple subgroups and return all subgroups? (Newbie question). I have a data...
In F#, how to break a list down into multiple subgroups and return all subgroups? In F#, how to break a list down into multiple subgroups and return all subgroups? f%23 view_rx rx_recid DateTime In F#, how to break a list down into multiple subgroups and return all subgroups? (Newbie question). I have a database functi...
[ 0.017333984375, -0.00022029876708984375, 0.0260009765625, 0.003997802734375, -0.011474609375, 0.0030670166015625, -0.0162353515625, 0.010498046875, -0.000415802001953125, -0.000316619873046875, 0.00634765625, 0.01708984375, 0.01043701171875, 0.002532958984375, -0.0189208984375, 0.01037...
[ 563, 4904, 3642, 36356, 5303, 7565, 3934, 48716, 1614, 51588, 30646, 756, 360, 1238, 3742, 21455, 67179, 107, 55964, 25512, 70059, 136, 9014, 63399, 32354, 7026, 85590, 51, 80596, 5423, 115923, 17164, 9384, 3164, 4307, 425, 808, 19111, 1733...
[ 0.13916015625, 0.2203369140625, 0.0750732421875, 0.2061767578125, 0.197021484375, 0.1824951171875, 0.1484375, 0.20166015625, 0.206298828125, 0.25390625, 0.185546875, 0.087890625, 0.010986328125, 0.04754638671875, 0.08026123046875, 0.16650390625, 0.165283203125, 0.03314208984375, ...
embed
37067800_c0
37067800
fsharp
0
Title: XMLSerializer option fields Problem title: XMLSerializer option fields Tags: f%23, serialization Problem: XMLSerializer option fields The following f# script does not serialize the option field: open System.Xml.Serialization [<CLIMutable>] type Repo = { [<XmlElement("mandatory")>] mandatory : string [<XmlElement...
XMLSerializer option fields XMLSerializer option fields f%23 serialization XMLSerializer System.Xml.Serialization CLIMutable Repo XmlElement IsNullable System.Xml.Serialization.XmlSerializer data.GetType System.IO.StreamWriter writer.Serialize Some Repo.serialize prova.xml utf-8 xmlns:xsi www.w3.org XMLSchema-instance ...
[ 0.0179443359375, 0.0157470703125, 0.008544921875, -0.00823974609375, -0.006103515625, -0.009521484375, 0.006256103515625, -0.01324462890625, -0.007659912109375, 0.049072265625, 0.007781982421875, 0.0172119140625, 0.0038909912109375, -0.0091552734375, 0.00994873046875, 0.015869140625, ...
[ 92537, 4233, 51626, 52825, 35829, 44457, 1238, 3949, 3742, 35686, 12353, 7237, 47691, 83318, 34, 22819, 771, 19929, 20446, 2661, 196707, 17780, 115061, 294, 25435, 13395, 131492, 17376, 25632, 4904, 26499, 14602, 959, 20650, 16750, 11435, 44084...
[ 0.187744140625, 0.055328369140625, 0.1376953125, 0.1446533203125, 0.2213134765625, 0.181884765625, 0.036376953125, 0.02020263671875, 0.1187744140625, 0.1961669921875, 0.0687255859375, 0.04132080078125, 0.012908935546875, 0.044342041015625, 0.0150909423828125, 0.0843505859375, 0.10705...
embed
21084323_c0
21084323
fsharp
0
Title: How to write F# stm as &gt;&gt;= pipeline Problem title: How to write F# stm as &gt;&gt;= pipeline Tags: stm, haskell, f%23 Problem: How to write F# stm as >>= pipeline Can somebody please explain how to write this FSharpx stm as a pipeline? stm { let! allTops = readTVar tAllTops let! thisPlayerTops = mapM remov...
How to write F# stm as &gt;&gt;= pipeline How to write F# stm as &gt;&gt;= pipeline stm haskell f%23 How Seq.filter Seq.map List.ofSeq stm.Return How to write F# stm as >>= pipeline Can somebody please explain how to write this FSharpx stm as a pipeline? I'm thinking of haskell-like >>= pipelines. Thanks! UPDATE: A lit...
[ -0.017578125, 0.0096435546875, 0.01116943359375, -0.011474609375, 0.0252685546875, -0.0140380859375, -0.00130462646484375, 0.0015716552734375, 0.0022125244140625, -0.04541015625, 0.017578125, 0.016845703125, 0.00457763671875, 0.0255126953125, 0.0166015625, 0.006927490234375, -0.00677...
[ 11249, 47, 33022, 563, 4904, 6138, 39, 237, 5386, 1369, 137158, 2256, 1556, 142508, 1238, 3742, 503, 864, 120337, 62346, 32036, 4390, 4332, 987, 6396, 73342, 3642, 903, 93774, 3467, 88684, 10, 47644, 5062, 59801, 19048, 61924, 39933, 69407,...
[ 0.0877685546875, 0.052337646484375, 0.18994140625, 0.1710205078125, 0.241943359375, 0.15771484375, 0.1737060546875, 0.1124267578125, 0.1424560546875, 0.169921875, 0.2227783203125, 0.196533203125, 0.122802734375, 0.1846923828125, 0.126953125, 0.11279296875, 0.039306640625, 0.0681152...
embed
29638978_c1
29638978
fsharp
1
while true do let! msg = inbox.Receive() match msg with | Greet who -> () // printf "Hello, %s!\n" who | Hello reply -> reply.Reply true | _ -> () } ) let n = 1000000 let t1 = System.Diagnostics.Stopwatch() t1.Start() for i = 1 to n do let rep = greeterF.PostAndReply(fun reply -> (Hello reply)) |> ignore () printfn "e...
while true do let! msg = inbox.Receive() match msg with | Greet who -> () // printf "Hello, %s!\n" who | Hello reply -> reply.Reply true | _ -> () } ) let n = 1000000 let t1 = System.Diagnostics.Stopwatch() t1.Start() for i = 1 to n do let rep = greeterF.PostAndReply(fun reply -> (Hello reply)) |> ignore () printfn "e...
[ 0.00115966796875, 0.017578125, 0.005706787109375, -0.00823974609375, -0.0068359375, -0.032470703125, -0.00604248046875, -0.00390625, 0.0008087158203125, -0.033203125, 0.0169677734375, 0.0291748046875, 0.01190185546875, -0.00177764892578125, 0.0108642578125, 0.015380859375, 0.01818847...
[ 12960, 29568, 54, 2633, 38, 68163, 177, 2203, 23, 11728, 4332, 329, 5844, 14858, 678, 10255, 126, 2750, 28412, 420, 841, 13817, 1745, 6, 35378, 75836, 62479, 33079, 653, 805, 28568, 808, 418, 12353, 128198, 41637, 156095, 35414, 126597, 1...
[ 0.1400146484375, 0.2384033203125, 0.0758056640625, 0.228759765625, 0.1300048828125, 0.083251953125, 0.12060546875, 0.021759033203125, 0.0845947265625, 0.1959228515625, 0.023712158203125, 0.084228515625, 0.1295166015625, 0.16796875, 0.06573486328125, 0.19873046875, 0.159912109375, 0...
embed
3240266_c0
3240266
fsharp
0
Title: What is the relation between C# extension methods and the F# pipe-forward operator? Problem title: What is the relation between C# extension methods and the F# pipe-forward operator? Tags: f%23, extension-methods, c%23 Problem: What is the relation between C# extension methods and the F# pipe-forward operator? A...
What is the relation between C# extension methods and the F# pipe-forward operator? What is the relation between C# extension methods and the F# pipe-forward operator? f%23 extension-methods c%23 What ints.Where Select Seq.filter Seq.map What is the relation between C# extension methods and the F# pipe-forward operator...
[ 0.0167236328125, 0.0277099609375, 0.0107421875, 0.019775390625, -0.01226806640625, -0.019287109375, -0.01708984375, -0.01202392578125, 0.00653076171875, -0.0189208984375, -0.00157928466796875, 0.0137939453125, 0.0184326171875, 0.028564453125, -0.0140380859375, -0.013671875, 0.0093383...
[ 41911, 17721, 313, 4904, 111938, 150624, 136, 563, 137158, 2472, 19364, 39933, 1238, 3742, 1928, 7352, 4865, 23, 933, 35593, 51620, 503, 864, 120337, 62346, 17368, 44402, 98893, 5351, 3917, 174548, 5, 3934, 944, 18, 6460, 18151, 21373, 2798...
[ 0.172607421875, 0.043701171875, 0.073974609375, 0.246826171875, 0.2369384765625, 0.19287109375, 0.021148681640625, 0.106201171875, 0.2186279296875, 0.126708984375, 0.176025390625, 0.1951904296875, 0.0758056640625, 0.084228515625, 0.1142578125, 0.1639404296875, 0.024383544921875, 0....
embed
59461912_c0
59461912
fsharp
0
Title: F# use managed DLL with included .so file Problem title: F# use managed DLL with included .so file Tags: macos, mono, f%23, .net-core Problem: F# use managed DLL with included .so file I am trying to use a 3rd party managed DLL that wraps an unmanaged a .so and I can't figure out how to avoid the System.DllNotFo...
F# use managed DLL with included .so file F# use managed DLL with included .so file macos mono f%23 .net-core System.DllNotFoundException DLL managed_wraper.dll unmanaged_library.so Library F# use managed DLL with included .so file I am trying to use a 3rd party managed DLL that wraps an unmanaged a .so and I can't fig...
[ -0.01214599609375, 0.031005859375, -0.0213623046875, 0.0030364990234375, -0.022216796875, 0.000957489013671875, -0.004974365234375, -0.0031890869140625, -0.01385498046875, -0.0225830078125, -0.01220703125, 0.0031890869140625, -0.00946044921875, 0.01153564453125, 0.0286865234375, -0.001...
[ 563, 4904, 4527, 145755, 391, 23708, 678, 99201, 5, 991, 11435, 291, 7840, 22460, 1238, 3742, 1179, 30854, 12353, 397, 1181, 122116, 27591, 7030, 19279, 5429, 11, 1264, 71, 51, 4707, 150, 2844, 103835, 31577, 138, 19085, 137565, 71864, 63...
[ 0.10333251953125, 0.1748046875, 0.0775146484375, 0.2169189453125, 0.0860595703125, 0.2353515625, 0.0318603515625, 0.1943359375, 0.06561279296875, 0.240478515625, 0.131591796875, 0.008087158203125, 0.0667724609375, 0.119384765625, 0.0274200439453125, 0.05706787109375, 0.07177734375, ...
embed
78202732_c0
78202732
fsharp
0
Title: What is the meaning of &#x27;This state machine is not statically compilable&#x27; in F#? Problem title: What is the meaning of &#x27;This state machine is not statically compilable&#x27; in F#? Tags: f%23 Problem: What is the meaning of 'This state machine is not statically compilable' in F#? I have this warnin...
What is the meaning of &#x27;This state machine is not statically compilable&#x27; in F#? What is the meaning of &#x27;This state machine is not statically compilable&#x27; in F#? f%23 today What Services APIServer ChartData.fs FS3511 Consider APIServer.fsproj Products.validateAsync RequestErrors.FORBIDDEN String.Empty...
[ -0.013671875, -0.0186767578125, 0.032958984375, -0.01385498046875, -0.01116943359375, 0.00019168853759765625, -0.0311279296875, 0.004608154296875, 0, -0.02197265625, -0.01708984375, -0.0021820068359375, 0.008056640625, 0.01348876953125, 0.006622314453125, 0.00469970703125, 0.02075195...
[ 4865, 91084, 3768, 73243, 11341, 36279, 83, 959, 13254, 71407, 98352, 2661, 563, 4904, 1238, 3742, 18925, 40583, 61687, 193348, 110373, 137989, 17447, 93774, 5843, 1662, 137399, 3454, 170, 100815, 7013, 12654, 75616, 31611, 571, 45854, 23351, ...
[ 0.038726806640625, 0.19970703125, 0.15185546875, 0.163330078125, 0.1741943359375, 0.187744140625, 0.0931396484375, 0.2032470703125, 0.1964111328125, 0.15234375, 0.255615234375, 0.180908203125, 0.1134033203125, 0.213623046875, 0.031524658203125, 0.0025634765625, 0.05694580078125, 0....
embed
4548910_c1
4548910
fsharp
1
>() let tdst = NativePtr.ofNativeInt<'T> dst let tsrc = NativePtr.ofNativeInt<'T> src do blit bd tdst tsrc (uint32 size) //Program.MemCpy.Invoke(dst.ToPointer(), dst.ToPointer(), uint32 size) This results in a runtime error at blit ( System.Security.VerificationException: Operation could destabilize the runtime. ) The ...
>() let tdst = NativePtr.ofNativeInt<'T> dst let tsrc = NativePtr.ofNativeInt<'T> src do blit bd tdst tsrc (uint32 size) //Program.MemCpy.Invoke(dst.ToPointer(), dst.ToPointer(), uint32 size) This results in a runtime error at blit ( System.Security.VerificationException: Operation could destabilize the runtime. ) The ...
[ -0.01318359375, -0.007476806640625, 0.0135498046875, 0.01373291015625, -0.0087890625, -0.0001049041748046875, 0.006011962890625, -0.00567626953125, 0.01141357421875, -0.03515625, -0.00799560546875, -0.000751495361328125, -0.000888824462890625, 0.003814697265625, 0.0159912109375, -0.023...
[ 977, 132, 2633, 808, 71, 271, 2203, 353, 4935, 683, 4448, 4390, 4645, 4153, 18, 618, 104, 61636, 19437, 54, 2348, 34145, 4288, 6460, 13267, 148968, 594, 195, 441, 6493, 23253, 7763, 147534, 56, 3293, 50339, 11675, 6032, 18499, 99, 12353...
[ 0.0562744140625, 0.037811279296875, 0.1016845703125, 0.061737060546875, 0.0308074951171875, 0.193359375, 0.047515869140625, 0.1490478515625, 0.1871337890625, 0.01690673828125, 0.1707763671875, 0.1783447265625, 0.1104736328125, 0.07952880859375, 0.1669921875, 0.06103515625, 0.02021789...
embed
46575141_c1
46575141
fsharp
1
0) then Some (ra_h, dec_h) else None let listen() = let ipAddr = IPAddress.Any let endpoint = IPEndPoint(ipAddr, 10001) let listener = TcpListener(endpoint) listener.Start() observe.While ((fun () -> true), ofAsync(listener.AcceptClientAsync)) |> bind( (fun socket -> observe.Yield(new NetworkStream(socket))) ) |> bind...
0) then Some (ra_h, dec_h) else None let listen() = let ipAddr = IPAddress.Any let endpoint = IPEndPoint(ipAddr, 10001) let listener = TcpListener(endpoint) listener.Start() observe.While ((fun () -> true), ofAsync(listener.AcceptClientAsync)) |> bind( (fun socket -> observe.Yield(new NetworkStream(socket))) ) |> bind...
[ 0.0091552734375, 0.0260009765625, 0.0009918212890625, -0.004364013671875, 0.010498046875, -0.0162353515625, 0.00299072265625, -0.0020599365234375, -0.005767822265625, -0.040283203125, 0.0250244140625, -0.0166015625, 0.002685546875, 0.001373291015625, 0.0032958984375, 0.010498046875, ...
[ 757, 7068, 31384, 219, 454, 127, 57865, 37076, 438, 2633, 44632, 132, 2203, 254, 22409, 7569, 8021, 161007, 299, 3564, 38496, 152378, 147534, 3442, 805, 100991, 56, 384, 121422, 154663, 39060, 3611, 126597, 139999, 979, 16498, 29568, 111, 1...
[ 0.15966796875, 0.05291748046875, 0.15087890625, 0.08807373046875, 0.0194854736328125, 0.1346435546875, 0.153076171875, 0.09564208984375, 0.06121826171875, 0.09332275390625, 0.284423828125, 0.032318115234375, 0.001251220703125, 0.046783447265625, 0.026611328125, 0.10003662109375, 0.14...
embed
8022512_c0
8022512
fsharp
0
Title: How to read user input using f# interactive in visual studio? Problem title: How to read user input using f# interactive in visual studio? Tags: visual-studio, input, f%23 Problem: How to read user input using f# interactive in visual studio? So I am trying to do something simple: printfn "Enter a number:" try l...
How to read user input using f# interactive in visual studio? How to read user input using f# interactive in visual studio? visual-studio input f%23 System.FormatException f# How Enter System.Console.ReadLine Some int32 Invalid How to read user input using f# interactive in visual studio? So I am trying to do something...
[ -0.0264892578125, 0.00140380859375, 0.015625, 0.000682830810546875, 0.01141357421875, 0.01409912109375, 0.019775390625, -0.006683349609375, -0.007171630859375, -0.03515625, 0.0022430419921875, 0.0089111328125, -0.026123046875, 0.0086669921875, 0.027099609375, -0.00836181640625, 0.023...
[ 11249, 47, 12301, 38937, 107730, 17368, 1238, 4904, 212398, 23, 21176, 12275, 52629, 3742, 12353, 102973, 19279, 63928, 60816, 40777, 31345, 93232, 31384, 18, 6460, 360, 7013, 31577, 8781, 3444, 28412, 26008, 2046, 14012, 9790, 96760, 30646, ...
[ 0.07293701171875, 0.04150390625, 0.263671875, 0.2137451171875, 0.295654296875, 0.09521484375, 0.16357421875, 0.239990234375, 0.2236328125, 0.0927734375, 0.185791015625, 0.233154296875, 0.216064453125, 0.1016845703125, 0.07373046875, 0.09478759765625, 0.042083740234375, 0.1304931640...
embed
54063830_c1
54063830
fsharp
1
"" override this.View model dispatch = let fnClass = if (invalidField model.FirstName) then "invalid" else "valid" let lnClass = if (invalidField model.LastName) then "invalid" else "valid" div [] [ label [] [ text "First Name: " ] input [ attr.``class`` fnClass on.change (fun e -> update model (ChangeFirstName (unbox...
"" override this.View model dispatch = let fnClass = if (invalidField model.FirstName) then "invalid" else "valid" let lnClass = if (invalidField model.LastName) then "invalid" else "valid" div [] [ label [] [ text "First Name: " ] input [ attr.``class`` fnClass on.change (fun e -> update model (ChangeFirstName (unbox...
[ -0.0223388671875, 0.008056640625, 0.00970458984375, 0.0038909912109375, 0.00433349609375, 0.0059814453125, -0.00101470947265625, -0.005767822265625, 0.0184326171875, -0.04541015625, 0.00616455078125, -0.006866455078125, 0.00640869140625, 0.018798828125, 0.0018768310546875, -0.004974365...
[ 44, 58, 645, 416, 112, 903, 5, 100474, 3299, 58580, 257, 206, 2633, 14783, 140803, 2174, 73, 7013, 6159, 19388, 207263, 163612, 71, 96, 19, 2729, 271, 18221, 67967, 7986, 15757, 107730, 98, 152028, 16498, 28, 28350, 127008, 429, 309, 11...
[ 0.0821533203125, 0.10345458984375, 0.1417236328125, 0.2086181640625, 0.14013671875, 0.1934814453125, 0.0294952392578125, 0.310302734375, 0.280517578125, 0.13427734375, 0.1500244140625, 0.125732421875, 0.0240936279296875, 0.128173828125, 0.2423095703125, 0.0296783447265625, 0.03344726...
embed
3459422_c0
3459422
fsharp
0
Title: Combine memoization and tail-recursion Problem title: Combine memoization and tail-recursion Tags: f%23, tail-recursion, functional-programming, memoization Problem: Combine memoization and tail-recursion Is it possible to combine memoization and tail-recursion somehow? I'm learning F# at the moment and understa...
Combine memoization and tail-recursion Combine memoization and tail-recursion f%23 tail-recursion functional-programming memoization Combine Dictionary cache.TryGetValue cache.Add Combine memoization and tail-recursion Is it possible to combine memoization and tail-recursion somehow? I'm learning F# at the moment and u...
[ -0.00189208984375, 0.01544189453125, 0.005340576171875, 0.007049560546875, 0.0072021484375, -0.002838134765625, 0.0150146484375, -0.001922607421875, -0.008544921875, -0.016357421875, 0.01361083984375, -0.002777099609375, 0.01446533203125, 0.0091552734375, 0.0223388671875, 0.02087402343...
[ 106935, 86, 163, 432, 47691, 136, 46741, 9, 107, 48650, 1830, 1238, 3949, 3742, 123309, 28966, 147638, 82365, 1294, 126, 50770, 4028, 2071, 7722, 47, 70163, 209303, 52080, 563, 4904, 3095, 28219, 15044, 23755, 831, 48903, 2856, 121691, 2563...
[ 0.2296142578125, 0.1285400390625, 0.1435546875, 0.1895751953125, 0.166259765625, 0.1123046875, 0.265869140625, 0.0755615234375, 0.1241455078125, 0.2156982421875, 0.1224365234375, 0.05877685546875, 0.011138916015625, 0.09326171875, 0.1475830078125, 0.1080322265625, 0.1365966796875, ...
embed
16612603_c0
16612603
fsharp
0
Title: F# System.TypeInitializationException... why? Problem title: F# System.TypeInitializationException... why? Tags: typeinitializationexception, f%23, user-interface Problem: F# System.TypeInitializationException... why? I'm attempting to make a gui application in F# that uses a dialog box to open a file however wh...
F# System.TypeInitializationException... why? F# System.TypeInitializationException... why? typeinitializationexception f%23 user-interface System.TypeInitializationException OpenFileDialog Filter CSV Files dlg.ShowDialog DialogResult.OK dlg.FileName boxChart.Image btnSave.Enabled F# System.TypeInitializationException....
[ 0.00653076171875, -0.00145721435546875, -0.001739501953125, -0.0042724609375, 0.017333984375, 0.006591796875, 0.0157470703125, -0.00872802734375, -0.005889892578125, -0.003875732421875, -0.0091552734375, -0.00994873046875, -0.00299072265625, 0.0150146484375, 0.017578125, -0.01000976562...
[ 563, 4904, 12353, 196707, 4153, 1890, 289, 47691, 19279, 63928, 27, 15400, 10644, 943, 118, 3355, 1238, 3949, 3742, 38937, 10433, 40404, 13527, 174350, 72838, 4867, 128896, 43486, 42724, 14686, 168660, 84536, 7, 7136, 9092, 163612, 16530, 840...
[ 0.1505126953125, 0.214111328125, 0.107421875, 0.2388916015625, 0.052764892578125, 0.1429443359375, 0.1064453125, 0.0653076171875, 0.0908203125, 0.188232421875, 0.034942626953125, 0.1116943359375, 0.216064453125, 0.0645751953125, 0.113525390625, 0.0975341796875, 0.09576416015625, 0....
embed
43402467_c0
43402467
fsharp
0
Title: VisualStudio 2017 refactor doesnt work for F# Problem title: VisualStudio 2017 refactor doesnt work for F# Tags: visual-studio-2017, f%23, refactoring, visual-studio Problem: VisualStudio 2017 refactor doesnt work for F# I have project in F# , i'm working on VisualStudio2017 . I tried to refactor the code and us...
VisualStudio 2017 refactor doesnt work for F# VisualStudio 2017 refactor doesnt work for F# visual-studio-2017 f%23 refactoring visual-studio System.ArgumentException VisualStudio VisualStudio2017 b:IListBlobItem b.Uri.ToString blobUri.Split Array.length t-2 LogsToBlobService System.DateTime System.Int32.Parse t-1 Subs...
[ -0.004608154296875, 0.007537841796875, 0.01220703125, 0.0179443359375, -0.00958251953125, 0.004150390625, -0.015869140625, -0.00433349609375, -0.003662109375, 0.042236328125, 0.0142822265625, -0.006011962890625, 0.0107421875, 0.004119873046875, 0.0142822265625, -0.02392578125, 0.0122...
[ 73372, 109023, 31, 505, 456, 144810, 22027, 18, 4488, 100, 563, 4904, 21176, 52629, 22842, 1238, 3742, 12353, 1234, 63928, 3259, 876, 16444, 1419, 365, 275, 2982, 416, 7763, 71713, 29695, 4353, 69253, 808, 5428, 13146, 121979, 70059, 6460, ...
[ 0.21630859375, 0.2060546875, 0.117431640625, 0.235107421875, 0.20068359375, 0.317626953125, 0.07684326171875, 0.1102294921875, 0.1700439453125, 0.0758056640625, 0.1517333984375, 0.215087890625, 0.1734619140625, 0.165283203125, 0.2357177734375, 0.064697265625, 0.07281494140625, 0.09...
embed
34779474_c0
34779474
fsharp
0
Title: Awaiting an RX subject in F# Problem title: Awaiting an RX subject in F# Tags: f%23, system.reactive Problem: Awaiting an RX subject in F# This is the same as How do I await a response from an RX Subject without introducing a race condition? , but in F#. The C# solution looks like: static async void Foo() { var ...
Awaiting an RX subject in F# Awaiting an RX subject in F# f%23 system.reactive Awaiting Foo Subject subject.FirstAsync PublishLast firstInt.Connect subject.OnNext Console.WriteLine Done Async IConnectableObservable system.reactive Awaiting an RX subject in F# This is the same as How do I await a response from an RX Sub...
[ -0.0031280517578125, 0.0155029296875, 0.00982666015625, -0.00128936767578125, -0.01007080078125, -0.00946044921875, 0.01080322265625, 0.0106201171875, -0.00051116943359375, -0.030029296875, 0.00616455078125, -0.0079345703125, -0.0108642578125, 0.01129150390625, 0.004608154296875, -0.00...
[ 634, 14, 1916, 627, 1542, 28368, 563, 4904, 1238, 3742, 5426, 107, 71232, 9572, 31, 94341, 207263, 12654, 67325, 2729, 5117, 4153, 18, 235603, 81280, 40777, 93232, 87, 2886, 46471, 65756, 2661, 217, 10, 57553, 1295, 15490, 39864, 45712, 3...
[ 0.1781005859375, 0.1392822265625, 0.025634765625, 0.08502197265625, 0.193115234375, 0.2164306640625, 0.13037109375, 0.2213134765625, 0.05401611328125, 0.1051025390625, 0.092529296875, 0.0308380126953125, 0.10223388671875, 0.1103515625, 0.06317138671875, 0.206787109375, 0.050354003906...
embed
78331467_c1
78331467
fsharp
1
comes from the same library assembly in both cases. I tried all the tips here on SO like deleting all temporary caches and folders. I also opened an issue. In brief, this fails: f# console app with type definition type FX() = member _.Name = "hase" let f x = System.Diagnostics.Debugger.Break(); // opening visualizer f...
comes from the same library assembly in both cases. I tried all the tips here on SO like deleting all temporary caches and folders. I also opened an issue. In brief, this fails: f# console app with type definition type FX() = member _.Name = "hase" let f x = System.Diagnostics.Debugger.Break(); // opening visualizer f...
[ 0.004058837890625, 0.01422119140625, -0.02099609375, -0.0093994140625, 0.0113525390625, -0.00118255615234375, -0.00726318359375, -0.0145263671875, -0.0169677734375, -0.0098876953125, 0.0034637451171875, 0.01507568359375, 0.00016021728515625, -0.01544189453125, 0.0172119140625, -0.00549...
[ 32497, 1295, 5701, 35773, 1294, 89845, 38526, 15044, 50218, 6305, 15969, 24674, 1916, 142458, 82365, 78303, 31089, 59335, 35782, 1238, 4904, 130250, 4027, 10644, 80934, 76175, 132, 32786, 163612, 528, 184, 2633, 1022, 12353, 128198, 4657, 978, ...
[ 0.08734130859375, 0.07281494140625, 0.08203125, 0.1278076171875, 0.0621337890625, 0.11376953125, 0.047393798828125, 0.074462890625, 0.042510986328125, 0.0777587890625, 0.08184814453125, 0.0190277099609375, 0.0025634765625, 0.049835205078125, 0.0987548828125, 0.024383544921875, 0.0174...
embed
4327267_c0
4327267
fsharp
0
Title: How can I create a button in F# that contains both an image and text? Problem title: How can I create a button in F# that contains both an image and text? Tags: f%23, button, silverlight Problem: How can I create a button in F# that contains both an image and text? I have both a button, and an image as follows: ...
How can I create a button in F# that contains both an image and text? How can I create a button in F# that contains both an image and text? f%23 button silverlight How Button BitmapImage System.Uri whatever.png System.UriKind.RelativeOrAbsolute btnFoo.Content Text btnFoo.Background Background Media.Brush How can I crea...
[ 0.01483154296875, 0.0023345947265625, -0.01251220703125, 0.0306396484375, 0.024169921875, 0.0223388671875, 0.0079345703125, -0.01080322265625, 0.007415771484375, -0.0169677734375, 0.0033416748046875, 0.02001953125, -0.0013885498046875, 0.00775146484375, -0.0003261566162109375, -0.02416...
[ 11249, 831, 28282, 77679, 23, 563, 4904, 70541, 15044, 29569, 136, 7986, 1238, 3742, 115392, 20016, 144037, 27774, 62346, 216960, 12353, 416, 89778, 128468, 7250, 143, 19060, 98685, 27591, 31, 25352, 24129, 152470, 64330, 26828, 4794, 86532, ...
[ 0.052978515625, 0.047454833984375, 0.1602783203125, 0.231689453125, 0.0648193359375, 0.1248779296875, 0.214111328125, 0.1309814453125, 0.088623046875, 0.1796875, 0.07562255859375, 0.1954345703125, 0.0843505859375, 0.1239013671875, 0.1279296875, 0.1641845703125, 0.1663818359375, 0.0...
embed
66420053_c0
66420053
fsharp
0
Title: DRY self-replicating type Problem title: DRY self-replicating type Tags: clone, f%23 Problem: DRY self-replicating type Is there a succint way to express self-replicating types in F#? — That is, without repeating oneself. // Manual self-replication type Foo (par1 : Type1, par2 : Type2, par3 : Type3, par4 : Type4...
DRY self-replicating type DRY self-replicating type clone f%23 DRY Manual Foo par1 Type1 par2 Type2 par3 Type3 par4 Type4 UniqueState this.SelfReplicate a.SelfReplicate Semi-automagic DRY self-replicating type Is there a succint way to express self-replicating types in F#? — That is, without repeating oneself. Attempt ...
[ -0.0164794921875, 0.0098876953125, -0.00164794921875, 0.0216064453125, -0.0230712890625, -0.005401611328125, 0.005157470703125, 0.01397705078125, 0.007537841796875, -0.0228271484375, -0.02392578125, 0.00154876708984375, -0.00531005859375, 0.02001953125, 0.005645751953125, -0.0006294250...
[ 391, 34388, 15970, 107, 52721, 10644, 1916, 20450, 86, 1238, 3949, 3742, 111021, 9572, 31, 366, 60457, 363, 617, 11789, 135206, 903, 104475, 420, 4332, 67, 84420, 8913, 91088, 91, 45740, 660, 3917, 47, 36510, 9, 52895, 23, 563, 4904, 15...
[ 0.08599853515625, 0.2498779296875, 0.1817626953125, 0.1427001953125, 0.2327880859375, 0.2105712890625, 0.1138916015625, 0.138916015625, 0.03704833984375, 0.06744384765625, 0.002960205078125, 0.09710693359375, 0.12646484375, 0.1270751953125, 0.07391357421875, 0.050811767578125, 0.1900...
embed
66961290_c0
66961290
fsharp
0
Title: can this code be rewritten more elegantly, in F# Problem title: can this code be rewritten more elegantly, in F# Tags: f%23 Problem: can this code be rewritten more elegantly, in F# with an array like this: let a = [| 1.; 2.; nan; 4.; 5. |] I know that the last value is not a NaN (the list comes from an operatio...
can this code be rewritten more elegantly, in F# can this code be rewritten more elegantly, in F# f%23 Array.append Array.pairwise Array.rev Array.map Double.IsNaN a.Length Seq.rev Seq.toArray Array.foldBack Array.empty can this code be rewritten more elegantly, in F# with an array like this: I know that the last value...
[ -0.016357421875, 0.020263671875, -0.007598876953125, 0.019775390625, -0.01043701171875, 0.00640869140625, -0.00107574462890625, 0.01556396484375, 0.0113525390625, -0.005157470703125, 0.000885009765625, 0.031494140625, -0.0274658203125, -0.0019378662109375, 0.005523681640625, -0.0216064...
[ 831, 903, 18151, 456, 5429, 75639, 1286, 27650, 538, 563, 4904, 1238, 3742, 69253, 53, 9007, 3611, 109637, 90825, 5, 65381, 62346, 107172, 29598, 4645, 839, 864, 188, 7614, 7092, 42822, 152470, 33548, 23, 10298, 1884, 3714, 4568, 34292, 8...
[ 0.054046630859375, 0.076416015625, 0.1634521484375, 0.1009521484375, 0.1134033203125, 0.08990478515625, 0.1068115234375, 0.189697265625, 0.06280517578125, 0.122802734375, 0.1741943359375, 0.08319091796875, 0.127685546875, 0.1019287109375, 0.034637451171875, 0.06768798828125, 0.079162...
embed
10647198_c1
10647198
fsharp
1
't have to litter all my lambda expressions with box . I did so by splicing the original expression into this one: <@ %exp >> box @> . This produces an object with the correct type, but the code to convert to Expression<Func<'a, obj>> no longer works. module Expr = open System open System.Linq.Expressions open Microsof...
't have to litter all my lambda expressions with box . I did so by splicing the original expression into this one: <@ %exp >> box @> . This produces an object with the correct type, but the code to convert to Expression<Func<'a, obj>> no longer works. module Expr = open System open System.Linq.Expressions open Microsof...
[ 0.0023040771484375, 0.0191650390625, -0.0186767578125, 0.002227783203125, -0.0028533935546875, -0.003265380859375, 0.0123291015625, -0.01470947265625, 0.0025634765625, -0.0439453125, -0.0113525390625, 0.00872802734375, -0.0086669921875, -0.00848388671875, 0.01483154296875, 0.0142211914...
[ 18, 765, 47, 5794, 56, 756, 759, 21, 6492, 85, 125195, 7, 678, 16530, 91, 55992, 214, 7311, 3934, 903, 981, 1745, 83613, 1374, 27489, 36746, 26785, 10644, 18151, 96760, 25129, 1830, 97249, 238, 11, 995, 170, 110, 51713, 43240, 88996, ...
[ 0.06524658203125, 0.0665283203125, 0.069091796875, 0.1279296875, 0.06396484375, 0.0179901123046875, 0.024444580078125, 0.045867919921875, 0.17529296875, 0.1207275390625, 0.2412109375, 0.050994873046875, 0.0286712646484375, 0.24267578125, 0.0008544921875, 0.20263671875, 0.001770019531...
embed
4859151_c0
4859151
fsharp
0
Title: Help me understand lambda expression precedence Problem title: Help me understand lambda expression precedence Tags: operator-precedence, f%23 Problem: Help me understand lambda expression precedence Looking at the Operator Precedence table, I'm confused by where lambda expressions fit in to all of this. Numberi...
Help me understand lambda expression precedence Help me understand lambda expression precedence operator-precedence f%23 Help x:int Help me understand lambda expression precedence Looking at the Operator Precedence table, I'm confused by where lambda expressions fit in to all of this. Numbering the table 1 to 25 (lowes...
[ 0.026611328125, 0.0145263671875, -0.0021514892578125, 0.0283203125, -0.00433349609375, 0.00927734375, 0.028564453125, 0.005157470703125, 0.0155029296875, -0.00836181640625, 0.003204345703125, -0.0225830078125, 0.015380859375, -0.01080322265625, 0.0289306640625, -0.01806640625, -0.006...
[ 39527, 163, 28219, 21, 6492, 85, 125195, 107671, 6620, 39933, 4692, 37534, 1238, 3949, 3742, 1022, 4288, 150922, 1914, 23180, 55681, 11177, 103332, 47, 714, 17336, 525, 167375, 6626, 22799, 84694, 11814, 9969, 7477, 83, 351, 45388, 45023, 3...
[ 0.0999755859375, 0.1043701171875, 0.1715087890625, 0.06793212890625, 0.1973876953125, 0.155517578125, 0.2276611328125, 0.22119140625, 0.1302490234375, 0.26220703125, 0.09027099609375, 0.1776123046875, 0.0732421875, 0.041351318359375, 0.1051025390625, 0.06036376953125, 0.133056640625,...
embed
40510436_c1
40510436
fsharp
1
I'm totally lost! How can this be done? Update: The calling code looks like this: /// Convert a tree to a list (left to right). let toList tree = let rec toList acc tree = match viewr tree with | Nil -> acc | View(head, Lazy tail) -> tail |> toList (head::acc) toList [] tree Update 2: The code that caused the crash is...
I'm totally lost! How can this be done? Update: The calling code looks like this: /// Convert a tree to a list (left to right). let toList tree = let rec toList acc tree = match viewr tree with | Nil -> acc | View(head, Lazy tail) -> tail |> toList (head::acc) toList [] tree Update 2: The code that caused the crash is...
[ 0.016845703125, 0.0257568359375, -0.01153564453125, -0.00848388671875, 0.0079345703125, -0.004241943359375, -0.04541015625, -0.00396728515625, 0.008056640625, -0.048095703125, -0.003082275390625, -0.002197265625, 0.032958984375, 0.0037078857421875, 0.026123046875, -0.01214599609375, ...
[ 87, 39, 112668, 72856, 38, 11249, 831, 903, 186, 16940, 28641, 159029, 18151, 33342, 1884, 1657, 11549, 53201, 47, 10, 5303, 133, 2480, 7108, 2633, 154663, 21954, 50015, 14858, 21455, 42, 77175, 29805, 31251, 239, 3285, 46741, 33079, 10060,...
[ 0.03472900390625, 0.08349609375, 0.1263427734375, 0.2061767578125, 0.01171875, 0.1226806640625, 0.08050537109375, 0.1412353515625, 0.03759765625, 0.14697265625, 0.013397216796875, 0.1971435546875, 0.2213134765625, 0.0947265625, 0.030426025390625, 0.097412109375, 0.1966552734375, 0....
embed
26958538_c0
26958538
fsharp
0
Title: F#: Creating a collection of integers from user input Problem title: F#: Creating a collection of integers from user input Tags: f%23 Problem: F#: Creating a collection of integers from user input I'm rather new to F# so the question may be fairly elementary. Still, I couldn't find any suggestion on SO. I'm play...
F#: Creating a collection of integers from user input F#: Creating a collection of integers from user input f%23 user Creating Int32.TryParse Console.ReadLine num::listSoFar F#: Creating a collection of integers from user input I'm rather new to F# so the question may be fairly elementary. Still, I couldn't find any su...
[ -0.0213623046875, 0.01373291015625, 0.0007171630859375, -0.00689697265625, -0.00946044921875, 0.015869140625, -0.021240234375, -0.00482177734375, 0.00732421875, -0.037841796875, 0.0040283203125, -0.016845703125, -0.00081634521484375, 0.0002651214599609375, 0.0234375, -0.011474609375, ...
[ 563, 4904, 56781, 1916, 42486, 892, 26255, 1295, 38937, 107730, 1238, 3742, 18, 6460, 618, 1294, 28636, 184, 40777, 31345, 93232, 13269, 6562, 8912, 80908, 3525, 131830, 199015, 15969, 75169, 234873, 66211, 5117, 29954, 3444, 28282, 130250, 1...
[ 0.1220703125, 0.199951171875, 0.1453857421875, 0.0293426513671875, 0.206298828125, 0.16455078125, 0.1326904296875, 0.095458984375, 0.154296875, 0.2027587890625, 0.03680419921875, 0.1217041015625, 0.03192138671875, 0.1748046875, 0.0186004638671875, 0.123291015625, 0.1058349609375, 0...
embed
7103343_c0
7103343
fsharp
0
Title: What is the recommended F# pattern for this situation? Problem title: What is the recommended F# pattern for this situation? Tags: f%23, asynchronous, agent Problem: What is the recommended F# pattern for this situation? I have a situation which resembles the following: let mutable stopped = false let runAsync()...
What is the recommended F# pattern for this situation? What is the recommended F# pattern for this situation? f%23 asynchronous agent What Some Async.Start None Async.Sleep What is the recommended F# pattern for this situation? I have a situation which resembles the following: Now when the stop method is called, I have...
[ -0.0031585693359375, 0.0057373046875, 0.0026092529296875, 0.00164031982421875, -0.006378173828125, 0.006439208984375, -0.01275634765625, -0.0020294189453125, 0.005401611328125, -0.04296875, 0.00909423828125, 0.041015625, 0.00592041015625, 0.010986328125, 0.0380859375, 0.0201416015625, ...
[ 4865, 83, 70, 170198, 563, 4904, 103510, 100, 903, 16648, 1238, 3742, 12654, 101966, 23882, 31384, 238, 126597, 438, 86, 133, 4517, 3332, 195, 13566, 25632, 3229, 7279, 55300, 35839, 765, 16454, 53333, 55769, 57976, 40485, 82424, 26859, 672...
[ 0.035919189453125, 0.042205810546875, 0.04229736328125, 0.1995849609375, 0.150634765625, 0.23486328125, 0.2490234375, 0.05572509765625, 0.064697265625, 0.139404296875, 0.0948486328125, 0.123046875, 0.12646484375, 0.119384765625, 0.228515625, 0.013946533203125, 0.0231475830078125, 0...
embed
55913164_c0
55913164
fsharp
0
Title: F#: Returning a list with element at index changed Problem title: F#: Returning a list with element at index changed Tags: f%23 Problem: F#: Returning a list with element at index changed In F# I need to get a list from an existing list with the value at a particular index changed from the original. All I can fi...
F#: Returning a list with element at index changed F#: Returning a list with element at index changed f%23 Returning Replace Does List.rev head::tail newElement::result head::result F#: Returning a list with element at index changed In F# I need to get a list from an existing list with the value at a particular index c...
[ -0.0177001953125, 0.027099609375, 0.0019989013671875, 0.0030364990234375, 0.006103515625, 0.0159912109375, -0.019287109375, 0.002716064453125, 0.0107421875, 0.00701904296875, 0.0184326171875, 0.000446319580078125, -0.025390625, 0.0198974609375, 0.0279541015625, -0.002044677734375, 0....
[ 563, 4904, 173340, 5303, 678, 12830, 99, 63262, 98816, 1238, 3949, 3742, 214, 853, 23935, 101790, 32036, 5, 65381, 10336, 46741, 3525, 19929, 2109, 7136, 3871, 2046, 10, 1295, 144573, 34292, 17311, 7311, 26484, 33444, 151134, 9844, 35509, 2...
[ 0.1082763671875, 0.178466796875, 0.208251953125, 0.1976318359375, 0.0928955078125, 0.1622314453125, 0.12744140625, 0.19873046875, 0.2332763671875, 0.0946044921875, 0.02288818359375, 0.117431640625, 0.0533447265625, 0.0654296875, 0.170654296875, 0.04095458984375, 0.18310546875, 0.00...
embed
9485990_c0
9485990
fsharp
0
Title: Extracting the text inside a docx file Problem title: Extracting the text inside a docx file Tags: f%23 Problem: Extracting the text inside a docx file I am using the below code to read .docx file and it is successfully extracting the text from the file. But the problem here is, it is just extracting the text. F...
Extracting the text inside a docx file Extracting the text inside a docx file f%23 Extracting System System.IO System.IO.Packaging System.Xml Package.Open FileMode.Open package.GetPart Uri document.xml UriKind.Relative GetStream stream.Seek SeekOrigin.Begin XmlDocument xmlDoc.Load xmlDoc.DocumentElement.InnerText a1.do...
[ 0.0185546875, -0.00823974609375, 0.009765625, 0.0269775390625, 0.0147705078125, 0.017822265625, -0.00238037109375, -0.014404296875, -0.003631591796875, -0.031982421875, 0.00244140625, 0.0269775390625, -0.0301513671875, -0.0016326904296875, 0.015869140625, 0.016845703125, -0.000203132...
[ 31501, 238, 1916, 70, 7986, 46132, 51584, 425, 11435, 10, 1238, 3949, 3742, 12353, 17780, 205956, 1542, 7237, 56607, 103264, 42724, 9083, 98169, 58229, 130885, 12937, 131492, 7250, 143, 20779, 115061, 75973, 503, 10384, 6820, 239469, 8331, 19...
[ 0.2049560546875, 0.08984375, 0.05169677734375, 0.005828857421875, 0.20703125, 0.170166015625, 0.1942138671875, 0.1663818359375, 0.15869140625, 0.037628173828125, 0.038787841796875, 0.0177154541015625, 0.0863037109375, 0.0789794921875, 0.1573486328125, 0.042236328125, 0.01396179199218...
embed
295336_c1
295336
fsharp
1
acc = n then (List.rev acc, lst) else loop (List.hd lst :: acc) n (List.tl lst) loop [] n lst //Return list with moving average accross len elements of lst let MovingAverage (len:int) (lst:float list) = //ugly mean - including this in Fifo kills genericity let qMean (q:Fifo<float>) = ((List.sum q.xs) + (List.sum q.rxs...
acc = n then (List.rev acc, lst) else loop (List.hd lst :: acc) n (List.tl lst) loop [] n lst //Return list with moving average accross len elements of lst let MovingAverage (len:int) (lst:float list) = //ugly mean - including this in Fifo kills genericity let qMean (q:Fifo<float>) = ((List.sum q.xs) + (List.sum q.rxs...
[ 0.002685546875, 0.0059814453125, 0.0096435546875, 0.01318359375, -0.00628662109375, -0.0019683837890625, 0.00762939453125, 0.00885009765625, 0.00933837890625, -0.0284423828125, 0.01092529296875, -0.0101318359375, 0.01104736328125, -0.022216796875, -0.01043701171875, 0.0162353515625, ...
[ 50015, 2203, 653, 7068, 154663, 65381, 271, 37076, 40956, 5, 20257, 1984, 18, 141, 4666, 4332, 987, 19, 5303, 678, 98567, 83080, 95665, 3098, 80854, 2633, 2501, 6496, 284, 814, 4588, 1977, 4288, 52347, 257, 34, 110608, 29459, 26719, 903, ...
[ 0.1697998046875, 0.1162109375, 0.07745361328125, 0.057342529296875, 0.1915283203125, 0.1968994140625, 0.1402587890625, 0.0771484375, 0.23095703125, 0.00286865234375, 0.108154296875, 0.0175628662109375, 0.0245819091796875, 0.06854248046875, 0.045501708984375, 0.01617431640625, 0.11791...
embed
58027119_c0
58027119
fsharp
0
Title: F# Can I use negative indices on Arrays. (like in Python)? Problem title: F# Can I use negative indices on Arrays. (like in Python)? Tags: f%23 Problem: F# Can I use negative indices on Arrays. (like in Python)? Edit 2021: Yes you can since F#5.0 see Docs Original Question: I would like to use negative indices o...
F# Can I use negative indices on Arrays. (like in Python)? F# Can I use negative indices on Arrays. (like in Python)? f%23 Can Arrays Python Method Allows this.Item this.Length myThings.SetItemNegative this.GetItemNegative this.SetItemNegative F# Can I use negative indices on Arrays. (like in Python)? Edit 2021: Yes yo...
[ -0.00634765625, 0.005157470703125, 0.004302978515625, -0.008056640625, 0.000247955322265625, -0.0264892578125, 0.008544921875, 0.0108642578125, 0.00176239013671875, 0.00179290771484375, 0.00180816650390625, 0.00860595703125, -0.00982666015625, 0.0034637451171875, 0.006103515625, -0.024...
[ 563, 4904, 4171, 4527, 40907, 136044, 7, 98, 69253, 4778, 5062, 145581, 1238, 3742, 74644, 41566, 2982, 903, 759, 20800, 5180, 294, 126, 6433, 208, 4935, 64371, 831, 187461, 1884, 33022, 9, 90173, 927, 5423, 17932, 4568, 35735, 7722, 3578...
[ 0.1015625, 0.177001953125, 0.0904541015625, 0.13037109375, 0.274658203125, 0.234375, 0.126220703125, 0.072021484375, 0.1610107421875, 0.166015625, 0.07989501953125, 0.1903076171875, 0.04132080078125, 0.06005859375, 0.1015625, 0.06842041015625, 0.1053466796875, 0.03857421875, 0.11...
embed
33010862_c0
33010862
fsharp
0
Title: F# how to deal with this recursive mutal class method Problem title: F# how to deal with this recursive mutal class method Tags: f%23 Problem: F# how to deal with this recursive mutal class method I have the following piece of code where I need to call on my own class that I reference via a reference on a mutual...
F# how to deal with this recursive mutal class method F# how to deal with this recursive mutal class method f%23 Node x.Connections System.Collections.Generic.List Connection x.Connect x.Connections.Add x.Func Dest.Func Source Dest F# how to deal with this recursive mutal class method I have the following piece of code...
[ -0.00604248046875, 0.004058837890625, 0.0181884765625, 0.01708984375, 0.0010223388671875, 0.00830078125, -0.00144195556640625, -0.0126953125, 0.00128936767578125, -0.033203125, 0.00018405914306640625, -0.0023956298828125, -0.01458740234375, 0.015625, 0.011474609375, -0.0242919921875, ...
[ 563, 4904, 3642, 47, 35142, 678, 903, 195625, 5844, 842, 1803, 18507, 55300, 1238, 3742, 438, 112, 1022, 235603, 17514, 12353, 78457, 8996, 135932, 154663, 62448, 4028, 97249, 262, 271, 238, 77641, 25632, 18151, 11782, 98, 10002, 91067, 182...
[ 0.143798828125, 0.184326171875, 0.049346923828125, 0.08984375, 0.1607666015625, 0.140625, 0.1121826171875, 0.2135009765625, 0.134521484375, 0.1373291015625, 0.1661376953125, 0.1932373046875, 0.15380859375, 0.08428955078125, 0.114013671875, 0.1239013671875, 0.158935546875, 0.1002197...
embed
67440524_c0
67440524
fsharp
0
Title: Is it possible to use an instance method in a pipeline in F#? Problem title: Is it possible to use an instance method in a pipeline in F#? Tags: .net, f%23 Problem: Is it possible to use an instance method in a pipeline in F#? Is it possible to use an instance method directly in a pipeline in F#? I am asking abo...
Is it possible to use an instance method in a pipeline in F#? Is it possible to use an instance method in a pipeline in F#? .net f%23 String.ToLower MyString String.map Char.ToLower input.ToLower Is it possible to use an instance method in a pipeline in F#? Is it possible to use an instance method directly in a pipelin...
[ -0.010498046875, -0.0006103515625, 0.016845703125, 0.0036773681640625, -0.019287109375, -0.02294921875, -0.00026702880859375, -0.0203857421875, 0.007720947265625, -0.032958984375, -0.01171875, 0.01385498046875, 0.011962890625, 0.005645751953125, 0.0028533935546875, -0.0181884765625, ...
[ 2071, 442, 7722, 4527, 142, 110527, 55300, 23, 137158, 2256, 563, 4904, 47, 10, 1179, 1238, 3742, 23351, 214, 7763, 15363, 6488, 2646, 71713, 62346, 21656, 107730, 105237, 113292, 4537, 7225, 27781, 31577, 96760, 79315, 92319, 58437, 46132, ...
[ 0.0631103515625, 0.05419921875, 0.201416015625, 0.166259765625, 0.0628662109375, 0.30029296875, 0.2318115234375, 0.102294921875, 0.2174072265625, 0.22802734375, 0.153076171875, 0.2294921875, 0.0699462890625, 0.044952392578125, 0.1522216796875, 0.091064453125, 0.123046875, 0.1558837...
embed
35207452_c0
35207452
fsharp
0
Title: Using F# List.sort with a type that has CustomComparison Problem title: Using F# List.sort with a type that has CustomComparison Tags: f%23 Problem: Using F# List.sort with a type that has CustomComparison I am trying to define a type in F# that has an id and a value, and when sorting only the value is considere...
Using F# List.sort with a type that has CustomComparison Using F# List.sort with a type that has CustomComparison f%23 Using List.sort CustomComparison CustomEquality EquatableValue x.Equals x.value y.value x.GetHashCode System.IComparable x.CompareTo Using F# List.sort with a type that has CustomComparison I am trying...
[ 0.0036773681640625, 0.0079345703125, 0.01202392578125, -0.004425048828125, -0.003631591796875, -0.01251220703125, -0.0189208984375, -0.02392578125, 0.003509521484375, 0.0267333984375, -0.0047607421875, 0.030029296875, 0.002410888671875, -0.028564453125, -0.0047607421875, -0.00158691406...
[ 345, 563, 4904, 32036, 62351, 678, 10644, 1556, 130664, 108161, 1686, 1681, 5, 1238, 3742, 161789, 90065, 2886, 50770, 71723, 27494, 113, 6495, 1495, 114211, 12353, 147, 1022, 1046, 7763, 31577, 61924, 3447, 136, 34292, 12096, 4734, 90698, ...
[ 0.0694580078125, 0.1341552734375, 0.218994140625, 0.1776123046875, 0.2203369140625, 0.1207275390625, 0.176025390625, 0.03662109375, 0.18115234375, 0.10455322265625, 0.1337890625, 0.081787109375, 0.023162841796875, 0.05767822265625, 0.0826416015625, 0.1341552734375, 0.093505859375, ...
embed
51906382_c0
51906382
fsharp
0
Title: F# MySQL Type Provider, references / packages, on Linux Monodevelop Problem title: F# MySQL Type Provider, references / packages, on Linux Monodevelop Tags: linux, monodevelop, mysql, f%23, type-providers Problem: F# MySQL Type Provider, references / packages, on Linux Monodevelop Code signals: MySQL, Type, Prov...
F# MySQL Type Provider, references / packages, on Linux Monodevelop F# MySQL Type Provider, references / packages, on Linux Monodevelop linux monodevelop mysql f%23 type-providers MySQL Type Provider Linux Monodevelop FSharp.Data.Sql MySql.Data MySqlConnector FSharp.Data FSharp.Data.SqlClient FSharp.Data.TypeProviders ...
[ -0.0064697265625, 0.02587890625, 0.0167236328125, 0.0125732421875, -0.00141143798828125, 0.006744384765625, 0.003997802734375, -0.01025390625, -0.0107421875, 0.004669189453125, 0.01336669921875, -0.01953125, 0.0087890625, 0.00099945068359375, -0.00396728515625, -0.0003871917724609375, ...
[ 563, 4904, 157146, 60457, 123089, 42, 91067, 248, 98169, 98, 29908, 77879, 229815, 11508, 6077, 22460, 759, 99247, 1238, 3949, 3742, 10644, 93136, 93774, 3467, 254, 137989, 2646, 235603, 150, 196707, 177997, 80866, 1181, 141423, 144814, 97249, ...
[ 0.1307373046875, 0.18994140625, 0.2484130859375, 0.2410888671875, 0.2127685546875, 0.083740234375, 0.2025146484375, 0.038848876953125, 0.2108154296875, 0.060302734375, 0.18310546875, 0.160400390625, 0.21875, 0.07293701171875, 0.04583740234375, 0.10107421875, 0.06292724609375, 0.176...
embed
65059094_c0
65059094
fsharp
0
Title: mutable dictionary immutable in F# Problem title: mutable dictionary immutable in F# Tags: f%23, dictionary Problem: mutable dictionary immutable in F# I have code that declares a mutable dictionary but I will get an error when I try to change an element. The code: let layers = seq { if recipes.ContainsKey(Posit...
mutable dictionary immutable in F# mutable dictionary immutable in F# f%23 dictionary recipes.ContainsKey PositionSide.Short PositionSide.Long Seq.map l.Id IDictionary Dictionary Layer Seq.iter kvp.Key kvp.Value mutable dictionary immutable in F# I have code that declares a mutable dictionary but I will get an error wh...
[ 0.004364013671875, 0.0089111328125, 0.0069580078125, -0.019287109375, 0.01007080078125, 0.004730224609375, -0.020263671875, 0.00872802734375, 0.0026397705078125, 0.01043701171875, 0.02587890625, 0.032958984375, 0.01055908203125, 0.020751953125, 0.027099609375, 0.007354736328125, -0.0...
[ 842, 22819, 45, 10763, 6635, 566, 561, 23, 563, 4904, 1238, 3949, 3742, 48564, 25500, 162429, 99428, 2506, 62346, 568, 71, 11338, 14, 147638, 8889, 16840, 26687, 254, 856, 50770, 18151, 159978, 1221, 18499, 9790, 47, 15549, 12830, 903, 28...
[ 0.18115234375, 0.196533203125, 0.1068115234375, 0.188232421875, 0.1209716796875, 0.08917236328125, 0.16162109375, 0.0160369873046875, 0.1448974609375, 0.2125244140625, 0.08587646484375, 0.021026611328125, 0.1175537109375, 0.166748046875, 0.0716552734375, 0.0999755859375, 0.0994873046...
embed
40874626_c0
40874626
fsharp
0
Title: How to keep button enabled while performing asynchronous task Problem title: How to keep button enabled while performing asynchronous task Tags: fsxaml, f%23, fsharp.viewmodule Problem: How to keep button enabled while performing asynchronous task In my xaml I have a Button and a TextBlock <TextBlock Text="{Bind...
How to keep button enabled while performing asynchronous task How to keep button enabled while performing asynchronous task fsxaml f%23 fsharp.viewmodule How TextBlock Text Binding AText FontSize Button Content Click Command MyCommand Grid.Row self.Factory.Backing self.AText Initial Loading Async.Sleep Loaded aText.Val...
[ 0.00360107421875, 0.025146484375, 0.01025390625, 0.005279541015625, 0.0145263671875, 0.007110595703125, 0.02392578125, -0.00689697265625, 0.007781982421875, -0.034423828125, 0.010009765625, 0.01470947265625, 0.0140380859375, 0.01190185546875, -0.01190185546875, -0.008056640625, 0.015...
[ 11249, 13695, 77679, 225081, 12960, 51339, 10, 12654, 101966, 66211, 10821, 1238, 3798, 7237, 3742, 89280, 254, 22751, 83279, 24129, 166191, 1843, 33770, 62, 174379, 40788, 127167, 144037, 70870, 21138, 123573, 10770, 12018, 31945, 15970, 152470,...
[ 0.023345947265625, 0.1832275390625, 0.2266845703125, 0.208251953125, 0.0955810546875, 0.1114501953125, 0.057861328125, 0.17578125, 0.17041015625, 0.2056884765625, 0.007659912109375, 0.0199737548828125, 0.051361083984375, 0.1962890625, 0.0880126953125, 0.1009521484375, 0.0548095703125...
embed
66182568_c0
66182568
fsharp
0
Title: How to create a HttpTrigger that will match any url? Problem title: How to create a HttpTrigger that will match any url? Tags: azure-functions, c%23, f%23 Problem: How to create a HttpTrigger that will match any url? I am writing an azure function where I want to be able to handle the routing based on the url as...
How to create a HttpTrigger that will match any url? How to create a HttpTrigger that will match any url? azure-functions c%23 f%23 How HttpTrigger Route FunctionName MyFunction AuthorizationLevel.Anonymous seg1 seg2 seg3 HttpRequest ILogger ExecutionContext Implementation How to create a HttpTrigger that will match an...
[ -0.02783203125, -0.00274658203125, -0.00799560546875, 0.000576019287109375, 0.00156402587890625, -0.0155029296875, 0.0299072265625, -0.0093994140625, 0.004852294921875, -0.025634765625, 0.0003795623779296875, -0.0174560546875, 0.000827789306640625, 0.0164794921875, 0.029296875, -0.0002...
[ 11249, 47, 28282, 10, 572, 3062, 254, 74257, 21407, 450, 1221, 14858, 2499, 25002, 32, 295, 3408, 137175, 3742, 106015, 28670, 163612, 2646, 97249, 61804, 47691, 2601, 7251, 45757, 1931, 304, 363, 75616, 87, 113972, 1505, 211603, 22829, 153...
[ 0.0894775390625, 0.0261993408203125, 0.1915283203125, 0.0535888671875, 0.0782470703125, 0.12890625, 0.0870361328125, 0.2337646484375, 0.2529296875, 0.067138671875, 0.1085205078125, 0.247802734375, 0.138916015625, 0.22412109375, 0.000885009765625, 0.1416015625, 0.2144775390625, 0.17...
embed
67427766_c0
67427766
fsharp
0
Title: F# Interpolation Problem title: F# Interpolation Tags: interpolation, ilnumerics, f%23, numeric Problem: F# Interpolation I am trying to use ILNumerics from F#. It seems quite difficult. I would like to replicate this example What I have so far is the following code: open ILNumerics open type ILMath let inline (...
F# Interpolation F# Interpolation interpolation ilnumerics f%23 numeric Interpolation ILNumerics ILMath RetArray Array op_Implicit x:Array InArray x:float Array.map float32 InArray.op_Implicit Array.op_Implicit vec1 Seq.toArray OutArray F# Interpolation I am trying to use ILNumerics from F#. It seems quite difficult. I...
[ -0.0108642578125, -0.00021839141845703125, -0.0106201171875, 0.0026092529296875, 0.0040283203125, 0.00811767578125, 0.00860595703125, -0.0026092529296875, -0.003997802734375, -0.0026092529296875, 0.01153564453125, 0.0220947265625, -0.0146484375, -0.01495361328125, 0.007293701171875, -0...
[ 563, 4904, 5337, 5877, 2320, 1940, 211, 2606, 56, 28021, 1238, 3949, 3742, 54744, 30219, 18444, 1991, 199450, 47131, 7614, 7092, 69253, 233, 128878, 60923, 1022, 52347, 62346, 21917, 6460, 2146, 22834, 418, 864, 188, 13538, 31577, 4527, 129...
[ 0.1409912109375, 0.2344970703125, 0.159423828125, 0.1873779296875, 0.043975830078125, 0.153564453125, 0.13037109375, 0.0888671875, 0.041351318359375, 0.122314453125, 0.1029052734375, 0.078125, 0.17236328125, 0.1461181640625, 0.16455078125, 0.123291015625, 0.0972900390625, 0.1749267...
embed
34922480_c0
34922480
fsharp
0
Title: Can&#x27;t add reference from C# PCL project to F# PCL project as project reference Problem title: Can&#x27;t add reference from C# PCL project to F# PCL project as project reference Tags: f%23, c%23, xamarin.forms Problem: Can't add reference from C# PCL project to F# PCL project as project reference I wanna ad...
Can&#x27;t add reference from C# PCL project to F# PCL project as project reference Can&#x27;t add reference from C# PCL project to F# PCL project as project reference f%23 c%23 xamarin.forms C# Can PCL xamarin.forms Can't add reference from C# PCL project to F# PCL project as project reference I wanna add project refe...
[ -0.01336669921875, 0.05029296875, -0.0054931640625, 0.00970458984375, 0.00665283203125, -0.01202392578125, 0.0016326904296875, -0.0024261474609375, -0.00145721435546875, -0.01080322265625, 0.01312255859375, -0.0220947265625, 0.01177978515625, 0.03466796875, 0.0123291015625, -0.00964355...
[ 4171, 3768, 18, 15190, 91067, 1295, 313, 4904, 6107, 866, 13452, 47, 563, 237, 3742, 2459, 44503, 5037, 8606, 102973, 73372, 22968, 1837, 110342, 2886, 60006, 104820, 3701, 53, 304, 1818, 22819, 103835, 77635, 89845, 2681, 14256, 55300, 410...
[ 0.060333251953125, 0.0253448486328125, 0.009521484375, 0.1473388671875, 0.255615234375, 0.030181884765625, 0.04095458984375, 0.2366943359375, 0.16650390625, 0.1868896484375, 0.1634521484375, 0.02655029296875, 0.0946044921875, 0.05682373046875, 0.038970947265625, 0.1156005859375, 0.23...
embed
51792433_c0
51792433
fsharp
0
Title: F# module effects upon loading Problem title: F# module effects upon loading Tags: lazy-evaluation, module, f%23 Problem: F# module effects upon loading I suspect that this behavior may not be unique to F#, but I'll pick on it since that's what I'm using for work. suppose I have a module open System module Bar =...
F# module effects upon loading F# module effects upon loading lazy-evaluation module f%23 System Bar Console.WriteLine Operators.defaultArg Option.defaultValue Some None Bar.bar F# module effects upon loading I suspect that this behavior may not be unique to F#, but I'll pick on it since that's what I'm using for work....
[ 0.0201416015625, 0.00286865234375, -0.01239013671875, 0.0106201171875, 0.0101318359375, 0.00823974609375, 0.0216064453125, -0.0026702880859375, -0.0014495849609375, -0.02392578125, -0.01080322265625, 0.0208740234375, 0.006866455078125, -0.01129150390625, 0.0137939453125, -0.01226806640...
[ 563, 4904, 88996, 93425, 54799, 72367, 21, 3285, 159258, 1238, 3742, 12353, 3253, 40777, 93232, 150922, 214810, 7614, 86769, 856, 50770, 1299, 214, 92610, 123166, 17368, 4488, 25632, 425, 11675, 1957, 28412, 84751, 10750, 151575, 8108, 32354, ...
[ 0.114990234375, 0.209716796875, 0.1875, 0.205810546875, 0.0860595703125, 0.1898193359375, 0.08111572265625, 0.1514892578125, 0.1444091796875, 0.04608154296875, 0.0684814453125, 0.029083251953125, 0.18115234375, 0.08837890625, 0.06719970703125, 0.1275634765625, 0.166748046875, 0.030...
embed
174418_c0
174418
fsharp
0
Title: Can you improve this &#x27;lines of code algorithm&#x27; in F#? Problem title: Can you improve this &#x27;lines of code algorithm&#x27; in F#? Tags: f%23, c%23, algorithm Problem: Can you improve this 'lines of code algorithm' in F#? I've written a little script to iterate across files in folders to count lines ...
Can you improve this &#x27;lines of code algorithm&#x27; in F#? Can you improve this &#x27;lines of code algorithm&#x27; in F#? f%23 c%23 algorithm list Can arr:List l:string l.Trim s.StartsWith List.fold_left Can you improve this 'lines of code algorithm' in F#? I've written a little script to iterate across files in ...
[ -0.006317138671875, 0.0078125, 0.0024566650390625, 0.021240234375, 0.005706787109375, -0.0101318359375, 0.012939453125, 0.00311279296875, 0.0118408203125, -0.0147705078125, -0.0242919921875, 0.01080322265625, -0.004425048828125, 0.00927734375, 0.0059814453125, 0.006256103515625, 0.00...
[ 4171, 52295, 903, 3768, 59801, 111, 18151, 234873, 23, 563, 4904, 398, 1238, 3742, 5303, 187, 42, 154663, 96, 91693, 74257, 39, 91, 126597, 194583, 32036, 42822, 133, 2480, 59121, 10176, 26499, 8560, 36880, 102158, 78303, 54529, 124519, 264...
[ 0.0792236328125, 0.2005615234375, 0.0731201171875, 0.08489990234375, 0.20458984375, 0.196533203125, 0.19921875, 0.2265625, 0.044891357421875, 0.1356201171875, 0.1923828125, 0.01483154296875, 0.0836181640625, 0.1004638671875, 0.1417236328125, 0.05731201171875, 0.07958984375, 0.16625...
embed
22305456_c0
22305456
fsharp
0
Title: How to calculate the &quot;sliding sliced&quot; fold of an array of int arrays in F#? Problem title: How to calculate the &quot;sliding sliced&quot; fold of an array of int arrays in F#? Tags: accumulator, slice, arrays, fold, f%23 Problem: How to calculate the "sliding sliced" fold of an array of int arrays in ...
How to calculate the &quot;sliding sliced&quot; fold of an array of int arrays in F#? How to calculate the &quot;sliding sliced&quot; fold of an array of int arrays in F#? accumulator slice arrays fold f%23 How calcArr_ArrOfArr Array.fold Array.foldi How to calculate the "sliding sliced" fold of an array of int arrays ...
[ 0.01275634765625, 0.00628662109375, 0.0037078857421875, 0.0064697265625, -0.023193359375, -0.007171630859375, 0.000736236572265625, 0.00616455078125, 0.044677734375, -0.00927734375, 0.00848388671875, -0.00494384765625, 0.00592041015625, 0.016845703125, 0.028564453125, -0.0159912109375,...
[ 11249, 74481, 67, 70, 150, 6238, 28756, 37534, 42822, 10298, 53, 23, 18, 4778, 563, 4904, 7, 111, 183278, 1290, 13348, 1238, 3742, 6510, 238, 7614, 42, 132887, 69253, 14, 32354, 138256, 6626, 10750, 30646, 28282, 63262, 28, 997, 59911, ...
[ 0.037445068359375, 0.201171875, 0.067138671875, 0.035675048828125, 0.164306640625, 0.1383056640625, 0.1683349609375, 0.140625, 0.21435546875, 0.12548828125, 0.06915283203125, 0.07501220703125, 0.1058349609375, 0.1005859375, 0.08984375, 0.169189453125, 0.0238189697265625, 0.01696777...
embed
37145234_c0
37145234
fsharp
0
Title: How to convert C# code that uses Shell COM to F#? Problem title: How to convert C# code that uses Shell COM to F#? Tags: f%23, c%23-to-f%23, com Problem: How to convert C# code that uses Shell COM to F#? I have the following C# method: private static bool IsLink(string shortcutFilename) { var pathOnly = Path.Get...
How to convert C# code that uses Shell COM to F#? How to convert C# code that uses Shell COM to F#? f%23 c%23-to-f%23 com How Shell COM IsLink Path.GetDirectoryName Path.GetFileName Shell32.Shell shell.NameSpace folder.ParseName folderItem.IsLink How to convert C# code that uses Shell COM to F#? I have the following C#...
[ -0.029052734375, 0.00054931640625, 0.01092529296875, 0.0289306640625, -0.0201416015625, 0.026611328125, -0.005279541015625, -0.005828857421875, 0.004913330078125, 0.0034942626953125, -0.0208740234375, 0.019775390625, -0.0086669921875, 0.00726318359375, 0.00946044921875, 0.0084228515625...
[ 11249, 47, 96760, 313, 4904, 18151, 450, 4527, 108362, 31436, 563, 32, 1238, 3742, 501, 167218, 27495, 188, 420, 375, 2071, 64287, 108421, 174350, 6460, 79544, 128019, 141012, 78303, 163612, 2982, 29598, 7, 25632, 55300, 37842, 903, 237, 18...
[ 0.0826416015625, 0.16845703125, 0.2091064453125, 0.09832763671875, 0.265625, 0.21337890625, 0.015289306640625, 0.1107177734375, 0.230712890625, 0.2447509765625, 0.1539306640625, 0.0059814453125, 0.1048583984375, 0.0880126953125, 0.06304931640625, 0.00091552734375, 0.109619140625, 0...
embed
37673650_c0
37673650
fsharp
0
Title: Modeling complex hierarchies in F# Problem title: Modeling complex hierarchies in F# Tags: f%23 Problem: Modeling complex hierarchies in F# I'm fairly new to F#, and I want to model things in the real world that have fairly complex "has-a" relationships. At the top of the hierarchy are four types, A - D, with th...
Modeling complex hierarchies in F# Modeling complex hierarchies in F# f%23 Modeling B_Parent D_Parent parent:A_Parent parent:B_Parent parent:C_Parent parent:D_Parent Modeling complex hierarchies in F# I'm fairly new to F#, and I want to model things in the real world that have fairly complex "has-a" relationships. At t...
[ -0.0150146484375, 0.019287109375, -0.006622314453125, 0.018310546875, 0.00116729736328125, -0.006195068359375, -0.02490234375, 0.0024566650390625, 0.003753662109375, -0.01324462890625, 0.019287109375, -0.0189208984375, 0.00885009765625, 0.025634765625, 0.007415771484375, -0.00158691406...
[ 13293, 27140, 1791, 54689, 563, 4904, 214, 1238, 3742, 335, 28636, 2517, 391, 49129, 284, 571, 441, 397, 3525, 3444, 3299, 2773, 8999, 10557, 11, 151618, 2663, 147, 7668, 22759, 52895, 62, 20, 10644, 831, 99547, 765, 313, 55970, 3674, 6...
[ 0.1842041015625, 0.183349609375, 0.122314453125, 0.1219482421875, 0.121826171875, 0.1990966796875, 0.007659912109375, 0.0265655517578125, 0.060760498046875, 0.1409912109375, 0.1505126953125, 0.1275634765625, 0.153076171875, 0.1439208984375, 0.09466552734375, 0.043914794921875, 0.0390...
embed
33884350_c0
33884350
fsharp
0
Title: Loading assembly dynamically from a Typeprovider Problem title: Loading assembly dynamically from a Typeprovider Tags: csharpcodeprovider, type-providers, f%23 Problem: Loading assembly dynamically from a Typeprovider I'm trying to add a feature to a type provider I'm working on to allow the user to specify a ty...
Loading assembly dynamically from a Typeprovider Loading assembly dynamically from a Typeprovider csharpcodeprovider type-providers f%23 a Loading Typeprovider CSharpCodeProvider Loading assembly dynamically from a Typeprovider I'm trying to add a feature to a type provider I'm working on to allow the user to specify a...
[ 0.005767822265625, 0.0224609375, 0.005584716796875, 0.01031494140625, -0.00872802734375, -0.01904296875, -0.0045166015625, 0.01068115234375, -0.01361083984375, -0.06298828125, -0.0294189453125, -0.00159454345703125, 0.0036773681640625, -0.0030517578125, -0.0009307861328125, 0.000869750...
[ 228006, 89845, 38526, 84079, 1295, 60457, 93136, 820, 89280, 254, 40899, 10644, 14202, 3742, 25841, 3467, 114211, 177997, 62160, 15190, 60213, 81450, 38937, 40140, 18929, 53418, 22691, 189534, 150624, 91067, 98869, 23755, 180, 9494, 35773, 51042,...
[ 0.21044921875, 0.1861572265625, 0.08673095703125, 0.1719970703125, 0.099853515625, 0.2105712890625, 0.2017822265625, 0.1248779296875, 0.121337890625, 0.05718994140625, 0.164306640625, 0.2200927734375, 0.0258941650390625, 0.07763671875, 0.03814697265625, 0.127197265625, 0.15576171875,...
embed
75650917_c0
75650917
fsharp
0
Title: F# Convert string to Discriminated Union with complex args Problem title: F# Convert string to Discriminated Union with complex args Tags: f%23 Problem: F# Convert string to Discriminated Union with complex args Im trying to convert a string to a DU in F#. The DU cases have arguments that are quite complex. Is t...
F# Convert string to Discriminated Union with complex args F# Convert string to Discriminated Union with complex args f%23 Convert Discriminated Union FSharpType.GetUnionCases FSharpValue.MakeUnion MakeUnion FSharp.Reflection SomeUnion SomeUnionCase1 SomeVeryComplexType SomeUnionCase2 SomeOtherVeryComplexType F# Conver...
[ -0.0068359375, 0.005645751953125, -0.021484375, 0.00592041015625, -0.00909423828125, -0.00421142578125, -0.005401611328125, -0.00179290771484375, 0.0159912109375, -0.00927734375, 0.01129150390625, 0.0023345947265625, -0.00213623046875, 0.01544189453125, -0.00173187255859375, 0.00296020...
[ 563, 4904, 1657, 11549, 79315, 47, 6206, 135421, 3674, 32528, 678, 27140, 79459, 1238, 3949, 3742, 3467, 254, 196707, 5, 147547, 20370, 856, 50770, 76978, 26176, 190015, 133, 10763, 31384, 441, 6991, 418, 15896, 10770, 44974, 304, 31577, 96...
[ 0.1387939453125, 0.2236328125, 0.020233154296875, 0.130859375, 0.21875, 0.093017578125, 0.0787353515625, 0.23681640625, 0.0789794921875, 0.250732421875, 0.0535888671875, 0.2152099609375, 0.1832275390625, 0.09979248046875, 0.037200927734375, 0.1298828125, 0.14990234375, 0.1131591796...
embed
27368979_c0
27368979
fsharp
0
Title: How to set username and password for webservice type provider? Problem title: How to set username and password for webservice type provider? Tags: c%23, web-services, type-providers, f%23 Problem: How to set username and password for webservice type provider? I have the following F# code to access a web service ...
How to set username and password for webservice type provider? How to set username and password for webservice type provider? c%23 web-services type-providers f%23 How System System.ServiceModel Microsoft.FSharp.Linq Microsoft.FSharp.Data.TypeProviders WsdlService EntryPoint service.GetBasicHttpBinding_IXxxDataStorage ...
[ 0.0169677734375, 0.019287109375, 0.0028076171875, -0.004180908203125, 0.0025177001953125, -0.0189208984375, -0.000926971435546875, 0.00244140625, -0.009521484375, -0.01092529296875, -0.0181884765625, 0.002685546875, 0.00016021728515625, -0.0087890625, -0.00665283203125, -0.003387451171...
[ 11249, 47, 5423, 38937, 11627, 136, 78506, 100, 1467, 22584, 10644, 81450, 3742, 93136, 14202, 12353, 121979, 140290, 7244, 3467, 254, 44982, 196707, 177997, 20469, 15123, 147534, 4516, 63473, 21487, 52219, 23282, 154663, 212059, 25632, 563, 49...
[ 0.074462890625, 0.05859375, 0.1749267578125, 0.14453125, 0.181640625, 0.1361083984375, 0.2666015625, 0.060699462890625, 0.069091796875, 0.1954345703125, 0.2276611328125, 0.2322998046875, 0.0216217041015625, 0.1494140625, 0.05413818359375, 0.0390625, 0.143310546875, 0.112060546875, ...
embed
64698059_c0
64698059
fsharp
0
Title: Looking for an example to vividly illustrate that tail-recursive calls take less space than non-tail-recursive? Problem title: Looking for an example to vividly illustrate that tail-recursive calls take less space than non-tail-recursive? Tags: biginsight-examples, functional-programming, tail-recursion, recursi...
Looking for an example to vividly illustrate that tail-recursive calls take less space than non-tail-recursive? Looking for an example to vividly illustrate that tail-recursive calls take less space than non-tail-recursive? biginsight-examples functional-programming tail-recursion recursion f%23 Looking n-1 Looking for...
[ 0.00072479248046875, 0.0035858154296875, 0.006378173828125, 0.02587890625, 0.01190185546875, -0.009033203125, 0.004669189453125, -0.00982666015625, 0.00732421875, 0.00164794921875, 0.0294189453125, -0.0162353515625, -0.008056640625, -0.001861572265625, 0.0302734375, 0.006378173828125, ...
[ 27781, 279, 5518, 58755, 46741, 9, 107, 48650, 5844, 11782, 5646, 40715, 32628, 351, 6957, 5425, 22553, 3355, 302, 123309, 28966, 195625, 1238, 3742, 157268, 5759, 7, 23752, 106001, 56037, 46876, 30745, 11522, 3501, 54704, 7986, 81415, 31461,...
[ 0.1644287109375, 0.022735595703125, 0.0655517578125, 0.101806640625, 0.24365234375, 0.0229339599609375, 0.0836181640625, 0.1861572265625, 0.10302734375, 0.2000732421875, 0.1068115234375, 0.1522216796875, 0.1971435546875, 0.128173828125, 0.0433349609375, 0.048187255859375, 0.166625976...
embed
61469833_c0
61469833
fsharp
0
Title: Create a pure F# XNA project: error : Value cannot be null. Parameter name: type Problem title: Create a pure F# XNA project: error : Value cannot be null. Parameter name: type Tags: f%23, xml Problem: Create a pure F# XNA project: error : Value cannot be null. Parameter name: type Code signals: Create, XNA, Val...
Create a pure F# XNA project: error : Value cannot be null. Parameter name: type Create a pure F# XNA project: error : Value cannot be null. Parameter name: type f%23 xml Create XNA Value Parameter utf-8 Project ToolsVersion DefaultTargets Build schemas.microsoft.com MSBuildExtensionsPath MSBuildToolsVersion Microsoft....
[ -0.00848388671875, 0.02880859375, 0.0052490234375, -0.00885009765625, -0.00579833984375, -0.0185546875, 0.002532958984375, -0.030517578125, 0.01263427734375, 0.021728515625, 0.0034332275390625, -0.01318359375, -0.00933837890625, -0.0045166015625, 0.0277099609375, 0.00933837890625, 0....
[ 151313, 34166, 563, 4904, 1193, 6691, 13452, 18499, 190060, 53418, 186, 56574, 1720, 29089, 9351, 10644, 1238, 3949, 3742, 131492, 420, 17376, 27331, 119296, 178390, 1021, 63031, 121137, 61903, 138410, 16265, 128872, 10519, 186490, 7244, 36290, ...
[ 0.134765625, 0.1866455078125, 0.125, 0.2318115234375, 0.167724609375, 0.2685546875, 0.1705322265625, 0.1929931640625, 0.2734375, 0.2257080078125, 0.1341552734375, 0.247802734375, 0.10369873046875, 0.1593017578125, 0.051727294921875, 0.203125, 0.1083984375, 0.06640625, 0.167602539...
embed
49881652_c0
49881652
fsharp
0
Title: How to use a user name and password with FSharp.Data Problem title: How to use a user name and password with FSharp.Data Tags: f%23-data, f%23, authentication Problem: How to use a user name and password with FSharp.Data I've been looking at the FSharp.Data package, which looks very useful, and have seen how to ...
How to use a user name and password with FSharp.Data How to use a user name and password with FSharp.Data f%23-data f%23 authentication How FSharp.Data Http.RequestString example.com BasicAuth username:string password:string base64Encode s:string Encoding.UTF8.GetBytes Convert.ToBase64String Basic Authorization How to ...
[ 0.0137939453125, 0.0120849609375, 0.00634765625, 0.007049560546875, -0.00408935546875, -0.0032196044921875, -0.00408935546875, 0.01251220703125, -0.00244140625, -0.0419921875, -0.00384521484375, -0.01446533203125, -0.0279541015625, 0.008056640625, -0.00162506103515625, -0.0037536621093...
[ 11249, 47, 4527, 10, 38937, 9351, 136, 78506, 678, 93774, 3467, 254, 5, 137989, 1238, 27495, 10135, 3742, 195734, 3062, 4332, 75616, 71713, 27781, 277, 91692, 67362, 927, 11627, 91693, 3647, 13307, 7768, 40899, 91, 587, 17632, 919, 1019, ...
[ 0.1063232421875, 0.0570068359375, 0.1956787109375, 0.015655517578125, 0.1614990234375, 0.176025390625, 0.186279296875, 0.276611328125, 0.155029296875, 0.127197265625, 0.2314453125, 0.235595703125, 0.10162353515625, 0.228515625, 0.045501708984375, 0.0750732421875, 0.148681640625, 0....
embed
50893344_c0
50893344
fsharp
0
Title: Dealing with records Problem title: Dealing with records Tags: f%23 Problem: Dealing with records I need to extract a string version of state from a record. Code below: type State = State of string type Data = { State : State Year : int Income : float } What I need to do is extract a sequence of the string versi...
Dealing with records Dealing with records f%23 Dealing State Data Year Income row:Data row.State fun:it row:StateCsv Stat.GetSample Rows Seq.map row.Year Dealing with records I need to extract a string version of state from a record. Code below: What I need to do is extract a sequence of the string version of each stat...
[ 0.00946044921875, -0.00469970703125, -0.003173828125, 0.018798828125, -0.0137939453125, -0.01043701171875, -0.00147247314453125, 0.0242919921875, 0.0081787109375, 0.0034942626953125, -0.0186767578125, -0.0260009765625, -0.01422119140625, 0.0233154296875, -0.00860595703125, -0.008239746...
[ 90943, 214, 678, 115923, 1238, 3949, 3742, 22836, 11809, 42552, 360, 45738, 15555, 137989, 135206, 7477, 217, 67756, 23888, 33209, 96190, 864, 62346, 69085, 3871, 125663, 79315, 11389, 11341, 1295, 17164, 28864, 35064, 944, 12638, 91693, 9790, ...
[ 0.1341552734375, 0.046356201171875, 0.118896484375, 0.1754150390625, 0.0006103515625, 0.0279083251953125, 0.09619140625, 0.1092529296875, 0.0703125, 0.08984375, 0.026885986328125, 0.1336669921875, 0.1240234375, 0.03759765625, 0.0777587890625, 0.1295166015625, 0.072021484375, 0.1068...
embed
13646272_c0
13646272
fsharp
0
Title: Using functions before they are declared Problem title: Using functions before they are declared Tags: f%23 Problem: Using functions before they are declared For the sake of using literate programming (i.e. cweb) in F#, I need to be able to forward declare functions (i.e. use them before defining them). I came u...
Using functions before they are declared Using functions before they are declared f%23 Using Unchecked.defaultof Seq.map Literate Declare Define Literate.Declare Literate.Define Using functions before they are declared For the sake of using literate programming (i.e. cweb) in F#, I need to be able to forward declare fu...
[ 0.01263427734375, 0.01611328125, -0.01904296875, 0.00087738037109375, -0.01806640625, -0.01513671875, 0.0084228515625, -0.0167236328125, -0.0001888275146484375, -0.032470703125, 0.00970458984375, 0.03662109375, -0.0128173828125, 0.0140380859375, 0.036865234375, -0.000766754150390625, ...
[ 345, 6953, 32354, 7, 8108, 1836, 621, 159978, 71, 1238, 3949, 3742, 992, 78292, 214810, 4390, 503, 864, 62346, 135940, 67, 25755, 38103, 262, 64552, 120152, 187423, 1212, 72018, 17368, 80109, 13, 56037, 449, 501, 14051, 563, 4904, 3871, 1...
[ 0.1414794921875, 0.0374755859375, 0.259033203125, 0.033843994140625, 0.17236328125, 0.018524169921875, 0.00701904296875, 0.26806640625, 0.043853759765625, 0.0631103515625, 0.0430908203125, 0.119140625, 0.057525634765625, 0.1904296875, 0.197021484375, 0.1661376953125, 0.05551147460937...
embed
68077802_c0
68077802
fsharp
0
Title: Cannot declare type in F#, Error FS0010, Error FS3118 Problem title: Cannot declare type in F#, Error FS0010, Error FS3118 Tags: visual-studio-2019, f%23 Problem: Cannot declare type in F#, Error FS0010, Error FS3118 I'm having trouble declaring a type in Visual Studio using F#. As soon as I put the type keyword...
Cannot declare type in F#, Error FS0010, Error FS3118 Cannot declare type in F#, Error FS0010, Error FS3118 visual-studio-2019 f%23 Cannot Error FS0010 FS3118 Incomplete EntryPoint Book Name Author Rating ISBN visual-studio-2019 Cannot declare type in F#, Error FS0010, Error FS3118 I'm having trouble declaring a type i...
[ 0.01483154296875, 0.00994873046875, -0.00640869140625, 0.004486083984375, -0.00555419921875, -0.006988525390625, -0.01226806640625, -0.00080108642578125, -0.0155029296875, 0.0031890869140625, 0.00848388671875, 0.01141357421875, -0.01336669921875, 0.0169677734375, 0.0245361328125, 0.003...
[ 4171, 10869, 159978, 10644, 23, 563, 4904, 212059, 93774, 7049, 963, 5016, 1819, 21176, 52629, 148548, 1238, 3742, 277, 131801, 357, 15123, 147534, 27432, 15757, 61804, 66350, 47475, 63134, 8, 18347, 73372, 22968, 166117, 6626, 18499, 33662, ...
[ 0.04400634765625, 0.1141357421875, 0.2254638671875, 0.23291015625, 0.056640625, 0.10406494140625, 0.1885986328125, 0.1572265625, 0.1483154296875, 0.1226806640625, 0.1678466796875, 0.14208984375, 0.1751708984375, 0.1195068359375, 0.1068115234375, 0.1549072265625, 0.009429931640625, ...
embed