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
42048139_c0
42048139
fsharp
0
Title: Fsharp.Data XmlProvider incorrect type inference to DateTime Problem title: Fsharp.Data XmlProvider incorrect type inference to DateTime Tags: f%23-data, f%23 Problem: Fsharp.Data XmlProvider incorrect type inference to DateTime I was pleasantly surprised to find the the XmlProvider tries to infers types. But I ...
Fsharp.Data XmlProvider incorrect type inference to DateTime Fsharp.Data XmlProvider incorrect type inference to DateTime f%23-data f%23 Fsharp.Data XmlProvider DateTime sample.Scan.ScannerVersion.Value System.DateTime Date Day DayOfWeek Saturday DayOfYear Hour Kind Local Millisecond Minute Month Second Ticks TimeOfDay...
[ 0.018798828125, 0.02783203125, 0.0167236328125, 0.01104736328125, -0.0218505859375, 0.004547119140625, -0.0150146484375, 0.0196533203125, -0.0107421875, -0.01068115234375, 0.0234375, 0.0021209716796875, 0.0084228515625, -0.014404296875, 0.006805419921875, -0.0040283203125, 0.01660156...
[ 563, 89280, 254, 137989, 1193, 7237, 177997, 62160, 214552, 10644, 53498, 47, 25512, 70059, 10135, 3742, 121413, 4398, 408, 178390, 50770, 12353, 86291, 10013, 132887, 72864, 133250, 27435, 24172, 191633, 136043, 77648, 2371, 19055, 97141, 42552,...
[ 0.056640625, 0.176025390625, 0.143310546875, 0.1220703125, 0.054290771484375, 0.1451416015625, 0.1767578125, 0.1392822265625, 0.1351318359375, 0.2093505859375, 0.1873779296875, 0.038665771484375, 0.1195068359375, 0.2265625, 0.0662841796875, 0.03314208984375, 0.08203125, 0.021881103...
embed
43455264_c1
43455264
fsharp
1
by removing the specific branch of the match that had a when expression in it: let describe tree = match tree with | Leaf n -> sprintf "Leaf containing %d" n | Branch subTree -> sprintf "Normal tree with sub-tree %A" subTree This version of describe returns the "Normal tree" string for both the sapling and twoLeafTree...
by removing the specific branch of the match that had a when expression in it: let describe tree = match tree with | Leaf n -> sprintf "Leaf containing %d" n | Branch subTree -> sprintf "Normal tree with sub-tree %A" subTree This version of describe returns the "Normal tree" string for both the sapling and twoLeafTree...
[ 0.00457763671875, 0.01300048828125, -0.01312255859375, 0.00136566162109375, 0.01019287109375, -0.006011962890625, -0.0185546875, 0.008056640625, 0.0167236328125, 0.03369140625, 0.0205078125, 0.003997802734375, 0.000812530517578125, 0.00188446044921875, 0.0220947265625, 0.00069808959960...
[ 49146, 6496, 29458, 32845, 14858, 3229, 125195, 98363, 53201, 678, 2407, 653, 145320, 420, 5267, 70541, 71, 21110, 1614, 62731, 50645, 2749, 62600, 11389, 30646, 79315, 14331, 2069, 6626, 1360, 33720, 27781, 136, 113, 154186, 169022, 563, 490...
[ 0.06011962890625, 0.00213623046875, 0.052734375, 0.06427001953125, 0.1973876953125, 0.1630859375, 0.18310546875, 0.261962890625, 0.193603515625, 0.0147552490234375, 0.117431640625, 0.007843017578125, 0.074462890625, 0.080322265625, 0.0168914794921875, 0.0743408203125, 0.0000915527343...
embed
10731173_c0
10731173
fsharp
0
Title: Using Array.map on an array of arrays Problem title: Using Array.map on an array of arrays Tags: f%23, arrays Problem: Using Array.map on an array of arrays I have an array of arrays P, which represents a Matrix, as an array of row vectors (that representation is more convenient for my purposes), and I want to e...
Using Array.map on an array of arrays Using Array.map on an array of arrays f%23 arrays Using Array.map Using Array.map on an array of arrays I have an array of arrays P, which represents a Matrix, as an array of row vectors (that representation is more convenient for my purposes), and I want to extract the column-vect...
[ 0.0086669921875, 0.00799560546875, 0.0089111328125, 0.0281982421875, -0.006622314453125, -0.019775390625, -0.0034942626953125, -0.000896453857421875, 0.005523681640625, -0.02392578125, -0.0103759765625, 0.01275634765625, -0.0057373046875, 0.006591796875, -0.0169677734375, -0.0046386718...
[ 345, 69253, 53, 5, 62346, 98, 10298, 111, 4778, 1238, 3949, 3742, 436, 33636, 194234, 15555, 22834, 22230, 18811, 142267, 60042, 125663, 3365, 316, 272, 18770, 1647, 27875, 35782, 9969, 1340, 81, 170, 17368, 39933, 14700, 42, 532, 425, 36...
[ 0.0350341796875, 0.1717529296875, 0.1455078125, 0.042755126953125, 0.2325439453125, 0.048828125, 0.147705078125, 0.053466796875, 0.078369140625, 0.054443359375, 0.011322021484375, 0.1380615234375, 0.0780029296875, 0.125732421875, 0.158203125, 0.1708984375, 0.153076171875, 0.0664062...
embed
74862372_c0
74862372
fsharp
0
Title: Using optional variables in query Problem title: Using optional variables in query Tags: linq, f%23 Problem: Using optional variables in query I have a search type which is used to query the database as follows, type UserSearch = { limit: int option skip: int option } I'm using SQLProvider and would like to use ...
Using optional variables in query Using optional variables in query linq f%23 Using UserSearch SQLProvider Db.getDataContext MyDb.Users searchParams.limit.IsSome searchParams.limit.Value searchParams.skip.IsSome searchParams.skip.Value Seq.toArray Using optional variables in query I have a search type which is used to ...
[ 0.0184326171875, 0.011474609375, 0.00121307373046875, 0.000025272369384765625, -0.021484375, 0.003204345703125, 0.0032196044921875, -0.00494384765625, 0.0054931640625, -0.040283203125, 0.016845703125, 0.0002288818359375, 0.01220703125, 0.0023345947265625, 0.011962890625, 0.022338867187...
[ 345, 35829, 289, 77336, 7, 41, 1294, 44982, 3742, 53400, 221175, 80866, 177997, 62160, 22829, 33938, 28636, 8256, 93343, 856, 50770, 44024, 864, 188, 7614, 7092, 23, 10644, 11814, 63399, 17368, 1884, 4527, 17475, 136, 21658, 2071, 7722, 435...
[ 0.0513916015625, 0.2122802734375, 0.123046875, 0.24365234375, 0.0465087890625, 0.1492919921875, 0.114501953125, 0.13232421875, 0.096923828125, 0.0770263671875, 0.18212890625, 0.07305908203125, 0.14208984375, 0.1351318359375, 0.03350830078125, 0.169189453125, 0.041595458984375, 0.03...
embed
37336201_c0
37336201
fsharp
0
Title: f# type provider inheritance Problem title: f# type provider inheritance Tags: f%23, inheritance, type-providers Problem: f# type provider inheritance I have designed a simple type provider which provide types depending on my parameter. I would like to know if it is possible to define ProvidedTypeDefinitions tha...
f# type provider inheritance f# type provider inheritance f%23 inheritance type-providers People Student Teacher x:People Nothing f# type provider inheritance I have designed a simple type provider which provide types depending on my parameter. I would like to know if it is possible to define ProvidedTypeDefinitions th...
[ 0.008056640625, 0.01104736328125, -0.01318359375, 0.027587890625, -0.023681640625, -0.0159912109375, -0.0004405975341796875, 0.01043701171875, 0.0030670166015625, -0.0322265625, 0.007354736328125, -0.005126953125, -0.000545501708984375, 0.0233154296875, 0.00958251953125, 0.007263183593...
[ 1238, 4904, 10644, 81450, 23, 3334, 217, 7154, 3949, 3742, 93136, 41021, 26696, 165136, 1022, 243238, 182747, 87, 82775, 8781, 22691, 52895, 96819, 98, 759, 171859, 1884, 3714, 7722, 61924, 123089, 71, 196707, 187423, 943, 5256, 15700, 1363, ...
[ 0.096923828125, 0.1763916015625, 0.195068359375, 0.216064453125, 0.040008544921875, 0.14501953125, 0.05511474609375, 0.0184478759765625, 0.0284271240234375, 0.07763671875, 0.1602783203125, 0.09344482421875, 0.1134033203125, 0.1287841796875, 0.0140380859375, 0.0638427734375, 0.0329895...
embed
70184506_c0
70184506
fsharp
0
Title: What's the idiomatic way to make replayable sequences in F#? Problem title: What's the idiomatic way to make replayable sequences in F#? Tags: f%23, lazy-evaluation, seq, lazy-sequences Problem: What's the idiomatic way to make replayable sequences in F#? I just started using this year's Advent of Code...
What's the idiomatic way to make replayable sequences in F#? What's the idiomatic way to make replayable sequences in F#? f%23 lazy-evaluation seq lazy-sequences the What IEnumerable File.ReadLines Read File.ReadAllLines file.txt Array.ofSeq List.ofSeq Lazily Seq.cache Start Seq.delay System.IO.File.ReadLines...
[ -0.006866455078125, 0.002471923828125, 0.004425048828125, 0.0289306640625, -0.007476806640625, -0.00970458984375, 0.01416015625, 0.0185546875, -0.00836181640625, -0.033203125, -0.028564453125, 0.039794921875, -0.0157470703125, 0.02197265625, 0.0164794921875, 0.0247802734375, -0.01574...
[ 3768, 49666, 9523, 3917, 3249, 456, 20706, 2886, 40, 26513, 5170, 563, 4904, 1238, 3742, 21, 3285, 159258, 864, 184, 4865, 75536, 2606, 56, 42724, 31345, 93232, 4764, 43512, 11435, 124326, 32036, 239, 708, 503, 112, 5259, 17780, 174350, 2...
[ 0.0653076171875, 0.21728515625, 0.157470703125, 0.07916259765625, 0.0970458984375, 0.1260986328125, 0.222412109375, 0.14697265625, 0.09259033203125, 0.1912841796875, 0.055419921875, 0.1199951171875, 0.20361328125, 0.016510009765625, 0.031219482421875, 0.08807373046875, 0.156860351562...
embed
71553582_c0
71553582
fsharp
0
Title: F# object initializer syntax not working for simple case Problem title: F# object initializer syntax not working for simple case Tags: f%23 Problem: F# object initializer syntax not working for simple case In C#, this object initialization syntax works perfectly fine: using System.Net; var p = new WebProxy{Addre...
F# object initializer syntax not working for simple case F# object initializer syntax not working for simple case f%23 System.Net WebProxy Address Uri System FS0041 Known Candidates F# object initializer syntax not working for simple case In C#, this object initialization syntax works perfectly fine: To my understandin...
[ 0.00701904296875, 0.0196533203125, -0.01373291015625, -0.016845703125, 0.0040283203125, -0.01806640625, -0.01019287109375, -0.004791259765625, 0.006866455078125, -0.0037384033203125, 0.010986328125, -0.00469970703125, 0.015380859375, -0.00616455078125, 0.00927734375, -0.0107421875, -...
[ 563, 4904, 36746, 61475, 52825, 6002, 86531, 959, 20697, 100, 8781, 7225, 1238, 3742, 12353, 24447, 4002, 10752, 50878, 49990, 130885, 93774, 135401, 418, 70829, 194215, 903, 47691, 43240, 169123, 5885, 100094, 183234, 6044, 6713, 1884, 35064, ...
[ 0.10711669921875, 0.2020263671875, 0.201416015625, 0.153564453125, 0.1209716796875, 0.1414794921875, 0.1478271484375, 0.046142578125, 0.1275634765625, 0.0284271240234375, 0.1181640625, 0.133544921875, 0.06097412109375, 0.103759765625, 0.06524658203125, 0.09063720703125, 0.0380859375,...
embed
8241280_c0
8241280
fsharp
0
Title: Simplify record assignment in F# Problem title: Simplify record assignment in F# Tags: f%23, measure, record Problem: Simplify record assignment in F# let's say I defined a module to handle vectors with measure unit in F#: module Vec [<Measure>] type m type Vector3<[<Measure>] 'a> = { X : float<'a> Y : float<'a>...
Simplify record assignment in F# Simplify record assignment in F# f%23 measure record Simplify Vec Measure Vector3 my_var Simplify record assignment in F# let's say I defined a module to handle vectors with measure unit in F#: now I would like to create a variable with let holding a Vector3 . I can do something like : ...
[ -0.015869140625, 0.000507354736328125, -0.01348876953125, 0.011474609375, 0.00775146484375, -0.017578125, -0.0203857421875, 0.00102996826171875, 0.02685546875, 0.0106201171875, 0.0042724609375, -0.013427734375, 0.024169921875, -0.0208740234375, -0.005462646484375, 0.00171661376953125, ...
[ 55331, 28574, 53, 17164, 95486, 563, 4904, 1238, 3949, 3742, 72350, 52884, 1215, 11, 2609, 18770, 363, 759, 1961, 61924, 88996, 34831, 22834, 22230, 25072, 1884, 28282, 77336, 2633, 104064, 5915, 112892, 18929, 96362, 6002, 86531, 71864, 2945...
[ 0.163818359375, 0.17578125, 0.0770263671875, 0.21728515625, 0.2099609375, 0.1519775390625, 0.2115478515625, 0.0859375, 0.008544921875, 0.1373291015625, 0.1712646484375, 0.16796875, 0.06365966796875, 0.0931396484375, 0.1781005859375, 0.16259765625, 0.1650390625, 0.1212158203125, 0...
embed
40300249_c1
40300249
fsharp
1
</HintPath> </Reference> I've also tried setting copy local to true and ensuring that the assembly in the deployed path - this didn't work (and shouldn't be required either - when using a C# application that does the interop, it correctly locates it). A second form I've seen looks like this: - <COMReference Include="Mi...
</HintPath> </Reference> I've also tried setting copy local to true and ensuring that the assembly in the deployed path - this didn't work (and shouldn't be required either - when using a C# application that does the interop, it correctly locates it). A second form I've seen looks like this: - <COMReference Include="Mi...
[ -0.0157470703125, 0.00946044921875, 0.0028228759765625, -0.00124359130859375, 0.00469970703125, -0.00189971923828125, -0.0172119140625, -0.026611328125, 0.0064697265625, 0.0013885498046875, -0.01434326171875, -0.0084228515625, 0.00174713134765625, 0.0166015625, 0.005035400390625, 0.001...
[ 841, 4288, 683, 10519, 4332, 69988, 13, 37842, 53550, 43658, 4000, 47, 29568, 7, 89845, 38526, 8, 13158, 53, 60875, 18, 4488, 56065, 313, 4904, 38415, 1940, 2146, 26785, 64040, 442, 17932, 3173, 51592, 33342, 16113, 822, 113387, 94833, 44...
[ 0.0572509765625, 0.1177978515625, 0.07672119140625, 0.14697265625, 0.021820068359375, 0.203125, 0.0145111083984375, 0.05303955078125, 0.0838623046875, 0.190673828125, 0.156982421875, 0.00396728515625, 0.1761474609375, 0.0239715576171875, 0.20361328125, 0.070068359375, 0.075927734375,...
embed
11146825_c0
11146825
fsharp
0
Title: What&#x27;s the difference between an option type and a nullable type? Problem title: What&#x27;s the difference between an option type and a nullable type? Tags: null, f%23 Problem: What's the difference between an option type and a nullable type? In F# mantra there seems to be a visceral avoidance of null , Nu...
What&#x27;s the difference between an option type and a nullable type? What&#x27;s the difference between an option type and a nullable type? null f%23 What Nullable None Option What's the difference between an option type and a nullable type? In F# mantra there seems to be a visceral avoidance of null , Nullable<T> an...
[ 0.0164794921875, -0.006683349609375, 0.019775390625, 0.00592041015625, -0.00225830078125, -0.00848388671875, 0.01104736328125, -0.009765625, 0.011962890625, 0.033935546875, -0.005218505859375, -0.022705078125, 0.0021514892578125, 0.005157470703125, -0.0037994384765625, 0.0260009765625,...
[ 4865, 3768, 70, 60212, 17721, 35829, 10644, 136, 9229, 2661, 142, 10, 56574, 1238, 3742, 27786, 438, 86, 86769, 7, 563, 4904, 332, 1517, 4498, 3443, 71864, 7154, 618, 4304, 121122, 64457, 4527, 52895, 1957, 100094, 114864, 40140, 831, 705...
[ 0.00933837890625, 0.0654296875, 0.06024169921875, 0.19091796875, 0.113525390625, 0.26318359375, 0.261474609375, 0.0970458984375, 0.22265625, 0.2264404296875, 0.04241943359375, 0.044189453125, 0.207275390625, 0.03509521484375, 0.060089111328125, 0.1971435546875, 0.1114501953125, 0.1...
embed
49597987_c0
49597987
fsharp
0
Title: Polymorphism with Generics and common fields Problem title: Polymorphism with Generics and common fields Tags: f%23 Problem: Polymorphism with Generics and common fields Had this question answered and is somewhat similar but this question requires using Generics while enforcing parameter type to have some common...
Polymorphism with Generics and common fields Polymorphism with Generics and common fields f%23 Polymorphism Generics Document Name Version Console.WriteLine document.Name document.Version Polymorphism with Generics and common fields Had this question answered and is somewhat similar but this question requires using Gen...
[ 0.005828857421875, 0.013427734375, 0.00787353515625, -0.001220703125, 0.007720947265625, 0.0166015625, -0.0040283203125, -0.0135498046875, 0.0030975341796875, -0.0322265625, 0.000820159912109375, -0.037109375, 0.002349853515625, -0.0218505859375, -0.004669189453125, -0.015869140625, ...
[ 63306, 178851, 8780, 678, 88342, 28021, 136, 39210, 44457, 1238, 3949, 3742, 43101, 15757, 40647, 40777, 18781, 93232, 12937, 163612, 178390, 21373, 9655, 144570, 17368, 12960, 22, 2472, 171859, 10644, 3060, 8647, 18499, 20949, 83, 42079 ]
[ 0.2120361328125, 0.25341796875, 0.11474609375, 0.1197509765625, 0.207763671875, 0.172119140625, 0.05670166015625, 0.18115234375, 0.2298583984375, 0.046539306640625, 0.06439208984375, 0.1251220703125, 0.10321044921875, 0.0604248046875, 0.1298828125, 0.1190185546875, 0.0230255126953125...
embed
31148101_c0
31148101
fsharp
0
Title: How to use nuget install package for F# script without a solution? Problem title: How to use nuget install package for F# script without a solution? Tags: nuget, f%23 Problem: How to use nuget install package for F# script without a solution? I'm trying to write a F# script file. So I use Visual studio "File->Ne...
How to use nuget install package for F# script without a solution? How to use nuget install package for F# script without a solution? nuget f%23 InvalidOperationException How Install-Package FSharp.Data line:1 char:1 CategoryInfo InvalidOperation FullyQualifiedErrorId NuGetNoActiveSolution NuGet.PowerShell.Commands.Ins...
[ -0.004119873046875, 0.021728515625, -0.002044677734375, 0.0016021728515625, -0.01348876953125, -0.000888824462890625, 0.0228271484375, -0.02392578125, -0.01007080078125, 0.00051116943359375, 0, -0.005584716796875, -0.002960205078125, 0.01019287109375, 0.0218505859375, -0.006103515625, ...
[ 11249, 47, 4527, 315, 3794, 20600, 98169, 100, 563, 4904, 26499, 15490, 10, 29806, 1238, 3949, 3742, 7013, 156823, 63928, 107951, 205956, 93774, 3467, 254, 137989, 21441, 49057, 93147, 9312, 178476, 18468, 1429, 724, 164414, 102588, 34, 126, ...
[ 0.041534423828125, 0.00238037109375, 0.124267578125, 0.188232421875, 0.280517578125, 0.156982421875, 0.1527099609375, 0.042236328125, 0.1209716796875, 0.1883544921875, 0.155517578125, 0.1182861328125, 0.0272216796875, 0.14599609375, 0.0770263671875, 0.007720947265625, 0.1080322265625...
embed
72820601_c0
72820601
fsharp
0
Title: Semaphores in a recursive loop, in F# Problem title: Semaphores in a recursive loop, in F# Tags: f%23 Problem: Semaphores in a recursive loop, in F# I have many threads running the same recursive loop with different parameters. Since the loop does download files from an AWS service and writes data to a database,...
Semaphores in a recursive loop, in F# Semaphores in a recursive loop, in F# f%23 Semaphores executionSemaphores.WaitOne executionSemaphores.Release Semaphores in a recursive loop, in F# I have many threads running the same recursive loop with different parameters. Since the loop does download files from an AWS service ...
[ -0.007476806640625, 0.014892578125, -0.00101470947265625, -0.00157928466796875, -0.007232666015625, 0.0054931640625, 0.01165771484375, 0.01068115234375, 0.0030059814453125, -0.0225830078125, 0.008544921875, 0.005035400390625, 0.00897216796875, 0.01611328125, 0.0279541015625, -0.0143432...
[ 503, 192, 139006, 90, 195625, 5844, 40956, 563, 4904, 23, 1238, 3742, 71924, 22489, 217, 62068, 4332, 133, 5941, 86997, 51042, 5701, 12921, 171859, 7026, 102158, 62, 52143, 4516, 33022, 63399, 40337, 2069, 484, 11, 8781, 11389, 31089, 12638...
[ 0.1190185546875, 0.1456298828125, 0.25634765625, 0.107421875, 0.20263671875, 0.0926513671875, 0.2193603515625, 0.09039306640625, 0.147705078125, 0.009033203125, 0.027587890625, 0.1180419921875, 0.133056640625, 0.109619140625, 0.07537841796875, 0.1943359375, 0.053253173828125, 0.148...
embed
74880548_c0
74880548
fsharp
0
Title: Partition with predicate Problem title: Partition with predicate Tags: lambda, f%23, partition, predicate Problem: Partition with predicate So I have a list type: type ConsList<'value> = | Cons of head: 'value * tail: ConsList<'value> | Empty And a partition function for it: let rec partition lst pivot = match l...
Partition with predicate Partition with predicate lambda f%23 partition predicate Partition ConsList Cons Empty FS0002 Partition with predicate So I have a list type: And a partition function for it: But I need to make a function that accepts a predicate and distributes elements according to it into the first or second...
[ -0.0211181640625, 0.0023651123046875, -0.002532958984375, -0.01513671875, -0.0093994140625, 0.013916015625, -0.0003871917724609375, -0.0091552734375, -0.0064697265625, -0.01080322265625, 0.0003509521484375, 0.00946044921875, 0.00482177734375, -0.007293701171875, 0.006103515625, -0.0005...
[ 9148, 1363, 678, 1653, 2063, 67, 21, 6492, 85, 1238, 3949, 3742, 2878, 39215, 154663, 31678, 93774, 9508, 304, 5303, 10644, 32354, 3871, 3249, 26946, 15917, 80854, 59499, 3934, 5117, 707, 17932, 16498, 88, 195, 33079, 1745, 116, 757, 271,...
[ 0.256103515625, 0.1009521484375, 0.1722412109375, 0.1943359375, 0.224365234375, 0.0714111328125, 0.052490234375, 0.1768798828125, 0.102783203125, 0.06524658203125, 0.0816650390625, 0.154052734375, 0.2208251953125, 0.1297607421875, 0.1500244140625, 0.140625, 0.118896484375, 0.137573...
embed
48969362_c0
48969362
fsharp
0
Title: Recursion in F# | What&#x27;s happening? Problem title: Recursion in F# | What&#x27;s happening? Tags: f%23, recursion Problem: Recursion in F# | What's happening? I've found a basic example of an f# recursive function that takes a list and returns a list of only even integers. I understand it for the most part,...
Recursion in F# | What&#x27;s happening? Recursion in F# | What&#x27;s happening? f%23 recursion Recursion What _::tail Recursion in F# | What's happening? I've found a basic example of an f# recursive function that takes a list and returns a list of only even integers. I understand it for the most part, but there's a ...
[ -0.01373291015625, 0.0174560546875, 0.024169921875, -0.0003757476806640625, 0.006256103515625, 0.0306396484375, -0.001190185546875, 0.00885009765625, 0.00982666015625, 0.0024871826171875, 0.042724609375, -0.0303955078125, -0.000560760498046875, 0.017822265625, 0.0218505859375, -0.00506...
[ 165428, 42, 6889, 23, 563, 4904, 58745, 4865, 3768, 123087, 1238, 3742, 195625, 1830, 101, 12, 46741, 7, 62822, 27781, 5844, 32354, 51776, 5303, 30646, 4734, 3853, 892, 26255, 28219, 55681, 13315, 14858, 90, 10336, 5908, 12301, 5659, 3611, ...
[ 0.1817626953125, 0.1971435546875, 0.1572265625, 0.06170654296875, 0.1319580078125, 0.2276611328125, 0.000213623046875, 0.0521240234375, 0.025970458984375, 0.139892578125, 0.11474609375, 0.0361328125, 0.2257080078125, 0.08154296875, 0.07379150390625, 0.0623779296875, 0.279296875, 0....
embed
14533489_c0
14533489
fsharp
0
Title: F# remove function handler Problem title: F# remove function handler Tags: f%23, .net, events Problem: F# remove function handler So, I have a function that I want to execute on an event trigger, but I want to remove it later. What do I do for this? I know that F# events have the Add method that adds a function ...
F# remove function handler F# remove function handler f%23 .net events Add Foo type1 type2 Define _someEvent Event SomeEvent someEvent.Publish Normally SomeEvent.Add Argument Trigger someEvent.Trigger Hello F# remove function handler So, I have a function that I want to execute on an event trigger, but I want to remove...
[ -0.02197265625, 0.0235595703125, 0.005279541015625, -0.00213623046875, -0.0284423828125, -0.0203857421875, 0.00469970703125, -0.017578125, -0.005889892578125, -0.0361328125, 0.0019683837890625, 0.004180908203125, -0.0216064453125, 0.01007080078125, 0.005035400390625, -0.01904296875, ...
[ 563, 4904, 87388, 32354, 35863, 1238, 3742, 1179, 47353, 29117, 9572, 31, 10644, 418, 304, 64552, 192134, 36943, 31384, 3060, 143145, 15227, 28723, 4028, 112140, 4699, 21407, 74257, 35378, 765, 3444, 47, 71924, 98, 19732, 185553, 1284, 442, ...
[ 0.15087890625, 0.2061767578125, 0.213623046875, 0.2457275390625, 0.2724609375, 0.0858154296875, 0.1143798828125, 0.1026611328125, 0.156982421875, 0.1300048828125, 0.1878662109375, 0.1470947265625, 0.1412353515625, 0.00030517578125, 0.06658935546875, 0.098388671875, 0.1689453125, 0....
embed
66740258_c0
66740258
fsharp
0
Title: Is there a standard F# function for separating a sequence of Choices? Problem title: Is there a standard F# function for separating a sequence of Choices? Tags: f%23 Problem: Is there a standard F# function for separating a sequence of Choices? I'm looking for a standard F# function that takes a sequence of 2-ch...
Is there a standard F# function for separating a sequence of Choices? Is there a standard F# function for separating a sequence of Choices? f%23 Choices Choice Seq.choose Choice1Of2 Some None Choice2Of2 List Array Is there a standard F# function for separating a sequence of Choices? I'm looking for a standard F# functi...
[ 0.005340576171875, -0.00665283203125, 0.027587890625, 0.017578125, -0.0213623046875, 0.0031280517578125, -0.0184326171875, 0.00946044921875, 0.00677490234375, 0.0106201171875, -0.0213623046875, 0.0078125, 0.003692626953125, 0.00469970703125, -0.01300048828125, -0.00921630859375, 0.00...
[ 2071, 2685, 10, 5570, 563, 4904, 32354, 100, 38310, 214, 40, 944, 3956, 111, 181948, 7, 1238, 3949, 3742, 503, 864, 3089, 8364, 132887, 304, 31384, 438, 32036, 69253, 53, 16487, 51776, 4720, 2980, 30646, 80836, 26513, 24, 5844, 208124, ...
[ 0.022705078125, 0.0693359375, 0.0657958984375, 0.2242431640625, 0.1488037109375, 0.2412109375, 0.2198486328125, 0.0594482421875, 0.251708984375, 0.128173828125, 0.0806884765625, 0.1552734375, 0.1055908203125, 0.08563232421875, 0.259765625, 0.0950927734375, 0.0714111328125, 0.001220...
embed
37651781_c0
37651781
fsharp
0
Title: Consuming a custom event in F# Problem title: Consuming a custom event in F# Tags: f%23 Problem: Consuming a custom event in F# Event handling in F# is really causing headache for me. The error I'm facing is This expression was expected to have type obj -> unit but here has type System.EventHandler<obj> I'm publ...
Consuming a custom event in F# Consuming a custom event in F# f%23 Consuming System.EventHandler Control.Event CLIEvent this.DataChanged dataChanged.Publish this.NotifyDataChanged dataChanged.Trigger this.DataItems_DataChanged this.DataItems.DataChanged.Add Consuming a custom event in F# Event handling in F# is really ...
[ -0.00165557861328125, 0.0244140625, -0.01275634765625, -0.006103515625, -0.0133056640625, -0.0115966796875, -0.009033203125, 0.01336669921875, 0.0024566650390625, -0.0322265625, -0.00921630859375, -0.0096435546875, -0.006622314453125, 0.0162353515625, 0.006134033203125, -0.006225585937...
[ 76980, 214, 10, 114122, 19732, 23, 563, 4904, 1238, 3949, 3742, 12353, 192134, 135679, 603, 27131, 10927, 903, 137989, 127008, 17704, 2053, 143145, 15227, 122116, 40383, 74257, 21407, 2982, 4028, 36943, 45064, 6183, 216806, 10336, 46994, 163, ...
[ 0.235595703125, 0.0760498046875, 0.013763427734375, 0.244140625, 0.219482421875, 0.03570556640625, 0.17578125, 0.2369384765625, 0.1099853515625, 0.045928955078125, 0.1494140625, 0.0860595703125, 0.17431640625, 0.11083984375, 0.0869140625, 0.1246337890625, 0.118408203125, 0.13342285...
embed
59175831_c1
59175831
fsharp
1
type MyInputString = {Response : string} // Message type Message = |ShowResponse |Error let getFromAPI = getMe |> sprintf "%A" //Update let update msg model = match msg with |ShowResponse -> {Response = getFromAPI } |Error -> {Response = "Errrrrr"} //Helper function let text(content:string) : ReactElement = unbox cont...
type MyInputString = {Response : string} // Message type Message = |ShowResponse |Error let getFromAPI = getMe |> sprintf "%A" //Update let update msg model = match msg with |ShowResponse -> {Response = getFromAPI } |Error -> {Response = "Errrrrr"} //Helper function let text(content:string) : ReactElement = unbox cont...
[ -0.040771484375, 0.0164794921875, 0.00921630859375, 0.006011962890625, 0.00830078125, -0.00091552734375, 0.0172119140625, -0.0032958984375, 0.001800537109375, -0.029296875, 0.0191650390625, -0.0064697265625, -0.01177978515625, 0.01239013671875, 0.020751953125, -0.00494384765625, 0.02...
[ 10644, 2646, 4153, 7077, 71713, 214, 2203, 94399, 152, 79315, 4666, 48205, 4588, 6, 58745, 168660, 13, 18468, 31611, 2633, 2046, 168407, 74220, 6696, 2740, 145320, 420, 3949, 284, 58, 152872, 28350, 68163, 177, 3299, 14858, 678, 51912, 3307...
[ 0.239990234375, 0.183837890625, 0.146484375, 0.1978759765625, 0.22314453125, 0.119873046875, 0.0777587890625, 0.267822265625, 0.08673095703125, 0.2137451171875, 0.1016845703125, 0.1993408203125, 0.1480712890625, 0.00445556640625, 0.005096435546875, 0.182861328125, 0.045196533203125, ...
embed
41694318_c1
41694318
fsharp
1
fun:run@329> 200 Bind:: <fun:Bind@292-2> <fun:move@322> 200 Bind:: <fun:Get@301> <fun:turn@312> 200 Get :: (5, 5) 200 turn:: (5, 5) 100 Get 100 Bind:: <fun:Get@301> <fun:turn@314-1> 200 Bind:: <fun:Get@301> <fun:turn@314-1> 200 Get :: (5, 5) 300 turn:: (5, 5) 100 ReturnFrom <fun:Put@304> 200 move:: <null> 100 Return <n...
fun:run@329> 200 Bind:: <fun:Bind@292-2> <fun:move@322> 200 Bind:: <fun:Get@301> <fun:turn@312> 200 Get :: (5, 5) 200 turn:: (5, 5) 100 Get 100 Bind:: <fun:Get@301> <fun:turn@314-1> 200 Bind:: <fun:Get@301> <fun:turn@314-1> 200 Get :: (5, 5) 300 turn:: (5, 5) 100 ReturnFrom <fun:Put@304> 200 move:: <null> 100 Return <n...
[ -0.0272216796875, 0.01007080078125, 0.017822265625, 0.019287109375, -0.0002956390380859375, 0.0264892578125, -0.00106048583984375, -0.0140380859375, 0.0128173828125, -0.013916015625, -0.0140380859375, 0.02978515625, -0.01611328125, 0.0150146484375, 0.00823974609375, 0.007171630859375, ...
[ 7477, 16428, 981, 363, 4235, 1781, 16666, 71, 16498, 7250, 304, 5428, 432, 272, 4015, 724, 126, 122367, 987, 1530, 20779, 1984, 11516, 21162, 15504, 805, 5016, 115178, 2668, 173340, 168407, 27559, 167555, 25813, 139550, 28219, 5117, 190, 12...
[ 0.20751953125, 0.1580810546875, 0.0255279541015625, 0.052215576171875, 0.216796875, 0.2152099609375, 0.228759765625, 0.198974609375, 0.1224365234375, 0.140625, 0.1016845703125, 0.05157470703125, 0.074951171875, 0.08343505859375, 0.041778564453125, 0.012786865234375, 0.07037353515625,...
embed
1147008_c0
1147008
fsharp
0
Title: F# Fork pipe Problem title: F# Fork pipe Tags: f%23 Problem: F# Fork pipe I have the following (working) bit of code: let a = File.ReadAllLines("C:\ColorTable.dat") |> Array.filter (fun i -> i.StartsWith(" ")) |> Array.iter (fun i -> Console.WriteLine(@"ColorList.Add({0}, ""{1}"");", extract_num i, extract_col i...
F# Fork pipe F# Fork pipe f%23 Fork File.ReadAllLines ColorTable.dat Array.filter i.StartsWith Array.iter Console.WriteLine ColorList.Add extract_num extract_col f.WriteLine F# Fork pipe I have the following (working) bit of code: The functions extract_num and extract_col apply a regex to the line of the file and extra...
[ 0.00933837890625, -0.0291748046875, -0.0030670166015625, 0.01190185546875, -0.009765625, 0.0013427734375, 0.0048828125, -0.0034027099609375, 0.0003662109375, 0.0103759765625, -0.0052490234375, 0.0301513671875, -0.01007080078125, 0.011474609375, -0.00066375732421875, 0.00193023681640625...
[ 563, 4904, 1326, 92, 137158, 1238, 3742, 42724, 31345, 43512, 93232, 51193, 618, 2886, 5164, 120337, 126597, 16840, 40777, 154663, 4028, 125663, 2606, 8447, 25632, 174796, 4785, 18151, 32354, 136, 59911, 6835, 3355, 13315, 11435, 2831, 28412, ...
[ 0.115966796875, 0.1693115234375, 0.2017822265625, 0.1373291015625, 0.1983642578125, 0.04022216796875, 0.150634765625, 0.122314453125, 0.112060546875, 0.06085205078125, 0.130859375, 0.109619140625, 0.0455322265625, 0.1102294921875, 0.055908203125, 0.1173095703125, 0.0146636962890625, ...
embed
46380195_c0
46380195
fsharp
0
Title: Unable to use inheritance with multiple files in f# Problem title: Unable to use inheritance with multiple files in f# Tags: f%23 Problem: Unable to use inheritance with multiple files in f# I am having trouble with what seems to be a trivial use of inheritance in an f# project. File 1: namespace MercurySchool.M...
Unable to use inheritance with multiple files in f# Unable to use inheritance with multiple files in f# f%23 Unable MercurySchool.Models AbstractClass Resource Href Method Relations Name Description School Unable to use inheritance with multiple files in f# I am having trouble with what seems to be a trivial use of inh...
[ 0.00897216796875, 0.01953125, -0.0091552734375, 0.0277099609375, 0.0028228759765625, -0.0064697265625, 0.009521484375, 0.0091552734375, 0.00848388671875, -0.034912109375, 0.0146484375, 0.00164794921875, 0.003570556640625, 0.0228271484375, 0.0062255859375, -0.00799560546875, 0.0139770...
[ 992, 2886, 4527, 23, 3334, 217, 7154, 678, 48716, 102158, 1238, 4904, 3742, 123106, 53, 25452, 43386, 140290, 233973, 140803, 152055, 29087, 74644, 116822, 15757, 70643, 19188, 63134, 13452, 42724, 15573, 116, 18499, 438, 64549, 25251, 19882, ...
[ 0.044525146484375, 0.1309814453125, 0.1724853515625, 0.1331787109375, 0.2320556640625, 0.169677734375, 0.1544189453125, 0.1302490234375, 0.2108154296875, 0.221923828125, 0.146484375, 0.1966552734375, 0.09002685546875, 0.1658935546875, 0.07470703125, 0.10888671875, 0.1376953125, 0.1...
embed
7626652_c0
7626652
fsharp
0
Title: Is there a more generic way of iterating,filtering, applying operations on collections in F#? Problem title: Is there a more generic way of iterating,filtering, applying operations on collections in F#? Tags: f%23 Problem: Is there a more generic way of iterating,filtering, applying operations on collections in ...
Is there a more generic way of iterating,filtering, applying operations on collections in F#? Is there a more generic way of iterating,filtering, applying operations on collections in F#? f%23 System System.IO StreamReader a.h sr.EndOfStream sr.ReadLine Seq.iter Console.WriteLine Console.ReadLine List.iter Array.iter I...
[ 0.005218505859375, 0.0096435546875, 0.004638671875, -0.0164794921875, 0.005401611328125, -0.01422119140625, -0.004608154296875, -0.004364013671875, -0.0037994384765625, -0.04931640625, -0.002288818359375, 0.01202392578125, 0.00439453125, -0.0174560546875, 0.004119873046875, 0.008483886...
[ 1286, 189534, 3917, 17, 67, 98767, 120337, 214, 59911, 41018, 98, 42486, 7, 23, 563, 4904, 1238, 3742, 12353, 17780, 115061, 31345, 56, 127, 152378, 132887, 93232, 503, 864, 16840, 40777, 32036, 69253, 53, 2071, 2685, 10, 18151, 16454, 75...
[ 0.110595703125, 0.23876953125, 0.0732421875, 0.077392578125, 0.2132568359375, 0.1688232421875, 0.20703125, 0.0177764892578125, 0.1314697265625, 0.1751708984375, 0.07769775390625, 0.20703125, 0.03778076171875, 0.0382080078125, 0.119140625, 0.1878662109375, 0.043701171875, 0.11950683...
embed
4808955_c0
4808955
fsharp
0
Title: Create (pseudo) Cyclic Discriminated Unions in F# Problem title: Create (pseudo) Cyclic Discriminated Unions in F# Tags: algorithm, f%23 Problem: Create (pseudo) Cyclic Discriminated Unions in F# I've run into a small problem here. I wrote the Tortoise and Hare cycle detection algorithm . type Node = | DataNode ...
Create (pseudo) Cyclic Discriminated Unions in F# Create (pseudo) Cyclic Discriminated Unions in F# algorithm f%23 Create Cyclic Discriminated Unions Node DataNode LastNode Error Create (pseudo) Cyclic Discriminated Unions in F# I've run into a small problem here. I wrote the Tortoise and Hare cycle detection algorithm...
[ -0.00167083740234375, 0.0174560546875, -0.00104522705078125, 0.0177001953125, 0.00982666015625, -0.0245361328125, -0.00408935546875, -0.00439453125, -0.00897216796875, -0.04541015625, -0.00531005859375, 0.0238037109375, 0.000782012939453125, 0.0147705078125, 0.024658203125, 0.005249023...
[ 151313, 45616, 11547, 151612, 1771, 6206, 135421, 3674, 32528, 7, 563, 4904, 234873, 1238, 3949, 3742, 438, 11809, 5021, 21672, 112, 212059, 11675, 19336, 2967, 54397, 6653, 188, 3075, 136, 1950, 13, 105823, 149, 58994, 20697, 6782, 1650, 4...
[ 0.134521484375, 0.10137939453125, 0.1878662109375, 0.1851806640625, 0.09033203125, 0.053436279296875, 0.2021484375, 0.039215087890625, 0.2130126953125, 0.0931396484375, 0.123291015625, 0.19970703125, 0.181640625, 0.02056884765625, 0.0008544921875, 0.081298828125, 0.0792236328125, 0...
embed
23913254_c0
23913254
fsharp
0
Title: Implement a C# Interface in F# Problem title: Implement a C# Interface in F# Tags: f%23 Problem: Implement a C# Interface in F# I have the following interface in C# public interface IDog { String Bark(); } I want to create an implementation in F#. I had no problem with this: type GermanShepherd() = interface IDo...
Implement a C# Interface in F# Implement a C# Interface in F# f%23 Implement Interface IDog Bark GermanShepherd this.Bark Woof this.Eat Yummy Error Implement a C# Interface in F# I have the following interface in C# I want to create an implementation in F#. I had no problem with this: but when I added a supporting func...
[ 0.01287841796875, 0.00836181640625, 0.0015869140625, 0.004669189453125, 0.0035400390625, 0.00946044921875, -0.005218505859375, -0.005462646484375, -0.005126953125, 0.013671875, 0.00040435791015625, 0.0023040771484375, -0.0262451171875, 0.0086669921875, 0.0234375, 0.0024261474609375, ...
[ 153941, 10, 313, 4904, 220237, 23, 563, 1238, 3949, 3742, 11338, 1663, 3253, 92, 30839, 72859, 94266, 71, 903, 25267, 89568, 420, 647, 257, 173903, 1176, 212059, 25632, 101758, 3444, 28282, 208124, 2967, 49814, 8060, 32354, 959, 2831, 1884,...
[ 0.282958984375, 0.07470703125, 0.089111328125, 0.26513671875, 0.296630859375, 0.083251953125, 0.171875, 0.09857177734375, 0.04595947265625, 0.1573486328125, 0.09527587890625, 0.1685791015625, 0.147705078125, 0.1173095703125, 0.144775390625, 0.08746337890625, 0.1656494140625, 0.0281...
embed
28894696_c0
28894696
fsharp
0
Title: Tips on writing a duplicate file finder in F# Problem title: Tips on writing a duplicate file finder in F# Tags: hashmap, f%23, algorithm Problem: Tips on writing a duplicate file finder in F# I am new to programming and F# is my first .NET language as well as my first functional language. As a beginner's projec...
Tips on writing a duplicate file finder in F# Tips on writing a duplicate file finder in F# hashmap f%23 algorithm Tips Tips on writing a duplicate file finder in F# I am new to programming and F# is my first .NET language as well as my first functional language. As a beginner's project, I would like to try implementin...
[ -0.0030670166015625, 0.01373291015625, -0.0025787353515625, -0.0086669921875, -0.01397705078125, -0.0089111328125, -0.0050048828125, -0.00677490234375, -0.0052490234375, -0.0267333984375, -0.01300048828125, 0.048095703125, 0.0167236328125, 0.031494140625, -0.0025177001953125, 0.0143432...
[ 13785, 32562, 171763, 67, 11435, 32843, 563, 4904, 98, 256, 80425, 254, 1238, 3949, 3742, 234873, 23, 3525, 47, 56037, 5117, 17777, 46876, 123309, 9842, 13452, 1884, 9790, 29479, 10002, 6305, 72977, 29191, 156673, 118664, 5570, 65572, 166904,...
[ 0.15234375, 0.1900634765625, 0.255126953125, 0.1593017578125, 0.201171875, 0.252685546875, 0.152099609375, 0.237060546875, 0.011383056640625, 0.1158447265625, 0.083984375, 0.0960693359375, 0.0909423828125, 0.0450439453125, 0.148193359375, 0.1658935546875, 0.0247650146484375, 0.0552...
embed
51803278_c0
51803278
fsharp
0
Title: How to use TcpListener NetworkStream in F#? Problem title: How to use TcpListener NetworkStream in F#? Tags: tcplistener, c%23, f%23, porting, tcp Problem: How to use TcpListener NetworkStream in F#? I'm trying to port the C# example code from here https://msdn.microsoft.com/en-us/library/system.net.sockets.tcpl...
How to use TcpListener NetworkStream in F#? How to use TcpListener NetworkStream in F#? tcplistener c%23 f%23 porting tcp How TcpListener NetworkStream Byte System System.Net System.Net.Sockets IPAddress.Parse Listening tcpListener.AcceptTcpClient Connected tcpClient.GetStream tcpListener.Start error.Message Console.Re...
[ 0.017578125, 0.00066375732421875, -0.005340576171875, 0.0029754638671875, 0.0186767578125, -0.023193359375, 0.00153350830078125, 0.004486083984375, -0.01202392578125, -0.0245361328125, 0.0216064453125, -0.0128173828125, -0.01043701171875, 0.00732421875, -0.0062255859375, -0.01574707031...
[ 11249, 47, 4527, 384, 121422, 154663, 39060, 28997, 115061, 23, 563, 4904, 808, 63844, 56, 3742, 1238, 196, 1916, 3311, 67, 12353, 24447, 27853, 8021, 161007, 28636, 47969, 232587, 150, 62448, 126597, 18499, 6011, 40777, 31345, 11469, 27781, ...
[ 0.0697021484375, 0.0213165283203125, 0.1395263671875, 0.05657958984375, 0.17626953125, 0.254150390625, 0.2139892578125, 0.135498046875, 0.265869140625, 0.03656005859375, 0.12158203125, 0.2042236328125, 0.04083251953125, 0.267333984375, 0.150634765625, 0.1087646484375, 0.04150390625, ...
embed
56697839_c0
56697839
fsharp
0
Title: Is it possible to require statically resolved type parameter to be a generic type? Problem title: Is it possible to require statically resolved type parameter to be a generic type? Tags: f%23 Problem: Is it possible to require statically resolved type parameter to be a generic type? Having a hierarchy open FShar...
Is it possible to require statically resolved type parameter to be a generic type? Is it possible to require statically resolved type parameter to be a generic type? f%23 statically FSharp.Data.UnitSystems.SI.UnitSymbols Vector2D Measure Abs LanguagePrimitives.FloatWithMeasure Math.Sqrt R2D V2D A2D Is it possible to re...
[ -0.032958984375, 0.01116943359375, 0.00151824951171875, -0.01953125, -0.00086212158203125, -0.00994873046875, -0.00982666015625, 0.0125732421875, 0.01446533203125, -0.029296875, -0.003997802734375, -0.0289306640625, 0.0184326171875, -0.01708984375, -0.01025390625, 0.004364013671875, ...
[ 2071, 7722, 64209, 13254, 71407, 103608, 71, 10644, 171859, 186, 189534, 442, 47, 10, 1238, 3742, 3467, 254, 85600, 84293, 5, 9902, 36846, 2609, 18770, 304, 397, 1215, 11, 56851, 27174, 83658, 145111, 365, 194583, 6696, 78804, 310, 171855, ...
[ 0.04986572265625, 0.2081298828125, 0.213623046875, 0.2071533203125, 0.111083984375, 0.222412109375, 0.07275390625, 0.2396240234375, 0.2213134765625, 0.041229248046875, 0.258544921875, 0.0091552734375, 0.0163116455078125, 0.0159454345703125, 0.04296875, 0.10528564453125, 0.06616210937...
embed
62720924_c1
62720924
fsharp
1
earlier but newer version actually Expected behavior F# version in my Visual Studio 2017 does not support anonymous records. But I expected that any .dll can be used as a dependency to compile Models project in outdated VS2017 , just because it's .dll and not .fs sources to compile them too. The .dll contains plain IL...
earlier but newer version actually Expected behavior F# version in my Visual Studio 2017 does not support anonymous records. But I expected that any .dll can be used as a dependency to compile Models project in outdated VS2017 , just because it's .dll and not .fs sources to compile them too. The .dll contains plain IL...
[ -0.029541015625, -0.007568359375, -0.022705078125, 0.00106048583984375, -0.00531005859375, 0.016357421875, -0.0185546875, 0.0267333984375, -0.0067138671875, -0.0108642578125, -0.02197265625, 0.0019683837890625, 0.00469970703125, -0.00506591796875, 0.0257568359375, -0.0233154296875, 0...
[ 110680, 1284, 3525, 11389, 20653, 60075, 13, 89829, 123166, 563, 4904, 73372, 22968, 505, 959, 8060, 52184, 10821, 115923, 84751, 2499, 5, 71, 1181, 831, 11814, 42548, 27771, 9969, 1340, 13293, 13452, 1810, 85, 44160, 3259, 17447, 97264, 70...
[ 0.1177978515625, 0.0655517578125, 0.0755615234375, 0.129150390625, 0.06817626953125, 0.1524658203125, 0.1763916015625, 0.0184326171875, 0.1727294921875, 0.1075439453125, 0.205322265625, 0.19677734375, 0.21044921875, 0.2193603515625, 0.060791015625, 0.1451416015625, 0.1904296875, 0....
embed
34817031_c0
34817031
fsharp
0
Title: how do I make a radio button with button style in code-behind? Problem title: how do I make a radio button with button style in code-behind? Tags: f%23, code-behind, wpf Problem: how do I make a radio button with button style in code-behind? I'm trying to do this but in the code-behind only. Similar question, di...
how do I make a radio button with button style in code-behind? how do I make a radio button with button style in code-behind? f%23 code-behind wpf Style s.TargetType RadioButton s.Setters.Add Setter templateSetter.Property Control.TemplateProperty templateSetter.Value ControlTemplate FrameworkElementFactory Button ct.V...
[ -0.00927734375, 0.0152587890625, 0.00079345703125, -0.005462646484375, 0.002288818359375, 0.001708984375, 0.0166015625, -0.0022125244140625, 0.0118408203125, -0.023193359375, -0.000637054443359375, 0.00933837890625, 0.00982666015625, -0.0089111328125, 0.00897216796875, -0.01708984375, ...
[ 3642, 3249, 5977, 77679, 678, 20623, 23, 18151, 372, 55380, 1238, 3742, 148, 39557, 57845, 63031, 3794, 196707, 6436, 82212, 1507, 3055, 4028, 503, 110934, 4233, 27131, 159065, 1264, 202220, 19929, 144037, 62731, 30388, 31577, 135179, 4488, 4...
[ 0.0305938720703125, 0.08245849609375, 0.206787109375, 0.192138671875, 0.08782958984375, 0.2042236328125, 0.03558349609375, 0.1422119140625, 0.0853271484375, 0.173583984375, 0.0023193359375, 0.0819091796875, 0.021209716796875, 0.101806640625, 0.1529541015625, 0.064453125, 0.0393676757...
embed
35343956_c0
35343956
fsharp
0
Title: F# literate programming: how to embed plots? Problem title: F# literate programming: how to embed plots? Tags: f%23 Problem: F# literate programming: how to embed plots? I've been using F# for a few months now and have started looking into ways to create documents and presentations that include static plots/char...
F# literate programming: how to embed plots? F# literate programming: how to embed plots? f%23 Beamer F# literate programming: how to embed plots? I've been using F# for a few months now and have started looking into ways to create documents and presentations that include static plots/charts with F# , much like I was a...
[ 0.00469970703125, -0.009033203125, -0.002288818359375, -0.0033111572265625, -0.028564453125, 0.00982666015625, 0.0096435546875, -0.031982421875, -0.0078125, -0.01025390625, 0.0191650390625, 0.012451171875, -0.0185546875, -0.00408935546875, 0.0233154296875, 0.015625, -0.00363159179687...
[ 563, 4904, 80109, 13, 56037, 449, 3642, 47, 352, 13482, 23577, 7, 1238, 3742, 873, 302, 56, 17368, 28282, 60525, 136, 92252, 26698, 201939, 9254, 678, 46876, 627, 6773, 42, 122753, 93774, 3467, 254, 102973, 19514, 114864, 31255, 19097, 34...
[ 0.138427734375, 0.1968994140625, 0.148193359375, 0.07281494140625, 0.1156005859375, 0.02752685546875, 0.053436279296875, 0.0220489501953125, 0.12646484375, 0.2427978515625, 0.215087890625, 0.1107177734375, 0.0321044921875, 0.00006103515625, 0.0633544921875, 0.1265869140625, 0.1026611...
embed
1228644_c0
1228644
fsharp
0
Title: Are Infinite Types (aka Recursive Types) not possible in F#? Problem title: Are Infinite Types (aka Recursive Types) not possible in F#? Tags: f%23, types, type-inference Problem: Are Infinite Types (aka Recursive Types) not possible in F#? I was chatting with Sadek Drobi on twitter when be brought up that F# di...
Are Infinite Types (aka Recursive Types) not possible in F#? Are Infinite Types (aka Recursive Types) not possible in F#? f%23 types type-inference Infinite Types Recursive RecDelegate Are Infinite Types (aka Recursive Types) not possible in F#? I was chatting with Sadek Drobi on twitter when be brought up that F# didn...
[ 0.0064697265625, -0.013427734375, 0.00787353515625, 0.003631591796875, -0.0169677734375, -0.00933837890625, 0.00201416015625, -0.005859375, 0.005401611328125, 0.000308990478515625, -0.0003032684326171875, 0.004486083984375, -0.022705078125, 0.013671875, 0.0361328125, 0.0155029296875, ...
[ 134322, 13, 60457, 853, 48650, 5844, 959, 7722, 23, 563, 4904, 1238, 3742, 52895, 10644, 69988, 48224, 4657, 3257, 15901, 73885, 8416, 42843, 34776, 8060, 831, 28007, 69201, 165164, 143726, 60923, 91177, 8781, 121413, 121742, 156304, 63559, 8...
[ 0.1787109375, 0.0972900390625, 0.2369384765625, 0.0838623046875, 0.1944580078125, 0.1142578125, 0.0997314453125, 0.1607666015625, 0.06500244140625, 0.1392822265625, 0.211669921875, 0.049163818359375, 0.1043701171875, 0.156005859375, 0.1546630859375, 0.1141357421875, 0.07373046875, ...
embed
40615596_c0
40615596
fsharp
0
Title: Why doesn&#x27;t the FParsec example run? Problem title: Why doesn&#x27;t the FParsec example run? Tags: f%23, fparsec Problem: Why doesn't the FParsec example run? So I'm running the following code from the FParsec sample, but it doesn't seem to want to run. namespace Test open FParsec.CharParsers module Stuff ...
Why doesn&#x27;t the FParsec example run? Why doesn&#x27;t the FParsec example run? f%23 fparsec Why FParsec Test FParsec.CharParsers Stuff Error Expecting You Users Documents Visual Studio Projects Solution2 ConsoleApplication1 load.fs Formatting www.quanttec.com tutorial.html Microsoft Interactive Why doesn't the FPa...
[ 0.0048828125, 0.0133056640625, 0.00115203857421875, 0.00909423828125, -0.00173187255859375, 0.00958251953125, 0.01043701171875, -0.02294921875, -0.007354736328125, -0.00885009765625, 0.013427734375, 0.0081787109375, -0.0106201171875, -0.00799560546875, 0.0201416015625, -0.0068664550781...
[ 44084, 22027, 3768, 18, 563, 28636, 39797, 27781, 11675, 1238, 3742, 2500, 8647, 84068, 1314, 2907, 21493, 212059, 60075, 24762, 53400, 43101, 73372, 22968, 27331, 187895, 304, 40777, 182867, 72367, 17447, 60972, 44764, 14656, 57143, 7244, 5337...
[ 0.09808349609375, 0.07080078125, 0.036102294921875, 0.111572265625, 0.1368408203125, 0.1798095703125, 0.2467041015625, 0.21044921875, 0.1473388671875, 0.0821533203125, 0.010498046875, 0.117919921875, 0.1075439453125, 0.0733642578125, 0.05419921875, 0.02423095703125, 0.1302490234375, ...
embed
19341475_c0
19341475
fsharp
0
Title: What&#x27;s wrong with this F# Code Problem title: What&#x27;s wrong with this F# Code Tags: f%23 Problem: What's wrong with this F# Code let compareDiagonal p x y = System.Math.Abs((int)(x - (fst p))) <> System.Math.Abs((int)(y - (snd p)));; let isAllowed p = function | [] -> true | list -> List.forall (fun (x,...
What&#x27;s wrong with this F# Code What&#x27;s wrong with this F# Code f%23 What System.Math.Abs List.forall FS0020 obj.Prop What's wrong with this F# Code I am getting the error Why am I not able to return the number?
[ -0.005462646484375, 0.01806640625, 0.00970458984375, -0.00665283203125, -0.006134033203125, -0.003997802734375, 0.005859375, 0.01495361328125, 0.0189208984375, 0.0167236328125, 0.017578125, 0.034912109375, 0.014892578125, 0.0024566650390625, 0.00244140625, -0.004974365234375, 0.00405...
[ 4865, 3768, 7, 44691, 678, 903, 563, 4904, 28864, 1238, 3742, 12353, 199450, 24988, 32036, 2472, 5584, 93774, 7049, 1549, 995, 170, 10752, 254, 20949, 18499, 44084, 444, 959, 19048, 47, 30646, 70, 14012 ]
[ 0.073974609375, 0.094970703125, 0.065673828125, 0.184814453125, 0.1168212890625, 0.1156005859375, 0.126220703125, 0.1905517578125, 0.1861572265625, 0.05694580078125, 0.08599853515625, 0.12646484375, 0.134521484375, 0.135498046875, 0.1873779296875, 0.04949951171875, 0.133056640625, ...
embed
2705284_c0
2705284
fsharp
0
Title: Add 64 bit offset to a pointer Problem title: Add 64 bit offset to a pointer Tags: native, .net, pointers, interop, f%23 Problem: Add 64 bit offset to a pointer In F#, there's the NativePtr module, but it seems to only support 32 bit offsets for its’ add/get/set functions, just like System.IntPtr does. Is there ...
Add 64 bit offset to a pointer Add 64 bit offset to a pointer native .net pointers interop f%23 Add Marshal.AllocHGlobal ToPointer int64 Add 64 bit offset to a pointer In F#, there's the NativePtr module, but it seems to only support 32 bit offsets for its’ add/get/set functions, just like System.IntPtr does. Is there ...
[ 0.0021209716796875, 0.004119873046875, 0.014892578125, 0.00897216796875, -0.0211181640625, 0.005889892578125, -0.02001953125, -0.005401611328125, -0.00130462646484375, -0.0274658203125, 0.02587890625, -0.044921875, 0.0031280517578125, 0.01165771484375, 0.0177001953125, -0.01416015625, ...
[ 29117, 7911, 4785, 5773, 3509, 47, 6275, 56, 24, 4935, 1179, 1314, 1940, 2146, 1238, 3742, 23342, 4200, 43512, 6652, 841, 162080, 717, 147534, 18, 13307, 360, 563, 4904, 353, 683, 4448, 88996, 4734, 8060, 2789, 15190, 3794, 64, 32354, 1...
[ 0.11474609375, 0.271240234375, 0.18115234375, 0.2203369140625, 0.1646728515625, 0.0635986328125, 0.1868896484375, 0.14990234375, 0.1419677734375, 0.1541748046875, 0.106689453125, 0.0682373046875, 0.0650634765625, 0.11279296875, 0.038482666015625, 0.0806884765625, 0.055084228515625, ...
embed
3170365_c0
3170365
fsharp
0
Title: F# - need help for someone to explain Lazy Functions and why I am getting a certain result Problem title: F# - need help for someone to explain Lazy Functions and why I am getting a certain result Tags: f%23 Problem: F# - need help for someone to explain Lazy Functions and why I am getting a certain result I hav...
F# - need help for someone to explain Lazy Functions and why I am getting a certain result F# - need help for someone to explain Lazy Functions and why I am getting a certain result f%23 Lazy Functions Hello World Active lHelloWorld.Value F# - need help for someone to explain Lazy Functions and why I am getting a certa...
[ 0.0208740234375, -0.00543212890625, 0.01287841796875, 0.010498046875, -0.0003795623779296875, 0.0022735595703125, 0.0252685546875, -0.01202392578125, 0.0023651123046875, -0.00323486328125, 0.0034027099609375, 0.00634765625, -0.0224609375, 0.0164794921875, 0.0186767578125, 0.00762939453...
[ 563, 4904, 3871, 4358, 73342, 239, 3285, 28670, 10763, 15400, 20949, 24233, 16750, 1238, 3742, 35378, 6661, 88441, 841, 13817, 70646, 856, 50770, 22008, 444, 9655, 50339, 25632, 18151, 140992, 28960, 831, 18, 28219, 903, 44084, 83, 36457, 3...
[ 0.125, 0.22509765625, 0.0743408203125, 0.1094970703125, 0.1334228515625, 0.1524658203125, 0.20166015625, 0.122314453125, 0.068603515625, 0.1507568359375, 0.06304931640625, 0.064453125, 0.1083984375, 0.042388916015625, 0.069091796875, 0.17578125, 0.1484375, 0.158935546875, 0.03234...
embed
39467102_c0
39467102
fsharp
0
Title: F# Using Return Values From Async Problem title: F# Using Return Values From Async Tags: asynchronous, f%23 Problem: F# Using Return Values From Async I'm trying to learn F# but I keep running into issues. The latest is using async. In the code below, I'm trying to run two long running operations and perform a c...
F# Using Return Values From Async F# Using Return Values From Async asynchronous f%23 Using Values Async SumOfOpFaults Getting Sum Faults AlarmResult a.UserFaultTime SumOfMcFaults Machine a.MachineFaultTime Async.Parallel Async.RunSynchronously Error Here F# Using Return Values From Async I'm trying to learn F# but I k...
[ 0.005157470703125, 0.00174713134765625, -0.007080078125, -0.01806640625, 0.01104736328125, -0.004974365234375, -0.005126953125, 0.00286865234375, 0.000812530517578125, -0.0400390625, 0.0017547607421875, 0.007110595703125, 0.0107421875, 0.00518798828125, 0.0264892578125, -0.007873535156...
[ 563, 4904, 345, 173340, 190060, 28090, 62, 12654, 238, 101966, 1238, 3949, 3742, 36335, 132887, 39029, 17647, 7136, 210732, 3036, 140265, 7, 1062, 2189, 70059, 68311, 1229, 163321, 217835, 127, 1900, 79850, 212059, 11853, 6953, 31577, 30698, ...
[ 0.1407470703125, 0.20263671875, 0.119140625, 0.260498046875, 0.2327880859375, 0.09521484375, 0.047149658203125, 0.230224609375, 0.1217041015625, 0.1339111328125, 0.071044921875, 0.002471923828125, 0.1334228515625, 0.142333984375, 0.14208984375, 0.060455322265625, 0.0946044921875, 0...
embed
63646506_c0
63646506
fsharp
0
Title: Why is Map slower than Dictionary on reads, in F# (from the benchmark I have attached) Problem title: Why is Map slower than Dictionary on reads, in F# (from the benchmark I have attached) Tags: f%23, performance, dictionary, containers Problem: Why is Map slower than Dictionary on reads, in F# (from the benchma...
Why is Map slower than Dictionary on reads, in F# (from the benchmark I have attached) Why is Map slower than Dictionary on reads, in F# (from the benchmark I have attached) f%23 performance dictionary containers the Why Map Dictionary Key Number Elements Lookup Structure IntMap Dict HashTbl HshMltMap Why is Map slower...
[ 0.00628662109375, -0.01318359375, 0.005615234375, -0.0223388671875, -0.01531982421875, -0.020263671875, 0.0027618408203125, -0.00408935546875, 0.000028967857360839844, -0.01422119140625, 0.0169677734375, 0.01068115234375, -0.0159912109375, 0.0147705078125, 0.0289306640625, -0.008300781...
[ 44084, 42719, 72803, 56, 3501, 147638, 12301, 563, 4904, 240057, 220642, 98, 7, 1238, 3949, 3742, 23718, 45, 10763, 116419, 26824, 103332, 48325, 60818, 2037, 63667, 166179, 60897, 18, 162087, 9030, 53, 191560, 64747, 74854, 420, 89280, 254, ...
[ 0.1103515625, 0.256591796875, 0.2030029296875, 0.12646484375, 0.0213623046875, 0.23486328125, 0.1839599609375, 0.0897216796875, 0.1668701171875, 0.1527099609375, 0.009521484375, 0.027740478515625, 0.009307861328125, 0.05767822265625, 0.033203125, 0.158935546875, 0.127685546875, 0.0...
embed
38803183_c0
38803183
fsharp
0
Title: LibGit2Sharp: error FS0229: Error opening binary file -&gt; bad cli header, rva 0 Problem title: LibGit2Sharp: error FS0229: Error opening binary file -&gt; bad cli header, rva 0 Tags: libgit2sharp, libgit2, f%23, c%23 Problem: LibGit2Sharp: error FS0229: Error opening binary file -> bad cli header, rva 0 I inst...
LibGit2Sharp: error FS0229: Error opening binary file -&gt; bad cli header, rva 0 LibGit2Sharp: error FS0229: Error opening binary file -&gt; bad cli header, rva 0 libgit2sharp libgit2 f%23 c%23 LibGit2Sharp FS0229 Error libgit2 LibGit2Sharp: error FS0229: Error opening binary file -> bad cli header, rva 0 I installed ...
[ -0.00860595703125, 0.016845703125, -0.01953125, 0.00634765625, -0.004608154296875, 0.011474609375, -0.0196533203125, -0.006988525390625, -0.006500244140625, 0.00921630859375, 0.010986328125, -0.01300048828125, 0.016357421875, 0.02734375, 0.00628662109375, 0.005401611328125, 0.0112304...
[ 43278, 724, 217, 304, 40798, 10681, 18499, 93774, 9550, 4235, 212059, 73432, 2394, 6635, 11435, 5386, 6494, 95701, 10336, 56, 26091, 757, 25474, 15769, 89280, 1238, 3742, 20600, 136, 4645, 4935, 571, 885, 10484, 678, 13360, 4568, 144142, 11...
[ 0.1429443359375, 0.0911865234375, 0.172119140625, 0.1546630859375, 0.13427734375, 0.165283203125, 0.1734619140625, 0.150146484375, 0.107421875, 0.1978759765625, 0.1644287109375, 0.156005859375, 0.14892578125, 0.121826171875, 0.0921630859375, 0.0787353515625, 0.1346435546875, 0.1601...
embed
17251025_c0
17251025
fsharp
0
Title: What/where is get_Zero in F#&#x27;s int? Problem title: What/where is get_Zero in F#&#x27;s int? Tags: f%23-scripting, compiler-errors, functional-programming, .net, f%23 Problem: What/where is get_Zero in F#'s int? I'm just learning F#, and while playing at tryfsharp.org I noticed that if I change this code: [0...
What/where is get_Zero in F#&#x27;s int? What/where is get_Zero in F#&#x27;s int? f%23-scripting compiler-errors functional-programming .net f%23 What get_Zero List.sum What/where is get_Zero in F#'s int? I'm just learning F#, and while playing at tryfsharp.org I noticed that if I change this code: to I get the followi...
[ -0.01068115234375, -0.01239013671875, 0.017333984375, 0.01513671875, -0.010986328125, -0.0120849609375, 0.01434326171875, -0.0025177001953125, -0.0025787353515625, -0.01025390625, 0.0130615234375, -0.0030059814453125, -0.0045166015625, -0.0003509521484375, 0.01416015625, -0.01422119140...
[ 4865, 136913, 83, 2046, 1511, 4036, 23, 563, 4904, 3768, 18, 1238, 32032, 9969, 34759, 188800, 123309, 1179, 32036, 5, 11832, 454, 52080, 9790, 420, 89280, 254, 1478, 15549, 18151, 25632, 18499, 11853, 26499, 11675, 25965, 31842, 4488, 7553...
[ 0.0248260498046875, 0.1300048828125, 0.052490234375, 0.170166015625, 0.19091796875, 0.2529296875, 0.12158203125, 0.1217041015625, 0.1788330078125, 0.0802001953125, 0.1707763671875, 0.05352783203125, 0.0289459228515625, 0.06427001953125, 0.0623779296875, 0.06982421875, 0.04248046875, ...
embed
19711386_c0
19711386
fsharp
0
Title: Unboxing needed for tuples but not for types Problem title: Unboxing needed for tuples but not for types Tags: boxing, unboxing, f%23 Problem: Unboxing needed for tuples but not for types Can someone explain the following, it seems a little inconsistent. This line of code is invalid: let l = [("Hi", 1); ("Ho", "...
Unboxing needed for tuples but not for types Unboxing needed for tuples but not for types boxing unboxing f%23 Unboxing One Unboxing needed for tuples but not for types Can someone explain the following, it seems a little inconsistent. This line of code is invalid: Because the tuples are different string*int vs string*...
[ 0.0257568359375, 0.00689697265625, 0.0174560546875, -0.002838134765625, 0.0032196044921875, -0.01708984375, -0.0179443359375, -0.00250244140625, 0.005523681640625, 0.0093994140625, 0.003082275390625, -0.01385498046875, 0.023193359375, 0.01226806640625, -0.01483154296875, -0.00656127929...
[ 992, 11728, 214, 44841, 100, 370, 99726, 1284, 959, 52895, 16530, 51, 1238, 3742, 6561, 73342, 25553, 6892, 13315, 18151, 56649, 88949, 12921, 79315, 4288, 20209, 1639, 91693, 14315, 143726, 14192, 5303, 3522, 170, 191082, 37702, 106, 136, ...
[ 0.103271484375, 0.200927734375, 0.07537841796875, 0.1622314453125, 0.0704345703125, 0.1322021484375, 0.1968994140625, 0.0259552001953125, 0.070556640625, 0.203125, 0.154541015625, 0.0706787109375, 0.01275634765625, 0.11328125, 0.1329345703125, 0.046875, 0.04071044921875, 0.09204101...
embed
23406117_c0
23406117
fsharp
0
Title: Creating recursive discriminated unions values Problem title: Creating recursive discriminated unions values Tags: f%23, discriminated-union, recursion Problem: Creating recursive discriminated unions values When I have this code: type HtmlNode = | HtmlElement of name:string * attribute:HtmlAttribute list | Html...
Creating recursive discriminated unions values Creating recursive discriminated unions values f%23 discriminated-union recursion Creating HtmlNode HtmlElement name:string attribute:HtmlAttribute HtmlText content:string HtmlAttribute value:string parent:HtmlNode Creating recursive discriminated unions values When I have...
[ -0.015625, 0.01251220703125, -0.0074462890625, 0.005401611328125, 0.001495361328125, -0.0003604888916015625, -0.0086669921875, 0.0027618408203125, 0.00113677978515625, -0.0390625, 0.0030517578125, -0.0032806396484375, 0.01806640625, -0.00457763671875, 0.017822265625, -0.00787353515625,...
[ 56781, 1916, 195625, 5844, 55970, 3674, 69941, 142424, 1238, 3949, 3742, 87046, 572, 18, 7237, 5021, 19929, 9351, 91693, 150380, 841, 191145, 174379, 10941, 34292, 49129, 903, 18151, 9969, 34759, 76199, 25632, 18499, 44084, 83, 450, 2633, 219...
[ 0.1539306640625, 0.0259857177734375, 0.205322265625, 0.1116943359375, 0.21923828125, 0.0792236328125, 0.1939697265625, 0.1810302734375, 0.062255859375, 0.044708251953125, 0.1488037109375, 0.1298828125, 0.010101318359375, 0.08258056640625, 0.115966796875, 0.1275634765625, 0.0821533203...
embed
14319207_c0
14319207
fsharp
0
Title: Using F# discriminated union alternative as parameter type Problem title: Using F# discriminated union alternative as parameter type Tags: types, f%23 Problem: Using F# discriminated union alternative as parameter type I am trying to use a specific member of a discriminated union as a parameter type. For example...
Using F# discriminated union alternative as parameter type Using F# discriminated union alternative as parameter type types f%23 Using SomeUnion SomeType this.I this.J Using F# discriminated union alternative as parameter type I am trying to use a specific member of a discriminated union as a parameter type. For exampl...
[ -0.008544921875, 0.020263671875, 0.00738525390625, -0.01446533203125, -0.03173828125, -0.0220947265625, -0.0208740234375, 0.0128173828125, 0.01239013671875, -0.02490234375, 0.01531982421875, 0.01318359375, 0.0150146484375, 0.0147705078125, 0.0028228759765625, -0.0206298828125, 0.0140...
[ 345, 563, 4904, 55970, 3674, 69941, 30700, 237, 171859, 10644, 52895, 1238, 3742, 31384, 147547, 196707, 903, 568, 1375, 31577, 4527, 29458, 32786, 85325, 6002, 86531, 186992, 83613, 26582, 132, 23, 80934, 121, 39, 5303, 35604, 138256, 18, ...
[ 0.044403076171875, 0.11865234375, 0.224365234375, 0.2197265625, 0.059051513671875, 0.2410888671875, 0.1650390625, 0.046539306640625, 0.2083740234375, 0.2122802734375, 0.1539306640625, 0.0141754150390625, 0.10137939453125, 0.1307373046875, 0.2183837890625, 0.230224609375, 0.0828247070...
embed
9248767_c0
9248767
fsharp
0
Title: Can F# Quotations be used to create a function applicable to arbitrary F# record types? Problem title: Can F# Quotations be used to create a function applicable to arbitrary F# record types? Tags: f%23, quotations, records Problem: Can F# Quotations be used to create a function applicable to arbitrary F# record ...
Can F# Quotations be used to create a function applicable to arbitrary F# record types? Can F# Quotations be used to create a function applicable to arbitrary F# record types? f%23 quotations records Can Quotations String.IsNullOrWhiteSpace a.X b.X a.Y b.Y Can F# Quotations be used to create a function applicable to ar...
[ -0.00016021728515625, 0.00970458984375, 0.006988525390625, -0.00101470947265625, -0.012939453125, 0.004852294921875, 0.00958251953125, 0.0167236328125, 0.0157470703125, -0.01092529296875, 0.0034027099609375, 0.025634765625, 0.00063323974609375, -0.006561279296875, 0.00836181640625, -0....
[ 4171, 563, 4904, 43851, 22062, 7, 11814, 28282, 32354, 152431, 61799, 17164, 52895, 1238, 3949, 3742, 81732, 5256, 115923, 23351, 214, 29598, 18444, 1181, 19060, 173473, 141012, 10, 1542, 876, 1723, 136, 6626, 36746, 1653, 2063, 79315, 4527, ...
[ 0.0992431640625, 0.17333984375, 0.2430419921875, 0.1934814453125, 0.2054443359375, 0.028411865234375, 0.140380859375, 0.1280517578125, 0.1932373046875, 0.119873046875, 0.10723876953125, 0.168212890625, 0.130859375, 0.1180419921875, 0.021636962890625, 0.134033203125, 0.234619140625, ...
embed
28904582_c1
28904582
fsharp
1
byte array of each file as the key, and the file name itself as the value. If multiple files with different file names share the same bye array, then they are duplicates, and my goal is to remove the duplicate files. I have looked through the Hashtable namespace on MSDN, but there is no method for identifying hashtabl...
byte array of each file as the key, and the file name itself as the value. If multiple files with different file names share the same bye array, then they are duplicates, and my goal is to remove the duplicate files. I have looked through the Hashtable namespace on MSDN, but there is no method for identifying hashtabl...
[ 0.0031280517578125, 0.01153564453125, 0.01287841796875, 0.00341796875, -0.0255126953125, -0.0228271484375, 0.01324462890625, 0.00147247314453125, 0.005157470703125, -0.0009918212890625, -0.0186767578125, 0.0306396484375, 0.020751953125, 0.031982421875, -0.000640869140625, 0.01965332031...
[ 390, 67, 10298, 53, 111, 12638, 11435, 237, 22799, 9351, 68034, 34292, 48716, 102158, 678, 12921, 123055, 12008, 5701, 13, 171763, 1636, 69236, 47, 87388, 162087, 22819, 210716, 16265, 51671, 110, 55300, 135812, 214, 1556, 127, 450, 70541, ...
[ 0.1219482421875, 0.118408203125, 0.1627197265625, 0.093994140625, 0.04681396484375, 0.1318359375, 0.18798828125, 0.063232421875, 0.2154541015625, 0.08544921875, 0.1107177734375, 0.1549072265625, 0.197998046875, 0.197021484375, 0.02862548828125, 0.1458740234375, 0.1043701171875, 0.1...
embed
11633730_c0
11633730
fsharp
0
Title: initialization of fsharp class field Problem title: initialization of fsharp class field Tags: initialization, xaml, f%23 Problem: initialization of fsharp class field I have a class bound to a XAML file. Upon the first call to it, the field selectedudl is = null. Do you know why it is the case ? I would have ex...
initialization of fsharp class field initialization of fsharp class field initialization xaml f%23 QuotesViewModel ViewModelBase Array.empty x.GetUnderlyings x.SelectedUdl x.OnPropertyChanged x.SelectedGraph asyncquotes.visualizehistoForUdl System.Windows.Forms.Integration.WindowsFormsHost host.Child ChartControl Dock ...
[ 0.00176239013671875, 0.02783203125, 0.007171630859375, 0.01220703125, 0.00665283203125, -0.002838134765625, 0.029541015625, -0.03466796875, 0.01043701171875, 0.0167236328125, -0.005859375, -0.031494140625, 0.009033203125, 0.0184326171875, 0.00689697265625, 0.01336669921875, 0.0184326...
[ 61475, 47691, 1238, 89280, 254, 18507, 44457, 2459, 7237, 3742, 109216, 100474, 140290, 29805, 63473, 69253, 33548, 7944, 538, 100184, 20469, 20320, 127008, 37878, 12654, 68726, 1824, 20605, 5176, 12353, 43342, 102973, 27980, 102656, 110373, 1759...
[ 0.186279296875, 0.09320068359375, 0.117919921875, 0.1810302734375, 0.1431884765625, 0.174560546875, 0.20703125, 0.10595703125, 0.1630859375, 0.0947265625, 0.1710205078125, 0.10345458984375, 0.14404296875, 0.0819091796875, 0.038360595703125, 0.0181121826171875, 0.0584716796875, 0.04...
embed
24642026_c1
24642026
fsharp
1
= x * x > 0. Am I doing something wrong? Is something missing? I am currently running... Visual Studio Ultimate 2012 Version 11.0.61030.00 Update 4 F# 3.0 (I guess..? How do I check this exactly?) FsCheck 0.9.4.0 FsCheck.Xunit 0.4.1.0 xUnit.net 1.9.2 xUnit.net runner for Visual Studio 0.99.7 Update I tried the example...
= x * x > 0. Am I doing something wrong? Is something missing? I am currently running... Visual Studio Ultimate 2012 Version 11.0.61030.00 Update 4 F# 3.0 (I guess..? How do I check this exactly?) FsCheck 0.9.4.0 FsCheck.Xunit 0.4.1.0 xUnit.net 1.9.2 xUnit.net runner for Visual Studio 0.99.7 Update I tried the example...
[ 0.00119781494140625, 0.006072998046875, 0.005615234375, -0.0045166015625, -0.00860595703125, 0.00116729736328125, 0.028076171875, -0.01904296875, -0.006500244140625, 0.01336669921875, 0.0034942626953125, 0.0198974609375, -0.01171875, -0.015380859375, 0.01397705078125, 0.003341674804687...
[ 2203, 1022, 661, 977, 757, 5, 2022, 87, 20594, 44691, 9844, 132283, 82424, 51042, 73372, 22968, 137625, 1324, 40647, 4541, 122887, 63620, 37509, 28641, 201, 563, 4904, 17596, 57767, 11249, 12765, 903, 66161, 7, 202567, 143161, 151152, 1542, ...
[ 0.1925048828125, 0.1524658203125, 0.1220703125, 0.1405029296875, 0.2003173828125, 0.000823974609375, 0.02471923828125, 0.0145416259765625, 0.0235443115234375, 0.091796875, 0.010711669921875, 0.1138916015625, 0.039398193359375, 0.08123779296875, 0.197998046875, 0.1630859375, 0.1141357...
embed
8891019_c0
8891019
fsharp
0
Title: Chunked Parsing with FParsec Problem title: Chunked Parsing with FParsec Tags: parsing, fparsec, f%23 Problem: Chunked Parsing with FParsec Is it possible to submit input to an FParsec parser in chunks, as from a socket? If not, is it possible to retrieve the current result and unparsed portion of an input strea...
Chunked Parsing with FParsec Chunked Parsing with FParsec parsing fparsec f%23 Chunked Parsing FParsec SocketAsyncEventArgs CharStream Stream Chunked Parsing with FParsec Is it possible to submit input to an FParsec parser in chunks, as from a socket? If not, is it possible to retrieve the current result and unparsed p...
[ -0.022705078125, 0.00396728515625, 0.040283203125, -0.00102996826171875, -0.0087890625, 0.00946044921875, 0.0263671875, -0.0186767578125, -0.02392578125, -0.00689697265625, 0.0133056640625, 0.0189208984375, -0.017578125, 0.0087890625, -0.00543212890625, 0.006591796875, 0.0185546875, ...
[ 112204, 12225, 2392, 6953, 678, 563, 28636, 39797, 366, 1238, 2500, 3949, 3742, 1061, 27853, 12654, 192134, 7614, 9405, 21656, 115061, 7722, 137447, 107730, 47, 2189, 23, 7839, 237, 1295, 221, 456, 3996, 43581, 16750, 51, 126826, 75973, 116...
[ 0.2078857421875, 0.1402587890625, 0.1556396484375, 0.1192626953125, 0.046783447265625, 0.1123046875, 0.1480712890625, 0.19873046875, 0.14306640625, 0.073974609375, 0.1754150390625, 0.010955810546875, 0.09161376953125, 0.0445556640625, 0.1766357421875, 0.1365966796875, 0.14208984375, ...
embed
40350362_c1
40350362
fsharp
1
n, Microsoft.FSharp.Compiler.Range+range m) [0x00087] in <5707a356ddab8ea7a745038356a30757>:0 at Microsoft.FSharp.Compiler.ErrorLogger+ErrorLoggerExtensions.ReraiseIfWatsonable (System.Exception exn) [0x00040] in <5707a356ddab8ea7a745038356a30757>:0 at Microsoft.FSharp.Compiler.ErrorLogger+ErrorLoggerExtensions.ErrorLo...
n, Microsoft.FSharp.Compiler.Range+range m) [0x00087] in <5707a356ddab8ea7a745038356a30757>:0 at Microsoft.FSharp.Compiler.ErrorLogger+ErrorLoggerExtensions.ReraiseIfWatsonable (System.Exception exn) [0x00040] in <5707a356ddab8ea7a745038356a30757>:0 at Microsoft.FSharp.Compiler.ErrorLogger+ErrorLoggerExtensions.ErrorLo...
[ -0.00921630859375, 0.0108642578125, -0.0174560546875, 0.0137939453125, 0.006072998046875, 0.0091552734375, 0.002410888671875, -0.0008087158203125, 0.007232666015625, -0.0247802734375, -0.0036468505859375, 0.009033203125, 0.0036773681640625, -0.018310546875, 0.029296875, -0.017211914062...
[ 653, 7244, 36381, 3467, 254, 108161, 34759, 1052, 51459, 1328, 94250, 347, 2389, 9508, 19308, 12243, 8368, 129971, 32771, 16360, 10991, 1197, 178785, 53861, 31611, 113972, 128872, 12794, 91306, 107774, 1681, 2886, 84293, 1119, 2839, 63127, 1133...
[ 0.09173583984375, 0.10430908203125, 0.0887451171875, 0.2127685546875, 0.205810546875, 0.137939453125, 0.1817626953125, 0.04351806640625, 0.11669921875, 0.055084228515625, 0.197509765625, 0.1712646484375, 0.037109375, 0.06048583984375, 0.1903076171875, 0.1090087890625, 0.08154296875, ...
embed
4111390_c0
4111390
fsharp
0
Title: F# using accumulator, still getting stack overflow exception Problem title: F# using accumulator, still getting stack overflow exception Tags: f%23, tail-recursion, call Problem: F# using accumulator, still getting stack overflow exception In the following function, I've attempted to set up tail recursion via th...
F# using accumulator, still getting stack overflow exception F# using accumulator, still getting stack overflow exception f%23 tail-recursion call accumulator List.rev d::acc e::acc startNum::acc F# using accumulator, still getting stack overflow exception In the following function, I've attempted to set up tail recurs...
[ -0.0025177001953125, 0.027587890625, 0.017333984375, 0.0019378662109375, 0.01080322265625, 0.0111083984375, -0.0135498046875, -0.012939453125, 0.01385498046875, -0.0240478515625, 0.0294189453125, -0.0098876953125, 0.004608154296875, -0.00168609619140625, 0.0322265625, 0.000846862792968...
[ 563, 4904, 17368, 183278, 1290, 7464, 177261, 645, 118664, 131527, 1238, 3742, 46741, 107, 48650, 1830, 11782, 32036, 65381, 10060, 28, 4034, 316, 32354, 81887, 5423, 1257, 195625, 127689, 53550, 11, 79298, 26785, 100094, 50015, 63769, 9969, ...
[ 0.100830078125, 0.1827392578125, 0.07672119140625, 0.235107421875, 0.1656494140625, 0.11181640625, 0.1632080078125, 0.11083984375, 0.20068359375, 0.1900634765625, 0.020721435546875, 0.0684814453125, 0.2364501953125, 0.048187255859375, 0.13720703125, 0.046539306640625, 0.148193359375,...
embed
48354646_c0
48354646
fsharp
0
Title: Is there such thing like &quot;rigid type&quot; in F#? Problem title: Is there such thing like &quot;rigid type&quot; in F#? Tags: f%23, haskell Problem: Is there such thing like "rigid type" in F#? In Haskell type class can introduce "interface" where you have some "free" type parameters, something like "for al...
Is there such thing like &quot;rigid type&quot; in F#? Is there such thing like &quot;rigid type&quot; in F#? f%23 haskell IEnumerable System.Collections.Generic.IEnumerable __.GetEnumerator __.GetBytes GetEnumerator Any Is there such thing like "rigid type" in F#? In Haskell type class can introduce "interface" where ...
[ -0.013427734375, 0.00897216796875, -0.004638671875, 0.00177764892578125, -0.00958251953125, 0.003204345703125, -0.006011962890625, 0.0184326171875, 0.00150299072265625, -0.002227783203125, 0.015869140625, -0.0234375, -0.006683349609375, -0.006011962890625, -0.00811767578125, -0.0020599...
[ 6044, 13580, 1884, 10384, 532, 10644, 23, 563, 4904, 2685, 1238, 3742, 1556, 142508, 75536, 2606, 56, 2886, 12353, 78457, 8996, 135932, 20441, 4597, 75358, 20779, 28541, 20625, 18507, 831, 65508, 10433, 40404, 32087, 171859, 2472, 756, 10, ...
[ 0.10369873046875, 0.0955810546875, 0.09521484375, 0.1990966796875, 0.2156982421875, 0.278564453125, 0.076904296875, 0.1290283203125, 0.187255859375, 0.0206146240234375, 0.0535888671875, 0.0254974365234375, 0.08966064453125, 0.2137451171875, 0.0958251953125, 0.181884765625, 0.12060546...
embed
71811717_c1
71811717
fsharp
1
downcast will ignore the unit-of-measure ``u` Of course, in reality, my Point type has several more members, mainly consisting of arithmetic operator overloads. However, this is the problem point. I recently extended the type to be able to handle units, but I am not able to find a way to get rid of this type test warn...
downcast will ignore the unit-of-measure ``u` Of course, in reality, my Point type has several more members, mainly consisting of arithmetic operator overloads. However, this is the problem point. I recently extended the type to be able to handle units, but I am not able to find a way to get rid of this type test warn...
[ -0.01116943359375, 0.0299072265625, 0.01373291015625, -0.00872802734375, -0.01025390625, -0.033935546875, -0.0079345703125, -0.0050048828125, 0.04638671875, 0.0400390625, -0.00007724761962890625, -0.0234375, 0.025146484375, 0.00092315673828125, -0.0281982421875, -0.00046539306640625, ...
[ 7565, 55741, 1221, 124962, 25072, 4390, 37440, 56851, 34, 50081, 41097, 10644, 40368, 1286, 43032, 8962, 39933, 645, 63033, 2967, 6275, 65042, 34831, 31351, 3034, 1631, 592, 29479, 114122, 28, 161789, 69101, 6626, 91, 109921, 111, 72350, 9969...
[ 0.1646728515625, 0.2587890625, 0.036865234375, 0.1905517578125, 0.2166748046875, 0.1351318359375, 0.118408203125, 0.0728759765625, 0.1619873046875, 0.08978271484375, 0.2247314453125, 0.2200927734375, 0.001251220703125, 0.024169921875, 0.1416015625, 0.0643310546875, 0.145751953125, ...
embed
64405697_c0
64405697
fsharp
0
Title: Equivalent to F# _ wildcard in C# type parameter Problem title: Equivalent to F# _ wildcard in C# type parameter Tags: c%23, f%23 Problem: Equivalent to F# _ wildcard in C# type parameter F# allows you to let the compiler work out what type paramters should be. let foo = [| 1 |] let bar = Array.head<_> foo (you'...
Equivalent to F# _ wildcard in C# type parameter Equivalent to F# _ wildcard in C# type parameter c%23 f%23 Equivalent Array.head Equivalent to F# _ wildcard in C# type parameter F# allows you to let the compiler work out what type paramters should be. (you'd never actually do this, you'd drop the parameter, but this i...
[ 0.0130615234375, 0.00469970703125, -0.0106201171875, -0.01019287109375, -0.0196533203125, -0.010986328125, 0.004852294921875, 0.0024566650390625, 0.0120849609375, -0.017578125, 0.00958251953125, -0.021240234375, 0.00007200241088867188, -0.005340576171875, 0.0014190673828125, -0.0295410...
[ 145666, 85540, 47, 563, 4904, 101, 56409, 38931, 313, 10644, 171859, 23, 3742, 1238, 69253, 53, 31251, 114864, 2633, 9969, 34759, 4488, 1810, 2367, 121, 39, 23962, 5608, 186, 8306, 36069, 58755, 9844, 183234, 2967, 18151, 51776, 218500, 496...
[ 0.1357421875, 0.2044677734375, 0.069580078125, 0.13623046875, 0.2291259765625, 0.0701904296875, 0.167724609375, 0.261962890625, 0.064453125, 0.1756591796875, 0.216552734375, 0.0635986328125, 0.0924072265625, 0.059906005859375, 0.12109375, 0.0660400390625, 0.158447265625, 0.10656738...
embed
6967380_c0
6967380
fsharp
0
Title: F# Loading quotation data from an assembly - the explicitlyRegisterTopDefs function Problem title: F# Loading quotation data from an assembly - the explicitlyRegisterTopDefs function Tags: metaprogramming, f%23 Problem: F# Loading quotation data from an assembly - the explicitlyRegisterTopDefs function I would l...
F# Loading quotation data from an assembly - the explicitlyRegisterTopDefs function F# Loading quotation data from an assembly - the explicitlyRegisterTopDefs function metaprogramming f%23 an Loading ReflectedDefinition Microsoft.FSharp.Quotations.Raw F# Loading quotation data from an assembly - the explicitlyRegisterT...
[ 0.0223388671875, 0.0196533203125, 0.005645751953125, 0.02880859375, -0.024169921875, -0.0125732421875, 0.013427734375, -0.000270843505859375, 0.000797271728515625, -0.06689453125, -0.00830078125, -0.0101318359375, -0.028564453125, -0.007659912109375, 0.0185546875, 0.00506591796875, 0...
[ 563, 4904, 228006, 81732, 1363, 2053, 1295, 89845, 38526, 143726, 54601, 19656, 77888, 187423, 7, 32354, 538, 23550, 28966, 1238, 3949, 3742, 53295, 133, 89829, 943, 7244, 36381, 3467, 254, 31583, 818, 21094, 12248, 434, 28219, 3642, 456, 3...
[ 0.1068115234375, 0.1929931640625, 0.216552734375, 0.25244140625, 0.1573486328125, 0.142578125, 0.1231689453125, 0.179443359375, 0.1322021484375, 0.1348876953125, 0.125, 0.1287841796875, 0.1783447265625, 0.287353515625, 0.07208251953125, 0.2098388671875, 0.053466796875, 0.1121826171...
embed
68424596_c0
68424596
fsharp
0
Title: match by value in a discriminated union, in F# Problem title: match by value in a discriminated union, in F# Tags: f%23 Problem: match by value in a discriminated union, in F# with this union: type T = | A | B | C and a T list I would like to implement something like this pseudo code: let countOfType (t: Type) (...
match by value in a discriminated union, in F# match by value in a discriminated union, in F# f%23 Type List.filter x.GetType List.length SomeOtherType match by value in a discriminated union, in F# with this union: and a T list I would like to implement something like this pseudo code: when I would pass if I want to c...
[ -0.0128173828125, 0.010986328125, 0.0008392333984375, -0.0107421875, -0.017333984375, -0.0306396484375, -0.0198974609375, 0.01165771484375, 0.0166015625, -0.029541015625, 0.00494384765625, -0.0059814453125, 0.02587890625, 0.007537841796875, 0, -0.007049560546875, 0.01422119140625, ...
[ 14858, 390, 34292, 23, 55970, 3674, 69941, 563, 4904, 1238, 3742, 60457, 32036, 120337, 1022, 126, 196707, 23986, 31384, 670, 9319, 384, 5303, 1884, 29479, 74189, 18151, 27875, 3444, 54529, 284, 571, 724, 136, 335, 132, 30646, 10644, 4488, ...
[ 0.22802734375, 0.0833740234375, 0.18017578125, 0.002197265625, 0.205322265625, 0.0247650146484375, 0.1795654296875, 0.0926513671875, 0.1832275390625, 0.032501220703125, 0.1131591796875, 0.2142333984375, 0.1209716796875, 0.152587890625, 0.011322021484375, 0.10028076171875, 0.255126953...
embed
416508_c0
416508
fsharp
0
Title: F# compiler error FS0030, problems with the Value Restriction Problem title: F# compiler error FS0030, problems with the Value Restriction Tags: units-of-measurement, value-restriction, f%23 Problem: F# compiler error FS0030, problems with the Value Restriction I've read the blurb at StrangeLights , I've read th...
F# compiler error FS0030, problems with the Value Restriction F# compiler error FS0030, problems with the Value Restriction units-of-measurement value-restriction f%23 FS0030 Value Restriction e:float Type Either F# compiler error FS0030, problems with the Value Restriction I've read the blurb at StrangeLights , I've r...
[ -0.0023956298828125, 0.00897216796875, 0.01239013671875, -0.0069580078125, 0.0208740234375, -0.0118408203125, 0.025634765625, -0.01123046875, 0.010986328125, -0.0027008056640625, -0.014892578125, 0.0130615234375, -0.0003795623779296875, -0.01141357421875, 0.016357421875, -0.00007772445...
[ 563, 4904, 9969, 34759, 18499, 93774, 7049, 1197, 44402, 678, 190060, 853, 7655, 10763, 25072, 4390, 37440, 56851, 34292, 107, 1238, 3742, 28, 12, 52347, 257, 60457, 9319, 187791, 187459, 46692, 70523, 49501, 59911, 18151, 109921, 3444, 12765...
[ 0.1165771484375, 0.1917724609375, 0.1141357421875, 0.09405517578125, 0.15087890625, 0.1737060546875, 0.1011962890625, 0.211181640625, 0.1251220703125, 0.041748046875, 0.1544189453125, 0.039031982421875, 0.1429443359375, 0.05023193359375, 0.1351318359375, 0.043914794921875, 0.07141113...
embed
44806001_c0
44806001
fsharp
0
Title: Ranking Function in F# Problem title: Ranking Function in F# Tags: arrays, f%23, ranking Problem: Ranking Function in F# I wrote an algorithm for ranking an array. let rankFun array = let arrayNew = List.toArray array let arrayLength = Array.length arrayNew let rankedArray = Array.create arrayLength 1.0 for i in...
Ranking Function in F# Ranking Function in F# arrays f%23 ranking Ranking List.toArray Array.length Array.create Ranking Function in F# I wrote an algorithm for ranking an array. I wanted to ask you what do you think about performance? I used for loops and I was wondering if you think there's another way better than th...
[ 0.0067138671875, 0.0022735595703125, -0.00262451171875, -0.0029296875, -0.0079345703125, -0.0179443359375, -0.00634765625, -0.021240234375, 0.0103759765625, 0.00360107421875, 0.01043701171875, 0.0181884765625, -0.00653076171875, -0.0130615234375, -0.0162353515625, -0.005828857421875, ...
[ 187775, 28670, 10763, 23, 563, 4904, 10298, 4778, 1238, 3949, 3742, 77918, 32036, 188, 7614, 7092, 69253, 53, 23986, 7612, 2182, 54397, 234873, 26458, 5351, 23718, 11814, 100, 40956, 149016, 15700, 3917, 11522, 903, 12096, 120260, 7311, 63262...
[ 0.27001953125, 0.1597900390625, 0.0780029296875, 0.07611083984375, 0.156982421875, 0.215576171875, 0.156494140625, 0.0958251953125, 0.1226806640625, 0.013275146484375, 0.133056640625, 0.2445068359375, 0.135009765625, 0.0718994140625, 0.032379150390625, 0.128173828125, 0.13232421875, ...
embed
22570299_c0
22570299
fsharp
0
Title: List&lt;T&gt; vs. T list in F# gives type error Problem title: List&lt;T&gt; vs. T list in F# gives type error Tags: pattern-matching, f%23 Problem: List vs. T list in F# gives type error I want a function that receives a seq<DateTime*int> and returns a DateTime*seq<DateTime*int> . The first part of the tuple is...
List&lt;T&gt; vs. T list in F# gives type error List&lt;T&gt; vs. T list in F# gives type error pattern-matching f%23 ArgumentException List DateTime TheFunc h_d h_i List vs. T list in F# gives type error I want a function that receives a seq<DateTime*int> and returns a DateTime*seq<DateTime*int> . The first part of th...
[ 0.001983642578125, 0.005218505859375, 0.004974365234375, 0.0009918212890625, 0.00055694580078125, -0.017578125, -0.034912109375, 0.0150146484375, 0.004638671875, -0.0245361328125, 0.0123291015625, 0.004974365234375, 0.00836181640625, 0.0225830078125, 0.004638671875, -0.00592041015625, ...
[ 32036, 1277, 618, 1230, 5386, 20209, 384, 5303, 563, 4904, 76199, 10644, 18499, 103510, 98753, 1238, 3742, 112140, 63928, 25512, 70059, 581, 97249, 1096, 454, 71, 14, 3444, 32354, 53299, 40, 864, 86291, 4288, 30646, 5117, 2831, 370, 8705, ...
[ 0.2293701171875, 0.0067138671875, 0.068603515625, 0.0175018310546875, 0.110595703125, 0.1646728515625, 0.1630859375, 0.2471923828125, 0.1124267578125, 0.1986083984375, 0.041229248046875, 0.1964111328125, 0.1806640625, 0.1568603515625, 0.112548828125, 0.0430908203125, 0.1087646484375,...
embed
26406664_c0
26406664
fsharp
0
Title: Undocumented `when` keyword usage in FSharp.Core Problem title: Undocumented `when` keyword usage in FSharp.Core Tags: f%23 Problem: Undocumented `when` keyword usage in FSharp.Core Looking for information about statically resolved type parameters for inline functions I stumbled upon the definitions of various p...
Undocumented `when` keyword usage in FSharp.Core Undocumented `when` keyword usage in FSharp.Core f%23 Undocumented FSharp.Core CheckedAdditionDynamic int32 add.ovf expr1 expr2 Undocumented `when` keyword usage in FSharp.Core Looking for information about statically resolved type parameters for inline functions I stumb...
[ -0.00299072265625, -0.0028839111328125, 0.0186767578125, -0.00616455078125, -0.01324462890625, 0.0020294189453125, -0.0003604888916015625, 0.01153564453125, -0.00732421875, 0.0162353515625, 0.0146484375, -0.04541015625, -0.005889892578125, 0.007415771484375, 0.007049560546875, -0.00007...
[ 992, 117432, 297, 434, 3220, 166117, 127689, 93774, 3467, 254, 50886, 3742, 38679, 12071, 29673, 6460, 15190, 515, 420, 14700, 42, 418, 304, 13254, 103608, 10644, 171859, 23, 2256, 32354, 80934, 128489, 39933, 13, 58134, 3229, 11814, 9384, ...
[ 0.06219482421875, 0.23291015625, 0.011260986328125, 0.0771484375, 0.2474365234375, 0.253662109375, 0.1566162109375, 0.0694580078125, 0.173583984375, 0.161865234375, 0.169921875, 0.10052490234375, 0.1119384765625, 0.0673828125, 0.040771484375, 0.1436767578125, 0.13134765625, 0.14904...
embed
20906976_c0
20906976
fsharp
0
Title: F# Fsharp.Data Type Provider Exception Problem title: F# Fsharp.Data Type Provider Exception Tags: type-providers, f%23, f%23-data Problem: F# Fsharp.Data Type Provider Exception I am getting this when trying to parse a simple csv string. I am running F# out of VS 2013, the dll says it is version 4.3.0.1 which I...
F# Fsharp.Data Type Provider Exception F# Fsharp.Data Type Provider Exception type-providers f%23 f%23-data System.Exception Fsharp.Data Type Provider Exception TestCsv CsvProvider TestCsv.Parse x.Data Seq.map x.test Seq.head Couldn Method Microsoft.FSharp.Core.FSharpOption System.String FSharp.Data.RuntimeImplementati...
[ 0.00982666015625, 0.035400390625, -0.00848388671875, 0.021484375, 0.009765625, 0.00579833984375, 0.016845703125, 0.00421142578125, -0.0220947265625, -0.002593994140625, -0.03271484375, -0.013671875, 0.00738525390625, -0.0059814453125, 0.004730224609375, 0.0025177001953125, 0.01147460...
[ 563, 4904, 89280, 254, 137989, 60457, 123089, 42, 5443, 63928, 10644, 93136, 1238, 3742, 27495, 10135, 12353, 19279, 8647, 67756, 313, 177997, 28636, 1022, 864, 62346, 6954, 5, 31251, 191147, 74644, 7244, 36381, 3467, 50886, 39029, 71713, 937...
[ 0.133056640625, 0.198974609375, 0.218994140625, 0.1644287109375, 0.10595703125, 0.2237548828125, 0.164794921875, 0.01568603515625, 0.117431640625, 0.1864013671875, 0.150146484375, 0.140625, 0.056304931640625, 0.05889892578125, 0.091064453125, 0.07843017578125, 0.07806396484375, 0.0...
embed
2562909_c0
2562909
fsharp
0
Title: Why doesn&#x27;t the F# Set implement ISet&lt;T&gt;? Problem title: Why doesn&#x27;t the F# Set implement ISet&lt;T&gt;? Tags: interface, .net, f%23, set Problem: Why doesn't the F# Set implement ISet ? The .NET Framework is adding an ISet<T> interface with the 4.0 release. In the same release, F# is being added...
Why doesn&#x27;t the F# Set implement ISet&lt;T&gt;? Why doesn&#x27;t the F# Set implement ISet&lt;T&gt;? interface .net f%23 set Why Set ISet Map Key Value IDictionary Why doesn't the F# Set implement ISet ? The .NET Framework is adding an ISet<T> interface with the 4.0 release. In the same release, F# is being added ...
[ -0.00341796875, 0.0107421875, 0.0198974609375, -0.00714111328125, -0.0281982421875, -0.0064697265625, -0.005767822265625, -0.00183868408203125, 0.0026397705078125, 0.0240478515625, 0.00116729736328125, 0.0244140625, -0.01068115234375, -0.006378173828125, -0.000621795654296875, 0.024169...
[ 44084, 22027, 3768, 18, 563, 4904, 19943, 29479, 15744, 126, 1277, 618, 1230, 5386, 101758, 1179, 1238, 3742, 5423, 42719, 26824, 190060, 11338, 14, 10763, 6635, 17777, 202220, 154107, 678, 40401, 54452, 5701, 49814, 237, 5117, 67413, 46876, ...
[ 0.1102294921875, 0.09588623046875, 0.055419921875, 0.1077880859375, 0.1298828125, 0.2239990234375, 0.234619140625, 0.197509765625, 0.171142578125, 0.248046875, 0.007843017578125, 0.1746826171875, 0.015716552734375, 0.026763916015625, 0.232666015625, 0.138916015625, 0.08233642578125, ...
embed
6524242_c0
6524242
fsharp
0
Title: Calling C# functions from F# Problem title: Calling C# functions from F# Tags: c%23, f%23 Problem: Calling C# functions from F# I was trying to call this function from f# http://msdn.microsoft.com/en-us/library/microsoft.windowsazure.cloudstorageaccount.setconfigurationsettingpublisher.aspx The function signatur...
Calling C# functions from F# Calling C# functions from F# c%23 f%23 F# Calling CloudStorageAccount.SetConfigurationSettingPublisher Action Func setter:Func RoleEnvironment.GetConfigurationSettingValue setter.Invoke Calling C# functions from F# I was trying to call this function from f# http://msdn.microsoft.com/en-us/l...
[ -0.001007080078125, 0.026123046875, 0.0203857421875, -0.00616455078125, -0.01141357421875, -0.00830078125, 0.01080322265625, -0.01611328125, -0.004913330078125, 0.00213623046875, -0.00994873046875, 0.026611328125, -0.013427734375, 0.0045166015625, 0.004852294921875, 0.01507568359375, ...
[ 26265, 214, 313, 4904, 32354, 1295, 563, 3742, 1238, 48316, 188, 29838, 71013, 294, 126, 59994, 4233, 19514, 143145, 15227, 57945, 28670, 88685, 97249, 2777, 686, 1900, 50770, 23253, 7, 31577, 11782, 138410, 229792, 3408, 182422, 140464, 429,...
[ 0.1478271484375, 0.040130615234375, 0.086181640625, 0.2320556640625, 0.2010498046875, 0.152099609375, 0.1651611328125, 0.053070068359375, 0.0970458984375, 0.1546630859375, 0.091064453125, 0.0733642578125, 0.154296875, 0.0266265869140625, 0.05279541015625, 0.1634521484375, 0.088745117...
embed
12686911_c0
12686911
fsharp
0
Title: Comparing F# discriminated union instances via pattern matching Problem title: Comparing F# discriminated union instances via pattern matching Tags: discriminated-union, f%23, pattern-matching Problem: Comparing F# discriminated union instances via pattern matching Firstly, apologies for the poor title - I don't...
Comparing F# discriminated union instances via pattern matching Comparing F# discriminated union instances via pattern matching discriminated-union f%23 pattern-matching Comparing Money USD GBP EUR Different Comparing F# discriminated union instances via pattern matching Firstly, apologies for the poor title - I don't ...
[ -0.01806640625, 0.006622314453125, 0.016845703125, -0.00799560546875, -0.00109100341796875, -0.01043701171875, -0.00689697265625, 0.023193359375, 0.0269775390625, -0.017578125, 0.010498046875, 0.006439208984375, 0.0216064453125, -0.007415771484375, 0.005126953125, -0.0032806396484375, ...
[ 113307, 563, 4904, 55970, 3674, 69941, 110527, 1829, 103510, 14858, 87046, 1238, 3949, 3742, 98753, 214, 81669, 19052, 20331, 683, 12220, 242520, 7, 1747, 18709, 70425, 44759, 28219, 98363, 2967, 137399, 8781, 14614, 33636, 17265, 12921, 9709, ...
[ 0.1807861328125, 0.14404296875, 0.2379150390625, 0.2080078125, 0.023681640625, 0.19189453125, 0.16162109375, 0.0546875, 0.207763671875, 0.2025146484375, 0.1513671875, 0.1005859375, 0.04180908203125, 0.1181640625, 0.1697998046875, 0.01495361328125, 0.2188720703125, 0.1556396484375, ...
embed
9790108_c0
9790108
fsharp
0
Title: Using FSCheck generators Problem title: Using FSCheck generators Tags: f%23, fscheck Problem: Using FSCheck generators I have a function to generate doubles in a range: let gen_doublein = fun mx mn -> Arb.generate<float> |> Gen.suchThat ( (>) mx ) |> Gen.suchThat ( (<) mn ) and then a function to generate an arr...
Using FSCheck generators Using FSCheck generators f%23 fscheck Using FSCheck gen_doublein Arb.generate Gen.suchThat gen_params:Gen arb_params Arb.fromGen gen_params xs:double Check.Quick Prop.forAll Generators.arb_params Using FSCheck generators I have a function to generate doubles in a range: and then a function to g...
[ -0.005035400390625, -0.0084228515625, -0.0181884765625, -0.0281982421875, -0.01416015625, 0.023681640625, 0.002655029296875, -0.01483154296875, 0.006072998046875, -0.036865234375, 0.008544921875, 0.037353515625, 0.0205078125, -0.029541015625, 0.016845703125, -0.0283203125, -0.0322265...
[ 345, 93774, 202567, 145823, 1238, 3949, 3742, 7, 78292, 9226, 21555, 2661, 73, 1172, 275, 48281, 15937, 12665, 115743, 2500, 8256, 105376, 187, 161063, 38679, 43796, 43512, 222518, 75555, 32354, 139392, 41929, 37457, 10298, 116, 6097, 3884, 1...
[ 0.0289459228515625, 0.1759033203125, 0.300048828125, 0.251708984375, 0.0640869140625, 0.00091552734375, 0.1322021484375, 0.036102294921875, 0.2484130859375, 0.12548828125, 0.056060791015625, 0.07000732421875, 0.0203094482421875, 0.1085205078125, 0.0830078125, 0.181884765625, 0.079833...
embed
15374000_c0
15374000
fsharp
0
Title: Property initial value to refer to Guid Problem title: Property initial value to refer to Guid Tags: f%23, asp.net-mvc Problem: Property initial value to refer to Guid I am building an F# ASP.NET MVC app, where one of my models looks like this: namespace MyApp.Models open System open System.ComponentModel.DataAn...
Property initial value to refer to Guid Property initial value to refer to Guid f%23 asp.net-mvc Property Guid MyApp.Models System System.ComponentModel.DataAnnotations ProductCategory Key Guid.NewGuid Required Name ParentCategory Guid.Empty asp.net-mvc Property initial value to refer to Guid I am building an F# ASP.NE...
[ -0.01507568359375, 0.004974365234375, 0.0220947265625, -0.016845703125, 0.001129150390625, -0.007659912109375, -0.0086669921875, -0.0186767578125, -0.0035858154296875, -0.03173828125, 0.01153564453125, 0.0224609375, -0.0179443359375, 0.028564453125, -0.00274658203125, 0.01190185546875,...
[ 206984, 61475, 34292, 47, 15005, 6955, 532, 1238, 3949, 3742, 237, 254, 1179, 66357, 2646, 39179, 140290, 12353, 54137, 10869, 73111, 76775, 3081, 26824, 46568, 22769, 3181, 15757, 170918, 134332, 33976, 563, 4904, 147153, 17777, 56349, 4027, ...
[ 0.230224609375, 0.2083740234375, 0.2298583984375, 0.148193359375, 0.2342529296875, 0.233154296875, 0.254150390625, 0.024383544921875, 0.02069091796875, 0.10443115234375, 0.036407470703125, 0.0677490234375, 0.0933837890625, 0.1392822265625, 0.043975830078125, 0.142333984375, 0.1396484...
embed
11285286_c0
11285286
fsharp
0
Title: Recursive function vs recursive variable in F# Problem title: Recursive function vs recursive variable in F# Tags: f%23, recursion Problem: Recursive function vs recursive variable in F# The first method is OK. The second repeats constantly the same pair of numbers. It is quite obscure to me why... Could you poi...
Recursive function vs recursive variable in F# Recursive function vs recursive variable in F# f%23 recursion Recursive Normal MersenneTwister rnd.NextDouble System.Math.PI Normal.sampleNormal Seq.take Seq.toArray Normal.sampleNormalBAD Recursive function vs recursive variable in F# The first method is OK. The second re...
[ 0.000766754150390625, 0.007232666015625, 0.005462646484375, -0.0032196044921875, 0.0245361328125, 0.01513671875, -0.01507568359375, 0.006591796875, 0.0079345703125, -0.045166015625, 0.016357421875, 0.03857421875, -0.003936767578125, 0.00173187255859375, 0.051025390625, -0.0186767578125...
[ 853, 48650, 5844, 32354, 20209, 195625, 77336, 563, 4904, 1238, 3949, 3742, 1830, 28723, 6035, 1015, 86, 2452, 1515, 81280, 34, 2661, 12353, 199450, 15185, 33209, 50645, 2749, 864, 78219, 188, 7092, 8031, 397, 5117, 55300, 83, 14315, 17932,...
[ 0.0869140625, 0.214599609375, 0.176513671875, 0.182373046875, 0.1636962890625, 0.236328125, 0.248046875, 0.1143798828125, 0.189697265625, 0.0693359375, 0.0260162353515625, 0.10345458984375, 0.005859375, 0.1571044921875, 0.0721435546875, 0.098388671875, 0.05682373046875, 0.113769531...
embed
37138389_c0
37138389
fsharp
0
Title: Merging data from different sources with different types Problem title: Merging data from different sources with different types Tags: f%23 Problem: Merging data from different sources with different types I have four data sources that are related by a common ID (incrementing integer). One data source P is alway...
Merging data from different sources with different types Merging data from different sources with different types f%23 different Merging List Dictionary Merging data from different sources with different types I have four data sources that are related by a common ID (incrementing integer). One data source P is always a...
[ -0.004425048828125, 0.01336669921875, -0.00250244140625, 0.006439208984375, -0.000453948974609375, -0.0023651123046875, -0.02392578125, -0.0009002685546875, 0.0030975341796875, -0.01531982421875, 0.00090789794921875, -0.00830078125, 0.0025482177734375, 0.010986328125, -0.0035400390625, ...
[ 6035, 9966, 2053, 1295, 12921, 97264, 678, 52895, 1238, 3949, 3742, 32036, 147638, 765, 22759, 62548, 39210, 11338, 158661, 892, 1505, 6561, 31344, 436, 11343, 19882, 17262, 27060, 339, 242, 959, 142027, 32316, 75204, 1820, 157167, 8021, 2982...
[ 0.2239990234375, 0.1268310546875, 0.1798095703125, 0.1756591796875, 0.1959228515625, 0.2313232421875, 0.114501953125, 0.253173828125, 0.065185546875, 0.06304931640625, 0.130615234375, 0.175537109375, 0.169677734375, 0.02972412109375, 0.155517578125, 0.1463623046875, 0.10223388671875,...
embed
10846437_c0
10846437
fsharp
0
Title: What are the DSL Creation Facilities for Clojure and F#? Problem title: What are the DSL Creation Facilities for Clojure and F#? Tags: clojure, dsl, metaprogramming, f%23 Problem: What are the DSL Creation Facilities for Clojure and F#? I am trying to determine what facilities Clojure and F# have for creating DS...
What are the DSL Creation Facilities for Clojure and F#? What are the DSL Creation Facilities for Clojure and F#? clojure dsl metaprogramming f%23 What DSL Creation Facilities Clojure What are the DSL Creation Facilities for Clojure and F#? I am trying to determine what facilities Clojure and F# have for creating DSLs....
[ 0.0181884765625, -0.00164031982421875, 0.00016117095947265625, 0.003997802734375, -0.003814697265625, -0.0016326904296875, -0.00131988525390625, 0.00193023681640625, -0.000152587890625, 0.0069580078125, -0.00127410888671875, -0.024658203125, -0.01373291015625, 0.0123291015625, -0.0060424...
[ 114479, 15678, 2320, 124099, 150, 2449, 100, 51053, 461, 107, 136, 563, 4904, 4865, 20450, 104, 24861, 23550, 28966, 214, 1238, 3949, 3742, 83324, 135094, 765, 105233, 7, 12638, 22691, 28282, 45258, 13254, 10644, 3249, 1286, 34844, 29458, 6...
[ 0.2120361328125, 0.1611328125, 0.047821044921875, 0.17041015625, 0.123291015625, 0.0787353515625, 0.0191497802734375, 0.1673583984375, 0.1925048828125, 0.172119140625, 0.09326171875, 0.1214599609375, 0.2108154296875, 0.04498291015625, 0.1343994140625, 0.01824951171875, 0.16015625, ...
embed
78530807_c1
78530807
fsharp
1
= pipe2 (pFormula .>> pLiteral ".") (pLiteral "moving_average" >>. pLeftBracket >>. pInt .>> pRightBracket) (fun i x -> SingleParamOp(MovingAverage, x, i)) let pPrice = pstring "price" >>. pLeftBracket >>. pRightBracket |>> (fun _ -> Price) let pAdd = pipe2 (pFormula .>> pLiteral ".") (pLiteral "add" >>. pLeftBracket ...
= pipe2 (pFormula .>> pLiteral ".") (pLiteral "moving_average" >>. pLeftBracket >>. pInt .>> pRightBracket) (fun i x -> SingleParamOp(MovingAverage, x, i)) let pPrice = pstring "price" >>. pLeftBracket >>. pRightBracket |>> (fun _ -> Price) let pAdd = pipe2 (pFormula .>> pLiteral ".") (pLiteral "add" >>. pLeftBracket ...
[ -0.0038604736328125, 0.0281982421875, -0.012939453125, 0.0159912109375, -0.01397705078125, 0.01336669921875, -0.00335693359375, -0.0079345703125, 0.0037841796875, -0.02587890625, 0.00762939453125, 0.0205078125, -0.0021820068359375, -0.007354736328125, -0.005767822265625, -0.01403808593...
[ 2203, 137158, 304, 254, 18537, 19908, 6, 9506, 720, 289, 18939, 432, 6496, 8216, 29838, 58, 5, 2480, 49960, 27853, 4153, 1052, 22553, 16, 16498, 17, 1022, 43609, 55292, 39029, 9083, 814, 2633, 915, 33163, 329, 91693, 5293, 5267, 30813, ...
[ 0.06439208984375, 0.226806640625, 0.1861572265625, 0.00018310546875, 0.1339111328125, 0.1649169921875, 0.002410888671875, 0.013458251953125, 0.08233642578125, 0.0662841796875, 0.00213623046875, 0.092529296875, 0.09814453125, 0.1822509765625, 0.146728515625, 0.002166748046875, 0.00262...
embed
29801418_c0
29801418
fsharp
0
Title: F# - Can I return a discriminated union from a function Problem title: F# - Can I return a discriminated union from a function Tags: discriminated-union, functional-programming, f%23 Problem: F# - Can I return a discriminated union from a function I have the following types: type GoodResource = { Id:int; Field1:...
F# - Can I return a discriminated union from a function F# - Can I return a discriminated union from a function discriminated-union functional-programming f%23 a Can GoodResource Id:int Field1:string ErrorResource StatusCode:int Description:string ProcessingResult Good Error SampleProcessingFunction GoodScenario Field1...
[ -0.017578125, -0.00156402587890625, 0.01092529296875, -0.01129150390625, -0.006439208984375, -0.00726318359375, -0.01190185546875, -0.00994873046875, 0.0096435546875, -0.00396728515625, 0.037353515625, 0.01025390625, 0.00799560546875, -0.0034637451171875, 0.00726318359375, 0.0030975341...
[ 563, 4904, 4171, 87, 30646, 10, 55970, 3674, 69941, 1295, 32354, 87046, 123309, 28966, 1238, 3742, 18621, 4332, 60427, 24799, 4288, 117657, 82825, 91693, 212059, 56504, 114211, 70643, 123996, 7, 7136, 33209, 26531, 97249, 61278, 33, 6723, 444...
[ 0.095703125, 0.2125244140625, 0.125244140625, 0.06744384765625, 0.2410888671875, 0.0180511474609375, 0.246826171875, 0.1083984375, 0.243896484375, 0.1072998046875, 0.182373046875, 0.1771240234375, 0.1236572265625, 0.078857421875, 0.047943115234375, 0.039276123046875, 0.1533203125, ...
embed
47073971_c0
47073971
fsharp
0
Title: F# type inference inside of Func&lt;double[], bool&gt; Problem title: F# type inference inside of Func&lt;double[], bool&gt; Tags: f%23 Problem: F# type inference inside of Func How to resolve this problem with type inference? open Microsoft.FSharp.Linq.RuntimeHelpers open System open System.Linq.Expressions ope...
F# type inference inside of Func&lt;double[], bool&gt; F# type inference inside of Func&lt;double[], bool&gt; f%23 Func Microsoft.FSharp.Linq.RuntimeHelpers System System.Linq.Expressions Accord.Math.Optimization Vector a:double b:double greaterOrEqualThen:float Array.map2 Array.sum Lambda Quotations.Expr LeafExpressio...
[ 0.01080322265625, 0.01275634765625, -0.01123046875, 0.0004024505615234375, -0.000507354736328125, -0.00177001953125, 0.012451171875, -0.0006866455078125, 0.007080078125, -0.01171875, -0.005523681640625, 0.0296630859375, -0.01361083984375, -0.0213623046875, 0.01513671875, 0.003860473632...
[ 563, 4904, 10644, 53498, 6620, 46132, 28670, 238, 1277, 21555, 2661, 142484, 5386, 1238, 3742, 7244, 36381, 3467, 254, 866, 44982, 163321, 6032, 60785, 21777, 12353, 178752, 17514, 29899, 6651, 199450, 39029, 147771, 2609, 18770, 10, 876, 117...
[ 0.1441650390625, 0.210205078125, 0.2403564453125, 0.2607421875, 0.0947265625, 0.1845703125, 0.1778564453125, 0.078125, 0.003448486328125, 0.097412109375, 0.1356201171875, 0.1387939453125, 0.007598876953125, 0.0723876953125, 0.0633544921875, 0.110107421875, 0.050567626953125, 0.1319...
embed
26186452_c0
26186452
fsharp
0
Title: How to filter lists with same tails from a list of lists in F# Problem title: How to filter lists with same tails from a list of lists in F# Tags: f%23, filter, list Problem: How to filter lists with same tails from a list of lists in F# I have list like the one below. [[1L; 1L]; [8L; 8L]; [27L; 2L; 7L]; [64L; 4...
How to filter lists with same tails from a list of lists in F# How to filter lists with same tails from a list of lists in F# f%23 filter list a How int64 How to filter lists with same tails from a list of lists in F# I have list like the one below. And I want to filter the lists which have the same tail elements. for ...
[ 0.01251220703125, 0.0206298828125, 0.00183868408203125, -0.0235595703125, -0.009521484375, -0.0185546875, 0.01611328125, 0.00579833984375, 0.0155029296875, 0.00078582763671875, 0.0026092529296875, 0.00653076171875, 0.0118408203125, 0.012939453125, -0.009765625, 0.009033203125, 0.0140...
[ 11249, 47, 46312, 5303, 7, 678, 5701, 308, 7870, 1295, 563, 4904, 1238, 3742, 23, 18, 13307, 1884, 35064, 46741, 80854, 116, 1810, 4358, 201, 66161, 121413, 9384, 8705, 27781, 2967 ]
[ 0.054779052734375, 0.01275634765625, 0.2388916015625, 0.2139892578125, 0.058563232421875, 0.0814208984375, 0.18359375, 0.17236328125, 0.1805419921875, 0.060791015625, 0.140869140625, 0.17626953125, 0.0911865234375, 0.133056640625, 0.0145721435546875, 0.007904052734375, 0.162109375, ...
embed
67342142_c0
67342142
fsharp
0
Title: How do I asynchronously download a web page in F# and catch errors Problem title: How do I asynchronously download a web page in F# and catch errors Tags: f%23-data, f%23 Problem: How do I asynchronously download a web page in F# and catch errors I've been trying to figure out the idiomatic F# way to download a ...
How do I asynchronously download a web page in F# and catch errors How do I asynchronously download a web page in F# and catch errors f%23-data f%23 How FS0001 Async Choice Async.Catch Http.AsyncRequestString www.example.bad Choice1Of2 logger.LogInformation Choice2Of2 How do I asynchronously download a web page in F# a...
[ -0.02685546875, 0.0106201171875, 0.01153564453125, -0.0081787109375, 0.015869140625, 0.00482177734375, -0.01708984375, -0.01153564453125, 0.001495361328125, 0.01422119140625, 0.005889892578125, -0.0198974609375, -0.001800537109375, -0.00116729736328125, 0.033203125, 0.0076904296875, ...
[ 11249, 54, 87, 10, 12654, 101966, 79850, 7026, 1467, 9191, 23, 563, 4904, 136, 105556, 18499, 1238, 27495, 10135, 3742, 93774, 188735, 62, 238, 181948, 76775, 3062, 75616, 71713, 11, 12283, 132887, 304, 73088, 42, 113972, 205169, 26366, 496...
[ 0.0399169921875, 0.0169830322265625, 0.0174407958984375, 0.064453125, 0.1751708984375, 0.16943359375, 0.06439208984375, 0.2103271484375, 0.1142578125, 0.136962890625, 0.057861328125, 0.1497802734375, 0.21875, 0.05902099609375, 0.18310546875, 0.212890625, 0.0621337890625, 0.06884765...
embed
59472260_c0
59472260
fsharp
0
Title: Is there a better way to write a commutative function in F#/OCaml? Problem title: Is there a better way to write a commutative function in F#/OCaml? Tags: f%23, commutativity, ocaml Problem: Is there a better way to write a commutative function in F#/OCaml? Is there a more elegant or better way to write a commut...
Is there a better way to write a commutative function in F#/OCaml? Is there a better way to write a commutative function in F#/OCaml? f%23 commutativity ocaml OCaml val1 val2 Is there a better way to write a commutative function in F#/OCaml? Is there a more elegant or better way to write a commutative function in F#/OC...
[ -0.01324462890625, -0.0103759765625, -0.004913330078125, 0.0009918212890625, 0.01043701171875, -0.014404296875, -0.007598876953125, -0.0123291015625, -0.00372314453125, -0.0184326171875, -0.0108642578125, 0.0245361328125, 0.009765625, 0.001861572265625, 0.01031494140625, -0.00982666015...
[ 11522, 3917, 33022, 375, 68754, 5844, 32354, 23, 563, 4904, 64, 29065, 302, 141, 47, 1238, 3742, 54613, 36, 9779, 180, 105272, 3502, 418, 304, 2685, 10, 1286, 27650, 5303, 756, 7722, 50218, 17569, 195625, 202317, 10750, 2174, 110, 14858, ...
[ 0.1524658203125, 0.0950927734375, 0.2034912109375, 0.1263427734375, 0.240478515625, 0.1514892578125, 0.2080078125, 0.056060791015625, 0.12060546875, 0.1773681640625, 0.04449462890625, 0.0992431640625, 0.114501953125, 0.15380859375, 0.0111083984375, 0.055419921875, 0.1014404296875, ...
embed
2071056_c0
2071056
fsharp
0
Title: Splitting a list into list of lists based on predicate Problem title: Splitting a list into list of lists based on predicate Tags: f%23 Problem: Splitting a list into list of lists based on predicate (I am aware of this question , but it relates to sequences, which is not my problem here) Given this input (for e...
Splitting a list into list of lists based on predicate Splitting a list into list of lists based on predicate f%23 Splitting text1 text2 text3 text4 text5 text6 text7 s:string s.StartsWith MyFunc List.hd List.tl Seq.map Seq.fold List.map List.rev Splitting a list into list of lists based on predicate (I am aware of thi...
[ -0.017822265625, 0.00982666015625, 0.00142669677734375, -0.0013885498046875, -0.0164794921875, 0.015869140625, 0.0157470703125, 0.00640869140625, -0.000484466552734375, -0.0283203125, 0.0120849609375, 0.046630859375, -0.0179443359375, 0.00714111328125, -0.001312255859375, 0.01214599609...
[ 46474, 1916, 5303, 3934, 111, 7, 35509, 98, 1653, 2063, 67, 1238, 3949, 3742, 7986, 418, 304, 363, 617, 758, 910, 966, 91, 91693, 126597, 194583, 2646, 97249, 238, 32036, 20257, 141, 503, 864, 62346, 42822, 65381, 107419, 33444, 26513, ...
[ 0.227783203125, 0.070556640625, 0.24951171875, 0.1571044921875, 0.1041259765625, 0.05352783203125, 0.1392822265625, 0.05206298828125, 0.1982421875, 0.2159423828125, 0.109375, 0.0738525390625, 0.058441162109375, 0.1417236328125, 0.1400146484375, 0.0103759765625, 0.039215087890625, 0...
embed
31269829_c0
31269829
fsharp
0
Title: Comparing String Structure Problem title: Comparing String Structure Tags: f%23, algorithm, string Problem: Comparing String Structure I'm working on a project in F# in which I am hoping to come up with a way to identify whether or not two strings have the same structure. I know that there are algorithms out the...
Comparing String Structure Comparing String Structure f%23 algorithm string Comparing Structure Comparing String Structure I'm working on a project in F# in which I am hoping to come up with a way to identify whether or not two strings have the same structure. I know that there are algorithms out there (like Levenshtei...
[ 0.002349853515625, 0.0146484375, -0.022705078125, 0.023681640625, 0.006988525390625, 0.020263671875, 0.0172119140625, 0.0030670166015625, 0.01171875, 0.022705078125, 0.0084228515625, 0.00970458984375, 0.0201416015625, 0.0024871826171875, -0.00323486328125, -0.0064697265625, -0.003997...
[ 113307, 214, 23351, 63667, 238, 6644, 1238, 3949, 3742, 234873, 79315, 20697, 13452, 563, 4904, 156377, 3917, 47, 135812, 36766, 707, 959, 6626, 7, 765, 5701, 45646, 1810, 636, 1353, 39899, 73, 154349, 329, 35707, 53950, 21373, 10941, 90825...
[ 0.228515625, 0.08935546875, 0.251220703125, 0.2283935546875, 0.1728515625, 0.036590576171875, 0.10302734375, 0.147705078125, 0.214599609375, 0.217529296875, 0.257568359375, 0.062255859375, 0.03802490234375, 0.07366943359375, 0.14013671875, 0.0751953125, 0.000518798828125, 0.0187377...
embed
39759359_c0
39759359
fsharp
0
Title: F# return size of input defined as number of constructors Problem title: F# return size of input defined as number of constructors Tags: f%23 Problem: F# return size of input defined as number of constructors beginner f# programmer here. So basically I'm totally lost. I've been staring at this question for the p...
F# return size of input defined as number of constructors F# return size of input defined as number of constructors f%23 Neg Not Add Mul Sub Less Op1 Op2 F# return size of input defined as number of constructors beginner f# programmer here. So basically I'm totally lost. I've been staring at this question for the past ...
[ -0.01031494140625, -0.0162353515625, 0.005584716796875, 0.012939453125, 0.006591796875, 0.00994873046875, -0.0047607421875, 0.0142822265625, 0.022216796875, -0.015625, -0.0004634857177734375, -0.0166015625, -0.007080078125, 0.0030517578125, 0.0223388671875, 0.005126953125, 0.00665283...
[ 563, 4904, 30646, 13267, 107730, 61924, 237, 14012, 64549, 25251, 1238, 3742, 799, 177, 11205, 29117, 21442, 8273, 1734, 2331, 304, 111, 77848, 112668, 72856, 5423, 13315, 2633, 10750, 4527, 103510, 14858, 214, 195625, 5844, 32354, 14700, 42,...
[ 0.1138916015625, 0.1990966796875, 0.169921875, 0.1920166015625, 0.208251953125, 0.142578125, 0.016021728515625, 0.0970458984375, 0.2159423828125, 0.164306640625, 0.0789794921875, 0.07135009765625, 0.0237579345703125, 0.04302978515625, 0.015167236328125, 0.033172607421875, 0.053314208...
embed
20664885_c0
20664885
fsharp
0
Title: Defining an F# Generic function that accepts a sequence of tuples Problem title: Defining an F# Generic function that accepts a sequence of tuples Tags: f%23 Problem: Defining an F# Generic function that accepts a sequence of tuples I am trying to write a function in F# 3.0 that accepts a sequence of tuples and ...
Defining an F# Generic function that accepts a sequence of tuples Defining an F# Generic function that accepts a sequence of tuples f%23 Defining Generic CreateDictionary Tuple Defining an F# Generic function that accepts a sequence of tuples I am trying to write a function in F# 3.0 that accepts a sequence of tuples a...
[ -0.00156402587890625, 0.0230712890625, -0.00970458984375, -0.00689697265625, 0.0191650390625, -0.028564453125, -0.0245361328125, -0.01495361328125, 0.006988525390625, 0.006011962890625, -0.0012664794921875, -0.003143310546875, -0.017822265625, 0.006439208984375, 0.001983642578125, 0.01...
[ 88606, 563, 4904, 88342, 1771, 32354, 26946, 40, 944, 3956, 370, 99726, 1238, 3742, 151313, 14055, 10763, 6635, 1371, 8705, 31577, 33022, 17596, 30646, 147638, 6002, 86531, 7108, 69236, 27875, 10644, 605, 1639, 856, 28282, 14311, 53418, 9969,...
[ 0.1561279296875, 0.1268310546875, 0.212158203125, 0.189697265625, 0.06304931640625, 0.2030029296875, 0.1824951171875, 0.06414794921875, 0.1226806640625, 0.042694091796875, 0.147705078125, 0.1917724609375, 0.029754638671875, 0.0689697265625, 0.150390625, 0.04522705078125, 0.1416015625...
embed
68756727_c0
68756727
fsharp
0
Title: How do I prevent shrinking in Model-based testing? Problem title: How do I prevent shrinking in Model-based testing? Tags: f%23, fscheck Problem: How do I prevent shrinking in Model-based testing? Here's the example of model-based test in FsCheck: let spec = let inc = { new Command<Counter, int>() with override ...
How do I prevent shrinking in Model-based testing? How do I prevent shrinking in Model-based testing? f%23 fscheck How Model-based Command Counter __.RunActual counter.Inc __.RunModel __.Post counter.Get __.ToString counter.Dec ICommandGenerator __.InitialActual __.InitialModel __.Next Gen.elements How do I prevent shr...
[ -0.01239013671875, 0.01495361328125, 0.0101318359375, 0.0130615234375, 0.004486083984375, 0.00750732421875, 0.004425048828125, -0.0218505859375, 0.01251220703125, -0.01220703125, 0.0213623046875, 0.026123046875, 0.003631591796875, 0.01611328125, 0.0206298828125, 0.0125732421875, -0.0...
[ 11249, 54, 56282, 90978, 73, 6048, 13293, 77007, 134234, 87, 23, 1238, 3742, 7, 78292, 123573, 197956, 163321, 100582, 105416, 140290, 49411, 7763, 120152, 10770, 12018, 105376, 56, 81280, 15937, 62766, 9, 27781, 3299, 3034, 563, 202567, 2837...
[ 0.0526123046875, 0.027587890625, 0.202392578125, 0.1700439453125, 0.15576171875, 0.119384765625, 0.19384765625, 0.143310546875, 0.198974609375, 0.01800537109375, 0.0163116455078125, 0.06011962890625, 0.0697021484375, 0.03631591796875, 0.2088623046875, 0.171142578125, 0.14306640625, ...
embed
22012307_c1
22012307
fsharp
1
version="1.0" encoding="UTF-16"?><ROOT><level1 name="level1Name1" x="8"><level2 name="level2Name1" a="8" b="104" /><level2 name="level2Name2" a="85" b="140" /></level1><level1 name="level1Name2" x="10"><level2 name="level2Name3" a="50" b="500" /><level2 name="level2Name4" a="376" b="1065" /><level2 name="level2Name5" ...
version="1.0" encoding="UTF-16"?><ROOT><level1 name="level1Name1" x="8"><level2 name="level2Name1" a="8" b="104" /><level2 name="level2Name2" a="85" b="140" /></level1><level1 name="level1Name2" x="10"><level2 name="level2Name3" a="50" b="500" /><level2 name="level2Name4" a="376" b="1065" /><level2 name="level2Name5" ...
[ -0.005828857421875, 0.0238037109375, -0.0086669921875, 0.01239013671875, -0.002838134765625, 0.01336669921875, -0.0311279296875, -0.01202392578125, 0.0072021484375, -0.000904083251953125, 0.0286865234375, 0.00921630859375, 0.01123046875, -0.007171630859375, 0.007598876953125, -0.000288...
[ 11389, 22422, 102107, 22, 587, 6238, 17632, 919, 13528, 38843, 74047, 1052, 162727, 67919, 418, 9351, 163612, 1022, 1019, 304, 876, 66947, 12951, 43900, 963, 2525, 4283, 363, 11835, 12424, 758, 3559, 15128, 966, 14604, 2633, 759, 1542, 7237...
[ 0.236572265625, 0.0728759765625, 0.214599609375, 0.09637451171875, 0.1884765625, 0.09576416015625, 0.112060546875, 0.1343994140625, 0.2294921875, 0.04254150390625, 0.06121826171875, 0.001953125, 0.146728515625, 0.293212890625, 0.1636962890625, 0.186767578125, 0.1336669921875, 0.063...
embed
7891547_c0
7891547
fsharp
0
Title: Scaling a sequence in F# Problem title: Scaling a sequence in F# Tags: f%23, sequences Problem: Scaling a sequence in F# I am trying to scale a sequence by the first element of the sequence, so the first element will always be one, and then subsequent elements are a ratio of the first element to the nth element ...
Scaling a sequence in F# Scaling a sequence in F# f%23 sequences Scaling System System.Collections squish1 x:Double Seq.head Seq.fold xi:Double r:Double Scaling a sequence in F# I am trying to scale a sequence by the first element of the sequence, so the first element will always be one, and then subsequent elements ar...
[ -0.00146484375, 0.0224609375, 0.009033203125, -0.002593994140625, 0.006378173828125, -0.01129150390625, -0.0172119140625, 0.0113525390625, 0.017333984375, -0.01165771484375, 0.001190185546875, 0.042724609375, 0.00136566162109375, -0.011962890625, 0.004364013671875, -0.00396728515625, ...
[ 152653, 214, 40, 944, 3956, 563, 4904, 1238, 3949, 3742, 26513, 12353, 78457, 8996, 91, 28694, 127, 1022, 2661, 503, 864, 31251, 42822, 25413, 1690, 23, 31577, 105994, 390, 5117, 12830, 1221, 11343, 1632, 221419, 80854, 70460, 47, 653, 92...
[ 0.1878662109375, 0.0265655517578125, 0.052154541015625, 0.1329345703125, 0.1064453125, 0.1329345703125, 0.2200927734375, 0.06683349609375, 0.02362060546875, 0.1248779296875, 0.1527099609375, 0.038116455078125, 0.038055419921875, 0.0806884765625, 0.0177459716796875, 0.13037109375, 0.1...
embed
42217690_c0
42217690
fsharp
0
Title: Using FSharp.Data Problem title: Using FSharp.Data Tags: f%23, c%23-to-f%23 Problem: Using FSharp.Data I'm new to F# (but not C# fwiw), and I'm trying to follow the tutorial here: http://www.ojdevelops.com/2016/03/web-scraping-with-f.html I've learned that #r cannot be in class files, but must be in script files...
Using FSharp.Data Using FSharp.Data f%23 c%23-to-f%23 Using FSharp.Data www.google.co.uk HtmlDocument.Load Using FSharp.Data I'm new to F# (but not C# fwiw), and I'm trying to follow the tutorial here: http://www.ojdevelops.com/2016/03/web-scraping-with-f.html I've learned that #r cannot be in class files, but must be ...
[ 0.00933837890625, 0.03271484375, 0.0001697540283203125, 0.01190185546875, 0.0017852783203125, 0.01092529296875, 0.007080078125, 0.002593994140625, -0.0184326171875, -0.061767578125, -0.0020294189453125, -0.03759765625, 0.0003204345703125, -0.00823974609375, 0.0169677734375, -0.01208496...
[ 345, 93774, 3467, 254, 5, 137989, 1238, 3742, 27495, 188, 420, 59875, 18, 7237, 239469, 15363, 3525, 47, 563, 4904, 2452, 434, 31577, 28960, 57143, 897, 229815, 14051, 7, 15182, 10366, 76228, 97384, 468, 42, 53418, 23, 18507, 102158, 8110...
[ 0.0870361328125, 0.1558837890625, 0.2425537109375, 0.2410888671875, 0.10009765625, 0.2213134765625, 0.053466796875, 0.0911865234375, 0.0849609375, 0.0616455078125, 0.139892578125, 0.090576171875, 0.09527587890625, 0.150634765625, 0.1553955078125, 0.043853759765625, 0.0699462890625, ...
embed
26472339_c1
26472339
fsharp
1
<- Color.LightGray mainForm.Controls.Add(chart) chart.ChartAreas.Add(area) chart, addSeries typ chart let numbers = seq { while true do for i in 0.0 .. 0.1 .. 45.0 do yield i } |> Seq.map sin let dataWindow = new ObservableCollection<double>() numbers |> Seq.take 100 |> Seq.iter dataWindow.Add let chart, series = crea...
<- Color.LightGray mainForm.Controls.Add(chart) chart.ChartAreas.Add(area) chart, addSeries typ chart let numbers = seq { while true do for i in 0.0 .. 0.1 .. 45.0 do yield i } |> Seq.map sin let dataWindow = new ObservableCollection<double>() numbers |> Seq.take 100 |> Seq.iter dataWindow.Add let chart, series = crea...
[ -0.0050048828125, 0.0301513671875, -0.0038604736328125, 0.0003871917724609375, -0.00054168701171875, -0.00457763671875, 0.01190185546875, 0.00002872943878173828, 0.01495361328125, -0.0233154296875, -0.0025787353515625, 0.00179290771484375, -0.00738525390625, 0.0037841796875, 0.0244140625...
[ 4426, 9, 51193, 5, 187459, 37878, 53, 5201, 102973, 175904, 284, 4028, 9254, 18, 116287, 84068, 1283, 3464, 15190, 138724, 7, 11417, 2633, 101935, 40, 864, 29568, 54, 17, 89678, 107754, 201, 187461, 11180, 19388, 2740, 503, 62346, 880, 20...
[ 0.00836181640625, 0.013153076171875, 0.2041015625, 0.030029296875, 0.128173828125, 0.1351318359375, 0.0482177734375, 0.07147216796875, 0.220458984375, 0.2425537109375, 0.03314208984375, 0.1842041015625, 0.2088623046875, 0.11962890625, 0.27880859375, 0.1986083984375, 0.1407470703125, ...
embed
51955564_c0
51955564
fsharp
0
Title: How to do null-conditional using Option.map? And how can F# get the property of an null object? Bug? Problem title: How to do null-conditional using Option.map? And how can F# get the property of an null object? Bug? Tags: f%23 Problem: How to do null-conditional using Option.map? And how can F# get the property...
How to do null-conditional using Option.map? And how can F# get the property of an null object? Bug? How to do null-conditional using Option.map? And how can F# get the property of an null object? Bug? f%23 Option.map How Bug Some Test None B.A.P Setup AllowNullLiteral x.P a:A x.A b:B x.B Option.ofObj c.B b.A a.P Expec...
[ 0.0216064453125, 0.00872802734375, 0.0269775390625, 0.02197265625, -0.0118408203125, -0.0047607421875, 0.0267333984375, -0.01165771484375, -0.01025390625, -0.01263427734375, -0.0047607421875, 0.014404296875, -0.00179290771484375, 0.007110595703125, 0.0194091796875, -0.00390625, -0.01...
[ 11249, 54, 56574, 126940, 289, 17368, 86769, 5, 62346, 563, 4904, 2046, 57266, 36746, 57279, 9, 1238, 3742, 31384, 8647, 438, 335, 284, 683, 19943, 41566, 18444, 1181, 9506, 720, 4390, 46471, 170, 60075, 3642, 25632, 18151, 30646, 111337, ...
[ 0.04095458984375, 0.050140380859375, 0.2447509765625, 0.2027587890625, 0.12109375, 0.05548095703125, 0.26318359375, 0.045562744140625, 0.2135009765625, 0.099365234375, 0.209716796875, 0.0703125, 0.1756591796875, 0.1646728515625, 0.1328125, 0.023834228515625, 0.04901123046875, 0.105...
embed
21797974_c0
21797974
fsharp
0
Title: F# &#x27;unbox float x&#x27; vs. &#x27;unbox int x&#x27; weird compilation result Problem title: F# &#x27;unbox float x&#x27; vs. &#x27;unbox int x&#x27; weird compilation result Tags: type-inference, units-of-measurement, f%23 Problem: F# 'unbox float x' vs. 'unbox int x' weird compilation result This came up w...
F# &#x27;unbox float x&#x27; vs. &#x27;unbox int x&#x27; weird compilation result F# &#x27;unbox float x&#x27; vs. &#x27;unbox int x&#x27; weird compilation result type-inference units-of-measurement f%23 x:int float32ToFloat x:float32 F# 'unbox float x' vs. 'unbox int x' weird compilation result This came up while I l...
[ 0.016357421875, 0.020751953125, 0.0177001953125, -0.00830078125, 0.00390625, -0.016845703125, -0.00201416015625, -0.0130615234375, 0.019775390625, 0.015380859375, -0.01129150390625, 0.002410888671875, 0.01068115234375, -0.00159454345703125, 0.026123046875, -0.0025634765625, 0.0136108...
[ 563, 4904, 3768, 309, 11728, 21917, 257, 1022, 20209, 23, 18, 179459, 98352, 16750, 10644, 69988, 25072, 4390, 37440, 56851, 1238, 3742, 4288, 6460, 7763, 365, 52347, 46640, 111, 1215, 11, 32301, 15490, 388, 72350, 51, 18151, 123166, 44084,...
[ 0.107666015625, 0.19482421875, 0.0947265625, 0.132080078125, 0.242431640625, 0.1917724609375, 0.08203125, 0.17333984375, 0.159912109375, 0.1058349609375, 0.092041015625, 0.1917724609375, 0.1998291015625, 0.142578125, 0.125244140625, 0.167236328125, 0.1700439453125, 0.0733642578125,...
embed
61717471_c1
61717471
fsharp
1
omesauce" } let personHandler getPeople savePerson deletePerson = let path = "/people" choose [ GET >=> choose [ route path >=> getPeople ] POST >=> choose [ route path >=> savePerson ] DELETE >=> choose [ routef "/people/%s" >=> deletePerson ] ] But I've add the deletePerson handler but it's now complaining that route...
omesauce" } let personHandler getPeople savePerson deletePerson = let path = "/people" choose [ GET >=> choose [ route path >=> getPeople ] POST >=> choose [ route path >=> savePerson ] DELETE >=> choose [ routef "/people/%s" >=> deletePerson ] ] But I've add the deletePerson handler but it's now complaining that route...
[ -0.01361083984375, 0.012451171875, 0.01104736328125, 0.00897216796875, -0.031982421875, 0.000301361083984375, 0.001556396484375, -0.031494140625, 0.0225830078125, -0.04248046875, 0.00848388671875, 0.0264892578125, 0.00299072265625, -0.0025482177734375, 0.034912109375, 0.00677490234375,...
[ 36, 109191, 49036, 2633, 3445, 135679, 603, 2046, 243238, 30098, 160054, 154109, 60875, 64, 223354, 55076, 79794, 36439, 81903, 20866, 60136, 420, 3949, 15190, 35863, 186992, 10644, 3062, 254, 97249, 238, 4332, 7, 7136, 959, 14858, 52895, 452...
[ 0.1134033203125, 0.07080078125, 0.1739501953125, 0.088134765625, 0.1478271484375, 0.194091796875, 0.1796875, 0.08349609375, 0.195068359375, 0.134521484375, 0.286376953125, 0.21875, 0.1732177734375, 0.06884765625, 0.217041015625, 0.08349609375, 0.0726318359375, 0.1986083984375, 0....
embed
30121076_c0
30121076
fsharp
0
Title: F# record list expressions Problem title: F# record list expressions Tags: record, list, f%23, expression Problem: F# record list expressions Hello my question is about list expressions in F#. I try to create a record that will be stored in a list. I want the Point record inside the Square record to update from ...
F# record list expressions F# record list expressions record list f%23 expression Point Square F# record list expressions Hello my question is about list expressions in F#. I try to create a record that will be stored in a list. I want the Point record inside the Square record to update from 1-9. To clear out what I me...
[ 0.00115966796875, -0.0126953125, -0.0003509521484375, 0.000827789306640625, 0.0042724609375, -0.00396728515625, -0.03271484375, 0.0189208984375, 0.0169677734375, 0.006622314453125, -0.0098876953125, 0.0089111328125, 0.0233154296875, -0.007598876953125, -0.01104736328125, -0.01904296875...
[ 563, 4904, 17164, 5303, 125195, 1238, 3949, 3742, 41097, 68305, 35378, 9655, 23, 9790, 28282, 4343, 3444, 46132, 28350, 1295, 106, 15205, 34735, 29459, 1884, 33022, 2633, 27781, 1468, 483, 2046, 3502, 18, 116, 138, 190, 305, 361, 382, 155...
[ 0.1614990234375, 0.2274169921875, 0.183349609375, 0.1724853515625, 0.2110595703125, 0.101806640625, 0.1043701171875, 0.1822509765625, 0.2032470703125, 0.1864013671875, 0.038665771484375, 0.00225830078125, 0.034637451171875, 0.0241241455078125, 0.0811767578125, 0.0855712890625, 0.0708...
embed
27041080_c0
27041080
fsharp
0
Title: F# on linux (mint/ubuntu) - dll path Problem title: F# on linux (mint/ubuntu) - dll path Tags: mono, linux, f%23 Problem: F# on linux (mint/ubuntu) - dll path This is a similar question to Running F# code with Mono but the solution there doesn't work for me, and I suspect I've got a slightly different problem. I...
F# on linux (mint/ubuntu) - dll path F# on linux (mint/ubuntu) - dll path mono linux f%23 FS0078 Unable FSharp.Core.dll FSharp.Core-4.3 Installed MONO_PATH F# on linux (mint/ubuntu) - dll path This is a similar question to Running F# code with Mono but the solution there doesn't work for me, and I suspect I've got a sl...
[ -0.005035400390625, 0.01214599609375, -0.01416015625, 0.0000782012939453125, -0.01708984375, -0.00250244140625, 0.00131988525390625, -0.002105712890625, -0.0167236328125, -0.0194091796875, 0.01025390625, -0.005706787109375, -0.009765625, 0.01300048828125, 0.0030517578125, -0.0020294189...
[ 563, 4904, 98, 11508, 6077, 54216, 64, 198996, 16, 81717, 60875, 22460, 1238, 3949, 3742, 93774, 77110, 1019, 992, 2886, 3467, 254, 50886, 13, 5, 71, 1181, 158406, 107951, 276, 110522, 65135, 841, 15, 83, 21373, 28398, 592, 18151, 678, ...
[ 0.197265625, 0.26806640625, 0.139892578125, 0.130615234375, 0.15380859375, 0.2015380859375, 0.04278564453125, 0.1824951171875, 0.012451171875, 0.20166015625, 0.20751953125, 0.22802734375, 0.1204833984375, 0.0147552490234375, 0.135986328125, 0.1234130859375, 0.0478515625, 0.10620117...
embed
30964169_c0
30964169
fsharp
0
Title: CSV Type Provider, Filtring the sequence Problem title: CSV Type Provider, Filtring the sequence Tags: f%23, type-providers Problem: CSV Type Provider, Filtring the sequence I am trying to get started with Type Provider, #r "../packages/FSharp.Data.2.2.3/lib/net40/FSharp.Data.dll" open FSharp.Data // Define your...
CSV Type Provider, Filtring the sequence CSV Type Provider, Filtring the sequence f%23 type-providers CSV Type Provider Filtring FSharp.Data.2.2.3 net40 FSharp.Data.dll FSharp.Data Define CsvProvider Data customer.csv customers.Filter row.Email john.doe foobar.com Rows Seq.head last_name first_name date_of_birth Doe Jo...
[ 0.0137939453125, 0.0244140625, -0.0025177001953125, 0.0267333984375, 0.0186767578125, -0.004852294921875, -0.007476806640625, 0.03466796875, -0.006683349609375, -0.012939453125, -0.01953125, -0.00726318359375, -0.00469970703125, 0.004364013671875, 0.01300048828125, -0.004058837890625, ...
[ 313, 43486, 60457, 123089, 42, 134411, 214, 40, 944, 3956, 1238, 3949, 3742, 10644, 93136, 14202, 93774, 3467, 254, 5, 137989, 120883, 2043, 2839, 1181, 64552, 67756, 177997, 62160, 11809, 43373, 4439, 334, 59463, 379, 15555, 161994, 35254, ...
[ 0.0709228515625, 0.277099609375, 0.250244140625, 0.251220703125, 0.1611328125, 0.242919921875, 0.0526123046875, 0.030059814453125, 0.1119384765625, 0.02435302734375, 0.034423828125, 0.00567626953125, 0.1298828125, 0.1834716796875, 0.191162109375, 0.0115966796875, 0.009246826171875, ...
embed
39124594_c0
39124594
fsharp
0
Title: Different Expressions being generated for &quot;roughly&quot; the same code quotation Problem title: Different Expressions being generated for &quot;roughly&quot; the same code quotation Tags: f%23, quotations Problem: Different Expressions being generated for "roughly" the same code quotation given the followin...
Different Expressions being generated for &quot;roughly&quot; the same code quotation Different Expressions being generated for &quot;roughly&quot; the same code quotation f%23 quotations Different Expressions Foo Quotations.Expr Lambda NewRecord Value Different Expressions being generated for "roughly" the same code q...
[ 0.01422119140625, 0.00171661376953125, -0.01116943359375, -0.00506591796875, 0.005279541015625, -0.0093994140625, -0.00494384765625, 0.016845703125, 0.009765625, 0.0244140625, -0.012939453125, 0.0277099609375, -0.01092529296875, 0.005615234375, 0.007171630859375, 0.004180908203125, 0...
[ 242520, 25129, 17514, 8035, 139392, 100, 72089, 538, 5701, 18151, 81732, 1238, 3949, 3742, 9572, 31, 43851, 22062, 19279, 10287, 122930, 85, 2356, 32271, 190060, 42, 25632, 10644, 16750, 130078, 84751, 11180, 19388, 90965, 12989, 95486, 34292, ...
[ 0.2181396484375, 0.2139892578125, 0.0902099609375, 0.0035400390625, 0.1661376953125, 0.04010009765625, 0.186767578125, 0.1390380859375, 0.1766357421875, 0.20361328125, 0.1968994140625, 0.0261077880859375, 0.00555419921875, 0.111328125, 0.1182861328125, 0.0836181640625, 0.136352539062...
embed
43485562_c0
43485562
fsharp
0
Title: JSON type provider for F#: getting rows/column names Problem title: JSON type provider for F#: getting rows/column names Tags: deedle, json, f%23, f%23-data, type-providers Problem: JSON type provider for F#: getting rows/column names I am using trying to use JSON Provider from FSharp.Data http://fsharp.github.i...
JSON type provider for F#: getting rows/column names JSON type provider for F#: getting rows/column names deedle json f%23 f%23-data type-providers JSON BookOrder JsonProvider Documents sample.json BTC_NXT poloniex.com BookOrderNow BookOrder.Load BookOrderNow.Bids GetJsonContent Root JSON type provider for F#: getting ...
[ 0.01708984375, 0.0244140625, -0.0023651123046875, 0.0296630859375, -0.0113525390625, -0.0037078857421875, 0.003875732421875, 0.01556396484375, 0.00421142578125, -0.00958251953125, 0.0123291015625, -0.0021514892578125, 0.00191497802734375, -0.032958984375, -0.00421142578125, 0.003540039...
[ 821, 58627, 10644, 81450, 100, 563, 4904, 20949, 15555, 64, 8447, 316, 123055, 8, 297, 133, 1647, 1681, 1238, 3742, 27495, 10135, 93136, 14202, 27432, 143045, 56, 177997, 62160, 43101, 121413, 170, 20499, 70981, 3788, 425, 137594, 571, 3018...
[ 0.125244140625, 0.208251953125, 0.1553955078125, 0.2315673828125, 0.009674072265625, 0.09271240234375, 0.1741943359375, 0.10296630859375, 0.15283203125, 0.10467529296875, 0.100341796875, 0.1324462890625, 0.17724609375, 0.0758056640625, 0.0887451171875, 0.1104736328125, 0.068054199218...
embed
52291253_c0
52291253
fsharp
0
Title: F# ASP.NET Core project: EntryPointAttribute error Problem title: F# ASP.NET Core project: EntryPointAttribute error Tags: f%23, asp.net-core Problem: F# ASP.NET Core project: EntryPointAttribute error This is my ASP.NET Core Web API entry-point: open Microsoft.AspNetCore open Microsoft.AspNetCore.Hosting module...
F# ASP.NET Core project: EntryPointAttribute error F# ASP.NET Core project: EntryPointAttribute error f%23 asp.net-core ASP.NET Core EntryPointAttribute Microsoft.AspNetCore Microsoft.AspNetCore.Hosting Hosting BuildWebHost WebHost CreateDefaultBuilder UseStartup Startup UseIISIntegration Build Program EntryPoint Hosti...
[ -0.014404296875, 0.03173828125, -0.0211181640625, -0.01043701171875, -0.0142822265625, -0.0181884765625, -0.00994873046875, -0.013427734375, -0.00090789794921875, -0.004852294921875, 0.003204345703125, 0.00787353515625, 0.00023365020751953125, 0.02880859375, 0.03369140625, 0.0006370544...
[ 563, 4904, 147153, 17777, 31365, 13452, 357, 15123, 147534, 28848, 191145, 18499, 1238, 3949, 3742, 237, 254, 1179, 30854, 7244, 284, 7008, 24447, 50886, 11193, 168098, 121137, 30474, 4002, 151313, 187423, 11, 36836, 126597, 153076, 32938, 1479...
[ 0.10052490234375, 0.1688232421875, 0.1654052734375, 0.114013671875, 0.1923828125, 0.126708984375, 0.0975341796875, 0.2132568359375, 0.2022705078125, 0.08306884765625, 0.2235107421875, 0.17626953125, 0.1007080078125, 0.0760498046875, 0.1761474609375, 0.0184478759765625, 0.082275390625...
embed
2330779_c0
2330779
fsharp
0
Title: Piping another parameter into the line in F# Problem title: Piping another parameter into the line in F# Tags: f%23, pipeline Problem: Piping another parameter into the line in F# Is piping parameter into line is working only for functions that accept one parameter? If we look at the example at Chris Smiths' pag...
Piping another parameter into the line in F# Piping another parameter into the line in F# f%23 pipeline Piping Using Pipe-Forward photosInMB_pipeforward Users Pictures Seq.map Seq.fold Piping another parameter into the line in F# Is piping parameter into line is working only for functions that accept one parameter? If ...
[ 0, 0.0067138671875, -0.00836181640625, 0.035888671875, -0.022705078125, 0.0035400390625, 0.000591278076171875, -0.0177001953125, 0.01318359375, -0.01031494140625, 0.01239013671875, 0.0201416015625, 0.020751953125, 0.0228271484375, 0.01153564453125, -0.0164794921875, 0.0181884765625, ...
[ 93128, 214, 15700, 171859, 3934, 13315, 563, 4904, 1238, 3742, 137158, 2256, 13, 18537, 19364, 20929, 12689, 1434, 1081, 2472, 53400, 134896, 62346, 42822, 2147, 10366, 20697, 4734, 32354, 26946, 1632, 31745, 37700, 7, 102158, 7944, 27591, 31...
[ 0.18017578125, 0.0689697265625, 0.1396484375, 0.261474609375, 0.1722412109375, 0.191650390625, 0.0994873046875, 0.1893310546875, 0.06402587890625, 0.129150390625, 0.14794921875, 0.1927490234375, 0.0291595458984375, 0.040618896484375, 0.119384765625, 0.1365966796875, 0.101806640625, ...
embed
34439261_c0
34439261
fsharp
0
Title: Extracting the values from an IGroupedObservable Problem title: Extracting the values from an IGroupedObservable Tags: system.reactive, f%23 Problem: Extracting the values from an IGroupedObservable Reactive.Linq's GroupBy leaves you with an IObservable<IGroupedObservable<'TKey, 'TValue>> . How do you get the va...
Extracting the values from an IGroupedObservable Extracting the values from an IGroupedObservable system.reactive f%23 an Extracting IGroupedObservable GroupBy IObservable TKey TValue x.Key System.Reactive.Linq Observable.Range numbers.GroupBy subscription1 groups.Where i.Key Subscribe subscription2 system.reactive Ext...
[ -0.00982666015625, 0.019287109375, 0.0047607421875, -0.0079345703125, -0.006317138671875, 0.0172119140625, 0.005950927734375, 0.00872802734375, 0.01495361328125, 0.0172119140625, 0.00157928466796875, -0.0146484375, 0.007415771484375, 0.0203857421875, -0.0152587890625, 0.0257568359375, ...
[ 31501, 238, 142424, 1295, 87, 205072, 297, 46471, 65756, 2661, 5426, 107, 71232, 1238, 3949, 3742, 10760, 75358, 384, 162429, 1910, 50770, 1022, 12353, 4332, 866, 44982, 87652, 51459, 101935, 1614, 59478, 94407, 17, 134019, 304, 853, 31358, ...
[ 0.212890625, 0.08489990234375, 0.2230224609375, 0.1337890625, 0.135009765625, 0.255615234375, 0.1661376953125, 0.1363525390625, 0.23388671875, 0.2066650390625, 0.1348876953125, 0.064208984375, 0.1580810546875, 0.0545654296875, 0.0224456787109375, 0.15185546875, 0.1932373046875, 0.1...
embed
348586_c0
348586
fsharp
0
Title: &quot;Microsoft Visual C# IntelliSense has stopped working&quot; in project referencing F# Problem title: &quot;Microsoft Visual C# IntelliSense has stopped working&quot; in project referencing F# Tags: f%23, visual-studio Problem: "Microsoft Visual C# IntelliSense has stopped working" in project referencing F# ...
&quot;Microsoft Visual C# IntelliSense has stopped working&quot; in project referencing F# &quot;Microsoft Visual C# IntelliSense has stopped working&quot; in project referencing F# f%23 visual-studio Microsoft Visual IntelliSense "Microsoft Visual C# IntelliSense has stopped working" in project referencing F# After in...
[ 0.00335693359375, 0.023193359375, -0.003204345703125, -0.00160980224609375, -0.001678466796875, 0.00872802734375, -0.00927734375, 0.0013427734375, -0.00787353515625, -0.01153564453125, -0.0036773681640625, 0.00579833984375, -0.0208740234375, 0.00384521484375, 0.0201416015625, 0.0122070...
[ 113387, 73372, 313, 4904, 24018, 150, 294, 21161, 1556, 118066, 20697, 13452, 142447, 563, 1238, 3742, 21176, 52629, 7244, 23, 24372, 20600, 6088, 23658, 38331, 178121, 22968, 2021, 195409, 18499, 150631, 756, 111, 6305, 15969, 112, 1353, 334...
[ 0.1171875, 0.246826171875, 0.047943115234375, 0.2479248046875, 0.1339111328125, 0.1246337890625, 0.1632080078125, 0.21484375, 0.092041015625, 0.1685791015625, 0.13037109375, 0.1392822265625, 0.1627197265625, 0.1326904296875, 0.0421142578125, 0.10577392578125, 0.140869140625, 0.1092...
embed
65562993_c0
65562993
fsharp
0
Title: Why are both functions called when the condition is not met? Problem title: Why are both functions called when the condition is not met? Tags: f%23 Problem: Why are both functions called when the condition is not met? I have written this F# console application (that should call the run method only if the conditi...
Why are both functions called when the condition is not met? Why are both functions called when the condition is not met? f%23 Why System Console.WriteLine System.IO.Directory.Exists Problem Watch Now Press EntryPoint resize1 Why are both functions called when the condition is not met? I have written this F# console ap...
[ -0.00567626953125, 0.00384521484375, 0.017333984375, 0.009033203125, -0.0172119140625, 0.005859375, -0.005401611328125, -0.0069580078125, 0.0027618408203125, 0.0220947265625, 0.0233154296875, 0.023193359375, -0.0040283203125, 0.007415771484375, 0.0223388671875, -0.00011730194091796875,...
[ 44084, 621, 15044, 32354, 7, 35839, 3229, 35431, 83, 959, 435, 1238, 3742, 12353, 1657, 40777, 18781, 93232, 17780, 184911, 30675, 19279, 64370, 15649, 20413, 14240, 21072, 357, 15123, 147534, 456, 62539, 59121, 563, 4904, 130250, 38415, 1178...
[ 0.154052734375, 0.05572509765625, 0.18798828125, 0.2305908203125, 0.06182861328125, 0.2056884765625, 0.1500244140625, 0.2568359375, 0.117431640625, 0.2080078125, 0.2110595703125, 0.0347900390625, 0.05877685546875, 0.127197265625, 0.0703125, 0.1673583984375, 0.055511474609375, 0.143...
embed
41685686_c1
41685686
fsharp
1
9-4.Invoke (Suave.HttpContext context) <0x41493dc0 + 0x0002f> in <filename unknown>:0 at Suave.WebPart+bind@14-5[a,b].Invoke (Microsoft.FSharp.Core.FSharpOption`1 _arg1) <0x41472a10 + 0x00044> in <filename unknown>:0 at Microsoft.FSharp.Control.AsyncBuilderImpl+args@835-1[a,b].Invoke (a a) <0x41435c60 + 0x000af> in <fi...
9-4.Invoke (Suave.HttpContext context) <0x41493dc0 + 0x0002f> in <filename unknown>:0 at Suave.WebPart+bind@14-5[a,b].Invoke (Microsoft.FSharp.Core.FSharpOption`1 _arg1) <0x41472a10 + 0x00044> in <filename unknown>:0 at Microsoft.FSharp.Control.AsyncBuilderImpl+args@835-1[a,b].Invoke (a a) <0x41435c60 + 0x000af> in <fi...
[ -0.00714111328125, 0.00982666015625, 0.01385498046875, -0.00762939453125, -0.021728515625, 0.0118408203125, 0.01397705078125, -0.0157470703125, -0.01300048828125, -0.0211181640625, 0.00811767578125, 0.023681640625, 0.00396728515625, 0.00060272216796875, 0.00836181640625, 0.010009765625...
[ 483, 11565, 4153, 23253, 13, 14168, 8216, 3062, 11935, 22829, 43701, 2389, 425, 617, 2592, 11591, 997, 757, 9508, 420, 23, 29822, 11627, 51, 69723, 53861, 45384, 272, 30474, 58229, 1328, 89817, 10342, 113387, 36381, 3467, 254, 50886, 39029,...
[ 0.0821533203125, 0.109375, 0.1273193359375, 0.2548828125, 0.15234375, 0.1737060546875, 0.28271484375, 0.0362548828125, 0.034332275390625, 0.1568603515625, 0.210205078125, 0.029296875, 0.010406494140625, 0.05340576171875, 0.050506591796875, 0.13232421875, 0.0291595458984375, 0.04461...
embed
4599657_c0
4599657
fsharp
0
Title: F# List SelectMany Problem title: F# List SelectMany Tags: linq, f%23 Problem: F# List SelectMany This is quite simple question but I didn't find an answer: Is there any Seq/List operation in F# to match the LINQ SelectMany? I know I can use System.Linq in F# if I want to. I know I can make a recursive method an...
F# List SelectMany F# List SelectMany linq f%23 i j List SelectMany items1 items2 IEnumerable TResult TSource TCollection Func F# List SelectMany This is quite simple question but I didn't find an answer: Is there any Seq/List operation in F# to match the LINQ SelectMany? I know I can use System.Linq in F# if I want to...
[ -0.00830078125, 0.03076171875, 0.0016937255859375, 0.005950927734375, -0.0223388671875, -0.003631591796875, -0.01025390625, 0.005859375, 0.00103759765625, -0.01904296875, -0.008056640625, -0.00110626220703125, -0.0020904541015625, 0.021728515625, -0.01507568359375, 0.00141143798828125,...
[ 563, 4904, 32036, 51620, 12662, 53, 96, 44982, 1238, 3949, 3742, 1647, 55769, 2606, 7136, 211235, 45878, 28670, 8781, 2499, 503, 864, 64, 154663, 41018, 23, 14858, 46610, 2737, 4527, 12353, 866, 3444, 195625, 55300, 159415, 25129, 113138, 2...
[ 0.1370849609375, 0.2091064453125, 0.1988525390625, 0.2086181640625, 0.21142578125, 0.1785888671875, 0.055877685546875, 0.19091796875, 0.038177490234375, 0.015228271484375, 0.0662841796875, 0.07623291015625, 0.0885009765625, 0.04638671875, 0.07000732421875, 0.140380859375, 0.098144531...
embed
47350277_c0
47350277
fsharp
0
Title: F# Cannot enumerate sequence generated by yield when using GetEnumerator Problem title: F# Cannot enumerate sequence generated by yield when using GetEnumerator Tags: enumeration, f%23, sequence, yield Problem: F# Cannot enumerate sequence generated by yield when using GetEnumerator The following example is base...
F# Cannot enumerate sequence generated by yield when using GetEnumerator F# Cannot enumerate sequence generated by yield when using GetEnumerator enumeration f%23 sequence yield GetEnumerator Cannot print2 print1 System.Linq xs.GetEnumerator en.MoveNext en.Current Enumerable.SequenceEqual F# Cannot enumerate sequence g...
[ -0.00347900390625, 0.027099609375, 0.006439208984375, 0.004058837890625, 0.01055908203125, -0.016357421875, 0.006805419921875, -0.00482177734375, -0.0184326171875, -0.018310546875, -0.0011138916015625, 0.051025390625, 0, -0.01104736328125, 0.03173828125, -0.023681640625, -0.012512207...
[ 563, 4904, 4171, 10869, 189085, 67, 40, 944, 3956, 139392, 11180, 19388, 17368, 20779, 647, 2606, 56, 4597, 390, 1238, 3742, 28412, 304, 418, 12353, 44982, 1022, 724, 126, 22, 9083, 81280, 474, 316, 2886, 4233, 71723, 25632, 27781, 35509,...
[ 0.10601806640625, 0.178466796875, 0.041900634765625, 0.0849609375, 0.260986328125, 0.05718994140625, 0.063232421875, 0.139404296875, 0.045806884765625, 0.1353759765625, 0.1534423828125, 0.216064453125, 0.0273284912109375, 0.1484375, 0.063232421875, 0.2047119140625, 0.1494140625, 0....
embed
52133996_c0
52133996
fsharp
0
Title: summing elements from a user defined datatype Problem title: summing elements from a user defined datatype Tags: functional-programming, f%23, f%23-interactive Problem: summing elements from a user defined datatype Upon covering the predefined datatypes in f# (i.e lists) and how to sum elements of a list or a se...
summing elements from a user defined datatype summing elements from a user defined datatype functional-programming f%23 f%23-interactive a list1 List.sum summing elements from a user defined datatype Upon covering the predefined datatypes in f# (i.e lists) and how to sum elements of a list or a sequence, I'm trying to ...
[ 0.007659912109375, 0.023193359375, 0.0126953125, 0.023681640625, -0.027099609375, 0.011474609375, -0.01263427734375, 0.0255126953125, 0.01513671875, -0.05712890625, 0.004638671875, -0.0238037109375, -0.003082275390625, 0.01373291015625, 0.025390625, -0.000904083251953125, 0.016967773...
[ 166, 58838, 80854, 1295, 38937, 61924, 2053, 50986, 123309, 28966, 1238, 10433, 71232, 5303, 418, 32036, 11832, 5983, 4904, 3642, 47, 10554, 111, 944, 4488, 678, 28282, 10644, 11782, 82825, 62, 9157, 201505, 45367, 154107, 23, 18, 12912, 25...
[ 0.1806640625, 0.1695556640625, 0.20458984375, 0.115966796875, 0.170166015625, 0.1934814453125, 0.1087646484375, 0.245361328125, 0.085205078125, 0.090576171875, 0.088134765625, 0.03973388671875, 0.046417236328125, 0.2001953125, 0.05377197265625, 0.1619873046875, 0.225830078125, 0.08...
embed