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
32255014_c1
32255014
fsharp
1
) -> obj>) as this = inherit BaseClass() // this is not optimal <@@ this :> BaseClass @@> doesn't work let baseClinst = new BaseClass() let bexpr = <@@ baseClinst @@> let overrideExpr = expression let baseTy = typeof<BaseClass> let mthd = baseTy.GetMethod("PreStart") override this.PreStart() = let baseMthd = Expr.Call(...
) -> obj>) as this = inherit BaseClass() // this is not optimal <@@ this :> BaseClass @@> doesn't work let baseClinst = new BaseClass() let bexpr = <@@ baseClinst @@> let overrideExpr = expression let baseTy = typeof<BaseClass> let mthd = baseTy.GetMethod("PreStart") override this.PreStart() = let baseMthd = Expr.Call(...
[ 0.0026092529296875, 0.013427734375, 0.004180908203125, 0.00555419921875, 0.0181884765625, -0.012451171875, 0.017578125, -0.020263671875, 0.0123291015625, -0.03076171875, -0.022705078125, 0.03125, 0.01153564453125, 0.00173187255859375, 0.0089111328125, -0.0194091796875, 0.009460449218...
[ 1388, 33079, 995, 170, 2740, 237, 903, 2203, 23, 3334, 217, 44978, 140803, 132, 4666, 959, 24087, 128277, 22027, 18, 4488, 2633, 3647, 2397, 271, 3525, 186, 425, 10287, 645, 416, 112, 19279, 125195, 618, 53, 10644, 63473, 927, 71, 724, ...
[ 0.05218505859375, 0.0640869140625, 0.162353515625, 0.1998291015625, 0.059173583984375, 0.05316162109375, 0.1505126953125, 0.05120849609375, 0.058685302734375, 0.1832275390625, 0.08038330078125, 0.2332763671875, 0.301513671875, 0.0753173828125, 0.01312255859375, 0.044952392578125, 0.1...
embed
26986469_c0
26986469
fsharp
0
Title: Is there a more functional way to add n elements to the beginning of a list? Problem title: Is there a more functional way to add n elements to the beginning of a list? Tags: f%23 Problem: Is there a more functional way to add n elements to the beginning of a list? I have a function that receives an integer and ...
Is there a more functional way to add n elements to the beginning of a list? Is there a more functional way to add n elements to the beginning of a list? f%23 DecimalToBase2 n:int Convert.ToString Seq.map Seq.toList DToB DecToBase2 xx.Length Is there a more functional way to add n elements to the beginning of a list? I...
[ 0.0045166015625, 0.0086669921875, 0.0027313232421875, 0.00099945068359375, -0.003753662109375, 0.00982666015625, 0.0020599365234375, -0.0147705078125, 0.0111083984375, -0.035888671875, 0.006988525390625, 0.0042724609375, 0.008056640625, 0.02197265625, 0.0113525390625, -0.010498046875, ...
[ 1286, 123309, 3917, 15190, 653, 80854, 47, 86595, 111, 5303, 2685, 1238, 3742, 49132, 2749, 7763, 63473, 304, 4288, 11549, 71713, 864, 62346, 188, 154663, 571, 25755, 113664, 449, 10, 70, 32354, 53299, 892, 1505, 30646, 2394, 6635, 14012, ...
[ 0.1273193359375, 0.1959228515625, 0.09197998046875, 0.15283203125, 0.1912841796875, 0.215087890625, 0.07183837890625, 0.1917724609375, 0.07208251953125, 0.2230224609375, 0.0207366943359375, 0.03765869140625, 0.1351318359375, 0.1053466796875, 0.079833984375, 0.1126708984375, 0.0925292...
embed
20342038_c0
20342038
fsharp
0
Title: how to get start and end index of all groups in a sequence Problem title: how to get start and end index of all groups in a sequence Tags: f%23, functional-programming Problem: how to get start and end index of all groups in a sequence I have an array of bools grouped like : [|true; false; true; true; true; fals...
how to get start and end index of all groups in a sequence how to get start and end index of all groups in a sequence f%23 functional-programming r:bool Array.append Seq.unfold Some i-1 Seq.take f.Length Seq.filter Seq.pairwise Seq.mapi None Seq.choose Array.ofSeq how to get start and end index of all groups in a seque...
[ -0.0155029296875, 0.024658203125, -0.00244140625, 0.0064697265625, -0.0086669921875, -0.0028228759765625, 0.004638671875, 0.01611328125, 0.0267333984375, -0.01513671875, 0.005645751953125, 0.038818359375, -0.00848388671875, 0.025634765625, 0.01055908203125, 0.011962890625, 0.00653076...
[ 3642, 2046, 4034, 136, 3564, 63262, 111, 756, 94407, 23, 40, 944, 3956, 1238, 3742, 123309, 28966, 1690, 142484, 69253, 53, 864, 42822, 5759, 503, 78219, 120337, 90825, 1434, 4390, 10298, 37769, 1884, 3444, 136044, 148390, 29568, 29806, 662...
[ 0.04376220703125, 0.0911865234375, 0.1575927734375, 0.132568359375, 0.1881103515625, 0.2486572265625, 0.0789794921875, 0.1114501953125, 0.224853515625, 0.03570556640625, 0.063720703125, 0.1351318359375, 0.0775146484375, 0.007171630859375, 0.09326171875, 0.1229248046875, 0.07885742187...
embed
63299451_c0
63299451
fsharp
0
Title: Using third party React Components with Fable/Elmish Problem title: Using third party React Components with Fable/Elmish Tags: reactjs, fable-f%23, f%23, carbon-design-system, elmish Problem: Using third party React Components with Fable/Elmish I'm trying to integrate Carbon Design System - React SDK in a Fable/...
Using third party React Components with Fable/Elmish Using third party React Components with Fable/Elmish reactjs fable-f%23 f%23 carbon-design-system elmish Using React Components Fable Elmish shared.d.ts Using third party React Components with Fable/Elmish I'm trying to integrate Carbon Design System - React SDK in a...
[ 0.00567626953125, -0.007171630859375, 0.0137939453125, -0.0086669921875, 0.01031494140625, -0.0003376007080078125, -0.0018310546875, 0.00750732421875, 0.0031280517578125, -0.013427734375, -0.01458740234375, -0.003326416015625, -0.0036468505859375, 0.026611328125, 0.01348876953125, 0.00...
[ 345, 50960, 19085, 853, 47013, 3288, 54137, 7, 678, 563, 2886, 7623, 78192, 131300, 28175, 1071, 2661, 3742, 44603, 34198, 16751, 88, 540, 99764, 933, 31577, 78779, 131263, 11724, 12353, 45461, 38415, 28282, 57266, 10644, 80934, 57767, 11907,...
[ 0.08905029296875, 0.1444091796875, 0.1029052734375, 0.0914306640625, 0.2144775390625, 0.05908203125, 0.1658935546875, 0.013916015625, 0.051513671875, 0.1055908203125, 0.1865234375, 0.1162109375, 0.231689453125, 0.146728515625, 0.1142578125, 0.0775146484375, 0.108642578125, 0.053924...
embed
75216758_c0
75216758
fsharp
0
Title: What happens after an F# Async.RunSynchronously is cancelled? Problem title: What happens after an F# Async.RunSynchronously is cancelled? Tags: f%23 Problem: What happens after an F# Async.RunSynchronously is cancelled? Given an fsharp program like: [<EntryPoint>] let main argv = use cancel = new CancellationTo...
What happens after an F# Async.RunSynchronously is cancelled? What happens after an F# Async.RunSynchronously is cancelled? f%23 What Async.RunSynchronously EntryPoint CancellationTokenSource Console.CancelKeyPress.Add cancel.Cancel Async.Sleep Finished cancel.Token FSharp.Core.dll Microsoft.FSharp.Control.FSharpAsync....
[ 0.00787353515625, 0.018798828125, 0.0145263671875, -0.01300048828125, -0.0086669921875, -0.00335693359375, 0.01531982421875, -0.002655029296875, -0.0001773834228515625, -0.0218505859375, -0.01080322265625, 0.0064697265625, -0.0250244140625, -0.015625, 0.0166015625, 0.003753662109375, ...
[ 4865, 96276, 7103, 563, 4904, 12654, 238, 163321, 217835, 127, 1900, 79850, 83, 53017, 6259, 1238, 3742, 15123, 147534, 80392, 1098, 211235, 40777, 54694, 8969, 162429, 94753, 133, 4517, 13316, 164, 5252, 93774, 3467, 50886, 1181, 7244, 17590...
[ 0.030670166015625, 0.129638671875, 0.146484375, 0.072509765625, 0.1624755859375, 0.2015380859375, 0.11767578125, 0.08428955078125, 0.10498046875, 0.059967041015625, 0.132568359375, 0.13232421875, 0.05908203125, 0.2021484375, 0.1307373046875, 0.0909423828125, 0.043670654296875, 0.08...
embed
16639565_c1
16639565
fsharp
1
; self.people = ko.observableArray([]); self.getPeople = function () { var url = "getPeopleMeta"; var jqXhr = $.ajax({ url: url, type: 'GET', cache: false, 'data':self.config }); jqXhr.done(function (data) { console.log(data); console.log(data.persons); self.people(data.persons); ko.applyBindings(self, document.getElem...
; self.people = ko.observableArray([]); self.getPeople = function () { var url = "getPeopleMeta"; var jqXhr = $.ajax({ url: url, type: 'GET', cache: false, 'data':self.config }); jqXhr.done(function (data) { console.log(data); console.log(data.persons); self.people(data.persons); ko.applyBindings(self, document.getElem...
[ -0.0223388671875, 0.0341796875, -0.005401611328125, 0.0225830078125, -0.0189208984375, -0.0076904296875, 0.004791259765625, 0.0240478515625, -0.000347137451171875, -0.06982421875, 0.0235595703125, 0.0062255859375, -0.0054931640625, 0.00811767578125, 0.0135498046875, -0.001617431640625,...
[ 2819, 15970, 223354, 2203, 298, 141331, 2661, 7614, 7092, 268, 3794, 243238, 32354, 16, 285, 25002, 6696, 102, 56128, 1647, 864, 1542, 4097, 3650, 5, 8949, 425, 132, 24854, 6, 4, 10644, 79794, 25, 82365, 12, 98320, 10135, 39379, 153837, ...
[ 0.0248870849609375, 0.1890869140625, 0.2432861328125, 0.043731689453125, 0.145751953125, 0.19873046875, 0.1676025390625, 0.0830078125, 0.1917724609375, 0.0029296875, 0.152587890625, 0.26220703125, 0.171630859375, 0.0050048828125, 0.047760009765625, 0.1575927734375, 0.2017822265625, ...
embed
1605397_c0
1605397
fsharp
0
Title: F# tail.Head plus lists Problem title: F# tail.Head plus lists Tags: list, f%23 Problem: F# tail.Head plus lists I am trying to write some F# code for manipulating polynomials, as part of that I want to combine duplicate elements of a list into a single element here is the relevant code: type PolynomialElem(Coef...
F# tail.Head plus lists F# tail.Head plus lists list f%23 tail.Head PolynomialElem Coeff Power x.Coeff x.Power inlist:list outlist:list head.Power tail.Head.Power head.Coeff tail.Head.Coeff tail.Tail F# tail.Head plus lists I am trying to write some F# code for manipulating polynomials, as part of that I want to combin...
[ 0.01129150390625, 0.024169921875, 0.01116943359375, 0.001556396484375, -0.006317138671875, 0.003509521484375, -0.006744384765625, -0.00970458984375, 0.005279541015625, -0.01519775390625, 0.0147705078125, 0.023193359375, 0.0272216796875, -0.00035858154296875, -0.007415771484375, 0.00108...
[ 563, 4904, 46741, 13025, 712, 1001, 5303, 1238, 3949, 3742, 63306, 1687, 15403, 7623, 195, 1311, 68053, 17170, 1022, 10625, 105022, 23, 6562, 1810, 10336, 9874, 379, 31577, 33022, 18151, 45258, 35874, 3444, 70163, 171763, 67, 80854, 3934, 1...
[ 0.136474609375, 0.1689453125, 0.233154296875, 0.135009765625, 0.139404296875, 0.161376953125, 0.19970703125, 0.08251953125, 0.01544189453125, 0.1048583984375, 0.0994873046875, 0.0933837890625, 0.07666015625, 0.0286407470703125, 0.04754638671875, 0.05615234375, 0.1776123046875, 0.14...
embed
17768349_c0
17768349
fsharp
0
Title: FParsec - parser sequences Problem title: FParsec - parser sequences Tags: fparsec, parsing, f%23 Problem: FParsec - parser sequences Say I have some text: a = "foobarbaz" b = "foobar" c = "foo" d = "rubbish" e = "foobazbar" and three parsers foo, bar, and baz for the strings 'foo', 'bar' and 'baz' respectively....
FParsec - parser sequences FParsec - parser sequences fparsec parsing f%23 FParsec pipe2 Seq.of2 pipe3 Seq.of3 Seq.map Seq.of1 Seq.ofx FParsec - parser sequences Say I have some text: and three parsers foo, bar, and baz for the strings 'foo', 'bar' and 'baz' respectively. How would I create a parser that would give me ...
[ 0.004241943359375, 0.0145263671875, -0.0299072265625, 0.03173828125, -0.0211181640625, 0.0166015625, -0.00909423828125, -0.01123046875, 0.00640869140625, -0.0203857421875, -0.017822265625, 0.030517578125, -0.000720977783203125, 0.0257568359375, -0.004119873046875, 0.0031280517578125, ...
[ 563, 28636, 39797, 366, 2189, 40, 26513, 1238, 2500, 3742, 137158, 304, 864, 4390, 363, 62346, 425, 5170, 25916, 765, 7986, 17262, 7, 1314, 5775, 31, 1909, 16627, 100, 79315, 3584, 1299, 40300, 11249, 2806, 87, 28282, 10, 8337, 163, 503...
[ 0.1190185546875, 0.169677734375, 0.2376708984375, 0.1990966796875, 0.2232666015625, 0.0389404296875, 0.1539306640625, 0.1187744140625, 0.1624755859375, 0.11181640625, 0.11669921875, 0.036712646484375, 0.132568359375, 0.0704345703125, 0.03753662109375, 0.03466796875, 0.01007080078125,...
embed
73291475_c1
73291475
fsharp
1
Access to the path '/mnt/c/DumpStack.log.tmp' is denied. // BenchmarkDotNet has failed to build the auto-generated boilerplate code. // It can be found in /mnt/c/data/dev/fsharp-lab/Stylish-FSharp6/bin/release/net6.0/c456e559-bdf2-4a24-858d-b423379f42c9 // Please follow the troubleshooting guide: https://benchmarkdotn...
Access to the path '/mnt/c/DumpStack.log.tmp' is denied. // BenchmarkDotNet has failed to build the auto-generated boilerplate code. // It can be found in /mnt/c/data/dev/fsharp-lab/Stylish-FSharp6/bin/release/net6.0/c456e559-bdf2-4a24-858d-b423379f42c9 // Please follow the troubleshooting guide: https://benchmarkdotn...
[ 0.0021820068359375, 0.0262451171875, -0.007354736328125, -0.0098876953125, 0.0111083984375, 0.00173187255859375, 0.00164794921875, -0.051513671875, -0.0203857421875, -0.0103759765625, 0.0011749267578125, 0.037109375, 0.00946044921875, 0.0035552978515625, 0.00408935546875, -0.0087280273...
[ 40266, 47, 60875, 660, 238, 17726, 2676, 42378, 2594, 4867, 18, 8, 93, 297, 3419, 206, 10015, 8331, 24447, 165523, 45367, 1809, 48281, 337, 34759, 92558, 18151, 14037, 18548, 420, 89280, 6114, 939, 15227, 36381, 3467, 254, 910, 7568, 2337...
[ 0.1954345703125, 0.056884765625, 0.2108154296875, 0.091796875, 0.003692626953125, 0.16455078125, 0.222900390625, 0.1220703125, 0.1121826171875, 0.2080078125, 0.060821533203125, 0.1422119140625, 0.183837890625, 0.059417724609375, 0.1427001953125, 0.1568603515625, 0.13671875, 0.10107...
embed
54668094_c0
54668094
fsharp
0
Title: Is F# Type Provider SQL loading all the Database in VS? Problem title: Is F# Type Provider SQL loading all the Database in VS? Tags: type-providers, f%23 Problem: Is F# Type Provider SQL loading all the Database in VS? I am using FSharp.Data.Sql to access via the Type Provider to a MSSQL database. No problem wit...
Is F# Type Provider SQL loading all the Database in VS? Is F# Type Provider SQL loading all the Database in VS? type-providers f%23 Type Provider SQL Database Literal Data Source XXXX Initial Catalog User XXX Password SqlDataProvider ConnectionString DatabaseVendor Common.DatabaseProviderTypes.MSSQLSERVER IndividualsAm...
[ 0.0303955078125, 0.00897216796875, -0.01116943359375, 0.0010223388671875, -0.01202392578125, 0.005096435546875, -0.0091552734375, -0.006866455078125, -0.01312255859375, -0.05908203125, 0.0103759765625, -0.0164794921875, 0.00250244140625, -0.00799560546875, -0.0086669921875, 0.003387451...
[ 2071, 563, 4904, 60457, 123089, 42, 80866, 72367, 214, 756, 187781, 23, 44160, 10644, 93136, 14202, 1238, 3742, 135940, 11809, 77641, 205378, 150917, 53400, 44585, 170461, 99247, 177997, 62160, 85512, 151301, 37382, 196707, 158897, 116808, 154966...
[ 0.015472412109375, 0.0836181640625, 0.181884765625, 0.207275390625, 0.177001953125, 0.09954833984375, 0.20947265625, 0.1400146484375, 0.046783447265625, 0.10687255859375, 0.15673828125, 0.06719970703125, 0.2138671875, 0.1572265625, 0.1572265625, 0.07073974609375, 0.064697265625, 0....
embed
42469637_c1
42469637
fsharp
1
~ 5 minutes for the fsharpi prompt to return. I'm on a linux system, F# v4.1 on mono v4.6.1. Here is the code for the CsvProvider let [<Literal>] SEP = "|" let [<Literal>] CULTURE = "sv-SE" let [<Literal>] DATAFILE = dataroot + "all_diagnoses.csv" type DiagnosesProvider = CsvProvider<DATAFILE, Separators=SEP, Culture=...
~ 5 minutes for the fsharpi prompt to return. I'm on a linux system, F# v4.1 on mono v4.6.1. Here is the code for the CsvProvider let [<Literal>] SEP = "|" let [<Literal>] CULTURE = "sv-SE" let [<Literal>] DATAFILE = dataroot + "all_diagnoses.csv" type DiagnosesProvider = CsvProvider<DATAFILE, Separators=SEP, Culture=...
[ 0.015869140625, 0.00970458984375, 0.01531982421875, 0.01348876953125, 0.000514984130859375, -0.0208740234375, -0.0036163330078125, 0.01348876953125, -0.0162353515625, -0.041015625, -0.00994873046875, 0.0010833740234375, -0.0028839111328125, 0.0022735595703125, -0.005706787109375, 0.005...
[ 6780, 190, 14633, 100, 1238, 89280, 1434, 105876, 47, 30646, 11508, 6077, 5426, 563, 4904, 120518, 22460, 115459, 22892, 18151, 313, 67756, 177997, 62160, 2633, 720, 141034, 143255, 165471, 9127, 28247, 2053, 148920, 5584, 47099, 4439, 334, 1...
[ 0.0638427734375, 0.1630859375, 0.2196044921875, 0.0614013671875, 0.10986328125, 0.1837158203125, 0.266845703125, 0.249755859375, 0.01031494140625, 0.2001953125, 0.10205078125, 0.13818359375, 0.119873046875, 0.12451171875, 0.18994140625, 0.170654296875, 0.205078125, 0.171142578125, ...
embed
30062579_c0
30062579
fsharp
0
Title: F# updating a cached list Problem title: F# updating a cached list Tags: caching, f%23 Problem: F# updating a cached list Currently I'm teaching myself some F# and do so working on an (dumb) application that reads and updates customers that are stored in a database. Each customer has a property 'customer type', ...
F# updating a cached list F# updating a cached list caching f%23 SomeDbFunction Seq.map SomeMappingFunction Seq.cache F# updating a cached list Currently I'm teaching myself some F# and do so working on an (dumb) application that reads and updates customers that are stored in a database. Each customer has a property 'c...
[ 0.01806640625, 0.01458740234375, 0.02197265625, -0.00030517578125, 0.01385498046875, 0.00119781494140625, -0.01324462890625, 0.0203857421875, 0.01031494140625, -0.015869140625, 0.000324249267578125, 0.0216064453125, 0.01611328125, -0.003692626953125, 0.015869140625, 0.01226806640625, ...
[ 563, 4904, 1257, 56464, 82365, 71, 5303, 10, 377, 59207, 1238, 3949, 3742, 31384, 275, 97249, 503, 864, 62346, 4613, 26783, 408, 128169, 20697, 10863, 38415, 12301, 114419, 59463, 4343, 63399, 98423, 43373, 57266, 11680, 5928, 10644, 84797, ...
[ 0.149169921875, 0.222900390625, 0.14111328125, 0.06707763671875, 0.26806640625, 0.1036376953125, 0.1895751953125, 0.0293426513671875, 0.16748046875, 0.05804443359375, 0.0963134765625, 0.0195159912109375, 0.0736083984375, 0.03082275390625, 0.010833740234375, 0.0748291015625, 0.0280456...
embed
43924970_c0
43924970
fsharp
0
Title: F# Binary Tree Insert type Error Problem title: F# Binary Tree Insert type Error Tags: binary-tree, f%23 Problem: F# Binary Tree Insert type Error I'm working on a simple BST implementation in F# and have hit a stumbling block that I can't find my way around. This code: type BST = | Empty | TreeNode of int * BST...
F# Binary Tree Insert type Error F# Binary Tree Insert type Error binary-tree f%23 Binary Tree Insert Error BST Empty TreeNode FS0001 F# Binary Tree Insert type Error I'm working on a simple BST implementation in F# and have hit a stumbling block that I can't find my way around. This code: Results in the following erro...
[ -0.004180908203125, -0.01263427734375, 0.005645751953125, -0.01422119140625, 0.02392578125, 0.0042724609375, -0.0419921875, -0.034423828125, -0.0113525390625, -0.0159912109375, -0.0033721923828125, -0.0162353515625, -0.00031280517578125, -0.007110595703125, 0.021484375, 0.0109252929687...
[ 563, 4904, 54092, 1294, 101344, 360, 33657, 10644, 212059, 2394, 6635, 62600, 1238, 3742, 335, 8545, 31678, 939, 5021, 93774, 188735, 20697, 8781, 208124, 79298, 46389, 7413, 18151, 146104, 25632, 18499, 130078, 15005, 6097, 6626, 124519, 19562...
[ 0.131591796875, 0.198974609375, 0.1922607421875, 0.0819091796875, 0.231201171875, 0.07354736328125, 0.2083740234375, 0.1502685546875, 0.134033203125, 0.1517333984375, 0.0667724609375, 0.187255859375, 0.06781005859375, 0.116455078125, 0.046356201171875, 0.162353515625, 0.123291015625,...
embed
75900935_c0
75900935
fsharp
0
Title: F# Add multiple constructor overloads that call the base class constructor Problem title: F# Add multiple constructor overloads that call the base class constructor Tags: f%23, constructor, inheritance, constructor-overloading Problem: F# Add multiple constructor overloads that call the base class constructor I'...
F# Add multiple constructor overloads that call the base class constructor F# Add multiple constructor overloads that call the base class constructor f%23 constructor inheritance constructor-overloading Add StructuralDictionary Key Value Dictionary IEquatable IDictionary IEqualityComparer key:equality dictionary:IDicti...
[ 0.0037689208984375, 0.0185546875, -0.025634765625, -0.00970458984375, 0.004241943359375, -0.008544921875, -0.0096435546875, -0.0115966796875, 0.00101470947265625, 0.006866455078125, -0.000820159912109375, -0.002471923828125, 0.00897216796875, 0.0164794921875, 0, 0.0115966796875, -0.0...
[ 563, 4904, 29117, 48716, 64549, 748, 645, 63033, 11782, 3647, 18507, 1238, 3742, 3334, 5465, 63667, 73317, 10763, 26824, 190060, 147638, 75536, 90065, 2886, 11338, 14, 161789, 108161, 147, 22799, 28282, 45, 118990, 27875, 8305, 40368, 6635, 6...
[ 0.1243896484375, 0.1964111328125, 0.07318115234375, 0.16943359375, 0.1470947265625, 0.0877685546875, 0.0968017578125, 0.17919921875, 0.054901123046875, 0.143798828125, 0.1224365234375, 0.0307464599609375, 0.06793212890625, 0.060302734375, 0.08526611328125, 0.08465576171875, 0.1108398...
embed
45367752_c0
45367752
fsharp
0
Title: F# update list in multiple threads at same time Problem title: F# update list in multiple threads at same time Tags: multithreading, f%23 Problem: F# update list in multiple threads at same time I am new to F# so maybe the solution can be clear to someone, but I can not find it. Imagine a game world of world chu...
F# update list in multiple threads at same time F# update list in multiple threads at same time multithreading f%23 F# update list in multiple threads at same time I am new to F# so maybe the solution can be clear to someone, but I can not find it. Imagine a game world of world chunks (similar to Minecraft), but for mo...
[ -0.01123046875, 0.0081787109375, 0.011962890625, -0.00811767578125, -0.016845703125, -0.006011962890625, -0.0031890869140625, 0.0037384033203125, 0.00107574462890625, -0.004852294921875, 0.0201416015625, 0.03564453125, 0.007049560546875, -0.02197265625, -0.004180908203125, -0.004272460...
[ 563, 4904, 28350, 5303, 23, 48716, 86997, 5701, 3869, 65847, 11, 6238, 1238, 3949, 3742, 1733, 29806, 34735, 133196, 6712, 8999, 111, 7839, 1224, 62318, 47, 214548, 1284, 100, 1286, 92865, 154453, 46876, 1884, 313, 37223, 79, 330, 831, 28...
[ 0.179443359375, 0.244384765625, 0.223388671875, 0.198486328125, 0.043182373046875, 0.1925048828125, 0.2222900390625, 0.1285400390625, 0.146240234375, 0.17041015625, 0.026763916015625, 0.0185089111328125, 0.13623046875, 0.044036865234375, 0.1458740234375, 0.05584716796875, 0.107116699...
embed
13113355_c0
13113355
fsharp
0
Title: Array.map2 type inference on records Problem title: Array.map2 type inference on records Tags: f%23 Problem: Array.map2 type inference on records I ran into something with Array.map2 that I don't understand. Consider this code: type r1 = { v1 : int X : int } type r2 = { v1 : int Y : int } let a1 = [|{v1=1; X=1};...
Array.map2 type inference on records Array.map2 type inference on records f%23 Array.map2 x1.X x2.Y x1.v1 x2.v1 FS0001 Type Expecting x1:r1 Array.map2 type inference on records I ran into something with Array.map2 that I don't understand. Consider this code: Both records have a field v1 . In the last line, I try to get...
[ -0.01324462890625, -0.0059814453125, -0.00141143798828125, 0.0390625, 0.0038604736328125, 0.006317138671875, -0.021484375, 0.0162353515625, 0.0152587890625, 0.011962890625, 0.0157470703125, 0.0213623046875, 0.0167236328125, -0.01153564453125, 0.01153564453125, -0.0179443359375, 0.004...
[ 69253, 53, 62346, 304, 10644, 53498, 6620, 98, 115923, 1238, 3742, 418, 1542, 5442, 1723, 334, 93774, 188735, 60457, 60075, 24762, 82825, 28219, 18151, 149766, 44457, 81, 4568, 13315, 9790, 2046, 370, 8705, 142424, 1295, 12921, 17164, 52895, ...
[ 0.124755859375, 0.11181640625, 0.1422119140625, 0.192626953125, 0.2001953125, 0.2161865234375, 0.0579833984375, 0.028076171875, 0.1859130859375, 0.009918212890625, 0.0391845703125, 0.07452392578125, 0.03729248046875, 0.08734130859375, 0.0171966552734375, 0.0322265625, 0.0437622070312...
embed
11074227_c0
11074227
fsharp
0
Title: Inconsistent processing of generic ParamArray argument in F# Problem title: Inconsistent processing of generic ParamArray argument in F# Tags: f%23, .net Problem: Inconsistent processing of generic ParamArray argument in F# Being spotted in context of this question this seemingly inconsistent behavior can be rep...
Inconsistent processing of generic ParamArray argument in F# Inconsistent processing of generic ParamArray argument in F# f%23 .net Inconsistent ParamArray Heterogeneous Echo Object Generic Heterogeneous.Echo Generic.Echo OOPS Inconsistent processing of generic ParamArray argument in F# Being spotted in context of this...
[ 0.0013885498046875, -0.009033203125, 0.000324249267578125, 0.001220703125, -0.005126953125, -0.004486083984375, -0.0034027099609375, -0.01239013671875, 0.0130615234375, 0.0218505859375, -0.0001125335693359375, -0.03515625, 0.01263427734375, -0.0263671875, 0.0155029296875, -0.0179443359...
[ 360, 25553, 6892, 9433, 189534, 1720, 39, 7614, 7092, 10750, 563, 4904, 1238, 3742, 1179, 1947, 4036, 15292, 3089, 134549, 88342, 180, 188165, 23, 13162, 123166, 42238, 73011, 132265, 81135, 70166, 173340, 73342, 139999, 54608, 60213, 169935, ...
[ 0.031158447265625, 0.1259765625, 0.1859130859375, 0.144287109375, 0.2335205078125, 0.140869140625, 0.09197998046875, 0.15234375, 0.2098388671875, 0.1968994140625, 0.1370849609375, 0.2025146484375, 0.0689697265625, 0.1162109375, 0.1007080078125, 0.0616455078125, 0.06884765625, 0.125...
embed
54493529_c0
54493529
fsharp
0
Title: How to redirect standard and error output in F# Problem title: How to redirect standard and error output in F# Tags: f%23 Problem: How to redirect standard and error output in F# I'm trying to redirect standard and error output in F# let RunProcess (processInfo : ProcessStartInfo) = let str = StringBuilder() pro...
How to redirect standard and error output in F# How to redirect standard and error output in F# f%23 processInfo.RedirectStandardError How RunProcess ProcessStartInfo StringBuilder processInfo.UseShellExecute processInfo.RedirectStandardOutput Process p.StartInfo p.OutputDataReceived.Add str.Append x.Data Environment.N...
[ 0.010009765625, 0.002471923828125, -0.006591796875, 0.01007080078125, -0.0216064453125, -0.01068115234375, -0.00004291534423828125, -0.0263671875, -0.0048828125, 0.00927734375, 0.0029144287109375, 0.01361083984375, 0.0301513671875, 0.014404296875, 0.0274658203125, 0.0076904296875, 0....
[ 11249, 47, 456, 80581, 5570, 136, 18499, 140992, 23, 563, 4904, 1238, 3742, 9433, 93147, 4332, 191769, 18468, 28398, 10752, 26531, 123996, 126597, 23351, 121137, 79544, 211603, 79858, 7077, 137989, 4028, 7704, 1022, 686, 1900, 93232, 31345, 6...
[ 0.0430908203125, 0.03271484375, 0.13916015625, 0.2410888671875, 0.198486328125, 0.1585693359375, 0.2098388671875, 0.217529296875, 0.0404052734375, 0.1455078125, 0.2161865234375, 0.0909423828125, 0.111572265625, 0.0849609375, 0.151611328125, 0.07952880859375, 0.163330078125, 0.12084...
embed
35050960_c0
35050960
fsharp
0
Title: Slice/Group a sequence of equal chars in F# Problem title: Slice/Group a sequence of equal chars in F# Tags: functional-programming, f%23 Problem: Slice/Group a sequence of equal chars in F# I need to extract the sequence of equal chars in a text. For example: The string "aaaBbbcccccccDaBBBzcc11211" should be co...
Slice/Group a sequence of equal chars in F# Slice/Group a sequence of equal chars in F# functional-programming f%23 Slice Group aaaBbbcccccccDaBBBzcc11211 BBB text:string System.String Array.ofList List.ofSeq Seq.iter Slice/Group a sequence of equal chars in F# I need to extract the sequence of equal chars in a text. F...
[ 0.021728515625, 0.0057373046875, 0.00457763671875, 0.0269775390625, 0.0079345703125, -0.0072021484375, 0.0076904296875, 0.01165771484375, 0.00433349609375, -0.00848388671875, -0.0093994140625, 0.03173828125, -0.017333984375, 0.0120849609375, 0.000301361083984375, 0.0145263671875, -0....
[ 159, 13348, 64, 205072, 40, 944, 3956, 105950, 21441, 7, 563, 4904, 123309, 28966, 1238, 3742, 10760, 10, 10060, 88438, 1662, 22312, 7986, 91693, 12353, 71713, 69253, 4390, 154663, 32036, 864, 16840, 3871, 125663, 23, 79315, 84022, 5125, 56...
[ 0.0391845703125, 0.2086181640625, 0.1068115234375, 0.2095947265625, 0.0285491943359375, 0.12548828125, 0.0587158203125, 0.2259521484375, 0.1865234375, 0.0543212890625, 0.1168212890625, 0.1875, 0.1363525390625, 0.07672119140625, 0.02349853515625, 0.0755615234375, 0.208740234375, 0.0...
embed
77640119_c0
77640119
fsharp
0
Title: Remove the duplication of code which is exactly the same for two discrete types in F# Problem title: Remove the duplication of code which is exactly the same for two discrete types in F# Tags: f%23, docx, code-duplication, types Problem: Remove the duplication of code which is exactly the same for two discrete t...
Remove the duplication of code which is exactly the same for two discrete types in F# Remove the duplication of code which is exactly the same for two discrete types in F# f%23 docx code-duplication types Remove Remove the duplication of code which is exactly the same for two discrete types in F# I have a discrete unio...
[ -0.0152587890625, -0.01513671875, -0.00165557861328125, 0.00408935546875, -0.00927734375, -0.0208740234375, -0.013671875, -0.0025634765625, 0.00872802734375, -0.021484375, -0.003387451171875, 0.0361328125, 0.00933837890625, -0.0087890625, -0.018310546875, 0.00689697265625, 0.01409912...
[ 181139, 115, 182867, 111, 18151, 66161, 5701, 6626, 81604, 13, 52895, 563, 4904, 100, 1238, 3742, 51584, 425, 693, 23, 69941, 22543, 11935, 25500, 56, 29048, 239469, 80743, 618, 2886, 6796, 60042, 29458, 32354, 12638, 10644, 61687, 14858, 1...
[ 0.132080078125, 0.157958984375, 0.205322265625, 0.058929443359375, 0.1895751953125, 0.1220703125, 0.1624755859375, 0.167236328125, 0.1888427734375, 0.042633056640625, 0.1907958984375, 0.128662109375, 0.1956787109375, 0.0372314453125, 0.04095458984375, 0.07879638671875, 0.065979003906...
embed
27849604_c0
27849604
fsharp
0
Title: how to override tostring on built in collection Problem title: how to override tostring on built in collection Tags: f%23 Problem: how to override tostring on built in collection How do I override tostring function on a built in collection such as map or sequence such that printfn will use this new custom tostri...
how to override tostring on built in collection how to override tostring on built in collection f%23 xs.Tostring System.Int32 this.FromString System.Int32.Parse Repeat xs.RepeatElements how to override tostring on built in collection How do I override tostring function on a built in collection such as map or sequence s...
[ 0.007781982421875, 0.029052734375, 0.01287841796875, 0.023681640625, -0.01434326171875, -0.0167236328125, 0.0035400390625, 0.01531982421875, 0.00933837890625, -0.0133056640625, -0.005279541015625, 0.0020751953125, 0.0084228515625, 0.008544921875, 0.00396728515625, -0.0084228515625, 0...
[ 3642, 47, 645, 416, 112, 91693, 98, 88303, 23, 42486, 1238, 3742, 1022, 7, 7763, 12353, 18, 6460, 903, 168407, 71713, 214, 28636, 33742, 13, 1081, 19929, 32354, 22288, 944, 28412, 14783, 4527, 3525, 114122, 18499, 50986, 1563, 105160, 14,...
[ 0.0628662109375, 0.197998046875, 0.1387939453125, 0.200927734375, 0.1395263671875, 0.30908203125, 0.1064453125, 0.18408203125, 0.15771484375, 0.243408203125, 0.0594482421875, 0.1309814453125, 0.0660400390625, 0.010162353515625, 0.1448974609375, 0.0904541015625, 0.035430908203125, 0...
embed
47697022_c1
47697022
fsharp
1
specific overload. If F# did the same, this would not be a problem. Why can't F# select the most specific overload? Can anything be done to avoid the wrapper type in this specific situation? Edit: As requested in the comments, here's non-compiling code that shows what I ideally would like, but doesn't work. module Asy...
specific overload. If F# did the same, this would not be a problem. Why can't F# select the most specific overload? Can anything be done to avoid the wrapper type in this specific situation? Edit: As requested in the comments, here's non-compiling code that shows what I ideally would like, but doesn't work. module Asy...
[ -0.02099609375, 0.0167236328125, 0.00872802734375, -0.04541015625, 0.00089263916015625, 0.01153564453125, -0.00555419921875, -0.0361328125, 0.020751953125, 0.0019683837890625, -0.007171630859375, -0.0093994140625, -0.00872802734375, 0.004913330078125, 0.01318359375, -0.00909423828125, ...
[ 29458, 645, 63033, 563, 4904, 5701, 959, 2967, 44084, 831, 18, 36849, 70, 2684, 16940, 71864, 137565, 1264, 10644, 16648, 351, 58875, 49725, 18151, 6397, 2806, 1884, 22027, 4488, 88996, 62, 12654, 238, 4332, 7, 7136, 2633, 60520, 1022, 30...
[ 0.2412109375, 0.1439208984375, 0.252197265625, 0.0872802734375, 0.2086181640625, 0.0196990966796875, 0.003875732421875, 0.058013916015625, 0.1007080078125, 0.064208984375, 0.058013916015625, 0.154296875, 0.00115966796875, 0.1019287109375, 0.044189453125, 0.07232666015625, 0.131103515...
embed
50287997_c1
50287997
fsharp
1
page starts getting handled by the MissingPage handler. which I can understand since the home page is set to match "/" and the not pattern is matching "/" wildcard, although I would have expected the single / to have matched the Home endpoint and anything else other than /Login /About and /Logout to have match the Not...
page starts getting handled by the MissingPage handler. which I can understand since the home page is set to match "/" and the not pattern is matching "/" wildcard, although I would have expected the single / to have matched the Home endpoint and anything else other than /Login /About and /Logout to have match the Not...
[ -0.01422119140625, 0.029296875, 0.009033203125, -0.004974365234375, -0.0118408203125, 0.016845703125, 0.0220947265625, -0.003662109375, 0.0211181640625, -0.017578125, 0.005828857421875, -0.00640869140625, 0.005706787109375, 0.012939453125, 0.00537109375, -0.005645751953125, 0.0068969...
[ 9191, 4034, 34831, 16771, 214, 147101, 35863, 831, 28219, 5368, 5423, 14858, 64, 959, 103510, 56409, 38931, 84751, 11001, 248, 2005, 3564, 38496, 113972, 73, 24988, 6056, 11205, 27591, 7030, 32845, 206, 123019, 26785, 11249, 2046, 4460, 5584,...
[ 0.1910400390625, 0.04327392578125, 0.151611328125, 0.1627197265625, 0.1435546875, 0.250732421875, 0.2464599609375, 0.0146026611328125, 0.1395263671875, 0.130126953125, 0.0882568359375, 0.1285400390625, 0.1170654296875, 0.205078125, 0.2254638671875, 0.128662109375, 0.2254638671875, ...
embed
25575311_c0
25575311
fsharp
0
Title: Quartz.Net F# code run in script but not in main Problem title: Quartz.Net F# code run in script but not in main Tags: f%23, quartz.net Problem: Quartz.Net F# code run in script but not in main I have put the code on Quartz from http://fssnip.net/ec into a F# source file in VS 2013. But I put the last line in to...
Quartz.Net F# code run in script but not in main Quartz.Net F# code run in script but not in main f%23 quartz.net Quartz.Net scheduler.ScheduleJob Job IJob x.Execute IJobExecutionContext Console.WriteLine DateTime.Now Quartz.Net F# code run in script but not in main I have put the code on Quartz from http://fssnip.net/...
[ 0.0024871826171875, 0.0211181640625, -0.010498046875, 0.00384521484375, -0.017578125, -0.0196533203125, 0.006805419921875, 0.00421142578125, -0.00787353515625, -0.0301513671875, -0.025634765625, 0.0296630859375, -0.014892578125, -0.010986328125, 0.0247802734375, -0.0014495849609375, ...
[ 48772, 169, 24447, 563, 4904, 18151, 11675, 23, 26499, 1284, 959, 5201, 1238, 3949, 3742, 70801, 1179, 80889, 42, 15246, 194802, 32664, 87, 1022, 211603, 22829, 40777, 93232, 70059, 137594, 17447, 93, 254, 3240, 3934, 31344, 11435, 44160, 1...
[ 0.24365234375, 0.168212890625, 0.1395263671875, 0.087646484375, 0.177490234375, 0.1748046875, 0.094970703125, 0.087158203125, 0.219482421875, 0.033203125, 0.1055908203125, 0.1190185546875, 0.07073974609375, 0.037261962890625, 0.123779296875, 0.1746826171875, 0.1015625, 0.1405029296...
embed
6390665_c0
6390665
fsharp
0
Title: Hesitating between C/C++, OCaml, and F# for my compiler Problem title: Hesitating between C/C++, OCaml, and F# for my compiler Tags: c, c%2B%2B, f%23, llvm, ocaml Problem: Hesitating between C/C++, OCaml, and F# for my compiler I want to start working on a little compiler and to build it I am hesitating between ...
Hesitating between C/C++, OCaml, and F# for my compiler Hesitating between C/C++, OCaml, and F# for my compiler c c%2B%2B f%23 llvm ocaml Hesitating OCaml Hesitating between C/C++, OCaml, and F# for my compiler I want to start working on a little compiler and to build it I am hesitating between several different langua...
[ -0.00830078125, -0.0074462890625, 0.00787353515625, 0.010498046875, 0.00732421875, -0.00439453125, 0.01470947265625, -0.0181884765625, -0.00020599365234375, -0.0263671875, -0.00439453125, -0.00933837890625, -0.000850677490234375, 0.002532958984375, 0.018798828125, -0.017333984375, -0...
[ 1529, 6084, 26518, 17721, 313, 64, 441, 37223, 180, 105272, 141, 563, 4904, 100, 9969, 34759, 501, 571, 3742, 3723, 39, 36, 9779, 3444, 47, 4034, 20697, 98, 10, 10176, 45367, 764, 40368, 12921, 46876, 7, 96679, 621, 8781, 4, 186, 1904...
[ 0.0892333984375, 0.11767578125, 0.0399169921875, 0.0909423828125, 0.12353515625, 0.1282958984375, 0.060211181640625, 0.27490234375, 0.1202392578125, 0.2186279296875, 0.197998046875, 0.1318359375, 0.218994140625, 0.000640869140625, 0.1683349609375, 0.1754150390625, 0.0489501953125, ...
embed
25848604_c1
25848604
fsharp
1
to mean that the struct does not have any instance fields. But the code as written is testing whether the struct does have any instance fields, which for most structs, including mine, is going to be true. I think the last part of the final test is whether there are any generic type parameters. So requiresExtraField is...
to mean that the struct does not have any instance fields. But the code as written is testing whether the struct does have any instance fields, which for most structs, including mine, is going to be true. I think the last part of the final test is whether there are any generic type parameters. So requiresExtraField is...
[ -0.015625, 0.013671875, 0.01495361328125, 0.01348876953125, -0.0162353515625, 0.00026702880859375, 0.0289306640625, -0.00848388671875, 0.0247802734375, 0.05712890625, -0.00148773193359375, -0.00439453125, 0.01190185546875, -0.0068359375, 0.02490234375, -0.0147705078125, 0.03100585937...
[ 36716, 959, 765, 2499, 110527, 44457, 18151, 59121, 134234, 36766, 2684, 5665, 29568, 4568, 2704, 3034, 189534, 10644, 171859, 144570, 19279, 1517, 6159, 19388, 98320, 62, 10869, 335, 79446, 9969, 34759, 54608, 26785, 60042, 903, 5953, 10863, ...
[ 0.221435546875, 0.043548583984375, 0.020843505859375, 0.03326416015625, 0.2177734375, 0.2342529296875, 0.1533203125, 0.00994873046875, 0.155517578125, 0.01300048828125, 0.010467529296875, 0.011627197265625, 0.1009521484375, 0.06097412109375, 0.078369140625, 0.1568603515625, 0.1779785...
embed
18243494_c0
18243494
fsharp
0
Title: Use a function with an argument of a derived type (F#) Problem title: Use a function with an argument of a derived type (F#) Tags: upcasting, inheritance, f%23, code-reuse, casting Problem: Use a function with an argument of a derived type (F#) I've got a class in my application - for simplicity let's assume it'...
Use a function with an argument of a derived type (F#) Use a function with an argument of a derived type (F#) upcasting inheritance f%23 code-reuse casting Use this.A this.B Use a function with an argument of a derived type (F#) I've got a class in my application - for simplicity let's assume it's defined like this: Al...
[ 0.01336669921875, 0.00494384765625, 0.016357421875, -0.011474609375, -0.0054931640625, -0.01361083984375, -0.01611328125, 0.0234375, 0.006744384765625, -0.03515625, -0.0146484375, -0.0024566650390625, 0.019775390625, 0.015869140625, -0.00982666015625, -0.030029296875, 0.0090942382812...
[ 36836, 32354, 678, 142, 10750, 111, 16406, 4126, 10644, 919, 4904, 1257, 55741, 214, 23, 3334, 217, 7154, 1238, 3742, 18151, 107, 4032, 176050, 903, 284, 571, 10, 4163, 18507, 38415, 134381, 41591, 61924, 1884, 5915, 5646, 36746, 237, 102...
[ 0.1317138671875, 0.2386474609375, 0.139892578125, 0.049072265625, 0.26123046875, 0.03326416015625, 0.1651611328125, 0.1400146484375, 0.175048828125, 0.0911865234375, 0.1824951171875, 0.1192626953125, 0.169189453125, 0.035369873046875, 0.0841064453125, 0.1444091796875, 0.0618896484375...
embed
35706117_c0
35706117
fsharp
0
Title: Reflecting C# types in F# Problem title: Reflecting C# types in F# Tags: reflection, f%23, c%23 Problem: Reflecting C# types in F# I've loaded a C# dll in a Fsi session. Running C# methods returns some C# types. I've written a helper function to explore the Properties for a given C# type. The program is failing ...
Reflecting C# types in F# Reflecting C# types in F# reflection f%23 c%23 Reflecting FS0039 RuntimePropertyInfo System.Type Seq.map t:System.Reflection.RuntimePropertyInfo t.Name GetProperties TypeName s.GetProperties Array.map x.Name Array.iter Reflecting C# types in F# I've loaded a C# dll in a Fsi session. Running C#...
[ 0.006256103515625, 0.007476806640625, 0.01611328125, 0.01611328125, -0.01434326171875, -0.003082275390625, -0.00372314453125, -0.004241943359375, -0.009521484375, 0.00970458984375, -0.00299072265625, 0.0286865234375, -0.034423828125, 0.0034637451171875, -0.0028839111328125, 0.029052734...
[ 53295, 8996, 1916, 313, 4904, 52895, 23, 563, 44961, 1830, 1238, 3742, 93774, 9323, 1264, 93147, 12353, 196707, 864, 62346, 84293, 190015, 133, 6032, 20779, 10752, 60457, 163612, 126, 69253, 16840, 72367, 81717, 172, 56002, 150624, 30646, 435...
[ 0.192626953125, 0.216796875, 0.035400390625, 0.0550537109375, 0.2177734375, 0.2218017578125, 0.044158935546875, 0.12548828125, 0.2437744140625, 0.05242919921875, 0.0279388427734375, 0.050140380859375, 0.064208984375, 0.0960693359375, 0.16796875, 0.0572509765625, 0.016387939453125, ...
embed
8533323_c0
8533323
fsharp
0
Title: Parsing an optionally-multi-line expression with FParsec Problem title: Parsing an optionally-multi-line expression with FParsec Tags: fparsec, f%23 Problem: Parsing an optionally-multi-line expression with FParsec I'm writing an FParsec parser for strings in this form: do[ n times]([ action] | \n([action]\n)*en...
Parsing an optionally-multi-line expression with FParsec Parsing an optionally-multi-line expression with FParsec fparsec f%23 Parsing FParsec spaces1 pint32 tuple2 Parsing an optionally-multi-line expression with FParsec I'm writing an FParsec parser for strings in this form: in other words this is a "do" statement wi...
[ -0.004913330078125, -0.0028839111328125, -0.01251220703125, 0.013427734375, -0.03515625, 0.010986328125, 0.01324462890625, -0.01318359375, 0.016845703125, -0.0003566741943359375, 0.0103759765625, 0.0240478515625, -0.00762939453125, 0.01226806640625, -0.01214599609375, 0.01220703125, ...
[ 2392, 6953, 35829, 25958, 144227, 2256, 125195, 563, 28636, 39797, 1238, 2500, 3949, 3742, 32628, 6520, 6460, 370, 8705, 304, 32562, 366, 2189, 100, 79315, 3173, 903, 246, 63805, 678, 1733, 55230, 85789, 11001, 44713, 5303, 41581, 98, 3525,...
[ 0.148681640625, 0.01263427734375, 0.1690673828125, 0.07562255859375, 0.12255859375, 0.155029296875, 0.2252197265625, 0.1153564453125, 0.149658203125, 0.21875, 0.072265625, 0.1192626953125, 0.03179931640625, 0.135009765625, 0.1328125, 0.049041748046875, 0.1536865234375, 0.0143432617...
embed
15731724_c0
15731724
fsharp
0
Title: What&#x27;s the easiest way to build an F# compiler that runs on the JVM and generates Java bytecode? Problem title: What&#x27;s the easiest way to build an F# compiler that runs on the JVM and generates Java bytecode? Tags: yeti, f%23, jvm, ocaml, funscript Problem: What's the easiest way to build an F# compile...
What&#x27;s the easiest way to build an F# compiler that runs on the JVM and generates Java bytecode? What&#x27;s the easiest way to build an F# compiler that runs on the JVM and generates Java bytecode? yeti f%23 jvm ocaml funscript What JVM Java What's the easiest way to build an F# compiler that runs on the JVM and ...
[ -0.006011962890625, 0.01239013671875, -0.0048828125, -0.00537109375, 0.0174560546875, 0.005462646484375, 0.002105712890625, 0.0020904541015625, -0.01129150390625, -0.01904296875, -0.0034332275390625, -0.00592041015625, -0.00750732421875, 0.0159912109375, -0.006072998046875, -0.01361083...
[ 3768, 28, 1544, 525, 3917, 45367, 563, 4904, 9969, 34759, 127877, 98, 821, 47599, 139392, 41925, 390, 67, 40899, 4865, 450, 82233, 1238, 3742, 1647, 334, 39, 36, 9779, 141, 7477, 32032, 70, 47, 136, 43581, 15612, 59121, 23, 83, 9803, ...
[ 0.05767822265625, 0.058349609375, 0.161376953125, 0.09765625, 0.085205078125, 0.1810302734375, 0.1552734375, 0.252685546875, 0.1949462890625, 0.2169189453125, 0.0892333984375, 0.0552978515625, 0.1593017578125, 0.26220703125, 0.13427734375, 0.230224609375, 0.08642578125, 0.103881835...
embed
33584226_c0
33584226
fsharp
0
Title: How to create a unit test with F# (using MSTest) Problem title: How to create a unit test with F# (using MSTest) Tags: unit-testing, f%23 Problem: How to create a unit test with F# (using MSTest) I am trying to learn F# via TDD. However, I am struggling to write my first test: module MSTest open Microsoft.Visual...
How to create a unit test with F# (using MSTest) How to create a unit test with F# (using MSTest) unit-testing f%23 MSTest How Microsoft.VisualStudio.TestTools.UnitTesting TestClass CalculatorShould TestMethod Assert.AreEqual How to create a unit test with F# (using MSTest) I am trying to learn F# via TDD. However, I a...
[ 0.009521484375, 0.0184326171875, -0.003997802734375, -0.009765625, 0.01068115234375, -0.005096435546875, 0.0146484375, -0.0096435546875, -0.0135498046875, -0.00592041015625, 0, 0.0015411376953125, -0.01422119140625, 0.0048828125, 0.018798828125, 0.0167236328125, 0.003875732421875, ...
[ 11249, 28282, 25072, 3034, 678, 563, 4904, 223, 16265, 111337, 47, 10, 214, 6954, 1238, 3949, 3742, 7244, 6609, 64010, 109023, 31, 186490, 85600, 18, 8647, 140803, 212467, 4597, 78572, 7352, 33657, 107, 647, 71723, 30698, 1829, 384, 24057, ...
[ 0.03582763671875, 0.1689453125, 0.208251953125, 0.26416015625, 0.0780029296875, 0.1392822265625, 0.218505859375, 0.06072998046875, 0.10400390625, 0.275146484375, 0.007843017578125, 0.0311126708984375, 0.017669677734375, 0.221435546875, 0.08087158203125, 0.010345458984375, 0.107910156...
embed
37381870_c0
37381870
fsharp
0
Title: F# function running without being called Problem title: F# function running without being called Tags: f%23, .net Problem: F# function running without being called This code open System.Threading let duration = 1000 module SequentialExample = let private someTask item = printfn "oh god why" Thread.Sleep(duration...
F# function running without being called F# function running without being called f%23 .net System.Threading SequentialExample Thread.Sleep Array.ofList ParallelExample Async.Parallel Async.RunSynchronously EntryPoint ParallelExample.getComputedItems F# function running without being called This code Has the following ...
[ 0.006500244140625, 0.01025390625, -0.00897216796875, -0.0026092529296875, 0.0023345947265625, -0.0020904541015625, 0.01263427734375, -0.00012969970703125, -0.01470947265625, -0.022216796875, 0.00008487701416015625, 0.03173828125, -0.007476806640625, 0.0296630859375, 0.010498046875, 0.0...
[ 563, 4904, 32354, 51042, 15490, 8035, 35839, 1238, 3949, 3742, 1179, 12353, 39116, 503, 5490, 80973, 19279, 11, 33209, 136719, 133, 4517, 69253, 4390, 154663, 211485, 12654, 1229, 163321, 1900, 15123, 147534, 3674, 2982, 18151, 140992, 159029, ...
[ 0.1256103515625, 0.19189453125, 0.170166015625, 0.1334228515625, 0.11767578125, 0.09423828125, 0.1612548828125, 0.09423828125, 0.033294677734375, 0.109130859375, 0.090087890625, 0.042144775390625, 0.0283050537109375, 0.045257568359375, 0.0858154296875, 0.0655517578125, 0.087585449218...
embed
64059350_c1
64059350
fsharp
1
= let rec right (input: char Iter) = (Map (fun (reg1 : string, reg2) -> reg1 + reg2) (parser <&> (Parser right))) <|> parser |> fun pattern -> run pattern input Parser right let aOrb = Atom (fun x -> x = 'a') <|> Atom (fun x -> x = 'b') type iter = { mutable prevs : char list mutable buffer : char list } with interfac...
= let rec right (input: char Iter) = (Map (fun (reg1 : string, reg2) -> reg1 + reg2) (parser <&> (Parser right))) <|> parser |> fun pattern -> run pattern input Parser right let aOrb = Atom (fun x -> x = 'a') <|> Atom (fun x -> x = 'b') type iter = { mutable prevs : char list mutable buffer : char list } with interfac...
[ -0.01043701171875, -0.00004315376281738281, 0.0235595703125, 0.0296630859375, -0.004302978515625, 0.0277099609375, 0.0034332275390625, 0.0015869140625, 0.004791259765625, -0.02294921875, 0.011962890625, 0.00640869140625, 0.00799560546875, 0.00909423828125, 0.00762939453125, -0.00389099...
[ 2203, 2633, 21954, 7108, 73, 7077, 12, 21441, 87, 720, 166179, 16498, 10901, 418, 79315, 6835, 10461, 997, 2500, 1230, 28636, 2189, 366, 7477, 103510, 11675, 107730, 2392, 10, 19060, 275, 69728, 1022, 11, 10644, 17, 842, 22819, 28468, 7, ...
[ 0.0897216796875, 0.13818359375, 0.197265625, 0.2366943359375, 0.064208984375, 0.10272216796875, 0.0091552734375, 0.1868896484375, 0.07257080078125, 0.259521484375, 0.1563720703125, 0.1517333984375, 0.11181640625, 0.021820068359375, 0.124267578125, 0.1107177734375, 0.039154052734375, ...
embed
42600966_c0
42600966
fsharp
0
Title: Why can&#x27;t I create a generic function? Problem title: Why can&#x27;t I create a generic function? Tags: f%23, generics, types Problem: Why can't I create a generic function? In the code below the compiler assumes that argument r is of type Rec2. Since type Rec1 has all the fields used in the function defini...
Why can&#x27;t I create a generic function? Why can&#x27;t I create a generic function? f%23 generics types Why Rec1 Hello Rec2 r.A r.B x:float r:Rec2 r:Rec1 FS0193 Type Why can't I create a generic function? In the code below the compiler assumes that argument r is of type Rec2. Since type Rec1 has all the fields used...
[ -0.01275634765625, 0.00506591796875, 0.007598876953125, 0.00360107421875, 0.0228271484375, -0.0130615234375, -0.0230712890625, 0.003173828125, 0.01080322265625, 0.0126953125, 0.011474609375, -0.01129150390625, 0.003875732421875, -0.015380859375, 0.01190185546875, -0.0025177001953125, ...
[ 44084, 831, 3768, 18, 87, 28282, 189534, 32354, 10, 1238, 3742, 7, 52895, 48224, 418, 35378, 304, 1690, 52347, 4332, 238, 93774, 6746, 11591, 60457, 18151, 35064, 9969, 34759, 41591, 10750, 111, 10644, 5442, 44457, 11814, 80934, 8668, 22062...
[ 0.1121826171875, 0.1512451171875, 0.03643798828125, 0.1346435546875, 0.05889892578125, 0.222900390625, 0.27294921875, 0.252197265625, 0.0751953125, 0.00128173828125, 0.031402587890625, 0.0277099609375, 0.178466796875, 0.1412353515625, 0.068115234375, 0.1116943359375, 0.0987548828125,...
embed
34183660_c0
34183660
fsharp
0
Title: f# function that returns a generic function Problem title: f# function that returns a generic function Tags: f%23, generics Problem: f# function that returns a generic function I would like to do the following : module private repo = let SaveEvts<'T> (conn:IConnection) mydata = async { let! result = conn.SaveAsy...
f# function that returns a generic function f# function that returns a generic function f%23 generics SaveEvts conn:IConnection conn.SaveAsync SaveAsync repo.SaveEvts Foo Guid Bar Connection f# function that returns a generic function I would like to do the following : so that I could open a single connection to my db ...
[ -0.018798828125, 0.01251220703125, 0.00518798828125, -0.009765625, -0.0062255859375, 0.00136566162109375, -0.003204345703125, -0.00250244140625, 0.00079345703125, -0.042724609375, -0.0126953125, 0.00173187255859375, 0.00445556640625, -0.0152587890625, 0.00799560546875, 0.0107421875, ...
[ 1238, 4904, 32354, 450, 30646, 189534, 7, 3949, 3742, 64944, 86124, 933, 158, 19, 568, 235603, 1830, 5464, 272, 12654, 93392, 9572, 31, 6955, 532, 3253, 62448, 2806, 1884, 54, 25632, 221, 5809, 9803, 11001, 94878, 40041, 765, 23, 170224, ...
[ 0.123779296875, 0.1959228515625, 0.1978759765625, 0.047607421875, 0.1767578125, 0.2568359375, 0.025421142578125, 0.0072021484375, 0.1090087890625, 0.124755859375, 0.0987548828125, 0.07220458984375, 0.04119873046875, 0.0181121826171875, 0.0484619140625, 0.1092529296875, 0.042541503906...
embed
7994691_c0
7994691
fsharp
0
Title: Implement a matrix with another matrix in F# Problem title: Implement a matrix with another matrix in F# Tags: matrix, f%23 Problem: Implement a matrix with another matrix in F# I have the first matrix which should account for each users (in lines) which products (in columns) they like. Let's take 3 users and 5 ...
Implement a matrix with another matrix in F# Implement a matrix with another matrix in F# matrix f%23 Implement matrixAction.NumRows Implement a matrix with another matrix in F# I have the first matrix which should account for each users (in lines) which products (in columns) they like. Let's take 3 users and 5 product...
[ -0.02197265625, 0.007659912109375, 0.01129150390625, 0.00555419921875, -0.007080078125, 0.005859375, -0.01153564453125, 0.0296630859375, 0.01556396484375, 0.0218505859375, 0.00518798828125, 0.0018310546875, -0.01080322265625, -0.0186767578125, 0.00445556640625, -0.00148773193359375, ...
[ 153941, 50944, 425, 678, 15700, 23, 563, 4904, 1238, 3949, 3742, 284, 10763, 839, 316, 12724, 19725, 5117, 5608, 15426, 12638, 72095, 124519, 38742, 3365, 1836, 1884, 138, 190, 438, 38937, 10, 12996, 87, 156607, 105950, 87610, 106, 116, 8...
[ 0.234375, 0.2249755859375, 0.1622314453125, 0.1693115234375, 0.1444091796875, 0.009124755859375, 0.141845703125, 0.1973876953125, 0.07568359375, 0.010650634765625, 0.1353759765625, 0.120361328125, 0.1778564453125, 0.03814697265625, 0.1295166015625, 0.1258544921875, 0.08984375, 0.05...
embed
54136432_c0
54136432
fsharp
0
Title: `OperatorPrecedenceParser` with recursive term - FParsec Problem title: `OperatorPrecedenceParser` with recursive term - FParsec Tags: f%23, fparsec, parsec Problem: `OperatorPrecedenceParser` with recursive term - FParsec I have a parser implemented with monadic links, something like that: let rec p1 = parse {}...
`OperatorPrecedenceParser` with recursive term - FParsec `OperatorPrecedenceParser` with recursive term - FParsec f%23 fparsec parsec OperatorPrecedenceParser FParsec Adding opParser.TermParser opParser.ExpressionParser `OperatorPrecedenceParser` with recursive term - FParsec I have a parser implemented with monadic li...
[ 0.01019287109375, 0.00107574462890625, 0.00115966796875, 0.0341796875, -0.00089263916015625, 0.004913330078125, 0.031005859375, 0.00714111328125, -0.003448486328125, -0.046142578125, 0.0224609375, 0.0198974609375, 0.019775390625, -0.001861572265625, 0.0198974609375, -0.0037689208984375...
[ 156823, 1290, 19273, 37534, 6620, 28636, 2189, 678, 195625, 5844, 13579, 563, 39797, 1238, 3949, 3742, 2500, 366, 150922, 59725, 233, 35484, 178752, 29479, 2667, 11, 18403, 22317, 1884, 8962, 282, 125195, 51776, 237, 915, 2806, 7968, 32189, ...
[ 0.1787109375, 0.1014404296875, 0.06732177734375, 0.141845703125, 0.0233154296875, 0.1739501953125, 0.2203369140625, 0.05609130859375, 0.18212890625, 0.079345703125, 0.194091796875, 0.1080322265625, 0.2266845703125, 0.044281005859375, 0.0173492431640625, 0.145751953125, 0.072021484375...
embed
40031480_c0
40031480
fsharp
0
Title: How do I make HttpClient send a request body? Problem title: How do I make HttpClient send a request body? Tags: http, f%23 Problem: How do I make HttpClient send a request body? I've seen various answers to this question in C# but I'm baffled why the same solution doesn't seem to work in F#. let client = new Ht...
How do I make HttpClient send a request body? How do I make HttpClient send a request body? http f%23 How HttpClient HttpRequestMessage HttpMethod.Post localhost:9999 msg.Version System.Net.HttpVersion.Version10 System.Text.Encoding.ASCII.GetBytes HTTP MESSAGE msg.Content ByteArrayContent Async.AwaitTask client.SendAsy...
[ -0.00193023681640625, 0.025634765625, 0.001068115234375, 0.01446533203125, -0.01324462890625, -0.004913330078125, -0.00177001953125, 0.0029144287109375, -0.01031494140625, 0.00994873046875, 0.032958984375, 0.02001953125, -0.00927734375, -0.00457763671875, 0.00567626953125, -0.006439208...
[ 11249, 54, 3249, 572, 3062, 254, 441, 150, 2517, 25379, 10, 50336, 14361, 1621, 1238, 3949, 3742, 4332, 75616, 594, 6011, 78572, 7352, 49411, 4000, 40294, 5046, 68163, 177, 178390, 12353, 24447, 963, 174379, 587, 134165, 126, 75358, 135913,...
[ 0.0821533203125, 0.002716064453125, 0.136962890625, 0.06298828125, 0.1429443359375, 0.1202392578125, 0.0784912109375, 0.1929931640625, 0.127685546875, 0.1689453125, 0.0745849609375, 0.2275390625, 0.261962890625, 0.1070556640625, 0.0615234375, 0.0224456787109375, 0.1739501953125, 0....
embed
45494938_c0
45494938
fsharp
0
Title: How to use perhaps dynamic typing instead of Object in F#? Problem title: How to use perhaps dynamic typing instead of Object in F#? Tags: static, f%23, dynamic, constraints Problem: How to use perhaps dynamic typing instead of Object in F#? What I have are some types for a publisher-subscriber: type Subscriptio...
How to use perhaps dynamic typing instead of Object in F#? How to use perhaps dynamic typing instead of Object in F#? static f%23 dynamic constraints How Object Subscription Subscribers ConcurrentBag Subscriptions ConcurrentDictionary Type PubSub PubSubExceptionHandler Counter Ctr How to use perhaps dynamic typing inst...
[ -0.00469970703125, 0.00634765625, 0.01348876953125, 0.010009765625, -0.000827789306640625, -0.0016937255859375, -0.019775390625, 0.00099945068359375, -0.001251220703125, -0.026611328125, -0.0302734375, -0.0206298828125, 0.00311279296875, 0.00732421875, 0.01470947265625, 0.011962890625,...
[ 11249, 4527, 95134, 84079, 11417, 214, 64457, 111, 134549, 23, 563, 4904, 201939, 1238, 3949, 3742, 158, 2816, 4288, 8273, 59478, 134019, 1657, 163812, 192996, 10763, 60457, 105269, 96472, 63928, 135679, 197956, 4448, 52895, 80299, 22144, 34601...
[ 0.059661865234375, 0.1328125, 0.244873046875, 0.250732421875, 0.2174072265625, 0.1246337890625, 0.1744384765625, 0.045623779296875, 0.25048828125, 0.060028076171875, 0.1124267578125, 0.2049560546875, 0.1112060546875, 0.07763671875, 0.0147857666015625, 0.1453857421875, 0.0833129882812...
embed
43002879_c1
43002879
fsharp
1
with | OutInt -> new SqlParameter(name, SqlDbType.Int) | OutVarChar len -> new SqlParameter(name, SqlDbType.VarChar, len) sqlParameter.Direction <- ParameterDirection.Output sql.Parameters.Add sqlParameter |> ignore | _ -> () But I can't work out the syntax for the match near the end. I tried: Some list -> and got Err...
with | OutInt -> new SqlParameter(name, SqlDbType.Int) | OutVarChar len -> new SqlParameter(name, SqlDbType.VarChar, len) sqlParameter.Direction <- ParameterDirection.Output sql.Parameters.Add sqlParameter |> ignore | _ -> () But I can't work out the syntax for the match near the end. I tried: Some list -> and got Err...
[ -0.0125732421875, 0.0164794921875, -0.00634765625, 0.000518798828125, -0.044189453125, 0.0084228515625, -0.0284423828125, -0.00323486328125, 0.01519775390625, 0.01953125, 0.0189208984375, -0.00811767578125, 0.0038604736328125, 0.00180816650390625, -0.01092529296875, -0.01806640625, -...
[ 678, 58745, 13538, 4153, 18, 33079, 3525, 99247, 55292, 29089, 11627, 397, 275, 196707, 81827, 84068, 3098, 184911, 1720, 79858, 4028, 124962, 101, 831, 4488, 1810, 6002, 86531, 14858, 43573, 3564, 37842, 31384, 5303, 212059, 7221, 125195, 84...
[ 0.1800537109375, 0.002777099609375, 0.197265625, 0.1494140625, 0.127197265625, 0.052764892578125, 0.06329345703125, 0.18603515625, 0.1793212890625, 0.191162109375, 0.082763671875, 0.0107421875, 0.05010986328125, 0.2022705078125, 0.1602783203125, 0.1923828125, 0.111572265625, 0.1413...
embed
22048401_c0
22048401
fsharp
0
Title: How to join frames using F#&#x27;s Deedle where one of the frame has a composite key? Problem title: How to join frames using F#&#x27;s Deedle where one of the frame has a composite key? Tags: deedle, f%23 Problem: How to join frames using F#'s Deedle where one of the frame has a composite key? Say I have two fr...
How to join frames using F#&#x27;s Deedle where one of the frame has a composite key? How to join frames using F#&#x27;s Deedle where one of the frame has a composite key? deedle f%23 F# How Deedle Frame Deedle.Frame Premia Apr May Jun Deedle.0.9.12 Deedle.fsx System Series Frame.ofColumns How to join frames using F#'s...
[ -0.0023345947265625, 0.000904083251953125, -0.0103759765625, 0.01214599609375, -0.0137939453125, 0.01190185546875, -0.00811767578125, 0.00927734375, 0.00994873046875, -0.0047607421875, -0.01263427734375, 0.01708984375, 0.016845703125, -0.01483154296875, -0.001953125, 0.0093994140625, ...
[ 11249, 47, 33284, 2674, 90, 17368, 563, 4904, 3768, 262, 297, 133, 123789, 375, 77087, 13, 22799, 1556, 8, 1238, 3742, 42557, 108386, 282, 38394, 11, 42053, 4347, 13328, 143161, 1530, 17447, 425, 12353, 64876, 4390, 78457, 316, 6626, 5117...
[ 0.0697021484375, 0.005157470703125, 0.218505859375, 0.219482421875, 0.1297607421875, 0.0552978515625, 0.113525390625, 0.154296875, 0.034027099609375, 0.13134765625, 0.1634521484375, 0.166015625, 0.2281494140625, 0.097900390625, 0.1905517578125, 0.0823974609375, 0.208740234375, 0.02...
embed
28631305_c0
28631305
fsharp
0
Title: error FS0039: The field, constructor or member &#x27;X&#x27; is not defined Problem title: error FS0039: The field, constructor or member &#x27;X&#x27; is not defined Tags: f%23, f%23-interactive Problem: error FS0039: The field, constructor or member 'X' is not defined I am trying to run my code interactively i...
error FS0039: The field, constructor or member &#x27;X&#x27; is not defined error FS0039: The field, constructor or member &#x27;X&#x27; is not defined f%23 f%23-interactive FS0039 HttpGetExchangeRate.fs Utilities.fs System FsCheck NUnit.Framework HttpClient InvoiceApp.Http.getExchangeRates EUR USD InvoiceApp.Math.conv...
[ 0.00186920166015625, 0.004058837890625, 0.0042724609375, -0.0026702880859375, -0.01092529296875, 0.0123291015625, 0.0103759765625, -0.0047607421875, 0.0126953125, -0.00811767578125, 0.016357421875, 0.0027313232421875, 0.0179443359375, 0.01068115234375, 0.02587890625, 0.005096435546875,...
[ 18499, 93774, 7049, 9323, 44457, 64549, 748, 707, 32786, 3768, 1542, 83, 959, 61924, 71, 3742, 1238, 10433, 3062, 724, 126, 19279, 152028, 12248, 17447, 73876, 2449, 12353, 563, 7, 202567, 18057, 6773, 108386, 150, 360, 965, 39179, 3794, ...
[ 0.1710205078125, 0.1993408203125, 0.1058349609375, 0.2353515625, 0.218994140625, 0.1785888671875, 0.137451171875, 0.0865478515625, 0.222412109375, 0.105224609375, 0.2103271484375, 0.05462646484375, 0.13623046875, 0.2347412109375, 0.05810546875, 0.01861572265625, 0.06988525390625, 0...
embed
53951781_c0
53951781
fsharp
0
Title: Noob question about F# function parameter where the parameter is a list Problem title: Noob question about F# function parameter where the parameter is a list Tags: f%23 Problem: Noob question about F# function parameter where the parameter is a list I'm trying to play around with creating functions in F#, In th...
Noob question about F# function parameter where the parameter is a list Noob question about F# function parameter where the parameter is a list f%23 Noob l.Head l:float e::li l:string Noob question about F# function parameter where the parameter is a list I'm trying to play around with creating functions in F#, In the ...
[ 0.0033111572265625, -0.004730224609375, 0.0027618408203125, 0.003875732421875, -0.0086669921875, 0.0037078857421875, 0.00836181640625, -0.004486083984375, 0.0096435546875, -0.00665283203125, 0.0174560546875, -0.01434326171875, 0.00628662109375, 0.00177001953125, 0.00921630859375, -0.01...
[ 438, 3522, 9655, 563, 4904, 32354, 171859, 7440, 83, 10, 5303, 1238, 3949, 3742, 96, 13025, 712, 12, 52347, 257, 28, 150, 91693, 11301, 10932, 105233, 29569, 35064, 31577, 28282, 51776, 21917, 9821, 10554, 142424, 27875, 237, 2046, 10336, ...
[ 0.052703857421875, 0.1378173828125, 0.06201171875, 0.126953125, 0.223388671875, 0.1976318359375, 0.251708984375, 0.0355224609375, 0.07061767578125, 0.008056640625, 0.210205078125, 0.0792236328125, 0.021087646484375, 0.11279296875, 0.14599609375, 0.151611328125, 0.157958984375, 0.10...
embed
21402829_c1
21402829
fsharp
1
Encode query, count=100) let ret = [ for x in ts.Statuses do // val urls : FSharp.Data.JsonProvider<...>.DomainTypes.Url [] let urls = x.Entities.Urls // fully declarated to help the type inference at expandUrl let replace (txt:string) (oldValue:string) (newValue:string) = txt.Replace( oldValue, newValue) // Error: // ...
Encode query, count=100) let ret = [ for x in ts.Statuses do // val urls : FSharp.Data.JsonProvider<...>.DomainTypes.Url [] let urls = x.Entities.Urls // fully declarated to help the type inference at expandUrl let replace (txt:string) (oldValue:string) (newValue:string) = txt.Replace( oldValue, newValue) // Error: // ...
[ 0.019775390625, 0.01043701171875, -0.0050048828125, 0.0281982421875, 0.0091552734375, -0.02978515625, 0.01220703125, 0.003936767578125, -0.00250244140625, -0.023681640625, -0.00225830078125, -0.0184326171875, 0.031005859375, -0.0218505859375, 0.0189208984375, -0.0050048828125, 0.0201...
[ 357, 40899, 41, 1294, 54529, 3559, 2633, 10267, 2203, 100, 1022, 61636, 135206, 29001, 54, 4666, 3502, 25002, 93774, 3467, 254, 137989, 1375, 1681, 177997, 62160, 8331, 24931, 196707, 48743, 7768, 118, 2449, 89554, 29821, 4358, 10644, 53498, ...
[ 0.1285400390625, 0.253173828125, 0.1444091796875, 0.1004638671875, 0.146240234375, 0.1019287109375, 0.1451416015625, 0.2266845703125, 0.0214996337890625, 0.04205322265625, 0.060028076171875, 0.1728515625, 0.161376953125, 0.10699462890625, 0.0687255859375, 0.013275146484375, 0.1622314...
embed
52104454_c0
52104454
fsharp
0
Title: Implement do while in F#? Problem title: Implement do while in F#? Tags: f%23 Problem: Implement do while in F#? I tried the following code to implement do while in F#. let listObjects bucketName = asyncSeq { use client = new AmazonS3Client(RegionEndpoint.USEast2) let request = new ListObjectsV2Request(BucketNam...
Implement do while in F#? Implement do while in F#? f%23 Implement AmazonS3Client RegionEndpoint.USEast2 ListObjectsV2Request BucketName MaxKeys client.ListObjectsV2Async Async.AwaitTask response.S3Objects entry.Key response.IsTruncated Implement do while in F#? I tried the following code to implement do while in F#. H...
[ 0.006256103515625, 0.017578125, 0.006805419921875, -0.0196533203125, 0.006103515625, 0.00689697265625, 0.000499725341796875, 0.003936767578125, 0.0064697265625, -0.001251220703125, 0.021728515625, 0.0098876953125, -0.009521484375, -0.0123291015625, 0.034912109375, 0.007293701171875, ...
[ 153941, 54, 12960, 23, 563, 4904, 32, 1238, 3949, 3742, 15075, 363, 150, 2517, 16843, 152378, 38496, 78441, 4438, 304, 32036, 46471, 75161, 856, 75616, 667, 27853, 163612, 9920, 162429, 23282, 154663, 12654, 634, 9874, 57553, 42805, 29598, ...
[ 0.237548828125, 0.1705322265625, 0.28662109375, 0.09814453125, 0.1470947265625, 0.2171630859375, 0.001220703125, 0.0810546875, 0.0146331787109375, 0.143310546875, 0.17626953125, 0.126953125, 0.0950927734375, 0.00439453125, 0.101318359375, 0.02996826171875, 0.0755615234375, 0.053283...
embed
27531237_c0
27531237
fsharp
0
Title: Convert delimited string to array Problem title: Convert delimited string to array Tags: f%23-data, f%23 Problem: Convert delimited string to array I have an F# Library I call from C# that reads JSON output and CSV files. The library does processing of the data. When reading a CSV file to a datatable, I can iter...
Convert delimited string to array Convert delimited string to array f%23-data f%23 Convert FSharp.Data.CsvFile.Load myfile.Headers.Value Seq.iter dataTable.Columns.Add DataColumn Convert delimited string to array I have an F# Library I call from C# that reads JSON output and CSV files. The library does processing of th...
[ 0.00360107421875, -0.00921630859375, -0.0159912109375, 0.03466796875, -0.017822265625, -0.01031494140625, -0.004730224609375, 0.0068359375, -0.0184326171875, 0.005645751953125, -0.0159912109375, -0.001434326171875, -0.00982666015625, 0.0172119140625, -0.00152587890625, -0.0177001953125...
[ 1657, 11549, 8, 93343, 297, 79315, 47, 10298, 53, 1238, 27495, 10135, 3742, 93774, 3467, 254, 137989, 67756, 174350, 759, 29822, 13025, 11, 14202, 16840, 2053, 618, 2886, 78457, 316, 4028, 11809, 563, 4904, 103835, 11782, 12301, 821, 58627,...
[ 0.04681396484375, 0.1744384765625, 0.11767578125, 0.2452392578125, 0.0953369140625, 0.2430419921875, 0.10675048828125, 0.223388671875, 0.1934814453125, 0.06170654296875, 0.09130859375, 0.1109619140625, 0.0928955078125, 0.005096435546875, 0.1171875, 0.1197509765625, 0.07342529296875, ...
embed
50727826_c1
50727826
fsharp
1
explicitly with functions alone and had a solution previous to above let lower = ['a' .. 'z'] let upper = ['A' .. 'Z'] : : : let lowerStripped = [""] let killLowerDuplicates = lower |> List.iter (fun letter -> match lowerStripped.Length with | 1 -> (stripChars concatedNames letter)::lowerStripped |> ignore | _ -> (str...
explicitly with functions alone and had a solution previous to above let lower = ['a' .. 'z'] let upper = ['A' .. 'Z'] : : : let lowerStripped = [""] let killLowerDuplicates = lower |> List.iter (fun letter -> match lowerStripped.Length with | 1 -> (stripChars concatedNames letter)::lowerStripped |> ignore | _ -> (str...
[ -0.009033203125, 0.0157470703125, 0.0093994140625, 0.00836181640625, -0.00110626220703125, 0.0034942626953125, 0.022705078125, 0.0196533203125, 0.02392578125, 0.0084228515625, 0.00004100799560546875, 0.017578125, 0.035400390625, 0.0167236328125, 0.0015869140625, 0.0179443359375, 0.01...
[ 143726, 678, 32354, 75447, 29806, 2633, 92319, 2203, 11, 169, 1407, 56, 284, 1511, 71713, 14, 48398, 67153, 15363, 6488, 17726, 52721, 1636, 32036, 16840, 16498, 31330, 14858, 449, 106, 59623, 84068, 158, 4460, 163612, 17336, 124962, 154663, ...
[ 0.1876220703125, 0.08544921875, 0.1968994140625, 0.16943359375, 0.10986328125, 0.028289794921875, 0.219482421875, 0.0263214111328125, 0.0229339599609375, 0.08502197265625, 0.1103515625, 0.069091796875, 0.051727294921875, 0.0843505859375, 0.050506591796875, 0.05133056640625, 0.1384277...
embed
43124603_c0
43124603
fsharp
0
Title: F# Performance Impact of Checked Calcs? Problem title: F# Performance Impact of Checked Calcs? Tags: f%23, integer-overflow, performance Problem: F# Performance Impact of Checked Calcs? Is there a performance impact from using the Checked module? I've tested it out with sequences of type int and see no noticeabl...
F# Performance Impact of Checked Calcs? F# Performance Impact of Checked Calcs? f%23 integer-overflow performance Performance Impact Checked Calcs Seq.initInfinite Seq.item Real CPU gen0 gen1 gen2 F# Performance Impact of Checked Calcs? Is there a performance impact from using the Checked module? I've tested it out wit...
[ 0.00482177734375, -0.0003452301025390625, 0.0031585693359375, -0.0089111328125, 0.002166748046875, -0.0216064453125, 0.00897216796875, -0.0186767578125, 0.010009765625, -0.00194549560546875, 0.0157470703125, 0.0169677734375, 0.002838134765625, 0.0057373046875, 0.00958251953125, -0.0049...
[ 563, 4904, 94030, 161623, 111, 38679, 297, 9113, 4439, 1238, 3742, 892, 1505, 5465, 118664, 23718, 864, 48310, 503, 217, 5120, 86039, 9226, 2389, 2071, 10, 24725, 17368, 88996, 3034, 26513, 10644, 23, 18, 1957, 60322, 60212, 160193, 12765, ...
[ 0.098388671875, 0.184814453125, 0.1778564453125, 0.2125244140625, 0.018524169921875, 0.265380859375, 0.1826171875, 0.20458984375, 0.1865234375, 0.0653076171875, 0.1278076171875, 0.10040283203125, 0.033050537109375, 0.0748291015625, 0.1884765625, 0.2037353515625, 0.080810546875, 0.0...
embed
1440483_c0
1440483
fsharp
0
Title: Is it possible to use the pipeline operator to call a method on a returned object? Problem title: Is it possible to use the pipeline operator to call a method on a returned object? Tags: pipeline, infix-operator, infix-notation, f%23, return-value Problem: Is it possible to use the pipeline operator to call a me...
Is it possible to use the pipeline operator to call a method on a returned object? Is it possible to use the pipeline operator to call a method on a returned object? pipeline infix-operator infix-notation f%23 return-value Class1 myclass.Method1 Method1 Method2 Class2 class2.Method2 Is it possible to use the pipeline o...
[ 0.00157928466796875, 0.007354736328125, 0.01171875, 0.0125732421875, 0.0020904541015625, -0.01361083984375, 0.005462646484375, -0.00830078125, -0.00311279296875, -0.0218505859375, -0.00157928466796875, 0.0159912109375, 0.00970458984375, 0.006805419921875, 0.0038909912109375, -0.0228271...
[ 2071, 442, 7722, 4527, 137158, 2256, 39933, 11782, 55300, 98, 176377, 36746, 47, 23, 55923, 206469, 157, 22062, 1238, 3949, 3742, 30646, 27494, 35014, 418, 759, 67413, 78572, 7352, 74644, 304, 18507, 17368, 24447, 140803, 17727, 678, 10, 83...
[ 0.0357666015625, 0.04290771484375, 0.1697998046875, 0.101318359375, 0.1865234375, 0.1905517578125, 0.22900390625, 0.1905517578125, 0.2325439453125, 0.0894775390625, 0.204833984375, 0.17138671875, 0.0173797607421875, 0.121337890625, 0.23876953125, 0.186279296875, 0.093994140625, 0.0...
embed
36375841_c0
36375841
fsharp
0
Title: F# for Xamarin MacOS X : TargetFrameworkVersionv4.5.2 not supported by this toolset (ToolsVersion4.0) Problem title: F# for Xamarin MacOS X : TargetFrameworkVersionv4.5.2 not supported by this toolset (ToolsVersion4.0) Tags: f%23, xamarin, .net, target-framework Problem: F# for Xamarin MacOS X : TargetFrameworkV...
F# for Xamarin MacOS X : TargetFrameworkVersionv4.5.2 not supported by this toolset (ToolsVersion4.0) F# for Xamarin MacOS X : TargetFrameworkVersionv4.5.2 not supported by this toolset (ToolsVersion4.0) f%23 xamarin .net target-framework Xamarin MacOS TargetFrameworkVersionv4.5.2 ToolsVersion4.0 Library Frameworks Mon...
[ -0.0028076171875, 0.039794921875, 0.00994873046875, -0.00885009765625, 0.0072021484375, 0.00029754638671875, -0.0015869140625, -0.00010585784912109375, 0.0012664794921875, 0.015869140625, -0.01318359375, -0.042236328125, 0.00946044921875, -0.002197265625, 0.0240478515625, -0.0073547363...
[ 563, 4904, 100, 8606, 44503, 4727, 7285, 1193, 160017, 108386, 282, 18244, 178390, 334, 104867, 304, 959, 8060, 903, 72977, 126, 186490, 151152, 1238, 3742, 2459, 1179, 30388, 160328, 119296, 103835, 202220, 77879, 40647, 43278, 7244, 3796, 6...
[ 0.126708984375, 0.234130859375, 0.038848876953125, 0.1552734375, 0.210205078125, 0.099609375, 0.1153564453125, 0.099365234375, 0.222900390625, 0.109130859375, 0.049530029296875, 0.1102294921875, 0.0833740234375, 0.037841796875, 0.220458984375, 0.135498046875, 0.07330322265625, 0.19...
embed
3044314_c0
3044314
fsharp
0
Title: How to dump obj to xml in F# Problem title: How to dump obj to xml in F# Tags: f%23 Problem: How to dump obj to xml in F# I try to tanslate a C# code to F#. But faild. Here is the C# code from a bolgpost called LINQ Reduces Line Counts and Makes Code “Pop” It's about FP. I translate it to #r "System.Core.dll" #r...
How to dump obj to xml in F# How to dump obj to xml in F# f%23 How System.Core.dll System.Xml.Linq.dll System System.Reflection System.Collections System.Collections.Generic System.Xml.Linq o.GetType IsValueType IsArray obj2xml XElement Array.map GetProperties z.Name z.GetValue How to dump obj to xml in F# I try to tan...
[ -0.00885009765625, 0.00543212890625, 0.01239013671875, 0.0034637451171875, -0.0162353515625, -0.0029449462890625, -0.024658203125, 0.00738525390625, -0.01470947265625, -0.00958251953125, 0.0157470703125, -0.0108642578125, 0.0031585693359375, -0.016357421875, 0.00933837890625, -0.008605...
[ 11249, 47, 115, 2676, 995, 170, 131492, 23, 563, 4904, 1238, 3742, 12353, 50886, 1181, 1542, 7237, 866, 44982, 190015, 8996, 78457, 135932, 196707, 2071, 50770, 7092, 304, 19929, 69253, 62346, 1264, 97, 163612, 856, 2197, 19309, 313, 18151,...
[ 0.057891845703125, 0.158203125, 0.1837158203125, 0.204833984375, 0.2054443359375, 0.261962890625, 0.29296875, 0.065185546875, 0.1444091796875, 0.2301025390625, 0.07513427734375, 0.09521484375, 0.1259765625, 0.1422119140625, 0.1280517578125, 0.0704345703125, 0.124755859375, 0.053405...
embed
55452436_c0
55452436
fsharp
0
Title: Gmail API .NET: How to request messages from one sender Problem title: Gmail API .NET: How to request messages from one sender Tags: gmail-api, f%23, google-api-dotnet-client, google-api, .net Problem: Gmail API .NET: How to request messages from one sender Currently, my boss wants me to write a software to get ...
Gmail API .NET: How to request messages from one sender Gmail API .NET: How to request messages from one sender gmail-api f%23 google-api-dotnet-client google-api .net one Gmail API NET How payload.header.Value UsersResource.MessagesResource.ListRequest service.Users.Messages.List emailListReq.LabelIds Google.Apis.Util...
[ -0.004425048828125, 0.041748046875, 0.0128173828125, -0.01153564453125, -0.015625, -0.0120849609375, -0.003875732421875, 0.00238037109375, -0.005523681640625, -0.02685546875, 0.02197265625, -0.0091552734375, -0.0269775390625, 0.005645751953125, 0.01116943359375, 0.00537109375, 0.0262...
[ 107582, 61687, 17777, 11249, 47, 50336, 89914, 1295, 1632, 59146, 7095, 40897, 3742, 26484, 15464, 1179, 222978, 8783, 63033, 31251, 856, 50770, 53400, 60427, 6011, 154663, 75616, 4516, 1062, 3340, 864, 4063, 1815, 4994, 3675, 29518, 5881, 94...
[ 0.2293701171875, 0.197509765625, 0.1865234375, 0.0860595703125, 0.02154541015625, 0.228759765625, 0.20166015625, 0.1685791015625, 0.1876220703125, 0.2232666015625, 0.197265625, 0.1966552734375, 0.013916015625, 0.0877685546875, 0.0067138671875, 0.1019287109375, 0.1046142578125, 0.11...
embed
22417983_c0
22417983
fsharp
0
Title: Unclear function return type issue Problem title: Unclear function return type issue Tags: f%23, type-inference Problem: Unclear function return type issue I have the following rather simple F# function: let FormatValue (formatProvider : IFormatProvider) valueSuffix value = match value > Convert.ToDecimal(valueS...
Unclear function return type issue Unclear function return type issue f%23 type-inference Unclear FormatValue IFormatProvider Convert.ToDecimal valueSuffix.MinimumValueRequired Math.Pow Convert.ToDouble valueSuffix.PowerOfTen string.Format normalizedValue.ToString valueSuffix.Format valueSuffix.Text ValueSuffix Unclear...
[ -0.0006256103515625, -0.01141357421875, -0.003173828125, 0.01361083984375, 0.0003509521484375, -0.02197265625, 0.00860595703125, -0.0145263671875, 0.01116943359375, 0.03564453125, 0.003662109375, 0.000347137451171875, -0.0174560546875, -0.0111083984375, 0.031982421875, 0.00656127929687...
[ 992, 119488, 32354, 30646, 10644, 31089, 1238, 3742, 73, 69988, 60972, 856, 50770, 87, 102973, 177997, 62160, 11549, 7763, 318, 2749, 34292, 21493, 4084, 114986, 24105, 3181, 78804, 434, 105022, 132887, 87286, 79315, 3638, 71713, 174379, 190060...
[ 0.05767822265625, 0.239990234375, 0.1566162109375, 0.230712890625, 0.2054443359375, 0.135009765625, 0.0343017578125, 0.1304931640625, 0.0180816650390625, 0.1474609375, 0.1531982421875, 0.046875, 0.06756591796875, 0.0189056396484375, 0.1390380859375, 0.10205078125, 0.0574951171875, ...
embed
34660213_c0
34660213
fsharp
0
Title: &quot;Subsetting&quot; a dictionary in F# Problem title: &quot;Subsetting&quot; a dictionary in F# Tags: dictionary, f%23, subset Problem: "Subsetting" a dictionary in F# I'm a beginner in F# and I'm trying to write a function to subset a dictionary given list, and return the result. I tried this, but it doesn't...
&quot;Subsetting&quot; a dictionary in F# &quot;Subsetting&quot; a dictionary in F# dictionary f%23 subset Subsetting Subset dict:Dictionary sub_list:list dict.Clear sub_list List.filter dict.ContainsKey List.map dict.TryGetValue List.iter z.Add FS0039 Add "Subsetting" a dictionary in F# I'm a beginner in F# and I'm tr...
[ -0.0089111328125, 0.001983642578125, 0.0179443359375, -0.0029754638671875, -0.0140380859375, -0.0159912109375, -0.0004482269287109375, 0.00604248046875, 0.00677490234375, 0.032958984375, 0.0208740234375, 0.0299072265625, -0.012451171875, -0.004913330078125, 0.0162353515625, 0.001251220...
[ 96472, 89840, 45, 10763, 6635, 23, 563, 4904, 1238, 3742, 1614, 3509, 8273, 61669, 6562, 133, 32036, 120337, 25500, 162429, 62346, 1294, 856, 50770, 16840, 4028, 93774, 9323, 29117, 9842, 1679, 31577, 33022, 32354, 47, 34475, 5303, 30646, 1...
[ 0.2191162109375, 0.250244140625, 0.0545654296875, 0.1337890625, 0.1007080078125, 0.0218505859375, 0.11865234375, 0.22119140625, 0.038909912109375, 0.08123779296875, 0.1962890625, 0.1905517578125, 0.177978515625, 0.084716796875, 0.1051025390625, 0.050567626953125, 0.0863037109375, 0...
embed
16016087_c0
16016087
fsharp
0
Title: Strange behavior of F# records Problem title: Strange behavior of F# records Tags: f%23 Problem: Strange behavior of F# records There is a few cases when F# records behavior is strange to me: No warning on ambiguity type AnotherPerson = {Id: int; Name: string} type Person = {Id: int; Name: string;} // Error: "No...
Strange behavior of F# records Strange behavior of F# records f%23 the Strange AnotherPerson Name Person Foo Using Age Error What Strange behavior of F# records There is a few cases when F# records behavior is strange to me: No warning on ambiguity Warning on records deconstruction instead of records construction Inste...
[ -0.00958251953125, -0.00003743171691894531, 0.0089111328125, 0.01513671875, 0.00180816650390625, 0.0027313232421875, -0.0308837890625, 0.0230712890625, 0.006134033203125, 0.004638671875, 0.017822265625, 0.0208740234375, 0.00872802734375, 0.006805419921875, 0.027587890625, -0.0225830078...
[ 187791, 123166, 563, 4904, 115923, 1238, 3742, 116267, 160054, 15757, 15270, 9572, 31, 345, 72944, 212059, 4865, 111, 10846, 50218, 83, 114453, 47, 163, 438, 1631, 920, 12282, 5550, 8, 238478, 64457, 50961, 592, 9969, 34759, 112, 103510, 14...
[ 0.162841796875, 0.169921875, 0.15576171875, 0.255615234375, 0.2003173828125, 0.08880615234375, 0.1014404296875, 0.057220458984375, 0.087890625, 0.0843505859375, 0.052337646484375, 0.1126708984375, 0.03790283203125, 0.015411376953125, 0.148681640625, 0.1448974609375, 0.016342163085937...
embed
71162961_c0
71162961
fsharp
0
Title: Can I overload the &#x27;=&#x27; operator for struct-typed arguments? Problem title: Can I overload the &#x27;=&#x27; operator for struct-typed arguments? Tags: struct, f%23, warnings, overloading Problem: Can I overload the '=' operator for struct-typed arguments? I want to get a warning everywhere the equals o...
Can I overload the &#x27;=&#x27; operator for struct-typed arguments? Can I overload the &#x27;=&#x27; operator for struct-typed arguments? struct f%23 warnings overloading Can Obsolete Possible See github.com Guid.NewGuid CLI Can I overload the '=' operator for struct-typed arguments? I want to get a warning everywher...
[ 0.0098876953125, 0.0206298828125, 0.0286865234375, 0.00225830078125, 0.00836181640625, -0.020263671875, -0.013671875, -0.0023193359375, -0.00092315673828125, 0.00738525390625, 0.01324462890625, 0.00433349609375, 0.019287109375, -0.01080322265625, 0.001251220703125, -0.006195068359375, ...
[ 4171, 87, 645, 63033, 3768, 74, 1369, 39933, 36716, 50986, 10750, 1238, 3742, 1631, 6977, 40777, 115861, 62270, 32102, 6955, 22769, 10927, 100, 71, 3444, 592, 219743, 105950, 7, 11814, 61924, 959, 15265, 64552, 4488, 16940, 563, 4904, 237, ...
[ 0.1015625, 0.047882080078125, 0.123046875, 0.21728515625, 0.1334228515625, 0.0360107421875, 0.215576171875, 0.196044921875, 0.1917724609375, 0.1396484375, 0.1610107421875, 0.03741455078125, 0.074951171875, 0.1348876953125, 0.05706787109375, 0.0982666015625, 0.08544921875, 0.0092773...
embed
10590297_c0
10590297
fsharp
0
Title: F# compiler throws exception when invoked from spawned process Problem title: F# compiler throws exception when invoked from spawned process Tags: .net, f%23, process Problem: F# compiler throws exception when invoked from spawned process I spawn a new process and have it invoke the F# compiler like this: var ex...
F# compiler throws exception when invoked from spawned process F# compiler throws exception when invoked from spawned process .net f%23 process System.ArgumentException spawned Process process.StartInfo ProcessStartInfo process.StartInfo.UseShellExecute process.StartInfo.LoadUserProfile process.Start Unhandled Exceptio...
[ -0.0014801025390625, 0.01507568359375, -0.00909423828125, -0.006622314453125, -0.00183868408203125, 0.00543212890625, 0.004852294921875, -0.0206298828125, -0.0181884765625, -0.00445556640625, -0.006378173828125, 0.0184326171875, 0.0076904296875, 0.028564453125, 0.0185546875, -0.0040588...
[ 563, 4904, 9969, 34759, 104250, 131527, 3229, 23, 23253, 1295, 5623, 7710, 297, 9433, 1179, 1238, 3949, 3742, 12353, 7614, 1234, 19279, 63928, 123996, 126597, 93147, 79544, 211603, 147161, 992, 79628, 5443, 82335, 3355, 128872, 106745, 24493, ...
[ 0.1405029296875, 0.2308349609375, 0.1959228515625, 0.1656494140625, 0.1290283203125, 0.24267578125, 0.014617919921875, 0.07415771484375, 0.1495361328125, 0.10357666015625, 0.1484375, 0.1185302734375, 0.047393798828125, 0.1319580078125, 0.109619140625, 0.0799560546875, 0.0205078125, ...
embed
77226472_c0
77226472
fsharp
0
Title: F# Is there a more effective or idiomatic way to reference a table of values Problem title: F# Is there a more effective or idiomatic way to reference a table of values Tags: nested-lists, f%23 Problem: F# Is there a more effective or idiomatic way to reference a table of values If there was an unchanging tables...
F# Is there a more effective or idiomatic way to reference a table of values F# Is there a more effective or idiomatic way to reference a table of values nested-lists f%23 Eagle Cherry Pear Orange Apple Banana Hawk Turkey Chicken Map.ofList F# Is there a more effective or idiomatic way to reference a table of values If...
[ 0.00182342529296875, 0.00701904296875, 0.00848388671875, -0.016845703125, -0.005950927734375, -0.0257568359375, 0.01397705078125, -0.00010824203491210938, 0.01080322265625, -0.02099609375, -0.01007080078125, 0.03564453125, -0.0108642578125, 0.00213623046875, 0.01104736328125, 0.0012588...
[ 563, 4904, 2071, 2685, 1286, 60266, 707, 49666, 9523, 3917, 47, 91067, 23180, 111, 142424, 8512, 71, 6562, 1238, 3949, 3742, 144422, 187243, 1460, 147, 74888, 4129, 53592, 76, 96139, 176672, 197527, 42719, 4390, 154663, 10, 90965, 32354, 67...
[ 0.1165771484375, 0.1806640625, 0.001312255859375, 0.01568603515625, 0.1044921875, 0.150634765625, 0.044769287109375, 0.1976318359375, 0.1209716796875, 0.079345703125, 0.0404052734375, 0.260009765625, 0.22509765625, 0.127197265625, 0.1907958984375, 0.1453857421875, 0.0377197265625, ...
embed
52689612_c0
52689612
fsharp
0
Title: How to resolve &#x27;System.MissingMethodException&#x27; in dotnet core Problem title: How to resolve &#x27;System.MissingMethodException&#x27; in dotnet core Tags: .net-core, system.drawing, f%23, accord.net Problem: How to resolve 'System.MissingMethodException' in dotnet core To reproduce follow steps: In ter...
How to resolve &#x27;System.MissingMethodException&#x27; in dotnet core How to resolve &#x27;System.MissingMethodException&#x27; in dotnet core .net-core system.drawing f%23 accord.net System.MissingMethodException F# How Accord.Imaging CoreCompat.System.Drawing beta006 Program.fs Learn fsharp.org System System.Drawing...
[ -0.016357421875, 0.0137939453125, -0.01544189453125, 0.019287109375, 0.000240325927734375, 0.0037384033203125, 0.019775390625, 0.01556396484375, -0.0057373046875, -0.00982666015625, 0.0277099609375, 0.002471923828125, 0.0014190673828125, 0.0174560546875, 0.01556396484375, -0.0256347656...
[ 11249, 47, 103608, 3768, 84293, 135261, 214, 78572, 7352, 19279, 63928, 23, 20633, 1179, 56458, 30854, 5426, 86905, 1238, 3742, 61047, 12353, 563, 4904, 29899, 6651, 61637, 31365, 108161, 219, 14775, 51703, 159343, 7663, 17447, 89280, 254, 14...
[ 0.0673828125, 0.02789306640625, 0.22900390625, 0.1732177734375, 0.1910400390625, 0.21240234375, 0.146484375, 0.1932373046875, 0.1597900390625, 0.0855712890625, 0.18310546875, 0.077392578125, 0.184814453125, 0.24560546875, 0.2015380859375, 0.1541748046875, 0.1021728515625, 0.1494140...
embed
30670628_c1
30670628
fsharp
1
r:C:\Dev\ATF\assembly\Debug\hostengine.dll -r:C:\Dev\ATF\assembly\Debug\mktdataservices.dll -r:C:\Dev\ATF\assembly\Debug\mktdatastructs.dll -r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5\mscorlib.dll" -r:C:\Dev\ATF\assembly\Debug\persistence.dll -r:"C:\Program Files (x86)\Referenc...
r:C:\Dev\ATF\assembly\Debug\hostengine.dll -r:C:\Dev\ATF\assembly\Debug\mktdataservices.dll -r:C:\Dev\ATF\assembly\Debug\mktdatastructs.dll -r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5\mscorlib.dll" -r:C:\Dev\ATF\assembly\Debug\persistence.dll -r:"C:\Program Files (x86)\Referenc...
[ 0.01300048828125, 0.02001953125, 0, 0.006439208984375, 0.0157470703125, 0.006622314453125, -0.00885009765625, -0.01171875, 0.008544921875, -0.00066375732421875, -0.004974365234375, -0.01171875, 0.009033203125, 0.00469970703125, 0.0169677734375, 0.01092529296875, 0.0042724609375, 0....
[ 1690, 12, 441, 41872, 152108, 284, 30992, 11, 89845, 38526, 4657, 85779, 40294, 128897, 71, 1181, 4164, 10135, 22584, 7, 5, 36716, 148968, 42724, 15, 112916, 69988, 13, 151169, 3387, 113387, 108386, 282, 18244, 17777, 334, 104867, 4432, 105...
[ 0.0948486328125, 0.08367919921875, 0.05596923828125, 0.015045166015625, 0.2275390625, 0.06109619140625, 0.254638671875, 0.000762939453125, 0.2156982421875, 0.0631103515625, 0.11328125, 0.254638671875, 0.16455078125, 0.2548828125, 0.050750732421875, 0.1998291015625, 0.1707763671875, ...
embed
9356834_c0
9356834
fsharp
0
Title: memory leaks in Microsoft.FSharp.Control.Mailbox? Problem title: memory leaks in Microsoft.FSharp.Control.Mailbox? Tags: memory-leaks, mailboxprocessor, f%23 Problem: memory leaks in Microsoft.FSharp.Control.Mailbox? I'm hunting for some memory-leaks in a long runing service (using F#) right now. The only "stran...
memory leaks in Microsoft.FSharp.Control.Mailbox? memory leaks in Microsoft.FSharp.Control.Mailbox? memory-leaks mailboxprocessor f%23 Microsoft.FSharp.Control.Mailbox memory leaks in Microsoft.FSharp.Control.Mailbox? I'm hunting for some memory-leaks in a long runing service (using F#) right now. The only "strange" th...
[ 0.01385498046875, 0.03515625, 0.0036163330078125, 0.03515625, -0.0030364990234375, 0.000823974609375, 0.002044677734375, 0.0103759765625, -0.002532958984375, 0.00750732421875, 0.022216796875, 0.03076171875, 0.01422119140625, 0.01019287109375, 0.029052734375, 0.01373291015625, 0.00650...
[ 98323, 95, 24251, 23, 7244, 36381, 3467, 254, 175904, 17814, 11728, 32, 133, 6648, 63923, 748, 1238, 3742, 1926, 4989, 3114, 592, 4516, 563, 4904, 5036, 4734, 27254, 429, 13580, 51592, 2060, 25632, 4527, 25919, 10752, 26531, 1614, 16751, ...
[ 0.2174072265625, 0.1849365234375, 0.1474609375, 0.0538330078125, 0.1121826171875, 0.039825439453125, 0.1505126953125, 0.15087890625, 0.2216796875, 0.0745849609375, 0.198974609375, 0.043670654296875, 0.1676025390625, 0.0810546875, 0.1163330078125, 0.033233642578125, 0.0540771484375, ...
embed
13984823_c0
13984823
fsharp
0
Title: F# CSV FileHelpers Problem title: F# CSV FileHelpers Tags: filehelpers, csv, f%23, visual-studio-2010, .net Problem: F# CSV FileHelpers Im following the steps described below to read csv but get runtime error at the last line. (TypeInitializationException) Can anyone tell me what's wrong here? http://www.marksta...
F# CSV FileHelpers F# CSV FileHelpers filehelpers csv f%23 visual-studio-2010 .net CSV FileHelpers ReadCsv System DelimitedRecord IgnoreFirst CsvRecord field1 DefaultValue Str1 Str2 FileHelperEngine engine.ReadFile Users Admin Desktop test.csv downcast_Customer_Array Array.map a:obj ReadCsv.CsvRecord res_Customers Read...
[ 0.0028228759765625, -0.0172119140625, 0.01287841796875, 0.01470947265625, 0.0033111572265625, 0.0164794921875, -0.015625, -0.0029754638671875, -0.011474609375, -0.0010833740234375, -0.0223388671875, 0.01324462890625, 0.0164794921875, 0.0020751953125, 0.0164794921875, -0.015380859375, ...
[ 563, 4904, 313, 43486, 42724, 60785, 21777, 11435, 73866, 1314, 20763, 334, 1238, 3742, 21176, 52629, 73552, 1179, 4764, 441, 67756, 12353, 262, 93343, 32271, 11137, 207263, 44457, 1021, 50770, 1264, 87907, 31345, 174350, 53400, 61443, 141423, ...
[ 0.1046142578125, 0.1630859375, 0.043975830078125, 0.2471923828125, 0.0772705078125, 0.1566162109375, 0.0772705078125, 0.0240936279296875, 0.1478271484375, 0.01055908203125, 0.1475830078125, 0.2166748046875, 0.09295654296875, 0.1156005859375, 0.1519775390625, 0.10711669921875, 0.12854...
embed
5262714_c1
5262714
fsharp
1
(Managed (v4.0.30319)): Loaded 'C:\WINNT\Microsoft.Net\assembly\GAC_MSIL\FSharp.Core\v4.0_4.0.0.0__b03f5f7f11d50a3a\FSharp.Core.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'PowerPackTest.exe' (Managed (v4.0.30319)): Loaded 'C:\WINNT\Microsoft.Net\assembly\GAC_M...
(Managed (v4.0.30319)): Loaded 'C:\WINNT\Microsoft.Net\assembly\GAC_MSIL\FSharp.Core\v4.0_4.0.0.0__b03f5f7f11d50a3a\FSharp.Core.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'PowerPackTest.exe' (Managed (v4.0.30319)): Loaded 'C:\WINNT\Microsoft.Net\assembly\GAC_M...
[ 0.004608154296875, -0.0064697265625, -0.00750732421875, 0.00531005859375, -0.006866455078125, 0.01458740234375, -0.0174560546875, 0.0069580078125, 0.0033111572265625, 0.005584716796875, 0.015625, 0.00469970703125, -0.000728607177734375, -0.000598907470703125, 0.01422119140625, 0.023193...
[ 12662, 11, 17704, 334, 151152, 1197, 363, 98864, 2091, 712, 441, 12, 108568, 22879, 113387, 24447, 89845, 14849, 594, 68785, 36381, 3467, 254, 50886, 99929, 1181, 20491, 48398, 72367, 214, 26582, 63014, 15572, 8, 978, 21407, 35829, 127794, ...
[ 0.130859375, 0.15234375, 0.1754150390625, 0.032379150390625, 0.192626953125, 0.033905029296875, 0.034088134765625, 0.1248779296875, 0.124755859375, 0.0902099609375, 0.0625, 0.0147247314453125, 0.1165771484375, 0.109130859375, 0.0872802734375, 0.1185302734375, 0.1258544921875, 0.072...
embed
55330154_c0
55330154
fsharp
0
Title: How to adapt Action&lt;string&gt; into FSharpFunc&lt;string, unit&gt; Problem title: How to adapt Action&lt;string&gt; into FSharpFunc&lt;string, unit&gt; Tags: f%23, c%23, .net Problem: How to adapt Action into FSharpFunc Attempts to pass an Action to F# code is producing the following syntax error in .net 4.6....
How to adapt Action&lt;string&gt; into FSharpFunc&lt;string, unit&gt; How to adapt Action&lt;string&gt; into FSharpFunc&lt;string, unit&gt; f%23 c%23 .net Microsoft.FSharp.Core How Action FSharpFunc Error CS1503 Argument System.Action Microsoft.FSharp.Core.FSharpFunc Microsoft.FSharp.Core.Unit Console.WriteLine App.per...
[ -0.0133056640625, 0.02978515625, 0.00457763671875, -0.002227783203125, -0.0018463134765625, -0.0186767578125, -0.020263671875, -0.014892578125, 0.00035858154296875, -0.006500244140625, 0.00341796875, 0.00128173828125, -0.0150146484375, 0.00238037109375, 0.00933837890625, -0.00424194335...
[ 11249, 39908, 57945, 91693, 5386, 3934, 93774, 3467, 254, 97249, 238, 25072, 1238, 3742, 1179, 7244, 36381, 50886, 212059, 25841, 19236, 363, 112140, 12353, 284, 10763, 85600, 40777, 18781, 93232, 5659, 5037, 28670, 46640, 34224, 27875, 47, 5...
[ 0.039093017578125, 0.2491455078125, 0.2431640625, 0.1541748046875, 0.061859130859375, 0.137451171875, 0.1048583984375, 0.192138671875, 0.125732421875, 0.2005615234375, 0.1136474609375, 0.1519775390625, 0.05926513671875, 0.07611083984375, 0.12890625, 0.0518798828125, 0.024200439453125...
embed
53249083_c0
53249083
fsharp
0
Title: How do I implement an F# high order function in C#? Problem title: How do I implement an F# high order function in C#? Tags: f%23 Problem: How do I implement an F# high order function in C#? How do I implement an F# high order function in C#? public ICommand RequestAccount = new DelegateCommand(FuncConvert.ToFSh...
How do I implement an F# high order function in C#? How do I implement an F# high order function in C#? f%23 How ICommand RequestAccount DelegateCommand FuncConvert.ToFSharpFunc Debug.WriteLine DelegateEvent EventHandler CLIEvent this.CanExecuteChanged event.Publish this.CanExecute this.Execute How do I implement an F#...
[ -0.01531982421875, 0.025634765625, 0.000850677490234375, -0.0125732421875, -0.007354736328125, 0.0206298828125, -0.0003490447998046875, -0.0196533203125, 0.00799560546875, -0.00165557861328125, 0.021728515625, -0.0224609375, -0.03173828125, 0.01031494140625, -0.01324462890625, -0.02368...
[ 11249, 54, 29479, 563, 4904, 11192, 12989, 32354, 23, 313, 87, 142, 1238, 3949, 3742, 10770, 12018, 75616, 39450, 71013, 228532, 13, 28670, 11935, 11549, 7763, 36381, 3467, 254, 97249, 238, 262, 85779, 18781, 93232, 192134, 36943, 135679, 6...
[ 0.076416015625, 0.0281524658203125, 0.2135009765625, 0.168701171875, 0.255615234375, 0.167724609375, 0.2191162109375, 0.1964111328125, 0.07794189453125, 0.0782470703125, 0.05572509765625, 0.03033447265625, 0.1141357421875, 0.033294677734375, 0.1680908203125, 0.158935546875, 0.1856689...
embed
34066485_c0
34066485
fsharp
0
Title: Implement a method that prints output without object-oriented support? Problem title: Implement a method that prints output without object-oriented support? Tags: f%23 Problem: Implement a method that prints output without object-oriented support? Would I have to resort to F#'s object oriented design support to ...
Implement a method that prints output without object-oriented support? Implement a method that prints output without object-oriented support? f%23 Implement Hit Face Ace Suit Spades Clubs Diamonds Hearts Two Three Four Five Six Seven Eight Nine Ten Jack Queen King Card Face:Face Suit:Suit Deal Hand card1 card2 Implemen...
[ 0.007171630859375, -0.0030517578125, 0.00946044921875, 0.014892578125, -0.005767822265625, -0.006591796875, -0.0169677734375, -0.0264892578125, 0.01239013671875, 0.01287841796875, 0.03564453125, 0.00128173828125, 0.003753662109375, -0.00092315673828125, -0.0029754638671875, -0.01062011...
[ 153941, 55300, 450, 28412, 140992, 15490, 36746, 49133, 8060, 1238, 3949, 3742, 43482, 26219, 70280, 1832, 217, 10959, 988, 7687, 69124, 60861, 32964, 129335, 65056, 156615, 84247, 132556, 22553, 1520, 5531, 21763, 44109, 18813, 23660, 135518, ...
[ 0.203857421875, 0.20703125, 0.006134033203125, 0.206298828125, 0.1868896484375, 0.16259765625, 0.180908203125, 0.176513671875, 0.2161865234375, 0.0775146484375, 0.008270263671875, 0.11767578125, 0.1326904296875, 0.129150390625, 0.06158447265625, 0.08251953125, 0.0123291015625, 0.12...
embed
62901845_c1
62901845
fsharp
1
JleHAiOjE1OTUzNTU5MDUsImlhdCI6MTU5NDc1MTEwNX0.G3P7JR97rKG9ckX9UD0kHtZ8sNWOKYsJDrFY5bz3RqE This request (with Token auth type) is NOT processed successfully : GET /user HTTP/1.1 Host: https://localhost:5001/api Content-Type: application/json X-Requested-With: XMLHttpRequest Authorization: Token eyJhbGciOiJIUzI1NiIsInR5c...
JleHAiOjE1OTUzNTU5MDUsImlhdCI6MTU5NDc1MTEwNX0.G3P7JR97rKG9ckX9UD0kHtZ8sNWOKYsJDrFY5bz3RqE This request (with Token auth type) is NOT processed successfully : GET /user HTTP/1.1 Host: https://localhost:5001/api Content-Type: application/json X-Requested-With: XMLHttpRequest Authorization: Token eyJhbGciOiJIUzI1NiIsInR5c...
[ -0.036376953125, 0.0279541015625, -0.00537109375, -0.0191650390625, 0.003204345703125, 0.0035552978515625, 0.016845703125, -0.0029449462890625, 0.002410888671875, 0.00341796875, 0.004150390625, 0.041259765625, -0.01385498046875, 0.00439453125, 0.00171661376953125, -0.001922607421875, ...
[ 821, 133, 11487, 647, 19454, 594, 7, 568, 17304, 910, 758, 238, 418, 434, 166989, 2389, 5, 724, 363, 683, 966, 14773, 42, 1126, 2594, 1542, 26119, 92, 841, 18, 1511, 1019, 43789, 32272, 919, 1723, 169, 3293, 50336, 15, 76228, 717, 1...
[ 0.063232421875, 0.0662841796875, 0.1004638671875, 0.056884765625, 0.03857421875, 0.011444091796875, 0.011688232421875, 0.01153564453125, 0.024444580078125, 0.011566162109375, 0.011383056640625, 0.01153564453125, 0.011505126953125, 0.011566162109375, 0.032196044921875, 0.01153564453125,...
embed
74746808_c0
74746808
fsharp
0
Title: ECDsa - ASN1 corrupted data Problem title: ECDsa - ASN1 corrupted data Tags: openssl, ecdsa, f%23 Problem: ECDsa - ASN1 corrupted data Code signals: System.Security.Cryptography.CryptographicException, System.Formats.Asn1.AsnContentException, ECDsa, ASN1, prime256v1, private-key-02.der, DER, ECDsa.Create, System...
ECDsa - ASN1 corrupted data ECDsa - ASN1 corrupted data openssl ecdsa f%23 System.Security.Cryptography.CryptographicException System.Formats.Asn1.AsnContentException ECDsa ASN1 prime256v1 private-key-02.der DER ECDsa.Create System.IO.File.ReadAllBytes Path priate-key-02.der es.ImportPkcs8PrivateKey Universal System.Fo...
[ 0.026123046875, 0.0194091796875, -0.0224609375, 0.007080078125, 0.02197265625, 0.006622314453125, 0.0037841796875, 0.010498046875, -0.008056640625, -0.004730224609375, -0.00180816650390625, 0.012939453125, 0.00640869140625, 0.03076171875, 0.02197265625, -0.006134033203125, -0.0048522...
[ 241, 16069, 433, 20, 62, 61533, 418, 66157, 297, 2053, 9803, 24861, 28, 71574, 1238, 3949, 3742, 12353, 20287, 239159, 87168, 48461, 19279, 102973, 19659, 19, 25352, 20809, 127892, 334, 14375, 19770, 88296, 820, 18044, 63784, 17780, 174350, ...
[ 0.0933837890625, 0.1851806640625, 0.1962890625, 0.00457763671875, 0.07958984375, 0.2108154296875, 0.1507568359375, 0.236328125, 0.07452392578125, 0.1376953125, 0.10125732421875, 0.1346435546875, 0.027984619140625, 0.130859375, 0.020355224609375, 0.00299072265625, 0.0982666015625, 0...
embed
72012499_c0
72012499
fsharp
0
Title: F# - Compare LanguagePrimitives.GenericZero with a value passed on the class contructor Problem title: F# - Compare LanguagePrimitives.GenericZero with a value passed on the class contructor Tags: f%23 Problem: F# - Compare LanguagePrimitives.GenericZero with a value passed on the class contructor Following the ...
F# - Compare LanguagePrimitives.GenericZero with a value passed on the class contructor F# - Compare LanguagePrimitives.GenericZero with a value passed on the class contructor f%23 Compare LanguagePrimitives.GenericZero IValidationCheck Validate Result NumberIsPositiveCheck property:string this.Validate IComparable get...
[ -0.02099609375, -0.00750732421875, 0.01416015625, -0.0028533935546875, 0.00860595703125, -0.0091552734375, 0.00836181640625, -0.01220703125, -0.006072998046875, -0.00360107421875, 0.00286865234375, 0.0125732421875, 0.00994873046875, -0.00567626953125, -0.00185394287109375, -0.006683349...
[ 563, 4904, 113307, 13, 83658, 145111, 14, 42991, 135932, 1511, 4036, 678, 34292, 115081, 98, 18507, 158, 9774, 18770, 12259, 1238, 3742, 7610, 1799, 85, 202567, 25447, 126684, 103332, 29598, 7192, 172, 57266, 91693, 903, 42272, 87, 108161, ...
[ 0.099365234375, 0.1590576171875, 0.1541748046875, 0.0633544921875, 0.153076171875, 0.13427734375, 0.054290771484375, 0.10394287109375, 0.093017578125, 0.1602783203125, 0.2244873046875, 0.045623779296875, 0.1859130859375, 0.114013671875, 0.01165771484375, 0.1492919921875, 0.0470581054...
embed
46401521_c0
46401521
fsharp
0
Title: Multiple constructors and properties Problem title: Multiple constructors and properties Tags: f%23 Problem: Multiple constructors and properties I get the next errors with my source: 'Name' hasn't value You should call an alternate constructor Then, how do I the next class in F#? type Person = class member val ...
Multiple constructors and properties Multiple constructors and properties f%23 Multiple Person Name Age None Anonymous Hello this.Name this.Age this.Hello Alex Option Some Multiple constructors and properties I get the next errors with my source: 'Name' hasn't value You should call an alternate constructor Then, how do...
[ 0.01025390625, 0.00171661376953125, 0.022216796875, 0.027099609375, 0.01025390625, -0.00946044921875, 0.00946044921875, -0.000919342041015625, 0.0037689208984375, 0.003814697265625, 0.00579833984375, 0.01318359375, 0.0166015625, 0.00171661376953125, 0.01007080078125, 0.00445556640625, ...
[ 19335, 8705, 64549, 25251, 136, 183871, 1238, 3949, 3742, 15270, 15757, 72944, 438, 180585, 35378, 903, 163612, 284, 429, 13817, 20984, 86769, 11737, 18499, 7, 678, 31344, 1556, 18, 34292, 5608, 11782, 75939, 13, 748, 3642, 70, 18507, 23, ...
[ 0.1849365234375, 0.180908203125, 0.2117919921875, 0.1878662109375, 0.1165771484375, 0.2237548828125, 0.08123779296875, 0.002777099609375, 0.1146240234375, 0.169677734375, 0.128662109375, 0.206298828125, 0.0731201171875, 0.09136962890625, 0.034942626953125, 0.1214599609375, 0.21557617...
embed
55405068_c0
55405068
fsharp
0
Title: F# equivalent of C# async event handler in Xamarin iOS Problem title: F# equivalent of C# async event handler in Xamarin iOS Tags: xamarin, xamarin.ios, f%23 Problem: F# equivalent of C# async event handler in Xamarin iOS This answer shows assigning a button TouchUpInside event handler with the following syntax:...
F# equivalent of C# async event handler in Xamarin iOS F# equivalent of C# async event handler in Xamarin iOS xamarin xamarin.ios f%23 Xamarin TouchUpInside btnSave.TouchUpInside Createuser btnSave.TouchUpInside.Add Async.StartAsTask Async.Start xamarin.ios F# equivalent of C# async event handler in Xamarin iOS This an...
[ -0.01312255859375, 0.0296630859375, 0.011962890625, -0.035400390625, 0.0009613037109375, 0.000652313232421875, 0.00946044921875, 0.005126953125, -0.0012359619140625, -0.03955078125, -0.0033416748046875, -0.006072998046875, 0.0030517578125, 0.005401611328125, 0.022216796875, 0.003463745...
[ 563, 4904, 183234, 313, 10, 12654, 238, 19732, 35863, 8606, 44503, 13964, 23, 2459, 5790, 1238, 3742, 56811, 53234, 4153, 8752, 5464, 272, 221234, 151313, 65918, 126597, 19659, 9874, 95486, 77679, 25632, 6002, 86531, 997, 1369, 645, 63033, ...
[ 0.14208984375, 0.193603515625, 0.1929931640625, 0.041015625, 0.014892578125, 0.19970703125, 0.051300048828125, 0.135009765625, 0.216064453125, 0.134521484375, 0.212646484375, 0.1871337890625, 0.0267486572265625, 0.1181640625, 0.14990234375, 0.069091796875, 0.11474609375, 0.15649414...
embed
52911052_c0
52911052
fsharp
0
Title: IClrTypeMapping vs ClrTypeMappingDescriptor Problem title: IClrTypeMapping vs ClrTypeMappingDescriptor Tags: asp.net-core-2.0, .net, elasticsearch, f%23, nest Problem: IClrTypeMapping vs ClrTypeMappingDescriptor I'm a new user of F#(.NETCore2.0/Ubuntu) and i'm trying to use it with Elasticsearch. In a quick Lab ...
IClrTypeMapping vs ClrTypeMappingDescriptor IClrTypeMapping vs ClrTypeMappingDescriptor asp.net-core-2.0 .net elasticsearch f%23 nest IClrTypeMapping ClrTypeMappingDescriptor System Nest Test FirstName FullName EntryPoint Configuration Uri ConnectionSettings settings.DefaultIndex settings.DefaultMappingFor m.IndexName ...
[ -0.036865234375, 0.0255126953125, 0.004913330078125, -0.018798828125, 0.006988525390625, -0.007293701171875, 0.007354736328125, -0.012939453125, -0.001953125, 0.0198974609375, 0.00982666015625, 0.0016326904296875, -0.006134033203125, 0.018798828125, 0.0269775390625, -0.005218505859375,...
[ 69010, 141, 42, 196707, 4613, 26783, 20209, 313, 397, 121707, 237, 254, 1179, 30854, 73011, 128766, 86250, 1238, 3949, 3742, 91280, 12353, 799, 271, 8647, 23972, 163612, 9312, 15123, 147534, 59994, 130885, 62448, 105548, 53550, 187423, 11, 41...
[ 0.090576171875, 0.099609375, 0.14306640625, 0.282470703125, 0.1783447265625, 0.171142578125, 0.1575927734375, 0.0201873779296875, 0.055511474609375, 0.2232666015625, 0.0244140625, 0.0777587890625, 0.0645751953125, 0.0931396484375, 0.157470703125, 0.1514892578125, 0.22607421875, 0.0...
embed
56520740_c1
56520740
fsharp
1
would then break ABNF precedence: Strings, names formation Comment Value range Repetition Grouping, optional Concatenation Alternative My question essentially boils down to this: How can I combine parsing of a single element that can be a sequence of elements or a single instance of an element? Please let me know if y...
would then break ABNF precedence: Strings, names formation Comment Value range Repetition Grouping, optional Concatenation Alternative My question essentially boils down to this: How can I combine parsing of a single element that can be a sequence of elements or a single instance of an element? Please let me know if y...
[ 0.02099609375, 0.026123046875, -0.028076171875, 0.0458984375, -0.0130615234375, 0.02001953125, -0.000583648681640625, -0.019287109375, 0.0186767578125, 0.005096435546875, 0.001922607421875, 0.020751953125, 0.00113677978515625, 0.006683349609375, 0.005096435546875, 0.0172119140625, 0....
[ 2806, 36356, 11321, 73493, 107671, 6620, 23351, 5180, 123055, 27643, 16277, 190060, 37457, 63065, 10760, 214, 35829, 1657, 4460, 33, 103905, 9655, 85590, 7565, 11249, 831, 87, 70163, 366, 6953, 11001, 12830, 186, 40, 944, 3956, 80854, 110527,...
[ 0.048370361328125, 0.161376953125, 0.129638671875, 0.2288818359375, 0.1470947265625, 0.09222412109375, 0.166259765625, 0.14990234375, 0.1668701171875, 0.1478271484375, 0.1546630859375, 0.1282958984375, 0.1224365234375, 0.19189453125, 0.1673583984375, 0.0679931640625, 0.1640625, 0.0...
embed
70935612_c0
70935612
fsharp
0
Title: How to sum even numbers in a fibonacci list with F# Problem title: How to sum even numbers in a fibonacci list with F# Tags: fibonacci, f%23, algorithm, .net Problem: How to sum even numbers in a fibonacci list with F# I'm working through Project Euler to get more practice with F# and I'm getting hung up on the ...
How to sum even numbers in a fibonacci list with F# How to sum even numbers in a fibonacci list with F# fibonacci f%23 algorithm .net above How Seq.cache Seq.filter Seq.sum How to sum even numbers in a fibonacci list with F# I'm working through Project Euler to get more practice with F# and I'm getting hung up on the s...
[ -0.000942230224609375, 0.02783203125, 0.0159912109375, 0.0001926422119140625, -0.00762939453125, 0.017333984375, -0.003021240234375, 0.019287109375, 0.0164794921875, -0.0322265625, 0.006683349609375, 0.0024566650390625, -0.004852294921875, 0.00909423828125, 0.03466796875, 0.01062011718...
[ 11249, 47, 10554, 3853, 101935, 23, 809, 20990, 52544, 5303, 678, 563, 4904, 1238, 3949, 3742, 234873, 1179, 36917, 503, 864, 1430, 120337, 11832, 27331, 5177, 603, 41361, 80756, 86531, 40, 100094, 51515, 35782, 214, 195625, 67, 98767, 1751...
[ 0.0767822265625, 0.057861328125, 0.2393798828125, 0.2276611328125, 0.19873046875, 0.051849365234375, 0.1220703125, 0.142822265625, 0.177001953125, 0.1796875, 0.05853271484375, 0.1103515625, 0.185302734375, 0.06689453125, 0.0498046875, 0.16064453125, 0.12939453125, 0.10162353515625,...
embed
21513494_c0
21513494
fsharp
0
Title: Idiomatic constructors in F# Problem title: Idiomatic constructors in F# Tags: inline, f%23 Problem: Idiomatic constructors in F# I started with a small OpenGL wrapper and I run into a small problem. I usally create my data with records like this type Shader = { Handle : int } static member Create filepath stype...
Idiomatic constructors in F# Idiomatic constructors in F# inline f%23 Idiomatic Shader Handle Create VertexShader Shader.Create ShaderType.VertexShader FragmentShader ShaderType.FragmentShader VAO Idiomatic constructors in F# I started with a small OpenGL wrapper and I run into a small problem. I usally create my data ...
[ 0.00113677978515625, -0.0096435546875, -0.001861572265625, -0.006805419921875, -0.0087890625, -0.01611328125, -0.00677490234375, -0.006439208984375, 0.000736236572265625, -0.01458740234375, 0.015380859375, 0.002410888671875, 0.0025177001953125, -0.0216064453125, 0.01116943359375, -0.01...
[ 5670, 47148, 64549, 25251, 563, 4904, 23, 2256, 1238, 3742, 7224, 820, 10639, 151313, 1446, 24371, 40798, 63784, 196707, 15896, 235871, 310, 38901, 19336, 13527, 78703, 137565, 1264, 11675, 2967, 1821, 28282, 2053, 115923, 1884, 11343, 17368, ...
[ 0.14892578125, 0.1307373046875, 0.185791015625, 0.107421875, 0.1156005859375, 0.2069091796875, 0.022247314453125, 0.10076904296875, 0.044708251953125, 0.0916748046875, 0.135009765625, 0.139404296875, 0.1146240234375, 0.1376953125, 0.0865478515625, 0.1080322265625, 0.1221923828125, ...
embed
10829645_c0
10829645
fsharp
0
Title: F# / Clojure to Javascript: interaction with environment and javascript libraries Problem title: F# / Clojure to Javascript: interaction with environment and javascript libraries Tags: javascript, f%23, clojure, clojurescript Problem: F# / Clojure to Javascript: interaction with environment and javascript librar...
F# / Clojure to Javascript: interaction with environment and javascript libraries F# / Clojure to Javascript: interaction with environment and javascript libraries javascript f%23 clojure clojurescript Clojure Javascript F# / Clojure to Javascript: interaction with environment and javascript libraries I've been looking...
[ -0.012451171875, 0.00433349609375, -0.017333984375, -0.00762939453125, -0.004974365234375, 0.0125732421875, -0.0125732421875, -0.005615234375, -0.02587890625, -0.020263671875, -0.00823974609375, -0.0172119140625, -0.012451171875, 0.008056640625, 0.005645751953125, -0.010009765625, -0...
[ 563, 4904, 248, 51053, 461, 107, 47, 74181, 182809, 678, 65998, 136, 136951, 35773, 1238, 3949, 3742, 20450, 32032, 123309, 46876, 831, 96760, 6626, 2663, 134523, 5636, 92814, 147845, 45533, 100, 139124, 15044, 3900, 19309, 7311, 3095, 30482,...
[ 0.10546875, 0.197021484375, 0.013824462890625, 0.1495361328125, 0.1622314453125, 0.12841796875, 0.1361083984375, 0.286376953125, 0.177978515625, 0.10076904296875, 0.1617431640625, 0.0897216796875, 0.216552734375, 0.1649169921875, 0.051483154296875, 0.018280029296875, 0.072998046875, ...
embed
27204334_c0
27204334
fsharp
0
Title: Exception being generated from .net RSACryptoServiceProvider.Enrypt method Problem title: Exception being generated from .net RSACryptoServiceProvider.Enrypt method Tags: rsa, exception, f%23, rsacryptoserviceprovider, unmanaged Problem: Exception being generated from .net RSACryptoServiceProvider.Enrypt method ...
Exception being generated from .net RSACryptoServiceProvider.Enrypt method Exception being generated from .net RSACryptoServiceProvider.Enrypt method rsa exception f%23 rsacryptoserviceprovider unmanaged net Exception RSACryptoServiceProvider.Enrypt Exception being generated from .net RSACryptoServiceProvider.Enrypt me...
[ 0.009521484375, 0.0380859375, -0.015625, -0.01544189453125, -0.006317138671875, -0.0184326171875, 0.01287841796875, 0.006011962890625, -0.023681640625, -0.04833984375, 0.0028839111328125, 0.00154876708984375, 0.02099609375, 0.033203125, 0.013427734375, 0.00021457672119140625, 0.01275...
[ 5443, 63928, 8035, 139392, 1295, 1179, 130424, 239159, 121979, 177997, 7768, 1294, 6328, 55300, 62160, 24666, 131527, 1238, 3949, 3742, 136791, 22584, 93136, 51, 4707, 17704, 2043, 24145, 12960, 96759, 20028, 10975, 150631, 26008, 4677, 581, 11...
[ 0.10888671875, 0.225830078125, 0.01251220703125, 0.19189453125, 0.066650390625, 0.189453125, 0.147216796875, 0.11328125, 0.1202392578125, 0.1082763671875, 0.085693359375, 0.174072265625, 0.216064453125, 0.149169921875, 0.038177490234375, 0.134033203125, 0.215576171875, 0.0582275390...
embed
26737560_c0
26737560
fsharp
0
Title: Modelling dice rolls in F# Problem title: Modelling dice rolls in F# Tags: f%23 Problem: Modelling dice rolls in F# I am doing some Monte Carlo simulations on dice rolls using F# and I am using integers to represent a single roll of a dice and a list of integers to represent a list of dice rolls. I would like to...
Modelling dice rolls in F# Modelling dice rolls in F# f%23 Modelling Modelling dice rolls in F# I am doing some Monte Carlo simulations on dice rolls using F# and I am using integers to represent a single roll of a dice and a list of integers to represent a list of dice rolls. I would like to be able to model the dice ...
[ -0.011474609375, -0.005584716796875, 0.0120849609375, 0.005096435546875, 0.0013427734375, 0.00958251953125, -0.00921630859375, 0.003662109375, 0.0162353515625, -0.0040283203125, 0.0167236328125, 0.005767822265625, -0.01275634765625, 0.0235595703125, 0.01220703125, 0.0172119140625, 0....
[ 49475, 13747, 21972, 23, 563, 4904, 214, 1238, 3949, 3742, 17629, 83551, 40226, 17368, 892, 26255, 33636, 11001, 5303, 1884, 19048, 3299, 64457, 237, 10644, 4734, 305, 5609, 2806, 62816, 48242, 2132, 162, 248, 19010, 45757, 183871, 135421, ...
[ 0.2039794921875, 0.1700439453125, 0.172607421875, 0.020294189453125, 0.1241455078125, 0.2261962890625, 0.0280914306640625, 0.04840087890625, 0.0318603515625, 0.1243896484375, 0.0310211181640625, 0.1265869140625, 0.100341796875, 0.072998046875, 0.123046875, 0.1319580078125, 0.13330078...
embed
6198168_c0
6198168
fsharp
0
Title: Projecting a list of lists efficiently in F# Problem title: Projecting a list of lists efficiently in F# Tags: f%23, list, performance Problem: Projecting a list of lists efficiently in F# I have to do projection of a list of lists which returns all combinations with each element from each list. For example: pro...
Projecting a list of lists efficiently in F# Projecting a list of lists efficiently in F# f%23 list performance Projecting lss0 ls::lss List.fold List.map fss0 List.init fss1 Projecting a list of lists efficiently in F# I have to do projection of a list of lists which returns all combinations with each element from eac...
[ -0.0257568359375, 0.0137939453125, 0.007110595703125, -0.00811767578125, -0.0145263671875, -0.0283203125, -0.01263427734375, 0.000965118408203125, -0.0087890625, -0.0179443359375, 0.017822265625, 0.0108642578125, 0.00872802734375, 0.00144195556640625, -0.027099609375, -0.00318908691406...
[ 27331, 5303, 111, 7, 93766, 563, 4904, 1238, 3742, 23718, 96, 2389, 8080, 32036, 42822, 62346, 217, 765, 13452, 1830, 10, 30646, 756, 162515, 678, 12638, 12830, 1295, 1380, 1257, 32354, 136, 3034, 58437, 32233, 72803, 5036, 541, 2203, 209...
[ 0.22314453125, 0.21240234375, 0.004913330078125, 0.06494140625, 0.156494140625, 0.1412353515625, 0.212158203125, 0.08734130859375, 0.1439208984375, 0.161865234375, 0.0321044921875, 0.072998046875, 0.0595703125, 0.1845703125, 0.115966796875, 0.05352783203125, 0.006988525390625, 0.01...
embed
21338472_c0
21338472
fsharp
0
Title: Check list for consecutive values within range (F#) Problem title: Check list for consecutive values within range (F#) Tags: list, f%23 Problem: Check list for consecutive values within range (F#) In a sorted list of 10 numbers, I want to find out whether any 5 consecutive numbers are within a certain range. For...
Check list for consecutive values within range (F#) Check list for consecutive values within range (F#) list f%23 Check iStellSize-1 Check list for consecutive values within range (F#) In a sorted list of 10 numbers, I want to find out whether any 5 consecutive numbers are within a certain range. For reference: This is...
[ -0.023193359375, -0.00787353515625, 0.00762939453125, -0.000766754150390625, -0.017333984375, 0, 0.01409912109375, 0.01300048828125, 0.00299072265625, 0.033447265625, 0.0206298828125, 0.0159912109375, 0.004852294921875, -0.0185546875, 0.00506591796875, 0.009033203125, 0.0145874023437...
[ 38679, 5303, 100, 148390, 13, 142424, 28032, 37457, 919, 4904, 1238, 3742, 17, 68551, 1181, 127167, 5759, 17497, 209, 101935, 3444, 7413, 1810, 36766, 2499, 190, 621, 24233, 91067, 90791, 37219, 6664, 132481, 13579, 19069, 23208, 32354, 30646...
[ 0.186767578125, 0.175537109375, 0.008270263671875, 0.2509765625, 0.059906005859375, 0.177490234375, 0.1685791015625, 0.2081298828125, 0.0484619140625, 0.1328125, 0.043792724609375, 0.11669921875, 0.05133056640625, 0.1336669921875, 0.0994873046875, 0.1651611328125, 0.08697509765625, ...
embed
70747817_c0
70747817
fsharp
0
Title: Can someone clarify the use cases betwen Task and Async in F# 6? Problem title: Can someone clarify the use cases betwen Task and Async in F# 6? Tags: task, asynchronous, f%23 Problem: Can someone clarify the use cases betwen Task and Async in F# 6? I have read this article: https://www.compositional-it.com/news...
Can someone clarify the use cases betwen Task and Async in F# 6? Can someone clarify the use cases betwen Task and Async in F# 6? task asynchronous f%23 Can Task Async Async.RunSynchronously Can someone clarify the use cases betwen Task and Async in F# 6? I have read this article: https://www.compositional-it.com/news-...
[ -0.004974365234375, 0.0021209716796875, 0.0177001953125, -0.01312255859375, 0.01513671875, 0.0012969970703125, 0.00970458984375, 0.0036773681640625, 0.00860595703125, -0.00677490234375, 0.0162353515625, 0.01092529296875, 0.002105712890625, -0.00537109375, 0.0272216796875, 0.01055908203...
[ 17306, 40383, 4527, 50218, 1600, 11697, 9598, 92, 136, 62, 12654, 238, 563, 4904, 305, 23, 66211, 10, 101966, 1238, 3742, 4171, 163321, 217835, 127, 1900, 79850, 22008, 12301, 40322, 217, 1073, 18043, 11, 114419, 2289, 125195, 21373, 60212,...
[ 0.0963134765625, 0.0687255859375, 0.1600341796875, 0.17578125, 0.05560302734375, 0.1517333984375, 0.2431640625, 0.201904296875, 0.02587890625, 0.0638427734375, 0.247802734375, 0.1539306640625, 0.0753173828125, 0.12158203125, 0.157958984375, 0.0279998779296875, 0.2724609375, 0.08258...
embed
46704201_c0
46704201
fsharp
0
Title: When to use parentheses on method declaration? Problem title: When to use parentheses on method declaration? Tags: f%23 Problem: When to use parentheses on method declaration? If I declare a method with no parameters and then call it (in F#-interactive), then I get the expected behaviour: "test" is displayed on ...
When to use parentheses on method declaration? When to use parentheses on method declaration? f%23 When Local Temp FS0003 When to use parentheses on method declaration? If I declare a method with no parameters and then call it (in F#-interactive), then I get the expected behaviour: "test" is displayed on screen. Howeve...
[ 0.006439208984375, 0.01300048828125, 0.00022792816162109375, 0.0106201171875, -0.007659912109375, 0.0026092529296875, 0.0030670166015625, -0.0004291534423828125, -0.00152587890625, 0.0037689208984375, -0.0032196044921875, -0.023193359375, -0.0198974609375, 0.0006866455078125, 0.013366699...
[ 14847, 4527, 49129, 35412, 90, 98, 55300, 21635, 1363, 1238, 3742, 24172, 37446, 93774, 9508, 363, 159978, 678, 110, 171859, 11782, 563, 4904, 10433, 71232, 84751, 224833, 6954, 44116, 49119, 15490, 12921, 123166, 28219, 44084, 221, 26008, 35...
[ 0.0787353515625, 0.12451171875, 0.1832275390625, 0.2198486328125, 0.141845703125, 0.021942138671875, 0.2275390625, 0.2213134765625, 0.04327392578125, 0.033447265625, 0.08831787109375, 0.09375, 0.1839599609375, 0.070068359375, 0.046051025390625, 0.06982421875, 0.2005615234375, 0.041...
embed
69399247_c0
69399247
fsharp
0
Title: Why isn&#x27;t F# Interactive displaying line of code after &quot;send selection to F# Interactive&quot; is clicked? Problem title: Why isn&#x27;t F# Interactive displaying line of code after &quot;send selection to F# Interactive&quot; is clicked? Tags: f%23, f%23-interactive, visual-studio-mac Problem: Why isn...
Why isn&#x27;t F# Interactive displaying line of code after &quot;send selection to F# Interactive&quot; is clicked? Why isn&#x27;t F# Interactive displaying line of code after &quot;send selection to F# Interactive&quot; is clicked? f%23 f%23-interactive visual-studio-mac Why Interactive Why isn't F# Interactive displ...
[ -0.00689697265625, 0.000946044921875, 0.0228271484375, 0.01904296875, -0.0037078857421875, 0.01031494140625, 0.015869140625, 0.00634765625, 0.0022735595703125, 0.0439453125, -0.0196533203125, -0.02392578125, -0.0218505859375, 0.019775390625, 0.01519775390625, 0.00457763671875, 0.0211...
[ 44084, 56112, 3768, 18, 563, 4904, 5337, 71232, 44116, 13315, 18151, 7103, 39285, 132216, 47, 18158, 1238, 27495, 10433, 21176, 52629, 35572, 3525, 73372, 22968, 25632, 57143, 13452, 5885, 127308, 294, 3611, 76896, 50065, 1284, 33720, 959, 81...
[ 0.0906982421875, 0.0977783203125, 0.0160064697265625, 0.1173095703125, 0.109619140625, 0.2109375, 0.1639404296875, 0.211669921875, 0.1878662109375, 0.127197265625, 0.1976318359375, 0.0692138671875, 0.1436767578125, 0.19091796875, 0.1134033203125, 0.1800537109375, 0.07891845703125, ...
embed
17863121_c0
17863121
fsharp
0
Title: F# Compilation Error on Windows 8.1 Pro VS 2012 Problem title: F# Compilation Error on Windows 8.1 Pro VS 2012 Tags: windows-8.1, f%23-3.0, visual-studio-2012, f%23 Problem: F# Compilation Error on Windows 8.1 Pro VS 2012 I am very new to F# and F# on visual studio. I just created a F# application and created a ...
F# Compilation Error on Windows 8.1 Pro VS 2012 F# Compilation Error on Windows 8.1 Pro VS 2012 windows-8.1 f%23-3.0 visual-studio-2012 f%23 Compilation Error Windows Pro FSharp.Core.sigdata FSharp.Core FSC Microsoft.Net GAC_MSIL v4.0_4.3.0.0__b03f5f7f11d50a3a FSharp.Core.dll Problem Version Culture PublicKeyToken b03f...
[ 0.00653076171875, 0.01708984375, 0.00156402587890625, -0.015625, 0.0001964569091796875, -0.0031585693359375, -0.022705078125, 0.00927734375, -0.01806640625, -0.01708984375, -0.0162353515625, -0.01806640625, 0.005462646484375, 0.0155029296875, 0.02685546875, -0.0032806396484375, 0.009...
[ 563, 4904, 15612, 14, 57860, 212059, 98, 3773, 70885, 1250, 44160, 1324, 54825, 206730, 1238, 27495, 132265, 21176, 52629, 54458, 3742, 93774, 3467, 254, 50886, 20561, 10135, 208155, 7244, 24447, 527, 15012, 68785, 151152, 158406, 99929, 1181, ...
[ 0.18212890625, 0.25439453125, 0.1766357421875, 0.1376953125, 0.07891845703125, 0.186279296875, 0.0262603759765625, 0.124267578125, 0.233154296875, 0.152587890625, 0.18359375, 0.1888427734375, 0.075927734375, 0.17919921875, 0.1175537109375, 0.0266571044921875, 0.0938720703125, 0.151...
embed
19451737_c1
19451737
fsharp
1
add name="Npgsql Data Provider" invariant="Npgsql" description="Data Provider for PostgreSQL" type="Npgsql.NpgsqlFactory, Npgsql" /> </DbProviderFactories> </system.data> <connectionStrings> <add name="MyDBContext" connectionString="Server=******;Database=mydb;User Id=uid;Password=passwd;" providerName="Npgsql" /> </co...
add name="Npgsql Data Provider" invariant="Npgsql" description="Data Provider for PostgreSQL" type="Npgsql.NpgsqlFactory, Npgsql" /> </DbProviderFactories> </system.data> <connectionStrings> <add name="MyDBContext" connectionString="Server=******;Database=mydb;User Id=uid;Password=passwd;" providerName="Npgsql" /> </co...
[ 0.034423828125, 0.03369140625, 0.00787353515625, 0.0050048828125, 0.00012493133544921875, 0.0211181640625, 0.0002918243408203125, -0.01177978515625, -0.01385498046875, -0.06884765625, -0.0023651123046875, -0.0089111328125, 0.005126953125, -0.0172119140625, -0.0135498046875, 0.000135421...
[ 15190, 9351, 839, 254, 9405, 99247, 11809, 123089, 42, 23, 162591, 58, 76811, 137989, 2795, 7134, 158897, 10644, 135518, 31667, 6, 275, 177997, 62160, 3826, 90, 2740, 16751, 5, 10135, 135457, 1830, 71713, 5180, 4426, 11, 4028, 22422, 31852,...
[ 0.161865234375, 0.147216796875, 0.0623779296875, 0.1097412109375, 0.1541748046875, 0.22509765625, 0.112548828125, 0.21875, 0.13134765625, 0.05645751953125, 0.251953125, 0.007049560546875, 0.0628662109375, 0.1204833984375, 0.06585693359375, 0.1533203125, 0.1856689453125, 0.092468261...
embed
49321244_c0
49321244
fsharp
0
Title: JSON serialization for option types Problem title: JSON serialization for option types Tags: f%23, datacontractjsonserializer Problem: JSON serialization for option types I'm running across an issue when I define a field of option type while serializing for JSON. Before works (without option) [<DataContract>] ty...
JSON serialization for option types JSON serialization for option types f%23 datacontractjsonserializer JSON DataContract Article DataMemberAttribute Name request.GetResponse HttpWebResponse StreamReader response.GetResponseStream MemoryStream ASCIIEncoding.Default.GetBytes reader.ReadToEnd DataContractJsonSerializer R...
[ 0.01318359375, 0.0244140625, 0.0013427734375, -0.0037689208984375, -0.01080322265625, -0.0196533203125, -0.01153564453125, 0.008544921875, -0.0247802734375, 0.005462646484375, -0.0031280517578125, 0.0203857421875, 0.0126953125, 0.003662109375, 0.015380859375, 0.01953125, 0.0035552978...
[ 821, 58627, 35686, 47691, 100, 35829, 52895, 1238, 3949, 3742, 2053, 184103, 170, 1681, 43048, 1799, 4383, 11809, 39989, 24241, 27417, 191145, 15757, 50336, 94399, 115061, 31345, 57553, 172681, 125429, 10001, 587, 187423, 155255, 7763, 152378, ...
[ 0.1439208984375, 0.218017578125, 0.211181640625, 0.0928955078125, 0.074951171875, 0.256103515625, 0.2022705078125, 0.0499267578125, 0.0487060546875, 0.1339111328125, 0.03155517578125, 0.17041015625, 0.052978515625, 0.1241455078125, 0.10498046875, 0.028045654296875, 0.0850830078125, ...
embed
35751072_c0
35751072
fsharp
0
Title: Q: F#: Iterate through highscore file and pick top 3 Problem title: Q: F#: Iterate through highscore file and pick top 3 Tags: console-application, f%23 Problem: Q: F#: Iterate through highscore file and pick top 3 On my mission to master F# I'm creating a pocket game. I'm at the point where I want to implement ...
Q: F#: Iterate through highscore file and pick top 3 Q: F#: Iterate through highscore file and pick top 3 console-application f%23 Iterate Name stopWatch.Elapsed.Seconds File.ReadAllText hiscore.txt File.WriteAllText ANY Q: F#: Iterate through highscore file and pick top 3 On my mission to master F# I'm creating a pock...
[ -0.00830078125, -0.006439208984375, 0.0235595703125, -0.00063323974609375, -0.01141357421875, -0.005462646484375, -0.0003032684326171875, 0.004852294921875, -0.0181884765625, 0.01275634765625, 0.0103759765625, -0.00604248046875, -0.01031494140625, -0.01141357421875, 0.0087890625, -0.00...
[ 2396, 563, 4904, 12, 87, 8560, 67, 8305, 11192, 7, 30854, 11435, 39580, 2663, 138, 130250, 101687, 1238, 3742, 15757, 7279, 156378, 127966, 2271, 42724, 31345, 43512, 174379, 1919, 124326, 93333, 29752, 31347, 105233, 151002, 6712, 3444, 2947...
[ 0.04107666015625, 0.12890625, 0.2108154296875, 0.006317138671875, 0.0275115966796875, 0.21435546875, 0.046783447265625, 0.10418701171875, 0.1568603515625, 0.0538330078125, 0.1895751953125, 0.1865234375, 0.1424560546875, 0.1217041015625, 0.1751708984375, 0.1724853515625, 0.14733886718...
embed
43728247_c0
43728247
fsharp
0
Title: How can I calculate the cartesian product of n lists of different types? Problem title: How can I calculate the cartesian product of n lists of different types? Tags: list, f%23, cartesian-product Problem: How can I calculate the cartesian product of n lists of different types? The following code (sorry, I do no...
How can I calculate the cartesian product of n lists of different types? How can I calculate the cartesian product of n lists of different types? list f%23 cartesian-product How outer2 List.collect List.map How can I calculate the cartesian product of n lists of different types? The following code (sorry, I do not reme...
[ 0.0179443359375, 0.01171875, -0.0033111572265625, 0.017822265625, -0.00885009765625, -0.002532958984375, 0.00946044921875, -0.01422119140625, 0.00836181640625, 0.00099945068359375, -0.00897216796875, -0.000942230224609375, -0.00628662109375, 0.01177978515625, -0.012451171875, 0.0004272...
[ 11249, 831, 74481, 67, 70, 129912, 3378, 12996, 111, 653, 5303, 7, 12921, 52895, 1238, 3742, 57877, 1810, 56, 304, 32036, 196352, 62346, 87, 25632, 18151, 1636, 6626, 1543, 33022, 32354, 80854, 4720, 458, 8705, 7941, 65042, 370, 70541, 17...
[ 0.042816162109375, 0.034149169921875, 0.20849609375, 0.06097412109375, 0.0418701171875, 0.1888427734375, 0.153564453125, 0.284912109375, 0.03485107421875, 0.1329345703125, 0.24658203125, 0.06085205078125, 0.1700439453125, 0.2083740234375, 0.0279693603515625, 0.0931396484375, 0.243652...
embed
46672497_c1
46672497
fsharp
1
float[,] //Create matrix of zeroes of chunk size to initilize this variable let matrix = Array2D.zeroCreate<float> 9 9 //locate center of shape // since each shape is a square, or can be inscribed within one, pass it a matrix and find the // coordinate of the center (same value for i and j) ///Finds center of shape in...
float[,] //Create matrix of zeroes of chunk size to initilize this variable let matrix = Array2D.zeroCreate<float> 9 9 //locate center of shape // since each shape is a square, or can be inscribed within one, pass it a matrix and find the // coordinate of the center (same value for i and j) ///Finds center of shape in...
[ 0.00836181640625, 0.0169677734375, 0.0029296875, -0.007110595703125, -0.002777099609375, -0.00811767578125, -0.0084228515625, -0.003875732421875, -0.000949859619140625, 0.032470703125, -0.014404296875, 0.00823974609375, -0.0084228515625, -0.006195068359375, 0.023681640625, -0.014587402...
[ 21917, 257, 1065, 4, 4666, 63784, 2182, 50944, 425, 111, 45234, 90, 7839, 92, 13267, 23, 1890, 119066, 903, 77336, 2633, 69253, 53, 304, 397, 80510, 52347, 483, 116292, 27585, 115700, 16792, 12638, 83, 108047, 707, 831, 34601, 28032, 1632...
[ 0.1700439453125, 0.0673828125, 0.0220489501953125, 0.00311279296875, 0.0789794921875, 0.1702880859375, 0.0682373046875, 0.22900390625, 0.1375732421875, 0.092041015625, 0.22802734375, 0.08734130859375, 0.143310546875, 0.03460693359375, 0.0882568359375, 0.053070068359375, 0.08239746093...
embed
38515093_c1
38515093
fsharp
1
([ProvidedParameter("sqlConnection", typeof<string>)], BaseConstructorCall = (fun args -> dbContextCtor, args), InvokeCode = fun args -> Expr.NewObject(dbContextCtor, [ args.[1] ])) contextType.AddMember(defaultCtor) contextType.AddMember(stringCtor) ... // Add a DbSet field and property for each table to the context t...
([ProvidedParameter("sqlConnection", typeof<string>)], BaseConstructorCall = (fun args -> dbContextCtor, args), InvokeCode = fun args -> Expr.NewObject(dbContextCtor, [ args.[1] ])) contextType.AddMember(defaultCtor) contextType.AddMember(stringCtor) ... // Add a DbSet field and property for each table to the context t...
[ 0.0186767578125, 0.027099609375, 0.007598876953125, 0.011474609375, -0.0252685546875, -0.0003814697265625, -0.007415771484375, -0.0177001953125, 0.006744384765625, -0.0311279296875, -0.00021839141845703125, -0.000278472900390625, 0.0240478515625, 0.0272216796875, -0.0194091796875, 0.01...
[ 15, 10752, 5518, 297, 55292, 29089, 99247, 235603, 1830, 10644, 4390, 91693, 16, 44978, 11935, 36716, 748, 441, 5584, 2203, 16498, 79459, 7, 40041, 22829, 1290, 360, 23253, 13, 114211, 7477, 33079, 60075, 42, 46568, 46471, 75161, 48073, 254...
[ 0.0032958984375, 0.1175537109375, 0.2161865234375, 0.10150146484375, 0.12158203125, 0.1341552734375, 0.201416015625, 0.1458740234375, 0.06329345703125, 0.18994140625, 0.1123046875, 0.1279296875, 0.001373291015625, 0.1888427734375, 0.0714111328125, 0.19091796875, 0.09564208984375, 0...
embed
46581532_c0
46581532
fsharp
0
Title: If private entities in F# compile to internal, why doesn&#x27;t InternalsVisibleTo work? Problem title: If private entities in F# compile to internal, why doesn&#x27;t InternalsVisibleTo work? Tags: f%23, internalsvisibleto, private, cil Problem: If private entities in F# compile to internal, why doesn't Interna...
If private entities in F# compile to internal, why doesn&#x27;t InternalsVisibleTo work? If private entities in F# compile to internal, why doesn&#x27;t InternalsVisibleTo work? f%23 internalsvisibleto private cil this InternalsVisibleTo MyNamespace.Foo Bar Baz MyNamespace.Tests If private entities in F# compile to int...
[ 0.0052490234375, 0.00738525390625, 0.005096435546875, 0.02197265625, -0.0211181640625, 0.0062255859375, -0.00347900390625, -0.0206298828125, -0.0162353515625, -0.004608154296875, 0.005401611328125, 0.023681640625, -0.006988525390625, 0.0279541015625, 0.0157470703125, -0.003448486328125...
[ 14375, 77630, 2449, 563, 4904, 9969, 1340, 47, 70796, 15400, 22027, 3768, 18, 106745, 8080, 6609, 55356, 7763, 4488, 1238, 7, 99017, 188, 13003, 2646, 163612, 65421, 27591, 3253, 36490, 111337, 40401, 48502, 5201, 13452, 32354, 61924, 89845, ...
[ 0.205810546875, 0.15380859375, 0.034576416015625, 0.1395263671875, 0.2415771484375, 0.1451416015625, 0.1025390625, 0.0361328125, 0.22216796875, 0.110107421875, 0.046722412109375, 0.0089111328125, 0.03924560546875, 0.200927734375, 0.15478515625, 0.2254638671875, 0.208740234375, 0.18...
embed
44446588_c1
44446588
fsharp
1
tell Npgsql to make use of my type when passed as a parameter to postgresql functions/procedures? It looks like I will need to use NpgsqTypes.NpgsqlDbType.Composite or Npgsql.PostgresCompositeType which doesn't have a constructor that is public. I am at a dead end here! Approach 2 Taking cue from this post , I could c...
tell Npgsql to make use of my type when passed as a parameter to postgresql functions/procedures? It looks like I will need to use NpgsqTypes.NpgsqlDbType.Composite or Npgsql.PostgresCompositeType which doesn't have a constructor that is public. I am at a dead end here! Approach 2 Taking cue from this post , I could c...
[ 0.0024261474609375, 0.01129150390625, -0.01513671875, 0.022216796875, -0.0230712890625, 0.015625, -0.006317138671875, -0.01611328125, 0.003936767578125, -0.0157470703125, 0.0027008056640625, 0.0211181640625, -0.00127410888671875, -0.007659912109375, -0.0103759765625, 0.0031585693359375...
[ 14192, 541, 254, 9405, 99247, 3249, 4527, 111, 759, 10644, 3229, 115081, 237, 171859, 47, 1305, 17562, 32354, 7, 232578, 33342, 3871, 864, 196707, 275, 10770, 77087, 13, 49411, 22027, 18, 765, 64549, 748, 450, 83, 3835, 444, 99, 103494, ...
[ 0.1612548828125, 0.076171875, 0.0892333984375, 0.123291015625, 0.2078857421875, 0.07086181640625, 0.160888671875, 0.04119873046875, 0.055908203125, 0.265869140625, 0.0020751953125, 0.1400146484375, 0.038818359375, 0.20654296875, 0.045166015625, 0.074951171875, 0.13623046875, 0.1696...
embed
4556403_c0
4556403
fsharp
0
Title: How to implement a C# interface in F#? Problem title: How to implement a C# interface in F#? Tags: .net, c%23, f%23, inheritance Problem: How to implement a C# interface in F#? I would like to implement the following C# interface in F#: using System; using System.Collections.Generic; using System.Linq; using Sys...
How to implement a C# interface in F#? How to implement a C# interface in F#? .net c%23 f%23 inheritance System System.Collections.Generic System.Linq System.Text Mono.Addins How TypeExtensionPoint ISparqlCommand Name Run Dictionary NamespacesDictionary org.openrdf.repository.Repository Module1 MyClass this.Name Findin...
[ -0.01611328125, 0.0050048828125, -0.00958251953125, 0.025146484375, 0.006500244140625, 0.0184326171875, -0.00201416015625, -0.03271484375, 0.000064849853515625, -0.014892578125, 0.00830078125, 0.0130615234375, -0.031982421875, -0.01104736328125, 0.007415771484375, 0.004608154296875, ...
[ 11249, 47, 29479, 10, 313, 4904, 101758, 23, 563, 1179, 501, 3742, 1238, 3334, 217, 12353, 78457, 8996, 135932, 44982, 174379, 77879, 76224, 60457, 128872, 147534, 2500, 99247, 12018, 15757, 28398, 147638, 2096, 109164, 10763, 30910, 59636, 4...
[ 0.08740234375, 0.05609130859375, 0.2220458984375, 0.10302734375, 0.1029052734375, 0.2685546875, 0.271728515625, 0.109130859375, 0.180419921875, 0.1151123046875, 0.00201416015625, 0.0914306640625, 0.053955078125, 0.0980224609375, 0.037567138671875, 0.1051025390625, 0.01531982421875, ...
embed
25275157_c0
25275157
fsharp
0
Title: Encapsulate a multi pass algorithm comprised of operations Problem title: Encapsulate a multi pass algorithm comprised of operations Tags: f%23, functional-programming, types Problem: Encapsulate a multi pass algorithm comprised of operations I am trying to encapsulate the idea of "multiple passes" of a set of o...
Encapsulate a multi pass algorithm comprised of operations Encapsulate a multi pass algorithm comprised of operations f%23 functional-programming types Encapsulate Unit List.choose Perform Some Third None Encapsulate a multi pass algorithm comprised of operations I am trying to encapsulate the idea of "multiple passes"...
[ 0.0162353515625, 0.0050048828125, 0.0106201171875, 0.007720947265625, -0.02001953125, -0.028076171875, 0.004852294921875, -0.014892578125, 0.00909423828125, 0.00384521484375, -0.0057373046875, 0.020263671875, 0.0045166015625, 0.024658203125, -0.0030364990234375, 0.0213623046875, 0.00...
[ 357, 15644, 77593, 13, 6024, 27875, 234873, 48402, 297, 41018, 10, 1238, 3949, 3742, 123309, 28966, 52895, 46640, 32036, 3089, 8364, 169033, 31384, 198387, 438, 86, 31577, 22, 70, 6528, 144227, 8705, 10922, 5423, 2174, 87, 11675, 7, 27489, ...
[ 0.06640625, 0.1971435546875, 0.2169189453125, 0.03656005859375, 0.2047119140625, 0.2061767578125, 0.2353515625, 0.0992431640625, 0.006500244140625, 0.196533203125, 0.0144805908203125, 0.06744384765625, 0.0589599609375, 0.15673828125, 0.1328125, 0.1019287109375, 0.166259765625, 0.14...
embed
70911442_c0
70911442
fsharp
0
Title: I am not getting any syntax error highlights in VSCode and other errors Problem title: I am not getting any syntax error highlights in VSCode and other errors Tags: visual-studio-code, macos, f%23, .net Problem: I am not getting any syntax error highlights in VSCode and other errors I am learning F# syntax for m...
I am not getting any syntax error highlights in VSCode and other errors I am not getting any syntax error highlights in VSCode and other errors visual-studio-code macos f%23 .net 1 VSCode List.append Hello World Microsoft Interactive Copyright Corporation All Rights Reserved Users MyName Documents FS0010 Incomplete I a...
[ -0.012939453125, 0.005462646484375, 0.003570556640625, 0.006195068359375, 0.01239013671875, 0.000492095947265625, 0.005035400390625, -0.00020599365234375, 0.0084228515625, 0.0262451171875, -0.01708984375, -0.00494384765625, 0.0030364990234375, -0.002044677734375, 0.010498046875, -0.009...
[ 959, 20949, 2499, 6002, 86531, 18499, 127308, 7, 23, 44160, 114211, 3789, 21176, 52629, 40899, 7840, 1238, 3742, 1179, 106, 32036, 35378, 6661, 7244, 5337, 71232, 4189, 84829, 38927, 62713, 53400, 2646, 163612, 43101, 93774, 7049, 963, 277, ...
[ 0.09417724609375, 0.0694580078125, 0.05810546875, 0.1480712890625, 0.20361328125, 0.18408203125, 0.238037109375, 0.0421142578125, 0.0242767333984375, 0.2083740234375, 0.28564453125, 0.0003662109375, 0.142333984375, 0.1431884765625, 0.171142578125, 0.08355712890625, 0.052398681640625,...
embed
62973498_c0
62973498
fsharp
0
Title: Return from FOR ... IN in extension recursive method (F#)? Problem title: Return from FOR ... IN in extension recursive method (F#)? Tags: f%23, xamarin.ios, .net Problem: Return from FOR ... IN in extension recursive method (F#)? i newbe in F#. Can't deal with the syntax. I need to translate a recursive extensi...
Return from FOR ... IN in extension recursive method (F#)? Return from FOR ... IN in extension recursive method (F#)? f%23 xamarin.ios .net FOR ViewExtensions UIView FindFirstResponder view.IsFirstResponder view.Subviews subView.FindFirstResponder UIKit.UIView this.FindFirstResponder this.IsFirstResponder this.Subviews...
[ -0.0106201171875, 0.030517578125, 0.0208740234375, -0.003265380859375, 0.00090789794921875, -0.020751953125, -0.007598876953125, -0.0089111328125, -0.0045166015625, -0.05126953125, 0.0223388671875, -0.0098876953125, 0.0009765625, 0.0021514892578125, 0.01513671875, -0.0018463134765625, ...
[ 173340, 1295, 16087, 153, 5881, 23, 111938, 195625, 5844, 55300, 919, 4904, 1238, 3949, 3742, 2459, 44503, 5790, 1179, 29805, 19279, 128872, 111481, 100474, 26040, 207263, 4332, 18908, 820, 21455, 29598, 96472, 22751, 1614, 204582, 345, 217, ...
[ 0.239013671875, 0.1361083984375, 0.2388916015625, 0.1651611328125, 0.2646484375, 0.06903076171875, 0.195556640625, 0.207275390625, 0.1329345703125, 0.156005859375, 0.104248046875, 0.1768798828125, 0.08740234375, 0.033966064453125, 0.1636962890625, 0.0985107421875, 0.1961669921875, ...
embed
18969181_c0
18969181
fsharp
0
Title: F# Type Providers and Continuous Integration Problem title: F# Type Providers and Continuous Integration Tags: continuous-integration, f%23, type-providers Problem: F# Type Providers and Continuous Integration The type definition of an F# type provider often requires a constant expression, e.g. for the SQL type ...
F# Type Providers and Continuous Integration F# Type Providers and Continuous Integration continuous-integration f%23 type-providers Type Providers Continuous Integration SqlDataConnection Data Source MySqlServer Initial Catalog MyDatabase DbConnectionString System.Data.SqlClient F# Type Providers and Continuous Integr...
[ 0.020751953125, 0.005401611328125, 0.000171661376953125, -0.00799560546875, -0.01153564453125, 0.0096435546875, -0.0164794921875, -0.0159912109375, -0.01287841796875, -0.027587890625, -0.009033203125, -0.0169677734375, 0.01007080078125, 0.01446533203125, -0.006103515625, 0.01611328125,...
[ 563, 4904, 60457, 123089, 4295, 100761, 134701, 62005, 100743, 1238, 3949, 3742, 10644, 93136, 99247, 137989, 235603, 77641, 2646, 193348, 1890, 150917, 37382, 275, 71713, 150, 80934, 81450, 27983, 144570, 53697, 125195, 80866, 375, 266, 18151, ...
[ 0.1341552734375, 0.230224609375, 0.2264404296875, 0.18212890625, 0.040374755859375, 0.1209716796875, 0.1859130859375, 0.112548828125, 0.14892578125, 0.0753173828125, 0.002197265625, 0.07757568359375, 0.203857421875, 0.1552734375, 0.1171875, 0.03460693359375, 0.122314453125, 0.05981...
embed
27361674_c0
27361674
fsharp
0
Title: How do I Override ToString in a Composite Type in F#? Problem title: How do I Override ToString in a Composite Type in F#? Tags: overriding, composite-types, f%23 Problem: How do I Override ToString in a Composite Type in F#? I'm learning about creating composite* types in F# and I ran into a problem. I have thi...
How do I Override ToString in a Composite Type in F#? How do I Override ToString in a Composite Type in F#? overriding composite-types f%23 How Override ToString Composite Type MyType Bool Str this.ToString base.ToString Item How do I Override ToString in a Composite Type in F#? I'm learning about creating composite* t...
[ -0.006317138671875, -0.005279541015625, 0.0072021484375, 0.04833984375, 0.01263427734375, -0.009033203125, 0.01556396484375, 0.0150146484375, 0.0023345947265625, -0.00347900390625, -0.004638671875, 0.0019073486328125, 0.0152587890625, -0.003082275390625, 0.002166748046875, 0.0006179809...
[ 11249, 9578, 416, 112, 717, 71713, 214, 23, 3288, 77087, 60457, 563, 4904, 645, 6238, 375, 13, 50986, 1238, 3949, 3742, 2646, 196707, 2460, 929, 23351, 903, 7763, 3647, 78426, 52080, 1639, 52895, 2967, 10644, 18499, 46132, 73243, 64549, 7...
[ 0.0338134765625, 0.1195068359375, 0.1834716796875, 0.078125, 0.2005615234375, 0.223388671875, 0.117431640625, 0.027862548828125, 0.10693359375, 0.1917724609375, 0.1832275390625, 0.09613037109375, 0.15966796875, 0.1015625, 0.009063720703125, 0.0789794921875, 0.003387451171875, 0.181...
embed
39892704_c1
39892704
fsharp
1
, TestCtrl); } TestCtrl.prototype.Val1 = function Val1() { return "boom"; }; return TestCtrl; }(); _fableCore.Util.setInterfaces(TestCtrl.prototype, [], "App.TestCtrl"); app.controller("test", function (unitVar) { return new TestCtrl(); }); with unitVar being the problematic parameter introduced in this example. When I...
, TestCtrl); } TestCtrl.prototype.Val1 = function Val1() { return "boom"; }; return TestCtrl; }(); _fableCore.Util.setInterfaces(TestCtrl.prototype, [], "App.TestCtrl"); app.controller("test", function (unitVar) { return new TestCtrl(); }); with unitVar being the problematic parameter introduced in this example. When I...
[ 0.003631591796875, 0.0260009765625, 0.0022125244140625, -0.017333984375, -0.006927490234375, -0.01806640625, -0.000858306884765625, -0.0026397705078125, -0.0089111328125, -0.021484375, -0.0021514892578125, -0.01495361328125, 0.0036468505859375, 0.0220947265625, 0.0301513671875, 0.00946...
[ 8647, 4448, 141, 18606, 31, 50986, 42272, 418, 32354, 4769, 30646, 106834, 420, 2886, 50886, 3675, 3509, 44851, 40404, 111337, 39179, 4027, 81988, 603, 6954, 309, 217, 81827, 25072, 186560, 171859, 65508, 27781, 4527, 7693, 30618, 234, 9007, ...
[ 0.2149658203125, 0.1722412109375, 0.0943603515625, 0.099609375, 0.08843994140625, 0.169189453125, 0.1826171875, 0.0679931640625, 0.137451171875, 0.153076171875, 0.0811767578125, 0.163818359375, 0.056182861328125, 0.1771240234375, 0.0816650390625, 0.051727294921875, 0.0550537109375, ...
embed
17818412_c1
17818412
fsharp
1
"> let db = dbschema.GetDataContext() type QualityChecks(SingleIDToMatch) = let questionList ( q : string, SingleIDToMatch: string) = q.Split [| ','|] |> fun x -> x.Equals(SingleIDToMatch) Code signals: quality_control, System, System.Collections.Generic, System.Data, System.Data.Linq, Microsoft.FSharp.Data.TypeProvide...
parameters as given and the compiler seems happy. Why won't it, at run time, use the boolean as criteria? I've got a mental block I guess - I don't use F# routinely but I'm very much wanting to - unfortunately these niggles eat the time. Can anyone help? Edited as requested. The typical values for the commalist sample...
[ 0.003021240234375, 0.00885009765625, -0.01190185546875, 0.0252685546875, 0.005401611328125, 0.00909423828125, 0.00142669677734375, 0.0115966796875, 0.01080322265625, -0.0240478515625, 0.006927490234375, 0.006927490234375, 0.00872802734375, -0.01153564453125, -0.019287109375, 0.01525878...
[ 171859, 7, 237, 34475, 9969, 34759, 37202, 17723, 44084, 23742, 18, 99, 11675, 1733, 4527, 70, 337, 31, 34677, 55738, 11, 13893, 46389, 57767, 563, 4904, 124374, 4552, 3444, 104272, 300, 129384, 73203, 4358, 222201, 142424, 96117, 6562, 121...
[ 0.214599609375, 0.02532958984375, 0.10028076171875, 0.07666015625, 0.1517333984375, 0.155517578125, 0.072021484375, 0.1302490234375, 0.08056640625, 0.101806640625, 0.0899658203125, 0.040069580078125, 0.1177978515625, 0.1107177734375, 0.1094970703125, 0.0142059326171875, 0.08636474609...
embed