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
44666981_c0
44666981
fsharp
0
Title: Recursive discriminated union case types Problem title: Recursive discriminated union case types Tags: record, ocaml, f%23, discriminated-union, abstract-syntax-tree Problem: Recursive discriminated union case types How can I create OCaml/F# DU type where its cases are subsets of other cases? For example, I want...
Recursive discriminated union case types Recursive discriminated union case types record ocaml f%23 discriminated-union abstract-syntax-tree Recursive Symbol TypeSymbol id:string VariableSymbol FunctionSymbol Recursive discriminated union case types How can I create OCaml/F# DU type where its cases are subsets of other...
[ -0.00927734375, 0.006072998046875, -0.006683349609375, 0.0172119140625, -0.006134033203125, -0.01446533203125, -0.0184326171875, 0.01025390625, 0.0078125, 0.000698089599609375, 0.000713348388671875, -0.00107574462890625, 0.0036163330078125, 0.01068115234375, 0.00482177734375, 0.0035247...
[ 853, 48650, 5844, 55970, 69941, 7225, 52895, 3674, 17164, 36, 9779, 141, 1238, 3949, 3742, 87046, 164789, 12654, 86531, 62600, 131899, 60457, 36846, 3447, 91693, 84572, 2886, 65183, 28670, 831, 87, 28282, 180, 105272, 64, 919, 4904, 14614, ...
[ 0.06689453125, 0.20654296875, 0.14697265625, 0.207275390625, 0.1832275390625, 0.1580810546875, 0.2122802734375, 0.039581298828125, 0.132080078125, 0.05450439453125, 0.1085205078125, 0.15087890625, 0.0308380126953125, 0.029510498046875, 0.12255859375, 0.1263427734375, 0.1170654296875,...
embed
1686895_c0
1686895
fsharp
0
Title: Is there an equivalent to creating a C# implicit operator in F#? Problem title: Is there an equivalent to creating a C# implicit operator in F#? Tags: c%23, f%23 Problem: Is there an equivalent to creating a C# implicit operator in F#? In C# I can add implicit operators to a class as follows: public class MyClas...
Is there an equivalent to creating a C# implicit operator in F#? Is there an equivalent to creating a C# implicit operator in F#? c%23 f%23 MyClass int.TryParse ToString data.ToString Get c.ToString Main Is there an equivalent to creating a C# implicit operator in F#? In C# I can add implicit operators to a class as fo...
[ 0.0032958984375, 0.00836181640625, 0.0179443359375, 0.0306396484375, 0.01385498046875, 0.00024318695068359375, 0.01239013671875, -0.0157470703125, -0.002410888671875, -0.021240234375, 0.0159912109375, -0.0281982421875, 0.0001621246337890625, -0.002044677734375, -0.00225830078125, 0.003...
[ 183234, 105233, 10, 313, 4904, 165164, 39933, 23, 563, 142, 3742, 1238, 2646, 140803, 18, 1294, 28636, 184, 717, 71713, 214, 2053, 7763, 20779, 501, 12321, 2685, 360, 831, 15190, 47, 18507, 28960, 27875, 2499, 32354, 41206, 36746, 79315, ...
[ 0.1590576171875, 0.1583251953125, 0.054840087890625, 0.0762939453125, 0.191162109375, 0.23486328125, 0.2342529296875, 0.0684814453125, 0.1343994140625, 0.031097412109375, 0.09246826171875, 0.03277587890625, 0.114013671875, 0.2169189453125, 0.05157470703125, 0.049224853515625, 0.03533...
embed
50855168_c0
50855168
fsharp
0
Title: F# Match with discriminated unions Problem title: F# Match with discriminated unions Tags: types, f%23, .net Problem: F# Match with discriminated unions I define 2 discriminated unions: "Direction" and "TurnCommand": type Direction = | South of string | East of string | North of string | West of string type Turn...
F# Match with discriminated unions F# Match with discriminated unions types f%23 .net Match Direction South East North West TurnCommand Left Right Turn Do:Turn F# Match with discriminated unions I define 2 discriminated unions: "Direction" and "TurnCommand": Then I define function to have new Direction after making Tur...
[ -0.016845703125, 0.0031890869140625, 0.015869140625, 0.01226806640625, -0.02490234375, -0.00787353515625, -0.0240478515625, 0.000579833984375, 0.007537841796875, 0.0015716552734375, 0.0263671875, 0.0135498046875, 0.00775146484375, 0.00494384765625, -0.0015411376953125, 0.005126953125, ...
[ 563, 4904, 67407, 678, 55970, 3674, 69941, 52895, 1238, 3742, 1179, 176774, 25134, 24453, 23924, 10542, 41961, 10770, 12018, 2480, 90911, 984, 42671, 61924, 116, 7, 184911, 1830, 19, 32354, 765, 3525, 7103, 83, 959, 20697, 208124, 18499, 64...
[ 0.1168212890625, 0.20654296875, 0.223388671875, 0.08782958984375, 0.238037109375, 0.0892333984375, 0.2034912109375, 0.199462890625, 0.0997314453125, 0.1024169921875, 0.1409912109375, 0.24267578125, 0.053009033203125, 0.068359375, 0.049560546875, 0.08355712890625, 0.1844482421875, 0...
embed
8475233_c1
8475233
fsharp
1
) : List<int * int> * bool = let mutable b : bool = false let rec loop (row, col) = seq { if not (row < 0 || col < 0 || row > MaxLineNumber - 1 || col > BallsPerLine - 1) then let ball = grid.[row,col] match ball with | Some(ball) -> if (ball.visited = true || not <| ball.color.Equals(color)) then () else //HERE's THE ...
) : List<int * int> * bool = let mutable b : bool = false let rec loop (row, col) = seq { if not (row < 0 || col < 0 || row > MaxLineNumber - 1 || col > BallsPerLine - 1) then let ball = grid.[row,col] match ball with | Some(ball) -> if (ball.visited = true || not <| ball.color.Equals(color)) then () else //HERE's THE ...
[ 0.0091552734375, 0.026123046875, 0.00118255615234375, 0.01025390625, -0.007080078125, 0.01007080078125, -0.01251220703125, 0.0169677734375, 0.01409912109375, -0.01385498046875, -0.0074462890625, 0.03369140625, -0.0079345703125, 0.01025390625, 0.00518798828125, 0.004669189453125, -0.0...
[ 1388, 32036, 4288, 23, 18, 142484, 2633, 842, 22819, 876, 98320, 21954, 40956, 15555, 3365, 40, 864, 959, 757, 9920, 93232, 18444, 26278, 21786, 15277, 16446, 120067, 8447, 14858, 678, 31384, 12126, 2174, 169697, 29568, 46133, 71723, 23373, ...
[ 0.000823974609375, 0.19580078125, 0.130615234375, 0.0330810546875, 0.059814453125, 0.159423828125, 0.123046875, 0.19677734375, 0.246337890625, 0.095947265625, 0.134033203125, 0.1240234375, 0.153564453125, 0.1488037109375, 0.10693359375, 0.080810546875, 0.173583984375, 0.080078125, ...
embed
52448694_c0
52448694
fsharp
0
Title: How can I properly use pipe and currying in F#? Problem title: How can I properly use pipe and currying in F#? Tags: .net-core, f%23, functional-programming Problem: How can I properly use pipe and currying in F#? I'm reading about F# and trying to apply it to my daily job. I was already been able to load a CSV ...
How can I properly use pipe and currying in F#? How can I properly use pipe and currying in F#? .net-core f%23 functional-programming How FSharp.Data System System.IO EntryPoint Path.Combine Environment.CurrentDirectory CsvFile.Load data.Headers How can I properly use pipe and currying in F#? I'm reading about F# and t...
[ 0.00543212890625, -0.0064697265625, -0.00787353515625, 0.033203125, 0.00201416015625, 0.0125732421875, -0.00335693359375, -0.018310546875, -0.016357421875, -0.042724609375, -0.0167236328125, -0.0012054443359375, 0.00128936767578125, 0.017822265625, -0.0181884765625, -0.018310546875, ...
[ 11249, 831, 155965, 4527, 137158, 136, 198555, 214, 23, 563, 4904, 87, 1179, 30854, 1238, 3742, 123309, 28966, 93774, 3467, 254, 137989, 12353, 17780, 15123, 147534, 108421, 46187, 686, 1900, 474, 15724, 184911, 67756, 174350, 15363, 2053, 13...
[ 0.069580078125, 0.07916259765625, 0.1680908203125, 0.1737060546875, 0.265869140625, 0.18310546875, 0.274169921875, 0.1806640625, 0.08355712890625, 0.1597900390625, 0.25390625, 0.006622314453125, 0.09521484375, 0.092041015625, 0.085693359375, 0.108642578125, 0.1900634765625, 0.05526...
embed
22347950_c1
22347950
fsharp
1
C:\TeamCity\buildAgent\work\42c74d8b9d19a844\Folder4\UPPER_UPPER_REFERENCING_FSHARP_PROJECT.csproj.metaproj" (Rebuild target(s)) -- FAILED. [16:27:58]Done Building Project "C:\TeamCity\buildAgent\work\42c74d8b9d19a844\MY_SOLUTION.sln" (Rebuild target(s)) -- FAILED. [16:27:58]Done Building Project "C:\TeamCity\buildAgen...
C:\TeamCity\buildAgent\work\42c74d8b9d19a844\Folder4\UPPER_UPPER_REFERENCING_FSHARP_PROJECT.csproj.metaproj" (Rebuild target(s)) -- FAILED. [16:27:58]Done Building Project "C:\TeamCity\buildAgent\work\42c74d8b9d19a844\MY_SOLUTION.sln" (Rebuild target(s)) -- FAILED. [16:27:58]Done Building Project "C:\TeamCity\buildAgen...
[ -0.03515625, 0.0284423828125, -0.0079345703125, 0.0030364990234375, 0.00439453125, -0.01080322265625, -0.0181884765625, -0.007568359375, 0.0050048828125, 0.03125, -0.006195068359375, -0.000904083251953125, 0.01544189453125, 0.035888671875, 0.0245361328125, -0.002777099609375, 0.00023...
[ 313, 101409, 115411, 177149, 284, 46825, 18244, 13023, 16360, 2947, 180344, 27591, 31178, 617, 18409, 30425, 919, 181204, 36381, 61869, 683, 47970, 1375, 4439, 3454, 170, 35273, 4332, 30388, 563, 11388, 38409, 2485, 27592, 33593, 60728, 13, 1...
[ 0.0108642578125, 0.212646484375, 0.1949462890625, 0.250732421875, 0.01300048828125, 0.2109375, 0.173583984375, 0.1622314453125, 0.128662109375, 0.051483154296875, 0.214599609375, 0.0231781005859375, 0.0740966796875, 0.10595703125, 0.1114501953125, 0.109130859375, 0.09332275390625, ...
embed
73806802_c0
73806802
fsharp
0
Title: How to use while loop in F# Async expression? Problem title: How to use while loop in F# Async expression? Tags: f%23, c%23-to-f%23 Problem: How to use while loop in F# Async expression? How would I go about writing the following in F#? var reader = await someDatabaseCommand.ExecuteReaderAsync(); while (await re...
How to use while loop in F# Async expression? How to use while loop in F# Async expression? f%23 c%23-to-f%23 How Async someDatabaseCommand.ExecuteReaderAsync reader.ReadAsync reader.GetDouble tmp1 tmp2 ReadAsync Task How to use while loop in F# Async expression? How would I go about writing the following in F#? I'm ve...
[ 0.00848388671875, -0.004119873046875, 0.0079345703125, -0.004608154296875, 0.0203857421875, 0.000020384788513183594, 0.01263427734375, 0.0030059814453125, 0.01312255859375, -0.020263671875, 0.010498046875, 0.0303955078125, -0.005859375, -0.00421142578125, 0.01806640625, -0.008117675781...
[ 11249, 47, 4527, 12960, 40956, 23, 563, 4904, 62, 12654, 238, 125195, 1238, 3742, 501, 167218, 27495, 188, 420, 37382, 12018, 211603, 31345, 155255, 34, 2661, 2676, 304, 4764, 284, 9598, 32562, 25632, 3525, 35773, 15787, 71864, 4343, 16750,...
[ 0.04144287109375, 0.0103759765625, 0.14111328125, 0.2437744140625, 0.23095703125, 0.044525146484375, 0.1324462890625, 0.1986083984375, 0.06573486328125, 0.199462890625, 0.134521484375, 0.1990966796875, 0.04547119140625, 0.09124755859375, 0.002227783203125, 0.00054931640625, 0.1313476...
embed
30806808_c0
30806808
fsharp
0
Title: Referencing event from .xaml file in .fs file Problem title: Referencing event from .xaml file in .fs file Tags: f%23, fsxaml, wpf, xaml Problem: Referencing event from .xaml file in .fs file I want to declare an event in a XAML file and then add a handler in a fs file. The upper part of the XAML file would be s...
Referencing event from .xaml file in .fs file Referencing event from .xaml file in .fs file f%23 fsxaml wpf xaml xaml Referencing Window schemas.microsoft.com xmlns:x x:Class AboutStack MouseRightButtonDown AboutStack_MouseRightButtonDown Title About SizeToContent WidthAndHeight StackPanel FsXaml MainWindow MainWindow....
[ 0.011474609375, 0.0260009765625, 0.00994873046875, 0.00110626220703125, 0.00909423828125, 0.00506591796875, 0.007080078125, -0.004791259765625, 0.0032501220703125, -0.044189453125, 0.00147247314453125, -0.01904296875, -0.0034942626953125, 0.00897216796875, 0.006927490234375, -0.0004253...
[ 853, 69988, 19732, 1295, 3798, 7237, 11435, 23, 5, 17447, 1238, 3949, 3742, 39557, 2459, 214, 176501, 61903, 138410, 131492, 1779, 425, 1022, 140803, 56888, 42378, 2594, 174799, 22553, 82212, 8331, 51483, 48962, 80378, 7763, 25352, 13025, 651...
[ 0.075439453125, 0.2337646484375, 0.1932373046875, 0.10455322265625, 0.141357421875, 0.225341796875, 0.1754150390625, 0.0411376953125, 0.019287109375, 0.194580078125, 0.09124755859375, 0.04302978515625, 0.1790771484375, 0.0677490234375, 0.09564208984375, 0.007415771484375, 0.144287109...
embed
68237800_c0
68237800
fsharp
0
Title: How to print the sum of types in a record in F#? Problem title: How to print the sum of types in a record in F#? Tags: sum, f%23, list, math, record Problem: How to print the sum of types in a record in F#? I have the below record for how many items were sold at a shop: type ShopEarnings = { Item: string; Price:...
How to print the sum of types in a record in F#? How to print the sum of types in a record in F#? sum f%23 list math record How ShopEarnings Item Price Quantity Pencils Pens Labels Rulers How to print the sum of types in a record in F#? I have the below record for how many items were sold at a shop: I want to calculate...
[ -0.01068115234375, 0.0029754638671875, -0.00823974609375, 0.000782012939453125, -0.0220947265625, 0.00061798095703125, -0.02392578125, 0.0152587890625, 0.025634765625, -0.00384521484375, 0.0004482269287109375, -0.004364013671875, 0.0174560546875, -0.002227783203125, 0.0164794921875, 0....
[ 11249, 47, 28412, 70, 10554, 111, 52895, 23, 17164, 563, 4904, 1238, 3949, 3742, 5303, 48909, 24211, 147, 78426, 48025, 75344, 2481, 4267, 13003, 17630, 139118, 35064, 5941, 55769, 54324, 19927, 3444, 74481, 3622, 41170, 14783, 2982, 18345, ...
[ 0.058685302734375, 0.024658203125, 0.1937255859375, 0.029632568359375, 0.219970703125, 0.120849609375, 0.257568359375, 0.05865478515625, 0.2098388671875, 0.1470947265625, 0.199951171875, 0.0928955078125, 0.043121337890625, 0.1239013671875, 0.0831298828125, 0.0750732421875, 0.07495117...
embed
30536598_c0
30536598
fsharp
0
Title: Generate reports for all invalid data - Csv file data type validation? Problem title: Generate reports for all invalid data - Csv file data type validation? Tags: f%23, f%23-data Problem: Generate reports for all invalid data - Csv file data type validation? The following code defined a schema of CSV file and it...
Generate reports for all invalid data - Csv file data type validation? Generate reports for all invalid data - Csv file data type validation? f%23 f%23-data Generate Csv Load MyCsvType CsvProvider Schema HasHeaders MyCsvType.Load Execute Rows NaN Xyz Generate reports for all invalid data - Csv file data type validation...
[ 0.0260009765625, 0.009765625, 0.0096435546875, 0.04638671875, -0.00848388671875, 0.0123291015625, -0.0118408203125, -0.00092315673828125, -0.00299072265625, 0.0166015625, -0.0208740234375, -0.0205078125, 0.01153564453125, 0.0245361328125, -0.014404296875, -0.0037078857421875, -0.0083...
[ 155370, 67, 117729, 100, 756, 56649, 2053, 313, 67756, 11435, 10644, 44622, 1363, 3742, 27495, 10135, 2091, 2646, 441, 196707, 177997, 34702, 20625, 13025, 11, 14202, 15363, 211603, 96190, 353, 839, 32189, 25632, 18151, 61924, 61903, 43486, 1...
[ 0.16455078125, 0.05511474609375, 0.24755859375, 0.09814453125, 0.1241455078125, 0.2406005859375, 0.152587890625, 0.0819091796875, 0.2315673828125, 0.10986328125, 0.1473388671875, 0.1845703125, 0.0068359375, 0.04345703125, 0.025665283203125, 0.0635986328125, 0.077392578125, 0.053436...
embed
55659419_c0
55659419
fsharp
0
Title: Which F# type names and declaration syntax are considered idiomatic? Problem title: Which F# type names and declaration syntax are considered idiomatic? Tags: f%23 Problem: Which F# type names and declaration syntax are considered idiomatic? F# has multiple ways to declare the same types. This is likely because ...
Which F# type names and declaration syntax are considered idiomatic? Which F# type names and declaration syntax are considered idiomatic? f%23 Which Which F# type names and declaration syntax are considered idiomatic? F# has multiple ways to declare the same types. This is likely because of the dual lineage of F# as bo...
[ 0.0267333984375, -0.0189208984375, 0.004425048828125, -0.009765625, -0.00604248046875, -0.0089111328125, 0.00994873046875, -0.0123291015625, -0.005645751953125, 0.034912109375, 0.0167236328125, -0.01287841796875, -0.0142822265625, -0.023193359375, 0.00762939453125, 0.01092529296875, ...
[ 130078, 563, 4904, 10644, 123055, 136, 21635, 6002, 86531, 90698, 49666, 9523, 1238, 3742, 48716, 48322, 159978, 5701, 52895, 87758, 42592, 39456, 14449, 17777, 46876, 20623, 1286, 7911, 3137, 129969, 188609, 21917, 26518, 38496, 101935, 257, 4...
[ 0.03228759765625, 0.16162109375, 0.2420654296875, 0.2164306640625, 0.1539306640625, 0.0838623046875, 0.18798828125, 0.1053466796875, 0.1507568359375, 0.088134765625, 0.2587890625, 0.1407470703125, 0.052947998046875, 0.0567626953125, 0.043426513671875, 0.07183837890625, 0.179321289062...
embed
17135643_c1
17135643
fsharp
1
Code :) What I care about with HasOpportunity is mostly the boolean test. Given two doubles and a threshold do the comparison and return the result. In order to get those two doubles it uses a function which requires a list of dates and a date. This leads HasOpportunity to also be responsible for determining the dates...
Code :) What I care about with HasOpportunity is mostly the boolean test. Given two doubles and a threshold do the comparison and return the result. In order to get those two doubles it uses a function which requires a list of dates and a date. This leads HasOpportunity to also be responsible for determining the dates...
[ 0.006744384765625, -0.002532958984375, 0.00811767578125, -0.013427734375, -0.01446533203125, -0.007720947265625, 0.0224609375, 0.005584716796875, 0.0166015625, 0.02685546875, -0.014404296875, 0.0341796875, -0.01092529296875, 0.01611328125, -0.00933837890625, 0.01446533203125, -0.0106...
[ 28864, 1094, 517, 1672, 678, 20625, 39029, 6982, 309, 2481, 153161, 337, 31, 34677, 3034, 77878, 6626, 41929, 159399, 7, 16200, 225490, 30646, 16750, 2046, 4527, 32354, 144570, 5303, 112474, 136, 5622, 102778, 72694, 25512, 70059, 137594, 496...
[ 0.23193359375, 0.044219970703125, 0.136474609375, 0.0406494140625, 0.0269775390625, 0.222412109375, 0.178955078125, 0.2490234375, 0.2108154296875, 0.1533203125, 0.041656494140625, 0.0484619140625, 0.0855712890625, 0.18701171875, 0.2056884765625, 0.00634765625, 0.078857421875, 0.143...
embed
42249307_c0
42249307
fsharp
0
Title: Draw simple graphics using F# Problem title: Draw simple graphics using F# Tags: graphic, f%23, 2d Problem: Draw simple graphics using F# What is the easiest way to draw simple graphics using F# ? I want to visualize a dynamic system (a simplified sample of my use case would be a red square going from one side o...
Draw simple graphics using F# Draw simple graphics using F# graphic f%23 2d F# Draw System.Drawing System.Windows.Forms Draw simple graphics using F# What is the easiest way to draw simple graphics using F# ? I want to visualize a dynamic system (a simplified sample of my use case would be a red square going from one s...
[ -0.004119873046875, 0.00112152099609375, -0.0107421875, -0.00775146484375, -0.01519775390625, -0.002471923828125, -0.0093994140625, -0.00921630859375, -0.020751953125, -0.01177978515625, 0.0245361328125, -0.0159912109375, -0.00136566162109375, 0.00408935546875, 0.0034942626953125, 0.00...
[ 18186, 434, 8781, 48461, 7, 17368, 563, 4904, 1238, 3742, 116, 71, 12353, 219, 14775, 43342, 102973, 28, 1544, 525, 3917, 47, 79442, 3444, 21176, 20650, 84079, 5426, 112892, 121413, 4527, 7225, 4842, 108047, 7730, 5609, 49119, 3789, 38352, ...
[ 0.1376953125, 0.062286376953125, 0.2060546875, 0.234619140625, 0.0908203125, 0.10552978515625, 0.1573486328125, 0.2359619140625, 0.07623291015625, 0.09765625, 0.012786865234375, 0.035552978515625, 0.162109375, 0.1246337890625, 0.14404296875, 0.1014404296875, 0.1497802734375, 0.0064...
embed
5915448_c0
5915448
fsharp
0
Title: F# tail recursion and why not write a while loop? Problem title: F# tail recursion and why not write a while loop? Tags: f%23, tail-recursion Problem: F# tail recursion and why not write a while loop? I'm learning F# (new to functional programming in general though used functional aspects of C# for years but let...
F# tail recursion and why not write a while loop? F# tail recursion and why not write a while loop? f%23 tail-recursion F# tail recursion and why not write a while loop? I'm learning F# (new to functional programming in general though used functional aspects of C# for years but let's face it, that's pretty different) a...
[ 0.0152587890625, -0.00537109375, 0.0194091796875, 0.00762939453125, 0.016845703125, 0.007171630859375, -0.00958251953125, -0.0185546875, 0.0010833740234375, -0.019775390625, 0.003082275390625, 0.0108642578125, -0.00299072265625, 0.0045166015625, 0.02978515625, -0.006805419921875, 0.0...
[ 563, 4904, 46741, 195625, 1830, 136, 15400, 959, 33022, 10, 12960, 40956, 1238, 3949, 3742, 107, 48650, 52080, 123309, 56037, 128746, 5369, 9969, 34759, 42485, 1340, 3934, 73, 420, 22232, 28219, 2806, 5844, 32354, 64457, 15504, 109954, 4173, ...
[ 0.1339111328125, 0.184326171875, 0.2435302734375, 0.23291015625, 0.10302734375, 0.03607177734375, 0.107666015625, 0.1224365234375, 0.1658935546875, 0.07659912109375, 0.2301025390625, 0.233642578125, 0.1151123046875, 0.003631591796875, 0.0853271484375, 0.06903076171875, 0.177612304687...
embed
39306148_c0
39306148
fsharp
0
Title: Create new record type inline by extending existing record with new member Problem title: Create new record type inline by extending existing record with new member Tags: f%23, generics, types Problem: Create new record type inline by extending existing record with new member After asking this question and tryin...
Create new record type inline by extending existing record with new member Create new record type inline by extending existing record with new member f%23 generics types Create Entity Guid Data v.Data v.Id Create new record type inline by extending existing record with new member After asking this question and trying o...
[ -0.01055908203125, 0.0118408203125, 0.01031494140625, 0.0050048828125, 0.0072021484375, -0.00592041015625, -0.01043701171875, 0.01422119140625, 0.0067138671875, -0.023193359375, -0.000751495361328125, 0.01251220703125, 0.01708984375, -0.013916015625, 0.01116943359375, -0.00047302246093...
[ 151313, 3525, 17164, 10644, 23, 2256, 390, 65042, 144573, 678, 32786, 3742, 189534, 52895, 16511, 2481, 6955, 532, 11809, 81, 137989, 568, 71, 29806, 25632, 77630, 939, 172554, 61687, 3444, 49878, 510, 442, 24799, 183871, 35686, 11737, 12638,...
[ 0.1292724609375, 0.123779296875, 0.2125244140625, 0.23291015625, 0.113037109375, 0.199951171875, 0.0243988037109375, 0.1656494140625, 0.1776123046875, 0.0989990234375, 0.1861572265625, 0.0736083984375, 0.1800537109375, 0.1678466796875, 0.1187744140625, 0.053192138671875, 0.15234375, ...
embed
4104025_c0
4104025
fsharp
0
Title: How can I test if a sequence is empty in F#? Problem title: How can I test if a sequence is empty in F#? Tags: f%23 Problem: How can I test if a sequence is empty in F#? Consider this F# code which computes a factor of a number: let n = 340339004337I // A sequence of all factors: let factors = seq { 1I .. n / 2I...
How can I test if a sequence is empty in F#? How can I test if a sequence is empty in F#? f%23 the How Seq.filter Pull Seq.nth Seq.empty How can I test if a sequence is empty in F#? Consider this F# code which computes a factor of a number: In other words, if factors is empty, then return n . Otherwise, pull off the fi...
[ 0.000881195068359375, -0.0003261566162109375, -0.0025787353515625, 0.031494140625, -0.0057373046875, -0.015869140625, 0.02490234375, -0.0128173828125, -0.000606536865234375, 0.0164794921875, 0.0228271484375, 0.01361083984375, -0.017822265625, 0.00531005859375, 0.005615234375, 0.0161132...
[ 11249, 831, 3034, 2174, 40, 944, 3956, 83, 201505, 23, 563, 4904, 1238, 3742, 503, 864, 120337, 167392, 19, 927, 33548, 939, 87, 18151, 7077, 31461, 14012, 120103, 30646, 653, 50065, 5773, 5117, 12830, 1295, 69236, 15426, 756, 17721, 1247...
[ 0.0888671875, 0.051422119140625, 0.2239990234375, 0.1007080078125, 0.10107421875, 0.1456298828125, 0.1417236328125, 0.074951171875, 0.271728515625, 0.0709228515625, 0.1373291015625, 0.21826171875, 0.057830810546875, 0.09442138671875, 0.0921630859375, 0.1746826171875, 0.1507568359375,...
embed
25071372_c0
25071372
fsharp
0
Title: From slow to fast, what can I expect in performance differences using comparators between different primitive types? Problem title: From slow to fast, what can I expect in performance differences using comparators between different primitive types? Tags: arrays, bitmap, c%23, f%23, performance Problem: From slow...
From slow to fast, what can I expect in performance differences using comparators between different primitive types? From slow to fast, what can I expect in performance differences using comparators between different primitive types? arrays bitmap c%23 f%23 performance comparators Tuple From slow to fast, what can I ex...
[ 0.002349853515625, 0.01007080078125, -0.005706787109375, 0.0196533203125, 0.010986328125, -0.0064697265625, 0.0084228515625, -0.0201416015625, 0.020751953125, 0.02734375, -0.0003910064697265625, 0.039794921875, 0.0050048828125, 0.01104736328125, -0.02197265625, -0.0079345703125, -0.0...
[ 28090, 72803, 47, 4271, 2367, 831, 41206, 23718, 60212, 17368, 31898, 22230, 17721, 12921, 128489, 52895, 10298, 4778, 4785, 62346, 3742, 1371, 8705, 13, 15572, 130306, 225490, 18151, 132340, 37397, 214, 27140, 17777, 4904, 370, 99726, 17262, ...
[ 0.115478515625, 0.249267578125, 0.14501953125, 0.1995849609375, 0.04815673828125, 0.043426513671875, 0.1680908203125, 0.2010498046875, 0.1837158203125, 0.038360595703125, 0.2332763671875, 0.1463623046875, 0.028839111328125, 0.0941162109375, 0.17724609375, 0.1646728515625, 0.090576171...
embed
41059970_c0
41059970
fsharp
0
Title: Poker hand - Determining a full house in F# Problem title: Poker hand - Determining a full house in F# Tags: f%23, poker Problem: Poker hand - Determining a full house in F# Having this issue of my fullHouse function = true when there's a three-of-a-kind. The function checks for a 3 of a kind and a pair but it s...
Poker hand - Determining a full house in F# Poker hand - Determining a full house in F# f%23 poker Poker Determining Poker hand - Determining a full house in F# Having this issue of my fullHouse function = true when there's a three-of-a-kind. The function checks for a 3 of a kind and a pair but it satisfies the logic w...
[ -0.0045166015625, 0.0038909912109375, 0.017333984375, -0.005401611328125, -0.00927734375, 0.0174560546875, -0.0093994140625, -0.02978515625, 0.0137939453125, 0.0128173828125, 0.0296630859375, 0.0272216796875, 0.019287109375, -0.001953125, -0.004119873046875, -0.0022125244140625, 0.00...
[ 36450, 3535, 262, 30524, 4393, 18276, 23, 563, 4904, 10, 1238, 3742, 25600, 31089, 184964, 32354, 29568, 17262, 4390, 11, 68347, 12765, 100, 138, 111, 8562, 80836, 40407, 62775, 397, 70280, 5531, 77816, 3293, 56112, 18, 190358, 5701, 5170, ...
[ 0.1533203125, 0.119873046875, 0.057891845703125, 0.1519775390625, 0.2344970703125, 0.2327880859375, 0.0133056640625, 0.109375, 0.1912841796875, 0.009307861328125, 0.031890869140625, 0.0242767333984375, 0.11669921875, 0.0302734375, 0.1666259765625, 0.15234375, 0.1363525390625, 0.146...
embed
39361459_c1
39361459
fsharp
1
[||] Accessing eager instance: Static constructor of eager class Initializing eager class... TrySingleton.Eager+EagerClass Accessing lazy instance: Static constructor of lazy class Initializing lazy class... TrySingleton.Lazy+LazyClass Accessing eager instance again: TrySingleton.Eager+EagerClass Accessing lazy instan...
[||] Accessing eager instance: Static constructor of eager class Initializing eager class... TrySingleton.Eager+EagerClass Accessing lazy instance: Static constructor of lazy class Initializing lazy class... TrySingleton.Lazy+LazyClass Accessing eager instance again: TrySingleton.Eager+EagerClass Accessing lazy instan...
[ 0.01287841796875, -0.01171875, 0.019775390625, -0.006256103515625, 0.005096435546875, 0.006866455078125, -0.01507568359375, 0.00341796875, 0.0186767578125, 0.0025482177734375, -0.00933837890625, 0.0162353515625, -0.01092529296875, -0.01446533203125, 0.00994873046875, -0.0159912109375, ...
[ 40266, 28, 33730, 110527, 71465, 238, 64549, 748, 18507, 1890, 289, 40858, 213039, 1507, 647, 1328, 140803, 21, 3285, 2729, 13438, 144053, 82230, 214, 37202, 241, 83, 959, 237, 17569, 201939, 4734, 11675, 5117, 1733, 37842, 17203, 25251, 28...
[ 0.1470947265625, 0.10064697265625, 0.3154296875, 0.205078125, 0.2152099609375, 0.134033203125, 0.199462890625, 0.1343994140625, 0.2232666015625, 0.06719970703125, 0.050323486328125, 0.191162109375, 0.1580810546875, 0.1878662109375, 0.04656982421875, 0.06634521484375, 0.200927734375, ...
embed
39610973_c0
39610973
fsharp
0
Title: HttpClient complains about concurrent IO read and write operations Problem title: HttpClient complains about concurrent IO read and write operations Tags: httpclient, f%23 Problem: HttpClient complains about concurrent IO read and write operations I have an F# funciton that uses a static instance of HttpClient: ...
HttpClient complains about concurrent IO read and write operations HttpClient complains about concurrent IO read and write operations httpclient f%23 HttpClient StaticHttpClient.Instance.SendAsync Async.AwaitTask response.Content.ReadAsStreamAsync response.StatusCode Async.RunSynchronously HttpClient complains about co...
[ -0.0125732421875, 0.0164794921875, -0.00060272216796875, -0.0181884765625, 0.0047607421875, -0.01336669921875, -0.0081787109375, 0.00665283203125, -0.00823974609375, 0.006500244140625, 0.0101318359375, 0.0166015625, 0.032470703125, -0.00787353515625, 0.035888671875, -0.012451171875, ...
[ 572, 3062, 254, 441, 150, 2517, 186992, 133244, 17780, 12301, 136, 33022, 41018, 1621, 222978, 3742, 71465, 116071, 12654, 634, 9874, 57553, 25352, 31345, 115061, 135206, 114211, 163321, 217835, 127, 1900, 6, 563, 4904, 7477, 1507, 4527, 2019...
[ 0.07470703125, 0.0989990234375, 0.1177978515625, 0.06915283203125, 0.1822509765625, 0.12548828125, 0.19970703125, 0.26904296875, 0.2135009765625, 0.2054443359375, 0.0989990234375, 0.1849365234375, 0.1875, 0.1171875, 0.2061767578125, 0.07330322265625, 0.14794921875, 0.09796142578125...
embed
42671973_c0
42671973
fsharp
0
Title: Why Frame.X static methods from Deedle are generating warnings in VS 2017? Problem title: Why Frame.X static methods from Deedle are generating warnings in VS 2017? Tags: f%23, warnings, visual-studio, deedle Problem: Why Frame.X static methods from Deedle are generating warnings in VS 2017? I downloaded the new...
Why Frame.X static methods from Deedle are generating warnings in VS 2017? Why Frame.X static methods from Deedle are generating warnings in VS 2017? f%23 warnings visual-studio deedle Deedle F# Why Frame.X Frame.ReadCsv FS10001 Config.tsDir MSFT.csv bluemountaincapital.github.io deedle-frame.html Why Frame.X static me...
[ 0.00750732421875, 0.00104522705078125, 0.02490234375, -0.00396728515625, -0.0079345703125, 0.0185546875, -0.00537109375, -0.005950927734375, -0.0140380859375, -0.01513671875, -0.021728515625, -0.025390625, -0.0186767578125, -0.007293701171875, 0.0126953125, -0.00701904296875, 0.01074...
[ 44084, 42557, 13, 1542, 201939, 150624, 262, 297, 133, 12663, 1631, 6977, 44160, 505, 5, 1238, 3949, 3742, 21176, 52629, 8, 4904, 31345, 67756, 93774, 14105, 418, 139403, 933, 481, 25217, 4439, 334, 57571, 227772, 215652, 32102, 846, 160328...
[ 0.100341796875, 0.17626953125, 0.1607666015625, 0.2010498046875, 0.2208251953125, 0.1761474609375, 0.124267578125, 0.1624755859375, 0.160888671875, 0.131591796875, 0.19091796875, 0.1385498046875, 0.2061767578125, 0.228271484375, 0.009246826171875, 0.03143310546875, 0.06707763671875, ...
embed
29473581_c0
29473581
fsharp
0
Title: F# class Explicit Fields and DefaultValue Problem title: F# class Explicit Fields and DefaultValue Tags: f%23 Problem: F# class Explicit Fields and DefaultValue This is an F# language-definition question. I was wondering why F# can not automatically deduce Explicit Fields in the first place? And then DefaultValu...
F# class Explicit Fields and DefaultValue F# class Explicit Fields and DefaultValue f%23 Explicit Fields DefaultValue myInt1 F# class Explicit Fields and DefaultValue This is an F# language-definition question. I was wondering why F# can not automatically deduce Explicit Fields in the first place? And then DefaultValue...
[ 0.0157470703125, -0.00112152099609375, -0.00634765625, 0.024169921875, 0.0057373046875, -0.0030975341796875, 0.01708984375, -0.00125885009765625, 0.01312255859375, 0.0106201171875, 0.0087890625, 0.0137939453125, 0.00909423828125, 0.01434326171875, 0.00153350830078125, -0.022705078125, ...
[ 563, 4904, 18507, 60075, 60923, 117657, 136, 262, 1021, 7136, 856, 50770, 1238, 3742, 759, 4153, 18, 418, 46876, 49919, 149016, 15400, 831, 959, 191082, 8, 106357, 7, 44084, 6002, 86531, 2633, 99091, 44457, 15490, 34292, 10644, 29481, 91084...
[ 0.1484375, 0.2283935546875, 0.14892578125, 0.1156005859375, 0.2325439453125, 0.2320556640625, 0.032806396484375, 0.1085205078125, 0.1378173828125, 0.0953369140625, 0.1234130859375, 0.14990234375, 0.055084228515625, 0.0654296875, 0.0975341796875, 0.07867431640625, 0.069091796875, 0....
embed
33827425_c0
33827425
fsharp
0
Title: How to return a value from a function based on conditions Problem title: How to return a value from a function based on conditions Tags: f%23 Problem: How to return a value from a function based on conditions I am not sure why the following function does not compile: let isWithinRange (searchElement:int, recordL...
How to return a value from a function based on conditions How to return a value from a function based on conditions f%23 a How searchElement:int recordLength:int How to return a value from a function based on conditions I am not sure why the following function does not compile: As a result, I have to modify this functi...
[ -0.020263671875, 0.010986328125, -0.0133056640625, 0.0054931640625, -0.01519775390625, 0.0142822265625, -0.003265380859375, 0.0115966796875, -0.006927490234375, 0.0250244140625, 0.005218505859375, 0.0205078125, -0.01019287109375, 0.0159912109375, 0.041748046875, 0.000629425048828125, ...
[ 11249, 47, 30646, 34292, 1295, 32354, 35509, 98, 27289, 10, 1238, 3949, 3742, 33938, 19929, 4288, 17164, 5267, 449, 927, 9077, 15400, 25632, 14602, 959, 9969, 1340, 2811, 40383, 3444, 65508, 21144, 41159, 18151, 44084, 22027, 18, 7311, 1549...
[ 0.1005859375, 0.07098388671875, 0.2210693359375, 0.186767578125, 0.1387939453125, 0.2135009765625, 0.1947021484375, 0.117431640625, 0.281982421875, 0.0221099853515625, 0.090087890625, 0.0269317626953125, 0.1473388671875, 0.17138671875, 0.1441650390625, 0.1552734375, 0.1796875, 0.01...
embed
74758186_c0
74758186
fsharp
0
Title: How do I allow for copying data to clipboard from .NET Interactive (Polyglot) Notebooks? Problem title: How do I allow for copying data to clipboard from .NET Interactive (Polyglot) Notebooks? Tags: jupyter-notebook, f%23, deedle, .net-interactive Problem: How do I allow for copying data to clipboard from .NET I...
How do I allow for copying data to clipboard from .NET Interactive (Polyglot) Notebooks? How do I allow for copying data to clipboard from .NET Interactive (Polyglot) Notebooks? jupyter-notebook f%23 deedle .net-interactive NET How Interactive Polyglot Notebooks How do I allow for copying data to clipboard from .NET In...
[ -0.01300048828125, 0.00897216796875, 0.006744384765625, 0.02490234375, 0.00994873046875, -0.0059814453125, 0.0179443359375, 0.0004425048828125, 0.01190185546875, -0.0002155303955078125, -0.00469970703125, -0.004150390625, 0.0106201171875, 0.0130615234375, 0.006195068359375, 0.000079631...
[ 11249, 63769, 43658, 214, 2053, 47, 34196, 24351, 1295, 17777, 5337, 71232, 7192, 41793, 12631, 183098, 7, 100, 1129, 6493, 720, 48345, 14137, 1238, 3742, 8, 297, 133, 1179, 10433, 63306, 38869, 18, 5, 20697, 563, 4904, 313, 360, 18151, ...
[ 0.0382080078125, 0.1640625, 0.2171630859375, 0.119384765625, 0.1409912109375, 0.1304931640625, 0.1875, 0.239990234375, 0.109619140625, 0.1466064453125, 0.1129150390625, 0.1407470703125, 0.06231689453125, 0.081787109375, 0.1998291015625, 0.27294921875, 0.06317138671875, 0.0157470703...
embed
33509503_c0
33509503
fsharp
0
Title: Difference between two ways of partial application in F# Problem title: Difference between two ways of partial application in F# Tags: functional-programming, f%23 Problem: Difference between two ways of partial application in F# Let's say we have the following function (body isn't very important): let writelogf...
Difference between two ways of partial application in F# Difference between two ways of partial application in F# functional-programming f%23 Difference Printf.printf Hello Test logf2 Difference between two ways of partial application in F# Let's say we have the following function (body isn't very important): The type ...
[ 0.004730224609375, 0.017333984375, 0.013427734375, 0.00830078125, 0.008544921875, -0.00188446044921875, -0.0047607421875, -0.0177001953125, 0.01190185546875, 0.0059814453125, 0.01361083984375, -0.01544189453125, -0.0126953125, -0.01025390625, 0.016357421875, -0.01275634765625, 0.0163...
[ 803, 18234, 6620, 17721, 6626, 48322, 2878, 289, 38415, 563, 4904, 123309, 28966, 1238, 3742, 39754, 420, 35662, 35378, 8647, 12684, 304, 23, 32354, 37873, 5526, 10644, 275, 25072, 2367, 3444, 61924, 25958, 190659, 11, 33079, 41206, 4527, 1...
[ 0.06036376953125, 0.177734375, 0.0572509765625, 0.107177734375, 0.1187744140625, 0.1270751953125, 0.1903076171875, 0.106201171875, 0.20068359375, 0.1287841796875, 0.2216796875, 0.12744140625, 0.0828857421875, 0.060943603515625, 0.07855224609375, 0.10888671875, 0.17138671875, 0.0606...
embed
5653233_c0
5653233
fsharp
0
Title: F# Interactive Developement DirectoryNotFoundException: Could not find a part of the path &#x27;C:\Users\Bob\AppData\Local\Temp\MyFolder\&#x27; Problem title: F# Interactive Developement DirectoryNotFoundException: Could not find a part of the path &#x27;C:\Users\Bob\AppData\Local\Temp\MyFolder\&#x27; Tags: getf...
F# Interactive Developement DirectoryNotFoundException: Could not find a part of the path &#x27;C:\Users\Bob\AppData\Local\Temp\MyFolder\&#x27; F# Interactive Developement DirectoryNotFoundException: Could not find a part of the path &#x27;C:\Users\Bob\AppData\Local\Temp\MyFolder\&#x27; getfiles f%23 f%23-interactive d...
[ -0.0028228759765625, 0.0098876953125, -0.0032196044921875, 0.0038909912109375, -0.01806640625, 0.0179443359375, 0.0260009765625, -0.00072479248046875, 0.003997802734375, -0.038330078125, -0.007080078125, 0.034912109375, -0.006927490234375, 0.01007080078125, 0.03173828125, 0.00665283203...
[ 563, 4904, 5337, 71232, 219065, 5911, 31068, 122116, 27591, 7030, 19279, 63928, 191147, 959, 7413, 2831, 111, 60875, 3768, 1062, 7, 571, 3522, 39179, 137989, 203758, 159065, 31852, 31178, 2046, 29822, 1238, 3742, 27495, 10433, 14364, 53400, 2...
[ 0.12841796875, 0.21337890625, 0.161865234375, 0.1773681640625, 0.129638671875, 0.03564453125, 0.13916015625, 0.1258544921875, 0.15625, 0.126220703125, 0.034454345703125, 0.1490478515625, 0.1439208984375, 0.1334228515625, 0.1959228515625, 0.171630859375, 0.1112060546875, 0.213500976...
embed
8548274_c0
8548274
fsharp
0
Title: F# issue when porting some VB.NET code Problem title: F# issue when porting some VB.NET code Tags: f%23 Problem: F# issue when porting some VB.NET code I want to convert some VB.NET code for regular expression to F#. The following code works in VB.NET: Dim regOpts As RegexOptions = RegexOptions.IgnoreCase Or Reg...
F# issue when porting some VB.NET code F# issue when porting some VB.NET code f%23 VB.NET Dim RegexOptions RegexOptions.IgnoreCase RegexOptions.Singleline Regex HRef System.Text.RegularExpressions F# issue when porting some VB.NET code I want to convert some VB.NET code for regular expression to F#. The following code ...
[ -0.00848388671875, 0.0034637451171875, 0.01214599609375, 0.0135498046875, -0.00897216796875, 0.0021820068359375, -0.024658203125, 0.00011920928955078125, 0.00152587890625, -0.003387451171875, 0.004791259765625, 0.0101318359375, 0.017822265625, -0.0128173828125, 0.01031494140625, -0.015...
[ 563, 4904, 31089, 196, 1916, 75034, 17777, 18151, 1238, 3742, 45247, 11678, 3355, 39029, 11137, 441, 6991, 213039, 2256, 4240, 12353, 174379, 54601, 35975, 178752, 3229, 3060, 96760, 5, 20324, 125195, 47, 25632, 43240, 23, 42518, 831, 959, ...
[ 0.16650390625, 0.2354736328125, 0.1116943359375, 0.1400146484375, 0.114990234375, 0.2196044921875, 0.177978515625, 0.171875, 0.0712890625, 0.1072998046875, 0.09124755859375, 0.09051513671875, 0.0986328125, 0.1500244140625, 0.045501708984375, 0.0149993896484375, 0.0504150390625, 0.0...
embed
8379254_c0
8379254
fsharp
0
Title: Wrapping a function with an indeterminate number of parameters in F# Problem title: Wrapping a function with an indeterminate number of parameters in F# Tags: higher-order-functions, f%23 Problem: Wrapping a function with an indeterminate number of parameters in F# I'm trying to write a simple wrapper class in F...
Wrapping a function with an indeterminate number of parameters in F# Wrapping a function with an indeterminate number of parameters in F# higher-order-functions f%23 Wrapping System Func2 ToString Func3 test2 Console.WriteLine Wrapping a function with an indeterminate number of parameters in F# I'm trying to write a si...
[ -0.0103759765625, -0.0024261474609375, -0.00970458984375, -0.00311279296875, 0.004486083984375, 0.01434326171875, 0.0025787353515625, -0.025146484375, 0.007476806640625, -0.006683349609375, -0.00017452239990234375, -0.00726318359375, -0.01483154296875, -0.016357421875, 0.01300048828125, ...
[ 601, 219, 26783, 32354, 678, 23, 145099, 14012, 171859, 563, 4904, 80596, 137175, 1238, 3742, 12353, 28670, 304, 717, 71713, 363, 3034, 40777, 93232, 33022, 8781, 137565, 1264, 18507, 51776, 30646, 79315, 5701, 107730, 5429, 11, 48398, 25632,...
[ 0.04150390625, 0.2008056640625, 0.1075439453125, 0.2132568359375, 0.06549072265625, 0.0721435546875, 0.2337646484375, 0.09832763671875, 0.237060546875, 0.13134765625, 0.2159423828125, 0.08807373046875, 0.120849609375, 0.04791259765625, 0.0931396484375, 0.036285400390625, 0.0887451171...
embed
75839028_c0
75839028
fsharp
0
Title: F# - Avoid repeating constraints Problem title: F# - Avoid repeating constraints Tags: f%23, constraints Problem: F# - Avoid repeating constraints With version 7, F# allows grouping and naming of SRTP constraints to avoid repetition. The problem with constraints repetition in general remains though: type U() = c...
F# - Avoid repeating constraints F# - Avoid repeating constraints f%23 constraints Avoid constraint1 F# - Avoid repeating constraints With version 7, F# allows grouping and naming of SRTP constraints to avoid repetition. The problem with constraints repetition in general remains though: this code is legal, however cons...
[ 0.000881195068359375, -0.005889892578125, -0.0015869140625, -0.00188446044921875, 0.00151824951171875, -0.021728515625, -0.01263427734375, 0.00872802734375, 0.0012054443359375, -0.01470947265625, -0.02001953125, 0.00946044921875, 0.0031585693359375, -0.00927734375, 0.01544189453125, 0....
[ 563, 4904, 84361, 532, 119140, 214, 158, 2816, 4288, 20, 1238, 3949, 3742, 11389, 361, 114864, 21115, 136, 147453, 26098, 23658, 71864, 57346, 1363, 2967, 678, 4537, 47143, 21208, 903, 18151, 83, 8437, 49903, 3871, 47, 64557, 297, 8668, 3...
[ 0.1424560546875, 0.236572265625, 0.173095703125, 0.09539794921875, 0.230224609375, 0.05487060546875, 0.11669921875, 0.19189453125, 0.134765625, 0.000579833984375, 0.0936279296875, 0.0254974365234375, 0.1090087890625, 0.103271484375, 0.1318359375, 0.1121826171875, 0.116943359375, 0....
embed
52106314_c0
52106314
fsharp
0
Title: Cannot access a disposed object in a function returns List? Problem title: Cannot access a disposed object in a function returns List? Tags: amazon-s3, amazon-web-services, f%23 Problem: Cannot access a disposed object in a function returns List? I have the following function to list all the objects in an S3 fol...
Cannot access a disposed object in a function returns List? Cannot access a disposed object in a function returns List? amazon-s3 amazon-web-services f%23 AmazonS3Exception Log.Error Cannot List AmazonS3Client RegionEndpoint.USEast2 ListObjectsV2Request BucketName MaxKeys Prefix client.ListObjectsV2Async Async.AwaitTas...
[ -0.004241943359375, 0.036865234375, 0.0020751953125, -0.00897216796875, 0.01806640625, -0.01361083984375, -0.0072021484375, 0.00628662109375, 0.004669189453125, -0.00042724609375, 0.012939453125, 0.0098876953125, 0.0179443359375, -0.0179443359375, 0.036865234375, -0.0106201171875, 0....
[ 4171, 10869, 17203, 60458, 71, 36746, 23, 32354, 30646, 7, 32036, 10, 2527, 5870, 363, 14051, 22584, 3742, 15075, 294, 19279, 63928, 13146, 18468, 150, 16843, 38496, 78441, 4438, 304, 75161, 856, 75616, 27853, 9920, 162429, 55923, 23282, 15...
[ 0.03631591796875, 0.1571044921875, 0.259033203125, 0.260498046875, 0.149169921875, 0.228271484375, 0.050537109375, 0.200439453125, 0.21630859375, 0.0787353515625, 0.2109375, 0.02716064453125, 0.03466796875, 0.114501953125, 0.19287109375, 0.0271148681640625, 0.10601806640625, 0.0587...
embed
12051288_c0
12051288
fsharp
0
Title: F# can&#x27;t see abstract property of C# serializable abstract class Problem title: F# can&#x27;t see abstract property of C# serializable abstract class Tags: f%23, c%23, abstraction, abstract Problem: F# can't see abstract property of C# serializable abstract class Here is my serializable abstract class names...
F# can&#x27;t see abstract property of C# serializable abstract class F# can&#x27;t see abstract property of C# serializable abstract class f%23 c%23 abstraction abstract NEN_FS Serializable NFS IEquatable Path Equals Path.Equals other.Path GetHashCode Path.GetHashCode base.GetHashCode F# can't see abstract property of...
[ 0.0311279296875, 0.01025390625, 0.015869140625, -0.033935546875, 0.0032196044921875, -0.00020885467529296875, -0.0164794921875, 0.0052490234375, -0.01068115234375, 0.00201416015625, 0.0184326171875, 0.017333984375, -0.017822265625, 0.02197265625, -0.021484375, -0.0029449462890625, -0...
[ 563, 4904, 831, 3768, 1957, 164789, 57266, 313, 35686, 1418, 2886, 18507, 18, 1238, 3742, 126315, 36381, 135188, 75536, 90065, 108421, 71723, 3789, 683, 10519, 20779, 6495, 1495, 114211, 126, 3647, 765, 2633, 11435, 2203, 102158, 2389, 2685, ...
[ 0.119384765625, 0.2127685546875, 0.039337158203125, 0.05645751953125, 0.16796875, 0.2403564453125, 0.229248046875, 0.03619384765625, 0.1451416015625, 0.0430908203125, 0.077880859375, 0.1722412109375, 0.0394287109375, 0.03515625, 0.060455322265625, 0.1123046875, 0.1414794921875, 0.1...
embed
59180192_c0
59180192
fsharp
0
Title: Getting generic parameter type name in F# Problem title: Getting generic parameter type name in F# Tags: asp.net-core, f%23 Problem: Getting generic parameter type name in F# I have such classes: type IInterface = {} type BaseClass<'Data, 'TMeta> = { Data : 'Data Meta : 'TMeta } interface IInterface with ... typ...
Getting generic parameter type name in F# Getting generic parameter type name in F# asp.net-core f%23 Getting IInterface BaseClass Data TMeta Meta Record Value MyType Extensio Register services.AddSingleton Configuration services.Register GetGenericArguments System.Runtime asp.net-core Getting generic parameter type na...
[ -0.0177001953125, 0.01239013671875, 0.00115966796875, 0.0033111572265625, -0.01055908203125, -0.0118408203125, -0.01300048828125, 0.0220947265625, -0.0037384033203125, -0.032958984375, 0.0003719329833984375, -0.017333984375, -0.0130615234375, -0.010986328125, 0.0036773681640625, -0.004...
[ 210732, 189534, 171859, 10644, 9351, 23, 563, 4904, 237, 254, 1179, 30854, 1238, 3742, 87, 44851, 40404, 44978, 140803, 11809, 4241, 36939, 54877, 190060, 2646, 196707, 41745, 31, 131423, 11374, 284, 213039, 1507, 59994, 54601, 20779, 135932, ...
[ 0.1011962890625, 0.25732421875, 0.232177734375, 0.2003173828125, 0.1593017578125, 0.06890869140625, 0.1573486328125, 0.222412109375, 0.04302978515625, 0.09326171875, 0.07891845703125, 0.1253662109375, 0.0609130859375, 0.0811767578125, 0.049285888671875, 0.0789794921875, 0.04296875, ...
embed
69638975_c0
69638975
fsharp
0
Title: How do I exclude all nuget sub-packages from output in a vsproject Problem title: How do I exclude all nuget sub-packages from output in a vsproject Tags: visual-studio, f%23 Problem: How do I exclude all nuget sub-packages from output in a vsproject I am building a plugin that should depend on its loader's syst...
How do I exclude all nuget sub-packages from output in a vsproject How do I exclude all nuget sub-packages from output in a vsproject visual-studio f%23 output How ItemGroup PackageReference Include FSFramework Version preview-1 ExcludeAssets Veldrid Veldrid.StartupUtilities How do I exclude all nuget sub-packages from...
[ -0.006561279296875, 0.007598876953125, -0.00543212890625, -0.017578125, -0.0216064453125, 0.01263427734375, -0.009521484375, -0.00537109375, 0.0023651123046875, 0.0198974609375, 0.00823974609375, 0.01104736328125, 0.01904296875, 0.035400390625, -0.00885009765625, -0.000560760498046875,...
[ 11249, 39041, 112, 756, 315, 3794, 1614, 29102, 52467, 1295, 140992, 20209, 95322, 21176, 52629, 1238, 3742, 78426, 205072, 56607, 69988, 8942, 822, 93774, 108386, 282, 18244, 40647, 479, 22751, 110823, 53975, 9539, 14152, 71, 126597, 24493, ...
[ 0.00079345703125, 0.1700439453125, 0.081298828125, 0.09320068359375, 0.1668701171875, 0.260009765625, 0.2012939453125, 0.1800537109375, 0.032928466796875, 0.06878662109375, 0.1837158203125, 0.1744384765625, 0.1715087890625, 0.1268310546875, 0.1292724609375, 0.0245819091796875, 0.1119...
embed
15374127_c0
15374127
fsharp
0
Title: F# types or System types with ASP.NET MVC? Problem title: F# types or System types with ASP.NET MVC? Tags: asp.net-mvc, f%23 Problem: F# types or System types with ASP.NET MVC? While building a F# ASP.NET MVC 4 app with the C#/F# template from the VisualStudio gallery, a doubt assaulted me. I have the following ...
F# types or System types with ASP.NET MVC? F# types or System types with ASP.NET MVC? asp.net-mvc f%23 System ASP.NET MVC MyApp.Models System.ComponentModel.DataAnnotations System.Collections.Generic Product Key Guid.NewGuid Required Name Iban Categories List ProductCategory asp.net-mvc F# types or System types with AS...
[ -0.0238037109375, 0.0220947265625, -0.010498046875, -0.01251220703125, -0.0018157958984375, -0.004547119140625, -0.0291748046875, 0.0213623046875, -0.01226806640625, -0.0294189453125, 0.00537109375, -0.002197265625, -0.01104736328125, 0.00058746337890625, 0.0031280517578125, 0.01031494...
[ 563, 4904, 52895, 707, 12353, 678, 147153, 17777, 276, 56349, 32, 237, 254, 1179, 39, 66357, 1238, 3949, 3742, 2646, 39179, 140290, 54137, 10869, 78457, 8996, 135932, 73111, 26824, 6955, 22769, 3181, 15757, 87, 761, 106584, 32036, 76775, 30...
[ 0.1484375, 0.214599609375, 0.2353515625, 0.0673828125, 0.194580078125, 0.10693359375, 0.1734619140625, 0.1177978515625, 0.05712890625, 0.2056884765625, 0.007904052734375, 0.044677734375, 0.108642578125, 0.1083984375, 0.02398681640625, 0.1644287109375, 0.072265625, 0.005584716796875...
embed
74659308_c0
74659308
fsharp
0
Title: Concatenating lists with recursion f# Problem title: Concatenating lists with recursion f# Tags: f%23-interactive, f%23 Problem: Concatenating lists with recursion f# I have an exercise that asks me to make a recursive function that uses @ to create a list of [1;2;3..n]. Unfortunately I cannot get this method to...
Concatenating lists with recursion f# Concatenating lists with recursion f# f%23-interactive f%23 Concatenating n:int n-1 Concatenating lists with recursion f# I have an exercise that asks me to make a recursive function that uses @ to create a list of [1;2;3..n]. Unfortunately I cannot get this method to work. I have ...
[ -0.0213623046875, 0.0089111328125, 0.00164031982421875, 0.0034637451171875, -0.00982666015625, 0.01220703125, 0.0205078125, 0.013427734375, -0.0035400390625, -0.03955078125, 0.011962890625, -0.0177001953125, 0.00167083740234375, 0.0194091796875, 0.024169921875, -0.022216796875, 0.011...
[ 1657, 4460, 33, 26518, 5303, 678, 195625, 1830, 1238, 4904, 27495, 10433, 71232, 3742, 653, 4288, 5759, 81979, 5844, 32354, 4527, 1374, 28282, 68252, 74, 304, 363, 5, 19, 53418, 55300, 4488, 20662, 842, 22819, 26866, 10422, 831, 7464, 151...
[ 0.060821533203125, 0.151611328125, 0.1021728515625, 0.031585693359375, 0.206787109375, 0.08380126953125, 0.21484375, 0.043609619140625, 0.08544921875, 0.1602783203125, 0.00543212890625, 0.0277557373046875, 0.03277587890625, 0.06939697265625, 0.0164337158203125, 0.1181640625, 0.086608...
embed
29705365_c0
29705365
fsharp
0
Title: Quartz.NET and F# - SystemTime and KeyMatcher Problem title: Quartz.NET and F# - SystemTime and KeyMatcher Tags: c%23-to-f%23, f%23, quartz.net-2.0, quartz.net Problem: Quartz.NET and F# - SystemTime and KeyMatcher I am trying to work with Quartz.NET in F# and have run into a few issues with the fact that, while...
Quartz.NET and F# - SystemTime and KeyMatcher Quartz.NET and F# - SystemTime and KeyMatcher c%23-to-f%23 f%23 quartz.net-2.0 quartz.net Quartz.NET SystemTime KeyMatcher SystemTime.Now DateTime SystemTime.UtcNow quartz.net-2.0 Quartz.NET and F# - SystemTime and KeyMatcher I am trying to work with Quartz.NET in F# and ha...
[ 0.004791259765625, 0.005035400390625, 0.007171630859375, -0.039794921875, -0.00927734375, -0.04296875, -0.0023956298828125, 0.0118408203125, -0.01025390625, -0.0093994140625, 0.0057373046875, 0.052734375, 0.002197265625, -0.01513671875, 0.00994873046875, -0.0135498046875, -0.01007080...
[ 48772, 169, 17777, 136, 563, 4904, 12353, 70059, 26824, 79520, 5372, 27495, 188, 420, 3742, 70801, 1179, 73011, 137594, 25512, 106742, 31577, 4488, 10846, 37348, 1821, 2886, 23, 5045, 209806, 34844, 60212, 7413, 31089, 11675, 53550, 997, 1342...
[ 0.2423095703125, 0.16455078125, 0.2071533203125, 0.0523681640625, 0.1092529296875, 0.1859130859375, 0.1456298828125, 0.22900390625, 0.0909423828125, 0.1400146484375, 0.05029296875, 0.024932861328125, 0.0721435546875, 0.00238037109375, 0.061279296875, 0.182861328125, 0.19921875, 0.1...
embed
4635649_c1
4635649
fsharp
1
I could try to figure out why I'm spawning a secondary thread when I haven't specifically requested it and modify the code to prevent a secondary thread of execution from being spawned. I could try to modify the (?) function to account for multiple threads of execution but I'd really like to understand why I'm getting...
I could try to figure out why I'm spawning a secondary thread when I haven't specifically requested it and modify the code to prevent a secondary thread of execution from being spawned. I could try to modify the (?) function to account for multiple threads of execution but I'd really like to understand why I'm getting...
[ 0.01483154296875, 0.041748046875, -0.011474609375, -0.00506591796875, -0.0023651123046875, 0.004669189453125, 0.01513671875, 0.0013427734375, -0.0020599365234375, -0.0308837890625, 0.0047607421875, -0.0159912109375, -0.007568359375, -0.0164794921875, 0.00061798095703125, 0.028686523437...
[ 5809, 9790, 26366, 1810, 15400, 39, 5623, 434, 592, 37526, 1294, 86997, 3229, 38246, 18, 183037, 50336, 2811, 40383, 18151, 56282, 111, 71924, 1830, 1295, 7710, 297, 70361, 32354, 15426, 48716, 1884, 28219, 20949, 10, 17932, 26859, 51515, 2...
[ 0.0201873779296875, 0.0149993896484375, 0.08642578125, 0.055755615234375, 0.129638671875, 0.04345703125, 0.145263671875, 0.0936279296875, 0.0804443359375, 0.19091796875, 0.12255859375, 0.2568359375, 0.019775390625, 0.05621337890625, 0.05108642578125, 0.051055908203125, 0.121337890625...
embed
4828806_c0
4828806
fsharp
0
Title: Why does this timing function always measure 0ms? Problem title: Why does this timing function always measure 0ms? Tags: f%23 Problem: Why does this timing function always measure 0ms? I am timing some algorithms and came up with the time function below. However, it always returns 0 ms. The questions is why is i...
Why does this timing function always measure 0ms? Why does this timing function always measure 0ms? f%23 Why System.Diagnostics.Stopwatch Start Took timer.ElapsedMilliseconds x-1 x-2 Array.iter Why does this timing function always measure 0ms? I am timing some algorithms and came up with the time function below. Howeve...
[ -0.0081787109375, 0.0196533203125, 0.00830078125, 0.000843048095703125, -0.01300048828125, -0.00592041015625, 0.000850677490234375, 0.01123046875, 0.00543212890625, -0.040283203125, 0.0025787353515625, 0.01275634765625, -0.0106201171875, -0.01129150390625, 0.0224609375, 0.00537109375, ...
[ 44084, 903, 5527, 214, 32354, 11343, 72350, 757, 4432, 14602, 1238, 3742, 12353, 128198, 41637, 156095, 35414, 13794, 717, 685, 21991, 127966, 178449, 191633, 1022, 5759, 5428, 69253, 16840, 234873, 1733, 35064, 30646, 68163, 15400, 83, 3229, ...
[ 0.110595703125, 0.07275390625, 0.2254638671875, 0.10003662109375, 0.1422119140625, 0.1439208984375, 0.2030029296875, 0.1832275390625, 0.207275390625, 0.00531005859375, 0.0469970703125, 0.0972900390625, 0.093994140625, 0.126953125, 0.063720703125, 0.1500244140625, 0.222412109375, 0....
embed
54085600_c0
54085600
fsharp
0
Title: Managing Exceptions with Result in F# Problem title: Managing Exceptions with Result in F# Tags: f%23 Problem: Managing Exceptions with Result in F# I have to do some manipulations on some CSV files which are very poorly formatted (several different tables in one file etc). For this I am using CsvFile.Load and w...
Managing Exceptions with Result in F# Managing Exceptions with Result in F# f%23 Result.Error Managing Exceptions Result Result.Ok Exception Raised e.Message e.Source Managing Exceptions with Result in F# I have to do some manipulations on some CSV files which are very poorly formatted (several different tables in one ...
[ -0.0128173828125, 0.02099609375, -0.00225830078125, 0.003875732421875, 0.01904296875, -0.00640869140625, 0.00677490234375, 0.017578125, -0.003082275390625, -0.0140380859375, -0.007476806640625, 0.010009765625, -0.01611328125, 0.00390625, 0.0147705078125, -0.00084686279296875, 0.01416...
[ 1572, 66398, 218288, 17514, 678, 126684, 563, 4904, 23, 1238, 3949, 3742, 18468, 31611, 73852, 5443, 63928, 9202, 297, 28, 6011, 211235, 45258, 313, 43486, 102158, 4552, 70425, 9384, 115044, 12921, 23180, 1632, 11435, 17368, 67756, 174350, 15...
[ 0.1436767578125, 0.117431640625, 0.253662109375, 0.17724609375, 0.1358642578125, 0.235107421875, 0.1461181640625, 0.2225341796875, 0.001678466796875, 0.052001953125, 0.03411865234375, 0.1361083984375, 0.10595703125, 0.05218505859375, 0.1351318359375, 0.14501953125, 0.2392578125, 0....
embed
41105947_c0
41105947
fsharp
0
Title: checking Code Quotation structure during compile time Problem title: checking Code Quotation structure during compile time Tags: f%23, reflection Problem: checking Code Quotation structure during compile time can I define a quotation expression paramter such that not only the resulting type of the expression is ...
checking Code Quotation structure during compile time checking Code Quotation structure during compile time f%23 reflection Quotation Checker Check Expr ResultType Checker.Check a.a PropertyGet a:A checking Code Quotation structure during compile time can I define a quotation expression paramter such that not only the ...
[ -0.00238037109375, 0.0235595703125, 0.004852294921875, -0.00238037109375, -0.01080322265625, -0.0194091796875, 0.0157470703125, -0.0057373046875, 0.00579833984375, -0.029541015625, -0.01806640625, 0.00653076171875, -0.003753662109375, -0.0211181640625, 0.01611328125, 0.00799560546875, ...
[ 175199, 28864, 43851, 22062, 45646, 20271, 9969, 1340, 1733, 3949, 3742, 44961, 38679, 56, 60075, 42, 126684, 196707, 202567, 206984, 724, 126, 10, 831, 61924, 81732, 125195, 121, 720, 16750, 10644, 12765, 11782, 1764, 27781, 25632, 171259, 8...
[ 0.188720703125, 0.18896484375, 0.1719970703125, 0.133056640625, 0.2200927734375, 0.0858154296875, 0.139892578125, 0.1590576171875, 0.1204833984375, 0.010894775390625, 0.08203125, 0.1448974609375, 0.1773681640625, 0.06866455078125, 0.027618408203125, 0.0170745849609375, 0.094299316406...
embed
43729398_c0
43729398
fsharp
0
Title: How do I efficiently find the n smallest elements in a list? Problem title: How do I efficiently find the n smallest elements in a list? Tags: priority-queue, heap, f%23 Problem: How do I efficiently find the n smallest elements in a list? Finding the n smallest elements in a list<float> can be done by sorting t...
How do I efficiently find the n smallest elements in a list? How do I efficiently find the n smallest elements in a list? priority-queue heap f%23 heapq nlargest How Gives How do I efficiently find the n smallest elements in a list? Finding the n smallest elements in a list<float> can be done by sorting the list and se...
[ -0.0037689208984375, -0.0004405975341796875, 0.0079345703125, -0.01055908203125, 0.01226806640625, 0.0240478515625, 0.000667572021484375, -0.03173828125, 0.006591796875, -0.006103515625, 0.014892578125, -0.00872802734375, 0.005889892578125, 0.0067138671875, -0.003143310546875, 0.010253...
[ 11249, 93766, 538, 7413, 70, 653, 19336, 525, 80854, 23, 5303, 25343, 53, 944, 13388, 764, 2631, 1238, 3949, 3742, 864, 320, 177, 77878, 26040, 214, 52347, 16940, 12096, 36849, 1286, 17368, 17305, 6423, 14037, 208124, 563, 4904, 27781, 45...
[ 0.07275390625, 0.23095703125, 0.072509765625, 0.197021484375, 0.087646484375, 0.1925048828125, 0.2301025390625, 0.2322998046875, 0.23828125, 0.059234619140625, 0.2410888671875, 0.1884765625, 0.05474853515625, 0.118408203125, 0.0977783203125, 0.1995849609375, 0.18408203125, 0.057708...
embed
23975877_c0
23975877
fsharp
0
Title: FSharp.Data.SqlClient Type Provider on machine without SQL installed (CI server) Problem title: FSharp.Data.SqlClient Type Provider on machine without SQL installed (CI server) Tags: type-providers, fsharp.data.sqlclient, f%23, continuous-integration, build-server Problem: FSharp.Data.SqlClient Type Provider on ...
FSharp.Data.SqlClient Type Provider on machine without SQL installed (CI server) FSharp.Data.SqlClient Type Provider on machine without SQL installed (CI server) type-providers fsharp.data.sqlclient f%23 continuous-integration build-server FSharp.Data.SqlClient Type Provider SQL FSharp.Data.SqlClient Type Provider on m...
[ 0.01544189453125, 0.0223388671875, -0.002899169921875, 0.007568359375, -0.0191650390625, 0.00043487548828125, 0.002960205078125, -0.01348876953125, -0.016845703125, -0.017578125, 0.0185546875, -0.015869140625, 0.01318359375, 0.007568359375, 0.00872802734375, 0.0048828125, 0.006072998...
[ 93774, 3467, 254, 137989, 99247, 441, 150, 2517, 60457, 123089, 42, 36279, 15490, 80866, 20600, 17304, 10723, 10644, 93136, 1238, 89280, 10135, 222978, 3742, 62005, 100743, 45367, 39642, 17368, 81450, 63134, 4488, 5659, 26455, 13437, 5426, 1564...
[ 0.055908203125, 0.1591796875, 0.1656494140625, 0.081787109375, 0.1058349609375, 0.006683349609375, 0.1556396484375, 0.0816650390625, 0.20654296875, 0.1607666015625, 0.0819091796875, 0.0733642578125, 0.1038818359375, 0.159423828125, 0.07781982421875, 0.07373046875, 0.08209228515625, ...
embed
37615299_c0
37615299
fsharp
0
Title: How to use the base implementation of an overridden abstract member? Problem title: How to use the base implementation of an overridden abstract member? Tags: member, f%23, abstract, overriding Problem: How to use the base implementation of an overridden abstract member? There are an interface (say IA), an imple...
How to use the base implementation of an overridden abstract member? How to use the base implementation of an overridden abstract member? member f%23 abstract overriding How Flag Base this.A Derived base.A Compile Syntax Infinite How to use the base implementation of an overridden abstract member? There are an interfac...
[ 0.0032806396484375, -0.00787353515625, 0.0233154296875, 0.00909423828125, 0.0179443359375, -0.01416015625, 0.003082275390625, 0.0191650390625, 0.013671875, -0.005096435546875, 0.01019287109375, 0.01416015625, 0.00970458984375, 0.0201416015625, 0.01361083984375, -0.0213623046875, -0.0...
[ 11249, 47, 4527, 70, 3647, 208124, 645, 19040, 555, 164789, 32786, 1238, 3949, 3742, 416, 125726, 44978, 903, 1310, 14, 4126, 15612, 1340, 19010, 86531, 134322, 101758, 87, 284, 20347, 16406, 18507, 3444, 3714, 3642, 33022, 54, 221, 18151, ...
[ 0.11376953125, 0.041046142578125, 0.175048828125, 0.01385498046875, 0.26025390625, 0.235107421875, 0.10498046875, 0.15869140625, 0.113525390625, 0.23046875, 0.22265625, 0.052093505859375, 0.029693603515625, 0.1385498046875, 0.16259765625, 0.1832275390625, 0.2333984375, 0.0720214843...
embed
4548680_c0
4548680
fsharp
0
Title: How to zip files in FSharp? Problem title: How to zip files in FSharp? Tags: f%23, zip, .net Problem: How to zip files in FSharp? Cursory Google search didn't return anything simple enough to understand (i'm pretty new to functional programming). if I have an array of files, how can i zip each file and then crea...
How to zip files in FSharp? How to zip files in FSharp? f%23 zip .net How FSharp f.zip Seq.map ZipFile zipfile.AddFile fileObj.Filename zipfile.Save Compliance.zip How to zip files in FSharp? Cursory Google search didn't return anything simple enough to understand (i'm pretty new to functional programming). if I have a...
[ 0.0023651123046875, -0.00096893310546875, -0.0093994140625, 0.01507568359375, -0.01116943359375, 0.0162353515625, -0.0093994140625, 0.001251220703125, -0.00130462646484375, 0.001556396484375, -0.00299072265625, 0.036376953125, -0.00897216796875, 0.03369140625, 0.01202392578125, 0.02038...
[ 11249, 47, 68330, 102158, 23, 93774, 3467, 254, 1238, 3949, 3742, 1179, 50836, 503, 864, 62346, 162150, 174350, 29822, 4028, 11435, 46471, 170, 11627, 5464, 272, 15612, 87587, 58148, 1294, 1815, 33938, 30646, 8781, 28219, 123309, 56037, 2174,...
[ 0.0731201171875, 0.06610107421875, 0.2486572265625, 0.192626953125, 0.0838623046875, 0.1075439453125, 0.19287109375, 0.2181396484375, 0.123779296875, 0.0235443115234375, 0.1650390625, 0.1258544921875, 0.2261962890625, 0.05059814453125, 0.1322021484375, 0.1370849609375, 0.203491210937...
embed
66375933_c0
66375933
fsharp
0
Title: How can I map controller endpoints to actions on F#? Problem title: How can I map controller endpoints to actions on F#? Tags: c%23-to-f%23, f%23 Problem: How can I map controller endpoints to actions on F#? I am probably missing something here as I am new to F#, however, I need the following: open Microsoft.Asp...
How can I map controller endpoints to actions on F#? How can I map controller endpoints to actions on F#? c%23-to-f%23 f%23 How Microsoft.AspNetCore.Mvc ApiController Route MyController ControllerBase HttpGet Name _.Ip localhost:5001 tools.ietf.org rfc7231 section-6.5.1 One How can I map controller endpoints to actions...
[ -0.04150390625, 0.004364013671875, 0.01123046875, -0.00136566162109375, 0.0037384033203125, 0.0026702880859375, 0.002838134765625, 0.0007781982421875, -0.0145263671875, -0.0263671875, -0.00750732421875, 0.0005950927734375, -0.01409912109375, 0.025634765625, 0.0118408203125, 0.005004882...
[ 11249, 831, 87, 22288, 185373, 3564, 38496, 7, 47, 61972, 98, 563, 4904, 501, 167218, 27495, 188, 420, 3742, 1238, 7244, 7008, 24447, 50886, 13, 66357, 5787, 14, 175904, 603, 106015, 2646, 27131, 63473, 3062, 724, 15757, 254, 4000, 40294,...
[ 0.0712890625, 0.0799560546875, 0.047882080078125, 0.2393798828125, 0.30712890625, 0.177978515625, 0.189453125, 0.04229736328125, 0.160400390625, 0.2127685546875, 0.0537109375, 0.1473388671875, 0.2369384765625, 0.012054443359375, 0.00701904296875, 0.08819580078125, 0.16162109375, 0....
embed
36480313_c0
36480313
fsharp
0
Title: Do I have to use an explicit match statement to identify its wildcard value? Problem title: Do I have to use an explicit match statement to identify its wildcard value? Tags: f%23 Problem: Do I have to use an explicit match statement to identify its wildcard value? Do I have to use an explicit match statement to...
Do I have to use an explicit match statement to identify its wildcard value? Do I have to use an explicit match statement to identify its wildcard value? f%23 Positive Neutral Negative Do I have to use an explicit match statement to identify its wildcard value? Do I have to use an explicit match statement to identify i...
[ -0.01519775390625, -0.0115966796875, 0.00360107421875, -0.00077056884765625, -0.0033721923828125, -0.00469970703125, 0.00372314453125, 0.00193023681640625, 0.008056640625, 0.0089111328125, 0.019287109375, 0.000514984130859375, 0.0030975341796875, -0.01055908203125, 0.01446533203125, 0....
[ 984, 87, 765, 4527, 143726, 14858, 63805, 135812, 6863, 56409, 38931, 34292, 47, 1238, 3949, 3742, 156060, 13, 11059, 29088, 221717, 142, 25632, 32354, 212059, 97384, 831, 18499, 16750 ]
[ 0.0229034423828125, 0.0284881591796875, 0.07965087890625, 0.103515625, 0.20068359375, 0.219970703125, 0.2147216796875, 0.167724609375, 0.06304931640625, 0.1551513671875, 0.25439453125, 0.1865234375, 0.02960205078125, 0.06146240234375, 0.04498291015625, 0.141845703125, 0.126708984375,...
embed
38162403_c0
38162403
fsharp
0
Title: Annotations for enums in F# Problem title: Annotations for enums in F# Tags: f%23, enums Problem: Annotations for enums in F# I have an enum in F#: type Gender = Undisclosed = 0 | Male = 1 | Female = 2 The equivalent C# code would be public enum Gender { Undisclosed, Male, Female } In fact, in C#, I can go one s...
Annotations for enums in F# Annotations for enums in F# f%23 enums Annotations Gender Undisclosed Male Female Display ResourceType LocalisedStrings Name GenderUndisclosed GenderMale GenderFemale Annotations for enums in F# I have an enum in F#: The equivalent C# code would be In fact, in C#, I can go one step better. T...
[ 0.00482177734375, -0.004364013671875, -0.0004596710205078125, -0.029296875, 0.007537841796875, 0.0072021484375, 0.00140380859375, 0.01092529296875, -0.0142822265625, -0.0027923583984375, 0.0203857421875, 0.00567626953125, 0.005584716796875, 0.0238037109375, 0.0076904296875, 0.018066406...
[ 48143, 22062, 22, 10321, 563, 4904, 1238, 3949, 3742, 527, 23894, 5533, 164, 155648, 35220, 213342, 90045, 152055, 196707, 24172, 52021, 71713, 15757, 4613, 133, 30154, 49100, 100, 23, 316, 183234, 18151, 831, 1632, 29954, 11522, 4527, 127501...
[ 0.1759033203125, 0.1583251953125, 0.1329345703125, 0.2276611328125, 0.1435546875, 0.208740234375, 0.0926513671875, 0.0172119140625, 0.1336669921875, 0.1275634765625, 0.1943359375, 0.00213623046875, 0.0037841796875, 0.095458984375, 0.1375732421875, 0.1890869140625, 0.13916015625, 0....
embed
27221211_c0
27221211
fsharp
0
Title: When does F# do constant folding? Problem title: When does F# do constant folding? Tags: f%23-3.1, inline, f%23, constantfolding Problem: When does F# do constant folding? I just wrote some inlined maths utility functions and, while testing, noticed that let quat = (3, 0, 0, 3) (quat |||~||| quat) |> ijk |> prin...
When does F# do constant folding? When does F# do constant folding? f%23-3.1 inline f%23 constantfolding When Tuple Release TRACE Unchecked When does F# do constant folding? I just wrote some inlined maths utility functions and, while testing, noticed that is completely folded into printAn (18, 0, 0) while starting wit...
[ 0.0032958984375, -0.01422119140625, 0.0162353515625, -0.00335693359375, 0.0074462890625, -0.0157470703125, -0.004241943359375, -0.0096435546875, 0.006866455078125, 0.00616455078125, -0.0135498046875, -0.01287841796875, -0.0048828125, 0.009033203125, -0.0120849609375, -0.01007080078125,...
[ 14847, 563, 4904, 54, 53697, 18344, 6238, 1238, 27495, 97109, 23, 2256, 3742, 42822, 214, 1371, 8705, 152590, 36230, 10854, 992, 78292, 297, 54397, 48909, 19537, 32354, 134234, 64557, 48141, 3934, 28412, 7251, 7435, 757, 72134, 132265, 420, ...
[ 0.1085205078125, 0.1309814453125, 0.234130859375, 0.073974609375, 0.239013671875, 0.1888427734375, 0.145751953125, 0.1160888671875, 0.06024169921875, 0.13427734375, 0.031463623046875, 0.12451171875, 0.11474609375, 0.206298828125, 0.043365478515625, 0.06414794921875, 0.1627197265625, ...
embed
11812979_c1
11812979
fsharp
1
call let DeleteEmptySubFolders folder files = Directory.EnumerateDirectories folder |> Seq.map (fun p -> DeleteEmptyFolders p files) |> Seq.reduce (accumulator) // Three functions are executed: DeleteEmptySubFolders, DeleteFolder and DeleteFiles // But it has to be done in the correct order: DeleteFolder must be execu...
call let DeleteEmptySubFolders folder files = Directory.EnumerateDirectories folder |> Seq.map (fun p -> DeleteEmptyFolders p files) |> Seq.reduce (accumulator) // Three functions are executed: DeleteEmptySubFolders, DeleteFolder and DeleteFiles // But it has to be done in the correct order: DeleteFolder must be execu...
[ -0.01470947265625, 0.019287109375, -0.00885009765625, 0.033203125, -0.0174560546875, 0.01007080078125, 0.0027008056640625, -0.0126953125, 0.0022125244140625, 0.02490234375, -0.004608154296875, 0.0301513671875, -0.00701904296875, 0.035888671875, 0.0201416015625, 0.004119873046875, -0....
[ 11782, 2633, 262, 46485, 134332, 939, 96472, 27591, 31178, 7, 78303, 102158, 31068, 15537, 17957, 184911, 31, 10484, 503, 864, 62346, 16498, 915, 107, 106357, 224706, 4597, 129335, 32354, 71924, 174350, 16940, 26785, 12989, 8110, 4568, 183278, ...
[ 0.08172607421875, 0.07867431640625, 0.118408203125, 0.2001953125, 0.1572265625, 0.138916015625, 0.206787109375, 0.1314697265625, 0.1800537109375, 0.02337646484375, 0.1500244140625, 0.12744140625, 0.0867919921875, 0.117919921875, 0.09326171875, 0.0623779296875, 0.058685302734375, 0....
embed
38340711_c0
38340711
fsharp
0
Title: F# &quot;exit early&quot; computation expression? Problem title: F# &quot;exit early&quot; computation expression? Tags: f%23, computation-expression Problem: F# "exit early" computation expression? In attempting to learn more about how computation expressions work, I'm attempting to code a builder that skips th...
F# &quot;exit early&quot; computation expression? F# &quot;exit early&quot; computation expression? f%23 computation-expression EarlyExitBuilder this.Combine this.Delay this.Run this.Zero F# "exit early" computation expression? In attempting to learn more about how computation expressions work, I'm attempting to code a...
[ -0.004547119140625, 0.0224609375, 0.0177001953125, 0.00958251953125, -0.00262451171875, 0.0162353515625, 0.019287109375, -0.01287841796875, 0.00689697265625, -0.00250244140625, -0.005706787109375, 0.040283203125, -0.00007724761962890625, 0.01348876953125, 0.0205078125, 0.01422119140625...
[ 563, 4904, 41502, 13, 23399, 39395, 181135, 1363, 125195, 1238, 3949, 3742, 204629, 241, 147, 538, 19279, 217, 121137, 56, 903, 46187, 4657, 5259, 163321, 1511, 4036, 7, 4488, 81887, 18151, 45367, 21658, 47143, 820, 151575, 46389, 2174, 638...
[ 0.130859375, 0.1915283203125, 0.022979736328125, 0.0799560546875, 0.2142333984375, 0.2330322265625, 0.2103271484375, 0.0482177734375, 0.25390625, 0.09619140625, 0.01495361328125, 0.1412353515625, 0.1954345703125, 0.006072998046875, 0.1185302734375, 0.064697265625, 0.1278076171875, ...
embed
15008364_c0
15008364
fsharp
0
Title: F# assuming int when actually dealing with int64 Problem title: F# assuming int when actually dealing with int64 Tags: f%23, type-inference Problem: F# assuming int when actually dealing with int64 Going through Project Euler trying to learn F#, I stumbled upon what appears to be a type inference problem while w...
F# assuming int when actually dealing with int64 F# assuming int when actually dealing with int64 f%23 type-inference int64 FS0001 F# assuming int when actually dealing with int64 Going through Project Euler trying to learn F#, I stumbled upon what appears to be a type inference problem while writing a solution for pro...
[ -0.00921630859375, 0.0133056640625, 0.012451171875, -0.0035858154296875, -0.001556396484375, -0.0191650390625, -0.00982666015625, -0.021240234375, -0.0113525390625, -0.03759765625, 0.0159912109375, -0.0228271484375, -0.00072479248046875, -0.007171630859375, 0.0283203125, 0.008850097656...
[ 563, 4904, 66596, 23, 18, 20653, 184017, 13307, 1238, 3742, 10644, 73, 69988, 93774, 188735, 27331, 5177, 603, 135179, 53498, 2967, 29806, 138, 9969, 34759, 163, 25632, 18499, 41206, 52895, 11814, 7413, 2729, 10566, 525, 145111, 13, 135518, ...
[ 0.1385498046875, 0.19384765625, 0.1826171875, 0.130615234375, 0.1585693359375, 0.078125, 0.08599853515625, 0.242431640625, 0.0745849609375, 0.1031494140625, 0.1859130859375, 0.0233001708984375, 0.1260986328125, 0.0830078125, 0.1700439453125, 0.053466796875, 0.10552978515625, 0.1295...
embed
66195308_c0
66195308
fsharp
0
Title: implementing an equivalent of the C#&#x27;s null test in F# Problem title: implementing an equivalent of the C#&#x27;s null test in F# Tags: f%23 Problem: implementing an equivalent of the C#'s null test in F# I'm using quite a lot this piece of code: let inline (||>) (a: 'a option) (b: 'a -> unit) = if a.IsSome...
implementing an equivalent of the C#&#x27;s null test in F# implementing an equivalent of the C#&#x27;s null test in F# f%23 a.IsSome a.Value DoSomethingWithIt myData.IsSome myData.Value.DoSomethingWithIt implementing an equivalent of the C#'s null test in F# I'm using quite a lot this piece of code: so I can do things...
[ 0.00811767578125, 0.011474609375, 0.01904296875, -0.005096435546875, -0.00994873046875, -0.0272216796875, 0.01458740234375, -0.0301513671875, -0.006378173828125, -0.01348876953125, 0.00238037109375, 0.02392578125, -0.007568359375, -0.01141357421875, -0.001007080078125, -0.007568359375,...
[ 29479, 214, 183234, 4904, 3768, 56574, 3034, 23, 563, 1238, 3742, 10, 29598, 8912, 282, 856, 50770, 984, 64113, 194583, 23389, 759, 137989, 8331, 313, 7, 17368, 32233, 5915, 18151, 54, 15490, 19441, 2174, 83, 31384, 707, 438, 5941, 32354,...
[ 0.1707763671875, 0.035247802734375, 0.1563720703125, 0.215087890625, 0.08447265625, 0.185791015625, 0.2091064453125, 0.0802001953125, 0.1436767578125, 0.0654296875, 0.10009765625, 0.0906982421875, 0.130859375, 0.0406494140625, 0.04534912109375, 0.1070556640625, 0.129150390625, 0.09...
embed
42824666_c0
42824666
fsharp
0
Title: How can I get rid of an Intellisense pop-up? Problem title: How can I get rid of an Intellisense pop-up? Tags: f%23, visual-studio, intellisense Problem: How can I get rid of an Intellisense pop-up? I am using Visual Studio 2017 . It has nice pop-ups that display info on types and objects. But sometimes the info...
How can I get rid of an Intellisense pop-up? How can I get rid of an Intellisense pop-up? f%23 visual-studio intellisense How Intellisense Visual Studio Deedle Frame Esc Tools Options Text Editor All Languages Auto Parameter General How can I get rid of an Intellisense pop-up? I am using Visual Studio 2017 . It has nic...
[ 0.012451171875, 0.0157470703125, 0.001678466796875, -0.0074462890625, -0.026611328125, 0.0025634765625, -0.002197265625, 0.007354736328125, -0.023681640625, -0.002899169921875, 0.004608154296875, -0.0003986358642578125, -0.0223388671875, -0.00122833251953125, 0.01141357421875, 0.004333...
[ 11249, 831, 87, 2046, 31351, 111, 30131, 27077, 184, 7426, 9, 2037, 142, 1238, 3742, 21176, 52629, 892, 73372, 22968, 262, 297, 133, 42557, 13, 139272, 119296, 152448, 24129, 69340, 3164, 83658, 4396, 29089, 9082, 17368, 505, 26267, 74854, ...
[ 0.06768798828125, 0.079345703125, 0.03448486328125, 0.1434326171875, 0.2354736328125, 0.1451416015625, 0.1920166015625, 0.2607421875, 0.221923828125, 0.23779296875, 0.1370849609375, 0.230224609375, 0.059417724609375, 0.00457763671875, 0.039398193359375, 0.17236328125, 0.172607421875,...
embed
12443361_c1
12443361
fsharp
1
simple OCaml values such as int, bool, string. The format module has commands like print_string , but also some commands to say put the next line in a bounded box, think new set of left and right margins. So one could write: print_string "Hello" or open_box 0; print_string "<<"; open_box 0; print_string "p \/ q ==> r"...
simple OCaml values such as int, bool, string. The format module has commands like print_string , but also some commands to say put the next line in a bounded box, think new set of left and right margins. So one could write: print_string "Hello" or open_box 0; print_string "<<"; open_box 0; print_string "p \/ q ==> r"...
[ 0.003662109375, -0.005615234375, -0.005340576171875, 0.034912109375, -0.005462646484375, -0.0037689208984375, 0.007537841796875, -0.0205078125, -0.000583648681640625, 0.03515625, -0.000732421875, 0.00958251953125, -0.0084228515625, -0.0186767578125, 0.0015869140625, -0.016357421875, ...
[ 8781, 180, 105272, 141, 142424, 6044, 237, 23, 18, 142484, 79315, 581, 9384, 88996, 1556, 75101, 1884, 28412, 91693, 11737, 13315, 876, 167457, 16530, 5351, 5423, 25737, 7108, 92142, 5809, 33022, 841, 13817, 707, 9803, 11728, 757, 16093, 25...
[ 0.159912109375, 0.1494140625, 0.24072265625, 0.216796875, 0.1961669921875, 0.00201416015625, 0.004150390625, 0.0086669921875, 0.04010009765625, 0.1202392578125, 0.15283203125, 0.004547119140625, 0.272705078125, 0.234375, 0.045989990234375, 0.2452392578125, 0.0260467529296875, 0.183...
embed
75700670_c0
75700670
fsharp
0
Title: How to merge all CSV files in a directory to a single CSV file Problem title: How to merge all CSV files in a directory to a single CSV file Tags: f%23 Problem: How to merge all CSV files in a directory to a single CSV file I'm trying to merge all CSV files in a directory to a single CSV file. When I ran the cod...
How to merge all CSV files in a directory to a single CSV file How to merge all CSV files in a directory to a single CSV file f%23 f How CSV System.IO Users Desktop Name Directory.GetFiles SearchOption.TopDirectoryOnly File.Create mergedCsvFile.csv Array.map File.OpenRead CopyTo How to merge all CSV files in a director...
[ -0.0036163330078125, -0.003631591796875, -0.0040283203125, 0.0264892578125, 0.0089111328125, 0.00946044921875, -0.0196533203125, -0.0068359375, 0.00130462646484375, -0.009521484375, -0.01409912109375, 0.010009765625, 0.0181884765625, 0.0262451171875, 0.01287841796875, -0.0040283203125,...
[ 11249, 47, 42564, 756, 313, 43486, 102158, 23, 14364, 53, 11001, 11435, 10, 3742, 12353, 17780, 53400, 141423, 15757, 31068, 126, 174350, 33086, 39029, 77888, 184911, 20320, 42724, 63784, 441, 67756, 4439, 334, 69253, 62346, 103264, 31345, 14...
[ 0.0863037109375, 0.09979248046875, 0.25537109375, 0.1981201171875, 0.1444091796875, 0.316650390625, 0.20458984375, 0.064453125, 0.1171875, 0.052215576171875, 0.2081298828125, 0.201171875, 0.001800537109375, 0.0297088623046875, 0.1011962890625, 0.1773681640625, 0.1600341796875, 0.22...
embed
12451631_c1
12451631
fsharp
1
Or am I totally misunderstanding those numbers (I could not find a description in the documentation)? UPDATE As pointed out in the comments I totally misunderstood the numbers: they are the number of garbage collections executed for each generation, not the number of objects. Having said that I am even more puzzled: i...
Or am I totally misunderstanding those numbers (I could not find a description in the documentation)? UPDATE As pointed out in the comments I totally misunderstood the numbers: they are the number of garbage collections executed for each generation, not the number of objects. Having said that I am even more puzzled: i...
[ 0.00634765625, 0.004364013671875, -0.0123291015625, -0.006622314453125, -0.00860595703125, -0.002593994140625, -0.0145263671875, 0.0021209716796875, 0.010498046875, -0.030029296875, -0.01446533203125, 0.01324462890625, 0.01104736328125, 0.0103759765625, 0.006988525390625, -0.0163574218...
[ 3347, 444, 112668, 24658, 144057, 8382, 101935, 76811, 209806, 16, 161521, 24626, 1239, 271, 26995, 70, 12, 1836, 621, 14012, 3671, 402, 429, 42486, 71924, 297, 100, 12638, 58093, 959, 36746, 1286, 104192, 37202, 38415, 3884, 98323, 6044, 1...
[ 0.01171875, 0.003997802734375, 0.045135498046875, 0.0897216796875, 0.0294189453125, 0.07452392578125, 0.25927734375, 0.0775146484375, 0.1197509765625, 0.046478271484375, 0.0098876953125, 0.002777099609375, 0.030181884765625, 0.05712890625, 0.01605224609375, 0.015289306640625, 0.02624...
embed
28026005_c0
28026005
fsharp
0
Title: Mocking a class with an explicitly implemented interface using Foq Problem title: Mocking a class with an explicitly implemented interface using Foq Tags: entity-framework, c%23, f%23, mocking, foq Problem: Mocking a class with an explicitly implemented interface using Foq let mockPatSet = Mock<DbSet<Patient>>.W...
Mocking a class with an explicitly implemented interface using Foq Mocking a class with an explicitly implemented interface using Foq entity-framework c%23 f%23 mocking foq Foq Mocking DbSet Patient Guid AsQueryable Mock Provider x.Provider patients.Provider IQueryable DbQuery Blog mockSet.As Setup m.Provider Returns d...
[ 0.004974365234375, -0.005950927734375, 0.00384521484375, 0.00170135498046875, -0.002288818359375, 0.006561279296875, 0.0030975341796875, 0.00077056884765625, 0.0203857421875, -0.03125, 0.0033721923828125, 0.0205078125, -0.018798828125, -0.008544921875, -0.017822265625, -0.015625, -0....
[ 2501, 41324, 18507, 678, 143726, 29479, 101758, 17368, 9572, 864, 77630, 939, 160328, 18244, 3742, 931, 5775, 391, 275, 294, 126, 135004, 6955, 1301, 41732, 1294, 2886, 2594, 123089, 1022, 177997, 60264, 87, 5061, 8698, 92, 19943, 173340, 2...
[ 0.2056884765625, 0.1561279296875, 0.20361328125, 0.04217529296875, 0.1640625, 0.1624755859375, 0.1949462890625, 0.06414794921875, 0.17138671875, 0.1822509765625, 0.100341796875, 0.029327392578125, 0.1180419921875, 0.0916748046875, 0.052978515625, 0.163818359375, 0.043670654296875, ...
embed
46831255_c1
46831255
fsharp
1
Effect = function | GetStr k -> let s = System.Console.ReadLine() (k s , String.length s) | PutStr(s,t) -> do System.Console.WriteLine s (t , 0) let rec interpret (f: Free<string * int>) = Free.runFree f (fun (str,len) -> (str,len)) (fun (a: Effect<Free<string*int>>) -> let (b,n) = interpretEffect a let (c,n') = interp...
Effect = function | GetStr k -> let s = System.Console.ReadLine() (k s , String.length s) | PutStr(s,t) -> do System.Console.WriteLine s (t , 0) let rec interpret (f: Free<string * int>) = Free.runFree f (fun (str,len) -> (str,len)) (fun (a: Effect<Free<string*int>>) -> let (b,n) = interpretEffect a let (c,n') = interp...
[ 0.0027923583984375, -0.011474609375, -0.006622314453125, 0.0191650390625, -0.00848388671875, 0.00994873046875, -0.00168609619140625, 0.023681640625, 0.006439208984375, -0.01116943359375, 0.004547119140625, -0.0045166015625, -0.0228271484375, 0.0019989013671875, -0.01318359375, 0.000408...
[ 129297, 2203, 32354, 20779, 71713, 472, 2633, 91, 12353, 40777, 31345, 93232, 92, 23351, 19577, 18, 757, 21954, 29481, 420, 5153, 91693, 661, 23, 16428, 81437, 1238, 16498, 9297, 1977, 1639, 4288, 17928, 876, 997, 10644, 18499, 50960, 10750...
[ 0.324951171875, 0.0209503173828125, 0.184326171875, 0.0784912109375, 0.2054443359375, 0.070556640625, 0.15576171875, 0.06109619140625, 0.062347412109375, 0.086181640625, 0.1256103515625, 0.137451171875, 0.01123046875, 0.1226806640625, 0.0574951171875, 0.07586669921875, 0.013214111328...
embed
52542329_c0
52542329
fsharp
0
Title: F#: Type mismatch error when trying to return my result from a function Problem title: F#: Type mismatch error when trying to return my result from a function Tags: f%23, type-mismatch Problem: F#: Type mismatch error when trying to return my result from a function So I have this function that calculates the fre...
F#: Type mismatch error when trying to return my result from a function F#: Type mismatch error when trying to return my result from a function f%23 type-mismatch a Type str:string System.Console.WriteLine F#: Type mismatch error when trying to return my result from a function So I have this function that calculates th...
[ 0.01513671875, -0.00933837890625, -0.00628662109375, 0.006988525390625, 0.009765625, -0.00555419921875, 0.01904296875, -0.02587890625, 0.0004634857177734375, 0.006561279296875, 0.01068115234375, -0.006134033203125, 0.00848388671875, -0.006500244140625, 0.006561279296875, -0.00625610351...
[ 563, 4904, 12, 60457, 1239, 98753, 18499, 3229, 31577, 30646, 759, 16750, 1295, 32354, 1238, 3949, 3742, 10644, 2179, 7704, 91693, 12353, 40777, 18781, 93232, 47, 903, 74481, 12478, 27771, 169209, 12638, 31330, 34475, 79315, 35839, 12176, 944...
[ 0.12451171875, 0.197998046875, 0.027984619140625, 0.261962890625, 0.1529541015625, 0.2890625, 0.1826171875, 0.04107666015625, 0.1324462890625, 0.1875, 0.06439208984375, 0.1676025390625, 0.0860595703125, 0.1634521484375, 0.1053466796875, 0.07196044921875, 0.159912109375, 0.197021484...
embed
39965684_c0
39965684
fsharp
0
Title: How to define custom operator in computational expression Problem title: How to define custom operator in computational expression Tags: custom-operator, monads, f%23 Problem: How to define custom operator in computational expression I want to define some custom operators on my computation expression, but can't ...
How to define custom operator in computational expression How to define custom operator in computational expression custom-operator monads f%23 How ZipSeq CustomOperation this.Apply Seq.zip Seq.map this.Return Seq.initInfinite this.Map zipSeq.Map How to define custom operator in computational expression I want to defin...
[ 0.006378173828125, 0.01287841796875, 0.023681640625, 0.040771484375, 0.00159454345703125, -0.0091552734375, -0.000934600830078125, 0.01361083984375, 0.00017261505126953125, -0.025634765625, -0.00616455078125, 0.00726318359375, 0.005584716796875, 0.00836181640625, 0.0174560546875, 0.008...
[ 11249, 47, 61924, 114122, 39933, 23, 181135, 43315, 125195, 206469, 2667, 712, 7, 1238, 3949, 3742, 162150, 4233, 864, 130664, 156823, 1363, 903, 39179, 503, 50836, 62346, 987, 217, 48310, 67, 166179, 68330, 3444, 98, 1284, 4488, 151134, 32...
[ 0.052825927734375, 0.05450439453125, 0.2171630859375, 0.263671875, 0.30859375, 0.05670166015625, 0.148681640625, 0.080810546875, 0.202392578125, 0.277587890625, 0.122802734375, 0.1490478515625, 0.1019287109375, 0.0963134765625, 0.044036865234375, 0.148681640625, 0.1434326171875, 0....
embed
35798661_c0
35798661
fsharp
0
Title: F# Canopy Select or Dropdown with Option Group Problem title: F# Canopy Select or Dropdown with Option Group Tags: canopy-web-testing, f%23, web-testing Problem: F# Canopy Select or Dropdown with Option Group How do you select an option or set the value in a select list that has option groups? This method does n...
F# Canopy Select or Dropdown with Option Group F# Canopy Select or Dropdown with Option Group canopy-web-testing f%23 web-testing Canopy Select Dropdown Option Group DOCTYPE Swedish Cars Volvo Saab German Mercedes Audi Helpers OptGroup Tests Testing testpage.html F# Canopy Select or Dropdown with Option Group How do yo...
[ 0.0069580078125, -0.004150390625, -0.01519775390625, 0.0003070831298828125, -0.0162353515625, -0.023193359375, -0.0166015625, -0.007598876953125, 0.0034332275390625, 0.015869140625, -0.005401611328125, 0.014892578125, -0.001800537109375, -0.0034027099609375, -0.000926971435546875, 0.01...
[ 563, 4904, 4171, 2146, 53, 51620, 707, 130403, 34695, 678, 86769, 10760, 831, 14051, 6954, 1238, 3742, 1467, 120959, 27143, 187951, 3980, 61513, 166303, 30839, 24490, 21679, 39527, 1314, 2331, 205072, 8647, 3034, 22469, 7693, 36849, 35829, 54...
[ 0.1151123046875, 0.176025390625, 0.11376953125, 0.172119140625, 0.13671875, 0.21923828125, 0.068359375, 0.1505126953125, 0.1767578125, 0.0777587890625, 0.1932373046875, 0.187255859375, 0.06072998046875, 0.0287933349609375, 0.11279296875, 0.043060302734375, 0.0201873779296875, 0.047...
embed
42119524_c1
42119524
fsharp
1
Intuition tells me it's blocking when trying to return to the previous sync context, but I'm not sure how to confirm this. I'm looking for ideas on how to troubleshoot this, or perhaps someone with a deeper understanding here can spot the issue. POSSIBLE SOLUTION let! result = Async.FromContinuations(fun (cont, econt,...
Intuition tells me it's blocking when trying to return to the previous sync context, but I'm not sure how to confirm this. I'm looking for ideas on how to troubleshoot this, or perhaps someone with a deeper understanding here can spot the issue. POSSIBLE SOLUTION let! result = Async.FromContinuations(fun (cont, econt,...
[ -0.0126953125, 0.04443359375, 0.0079345703125, -0.020263671875, -0.011474609375, -0.018310546875, 0.0036773681640625, -0.0118408203125, 0.00860595703125, -0.0218505859375, -0.02685546875, 0.0184326171875, -0.0133056640625, 0.002899169921875, 0.00102996826171875, 0.0162353515625, 0.01...
[ 360, 18425, 1363, 14192, 163, 442, 46389, 214, 3229, 31577, 47, 30646, 96362, 6002, 238, 43701, 9077, 39563, 25647, 63134, 105727, 100094, 13162, 31089, 54602, 9902, 159, 93478, 2633, 38, 16750, 12654, 168407, 100761, 21094, 16498, 2271, 4934...
[ 0.0794677734375, 0.270263671875, 0.1129150390625, 0.03826904296875, 0.010406494140625, 0.008544921875, 0.265869140625, 0.1580810546875, 0.0101318359375, 0.1192626953125, 0.105224609375, 0.2208251953125, 0.10382080078125, 0.23486328125, 0.1251220703125, 0.2420654296875, 0.034606933593...
embed
9421429_c0
9421429
fsharp
0
Title: how to time an arbitrary function in f# Problem title: how to time an arbitrary function in f# Tags: lambda, f%23, function Problem: how to time an arbitrary function in f# here's the problem. I need to time a function in f# using another function. I have this piece of code let time f a = let start = System.Date...
how to time an arbitrary function in f# how to time an arbitrary function in f# lambda f%23 function System.DateTime.Now how to time an arbitrary function in f# here's the problem. I need to time a function in f# using another function. I have this piece of code which I'm trying to call saying I have a function ackerma...
[ -0.0179443359375, -0.00064849853515625, -0.0002231597900390625, -0.0035400390625, 0.013916015625, -0.01287841796875, 0.002685546875, -0.0018157958984375, -0.0245361328125, -0.07763671875, 0.0225830078125, 0.02783203125, -0.02099609375, -0.00174713134765625, 0.005615234375, -0.013854980...
[ 3642, 47, 1733, 142, 61799, 1294, 32354, 23, 1238, 4904, 6492, 85, 3742, 12353, 86291, 70059, 2967, 3871, 17368, 15700, 18151, 11782, 10, 11050, 5761, 51776, 370, 8705, 7, 4, 19, 237, 10750, 20531, 44691, 29806, 157666, 18499, 6138, 3035,...
[ 0.0809326171875, 0.0933837890625, 0.247314453125, 0.0176239013671875, 0.1878662109375, 0.1180419921875, 0.2236328125, 0.0806884765625, 0.134033203125, 0.2098388671875, 0.117431640625, 0.07464599609375, 0.1405029296875, 0.0994873046875, 0.095458984375, 0.1943359375, 0.0196380615234375...
embed
39006587_c1
39006587
fsharp
1
f s | Error e -> Error e let rF a = if a > 0 then Success a else Error "less than 0" let rG a = if a < 10 then Success a else Error "greater than 9" let rFG = rF >=> rG // val rFG : (int -> Result<int,string>) // So it works as expected for Result // Example with Nullable type Nullable<'T when 'T: (new : unit -> 'T) a...
f s | Error e -> Error e let rF a = if a > 0 then Success a else Error "less than 0" let rG a = if a < 10 then Success a else Error "greater than 9" let rFG = rF >=> rG // val rFG : (int -> Result<int,string>) // So it works as expected for Result // Example with Nullable type Nullable<'T when 'T: (new : unit -> 'T) a...
[ -0.01361083984375, 0.00616455078125, 0.03125, -0.0098876953125, 0.0028533935546875, 0.0013580322265625, -0.005401611328125, -0.0086669921875, 0.004119873046875, 0.0198974609375, -0.0027923583984375, -0.005157470703125, -0.014892578125, 0.0233154296875, 0.001617431640625, 0.003540039062...
[ 1238, 91, 58745, 212059, 28, 33079, 2633, 919, 10, 2174, 977, 757, 144053, 37076, 9393, 724, 209, 483, 123254, 3502, 1690, 4288, 126684, 91693, 442, 43240, 237, 84751, 100, 89536, 27786, 2661, 10644, 618, 54936, 25072, 36716, 136, 190060, ...
[ 0.1695556640625, 0.1380615234375, 0.010162353515625, 0.22265625, 0.1600341796875, 0.03076171875, 0.06695556640625, 0.10791015625, 0.077880859375, 0.03741455078125, 0.0293426513671875, 0.14208984375, 0.22119140625, 0.027923583984375, 0.05828857421875, 0.06097412109375, 0.1190185546875...
embed
21862335_c0
21862335
fsharp
0
Title: F# operator overloading for conversion of multiple different units of measure Problem title: F# operator overloading for conversion of multiple different units of measure Tags: units-of-measurement, f%23, f%23-3.0 Problem: F# operator overloading for conversion of multiple different units of measure I want to be...
F# operator overloading for conversion of multiple different units of measure F# operator overloading for conversion of multiple different units of measure units-of-measurement f%23 f%23-3.0 Measure seconds_per_minute minutes_per_hour minutes_to_seconds hours_to_minutes F# operator overloading for conversion of multipl...
[ -0.005828857421875, 0.01953125, 0.01507568359375, 0.00341796875, -0.0098876953125, -0.03271484375, -0.029296875, 0.007354736328125, 0.021728515625, -0.00836181640625, -0.0284423828125, -0.0167236328125, 0.032470703125, 0.0020294189453125, 0.000606536865234375, 0.003631591796875, -0.0...
[ 563, 4904, 39933, 645, 63033, 142477, 48716, 12921, 25072, 72350, 4390, 37440, 56851, 1238, 3742, 27495, 132265, 1215, 11, 94131, 1264, 67403, 14633, 497, 454, 188, 191633, 21974, 3444, 19048, 54, 903, 52895, 136, 32354, 198343, 12824, 5608, ...
[ 0.158935546875, 0.23974609375, 0.1727294921875, 0.106201171875, 0.1888427734375, 0.1473388671875, 0.1182861328125, 0.0972900390625, 0.1414794921875, 0.1824951171875, 0.021697998046875, 0.04583740234375, 0.046630859375, 0.075439453125, 0.023590087890625, 0.0187835693359375, 0.09729003...
embed
23505763_c0
23505763
fsharp
0
Title: querying a database from F# interactive Problem title: querying a database from F# interactive Tags: f%23, f%23-interactive Problem: querying a database from F# interactive Is this possible? I've tried but I am getting errors. I have a solution with a F# project that I have applied the Send Project Output to F# ...
querying a database from F# interactive querying a database from F# interactive f%23 f%23-interactive F# querying a database from F# interactive Is this possible? I've tried but I am getting errors. I have a solution with a F# project that I have applied the Send Project Output to F# Interactive option. For added info,...
[ 0.00640869140625, 0.02392578125, 0.000759124755859375, 0.0072021484375, -0.005157470703125, 0.0023193359375, -0.006256103515625, -0.016357421875, -0.00537109375, -0.0257568359375, -0.01336669921875, 0.01177978515625, 0.002532958984375, -0.0130615234375, 0.01422119140625, -0.01043701171...
[ 41, 1294, 214, 63399, 1295, 563, 4904, 212398, 10, 1238, 3949, 3742, 27495, 10433, 71232, 2071, 903, 7722, 37842, 18499, 29806, 13452, 190659, 24044, 27331, 13538, 7077, 47, 5337, 35829, 83, 959, 73882, 73432, 30388, 210716, 30957, 32354, 1...
[ 0.1304931640625, 0.154052734375, 0.05023193359375, 0.2276611328125, 0.1536865234375, 0.15283203125, 0.2235107421875, 0.252685546875, 0.0186767578125, 0.0611572265625, 0.0048828125, 0.0733642578125, 0.059814453125, 0.1365966796875, 0.1578369140625, 0.031280517578125, 0.09185791015625,...
embed
55980939_c0
55980939
fsharp
0
Title: Pattern Matching with float (Double type) in F# Problem title: Pattern Matching with float (Double type) in F# Tags: pattern-matching, floating-point, f%23, double Problem: Pattern Matching with float (Double type) in F# Can anyone explain why F# doesn't seem to like floats (type Double) in pattern maching expre...
Pattern Matching with float (Double type) in F# Pattern Matching with float (Double type) in F# pattern-matching floating-point f%23 double Pattern Matching Double Result Homie Wow Pattern Matching with float (Double type) in F# Can anyone explain why F# doesn't seem to like floats (type Double) in pattern maching expr...
[ -0.01165771484375, 0.0011749267578125, 0.00994873046875, -0.027099609375, 0.005767822265625, -0.01287841796875, -0.00714111328125, -0.00244140625, -0.001953125, 0.0341796875, 0.0103759765625, 0.011962890625, 0.00023651123046875, -0.01422119140625, 0.0159912109375, -0.004974365234375, ...
[ 9876, 22766, 67407, 214, 678, 21917, 257, 8331, 34, 2661, 10644, 563, 4904, 103510, 98753, 38496, 1238, 3742, 41929, 107172, 126684, 27762, 478, 53505, 23, 73342, 15400, 22027, 18, 48903, 1884, 9821, 50986, 38388, 125195, 43240, 237, 179140, ...
[ 0.16943359375, 0.1309814453125, 0.223388671875, 0.04925537109375, 0.088134765625, 0.1925048828125, 0.104248046875, 0.0219268798828125, 0.0906982421875, 0.08648681640625, 0.1695556640625, 0.14892578125, 0.214599609375, 0.188232421875, 0.1651611328125, 0.04644775390625, 0.0693359375, ...
embed
40271653_c0
40271653
fsharp
0
Title: FsLexYacc whitespace indentation Problem title: FsLexYacc whitespace indentation Tags: compiler-construction, f%23, fslex Problem: FsLexYacc whitespace indentation I'm trying to implement Python-like white-space indentation(read as: emit indent/dedent tokens where needed) with FsLexYacc. It seems like FsLexYacc ...
FsLexYacc whitespace indentation FsLexYacc whitespace indentation compiler-construction f%23 fslex FsLexYacc LexBuffer FsLexYacc whitespace indentation I'm trying to implement Python-like white-space indentation(read as: emit indent/dedent tokens where needed) with FsLexYacc. It seems like FsLexYacc is not able to use ...
[ 0.01446533203125, -0.004058837890625, 0.0108642578125, 0.042236328125, -0.0096435546875, 0.0181884765625, 0.008056640625, 0.0001354217529296875, -0.001922607421875, -0.006866455078125, 0.0162353515625, 0.03466796875, -0.044189453125, -0.002197265625, 0.0038909912109375, 0.0048522949218...
[ 563, 7, 5267, 425, 21566, 10060, 35011, 65421, 18597, 22062, 9969, 34759, 238478, 1238, 3742, 74070, 99078, 7235, 18234, 31577, 29479, 145581, 5062, 39116, 53225, 64, 112, 37379, 47, 84694, 7440, 44841, 959, 19048, 4527, 51, 7077, 313, 3722...
[ 0.0936279296875, 0.07427978515625, 0.123779296875, 0.10693359375, 0.14697265625, 0.1751708984375, 0.1494140625, 0.1695556640625, 0.1597900390625, 0.1146240234375, 0.06103515625, 0.060150146484375, 0.06646728515625, 0.0418701171875, 0.0693359375, 0.1663818359375, 0.09844970703125, 0...
embed
42797288_c0
42797288
fsharp
0
Title: Dapper column to F# option property Problem title: Dapper column to F# option property Tags: option-type, f%23, dapper Problem: Dapper column to F# option property How do I get Dapper to convert data to an F# type with an option property? Simple example: type SomeType = { Count : int option } connection.QueryAsy...
Dapper column to F# option property Dapper column to F# option property option-type f%23 dapper System.InvalidOperationException Dapper SomeType Count connection.QueryAsync System.Int32 Nullable Dapper column to F# option property How do I get Dapper to convert data to an F# type with an option property? Simple example...
[ 0.016845703125, 0.00823974609375, 0.01446533203125, 0.021484375, -0.02392578125, -0.005615234375, 0.003753662109375, -0.0262451171875, -0.0025482177734375, 0.01513671875, -0.00897216796875, -0.01348876953125, -0.004669189453125, 0.004302978515625, -0.019775390625, 0.01348876953125, -...
[ 930, 8079, 3365, 316, 47, 563, 4904, 35829, 57266, 50986, 1238, 3742, 48, 12353, 7013, 156823, 63928, 31384, 196707, 108210, 94878, 12654, 6460, 27786, 2661, 2046, 96760, 2053, 10644, 678, 60552, 3293, 104250, 345, 64457, 43240, 959, 224, 4...
[ 0.170166015625, 0.256103515625, 0.108154296875, 0.14111328125, 0.105712890625, 0.1495361328125, 0.2254638671875, 0.23095703125, 0.163818359375, 0.13525390625, 0.09765625, 0.1082763671875, 0.07574462890625, 0.065673828125, 0.10479736328125, 0.0821533203125, 0.049896240234375, 0.0126...
embed
48667914_c0
48667914
fsharp
0
Title: Closure Syntax Error F# Problem title: Closure Syntax Error F# Tags: functional-programming, closures, c%23, ios, f%23 Problem: Closure Syntax Error F# I'm trying to implement the following C# code from the repository: https://github.com/alexsorokoletov/Xamarin.iOS.DatePickerDialog in F#: dialog.Show("Choose tim...
Closure Syntax Error F# Closure Syntax Error F# functional-programming closures c%23 ios f%23 Closure Syntax Error dialog.Show Choose Done Cancel UIDatePickerMode.Time TimePickLabel.Text dt.ToString datePicker.Show Console.WriteLine Testing UIDatePickerMode.Date DateTime Closure Syntax Error F# I'm trying to implement ...
[ -0.02001953125, 0.0205078125, -0.0021820068359375, -0.00017833709716796875, -0.00634765625, -0.0169677734375, 0.004425048828125, 0.00994873046875, -0.0025634765625, -0.031982421875, -0.0264892578125, -0.01171875, -0.00250244140625, 0.013916015625, 0.0167236328125, -0.0086669921875, -...
[ 51053, 56851, 19010, 86531, 212059, 563, 4904, 123309, 28966, 170224, 3742, 17, 232, 1238, 26519, 168660, 211525, 984, 80392, 111481, 86291, 29348, 11050, 9083, 70059, 19055, 683, 41113, 4063, 5622, 40777, 93232, 8647, 25512, 29479, 18151, 6472...
[ 0.18798828125, 0.13525390625, 0.1500244140625, 0.1549072265625, 0.1534423828125, 0.1600341796875, 0.2008056640625, 0.136962890625, 0.07275390625, 0.20361328125, 0.0845947265625, 0.0050048828125, 0.08349609375, 0.0859375, 0.1795654296875, 0.074462890625, 0.0498046875, 0.036224365234...
embed
3720763_c1
3720763
fsharp
1
Error 2 This expression was expected to have type int but here has type string 20 23 Error 3 This expression was expected to have type int but here has type string 21 23 Error 4 This expression was expected to have type string but here has type unit 22 17 Warning 5 This expression should have type 'unit', but has type...
Error 2 This expression was expected to have type int but here has type string 20 23 Error 3 This expression was expected to have type int but here has type string 21 23 Error 4 This expression was expected to have type string but here has type unit 22 17 Warning 5 This expression should have type 'unit', but has type...
[ -0.01446533203125, -0.00830078125, 0.01409912109375, 0.01104736328125, 0.011962890625, -0.01324462890625, -0.006927490234375, -0.01434326171875, 0.019775390625, -0.0028839111328125, -0.002197265625, 0.0113525390625, -0.015625, -0.01092529296875, 0.003204345703125, 0.0150146484375, 0....
[ 212059, 116, 3293, 125195, 84751, 765, 10644, 23, 18, 1284, 3688, 1556, 79315, 1105, 138, 201, 25072, 729, 5550, 190, 5608, 309, 217, 91693, 36836, 167790, 17116, 5861, 16750, 1974, 68557, 9351, 953, 12601, 51515, 82940, 46485, 21954, 2046,...
[ 0.1805419921875, 0.0655517578125, 0.02642822265625, 0.2349853515625, 0.1878662109375, 0.00714111328125, 0.21484375, 0.07354736328125, 0.0740966796875, 0.03802490234375, 0.088134765625, 0.01776123046875, 0.227294921875, 0.044403076171875, 0.082275390625, 0.03253173828125, 0.2158203125...
embed
30202633_c1
30202633
fsharp
1
)) |> ignore ThreadPool.QueueUserWorkItem(new WaitCallback(bookSeat)) |> ignore Thread.Sleep(5000) The code compiles successfully but has an error when i run it. It outputs this followed by an error below Enter seat number: Enter seat number: 5 Enter customer name: charles Unhandled Exception: System.FormatException: I...
)) |> ignore ThreadPool.QueueUserWorkItem(new WaitCallback(bookSeat)) |> ignore Thread.Sleep(5000) The code compiles successfully but has an error when i run it. It outputs this followed by an error below Enter seat number: Enter seat number: 5 Enter customer name: charles Unhandled Exception: System.FormatException: I...
[ -0.00946044921875, -0.0042724609375, -0.000518798828125, -0.027099609375, 0.002655029296875, -0.0036773681640625, 0.012451171875, 0.0111083984375, -0.000423431396484375, -0.0245361328125, -0.0068359375, 0.023681640625, 0.0002498626708984375, 0.00823974609375, 0.0052490234375, -0.004577...
[ 78960, 124962, 136719, 7192, 929, 41732, 1062, 2189, 108259, 2982, 175254, 5584, 12620, 14137, 4233, 257, 294, 133, 4517, 29213, 18151, 9969, 1340, 65771, 18499, 11675, 140992, 35064, 60816, 40, 14012, 190, 43373, 9351, 21441, 1577, 992, 7962...
[ 0.0236968994140625, 0.2001953125, 0.16015625, 0.0682373046875, 0.088623046875, 0.0888671875, 0.019927978515625, 0.019805908203125, 0.094482421875, 0.09027099609375, 0.2022705078125, 0.045654296875, 0.152587890625, 0.133544921875, 0.2113037109375, 0.1221923828125, 0.008880615234375, ...
embed
32913955_c0
32913955
fsharp
0
Title: Inline function and type extension Problem title: Inline function and type extension Tags: f%23, inline Problem: Inline function and type extension Consider I have two different library types: type Foo = { foo : string } type Bar = { bar : int32 } I want to implement generic function zoo that will work for eithe...
Inline function and type extension Inline function and type extension f%23 inline Inline Foo Bar int32 Library.fs Library Program.fs FS0001 Inline function and type extension Consider I have two different library types: I want to implement generic function zoo that will work for either Foo or Bar instances. And I canno...
[ 0.0035858154296875, -0.00616455078125, 0.0106201171875, 0.004638671875, -0.0033111572265625, -0.0225830078125, -0.01226806640625, 0.0103759765625, -0.005523681640625, -0.03173828125, 0.0250244140625, -0.0135498046875, 0.0166015625, 0.00701904296875, 0.0260009765625, -0.01513671875, 0...
[ 360, 2256, 32354, 136, 10644, 111938, 1238, 3742, 23, 9572, 31, 3253, 6460, 103835, 17447, 7663, 93774, 188735, 137399, 6626, 12921, 35773, 1294, 52895, 3444, 29479, 189534, 71321, 4488, 100, 110527, 53418, 15549, 2831, 18151, 5117, 81887, 7,...
[ 0.1256103515625, 0.259765625, 0.207275390625, 0.109619140625, 0.206298828125, 0.22509765625, 0.0225372314453125, 0.1224365234375, 0.1268310546875, 0.154296875, 0.143798828125, 0.1846923828125, 0.1455078125, 0.1588134765625, 0.1044921875, 0.1104736328125, 0.0555419921875, 0.18005371...
embed
63424682_c1
63424682
fsharp
1
(c:\Users\Bruger\.vscode\extensions\ionide.ionide-fsharp-4.16.0\fsharp.js:4730:12) at c:\Users\Bruger\.vscode\extensions\ionide.ionide-fsharp-4.16.0\fsharp.js:4797:20 at Object.__exports.msbuild (c:\Users\Bruger\.vscode\extensions\ionide.ionide-fsharp-4.16.0\fsharp.js:4802:10) at activate (c:\Users\Bruger\.vscode\exte...
(c:\Users\Bruger\.vscode\extensions\ionide.ionide-fsharp-4.16.0\fsharp.js:4730:12) at c:\Users\Bruger\.vscode\extensions\ionide.ionide-fsharp-4.16.0\fsharp.js:4797:20 at Object.__exports.msbuild (c:\Users\Bruger\.vscode\extensions\ionide.ionide-fsharp-4.16.0\fsharp.js:4802:10) at activate (c:\Users\Bruger\.vscode\exte...
[ -0.013916015625, 0.0203857421875, 0.0038909912109375, 0.01055908203125, 0.0091552734375, 0.0164794921875, -0.00396728515625, -0.0081787109375, -0.01324462890625, -0.01177978515625, -0.006561279296875, -0.006927490234375, 0.016845703125, 0.0145263671875, 0.0091552734375, -0.0146484375, ...
[ 1062, 7, 1314, 132010, 1505, 18043, 40899, 3355, 128872, 1830, 2506, 420, 89280, 254, 11565, 2485, 2389, 28175, 33573, 1197, 20927, 14773, 16619, 134549, 180758, 4432, 177149, 34605, 34704, 111885, 21224, 120620, 5039, 18822, 143434, 2967, 310,...
[ 0.039947509765625, 0.07232666015625, 0.0545654296875, 0.1318359375, 0.1458740234375, 0.1265869140625, 0.187255859375, 0.042083740234375, 0.1734619140625, 0.1624755859375, 0.1806640625, 0.084228515625, 0.2001953125, 0.129638671875, 0.07440185546875, 0.158935546875, 0.061553955078125, ...
embed
195455_c0
195455
fsharp
0
Title: How do I access IMetaDataEmit and other MetaData COM interfaces from C# or F#? Problem title: How do I access IMetaDataEmit and other MetaData COM interfaces from C# or F#? Tags: com-interop, f%23, com, c%23 Problem: How do I access IMetaDataEmit and other MetaData COM interfaces from C# or F#? I am writing a co...
How do I access IMetaDataEmit and other MetaData COM interfaces from C# or F#? How do I access IMetaDataEmit and other MetaData COM interfaces from C# or F#? com-interop f%23 com c%23 C# How IMetaDataEmit MetaData COM How do I access IMetaDataEmit and other MetaData COM interfaces from C# or F#? I am writing a compiler...
[ -0.0220947265625, 0.018798828125, 0.00823974609375, 0.032958984375, -0.0159912109375, -0.004608154296875, -0.025390625, 0.0184326171875, 0.0120849609375, -0.031494140625, 0.01361083984375, -0.000492095947265625, 0.006622314453125, 0.0019073486328125, 0.0126953125, 0.005859375, -0.007...
[ 11249, 54, 87, 17203, 46832, 4241, 137989, 647, 4007, 3789, 36939, 31436, 101758, 1295, 313, 4904, 707, 563, 375, 10433, 2146, 1238, 3742, 32562, 9969, 34759, 23, 3444, 19048, 51, 4707, 23550, 10135, 1179, 11675, 6032, 41392, 53295, 133, ...
[ 0.078857421875, 0.0168609619140625, 0.007232666015625, 0.1883544921875, 0.1429443359375, 0.2142333984375, 0.195068359375, 0.146484375, 0.275390625, 0.02972412109375, 0.188720703125, 0.2100830078125, 0.212646484375, 0.119873046875, 0.052490234375, 0.184326171875, 0.0322265625, 0.072...
embed
46753009_c0
46753009
fsharp
0
Title: F# Why do I get this return type? Problem title: F# Why do I get this return type? Tags: f%23 Problem: F# Why do I get this return type? Simple question. I have a function which takes two strings and an int, and returns a new string with n lines and which alternates between the two input strings. let rec f s1 s2...
F# Why do I get this return type? F# Why do I get this return type? f%23 Why n-1 F# Why do I get this return type? Simple question. I have a function which takes two strings and an int, and returns a new string with n lines and which alternates between the two input strings. Calling it Should return ab\ncd\nab\ncd I cu...
[ -0.0257568359375, -0.020263671875, 0.00180816650390625, 0.027587890625, 0.004913330078125, -0.00604248046875, 0.00213623046875, 0.005859375, 0.00885009765625, 0.01312255859375, 0.01495361328125, -0.0240478515625, -0.0032196044921875, 0.005401611328125, 0.0142822265625, -0.0092163085937...
[ 563, 4904, 44084, 54, 87, 2046, 903, 30646, 10644, 1238, 3949, 3742, 653, 5759, 60552, 32354, 51776, 6626, 79315, 136, 23, 18, 3525, 678, 124519, 75939, 17721, 107730, 26265, 151117, 1563, 8766, 71, 87874, 82424, 18499, 55300, 33079, 91693,...
[ 0.141845703125, 0.2138671875, 0.1392822265625, 0.042236328125, 0.0245819091796875, 0.084716796875, 0.1180419921875, 0.27294921875, 0.23486328125, 0.118896484375, 0.045867919921875, 0.183837890625, 0.114013671875, 0.2322998046875, 0.01171875, 0.1815185546875, 0.04156494140625, 0.084...
embed
3555960_c0
3555960
fsharp
0
Title: Json parsing F# Problem title: Json parsing F# Tags: datacontract, f%23, json Problem: Json parsing F# r@".NETFramework\v4.0\Profile\Client\System.Runtime.Serialization.dll" open System.Runtime.Serialization open System.Runtime.Serialization.Json [<DataContract>] type geo = { [<field: DataMember(Name = "type")>]...
Json parsing F# Json parsing F# datacontract f%23 json Json System.Runtime.Serialization System.Runtime.Serialization.Json DataContract DataMember Name t:string coordinates:string s:string DataContractJsonSerializer Encoding.UTF8.GetBytes MemoryStream json.ReadObject Point Json parsing F# r@".NETFramework\v4.0\Profile\...
[ 0.004852294921875, 0.034423828125, -0.017333984375, -0.0111083984375, -0.0203857421875, -0.0128173828125, 0.00677490234375, 0.034423828125, -0.01361083984375, 0.00193023681640625, 0.0033111572265625, 0.0040283203125, 0.007080078125, -0.00689697265625, 0.007354736328125, 0.0006103515625...
[ 821, 1681, 366, 563, 4904, 6953, 2053, 184103, 1238, 3949, 3742, 1647, 12353, 163321, 6032, 51626, 5, 47691, 1375, 11809, 11935, 39989, 594, 27417, 15757, 808, 91693, 176866, 91, 52825, 587, 1019, 172681, 115061, 31345, 75161, 41097, 151152, ...
[ 0.131103515625, 0.2110595703125, 0.13525390625, 0.1312255859375, 0.16748046875, 0.027252197265625, 0.076904296875, 0.1973876953125, 0.0294952392578125, 0.0128173828125, 0.114990234375, 0.0675048828125, 0.048980712890625, 0.0284423828125, 0.08660888671875, 0.1326904296875, 0.000366210...
embed
9059303_c0
9059303
fsharp
0
Title: Inter-addin communication Problem title: Inter-addin communication Tags: remoting, c%23, envdte, f%23-interactive, f%23 Problem: Inter-addin communication I have been able to programmatically create a VS2010 AddIn Tool Window from the F# Interactive, itself a Tool Window, using CreateToolWindow2 . The Assembly a...
Inter-addin communication Inter-addin communication remoting c%23 envdte f%23-interactive f%23 RemotingException Inter-addin Assembly CreateToolWindow2 Panel ControlObject ComVisible Inter-addin communication I have been able to programmatically create a VS2010 AddIn Tool Window from the F# Interactive, itself a Tool W...
[ 0.0032196044921875, 0.026611328125, -0.028564453125, 0.005035400390625, -0.017333984375, -0.003570556640625, -0.0235595703125, -0.0145263671875, -0.01318359375, -0.04052734375, 0.00494384765625, -0.01171875, 0.0269775390625, 0.01239013671875, 0.01123046875, -0.006866455078125, -0.004...
[ 5337, 11, 76224, 36398, 49146, 1916, 3742, 67, 27495, 10433, 432, 63928, 151169, 151313, 186490, 92049, 24293, 304, 84291, 27131, 46471, 75161, 3288, 6609, 55356, 11720, 28282, 44160, 11436, 29117, 4153, 92285, 176501, 563, 4904, 71232, 136, ...
[ 0.1458740234375, 0.0537109375, 0.189697265625, 0.1771240234375, 0.159912109375, 0.139404296875, 0.061370849609375, 0.06719970703125, 0.006988525390625, 0.046630859375, 0.1739501953125, 0.1895751953125, 0.17529296875, 0.10638427734375, 0.1668701171875, 0.07861328125, 0.09710693359375,...
embed
29855380_c0
29855380
fsharp
0
Title: VS2013 Fsharp project assembly reference bin debug not found Problem title: VS2013 Fsharp project assembly reference bin debug not found Tags: visual-studio-2013, f%23, project-reference Problem: VS2013 Fsharp project assembly reference bin debug not found In a solution with Fsharp projects (Visual Studio 2013),...
VS2013 Fsharp project assembly reference bin debug not found VS2013 Fsharp project assembly reference bin debug not found visual-studio-2013 f%23 project-reference VS2013 Fsharp visual-studio-2013 VS2013 Fsharp project assembly reference bin debug not found In a solution with Fsharp projects (Visual Studio 2013), intel...
[ -0.01470947265625, 0.0198974609375, -0.009521484375, 0.007354736328125, 0.0009307861328125, -0.0002651214599609375, -0.01708984375, 0.0177001953125, 0.000751495361328125, 0.0137939453125, 0.0011444091796875, 0.00543212890625, -0.00787353515625, 0.00836181640625, 0.032470703125, 0.00885...
[ 44160, 7735, 563, 89280, 254, 13452, 89845, 38526, 91067, 2394, 8, 85779, 959, 14037, 21176, 52629, 74790, 1238, 3742, 239879, 10, 29806, 77635, 6609, 64010, 22968, 88995, 892, 27077, 831, 186992, 3789, 53418, 1927, 64040, 81717, 11435, 4657,...
[ 0.1708984375, 0.21923828125, 0.111083984375, 0.1995849609375, 0.13916015625, 0.1220703125, 0.146484375, 0.010040283203125, 0.239990234375, 0.211181640625, 0.1239013671875, 0.265380859375, 0.05438232421875, 0.1640625, 0.1317138671875, 0.12353515625, 0.173828125, 0.0498046875, 0.07...
embed
50925203_c1
50925203
fsharp
1
Type, IRuntimeMethodInfo& ctor, Boolean& ctorHasParameters, Boolean& isVarArg) +155 System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeModule decoratedModule, Int32 decoratedMetadataToken, Int32 pcaCount, RuntimeType attributeFilterType, Boolean mustBeInheritable, IList derivedAttributes, Boolean isDecoratedT...
Type, IRuntimeMethodInfo& ctor, Boolean& ctorHasParameters, Boolean& isVarArg) +155 System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeModule decoratedModule, Int32 decoratedMetadataToken, Int32 pcaCount, RuntimeType attributeFilterType, Boolean mustBeInheritable, IList derivedAttributes, Boolean isDecoratedT...
[ -0.01226806640625, 0.032958984375, -0.025390625, -0.007110595703125, -0.0059814453125, -0.00408935546875, 0.0091552734375, -0.00799560546875, 0.00665283203125, -0.02392578125, -0.0103759765625, 0.0023345947265625, 0.00159454345703125, 0.005828857421875, -0.01239013671875, 0.00027847290...
[ 60457, 4, 32863, 309, 6032, 78572, 7352, 93147, 1230, 18770, 73783, 34677, 6495, 55292, 29089, 83, 81827, 7614, 177, 997, 119477, 12353, 190015, 133, 10763, 223, 5928, 28848, 191145, 724, 126, 441, 163321, 91616, 8782, 122329, 297, 360, 18,...
[ 0.2410888671875, 0.0306549072265625, 0.033935546875, 0.105712890625, 0.1982421875, 0.077880859375, 0.112548828125, 0.169677734375, 0.10693359375, 0.20849609375, 0.1455078125, 0.2095947265625, 0.114990234375, 0.0635986328125, 0.12939453125, 0.12060546875, 0.125732421875, 0.062011718...
embed
7968653_c0
7968653
fsharp
0
Title: Good F# Performance Profiling Tool Problem title: Good F# Performance Profiling Tool Tags: f%23, performance, profiling Problem: Good F# Performance Profiling Tool Can anyone recommend a performance profiling tool with good F# support? I’ve been using Visual Studio 2010 profiler but I’ve found a few issues when ...
Good F# Performance Profiling Tool Good F# Performance Profiling Tool f%23 performance profiling Good Performance Profiling Tool Add Add1 MultiAdd Good F# Performance Profiling Tool Can anyone recommend a performance profiling tool with good F# support? I’ve been using Visual Studio 2010 profiler but I’ve found a few i...
[ 0.00848388671875, 0.02685546875, -0.004058837890625, -0.021728515625, -0.0179443359375, 0.00677490234375, -0.0026092529296875, -0.01123046875, -0.00482177734375, -0.0277099609375, 0.01171875, 0.015869140625, 0.00640869140625, 0.010009765625, 0.0198974609375, -0.0009613037109375, 0.01...
[ 18621, 563, 4904, 94030, 58848, 214, 92285, 1238, 3949, 3742, 23718, 9468, 29117, 418, 19335, 4028, 67330, 55516, 4127, 8060, 17368, 73372, 22968, 1532, 105609, 10846, 37348, 12319, 1286, 390, 67, 18151, 7103, 44961, 3501, 7311, 161549, 3996,...
[ 0.11767578125, 0.146728515625, 0.2406005859375, 0.181396484375, 0.240478515625, 0.1505126953125, 0.18310546875, 0.02777099609375, 0.00701904296875, 0.1112060546875, 0.1893310546875, 0.25048828125, 0.0751953125, 0.0362548828125, 0.0853271484375, 0.08154296875, 0.08270263671875, 0.19...
embed
63495730_c0
63495730
fsharp
0
Title: a List.iter that returns the list, in F# Problem title: a List.iter that returns the list, in F# Tags: f%23 Problem: a List.iter that returns the list, in F# I'm trying to do something like this: [ list of things ] |> List.map (fun i -> some transformation) |> List.iter (fun i -> do stuff, like printfn or whatev...
a List.iter that returns the list, in F# a List.iter that returns the list, in F# f%23 List.iter List.map List.filter List.andDoOtherThings a List.iter that returns the list, in F# I'm trying to do something like this: List.iter returns unit so this is not possible. But there are cases where I take a list, apply some f...
[ 0.0003223419189453125, 0.004241943359375, 0.018798828125, -0.01361083984375, -0.01318359375, -0.00213623046875, 0.008056640625, -0.018310546875, 0.004547119140625, -0.031982421875, 0.01287841796875, 0.01470947265625, -0.005401611328125, -0.0087890625, -0.00439453125, 0.02294921875, 0...
[ 32036, 16840, 30646, 7, 5303, 563, 4904, 1238, 3949, 3742, 62346, 120337, 2940, 9319, 20800, 5180, 31577, 5, 25072, 959, 7722, 621, 50218, 5646, 59911, 46312, 167201, 3871, 54, 66211, 35509, 85358, 20594, 3789, 8966, 678, 5701, 831, 18, 1...
[ 0.1990966796875, 0.2724609375, 0.197265625, 0.011077880859375, 0.194091796875, 0.103271484375, 0.1729736328125, 0.06341552734375, 0.014404296875, 0.13671875, 0.099853515625, 0.1610107421875, 0.009033203125, 0.04327392578125, 0.063720703125, 0.0706787109375, 0.0645751953125, 0.02647...
embed
52808477_c0
52808477
fsharp
0
Title: Mock `printfn` in F# tests Problem title: Mock `printfn` in F# tests Tags: f%23, fsunit, nunit Problem: Mock `printfn` in F# tests I'm trying to write a test for a small lib I'm writing that (essentially) just logs to the console. Is there a way to mock function like this is F#? example: in src/Lib/Lib.fs module...
Mock `printfn` in F# tests Mock `printfn` in F# tests f%23 fsunit nunit Mock Lib Your LibTest NUnit.Framework FsUnit Test Printf.printfn Mock `printfn` in F# tests I'm trying to write a test for a small lib I'm writing that (essentially) just logs to the console. Is there a way to mock function like this is F#? example...
[ -0.00811767578125, 0.00335693359375, 0.025390625, 0.01287841796875, -0.018310546875, -0.01116943359375, 0.006500244140625, -0.007476806640625, -0.00408935546875, 0.019775390625, 0.0208740234375, -0.006622314453125, -0.01055908203125, 0.0048828125, 0.00958251953125, 0.0108642578125, 0...
[ 2501, 2594, 35662, 14783, 563, 4904, 109921, 23, 1238, 3742, 217, 4124, 43278, 111337, 18057, 6773, 18244, 85600, 8647, 39754, 420, 31577, 33022, 3034, 19336, 25474, 32562, 12684, 47, 130250, 3917, 8698, 92, 32354, 1884, 903, 19437, 104820, ...
[ 0.193603515625, 0.1636962890625, 0.19482421875, 0.2296142578125, 0.121826171875, 0.2008056640625, 0.2109375, 0.0126953125, 0.06427001953125, 0.07177734375, 0.0919189453125, 0.059783935546875, 0.1173095703125, 0.1690673828125, 0.050933837890625, 0.1187744140625, 0.008148193359375, 0...
embed
8418857_c0
8418857
fsharp
0
Title: MbUnit under Linux, used within an F# project? Problem title: MbUnit under Linux, used within an F# project? Tags: mbunit, ubuntu, mono, gallio, f%23 Problem: MbUnit under Linux, used within an F# project? I tried asking this on the gallio-users list, but the question failed to appear (Google Groups says the pos...
MbUnit under Linux, used within an F# project? MbUnit under Linux, used within an F# project? mbunit ubuntu mono gallio f%23 MbUnit Linux Parallelizable Gallio Gallio.Echo MbUnit under Linux, used within an F# project? I tried asking this on the gallio-users list, but the question failed to appear (Google Groups says t...
[ -0.004730224609375, 0.0103759765625, -0.0002422332763671875, -0.0179443359375, 0.0000762939453125, -0.0240478515625, 0.0184326171875, -0.0159912109375, -0.002349853515625, 0.00006914138793945312, 0.0015411376953125, 0.00457763671875, -0.00109100341796875, 0.0150146484375, -0.01318359375,...
[ 42448, 85600, 18, 1379, 29908, 11814, 28032, 563, 4904, 13452, 32, 176466, 217, 198996, 22460, 24810, 846, 1238, 3949, 3742, 211485, 1418, 2886, 96952, 31, 5, 647, 3089, 4, 113292, 223, 165523, 16630, 10760, 65771, 5303, 71644, 22008, 959, ...
[ 0.1851806640625, 0.259033203125, 0.16650390625, 0.195068359375, 0.1988525390625, 0.138671875, 0.1324462890625, 0.1234130859375, 0.181884765625, 0.125, 0.0139617919921875, 0.1221923828125, 0.170166015625, 0.178466796875, 0.1580810546875, 0.114013671875, 0.192626953125, 0.08569335937...
embed
46483481_c0
46483481
fsharp
0
Title: Is it currently impossible to publish UWP apps to Store when using F#? Problem title: Is it currently impossible to publish UWP apps to Store when using F#? Tags: f%23, uwp, windows-store, xamarin.forms Problem: Is it currently impossible to publish UWP apps to Store when using F#? I have a Xamarin.Forms app on ...
Is it currently impossible to publish UWP apps to Store when using F#? Is it currently impossible to publish UWP apps to Store when using F#? f%23 uwp windows-store xamarin.forms F# UWP Store xamarin.forms Is it currently impossible to publish UWP apps to Store when using F#? I have a Xamarin.Forms app on Android, iOS,...
[ 0.00098419189453125, 0.02978515625, 0.0013427734375, -0.016357421875, -0.026611328125, 0.01434326171875, 0.00012969970703125, -0.0263671875, 0.007049560546875, -0.005035400390625, 0.0157470703125, -0.0164794921875, 0.0279541015625, 0.01409912109375, 0.01092529296875, 0.00518798828125, ...
[ 2071, 82424, 69201, 80299, 345, 139873, 49966, 47, 14934, 17368, 563, 4904, 442, 1238, 3742, 4424, 254, 54825, 45804, 2459, 44503, 5037, 3229, 8606, 102973, 4027, 3952, 13964, 21771, 91376, 756, 29191, 4343, 59121, 23, 313, 3525, 60213, 786...
[ 0.0028076171875, 0.1329345703125, 0.208251953125, 0.2169189453125, 0.129638671875, 0.2247314453125, 0.2119140625, 0.08544921875, 0.215087890625, 0.1085205078125, 0.1484375, 0.2327880859375, 0.010589599609375, 0.0299072265625, 0.041595458984375, 0.08984375, 0.095458984375, 0.0720214...
embed
61937274_c1
61937274
fsharp
1
B Library: C That was a bit disturbing, my colleague and I spent a fair amount of time trying to figure out what was going on. So I would just like to confirm the compiler optimization rules in this context. My understanding atm is: Executing project (the console one in my example above) does initialize the variable r...
B Library: C That was a bit disturbing, my colleague and I spent a fair amount of time trying to figure out what was going on. So I would just like to confirm the compiler optimization rules in this context. My understanding atm is: Executing project (the console one in my example above) does initialize the variable r...
[ -0.01116943359375, 0.0050048828125, 0.005645751953125, 0.0126953125, -0.009033203125, -0.011962890625, -0.00122833251953125, -0.0089111328125, 0.005523681640625, 0.03857421875, -0.01806640625, 0.0033721923828125, 0.0106201171875, 0.00811767578125, 0.032470703125, -0.0213623046875, -0...
[ 335, 103835, 313, 100898, 26366, 39563, 9969, 34759, 87235, 91736, 43701, 100094, 39, 211603, 214, 13452, 130250, 27781, 14602, 61475, 20650, 77336, 211460, 180346, 262, 26885, 117538, 35773, 1294, 4734, 678, 8, 85779, 26785, 4969, 42459, 17176...
[ 0.1607666015625, 0.2037353515625, 0.144287109375, 0.018157958984375, 0.015533447265625, 0.0472412109375, 0.157470703125, 0.1356201171875, 0.203369140625, 0.1129150390625, 0.0225982666015625, 0.0762939453125, 0.0386962890625, 0.1710205078125, 0.013092041015625, 0.1539306640625, 0.2208...
embed
35056063_c0
35056063
fsharp
0
Title: FAKE: Target prints all available targets in build script Problem title: FAKE: Target prints all available targets in build script Tags: f%23, f%23-fake Problem: FAKE: Target prints all available targets in build script Question: Is there a command in FAKE available which prints all the defined targets in the bu...
FAKE: Target prints all available targets in build script FAKE: Target prints all available targets in build script f%23 f%23-fake FAKE Target build.cmd Available Clean Depends DeleteBinObj RestorePackages Build CopyBinaries RunTests Default RunTargetOrDefault FAKE: Target prints all available targets in build script Q...
[ 0.00628662109375, 0.02001953125, 0.006011962890625, 0.00079345703125, 0.0033416748046875, 0.01226806640625, -0.01556396484375, -0.032470703125, -0.000171661376953125, 0.0172119140625, -0.00836181640625, -0.0096435546875, 0.00946044921875, 0.01953125, 0.002166748046875, -0.015869140625,...
[ 563, 119960, 160017, 28412, 756, 19882, 30388, 7, 45367, 26499, 3742, 27495, 1021, 350, 3931, 238204, 73133, 2278, 262, 46485, 73, 46471, 170, 45804, 205956, 121137, 885, 111337, 28398, 63031, 3794, 19060, 11, 23, 2685, 10, 75101, 3129, 619...
[ 0.16796875, 0.2486572265625, 0.2880859375, 0.1968994140625, 0.1055908203125, 0.181640625, 0.26416015625, 0.063232421875, 0.19482421875, 0.2249755859375, 0.01727294921875, 0.066650390625, 0.193115234375, 0.05670166015625, 0.132568359375, 0.197998046875, 0.1385498046875, 0.0374145507...
embed
71905022_c0
71905022
fsharp
0
Title: making type aliases non interchangeable in F# Problem title: making type aliases non interchangeable in F# Tags: f%23 Problem: making type aliases non interchangeable in F# Here is an example: type T = TimeSpan let x (y: T) = printfn $"{y}" let a:TimeSpan = TimeSpan.FromSeconds(3) let b:T = TimeSpan.FromSeconds(...
making type aliases non interchangeable in F# making type aliases non interchangeable in F# f%23 TimeSpan a:TimeSpan TimeSpan.FromSeconds b:T making type aliases non interchangeable in F# Here is an example: In this case, I want to make a type which is identical to TimeSpan but is NOT TimeSpan. I would like the ability...
[ -0.0201416015625, 0.01397705078125, 0.00836181640625, 0.017333984375, -0.0052490234375, -0.006927490234375, -0.0157470703125, 0.004791259765625, -0.0169677734375, 0.0015106201171875, -0.0025787353515625, 0.02294921875, -0.0067138671875, 0.019775390625, -0.00274658203125, 0.015991210937...
[ 20662, 10644, 55109, 90, 351, 1940, 152028, 2886, 563, 4904, 1238, 3742, 19055, 294, 3180, 10, 70059, 168407, 2271, 876, 618, 27781, 3444, 3249, 31943, 1284, 83, 86725, 1884, 81273, 37702, 17721, 15700, 959, 183234, 32354, 138256, 1022, 384...
[ 0.07757568359375, 0.21923828125, 0.20703125, 0.09521484375, 0.1053466796875, 0.07666015625, 0.149658203125, 0.024139404296875, 0.10260009765625, 0.151123046875, 0.052459716796875, 0.1148681640625, 0.126220703125, 0.03424072265625, 0.2197265625, 0.001861572265625, 0.10986328125, 0.0...
embed
73192426_c0
73192426
fsharp
0
Title: Continuos active pattern match with list for F# Problem title: Continuos active pattern match with list for F# Tags: f%23 Problem: Continuos active pattern match with list for F# I have this pattern for a compiler, and in the expr parser I want to do this let (|InfixOperator|_|) tokens = ... let (|UnaryValue|_|)...
Continuos active pattern match with list for F# Continuos active pattern match with list for F# f%23 Continuos InfixOperator UnaryValue Value v::Operator op::tokens v::tokens Token Operator Continuos active pattern match with list for F# I have this pattern for a compiler, and in the expr parser I want to do this The p...
[ 0.007476806640625, 0.005767822265625, 0.0157470703125, 0.00946044921875, -0.015625, -0.025146484375, -0.0003948211669921875, 0.00933837890625, 0.0024566650390625, -0.022216796875, 0.01361083984375, 0.01177978515625, 0.020751953125, 0.00066375732421875, 0.01336669921875, 0.0029296875, ...
[ 100761, 232, 36457, 103510, 14858, 678, 5303, 100, 563, 4904, 1238, 3742, 360, 55923, 156823, 1290, 4228, 1294, 856, 50770, 190060, 81, 233, 6448, 1755, 717, 1098, 150922, 903, 9969, 34759, 14700, 42, 366, 2189, 3444, 2967, 47, 84694, 138...
[ 0.1971435546875, 0.1590576171875, 0.1737060546875, 0.2127685546875, 0.1888427734375, 0.087890625, 0.148193359375, 0.03436279296875, 0.097412109375, 0.1470947265625, 0.03851318359375, 0.0960693359375, 0.02264404296875, 0.1680908203125, 0.1295166015625, 0.048431396484375, 0.10144042968...
embed
74425191_c0
74425191
fsharp
0
Title: Plotting scatter chart with a linear regression Problem title: Plotting scatter chart with a linear regression Tags: plotly.net, deedle, f%23 Problem: Plotting scatter chart with a linear regression I am trying to display a scatter chart for two columns in a Deedly data frame, ideally grouped by a third column. ...
Plotting scatter chart with a linear regression Plotting scatter chart with a linear regression plotly.net deedle f%23 Plotting seaborn.lmplot sns.lmplot bill_length_mm bill_depth_mm Values Seq.zip Chart.Point plotly.net Plotting scatter chart with a linear regression I am trying to display a scatter chart for two colu...
[ 0.01031494140625, 0.0006866455078125, 0.0087890625, 0.000705718994140625, 0.000492095947265625, 0.003753662109375, 0.0001239776611328125, -0.0072021484375, 0.0038909912109375, 0.0027923583984375, -0.015869140625, 0.02197265625, -0.0108642578125, 0.005767822265625, 0.004150390625, 0.032...
[ 168763, 1916, 16275, 3055, 116287, 678, 192617, 456, 148448, 23577, 538, 1179, 8, 297, 133, 1238, 3742, 15520, 57332, 28122, 105710, 1779, 54727, 23986, 2276, 168867, 190060, 50836, 110373, 147534, 31577, 44116, 6626, 3365, 316, 262, 2053, 12...
[ 0.1795654296875, 0.041412353515625, 0.163818359375, 0.1883544921875, 0.2156982421875, 0.06658935546875, 0.182861328125, 0.0775146484375, 0.223876953125, 0.0916748046875, 0.126953125, 0.08306884765625, 0.04803466796875, 0.113037109375, 0.077392578125, 0.011199951171875, 0.070251464843...
embed
28631439_c0
28631439
fsharp
0
Title: How to use f# constraints for generic calculation functions? Problem title: How to use f# constraints for generic calculation functions? Tags: type-constraints, inline, f%23 Problem: How to use f# constraints for generic calculation functions? type Point<'t> = val X : 't val Y : 't new(x : 't,y : 't) = { X = x; ...
How to use f# constraints for generic calculation functions? How to use f# constraints for generic calculation functions? type-constraints inline f%23 How Point p1:Point p2:Point p2.X p1.X p2.Y p1.Y How to use f# constraints for generic calculation functions? If you look at the code above, you will notice, that the fun...
[ -0.007537841796875, 0.0040283203125, 0.0113525390625, -0.01214599609375, 0.0036163330078125, -0.00335693359375, -0.00077056884765625, -0.006622314453125, 0.00933837890625, -0.01141357421875, -0.01324462890625, -0.029296875, 0.00121307373046875, -0.005157470703125, -0.0033721923828125, ...
[ 11249, 47, 4527, 1238, 4904, 158, 2816, 4288, 100, 189534, 74481, 32354, 7, 10644, 2271, 23, 2256, 3949, 3742, 41097, 915, 82825, 147534, 304, 5442, 1542, 1723, 6713, 18151, 60322, 959, 29479, 237, 5608, 17368, 757, 18389, 125195, 63611, ...
[ 0.08392333984375, 0.030548095703125, 0.1378173828125, 0.1707763671875, 0.248291015625, 0.125, 0.21826171875, 0.177734375, 0.042724609375, 0.268798828125, 0.2093505859375, 0.1802978515625, 0.011962890625, 0.1864013671875, 0.1025390625, 0.059967041015625, 0.0887451171875, 0.017456054...
embed
9604371_c0
9604371
fsharp
0
Title: generic function in F# Problem title: generic function in F# Tags: f%23 Problem: generic function in F# I'm writing some kind of serialization library (for purpose of learning F#). And now I stuck with this: Suppose we already have serialization functions for some basic types: type StoreOps = static member inlin...
generic function in F# generic function in F# f%23 StoreOps x:int x:int64 x:float x:float32 x:bool x:string Array.iter StoreOps.store generic function in F# I'm writing some kind of serialization library (for purpose of learning F#). And now I stuck with this: Suppose we already have serialization functions for some ba...
[ 0.016357421875, -0.007415771484375, 0.01123046875, -0.016357421875, -0.00982666015625, -0.005218505859375, -0.01531982421875, -0.003936767578125, 0.0028076171875, -0.006500244140625, 0.004425048828125, -0.01019287109375, 0.0164794921875, -0.01708984375, 0.0021820068359375, -0.012390136...
[ 189534, 32354, 23, 563, 4904, 1238, 3742, 14934, 39029, 1022, 4288, 13307, 52347, 257, 6460, 142484, 91693, 69253, 53, 16840, 45804, 32562, 35686, 47691, 35773, 52080, 179933, 21771, 62822, 52895, 3444, 29479, 4343, 2499, 10298, 1284, 9969, 3...
[ 0.29150390625, 0.20458984375, 0.038818359375, 0.1494140625, 0.2181396484375, 0.0546875, 0.17041015625, 0.20458984375, 0.2364501953125, 0.008697509765625, 0.08984375, 0.1356201171875, 0.087646484375, 0.0254669189453125, 0.10791015625, 0.1138916015625, 0.058868408203125, 0.0230712890...
embed
71349711_c0
71349711
fsharp
0
Title: F# TypeShape - This code is not sufficiently generic Problem title: F# TypeShape - This code is not sufficiently generic Tags: f%23 Problem: F# TypeShape - This code is not sufficiently generic I'm trying to learn the TypeShape lib and playing with the IShapeMember per the snippet in the readme type IShapeMember...
F# TypeShape - This code is not sufficiently generic F# TypeShape - This code is not sufficiently generic f%23 TypeShape IShapeMember shp.Accept IMemberVisitor x.Visit ShapeMember m.Set F# TypeShape - This code is not sufficiently generic I'm trying to learn the TypeShape lib and playing with the IShapeMember per the s...
[ -0.00628662109375, 0.011474609375, 0.00897216796875, -0.00347900390625, -0.00836181640625, -0.01165771484375, -0.0172119140625, -0.006988525390625, 0.00167083740234375, 0.00031280517578125, 0.0181884765625, 0.0247802734375, 0.013671875, 0.0032806396484375, 0.00531005859375, -0.00616455...
[ 563, 4904, 60457, 40798, 1081, 3293, 18151, 83, 959, 129980, 538, 189534, 1238, 3742, 87, 594, 27417, 43121, 232587, 65331, 26111, 1022, 7224, 347, 294, 126, 30698, 25474, 75169, 12301, 282, 71834, 4537, 143577, 32354, 9969, 1340, 18499, 10...
[ 0.090576171875, 0.1981201171875, 0.2197265625, 0.2369384765625, 0.1351318359375, 0.0865478515625, 0.1639404296875, 0.09820556640625, 0.166259765625, 0.1759033203125, 0.0775146484375, 0.2281494140625, 0.058319091796875, 0.1173095703125, 0.1075439453125, 0.028656005859375, 0.125, 0.0...
embed
33989233_c0
33989233
fsharp
0
Title: How to pass an array of histogram breaks to R.hist using RProvider in F#? Problem title: How to pass an array of histogram breaks to R.hist using RProvider in F#? Tags: histogram, bins, f%23, r Problem: How to pass an array of histogram breaks to R.hist using RProvider in F#? I am using RProvider with F# in VS20...
How to pass an array of histogram breaks to R.hist using RProvider in F#? How to pass an array of histogram breaks to R.hist using RProvider in F#? histogram bins f%23 r RProvider How R.hist h_tmp h_counts h_tmp.AsList AsNumeric GetValue How to pass an array of histogram breaks to R.hist using RProvider in F#? I am usi...
[ -0.010009765625, -0.00115966796875, 0.006195068359375, -0.00311279296875, 0.006500244140625, -0.010498046875, 0.000812530517578125, -0.0269775390625, -0.00098419189453125, -0.00384521484375, 0.0274658203125, -0.007568359375, 0.002899169921875, -0.006439208984375, 0.0274658203125, -0.00...
[ 11249, 27875, 10298, 53, 1919, 18, 83814, 36356, 7, 47, 627, 5, 49063, 80026, 83220, 820, 563, 4904, 17368, 2394, 1238, 3949, 3742, 1690, 1096, 2676, 71013, 19659, 154663, 1301, 18444, 282, 12259, 20779, 856, 50770, 44160, 10693, 114122, ...
[ 0.037384033203125, 0.135986328125, 0.1492919921875, 0.1046142578125, 0.1240234375, 0.05755615234375, 0.188720703125, 0.2008056640625, 0.0074462890625, 0.08428955078125, 0.1597900390625, 0.0518798828125, 0.2376708984375, 0.06060791015625, 0.1790771484375, 0.2093505859375, 0.0877685546...
embed
16679503_c0
16679503
fsharp
0
Title: How to perform multiple styles of pattern matching? Problem title: How to perform multiple styles of pattern matching? Tags: f%23, pattern-matching Problem: How to perform multiple styles of pattern matching? Just started to play with F#. As terrible as I'm with it now, I do not to know to search for a similar t...
How to perform multiple styles of pattern matching? How to perform multiple styles of pattern matching? f%23 pattern-matching How Cat Dog animal:Animal How to perform multiple styles of pattern matching? Just started to play with F#. As terrible as I'm with it now, I do not to know to search for a similar thread too. T...
[ 0.0001544952392578125, -0.00604248046875, -0.010498046875, 0.011962890625, -0.005859375, -0.02978515625, 0.0018310546875, 0.0019989013671875, 0.00958251953125, -0.00994873046875, 0.019775390625, -0.006072998046875, 0.01409912109375, -0.000118255615234375, 0.0072021484375, 0.01574707031...
[ 11249, 47, 51339, 48716, 20623, 7, 111, 103510, 14858, 214, 1238, 3949, 3742, 98753, 18826, 41129, 26249, 93, 2749, 11301, 563, 4904, 94176, 86997, 10644, 3034, 35431, 12765, 5117, 2831, 50986, 175199, 16940, 1884, 903, 49504, 161789, 27781, ...
[ 0.09197998046875, 0.039794921875, 0.1715087890625, 0.2310791015625, 0.19873046875, 0.082763671875, 0.0355224609375, 0.2122802734375, 0.22998046875, 0.139892578125, 0.0682373046875, 0.03021240234375, 0.1068115234375, 0.2264404296875, 0.1514892578125, 0.1553955078125, 0.1492919921875, ...
embed
4629734_c0
4629734
fsharp
0
Title: The sieve of Eratosthenes in F# Problem title: The sieve of Eratosthenes in F# Tags: f%23, algorithm, sieve-of-eratosthenes Problem: The sieve of Eratosthenes in F# I am interested in an implementation of the sieve of eratosthenes in purely functional F#. I am interested in an implementation of the actual sieve,...
The sieve of Eratosthenes in F# The sieve of Eratosthenes in F# f%23 algorithm sieve-of-eratosthenes Eratosthenes PseudoSieve hd::tl List.filter The sieve of Eratosthenes in F# I am interested in an implementation of the sieve of eratosthenes in purely functional F#. I am interested in an implementation of the actual s...
[ -0.007568359375, 0.025390625, 0.0107421875, -0.013671875, -0.0157470703125, -0.0081787109375, -0.00750732421875, -0.016357421875, -0.000762939453125, -0.0218505859375, 0.0245361328125, 0.0257568359375, -0.00136566162109375, 0.00897216796875, 0.0146484375, 0.00927734375, -0.0065307617...
[ 581, 78, 3134, 111, 14825, 1952, 2347, 1444, 23, 563, 4904, 1238, 3949, 3742, 234873, 4390, 13164, 232, 184, 11547, 99266, 272, 26488, 141, 32036, 120337, 60892, 208124, 8457, 123309, 8561, 24, 5844, 6183, 3126, 64209, 4527, 6024, 62346, ...
[ 0.00653076171875, 0.184814453125, 0.253662109375, 0.03436279296875, 0.154296875, 0.17724609375, 0.1964111328125, 0.168212890625, 0.04034423828125, 0.1263427734375, 0.240234375, 0.09368896484375, 0.0240325927734375, 0.1357421875, 0.2098388671875, 0.1097412109375, 0.11669921875, 0.11...
embed
63935487_c0
63935487
fsharp
0
Title: Railway programming F# Problem title: Railway programming F# Tags: f%23 Problem: Railway programming F# I am trying to use the railway programming in F# using result as described in Scott Wlaschin's book 'Domain modeling made functional'. Normally a function has the structure let functionName parameter : Result<...
Railway programming F# Railway programming F# f%23 Railway Result ResultType ErrorType CalculatedFields Railway programming F# I am trying to use the railway programming in F# using result as described in Scott Wlaschin's book 'Domain modeling made functional'. Normally a function has the structure But I want to return...
[ -0.0040283203125, -0.010986328125, 0.001373291015625, -0.006317138671875, 0.011962890625, -0.01434326171875, 0.01239013671875, -0.01531982421875, 0.0220947265625, -0.019287109375, 0.011474609375, 0.013427734375, -0.011474609375, 0.01165771484375, -0.000942230224609375, -0.0076904296875...
[ 85736, 7514, 56037, 563, 4904, 1238, 3949, 3742, 126684, 196707, 212059, 212467, 27686, 6159, 19388, 31577, 4527, 68823, 449, 23, 17368, 16750, 151552, 50695, 2512, 66624, 25, 12877, 8331, 24931, 3299, 214, 7228, 123309, 28723, 32354, 1556, 4...
[ 0.1368408203125, 0.154541015625, 0.137939453125, 0.1165771484375, 0.203857421875, 0.057342529296875, 0.046722412109375, 0.127685546875, 0.1973876953125, 0.1422119140625, 0.216796875, 0.1695556640625, 0.049041748046875, 0.06085205078125, 0.1717529296875, 0.0361328125, 0.07421875, 0....
embed
75103097_c0
75103097
fsharp
0
Title: How to define a custom routedeventargs in F#? Problem title: How to define a custom routedeventargs in F#? Tags: f%23 Problem: How to define a custom routedeventargs in F#? I have a need to define a custom routedeventarg in F# (to be used by both C# code and F# code). In C#, I have defined the following public c...
How to define a custom routedeventargs in F#? How to define a custom routedeventargs in F#? f%23 How NewTranscriptEventArgs RoutedEventArgs AppendText RoutedEvent this.appendtext i:EventTrigger EventName NewTranscript i:InvokeCommandAction PassEventArgsToCommand Command Binding How to define a custom routedeventargs in...
[ 0.01171875, 0.00885009765625, 0.0029449462890625, 0.010009765625, 0.002716064453125, -0.0294189453125, 0.003753662109375, -0.00384521484375, 0.00250244140625, -0.0107421875, 0.01708984375, -0.0269775390625, -0.006561279296875, 0.00604248046875, -0.0086669921875, 0.0164794921875, 0.01...
[ 11249, 47, 61924, 10, 114122, 36439, 112, 75225, 10566, 7, 23, 563, 4904, 1238, 3742, 2356, 62624, 186842, 192134, 7614, 9405, 106015, 71, 5659, 3611, 174379, 903, 9007, 22829, 74257, 21407, 36943, 163612, 23253, 12018, 10763, 28872, 7763, ...
[ 0.06719970703125, 0.01617431640625, 0.2060546875, 0.0648193359375, 0.22802734375, 0.233642578125, 0.1187744140625, 0.121826171875, 0.2027587890625, 0.1278076171875, 0.051910400390625, 0.1456298828125, 0.2120361328125, 0.038604736328125, 0.09832763671875, 0.103515625, 0.05380249023437...
embed
47116323_c0
47116323
fsharp
0
Title: Cannot debug a F# library project Problem title: Cannot debug a F# library project Tags: nunit, f%23-fake, visual-studio-debugging, visual-studio-2015, f%23 Problem: Cannot debug a F# library project I'm using VS2015. Yesterday I installed .net 4.7 and nuget test adapter (don't know if either one of them could b...
Cannot debug a F# library project Cannot debug a F# library project nunit f%23-fake visual-studio-debugging visual-studio-2015 f%23 Cannot MSB3027 Could Debug MSB3021 Unable visual-studio-2015 Cannot debug a F# library project I'm using VS2015. Yesterday I installed .net 4.7 and nuget test adapter (don't know if either...
[ -0.0274658203125, 0.0059814453125, -0.0118408203125, -0.0029144287109375, -0.0020599365234375, -0.005645751953125, -0.0091552734375, 0.0093994140625, -0.0191650390625, 0.006683349609375, 0.001800537109375, -0.0216064453125, 0.0184326171875, 0.0257568359375, 0.019775390625, -0.002182006...
[ 4171, 10869, 8, 85779, 563, 4904, 35773, 1294, 13452, 4124, 217, 1238, 27495, 1021, 21176, 52629, 112, 978, 44906, 3742, 16265, 571, 1197, 3768, 262, 3117, 2886, 17368, 44160, 5357, 20600, 1179, 1398, 966, 315, 3794, 3034, 123666, 44402, ...
[ 0.048553466796875, 0.1419677734375, 0.145751953125, 0.27783203125, 0.129638671875, 0.20263671875, 0.15087890625, 0.09320068359375, 0.1163330078125, 0.05926513671875, 0.0771484375, 0.08837890625, 0.003173828125, 0.123291015625, 0.135986328125, 0.1820068359375, 0.0975341796875, 0.199...
embed
34660717_c0
34660717
fsharp
0
Title: Why can&#x27;t I Seq.take more than 5 values? Problem title: Why can&#x27;t I Seq.take more than 5 values? Tags: f%23 Problem: Why can't I Seq.take more than 5 values? Whilst trying to understand Seq.unfold, I have been playing with the following F# that produces a sequence of the triangle numbers... let tri_seq...
Why can&#x27;t I Seq.take more than 5 values? Why can&#x27;t I Seq.take more than 5 values? f%23 Why Seq.take tri_seq Seq.unfold Some Seq.map Seq.nth Why can't I Seq.take more than 5 values? Whilst trying to understand Seq.unfold, I have been playing with the following F# that produces a sequence of the triangle number...
[ 0.018310546875, 0.011474609375, 0.01904296875, -0.005615234375, -0.01104736328125, -0.0045166015625, -0.00186920166015625, 0.0093994140625, 0.00726318359375, -0.02587890625, 0.008544921875, 0.0034027099609375, 0.023681640625, 0.0191650390625, 0.0050048828125, 0.0157470703125, 0.01202...
[ 44084, 831, 3768, 18, 503, 864, 5, 78219, 1286, 3501, 190, 142424, 87, 3742, 1927, 184, 309, 42822, 62346, 19, 927, 31577, 28219, 75169, 25632, 563, 4904, 27489, 40, 944, 109217, 101935, 37202, 4488, 5885, 45831, 7108, 14012, 89778, 34292...
[ 0.12451171875, 0.1099853515625, 0.0543212890625, 0.0699462890625, 0.136474609375, 0.2354736328125, 0.06329345703125, 0.17626953125, 0.1182861328125, 0.062255859375, 0.185546875, 0.2301025390625, 0.01141357421875, 0.01434326171875, 0.14306640625, 0.1407470703125, 0.05438232421875, 0...
embed