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
2365527_c0
2365527
fsharp
0
Title: How read a file into a seq of lines in F# Problem title: How read a file into a seq of lines in F# Tags: f%23 Problem: How read a file into a seq of lines in F# This is C# version: public static IEnumerable<string> ReadLinesEnumerable(string path) { using ( var reader = new StreamReader(path) ) { var line = read...
How read a file into a seq of lines in F# How read a file into a seq of lines in F# f%23 How IEnumerable ReadLinesEnumerable StreamReader reader.ReadLine How read a file into a seq of lines in F# This is C# version: But directly translating needs a mutable variable.
[ 0.01220703125, -0.015625, 0.00046539306640625, 0.01397705078125, 0.00921630859375, 0.00148773193359375, 0.0089111328125, 0.01220703125, -0.0238037109375, -0.049072265625, -0.00872802734375, 0.0245361328125, -0.013671875, 0.007354736328125, 0.045654296875, 0.00946044921875, -0.0063476...
[ 11249, 12301, 11435, 3934, 40, 864, 111, 124519, 563, 4904, 1238, 3742, 2606, 56, 2886, 4764, 93232, 115061, 31345, 155255, 10, 23, 313, 11389, 105237, 3900, 143, 27117, 842, 22819, 77336 ]
[ 0.048309326171875, 0.2218017578125, 0.17626953125, 0.170166015625, 0.117919921875, 0.185791015625, 0.1258544921875, 0.175048828125, 0.1385498046875, 0.201416015625, 0.0701904296875, 0.0894775390625, 0.111328125, 0.0615234375, 0.05999755859375, 0.1630859375, 0.161376953125, 0.138061...
embed
24327872_c0
24327872
fsharp
0
Title: How to call/invoke fsc, the F# compiler, from FAKE? Problem title: How to call/invoke fsc, the F# compiler, from FAKE? Tags: f%23-fake, f%23 Problem: How to call/invoke fsc, the F# compiler, from FAKE? How do I tell FAKE to compile a .fs file using fsc ? Bonus points for explaining how to also pass arguments lik...
How to call/invoke fsc, the F# compiler, from FAKE? How to call/invoke fsc, the F# compiler, from FAKE? f%23-fake f%23 FAKE How target:dll How to call/invoke fsc, the F# compiler, from FAKE? How do I tell FAKE to compile a .fs file using fsc ? Bonus points for explaining how to also pass arguments like -a and -target:d...
[ -0.00946044921875, 0.027587890625, 0.0011138916015625, -0.003692626953125, -0.004180908203125, 0.00885009765625, 0.0027008056640625, -0.00408935546875, -0.01531982421875, -0.007232666015625, -0.003204345703125, 0.007080078125, -0.00531005859375, 0.033447265625, 0.0130615234375, -0.0217...
[ 11249, 47, 11782, 64, 23253, 13, 1238, 10382, 563, 4904, 9969, 34759, 1295, 119960, 73, 27495, 1021, 350, 3742, 30388, 71, 1181, 14192, 1340, 5, 17447, 11435, 17368, 27875, 10750, 11, 867, 3794, 16265, 121137, 425, 177149, 24861, 19, 3444...
[ 0.04425048828125, 0.0171966552734375, 0.13525390625, 0.034759521484375, 0.1368408203125, 0.009735107421875, 0.1427001953125, 0.2159423828125, 0.1806640625, 0.2017822265625, 0.18115234375, 0.1861572265625, 0.1104736328125, 0.2386474609375, 0.0212249755859375, 0.077880859375, 0.1922607...
embed
41714879_c1
41714879
fsharp
1
'. at File1.boom() Any help would be greatly appreciated as I am at my wits end with this. Code signals: System.Exception, MatchException, MissingMethodException, System.MissingMethodException, FsUnit, Fact, BOOM, FsUnit.Xunit, Exception, Expected, Actual, SqlJuxtFunctionalTests.Scenarios.CompareTableScenarios, SqlJuxt...
'. at File1.boom() Any help would be greatly appreciated as I am at my wits end with this. Code signals: System.Exception, MatchException, MissingMethodException, System.MissingMethodException, FsUnit, Fact, BOOM, FsUnit.Xunit, Exception, Expected, Actual, SqlJuxtFunctionalTests.Scenarios.CompareTableScenarios, SqlJuxt...
[ 0.0091552734375, -0.003997802734375, 0.0003223419189453125, 0.003204345703125, -0.00138092041015625, 0.00274658203125, 0.01177978515625, -0.00750732421875, 0.0019989013671875, 0.0027618408203125, -0.014404296875, 0.0238037109375, -0.0106201171875, -0.00347900390625, 0, -0.0023498535156...
[ 242, 5, 99, 42724, 418, 106834, 132, 28541, 4358, 6782, 77947, 444, 759, 43198, 3564, 678, 903, 28864, 26073, 7, 12353, 19279, 63928, 67407, 16771, 214, 78572, 7352, 135261, 563, 85600, 18, 132640, 335, 158204, 309, 217, 60075, 100582, 99...
[ 0.141845703125, 0.08343505859375, 0.127685546875, 0.2442626953125, 0.1318359375, 0.298828125, 0.1522216796875, 0.02569580078125, 0.1202392578125, 0.007354736328125, 0.06573486328125, 0.0259246826171875, 0.001190185546875, 0.007781982421875, 0.0784912109375, 0.012420654296875, 0.05459...
embed
48092739_c0
48092739
fsharp
0
Title: What are row types? Are they algebraic data types? Problem title: What are row types? Are they algebraic data types? Tags: functional-programming, f%23, .net, ocaml Problem: What are row types? Are they algebraic data types? I often hear that F# lacks support for OCaml row types, that makes the language more pow...
What are row types? Are they algebraic data types? What are row types? Are they algebraic data types? functional-programming f%23 .net ocaml What What are row types? Are they algebraic data types? I often hear that F# lacks support for OCaml row types, that makes the language more powerful than F#. What are they? Are t...
[ 0.00262451171875, 0.0142822265625, 0.029541015625, 0.0264892578125, -0.01239013671875, -0.0211181640625, 0.001312255859375, 0.01318359375, -0.00927734375, 0.0208740234375, -0.0081787109375, -0.0255126953125, -0.0086669921875, -0.00194549560546875, -0.01275634765625, 0.0147705078125, ...
[ 4865, 621, 15555, 52895, 1836, 144, 429, 2844, 2053, 15901, 1771, 123309, 28966, 1238, 3742, 1179, 36, 9779, 141, 6, 563, 4904, 21, 22824, 8060, 180, 105272, 46876, 1286, 113138, 10554, 135421, 69941, 12996, 115923, 7722, 33022, 220734 ]
[ 0.0545654296875, 0.0850830078125, 0.275390625, 0.29638671875, 0.054443359375, 0.036102294921875, 0.0968017578125, 0.1279296875, 0.1396484375, 0.020965576171875, 0.0286712646484375, 0.12109375, 0.07666015625, 0.010101318359375, 0.01959228515625, 0.06695556640625, 0.037933349609375, ...
embed
40641937_c0
40641937
fsharp
0
Title: get keys and values as a string Problem title: get keys and values as a string Tags: f%23-3.0, f%23 Problem: get keys and values as a string giving a json { "id": 1, "name": "one" } I would like to produce two strings: one with keys like: "id", "name" and one with values 1, "one" Seems trivial, but so far I don'...
get keys and values as a string get keys and values as a string f%23-3.0 f%23 get keys and values as a string giving a json I would like to produce two strings: one with keys like: "id", "name" and one with values 1, "one" Seems trivial, but so far I don't even know where to start. Should I parse it with some JSON pars...
[ -0.007720947265625, -0.0113525390625, -0.0186767578125, -0.01422119140625, -0.0196533203125, -0.0034942626953125, 0.010009765625, 0.0123291015625, 0.006927490234375, -0.00020122528076171875, 0.013671875, 0.0341796875, -0.013671875, -0.0123291015625, 0.0179443359375, 0.0146484375, -0....
[ 2046, 22799, 7, 136, 142424, 237, 10, 79315, 1238, 167218, 27495, 132265, 3949, 3742, 68772, 1647, 1681, 2806, 1884, 27489, 6626, 678, 532, 11627, 1632, 106, 3630, 686, 289, 2060, 3714, 4034, 366, 184, 821, 58627, 2189, 47, 856, 50770, ...
[ 0.138916015625, 0.2308349609375, 0.1595458984375, 0.2257080078125, 0.258056640625, 0.16650390625, 0.038482666015625, 0.2452392578125, 0.07958984375, 0.029449462890625, 0.1334228515625, 0.177734375, 0.001373291015625, 0.142822265625, 0.05389404296875, 0.11572265625, 0.200927734375, ...
embed
1181520_c0
1181520
fsharp
0
Title: How to bind i at the end of a sequence using Seq.iteri Problem title: How to bind i at the end of a sequence using Seq.iteri Tags: sequence, loops, f%23 Problem: How to bind i at the end of a sequence using Seq.iteri mySequence |> Seq.iteri (fun i x -> ...) ... How do I bind i at the end of the sequence? In othe...
How to bind i at the end of a sequence using Seq.iteri How to bind i at the end of a sequence using Seq.iteri sequence loops f%23 Seq.iteri How How to bind i at the end of a sequence using Seq.iteri How do I bind i at the end of the sequence? In other words how do I bind the value representing the number of iterations ...
[ -0.027099609375, 0.0260009765625, 0.0096435546875, -0.00421142578125, -0.005157470703125, 0.01031494140625, 0.0206298828125, 0.01055908203125, -0.00933837890625, -0.036376953125, -0.0050048828125, -0.006744384765625, 0.00811767578125, 0.0240478515625, 0.015869140625, -0.005035400390625...
[ 11249, 47, 68557, 17, 99, 70, 3564, 111, 40, 944, 3956, 17368, 503, 864, 14, 14465, 40956, 1238, 3949, 3742, 54, 87, 3642, 34292, 33636, 14012, 720, 21094, 5809, 28282, 18831, 95486, 100, 756, 27650, 3917 ]
[ 0.08544921875, 0.0283660888671875, 0.251708984375, 0.2181396484375, 0.16845703125, 0.0966796875, 0.2225341796875, 0.107421875, 0.0694580078125, 0.1331787109375, 0.10693359375, 0.047515869140625, 0.043365478515625, 0.1494140625, 0.055084228515625, 0.293701171875, 0.13818359375, 0.03...
embed
56367630_c0
56367630
fsharp
0
Title: F# async function containing while loop with async calls fail to compile Problem title: F# async function containing while loop with async calls fail to compile Tags: f%23 Problem: F# async function containing while loop with async calls fail to compile Code signals: Incomplete, IBus, bus.Advanced.QueueDeclareAs...
F# async function containing while loop with async calls fail to compile F# async function containing while loop with async calls fail to compile f%23 Incomplete IBus bus.Advanced.QueueDeclareAsync Async.AwaitTask bus.Advanced.GetMessageAsync utf8Body Encoding.UTF8.GetString message.Body JsonConvert.DeserializeObject E...
[ 0.0020751953125, 0.000156402587890625, -0.01092529296875, 0.00836181640625, -0.0026092529296875, 0.015869140625, 0.0078125, -0.0079345703125, 0.012939453125, -0.00130462646484375, 0.00811767578125, 0.02490234375, -0.0107421875, 0.000446319580078125, 0.0380859375, 0.00482177734375, 0....
[ 563, 4904, 10, 12654, 238, 32354, 70541, 12960, 40956, 678, 11782, 35782, 9969, 1340, 1238, 3742, 277, 131801, 223, 5324, 157000, 120152, 634, 9874, 6011, 1019, 587, 26008, 12647, 821, 1681, 11549, 73347, 25435, 75161, 212059, 126, 75358, 1...
[ 0.119140625, 0.18701171875, 0.0283660888671875, 0.20751953125, 0.056243896484375, 0.1490478515625, 0.10400390625, 0.19580078125, 0.141357421875, 0.0921630859375, 0.16162109375, 0.1707763671875, 0.1407470703125, 0.160888671875, 0.09423828125, 0.14013671875, 0.09197998046875, 0.15991...
embed
24757783_c0
24757783
fsharp
0
Title: F# function call dependency graphs Problem title: F# function call dependency graphs Tags: metaprogramming, f%23 Problem: F# function call dependency graphs We have an application in F# with a deep function call dependency graph. It performs financial calculations in a hierarchical fashion. How could we extract ...
F# function call dependency graphs F# function call dependency graphs metaprogramming f%23 F# function call dependency graphs We have an application in F# with a deep function call dependency graph. It performs financial calculations in a hierarchical fashion. How could we extract the graph of dependency calls? We are ...
[ 0.0081787109375, 0.01397705078125, -0.0108642578125, 0.00714111328125, -0.0089111328125, 0.0140380859375, -0.012451171875, -0.0135498046875, 0.006011962890625, -0.018310546875, -0.00860595703125, -0.006134033203125, -0.01318359375, 0.04296875, 0.037109375, 0.00592041015625, 0.0239257...
[ 563, 4904, 32354, 11782, 42548, 27771, 41382, 23550, 28966, 1238, 3949, 3742, 1401, 765, 38415, 53894, 51339, 53477, 74481, 1791, 54689, 54543, 11249, 5809, 642, 125663, 70, 111, 7, 959, 60892, 4393, 48963, 17721, 88996, 64, 137175, 60042, ...
[ 0.1492919921875, 0.221923828125, 0.1629638671875, 0.1993408203125, 0.2017822265625, 0.10430908203125, 0.241943359375, 0.13037109375, 0.110107421875, 0.0751953125, 0.0166473388671875, 0.100830078125, 0.003143310546875, 0.002777099609375, 0.128662109375, 0.1224365234375, 0.063659667968...
embed
28034180_c0
28034180
fsharp
0
Title: Converting a row read with F#-data to array Problem title: Converting a row read with F#-data to array Tags: f%23-data, f%23 Problem: Converting a row read with F#-data to array I am trying to read a csv file (without headers) using F#-data. So far I have got: let filename = @"data.csv" let file = File.OpenText(...
Converting a row read with F#-data to array Converting a row read with F#-data to array f%23-data f%23 Converting data.csv File.OpenText CsvFile.Load data.Rows Converting a row read with F#-data to array I am trying to read a csv file (without headers) using F#-data. So far I have got: I would like to convert each row ...
[ 0.00946044921875, -0.007781982421875, 0.01141357421875, 0.033203125, -0.01263427734375, -0.0091552734375, 0.0004863739013671875, 0.019287109375, -0.00555419921875, -0.0035247802734375, -0.01080322265625, -0.014404296875, -0.020751953125, 0.01177978515625, 0.00122833251953125, -0.032714...
[ 1657, 814, 1916, 6, 15555, 12301, 678, 563, 4904, 10135, 47, 10298, 53, 10, 9, 1238, 167218, 27495, 3742, 2053, 5, 4439, 334, 42724, 103264, 174379, 67756, 174350, 12724, 19725, 31577, 20763, 11435, 76228, 6056, 10336, 1314, 16, 17368, 20...
[ 0.033966064453125, 0.126708984375, 0.059356689453125, 0.01251220703125, 0.2144775390625, 0.1688232421875, 0.07861328125, 0.1365966796875, 0.224609375, 0.1396484375, 0.0770263671875, 0.2076416015625, 0.187744140625, 0.003570556640625, 0.014190673828125, 0.10760498046875, 0.00350952148...
embed
70916048_c1
70916048
fsharp
1
193: A type parameter is missing a constraint 'when ( ^V or ^?17597) : (static member (+) : ^V * ^?17597 -> ^?17598)' //Polynom.fsx(120,9): error FS0071: Type constraint mismatch when applying the default type 'obj' for a type inference variable. The type 'obj' does not support the operator '+' Consider adding further ...
193: A type parameter is missing a constraint 'when ( ^V or ^?17597) : (static member (+) : ^V * ^?17597 -> ^?17598)' //Polynom.fsx(120,9): error FS0071: Type constraint mismatch when applying the default type 'obj' for a type inference variable. The type 'obj' does not support the operator '+' Consider adding further ...
[ -0.0177001953125, -0.0030364990234375, 0.016357421875, 0.004638671875, -0.00897216796875, -0.0081787109375, -0.01385498046875, -0.0031280517578125, 0.00066375732421875, -0.030029296875, 0.00933837890625, -0.035400390625, 0.0137939453125, -0.004150390625, -0.0062255859375, -0.0310058593...
[ 113543, 10644, 171859, 83, 132283, 158, 2816, 4288, 3220, 13331, 856, 121670, 116354, 201939, 32786, 22183, 2489, 191304, 125435, 7192, 538, 1687, 17447, 425, 20840, 1126, 18499, 93774, 77110, 82825, 60457, 1239, 98753, 59911, 114977, 3522, 170...
[ 0.1805419921875, 0.2322998046875, 0.2347412109375, 0.010986328125, 0.2078857421875, 0.1094970703125, 0.20654296875, 0.1307373046875, 0.13330078125, 0.04803466796875, 0.1890869140625, 0.1539306640625, 0.1905517578125, 0.1568603515625, 0.1873779296875, 0.14892578125, 0.049652099609375,...
embed
5434721_c0
5434721
fsharp
0
Title: Efficient Int32/Uint32 Sorted Map / Sparse Array Problem title: Efficient Int32/Uint32 Sorted Map / Sparse Array Tags: .net, c%23, dictionary, f%23, sparse-array Problem: Efficient Int32/Uint32 Sorted Map / Sparse Array I'm looking for a specialized (and fast) Int32/UInt32 sorted map (that preferably is faster t...
Efficient Int32/Uint32 Sorted Map / Sparse Array Efficient Int32/Uint32 Sorted Map / Sparse Array .net c%23 dictionary f%23 sparse-array Efficient Int32 Uint32 Sorted Map Sparse Array Efficient Int32/Uint32 Sorted Map / Sparse Array I'm looking for a specialized (and fast) Int32/UInt32 sorted map (that preferably is fa...
[ -0.0034332275390625, 0.01470947265625, 0.01031494140625, -0.039794921875, -0.0291748046875, -0.0162353515625, 0.0111083984375, -0.00191497802734375, 0.0047607421875, 0.01287841796875, -0.00732421875, 0.025146484375, -0.008544921875, 0.015380859375, 0.0274658203125, -0.0035247802734375,...
[ 241, 24500, 45964, 360, 18, 6460, 64, 1062, 4288, 53666, 297, 42719, 248, 37456, 184, 69253, 53, 1179, 501, 3949, 3742, 45, 10763, 6635, 1238, 27148, 19305, 345, 16487, 100, 5361, 29367, 2940, 4271, 33457, 660, 17497, 71, 22288, 86673, ...
[ 0.012664794921875, 0.1748046875, 0.1590576171875, 0.077880859375, 0.160400390625, 0.292724609375, 0.0032958984375, 0.053253173828125, 0.145263671875, 0.1810302734375, 0.100341796875, 0.232177734375, 0.027099609375, 0.2208251953125, 0.1771240234375, 0.1705322265625, 0.1187744140625, ...
embed
72237070_c0
72237070
fsharp
0
Title: How to use FSharpPlus.Lens to specify the index of a list? Problem title: How to use FSharpPlus.Lens to specify the index of a list? Tags: f%23%2B, lenses, f%23 Problem: How to use FSharpPlus.Lens to specify the index of a list? The sample code of the documentation defines _pageNumber using List._item , but I ca...
How to use FSharpPlus.Lens to specify the index of a list? How to use FSharpPlus.Lens to specify the index of a list? f%23%2B lenses f%23 How FSharpPlus.Lens _pageNumber List._item Book._pageNumber How to use FSharpPlus.Lens to specify the index of a list? The sample code of the documentation defines _pageNumber using ...
[ -0.0211181640625, 0.01531982421875, 0.01190185546875, -0.00135040283203125, -0.00262451171875, 0.01104736328125, -0.021484375, -0.017822265625, 0.006591796875, -0.039794921875, 0.0311279296875, 0.0034942626953125, 0.000152587890625, 0.00347900390625, 0.0225830078125, -0.0220947265625, ...
[ 11249, 4527, 93774, 3467, 254, 88225, 866, 1755, 40140, 18929, 63262, 111, 5303, 5, 1238, 96, 47754, 3742, 22469, 18444, 26278, 32036, 217, 195, 27432, 121413, 18151, 209806, 61924, 101, 17368, 27781, 6863, 25632, 18499, 11814 ]
[ 0.034515380859375, 0.0799560546875, 0.07806396484375, 0.1527099609375, 0.131103515625, 0.2279052734375, 0.1038818359375, 0.1558837890625, 0.1414794921875, 0.048980712890625, 0.2125244140625, 0.05767822265625, 0.1826171875, 0.023651123046875, 0.013458251953125, 0.0904541015625, 0.0855...
embed
36380194_c1
36380194
fsharp
1
.Define<CassyMappings>() printfn "Works fine!" https://dotnetfiddle.net/8IiYhg here is a link to the C# http://www.datastax.com/dev/blog/csharp-driver-cassandra-new-mapper-linq-improvements Code signals: Cassandra, CQL, Mapping, Cassandra.Mapping, System, Ranking, Guid, Alias, Kills, Deaths, Player, Dob, DateTime, Full...
.Define<CassyMappings>() printfn "Works fine!" https://dotnetfiddle.net/8IiYhg here is a link to the C# http://www.datastax.com/dev/blog/csharp-driver-cassandra-new-mapper-linq-improvements Code signals: Cassandra, CQL, Mapping, Cassandra.Mapping, System, Ranking, Guid, Alias, Kills, Deaths, Player, Dob, DateTime, Full...
[ -0.0179443359375, 0.020751953125, 0.00179290771484375, 0.0009918212890625, -0.00811767578125, 0.005462646484375, 0.020263671875, 0.00084686279296875, 0.00537109375, 0.011962890625, -0.01953125, 0.0038604736328125, 0.0101318359375, 0.00592041015625, 0.0042724609375, 0.006988525390625, ...
[ 6, 5, 187423, 1212, 20370, 46048, 4613, 26783, 7, 132, 16, 28412, 14783, 108259, 5885, 3890, 1179, 4028, 133, 177, 3688, 3126, 313, 4904, 10135, 590, 425, 18548, 4439, 3467, 254, 33926, 56, 9381, 52821, 54936, 192, 8079, 2397, 864, 1286...
[ 0.0157318115234375, 0.088134765625, 0.224853515625, 0.193115234375, 0.1478271484375, 0.1690673828125, 0.229248046875, 0.249267578125, 0.102294921875, 0.011688232421875, 0.0040283203125, 0.162353515625, 0.1651611328125, 0.1749267578125, 0.19677734375, 0.0732421875, 0.0250091552734375,...
embed
77207326_c0
77207326
fsharp
0
Title: Publish .NET application with 3rd party binaries Problem title: Publish .NET application with 3rd party binaries Tags: f%23, .net Problem: Publish .NET application with 3rd party binaries i have a dotnet application. it utilizes some 3rd party tool binaries. program retrieves paths to 3rd party tools by environm...
Publish .NET application with 3rd party binaries Publish .NET application with 3rd party binaries f%23 .net Publish NET configuration.GetValue ToolPath Publish .NET application with 3rd party binaries i have a dotnet application. it utilizes some 3rd party tool binaries. program retrieves paths to 3rd party tools by en...
[ -0.005279541015625, 0.0196533203125, -0.0252685546875, 0.006134033203125, -0.02734375, 0.01123046875, -0.00799560546875, -0.01470947265625, -0.0069580078125, 0.01324462890625, -0.007659912109375, 0.0166015625, 0.006805419921875, 0.03271484375, 0.01708984375, 0.005096435546875, 0.0134...
[ 67325, 1495, 5, 17777, 38415, 678, 138, 4216, 19085, 23035, 10484, 1238, 3742, 1179, 180346, 724, 126, 856, 50770, 92285, 683, 10519, 765, 20633, 121876, 55516, 1528, 97351, 60875, 47, 72977, 65998, 77336, 47989, 59994, 91693, 186490, 26698, ...
[ 0.1920166015625, 0.074462890625, 0.047119140625, 0.230224609375, 0.176025390625, 0.1314697265625, 0.14990234375, 0.13330078125, 0.1593017578125, 0.24462890625, 0.1412353515625, 0.011322021484375, 0.08935546875, 0.1781005859375, 0.171142578125, 0.0181732177734375, 0.064453125, 0.115...
embed
56185119_c0
56185119
fsharp
0
Title: Is there a cleaner way to deal with double nullable types in F#? Problem title: Is there a cleaner way to deal with double nullable types in F#? Tags: f%23 Problem: Is there a cleaner way to deal with double nullable types in F#? I have these two lines: if not start.IsNone && not stop.IsNone then let times = Tim...
Is there a cleaner way to deal with double nullable types in F#? Is there a cleaner way to deal with double nullable types in F#? f%23 start.IsNone stop.IsNone TimeArray start.Value stop.Value Is there a cleaner way to deal with double nullable types in F#? I have these two lines: Is there a cleaner way to do this? if ...
[ -0.012939453125, -0.0206298828125, 0.0216064453125, -0.0019683837890625, -0.00799560546875, 0.0030975341796875, 0.0081787109375, -0.025634765625, 0.0030975341796875, 0.011474609375, 0.0184326171875, 0.02685546875, -0.0024261474609375, -0.0196533203125, 0.005950927734375, 0.002578735351...
[ 46622, 56, 3917, 35142, 678, 41929, 9229, 2661, 52895, 563, 4904, 10, 23, 1238, 3742, 4034, 5021, 86, 7279, 29598, 19055, 7614, 7092, 50770, 856, 124519, 11001, 34292, 4527, 14858, 116, 142424, 919, 5155, 138 ]
[ 0.1842041015625, 0.1251220703125, 0.061981201171875, 0.117431640625, 0.0792236328125, 0.2069091796875, 0.1944580078125, 0.209716796875, 0.20751953125, 0.1561279296875, 0.191162109375, 0.008148193359375, 0.0192718505859375, 0.074951171875, 0.119384765625, 0.074951171875, 0.05474853515...
embed
15203446_c0
15203446
fsharp
0
Title: Private modifier for F# types Problem title: Private modifier for F# types Tags: f%23 Problem: Private modifier for F# types If we have module M type private A = B | C (...) The private modifier means that A will only be usable from within the module M. But in this case: namespace N type private A = B | C (...) ...
Private modifier for F# types Private modifier for F# types f%23 Private Private modifier for F# types If we have The private modifier means that A will only be usable from within the module M. But in this case: What will be the effect of that private modifier? It doesn't make sense for a CLR namespace to have private ...
[ 0.01153564453125, 0.01141357421875, 0.0096435546875, 0.006378173828125, -0.004638671875, -0.00927734375, -0.0024871826171875, -0.0233154296875, -0.00640869140625, -0.000301361083984375, -0.00159454345703125, 0.01123046875, 0.01226806640625, 0.0023193359375, 0.0174560546875, -0.00588989...
[ 86111, 158254, 563, 4904, 52895, 1238, 3949, 3742, 14375, 26950, 62, 1221, 4734, 186, 1821, 2886, 1295, 28032, 70, 88996, 276, 21543, 10422, 313, 138535, 210716, 43032, 831, 65042, 99 ]
[ 0.192626953125, 0.2490234375, 0.12548828125, 0.204345703125, 0.1800537109375, 0.07574462890625, 0.031951904296875, 0.12451171875, 0.2086181640625, 0.048309326171875, 0.107666015625, 0.1094970703125, 0.08990478515625, 0.012969970703125, 0.132080078125, 0.09600830078125, 0.073608398437...
embed
33827825_c0
33827825
fsharp
0
Title: Can you consume/reuse unsafe .NET types from other packages/dlls in F#? Problem title: Can you consume/reuse unsafe .NET types from other packages/dlls in F#? Tags: unsafe, .net, f%23 Problem: Can you consume/reuse unsafe .NET types from other packages/dlls in F#? I am aware that F# does not currently have an un...
Can you consume/reuse unsafe .NET types from other packages/dlls in F#? Can you consume/reuse unsafe .NET types from other packages/dlls in F#? unsafe .net f%23 other Can NET Can you consume/reuse unsafe .NET types from other packages/dlls in F#? I am aware that F# does not currently have an unsafe scope built into the...
[ -0.0216064453125, 0.00921630859375, 0.0186767578125, 0.0052490234375, -0.0185546875, -0.004180908203125, -0.0120849609375, 0.00970458984375, -0.0064697265625, -0.003753662109375, -0.004974365234375, -0.009033203125, 0.01019287109375, 0.01220703125, 0, 0.0162353515625, -0.008483886718...
[ 4171, 18588, 13, 107, 4032, 51, 115840, 5, 17777, 52895, 1295, 3789, 98169, 42458, 563, 4904, 64, 71, 23, 1179, 1238, 3949, 3742, 959, 82424, 70820, 88303, 3934, 46876, 765, 10644, 5429, 313, 5974, 35773, 156883, 17368 ]
[ 0.0823974609375, 0.1695556640625, 0.0631103515625, 0.10791015625, 0.12060546875, 0.1328125, 0.2049560546875, 0.058349609375, 0.2052001953125, 0.2041015625, 0.0775146484375, 0.077880859375, 0.1768798828125, 0.1456298828125, 0.148193359375, 0.2017822265625, 0.029876708984375, 0.04980...
embed
61457308_c0
61457308
fsharp
0
Title: MYTYPE of type? Problem title: MYTYPE of type? Tags: f%23 Problem: MYTYPE of type? I have the type declaration type MYVAL = INT of int and want to perform arithmetic operations on constants and variables of type MYVAL , like let a : MYVAL = 10 let b : MYVAL = 25 let c = a+b However, when I run it, it claims that...
MYTYPE of type? MYTYPE of type? f%23 MYTYPE MYVAL MYTYPE of type? I have the type declaration and want to perform arithmetic operations on constants and variables of type MYVAL , like However, when I run it, it claims that MYVAL does not support the operator + . Isn't MYVAL treated as an integer type? If it is not, wha...
[ 0.01470947265625, -0.0057373046875, 0.0169677734375, 0.032470703125, -0.007476806640625, 0.0023345947265625, -0.0228271484375, 0.0185546875, 0.0027313232421875, -0.01068115234375, -0.00836181640625, -0.00726318359375, 0.0023040771484375, -0.01043701171875, -0.01312255859375, 0.00634765...
[ 54133, 27143, 21907, 111, 10644, 32, 1238, 3949, 3742, 61152, 21635, 1363, 3444, 51339, 8962, 282, 9523, 41018, 53697, 136, 77336, 33306, 11675, 140526, 14602, 959, 8060, 39933, 997, 191607, 237, 892, 1505, 2367, 59537, 23, 18, 54, 11249 ]
[ 0.2147216796875, 0.259033203125, 0.2447509765625, 0.20751953125, 0.270263671875, 0.072021484375, 0.05975341796875, 0.042388916015625, 0.1380615234375, 0.273193359375, 0.14697265625, 0.00018310546875, 0.0369873046875, 0.08154296875, 0.12353515625, 0.07586669921875, 0.0165557861328125,...
embed
14747940_c0
14747940
fsharp
0
Title: Does this pipe tuple operator already exist* somewhere? Problem title: Does this pipe tuple operator already exist* somewhere? Tags: operators, f%23, pipe, tuples Problem: Does this pipe tuple operator already exist* somewhere? I'm aware of (||>) which does (a' * 'b) -> ('a -> b' -> 'c) -> 'c But I've been findi...
Does this pipe tuple operator already exist* somewhere? Does this pipe tuple operator already exist* somewhere? operators f%23 pipe tuples Does Does this pipe tuple operator already exist* somewhere? I'm aware of (||>) which does (a' * 'b) -> ('a -> b' -> 'c) -> 'c But I've been finding this quite useful, and wondered ...
[ 0.01068115234375, -0.007049560546875, 0.001983642578125, 0.0115966796875, -0.006317138671875, -0.01324462890625, -0.01324462890625, -0.01068115234375, 0.0068359375, -0.0302734375, -0.0019073486328125, 0.027587890625, 0.0159912109375, 0.0028228759765625, 0.009521484375, -0.0097045898437...
[ 101790, 903, 137158, 370, 8705, 39933, 21771, 32316, 1639, 174653, 32, 1238, 3949, 3742, 99726, 107419, 58745, 2740, 3129, 14602, 11, 25, 661, 275, 33079, 876, 238, 4966, 2809, 90791, 32233, 80234, 32195, 2174, 456, 132894, 214, 160298, 831...
[ 0.12109375, 0.125244140625, 0.2276611328125, 0.166748046875, 0.2386474609375, 0.28955078125, 0.2003173828125, 0.2098388671875, 0.05694580078125, 0.1494140625, 0.034698486328125, 0.1041259765625, 0.10125732421875, 0.1871337890625, 0.1932373046875, 0.1041259765625, 0.1396484375, 0.15...
embed
42903364_c2
42903364
fsharp
2
.Get, UntypedActor.Context.System, events:System.Type, ClusterEvent.IMemberEvent, ClusterEvent.UnreachableMember, cluster.Subscribe, base.Self, ClusterEvent.InitialStateAsEvents, this.OnReceive, message:obj, UntypedActor.Context.GetLogger, ClusterEvent.MemberUp, log.Info, Member, e.Member, ClusterEvent.MemberRemoved, t...
.Get, UntypedActor.Context.System, events:System.Type, ClusterEvent.IMemberEvent, ClusterEvent.UnreachableMember, cluster.Subscribe, base.Self, ClusterEvent.InitialStateAsEvents, this.OnReceive, message:obj, UntypedActor.Context.GetLogger, ClusterEvent.MemberUp, log.Info, Member, e.Member, ClusterEvent.MemberRemoved, t...
[ -0.0035247802734375, 0.0267333984375, 0.0198974609375, 0.00982666015625, 0.00927734375, -0.043701171875, 0.002838134765625, 0.0166015625, -0.004425048828125, -0.01190185546875, -0.01043701171875, 0.033203125, -0.002227783203125, 0.01611328125, 0.000606536865234375, 0.000606536865234375...
[ 5, 724, 126, 992, 50986, 71, 284, 18770, 11935, 22829, 84293, 47353, 12, 196707, 140077, 1515, 192134, 27417, 70443, 2886, 234737, 96472, 34601, 3647, 104475, 1890, 135206, 19659, 903, 20320, 329, 5844, 26008, 3522, 170, 113972, 1505, 53234, ...
[ 0.05731201171875, 0.0718994140625, 0.1405029296875, 0.0948486328125, 0.199951171875, 0.1456298828125, 0.06451416015625, 0.1802978515625, 0.0439453125, 0.1900634765625, 0.1754150390625, 0.1982421875, 0.0164794921875, 0.1925048828125, 0.1673583984375, 0.0758056640625, 0.196533203125, ...
embed
11343071_c2
11343071
fsharp
2
. -Maybe I should use String or Array Code signals: qualified, Text.Regex.TDFA.Pattern, Control.Monad.State, Control.Applicative, Haskell, POr, PConcat, PEscape, DoPa, LANGUAGE, RecordWildCards, NamedFieldPuns, Data.Text, Control.Monad.Stream, Stream, Stream.toList, foldl1, Pattern, Stream.Stream, T.Text, PBound, low.....
. -Maybe I should use String or Array Code signals: qualified, Text.Regex.TDFA.Pattern, Control.Monad.State, Control.Applicative, Haskell, POr, PConcat, PEscape, DoPa, LANGUAGE, RecordWildCards, NamedFieldPuns, Data.Text, Control.Monad.Stream, Stream, Stream.toList, foldl1, Pattern, Stream.Stream, T.Text, PBound, low.....
[ -0.0166015625, 0.008544921875, -0.00482177734375, 0.017333984375, -0.005035400390625, 0.004638671875, 0.01434326171875, -0.00994873046875, 0.0223388671875, -0.01007080078125, 0.01397705078125, -0.006591796875, 0.007293701171875, 0.0191650390625, -0.0086669921875, -0.004150390625, 0.0...
[ 5, 82419, 372, 87, 5608, 4527, 23351, 214, 707, 69253, 53, 28864, 26073, 7, 217225, 24129, 54601, 3355, 100045, 14676, 8335, 3055, 27131, 46674, 712, 135206, 39179, 11048, 4935, 20625, 142508, 8574, 42, 191, 4460, 17051, 98224, 984, 98064, ...
[ 0.016143798828125, 0.0948486328125, 0.0762939453125, 0.0927734375, 0.137939453125, 0.1693115234375, 0.21142578125, 0.1700439453125, 0.06097412109375, 0.18701171875, 0.120361328125, 0.28515625, 0.306396484375, 0.1585693359375, 0.243408203125, 0.193603515625, 0.08984375, 0.1547851562...
embed
35909782_c0
35909782
fsharp
0
Title: F# deedle Frame, how to get row index and column index, and datatype for each column Problem title: F# deedle Frame, how to get row index and column index, and datatype for each column Tags: f%23, deedle Problem: F# deedle Frame, how to get row index and column index, and datatype for each column I have a few ba...
F# deedle Frame, how to get row index and column index, and datatype for each column F# deedle Frame, how to get row index and column index, and datatype for each column f%23 deedle Frame F# deedle Frame, how to get row index and column index, and datatype for each column I have a few basic question regarding Frame , w...
[ 0.0238037109375, -0.000032901763916015625, 0.01239013671875, 0.0281982421875, -0.0146484375, -0.0234375, 0.0228271484375, 0.0029144287109375, 0.004364013671875, 0.005706787109375, 0.0029754638671875, -0.0306396484375, -0.026611328125, 0.0022735595703125, -0.00025177001953125, -0.001220...
[ 563, 4904, 8, 297, 133, 42557, 13, 3642, 2046, 15555, 63262, 136, 3365, 316, 2053, 50986, 12638, 1238, 3742, 62822, 9655, 29823, 209806, 831, 19, 10336, 1314, 3714, 43581 ]
[ 0.079833984375, 0.1466064453125, 0.0592041015625, 0.1053466796875, 0.11767578125, 0.1788330078125, 0.149658203125, 0.009033203125, 0.07666015625, 0.1646728515625, 0.197265625, 0.10015869140625, 0.10418701171875, 0.1031494140625, 0.07708740234375, 0.21044921875, 0.0250091552734375, ...
embed
40403869_c1
40403869
fsharp
1
n "1234567890123456789012345678901234567890123456789012345678901234567890" printfn "1234567890123456789012345678901234567890123456789012345678901234567890" printfn "1234567890123456789012345678901234567890123456789012345678901234567890" printfn "1234567890123456789012345678901234567890123456789012345678901234567890" pr...
n "1234567890123456789012345678901234567890123456789012345678901234567890" printfn "1234567890123456789012345678901234567890123456789012345678901234567890" printfn "1234567890123456789012345678901234567890123456789012345678901234567890" printfn "1234567890123456789012345678901234567890123456789012345678901234567890" pr...
[ -0.015869140625, 0.019775390625, -0.00543212890625, 0.0128173828125, -0.008056640625, -0.000797271728515625, -0.000701904296875, -0.0054931640625, 0.010986328125, 0.007110595703125, 0.000217437744140625, -0.0145263671875, -0.00384521484375, -0.004180908203125, 0.0228271484375, 0.003585...
[ 653, 44, 190875, 162082, 136442, 58, 28412, 14783, 13683 ]
[ 0.1998291015625, 0.12353515625, 0.1844482421875, 0.2161865234375, 0.2061767578125, 0.08154296875, 0.26123046875, 0.251708984375, 0.2169189453125 ]
embed
32416777_c0
32416777
fsharp
0
Title: How to setup local cluster for MBrace Problem title: How to setup local cluster for MBrace Tags: f%23, cloud, mbrace, azure Problem: How to setup local cluster for MBrace I'm trying to follow tutorials on using MBrace with f# (one is here (youtube video) . The problem is that with all the videos I've seen, they ...
How to setup local cluster for MBrace How to setup local cluster for MBrace f%23 cloud mbrace azure How MBrace How to setup local cluster for MBrace I'm trying to follow tutorials on using MBrace with f# (one is here (youtube video) . The problem is that with all the videos I've seen, they are either using Azure or run...
[ -0.021484375, 0.0289306640625, -0.01239013671875, 0.009765625, 0.01171875, 0.005706787109375, 0.0036163330078125, -0.0233154296875, 0.00157928466796875, -0.0177001953125, -0.0019073486328125, 0.0228271484375, 0.0250244140625, -0.000888824462890625, 0.01483154296875, 0.00079727172851562...
[ 11249, 47, 169581, 4000, 234737, 100, 12918, 99407, 1238, 3949, 3742, 76746, 12846, 329, 295, 3408, 28960, 57143, 17368, 678, 4904, 3688, 49565, 1202, 2967, 21930, 51592, 176071, 51042, 3173, 36279, 5036, 3642, 10, 4527, 3034, 15490, 19441, ...
[ 0.087890625, 0.04803466796875, 0.2110595703125, 0.194580078125, 0.280029296875, 0.1072998046875, 0.09466552734375, 0.248046875, 0.1068115234375, 0.03253173828125, 0.1607666015625, 0.1693115234375, 0.1759033203125, 0.146240234375, 0.07659912109375, 0.124755859375, 0.027008056640625, ...
embed
48059352_c0
48059352
fsharp
0
Title: How to generate tuples by FsCheck Problem title: How to generate tuples by FsCheck Tags: property-based-testing, fscheck, f%23 Problem: How to generate tuples by FsCheck This is a json generation : let strGen = Arb.Default.String() |> Arb.toGen strGen |> Gen.arrayOf |> Gen.map (String.concat "\", \"") |> Gen.map...
How to generate tuples by FsCheck How to generate tuples by FsCheck property-based-testing fscheck f%23 How FsCheck Arb.Default.String Arb.toGen Gen.arrayOf Gen.map String.concat How to generate tuples by FsCheck This is a json generation : How can I have the string that the json have been created from in my test body ...
[ 0.007720947265625, 0.007781982421875, -0.0277099609375, 0.01470947265625, -0.0155029296875, -0.00151824951171875, 0.01031494140625, -0.017333984375, 0.0033416748046875, -0.0091552734375, 0.001861572265625, 0.031982421875, -0.003997802734375, 0.0181884765625, 0.0086669921875, 0.00451660...
[ 11249, 139392, 370, 99726, 390, 563, 7, 202567, 47, 57266, 77007, 6954, 1238, 78292, 3742, 1172, 275, 187423, 11, 7136, 5, 71713, 188, 105376, 15937, 19305, 132887, 62346, 23351, 2271, 4460, 1647, 1681, 58093, 765, 79315, 75935, 1295, 3034,...
[ 0.038848876953125, 0.17578125, 0.169189453125, 0.248046875, 0.060150146484375, 0.1527099609375, 0.118896484375, 0.28076171875, 0.01324462890625, 0.1510009765625, 0.068359375, 0.1287841796875, 0.10107421875, 0.231201171875, 0.1021728515625, 0.0927734375, 0.0672607421875, 0.107055664...
embed
33924892_c0
33924892
fsharp
0
Title: Custom prefix operators in F# once again Problem title: Custom prefix operators in F# once again Tags: f%23, operator-overloading Problem: Custom prefix operators in F# once again No matter how many times I read this post: F#: What are the valid prefix operators? Me and the F# compiler never agrees on what are c...
Custom prefix operators in F# once again Custom prefix operators in F# once again f%23 operator-overloading Custom Custom prefix operators in F# once again No matter how many times I read this post: F#: What are the valid prefix operators? Me and the F# compiler never agrees on what are custom prefix (or infix) operato...
[ 0.0142822265625, -0.0018463134765625, 0.0211181640625, 0.00092315673828125, 0.004852294921875, 0.0031280517578125, -0.010498046875, -0.0002994537353515625, 0.00439453125, -0.01422119140625, 0.0022735595703125, -0.01092529296875, 0.019287109375, -0.013916015625, 0.0018310546875, 0.00233...
[ 130664, 183114, 39933, 563, 4904, 24145, 13438, 23, 1238, 3742, 5465, 63033, 5941, 20028, 12301, 35604, 7, 9969, 34759, 8306, 53520, 114122, 55923, 123055, 1328, 831, 186, 15044, 136, 903, 76199, 18499, 4153, 7013, 71, 44084 ]
[ 0.1766357421875, 0.2403564453125, 0.2086181640625, 0.139892578125, 0.1932373046875, 0.0887451171875, 0.111572265625, 0.09930419921875, 0.0892333984375, 0.08282470703125, 0.06121826171875, 0.1219482421875, 0.001007080078125, 0.03369140625, 0.0335693359375, 0.14404296875, 0.01499938964...
embed
60439390_c0
60439390
fsharp
0
Title: Counting the number of elements that don&#x27;t change in a list, in F# Problem title: Counting the number of elements that don&#x27;t change in a list, in F# Tags: f%23 Problem: Counting the number of elements that don't change in a list, in F# I have a simple list: let l = [ 1; 1; 1; 1; 2; 1; 1; 1 ] I want to ...
Counting the number of elements that don&#x27;t change in a list, in F# Counting the number of elements that don&#x27;t change in a list, in F# f%23 Counting Counting the number of elements that don't change in a list, in F# I have a simple list: I want to know how many elements match the first one, without a break (4 ...
[ -0.01361083984375, -0.001495361328125, -0.004852294921875, -0.00689697265625, 0.0089111328125, -0.008056640625, -0.003204345703125, -0.007049560546875, 0.0218505859375, -0.0184326171875, -0.00567626953125, 0.0206298828125, -0.0027923583984375, 0.039306640625, 0.0038604736328125, -0.006...
[ 1311, 128396, 14012, 80854, 450, 2301, 3768, 18, 15549, 23, 5303, 563, 4904, 1238, 3742, 10, 8781, 3444, 47, 3714, 3642, 5941, 14858, 5117, 1632, 15490, 36356, 9451, 27781, 1286, 49666, 9523, 3917, 54, 903, 32354 ]
[ 0.127685546875, 0.1695556640625, 0.1434326171875, 0.208740234375, 0.0755615234375, 0.1217041015625, 0.0885009765625, 0.171630859375, 0.16259765625, 0.07366943359375, 0.2025146484375, 0.1378173828125, 0.176025390625, 0.03973388671875, 0.047119140625, 0.0023193359375, 0.06256103515625,...
embed
14678958_c2
14678958
fsharp
2
.Listen, Some, Failed, None, FSharp.Core.dll, Jack, Users, Active, Connections, Proto, Local, Address, Foreign, State, TCP, SPEEDMACHINE:0, LISTENING, bn1wns2011708:https, ESTABLISHED, vc-in-f108:imaps, a23-67-250-112:http, CLOSE_WAIT, UDP, fe80::b193:4f6:d053:6324, Documents, Visual, Studio, Projects, FSharp, SocketTe...
.Listen, Some, Failed, None, FSharp.Core.dll, Jack, Users, Active, Connections, Proto, Local, Address, Foreign, State, TCP, SPEEDMACHINE:0, LISTENING, bn1wns2011708:https, ESTABLISHED, vc-in-f108:imaps, a23-67-250-112:http, CLOSE_WAIT, UDP, fe80::b193:4f6:d053:6324, Documents, Visual, Studio, Projects, FSharp, SocketTe...
[ 0.000919342041015625, 0.01287841796875, -0.004119873046875, 0.007354736328125, -0.00872802734375, -0.010498046875, -0.006744384765625, -0.01025390625, -0.0030517578125, 0.01104736328125, 0.011962890625, 0.003265380859375, -0.00927734375, 0.00982666015625, 0.00162506103515625, 0.0023040...
[ 5, 154663, 33, 31384, 190355, 297, 438, 86, 93774, 3467, 254, 50886, 13, 71, 1181, 21763, 53400, 88441, 62448, 17514, 67241, 24172, 49990, 184293, 22836, 17854, 12047, 138911, 37672, 25585, 53861, 339, 135201, 25795, 10680, 188734, 4397, 5014...
[ 0.1033935546875, 0.2257080078125, 0.19580078125, 0.09759521484375, 0.16845703125, 0.1195068359375, 0.042449951171875, 0.009368896484375, 0.133544921875, 0.2298583984375, 0.2261962890625, 0.1612548828125, 0.061279296875, 0.04736328125, 0.1746826171875, 0.2041015625, 0.159423828125, ...
embed
42430523_c0
42430523
fsharp
0
Title: Click a Canopy WebElement Problem title: Click a Canopy WebElement Tags: canopy-web-testing, f%23 Problem: Click a Canopy WebElement I have a button that I am retrieving with canopy like this... let buttons = elements ".buttonClass" The last button is the one I want to click, but when I do... click buttons.tail ...
Click a Canopy WebElement Click a Canopy WebElement canopy-web-testing f%23 Click Canopy WebElement buttons.tail Click a Canopy WebElement I have a button that I am retrieving with canopy like this... The last button is the one I want to click, but when I do... I get an error that says So my question is, is there a way...
[ 0.0031280517578125, 0.01318359375, -0.009033203125, 0.0002231597900390625, -0.00830078125, 0.015869140625, -0.0030059814453125, -0.0177001953125, 0.004913330078125, -0.039306640625, -0.0091552734375, 0.00982666015625, 0.00433349609375, -0.01080322265625, 0.00927734375, -0.0284423828125...
[ 21138, 10, 4171, 2146, 53, 4002, 647, 19929, 831, 14051, 6954, 214, 1238, 3742, 77679, 46741, 765, 97351, 6496, 678, 1884, 903, 4568, 83, 1632, 3444, 18158, 1284, 3229, 54, 2046, 18499, 17378, 1061, 3917, 31577 ]
[ 0.21533203125, 0.058868408203125, 0.1029052734375, 0.1666259765625, 0.1302490234375, 0.09027099609375, 0.066162109375, 0.1629638671875, 0.0950927734375, 0.1112060546875, 0.1622314453125, 0.0269012451171875, 0.0174407958984375, 0.026397705078125, 0.2088623046875, 0.220458984375, 0.008...
embed
30155302_c0
30155302
fsharp
0
Title: Creating an F# record type with a constant value Problem title: Creating an F# record type with a constant value Tags: f%23, inheritance, recordtype Problem: Creating an F# record type with a constant value Let's say I have a record defined thusly... type Employee = {Name : string; Salary : int} and I want anoth...
Creating an F# record type with a constant value Creating an F# record type with a constant value f%23 inheritance recordtype Creating Employee Name Salary Manager Creating an F# record type with a constant value Let's say I have a record defined thusly... and I want another type where Salary is fixed. I'd like to be a...
[ 0.00933837890625, 0.010986328125, -0.01202392578125, -0.005157470703125, 0.0023040771484375, -0.0196533203125, -0.0294189453125, 0.0283203125, 0.0002002716064453125, -0.00537109375, -0.01141357421875, 0.0181884765625, 0.026123046875, 0.02783203125, -0.00173187255859375, 0.0177001953125...
[ 56781, 1916, 563, 4904, 17164, 10644, 678, 53697, 34292, 1238, 3949, 3742, 3334, 217, 50986, 365, 1033, 15757, 13294, 1294, 30195, 7, 5154, 765, 61924, 71, 4911, 3444, 15700, 7440, 83, 188347, 1884, 47, 19048, 8789, 442, 37202, 831, 18, ...
[ 0.1453857421875, 0.011627197265625, 0.1142578125, 0.2042236328125, 0.222900390625, 0.2080078125, 0.0161285400390625, 0.188232421875, 0.1461181640625, 0.08282470703125, 0.037139892578125, 0.1488037109375, 0.1077880859375, 0.03167724609375, 0.2109375, 0.069091796875, 0.0638427734375, ...
embed
54237433_c0
54237433
fsharp
0
Title: Alea.CUDA. Migrate from v2 to v3.0 Problem title: Alea.CUDA. Migrate from v2 to v3.0 Tags: f%23, aleagpu Problem: Alea.CUDA. Migrate from v2 to v3.0 Is there manual for migration from Alea.CUDA v2 to Alea.CUDA v3? We use packages Alea.CUDA.Fody and Alea.CUDA.Unbound from Nuget, and next namespaces: Alea.CUDA.Uti...
Alea.CUDA. Migrate from v2 to v3.0 Alea.CUDA. Migrate from v2 to v3.0 f%23 aleagpu v2 Alea.CUDA Migrate v3.0 Alea.CUDA. Migrate from v2 to v3.0 Is there manual for migration from Alea.CUDA v2 to Alea.CUDA v3? We use packages Alea.CUDA.Fody and Alea.CUDA.Unbound from Nuget, and next namespaces: Alea.CUDA.Utilities.Array...
[ 0.006072998046875, 0.0017852783203125, 0.00604248046875, -0.004241943359375, 0.00640869140625, 0.006622314453125, 0.013427734375, 0.00173187255859375, -0.0025634765625, 0.031982421875, 0.0076904296875, -0.000499725341796875, 0.011962890625, -0.005462646484375, 0.006744384765625, -0.011...
[ 4733, 11, 441, 82302, 130446, 67, 1295, 81, 304, 47, 132265, 3742, 662, 2703, 1766, 23009, 100, 212416, 363, 4527, 98169, 7, 5, 919, 43943, 14256, 99091, 1429, 3794, 11737, 210716, 24493, 7092, 397, 2566, 3444, 39666, 19882, 5608 ]
[ 0.1820068359375, 0.1839599609375, 0.0867919921875, 0.2255859375, 0.178955078125, 0.1162109375, 0.08831787109375, 0.11669921875, 0.1810302734375, 0.111572265625, 0.26220703125, 0.0565185546875, 0.125244140625, 0.003326416015625, 0.1636962890625, 0.1851806640625, 0.0207672119140625, ...
embed
18746042_c0
18746042
fsharp
0
Title: F# check if variable is of a subtype Problem title: F# check if variable is of a subtype Tags: f%23 Problem: F# check if variable is of a subtype To check if a variable a has type T , I can use if (a :? T) But what if T is a universally-defined and has several subtypes T1,T2,T3 in which I'm only interested in ch...
F# check if variable is of a subtype F# check if variable is of a subtype f%23 Uni Flu List F# check if variable is of a subtype To check if a variable a has type T , I can use But what if T is a universally-defined and has several subtypes T1,T2,T3 in which I'm only interested in checking if a has type T1 ? For exampl...
[ -0.01214599609375, -0.00384521484375, 0.007293701171875, 0.0299072265625, -0.02392578125, -0.0108642578125, 0.003387451171875, -0.0022125244140625, 0.01031494140625, 0.0179443359375, 0.016357421875, -0.01806640625, 0.015625, -0.01171875, 0.0016021728515625, 0.00165557861328125, 0.024...
[ 563, 4904, 12765, 2174, 77336, 83, 111, 1614, 50986, 1238, 3742, 11789, 36157, 32036, 10, 1556, 10644, 384, 4527, 32813, 538, 112, 5983, 40368, 418, 618, 304, 363, 60892, 175199, 71713, 214, 1832, 39527 ]
[ 0.0965576171875, 0.16650390625, 0.1680908203125, 0.055877685546875, 0.240966796875, 0.03607177734375, 0.0736083984375, 0.2041015625, 0.2418212890625, 0.059661865234375, 0.10174560546875, 0.0921630859375, 0.176513671875, 0.123046875, 0.0626220703125, 0.0341796875, 0.1905517578125, 0...
embed
4110779_c0
4110779
fsharp
0
Title: This expression was expected to have type float but here has type &#x27;a * &#x27;b Problem title: This expression was expected to have type float but here has type &#x27;a * &#x27;b Tags: f%23, floating-point, int Problem: This expression was expected to have type float but here has type 'a * 'b I'm trying a si...
This expression was expected to have type float but here has type &#x27;a * &#x27;b This expression was expected to have type float but here has type &#x27;a * &#x27;b f%23 floating-point int System FindHypotenuse Math.Sqrt Math.Pow This expression was expected to have type float but here has type 'a * 'b I'm trying a ...
[ 0.011962890625, 0.0076904296875, -0.0152587890625, 0.00592041015625, -0.00156402587890625, -0.0002803802490234375, -0.01129150390625, -0.0211181640625, -0.006805419921875, -0.005950927734375, -0.00103759765625, -0.00628662109375, -0.000614166259765625, -0.00421142578125, 0.015869140625, ...
[ 3293, 125195, 509, 84751, 765, 10644, 21917, 257, 1284, 3688, 1556, 6, 3768, 11, 661, 275, 1238, 3949, 3742, 26518, 38496, 23, 18, 12353, 26040, 60977, 7804, 33, 4032, 78804, 864, 3198, 7192, 434, 31577, 8781, 563, 4904, 26499, 1221, 74...
[ 0.06610107421875, 0.2386474609375, 0.07415771484375, 0.167236328125, 0.0465087890625, 0.204833984375, 0.148193359375, 0.0858154296875, 0.11376953125, 0.1197509765625, 0.0992431640625, 0.0229949951171875, 0.1060791015625, 0.0870361328125, 0.1392822265625, 0.1416015625, 0.0928955078125...
embed
7522175_c0
7522175
fsharp
0
Title: WebSharper Interface Generator - Records Problem title: WebSharper Interface Generator - Records Tags: websharper, f%23 Problem: WebSharper Interface Generator - Records How do I go about defining a record that would be serialized to a JSON object... I've been trying to build the oConfig parameter for YUI2 const...
WebSharper Interface Generator - Records WebSharper Interface Generator - Records websharper f%23 WebSharper Interface Generator Records TreeParameter Type Label Expanded Children WebSharper Interface Generator - Records How do I go about defining a record that would be serialized to a JSON object... I've been trying t...
[ -0.000553131103515625, 0.0244140625, -0.0205078125, -0.006256103515625, 0.0086669921875, 0.0022430419921875, -0.037109375, 0.011962890625, 0.005126953125, -0.0263671875, -0.01287841796875, -0.0185546875, -0.009765625, -0.0098876953125, 0.017578125, 0.00191497802734375, 0.007446289062...
[ 4002, 3467, 1264, 220237, 222518, 89916, 1467, 89280, 1238, 3949, 3742, 101344, 55292, 29089, 60457, 129214, 60075, 4431, 91345, 738, 1672, 13204, 449, 17164, 2806, 35686, 29367, 47, 821, 58627, 36746, 45367, 36, 11935, 83671, 171859, 990, 33...
[ 0.09063720703125, 0.13134765625, 0.168212890625, 0.1700439453125, 0.1943359375, 0.193603515625, 0.08074951171875, 0.143310546875, 0.03997802734375, 0.04754638671875, 0.100830078125, 0.1068115234375, 0.04925537109375, 0.0203704833984375, 0.0985107421875, 0.164794921875, 0.01611328125,...
embed
45684743_c1
45684743
fsharp
1
in deferred execution for computation expressions, but I'm not sure if they help me here, as they unfortunately evaluate for everything. I'm most likely missing something glaringly obvious and very "functional-y" but I just can't seem to make it do what I want. Clarification I'm using id for demonstration, they're par...
in deferred execution for computation expressions, but I'm not sure if they help me here, as they unfortunately evaluate for everything. I'm most likely missing something glaringly obvious and very "functional-y" but I just can't seem to make it do what I want. Clarification I'm using id for demonstration, they're par...
[ -0.017333984375, -0.00384521484375, 0.005523681640625, 0.01080322265625, 0.017822265625, 0.0118408203125, 0.018310546875, -0.0032196044921875, 0.0106201171875, -0.0322265625, -0.0279541015625, 0.016357421875, 0.003082275390625, 0.03564453125, 0.0181884765625, 0.0091552734375, 0.00671...
[ 23, 8, 2875, 2822, 71924, 1830, 100, 181135, 125195, 9077, 4358, 3688, 1836, 104272, 151575, 13, 26818, 47041, 132283, 9844, 24682, 2852, 162520, 4552, 137175, 289, 53, 831, 48903, 3249, 54, 3444, 320, 17368, 3447, 32837, 2831, 70, 104192, ...
[ 0.08349609375, 0.1234130859375, 0.220458984375, 0.170166015625, 0.19482421875, 0.0765380859375, 0.06085205078125, 0.136474609375, 0.222412109375, 0.04986572265625, 0.08551025390625, 0.00140380859375, 0.016937255859375, 0.076416015625, 0.1590576171875, 0.0638427734375, 0.1076049804687...
embed
26830574_c0
26830574
fsharp
0
Title: Implementing exists for list in F# Problem title: Implementing exists for list in F# Tags: exists, f%23, list Problem: Implementing exists for list in F# I am new to programming in functional languages. I am attempting to implement the F# exist for list. let rec exist f list = match list with |[] -> None | h::t ...
Implementing exists for list in F# Implementing exists for list in F# exists f%23 list Implementing None h::t Implementing exists for list in F# I am new to programming in functional languages. I am attempting to implement the F# exist for list. let rec exist f list = match list with |[] -> None | h::t -> if f h then t...
[ 0.00994873046875, 0.007720947265625, 0.0263671875, 0.019287109375, 0.0052490234375, 0.0027618408203125, 0.01043701171875, 0.00677490234375, -0.00069427490234375, 0.005340576171875, 0.0220947265625, 0.01409912109375, 0.0002384185791015625, -0.006988525390625, 0.00970458984375, -0.006713...
[ 153941, 32316, 7, 100, 5303, 563, 4904, 214, 23, 1238, 3949, 3742, 438, 86, 1096, 18, 3525, 56037, 123309, 46876, 81887, 29479, 2633, 21954, 14858, 2174, 29568, 37076, 808, 18499, 1257, 9969, 49725, 11435, 73243, 125195, 84751, 765, 10644, ...
[ 0.25830078125, 0.252685546875, 0.1136474609375, 0.15185546875, 0.2047119140625, 0.149169921875, 0.221435546875, 0.01934814453125, 0.03363037109375, 0.142333984375, 0.022552490234375, 0.144775390625, 0.108642578125, 0.0615234375, 0.1268310546875, 0.095458984375, 0.0115966796875, 0.0...
embed
48602960_c0
48602960
fsharp
0
Title: What data structure is similar to that of a database? Problem title: What data structure is similar to that of a database? Tags: c%23, f%23, data-structures, oop Problem: What data structure is similar to that of a database? What is a data structure (like list, array, etc...) that could replace a database like S...
What data structure is similar to that of a database? What data structure is similar to that of a database? c%23 f%23 data-structures oop What What data structure is similar to that of a database? What is a data structure (like list, array, etc...) that could replace a database like SQL? I would like it to have as many...
[ 0.0286865234375, 0.02001953125, -0.007415771484375, 0.003204345703125, 0.0030670166015625, 0.01153564453125, 0.0096435546875, 0.0167236328125, 0.0031280517578125, -0.017333984375, -0.013671875, -0.01708984375, 0.008056640625, -0.0011138916015625, -0.034423828125, 0.0157470703125, -0....
[ 4865, 2053, 45646, 83, 21373, 47, 450, 111, 10, 63399, 32, 501, 3742, 1238, 9, 137656, 7, 32500, 5062, 5303, 10298, 53, 5809, 91995, 1884, 80866, 765, 237, 5941, 66139, 7722, 41, 1294, 36849, 42459, 5608, 6713, 22819, 4127, 20174, 5351,...
[ 0.07720947265625, 0.151611328125, 0.26708984375, 0.09796142578125, 0.192626953125, 0.118896484375, 0.111572265625, 0.07708740234375, 0.06158447265625, 0.2227783203125, 0.0265655517578125, 0.0261383056640625, 0.056396484375, 0.00408935546875, 0.001129150390625, 0.2247314453125, 0.0611...
embed
29805928_c0
29805928
fsharp
0
Title: How to force a constraint on a member&#x27;s return type Problem title: How to force a constraint on a member&#x27;s return type Tags: f%23 Problem: How to force a constraint on a member's return type I am trying to force a constraint on a function such that the type of the first parameter has a member which ret...
How to force a constraint on a member&#x27;s return type How to force a constraint on a member&#x27;s return type f%23 How Async How to force a constraint on a member's return type I am trying to force a constraint on a function such that the type of the first parameter has a member which returns Async<'T> as follows: ...
[ -0.00531005859375, -0.0145263671875, 0.0164794921875, 0.0089111328125, -0.004730224609375, -0.0167236328125, 0.002471923828125, 0.00628662109375, -0.0040283203125, -0.0162353515625, 0.00174713134765625, -0.01409912109375, 0.007537841796875, 0.0025177001953125, 0.03759765625, -0.0002670...
[ 11249, 47, 37772, 158, 2816, 4288, 98, 32786, 3768, 30646, 10644, 10, 1238, 3742, 62, 12654, 238, 31577, 32354, 5117, 171859, 618, 28960, 9969, 34759, 18499, 384, 83, 959, 61924, 7722, 144996 ]
[ 0.050384521484375, 0.0345458984375, 0.2274169921875, 0.11572265625, 0.19091796875, 0.192138671875, 0.094482421875, 0.1904296875, 0.06146240234375, 0.227783203125, 0.177490234375, 0.006805419921875, 0.038787841796875, 0.085693359375, 0.0250701904296875, 0.147216796875, 0.075439453125,...
embed
46675223_c0
46675223
fsharp
0
Title: What does the type &quot;string * string&quot; mean in F#? Problem title: What does the type &quot;string * string&quot; mean in F#? Tags: f%23 Problem: What does the type "string * string" mean in F#? Tried searching everywhere. Looking at https://github.com/fsharp/FAKE/blob/master/src/app/Fake.IIS/IISHelper.fs...
What does the type &quot;string * string&quot; mean in F#? What does the type &quot;string * string&quot; mean in F#? f%23 What What does the type "string * string" mean in F#? Tried searching everywhere. Looking at https://github.com/fsharp/FAKE/blob/master/src/app/Fake.IIS/IISHelper.fs#L64 with parameter string * str...
[ 0.01239013671875, 0.0013580322265625, -0.0050048828125, 0.0216064453125, 0.0091552734375, 0.0218505859375, 0.008544921875, -0.0107421875, 0.00885009765625, -0.000568389892578125, 0.01153564453125, -0.013427734375, -0.0010833740234375, -0.00141143798828125, -0.021240234375, 0.0060119628...
[ 4865, 10644, 41502, 91693, 661, 79315, 29459, 23, 563, 4904, 1238, 3742, 14602, 32102, 89280, 254, 919, 119960, 9007, 17647, 10001, 294, 568, 583, 1264, 17447, 13307, 171859, 34648, 101426, 18151, 18499, 93774, 7049, 963, 360, 58875, 84681, ...
[ 0.03515625, 0.2193603515625, 0.06195068359375, 0.2337646484375, 0.1925048828125, 0.2734375, 0.11376953125, 0.04058837890625, 0.110595703125, 0.19873046875, 0.1107177734375, 0.07537841796875, 0.0171356201171875, 0.03277587890625, 0.041473388671875, 0.0290985107421875, 0.0198974609375,...
embed
20018453_c1
20018453
fsharp
1
Count = 10 Trailing text. """ printfn "%A" (run parse sample) 0 (* result: Success: {Id = 33; Status = Done; Count = 10;} *) So, it works but it has two problems: obvious duplication ("Job id" in jobId function and "Job id" in the top-level parser and so on), and it expects "Job id", "Status" and "Count" to be sequenc...
Count = 10 Trailing text. """ printfn "%A" (run parse sample) 0 (* result: Success: {Id = 33; Status = Done; Count = 10;} *) So, it works but it has two problems: obvious duplication ("Job id" in jobId function and "Job id" in the top-level parser and so on), and it expects "Job id", "Status" and "Count" to be sequenc...
[ 0.006927490234375, 0.01409912109375, -0.0093994140625, 0.017578125, -0.007080078125, 0.01104736328125, -0.007476806640625, -0.028564453125, 0.0172119140625, -0.0145263671875, -0.020263671875, 0.031982421875, 0.00201416015625, -0.006561279296875, 0.007354736328125, 0.006439208984375, ...
[ 108210, 2203, 209, 130431, 214, 7986, 58, 28412, 14783, 3949, 284, 16428, 366, 184, 121413, 757, 16750, 144053, 71, 3912, 56504, 984, 86, 442, 43240, 1284, 1556, 6626, 44402, 162520, 115, 182867, 194802, 3447, 12447, 568, 32354, 136, 2663, ...
[ 0.224609375, 0.09515380859375, 0.1968994140625, 0.21875, 0.1650390625, 0.1982421875, 0.01068115234375, 0.166015625, 0.1846923828125, 0.04266357421875, 0.106201171875, 0.1478271484375, 0.112548828125, 0.09881591796875, 0.1947021484375, 0.10986328125, 0.04864501953125, 0.195434570312...
embed
2223766_c0
2223766
fsharp
0
Title: Hosting .fsx scripts inside larger applications Problem title: Hosting .fsx scripts inside larger applications Tags: interactive, scripting, f%23 Problem: Hosting .fsx scripts inside larger applications I want to expose my F# libraries as a scriptable tool for data manipulation. Optimally, I want this scripting ...
Hosting .fsx scripts inside larger applications Hosting .fsx scripts inside larger applications interactive scripting f%23 Hosting Hosting .fsx scripts inside larger applications I want to expose my F# libraries as a scriptable tool for data manipulation. Optimally, I want this scripting facility to not require a full ...
[ 0.0179443359375, 0.01220703125, -0.004608154296875, 0.013671875, -0.01275634765625, -0.0026702880859375, 0.0020751953125, -0.02392578125, 0.0263671875, -0.029052734375, 0.005615234375, 0.00921630859375, -0.005279541015625, 0.0244140625, 0.0185546875, -0.01544189453125, 0.016845703125...
[ 168098, 5, 17447, 425, 26499, 46132, 150679, 86685, 212398, 1238, 3949, 3742, 87, 3444, 172554, 563, 4904, 35773, 10484, 237, 2886, 55516, 100, 2053, 45258, 1363, 43938, 214, 178290, 959, 64209, 20600, 678, 172, 3917, 3126, 3934, 9902, 47, ...
[ 0.221435546875, 0.07861328125, 0.2022705078125, 0.2147216796875, 0.2374267578125, 0.1544189453125, 0.1422119140625, 0.15380859375, 0.1517333984375, 0.10357666015625, 0.024383544921875, 0.109375, 0.0108642578125, 0.0989990234375, 0.1187744140625, 0.1241455078125, 0.2042236328125, 0....
embed
45487753_c0
45487753
fsharp
0
Title: # error FS0003: &quot;This value is not a function and cannot be applied&quot; on a simple function Problem title: # error FS0003: &quot;This value is not a function and cannot be applied&quot; on a simple function Tags: f%23, f%23-interactive Problem: # error FS0003: "This value is not a function and cannot be ...
# error FS0003: &quot;This value is not a function and cannot be applied&quot; on a simple function # error FS0003: &quot;This value is not a function and cannot be applied&quot; on a simple function f%23 f%23-interactive FS0003 # error FS0003: "This value is not a function and cannot be applied" on a simple function I...
[ 0.00775146484375, 0.005218505859375, -0.004913330078125, 0.00750732421875, 0.0068359375, -0.0087890625, -0.0069580078125, -0.00299072265625, 0.00145721435546875, -0.0220947265625, 0.0078125, -0.00323486328125, -0.00384521484375, 0.01220703125, 0.017822265625, -0.007080078125, -0.0071...
[ 18499, 93774, 9508, 363, 73243, 34292, 83, 959, 10, 32354, 136, 53418, 190659, 98, 8781, 1238, 3742, 27495, 10433, 903, 563, 4904, 26499, 13695, 104250, 100231, 186, 44084, 123087, 4734, 13315 ]
[ 0.160400390625, 0.1776123046875, 0.10400390625, 0.184814453125, 0.149658203125, 0.226318359375, 0.1217041015625, 0.208984375, 0.1217041015625, 0.210693359375, 0.045318603515625, 0.1905517578125, 0.225830078125, 0.0650634765625, 0.1785888671875, 0.0252685546875, 0.055694580078125, 0...
embed
54913521_c0
54913521
fsharp
0
Title: Performance implications of using several F# type providers at once Problem title: Performance implications of using several F# type providers at once Tags: f%23, type-providers Problem: Performance implications of using several F# type providers at once In my project, I am currently using SqlCommandProvider for...
Performance implications of using several F# type providers at once Performance implications of using several F# type providers at once f%23 type-providers several Performance Performance implications of using several F# type providers at once In my project, I am currently using SqlCommandProvider for the simple SQL ca...
[ 0.01190185546875, -0.0072021484375, -0.018310546875, 0.00421142578125, -0.014892578125, 0.00628662109375, -0.0299072265625, -0.009033203125, -0.0005035400390625, -0.032958984375, 0.0159912109375, -0.005462646484375, 0.013427734375, 0.017333984375, -0.0101318359375, -0.00506591796875, ...
[ 94030, 17914, 5256, 17368, 40368, 563, 4904, 10644, 81450, 7, 24145, 1238, 3742, 93136, 14202, 13452, 82424, 159, 99247, 10770, 12018, 177997, 62160, 70, 8781, 80866, 50218, 137989, 235603, 93774, 3467, 254, 108161, 232, 2886, 41732, 27140, 8...
[ 0.16796875, 0.1539306640625, 0.0081787109375, 0.07275390625, 0.120849609375, 0.1090087890625, 0.1832275390625, 0.1802978515625, 0.208984375, 0.06182861328125, 0.08660888671875, 0.057403564453125, 0.05615234375, 0.1595458984375, 0.05108642578125, 0.0657958984375, 0.019744873046875, ...
embed
33745876_c0
33745876
fsharp
0
Title: Can I omit the class name when calling a static method? Problem title: Can I omit the class name when calling a static method? Tags: f%23 Problem: Can I omit the class name when calling a static method? In F#, can I omit the class name when calling a static method? Example: In C#, I can do something like: using ...
Can I omit the class name when calling a static method? Can I omit the class name when calling a static method? f%23 static Can Bizmonger.Patterns.MessageBus Publish SOME_MESSAGE MessageBus.Publish Can I omit the class name when calling a static method? In F#, can I omit the class name when calling a static method? Exa...
[ 0.0068359375, 0.0137939453125, 0.02392578125, 0.0169677734375, -0.033203125, -0.0028839111328125, -0.00909423828125, -0.021484375, -0.00151824951171875, -0.0191650390625, -0.0079345703125, -0.0164794921875, -0.00811767578125, 0.0035400390625, 0.015380859375, -0.00494384765625, 0.0065...
[ 4171, 171, 217, 70, 18507, 9351, 159029, 201939, 55300, 87, 1238, 3742, 8981, 432, 12060, 3055, 6011, 7235, 7, 67325, 78787, 294, 75930, 48205, 4588, 143145, 15227, 360, 563, 4904, 831, 1884, 64457, 111, 9844, 903, 23 ]
[ 0.068115234375, 0.1434326171875, 0.13720703125, 0.050384521484375, 0.2191162109375, 0.160400390625, 0.1163330078125, 0.222900390625, 0.169677734375, 0.0203399658203125, 0.031646728515625, 0.066650390625, 0.0899658203125, 0.08148193359375, 0.1328125, 0.0394287109375, 0.0244140625, 0...
embed
64668433_c0
64668433
fsharp
0
Title: F# equivalent to sending message to all actors in the system AKKA Problem title: F# equivalent to sending message to all actors in the system AKKA Tags: functional-programming, f%23, f%23-interactive, akka, akka.net Problem: F# equivalent to sending message to all actors in the system AKKA What is the F# equival...
F# equivalent to sending message to all actors in the system AKKA F# equivalent to sending message to all actors in the system AKKA functional-programming f%23 f%23-interactive akka akka.net AKKA context.system.actorSelection akka.net F# equivalent to sending message to all actors in the system AKKA What is the F# equi...
[ 0.0013427734375, 0.0299072265625, 0.002410888671875, 0.0137939453125, -0.0155029296875, -0.003692626953125, -0.00872802734375, 0.00714111328125, -0.004547119140625, -0.037109375, 0.026123046875, -0.000732421875, 0.007293701171875, 0.021240234375, 0.01080322265625, 0.0164794921875, 0....
[ 563, 4904, 183234, 47, 135834, 26008, 756, 39329, 7, 23, 5426, 15335, 9425, 123309, 28966, 1238, 3949, 3742, 27495, 10433, 71232, 81866, 1179, 43701, 16751, 11, 18770, 104475, 58994, 4865, 83, 70, 25632, 18151, 17368, 3444, 3714, 3642, 2537...
[ 0.13916015625, 0.2181396484375, 0.1925048828125, 0.146240234375, 0.115478515625, 0.15234375, 0.1290283203125, 0.2061767578125, 0.055267333984375, 0.06268310546875, 0.1461181640625, 0.1273193359375, 0.2032470703125, 0.14794921875, 0.11474609375, 0.103271484375, 0.012969970703125, 0....
embed
22682373_c0
22682373
fsharp
0
Title: F# web development - Project Problem title: F# web development - Project Tags: asp.net, f%23 Problem: F# web development - Project I hadn't used f# before so I installed vs express and then f# package. After reboot when I went back on vs to create a f# web project like you do with c# that option wasn't there wit...
F# web development - Project F# web development - Project asp.net f%23 Project asp.net F# web development - Project I hadn't used f# before so I installed vs express and then f# package. After reboot when I went back on vs to create a f# web project like you do with c# that option wasn't there with f#. Is there any rea...
[ -0.0093994140625, 0.0213623046875, -0.00677490234375, -0.01019287109375, -0.01385498046875, 0.0146484375, -0.01287841796875, -0.0013275146484375, 0.00384521484375, -0.01177978515625, 0.000946044921875, -0.018798828125, 0.00469970703125, 0.0167236328125, 0.0133056640625, 0.0037384033203...
[ 563, 4904, 1467, 34754, 27331, 237, 254, 1179, 1238, 3949, 3742, 1902, 18, 11814, 8108, 20600, 20209, 36510, 98169, 24372, 456, 80765, 4420, 98, 47, 28282, 10, 13452, 1884, 54, 678, 501, 35829, 58954, 2685, 31635, 831, 903, 14373, 3917, ...
[ 0.1912841796875, 0.25830078125, 0.2044677734375, 0.1610107421875, 0.150634765625, 0.060150146484375, 0.111328125, 0.1142578125, 0.1649169921875, 0.042083740234375, 0.1602783203125, 0.0069580078125, 0.061767578125, 0.0953369140625, 0.03314208984375, 0.106689453125, 0.1873779296875, ...
embed
12689214_c0
12689214
fsharp
0
Title: why do we use recursive type to implement stack instead of list? Problem title: why do we use recursive type to implement stack instead of list? Tags: f%23, stack Problem: why do we use recursive type to implement stack instead of list? I thought list is exactly the implementation of a persistent stack . However...
why do we use recursive type to implement stack instead of list? why do we use recursive type to implement stack instead of list? f%23 stack Stack Nil Cons why do we use recursive type to implement stack instead of list? I thought list is exactly the implementation of a persistent stack . However, when I came across ar...
[ -0.013671875, 0.0220947265625, 0.01019287109375, 0.0213623046875, -0.0068359375, -0.000560760498046875, -0.0140380859375, 0.00885009765625, 0.007568359375, -0.0235595703125, 0.01129150390625, -0.005859375, 0.003173828125, 0.0021209716796875, 0.003143310546875, 0.0036773681640625, 0.0...
[ 15400, 642, 4527, 195625, 5844, 10644, 29479, 177261, 64457, 5303, 54, 1238, 3949, 3742, 6512, 2594, 77175, 39215, 47, 17569, 83, 66161, 208124, 70560, 2517, 8561, 123309, 11343, 55970, 3674, 69941, 44084, 39908, 11 ]
[ 0.1058349609375, 0.03912353515625, 0.09637451171875, 0.2203369140625, 0.1798095703125, 0.2125244140625, 0.1871337890625, 0.2386474609375, 0.114990234375, 0.196533203125, 0.00689697265625, 0.033416748046875, 0.04083251953125, 0.13330078125, 0.130859375, 0.1168212890625, 0.15673828125,...
embed
16321601_c2
16321601
fsharp
2
.Data, System.Data.OleDb, System.Text.RegularExpressions, Period, Prior, Current, OleDbConnection, Provider, Microsoft.ACE.OLEDB.12.0, Source, Persist, Security, Info, OleDbCommand, comm.ExecuteNonQuery, Regex.Replace, ss:string, String.Join, Array.map, DateTime.Now.ToString, Field01, Field02, Field03, Field04, Field05...
.Data, System.Data.OleDb, System.Text.RegularExpressions, Period, Prior, Current, OleDbConnection, Provider, Microsoft.ACE.OLEDB.12.0, Source, Persist, Security, Info, OleDbCommand, comm.ExecuteNonQuery, Regex.Replace, ss:string, String.Join, Array.map, DateTime.Now.ToString, Field01, Field02, Field03, Field04, Field05...
[ 0.000698089599609375, 0.00836181640625, -0.0224609375, 0.031982421875, 0.0106201171875, 0.010009765625, -0.0167236328125, 0.006256103515625, 0.043212890625, 0.0277099609375, 0.00787353515625, 0.008056640625, 0.01708984375, -0.028564453125, 0.00060272216796875, -0.000965118408203125, ...
[ 5, 137989, 4, 12353, 670, 133, 397, 275, 174379, 54601, 35975, 178752, 17514, 92329, 135967, 114063, 31031, 235603, 1830, 123089, 42, 7244, 61019, 71621, 39463, 15654, 2389, 77641, 57309, 271, 48748, 14048, 10770, 12018, 375, 39, 211603, 13, ...
[ 0.1551513671875, 0.223876953125, 0.0745849609375, 0.152587890625, 0.1204833984375, 0.140380859375, 0.158203125, 0.198974609375, 0.1611328125, 0.190673828125, 0.1551513671875, 0.2076416015625, 0.107177734375, 0.19091796875, 0.1903076171875, 0.1898193359375, 0.1829833984375, 0.161254...
embed
60711493_c0
60711493
fsharp
0
Title: Equivalent of fst and snd for F# struct tuples? Problem title: Equivalent of fst and snd for F# struct tuples? Tags: f%23 Problem: Equivalent of fst and snd for F# struct tuples? If I am using reference tuples, this compiles: let plot(x: int, y: int) = () let point = 3, 4 plot(fst point, snd point) However, if I...
Equivalent of fst and snd for F# struct tuples? Equivalent of fst and snd for F# struct tuples? f%23 Equivalent One Equivalent of fst and snd for F# struct tuples? If I am using reference tuples, this compiles: However, if I am using struct tuples... ... I get the compiler error, One tuple type is a struct tuple, the o...
[ 0.01092529296875, 0.01055908203125, 0.0045166015625, 0.009521484375, 0.01336669921875, 0.0017547607421875, -0.0028839111328125, -0.00151824951171875, 0.01043701171875, -0.003753662109375, -0.006866455078125, 0.0032501220703125, -0.0045166015625, 0.005401611328125, 0.0174560546875, 0.01...
[ 145666, 85540, 1238, 271, 136, 91, 2208, 563, 4904, 36716, 370, 99726, 3949, 3742, 6561, 17368, 91067, 9969, 1340, 34759, 18499, 8705, 10644, 83, 3789 ]
[ 0.06365966796875, 0.12744140625, 0.084716796875, 0.1513671875, 0.1290283203125, 0.04217529296875, 0.176025390625, 0.095703125, 0.1807861328125, 0.18896484375, 0.1083984375, 0.1458740234375, 0.03125, 0.143798828125, 0.1021728515625, 0.046112060546875, 0.19970703125, 0.12158203125, ...
embed
72396706_c0
72396706
fsharp
0
Title: F# deleting element from tree Problem title: F# deleting element from tree Tags: tree, f%23 Problem: F# deleting element from tree I have a problem with function that should delete element from tree. It deletes whole node and not an single element. Type tree code: type tree = | Empty | Node of float * tree * tre...
F# deleting element from tree F# deleting element from tree tree f%23 tree Empty Node F# deleting element from tree I have a problem with function that should delete element from tree. It deletes whole node and not an single element. Type tree code: function code:
[ -0.0000782012939453125, 0.00811767578125, -0.01068115234375, -0.01214599609375, 0.0159912109375, 0.01513671875, 0.00811767578125, -0.018798828125, 0.00274658203125, -0.027587890625, 0.021728515625, -0.00836181640625, -0.023681640625, -0.00762939453125, 0.0130615234375, -0.0106811523437...
[ 563, 4904, 24674, 1916, 12830, 1295, 53201, 1238, 3949, 3742, 31678, 939, 438, 112, 2967, 32354, 5608, 154109, 8, 74635, 28271, 110, 60457, 18151 ]
[ 0.1402587890625, 0.202392578125, 0.157470703125, 0.043487548828125, 0.166259765625, 0.1151123046875, 0.2320556640625, 0.0916748046875, 0.0338134765625, 0.1343994140625, 0.1219482421875, 0.0699462890625, 0.1114501953125, 0.068115234375, 0.070068359375, 0.156494140625, 0.046875, 0.19...
embed
18595597_c0
18595597
fsharp
0
Title: Is using a StringBuilder a right thing to do in F#? Problem title: Is using a StringBuilder a right thing to do in F#? Tags: immutability, f%23, stringbuilder Problem: Is using a StringBuilder a right thing to do in F#? StringBuiler is a mutable object, F# encourages employing immutability as much as possible. S...
Is using a StringBuilder a right thing to do in F#? Is using a StringBuilder a right thing to do in F#? immutability f%23 stringbuilder a StringBuilder Is using a StringBuilder a right thing to do in F#? StringBuiler is a mutable object, F# encourages employing immutability as much as possible. So one should use transf...
[ -0.00244140625, -0.01422119140625, 0.0162353515625, 0.00860595703125, -0.01458740234375, 0.00128936767578125, -0.00701904296875, 0.018798828125, 0.0003719329833984375, -0.00872802734375, 0.0341796875, -0.00567626953125, 0.005950927734375, 0.0028533935546875, 0.00433349609375, -0.004821...
[ 17368, 10, 23351, 214, 121137, 56, 7108, 13580, 23, 563, 4904, 566, 14311, 41159, 1238, 3949, 3742, 79315, 177149, 2071, 54, 7235, 34759, 83, 842, 22819, 36746, 65524, 187016, 5045, 7722, 5608, 4527, 167201, 43257, 3501, 199334, 59911, 3397...
[ 0.116455078125, 0.07928466796875, 0.196533203125, 0.137451171875, 0.23828125, 0.176513671875, 0.1103515625, 0.03619384765625, 0.053985595703125, 0.14599609375, 0.21923828125, 0.0648193359375, 0.1552734375, 0.0947265625, 0.0843505859375, 0.001251220703125, 0.07421875, 0.2001953125, ...
embed
62799947_c0
62799947
fsharp
0
Title: how can I build a format string with sprintf, in F#? Problem title: how can I build a format string with sprintf, in F#? Tags: f%23, string-formatting Problem: how can I build a format string with sprintf, in F#? I'm trying to go from: sprintf "%3.1f" myNumber to: sprintf myFormatter myNumber which is not possib...
how can I build a format string with sprintf, in F#? how can I build a format string with sprintf, in F#? f%23 string-formatting how can I build a format string with sprintf, in F#? I'm trying to go from: to: which is not possible I have a situation where number precision depends on some settings, so I would like to be...
[ -0.0174560546875, 0.00433349609375, 0.004638671875, -0.0032806396484375, 0.004119873046875, 0.00860595703125, 0.019287109375, 0.012451171875, 0.009521484375, -0.003143310546875, 0.0269775390625, 0.004638671875, -0.002960205078125, -0.0159912109375, 0.0167236328125, 0.007659912109375, ...
[ 3642, 831, 45367, 9384, 79315, 678, 145320, 420, 563, 4904, 1238, 3742, 51727, 1916, 23, 31577, 738, 1295, 47, 959, 7722, 16648, 14012, 22619, 1830, 56566, 53550, 1884, 19048, 28282, 759, 10002, 1483, 3055, 16940, 23351, 214, 102973, 257, ...
[ 0.0411376953125, 0.05181884765625, 0.1785888671875, 0.281494140625, 0.26025390625, 0.072265625, 0.2108154296875, 0.2371826171875, 0.1246337890625, 0.1845703125, 0.10595703125, 0.0958251953125, 0.1949462890625, 0.02191162109375, 0.0215301513671875, 0.0187530517578125, 0.03817749023437...
embed
27367019_c1
27367019
fsharp
1
) -> a.GetHashCode() | _ -> 0 interface System.IComparable with member this.CompareTo arg = match arg with | :? MyType as other -> match this, other with // Three calls to CompareTo. I'd like only one | Bool(a), Bool(b) -> a.CompareTo(b) | Str(a), Str(b) -> a.CompareTo(b) | Float(a), Float(b) -> a.CompareTo(b) | _ -> 0...
) -> a.GetHashCode() | _ -> 0 interface System.IComparable with member this.CompareTo arg = match arg with | :? MyType as other -> match this, other with // Three calls to CompareTo. I'd like only one | Bool(a), Bool(b) -> a.CompareTo(b) | Str(a), Str(b) -> a.CompareTo(b) | Float(a), Float(b) -> a.CompareTo(b) | _ -> 0...
[ -0.0211181640625, 0.01336669921875, 0.01458740234375, 0.01806640625, 0.00106048583984375, -0.01190185546875, 0.006744384765625, 0.006256103515625, 0.0218505859375, 0.00872802734375, -0.005157470703125, 0.0196533203125, -0.001373291015625, 0.00823974609375, -0.00095367431640625, -0.0068...
[ 1388, 33079, 10, 724, 126, 6495, 1495, 114211, 101, 757, 101758, 12353, 568, 108161, 147, 2886, 32786, 903, 1046, 7763, 79459, 14858, 678, 2646, 196707, 3789, 129335, 11782, 47, 113307, 13, 1884, 4734, 1632, 2460, 929, 11, 275, 23351, 386...
[ 0.009521484375, 0.00323486328125, 0.06939697265625, 0.01336669921875, 0.036376953125, 0.190673828125, 0.1273193359375, 0.2071533203125, 0.00433349609375, 0.09686279296875, 0.1634521484375, 0.097900390625, 0.0784912109375, 0.120361328125, 0.1416015625, 0.1363525390625, 0.1839599609375...
embed
33235327_c0
33235327
fsharp
0
Title: Can&#x27;t find the `BlockingQueueAgent` type within current F# assemblies? Problem title: Can&#x27;t find the `BlockingQueueAgent` type within current F# assemblies? Tags: .net, f%23, asynchronous Problem: Can't find the `BlockingQueueAgent` type within current F# assemblies? Documentation on the web seems to p...
Can&#x27;t find the `BlockingQueueAgent` type within current F# assemblies? Can&#x27;t find the `BlockingQueueAgent` type within current F# assemblies? .net f%23 asynchronous Can BlockingQueueAgent MailboxProcessor Can't find the `BlockingQueueAgent` type within current F# assemblies? Documentation on the web seems to ...
[ -0.005645751953125, 0.0308837890625, -0.00579833984375, 0.006988525390625, -0.010009765625, 0, 0.014892578125, -0.001617431640625, -0.01470947265625, -0.02685546875, -0.0220947265625, 0.009765625, 0.0213623046875, -0.0181884765625, 0.004241943359375, 0.01611328125, 0.0096435546875, ...
[ 4171, 3768, 18, 7413, 166191, 214, 41732, 13388, 284, 46825, 10644, 28032, 43581, 563, 4904, 89845, 7121, 70, 90, 1179, 1238, 3742, 12654, 101966, 80231, 25919, 11728, 10752, 26531, 748, 43101, 2320, 6275, 903, 93774, 3467, 254, 175904, 210...
[ 0.06475830078125, 0.044281005859375, 0.041229248046875, 0.1158447265625, 0.19775390625, 0.142333984375, 0.15380859375, 0.1357421875, 0.10693359375, 0.2509765625, 0.1751708984375, 0.07763671875, 0.08892822265625, 0.0556640625, 0.17626953125, 0.10546875, 0.0469970703125, 0.0226287841...
embed
34913425_c1
34913425
fsharp
1
: ASP.NET, WebAPI, client.PostAsync, Cars, TestClass, UnitTest1, www.asp.net, TestMethod, Task, TestMethod1, HttpClient, client.BaseAddress, Uri, localhost:48213, client.DefaultRequestHeaders.Accept.Clear, client.DefaultRequestHeaders.Accept.Add, MediaTypeWithQualityHeaderValue, HTTP, GET, client.GetAsync, response.IsS...
: ASP.NET, WebAPI, client.PostAsync, Cars, TestClass, UnitTest1, www.asp.net, TestMethod, Task, TestMethod1, HttpClient, client.BaseAddress, Uri, localhost:48213, client.DefaultRequestHeaders.Accept.Clear, client.DefaultRequestHeaders.Accept.Add, MediaTypeWithQualityHeaderValue, HTTP, GET, client.GetAsync, response.IsS...
[ -0.004547119140625, 0.0206298828125, 0.003631591796875, -0.0184326171875, 0.0181884765625, 0.00119781494140625, 0.01385498046875, -0.00133514404296875, 0.029541015625, 0.0240478515625, -0.007659912109375, 0.00872802734375, -0.0224609375, -0.00799560546875, 0.033203125, 0.01275634765625...
[ 152, 147153, 5, 17777, 4, 4002, 74220, 23282, 49411, 284, 12654, 238, 3980, 7, 8647, 140803, 46640, 111337, 418, 1426, 162, 254, 1179, 78572, 7352, 9598, 92, 3062, 150, 2517, 63473, 161007, 130885, 4000, 40294, 34605, 304, 2681, 187423, 1...
[ 0.09051513671875, 0.2454833984375, 0.076416015625, 0.2091064453125, 0.079833984375, 0.122314453125, 0.265625, 0.185546875, 0.110107421875, 0.0157012939453125, 0.194580078125, 0.06402587890625, 0.2257080078125, 0.0965576171875, 0.1943359375, 0.2286376953125, 0.1513671875, 0.20727539...
embed
49124030_c0
49124030
fsharp
0
Title: F# pattern filtering Problem title: F# pattern filtering Tags: f%23 Problem: F# pattern filtering Can someone please give me advice on how to filter out a list of lists when it contains a certain number. For example, if the sub-lists contain 2 then I want the third value. let p = [ [0;2;1]; [7;2;5]; [8;2; 10]; [...
F# pattern filtering F# pattern filtering f%23 Filtered List List.filter List.item F# pattern filtering Can someone please give me advice on how to filter out a list of lists when it contains a certain number. For example, if the sub-lists contain 2 then I want the third value. Above is my code so far. I know its wrong...
[ -0.0150146484375, 0.0291748046875, -0.005950927734375, -0.0029144287109375, 0.00347900390625, 0.0194091796875, -0.005035400390625, 0.0196533203125, 0.020751953125, 0.02294921875, 0.021240234375, -0.0089111328125, 0.00151824951171875, 0.010986328125, -0.024169921875, 0.01611328125, 0....
[ 563, 4904, 103510, 46312, 214, 1238, 3742, 128896, 297, 32036, 120337, 217, 22936, 163, 67660, 3642, 47, 1810, 5303, 111, 7, 3229, 70541, 24233, 14012, 1614, 6562, 116, 87, 3444, 70, 50960, 34292, 92437, 272, 18151, 2060, 3714, 6863, 4469...
[ 0.10504150390625, 0.177490234375, 0.1923828125, 0.220703125, 0.0161590576171875, 0.0714111328125, 0.093994140625, 0.201171875, 0.0190582275390625, 0.147705078125, 0.2005615234375, 0.035980224609375, 0.01068115234375, 0.021942138671875, 0.109619140625, 0.050689697265625, 0.02595520019...
embed
63816709_c0
63816709
fsharp
0
Title: How to directly apply a function to the value of a match expression in F# Problem title: How to directly apply a function to the value of a match expression in F# Tags: match, functional-programming, f%23 Problem: How to directly apply a function to the value of a match expression in F# Assuming I have let someF...
How to directly apply a function to the value of a match expression in F# How to directly apply a function to the value of a match expression in F# match functional-programming f%23 How Value1 Value2 How to directly apply a function to the value of a match expression in F# Assuming I have Is there a way to directly app...
[ 0.00015735626220703125, -0.016357421875, 0.00567626953125, -0.0174560546875, -0.00872802734375, -0.009521484375, -0.0257568359375, 0.000240325927734375, 0.02099609375, -0.025146484375, 0.035400390625, 0.0155029296875, -0.012939453125, -0.004974365234375, 0.0390625, -0.0198974609375, ...
[ 11249, 47, 105237, 59911, 32354, 34292, 14858, 125195, 563, 4904, 10, 123309, 28966, 1238, 3742, 190060, 304, 23, 66596, 3917, 126340, 97249, 10763, 30646, 15490, 119591, 425, 77336 ]
[ 0.0518798828125, 0.1126708984375, 0.2030029296875, 0.185546875, 0.2093505859375, 0.141845703125, 0.2159423828125, 0.2025146484375, 0.10748291015625, 0.194091796875, 0.003448486328125, 0.146728515625, 0.07269287109375, 0.0167694091796875, 0.05865478515625, 0.1304931640625, 0.046966552...
embed
22302772_c1
22302772
fsharp
1
_fails<'a>) (y:obj) = let y = y :?> test_fails<'a> x.content = y.content member x.content = content override x.Equals (y:obj) = eq_impl x y [<NoComparison>] type test_compiles<'a when 'a : equality> (content:'a) = let eq_impl (x:test_compiles<'a>) (y:obj) = let y = y :?> test_compiles<'a> x.content = y.content member x...
_fails<'a>) (y:obj) = let y = y :?> test_fails<'a> x.content = y.content member x.content = content override x.Equals (y:obj) = eq_impl x y [<NoComparison>] type test_compiles<'a when 'a : equality> (content:'a) = let eq_impl (x:test_compiles<'a>) (y:obj) = let y = y :?> test_compiles<'a> x.content = y.content member x...
[ -0.0203857421875, 0.0146484375, -0.010009765625, -0.00136566162109375, 0.00109100341796875, -0.008056640625, -0.0211181640625, -0.0029144287109375, 0.01422119140625, 0.0301513671875, -0.007232666015625, 0.00927734375, 0.0184326171875, 0.00750732421875, 0.018798828125, -0.0106201171875,...
[ 101, 120540, 7, 11, 53, 12, 3522, 170, 2203, 2633, 113, 3034, 1022, 69246, 32786, 10941, 645, 416, 112, 647, 71723, 28, 864, 116120, 5021, 108161, 1686, 1681, 10644, 277, 5974, 3229, 152, 161789, 425, 6954, 5, 28864, 26073, 438, 1132, ...
[ 0.05316162109375, 0.2259521484375, 0.09014892578125, 0.1048583984375, 0.1170654296875, 0.0728759765625, 0.145263671875, 0.1766357421875, 0.04736328125, 0.08868408203125, 0.1396484375, 0.2247314453125, 0.1112060546875, 0.2303466796875, 0.1273193359375, 0.1806640625, 0.0631103515625, ...
embed
53327573_c0
53327573
fsharp
0
Title: F# List contains Problem title: F# List contains Tags: f%23, list, recursion, boolean, contains Problem: F# List contains I need help in F#. I need to verify if a number exist in the list, using a recursive function and without using List.contains or something similar. The program should only tell me if it's tru...
F# List contains F# List contains f%23 list recursion boolean contains List List.contains Nat x::xs F# List contains I need help in F#. I need to verify if a number exist in the list, using a recursive function and without using List.contains or something similar. The program should only tell me if it's true or false. ...
[ -0.0242919921875, 0.0167236328125, 0.0069580078125, 0.006866455078125, -0.003753662109375, 0.005645751953125, 0.01202392578125, 0.00148773193359375, -0.0029449462890625, -0.007354736328125, 0.0111083984375, 0.00689697265625, -0.022216796875, 0.01348876953125, 0.0057373046875, 0.0042724...
[ 563, 4904, 32036, 70541, 7, 1238, 3949, 3742, 5303, 195625, 1830, 337, 31, 34677, 98102, 5425, 68875, 1022, 425, 87, 3871, 4358, 23, 47, 493, 40383, 2174, 10, 14012, 32316, 17368, 5844, 32354, 15490, 21373, 1528, 5608, 4734, 14192, 163, ...
[ 0.1439208984375, 0.2274169921875, 0.2388916015625, 0.232666015625, 0.045806884765625, 0.1075439453125, 0.036041259765625, 0.1390380859375, 0.2091064453125, 0.17431640625, 0.0931396484375, 0.02227783203125, 0.05023193359375, 0.1475830078125, 0.1695556640625, 0.136474609375, 0.16992187...
embed
45886844_c0
45886844
fsharp
0
Title: Calling FSharp list operators in prefix form Problem title: Calling FSharp list operators in prefix form Tags: operators, f%23 Problem: Calling FSharp list operators in prefix form The following code enables me to pipe a result to the addition operator: let x = 1 x |> (+) 3 val x : int = 1 val it : int = 4 Howev...
Calling FSharp list operators in prefix form Calling FSharp list operators in prefix form operators f%23 Calling FSharp FS0010 Unexpected Calling FSharp list operators in prefix form The following code enables me to pipe a result to the addition operator: However I'm not able to use the same approach to add an item to ...
[ -0.0031280517578125, 0.006683349609375, 0.008544921875, 0.00019741058349609375, 0.0003223419189453125, -0.00677490234375, -0.01153564453125, -0.005584716796875, 0.0057373046875, -0.0380859375, 0.0220947265625, 0.0018157958984375, 0.0263671875, 0.00160980224609375, -0.0025177001953125, ...
[ 26265, 93774, 3467, 254, 5303, 39933, 183114, 3173, 1238, 3949, 3742, 214, 7049, 963, 83613, 13, 7, 25632, 18151, 22, 19736, 137158, 16750, 47, 66044, 959, 19048, 4527, 5701, 51515, 15190, 35735, 44084, 35604, 64549 ]
[ 0.1094970703125, 0.12939453125, 0.1903076171875, 0.1932373046875, 0.1864013671875, 0.2086181640625, 0.2257080078125, 0.1370849609375, 0.0682373046875, 0.04974365234375, 0.136962890625, 0.012176513671875, 0.034454345703125, 0.08856201171875, 0.02685546875, 0.006591796875, 0.0016784667...
embed
34621033_c0
34621033
fsharp
0
Title: Interop assembly not found in F# solution Problem title: Interop assembly not found in F# solution Tags: visual-studio-2013, f%23 Problem: Interop assembly not found in F# solution F# newbie here, spent many painful hours trying to resolve the errors with a simple piece of code from MSDN F# tutorial. #r "Microso...
Interop assembly not found in F# solution Interop assembly not found in F# solution visual-studio-2013 f%23 Interop Microsoft.Office.Interop.Excel.dll Microsoft.Office.Interop.Excel visual-studio-2013 Interop assembly not found in F# solution F# newbie here, spent many painful hours trying to resolve the errors with a ...
[ -0.003021240234375, 0.007293701171875, -0.00135040283203125, 0.0086669921875, -0.0128173828125, 0.00860595703125, -0.031982421875, -0.00238037109375, -0.006500244140625, -0.001800537109375, -0.0206298828125, -0.00677490234375, 0.01336669921875, 0.01422119140625, 0.0225830078125, 0.0075...
[ 5337, 2146, 10, 89845, 38526, 959, 14037, 563, 4904, 29806, 23, 21176, 52629, 74790, 1238, 3742, 7244, 94833, 44851, 184926, 1181, 3525, 9014, 66933, 5941, 24503, 21974, 103608, 18499, 8781, 63847, 18151, 51671, 57143, 13455, 3714, 15400 ]
[ 0.204833984375, 0.281005859375, 0.05438232421875, 0.23876953125, 0.1468505859375, 0.041900634765625, 0.1290283203125, 0.10504150390625, 0.2059326171875, 0.131591796875, 0.0335693359375, 0.1373291015625, 0.1295166015625, 0.1331787109375, 0.032806396484375, 0.0701904296875, 0.029556274...
embed
8637383_c0
8637383
fsharp
0
Title: F# binary serialization for XNA and XBox Problem title: F# binary serialization for XNA and XBox Tags: f%23, serialization Problem: F# binary serialization for XNA and XBox I have a series of F# data structures which I cannot control (computation expressions and lambdas, which are compiler-generated) and which I...
F# binary serialization for XNA and XBox F# binary serialization for XNA and XBox f%23 serialization XNA XBox F# binary serialization for XNA and XBox I have a series of F# data structures which I cannot control (computation expressions and lambdas, which are compiler-generated) and which I must serialize. The binary s...
[ 0.0172119140625, 0.0301513671875, 0.01043701171875, -0.0167236328125, -0.01361083984375, -0.00762939453125, -0.016357421875, 0.0004138946533203125, 0.00677490234375, -0.00058746337890625, -0.00665283203125, 0.01458740234375, 0.0023193359375, 0.01007080078125, 0.02490234375, 0.017822265...
[ 563, 4904, 2394, 6635, 35686, 47691, 100, 1193, 6691, 136, 72295, 1238, 3949, 3742, 36549, 2053, 45646, 53418, 6226, 7077, 125195, 6492, 1124, 9969, 34759, 48281, 8110, 20650, 52825, 43240, 1284, 104272, 442, 959, 19882, 24447, 73754, 30700, ...
[ 0.1258544921875, 0.2005615234375, 0.17431640625, 0.12353515625, 0.1884765625, 0.11083984375, 0.046112060546875, 0.0941162109375, 0.198486328125, 0.047576904296875, 0.1630859375, 0.071044921875, 0.00823974609375, 0.1483154296875, 0.010009765625, 0.060699462890625, 0.1329345703125, 0...
embed
42917044_c0
42917044
fsharp
0
Title: Do function type parameter labels matter Problem title: Do function type parameter labels matter Tags: f%23 Problem: Do function type parameter labels matter I'm teaching myself F#. My question comes from my attempts to solve exercise 2.13 in the book 'Functional Programming Using F#', which asks me to define a ...
Do function type parameter labels matter Do function type parameter labels matter f%23 Do function type parameter labels matter I'm teaching myself F#. My question comes from my attempts to solve exercise 2.13 in the book 'Functional Programming Using F#', which asks me to define a function curry as: My current result ...
[ 0.0159912109375, -0.019775390625, 0.00933837890625, 0.00046539306640625, -0.0194091796875, -0.005096435546875, -0.0130615234375, -0.0177001953125, 0.01190185546875, 0.0264892578125, 0.0203857421875, -0.043212890625, -0.00592041015625, -0.00958251953125, 0.00946044921875, -0.01196289062...
[ 984, 32354, 10644, 171859, 67967, 7, 26866, 1238, 3949, 3742, 128169, 35978, 563, 4904, 81887, 86869, 81979, 12877, 97249, 10763, 27958, 61924, 198555, 237, 43581, 16750, 29806, 26785, 959, 765, 12, 1022, 113 ]
[ 0.0675048828125, 0.1856689453125, 0.209716796875, 0.2342529296875, 0.26904296875, 0.09686279296875, 0.17822265625, 0.09344482421875, 0.0211944580078125, 0.1102294921875, 0.057464599609375, 0.012054443359375, 0.057037353515625, 0.1361083984375, 0.0068359375, 0.041046142578125, 0.07165...
embed
27889897_c0
27889897
fsharp
0
Title: Is there a F#/.NET multiplatform lib like bpython-curTsies to make a nice repl? Problem title: Is there a F#/.NET multiplatform lib like bpython-curTsies to make a nice repl? Tags: bpython, f%23, read-eval-print-loop Problem: Is there a F#/.NET multiplatform lib like bpython-curTsies to make a nice repl? I need ...
Is there a F#/.NET multiplatform lib like bpython-curTsies to make a nice repl? Is there a F#/.NET multiplatform lib like bpython-curTsies to make a nice repl? bpython f%23 read-eval-print-loop NET Is there a F#/.NET multiplatform lib like bpython-curTsies to make a nice repl? I need to make a custom REPL, and spoiled ...
[ -0.020751953125, -0.000797271728515625, 0.004638671875, 0.025634765625, -0.0025177001953125, -0.005096435546875, 0.013916015625, -0.0164794921875, -0.007598876953125, 0.02099609375, 0.0181884765625, -0.01019287109375, 0.004974365234375, 0.001617431640625, 0.005767822265625, 0.000537872...
[ 2071, 2685, 10, 563, 4904, 64, 17777, 6024, 172121, 25474, 1884, 876, 6493, 50828, 16820, 618, 17089, 47, 3249, 26267, 456, 2424, 1238, 3742, 12301, 13, 1405, 35662, 28354, 9, 3871, 114122, 9069, 21130, 5732, 14, 6259, 32195, 32316, 9844,...
[ 0.03594970703125, 0.042694091796875, 0.037628173828125, 0.0706787109375, 0.10589599609375, 0.053436279296875, 0.14599609375, 0.1385498046875, 0.174072265625, 0.1905517578125, 0.04339599609375, 0.09619140625, 0.1494140625, 0.1715087890625, 0.1842041015625, 0.16845703125, 0.287109375, ...
embed
45661147_c0
45661147
fsharp
0
Title: How to make Fsharp show Charting? Problem title: How to make Fsharp show Charting? Tags: fsharpchart, charts, f%23-data, f%23 Problem: How to make Fsharp show Charting? Chart.Line [ for x in 1.0 .. 100.0 -> (x, x ** 2.0) ] I tried many times in order to see the Charting from Fsharp as F# Charting I install some ...
How to make Fsharp show Charting? How to make Fsharp show Charting? fsharpchart charts f%23-data f%23 How Fsharp Charting Chart.Line How to make Fsharp show Charting? I tried many times in order to see the Charting from Fsharp as F# Charting I install some extensions which I think needed : Fsharp.Charting Fsharp.Chart ...
[ -0.00116729736328125, 0.002105712890625, 0.026123046875, -0.00750732421875, 0.0142822265625, -0.000949859619140625, 0.01202392578125, -0.0086669921875, -0.005035400390625, -0.009765625, -0.01519775390625, -0.0269775390625, 0.0017547607421875, 0.007659912109375, 0.0021209716796875, 0.00...
[ 11249, 47, 3249, 563, 89280, 254, 7639, 110373, 214, 1238, 9254, 18, 116287, 27495, 10135, 3742, 93232, 37842, 5941, 20028, 1957, 237, 4904, 20600, 111938, 44841, 84068, 1916, 31472, 7244, 175904, 20174, 98893, 17997 ]
[ 0.08056640625, 0.030487060546875, 0.082275390625, 0.12841796875, 0.206787109375, 0.180908203125, 0.1585693359375, 0.2281494140625, 0.1552734375, 0.0794677734375, 0.16259765625, 0.08660888671875, 0.2030029296875, 0.039581298828125, 0.06134033203125, 0.04986572265625, 0.125, 0.027267...
embed
25817483_c1
25817483
fsharp
1
the code was that I couldn't figure out how to get the success value of the DU to initialize via an object expression. Is this possible? The examples I've looked at on MSDN ( http://msdn.microsoft.com/en-us/library/vstudio/dd233237(v=vs.100).aspx ), fsharpforfunandprofit ( http://fsharpforfunandprofit.com/posts/discri...
the code was that I couldn't figure out how to get the success value of the DU to initialize via an object expression. Is this possible? The examples I've looked at on MSDN ( http://msdn.microsoft.com/en-us/library/vstudio/dd233237(v=vs.100).aspx ), fsharpforfunandprofit ( http://fsharpforfunandprofit.com/posts/discri...
[ -0.005340576171875, 0.0322265625, 0.01373291015625, 0.00665283203125, 0.013427734375, -0.0263671875, 0.0076904296875, -0.00848388671875, 0.027099609375, 0.0002574920654296875, -0.006805419921875, 0.01092529296875, 0.011474609375, -0.00148773193359375, 0.0019378662109375, 0.01171875, ...
[ 18151, 509, 69427, 18, 26366, 1810, 3642, 2046, 36272, 34292, 70, 14614, 61475, 20650, 1829, 36746, 125195, 2071, 903, 7722, 27781, 54811, 16265, 51671, 138410, 334, 52629, 4028, 6460, 10945, 18043, 3559, 1238, 89280, 254, 2472, 16498, 2940, ...
[ 0.213134765625, 0.00537109375, 0.057464599609375, 0.0728759765625, 0.1199951171875, 0.0189971923828125, 0.0307769775390625, 0.05780029296875, 0.27099609375, 0.18896484375, 0.002593994140625, 0.231201171875, 0.2225341796875, 0.13427734375, 0.1064453125, 0.2509765625, 0.26220703125, ...
embed
727707_c0
727707
fsharp
0
Title: Finding all combinations of well-formed brackets Problem title: Finding all combinations of well-formed brackets Tags: algorithm, c%23, f%23, catalan Problem: Finding all combinations of well-formed brackets This came up while talking to a friend and I thought I'd ask here since it's an interesting problem and w...
Finding all combinations of well-formed brackets Finding all combinations of well-formed brackets algorithm c%23 f%23 catalan Finding Finding all combinations of well-formed brackets This came up while talking to a friend and I thought I'd ask here since it's an interesting problem and would like to see other people's ...
[ -0.03955078125, 0.01458740234375, -0.030517578125, -0.00946044921875, 0.0267333984375, 0.0001316070556640625, -0.0078125, -0.01300048828125, 0.0169677734375, -0.00634765625, -0.000018358230590820312, -0.04736328125, 0.015869140625, 0.00689697265625, 0.00628662109375, -0.00958251953125,...
[ 26040, 214, 756, 162515, 7, 5299, 5037, 297, 1620, 27853, 234873, 3742, 1238, 377, 19642, 34391, 26458, 49041, 2967, 51347, 66211, 33022, 32354, 6163, 4288, 653, 28412, 1295, 106, 27, 19, 69829, 140992 ]
[ 0.1312255859375, 0.01849365234375, 0.1732177734375, 0.2626953125, 0.0498046875, 0.14697265625, 0.194580078125, 0.064697265625, 0.2022705078125, 0.21484375, 0.2047119140625, 0.0784912109375, 0.026702880859375, 0.095947265625, 0.1590576171875, 0.002838134765625, 0.003570556640625, 0....
embed
50298365_c0
50298365
fsharp
0
Title: Can I use type abbreviation as an alias inside a generic class? Problem title: Can I use type abbreviation as an alias inside a generic class? Tags: f%23 Problem: Can I use type abbreviation as an alias inside a generic class? I am making an object pool class with custom pointer sizes. It gets tedious to type na...
Can I use type abbreviation as an alias inside a generic class? Can I use type abbreviation as an alias inside a generic class? f%23 Can ObjectPool PTR TypedPointer Can I use type abbreviation as an alias inside a generic class? I am making an object pool class with custom pointer sizes. It gets tedious to type names a...
[ -0.0247802734375, 0.0137939453125, -0.0029144287109375, -0.0029449462890625, -0.01336669921875, 0.00592041015625, -0.003326416015625, 0.01190185546875, 0.00201416015625, 0.017822265625, 0.01214599609375, -0.024169921875, 0.019775390625, -0.01239013671875, 0.000606536865234375, 0.006500...
[ 4171, 4527, 10644, 1563, 105160, 14, 2320, 237, 55109, 46132, 189534, 18507, 87, 142, 1238, 3742, 134549, 7192, 929, 28981, 60457, 71, 147534, 56, 20662, 36746, 19361, 114122, 6275, 13267, 120, 5670, 123055, 171859, 1733, 191147, 1884, 903 ]
[ 0.072021484375, 0.0855712890625, 0.2423095703125, 0.052642822265625, 0.1671142578125, 0.06353759765625, 0.00665283203125, 0.058441162109375, 0.205810546875, 0.12158203125, 0.200439453125, 0.1845703125, 0.02130126953125, 0.0212554931640625, 0.025390625, 0.0965576171875, 0.11083984375,...
embed
26722193_c0
26722193
fsharp
0
Title: F# casting an int Problem title: F# casting an int Tags: casting, f%23, type-safety Problem: F# casting an int This is a quite trivial thing but I am really struggling to get this to work. I want to cast the results of sqrt n where n is of type int64 and finally pass that to a function that takes an int but I am...
F# casting an int F# casting an int casting f%23 type-safety int64 F# casting an int This is a quite trivial thing but I am really struggling to get this to work. I want to cast the results of sqrt n where n is of type int64 and finally pass that to a function that takes an int but I am really struggling to get a decen...
[ -0.006317138671875, -0.0086669921875, 0.02099609375, -0.0113525390625, 0.01336669921875, -0.0263671875, -0.005828857421875, -0.03076171875, -0.007354736328125, -0.01708984375, -0.000888824462890625, -0.0035552978515625, -0.027587890625, 0.009521484375, -0.007080078125, -0.0072326660156...
[ 563, 4904, 176050, 142, 23, 18, 1238, 3949, 3742, 10644, 115840, 939, 13307, 32233, 1927, 686, 13580, 1284, 6183, 237875, 4488, 3444, 37702, 70, 50339, 91, 864, 3198, 653, 77681, 27875, 47, 32354, 51776, 10, 8, 16797, 29806, 1257, 1274, ...
[ 0.153564453125, 0.21484375, 0.2213134765625, 0.071044921875, 0.1468505859375, 0.17236328125, 0.0931396484375, 0.03076171875, 0.16162109375, 0.1248779296875, 0.170654296875, 0.079833984375, 0.2276611328125, 0.058502197265625, 0.017425537109375, 0.04278564453125, 0.00946044921875, 0....
embed
66797688_c1
66797688
fsharp
1
a debugger to the running process with the "Managed (.NET Core, .NET 5+) code" options works however. For reference, these are my installed components: What am I missing? Thank you. Code signals: Visual, Studio, CLR, Project, Sdk, Microsoft.NET.Sdk, PropertyGroup, OutputType, Exe, TargetFramework, netcoreapp3.1, Name,...
a debugger to the running process with the "Managed (.NET Core, .NET 5+) code" options works however. For reference, these are my installed components: What am I missing? Thank you. Code signals: Visual, Studio, CLR, Project, Sdk, Microsoft.NET.Sdk, PropertyGroup, OutputType, Exe, TargetFramework, netcoreapp3.1, Name,...
[ -0.00738525390625, 0.0194091796875, -0.01263427734375, 0.00823974609375, -0.010498046875, 0.0040283203125, -0.00183868408203125, 0.0064697265625, 0.01422119140625, -0.005401611328125, 0.0040283203125, 0.002227783203125, 0.0194091796875, 0.01141357421875, 0.0247802734375, 0.011169433593...
[ 10, 8, 978, 21407, 47, 51042, 9433, 678, 12662, 11, 17704, 17777, 31365, 190, 102817, 18151, 50717, 43240, 49903, 91067, 20600, 297, 82761, 132283, 28864, 26073, 73372, 22968, 138535, 27331, 159, 5740, 7244, 206984, 205072, 13538, 196707, 544...
[ 0.023681640625, 0.15234375, 0.2037353515625, 0.2093505859375, 0.109130859375, 0.1466064453125, 0.13671875, 0.04193115234375, 0.0916748046875, 0.102294921875, 0.148681640625, 0.133056640625, 0.1524658203125, 0.09185791015625, 0.1639404296875, 0.177734375, 0.1844482421875, 0.13500976...
embed
937988_c0
937988
fsharp
0
Title: F# and ExecuteScalar casting Problem title: F# and ExecuteScalar casting Tags: f%23, executescalar Problem: F# and ExecuteScalar casting How can I use DbCommand.ExecuteScalar from F#? It returns an obj which I need to convert to an int. I'm very new to F# and the casting I need to do is not clear. let (stockid:u...
F# and ExecuteScalar casting F# and ExecuteScalar casting f%23 executescalar ExecuteScalar stockid:uint32 command.ExecuteScalar Compile Error Type uint32 F# and ExecuteScalar casting How can I use DbCommand.ExecuteScalar from F#? It returns an obj which I need to convert to an int. I'm very new to F# and the casting I ...
[ 0.0242919921875, -0.000484466552734375, 0.01226806640625, 0.01092529296875, 0.00135040283203125, 0.0026397705078125, -0.01153564453125, 0.000835418701171875, -0.000057220458984375, -0.0155029296875, 0.013916015625, -0.0010528564453125, -0.001800537109375, -0.009765625, 0.0096435546875, ...
[ 563, 4904, 136, 211603, 13, 294, 408, 320, 176050, 1238, 3949, 3742, 71924, 90, 31837, 532, 34, 4288, 6460, 75101, 15612, 1340, 212059, 60457, 75, 11249, 831, 4527, 391, 275, 10770, 12018, 1295, 30646, 7, 995, 170, 3871, 96760, 47, 23, ...
[ 0.1485595703125, 0.2205810546875, 0.10675048828125, 0.1986083984375, 0.10595703125, 0.065185546875, 0.1932373046875, 0.251708984375, 0.2047119140625, 0.0765380859375, 0.0164794921875, 0.1383056640625, 0.184814453125, 0.056549072265625, 0.126953125, 0.1129150390625, 0.03216552734375, ...
embed
64584228_c1
64584228
fsharp
1
Db.Dbo.ArClient, Q2KDb.Dbo.DsItem, arClientRow.ClientId, dsItemRow.ClientId, Seq.length, Q2KDb.Dbo.DsWhseInvHeader, dsItemRow.ItemId, dsWhseInvHeaderRow.ClientId, dsWhseInvHeaderRow.ItemId, dsItemRow.ObsoleteFlg, arClientRow.IsInactive, dsWhseInvHeaderRow.WhseId, dsItemRow.InvunitQty, SELECT, JOIN, LOTS, ArClient, LEFT...
Db.Dbo.ArClient, Q2KDb.Dbo.DsItem, arClientRow.ClientId, dsItemRow.ClientId, Seq.length, Q2KDb.Dbo.DsWhseInvHeader, dsItemRow.ItemId, dsWhseInvHeaderRow.ClientId, dsWhseInvHeaderRow.ItemId, dsItemRow.ObsoleteFlg, arClientRow.IsInactive, dsWhseInvHeaderRow.WhseId, dsItemRow.InvunitQty, SELECT, JOIN, LOTS, ArClient, LEFT...
[ 0.00015354156494140625, 0.01263427734375, -0.0106201171875, 0.0240478515625, -0.001312255859375, -0.020751953125, -0.0198974609375, 0.01470947265625, 0.01171875, 0.0062255859375, 0.00469970703125, 0.016845703125, 0.0091552734375, 0.00408935546875, -0.0272216796875, -0.003326416015625, ...
[ 391, 275, 5, 397, 837, 7614, 441, 150, 2517, 4, 2396, 304, 605, 7, 568, 2982, 187, 12724, 434, 71, 104, 864, 23986, 127, 184, 4153, 334, 13025, 38970, 1456, 46471, 40777, 67, 14686, 29598, 71232, 45232, 217, 2737, 939, 6755, 144832, ...
[ 0.0841064453125, 0.115234375, 0.034088134765625, 0.09771728515625, 0.18212890625, 0.154541015625, 0.06268310546875, 0.236572265625, 0.208984375, 0.07110595703125, 0.0994873046875, 0.07135009765625, 0.0186920166015625, 0.04315185546875, 0.06732177734375, 0.211669921875, 0.0791015625, ...
embed
35787513_c0
35787513
fsharp
0
Title: Difference between discriminated Union types in F# Problem title: Difference between discriminated Union types in F# Tags: f%23 Problem: Difference between discriminated Union types in F# I'm reading about F# and looking at people's source code and I sometimes see Type test = | typeone | typetwo And sometimes i ...
Difference between discriminated Union types in F# Difference between discriminated Union types in F# f%23 Difference Union Type Difference between discriminated Union types in F# I'm reading about F# and looking at people's source code and I sometimes see And sometimes i see One of them has a pipe before and the one d...
[ 0.023681640625, 0.0150146484375, -0.005859375, 0.0152587890625, -0.0087890625, -0.00848388671875, -0.01513671875, 0.00592041015625, 0.016357421875, 0.033935546875, 0.0135498046875, 0.0064697265625, 0.0289306640625, 0.00145721435546875, 0.00028228759765625, 0.01129150390625, 0.0281982...
[ 803, 18234, 6620, 17721, 55970, 3674, 32528, 52895, 23, 563, 4904, 1238, 3949, 3742, 60457, 16454, 31344, 18151, 68018, 1957, 111, 1556, 10, 137158, 8108, 136, 1632, 22027, 18, 17569, 22, 316, 20209, 154610, 621, 5701, 73342, 60212, 2499 ]
[ 0.08447265625, 0.181640625, 0.04852294921875, 0.10009765625, 0.233642578125, 0.10443115234375, 0.242431640625, 0.2156982421875, 0.04443359375, 0.1209716796875, 0.2052001953125, 0.048248291015625, 0.0091552734375, 0.06829833984375, 0.2135009765625, 0.010284423828125, 0.060821533203125...
embed
75643716_c1
75643716
fsharp
1
oftern replace was "successful". Edit : Changed my replace function to: let replace x y = match x = y with | false -> "-", 1 | true -> x, 0 and myMap to: let myMap f xs = let rec innerMap f xs : ('T list * int) = match xs with | [], c -> [], c | h :: tail, c -> match innerMap f (tail, c) with |lst, c -> match (f h) wi...
oftern replace was "successful". Edit : Changed my replace function to: let replace x y = match x = y with | false -> "-", 1 | true -> x, 0 and myMap to: let myMap f xs = let rec innerMap f xs : ('T list * int) = match xs with | [], c -> [], c | h :: tail, c -> match innerMap f (tail, c) with |lst, c -> match (f h) wi...
[ -0.0023345947265625, 0.007720947265625, -0.010498046875, 0.01251220703125, -0.0166015625, -0.000820159912109375, -0.01519775390625, 0.00156402587890625, 0.0263671875, 0.027099609375, 0.01019287109375, 0.01019287109375, 0.0162353515625, 0.008056640625, -0.00439453125, -0.0050048828125, ...
[ 111, 22766, 91995, 509, 226534, 7, 7844, 87377, 759, 32354, 2633, 1022, 113, 2203, 14858, 678, 98320, 9, 106, 29568, 757, 166179, 1238, 21954, 75414, 618, 5303, 23, 18, 1096, 46741, 4, 271, 420, 425, 53, 3502, 442, 79315, 418, 4958, 1...
[ 0.1434326171875, 0.2049560546875, 0.267822265625, 0.019195556640625, 0.1507568359375, 0.0859375, 0.114990234375, 0.1519775390625, 0.113525390625, 0.1737060546875, 0.07080078125, 0.13134765625, 0.1656494140625, 0.072998046875, 0.1746826171875, 0.06268310546875, 0.21435546875, 0.1204...
embed
15092472_c0
15092472
fsharp
0
Title: F#: Extract the same length overlapping contiguous sublists from a list Problem title: F#: Extract the same length overlapping contiguous sublists from a list Tags: f%23, list Problem: F#: Extract the same length overlapping contiguous sublists from a list In F# have an N elements long list and I would like to e...
F#: Extract the same length overlapping contiguous sublists from a list F#: Extract the same length overlapping contiguous sublists from a list f%23 list a Extract F#: Extract the same length overlapping contiguous sublists from a list In F# have an N elements long list and I would like to extract all possible M elemen...
[ 0.01129150390625, 0.006439208984375, 0.01019287109375, -0.006500244140625, -0.006927490234375, -0.01123046875, -0.00075531005859375, 0.00162506103515625, 0.01483154296875, -0.02734375, -0.0093994140625, -0.01025390625, 0.0048828125, 0.00994873046875, -0.020263671875, 0.01397705078125, ...
[ 563, 4904, 31501, 15390, 5701, 140909, 645, 143, 26783, 22832, 12282, 1614, 6562, 1295, 5303, 10821, 1238, 3949, 3742, 541, 80854, 4989, 1884, 47, 125663, 756, 7722, 276, 594, 4426, 27489, 100, 2203, 1031, 222530, 20594, 318, 184, 123309, ...
[ 0.1036376953125, 0.1695556640625, 0.193115234375, 0.0855712890625, 0.1087646484375, 0.122802734375, 0.1099853515625, 0.186279296875, 0.0848388671875, 0.09942626953125, 0.1414794921875, 0.17919921875, 0.2176513671875, 0.051055908203125, 0.1533203125, 0.0447998046875, 0.0679931640625, ...
embed
24478963_c0
24478963
fsharp
0
Title: Why is my F# function&#x27;s return type bool? Problem title: Why is my F# function&#x27;s return type bool? Tags: f%23, reflection Problem: Why is my F# function's return type bool? I am writing a function that takes a PropertyInfo object, fetches MyAttribute and returns a MyAttribute object: let getparamattrib...
Why is my F# function&#x27;s return type bool? Why is my F# function&#x27;s return type bool? f%23 reflection Why PropertyInfo p.GetCustomAttribute MyAttribute Why is my F# function's return type bool? I am writing a function that takes a PropertyInfo object, fetches MyAttribute and returns a MyAttribute object: Howeve...
[ -0.010498046875, -0.0006561279296875, 0.004608154296875, -0.01483154296875, 0.0014801025390625, 0.0040283203125, 0.00860595703125, -0.0103759765625, -0.006561279296875, -0.001983642578125, 0.0283203125, 0.00909423828125, -0.027587890625, 0.000492095947265625, 0.00384521484375, 0.007354...
[ 44084, 83, 759, 563, 4904, 32354, 3768, 30646, 10644, 142484, 1238, 3742, 44961, 1830, 206984, 93147, 915, 724, 126, 223, 5928, 28848, 191145, 2646, 32562, 51776, 36746, 7647, 33306, 9902, 45831, 237 ]
[ 0.12841796875, 0.06585693359375, 0.042572021484375, 0.1141357421875, 0.21630859375, 0.1546630859375, 0.06231689453125, 0.240478515625, 0.1817626953125, 0.196533203125, 0.055816650390625, 0.042266845703125, 0.1397705078125, 0.008636474609375, 0.146240234375, 0.1793212890625, 0.0126342...
embed
19384459_c1
19384459
fsharp
1
code I have I'm currently doing the "opposite" of this, returning the first successfull hit: // evaluates to Some 1 match List.tryFind ((=) 1) list with | Some x1 -> Some x1 | None -> match List.tryFind ((=) 2) list with | Some x2 -> Some x2 | None -> None // evaluates to Some 2 match List.tryFind ((=) 6) list with | ...
code I have I'm currently doing the "opposite" of this, returning the first successfull hit: // evaluates to Some 1 match List.tryFind ((=) 1) list with | Some x1 -> Some x1 | None -> match List.tryFind ((=) 2) list with | Some x2 -> Some x2 | None -> None // evaluates to Some 2 match List.tryFind ((=) 6) list with | ...
[ -0.0208740234375, 0.0289306640625, 0.0032958984375, -0.00408935546875, -0.00604248046875, 0.0145263671875, 0.020263671875, -0.00750732421875, 0.02880859375, -0.0361328125, 0.008056640625, 0.016845703125, -0.001251220703125, -0.002105712890625, 0.0220947265625, 0.0181884765625, -0.002...
[ 18151, 87, 765, 82424, 20594, 2146, 77087, 13, 903, 30646, 5117, 65771, 141, 5962, 151575, 90, 47, 31384, 106, 14858, 32036, 15123, 204582, 1369, 5303, 678, 1022, 418, 438, 304, 116, 35914, 58745, 2843, 7722, 54, 2667, 712, 26267, 181135,...
[ 0.19091796875, 0.012725830078125, 0.1004638671875, 0.060699462890625, 0.0723876953125, 0.150146484375, 0.181640625, 0.127685546875, 0.1282958984375, 0.156005859375, 0.0986328125, 0.18115234375, 0.05645751953125, 0.206298828125, 0.1851806640625, 0.0299072265625, 0.059783935546875, 0...
embed
5918534_c0
5918534
fsharp
0
Title: Why can&#x27;t I add a subfolder in a F# project? Problem title: Why can&#x27;t I add a subfolder in a F# project? Tags: f%23, visual-studio-2010 Problem: Why can't I add a subfolder in a F# project? In most .NET project I can use folder to organise the code files. In C++, I can't, but filters end up playing the...
Why can&#x27;t I add a subfolder in a F# project? Why can&#x27;t I add a subfolder in a F# project? f%23 visual-studio-2010 Why visual-studio-2010 Why can't I add a subfolder in a F# project? In most .NET project I can use folder to organise the code files. In C++, I can't, but filters end up playing the same role. How...
[ -0.0020751953125, 0.0247802734375, 0.006439208984375, -0.007080078125, -0.015625, -0.0047607421875, -0.0157470703125, 0.00103759765625, -0.019775390625, 0.01104736328125, -0.000888824462890625, -0.009765625, -0.01025390625, 0.0220947265625, -0.002716064453125, 0.00142669677734375, 0....
[ 44084, 831, 18, 15190, 1614, 42822, 56, 563, 4904, 13452, 1238, 21176, 52629, 73552, 17777, 4527, 78303, 131168, 18151, 102158, 37223, 46312, 7, 73372, 22968, 36404, 87769, 11435, 127887, 105237, 5402, 60213, 959, 19882, 24087, 113857, 5808, ...
[ 0.05230712890625, 0.0970458984375, 0.07196044921875, 0.135009765625, 0.207275390625, 0.202880859375, 0.1248779296875, 0.0921630859375, 0.175537109375, 0.10400390625, 0.0253143310546875, 0.132568359375, 0.1539306640625, 0.1591796875, 0.095458984375, 0.03497314453125, 0.170166015625, ...
embed
24673044_c0
24673044
fsharp
0
Title: Generating specflow stepdefinitions skeleton in f# instead of c# Problem title: Generating specflow stepdefinitions skeleton in f# instead of c# Tags: specflow, f%23 Problem: Generating specflow stepdefinitions skeleton in f# instead of c# I have been trying to generate f# step definition skeleton file using con...
Generating specflow stepdefinitions skeleton in f# instead of c# Generating specflow stepdefinitions skeleton in f# instead of c# specflow f%23 Generating Generating specflow stepdefinitions skeleton in f# instead of c# I have been trying to generate f# step definition skeleton file using context menu "Generate Step De...
[ 0.0016632080078125, 0.0079345703125, -0.00494384765625, -0.01068115234375, -0.01129150390625, 0.004302978515625, 0.0004711151123046875, -0.01123046875, 0.0157470703125, 0.00311279296875, -0.00469970703125, 0.001800537109375, -0.031494140625, 0.0284423828125, 0.029052734375, 0.007690429...
[ 155370, 1916, 48502, 118664, 29954, 49919, 5256, 182355, 191, 23, 1238, 4904, 64457, 501, 3742, 31577, 139392, 80934, 11435, 43701, 8026, 135932, 17957, 50478, 155455, 7, 4734, 3917, 14192, 38937, 12601, 2822, 46876, 2684, 2446, 26946, 7154, ...
[ 0.15087890625, 0.0178985595703125, 0.1654052734375, 0.238037109375, 0.21484375, 0.2005615234375, 0.0145263671875, 0.1771240234375, 0.091064453125, 0.06640625, 0.108642578125, 0.1861572265625, 0.116943359375, 0.063232421875, 0.09100341796875, 0.0247955322265625, 0.16748046875, 0.198...
embed
25232090_c0
25232090
fsharp
0
Title: Defining a type with a property that is an interface Problem title: Defining a type with a property that is an interface Tags: f%23 Problem: Defining a type with a property that is an interface I am looking for functional equivalence for the following C# code: public virtual ICollection<Dog> Dogs { get; set; } I...
Defining a type with a property that is an interface Defining a type with a property that is an interface f%23 Defining ICollection Dog Dogs self.DogID Defining a type with a property that is an interface I am looking for functional equivalence for the following C# code: I have been up and down SO and MSDN, to no avail...
[ 0.01251220703125, 0.006683349609375, -0.006500244140625, 0.003265380859375, -0.007049560546875, -0.00148773193359375, -0.01092529296875, 0.00799560546875, 0.002197265625, -0.00701904296875, -0.003509521484375, 0.0302734375, -0.0341796875, -0.00653076171875, 0.01171875, 0.028564453125, ...
[ 88606, 449, 10644, 678, 10, 57266, 450, 83, 142, 101758, 1238, 3949, 3742, 69010, 45878, 10763, 41129, 7, 15970, 397, 1663, 7146, 16487, 100, 123309, 224743, 3956, 25632, 313, 4904, 18151, 2809, 7565, 15969, 51671, 110, 12921, 64549, 183871...
[ 0.1875, 0.052520751953125, 0.275146484375, 0.146484375, 0.034912109375, 0.269287109375, 0.0904541015625, 0.1195068359375, 0.0816650390625, 0.305908203125, 0.060577392578125, 0.0276031494140625, 0.10260009765625, 0.06048583984375, 0.18505859375, 0.142333984375, 0.1690673828125, 0.05...
embed
26267601_c0
26267601
fsharp
0
Title: Can I pass a parameter to a F# FAKE build script? Problem title: Can I pass a parameter to a F# FAKE build script? Tags: f%23, f%23-fake Problem: Can I pass a parameter to a F# FAKE build script? I'm just getting started with FAKE. I really like the idea. In the tutorials the set the build and deploy directories...
Can I pass a parameter to a F# FAKE build script? Can I pass a parameter to a F# FAKE build script? f%23 f%23-fake Can FAKE Directories Can I pass a parameter to a F# FAKE build script? I'm just getting started with FAKE. I really like the idea. In the tutorials the set the build and deploy directories. and then later ...
[ -0.0032501220703125, 0.0390625, 0.00077056884765625, -0.000522613525390625, -0.002044677734375, -0.0191650390625, 0.00830078125, -0.0108642578125, 0.00494384765625, 0.005767822265625, -0.0024566650390625, 0.0186767578125, 0.0091552734375, 0.0213623046875, -0.00439453125, -0.00415039062...
[ 4171, 87, 27875, 10, 171859, 47, 563, 4904, 119960, 45367, 26499, 1238, 3742, 27495, 1021, 350, 31068, 3387, 26859, 6183, 1884, 6528, 57143, 5423, 13158, 14364, 91067, 5885, 83, 7722, 450, 237, 9598, 92, 4527 ]
[ 0.10009765625, 0.037506103515625, 0.157958984375, 0.08087158203125, 0.2486572265625, 0.0792236328125, 0.153076171875, 0.169921875, 0.224853515625, 0.166015625, 0.2236328125, 0.057525634765625, 0.04736328125, 0.001800537109375, 0.1617431640625, 0.1104736328125, 0.1221923828125, 0.07...
embed
42206977_c0
42206977
fsharp
0
Title: F# sort by indexes Problem title: F# sort by indexes Tags: f%23 Problem: F# sort by indexes Let's say I have two lists: let listOfValues = [100..105] //can be list of strings or whatever let indexesToSortBy = [1;2;0;4;5;3] Now I need listOfValues_sorted : 102;100;101;105;103;104 It can be done with zip and "conv...
F# sort by indexes F# sort by indexes f%23 listOfValues_sorted Seq.zip Seq.sortBy Seq.iter F# sort by indexes Let's say I have two lists: Now I need listOfValues_sorted : 102;100;101;105;103;104 It can be done with zip and "conversion" to Tuple: But I guess, there is better solution for that?
[ 0.007537841796875, 0.01513671875, -0.0035247802734375, 0.0123291015625, -0.03369140625, -0.01104736328125, -0.01129150390625, 0.0011749267578125, -0.0025177001953125, -0.002685546875, -0.0004138946533203125, 0.016845703125, -0.0111083984375, 0.02197265625, 0.003997802734375, -0.0209960...
[ 563, 4904, 12096, 390, 63262, 90, 1238, 3949, 3742, 5303, 132887, 42272, 21049, 62351, 297, 503, 864, 50836, 75358, 16840, 5154, 765, 6626, 7, 3871, 30669, 74, 3559, 35046, 46659, 63620, 66947, 831, 186, 16940, 68330, 46354, 58, 47, 1371,...
[ 0.14599609375, 0.2056884765625, 0.2181396484375, 0.10260009765625, 0.2073974609375, 0.0966796875, 0.080078125, 0.0161285400390625, 0.11328125, 0.189208984375, 0.1724853515625, 0.1689453125, 0.1390380859375, 0.2020263671875, 0.12158203125, 0.0179595947265625, 0.0740966796875, 0.1425...
embed
65741503_c1
65741503
fsharp
1
(R) F# Compiler version 11.0.0.0 for F# 5.0 Copyright (c) Microsoft Corporation. All Rights Reserved. error FS2008: Static linking may not include a mixed managed/unmanaged DLL What am I missing here? Code signals: a, Linking, Compiler, FSC, SDK_URL, download.visualstudio.microsoft.com, c9a5-466e-b72a-16f2f5ed00e2, do...
(R) F# Compiler version 11.0.0.0 for F# 5.0 Copyright (c) Microsoft Corporation. All Rights Reserved. error FS2008: Static linking may not include a mixed managed/unmanaged DLL What am I missing here? Code signals: a, Linking, Compiler, FSC, SDK_URL, download.visualstudio.microsoft.com, c9a5-466e-b72a-16f2f5ed00e2, do...
[ -0.00762939453125, 0.0167236328125, 0.0196533203125, 0.01153564453125, -0.006591796875, 0.00933837890625, -0.005126953125, -0.00244140625, -0.00469970703125, 0.00823974609375, -0.0120849609375, -0.0274658203125, 0.001617431640625, 0.026123046875, 0.021728515625, -0.006317138671875, 0...
[ 1052, 563, 4904, 15612, 34759, 11389, 106, 102107, 5, 99929, 103932, 4189, 238, 7244, 84829, 3164, 38927, 62713, 18499, 93774, 16396, 71465, 3126, 214, 1543, 959, 26698, 17664, 145755, 64, 309, 4707, 17704, 391, 23708, 132283, 3688, 28864, ...
[ 0.02972412109375, 0.1595458984375, 0.2447509765625, 0.1761474609375, 0.215087890625, 0.07696533203125, 0.0762939453125, 0.1842041015625, 0.0150604248046875, 0.1920166015625, 0.2042236328125, 0.17041015625, 0.0941162109375, 0.1439208984375, 0.127685546875, 0.0821533203125, 0.117431640...
embed
39517272_c0
39517272
fsharp
0
Title: F# indentation syntax for for printing Problem title: F# indentation syntax for for printing Tags: string, f%23, indentation Problem: F# indentation syntax for for printing I'm a bit confused concerning the f sharp indentation. If i have the string "foo bar", and i'd like to print only "foo" as an example. Using...
F# indentation syntax for for printing F# indentation syntax for for printing string f%23 indentation F# indentation syntax for for printing I'm a bit confused concerning the f sharp indentation. If i have the string "foo bar", and i'd like to print only "foo" as an example. Using indentation - how would i achieve this...
[ -0.000965118408203125, -0.01904296875, -0.004638671875, 0.0279541015625, -0.004913330078125, 0.00592041015625, 0.00238037109375, -0.0059814453125, 0.00433349609375, 0.0030364990234375, 0.021484375, -0.001953125, -0.0260009765625, 0.006683349609375, 0.00787353515625, -0.00469970703125, ...
[ 563, 4904, 18597, 22062, 6002, 86531, 100, 2448, 1916, 79315, 1238, 3949, 3742, 55681, 189173, 3584, 31, 1909, 1884, 28412, 4734, 237, 27781, 345, 69307, 15044, 34153, 37842, 4488, 129745 ]
[ 0.1622314453125, 0.1939697265625, 0.176513671875, 0.1357421875, 0.1173095703125, 0.1693115234375, 0.142333984375, 0.1632080078125, 0.086669921875, 0.1761474609375, 0.1724853515625, 0.042022705078125, 0.156005859375, 0.030242919921875, 0.20166015625, 0.1480712890625, 0.1773681640625, ...
embed
25511539_c0
25511539
fsharp
0
Title: Is there a way to use the F# interactive mode while debugging a C# program? Problem title: Is there a way to use the F# interactive mode while debugging a C# program? Tags: .net, visual-studio, f%23, f%23-interactive, c%23 Problem: Is there a way to use the F# interactive mode while debugging a C# program? When ...
Is there a way to use the F# interactive mode while debugging a C# program? Is there a way to use the F# interactive mode while debugging a C# program? .net visual-studio f%23 f%23-interactive c%23 Is there a way to use the F# interactive mode while debugging a C# program? When I'm debugging a C# program in Visual Stud...
[ -0.015869140625, -0.005279541015625, 0.0203857421875, 0.007537841796875, 0.003997802734375, 0.0103759765625, -0.00628662109375, 0.012451171875, 0.00396728515625, -0.039306640625, 0.007781982421875, 0.005462646484375, -0.001068115234375, -0.00946044921875, 0.0281982421875, 0.01055908203...
[ 3917, 4527, 563, 4904, 212398, 13736, 12960, 8, 978, 36659, 313, 1528, 2685, 10, 1179, 21176, 52629, 1238, 3742, 27495, 10433, 71232, 73372, 22968, 118066, 36356, 38496, 76329, 9069, 21130, 151575, 125195, 70820, 23468, 11675, 61799, 18151, 8...
[ 0.051544189453125, 0.101318359375, 0.126220703125, 0.212890625, 0.2132568359375, 0.1502685546875, 0.075927734375, 0.15234375, 0.2000732421875, 0.1156005859375, 0.052215576171875, 0.09710693359375, 0.009552001953125, 0.01031494140625, 0.0728759765625, 0.124755859375, 0.1474609375, 0...
embed
3822090_c0
3822090
fsharp
0
Title: Intellisense not working with F# script files Problem title: Intellisense not working with F# script files Tags: intellisense, f%23-interactive, f%23, f%23-scripting Problem: Intellisense not working with F# script files I'm using VS2008 SP1 and the August 2010 CTP for F# 2.0.0.0. Intellisense works for standard...
Intellisense not working with F# script files Intellisense not working with F# script files intellisense f%23-interactive f%23 f%23-scripting Intellisense Intellisense not working with F# script files I'm using VS2008 SP1 and the August 2010 CTP for F# 2.0.0.0. Intellisense works for standard F# files (.fs) but not for...
[ 0.005584716796875, -0.00186920166015625, 0.0036468505859375, 0.009521484375, -0.027587890625, 0.0054931640625, 0.005859375, -0.0012359619140625, -0.02587890625, 0.0267333984375, -0.0087890625, 0.01397705078125, -0.0135498046875, 0.0157470703125, 0.030029296875, 0.006378173828125, 0.0...
[ 30131, 27077, 184, 959, 20697, 678, 563, 4904, 26499, 102158, 892, 1238, 27495, 10433, 71232, 3742, 32032, 17368, 44160, 16396, 12047, 418, 136, 8055, 1532, 313, 23658, 16655, 99929, 43240, 100, 5570, 17447, 425, 28219, 442, 5608, 4488, 150...
[ 0.1854248046875, 0.222900390625, 0.1907958984375, 0.05828857421875, 0.1220703125, 0.1141357421875, 0.1339111328125, 0.20068359375, 0.1964111328125, 0.126708984375, 0.12744140625, 0.0704345703125, 0.0562744140625, 0.04705810546875, 0.012847900390625, 0.045623779296875, 0.1328125, 0....
embed
54843686_c0
54843686
fsharp
0
Title: Odd behavior in a recursive f# function Problem title: Odd behavior in a recursive f# function Tags: recursion, integer-overflow, f%23 Problem: Odd behavior in a recursive f# function I'm trying a naive recursive function in f#: let rec fact n = if n > 0 then n * fact (n - 1) else 1 For small arguments, it works...
Odd behavior in a recursive f# function Odd behavior in a recursive f# function recursion integer-overflow f%23 Odd Odd behavior in a recursive f# function I'm trying a naive recursive function in f#: For small arguments, it works fine, however, if you pass a big enough number, it fails in an odd way: I guess some sort...
[ -0.0029754638671875, 0.01104736328125, 0.01287841796875, -0.00174713134765625, 0.00933837890625, 0.004608154296875, 0.002197265625, -0.00152587890625, 0.0101318359375, 0.021240234375, 0.005828857421875, -0.005523681640625, -0.0118408203125, 0.006317138671875, 0.0361328125, -0.018554687...
[ 67948, 123166, 195625, 5844, 1238, 4904, 32354, 23, 1830, 892, 1505, 5465, 118664, 3949, 3742, 31577, 24, 1326, 19336, 10750, 7, 43240, 5885, 49903, 2174, 27875, 10, 6957, 20174, 14012, 35782, 70270, 3917, 57767, 12096, 645, 7730, 98, 5608,...
[ 0.19384765625, 0.1849365234375, 0.191650390625, 0.140625, 0.1202392578125, 0.1982421875, 0.1864013671875, 0.00921630859375, 0.05963134765625, 0.0950927734375, 0.08367919921875, 0.123779296875, 0.239990234375, 0.052398681640625, 0.1282958984375, 0.076416015625, 0.0662841796875, 0.00...
embed
30938880_c0
30938880
fsharp
0
Title: F# Circular Type Definition Loop Problem title: F# Circular Type Definition Loop Tags: class, definition, f%23, types Problem: F# Circular Type Definition Loop I want to have a type A which has a property which is an instance of type B. And type B has a property of an instance of type A. The problem is, F# reads...
F# Circular Type Definition Loop F# Circular Type Definition Loop class definition f%23 types Circular Type Definition Loop F# Circular Type Definition Loop I want to have a type A which has a property which is an instance of type B. And type B has a property of an instance of type A. The problem is, F# reads the sourc...
[ 0.0311279296875, -0.001251220703125, 0.0026092529296875, 0.04052734375, -0.00130462646484375, -0.0206298828125, -0.003936767578125, 0.009765625, -0.004913330078125, -0.01043701171875, -0.0033416748046875, 0.0128173828125, -0.007232666015625, 0.017333984375, 0.041015625, 0.0172119140625...
[ 563, 4904, 209449, 42, 60457, 155455, 199694, 18507, 80934, 1238, 3949, 3742, 52895, 3444, 765, 10644, 62, 1556, 57266, 110527, 335, 2967, 12301, 31344, 102158, 12989, 61924, 5117, 125296, 831, 3249, 111, 3917, 10932, 6494, 4331 ]
[ 0.1435546875, 0.2171630859375, 0.1898193359375, 0.052886962890625, 0.236572265625, 0.146240234375, 0.20458984375, 0.148193359375, 0.131103515625, 0.0947265625, 0.06280517578125, 0.1229248046875, 0.181640625, 0.0582275390625, 0.0165252685546875, 0.2069091796875, 0.10552978515625, 0....
embed
36659181_c0
36659181
fsharp
0
Title: FSLab template project gives an error when running Problem title: FSLab template project gives an error when running Tags: f%23, fslab Problem: FSLab template project gives an error when running FSLab template gives an error "The type provider 'RProvider.RProvider' reported an error: The type provider constructo...
FSLab template project gives an error when running FSLab template project gives an error when running f%23 fslab FSLab FSLab template project gives an error when running FSLab template gives an error "The type provider 'RProvider.RProvider' reported an error: The type provider constructor has thrown an exception: Faile...
[ 0.0201416015625, 0.0034027099609375, -0.009521484375, -0.0042724609375, -0.016845703125, -0.010009765625, 0.01495361328125, -0.004180908203125, -0.000743865966796875, -0.031982421875, 0.0013885498046875, -0.0115966796875, 0.0220947265625, -0.007232666015625, 0.0260009765625, 0.00976562...
[ 93774, 97381, 110934, 13452, 18499, 51042, 1238, 3949, 3742, 7, 6114, 10644, 81450, 38796, 83220, 820, 113771, 64549, 748, 104250, 131527, 190355, 4034, 70, 627, 17777, 10723, 28032, 387, 94131, 17368, 44160, 5357, 1478, 4488, 10932, 7735 ]
[ 0.196533203125, 0.28125, 0.262451171875, 0.1270751953125, 0.203857421875, 0.12744140625, 0.0804443359375, 0.0897216796875, 0.1956787109375, 0.039459228515625, 0.22412109375, 0.2052001953125, 0.2069091796875, 0.0257720947265625, 0.1497802734375, 0.1995849609375, 0.1068115234375, 0.1...
embed
55673153_c1
55673153
fsharp
1
am quite surprised at how awkward it is to use MongoDb from F#. Post Close Edit: This question is about how to accomplish the task in F#. The question linked to caters to some other language (probably mongo shell). Using those techniques (as far as I am aware) is not possible in F#. Code signals: BsonType, MongoDb, Ho...
am quite surprised at how awkward it is to use MongoDb from F#. Post Close Edit: This question is about how to accomplish the task in F#. The question linked to caters to some other language (probably mongo shell). Using those techniques (as far as I am aware) is not possible in F#. Code signals: BsonType, MongoDb, Ho...
[ 0.00160980224609375, -0.00604248046875, 0.005340576171875, -0.0108642578125, -0.0177001953125, -0.021728515625, -0.0196533203125, -0.0159912109375, -0.0196533203125, -0.0146484375, 0.0111083984375, 0.0341796875, 0.006561279296875, -0.00970458984375, 0.014892578125, -0.0189208984375, ...
[ 32233, 144285, 434, 92, 19364, 4527, 7465, 519, 397, 275, 1295, 563, 4904, 9655, 3642, 163846, 66211, 23, 3126, 377, 46876, 14896, 31, 128019, 345, 53088, 107419, 959, 7722, 28864, 26073, 335, 1681, 196707, 11249, 150, 2517, 23282, 126, 1...
[ 0.0231475830078125, 0.07281494140625, 0.04364013671875, 0.0565185546875, 0.0921630859375, 0.09918212890625, 0.156494140625, 0.2418212890625, 0.141845703125, 0.2232666015625, 0.0906982421875, 0.1444091796875, 0.2392578125, 0.020751953125, 0.04132080078125, 0.1448974609375, 0.190917968...
embed
66025919_c0
66025919
fsharp
0
Title: how to write decimal numbers as an atomic write in F#? Problem title: how to write decimal numbers as an atomic write in F#? Tags: decimal, f%23, multithreading Problem: how to write decimal numbers as an atomic write in F#? the decimal type takes 128 bits, so it is not naturally an atomic write. I tried: Interl...
how to write decimal numbers as an atomic write in F#? how to write decimal numbers as an atomic write in F#? decimal f%23 multithreading Interlocked.Exchange how to write decimal numbers as an atomic write in F#? the decimal type takes 128 bits, so it is not naturally an atomic write. I tried: but then I saw that deci...
[ -0.011962890625, -0.0185546875, -0.0020294189453125, 0.002716064453125, -0.007659912109375, 0.01507568359375, -0.004669189453125, 0.006561279296875, -0.0026092529296875, 0.0185546875, -0.007781982421875, 0.05908203125, 0.00299072265625, 0.00970458984375, 0.030517578125, 0.0133666992187...
[ 3642, 47, 33022, 32380, 2749, 101935, 237, 34627, 1771, 23, 563, 4904, 32, 1238, 3949, 3742, 3869, 65847, 5337, 21135, 297, 19279, 152028, 142, 10644, 51776, 26560, 4785, 959, 6083, 37842, 83, 2831, 8060, 52895, 678, 56776, 1543, 10176, 9...
[ 0.08941650390625, 0.0799560546875, 0.20947265625, 0.2152099609375, 0.17236328125, 0.17041015625, 0.110107421875, 0.1785888671875, 0.1058349609375, 0.068115234375, 0.135986328125, 0.204345703125, 0.009796142578125, 0.12255859375, 0.068115234375, 0.165771484375, 0.0458984375, 0.06726...
embed
45260047_c0
45260047
fsharp
0
Title: Overriding ToString and `%A` specifier Problem title: Overriding ToString and `%A` specifier Tags: printf, nullreferenceexception, f%23 Problem: Overriding ToString and `%A` specifier If a override ToString in a type type TestMe ()= override __.ToString() = null and then I output it through the "%A" specifier pr...
Overriding ToString and `%A` specifier Overriding ToString and `%A` specifier printf nullreferenceexception f%23 System.NullReferenceException Overriding ToString TestMe __.ToString Overriding ToString and `%A` specifier If a override ToString in a type and then I output it through the "%A" specifier why does it throw ...
[ 0.007659912109375, 0.0206298828125, 0.0301513671875, 0.0390625, -0.00469970703125, -0.0093994140625, 0.0296630859375, 0.001983642578125, 0.0111083984375, 0.0179443359375, -0.0022125244140625, 0.00135040283203125, 0.0198974609375, -0.00168609619140625, 0.039306640625, -0.00946044921875,...
[ 9578, 416, 6238, 717, 71713, 214, 136, 3949, 284, 58735, 56, 1135, 28412, 420, 56574, 239879, 3355, 63928, 1238, 3742, 12353, 18444, 1181, 4332, 69988, 19279, 8647, 6696, 7763, 645, 112, 10644, 140992, 8305, 15400, 104250, 84751, 68991, 428...
[ 0.08544921875, 0.1744384765625, 0.0274200439453125, 0.213134765625, 0.2020263671875, 0.099365234375, 0.088623046875, 0.1141357421875, 0.1475830078125, 0.216552734375, 0.06988525390625, 0.01251220703125, 0.14892578125, 0.04107666015625, 0.168701171875, 0.271484375, 0.06658935546875, ...
embed
49470319_c0
49470319
fsharp
0
Title: How does one specify a list type in a function parameter? Problem title: How does one specify a list type in a function parameter? Tags: f%23 Problem: How does one specify a list type in a function parameter? I have a function that takes two lists and generates a Cartesian product. let cartesian xs ys = xs |> Li...
How does one specify a list type in a function parameter? How does one specify a list type in a function parameter? f%23 How List.collect List.map How does one specify a list type in a function parameter? I have a function that takes two lists and generates a Cartesian product. My problem is I am passing two lists of t...
[ -0.0024566650390625, 0.00836181640625, -0.005584716796875, 0.010009765625, -0.02099609375, 0.000698089599609375, -0.005523681640625, -0.0145263671875, 0.00836181640625, 0, 0.0014801025390625, -0.0185546875, -0.01409912109375, 0.01348876953125, -0.0167236328125, -0.002044677734375, 0....
[ 11249, 1632, 40140, 18929, 5303, 10644, 23, 32354, 171859, 1238, 3742, 32036, 196352, 62346, 14602, 51776, 6626, 139392, 106274, 39209, 12996, 2967, 452, 360, 18, 13307, 18499, 70, 41206, 6460, 143726, 5423 ]
[ 0.0975341796875, 0.041046142578125, 0.21826171875, 0.1514892578125, 0.2178955078125, 0.24072265625, 0.0655517578125, 0.1832275390625, 0.2166748046875, 0.0227813720703125, 0.0703125, 0.1839599609375, 0.2156982421875, 0.129638671875, 0.0144500732421875, 0.013671875, 0.0714111328125, ...
embed
24398601_c0
24398601
fsharp
0
Title: What would be the inferred type of my function here? Problem title: What would be the inferred type of my function here? Tags: f%23 Problem: What would be the inferred type of my function here? I am wondering why F# compiler allows the following type MyMath() = member this.Add a b = a + b What would be the type ...
What would be the inferred type of my function here? What would be the inferred type of my function here? f%23 What MyMath this.Add What would be the inferred type of my function here? I am wondering why F# compiler allows the following What would be the type of Add method and its arguments ? If I compiled this into th...
[ 0.00124359130859375, -0.0059814453125, 0.0030670166015625, 0.0186767578125, -0.0103759765625, 0.028564453125, 0.00115203857421875, 0.00823974609375, -0.0166015625, -0.0233154296875, 0.0191650390625, -0.020751953125, -0.0113525390625, 0.012939453125, 0.00482177734375, -0.01220703125, ...
[ 4865, 2806, 186, 53498, 2822, 10644, 111, 759, 32354, 3688, 1238, 3949, 3742, 2646, 199450, 903, 284, 4028, 149016, 15400, 563, 4904, 9969, 34759, 114864, 25632, 29117, 55300, 136, 10750, 375, 5974, 3934, 103835, 9790, 4527, 313, 52895, 412...
[ 0.0487060546875, 0.1219482421875, 0.04974365234375, 0.2041015625, 0.1639404296875, 0.2142333984375, 0.06170654296875, 0.0789794921875, 0.1732177734375, 0.097412109375, 0.0897216796875, 0.0029296875, 0.1240234375, 0.1346435546875, 0.236572265625, 0.11767578125, 0.07666015625, 0.1665...
embed
4401217_c0
4401217
fsharp
0
Title: F# library expected to behave like C# when consumed Problem title: F# library expected to behave like C# when consumed Tags: c%23, f%23 Problem: F# library expected to behave like C# when consumed I'm developing a library in F# for consumption by another team using C#. What things should I look out for knowing t...
F# library expected to behave like C# when consumed F# library expected to behave like C# when consumed c%23 f%23 F# library expected to behave like C# when consumed I'm developing a library in F# for consumption by another team using C#. What things should I look out for knowing that this other team expects this libra...
[ 0.01171875, 0.00225830078125, 0.00054168701171875, 0.004669189453125, -0.00738525390625, -0.0133056640625, -0.004119873046875, 0.006561279296875, 0.008056640625, 0.0230712890625, 0.0042724609375, 0.00665283203125, -0.0047607421875, 0.01446533203125, 0.0024566650390625, -0.0003967285156...
[ 563, 4904, 35773, 1294, 84751, 186, 68991, 1884, 313, 3229, 18588, 3742, 1238, 168698, 100, 254, 15700, 7175, 17368, 8966, 5608, 6713, 1810, 141956, 3789, 41206, 87, 4527, 152448, 52895, 3871, 96760, 47, 56574, 172554, 7722, 149307, 58555, ...
[ 0.1405029296875, 0.2369384765625, 0.1925048828125, 0.12255859375, 0.160400390625, 0.0284271240234375, 0.1375732421875, 0.12890625, 0.0814208984375, 0.037506103515625, 0.177978515625, 0.038299560546875, 0.055633544921875, 0.0919189453125, 0.025909423828125, 0.0213470458984375, 0.04235...
embed
21866224_c0
21866224
fsharp
0
Title: Generic function signatures Problem title: Generic function signatures Tags: f%23 Problem: Generic function signatures I'm endeavouring to port a C# app to F# and I have this interface: public interface ISerializer { string ContentType { get; } string Serialize(object value); T Deserialize<T>(string value); } So...
Generic function signatures Generic function signatures f%23 Generic ISerializer ContentType Serialize Deserialize Serializer Object Generic function signatures I'm endeavouring to port a C# app to F# and I have this interface: So I'd like to define a type like this: But I can't. What's the functional way here?
[ 0.0059814453125, 0.002685546875, -0.00115203857421875, -0.020751953125, -0.0125732421875, -0.0135498046875, -0.0361328125, -0.006072998046875, -0.00075531005859375, 0.0062255859375, 0.002655029296875, 0.00848388671875, -0.005340576171875, -0.00148773193359375, -0.007293701171875, 0.012...
[ 88342, 1771, 32354, 138256, 7, 1238, 3949, 3742, 15744, 25435, 150, 4383, 70870, 196707, 135188, 20650, 5581, 119066, 52825, 134549, 87, 28117, 141775, 11469, 313, 4904, 4027, 47, 563, 903, 101758, 1884, 61924, 10644, 4966, 831, 18, 123309, ...
[ 0.1800537109375, 0.08087158203125, 0.2330322265625, 0.25537109375, 0.047149658203125, 0.0986328125, 0.09100341796875, 0.1556396484375, 0.0225830078125, 0.1453857421875, 0.05267333984375, 0.1318359375, 0.171875, 0.2108154296875, 0.1710205078125, 0.07672119140625, 0.09765625, 0.09558...
embed
30625887_c0
30625887
fsharp
0
Title: How to replace an element of a string at a given index Problem title: How to replace an element of a string at a given index Tags: f%23 Problem: How to replace an element of a string at a given index string s = "foo.bar" s[s.LastIndexOf(".")] = "-" It sounds dead simple in c-like languages, but drives me nuts in...
How to replace an element of a string at a given index How to replace an element of a string at a given index f%23 How foo.bar s.LastIndexOf StringBuilder sb.ToString How to replace an element of a string at a given index It sounds dead simple in c-like languages, but drives me nuts in F# my code: Is there more elegant...
[ -0.01190185546875, 0.01361083984375, -0.022705078125, 0.0128173828125, -0.0223388671875, -0.01806640625, -0.0174560546875, -0.00762939453125, 0.003875732421875, 0.0034942626953125, 0.02099609375, -0.00506591796875, -0.0166015625, -0.00836181640625, 0.004913330078125, -0.0194091796875, ...
[ 11249, 47, 91995, 142, 12830, 111, 79315, 99, 34475, 63262, 1238, 3949, 3742, 5775, 31, 1299, 91, 2729, 271, 4153, 39659, 132887, 23351, 214, 121137, 56, 275, 7763, 71713, 10, 102678, 103494, 8781, 501, 5062, 46876, 4, 22648, 163, 315, ...
[ 0.0863037109375, 0.0877685546875, 0.2301025390625, 0.024871826171875, 0.2198486328125, 0.0811767578125, 0.25341796875, 0.16748046875, 0.1505126953125, 0.24462890625, 0.10430908203125, 0.00421142578125, 0.1507568359375, 0.101318359375, 0.1123046875, 0.1492919921875, 0.0548095703125, ...
embed
64939283_c0
64939283
fsharp
0
Title: F# - A period in a union case name Problem title: F# - A period in a union case name Tags: f%23 Problem: F# - A period in a union case name I want to have a union case name like the following type PrimaryDiagnosisSite = | ``C00.0 - External upper lip`` Unfortunately, the compiler complains about the period in th...
F# - A period in a union case name F# - A period in a union case name f%23 PrimaryDiagnosisSite C00.0 External Invalid F# - A period in a union case name I want to have a union case name like the following Unfortunately, the compiler complains about the period in the name: I'd like to keep the period in the union case ...
[ 0.01123046875, 0.03955078125, 0.00007724761962890625, -0.00750732421875, -0.01470947265625, -0.0185546875, -0.0036468505859375, 0.006500244140625, -0.015625, -0.016357421875, 0.0093994140625, 0.023681640625, 0.01287841796875, -0.00714111328125, -0.0120849609375, 0.005859375, -0.00230...
[ 563, 4904, 20, 62, 14922, 23, 10, 69941, 7225, 9351, 1238, 3949, 3742, 19012, 128198, 1486, 313, 2389, 99929, 141070, 7013, 3444, 765, 1884, 70, 25632, 185397, 9969, 34759, 186992, 7, 1672, 71, 47, 13695, 2174, 7722, 22027, 18, 9790, 14...
[ 0.139404296875, 0.2431640625, 0.04119873046875, 0.1151123046875, 0.286865234375, 0.112548828125, 0.035614013671875, 0.2479248046875, 0.2176513671875, 0.1785888671875, 0.09320068359375, 0.041290283203125, 0.131591796875, 0.080322265625, 0.15625, 0.05267333984375, 0.001312255859375, ...
embed
27445029_c0
27445029
fsharp
0
Title: F# csv type provider auto capitalize first letter of column names? Problem title: F# csv type provider auto capitalize first letter of column names? Tags: f%23, type-providers Problem: F# csv type provider auto capitalize first letter of column names? Just now I upgraded my F# CSV provder, the column names are a...
F# csv type provider auto capitalize first letter of column names? F# csv type provider auto capitalize first letter of column names? f%23 type-providers F# csv type provider auto capitalize first letter of column names? Just now I upgraded my F# CSV provder, the column names are all broken. It seems to me it is due to...
[ -0.000820159912109375, -0.0036773681640625, 0.009521484375, 0.033447265625, -0.01300048828125, 0.01495361328125, 0.00927734375, 0.01043701171875, -0.009521484375, 0.02880859375, -0.018798828125, 0.00823974609375, -0.0004405975341796875, 0.01123046875, 0.01397705078125, -0.0306396484375...
[ 563, 4904, 20763, 334, 10644, 81450, 1809, 10323, 20650, 5117, 31330, 111, 3365, 316, 19, 123055, 32, 1238, 3949, 3742, 93136, 116086, 313, 43486, 24355, 820, 621, 756, 148431, 37202, 83, 4743, 101089, 96760, 29367, 11389, 26484, 116987, 15...
[ 0.12060546875, 0.21826171875, 0.103759765625, 0.1732177734375, 0.1387939453125, 0.1754150390625, 0.17333984375, 0.1669921875, 0.025115966796875, 0.1138916015625, 0.16015625, 0.04840087890625, 0.1168212890625, 0.1383056640625, 0.04339599609375, 0.1556396484375, 0.013702392578125, 0....
embed
45066220_c0
45066220
fsharp
0
Title: Share code in F# Azure Functions project Problem title: Share code in F# Azure Functions project Tags: azure-functions, f%23, azure Problem: Share code in F# Azure Functions project I'm currently developing F# Azure functions uinsg VS Code and I've laid out my project as such: ProjectFolder -> Function1 -> funct...
Share code in F# Azure Functions project Share code in F# Azure Functions project azure-functions f%23 azure Share Azure Functions ProjectFolder Function1 function.json run.fsx Function2 Share code in F# Azure Functions project I'm currently developing F# Azure functions uinsg VS Code and I've laid out my project as su...
[ -0.00396728515625, 0.0038909912109375, -0.0115966796875, 0.02587890625, -0.0213623046875, -0.0185546875, 0.01116943359375, -0.00164794921875, 0.004180908203125, 0.006622314453125, 0.0019683837890625, 0.0198974609375, 0.00173187255859375, 0.0281982421875, 0.016357421875, 0.021484375, ...
[ 29790, 18151, 23, 563, 4904, 176071, 28670, 10763, 13452, 295, 3408, 137175, 1238, 3949, 3742, 27331, 27591, 31178, 418, 32354, 170, 1681, 11675, 17447, 425, 304, 82424, 168698, 75, 5425, 177, 44160, 28864, 21, 1810, 22027, 18, 8060, 78303,...
[ 0.2135009765625, 0.2318115234375, 0.029937744140625, 0.132568359375, 0.214111328125, 0.2335205078125, 0.176513671875, 0.1181640625, 0.1241455078125, 0.09222412109375, 0.15185546875, 0.174560546875, 0.08551025390625, 0.03271484375, 0.1129150390625, 0.09869384765625, 0.03277587890625, ...
embed