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
50647674_c0
50647674
fsharp
0
Title: Why does FParsec not consume characters parsing a list separator? Problem title: Why does FParsec not consume characters parsing a list separator? Tags: fparsec, f%23 Problem: Why does FParsec not consume characters parsing a list separator? The actual scenario below is made up. The purpose of the question is to...
Why does FParsec not consume characters parsing a list separator? Why does FParsec not consume characters parsing a list separator? fparsec f%23 Why FParsec Success Failure Col Error Note Expecting Why does FParsec not consume characters parsing a list separator? The actual scenario below is made up. The purpose of the...
[ 0.0030975341796875, 0.01202392578125, -0.0125732421875, 0.02001953125, -0.0225830078125, 0.01287841796875, 0.01519775390625, -0.0150146484375, 0.007080078125, 0.046142578125, 0.01495361328125, 0.03125, 0.02587890625, -0.0093994140625, -0.029541015625, -0.0010986328125, 0.012939453125...
[ 44084, 563, 28636, 39797, 959, 18588, 13, 124850, 366, 5303, 38310, 748, 6953, 1238, 2500, 3949, 3742, 144053, 190355, 3408, 11554, 212059, 18622, 60075, 24762, 14602, 106117, 35064, 1257, 79315, 434, 136, 425, 84797, 1632, 1286, 32628, 242, ...
[ 0.0872802734375, 0.1383056640625, 0.1763916015625, 0.21728515625, 0.1412353515625, 0.192138671875, 0.08673095703125, 0.1983642578125, 0.14501953125, 0.171875, 0.184326171875, 0.114990234375, 0.045928955078125, 0.098388671875, 0.12890625, 0.0013427734375, 0.0965576171875, 0.14526367...
embed
39474202_c0
39474202
fsharp
0
Title: Type definitions and type inference in F# Problem title: Type definitions and type inference in F# Tags: f%23 Problem: Type definitions and type inference in F# I have two example types, defined in this order: type Quote = {QuoteNum: decimal option; ShipToID: decimal option} type Sales = {SalesNum: decimal optio...
Type definitions and type inference in F# Type definitions and type inference in F# f%23 Type Quote QuoteNum ShipToID Sales SalesNum Map Map.map List.map x.ShipToID Expecting Type definitions and type inference in F# I have two example types, defined in this order: and I'm trying to write a function that can accept a b...
[ 0.033935546875, 0.0037078857421875, 0.001953125, 0.007476806640625, -0.019287109375, -0.01214599609375, -0.006744384765625, -0.004730224609375, 0.009521484375, 0.0169677734375, -0.01458740234375, -0.01324462890625, -0.00634765625, 0.01251220703125, 0.0157470703125, 0.0169677734375, -...
[ 60457, 80934, 136, 10644, 53498, 6620, 563, 4904, 1238, 3742, 109216, 316, 8294, 254, 7763, 7146, 88583, 42719, 62346, 32036, 1022, 78567, 60075, 24762, 6626, 27781, 52895, 61924, 12989, 31577, 33022, 32354, 831, 26946, 15044, 9790, 27875, 17...
[ 0.26220703125, 0.1563720703125, 0.0335693359375, 0.2470703125, 0.2205810546875, 0.040802001953125, 0.1346435546875, 0.1981201171875, 0.037933349609375, 0.059722900390625, 0.1778564453125, 0.07293701171875, 0.1160888671875, 0.008544921875, 0.1605224609375, 0.100830078125, 0.1467285156...
embed
14049999_c1
14049999
fsharp
1
without using string comparisons if not (shapeCase.Name.Equals OtherShape) then for colorCase in colorCases do let mutable addedToBoard = false while not addedToBoard do let boardRowIndex = rand.Next(0,4) let boardColumnIndex = rand.Next(0,2) if boardOfRelevantPossibilities.[boardRowIndex,boardColumnIndex].Shape.Equal...
without using string comparisons if not (shapeCase.Name.Equals OtherShape) then for colorCase in colorCases do let mutable addedToBoard = false while not addedToBoard do let boardRowIndex = rand.Next(0,4) let boardColumnIndex = rand.Next(0,2) if boardOfRelevantPossibilities.[boardRowIndex,boardColumnIndex].Shape.Equal...
[ -0.0128173828125, -0.00360107421875, -0.0027923583984375, -0.007354736328125, -0.01214599609375, -0.0079345703125, 0.00543212890625, -0.0167236328125, 0.0274658203125, 0.0062255859375, 0.00787353515625, 0.01397705078125, 0.01397705078125, -0.00133514404296875, -0.00064849853515625, -0....
[ 15490, 17368, 79315, 225490, 959, 2420, 1081, 441, 6991, 163612, 71723, 64511, 40798, 10576, 23, 20370, 5908, 2633, 842, 22819, 49814, 7763, 12647, 5861, 98320, 45443, 12724, 434, 4153, 39659, 27388, 29557, 78457, 316, 81280, 132887, 133, 243...
[ 0.0928955078125, 0.0640869140625, 0.183837890625, 0.23876953125, 0.054351806640625, 0.1292724609375, 0.158935546875, 0.169921875, 0.1990966796875, 0.1063232421875, 0.147216796875, 0.123291015625, 0.1580810546875, 0.1697998046875, 0.00445556640625, 0.1787109375, 0.10791015625, 0.026...
embed
5286119_c1
5286119
fsharp
1
) { int geneLength = source.Size; for (int i = 0; i < geneLength; i++) { GENE_TYPE trial = source.GetGene(i); if (!taken.Contains(trial)) { taken.Add(trial); return trial; } } return default(GENE_TYPE); } Compiler errors I'm seeing include: "The generic member 'GeneNotTaken' has been used at a non-uniform instantiation...
) { int geneLength = source.Size; for (int i = 0; i < geneLength; i++) { GENE_TYPE trial = source.GetGene(i); if (!taken.Contains(trial)) { taken.Add(trial); return trial; } } return default(GENE_TYPE); } Compiler errors I'm seeing include: "The generic member 'GeneNotTaken' has been used at a non-uniform instantiation...
[ -0.01409912109375, 0.0291748046875, 0.0302734375, -0.0009307861328125, -0.0272216796875, -0.029296875, 0.0020751953125, -0.004425048828125, 0.0079345703125, -0.0255126953125, 0.01129150390625, 0.004669189453125, 0.006072998046875, -0.00360107421875, 0.0078125, 0.00799560546875, 0.003...
[ 23, 18, 22293, 5267, 449, 927, 2203, 31344, 127167, 4288, 17, 757, 4426, 37223, 527, 59713, 27143, 110324, 126, 135932, 14, 38, 1865, 33, 25500, 51626, 39958, 4028, 30646, 114977, 39018, 647, 21907, 15612, 34759, 18499, 7, 86681, 189534, ...
[ 0.03521728515625, 0.0233612060546875, 0.198974609375, 0.053131103515625, 0.1121826171875, 0.07733154296875, 0.023193359375, 0.154296875, 0.07342529296875, 0.1109619140625, 0.0574951171875, 0.06640625, 0.04351806640625, 0.1092529296875, 0.0792236328125, 0.134765625, 0.1480712890625, ...
embed
32505565_c1
32505565
fsharp
1
stops... F# doesn't like that list, and complaints that all of the list should be DKK, -which of course makes sense. Then I thought that there must be some smart way to make a discriminated union of my units of measures to put them in a category, and then I attempted with: [<Measure>] type Currency = JPY | DKK But thi...
stops... F# doesn't like that list, and complaints that all of the list should be DKK, -which of course makes sense. Then I thought that there must be some smart way to make a discriminated union of my units of measures to put them in a category, and then I attempted with: [<Measure>] type Currency = JPY | DKK But thi...
[ -0.00836181640625, 0.0225830078125, -0.000797271728515625, -0.0228271484375, -0.009033203125, -0.00994873046875, -0.0274658203125, 0.004974365234375, 0.021484375, -0.0045166015625, -0.0177001953125, -0.0030059814453125, 0.00860595703125, -0.001983642578125, -0.019775390625, 0.011047363...
[ 7279, 7, 27, 563, 4904, 22027, 18, 1884, 450, 5303, 4, 180732, 756, 5608, 186, 154719, 111, 30482, 10422, 17569, 8110, 18775, 3917, 3249, 55970, 3674, 69941, 759, 25072, 72350, 3884, 23, 95487, 81887, 6696, 11, 56851, 268, 10644, 17065, ...
[ 0.2054443359375, 0.0413818359375, 0.051971435546875, 0.1204833984375, 0.2041015625, 0.025787353515625, 0.08544921875, 0.140380859375, 0.033935546875, 0.1612548828125, 0.002349853515625, 0.0985107421875, 0.060211181640625, 0.048583984375, 0.08416748046875, 0.2462158203125, 0.106872558...
embed
43041654_c1
43041654
fsharp
1
.fsx" open DiffSharp.AD.Float64 open MathNet.Numerics open MathNet.Numerics.LinearAlgebra open MathNet.Numerics.LinearAlgebra.Double let l1 = 4.5 let l2 = 2.5 let a0 = [1.1; -0.9] let inline transformDV (a:DV) = let x1, y1 = l1 * cos a.[0], l1 * sin a.[0] let x2, y2 = x1 + l2 * cos (a.[0] + a.[1]), y1 + l2 * sin (a.[0]...
.fsx" open DiffSharp.AD.Float64 open MathNet.Numerics open MathNet.Numerics.LinearAlgebra open MathNet.Numerics.LinearAlgebra.Double let l1 = 4.5 let l2 = 2.5 let a0 = [1.1; -0.9] let inline transformDV (a:DV) = let x1, y1 = l1 * cos a.[0], l1 * sin a.[0] let x2, y2 = x1 + l2 * cos (a.[0] + a.[1]), y1 + l2 * sin (a.[0]...
[ -0.0078125, 0.0181884765625, 0.00531005859375, -0.00347900390625, 0.008056640625, -0.0184326171875, -0.01483154296875, 0.010009765625, -0.00439453125, -0.0252685546875, 0.0128173828125, 0.0255126953125, -0.005950927734375, -0.016845703125, -0.0177001953125, -0.0201416015625, 0.024291...
[ 5, 17447, 425, 58, 9803, 191144, 40798, 10681, 12351, 365, 257, 13307, 78804, 24447, 18444, 1991, 28021, 93232, 429, 2844, 147, 34, 2661, 2633, 96, 418, 2203, 60061, 304, 27804, 10, 2389, 378, 92134, 74, 20, 143161, 268, 23, 2256, 27198...
[ 0.1517333984375, 0.2021484375, 0.229736328125, 0.0212249755859375, 0.1383056640625, 0.1768798828125, 0.1075439453125, 0.1761474609375, 0.110107421875, 0.12548828125, 0.045379638671875, 0.1741943359375, 0.1146240234375, 0.223388671875, 0.06304931640625, 0.09906005859375, 0.13305664062...
embed
1176871_c0
1176871
fsharp
0
Title: Struct for depth-curves in sea-maps Problem title: Struct for depth-curves in sea-maps Tags: data-structures, struct, geospatial, f%23 Problem: Struct for depth-curves in sea-maps I'm trying to make a struct in F# for representing depth curves in a sea map. It has to contain a list of coordinates and a float tel...
Struct for depth-curves in sea-maps Struct for depth-curves in sea-maps data-structures struct geospatial f%23 Struct Coord DepthCurve Coords Depth list_of_Coords myCoord1 myCoord2 Struct for depth-curves in sea-maps I'm trying to make a struct in F# for representing depth curves in a sea map. It has to contain a list ...
[ 0.01025390625, 0.0157470703125, -0.00140380859375, 0.00189971923828125, 0.01611328125, 0.002655029296875, 0.0272216796875, -0.0120849609375, 0.00982666015625, 0.00811767578125, 0.021728515625, -0.0198974609375, 0.017578125, 0.00084686279296875, -0.004913330078125, -0.002655029296875, ...
[ 63667, 15390, 100, 168867, 9, 16820, 3132, 23, 15520, 62346, 2053, 137656, 36716, 20787, 10974, 1238, 3742, 1311, 6651, 262, 254, 33177, 37879, 5303, 4390, 10625, 759, 418, 304, 31577, 3249, 563, 4904, 33636, 9709, 22288, 70541, 176866, 136...
[ 0.2255859375, 0.1429443359375, 0.1064453125, 0.251708984375, 0.061767578125, 0.17822265625, 0.1575927734375, 0.0867919921875, 0.1741943359375, 0.1617431640625, 0.05242919921875, 0.177734375, 0.2445068359375, 0.0333251953125, 0.049774169921875, 0.036224365234375, 0.0838623046875, 0....
embed
79444022_c1
79444022
fsharp
1
this error. Any help is greatly appreciated. Edit#1. Ok, figure this out. When recompiled into a "Class Library" project, not as "F# Library", the above code loses 4 of my other 13 projects saying it "can't find them". However, the below code works great! type AEM private () = static let instanceLock = obj() static le...
this error. Any help is greatly appreciated. Edit#1. Ok, figure this out. When recompiled into a "Class Library" project, not as "F# Library", the above code loses 4 of my other 13 projects saying it "can't find them". However, the below code works great! type AEM private () = static let instanceLock = obj() static le...
[ -0.0211181640625, 0.00860595703125, 0.0052490234375, -0.00640869140625, -0.00445556640625, -0.00830078125, 0.013671875, 0.00201416015625, 0.0155029296875, -0.0203857421875, -0.00982666015625, 0.033935546875, 0.01104736328125, 0.01153564453125, 0.005950927734375, -0.02734375, 0.010986...
[ 903, 18499, 4358, 83, 6782, 538, 77947, 71, 26366, 14847, 33844, 11368, 3934, 140803, 103835, 58, 13452, 4, 959, 237, 919, 4904, 70, 36917, 18151, 388, 90, 201, 111, 3789, 702, 77635, 4398, 18, 7413, 2856, 35064, 43240, 10644, 62, 17513...
[ 0.144287109375, 0.232421875, 0.059326171875, 0.005645751953125, 0.0599365234375, 0.00848388671875, 0.00439453125, 0.00885009765625, 0.06964111328125, 0.00384521484375, 0.059814453125, 0.15625, 0.05572509765625, 0.202880859375, 0.256103515625, 0.00640869140625, 0.15576171875, 0.0087...
embed
14322940_c0
14322940
fsharp
0
Title: System.OutOfMemoryException for a tail recursive function Problem title: System.OutOfMemoryException for a tail recursive function Tags: asp.net-membership, f%23, tail-call-optimization, tail-recursion Problem: System.OutOfMemoryException for a tail recursive function I have isolated the problematic code to this...
System.OutOfMemoryException for a tail recursive function System.OutOfMemoryException for a tail recursive function asp.net-membership f%23 tail-call-optimization tail-recursion System.OutOfMemoryException DBSchema.GetDataContext is2_ ie2_ st2 dbctx.Tbl_Students row.Id Membership.FindUsersByEmail st2.Email_address Seq....
[ 0.03515625, 0.0155029296875, -0.0017852783203125, 0.0030670166015625, 0.018310546875, -0.002044677734375, -0.009765625, 0.0012054443359375, -0.00092315673828125, -0.041748046875, 0.00994873046875, 0.0042724609375, 0.0002536773681640625, 0.0118408203125, 0.037353515625, 0.00860595703125...
[ 12353, 79858, 132887, 6696, 4514, 53, 19279, 63928, 100, 46741, 195625, 5844, 32354, 237, 254, 1179, 39, 27417, 16070, 1238, 3742, 85763, 100433, 47691, 107, 48650, 57976, 25452, 11883, 724, 137989, 22829, 83, 304, 13, 6138, 425, 9030, 2398...
[ 0.1810302734375, 0.22900390625, 0.2724609375, 0.1268310546875, 0.1583251953125, 0.051849365234375, 0.118896484375, 0.193359375, 0.0181121826171875, 0.30029296875, 0.25390625, 0.1220703125, 0.2069091796875, 0.042144775390625, 0.1083984375, 0.12841796875, 0.0902099609375, 0.175903320...
embed
51699291_c0
51699291
fsharp
0
Title: How does one override .Equals() for a Discriminated Union? Problem title: How does one override .Equals() for a Discriminated Union? Tags: equality, f%23, discriminated-union, overriding Problem: How does one override .Equals() for a Discriminated Union? I have a discriminated union type and want to override .Eq...
How does one override .Equals() for a Discriminated Union? How does one override .Equals() for a Discriminated Union? equality f%23 discriminated-union overriding How Equals Discriminated Union CustomEquality ModelArg Name OtherStuff this.Equals this.Name ObjectEquals Consider Object.GetHashCode List List.contains How ...
[ -0.004852294921875, 0.0208740234375, 0.01519775390625, 0.0224609375, -0.013427734375, -0.0152587890625, 0.000347137451171875, 0.002105712890625, 0.01141357421875, -0.01373291015625, 0.014404296875, 0.009033203125, 0.01470947265625, -0.001800537109375, 0.011962890625, -0.003158569335937...
[ 11249, 645, 416, 112, 5, 647, 71723, 7, 132, 100, 6206, 135421, 3674, 32528, 1632, 28, 161789, 3949, 3742, 55970, 87046, 241, 130664, 13293, 177, 15757, 64511, 37455, 21493, 903, 163612, 134549, 137399, 6495, 114211, 32036, 98102, 69941, 10...
[ 0.05584716796875, 0.0960693359375, 0.1962890625, 0.1094970703125, 0.050537109375, 0.08544921875, 0.25, 0.1505126953125, 0.07958984375, 0.02587890625, 0.046875, 0.2044677734375, 0.080322265625, 0.2139892578125, 0.001708984375, 0.052215576171875, 0.209716796875, 0.0128173828125, 0....
embed
54270260_c0
54270260
fsharp
0
Title: How do you run async tests in FsCheck? Problem title: How do you run async tests in FsCheck? Tags: asynchronous, f%23, fscheck Problem: How do you run async tests in FsCheck? How can I get repeatable async tests with FsCheck? Here is a sample code that I run in FSI: let prop_simple() = gen { let! s = Arb.generat...
How do you run async tests in FsCheck? How do you run async tests in FsCheck? asynchronous f%23 fscheck How FsCheck prop_simple Arb.generate prop_async Gen.sample List.head save_to_db Async.RunSynchronously check_props FC2.FsCheckModifiers.Register FsCheck.Config.Default MaxTest Replay Random.StdGen Some Check.One VDm2...
[ 0.00185394287109375, -0.0027618408203125, -0.00970458984375, -0.020263671875, -0.00689697265625, 0.007232666015625, 0.0179443359375, -0.0303955078125, 0.00885009765625, -0.01495361328125, 0.002288818359375, 0.035400390625, -0.00179290771484375, -0.0078125, 0.03564453125, 0.006988525390...
[ 11249, 11675, 10, 12654, 238, 109921, 563, 7, 202567, 101966, 1238, 3742, 78292, 25793, 191560, 1172, 275, 48281, 15937, 33209, 32036, 31251, 30098, 163321, 217835, 1900, 12765, 36290, 15161, 5442, 919, 91616, 83671, 11, 9920, 111337, 20706, ...
[ 0.008514404296875, 0.11181640625, 0.031585693359375, 0.2037353515625, 0.062744140625, 0.18798828125, 0.119140625, 0.085693359375, 0.26708984375, 0.0797119140625, 0.06939697265625, 0.07965087890625, 0.196533203125, 0.19189453125, 0.1741943359375, 0.051666259765625, 0.033233642578125, ...
embed
35536134_c0
35536134
fsharp
0
Title: Why does casting a value declaration instead of a function argument result in different behavior? Problem title: Why does casting a value declaration instead of a function argument result in different behavior? Tags: f%23, lego-mindstorms Problem: Why does casting a value declaration instead of a function argume...
Why does casting a value declaration instead of a function argument result in different behavior? Why does casting a value declaration instead of a function argument result in different behavior? f%23 lego-mindstorms Why uint32 brick.DirectCommand.TurnMotorAtPowerForTimeAsync uint16 OutputPort.B OutputPort.C Brick UsbC...
[ -0.0057373046875, -0.003875732421875, 0.0135498046875, -0.0174560546875, 0.005767822265625, -0.005584716796875, -0.01092529296875, -0.005615234375, 0.0064697265625, -0.006439208984375, -0.01116943359375, -0.00714111328125, -0.00159454345703125, 0.0057373046875, 0.0089111328125, 0.01989...
[ 44084, 176050, 34292, 21635, 1363, 64457, 32354, 10750, 16750, 12921, 123166, 3742, 95, 519, 36904, 129857, 7, 75, 4288, 6460, 41537, 184911, 10770, 12018, 42671, 197261, 28848, 105022, 70059, 12654, 2485, 60006, 571, 335, 11756, 166697, 235603...
[ 0.1263427734375, 0.2213134765625, 0.2415771484375, 0.2198486328125, 0.052459716796875, 0.1075439453125, 0.1875, 0.23583984375, 0.0977783203125, 0.158203125, 0.2161865234375, 0.0265045166015625, 0.04901123046875, 0.1668701171875, 0.0772705078125, 0.1656494140625, 0.092041015625, 0.0...
embed
71257330_c1
71257330
fsharp
1
to the most generic type BalanceUpdateResult = | Created | Updated | InvalidRequest of string type DeleteResult = | Ok | InvalidRequest of string member this.Update (company:Company):Result<Company> = let checkNameExists company = match companyRepository.GetByName company.Name with | Some c when c.Id <> company.Id -> ...
to the most generic type BalanceUpdateResult = | Created | Updated | InvalidRequest of string type DeleteResult = | Ok | InvalidRequest of string member this.Update (company:Company):Result<Company> = let checkNameExists company = match companyRepository.GetByName company.Name with | Some c when c.Id <> company.Id -> ...
[ -0.0247802734375, 0.0125732421875, 0.0169677734375, -0.01165771484375, 0.006103515625, 0.01019287109375, -0.0098876953125, -0.007232666015625, 0.036865234375, 0.0478515625, 0.0096435546875, 0.004364013671875, 0.01171875, -0.02734375, 0.0101318359375, -0.007537841796875, -0.0085449218...
[ 47, 2684, 189534, 10644, 131176, 152872, 4332, 7, 7136, 2203, 58745, 151313, 28641, 360, 7013, 75616, 111, 79315, 262, 46485, 9972, 32786, 903, 146365, 12, 108161, 4848, 2077, 2633, 12765, 163612, 19279, 64370, 14380, 14858, 59111, 126, 75358...
[ 0.10400390625, 0.08905029296875, 0.2059326171875, 0.1904296875, 0.26025390625, 0.236572265625, 0.059478759765625, 0.1512451171875, 0.18359375, 0.052764892578125, 0.00042724609375, 0.143798828125, 0.1795654296875, 0.0266571044921875, 0.13427734375, 0.147216796875, 0.000946044921875, ...
embed
4358366_c0
4358366
fsharp
0
Title: Implementing F# Workflow builders: Yield, For, YieldFrom Problem title: Implementing F# Workflow builders: Yield, For, YieldFrom Tags: f%23 Problem: Implementing F# Workflow builders: Yield, For, YieldFrom I am trying to work on my understanding of F# workflow builders. So I came up with the following example fo...
Implementing F# Workflow builders: Yield, For, YieldFrom Implementing F# Workflow builders: Yield, For, YieldFrom f%23 Implementing Workflow Yield YieldFrom this.For Seq.map this.Yield this.YieldFrom this.Combine Seq.append this.Delay this.Zero Seq.empty Directory.EnumerateFiles Directory.EnumerateDirectories Implement...
[ 0.0157470703125, 0.0167236328125, 0.00189208984375, 0.0142822265625, -0.0203857421875, 0.0081787109375, -0.00189971923828125, -0.004608154296875, -0.0096435546875, -0.010986328125, 0.00787353515625, 0.0303955078125, 0.0023651123046875, -0.0025177001953125, 0.0120849609375, -0.007141113...
[ 153941, 563, 4904, 27985, 118664, 45367, 1314, 42341, 19388, 1326, 168407, 1238, 3949, 3742, 903, 18537, 503, 864, 62346, 1723, 14, 10770, 46187, 9007, 4657, 5259, 4036, 33548, 31068, 15537, 17957, 174350, 184911, 31, 4488, 27781, 28007, 1710...
[ 0.15966796875, 0.088134765625, 0.207275390625, 0.097900390625, 0.2354736328125, 0.1268310546875, 0.07171630859375, 0.1358642578125, 0.2010498046875, 0.171875, 0.241943359375, 0.0364990234375, 0.001983642578125, 0.1241455078125, 0.07757568359375, 0.146240234375, 0.06195068359375, 0....
embed
73874092_c0
73874092
fsharp
0
Title: Map state transitions with Deedle Problem title: Map state transitions with Deedle Tags: f%23, deedle Problem: Map state transitions with Deedle Suppose I have a table with products and events (processing steps), like type Event = | E1 | E2 let events = Series.ofValues [ E1;E2;E2 ] let products = Series.ofValues...
Map state transitions with Deedle Map state transitions with Deedle f%23 deedle Map Deedle Event Series.ofValues Frame Product df.Print State s:State e:Event stateTransitions.Print NewState Frame.aggregateRowsBy s.Values Seq.fold finalStates.Print Map state transitions with Deedle Suppose I have a table with products a...
[ -0.00262451171875, 0.004791259765625, 0.000324249267578125, 0.004364013671875, -0.024658203125, -0.0322265625, -0.016845703125, 0.0157470703125, -0.0091552734375, -0.01104736328125, -0.007568359375, 0.022216796875, -0.016845703125, 0.031982421875, -0.00860595703125, 0.0034637451171875,...
[ 42719, 11341, 149307, 7, 678, 262, 297, 133, 1238, 3949, 3742, 8, 36943, 64876, 4390, 42272, 21049, 42557, 73111, 420, 112079, 22836, 91, 135206, 28, 192134, 62624, 14, 5256, 2356, 197564, 12724, 75358, 864, 42822, 2704, 18, 121691, 87, 7...
[ 0.2447509765625, 0.20947265625, 0.290283203125, 0.1234130859375, 0.1226806640625, 0.1795654296875, 0.2344970703125, 0.211669921875, 0.038970947265625, 0.0311279296875, 0.119384765625, 0.1219482421875, 0.1722412109375, 0.120361328125, 0.09326171875, 0.115234375, 0.04315185546875, 0....
embed
49613898_c1
49613898
fsharp
1
limit && queue.Count > 0 do let work = queue.Dequeue() incr running do! // When the work completes, send 'Completed' // back to the agent to free a slot async { do! work inbox.Post(Completed) } |> Async.StartChild |> Async.Ignore }) let requestMasterAsync() : Async<Result<System.Collections.Concurrent.ConcurrentBag<_>...
limit && queue.Count > 0 do let work = queue.Dequeue() incr running do! // When the work completes, send 'Completed' // back to the agent to free a slot async { do! work inbox.Post(Completed) } |> Async.StartChild |> Async.Ignore }) let requestMasterAsync() : Async<Result<System.Collections.Concurrent.ConcurrentBag<_>...
[ -0.0113525390625, 0.03173828125, 0.0038299560546875, -0.00176239013671875, 0.0011749267578125, -0.005157470703125, -0.002166748046875, -0.00738525390625, 0.009033203125, -0.00762939453125, 0.00921630859375, 0.01129150390625, 0.0172119140625, -0.00897216796875, 0.0218505859375, 0.001213...
[ 17475, 619, 1230, 41, 13388, 108210, 977, 757, 54, 2633, 4488, 2203, 5, 4657, 944, 23, 23150, 51042, 38, 4666, 14847, 28484, 7, 25379, 108161, 133, 3674, 4420, 23882, 4092, 24897, 10, 12654, 238, 11728, 49411, 126597, 102656, 11137, 50336...
[ 0.230712890625, 0.019927978515625, 0.10302734375, 0.1641845703125, 0.2037353515625, 0.1412353515625, 0.087890625, 0.1322021484375, 0.0965576171875, 0.1666259765625, 0.1661376953125, 0.05279541015625, 0.0171661376953125, 0.164794921875, 0.1390380859375, 0.1134033203125, 0.21630859375,...
embed
36120181_c0
36120181
fsharp
0
Title: Trying to retrieve a class in a class using Canopy and F# Problem title: Trying to retrieve a class in a class using Canopy and F# Tags: html, f%23, canopy-web-testing Problem: Trying to retrieve a class in a class using Canopy and F# I'm trying to use canopy to use F# to play a game of Tic Tac Toe here . The "b...
Trying to retrieve a class in a class using Canopy and F# Trying to retrieve a class in a class using Canopy and F# html f%23 canopy-web-testing Canopy Trying Trying to retrieve a class in a class using Canopy and F# I'm trying to use canopy to use F# to play a game of Tic Tac Toe here . The "board" looks like the foll...
[ -0.005706787109375, 0.00592041015625, -0.0166015625, -0.000728607177734375, -0.0023040771484375, -0.0166015625, 0.01165771484375, -0.0023651123046875, -0.00390625, -0.02685546875, -0.01202392578125, 0.01422119140625, -0.0015411376953125, -0.0079345703125, -0.0186767578125, -0.024658203...
[ 40858, 456, 3996, 3134, 18507, 23, 17368, 4171, 2146, 53, 136, 563, 4904, 10, 7693, 3742, 831, 14051, 6954, 31577, 4527, 47, 11301, 6712, 133552, 87524, 47530, 3688, 24351, 33342, 1884, 28960, 18158, 3687, 1193, 707, 180, 15549, 30618, 31...
[ 0.06610107421875, 0.07861328125, 0.1446533203125, 0.1280517578125, 0.2362060546875, 0.048126220703125, 0.00897216796875, 0.140869140625, 0.2137451171875, 0.1607666015625, 0.0552978515625, 0.0975341796875, 0.181396484375, 0.0155487060546875, 0.10986328125, 0.0645751953125, 0.109863281...
embed
60260235_c0
60260235
fsharp
0
Title: F# compilation error related to inheritance Problem title: F# compilation error related to inheritance Tags: compilation, inheritance, f%23 Problem: F# compilation error related to inheritance I have 2 interfaces defined in a C# component, where 1 interface inherits from another generic interface public interfac...
F# compilation error related to inheritance F# compilation error related to inheritance compilation inheritance f%23 IRepository Add Update Delete IDataModelRepository DataModel Domain getRepository:System.Func DataModelDomain F# compilation error related to inheritance I have 2 interfaces defined in a C# component, wh...
[ -0.0093994140625, 0.02197265625, -0.011474609375, -0.0064697265625, 0.00125885009765625, 0.005279541015625, -0.00775146484375, 0.004791259765625, 0.000904083251953125, -0.03076171875, -0.00762939453125, 0.0020904541015625, 0.00811767578125, 0.0021514892578125, -0.00457763671875, -0.019...
[ 563, 4904, 98352, 18499, 62548, 23, 3334, 217, 7154, 1238, 3949, 3742, 32863, 59111, 29117, 28641, 262, 46485, 87, 137989, 140290, 11809, 93702, 84293, 97249, 8331, 24931, 116, 101758, 61924, 313, 82761, 106, 1295, 189534, 10644, 64549, 17185...
[ 0.146484375, 0.206787109375, 0.2296142578125, 0.193115234375, 0.093505859375, 0.136474609375, 0.201904296875, 0.1434326171875, 0.05792236328125, 0.07867431640625, 0.033447265625, 0.1119384765625, 0.024627685546875, 0.10406494140625, 0.011627197265625, 0.07342529296875, 0.017105102539...
embed
52456722_c0
52456722
fsharp
0
Title: F# problems calling a function that takes a integer and return a string Problem title: F# problems calling a function that takes a integer and return a string Tags: f%23 Problem: F# problems calling a function that takes a integer and return a string I'm pretty new to programming in F#, and I am working on a pro...
F# problems calling a function that takes a integer and return a string F# problems calling a function that takes a integer and return a string f%23 n:int str1 F# problems calling a function that takes a integer and return a string I'm pretty new to programming in F#, and I am working on a project at the moment, with a...
[ 0.006256103515625, -0.017333984375, -0.005126953125, 0.01434326171875, 0.00023651123046875, 0.0019378662109375, 0.0238037109375, -0.00909423828125, 0.0078125, 0.00185394287109375, 0.004608154296875, 0.01373291015625, -0.01904296875, 0.0255126953125, 0.00921630859375, 0.005645751953125,...
[ 563, 4904, 44402, 159029, 32354, 450, 51776, 892, 1505, 136, 30646, 79315, 1238, 3742, 653, 4288, 7704, 418, 28875, 3525, 56037, 20697, 13452, 3095, 34292, 2967, 35064, 26866, 45767, 142424, 111, 759, 6528, 3444, 4343, 347, 23, 3564, 12960,...
[ 0.128173828125, 0.2052001953125, 0.1497802734375, 0.15234375, 0.18994140625, 0.0042724609375, 0.09765625, 0.129150390625, 0.1170654296875, 0.03607177734375, 0.1854248046875, 0.20166015625, 0.0679931640625, 0.1312255859375, 0.0269775390625, 0.1370849609375, 0.1900634765625, 0.067871...
embed
4177850_c0
4177850
fsharp
0
Title: How to simulate mouse clicks and keypresses in F# Problem title: How to simulate mouse clicks and keypresses in F# Tags: simulate, mouse, f%23, .net Problem: How to simulate mouse clicks and keypresses in F# I'm doing a program that's supposed to move the mouse around and press automatically at places where I sp...
How to simulate mouse clicks and keypresses in F# How to simulate mouse clicks and keypresses in F# simulate mouse f%23 .net How How to simulate mouse clicks and keypresses in F# I'm doing a program that's supposed to move the mouse around and press automatically at places where I specify in the code. Right now i've ma...
[ -0.00384521484375, 0.0032806396484375, 0.005828857421875, -0.0103759765625, -0.006927490234375, 0.01458740234375, 0.019287109375, 0.0022125244140625, -0.00714111328125, -0.033447265625, 0.036376953125, 0.0218505859375, -0.006744384765625, -0.00144195556640625, -0.0034942626953125, 0.00...
[ 11249, 40226, 67, 114669, 18158, 136, 22799, 11856, 90, 23, 563, 4904, 1238, 3949, 3742, 1179, 1528, 134598, 25813, 10932, 24234, 191082, 44677, 40140, 145755, 13810, 42, 13315, 58148, 7192, 172, 12353, 219, 14775, 147534, 53, 3642, 123278, ...
[ 0.038482666015625, 0.26025390625, 0.1156005859375, 0.19677734375, 0.21533203125, 0.1357421875, 0.15576171875, 0.2391357421875, 0.1243896484375, 0.047271728515625, 0.122314453125, 0.2030029296875, 0.04229736328125, 0.00445556640625, 0.09393310546875, 0.04168701171875, 0.113525390625, ...
embed
4739723_c1
4739723
fsharp
1
-> byte acc Using mutable Variables and a for loop in F# does result in the same speed as using recursion. All Projects are configured to run in Release Mode with Code Optimization turned on. How could the performance of the F# version be improved? EDIT: The bottleneck seems to be in (NativePtr.get buffer offset) . If...
-> byte acc Using mutable Variables and a for loop in F# does result in the same speed as using recursion. All Projects are configured to run in Release Mode with Code Optimization turned on. How could the performance of the F# version be improved? EDIT: The bottleneck seems to be in (NativePtr.get buffer offset) . If...
[ 0.0035247802734375, -0.01019287109375, 0.0003509521484375, 0.0166015625, -0.0036773681640625, -0.01385498046875, -0.00119781494140625, 0.0026702880859375, 0.01336669921875, -0.009521484375, 0.0177001953125, 0.0024871826171875, -0.00262451171875, -0.0162353515625, -0.00927734375, -0.018...
[ 33079, 390, 67, 50015, 345, 842, 22819, 111477, 13566, 136, 10, 100, 40956, 23, 563, 4904, 16750, 5701, 38352, 237, 17368, 195625, 1830, 3164, 27331, 222495, 11675, 152590, 36024, 28864, 43938, 47691, 69347, 98, 11249, 5809, 23718, 11389, 5...
[ 0.00396728515625, 0.104248046875, 0.1201171875, 0.1846923828125, 0.05706787109375, 0.170166015625, 0.2110595703125, 0.207763671875, 0.1123046875, 0.04791259765625, 0.09661865234375, 0.15869140625, 0.201416015625, 0.03363037109375, 0.1590576171875, 0.251953125, 0.0372314453125, 0.10...
embed
66199131_c0
66199131
fsharp
0
Title: In F#, how to list the PrintQueues from the PrintQueueCollection? Problem title: In F#, how to list the PrintQueues from the PrintQueueCollection? Tags: printing, f%23 Problem: In F#, how to list the PrintQueues from the PrintQueueCollection? (Newbie question). I am attempting to list out the PrintQueues from th...
In F#, how to list the PrintQueues from the PrintQueueCollection? In F#, how to list the PrintQueues from the PrintQueueCollection? printing f%23 the printer PrintQueues PrintQueueCollection GetPrinters List PrintQueue PrintServer localPrintServer.GetPrintQueues EnumeratedPrintQueueTypes.Local EnumeratedPrintQueueTypes...
[ 0.0037078857421875, -0.007354736328125, 0.0213623046875, -0.0218505859375, -0.022705078125, 0.00933837890625, -0.0233154296875, -0.046630859375, 0.00160980224609375, -0.0118408203125, 0.0113525390625, 0.0023956298828125, 0.0291748046875, -0.01708984375, -0.013427734375, -0.001647949218...
[ 360, 563, 4904, 3642, 5303, 39754, 41732, 21049, 1295, 13388, 78457, 133, 10763, 70, 2448, 1916, 1238, 3949, 3742, 110264, 20779, 112079, 23962, 32036, 193348, 316, 196707, 203758, 235603, 717, 154663, 9014, 81887, 1810, 7244, 903, 15504, 393...
[ 0.048858642578125, 0.1263427734375, 0.1923828125, 0.045623779296875, 0.1868896484375, 0.197998046875, 0.1719970703125, 0.1695556640625, 0.05743408203125, 0.1456298828125, 0.09552001953125, 0.1085205078125, 0.048370361328125, 0.005340576171875, 0.113037109375, 0.012054443359375, 0.056...
embed
45113696_c0
45113696
fsharp
0
Title: EWS body plain text Using F# Problem title: EWS body plain text Using F# Tags: exchangewebservices, f%23 Problem: EWS body plain text Using F# Related to this post, I am reading some messages from Exchange and I want the body in plain (non-html) text. I am doing it in F#. Here is the code: > let exchangeService ...
EWS body plain text Using F# EWS body plain text Using F# exchangewebservices f%23 EWS Using ExchangeService ExchangeVersion.Exchange2007_SP1 exchangeService.Credentials WebCredentials exchangeService.AutodiscoverUrl PropertySet propertySet.RequestedBodyType BodyType.Text propertySet.BasePropertySet BasePropertySet.Fir...
[ 0.04052734375, 0.023193359375, 0.0225830078125, 0.00653076171875, 0.01287841796875, -0.009521484375, 0.0120849609375, -0.0174560546875, 0.0186767578125, -0.0079345703125, 0.00848388671875, 0.0439453125, -0.0172119140625, -0.0152587890625, 0.0284423828125, -0.012939453125, 0.024536132...
[ 241, 52143, 14361, 111719, 7986, 345, 6953, 563, 4904, 121122, 14051, 22584, 1238, 3949, 3742, 104758, 121979, 178390, 19279, 152028, 23753, 9434, 418, 80973, 4002, 38115, 3827, 63127, 206984, 294, 57266, 944, 12647, 1459, 196707, 43960, 174379...
[ 0.1055908203125, 0.188720703125, 0.20458984375, 0.1776123046875, 0.167724609375, 0.050872802734375, 0.046600341796875, 0.1419677734375, 0.1861572265625, 0.1552734375, 0.023406982421875, 0.1077880859375, 0.042572021484375, 0.0057373046875, 0.0770263671875, 0.213134765625, 0.0927734375...
embed
21292082_c0
21292082
fsharp
0
Title: For loop not inferring unsigned integer Problem title: For loop not inferring unsigned integer Tags: f%23, for-loop Problem: For loop not inferring unsigned integer According to the MSDN documentation on the for ... to loop in F#: The type of the identifier is inferred from the type of the start and finish expre...
For loop not inferring unsigned integer For loop not inferring unsigned integer f%23 for-loop uint32 FS0001 For loop not inferring unsigned integer According to the MSDN documentation on the for ... to loop in F#: But, with the code below, I get the following compile-time error: If I put the loop inside a sequence, tho...
[ 0.01519775390625, -0.0194091796875, -0.00933837890625, 0.0155029296875, -0.007476806640625, 0.0002460479736328125, 0.015869140625, 0.01470947265625, -0.00201416015625, -0.0250244140625, 0.0098876953125, 0.0093994140625, 0.012939453125, 0.0162353515625, 0.0361328125, -0.0255126953125, ...
[ 1326, 40956, 959, 53498, 2852, 51, 31304, 297, 892, 1505, 1238, 3949, 3742, 100, 28354, 75, 4288, 6460, 93774, 188735, 16265, 51671, 209806, 153, 563, 4904, 9969, 1340, 6032, 18499, 3884, 46132, 40, 944, 15490, 44084, 17932, 27781, 5117, ...
[ 0.1629638671875, 0.21142578125, 0.11376953125, 0.20849609375, 0.0982666015625, 0.101318359375, 0.1798095703125, 0.036865234375, 0.1185302734375, 0.0235595703125, 0.099365234375, 0.006378173828125, 0.1612548828125, 0.175048828125, 0.1785888671875, 0.0594482421875, 0.132568359375, 0....
embed
38419979_c1
38419979
fsharp
1
, namespaceName, typeName, baseType = Some typeof<obj>) acProvidedType.AddMember(ProvidedConstructor(parameters = [], InvokeCode = (fun args -> <@@ null @@>))) let getDbProperties () = Database.listDbs (args.[0] :?> string) (args.[1]:?> string) |> List.map(fun d -> new ProvidedProperty(d.Name, typeof<string>, IsStatic ...
, namespaceName, typeName, baseType = Some typeof<obj>) acProvidedType.AddMember(ProvidedConstructor(parameters = [], InvokeCode = (fun args -> <@@ null @@>))) let getDbProperties () = Database.listDbs (args.[0] :?> string) (args.[1]:?> string) |> List.map(fun d -> new ProvidedProperty(d.Name, typeof<string>, IsStatic ...
[ 0.0189208984375, 0.01483154296875, -0.0020294189453125, 0.0033721923828125, -0.03515625, 0.0022125244140625, 0.002105712890625, -0.017822265625, 0.01275634765625, -0.01263427734375, 0.01275634765625, -0.0047607421875, -0.000255584716796875, -0.003631591796875, -0.01318359375, -0.015136...
[ 4, 210716, 163612, 10644, 3647, 196707, 2203, 31384, 4390, 3522, 170, 1030, 10752, 5518, 297, 4028, 594, 27417, 11935, 36716, 748, 6276, 29089, 360, 23253, 114211, 16498, 79459, 128277, 56574, 32149, 2633, 2046, 397, 275, 1264, 2449, 187781, ...
[ 0.03607177734375, 0.2320556640625, 0.158447265625, 0.1802978515625, 0.177734375, 0.25341796875, 0.034881591796875, 0.03704833984375, 0.200439453125, 0.049774169921875, 0.1025390625, 0.10101318359375, 0.136474609375, 0.2249755859375, 0.092041015625, 0.19580078125, 0.1171875, 0.23754...
embed
43139756_c0
43139756
fsharp
0
Title: How to execute powershell script from FAKE - F#MAKE Problem title: How to execute powershell script from FAKE - F#MAKE Tags: f%23, f%23-interactive, f%23-fake, f%23-data, f%23-3.0 Problem: How to execute powershell script from FAKE - F#MAKE I am migrating MSBuild code to FAKE - and I am not able to execute power...
How to execute powershell script from FAKE - F#MAKE How to execute powershell script from FAKE - F#MAKE f%23 f%23-interactive f%23-fake f%23-data f%23-3.0 LogStandardErrorAsError FAKE How MAKE Target Name VersionConfig Exec IgnoreExitCode StandardErrorImportance Command File BuildRoot DeployScripts AdminScripts Version...
[ -0.00579833984375, 0.0181884765625, -0.006256103515625, -0.00122833251953125, 0.016845703125, -0.00762939453125, -0.00897216796875, -0.0133056640625, -0.0096435546875, 0.00262451171875, -0.008544921875, 0.01177978515625, 0.018310546875, 0.003997802734375, 0.01220703125, -0.007263183593...
[ 11249, 47, 71924, 13, 14537, 128019, 26499, 1295, 563, 119960, 4904, 594, 1238, 3742, 27495, 10433, 1021, 10135, 132265, 13146, 191769, 18468, 31611, 43711, 647, 160017, 15757, 40647, 83671, 3240, 11137, 19279, 114211, 20744, 6982, 123573, 4272...
[ 0.06591796875, 0.0704345703125, 0.206298828125, 0.0274658203125, 0.1566162109375, 0.2215576171875, 0.228271484375, 0.138427734375, 0.1680908203125, 0.266357421875, 0.1270751953125, 0.054656982421875, 0.03521728515625, 0.057403564453125, 0.037841796875, 0.07159423828125, 0.15258789062...
embed
57569200_c0
57569200
fsharp
0
Title: Dictionary to JSON string Problem title: Dictionary to JSON string Tags: json, f%23, f%23-data Problem: Dictionary to JSON string Given the scenario where dictionary would have nested keys as in JSON let toConvert = dict["Id", "001"; "title", "one"; "payload.subname", "oneone"; "payload.type", "awesome" ] How ca...
Dictionary to JSON string Dictionary to JSON string json f%23 f%23-data Dictionary JSON payload.subname payload.type String.concat v:string KeyValuePair Seq.length Seq.head Value Seq.map kv.Key.Replace kv.Value Seq.groupBy KeyValue k.Split Dictionary to JSON string Given the scenario where dictionary would have nested ...
[ -0.0113525390625, 0.01214599609375, -0.01324462890625, 0.00160980224609375, -0.0152587890625, -0.00518798828125, -0.019775390625, 0.0128173828125, -0.01007080078125, 0.008544921875, 0.0037078857421875, 0.039794921875, -0.00799560546875, 0.0240478515625, 0.0037078857421875, 0.0074768066...
[ 147638, 47, 821, 58627, 79315, 1647, 1681, 1238, 3949, 3742, 167218, 27495, 10135, 8783, 63033, 22144, 11627, 5, 50986, 23351, 214, 2271, 4460, 81, 91693, 26824, 856, 50770, 8335, 864, 31251, 190060, 62346, 26687, 162429, 23935, 51588, 75358,...
[ 0.260009765625, 0.16015625, 0.1783447265625, 0.25830078125, 0.228759765625, 0.12890625, 0.2095947265625, 0.052490234375, 0.012176513671875, 0.09716796875, 0.023223876953125, 0.1065673828125, 0.0931396484375, 0.068115234375, 0.1400146484375, 0.0858154296875, 0.031494140625, 0.012420...
embed
72127637_c0
72127637
fsharp
0
Title: Is it safe to use mutable let bindings inside task CEs or async CEs? Problem title: Is it safe to use mutable let bindings inside task CEs or async CEs? Tags: f%23, computation-expression, asynchronous, task Problem: Is it safe to use mutable let bindings inside task CEs or async CEs? When you think you know, yo...
Is it safe to use mutable let bindings inside task CEs or async CEs? Is it safe to use mutable let bindings inside task CEs or async CEs? f%23 computation-expression asynchronous task CEs MyState.Running Error Log.Fatal Something MyState.Crashed Microsoft.FSharp.Control.TaskBuilder Is it safe to use mutable let binding...
[ 0.00007915496826171875, 0.00933837890625, 0.0147705078125, 0.00052642822265625, -0.00055694580078125, 0.01904296875, 0.0030364990234375, 0.003997802734375, 0.007232666015625, -0.01153564453125, -0.02294921875, 0.0289306640625, 0.0181884765625, 0.0186767578125, 0.03515625, 0.01342773437...
[ 46002, 4527, 842, 22819, 2633, 128239, 46132, 66211, 18471, 7, 10, 12654, 238, 1238, 3742, 181135, 204629, 101966, 2646, 135206, 212059, 13146, 17647, 1803, 200905, 41535, 7244, 3467, 254, 175904, 9874, 1042, 121137, 56, 2071, 442, 5351, 3714...
[ 0.1815185546875, 0.0965576171875, 0.15576171875, 0.21728515625, 0.1920166015625, 0.230224609375, 0.1378173828125, 0.197021484375, 0.1531982421875, 0.0751953125, 0.026275634765625, 0.1624755859375, 0.04754638671875, 0.007537841796875, 0.1085205078125, 0.0645751953125, 0.08599853515625...
embed
4561663_c0
4561663
fsharp
0
Title: Rewrite some C# generic code into F# Problem title: Rewrite some C# generic code into F# Tags: f%23, c%23, generics Problem: Rewrite some C# generic code into F# I'm trying to rewrite generic code like this (C#): U Upcast<T, U>(T x) where T : U { return x; } In F#: let ucast<'T, 'U when 'T :> 'U> (x: 'T) = x :> ...
Rewrite some C# generic code into F# Rewrite some C# generic code into F# f%23 c%23 generics Rewrite Upcast Rewrite some C# generic code into F# I'm trying to rewrite generic code like this (C#): In F#: But F# constraint solving works different than C# and compiler outputs a bunch of typing errors: Please, explain me h...
[ -0.0103759765625, 0.01507568359375, 0.035400390625, -0.0240478515625, 0.0045166015625, -0.0076904296875, -0.005767822265625, 0.0032196044921875, 0.00946044921875, 0.0034332275390625, -0.0216064453125, -0.0198974609375, 0.0269775390625, 0.010009765625, 0.01373291015625, -0.01123046875, ...
[ 853, 434, 18781, 3060, 313, 4904, 189534, 18151, 3934, 563, 1238, 3949, 3742, 10091, 55741, 31577, 456, 1884, 903, 360, 4966, 158, 2816, 4288, 3115, 6496, 43240, 12921, 3501, 9969, 34759, 140992, 147306, 11417, 214, 18499, 73342, 3642, 2678...
[ 0.1187744140625, 0.13525390625, 0.166259765625, 0.0384521484375, 0.07684326171875, 0.2357177734375, 0.2337646484375, 0.171875, 0.1292724609375, 0.1597900390625, 0.071044921875, 0.0227813720703125, 0.1136474609375, 0.1138916015625, 0.21533203125, 0.0318603515625, 0.137451171875, 0.0...
embed
66477045_c1
66477045
fsharp
1
= x.newarticles <- v type NewarticlesRepository() = member x.GetAll () = use context = new SGdbEntities() query { for a in context.Newarticles do sortByDescending a.Id select a } |> Seq.toList member x.GetDetail (id) = use context = new SGdbEntities() query { for a in context.Newarticles do where (a.Id = id) select a ...
= x.newarticles <- v type NewarticlesRepository() = member x.GetAll () = use context = new SGdbEntities() query { for a in context.Newarticles do sortByDescending a.Id select a } |> Seq.toList member x.GetDetail (id) = use context = new SGdbEntities() query { for a in context.Newarticles do where (a.Id = id) select a ...
[ -0.00116729736328125, 0.00848388671875, -0.001617431640625, -0.015380859375, 0.008056640625, 0.004730224609375, -0.007293701171875, -0.006683349609375, 0.01165771484375, -0.033447265625, 0.00077056884765625, 0.010498046875, 0.007354736328125, 0.000690460205078125, 0.01043701171875, 0.0...
[ 2203, 1022, 5, 54936, 26147, 7, 81, 10644, 2356, 4332, 59111, 1294, 32786, 724, 126, 43512, 4527, 43701, 3525, 101436, 48073, 7768, 118, 2449, 41, 10666, 46568, 12096, 75358, 73347, 329, 10, 568, 71, 36849, 503, 864, 188, 154663, 4657, ...
[ 0.08831787109375, 0.158935546875, 0.0239715576171875, 0.173828125, 0.251220703125, 0.094970703125, 0.166259765625, 0.1522216796875, 0.150390625, 0.00946044921875, 0.152587890625, 0.0572509765625, 0.209228515625, 0.1162109375, 0.1514892578125, 0.2371826171875, 0.06689453125, 0.19616...
embed
16246332_c0
16246332
fsharp
0
Title: Trivial snippet of F# code does not work under MONO Problem title: Trivial snippet of F# code does not work under MONO Tags: f%23-3.0, mono, f%23 Problem: Trivial snippet of F# code does not work under MONO Here is a bit of code that won't win awards for complexity: [<EntryPoint>] let main argv = let i = 1I prin...
Trivial snippet of F# code does not work under MONO Trivial snippet of F# code does not work under MONO f%23-3.0 mono f%23 System.InvalidProgramException Trivial MONO EntryPoint One numericstest.exe Unhandled Exception Invalid System.Numerics.BigInteger:get_One Program.main System.String ERROR FATAL Trivial snippet of ...
[ -0.006927490234375, 0.0198974609375, -0.00182342529296875, 0.005950927734375, -0.0059814453125, 0.0005950927734375, 0.0257568359375, -0.01287841796875, -0.0096435546875, -0.0128173828125, 0.006561279296875, 0.017578125, -0.029296875, 0.0033721923828125, 0.016357421875, 0.00823974609375...
[ 4699, 686, 289, 91, 93, 58134, 111, 563, 4904, 18151, 14602, 959, 4488, 1379, 276, 110522, 1238, 27495, 132265, 22460, 3949, 3742, 12353, 7013, 148968, 63928, 357, 15123, 147534, 6561, 54744, 80686, 46480, 79628, 1991, 28021, 129933, 67, 37...
[ 0.1278076171875, 0.1705322265625, 0.0872802734375, 0.024810791015625, 0.144287109375, 0.182861328125, 0.0178985595703125, 0.1370849609375, 0.2451171875, 0.206787109375, 0.020782470703125, 0.093017578125, 0.1595458984375, 0.1748046875, 0.0712890625, 0.273681640625, 0.0662841796875, ...
embed
20819860_c0
20819860
fsharp
0
Title: Mocking Non-Standard Events in F# Foq Problem title: Mocking Non-Standard Events in F# Foq Tags: f%23, foq, unit-testing Problem: Mocking Non-Standard Events in F# Foq I'm new to F#, and I'm putting myself through some exercises to learn the language. The one I'm currently trying to do is to write a unit test fo...
Mocking Non-Standard Events in F# Foq Mocking Non-Standard Events in F# Foq f%23 foq unit-testing Mocking Non-Standard Events Foq Event Mock IKernel SetupEvent k.ComponentRegistered Publishes event.Publish Create Mocking Non-Standard Events in F# Foq I'm new to F#, and I'm putting myself through some exercises to learn...
[ -0.01531982421875, 0.003570556640625, -0.0224609375, -0.01446533203125, -0.005462646484375, -0.00982666015625, 0.00183868408203125, -0.004302978515625, -0.0024871826171875, -0.0206298828125, -0.01361083984375, 0.028564453125, -0.0194091796875, 0.010986328125, 0.002410888671875, -0.0214...
[ 2501, 41324, 3775, 191769, 123560, 563, 4904, 9572, 864, 23, 1238, 3949, 3742, 5775, 25072, 6954, 36943, 2594, 3196, 141, 19943, 2037, 192134, 472, 54137, 54601, 19656, 67325, 114942, 19732, 143145, 15227, 151313, 81979, 46876, 82424, 31577, ...
[ 0.19482421875, 0.1214599609375, 0.0992431640625, 0.1688232421875, 0.172119140625, 0.1256103515625, 0.209716796875, 0.14990234375, 0.1240234375, 0.000640869140625, 0.03094482421875, 0.010162353515625, 0.1087646484375, 0.0799560546875, 0.10791015625, 0.1455078125, 0.1490478515625, 0....
embed
6237389_c1
6237389
fsharp
1
as x=new B() then //Type instance ident is 'x' do x.Initialize () x.ColumnA<-DateTime.Now member x.Initialize ()= "TODO" |>ignore [<DefaultValue>] val mutable _ColumnA:DateTime //Use with 'DefaultValue' [<DataMember>] //the type have direct property members member x.ColumnA with get ()=x._ColumnA and set v=x._ColumnA<...
as x=new B() then //Type instance ident is 'x' do x.Initialize () x.ColumnA<-DateTime.Now member x.Initialize ()= "TODO" |>ignore [<DefaultValue>] val mutable _ColumnA:DateTime //Use with 'DefaultValue' [<DataMember>] //the type have direct property members member x.ColumnA with get ()=x._ColumnA and set v=x._ColumnA<...
[ 0.0140380859375, 0.0107421875, 0.006317138671875, 0.0208740234375, 0.00262451171875, -0.0093994140625, 0.016845703125, -0.000400543212890625, 0.010009765625, 0.00994873046875, 0.0054931640625, 0.0322265625, 0.02197265625, 0.032470703125, -0.0035247802734375, -0.01544189453125, 0.0125...
[ 237, 1022, 1369, 54936, 335, 132, 16, 7068, 4666, 196707, 110527, 60460, 83, 425, 4153, 40705, 119066, 78457, 316, 284, 86291, 70059, 137594, 32786, 8727, 13223, 167790, 187423, 11, 7136, 856, 50770, 3502, 842, 22819, 1062, 678, 137989, 274...
[ 0.1204833984375, 0.1429443359375, 0.006256103515625, 0.1314697265625, 0.141845703125, 0.0144195556640625, 0.00103759765625, 0.006683349609375, 0.006927490234375, 0.25390625, 0.2451171875, 0.263671875, 0.02532958984375, 0.1107177734375, 0.1190185546875, 0.2049560546875, 0.139770507812...
embed
6248787_c1
6248787
fsharp
1
sector.Latitude; yield string sector.RNCId; yield string sector.CellId; yield siteName; yield sector.Switch; yield sector.Technology; yield string (int sector.Azimuth); yield string sector.PrimaryScramblingCode; yield string (int sector.FrequencyBand); yield string (int sector.Height); yield sector.PatternName; yield ...
sector.Latitude; yield string sector.RNCId; yield string sector.CellId; yield siteName; yield sector.Switch; yield sector.Technology; yield string (int sector.Azimuth); yield string sector.PrimaryScramblingCode; yield string (int sector.FrequencyBand); yield string (int sector.Height); yield sector.PatternName; yield ...
[ -0.007110595703125, 0.0174560546875, -0.0125732421875, 0.0076904296875, -0.0079345703125, -0.0206298828125, -0.00408935546875, 0.00335693359375, -0.00799560546875, 0.007171630859375, -0.001434326171875, 0.0291748046875, 0.0291748046875, 0.00421142578125, 0.0174560546875, -0.00215148925...
[ 8916, 2729, 35810, 11180, 19388, 79315, 50456, 17304, 71, 6796, 568, 1764, 163612, 131519, 43721, 25443, 4288, 15608, 145111, 2198, 79298, 114211, 107, 944, 150501, 22553, 3055, 146984, 24908, 17032, 18770, 148545, 3834, 33022, 19283, 856, 1456...
[ 0.280517578125, 0.0791015625, 0.186279296875, 0.111572265625, 0.1416015625, 0.1917724609375, 0.0154266357421875, 0.03656005859375, 0.102783203125, 0.0908203125, 0.05865478515625, 0.046112060546875, 0.0758056640625, 0.1251220703125, 0.0252227783203125, 0.0305023193359375, 0.0282745361...
embed
21803699_c0
21803699
fsharp
0
Title: How can I refer to F# names containing a single quote in a C# context? Problem title: How can I refer to F# names containing a single quote in a C# context? Tags: f%23, syntax Problem: How can I refer to F# names containing a single quote in a C# context? This mostly comes up while trying to debug F# code in the...
How can I refer to F# names containing a single quote in a C# context? How can I refer to F# names containing a single quote in a C# context? f%23 syntax How Newline How can I refer to F# names containing a single quote in a C# context? This mostly comes up while trying to debug F# code in the Visual Studio debugger, w...
[ 0.0079345703125, 0.0008087158203125, 0.0038909912109375, 0.0067138671875, 0.010009765625, 0.002838134765625, -0.00933837890625, 0.01556396484375, 0.0029449462890625, 0.00958251953125, -0.00592041015625, 0.0013580322265625, -0.017578125, -0.00164794921875, -0.0027008056640625, 0.0137329...
[ 11249, 831, 15005, 47, 563, 4904, 123055, 70541, 11001, 66747, 313, 43701, 1238, 3742, 6002, 86531, 2356, 2256, 87, 214, 8, 85779, 18151, 73372, 22968, 978, 21407, 41206, 138410, 334, 52629, 2967, 77336, 32354, 124850, 60875, 25, 959, 35604...
[ 0.048675537109375, 0.064208984375, 0.2120361328125, 0.029541015625, 0.1826171875, 0.2459716796875, 0.202392578125, 0.1474609375, 0.2017822265625, 0.278076171875, 0.07373046875, 0.201171875, 0.1220703125, 0.1402587890625, 0.0830078125, 0.1484375, 0.128173828125, 0.2366943359375, 0...
embed
23996629_c0
23996629
fsharp
0
Title: How to retrieve the SQL query string of an F# query expression via System.Data.SQLite? Problem title: How to retrieve the SQL query string of an F# query expression via System.Data.SQLite? Tags: sqlite, c%23, f%23, query-expressions Problem: How to retrieve the SQL query string of an F# query expression via Syst...
How to retrieve the SQL query string of an F# query expression via System.Data.SQLite? How to retrieve the SQL query string of an F# query expression via System.Data.SQLite? sqlite c%23 f%23 query-expressions How SQL System.Data.SQLite SELECT EMPTY GetCommand CommandText Test this.showSQL Data Source UTF8Encoding Versi...
[ 0.01165771484375, -0.0025177001953125, 0.01116943359375, 0.038330078125, -0.00958251953125, 0.005462646484375, -0.0007476806640625, -0.0087890625, -0.00372314453125, 0.00060272216796875, -0.00010442733764648438, -0.01385498046875, -0.02001953125, 0.007568359375, -0.017822265625, 0.0032...
[ 11249, 456, 3996, 3134, 80866, 41, 1294, 79315, 563, 4904, 125195, 1829, 12353, 137989, 158897, 1486, 95255, 67, 3742, 1238, 204629, 6755, 144832, 113926, 27143, 20779, 10770, 12018, 123573, 174379, 8647, 903, 31374, 11809, 77641, 30992, 1019, ...
[ 0.034881591796875, 0.05548095703125, 0.1368408203125, 0.10418701171875, 0.2005615234375, 0.1326904296875, 0.08477783203125, 0.2376708984375, 0.09722900390625, 0.186279296875, 0.183349609375, 0.036102294921875, 0.0830078125, 0.089111328125, 0.140869140625, 0.17236328125, 0.11145019531...
embed
15675833_c0
15675833
fsharp
0
Title: why a generic struct parameterized by blittable type is not an unmanaged type? Problem title: why a generic struct parameterized by blittable type is not an unmanaged type? Tags: f%23, .net, pinvoke, unmanaged Problem: why a generic struct parameterized by blittable type is not an unmanaged type? I have one func...
why a generic struct parameterized by blittable type is not an unmanaged type? why a generic struct parameterized by blittable type is not an unmanaged type? f%23 .net pinvoke unmanaged Struct Vector4 T:unmanaged float32 Error why a generic struct parameterized by blittable type is not an unmanaged type? I have one fun...
[ -0.006927490234375, 0.03857421875, -0.0169677734375, -0.005401611328125, -0.020263671875, -0.0020294189453125, 0.002685546875, -0.000843048095703125, -0.00005364418029785156, 0.01141357421875, -0.015625, -0.0286865234375, 0.01019287109375, -0.013427734375, -0.0045166015625, -0.00154113...
[ 15400, 189534, 36716, 171859, 19425, 2886, 10644, 959, 51, 4707, 17704, 3742, 1179, 23253, 63667, 15390, 2609, 18770, 617, 384, 309, 21917, 6460, 212059, 83, 32354, 5775, 31, 28282, 64209, 9969, 49725, 18499, 51671, 44084, 144570 ]
[ 0.09808349609375, 0.1871337890625, 0.202392578125, 0.161865234375, 0.18603515625, 0.1881103515625, 0.1673583984375, 0.09710693359375, 0.0716552734375, 0.1507568359375, 0.0933837890625, 0.045074462890625, 0.082763671875, 0.04901123046875, 0.1246337890625, 0.0191650390625, 0.1062011718...
embed
49867081_c0
49867081
fsharp
0
Title: Asserting exception message using FsUnit.Xunit Problem title: Asserting exception message using FsUnit.Xunit Tags: fsunit, f%23, xunit Problem: Asserting exception message using FsUnit.Xunit I'm trying to assert a certain exception type and message using FsUnit.Xunit. There is some throwWithMessage function that...
Asserting exception message using FsUnit.Xunit Asserting exception message using FsUnit.Xunit fsunit f%23 xunit ArgumentException FsUnit.Xunit Asserting foo.fs FS0001 NHamcrest.Core.CustomMatcher NHamcrest.IMatcher Fact Some This.Throws Asserting exception message using FsUnit.Xunit I'm trying to assert a certain excep...
[ 0.0034027099609375, 0.024658203125, -0.0184326171875, -0.0179443359375, -0.01397705078125, -0.0068359375, 0.00811767578125, 0.00933837890625, 0.001251220703125, 0.0274658203125, 0.0002651214599609375, 0.01495361328125, -0.005157470703125, -0.0029449462890625, 0.01806640625, -0.00469970...
[ 62, 16865, 1916, 131527, 26008, 17368, 563, 7, 85600, 18, 5, 1542, 309, 217, 1238, 6548, 3949, 3742, 10438, 6773, 112140, 19279, 63928, 5775, 31, 17447, 93774, 188735, 47052, 302, 7612, 271, 50886, 223, 5928, 79520, 257, 5372, 132640, 313...
[ 0.056732177734375, 0.2099609375, 0.0166168212890625, 0.2171630859375, 0.1143798828125, 0.081298828125, 0.136474609375, 0.09326171875, 0.2222900390625, 0.09307861328125, 0.0146331787109375, 0.1099853515625, 0.1800537109375, 0.136962890625, 0.0897216796875, 0.10052490234375, 0.02549743...
embed
1816918_c0
1816918
fsharp
0
Title: F# match active pattern as expanded tuple Problem title: F# match active pattern as expanded tuple Tags: f%23, active-pattern, match, tuples Problem: F# match active pattern as expanded tuple I get the following error in diff with a red squiggle under Subset. Type mismatch. Expecting a Range -> Choice but given ...
F# match active pattern as expanded tuple F# match active pattern as expanded tuple f%23 active-pattern match tuples Type Expecting Range Choice int64 Before After BeforeOverlap AfterOverlap SuperSet SubSet x.min y.max y.min x.max xe:IEnumerator ye:IEnumerator xe.Current ye.Current xe.MoveNext F# match active pattern a...
[ -0.01068115234375, 0.0220947265625, -0.00017642974853515625, 0.033447265625, -0.0067138671875, -0.00081634521484375, -0.0218505859375, 0.0205078125, 0.02294921875, 0.021728515625, 0.0198974609375, 0.048095703125, 0.00469970703125, -0.0023345947265625, 0.00933837890625, -0.0094604492187...
[ 563, 4904, 14858, 36457, 103510, 237, 71062, 370, 8705, 1238, 3742, 4453, 22766, 99726, 60457, 60075, 24762, 142462, 181948, 13307, 117371, 24372, 156673, 6324, 4265, 294, 126, 8273, 1249, 113, 24084, 4449, 20441, 2606, 56, 2422, 9083, 81280,...
[ 0.122802734375, 0.1749267578125, 0.1778564453125, 0.16552734375, 0.1767578125, 0.0699462890625, 0.1749267578125, 0.094482421875, 0.154541015625, 0.0684814453125, 0.09716796875, 0.11279296875, 0.056640625, 0.1495361328125, 0.1744384765625, 0.1226806640625, 0.15283203125, 0.162963867...
embed
5177899_c0
5177899
fsharp
0
Title: use another matchings in some matching Problem title: use another matchings in some matching Tags: match, f%23 Problem: use another matchings in some matching It's not really hard trouble but as I'm learning language I want my code being sorta elegant and I don't like this : match aver with | 1 -> @" GROUP BY DA...
use another matchings in some matching use another matchings in some matching match f%23 GROUP DATEPART YEAR Date MONTH DAY HOUR MINUTE use another matchings in some matching It's not really hard trouble but as I'm learning language I want my code being sorta elegant and I don't like this : because I really want it ali...
[ -0.017822265625, -0.0113525390625, -0.00311279296875, 0.00799560546875, -0.0185546875, -0.017578125, -0.009033203125, 0.030029296875, 0.0142822265625, -0.01495361328125, -0.000942230224609375, 0.01519775390625, 0.00897216796875, -0.010009765625, -0.006591796875, -0.0035400390625, -0....
[ 4527, 15700, 14858, 5180, 23, 3060, 214, 1238, 3949, 3742, 177314, 391, 35746, 88601, 990, 127427, 25512, 174307, 67141, 572, 76234, 228860, 7, 7941, 63134, 52080, 46876, 3444, 18151, 8035, 127550, 27650, 2301, 18, 1884, 6183, 5062, 903, 39...
[ 0.126220703125, 0.1781005859375, 0.2398681640625, 0.196044921875, 0.1053466796875, 0.1025390625, 0.1494140625, 0.08526611328125, 0.07269287109375, 0.1651611328125, 0.1734619140625, 0.0341796875, 0.05242919921875, 0.1165771484375, 0.046173095703125, 0.022735595703125, 0.07275390625, ...
embed
3570640_c1
3570640
fsharp
1
lname = this.lname.Text ; email = this.email.Text ; phone = "" ; firm = List.find findFirm <| RpcXYZ.getFirms(); score = None ; } // this line is fine t is a list of 1 item after 1 click let t = candidate :: (!this.brokers) // this line doesn't seem to work this.brokers := candidate :: (!this.brokers) ChildWindow().Sh...
lname = this.lname.Text ; email = this.email.Text ; phone = "" ; firm = List.find findFirm <| RpcXYZ.getFirms(); score = None ; } // this line is fine t is a list of 1 item after 1 click let t = candidate :: (!this.brokers) // this line doesn't seem to work this.brokers := candidate :: (!this.brokers) ChildWindow().Sh...
[ 0.0185546875, 0.0240478515625, 0.00121307373046875, 0.00799560546875, 0.01318359375, 0.0194091796875, -0.000598907470703125, 0.0057373046875, 0.025634765625, -0.024658203125, 0.0074462890625, -0.0159912109375, 0.0283203125, 0.0142822265625, 0.00701904296875, -0.0238037109375, 0.00451...
[ 96, 11627, 2203, 903, 141, 174379, 2819, 3340, 25501, 24089, 11037, 32036, 111607, 7413, 6159, 42, 39, 25765, 238, 143907, 1511, 3794, 47763, 438, 86, 13315, 83, 5885, 808, 10, 5303, 111, 106, 35735, 7103, 18158, 2633, 25469, 38, 100231, ...
[ 0.10394287109375, 0.259521484375, 0.08984375, 0.191650390625, 0.1009521484375, 0.222412109375, 0.023895263671875, 0.1600341796875, 0.165283203125, 0.1573486328125, 0.2044677734375, 0.1484375, 0.130615234375, 0.1099853515625, 0.0771484375, 0.08642578125, 0.063232421875, 0.0708618164...
embed
37632979_c1
37632979
fsharp
1
(List.head (allCoinsLaunchs)) let randomCoin = List.item (rnd.Next(List.length (allCoinsLaunchs))) allCoinsLaunchs let random = ObtainFrequencyOfHeads(randomCoin) let min = allCoinsLaunchs |> List.map (fun coin -> ObtainFrequencyOfHeads coin) |> List.min (first, random, min) module Exercice1 = let GetResult() = Seq.ini...
(List.head (allCoinsLaunchs)) let randomCoin = List.item (rnd.Next(List.length (allCoinsLaunchs))) allCoinsLaunchs let random = ObtainFrequencyOfHeads(randomCoin) let min = allCoinsLaunchs |> List.map (fun coin -> ObtainFrequencyOfHeads coin) |> List.min (first, random, min) module Exercice1 = let GetResult() = Seq.ini...
[ 0.0125732421875, -0.01519775390625, 0.000518798828125, 0.00003075599670410156, 0.0022125244140625, -0.00144195556640625, -0.00250244140625, -0.0198974609375, 0.01214599609375, -0.045166015625, 0.0152587890625, 0.0419921875, 0.0086669921875, 0.0072021484375, 0.0185546875, -0.00946044921...
[ 154663, 5, 31251, 5584, 10625, 5425, 2729, 309, 206, 2633, 96759, 73, 2203, 32036, 217, 195, 2208, 81280, 23986, 756, 3545, 25500, 107, 944, 132887, 13025, 712, 46258, 881, 62346, 16498, 43780, 1249, 13448, 88996, 155534, 418, 20779, 7, 7...
[ 0.184326171875, 0.0042724609375, 0.241455078125, 0.1090087890625, 0.13623046875, 0.06298828125, 0.022125244140625, 0.146240234375, 0.119140625, 0.072021484375, 0.219482421875, 0.109619140625, 0.00946044921875, 0.1845703125, 0.0811767578125, 0.054840087890625, 0.052154541015625, 0.0...
embed
34568672_c1
34568672
fsharp
1
F# compiler know, what System.Numerics.Vector<'T>.op_Multiply does and what arithmetic rules apply? It could literally be any operation. So how should it be able to deduce the correct units? The question is : What the best way to make this work? How can we tell the compiler which rules apply? Attempt 1 : Remove all un...
F# compiler know, what System.Numerics.Vector<'T>.op_Multiply does and what arithmetic rules apply? It could literally be any operation. So how should it be able to deduce the correct units? The question is : What the best way to make this work? How can we tell the compiler which rules apply? Attempt 1 : Remove all un...
[ -0.02734375, 0.0216064453125, 0.0086669921875, -0.002960205078125, 0.0045166015625, -0.0220947265625, -0.0028533935546875, -0.0245361328125, 0.018310546875, -0.007476806640625, -0.021240234375, 0.030029296875, 0.01611328125, -0.0228271484375, -0.019287109375, -0.0078125, 0.0053710937...
[ 563, 4904, 9969, 34759, 3714, 2367, 12353, 18444, 1991, 28021, 26455, 18770, 618, 2146, 50657, 118, 62479, 14602, 8962, 282, 9523, 91736, 59911, 5809, 218500, 2499, 41018, 3642, 5608, 8, 106357, 26785, 25072, 7, 2965, 3917, 3249, 4488, 1419...
[ 0.140380859375, 0.20556640625, 0.190673828125, 0.196044921875, 0.0899658203125, 0.004852294921875, 0.1126708984375, 0.1087646484375, 0.1212158203125, 0.123046875, 0.1778564453125, 0.158447265625, 0.0892333984375, 0.1795654296875, 0.1666259765625, 0.182373046875, 0.2169189453125, 0....
embed
40616712_c0
40616712
fsharp
0
Title: Confusing anonymous function construct Problem title: Confusing anonymous function construct Tags: f%23 Problem: Confusing anonymous function construct I'm reading through an F# tutorial, and ran into an example of syntax that I don't understand. The link to the page I'm reading is at the bottom. Here's the exam...
Confusing anonymous function construct Confusing anonymous function construct f%23 Confusing quicksort2 first::rest List.partition List.concat list1 Evens Confusing anonymous function construct I'm reading through an F# tutorial, and ran into an example of syntax that I don't understand. The link to the page I'm readin...
[ -0.003936767578125, -0.0024566650390625, 0.0181884765625, -0.01434326171875, 0.0096435546875, -0.000957489013671875, 0.01019287109375, 0.005218505859375, 0.0027618408203125, 0.01068115234375, 0.0025177001953125, 0.01220703125, 0.006256103515625, -0.0159912109375, 0.022216796875, -0.008...
[ 106161, 223, 52184, 10821, 32354, 64549, 1238, 3742, 63773, 62351, 304, 5117, 56644, 32036, 15866, 2271, 4460, 5303, 418, 31267, 563, 4904, 57143, 27781, 6002, 86531, 28219, 3126, 16454, 103136, 2831, 18, 903, 60494, 2740, 1369, 66161, 83, ...
[ 0.1561279296875, 0.138916015625, 0.216064453125, 0.08831787109375, 0.1812744140625, 0.217529296875, 0.023529052734375, 0.07952880859375, 0.1641845703125, 0.218505859375, 0.1246337890625, 0.1942138671875, 0.17138671875, 0.1776123046875, 0.1575927734375, 0.024932861328125, 0.1518554687...
embed
73389055_c0
73389055
fsharp
0
Title: F# error: &quot;Either make the arguments to &#x27;it&#x27; explicit or, if you do not intend for it to be generic, add a type annotation.&quot; Problem title: F# error: &quot;Either make the arguments to &#x27;it&#x27; explicit or, if you do not intend for it to be generic, add a type annotation.&quot; Tags: f%...
F# error: &quot;Either make the arguments to &#x27;it&#x27; explicit or, if you do not intend for it to be generic, add a type annotation.&quot; F# error: &quot;Either make the arguments to &#x27;it&#x27; explicit or, if you do not intend for it to be generic, add a type annotation.&quot; f%23 type-systems haskell func...
[ 0.002044677734375, 0.0211181640625, 0.0098876953125, 0.0006256103515625, 0.0002346038818359375, 0.008544921875, -0.02978515625, -0.005279541015625, -0.010498046875, -0.01806640625, 0.0024261474609375, 0.01361083984375, 0, 0.0025177001953125, 0.022705078125, -0.00341796875, 0.00268554...
[ 563, 4904, 18499, 9319, 3249, 10750, 47, 3768, 217, 143726, 707, 2174, 959, 150661, 189534, 15190, 10644, 8668, 22062, 7, 1238, 16751, 1556, 142508, 123309, 28966, 93774, 7049, 1197, 190060, 10, 212398, 128019, 20633, 1179, 172, 31577, 3034, ...
[ 0.1461181640625, 0.2178955078125, 0.1729736328125, 0.09814453125, 0.06097412109375, 0.2052001953125, 0.14990234375, 0.10479736328125, 0.203857421875, 0.21630859375, 0.071044921875, 0.06268310546875, 0.08892822265625, 0.1533203125, 0.173095703125, 0.107421875, 0.197509765625, 0.1584...
embed
20788353_c0
20788353
fsharp
0
Title: Idioms/Practices for Implementing Constrained Numeric Types in F#? Problem title: Idioms/Practices for Implementing Constrained Numeric Types in F#? Tags: f%23, refinement-type Problem: Idioms/Practices for Implementing Constrained Numeric Types in F#? Suppose one needs a numeric data type whose allowed values f...
Idioms/Practices for Implementing Constrained Numeric Types in F#? Idioms/Practices for Implementing Constrained Numeric Types in F#? f%23 refinement-type Idioms Practices Implementing Constrained Numeric Types MyInt Value uint16 Idioms/Practices for Implementing Constrained Numeric Types in F#? Suppose one needs a num...
[ -0.001220703125, -0.0198974609375, 0.0166015625, 0.016845703125, -0.004058837890625, 0.03564453125, -0.0022735595703125, -0.00115203857421875, 0.00506591796875, 0.017333984375, -0.0106201171875, -0.00457763671875, -0.02197265625, -0.004058837890625, 0.01458740234375, 0.01287841796875, ...
[ 87, 428, 28016, 50344, 49086, 153941, 1657, 9297, 122009, 93511, 1771, 60457, 563, 4904, 23, 1238, 3742, 18831, 73, 5911, 50986, 109613, 2646, 4153, 18, 190060, 4288, 2485, 27117, 54744, 2053, 10644, 107003, 142424, 6817, 28032, 58735, 37457,...
[ 0.0152740478515625, 0.1446533203125, 0.0784912109375, 0.129150390625, 0.1048583984375, 0.18603515625, 0.1318359375, 0.20458984375, 0.1221923828125, 0.166259765625, 0.04974365234375, 0.2247314453125, 0.1585693359375, 0.21826171875, 0.0204315185546875, 0.0892333984375, 0.0965576171875,...
embed
40808519_c0
40808519
fsharp
0
Title: Can I find the position of applied generic arguments on a MethodInfo object? Problem title: Can I find the position of applied generic arguments on a MethodInfo object? Tags: system.reflection, c%23, generics, f%23 Problem: Can I find the position of applied generic arguments on a MethodInfo object? I need to fi...
Can I find the position of applied generic arguments on a MethodInfo object? Can I find the position of applied generic arguments on a MethodInfo object? system.reflection c%23 generics f%23 Can MethodInfo Box system.reflection Can I find the position of applied generic arguments on a MethodInfo object? I need to find ...
[ 0.004547119140625, 0.023681640625, 0.0164794921875, -0.0003223419189453125, -0.0201416015625, 0.00640869140625, -0.005523681640625, 0.007568359375, -0.001861572265625, 0.00390625, 0.0013580322265625, -0.01202392578125, -0.00982666015625, -0.007110595703125, -0.004730224609375, 0.003326...
[ 4171, 87, 7413, 19069, 111, 190659, 189534, 10750, 7, 98, 74644, 93147, 36746, 70, 5426, 107, 34334, 10763, 3742, 27271, 1810, 7440, 66161, 171859, 32354, 621, 25632, 10644, 62163, 30646, 109954, 121, 39, 23962, 7804, 80973, 52895, 3917, 44...
[ 0.053436279296875, 0.021453857421875, 0.1484375, 0.20556640625, 0.0662841796875, 0.1796875, 0.25244140625, 0.221923828125, 0.1258544921875, 0.06005859375, 0.1778564453125, 0.270751953125, 0.1810302734375, 0.038604736328125, 0.091796875, 0.06463623046875, 0.1900634765625, 0.08923339...
embed
14895412_c0
14895412
fsharp
0
Title: Remove elements during infinite sequence generation Problem title: Remove elements during infinite sequence generation Tags: data-structures, f%23, haskell Problem: Remove elements during infinite sequence generation I found a great haskell solution ( source ) for generating a Hofstadter sequence : hofstadter = ...
Remove elements during infinite sequence generation Remove elements during infinite sequence generation data-structures f%23 haskell Remove r:s:ss Just s:delete Seq.unfold Some Seq.filter Remove elements during infinite sequence generation I found a great haskell solution ( source ) for generating a Hofstadter sequence...
[ -0.005035400390625, 0.0240478515625, -0.01177978515625, 0.007049560546875, -0.0186767578125, -0.0208740234375, 0.00640869140625, -0.0034942626953125, 0.010986328125, -0.02490234375, 0.000881195068359375, 0.0164794921875, -0.01153564453125, -0.0030517578125, 0.005889892578125, 0.0163574...
[ 181139, 80854, 20271, 54241, 13, 40, 944, 58093, 3956, 2053, 137656, 1238, 3742, 1556, 142508, 1690, 7, 91, 8520, 67, 503, 864, 42822, 120337, 29806, 31344, 12663, 62850, 47704, 56, 563, 4904, 266, 36272, 2967, 7722, 87388, 12830, 45646, ...
[ 0.1510009765625, 0.162353515625, 0.10150146484375, 0.1610107421875, 0.0260467529296875, 0.043243408203125, 0.1351318359375, 0.1591796875, 0.06640625, 0.055633544921875, 0.0989990234375, 0.032318115234375, 0.040802001953125, 0.10186767578125, 0.1627197265625, 0.054840087890625, 0.0181...
embed
41191818_c0
41191818
fsharp
0
Title: F# Passing Nulls to Unmanaged Imported DLL Problem title: F# Passing Nulls to Unmanaged Imported DLL Tags: dllimport, f%23 Problem: F# Passing Nulls to Unmanaged Imported DLL In F# i'm using an external DLL (in this case SDL Graphics library) I'm importing the method I require as follows... [<DllImport("SDL2.dll...
F# Passing Nulls to Unmanaged Imported DLL F# Passing Nulls to Unmanaged Imported DLL dllimport f%23 Passing Nulls Unmanaged Imported DLL DllImport SDL2.dll CallingConvention CallingConvention.Cdecl SDL_QueryTexture uint32 SDLDefs.SDL_QueryTexture F# Passing Nulls to Unmanaged Imported DLL In F# i'm using an external D...
[ 0.010986328125, 0.0042724609375, 0.006500244140625, 0.005157470703125, -0.0322265625, -0.01220703125, 0.0174560546875, -0.0302734375, -0.0186767578125, 0.0037689208984375, 0.00128936767578125, -0.01519775390625, -0.02001953125, 0.01397705078125, 0.00958251953125, -0.01190185546875, 0...
[ 563, 4904, 28872, 1429, 42458, 47, 992, 4707, 17704, 92966, 297, 391, 23708, 81717, 60270, 1238, 3742, 1181, 61637, 6982, 159, 27502, 5442, 26265, 57241, 112, 174379, 4288, 6460, 187423, 17368, 173591, 189682, 35773, 24927, 55300, 64209, 2896...
[ 0.1422119140625, 0.2119140625, 0.1053466796875, 0.2054443359375, 0.182861328125, 0.1097412109375, 0.0838623046875, 0.1607666015625, 0.10211181640625, 0.2005615234375, 0.014434814453125, 0.0821533203125, 0.2041015625, 0.128662109375, 0.2171630859375, 0.08331298828125, 0.114013671875, ...
embed
12621301_c0
12621301
fsharp
0
Title: Why does F# not allow multiple attributes where C# does? Problem title: Why does F# not allow multiple attributes where C# does? Tags: f%23, attributes, allowmultiple, attributeusage Problem: Why does F# not allow multiple attributes where C# does? The following code compiles in C#: [ContentType("text")] [Conten...
Why does F# not allow multiple attributes where C# does? Why does F# not allow multiple attributes where C# does? f%23 attributes allowmultiple attributeusage Why ContentType Class1 AttributeUsage AttributeTargets.Class AllowMultiple FooAttribute Attribute BarAttribute Foo MyClassCompiles Bar MyClassDoesNotCompile Why ...
[ -0.01068115234375, 0.005126953125, -0.01251220703125, -0.01043701171875, -0.00457763671875, -0.005828857421875, -0.000698089599609375, 0.00006008148193359375, 0.00689697265625, -0.0023193359375, -0.015869140625, 0.007110595703125, 0.01519775390625, 0.0189208984375, -0.004913330078125, ...
[ 44084, 563, 4904, 959, 63769, 48716, 150380, 90, 7440, 313, 14602, 1238, 3742, 144227, 8705, 147152, 70870, 196707, 35014, 418, 1913, 191145, 1062, 7, 63031, 3794, 140803, 41566, 50657, 118, 9572, 31, 3253, 2646, 108161, 1340, 122116, 25632, ...
[ 0.09619140625, 0.1669921875, 0.234375, 0.140380859375, 0.156005859375, 0.254638671875, 0.2369384765625, 0.06256103515625, 0.046112060546875, 0.06829833984375, 0.06884765625, 0.123291015625, 0.044708251953125, 0.1180419921875, 0.14794921875, 0.1246337890625, 0.2093505859375, 0.23669...
embed
2490920_c1
2490920
fsharp
1
earr),PAops.And(PAops.CompareEqual(sums,twoarr),arr)) //rule for life let initrandom () = Array2D.init size size (fun x y -> if RNG.NextDouble() > 0.5 then true else false) type meform () as self= inherit Form() let mutable array = new BoolParallelArray(initrandom()) let timer = new System.Timers.Timer(1.0) //redrawing...
earr),PAops.And(PAops.CompareEqual(sums,twoarr),arr)) //rule for life let initrandom () = Array2D.init size size (fun x y -> if RNG.NextDouble() > 0.5 then true else false) type meform () as self= inherit Form() let mutable array = new BoolParallelArray(initrandom()) let timer = new System.Timers.Timer(1.0) //redrawing...
[ -0.00118255615234375, 0.0203857421875, -0.00531005859375, -0.012939453125, 0.00080108642578125, -0.002655029296875, 0.00701904296875, 0.00390625, 0.00933837890625, -0.0198974609375, 0.00830078125, 0.036376953125, 0.003997802734375, 0.0216064453125, -0.00180816650390625, -0.000074386596...
[ 67896, 42, 247, 12236, 68818, 37839, 108161, 1046, 647, 71723, 7, 10321, 55547, 147, 4666, 882, 133, 100, 6897, 2633, 485, 50713, 3815, 2203, 69253, 53, 304, 397, 73, 217, 13267, 16498, 1022, 113, 33079, 627, 8066, 81280, 8331, 34, 2661...
[ 0.106689453125, 0.1043701171875, 0.0282135009765625, 0.131103515625, 0.2330322265625, 0.1260986328125, 0.13134765625, 0.1148681640625, 0.0207366943359375, 0.1895751953125, 0.040740966796875, 0.197509765625, 0.0860595703125, 0.020416259765625, 0.111328125, 0.199951171875, 0.1680908203...
embed
77816176_c1
77816176
fsharp
1
use box , hence the mnemonic pun in the title), match (box a) with | :? Miez -> a match (box a) with | :? Lofa -> a but it doesn't explain why it works or what "sealed" types are, and also raises questions: Does this mean that "sealed" types are "simple" F# types (i.e., not defined as "class types")? Found the issue #...
use box , hence the mnemonic pun in the title), match (box a) with | :? Miez -> a match (box a) with | :? Lofa -> a but it doesn't explain why it works or what "sealed" types are, and also raises questions: Does this mean that "sealed" types are "simple" F# types (i.e., not defined as "class types")? Found the issue #...
[ -0.000965118408203125, -0.0029144287109375, 0.006927490234375, 0.00013828277587890625, -0.00701904296875, -0.016357421875, 0.003448486328125, 0.03759765625, -0.01470947265625, 0.0147705078125, 0.003509521484375, -0.00994873046875, 0.00396728515625, 0.01495361328125, 0.01019287109375, -...
[ 4527, 16530, 49097, 432, 6402, 1992, 44759, 14858, 11728, 10, 678, 1208, 1255, 2091, 1021, 73342, 15400, 43240, 184, 11, 6259, 52895, 621, 29459, 191560, 563, 4904, 61924, 67413, 31089, 76531, 41566, 126970, 297, 114977, 26171, 158288, 217064...
[ 0.1158447265625, 0.25048828125, 0.01861572265625, 0.026580810546875, 0.00714111328125, 0.1134033203125, 0.06646728515625, 0.13720703125, 0.1624755859375, 0.09503173828125, 0.00408935546875, 0.06298828125, 0.1326904296875, 0.0219268798828125, 0.14013671875, 0.011566162109375, 0.044219...
embed
39155563_c1
39155563
fsharp
1
the DefaultValue attribute with record fields. A better approach is to define default instances of records with fields that are initialized to default values and then use a copy and update record expression to set any fields that differ from the default values. Following that piece of advice, I would like to define de...
the DefaultValue attribute with record fields. A better approach is to define default instances of records with fields that are initialized to default values and then use a copy and update record expression to set any fields that differ from the default values. Following that piece of advice, I would like to define de...
[ -0.00909423828125, 0.01043701171875, 0.00084686279296875, 0.006011962890625, 0.00958251953125, -0.03125, -0.020263671875, -0.003173828125, 0.0059814453125, 0.01611328125, -0.009765625, -0.00049591064453125, 0.014892578125, 0.0036163330078125, 0.0084228515625, -0.005035400390625, 0.01...
[ 262, 1021, 7136, 856, 50770, 150380, 678, 17164, 44457, 11522, 51515, 61924, 114977, 110527, 115923, 61475, 142424, 28350, 125195, 5423, 129927, 67660, 7, 3835, 61687, 12937, 52895, 39527, 10644, 53498, 88342, 171859, 11814, 54877, 194583, 10770,...
[ 0.11181640625, 0.1766357421875, 0.1624755859375, 0.1468505859375, 0.1990966796875, 0.1573486328125, 0.03326416015625, 0.2181396484375, 0.16796875, 0.06695556640625, 0.0810546875, 0.150634765625, 0.271240234375, 0.2318115234375, 0.2198486328125, 0.083984375, 0.1961669921875, 0.02980...
embed
11329894_c0
11329894
fsharp
0
Title: Units of measures and statistical models with F# Problem title: Units of measures and statistical models with F# Tags: units-of-measurement, f%23 Problem: Units of measures and statistical models with F# For a statistical model, if I want to use units of measure consistently, I need to encode somewhere the numbe...
Units of measures and statistical models with F# Units of measures and statistical models with F# units-of-measurement f%23 Units DataSet Measure Matrixu Vectoru a:DataSet b:DataSet ar:DataSet seq.empty Seq.head Seq.skip Seq.fold Units of measures and statistical models with F# For a statistical model, if I want to use...
[ 0.01544189453125, 0.017578125, 0.01068115234375, -0.002593994140625, -0.01483154296875, -0.0184326171875, -0.006805419921875, -0.01068115234375, 0.0269775390625, -0.03271484375, -0.0267333984375, -0.0213623046875, 0.0002288818359375, -0.007171630859375, 0.00811767578125, -0.00329589843...
[ 46640, 111, 72350, 7, 136, 80835, 115774, 678, 563, 4904, 25072, 4390, 37440, 56851, 1238, 3949, 3742, 11809, 294, 126, 1215, 11, 194234, 34, 2609, 18770, 10, 12, 137989, 876, 187, 864, 33548, 31251, 44024, 42822, 3299, 3444, 4527, 74729,...
[ 0.255859375, 0.095458984375, 0.244873046875, 0.024169921875, 0.04547119140625, 0.1702880859375, 0.157958984375, 0.0780029296875, 0.1378173828125, 0.218017578125, 0.2451171875, 0.1334228515625, 0.1334228515625, 0.12646484375, 0.112060546875, 0.0379638671875, 0.1492919921875, 0.10363...
embed
39932929_c0
39932929
fsharp
0
Title: The field, constructor or member &#x27;MapRoute&#x27; is not defined in F# Web API Project Problem title: The field, constructor or member &#x27;MapRoute&#x27; is not defined in F# Web API Project Tags: c%23-to-f%23, asp.net-mvc, f%23 Problem: The field, constructor or member 'MapRoute' is not defined in F# Web ...
The field, constructor or member &#x27;MapRoute&#x27; is not defined in F# Web API Project The field, constructor or member &#x27;MapRoute&#x27; is not defined in F# Web API Project c%23-to-f%23 asp.net-mvc f%23 MapRoute Web API Project asp.net-mvc The field, constructor or member 'MapRoute' is not defined in F# Web AP...
[ -0.01470947265625, 0.02685546875, 0.00836181640625, -0.0279541015625, -0.00811767578125, -0.002410888671875, 0.0025787353515625, 0.0002880096435546875, -0.00188446044921875, -0.0177001953125, 0.00099945068359375, -0.00323486328125, -0.00439453125, 0.0277099609375, 0.0169677734375, 0.00...
[ 44457, 64549, 748, 707, 32786, 3768, 166179, 12724, 6743, 83, 959, 61924, 71, 563, 4904, 4002, 61687, 27331, 420, 237, 254, 1179, 66357, 1238, 42719, 4, 98441, 34754, 25632, 31089, 31577, 169581, 22629, 1916, 1467, 31470, 9790, 55300, 10601...
[ 0.2220458984375, 0.16845703125, 0.1400146484375, 0.059906005859375, 0.2095947265625, 0.0633544921875, 0.191162109375, 0.19921875, 0.1766357421875, 0.013519287109375, 0.1256103515625, 0.2110595703125, 0.057281494140625, 0.1107177734375, 0.2100830078125, 0.128662109375, 0.169921875, ...
embed
2725489_c0
2725489
fsharp
0
Title: How can I implement the same behavior as Dictionary.TryGetValue Problem title: How can I implement the same behavior as Dictionary.TryGetValue Tags: implementation, out-parameters, f%23, byref, .net Problem: How can I implement the same behavior as Dictionary.TryGetValue So, given then following code type MyClas...
How can I implement the same behavior as Dictionary.TryGetValue How can I implement the same behavior as Dictionary.TryGetValue implementation out-parameters f%23 byref .net How Dictionary.TryGetValue MyClass Dictionary items.Add this.TryGetValue items.TrygetValue d.Add d.TryGetValue c.TryGetValue How can I implement t...
[ -0.01220703125, 0.01141357421875, 0.0213623046875, 0.00006079673767089844, 0.005645751953125, -0.0185546875, -0.0267333984375, -0.006866455078125, 0.01300048828125, -0.0230712890625, 0.023193359375, 0.03076171875, -0.0233154296875, 0.01007080078125, 0.0047607421875, -0.00531005859375, ...
[ 11249, 831, 29479, 5701, 123166, 147638, 618, 1294, 724, 126, 856, 50770, 208124, 1810, 6276, 29089, 1238, 3949, 3742, 390, 29087, 1179, 2646, 140803, 55769, 4028, 3794, 237, 25632, 18151, 3034, 1690, 418, 334, 13315, 43240, 5885, 304, 5433...
[ 0.023162841796875, 0.043182373046875, 0.198974609375, 0.13671875, 0.1949462890625, 0.1783447265625, 0.057830810546875, 0.1776123046875, 0.10284423828125, 0.1402587890625, 0.2322998046875, 0.265869140625, 0.16796875, 0.128662109375, 0.0946044921875, 0.1474609375, 0.049560546875, 0.0...
embed
52295216_c0
52295216
fsharp
0
Title: Enabling CORS using F# and ASP.NET Problem title: Enabling CORS using F# and ASP.NET Tags: cors, asp.net, saturn-framework, f%23 Problem: Enabling CORS using F# and ASP.NET How do I enable CORS using F# and ASP.NET. I'm trying to authenticate a user with Google but I get the following error in the browser consol...
Enabling CORS using F# and ASP.NET Enabling CORS using F# and ASP.NET cors asp.net saturn-framework f%23 F# Enabling CORS ASP.NET GOOGLE_ID GOOGLE_SECRET Env:GOOLGE_ID Env:GOOGLE_SECRET Auth Google Enabling CORS using F# and ASP.NET How do I enable CORS using F# and ASP.NET. I'm trying to authenticate a user with Googl...
[ 0.0018463134765625, 0.0294189453125, 0.0024566650390625, -0.0181884765625, 0.01226806640625, -0.01104736328125, -0.003631591796875, 0.009521484375, -0.01031494140625, -0.032470703125, 0.0152587890625, -0.00958251953125, -0.012939453125, 0.020751953125, 0.0224609375, 0.0028839111328125,...
[ 357, 11, 79298, 70555, 294, 17368, 563, 4904, 136, 147153, 17777, 8231, 7, 237, 254, 1179, 110574, 19, 160328, 18244, 1238, 3949, 3742, 30563, 126833, 7146, 454, 9127, 441, 41116, 334, 137142, 11679, 19930, 670, 5655, 927, 1815, 22, 2886,...
[ 0.06298828125, 0.088134765625, 0.083740234375, 0.254638671875, 0.24072265625, 0.152587890625, 0.1505126953125, 0.22900390625, 0.1429443359375, 0.2022705078125, 0.1632080078125, 0.1695556640625, 0.14892578125, 0.0013427734375, 0.1082763671875, 0.0986328125, 0.154296875, 0.1164550781...
embed
56941072_c0
56941072
fsharp
0
Title: Simple FParsec list example Problem title: Simple FParsec list example Tags: f%23, fparsec Problem: Simple FParsec list example I'm just getting started with FParsec and can't wrap my head around a simple list parser. Given the input "{ a;b;c d; }" I want to get the result ['a';'b';'c';'d'] If I do let baseChars...
Simple FParsec list example Simple FParsec list example f%23 fparsec Simple FParsec Parser many1Chars Simple FParsec list example I'm just getting started with FParsec and can't wrap my head around a simple list parser. Given the input "{ a;b;c d; }" I want to get the result ['a';'b';'c';'d'] If I do I get a failure on...
[ -0.0147705078125, 0.0216064453125, 0.00004291534423828125, 0.0302734375, -0.0164794921875, 0.0234375, 0.004302978515625, -0.005340576171875, 0.00933837890625, -0.0068359375, 0.03466796875, 0.0123291015625, 0.0115966796875, 0.0206298828125, -0.00506591796875, -0.00494384765625, 0.0086...
[ 60552, 563, 28636, 39797, 5303, 27781, 1238, 3742, 2500, 2392, 2189, 5941, 418, 84068, 8781, 366, 107730, 10, 74, 238, 104, 3444, 2046, 16750, 11, 275, 71, 4263, 137578, 4568, 51912, 31577, 14858, 9351, 20450, 17721, 12319, 29806, 132283, ...
[ 0.1400146484375, 0.12060546875, 0.1025390625, 0.184326171875, 0.12890625, 0.1331787109375, 0.0660400390625, 0.0850830078125, 0.074462890625, 0.091552734375, 0.1182861328125, 0.081298828125, 0.037200927734375, 0.1357421875, 0.1068115234375, 0.0970458984375, 0.13623046875, 0.02102661...
embed
62358275_c0
62358275
fsharp
0
Title: How to make the Promise lazy? Problem title: How to make the Promise lazy? Tags: f%23, concurrency, hopac, promise Problem: How to make the Promise lazy? open System open System.Threading open Hopac open Hopac.Infixes let hello what = job { for i=1 to 3 do do! timeOut (TimeSpan.FromSeconds 1.0) do printfn "%s" w...
How to make the Promise lazy? How to make the Promise lazy? f%23 concurrency hopac promise a another How Promise System System.Threading Hopac Hopac.Infixes TimeSpan.FromSeconds Promise.start Hello Promise.read Console.ReadKey How to make the Promise lazy? This is one of the examples from the Hopac documentation . From...
[ -0.01422119140625, 0.0194091796875, -0.007568359375, -0.0004100799560546875, 0.00408935546875, 0.0166015625, 0.02294921875, -0.01611328125, 0.00099945068359375, -0.0286865234375, -0.021240234375, 0.00738525390625, -0.0005950927734375, 0.0032501220703125, 0.03173828125, 0.0028076171875,...
[ 11249, 47, 3249, 70, 1250, 5453, 21, 3285, 3949, 3742, 108636, 982, 739, 62268, 103036, 15700, 12353, 39116, 2291, 55923, 19055, 3180, 17137, 35378, 40777, 31345, 162429, 27781, 209806, 143726, 11782, 1647, 418, 304, 32354, 7464, 11675, 7722,...
[ 0.1138916015625, 0.06121826171875, 0.133544921875, 0.08282470703125, 0.206298828125, 0.256591796875, 0.1575927734375, 0.2442626953125, 0.0213775634765625, 0.1185302734375, 0.1107177734375, 0.054656982421875, 0.052825927734375, 0.17724609375, 0.23583984375, 0.006011962890625, 0.119750...
embed
38710434_c1
38710434
fsharp
1
my entire domain: open NUnit.Framework open FsUnit (* Types *) type Black = BlackKing | BlackSoldier type Red = RedKing | RedSoldier type Coordinate = int * int type Piece = | Black of Black * Coordinate | Red of Red * Coordinate type Space = | Allocated of Piece | Available of Coordinate type Status = | BlacksTurn | ...
my entire domain: open NUnit.Framework open FsUnit (* Types *) type Black = BlackKing | BlackSoldier type Red = RedKing | RedSoldier type Coordinate = int * int type Piece = | Black of Black * Coordinate | Red of Red * Coordinate type Space = | Allocated of Piece | Available of Coordinate type Status = | BlacksTurn | ...
[ -0.005584716796875, 0.007720947265625, 0.01806640625, -0.00872802734375, -0.0123291015625, -0.017578125, 0.023193359375, -0.00592041015625, 0.0103759765625, 0.0191650390625, -0.000972747802734375, 0.05224609375, 0.00762939453125, 0.00075531005859375, -0.0238037109375, 0.006317138671875...
[ 759, 64194, 77758, 12, 9803, 18057, 6773, 5, 108386, 282, 18244, 563, 7, 85600, 18, 75402, 60457, 661, 10644, 10074, 2203, 605, 214, 58745, 102588, 63052, 6096, 1311, 43297, 23, 10374, 111, 43045, 884, 116292, 238204, 56504, 42671, 19, 92...
[ 0.1419677734375, 0.1961669921875, 0.206298828125, 0.0283966064453125, 0.143310546875, 0.1884765625, 0.25048828125, 0.0160369873046875, 0.1204833984375, 0.08392333984375, 0.153564453125, 0.147705078125, 0.09381103515625, 0.2177734375, 0.05352783203125, 0.052642822265625, 0.22790527343...
embed
17745892_c0
17745892
fsharp
0
Title: Point free function wouldn&#x27;t cause recursion but normal function would here? Problem title: Point free function wouldn&#x27;t cause recursion but normal function would here? Tags: f%23, lazy-evaluation, functional-programming, pointfree Problem: Point free function wouldn't cause recursion but normal functi...
Point free function wouldn&#x27;t cause recursion but normal function would here? Point free function wouldn&#x27;t cause recursion but normal function would here? f%23 lazy-evaluation functional-programming pointfree Point Here Point free function wouldn't cause recursion but normal function would here? As a side ques...
[ -0.0179443359375, 0.0238037109375, -0.00909423828125, 0.00823974609375, 0.00579833984375, 0.002838134765625, -0.00616455078125, -0.00116729736328125, 0.0020904541015625, -0.01904296875, -0.009033203125, 0.0103759765625, 0.001708984375, 0.015380859375, 0.0240478515625, -0.00145721435546...
[ 41097, 4092, 32354, 68746, 3768, 18, 22304, 195625, 1830, 1284, 3638, 2806, 3688, 1238, 3742, 21, 3285, 159258, 123309, 28966, 6275, 32087, 11853, 1544, 102329, 6024, 55741, 563, 4904, 9655, 3293, 11389, 25178, 959, 40383, 37202, 566, 561, ...
[ 0.17333984375, 0.213623046875, 0.18701171875, 0.11962890625, 0.04071044921875, 0.12255859375, 0.137939453125, 0.2044677734375, 0.0902099609375, 0.04205322265625, 0.170166015625, 0.1270751953125, 0.1749267578125, 0.0220947265625, 0.0152740478515625, 0.03363037109375, 0.10565185546875,...
embed
45198036_c0
45198036
fsharp
0
Title: Json Provided type gens don&#x27;t work with &quot;with&quot; Problem title: Json Provided type gens don&#x27;t work with &quot;with&quot; Tags: fscheck, f%23, f%23-data, fsharp.data.typeproviders, json Problem: Json Provided type gens don't work with "with" Here is a snippet that demonstrates what I'll talk abo...
Json Provided type gens don&#x27;t work with &quot;with&quot; Json Provided type gens don&#x27;t work with &quot;with&quot; fscheck f%23 f%23-data fsharp.data.typeproviders json Json Provided FsCheck FsCheck.Gen FSharp.Data Test JsonProvider Name Rob Age Arb.generate Test.Collection Test.Root item.Name Chris fsharp.dat...
[ -0.0015106201171875, 0.040771484375, -0.035888671875, -0.0159912109375, -0.027099609375, -0.003814697265625, -0.01904296875, -0.00714111328125, 0.007049560546875, -0.0078125, 0.01129150390625, 0.060791015625, 0.006683349609375, 0.009765625, 0.0191650390625, 0.00592041015625, 0.004058...
[ 821, 1681, 123089, 10644, 29038, 3768, 18, 4488, 678, 76228, 41502, 1238, 78292, 3742, 27495, 10135, 89280, 254, 50986, 93136, 1647, 563, 202567, 105376, 3467, 8647, 177997, 30520, 72944, 1172, 275, 48281, 133, 35735, 31745, 71, 9226, 44457, ...
[ 0.1014404296875, 0.1671142578125, 0.168701171875, 0.17626953125, 0.226318359375, 0.03802490234375, 0.070556640625, 0.111328125, 0.108154296875, 0.310791015625, 0.01397705078125, 0.07342529296875, 0.232177734375, 0.008453369140625, 0.010986328125, 0.07373046875, 0.09295654296875, 0....
embed
13953488_c0
13953488
fsharp
0
Title: Exchanging big lists between C# and F# Problem title: Exchanging big lists between C# and F# Tags: list, f%23, dll, data-exchange, c%23 Problem: Exchanging big lists between C# and F# I have big data files of historical stock data, that I want to load over a C# GUI and then process with different algorithms in F...
Exchanging big lists between C# and F# Exchanging big lists between C# and F# list f%23 dll data-exchange c%23 Exchanging Open High Low Close Exchanging big lists between C# and F# I have big data files of historical stock data, that I want to load over a C# GUI and then process with different algorithms in F#. Additio...
[ 0.0191650390625, 0.014404296875, -0.00787353515625, 0.00732421875, -0.00958251953125, -0.0115966796875, 0.000576019287109375, 0.0042724609375, 0.007476806640625, 0.01513671875, 0.00897216796875, -0.0017547607421875, -0.0037078857421875, -0.0002040863037109375, 0.00141143798828125, 0.01...
[ 5443, 90965, 6957, 5303, 7, 17721, 313, 4904, 136, 563, 1238, 3742, 81717, 2053, 3355, 152028, 13527, 19694, 61187, 153335, 765, 102158, 186768, 31837, 3444, 72367, 645, 195490, 9433, 12921, 234873, 23, 29117, 43315, 142424, 114689, 1733, 662...
[ 0.1268310546875, 0.2227783203125, 0.1488037109375, 0.2498779296875, 0.03533935546875, 0.130859375, 0.11083984375, 0.248779296875, 0.1190185546875, 0.16748046875, 0.0816650390625, 0.089111328125, 0.160888671875, 0.10009765625, 0.1123046875, 0.1390380859375, 0.1539306640625, 0.112670...
embed
33665196_c0
33665196
fsharp
0
Title: F# Dictionary of Options Problem title: F# Dictionary of Options Tags: mono, f%23, dictionary Problem: F# Dictionary of Options Why can't I add None to a System.Collections.Generic.Dictionary of Option ? Is it an expected behavior or a bug in Mono? F# Interactive for F# 3.1 (Open Source Edition) Freely distribut...
F# Dictionary of Options F# Dictionary of Options mono f%23 dictionary System.ArgumentNullException System.ThrowHelper.ThrowArgumentNullException System.Exception Dictionary Options None System.Collections.Generic.Dictionary Option Interactive Open Source Edition Freely Apache License System.Collections.Generic d1.Add ...
[ -0.0033111572265625, 0.019775390625, 0.01080322265625, -0.003082275390625, -0.01055908203125, -0.02001953125, 0.0133056640625, -0.0274658203125, -0.0184326171875, 0.01611328125, 0.0003185272216796875, 0.00445556640625, 0.00125885009765625, 0.00099945068359375, 0.029052734375, 0.0058898...
[ 563, 4904, 147638, 111, 152448, 22460, 1238, 3949, 3742, 45, 10763, 12353, 7614, 1234, 18444, 1181, 63928, 15555, 60785, 1264, 19279, 438, 78457, 8996, 135932, 14055, 86769, 5337, 13527, 77641, 44965, 5153, 9795, 64779, 104, 418, 4028, 190060...
[ 0.1292724609375, 0.22998046875, 0.199462890625, 0.142333984375, 0.251953125, 0.205078125, 0.0799560546875, 0.015350341796875, 0.1119384765625, 0.043609619140625, 0.1207275390625, 0.1397705078125, 0.003662109375, 0.1597900390625, 0.1307373046875, 0.009307861328125, 0.1534423828125, ...
embed
39967283_c0
39967283
fsharp
0
Title: System.Xml.Linq.XAttribute namespace is modified unexpectedly when added to XElement Problem title: System.Xml.Linq.XAttribute namespace is modified unexpectedly when added to XElement Tags: xml, .net, f%23, linq Problem: System.Xml.Linq.XAttribute namespace is modified unexpectedly when added to XElement The na...
System.Xml.Linq.XAttribute namespace is modified unexpectedly when added to XElement System.Xml.Linq.XAttribute namespace is modified unexpectedly when added to XElement xml .net f%23 linq System.Xml.Linq.XAttribute XElement XName.Get MyRoot MyXElement myRoot.Add XAttribute XNamespace.Xmlns XNamespace.Get mychildxeleme...
[ 0.005340576171875, 0.053466796875, -0.010498046875, -0.018798828125, -0.0223388671875, -0.00775146484375, 0.00494384765625, 0.004974365234375, -0.00421142578125, 0.023193359375, 0.0213623046875, 0.01446533203125, 0.01708984375, 0.01226806640625, 0.0047607421875, 0.006195068359375, 0....
[ 12353, 1542, 7237, 866, 44982, 18, 191145, 210716, 73197, 297, 241957, 538, 3229, 49814, 47, 90878, 19929, 5, 65415, 83, 131492, 1179, 3742, 96, 1193, 163612, 126, 2646, 12724, 818, 759, 4028, 28848, 65421, 724, 206, 38472, 425, 62766, 77...
[ 0.1080322265625, 0.0233154296875, 0.1126708984375, 0.02484130859375, 0.154541015625, 0.038909912109375, 0.222412109375, 0.27392578125, 0.1878662109375, 0.03070068359375, 0.139892578125, 0.0223846435546875, 0.0161590576171875, 0.1239013671875, 0.0228424072265625, 0.10015869140625, 0.2...
embed
48808317_c1
48808317
fsharp
1
'target :> IModel<'value, 'target>> = abstract token: string with get abstract value: 'value with get abstract GetEmpty: unit -> 'target type ISearchModel<'value, 'search, 'target when 'target :> ISearchModel<'value, 'search, 'target>> = inherit IModel<'value, 'target> abstract search: 'search with get abstract ReInit...
'target :> IModel<'value, 'target>> = abstract token: string with get abstract value: 'value with get abstract GetEmpty: unit -> 'target type ISearchModel<'value, 'search, 'target when 'target :> ISearchModel<'value, 'search, 'target>> = inherit IModel<'value, 'target> abstract search: 'search with get abstract ReInit...
[ -0.0084228515625, -0.0030364990234375, -0.00128936767578125, 0.0184326171875, -0.00004100799560546875, -0.0162353515625, -0.0137939453125, -0.000820159912109375, 0.0205078125, -0.025390625, 0.0196533203125, 0.00518798828125, 0.005615234375, 0.01446533203125, 0.0159912109375, -0.0027923...
[ 867, 3794, 87, 140290, 27494, 30813, 164789, 47, 1098, 79315, 678, 2046, 34292, 20779, 134332, 939, 25072, 10644, 221175, 86250, 242, 3334, 33938, 853, 4153, 217, 194583, 33209, 28641, 6448, 91693, 5701, 43585, 125663, 29479, 32354, 28282, 36...
[ 0.163330078125, 0.192626953125, 0.1612548828125, 0.282470703125, 0.1629638671875, 0.011077880859375, 0.1761474609375, 0.1015625, 0.1756591796875, 0.1595458984375, 0.09344482421875, 0.0760498046875, 0.14013671875, 0.0911865234375, 0.15234375, 0.0958251953125, 0.1348876953125, 0.1074...
embed
43501002_c1
43501002
fsharp
1
0.14/lib/net40/OxyPlot.GtkSharp.dll'... val it : ChartTypes.GenericChart = (Chart) in FSI, the chart window opens immediately but it takes 20-30 sec for the chart to actually appear. is it normal it takes so long ? When i hover on the chart, i see no coordinates, is it normal ? i cannot close this window. As you can se...
0.14/lib/net40/OxyPlot.GtkSharp.dll'... val it : ChartTypes.GenericChart = (Chart) in FSI, the chart window opens immediately but it takes 20-30 sec for the chart to actually appear. is it normal it takes so long ? When i hover on the chart, i see no coordinates, is it normal ? i cannot close this window. As you can se...
[ 0.00347900390625, 0.018310546875, 0.0108642578125, 0.002899169921875, 0.0062255859375, -0.0177001953125, 0.0291748046875, -0.03466796875, -0.00176239013671875, 0.03173828125, -0.00537109375, -0.0361328125, 0.01226806640625, -0.00628662109375, -0.003875732421875, 0.0019683837890625, 0...
[ 107754, 77212, 5612, 1179, 2839, 670, 50878, 683, 12631, 724, 31472, 40798, 10681, 1181, 3502, 110373, 196707, 135932, 84068, 18, 563, 9902, 116287, 76896, 9803, 109312, 442, 51776, 79895, 19216, 20653, 108975, 3638, 221, 4989, 739, 814, 98, ...
[ 0.05316162109375, 0.01849365234375, 0.0697021484375, 0.083251953125, 0.171630859375, 0.071044921875, 0.1077880859375, 0.003662109375, 0.1541748046875, 0.001556396484375, 0.120849609375, 0.07843017578125, 0.129150390625, 0.10565185546875, 0.0947265625, 0.229248046875, 0.18408203125, ...
embed
57445826_c1
57445826
fsharp
1
the very beginning but never had the opportunity to use it in my work. Now I have the chance to use F# for a data transformations pipeline and I really want to make a good impression. So I've been playing with F# for about three weeks now, I get some of the building blocks of my small app done, and am having some head...
the very beginning but never had the opportunity to use it in my work. Now I have the chance to use F# for a data transformations pipeline and I really want to make a good impression. So I've been playing with F# for about three weeks now, I get some of the building blocks of my small app done, and am having some head...
[ -0.00909423828125, 0.01019287109375, 0.01708984375, -0.004425048828125, 0.0201416015625, -0.00848388671875, 0.0113525390625, -0.004119873046875, 0.01806640625, -0.039794921875, 0.0120849609375, 0.019287109375, 0.01531982421875, 0.01226806640625, 0.003997802734375, -0.01214599609375, ...
[ 4552, 86595, 1284, 8306, 1902, 54591, 4527, 23, 759, 4488, 14240, 765, 18227, 563, 4904, 100, 2053, 167201, 137158, 2256, 6183, 3444, 4127, 49128, 2809, 75169, 678, 17262, 40859, 5036, 33976, 46389, 19336, 4027, 16940, 19441, 3060, 10336, 4...
[ 0.0577392578125, 0.0560302734375, 0.031494140625, 0.088623046875, 0.0321044921875, 0.11767578125, 0.1263427734375, 0.02117919921875, 0.009857177734375, 0.0889892578125, 0.01361083984375, 0.00384521484375, 0.121337890625, 0.18115234375, 0.268310546875, 0.0264739990234375, 0.1215820312...
embed
6778958_c1
6778958
fsharp
1
depending on how mapUsersToConnections is implemented and various other factors. As mapUsersToConnections is the only other place which has access to connection it must be its responsibility to dispose of SQL connection. In F#, this can be done like this: // implementation where we return the same connection for each ...
depending on how mapUsersToConnections is implemented and various other factors. As mapUsersToConnections is the only other place which has access to connection it must be its responsibility to dispose of SQL connection. In F#, this can be done like this: // implementation where we return the same connection for each ...
[ -0.004791259765625, 0.01519775390625, 0.005218505859375, -0.007598876953125, -0.01611328125, 0.010009765625, -0.015869140625, -0.0074462890625, 0.0228271484375, -0.0289306640625, 0.007049560546875, -0.008056640625, 0.01019287109375, 0.0135498046875, 0.0086669921875, 0.00082778930664062...
[ 96819, 22288, 1062, 7, 1314, 7763, 235603, 17514, 29479, 120103, 4734, 3789, 3687, 17203, 94878, 8110, 186, 6863, 153579, 47, 60458, 111, 80866, 360, 563, 4904, 903, 831, 16940, 208124, 30646, 5701, 12638, 38937, 223, 40, 864, 99247, 4527, ...
[ 0.03411865234375, 0.18798828125, 0.152587890625, 0.162353515625, 0.1728515625, 0.25146484375, 0.2119140625, 0.174560546875, 0.09844970703125, 0.0231781005859375, 0.053192138671875, 0.0303497314453125, 0.07958984375, 0.1317138671875, 0.2327880859375, 0.010284423828125, 0.0059204101562...
embed
8420558_c0
8420558
fsharp
0
Title: Convert Json information into a F# list Problem title: Convert Json information into a F# list Tags: json, list, f%23 Problem: Convert Json information into a F# list I am discovering Json files and I would like to create a F# code that would read the following Json file (extracted from Facebook connect) and put...
Convert Json information into a F# list Convert Json information into a F# list json list f%23 Convert Json Name first_name last_name Katter Maxime www.facebook.com katter.maxime Bedur start_date end_date AAAAAAAA Graduate School en_US updated_time Convert Json information into a F# list I am discovering Json files and...
[ 0.00958251953125, 0.0028839111328125, -0.007049560546875, 0.0166015625, -0.0250244140625, 0.0223388671875, -0.01385498046875, 0.006744384765625, -0.000843048095703125, -0.00897216796875, -0.008544921875, 0.002471923828125, -0.01409912109375, -0.004730224609375, 0.01483154296875, 0.0120...
[ 1657, 11549, 821, 1681, 4677, 3934, 10, 563, 4904, 5303, 1647, 1238, 3949, 3742, 15757, 5117, 11627, 4568, 1136, 3055, 46540, 13, 5, 32314, 156, 24084, 3602, 873, 3020, 4034, 17489, 3564, 155616, 15467, 120278, 2182, 19188, 22, 8762, 1500...
[ 0.08001708984375, 0.187255859375, 0.215576171875, 0.274169921875, 0.1859130859375, 0.1304931640625, 0.0673828125, 0.1649169921875, 0.24951171875, 0.252197265625, 0.144287109375, 0.08685302734375, 0.024078369140625, 0.1180419921875, 0.128173828125, 0.070556640625, 0.143798828125, 0....
embed
7190722_c0
7190722
fsharp
0
Title: Is it possible to declare a type at function scope in F#? Problem title: Is it possible to declare a type at function scope in F#? Tags: functional-programming, f%23 Problem: Is it possible to declare a type at function scope in F#? Let's say I have a function which does something pretty complicated and it is im...
Is it possible to declare a type at function scope in F#? Is it possible to declare a type at function scope in F#? functional-programming f%23 SomeRecord i:int x:int y:int SomeOtherRecord x:SomeRecord x:SomeOtherRecord Type Is it possible to declare a type at function scope in F#? Let's say I have a function which doe...
[ 0.006591796875, 0.0078125, -0.0111083984375, -0.00124359130859375, -0.00933837890625, -0.005096435546875, -0.01141357421875, 0.0101318359375, 0.005340576171875, 0.000518798828125, -0.0020904541015625, 0.00811767578125, -0.005157470703125, 0.00494384765625, 0.03515625, 0.015625, -0.00...
[ 2071, 7722, 159978, 10644, 99, 32354, 70820, 23, 563, 4904, 442, 47, 10, 123309, 28966, 1238, 3742, 31384, 32271, 17, 4288, 113, 60457, 28875, 96704, 29479, 4358, 1614, 137175, 99156, 64457, 370, 99726, 1884, 4527, 81814, 2182, 45646, 14375...
[ 0.039215087890625, 0.16943359375, 0.2489013671875, 0.27197265625, 0.110107421875, 0.2222900390625, 0.2427978515625, 0.07366943359375, 0.1427001953125, 0.2176513671875, 0.0330810546875, 0.0101318359375, 0.015380859375, 0.15283203125, 0.0892333984375, 0.0389404296875, 0.0745849609375, ...
embed
11142852_c0
11142852
fsharp
0
Title: Performance of F# code terrible Problem title: Performance of F# code terrible Tags: recursion, f%23, sequences, performance Problem: Performance of F# code terrible This is my very first F# programme. I thought I would implement Conway's Game of Life as a first exercise. Please help me understand why the follow...
Performance of F# code terrible Performance of F# code terrible recursion f%23 sequences performance Performance GetNeighbours List.filter List.map Seq.cast Evolve OutputStr Generation LINE_MARKER_1 CCN Seq.map Survivors Seq.exists Seq.filter Seq.length NewBorns Seq.concat Seq.groupBy Seq.append SWt System.Threading.Sp...
[ -0.01226806640625, 0.023193359375, -0.011962890625, 0, -0.004547119140625, -0.0296630859375, 0.01190185546875, -0.0166015625, 0.006103515625, -0.03271484375, 0.0174560546875, 0.045166015625, -0.0126953125, 0.007232666015625, 0.0185546875, 0.00634765625, -0.005401611328125, -0.02221...
[ 94030, 111, 563, 4904, 18151, 94176, 195625, 1238, 3949, 3742, 40, 26513, 23718, 20779, 6433, 6958, 38648, 32036, 120337, 62346, 864, 55741, 3784, 272, 13538, 71713, 83479, 130028, 125662, 12501, 115187, 36115, 187502, 54376, 2356, 113469, 4460...
[ 0.20458984375, 0.153564453125, 0.145263671875, 0.255126953125, 0.1878662109375, 0.2178955078125, 0.1348876953125, 0.08172607421875, 0.032562255859375, 0.1287841796875, 0.037445068359375, 0.13720703125, 0.2098388671875, 0.0841064453125, 0.0501708984375, 0.1181640625, 0.1451416015625, ...
embed
47979396_c0
47979396
fsharp
0
Title: Why is the boxy version of the parser 13x faster than the fully specialized one? Problem title: Why is the boxy version of the parser 13x faster than the fully specialized one? Tags: f%23 Problem: Why is the boxy version of the parser 13x faster than the fully specialized one? I am in the process of making the t...
Why is the boxy version of the parser 13x faster than the fully specialized one? Why is the boxy version of the parser 13x faster than the fully specialized one? f%23 Why Why is the boxy version of the parser 13x faster than the fully specialized one? I am in the process of making the tutorials for the new Spiral langu...
[ 0.01385498046875, 0.006072998046875, -0.004425048828125, 0.0008392333984375, -0.013916015625, 0.000858306884765625, 0.002044677734375, -0.0230712890625, 0.01153564453125, 0.018798828125, -0.00148773193359375, -0.01708984375, -0.015869140625, -0.0128173828125, -0.0014495849609375, 0.002...
[ 44084, 16530, 53, 11389, 366, 2189, 702, 425, 4271, 56, 3501, 89554, 5361, 29367, 83, 57143, 144833, 289, 46876, 49041, 23718, 104192, 139539, 6626, 139392, 103391, 146981, 16454, 138, 23, 933, 79315, 30646, 370, 8705, 387, 127877, 5527, 21...
[ 0.0916748046875, 0.1810302734375, 0.151123046875, 0.15673828125, 0.1513671875, 0.1871337890625, 0.16845703125, 0.1522216796875, 0.1435546875, 0.13671875, 0.005859375, 0.08544921875, 0.161376953125, 0.1119384765625, 0.00439453125, 0.11767578125, 0.16015625, 0.14599609375, 0.106750...
embed
17361215_c0
17361215
fsharp
0
Title: F#: Type inference not finding the correct overload Problem title: F#: Type inference not finding the correct overload Tags: type-inference, f%23 Problem: F#: Type inference not finding the correct overload I've written a function and I have started to refactor it, but I'm having some problems with a "A unique o...
F#: Type inference not finding the correct overload F#: Type inference not finding the correct overload type-inference f%23 Type CheckValuesLin sigFigs:int Math.Round F#: Type inference not finding the correct overload I've written a function and I have started to refactor it, but I'm having some problems with a "A uni...
[ -0.00994873046875, -0.017333984375, 0.0020904541015625, 0.0010223388671875, -0.00469970703125, -0.007049560546875, 0.001312255859375, -0.0252685546875, 0.01806640625, 0.01336669921875, 0.0018768310546875, 0.00970458984375, 0.0111083984375, -0.0111083984375, 0.021240234375, 0.0029296875...
[ 563, 4904, 60457, 53498, 6620, 959, 90791, 26785, 645, 63033, 10644, 69988, 1238, 3742, 38679, 42272, 866, 73, 1144, 6159, 9405, 4288, 78804, 12724, 7030, 59121, 32354, 144810, 44402, 36998, 55300, 5809, 83324, 35509, 4677, 41928, 903, 1528, ...
[ 0.09503173828125, 0.1766357421875, 0.23828125, 0.20263671875, 0.06182861328125, 0.07861328125, 0.09918212890625, 0.1456298828125, 0.1190185546875, 0.2122802734375, 0.19482421875, 0.1390380859375, 0.0275421142578125, 0.0838623046875, 0.1126708984375, 0.09228515625, 0.075927734375, 0...
embed
64168764_c0
64168764
fsharp
0
Title: Reader monad transformer sample with FSharpPlus Problem title: Reader monad transformer sample with FSharpPlus Tags: f%23, f%23%2B, monad-transformers Problem: Reader monad transformer sample with FSharpPlus I'm trying to understand the reader monad transformer. I'm using FSharpPlus and try to compile the follow...
Reader monad transformer sample with FSharpPlus Reader monad transformer sample with FSharpPlus f%23 f%23%2B monad-transformers Reader FSharpPlus FSharpPlus.Data Async.Sleep ReaderT.run Async.RunSynchronously Result Reader monad transformer sample with FSharpPlus I'm trying to understand the reader monad transformer. I...
[ -0.0155029296875, 0.00579833984375, -0.00020313262939453125, -0.01080322265625, 0.007415771484375, -0.0186767578125, -0.01361083984375, -0.017333984375, -0.01470947265625, -0.042236328125, 0.01708984375, 0.0228271484375, 0.018310546875, -0.01031494140625, 0.0255126953125, -0.0234375, ...
[ 122636, 2667, 712, 27198, 56, 121413, 678, 93774, 3467, 254, 88225, 1238, 3742, 571, 215175, 137989, 12654, 133, 4517, 618, 16428, 163321, 217835, 127, 1900, 126684, 28219, 155255, 17368, 9790, 9969, 1340, 25632, 5117, 12301, 65998, 181135, 7...
[ 0.2196044921875, 0.1356201171875, 0.20458984375, 0.2098388671875, 0.0880126953125, 0.2042236328125, 0.0594482421875, 0.09490966796875, 0.170166015625, 0.1302490234375, 0.2227783203125, 0.055328369140625, 0.0975341796875, 0.004974365234375, 0.2132568359375, 0.049652099609375, 0.139648...
embed
28693535_c1
28693535
fsharp
1
3M yield "GBP", 14.36M, 516.32M, 120.23M } let iterateThroughMySequnce a b c d () = JObj [JProp("CurrencyCode", !! a); JProp("TotalPerCurrencyBeforeExchange", !! b); JProp("ExchangeRate", !! c); JProp("TotalPerCurrencyAfterExchange", !! d)]; let k = JObj [ JProp("InvoiceNumber", !! "13456789"); JProp("InvoiceDate", !! ...
3M yield "GBP", 14.36M, 516.32M, 120.23M } let iterateThroughMySequnce a b c d () = JObj [JProp("CurrencyCode", !! a); JProp("TotalPerCurrencyBeforeExchange", !! b); JProp("ExchangeRate", !! c); JProp("TotalPerCurrencyAfterExchange", !! d)]; let k = JObj [ JProp("InvoiceNumber", !! "13456789"); JProp("InvoiceDate", !! ...
[ -0.001251220703125, 0.0115966796875, -0.0001678466796875, 0.01019287109375, 0.0008697509765625, -0.015869140625, -0.01544189453125, 0.040771484375, 0.01190185546875, -0.01507568359375, -0.005859375, 0.03564453125, -0.001800537109375, -0.01007080078125, 0.0025787353515625, 0.02478027343...
[ 138, 594, 11180, 19388, 8359, 683, 830, 6370, 8659, 4, 190, 2485, 5, 6460, 5390, 3742, 51912, 2633, 17, 8560, 67, 20800, 72089, 31852, 4233, 5490, 3956, 876, 501, 104, 16, 2203, 21253, 275, 170, 122063, 28437, 132, 33724, 27771, 114211,...
[ 0.2666015625, 0.291259765625, 0.231689453125, 0.281005859375, 0.1602783203125, 0.177490234375, 0.07135009765625, 0.0986328125, 0.1868896484375, 0.047821044921875, 0.0445556640625, 0.1688232421875, 0.0232696533203125, 0.128173828125, 0.15966796875, 0.1229248046875, 0.0740966796875, ...
embed
8179485_c1
8179485
fsharp
1
) member this.Print() = this.Levels |> List.iteri (fun i e -> printfn "Level %d: Illumination %d" i e.Illumination e.Rooms |> List.iteri (fun i e -> let state = if e.Locked then "locked" else "unlocked" printfn " Room %d is %s" i state e.Monsters |> List.iteri (fun i e -> let state = if e.Awake then "awake" else "aslee...
) member this.Print() = this.Levels |> List.iteri (fun i e -> printfn "Level %d: Illumination %d" i e.Illumination e.Rooms |> List.iteri (fun i e -> let state = if e.Locked then "locked" else "unlocked" printfn " Room %d is %s" i state e.Monsters |> List.iteri (fun i e -> let state = if e.Awake then "awake" else "aslee...
[ -0.0419921875, 0.013671875, 0.0216064453125, -0.005859375, 0.00531005859375, 0.004119873046875, -0.01953125, -0.0174560546875, -0.00732421875, 0.024658203125, 0.0147705078125, 0.0301513671875, 0.007354736328125, 0.00799560546875, -0.009521484375, 0.01123046875, -0.02587890625, -0.0...
[ 1388, 32786, 903, 5, 112079, 18, 132, 2203, 5267, 2601, 7, 32036, 14, 14465, 16498, 17, 28, 33079, 28412, 14783, 1745, 12, 891, 822, 91407, 568, 16591, 12724, 28016, 2633, 11341, 209848, 21135, 309, 38484, 83, 46674, 37499, 6, 634, 7978...
[ 0.085205078125, 0.27197265625, 0.2022705078125, 0.0234832763671875, 0.2181396484375, 0.1512451171875, 0.08819580078125, 0.0372314453125, 0.114990234375, 0.2139892578125, 0.0151824951171875, 0.18701171875, 0.056182861328125, 0.25048828125, 0.126953125, 0.093017578125, 0.1123046875, ...
embed
43452974_c0
43452974
fsharp
0
Title: Why are there Uppercase Named Patterns in F#? Problem title: Why are there Uppercase Named Patterns in F#? Tags: pattern-matching, .net, f%23, functional-programming, ocaml Problem: Why are there Uppercase Named Patterns in F#? In The F# 4.0 Language Specification , it said that: 7.2 Named Patterns If long-ident...
Why are there Uppercase Named Patterns in F#? Why are there Uppercase Named Patterns in F#? pattern-matching .net f%23 functional-programming ocaml Why Uppercase Named Patterns Literal Not Match Match.zero Zero Why are there Uppercase Named Patterns in F#? In The F# 4.0 Language Specification , it said that: So the fol...
[ -0.01470947265625, -0.006256103515625, 0.01239013671875, 0.0123291015625, -0.0012969970703125, -0.0177001953125, -0.00689697265625, 0.004150390625, 0.001861572265625, 0.0225830078125, 0.00909423828125, 0.0064697265625, 0.009765625, -0.01129150390625, 0.025146484375, -0.01177978515625, ...
[ 44084, 2685, 26655, 56, 58437, 2096, 297, 9876, 22766, 23, 563, 4904, 621, 103510, 98753, 214, 1179, 1238, 3742, 123309, 28966, 36, 9779, 141, 135940, 11205, 67407, 80510, 83947, 40401, 83658, 209052, 25632, 18151, 1221, 959, 4488, 45234, 5...
[ 0.1170654296875, 0.0511474609375, 0.11083984375, 0.0751953125, 0.2069091796875, 0.16796875, 0.03271484375, 0.169677734375, 0.1558837890625, 0.0338134765625, 0.1368408203125, 0.2164306640625, 0.009765625, 0.183349609375, 0.12939453125, 0.015838623046875, 0.07183837890625, 0.04699707...
embed
19227886_c0
19227886
fsharp
0
Title: Group, sum and weighted average in f# Problem title: Group, sum and weighted average in f# Tags: f%23 Problem: Group, sum and weighted average in f# I have the following data: let data = [(41609.00 , 10000., 3.822); (41609.00, 60000., 3.857); (41974.00 , 20000., 4.723 ); (41974.00, 30000., 3.22 ); (41974.00 , 40...
Group, sum and weighted average in f# Group, sum and weighted average in f# f%23 Group Multiply Seq.map Seq.groupBy Sum Seq.sum Seq.reduce Group, sum and weighted average in f# I have the following data: fist column = OADate, 2nd = volume, third = price. I now want to group by date, sum the volume and compute the weigh...
[ 0.004913330078125, 0.0186767578125, -0.006439208984375, 0.027099609375, -0.001983642578125, 0.0037689208984375, -0.00927734375, 0.0303955078125, 0.038818359375, 0.004638671875, -0.016357421875, 0.030029296875, 0.004974365234375, -0.01116943359375, -0.00830078125, 0.023681640625, -0.0...
[ 10760, 10554, 136, 57888, 297, 83080, 23, 1238, 4904, 3949, 3742, 19335, 62479, 503, 864, 62346, 51588, 75358, 36335, 11832, 107, 106357, 25632, 2053, 809, 271, 3365, 316, 180, 284, 86291, 116, 21950, 50960, 27167, 5036, 3444, 21115, 5622, ...
[ 0.237060546875, 0.215576171875, 0.0745849609375, 0.2103271484375, 0.07623291015625, 0.228271484375, 0.033172607421875, 0.1221923828125, 0.1947021484375, 0.00848388671875, 0.141845703125, 0.05731201171875, 0.088623046875, 0.0241241455078125, 0.087646484375, 0.1051025390625, 0.16748046...
embed
24586857_c0
24586857
fsharp
0
Title: Why F# string can&#x27;t end with double quote in the triple-quoted? Problem title: Why F# string can&#x27;t end with double quote in the triple-quoted? Tags: double-quotes, f%23, string Problem: Why F# string can't end with double quote in the triple-quoted? I'm a C# developer who try to learn F#. As far as I k...
Why F# string can&#x27;t end with double quote in the triple-quoted? Why F# string can&#x27;t end with double quote in the triple-quoted? double-quotes f%23 string Why Strings Why F# string can't end with double quote in the triple-quoted? I'm a C# developer who try to learn F#. As far as I know, F# 2.0 had two kind of...
[ 0.00421142578125, 0.01092529296875, 0.006072998046875, 0.0184326171875, -0.012939453125, 0.0022735595703125, -0.003936767578125, 0.007476806640625, 0.01190185546875, 0.0213623046875, 0.01312255859375, -0.01214599609375, 0.01171875, 0.0072021484375, -0.00057220458984375, 0.012451171875,...
[ 44084, 563, 4904, 79315, 831, 3768, 18, 3564, 678, 41929, 66747, 162738, 9, 68726, 71, 1238, 3742, 23351, 5180, 23, 313, 106001, 30698, 16655, 6626, 8562, 6002, 102, 31195, 3638, 57520, 5083, 17596, 11389, 60213, 9384, 11907, 13580, 17721, ...
[ 0.125, 0.140625, 0.2198486328125, 0.2315673828125, 0.1064453125, 0.0496826171875, 0.0914306640625, 0.1873779296875, 0.06610107421875, 0.201416015625, 0.2476806640625, 0.243408203125, 0.03936767578125, 0.212158203125, 0.08544921875, 0.0982666015625, 0.05181884765625, 0.1710205078125...
embed
46141157_c0
46141157
fsharp
0
Title: Why can&#x27;t I simplify this iteration through a list of members of a discriminated union? Problem title: Why can&#x27;t I simplify this iteration through a list of members of a discriminated union? Tags: f%23, discriminated-union Problem: Why can't I simplify this iteration through a list of members of a disc...
Why can&#x27;t I simplify this iteration through a list of members of a discriminated union? Why can&#x27;t I simplify this iteration through a list of members of a discriminated union? f%23 discriminated-union Why MYDU List.map Why can't I simplify this iteration through a list of members of a discriminated union? Fre...
[ -0.01544189453125, -0.022705078125, 0.01416015625, -0.005584716796875, -0.024169921875, -0.014892578125, 0.005279541015625, 0.003448486328125, 0.02587890625, 0.0029449462890625, 0.006500244140625, 0.0023956298828125, 0.032958984375, -0.0035400390625, 0, -0.00128936767578125, 0.009460...
[ 44084, 831, 3768, 18, 112892, 18929, 903, 17, 720, 8305, 5303, 43032, 55970, 3674, 69941, 1238, 3742, 87046, 54133, 18431, 32036, 5, 62346, 87, 2320, 111, 21612, 86171, 8560, 22288, 42822, 42486, 77099, 15292, 36746, 238778, 52895, 35142, 2...
[ 0.1177978515625, 0.1131591796875, 0.041839599609375, 0.08245849609375, 0.2423095703125, 0.170166015625, 0.06158447265625, 0.0692138671875, 0.220458984375, 0.0760498046875, 0.1693115234375, 0.16357421875, 0.2486572265625, 0.13330078125, 0.2188720703125, 0.077392578125, 0.0612487792968...
embed
25732592_c1
25732592
fsharp
1
si_store = I.dwin_store AND SID.dwsi_item = I.dwin_item_number AND I.dwin_store = C.dwcl_store AND I.dwin_class = C.dwcl_class AND I.dwin_store = D.dwde_store_number AND I.dwin_department = D.dwde_department WHERE SID.dwsi_transaction_date >= '2007-03-01' AND SID.dwsi_store BETWEEN '2' AND '8' AND NOT C.dwcl_class = ''...
si_store = I.dwin_store AND SID.dwsi_item = I.dwin_item_number AND I.dwin_store = C.dwcl_store AND I.dwin_class = C.dwcl_class AND I.dwin_store = D.dwde_store_number AND I.dwin_department = D.dwde_department WHERE SID.dwsi_transaction_date >= '2007-03-01' AND SID.dwsi_store BETWEEN '2' AND '8' AND NOT C.dwcl_class = ''...
[ -0.01171875, 0.01312255859375, -0.00799560546875, -0.00040435791015625, 0.006103515625, 0.005828857421875, -0.0159912109375, -0.0152587890625, 0.0079345703125, -0.0220947265625, 0.017822265625, -0.0023651123046875, -0.00567626953125, -0.044189453125, -0.016357421875, -0.01165771484375,...
[ 78, 454, 45804, 2203, 87, 5, 71, 9494, 48762, 159, 7146, 38164, 172, 217, 195, 2606, 1297, 313, 34937, 67413, 391, 112, 17365, 30145, 44713, 23753, 37151, 6746, 72731, 304, 1019, 86725, 11627, 866, 963, 12231, 5809, 23009, 9191, 8305, 2...
[ 0.23095703125, 0.0191650390625, 0.23291015625, 0.0270233154296875, 0.0911865234375, 0.0028076171875, 0.042205810546875, 0.181640625, 0.039276123046875, 0.0731201171875, 0.1534423828125, 0.1510009765625, 0.18017578125, 0.095947265625, 0.092041015625, 0.02362060546875, 0.01043701171875...
embed
54698292_c1
54698292
fsharp
1
== alternateAddress.Country then InvalidStreet elif address.Street == alternateAddress.Street && address.City != alternateAddress.City && address.Region == alternateAddress.Region && address.PostalCode == alternateAddress.PostalCode && address.Country == alternateAddress.Country then InvalidCity elif address.Street ==...
== alternateAddress.Country then InvalidStreet elif address.Street == alternateAddress.Street && address.City != alternateAddress.City && address.Region == alternateAddress.Region && address.PostalCode == alternateAddress.PostalCode && address.Country == alternateAddress.Country then InvalidCity elif address.Street ==...
[ 0.0079345703125, 0.007476806640625, 0.00726318359375, -0.006317138671875, 0.019775390625, -0.0159912109375, -0.0069580078125, 0.000545501708984375, 0.0159912109375, 0.057861328125, -0.005218505859375, 0.032470703125, 0.025146484375, 0.01318359375, -0.00982666015625, -0.0021514892578125...
[ 69112, 75939, 13, 161007, 5, 108210, 1294, 7068, 360, 7013, 71, 2921, 126, 88, 3190, 29823, 619, 1230, 115411, 711, 1369, 54601, 1830, 49411, 289, 114211, 135206, 28864, 26073, 12, 11249, 12353, 212059, 49990, 15130, 6406, 16843, 2795, 7483...
[ 0.1832275390625, 0.206298828125, 0.08416748046875, 0.224365234375, 0.0221405029296875, 0.1541748046875, 0.0149383544921875, 0.054840087890625, 0.1143798828125, 0.219482421875, 0.1077880859375, 0.146240234375, 0.07391357421875, 0.0875244140625, 0.1566162109375, 0.169677734375, 0.04724...
embed
9136525_c0
9136525
fsharp
0
Title: F#: Nested discriminated unions and matching Problem title: F#: Nested discriminated unions and matching Tags: pattern-matching, discriminated-union, f%23 Problem: F#: Nested discriminated unions and matching I have 2 nested discriminated unions: type ServiceTypes = | Contexts | Context of int | Producers type S...
F#: Nested discriminated unions and matching F#: Nested discriminated unions and matching pattern-matching discriminated-union f%23 RequestException Nested ServiceTypes Contexts Context Producers ServiceActions Get Update s_action req.Send F#: Nested discriminated unions and matching I have 2 nested discriminated union...
[ -0.03173828125, 0.01531982421875, 0.0079345703125, -0.003265380859375, 0.003662109375, 0.0167236328125, -0.00927734375, 0.0023193359375, 0.0047607421875, -0.0086669921875, 0.0128173828125, 0.0137939453125, 0.007476806640625, -0.00689697265625, 0.010986328125, -0.0022125244140625, 0.0...
[ 563, 4904, 28701, 71, 55970, 3674, 69941, 136, 14858, 214, 103510, 98753, 87046, 1238, 3949, 3742, 75616, 63928, 12349, 196707, 22829, 103687, 1314, 39450, 28641, 91, 44713, 456, 864, 3611, 116, 8512, 63805, 69236, 83, 45367, 50336, 79315, ...
[ 0.09423828125, 0.175537109375, 0.2259521484375, 0.09033203125, 0.2122802734375, 0.0885009765625, 0.1961669921875, 0.034912109375, 0.2283935546875, 0.1221923828125, 0.1729736328125, 0.1771240234375, 0.1400146484375, 0.058349609375, 0.0161285400390625, 0.104736328125, 0.08294677734375,...
embed
52751862_c0
52751862
fsharp
0
Title: Why does List.scan append a value to the head of a list? Problem title: Why does List.scan append a value to the head of a list? Tags: f%23 Problem: Why does List.scan append a value to the head of a list? I'm sure this problem is trivial, but I can't for the life of me figure it out. Suppose I have a list and I...
Why does List.scan append a value to the head of a list? Why does List.scan append a value to the head of a list? f%23 Why List.scan List.tail Why does List.scan append a value to the head of a list? I'm sure this problem is trivial, but I can't for the life of me figure it out. Suppose I have a list and I want to get ...
[ 0.00958251953125, 0.02099609375, 0.0108642578125, 0.0252685546875, -0.0291748046875, -0.0026397705078125, -0.031494140625, 0.00592041015625, 0.0106201171875, -0.0341796875, 0.03173828125, 0.021240234375, 0.0002231597900390625, 0.01446533203125, 0.0150146484375, -0.00836181640625, 0.0...
[ 44084, 32036, 5, 7, 4398, 114689, 71, 34292, 47, 10336, 111, 5303, 14602, 3742, 46741, 70, 2967, 686, 831, 6897, 26366, 765, 3444, 2046, 1452, 202, 45023, 12996, 16750, 66161, 106, 23, 18, 51713, 12912, 138410, 22469, 27781, 30646, 24763,...
[ 0.1409912109375, 0.2373046875, 0.064697265625, 0.0880126953125, 0.2305908203125, 0.172607421875, 0.0904541015625, 0.1964111328125, 0.1055908203125, 0.2235107421875, 0.09698486328125, 0.2010498046875, 0.02899169921875, 0.008758544921875, 0.25244140625, 0.04998779296875, 0.10107421875,...
embed
22323056_c0
22323056
fsharp
0
Title: Why does if expression ignore condition in F#? Problem title: Why does if expression ignore condition in F#? Tags: f%23 Problem: Why does if expression ignore condition in F#? I'm trying check an array if it is arranged. The problem is that in the method Verificar Fsharp ignore the if and 'ordenado' take always ...
Why does if expression ignore condition in F#? Why does if expression ignore condition in F#? f%23 Why System VerificarOrden Array.empty Array.create this.Inicializar valor.Length Introduzaca System.Console.ReadLine Array.set System.Int32.Parse this.Verificar f-1 this.Imprimir chekear.Inicializar chekear.Verificar chek...
[ -0.00098419189453125, -0.0208740234375, 0.0128173828125, 0.00130462646484375, 0.0159912109375, 0.003143310546875, 0.00848388671875, 0.00921630859375, 0.0101318359375, 0.048095703125, 0.00138092041015625, 0.0234375, -0.002197265625, -0.00750732421875, -0.01397705078125, -0.0087890625, ...
[ 44084, 2174, 125195, 124962, 35431, 563, 4904, 1238, 3742, 12353, 202484, 143045, 33, 69253, 53, 33548, 939, 159593, 6053, 408, 40777, 31345, 93232, 6460, 15896, 14486, 147, 5759, 58460, 290, 23, 12765, 10298, 137356, 2967, 55300, 42, 89280, ...
[ 0.0872802734375, 0.19775390625, 0.21337890625, 0.1573486328125, 0.216552734375, 0.1044921875, 0.178955078125, 0.04718017578125, 0.08154296875, 0.058013916015625, 0.1656494140625, 0.140869140625, 0.0200347900390625, 0.07513427734375, 0.07952880859375, 0.077392578125, 0.006103515625, ...
embed
14366591_c0
14366591
fsharp
0
Title: Currying and multiple integrals Problem title: Currying and multiple integrals Tags: currying, f%23, functional-programming, numerical-methods Problem: Currying and multiple integrals I am interested in learning an elegant way to use currying in a functional programming language to numerically evaluate multiple ...
Currying and multiple integrals Currying and multiple integrals currying f%23 functional-programming numerical-methods Currying Integrate Currying and multiple integrals I am interested in learning an elegant way to use currying in a functional programming language to numerically evaluate multiple integrals. My languag...
[ 0.016357421875, -0.0128173828125, 0.0224609375, 0.01611328125, -0.01025390625, 0.0234375, 0.00799560546875, -0.01708984375, 0.0032196044921875, -0.0250244140625, 0.00592041015625, -0.00148773193359375, -0.0064697265625, 0.001220703125, 0.0081787109375, 0.0001277923583984375, 0.006866...
[ 17065, 1294, 214, 136, 48716, 28970, 198555, 1238, 3949, 3742, 123309, 28966, 54744, 1928, 7352, 91969, 67, 60892, 52080, 27650, 3917, 4527, 56037, 46876, 22542, 71407, 151575, 13, 7, 44126, 83, 563, 4904, 3444, 78779, 425, 53, 169, 1019, ...
[ 0.158203125, 0.1871337890625, 0.17578125, 0.024261474609375, 0.2393798828125, 0.2763671875, 0.25048828125, 0.1572265625, 0.0367431640625, 0.1175537109375, 0.1978759765625, 0.109130859375, 0.1187744140625, 0.024200439453125, 0.07049560546875, 0.1893310546875, 0.008209228515625, 0.08...
embed
63746000_c0
63746000
fsharp
0
Title: How to use Serilog.Log.ForContext with F# function or C# Method Problem title: How to use Serilog.Log.ForContext with F# function or C# Method Tags: c%23, f%23, serilog Problem: How to use Serilog.Log.ForContext with F# function or C# Method Using Serilog and F# how to use .ForContext with functions? it appears ...
How to use Serilog.Log.ForContext with F# function or C# Method How to use Serilog.Log.ForContext with F# function or C# Method c%23 f%23 serilog How Serilog.Log.ForContext Method ForContext f.GetType SourceContext StackTrace GetFrame GetMethod DeclaringType dt.FullName dt.Name How to use Serilog.Log.ForContext with F#...
[ 0.015380859375, 0.003997802734375, 0.00799560546875, -0.000804901123046875, -0.00860595703125, -0.0213623046875, -0.004150390625, 0.0004119873046875, -0.02587890625, -0.06787109375, 0.008056640625, 0.02197265625, -0.0037689208984375, -0.0028839111328125, 0.0009918212890625, -0.00897216...
[ 11249, 47, 4527, 17898, 4867, 113972, 18537, 11935, 22829, 678, 563, 4904, 32354, 707, 74644, 313, 3742, 37752, 1326, 1238, 126, 196707, 77641, 6512, 28542, 20779, 108386, 78572, 25755, 320, 18, 121962, 163612, 136, 3642, 5, 4734, 26946, 10...
[ 0.05596923828125, 0.00628662109375, 0.134033203125, 0.17529296875, 0.2288818359375, 0.1837158203125, 0.177978515625, 0.135986328125, 0.22998046875, 0.1297607421875, 0.1002197265625, 0.1751708984375, 0.1702880859375, 0.0185394287109375, 0.1593017578125, 0.001129150390625, 0.0594482421...
embed
47675136_c0
47675136
fsharp
0
Title: Is there a way to update the same line in F# interactive using printf? Problem title: Is there a way to update the same line in F# interactive using printf? Tags: f%23-interactive, f%23, read-eval-print-loop Problem: Is there a way to update the same line in F# interactive using printf? Hello everyone! I am usin...
Is there a way to update the same line in F# interactive using printf? Is there a way to update the same line in F# interactive using printf? f%23-interactive f%23 read-eval-print-loop printf Iteration List.rev Is there a way to update the same line in F# interactive using printf? Hello everyone! I am using F# in Visua...
[ -0.018310546875, 0.01397705078125, 0.0301513671875, 0.0224609375, -0.01129150390625, 0.0111083984375, 0.017333984375, 0.01556396484375, 0.00262451171875, -0.0289306640625, -0.003936767578125, 0.0036163330078125, -0.004974365234375, -0.0147705078125, 0.0166015625, 0.0035552978515625, ...
[ 2071, 2685, 10, 3917, 47, 28350, 5701, 13315, 23, 563, 4904, 212398, 17368, 28412, 420, 1238, 27495, 10433, 71232, 3742, 12301, 1405, 35662, 28354, 87, 720, 2320, 32036, 65381, 70, 30309, 73372, 22968, 66069, 505, 100, 26499, 3370, 45064, ...
[ 0.0208282470703125, 0.04693603515625, 0.050140380859375, 0.1075439453125, 0.059600830078125, 0.2225341796875, 0.159912109375, 0.1783447265625, 0.0701904296875, 0.132568359375, 0.225830078125, 0.231689453125, 0.07867431640625, 0.217041015625, 0.2125244140625, 0.104248046875, 0.0519104...
embed
7153930_c0
7153930
fsharp
0
Title: How can I define an extension member on an F# unit of measure? Problem title: How can I define an extension member on an F# unit of measure? Tags: extension-methods, f%23, units-of-measurement Problem: How can I define an extension member on an F# unit of measure? Leaving aside whether we should use units of mea...
How can I define an extension member on an F# unit of measure? How can I define an extension member on an F# unit of measure? extension-methods f%23 units-of-measurement How Measure ToRadians d:float Math.PI ToDegrees r:float degree.ToRadians d.ToRadians degrees.ToRadians FS0010 Unexpected Expected How can I define an ...
[ -0.0076904296875, 0.005401611328125, 0.0361328125, -0.02001953125, -0.006072998046875, -0.0301513671875, -0.000637054443359375, -0.0018310546875, 0.00885009765625, -0.0228271484375, -0.00872802734375, 0.00433349609375, 0.01190185546875, -0.0018157958984375, 0.01251220703125, -0.0102539...
[ 11249, 831, 87, 61924, 142, 111938, 32786, 98, 563, 4904, 25072, 111, 72350, 1928, 7352, 1238, 3742, 4390, 37440, 56851, 1215, 11, 717, 148545, 72004, 104, 52347, 78804, 15185, 7134, 1690, 79385, 7763, 93774, 7049, 963, 992, 83613, 60075, ...
[ 0.0452880859375, 0.02215576171875, 0.00164794921875, 0.2120361328125, 0.013336181640625, 0.261962890625, 0.270263671875, 0.05908203125, 0.119140625, 0.207763671875, 0.1351318359375, 0.06109619140625, 0.1600341796875, 0.044189453125, 0.07244873046875, 0.0665283203125, 0.1114501953125,...
embed
54536779_c0
54536779
fsharp
0
Title: FParsec and pipe3 make the arguments explicit or add a type notation Problem title: FParsec and pipe3 make the arguments explicit or add a type notation Tags: parsing, fparsec, f%23 Problem: FParsec and pipe3 make the arguments explicit or add a type notation I am trying to use the pipe3 function from the FParse...
FParsec and pipe3 make the arguments explicit or add a type notation FParsec and pipe3 make the arguments explicit or add a type notation parsing fparsec f%23 FParsec pipe3 Point Parser __a FParsec and pipe3 make the arguments explicit or add a type notation I am trying to use the pipe3 function from the FParsec librar...
[ 0.00823974609375, 0.00176239013671875, -0.018798828125, 0.0115966796875, 0.004241943359375, 0.00469970703125, -0.01031494140625, -0.0279541015625, 0.01446533203125, -0.00408935546875, 0.001495361328125, -0.01025390625, 0.019775390625, -0.00616455078125, -0.0135498046875, 0.010986328125...
[ 563, 28636, 39797, 136, 137158, 363, 3249, 10750, 143726, 707, 15190, 10644, 110, 22062, 7, 366, 1238, 2500, 3949, 3742, 41097, 2392, 2189, 31577, 4527, 32354, 35773, 18499, 3714, 86869, 19, 70, 54877, 25632, 9790, 69307, 53299, 79315, 23, ...
[ 0.111083984375, 0.166015625, 0.2325439453125, 0.086669921875, 0.2117919921875, 0.2174072265625, 0.0723876953125, 0.2235107421875, 0.230712890625, 0.0192108154296875, 0.1375732421875, 0.2054443359375, 0.149658203125, 0.0975341796875, 0.00439453125, 0.1470947265625, 0.06622314453125, ...
embed
58947975_c0
58947975
fsharp
0
Title: Why do I need to build my C# project (which references an F# project) twice for it to work? Problem title: Why do I need to build my C# project (which references an F# project) twice for it to work? Tags: visual-studio, c%23, f%23, msbuild Problem: Why do I need to build my C# project (which references an F# pro...
Why do I need to build my C# project (which references an F# project) twice for it to work? Why do I need to build my C# project (which references an F# project) twice for it to work? visual-studio c%23 f%23 msbuild Why Metadata Why do I need to build my C# project (which references an F# project) twice for it to work?...
[ -0.01275634765625, 0.0244140625, 0.00506591796875, 0.0135498046875, 0.01611328125, 0.00897216796875, -0.0220947265625, -0.001373291015625, 0.001434326171875, 0.00653076171875, 0.00152587890625, -0.011474609375, -0.0205078125, 0.0167236328125, 0.00994873046875, 0.01361083984375, 0.002...
[ 44084, 3871, 47, 45367, 313, 4904, 13452, 91067, 563, 186351, 4488, 21176, 52629, 3742, 177149, 36939, 10135, 5701, 29806, 35782, 11435, 128405, 188, 1176, 420, 89280, 254, 95322, 1181, 5809, 959, 14037, 188800, 18151, 25841, 9508, 59690, 428...
[ 0.093017578125, 0.080810546875, 0.0244598388671875, 0.178955078125, 0.06561279296875, 0.26171875, 0.166748046875, 0.2076416015625, 0.0908203125, 0.209228515625, 0.0916748046875, 0.1219482421875, 0.136962890625, 0.03125, 0.2213134765625, 0.183837890625, 0.1822509765625, 0.0885620117...
embed
40986137_c0
40986137
fsharp
0
Title: what&#x27;s wrong on this f# echo server? Problem title: what&#x27;s wrong on this f# echo server? Tags: f%23 Problem: what's wrong on this f# echo server? I've written this f# echo server: open System.Net open System.Net.Sockets open System.IO open System open System.Text open System.Collections.Generic let add...
what&#x27;s wrong on this f# echo server? what&#x27;s wrong on this f# echo server? f%23 System.Net System.Net.Sockets System.IO System System.Text System.Collections.Generic IPAddress.Parse TcpListener listener.Start loop2 c:TcpClient sr:StreamReader sw:StreamWriter sr.ReadLine sr.Close sw.Close c.Close line.Equals sw...
[ 0.0181884765625, 0.001617431640625, -0.00469970703125, 0.021240234375, -0.0026092529296875, 0.00616455078125, -0.0037994384765625, 0.005218505859375, 0.0206298828125, -0.022705078125, 0.00579833984375, 0.0007781982421875, 0.019775390625, -0.008544921875, 0.033447265625, 0.0100708007812...
[ 2367, 3768, 7, 44691, 98, 903, 1238, 4904, 28, 3089, 10723, 3742, 12353, 24447, 27853, 17780, 174379, 8996, 135932, 8021, 28636, 121422, 154663, 39060, 44632, 126597, 40956, 304, 150, 115061, 31345, 434, 2783, 93232, 59453, 13315, 71723, 2325...
[ 0.07574462890625, 0.0948486328125, 0.02496337890625, 0.179443359375, 0.041534423828125, 0.0885009765625, 0.10552978515625, 0.2047119140625, 0.1195068359375, 0.26611328125, 0.1917724609375, 0.0556640625, 0.056549072265625, 0.075927734375, 0.044158935546875, 0.095703125, 0.048950195312...
embed
69867367_c0
69867367
fsharp
0
Title: I can&#x27;t get output from a function in F# Problem title: I can&#x27;t get output from a function in F# Tags: f%23, return-value, function, .net Problem: I can't get output from a function in F# I am trying to make this function work (it is bigger, but I tried to find a mistake) open System open System.Text o...
I can&#x27;t get output from a function in F# I can&#x27;t get output from a function in F# f%23 return-value function .net a System System.Text System.Collections.Generic System.Text.RegularExpressions GetField line:string num_skip:int str1 I can't get output from a function in F# I am trying to make this function wor...
[ -0.0162353515625, 0.00885009765625, 0.014892578125, 0.02197265625, -0.0191650390625, 0.0118408203125, 0.0203857421875, -0.0091552734375, 0.0029144287109375, -0.0006103515625, 0.00823974609375, 0.0263671875, -0.021240234375, 0.002655029296875, 0.019775390625, -0.00958251953125, 0.0187...
[ 87, 831, 3768, 18, 2046, 140992, 1295, 32354, 23, 563, 4904, 1238, 3742, 30646, 27494, 1179, 12353, 174379, 8996, 5256, 135932, 54601, 35975, 178752, 20779, 6159, 19388, 13315, 91693, 13269, 44024, 4288, 7704, 418, 31577, 4488, 167785, 121742...
[ 0.006866455078125, 0.09295654296875, 0.0987548828125, 0.06787109375, 0.134033203125, 0.2607421875, 0.1177978515625, 0.2091064453125, 0.042388916015625, 0.1441650390625, 0.2293701171875, 0.08111572265625, 0.1240234375, 0.2227783203125, 0.197265625, 0.16845703125, 0.100830078125, 0.1...
embed
28661818_c0
28661818
fsharp
0
Title: How do I p/invoke clock_gettime on .NET? Problem title: How do I p/invoke clock_gettime on .NET? Tags: linux, mono, pinvoke, f%23, .net Problem: How do I p/invoke clock_gettime on .NET? Currently I have this F# code to get the highest resolution, linear timestamps I can manage - /// The linux representation of t...
How do I p/invoke clock_gettime on .NET? How do I p/invoke clock_gettime on .NET? linux mono pinvoke f%23 .net How clock_gettime NET tv_sec tv_usec Query DllImport int64 Get t.tv_sec t.tv_usec CLOCK_MONOTONIC How do I p/invoke clock_gettime on .NET? Currently I have this F# code to get the highest resolution, linear ti...
[ -0.01007080078125, 0.01495361328125, 0.01416015625, -0.0179443359375, 0.01483154296875, -0.0234375, -0.00982666015625, -0.0233154296875, -0.0166015625, -0.058349609375, 0.01025390625, -0.006072998046875, -0.010498046875, 0.00994873046875, -0.0283203125, 0.00188446044921875, -0.005035...
[ 11249, 915, 64, 73, 23253, 13, 501, 21135, 3794, 6032, 98, 5, 17777, 11508, 6077, 22460, 6520, 1238, 3949, 3742, 1179, 5044, 39797, 223, 3240, 58836, 1181, 61637, 6982, 13307, 20779, 808, 8283, 124448, 82707, 58796, 67099, 903, 563, 4904,...
[ 0.05072021484375, 0.112060546875, 0.11279296875, 0.033050537109375, 0.18310546875, 0.02484130859375, 0.05450439453125, 0.257568359375, 0.180419921875, 0.27294921875, 0.051055908203125, 0.06304931640625, 0.251220703125, 0.11962890625, 0.12744140625, 0.15966796875, 0.012969970703125, ...
embed
29451026_c0
29451026
fsharp
0
Title: F# class library code completion and highlighting does not work within C# program Problem title: F# class library code completion and highlighting does not work within C# program Tags: monodevelop, intellisense, f%23, c%23-to-f%23 Problem: F# class library code completion and highlighting does not work within C#...
F# class library code completion and highlighting does not work within C# program F# class library code completion and highlighting does not work within C# program monodevelop intellisense f%23 c%23-to-f%23 F# System FSharpLib FSharpClass this.MyProp Calling CallFromFSharp MainClass Main Console.WriteLine y.MyProp F# c...
[ -0.01397705078125, 0.0103759765625, -0.01397705078125, 0.00830078125, 0.007720947265625, 0.0208740234375, -0.01092529296875, -0.0169677734375, -0.009765625, 0.0203857421875, -0.015869140625, -0.000942230224609375, -0.00738525390625, 0.00494384765625, 0.01416015625, -0.0174560546875, ...
[ 563, 4904, 18507, 35773, 1294, 18151, 21721, 136, 127308, 214, 959, 4488, 28032, 313, 1528, 22460, 229815, 892, 27077, 1238, 3742, 420, 12353, 93774, 3467, 254, 104820, 140803, 903, 31852, 10752, 26265, 168407, 12321, 40777, 93232, 113, 919, ...
[ 0.14599609375, 0.2325439453125, 0.1590576171875, 0.179443359375, 0.040924072265625, 0.1888427734375, 0.1949462890625, 0.054779052734375, 0.2291259765625, 0.0604248046875, 0.0640869140625, 0.1204833984375, 0.1298828125, 0.03094482421875, 0.1043701171875, 0.1322021484375, 0.1865234375,...
embed
46305278_c0
46305278
fsharp
0
Title: How to set up Watson ConversationService in F# Problem title: How to set up Watson ConversationService in F# Tags: watson-conversation, c%23-to-f%23, f%23 Problem: How to set up Watson ConversationService in F# Initializing the ConversationService() object in C# if fairly straightforward, but I'm having issues d...
How to set up Watson ConversationService in F# How to set up Watson ConversationService in F# watson-conversation c%23-to-f%23 f%23 How Watson ConversationService Parameter Use CONVERSATION_VERSION_DATE_2017_05_26 version_date ConversationService.CONVERSATION_VERSION_DATE_2017_05_26 gateway.watsonplatform.net service.S...
[ 0.001129150390625, 0.01544189453125, 0.00927734375, 0.01043701171875, -0.0106201171875, -0.01092529296875, -0.01544189453125, 0.0184326171875, 0.00408935546875, 0.00811767578125, -0.01409912109375, 0.00738525390625, 0.01361083984375, -0.007720947265625, 0.00811767578125, -0.00698852539...
[ 11249, 5423, 1257, 149993, 1657, 7864, 2320, 121979, 23, 563, 4904, 47, 793, 1681, 2271, 27495, 188, 420, 3742, 1720, 29089, 36836, 14452, 124991, 84780, 33255, 118596, 397, 35746, 3259, 8194, 4046, 11389, 17489, 70836, 7514, 10686, 172121, ...
[ 0.017608642578125, 0.0980224609375, 0.080810546875, 0.262939453125, 0.0894775390625, 0.209228515625, 0.1036376953125, 0.230712890625, 0.04010009765625, 0.1507568359375, 0.2174072265625, 0.001617431640625, 0.1295166015625, 0.0919189453125, 0.0123291015625, 0.019927978515625, 0.0424804...
embed
37807862_c0
37807862
fsharp
0
Title: Where do I put tests in an fsharp project using Monodevelop? Problem title: Where do I put tests in an fsharp project using Monodevelop? Tags: testing, monodevelop, f%23 Problem: Where do I put tests in an fsharp project using Monodevelop? I am doing an assignment (implementing an algorithm), and I wanted to try...
Where do I put tests in an fsharp project using Monodevelop? Where do I put tests in an fsharp project using Monodevelop? testing monodevelop f%23 Monodevelop Where Where do I put tests in an fsharp project using Monodevelop? I am doing an assignment (implementing an algorithm), and I wanted to try, this time, implemen...
[ -0.0137939453125, 0.009033203125, -0.00946044921875, -0.00128173828125, -0.0072021484375, 0.01171875, 0.0242919921875, 0.003662109375, 0.0091552734375, 0.004180908203125, 0.0027008056640625, -0.001617431640625, -0.00982666015625, 0.01007080078125, -0.0034942626953125, 0.0133056640625, ...
[ 78662, 3884, 109921, 23, 1238, 89280, 254, 13452, 77879, 229815, 17368, 134234, 22460, 3742, 54, 87, 95486, 234873, 29479, 5117, 3714, 7440, 2856, 28282, 57143, 33022, 55300, 3034, 14947, 5983, 45646, 4028, 77679, 93774, 3467, 72977, 35142, 4...
[ 0.142578125, 0.1595458984375, 0.30126953125, 0.06304931640625, 0.0869140625, 0.1783447265625, 0.1412353515625, 0.138671875, 0.19970703125, 0.2486572265625, 0.041351318359375, 0.18701171875, 0.14697265625, 0.0762939453125, 0.0230255126953125, 0.012115478515625, 0.0728759765625, 0.09...
embed
40741901_c1
40741901
fsharp
1
r "../packages/System.Collections.Immutable/lib/netstandard1.0/System.Collections.Immutable.dll" #r "../packages/System.Threading.Tasks.Extensions/lib/netstandard1.0/System.Threading.Tasks.Extensions.dll" I made sure the exact versions are used in the console application. It seems that the some libraries used by the F#...
r "../packages/System.Collections.Immutable/lib/netstandard1.0/System.Collections.Immutable.dll" #r "../packages/System.Threading.Tasks.Extensions/lib/netstandard1.0/System.Threading.Tasks.Extensions.dll" I made sure the exact versions are used in the console application. It seems that the some libraries used by the F#...
[ -0.01348876953125, -0.006744384765625, 0.005859375, 0.002288818359375, -0.00970458984375, 0.00555419921875, -0.01312255859375, 0.001708984375, -0.007537841796875, -0.00994873046875, 0.0023651123046875, 0.018798828125, 0.00421142578125, 0.010009765625, 0.0213623046875, -0.008544921875, ...
[ 29102, 84293, 78457, 8996, 561, 22819, 5612, 1179, 66589, 102107, 5256, 61637, 71, 1181, 39116, 214, 9874, 19279, 128872, 24763, 11389, 11814, 130250, 38415, 37202, 35773, 10484, 563, 4904, 212398, 11675, 6032, 959, 5701, 24145, 21373, 31089, ...
[ 0.11767578125, 0.1683349609375, 0.1124267578125, 0.1563720703125, 0.1300048828125, 0.199462890625, 0.1419677734375, 0.112548828125, 0.2197265625, 0.1190185546875, 0.07666015625, 0.0484619140625, 0.051605224609375, 0.1641845703125, 0.176025390625, 0.030853271484375, 0.1143798828125, ...
embed
51117156_c1
51117156
fsharp
1
[] args) { int x = 1; new main@30(x); int x2 = 1; int y = 1; new main@31-1(x2, y); return 0; } } public static a Dump<a>(a arg00) { return arg00.Dump(); } } It generates a concrete type, that is generic parameters are provided at type definition. Why is not this done at the point of construction? I also noticed that ty...
[] args) { int x = 1; new main@30(x); int x2 = 1; int y = 1; new main@31-1(x2, y); return 0; } } public static a Dump<a>(a arg00) { return arg00.Dump(); } } It generates a concrete type, that is generic parameters are provided at type definition. Why is not this done at the point of construction? I also noticed that ty...
[ 0.0167236328125, 0.0294189453125, 0.00176239013671875, 0.004547119140625, -0.007720947265625, 0.004608154296875, -0.00131988525390625, -0.006256103515625, 0.0096435546875, 0.004425048828125, -0.01092529296875, 0.006195068359375, 0.0111083984375, 0.0018310546875, 0.0198974609375, -0.003...
[ 79459, 7, 23, 18, 1022, 106, 3525, 5201, 981, 1197, 304, 113, 5016, 5759, 30646, 757, 3835, 201939, 786, 2676, 7049, 17726, 139392, 122776, 10644, 189534, 171859, 62952, 99, 80934, 44084, 83, 959, 903, 16940, 6275, 50961, 156672, 52895, 8...
[ 0.231689453125, 0.1104736328125, 0.036346435546875, 0.023101806640625, 0.0782470703125, 0.032989501953125, 0.00531005859375, 0.068603515625, 0.05010986328125, 0.10595703125, 0.0745849609375, 0.0894775390625, 0.08282470703125, 0.0145416259765625, 0.04656982421875, 0.04791259765625, 0....
embed