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
8044222_c0
8044222
fsharp
0
Title: Get local min and max values from data array Problem title: Get local min and max values from data array Tags: .net, arrays, c%23, f%23, list Problem: Get local min and max values from data array I have a date/some kind of value array. When I draw it as a chart it looks like this: I'd like to find its local min ...
Get local min and max values from data array Get local min and max values from data array .net arrays c%23 f%23 list data Get Get local min and max values from data array I have a date/some kind of value array. When I draw it as a chart it looks like this: I'd like to find its local min and max points. I signed them by...
[ -0.003082275390625, 0.0019683837890625, 0.01483154296875, 0.0033721923828125, -0.0162353515625, 0.0003452301025390625, 0.0089111328125, 0.005767822265625, 0.0093994140625, -0.018798828125, -0.0020599365234375, 0.00848388671875, 0.007232666015625, -0.005523681640625, 0.0218505859375, 0....
[ 20779, 4000, 881, 136, 18389, 142424, 1295, 2053, 10298, 53, 1179, 4778, 3742, 1238, 5303, 5622, 34292, 79442, 116287, 33342, 1884, 7413, 26847, 181141, 57571, 36917, 88303, 8060, 2397, 864, 4904, 420, 2046, 111, 6562, 26484, 41929, 12765, ...
[ 0.1153564453125, 0.1893310546875, 0.2322998046875, 0.1497802734375, 0.202880859375, 0.1976318359375, 0.1304931640625, 0.16015625, 0.186767578125, 0.1016845703125, 0.1602783203125, 0.08258056640625, 0.0867919921875, 0.012237548828125, 0.1622314453125, 0.10235595703125, 0.136474609375,...
embed
51549180_c0
51549180
fsharp
0
Title: Clarification needed in second parameter to List.init (F#) Problem title: Clarification needed in second parameter to List.init (F#) Tags: list, f%23 Problem: Clarification needed in second parameter to List.init (F#) Could you explain the second parameter in List.init let test2 = List.init 100000 (fun _ -> Syst...
Clarification needed in second parameter to List.init (F#) Clarification needed in second parameter to List.init (F#) list f%23 Clarification List.init test2 System.Random Next Clarification needed in second parameter to List.init (F#) Could you explain the second parameter in List.init let test2 = List.init 100000 (fu...
[ -0.00408935546875, 0.01055908203125, 0.0137939453125, -0.002655029296875, 0.007476806640625, 0.0185546875, 0.01123046875, -0.0220947265625, 0.0103759765625, -0.004486083984375, 0.0128173828125, 0.0064697265625, -0.0155029296875, 0.012939453125, 0.001617431640625, -0.007568359375, 0.0...
[ 313, 320, 41274, 44841, 17932, 171859, 47, 32036, 73, 217, 919, 4904, 5303, 3742, 3034, 304, 12353, 126525, 3815, 4997, 73342, 2633, 209, 28568, 16498, 81280, 42221, 62634, 21635, 28219, 23, 51776, 18, 136, 32354, 63262, 30646, 189534, 3429...
[ 0.001220703125, 0.1339111328125, 0.1429443359375, 0.0960693359375, 0.194580078125, 0.237548828125, 0.054229736328125, 0.2066650390625, 0.1448974609375, 0.2156982421875, 0.060791015625, 0.1717529296875, 0.1429443359375, 0.0750732421875, 0.163818359375, 0.1446533203125, 0.1119384765625...
embed
59789040_c0
59789040
fsharp
0
Title: Will this object survive garbage collection in F#? Problem title: Will this object survive garbage collection in F#? Tags: f%23, garbage-collection Problem: Will this object survive garbage collection in F#? I have a F# object like this: type myObject() = ... do // calling a 3rd party lib that will do // callbac...
Will this object survive garbage collection in F#? Will this object survive garbage collection in F#? f%23 garbage-collection Will Will this object survive garbage collection in F#? I have a F# object like this: and, in my main initialization, I do this: and go on with the rest of the code. So, this object is setting u...
[ 0.005157470703125, 0.040283203125, 0.00909423828125, -0.005035400390625, -0.0186767578125, 0.00927734375, -0.024658203125, 0.0166015625, 0.00958251953125, -0.03515625, -0.005950927734375, -0.0031280517578125, 0.0032806396484375, 0.00970458984375, 0.00811767578125, -0.0078125, -0.0112...
[ 20255, 903, 36746, 188545, 3671, 402, 429, 42486, 23, 563, 4904, 1238, 3742, 196352, 1884, 5201, 61475, 47691, 54, 738, 98, 18151, 53550, 1257, 11782, 12620, 1295, 138, 4216, 19085, 35773, 3551, 68034, 1221, 959, 91067, 151107, 3249, 442, ...
[ 0.10040283203125, 0.109130859375, 0.2056884765625, 0.20361328125, 0.1351318359375, 0.2147216796875, 0.1341552734375, 0.1942138671875, 0.07110595703125, 0.129150390625, 0.2132568359375, 0.0833740234375, 0.1077880859375, 0.1517333984375, 0.03173828125, 0.020233154296875, 0.114624023437...
embed
62086547_c0
62086547
fsharp
0
Title: Is there a way to check nested option values in one pattern in F#? Problem title: Is there a way to check nested option values in one pattern in F#? Tags: f%23, functional-programming, monads, pattern-matching Problem: Is there a way to check nested option values in one pattern in F#? Let's pretend we have the f...
Is there a way to check nested option values in one pattern in F#? Is there a way to check nested option values in one pattern in F#? f%23 functional-programming monads pattern-matching Message Option Update msg.text Some None Is there a way to check nested option values in one pattern in F#? Let's pretend we have the ...
[ -0.0205078125, 0.004913330078125, 0.01190185546875, 0.0023651123046875, 0.0057373046875, -0.010009765625, -0.003143310546875, -0.01007080078125, 0.0047607421875, 0.0017242431640625, 0.0174560546875, 0.001220703125, 0.0184326171875, -0.00811767578125, 0.01177978515625, 0.018310546875, ...
[ 10, 3917, 47, 12765, 8512, 71, 35829, 142424, 23, 1632, 103510, 563, 4904, 1238, 3742, 123309, 28966, 2667, 712, 98753, 48205, 4588, 86769, 28641, 68163, 177, 22829, 438, 48339, 25632, 52895, 11249, 14858, 442, 13315, 56574, 126940, 39933, ...
[ 0.0247802734375, 0.0972900390625, 0.03668212890625, 0.2227783203125, 0.2471923828125, 0.14990234375, 0.2430419921875, 0.1697998046875, 0.0657958984375, 0.1568603515625, 0.2308349609375, 0.150390625, 0.1993408203125, 0.06951904296875, 0.062103271484375, 0.092529296875, 0.0543823242187...
embed
29279830_c0
29279830
fsharp
0
Title: IObservable.Add vs. IObservable.Subscribe Problem title: IObservable.Add vs. IObservable.Subscribe Tags: f%23, subscribe, system.reactive, reactive-programming, observable Problem: IObservable.Add vs. IObservable.Subscribe What is the difference between these two methods, and what is the best situation for each?...
IObservable.Add vs. IObservable.Subscribe IObservable.Add vs. IObservable.Subscribe f%23 subscribe system.reactive reactive-programming observable IObservable.Add IObservable.Subscribe system.reactive IObservable.Add vs. IObservable.Subscribe What is the difference between these two methods, and what is the best situat...
[ -0.00157928466796875, 0.0308837890625, 0.018798828125, 0.0194091796875, -0.01904296875, 0.00189208984375, -0.005828857421875, 0.01202392578125, -0.00016307830810546875, -0.0208740234375, 0.0301513671875, -0.03515625, 0.0064697265625, 0.0419921875, 0.0096435546875, -0.01092529296875, ...
[ 87, 46471, 65756, 2661, 5, 284, 4028, 20209, 96472, 34601, 1238, 3949, 3742, 1614, 5426, 107, 71232, 456, 28966, 214, 22046, 60212, 17721, 6097, 6626, 150624, 2965, 16648, 100, 12638, 3714, 1836, 15044, 19048, 243, 934, 32354, 45064, 28, ...
[ 0.20654296875, 0.184814453125, 0.26513671875, 0.254150390625, 0.0953369140625, 0.10595703125, 0.2208251953125, 0.1849365234375, 0.196044921875, 0.225341796875, 0.109619140625, 0.040771484375, 0.157470703125, 0.1842041015625, 0.115966796875, 0.06719970703125, 0.1553955078125, 0.0927...
embed
48919294_c0
48919294
fsharp
0
Title: Is there an equivalent of C#'s using T = X.Y.Z import directive in F#? Problem title: Is there an equivalent of C#'s using T = X.Y.Z import directive in F#? Tags: f%23 Problem: Is there an equivalent of C#'s using T = X.Y.Z import directive in F#? In C# I can define an alias for a type by writing using...
Is there an equivalent of C#'s using T = X.Y.Z import directive in F#? Is there an equivalent of C#'s using T = X.Y.Z import directive in F#? f%23 T directive Foo X.Y.Z Full.Name.Space.Of.My.TypeWithAVeryLongName TypeWithAVeryLongName Full.Name.Space.Of.My Is there an equivalent of C#'s using T = X.Y.Z import...
[ -0.019287109375, 0.010009765625, -0.0050048828125, 0.00138092041015625, -0.01275634765625, -0.0250244140625, 0.004913330078125, 0.00872802734375, -0.00592041015625, -0.03271484375, -0.0048828125, 0.0172119140625, 0.01055908203125, 0.01068115234375, 0.0164794921875, 0.00860595703125, ...
[ 2071, 183234, 313, 4904, 3768, 17368, 384, 2203, 1193, 1723, 1511, 24927, 8951, 5844, 23, 563, 1238, 3742, 9572, 31, 9312, 163612, 141012, 132887, 31852, 196707, 194583, 27816, 26976, 4021, 60457, 831, 61924, 55109, 100, 10644, 32562, 73, 1...
[ 0.006988525390625, 0.149658203125, 0.045379638671875, 0.210693359375, 0.06463623046875, 0.053985595703125, 0.15087890625, 0.09930419921875, 0.1036376953125, 0.09796142578125, 0.151123046875, 0.1962890625, 0.171875, 0.11962890625, 0.035736083984375, 0.1094970703125, 0.048370361328125,...
embed
25751974_c0
25751974
fsharp
0
Title: Nested generic constraints in f# Problem title: Nested generic constraints in f# Tags: f%23, generics Problem: Nested generic constraints in f# I'm trying to define an extension method on a generic class, ( Xceed.Wpf.Toolkit.NumericUpDown ), but restrict that generic to Nullable<_> , however I can't figure out t...
Nested generic constraints in f# Nested generic constraints in f# f%23 generics Nested Xceed.Wpf.Toolkit.NumericUpDown Nullable NumericUpDown x.getVal x.Value.GetValueOrDefault x.setVal x.Value Nested generic constraints in f# I'm trying to define an extension method on a generic class, ( Xceed.Wpf.Toolkit.NumericUpDow...
[ -0.0177001953125, 0.0184326171875, 0.017822265625, -0.0034027099609375, -0.0025482177734375, 0.0152587890625, -0.004486083984375, -0.00482177734375, 0.00421142578125, -0.007354736328125, -0.0198974609375, -0.0299072265625, -0.0045166015625, -0.0023345947265625, -0.01116943359375, -0.02...
[ 28701, 71, 189534, 158, 2816, 4288, 1238, 4904, 3949, 3742, 1193, 329, 297, 39557, 186490, 9488, 18444, 282, 12259, 53234, 8331, 7710, 27786, 2661, 93511, 1022, 3794, 42272, 856, 50770, 19060, 187423, 11, 3509, 23, 31577, 61924, 111938, 553...
[ 0.2410888671875, 0.09039306640625, 0.2464599609375, 0.0908203125, 0.1947021484375, 0.115966796875, 0.10504150390625, 0.2088623046875, 0.03070068359375, 0.15966796875, 0.045867919921875, 0.1112060546875, 0.1571044921875, 0.1146240234375, 0.122802734375, 0.1151123046875, 0.022705078125...
embed
41487272_c0
41487272
fsharp
0
Title: Fable/F# - How do I save enums or discriminated unions to the browser? Problem title: Fable/F# - How do I save enums or discriminated unions to the browser? Tags: fable-f%23, f%23 Problem: Fable/F# - How do I save enums or discriminated unions to the browser? I can save a string to local browser storage with Bro...
Fable/F# - How do I save enums or discriminated unions to the browser? Fable/F# - How do I save enums or discriminated unions to the browser? fable-f%23 f%23 Fable How Browser.localStorage.setItem Object FSharp.Reflection Fable/F# - How do I save enums or discriminated unions to the browser? I can save a string to loca...
[ -0.004486083984375, 0.01397705078125, 0.007171630859375, 0.0257568359375, -0.0108642578125, 0.0159912109375, -0.01214599609375, 0.00177001953125, 0.004119873046875, -0.0169677734375, 0.01263427734375, 0.0230712890625, 0.0260009765625, 0.01556396484375, 0.015869140625, -0.00619506835937...
[ 563, 2886, 64, 919, 4904, 11249, 30098, 22, 10321, 707, 55970, 3674, 69941, 7, 47, 31842, 1071, 2661, 420, 3742, 1238, 86976, 98908, 188, 29838, 3509, 2982, 134549, 93774, 3467, 254, 190015, 133, 87, 79315, 4000, 132096, 19770, 7704, 9790...
[ 0.117431640625, 0.1690673828125, 0.041839599609375, 0.0784912109375, 0.1629638671875, 0.053436279296875, 0.18701171875, 0.1282958984375, 0.245849609375, 0.055816650390625, 0.220947265625, 0.0736083984375, 0.1949462890625, 0.067626953125, 0.109130859375, 0.2125244140625, 0.10272216796...
embed
20421160_c0
20421160
fsharp
0
Title: Providing a Discriminated Union from an F# Type Provider Problem title: Providing a Discriminated Union from an F# Type Provider Tags: type-providers, f%23, f%23-3.0 Problem: Providing a Discriminated Union from an F# Type Provider I've gotten the basics of type providers such as creating a type let thisAssembly...
Providing a Discriminated Union from an F# Type Provider Providing a Discriminated Union from an F# Type Provider type-providers f%23 f%23-3.0 an Providing Discriminated Union Type Provider Assembly.GetExecutingAssembly ProvidedTypeDefinition xType.Attribute Value Some Providing a Discriminated Union from an F# Type Pr...
[ 0.0081787109375, 0.019775390625, 0.0012359619140625, 0.001617431640625, -0.028076171875, -0.00135040283203125, -0.01275634765625, 0.00139617919921875, 0.00946044921875, -0.0301513671875, 0.00262451171875, 0.0022430419921875, 0.0189208984375, -0.000720977783203125, 0.00823974609375, 0.0...
[ 77345, 86675, 6206, 135421, 3674, 32528, 1295, 563, 4904, 60457, 123089, 42, 10644, 93136, 14202, 1238, 3742, 27495, 132265, 151169, 211603, 284, 89845, 196707, 187423, 943, 1022, 191145, 190060, 31384, 62822, 81450, 105233, 3871, 19048, 61924, ...
[ 0.133544921875, 0.0645751953125, 0.0736083984375, 0.2200927734375, 0.0665283203125, 0.2039794921875, 0.0799560546875, 0.114013671875, 0.179443359375, 0.2081298828125, 0.1805419921875, 0.0811767578125, 0.2008056640625, 0.2017822265625, 0.0699462890625, 0.042938232421875, 0.09216308593...
embed
315230_c0
315230
fsharp
0
Title: Multi-lingual projects in Visual Studio Problem title: Multi-lingual projects in Visual Studio Tags: .net, visual-studio, f%23, pex Problem: Multi-lingual projects in Visual Studio Would anyone know if there are plans or extensions to Visual Studio to allow for multi-lingual projects? While the .NET platform is ...
Multi-lingual projects in Visual Studio Multi-lingual projects in Visual Studio .net visual-studio f%23 pex Multi-lingual Visual Studio Multi-lingual projects in Visual Studio Would anyone know if there are plans or extensions to Visual Studio to allow for multi-lingual projects? While the .NET platform is truly polygl...
[ -0.018310546875, 0.026123046875, -0.00799560546875, 0.016357421875, -0.0140380859375, 0.00390625, -0.004241943359375, 0.00537109375, -0.007110595703125, -0.0262451171875, 0.00799560546875, -0.015625, -0.000904083251953125, 0.01080322265625, -0.0032501220703125, -0.00579833984375, 0.0...
[ 19335, 65279, 289, 77635, 23, 73372, 22968, 5, 1179, 21176, 52629, 1238, 280, 425, 35672, 3714, 38627, 111938, 47, 63769, 6024, 17777, 13651, 87607, 35874, 38869, 18, 13452, 136057, 57332, 22460, 756, 4488, 3934, 55516, 313, 4904, 136, 7503...
[ 0.1768798828125, 0.26708984375, 0.03564453125, 0.175537109375, 0.05157470703125, 0.224853515625, 0.24072265625, 0.046295166015625, 0.140380859375, 0.1585693359375, 0.195556640625, 0.03656005859375, 0.1314697265625, 0.159912109375, 0.024139404296875, 0.039703369140625, 0.111572265625,...
embed
8636006_c0
8636006
fsharp
0
Title: How to use SendMessage from F#? Problem title: How to use SendMessage from F#? Tags: .net, f%23, sendmessage Problem: How to use SendMessage from F#? I would like to use the code here to suspend screen refresh of a rich text box in code I am writing using F#. I don't know how to use SendMessage (or WM_SETREDRAW ...
How to use SendMessage from F#? How to use SendMessage from F#? .net f%23 sendmessage F# How SendMessage StopRepaint Stop this.Handle WM_SETREDRAW IntPtr.Zero EM_GETEVENTMASK How to use SendMessage from F#? I would like to use the code here to suspend screen refresh of a rich text box in code I am writing using F#. I d...
[ 0.004638671875, 0.012939453125, 0.012939453125, 0.00020599365234375, -0.024169921875, -0.00021076202392578125, -0.01129150390625, 0.0054931640625, -0.0059814453125, -0.04248046875, 0.0191650390625, -0.01104736328125, -0.0010528564453125, 0.0087890625, 0.01312255859375, 0.019775390625, ...
[ 11249, 47, 4527, 24044, 594, 6011, 429, 1295, 563, 4904, 1179, 1238, 3742, 25379, 74157, 42284, 4332, 74908, 135679, 107246, 54080, 118324, 4448, 4036, 19515, 113114, 40639, 605, 18151, 45890, 49119, 210651, 98870, 7986, 16530, 32562, 17368, ...
[ 0.0474853515625, 0.02325439453125, 0.1412353515625, 0.1558837890625, 0.09454345703125, 0.1416015625, 0.14697265625, 0.1175537109375, 0.14990234375, 0.2197265625, 0.1146240234375, 0.05029296875, 0.107421875, 0.0888671875, 0.1287841796875, 0.1015625, 0.04510498046875, 0.114501953125,...
embed
33311214_c0
33311214
fsharp
0
Title: How to get size of a file Problem title: How to get size of a file Tags: f%23 Problem: How to get size of a file I want to get the size of the files in a directory, but i don't know how to do it. here is my code: let givenDirectory="c:/Windows" let listOfFilesInDirectory (givenDirectory:string)= let listOfFiles=...
How to get size of a file How to get size of a file f%23 How Windows givenDirectory:string Directory.GetFiles List.ofSeq List.map Path.GetFileName How to get size of a file I want to get the size of the files in a directory, but i don't know how to do it. here is my code: at first i pass a path to the fuction, and i ge...
[ 0.0262451171875, -0.0201416015625, 0.00982666015625, 0.019287109375, -0.0262451171875, 0.002655029296875, 0.01348876953125, -0.00128936767578125, 0.00506591796875, -0.0177001953125, 0.0157470703125, 0.0247802734375, -0.024169921875, 0.01806640625, 0.016357421875, 0.0263671875, 0.0046...
[ 11249, 47, 2046, 13267, 111, 10, 11435, 1238, 3949, 3742, 3773, 34475, 184911, 30675, 91693, 31068, 53, 724, 126, 174350, 32036, 4390, 4233, 864, 62346, 108421, 163612, 87, 3444, 70, 102158, 23, 14364, 1284, 3714, 3642, 442, 3688, 18151, ...
[ 0.0850830078125, 0.101318359375, 0.1617431640625, 0.2147216796875, 0.162353515625, 0.031646728515625, 0.1793212890625, 0.05108642578125, 0.030029296875, 0.1160888671875, 0.137451171875, 0.10198974609375, 0.02001953125, 0.0516357421875, 0.1278076171875, 0.03973388671875, 0.04992675781...
embed
1805216_c0
1805216
fsharp
0
Title: How does the match statement in F# work? Problem title: How does the match statement in F# work? Tags: f%23, .net Problem: How does the match statement in F# work? I'm busy going through the very anaemic walk-through F# project provided by MS in VS 2010 Beta 2, and came across something that needs some explanati...
How does the match statement in F# work? How does the match statement in F# work? f%23 .net How SumList y::ys How does the match statement in F# work? I'm busy going through the very anaemic walk-through F# project provided by MS in VS 2010 Beta 2, and came across something that needs some explanation: I assume match i...
[ -0.00531005859375, 0.00250244140625, 0.0179443359375, -0.007720947265625, -0.01055908203125, -0.018798828125, -0.002716064453125, 0.0250244140625, 0.0208740234375, 0.0106201171875, 0.01556396484375, -0.00836181640625, -0.002899169921875, -0.0185546875, 0.0235595703125, -0.0035400390625...
[ 11249, 14602, 70, 14858, 63805, 23, 563, 4904, 4488, 1238, 3949, 3742, 1179, 36335, 154663, 113, 12, 4778, 13452, 62952, 16265, 44160, 1532, 48941, 116, 187136, 83, 101089, 46876, 201505, 5303, 50339, 757, 30646, 34292, 17932, 7225, 102919, ...
[ 0.09033203125, 0.051544189453125, 0.051605224609375, 0.267822265625, 0.2264404296875, 0.0482177734375, 0.156005859375, 0.2130126953125, 0.131591796875, 0.1007080078125, 0.004150390625, 0.09814453125, 0.109130859375, 0.196533203125, 0.196533203125, 0.1029052734375, 0.0222015380859375,...
embed
11976652_c0
11976652
fsharp
0
Title: How can I refactor out the required else clause? Problem title: How can I refactor out the required else clause? Tags: c%23, f%23 Problem: How can I refactor out the required else clause? I have a C# method that looks a bit like this: bool Eval() { // do some work if (conditionA) { // do some work if (conditionB...
How can I refactor out the required else clause? How can I refactor out the required else clause? c%23 f%23 How Eval How can I refactor out the required else clause? I have a C# method that looks a bit like this: In F# this ends up looking quite a bit uglier because of the mandatory else branches: What would be a clean...
[ 0.0146484375, 0.006134033203125, 0.0208740234375, 0.012451171875, -0.00159454345703125, 0.0019683837890625, 0.01251220703125, -0.01348876953125, 0.0157470703125, 0.00836181640625, 0.0037078857421875, -0.0040283203125, -0.00185394287109375, 0.016845703125, 0.015869140625, 0.019653320312...
[ 11249, 831, 456, 144810, 1810, 56065, 37076, 70731, 13, 87, 3742, 1238, 241, 1405, 313, 4904, 55300, 33342, 4785, 360, 563, 3564, 16487, 32233, 50697, 56786, 81678, 1294, 90356, 46622, 56, 3917, 32562 ]
[ 0.067626953125, 0.060821533203125, 0.140869140625, 0.2369384765625, 0.1563720703125, 0.2021484375, 0.22802734375, 0.2081298828125, 0.0958251953125, 0.023590087890625, 0.08251953125, 0.029296875, 0.041015625, 0.205078125, 0.01116943359375, 0.1500244140625, 0.092041015625, 0.08544921...
embed
36479385_c0
36479385
fsharp
0
Title: Specifying seq&lt;int&gt; as return type in F# Problem title: Specifying seq&lt;int&gt; as return type in F# Tags: f%23 Problem: Specifying seq as return type in F# I want to make a function that takes a string and returns a sequence of numbers. It should return a sequence containing only 0 if it passed a empty ...
Specifying seq&lt;int&gt; as return type in F# Specifying seq&lt;int&gt; as return type in F# f%23 Specifying s.Length s.Split Seq.map Use Specifying seq as return type in F# I want to make a function that takes a string and returns a sequence of numbers. It should return a sequence containing only 0 if it passed a emp...
[ -0.00946044921875, 0.0135498046875, -0.015625, 0.0213623046875, -0.017822265625, -0.00439453125, 0.00994873046875, -0.000701904296875, 0.00011730194091796875, 0.011962890625, -0.00555419921875, 0.00634765625, -0.0213623046875, 0.043212890625, 0.0152587890625, 0.00011777877807617188, ...
[ 24990, 151138, 40, 864, 1277, 4288, 1230, 5386, 237, 30646, 10644, 563, 4904, 23, 1238, 3742, 91, 449, 4353, 503, 62346, 36836, 3444, 3249, 32354, 51776, 79315, 944, 101935, 5608, 10, 3956, 70541, 4734, 757, 2174, 115081, 201505, 37842, 2...
[ 0.1787109375, 0.1981201171875, 0.126953125, 0.2587890625, 0.0401611328125, 0.13037109375, 0.036773681640625, 0.1253662109375, 0.0655517578125, 0.2332763671875, 0.232666015625, 0.137939453125, 0.2001953125, 0.009552001953125, 0.0797119140625, 0.1151123046875, 0.0887451171875, 0.0233...
embed
40202840_c1
40202840
fsharp
1
class of cases where the language could infer that property of "never used elsewhere": When the first argument to modified is an unbound value, as in this example: newData = modified(modified(data, someArgument)) Here, data may be used elsewhere, but modified(data, someArgument) clearly isn't. This is what in C++ is c...
class of cases where the language could infer that property of "never used elsewhere": When the first argument to modified is an unbound value, as in this example: newData = modified(modified(data, someArgument)) Here, data may be used elsewhere, but modified(data, someArgument) clearly isn't. This is what in C++ is c...
[ -0.007080078125, 0.0179443359375, 0.0162353515625, -0.0091552734375, 0.017333984375, 0.01287841796875, 0.011962890625, -0.008056640625, 0.010986328125, -0.0238037109375, 0.00506591796875, -0.01806640625, 0.0123291015625, -0.0040283203125, 0.0118408203125, -0.0024871826171875, -0.0095...
[ 18507, 50218, 46876, 5809, 53498, 57266, 86, 814, 11814, 234311, 14847, 5117, 10750, 47, 73197, 297, 51, 99091, 34292, 27781, 3525, 137989, 13415, 47314, 10135, 3060, 7614, 1234, 674, 11853, 2053, 1543, 1284, 123019, 56112, 18, 23, 313, 372...
[ 0.1622314453125, 0.1260986328125, 0.1597900390625, 0.05523681640625, 0.174072265625, 0.159423828125, 0.053314208984375, 0.1580810546875, 0.199951171875, 0.1978759765625, 0.001678466796875, 0.09356689453125, 0.22119140625, 0.00592041015625, 0.251220703125, 0.1485595703125, 0.061584472...
embed
2910109_c0
2910109
fsharp
0
Title: Can I use the TFS Object Model to interact with TFS via F#? Problem title: Can I use the TFS Object Model to interact with TFS via F#? Tags: f%23, tfs Problem: Can I use the TFS Object Model to interact with TFS via F#? I am looking for some quick ways to do some (more) complex queries across who has what checke...
Can I use the TFS Object Model to interact with TFS via F#? Can I use the TFS Object Model to interact with TFS via F#? f%23 tfs Can TFS Object Model Can I use the TFS Object Model to interact with TFS via F#? I am looking for some quick ways to do some (more) complex queries across who has what checked out and things ...
[ 0.003997802734375, 0.008544921875, -0.00182342529296875, -0.0030975341796875, -0.00640869140625, -0.020263671875, -0.01300048828125, 0.010498046875, -0.00860595703125, -0.049072265625, 0.0294189453125, -0.022705078125, -0.003936767578125, 0.01171875, 0.0103759765625, -0.003280639648437...
[ 4171, 87, 4527, 384, 36381, 134549, 13293, 78974, 678, 1829, 563, 4904, 1238, 3949, 3742, 808, 17447, 47, 16487, 63773, 48322, 17678, 27140, 41, 36880, 2750, 2367, 12765, 102158, 977, 418, 3445, 52080, 6602, 38516, 15044, 123309, 128746, 69...
[ 0.09857177734375, 0.040008544921875, 0.1246337890625, 0.0970458984375, 0.2384033203125, 0.2421875, 0.232666015625, 0.1717529296875, 0.0985107421875, 0.064208984375, 0.09912109375, 0.1923828125, 0.050506591796875, 0.0308837890625, 0.1175537109375, 0.0736083984375, 0.1597900390625, 0...
embed
50782621_c0
50782621
fsharp
0
Title: F# print all element from the list one by one using recursion Problem title: F# print all element from the list one by one using recursion Tags: f%23 Problem: F# print all element from the list one by one using recursion Imagine that I have function printList that takes list as an argument and prints all the ele...
F# print all element from the list one by one using recursion F# print all element from the list one by one using recursion f%23 the recursion head::tail F# print all element from the list one by one using recursion Imagine that I have function printList that takes list as an argument and prints all the elements in the...
[ -0.02392578125, 0.02001953125, -0.007171630859375, 0.0140380859375, -0.0128173828125, 0.001220703125, -0.00341796875, -0.0027008056640625, -0.00714111328125, 0.0025482177734375, 0.0302734375, -0.0284423828125, -0.0000782012939453125, 0.00811767578125, -0.004791259765625, -0.00729370117...
[ 563, 4904, 28412, 756, 12830, 1295, 5303, 1632, 390, 17368, 195625, 1830, 1238, 3949, 3742, 10336, 46741, 133196, 32354, 154663, 51776, 237, 10750, 70, 80854, 3525, 15555, 19069, 32628, 17721, 29479, 903, 23, 15490, 88303, 66139, 6713, 44402,...
[ 0.149169921875, 0.2144775390625, 0.236328125, 0.130859375, 0.1690673828125, 0.0938720703125, 0.1932373046875, 0.129150390625, 0.0897216796875, 0.0282440185546875, 0.248779296875, 0.1331787109375, 0.075927734375, 0.002899169921875, 0.103515625, 0.1097412109375, 0.158447265625, 0.083...
embed
78354556_c1
78354556
fsharp
1
as if the compiler decides what the constraints on the type of monadInstance are, but goes too far, i.e. it thinks that Monad instance's type must have a bind method that takes an 'a -> 'b and then later on finds out it must take a 'a , tries to unify that (rather than assuming that it could be a polymorphic type), an...
as if the compiler decides what the constraints on the type of monadInstance are, but goes too far, i.e. it thinks that Monad instance's type must have a bind method that takes an 'a -> 'b and then later on finds out it must take a 'a , tries to unify that (rather than assuming that it could be a polymorphic type), an...
[ -0.003509521484375, 0.0103759765625, -0.0150146484375, 0.0089111328125, 0.00286865234375, 0.01544189453125, -0.00262451171875, 0.0111083984375, 0.0026702880859375, -0.0167236328125, -0.00439453125, -0.0299072265625, -0.005035400390625, -0.0169677734375, 0.00848388671875, -0.01007080078...
[ 237, 2174, 9969, 34759, 28288, 158, 2816, 4288, 10644, 2667, 712, 4153, 116071, 1284, 60899, 5792, 2060, 5351, 60331, 71, 110527, 68557, 55300, 11, 33079, 275, 5646, 1927, 51, 40383, 66596, 35874, 178851, 35782, 17932, 27781, 59911, 5701, 6...
[ 0.008026123046875, 0.004486083984375, 0.1593017578125, 0.178955078125, 0.076416015625, 0.050140380859375, 0.152099609375, 0.1220703125, 0.1668701171875, 0.159423828125, 0.1629638671875, 0.043609619140625, 0.1572265625, 0.039154052734375, 0.047210693359375, 0.06719970703125, 0.1055297...
embed
9869897_c0
9869897
fsharp
0
Title: F# equivalent of SortedDictionary from C# Problem title: F# equivalent of SortedDictionary from C# Tags: f%23 Problem: F# equivalent of SortedDictionary from C# new to F# i need to store a bunch of lists of objects according to a float number where the collection of lists are sorted according to the float number...
F# equivalent of SortedDictionary from C# F# equivalent of SortedDictionary from C# f%23 C# SortedDictionary List F# equivalent of SortedDictionary from C# new to F# i need to store a bunch of lists of objects according to a float number where the collection of lists are sorted according to the float number. I know in ...
[ 0.011474609375, 0.01611328125, -0.00193023681640625, -0.03271484375, -0.001556396484375, 0.003997802734375, 0.00958251953125, -0.0086669921875, -0.00531005859375, 0.005767822265625, 0.00958251953125, -0.00311279296875, -0.00095367431640625, -0.00701904296875, 0.0172119140625, -0.010498...
[ 563, 4904, 183234, 111, 53666, 297, 14055, 10763, 6635, 1295, 313, 1238, 3949, 3742, 32036, 3525, 47, 3871, 4343, 147306, 5303, 36746, 59499, 21917, 14012, 42486, 17497, 257, 4527, 208124, 4842, 22556, 53201, 190358, 12684, 19, 183540, 33938,...
[ 0.1549072265625, 0.2452392578125, 0.1776123046875, 0.0152587890625, 0.1898193359375, 0.1339111328125, 0.114013671875, 0.1751708984375, 0.11083984375, 0.0919189453125, 0.0400390625, 0.07318115234375, 0.00408935546875, 0.1300048828125, 0.1435546875, 0.041015625, 0.010894775390625, 0....
embed
75643115_c0
75643115
fsharp
0
Title: Apply transformation to combine some items within a list Problem title: Apply transformation to combine some items within a list Tags: f%23, functional-programming Problem: Apply transformation to combine some items within a list I would like to know how I can apply the following transformation in F#. I find it'...
Apply transformation to combine some items within a list Apply transformation to combine some items within a list f%23 functional-programming Apply Apply transformation to combine some items within a list I would like to know how I can apply the following transformation in F#. I find it's similar to the fold because I ...
[ -0.014892578125, 0.006988525390625, 0.01116943359375, 0.0224609375, -0.00860595703125, -0.00384521484375, -0.0069580078125, 0.03076171875, 0.0172119140625, 0.00185394287109375, 0.0179443359375, 0.0255126953125, 0.004852294921875, 0.013427734375, -0.022705078125, -0.000888824462890625, ...
[ 5659, 538, 167201, 47, 70163, 3060, 55769, 28032, 10, 5303, 1238, 3949, 3742, 123309, 28966, 1884, 3714, 3642, 831, 59911, 25632, 23, 563, 4904, 7413, 21373, 42822, 3871, 96362, 136, 43581, 34292, 5646, 51957, 1284, 140992, 56112, 18, 7077,...
[ 0.17578125, 0.1365966796875, 0.315185546875, 0.120361328125, 0.267333984375, 0.08148193359375, 0.204833984375, 0.2076416015625, 0.05999755859375, 0.2386474609375, 0.07464599609375, 0.010284423828125, 0.1256103515625, 0.1463623046875, 0.09088134765625, 0.027008056640625, 0.02012634277...
embed
47457721_c0
47457721
fsharp
0
Title: F# Console application can&#x27;t be created from VisualStudio Problem title: F# Console application can&#x27;t be created from VisualStudio Tags: visual-studio-2017, f%23, visual-studio Problem: F# Console application can't be created from VisualStudio I have installed VisualStudio 2017 community. And searching...
F# Console application can&#x27;t be created from VisualStudio F# Console application can&#x27;t be created from VisualStudio visual-studio-2017 f%23 visual-studio VisualStudio Console visual-studio-2017 F# Console application can't be created from VisualStudio I have installed VisualStudio 2017 community. And searchin...
[ 0.00142669677734375, 0.018798828125, 0.002410888671875, 0.01226806640625, -0.0079345703125, 0.000782012939453125, -0.007659912109375, -0.0174560546875, -0.01544189453125, 0.006866455078125, 0.0166015625, -0.018798828125, 0.015380859375, 0.0011138916015625, 0.00927734375, -0.00320434570...
[ 563, 4904, 1657, 40777, 38415, 831, 3768, 18, 75935, 1295, 73372, 109023, 31, 21176, 52629, 22842, 1238, 20600, 505, 26908, 28282, 130250, 918, 8026, 23, 44160, 110, 4734, 313, 136, 75034, 48723, 39987, 8060, 33233, 678, 11728, 86685, 59720...
[ 0.161865234375, 0.2379150390625, 0.10205078125, 0.20654296875, 0.178466796875, 0.07177734375, 0.029632568359375, 0.0697021484375, 0.168212890625, 0.0867919921875, 0.1837158203125, 0.19091796875, 0.1124267578125, 0.1107177734375, 0.1337890625, 0.1729736328125, 0.0199432373046875, 0....
embed
65341590_c1
65341590
fsharp
1
ptr] + 1) % 265 printfn "ADDING" let doMinus = reg.[ptr] <- (reg.[ptr] - 1) % 265 printfn "SUB" let doInc = ptr <- (ptr + 1) % 265 printfn "INC" let doDec = ptr <- (ptr - 1) % 265 printfn "MINUS" let doPrt = printfn "%c" (reg.[ptr] |> char) let doSloop = startLoop printfn "START LOOP" let doEloop = endLoop printfn "END...
ptr] + 1) % 265 printfn "ADDING" let doMinus = reg.[ptr] <- (reg.[ptr] - 1) % 265 printfn "SUB" let doInc = ptr <- (ptr + 1) % 265 printfn "INC" let doDec = ptr <- (ptr - 1) % 265 printfn "MINUS" let doPrt = printfn "%c" (reg.[ptr] |> char) let doSloop = startLoop printfn "START LOOP" let doEloop = endLoop printfn "END...
[ 0.01080322265625, -0.01373291015625, 0.0034942626953125, 0.048583984375, -0.00970458984375, 0.01239013671875, -0.00848388671875, 0.0015869140625, 0.01190185546875, -0.01531982421875, 0.005096435546875, 0.0225830078125, -0.0125732421875, 0.00494384765625, -0.0081787109375, -0.0157470703...
[ 27037, 42, 997, 4879, 1745, 135285, 28412, 14783, 12351, 156906, 2633, 54, 169929, 7, 6835, 6328, 9, 10901, 20, 294, 32338, 4153, 238, 2203, 8852, 441, 120152, 84139, 8762, 3198, 6, 21441, 28354, 4034, 15363, 2146, 118228, 22215, 20880, 3...
[ 0.0977783203125, 0.1256103515625, 0.1534423828125, 0.1102294921875, 0.109619140625, 0.236083984375, 0.1536865234375, 0.1533203125, 0.1746826171875, 0.1939697265625, 0.05181884765625, 0.063720703125, 0.22412109375, 0.1138916015625, 0.1490478515625, 0.0286407470703125, 0.03619384765625...
embed
6042899_c0
6042899
fsharp
0
Title: Enforce explicit type arguments Problem title: Enforce explicit type arguments Tags: f%23, inline Problem: Enforce explicit type arguments I have a generic function where it's easy to get the compiler to infer the wrong type parameters. The type parameters only control the return type, and if I accidentally miss...
Enforce explicit type arguments Enforce explicit type arguments f%23 inline Enforce Unchecked.defaultof FS0685 Enforce explicit type arguments I have a generic function where it's easy to get the compiler to infer the wrong type parameters. The type parameters only control the return type, and if I accidentally miss of...
[ 0.0079345703125, 0.0050048828125, 0.000965118408203125, 0.0028839111328125, 0.0025787353515625, 0.0028076171875, -0.0181884765625, -0.01080322265625, -0.005859375, 0.0023956298828125, 0.00799560546875, -0.0269775390625, 0.000797271728515625, 0.01214599609375, 0.01483154296875, -0.00053...
[ 357, 50930, 143726, 10644, 10750, 3742, 2256, 992, 78292, 297, 214810, 4390, 93774, 9016, 12951, 189534, 32354, 23468, 9969, 34759, 53498, 44691, 171859, 6226, 30646, 27998, 18025, 5773, 8668, 22062, 995, 170, 3249, 1340, 6032, 18499, 11782, ...
[ 0.04656982421875, 0.206298828125, 0.2440185546875, 0.2161865234375, 0.2025146484375, 0.09832763671875, 0.060211181640625, 0.060546875, 0.1776123046875, 0.05810546875, 0.2103271484375, 0.2208251953125, 0.07781982421875, 0.0255584716796875, 0.103759765625, 0.1363525390625, 0.158203125,...
embed
2236690_c0
2236690
fsharp
0
Title: F# vs Haskell vs Lisp - which language to learn? Problem title: F# vs Haskell vs Lisp - which language to learn? Tags: f%23, c%23, haskell, language-comparisons, lisp Problem: F# vs Haskell vs Lisp - which language to learn? I've heard a lot about functional programming languages and I'm willing to learn one. I ...
F# vs Haskell vs Lisp - which language to learn? F# vs Haskell vs Lisp - which language to learn? f%23 c%23 haskell language-comparisons lisp Haskell Lisp F# vs Haskell vs Lisp - which language to learn? I've heard a lot about functional programming languages and I'm willing to learn one. I guess it will be mostly for ...
[ -0.0023345947265625, 0.012939453125, 0.01239013671875, 0.0004482269287109375, -0.0181884765625, 0.0076904296875, -0.01318359375, 0.00115966796875, 0.000396728515625, -0.0164794921875, -0.00811767578125, -0.037109375, 0.01239013671875, -0.002105712890625, -0.0078125, -0.01318359375, 0...
[ 563, 4904, 20209, 20625, 142508, 1261, 7008, 3129, 46876, 47, 30698, 1238, 3742, 1556, 277, 24980, 400, 49782, 5915, 123309, 56037, 109269, 1632, 1221, 7477, 15673, 52295, 59376, 153161, 17777, 76615, 5117, 44126, 16031, 73372, 22968, 66139, ...
[ 0.1552734375, 0.2113037109375, 0.1436767578125, 0.1522216796875, 0.23681640625, 0.1746826171875, 0.219482421875, 0.0467529296875, 0.20361328125, 0.0552978515625, 0.11083984375, 0.10687255859375, 0.0445556640625, 0.1318359375, 0.032958984375, 0.0880126953125, 0.132568359375, 0.04241...
embed
32581173_c0
32581173
fsharp
0
Title: How to verify F# code is CLS compliant Problem title: How to verify F# code is CLS compliant Tags: .net, f%23 Problem: How to verify F# code is CLS compliant By marking the assembly for CLS compliance with [<assembly: CLSCompliant(true)>] I would expect the compiler to issue a warning if the assembly is not comp...
How to verify F# code is CLS compliant How to verify F# code is CLS compliant .net f%23 How CLS CLSCompliant Test x.intA x.MyMethod How to verify F# code is CLS compliant By marking the assembly for CLS compliance with [<assembly: CLSCompliant(true)>] I would expect the compiler to issue a warning if the assembly is no...
[ -0.0098876953125, 0.004486083984375, 0.00933837890625, 0.01055908203125, -0.005645751953125, -0.0010986328125, 0.00004100799560546875, 0.010009765625, -0.00191497802734375, 0.020263671875, 0.004486083984375, 0.006988525390625, 0.0126953125, 0.0021209716796875, -0.0022125244140625, 0.00...
[ 11249, 493, 40383, 563, 4904, 18151, 83, 313, 19759, 9969, 150, 1236, 1179, 1238, 3742, 108161, 8647, 4288, 284, 1022, 31852, 78572, 7352, 16188, 89845, 38526, 225932, 678, 9774, 41206, 34759, 1631, 592, 959, 831, 1340, 25632, 15490, 160017...
[ 0.033111572265625, 0.154541015625, 0.14208984375, 0.129150390625, 0.235595703125, 0.1749267578125, 0.07550048828125, 0.1103515625, 0.233642578125, 0.129150390625, 0.126953125, 0.1195068359375, 0.1285400390625, 0.072265625, 0.07696533203125, 0.095703125, 0.16259765625, 0.04681396484...
embed
2812084_c0
2812084
fsharp
0
Title: Overload operator in F#: (/) Problem title: Overload operator in F#: (/) Tags: operator-overloading, inline, f%23 Problem: Overload operator in F#: (/) I would like to overload the (/) operator in F# for strings and preserve the meaning for numbers. /// Combines to path strings let (/) path1 path2 = Path.Combine...
Overload operator in F#: (/) Overload operator in F#: (/) operator-overloading inline f%23 Overload Combines path1 path2 Path.Combine System.String Overload operator in F#: (/) I would like to overload the (/) operator in F# for strings and preserve the meaning for numbers. If I try the following I get "Warning 29 Exte...
[ 0.00506591796875, 0.00738525390625, 0.027099609375, 0.020263671875, -0.00836181640625, -0.0133056640625, -0.000614166259765625, -0.006805419921875, -0.00102996826171875, -0.031494140625, 0.00506591796875, -0.00848388671875, 0.014404296875, -0.0028533935546875, -0.00732421875, 0.0083007...
[ 9578, 63033, 39933, 23, 563, 4904, 15, 64, 5465, 2256, 1238, 3742, 106935, 60875, 418, 304, 108421, 46187, 12353, 71713, 1884, 47, 645, 100, 79315, 479, 86687, 91084, 101935, 9790, 71947, 592, 1702, 224545, 43032, 53418, 22691, 137399, 1320...
[ 0.15234375, 0.261474609375, 0.23779296875, 0.07647705078125, 0.1502685546875, 0.2279052734375, 0.03778076171875, 0.2208251953125, 0.1348876953125, 0.09234619140625, 0.1156005859375, 0.12109375, 0.1058349609375, 0.11572265625, 0.0147552490234375, 0.013946533203125, 0.11279296875, 0....
embed
41132436_c0
41132436
fsharp
0
Title: Computing remainder without using modulus operator F# Problem title: Computing remainder without using modulus operator F# Tags: f%23, c%23-to-f%23 Problem: Computing remainder without using modulus operator F# I have implemented my code which is basically to compute remainder in two numbers without using modulu...
Computing remainder without using modulus operator F# Computing remainder without using modulus operator F# f%23 c%23-to-f%23 modulus Computing Console.WriteLine Sorry Wrong Divisor Computing remainder without using modulus operator F# I have implemented my code which is basically to compute remainder in two numbers wi...
[ -0.02392578125, 0.019287109375, 0.027099609375, 0.005157470703125, -0.00004172325134277344, 0.0038299560546875, 0.031494140625, 0.00848388671875, -0.0028228759765625, -0.0128173828125, -0.00127410888671875, 0.0093994140625, 0.01336669921875, 0.00714111328125, 0.01513671875, -0.02746582...
[ 159415, 214, 47143, 820, 15490, 17368, 17055, 223, 39933, 563, 4904, 1238, 3742, 27495, 188, 420, 1657, 40777, 18781, 93232, 90502, 35133, 803, 51858, 29479, 297, 18151, 9969, 6743, 6626, 101935, 179933, 16648, 764, 49086, 3714, 62775, 3525, ...
[ 0.181396484375, 0.0487060546875, 0.2113037109375, 0.1859130859375, 0.1207275390625, 0.0784912109375, 0.148193359375, 0.09619140625, 0.179443359375, 0.1051025390625, 0.189208984375, 0.064208984375, 0.07421875, 0.125, 0.10394287109375, 0.0606689453125, 0.013885498046875, 0.1085205078...
embed
46425891_c0
46425891
fsharp
0
Title: Unexpected character &#x27;&#x27; in implementation file Problem title: Unexpected character &#x27;&#x27; in implementation file Tags: f%23 Problem: Unexpected character '' in implementation file I have a F# file test.fs that contains nothing but a comment: // test When I try to compile it in Visual Studio, I ge...
Unexpected character &#x27;&#x27; in implementation file Unexpected character &#x27;&#x27; in implementation file f%23 Unexpected test.fs Unexpected character '' in implementation file I have a F# file test.fs that contains nothing but a comment: When I try to compile it in Visual Studio, I get the following error: I g...
[ 0.00010967254638671875, 0.005279541015625, -0.0179443359375, -0.01300048828125, -0.0072021484375, 0.0074462890625, -0.000476837158203125, 0.000942230224609375, 0.0037994384765625, 0.02099609375, -0.0030975341796875, 0.01104736328125, 0.01025390625, 0.01214599609375, -0.0068359375, 0.01...
[ 992, 83613, 13, 89829, 62816, 54764, 3768, 74, 23, 208124, 11435, 1238, 3034, 17447, 5106, 563, 4904, 6868, 9790, 9969, 1340, 73372, 22968, 25632, 18499, 5701, 15190, 18151, 10941, 11343, 74918, 5117, 351, 165839, 13315, 102158, 20697, 34759,...
[ 0.0806884765625, 0.1009521484375, 0.0986328125, 0.0743408203125, 0.2054443359375, 0.02874755859375, 0.14697265625, 0.012939453125, 0.052093505859375, 0.1964111328125, 0.173583984375, 0.00347900390625, 0.1875, 0.1549072265625, 0.07318115234375, 0.0859375, 0.1630859375, 0.14672851562...
embed
24417312_c0
24417312
fsharp
0
Title: How to use Observable.Zip in F# Problem title: How to use Observable.Zip in F# Tags: f%23 Problem: How to use Observable.Zip in F# This is my code in C# Observable.Zip(ob1, ob2, (a, b) => a + b); I am trying to convert this to F# using Pipe-Forwarding operator ob1 |> Observable.Zip(ob2, Func<_,_,_> (fun a b -> a...
How to use Observable.Zip in F# How to use Observable.Zip in F# f%23 How Observable.Zip ob1 ob2 Func How to use Observable.Zip in F# This is my code in C# I am trying to convert this to F# using Pipe-Forwarding operator It won't compile because it can't get which overload I am trying to use. Any clue ? The following wo...
[ 0.0086669921875, 0.02197265625, -0.0054931640625, 0.02197265625, -0.01318359375, 0.0194091796875, -0.01416015625, 0.002593994140625, 0.01513671875, -0.033203125, 0.0084228515625, -0.0152587890625, 0.01556396484375, 0.0191650390625, 0.004638671875, -0.0019683837890625, -0.001800537109...
[ 11249, 47, 4527, 87652, 2661, 5, 1511, 3442, 23, 563, 4904, 1238, 3742, 995, 418, 304, 28670, 18151, 313, 31577, 96760, 93128, 13, 18537, 19364, 214, 39933, 23742, 18, 9969, 1340, 645, 63033, 29786, 25632, 43240, 5885, 193844, 137158, 247...
[ 0.08026123046875, 0.03778076171875, 0.160888671875, 0.229736328125, 0.23681640625, 0.02435302734375, 0.175537109375, 0.26123046875, 0.0899658203125, 0.1463623046875, 0.2181396484375, 0.0653076171875, 0.123291015625, 0.1727294921875, 0.0703125, 0.127685546875, 0.1329345703125, 0.089...
embed
7393658_c0
7393658
fsharp
0
Title: How to change F# Interactive newline character Problem title: How to change F# Interactive newline character Tags: newline, f%23-interactive, f%23 Problem: How to change F# Interactive newline character In a .fs file a newline is denoted by \r\n , but in the F# Interactive window it is \n . In a problem I'm curr...
How to change F# Interactive newline character How to change F# Interactive newline character newline f%23-interactive f%23 How Interactive How to change F# Interactive newline character In a .fs file a newline is denoted by \r\n , but in the F# Interactive window it is \n . In a problem I'm currently trying to solve, ...
[ -0.020751953125, -0.0079345703125, 0.0184326171875, 0.0203857421875, 0.00013637542724609375, 0.0130615234375, 0.0164794921875, 0.01239013671875, -0.000782012939453125, 0.016845703125, -0.026123046875, 0.01397705078125, 0.01611328125, 0.021484375, 0.00531005859375, 0.006805419921875, ...
[ 11249, 47, 15549, 563, 4904, 5337, 71232, 3525, 2256, 62816, 1238, 27495, 10433, 3742, 5, 17447, 11435, 8, 157, 3674, 390, 41872, 42, 19, 1284, 23, 76896, 442, 83, 2967, 86869, 140909, 48716, 13315, 15659, 289, 79315, 26866, 134234, 18151...
[ 0.1016845703125, 0.07769775390625, 0.2548828125, 0.153564453125, 0.2254638671875, 0.2000732421875, 0.1954345703125, 0.1864013671875, 0.2340087890625, 0.26513671875, 0.138427734375, 0.07568359375, 0.14208984375, 0.1207275390625, 0.06365966796875, 0.1934814453125, 0.129638671875, 0.0...
embed
1294232_c0
1294232
fsharp
0
Title: Print sequence in F# Problem title: Print sequence in F# Tags: f%23 Problem: Print sequence in F# I'm very new to F# so please excuse the completely newbie question: I have a sequence stored in a variable called prices. I'd like to output the contents of this sequence to the interactive window. What's the easies...
Print sequence in F# Print sequence in F# f%23 Print System.DateTime FS0001 Printf.TextWriterFormat Print sequence in F# I'm very new to F# so please excuse the completely newbie question: I have a sequence stored in a variable called prices. I'd like to output the contents of this sequence to the interactive window. W...
[ 0.00225830078125, 0.0174560546875, 0.0177001953125, 0.025146484375, 0.009765625, -0.000583648681640625, -0.01513671875, 0.022705078125, 0.004119873046875, 0.0015106201171875, 0.0031585693359375, 0.0296630859375, 0.0084228515625, 0.01904296875, 0.0006256103515625, 0.00836181640625, -0...
[ 39754, 40, 944, 3956, 23, 563, 4904, 1238, 3949, 3742, 12353, 86291, 70059, 93774, 188735, 420, 174379, 2783, 102973, 4552, 22936, 133207, 64557, 9014, 765, 4343, 77336, 35839, 112034, 1884, 47, 140992, 10941, 903, 70, 212398, 76896, 28, 15...
[ 0.2294921875, 0.1270751953125, 0.19921875, 0.125732421875, 0.054168701171875, 0.1573486328125, 0.2359619140625, 0.080810546875, 0.000762939453125, 0.1363525390625, 0.0880126953125, 0.0791015625, 0.1312255859375, 0.09130859375, 0.159912109375, 0.140625, 0.097900390625, 0.04168701171...
embed
5501973_c0
5501973
fsharp
0
Title: F# -&gt; Fold with 2 parameters Problem title: F# -&gt; Fold with 2 parameters Tags: f%23, functional-programming, fold Problem: F# -> Fold with 2 parameters I'm trying to make a custom fold which goes through my sequence, and takes 2 Teams a time and assign them to a Match and then return a Match list in the en...
F# -&gt; Fold with 2 parameters F# -&gt; Fold with 2 parameters f%23 functional-programming fold Fold Teams Match a1::a2::a a2::acc F# -> Fold with 2 parameters I'm trying to make a custom fold which goes through my sequence, and takes 2 Teams a time and assign them to a Match and then return a Match list in the end. M...
[ -0.0062255859375, 0.003326416015625, 0.0030975341796875, 0.006378173828125, -0.00750732421875, 0.005157470703125, -0.03515625, 0.002532958984375, 0.0021820068359375, -0.00762939453125, 0.03271484375, 0.0021209716796875, -0.00579833984375, 0.00077056884765625, 0, -0.0037841796875, -0....
[ 563, 4904, 5386, 30077, 71, 678, 116, 171859, 1238, 3742, 123309, 28966, 42822, 11399, 67407, 10, 82825, 11, 304, 10060, 31577, 3249, 114122, 8305, 759, 40, 944, 51776, 1733, 95486, 30646, 5303, 3564, 43581, 18151, 83, 76199, 163, 4288, 3...
[ 0.1075439453125, 0.1875, 0.0699462890625, 0.1962890625, 0.1246337890625, 0.0889892578125, 0.1456298828125, 0.22265625, 0.048736572265625, 0.07281494140625, 0.161865234375, 0.0828857421875, 0.2294921875, 0.213134765625, 0.203125, 0.05718994140625, 0.0196990966796875, 0.0327758789062...
embed
7967396_c0
7967396
fsharp
0
Title: Strict load balancing of multiple .NET processes Problem title: Strict load balancing of multiple .NET processes Tags: .net, f%23, hpc, windows Problem: Strict load balancing of multiple .NET processes I have a multi-process .NET (F#) scientific simulation running on Windows Server 2008 SE and 64 processors. Eac...
Strict load balancing of multiple .NET processes Strict load balancing of multiple .NET processes .net f%23 hpc windows Strict NET Strict load balancing of multiple .NET processes I have a multi-process .NET (F#) scientific simulation running on Windows Server 2008 SE and 64 processors. Each time step of the simulation...
[ -0.001983642578125, 0.00732421875, -0.01214599609375, -0.00286865234375, -0.00927734375, -0.002777099609375, 0.0037689208984375, 0.0022125244140625, 0.0125732421875, -0.0203857421875, -0.0030517578125, 0.00151824951171875, 0.0101318359375, 0.007568359375, -0.001922607421875, 0.02746582...
[ 73425, 15390, 72367, 25168, 60636, 48716, 5, 17777, 9433, 1179, 1238, 3949, 3742, 118258, 238, 54825, 6024, 63923, 919, 4904, 57456, 40226, 1363, 51042, 98, 3773, 22687, 2021, 6755, 7911, 14543, 98423, 1733, 29954, 362, 121226, 22410, 19216, ...
[ 0.167724609375, 0.126953125, 0.2198486328125, 0.2060546875, 0.096923828125, 0.15673828125, 0.0489501953125, 0.1964111328125, 0.177978515625, 0.1539306640625, 0.030487060546875, 0.0146026611328125, 0.1363525390625, 0.03759765625, 0.035675048828125, 0.1099853515625, 0.09820556640625, ...
embed
11677806_c0
11677806
fsharp
0
Title: F# version of Haskell&#x27;s list destructuring Problem title: F# version of Haskell&#x27;s list destructuring Tags: functional-programming, .net, f%23, haskell Problem: F# version of Haskell's list destructuring How do I do this haskell in F#: f acc (x:y:z:xs) = f (acc-x+y*z) xs f acc [] = acc The algorithm the...
F# version of Haskell&#x27;s list destructuring F# version of Haskell&#x27;s list destructuring functional-programming .net f%23 haskell Haskell x:y:z:xs F# version of Haskell's list destructuring How do I do this haskell in F#: The algorithm there is arbitrary, just the important point is selecting the first 3 and the...
[ 0.01708984375, 0.010009765625, -0.006622314453125, 0.0123291015625, -0.00811767578125, 0.007720947265625, -0.01202392578125, 0.0057373046875, 0.0208740234375, -0.005523681640625, 0.0478515625, -0.00531005859375, 0.02587890625, 0.00003314018249511719, -0.0023193359375, 0.0086669921875, ...
[ 563, 4904, 11389, 20625, 142508, 3768, 5303, 8, 36716, 53089, 123309, 28966, 1179, 1238, 3742, 1556, 1022, 12, 53, 169, 425, 54, 87, 903, 23, 234873, 2685, 61799, 5526, 6275, 36849, 214, 5117, 138, 136, 46741, 111, 3871, 4527, 756, 2856...
[ 0.1448974609375, 0.21240234375, 0.138671875, 0.1396484375, 0.255615234375, 0.0777587890625, 0.18994140625, 0.1396484375, 0.197021484375, 0.1103515625, 0.1759033203125, 0.07391357421875, 0.09527587890625, 0.050811767578125, 0.03857421875, 0.16796875, 0.07257080078125, 0.030029296875...
embed
6605253_c0
6605253
fsharp
0
Title: Wrapping a mutable collection with a sequence Problem title: Wrapping a mutable collection with a sequence Tags: ienumerable, f%23, collections Problem: Wrapping a mutable collection with a sequence Occasionally, I want to return a mutable collection from a function as a sequence. Upcasting to seq<_> works, but ...
Wrapping a mutable collection with a sequence Wrapping a mutable collection with a sequence ienumerable f%23 collections Wrapping Seq.map KeyValue Wrapping a mutable collection with a sequence Occasionally, I want to return a mutable collection from a function as a sequence. Upcasting to seq<_> works, but the sequence ...
[ 0.010009765625, 0.01708984375, -0.0081787109375, -0.022705078125, -0.00347900390625, -0.0203857421875, -0.0103759765625, -0.00439453125, -0.00457763671875, 0.00811767578125, -0.0177001953125, 0.056884765625, 0.00506591796875, 0.03955078125, 0.031494140625, 0.00213623046875, -0.021362...
[ 601, 219, 26783, 842, 22819, 42486, 678, 40, 944, 3956, 316, 1238, 3949, 3742, 503, 864, 62346, 26824, 856, 50770, 11210, 3444, 47, 30646, 1295, 32354, 237, 10091, 55741, 454, 43240, 5809, 7565, 408, 73197, 26866, 115723, 29806, 4527, 137...
[ 0.03289794921875, 0.197998046875, 0.09423828125, 0.150634765625, 0.2088623046875, 0.2403564453125, 0.09259033203125, 0.0745849609375, 0.1502685546875, 0.136474609375, 0.0914306640625, 0.042633056640625, 0.06805419921875, 0.1693115234375, 0.0323486328125, 0.15234375, 0.1378173828125, ...
embed
36401670_c0
36401670
fsharp
0
Title: Csv Type Provider convert to Json Problem title: Csv Type Provider convert to Json Tags: json.net, type-providers, f%23 Problem: Csv Type Provider convert to Json I am using the Csv Type Provider to read data from a local csv file. I want to export the data as json, so I am taking each row and serializing it usi...
Csv Type Provider convert to Json Csv Type Provider convert to Json json.net type-providers f%23 Csv Type Provider Json JsonConvert.SerializeObject json.net Csv Type Provider convert to Json I am using the Csv Type Provider to read data from a local csv file. I want to export the data as json, so I am taking each row a...
[ -0.023681640625, 0.017333984375, 0.00604248046875, 0.03271484375, -0.0216064453125, 0.002655029296875, -0.016357421875, 0.037109375, -0.008056640625, -0.0019683837890625, -0.0120849609375, 0.021484375, 0.01025390625, 0.0191650390625, 0.01153564453125, 0.00653076171875, -0.017578125, ...
[ 313, 67756, 60457, 123089, 42, 96760, 47, 821, 1681, 1647, 1179, 10644, 93136, 14202, 3742, 11549, 294, 25435, 119066, 46471, 75161, 17368, 12301, 2053, 4000, 20763, 334, 11435, 31255, 237, 35971, 12638, 15555, 35686, 84382, 103835, 11935, 42...
[ 0.09808349609375, 0.276611328125, 0.2347412109375, 0.1973876953125, 0.0794677734375, 0.1905517578125, 0.10467529296875, 0.15625, 0.2288818359375, 0.1134033203125, 0.1295166015625, 0.180908203125, 0.16748046875, 0.048248291015625, 0.031829833984375, 0.1666259765625, 0.0362548828125, ...
embed
8155894_c0
8155894
fsharp
0
Title: Do algebraic datatypes in Haskell equal discriminated unions in F#? Problem title: Do algebraic datatypes in Haskell equal discriminated unions in F#? Tags: algebraic-data-types, discriminated-union, f%23, functional-programming, haskell Problem: Do algebraic datatypes in Haskell equal discriminated unions in F#...
Do algebraic datatypes in Haskell equal discriminated unions in F#? Do algebraic datatypes in Haskell equal discriminated unions in F#? algebraic-data-types discriminated-union f%23 functional-programming haskell Haskell Do algebraic datatypes in Haskell equal discriminated unions in F#? I am learning Haskell and would...
[ 0.013916015625, 0.0198974609375, 0.01373291015625, 0.0123291015625, -0.01397705078125, -0.00848388671875, -0.00787353515625, -0.00372314453125, 0.00054168701171875, 0.00225830078125, -0.0019989013671875, -0.01025390625, 0.0213623046875, 0.00799560546875, -0.008056640625, -0.01025390625...
[ 429, 2844, 2053, 50986, 20625, 142508, 105950, 55970, 69941, 563, 4904, 144, 1771, 10135, 87046, 1238, 3742, 123309, 28966, 1556, 984, 23, 3674, 52080, 64549, 5701, 60212, 225490, 46876, 21373, 23755, 193984 ]
[ 0.07244873046875, 0.12841796875, 0.09979248046875, 0.2164306640625, 0.1312255859375, 0.1988525390625, 0.1240234375, 0.1717529296875, 0.158447265625, 0.100341796875, 0.1619873046875, 0.0067138671875, 0.000396728515625, 0.07177734375, 0.103759765625, 0.0279083251953125, 0.0286712646484...
embed
55899441_c0
55899441
fsharp
0
Title: Check if tree is a heap Problem title: Check if tree is a heap Tags: functional-programming, .net, f%23 Problem: Check if tree is a heap I'm trying to create a function chkHeapProperty that will check if a given heap is fulfilling the heap requirement: "The value stored in a node must be less than or equal than ...
Check if tree is a heap Check if tree is a heap functional-programming .net f%23 Check EmptyHP Check if tree is a heap I'm trying to create a function chkHeapProperty that will check if a given heap is fulfilling the heap requirement: "The value stored in a node must be less than or equal than it's children nodes" Exam...
[ -0.00567626953125, -0.005828857421875, 0.01080322265625, -0.01239013671875, 0.00109100341796875, 0.01458740234375, -0.024169921875, -0.032958984375, 0.006805419921875, -0.006256103515625, 0.003875732421875, 0.0101318359375, 0.00445556640625, 0.0019073486328125, -0.005828857421875, 0.00...
[ 38679, 2174, 53201, 83, 10, 764, 2631, 123309, 28966, 1179, 1238, 3742, 31678, 939, 36599, 31577, 28282, 32354, 3863, 92, 13025, 10752, 1264, 12765, 211394, 214, 64209, 34292, 4343, 23, 110, 8110, 40715, 3501, 105950, 20020, 988, 89536, 364...
[ 0.1806640625, 0.1239013671875, 0.25390625, 0.1195068359375, 0.0860595703125, 0.1844482421875, 0.2159423828125, 0.12451171875, 0.09295654296875, 0.12158203125, 0.000885009765625, 0.082275390625, 0.183837890625, 0.0655517578125, 0.1531982421875, 0.0181427001953125, 0.037322998046875, ...
embed
235880_c0
235880
fsharp
0
Title: F# int64 to int Problem title: F# int64 to int Tags: f%23, type-conversion Problem: F# int64 to int How can I convert an Int64 to an Int32 type in F# without using the Microsoft.FSharp.Compatibility.Int32.of_int64 ? I'm doing this because interactive doesn't seem to work when I try: open Microsoft.FSharp.Compati...
F# int64 to int F# int64 to int f%23 type-conversion int64 Int32 Microsoft.FSharp.Compatibility.Int32.of_int64 Microsoft.FSharp.Compatibility FSharp.PowerPack F# int64 to int How can I convert an Int64 to an Int32 type in F# without using the Microsoft.FSharp.Compatibility.Int32.of_int64 ? I'm doing this because intera...
[ -0.0247802734375, 0.00014209747314453125, 0.0242919921875, 0.00653076171875, -0.0032806396484375, 0.006011962890625, -0.01611328125, -0.0135498046875, -0.006317138671875, -0.0238037109375, 0.00787353515625, -0.00689697265625, 0.0023651123046875, 0.024169921875, 0.017333984375, -0.00939...
[ 563, 4904, 23, 18, 13307, 47, 1238, 3742, 10644, 2271, 46354, 360, 6460, 7244, 36381, 3467, 254, 10770, 10974, 83259, 4153, 4390, 4288, 105022, 205956, 11249, 831, 87, 96760, 142, 15490, 17368, 5, 212398, 4488, 9790, 17106, 93774, 49814, ...
[ 0.20166015625, 0.258056640625, 0.185302734375, 0.2052001953125, 0.310791015625, 0.1290283203125, 0.1396484375, 0.1336669921875, 0.172119140625, 0.069580078125, 0.1376953125, 0.1387939453125, 0.287109375, 0.09326171875, 0.047637939453125, 0.1644287109375, 0.1617431640625, 0.04617309...
embed
1526046_c0
1526046
fsharp
0
Title: F# permutations Problem title: F# permutations Tags: f%23 Problem: F# permutations I need to generate permutations on a given list. I managed to do it like this let rec Permute (final, arr) = if List.length arr > 0 then for x in arr do let n_final = final @ [x] let rest = arr |> List.filter (fun a -> not (x = a)...
F# permutations F# permutations f%23 Permute List.length n_final List.filter DoPermute F# permutations I need to generate permutations on a given list. I managed to do it like this There are obvious issues with this code. For example, list elements must be unique. Also, this is more-less a same approach that I would us...
[ -0.0157470703125, 0.027099609375, 0.020263671875, -0.004364013671875, -0.026123046875, 0.00872802734375, -0.0172119140625, -0.003814697265625, 0.01104736328125, -0.0196533203125, -0.01116943359375, 0.0279541015625, 0.0263671875, 0.018310546875, -0.017822265625, 0.00384521484375, 0.00...
[ 563, 4904, 117, 14311, 21094, 1238, 3949, 3742, 908, 561, 67, 32036, 23986, 653, 33870, 120337, 984, 15277, 87, 3871, 139392, 98, 34475, 5303, 145755, 1884, 903, 162520, 37348, 18151, 80854, 8110, 186, 36998, 83, 51515, 450, 12663, 80560, ...
[ 0.190673828125, 0.224853515625, 0.147216796875, 0.2308349609375, 0.1370849609375, 0.11181640625, 0.0662841796875, 0.1453857421875, 0.1175537109375, 0.1993408203125, 0.0565185546875, 0.1937255859375, 0.077392578125, 0.032318115234375, 0.144775390625, 0.2047119140625, 0.0797119140625, ...
embed
45407969_c0
45407969
fsharp
0
Title: F# Charting on Mac OSX issues Problem title: F# Charting on Mac OSX issues Tags: f%23, charts Problem: F# Charting on Mac OSX issues When trying to load the fsx "Fsharp.Charing.Gtk.fsx" I get the error "The assembly reference FSharp.Compiler.Interactive.Settings.dll was not found or is invalid". When I #r the dl...
F# Charting on Mac OSX issues F# Charting on Mac OSX issues f%23 charts Charting Mac OSX F# Charting on Mac OSX issues When trying to load the fsx "Fsharp.Charing.Gtk.fsx" I get the error "The assembly reference FSharp.Compiler.Interactive.Settings.dll was not found or is invalid". When I #r the dll the error goes away...
[ 0.006561279296875, 0.0125732421875, 0.014404296875, -0.004638671875, 0.002227783203125, -0.0023345947265625, 0.00933837890625, -0.0224609375, -0.017578125, 0.0169677734375, -0.015869140625, -0.037353515625, 0.00823974609375, 0.003326416015625, 0.01336669921875, 0.00726318359375, 0.00...
[ 563, 4904, 110373, 214, 4727, 11787, 1542, 37348, 1238, 3742, 116287, 31577, 72367, 7, 425, 919, 89280, 254, 84068, 724, 31472, 17447, 18499, 3957, 10, 89845, 38526, 91067, 93774, 3467, 108161, 34759, 44851, 71232, 105548, 71, 1181, 959, 14...
[ 0.09954833984375, 0.1817626953125, 0.2325439453125, 0.1163330078125, 0.1199951171875, 0.1387939453125, 0.1142578125, 0.09912109375, 0.06732177734375, 0.115234375, 0.202392578125, 0.050750732421875, 0.135009765625, 0.0428466796875, 0.1580810546875, 0.07623291015625, 0.1419677734375, ...
embed
35977612_c0
35977612
fsharp
0
Title: F# type of recursive tree structure Problem title: F# type of recursive tree structure Tags: f%23, tree, recursion Problem: F# type of recursive tree structure I am still quite new at F# and trying to figure out how to make my own kind of type that can hold any number of "A"'s before if should how a value in the...
F# type of recursive tree structure F# type of recursive tree structure f%23 tree recursion F# type of recursive tree structure I am still quite new at F# and trying to figure out how to make my own kind of type that can hold any number of "A"'s before if should how a value in the end. As an example it could be like: i...
[ -0.01007080078125, 0.01220703125, -0.000682830810546875, 0.0181884765625, 0.00421142578125, 0.006011962890625, -0.009765625, -0.003173828125, 0.0018768310546875, -0.0322265625, -0.002044677734375, -0.006561279296875, 0.00921630859375, 0.01019287109375, 0.0264892578125, 0.00014877319335...
[ 563, 4904, 10644, 195625, 5844, 53201, 45646, 1238, 3949, 3742, 3525, 31577, 26366, 3249, 10002, 8562, 831, 16401, 2499, 14012, 284, 8108, 2174, 5608, 3642, 34292, 3564, 27781, 9790, 1884, 903, 159978, 14192, 163, 18, 5701, 186351, 765, 171...
[ 0.10076904296875, 0.1910400390625, 0.1834716796875, 0.1837158203125, 0.052093505859375, 0.1697998046875, 0.158203125, 0.05841064453125, 0.0185699462890625, 0.1463623046875, 0.0557861328125, 0.0069580078125, 0.0203857421875, 0.040985107421875, 0.058685302734375, 0.07794189453125, 0.08...
embed
62245755_c1
62245755
fsharp
1
combine events and lazy? or is there a better mechanism? When I try to make the publisher lazy, the code is executed right away: let e = Event<string>() let p = Lazy<IEvent<string>>(printfn "test"; e.Publish) will print 'test', so there is something I didn't expect with Lazy as well. Code signals: ExchangeChannel.Cons...
combine events and lazy? or is there a better mechanism? When I try to make the publisher lazy, the code is executed right away: let e = Event<string>() let p = Lazy<IEvent<string>>(printfn "test"; e.Publish) will print 'test', so there is something I didn't expect with Lazy as well. Code signals: ExchangeChannel.Cons...
[ -0.00921630859375, 0.032470703125, 0.0005340576171875, 0.0054931640625, -0.006622314453125, -0.0030059814453125, -0.0019683837890625, -0.006103515625, 0.003997802734375, -0.0284423828125, 0.0033111572265625, 0.024658203125, 0.031982421875, 0.01068115234375, 0.0023040771484375, 0.032470...
[ 70163, 47353, 136, 21, 3285, 11522, 191619, 9790, 3249, 80299, 56, 18151, 71924, 7108, 16065, 2633, 28, 36943, 91693, 915, 239, 568, 192134, 35662, 14783, 6954, 143145, 15227, 28412, 41206, 28864, 26073, 104758, 127008, 40777, 18468, 71916, 1...
[ 0.2266845703125, 0.257568359375, 0.06292724609375, 0.1939697265625, 0.257568359375, 0.092529296875, 0.1806640625, 0.09375, 0.0902099609375, 0.1925048828125, 0.1112060546875, 0.201416015625, 0.1844482421875, 0.0662841796875, 0.1512451171875, 0.08154296875, 0.1231689453125, 0.2294921...
embed
713439_c0
713439
fsharp
0
Title: Floating point accuracy in F# (and .NET) Problem title: Floating point accuracy in F# (and .NET) Tags: floating-point, f%23 Problem: Floating point accuracy in F# (and .NET) In " F# for Scientists " Jon Harrop says: Roughly speaking, values of type int approximate real numbers between min-int and max-int with a ...
Floating point accuracy in F# (and .NET) Floating point accuracy in F# (and .NET) floating-point f%23 Floating NET Floating point accuracy in F# (and .NET) In " F# for Scientists " Jon Harrop says: Now, what does it mean? Int type is inaccurate? Why C# for (1 - 0.9) returns 0.1 but F# returns 0.099999999999978 ? Is C# ...
[ 0.00701904296875, 0.009033203125, 0.01513671875, 0.0007171630859375, 0.00185394287109375, 0.0042724609375, -0.00689697265625, -0.006927490234375, -0.00128173828125, 0.033447265625, -0.00238037109375, 0.016357421875, -0.007293701171875, 0.031982421875, -0.0011749267578125, 0.01025390625...
[ 38699, 26518, 6275, 61689, 219, 2408, 23, 563, 4904, 2940, 6, 17777, 5, 21917, 38496, 1238, 3949, 3742, 15, 100, 159, 45964, 64370, 21240, 1950, 28437, 17378, 14240, 2367, 14602, 442, 29459, 360, 18, 10644, 83, 2263, 27315, 44084, 313, ...
[ 0.2171630859375, 0.1282958984375, 0.1600341796875, 0.1705322265625, 0.1553955078125, 0.036468505859375, 0.047332763671875, 0.1392822265625, 0.2269287109375, 0.02166748046875, 0.04095458984375, 0.1661376953125, 0.0098876953125, 0.2119140625, 0.156005859375, 0.1207275390625, 0.09167480...
embed
68970642_c0
68970642
fsharp
0
Title: F# Computation Expressions de-sugaring tool Problem title: F# Computation Expressions de-sugaring tool Tags: f%23, computation-expression Problem: F# Computation Expressions de-sugaring tool A great help in dealing with F# computation expressions would be a way to look at how they are de-sugared during compilati...
F# Computation Expressions de-sugaring tool F# Computation Expressions de-sugaring tool f%23 computation-expression Computation Expressions ce.fs compiler.DeSugar F# Computation Expressions de-sugaring tool A great help in dealing with F# computation expressions would be a way to look at how they are de-sugared during ...
[ 0.006561279296875, 0.004913330078125, 0.00372314453125, 0.0091552734375, 0.000316619873046875, 0.04443359375, -0.01055908203125, 0.01165771484375, 0.00244140625, 0.00732421875, -0.021240234375, 0.0225830078125, -0.000232696533203125, 0.032470703125, 0.03173828125, 0.0034637451171875, ...
[ 563, 4904, 159415, 2320, 25129, 17514, 8, 76582, 101098, 55516, 1238, 3949, 3742, 181135, 204629, 405, 5, 17447, 9969, 34759, 4657, 14168, 1970, 6782, 4358, 184017, 1363, 125195, 2806, 3917, 6713, 3642, 9, 7, 16565, 2822, 20271, 98352, 47, ...
[ 0.1500244140625, 0.2113037109375, 0.17919921875, 0.001312255859375, 0.1583251953125, 0.003662109375, 0.2276611328125, 0.1646728515625, 0.1199951171875, 0.1986083984375, 0.088623046875, 0.0205230712890625, 0.1102294921875, 0.19189453125, 0.1534423828125, 0.1280517578125, 0.037109375, ...
embed
38078526_c0
38078526
fsharp
0
Title: Can&#x27;t reference an F# class library Problem title: Can&#x27;t reference an F# class library Tags: asp.net-core, f%23 Problem: Can't reference an F# class library This issue is exactly as described in the title. I have a portable F# class library. I have created an ASP.NET Core Web Application (both .NET Fra...
Can&#x27;t reference an F# class library Can&#x27;t reference an F# class library asp.net-core f%23 Can asp.net-core Can't reference an F# class library This issue is exactly as described in the title. I have a portable F# class library. I have created an ASP.NET Core Web Application (both .NET Framework and .NET Core)...
[ -0.011474609375, 0.041015625, -0.0017242431640625, 0.005401611328125, -0.006500244140625, -0.0228271484375, -0.0247802734375, -0.001861572265625, -0.002044677734375, -0.006195068359375, 0.004241943359375, -0.0167236328125, 0.0103759765625, 0.03564453125, 0.02001953125, -0.0047912597656...
[ 4171, 3768, 18, 91067, 142, 563, 4904, 18507, 35773, 1294, 237, 254, 1179, 30854, 1238, 31089, 66161, 151552, 765, 168627, 75935, 147153, 17777, 31365, 4002, 104921, 202220, 136, 1295, 37842, 15190, 10, 40858, 26008, 3293, 111531, 2837, 14054...
[ 0.1077880859375, 0.0692138671875, 0.08563232421875, 0.280029296875, 0.04730224609375, 0.1514892578125, 0.2322998046875, 0.1622314453125, 0.200927734375, 0.094970703125, 0.03253173828125, 0.10015869140625, 0.10430908203125, 0.171875, 0.05975341796875, 0.0204620361328125, 0.00921630859...
embed
10750214_c0
10750214
fsharp
0
Title: What&#x27;s with &quot;Uppercase variable identifiers should not generally be used in patterns...&quot;? Problem title: What&#x27;s with &quot;Uppercase variable identifiers should not generally be used in patterns...&quot;? Tags: compiler-warnings, f%23 Problem: What's with "Uppercase variable identifiers shoul...
What&#x27;s with &quot;Uppercase variable identifiers should not generally be used in patterns...&quot;? What&#x27;s with &quot;Uppercase variable identifiers should not generally be used in patterns...&quot;? compiler-warnings f%23 What Uppercase Xfd Yfd What's with "Uppercase variable identifiers should not generally...
[ 0.0035858154296875, -0.000637054443359375, -0.010498046875, -0.01458740234375, 0.00150299072265625, 0.002410888671875, -0.006500244140625, -0.00133514404296875, 0.0172119140625, -0.00958251953125, 0.0012359619140625, -0.0101318359375, 0.00927734375, 0.0026702880859375, 0.0206298828125, ...
[ 4865, 3768, 678, 1062, 8079, 58437, 77336, 42485, 1314, 5608, 959, 137567, 11814, 23, 103510, 9969, 34759, 4205, 6977, 3742, 26655, 56, 1193, 420, 71, 990, 1884, 3293, 110, 5550, 592, 1543, 117414, 1239, 11337, 9351, 1663, 155965, 73342, ...
[ 0.04962158203125, 0.0694580078125, 0.09576416015625, 0.04248046875, 0.1419677734375, 0.22314453125, 0.2445068359375, 0.2010498046875, 0.079833984375, 0.1031494140625, 0.127197265625, 0.1707763671875, 0.1309814453125, 0.07647705078125, 0.22412109375, 0.1390380859375, 0.1422119140625, ...
embed
15081218_c0
15081218
fsharp
0
Title: Higher-kinded types—why possible Scala but not F#? Problem title: Higher-kinded types—why possible Scala but not F#? Tags: typeclass, scala, f%23, higher-kinded-types Problem: Higher-kinded types—why possible Scala but not F#? Given that the CLR generics implementation supports more features than the JVM's, such...
Higher-kinded types—why possible Scala but not F#? Higher-kinded types—why possible Scala but not F#? typeclass scala f%23 higher-kinded-types Higher-kinded Scala Higher-kinded types—why possible Scala but not F#? Given that the CLR generics implementation supports more features than the JVM's, such as reification, and...
[ 0.0025482177734375, 0.00823974609375, 0.00031280517578125, -0.0174560546875, 0.011962890625, -0.030517578125, -0.01385498046875, -0.004150390625, -0.0128173828125, -0.00311279296875, -0.0186767578125, -0.036376953125, 0.004669189453125, -0.013671875, 0.00860595703125, -0.01312255859375...
[ 19694, 56, 68347, 297, 52895, 3038, 7722, 152653, 11, 1284, 959, 563, 4904, 10644, 67413, 146232, 1238, 3949, 3742, 77546, 50986, 313, 138535, 189534, 208124, 8060, 1286, 66139, 821, 47599, 456, 41274, 2563, 41925, 58875, 34759, 88308, 15400,...
[ 0.1527099609375, 0.07568359375, 0.1845703125, 0.06744384765625, 0.2288818359375, 0.0816650390625, 0.1573486328125, 0.2176513671875, 0.1505126953125, 0.05206298828125, 0.06439208984375, 0.105224609375, 0.201171875, 0.13232421875, 0.1387939453125, 0.1903076171875, 0.0714111328125, 0....
embed
23830085_c0
23830085
fsharp
0
Title: Select a subset of columns (ie. filter data frame by collection of column keys) Problem title: Select a subset of columns (ie. filter data frame by collection of column keys) Tags: deedle, f%23 Problem: Select a subset of columns (ie. filter data frame by collection of column keys) There are some examples of how...
Select a subset of columns (ie. filter data frame by collection of column keys) Select a subset of columns (ie. filter data frame by collection of column keys) deedle f%23 Select Age people.GetColumn Countries Select a subset of columns (ie. filter data frame by collection of column keys) There are some examples of how...
[ 0.0147705078125, 0.027099609375, 0.0087890625, 0.024169921875, -0.0284423828125, -0.0220947265625, -0.01165771484375, 0.01287841796875, 0.00567626953125, 0.0242919921875, -0.0067138671875, 0.01226806640625, -0.022705078125, 0.009033203125, -0.00799560546875, -0.0031585693359375, 0.02...
[ 51620, 1614, 3509, 111, 3365, 316, 1779, 46312, 2053, 123789, 42486, 22799, 19, 8, 297, 133, 1238, 3949, 3742, 72944, 3395, 724, 126, 78457, 108210, 390, 621, 3060, 27781, 3642, 2046, 11001, 1295, 1884, 903, 831, 10, 48716, 19048, 30646, ...
[ 0.1683349609375, 0.194091796875, 0.1951904296875, 0.02984619140625, 0.1790771484375, 0.1995849609375, 0.1014404296875, 0.179931640625, 0.1162109375, 0.2081298828125, 0.1292724609375, 0.1224365234375, 0.05328369140625, 0.0792236328125, 0.13720703125, 0.1337890625, 0.033599853515625, ...
embed
55665897_c0
55665897
fsharp
0
Title: Pass value to second parameter in a pipeline Problem title: Pass value to second parameter in a pipeline Tags: pipeline, f%23 Problem: Pass value to second parameter in a pipeline what's the correct way to pass a value to the second paramater of a function in a pipeline? e.g. async { let! response = someData |> ...
Pass value to second parameter in a pipeline Pass value to second parameter in a pipeline pipeline f%23 Pass JsonConvert.SerializeObject StringContent httpClient.PostAsync DoSomething Async.AwaitTask PostAsync Pass value to second parameter in a pipeline what's the correct way to pass a value to the second paramater of...
[ -0.0118408203125, -0.01190185546875, -0.0152587890625, 0.00799560546875, -0.01123046875, -0.003021240234375, -0.015869140625, -0.0027008056640625, 0.005126953125, -0.01422119140625, 0.017822265625, 0.0302734375, 0.01287841796875, 0.002227783203125, 0.03271484375, -0.000843048095703125,...
[ 28872, 34292, 47, 17932, 171859, 23, 137158, 2256, 3949, 3742, 821, 1681, 11549, 25435, 119066, 75161, 23351, 25352, 1621, 150, 49411, 12654, 64113, 238, 634, 9874, 2795, 26785, 3917, 27875, 10, 121, 192, 720, 32354, 18151, 284, 51776, 116,...
[ 0.18701171875, 0.2493896484375, 0.175048828125, 0.23486328125, 0.30078125, 0.009521484375, 0.198486328125, 0.209716796875, 0.001800537109375, 0.1129150390625, 0.092041015625, 0.15478515625, 0.1295166015625, 0.0643310546875, 0.060272216796875, 0.0616455078125, 0.04779052734375, 0.11...
embed
55134124_c0
55134124
fsharp
0
Title: Shifting arrays in F# Problem title: Shifting arrays in F# Tags: f%23, arrays Problem: Shifting arrays in F# So I have a function which shifts some ternary values in an array by the desired amount, but when I shift any array, (b) value(s) (on the right if shifting left, and the left if shifting right) will alway...
Shifting arrays in F# Shifting arrays in F# f%23 arrays Shifting a:FalseTrit b:int array.Copy a.Length array.Clear Shifting arrays in F# So I have a function which shifts some ternary values in an array by the desired amount, but when I shift any array, (b) value(s) (on the right if shifting left, and the left if shift...
[ 0.021240234375, 0.0081787109375, 0.0174560546875, 0.004638671875, -0.021484375, -0.0238037109375, -0.0201416015625, -0.003173828125, -0.00347900390625, 0.0419921875, 0.002960205078125, 0.044189453125, 0.005462646484375, 0.0130615234375, 0.0211181640625, -0.01556396484375, 0.014404296...
[ 8294, 2480, 214, 10298, 4778, 563, 4904, 23, 1238, 3742, 10, 17647, 11971, 74257, 18, 876, 4288, 53, 10625, 6493, 133, 32354, 122925, 7, 31586, 1294, 142424, 390, 104851, 41170, 1284, 3229, 2499, 275, 34292, 7108, 25737, 1221, 11343, 9199...
[ 0.157958984375, 0.1806640625, 0.02899169921875, 0.1934814453125, 0.15966796875, 0.1622314453125, 0.204833984375, 0.01116943359375, 0.10693359375, 0.1495361328125, 0.03033447265625, 0.0767822265625, 0.06634521484375, 0.1434326171875, 0.0921630859375, 0.0789794921875, 0.0721435546875, ...
embed
17514263_c0
17514263
fsharp
0
Title: printfn not producing expected results for international (non-latin) characters Problem title: printfn not producing expected results for international (non-latin) characters Tags: f%23 Problem: printfn not producing expected results for international (non-latin) characters I have the following program: let txt ...
printfn not producing expected results for international (non-latin) characters printfn not producing expected results for international (non-latin) characters f%23 Text printfn not producing expected results for international (non-latin) characters I have the following program: The value of txt is being set to some Ar...
[ 0.022216796875, 0.017333984375, 0.01409912109375, 0.0177001953125, -0.029296875, 0.002685546875, 0.02490234375, -0.0009307861328125, -0.0269775390625, 0.021484375, 0.006744384765625, -0.003326416015625, -0.0179443359375, -0.00885009765625, 0.005615234375, 0.021728515625, 0.0305175781...
[ 28412, 14783, 959, 27024, 84751, 50339, 21640, 6431, 2335, 124850, 73, 3949, 3742, 24129, 25632, 1528, 34292, 124326, 5423, 47, 197212, 11675, 44116, 130250, 147306, 9655, 16188, 43257, 3501, 73372, 22968, 1324, 8, 978, 21407, 26785, 77336, 2...
[ 0.1798095703125, 0.2349853515625, 0.0804443359375, 0.1064453125, 0.1351318359375, 0.1297607421875, 0.1456298828125, 0.078857421875, 0.032470703125, 0.17724609375, 0.03515625, 0.0152130126953125, 0.06134033203125, 0.13037109375, 0.02325439453125, 0.1263427734375, 0.1165771484375, 0....
embed
15326054_c2
15326054
fsharp
2
Evaluation, Microsoft.FSharp.Linq.RuntimeHelpers, Calculus, der_impl, Some, None, SpecificCall, l::r, dl:double, r:double, l:double, dr:double, Math.Sin, _types, arg::_, Math.Cos, arg:double, ExprShape.ShapeVar, Expr.Var, ExprShape.ShapeLambda, Expr.Lambda, ExprShape.ShapeCombination, ExprShape.RebuildShapeCombination,...
Evaluation, Microsoft.FSharp.Linq.RuntimeHelpers, Calculus, der_impl, Some, None, SpecificCall, l::r, dl:double, r:double, l:double, dr:double, Math.Sin, _types, arg::_, Math.Cos, arg:double, ExprShape.ShapeVar, Expr.Var, ExprShape.ShapeLambda, Expr.Lambda, ExprShape.ShapeCombination, ExprShape.RebuildShapeCombination,...
[ 0.01708984375, 0.01141357421875, -0.006195068359375, -0.0089111328125, 0.0034027099609375, -0.002960205078125, -0.00115966796875, -0.004638671875, 0.013671875, 0.0147705078125, -0.01953125, 0.044189453125, -0.00179290771484375, -0.01708984375, 0.0133056640625, 0.0238037109375, 0.0002...
[ 151228, 1363, 7244, 5, 36381, 3467, 254, 866, 44982, 163321, 6032, 60785, 21777, 212467, 223, 122, 116120, 31384, 438, 86, 209052, 441, 5584, 96, 42, 42734, 21555, 2661, 1690, 3568, 78804, 73, 101, 50986, 79459, 10625, 60075, 40798, 1081, ...
[ 0.27294921875, 0.1375732421875, 0.164306640625, 0.04473876953125, 0.118896484375, 0.203369140625, 0.1859130859375, 0.0626220703125, 0.1925048828125, 0.1151123046875, 0.128173828125, 0.192138671875, 0.2037353515625, 0.213134765625, 0.1331787109375, 0.1912841796875, 0.2135009765625, ...
embed
2370240_c0
2370240
fsharp
0
Title: Would you please explain OCaml functors to me? Problem title: Would you please explain OCaml functors to me? Tags: ocaml, functor, f%23 Problem: Would you please explain OCaml functors to me? Possible Duplicate: In Functional Programming, what is a functor? I don't know much about OCaml, I've studied F# for some...
Would you please explain OCaml functors to me? Would you please explain OCaml functors to me? ocaml functor f%23 Would OCaml Would you please explain OCaml functors to me? I don't know much about OCaml, I've studied F# for some time and quite understand it. They say that F# misses functor model, which is present in OCa...
[ 0.0087890625, 0.00885009765625, 0.0233154296875, -0.0003719329833984375, 0.01611328125, 0.0067138671875, -0.0031585693359375, -0.015625, -0.001617431640625, -0.0208740234375, -0.0079345703125, -0.00848388671875, -0.0150146484375, 0.004638671875, 0.004638671875, -0.0150146484375, -0.0...
[ 154559, 22936, 73342, 180, 105272, 141, 7477, 18770, 7, 47, 163, 32, 36, 9779, 1238, 3949, 3742, 3714, 5045, 563, 4904, 28219, 5154, 18025, 90, 3299, 13379, 26366, 2367, 66161, 83, 7168, 57143, 4358, 191147, 166116, 236209, 156892, 171763, ...
[ 0.098388671875, 0.05474853515625, 0.1279296875, 0.1256103515625, 0.1917724609375, 0.16748046875, 0.2174072265625, 0.253173828125, 0.05462646484375, 0.03179931640625, 0.054840087890625, 0.007049560546875, 0.103759765625, 0.158447265625, 0.07958984375, 0.104736328125, 0.156494140625, ...
embed
24900208_c1
24900208
fsharp
1
(_,_,valid) -> not valid) |> Seq.map (fun (name,_,_) -> printfn "Invalid argument %s" name) |> ignore // another example of a 2nd iteration... for validationResult in validationResults do if not valid then printfn "Invalid argument %s" name Update 2014-07-23 per Answer I used this as the solution per the answer. The p...
(_,_,valid) -> not valid) |> Seq.map (fun (name,_,_) -> printfn "Invalid argument %s" name) |> ignore // another example of a 2nd iteration... for validationResult in validationResults do if not valid then printfn "Invalid argument %s" name Update 2014-07-23 per Answer I used this as the solution per the answer. The p...
[ -0.005615234375, 0.007080078125, 0.0084228515625, 0.016357421875, -0.006927490234375, 0.00106048583984375, 0.00189971923828125, -0.01129150390625, 0.01141357421875, 0.04150390625, 0.01806640625, -0.00098419189453125, 0.00872802734375, 0.01153564453125, -0.0126953125, 0.006256103515625,...
[ 454, 7013, 71, 959, 35604, 503, 864, 62346, 16498, 11627, 28412, 14783, 4153, 10750, 1745, 9351, 124962, 27781, 116, 2208, 17, 720, 2320, 44622, 7, 7136, 1363, 10178, 2174, 29806, 103510, 4527, 197564, 32354, 70541, 35431, 289, 27650, 318, ...
[ 0.0141448974609375, 0.2244873046875, 0.14892578125, 0.168701171875, 0.2296142578125, 0.0357666015625, 0.1619873046875, 0.14794921875, 0.138671875, 0.098388671875, 0.181396484375, 0.148193359375, 0.106201171875, 0.2578125, 0.0308837890625, 0.1141357421875, 0.1800537109375, 0.0906372...
embed
65460209_c1
65460209
fsharp
1
opt xDeclaration) (opt (many xComment_or_CData)) xElement (opt (many xComment_or_CData)) (fun decl before_root root after_root -> {Declaration = decl Before_Root = before_root Root = root After_Root = after_root}) |>> TOP_LEVEL_TYPE // Replaced this text ----------------------->^^^^^^^^^^^^^^ ... the code compiles with...
opt xDeclaration) (opt (many xComment_or_CData)) xElement (opt (many xComment_or_CData)) (fun decl before_root root after_root -> {Declaration = decl Before_Root = before_root Root = root After_Root = after_root}) |>> TOP_LEVEL_TYPE // Replaced this text ----------------------->^^^^^^^^^^^^^^ ... the code compiles with...
[ 0.013916015625, 0.0242919921875, -0.0242919921875, 0.036376953125, -0.010498046875, 0.016357421875, -0.00494384765625, -0.0220947265625, 0.002410888671875, -0.009033203125, 0.0079345703125, 0.006256103515625, -0.01123046875, -0.00396728515625, 0.00537109375, -0.0034332275390625, 0.01...
[ 43922, 1022, 120152, 320, 2320, 2146, 18, 669, 10770, 674, 748, 1724, 647, 19929, 16498, 8, 34937, 8108, 148920, 74855, 7103, 117371, 12724, 150948, 24372, 26668, 15300, 51442, 27143, 21907, 23935, 71, 18151, 9969, 1340, 15490, 2499, 18499, ...
[ 0.2449951171875, 0.11865234375, 0.14892578125, 0.1885986328125, 0.08123779296875, 0.1424560546875, 0.0836181640625, 0.02313232421875, 0.07080078125, 0.1422119140625, 0.138671875, 0.1090087890625, 0.022430419921875, 0.1798095703125, 0.139404296875, 0.1124267578125, 0.1331787109375, ...
embed
19057955_c0
19057955
fsharp
0
Title: Is there a way of using Matlab Image Processing Toolbox in F#? Problem title: Is there a way of using Matlab Image Processing Toolbox in F#? Tags: r, .net, f%23, matlab Problem: Is there a way of using Matlab Image Processing Toolbox in F#? I came across this article which lets F# use R. Is anyone aware of a sim...
Is there a way of using Matlab Image Processing Toolbox in F#? Is there a way of using Matlab Image Processing Toolbox in F#? r .net f%23 matlab Matlab Image Processing Toolbox Is there a way of using Matlab Image Processing Toolbox in F#? I came across this article which lets F# use R. Is anyone aware of a similar way...
[ 0.007354736328125, 0.01531982421875, -0.004730224609375, -0.001373291015625, -0.01434326171875, -0.001983642578125, 0.000362396240234375, 0.007568359375, -0.021240234375, -0.03369140625, 0.0211181640625, 0.0152587890625, 0.01324462890625, -0.00634765625, 0.00286865234375, -0.0097045898...
[ 2071, 2685, 10, 3917, 17368, 7656, 6114, 22710, 123996, 214, 92285, 11728, 23, 563, 4904, 111, 1690, 1179, 1238, 3742, 2589, 36880, 2633, 4527, 627, 21373, 18588, 35773, 10484, 72090, 4092, 32102, 3444, 55516, 77947, 30700, 17777, 65998, 98...
[ 0.00823974609375, 0.06451416015625, 0.03704833984375, 0.09466552734375, 0.163330078125, 0.1700439453125, 0.2408447265625, 0.1851806640625, 0.1663818359375, 0.077392578125, 0.17822265625, 0.218505859375, 0.1209716796875, 0.1502685546875, 0.2318115234375, 0.00341796875, 0.0987548828125...
embed
29599456_c0
29599456
fsharp
0
Title: How to get the name of function argument in F#? Problem title: How to get the name of function argument in F#? Tags: f%23, reflection Problem: How to get the name of function argument in F#? Can I write a function which returns the name of the function given as the argument? let funName f: string = // returns th...
How to get the name of function argument in F#? How to get the name of function argument in F#? f%23 reflection How XML How to get the name of function argument in F#? Can I write a function which returns the name of the function given as the argument? For example, if I pass printfn as an argument to funName, it return...
[ 0.01312255859375, 0.003326416015625, 0.000652313232421875, 0.006072998046875, -0.0130615234375, 0.0201416015625, -0.0037994384765625, 0.0028076171875, -0.01019287109375, -0.0047607421875, 0.0186767578125, -0.00445556640625, -0.032470703125, 0.007598876953125, 0.02490234375, -0.00466918...
[ 11249, 47, 2046, 70, 9351, 111, 32354, 10750, 23, 563, 4904, 1238, 3742, 44961, 1830, 92537, 4171, 33022, 30646, 7, 34475, 237, 27875, 28412, 14783, 7477, 163612, 35662, 36663, 51584, 209806, 137272, 3996, 3134, 177074, 1429, 8331, 864, 371...
[ 0.088623046875, 0.07208251953125, 0.1326904296875, 0.1058349609375, 0.1881103515625, 0.146728515625, 0.27099609375, 0.294921875, 0.09796142578125, 0.1455078125, 0.213623046875, 0.0750732421875, 0.1297607421875, 0.175048828125, 0.049896240234375, 0.1680908203125, 0.036529541015625, ...
embed
64244721_c0
64244721
fsharp
0
Title: Running F# Hello World from VS Code Problem title: Running F# Hello World from VS Code Tags: launcher, f%23, visual-studio-code Problem: Running F# Hello World from VS Code I ran the canonical F# Hello World program by dotnet run It works. Now, I want to run it from VS Code, pushing F5 from the editor window sho...
Running F# Hello World from VS Code Running F# Hello World from VS Code launcher f%23 visual-studio-code VS Running Hello World HelloWorld Debug netcoreapp3.1 HelloWorld.dll Running F# Hello World from VS Code I ran the canonical F# Hello World program by It works. Now, I want to run it from VS Code, pushing F5 from th...
[ 0.01519775390625, 0.00750732421875, 0.01007080078125, 0.0223388671875, 0.0028533935546875, -0.00946044921875, -0.00112152099609375, -0.01287841796875, -0.005950927734375, -0.021728515625, -0.000766754150390625, -0.00127410888671875, -0.011474609375, 0.0113525390625, 0.01513671875, 0.00...
[ 28398, 592, 563, 4904, 35378, 6661, 1295, 44160, 28864, 83184, 56, 1238, 3742, 21176, 52629, 40899, 70646, 262, 85779, 2043, 30854, 9007, 97109, 1181, 13028, 74413, 21533, 1528, 390, 1650, 43240, 3444, 11675, 442, 25944, 758, 30391, 76896, ...
[ 0.12255859375, 0.0151824951171875, 0.1680908203125, 0.2156982421875, 0.2335205078125, 0.23583984375, 0.14208984375, 0.234130859375, 0.24658203125, 0.1478271484375, 0.0237579345703125, 0.0926513671875, 0.06488037109375, 0.092041015625, 0.085693359375, 0.1771240234375, 0.254150390625, ...
embed
66303712_c0
66303712
fsharp
0
Title: F# recursive function alternating between plus and minus Problem title: F# recursive function alternating between plus and minus Tags: recursion, evaluation, f%23 Problem: F# recursive function alternating between plus and minus I'm asked to remove one clause in below F# function, while maintaining it's function...
F# recursive function alternating between plus and minus F# recursive function alternating between plus and minus recursion evaluation f%23 altsum1 F# recursive function alternating between plus and minus I'm asked to remove one clause in below F# function, while maintaining it's functionality, that's alternating betwe...
[ -0.0126953125, 0.0179443359375, 0.01251220703125, -0.00946044921875, 0.0037841796875, -0.01165771484375, -0.0002384185791015625, 0.0107421875, 0.004302978515625, 0.00142669677734375, 0.00732421875, 0.00860595703125, 0.022216796875, -0.0036163330078125, 0.00946044921875, 0.0028381347656...
[ 563, 4904, 195625, 5844, 32354, 75939, 214, 17721, 1001, 136, 26948, 219836, 1238, 3742, 2641, 11832, 418, 37170, 87388, 1632, 70731, 13, 35064, 76104, 123309, 29806, 28219, 151575, 26785, 16750, 70541, 26582, 959, 73342, 90 ]
[ 0.1248779296875, 0.1912841796875, 0.173828125, 0.061309814453125, 0.16455078125, 0.1688232421875, 0.05474853515625, 0.109375, 0.2015380859375, 0.0888671875, 0.272216796875, 0.1309814453125, 0.052459716796875, 0.089111328125, 0.14306640625, 0.230224609375, 0.080078125, 0.01992797851...
embed
78457537_c0
78457537
fsharp
0
Title: Unable to get Fantomas Working correctly in F# Problem title: Unable to get Fantomas Working correctly in F# Tags: f%23, fantomas, visual-studio-2022 Problem: Unable to get Fantomas Working correctly in F# I can get Fantomas installed and working on Visual Studio 2022 . However, I cannot configure it. I tried cr...
Unable to get Fantomas Working correctly in F# Unable to get Fantomas Working correctly in F# f%23 fantomas visual-studio-2022 Unable Fantomas Working fsharp_multiline_bracket_style visual-studio-2022 Unable to get Fantomas Working correctly in F# I can get Fantomas installed and working on Visual Studio 2022 . However...
[ 0.00689697265625, 0.0167236328125, -0.01336669921875, -0.010986328125, -0.0034942626953125, 0.0037689208984375, 0.00347900390625, -0.01336669921875, -0.01226806640625, 0.01025390625, 0.006256103515625, 0.0145263671875, -0.01531982421875, 0.0076904296875, 0.0037841796875, -0.01043701171...
[ 992, 2886, 2046, 11213, 188, 1510, 27985, 26785, 23, 563, 4904, 1238, 3742, 1207, 21176, 52629, 151159, 89280, 254, 144227, 2256, 2844, 27853, 40946, 20600, 20697, 73372, 22968, 72392, 53418, 222495, 105233, 175583, 153837, 11435, 25632, 110, ...
[ 0.043670654296875, 0.1270751953125, 0.07598876953125, 0.189453125, 0.213623046875, 0.209716796875, 0.1422119140625, 0.158447265625, 0.0784912109375, 0.140380859375, 0.208984375, 0.0941162109375, 0.076904296875, 0.125244140625, 0.134521484375, 0.1478271484375, 0.2099609375, 0.102416...
embed
62116267_c1
62116267
fsharp
1
|> Value.Array | JsonValue.Record x -> x |> Array.map (fun (x, y) -> { Key = x Value = map y }) |> Value.Object) Code signals: How, JsonConversions, Option.defaultWith, JsonParser, System, System.Globalization, FSharp.Data, FSharp.Data.Runtime, Key, Value, Double, Decimal, DateTime, Boolean, Array, Guid, Object, Recor...
|> Value.Array | JsonValue.Record x -> x |> Array.map (fun (x, y) -> { Key = x Value = map y }) |> Value.Object) Code signals: How, JsonConversions, Option.defaultWith, JsonParser, System, System.Globalization, FSharp.Data, FSharp.Data.Runtime, Key, Value, Double, Decimal, DateTime, Boolean, Array, Guid, Object, Recor...
[ -0.00482177734375, 0.0004425048828125, -0.007720947265625, -0.0027313232421875, -0.0091552734375, 0.0014190673828125, -0.0289306640625, 0.007080078125, 0.01226806640625, 0.0255126953125, -0.0242919921875, 0.03857421875, 0.000244140625, -0.0166015625, 0.01483154296875, -0.00320434570312...
[ 2740, 190060, 5, 7614, 7092, 58745, 821, 1681, 856, 50770, 4332, 32271, 1022, 33079, 69253, 53, 62346, 16498, 425, 113, 26824, 22288, 46471, 75161, 28864, 26073, 7, 11249, 11935, 46354, 86769, 214810, 194583, 28636, 2189, 12353, 162080, 47691...
[ 0.004608154296875, 0.278564453125, 0.02325439453125, 0.0927734375, 0.197265625, 0.0272064208984375, 0.1875, 0.250244140625, 0.22021484375, 0.268310546875, 0.064697265625, 0.221923828125, 0.060028076171875, 0.09527587890625, 0.095458984375, 0.1124267578125, 0.1702880859375, 0.175781...
embed
15188134_c0
15188134
fsharp
0
Title: conditional include in FSharp Problem title: conditional include in FSharp Tags: f%23 Problem: conditional include in FSharp I would like to convert a bunch of fs files to fsx files. Each of those fs file reference class defined in, say, base.fs So instead of being compiled in the project and relying on the comp...
conditional include in FSharp conditional include in FSharp f%23 in FSharp conditional include in FSharp I would like to convert a bunch of fs files to fsx files. Each of those fs file reference class defined in, say, base.fs So instead of being compiled in the project and relying on the compiler resolution, all would ...
[ -0.0004329681396484375, 0.01300048828125, -0.0026397705078125, 0.00439453125, -0.007354736328125, 0.00518798828125, 0.0054931640625, 0.0076904296875, -0.0024871826171875, 0.000762939453125, 0.01055908203125, 0.01556396484375, -0.00092315673828125, 0.027099609375, 0.0211181640625, 0.027...
[ 35431, 289, 26698, 93774, 3467, 254, 1238, 3949, 3742, 1884, 96760, 147306, 7, 102158, 47, 425, 11435, 91067, 18507, 61924, 3647, 17447, 64457, 5974, 13452, 538, 9969, 34759, 158839, 35509, 99201, 186351, 3642, 3249, 678, 479, 63923, 209806 ]
[ 0.2115478515625, 0.1346435546875, 0.2015380859375, 0.10986328125, 0.183349609375, 0.1793212890625, 0.1036376953125, 0.057861328125, 0.152099609375, 0.045684814453125, 0.1307373046875, 0.043365478515625, 0.093505859375, 0.1480712890625, 0.037384033203125, 0.1888427734375, 0.1409912109...
embed
24475914_c0
24475914
fsharp
0
Title: Different functions definition in F# Problem title: Different functions definition in F# Tags: f%23 Problem: Different functions definition in F# Newby question f# related, What is the difference between this definitions in f# ? module s let log p = printfn "expression is %A" p let loggedWorkflow = let x = 42 lo...
Different functions definition in F# Different functions definition in F# f%23 Different s.loggedWorkflow Different functions definition in F# Newby question f# related, What is the difference between this definitions in f# ? and this one The first one does not call the inner log, only returns z value Why it works this...
[ -0.008056640625, 0.005218505859375, -0.007110595703125, 0.027587890625, 0.020263671875, 0.00982666015625, 0.0103759765625, 0.011474609375, 0.01953125, -0.0089111328125, 0.0213623046875, 0.0269775390625, -0.0206298828125, -0.00185394287109375, 0.03515625, -0.00897216796875, 0.01745605...
[ 242520, 32354, 7, 80934, 23, 563, 4904, 1238, 3742, 91, 365, 134229, 108259, 118664, 1272, 62548, 70, 60212, 17721, 903, 5117, 959, 11782, 75414, 12684, 30646, 97, 34292, 44084, 43240, 3917, 121413, 420, 89280, 254, 16498, 39348, 7077, 2046...
[ 0.2479248046875, 0.250732421875, 0.10400390625, 0.180908203125, 0.06005859375, 0.1373291015625, 0.2088623046875, 0.103759765625, 0.0694580078125, 0.0389404296875, 0.07806396484375, 0.1405029296875, 0.06597900390625, 0.231201171875, 0.093017578125, 0.02459716796875, 0.00030517578125, ...
embed
33379559_c1
33379559
fsharp
1
.CreateImage() match image with | Some userImage -> printThread "before switch to context" do! Async.SwitchToContext context printThread "after switch to context" target.UpdateImageView userImage | None -> () } |> Async.StartImmediate Prints : [1] begining [4] after swith to thread pool [4] before switch to context [5]...
.CreateImage() match image with | Some userImage -> printThread "before switch to context" do! Async.SwitchToContext context printThread "after switch to context" target.UpdateImageView userImage | None -> () } |> Async.StartImmediate Prints : [1] begining [4] after swith to thread pool [4] before switch to context [5]...
[ -0.0228271484375, -0.00122833251953125, 0.00921630859375, 0.0115966796875, -0.015625, -0.0120849609375, 0.0081787109375, 0.0033721923828125, 0.00177764892578125, -0.015869140625, 0.010498046875, 0.044189453125, 0.0067138671875, -0.00714111328125, 0.0191650390625, -0.00176239013671875, ...
[ 5, 63784, 2182, 216960, 132, 14858, 29569, 678, 31384, 38937, 28412, 20800, 39116, 372, 89700, 101089, 47, 43701, 54, 38, 12654, 238, 131519, 7763, 11935, 22829, 46327, 30388, 152872, 100474, 126597, 61637, 12333, 39754, 7, 9842, 214, 59535, ...
[ 0.07965087890625, 0.177001953125, 0.1209716796875, 0.28515625, 0.0977783203125, 0.1795654296875, 0.2030029296875, 0.129638671875, 0.039794921875, 0.1456298828125, 0.1776123046875, 0.0494384765625, 0.20556640625, 0.01910400390625, 0.101806640625, 0.2298583984375, 0.1302490234375, 0....
embed
3490408_c0
3490408
fsharp
0
Title: F#: What is the difference between module let and type static let? Problem title: F#: What is the difference between module let and type static let? Tags: types, static, singleton, module, f%23 Problem: F#: What is the difference between module let and type static let? Given the following: module MyModule = let ...
F#: What is the difference between module let and type static let? F#: What is the difference between module let and type static let? types static singleton module f%23 What MyModule MyObj MyType myObj_ F#: What is the difference between module let and type static let? Given the following: ... are MyModule.myObj and My...
[ 0.00848388671875, -0.00335693359375, 0.01434326171875, 0.01092529296875, -0.000942230224609375, -0.003875732421875, 0.0194091796875, 0.004608154296875, 0.0024261474609375, -0.018798828125, -0.01116943359375, -0.0103759765625, 0.0181884765625, 0.000080108642578125, 0.0128173828125, -0.0...
[ 563, 4904, 4865, 60212, 17721, 88996, 2633, 136, 10644, 201939, 12, 70, 52895, 11001, 1507, 1238, 3742, 2646, 91616, 8782, 46471, 170, 196707, 759, 25632, 621, 1176, 123309, 179140, 183234, 11782, 707, 3444, 18151, 36746, 17203, 150624, 15637...
[ 0.07513427734375, 0.1534423828125, 0.010955810546875, 0.18896484375, 0.0811767578125, 0.2249755859375, 0.2376708984375, 0.069580078125, 0.1983642578125, 0.198974609375, 0.000152587890625, 0.0233154296875, 0.16259765625, 0.101318359375, 0.124267578125, 0.03533935546875, 0.045928955078...
embed
40587414_c0
40587414
fsharp
0
Title: Topshelf.Fsharp install command does nothing Problem title: Topshelf.Fsharp install command does nothing Tags: windows-services, topshelf, f%23 Problem: Topshelf.Fsharp install command does nothing I am trying to create a Windows service in F# using Topshelf. I have taken the sample code from the Github readme W...
Topshelf.Fsharp install command does nothing Topshelf.Fsharp install command does nothing windows-services topshelf f%23 Topshelf.Fsharp MyService.exe serviceName:MyWindowsService Topshelf.Fsharp install command does nothing I am trying to create a Windows service in F# using Topshelf. I have taken the sample code from...
[ 0.004669189453125, 0.017333984375, 0.01171875, -0.01531982421875, -0.0115966796875, 0.00726318359375, 0.008056640625, -0.040283203125, -0.005462646484375, -0.004669189453125, -0.0033416748046875, 0.01507568359375, 0.0133056640625, 0.01092529296875, -0.004638671875, 0.00482177734375, ...
[ 4792, 7816, 17463, 919, 89280, 254, 20600, 75101, 14602, 33720, 54825, 22584, 2663, 1238, 3742, 2646, 121979, 46480, 4516, 31852, 43342, 31577, 28282, 3773, 563, 4904, 121413, 18151, 32102, 282, 9790, 11675, 13315, 162, 107185, 96276, 18499, ...
[ 0.1990966796875, 0.12451171875, 0.2137451171875, 0.1234130859375, 0.1920166015625, 0.128662109375, 0.1824951171875, 0.1458740234375, 0.027557373046875, 0.106689453125, 0.048492431640625, 0.153564453125, 0.1705322265625, 0.0269775390625, 0.08441162109375, 0.058349609375, 0.19067382812...
embed
39321137_c0
39321137
fsharp
0
Title: Non-blocking Chart.Show in FSharp.Charting Problem title: Non-blocking Chart.Show in FSharp.Charting Tags: fsharpchart, f%23, asynchronous Problem: Non-blocking Chart.Show in FSharp.Charting Using FSharp.Charting from a .fs program, when a plot is displayed it blocks the execution of rest of the program. Is ther...
Non-blocking Chart.Show in FSharp.Charting Non-blocking Chart.Show in FSharp.Charting fsharpchart f%23 asynchronous Non-blocking Chart.Show FSharp.Charting Chart.Line Series1 Chart Series2 Non-blocking Chart.Show in FSharp.Charting Using FSharp.Charting from a .fs program, when a plot is displayed it blocks the executi...
[ 0, 0.002532958984375, 0.0213623046875, -0.01220703125, -0.006866455078125, -0.010986328125, 0.038818359375, -0.0234375, 0.009033203125, -0.0045166015625, -0.0174560546875, 0.00830078125, -0.0081787109375, -0.0015106201171875, 0.00799560546875, 0.0252685546875, 0.00494384765625, 0.0...
[ 3775, 81409, 214, 110373, 168660, 23, 93774, 3467, 254, 84068, 1916, 1238, 89280, 9254, 18, 3742, 12654, 101966, 93232, 64876, 418, 304, 5, 17447, 1528, 23577, 44116, 46389, 71924, 10588, 3917, 139392, 351, 116287, 7, 3444, 15044, 25632, 84...
[ 0.1807861328125, 0.1925048828125, 0.0938720703125, 0.2509765625, 0.1292724609375, 0.04229736328125, 0.0894775390625, 0.1553955078125, 0.17333984375, 0.1971435546875, 0.132080078125, 0.0777587890625, 0.1295166015625, 0.182373046875, 0.0401611328125, 0.1171875, 0.043243408203125, 0.0...
embed
65316446_c0
65316446
fsharp
0
Title: How to create an instance of C# class with a property whose setter is private..from F# Problem title: How to create an instance of C# class with a property whose setter is private..from F# Tags: c%23, f%23, c%23-to-f%23 Problem: How to create an instance of C# class with a property whose setter is private..from ...
How to create an instance of C# class with a property whose setter is private..from F# How to create an instance of C# class with a property whose setter is private..from F# c%23 f%23 c%23-to-f%23 F# How private..from LoginRequest Scope How to create an instance of C# class with a property whose setter is private..from...
[ 0.01446533203125, 0.0277099609375, 0.0167236328125, -0.017578125, 0.012939453125, -0.01019287109375, -0.002410888671875, -0.004302978515625, 0.00653076171875, 0.00653076171875, 0.010009765625, 0.00433349609375, 0.01361083984375, 0.00170135498046875, 0.00238037109375, -0.0113525390625, ...
[ 11249, 47, 28282, 110527, 313, 4904, 18507, 678, 57266, 124901, 88685, 14375, 161063, 563, 142, 111, 83, 3742, 27495, 188, 122986, 4332, 75616, 182783, 13, 20697, 13452, 17203, 61112, 1632, 33342, 1884, 903, 68034, 831, 75935, 72546, 36746, ...
[ 0.07342529296875, 0.022125244140625, 0.1617431640625, 0.26171875, 0.083984375, 0.241455078125, 0.2032470703125, 0.0980224609375, 0.2200927734375, 0.0777587890625, 0.2274169921875, 0.2213134765625, 0.1243896484375, 0.1151123046875, 0.023468017578125, 0.03643798828125, 0.02799987792968...
embed
38403693_c0
38403693
fsharp
0
Title: How to disable test name too long warnings? Problem title: How to disable test name too long warnings? Tags: f%23, visual-studio Problem: How to disable test name too long warnings? I'm using xUnit Theory and an AutoMoqData attribute to generate test values, and this is causing test functions signatures to be ve...
How to disable test name too long warnings? How to disable test name too long warnings? f%23 visual-studio How Theory AutoMoqData How to disable test name too long warnings? I'm using xUnit Theory and an AutoMoqData attribute to generate test values, and this is causing test functions signatures to be very long apparen...
[ 0.0166015625, 0.0172119140625, -0.0084228515625, 0.0024871826171875, -0.00433349609375, 0.00634765625, -0.0028533935546875, 0.00830078125, 0.00860595703125, 0.0250244140625, -0.002166748046875, 0.000682830810546875, -0.00213623046875, 0.01397705078125, 0.02734375, 0.0111083984375, 0....
[ 11249, 47, 2837, 2886, 3034, 9351, 5792, 4989, 1631, 6977, 3742, 21176, 52629, 581, 30675, 4396, 9083, 864, 137989, 17368, 1022, 85600, 18, 150380, 139392, 142424, 216806, 32354, 138256, 186, 4552, 88898, 42, 4734, 45831, 123055, 130250, 1409...
[ 0.068115234375, 0.04840087890625, 0.081787109375, 0.1649169921875, 0.212646484375, 0.155029296875, 0.1380615234375, 0.13916015625, 0.1536865234375, 0.1136474609375, 0.0225830078125, 0.09844970703125, 0.0650634765625, 0.03173828125, 0.07110595703125, 0.0882568359375, 0.06689453125, ...
embed
7407873_c0
7407873
fsharp
0
Title: Concisely creating an IDictionary&lt;_,obj&gt; Problem title: Concisely creating an IDictionary&lt;_,obj&gt; Tags: f%23 Problem: Concisely creating an IDictionary<_,obj> Is there a shorter way of creating an IDictionary<_,obj> , possibly without boxing every value? This is what I have. let values = [ "a", box 1 ...
Concisely creating an IDictionary&lt;_,obj&gt; Concisely creating an IDictionary&lt;_,obj&gt; f%23 Concisely IDictionary Dictionary Add Seq.zip Concisely creating an IDictionary<_,obj> Is there a shorter way of creating an IDictionary<_,obj> , possibly without boxing every value? This is what I have. Dictionary<_,obj>....
[ 0.013916015625, 0.0125732421875, -0.010498046875, 0.000263214111328125, -0.012939453125, -0.0361328125, -0.009765625, -0.001953125, -0.0011138916015625, -0.01055908203125, 0.020751953125, -0.01239013671875, 0.00701904296875, 0.0040283203125, 0.02294921875, 0.0028076171875, -0.0041198...
[ 1657, 10794, 21286, 105233, 11338, 14, 10763, 6635, 3522, 170, 5386, 142, 3742, 147638, 29117, 503, 864, 50836, 16610, 56, 3917, 15490, 16530, 214, 11907, 34292, 765, 454, 5, 284, 4028, 35839, 26366, 4527, 156377, 13204, 39933, 54, 44402 ]
[ 0.0791015625, 0.1785888671875, 0.1632080078125, 0.1842041015625, 0.1165771484375, 0.1104736328125, 0.1851806640625, 0.1932373046875, 0.125244140625, 0.1844482421875, 0.02008056640625, 0.05316162109375, 0.0767822265625, 0.2379150390625, 0.164306640625, 0.0848388671875, 0.13525390625, ...
embed
28361431_c0
28361431
fsharp
0
Title: Function composition argument error Problem title: Function composition argument error Tags: f%23 Problem: Function composition argument error I have the following code snippet: let add n x = x + n let times n x = x * n let addTimes = add 5 >> times 5 addTimes 4 and this works without any problem. But when I cha...
Function composition argument error Function composition argument error f%23 FS0071 Type Expecting You Consider Function composition argument error I have the following code snippet: and this works without any problem. But when I change like this I've got the compiling error Why?
[ -0.000812530517578125, 0.01336669921875, 0.016357421875, 0.0123291015625, -0.004302978515625, 0.0034637451171875, -0.0252685546875, 0.0016937255859375, -0.0118408203125, -0.021484375, -0.000040531158447265625, -0.00830078125, 0.01611328125, 0.037353515625, 0.00860595703125, -0.01513671...
[ 28670, 10763, 166577, 10750, 18499, 1238, 3949, 3742, 93774, 77110, 418, 60457, 60075, 24762, 137399, 765, 70, 25632, 18151, 93, 58134, 43240, 15490, 4966, 3229, 15549, 1884, 903, 9969, 49725, 44084 ]
[ 0.114013671875, 0.05877685546875, 0.2430419921875, 0.2127685546875, 0.1942138671875, 0.09051513671875, 0.070556640625, 0.1580810546875, 0.08648681640625, 0.1204833984375, 0.05352783203125, 0.127685546875, 0.07568359375, 0.111572265625, 0.11767578125, 0.03369140625, 0.0152740478515625...
embed
24427287_c0
24427287
fsharp
0
Title: C# version of trees defined in F# Problem title: C# version of trees defined in F# Tags: tree, c%23-to-f%23, data-structures, f%23 Problem: C# version of trees defined in F# In relation to this question: What is a better way to model a treeNode? I am thinking how to define similar trees in c# so that they would ...
C# version of trees defined in F# C# version of trees defined in F# tree c%23-to-f%23 data-structures f%23 TreeNode TreeNodeoption Node None C# version of trees defined in F# In relation to this question: What is a better way to model a treeNode? I am thinking how to define similar trees in c# so that they would have t...
[ 0.020263671875, 0.0203857421875, -0.003387451171875, 0.0021209716796875, 0.0048828125, -0.01513671875, -0.01104736328125, -0.0220947265625, 0.003143310546875, -0.0032806396484375, -0.011962890625, -0.007476806640625, -0.0019683837890625, 0.0001468658447265625, 0.0220947265625, 0.018310...
[ 313, 4904, 11389, 1360, 90, 61924, 563, 53201, 27495, 188, 420, 3742, 2053, 137656, 101344, 5021, 112, 109585, 438, 11522, 3917, 3299, 21373, 501, 5701, 60212, 17721, 6626, 52895, 18, 63769, 28282, 87607, 201505, 2806, 11343, 23, 34292, 442...
[ 0.041168212890625, 0.2125244140625, 0.1392822265625, 0.203857421875, 0.0858154296875, 0.1405029296875, 0.1121826171875, 0.2001953125, 0.030670166015625, 0.048309326171875, 0.001708984375, 0.0202178955078125, 0.02899169921875, 0.0855712890625, 0.1978759765625, 0.1766357421875, 0.17248...
embed
6235495_c0
6235495
fsharp
0
Title: Wrapping a sequence in a Stream in F# Problem title: Wrapping a sequence in a Stream in F# Tags: f%23 Problem: Wrapping a sequence in a Stream in F# I have a function that accepts a Stream. My data is in a large list, running into millions of items. Is there a simple way I can wrap a sequence in a Stream, return...
Wrapping a sequence in a Stream in F# Wrapping a sequence in a Stream in F# f%23 Wrapping Stream SeqStream sequence:seq x.Read Wrapping a sequence in a Stream in F# I have a function that accepts a Stream. My data is in a large list, running into millions of items. Is there a simple way I can wrap a sequence in a Strea...
[ -0.01068115234375, 0.021240234375, 0.01068115234375, -0.006988525390625, 0.011962890625, -0.0107421875, -0.01043701171875, -0.00543212890625, -0.0028076171875, -0.0247802734375, 0.00732421875, 0.018310546875, 0.0011749267578125, 0.025634765625, 0.01123046875, 0.003204345703125, -0.00...
[ 601, 219, 26783, 40, 944, 3956, 23, 115061, 563, 4904, 1238, 3949, 3742, 503, 864, 184, 1022, 31345, 10, 765, 32354, 26946, 2053, 21334, 5303, 51042, 3934, 43077, 55769, 8781, 3917, 831, 137565, 30646, 214, 7839, 1224, 111, 75973, 162520,...
[ 0.0660400390625, 0.2001953125, 0.095947265625, 0.10455322265625, 0.1773681640625, 0.142333984375, 0.09326171875, 0.25634765625, 0.135986328125, 0.1953125, 0.048583984375, 0.006988525390625, 0.1297607421875, 0.07476806640625, 0.1177978515625, 0.05657958984375, 0.0882568359375, 0.138...
embed
7367431_c0
7367431
fsharp
0
Title: Visual studio - f# - Error FS0588 : Block following this &#x27;let&#x27; is unfinished. Expect expression Problem title: Visual studio - f# - Error FS0588 : Block following this &#x27;let&#x27; is unfinished. Expect expression Tags: f%23 Problem: Visual studio - f# - Error FS0588 : Block following this 'let' is ...
Visual studio - f# - Error FS0588 : Block following this &#x27;let&#x27; is unfinished. Expect expression Visual studio - f# - Error FS0588 : Block following this &#x27;let&#x27; is unfinished. Expect expression f%23 Visual Error FS0588 Block Expect Visual studio - f# - Error FS0588 : Block following this 'let' is unfi...
[ -0.004486083984375, 0.0260009765625, -0.014404296875, 0.023193359375, 0.007110595703125, 0.01031494140625, 0.01312255859375, 0.003875732421875, 0.0012054443359375, 0.00066375732421875, 0.000385284423828125, -0.0033111572265625, 0.006683349609375, 0.00958251953125, 0.013916015625, 0.007...
[ 73372, 12275, 1238, 4904, 212059, 93774, 8194, 12772, 80231, 25632, 903, 3768, 1974, 83, 51, 48310, 67175, 60075, 24762, 125195, 3742, 40368, 20028, 31577, 29479, 12921, 32354, 26008, 1957, 44759, 91084, 31635, 18499, 2967, 30022, 18151 ]
[ 0.1973876953125, 0.2158203125, 0.0692138671875, 0.159423828125, 0.18994140625, 0.1671142578125, 0.1280517578125, 0.2509765625, 0.2315673828125, 0.2393798828125, 0.1566162109375, 0.1163330078125, 0.234619140625, 0.0970458984375, 0.1265869140625, 0.198974609375, 0.14794921875, 0.1671...
embed
16994964_c0
16994964
fsharp
0
Title: A shorter type constraint for F# Problem title: A shorter type constraint for F# Tags: f%23, type-constraints Problem: A shorter type constraint for F# I'm practicing with F# and I've though of implementing a type-constrained compare function for F#. In C#, it's implemented by this // in C# static int cmp<T>(T x...
A shorter type constraint for F# A shorter type constraint for F# f%23 type-constraints System.IComparable x.CompareTo A shorter type constraint for F# I'm practicing with F# and I've though of implementing a type-constrained compare function for F#. In C#, it's implemented by this However, in F#, the best way I've com...
[ -0.007354736328125, 0.00004100799560546875, 0.0179443359375, 0.00096893310546875, 0.00162506103515625, -0.01220703125, 0.003662109375, -0.000904083251953125, -0.005157470703125, -0.0262451171875, 0.0068359375, -0.01043701171875, -0.00421142578125, -0.0135498046875, 0.0157470703125, -0....
[ 62, 16610, 56, 10644, 158, 2816, 4288, 100, 563, 4904, 1238, 3742, 2271, 12353, 568, 108161, 147, 2886, 1022, 1046, 7763, 74082, 21208, 29479, 10, 9297, 122009, 69101, 32354, 390, 903, 23, 2965, 3917, 37842, 1632, 35064, 15935, 18, 4488, ...
[ 0.030029296875, 0.182373046875, 0.14501953125, 0.1953125, 0.0999755859375, 0.16357421875, 0.09539794921875, 0.038909912109375, 0.1273193359375, 0.173095703125, 0.0615234375, 0.1044921875, 0.08251953125, 0.09417724609375, 0.060791015625, 0.1229248046875, 0.129150390625, 0.0836181640...
embed
10562977_c0
10562977
fsharp
0
Title: TypeProviders and [&lt;Generate&gt;] type not defined Problem title: TypeProviders and [&lt;Generate&gt;] type not defined Tags: f%23, type-providers Problem: TypeProviders and [ ] type not defined I am playing a little with type providers using DemoScripts from http://blogs.msdn.com/b/dsyme/archive/2011/10/05/d...
TypeProviders and [&lt;Generate&gt;] type not defined TypeProviders and [&lt;Generate&gt;] type not defined f%23 type-providers TypeProviders TypeProviders and [ ] type not defined I am playing a little with type providers using DemoScripts from http://blogs.msdn.com/b/dsyme/archive/2011/10/05/demo-scripts-from-the-f-3...
[ 0.01177978515625, 0.0220947265625, -0.0036773681640625, 0.004058837890625, -0.0101318359375, 0.0120849609375, -0.00433349609375, -0.0216064453125, -0.0026397705078125, -0.020263671875, -0.01513671875, 0.00994873046875, -0.001495361328125, 0.0031890869140625, 0.01397705078125, 0.0037536...
[ 60457, 177997, 14, 14202, 136, 135932, 17957, 10644, 959, 61924, 3742, 93136, 378, 75169, 10176, 81450, 42506, 147845, 282, 80750, 32032, 420, 8316, 23320, 177149, 139109, 26008, 6183, 114453, 147461, 168678, 46674, 187430, 184964, 148176, 17447,...
[ 0.252685546875, 0.206298828125, 0.158203125, 0.1307373046875, 0.0445556640625, 0.21044921875, 0.210693359375, 0.26171875, 0.141357421875, 0.213623046875, 0.0635986328125, 0.2337646484375, 0.028045654296875, 0.0535888671875, 0.02325439453125, 0.2462158203125, 0.1612548828125, 0.2095...
embed
27666242_c0
27666242
fsharp
0
Title: How to convert F# function to non-generic System.Action? Problem title: How to convert F# function to non-generic System.Action? Tags: f%23, generics, c%23, .net Problem: How to convert F# function to non-generic System.Action? Just as in title. I have an existing C# library, and I must access it using F# intero...
How to convert F# function to non-generic System.Action? How to convert F# function to non-generic System.Action? f%23 generics c%23 .net How System.Action Multiple Action Provide e.g How to convert F# function to non-generic System.Action? Just as in title. I have an existing C# library, and I must access it using F# ...
[ -0.03955078125, 0.0296630859375, 0.006195068359375, -0.01171875, -0.0091552734375, 0.00750732421875, -0.0101318359375, 0.00011587142944335938, -0.000179290771484375, 0.000850677490234375, -0.0020599365234375, -0.00060272216796875, -0.004547119140625, -0.0081787109375, 0.00836181640625, ...
[ 11249, 47, 96760, 563, 4904, 32354, 351, 79446, 1771, 12353, 284, 10763, 5, 1238, 3949, 3742, 189534, 1179, 19335, 8705, 57945, 123089, 144573, 313, 35773, 17203, 1940, 2146, 150624, 51776, 102329, 13, 171859, 25072, 103607, 309, 217, 31577, ...
[ 0.054046630859375, 0.097900390625, 0.1722412109375, 0.16650390625, 0.249755859375, 0.1922607421875, 0.1673583984375, 0.1221923828125, 0.052703857421875, 0.15966796875, 0.1376953125, 0.17529296875, 0.0196380615234375, 0.1063232421875, 0.004730224609375, 0.0528564453125, 0.205810546875...
embed
19038005_c0
19038005
fsharp
0
Title: Why is a function that returns an int being reported as being of type a&#x27; -&gt; int Problem title: Why is a function that returns an int being reported as being of type a&#x27; -&gt; int Tags: f%23 Problem: Why is a function that returns an int being reported as being of type a' -> int I have the following c...
Why is a function that returns an int being reported as being of type a&#x27; -&gt; int Why is a function that returns an int being reported as being of type a&#x27; -&gt; int f%23 Why MonochromeHandler System.Drawing Color.FromArgb pixelColour:Color pixelColour.A pixelColour.R pixelColour.G pixelColour.B Error Why is ...
[ -0.00836181640625, -0.010009765625, 0.00994873046875, 0.0059814453125, -0.007049560546875, -0.01336669921875, -0.005889892578125, -0.01495361328125, 0.006591796875, 0.0186767578125, -0.00665283203125, 0.002166748046875, -0.00238037109375, 0.0020751953125, 0.0269775390625, -0.0152587890...
[ 44084, 83, 32354, 30646, 23, 18, 113771, 8035, 111, 10644, 10, 3768, 20, 5386, 1238, 3742, 77879, 206, 7761, 13, 135679, 603, 12353, 219, 51193, 168407, 7614, 74251, 98009, 78457, 1484, 34639, 284, 724, 571, 212059, 25, 33079, 18151, 1849...
[ 0.12548828125, 0.0178375244140625, 0.185791015625, 0.184814453125, 0.1483154296875, 0.1741943359375, 0.176025390625, 0.0723876953125, 0.0716552734375, 0.1656494140625, 0.1290283203125, 0.08203125, 0.0076904296875, 0.083251953125, 0.003173828125, 0.03369140625, 0.095703125, 0.069213...
embed
43328417_c0
43328417
fsharp
0
Title: Translate Entity Framework Core Example to F# Problem title: Translate Entity Framework Core Example to F# Tags: f%23, c%23, entity-framework Problem: Translate Entity Framework Core Example to F# I'm trying to translate the example Entity Framework Core to F# but I can't translate the BloggingContext class. Unt...
Translate Entity Framework Core Example to F# Translate Entity Framework Core Example to F# f%23 c%23 entity-framework Translate Entity Framework Core Example BloggingContext DbContext Blogs DbSet Blog Posts Post OnConfiguring Translate Entity Framework Core Example to F# I'm trying to translate the example Entity Fram...
[ 0.0118408203125, 0.004547119140625, 0.004486083984375, 0.0255126953125, -0.0024871826171875, 0.0038909912109375, -0.004608154296875, -0.0108642578125, -0.01123046875, -0.0157470703125, 0.00090789794921875, 0.0126953125, -0.0169677734375, 0.018798828125, 0.00092315673828125, 0.009094238...
[ 11062, 19309, 16511, 2481, 202220, 31365, 89536, 47, 563, 4904, 1238, 3742, 77630, 939, 160328, 70858, 11935, 22829, 391, 275, 5061, 294, 126, 2795, 2161, 59994, 8705, 3900, 27781, 831, 214, 18507, 46485, 73372, 22968, 28864, 186992, 1556, ...
[ 0.1463623046875, 0.1419677734375, 0.1141357421875, 0.090087890625, 0.194091796875, 0.1834716796875, 0.1500244140625, 0.10498046875, 0.1180419921875, 0.1871337890625, 0.03631591796875, 0.01019287109375, 0.1038818359375, 0.019775390625, 0.0950927734375, 0.1102294921875, 0.05615234375, ...
embed
23948788_c0
23948788
fsharp
0
Title: Using a Deedle Data frame Problem title: Using a Deedle Data frame Tags: deedle, f%23 Problem: Using a Deedle Data frame I'm new to F# and would like to convert my code below to output a deedle data frame or even convert the output array into a data frame. let GetDataBitstamp() = async { let! csv = sprintf "http...
Using a Deedle Data frame Using a Deedle Data frame deedle f%23 Using Deedle Data GetDataBitstamp api.bitcoincharts.com trades.csv csv.Split StringSplitOptions.RemoveEmptyEntries row.Split Map.ofArray Async.RunSynchronously Using a Deedle Data frame I'm new to F# and would like to convert my code below to output a deed...
[ 0.02294921875, 0.0284423828125, -0.007354736328125, 0.0027618408203125, 0.01519775390625, 0.00885009765625, -0.00067901611328125, 0.00592041015625, -0.0023651123046875, -0.04248046875, -0.004364013671875, -0.01483154296875, -0.00830078125, -0.006805419921875, 0.0164794921875, 0.0117187...
[ 345, 6953, 10, 262, 297, 133, 11809, 123789, 8, 1238, 3949, 3742, 20779, 137989, 217, 590, 2676, 31470, 3137, 587, 73, 9254, 933, 277, 52350, 7, 5, 334, 4353, 23351, 39029, 432, 134332, 15555, 42719, 4390, 7092, 12654, 163321, 217835, 1...
[ 0.0770263671875, 0.03125, 0.035919189453125, 0.1353759765625, 0.1868896484375, 0.1785888671875, 0.1552734375, 0.2296142578125, 0.118408203125, 0.074951171875, 0.052490234375, 0.130859375, 0.0665283203125, 0.08953857421875, 0.0203399658203125, 0.111328125, 0.1221923828125, 0.0938110...
embed
56961656_c0
56961656
fsharp
0
Title: Binding function result in &quot;when&quot; expression - F# Problem title: Binding function result in &quot;when&quot; expression - F# Tags: f%23, pattern-matching Problem: Binding function result in "when" expression - F# I'm writing a match, where I'm limiting the matching base on a function f, using the "when...
Binding function result in &quot;when&quot; expression - F# Binding function result in &quot;when&quot; expression - F# f%23 pattern-matching Binding Some Binding function result in "when" expression - F# I'm writing a match, where I'm limiting the matching base on a function f, using the "when" expression. I'd like to...
[ -0.0123291015625, 0.004730224609375, 0.00927734375, -0.0277099609375, 0.007659912109375, -0.005615234375, 0.0028839111328125, 0.027099609375, 0.00787353515625, -0.01104736328125, 0.003997802734375, 0.01373291015625, -0.006317138671875, 0.0076904296875, 0.01495361328125, -0.001083374023...
[ 1843, 33770, 32354, 16750, 23, 41502, 434, 3220, 1230, 125195, 563, 4904, 1238, 3742, 103510, 98753, 32562, 14858, 17475, 214, 3647, 98, 17368, 1884, 47, 68557, 4527, 25632, 18151, 6713, 162520, 29806, 33844, 65970, 13, 149016, 30700, 191619 ...
[ 0.1221923828125, 0.170166015625, 0.1575927734375, 0.1939697265625, 0.0281982421875, 0.0587158203125, 0.07366943359375, 0.1932373046875, 0.039825439453125, 0.21142578125, 0.0657958984375, 0.12744140625, 0.1351318359375, 0.1104736328125, 0.13720703125, 0.14990234375, 0.07318115234375, ...
embed
947997_c0
947997
fsharp
0
Title: F# Function with parameter constraints Problem title: F# Function with parameter constraints Tags: f%23 Problem: F# Function with parameter constraints I ran into an error similar to this forum post on hubfs, which solved my problem but spawned off some questions about the code in that thread. let test x = print...
F# Function with parameter constraints F# Function with parameter constraints f%23 F# Function with parameter constraints I ran into an error similar to this forum post on hubfs, which solved my problem but spawned off some questions about the code in that thread. Can someone explain to me what line 2 is accomplishing?...
[ -0.01226806640625, -0.01153564453125, -0.003204345703125, 0.01483154296875, 0.002227783203125, -0.005706787109375, 0.000370025634765625, -0.0034942626953125, 0.006866455078125, 0.00946044921875, -0.0164794921875, -0.032958984375, -0.006744384765625, -0.007537841796875, 0.00506591796875, ...
[ 563, 4904, 28670, 678, 171859, 158, 2816, 4288, 1238, 3949, 3742, 18499, 4738, 26708, 17447, 18151, 4171, 73342, 2367, 13315, 116, 83, 163846, 214, 10644, 111, 2704, 141, 6863, 32354, 51776, 23, 30646, 31635, 124519, 136, 138, 61924, 14361,...
[ 0.0859375, 0.1759033203125, 0.109619140625, 0.09552001953125, 0.175537109375, 0.075927734375, 0.16162109375, 0.108642578125, 0.06884765625, 0.024749755859375, 0.12890625, 0.1180419921875, 0.0235443115234375, 0.032012939453125, 0.08966064453125, 0.0699462890625, 0.012847900390625, 0...
embed
69735409_c0
69735409
fsharp
0
Title: How to reference methods from within the same class in f#? Problem title: How to reference methods from within the same class in f#? Tags: oop, f%23 Problem: How to reference methods from within the same class in f#? I have been programming in f# for a few weeks now and decided that I would now try out some of t...
How to reference methods from within the same class in f#? How to reference methods from within the same class in f#? oop f%23 within How MathsOperations How to reference methods from within the same class in f#? I have been programming in f# for a few weeks now and decided that I would now try out some of the object o...
[ 0.01458740234375, 0.0252685546875, 0.01080322265625, 0.0169677734375, 0.00101470947265625, -0.003631591796875, -0.002044677734375, -0.000621795654296875, 0.0072021484375, -0.050537109375, -0.00634765625, 0.003143310546875, -0.0020751953125, 0.0224609375, 0.022705078125, -0.0341796875, ...
[ 11249, 47, 91067, 150624, 1295, 28032, 5701, 18507, 1238, 4904, 23, 32500, 3949, 3742, 78804, 156823, 5256, 56037, 9790, 36746, 23509, 66139, 149016, 3642, 55300, 15700, 8781, 27781, 15190, 618, 3613, 18499, 62068, 83, 959, 61924 ]
[ 0.1234130859375, 0.043731689453125, 0.26123046875, 0.2396240234375, 0.10382080078125, 0.146728515625, 0.103271484375, 0.1571044921875, 0.09552001953125, 0.1610107421875, 0.041748046875, 0.09967041015625, 0.001861572265625, 0.1202392578125, 0.124755859375, 0.148193359375, 0.0142822265...
embed
48719914_c1
48719914
fsharp
1
.KeyDown.Add <| fun _ -> cancelEvent.Trigger() [<System.STAThread>] #if INTERACTIVE fm.Show() #else Application.Run fm #endif It appears to be a bit of effort for something which I imagine as a relatively common workflow. Can we simplify it? Am I missing anything crucial? Code signals: Build, Some, Async.Sleep, Execute...
.KeyDown.Add <| fun _ -> cancelEvent.Trigger() [<System.STAThread>] #if INTERACTIVE fm.Show() #else Application.Run fm #endif It appears to be a bit of effort for something which I imagine as a relatively common workflow. Can we simplify it? Am I missing anything crucial? Code signals: Build, Some, Async.Sleep, Execute...
[ 0.007049560546875, 0.03515625, -0.0019989013671875, -0.031005859375, -0.00008678436279296875, -0.01708984375, 0.03515625, 0.0032806396484375, 0.024169921875, -0.050048828125, -0.0179443359375, 0.00150299072265625, -0.0145263671875, 0.022216796875, -0.01251220703125, -0.0040283203125, ...
[ 162429, 8331, 7710, 284, 4028, 7477, 53017, 192134, 74257, 21407, 84293, 176523, 39116, 59692, 159318, 1238, 39, 168660, 104921, 163321, 135179, 4785, 71834, 9844, 28987, 35845, 39210, 4488, 118664, 112892, 18929, 132283, 23937, 106157, 28864, 26...
[ 0.189208984375, 0.183837890625, 0.2314453125, 0.04876708984375, 0.1591796875, 0.192626953125, 0.2498779296875, 0.251220703125, 0.170166015625, 0.2020263671875, 0.127685546875, 0.1280517578125, 0.1654052734375, 0.092041015625, 0.1331787109375, 0.07928466796875, 0.087646484375, 0.063...
embed
4870932_c0
4870932
fsharp
0
Title: What are the benefits of using Objects in a functional programming language? Problem title: What are the benefits of using Objects in a functional programming language? Tags: f%23 Problem: What are the benefits of using Objects in a functional programming language? What would be a valid reason(s) to use objects ...
What are the benefits of using Objects in a functional programming language? What are the benefits of using Objects in a functional programming language? f%23 Objects What What are the benefits of using Objects in a functional programming language? What would be a valid reason(s) to use objects in functional programmin...
[ 0.007598876953125, -0.00347900390625, 0.0111083984375, 0.01171875, -0.0010986328125, 0.00262451171875, -0.01483154296875, 0.01397705078125, -0.004486083984375, 0.00018310546875, -0.0128173828125, -0.026611328125, 0.002899169921875, -0.0078125, -0.004730224609375, -0.0034637451171875, ...
[ 4865, 70, 72382, 17368, 134549, 7, 23, 123309, 56037, 449, 46876, 10, 1238, 3949, 3742, 621, 111, 2806, 35604, 31635, 4527, 36746, 4904, 83, 3098, 6468, 17305, 5115, 5609, 184017, 1179, 49347, 16751, 61112, 182809, 89845, 7121, 18749, 51139...
[ 0.036468505859375, 0.05096435546875, 0.189697265625, 0.16259765625, 0.2587890625, 0.12451171875, 0.0863037109375, 0.2578125, 0.1705322265625, 0.06884765625, 0.179443359375, 0.035736083984375, 0.140380859375, 0.04022216796875, 0.096923828125, 0.029876708984375, 0.0275421142578125, 0...
embed
31112341_c2
31112341
fsharp
2
20 0 0 0 0 0 0 0 NaN NaN 20 21 0 0 0 0 0 0 0 NaN NaN 21 22 0 0 0 0 0 0 0 NaN NaN 22 23 0 0 0 0 0 0 0 NaN NaN 23 24 0 0 0 0 0 0 0 NaN NaN 24 25 0 0 0 0 0 0 0 NaN NaN 25 26 0 0 0 0 0 0 0 NaN NaN 26 27 0 0 0 0 0 0 0 NaN NaN 27 28 0 0 0 0 0 0 0 NaN NaN 28 29 0 0 0 0 0 0 0 NaN NaN 29 30 0 0 0 0 0 0 0 NaN NaN 30 31 0 0 0 0 ...
20 0 0 0 0 0 0 0 NaN NaN 20 21 0 0 0 0 0 0 0 NaN NaN 21 22 0 0 0 0 0 0 0 NaN NaN 22 23 0 0 0 0 0 0 0 NaN NaN 23 24 0 0 0 0 0 0 0 NaN NaN 24 25 0 0 0 0 0 0 0 NaN NaN 25 26 0 0 0 0 0 0 0 NaN NaN 26 27 0 0 0 0 0 0 0 NaN NaN 27 28 0 0 0 0 0 0 0 NaN NaN 28 29 0 0 0 0 0 0 0 NaN NaN 29 30 0 0 0 0 0 0 0 NaN NaN 30 31 0 0 0 0 ...
[ -0.000583648681640625, 0.00054931640625, -0.033203125, 0.00135040283203125, 0.01025390625, 0.006195068359375, 0.01708984375, 0.0040283203125, 0.003021240234375, -0.000934600830078125, 0.006378173828125, -0.00439453125, 0.00787353515625, 0.0198974609375, -0.02294921875, 0.00408935546875...
[ 387, 757, 353, 839, 952, 1039, 1105, 744, 714, 1381, 1438, 1372, 1702, 496, 1936, 2789, 3912, 4442, 2273, 4039, 4669, 4520, 2499, 25647, 11853, 83, 759, 8561, 2053, 5423, 765, 36069, 20051, 24, 47, 46622, 70, 1257, 8108, 51042, 1238, ...
[ 0.169677734375, 0.1632080078125, 0.18310546875, 0.180419921875, 0.09033203125, 0.032958984375, 0.05987548828125, 0.058502197265625, 0.0693359375, 0.05584716796875, 0.06298828125, 0.047576904296875, 0.048065185546875, 0.06597900390625, 0.07391357421875, 0.053619384765625, 0.0822143554...
embed
46601630_c0
46601630
fsharp
0
Title: Definition style preferences Problem title: Definition style preferences Tags: f%23 Problem: Definition style preferences What is the preferable style for F# definitions? The book I am studying makes regular use the following style: let foo = fun x y -> let aux1 = fun z -> z * 2 in aux1 x + let aux2 = fun q -> q...
Definition style preferences Definition style preferences f%23 Definition aux1 aux2 z:int Definition style preferences What is the preferable style for F# definitions? The book I am studying makes regular use the following style: On the other side, when I look for information on the web, it is most likely to meet somet...
[ 0.0086669921875, -0.000797271728515625, 0.010986328125, 0.005157470703125, -0.007232666015625, -0.014404296875, 0.00604248046875, -0.016357421875, 0.01556396484375, -0.005950927734375, 0.001953125, 0.004150390625, 0.0003147125244140625, -0.007659912109375, 0.031494140625, 0.02429199218...
[ 155455, 20623, 205537, 7, 1238, 3949, 3742, 2970, 418, 304, 97, 12, 4288, 12601, 2886, 563, 4904, 80934, 12877, 35187, 20324, 4527, 25632, 6713, 4677, 1467, 2684, 47041, 23356, 1884, 2161, 44583, 165523, 91067, 107314, 227066, 17914, 6626, ...
[ 0.1826171875, 0.25146484375, 0.2529296875, 0.0241546630859375, 0.1317138671875, 0.06890869140625, 0.1248779296875, 0.205078125, 0.06536865234375, 0.0972900390625, 0.1171875, 0.006988525390625, 0.1378173828125, 0.1514892578125, 0.11328125, 0.151611328125, 0.197021484375, 0.201416015...
embed
60803110_c0
60803110
fsharp
0
Title: How to use F# 4.7 on Mac? Problem title: How to use F# 4.7 on Mac? Tags: f%23-interactive, f%23 Problem: How to use F# 4.7 on Mac? With the latest VS for mac installed (8.5 preview) and the latest net core sdk (3.1.200) F# 4.7 should be supported. When I run the dotnet fsi, indeed language features are supported...
How to use F# 4.7 on Mac? How to use F# 4.7 on Mac? f%23-interactive f%23 How Mac How to use F# 4.7 on Mac? With the latest VS for mac installed (8.5 preview) and the latest net core sdk (3.1.200) F# 4.7 should be supported. When I run the dotnet fsi, indeed language features are supported and the FSI shows F# 4.7 as t...
[ -0.01129150390625, 0.0184326171875, 0.00921630859375, 0.007293701171875, -0.0015106201171875, 0.0036163330078125, -0.000247955322265625, 0.007659912109375, -0.0184326171875, 0.023193359375, -0.017822265625, -0.00933837890625, 0.004974365234375, 0.007171630859375, 0.016357421875, -0.025...
[ 11249, 47, 4527, 563, 4904, 1398, 966, 98, 4727, 1238, 27495, 10433, 71232, 3742, 17106, 42850, 44160, 100, 19138, 20600, 107944, 479, 22751, 2043, 56458, 5740, 97109, 5955, 5608, 8060, 11675, 20633, 1179, 172, 160463, 46876, 66139, 9902, 4...
[ 0.079345703125, 0.05389404296875, 0.1566162109375, 0.14599609375, 0.2230224609375, 0.173828125, 0.2188720703125, 0.0618896484375, 0.19189453125, 0.097900390625, 0.045135498046875, 0.03546142578125, 0.010955810546875, 0.05035400390625, 0.00469970703125, 0.0198516845703125, 0.170166015...
embed
62706338_c0
62706338
fsharp
0
Title: How to copy to the clipboard in F#, specifically dotnet core fsi? Problem title: How to copy to the clipboard in F#, specifically dotnet core fsi? Tags: fsi, f%23, .net-core Problem: How to copy to the clipboard in F#, specifically dotnet core fsi? I want to set text to the clipboard in my fsi script in dotnet c...
How to copy to the clipboard in F#, specifically dotnet core fsi? How to copy to the clipboard in F#, specifically dotnet core fsi? fsi f%23 .net-core FSI How System.Windows.Forms Clipboard.SetText Hello How to copy to the clipboard in F#, specifically dotnet core fsi? I want to set text to the clipboard in my fsi scri...
[ -0.01904296875, 0.00640869140625, -0.00286865234375, 0.025146484375, -0.01007080078125, -0.023681640625, 0.0247802734375, -0.00897216796875, -0.00665283203125, -0.01708984375, 0.0157470703125, 0.00689697265625, 0.009765625, 0.00186920166015625, 0.00836181640625, -0.005584716796875, 0...
[ 11249, 47, 43658, 34196, 24351, 23, 563, 4904, 183037, 20633, 1179, 56458, 1238, 172, 3742, 30854, 9902, 12353, 43342, 102973, 127981, 294, 126, 174379, 35378, 3444, 5423, 7986, 26499, 11814, 35064, 18151, 183234, 190, 45461, 7244, 17777, 574...
[ 0.07501220703125, 0.18212890625, 0.2247314453125, 0.2108154296875, 0.250244140625, 0.0714111328125, 0.1279296875, 0.212158203125, 0.025787353515625, 0.115966796875, 0.173583984375, 0.182373046875, 0.0936279296875, 0.16455078125, 0.0904541015625, 0.1517333984375, 0.17578125, 0.02700...
embed
41049285_c0
41049285
fsharp
0
Title: When are F# function calls evaluated; lazily or immediately? Problem title: When are F# function calls evaluated; lazily or immediately? Tags: currying, f%23, lazy-evaluation Problem: When are F# function calls evaluated; lazily or immediately? Curried functions in F#. I get the bit where passing in a subset of ...
When are F# function calls evaluated; lazily or immediately? When are F# function calls evaluated; lazily or immediately? currying f%23 lazy-evaluation When When are F# function calls evaluated; lazily or immediately? Curried functions in F#. I get the bit where passing in a subset of parameters yields a function with ...
[ 0.0108642578125, -0.0146484375, 0.0296630859375, -0.000690460205078125, 0.006378173828125, 0.0159912109375, 0.0194091796875, -0.015380859375, 0.01226806640625, 0.0159912109375, 0.03564453125, -0.004791259765625, -0.01446533203125, 0.003021240234375, 0.0157470703125, -0.0191650390625, ...
[ 14847, 563, 4904, 32354, 11782, 151575, 297, 21, 708, 538, 109312, 198555, 214, 1238, 3742, 3285, 159258, 7, 17065, 46572, 2046, 4785, 452, 6953, 1614, 3509, 171859, 11180, 19388, 678, 26242, 933, 12921, 23, 23150, 35971, 1632, 10750, 49814...
[ 0.1060791015625, 0.1220703125, 0.2264404296875, 0.1810302734375, 0.1842041015625, 0.1939697265625, 0.0970458984375, 0.11376953125, 0.139404296875, 0.1077880859375, 0.1478271484375, 0.150390625, 0.07525634765625, 0.047698974609375, 0.034332275390625, 0.16552734375, 0.1959228515625, ...
embed
32664245_c0
32664245
fsharp
0
Title: Get config value from file, or environment variable if file doesn&#x27;t exist Problem title: Get config value from file, or environment variable if file doesn&#x27;t exist Tags: f%23-data, f%23 Problem: Get config value from file, or environment variable if file doesn't exist I'm trying to get a setting from a ...
Get config value from file, or environment variable if file doesn&#x27;t exist Get config value from file, or environment variable if file doesn&#x27;t exist f%23-data f%23 file Get Get config value from file, or environment variable if file doesn't exist I'm trying to get a setting from a configuration file (preferabl...
[ -0.006134033203125, 0.007354736328125, -0.0079345703125, 0.000362396240234375, -0.00311279296875, 0.00107574462890625, 0.00592041015625, -0.0030364990234375, 0.0015716552734375, -0.0010833740234375, 0.0037384033203125, 0.053466796875, -0.01611328125, -0.01904296875, 0.019775390625, 0.0...
[ 20779, 153837, 34292, 1295, 11435, 707, 65998, 77336, 2174, 22027, 3768, 18, 32316, 1238, 27495, 10135, 3742, 31577, 2046, 53550, 180346, 2875, 8781, 943, 821, 58627, 92537, 4263, 14602, 959, 3444, 19048, 6817, 4420, 97351, 12601, 4527, 14457...
[ 0.1307373046875, 0.278076171875, 0.1905517578125, 0.13134765625, 0.19580078125, 0.057861328125, 0.147216796875, 0.1971435546875, 0.11083984375, 0.129638671875, 0.025726318359375, 0.12451171875, 0.2083740234375, 0.062255859375, 0.1221923828125, 0.0836181640625, 0.07135009765625, 0.0...
embed
25442642_c1
25442642
fsharp
1
.filterRows(fun k v -> match !flag, v.TryGetAs<float>("colb") with | false, OptionalValue.Missing -> flag := false | false, _ -> flag := true | true, _ -> () !flag ) This is not really a problem of Deedle but more to do with how should immutability achieve this. Something easily achievable in Python and VBA seems to be...
.filterRows(fun k v -> match !flag, v.TryGetAs<float>("colb") with | false, OptionalValue.Missing -> flag := false | false, _ -> flag := true | true, _ -> () !flag ) This is not really a problem of Deedle but more to do with how should immutability achieve this. Something easily achievable in Python and VBA seems to be...
[ 0.012451171875, 0.00579833984375, -0.0015411376953125, 0.00750732421875, -0.016357421875, -0.017822265625, 0.03857421875, 0.0216064453125, -0.0033111572265625, 0.037841796875, 0.0038909912109375, 0.015869140625, -0.01141357421875, 0.0011444091796875, 0.0106201171875, 0.007415771484375,...
[ 5, 120337, 12724, 19725, 16498, 472, 81, 14858, 711, 190872, 618, 1294, 724, 126, 19659, 52347, 8447, 275, 98320, 86769, 289, 856, 50770, 135261, 214, 49938, 29568, 2967, 262, 297, 133, 566, 14311, 41159, 69307, 72546, 1861, 145581, 310, ...
[ 0.0098876953125, 0.276611328125, 0.18603515625, 0.181640625, 0.2012939453125, 0.126220703125, 0.2005615234375, 0.15576171875, 0.011566162109375, 0.1688232421875, 0.030120849609375, 0.1390380859375, 0.029876708984375, 0.047637939453125, 0.1640625, 0.0780029296875, 0.09588623046875, ...
embed
7331408_c0
7331408
fsharp
0
Title: MPI vs. Microsoft WCF vs. Microsoft TPL Problem title: MPI vs. Microsoft WCF vs. Microsoft TPL Tags: f%23, mpi, wcf, task-parallel-library Problem: MPI vs. Microsoft WCF vs. Microsoft TPL I have a scientific program written in F# which I want to parallelize and run on 1 server with multiple processors (64) and f...
MPI vs. Microsoft WCF vs. Microsoft TPL MPI vs. Microsoft WCF vs. Microsoft TPL f%23 mpi wcf task-parallel-library MPI Microsoft WCF TPL MPI vs. Microsoft WCF vs. Microsoft TPL I have a scientific program written in F# which I want to parallelize and run on 1 server with multiple processors (64) and for the future also...
[ 0.0089111328125, 0.006072998046875, -0.006072998046875, 0.004669189453125, -0.01531982421875, -0.0478515625, -0.001739501953125, 0.0068359375, 0.00738525390625, -0.0137939453125, -0.0004444122314453125, 0.00244140625, 0.004119873046875, 0.0135498046875, 0.01214599609375, 0.009948730468...
[ 189210, 20209, 7244, 37808, 919, 384, 21130, 1238, 3949, 3742, 39806, 148, 67466, 66211, 6276, 1229, 150, 2844, 57456, 1528, 59121, 23, 563, 4904, 3444, 95103, 11675, 106, 10723, 48716, 14543, 88235, 22690, 76746, 43342, 176071, 8781, 66271, ...
[ 0.29052734375, 0.1890869140625, 0.188232421875, 0.1973876953125, 0.2398681640625, 0.1243896484375, 0.27294921875, 0.03546142578125, 0.007080078125, 0.1165771484375, 0.1728515625, 0.05303955078125, 0.202880859375, 0.15478515625, 0.07232666015625, 0.1260986328125, 0.07135009765625, 0...
embed
26008069_c1
26008069
fsharp
1
g in G do leftOuterJoin h in H on (g = h) into I for i in I.NoneIfEmpty do select (g, i)} // seq [(A, Some A); (B, Some null); (C, Some C); (C, Some C)] 2) Is there a way to get None instead of null / Some null from the leftOuterJoin ? 3) What I really want to do is find out if there are any unmatched g printfn "%A" <...
g in G do leftOuterJoin h in H on (g = h) into I for i in I.NoneIfEmpty do select (g, i)} // seq [(A, Some A); (B, Some null); (C, Some C); (C, Some C)] 2) Is there a way to get None instead of null / Some null from the leftOuterJoin ? 3) What I really want to do is find out if there are any unmatched g printfn "%A" <...
[ 0.0067138671875, 0.0201416015625, 0.004486083984375, 0.01318359375, 0.00439453125, -0.001434326171875, 0.01470947265625, -0.0167236328125, 0.007354736328125, 0.0081787109375, -0.010009765625, 0.0135498046875, -0.006622314453125, -0.015869140625, -0.00933837890625, 0.0174560546875, 0....
[ 706, 23, 527, 25737, 79858, 56, 16604, 73, 1096, 572, 98, 177, 2203, 3934, 87, 100, 17, 5021, 86, 91306, 134332, 939, 36849, 40, 864, 31384, 62, 56574, 3917, 2046, 438, 64457, 1295, 8439, 6183, 3444, 7413, 1810, 2174, 2685, 621, 2499,...
[ 0.1719970703125, 0.0645751953125, 0.1693115234375, 0.181884765625, 0.1734619140625, 0.15234375, 0.215087890625, 0.1319580078125, 0.1083984375, 0.0938720703125, 0.1190185546875, 0.1082763671875, 0.006195068359375, 0.04998779296875, 0.083984375, 0.003875732421875, 0.0667724609375, 0....
embed
19999876_c0
19999876
fsharp
0
Title: invoke fsi on memory (not file) Problem title: invoke fsi on memory (not file) Tags: fsi, f%23 Problem: invoke fsi on memory (not file) Let's say we have a fsi script like this: #r "System.Core.dll" let script = "Console.WriteLine(\"Hello, World!\")" // fsi script ??? We can use #load to invoke fsi on a file, bu...
invoke fsi on memory (not file) invoke fsi on memory (not file) fsi f%23 System.Core.dll Console.WriteLine Hello World invoke fsi on memory (not file) Let's say we have a fsi script like this: We can use #load to invoke fsi on a file, but is it possible to somehow invoke fsi on an in-memory string without writing that ...
[ -0.02099609375, 0.01080322265625, 0.00048065185546875, 0.0341796875, -0.00970458984375, -0.02099609375, 0.02587890625, 0.00970458984375, 0.00153350830078125, -0.036376953125, 0.01446533203125, 0.022216796875, -0.00007772445678710938, 0.026611328125, 0.020751953125, -0.00146484375, 0....
[ 23, 23253, 13, 1238, 172, 98, 98323, 10869, 11435, 3742, 12353, 50886, 71, 1181, 40777, 93232, 35378, 6661, 26499, 1884, 831, 4527, 468, 63033, 7722, 209303, 109005, 79315, 15490, 32562, 47, 5117, 58437, 61687, 112793, 79227, 81717, 28282, ...
[ 0.08990478515625, 0.1953125, 0.0653076171875, 0.17919921875, 0.236328125, 0.136962890625, 0.2401123046875, 0.1456298828125, 0.1636962890625, 0.09527587890625, 0.096435546875, 0.108154296875, 0.02996826171875, 0.137939453125, 0.0875244140625, 0.07220458984375, 0.0545654296875, 0.041...
embed
4699192_c0
4699192
fsharp
0
Title: F# in Monodevelop: Stack traces when opening .fsx file Problem title: F# in Monodevelop: Stack traces when opening .fsx file Tags: ubuntu, monodevelop, f%23 Problem: F# in Monodevelop: Stack traces when opening .fsx file Extension .fsx stands for an Fsharp File that will be compiled to an executable. Cannot open...
F# in Monodevelop: Stack traces when opening .fsx file F# in Monodevelop: Stack traces when opening .fsx file ubuntu monodevelop f%23 Monodevelop Stack F# in Monodevelop: Stack traces when opening .fsx file Extension .fsx stands for an Fsharp File that will be compiled to an executable. Cannot open .fsx files in Monode...
[ 0.0057373046875, 0.0135498046875, -0.01092529296875, 0.0026092529296875, 0.0050048828125, -0.003021240234375, 0.0186767578125, 0.00689697265625, -0.00811767578125, -0.00933837890625, 0.005767822265625, -0.0021820068359375, 0.00799560546875, 0.0140380859375, 0.0294189453125, 0.001892089...
[ 563, 4904, 23, 77879, 229815, 6512, 2594, 144851, 73432, 5, 17447, 425, 11435, 7, 3229, 198996, 22460, 1238, 3742, 224545, 9157, 100, 89280, 254, 42724, 1221, 5974, 71924, 2886, 4171, 10869, 9803, 102158, 116890, 291, 272, 41537, 93392, 160...
[ 0.1336669921875, 0.20654296875, 0.0183258056640625, 0.2325439453125, 0.276123046875, 0.1790771484375, 0.1585693359375, 0.2305908203125, 0.1588134765625, 0.0183868408203125, 0.206298828125, 0.2041015625, 0.13720703125, 0.0411376953125, 0.0156097412109375, 0.0992431640625, 0.1682128906...
embed
66600792_c1
66600792
fsharp
1
call to interop.Invoke does not compile. For the code above, it fails at x and dx with the message: [FS0001] This expression was expected to have type 'nativeptr<float>' but here has type 'double []' I can declare neq and t as mutable and then call the interop like: interop.Invoke(&neq, &t, ... . That makes no differe...
call to interop.Invoke does not compile. For the code above, it fails at x and dx with the message: [FS0001] This expression was expected to have type 'nativeptr<float>' but here has type 'double []' I can declare neq and t as mutable and then call the interop like: interop.Invoke(&neq, &t, ... . That makes no differe...
[ 0.000331878662109375, 0.01904296875, 0.0142822265625, 0.000010371208190917969, -0.005584716796875, 0.002197265625, 0.006011962890625, -0.0023040771484375, 0.0103759765625, -0.017333984375, -0.017333984375, 0.0228271484375, 0.01007080078125, 0.0126953125, 0.00677490234375, -0.0090332031...
[ 11782, 47, 1940, 2146, 4153, 23253, 13, 14602, 959, 9969, 1340, 18151, 35782, 99, 1022, 136, 104, 425, 26008, 36381, 188735, 125195, 84751, 10644, 76, 4935, 6328, 42, 52347, 21555, 2661, 159978, 108, 864, 808, 842, 22819, 86, 619, 18, 6...
[ 0.1484375, 0.059967041015625, 0.2027587890625, 0.25927734375, 0.0777587890625, 0.2181396484375, 0.10650634765625, 0.0028076171875, 0.091064453125, 0.151123046875, 0.17529296875, 0.060272216796875, 0.1474609375, 0.0582275390625, 0.038330078125, 0.070556640625, 0.0265045166015625, 0....
embed
70820360_c0
70820360
fsharp
0
Title: JSON TypeProvider and null values in arrays Problem title: JSON TypeProvider and null values in arrays Tags: f%23, type-providers, json Problem: JSON TypeProvider and null values in arrays This code open FSharp.Data [<Literal>] let sample = """ { "foo": [ 10, null ] } """ type InputTypes = JsonProvider<sample> I...
JSON TypeProvider and null values in arrays JSON TypeProvider and null values in arrays f%23 type-providers json JSON TypeProvider FSharp.Data Literal InputTypes JsonProvider InputTypes.Parse Foo Dump Nullable JSON TypeProvider and null values in arrays This code Results in Foo being type int[] and the containing a sin...
[ 0.020751953125, 0.0130615234375, -0.0059814453125, 0.034423828125, -0.032958984375, 0.006011962890625, 0.034423828125, -0.006683349609375, -0.002532958984375, 0.036376953125, -0.0059814453125, 0.0106201171875, -0.00408935546875, -0.007537841796875, 0.0072021484375, -0.0123291015625, ...
[ 821, 58627, 60457, 177997, 62160, 136, 56574, 142424, 23, 10298, 4778, 1238, 3949, 3742, 10644, 93136, 14202, 1647, 1681, 93774, 3467, 254, 137989, 135940, 360, 196707, 7077, 28636, 9572, 31, 786, 2676, 27786, 2661, 18151, 146104, 8035, 18, ...
[ 0.11328125, 0.206787109375, 0.2266845703125, 0.1976318359375, 0.163330078125, 0.07470703125, 0.254638671875, 0.1951904296875, 0.07080078125, 0.1458740234375, 0.13134765625, 0.045318603515625, 0.008453369140625, 0.13232421875, 0.2020263671875, 0.180908203125, 0.05340576171875, 0.052...
embed