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
38006427_c0
38006427
fsharp
0
Title: Building a microservices application on. Net? Problem title: Building a microservices application on. Net? Tags: microservices, f%23, .net Problem: Building a microservices application on. Net? I plan to build an internal application for my company and want to implement it in micro services. All the servers in m...
Building a microservices application on. Net? Building a microservices application on. Net? microservices f%23 .net Building Net Building a microservices application on. Net? I plan to build an internal application for my company and want to implement it in micro services. All the servers in my company is Windows serve...
[ -0.020751953125, 0.00994873046875, 0.000621795654296875, 0.0081787109375, -0.01263427734375, 0.00543212890625, 0.003570556640625, 0.00531005859375, -0.01165771484375, 0.0113525390625, 0.015625, -0.0068359375, 0.0220947265625, 0.0301513671875, 0.0025634765625, 0.03125, -0.0126953125, ...
[ 104919, 10, 11948, 22584, 7, 38415, 98, 5, 10086, 32, 1238, 3949, 3742, 1179, 87, 1774, 45367, 70796, 100, 759, 14380, 3444, 29479, 23, 11374, 3164, 10723, 83, 3773, 47644, 17368, 237, 254, 56458, 3021, 4127, 27781, 19882, 8562, 51216, ...
[ 0.202392578125, 0.027099609375, 0.1806640625, 0.241455078125, 0.068359375, 0.1917724609375, 0.1710205078125, 0.099609375, 0.2353515625, 0.060791015625, 0.033111572265625, 0.0192108154296875, 0.05828857421875, 0.2369384765625, 0.00335693359375, 0.09423828125, 0.1492919921875, 0.1613...
embed
39706684_c0
39706684
fsharp
0
Title: F# Get Database column names and data types Problem title: F# Get Database column names and data types Tags: f%23, sql, database-metadata Problem: F# Get Database column names and data types I'm working with 2 databases, both contain the same tables, but there's some differences in the data. I'm wondering if the...
F# Get Database column names and data types F# Get Database column names and data types f%23 sql database-metadata Get Database F# Get Database column names and data types I'm working with 2 databases, both contain the same tables, but there's some differences in the data. I'm wondering if there's a way to get the name...
[ 0.031494140625, -0.00146484375, -0.007110595703125, 0.041259765625, -0.0185546875, 0.01055908203125, -0.01171875, -0.00927734375, -0.009521484375, -0.00897216796875, 0.005615234375, -0.00689697265625, -0.01068115234375, -0.005889892578125, -0.031494140625, 0.00830078125, 0.0007019042...
[ 563, 4904, 20779, 187781, 3365, 316, 123055, 136, 2053, 52895, 1238, 3742, 91, 99247, 63399, 35273, 10135, 19, 20697, 678, 116, 15044, 70541, 5701, 23180, 3060, 60212, 70, 149016, 10, 3917, 47, 2046, 1779, 23, 7068, 15190, 12638, 5303, 14...
[ 0.096923828125, 0.18310546875, 0.1273193359375, 0.210205078125, 0.15576171875, 0.170166015625, 0.180419921875, 0.123046875, 0.114013671875, 0.22705078125, 0.01068115234375, 0.07763671875, 0.0108642578125, 0.1903076171875, 0.1883544921875, 0.1087646484375, 0.09912109375, 0.001007080...
embed
43492479_c1
43492479
fsharp
1
" value="Log ind" /> <input type="hidden" name="redirect_to" value="https://aamansasns.asdasddk/wp-admin/admiadasdad" /> <input type="hidden" name="testcookie" value="1" /> </p> Can someone please guide me on how to reach the last step? Code signals: WebRequest, How, Log, Website, System.Net.WebRequest.Create, System.U...
" value="Log ind" /> <input type="hidden" name="redirect_to" value="https://aamansasns.asdasddk/wp-admin/admiadasdad" /> <input type="hidden" name="testcookie" value="1" /> </p> Can someone please guide me on how to reach the last step? Code signals: WebRequest, How, Log, Website, System.Net.WebRequest.Create, System.U...
[ -0.007415771484375, 0.042236328125, -0.0198974609375, -0.01708984375, -0.0072021484375, 0.0016021728515625, 0.00011205673217773438, -0.0038299560546875, 0.004913330078125, -0.0257568359375, 0.004913330078125, -0.0069580078125, -0.016845703125, 0.01068115234375, -0.005096435546875, -0.0...
[ 34292, 113972, 2752, 73, 7077, 10644, 15080, 555, 107, 80581, 188, 4397, 11, 21071, 15796, 1779, 162, 1124, 4028, 92, 64, 73547, 135087, 712, 266, 8397, 12409, 6954, 212087, 57433, 2740, 4171, 22008, 22936, 17997, 163, 3642, 47, 58359, 45...
[ 0.078369140625, 0.17578125, 0.2440185546875, 0.1358642578125, 0.1563720703125, 0.0968017578125, 0.02752685546875, 0.096435546875, 0.052734375, 0.253662109375, 0.1380615234375, 0.01611328125, 0.05548095703125, 0.1466064453125, 0.1151123046875, 0.1956787109375, 0.109130859375, 0.0924...
embed
4860991_c0
4860991
fsharp
0
Title: F# for scripting: location of script file Problem title: F# for scripting: location of script file Tags: scripting, f%23, f%23-scripting Problem: F# for scripting: location of script file In an F# script file (.fsx), how can I determine the location of the .fsx file currently executing? I'd like to resolve paths...
F# for scripting: location of script file F# for scripting: location of script file scripting f%23 f%23-scripting Assembly.GetExecutingAssembly CodeBase F# for scripting: location of script file In an F# script file (.fsx), how can I determine the location of the .fsx file currently executing? I'd like to resolve paths...
[ 0.0167236328125, 0.002532958984375, 0.005828857421875, 0.029541015625, -0.004119873046875, -0.0118408203125, 0.037841796875, 0.0015716552734375, -0.017822265625, -0.040771484375, 0.006622314453125, 0.0216064453125, -0.0150146484375, -0.01123046875, -0.002288818359375, 0.005462646484375...
[ 563, 4904, 100, 26499, 214, 31913, 111, 11435, 1238, 3742, 27495, 32032, 151169, 53, 724, 126, 211603, 89845, 38526, 28864, 63473, 5, 17447, 425, 3642, 831, 87, 83324, 70, 82424, 71924, 1884, 103608, 60875, 35845, 37842, 284, 114211, 4488, ...
[ 0.1143798828125, 0.1976318359375, 0.062042236328125, 0.22900390625, 0.10015869140625, 0.2135009765625, 0.096435546875, 0.1763916015625, 0.03997802734375, 0.05859375, 0.03985595703125, 0.1090087890625, 0.1763916015625, 0.0614013671875, 0.040679931640625, 0.034637451171875, 0.139648437...
embed
24285116_c0
24285116
fsharp
0
Title: Sharing types across F# .fsx files Problem title: Sharing types across F# .fsx files Tags: f%23 Problem: Sharing types across F# .fsx files Is there a way to share types across fsx files? When using #load to load the same file containing a type from multiple FSX files they seem to be prefixed into a different FS...
Sharing types across F# .fsx files Sharing types across F# .fsx files f%23 Sharing Sharing types across F# .fsx files Is there a way to share types across fsx files? When using #load to load the same file containing a type from multiple FSX files they seem to be prefixed into a different FS_00xx namespace each time, wh...
[ 0.0238037109375, 0.012939453125, -0.0194091796875, 0.018310546875, -0.0111083984375, -0.0230712890625, 0.006072998046875, -0.0014801025390625, 0.0142822265625, -0.0216064453125, -0.0072021484375, -0.00101470947265625, 0.00994873046875, 0.01165771484375, 0.006011962890625, 0.01940917968...
[ 26520, 214, 52895, 36880, 563, 4904, 5, 17447, 425, 102158, 1238, 3742, 2685, 10, 3917, 47, 12008, 7, 17368, 468, 63033, 72367, 5701, 11435, 70541, 10644, 48716, 182726, 48903, 183114, 3934, 12921, 93774, 7049, 52219, 210716, 12638, 1733, 8...
[ 0.19873046875, 0.04815673828125, 0.26171875, 0.1824951171875, 0.112548828125, 0.197998046875, 0.001983642578125, 0.14599609375, 0.1849365234375, 0.152099609375, 0.0770263671875, 0.07958984375, 0.0221710205078125, 0.017364501953125, 0.0687255859375, 0.0207366943359375, 0.2059326171875...
embed
56534179_c1
56534179
fsharp
1
clicking on Attemp button on page i get response Failed Exit Code 1 Expected: [[|75; 104|]; [|85; 96|]] Actual: [] But on my local PC prod2Sum 4 5 20 1 return proper result [[|75; 104|]; [|85; 96|]] The main question what I am doing wrong? How to improve this code? Thank you! Code signals: Codewars, Integers, Recreati...
clicking on Attemp button on page i get response Failed Exit Code 1 Expected: [[|75; 104|]; [|85; 96|]] Actual: [] But on my local PC prod2Sum 4 5 20 1 return proper result [[|75; 104|]; [|85; 96|]] The main question what I am doing wrong? How to improve this code? Thank you! Code signals: Codewars, Integers, Recreati...
[ -0.0152587890625, 0.017333984375, 0.0142822265625, -0.00653076171875, -0.00701904296875, 0.01318359375, -0.0159912109375, 0.005157470703125, 0.0289306640625, -0.008056640625, 0.026611328125, 0.006866455078125, 0.0029754638671875, -0.005767822265625, 0.0089111328125, 0.00946044921875, ...
[ 18158, 98, 1913, 34224, 77679, 9191, 17, 2046, 57553, 190355, 297, 5443, 217, 28864, 106, 60075, 13, 6873, 74, 30994, 12951, 13549, 100582, 4966, 4000, 6107, 502, 71, 304, 294, 316, 201, 190, 387, 30646, 27798, 16750, 5201, 9655, 444, 2...
[ 0.190673828125, 0.0256805419921875, 0.1495361328125, 0.28515625, 0.177734375, 0.1541748046875, 0.018890380859375, 0.030120849609375, 0.202392578125, 0.2149658203125, 0.05731201171875, 0.1552734375, 0.154296875, 0.216796875, 0.1075439453125, 0.156982421875, 0.165283203125, 0.2044677...
embed
826317_c0
826317
fsharp
0
Title: OrderBy ThenBy in F# Problem title: OrderBy ThenBy in F# Tags: sorting, linq, .net, f%23 Problem: OrderBy ThenBy in F# Is there any function in F# similar to LINQ fluent syntax for sorting by multiple expressions: myList.OrderBy(fun x->x.Something).ThenBy(fun x->x.SomethingElse) I'd love something like: myList |...
OrderBy ThenBy in F# OrderBy ThenBy in F# sorting linq .net f%23 OrderBy ThenBy myList.OrderBy x.Something x.SomethingElse Seq.sort_by Seq.then_by OrderBy ThenBy in F# Is there any function in F# similar to LINQ fluent syntax for sorting by multiple expressions: I'd love something like: Thx
[ 0.0111083984375, 0.015625, -0.006683349609375, -0.00567626953125, -0.0033111572265625, -0.00579833984375, 0.01007080078125, -0.00147247314453125, 0.0179443359375, -0.02880859375, -0.0037841796875, 0.03173828125, 0.004364013671875, 0.0020599365234375, 0.0024871826171875, -0.004272460937...
[ 81206, 75358, 47009, 23, 563, 4904, 12096, 96, 44982, 1179, 1238, 3742, 759, 154663, 143045, 56, 1022, 64113, 864, 62351, 1272, 92733, 2685, 2499, 32354, 21373, 46610, 2737, 155283, 6002, 86531, 214, 390, 48716, 125195, 71, 5161, 6003, 425 ...
[ 0.21044921875, 0.20947265625, 0.168701171875, 0.0601806640625, 0.130126953125, 0.1956787109375, 0.1790771484375, 0.0078125, 0.16455078125, 0.067626953125, 0.04388427734375, 0.0989990234375, 0.043914794921875, 0.1026611328125, 0.1812744140625, 0.138427734375, 0.005950927734375, 0.02...
embed
40838357_c2
40838357
fsharp
2
x.Text, text.Value, x.NewCommand, x.OpenCommand, x.CloseCommand, x.ExitCommand, DialogView, Dialog.xaml, DialogVM, self.Name, self.Address, x.Name, name.Value, x.Address, address.Value, utf-8, Project, ToolsVersion, DefaultTargets, Build, schemas.microsoft.com, PropertyGroup, Configuration, Condition, Debug, Platform,...
x.Text, text.Value, x.NewCommand, x.OpenCommand, x.CloseCommand, x.ExitCommand, DialogView, Dialog.xaml, DialogVM, self.Name, self.Address, x.Name, name.Value, x.Address, address.Value, utf-8, Project, ToolsVersion, DefaultTargets, Build, schemas.microsoft.com, PropertyGroup, Configuration, Condition, Debug, Platform,...
[ -0.0107421875, 0.021484375, 0.006256103515625, 0.02294921875, 0.0089111328125, -0.004974365234375, -0.000009775161743164062, -0.017578125, 0.004608154296875, 0.0341796875, -0.00127410888671875, -0.0012359619140625, 0.00372314453125, -0.003662109375, 0.0164794921875, -0.0010604858398437...
[ 1022, 5, 174379, 4, 7986, 856, 50770, 46568, 10770, 12018, 103264, 59453, 19279, 217, 84536, 100474, 3798, 7237, 47599, 15970, 163612, 161007, 9351, 29823, 486, 420, 17376, 27331, 119296, 178390, 262, 1021, 7136, 63031, 3794, 6, 121137, 61903...
[ 0.1571044921875, 0.07275390625, 0.2200927734375, 0.05255126953125, 0.165771484375, 0.123291015625, 0.1710205078125, 0.055145263671875, 0.10791015625, 0.1978759765625, 0.094482421875, 0.1229248046875, 0.130126953125, 0.024566650390625, 0.212158203125, 0.2313232421875, 0.03778076171875...
embed
70897933_c0
70897933
fsharp
0
Title: Where is `List.map` defined? Problem title: Where is `List.map` defined? Tags: f%23, .net-core Problem: Where is `List.map` defined? I've been looking for the implementation of List.map in F#. The code in list.fs in dotnet/fsharp on GitHub delegates to a mysterious Microsoft.FSharp.Primitives.Basics.List.map fun...
Where is `List.map` defined? Where is `List.map` defined? f%23 .net-core Where List.map list.fs Microsoft.FSharp.Primitives.Basics.List.map Where is `List.map` defined? I've been looking for the implementation of List.map in F#. The code in list.fs in dotnet/fsharp on GitHub delegates to a mysterious Microsoft.FSharp.P...
[ 0.00531005859375, 0.034423828125, 0.01055908203125, -0.00020313262939453125, -0.025634765625, 0.00970458984375, 0.00701904296875, 0.01556396484375, 0.00860595703125, -0.0086669921875, -0.0033111572265625, -0.012451171875, -0.005859375, 0.01519775390625, 0.01202392578125, 0.03369140625,...
[ 78662, 154663, 5, 62346, 61924, 71, 83, 9473, 1135, 1238, 3742, 1179, 30854, 32036, 5303, 17447, 7244, 36381, 3467, 254, 145111, 14, 42991, 63473, 28021, 208124, 23, 563, 4904, 18151, 20633, 420, 89280, 527, 217, 140505, 102329, 759, 824, ...
[ 0.1123046875, 0.28564453125, 0.1287841796875, 0.29052734375, 0.207763671875, 0.07568359375, 0.0278167724609375, 0.002838134765625, 0.045074462890625, 0.0711669921875, 0.0916748046875, 0.1082763671875, 0.1246337890625, 0.25634765625, 0.2254638671875, 0.192626953125, 0.1214599609375, ...
embed
1084188_c0
1084188
fsharp
0
Title: Why does this not compile in F# Problem title: Why does this not compile in F# Tags: recursion, f%23 Problem: Why does this not compile in F# This compiles and works: let rec HelloEternalWorld _ = Console.ReadLine() |> printf "Input: %s\n" HelloEternalWorld 0 HelloEternalWorld 0 This does not compile: let rec He...
Why does this not compile in F# Why does this not compile in F# recursion f%23 Why HelloEternalWorld Console.ReadLine Input Why does this not compile in F# This compiles and works: This does not compile: I try to understand why not?
[ -0.00014972686767578125, 0.00726318359375, 0.0086669921875, 0.03076171875, -0.0029296875, -0.004669189453125, 0.0034637451171875, 0.00013256072998046875, -0.0181884765625, -0.01373291015625, -0.0028839111328125, -0.00799560546875, -0.0108642578125, -0.00096893310546875, 0.031982421875, ...
[ 44084, 14602, 903, 959, 9969, 1340, 23, 563, 4904, 195625, 1830, 1238, 3949, 3742, 35378, 647, 31586, 141, 70646, 1657, 40777, 31345, 93232, 360, 3293, 7, 136, 43240, 9790, 28219, 15400 ]
[ 0.0985107421875, 0.08795166015625, 0.1644287109375, 0.1695556640625, 0.185546875, 0.19873046875, 0.08740234375, 0.1351318359375, 0.1912841796875, 0.188720703125, 0.01507568359375, 0.069091796875, 0.0167236328125, 0.13623046875, 0.1727294921875, 0.016021728515625, 0.1278076171875, 0...
embed
22005839_c1
22005839
fsharp
1
"mono "packages\NuGet\NuGet.exe" install Failess -OutputDirectory packages -ExcludeVersion -Prerelease" exited with 1. what's wrong with it? Code signals: command, --sync, Can, EnableNuGetPackageRestore, MONO_VERSION, before_install, download.xamarin.com, MonoFrameworkMDK, Macx86, MonoFramework-MDK, macos10.xamarin.x8...
"mono "packages\NuGet\NuGet.exe" install Failess -OutputDirectory packages -ExcludeVersion -Prerelease" exited with 1. what's wrong with it? Code signals: command, --sync, Can, EnableNuGetPackageRestore, MONO_VERSION, before_install, download.xamarin.com, MonoFrameworkMDK, Macx86, MonoFramework-MDK, macos10.xamarin.x8...
[ -0.0174560546875, 0.0230712890625, -0.0028839111328125, 0.01123046875, 0.0026092529296875, 0.0223388671875, 0.022216796875, -0.0289306640625, -0.01239013671875, 0.0191650390625, -0.0107421875, -0.00494384765625, -0.0003185272216796875, 0.00616455078125, 0.01513671875, -0.01043701171875...
[ 64176, 29102, 18444, 724, 126, 46480, 20600, 95606, 9393, 79858, 7077, 184911, 30675, 98169, 19279, 29786, 112, 178390, 19273, 233707, 82230, 297, 678, 615, 2367, 44691, 28864, 26073, 75101, 4210, 12654, 238, 4171, 357, 2886, 205956, 4332, 45...
[ 0.2447509765625, 0.1551513671875, 0.192626953125, 0.1419677734375, 0.1544189453125, 0.1334228515625, 0.1318359375, 0.15966796875, 0.2403564453125, 0.085205078125, 0.056365966796875, 0.09912109375, 0.040008544921875, 0.1483154296875, 0.031890869140625, 0.15478515625, 0.07708740234375,...
embed
29685347_c1
29685347
fsharp
1
thusly be probably considered worse): let idgen startvalue = let v = ref startvalue fun () -> let result = !v v := !v + 1 result With the thusly received generator function I could get rid of all those tuples, at least and I could also get rid of create function and simply write: let ids = idgen 0 let result = [ A(ids...
thusly be probably considered worse): let idgen startvalue = let v = ref startvalue fun () -> let result = !v v := !v + 1 result With the thusly received generator function I could get rid of all those tuples, at least and I could also get rid of create function and simply write: let ids = idgen 0 let result = [ A(ids...
[ 0.010009765625, -0.00787353515625, 0.004150390625, 0.00738525390625, 0.00457763671875, 0.004974365234375, 0.016357421875, -0.01324462890625, 0.0286865234375, -0.04931640625, -0.0062255859375, 0.0546875, 0.007476806640625, 0.027587890625, 0.01092529296875, -0.005218505859375, -0.00469...
[ 4911, 7, 538, 186, 31895, 90698, 124632, 2633, 3447, 1409, 4034, 27494, 81, 18831, 7477, 16750, 711, 334, 997, 106, 75204, 145823, 32354, 5809, 2046, 31351, 111, 756, 8382, 370, 99726, 19713, 28282, 42856, 33022, 757, 2203, 62, 30185, 313...
[ 0.1251220703125, 0.06414794921875, 0.1417236328125, 0.04107666015625, 0.075927734375, 0.07818603515625, 0.1705322265625, 0.1241455078125, 0.158935546875, 0.2213134765625, 0.109130859375, 0.1263427734375, 0.146240234375, 0.23974609375, 0.1654052734375, 0.1806640625, 0.042999267578125,...
embed
36392153_c0
36392153
fsharp
0
Title: Please explain this syntax Problem title: Please explain this syntax Tags: f%23 Problem: Please explain this syntax From an answer by kvb about how to call implicit conversion operators: let inline (!>) (x:^a) : ^b = ((^a or ^b) : (static member op_Implicit : ^a -> ^b) x) I've known F# for a while but I just don...
Please explain this syntax Please explain this syntax f%23 Please op_Implicit Please explain this syntax From an answer by kvb about how to call implicit conversion operators: I've known F# for a while but I just don't know how to parse the implementation here. What is (^a or ^b) ? And the stuff after that? Please go o...
[ -0.0035247802734375, 0.0047607421875, 0.0067138671875, 0.01446533203125, -0.0157470703125, 0.021484375, -0.00250244140625, -0.0020904541015625, 0.0184326171875, 0.0164794921875, 0.00592041015625, -0.006805419921875, -0.0208740234375, 0.00136566162109375, 0.00567626953125, -0.0305175781...
[ 30607, 73342, 903, 6002, 86531, 1238, 3949, 3742, 233, 128878, 60923, 35166, 275, 3642, 11782, 165164, 142477, 39933, 7, 51529, 563, 4904, 12960, 18, 3714, 366, 184, 208124, 3688, 4865, 83, 8353, 11, 707, 13331, 41884, 7103, 645, 12638, 2...
[ 0.1590576171875, 0.20068359375, 0.1220703125, 0.1319580078125, 0.2225341796875, 0.10638427734375, 0.0955810546875, 0.181640625, 0.1756591796875, 0.1207275390625, 0.2261962890625, 0.008575439453125, 0.1612548828125, 0.013336181640625, 0.126220703125, 0.27685546875, 0.1907958984375, ...
embed
904235_c0
904235
fsharp
0
Title: How to create .NET-compatible events in F#? Problem title: How to create .NET-compatible events in F#? Tags: .net, events, f%23 Problem: How to create .NET-compatible events in F#? I am trying to publish an event from an F# type, but I want it to be seen as an event from C# or VB. It seems that the correct way t...
How to create .NET-compatible events in F#? How to create .NET-compatible events in F#? .net events f%23 How NET-compatible How to create .NET-compatible events in F#? I am trying to publish an event from an F# type, but I want it to be seen as an event from C# or VB. It seems that the correct way to do it used to be I...
[ 0.002105712890625, 0.037841796875, 0.003875732421875, -0.0164794921875, -0.027099609375, -0.032958984375, -0.000873565673828125, -0.004425048828125, 0.0167236328125, -0.020263671875, -0.010986328125, 0.021484375, 0.0087890625, 0.0064697265625, 0.006439208984375, 0.003265380859375, -0...
[ 11249, 47, 28282, 5, 17777, 277, 10974, 2661, 47353, 23, 563, 4904, 6, 9, 1179, 1238, 3742, 31577, 80299, 19732, 1295, 10644, 3444, 51592, 237, 313, 75034, 1650, 26785, 3917, 54, 11814, 87, 192134, 7612, 2182, 135679, 603, 32354, 18, 32...
[ 0.0927734375, 0.043701171875, 0.1817626953125, 0.0838623046875, 0.2276611328125, 0.122314453125, 0.1588134765625, 0.1478271484375, 0.22216796875, 0.0677490234375, 0.174072265625, 0.2327880859375, 0.010955810546875, 0.060394287109375, 0.1776123046875, 0.0966796875, 0.05059814453125, ...
embed
69609010_c1
69609010
fsharp
1
f2 (la: 'a list) (lb: 'b list) (reducer: I) = let a = la |> List.reduce reducer.Reduce let b = lb |> List.reduce reducer.Reduce (a, b) let main ()= let lt = [Content 2; Content 4] let lw = [{ Content = 2 }; { Content = 4 }] let _ = f1 lt lw Sum let _ = f1 lt lw Mul let _ = f2 lt lw { new I with member __.Reduce x y = ...
f2 (la: 'a list) (lb: 'b list) (reducer: I) = let a = la |> List.reduce reducer.Reduce let b = lb |> List.reduce reducer.Reduce (a, b) let main ()= let lt = [Content 2; Content 4] let lw = [{ Content = 2 }; { Content = 4 }] let _ = f1 lt lw Sum let _ = f1 lt lw Mul let _ = f2 lt lw { new I with member __.Reduce x y = ...
[ -0.03125, -0.007080078125, -0.0012359619140625, 0.015869140625, 0.00213623046875, -0.003936767578125, -0.01422119140625, -0.0017852783203125, 0.0048828125, -0.0159912109375, 0.01068115234375, 0.015380859375, 0.005950927734375, -0.01104736328125, 0.00164031982421875, -0.01904296875, 0...
[ 1238, 304, 143, 11, 5303, 16, 15, 48543, 275, 107, 39367, 56, 87, 2203, 2633, 10, 21, 6, 32036, 106357, 34390, 42, 4332, 876, 96, 5201, 18, 11935, 25352, 116, 70870, 201, 434, 10666, 418, 36335, 21442, 3525, 678, 32786, 113, 997, 18...
[ 0.181396484375, 0.2384033203125, 0.1346435546875, 0.08233642578125, 0.2449951171875, 0.046142578125, 0.01275634765625, 0.1707763671875, 0.1448974609375, 0.1500244140625, 0.212890625, 0.1395263671875, 0.14599609375, 0.087158203125, 0.076171875, 0.07470703125, 0.147705078125, 0.00015...
embed
16698994_c1
16698994
fsharp
1
: This expression was expected to have type int, but here has type int option let! x3 = Some 30 return x1 + x2 + x3} match cero with | Some cer -> printfn "%d" cer | None -> printfn "None" test_2 () // ERROR Can someone please explain the failure in my understanding here? Even hints would be helpful, in case it would t...
: This expression was expected to have type int, but here has type int option let! x3 = Some 30 return x1 + x2 + x3} match cero with | Some cer -> printfn "%d" cer | None -> printfn "None" test_2 () // ERROR Can someone please explain the failure in my understanding here? Even hints would be helpful, in case it would t...
[ -0.0262451171875, 0.01708984375, 0.00004029273986816406, -0.0013275146484375, -0.0030975341796875, -0.0059814453125, 0.00628662109375, -0.004547119140625, 0.01373291015625, 0.003936767578125, -0.00103759765625, -0.00347900390625, 0.00433349609375, 0.010009765625, 0.02734375, 0.01391601...
[ 3293, 125195, 509, 84751, 765, 10644, 23, 18, 1284, 3688, 1556, 35829, 2633, 38, 1022, 363, 2203, 31384, 496, 30646, 418, 997, 304, 14858, 86013, 678, 6641, 28412, 14783, 3949, 71, 438, 86, 5021, 3034, 151206, 24638, 73342, 137578, 100094...
[ 0.057220458984375, 0.25537109375, 0.042022705078125, 0.1697998046875, 0.0234832763671875, 0.20947265625, 0.1258544921875, 0.112060546875, 0.046875, 0.0750732421875, 0.0364990234375, 0.1944580078125, 0.168212890625, 0.03369140625, 0.060821533203125, 0.1790771484375, 0.00115966796875, ...
embed
21840206_c0
21840206
fsharp
0
Title: Is there a pre-existing function to pass a tuple as args? Problem title: Is there a pre-existing function to pass a tuple as args? Tags: f%23 Problem: Is there a pre-existing function to pass a tuple as args? I want to apply a regular function that takes two arguments to a tuple. I defined a helper function like...
Is there a pre-existing function to pass a tuple as args? Is there a pre-existing function to pass a tuple as args? f%23 Is there a pre-existing function to pass a tuple as args? I want to apply a regular function that takes two arguments to a tuple. I defined a helper function like so: However I feel like this must be...
[ 0.00921630859375, -0.0194091796875, 0.01287841796875, 0.01092529296875, 0.01080322265625, 0.003265380859375, -0.0159912109375, -0.00016498565673828125, 0.01220703125, -0.039306640625, 0.020751953125, 0.01904296875, -0.0286865234375, 0.017333984375, 0.0164794921875, -0.00927734375, 0....
[ 2071, 2685, 10, 479, 9, 54376, 214, 32354, 47, 27875, 370, 8705, 237, 79459, 7, 1238, 3949, 3742, 3444, 59911, 20324, 51776, 6626, 10750, 61924, 4358, 56, 1884, 221, 12319, 39210, 4527, 7225, 5570, 35773, 1294, 69407, 33938 ]
[ 0.055084228515625, 0.08782958984375, 0.08294677734375, 0.1917724609375, 0.0606689453125, 0.254638671875, 0.1226806640625, 0.2509765625, 0.0887451171875, 0.1397705078125, 0.160400390625, 0.251953125, 0.1334228515625, 0.2294921875, 0.14599609375, 0.099853515625, 0.05804443359375, 0.1...
embed
41006175_c0
41006175
fsharp
0
Title: F# and protected access modifier Problem title: F# and protected access modifier Tags: functional-programming, f%23, access-modifiers Problem: F# and protected access modifier You can't define protected class members in F# due in part to how they complicate the functional nature of the language. (The Book of F# ...
F# and protected access modifier F# and protected access modifier functional-programming f%23 access-modifiers F# and protected access modifier You can't define protected class members in F# due in part to how they complicate the functional nature of the language. (The Book of F# - Dave Fancher). I am new to functional...
[ 0.0031890869140625, -0.004852294921875, 0.020263671875, -0.0084228515625, -0.0038299560546875, 0.0026702880859375, -0.005615234375, 0.0020904541015625, 0.006622314453125, -0.004791259765625, 0.0054931640625, 0.0230712890625, 0.0037689208984375, 0.0035858154296875, 0.015625, 0.005126953...
[ 563, 4904, 136, 30312, 17203, 158254, 123309, 28966, 1238, 3742, 13415, 85789, 831, 18, 61924, 18507, 43032, 2831, 96704, 13, 31425, 70, 46876, 3957, 27432, 111, 103383, 11213, 5372, 3525, 56037, 449, 12877, 73342, 3642, 214709, 11522 ]
[ 0.1419677734375, 0.2169189453125, 0.03289794921875, 0.2230224609375, 0.134521484375, 0.192626953125, 0.1883544921875, 0.11865234375, 0.07537841796875, 0.06109619140625, 0.070068359375, 0.0859375, 0.043609619140625, 0.0465087890625, 0.1629638671875, 0.1812744140625, 0.1824951171875, ...
embed
1152765_c0
1152765
fsharp
0
Title: F# and namespace Problem title: F# and namespace Tags: f%23 Problem: F# and namespace I have an application, call it App1. It is mostly C#. I'm writing a dll in F#. It cointains a class, Class1. I want this class to belong to the App1 namespace. If I add namespace App1 on the top of my .fs file, it complains tha...
F# and namespace F# and namespace f%23 F# and namespace I have an application, call it App1. It is mostly C#. I'm writing a dll in F#. It cointains a class, Class1. I want this class to belong to the App1 namespace. If I add namespace App1 on the top of my .fs file, it complains that a namespace cannot contain values (...
[ 0.01324462890625, 0.021728515625, 0.009765625, 0.006439208984375, 0.00174713134765625, 0.00689697265625, 0.0213623046875, -0.0225830078125, -0.0213623046875, -0.0279541015625, -0.00054931640625, 0.0023193359375, 0.00408935546875, 0.0024871826171875, -0.005401611328125, -0.0208740234375...
[ 563, 4904, 136, 210716, 1238, 3949, 3742, 87, 765, 38415, 11782, 442, 5659, 418, 153161, 313, 32562, 81717, 23, 43780, 25500, 18507, 35014, 3444, 903, 10617, 47, 15190, 2663, 5, 17447, 11435, 186992, 53418, 70541, 142424, 3060, 2633, 83279,...
[ 0.1702880859375, 0.2548828125, 0.138427734375, 0.31396484375, 0.1187744140625, 0.0364990234375, 0.1795654296875, 0.016357421875, 0.0540771484375, 0.185302734375, 0.07550048828125, 0.0028076171875, 0.2308349609375, 0.134765625, 0.0721435546875, 0.000518798828125, 0.0914306640625, 0....
embed
40070467_c0
40070467
fsharp
0
Title: Continued fractions in f# using seq Problem title: Continued fractions in f# using seq Tags: algorithm, f%23, functional-programming, list, sequence Problem: Continued fractions in f# using seq Hi is there a way to solve continued fractions in f# using seq , not list? let cfToScalar cf = List.foldBack (fun elem ...
Continued fractions in f# using seq Continued fractions in f# using seq algorithm f%23 functional-programming list sequence seq Continued List.foldBack System.Double.MaxValue Continued fractions in f# using seq Hi is there a way to solve continued fractions in f# using seq , not list? Someting like that but i want to u...
[ -0.0050048828125, 0.01287841796875, 0.003662109375, -0.01123046875, 0.0087890625, -0.019287109375, 0.00823974609375, 0.0010986328125, -0.0076904296875, -0.0576171875, -0.0294189453125, 0.03564453125, -0.0101318359375, -0.0035552978515625, 0.00634765625, -0.00830078125, -0.02990722656...
[ 24812, 71, 175921, 7, 23, 1238, 4904, 17368, 40, 864, 234873, 3949, 3742, 123309, 28966, 5303, 944, 3956, 32036, 42822, 152470, 12353, 2661, 71346, 856, 50770, 2673, 2685, 3917, 47, 86869, 136475, 959, 1284, 3444, 4527, 64457, 111 ]
[ 0.185546875, 0.0985107421875, 0.2442626953125, 0.037200927734375, 0.05126953125, 0.1356201171875, 0.2120361328125, 0.0855712890625, 0.1591796875, 0.2225341796875, 0.1650390625, 0.008270263671875, 0.126220703125, 0.1192626953125, 0.1021728515625, 0.15478515625, 0.087158203125, 0.003...
embed
9371377_c1
9371377
fsharp
1
52; 53; 54; 55; 56; 57; 58; 59; 60; 61; 62; 63; 64; 65; 66; 67; 68; 69; 70; 71; 72; 73; 74; 75; 76; 77; 78; 79; 80; 81; 82; 83; 84; 85; 86; 87; 88; 89; 90; 91; 92; 93; 94; 95; 96; 97; 98; 99; ...|] > Array.init (1 <<< 29) (fun i->i);; System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thro...
52; 53; 54; 55; 56; 57; 58; 59; 60; 61; 62; 63; 64; 65; 66; 67; 68; 69; 70; 71; 72; 73; 74; 75; 76; 77; 78; 79; 80; 81; 82; 83; 84; 85; 86; 87; 88; 89; 90; 91; 92; 93; 94; 95; 96; 97; 98; 99; ...|] > Array.init (1 <<< 29) (fun i->i);; System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thro...
[ 0.0047607421875, 0.0230712890625, -0.00080108642578125, 0.008056640625, 0.0107421875, 0.0035858154296875, 0.0103759765625, 0.004913330078125, 0.007476806640625, -0.0174560546875, 0.0140380859375, 0.004669189453125, 0.003662109375, 0.01422119140625, 0.034912109375, -0.0228271484375, 0...
[ 7221, 74, 8934, 8983, 4859, 9103, 10149, 9318, 11156, 1496, 11716, 10031, 12069, 7911, 5684, 11251, 12661, 12045, 11937, 2358, 14905, 9464, 14929, 15124, 4948, 14810, 14154, 15111, 17446, 2248, 16503, 15751, 19251, 14885, 9365, 17281, 18825, ...
[ 0.2333984375, 0.08563232421875, 0.1907958984375, 0.1710205078125, 0.1795654296875, 0.157470703125, 0.13916015625, 0.1448974609375, 0.13232421875, 0.119873046875, 0.1334228515625, 0.108642578125, 0.1220703125, 0.11181640625, 0.12060546875, 0.13671875, 0.1343994140625, 0.14306640625,...
embed
5252628_c0
5252628
fsharp
0
Title: How can I refer to a specific member of a Tuple of any size in F# Problem title: How can I refer to a specific member of a Tuple of any size in F# Tags: syntax, tuples, f%23 Problem: How can I refer to a specific member of a Tuple of any size in F# okay, this might be a silly question. So I have some tuples of s...
How can I refer to a specific member of a Tuple of any size in F# How can I refer to a specific member of a Tuple of any size in F# syntax tuples f%23 How Tuple How can I refer to a specific member of a Tuple of any size in F# okay, this might be a silly question. So I have some tuples of size 4 so like (int,int,int,in...
[ 0.00347900390625, 0.0086669921875, 0.00445556640625, 0.002593994140625, -0.0072021484375, -0.0145263671875, -0.00494384765625, 0.00775146484375, 0.03369140625, 0.00115203857421875, 0.004608154296875, -0.004638671875, -0.006317138671875, 0.0263671875, 0.006622314453125, -0.0179443359375...
[ 11249, 831, 87, 15005, 47, 29458, 32786, 1371, 8705, 2499, 13267, 23, 563, 4904, 111, 6002, 86531, 370, 99726, 1238, 3742, 13648, 12097, 201, 4288, 116, 5809, 4527, 271, 1176, 15665, 5117, 12830, 50960 ]
[ 0.07403564453125, 0.072509765625, 0.03668212890625, 0.2274169921875, 0.10308837890625, 0.206787109375, 0.2158203125, 0.1483154296875, 0.2283935546875, 0.0838623046875, 0.15234375, 0.0728759765625, 0.1253662109375, 0.18310546875, 0.0182647705078125, 0.036285400390625, 0.081787109375, ...
embed
57056248_c0
57056248
fsharp
0
Title: F# converting Seq to ICollection Problem title: F# converting Seq to ICollection Tags: f%23 Problem: F# converting Seq to ICollection I have a seq of types let rackStatusesPrototype : RackStatus seq and now I want to assign it to a property which is from c# and is an ICollection type, but I am having a problem w...
F# converting Seq to ICollection F# converting Seq to ICollection f%23 Seq ICollection RackStatus F# converting Seq to ICollection I have a seq of types and now I want to assign it to a property which is from c# and is an ICollection type, but I am having a problem with it. I tried: But it says incompatible types. What...
[ -0.00151824951171875, 0.010986328125, 0.000537872314453125, 0.016845703125, -0.00732421875, -0.01123046875, -0.0311279296875, -0.002899169921875, -0.010986328125, 0.00469970703125, 0.0216064453125, 0.0203857421875, 0.01104736328125, 0.01116943359375, 0.004150390625, -0.01806640625, -...
[ 563, 4904, 96760, 503, 864, 47, 69010, 45878, 10763, 214, 1238, 3949, 3742, 2552, 2594, 135206, 40, 111, 52895, 3444, 95486, 57266, 1295, 10644, 2967, 37842, 17378, 82940, 1888, 2661 ]
[ 0.1251220703125, 0.2071533203125, 0.124755859375, 0.1328125, 0.2281494140625, 0.0909423828125, 0.09912109375, 0.17236328125, 0.16064453125, 0.025604248046875, 0.054412841796875, 0.006866455078125, 0.083984375, 0.07666015625, 0.06695556640625, 0.1395263671875, 0.100830078125, 0.0442...
embed
33174945_c1
33174945
fsharp
1
k v -> printfn "%s => %d" k v) printfn "done" end By the way, this is prototype quality code, clearly not as good as it can be. Code signals: KeyNotFoundException, Map, Flib.AsyncEvents, System.Collections.Generic, KVcoll, Msg, Request, Fetch, AsyncReplyChannel, Clear, MailboxProcessor.Start, Map.empty, inbox.Receive,...
k v -> printfn "%s => %d" k v) printfn "done" end By the way, this is prototype quality code, clearly not as good as it can be. Code signals: KeyNotFoundException, Map, Flib.AsyncEvents, System.Collections.Generic, KVcoll, Msg, Request, Fetch, AsyncReplyChannel, Clear, MailboxProcessor.Start, Map.empty, inbox.Receive,...
[ -0.01373291015625, 0.00653076171875, 0.01446533203125, -0.02197265625, -0.00396728515625, -0.005859375, 0.01336669921875, -0.00927734375, 0.01416015625, 0.0035247802734375, 0.01513671875, 0.0128173828125, 0.006439208984375, 0.005126953125, 0.039306640625, 0.0047607421875, -0.00210571...
[ 472, 81, 33079, 28412, 14783, 3949, 7, 44357, 1745, 71, 64007, 3564, 3917, 903, 160469, 13, 31897, 18151, 123019, 959, 237, 4127, 831, 28864, 26073, 26824, 122116, 27591, 7030, 63928, 42719, 563, 5612, 12654, 192134, 12353, 78457, 8996, 135...
[ 0.1151123046875, 0.24658203125, 0.06103515625, 0.218994140625, 0.24658203125, 0.1087646484375, 0.054473876953125, 0.0950927734375, 0.049896240234375, 0.08984375, 0.1942138671875, 0.0965576171875, 0.028350830078125, 0.0889892578125, 0.20947265625, 0.05010986328125, 0.165283203125, 0...
embed
36742824_c1
36742824
fsharp
1
fastest way to build this large string? I'm also open to parallelizing it. Question2 : Because I use fold in the second attempt, a - is being joined to the last item, hence I'm getiing rid of it with z.[0..(z |> Seq.length)-2] . Is there a more elegant way? Code signals: System.String, W0SPFR, ITBPFA, QVUS7N, CJ6ZMQ, ...
fastest way to build this large string? I'm also open to parallelizing it. Question2 : Because I use fold in the second attempt, a - is being joined to the last item, hence I'm getiing rid of it with z.[0..(z |> Seq.length)-2] . Is there a more elegant way? Code signals: System.String, W0SPFR, ITBPFA, QVUS7N, CJ6ZMQ, ...
[ -0.016845703125, -0.01031494140625, -0.00604248046875, 0.01470947265625, -0.001678466796875, -0.004058837890625, -0.010009765625, 0.0167236328125, 0.018310546875, -0.0289306640625, 0.0185546875, 0.01019287109375, 0.025146484375, -0.00140380859375, 0.007293701171875, -0.003875732421875,...
[ 4271, 525, 3917, 45367, 903, 21334, 79315, 9803, 95103, 84382, 68185, 304, 4527, 42822, 23, 17932, 81887, 10, 20, 8035, 33284, 297, 47, 70, 4568, 35735, 31351, 111, 442, 678, 97, 2389, 169, 503, 864, 23986, 9, 90173, 27650, 28864, 26073...
[ 0.1312255859375, 0.05621337890625, 0.055511474609375, 0.189208984375, 0.038970947265625, 0.1005859375, 0.253173828125, 0.0487060546875, 0.1590576171875, 0.0216522216796875, 0.070068359375, 0.02154541015625, 0.049896240234375, 0.2261962890625, 0.006561279296875, 0.0986328125, 0.179077...
embed
19572242_c1
19572242
fsharp
1
created on every call to f via subsequent call to toF . But this is exactly what I was trying to avoid. By defining let f = toF id I was hoping to get a closure one sigle time and then be able to call it immediately. So the output I am expecting would be: Creating f using g x: 1 x: 1 UPDATE 2 The following doesn't wor...
created on every call to f via subsequent call to toF . But this is exactly what I was trying to avoid. By defining let f = toF id I was hoping to get a closure one sigle time and then be able to call it immediately. So the output I am expecting would be: Creating f using g x: 1 x: 1 UPDATE 2 The following doesn't wor...
[ 0.0166015625, -0.01483154296875, -0.00933837890625, -0.0177001953125, 0.005828857421875, 0.003387451171875, 0.000698089599609375, 0.0098876953125, 0.00167083740234375, -0.023681640625, -0.007537841796875, -0.000274658203125, -0.005462646484375, -0.004302978515625, 0.0224609375, -0.0054...
[ 75935, 98, 11907, 11782, 47, 1238, 1829, 221419, 919, 4966, 66161, 31577, 71864, 13204, 2633, 2203, 3447, 156377, 170224, 1632, 1144, 133, 1733, 109312, 140992, 41206, 56781, 1916, 17368, 706, 1022, 106, 12, 161521, 116, 25632, 22027, 18, 4...
[ 0.212646484375, 0.06597900390625, 0.129638671875, 0.1787109375, 0.1546630859375, 0.1995849609375, 0.03363037109375, 0.060394287109375, 0.211181640625, 0.013885498046875, 0.021636962890625, 0.05694580078125, 0.1453857421875, 0.12939453125, 0.1483154296875, 0.0594482421875, 0.147338867...
embed
27115255_c0
27115255
fsharp
0
Title: Can&#x27;t install Websharper nuget Problem title: Can&#x27;t install Websharper nuget Tags: websharper, f%23, nuget Problem: Can't install Websharper nuget When i'm trying to create a sitelet project, nuget fails on installing NuGet Package restore failed for project To2a1.PublicSite.WebSharper: Could not find ...
Can&#x27;t install Websharper nuget Can&#x27;t install Websharper nuget websharper f%23 nuget Can Websharper Can't install Websharper nuget When i'm trying to create a sitelet project, nuget fails on installing Anyone knows why? I'm using visual studio 2013 update 4
[ -0.0238037109375, 0.03076171875, -0.01226806640625, -0.0224609375, -0.007354736328125, 0.01116943359375, -0.0081787109375, -0.017822265625, -0.0052490234375, 0.005523681640625, -0.0284423828125, 0.006378173828125, -0.00022792816162109375, -0.00311279296875, 0.02099609375, 0.00311279296...
[ 4171, 3768, 18, 20600, 4002, 89280, 1264, 315, 3794, 1467, 1238, 3742, 31577, 28282, 1764, 1974, 13452, 35782, 7, 98, 93002, 15400, 21176, 12275, 1210, 28350, 201 ]
[ 0.1097412109375, 0.052947998046875, 0.11767578125, 0.1783447265625, 0.1270751953125, 0.1973876953125, 0.198974609375, 0.1607666015625, 0.2333984375, 0.0987548828125, 0.009368896484375, 0.0186767578125, 0.038177490234375, 0.04473876953125, 0.10693359375, 0.173828125, 0.05950927734375,...
embed
15286743_c0
15286743
fsharp
0
Title: why val keyword not working in F# Problem title: why val keyword not working in F# Tags: f%23 Problem: why val keyword not working in F# Why is the val keyword in the following code snippet causing a compiler error? I need to get the return value and display it. open System let CylinderVolume radius length = let...
why val keyword not working in F# why val keyword not working in F# f%23 System CylinderVolume System.Console.WriteLine why val keyword not working in F# Why is the val keyword in the following code snippet causing a compiler error? I need to get the return value and display it.
[ -0.0030517578125, -0.00164031982421875, 0.01361083984375, 0.0072021484375, 0.004119873046875, 0.006591796875, 0.00124359130859375, -0.00799560546875, -0.014892578125, -0.00836181640625, -0.0126953125, 0.0291748046875, 0.00439453125, 0.00823974609375, 0.0205078125, -0.000545501708984375...
[ 15400, 3502, 166117, 959, 20697, 23, 563, 4904, 1238, 3742, 12353, 27939, 104532, 73668, 40777, 93232, 44084, 18151, 58134, 216806, 9969, 34759, 18499, 3871, 30646, 34292, 44116 ]
[ 0.094482421875, 0.2386474609375, 0.25244140625, 0.0904541015625, 0.1475830078125, 0.05523681640625, 0.1441650390625, 0.2073974609375, 0.0828857421875, 0.0823974609375, 0.0439453125, 0.0199432373046875, 0.1021728515625, 0.0797119140625, 0.0517578125, 0.068115234375, 0.03167724609375, ...
embed
26040882_c0
26040882
fsharp
0
Title: Async/Parallel Combined Problem title: Async/Parallel Combined Tags: f%23 Problem: Async/Parallel Combined I have seen some examples of combining async with parallel in F#. Here's an MSDN sample: http://msdn.microsoft.com/en-us/library/dd233250(v=vs.120).aspx Isn't that an inefficient use of threads? Why would y...
Async/Parallel Combined Async/Parallel Combined f%23 Async Parallel Combined Async/Parallel Combined I have seen some examples of combining async with parallel in F#. Here's an MSDN sample: http://msdn.microsoft.com/en-us/library/dd233250(v=vs.120).aspx Isn't that an inefficient use of threads? Why would you want to us...
[ -0.0172119140625, 0.0218505859375, -0.0142822265625, -0.00732421875, -0.0191650390625, 0.01611328125, 0.00299072265625, 0.007171630859375, 0.00439453125, -0.0235595703125, -0.016357421875, 0.021484375, 0.03173828125, 0.01611328125, -0.003570556640625, 0.00555419921875, 0.002487182617...
[ 62, 12654, 238, 55292, 1229, 141, 106935, 14534, 64, 1238, 3949, 3742, 211485, 51592, 27781, 375, 964, 10, 678, 95103, 23, 563, 4904, 51671, 121413, 138410, 24291, 20840, 450, 24500, 45964, 4527, 86997, 44084, 3525, 5941, 38516, 4989, 51042...
[ 0.033935546875, 0.2322998046875, 0.113525390625, 0.0845947265625, 0.15234375, 0.0819091796875, 0.2349853515625, 0.1170654296875, 0.0057373046875, 0.055084228515625, 0.0037841796875, 0.107421875, 0.21923828125, 0.024871826171875, 0.0947265625, 0.0889892578125, 0.172119140625, 0.0491...
embed
40190505_c1
40190505
fsharp
1
at System.Web.HttpApplication+<Pipeline>c__Iterator1.MoveNext () <0x42012000 + 0x04416> in <filename unknown>:0 at System.Web.HttpApplication.Tick () <0x42010800 + 0x00057> in <filename unknown>:0 Code signals: xsp4, Web.config, build.sh, FAKE, System.Web.StaticFileHandler.ProcessRequest, System.Web.HttpContext, Syste...
at System.Web.HttpApplication+<Pipeline>c__Iterator1.MoveNext () <0x42012000 + 0x04416> in <filename unknown>:0 at System.Web.HttpApplication.Tick () <0x42010800 + 0x00057> in <filename unknown>:0 Code signals: xsp4, Web.config, build.sh, FAKE, System.Web.StaticFileHandler.ProcessRequest, System.Web.HttpContext, Syste...
[ 0.00109100341796875, 0.0302734375, -0.0017547607421875, -0.015380859375, -0.0220947265625, 0.0057373046875, -0.007720947265625, -0.01226806640625, 0.007598876953125, -0.020751953125, -0.03369140625, 0.03271484375, 0.0025482177734375, 0.0030975341796875, 0.01806640625, -0.00144195556640...
[ 99, 12353, 30474, 3062, 254, 47677, 182867, 1328, 29348, 26338, 86, 238, 14005, 568, 720, 4597, 418, 9083, 272, 81280, 2389, 425, 617, 10693, 9508, 997, 757, 159937, 2485, 23, 29822, 11627, 51, 69723, 53861, 5, 618, 41113, 11436, 10253, ...
[ 0.0968017578125, 0.147216796875, 0.176513671875, 0.1256103515625, 0.060577392578125, 0.12890625, 0.189208984375, 0.066650390625, 0.06549072265625, 0.17578125, 0.1146240234375, 0.0270233154296875, 0.00335693359375, 0.0517578125, 0.204345703125, 0.2083740234375, 0.07177734375, 0.1535...
embed
14653231_c0
14653231
fsharp
0
Title: Using PostSharp with F# - Need documentation with working example Problem title: Using PostSharp with F# - Need documentation with working example Tags: postsharp, f%23 Problem: Using PostSharp with F# - Need documentation with working example I have a need to capture the input and output of F# functions and dec...
Using PostSharp with F# - Need documentation with working example Using PostSharp with F# - Need documentation with working example postsharp f%23 Using PostSharp Need Using PostSharp with F# - Need documentation with working example I have a need to capture the input and output of F# functions and decided to try using...
[ 0.004302978515625, 0.006805419921875, -0.0142822265625, -0.0208740234375, 0.00057220458984375, 0.0196533203125, -0.002593994140625, -0.00848388671875, -0.003387451171875, -0.009033203125, 0.0291748046875, 0.00738525390625, -0.023681640625, 0.0107421875, 0.007537841796875, -0.0032806396...
[ 345, 6953, 2795, 40798, 10681, 678, 563, 4904, 52889, 209806, 20697, 27781, 32323, 3467, 254, 1238, 3949, 3742, 3871, 141621, 107730, 140992, 32354, 68872, 9790, 17368, 2886, 7413, 6044 ]
[ 0.064453125, 0.041351318359375, 0.134765625, 0.1719970703125, 0.20751953125, 0.1104736328125, 0.1260986328125, 0.198974609375, 0.10205078125, 0.199462890625, 0.0777587890625, 0.159912109375, 0.05328369140625, 0.1336669921875, 0.1041259765625, 0.0745849609375, 0.07269287109375, 0.14...
embed
16825208_c0
16825208
fsharp
0
Title: F# Finding the Powerset Problem title: F# Finding the Powerset Tags: recursion, f%23 Problem: F# Finding the Powerset I want to find the Powerset powerset [1;2;3] = = [[]; [3]; [2]; [2; 3]; [1]; [1; 3]; [1; 2]; [1; 2; 3]] let rec powerset = function | [] -> [] | x::xs -> List.map (fun ys -> xs) xs::powerset (xs)...
F# Finding the Powerset F# Finding the Powerset recursion f%23 Finding Powerset x::xs List.map xs::powerset F# Finding the Powerset I want to find the Powerset I am having trouble with the code, this is what my output looks like now.
[ -0.0006561279296875, 0.0072021484375, 0.01495361328125, -0.0107421875, -0.0013885498046875, 0.00001043081283569336, -0.0174560546875, -0.01397705078125, 0.0087890625, -0.01708984375, 0.010986328125, 0.007232666015625, 0.004486083984375, 0.0184326171875, -0.005096435546875, 0.0239257812...
[ 563, 4904, 26040, 214, 70, 17170, 3509, 195625, 1830, 1238, 3949, 3742, 1022, 12, 425, 7, 32036, 62346, 62783, 3444, 7413, 19441, 63134, 18151, 903, 140992, 33342, 1884, 5036 ]
[ 0.1226806640625, 0.2115478515625, 0.1373291015625, 0.072265625, 0.10198974609375, 0.2337646484375, 0.269287109375, 0.2193603515625, 0.094482421875, 0.10400390625, 0.06427001953125, 0.1473388671875, 0.0894775390625, 0.0025634765625, 0.1029052734375, 0.041717529296875, 0.1348876953125,...
embed
9519855_c0
9519855
fsharp
0
Title: cons :: operator for sequences in F#? Problem title: cons :: operator for sequences in F#? Tags: sequence, cdr, cons, f%23 Problem: cons :: operator for sequences in F#? Is there a better code that does not need to transform the sequence into a list ? let rec addentry map keys = match keys with | ((i,j) :: tail)...
cons :: operator for sequences in F#? cons :: operator for sequences in F#? sequence cdr cons f%23 Map.add Map.empty Cartesian keys1 keys2 Seq.toList cons :: operator for sequences in F#? Is there a better code that does not need to transform the sequence into a list ?
[ 0.01263427734375, 0.0013427734375, 0.00933837890625, -0.00732421875, 0.004913330078125, -0.0281982421875, -0.01007080078125, 0.00830078125, -0.0004177093505859375, -0.036865234375, 0.0029754638671875, 0.0260009765625, 0.0179443359375, 0.03662109375, 0.0084228515625, -0.005523681640625,...
[ 158, 7, 1984, 39933, 100, 40, 26513, 5170, 563, 4904, 23, 944, 3956, 56329, 42, 1238, 3949, 3742, 42719, 4028, 33548, 106274, 39209, 22799, 304, 503, 864, 188, 154663, 11522, 18151, 14602, 959, 3871, 27198, 3934, 5303 ]
[ 0.210205078125, 0.150634765625, 0.0526123046875, 0.2420654296875, 0.084228515625, 0.0926513671875, 0.1990966796875, 0.1029052734375, 0.1153564453125, 0.186279296875, 0.023773193359375, 0.1412353515625, 0.072509765625, 0.026092529296875, 0.0986328125, 0.08251953125, 0.0123291015625, ...
embed
30389597_c0
30389597
fsharp
0
Title: F# project compiling error for a function returning a tuple Problem title: F# project compiling error for a function returning a tuple Tags: return, f%23, tuples Problem: F# project compiling error for a function returning a tuple I created an F# project by visual studio, added function like this: let fangle a b...
F# project compiling error for a function returning a tuple F# project compiling error for a function returning a tuple return f%23 tuples the EntryPoint Error int16 int32 int64 uint16 uint32 uint64 Users Documents Visual Studio Projects ConsoleApplication1 ConsoleApplication3 Program.fs F# project compiling error for ...
[ 0.004241943359375, -0.00860595703125, -0.015380859375, 0.01361083984375, 0.00579833984375, -0.00372314453125, -0.0079345703125, 0.005645751953125, 0.0115966796875, 0.01416015625, -0.005096435546875, -0.00787353515625, 0.010498046875, 0.0201416015625, 0.03564453125, -0.00946044921875, ...
[ 563, 4904, 13452, 9969, 49725, 18499, 100, 32354, 30646, 370, 8705, 1238, 3949, 3742, 99726, 357, 15123, 147534, 212059, 2485, 6460, 13307, 4288, 53400, 43101, 73372, 22968, 27331, 40777, 182867, 363, 7663, 17447, 75935, 21176, 12275, 49814, ...
[ 0.128662109375, 0.2216796875, 0.17919921875, 0.1962890625, 0.166015625, 0.2330322265625, 0.0148162841796875, 0.20703125, 0.1806640625, 0.1400146484375, 0.2115478515625, 0.069580078125, 0.054107666015625, 0.13916015625, 0.184814453125, 0.0714111328125, 0.1595458984375, 0.18591308593...
embed
17966445_c0
17966445
fsharp
0
Title: Is there a way to restart FSI in Visual Studio? Problem title: Is there a way to restart FSI in Visual Studio? Tags: f%23, fsi, visual-studio Problem: Is there a way to restart FSI in Visual Studio? I'm learning F#, and keep accidentally writing infinitely recursive functions.. When I call these in F# Interactiv...
Is there a way to restart FSI in Visual Studio? Is there a way to restart FSI in Visual Studio? f%23 fsi visual-studio FSI Visual Studio Is there a way to restart FSI in Visual Studio? I'm learning F#, and keep accidentally writing infinitely recursive functions.. When I call these in F# Interactive (FSI) through Visua...
[ -0.006256103515625, 0.01422119140625, 0.0103759765625, 0.01007080078125, -0.00022125244140625, 0.005126953125, 0.005584716796875, 0.008056640625, 0.003509521484375, -0.02197265625, 0.01416015625, 0.00848388671875, -0.01336669921875, 0.01904296875, 0.035888671875, -0.00921630859375, 0...
[ 2685, 10, 3917, 47, 456, 17137, 563, 9902, 23, 73372, 22968, 1238, 3742, 172, 21176, 52629, 52080, 4904, 13695, 27998, 32562, 54241, 195625, 32354, 11782, 6097, 5337, 71232, 919, 11436, 98946, 2046, 1810, 442, 6397, 4271, 56 ]
[ 0.0465087890625, 0.0611572265625, 0.1087646484375, 0.095458984375, 0.1611328125, 0.2159423828125, 0.1741943359375, 0.267822265625, 0.09423828125, 0.2103271484375, 0.2279052734375, 0.110107421875, 0.022735595703125, 0.16796875, 0.169921875, 0.1746826171875, 0.05096435546875, 0.14172...
embed
79484312_c0
79484312
fsharp
0
Title: Why is the value of (y:=!y+1 ;!y) + !y and !y + (y:= !y+1 ; !y) different in f#? Problem title: Why is the value of (y:=!y+1 ;!y) + !y and !y + (y:= !y+1 ; !y) different in f#? Tags: f%23 Problem: Why is the value of (y:=!y+1 ;!y) + !y and !y + (y:= !y+1 ; !y) different in f#? Suppose in the repl we write let y ...
Why is the value of (y:=!y+1 ;!y) + !y and !y + (y:= !y+1 ; !y) different in f#? Why is the value of (y:=!y+1 ;!y) + !y and !y + (y:= !y+1 ; !y) different in f#? f%23 Why Why is the value of (y:=!y+1 ;!y) + !y and !y + (y:= !y+1 ; !y) different in f#? Suppose in the repl we write let y = ref 0 then if we follow this by...
[ 0.00830078125, 0.01611328125, 0.0159912109375, 0.01025390625, -0.002471923828125, -0.00128173828125, -0.002685546875, 0.00885009765625, 0.0140380859375, 0.03564453125, 0.013916015625, 0.0289306640625, 0.00179290771484375, -0.0003299713134765625, 0.02490234375, -0.0030517578125, -0.00...
[ 44084, 83, 70, 34292, 111, 53, 12, 1369, 38, 21748, 2819, 997, 711, 136, 12921, 23, 1238, 4904, 3742, 32, 121691, 456, 2424, 33022, 2633, 113, 2203, 18831, 757, 2174, 28960, 6, 2046, 116, 1284, 168398, 4369, 54, 615, 14602, 15549, 968...
[ 0.1673583984375, 0.088623046875, 0.0496826171875, 0.232666015625, 0.087646484375, 0.2061767578125, 0.046112060546875, 0.04461669921875, 0.096435546875, 0.2196044921875, 0.027587890625, 0.1905517578125, 0.11962890625, 0.1236572265625, 0.241943359375, 0.0833740234375, 0.1513671875, 0...
embed
38413607_c0
38413607
fsharp
0
Title: Range Operator for Base62 Encoding Problem title: Range Operator for Base62 Encoding Tags: f%23 Problem: Range Operator for Base62 Encoding For base 62 encoding, I need all 62 alphanumeric characters. The F# range operator offers a nice shorthand for this. let alphaNumericCharacters = seq { yield! [|'a'..'z'|] y...
Range Operator for Base62 Encoding Range Operator for Base62 Encoding f%23 Range Operator Base62 Encoding Array.ofSeq Range Operator for Base62 Encoding For base 62 encoding, I need all 62 alphanumeric characters. The F# range operator offers a nice shorthand for this. This is nice and concise, but I'm greedy. Is there...
[ 0.0174560546875, -0.01446533203125, 0.00171661376953125, 0.01055908203125, 0.005462646484375, -0.004852294921875, -0.0028533935546875, 0.00775146484375, 0.005706787109375, -0.014892578125, 0.01275634765625, 0.0220947265625, 0.0301513671875, 0.0169677734375, 0.01214599609375, 0.00799560...
[ 142462, 150922, 44978, 10837, 357, 587, 6238, 100, 1238, 3949, 3742, 69253, 53, 4390, 4233, 864, 3647, 10031, 22, 3871, 756, 144, 68743, 15537, 12259, 124850, 563, 4904, 37457, 39933, 64600, 26267, 16610, 12336, 903, 318, 3514, 297, 3917, ...
[ 0.221923828125, 0.264892578125, 0.206298828125, 0.264892578125, 0.04010009765625, 0.164794921875, 0.0628662109375, 0.022796630859375, 0.0816650390625, 0.0231170654296875, 0.1373291015625, 0.102294921875, 0.007568359375, 0.1207275390625, 0.0516357421875, 0.1639404296875, 0.21423339843...
embed
71344405_c4
71344405
fsharp
4
877029469675406, 0.03168933055587481, 0.032420547672104144, 0.03079075024741443, 0.1653012750667534, -0.006804319891639613, 0.008984055440418937, 0.0199408085772636, 0.020428069981471644, 0.04359405356382086, 0.015103293654879058, -0.023375468526050273, -0.00933222120934053, 0.02321095571832252, 0.049559948387087396, -...
877029469675406, 0.03168933055587481, 0.032420547672104144, 0.03079075024741443, 0.1653012750667534, -0.006804319891639613, 0.008984055440418937, 0.0199408085772636, 0.020428069981471644, 0.04359405356382086, 0.015103293654879058, -0.023375468526050273, -0.00933222120934053, 0.02321095571832252, 0.049559948387087396, -...
[ -0.01409912109375, -0.0286865234375, -0.0252685546875, -0.0081787109375, -0.00469970703125, 0.000766754150390625, -0.01458740234375, 0.0079345703125, 0.017822265625, 0.0120849609375, 0.0015869140625, -0.0162353515625, -0.0225830078125, -0.0286865234375, 0.00173187255859375, 0.018310546...
[ 382, 100595, 4235, 169531, 158045, 150744, 4, 89678, 5016, 181304, 94375, 87357, 19308, 185689, 6460, 120377, 188608, 198493, 66947, 131663, 1197, 123048, 58087, 142430, 8894, 126384, 107754, 12424, 14604, 6873, 10289, 20, 37509, 91092, 11548, 10...
[ 0.17919921875, 0.259765625, 0.217529296875, 0.2191162109375, 0.19091796875, 0.2685546875, 0.140380859375, 0.207763671875, 0.14990234375, 0.1055908203125, 0.1470947265625, 0.1278076171875, 0.044647216796875, 0.18408203125, 0.1456298828125, 0.125732421875, 0.1280517578125, 0.15490722...
embed
3111145_c0
3111145
fsharp
0
Title: Should I use F# to analyse Graphs Problem title: Should I use F# to analyse Graphs Tags: f%23, graph Problem: Should I use F# to analyse Graphs We have a program which perform graph analysis (namely Maximum-flow problem) on several graphs. There is also the opportunity to process these in parallel. There is alre...
Should I use F# to analyse Graphs Should I use F# to analyse Graphs f%23 graph Should Graphs Should I use F# to analyse Graphs We have a program which perform graph analysis (namely Maximum-flow problem) on several graphs. There is also the opportunity to process these in parallel. There is already a large C# Code base...
[ -0.0113525390625, 0.01708984375, 0.00160980224609375, 0.00173187255859375, -0.0155029296875, -0.0069580078125, -0.02685546875, 0.00079345703125, 0.001861572265625, -0.0224609375, 0.0031890869140625, -0.007110595703125, -0.00130462646484375, 0.00872802734375, 0.003448486328125, 0.017333...
[ 151117, 87, 4527, 563, 4904, 47, 51422, 6524, 11727, 7, 1238, 3949, 3742, 41382, 1528, 51339, 114137, 46540, 316, 118664, 2967, 40368, 6, 54591, 9433, 95103, 21771, 313, 28864, 3647, 892, 456, 434, 18781, 126826, 11522, 10644, 41018, 23 ]
[ 0.1201171875, 0.0236053466796875, 0.1256103515625, 0.173828125, 0.23828125, 0.029144287109375, 0.2357177734375, 0.1739501953125, 0.193359375, 0.03399658203125, 0.09771728515625, 0.038604736328125, 0.1253662109375, 0.209716796875, 0.098876953125, 0.0484619140625, 0.2032470703125, 0....
embed
66879674_c0
66879674
fsharp
0
Title: Is there a more concise way to rewrite that F# function? Problem title: Is there a more concise way to rewrite that F# function? Tags: f%23 Problem: Is there a more concise way to rewrite that F# function? String.Format(precisionString, value) The expected output has the sign in front of the number and the preci...
Is there a more concise way to rewrite that F# function? Is there a more concise way to rewrite that F# function? f%23 String.Format Is there a more concise way to rewrite that F# function? Here is a function that converts a number to a string with the requested precision and a leading sign: The expected output has the...
[ -0.0194091796875, 0.0028839111328125, 0.0038299560546875, -0.0016326904296875, 0.006256103515625, -0.00007724761962890625, 0.02294921875, 0.004669189453125, 0.01025390625, 0.01214599609375, 0.0196533203125, 0.0108642578125, -0.005767822265625, -0.01214599609375, 0.0150146484375, 0.0133...
[ 2685, 1286, 158, 318, 184, 3917, 456, 434, 18781, 450, 563, 4904, 32354, 47, 1238, 3742, 23351, 214, 102973, 257, 2071, 11853, 96760, 14012, 10, 79315, 678, 50336, 22619, 1830, 136, 105207, 24092, 84751, 140992, 1556, 70, 12912, 33636, 39...
[ 0.030303955078125, 0.13671875, 0.1097412109375, 0.193359375, 0.1175537109375, 0.07513427734375, 0.1375732421875, 0.1358642578125, 0.2017822265625, 0.035675048828125, 0.1539306640625, 0.2227783203125, 0.217041015625, 0.10626220703125, 0.1260986328125, 0.1661376953125, 0.1329345703125,...
embed
9546934_c0
9546934
fsharp
0
Title: Auto open a namespace in F# Problem title: Auto open a namespace in F# Tags: namespaces, module, f%23 Problem: Auto open a namespace in F# Hi would like to know how to make the f# compiler to auto open a namespace automatically. I have namespace XXX I have to add something here do(AutoOpen("XXX.YYY")) or somethi...
Auto open a namespace in F# Auto open a namespace in F# namespaces module f%23 external Auto XXX AutoOpen XXX.YYY YYY Auto open a namespace in F# Hi would like to know how to make the f# compiler to auto open a namespace automatically. I have Thanks
[ 0.007598876953125, -0.00640869140625, 0.010498046875, 0.00860595703125, -0.0045166015625, -0.004364013671875, 0.01397705078125, -0.004608154296875, -0.007781982421875, -0.000713348388671875, 0.0006103515625, 0.007171630859375, -0.00537109375, 0.006683349609375, 0.009521484375, -0.03295...
[ 4396, 9803, 10, 210716, 23, 563, 4904, 6, 88996, 1238, 3949, 3742, 173591, 44585, 103264, 1723, 108354, 990, 2673, 2806, 1884, 3714, 3642, 3249, 9969, 34759, 47, 1809, 191082, 765, 22362 ]
[ 0.2198486328125, 0.2200927734375, 0.050445556640625, 0.2861328125, 0.069091796875, 0.1690673828125, 0.2298583984375, 0.01153564453125, 0.1363525390625, 0.1082763671875, 0.0516357421875, 0.133544921875, 0.133056640625, 0.1181640625, 0.231689453125, 0.0535888671875, 0.1285400390625, ...
embed
39952301_c0
39952301
fsharp
0
Title: Adding a nuget package to fsproj file through forge Problem title: Adding a nuget package to fsproj file through forge Tags: .net, f%23 Problem: Adding a nuget package to fsproj file through forge Forge provides paket install subcommand through paket integration but invoking something like paket install DotLiqui...
Adding a nuget package to fsproj file through forge Adding a nuget package to fsproj file through forge .net f%23 Adding DotLiquid Adding a nuget package to fsproj file through forge Forge provides paket install subcommand through paket integration but invoking something like paket install DotLiquid does not add the pa...
[ -0.00014400482177734375, 0.004669189453125, 0.0003528594970703125, -0.01141357421875, -0.02099609375, 0.0103759765625, -0.000652313232421875, -0.00421142578125, 0.01324462890625, 0.007568359375, -0.0054931640625, -0.00188446044921875, -0.003692626953125, -0.00396728515625, 0.009826660156...
[ 62, 59725, 315, 3794, 98169, 47, 1238, 47606, 897, 11435, 8305, 100, 429, 1179, 3742, 84929, 9506, 94385, 1326, 13360, 20600, 1614, 277, 12018, 157353, 23253, 959, 15190, 17447, 3454, 170, 3917, 84751, 72095, 23009, 81717, 31913 ]
[ 0.0975341796875, 0.04876708984375, 0.166259765625, 0.229736328125, 0.2188720703125, 0.0301513671875, 0.10205078125, 0.1241455078125, 0.255126953125, 0.1043701171875, 0.047882080078125, 0.151123046875, 0.1715087890625, 0.100830078125, 0.09979248046875, 0.172119140625, 0.1141357421875,...
embed
70615607_c0
70615607
fsharp
0
Title: Set of N length generator in FSCheck Problem title: Set of N length generator in FSCheck Tags: f%23, fscheck Problem: Set of N length generator in FSCheck I'm still learning FSCheck, and recently needed a fixed collection of unique strings. This works, but I suspect there is a more efficient way. Arb.generate<Se...
Set of N length generator in FSCheck Set of N length generator in FSCheck f%23 fscheck Set FSCheck Arb.generate NonEmptyString Gen.filter Set.count Gen.map Seq.truncate Set of N length generator in FSCheck I'm still learning FSCheck, and recently needed a fixed collection of unique strings. This works, but I suspect th...
[ 0.0029754638671875, 0.0123291015625, -0.00445556640625, -0.01312255859375, -0.00396728515625, -0.00323486328125, 0.0050048828125, -0.024169921875, 0.01190185546875, -0.02490234375, -0.007659912109375, 0.02734375, 0.02392578125, 0.01153564453125, -0.0006103515625, -0.00604248046875, -...
[ 19943, 111, 541, 140909, 145823, 93774, 202567, 1238, 3949, 3742, 7, 78292, 1172, 275, 48281, 3775, 134332, 939, 71713, 15937, 120337, 71013, 62346, 864, 9774, 19, 33478, 52080, 44841, 188347, 42486, 36998, 79315, 43240, 92610, 1286, 93766, 3...
[ 0.1719970703125, 0.1080322265625, 0.1737060546875, 0.19189453125, 0.2445068359375, 0.1346435546875, 0.2802734375, 0.0259857177734375, 0.0262603759765625, 0.1529541015625, 0.014678955078125, 0.2120361328125, 0.0467529296875, 0.014923095703125, 0.1435546875, 0.0225067138671875, 0.07232...
embed
30674919_c0
30674919
fsharp
0
Title: How can I run xunit test in F# Problem title: How can I run xunit test in F# Tags: xunit.net, f%23 Problem: How can I run xunit test in F# I have Xunit and Xunit(Runner: Visual Studio) installed and he is my simple test: namespace Testing module Tests = open Xunit open Xunit.Extensions [<Fact>] let ``just test``...
How can I run xunit test in F# How can I run xunit test in F# xunit.net f%23 How Testing Tests Xunit Xunit.Extensions Fact Assert.Equal xunit.net How can I run xunit test in F# I have Xunit and Xunit(Runner: Visual Studio) installed and he is my simple test: But I can find Xunit in Test -> Window -> Test explorer and R...
[ 0.00872802734375, 0.007568359375, -0.0050048828125, -0.010009765625, -0.0003185272216796875, 0.00927734375, 0.0181884765625, -0.01177978515625, -0.014892578125, -0.003692626953125, 0.00360107421875, 0.0106201171875, -0.0024261474609375, 0.007415771484375, 0.005584716796875, -0.00268554...
[ 11249, 831, 87, 11675, 10438, 6773, 3034, 23, 563, 4904, 1179, 1238, 3949, 3742, 8647, 214, 19032, 19279, 128872, 132640, 1301, 33657, 71723, 136, 163321, 1679, 73372, 22968, 20600, 764, 8781, 7413, 176501, 88898, 9624, 3467, 1264, 46640, 7...
[ 0.02984619140625, 0.078125, 0.046844482421875, 0.160888671875, 0.2083740234375, 0.28564453125, 0.253173828125, 0.0771484375, 0.134033203125, 0.2069091796875, 0.1077880859375, 0.076171875, 0.022735595703125, 0.101806640625, 0.2069091796875, 0.00885009765625, 0.2060546875, 0.02972412...
embed
35626529_c0
35626529
fsharp
0
Title: creating a simple TCP server in F# and Suave.IO Problem title: creating a simple TCP server in F# and Suave.IO Tags: suave, f%23 Problem: creating a simple TCP server in F# and Suave.IO Is it possible, using Suave.IO and F#, to create a simple one-line TCP server along the lines of the http server below? startWe...
creating a simple TCP server in F# and Suave.IO creating a simple TCP server in F# and Suave.IO suave f%23 TCP Suave.IO Successful.OK Hello World creating a simple TCP server in F# and Suave.IO Is it possible, using Suave.IO and F#, to create a simple one-line TCP server along the lines of the http server below? (the T...
[ 0.007354736328125, -0.002655029296875, -0.00872802734375, 0.0341796875, 0.0103759765625, -0.007080078125, 0.000423431396484375, -0.00482177734375, 0.00011539459228515625, -0.0255126953125, 0.026123046875, -0.01416015625, 0.0167236328125, 0.0047607421875, 0.01470947265625, 0.01129150390...
[ 105233, 8781, 384, 17854, 10723, 563, 4904, 136, 45384, 272, 17780, 109829, 1238, 3949, 3742, 144053, 6661, 442, 7722, 17368, 5, 28282, 10, 1632, 2256, 33233, 124519, 1621, 35064, 5809, 54, 75836, 678, 79315, 75204, 104870 ]
[ 0.1217041015625, 0.198974609375, 0.0587158203125, 0.197998046875, 0.1854248046875, 0.119873046875, 0.18359375, 0.060333251953125, 0.2159423828125, 0.232666015625, 0.225830078125, 0.231201171875, 0.026519775390625, 0.00653076171875, 0.08294677734375, 0.0618896484375, 0.031280517578125...
embed
3913623_c0
3913623
fsharp
0
Title: F# Shortcut Syntax for Properties? Problem title: F# Shortcut Syntax for Properties? Tags: f%23 Problem: F# Shortcut Syntax for Properties? For the normal property getter/setter syntax let mutable myInternalValue member this.MyProperty with get() = myInternalValue and set(value) = myInternalValue <- value is the...
F# Shortcut Syntax for Properties? F# Shortcut Syntax for Properties? f%23 Shortcut Syntax Properties this.MyProperty MyProperty F# Shortcut Syntax for Properties? For the normal property getter/setter syntax is there a shortcut, similar to the following in C#? If there is one, I seem to be unable to find it...
[ -0.00787353515625, 0.0186767578125, 0.032470703125, -0.033935546875, -0.01300048828125, -0.0029754638671875, 0.0126953125, 0.00537109375, -0.000652313232421875, 0.024169921875, 0.01055908203125, 0.0703125, -0.0107421875, -0.003265380859375, 0.0146484375, 0.001251220703125, -0.0218505...
[ 563, 4904, 82990, 19774, 19010, 86531, 100, 234994, 32, 1238, 3949, 3742, 903, 31852, 10752, 1264, 939, 2646, 3638, 57266, 2046, 720, 64, 143577, 6002, 2685, 16610, 21373, 25632, 23, 313, 1632, 186, 2886, 7413 ]
[ 0.1273193359375, 0.206787109375, 0.1607666015625, 0.2242431640625, 0.1400146484375, 0.1953125, 0.1202392578125, 0.252685546875, 0.006591796875, 0.08233642578125, 0.060028076171875, 0.158447265625, 0.1011962890625, 0.10888671875, 0.1318359375, 0.195556640625, 0.1156005859375, 0.1148...
embed
66040004_c2
66040004
fsharp
2
:x, xmlns:mc, schemas.openxmlformats.org, xmlns:d, xmlns:local, clr-namespace:StargateIX.PrintingAndReports, mc:Ignorable, d:DesignHeight, d:DesignWidth, UserControl.Resources, Without, x:Key, ALL, TextBlocks, Style, TargetType, x:Type, TextBlock, Setter, Property, FontSize, Value, Title, TextAlignment, Center, Horizon...
:x, xmlns:mc, schemas.openxmlformats.org, xmlns:d, xmlns:local, clr-namespace:StargateIX.PrintingAndReports, mc:Ignorable, d:DesignHeight, d:DesignWidth, UserControl.Resources, Without, x:Key, ALL, TextBlocks, Style, TargetType, x:Type, TextBlock, Setter, Property, FontSize, Value, Title, TextAlignment, Center, Horizon...
[ 0.0009307861328125, -0.0030975341796875, 0.00494384765625, 0.003387451171875, 0.00116729736328125, 0.00677490234375, 0.0123291015625, -0.01519775390625, 0.024658203125, 0.010986328125, -0.0025482177734375, -0.022216796875, -0.00015354156494140625, -0.003997802734375, 0.0089111328125, 0...
[ 152, 425, 4, 131492, 1779, 12, 238, 61903, 7, 59636, 51727, 1478, 6, 71, 98908, 33139, 42, 210716, 44072, 42118, 21487, 112079, 1916, 37839, 56829, 11137, 2886, 104, 128640, 13025, 22553, 532, 927, 53400, 175904, 4332, 60427, 177417, 1022, ...
[ 0.0821533203125, 0.144775390625, 0.009307861328125, 0.2646484375, 0.191650390625, 0.07025146484375, 0.0311737060546875, 0.2467041015625, 0.040618896484375, 0.1727294921875, 0.228515625, 0.12060546875, 0.017181396484375, 0.05767822265625, 0.133056640625, 0.019866943359375, 0.104736328...
embed
20468672_c0
20468672
fsharp
0
Title: Adding Funscript to an existing ASP.NET MVC project Problem title: Adding Funscript to an existing ASP.NET MVC project Tags: asp.net-mvc, funscript, asp.net, f%23 Problem: Adding Funscript to an existing ASP.NET MVC project I really like the FunScript's idea of writing F# instead of Javascript, but I cannot find...
Adding Funscript to an existing ASP.NET MVC project Adding Funscript to an existing ASP.NET MVC project asp.net-mvc funscript asp.net f%23 Adding Funscript ASP.NET MVC asp.net-mvc Adding Funscript to an existing ASP.NET MVC project I really like the FunScript's idea of writing F# instead of Javascript, but I cannot fin...
[ -0.017822265625, 0.037109375, 0.00145721435546875, -0.0306396484375, 0.002838134765625, -0.0064697265625, -0.007415771484375, 0.0035552978515625, 0.0047607421875, -0.0634765625, 0.00933837890625, -0.01123046875, -0.01092529296875, 0.0152587890625, 0.0250244140625, -0.0020904541015625, ...
[ 62, 59725, 28670, 32032, 47, 144573, 147153, 17777, 276, 56349, 13452, 237, 254, 1179, 39, 66357, 7477, 1238, 3742, 5, 6183, 1884, 147845, 6528, 32562, 563, 4904, 64457, 74181, 53418, 121413, 78779, 13, 23, 18, 29806, 442, 3853, 7722, 305...
[ 0.1234130859375, 0.1104736328125, 0.25244140625, 0.300048828125, 0.1258544921875, 0.201171875, 0.177490234375, 0.1357421875, 0.07183837890625, 0.2144775390625, 0.114013671875, 0.0084228515625, 0.0892333984375, 0.08831787109375, 0.007171630859375, 0.1390380859375, 0.1727294921875, 0...
embed
10959335_c0
10959335
fsharp
0
Title: How add setter to to discriminated unions in F# Problem title: How add setter to to discriminated unions in F# Tags: discriminated-union, f%23, properties Problem: How add setter to to discriminated unions in F# I want add setter property to discriminated unions, how I should to do it? f.e.: type Factor = | Valu...
How add setter to to discriminated unions in F# How add setter to to discriminated unions in F# discriminated-union f%23 properties How Factor Value Object Range this.MyProperty How add setter to to discriminated unions in F# I want add setter property to discriminated unions, how I should to do it? f.e.:
[ -0.0137939453125, -0.00136566162109375, 0.02294921875, -0.01470947265625, -0.00927734375, -0.00823974609375, -0.0033416748046875, 0.006683349609375, 0.017578125, 0.003265380859375, 0.0289306640625, 0.046875, 0.029052734375, -0.0016632080078125, -0.004547119140625, -0.001312255859375, ...
[ 11249, 15190, 88685, 47, 55970, 3674, 69941, 7, 563, 4904, 87046, 1238, 3949, 3742, 183871, 117969, 190060, 134549, 142462, 903, 31852, 1264, 23, 3444, 57266, 3642, 5608, 442 ]
[ 0.0687255859375, 0.128173828125, 0.2427978515625, 0.1224365234375, 0.1968994140625, 0.1024169921875, 0.193115234375, 0.0577392578125, 0.1099853515625, 0.1798095703125, 0.139892578125, 0.06085205078125, 0.021484375, 0.1279296875, 0.148681640625, 0.1578369140625, 0.1192626953125, 0.1...
embed
61901090_c2
61901090
fsharp
2
Functions.Col('Date').Cast("timestamp").Cast("long")) .RangeBetween(-2, -1) df .WithColumn('last2daysSum', Functions.Sum('value').Over(last2Days)) .WithColumn('prev2daysSum', Functions.Sum('value').Over(last4Days)) .WithColumn('result2Days', Functions.Col('last2daysSum')) Code signals: now, in, Getting, Date, Value, Ra...
Functions.Col('Date').Cast("timestamp").Cast("long")) .RangeBetween(-2, -1) df .WithColumn('last2daysSum', Functions.Sum('value').Over(last2Days)) .WithColumn('prev2daysSum', Functions.Sum('value').Over(last4Days)) .WithColumn('result2Days', Functions.Col('last2daysSum')) Code signals: now, in, Getting, Date, Value, Ra...
[ 0.0029754638671875, 0.00360107421875, -0.01904296875, 0.052978515625, -0.0093994140625, -0.006805419921875, -0.017578125, 0.000675201416015625, 0.000640869140625, -0.0155029296875, -0.0245361328125, -0.000759124755859375, 0.0152587890625, -0.00127410888671875, -0.006744384765625, 0.013...
[ 28670, 10763, 7, 5, 78457, 86291, 174830, 6032, 590, 2676, 10617, 1052, 51459, 95211, 1177, 33, 5428, 110218, 104, 420, 194583, 316, 19777, 304, 5636, 294, 27494, 156673, 97141, 4692, 334, 194, 617, 6, 2109, 7136, 16, 28864, 26073, 12, ...
[ 0.1544189453125, 0.15771484375, 0.0693359375, 0.0203704833984375, 0.1353759765625, 0.1768798828125, 0.1240234375, 0.0670166015625, 0.06280517578125, 0.10107421875, 0.0845947265625, 0.0143585205078125, 0.1273193359375, 0.07073974609375, 0.15234375, 0.1307373046875, 0.068603515625, 0...
embed
1689424_c0
1689424
fsharp
0
Title: In F#. Is it possible to overload constructor of an abstract type? Problem title: In F#. Is it possible to overload constructor of an abstract type? Tags: functional-programming, .net, constructor, f%23 Problem: In F#. Is it possible to overload constructor of an abstract type? If yes could you give an example o...
In F#. Is it possible to overload constructor of an abstract type? In F#. Is it possible to overload constructor of an abstract type? functional-programming .net constructor f%23 In F#. Is it possible to overload constructor of an abstract type? If yes could you give an example of a type with parameterless and "paramet...
[ 0.013916015625, 0.0020751953125, -0.0040283203125, -0.016845703125, 0.0005950927734375, -0.0169677734375, -0.00183868408203125, 0.00445556640625, -0.004669189453125, -0.013427734375, 0.01446533203125, -0.02001953125, 0.025146484375, -0.006988525390625, 0.002471923828125, -0.009765625, ...
[ 563, 4904, 2071, 442, 7722, 645, 63033, 64549, 748, 164789, 10644, 360, 123309, 28966, 1179, 1238, 3742, 72272, 27781, 111, 171859, 9393, 136, 6276, 29089, 25724, 67330, 17368, 22691, 30700, 3917 ]
[ 0.1116943359375, 0.195068359375, 0.0533447265625, 0.006439208984375, 0.1539306640625, 0.1201171875, 0.218505859375, 0.1630859375, 0.123046875, 0.204833984375, 0.1639404296875, 0.037445068359375, 0.1114501953125, 0.0379638671875, 0.0789794921875, 0.038177490234375, 0.0277252197265625,...
embed
33635852_c0
33635852
fsharp
0
Title: How do I convert a weakly typed ICollection into an F# List? Problem title: How do I convert a weakly typed ICollection into an F# List? Tags: c%23, f%23 Problem: How do I convert a weakly typed ICollection into an F# List? I have an ICollection and need to convert it into a F# List. If the collection were stron...
How do I convert a weakly typed ICollection into an F# List? How do I convert a weakly typed ICollection into an F# List? c%23 f%23 How ICollection List List.ofSeq How do I convert a weakly typed ICollection into an F# List? I have an ICollection and need to convert it into a F# List. If the collection were strongly ty...
[ -0.01153564453125, 0.01483154296875, 0.0111083984375, -0.0211181640625, 0.006317138671875, 0.0223388671875, -0.03955078125, 0.0011444091796875, 0.00250244140625, -0.0140380859375, 0.0089111328125, -0.006256103515625, 0.0012969970703125, 0.01324462890625, 0.0022735595703125, 0.002441406...
[ 11249, 96760, 642, 344, 538, 10644, 71, 69010, 45878, 10763, 3934, 142, 563, 4904, 32036, 87, 10, 3742, 4390, 4233, 864, 3871, 42486, 37515, 618, 162520, 831, 33022, 54 ]
[ 0.03094482421875, 0.1468505859375, 0.1552734375, 0.1839599609375, 0.0892333984375, 0.1873779296875, 0.0709228515625, 0.09619140625, 0.14111328125, 0.10198974609375, 0.0819091796875, 0.049407958984375, 0.101806640625, 0.197021484375, 0.1983642578125, 0.00042724609375, 0.03610229492187...
embed
6638508_c0
6638508
fsharp
0
Title: f# file not running Problem title: f# file not running Tags: f%23, extract, twitter Problem: f# file not running I am a noob when it comes to f#, I am a phd student in Maths and I am trying to run the following: http://blogs.msdn.com/b/dsyme/archive/2011/03/10/slides-and-demo-scripts-for-sigcse.aspx Under the zi...
f# file not running f# file not running f%23 extract twitter f# file not running I am a noob when it comes to f#, I am a phd student in Maths and I am trying to run the following: http://blogs.msdn.com/b/dsyme/archive/2011/03/10/slides-and-demo-scripts-for-sigcse.aspx Under the zip file Demos/TwitterFeed/..... I am try...
[ 0.029052734375, 0.0111083984375, 0.0108642578125, 0.0069580078125, 0.00238037109375, 0.00872802734375, -0.0034027099609375, -0.00830078125, -0.01226806640625, -0.0191650390625, -0.0115966796875, -0.01422119140625, 0.00457763671875, -0.0103759765625, 0.0322265625, 0.01483154296875, -0...
[ 1238, 4904, 11435, 959, 51042, 3949, 3742, 125663, 34776, 444, 3522, 11521, 71, 9836, 78804, 31577, 11675, 25632, 53, 282, 150, 988, 2940, 80750, 32032, 20561, 67130, 9626, 68330, 262, 840, 75691, 30154, 102158, 3610, 297, 8306, 11814, 9790...
[ 0.1622314453125, 0.253662109375, 0.1839599609375, 0.1158447265625, 0.1988525390625, 0.044097900390625, 0.140380859375, 0.1710205078125, 0.2247314453125, 0.0285797119140625, 0.067138671875, 0.0175933837890625, 0.005950927734375, 0.056365966796875, 0.0675048828125, 0.059539794921875, 0...
embed
3739762_c0
3739762
fsharp
0
Title: Is F# case sensitive? Problem title: Is F# case sensitive? Tags: case-sensitive, f%23, case-insensitive Problem: Is F# case sensitive? I searched here and on the net but no answer. The reason I ask is, since F# conventions seems like they favor noncapital letters, using BCL types with Pascal conventions look wei...
Is F# case sensitive? Is F# case sensitive? case-sensitive f%23 case-insensitive String.Join Is F# case sensitive? I searched here and on the net but no answer. The reason I ask is, since F# conventions seems like they favor noncapital letters, using BCL types with Pascal conventions look weird in F#, as in: Seems like...
[ -0.0155029296875, -0.0108642578125, -0.0035552978515625, 0.00677490234375, 0.0078125, 0.004150390625, 0.006927490234375, -0.0086669921875, 0.0012969970703125, 0.0296630859375, -0.001251220703125, -0.0023956298828125, 0.00183868408203125, -0.012451171875, -0.003631591796875, 0.012268066...
[ 2071, 563, 4904, 7225, 191125, 32, 176302, 13, 1238, 3949, 3742, 73, 23351, 214, 16604, 33938, 3688, 1284, 110, 35166, 31635, 26458, 16792, 101805, 7, 37202, 1884, 10862, 351, 215652, 120820, 17368, 335, 37486, 52895, 678, 167599, 6713, 179...
[ 0.125244140625, 0.1893310546875, 0.28662109375, 0.224609375, 0.27783203125, 0.04339599609375, 0.240234375, 0.030181884765625, 0.1531982421875, 0.056396484375, 0.134765625, 0.0860595703125, 0.140869140625, 0.0239410400390625, 0.1221923828125, 0.01617431640625, 0.015472412109375, 0.0...
embed
44167777_c2
44167777
fsharp
2
Detected, SYSTEMVSSCONNECTION, Team, Services, TFS, NuGet.config, _tasks, NuGetInstaller_333b11bd-d341-40d9-afcf-b32d5ce6f23b, node_modules, NuGet.exe, NonInteractive, Apps, Sandbox, FSharpWithNugetDemo, FSharpWithNugetDemo.sln, Microsoft.NET, Framework, v4.0.30319, Feeds, Users, AppData, Local, Cache, api.nuget.org, ...
Detected, SYSTEMVSSCONNECTION, Team, Services, TFS, NuGet.config, _tasks, NuGetInstaller_333b11bd-d341-40d9-afcf-b32d5ce6f23b, node_modules, NuGet.exe, NonInteractive, Apps, Sandbox, FSharpWithNugetDemo, FSharpWithNugetDemo.sln, Microsoft.NET, Framework, v4.0.30319, Feeds, Users, AppData, Local, Cache, api.nuget.org, ...
[ -0.0283203125, 0.0233154296875, 0.01361083984375, 0.01434326171875, 0.01239013671875, 0.006927490234375, -0.020751953125, -0.007568359375, 0.00799560546875, 0.037353515625, -0.00982666015625, 0.0033721923828125, -0.0089111328125, 0.005523681640625, 0.00119781494140625, 0.01422119140625...
[ 579, 13, 89829, 4, 55858, 90420, 47207, 294, 77980, 91394, 35213, 11399, 40583, 384, 36381, 1429, 724, 126, 153837, 1073, 1224, 4153, 92621, 56, 66000, 8894, 6460, 110, 112, 83279, 46480, 3775, 44851, 71232, 89530, 13552, 11728, 93774, 3467...
[ 0.20166015625, 0.2012939453125, 0.171875, 0.0229339599609375, 0.112060546875, 0.156494140625, 0.1873779296875, 0.0701904296875, 0.1043701171875, 0.1734619140625, 0.0665283203125, 0.1632080078125, 0.1719970703125, 0.117919921875, 0.2421875, 0.2188720703125, 0.1683349609375, 0.222900...
embed
25345379_c1
25345379
fsharp
1
v -> v.As<float>() |> Series.foldValues (fun acc elem -> elem + acc) 0.0 ) mean (it properly skip the missing value): f1.Rows |> Series.mapValues(fun v -> v.As<float>() |> Stats.mean ) count: f1.Rows |> Series.mapValues(fun v -> v.As<float>() |> Stats.count ) if there is a different way please let me know. hopefully t...
v -> v.As<float>() |> Series.foldValues (fun acc elem -> elem + acc) 0.0 ) mean (it properly skip the missing value): f1.Rows |> Series.mapValues(fun v -> v.As<float>() |> Stats.mean ) count: f1.Rows |> Series.mapValues(fun v -> v.As<float>() |> Stats.count ) if there is a different way please let me know. hopefully t...
[ 0.004486083984375, -0.004119873046875, -0.004638671875, 0.009033203125, -0.0194091796875, -0.033203125, 0.0198974609375, 0.00439453125, 0.00186920166015625, -0.019287109375, -0.00860595703125, -0.0015869140625, 0.012451171875, 0.0010833740234375, 0.011474609375, 0.011474609375, -0.00...
[ 81, 33079, 19659, 52347, 64876, 42822, 42272, 21049, 16498, 50015, 88, 195, 997, 16, 89678, 1388, 29459, 217, 155965, 21658, 70, 132283, 34292, 2077, 1238, 418, 12724, 19725, 62346, 132, 58745, 23888, 282, 66, 54529, 5, 257, 71013, 3917, ...
[ 0.235595703125, 0.050506591796875, 0.1654052734375, 0.1395263671875, 0.2115478515625, 0.1925048828125, 0.1561279296875, 0.10601806640625, 0.149658203125, 0.104736328125, 0.03948974609375, 0.1241455078125, 0.08935546875, 0.0595703125, 0.1861572265625, 0.04754638671875, 0.20703125, 0...
embed
43607750_c0
43607750
fsharp
0
Title: FSharpCore 4.4.0.0 for version fsharp 4.0 vs fsharpcore 4.1 with fsharp 4.1 Problem title: FSharpCore 4.4.0.0 for version fsharp 4.0 vs fsharpcore 4.1 with fsharp 4.1 Tags: f%23 Problem: FSharpCore 4.4.0.0 for version fsharp 4.0 vs fsharpcore 4.1 with fsharp 4.1 I'm confused. I'm upgrading an old project that ha...
FSharpCore 4.4.0.0 for version fsharp 4.0 vs fsharpcore 4.1 with fsharp 4.1 FSharpCore 4.4.0.0 for version fsharp 4.0 vs fsharpcore 4.1 with fsharp 4.1 f%23 FSharpCore FSharpCore 4.4.0.0 for version fsharp 4.0 vs fsharpcore 4.1 with fsharp 4.1 I'm confused. I'm upgrading an old project that has references to FSharp.Cor...
[ -0.02001953125, 0.0130615234375, -0.002227783203125, 0.002197265625, -0.00872802734375, -0.0211181640625, 0.009765625, 0.0025177001953125, -0.00408935546875, 0.0296630859375, -0.00634765625, 0.0025634765625, -0.006011962890625, 0.0023651123046875, 0.025390625, -0.005157470703125, 0.0...
[ 93774, 3467, 254, 50886, 13, 102692, 99929, 100, 11389, 1238, 89280, 40401, 20209, 30854, 61391, 678, 3742, 87, 39, 55681, 1257, 8961, 10332, 13452, 91067, 5, 219743, 14373, 70, 42850, 98, 315, 3794, 83, 12937, 73342, 7730, 101935, 4420, ...
[ 0.102294921875, 0.1944580078125, 0.2171630859375, 0.2054443359375, 0.0965576171875, 0.268798828125, 0.19873046875, 0.06060791015625, 0.2110595703125, 0.1181640625, 0.2208251953125, 0.259765625, 0.15576171875, 0.2144775390625, 0.238525390625, 0.06182861328125, 0.046875, 0.0123596191...
embed
32827048_c0
32827048
fsharp
0
Title: Documenting discriminated unions in F# Problem title: Documenting discriminated unions in F# Tags: f%23 Problem: Documenting discriminated unions in F# Is there a "best practices" for documenting Discriminated Unions in F#? I've been using the XML tags available at the MSDN website , but there's no mention on do...
Documenting discriminated unions in F# Documenting discriminated unions in F# f%23 Documenting XML Desc Documenting discriminated unions in F# Is there a "best practices" for documenting Discriminated Unions in F#? I've been using the XML tags available at the MSDN website , but there's no mention on documenting DUs, o...
[ 0.00921630859375, 0.02197265625, 0.004241943359375, -0.0247802734375, 0.00146484375, 0.0048828125, -0.006683349609375, -0.0034942626953125, -0.00168609619140625, -0.000885009765625, 0.026123046875, -0.00830078125, 0.006744384765625, 0.004119873046875, -0.0025634765625, -0.0006141662597...
[ 43101, 214, 55970, 3674, 69941, 7, 563, 4904, 1238, 3949, 3742, 92537, 68320, 23, 32168, 41361, 12937, 6206, 135421, 32528, 17368, 69141, 19882, 99, 16265, 51671, 4165, 110, 41392, 14614, 50986, 6276, 9351, 425, 5, 98893, 5570, 52895, 32354...
[ 0.20703125, 0.093994140625, 0.261962890625, 0.08367919921875, 0.22216796875, 0.09356689453125, 0.166259765625, 0.2364501953125, 0.05889892578125, 0.005950927734375, 0.10546875, 0.234375, 0.2210693359375, 0.05389404296875, 0.1351318359375, 0.1937255859375, 0.217041015625, 0.08398437...
embed
29546044_c1
29546044
fsharp
1
7): error FS0010: Unexpected symbol ) in expression The issue is at the member constraint invocation expression on the second to last line. Basically, I can't figure out how to pass the type variables ^t and int to the lens type within the member constraint invocation expression. Is there a good way to accomplish this?...
7): error FS0010: Unexpected symbol ) in expression The issue is at the member constraint invocation expression on the second to last line. Basically, I can't figure out how to pass the type variables ^t and int to the lens type within the member constraint invocation expression. Is there a good way to accomplish this?...
[ -0.005615234375, 0.0005340576171875, 0.011962890625, -0.00151824951171875, -0.00390625, -0.02001953125, -0.0169677734375, 0.007080078125, 0.01025390625, -0.018798828125, 0.00897216796875, 0.03564453125, 0.010009765625, 0.006805419921875, 0.00640869140625, -0.01123046875, -0.010986328...
[ 49413, 18499, 93774, 7049, 963, 992, 83613, 13, 89829, 26582, 1388, 23, 125195, 31089, 32786, 158, 2816, 4288, 202010, 17932, 47, 4568, 13315, 26366, 3642, 27875, 10644, 77336, 13331, 18, 136, 3098, 7, 28032, 4127, 163846, 28864, 26073, 119...
[ 0.094482421875, 0.1575927734375, 0.15771484375, 0.1024169921875, 0.177001953125, 0.0711669921875, 0.091796875, 0.07757568359375, 0.075439453125, 0.2431640625, 0.08837890625, 0.11328125, 0.250244140625, 0.104248046875, 0.23291015625, 0.06817626953125, 0.1788330078125, 0.100219726562...
embed
2399917_c0
2399917
fsharp
0
Title: How to define type member constant in F#? Problem title: How to define type member constant in F#? Tags: constants, f%23, .net Problem: How to define type member constant in F#? In C# one can define a type member constant like this: class Foo { public const int Bar = 600; } The IL looks like this. .field public ...
How to define type member constant in F#? How to define type member constant in F#? constants f%23 .net How Foo Bar int32 Sealed Literal How to define type member constant in F#? In C# one can define a type member constant like this: The IL looks like this. How can I do the same within Visual F# / FSharp? I tried this ...
[ 0.00107574462890625, -0.006500244140625, 0.0023345947265625, -0.0133056640625, 0.00982666015625, -0.0220947265625, -0.00054168701171875, 0.0191650390625, -0.01953125, -0.005859375, -0.0020751953125, 0.019287109375, 0.004364013671875, 0.0296630859375, -0.00135040283203125, 0.00105285644...
[ 11249, 47, 61924, 10644, 32786, 53697, 23, 563, 4904, 1238, 3949, 3742, 1179, 9572, 31, 3253, 18, 6460, 126970, 297, 135940, 141, 360, 313, 1632, 831, 1884, 903, 581, 30219, 33342, 54, 5701, 28032, 73372, 93774, 3467, 254, 37842, 25820 ]
[ 0.0701904296875, 0.07373046875, 0.2216796875, 0.2568359375, 0.286865234375, 0.2322998046875, 0.0704345703125, 0.141845703125, 0.242431640625, 0.09124755859375, 0.0225067138671875, 0.1524658203125, 0.1219482421875, 0.151611328125, 0.1014404296875, 0.184326171875, 0.04132080078125, 0...
embed
2793069_c0
2793069
fsharp
0
Title: Immutable Dictionary overhead? Problem title: Immutable Dictionary overhead? Tags: f%23, dictionary, immutability Problem: Immutable Dictionary overhead? When using immutable dictionaries in F# , how much overhead is there when adding / removing entries? Will it treat entire buckets as immutable and clone those ...
Immutable Dictionary overhead? Immutable Dictionary overhead? f%23 dictionary immutability Immutable Dictionary Immutable Dictionary overhead? When using immutable dictionaries in F# , how much overhead is there when adding / removing entries? Will it treat entire buckets as immutable and clone those and only recreate ...
[ 0.01129150390625, -0.004547119140625, -0.010986328125, -0.011962890625, -0.00860595703125, -0.018310546875, -0.0155029296875, -0.0172119140625, 0.009765625, 0.01708984375, 0.0274658203125, 0.01080322265625, -0.00439453125, 0.029296875, 0.0274658203125, -0.00689697265625, -0.001419067...
[ 3370, 561, 22819, 147638, 645, 31251, 32, 1238, 3949, 3742, 45, 10763, 6635, 566, 14311, 41159, 17368, 11, 10484, 563, 4904, 3642, 5045, 2685, 3229, 154107, 248, 49146, 6496, 112820, 85689, 64194, 373, 27853, 20450, 89011, 35735, 1556, 9881...
[ 0.080810546875, 0.1341552734375, 0.16162109375, 0.196533203125, 0.1448974609375, 0.2325439453125, 0.019805908203125, 0.083251953125, 0.02105712890625, 0.110595703125, 0.079833984375, 0.1439208984375, 0.09271240234375, 0.08331298828125, 0.1595458984375, 0.09625244140625, 0.03430175781...
embed
31461764_c0
31461764
fsharp
0
Title: How can I substitute printfn with a noop Problem title: How can I substitute printfn with a noop Tags: f%23, printf Problem: How can I substitute printfn with a noop I use pf as an abbreviation of printfn let pf = printfn // signature: val pf : (Printf.TextWriterFormat<'a> -> 'a) Can we change pf so that it is a...
How can I substitute printfn with a noop How can I substitute printfn with a noop f%23 printf How Printf.TextWriterFormat How can I substitute printfn with a noop I use pf as an abbreviation of printfn Can we change pf so that it is a noop and does not output anything? I tried things like
[ -0.01397705078125, 0.0108642578125, 0.029296875, 0.016357421875, -0.00445556640625, -0.01483154296875, 0.023193359375, -0.0135498046875, -0.0004215240478515625, 0.03076171875, -0.01043701171875, -0.01043701171875, -0.0205078125, -0.0189208984375, 0.019287109375, -0.003662109375, 0.01...
[ 11249, 831, 87, 161740, 13, 28412, 14783, 678, 110, 2146, 1238, 3949, 3742, 420, 39754, 174379, 1456, 2783, 56, 102973, 10, 4527, 39557, 237, 1563, 105160, 14, 4171, 15549, 221, 83, 14602, 959, 140992, 23937, 37842 ]
[ 0.045074462890625, 0.07562255859375, 0.034149169921875, 0.1807861328125, 0.0673828125, 0.210693359375, 0.26708984375, 0.1151123046875, 0.16259765625, 0.23046875, 0.1099853515625, 0.041717529296875, 0.1435546875, 0.1722412109375, 0.1578369140625, 0.1298828125, 0.018035888671875, 0.0...
embed
49210763_c0
49210763
fsharp
0
Title: f# set a calling interval on a function after some delay Problem title: f# set a calling interval on a function after some delay Tags: setinterval, f%23 Problem: f# set a calling interval on a function after some delay I've some routine that I want to repeat calling every 24 hours, how can this be done in F# mod...
f# set a calling interval on a function after some delay f# set a calling interval on a function after some delay setinterval f%23 Program Task.Delay f# set a calling interval on a function after some delay I've some routine that I want to repeat calling every 24 hours, how can this be done in F# My Attempt
[ 0.0037384033203125, -0.018310546875, 0.0047607421875, 0.020751953125, 0.00250244140625, -0.0205078125, 0.02099609375, -0.006072998046875, 0.004791259765625, -0.038330078125, 0.01495361328125, 0.017578125, -0.0198974609375, 0.004058837890625, 0.02294921875, 0.0181884765625, 0.02014160...
[ 1238, 4904, 5423, 10, 159029, 51514, 98, 32354, 7103, 3060, 8, 5259, 10433, 1405, 3949, 3742, 7663, 9598, 92, 4657, 124374, 3444, 47, 119140, 11907, 744, 21974, 3642, 831, 903, 16940, 563, 2646, 1913, 34224, 18 ]
[ 0.09912109375, 0.186767578125, 0.1251220703125, 0.05908203125, 0.2178955078125, 0.275146484375, 0.10418701171875, 0.1802978515625, 0.1226806640625, 0.07061767578125, 0.13232421875, 0.2215576171875, 0.1224365234375, 0.03448486328125, 0.001190185546875, 0.10504150390625, 0.08740234375,...
embed
69694195_c0
69694195
fsharp
0
Title: F# type with `and` and Lazy? Problem title: F# type with `and` and Lazy? Tags: f%23 Problem: F# type with `and` and Lazy? I read the following type definition. What does it do? type StreamCell<'a> = | Nill | Cons of 'a * Stream<'a> and Stream<'a> = Lazy<StreamCell<'a>> I tried to define the value with the type. ...
F# type with `and` and Lazy? F# type with `and` and Lazy? f%23 Lazy StreamCell Nill Cons Stream Type Nill::1 F# type with `and` and Lazy? I read the following type definition. What does it do? I tried to define the value with the type. I thought the type of x and y should be StreamCell?
[ -0.0096435546875, 0.0079345703125, -0.00836181640625, 0.00732421875, 0.0203857421875, -0.01129150390625, -0.007171630859375, 0.0185546875, 0.00531005859375, 0.0028533935546875, -0.000385284423828125, 0.01104736328125, 0.00909423828125, 0.020751953125, 0.01519775390625, 0.00335693359375...
[ 563, 4904, 10644, 678, 2940, 136, 239, 3285, 1238, 3742, 115061, 441, 6796, 1520, 1181, 39215, 60457, 19721, 12301, 25632, 80934, 4865, 14602, 442, 54, 61924, 34292, 17569, 111, 1022, 113, 5608 ]
[ 0.1014404296875, 0.17529296875, 0.2279052734375, 0.07073974609375, 0.208740234375, 0.1236572265625, 0.1468505859375, 0.208984375, 0.04010009765625, 0.040618896484375, 0.212890625, 0.0787353515625, 0.177978515625, 0.12109375, 0.1573486328125, 0.1422119140625, 0.2030029296875, 0.0288...
embed
22914448_c0
22914448
fsharp
0
Title: Infinite fibonacci sequence Problem title: Infinite fibonacci sequence Tags: lazy-sequences, functional-programming, fibonacci, f%23 Problem: Infinite fibonacci sequence I'm trying to imitate Haskell's famous infinite fibonacci list in F# using sequences. Why doesn't the following sequence evaluate as expected? ...
Infinite fibonacci sequence Infinite fibonacci sequence lazy-sequences functional-programming fibonacci f%23 Infinite Seq.append Seq.ofList Seq.map2 fibs.Force Seq.skip Infinite fibonacci sequence I'm trying to imitate Haskell's famous infinite fibonacci list in F# using sequences. Why doesn't the following sequence ev...
[ 0.014892578125, 0.0159912109375, 0.004608154296875, 0.0033416748046875, -0.01470947265625, -0.003936767578125, 0.01263427734375, -0.0020294189453125, 0.0205078125, -0.0260009765625, 0.008056640625, 0.0167236328125, 0.00421142578125, 0.0274658203125, 0.0189208984375, 0.01104736328125, ...
[ 134322, 13, 809, 20990, 52544, 40, 944, 3956, 21, 3285, 184, 26513, 123309, 28966, 1238, 3949, 3742, 503, 864, 9007, 3611, 4390, 154663, 62346, 304, 16145, 18537, 329, 44024, 31577, 566, 5743, 20625, 142508, 7, 170277, 54241, 5303, 23, 56...
[ 0.1732177734375, 0.0833740234375, 0.129638671875, 0.132080078125, 0.1641845703125, 0.07647705078125, 0.15966796875, 0.09381103515625, 0.08935546875, 0.1727294921875, 0.0614013671875, 0.1904296875, 0.1414794921875, 0.0821533203125, 0.08319091796875, 0.0625, 0.1732177734375, 0.053405...
embed
28567483_c0
28567483
fsharp
0
Title: How to concatenate lists (and other collections) in F#? Problem title: How to concatenate lists (and other collections) in F#? Tags: concatenation, f%23, list Problem: How to concatenate lists (and other collections) in F#? Does F# provide idiomatic ways to concatenate sequence and list together? list and list t...
How to concatenate lists (and other collections) in F#? How to concatenate lists (and other collections) in F#? concatenation f%23 list How How to concatenate lists (and other collections) in F#? Does F# provide idiomatic ways to concatenate sequence and list together? list and list together into a list? (non-destructi...
[ 0.01043701171875, 0.025390625, 0.0057373046875, 0.0005950927734375, 0.0030975341796875, -0.003021240234375, -0.00701904296875, 0.0089111328125, 0.01348876953125, -0.0106201171875, -0.007354736328125, 0.00066375732421875, -0.000946044921875, 0.00799560546875, -0.00156402587890625, -0.02...
[ 11249, 158, 33478, 76, 67, 5303, 7, 42486, 563, 4904, 47, 3789, 4460, 33, 1238, 3949, 3742, 23, 22691, 49666, 9523, 48322, 944, 3956, 136, 25842, 3934, 6431, 36716, 8, 5844, 842, 22819, 10298, 4778, 53, 831, 370, 99726 ]
[ 0.0712890625, 0.115966796875, 0.1990966796875, 0.1497802734375, 0.077392578125, 0.240234375, 0.053558349609375, 0.1728515625, 0.1522216796875, 0.1986083984375, 0.03326416015625, 0.0253143310546875, 0.1473388671875, 0.119384765625, 0.081298828125, 0.047332763671875, 0.140625, 0.0193...
embed
65156893_c0
65156893
fsharp
0
Title: Function that will cache the values of a sequence Problem title: Function that will cache the values of a sequence Tags: .net, f%23 Problem: Function that will cache the values of a sequence How to defined a function that will cache the values of a sequence and print "Cached" to standard output every time the va...
Function that will cache the values of a sequence Function that will cache the values of a sequence .net f%23 input:seq Function that will cache the values of a sequence How to defined a function that will cache the values of a sequence and print "Cached" to standard output every time the value requested from the seque...
[ 0.01446533203125, 0.037109375, 0.0068359375, 0.0234375, 0.027099609375, -0.01373291015625, 0.0032501220703125, 0.0159912109375, 0.0126953125, -0.01904296875, -0.01434326171875, 0.01953125, -0.0025787353515625, 0.0062255859375, 0.02099609375, 0.01373291015625, -0.01287841796875, -0....
[ 28670, 10763, 450, 1221, 82365, 70, 142424, 111, 40, 944, 3956, 1179, 1238, 3742, 107730, 184, 864, 11249, 61924, 32354, 28412, 20370, 74694, 47, 5570, 140992, 11907, 1733, 34292, 50336, 297, 1295, 20653, 2633, 46471, 39642, 73, 7077, 11, ...
[ 0.1751708984375, 0.109619140625, 0.06732177734375, 0.111572265625, 0.27392578125, 0.08251953125, 0.2010498046875, 0.0677490234375, 0.0782470703125, 0.149658203125, 0.1455078125, 0.1370849609375, 0.04168701171875, 0.1197509765625, 0.1397705078125, 0.12158203125, 0.208740234375, 0.00...
embed
35003102_c0
35003102
fsharp
0
Title: f# private class inside public one Problem title: f# private class inside public one Tags: java, class, f%23, oop Problem: f# private class inside public one I have a Java class and I need to write a similar one in F#. How can I define a private class inside public in f#? public class KnownRuleGoals { void recor...
f# private class inside public one f# private class inside public one java class f%23 oop KnownRuleGoals knownParsingSet.add KnownParsing Rule f# private class inside public one I have a Java class and I need to write a similar one in F#. How can I define a private class inside public in f#?
[ 0.00640869140625, 0.015625, 0.004302978515625, 0.032958984375, -0.00677490234375, 0.0267333984375, -0.0203857421875, -0.0157470703125, -0.000354766845703125, 0.00677490234375, 0.007720947265625, 0.00013828277587890625, -0.01336669921875, 0.01177978515625, 0.00159454345703125, -0.009277...
[ 1238, 4904, 14375, 18507, 46132, 3835, 1632, 79, 330, 3949, 3742, 32500, 70829, 19, 26951, 133, 17903, 51529, 28636, 6953, 294, 126, 4028, 139118, 765, 41925, 3871, 33022, 10, 21373, 23, 563, 61924 ]
[ 0.146484375, 0.214599609375, 0.250732421875, 0.237060546875, 0.1689453125, 0.2066650390625, 0.182373046875, 0.0745849609375, 0.128173828125, 0.0142669677734375, 0.0845947265625, 0.11328125, 0.1295166015625, 0.026885986328125, 0.087158203125, 0.013458251953125, 0.1226806640625, 0.14...
embed
6062191_c0
6062191
fsharp
0
Title: F# getting a list of random numbers Problem title: F# getting a list of random numbers Tags: f%23 Problem: F# getting a list of random numbers I am trying to fill a list with random numbers and am having diffculty getting the random number part. What I have right now prints out a random number 10 times, what I w...
F# getting a list of random numbers F# getting a list of random numbers f%23 System.Random Next F# getting a list of random numbers I am trying to fill a list with random numbers and am having diffculty getting the random number part. What I have right now prints out a random number 10 times, what I want is to print ou...
[ 0.003936767578125, 0.0106201171875, 0.004150390625, -0.01611328125, 0.01165771484375, 0.02294921875, 0.0013275146484375, -0.01385498046875, -0.0225830078125, -0.01470947265625, 0.0135498046875, 0.005706787109375, -0.011962890625, 0.00830078125, -0.001220703125, -0.00019168853759765625,...
[ 563, 4904, 20949, 5303, 96759, 101935, 111, 1238, 3742, 12353, 126525, 3815, 4997, 87, 31577, 26292, 10, 678, 19441, 71337, 107564, 53, 70, 14012, 2831, 765, 7108, 5036, 28412, 1810, 209, 20028, 2367, 3444, 47, 12921, 6305, 157666 ]
[ 0.1507568359375, 0.2156982421875, 0.09307861328125, 0.1339111328125, 0.1895751953125, 0.1630859375, 0.03533935546875, 0.0843505859375, 0.12548828125, 0.10693359375, 0.0928955078125, 0.1307373046875, 0.1343994140625, 0.0183258056640625, 0.071533203125, 0.0987548828125, 0.0357971191406...
embed
69315950_c1
69315950
fsharp
1
? Solution For anyone who finds it useful the solution, as explained by the helpful answers, is that I needed to pipe the original list into the map function so that both parameters were being provided. let private addOnsFromDto (addOns: MyType1 []) = let typedList = List.empty<MyType2> match addOns with | null -> type...
? Solution For anyone who finds it useful the solution, as explained by the helpful answers, is that I needed to pipe the original list into the map function so that both parameters were being provided. let private addOnsFromDto (addOns: MyType1 []) = let typedList = List.empty<MyType2> match addOns with | null -> type...
[ -0.0257568359375, 0.000797271728515625, 0.005828857421875, 0.0164794921875, -0.0303955078125, 0.0002536773681640625, -0.02197265625, -0.0189208984375, 0.0184326171875, -0.00897216796875, 0.0089111328125, -0.01483154296875, 0.024169921875, 0.0218505859375, -0.0037384033203125, -0.025634...
[ 705, 187895, 35672, 7413, 80234, 29806, 189050, 98893, 83, 87, 44841, 47, 137158, 7311, 5303, 3934, 22288, 32354, 15044, 171859, 8035, 62952, 2633, 14375, 15190, 20320, 168407, 188, 11, 4028, 2646, 196707, 418, 10644, 71, 154663, 2203, 32036,...
[ 0.054931640625, 0.1707763671875, 0.0115966796875, 0.009307861328125, 0.06927490234375, 0.1514892578125, 0.0345458984375, 0.046722412109375, 0.010894775390625, 0.008392333984375, 0.1036376953125, 0.0174713134765625, 0.19775390625, 0.1387939453125, 0.232666015625, 0.031280517578125, 0....
embed
56848343_c0
56848343
fsharp
0
Title: How can I add Xamarin Forms to F# Xamarin Android project? Problem title: How can I add Xamarin Forms to F# Xamarin Android project? Tags: xamarin.forms, nuget, installation, f%23, visual-studio Problem: How can I add Xamarin Forms to F# Xamarin Android project? Create an app using the "Blank App (Android) F#" t...
How can I add Xamarin Forms to F# Xamarin Android project? How can I add Xamarin Forms to F# Xamarin Android project? xamarin.forms nuget installation f%23 visual-studio How Xamarin Forms Android xamarin.forms How can I add Xamarin Forms to F# Xamarin Android project? Create an app using the "Blank App (Android) F#" te...
[ -0.00141143798828125, 0.0400390625, -0.014892578125, -0.01708984375, -0.019287109375, 0.00958251953125, 0.015380859375, 0.001708984375, -0.00408935546875, -0.0299072265625, 0.02685546875, -0.0595703125, -0.00174713134765625, 0.0291748046875, 0.0167236328125, -0.006805419921875, 0.001...
[ 11249, 831, 15190, 8606, 44503, 15236, 7, 47, 563, 4904, 3952, 13452, 87, 2459, 5037, 315, 3794, 59720, 1238, 3742, 21176, 52629, 151313, 4027, 69266, 5659, 57934, 110934, 73372, 22968, 3640, 53418, 49814, 3934 ]
[ 0.0203704833984375, 0.037322998046875, 0.1134033203125, 0.163330078125, 0.2261962890625, 0.2298583984375, 0.0765380859375, 0.039215087890625, 0.10418701171875, 0.1680908203125, 0.1727294921875, 0.0810546875, 0.0035400390625, 0.128662109375, 0.20458984375, 0.058380126953125, 0.1049804...
embed
62877294_c1
62877294
fsharp
1
for _ in 0 .. (divider - remainder - 1) -> int (floor result) ] integerBuckets 15 4 I really don’t like the maths in the for loops; so easy to make a mistake and/or change by accident. But it’s not just the maths bit that I’m not sure of. Can anyone give me some pointers as to how I can ‘tidy it up’ into better F# tha...
for _ in 0 .. (divider - remainder - 1) -> int (floor result) ] integerBuckets 15 4 I really don’t like the maths in the for loops; so easy to make a mistake and/or change by accident. But it’s not just the maths bit that I’m not sure of. Can anyone give me some pointers as to how I can ‘tidy it up’ into better F# tha...
[ -0.01116943359375, 0.00537109375, -0.000957489013671875, -0.023681640625, -0.01129150390625, 0.0198974609375, 0.00848388671875, -0.014404296875, 0.015869140625, 0.0179443359375, -0.006866455078125, 0.0177001953125, -0.01116943359375, 0.023681640625, 0.013671875, -0.0303955078125, -0....
[ 100, 101, 23, 757, 1468, 97368, 820, 47143, 4879, 33079, 18, 52347, 748, 16750, 892, 1505, 7235, 27853, 423, 201, 87, 6183, 2301, 1884, 48909, 7, 40956, 221, 23468, 121742, 15549, 27998, 4785, 959, 9077, 35672, 6275, 1314, 3642, 831, 11...
[ 0.181884765625, 0.059051513671875, 0.06500244140625, 0.1591796875, 0.04730224609375, 0.1318359375, 0.10406494140625, 0.13037109375, 0.068359375, 0.036773681640625, 0.17138671875, 0.12158203125, 0.059356689453125, 0.14306640625, 0.099853515625, 0.093505859375, 0.08709716796875, 0.19...
embed
4857262_c0
4857262
fsharp
0
Title: F# and C# &#x27;s CLR is same then why is F# faster than C# Problem title: F# and C# &#x27;s CLR is same then why is F# faster than C# Tags: f%23, clr, c%23 Problem: F# and C# 's CLR is same then why is F# faster than C# I am confused and would appreciate if you enlighten me. F# uses same CLR as C# and underlyin...
F# and C# &#x27;s CLR is same then why is F# faster than C# F# and C# &#x27;s CLR is same then why is F# faster than C# f%23 clr c%23 CLR F# and C# 's CLR is same then why is F# faster than C# I am confused and would appreciate if you enlighten me. F# uses same CLR as C# and underlying code is identical then how can on...
[ 0.02197265625, 0.000270843505859375, 0.002655029296875, -0.01177978515625, -0.0016326904296875, -0.027587890625, -0.010498046875, 0.003997802734375, -0.0010223388671875, -0.007537841796875, -0.00171661376953125, 0.021484375, 0.000698089599609375, 0.00787353515625, -0.00083160400390625, ...
[ 563, 4904, 136, 313, 3768, 138535, 5701, 15400, 4271, 56, 3501, 83, 3742, 42, 55681, 77947, 20016, 4527, 237, 1379, 538, 18151, 31943, 3642, 831, 42459, 32354, 127877, 59121, 561, 22819, 77336, 23718, 27117, 11192 ]
[ 0.1376953125, 0.2333984375, 0.046234130859375, 0.05987548828125, 0.038909912109375, 0.22802734375, 0.1304931640625, 0.1253662109375, 0.1549072265625, 0.1116943359375, 0.0609130859375, 0.022552490234375, 0.0154571533203125, 0.033599853515625, 0.03302001953125, 0.02099609375, 0.0247039...
embed
77217233_c0
77217233
fsharp
0
Title: Should I implement my own IComparable for a struct in F# *just* for performance reasons? Problem title: Should I implement my own IComparable for a struct in F# *just* for performance reasons? Tags: icomparable, f%23 Problem: Should I implement my own IComparable for a struct in F# *just* for performance reasons...
Should I implement my own IComparable for a struct in F# *just* for performance reasons? Should I implement my own IComparable for a struct in F# *just* for performance reasons? icomparable f%23 Should IComparable Struct MyId Should I implement my own IComparable for a struct in F# *just* for performance reasons? For a...
[ -0.0167236328125, -0.0019378662109375, 0.0159912109375, -0.00286865234375, -0.0001430511474609375, 0.00677490234375, 0.0004100799560546875, -0.00714111328125, -0.0025787353515625, -0.0159912109375, 0.00872802734375, 0.038818359375, 0.002227783203125, -0.0164794921875, -0.0016708374023437...
[ 151117, 29479, 10002, 87, 108161, 147, 2886, 100, 36716, 563, 4904, 23718, 89397, 23, 20314, 17, 277, 2500, 1238, 3949, 3742, 63667, 15390, 2646, 568, 71, 6, 1927, 686, 289, 1884, 170198, 47, 116120, 674, 70, 114977, 123166, 202319 ]
[ 0.1009521484375, 0.198486328125, 0.12353515625, 0.1951904296875, 0.203125, 0.218017578125, 0.20263671875, 0.057525634765625, 0.199462890625, 0.121337890625, 0.166015625, 0.1317138671875, 0.06634521484375, 0.00970458984375, 0.027191162109375, 0.13134765625, 0.1148681640625, 0.217407...
embed
799943_c0
799943
fsharp
0
Title: What simple, non-trivial, usable code have you created in F# Problem title: What simple, non-trivial, usable code have you created in F# Tags: f%23 Problem: What simple, non-trivial, usable code have you created in F# I'm trying to learn F#, but since I have never done any functional programming or taken a class...
What simple, non-trivial, usable code have you created in F# What simple, non-trivial, usable code have you created in F# f%23 What What simple, non-trivial, usable code have you created in F# I'm trying to learn F#, but since I have never done any functional programming or taken a class in it, I find it very hard to g...
[ 0.0162353515625, 0.007171630859375, 0.00347900390625, -0.01361083984375, 0.01055908203125, 0.001495361328125, -0.0023651123046875, -0.005096435546875, 0.01214599609375, -0.022216796875, 0.00093841552734375, -0.030029296875, -0.005615234375, 0.01513671875, 0.0019989013671875, 0.02539062...
[ 4865, 8781, 351, 3996, 686, 289, 1821, 2886, 18151, 765, 398, 75935, 23, 563, 4904, 1238, 3949, 3742, 31577, 30698, 8306, 16940, 123309, 56037, 18507, 7413, 442, 7941, 4537, 20650, 1927, 809, 20990, 52544, 31461, 15403, 27781, 2367, 1284, ...
[ 0.036041259765625, 0.17626953125, 0.1636962890625, 0.07794189453125, 0.100341796875, 0.06536865234375, 0.1414794921875, 0.146484375, 0.217041015625, 0.0694580078125, 0.05731201171875, 0.1265869140625, 0.037506103515625, 0.1234130859375, 0.2115478515625, 0.07855224609375, 0.0233917236...
embed
2116310_c0
2116310
fsharp
0
Title: What are the benefits of using IronPython over IronRuby or F#? Problem title: What are the benefits of using IronPython over IronRuby or F#? Tags: ironpython, f%23, ironruby Problem: What are the benefits of using IronPython over IronRuby or F#? Well aware that DLR is here!! I have recently reading up on all of ...
What are the benefits of using IronPython over IronRuby or F#? What are the benefits of using IronPython over IronRuby or F#? ironpython f%23 ironruby IronPython What IronRuby What are the benefits of using IronPython over IronRuby or F#? Well aware that DLR is here!! I have recently reading up on all of these and was ...
[ 0.001434326171875, -0.000156402587890625, -0.0050048828125, 0.0079345703125, -0.004669189453125, -0.0223388671875, 0.000881195068359375, -0.00250244140625, 0.000789642333984375, 0.00086212158203125, 0.003173828125, -0.00010442733764648438, 0.002227783203125, -0.0026397705078125, -0.00878...
[ 4865, 70, 72382, 17368, 70599, 683, 53, 50828, 645, 26951, 1272, 563, 4904, 621, 111, 193, 191, 6493, 1238, 3949, 3742, 882, 107419, 391, 138535, 3688, 29458, 1632, 46876, 15700, 23718, 19882, 123309, 5570, 400, 24019 ]
[ 0.03460693359375, 0.03753662109375, 0.189697265625, 0.134765625, 0.2056884765625, 0.1409912109375, 0.14404296875, 0.2147216796875, 0.118408203125, 0.1575927734375, 0.17041015625, 0.0927734375, 0.16796875, 0.004058837890625, 0.00006103515625, 0.0936279296875, 0.09356689453125, 0.149...
embed
1214130_c0
1214130
fsharp
0
Title: F# and Excel integration for .NET 4.0 (Visual Studio 2010 Beta 1) Problem title: F# and Excel integration for .NET 4.0 (Visual Studio 2010 Beta 1) Tags: f%23, excel Problem: F# and Excel integration for .NET 4.0 (Visual Studio 2010 Beta 1) Can anyone give a web link to or demonstrate here how to do F# and Excel ...
F# and Excel integration for .NET 4.0 (Visual Studio 2010 Beta 1) F# and Excel integration for .NET 4.0 (Visual Studio 2010 Beta 1) f%23 excel Excel NET Visual Studio Beta F# and Excel integration for .NET 4.0 (Visual Studio 2010 Beta 1) Can anyone give a web link to or demonstrate here how to do F# and Excel integrati...
[ 0.01287841796875, 0.013916015625, 0.0015869140625, 0.007354736328125, -0.0087890625, 0.015380859375, -0.019287109375, -0.00604248046875, -0.00494384765625, 0.00110626220703125, -0.0223388671875, 0.007415771484375, -0.0032501220703125, 0.0125732421875, 0.0289306640625, -0.024169921875, ...
[ 563, 4904, 136, 30326, 157353, 100, 5, 17777, 40401, 6609, 64010, 22968, 1532, 48941, 4879, 1238, 3949, 3742, 64152, 73372, 4171, 35672, 8337, 1467, 3126, 106804, 3688, 3642, 54, 17368, 3714, 903, 23658, 54452, 442, 5608, 8781, 42, 23 ]
[ 0.163330078125, 0.2244873046875, 0.1685791015625, 0.261962890625, 0.242919921875, 0.055755615234375, 0.002777099609375, 0.1761474609375, 0.249755859375, 0.0838623046875, 0.120361328125, 0.183349609375, 0.1800537109375, 0.186767578125, 0.10443115234375, 0.0777587890625, 0.011413574218...
embed
1354722_c0
1354722
fsharp
0
Title: If #light syntax is so much better in F#, why isn&#x27;t it the default? Problem title: If #light syntax is so much better in F#, why isn&#x27;t it the default? Tags: syntax, f%23 Problem: If #light syntax is so much better in F#, why isn't it the default? I'm digging F# and enjoying writing code in massively di...
If #light syntax is so much better in F#, why isn&#x27;t it the default? If #light syntax is so much better in F#, why isn&#x27;t it the default? syntax f%23 If #light syntax is so much better in F#, why isn't it the default? I'm digging F# and enjoying writing code in massively different ways. But I'm confused - why t...
[ 0.00677490234375, 0.022216796875, 0.006622314453125, 0.0091552734375, -0.01214599609375, -0.017333984375, -0.00848388671875, 0.00933837890625, 0.0016326904296875, 0.01611328125, 0.0007476806640625, 0.0208740234375, -0.0017547607421875, -0.012451171875, 0.0218505859375, 0.00248718261718...
[ 4263, 468, 20016, 6002, 86531, 83, 221, 5045, 11522, 23, 563, 4904, 15400, 56112, 3768, 18, 442, 70, 114977, 1238, 3742, 25225, 32562, 18151, 12921, 55681, 351, 32316, 2174, 14597, 47, 3714, 44084, 959, 3249, 63769, 1506, 92, 35829, 36663...
[ 0.0211181640625, 0.044525146484375, 0.2354736328125, 0.14501953125, 0.2254638671875, 0.047027587890625, 0.029876708984375, 0.06573486328125, 0.150390625, 0.032073974609375, 0.123046875, 0.18359375, 0.1328125, 0.127685546875, 0.038177490234375, 0.1324462890625, 0.0264892578125, 0.05...
embed
13974161_c0
13974161
fsharp
0
Title: Intellisense for F# in visual studio 2012 not working Problem title: Intellisense for F# in visual studio 2012 not working Tags: visual-studio-2012, f%23, intellisense Problem: Intellisense for F# in visual studio 2012 not working To be precise it pops up the autocomplete box when I press <ctrl-space> . However ...
Intellisense for F# in visual studio 2012 not working Intellisense for F# in visual studio 2012 not working visual-studio-2012 f%23 intellisense Intellisense visual-studio-2012 Intellisense for F# in visual studio 2012 not working To be precise it pops up the autocomplete box when I press <ctrl-space> . However after a...
[ 0.0089111328125, 0.003753662109375, -0.0084228515625, -0.0045166015625, -0.01708984375, 0.01123046875, -0.0162353515625, -0.00121307373046875, -0.031982421875, -0.001129150390625, 0.00946044921875, 0.004119873046875, -0.017578125, 0.00011968612670898438, 0.01275634765625, 0.00933837890...
[ 30131, 27077, 184, 100, 563, 4904, 23, 21176, 12275, 1324, 959, 20697, 52629, 54458, 1238, 3742, 892, 134995, 7426, 1257, 1809, 277, 131801, 16530, 24234, 54123, 65421, 7103, 2101, 4432, 2037, 213566, 1733, 35782, 101089, 75034, 24447, 13452,...
[ 0.1593017578125, 0.2242431640625, 0.1693115234375, 0.0411376953125, 0.1253662109375, 0.1876220703125, 0.032073974609375, 0.1737060546875, 0.163330078125, 0.2042236328125, 0.0284881591796875, 0.15673828125, 0.163818359375, 0.157470703125, 0.0733642578125, 0.07757568359375, 0.140502929...
embed
33056348_c1
33056348
fsharp
1
(x?Name.AsString()) } I get compile errors: The field, constructor or "AsInteger" is not defined The field, constructor or "AsString" is not defined Strangely, thing is that I see accessibility through "open FSharp.Data.JsonExtensions" So, question: How to use JsonExtensions? Code signals: Data, JSON, Parser, Using, J...
(x?Name.AsString()) } I get compile errors: The field, constructor or "AsInteger" is not defined The field, constructor or "AsString" is not defined Strangely, thing is that I see accessibility through "open FSharp.Data.JsonExtensions" So, question: How to use JsonExtensions? Code signals: Data, JSON, Parser, Using, J...
[ -0.0252685546875, -0.000568389892578125, 0.005096435546875, 0.0341796875, -0.013671875, 0.025390625, -0.005645751953125, 0.0147705078125, -0.01055908203125, -0.00045013427734375, 0.00099945068359375, 0.0220947265625, 0.01312255859375, -0.034423828125, 0.0169677734375, -0.022216796875, ...
[ 425, 32, 163612, 19659, 71713, 214, 87, 2046, 9969, 1340, 18499, 7, 44457, 64549, 748, 707, 4153, 67, 1505, 58, 83, 959, 61924, 71, 187791, 13580, 1957, 17203, 14, 83259, 59636, 93774, 3467, 254, 137989, 1375, 1681, 19279, 128872, 11249, ...
[ 0.0777587890625, 0.006744384765625, 0.152587890625, 0.1629638671875, 0.166015625, 0.1239013671875, 0.007232666015625, 0.0018310546875, 0.1278076171875, 0.1527099609375, 0.1802978515625, 0.046966552734375, 0.2188720703125, 0.1591796875, 0.1356201171875, 0.0079345703125, 0.021209716796...
embed
65447700_c0
65447700
fsharp
0
Title: How to remove a list of elements from a list (F#) Problem title: How to remove a list of elements from a list (F#) Tags: f%23, list Problem: How to remove a list of elements from a list (F#) Is there a better way of doing removing a list of elements from another list? So far I've been doing this, but its not eff...
How to remove a list of elements from a list (F#) How to remove a list of elements from a list (F#) f%23 list a How List.filter How to remove a list of elements from a list (F#) Is there a better way of doing removing a list of elements from another list? So far I've been doing this, but its not efficient for larger li...
[ -0.00653076171875, 0.0203857421875, 0.000255584716796875, 0.0177001953125, -0.01263427734375, -0.01190185546875, 0.00799560546875, 0.01141357421875, 0.020751953125, 0.01263427734375, 0.00738525390625, 0.00634765625, 0.00311279296875, 0.01080322265625, -0.0045166015625, -0.0020751953125...
[ 11249, 47, 87388, 10, 5303, 111, 80854, 1295, 919, 4904, 16, 1238, 3949, 3742, 32036, 120337, 11522, 3917, 20594, 49146, 6496, 15700, 2060, 903, 6863, 959, 93766, 150679 ]
[ 0.1134033203125, 0.072998046875, 0.182861328125, 0.037261962890625, 0.1942138671875, 0.087158203125, 0.1771240234375, 0.14501953125, 0.109619140625, 0.1473388671875, 0.0137939453125, 0.085693359375, 0.02685546875, 0.128662109375, 0.192626953125, 0.172607421875, 0.06884765625, 0.030...
embed
20437188_c0
20437188
fsharp
0
Title: how to unwrap union value in list in f# Problem title: how to unwrap union value in list in f# Tags: discriminated-union, f%23 Problem: how to unwrap union value in list in f# You know that to unwrap a value of a single union type you have to do this: type Foo = Foo of int*string let processFoo foo = let (Foo (t...
how to unwrap union value in list in f# how to unwrap union value in list in f# discriminated-union f%23 Foo foolist:Foo how to unwrap union value in list in f# You know that to unwrap a value of a single union type you have to do this: but my question is: if there a way to do that for lists ?: thanks.
[ -0.00299072265625, -0.0069580078125, 0.00927734375, 0.015869140625, -0.006744384765625, 0.00125885009765625, -0.01409912109375, 0.005340576171875, 0.0155029296875, -0.000606536865234375, 0.00946044921875, 0.009765625, -0.0067138671875, 0.01324462890625, -0.02099609375, -0.010498046875,...
[ 3642, 47, 51, 434, 13631, 69941, 34292, 23, 5303, 1238, 4904, 55970, 3674, 87046, 3742, 9572, 31, 150863, 1419, 27591, 3714, 10, 11001, 10644, 903, 3917, 54, 7 ]
[ 0.0743408203125, 0.06658935546875, 0.169921875, 0.082275390625, 0.2392578125, 0.2646484375, 0.22119140625, 0.0869140625, 0.23486328125, 0.147705078125, 0.1949462890625, 0.170654296875, 0.023468017578125, 0.201904296875, 0.0272216796875, 0.033538818359375, 0.013885498046875, 0.04202...
embed
2175940_c0
2175940
fsharp
0
Title: &quot;int -&gt; int -&gt; int&quot; What does this mean in F#? Problem title: &quot;int -&gt; int -&gt; int&quot; What does this mean in F#? Tags: f%23, currying, functional-programming Problem: "int -> int -> int" What does this mean in F#? I wonder what this means in F#. “a function taking an integer, which re...
&quot;int -&gt; int -&gt; int&quot; What does this mean in F#? &quot;int -&gt; int -&gt; int&quot; What does this mean in F#? f%23 currying functional-programming What "int -> int -> int" What does this mean in F#? I wonder what this means in F#. “a function taking an integer, which returns a function which takes an in...
[ 0.006744384765625, -0.0091552734375, 0.007415771484375, 0.0034942626953125, 0.000843048095703125, 0.027099609375, 0.0042724609375, 0.001068115234375, 0.005950927734375, -0.004425048828125, 0.005218505859375, -0.0113525390625, -0.011474609375, 0.009033203125, 0.0028076171875, -0.0071105...
[ 4288, 20, 1230, 5386, 74, 23, 18, 4865, 14602, 903, 29459, 563, 4904, 1238, 3742, 198555, 214, 123309, 28966, 33079, 32195, 2367, 26950, 32354, 35971, 892, 1505, 3129, 30646, 51776, 136, 28219, 73342, 34735 ]
[ 0.2281494140625, 0.1109619140625, 0.0709228515625, 0.18359375, 0.012908935546875, 0.145263671875, 0.2265625, 0.056610107421875, 0.03436279296875, 0.08380126953125, 0.1185302734375, 0.1109619140625, 0.191650390625, 0.07562255859375, 0.04412841796875, 0.14892578125, 0.10791015625, 0....
embed
36273153_c0
36273153
fsharp
0
Title: F# Add New Item to Collections.Map? Problem title: F# Add New Item to Collections.Map? Tags: f%23, functional-programming Problem: F# Add New Item to Collections.Map? I want to create a map and a function to add item to that map. This is what I did let mymap = Map.empty let myfunc nId nValue = mymap = Map.add nI...
F# Add New Item to Collections.Map? F# Add New Item to Collections.Map? f%23 functional-programming Add Item Collections.Map Map.empty Map.add Map F# Add New Item to Collections.Map? I want to create a map and a function to add item to that map. This is what I did But this produced following Error This expression was e...
[ -0.00634765625, -0.01373291015625, 0.026123046875, -0.0152587890625, -0.01611328125, 0.00372314453125, -0.000392913818359375, -0.00994873046875, 0.003692626953125, -0.00125885009765625, 0.03564453125, 0.007232666015625, -0.00156402587890625, 0.027587890625, 0.0238037109375, -0.01721191...
[ 563, 4904, 29117, 2356, 78426, 47, 68220, 7, 5, 166179, 32, 1238, 3949, 3742, 123309, 28966, 42719, 33548, 939, 4028, 3444, 28282, 22288, 136, 32354, 15190, 35735, 181653, 25632, 212059, 125195, 84751, 10644, 11, 275, 1284, 3688, 238, 71, ...
[ 0.1324462890625, 0.189208984375, 0.174560546875, 0.1558837890625, 0.2120361328125, 0.1328125, 0.2142333984375, 0.0841064453125, 0.00567626953125, 0.2286376953125, 0.0196380615234375, 0.10986328125, 0.00970458984375, 0.12158203125, 0.1539306640625, 0.1187744140625, 0.2020263671875, ...
embed
28472693_c0
28472693
fsharp
0
Title: Visual Studio 2013 does not import Linq namespace Problem title: Visual Studio 2013 does not import Linq namespace Tags: xml, linq, f%23 Problem: Visual Studio 2013 does not import Linq namespace I am trying to use XDocument class in F# and import the namespace. open System.Xml.Linq But the compiler complain, th...
Visual Studio 2013 does not import Linq namespace Visual Studio 2013 does not import Linq namespace xml linq f%23 Linq Visual Studio System.Xml.Linq Visual Studio 2013 does not import Linq namespace I am trying to use XDocument class in F# and import the namespace. But the compiler complain, that the namespace linq is ...
[ -0.00787353515625, 0.0250244140625, -0.005584716796875, 0.0018463134765625, -0.019287109375, 0.016845703125, -0.006072998046875, -0.0084228515625, -0.00445556640625, -0.0113525390625, -0.006683349609375, 0.0023956298828125, -0.00921630859375, -0.0211181640625, 0.018310546875, 0.0027465...
[ 73372, 22968, 1210, 959, 24927, 339, 44982, 210716, 131492, 96, 3742, 12353, 1542, 7237, 866, 1193, 239469, 18507, 563, 4904, 9969, 34759, 186992, 61924, 89845, 49814, 72367, 35773, 1294, 212398, 54825, 44691 ]
[ 0.1829833984375, 0.2103271484375, 0.2099609375, 0.0819091796875, 0.20361328125, 0.119384765625, 0.262451171875, 0.27734375, 0.17333984375, 0.08477783203125, 0.06842041015625, 0.0821533203125, 0.0308990478515625, 0.09747314453125, 0.10382080078125, 0.0819091796875, 0.1900634765625, ...
embed
43633979_c1
43633979
fsharp
1
Assembly> <assemblyIdentity name="FSharp.Core" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-4.4.1.0" newVersion="4.4.1.0" /> </dependentAssembly> </assemblyBinding> </runtime> </configuration> Does AutoGenerateBindingRedirects actually do anything in this case? If not then...
Assembly> <assemblyIdentity name="FSharp.Core" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-4.4.1.0" newVersion="4.4.1.0" /> </dependentAssembly> </assemblyBinding> </runtime> </configuration> Does AutoGenerateBindingRedirects actually do anything in this case? If not then...
[ -0.037841796875, 0.01416015625, 0.01190185546875, -0.0189208984375, -0.0147705078125, 0.00360107421875, -0.011962890625, -0.0017547607421875, 0.0013275146484375, 0.04931640625, -0.0252685546875, 0.005157470703125, -0.0179443359375, 0.01361083984375, 0.00775146484375, 0.00689697265625, ...
[ 151169, 53, 11, 89845, 38526, 37379, 2481, 36381, 3467, 254, 50886, 13, 3835, 162429, 1098, 29394, 218142, 128239, 4332, 80581, 10332, 178390, 99929, 180874, 102107, 3525, 181063, 16882, 33770, 153837, 101790, 4396, 135932, 17957, 20653, 54, 23...
[ 0.274658203125, 0.098876953125, 0.002471923828125, 0.17724609375, 0.0897216796875, 0.1385498046875, 0.0168609619140625, 0.03826904296875, 0.1612548828125, 0.17529296875, 0.1187744140625, 0.10186767578125, 0.028045654296875, 0.06591796875, 0.1292724609375, 0.1534423828125, 0.092651367...
embed
10743377_c1
10743377
fsharp
1
alt+entering the above two functions) val GetShortPathName : string * StringBuilder * uint32 -> uint32 val MakeShortName : string -> string $ MakeShortName @"C:\dev\shortName\shortName";; val it : string = "C:\dev\SHORTN~1\SHORTN~1" Code signals: SetLastError, Win32, Error, GetShortPathName, System.IO, System.Runtime....
alt+entering the above two functions) val GetShortPathName : string * StringBuilder * uint32 -> uint32 val MakeShortName : string -> string $ MakeShortName @"C:\dev\shortName\shortName";; val it : string = "C:\dev\SHORTN~1\SHORTN~1" Code signals: SetLastError, Win32, Error, GetShortPathName, System.IO, System.Runtime....
[ 0.01507568359375, 0.0213623046875, 0.0213623046875, 0.017822265625, -0.01300048828125, -0.004547119140625, -0.0194091796875, 0.006561279296875, 0.01422119140625, 0.028076171875, -0.0068359375, -0.0026702880859375, 0.0079345703125, 0.0091552734375, -0.00032806396484375, 0.00497436523437...
[ 2641, 1328, 33, 33558, 36917, 6626, 32354, 7, 16, 3502, 20779, 115729, 3198, 683, 10519, 163612, 79315, 23351, 214, 121137, 56, 75, 4288, 6460, 33079, 26176, 3650, 18548, 186500, 74, 442, 294, 80217, 38821, 418, 58, 28864, 26073, 19943, 2...
[ 0.2061767578125, 0.16748046875, 0.13818359375, 0.1185302734375, 0.0946044921875, 0.110107421875, 0.2347412109375, 0.0168304443359375, 0.007110595703125, 0.19287109375, 0.135498046875, 0.153076171875, 0.171875, 0.1697998046875, 0.2237548828125, 0.255126953125, 0.2216796875, 0.185546...
embed
12870368_c0
12870368
fsharp
0
Title: Array2D to Array Problem title: Array2D to Array Tags: f%23 Problem: Array2D to Array I have Array2D of 0 and 1: let rnd = System.Random() let a = Array2D.init n n (fun i j -> int(System.Math.Round(rnd.NextDouble() / index)) ) I need to calculate the count of '1'-elements, something like: a |> Array.filter (fun ...
Array2D to Array Array2D to Array f%23 Array2D Array System.Random Array2D.init System.Math.Round rnd.NextDouble Array.filter Array2D to Array I have Array2D of 0 and 1: I need to calculate the count of '1'-elements, something like: But 'a' is Array2D (not Array) so I'm just wondering if there is a standard way to tran...
[ 0.00543212890625, 0.020263671875, -0.01953125, -0.0101318359375, -0.0107421875, -0.00885009765625, 0.00860595703125, -0.0006866455078125, 0.0128173828125, -0.017333984375, -0.00457763671875, 0.0213623046875, -0.0145263671875, 0.013671875, -0.01043701171875, -0.0108642578125, -0.00473...
[ 69253, 53, 304, 397, 47, 1238, 3949, 3742, 12353, 126525, 3815, 5, 217, 199450, 7030, 2208, 81280, 2661, 120337, 757, 136, 13806, 3871, 74481, 67, 54529, 111, 418, 62766, 11, 10869, 149016, 5570, 3917, 27198 ]
[ 0.217529296875, 0.2286376953125, 0.1617431640625, 0.1763916015625, 0.149169921875, 0.0748291015625, 0.00885009765625, 0.135498046875, 0.1217041015625, 0.051513671875, 0.0589599609375, 0.0180816650390625, 0.0284423828125, 0.09576416015625, 0.005401611328125, 0.02191162109375, 0.050476...
embed
24805601_c0
24805601
fsharp
0
Title: Assign value to array based on row criteria true/false Problem title: Assign value to array based on row criteria true/false Tags: f%23 Problem: Assign value to array based on row criteria true/false Hi i would like to achieve something like Arr.[(rows where criteria is met),K] <- 1 How do I write this in F#? I....
Assign value to array based on row criteria true/false Assign value to array based on row criteria true/false f%23 Assign Assign value to array based on row criteria true/false Hi i would like to achieve something like Arr.[(rows where criteria is met),K] <- 1 How do I write this in F#? I.e I have an array let x= [|0.0...
[ 0.00518798828125, 0.004791259765625, 0.01458740234375, 0.0118408203125, -0.007080078125, -0.031005859375, 0.01104736328125, 0.033935546875, 0.01129150390625, 0.050048828125, 0.0029449462890625, 0.0022430419921875, -0.01171875, -0.004180908203125, 0.0002918243408203125, -0.0078125, -0...
[ 1301, 31304, 34292, 47, 10298, 53, 35509, 98, 15555, 55738, 11, 29568, 8710, 1238, 3949, 3742, 1884, 69307, 1172, 42, 7440, 83, 435, 605, 4426, 9, 106, 33022, 903, 23, 563, 4904, 2633, 1022, 99929, 10179, 2389, 1135, 14012, 105950, 2398...
[ 0.04345703125, 0.254638671875, 0.233642578125, 0.0948486328125, 0.19970703125, 0.1480712890625, 0.144287109375, 0.0265655517578125, 0.20166015625, 0.209716796875, 0.1680908203125, 0.1439208984375, 0.132080078125, 0.056304931640625, 0.008758544921875, 0.10443115234375, 0.0668334960937...
embed
59511420_c0
59511420
fsharp
0
Title: Quotation Transformation in F# to another type Problem title: Quotation Transformation in F# to another type Tags: quotations, f%23 Problem: Quotation Transformation in F# to another type I have the following types: type Foo = { Name : string} type Bar = {Name : string} And I have the following Quoted expression...
Quotation Transformation in F# to another type Quotation Transformation in F# to another type quotations f%23 Quotation Transformation Foo Name Bar x.Name Quotation Transformation in F# to another type I have the following types: And I have the following Quoted expression: Basically from this I would like to generate a...
[ 0.0091552734375, 0.020263671875, 0.0022430419921875, 0.00738525390625, 0.004425048828125, -0.031494140625, -0.0068359375, 0.0198974609375, 0.01007080078125, -0.0045166015625, 0.003570556640625, 0.0247802734375, -0.0146484375, 0.01055908203125, 0.0027923583984375, -0.004425048828125, ...
[ 43851, 22062, 149855, 1363, 23, 563, 4904, 47, 15700, 10644, 81732, 5256, 1238, 3949, 3742, 9572, 31, 15757, 3253, 1022, 163612, 25632, 52895, 70, 109216, 71, 125195, 71407, 1295, 903, 2806, 1884, 139392, 66747, 237, 11249, 831, 54 ]
[ 0.1685791015625, 0.1231689453125, 0.181884765625, 0.04083251953125, 0.049285888671875, 0.142578125, 0.214599609375, 0.099609375, 0.1212158203125, 0.1531982421875, 0.1810302734375, 0.057281494140625, 0.083251953125, 0.0203094482421875, 0.077880859375, 0.1170654296875, 0.0687255859375,...
embed
18178924_c0
18178924
fsharp
0
Title: How to construct a list of float&lt;metre&gt;? Problem title: How to construct a list of float&lt;metre&gt;? Tags: f%23 Problem: How to construct a list of float ? Usually, when I need to build a list from 0 to 10, I simply do this: [0..10]. This gives me a list of integers from 0 to 10. But this time I would ne...
How to construct a list of float&lt;metre&gt;? How to construct a list of float&lt;metre&gt;? f%23 How List.map How to construct a list of float ? Usually, when I need to build a list from 0 to 10, I simply do this: [0..10]. This gives me a list of integers from 0 to 10. But this time I would need a list of float from ...
[ -0.00022602081298828125, -0.00506591796875, -0.006378173828125, -0.020263671875, 0.00677490234375, -0.01220703125, 0.013671875, 0, 0.02197265625, 0.001495361328125, -0.00146484375, 0.01043701171875, 0.000518798828125, 0.01220703125, 0.00970458984375, 0.0137939453125, 0.00848388671875...
[ 11249, 47, 64549, 10, 5303, 111, 21917, 257, 1230, 1277, 80036, 5386, 1238, 3949, 3742, 32036, 5, 62346, 62544, 3229, 3871, 45367, 1295, 757, 209, 42856, 54, 903, 2389, 963, 76199, 163, 892, 26255, 4068, 4966, 1733, 2806, 2685, 3917, 45...
[ 0.126953125, 0.1104736328125, 0.238525390625, 0.06561279296875, 0.263671875, 0.1361083984375, 0.239501953125, 0.1932373046875, 0.03729248046875, 0.04486083984375, 0.2222900390625, 0.1065673828125, 0.0751953125, 0.035888671875, 0.1414794921875, 0.214599609375, 0.03375244140625, 0.18...
embed
27363777_c0
27363777
fsharp
0
Title: Any benefit for targeting F# runtime for F# 4.0 or 3.1 instead of 3.0? Problem title: Any benefit for targeting F# runtime for F# 4.0 or 3.1 instead of 3.0? Tags: f%23 Problem: Any benefit for targeting F# runtime for F# 4.0 or 3.1 instead of 3.0? In Visual Studio 2015 Preview you can select from three target F#...
Any benefit for targeting F# runtime for F# 4.0 or 3.1 instead of 3.0? Any benefit for targeting F# runtime for F# 4.0 or 3.1 instead of 3.0? f%23 Any Any benefit for targeting F# runtime for F# 4.0 or 3.1 instead of 3.0? In Visual Studio 2015 Preview you can select from three target F# runtimes: Is there any benefit t...
[ -0.0098876953125, 0.01312255859375, 0.009033203125, -0.0093994140625, -0.006011962890625, -0.003082275390625, -0.01361083984375, 0.004730224609375, 0.00457763671875, 0.04150390625, -0.008056640625, -0.0155029296875, 0.00665283203125, 0.005035400390625, 0.01397705078125, 0.0032501220703...
[ 28541, 68073, 100, 30388, 214, 563, 4904, 11675, 6032, 40401, 45151, 64457, 17596, 707, 1238, 3742, 73372, 22968, 918, 1914, 22751, 831, 36849, 17262, 70141, 2499, 47, 3525, 56, 11389, 17203, 78301, 61687, 6782, 5809, 139392, 199083, 5303, ...
[ 0.0614013671875, 0.2252197265625, 0.04248046875, 0.257568359375, 0.08551025390625, 0.165771484375, 0.2474365234375, 0.11865234375, 0.1640625, 0.23876953125, 0.2044677734375, 0.125, 0.2008056640625, 0.034515380859375, 0.009552001953125, 0.0377197265625, 0.160888671875, 0.17907714843...
embed
33694340_c0
33694340
fsharp
0
Title: function takes too many arguments F# Problem title: function takes too many arguments F# Tags: f%23 Problem: function takes too many arguments F# I have the following code. I explicitly defined the return type as boolean let inputChecker (romanNumber:list<char>) :bool = function | [] -> false | head::tail when h...
function takes too many arguments F# function takes too many arguments F# f%23 romanNumber:list head::tail tail.Head tail.Tail.Head function takes too many arguments F# I have the following code. I explicitly defined the return type as boolean but i think it consider the :bool as a parameter. I also tried (:bool) , but...
[ -0.0103759765625, -0.006927490234375, -0.002593994140625, -0.004852294921875, 0.00909423828125, -0.0030975341796875, -0.006103515625, -0.005218505859375, -0.00787353515625, -0.0030517578125, 0.0341796875, -0.03564453125, 0.005462646484375, 0.0062255859375, -0.0091552734375, -0.01348876...
[ 32354, 51776, 5792, 5941, 10750, 563, 4904, 1238, 3742, 6315, 18444, 26278, 6562, 10336, 46741, 13025, 712, 9874, 379, 25632, 18151, 143726, 61924, 30646, 10644, 237, 337, 31, 34677, 5351, 16916, 152, 142484, 171859, 37842, 16, 7464, 18, 44...
[ 0.1976318359375, 0.142578125, 0.162841796875, 0.156494140625, 0.256103515625, 0.0975341796875, 0.16455078125, 0.078369140625, 0.1435546875, 0.1590576171875, 0.034393310546875, 0.032379150390625, 0.144287109375, 0.146240234375, 0.1507568359375, 0.047515869140625, 0.0594482421875, 0....
embed
37348775_c0
37348775
fsharp
0
Title: How do you downcast to byte[]? Problem title: How do you downcast to byte[]? Tags: f%23 Problem: How do you downcast to byte[]? let f (o:obj option) = o |> Option.bind( function | :? byte[] as b -> Some b | _ -> None) but that doesn't compile the following could fail at run-time instead of cast only if it is the...
How do you downcast to byte[]? How do you downcast to byte[]? f%23 How o:obj Option.bind Some None Option.map How do you downcast to byte[]? but that doesn't compile the following could fail at run-time instead of cast only if it is the right type already so that doesn't match the behavior I desire let f (o:obj option)...
[ 0.006103515625, 0.002532958984375, 0.01202392578125, 0.00007343292236328125, -0.005767822265625, -0.01220703125, -0.01031494140625, 0.0032501220703125, 0.00946044921875, 0.0306396484375, 0.0194091796875, -0.0089111328125, -0.004119873046875, 0.009765625, -0.01025390625, -0.019287109375...
[ 11249, 54, 398, 7565, 55741, 47, 390, 67, 1065, 1238, 3742, 36, 3522, 170, 86769, 89817, 31384, 438, 86, 62346, 9969, 1340, 25632, 5809, 35782, 11675, 6032, 37702, 7108, 10644, 21771, 14858, 123166, 104851, 31, 12, 35829, 5, 16498, 876, ...
[ 0.1033935546875, 0.033599853515625, 0.0286102294921875, 0.2164306640625, 0.25537109375, 0.1356201171875, 0.1365966796875, 0.1883544921875, 0.02667236328125, 0.07989501953125, 0.10504150390625, 0.1358642578125, 0.1383056640625, 0.1856689453125, 0.23193359375, 0.1622314453125, 0.043609...
embed
19927380_c0
19927380
fsharp
0
Title: math.net conversion of Matrix to Generic.Matrix&lt;float&gt; Problem title: math.net conversion of Matrix to Generic.Matrix&lt;float&gt; Tags: mathnet-numerics, math.net, linear-algebra, f%23 Problem: math.net conversion of Matrix to Generic.Matrix let v = [| 5.0; 2.0; 3.0; 11.0 |] let m2 = new DenseMatrix(2, 2,...
math.net conversion of Matrix to Generic.Matrix&lt;float&gt; math.net conversion of Matrix to Generic.Matrix&lt;float&gt; mathnet-numerics math.net linear-algebra f%23 math.net Matrix Generic.Matrix DenseMatrix m2.Inverse m2.Transpose math.net conversion of Matrix to Generic.Matrix Here m2 is a Matrix . However, invm a...
[ -0.01092529296875, 0.024658203125, 0.0191650390625, -0.01104736328125, 0.0177001953125, -0.01007080078125, -0.006927490234375, -0.0032806396484375, 0.00109100341796875, 0.0034027099609375, -0.004150390625, 0.01239013671875, -0.0013427734375, 0.000308990478515625, -0.01007080078125, 0.0...
[ 48909, 1179, 142477, 194234, 47, 88342, 1771, 5, 4613, 87427, 52347, 5386, 74, 192617, 429, 2844, 1238, 3742, 1575, 184, 347, 5442, 4153, 37676, 62624, 78381, 11853, 304, 83, 10, 33306, 23, 334, 39, 136, 56484, 621, 6, 44084, 903 ]
[ 0.132080078125, 0.202880859375, 0.185791015625, 0.25439453125, 0.090087890625, 0.212890625, 0.120361328125, 0.0299072265625, 0.15234375, 0.200927734375, 0.0767822265625, 0.013824462890625, 0.057373046875, 0.1239013671875, 0.03363037109375, 0.005096435546875, 0.04034423828125, 0.058...
embed
51546387_c0
51546387
fsharp
0
Title: Why can&#x27;t a statement be added on the same line in a record expression? Problem title: Why can&#x27;t a statement be added on the same line in a record expression? Tags: f%23 Problem: Why can't a statement be added on the same line in a record expression? Hm, well that was a hard question to name appropriat...
Why can&#x27;t a statement be added on the same line in a record expression? Why can&#x27;t a statement be added on the same line in a record expression? f%23 Why Why can't a statement be added on the same line in a record expression? Hm, well that was a hard question to name appropriately. Anyway, I'm wondering why, g...
[ -0.013427734375, -0.01123046875, 0.00701904296875, 0.00009059906005859375, -0.0157470703125, -0.0341796875, -0.00518798828125, 0.00457763671875, 0.015869140625, -0.005767822265625, -0.020751953125, -0.001617431640625, -0.00213623046875, 0.004547119140625, 0.0022735595703125, -0.0101928...
[ 44084, 831, 3768, 18, 63805, 49814, 98, 5701, 13315, 17164, 125195, 3742, 10, 186, 149016, 15400, 10644, 21635, 3293, 14602, 959, 9969, 1340, 903, 15612, 34759, 54608, 4331 ]
[ 0.128173828125, 0.1319580078125, 0.05389404296875, 0.09716796875, 0.277587890625, 0.2008056640625, 0.1121826171875, 0.1356201171875, 0.177978515625, 0.1990966796875, 0.22705078125, 0.0252838134765625, 0.011138916015625, 0.00164794921875, 0.0194244384765625, 0.095947265625, 0.12304687...
embed
7154418_c0
7154418
fsharp
0
Title: Use of the and keyword in F# in discriminated unions Problem title: Use of the and keyword in F# in discriminated unions Tags: functional-programming, f%23, discriminated-union, .net Problem: Use of the and keyword in F# in discriminated unions I was faced today with the following DUs declarations: type Grammar ...
Use of the and keyword in F# in discriminated unions Use of the and keyword in F# in discriminated unions functional-programming f%23 discriminated-union .net Use Grammar Definition Expression Range Char Use of the and keyword in F# in discriminated unions I was faced today with the following DUs declarations: Why woul...
[ 0.004913330078125, 0.01068115234375, 0.006256103515625, 0.02587890625, -0.00927734375, 0.00823974609375, -0.0225830078125, 0.0030517578125, 0.007171630859375, 0.01470947265625, 0.01104736328125, -0.00154876708984375, 0.0196533203125, 0.007568359375, 0.00170135498046875, 0.0186767578125...
[ 36836, 70, 136, 166117, 563, 4904, 55970, 3674, 69941, 23, 123309, 28966, 1238, 3742, 87046, 1179, 48078, 1727, 155455, 25129, 142462, 21656, 7, 2577, 14614, 21635, 44084, 2806, 4527, 64457, 10644, 3688 ]
[ 0.109375, 0.051544189453125, 0.2147216796875, 0.267578125, 0.1134033203125, 0.193359375, 0.1834716796875, 0.06884765625, 0.1600341796875, 0.02490234375, 0.105224609375, 0.0992431640625, 0.072265625, 0.055145263671875, 0.1156005859375, 0.106201171875, 0.05291748046875, 0.04553222656...
embed
42257288_c1
42257288
fsharp
1
IL_0002: ldarg.1 IL_0003: add IL_0004: ret } // end of method Sandbox::testCurry We can clearly see in the IL that a single static function that takes two arguments and returns an Int32 is created. So my question is, why the discrepancy? This isn't the first time I've seen IL that doesn't jive with the documentation e...
IL_0002: ldarg.1 IL_0003: add IL_0004: ret } // end of method Sandbox::testCurry We can clearly see in the IL that a single static function that takes two arguments and returns an Int32 is created. So my question is, why the discrepancy? This isn't the first time I've seen IL that doesn't jive with the documentation e...
[ 0.00063323974609375, -0.0145263671875, 0.014892578125, -0.00628662109375, -0.01904296875, 0.0198974609375, -0.02587890625, -0.00154876708984375, 0.01483154296875, -0.00567626953125, 0.015625, -0.0223388671875, -0.0167236328125, 0.005889892578125, 0.0169677734375, -0.00970458984375, 0...
[ 30219, 9508, 304, 96, 1506, 177, 418, 363, 15190, 617, 10267, 3564, 55300, 13552, 11728, 6954, 33177, 56216, 123019, 1957, 10, 11001, 201939, 32354, 51776, 6626, 10750, 30646, 360, 18, 6460, 75935, 9655, 15400, 17116, 107, 3180, 2408, 51592...
[ 0.189208984375, 0.1153564453125, 0.1243896484375, 0.034820556640625, 0.05670166015625, 0.111572265625, 0.06500244140625, 0.10467529296875, 0.1087646484375, 0.138427734375, 0.107177734375, 0.06787109375, 0.1231689453125, 0.08782958984375, 0.1995849609375, 0.1229248046875, 0.1091308593...
embed
12622160_c2
12622160
fsharp
2
i = 0; i Code signals: FileLoadException, F#, Pinned, Array, Stringbuilder, ext_def, int32, swe_calc_ut, tjd_ut, ext_swe_calc_ut, System, System.Runtime.InteropServices, System.Text, Microsoft.FSharp.NativeInterop, FSharp.PowerPack.dll, Sweph, DllImport, swedll32.dll, CharSet, CharSet.Ansi, EntryPoint, Julian, Array.z...
i = 0; i Code signals: FileLoadException, F#, Pinned, Array, Stringbuilder, ext_def, int32, swe_calc_ut, tjd_ut, ext_swe_calc_ut, System, System.Runtime.InteropServices, System.Text, Microsoft.FSharp.NativeInterop, FSharp.PowerPack.dll, Sweph, DllImport, swedll32.dll, CharSet, CharSet.Ansi, EntryPoint, Julian, Array.z...
[ 0.01495361328125, -0.0191650390625, -0.0020294189453125, 0.00191497802734375, -0.0042724609375, -0.01513671875, 0.015380859375, 0.00787353515625, 0.0086669921875, -0.003509521484375, -0.00457763671875, -0.004364013671875, -0.0000820159912109375, -0.01611328125, -0.0027618408203125, -0....
[ 17, 2203, 757, 74, 28864, 26073, 7, 12, 42724, 15363, 712, 19279, 63928, 563, 4904, 12264, 14534, 69253, 53, 23351, 214, 177149, 56, 1119, 18, 112, 420, 23, 6460, 52113, 6827, 1003, 1177, 12353, 6032, 44851, 2146, 121979, 5, 174379, 724...
[ 0.16162109375, 0.10302734375, 0.173828125, 0.1180419921875, 0.2498779296875, 0.25634765625, 0.0595703125, 0.0145721435546875, 0.1634521484375, 0.1480712890625, 0.049896240234375, 0.03924560546875, 0.1744384765625, 0.08642578125, 0.157470703125, 0.136474609375, 0.1669921875, 0.09741...
embed
50025876_c0
50025876
fsharp
0
Title: Can I use .NET core with only F# or will I need to learn C# too? Problem title: Can I use .NET core with only F# or will I need to learn C# too? Tags: c%23, .net, f%23, .net-core Problem: Can I use .NET core with only F# or will I need to learn C# too? F# has recently caught my eye as something I'd like to learn...
Can I use .NET core with only F# or will I need to learn C# too? Can I use .NET core with only F# or will I need to learn C# too? c%23 .net f%23 .net-core Can NET Can I use .NET core with only F# or will I need to learn C# too? F# has recently caught my eye as something I'd like to learn more about, but I have never us...
[ -0.01336669921875, 0.024658203125, 0.010986328125, 0.01806640625, -0.0079345703125, -0.00457763671875, -0.00811767578125, -0.000469207763671875, 0.0035552978515625, 0.0023040771484375, -0.0011749267578125, -0.037841796875, -0.01458740234375, 0.02685546875, 0.0034637451171875, 0.0027313...
[ 4171, 4527, 6, 5, 17777, 56458, 678, 4734, 563, 4904, 707, 1221, 3871, 30698, 313, 5792, 3949, 3742, 1179, 1238, 30854, 156892, 36298, 87, 1884, 1286, 1672, 765, 8306, 11814, 13651, 3714, 10176, 33022, 10, 19336, 4165, 23, 831, 71062, 5...
[ 0.10650634765625, 0.128173828125, 0.0176239013671875, 0.07421875, 0.2088623046875, 0.1966552734375, 0.0662841796875, 0.06591796875, 0.13671875, 0.2325439453125, 0.0096435546875, 0.011322021484375, 0.05645751953125, 0.1094970703125, 0.0701904296875, 0.05517578125, 0.00732421875, 0.0...
embed