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
29362802_c0
29362802
fsharp
0
Title: Confusion on user defined types in f# Problem title: Confusion on user defined types in f# Tags: types, f%23 Problem: Confusion on user defined types in f# For built-in types like int and string, the way to annotate them in a function is like this: let testFunction (x:int) = x * x but for user defined types, the...
Confusion on user defined types in f# Confusion on user defined types in f# types f%23 Confusion x:int NewType a:NewType Confusion on user defined types in f# For built-in types like int and string, the way to annotate them in a function is like this: but for user defined types, the way of using them is different. like...
[ 0.001708984375, -0.009765625, -0.001251220703125, 0.00042724609375, -0.015869140625, 0.0068359375, -0.0196533203125, 0.01373291015625, 0.007049560546875, -0.00360107421875, 0.0008544921875, -0.005218505859375, -0.00408935546875, 0.0011138916015625, 0.0224609375, -0.01336669921875, 0....
[ 1657, 92105, 98, 38937, 61924, 52895, 23, 1238, 4904, 3742, 1022, 4288, 2356, 196707, 10, 46568, 88303, 73, 18, 136, 79315, 3917, 8668, 19888, 32354, 1884, 903, 1284, 71, 17368, 12921, 70, 35064, 3884, 25632, 892, 56359, 56, 163, 14602, ...
[ 0.0304107666015625, 0.1947021484375, 0.03021240234375, 0.1607666015625, 0.19287109375, 0.2486572265625, 0.08056640625, 0.114990234375, 0.1903076171875, 0.055206298828125, 0.06036376953125, 0.181396484375, 0.1236572265625, 0.28564453125, 0.0643310546875, 0.1063232421875, 0.0986328125,...
embed
47925643_c1
47925643
fsharp
1
. Is there a generic function along the lines of stringToDUCase that could do the same? 2) Would it be better to use a tuple of type OptimizationCriterion*OptimizationPeriod instead of a nested DU? (I probably would have to call stringToDUCase twice, but that is not a problem) Code signals: System.Exception, Optimizati...
. Is there a generic function along the lines of stringToDUCase that could do the same? 2) Would it be better to use a tuple of type OptimizationCriterion*OptimizationPeriod instead of a nested DU? (I probably would have to call stringToDUCase twice, but that is not a problem) Code signals: System.Exception, Optimizati...
[ 0.0020294189453125, 0.0245361328125, -0.0240478515625, -0.0068359375, -0.0172119140625, -0.022216796875, -0.01019287109375, -0.0218505859375, 0.0120849609375, 0.0091552734375, -0.000583648681640625, 0.002471923828125, 0.01806640625, -0.0224609375, -0.010498046875, -0.001251220703125, ...
[ 189534, 32354, 33233, 124519, 79315, 7763, 18431, 441, 6991, 5809, 54, 5701, 4958, 11522, 4527, 370, 8705, 10644, 43938, 47691, 18781, 69076, 39029, 147771, 15277, 14, 2199, 64457, 8512, 71, 14614, 11782, 186351, 16, 28864, 26073, 7, 12353, ...
[ 0.1875, 0.1793212890625, 0.00640869140625, 0.052154541015625, 0.202392578125, 0.196044921875, 0.141845703125, 0.162841796875, 0.1903076171875, 0.033477783203125, 0.00921630859375, 0.0855712890625, 0.0718994140625, 0.0902099609375, 0.05108642578125, 0.05389404296875, 0.1671142578125, ...
embed
1894250_c0
1894250
fsharp
0
Title: F# Unit of Measure, Casting without losing the measure type Problem title: F# Unit of Measure, Casting without losing the measure type Tags: units-of-measurement, f%23, casting Problem: F# Unit of Measure, Casting without losing the measure type Is there built in version of the type casting functions that preser...
F# Unit of Measure, Casting without losing the measure type F# Unit of Measure, Casting without losing the measure type units-of-measurement f%23 casting Unit Measure Casting F# Unit of Measure, Casting without losing the measure type Is there built in version of the type casting functions that preserves units and if n...
[ 0.0033111572265625, 0.0289306640625, 0.0093994140625, -0.01123046875, -0.01080322265625, -0.05517578125, -0.00836181640625, -0.01165771484375, 0.01312255859375, -0.01177978515625, -0.01123046875, -0.01007080078125, -0.0016326904296875, 0.011962890625, 0.0093994140625, -0.00023746490478...
[ 563, 4904, 46640, 111, 1215, 11, 56851, 32301, 214, 15490, 388, 72350, 10644, 25072, 4390, 37440, 1238, 3949, 3742, 176050, 2071, 2685, 88303, 23, 11389, 32354, 7, 479, 86687, 3642, 2806, 87, 3249, 903, 18151, 37702, 18, 194583, 4233, 227...
[ 0.1278076171875, 0.2197265625, 0.1966552734375, 0.09442138671875, 0.1226806640625, 0.1488037109375, 0.10614013671875, 0.1744384765625, 0.07537841796875, 0.11865234375, 0.054473876953125, 0.1917724609375, 0.2154541015625, 0.206298828125, 0.08544921875, 0.0772705078125, 0.125, 0.0451...
embed
66613595_c1
66613595
fsharp
1
) = let map:MyMap = sender :?> MyMap if (map.VisibleRegion <> null) then this.ZoomLevel <- map.VisibleRegion.Radius Code signals: How, Xamarin.Forms.Maps, MyMap, Map, BindableProperty, ZoomLevelProperty, BindableProperty.Create, ZoomLevel, Distance, MainPageMap, this.PropertyChanged, PropertyChangedEventArgs, map.Visib...
) = let map:MyMap = sender :?> MyMap if (map.VisibleRegion <> null) then this.ZoomLevel <- map.VisibleRegion.Radius Code signals: How, Xamarin.Forms.Maps, MyMap, Map, BindableProperty, ZoomLevelProperty, BindableProperty.Create, ZoomLevel, Distance, MainPageMap, this.PropertyChanged, PropertyChangedEventArgs, map.Visib...
[ -0.0185546875, 0.0257568359375, 0.005126953125, 0.0128173828125, -0.0016937255859375, 0.004974365234375, -0.003265380859375, 0.00994873046875, 0.01806640625, -0.01226806640625, -0.000043392181396484375, 0.0157470703125, 0.0034332275390625, 0.00860595703125, 0.00408935546875, 0.02038574...
[ 1388, 2203, 2633, 22288, 12, 31852, 166179, 59146, 2646, 2174, 62346, 6609, 55356, 54601, 1830, 56574, 903, 60551, 306, 5267, 2601, 148545, 3834, 28864, 26073, 7, 11249, 8606, 44503, 102973, 42719, 16666, 71, 2886, 1264, 97170, 10752, 63784, ...
[ 0.049072265625, 0.049530029296875, 0.071044921875, 0.185791015625, 0.025115966796875, 0.150634765625, 0.25048828125, 0.1719970703125, 0.1529541015625, 0.016815185546875, 0.1790771484375, 0.1654052734375, 0.1826171875, 0.1331787109375, 0.049560546875, 0.14697265625, 0.112060546875, ...
embed
25953291_c0
25953291
fsharp
0
Title: WebSharper : How to use the .On event handler Problem title: WebSharper : How to use the .On event handler Tags: websharper, jquery, f%23 Problem: WebSharper : How to use the .On event handler I'm trying to use JQuery provide by WebSharper to catch the following event : selectstart. So I write the following code...
WebSharper : How to use the .On event handler WebSharper : How to use the .On event handler websharper jquery f%23 WebSharper How JQuery.Of JavaScript.Log WebSharper : How to use the .On event handler I'm trying to use JQuery provide by WebSharper to catch the following event : selectstart. So I write the following cod...
[ -0.032470703125, 0.036865234375, -0.0150146484375, -0.0224609375, -0.00811767578125, -0.0081787109375, -0.00848388671875, 0.0023193359375, 0.00060272216796875, -0.06640625, 0.005828857421875, 0.0198974609375, -0.0303955078125, 0.01202392578125, 0.01904296875, 0.00188446044921875, 0.0...
[ 4002, 294, 3467, 1264, 11249, 4527, 5, 20320, 19732, 35863, 70, 1467, 89280, 1647, 944, 1294, 1238, 3742, 821, 41732, 132887, 17925, 113972, 31577, 22691, 105556, 25632, 36849, 17137, 18151, 2967, 8306, 28412, 3034, 79315, 130250, 3714, 3642,...
[ 0.1221923828125, 0.0360107421875, 0.171875, 0.2220458984375, 0.052734375, 0.162841796875, 0.09228515625, 0.25390625, 0.153564453125, 0.239501953125, 0.00079345703125, 0.08441162109375, 0.1661376953125, 0.01068115234375, 0.08721923828125, 0.1090087890625, 0.002685546875, 0.088745117...
embed
3089729_c0
3089729
fsharp
0
Title: grid command in F# Interactive window Problem title: grid command in F# Interactive window Tags: f%23-interactive, f%23 Problem: grid command in F# Interactive window So I installed F# and I'm running VS 2008. I'm following along on a video tutorial the microsoft guys put on awhile ago. At one point, he wants to...
grid command in F# Interactive window grid command in F# Interactive window f%23-interactive f%23 Interactive grid command in F# Interactive window So I installed F# and I'm running VS 2008. I'm following along on a video tutorial the microsoft guys put on awhile ago. At one point, he wants to throw his output to a gri...
[ 0.002227783203125, 0.01300048828125, 0.02685546875, -0.0004863739013671875, 0.0101318359375, 0.01171875, -0.00787353515625, 0.004791259765625, -0.003204345703125, 0.0069580078125, -0.00799560546875, 0.01031494140625, 0.01348876953125, -0.00482177734375, 0.006683349609375, 0.00054168701...
[ 120067, 75101, 23, 563, 4904, 5337, 71232, 76896, 1238, 167218, 27495, 10433, 3742, 20600, 51042, 44160, 20907, 25632, 33233, 1202, 57143, 138410, 86171, 104250, 140992, 47, 52895, 903, 27489, 18499, 163, 239469, 105548, 1176, 65918, 203758, 15...
[ 0.306396484375, 0.2255859375, 0.03338623046875, 0.125244140625, 0.226806640625, 0.13427734375, 0.1202392578125, 0.1591796875, 0.0875244140625, 0.0074462890625, 0.13427734375, 0.099365234375, 0.114013671875, 0.04296875, 0.056060791015625, 0.1907958984375, 0.180908203125, 0.041809082...
embed
31081319_c0
31081319
fsharp
0
Title: F# SqlDataConnection Type Provider - Run once, instead of on every compile Problem title: F# SqlDataConnection Type Provider - Run once, instead of on every compile Tags: .net, f%23, type-providers Problem: F# SqlDataConnection Type Provider - Run once, instead of on every compile Is there a good example or expl...
F# SqlDataConnection Type Provider - Run once, instead of on every compile F# SqlDataConnection Type Provider - Run once, instead of on every compile .net f%23 type-providers SqlDataConnection Type Provider Run F# SqlDataConnection Type Provider - Run once, instead of on every compile Is there a good example or explana...
[ 0.018310546875, 0.0159912109375, -0.00897216796875, 0.00848388671875, -0.019287109375, 0.01513671875, -0.00064849853515625, -0.012451171875, 0.000720977783203125, -0.036376953125, -0.00750732421875, -0.03564453125, 0.003173828125, -0.00274658203125, 0.017822265625, 0.012451171875, -0...
[ 563, 4904, 159, 99247, 137989, 235603, 60457, 123089, 42, 28398, 24145, 64457, 98, 11907, 9969, 1340, 1179, 1238, 3742, 10644, 93136, 27781, 187136, 3642, 235879, 55441, 11389, 63399, 1830, 81450, 21635, 959, 11675, 26785, 40140, 18929, 94878, ...
[ 0.05181884765625, 0.1641845703125, 0.0225677490234375, 0.1627197265625, 0.123779296875, 0.1689453125, 0.2086181640625, 0.1649169921875, 0.059844970703125, 0.1715087890625, 0.2041015625, 0.1219482421875, 0.030548095703125, 0.093505859375, 0.105712890625, 0.13134765625, 0.0833740234375...
embed
46335719_c0
46335719
fsharp
0
Title: F# custom append function Problem title: F# custom append function Tags: recursion, function, f%23, design-patterns, list Problem: F# custom append function I have a custom function that appends list2 to list1. let append ls1 ls2 = let rec loop ls ls1 ls2 = match ls1, ls2 with | _, hd::tl -> loop (hd::ls) ls1 tl...
F# custom append function F# custom append function recursion function f%23 design-patterns list ls1 ls2 hd::tl hd::ls F# custom append function I have a custom function that appends list2 to list1. It works fine. But the problem is when I call the function Instead of returning [1;2;3;4;5;6;7;8;9;10] it returns It inve...
[ 0.000453948974609375, 0.01251220703125, 0.0106201171875, 0.00616455078125, 0.005767822265625, 0.010986328125, -0.0030670166015625, 0.027587890625, 0.0162353515625, -0.02099609375, 0.0274658203125, 0.0024871826171875, -0.01416015625, 0.01531982421875, 0.0184326171875, -0.0120849609375, ...
[ 563, 4904, 114122, 114689, 71, 32354, 195625, 1830, 1238, 3742, 4331, 4453, 22766, 5303, 96, 7, 418, 304, 26488, 141, 8080, 6468, 47, 43240, 5885, 4966, 70, 2967, 11782, 175399, 111, 30646, 214, 68252, 74, 363, 758, 910, 966, 1019, 1126...
[ 0.135009765625, 0.19970703125, 0.205322265625, 0.1976318359375, 0.1180419921875, 0.2060546875, 0.1983642578125, 0.094482421875, 0.0750732421875, 0.1199951171875, 0.193115234375, 0.110595703125, 0.1270751953125, 0.18701171875, 0.0067138671875, 0.0215911865234375, 0.06512451171875, 0...
embed
3111448_c0
3111448
fsharp
0
Title: F# Seq.sortBy in descending order Problem title: F# Seq.sortBy in descending order Tags: f%23 Problem: F# Seq.sortBy in descending order I am fairly new to F# and came by the Seq.sortBy function however it is sorting my list in ascending order. How do I get it to sort in descending order using the Seq.sort? For ...
F# Seq.sortBy in descending order F# Seq.sortBy in descending order f%23 Seq.sortBy DisplayList Seq.iter Console.WriteLine x.ToString F# Seq.sortBy in descending order I am fairly new to F# and came by the Seq.sortBy function however it is sorting my list in ascending order. How do I get it to sort in descending order ...
[ 0.031494140625, 0.029052734375, 0.014404296875, -0.00885009765625, -0.004425048828125, -0.004638671875, 0.017333984375, 0.005767822265625, -0.0174560546875, -0.00098419189453125, 0.0030517578125, -0.00122833251953125, 0.005401611328125, 0.0096435546875, 0.00095367431640625, -0.00094223...
[ 563, 4904, 503, 864, 62351, 75358, 23, 60887, 214, 12989, 1238, 3742, 90045, 154663, 16840, 40777, 93232, 1022, 7763, 71713, 5, 3525, 32354, 49903, 12096, 759, 5303, 82800, 11249, 2046, 47, 17368, 70, 27781, 18151, 76199, 140992, 111, 106, ...
[ 0.132568359375, 0.1951904296875, 0.088134765625, 0.1943359375, 0.232421875, 0.2017822265625, 0.0787353515625, 0.224853515625, 0.0982666015625, 0.171630859375, 0.042724609375, 0.064453125, 0.1112060546875, 0.10345458984375, 0.0406494140625, 0.083251953125, 0.0579833984375, 0.0064697...
embed
3993557_c0
3993557
fsharp
0
Title: Whitespace and indentation in F# Problem title: Whitespace and indentation in F# Tags: whitespace, f%23, indentation, tabs Problem: Whitespace and indentation in F# I'm just learning about F# and plan to use it for my next project. One thing I find immediately confusing is the lack of support for tab characters ...
Whitespace and indentation in F# Whitespace and indentation in F# whitespace f%23 indentation tabs Whitespace Whitespace and indentation in F# I'm just learning about F# and plan to use it for my next project. One thing I find immediately confusing is the lack of support for tab characters in .fs files. I love how inde...
[ 0.025634765625, 0.00592041015625, -0.007110595703125, 0.00421142578125, -0.01312255859375, -0.0009765625, 0.00579833984375, 0.013671875, 0.0157470703125, 0.0242919921875, 0.0048828125, 0.0107421875, -0.0216064453125, 0.01458740234375, 0.0008392333984375, 0.002899169921875, 0.01440429...
[ 22392, 65421, 136, 18597, 22062, 563, 4904, 35011, 1238, 3949, 3742, 20928, 52080, 1774, 4527, 13452, 7413, 109312, 55681, 92635, 8060, 124850, 5, 17447, 102158, 5161, 11814, 7639, 70820, 17368, 32628, 37202, 90065, 24234, 4420, 22759, 20028, ...
[ 0.1898193359375, 0.26318359375, 0.055084228515625, 0.1650390625, 0.1142578125, 0.1298828125, 0.2177734375, 0.1787109375, 0.04400634765625, 0.0265960693359375, 0.12890625, 0.1815185546875, 0.039459228515625, 0.018463134765625, 0.009552001953125, 0.0213165283203125, 0.00201416015625, ...
embed
44425090_c2
44425090
fsharp
2
ics.dll, MathNet.Numerics.exe, Facades, GAC, RawFileName, paket.dependencies, www.nuget.org, FAKE, FSharp.Core, Newtonsoft.Json, paket.lock, TaskParallelLibrary, net35, Microsoft.CSharp, netstandard10, netstandard13, NETStandard.Library, System.ComponentModel.TypeConverter, System.Runtime.Serialization.Formatters, Syst...
ics.dll, MathNet.Numerics.exe, Facades, GAC, RawFileName, paket.dependencies, www.nuget.org, FAKE, FSharp.Core, Newtonsoft.Json, paket.lock, TaskParallelLibrary, net35, Microsoft.CSharp, netstandard10, netstandard13, NETStandard.Library, System.ComponentModel.TypeConverter, System.Runtime.Serialization.Formatters, Syst...
[ -0.0235595703125, 0.028564453125, 0.00506591796875, 0.01214599609375, 0.00628662109375, 0.00872802734375, -0.01116943359375, -0.00128936767578125, -0.00445556640625, 0.0279541015625, 0.00677490234375, 0.005645751953125, 0.004974365234375, 0.0130615234375, -0.00799560546875, 0.010437011...
[ 6, 28021, 5, 71, 1181, 4, 78804, 24447, 18444, 1991, 46480, 75436, 12649, 527, 15012, 109997, 174350, 163612, 13360, 105254, 13, 117538, 1426, 539, 3794, 1478, 563, 119960, 93774, 3467, 254, 50886, 145076, 61306, 1375, 1681, 21135, 9598, 55...
[ 0.0748291015625, 0.2349853515625, 0.1180419921875, 0.1051025390625, 0.2205810546875, 0.0885009765625, 0.2042236328125, 0.2354736328125, 0.1092529296875, 0.15283203125, 0.1981201171875, 0.15576171875, 0.2388916015625, 0.0604248046875, 0.134521484375, 0.208984375, 0.20361328125, 0.17...
embed
32487867_c0
32487867
fsharp
0
Title: Is there a way to set automatic properties in secondary constructors? Problem title: Is there a way to set automatic properties in secondary constructors? Tags: f%23 Problem: Is there a way to set automatic properties in secondary constructors? I have this class: type Sample() = member val test1 = "" with get,se...
Is there a way to set automatic properties in secondary constructors? Is there a way to set automatic properties in secondary constructors? f%23 Sample test1 test2 result1 result2 this.test1 this.test2 Is there a way to set automatic properties in secondary constructors? I have this class: I've tried several different ...
[ 0.00543212890625, 0.029052734375, 0.01190185546875, 0.005157470703125, -0.006866455078125, -0.0155029296875, -0.00592041015625, 0.0035858154296875, 0.010986328125, 0.017333984375, 0.01123046875, 0.0250244140625, 0.016357421875, 0.006500244140625, -0.0172119140625, 0.0031280517578125, ...
[ 2071, 3917, 5423, 101038, 183871, 23, 37526, 1294, 64549, 25251, 2685, 10, 47, 1238, 3742, 33209, 3034, 418, 304, 16750, 903, 6954, 18507, 37842, 40368, 12921, 48322, 831, 959, 4488 ]
[ 0.007171630859375, 0.0968017578125, 0.17138671875, 0.273193359375, 0.2342529296875, 0.05120849609375, 0.193359375, 0.12158203125, 0.1588134765625, 0.1044921875, 0.0282135009765625, 0.0266876220703125, 0.033203125, 0.0150146484375, 0.059814453125, 0.0821533203125, 0.1287841796875, 0...
embed
59034733_c0
59034733
fsharp
0
Title: Not understanding this F# array issue Problem title: Not understanding this F# array issue Tags: f%23 Problem: Not understanding this F# array issue I want to enumerate an enum: type T = | Type1 = 0 | Type2 = 1 let a = Enum.GetValues(typeof<T>) which gives me this: val a : Array = [|T1; T2|] now, I want to go th...
Not understanding this F# array issue Not understanding this F# array issue f%23 Not Type1 Type2 Enum.GetValues Array.iter Not understanding this F# array issue I want to enumerate an enum: which gives me this: now, I want to go through the array: but I get that: I don't understand why I have an array that doesn't matc...
[ 0.0019683837890625, -0.0174560546875, -0.006317138671875, 0.00421142578125, -0.0203857421875, -0.0021820068359375, -0.01031494140625, -0.0093994140625, -0.0096435546875, 0.022705078125, 0.011474609375, 0.02197265625, 0.01495361328125, -0.004486083984375, 0.01507568359375, -0.0314941406...
[ 11205, 100094, 903, 563, 4904, 10298, 53, 31089, 1238, 3742, 60457, 418, 304, 357, 316, 724, 126, 42272, 21049, 69253, 16840, 3444, 189085, 67, 22, 738, 8305, 70, 2301, 18, 28219, 15400, 765, 450, 22027, 14858, 10644 ]
[ 0.0950927734375, 0.1649169921875, 0.07196044921875, 0.1046142578125, 0.1844482421875, 0.1822509765625, 0.1693115234375, 0.124755859375, 0.06298828125, 0.1097412109375, 0.1484375, 0.0193939208984375, 0.02099609375, 0.09130859375, 0.1871337890625, 0.0047607421875, 0.049285888671875, ...
embed
11648638_c1
11648638
fsharp
1
<- mainWindow // Application Entry point [<STAThread>] [<EntryPoint>] let main(_) =(new Application()).Run(mainWindow.Root) (recommendations welcome, I am just starting to look at wpf..) Code signals: the, x.SelectedUdl, this.Quotes12.ItemsSource, asyncquotes.gethisto, Seq.head, UserControl.DataContext, ViewModel:Quot...
<- mainWindow // Application Entry point [<STAThread>] [<EntryPoint>] let main(_) =(new Application()).Run(mainWindow.Root) (recommendations welcome, I am just starting to look at wpf..) Code signals: the, x.SelectedUdl, this.Quotes12.ItemsSource, asyncquotes.gethisto, Seq.head, UserControl.DataContext, ViewModel:Quot...
[ 0.00433349609375, 0.039794921875, 0.007049560546875, 0.01025390625, 0.00872802734375, -0.003265380859375, 0.012451171875, -0.0208740234375, -0.00099945068359375, -0.039306640625, 0.00098419189453125, -0.032958984375, 0.00457763671875, 0.0019683837890625, 0.0174560546875, 0.001686096191...
[ 5201, 92049, 24293, 4666, 104921, 357, 15123, 6275, 176523, 39116, 7768, 147534, 2633, 454, 54936, 163321, 24931, 12724, 818, 277, 21094, 81907, 72134, 6713, 148, 39557, 28864, 26073, 7, 70, 1022, 100184, 1062, 20469, 903, 31583, 1636, 1530, ...
[ 0.1890869140625, 0.148193359375, 0.1805419921875, 0.021728515625, 0.241943359375, 0.123046875, 0.2435302734375, 0.1884765625, 0.190185546875, 0.2025146484375, 0.079833984375, 0.18701171875, 0.06365966796875, 0.070068359375, 0.1436767578125, 0.1640625, 0.1317138671875, 0.15124511718...
embed
23759887_c0
23759887
fsharp
0
Title: GUI programming with F# Problem title: GUI programming with F# Tags: f%23, user-interface Problem: GUI programming with F# I am looking at doing UI development with F#. I have experience using F# as a back end with C# and XAML as the front end, and have tried using the XAML type provider. I know of RX but haven'...
GUI programming with F# GUI programming with F# f%23 user-interface GUI GUI programming with F# I am looking at doing UI development with F#. I have experience using F# as a back end with C# and XAML as the front end, and have tried using the XAML type provider. I know of RX but haven't used it yet. Does anyone know of...
[ 0.0076904296875, 0.0078125, 0.0240478515625, -0.017333984375, 0.008056640625, -0.00037384033203125, 0.0023956298828125, 0.0026702880859375, 0.007659912109375, -0.027099609375, 0.002288818359375, -0.0196533203125, -0.0074462890625, 0.01141357421875, -0.00482177734375, 0.0166015625, 0....
[ 195490, 56037, 449, 678, 563, 4904, 1238, 3949, 3742, 38937, 10433, 40404, 16487, 20594, 111481, 34754, 16981, 17368, 237, 10, 4420, 3564, 136, 65415, 39456, 12912, 37842, 10644, 81450, 3714, 627, 1542, 38246, 18, 11814, 14373, 35672, 3789, ...
[ 0.285888671875, 0.2001953125, 0.0865478515625, 0.1148681640625, 0.1676025390625, 0.2420654296875, 0.0806884765625, 0.023406982421875, 0.1138916015625, 0.136474609375, 0.07073974609375, 0.03717041015625, 0.051361083984375, 0.0287628173828125, 0.1343994140625, 0.0924072265625, 0.070678...
embed
55937321_c1
55937321
fsharp
1
message}"); await Task.Delay(250); Console.WriteLine($"End processing {message}"); } Code signals: How, AsyncEventingBasicConsumer, add_Received, AsyncEventHandler, BasicDeliverEventArgs, Subscribe, factory.CreateConnection, connection.CreateModel, consumer.add_Received, model.BasicConsume, model.Close, connection.Clos...
message}"); await Task.Delay(250); Console.WriteLine($"End processing {message}"); } Code signals: How, AsyncEventingBasicConsumer, add_Received, AsyncEventHandler, BasicDeliverEventArgs, Subscribe, factory.CreateConnection, connection.CreateModel, consumer.add_Received, model.BasicConsume, model.Close, connection.Clos...
[ 0.000949859619140625, 0.00738525390625, -0.013916015625, 0.00372314453125, -0.00872802734375, 0.00075531005859375, 0.0034942626953125, 0.0091552734375, 0.0022125244140625, -0.01458740234375, -0.002532958984375, 0.005645751953125, 0.015869140625, 0.0086669921875, 0.007415771484375, 0.00...
[ 26008, 634, 217, 9598, 92, 4657, 5259, 24291, 3142, 1657, 40777, 18781, 93232, 152378, 9433, 214, 74157, 429, 51912, 28864, 26073, 7, 12, 11249, 62, 12654, 238, 192134, 63473, 1771, 11935, 11832, 56, 15190, 329, 135679, 603, 91692, 134148, ...
[ 0.26220703125, 0.114501953125, 0.04449462890625, 0.15673828125, 0.0496826171875, 0.1517333984375, 0.22705078125, 0.110595703125, 0.010833740234375, 0.008575439453125, 0.168212890625, 0.018218994140625, 0.1083984375, 0.17822265625, 0.1455078125, 0.0889892578125, 0.1629638671875, 0.1...
embed
10974077_c0
10974077
fsharp
0
Title: Flag variable not changing in F# Problem title: Flag variable not changing in F# Tags: f%23 Problem: Flag variable not changing in F# let tag:String = "+1" for str in readFile do let feature = str.Split [|' '; '\t'|] if feature.[8] = "0" then tag = "-1" else tag = "+1" printf "\n%s %s\n" feature.[8] tag The code...
Flag variable not changing in F# Flag variable not changing in F# f%23 Flag tag:String str.Split Flag variable not changing in F# The code changes tries to change the value of tag to "-1" if feature.[8] is 0, or "+1" otherwise. However the tag variable value remains "+1" throughout, irrespective of whatever the value f...
[ 0.0115966796875, 0.00118255615234375, 0.01397705078125, 0.01416015625, 0.004150390625, -0.0015716552734375, -0.006072998046875, 0.00836181640625, 0.003753662109375, 0.0419921875, 0.0177001953125, 0.019287109375, -0.0133056640625, -0.00726318359375, 0.003997802734375, -0.0108642578125, ...
[ 125726, 77336, 959, 151134, 563, 4904, 23, 1238, 3742, 7909, 71713, 7704, 31923, 4353, 18151, 65572, 1927, 15549, 34292, 47, 5759, 2174, 60213, 75064, 757, 21748, 120262, 47143, 87420, 177981, 35142, 678, 8781, 35509, 35431, 289, 63805 ]
[ 0.228759765625, 0.256103515625, 0.08795166015625, 0.1734619140625, 0.1474609375, 0.2093505859375, 0.027679443359375, 0.054412841796875, 0.115966796875, 0.167724609375, 0.0853271484375, 0.0770263671875, 0.022918701171875, 0.15185546875, 0.1309814453125, 0.1605224609375, 0.075927734375...
embed
47868856_c0
47868856
fsharp
0
Title: F# For each element in list a, apply function to elements in list b Problem title: F# For each element in list a, apply function to elements in list b Tags: f%23 Problem: F# For each element in list a, apply function to elements in list b get ("a2", 10) st val it : int * (string * (int * int)) list = Result (200...
F# For each element in list a, apply function to elements in list b F# For each element in list a, apply function to elements in list b f%23 Article Amount Price Desc Stock Order Status Result Error F# For each element in list a, apply function to elements in list b Given the following set of types representing a store...
[ 0.01397705078125, -0.0031280517578125, 0.0022430419921875, 0.005950927734375, 0.00408935546875, 0.004608154296875, 0.00019168853759765625, -0.01806640625, 0.023193359375, 0.01416015625, 0.0238037109375, 0.033935546875, -0.0255126953125, -0.017333984375, -0.01361083984375, -0.0133666992...
[ 563, 4904, 12638, 12830, 5303, 10, 59911, 32354, 47, 80854, 23, 876, 1238, 3742, 24241, 121147, 48025, 68320, 68804, 81206, 56504, 126684, 212059, 5423, 52895, 33636, 4343, 3444, 3249, 51776, 136, 30646, 33163, 329, 661, 34292, 61924, 35064, ...
[ 0.0743408203125, 0.1121826171875, 0.08868408203125, 0.1513671875, 0.1475830078125, 0.07421875, 0.15234375, 0.193115234375, 0.097900390625, 0.1483154296875, 0.032958984375, 0.112548828125, 0.0284271240234375, 0.0877685546875, 0.123779296875, 0.07781982421875, 0.129150390625, 0.17309...
embed
68202591_c0
68202591
fsharp
0
Title: Multiply a list and a list of lists Problem title: Multiply a list and a list of lists Tags: f%23 Problem: Multiply a list and a list of lists I'm trying to multiply the first element of list2 by every element of the first list in list1 and then multiply the second element of list2 by every element of the second...
Multiply a list and a list of lists Multiply a list and a list of lists f%23 Multiply list1 list2 List.map List.map2 Multiply a list and a list of lists I'm trying to multiply the first element of list2 by every element of the first list in list1 and then multiply the second element of list2 by every element of the sec...
[ -0.0098876953125, 0.0169677734375, -0.00811767578125, 0.0296630859375, -0.018798828125, 0.0262451171875, -0.006072998046875, 0.0031585693359375, 0.006622314453125, -0.00531005859375, 0.0093994140625, 0.005859375, 0.006256103515625, 0.01129150390625, -0.024169921875, 0.0033111572265625,...
[ 19335, 62479, 10, 5303, 136, 111, 7, 1238, 3949, 3742, 418, 304, 32036, 62346, 87, 31577, 6024, 5117, 12830, 390, 11907, 23, 17932, 5, 104851, 140992, 83, 110558, 963, 74, 427, 616, 2357, 1438, 496, 12465, 4572, 7221, 37842, 27489, 543,...
[ 0.178466796875, 0.2091064453125, 0.06402587890625, 0.25244140625, 0.1856689453125, 0.1268310546875, 0.0491943359375, 0.098876953125, 0.07958984375, 0.170166015625, 0.0894775390625, 0.1444091796875, 0.1451416015625, 0.13427734375, 0.002655029296875, 0.109619140625, 0.1695556640625, ...
embed
59096348_c0
59096348
fsharp
0
Title: Write a for loop that increments the index twice Problem title: Write a for loop that increments the index twice Tags: f%23 Problem: Write a for loop that increments the index twice In F# the documentation provides two standard for loops. The for to expression is the loop which provides an index, incremented or ...
Write a for loop that increments the index twice Write a for loop that increments the index twice f%23 Write Write a for loop that increments the index twice In F# the documentation provides two standard for loops. The for to expression is the loop which provides an index, incremented or decremented per item, depending...
[ 0.016357421875, -0.0113525390625, -0.015625, 0.003173828125, 0.002655029296875, 0.015869140625, -0.00469970703125, 0.0078125, 0.023681640625, -0.010009765625, 0.0272216796875, -0.0034027099609375, 0.0012664794921875, 0.0296630859375, 0.0150146484375, 0.001007080078125, 0.010803222656...
[ 601, 18781, 10, 100, 40956, 450, 158661, 7, 63262, 186351, 6, 1238, 3949, 3742, 563, 4904, 209806, 87344, 6626, 5570, 47, 125195, 707, 8, 7612, 1183, 117, 35735, 96819, 83, 7565, 188, 3444, 645, 10298, 53, 136, 77336, 41170, 20028, 1830...
[ 0.063232421875, 0.09295654296875, 0.0199127197265625, 0.170654296875, 0.2425537109375, 0.044677734375, 0.22412109375, 0.04058837890625, 0.2235107421875, 0.2476806640625, 0.008880615234375, 0.1043701171875, 0.05633544921875, 0.1326904296875, 0.103759765625, 0.169921875, 0.103637695312...
embed
21259766_c0
21259766
fsharp
0
Title: Converting a Union&lt;&#x27;a&gt; to a Union&lt;&#x27;b&gt; Problem title: Converting a Union&lt;&#x27;a&gt; to a Union&lt;&#x27;b&gt; Tags: generics, f%23, discriminated-union Problem: Converting a Union<'a> to a Union<'b> Say I have an F# discriminated union defined like so: type Union<'T> = | A of 'T | B | C ...
Converting a Union&lt;&#x27;a&gt; to a Union&lt;&#x27;b&gt; Converting a Union&lt;&#x27;a&gt; to a Union&lt;&#x27;b&gt; generics f%23 discriminated-union Converting Union Converting a Union<'a> to a Union<'b> Say I have an F# discriminated union defined like so: If I have a B of this where 'T is int for example, how wo...
[ -0.006195068359375, 0.01953125, 0.01495361328125, 0.00457763671875, -0.016357421875, -0.0145263671875, -0.0341796875, -0.002410888671875, 0.031005859375, 0.0218505859375, 0.01422119140625, 0.01171875, 0.0108642578125, 0.0130615234375, -0.0002918243408203125, 0.00003528594970703125, 0...
[ 1657, 814, 1916, 32528, 3768, 11, 5386, 47, 10, 189534, 7, 1238, 3742, 55970, 3674, 87046, 765, 563, 4904, 69941, 61924, 1884, 221, 335, 111, 903, 618, 83, 23, 18, 27781, 3642, 2806, 96760, 15700, 7440, 79315, 21373, 1284, 5941, 1286, ...
[ 0.05694580078125, 0.1473388671875, 0.060089111328125, 0.281982421875, 0.061676025390625, 0.0806884765625, 0.03631591796875, 0.111572265625, 0.0830078125, 0.1968994140625, 0.00079345703125, 0.0270843505859375, 0.0289154052734375, 0.232177734375, 0.1092529296875, 0.21630859375, 0.00796...
embed
5212570_c1
5212570
fsharp
1
to do this using implicit type construction? Which way should I do this? I'm pretty new to F# so if you could show the whole type with your changes in it I would greatly appreciate it. Thanks in advance, Bob P.S. If you have any other suggestions to make my class more in the functional style please feel free to commen...
to do this using implicit type construction? Which way should I do this? I'm pretty new to F# so if you could show the whole type with your changes in it I would greatly appreciate it. Thanks in advance, Bob P.S. If you have any other suggestions to make my class more in the functional style please feel free to commen...
[ -0.0101318359375, 0.0283203125, 0.0140380859375, 0.00836181640625, 0.0186767578125, -0.0034637451171875, -0.006072998046875, 0.00640869140625, 0.020751953125, 0.0174560546875, 0.019775390625, -0.0267333984375, 0.01214599609375, 0.0052490234375, -0.0177001953125, 0.0118408203125, -0.0...
[ 47, 54, 903, 17368, 165164, 10644, 50961, 3525, 563, 4904, 7639, 28271, 678, 65572, 77947, 5, 25027, 157666, 759, 18507, 123309, 20623, 6868, 28864, 26073, 7, 112140, 79858, 132887, 1052, 51459, 63928, 62, 59725, 9578, 63033, 297, 82084, 18...
[ 0.009429931640625, 0.07861328125, 0.119873046875, 0.0797119140625, 0.258056640625, 0.2379150390625, 0.228271484375, 0.004180908203125, 0.1141357421875, 0.194091796875, 0.1656494140625, 0.093017578125, 0.0282135009765625, 0.1973876953125, 0.010528564453125, 0.004791259765625, 0.016983...
embed
53483766_c0
53483766
fsharp
0
Title: Remove compiler warnings when using F# on .NET core Problem title: Remove compiler warnings when using F# on .NET core Tags: .net-core, f%23 Problem: Remove compiler warnings when using F# on .NET core When I build using .NET core ( dotnet build ) I get the following kinds of warning: warning NU1701: Package 'FS...
Remove compiler warnings when using F# on .NET core Remove compiler warnings when using F# on .NET core .net-core f%23 F# Remove NET Remove compiler warnings when using F# on .NET core When I build using .NET core ( dotnet build ) I get the following kinds of warning: However, the package does actually work correctly w...
[ -0.03466796875, -0.007293701171875, 0.0177001953125, 0.012451171875, -0.0023193359375, -0.004425048828125, -0.01275634765625, 0.01092529296875, -0.0130615234375, 0.0341796875, -0.002105712890625, 0.003021240234375, -0.0184326171875, 0.010986328125, 0.016357421875, 0.0091552734375, 0....
[ 181139, 9969, 34759, 1631, 6977, 17368, 563, 4904, 98, 17777, 56458, 1179, 30854, 1238, 3949, 3742, 3229, 45367, 5, 20633, 70, 25632, 8562, 111, 592, 33306, 98169, 20653, 4488, 26785, 678, 13452, 831, 30022 ]
[ 0.129638671875, 0.1571044921875, 0.16748046875, 0.134521484375, 0.07366943359375, 0.0693359375, 0.1300048828125, 0.1990966796875, 0.043060302734375, 0.1728515625, 0.1845703125, 0.1446533203125, 0.1458740234375, 0.054718017578125, 0.00421142578125, 0.1046142578125, 0.000885009765625, ...
embed
33390924_c0
33390924
fsharp
0
Title: Type mismatch expecting bool list but get int list Problem title: Type mismatch expecting bool list but get int list Tags: f%23 Problem: Type mismatch expecting bool list but get int list I am going filter an int list based on the 2 boundaries. To do it i used the List.filter in this way: let CountFilesInRange e...
Type mismatch expecting bool list but get int list Type mismatch expecting bool list but get int list f%23 Type List.filter CountFilesInRange Type mismatch expecting bool list but get int list I am going filter an int list based on the 2 boundaries. To do it i used the List.filter in this way: In the last line I have t...
[ -0.01068115234375, 0.00775146484375, -0.0009002685546875, -0.01080322265625, -0.006439208984375, 0.0108642578125, -0.01055908203125, -0.0015411376953125, 0.003326416015625, 0.033203125, 0.00921630859375, -0.0062255859375, 0.01251220703125, 0.0157470703125, 0.0252685546875, 0.0047912597...
[ 60457, 1239, 98753, 41206, 214, 142484, 5303, 1284, 2046, 23, 18, 1238, 3949, 3742, 32036, 120337, 108210, 174350, 4153, 1052, 51459, 46312, 35509, 116, 337, 6990, 10484, 4568, 13315, 903, 18499, 132887, 127167, 30022 ]
[ 0.1888427734375, 0.1185302734375, 0.259521484375, 0.1650390625, 0.043853759765625, 0.15087890625, 0.1817626953125, 0.07550048828125, 0.09521484375, 0.0911865234375, 0.1234130859375, 0.031982421875, 0.001678466796875, 0.10546875, 0.1883544921875, 0.176513671875, 0.1343994140625, 0.1...
embed
65828460_c0
65828460
fsharp
0
Title: F# - List Comprehension To Replace For-Loop Problem title: F# - List Comprehension To Replace For-Loop Tags: list-comprehension, for-loop, f%23 Problem: F# - List Comprehension To Replace For-Loop I am trying to replace an existing for-loop with an equivalent list-comprehension but I am struggling to get the exp...
F# - List Comprehension To Replace For-Loop F# - List Comprehension To Replace For-Loop list-comprehension for-loop f%23 List Comprehension Replace For-Loop SOQN System FSharp.Data Expected Output EntryPoint F# - List Comprehension To Replace For-Loop I am trying to replace an existing for-loop with an equivalent list-...
[ -0.01116943359375, -0.00110626220703125, -0.016357421875, 0.017333984375, 0.006072998046875, -0.004730224609375, 0.005645751953125, 0.017822265625, 0.0031890869140625, 0.0081787109375, 0.01226806640625, 0.0186767578125, 0.007293701171875, -0.0146484375, -0.01025390625, -0.0152587890625...
[ 563, 4904, 20, 32036, 142158, 3220, 6889, 717, 853, 23935, 1326, 9, 15363, 2146, 5303, 277, 4692, 100, 28354, 1238, 3742, 15969, 2737, 839, 12353, 93774, 3467, 254, 137989, 60075, 13, 13538, 357, 15123, 147534, 31577, 47, 91995, 144573, 6...
[ 0.139404296875, 0.1976318359375, 0.029876708984375, 0.2252197265625, 0.1856689453125, 0.2037353515625, 0.108154296875, 0.08251953125, 0.092041015625, 0.1566162109375, 0.21044921875, 0.049835205078125, 0.1458740234375, 0.1348876953125, 0.1993408203125, 0.0787353515625, 0.1834716796875...
embed
15505336_c0
15505336
fsharp
0
Title: How do you flatten a set while keeping the parent object? Problem title: How do you flatten a set while keeping the parent object? Tags: f%23 Problem: How do you flatten a set while keeping the parent object? In C# you would just use SelectMany which has an overload for holding onto the parent object. How do you...
How do you flatten a set while keeping the parent object? How do you flatten a set while keeping the parent object? f%23 How SelectMany How do you flatten a set while keeping the parent object? In C# you would just use SelectMany which has an overload for holding onto the parent object. How do you do the same thing in ...
[ 0.01031494140625, 0.028076171875, 0.0108642578125, -0.00347900390625, -0.01300048828125, -0.012451171875, -0.0027313232421875, -0.025634765625, 0.0201416015625, -0.0225830078125, 0.0003299713134765625, 0.0213623046875, 0.0162353515625, 0.019287109375, -0.010986328125, -0.00442504882812...
[ 11249, 49878, 510, 5423, 12960, 120260, 49129, 36746, 54, 1238, 3742, 51620, 12662, 53, 360, 313, 4904, 2806, 4527, 645, 63033, 104064, 98, 188, 5701, 23, 563, 3444, 8560, 89845, 7121, 30646, 756, 765, 61112, 29479, 29458, 150380, 43799, ...
[ 0.08544921875, 0.240234375, 0.239013671875, 0.224365234375, 0.1226806640625, 0.1763916015625, 0.171142578125, 0.1591796875, 0.0289306640625, 0.0660400390625, 0.10693359375, 0.1494140625, 0.1494140625, 0.16455078125, 0.0029296875, 0.0265350341796875, 0.1710205078125, 0.0130615234375...
embed
27135302_c0
27135302
fsharp
0
Title: Mix values from two List using recursion Problem title: Mix values from two List using recursion Tags: f%23, list Problem: Mix values from two List using recursion I want to mix values using two lists: List1 : [3; 2; 8; 1; 9; 3; 6] List2: [5; 7; 0] Output : [3; 5; 2; 7; 8; 0; 1; 9; 3; 6] I only found info about ...
Mix values from two List using recursion Mix values from two List using recursion f%23 list two recursion Mix List List1 List2 Output x::xs y::ys x::y mix:param Mix values from two List using recursion I want to mix values using two lists: I only found info about list with the same length what about this example when i...
[ -0.0031890869140625, 0.0272216796875, 0.016357421875, 0.00579833984375, 0.0078125, 0.018310546875, -0.016845703125, 0.0201416015625, 0.00872802734375, 0.00179290771484375, 0.023193359375, -0.002197265625, 0.01171875, 0.0211181640625, 0.0108642578125, -0.006744384765625, 0.00381469726...
[ 37286, 142424, 1295, 6626, 32036, 17368, 195625, 1830, 1238, 3949, 3742, 5303, 418, 304, 13538, 7077, 1022, 425, 7, 113, 4778, 53, 17664, 6276, 3444, 14037, 3004, 5701, 140909, 27781, 765, 71337, 15724 ]
[ 0.266357421875, 0.1929931640625, 0.07550048828125, 0.1824951171875, 0.216552734375, 0.09228515625, 0.2108154296875, 0.0875244140625, 0.07489013671875, 0.0775146484375, 0.1575927734375, 0.229736328125, 0.02593994140625, 0.0887451171875, 0.1279296875, 0.00933837890625, 0.02925109863281...
embed
37881956_c0
37881956
fsharp
0
Title: What does the javascript library they used in fsharp documents Problem title: What does the javascript library they used in fsharp documents Tags: javascript, f%23 Problem: What does the javascript library they used in fsharp documents When I visit some F# library documentation such FsUnit , they seems using som...
What does the javascript library they used in fsharp documents What does the javascript library they used in fsharp documents javascript f%23 What What does the javascript library they used in fsharp documents When I visit some F# library documentation such FsUnit , they seems using some awesome javascript library that...
[ -0.00958251953125, 0.00396728515625, -0.026611328125, -0.009765625, -0.0023956298828125, -0.005126953125, -0.0125732421875, 0.021240234375, -0.003631591796875, -0.020263671875, 0.004669189453125, -0.0272216796875, 0.000835418701171875, 0.01275634765625, 0.0027618408203125, -0.014648437...
[ 4865, 136951, 35773, 1294, 1836, 11814, 1238, 89280, 254, 60525, 14602, 3949, 3742, 19922, 563, 4904, 209806, 7, 85600, 18, 37202, 17368, 79929, 3229, 739, 814, 114669, 77336, 7426, 2037, 6305, 45831, 10644, 4677, 8781, 57143, 15190, 26499, ...
[ 0.03265380859375, 0.27294921875, 0.2222900390625, 0.1517333984375, 0.06591796875, 0.1265869140625, 0.11474609375, 0.2047119140625, 0.170166015625, 0.193603515625, 0.018096923828125, 0.041168212890625, 0.1351318359375, 0.0264129638671875, 0.09075927734375, 0.1087646484375, 0.074768066...
embed
39283499_c1
39283499
fsharp
1
b03f5f7f11d50a3a, RProvider.RInteropInternal.convertToR, Invoke, Tomas, FSharp.RProvider, RInterop.fs:line, RProvider.RInteropInternal.REngine.SetValue, REngine, Object, FSharpOption, RProvider.RInteropInternal.toR, RProvider.RInterop.passArg, List, RProvider.RInterop.argList, GenerateNext, IEnumerable, Microsoft.FSha...
b03f5f7f11d50a3a, RProvider.RInteropInternal.convertToR, Invoke, Tomas, FSharp.RProvider, RInterop.fs:line, RProvider.RInteropInternal.REngine.SetValue, REngine, Object, FSharpOption, RProvider.RInteropInternal.toR, RProvider.RInterop.passArg, List, RProvider.RInterop.argList, GenerateNext, IEnumerable, Microsoft.FSha...
[ 0.01507568359375, 0.01556396484375, 0.0142822265625, 0.0118408203125, -0.0186767578125, 0.009765625, -0.00506591796875, -0.007537841796875, 0.024169921875, 0.006011962890625, 0.000789642333984375, 0.0191650390625, 0.01080322265625, 0.01275634765625, 0.024658203125, 0.00604248046875, ...
[ 876, 9513, 420, 1662, 71, 2525, 11, 363, 4, 80026, 83220, 820, 5, 1052, 44851, 2146, 6236, 2271, 11549, 7763, 360, 23253, 13, 92858, 93774, 3467, 254, 627, 17447, 12, 2256, 11766, 449, 1212, 126, 856, 50770, 9069, 134549, 39029, 188, ...
[ 0.07373046875, 0.104248046875, 0.037506103515625, 0.039581298828125, 0.046356201171875, 0.0950927734375, 0.098388671875, 0.0738525390625, 0.0672607421875, 0.072265625, 0.169921875, 0.2353515625, 0.0633544921875, 0.1590576171875, 0.1181640625, 0.197265625, 0.06280517578125, 0.061859...
embed
55250400_c0
55250400
fsharp
0
Title: How to match Nullable Date parameter in f# Problem title: How to match Nullable Date parameter in f# Tags: f%23, nullable Problem: How to match Nullable Date parameter in f# Learning F#, can't find the answer to this... I'd like to handle case where a Nullable parameter (DateTime? in the original c#) is null, bu...
How to match Nullable Date parameter in f# How to match Nullable Date parameter in f# f%23 nullable How Nullable Date ht:Hashtable key:string value:Nullable DateTime ht.Add How to match Nullable Date parameter in f# Learning F#, can't find the answer to this... I'd like to handle case where a Nullable parameter (DateTi...
[ -0.0233154296875, -0.006683349609375, 0.0181884765625, -0.0179443359375, -0.01446533203125, -0.02099609375, 0.0128173828125, 0.00046539306640625, 0.0040283203125, 0.0086669921875, 0.01239013671875, 0.0011444091796875, -0.004486083984375, 0.010498046875, 0.00799560546875, -0.02624511718...
[ 11249, 47, 14858, 27786, 2661, 25512, 171859, 23, 1238, 4904, 3949, 3742, 9229, 9703, 6495, 1495, 22819, 22799, 91693, 34292, 839, 20446, 70059, 4028, 114344, 563, 34831, 7225, 86291, 32, 7311, 56574, 18499, 14602, 959, 765, 237, 10, 27798,...
[ 0.0792236328125, 0.07269287109375, 0.2279052734375, 0.2415771484375, 0.23095703125, 0.1805419921875, 0.2139892578125, 0.0767822265625, 0.1392822265625, 0.2099609375, 0.0225067138671875, 0.13720703125, 0.216796875, 0.03582763671875, 0.090087890625, 0.0153656005859375, 0.1673583984375,...
embed
74282716_c0
74282716
fsharp
0
Title: How is the value extracted from a Task in F#? Problem title: How is the value extracted from a Task in F#? Tags: f%23, async-await Problem: How is the value extracted from a Task in F#? If I make this call in F# let mailServers = task{ let! ms = lookupClient.QueryAsync(domain, QueryType.MX, QueryClass.IN, Cancel...
How is the value extracted from a Task in F#? How is the value extracted from a Task in F#? f%23 async-await a How Task lookupClient.QueryAsync QueryType.MX QueryClass.IN CancellationToken.None IDnsQueryResponse How is the value extracted from a Task in F#? If I make this call in F# mailServers is a Task<IDnsQueryRespo...
[ -0.0000782012939453125, 0.01080322265625, 0.0196533203125, 0.0029449462890625, 0.0216064453125, 0.00433349609375, -0.01251220703125, 0.022705078125, -0.00135040283203125, -0.0169677734375, 0.01434326171875, 0.031982421875, -0.014892578125, -0.01385498046875, 0.018310546875, 0.016723632...
[ 11249, 83, 34292, 125663, 297, 1295, 9598, 92, 23, 563, 4904, 70, 10, 1238, 3742, 12654, 238, 7978, 217, 150, 58836, 196707, 88939, 140803, 8852, 80392, 1098, 11338, 1779, 41732, 94399, 11782, 6648, 193348, 7146, 2046, 99, 1294, 137565, 2...
[ 0.1043701171875, 0.0236053466796875, 0.2305908203125, 0.20947265625, 0.068359375, 0.124755859375, 0.20263671875, 0.1527099609375, 0.05145263671875, 0.1488037109375, 0.2171630859375, 0.0213470458984375, 0.01446533203125, 0.07958984375, 0.083984375, 0.1357421875, 0.0374755859375, 0.1...
embed
7485148_c0
7485148
fsharp
0
Title: Parsing delimiter-separated values in F# Problem title: Parsing delimiter-separated values in F# Tags: f%23, text-parsing, parsing, .net Problem: Parsing delimiter-separated values in F# I am parsing string records in this form: description: double/double/double for ex.: item description: 0.4/8/-24.66 Each recor...
Parsing delimiter-separated values in F# Parsing delimiter-separated values in F# f%23 text-parsing parsing .net Parsing MyObj Parsing delimiter-separated values in F# I am parsing string records in this form: for ex.: Each record should result in an object: I could easily do this with a regular expression and a proced...
[ -0.00311279296875, -0.0191650390625, -0.00970458984375, 0.00592041015625, 0.0054931640625, 0.020751953125, 0.0107421875, 0.02490234375, 0.02783203125, -0.01300048828125, -0.007537841796875, 0.000056743621826171875, 0.0167236328125, -0.023193359375, -0.01220703125, -0.004730224609375, ...
[ 2392, 6953, 8, 93343, 56, 184, 6276, 3674, 142424, 563, 4904, 1238, 3742, 7986, 2500, 366, 1179, 2646, 46471, 170, 79315, 115923, 903, 3173, 98423, 17164, 5608, 16750, 142, 36746, 5809, 72546, 678, 20324, 125195, 59158, 51515, 18151, 18499,...
[ 0.1505126953125, 0.0799560546875, 0.1090087890625, 0.225341796875, 0.1009521484375, 0.06689453125, 0.1597900390625, 0.06024169921875, 0.1673583984375, 0.1290283203125, 0.2099609375, 0.07525634765625, 0.09820556640625, 0.044464111328125, 0.11376953125, 0.1669921875, 0.070556640625, ...
embed
4470366_c0
4470366
fsharp
0
Title: Using all cases of union type F# Problem title: Using all cases of union type F# Tags: f%23 Problem: Using all cases of union type F# This is very linked to the question here How to enumerate an enum/type in F# . I define a union type and then I need to use all the possible cases of the type in static method. Fo...
Using all cases of union type F# Using all cases of union type F# f%23 Using Interests Music Books Movies GetValue GetSeqValues Seq.map Using all cases of union type F# This is very linked to the question here How to enumerate an enum/type in F# . I define a union type and then I need to use all the possible cases of t...
[ 0.00037384033203125, -0.01708984375, 0.00445556640625, 0.00185394287109375, -0.0113525390625, -0.0181884765625, -0.0084228515625, 0.0031280517578125, -0.0033416748046875, -0.0205078125, 0.004913330078125, -0.005584716796875, 0.0103759765625, 0.0238037109375, 0.01025390625, -0.001281738...
[ 345, 6953, 756, 50218, 69941, 10644, 563, 4904, 1238, 3949, 3742, 66348, 933, 13703, 83266, 83896, 20779, 856, 50770, 4233, 864, 42272, 503, 62346, 4552, 3126, 189085, 67, 22, 316, 64, 50986, 23, 6, 61924, 136, 3871, 4527, 70, 7722, 201...
[ 0.0992431640625, 0.054840087890625, 0.1768798828125, 0.2164306640625, 0.213134765625, 0.19970703125, 0.1427001953125, 0.218994140625, 0.090576171875, 0.0254364013671875, 0.115234375, 0.1458740234375, 0.0899658203125, 0.08251953125, 0.10504150390625, 0.0872802734375, 0.0775146484375, ...
embed
33148526_c0
33148526
fsharp
0
Title: higher-order-function toList Problem title: higher-order-function toList Tags: f%23-interactive, f%23 Problem: higher-order-function toList How can i define a function toList equvivalent to set.toList by using set.fold or set.foldback? I have made this function, but im very sure it's not correct. let toList pred...
higher-order-function toList higher-order-function toList f%23-interactive f%23 List.foldBack item::state higher-order-function toList How can i define a function toList equvivalent to set.toList by using set.fold or set.foldback? I have made this function, but im very sure it's not correct. Any tips/help?
[ -0.00142669677734375, 0.00008058547973632812, -0.0062255859375, -0.01434326171875, -0.0147705078125, 0.005645751953125, -0.005889892578125, 0.032958984375, 0.005279541015625, -0.03125, 0.010498046875, 0.024658203125, -0.005401611328125, -0.005828857421875, 0.01055908203125, -0.00482177...
[ 77546, 80596, 137175, 47, 154663, 1238, 27495, 10433, 71232, 3742, 32036, 42822, 152470, 35735, 61340, 11249, 831, 17, 61924, 32354, 28, 54517, 14, 85540, 5423, 188, 17368, 5, 707, 12620, 7228, 4552, 9077, 959, 26785, 6305, 73866 ]
[ 0.1455078125, 0.203857421875, 0.2003173828125, 0.2230224609375, 0.273681640625, 0.04425048828125, 0.076416015625, 0.0643310546875, 0.065185546875, 0.0689697265625, 0.183349609375, 0.19091796875, 0.217529296875, 0.148681640625, 0.13720703125, 0.0158843994140625, 0.0293426513671875, ...
embed
66637131_c0
66637131
fsharp
0
Title: F# JsonProvider type fails to parse decimal Problem title: F# JsonProvider type fails to parse decimal Tags: f%23-data, f%23, type-providers Problem: F# JsonProvider type fails to parse decimal Code signals: System.Exception, JsonProvider, FSharp.Data, FSharp.Data.JsonProvider, someJsonType.Parse, a.Point, b.Poi...
F# JsonProvider type fails to parse decimal F# JsonProvider type fails to parse decimal f%23-data f%23 type-providers System.Exception JsonProvider FSharp.Data FSharp.Data.JsonProvider someJsonType.Parse a.Point b.Point c.Point Expecting Decimal Microsoft.FSharp.Core.PrintfModule.PrintFormatToStringThenFail Invoke _wor...
[ 0.0179443359375, 0.0274658203125, -0.0169677734375, 0.0106201171875, -0.001434326171875, 0.0167236328125, -0.0023193359375, 0.0037994384765625, -0.0133056640625, 0.0238037109375, -0.025634765625, 0.00049591064453125, -0.00072479248046875, -0.000934600830078125, 0.022705078125, 0.009399...
[ 563, 4904, 821, 1681, 177997, 62160, 10644, 35782, 366, 184, 32380, 2749, 1238, 167218, 27495, 10135, 3742, 93136, 14202, 12353, 19279, 63928, 93774, 3467, 254, 137989, 1375, 3060, 196707, 28636, 147534, 60075, 24762, 49132, 7244, 50886, 112079...
[ 0.07220458984375, 0.14453125, 0.10406494140625, 0.14111328125, 0.1312255859375, 0.05523681640625, 0.1414794921875, 0.130859375, 0.1265869140625, 0.043701171875, 0.1776123046875, 0.129150390625, 0.0762939453125, 0.0087890625, 0.10101318359375, 0.064208984375, 0.0843505859375, 0.1318...
embed
14791674_c0
14791674
fsharp
0
Title: No project for &quot;F# Application&quot; in VS Express 2012 for Web Problem title: No project for &quot;F# Application&quot; in VS Express 2012 for Web Tags: f%23 Problem: No project for "F# Application" in VS Express 2012 for Web I installed the F# Tools for Visual Studio Express 2012 for Web . When I select N...
No project for &quot;F# Application&quot; in VS Express 2012 for Web No project for &quot;F# Application&quot; in VS Express 2012 for Web f%23 Application Express Web No project for "F# Application" in VS Express 2012 for Web I installed the F# Tools for Visual Studio Express 2012 for Web . When I select New Project I ...
[ -0.00799560546875, 0.01409912109375, -0.006866455078125, -0.004730224609375, -0.021240234375, 0.0255126953125, -0.00323486328125, 0.0023193359375, 0.0169677734375, 0.0185546875, 0.00732421875, -0.0458984375, -0.0017852783203125, 0.00482177734375, 0.0133056640625, -0.0096435546875, 0....
[ 438, 13452, 100, 919, 4904, 104921, 44160, 25129, 1324, 4002, 23, 1238, 3742, 20600, 563, 119296, 73372, 22968, 36849, 2356, 27331, 84751, 1957, 5303, 110934, 103835, 183447, 91067, 12877, 27958, 17596, 31745, 37700, 157666, 20949 ]
[ 0.0733642578125, 0.181640625, 0.0175323486328125, 0.1334228515625, 0.2301025390625, 0.20263671875, 0.170654296875, 0.1905517578125, 0.16015625, 0.1199951171875, 0.0228424072265625, 0.019561767578125, 0.008758544921875, 0.04010009765625, 0.138427734375, 0.15087890625, 0.1556396484375,...
embed
5643120_c0
5643120
fsharp
0
Title: F# programmatically running .fsx script file Problem title: F# programmatically running .fsx script file Tags: scripting, f%23, f%23-interactive Problem: F# programmatically running .fsx script file I'm sure this must be something really easy, but I can't seem to make it work. Let's say I have an .fsx script fil...
F# programmatically running .fsx script file F# programmatically running .fsx script file scripting f%23 f%23-interactive F# programmatically running .fsx script file I'm sure this must be something really easy, but I can't seem to make it work. Let's say I have an .fsx script file and want to cause it to be executed p...
[ -0.00003814697265625, -0.003997802734375, 0.005706787109375, 0.0177001953125, -0.0084228515625, 0.0137939453125, 0.0024566650390625, -0.0181884765625, -0.003082275390625, -0.04150390625, 0.01129150390625, 0.0498046875, -0.013916015625, -0.01007080078125, 0.0234375, 0.007171630859375, ...
[ 563, 4904, 11720, 18, 71407, 51042, 5, 17447, 425, 26499, 11435, 1238, 3742, 27495, 10433, 71232, 8110, 6183, 23468, 831, 48903, 4488, 10842, 765, 3444, 47, 22304, 442, 71924, 297, 214, 11344, 27781, 51339, 8781, 106117, 171763, 67, 2367, ...
[ 0.1400146484375, 0.219970703125, 0.2080078125, 0.1123046875, 0.1219482421875, 0.1690673828125, 0.040679931640625, 0.1834716796875, 0.216796875, 0.20849609375, 0.150634765625, 0.0718994140625, 0.042999267578125, 0.04022216796875, 0.102783203125, 0.1622314453125, 0.0367431640625, 0.0...
embed
3713233_c0
3713233
fsharp
0
Title: F# Type declaration possible ala Haskell? Problem title: F# Type declaration possible ala Haskell? Tags: f%23, haskell Problem: F# Type declaration possible ala Haskell? I've looked a number of sources: it seems not possible to declare a type definition in F# ala Haskell: ' haskell type def: myFunc :: int -> int...
F# Type declaration possible ala Haskell? F# Type declaration possible ala Haskell? f%23 haskell Type Haskell F# Type declaration possible ala Haskell? I've looked a number of sources: it seems not possible to declare a type definition in F# ala Haskell: I'd like to use this type-def style in F#--FSI is happy to echo b...
[ 0.01446533203125, 0.01507568359375, -0.00262451171875, 0.0042724609375, -0.0113525390625, -0.01373291015625, -0.00567626953125, -0.0025634765625, -0.0093994140625, -0.000518798828125, 0.00799560546875, -0.0208740234375, -0.01123046875, 0.006622314453125, 0.0025177001953125, 0.007995605...
[ 563, 4904, 60457, 21635, 1363, 7722, 15670, 20625, 142508, 32, 1238, 3949, 3742, 1556, 97264, 959, 159978, 10644, 80934, 23, 1884, 4527, 903, 112, 420, 20623, 9902, 17723, 3089, 71, 143726, 8, 138256, 237, 3917, 33022 ]
[ 0.147216796875, 0.1929931640625, 0.2423095703125, 0.1805419921875, 0.02593994140625, 0.1285400390625, 0.1357421875, 0.142822265625, 0.2197265625, 0.01788330078125, 0.09234619140625, 0.031036376953125, 0.08984375, 0.1151123046875, 0.0010986328125, 0.0276336669921875, 0.1492919921875, ...
embed
14732232_c0
14732232
fsharp
0
Title: How can I match an empty list of tuples? Problem title: How can I match an empty list of tuples? Tags: tuples, list, f%23 Problem: How can I match an empty list of tuples? The following function gives a compilation error at the point I try to match an empty list: let rec tuplesToList (acc: int list) (remaining: ...
How can I match an empty list of tuples? How can I match an empty list of tuples? tuples list f%23 How How can I match an empty list of tuples? The following function gives a compilation error at the point I try to match an empty list: The error is: This works fine when remaining is a simple list of int s rather than t...
[ -0.005401611328125, 0.0157470703125, 0.01300048828125, 0.00144195556640625, -0.006744384765625, -0.010498046875, -0.016357421875, -0.003936767578125, 0.0166015625, -0.0064697265625, 0.0159912109375, -0.0140380859375, -0.003875732421875, 0.008056640625, 0.004425048828125, 0.000759124755...
[ 11249, 831, 87, 14858, 201505, 5303, 370, 99726, 142, 111, 1238, 3949, 3742, 25632, 32354, 98352, 18499, 6275, 9790, 43240, 5885, 47143, 8781, 23, 18, 91, 43257 ]
[ 0.0654296875, 0.07427978515625, 0.067138671875, 0.25048828125, 0.2342529296875, 0.22314453125, 0.1412353515625, 0.226806640625, 0.008270263671875, 0.0267181396484375, 0.06939697265625, 0.0289154052734375, 0.119873046875, 0.0217437744140625, 0.10986328125, 0.14697265625, 0.14221191406...
embed
8931221_c0
8931221
fsharp
0
Title: Can someone give an example of using chainl1 in FParsec? Problem title: Can someone give an example of using chainl1 in FParsec? Tags: fparsec, f%23 Problem: Can someone give an example of using chainl1 in FParsec? This is the most puzzling combinator in all of FParsec... http://www.quanttec.com/fparsec/referenc...
Can someone give an example of using chainl1 in FParsec? Can someone give an example of using chainl1 in FParsec? fparsec f%23 chainl1 Can FParsec Can someone give an example of using chainl1 in FParsec? This is the most puzzling combinator in all of FParsec... http://www.quanttec.com/fparsec/reference/primitives.html#...
[ 0.007568359375, 0.0115966796875, -0.006622314453125, 0.03662109375, -0.007171630859375, 0.0084228515625, 0.01318359375, -0.01220703125, -0.00439453125, -0.041259765625, 0.0034942626953125, 0.0120849609375, 0.00994873046875, 0.00732421875, 0.008056640625, 0.00110626220703125, -0.00866...
[ 27781, 17368, 121293, 141, 418, 23, 563, 28636, 39797, 1238, 2500, 3949, 3742, 4171, 8337, 70, 2684, 2638, 13894, 2069, 22321, 1290, 44764, 14656, 420, 239879, 58460, 42991, 39, 27417, 115097, 3642, 4527, 442, 209806, 25737, 107, 48650, 584...
[ 0.174072265625, 0.1014404296875, 0.2110595703125, 0.2015380859375, 0.168701171875, 0.0243072509765625, 0.10040283203125, 0.144775390625, 0.215087890625, 0.057525634765625, 0.110107421875, 0.0143280029296875, 0.1524658203125, 0.0489501953125, 0.00787353515625, 0.011962890625, 0.075622...
embed
6058023_c0
6058023
fsharp
0
Title: is there a way to perform a look-ahead with fslex/Lexing.LexBuffer Problem title: is there a way to perform a look-ahead with fslex/Lexing.LexBuffer Tags: f%23, lexer Problem: is there a way to perform a look-ahead with fslex/Lexing.LexBuffer I'm using fslex and in one of my tokenizer rules I need to look for th...
is there a way to perform a look-ahead with fslex/Lexing.LexBuffer is there a way to perform a look-ahead with fslex/Lexing.LexBuffer f%23 lexer Lexing.LexBuffer is there a way to perform a look-ahead with fslex/Lexing.LexBuffer I'm using fslex and in one of my tokenizer rules I need to look for the next char so I can ...
[ 0.00946044921875, 0.0167236328125, 0.01544189453125, 0.037841796875, -0.00927734375, -0.00063323974609375, 0.0162353515625, 0.0101318359375, -0.01263427734375, -0.0079345703125, 0.0250244140625, 0.0224609375, -0.005828857421875, -0.0206298828125, 0.006378173828125, -0.0198974609375, ...
[ 83, 2685, 10, 3917, 51339, 6713, 9, 11, 31251, 678, 1238, 7, 74070, 5267, 425, 214, 7235, 18234, 3742, 95, 34058, 99078, 47, 1098, 52825, 91736, 100, 11737, 21441, 28288, 21342, 18588, 84694, 7279, 51, 50777, 2633, 96362, 79986, 31344, ...
[ 0.0214996337890625, 0.0192413330078125, 0.056884765625, 0.0780029296875, 0.1519775390625, 0.180419921875, 0.03839111328125, 0.092529296875, 0.2169189453125, 0.040618896484375, 0.09771728515625, 0.05804443359375, 0.2188720703125, 0.078857421875, 0.131591796875, 0.08349609375, 0.124389...
embed
23035684_c0
23035684
fsharp
0
Title: Debugging structural equality &quot;problems&quot; Problem title: Debugging structural equality &quot;problems&quot; Tags: equality, f%23 Problem: Debugging structural equality "problems" I have e : Expr and a function that traverses and mutates the expression, let's name it transform . I apply transform twice i...
Debugging structural equality &quot;problems&quot; Debugging structural equality &quot;problems&quot; equality f%23 Debugging Expr Debugging structural equality "problems" I have e : Expr and a function that traverses and mutates the expression, let's name it transform . I apply transform twice in e and get e1 and e2 ....
[ 0.0177001953125, 0.00909423828125, 0.02001953125, 0.02880859375, 0.024658203125, -0.0010223388671875, -0.00958251953125, 0.00225830078125, 0.00994873046875, 0.0264892578125, 0.0299072265625, 0.0291748046875, 0.0205078125, 0.0125732421875, 0.023193359375, 0.01031494140625, -0.00163269...
[ 262, 978, 36659, 118990, 141, 28, 161789, 38953, 7, 1238, 3949, 3742, 60075, 42, 32354, 37317, 136, 31158, 90, 125195, 9351, 27198, 59911, 186351, 2046, 418, 304, 1301, 55640, 163, 4426, 2740, 8781, 16401, 8, 85779, 903, 4537, 19537, 4358...
[ 0.1251220703125, 0.206787109375, 0.04510498046875, 0.2099609375, 0.0577392578125, 0.12451171875, 0.2481689453125, 0.185791015625, 0.05889892578125, 0.08502197265625, 0.0660400390625, 0.1539306640625, 0.1375732421875, 0.162109375, 0.1514892578125, 0.1341552734375, 0.09423828125, 0.1...
embed
65174768_c0
65174768
fsharp
0
Title: How to add a default value in record type? - F# Problem title: How to add a default value in record type? - F# Tags: c%23, f%23 Problem: How to add a default value in record type? - F# I was wondering if it is possible to add an initial value to the property of a type record. type ToDo = { Title : string Descrip...
How to add a default value in record type? - F# How to add a default value in record type? - F# c%23 f%23 How ToDo Title Description Done Just How to add a default value in record type? - F# I was wondering if it is possible to add an initial value to the property of a type record. Something like this: That is, I want ...
[ -0.00144195556640625, 0.0177001953125, 0.0191650390625, 0.00927734375, -0.0103759765625, -0.0341796875, -0.009033203125, -0.005157470703125, 0.00250244140625, 0.0174560546875, 0.006072998046875, 0.0177001953125, 0.01904296875, 0.039794921875, -0.00168609619140625, 0.004364013671875, ...
[ 11249, 47, 15190, 10, 114977, 34292, 23, 17164, 10644, 563, 4904, 3742, 717, 8331, 48962, 70643, 984, 86, 9563, 149016, 83, 7722, 142, 61475, 57266, 1884, 903, 3444, 54, 9844, 313, 468 ]
[ 0.086669921875, 0.0782470703125, 0.1771240234375, 0.0667724609375, 0.280517578125, 0.2117919921875, 0.060821533203125, 0.2137451171875, 0.21337890625, 0.062744140625, 0.16357421875, 0.046875, 0.0770263671875, 0.05621337890625, 0.1507568359375, 0.163818359375, 0.04071044921875, 0.02...
embed
803055_c0
803055
fsharp
0
Title: How do I do convolution in F#? Problem title: How do I do convolution in F#? Tags: signal-processing, f%23, convolution Problem: How do I do convolution in F#? I would like convolve a discrete signal with a discrete filter. The signal and filter is sequences of float in F#. The only way I can figure out how to d...
How do I do convolution in F#? How do I do convolution in F#? signal-processing f%23 convolution How How do I do convolution in F#? I would like convolve a discrete signal with a discrete filter. The signal and filter is sequences of float in F#. The only way I can figure out how to do it is with two nested for loops a...
[ -0.00020122528076171875, 0.025390625, -0.002777099609375, -0.01953125, -0.0146484375, -0.00543212890625, -0.01434326171875, 0.017822265625, 0.0181884765625, -0.0341796875, 0.0106201171875, -0.00127410888671875, 0.0079345703125, 0.027099609375, -0.001251220703125, 0.00885009765625, 0....
[ 11249, 54, 87, 158, 137089, 23, 563, 4904, 26073, 63923, 1238, 3949, 3742, 2806, 1884, 3784, 272, 81604, 13, 678, 46312, 136, 26513, 21917, 257, 4734, 3917, 26366, 3642, 442, 6626, 8512, 100, 40956, 842, 22819, 10298, 4343, 16750, 12319, ...
[ 0.0919189453125, 0.11474609375, 0.054443359375, 0.153564453125, 0.28369140625, 0.0880126953125, 0.1583251953125, 0.228759765625, 0.1885986328125, 0.06298828125, 0.1007080078125, 0.013702392578125, 0.1162109375, 0.0274505615234375, 0.0794677734375, 0.195556640625, 0.153564453125, 0....
embed
9291716_c0
9291716
fsharp
0
Title: Accidentally redefined int64 in F# interactive Problem title: Accidentally redefined int64 in F# interactive Tags: f%23 Problem: Accidentally redefined int64 in F# interactive Maybe I'm missing something obvious. In the F# interpreter, some things works as I expect: > 10;; val it : int = 10 > int 10;; val it : i...
Accidentally redefined int64 in F# interactive Accidentally redefined int64 in F# interactive f%23 Accidentally int64 fun:clo Accidentally redefined int64 in F# interactive Maybe I'm missing something obvious. In the F# interpreter, some things works as I expect: However, some things do not. I would expect the followin...
[ -0.002716064453125, -0.00628662109375, 0.0196533203125, 0.000522613525390625, 0.000530242919921875, -0.00592041015625, -0.0159912109375, -0.00482177734375, -0.0211181640625, -0.0294189453125, -0.005706787109375, 0.015380859375, -0.0133056640625, 0.01123046875, 0.0380859375, 0.006408691...
[ 189797, 25958, 15265, 5983, 23, 18, 13307, 563, 4904, 212398, 1238, 3742, 7477, 63499, 297, 83425, 132283, 162520, 360, 29481, 56, 3060, 8966, 43240, 237, 41206, 33306, 54, 959, 2806, 25632, 30646, 209, 186, 117176, 47, 757, 11249, 87, 96...
[ 0.154541015625, 0.051666259765625, 0.11474609375, 0.1461181640625, 0.1182861328125, 0.157470703125, 0.296630859375, 0.1337890625, 0.212890625, 0.1683349609375, 0.0804443359375, 0.119140625, 0.1455078125, 0.20703125, 0.00054931640625, 0.0142822265625, 0.0406494140625, 0.073913574218...
embed
17902479_c0
17902479
fsharp
0
Title: Simple 3D box-to-polygon collision Problem title: Simple 3D box-to-polygon collision Tags: f%23, .net, collision-detection Problem: Simple 3D box-to-polygon collision I have a 3D environment with pseudorandomly generated terrain (which is made up of triangles). I want to simply detect if a 3D bounding box and on...
Simple 3D box-to-polygon collision Simple 3D box-to-polygon collision f%23 .net collision-detection Simple Simple 3D box-to-polygon collision I have a 3D environment with pseudorandomly generated terrain (which is made up of triangles). I want to simply detect if a 3D bounding box and one of the terrain triangles have ...
[ -0.001312255859375, -0.005828857421875, -0.019287109375, 0.007537841796875, -0.0252685546875, 0.00848388671875, 0.0216064453125, -0.01141357421875, 0.005706787109375, -0.000698089599609375, 0.0233154296875, -0.01080322265625, 0.0007171630859375, 0.0030975341796875, -0.00921630859375, 0...
[ 60552, 138, 397, 16530, 188, 135545, 6126, 61770, 6889, 1238, 3949, 3742, 1179, 3667, 58994, 65998, 74189, 46258, 139392, 70665, 7228, 1257, 111, 1927, 109217, 3444, 47, 42856, 96391, 2174, 20802, 33770, 136, 1632, 765, 48141, 3642, 831, 54...
[ 0.15234375, 0.15283203125, 0.126953125, 0.2021484375, 0.146484375, 0.1048583984375, 0.2017822265625, 0.2078857421875, 0.1158447265625, 0.0236053466796875, 0.001312255859375, 0.04803466796875, 0.12548828125, 0.1365966796875, 0.10015869140625, 0.101318359375, 0.09295654296875, 0.1029...
embed
13106831_c1
13106831
fsharp
1
.iter, Seq.map, KeyValue, Map.ofSeq, WebRequest.Create, HttpWebRequest, rq.Method, List.iter, rq.Headers.Add, Some, rq.ContentType, rq.GetRequestStream, AsyncWrite, None, rq.AsyncGetResponse, HttpWebResponse, webResponse.StatusCode, webResponse.GetResponseStream, webResponse.ContentLength, int32, TODO, stream.AsyncRead...
.iter, Seq.map, KeyValue, Map.ofSeq, WebRequest.Create, HttpWebRequest, rq.Method, List.iter, rq.Headers.Add, Some, rq.ContentType, rq.GetRequestStream, AsyncWrite, None, rq.AsyncGetResponse, HttpWebResponse, webResponse.StatusCode, webResponse.GetResponseStream, webResponse.ContentLength, int32, TODO, stream.AsyncRead...
[ -0.0069580078125, 0.0225830078125, 0.004669189453125, -0.00008153915405273438, 0.01171875, 0.009033203125, 0.00872802734375, -0.01031494140625, -0.00421142578125, 0.0113525390625, 0.0018310546875, 0.025634765625, -0.005889892578125, -0.005706787109375, 0.0034942626953125, -0.0050964355...
[ 6, 5, 16840, 4, 503, 864, 62346, 26824, 856, 50770, 42719, 4390, 4233, 4002, 4332, 75616, 63784, 2182, 3062, 254, 30474, 1690, 78572, 7352, 32036, 13025, 11, 14202, 4028, 31384, 25352, 196707, 126, 115061, 12654, 18781, 438, 94399, 1467, ...
[ 0.0200042724609375, 0.14892578125, 0.260986328125, 0.061492919921875, 0.077392578125, 0.1844482421875, 0.1923828125, 0.1295166015625, 0.1478271484375, 0.182373046875, 0.1787109375, 0.1563720703125, 0.05267333984375, 0.103759765625, 0.062255859375, 0.175537109375, 0.1131591796875, 0...
embed
47658374_c0
47658374
fsharp
0
Title: ContainsKey returns unit and not bool? Problem title: ContainsKey returns unit and not bool? Tags: f%23 Problem: ContainsKey returns unit and not bool? It's odd to me that the following code throws a compile time error. I'm not sure why ContainsKey is returning unit. The documentation says it returns bool. open ...
ContainsKey returns unit and not bool? ContainsKey returns unit and not bool? f%23 ContainsKey System.Collections.Generic Dictionary mydict.ContainsKey ContainsKey returns unit and not bool? It's odd to me that the following code throws a compile time error. I'm not sure why ContainsKey is returning unit. The documenta...
[ -0.0028839111328125, 0.016357421875, 0.01483154296875, -0.0218505859375, -0.0023193359375, -0.0145263671875, 0.018310546875, -0.0032958984375, -0.0186767578125, 0.036865234375, 0.0030670166015625, 0.034912109375, -0.002838134765625, -0.001617431640625, 0.0240478515625, 0.00204467773437...
[ 34749, 5425, 162429, 30646, 25072, 959, 142484, 7, 136, 1238, 3742, 12353, 78457, 8996, 135932, 147638, 759, 61669, 11935, 25500, 70270, 25632, 18151, 104250, 9969, 1340, 1733, 18499, 214, 209806, 132283 ]
[ 0.2281494140625, 0.18408203125, 0.28515625, 0.1962890625, 0.245849609375, 0.107666015625, 0.1849365234375, 0.06011962890625, 0.0209503173828125, 0.0450439453125, 0.1109619140625, 0.06561279296875, 0.05938720703125, 0.083740234375, 0.0924072265625, 0.1470947265625, 0.06915283203125, ...
embed
48130871_c0
48130871
fsharp
0
Title: F# return from loop Problem title: F# return from loop Tags: f%23 Problem: F# return from loop I have the following piece of C++ code that I am trying to implement in F#. I get an error message with F# segment (the line between the if statement). As I understand it, the statement "i" applies not to the function ...
F# return from loop F# return from loop f%23 loop Board b.size board:array board.Length-1 Array.item F# return from loop I have the following piece of C++ code that I am trying to implement in F#. I get an error message with F# segment (the line between the if statement). As I understand it, the statement "i" applies n...
[ -0.0028076171875, -0.0048828125, -0.00653076171875, 0.01422119140625, 0.0002994537353515625, -0.00909423828125, 0.021484375, 0.0218505859375, 0.003936767578125, -0.00604248046875, 0.01239013671875, 0.0169677734375, -0.00811767578125, 0.0087890625, 0.00531005859375, -0.0262451171875, ...
[ 563, 4904, 30646, 1295, 40956, 1238, 3949, 3742, 62554, 876, 62539, 45443, 19305, 449, 5759, 69253, 53, 217, 70, 25632, 63847, 313, 37223, 18151, 31577, 29479, 18499, 26008, 678, 33180, 13315, 17721, 2174, 63805, 28219, 442, 14, 4027, 25720...
[ 0.162109375, 0.19921875, 0.209716796875, 0.18603515625, 0.2269287109375, 0.1177978515625, 0.031158447265625, 0.1561279296875, 0.1390380859375, 0.01287841796875, 0.058685302734375, 0.1209716796875, 0.026031494140625, 0.004974365234375, 0.04107666015625, 0.042327880859375, 0.0225524902...
embed
27342400_c0
27342400
fsharp
0
Title: How do I return formatted string from a function? Problem title: How do I return formatted string from a function? Tags: f%23, .net Problem: How do I return formatted string from a function? I am learning F# so pardon me if this is very basic. I have a function that is supposed to return formatted string: > let ...
How do I return formatted string from a function? How do I return formatted string from a function? f%23 .net a How fun:getDoubled string.Format How do I return formatted string from a function? I am learning F# so pardon me if this is very basic. I have a function that is supposed to return formatted string: But when ...
[ -0.00836181640625, -0.005523681640625, 0.005126953125, 0.01953125, 0.00098419189453125, 0.0172119140625, 0.01171875, -0.0181884765625, 0.0079345703125, -0.005462646484375, 0.028076171875, 0.002105712890625, -0.032470703125, 0.000545501708984375, 0.012939453125, 0.00823974609375, -0.0...
[ 11249, 54, 87, 30646, 9384, 3674, 79315, 1295, 32354, 10, 1238, 3949, 3742, 1179, 7477, 3794, 8331, 5829, 6259, 102973, 257, 52080, 563, 4904, 158003, 62822, 134598, 4966, 3229, 71924, 25632, 831, 4527, 17777, 5, 3917, 20594 ]
[ 0.08819580078125, 0.052490234375, 0.06640625, 0.2130126953125, 0.23095703125, 0.1329345703125, 0.248046875, 0.14208984375, 0.1927490234375, 0.0143280029296875, 0.054656982421875, 0.0062255859375, 0.0960693359375, 0.1268310546875, 0.140869140625, 0.069580078125, 0.0284576416015625, ...
embed
279296_c0
279296
fsharp
0
Title: Adding Days to a Date but Excluding Weekends Problem title: Adding Days to a Date but Excluding Weekends Tags: c%23, date, f%23 Problem: Adding Days to a Date but Excluding Weekends Given a date how can I add a number of days to it, but exclude weekends. For example, given 11/12/2008 (Wednesday) and adding five ...
Adding Days to a Date but Excluding Weekends Adding Days to a Date but Excluding Weekends c%23 date f%23 Adding Days Date Excluding Weekends Adding Days to a Date but Excluding Weekends Given a date how can I add a number of days to it, but exclude weekends. For example, given 11/12/2008 (Wednesday) and adding five wil...
[ 0.005584716796875, -0.0031890869140625, -0.002227783203125, 0.0242919921875, -0.0185546875, 0.0147705078125, -0.00897216796875, 0.028076171875, 0.000873565673828125, -0.029052734375, 0.0048828125, 0.0157470703125, -0.0093994140625, 0.040283203125, 0.00885009765625, -0.0037689208984375,...
[ 62, 59725, 97292, 47, 10, 25512, 1284, 110823, 822, 147480, 7, 3742, 5622, 6238, 77878, 3642, 831, 15190, 14012, 13312, 442, 39041, 112, 14000, 34475, 534, 44586, 16396, 1456, 297, 1444, 154107, 43606, 16750, 88313, 57093, 43257, 57117, 466...
[ 0.09259033203125, 0.10150146484375, 0.2325439453125, 0.1153564453125, 0.057464599609375, 0.2135009765625, 0.09539794921875, 0.1048583984375, 0.125732421875, 0.255126953125, 0.045196533203125, 0.0643310546875, 0.17431640625, 0.001708984375, 0.0163726806640625, 0.050262451171875, 0.041...
embed
29727109_c1
29727109
fsharp
1
>> String | _ -> failwith "Unexpected" let parseValueByState = parse { let! state = getUserState let format = state.Formats.[state.Index] do! setUserState { state with Index = state.Index + 1} return! parseValue format } let parseData = sepBy parseValueByState (skipString ",") let parse = parseFormat >>. skipString ":"...
>> String | _ -> failwith "Unexpected" let parseValueByState = parse { let! state = getUserState let format = state.Formats.[state.Index] do! setUserState { state with Index = state.Index + 1} return! parseValue format } let parseData = sepBy parseValueByState (skipString ",") let parse = parseFormat >>. skipString ":"...
[ -0.0179443359375, -0.0034942626953125, -0.0162353515625, 0.02587890625, -0.02587890625, 0.0123291015625, 0.00714111328125, 0.00714111328125, 0.0026092529296875, -0.00506591796875, 0.00238037109375, 0.0023651123046875, -0.00872802734375, 0.01141357421875, 0.005523681640625, -0.006713867...
[ 6396, 23351, 214, 58745, 101, 33079, 35782, 76228, 14256, 83613, 13, 89829, 2633, 366, 184, 856, 50770, 75358, 135206, 2203, 38, 11341, 2046, 1062, 2189, 9384, 102973, 5, 61340, 39659, 5423, 678, 31471, 997, 106, 30646, 137989, 25040, 44024...
[ 0.0948486328125, 0.185791015625, 0.0992431640625, 0.062744140625, 0.051788330078125, 0.0845947265625, 0.1966552734375, 0.1522216796875, 0.1217041015625, 0.1444091796875, 0.1446533203125, 0.1824951171875, 0.09844970703125, 0.177734375, 0.13671875, 0.08984375, 0.1605224609375, 0.1246...
embed
65749643_c0
65749643
fsharp
0
Title: How to enable a user to download a file in Fable? Problem title: How to enable a user to download a file in Fable? Tags: fable-f%23, f%23, elmish Problem: How to enable a user to download a file in Fable? I have a SAFE stack app. I need to enable users to upload and download files. Uploading works by making use ...
How to enable a user to download a file in Fable? How to enable a user to download a file in Fable? fable-f%23 f%23 elmish How Fable Browser.Dom.FileReader.Create FileReader How to enable a user to download a file in Fable? I have a SAFE stack app. I need to enable users to upload and download files. Uploading works by...
[ -0.004730224609375, -0.00004076957702636719, 0.02099609375, 0.017822265625, -0.00023937225341796875, -0.011474609375, 0.002838134765625, -0.002197265625, 0.003753662109375, -0.0291748046875, -0.01324462890625, -0.0201416015625, -0.009033203125, 0.0306396484375, 0.01092529296875, -0.008...
[ 11249, 47, 22, 2886, 38937, 7026, 11435, 23, 563, 1071, 2661, 420, 3742, 88, 78192, 86976, 106098, 174350, 31345, 56, 63784, 2182, 42724, 5377, 30018, 177261, 4027, 3871, 72095, 70622, 136, 102158, 171958, 214, 43240, 390, 4527, 42518, 3917...
[ 0.06341552734375, 0.1373291015625, 0.1143798828125, 0.2398681640625, 0.190185546875, 0.209228515625, 0.1866455078125, 0.09521484375, 0.164306640625, 0.1446533203125, 0.1650390625, 0.026214599609375, 0.020050048828125, 0.0052490234375, 0.1142578125, 0.101318359375, 0.04248046875, 0....
embed
40327445_c0
40327445
fsharp
0
Title: Checking the status of an Async computation Problem title: Checking the status of an Async computation Tags: computation-expression, f%23 Problem: Checking the status of an Async computation Say I want to frequently check the status of a long-running asynchronous operation while doing a bunch of other work. Is i...
Checking the status of an Async computation Checking the status of an Async computation computation-expression f%23 Checking Async Task IsCompleted Checking the status of an Async computation Say I want to frequently check the status of a long-running asynchronous operation while doing a bunch of other work. Is it poss...
[ -0.0196533203125, 0.0069580078125, 0.028564453125, 0.00130462646484375, -0.0027313232421875, 0.00274658203125, 0.01385498046875, -0.0130615234375, 0.008056640625, -0.0036163330078125, 0.000881195068359375, 0.02685546875, 0.0179443359375, -0.00482177734375, 0.007568359375, 0.01165771484...
[ 38679, 214, 10778, 62, 12654, 238, 181135, 204629, 1238, 3949, 3742, 9598, 92, 2071, 108161, 133, 3674, 1363, 3444, 47, 195409, 12765, 4989, 16428, 10, 101966, 41018, 12960, 147306, 3789, 4488, 7722, 36766, 125195, 140528, 57266, 3917, 78974,...
[ 0.2086181640625, 0.0171661376953125, 0.1842041015625, 0.06549072265625, 0.2047119140625, 0.1280517578125, 0.1739501953125, 0.1644287109375, 0.0222930908203125, 0.037017822265625, 0.1279296875, 0.1552734375, 0.0950927734375, 0.0823974609375, 0.138916015625, 0.1680908203125, 0.08917236...
embed
70757780_c2
70757780
fsharp
2
.Http.HttpConnectionPool.AddHttp11ConnectionAsync, System.Threading.Tasks.TaskCompletionSourceWithCancellation, WaitWithCancellationAsync, System.Net.Http.HttpConnectionPool.GetHttp11ConnectionAsync, System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync, System.Net.Http.RedirectHandler.SendAsync, Sys...
.Http.HttpConnectionPool.AddHttp11ConnectionAsync, System.Threading.Tasks.TaskCompletionSourceWithCancellation, WaitWithCancellationAsync, System.Net.Http.HttpConnectionPool.GetHttp11ConnectionAsync, System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync, System.Net.Http.RedirectHandler.SendAsync, Sys...
[ -0.02587890625, 0.023681640625, 0.0029449462890625, -0.0220947265625, -0.0113525390625, 0.0004711151123046875, 0.00860595703125, -0.036376953125, 0.0098876953125, 0.0301513671875, 0.0194091796875, 0.0167236328125, -0.008056640625, -0.02392578125, -0.00360107421875, -0.00372314453125, ...
[ 5, 3062, 254, 235603, 1830, 7192, 929, 4028, 1662, 284, 12654, 238, 4, 12353, 39116, 214, 9874, 1042, 108161, 133, 211235, 194583, 54694, 34680, 175254, 24447, 126, 3611, 178390, 30347, 37839, 15123, 80581, 135679, 150, 50886, 39029, 80392, ...
[ 0.0721435546875, 0.115478515625, 0.04815673828125, 0.15234375, 0.08087158203125, 0.16162109375, 0.2115478515625, 0.1260986328125, 0.1929931640625, 0.0201873779296875, 0.2208251953125, 0.090576171875, 0.06011962890625, 0.1265869140625, 0.1396484375, 0.001922607421875, 0.152099609375, ...
embed
26150233_c0
26150233
fsharp
0
Title: How to define a record field as an array in f#? Problem title: How to define a record field as an array in f#? Tags: record, f%23, arrays Problem: How to define a record field as an array in f#? I want to create a record field of type byte array with 8 elements but couldn't figure out the correct syntax. I did s...
How to define a record field as an array in f#? How to define a record field as an array in f#? record f%23 arrays How Array.zeroCreate How to define a record field as an array in f#? I want to create a record field of type byte array with 8 elements but couldn't figure out the correct syntax. I did something like: Can...
[ 0.00836181640625, -0.000713348388671875, -0.0054931640625, 0.0299072265625, -0.02001953125, 0.00156402587890625, -0.004547119140625, -0.0081787109375, 0.015380859375, 0.0281982421875, 0.0150146484375, 0.00909423828125, -0.0084228515625, 0.002838134765625, -0.00118255615234375, -0.03784...
[ 11249, 61924, 17164, 44457, 237, 142, 10298, 53, 23, 1238, 4904, 10, 3742, 4778, 69253, 80510, 63784, 2182, 47, 3444, 28282, 10644, 390, 67, 678, 382, 80854, 26366, 26785, 6002, 86531, 4171, 16940, 80934, 27781, 46002 ]
[ 0.046295166015625, 0.2232666015625, 0.2705078125, 0.287109375, 0.1007080078125, 0.06103515625, 0.2008056640625, 0.18212890625, 0.05584716796875, 0.12353515625, 0.198974609375, 0.03662109375, 0.1124267578125, 0.06707763671875, 0.157958984375, 0.1712646484375, 0.111572265625, 0.01296...
embed
3937264_c0
3937264
fsharp
0
Title: Run method in computation expressions Problem title: Run method in computation expressions Tags: f%23 Problem: Run method in computation expressions What's the status of the Run() method in a computation method? I've seen it in several examples ( here , here , here ), and I've seen in it F#'s compiler source, ye...
Run method in computation expressions Run method in computation expressions f%23 Run Run method in computation expressions What's the status of the Run() method in a computation method? I've seen it in several examples ( here , here , here ), and I've seen in it F#'s compiler source, yet it's not in the spec or the MSD...
[ 0.0024566650390625, 0.00262451171875, 0.044677734375, 0.0208740234375, 0.00439453125, 0.016845703125, 0.005401611328125, -0.0087890625, 0.00154876708984375, -0.0458984375, -0.0179443359375, 0.02099609375, 0.00982666015625, -0.006072998046875, 0.0218505859375, -0.00133514404296875, -0...
[ 28398, 55300, 23, 181135, 1363, 125195, 1238, 3949, 3742, 4865, 70, 10778, 111, 132, 16, 51592, 442, 40368, 27781, 3688, 563, 4904, 9969, 34759, 31344, 14373, 959, 48502, 707, 16265, 51671, 209806, 11435, 31089, 62448, 903, 509, 155738, 237...
[ 0.281005859375, 0.2176513671875, 0.08843994140625, 0.179443359375, 0.035675048828125, 0.2197265625, 0.08563232421875, 0.0843505859375, 0.1575927734375, 0.03173828125, 0.0269317626953125, 0.1787109375, 0.005035400390625, 0.1824951171875, 0.00604248046875, 0.059356689453125, 0.04516601...
embed
18046085_c0
18046085
fsharp
0
Title: A very basic Type check fails in F# ... why? Problem title: A very basic Type check fails in F# ... why? Tags: f%23-3.0, f%23-interactive, f%23 Problem: A very basic Type check fails in F# ... why? I wrote this code type Test = | Age of int | Name of string;; let x = Age(10);; if (x.GetType() = typeof<Test>) the...
A very basic Type check fails in F# ... why? A very basic Type check fails in F# ... why? f%23-3.0 f%23-interactive f%23 Type Test Age Name x.GetType GetType A very basic Type check fails in F# ... why? I wrote this code The code prints false. But that puzzles me because isn't Age of type Test? Also, is there a better ...
[ -0.00689697265625, 0.01007080078125, 0.01031494140625, 0.01080322265625, -0.0179443359375, -0.0208740234375, -0.008056640625, 0.0145263671875, -0.0025634765625, -0.00173187255859375, 0.030029296875, 0.006805419921875, 0.00750732421875, 0.0062255859375, 0.01483154296875, 0.0152587890625...
[ 4552, 62822, 60457, 12765, 35782, 7, 563, 4904, 15400, 23, 1238, 27495, 132265, 10433, 3742, 8647, 72944, 126, 196707, 20779, 18151, 28412, 98320, 104192, 111, 10644, 69101, 52895, 724, 4390, 4989, 37842, 55741, 37397 ]
[ 0.06982421875, 0.114501953125, 0.19091796875, 0.18603515625, 0.1453857421875, 0.0313720703125, 0.1092529296875, 0.1754150390625, 0.0528564453125, 0.008453369140625, 0.0462646484375, 0.0212860107421875, 0.079833984375, 0.02056884765625, 0.03765869140625, 0.1416015625, 0.1060791015625,...
embed
48233952_c1
48233952
fsharp
1
.Save (path : string) = __.Bitmap.Save (path) interface IDisposable with member __.Dispose () = if __.Disposed <> true then __.Bitmap.Dispose () __.BitsHandle.Free () __.Disposed <- true end Code signals: DirectBitmap, Bits, WrBitmap, Width, Height, uint32, BitsHandle, GCHandle, Bitmap, Length, int64, Disposed, Image, ...
.Save (path : string) = __.Bitmap.Save (path) interface IDisposable with member __.Dispose () = if __.Disposed <> true then __.Bitmap.Dispose () __.BitsHandle.Free () __.Disposed <- true end Code signals: DirectBitmap, Bits, WrBitmap, Width, Height, uint32, BitsHandle, GCHandle, Bitmap, Length, int64, Disposed, Image, ...
[ 0.005645751953125, 0.0263671875, -0.006317138671875, 0.013671875, 0.00537109375, 0.00726318359375, -0.02734375, 0.00579833984375, 0.007293701171875, -0.00537109375, -0.0019378662109375, 0.05224609375, 0.01513671875, 0.0169677734375, 0.020263671875, 0.01239013671875, -0.01055908203125...
[ 5, 5464, 272, 15, 128405, 152, 79315, 2203, 5953, 571, 217, 62346, 101758, 11338, 164, 7522, 2886, 678, 32786, 44456, 78381, 2174, 144429, 29568, 14481, 135679, 133, 81437, 3564, 28864, 26073, 12, 42666, 27774, 42, 58302, 1529, 22553, 4288,...
[ 0.108154296875, 0.2369384765625, 0.25830078125, 0.010223388671875, 0.24462890625, 0.0401611328125, 0.286376953125, 0.0860595703125, 0.033050537109375, 0.05804443359375, 0.0943603515625, 0.2208251953125, 0.272216796875, 0.051116943359375, 0.153564453125, 0.208251953125, 0.195678710937...
embed
59314258_c0
59314258
fsharp
0
Title: Combining two observables in F# Problem title: Combining two observables in F# Tags: f%23, observable Problem: Combining two observables in F# I'm having trouble understanding how to manage multiple observables that depend on each other. I want to define a function with the following signature: clock:IObservable...
Combining two observables in F# Combining two observables in F# f%23 observable Combining clock:IObservable obs:IObservable IObservable Combining two observables in F# I'm having trouble understanding how to manage multiple observables that depend on each other. I want to define a function with the following signature:...
[ -0.00014972686767578125, 0.027587890625, 0.007415771484375, 0.01202392578125, -0.0029449462890625, 0.00762939453125, -0.011962890625, 0.007293701171875, 0.0172119140625, -0.0262451171875, 0.0005035400390625, -0.0225830078125, 0.0230712890625, 0.0322265625, -0.006683349609375, 0.0046081...
[ 106935, 592, 6626, 22046, 13566, 23, 563, 4904, 1238, 3949, 3742, 2661, 501, 21135, 17780, 275, 65756, 995, 7, 87, 46471, 63134, 100094, 111240, 48716, 56566, 98, 12638, 3789, 3444, 61924, 32354, 678, 25632, 138256, 47353, 1295, 831, 4734, ...
[ 0.2344970703125, 0.041168212890625, 0.1763916015625, 0.20556640625, 0.164794921875, 0.0191497802734375, 0.1524658203125, 0.2099609375, 0.1171875, 0.05908203125, 0.1728515625, 0.0885009765625, 0.048248291015625, 0.1890869140625, 0.0819091796875, 0.058746337890625, 0.1357421875, 0.14...
embed
43823743_c1
43823743
fsharp
1
string * string) list = [("Email", "jdoe@xyz.com"); ("Name", "John Doe")] val myMap : Map<string,string> = map [("Email", "jdoe@xyz.com"); ("Name", "John Doe")] val ef : k:'a -> string val rF : (string -> Result<string,string>) [<Struct>] val it : Result<string,string> = Ok "John Doe" [<Struct>] val it : Result<string,...
string * string) list = [("Email", "jdoe@xyz.com"); ("Name", "John Doe")] val myMap : Map<string,string> = map [("Email", "jdoe@xyz.com"); ("Name", "John Doe")] val ef : k:'a -> string val rF : (string -> Result<string,string>) [<Struct>] val it : Result<string,string> = Ok "John Doe" [<Struct>] val it : Result<string,...
[ 0.01129150390625, 0.022705078125, 0.007049560546875, -0.0028228759765625, 0.007171630859375, 0.00244140625, -0.01263427734375, -0.030029296875, 0.00970458984375, 0.0032501220703125, 0.0028533935546875, -0.01043701171875, -0.019287109375, 0.0018157958984375, 0.0091552734375, 0.002670288...
[ 79315, 661, 5303, 2203, 161994, 170, 246, 13, 50878, 169, 277, 163612, 98385, 984, 268, 3502, 759, 166179, 42719, 91693, 22288, 3142, 18939, 9129, 472, 11, 919, 152, 126684, 71713, 18190, 442, 4, 9972, 212059, 15123, 204582, 35839, 6494, ...
[ 0.2364501953125, 0.10986328125, 0.240966796875, 0.05322265625, 0.1356201171875, 0.054534912109375, 0.0924072265625, 0.164794921875, 0.03717041015625, 0.08001708984375, 0.1513671875, 0.1048583984375, 0.1590576171875, 0.1463623046875, 0.015350341796875, 0.1136474609375, 0.1177978515625...
embed
50373607_c0
50373607
fsharp
0
Title: How can I enable a WinForms or WPF project in F#? Problem title: How can I enable a WinForms or WPF project in F#? Tags: visual-studio, f%23 Problem: How can I enable a WinForms or WPF project in F#? I have the very latest version of Visual Studio 2017 installed. I selected F# language support and F# desktop sup...
How can I enable a WinForms or WPF project in F#? How can I enable a WinForms or WPF project in F#? visual-studio f%23 How WinForms WPF How can I enable a WinForms or WPF project in F#? I have the very latest version of Visual Studio 2017 installed. I selected F# language support and F# desktop support. After restartin...
[ -0.002288818359375, 0.01287841796875, -0.006866455078125, 0.01171875, -0.00537109375, 0.028564453125, 0.004241943359375, -0.017333984375, 0.00469970703125, 0.00830078125, 0.020751953125, -0.023681640625, 0.0029296875, 0.01104736328125, 0.007720947265625, -0.015625, -0.001174926757812...
[ 11249, 831, 87, 22, 2886, 10, 17686, 102973, 7, 707, 601, 41265, 13452, 23, 563, 4904, 21176, 52629, 1238, 3742, 42850, 11389, 73372, 22968, 505, 20600, 133291, 46876, 8060, 86983, 17137, 42724, 2356, 27331, 41206, 35829, 4034, 3525, 100, ...
[ 0.06817626953125, 0.0792236328125, 0.031402587890625, 0.1016845703125, 0.178955078125, 0.0626220703125, 0.168212890625, 0.31396484375, 0.087646484375, 0.06927490234375, 0.10791015625, 0.274658203125, 0.201416015625, 0.074462890625, 0.1668701171875, 0.2548828125, 0.1239013671875, 0....
embed
5284386_c1
5284386
fsharp
1
ed_user.Id); } Isn't it possible to remove/insert the same object from different contexts? EDIT: A friend send me this article that could help to solve the problem but it doesn't seem to be a definitive solution to the problem. Code signals: different, Inserting, Linq, SQL, Data, Contexts, CreateUser, Rsvp, context.Use...
ed_user.Id); } Isn't it possible to remove/insert the same object from different contexts? EDIT: A friend send me this article that could help to solve the problem but it doesn't seem to be a definitive solution to the problem. Code signals: different, Inserting, Linq, SQL, Data, Contexts, CreateUser, Rsvp, context.Use...
[ 0.00885009765625, 0.003326416015625, 0.003875732421875, -0.000934600830078125, -0.001617431640625, 0.0135498046875, -0.01202392578125, -0.0096435546875, -0.004364013671875, -0.041259765625, -0.0032196044921875, 0.031005859375, 0, 0.01519775390625, 0.019287109375, 0.0016021728515625, ...
[ 2223, 65918, 568, 71, 3142, 2071, 18, 7722, 47, 87388, 64, 73, 33657, 5701, 36746, 1295, 12921, 43701, 34391, 5809, 4358, 86869, 2967, 44836, 29806, 28864, 26073, 360, 2189, 1916, 44982, 80866, 11809, 1657, 22829, 151313, 1062, 115034, 334,...
[ 0.1329345703125, 0.2012939453125, 0.102294921875, 0.143310546875, 0.06402587890625, 0.001251220703125, 0.004974365234375, 0.1431884765625, 0.01300048828125, 0.2210693359375, 0.0103759765625, 0.1151123046875, 0.2164306640625, 0.1583251953125, 0.25927734375, 0.1094970703125, 0.19470214...
embed
18749571_c0
18749571
fsharp
0
Title: Where to set attribute for virtual method parameter? Problem title: Where to set attribute for virtual method parameter? Tags: f%23 Problem: Where to set attribute for virtual method parameter? I did not find a clear answer for this... What is the F# equivalent of this C# code: public class SomeClass { public vi...
Where to set attribute for virtual method parameter? Where to set attribute for virtual method parameter? f%23 Where SomeClass SomeMethod Attribute Int32 param:Int32 Unit this.SomeMethod Where to set attribute for virtual method parameter? I did not find a clear answer for this... What is the F# equivalent of this C# c...
[ 0.00482177734375, 0.01239013671875, -0.01397705078125, -0.04248046875, -0.01275634765625, -0.007171630859375, -0.00162506103515625, 0.0011444091796875, -0.0118408203125, 0, 0.00714111328125, -0.0179443359375, 0.0098876953125, 0.015380859375, -0.0203857421875, -0.0245361328125, 0.0037...
[ 78662, 47, 5423, 150380, 13, 100, 20513, 55300, 171859, 1238, 3949, 3742, 31384, 140803, 78572, 7352, 1913, 191145, 18, 6460, 121, 39, 46640, 903, 282, 34735, 35166, 563, 4904, 183234, 18151, 6626, 12921, 44677, 3884, 70, 23 ]
[ 0.1822509765625, 0.082275390625, 0.1998291015625, 0.25927734375, 0.18896484375, 0.08740234375, 0.267578125, 0.2410888671875, 0.280029296875, 0.0784912109375, 0.0243377685546875, 0.1370849609375, 0.06658935546875, 0.1685791015625, 0.164306640625, 0.14990234375, 0.08837890625, 0.2071...
embed
1865014_c0
1865014
fsharp
0
Title: F#, another VBA in Office? Problem title: F#, another VBA in Office? Tags: vba, functional-programming, f%23, excel Problem: F#, another VBA in Office? Excel is a great spreadsheet software, a even greater front UI for Business Intelligence in many companies. Often VBA is used to write the extensions, or to call...
F#, another VBA in Office? F#, another VBA in Office? vba functional-programming f%23 excel VBA Office F#, another VBA in Office? Excel is a great spreadsheet software, a even greater front UI for Business Intelligence in many companies. Often VBA is used to write the extensions, or to call other DLLs. As Excel itself ...
[ 0.017822265625, 0.006561279296875, 0.002593994140625, 0.01116943359375, -0.00665283203125, 0.0103759765625, -0.026123046875, 0.006439208984375, -0.0009765625, -0.00110626220703125, 0.004486083984375, 0.01416015625, 0.01300048828125, 0.0004062652587890625, 0.0142822265625, -0.0118408203...
[ 563, 4904, 15700, 310, 8031, 23, 12133, 81, 402, 123309, 28966, 1238, 3949, 3742, 64152, 30326, 83, 10, 6782, 93403, 7816, 126, 10975, 3853, 117396, 12912, 111481, 14249, 157075, 5941, 53095, 101153, 11814, 47, 33022, 111938, 11782, 391, 23...
[ 0.157958984375, 0.26220703125, 0.1234130859375, 0.175048828125, 0.2744140625, 0.1392822265625, 0.26806640625, 0.121826171875, 0.1966552734375, 0.172119140625, 0.111572265625, 0.1134033203125, 0.02020263671875, 0.1036376953125, 0.188232421875, 0.240234375, 0.0601806640625, 0.015625,...
embed
5984949_c0
5984949
fsharp
0
Title: in f# match statement how do I match to the type byte[]? Problem title: in f# match statement how do I match to the type byte[]? Tags: ado.net, f%23 Problem: in f# match statement how do I match to the type byte[]? I'm trying to lookup DbType enumeration values from .net types. I'm using a match statement. Howev...
in f# match statement how do I match to the type byte[]? in f# match statement how do I match to the type byte[]? ado.net f%23 Int64 DbType.Int64 Byte DbType.Binary DbType.Object ado.net in f# match statement how do I match to the type byte[]? I'm trying to lookup DbType enumeration values from .net types. I'm using a ...
[ 0.0020751953125, 0.01318359375, -0.00872802734375, 0.004241943359375, -0.0228271484375, -0.024658203125, -0.032470703125, 0.0135498046875, -0.007293701171875, 0.0234375, 0.01251220703125, -0.01129150390625, 0.004302978515625, -0.01226806640625, -0.0047607421875, -0.0191650390625, 0.0...
[ 23, 1238, 4904, 14858, 63805, 3642, 54, 87, 47, 10644, 390, 67, 1065, 1138, 1179, 3742, 13307, 391, 275, 196707, 3311, 571, 73, 6635, 46471, 75161, 2037, 189085, 142424, 5, 52895, 53418, 26366, 98, 11522, 22288 ]
[ 0.0565185546875, 0.130615234375, 0.2109375, 0.2275390625, 0.1951904296875, 0.066650390625, 0.03466796875, 0.0469970703125, 0.166259765625, 0.2100830078125, 0.128662109375, 0.1259765625, 0.0386962890625, 0.1444091796875, 0.1185302734375, 0.0994873046875, 0.1212158203125, 0.079528808...
embed
4122101_c0
4122101
fsharp
0
Title: F# unique overload method Problem title: F# unique overload method Tags: f%23, types, generics Problem: F# unique overload method How am I able to call send(a:'T []) in such a type? type Test() = member o.send(value:'T) = 4 member o.send(values:'T []) = 5 let test = Test() let b = test.send [|4|] When I do that,...
F# unique overload method F# unique overload method f%23 types generics Test o.send test.send Send F# unique overload method How am I able to call send(a:'T []) in such a type? When I do that, I obtain The point is the MPI.NET has got exactly this method called Send and I am not able to send an array into it. Thank you...
[ -0.002685546875, 0.004852294921875, 0.008056640625, -0.007110595703125, -0.0191650390625, -0.0279541015625, -0.0142822265625, 0.0147705078125, 0.0113525390625, -0.018310546875, 0.00653076171875, -0.0035552978515625, 0.0184326171875, 0.001007080078125, 0.01092529296875, -0.0068969726562...
[ 563, 4904, 36998, 645, 63033, 55300, 1238, 3742, 52895, 189534, 8647, 36, 39285, 3034, 24044, 444, 19048, 11782, 25379, 11, 12, 618, 378, 6044, 10644, 113054, 6275, 189210, 17777, 4163, 66161, 903, 35839, 959, 10298, 3934, 442, 26932 ]
[ 0.130126953125, 0.1934814453125, 0.2247314453125, 0.1444091796875, 0.263916015625, 0.17626953125, 0.04071044921875, 0.1103515625, 0.1478271484375, 0.14892578125, 0.1416015625, 0.1104736328125, 0.150634765625, 0.146728515625, 0.2042236328125, 0.00750732421875, 0.09375, 0.15344238281...
embed
29232707_c0
29232707
fsharp
0
Title: WebSharper - No javascript displaying in browser Problem title: WebSharper - No javascript displaying in browser Tags: websharper, f%23 Problem: WebSharper - No javascript displaying in browser I have just started to play around with WebSharper an F# web framework. I have been trying the examples provided on Vis...
WebSharper - No javascript displaying in browser WebSharper - No javascript displaying in browser websharper f%23 WebSharper Javascript WebSharper - No javascript displaying in browser I have just started to play around with WebSharper an F# web framework. I have been trying the examples provided on Visual Studio but I...
[ -0.01220703125, 0.02783203125, -0.01434326171875, -0.02880859375, 0.00640869140625, 0.018798828125, -0.0047607421875, 0.01043701171875, -0.01068115234375, -0.015625, -0.00640869140625, -0.004638671875, -0.020263671875, 0.01470947265625, 0.019775390625, 0.005645751953125, 0.0245361328...
[ 4002, 294, 3467, 1264, 438, 136951, 44116, 214, 31842, 23, 1467, 89280, 1238, 3742, 74181, 11301, 10932, 563, 4904, 170846, 27781, 73372, 22968, 2499, 32354, 8668, 678, 156202, 32032, 959, 108975, 171, 12765, 225081, 12921, 7761, 11476, 14779...
[ 0.10137939453125, 0.03302001953125, 0.15185546875, 0.194091796875, 0.10400390625, 0.2486572265625, 0.128662109375, 0.0411376953125, 0.17333984375, 0.029022216796875, 0.07916259765625, 0.1468505859375, 0.0078125, 0.0882568359375, 0.2001953125, 0.0277862548828125, 0.00897216796875, 0...
embed
3092473_c0
3092473
fsharp
0
Title: Can&#x27;t get F# FSI to execute code in Visual Studio 2008 Problem title: Can&#x27;t get F# FSI to execute code in Visual Studio 2008 Tags: f%23, visual-studio-2008 Problem: Can't get F# FSI to execute code in Visual Studio 2008 Very new to F#. Installed F# 2.0, created a F# Application, with some simple code, ...
Can&#x27;t get F# FSI to execute code in Visual Studio 2008 Can&#x27;t get F# FSI to execute code in Visual Studio 2008 f%23 visual-studio-2008 Can FSI Visual Studio visual-studio-2008 Can't get F# FSI to execute code in Visual Studio 2008 Very new to F#. Installed F# 2.0, created a F# Application, with some simple cod...
[ 0.001953125, 0.013916015625, 0.00958251953125, -0.00103759765625, -0.00860595703125, 0.006988525390625, 0.00145721435546875, -0.01123046875, 0.0035552978515625, -0.0035858154296875, 0.017578125, 0.01361083984375, -0.00543212890625, 0.00775146484375, 0.0029754638671875, -0.0059509277343...
[ 4171, 3768, 18, 2046, 563, 4904, 9902, 47, 71924, 18151, 23, 73372, 22968, 2021, 1238, 21176, 52629, 105011, 3525, 107951, 16655, 104921, 8781, 5974, 43240, 5885, 11192, 20016, 44160, 10544, 1328, 155581, 11907, 9191, 17378, 54, 11675, 212398...
[ 0.07861328125, 0.03997802734375, 0.049346923828125, 0.06793212890625, 0.1552734375, 0.232177734375, 0.254150390625, 0.056182861328125, 0.1802978515625, 0.2008056640625, 0.037841796875, 0.1993408203125, 0.184814453125, 0.24267578125, 0.02972412109375, 0.1383056640625, 0.1494140625, ...
embed
75440120_c0
75440120
fsharp
0
Title: Can an object expression refer to itself? Problem title: Can an object expression refer to itself? Tags: f%23 Problem: Can an object expression refer to itself? I'm exploring converting our C# codebase to F#. This codebase uses an external library that provides an interface; one of the methods allows the library...
Can an object expression refer to itself? Can an object expression refer to itself? f%23 Can Worker IWorker CreateNewInstance Can an object expression refer to itself? I'm exploring converting our C# codebase to F#. This codebase uses an external library that provides an interface; one of the methods allows the library...
[ 0.0133056640625, -0.0074462890625, 0.006683349609375, 0.015869140625, -0.00958251953125, 0.0033721923828125, 0.007537841796875, 0.029296875, 0.022705078125, -0.037353515625, -0.0028839111328125, 0.01177978515625, 0.00946044921875, 0.0079345703125, 0.02294921875, -0.024169921875, 0.01...
[ 4171, 142, 36746, 125195, 15005, 47, 68034, 32, 1238, 3949, 3742, 27985, 56, 87, 108259, 151313, 46568, 4153, 116071, 24649, 96760, 4904, 18151, 37382, 563, 173591, 35773, 87344, 101758, 150624, 114864, 1294, 28282, 3525, 110527, 2446, 18507, ...
[ 0.13623046875, 0.04803466796875, 0.2406005859375, 0.2841796875, 0.2362060546875, 0.1724853515625, 0.2117919921875, 0.032257080078125, 0.07196044921875, 0.030914306640625, 0.0999755859375, 0.1435546875, 0.102783203125, 0.1116943359375, 0.1473388671875, 0.1290283203125, 0.1326904296875...
embed
1922971_c0
1922971
fsharp
0
Title: Should all the identifiers of static properties with accessors start with uppercase letters? Problem title: Should all the identifiers of static properties with accessors start with uppercase letters? Tags: properties, f%23 Problem: Should all the identifiers of static properties with accessors start with upperc...
Should all the identifiers of static properties with accessors start with uppercase letters? Should all the identifiers of static properties with accessors start with uppercase letters? properties f%23 Should Foo Invalid Should all the identifiers of static properties with accessors start with uppercase letters? I can'...
[ 0.0179443359375, 0.000698089599609375, 0.021484375, -0.0098876953125, -0.000591278076171875, -0.0150146484375, -0.000629425048828125, 0.0016632080078125, 0.000850677490234375, 0.00531005859375, 0.0087890625, 0.04833984375, -0.01531982421875, 0.0028533935546875, 0.01104736328125, -0.008...
[ 151117, 756, 42485, 1314, 201939, 183871, 678, 17203, 25251, 4034, 1407, 56, 58437, 120820, 6, 1238, 3949, 3742, 9572, 31, 360, 7013, 5608, 70, 7225, 4, 4153, 21635, 1363, 6002, 86531, 58, 18499, 23, 2046, 11907, 6032, 159978, 57266, 959,...
[ 0.096435546875, 0.0765380859375, 0.21923828125, 0.1622314453125, 0.250244140625, 0.224365234375, 0.0843505859375, 0.206298828125, 0.2108154296875, 0.131103515625, 0.1268310546875, 0.1102294921875, 0.2099609375, 0.2025146484375, 0.001983642578125, 0.084228515625, 0.0654296875, 0.164...
embed
34212855_c0
34212855
fsharp
0
Title: Type to represent a string which is not empty or spaces in F# Problem title: Type to represent a string which is not empty or spaces in F# Tags: f%23 Problem: Type to represent a string which is not empty or spaces in F# I love the simplicity of types like type Code = Code of string But I would like to put some ...
Type to represent a string which is not empty or spaces in F# Type to represent a string which is not empty or spaces in F# f%23 Type Type to represent a string which is not empty or spaces in F# I love the simplicity of types like But I would like to put some restrictions on string (in this case - do not allow empty o...
[ -0.00946044921875, 0.0068359375, -0.0123291015625, 0.031005859375, 0.0001087188720703125, 0.006011962890625, 0.00408935546875, 0.000858306884765625, 0.01141357421875, 0.01507568359375, 0.00909423828125, -0.01177978515625, -0.006805419921875, -0.002838134765625, -0.00921630859375, 0.037...
[ 60457, 47, 33636, 79315, 3129, 83, 959, 201505, 707, 32628, 23, 563, 4904, 1238, 3742, 5161, 134381, 52895, 1884, 3884, 3060, 185190, 63769, 111, 191, 61924, 903, 10644, 49666, 9523, 18507, 64549, 748, 173072, 88996, 31461, 32354, 23468 ]
[ 0.2476806640625, 0.05987548828125, 0.2471923828125, 0.22705078125, 0.036285400390625, 0.06866455078125, 0.13818359375, 0.1531982421875, 0.067138671875, 0.1956787109375, 0.03948974609375, 0.1224365234375, 0.1893310546875, 0.0789794921875, 0.134033203125, 0.09075927734375, 0.0659790039...
embed
65131893_c0
65131893
fsharp
0
Title: How to find a parent visual in WPF using VisualTreeHelper in F#? Problem title: How to find a parent visual in WPF using VisualTreeHelper in F#? Tags: f%23, wpf Problem: How to find a parent visual in WPF using VisualTreeHelper in F#? (Newbie question). I have need to climb the visual tree of a wpf xaml until fi...
How to find a parent visual in WPF using VisualTreeHelper in F#? How to find a parent visual in WPF using VisualTreeHelper in F#? f%23 wpf VisualTreeHelper How WPF VisualTreeHelper.GetParent Grid How to find a parent visual in WPF using VisualTreeHelper in F#? (Newbie question). I have need to climb the visual tree of ...
[ -0.013427734375, 0.0308837890625, 0.0093994140625, 0.0120849609375, -0.00616455078125, 0.00994873046875, -0.0016021728515625, -0.0185546875, -0.005645751953125, -0.044921875, 0.02197265625, 0.00799560546875, 0.001678466796875, 0.00160980224609375, 0.000865936279296875, -0.0072937011718...
[ 11249, 7413, 10, 49129, 21176, 23, 601, 41265, 73372, 62731, 60785, 1264, 563, 4904, 1238, 3742, 39557, 13, 724, 126, 28636, 2517, 31945, 71, 9014, 194637, 53201, 148, 2459, 7237, 90791, 1022, 163612, 204582, 6696, 29041, 120067, 3642, 4527...
[ 0.0245513916015625, 0.16162109375, 0.06494140625, 0.192138671875, 0.2496337890625, 0.0291595458984375, 0.056732177734375, 0.1982421875, 0.1693115234375, 0.1923828125, 0.1781005859375, 0.1875, 0.08746337890625, 0.174072265625, 0.01470947265625, 0.078857421875, 0.1256103515625, 0.049...
embed
42179400_c0
42179400
fsharp
0
Title: How can I make a class diagram for F#? Problem title: How can I make a class diagram for F#? Tags: visual-studio, uml, f%23 Problem: How can I make a class diagram for F#? I am using Visual Studio 2015 with F#. In C# projects, you can create class diagram files ( *.cd ) to visualize the types in your solution an...
How can I make a class diagram for F#? How can I make a class diagram for F#? visual-studio uml f%23 How How can I make a class diagram for F#? I am using Visual Studio 2015 with F#. In C# projects, you can create class diagram files ( *.cd ) to visualize the types in your solution and their dependencies on each other....
[ -0.009033203125, 0.0250244140625, -0.00518798828125, -0.00994873046875, -0.004974365234375, 0.0093994140625, -0.01202392578125, 0.001739501953125, -0.00830078125, 0.00457763671875, -0.0087890625, -0.009765625, 0.0022430419921875, 0.01611328125, -0.00836181640625, -0.0086669921875, -0...
[ 11249, 831, 87, 3249, 10, 18507, 117233, 100, 563, 4904, 21176, 52629, 141, 1238, 3742, 17368, 73372, 22968, 918, 678, 77635, 28282, 102158, 661, 5, 71574, 52895, 29806, 42548, 12638, 3789, 23937, 19882, 23009, 105233, 13452, 26519, 4734, 8...
[ 0.082275390625, 0.0860595703125, 0.035736083984375, 0.1265869140625, 0.0810546875, 0.253173828125, 0.27197265625, 0.1019287109375, 0.16455078125, 0.234130859375, 0.1317138671875, 0.1192626953125, 0.04156494140625, 0.032867431640625, 0.05548095703125, 0.0217437744140625, 0.15112304687...
embed
6779530_c0
6779530
fsharp
0
Title: What is a stack imbalance? Problem title: What is a stack imbalance? Tags: terminology, stack, f%23, memory-management Problem: What is a stack imbalance? Having read this article F# Versus Mathematics: Part One - Getting Started with BLAS and LAPACK I stumbled across the term stack imbalance in the paragraph A ...
What is a stack imbalance? What is a stack imbalance? terminology stack f%23 memory-management What Warning Perhaps Omen What is a stack imbalance? Having read this article F# Versus Mathematics: Part One - Getting Started with BLAS and LAPACK I stumbled across the term stack imbalance in the paragraph A Warning, Perha...
[ 0.027099609375, 0.01043701171875, -0.0135498046875, 0.00189971923828125, -0.00958251953125, 0.023681640625, 0.004791259765625, 0.006561279296875, -0.0032196044921875, 0.000675201416015625, 0.0164794921875, 0.004852294921875, -0.0005340576171875, 0.00958251953125, 0.01202392578125, 0.00...
[ 4865, 83, 10, 177261, 566, 173212, 32, 18614, 25443, 1238, 3949, 3742, 98323, 87140, 5550, 592, 181799, 2383, 33, 563, 4904, 35454, 123426, 47148, 46705, 136, 3358, 98701, 36880, 13579, 151268, 62, 142, 26484, 15969, 237875, 678, 187136, 44...
[ 0.10040283203125, 0.121337890625, 0.146728515625, 0.274658203125, 0.214111328125, 0.3330078125, 0.033111572265625, 0.0753173828125, 0.0418701171875, 0.0858154296875, 0.0184173583984375, 0.1263427734375, 0.1610107421875, 0.1514892578125, 0.15380859375, 0.1246337890625, 0.1693115234375...
embed
24841185_c1
24841185
fsharp
1
idiomatically? I suspect that active patterns might play a part but I've never used them. Similarly for this other function: member this.IsDBNull(ordinal) = match (this :> IDataReader).GetValue(ordinal) with | null -> true | :? DBNull -> true | :? Option<string> as x -> x.IsNone | :? Option<int> as x -> x.IsNone | :? ...
idiomatically? I suspect that active patterns might play a part but I've never used them. Similarly for this other function: member this.IsDBNull(ordinal) = match (this :> IDataReader).GetValue(ordinal) with | null -> true | :? DBNull -> true | :? Option<string> as x -> x.IsNone | :? Option<int> as x -> x.IsNone | :? ...
[ 0.005889892578125, 0.005584716796875, 0.00897216796875, 0.015380859375, -0.0262451171875, 0.01129150390625, 0.0208740234375, -0.009521484375, -0.00506591796875, 0.00823974609375, 0.0286865234375, 0.0186767578125, 0.005340576171875, -0.0206298828125, -0.0033111572265625, -0.002624511718...
[ 49666, 18, 71407, 92610, 36457, 103510, 13648, 2831, 272, 8306, 11814, 3789, 32354, 32786, 903, 29598, 397, 52731, 43806, 43297, 141, 14858, 100231, 87, 137989, 31345, 56, 126, 856, 50770, 56574, 29568, 391, 86769, 91693, 237, 1022, 5021, 4...
[ 0.193359375, 0.091064453125, 0.0994873046875, 0.0643310546875, 0.1553955078125, 0.1856689453125, 0.04376220703125, 0.012237548828125, 0.04864501953125, 0.1246337890625, 0.0634765625, 0.007049560546875, 0.1424560546875, 0.1781005859375, 0.1650390625, 0.1322021484375, 0.053314208984375...
embed
7941865_c0
7941865
fsharp
0
Title: F# split array of strings and return the result of split Problem title: F# split array of strings and return the result of split Tags: f%23 Problem: F# split array of strings and return the result of split let total = [| "1X2"; "3X4"; "5X6" |] let oddEven = total |> Array.map(fun x -> x.Split('X')) I have an arr...
F# split array of strings and return the result of split F# split array of strings and return the result of split f%23 Array.map x.Split F# split array of strings and return the result of split I have an array of string, which is total in above example, I want to split the array by "X", as the oddEven in the above exam...
[ -0.0034942626953125, 0.021240234375, -0.01409912109375, 0.003143310546875, -0.032470703125, 0.01434326171875, 0.020263671875, 0.0002574920654296875, 0.030517578125, 0.0223388671875, 0.0101318359375, 0.001068115234375, 0.004669189453125, 0.0125732421875, -0.00927734375, -0.0089111328125...
[ 563, 4904, 65450, 10298, 53, 111, 79315, 7, 136, 30646, 16750, 1238, 3949, 3742, 69253, 62346, 1022, 31923, 4353, 3622, 27781, 3444, 47, 390, 1542, 70270, 1353, 116, 4778, 2633, 2203, 106, 138, 190, 3853, 201, 305, 5809, 23468, 66211, 9...
[ 0.1365966796875, 0.20556640625, 0.24658203125, 0.1802978515625, 0.1380615234375, 0.0614013671875, 0.225341796875, 0.000762939453125, 0.03826904296875, 0.1861572265625, 0.1513671875, 0.123291015625, 0.0294036865234375, 0.147216796875, 0.1123046875, 0.1036376953125, 0.07525634765625, ...
embed
43808489_c0
43808489
fsharp
0
Title: How can I base64 encode using Fable (F#)? Problem title: How can I base64 encode using Fable (F#)? Tags: f%23, fable-f%23 Problem: How can I base64 encode using Fable (F#)? I use FetchAPI of Fable.PowerPack to make basic authentication application, but I am in trouble because I can not base64 encode. For example...
How can I base64 encode using Fable (F#)? How can I base64 encode using Fable (F#)? f%23 fable-f%23 Fable How base64 base64enc Seq.map Array.ofSeq System.Convert.ToBase64String Error Can How can I base64 encode using Fable (F#)? I use FetchAPI of Fable.PowerPack to make basic authentication application, but I am in tro...
[ 0.001922607421875, -0.0142822265625, 0.023193359375, 0.01007080078125, -0.00616455078125, -0.0162353515625, 0.0010223388671875, 0.01226806640625, -0.01165771484375, 0.0017852783203125, 0.0026397705078125, 0.01092529296875, -0.00640869140625, 0.021484375, 0.0048828125, 0.004150390625, ...
[ 11249, 831, 3647, 13307, 22, 40899, 17368, 563, 2886, 919, 4904, 87, 1238, 3742, 1071, 2661, 420, 46737, 864, 62346, 69253, 4390, 12353, 11549, 7763, 63473, 13, 71713, 214, 212059, 4171, 4527, 92962, 206, 74220, 105022, 205956, 62822, 19573...
[ 0.0195159912109375, 0.040069580078125, 0.20849609375, 0.2315673828125, 0.109130859375, 0.2227783203125, 0.058197021484375, 0.162109375, 0.1893310546875, 0.11083984375, 0.1712646484375, 0.01055908203125, 0.0726318359375, 0.056396484375, 0.1307373046875, 0.1102294921875, 0.008483886718...
embed
53500129_c0
53500129
fsharp
0
Title: F# list.fold maximum Problem title: F# list.fold maximum Tags: max, list, fold, f%23 Problem: F# list.fold maximum I wanted to use a new built-in function (list.fold) in F#. I have a list with numbers in it and I have to return the maximum of it. If the list is empty it should 0. I tryied to solve it this way: l...
F# list.fold maximum F# list.fold maximum max list fold f%23 list.fold Nat F# list.fold maximum I wanted to use a new built-in function (list.fold) in F#. I have a list with numbers in it and I have to return the maximum of it. If the list is empty it should 0. I tryied to solve it this way: I can't compile it and I do...
[ -0.0242919921875, -0.0014190673828125, 0.0286865234375, 0.00787353515625, -0.0002613067626953125, 0.022216796875, -0.000263214111328125, 0.01104736328125, 0.01513671875, -0.0142822265625, 0.000148773193359375, -0.0208740234375, -0.013916015625, -0.01165771484375, 0.01483154296875, -0.0...
[ 563, 4904, 5303, 42822, 38132, 18389, 1238, 3949, 3742, 68875, 36663, 4527, 3525, 88303, 73, 32354, 6562, 5, 23, 678, 101935, 30646, 111, 4263, 70, 201505, 5608, 757, 9790, 86869, 3917, 831, 9969, 1340, 51139, 28219, 43240, 107730, 33342, ...
[ 0.143798828125, 0.2099609375, 0.21142578125, 0.2391357421875, 0.226806640625, 0.183837890625, 0.09747314453125, 0.0144500732421875, 0.1278076171875, 0.09814453125, 0.061920166015625, 0.0775146484375, 0.030975341796875, 0.1141357421875, 0.0960693359375, 0.2064208984375, 0.233520507812...
embed
24112601_c0
24112601
fsharp
0
Title: Entry point issue in F# Problem title: Entry point issue in F# Tags: f%23 Problem: Entry point issue in F# I have the following program : let readStoriesInQAForm = printfn "Inside the let!" 0 [<EntryPoint>] let main argv = printfn "Ah! entering point to the main!" System.Console.ReadKey() |> ignore 0 // return a...
Entry point issue in F# Entry point issue in F# f%23 Entry Inside EntryPoint System.Console.ReadKey Entry point issue in F# I have the following program : I was expecting to get the following output (since main is the entry point, and there is no function call): But I get this, when I compiler and run it in VS 2013: Wh...
[ 0.029541015625, 0.007537841796875, -0.0010833740234375, 0.00061798095703125, -0.017333984375, -0.0025177001953125, 0.0306396484375, 0.002410888671875, -0.01531982421875, -0.0093994140625, 0.01611328125, 0.0020751953125, -0.014892578125, 0.031005859375, 0.0341796875, -0.02197265625, 0...
[ 357, 15123, 6275, 31089, 23, 563, 4904, 1238, 3949, 3742, 187040, 147534, 12353, 40777, 31345, 162429, 25632, 1528, 509, 41206, 214, 140992, 5201, 83, 42805, 2685, 110, 32354, 11782, 4966, 2046, 903, 9969, 34759, 11675, 44160, 1210, 759, 12...
[ 0.1297607421875, 0.2259521484375, 0.1900634765625, 0.1485595703125, 0.0316162109375, 0.1494140625, 0.2354736328125, 0.0943603515625, 0.0287628173828125, 0.1680908203125, 0.126953125, 0.170654296875, 0.078857421875, 0.109130859375, 0.1705322265625, 0.2127685546875, 0.04888916015625, ...
embed
63864207_c0
63864207
fsharp
0
Title: In F#, how to construct a record list with DateTime values? Problem title: In F#, how to construct a record list with DateTime values? Tags: f%23, list, record Problem: In F#, how to construct a record list with DateTime values? In F#, assume I have a person record as: type person = { LastName: string option Bir...
In F#, how to construct a record list with DateTime values? In F#, how to construct a record list with DateTime values? f%23 list record DateTime LastName BirthDate System.DateTime Some In F#, how to construct a record list with DateTime values? In F#, assume I have a person record as: Now, I want to create a list of 1...
[ 0.00531005859375, -0.00098419189453125, 0.00160980224609375, 0.00494384765625, -0.0089111328125, -0.0068359375, -0.0296630859375, 0.02685546875, 0.00372314453125, -0.03076171875, -0.01177978515625, 0.028076171875, 0.0235595703125, 0.0025634765625, 0.005615234375, -0.01422119140625, -...
[ 360, 563, 4904, 3642, 64549, 17164, 5303, 678, 25512, 70059, 142424, 1238, 3949, 3742, 21672, 163612, 2992, 86291, 12353, 31384, 10, 41591, 765, 3445, 237, 3444, 28282, 111, 805, 35782, 149766, 9351, 581, 139666, 214552, 11249, 16940, 114551 ...
[ 0.052154541015625, 0.1650390625, 0.2384033203125, 0.06719970703125, 0.2125244140625, 0.220947265625, 0.2225341796875, 0.1142578125, 0.175048828125, 0.280517578125, 0.15869140625, 0.0784912109375, 0.00714111328125, 0.1202392578125, 0.060791015625, 0.0709228515625, 0.0413818359375, 0...
embed
60365900_c0
60365900
fsharp
0
Title: How can I use a symbols in my own definition of list Problem title: How can I use a symbols in my own definition of list Tags: f%23 Problem: How can I use a symbols in my own definition of list I have my own definition of list, that replaces [] by Empty , :: by Cons , and @ by ++ . How can I use similar symbols ...
How can I use a symbols in my own definition of list How can I use a symbols in my own definition of list f%23 How Empty Cons MyList How can I use a symbols in my own definition of list I have my own definition of list, that replaces [] by Empty , :: by Cons , and @ by ++ . How can I use similar symbols like these ( []...
[ -0.01513671875, -0.006317138671875, 0.011962890625, 0.0201416015625, -0.0025634765625, 0.000698089599609375, -0.01904296875, 0.01385498046875, 0.0140380859375, -0.01385498046875, 0.0213623046875, -0.0208740234375, 0.0159912109375, 0.01043701171875, 0.01141357421875, 0.0087890625, 0.0...
[ 11249, 831, 87, 4527, 26582, 7, 23, 759, 10002, 80934, 111, 5303, 10, 1238, 3742, 31678, 939, 39215, 2646, 154663, 91995, 378, 1984, 1374, 37223, 21373 ]
[ 0.03656005859375, 0.05206298828125, 0.010223388671875, 0.126953125, 0.23193359375, 0.09130859375, 0.04754638671875, 0.07958984375, 0.161376953125, 0.1708984375, 0.04376220703125, 0.2103271484375, 0.016387939453125, 0.0313720703125, 0.080078125, 0.135986328125, 0.1292724609375, 0.18...
embed
40254694_c0
40254694
fsharp
0
Title: f# flattening a 2d array to 1d array Problem title: f# flattening a 2d array to 1d array Tags: f%23 Problem: f# flattening a 2d array to 1d array How do you flatten a 2d array to a 1d array by appending each row to the one above? My problem is not understanding how to use map to do this as other functional langu...
f# flattening a 2d array to 1d array f# flattening a 2d array to 1d array f%23 Array2D.init Color.Black Color.Red f# flattening a 2d array to 1d array How do you flatten a 2d array to a 1d array by appending each row to the one above? My problem is not understanding how to use map to do this as other functional languag...
[ 0.00173187255859375, 0.0220947265625, -0.00897216796875, 0.00433349609375, -0.010986328125, -0.002105712890625, -0.0050048828125, 0.0152587890625, -0.0028839111328125, -0.004302978515625, -0.00128173828125, 0.008056640625, 0.0026397705078125, 0.00860595703125, -0.01556396484375, -0.006...
[ 1238, 4904, 49878, 67, 592, 116, 71, 10298, 53, 47, 106, 3742, 69253, 304, 397, 217, 51193, 97732, 80852, 54, 510, 10, 1747, 96819, 12638, 15555, 36917, 100094, 4527, 22288, 123309, 46876, 62346, 33657, 21373, 9351, 3688, 32354, 30646, 10...
[ 0.0980224609375, 0.20361328125, 0.222900390625, 0.148681640625, 0.03607177734375, 0.1419677734375, 0.10443115234375, 0.17822265625, 0.143310546875, 0.150634765625, 0.1036376953125, 0.045562744140625, 0.1236572265625, 0.05572509765625, 0.0660400390625, 0.000762939453125, 0.09808349609...
embed
15822920_c0
15822920
fsharp
0
Title: F# join with IQueryable Problem title: F# join with IQueryable Tags: f%23, f%23-3.0, type-providers Problem: F# join with IQueryable I am experimenting with using F# query expression to retrieve data from database. For the following code: 1 let q = query{ 2 for i in dataContext.Incident do 3 select i 4 } 5 6 let...
F# join with IQueryable F# join with IQueryable f%23 f%23-3.0 type-providers IQueryable dataContext.Incident i.IncidentId i2.IncidentId F# join with IQueryable I am experimenting with using F# query expression to retrieve data from database. For the following code: I am getting error as Incorrect syntax for join at lin...
[ -0.00830078125, 0.008056640625, 0.0108642578125, -0.004638671875, -0.004364013671875, 0.0106201171875, -0.017333984375, 0.01397705078125, -0.0064697265625, -0.06298828125, 0.005157470703125, 0.01263427734375, 0.0157470703125, -0.0240478515625, 0.004852294921875, 0.01019287109375, -0....
[ 563, 4904, 33284, 678, 87, 41732, 1294, 2886, 1238, 3742, 27495, 132265, 10644, 93136, 14202, 2053, 22829, 36079, 17, 71, 5442, 28007, 17368, 41, 125195, 456, 3996, 3134, 1295, 63399, 25632, 18151, 20949, 18499, 237, 360, 32399, 15390, 6002...
[ 0.1646728515625, 0.179443359375, 0.2291259765625, 0.1357421875, 0.1259765625, 0.16162109375, 0.13134765625, 0.218994140625, 0.0841064453125, 0.10211181640625, 0.083740234375, 0.1400146484375, 0.133056640625, 0.161865234375, 0.03155517578125, 0.09228515625, 0.1025390625, 0.141235351...
embed
58718901_c0
58718901
fsharp
0
Title: How to recursively get scalar value from 2 lists? Problem title: How to recursively get scalar value from 2 lists? Tags: f%23, recursion Problem: How to recursively get scalar value from 2 lists? The task is to get scalar value from 2 lists recursively. I wrote the code that I think should work, but I am having ...
How to recursively get scalar value from 2 lists? How to recursively get scalar value from 2 lists? f%23 recursion 2 How scalar2 h1::t1 h2::t2 How to recursively get scalar value from 2 lists? The task is to get scalar value from 2 lists recursively. I wrote the code that I think should work, but I am having some type ...
[ -0.01031494140625, 0.0081787109375, 0.005096435546875, 0.01104736328125, 0.00335693359375, 0.0089111328125, 0.00628662109375, 0.00872802734375, 0.01434326171875, -0.004608154296875, 0.0157470703125, -0.00714111328125, -0.0179443359375, -0.00927734375, 0.0198974609375, -0.0228271484375,...
[ 11249, 47, 195625, 5844, 538, 2046, 146232, 42, 34292, 1295, 116, 5303, 7, 1238, 3742, 1830, 304, 1096, 82825, 18, 418, 66211, 18151, 5351, 4488, 10644, 2967, 18499, 10461, 11567, 14437, 186, 23, 661, 86869 ]
[ 0.049713134765625, 0.0266571044921875, 0.192626953125, 0.1661376953125, 0.064208984375, 0.11083984375, 0.18701171875, 0.181396484375, 0.229736328125, 0.1041259765625, 0.1624755859375, 0.2042236328125, 0.056060791015625, 0.020111083984375, 0.10296630859375, 0.06610107421875, 0.1622314...
embed
11000356_c0
11000356
fsharp
0
Title: Can the Brace Matching colors be customized in F#? Problem title: Can the Brace Matching colors be customized in F#? Tags: f%23, visual-studio-2012 Problem: Can the Brace Matching colors be customized in F#? In Visual Studio 2012 RC with the Dark color theme, the C# editor honors the color settings Brace Matchin...
Can the Brace Matching colors be customized in F#? Can the Brace Matching colors be customized in F#? f%23 visual-studio-2012 Can Brace Matching Highlight Rectangle visual-studio-2012 Can the Brace Matching colors be customized in F#? In Visual Studio 2012 RC with the Dark color theme, the C# editor honors the color se...
[ -0.021484375, 0.0191650390625, -0.007598876953125, -0.004974365234375, 0.03173828125, 0.01531982421875, -0.0196533203125, 0.018310546875, -0.005615234375, 0.047607421875, 0.0208740234375, 0.025146484375, -0.0007476806640625, -0.00738525390625, 0.01275634765625, -0.0234375, -0.0123291...
[ 4171, 6163, 329, 67407, 214, 104988, 178036, 297, 563, 4904, 23, 1238, 21176, 52629, 54458, 132951, 14525, 133, 73372, 22968, 1324, 81135, 49721, 10576, 73986, 30391, 20338, 53550, 163025, 20016, 24762, 109217, 14858, 2844, 5170, 127308, 110518...
[ 0.04302978515625, 0.1947021484375, 0.11376953125, 0.1966552734375, 0.081298828125, 0.1619873046875, 0.1837158203125, 0.006805419921875, 0.1141357421875, 0.1865234375, 0.01153564453125, 0.010986328125, 0.10009765625, 0.100830078125, 0.1190185546875, 0.1798095703125, 0.0972900390625, ...
embed
35190168_c0
35190168
fsharp
0
Title: Excel Type Provider Error Problem title: Excel Type Provider Error Tags: type-providers, f%23, excel Problem: Excel Type Provider Error I have tried to use the Excel Type Provider located here but it seems to throw the following error? Referenced assembly 'C:\Projects2012\DBA Projects\CustomerCountAnalysis\Custo...
Excel Type Provider Error Excel Type Provider Error type-providers f%23 excel Excel Type Provider Error Excel Type Provider Error I have tried to use the Excel Type Provider located here but it seems to throw the following error? Is there any way to fix this? Full screenshot of the error in Visual Studio can be seen be...
[ 0.0255126953125, 0.0240478515625, -0.0111083984375, 0.01611328125, -0.00860595703125, 0.00604248046875, -0.0186767578125, -0.0164794921875, -0.01312255859375, -0.0157470703125, -0.00787353515625, -0.01165771484375, 0.0233154296875, -0.00128173828125, 0.0205078125, 0.00148773193359375, ...
[ 30326, 60457, 123089, 42, 212059, 10644, 93136, 14202, 1238, 3949, 3742, 64152, 37842, 4527, 105866, 3688, 1284, 37202, 104250, 25632, 18499, 3917, 30022, 9312, 209647, 73372, 22968, 831, 51592, 35064 ]
[ 0.20361328125, 0.230712890625, 0.189453125, 0.1292724609375, 0.1466064453125, 0.194091796875, 0.171630859375, 0.09808349609375, 0.0758056640625, 0.083251953125, 0.1484375, 0.160400390625, 0.0557861328125, 0.0655517578125, 0.0865478515625, 0.04205322265625, 0.004150390625, 0.0286407...
embed
39875837_c1
39875837
fsharp
1
(zipFile |> Seq.forall(fun x -> (x.FileName = "alpha") || (x.FileName = "beta"))) static member LoadFile(filePath:String) = if not <| ZipFile.IsZipFile(filePath) then None else use zipFile = new ZipFile(filePath) if not <| Parser.isValidZipFile(zipFile) then None else Some(seq { for zipEntry in zipFile do yield Parser...
(zipFile |> Seq.forall(fun x -> (x.FileName = "alpha") || (x.FileName = "beta"))) static member LoadFile(filePath:String) = if not <| ZipFile.IsZipFile(filePath) then None else use zipFile = new ZipFile(filePath) if not <| Parser.isValidZipFile(zipFile) then None else Some(seq { for zipEntry in zipFile do yield Parser...
[ 0.036865234375, 0.01611328125, -0.0019378662109375, 0.02880859375, -0.0263671875, 0.01123046875, -0.005340576171875, 0.001434326171875, 0.01123046875, -0.006256103515625, -0.0115966796875, -0.0045166015625, -0.00933837890625, 0.00262451171875, 0.00653076171875, 0.022216796875, -0.008...
[ 15, 50836, 174350, 503, 864, 2472, 5584, 16498, 1022, 33079, 425, 163612, 289, 14612, 59865, 32149, 201939, 32786, 2091, 712, 29822, 683, 10519, 71713, 214, 2174, 959, 162150, 29598, 1511, 3442, 438, 37076, 4527, 68330, 3525, 2392, 2189, 16...
[ 0.022369384765625, 0.2322998046875, 0.267333984375, 0.0936279296875, 0.1846923828125, 0.0232696533203125, 0.1676025390625, 0.1546630859375, 0.06329345703125, 0.036834716796875, 0.019927978515625, 0.07470703125, 0.034210205078125, 0.1646728515625, 0.204345703125, 0.0258331298828125, 0...
embed
41884080_c0
41884080
fsharp
0
Title: Consume WSDL Web Service with F# .Net core Problem title: Consume WSDL Web Service with F# .Net core Tags: wsdl, fsharp.data.typeproviders, f%23, .net-core, c%23 Problem: Consume WSDL Web Service with F# .Net core There is possible to use F# with .net core to consume a SOAP Web service, with authentication by .p...
Consume WSDL Web Service with F# .Net core Consume WSDL Web Service with F# .Net core wsdl fsharp.data.typeproviders f%23 .net-core c%23 Consume WSDL Web Service Net fsharp.data.typeproviders Consume WSDL Web Service with F# .Net core There is possible to use F# with .net core to consume a SOAP Web service, with authen...
[ 0.0029144287109375, 0.0235595703125, -0.00408935546875, 0.0267333984375, 0.00116729736328125, -0.014892578125, -0.01556396484375, 0.017333984375, -0.01361083984375, -0.01123046875, -0.01708984375, 0.0172119140625, -0.00176239013671875, 0.000835418701171875, 0.01806640625, -0.0074768066...
[ 76980, 13, 52143, 27502, 4002, 12349, 678, 563, 4904, 24447, 56458, 148, 7, 20469, 1238, 89280, 254, 10135, 50986, 93136, 3742, 1179, 30854, 10086, 7722, 4527, 5, 47, 18588, 15969, 15383, 4516, 195734, 39557, 425, 163769, 78506, 765, 5303, ...
[ 0.2008056640625, 0.0662841796875, 0.15625, 0.222900390625, 0.1697998046875, 0.15869140625, 0.16015625, 0.15673828125, 0.260498046875, 0.15625, 0.2310791015625, 0.072021484375, 0.04949951171875, 0.1614990234375, 0.072509765625, 0.13037109375, 0.07806396484375, 0.033294677734375, 0...
embed
52031974_c0
52031974
fsharp
0
Title: F# Convert to literal runtime-provided type Problem title: F# Convert to literal runtime-provided type Tags: type-conversion, f%23 Problem: F# Convert to literal runtime-provided type Said another way, if I want a fully generic function, how do I ensure compile-/run-time conversion between numeric types. For exa...
F# Convert to literal runtime-provided type F# Convert to literal runtime-provided type type-conversion f%23 Convert Type Convert.ChangeType F# Convert to literal runtime-provided type Said another way, if I want a fully generic function, how do I ensure compile-/run-time conversion between numeric types. For example: ...
[ -0.00970458984375, -0.02001953125, -0.0103759765625, 0.02197265625, -0.0111083984375, -0.0093994140625, -0.0198974609375, 0.006317138671875, 0.00099945068359375, -0.01544189453125, -0.007659912109375, 0.0022430419921875, -0.0107421875, 0.00677490234375, 0.00927734375, -0.009033203125, ...
[ 563, 4904, 1657, 11549, 47, 15659, 289, 11675, 6032, 93136, 48141, 10644, 2271, 46354, 1238, 3742, 60457, 127008, 196707, 3444, 89554, 189534, 32354, 3642, 63284, 9969, 1340, 16428, 142477, 17721, 54744, 52895, 191082, 41591, 23, 18, 6637, 70...
[ 0.1295166015625, 0.236328125, 0.03070068359375, 0.1622314453125, 0.101318359375, 0.14404296875, 0.07568359375, 0.0885009765625, 0.1256103515625, 0.1168212890625, 0.098876953125, 0.2093505859375, 0.058624267578125, 0.1309814453125, 0.0755615234375, 0.09716796875, 0.2305908203125, 0....
embed
42498772_c0
42498772
fsharp
0
Title: how to convert DateTime into Unix TimeStamp in F#? Problem title: how to convert DateTime into Unix TimeStamp in F#? Tags: f%23, datetime, unix-timestamp Problem: how to convert DateTime into Unix TimeStamp in F#? is there a function / library / easy snippet doing that ? I've found answers for Python for example...
how to convert DateTime into Unix TimeStamp in F#? how to convert DateTime into Unix TimeStamp in F#? f%23 datetime unix-timestamp DateTime Unix TimeStamp System timestamp:int DateTimeKind.Utc start.AddSeconds ToLocalTime how to convert DateTime into Unix TimeStamp in F#? is there a function / library / easy snippet do...
[ 0.0079345703125, 0.010986328125, 0.02001953125, -0.00628662109375, -0.017333984375, -0.0274658203125, 0.01141357421875, 0.011474609375, -0.00836181640625, -0.0537109375, 0.0118408203125, 0.031982421875, 0.0004215240478515625, 0.026611328125, -0.00167083740234375, -0.0079345703125, 0....
[ 3642, 47, 96760, 25512, 70059, 3934, 992, 4084, 19055, 42378, 2676, 23, 563, 4904, 1238, 3742, 5622, 6032, 51, 590, 12353, 1733, 4288, 7250, 4034, 4028, 2271, 203758, 32354, 35773, 23468, 93, 58134, 35166, 145581, 17447 ]
[ 0.0770263671875, 0.04840087890625, 0.16357421875, 0.17626953125, 0.27294921875, 0.1253662109375, 0.1396484375, 0.153076171875, 0.1180419921875, 0.169921875, 0.173828125, 0.0609130859375, 0.127685546875, 0.2215576171875, 0.06463623046875, 0.1151123046875, 0.107421875, 0.176635742187...
embed
54891604_c0
54891604
fsharp
0
Title: F#: Two Dimensional Array - Generate all possible binary combinations Problem title: F#: Two Dimensional Array - Generate all possible binary combinations Tags: matrix, f%23, permutation Problem: F#: Two Dimensional Array - Generate all possible binary combinations What approach would you use to generate the set...
F#: Two Dimensional Array - Generate all possible binary combinations F#: Two Dimensional Array - Generate all possible binary combinations matrix f%23 permutation Two Dimensional Array Generate Array2D.init F#: Two Dimensional Array - Generate all possible binary combinations What approach would you use to generate th...
[ 0.007568359375, 0.024658203125, -0.0076904296875, -0.005279541015625, 0.005859375, 0.006256103515625, -0.016845703125, -0.0013427734375, 0.004852294921875, 0.0035858154296875, -0.01397705078125, 0.010498046875, 0.016845703125, 0.01171875, -0.0181884765625, -0.00469970703125, 0.025024...
[ 563, 4904, 32964, 161202, 289, 69253, 53, 155370, 67, 756, 7722, 2394, 6635, 162515, 12, 50944, 1238, 3949, 3742, 117, 561, 304, 397, 51515, 4527, 139392, 5423, 541, 425, 839, 5170, 70541, 4734, 45234, 136, 64333, 33636, 117781, 3714, 741...
[ 0.1279296875, 0.195068359375, 0.125244140625, 0.1539306640625, 0.03753662109375, 0.123779296875, 0.1048583984375, 0.154296875, 0.055816650390625, 0.085693359375, 0.1280517578125, 0.1417236328125, 0.0938720703125, 0.20751953125, 0.01116943359375, 0.1685791015625, 0.0762939453125, 0....
embed
34070408_c0
34070408
fsharp
0
Title: F# FAKE WixHelper use fileFilter Problem title: F# FAKE WixHelper use fileFilter Tags: f%23-fake, f%23 Problem: F# FAKE WixHelper use fileFilter Looking at the WixHelper for F# documentation it looks like I can pass in a -filter parameter. I am still learning F# and I can't figure out how this method is supposed...
F# FAKE WixHelper use fileFilter F# FAKE WixHelper use fileFilter f%23-fake f%23 FAKE WixHelper DirectoryInfo SetupFiles F# FAKE WixHelper use fileFilter Looking at the WixHelper for F# documentation it looks like I can pass in a -filter parameter. I am still learning F# and I can't figure out how this method is suppos...
[ -0.01080322265625, 0.021240234375, -0.01708984375, -0.01531982421875, -0.03466796875, 0.01300048828125, 0.0101318359375, -0.043212890625, -0.00087738037109375, 0.00482177734375, 0.003143310546875, 0.034912109375, 0.00750732421875, -0.00078582763671875, 0.005096435546875, -0.00045013427...
[ 563, 4904, 119960, 5140, 425, 60785, 1264, 4527, 11435, 919, 379, 720, 1238, 27495, 1021, 350, 3742, 31068, 93147, 19943, 174350, 209806, 33342, 831, 27875, 23, 20, 120337, 171859, 52080, 26366, 55300, 134598, 4488, 32102, 89280, 17647, 10482...
[ 0.1455078125, 0.2059326171875, 0.209716796875, 0.14501953125, 0.11083984375, 0.19482421875, 0.1632080078125, 0.0718994140625, 0.1390380859375, 0.14453125, 0.2255859375, 0.1737060546875, 0.05572509765625, 0.027099609375, 0.15087890625, 0.0712890625, 0.0914306640625, 0.03091430664062...
embed
18894164_c0
18894164
fsharp
0
Title: F# List of random numbers concatenated Problem title: F# List of random numbers concatenated Tags: f%23 Problem: F# List of random numbers concatenated Can someone tell me why this works let createRandomList = List.init 9 (fun _ -> randomNumberGenerator.Next(0,9)) let concatRandomList = createRandomList |> Seq.m...
F# List of random numbers concatenated F# List of random numbers concatenated f%23 List List.init randomNumberGenerator.Next Seq.map String.concat F# List of random numbers concatenated Can someone tell me why this works and this does not? I am getting an "Incomplete value or function definition" on the second code blo...
[ 0.024658203125, -0.006072998046875, 0.003753662109375, 0.004638671875, 0.007110595703125, 0.00823974609375, 0.0169677734375, -0.0027618408203125, 0.007232666015625, -0.0299072265625, -0.007476806640625, -0.0057373046875, 0.0020751953125, 0.021240234375, 0.0032806396484375, -0.011108398...
[ 563, 4904, 32036, 96759, 101935, 158, 4460, 33, 27686, 1238, 3742, 217, 18444, 26278, 105376, 56, 4597, 81280, 864, 62346, 23351, 2271, 22008, 14192, 163, 15400, 903, 43240, 136, 14602, 959, 20949, 4153, 277, 131801, 34292, 707, 32354, 8093...
[ 0.09210205078125, 0.17041015625, 0.13818359375, 0.158935546875, 0.1580810546875, 0.0924072265625, 0.2000732421875, 0.0821533203125, 0.03790283203125, 0.06378173828125, 0.10003662109375, 0.007965087890625, 0.05584716796875, 0.04119873046875, 0.07684326171875, 0.0963134765625, 0.081542...
embed
35026059_c1
35026059
fsharp
1
let result = new XmlDocument.Doc(acc.Assembly, members) printf "result ------------------- %A --------------------" result result let joinedDocs = xmlPaths |> List.fold (joinXmlDocuments) seed let xml = joinedDocs.XElement.ToString() File.WriteAllText(outFile, xml) Code signals: XML, Type, Provider, Create, Object, Fa...
let result = new XmlDocument.Doc(acc.Assembly, members) printf "result ------------------- %A --------------------" result result let joinedDocs = xmlPaths |> List.fold (joinXmlDocuments) seed let xml = joinedDocs.XElement.ToString() File.WriteAllText(outFile, xml) Code signals: XML, Type, Provider, Create, Object, Fa...
[ 0.0194091796875, 0.023681640625, -0.011474609375, 0.004425048828125, -0.01220703125, 0.0167236328125, -0.017822265625, -0.004730224609375, -0.0052490234375, -0.028076171875, 0.0146484375, 0.003387451171875, 0.004364013671875, 0.0130615234375, 0.0172119140625, -0.01708984375, 0.000938...
[ 2633, 16750, 2203, 3525, 1193, 7237, 239469, 8331, 238, 10060, 89845, 38526, 43032, 28412, 420, 2109, 7136, 103428, 1745, 284, 112111, 33284, 297, 4439, 131492, 683, 10519, 32036, 42822, 513, 73, 1542, 40, 19929, 7763, 71713, 42724, 18781, ...
[ 0.12158203125, 0.2252197265625, 0.017120361328125, 0.08544921875, 0.1077880859375, 0.207275390625, 0.224853515625, 0.154541015625, 0.0745849609375, 0.0875244140625, 0.1549072265625, 0.1092529296875, 0.20556640625, 0.1661376953125, 0.0665283203125, 0.149658203125, 0.2142333984375, 0...
embed
12331538_c0
12331538
fsharp
0
Title: Let and construct versus let in sequence Problem title: Let and construct versus let in sequence Tags: coding-style, f%23, ocaml Problem: Let and construct versus let in sequence Consider this OCaml code: let coupe_inter i j cases = let lcases = Array.length cases in let low,_,_ = cases.(i) and _,high,_ = cases....
Let and construct versus let in sequence Let and construct versus let in sequence coding-style f%23 ocaml coupe_inter Array.length Array.sub case_append Let and construct versus let in sequence Consider this OCaml code: Why the expression let ... and ... in is used in place of a let ... in let ... in sequence (like F# ...
[ 0.0009765625, 0.001983642578125, -0.0091552734375, 0.0238037109375, 0.021728515625, -0.01397705078125, -0.018310546875, 0.01336669921875, 0.0146484375, -0.00885009765625, -0.002227783203125, 0.0233154296875, -0.0032958984375, 0.02099609375, 0.0089111328125, -0.0189208984375, 0.013671...
[ 10842, 136, 64549, 119475, 2633, 23, 40, 944, 3956, 552, 6238, 40946, 1238, 3742, 36, 9779, 141, 14974, 13, 10433, 69253, 53, 23986, 22144, 7225, 180, 105272, 18151, 44084, 125195, 153, 11814, 3687, 111, 563, 4904, 37772, 398, 47, 54, 3...
[ 0.2032470703125, 0.18310546875, 0.253662109375, 0.2073974609375, 0.223388671875, 0.216796875, 0.0709228515625, 0.1353759765625, 0.01824951171875, 0.0887451171875, 0.031646728515625, 0.1240234375, 0.035552978515625, 0.098388671875, 0.04705810546875, 0.1025390625, 0.130859375, 0.0976...
embed
64587838_c0
64587838
fsharp
0
Title: How to run a Canopy test suite with xUnit? Problem title: How to run a Canopy test suite with xUnit? Tags: xunit, ui-testing, f%23, canopy-web-testing Problem: How to run a Canopy test suite with xUnit? I decided to use canopy framework to test my UI. Most of the examples include either built-in assertion framew...
How to run a Canopy test suite with xUnit? How to run a Canopy test suite with xUnit? xunit ui-testing f%23 canopy-web-testing How Canopy How to run a Canopy test suite with xUnit? I decided to use canopy framework to test my UI. Most of the examples include either built-in assertion framework or Expecto . Which are bo...
[ 0.0030975341796875, 0.01953125, -0.0089111328125, -0.005279541015625, -0.02001953125, -0.0054931640625, 0.0262451171875, 0.003662109375, 0.01287841796875, -0.009521484375, -0.017578125, 0.045654296875, 0.0135498046875, -0.002960205078125, 0.0198974609375, 0.006103515625, -0.000530242...
[ 11249, 47, 11675, 4171, 2146, 53, 3034, 14947, 678, 1022, 85600, 18, 10438, 6773, 75, 14, 6954, 3742, 831, 14051, 10, 4527, 170846, 111481, 27781, 88303, 16865, 60075, 60751, 4127, 44126, 219743, 13452, 3444, 61514, 5036, 70541, 6626, 62822...
[ 0.06866455078125, 0.013885498046875, 0.1541748046875, 0.1292724609375, 0.1995849609375, 0.18359375, 0.221435546875, 0.210693359375, 0.115966796875, 0.1199951171875, 0.2376708984375, 0.143798828125, 0.0582275390625, 0.1658935546875, 0.009246826171875, 0.040985107421875, 0.162475585937...
embed
66445713_c0
66445713
fsharp
0
Title: how to set up Suave to access a post message on any route, and binding to &quot;*&quot; Problem title: how to set up Suave to access a post message on any route, and binding to &quot;*&quot; Tags: suave, f%23 Problem: how to set up Suave to access a post message on any route, and binding to "*" I need to set up ...
how to set up Suave to access a post message on any route, and binding to &quot;*&quot; how to set up Suave to access a post message on any route, and binding to &quot;*&quot; suave f%23 Suave how to set up Suave to access a post message on any route, and binding to "*" I need to set up a service that need to accept PO...
[ 0.01361083984375, -0.00058746337890625, -0.003662109375, 0.0181884765625, 0.00970458984375, 0.017578125, 0.00787353515625, 0.007354736328125, 0.0123291015625, -0.051513671875, 0.017333984375, 0.0078125, 0.0037384033203125, -0.0028533935546875, 0.00142669677734375, 0.0272216796875, -0...
[ 3642, 5423, 1257, 45384, 272, 47, 17203, 1305, 26008, 98, 2499, 36439, 128239, 1639, 109829, 1238, 3742, 3871, 4516, 26946, 81903, 89914, 93333, 8021, 1467, 10723, 178463, 58837, 36279, 5303, 4000, 72546, 15190, 427, 129884, 102014, 134234, 1...
[ 0.091552734375, 0.1583251953125, 0.1370849609375, 0.262451171875, 0.281982421875, 0.059356689453125, 0.184814453125, 0.1461181640625, 0.1416015625, 0.01104736328125, 0.10107421875, 0.19873046875, 0.2039794921875, 0.1378173828125, 0.296630859375, 0.06597900390625, 0.103515625, 0.024...
embed
62126513_c1
62126513
fsharp
1
= oarr.GetType() if ty.HasElementType && ty.BaseType = typeof<System.Array> then let ety = ty.GetElementType() let meth = typeof<ArrayOps>.GetMethod("count").MakeGenericMethod([| ety |]) let count = meth.Invoke(null, [| oarr |]) :?> int Some count else None My question: is there a way to use functions such as Array.co...
= oarr.GetType() if ty.HasElementType && ty.BaseType = typeof<System.Array> then let ety = ty.GetElementType() let meth = typeof<ArrayOps>.GetMethod("count").MakeGenericMethod([| ety |]) let count = meth.Invoke(null, [| oarr |]) :?> int Some count else None My question: is there a way to use functions such as Array.co...
[ 0.0137939453125, 0.005889892578125, -0.005401611328125, 0.00152587890625, 0.00445556640625, -0.0208740234375, -0.0032501220703125, 0.00677490234375, 0.019775390625, -0.0157470703125, -0.0142822265625, -0.018310546875, 0.0076904296875, 0.002716064453125, 0.00811767578125, -0.03662109375...
[ 36, 147, 42, 724, 126, 196707, 2281, 6495, 19929, 63473, 10644, 4390, 84293, 7614, 7092, 53, 435, 127, 39029, 78572, 7352, 71013, 135932, 54529, 23253, 139550, 31384, 37076, 438, 3917, 4527, 32354, 69253, 22144, 98, 10750, 3173, 16530, 8085...
[ 0.04571533203125, 0.09033203125, 0.100341796875, 0.019073486328125, 0.04852294921875, 0.2244873046875, 0.1016845703125, 0.05279541015625, 0.130859375, 0.07421875, 0.115966796875, 0.1494140625, 0.06121826171875, 0.014495849609375, 0.1026611328125, 0.053680419921875, 0.142578125, 0.1...
embed
27160166_c1
27160166
fsharp
1
changes remove the error. But it isn't that easy in the actual use case, especially when I don't know whether a change fixes the error before I try it. I'd be happy about any hints on this. What causes it? Is it a bug, and if so, is it known? How can it be avoided? Versions This was tested with versions from 3.0 to 3....
changes remove the error. But it isn't that easy in the actual use case, especially when I don't know whether a change fixes the error before I try it. I'd be happy about any hints on this. What causes it? Is it a bug, and if so, is it known? How can it be avoided? Versions This was tested with versions from 3.0 to 3....
[ -0.01434326171875, 0.00189208984375, -0.004852294921875, 0.003448486328125, 0.000946044921875, -0.004974365234375, -0.0172119140625, 0.005126953125, 0.00157928466796875, -0.007354736328125, -0.007293701171875, 0.00015544891357421875, 0.0224609375, 0.01806640625, 0.036865234375, -0.0018...
[ 65572, 87388, 70, 18499, 56112, 18, 23468, 8561, 4527, 7225, 3714, 10, 15549, 71403, 8108, 9790, 17723, 5122, 113660, 442, 54608, 51529, 71864, 40647, 3293, 3034, 11389, 17596, 1031, 48400, 563, 4904, 20600, 73372, 22968, 1210, 66069, 79737, ...
[ 0.282958984375, 0.184326171875, 0.0772705078125, 0.252197265625, 0.03253173828125, 0.0309295654296875, 0.0986328125, 0.06396484375, 0.04290771484375, 0.03802490234375, 0.0802001953125, 0.007110595703125, 0.232421875, 0.1243896484375, 0.054962158203125, 0.10565185546875, 0.01281738281...
embed