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
12318047_c0
12318047
fsharp
0
Title: Cyclic type reference in f# Problem title: Cyclic type reference in f# Tags: .net, f%23, generics Problem: Cyclic type reference in f# I am writing simple excel formula to linq expressions builder in F#. I'm parsing formulas to AST and building expressions using recursive expression builder. I've stucked on pass...
Cyclic type reference in f# Cyclic type reference in f# .net f%23 generics Cyclic Expression.Lambda System.Func Compile ExprFunc Func Cyclic type reference in f# I am writing simple excel formula to linq expressions builder in F#. I'm parsing formulas to AST and building expressions using recursive expression builder. ...
[ 0.013916015625, -0.00634765625, -0.000293731689453125, 0.01275634765625, -0.0016937255859375, -0.0196533203125, 0.02099609375, 0.01055908203125, -0.000728607177734375, -0.029052734375, -0.005218505859375, 0.0201416015625, -0.01104736328125, 0.005767822265625, 0.03759765625, 0.007568359...
[ 151612, 1771, 10644, 91067, 1238, 4904, 23, 1179, 3742, 189534, 25129, 6492, 85, 12353, 97249, 15612, 1340, 60075, 28670, 32562, 8781, 64152, 26168, 96, 44982, 125195, 45367, 56, 563, 366, 47, 48963, 33976, 195625, 179933, 452, 65998, 62346, ...
[ 0.223388671875, 0.140380859375, 0.213134765625, 0.227294921875, 0.1038818359375, 0.178955078125, 0.0189971923828125, 0.169921875, 0.0877685546875, 0.126953125, 0.1265869140625, 0.0782470703125, 0.034759521484375, 0.0643310546875, 0.09765625, 0.0460205078125, 0.0638427734375, 0.0203...
embed
36585575_c0
36585575
fsharp
0
Title: Finding paths in (DAG) directed acyclic graph given destination Problem title: Finding paths in (DAG) directed acyclic graph given destination Tags: depth-first-search, f%23, directed-acyclic-graphs Problem: Finding paths in (DAG) directed acyclic graph given destination Let's say I have this array: let reportSt...
Finding paths in (DAG) directed acyclic graph given destination Finding paths in (DAG) directed acyclic graph given destination depth-first-search f%23 directed-acyclic-graphs Finding DAG Map.ofArray Map.filter Finding paths in (DAG) directed acyclic graph given destination Let's say I have this array: where the first ...
[ 0.01007080078125, 0.01239013671875, -0.002899169921875, 0.04541015625, -0.01171875, 0.004180908203125, -0.0022125244140625, 0.0079345703125, -0.00634765625, -0.01507568359375, -0.02783203125, 0.01422119140625, -0.01611328125, 0.037841796875, 0.021484375, 0.007568359375, 0.00964355468...
[ 26040, 214, 60875, 7, 23, 68292, 8951, 10, 187830, 41382, 78869, 297, 34475, 168867, 13448, 271, 86250, 3742, 11, 42719, 4390, 7614, 7092, 120337, 10298, 7440, 5117, 18, 370, 8705, 117729, 17932, 22288, 6183, 72546, 2046, 5303, 756, 933, ...
[ 0.140869140625, 0.03033447265625, 0.2474365234375, 0.094482421875, 0.09063720703125, 0.2239990234375, 0.1619873046875, 0.0960693359375, 0.1658935546875, 0.1966552734375, 0.205322265625, 0.0287322998046875, 0.0357666015625, 0.1358642578125, 0.03216552734375, 0.010833740234375, 0.13769...
embed
38709657_c0
38709657
fsharp
0
Title: Creating a Xamarin Android F# project Problem title: Creating a Xamarin Android F# project Tags: xamarin, xamarin.android, f%23, visual-studio, android Problem: Creating a Xamarin Android F# project Visual Studio 2015, Update 3. Create a blank solution. Choose Add New Project -> Visual F# -> Android. Create eith...
Creating a Xamarin Android F# project Creating a Xamarin Android F# project xamarin xamarin.android f%23 visual-studio android Creating Xamarin Android xamarin.android Creating a Xamarin Android F# project Visual Studio 2015, Update 3. Create a blank solution. Choose Add New Project -> Visual F# -> Android. Create eith...
[ 0.0011444091796875, 0.041748046875, 0.005218505859375, -0.0186767578125, -0.0010223388671875, -0.0101318359375, 0.002716064453125, -0.000858306884765625, 0.006805419921875, -0.0028839111328125, 0.02294921875, -0.054931640625, -0.01092529296875, 0.0130615234375, 0.009521484375, 0.009033...
[ 56781, 8606, 44503, 3952, 563, 4904, 13452, 2459, 51796, 1238, 3742, 21176, 52629, 54527, 73372, 22968, 24635, 28641, 1031, 151313, 44237, 29806, 29117, 2356, 27331, 132862, 5659, 57934, 46640, 8647, 4027, 75935, 65771, 215996, 284, 4028, 26519...
[ 0.09893798828125, 0.15771484375, 0.2183837890625, 0.17822265625, 0.07769775390625, 0.1646728515625, 0.178955078125, 0.1209716796875, 0.09710693359375, 0.047698974609375, 0.0706787109375, 0.116455078125, 0.121826171875, 0.10198974609375, 0.1602783203125, 0.14453125, 0.1282958984375, ...
embed
59079822_c0
59079822
fsharp
0
Title: usage of the semicolon in F#, different behaviors Problem title: usage of the semicolon in F#, different behaviors Tags: f%23 Problem: usage of the semicolon in F#, different behaviors I have the following line: | ResponseTableTypes.Order -> orderProcessor.ProcessEvent action message orderEvent.Trigger() since I...
usage of the semicolon in F#, different behaviors usage of the semicolon in F#, different behaviors f%23 ResponseTableTypes.Order orderProcessor.ProcessEvent orderEvent.Trigger usage of the semicolon in F#, different behaviors I have the following line: since I have a lot of entries, for layout reasons, I did: all good...
[ -0.0135498046875, 0.00958251953125, -0.0040283203125, -0.004852294921875, -0.004425048828125, -0.005859375, -0.000583648681640625, 0.00372314453125, -0.004241943359375, -0.01531982421875, 0.0166015625, 0.0245361328125, 0.006683349609375, 0.00970458984375, -0.005035400390625, -0.0183105...
[ 127689, 40, 46029, 4759, 563, 4904, 12921, 123166, 23, 1238, 3742, 92748, 618, 2886, 196707, 143045, 12989, 192134, 74257, 21407, 25632, 13315, 765, 5915, 112820, 108802, 6777, 756, 4127, 49814, 30646, 10644, 1221, 959, 9969, 1340, 2174, 3635...
[ 0.135498046875, 0.1107177734375, 0.1612548828125, 0.16650390625, 0.120849609375, 0.1826171875, 0.0933837890625, 0.1478271484375, 0.005767822265625, 0.05780029296875, 0.08782958984375, 0.1466064453125, 0.034637451171875, 0.095947265625, 0.097900390625, 0.0888671875, 0.1009521484375, ...
embed
6717217_c0
6717217
fsharp
0
Title: F# class hierarchy comparison Problem title: F# class hierarchy comparison Tags: f%23 Problem: F# class hierarchy comparison What is the best way to tackle this problem? Here is a simple class hierarchy in F#: [<AbstractClass>] type BaseClass (name: string) = member this.Name with get() = name type FooClass (n, ...
F# class hierarchy comparison F# class hierarchy comparison f%23 AbstractClass BaseClass this.Name FooClass this.Num BarClass Name Num F# class hierarchy comparison What is the best way to tackle this problem? Here is a simple class hierarchy in F#: I will need to add to this hierarchy quite a lot as the project advanc...
[ 0.00640869140625, 0.0128173828125, 0.0018157958984375, -0.0015411376953125, 0.00909423828125, -0.005828857421875, -0.006805419921875, -0.005615234375, 0.00165557861328125, 0.020751953125, -0.004241943359375, 0.004974365234375, 0.0225830078125, 0.0130615234375, -0.0216064453125, -0.0185...
[ 563, 4904, 18507, 1791, 147, 7668, 225490, 1238, 3742, 233973, 140803, 44978, 903, 163612, 9572, 31, 316, 3253, 15757, 52782, 2965, 3917, 36461, 133, 2967, 8781, 3871, 15190, 47, 5915, 13452, 129745, 28, 13722, 110527, 6097, 61112, 175199, ...
[ 0.1512451171875, 0.2237548828125, 0.2078857421875, 0.1451416015625, 0.1387939453125, 0.0894775390625, 0.21044921875, 0.05718994140625, 0.0888671875, 0.16259765625, 0.1900634765625, 0.15380859375, 0.085205078125, 0.0828857421875, 0.1102294921875, 0.097412109375, 0.0782470703125, 0.0...
embed
7133908_c0
7133908
fsharp
0
Title: f# slow compilation Problem title: f# slow compilation Tags: performance, fsharpcodeprovider, f%23, compilation Problem: f# slow compilation Is there anything I can do to make f# code compile faster apart from (or better yet instead of) running ngen? And what is approximate benchmark "hello world" compilation ti...
f# slow compilation f# slow compilation performance fsharpcodeprovider f%23 compilation CodeDomProvider Microsoft.FSharp.Compiler.CodeDom.FSharpCodeProvider provider.CompileAssemblyFromSource data.Program f# slow compilation Is there anything I can do to make f# code compile faster apart from (or better yet instead of)...
[ -0.007476806640625, 0.0084228515625, 0.00372314453125, -0.022216796875, -0.006439208984375, -0.0162353515625, -0.012451171875, -0.003631591796875, -0.01104736328125, -0.04150390625, -0.019775390625, 0.006317138671875, -0.00396728515625, 0.01708984375, 0.01300048828125, 0.00479125976562...
[ 1238, 4904, 72803, 98352, 1363, 23718, 89280, 254, 40899, 93136, 820, 3949, 3742, 28864, 106098, 177997, 62160, 7244, 36381, 3467, 108161, 34759, 114211, 81450, 1340, 89845, 211235, 148968, 23937, 831, 54, 47, 3249, 18151, 9969, 4271, 56, 349...
[ 0.153564453125, 0.2213134765625, 0.25341796875, 0.24951171875, 0.0196990966796875, 0.1502685546875, 0.123291015625, 0.1343994140625, 0.155029296875, 0.1507568359375, 0.03619384765625, 0.01318359375, 0.1148681640625, 0.0980224609375, 0.1380615234375, 0.099609375, 0.0149383544921875, ...
embed
15988913_c1
15988913
fsharp
1
seems really odd to me. But maybe there is some rules that library developer should avoid using of this feature or F# team is going to change this behavior in the future version of F#? Following unit test profs that optional arguments are reference type: [<TestFixture>] type FSharpOptionalArgumentTests() = static memb...
seems really odd to me. But maybe there is some rules that library developer should avoid using of this feature or F# team is going to change this behavior in the future version of F#? Following unit test profs that optional arguments are reference type: [<TestFixture>] type FSharpOptionalArgumentTests() = static memb...
[ 0.0091552734375, 0.03173828125, 0.007171630859375, -0.01519775390625, -0.015869140625, -0.0150146484375, -0.007720947265625, -0.00860595703125, -0.0074462890625, 0.044677734375, -0.0024261474609375, -0.0108642578125, 0.01202392578125, 0.01263427734375, 0.0235595703125, 0.00897216796875...
[ 37202, 6183, 70270, 51139, 91736, 35773, 1294, 106001, 5608, 71864, 17368, 60213, 563, 4904, 7175, 15549, 123166, 22690, 25072, 3034, 15214, 35829, 289, 10750, 621, 91067, 10644, 111337, 6159, 425, 6644, 93774, 3467, 254, 39029, 43315, 7614, ...
[ 0.078125, 0.047088623046875, 0.1397705078125, 0.030242919921875, 0.089599609375, 0.152587890625, 0.0753173828125, 0.1048583984375, 0.09552001953125, 0.1248779296875, 0.0626220703125, 0.1629638671875, 0.1278076171875, 0.251953125, 0.0240020751953125, 0.044219970703125, 0.0877685546875...
embed
51953838_c0
51953838
fsharp
0
Title: F# call .Net Function with generic params - wont compile Problem title: F# call .Net Function with generic params - wont compile Tags: imagesharp, f%23 Problem: F# call .Net Function with generic params - wont compile F# Beginner here, I want to draw a Polygon using ImageSharp . The build fails with: No overload...
F# call .Net Function with generic params - wont compile F# call .Net Function with generic params - wont compile imagesharp f%23 Net img:Image Rgba32 PointF float32 img.Mutate x.DrawPolygon Rgba32.White IImageProcessingContext TPixel DrawPolygon IPixel F# call .Net Function with generic params - wont compile F# Beginn...
[ -0.0299072265625, 0.01251220703125, -0.00927734375, 0.001953125, -0.01708984375, 0.01708984375, 0.0218505859375, -0.019287109375, 0.017578125, -0.0028228759765625, 0.0037384033203125, -0.00537109375, 0.018310546875, -0.01239013671875, 0.0020751953125, -0.0120849609375, -0.00735473632...
[ 563, 4904, 11782, 24447, 28670, 10763, 678, 189534, 121, 4432, 23742, 18, 9969, 1340, 6, 43079, 3467, 254, 1238, 3742, 10086, 566, 177, 216960, 402, 6460, 41097, 919, 21917, 10685, 19888, 1022, 81456, 538, 6126, 173473, 26531, 22829, 52851,...
[ 0.1182861328125, 0.2059326171875, 0.160888671875, 0.169677734375, 0.143798828125, 0.0145721435546875, 0.121826171875, 0.253662109375, 0.1494140625, 0.15625, 0.063720703125, 0.08331298828125, 0.1611328125, 0.1324462890625, 0.0206298828125, 0.1422119140625, 0.18212890625, 0.163330078...
embed
26632912_c0
26632912
fsharp
0
Title: F#: arithmetic operator and loss of polymorphism (value restriction?) Problem title: F#: arithmetic operator and loss of polymorphism (value restriction?) Tags: value-restriction, adhoc-polymorphism, f%23, parametric-polymorphism Problem: F#: arithmetic operator and loss of polymorphism (value restriction?) This...
F#: arithmetic operator and loss of polymorphism (value restriction?) F#: arithmetic operator and loss of polymorphism (value restriction?) value-restriction adhoc-polymorphism f%23 parametric-polymorphism EntryPoint FS0001 int64 F#: arithmetic operator and loss of polymorphism (value restriction?) This code doesn't co...
[ -0.0037841796875, -0.00653076171875, 0.009765625, 0.011962890625, 0.0159912109375, -0.01123046875, 0.004486083984375, 0.007537841796875, -0.01025390625, -0.004364013671875, 0.01043701171875, -0.00152587890625, 0.0034027099609375, -0.0142822265625, 0.021240234375, -0.0286865234375, -0...
[ 563, 4904, 8962, 282, 39933, 136, 86669, 111, 35874, 178851, 8780, 27494, 185190, 12, 34292, 107, 7655, 10763, 606, 497, 238, 135545, 1238, 3949, 3742, 121, 186518, 357, 15123, 147534, 93774, 188735, 18, 13307, 187, 18151, 9969, 2506, 3630,...
[ 0.1212158203125, 0.2117919921875, 0.1451416015625, 0.048309326171875, 0.227783203125, 0.155517578125, 0.1417236328125, 0.035797119140625, 0.163330078125, 0.1943359375, 0.052734375, 0.147216796875, 0.25244140625, 0.027984619140625, 0.171142578125, 0.06585693359375, 0.177001953125, 0...
embed
22181509_c0
22181509
fsharp
0
Title: How to marshal multi-dimensional arrays Problem title: How to marshal multi-dimensional arrays Tags: multidimensional-array, marshalling, f%23, .net Problem: How to marshal multi-dimensional arrays We have some interop code that involves matrices. I was trying to call the native DLL and for the most part it work...
How to marshal multi-dimensional arrays How to marshal multi-dimensional arrays multidimensional-array marshalling f%23 .net How PinnedArray PinnedArray2 How to marshal multi-dimensional arrays We have some interop code that involves matrices. I was trying to call the native DLL and for the most part it works very reli...
[ 0.034423828125, 0.01068115234375, -0.01611328125, 0.005859375, -0.0169677734375, 0.01324462890625, -0.0107421875, -0.0181884765625, 0.000286102294921875, -0.00634765625, 0.01043701171875, -0.0179443359375, 0.009033203125, 0.004302978515625, -0.01141357421875, -0.030029296875, -0.0147...
[ 11249, 47, 10283, 4200, 6024, 157955, 10298, 4778, 19305, 29907, 1238, 3742, 1179, 12264, 14534, 7614, 7092, 304, 1940, 2146, 18151, 83687, 50944, 5170, 11782, 24, 4935, 391, 23708, 43240, 4552, 28702, 538, 114977, 71864, 4707, 6275, 1314, ...
[ 0.07366943359375, 0.011810302734375, 0.15625, 0.2342529296875, 0.1513671875, 0.2060546875, 0.1949462890625, 0.114013671875, 0.1610107421875, 0.203125, 0.054351806640625, 0.09674072265625, 0.1407470703125, 0.1336669921875, 0.0721435546875, 0.1455078125, 0.1964111328125, 0.0620727539...
embed
35632151_c0
35632151
fsharp
0
Title: F# Turning XmlProvider data into Records Problem title: F# Turning XmlProvider data into Records Tags: f%23, type-providers Problem: F# Turning XmlProvider data into Records I am pulling in some XML data using XmlProvider, and I will be accessing it from C#. As you can't use type provided fields directly from C#...
F# Turning XmlProvider data into Records F# Turning XmlProvider data into Records f%23 type-providers Turning XmlProvider Records FSharpValue.MakeRecord MyType Address Address1 City State Client FullName F# Turning XmlProvider data into Records I am pulling in some XML data using XmlProvider, and I will be accessing it...
[ 0.008056640625, 0.0242919921875, 0.025146484375, 0.015625, -0.008544921875, 0.02099609375, -0.00982666015625, -0.008544921875, -0.0035552978515625, -0.036376953125, -0.01385498046875, -0.01446533203125, 0.019775390625, 0.0019989013671875, 0.00150299072265625, -0.01531982421875, -0.00...
[ 563, 4904, 4252, 1193, 7237, 177997, 62160, 2053, 3934, 89916, 1238, 3742, 10644, 93136, 93774, 3467, 254, 856, 50770, 76978, 13, 4332, 32271, 2646, 196707, 49990, 6406, 22836, 91732, 9312, 163612, 50065, 92537, 17203, 1295, 4527, 62952, 4445...
[ 0.09332275390625, 0.193359375, 0.0943603515625, 0.130859375, 0.204345703125, 0.1845703125, 0.1512451171875, 0.0966796875, 0.1129150390625, 0.227783203125, 0.0626220703125, 0.07574462890625, 0.195556640625, 0.1710205078125, 0.072021484375, 0.138427734375, 0.083984375, 0.147216796875...
embed
37684904_c0
37684904
fsharp
0
Title: in F#, when is a &quot;constant string expression&quot; not a &quot;constant string expression&quot; Problem title: in F#, when is a &quot;constant string expression&quot; not a &quot;constant string expression&quot; Tags: f%23, entity-framework, app-config Problem: in F#, when is a "constant string expression" ...
in F#, when is a &quot;constant string expression&quot; not a &quot;constant string expression&quot; in F#, when is a &quot;constant string expression&quot; not a &quot;constant string expression&quot; f%23 entity-framework app-config FSharp.Configuration Settings AppSettings app.config ConnStr Settings.ConnectionStrin...
[ -0.007415771484375, 0.0184326171875, 0.0020904541015625, -0.0024261474609375, 0.0091552734375, 0.0184326171875, -0.0223388671875, -0.01458740234375, -0.0054931640625, -0.01416015625, -0.0172119140625, -0.0235595703125, 0.005706787109375, 0.001953125, -0.0067138671875, 0.015380859375, ...
[ 563, 4904, 3229, 2271, 42539, 79315, 125195, 959, 1238, 3742, 77630, 160328, 4027, 153837, 3467, 254, 59994, 71713, 105548, 235603, 140290, 62448, 99247, 18, 42473, 219, 119066, 23, 50986, 53498, 16511, 2481, 108386, 282, 18244, 45367, 94878, ...
[ 0.1337890625, 0.2015380859375, 0.0889892578125, 0.034515380859375, 0.1683349609375, 0.234619140625, 0.2337646484375, 0.142822265625, 0.05401611328125, 0.038970947265625, 0.043731689453125, 0.03155517578125, 0.058563232421875, 0.1458740234375, 0.05755615234375, 0.04498291015625, 0.031...
embed
9868327_c0
9868327
fsharp
0
Title: F# type constraints and overloading resolution Problem title: F# type constraints and overloading resolution Tags: typeclass, f%23 Problem: F# type constraints and overloading resolution I am trying to emulate a system of type classes in F#; I would like to create pair printer which automatically instantiates th...
F# type constraints and overloading resolution F# type constraints and overloading resolution typeclass f%23 PrintableInt x:int this.Print Printer Print Unit Printer.Print F# type constraints and overloading resolution I am trying to emulate a system of type classes in F#; I would like to create pair printer which auto...
[ -0.0101318359375, -0.00982666015625, 0.0146484375, -0.0031890869140625, -0.0174560546875, 0.0011138916015625, -0.028076171875, -0.01458740234375, -0.01123046875, -0.00244140625, -0.01446533203125, -0.0306396484375, 0.0113525390625, -0.01806640625, 0.0057373046875, -0.01129150390625, ...
[ 563, 4904, 10644, 158, 2816, 4288, 136, 645, 63033, 158839, 214, 67413, 1238, 3742, 39754, 2886, 1022, 903, 112079, 56, 46640, 31577, 28, 19908, 10, 5426, 61112, 1884, 28282, 80836, 110264, 191082, 34648, 101426, 7108, 36549, 11782, 47, 244...
[ 0.1448974609375, 0.22314453125, 0.1961669921875, 0.061248779296875, 0.1466064453125, 0.0869140625, 0.0484619140625, 0.11962890625, 0.1915283203125, 0.1754150390625, 0.025970458984375, 0.1646728515625, 0.1019287109375, 0.097412109375, 0.1353759765625, 0.09967041015625, 0.0535888671875...
embed
40361280_c0
40361280
fsharp
0
Title: Entity Framework Add-Migration Ignores FSharpOption properties Problem title: Entity Framework Add-Migration Ignores FSharpOption properties Tags: c%23-to-f%23, entity-framework, f%23 Problem: Entity Framework Add-Migration Ignores FSharpOption properties I am trying to convert a C# project into F#. The C# proje...
Entity Framework Add-Migration Ignores FSharpOption properties Entity Framework Add-Migration Ignores FSharpOption properties c%23-to-f%23 entity-framework f%23 Entity Framework Add-Migration Ignores FSharpOption IFoo Bar DateTime Foo Nullable Entity Framework Add-Migration Ignores FSharpOption properties I am trying t...
[ 0.0286865234375, 0.01123046875, 0.019287109375, -0.00174713134765625, -0.00640869140625, 0.007171630859375, -0.0030059814453125, 0.0007476806640625, 0.0013580322265625, 0.01312255859375, 0.0091552734375, 0.0218505859375, -0.0230712890625, 0.0203857421875, 0.00946044921875, 0.0070190429...
[ 16511, 2481, 202220, 29117, 594, 872, 30494, 87, 11137, 2109, 93774, 3467, 254, 39029, 183871, 27495, 188, 3742, 77630, 939, 160328, 18244, 1238, 55449, 16635, 3253, 25512, 70059, 9572, 31, 27786, 2661, 31577, 96760, 313, 4904, 13452, 3934, ...
[ 0.1619873046875, 0.1446533203125, 0.228759765625, 0.1844482421875, 0.1253662109375, 0.1669921875, 0.1517333984375, 0.0196990966796875, 0.164306640625, 0.014007568359375, 0.07232666015625, 0.1795654296875, 0.09722900390625, 0.1983642578125, 0.1861572265625, 0.0213775634765625, 0.03637...
embed
16994017_c0
16994017
fsharp
0
Title: Removing elements in a functional style Problem title: Removing elements in a functional style Tags: algorithm, f%23 Problem: Removing elements in a functional style I have been struggling with something that looks like a simple algorithm, but can't find a clean way to express it in a functional style so far. He...
Removing elements in a functional style Removing elements in a functional style algorithm f%23 x y Removing Removing elements in a functional style I have been struggling with something that looks like a simple algorithm, but can't find a clean way to express it in a functional style so far. Here is an outline of the p...
[ -0.007476806640625, 0.02490234375, 0.007171630859375, 0.0030670166015625, -0.01434326171875, -0.00616455078125, 0.005767822265625, 0.005615234375, 0.00628662109375, -0.01953125, 0.00860595703125, 0.002655029296875, -0.0111083984375, -0.012451171875, -0.00799560546875, -0.00946044921875...
[ 853, 432, 6496, 80854, 23, 123309, 20623, 10, 234873, 1238, 3949, 3742, 1022, 113, 237875, 33342, 1884, 8781, 46622, 36510, 2060, 2256, 2967, 139124, 765, 116, 10298, 4778, 1193, 136, 990, 3444, 456, 3996, 3134, 14858, 51, 98753, 74189, 4...
[ 0.0616455078125, 0.1456298828125, 0.06036376953125, 0.198974609375, 0.0294952392578125, 0.207763671875, 0.2288818359375, 0.00152587890625, 0.252685546875, 0.0799560546875, 0.07110595703125, 0.1317138671875, 0.1260986328125, 0.1107177734375, 0.07122802734375, 0.1102294921875, 0.068054...
embed
4245216_c1
4245216
fsharp
1
.dll ZLib and convert it into a base64 string. The function works fine with VTK XML file. let toZlib (v: float []) = use msSinkCompressed = new System.IO.MemoryStream() let zOut = new ZlibStream(msSinkCompressed, CompressionMode.Compress, CompressionLevel.Default, true) for i in v do let bytes = System.BitConverter.Get...
.dll ZLib and convert it into a base64 string. The function works fine with VTK XML file. let toZlib (v: float []) = use msSinkCompressed = new System.IO.MemoryStream() let zOut = new ZlibStream(msSinkCompressed, CompressionMode.Compress, CompressionLevel.Default, true) for i in v do let bytes = System.BitConverter.Get...
[ 0.00421142578125, 0.00180816650390625, -0.005462646484375, -0.0111083984375, 0.012451171875, -0.002716064453125, -0.032470703125, 0.0023651123046875, -0.0025482177734375, 0.0023193359375, 0.00188446044921875, 0.0286865234375, 0.0322265625, 0.011962890625, -0.00156402587890625, 0.014892...
[ 5, 71, 1181, 567, 104820, 136, 96760, 442, 3934, 10, 3647, 13307, 79315, 32354, 43240, 5885, 678, 310, 29735, 92537, 11435, 2633, 47, 1511, 5612, 334, 21917, 257, 4527, 68163, 294, 14068, 10770, 11856, 297, 12353, 17780, 6696, 4514, 11506...
[ 0.1363525390625, 0.1097412109375, 0.225830078125, 0.1763916015625, 0.339111328125, 0.03643798828125, 0.1845703125, 0.033172607421875, 0.07769775390625, 0.025909423828125, 0.21484375, 0.283447265625, 0.2269287109375, 0.1839599609375, 0.1033935546875, 0.058013916015625, 0.0454406738281...
embed
53165312_c0
53165312
fsharp
0
Title: Creating a tuple from two lists of two different types Problem title: Creating a tuple from two lists of two different types Tags: recursion, f%23, tuples Problem: Creating a tuple from two lists of two different types I'm trying to create a list of tuples from two different lists where each head from the two li...
Creating a tuple from two lists of two different types Creating a tuple from two lists of two different types recursion f%23 tuples two Creating e1::rest1 e2::rest2 rest1 rest2 Program.fs FS0001 program.fsproj Creating a tuple from two lists of two different types I'm trying to create a list of tuples from two differen...
[ 0.0179443359375, 0.01043701171875, -0.032958984375, 0.010986328125, 0.00982666015625, 0.0233154296875, -0.0302734375, -0.00714111328125, 0.01708984375, -0.0120849609375, 0.0140380859375, -0.01434326171875, 0.0216064453125, 0.01953125, -0.0019989013671875, -0.0206298828125, -0.0073242...
[ 56781, 370, 8705, 1295, 6626, 5303, 12921, 52895, 195625, 1830, 1238, 3742, 99726, 28, 82825, 56644, 418, 304, 10588, 7663, 17447, 93774, 188735, 1528, 3454, 170, 31577, 28282, 12638, 10336, 24209, 154663, 136622, 12830, 10644, 18499, 563, 49...
[ 0.1231689453125, 0.1536865234375, 0.2344970703125, 0.0765380859375, 0.1295166015625, 0.1705322265625, 0.096435546875, 0.1650390625, 0.1337890625, 0.00067138671875, 0.044219970703125, 0.1142578125, 0.2203369140625, 0.048858642578125, 0.01904296875, 0.0972900390625, 0.0153961181640625,...
embed
40613808_c0
40613808
fsharp
0
Title: How can I add a C# assembly reference to an F# project? Problem title: How can I add a C# assembly reference to an F# project? Tags: reference, f%23, c%23, visual-studio-2012 Problem: How can I add a C# assembly reference to an F# project? There is an assembly written in C# that doubles as a command line EXE. I ...
How can I add a C# assembly reference to an F# project? How can I add a C# assembly reference to an F# project? reference f%23 c%23 visual-studio-2012 How SomeNamespace MigraDoc.DocumentObjectModel-gdi visual-studio-2012 How can I add a C# assembly reference to an F# project? There is an assembly written in C# that dou...
[ -0.003936767578125, 0.0223388671875, 0.0009613037109375, 0.003326416015625, 0.0096435546875, 0.00063323974609375, -0.0225830078125, -0.0201416015625, -0.0064697265625, -0.015625, 0.0025634765625, 0.00738525390625, -0.0057373046875, 0.01312255859375, 0.004669189453125, -0.022216796875, ...
[ 11249, 831, 15190, 10, 313, 4904, 89845, 38526, 91067, 47, 563, 13452, 87, 1238, 3949, 3742, 21176, 52629, 54458, 31384, 163612, 65421, 130446, 8331, 238, 239469, 46471, 75161, 140290, 428, 142, 59121, 41929, 237, 75101, 13315, 29426, 647, ...
[ 0.0733642578125, 0.0745849609375, 0.1746826171875, 0.0450439453125, 0.10223388671875, 0.249267578125, 0.232177734375, 0.140869140625, 0.2529296875, 0.062286376953125, 0.1463623046875, 0.1656494140625, 0.01226806640625, 0.065185546875, 0.000030517578125, 0.07598876953125, 0.1481933593...
embed
37391176_c0
37391176
fsharp
0
Title: Is there something like Python help function in Fsharp interactive? Problem title: Is there something like Python help function in Fsharp interactive? Tags: f%23, f%23-interactive Problem: Is there something like Python help function in Fsharp interactive? Using Python in command line you can write help(function...
Is there something like Python help function in Fsharp interactive? Is there something like Python help function in Fsharp interactive? f%23 f%23-interactive Python Fsharp Is there something like Python help function in Fsharp interactive? Using Python in command line you can write help(function) to see docstring. Is t...
[ 0.00872802734375, 0.00537109375, 0.0206298828125, 0.0067138671875, -0.00860595703125, 0.0142822265625, 0.0023193359375, -0.0004596710205078125, -0.0032958984375, -0.01080322265625, 0.0081787109375, -0.002349853515625, -0.006317138671875, -0.000919342041015625, 0.0181884765625, -0.00549...
[ 9844, 1884, 145581, 4358, 32354, 23, 563, 89280, 254, 212398, 2685, 1238, 3742, 27495, 10433, 71232, 345, 75101, 13315, 831, 33022, 137175, 47, 1957, 51584, 91693, 21373, 172, 6305, 88308, 20697, 7722, 7413, 15490, 36497, 56002, 44160, 114453...
[ 0.08343505859375, 0.1121826171875, 0.268310546875, 0.2406005859375, 0.17822265625, 0.053955078125, 0.1229248046875, 0.2091064453125, 0.187255859375, 0.19482421875, 0.0159454345703125, 0.08447265625, 0.0228118896484375, 0.040130615234375, 0.0811767578125, 0.0823974609375, 0.0490112304...
embed
70954580_c0
70954580
fsharp
0
Title: Tail-recursive solution to the coin change problem Problem title: Tail-recursive solution to the coin change problem Tags: recursion, functional-programming, f%23 Problem: Tail-recursive solution to the coin change problem I am trying to solve the coin change problem with tail recursion. The recursive solutions ...
Tail-recursive solution to the coin change problem Tail-recursive solution to the coin change problem recursion functional-programming f%23 Tail-recursive amount:int coins:list coins.IsEmpty coins.Head coins.Tail sum:int cs.IsEmpty h::t Tail-recursive solution to the coin change problem I am trying to solve the coin ch...
[ -0.0179443359375, 0.010009765625, -0.0007781982421875, 0.01104736328125, -0.00124359130859375, 0.00732421875, -0.007568359375, -0.0108642578125, 0.0068359375, -0.01214599609375, -0.006317138671875, 0.0159912109375, 0.0084228515625, 0.017578125, 0.0164794921875, 0.0050048828125, 0.017...
[ 1218, 379, 107, 48650, 5844, 29806, 47, 43780, 15549, 2967, 195625, 123309, 28966, 214, 1238, 3949, 3742, 41170, 4288, 7, 6562, 29598, 134332, 939, 13025, 712, 9874, 10554, 20763, 1096, 18, 70, 31577, 86869, 678, 46741, 1830, 51347, 87, 3...
[ 0.2149658203125, 0.1783447265625, 0.0966796875, 0.2071533203125, 0.1778564453125, 0.1680908203125, 0.1314697265625, 0.2052001953125, 0.257568359375, 0.1923828125, 0.2286376953125, 0.1492919921875, 0.1370849609375, 0.00225830078125, 0.026885986328125, 0.0178375244140625, 0.09130859375...
embed
59378104_c0
59378104
fsharp
0
Title: Print list of document in reverse line by line Problem title: Print list of document in reverse line by line Tags: f%23 Problem: Print list of document in reverse line by line So I am working on this assignment where I have to reverse the document but it does not work as intended. If I run my code on a file like...
Print list of document in reverse line by line Print list of document in reverse line by line f%23 Print System.IO.File.OpenText Some reader.ReadToEnd None List.map List.choose String.concat Seq.toList List.rev System.String.Concat Array.ofList Print list of document in reverse line by line So I am working on this assi...
[ 0.00494384765625, 0.001312255859375, -0.004669189453125, 0.0269775390625, -0.01953125, -0.002716064453125, 0.0238037109375, -0.002044677734375, 0.0035552978515625, -0.0002689361572265625, 0.004669189453125, 0.0048828125, 0.00665283203125, -0.0091552734375, -0.00347900390625, -0.0128784...
[ 39754, 5303, 111, 12937, 23, 39531, 184, 13315, 390, 1238, 3949, 3742, 12353, 17780, 174350, 103264, 174379, 155255, 31345, 7763, 152378, 438, 32036, 62346, 3089, 23351, 4460, 864, 188, 154663, 65381, 71713, 11935, 69253, 4390, 20697, 95486, ...
[ 0.20556640625, 0.215087890625, 0.0623779296875, 0.1885986328125, 0.0892333984375, 0.2213134765625, 0.1790771484375, 0.181640625, 0.1318359375, 0.03802490234375, 0.015350341796875, 0.1383056640625, 0.07568359375, 0.133056640625, 0.088134765625, 0.0814208984375, 0.107421875, 0.181274...
embed
50866819_c0
50866819
fsharp
0
Title: How to use map functions? Problem title: How to use map functions? Tags: f%23 Problem: How to use map functions? So I have many types that have been defined and functions which mapped data into these records/types. Now I need to map the contents of each record/type into a "master" record which will contain every...
How to use map functions? How to use map functions? f%23 How StateEdu State Education Income StateFamily PctMoreThan4Children PctFamilyMorethan3 statemap.Keys Seq.map Map.ofSeq How to use map functions? So I have many types that have been defined and functions which mapped data into these records/types. Now I need to m...
[ 0.01324462890625, -0.010498046875, -0.004669189453125, -0.00579833984375, -0.029296875, -0.0031890869140625, -0.00982666015625, 0.001983642578125, 0.0126953125, -0.0205078125, 0.004669189453125, -0.0030364990234375, 0.00098419189453125, 0.0181884765625, 0.00162506103515625, -0.00050354...
[ 11249, 47, 4527, 22288, 32354, 7, 3949, 3742, 22836, 647, 693, 43154, 45738, 1191, 15390, 122880, 1121, 617, 102656, 982, 21732, 363, 11341, 62346, 162429, 864, 42719, 4390, 765, 5941, 52895, 61924, 291, 48398, 2053, 3934, 6097, 115923, 509...
[ 0.1053466796875, 0.0748291015625, 0.1968994140625, 0.2666015625, 0.255615234375, 0.15234375, 0.011962890625, 0.0797119140625, 0.1973876953125, 0.03240966796875, 0.1512451171875, 0.138916015625, 0.1031494140625, 0.022064208984375, 0.030242919921875, 0.046173095703125, 0.04702758789062...
embed
8064905_c1
8064905
fsharp
1
because : Windows Azure runs applications in partial trust, as part of sandboxing their execution. However, the F# core libraries are currently installed into the GAC, but do not have the AllowPartialTrustedCallers attribute. So when building F# applications to be run in Azure, the F# libraries must be statically link...
because : Windows Azure runs applications in partial trust, as part of sandboxing their execution. However, the F# core libraries are currently installed into the GAC, but do not have the AllowPartialTrustedCallers attribute. So when building F# applications to be run in Azure, the F# libraries must be statically link...
[ -0.0184326171875, 0.003265380859375, -0.00616455078125, -0.0022125244140625, -0.029296875, 0.00101470947265625, 0.0186767578125, 0.00433349609375, -0.014404296875, 0.005950927734375, -0.005767822265625, 0.02978515625, 0.0172119140625, -0.0279541015625, 0.02490234375, -0.0103759765625, ...
[ 6637, 3773, 176071, 127877, 86685, 23, 2878, 289, 63207, 19096, 11728, 71924, 563, 4904, 56458, 35773, 10484, 82424, 20600, 527, 15012, 959, 765, 41566, 58229, 15403, 43245, 297, 441, 67665, 150380, 33976, 11675, 8110, 13254, 3126, 4210, 5165...
[ 0.1312255859375, 0.1309814453125, 0.28271484375, 0.08026123046875, 0.140380859375, 0.02685546875, 0.146728515625, 0.056976318359375, 0.2132568359375, 0.0721435546875, 0.1453857421875, 0.053985595703125, 0.13916015625, 0.2362060546875, 0.10174560546875, 0.193115234375, 0.0927734375, ...
embed
76838329_c1
76838329
fsharp
1
that I need to return all the nodes that have a key which is like src (not just the node with a specific key) independently of upper and lower case (I don't kown if there are some "cleaner" ways to achieve that) when I try to create the .dll an error and a warning show up: /path/to/file/avl.fs(216,38): warning FS0064:...
that I need to return all the nodes that have a key which is like src (not just the node with a specific key) independently of upper and lower case (I don't kown if there are some "cleaner" ways to achieve that) when I try to create the .dll an error and a warning show up: /path/to/file/avl.fs(216,38): warning FS0064:...
[ -0.01336669921875, -0.01153564453125, -0.0037078857421875, 0.01019287109375, 0.0118408203125, -0.006256103515625, 0.00494384765625, -0.01544189453125, 0.00531005859375, -0.0234375, 0.0103759765625, -0.0020599365234375, 0.0189208984375, -0.007354736328125, 0.01220703125, -0.023559570312...
[ 450, 3871, 30646, 756, 70, 110, 988, 765, 22799, 1884, 91, 19437, 112, 29458, 41371, 1407, 56, 92319, 7225, 11030, 66, 69307, 9790, 28282, 5, 71, 1181, 18499, 1631, 592, 128405, 188, 29822, 50132, 17447, 2485, 131290, 93774, 7049, 13307, ...
[ 0.050628662109375, 0.0860595703125, 0.2144775390625, 0.1055908203125, 0.025665283203125, 0.17431640625, 0.167724609375, 0.0718994140625, 0.217041015625, 0.101806640625, 0.0133056640625, 0.22314453125, 0.0985107421875, 0.05987548828125, 0.07366943359375, 0.0645751953125, 0.01156616210...
embed
18134296_c0
18134296
fsharp
0
Title: How to declare an immutable struct with public fields? Problem title: How to declare an immutable struct with public fields? Tags: f%23 Problem: How to declare an immutable struct with public fields? I want to write the equivalent of this C# in F#: struct Vector2 { public readonly int X; public readonly int Y; p...
How to declare an immutable struct with public fields? How to declare an immutable struct with public fields? f%23 How Vector2 Struct MyInt Value FS0010 Unexpected How to declare an immutable struct with public fields? I want to write the equivalent of this C# in F#: This forces the user to supply arguments to create a...
[ 0.00086212158203125, 0.0150146484375, 0.00439453125, 0.000736236572265625, 0.00141143798828125, 0.015380859375, 0.0208740234375, -0.0172119140625, -0.002044677734375, 0.0120849609375, 0.02197265625, 0.00994873046875, 0.01153564453125, 0.0093994140625, 0.0101318359375, -0.00640869140625...
[ 11249, 47, 159978, 566, 561, 22819, 36716, 678, 3835, 44457, 7, 1238, 3742, 2609, 18770, 304, 63667, 15390, 2646, 4153, 18, 190060, 93774, 7049, 963, 83613, 13, 142, 3444, 33022, 183234, 313, 4904, 23, 563, 84616, 38937, 100677, 10750, 28...
[ 0.0775146484375, 0.0150604248046875, 0.226806640625, 0.0794677734375, 0.1513671875, 0.1759033203125, 0.25, 0.113525390625, 0.1822509765625, 0.2353515625, 0.05548095703125, 0.035888671875, 0.050323486328125, 0.1500244140625, 0.1519775390625, 0.13232421875, 0.1612548828125, 0.0200195...
embed
67055260_c0
67055260
fsharp
0
Title: Is it possible to implement a List.cast function in F# similar to System.Linq.Enumerable.Cast? Problem title: Is it possible to implement a List.cast function in F# similar to System.Linq.Enumerable.Cast? Tags: f%23, list, casting Problem: Is it possible to implement a List.cast function in F# similar to System....
Is it possible to implement a List.cast function in F# similar to System.Linq.Enumerable.Cast? Is it possible to implement a List.cast function in F# similar to System.Linq.Enumerable.Cast? f%23 list casting List.cast System.Linq.Enumerable.Cast List.map IComparable Object List Seq.cast Seq.toList Is it possible to imp...
[ -0.01031494140625, 0.026123046875, 0.02294921875, 0.0011138916015625, 0.0019683837890625, -0.0166015625, -0.0218505859375, 0.01165771484375, -0.004608154296875, 0.000823974609375, -0.00958251953125, -0.01495361328125, -0.0027008056640625, 0.01513671875, -0.0260009765625, -0.00008583068...
[ 7722, 29479, 32036, 5, 55741, 32354, 23, 563, 4904, 21373, 12353, 866, 44982, 2606, 56, 2886, 174830, 1238, 3742, 5303, 176050, 62346, 87, 108161, 147, 134549, 864, 188, 154663, 96760, 933, 3934, 19736, 33022, 64600, 32301, 55300, 37702, 42...
[ 0.147705078125, 0.1624755859375, 0.2186279296875, 0.06927490234375, 0.2418212890625, 0.168212890625, 0.1007080078125, 0.1346435546875, 0.1968994140625, 0.1134033203125, 0.1431884765625, 0.0975341796875, 0.17578125, 0.1473388671875, 0.0821533203125, 0.121337890625, 0.207763671875, 0...
embed
20679125_c0
20679125
fsharp
0
Title: Unable to enter text in WPF TextBox in F# FSI Problem title: Unable to enter text in WPF TextBox in F# FSI Tags: f%23, wpf Problem: Unable to enter text in WPF TextBox in F# FSI In the F# WPF code below, I am unable to enter any text in the text box when I 'show' the WPF window from the F# FSI. Is this something...
Unable to enter text in WPF TextBox in F# FSI Unable to enter text in WPF TextBox in F# FSI f%23 wpf Unable WPF TextBox FSI txtBox.BorderThickness Thickness txtBox.Margin txtBox.IsReadOnly Window Title Test Height Width wnd.Content wnd.Show Application Run Unable to enter text in WPF TextBox in F# FSI In the F# WPF cod...
[ 0.0196533203125, 0.0089111328125, 0.0123291015625, 0.0057373046875, -0.01373291015625, -0.01611328125, 0.02978515625, -0.01708984375, 0.0031890869140625, -0.01483154296875, 0.01043701171875, -0.00628662109375, -0.0096435546875, 0.00433349609375, 0.01263427734375, -0.00160980224609375, ...
[ 992, 2886, 30957, 7986, 23, 601, 41265, 24129, 72295, 563, 4904, 9902, 1238, 3742, 39557, 124326, 571, 80596, 117177, 2594, 7432, 19669, 16305, 31345, 20320, 176501, 48962, 8647, 1529, 22553, 58302, 25352, 168660, 104921, 28398, 18151, 35064, ...
[ 0.044403076171875, 0.1376953125, 0.20751953125, 0.21337890625, 0.083251953125, 0.09210205078125, 0.2435302734375, 0.1617431640625, 0.2091064453125, 0.1015625, 0.1849365234375, 0.1832275390625, 0.0251617431640625, 0.07562255859375, 0.1552734375, 0.13037109375, 0.003448486328125, 0.0...
embed
11627037_c0
11627037
fsharp
0
Title: Whitespace sensitive FParsec Problem title: Whitespace sensitive FParsec Tags: fparsec, f%23 Problem: Whitespace sensitive FParsec I'm trying to implement a whitespace sensitive parser using FParsec, and I'm starting off with the baby step of defining a function which will parse lines of text that start with n c...
Whitespace sensitive FParsec Whitespace sensitive FParsec fparsec f%23 Whitespace FParsec Parser stream:CharStream stream.UserState Should System.Char.IsWhiteSpace result.Status Error Whitespace sensitive FParsec I'm trying to implement a whitespace sensitive parser using FParsec, and I'm starting off with the baby ste...
[ -0.0250244140625, 0.0223388671875, -0.002960205078125, 0.011962890625, -0.00830078125, 0.0179443359375, 0.0245361328125, -0.00811767578125, 0.005584716796875, -0.002716064453125, -0.000537872314453125, 0.017822265625, -0.0174560546875, 0.006256103515625, -0.003204345703125, 0.017700195...
[ 22392, 65421, 191125, 563, 28636, 39797, 1238, 2500, 3949, 3742, 2392, 2189, 75973, 84068, 115061, 1062, 135206, 151117, 12353, 29598, 173473, 141012, 16750, 223, 212059, 31577, 29479, 35011, 366, 72134, 5773, 15546, 29954, 13204, 32354, 124519, ...
[ 0.157958984375, 0.2305908203125, 0.2266845703125, 0.137939453125, 0.1767578125, 0.206298828125, 0.07379150390625, 0.086181640625, 0.0589599609375, 0.10888671875, 0.102294921875, 0.1533203125, 0.1495361328125, 0.1180419921875, 0.1458740234375, 0.08935546875, 0.1104736328125, 0.14038...
embed
57455136_c1
57455136
fsharp
1
-> 'a Stack val head : 'a Stack -> 'a val tail : 'a Stack -> 'a Stack This code compiles even though, somewhat obviously, there is no way to implement the F# type as anything substantial, as there is no constructor and it is not recognized as an interface (and can't be written as one because val Stack and val empty ar...
-> 'a Stack val head : 'a Stack -> 'a val tail : 'a Stack -> 'a Stack This code compiles even though, somewhat obviously, there is no way to implement the F# type as anything substantial, as there is no constructor and it is not recognized as an interface (and can't be written as one because val Stack and val empty ar...
[ -0.00823974609375, 0.0267333984375, -0.0004215240478515625, 0.0166015625, -0.0159912109375, 0.00885009765625, -0.02587890625, -0.0013885498046875, 0.018310546875, -0.0152587890625, 0.0032958984375, 0.024658203125, -0.0093994140625, -0.01513671875, 0.005859375, 0.00909423828125, 0.029...
[ 33079, 242, 11, 6512, 2594, 3502, 10336, 46741, 3293, 18151, 9969, 1340, 3853, 21208, 171259, 110, 3917, 29479, 563, 4904, 10644, 193984, 2685, 64549, 748, 959, 125296, 101758, 831, 18, 59121, 1632, 136, 201505, 32354, 23, 1238, 172, 237, ...
[ 0.1322021484375, 0.098388671875, 0.1890869140625, 0.25146484375, 0.23828125, 0.2000732421875, 0.189453125, 0.2308349609375, 0.00726318359375, 0.1904296875, 0.19091796875, 0.1619873046875, 0.0242462158203125, 0.02392578125, 0.06939697265625, 0.0633544921875, 0.0587158203125, 0.14782...
embed
43903949_c0
43903949
fsharp
0
Title: Flattening/Reshaping a DenseMatrix Problem title: Flattening/Reshaping a DenseMatrix Tags: f%23, mathnet-numerics Problem: Flattening/Reshaping a DenseMatrix Is there a concise way to flatten a matrix? // Install-Package MathNet.Numerics // Install-Package MathNet.Numerics.FSharp // Compile to move the .dlls to ...
Flattening/Reshaping a DenseMatrix Flattening/Reshaping a DenseMatrix f%23 mathnet-numerics Flattening Reshaping DenseMatrix Install-Package MathNet.Numerics MathNet.Numerics.FSharp Compile Debug MathNet.Numerics.dll MathNet.Numerics.FSharp.dll System MathNet.Numerics.LinearAlgebra MathNet.Numerics.LinearAlgebra.Double...
[ 0.002685546875, 0.041015625, 0.007080078125, 0.00341796875, 0.029541015625, -0.01336669921875, 0.01104736328125, 0.00994873046875, 0.00274658203125, -0.005767822265625, 0.0177001953125, 0.0216064453125, -0.0023193359375, 0.01031494140625, -0.0191650390625, 0.00726318359375, 0.0021667...
[ 106516, 67, 592, 64, 4332, 2420, 10366, 1575, 184, 4613, 87427, 1238, 3949, 3742, 48909, 1179, 2606, 56, 853, 107951, 205956, 78804, 24447, 18444, 1991, 28021, 3467, 254, 15612, 262, 85779, 1181, 12353, 93232, 429, 179236, 217, 28723, 33209...
[ 0.206787109375, 0.1553955078125, 0.06585693359375, 0.044525146484375, 0.12060546875, 0.2098388671875, 0.058349609375, 0.224609375, 0.1219482421875, 0.12158203125, 0.14013671875, 0.03497314453125, 0.0288543701171875, 0.111572265625, 0.04205322265625, 0.1636962890625, 0.009918212890625...
embed
21652203_c1
21652203
fsharp
1
ness\images\ui-bg_diagonals-thick_20_666666_40x40.png" /> <None Include="Content\Widgets\jQueryUI\v_1_10_4\Lightness\images\ui-bg_flat_10_000000_40x100.png" /> <None Include="Content\Widgets\jQueryUI\v_1_10_4\Lightness\images\ui-bg_glass_100_f6f6f6_1x400.png" /> <None Include="Content\Widgets\jQueryUI\v_1_10_4\Lightnes...
MVC 5 and Web API 2 , available here , but I got mine on Nuget . The template sets up a directory called Content for CSS files, and another called Scripts for JavaScript files. In each of those directories, I created subdirectories and put files in them. Now, when I try to reopen the project after closing it, I get th...
[ -0.0218505859375, 0.020263671875, -0.0166015625, 0.000919342041015625, -0.0106201171875, 0.0030975341796875, 0.00738525390625, -0.006072998046875, 0.004180908203125, 0.029052734375, 0.0218505859375, 0.0172119140625, 0.00677490234375, 0.005401611328125, 0.0211181640625, 0.0274658203125,...
[ 276, 56349, 190, 136, 4002, 61687, 116, 19882, 5665, 1429, 3794, 110934, 5423, 10, 14364, 70870, 100, 59279, 102158, 84654, 17925, 12638, 75935, 1614, 80581, 9790, 59636, 13452, 7103, 20450, 6953, 25632, 18499, 47970, 1375, 114781, 182512, 17...
[ 0.06207275390625, 0.229736328125, 0.18896484375, 0.0247955322265625, 0.109375, 0.1820068359375, 0.116455078125, 0.07470703125, 0.04302978515625, 0.1090087890625, 0.17431640625, 0.2052001953125, 0.02105712890625, 0.010528564453125, 0.0743408203125, 0.1519775390625, 0.0419921875, 0.1...
embed
10452011_c2
10452011
fsharp
2
loc.1 IL_002d: callvirt instance !0 class [mscorlib]System.Collections.Generic.IEnumerator`1<int32>::get_Current() IL_0032: stloc.3 IL_0033: ldarg.0 IL_0034: ldloc.3 IL_0035: ldloc.3 IL_0036: stelem.any [mscorlib]System.Int32 IL_003b: nop IL_003c: br.s IL_0024 // end loop IL_004e: ldloc.s 4 IL_0050: callvirt instance v...
loc.1 IL_002d: callvirt instance !0 class [mscorlib]System.Collections.Generic.IEnumerator`1<int32>::get_Current() IL_0032: stloc.3 IL_0033: ldarg.0 IL_0034: ldloc.3 IL_0035: ldloc.3 IL_0036: stelem.any [mscorlib]System.Int32 IL_003b: nop IL_003c: br.s IL_0024 // end loop IL_004e: ldloc.s 4 IL_0050: callvirt instance v...
[ -0.0162353515625, 0.0152587890625, -0.0022735595703125, 0.0157470703125, 0.01068115234375, 0.012939453125, -0.003997802734375, 0.0205078125, 0.0296630859375, -0.0277099609375, -0.00537109375, 0.05859375, -0.00390625, -0.004486083984375, 0.004852294921875, -0.0230712890625, -0.0073242...
[ 7001, 418, 30219, 454, 97259, 71, 12, 11782, 7203, 18, 110527, 711, 2389, 18507, 4432, 10517, 5612, 268, 84293, 78457, 8996, 5256, 135932, 12259, 5, 20441, 2606, 56, 4597, 1135, 4288, 6460, 3794, 474, 15724, 123276, 304, 6138, 55043, 363,...
[ 0.2005615234375, 0.0889892578125, 0.2154541015625, 0.0443115234375, 0.253173828125, 0.1763916015625, 0.0927734375, 0.212646484375, 0.251953125, 0.192138671875, 0.256591796875, 0.059661865234375, 0.1309814453125, 0.1971435546875, 0.0197601318359375, 0.1376953125, 0.193115234375, 0.0...
embed
2829216_c0
2829216
fsharp
0
Title: Is it possible, with simple F# pattern matching transformations, to ignore unmatched values without a warning? Problem title: Is it possible, with simple F# pattern matching transformations, to ignore unmatched values without a warning? Tags: f%23, pattern-matching, transformation Problem: Is it possible, with s...
Is it possible, with simple F# pattern matching transformations, to ignore unmatched values without a warning? Is it possible, with simple F# pattern matching transformations, to ignore unmatched values without a warning? f%23 pattern-matching transformation s.Split Is it possible, with simple F# pattern matching trans...
[ -0.0162353515625, 0.00933837890625, -0.00811767578125, 0.00775146484375, -0.0166015625, -0.0189208984375, -0.005859375, -0.004730224609375, 0.01025390625, 0.009033203125, 0.00677490234375, 0.028564453125, -0.01348876953125, -0.0135498046875, -0.0087890625, -0.00482177734375, 0.010681...
[ 2071, 7722, 8781, 563, 4904, 103510, 14858, 214, 167201, 47, 124962, 51, 98753, 297, 142424, 15490, 1631, 592, 442, 1238, 3742, 91, 4353, 69101, 17368, 10931, 49990, 125195, 18151, 5809, 59121, 18, 88441, 9876, 22766, 13695, 5550, 28960 ]
[ 0.0147705078125, 0.136962890625, 0.1051025390625, 0.124267578125, 0.2052001953125, 0.1842041015625, 0.16162109375, 0.00244140625, 0.1658935546875, 0.00421142578125, 0.163330078125, 0.0806884765625, 0.204833984375, 0.0177459716796875, 0.1121826171875, 0.08935546875, 0.1004638671875, ...
embed
17767425_c0
17767425
fsharp
0
Title: F# dictionary initialization like in Python Problem title: F# dictionary initialization like in Python Tags: f%23, python Problem: F# dictionary initialization like in Python I'm starting to learn F# and I'm having some hard times trying to figure out simple things. I have a python code that I would like to conv...
F# dictionary initialization like in Python F# dictionary initialization like in Python f%23 python Python sim_distance person1 person2 F# dictionary initialization like in Python I'm starting to learn F# and I'm having some hard times trying to figure out simple things. I have a python code that I would like to conver...
[ 0.004058837890625, 0.00604248046875, 0.01123046875, 0.00156402587890625, -0.0009002685546875, -0.029296875, 0.0026397705078125, 0.005096435546875, 0.0031585693359375, -0.01904296875, 0.0245361328125, 0.033203125, 0.0118408203125, 0.003936767578125, 0.00836181640625, 0.00201416015625, ...
[ 563, 4904, 45, 10763, 6635, 61475, 47691, 1884, 23, 145581, 1238, 3949, 3742, 17198, 50828, 10777, 56883, 329, 3445, 418, 304, 30698, 7941, 26366, 18151, 96760, 47, 2967, 11, 10484, 3714, 32354, 35839, 678, 25632, 171859, 27781, 5809, 5701,...
[ 0.1732177734375, 0.2415771484375, 0.1094970703125, 0.1845703125, 0.118896484375, 0.214599609375, 0.126953125, 0.139404296875, 0.1358642578125, 0.25390625, 0.1173095703125, 0.0716552734375, 0.14990234375, 0.1326904296875, 0.147216796875, 0.2149658203125, 0.2069091796875, 0.054565429...
embed
11146752_c0
11146752
fsharp
0
Title: FsUnit, NUnit references in an F# project Problem title: FsUnit, NUnit references in an F# project Tags: nunit, visual-studio-2012, fsunit, f%23 Problem: FsUnit, NUnit references in an F# project I have a solution in Visual Studio 2012. It includes two projects for tests, one in F# and one in C#. I have installe...
FsUnit, NUnit references in an F# project FsUnit, NUnit references in an F# project nunit visual-studio-2012 fsunit f%23 FsUnit NUnit Program Files x86 Debug FsUnit.NUnit.dll visual-studio-2012 FsUnit, NUnit references in an F# project I have a solution in Visual Studio 2012. It includes two projects for tests, one in ...
[ -0.003021240234375, 0.01611328125, 0.0211181640625, -0.0115966796875, -0.00164794921875, -0.0198974609375, -0.003936767578125, -0.00909423828125, -0.00811767578125, 0.044921875, -0.007537841796875, 0.0113525390625, -0.01336669921875, 0.034912109375, 0.0024566650390625, 0.009521484375, ...
[ 563, 7, 85600, 18, 4, 18057, 6773, 91067, 23, 4904, 13452, 142, 4124, 217, 21176, 52629, 54458, 1238, 6548, 3742, 7663, 42724, 15276, 262, 85779, 33261, 71, 1181, 29806, 73372, 22968, 12453, 96853, 6626, 77635, 109921, 20600, 136, 237, 14...
[ 0.1649169921875, 0.121826171875, 0.259521484375, 0.10302734375, 0.0155181884765625, 0.1927490234375, 0.2498779296875, 0.26806640625, 0.02978515625, 0.223388671875, 0.1361083984375, 0.009033203125, 0.136962890625, 0.134033203125, 0.1500244140625, 0.12548828125, 0.1678466796875, 0.09...
embed
32387554_c0
32387554
fsharp
0
Title: Is it possible to force the .NET F# compiler generate a CIL field in a module? Problem title: Is it possible to force the .NET F# compiler generate a CIL field in a module? Tags: f%23, cil Problem: Is it possible to force the .NET F# compiler generate a CIL field in a module? when I compile an F# module like mod...
Is it possible to force the .NET F# compiler generate a CIL field in a module? Is it possible to force the .NET F# compiler generate a CIL field in a module? f%23 cil NET CIL Test System.Console.WriteLine FSharpFunc Tuple Unit SomeInternallyGeneratedClosure Is it possible to force the .NET F# compiler generate a CIL fi...
[ 0.003936767578125, -0.00408935546875, 0.006622314453125, 0.007293701171875, 0.00262451171875, 0.007293701171875, 0.005706787109375, -0.0294189453125, -0.013427734375, -0.0206298828125, -0.0147705078125, 0.02490234375, -0.01153564453125, 0.01611328125, 0.0015716552734375, -0.02062988281...
[ 7722, 37772, 17777, 563, 4904, 9969, 34759, 139392, 313, 16444, 44457, 23, 88996, 47, 1238, 3949, 3742, 13003, 8647, 12353, 40777, 93232, 3467, 97249, 1371, 8705, 46640, 44851, 135932, 2400, 1340, 36770, 32786, 30219, 18151, 24209, 57266, 204...
[ 0.1424560546875, 0.170654296875, 0.1370849609375, 0.0726318359375, 0.2139892578125, 0.13427734375, 0.1458740234375, 0.161865234375, 0.12255859375, 0.2484130859375, 0.23828125, 0.0211944580078125, 0.19140625, 0.006866455078125, 0.03350830078125, 0.006500244140625, 0.1136474609375, 0...
embed
46477651_c0
46477651
fsharp
0
Title: Windows service unable to bypass company filter; but running exe has no issues Problem title: Windows service unable to bypass company filter; but running exe has no issues Tags: f%23, windows-services, webclient, proxy, .net Problem: Windows service unable to bypass company filter; but running exe has no issues...
Windows service unable to bypass company filter; but running exe has no issues Windows service unable to bypass company filter; but running exe has no issues f%23 windows-services webclient proxy .net Windows Restricted Web Site WebClient wc.Proxy WebProxy ConfigurationManager.AppSettings CredentialCache.DefaultCredent...
[ -0.0038909912109375, 0.01470947265625, -0.007659912109375, -0.01239013671875, 0.008544921875, -0.0118408203125, 0.005279541015625, 0.0030517578125, 0.0152587890625, -0.00469970703125, -0.01007080078125, 0.03271484375, 0.01043701171875, 0.00738525390625, -0.0020599365234375, 0.005889892...
[ 3773, 4516, 51, 2886, 390, 13409, 14380, 46312, 51042, 97733, 110, 37348, 1238, 3949, 3742, 54825, 22584, 1467, 222978, 502, 50878, 1179, 144225, 4002, 20897, 150, 92922, 10752, 59994, 12662, 105548, 68523, 187423, 2822, 144786, 71713, 1284, ...
[ 0.1922607421875, 0.180419921875, 0.047515869140625, 0.1131591796875, 0.055908203125, 0.1513671875, 0.1826171875, 0.2265625, 0.1268310546875, 0.2109375, 0.03948974609375, 0.1275634765625, 0.011383056640625, 0.0259552001953125, 0.134521484375, 0.1322021484375, 0.174560546875, 0.05148...
embed
36298850_c0
36298850
fsharp
0
Title: f# out of bounds exception because list comprehension generates more than I expect Problem title: f# out of bounds exception because list comprehension generates more than I expect Tags: f%23 Problem: f# out of bounds exception because list comprehension generates more than I expect I'm making a function that ta...
f# out of bounds exception because list comprehension generates more than I expect f# out of bounds exception because list comprehension generates more than I expect f%23 System.ArgumentException Map.toList setupList.Length-1 Seq.map Map.ofList Seq.distinct List.item List.mapi f# out of bounds exception because list co...
[ -0.01141357421875, 0.017333984375, -0.007049560546875, -0.031494140625, 0.002532958984375, 0.0029449462890625, -0.027587890625, 0.01409912109375, 0.001129150390625, -0.0009918212890625, 0.0120849609375, 0.00897216796875, 0.0263671875, 0.00933837890625, 0.02685546875, 0.008544921875, ...
[ 1238, 4904, 1810, 111, 99091, 131527, 6637, 5303, 46683, 3220, 6889, 139392, 1286, 3501, 41206, 7, 87, 3742, 12353, 7614, 1234, 19279, 63928, 42719, 188, 154663, 169581, 5759, 864, 62346, 4390, 38893, 32036, 217, 192, 1434, 20662, 32354, 51...
[ 0.1328125, 0.1673583984375, 0.1776123046875, 0.1810302734375, 0.215087890625, 0.1981201171875, 0.0596923828125, 0.212158203125, 0.1871337890625, 0.1915283203125, 0.03485107421875, 0.189208984375, 0.13671875, 0.10546875, 0.171630859375, 0.05621337890625, 0.0215911865234375, 0.118774...
embed
18273647_c0
18273647
fsharp
0
Title: How to properly read stream of bytes with frame boundaries with error processing in F#? Problem title: How to properly read stream of bytes with frame boundaries with error processing in F#? Tags: f%23, error-handling, io Problem: How to properly read stream of bytes with frame boundaries with error processing i...
How to properly read stream of bytes with frame boundaries with error processing in F#? How to properly read stream of bytes with frame boundaries with error processing in F#? f%23 error-handling io How Seq.skipWhile Seq.takeWhile Seq.isEmpty Seq.skip How to properly read stream of bytes with frame boundaries with erro...
[ -0.0001087188720703125, 0.00750732421875, 0.01483154296875, -0.024658203125, 0.0027618408203125, -0.01080322265625, 0.0230712890625, 0.0022735595703125, 0.0164794921875, 0.0029754638671875, 0.02783203125, -0.003631591796875, -0.0167236328125, 0.005157470703125, 0.028564453125, 0.004028...
[ 11249, 155965, 12301, 75973, 390, 1636, 678, 123789, 337, 6990, 10484, 18499, 9433, 563, 4904, 1238, 3742, 54885, 22995, 503, 864, 44024, 979, 78219, 164, 134332, 939, 111, 3525, 4358, 86869, 2967, 1380, 35686, 11469, 33636, 944, 115061, 60...
[ 0.037628173828125, 0.1187744140625, 0.203125, 0.205322265625, 0.1185302734375, 0.0771484375, 0.08544921875, 0.18212890625, 0.04290771484375, 0.14892578125, 0.044464111328125, 0.2176513671875, 0.097900390625, 0.137939453125, 0.2049560546875, 0.059173583984375, 0.152099609375, 0.1430...
embed
47003597_c0
47003597
fsharp
0
Title: F# write value in multidimensional array Problem title: F# write value in multidimensional array Tags: arrays, f%23 Problem: F# write value in multidimensional array I am trying to calculate covariance matrix The operator 'expr.[idx]' has been used on an object of indeterminate type based on information prior to...
F# write value in multidimensional array F# write value in multidimensional array arrays f%23 CovMatrix FirstSeq SecondSeq All first:seq second:seq Seq.map2 Seq.average CreateCovMatrix strangeList:seq Size Seq.length Array2D.init CalculateCovMatrix F# write value in multidimensional array I am trying to calculate covar...
[ -0.0028839111328125, -0.0008392333984375, 0.003631591796875, 0.01116943359375, 0.0126953125, -0.01348876953125, -0.01104736328125, 0.0159912109375, 0.0050048828125, 0.00909423828125, -0.0145263671875, 0.0235595703125, 0.01275634765625, 0.0002956390380859375, 0.0045166015625, -0.0072937...
[ 563, 4904, 33022, 34292, 23, 6024, 157955, 10298, 53, 4778, 1238, 3949, 3742, 313, 515, 4613, 87427, 23972, 4233, 864, 77648, 3164, 5117, 17932, 62346, 8216, 151313, 441, 114453, 154663, 69253, 397, 212467, 31577, 74481, 67, 552, 21690, 715...
[ 0.110107421875, 0.191650390625, 0.168212890625, 0.2054443359375, 0.0399169921875, 0.1163330078125, 0.14306640625, 0.16845703125, 0.0802001953125, 0.0595703125, 0.0877685546875, 0.0078125, 0.121826171875, 0.05670166015625, 0.1903076171875, 0.076416015625, 0.117431640625, 0.037048339...
embed
9717592_c0
9717592
fsharp
0
Title: Async and CancellationTokens/CancellationTokenSource memory-issue Problem title: Async and CancellationTokens/CancellationTokenSource memory-issue Tags: memory-leaks, mailboxprocessor, f%23, cancellationtokensource, asynchronous Problem: Async and CancellationTokens/CancellationTokenSource memory-issue I'm still...
Async and CancellationTokens/CancellationTokenSource memory-issue Async and CancellationTokens/CancellationTokenSource memory-issue memory-leaks mailboxprocessor f%23 cancellationtokensource asynchronous Async CancellationTokens CancellationTokenSource Async and CancellationTokens/CancellationTokenSource memory-issue I...
[ 0.01031494140625, 0.035400390625, 0.01104736328125, 0.0181884765625, -0.00445556640625, -0.01141357421875, -0.0172119140625, 0.00921630859375, 0.00616455078125, -0.0252685546875, 0.0086669921875, 0.018798828125, 0.01055908203125, 0.0096435546875, 0.038818359375, 0.002410888671875, 0....
[ 62, 12654, 238, 136, 80392, 57860, 7763, 84694, 54694, 34680, 1098, 211235, 98323, 174404, 133, 24251, 6648, 11728, 63923, 748, 1238, 3949, 3742, 126136, 6448, 60427, 101966, 344, 1926, 156672, 71358, 6867, 116071, 12353, 39116, 5584, 12620, ...
[ 0.01849365234375, 0.2161865234375, 0.06463623046875, 0.0675048828125, 0.1929931640625, 0.105712890625, 0.0858154296875, 0.1773681640625, 0.07171630859375, 0.1607666015625, 0.12890625, 0.2000732421875, 0.1978759765625, 0.150390625, 0.117431640625, 0.07958984375, 0.038818359375, 0.16...
embed
76078452_c1
76078452
fsharp
1
.Build() app .UseAuthentication() .Use(Func<HttpContext,RequestDelegate,Task>(fun ctx next -> task { if ctx.User.Identity.IsAuthenticated then return! next.Invoke(ctx) else return! ctx.ForbidAsync() })) .UseFileServer() .UseGiraffe(webApp) app.Run() 0 // Exit code Whenever the server gets a request, I get an error mess...
.Build() app .UseAuthentication() .Use(Func<HttpContext,RequestDelegate,Task>(fun ctx next -> task { if ctx.User.Identity.IsAuthenticated then return! next.Invoke(ctx) else return! ctx.ForbidAsync() })) .UseFileServer() .UseGiraffe(webApp) app.Run() 0 // Exit code Whenever the server gets a request, I get an error mess...
[ -0.0308837890625, 0.04150390625, -0.0108642578125, 0.01708984375, 0.004913330078125, 0.003936767578125, 0.0123291015625, 0.0024261474609375, -0.000518798828125, -0.0174560546875, 0.01275634765625, 0.01708984375, -0.0030975341796875, 0.007598876953125, 0.00482177734375, 0.0174560546875,...
[ 5, 121137, 132, 4027, 1062, 184, 284, 1003, 63250, 120639, 97249, 238, 3062, 22829, 4332, 75616, 4657, 3257, 67, 9874, 1042, 16498, 108963, 425, 11737, 66211, 2189, 568, 37379, 2481, 29598, 67362, 92733, 7636, 3674, 30646, 23253, 15390, 348...
[ 0.0577392578125, 0.2042236328125, 0.08270263671875, 0.1771240234375, 0.1253662109375, 0.1033935546875, 0.04058837890625, 0.111572265625, 0.170166015625, 0.09881591796875, 0.1248779296875, 0.0157623291015625, 0.008331298828125, 0.1368408203125, 0.013519287109375, 0.1275634765625, 0.08...
embed
30484494_c1
30484494
fsharp
1
0000 is the fill. According to my reasoning the functions should therefor somehow build a string from the array2d, maybe by using a built in higher order function or if no proper one exist in array2d then first convert to a sequence and then use a proper function from there. The Squares are located in a 9x9 large Array...
0000 is the fill. According to my reasoning the functions should therefor somehow build a string from the array2d, maybe by using a built in higher order function or if no proper one exist in array2d then first convert to a sequence and then use a proper function from there. The Squares are located in a 9x9 large Array...
[ 0.002532958984375, 0.00799560546875, -0.01129150390625, -0.0012969970703125, 0.000911712646484375, -0.014404296875, -0.01507568359375, 0.00107574462890625, 0.00701904296875, 0.0218505859375, -0.0014495849609375, 0.0087890625, -0.01220703125, -0.01458740234375, -0.0208740234375, -0.0103...
[ 28568, 83, 70, 26292, 31635, 32354, 7, 5608, 209303, 45367, 79315, 1295, 10298, 53, 304, 71, 88303, 77546, 12989, 27798, 32316, 96760, 47, 40, 944, 4527, 68305, 105866, 483, 425, 1126, 21334, 69253, 397, 39958, 72367, 14432, 1221, 8337, 9...
[ 0.270751953125, 0.0731201171875, 0.0198516845703125, 0.230712890625, 0.048736572265625, 0.1785888671875, 0.0517578125, 0.0294342041015625, 0.047760009765625, 0.124267578125, 0.304931640625, 0.055450439453125, 0.162109375, 0.0904541015625, 0.1298828125, 0.125, 0.06524658203125, 0.03...
embed
50612172_c1
50612172
fsharp
1
.fs(41,41): Error FS0039: The type 'EDNValueParsed' is not defined. (FS0039) (EDNReaderWriter) let getLineColString (valueParsed : EDNValueParsed) = System.String.Format("line: {0}, column: {1}", valueParsed.line, valueParsed.col); let isNotCommentOrDiscard (v : EDNValueParsed) = match v.ednValue with | EDNComment _ | ...
.fs(41,41): Error FS0039: The type 'EDNValueParsed' is not defined. (FS0039) (EDNReaderWriter) let getLineColString (valueParsed : EDNValueParsed) = System.String.Format("line: {0}, column: {1}", valueParsed.line, valueParsed.col); let isNotCommentOrDiscard (v : EDNValueParsed) = match v.ednValue with | EDNComment _ | ...
[ -0.01080322265625, 0.0059814453125, -0.0208740234375, 0.0260009765625, -0.0211181640625, -0.003204345703125, -0.0068359375, -0.0108642578125, -0.00311279296875, 0.0238037109375, 0.0020294189453125, 0.004791259765625, 0.005645751953125, -0.0191650390625, -0.00555419921875, 0.0224609375,...
[ 5, 17447, 8894, 123001, 212059, 93774, 7049, 9323, 10644, 17610, 65954, 50770, 28636, 5281, 83, 959, 61924, 71, 36381, 112227, 839, 31345, 2783, 2633, 2046, 93232, 78457, 71713, 214, 27494, 44444, 12353, 102973, 2256, 2389, 3365, 316, 34292, ...
[ 0.0312042236328125, 0.1693115234375, 0.1571044921875, 0.1337890625, 0.1695556640625, 0.1177978515625, 0.076416015625, 0.2064208984375, 0.22119140625, 0.152099609375, 0.1163330078125, 0.2020263671875, 0.170166015625, 0.10015869140625, 0.043914794921875, 0.09442138671875, 0.20617675781...
embed
74161169_c0
74161169
fsharp
0
Title: How to get Elmah working with .Net 6 F# Web Api Project Problem title: How to get Elmah working with .Net 6 F# Web Api Project Tags: elmah, f%23 Problem: How to get Elmah working with .Net 6 F# Web Api Project I've used Elmah before in a C# project years ago and I have recently started using F# and having a bit ...
How to get Elmah working with .Net 6 F# Web Api Project How to get Elmah working with .Net 6 F# Web Api Project elmah f%23 How Elmah Net Web Api Project services.AddElmah SqlErrorLog options.ConnectionString Server Database Integrated Security EntryPoint WebApplication.CreateBuilder builder.Services.AddControllers buil...
[ 0.004425048828125, 0.0223388671875, -0.00112152099609375, -0.0303955078125, 0.01068115234375, 0.0211181640625, -0.006622314453125, -0.0135498046875, -0.00122833251953125, -0.0245361328125, 0.0267333984375, -0.01214599609375, -0.003143310546875, 0.0057373046875, 0.019287109375, -0.01562...
[ 11249, 2046, 540, 12230, 20697, 678, 24447, 305, 563, 4904, 4002, 5787, 14, 27331, 47, 88, 1238, 3742, 10086, 11374, 4028, 7623, 99247, 31611, 113972, 50717, 235603, 71713, 22687, 187781, 91969, 48748, 15123, 147534, 47677, 182867, 63784, 121...
[ 0.06182861328125, 0.1007080078125, 0.1644287109375, 0.2978515625, 0.15673828125, 0.1083984375, 0.1378173828125, 0.150390625, 0.054443359375, 0.1661376953125, 0.10028076171875, 0.1390380859375, 0.148681640625, 0.1253662109375, 0.016265869140625, 0.1016845703125, 0.00360107421875, 0....
embed
33946132_c0
33946132
fsharp
0
Title: Add path to assemblies to FAKE script Problem title: Add path to assemblies to FAKE script Tags: f%23-fake, f%23, f%23-fake-4 Problem: Add path to assemblies to FAKE script Here is my FAKE build script: #r @"packages/FAKE/tools/FakeLib.dll" open Fake open Fake.FscHelper // Properties let buildDir = "./build/" //...
Add path to assemblies to FAKE script Add path to assemblies to FAKE script f%23-fake f%23 f%23-fake-4 FAKE Add FakeLib.dll Fake.FscHelper Properties Targets Target Clean CleanDir BuildApp Main.fs Fsc Output Main.exe Default Hello World Dependencies RunTargetOrDefault FSharp.Data net40 FSharp.Data.dll Paket fake-4 Add ...
[ -0.00604248046875, 0.0145263671875, -0.006134033203125, 0.004669189453125, -0.00133514404296875, 0.00469970703125, 0.004364013671875, -0.00872802734375, -0.00775146484375, -0.037353515625, 0.00107574462890625, 0.0120849609375, 0.005615234375, 0.0269775390625, 0.01544189453125, -0.01159...
[ 29117, 60875, 47, 10, 89845, 7121, 90, 563, 119960, 26499, 1238, 1021, 350, 3742, 11565, 3036, 104820, 5, 1181, 919, 10382, 60785, 1264, 234994, 160017, 73133, 481, 121137, 39179, 12321, 17447, 13538, 46480, 35378, 6661, 26885, 63031, 3794, ...
[ 0.11962890625, 0.223388671875, 0.1177978515625, 0.01422119140625, 0.1641845703125, 0.1195068359375, 0.06134033203125, 0.1658935546875, 0.220458984375, 0.27392578125, 0.011383056640625, 0.17333984375, 0.1129150390625, 0.03753662109375, 0.1363525390625, 0.1854248046875, 0.1788330078125...
embed
74519156_c0
74519156
fsharp
0
Title: Get result from Async Result object in F# Problem title: Get result from Async Result object in F# Tags: f%23-async, f%23 Problem: Get result from Async Result object in F# I have a piece of code that is of the following form let function arg1 arg2 = match arg1 with | type1 -> Some true | type2 -> async { match!...
Get result from Async Result object in F# Get result from Async Result object in F# f%23-async f%23 Async Get Result arg1 arg2 type1 Some type2 func2 arg3 arg4 Result.Ok None Async.Evaluate Get result from Async Result object in F# I have a piece of code that is of the following form The problem here is that the func2 ...
[ -0.02197265625, 0.004669189453125, 0.0250244140625, -0.0177001953125, -0.0084228515625, -0.01397705078125, 0.012451171875, -0.0013885498046875, 0.01434326171875, -0.010498046875, 0.0057373046875, 0.01348876953125, -0.0186767578125, -0.0087890625, 0.02001953125, -0.00469970703125, 0.0...
[ 20779, 16750, 1295, 62, 12654, 238, 126684, 36746, 23, 563, 4904, 1238, 27495, 11, 3742, 79459, 418, 304, 10644, 31384, 7477, 363, 617, 73852, 27494, 63847, 18151, 25632, 3173, 2967, 1556, 11814, 678, 14858, 38, 63805, 3638, 166117, 19048, ...
[ 0.11376953125, 0.2164306640625, 0.14013671875, 0.09393310546875, 0.22900390625, 0.1351318359375, 0.2939453125, 0.1971435546875, 0.037872314453125, 0.13818359375, 0.216796875, 0.0709228515625, 0.0894775390625, 0.1004638671875, 0.09783935546875, 0.08648681640625, 0.0200653076171875, ...
embed
46792722_c0
46792722
fsharp
0
Title: How to transform OO calls into a some generic function calls Problem title: How to transform OO calls into a some generic function calls Tags: inline, f%23 Problem: How to transform OO calls into a some generic function calls I have the following code type Show<'a> = abstract member Show: 'a -> string type Shows...
How to transform OO calls into a some generic function calls How to transform OO calls into a some generic function calls inline f%23 How Show Shows this.GetShow x:string this.Show x:int GetShow FS0041 Candidates Shows.GetShow How to transform OO calls into a some generic function calls I have the following code which ...
[ -0.0118408203125, 0.01141357421875, 0.0245361328125, -0.00714111328125, 0.00171661376953125, -0.015869140625, 0.00628662109375, -0.028076171875, 0.01611328125, -0.013671875, -0.003692626953125, 0.0007476806640625, -0.00921630859375, 0.00579833984375, 0.01446533203125, -0.0250244140625,...
[ 11249, 47, 27198, 30563, 11782, 7, 3934, 10, 3060, 189534, 32354, 2256, 1238, 3949, 3742, 17367, 903, 724, 126, 168660, 1022, 91693, 4288, 20779, 93774, 135401, 418, 194215, 90, 25632, 18151, 43240, 169123, 17368, 3638, 110, 22062, 1884, 13...
[ 0.0887451171875, 0.0765380859375, 0.225341796875, 0.2393798828125, 0.251953125, 0.0975341796875, 0.1142578125, 0.056182861328125, 0.09051513671875, 0.262451171875, 0.222900390625, 0.0985107421875, 0.056549072265625, 0.047149658203125, 0.158203125, 0.19873046875, 0.11328125, 0.03747...
embed
33571498_c0
33571498
fsharp
0
Title: Using List.map with should throw Exception Problem title: Using List.map with should throw Exception Tags: nunit, functional-testing, functional-programming, f%23 Problem: Using List.map with should throw Exception let d5=["IIII";"VVVV";"XXXX";"LLLL";"MMMM"] [<Test; ExpectedException(typeof<System.Exception>)>] ...
Using List.map with should throw Exception Using List.map with should throw Exception nunit functional-testing functional-programming f%23 ExpectedException System.Exception Using List.map Exception IIII VVVV XXXX LLLL MMMM Test More Missing Using List.map with should throw Exception This test isn't working . I have co...
[ -0.020751953125, 0.0086669921875, -0.000576019287109375, -0.0087890625, -0.005340576171875, -0.000354766845703125, 0.01409912109375, 0.0194091796875, 0.00787353515625, 0.01519775390625, 0.0011138916015625, -0.0169677734375, 0.006317138671875, 0.007049560546875, -0.0023956298828125, -0....
[ 345, 32036, 5, 62346, 678, 5608, 104250, 5443, 63928, 4124, 217, 123309, 6954, 28966, 1238, 3742, 60075, 13, 19279, 12353, 4830, 568, 60214, 205378, 23708, 25590, 8647, 16771, 6953, 3034, 18, 20697, 172127, 366, 7, 1314, 51651, 101935, 4324...
[ 0.11572265625, 0.2449951171875, 0.01910400390625, 0.240234375, 0.1636962890625, 0.20458984375, 0.2578125, 0.1141357421875, 0.1903076171875, 0.1251220703125, 0.17822265625, 0.1351318359375, 0.1612548828125, 0.07159423828125, 0.0193328857421875, 0.124267578125, 0.05352783203125, 0.07...
embed
59954275_c0
59954275
fsharp
0
Title: What&#x27;s the conventional way to use `IHttpClientFactory` in F#? Problem title: What&#x27;s the conventional way to use `IHttpClientFactory` in F#? Tags: f%23, .net-core, httpclientfactory, httpclient, asp.net-core Problem: What's the conventional way to use `IHttpClientFactory` in F#? So in C# .NET Core apps...
What&#x27;s the conventional way to use `IHttpClientFactory` in F#? What&#x27;s the conventional way to use `IHttpClientFactory` in F#? f%23 .net-core httpclientfactory httpclient asp.net-core What IHttpClientFactory HttpClient services.AddHttpClient IRandomService RandomService GetAsync Async.AwaitTask Async.RunSynchr...
[ -0.0233154296875, -0.009521484375, 0.016357421875, 0.004241943359375, 0.006927490234375, -0.01708984375, -0.01153564453125, 0.00537109375, -0.01104736328125, -0.035888671875, 0.0133056640625, 0.0106201171875, 0.0035247802734375, -0.00159454345703125, 0.021728515625, -0.006561279296875,...
[ 3768, 101805, 289, 3917, 4527, 38624, 3062, 254, 441, 150, 2517, 135518, 31667, 23, 563, 4904, 1238, 3742, 1179, 30854, 1621, 222978, 144810, 237, 4865, 572, 11374, 4028, 3448, 39, 121979, 39643, 12654, 634, 9874, 163321, 217835, 1900, 5755...
[ 0.041961669921875, 0.153564453125, 0.06475830078125, 0.0594482421875, 0.1231689453125, 0.1490478515625, 0.138916015625, 0.1441650390625, 0.048736572265625, 0.1881103515625, 0.1531982421875, 0.2088623046875, 0.167724609375, 0.04095458984375, 0.124267578125, 0.2008056640625, 0.03601074...
embed
71431847_c0
71431847
fsharp
0
Title: how to memoize a function from an array of values Problem title: how to memoize a function from an array of values Tags: f%23 Problem: how to memoize a function from an array of values take let memoization f = // The dictionary is used to store values for every parameter that has been seen let cache = Dictionary...
how to memoize a function from an array of values how to memoize a function from an array of values f%23 an Dictionary cache.TryGetValue Not cache.Add x:array x.Length how to memoize a function from an array of values take then then I (obviously!) want b to be the retrieved memoized value already calculated, but it rec...
[ -0.01190185546875, -0.000530242919921875, -0.006195068359375, -0.007598876953125, -0.001251220703125, -0.01190185546875, 0.0172119140625, 0.0263671875, 0.0205078125, 0.003326416015625, -0.01397705078125, 0.010986328125, -0.004669189453125, 0.005584716796875, 0.032470703125, -0.00349426...
[ 3642, 47, 163, 432, 20650, 32354, 1295, 10298, 53, 111, 142424, 10, 1238, 3742, 147638, 82365, 1294, 724, 126, 856, 50770, 4028, 19305, 142, 5646, 3444, 876, 186, 97351, 29367, 34292, 21771, 74481, 3674, 456, 6827, 16735, 313, 4904, 24, ...
[ 0.0831298828125, 0.06500244140625, 0.1678466796875, 0.1912841796875, 0.1531982421875, 0.2156982421875, 0.1513671875, 0.1768798828125, 0.1448974609375, 0.138916015625, 0.1888427734375, 0.0178985595703125, 0.0219268798828125, 0.122314453125, 0.1646728515625, 0.1402587890625, 0.07128906...
embed
31431817_c1
31431817
fsharp
1
I'm sure it's less than performant Ideally I'd like to avoid the need to map the items to include the initial skip list in the first place, but then I'm not sure how I'd get that into the unfold aside from mapping it into just the first element in the sequence. Possible Alternative Solution Based on a different approa...
I'm sure it's less than performant Ideally I'd like to avoid the need to map the items to include the initial skip list in the first place, but then I'm not sure how I'd get that into the unfold aside from mapping it into just the first element in the sequence. Possible Alternative Solution Based on a different approa...
[ 0.004425048828125, 0.0181884765625, 0.00860595703125, 0.01312255859375, -0.005340576171875, -0.005889892578125, -0.0030670166015625, -0.01556396484375, 0.01177978515625, -0.01031494140625, 0.010009765625, 0.017333984375, -0.01336669921875, 0.039794921875, 0.0068359375, 0.0234375, -0....
[ 9077, 442, 40715, 3501, 106018, 41143, 1884, 47, 71864, 22288, 55769, 26698, 61475, 21658, 5303, 51, 42822, 291, 3934, 5117, 12830, 40, 944, 3956, 103905, 187895, 51515, 32036, 9433, 678, 81814, 11341, 73484, 19048, 4527, 503, 864, 5, 16498...
[ 0.0162353515625, 0.030975341796875, 0.0782470703125, 0.0081787109375, 0.1766357421875, 0.0182342529296875, 0.05535888671875, 0.0300140380859375, 0.1588134765625, 0.1392822265625, 0.18212890625, 0.07269287109375, 0.0816650390625, 0.2255859375, 0.1890869140625, 0.1005859375, 0.23034667...
embed
37187412_c0
37187412
fsharp
0
Title: How can I interpret property based test code? Problem title: How can I interpret property based test code? Tags: f%23, property-based-testing Problem: How can I interpret property based test code? How can I interpret property based test code? I'm struggling to translate the instructions on the following snippet:...
How can I interpret property based test code? How can I interpret property based test code? f%23 property-based-testing How Prop.forAll Check.QuickThrowOnFailure Fact FizzBuzz.transform FizzBuzz Arb.generate Gen.map Arb.fromGen How can I interpret property based test code? How can I interpret property based test code? ...
[ 0.015869140625, -0.001251220703125, 0.0054931640625, 0.0101318359375, -0.0130615234375, 0.0050048828125, 0.01116943359375, -0.011962890625, 0.005462646484375, 0.0019378662109375, 0.007659912109375, 0.03369140625, -0.008056640625, 0.00787353515625, -0.01318359375, 0.00982666015625, -0...
[ 11249, 831, 87, 29481, 57266, 35509, 3034, 18151, 1238, 3949, 3742, 77007, 6954, 214, 43796, 2472, 43512, 38679, 96010, 15555, 20320, 17647, 379, 132640, 94610, 169, 7235, 13894, 215175, 1172, 275, 48281, 15937, 62346, 161063, 105376, 237875, ...
[ 0.07025146484375, 0.050201416015625, 0.035858154296875, 0.24462890625, 0.236083984375, 0.2005615234375, 0.23046875, 0.2064208984375, 0.03961181640625, 0.0020751953125, 0.12646484375, 0.1624755859375, 0.1937255859375, 0.0150299072265625, 0.156982421875, 0.06390380859375, 0.13525390625...
embed
5567900_c0
5567900
fsharp
0
Title: Is there a way to make different implementation of do! and let! in a computation expression? Problem title: Is there a way to make different implementation of do! and let! in a computation expression? Tags: f%23, computation-expression Problem: Is there a way to make different implementation of do! and let! in a...
Is there a way to make different implementation of do! and let! in a computation expression? Is there a way to make different implementation of do! and let! in a computation expression? f%23 computation-expression FooBuilder b.Bind f:unit b.Return Is there a way to make different implementation of do! and let! in a com...
[ -0.0152587890625, 0.01031494140625, 0.0186767578125, -0.005401611328125, -0.0135498046875, 0.017333984375, 0.001953125, -0.000919342041015625, 0.012451171875, -0.00335693359375, -0.0240478515625, -0.003997802734375, 0.00830078125, 0.01422119140625, 0.006195068359375, 0.005035400390625,...
[ 2071, 2685, 10, 3917, 47, 3249, 12921, 208124, 111, 54, 38, 136, 2633, 23, 181135, 1363, 125195, 32, 1238, 3949, 3742, 204629, 9572, 31, 121137, 56, 876, 571, 7250, 309, 217, 4332, 987, 3871, 123166, 100, 759, 114122, 9790, 69307, 25632...
[ 0.08489990234375, 0.0872802734375, 0.08447265625, 0.1473388671875, 0.0728759765625, 0.1309814453125, 0.251220703125, 0.2413330078125, 0.08026123046875, 0.222412109375, 0.1968994140625, 0.1968994140625, 0.282470703125, 0.1060791015625, 0.223388671875, 0.0869140625, 0.256591796875, 0...
embed
79460322_c1
79460322
fsharp
1
I tried to produce a minimal version of my real code and came up with a code that is quite different but shows the same behavior: type Expr = | Number of int | Add of Expr * Expr | Multiply of Expr * Expr module Evaluator = let rec private evalCPS expr (cont: int option -> 'a) = // I speak about this continuation matc...
I tried to produce a minimal version of my real code and came up with a code that is quite different but shows the same behavior: type Expr = | Number of int | Add of Expr * Expr | Multiply of Expr * Expr module Evaluator = let rec private evalCPS expr (cont: int option -> 'a) = // I speak about this continuation matc...
[ -0.0130615234375, 0.0028533935546875, 0.010498046875, -0.005615234375, 0.00732421875, -0.0108642578125, 0.0291748046875, -0.0203857421875, -0.004119873046875, -0.0306396484375, -0.02294921875, 0.0174560546875, -0.0002307891845703125, 0.02294921875, 0.00396728515625, -0.0011520385742187...
[ 37842, 27489, 20187, 11389, 759, 2773, 18151, 1257, 83, 32233, 12921, 45831, 5701, 123166, 10644, 60075, 42, 2203, 103332, 23, 18, 29117, 111, 661, 19335, 62479, 88996, 151228, 1290, 2633, 21954, 14375, 28, 1405, 441, 9059, 14700, 2271, 358...
[ 0.06787109375, 0.10113525390625, 0.165771484375, 0.09130859375, 0.0193939208984375, 0.157958984375, 0.2032470703125, 0.0213623046875, 0.003814697265625, 0.0665283203125, 0.145263671875, 0.044769287109375, 0.0875244140625, 0.139892578125, 0.157958984375, 0.1815185546875, 0.21203613281...
embed
18190422_c0
18190422
fsharp
0
Title: Overhead involved in nested sequences in F# Problem title: Overhead involved in nested sequences in F# Tags: f%23, lazy-evaluation, performance Problem: Overhead involved in nested sequences in F# I need to do excessive pattern matching against an xml structure, so I declared a type to represent the xml nodes. T...
Overhead involved in nested sequences in F# Overhead involved in nested sequences in F# f%23 lazy-evaluation performance Overhead ElementInfo Tag Attributes Map Contents Nothing Elements Node Element Comment node.PreOrder Seq.collect child.PreOrder Overhead involved in nested sequences in F# I need to do excessive patt...
[ 0.01507568359375, 0.005950927734375, -0.01123046875, -0.0027618408203125, 0.0096435546875, -0.00604248046875, -0.00115203857421875, -0.0294189453125, 0.00823974609375, -0.05322265625, 0.01239013671875, 0.011474609375, 0.004852294921875, -0.00494384765625, 0.01263427734375, -0.012573242...
[ 9578, 31251, 75412, 8512, 71, 40, 26513, 5170, 563, 4904, 1238, 3742, 21, 3285, 159258, 23718, 48325, 93147, 4837, 191145, 42719, 70870, 182747, 438, 16277, 110, 112, 19273, 143045, 503, 864, 196352, 29041, 23, 3871, 218527, 103510, 14858, ...
[ 0.1728515625, 0.2352294921875, 0.13330078125, 0.260009765625, 0.1585693359375, 0.09765625, 0.199951171875, 0.092041015625, 0.1409912109375, 0.201416015625, 0.025726318359375, 0.0540771484375, 0.06658935546875, 0.1312255859375, 0.10302734375, 0.1156005859375, 0.1346435546875, 0.1177...
embed
29129831_c0
29129831
fsharp
0
Title: F# using HttpPostedFileBase (abstract class as member type) Problem title: F# using HttpPostedFileBase (abstract class as member type) Tags: asp.net-mvc, f%23, c%23, asp.net Problem: F# using HttpPostedFileBase (abstract class as member type) I've been converting my MVC Models/Forms from C# into an F# library, b...
F# using HttpPostedFileBase (abstract class as member type) F# using HttpPostedFileBase (abstract class as member type) asp.net-mvc f%23 c%23 asp.net HttpPostedFileBase UploadForm ItemID Email UploadFile HTML Razor asp.net-mvc asp.net F# using HttpPostedFileBase (abstract class as member type) I've been converting my M...
[ 0.00946044921875, 0.0079345703125, -0.00001919269561767578, -0.017822265625, -0.01507568359375, 0.0026397705078125, -0.007781982421875, 0.00762939453125, 0.00445556640625, -0.014892578125, 0.0260009765625, -0.0096435546875, -0.003265380859375, 0.0166015625, 0.00323486328125, -0.0072021...
[ 563, 4904, 17368, 572, 3062, 254, 49411, 297, 174350, 63473, 13, 2055, 2816, 15390, 18507, 237, 32786, 10644, 1179, 66357, 1238, 3742, 171958, 102973, 78426, 7146, 14886, 19097, 12905, 748, 96760, 276, 56349, 13293, 1295, 3934, 35773, 26366, ...
[ 0.1612548828125, 0.2418212890625, 0.07464599609375, 0.0648193359375, 0.1126708984375, 0.0753173828125, 0.1781005859375, 0.0889892578125, 0.2059326171875, 0.2288818359375, 0.038665771484375, 0.0460205078125, 0.1934814453125, 0.05194091796875, 0.19140625, 0.05413818359375, 0.2147216796...
embed
33857278_c1
33857278
fsharp
1
like operator and IN operator where (c.ContactName =% ("Matti%") && o.ShipCountry |=| [|"Finland";"England"|] ) sortBy o.ShipName // arbitrarily complex projections are supported select (c.ContactName,o.ShipAddress,o.ShipCountry,prod.ProductName,prod.UnitPrice) } |> Seq.toArray However, I'm targeting SQL Server and no...
like operator and IN operator where (c.ContactName =% ("Matti%") && o.ShipCountry |=| [|"Finland";"England"|] ) sortBy o.ShipName // arbitrarily complex projections are supported select (c.ContactName,o.ShipAddress,o.ShipCountry,prod.ProductName,prod.UnitPrice) } |> Seq.toArray However, I'm targeting SQL Server and no...
[ 0.0242919921875, 0.0218505859375, 0.0115966796875, 0.0194091796875, -0.005218505859375, 0.0014495849609375, -0.01708984375, -0.0029449462890625, 0.00225830078125, -0.01544189453125, -0.009765625, -0.00799560546875, 0.0074462890625, -0.0172119140625, -0.0201416015625, 0.013427734375, ...
[ 1884, 39933, 136, 5881, 233695, 163612, 154973, 14, 36, 78567, 254, 108210, 1294, 919, 73, 1760, 91384, 12096, 75358, 61799, 27140, 13452, 17514, 8060, 36849, 31, 161007, 112348, 10752, 77193, 33163, 864, 188, 7614, 7092, 30388, 80866, 22687,...
[ 0.160888671875, 0.2607421875, 0.0653076171875, 0.2420654296875, 0.142822265625, 0.101806640625, 0.0819091796875, 0.119384765625, 0.0916748046875, 0.08526611328125, 0.102783203125, 0.0848388671875, 0.0208740234375, 0.020782470703125, 0.1097412109375, 0.065673828125, 0.0794677734375, ...
embed
15728254_c0
15728254
fsharp
0
Title: What&#x27;s the meaning of the `in` keyword in this example (F#) Problem title: What&#x27;s the meaning of the `in` keyword in this example (F#) Tags: keyword, f%23 Problem: What's the meaning of the `in` keyword in this example (F#) I've been trying to get my head round various bits of F# (I'm coming from more ...
What&#x27;s the meaning of the `in` keyword in this example (F#) What&#x27;s the meaning of the `in` keyword in this example (F#) keyword f%23 What Success Failure CharParser Parser x::xs What's the meaning of the `in` keyword in this example (F#) I've been trying to get my head round various bits of F# (I'm coming fro...
[ -0.001129150390625, 0.02490234375, 0.00994873046875, 0.0185546875, 0.005035400390625, 0.01806640625, 0.00634765625, 0.0009002685546875, 0.00191497802734375, -0.00860595703125, 0.010009765625, -0.0108642578125, -0.0087890625, 0.005126953125, -0.01251220703125, 0.03564453125, 0.0009689...
[ 3768, 91084, 73, 166117, 903, 27781, 919, 4904, 23, 1238, 3742, 4865, 144053, 190355, 3408, 21656, 28636, 2189, 2392, 425, 10336, 563, 76615, 366, 33946, 22321, 22230, 2500, 19155, 121413, 55681, 18151, 915, 63805, 51671, 138410, 1215, 11, ...
[ 0.085205078125, 0.179931640625, 0.277099609375, 0.2392578125, 0.051483154296875, 0.2022705078125, 0.09832763671875, 0.1943359375, 0.216064453125, 0.03240966796875, 0.055816650390625, 0.051513671875, 0.2105712890625, 0.16943359375, 0.0845947265625, 0.050567626953125, 0.06683349609375,...
embed
21469862_c0
21469862
fsharp
0
Title: Using Seq functions on an IEnumerable Problem title: Using Seq functions on an IEnumerable Tags: ienumerable, f%23 Problem: Using Seq functions on an IEnumerable I'm trying to apply Seq functions on an IEnumerable. More specifically, it's System.Windows.Forms.HtmlElementCollection which implements ICollection an...
Using Seq functions on an IEnumerable Using Seq functions on an IEnumerable ienumerable f%23 Using Seq IEnumerable System.Windows.Forms.HtmlElementCollection ICollection Seq.find i.Name Using Seq functions on an IEnumerable I'm trying to apply Seq functions on an IEnumerable. More specifically, it's System.Windows.Form...
[ 0.00701904296875, 0.01416015625, 0.00049591064453125, -0.005462646484375, 0.006317138671875, 0.002166748046875, -0.014892578125, 0.0167236328125, -0.0093994140625, -0.06005859375, -0.00750732421875, 0.0208740234375, 0.009033203125, 0.005706787109375, 0.01165771484375, 0.003662109375, ...
[ 345, 503, 864, 32354, 98, 75536, 2606, 56, 2886, 17, 33, 316, 1238, 3742, 12353, 43342, 102973, 18, 7237, 19929, 78457, 133, 45878, 10763, 111607, 163612, 31577, 59911, 29479, 563, 4904, 40, 33022, 9969, 34759, 351, 186992, 10644, 647, 95...
[ 0.119384765625, 0.170654296875, 0.269287109375, 0.2039794921875, 0.064453125, 0.16552734375, 0.2083740234375, 0.1474609375, 0.1334228515625, 0.108154296875, 0.008026123046875, 0.180908203125, 0.03662109375, 0.0836181640625, 0.04638671875, 0.115234375, 0.17529296875, 0.09228515625, ...
embed
73985287_c1
73985287
fsharp
1
ly imposing a "return minimum length only" in order to obtain the shortest routes to the target. My code so far (see bottom of code for stackoverflow problem): type pos = int*int let p1 = (1, 1) // source grid point let p2 = (3, 3) // target grid point let dist (p1: pos) (p2: pos) : int = (((pown ((fst p2)-(fst p1)) 2)...
ly imposing a "return minimum length only" in order to obtain the shortest routes to the target. My code so far (see bottom of code for stackoverflow problem): type pos = int*int let p1 = (1, 1) // source grid point let p2 = (3, 3) // target grid point let dist (p1: pos) (p2: pos) : int = (((pown ((fst p2)-(fst p1)) 2)...
[ -0.0035858154296875, 0.0242919921875, 0.016357421875, -0.0010223388671875, 0.00543212890625, -0.01318359375, -0.00185394287109375, -0.0096435546875, 0.033935546875, -0.03125, 0.0228271484375, -0.01385498046875, 0.0003204345703125, 0.002349853515625, -0.0079345703125, 0.00909423828125, ...
[ 16500, 35439, 6953, 65395, 19, 15440, 140909, 4734, 113054, 70, 16610, 525, 36439, 7, 47, 30388, 5, 2646, 18151, 2060, 103136, 111, 177261, 5465, 118664, 2967, 10644, 3864, 2203, 23, 18, 1639, 4288, 2633, 915, 418, 31344, 120067, 6275, 30...
[ 0.2071533203125, 0.1578369140625, 0.06640625, 0.1756591796875, 0.0921630859375, 0.2481689453125, 0.220947265625, 0.1632080078125, 0.0927734375, 0.00146484375, 0.173583984375, 0.1397705078125, 0.211669921875, 0.0718994140625, 0.061737060546875, 0.22900390625, 0.00152587890625, 0.072...
embed
45633538_c0
45633538
fsharp
0
Title: F# - Why Seq.map does not propagate exceptions? Problem title: F# - Why Seq.map does not propagate exceptions? Tags: collections, exception, f%23, mapping, sequences Problem: F# - Why Seq.map does not propagate exceptions? Imagine the following code: let d = dict [1, "one"; 2, "two" ] let CollectionHasValidItems...
F# - Why Seq.map does not propagate exceptions? F# - Why Seq.map does not propagate exceptions? collections exception f%23 mapping sequences KeyNotFoundException Why Seq.map CollectionHasValidItems List.map d.Item keys1 keys2 result1 result2 F# - Why Seq.map does not propagate exceptions? Imagine the following code: No...
[ 0.002105712890625, 0.0281982421875, 0.0125732421875, -0.0267333984375, -0.00372314453125, -0.002685546875, 0.0198974609375, 0.015869140625, -0.007232666015625, -0.002227783203125, -0.007049560546875, 0.03125, 0.01263427734375, 0.0225830078125, 0.029052734375, -0.005828857421875, 0.00...
[ 563, 4904, 44084, 503, 864, 62346, 959, 175648, 131527, 67, 7, 42486, 1238, 3742, 291, 26783, 40, 26513, 26824, 122116, 27591, 7030, 63928, 68220, 6495, 42272, 2982, 32036, 22799, 304, 16750, 5, 14602, 133196, 3034, 43240, 41206, 15549, 47,...
[ 0.07421875, 0.1378173828125, 0.1123046875, 0.1151123046875, 0.208740234375, 0.20849609375, 0.123046875, 0.1744384765625, 0.2255859375, 0.018585205078125, 0.0120849609375, 0.138427734375, 0.0199127197265625, 0.08221435546875, 0.1016845703125, 0.0155181884765625, 0.043304443359375, 0...
embed
38337854_c0
38337854
fsharp
0
Title: The type &#x27;XmlProvider&lt;...&gt;.Parameter&#x27; does not support the operator &#x27;get_Value&#x27;? Problem title: The type &#x27;XmlProvider&lt;...&gt;.Parameter&#x27; does not support the operator &#x27;get_Value&#x27;? Tags: f%23-data, f%23 Problem: The type 'XmlProvider<...>.Parameter' does not suppor...
The type &#x27;XmlProvider&lt;...&gt;.Parameter&#x27; does not support the operator &#x27;get_Value&#x27;? The type &#x27;XmlProvider&lt;...&gt;.Parameter&#x27; does not support the operator &#x27;get_Value&#x27;? f%23-data f%23 XmlProvider Parameter get_Value input1 othersOf1 xml1 Parse Seq.tryFind Name Option.map Val...
[ -0.01177978515625, 0.0281982421875, 0.0224609375, -0.005645751953125, -0.00075531005859375, -0.00738525390625, 0.0040283203125, -0.01153564453125, 0.0010833740234375, -0.016845703125, 0.0167236328125, 0.004669189453125, 0.0030364990234375, -0.02099609375, 0.01275634765625, -0.025390625...
[ 10644, 3768, 1542, 7237, 177997, 62160, 5386, 55292, 29089, 14602, 959, 8060, 39933, 3794, 856, 50770, 1230, 5, 70, 1238, 167218, 27495, 10135, 3742, 1193, 1720, 2046, 107730, 27060, 132887, 418, 131492, 2392, 864, 15123, 204582, 15757, 86769...
[ 0.1815185546875, 0.06036376953125, 0.0811767578125, 0.15966796875, 0.199951171875, 0.1888427734375, 0.0482177734375, 0.1138916015625, 0.1832275390625, 0.017303466796875, 0.1146240234375, 0.1971435546875, 0.211669921875, 0.1533203125, 0.16748046875, 0.22265625, 0.0253753662109375, 0...
embed
40997545_c0
40997545
fsharp
0
Title: F# code porting from windows to ubuntu Problem title: F# code porting from windows to ubuntu Tags: ubuntu-16.04, f%23 Problem: F# code porting from windows to ubuntu I am windows developer and trying to write a program on ubuntu in F# I have ubuntu 16.04 and I am following video https://channel9.msdn.com/Events/...
F# code porting from windows to ubuntu F# code porting from windows to ubuntu ubuntu-16.04 f%23 windows ubuntu-16.04 F# code porting from windows to ubuntu I am windows developer and trying to write a program on ubuntu in F# I have ubuntu 16.04 and I am following video https://channel9.msdn.com/Events/Build/2016/T661 I...
[ -0.0020904541015625, 0.02197265625, -0.007659912109375, 0.0033721923828125, -0.017822265625, -0.0211181640625, 0.0191650390625, -0.01544189453125, 0.0035400390625, 0.00860595703125, 0.012451171875, -0.0157470703125, 0.0245361328125, 0.017333984375, -0.002105712890625, 0.00860595703125,...
[ 563, 4904, 18151, 196, 1916, 1295, 54825, 47, 198996, 13528, 7709, 1238, 3742, 106001, 31577, 33022, 1528, 98, 6849, 25632, 1202, 121137, 27317, 178046, 20600, 20633, 1179, 18548, 99929, 132340, 68107, 144283, 19048, 19336, 33600, 31, 8999, 2...
[ 0.157470703125, 0.24267578125, 0.2171630859375, 0.1251220703125, 0.0281219482421875, 0.1025390625, 0.1708984375, 0.1483154296875, 0.2088623046875, 0.1280517578125, 0.1378173828125, 0.118896484375, 0.076171875, 0.0908203125, 0.014495849609375, 0.052459716796875, 0.1336669921875, 0.0...
embed
3567675_c1
3567675
fsharp
1
Dump = Agent.Start(fun (inbox: MailboxProcessor<string>) -> async{ use w2 = new StreamWriter(@"\Errors.txt") let dumpError =fun (error:string) -> w2.WriteLine( error ) let dumpTweet = dumpToDatabase "stream" while true do let! msg = inbox.Receive() try let tw = decode msg dumpTweet tw with | :? MySql.Data.MySqlClient.M...
Dump = Agent.Start(fun (inbox: MailboxProcessor<string>) -> async{ use w2 = new StreamWriter(@"\Errors.txt") let dumpError =fun (error:string) -> w2.WriteLine( error ) let dumpTweet = dumpToDatabase "stream" while true do let! msg = inbox.Receive() try let tw = decode msg dumpTweet tw with | :? MySql.Data.MySqlClient.M...
[ 0.01104736328125, 0.0283203125, -0.0189208984375, 0.011474609375, 0.00885009765625, 0.0123291015625, 0.01416015625, -0.007080078125, -0.007293701171875, -0.01519775390625, -0.017333984375, 0.005950927734375, 0.03955078125, -0.00518798828125, 0.0224609375, 0.0113525390625, 0.013061523...
[ 786, 2676, 2203, 54603, 126597, 16498, 73, 11728, 25919, 10752, 26531, 748, 91693, 12654, 4527, 148, 304, 115061, 1456, 2783, 18468, 31611, 124326, 115, 188800, 5442, 18781, 93232, 18499, 1177, 126, 7763, 137989, 37382, 86429, 12960, 29568, 2...
[ 0.2119140625, 0.26416015625, 0.050262451171875, 0.20849609375, 0.1571044921875, 0.1832275390625, 0.05126953125, 0.1834716796875, 0.067626953125, 0.02545166015625, 0.112548828125, 0.0816650390625, 0.1038818359375, 0.123291015625, 0.0280609130859375, 0.0755615234375, 0.088623046875, ...
embed
8094930_c0
8094930
fsharp
0
Title: Result of calling IEquatable&lt;T&gt;.Equals(T obj) when this == null and obj == null? Problem title: Result of calling IEquatable&lt;T&gt;.Equals(T obj) when this == null and obj == null? Tags: f%23, .net, c%23, equality, equals Problem: Result of calling IEquatable .Equals(T obj) when this == null and obj == n...
Result of calling IEquatable&lt;T&gt;.Equals(T obj) when this == null and obj == null? Result of calling IEquatable&lt;T&gt;.Equals(T obj) when this == null and obj == null? f%23 .net c%23 equality equals Result IEquatable Equals Result of calling IEquatable .Equals(T obj) when this == null and obj == null? What should...
[ 0.0234375, 0.0021209716796875, 0.0294189453125, 0.0157470703125, -0.01904296875, -0.013427734375, 0.0223388671875, -0.012451171875, -0.007568359375, 0.0186767578125, 0.003662109375, 0.01611328125, -0.0185546875, 0.0196533203125, 0.0130615234375, -0.006011962890625, 0.0341796875, -0...
[ 126684, 159029, 75536, 90065, 2886, 1277, 618, 1230, 5386, 647, 71723, 7, 995, 170, 3229, 903, 69112, 56574, 136, 1238, 3742, 1179, 501, 28, 161789, 105950, 241, 4865, 5608, 54, 3293, 18151, 139392, 563, 4904, 9969, 34759, 29479, 1957, 30...
[ 0.1619873046875, 0.1058349609375, 0.1668701171875, 0.195068359375, 0.1778564453125, 0.05438232421875, 0.138916015625, 0.038330078125, 0.0667724609375, 0.054901123046875, 0.1865234375, 0.0408935546875, 0.1259765625, 0.167724609375, 0.0631103515625, 0.042694091796875, 0.144287109375, ...
embed
38403635_c0
38403635
fsharp
0
Title: How to convert the download program to async? Problem title: How to convert the download program to async? Tags: f%23, f%23-data Problem: How to convert the download program to async? I have the following code open FSharp.Data let downloadFile link = ...... use os = File.Create(...) Http.RequestStream(....).Repo...
How to convert the download program to async? How to convert the download program to async? f%23 f%23-data How FSharp.Data File.Create Http.RequestStream ReponseStream.CopyTo Seq.iter AsyncRequestStream CopyTo Http.AsyncRequestStream Error Async.Start Async.RunSynchronously How to convert the download program to async?...
[ -0.025146484375, 0.01611328125, 0.002777099609375, 0.00982666015625, 0.007171630859375, 0.0103759765625, 0.00186920166015625, 0.011474609375, 0.004241943359375, -0.03564453125, -0.007415771484375, -0.00872802734375, 0.01373291015625, 0.00482177734375, 0.0225830078125, -0.0164794921875,...
[ 11249, 47, 96760, 7026, 1528, 10, 12654, 238, 70, 1238, 3742, 27495, 10135, 93774, 3467, 254, 5, 137989, 42724, 63784, 3062, 75616, 115061, 5416, 184, 10625, 6493, 7763, 16840, 62, 146930, 212059, 126597, 163321, 217835, 127, 1900, 79850, 2...
[ 0.083251953125, 0.1397705078125, 0.2056884765625, 0.22509765625, 0.1810302734375, 0.1077880859375, 0.244140625, 0.1920166015625, 0.02252197265625, 0.029296875, 0.04937744140625, 0.07427978515625, 0.089599609375, 0.07354736328125, 0.1839599609375, 0.2071533203125, 0.01214599609375, ...
embed
38230083_c0
38230083
fsharp
0
Title: How do you call F# methods in a PCL that return a string option, from an Xamarin Android C# project? Problem title: How do you call F# methods in a PCL that return a string option, from an Xamarin Android C# project? Tags: xamarin, xamarin.android, f%23 Problem: How do you call F# methods in a PCL that return a ...
How do you call F# methods in a PCL that return a string option, from an Xamarin Android C# project? How do you call F# methods in a PCL that return a string option, from an Xamarin Android C# project? xamarin xamarin.android f%23 an How PCL Xamarin Android FSharpPCL2 Class1 this.X Option.map Microsoft.FSharp.Core.FSha...
[ 0.006744384765625, 0.0380859375, 0.00946044921875, 0.00653076171875, -0.00124359130859375, -0.0057373046875, 0.00982666015625, -0.0186767578125, -0.01165771484375, -0.00518798828125, -0.004150390625, -0.037841796875, 0.004608154296875, 0.011962890625, 0.0194091796875, 0.007720947265625...
[ 11249, 11782, 563, 4904, 150624, 6107, 866, 30646, 79315, 35829, 1295, 8606, 44503, 3952, 13452, 23, 313, 2459, 51796, 532, 1238, 3949, 3742, 93774, 3467, 254, 12233, 304, 35014, 418, 903, 1542, 86769, 62346, 7244, 36381, 50886, 39029, 2828...
[ 0.0221405029296875, 0.1513671875, 0.1236572265625, 0.2274169921875, 0.1829833984375, 0.1395263671875, 0.1839599609375, 0.0994873046875, 0.1929931640625, 0.1749267578125, 0.048858642578125, 0.1339111328125, 0.187255859375, 0.1923828125, 0.112060546875, 0.025604248046875, 0.01300048828...
embed
14185631_c0
14185631
fsharp
0
Title: Using SqlEntityConnection, mapping of CLR type to EDM type is ambiguous Problem title: Using SqlEntityConnection, mapping of CLR type to EDM type is ambiguous Tags: entity-framework, type-providers, f%23, f%23-3.0 Problem: Using SqlEntityConnection, mapping of CLR type to EDM type is ambiguous I'm trying to rewr...
Using SqlEntityConnection, mapping of CLR type to EDM type is ambiguous Using SqlEntityConnection, mapping of CLR type to EDM type is ambiguous entity-framework type-providers f%23 f%23-3.0 Using SqlEntityConnection CLR EDM Using SqlEntityConnection, mapping of CLR type to EDM type is ambiguous I'm trying to rewrite a ...
[ 0.0228271484375, 0.00183868408203125, -0.0028076171875, -0.005859375, -0.0172119140625, 0.0030975341796875, -0.0028839111328125, 0.0260009765625, -0.00640869140625, -0.01422119140625, -0.00131988525390625, -0.01141357421875, 0.00823974609375, 0.0125732421875, -0.000850677490234375, 0.0...
[ 345, 159, 99247, 7768, 18, 2481, 235603, 1830, 291, 26783, 313, 138535, 10644, 47, 241, 31246, 83, 920, 12282, 10821, 77630, 939, 160328, 18244, 93136, 1238, 3742, 27495, 132265, 456, 434, 18781, 28875, 8781, 4027, 1295, 4904, 563, 81450, ...
[ 0.032928466796875, 0.03167724609375, 0.172607421875, 0.041473388671875, 0.088623046875, 0.079833984375, 0.1517333984375, 0.057037353515625, 0.16455078125, 0.1409912109375, 0.06683349609375, 0.25390625, 0.1773681640625, 0.06658935546875, 0.0953369140625, 0.239013671875, 0.011962890625...
embed
24750775_c0
24750775
fsharp
0
Title: How to override GetRootPath for Nancy bootstrapper? Problem title: How to override GetRootPath for Nancy bootstrapper? Tags: .net, f%23, nancy Problem: How to override GetRootPath for Nancy bootstrapper? My try: type Bootstrapper() = inherit DefaultNancyBootstrapper() interface IRootPathProvider with override i....
How to override GetRootPath for Nancy bootstrapper? How to override GetRootPath for Nancy bootstrapper? .net f%23 nancy How GetRootPath Nancy Bootstrapper DefaultNancyBootstrapper IRootPathProvider i.GetRootPath Environment.CurrentDirectory i.Equals i.GetHashCode i.GetType i.ToString How to override GetRootPath for Nan...
[ 0.0021514892578125, -0.001556396484375, 0.006744384765625, 0.0120849609375, -0.0223388671875, -0.0179443359375, 0.0400390625, 0.00183868408203125, -0.00567626953125, -0.0284423828125, 0.00396728515625, -0.00616455078125, -0.0272216796875, 0.0029144287109375, -0.00341796875, -0.00842285...
[ 11249, 47, 645, 416, 112, 20779, 12724, 818, 683, 10519, 100, 156946, 49935, 2816, 8079, 1179, 1238, 3742, 24, 27771, 58800, 1021, 4645, 12647, 31, 177997, 724, 126, 686, 1900, 474, 15724, 184911, 17, 71723, 6495, 114211, 196707, 7763, 71...
[ 0.0775146484375, 0.027923583984375, 0.114990234375, 0.1778564453125, 0.095458984375, 0.13720703125, 0.1661376953125, 0.1282958984375, 0.1507568359375, 0.1754150390625, 0.044586181640625, 0.279296875, 0.137451171875, 0.1431884765625, 0.1220703125, 0.1353759765625, 0.002655029296875, ...
embed
35528682_c0
35528682
fsharp
0
Title: Error FS0001, this function was expected to have type byref&lt;int&gt; Problem title: Error FS0001, this function was expected to have type byref&lt;int&gt; Tags: f%23 Problem: Error FS0001, this function was expected to have type byref I have a made a simple function that wraps common F# functions of signature ...
Error FS0001, this function was expected to have type byref&lt;int&gt; Error FS0001, this function was expected to have type byref&lt;int&gt; f%23 Error FS0001 System System.Runtime.InteropServices Given g:byref Some None a:int b:int Math.DivRem TryDivideWrapper TryDivide Out cRef:byref Error FS0001, this function was ...
[ 0.004791259765625, 0.021728515625, 0.0079345703125, -0.00848388671875, -0.0166015625, -0.00933837890625, -0.01904296875, -0.0191650390625, -0.004486083984375, 0.01324462890625, -0.00738525390625, 0.0224609375, 0.00799560546875, 0.0147705078125, 0.0140380859375, 0.0011749267578125, -0...
[ 212059, 93774, 188735, 903, 32354, 509, 84751, 10644, 390, 29087, 4288, 5386, 1238, 3742, 12353, 6032, 44851, 2146, 121979, 77878, 706, 1272, 31384, 438, 10, 876, 78804, 192576, 4332, 39, 40858, 14055, 33193, 219, 8079, 13538, 190015, 8781, ...
[ 0.1746826171875, 0.18310546875, 0.303955078125, 0.04193115234375, 0.1790771484375, 0.05902099609375, 0.1634521484375, 0.167724609375, 0.1317138671875, 0.26318359375, 0.09820556640625, 0.009033203125, 0.126220703125, 0.1119384765625, 0.06353759765625, 0.03704833984375, 0.0316467285156...
embed
38536362_c0
38536362
fsharp
0
Title: How implement Try/Except/Finally in a made-up language interpreter with goto or similar? Problem title: How implement Try/Except/Finally in a made-up language interpreter with goto or similar? Tags: f%23, interpreter, control-flow, exception, compiler-construction Problem: How implement Try/Except/Finally in a m...
How implement Try/Except/Finally in a made-up language interpreter with goto or similar? How implement Try/Except/Finally in a made-up language interpreter with goto or similar? f%23 interpreter control-flow exception compiler-construction How Try Except Finally How implement Try/Except/Finally in a made-up language in...
[ 0.008056640625, 0.01434326171875, 0.001312255859375, 0.015869140625, -0.0196533203125, -0.0125732421875, 0.01458740234375, -0.005157470703125, 0.00140380859375, 0.004150390625, -0.01287841796875, -0.00433349609375, -0.006072998046875, 0.0036773681640625, 0.03662109375, -0.005126953125,...
[ 11249, 29479, 40858, 64, 19279, 19462, 919, 73, 25958, 23, 7228, 2037, 46876, 29481, 56, 678, 4163, 31, 21373, 1238, 3949, 3742, 6226, 118664, 131527, 9969, 34759, 238478, 218288, 201106, 9790, 4460, 33870, 123309, 2481, 163812, 563, 4904, ...
[ 0.0804443359375, 0.20068359375, 0.251953125, 0.044525146484375, 0.1058349609375, 0.2293701171875, 0.1322021484375, 0.156005859375, 0.168212890625, 0.020538330078125, 0.091796875, 0.08880615234375, 0.12353515625, 0.2222900390625, 0.1463623046875, 0.03216552734375, 0.14599609375, 0.1...
embed
42184242_c0
42184242
fsharp
0
Title: F# 9 names into disjointed groups of 2, 3 and 4 Problem title: F# 9 names into disjointed groups of 2, 3 and 4 Tags: f%23, list Problem: F# 9 names into disjointed groups of 2, 3 and 4 I am very new to F# and have been looking at and running examples of simple problems I've found online. I stumbled on one that d...
F# 9 names into disjointed groups of 2, 3 and 4 F# 9 names into disjointed groups of 2, 3 and 4 f%23 list x::xs n-1 x::ys x::zs n::ns g::gs EntryPoint One Two Three Four Five Six Seven Eight Nine F# 9 names into disjointed groups of 2, 3 and 4 I am very new to F# and have been looking at and running examples of simple ...
[ -0.00872802734375, 0.0052490234375, -0.001190185546875, 0.0037994384765625, 0.00299072265625, 0.006317138671875, -0.01300048828125, -0.01348876953125, 0.00897216796875, 0.02880859375, 0.0022735595703125, -0.00640869140625, 0.03369140625, -0.002044677734375, -0.014404296875, 0.010253906...
[ 563, 4904, 483, 123055, 3934, 2837, 513, 73, 94407, 116, 138, 201, 3674, 136, 1238, 3949, 3742, 5303, 5759, 4778, 1779, 9405, 357, 15123, 147534, 6561, 32964, 129335, 65056, 156615, 84247, 132556, 22553, 1520, 111, 27781, 8781, 44402, 959, ...
[ 0.12548828125, 0.2054443359375, 0.230224609375, 0.207763671875, 0.1302490234375, 0.1298828125, 0.1783447265625, 0.0631103515625, 0.217529296875, 0.1195068359375, 0.1688232421875, 0.184814453125, 0.005096435546875, 0.031402587890625, 0.0921630859375, 0.018218994140625, 0.1571044921875...
embed
45340037_c0
45340037
fsharp
0
Title: How does the compiler treat a boolean argument that has been partially applied? Problem title: How does the compiler treat a boolean argument that has been partially applied? Tags: f%23, if-statement, boolean Problem: How does the compiler treat a boolean argument that has been partially applied? I read an inter...
How does the compiler treat a boolean argument that has been partially applied? How does the compiler treat a boolean argument that has been partially applied? f%23 if-statement boolean How How does the compiler treat a boolean argument that has been partially applied? I read an interesting article about boolean argume...
[ -0.00127410888671875, -0.006622314453125, 0.0079345703125, 0.0045166015625, 0.0024261474609375, 0.01153564453125, 0.01361083984375, -0.00640869140625, -0.0123291015625, 0.0211181640625, 0.001983642578125, -0.005767822265625, -0.037353515625, 0.0235595703125, 0.01611328125, 0.0017700195...
[ 11249, 14602, 9969, 34759, 85689, 337, 31, 34677, 10750, 450, 1556, 2809, 2878, 25958, 190659, 1238, 3742, 2174, 61340, 674, 70, 10, 12301, 49041, 32354, 5974, 2452, 2480, 11030, 66, 40899, 48650, 4390, 142484, 5073, 6276, 29089, 11522, 654...
[ 0.050384521484375, 0.041107177734375, 0.183349609375, 0.215087890625, 0.193115234375, 0.0960693359375, 0.153076171875, 0.2379150390625, 0.2266845703125, 0.04632568359375, 0.0950927734375, 0.07342529296875, 0.1878662109375, 0.135498046875, 0.17578125, 0.068359375, 0.12158203125, 0.1...
embed
47138217_c0
47138217
fsharp
0
Title: Minimum and/or maximum list values Problem title: Minimum and/or maximum list values Tags: f%23 Problem: Minimum and/or maximum list values While doing practice, I build a simple function that returns the biggest value in a list: let rec findMax = // Find maximum value in list fun l -> let rec aux = fun l k -> m...
Minimum and/or maximum list values Minimum and/or maximum list values f%23 Minimum Find x::xs Minimum and/or maximum list values While doing practice, I build a simple function that returns the biggest value in a list: Meanwhile, I built a similar function to find the smallest element in a list: Here the problem: I ini...
[ -0.00994873046875, -0.0022735595703125, 0.0269775390625, -0.0146484375, -0.00982666015625, 0.007232666015625, 0.0184326171875, -0.007476806640625, 0.0240478515625, 0.00024127960205078125, 0.0057373046875, -0.00933837890625, 0.005096435546875, 0.00750732421875, 0.0296630859375, 0.010559...
[ 173858, 136, 64, 748, 38132, 5303, 142424, 1238, 3949, 3742, 26040, 1022, 425, 41361, 45367, 8781, 32354, 30646, 129058, 34292, 23, 88303, 21373, 7413, 19336, 525, 12830, 2967, 61475, 15044, 2970, 678, 472, 2203, 757, 4734, 2878, 5885, 7134...
[ 0.255126953125, 0.0989990234375, 0.113037109375, 0.0606689453125, 0.2342529296875, 0.2364501953125, 0.236328125, 0.10003662109375, 0.052398681640625, 0.1669921875, 0.1595458984375, 0.11572265625, 0.07049560546875, 0.08013916015625, 0.08978271484375, 0.096923828125, 0.17431640625, 0...
embed
59775846_c1
59775846
fsharp
1
if point = this.endPoint then this.solutionPath <- path else if checkVisited point visited = false && this.checkPoint point && this.isWall point = false then dfs(fst(point),snd(point),(path@[point]),(visited@[(x,y)])) This is another way (mooore optimized) of searching the solution in a maze let rec dfs(x,y,path) = //...
if point = this.endPoint then this.solutionPath <- path else if checkVisited point visited = false && this.checkPoint point && this.isWall point = false then dfs(fst(point),snd(point),(path@[point]),(visited@[(x,y)])) This is another way (mooore optimized) of searching the solution in a maze let rec dfs(x,y,path) = //...
[ 0.009521484375, 0.03466796875, -0.004638671875, 0.0166015625, 0.015869140625, 0.01043701171875, -0.021240234375, 0.0142822265625, 0.0128173828125, -0.0400390625, 0.0045166015625, -0.0224609375, 0.005401611328125, 0.0301513671875, -0.01007080078125, 0.00970458984375, 0.007568359375, ...
[ 2174, 6275, 2203, 903, 3611, 147534, 7068, 166589, 683, 10519, 60875, 37076, 12765, 65331, 14, 3674, 36997, 71, 98320, 78292, 164, 198076, 104, 17447, 132, 420, 271, 38496, 7, 2208, 128405, 981, 169697, 53, 16, 3293, 83, 15700, 3917, 1557...
[ 0.087646484375, 0.2353515625, 0.0888671875, 0.20361328125, 0.194091796875, 0.21875, 0.002410888671875, 0.2198486328125, 0.10015869140625, 0.214111328125, 0.225830078125, 0.019775390625, 0.199462890625, 0.1583251953125, 0.12841796875, 0.097412109375, 0.2498779296875, 0.0933227539062...
embed
6313979_c0
6313979
fsharp
0
Title: F# function to be used in c# library : delegate with byref type Problem title: F# function to be used in c# library : delegate with byref type Tags: f%23, c%23, .net Problem: F# function to be used in c# library : delegate with byref type I have a c# dll library with one method g accepting the following function...
F# function to be used in c# library : delegate with byref type F# function to be used in c# library : delegate with byref type f%23 c%23 .net f:float x:float func:byref grad:float F# function to be used in c# library : delegate with byref type I have a c# dll library with one method g accepting the following function ...
[ 0.0001697540283203125, 0.02490234375, -0.005828857421875, -0.018310546875, 0.00151824951171875, -0.0030059814453125, 0.006500244140625, 0.002532958984375, 0.006378173828125, 0.00665283203125, -0.01141357421875, 0.0133056640625, -0.01348876953125, -0.01129150390625, 0.0032958984375, -0....
[ 563, 4904, 32354, 47, 11814, 23, 501, 35773, 1294, 102329, 13, 678, 390, 29087, 10644, 1238, 3742, 1179, 12, 52347, 257, 1022, 7477, 1272, 6671, 81717, 1632, 55300, 706, 26946, 25632, 313, 237, 107730, 14361, 238, 142424, 150011, 138256, ...
[ 0.141845703125, 0.2265625, 0.193115234375, 0.028411865234375, 0.1336669921875, 0.1060791015625, 0.02679443359375, 0.1551513671875, 0.07220458984375, 0.264404296875, 0.09326171875, 0.0699462890625, 0.1248779296875, 0.25439453125, 0.158935546875, 0.2288818359375, 0.0966796875, 0.0778...
embed
74655291_c0
74655291
fsharp
0
Title: Simple recursive function f# Problem title: Simple recursive function f# Tags: f%23-interactive, f%23 Problem: Simple recursive function f# This is an example from my professors book, but when I try to run it in f# it doesn't work. Can someone point out what is wrong here? let rec readNonZeroValue a = let a = in...
Simple recursive function f# Simple recursive function f# f%23-interactive f%23 Simple System.Console ReadLine Error Try Please You System.Console.ReadLine Fsharp Simple recursive function f# This is an example from my professors book, but when I try to run it in f# it doesn't work. Can someone point out what is wrong ...
[ -0.0234375, -0.003875732421875, -0.000438690185546875, 0.0032806396484375, 0.00555419921875, 0.0068359375, 0.006256103515625, -0.004425048828125, -0.00994873046875, -0.0087890625, 0.0150146484375, -0.006622314453125, -0.0228271484375, -0.0079345703125, 0.033935546875, -0.00588989257812...
[ 60552, 195625, 5844, 32354, 1238, 4904, 27495, 10433, 71232, 3742, 12353, 11935, 40777, 4764, 93232, 212059, 40858, 30607, 2583, 31345, 563, 89280, 254, 27781, 16030, 12877, 9790, 11675, 23, 22027, 18, 4488, 6275, 44691, 9842, 59090, 8781, 18...
[ 0.1715087890625, 0.2113037109375, 0.1009521484375, 0.1473388671875, 0.113525390625, 0.18701171875, 0.07867431640625, 0.0570068359375, 0.05389404296875, 0.080078125, 0.072998046875, 0.001861572265625, 0.1092529296875, 0.17333984375, 0.1793212890625, 0.1463623046875, 0.1534423828125, ...
embed
38126228_c0
38126228
fsharp
0
Title: What is the simplest way to check that an incoming request contains a certain header value Problem title: What is the simplest way to check that an incoming request contains a certain header value Tags: f%23, suave Problem: What is the simplest way to check that an incoming request contains a certain header valu...
What is the simplest way to check that an incoming request contains a certain header value What is the simplest way to check that an incoming request contains a certain header value f%23 suave What JsonConvert.SerializeObject Successful.OK NotOk RequestErrors.BAD_REQUEST Result Success Failure DoThing GET What is the s...
[ -0.0250244140625, 0.01190185546875, -0.001068115234375, 0.0245361328125, -0.0048828125, 0.0028533935546875, 0.0036468505859375, -0.001556396484375, 0.004791259765625, -0.005523681640625, 0.021240234375, -0.0036468505859375, -0.012939453125, 0.00010633468627929688, 0.0018768310546875, 0...
[ 30362, 18, 3917, 47, 12765, 450, 23, 277, 50336, 70541, 7, 24233, 10336, 56, 34292, 1238, 3949, 3742, 109829, 821, 1681, 11549, 25435, 119066, 75161, 144053, 7844, 9092, 11205, 73852, 75616, 18468, 31611, 8031, 53966, 126684, 190355, 20800, ...
[ 0.1671142578125, 0.079833984375, 0.047119140625, 0.01995849609375, 0.2332763671875, 0.023162841796875, 0.080078125, 0.1387939453125, 0.2220458984375, 0.166259765625, 0.023834228515625, 0.1044921875, 0.1851806640625, 0.1314697265625, 0.16357421875, 0.00384521484375, 0.006561279296875,...
embed
38451661_c0
38451661
fsharp
0
Title: C# DiffSharp v0.7.7 Looking for FSharp.Core v4.4.0.0 Problem title: C# DiffSharp v0.7.7 Looking for FSharp.Core v4.4.0.0 Tags: f%23, diffsharp, c%23 Problem: C# DiffSharp v0.7.7 Looking for FSharp.Core v4.4.0.0 I've been trying to use the most recent version of DiffSharp (v0.7.7) with C#. I keep getting the foll...
C# DiffSharp v0.7.7 Looking for FSharp.Core v4.4.0.0 C# DiffSharp v0.7.7 Looking for FSharp.Core v4.4.0.0 f%23 diffsharp c%23 DiffSharp v0.7.7 Looking FSharp.Core v4.4.0.0 C# DiffSharp v0.7.7 Looking for FSharp.Core v4.4.0.0 I've been trying to use the most recent version of DiffSharp (v0.7.7) with C#. I keep getting t...
[ -0.00628662109375, 0.03076171875, 0.00897216796875, -0.01263427734375, 0.0021209716796875, -0.011474609375, -0.0218505859375, 0.0133056640625, -0.0025482177734375, -0.01220703125, 0.00823974609375, -0.0159912109375, -0.016845703125, 0.00836181640625, 0.02587890625, 0.006683349609375, ...
[ 4904, 191144, 40798, 10681, 81, 134926, 966, 157268, 100, 93774, 3467, 254, 5, 50886, 13, 180874, 99929, 313, 1238, 3949, 3742, 71337, 89280, 272, 31577, 4527, 2684, 17309, 11389, 334, 36076, 678, 13695, 25632, 18499, 37202, 186, 16487, 406...
[ 0.216064453125, 0.2232666015625, 0.2125244140625, 0.25634765625, 0.076171875, 0.152587890625, 0.1654052734375, 0.0775146484375, 0.0872802734375, 0.122802734375, 0.2291259765625, 0.232177734375, 0.058837890625, 0.2088623046875, 0.13037109375, 0.26123046875, 0.2099609375, 0.014907836...
embed
30352879_c0
30352879
fsharp
0
Title: How do you construct a generic union case in an F# quotation? Problem title: How do you construct a generic union case in an F# quotation? Tags: f%23, quotations Problem: How do you construct a generic union case in an F# quotation? The following code fails: open Microsoft.FSharp.Reflection open Microsoft.FSharp...
How do you construct a generic union case in an F# quotation? How do you construct a generic union case in an F# quotation? f%23 quotations System.ArgumentException How Microsoft.FSharp.Reflection Microsoft.FSharp.Quotations FSharpType.GetUnionCases List Array.find c.Name Empty Cons List.map Expr.Value List.fold Expr.N...
[ -0.019287109375, 0.0206298828125, -0.004547119140625, -0.024169921875, -0.006439208984375, -0.01470947265625, -0.005767822265625, -0.000919342041015625, 0.0113525390625, -0.020263671875, 0.003936767578125, -0.0028076171875, 0.0152587890625, -0.00799560546875, 0.00408935546875, 0.009582...
[ 11249, 64549, 189534, 69941, 7225, 563, 4904, 81732, 1363, 54, 23, 1238, 3742, 5256, 12353, 1234, 63928, 7244, 36381, 3467, 254, 190015, 133, 31583, 818, 93774, 196707, 147547, 20370, 32036, 111607, 163612, 31678, 39215, 62346, 42822, 441, 69...
[ 0.0458984375, 0.2064208984375, 0.2369384765625, 0.23291015625, 0.238037109375, 0.123291015625, 0.218505859375, 0.20361328125, 0.07635498046875, 0.0149688720703125, 0.0443115234375, 0.0810546875, 0.1221923828125, 0.05755615234375, 0.05694580078125, 0.077880859375, 0.0972900390625, 0...
embed
9248426_c0
9248426
fsharp
0
Title: Basic error recovery with FParsec Problem title: Basic error recovery with FParsec Tags: .net, f%23, fparsec Problem: Basic error recovery with FParsec Assume I've this parser: let test p str = match run p str with | Success(result, _, _) -> printfn "Success: %A" result | Failure(errorMsg, _, _) -> printfn "Fail...
Basic error recovery with FParsec Basic error recovery with FParsec .net f%23 fparsec Basic FParsec Success Failure many1 Basic error recovery with FParsec Assume I've this parser: Now, "2+3;2*4;3*4;3+3;" will fail with error around 2*4; . But what is best practice if I want both the error for 2*4; and 3+3; ? Basically...
[ -0.016357421875, 0.0028076171875, -0.007537841796875, 0.0262451171875, -0.006805419921875, 0.01904296875, 0.0024261474609375, -0.006622314453125, 0.01275634765625, -0.01318359375, 0.00537109375, 0.0038299560546875, -0.00372314453125, 0.00015354156494140625, 0.005645751953125, -0.001533...
[ 91692, 18499, 145951, 678, 563, 28636, 39797, 1179, 1238, 3742, 2500, 144053, 190355, 5941, 66596, 272, 903, 366, 2189, 304, 85398, 74, 1639, 617, 363, 1221, 35782, 10932, 116, 6, 2367, 83, 2965, 41361, 2174, 3444, 15044, 100, 136, 138, ...
[ 0.1500244140625, 0.2196044921875, 0.2020263671875, 0.078369140625, 0.149658203125, 0.17529296875, 0.224853515625, 0.1141357421875, 0.08740234375, 0.0701904296875, 0.1282958984375, 0.1265869140625, 0.0855712890625, 0.0504150390625, 0.0823974609375, 0.04669189453125, 0.05548095703125, ...
embed
43397246_c0
43397246
fsharp
0
Title: Why is the %A specifier in F#&#x27;s printf non-existent in OCaml&#x27;s printf? Problem title: Why is the %A specifier in F#&#x27;s printf non-existent in OCaml&#x27;s printf? Tags: f%23, ocaml Problem: Why is the %A specifier in F#'s printf non-existent in OCaml's printf? In F#'s printf there is the format spe...
Why is the %A specifier in F#&#x27;s printf non-existent in OCaml&#x27;s printf? Why is the %A specifier in F#&#x27;s printf non-existent in OCaml&#x27;s printf? f%23 ocaml Why OCaml Result Failure Success Printf.printf string_of_result Why is the %A specifier in F#'s printf non-existent in OCaml's printf? In F#'s prin...
[ 0.002655029296875, -0.000946044921875, 0.03759765625, 0.0194091796875, 0.005767822265625, -0.0037384033203125, 0.01202392578125, 0.0024261474609375, 0.0262451171875, 0.00194549560546875, 0.0205078125, -0.02001953125, -0.01031494140625, -0.0179443359375, 0.00090789794921875, -0.01458740...
[ 44084, 1745, 284, 58735, 56, 563, 4904, 3768, 28412, 420, 351, 201367, 180, 105272, 141, 83, 1238, 3742, 36, 9779, 126684, 190355, 3408, 144053, 39754, 35662, 79315, 4390, 2109, 7136, 9384, 22, 19736, 27875, 2499, 10644, 2806, 151575, 27781...
[ 0.0869140625, 0.1575927734375, 0.1512451171875, 0.2310791015625, 0.0958251953125, 0.0997314453125, 0.16552734375, 0.048797607421875, 0.1614990234375, 0.159912109375, 0.0880126953125, 0.152587890625, 0.1043701171875, 0.1966552734375, 0.1688232421875, 0.010955810546875, 0.0243835449218...
embed
25571090_c0
25571090
fsharp
0
Title: Detect and Build Dependencies for C# Solutions Problem title: Detect and Build Dependencies for C# Solutions Tags: build-dependencies, f%23, c%23, build-process Problem: Detect and Build Dependencies for C# Solutions We have a Project with a number of different solutions files and each solution then has many pro...
Detect and Build Dependencies for C# Solutions Detect and Build Dependencies for C# Solutions build-dependencies f%23 c%23 build-process Detect Build Dependencies Solutions Detect and Build Dependencies for C# Solutions We have a Project with a number of different solutions files and each solution then has many project...
[ -0.0020751953125, 0.02490234375, 0.000606536865234375, 0.006622314453125, -0.01611328125, 0.01953125, -0.022216796875, -0.002166748046875, 0.009033203125, 0.0216064453125, -0.004974365234375, 0.005523681640625, -0.004608154296875, 0.05224609375, 0.0233154296875, 0.0225830078125, -0.0...
[ 579, 24762, 136, 121137, 262, 26885, 117538, 100, 313, 4904, 109339, 45367, 105254, 13, 1238, 3949, 3742, 63923, 27331, 10, 14012, 111, 12921, 51347, 102158, 12638, 29806, 5941, 77635, 581, 2967, 621, 450, 3871, 47, 186, 88303, 24233, 98423...
[ 0.1639404296875, 0.1492919921875, 0.10186767578125, 0.18359375, 0.1480712890625, 0.2269287109375, 0.206787109375, 0.041473388671875, 0.04864501953125, 0.238037109375, 0.15478515625, 0.20068359375, 0.1964111328125, 0.0670166015625, 0.0225067138671875, 0.006134033203125, 0.081298828125...
embed
66415141_c0
66415141
fsharp
0
Title: How to return Joined Tables as Strongly Typed Records in Dapper with F# Problem title: How to return Joined Tables as Strongly Typed Records in Dapper with F# Tags: dapper, f%23 Problem: How to return Joined Tables as Strongly Typed Records in Dapper with F# This library doesn't meet my needs https://github.com/...
How to return Joined Tables as Strongly Typed Records in Dapper with F# How to return Joined Tables as Strongly Typed Records in Dapper with F# dapper f%23 How Joined Tables Strongly Typed Records Dapper connection.QueryAsync Product Category product.Category CategoryId conn.QueryAsync Order OrderDetail How to return J...
[ -0.0133056640625, 0.0016632080078125, -0.00098419189453125, 0.008544921875, -0.01220703125, 0.0166015625, -0.033203125, -0.0206298828125, 0.00177001953125, -0.0269775390625, -0.00390625, -0.007110595703125, -0.0206298828125, -0.005340576171875, -0.01300048828125, 0.0174560546875, -0....
[ 11249, 30646, 113053, 297, 112997, 7, 237, 200537, 538, 60457, 89916, 930, 8079, 678, 563, 4904, 23, 48, 1238, 3949, 3742, 71, 94878, 41732, 12654, 73111, 49057, 12996, 3081, 81206, 46741, 35773, 1294, 23356, 27117, 32102, 67640, 11866, 346...
[ 0.01727294921875, 0.1922607421875, 0.177001953125, 0.0938720703125, 0.251953125, 0.006805419921875, 0.0738525390625, 0.1336669921875, 0.058746337890625, 0.1885986328125, 0.1905517578125, 0.1201171875, 0.2047119140625, 0.0148468017578125, 0.10205078125, 0.1998291015625, 0.021255493164...
embed
20805735_c0
20805735
fsharp
0
Title: Is this idiomatic F# for a fairly quick infinite recursive sequence? Problem title: Is this idiomatic F# for a fairly quick infinite recursive sequence? Tags: seq, immutability, f%23 Problem: Is this idiomatic F# for a fairly quick infinite recursive sequence? Whilst solving the 12th project euler problem I set ...
Is this idiomatic F# for a fairly quick infinite recursive sequence? Is this idiomatic F# for a fairly quick infinite recursive sequence? seq immutability f%23 Seq.sum System.Collections.Generic.Dictionary Is this idiomatic F# for a fairly quick infinite recursive sequence? Whilst solving the 12th project euler problem...
[ -0.0078125, -0.004669189453125, 0.005859375, -0.01165771484375, 0.00677490234375, -0.00543212890625, 0.00341796875, 0.015869140625, 0.0091552734375, -0.040283203125, 0.0020904541015625, 0.03173828125, -0.00147247314453125, 0.01611328125, 0.037109375, 0.02099609375, -0.01318359375, ...
[ 2071, 903, 49666, 9523, 563, 4904, 100, 180663, 63773, 54241, 195625, 5844, 40, 944, 3956, 13, 864, 566, 14311, 41159, 1238, 3742, 503, 11832, 12353, 78457, 8996, 135932, 12259, 10763, 3115, 427, 13452, 1175, 603, 2967, 208479, 1927, 1463, ...
[ 0.0555419921875, 0.0887451171875, 0.206787109375, 0.1591796875, 0.12255859375, 0.2125244140625, 0.048980712890625, 0.12841796875, 0.185791015625, 0.1448974609375, 0.1868896484375, 0.0665283203125, 0.106201171875, 0.1368408203125, 0.042327880859375, 0.042022705078125, 0.154541015625, ...
embed
78075195_c0
78075195
fsharp
0
Title: how to create a type that contains an array of a specific length, in F# Problem title: how to create a type that contains an array of a specific length, in F# Tags: dependent-type, f%23 Problem: how to create a type that contains an array of a specific length, in F# I have this type: [<CLIMutable>] type MLDataRo...
how to create a type that contains an array of a specific length, in F# how to create a type that contains an array of a specific length, in F# dependent-type f%23 CLIMutable MLDataRow ColumnName Label LoadColumn Features VectorType float32 Build MLDataRow.Build how to create a type that contains an array of a specific...
[ 0.0069580078125, 0.0208740234375, -0.01220703125, 0.02587890625, 0.0029296875, -0.0128173828125, 0.005218505859375, 0.01043701171875, 0.01324462890625, -0.00811767578125, -0.001129150390625, -0.0089111328125, -0.000823974609375, -0.0037841796875, -0.007568359375, -0.007232666015625, ...
[ 3642, 47, 28282, 10644, 450, 70541, 10298, 53, 111, 29458, 140909, 563, 4904, 23, 108750, 50986, 1238, 3742, 83318, 22819, 39456, 137989, 12724, 434, 233987, 163612, 129214, 78457, 316, 106594, 2609, 18770, 196707, 21917, 6460, 121137, 765, 9...
[ 0.08642578125, 0.0279541015625, 0.1756591796875, 0.26416015625, 0.043426513671875, 0.1651611328125, 0.1868896484375, 0.121826171875, 0.0782470703125, 0.2042236328125, 0.1861572265625, 0.1326904296875, 0.1939697265625, 0.039215087890625, 0.1754150390625, 0.185546875, 0.0875244140625, ...
embed
66558122_c0
66558122
fsharp
0
Title: Can&#x27;t insert rows into SQL Server table that contains triggers ( F Sharp SQL Provider ) Problem title: Can&#x27;t insert rows into SQL Server table that contains triggers ( F Sharp SQL Provider ) Tags: f%23, f%23-data Problem: Can't insert rows into SQL Server table that contains triggers ( F Sharp SQL Prov...
Can&#x27;t insert rows into SQL Server table that contains triggers ( F Sharp SQL Provider ) Can&#x27;t insert rows into SQL Server table that contains triggers ( F Sharp SQL Provider ) f%23 f%23-data Can SQL Server Sharp Provider ctx.Dbo.Products p.DefaultSupplierSku.Value pl.supplierSku Some None product.Id Guid.NewG...
[ 0.0034942626953125, 0.0177001953125, 0.01458740234375, -0.00701904296875, -0.0240478515625, -0.00213623046875, -0.0186767578125, -0.014404296875, -0.0023956298828125, -0.01446533203125, 0.01397705078125, 0.023193359375, 0.006011962890625, -0.00946044921875, 0.01141357421875, 0.00149536...
[ 4171, 3768, 18, 183540, 15555, 3934, 80866, 22687, 23180, 70541, 185553, 7, 563, 197106, 123089, 42, 3742, 10135, 425, 837, 10752, 77193, 187423, 11, 23157, 56786, 319, 856, 50770, 6456, 67565, 438, 12996, 6955, 46568, 22769, 114211, 108963, ...
[ 0.059173583984375, 0.03228759765625, 0.047149658203125, 0.1966552734375, 0.1798095703125, 0.07080078125, 0.160400390625, 0.117431640625, 0.170166015625, 0.09136962890625, 0.2288818359375, 0.04632568359375, 0.0723876953125, 0.1884765625, 0.142578125, 0.06884765625, 0.0169525146484375,...
embed
43698416_c0
43698416
fsharp
0
Title: Fix immediate cyclic references with discriminated unions Problem title: Fix immediate cyclic references with discriminated unions Tags: f%23, functional-programming, discriminated-union, .net, circular-reference Problem: Fix immediate cyclic references with discriminated unions I'm making a mini Pascal parser, ...
Fix immediate cyclic references with discriminated unions Fix immediate cyclic references with discriminated unions f%23 functional-programming discriminated-union .net circular-reference Fix Program Identifier Block VariableDeclaration ProcedureDeclaration Statement Fix immediate cyclic references with discriminated u...
[ 0.00058746337890625, 0.01153564453125, 0.01507568359375, 0.0208740234375, -0.006683349609375, -0.005859375, -0.00081634521484375, -0.00213623046875, 0.00787353515625, -0.02197265625, 0.01214599609375, 0.0213623046875, -0.00799560546875, 0.01080322265625, 0.024169921875, 0.017578125, ...
[ 96746, 168894, 187830, 91067, 7, 678, 55970, 3674, 69941, 238, 1238, 3742, 123309, 28966, 87046, 1179, 115339, 239879, 7663, 189543, 80231, 84572, 120152, 320, 170470, 22836, 20662, 7665, 167599, 366, 2189, 6002, 86531, 8060, 8, 18347, 54241, ...
[ 0.162109375, 0.177001953125, 0.217041015625, 0.2183837890625, 0.009490966796875, 0.075927734375, 0.2203369140625, 0.0770263671875, 0.21337890625, 0.0230865478515625, 0.008026123046875, 0.09515380859375, 0.1143798828125, 0.0987548828125, 0.1629638671875, 0.132080078125, 0.175415039062...
embed
54279396_c0
54279396
fsharp
0
Title: ResizeArray Instance in property Problem title: ResizeArray Instance in property Tags: c%23, c%23-to-f%23, f%23 Problem: ResizeArray Instance in property I try to convert C# code to F# Items = new List<Item> { new Item { Product = "", Category = "", Quantity = 1, Detail = "", Price = 220 } } Follow code F#: let ...
ResizeArray Instance in property ResizeArray Instance in property c%23 c%23-to-f%23 f%23 ResizeArray Instance Items List Item Product Category Quantity Detail Price items.Add OrderRequest Add Error FS0193 Possible Generic.List Generic.IEnumerable Incompatible ResizeArray Instance in property I try to convert C# code to...
[ -0.0028076171875, 0.01220703125, 0.0322265625, -0.01019287109375, 0.01129150390625, -0.00341796875, -0.006927490234375, -0.0142822265625, 0.009765625, 0.00433349609375, 0.02587890625, 0.00823974609375, -0.0081787109375, -0.0106201171875, 0.004913330078125, -0.006317138671875, -0.0097...
[ 853, 62539, 7614, 7092, 360, 116071, 23, 57266, 3742, 27495, 188, 420, 1238, 78426, 7, 32036, 73111, 49057, 75344, 88645, 48025, 55769, 4028, 81206, 75616, 29117, 212059, 93774, 6746, 11591, 115861, 88342, 154663, 20441, 2606, 56, 277, 10974,...
[ 0.12451171875, 0.19091796875, 0.1112060546875, 0.2005615234375, 0.055328369140625, 0.2088623046875, 0.077392578125, 0.234375, 0.09576416015625, 0.127197265625, 0.0936279296875, 0.04901123046875, 0.05181884765625, 0.2142333984375, 0.0285491943359375, 0.1162109375, 0.11962890625, 0.0...
embed
27127158_c0
27127158
fsharp
0
Title: Function pipelining with multiple parameters where one parameter is a generic list Problem title: Function pipelining with multiple parameters where one parameter is a generic list Tags: functional-programming, f%23 Problem: Function pipelining with multiple parameters where one parameter is a generic list I am ...
Function pipelining with multiple parameters where one parameter is a generic list Function pipelining with multiple parameters where one parameter is a generic list functional-programming f%23 function1 list:System.Collections.Generic.List Person x:int function2 Function pipelining with multiple parameters where one p...
[ -0.00185394287109375, 0.014892578125, -0.005401611328125, 0.017822265625, -0.01483154296875, 0.007476806640625, -0.003814697265625, -0.0169677734375, 0.02880859375, -0.01904296875, -0.0019989013671875, 0.002471923828125, 0.024658203125, 0.00860595703125, -0.0050048828125, -0.0118408203...
[ 28670, 10763, 137158, 150, 592, 678, 48716, 171859, 1632, 189534, 5303, 83, 123309, 28966, 1238, 3742, 32354, 84293, 78457, 8996, 135932, 12259, 154663, 15270, 1022, 4288, 304, 7440, 31577, 51339, 45767, 4488, 111, 9790, 28282, 2256, 71, 959,...
[ 0.129150390625, 0.044769287109375, 0.2120361328125, 0.186279296875, 0.1180419921875, 0.02764892578125, 0.20068359375, 0.2373046875, 0.1214599609375, 0.230712890625, 0.1982421875, 0.038116455078125, 0.1900634765625, 0.1273193359375, 0.027618408203125, 0.139404296875, 0.193115234375, ...
embed
23111782_c1
23111782
fsharp
1
to overcome issue discussed here: http://stackoverflow.com/questions/23111782/how-do-i-add-a-reference-to-f-portable-library-from-c-sharp-portable-class-libr --> <ProjectReference Include="..\FS_PL\FS_PL.fsproj"> <Project>{2c4b1776-3d34-4534-8520-8a1e6daa0e6e}</Project> <Name>FS_PL</Name> </ProjectReference> <ProjectR...
to overcome issue discussed here: http://stackoverflow.com/questions/23111782/how-do-i-add-a-reference-to-f-portable-library-from-c-sharp-portable-class-libr --> <ProjectReference Include="..\FS_PL\FS_PL.fsproj"> <Project>{2c4b1776-3d34-4534-8520-8a1e6daa0e6e}</Project> <Name>FS_PL</Name> </ProjectReference> <ProjectR...
[ -0.02880859375, 0.029052734375, -0.007598876953125, -0.0150146484375, 0.0050048828125, -0.01123046875, -0.0269775390625, -0.018798828125, 0.00592041015625, 0.0286865234375, 0.000965118408203125, 0.00010061264038085938, 0.004669189453125, 0.025390625, 0.01312255859375, 0.001785278320312...
[ 645, 45738, 31089, 45252, 3688, 5465, 118664, 47251, 11, 4028, 239879, 188, 420, 6982, 2886, 150, 2844, 1294, 161063, 238, 89280, 254, 9, 67413, 5612, 42, 223353, 4332, 69988, 822, 36381, 21130, 17447, 3454, 170, 4426, 5267, 208, 13307, 2...
[ 0.0823974609375, 0.1044921875, 0.0980224609375, 0.02044677734375, 0.008331298828125, 0.05792236328125, 0.07183837890625, 0.0214996337890625, 0.050628662109375, 0.130615234375, 0.247802734375, 0.056121826171875, 0.1695556640625, 0.1466064453125, 0.09326171875, 0.14453125, 0.1831054687...
embed
57839373_c0
57839373
fsharp
0
Title: How to increment a large number as a string as if it were an integer? Problem title: How to increment a large number as a string as if it were an integer? Tags: f%23, string, c%23 Problem: How to increment a large number as a string as if it were an integer? I've been trying to think of ways to do it, I can't ju...
How to increment a large number as a string as if it were an integer? How to increment a large number as a string as if it were an integer? f%23 string c%23 How System this.Last this.Length s.Last ToString s.Length last.ToString Console.Read How to increment a large number as a string as if it were an integer? I've bee...
[ 0.002655029296875, 0.01556396484375, -0.01214599609375, 0.0213623046875, 0.0038299560546875, 0.00860595703125, 0.00311279296875, -0.005523681640625, 0.0019378662109375, -0.005157470703125, 0.01458740234375, -0.006866455078125, -0.0235595703125, 0.034423828125, 0.0220947265625, -0.01770...
[ 11249, 47, 158661, 21334, 14012, 237, 79315, 2174, 3542, 892, 1505, 10, 442, 142, 1238, 3949, 3742, 501, 12353, 903, 2729, 271, 449, 927, 91, 717, 71713, 214, 4568, 7763, 1657, 40777, 31345, 5351, 831, 96760, 23, 18, 5792, 4989, 186, ...
[ 0.0904541015625, 0.072509765625, 0.27099609375, 0.1793212890625, 0.1951904296875, 0.1448974609375, 0.267333984375, 0.1546630859375, 0.1348876953125, 0.15966796875, 0.1851806640625, 0.003387451171875, 0.0261688232421875, 0.0253753662109375, 0.116455078125, 0.007598876953125, 0.1651611...
embed
34485368_c1
34485368
fsharp
1
00) The program prints out Microsoft (R) F# Interactive version 14.0.23020.0 Copyright (c) Microsoft Corporation. All Rights Reserved. For help type #help;; > Which is the startup text of fsi . I did some debugging, and here is what I found. In the first code, both calls to readStrStream return \r\n on the first iterat...
00) The program prints out Microsoft (R) F# Interactive version 14.0.23020.0 Copyright (c) Microsoft Corporation. All Rights Reserved. For help type #help;; > Which is the startup text of fsi . I did some debugging, and here is what I found. In the first code, both calls to readStrStream return \r\n on the first iterat...
[ 0.0047607421875, 0.0035400390625, -0.0026702880859375, 0.011474609375, 0.001190185546875, -0.00958251953125, 0.019287109375, -0.00164031982421875, 0.01025390625, -0.01318359375, 0.01531982421875, -0.003448486328125, 0.0106201171875, -0.004486083984375, 0.0390625, -0.020263671875, 0.0...
[ 7227, 1528, 28412, 7, 1810, 7244, 1052, 16, 563, 4904, 5337, 71232, 11389, 6370, 133684, 1197, 304, 99929, 4189, 84829, 38927, 62713, 4358, 73866, 130078, 83, 70, 73882, 7986, 111, 1238, 172, 8, 978, 5117, 18151, 15044, 11782, 47, 12301, ...
[ 0.06085205078125, 0.1788330078125, 0.2113037109375, 0.048004150390625, 0.115234375, 0.1358642578125, 0.08331298828125, 0.033355712890625, 0.158935546875, 0.1871337890625, 0.1351318359375, 0.142822265625, 0.13330078125, 0.1605224609375, 0.08642578125, 0.0863037109375, 0.02963256835937...
embed
56222380_c1
56222380
fsharp
1
I see that the JsonTypeProvider might not be appropriate to do this sort of thing, I'm open to any suggestion. Update: So I found out I could create new values like this: let newDescription = JsonFile.Description(``type`` = v.Type, no = v.Description.No, en = Some "my new value", fr = v.Description.Fr, de = v.Descript...
I see that the JsonTypeProvider might not be appropriate to do this sort of thing, I'm open to any suggestion. Update: So I found out I could create new values like this: let newDescription = JsonFile.Description(``type`` = v.Type, no = v.Description.No, en = Some "my new value", fr = v.Description.Fr, de = v.Descript...
[ -0.00482177734375, 0.03125, -0.00086212158203125, 0.007476806640625, 0.0027313232421875, -0.00616455078125, -0.025390625, 0.0111083984375, 0.00848388671875, 0.014404296875, 0.00848388671875, 0.0380859375, 0.0106201171875, -0.01300048828125, 0.0299072265625, -0.0029449462890625, -0.00...
[ 821, 1681, 196707, 177997, 62160, 13648, 95307, 903, 12096, 13580, 9803, 199015, 28641, 5809, 28282, 3525, 142424, 1884, 2633, 4657, 59478, 174350, 50986, 81, 110, 5021, 22, 1176, 34292, 14119, 66857, 8, 13169, 2967, 115923, 765, 5915, 44457,...
[ 0.157958984375, 0.212646484375, 0.28271484375, 0.20068359375, 0.15478515625, 0.033935546875, 0.1248779296875, 0.023345947265625, 0.04559326171875, 0.00054931640625, 0.0452880859375, 0.06170654296875, 0.03961181640625, 0.03924560546875, 0.175048828125, 0.1644287109375, 0.2432861328125...
embed
28684485_c0
28684485
fsharp
0
Title: F# Threading a result of a function through Array.Reduce Problem title: F# Threading a result of a function through Array.Reduce Tags: f%23 Problem: F# Threading a result of a function through Array.Reduce As a followup to this question, I have a function that returns an array comprised of an input array and the...
F# Threading a result of a function through Array.Reduce F# Threading a result of a function through Array.Reduce f%23 Threading Array.Reduce index:int Array.append F# Threading a result of a function through Array.Reduce As a followup to this question, I have a function that returns an array comprised of an input arra...
[ -0.017822265625, -0.00994873046875, -0.016845703125, 0.035888671875, -0.00927734375, -0.0108642578125, -0.002960205078125, -0.00156402587890625, 0.00848388671875, -0.03564453125, 0.01708984375, 0.000080108642578125, -0.0137939453125, 0.00970458984375, 0.0181884765625, -0.0203857421875,...
[ 563, 4904, 136719, 214, 16750, 111, 32354, 8305, 69253, 53, 4332, 106357, 1238, 3742, 63262, 4288, 9007, 3611, 30646, 10298, 48402, 107730, 3060, 80854, 74481, 3444, 4527, 11192, 12989, 11782, 48716, 20028, 12638, 1733, 86997, 41928, 3934, 11...
[ 0.1016845703125, 0.1839599609375, 0.2452392578125, 0.0986328125, 0.18505859375, 0.0087890625, 0.185791015625, 0.1375732421875, 0.163818359375, 0.14453125, 0.1160888671875, 0.1622314453125, 0.0660400390625, 0.09503173828125, 0.1619873046875, 0.13330078125, 0.0149688720703125, 0.0484...
embed
1131456_c0
1131456
fsharp
0
Title: Understanding F# Value Restriction Errors Problem title: Understanding F# Value Restriction Errors Tags: f%23, type-inference, value-restriction Problem: Understanding F# Value Restriction Errors I don't understand how the Value Restriction in F# works. I've read the explanation in the wiki as well as the MSDN d...
Understanding F# Value Restriction Errors Understanding F# Value Restriction Errors f%23 type-inference value-restriction Understanding Value Restriction Errors e:float a:float is_bigger item_count List.fold Understanding F# Value Restriction Errors I don't understand how the Value Restriction in F# works. I've read th...
[ -0.01202392578125, -0.004791259765625, 0.00164794921875, -0.00384521484375, 0.03515625, -0.0020751953125, -0.004058837890625, -0.0191650390625, 0.0115966796875, -0.0016326904296875, 0.0005645751953125, -0.0107421875, -0.0064697265625, -0.00982666015625, 0.019775390625, -0.007080078125,...
[ 9626, 144057, 563, 4904, 190060, 853, 7655, 10763, 212059, 1238, 3949, 3742, 10644, 73, 69988, 34292, 107, 28, 52347, 83, 21407, 35735, 71013, 32036, 42822, 28219, 3642, 43240, 187136, 23, 34356, 16265, 51671, 44084, 903, 76199, 18499, 18, ...
[ 0.0765380859375, 0.03753662109375, 0.14794921875, 0.23486328125, 0.2337646484375, 0.1165771484375, 0.20556640625, 0.1182861328125, 0.1619873046875, 0.083984375, 0.0032958984375, 0.1099853515625, 0.1064453125, 0.017791748046875, 0.1634521484375, 0.149658203125, 0.0673828125, 0.03207...
embed
4656864_c0
4656864
fsharp
0
Title: F# member constraints + ^a byref parameters Problem title: F# member constraints + ^a byref parameters Tags: generics, ref, f%23, constraints, byref Problem: F# member constraints + ^a byref parameters After some playing around F# member constraints feature and writing function like this: let inline parse< ^a wh...
F# member constraints + ^a byref parameters F# member constraints + ^a byref parameters generics ref f%23 constraints byref Parse List.map TryParse Unchecked.defaultof Some None F# member constraints + ^a byref parameters After some playing around F# member constraints feature and writing function like this: That works...
[ -0.005401611328125, 0.0118408203125, 0.0159912109375, 0.01129150390625, -0.019287109375, -0.00640869140625, -0.007171630859375, -0.00201416015625, 0.006927490234375, -0.0223388671875, -0.0032196044921875, 0.0036773681640625, 0.0225830078125, -0.0009307861328125, 0.0048828125, -0.014099...
[ 563, 4904, 32786, 158, 2816, 4288, 997, 13331, 11, 390, 29087, 171859, 189534, 18831, 1238, 3949, 3742, 2392, 184, 32036, 62346, 40858, 28636, 78292, 214810, 4390, 75169, 60213, 32562, 32354, 43240, 169123, 5885, 31577, 33022, 7477, 9790, 201...
[ 0.14697265625, 0.201416015625, 0.218505859375, 0.066650390625, 0.1600341796875, 0.0714111328125, 0.0882568359375, 0.072509765625, 0.0577392578125, 0.1199951171875, 0.2490234375, 0.1429443359375, 0.1492919921875, 0.246826171875, 0.0914306640625, 0.0040283203125, 0.132568359375, 0.07...
embed
62195995_c0
62195995
fsharp
0
Title: Enumerate names and values of an F# Discriminated Union type like Enum.GetValues Problem title: Enumerate names and values of an F# Discriminated Union type like Enum.GetValues Tags: f%23, discriminated-union Problem: Enumerate names and values of an F# Discriminated Union type like Enum.GetValues First, I read ...
Enumerate names and values of an F# Discriminated Union type like Enum.GetValues Enumerate names and values of an F# Discriminated Union type like Enum.GetValues f%23 discriminated-union the Enumerate Discriminated Union Enum.GetValues Microsoft.FSharp.Reflection MyDU TypeA TypeB Dictionary FSharpType.GetUnionCases Exc...
[ -0.004364013671875, -0.0113525390625, -0.01397705078125, -0.007537841796875, -0.027587890625, 0.004364013671875, -0.0081787109375, -0.00006437301635742188, 0.00531005859375, -0.0038909912109375, 0.01025390625, 0.025634765625, 0.031982421875, 0.0084228515625, 0.006500244140625, -0.00012...
[ 357, 15537, 17957, 123055, 136, 142424, 563, 4904, 6206, 135421, 3674, 32528, 10644, 1884, 316, 724, 126, 42272, 21049, 1238, 3949, 3742, 55970, 87046, 7244, 3467, 190015, 133, 2646, 18431, 60457, 284, 571, 147638, 196707, 147547, 20370, 1047...
[ 0.08984375, 0.1751708984375, 0.08489990234375, 0.1396484375, 0.0938720703125, 0.171875, 0.134521484375, 0.212890625, 0.055450439453125, 0.18701171875, 0.106201171875, 0.211181640625, 0.1907958984375, 0.021484375, 0.1826171875, 0.045440673828125, 0.09576416015625, 0.17724609375, 0...
embed
40466407_c0
40466407
fsharp
0
Title: How to shuffle a &quot;DenseMatrix&quot; in F# Problem title: How to shuffle a &quot;DenseMatrix&quot; in F# Tags: matrix, math.net, f%23 Problem: How to shuffle a "DenseMatrix" in F# In Matlab we can write the following code to shuffle a matrix: data = data(:, randperm(size(data,2))); there is what I write with...
How to shuffle a &quot;DenseMatrix&quot; in F# How to shuffle a &quot;DenseMatrix&quot; in F# matrix math.net f%23 How DenseMatrix UFLDL-tutorial-F housing.csv File.ReadAllLines Array.map t.Split DenseMatrix.OfRowArrays housingAsMatrix.Transpose DenseVector.Create housingAsMatrixT.ColumnCount housingAsMatrixT.InsertRow...
[ -0.00689697265625, 0.031494140625, 0.0218505859375, 0.0113525390625, 0.0145263671875, -0.0152587890625, -0.0087890625, 0.00848388671875, -0.0050048828125, -0.01202392578125, -0.000919342041015625, 0.031982421875, 0.0018463134765625, 0.003326416015625, -0.0223388671875, 0.01214599609375...
[ 11249, 47, 170052, 397, 21161, 4613, 87427, 563, 4904, 10, 23, 50944, 425, 48909, 1179, 1238, 3742, 1575, 184, 27502, 77275, 919, 185517, 334, 42724, 31345, 43512, 93232, 62346, 4353, 132887, 62624, 26455, 108210, 33657, 12724, 434, 7656, 6...
[ 0.00201416015625, 0.0184326171875, 0.26318359375, 0.1123046875, 0.18408203125, 0.1180419921875, 0.2027587890625, 0.1259765625, 0.19287109375, 0.006378173828125, 0.01324462890625, 0.1839599609375, 0.11474609375, 0.03204345703125, 0.044891357421875, 0.00531005859375, 0.057342529296875,...
embed