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
67132621_c0
67132621
fsharp
0
Title: Using Moq how do you get access the attributes of the returned explicit type Problem title: Using Moq how do you get access the attributes of the returned explicit type Tags: f%23, moq Problem: Using Moq how do you get access the attributes of the returned explicit type The Interfaces and etc. are setup using Mo...
Using Moq how do you get access the attributes of the returned explicit type Using Moq how do you get access the attributes of the returned explicit type f%23 moq Using Moq Using Moq how do you get access the attributes of the returned explicit type The Interfaces and etc. are setup using Moq and everything is working ...
[ -0.017333984375, -0.006011962890625, -0.0155029296875, 0.0035858154296875, 0.006591796875, -0.01129150390625, -0.005859375, 0.0024261474609375, 0.00909423828125, -0.003448486328125, 0.01031494140625, 0.01953125, -0.0162353515625, 0.00138092041015625, 0.01190185546875, -0.00994873046875...
[ 345, 6953, 2501, 864, 3642, 2046, 17203, 150380, 90, 176377, 143726, 10644, 1238, 3949, 3742, 98191, 220237, 169581, 17368, 20697, 83324, 30646, 52895, 959, 128489, 2053, 79315, 892, 1505, 3181, 27781, 55300, 8951, 57945, 7, 7136, 60457, 1957...
[ 0.053436279296875, 0.032806396484375, 0.1690673828125, 0.2025146484375, 0.052703857421875, 0.1246337890625, 0.214111328125, 0.22021484375, 0.09027099609375, 0.1937255859375, 0.20947265625, 0.1966552734375, 0.040313720703125, 0.007904052734375, 0.10986328125, 0.15234375, 0.13391113281...
embed
28921514_c1
28921514
fsharp
1
ildedRoseCs let mutable rose = GildedRose([].ToList()) let item = Item(Name = "Normal Item", SellIn = 10, Quality = 5) let [<Given>] ``a normal item with a sell-in value of (\d+)`` (sellIn : int) = item.SellIn <- sellIn let [<When>] ``I update the quality`` () = rose <- GildedRose([item].ToList()) rose.UpdateQuality() ...
ildedRoseCs let mutable rose = GildedRose([].ToList()) let item = Item(Name = "Normal Item", SellIn = 10, Quality = 5) let [<Given>] ``a normal item with a sell-in value of (\d+)`` (sellIn : int) = item.SellIn <- sellIn let [<When>] ``I update the quality`` () = rose <- GildedRose([item].ToList()) rose.UpdateQuality() ...
[ -0.01361083984375, -0.00872802734375, 0.01007080078125, -0.017578125, 0.0010986328125, 0.03173828125, -0.0098876953125, 0.013916015625, 0.0303955078125, 0.046142578125, 0.0252685546875, 0.044921875, -0.00311279296875, 0.020751953125, 0.01226806640625, -0.007110595703125, 0.0130004882...
[ 211, 48141, 108278, 13, 441, 7, 2633, 842, 22819, 49175, 2203, 28378, 7763, 154663, 35735, 78426, 163612, 50645, 2749, 503, 1181, 4153, 209, 124604, 21162, 1353, 3638, 74703, 9, 73, 34292, 71, 102817, 93991, 18, 6796, 186048, 568, 28350, ...
[ 0.1068115234375, 0.180908203125, 0.2196044921875, 0.1177978515625, 0.120849609375, 0.096923828125, 0.09429931640625, 0.157470703125, 0.1962890625, 0.2381591796875, 0.040313720703125, 0.168701171875, 0.136474609375, 0.1671142578125, 0.1741943359375, 0.1661376953125, 0.0270843505859375...
embed
71013323_c0
71013323
fsharp
0
Title: Vector&lt;double&gt; vs. Double.Vector error in F# when using BfgsSolver Problem title: Vector&lt;double&gt; vs. Double.Vector error in F# when using BfgsSolver Tags: mathematical-optimization, math.net, f%23 Problem: Vector vs. Double.Vector error in F# when using BfgsSolver I'm trying to use the BfgsSolve meth...
Vector&lt;double&gt; vs. Double.Vector error in F# when using BfgsSolver Vector&lt;double&gt; vs. Double.Vector error in F# when using BfgsSolver mathematical-optimization math.net f%23 BfgsSolver Vector Double.Vector MathNet.Numerics alpha08 MathNet.Numerics.FSharp MathNet.Numerics.Optimization MathNet.Numerics.Linear...
[ -0.00830078125, 0.01953125, -0.012451171875, 0.0003108978271484375, 0.0035400390625, -0.0009613037109375, -0.034912109375, -0.0167236328125, -0.0184326171875, 0.00201416015625, -0.018310546875, 0.01470947265625, -0.00885009765625, -0.029296875, -0.003936767578125, 0.0230712890625, 0....
[ 2609, 18770, 1277, 21555, 2661, 5386, 20209, 107172, 5, 26455, 18499, 563, 4904, 17368, 335, 420, 9405, 102588, 814, 140363, 100433, 48909, 1179, 3742, 24447, 14612, 8318, 3467, 28021, 147771, 12353, 73, 93774, 188735, 23, 272, 55300, 78804, ...
[ 0.175048828125, 0.192138671875, 0.0204315185546875, 0.0999755859375, 0.1180419921875, 0.1002197265625, 0.1251220703125, 0.190673828125, 0.045684814453125, 0.1934814453125, 0.171630859375, 0.0897216796875, 0.162109375, 0.021881103515625, 0.02435302734375, 0.0804443359375, 0.1077880859...
embed
44873493_c1
44873493
fsharp
1
\example.fsx:line 21 Stopped due to error Note the similarity between GrayStruct and ColorStruct , yet Marshal.SizeOf chokes on ColorStruct . Marshal.SizeOf appears to throw an exception because of the existence of the colorStructToUnit function. If that function is removed, the output becomes: 12 12 Also, if I keep th...
\example.fsx:line 21 Stopped due to error Note the similarity between GrayStruct and ColorStruct , yet Marshal.SizeOf chokes on ColorStruct . Marshal.SizeOf appears to throw an exception because of the existence of the colorStructToUnit function. If that function is removed, the output becomes: 12 12 Also, if I keep th...
[ 0.00787353515625, 0.0091552734375, -0.01165771484375, 0.00089263916015625, -0.0191650390625, -0.003997802734375, -0.0166015625, -0.006622314453125, -0.000614166259765625, 0.030517578125, 0.00445556640625, 0.01513671875, 0.0223388671875, -0.0269775390625, 0.02783203125, -0.0002326965332...
[ 3355, 11, 33209, 17447, 425, 2256, 952, 42284, 20051, 4743, 18499, 21373, 155438, 71713, 18190, 18, 51193, 23342, 4200, 127167, 13, 132887, 681, 9248, 98, 135179, 104250, 131527, 116311, 10576, 7763, 85600, 32354, 184750, 140992, 24209, 427, ...
[ 0.01153564453125, 0.036102294921875, 0.010284423828125, 0.06317138671875, 0.11279296875, 0.1190185546875, 0.122314453125, 0.1580810546875, 0.120849609375, 0.032135009765625, 0.1907958984375, 0.08062744140625, 0.1937255859375, 0.159912109375, 0.1317138671875, 0.0928955078125, 0.191040...
embed
27129138_c0
27129138
fsharp
0
Title: F# XmlProvider and HTTP headers Problem title: F# XmlProvider and HTTP headers Tags: type-providers, f%23, f%23-data Problem: F# XmlProvider and HTTP headers I'm trying to use the XmlProvider of FSharp.Data and I've run into a smaller problem. The API I'm working against requires an HTTP Header to be sent contai...
F# XmlProvider and HTTP headers F# XmlProvider and HTTP headers type-providers f%23 f%23-data XmlProvider HTTP FSharp.Data Accept Accept-Language Http.RequestString GET HttpContentTypes.Xml AcceptLanguage Sample File.WriteAllText foo.xml F# XmlProvider and HTTP headers I'm trying to use the XmlProvider of FSharp.Data a...
[ 0.0120849609375, 0.033447265625, 0.0169677734375, 0.0047607421875, -0.0015106201171875, 0.004364013671875, -0.0177001953125, 0.0050048828125, -0.004913330078125, -0.035888671875, 0.0269775390625, -0.0103759765625, -0.007537841796875, 0.0091552734375, 0.01177978515625, -0.01312255859375...
[ 563, 4904, 1193, 7237, 177997, 62160, 136, 135913, 10336, 1314, 10644, 93136, 1238, 3742, 27495, 10135, 3467, 254, 137989, 111383, 2729, 10393, 3062, 75616, 71713, 79794, 25352, 196707, 947, 33209, 42724, 43512, 174379, 5775, 31, 131492, 93774,...
[ 0.06048583984375, 0.1455078125, 0.0950927734375, 0.18603515625, 0.1781005859375, 0.134033203125, 0.0855712890625, 0.2060546875, 0.1588134765625, 0.0484619140625, 0.10595703125, 0.1368408203125, 0.03057861328125, 0.0165557861328125, 0.01556396484375, 0.07171630859375, 0.147705078125, ...
embed
62537014_c0
62537014
fsharp
0
Title: How to print some values only once from array Problem title: How to print some values only once from array Tags: f%23, arrays Problem: How to print some values only once from array i have mixes strings and arrays in a function to print out a csv file. Some of the cell though should be filled only once, but I can...
How to print some values only once from array How to print some values only once from array f%23 arrays array How handle1 title1 Impusm Body Array.zip3 Array.map System.IO.File.WriteAllLines UITest test.csv Array.append Encoding.UTF8 Ipsum How to print some values only once from array i have mixes strings and arrays in...
[ 0.00787353515625, 0.0016326904296875, 0.003082275390625, -0.00115966796875, -0.011474609375, -0.022705078125, -0.00970458984375, 0.0196533203125, 0.004974365234375, 0.0181884765625, -0.023681640625, 0.02490234375, 0.009033203125, 0.0032958984375, 0.024169921875, 0.01483154296875, -0....
[ 11249, 28412, 3060, 142424, 4734, 24145, 1295, 10298, 53, 47, 1238, 3949, 3742, 4778, 34831, 44759, 29128, 223, 39, 43960, 69253, 50836, 62346, 12353, 5, 17780, 174350, 93232, 111481, 111337, 3034, 4439, 334, 587, 1019, 6423, 316, 17664, 79...
[ 0.07769775390625, 0.244873046875, 0.1109619140625, 0.220947265625, 0.185791015625, 0.2646484375, 0.137451171875, 0.2052001953125, 0.1253662109375, 0.0156707763671875, 0.04559326171875, 0.0196990966796875, 0.1536865234375, 0.10003662109375, 0.11767578125, 0.091796875, 0.00787353515625...
embed
62593837_c0
62593837
fsharp
0
Title: f# pattern matching sequence :? seq&lt;_&gt; (IEnumerable) Problem title: f# pattern matching sequence :? seq&lt;_&gt; (IEnumerable) Tags: types, pattern-matching, generics, f%23 Problem: f# pattern matching sequence :? seq<_> (IEnumerable) I want to send a result to a single method that outputs the content to t...
f# pattern matching sequence :? seq&lt;_&gt; (IEnumerable) f# pattern matching sequence :? seq&lt;_&gt; (IEnumerable) types pattern-matching generics f%23 logError IEnumerable Other Object LogResultGeneric Result VALUE LogValueGeneric DISPLAY OUTCOME result.ToString Error msg.ToString Seq.iter f# pattern matching seque...
[ -0.002593994140625, 0.0157470703125, -0.005615234375, -0.001953125, 0.00238037109375, -0.003753662109375, -0.01171875, -0.00445556640625, 0.0238037109375, 0.0064697265625, 0.02099609375, -0.010009765625, -0.01422119140625, -0.005096435546875, 0.01031494140625, -0.00043487548828125, -...
[ 1238, 4904, 103510, 14858, 214, 40, 944, 3956, 864, 5386, 20441, 2606, 56, 2886, 52895, 98753, 189534, 3742, 12684, 18468, 75536, 64511, 134549, 13146, 7, 7136, 135932, 12259, 126684, 55991, 856, 50770, 209973, 103695, 45962, 91245, 16750, 77...
[ 0.099365234375, 0.1849365234375, 0.2298583984375, 0.1927490234375, 0.045501708984375, 0.0889892578125, 0.1279296875, 0.03277587890625, 0.166259765625, 0.024261474609375, 0.09332275390625, 0.1708984375, 0.10546875, 0.117919921875, 0.149658203125, 0.1644287109375, 0.16796875, 0.05682...
embed
66742805_c0
66742805
fsharp
0
Title: Regex.Replace callback - get Dictionary key from matched group Problem title: Regex.Replace callback - get Dictionary key from matched group Tags: .net, f%23 Problem: Regex.Replace callback - get Dictionary key from matched group I'm working on the backend of very small website which has an extremely basic templ...
Regex.Replace callback - get Dictionary key from matched group Regex.Replace callback - get Dictionary key from matched group .net f%23 matched Regex.Replace Dictionary var:title File.ReadAllText ReplaceVariables Missing Template Match Hello Here string:string MatchEvaluator var:whatever Regex.Replace callback - get Di...
[ -0.00885009765625, -0.00738525390625, -0.01104736328125, 0.00106048583984375, -0.00262451171875, 0.0108642578125, -0.01226806640625, 0.0198974609375, 0.0220947265625, 0.0115966796875, -0.007598876953125, 0.021728515625, -0.0079345703125, -0.0245361328125, 0.0157470703125, 0.01544189453...
[ 11678, 3355, 5, 4332, 23935, 11782, 12620, 2046, 147638, 22799, 1295, 14858, 21115, 1179, 3742, 285, 5440, 42724, 31345, 43512, 174379, 853, 81827, 19736, 16771, 196631, 67407, 35378, 11853, 79315, 91693, 27494, 4597, 124409, 20697, 4420, 3611,...
[ 0.17138671875, 0.2496337890625, 0.031341552734375, 0.1446533203125, 0.2249755859375, 0.13134765625, 0.204345703125, 0.08624267578125, 0.21044921875, 0.1861572265625, 0.06427001953125, 0.1556396484375, 0.1552734375, 0.1502685546875, 0.0828857421875, 0.1458740234375, 0.1793212890625, ...
embed
55022064_c0
55022064
fsharp
0
Title: Left-recursive grammars in operator precedence parsing Problem title: Left-recursive grammars in operator precedence parsing Tags: fparsec, f%23 Problem: Left-recursive grammars in operator precedence parsing I have a left recursive grammar. My AST looks something like: ... and Expr = BinaryExpr of BinaryExpr an...
Left-recursive grammars in operator precedence parsing Left-recursive grammars in operator precedence parsing fparsec f%23 Left-recursive Expr BinaryExpr BinaryOperator Plus OperatorPrecedenceParser exprOpp.ExpressionParser exprOpp.TermParser exprOpp.AddOperator InfixOperator Associativity.Left Left-recursive grammars ...
[ 0.0198974609375, 0.0023651123046875, 0.0022430419921875, 0.0152587890625, -0.00091552734375, 0.0059814453125, 0.01904296875, -0.006256103515625, -0.00011444091796875, -0.03369140625, 0.02001953125, 0.0157470703125, 0.016845703125, 0.0106201171875, 0.029052734375, 0.005889892578125, -...
[ 636, 2480, 107, 48650, 5844, 122092, 21816, 39933, 107671, 6620, 366, 1238, 2500, 39797, 3949, 3742, 60075, 42, 54092, 19279, 10287, 156823, 1290, 8183, 150922, 19273, 37534, 28636, 2189, 6366, 178752, 35484, 14700, 4028, 55923, 159594, 6953, ...
[ 0.06463623046875, 0.1805419921875, 0.062347412109375, 0.1912841796875, 0.10260009765625, 0.165771484375, 0.0933837890625, 0.2322998046875, 0.16455078125, 0.06658935546875, 0.1290283203125, 0.040557861328125, 0.1060791015625, 0.1641845703125, 0.021881103515625, 0.1566162109375, 0.0673...
embed
35751350_c0
35751350
fsharp
0
Title: Stack overflow despite tail call position but only in 64-bit Problem title: Stack overflow despite tail call position but only in 64-bit Tags: 32-bit, tail-recursion, stack-overflow, f%23, 64-bit Problem: Stack overflow despite tail call position but only in 64-bit Originated from this question , I have this lit...
Stack overflow despite tail call position but only in 64-bit Stack overflow despite tail call position but only in 64-bit 32-bit tail-recursion stack-overflow f%23 64-bit StackOverflowException Stack float32 System.Random r.NextDouble Some None Stack overflow despite tail call position but only in 64-bit Originated fro...
[ 0.015869140625, 0.016357421875, 0.002227783203125, -0.0150146484375, 0.0111083984375, -0.0006103515625, 0.000041961669921875, -0.0216064453125, 0.005157470703125, -0.023681640625, 0.0167236328125, 0.0115966796875, 0.007781982421875, -0.01531982421875, 0.0390625, 0.006683349609375, 0....
[ 6512, 2594, 645, 118664, 61518, 46741, 11782, 19069, 1284, 4734, 23, 7911, 3137, 2789, 107, 48650, 177261, 5465, 1238, 3949, 3742, 156673, 19279, 63928, 21917, 6460, 12353, 126525, 3815, 1690, 81280, 8331, 34, 2661, 31384, 438, 10176, 563, ...
[ 0.16845703125, 0.143798828125, 0.1553955078125, 0.2578125, 0.1278076171875, 0.2476806640625, 0.1622314453125, 0.1895751953125, 0.0215606689453125, 0.0863037109375, 0.0400390625, 0.256591796875, 0.16796875, 0.2220458984375, 0.0418701171875, 0.135986328125, 0.159423828125, 0.11523437...
embed
19158631_c0
19158631
fsharp
0
Title: Adding values of rows in F# based in other row value Problem title: Adding values of rows in F# based in other row value Tags: f%23, addition Problem: Adding values of rows in F# based in other row value This is for F#. I have a .data file which has 4 rows: Town, population, municipality, and rural or urban type...
Adding values of rows in F# based in other row value Adding values of rows in F# based in other row value f%23 addition Adding System csvLine:string List.ofSeq csvLine.Split Int32.Parse Incorrect System.IO File.ReadAllLines Users townspopulation.data Adding values of rows in F# based in other row value This is for F#. ...
[ -0.005859375, 0.006103515625, 0.0023956298828125, 0.04931640625, -0.004241943359375, -0.00151824951171875, 0.0234375, 0.0098876953125, 0.00872802734375, -0.01165771484375, 0.004119873046875, -0.01239013671875, 0.0027618408203125, 0.00177001953125, -0.00153350830078125, -0.0008087158203...
[ 62, 59725, 142424, 111, 15555, 7, 563, 4904, 35509, 23, 3789, 34292, 1238, 3949, 3742, 66044, 12353, 334, 93232, 91693, 32036, 4390, 4233, 864, 4353, 18, 6460, 28636, 32399, 17780, 42724, 31345, 43512, 53400, 59444, 33554, 72403, 10135, 114...
[ 0.0845947265625, 0.1123046875, 0.17333984375, 0.03692626953125, 0.2108154296875, 0.040283203125, 0.125244140625, 0.201171875, 0.1597900390625, 0.031707763671875, 0.1043701171875, 0.1678466796875, 0.050323486328125, 0.0214080810546875, 0.148193359375, 0.146240234375, 0.099365234375, ...
embed
20864865_c0
20864865
fsharp
0
Title: Techniques to Eliminate Duplicate Matching Logic in F# Problem title: Techniques to Eliminate Duplicate Matching Logic in F# Tags: f%23 Problem: Techniques to Eliminate Duplicate Matching Logic in F# When designing union type hierarchies, there seems to be potential for a considerable amount of logic duplication...
Techniques to Eliminate Duplicate Matching Logic in F# Techniques to Eliminate Duplicate Matching Logic in F# f%23 Techniques Eliminate Duplicate Matching Logic Number Integer Real y:Number Techniques to Eliminate Duplicate Matching Logic in F# When designing union type hierarchies, there seems to be potential for a co...
[ -0.0242919921875, 0.01214599609375, 0.0233154296875, -0.00167083740234375, 0.0020904541015625, -0.0159912109375, -0.00189971923828125, 0.0186767578125, 0.01202392578125, -0.00518798828125, -0.000774383544921875, -0.004669189453125, 0.0111083984375, -0.0223388671875, 0.01019287109375, -...
[ 36630, 45602, 203358, 67, 786, 52721, 67407, 214, 50592, 238, 563, 4904, 1238, 3742, 103332, 44401, 5120, 113, 18444, 26278, 4331, 69941, 10644, 1791, 54689, 38516, 150675, 41170, 62775, 115, 182867, 8781, 27781, 33636, 44289, 28236, 14012, 3...
[ 0.110595703125, 0.101318359375, 0.1763916015625, 0.07611083984375, 0.128173828125, 0.1978759765625, 0.2144775390625, 0.0771484375, 0.175048828125, 0.0606689453125, 0.1400146484375, 0.2069091796875, 0.042388916015625, 0.06085205078125, 0.120849609375, 0.1376953125, 0.1644287109375, ...
embed
33644338_c0
33644338
fsharp
0
Title: The type bool in not compatible with type Constraints.constraint Problem title: The type bool in not compatible with type Constraints.constraint Tags: f%23 Problem: The type bool in not compatible with type Constraints.constraint I have made the following class: type numbers(Roman:string, CommonNumber:string)= m...
The type bool in not compatible with type Constraints.constraint The type bool in not compatible with type Constraints.constraint f%23 Constraints.constraint Roman:string CommonNumber:string this.RomanNumber Roman this.ExpectedNumber CommonNumber this.MakeComparision INTERACTIVE NUnit.2.6.4 nunit.framework.dll FsUnit.1...
[ -0.025146484375, -0.00173187255859375, 0.0126953125, 0.00872802734375, 0.011962890625, -0.01055908203125, -0.00518798828125, 0.0111083984375, -0.0030670166015625, 0.016845703125, -0.008544921875, -0.0179443359375, 0.0002288818359375, 0.0067138671875, -0.000301361083984375, 0.0019226074...
[ 10644, 142484, 23, 959, 146731, 678, 1657, 2816, 4288, 2271, 581, 1238, 3742, 5, 12610, 91693, 151301, 18444, 26278, 903, 158271, 1081, 76978, 108161, 1686, 59692, 18057, 6773, 154784, 617, 4124, 217, 160328, 1181, 563, 85600, 4633, 33261, ...
[ 0.24169921875, 0.21484375, 0.115478515625, 0.1439208984375, 0.201416015625, 0.10675048828125, 0.0985107421875, 0.1751708984375, 0.13330078125, 0.0845947265625, 0.00396728515625, 0.0335693359375, 0.08935546875, 0.0054931640625, 0.1727294921875, 0.1488037109375, 0.1395263671875, 0.14...
embed
17045032_c0
17045032
fsharp
0
Title: Is there a Haskell equivalent of F# units of measure? Problem title: Is there a Haskell equivalent of F# units of measure? Tags: haskell, f%23 Problem: Is there a Haskell equivalent of F# units of measure? F# has a units of measure capability, described at http://msdn.microsoft.com/en-us/library/dd233243.aspx as...
Is there a Haskell equivalent of F# units of measure? Is there a Haskell equivalent of F# units of measure? haskell f%23 Haskell Measure USD EUR Results Greater Mass Is there a Haskell equivalent of F# units of measure? F# has a units of measure capability, described at http://msdn.microsoft.com/en-us/library/dd233243....
[ 0.0008087158203125, 0.0184326171875, 0.0052490234375, -0.01025390625, -0.01123046875, -0.01226806640625, -0.006683349609375, 0.004608154296875, 0.0194091796875, -0.00183868408203125, -0.03173828125, -0.026123046875, 0.015380859375, -0.006134033203125, -0.01165771484375, 0.018798828125,...
[ 2071, 2685, 10, 20625, 142508, 183234, 111, 563, 4904, 25072, 7, 72350, 1556, 1238, 3949, 3742, 1215, 11, 56851, 19052, 12220, 146104, 32774, 56, 74227, 3540, 41159, 151552, 138410, 2844, 114864, 61924, 18151, 59121, 237, 34831, 142477, 57767...
[ 0.039703369140625, 0.08203125, 0.0687255859375, 0.169677734375, 0.27734375, 0.2181396484375, 0.074951171875, 0.1640625, 0.26806640625, 0.2489013671875, 0.057708740234375, 0.253173828125, 0.15283203125, 0.10760498046875, 0.0224761962890625, 0.1578369140625, 0.14453125, 0.16125488281...
embed
13708969_c0
13708969
fsharp
0
Title: What is the effect of &quot;if false then ()&quot; in the Computer Language Benchmarks Game&#x27;s F# Threadring entry? Problem title: What is the effect of &quot;if false then ()&quot; in the Computer Language Benchmarks Game&#x27;s F# Threadring entry? Tags: f%23 Problem: What is the effect of "if false then (...
What is the effect of &quot;if false then ()&quot; in the Computer Language Benchmarks Game&#x27;s F# Threadring entry? What is the effect of &quot;if false then ()&quot; in the Computer Language Benchmarks Game&#x27;s F# Threadring entry? f%23 What Computer Language Benchmarks Game Threadring Array.zeroCreate EntryPoi...
[ -0.005889892578125, 0.00933837890625, 0.010009765625, 0.005340576171875, -0.0025634765625, 0.00113677978515625, 0.017578125, 0.0242919921875, -0.0196533203125, -0.020751953125, -0.0234375, 0.0390625, -0.01385498046875, 0.0018463134765625, 0.01214599609375, 0.0113525390625, 0.01770019...
[ 4865, 21543, 3190, 98320, 7068, 15, 40139, 83658, 3419, 206, 88832, 13547, 3768, 563, 4904, 136719, 2852, 42805, 3742, 69253, 80510, 357, 15123, 147534, 79459, 15789, 12654, 126597, 12333, 70541, 48903, 4527, 9393, 13315, 2174, 6868, 1810, 15...
[ 0.0163421630859375, 0.188720703125, 0.1644287109375, 0.280517578125, 0.210205078125, 0.0518798828125, 0.0458984375, 0.0679931640625, 0.091796875, 0.0889892578125, 0.1011962890625, 0.0982666015625, 0.03668212890625, 0.06732177734375, 0.1474609375, 0.1595458984375, 0.1890869140625, 0...
embed
41790025_c0
41790025
fsharp
0
Title: Cannot get F# Chiron Json serializer working on Linux Problem title: Cannot get F# Chiron Json serializer working on Linux Tags: f%23, linux, mono, visual-studio-code Problem: Cannot get F# Chiron Json serializer working on Linux I cannot get Chiron Json serializer working on Elementary OS with VS Code. On Windo...
Cannot get F# Chiron Json serializer working on Linux Cannot get F# Chiron Json serializer working on Linux f%23 linux mono visual-studio-code System.TypeInitializationException System.Exception Cannot Chiron Json Linux App.fsx net46 include.chiron.fsx Object Map.ofList Json.format paket.dependencies www.nuget.org pake...
[ -0.0155029296875, 0.011962890625, -0.005035400390625, 0.007171630859375, 0.0126953125, -0.00634765625, 0.02099609375, -0.0191650390625, -0.0225830078125, 0.001251220703125, 0.013427734375, 0.01123046875, -0.00164794921875, 0.033203125, 0.017333984375, -0.004974365234375, -0.002471923...
[ 4171, 10869, 2046, 563, 4904, 5585, 1900, 821, 1681, 35686, 52825, 20697, 98, 29908, 1238, 3742, 11508, 6077, 22460, 21176, 52629, 40899, 12353, 196707, 19279, 5659, 17447, 425, 2043, 9271, 1861, 134549, 42719, 154663, 51727, 13360, 105254, 5...
[ 0.032867431640625, 0.07867431640625, 0.07122802734375, 0.0860595703125, 0.1597900390625, 0.131591796875, 0.2271728515625, 0.158447265625, 0.20849609375, 0.1600341796875, 0.122802734375, 0.1014404296875, 0.0352783203125, 0.2352294921875, 0.076416015625, 0.1121826171875, 0.104125976562...
embed
66060575_c0
66060575
fsharp
0
Title: How to Map MongoDB Bson Dosument in F# to generic type Problem title: How to Map MongoDB Bson Dosument in F# to generic type Tags: mongodb, f%23 Problem: How to Map MongoDB Bson Dosument in F# to generic type I am new to F# - I have a converter for Bson to a model module BsonDocConverter open MongoDB.Bson open M...
How to Map MongoDB Bson Dosument in F# to generic type How to Map MongoDB Bson Dosument in F# to generic type mongodb f%23 How Map MongoDB Bson Dosument BsonDocConverter MongoDB.Bson Models BsonDocument Draw AsBsonDateTime.ToLocalTime number1 AsInt32 number2 number3 number4 number5 number6 Models.Draw MongoClient GetDa...
[ -0.0322265625, 0.01239013671875, 0.0028076171875, -0.007476806640625, -0.02197265625, 0.010009765625, -0.0260009765625, -0.00738525390625, 0.00518798828125, -0.0296630859375, 0.01214599609375, 0.0093994140625, 0.020263671875, 0.002899169921875, 0.00885009765625, -0.0341796875, -0.024...
[ 11249, 47, 42719, 7465, 519, 39463, 335, 1681, 31033, 34, 674, 23, 563, 4904, 189534, 10644, 2667, 7803, 275, 1238, 3949, 3742, 8331, 11935, 814, 720, 571, 13293, 239469, 18186, 86291, 70059, 7763, 203758, 6460, 758, 910, 81456, 150, 3738...
[ 0.05682373046875, 0.0869140625, 0.2166748046875, 0.1087646484375, 0.1722412109375, 0.1922607421875, 0.1148681640625, 0.189453125, 0.0947265625, 0.156982421875, 0.054595947265625, 0.016632080078125, 0.1070556640625, 0.2103271484375, 0.252197265625, 0.199951171875, 0.08447265625, 0.0...
embed
20200005_c0
20200005
fsharp
0
Title: Error: a type annotation may be needed Problem title: Error: a type annotation may be needed Tags: c%23, f%23 Problem: Error: a type annotation may be needed I am trying to have Name return the value of item.name where item is an instance of a C# class. the fs file contains namespace PatternMatch type PatternMat...
Error: a type annotation may be needed Error: a type annotation may be needed c%23 f%23 Error PatternMatch this.X Items_ PatternMatch.fs Item Name item.name Action Client Classifier Container ControlFlow Gaurd ObjectFlow Source Error: a type annotation may be needed I am trying to have Name return the value of item.nam...
[ 0.01275634765625, 0.004364013671875, 0.01007080078125, -0.0052490234375, 0.0137939453125, 0.004791259765625, -0.026123046875, 0.0010223388671875, -0.007049560546875, -0.00909423828125, 0.034912109375, -0.00848388671875, 0.0023193359375, -0.006500244140625, 0.0185546875, 0.0004272460937...
[ 212059, 10, 10644, 8668, 22062, 1543, 186, 44841, 3742, 1238, 9876, 22766, 79520, 206, 903, 1542, 78426, 17447, 15757, 35735, 11627, 57945, 91732, 35014, 85789, 34749, 27131, 17336, 66632, 71, 134549, 77641, 31577, 30646, 34292, 83, 110527, 4...
[ 0.14794921875, 0.07171630859375, 0.2342529296875, 0.182373046875, 0.1441650390625, 0.158447265625, 0.09527587890625, 0.2220458984375, 0.09979248046875, 0.08709716796875, 0.1065673828125, 0.0872802734375, 0.1500244140625, 0.02642822265625, 0.1307373046875, 0.12939453125, 0.19873046875...
embed
12339205_c1
12339205
fsharp
1
x : XElement) n v = x.SetAttributeValue(!> n, v) type XE = XElement IEnumerator let inline bbox e = (e @ "bbox") |> fun s -> s.Split [| ' ' |] |> Seq.map float |> Seq.toList let inline left bbox = match bbox with l::_ -> l | _ -> nan let mark n = let id = Guid.NewGuid() in Seq.iter <| fun e -> e @< "class-" + n <| id l...
x : XElement) n v = x.SetAttributeValue(!> n, v) type XE = XElement IEnumerator let inline bbox e = (e @ "bbox") |> fun s -> s.Split [| ' ' |] |> Seq.map float |> Seq.toList let inline left bbox = match bbox with l::_ -> l | _ -> nan let mark n = let id = Guid.NewGuid() in Seq.iter <| fun e -> e @< "class-" + n <| id l...
[ -0.0125732421875, 0.04150390625, -0.020751953125, -0.00518798828125, -0.01434326171875, 0.0034332275390625, -0.001953125, -0.01458740234375, -0.003265380859375, 0.000926971435546875, -0.01141357421875, 0.007476806640625, 0.01123046875, -0.04345703125, 0.01068115234375, 0.00171661376953...
[ 1022, 152, 90878, 19929, 16, 653, 81, 2203, 5, 294, 126, 28848, 191145, 856, 50770, 38, 4, 10644, 6, 75536, 2606, 56, 4597, 2633, 23, 2256, 876, 11728, 28, 13, 1374, 275, 2740, 7477, 91, 33079, 31923, 4353, 242, 503, 864, 62346, 219...
[ 0.18212890625, 0.1324462890625, 0.275634765625, 0.31201171875, 0.022918701171875, 0.1378173828125, 0.2493896484375, 0.116943359375, 0.0283203125, 0.10577392578125, 0.1077880859375, 0.052001953125, 0.2225341796875, 0.09332275390625, 0.1363525390625, 0.042205810546875, 0.02531433105468...
embed
13535560_c0
13535560
fsharp
0
Title: C# vs F# for programmatic WPF GUIs Problem title: C# vs F# for programmatic WPF GUIs Tags: f%23, wpf, xaml, c%23 Problem: C# vs F# for programmatic WPF GUIs I'm trying to decide where to draw the line on the use of F# and C# in enterprise software development. F# for mathematical code is a no-brainer. I like F# ...
C# vs F# for programmatic WPF GUIs C# vs F# for programmatic WPF GUIs f%23 wpf xaml c%23 WPF GUIs C# vs F# for programmatic WPF GUIs I'm trying to decide where to draw the line on the use of F# and C# in enterprise software development. F# for mathematical code is a no-brainer. I like F# for GUI work even though it lac...
[ -0.006072998046875, 0.01336669921875, 0.020751953125, -0.02001953125, 0.0019683837890625, 0.008056640625, -0.001861572265625, -0.009033203125, 0.0006103515625, 0.004364013671875, -0.01446533203125, -0.0263671875, -0.004791259765625, -0.0057373046875, -0.00921630859375, 0.00263977050781...
[ 313, 4904, 20209, 563, 100, 1528, 47148, 601, 41265, 195490, 1238, 3742, 148, 39557, 2459, 7237, 31577, 28288, 79442, 13315, 4527, 136, 202681, 10975, 34754, 291, 140363, 18151, 110, 2844, 1884, 4488, 21, 22824, 51517, 8060, 1286, 177953, 1...
[ 0.1043701171875, 0.253173828125, 0.17724609375, 0.1795654296875, 0.0703125, 0.1375732421875, 0.08660888671875, 0.0772705078125, 0.1810302734375, 0.2340087890625, 0.034423828125, 0.040679931640625, 0.005828857421875, 0.1055908203125, 0.09130859375, 0.1318359375, 0.00689697265625, 0....
embed
3485991_c0
3485991
fsharp
0
Title: F#: Why am I required to supply parameter types when overloading member functions? Problem title: F#: Why am I required to supply parameter types when overloading member functions? Tags: operator-overloading, f%23, type-inference Problem: F#: Why am I required to supply parameter types when overloading member fu...
F#: Why am I required to supply parameter types when overloading member functions? F#: Why am I required to supply parameter types when overloading member functions? operator-overloading f%23 type-inference Why MyType _string:string _string.Substring _int:int _int.ToString List.map MyType.processString MyType.processIn...
[ 0.00286865234375, -0.009521484375, 0.0067138671875, 0.01171875, -0.0311279296875, -0.007293701171875, 0.006317138671875, -0.006805419921875, 0.00634765625, 0.00238037109375, 0.0033111572265625, -0.0458984375, 0.00933837890625, 0.005950927734375, 0.007049560546875, -0.0030517578125, 0...
[ 563, 4904, 44084, 444, 56065, 100677, 171859, 52895, 645, 63033, 32786, 32354, 47, 39933, 5465, 1238, 3742, 10644, 69988, 2646, 196707, 91693, 96472, 4288, 7763, 71713, 32036, 62346, 63923, 4153, 4568, 6626, 124519, 959, 4488, 17932, 13315, 3...
[ 0.1114501953125, 0.1839599609375, 0.1485595703125, 0.0190582275390625, 0.1561279296875, 0.186767578125, 0.2261962890625, 0.2349853515625, 0.1275634765625, 0.1781005859375, 0.205810546875, 0.1546630859375, 0.0087890625, 0.1397705078125, 0.10711669921875, 0.07720947265625, 0.0925903320...
embed
40574629_c0
40574629
fsharp
0
Title: F# find largest element in list of structures Problem title: F# find largest element in list of structures Tags: f%23 Problem: F# find largest element in list of structures I'm new to F# and I want to find largest element form list of structures: type Element = struct val X: int val Y: int val RES: int new (x, y...
F# find largest element in list of structures F# find largest element in list of structures f%23 Element RES this.ToString this.RES this.X this.Y max2 x.RES y.RES BAD LINE max_list h::t Empty List.empty F# find largest element in list of structures I'm new to F# and I want to find largest element form list of structure...
[ 0.0014495849609375, 0.0048828125, 0.0029144287109375, 0.01416015625, 0.0267333984375, 0.0269775390625, 0.006866455078125, 0.00156402587890625, 0.00860595703125, 0.00994873046875, 0.02685546875, 0.00054168701171875, 0.0111083984375, -0.0311279296875, 0.0162353515625, -0.0303955078125, ...
[ 563, 4904, 7413, 142105, 12830, 23, 5303, 45646, 1238, 3949, 3742, 48325, 61661, 903, 7763, 71713, 34465, 1542, 1723, 18389, 304, 1022, 113, 8678, 397, 130028, 6562, 1096, 31678, 939, 32036, 33548, 111, 3525, 3444, 47, 3173, 1193, 150679, ...
[ 0.139892578125, 0.1915283203125, 0.1279296875, 0.2340087890625, 0.203369140625, 0.05059814453125, 0.139404296875, 0.1939697265625, 0.077880859375, 0.036224365234375, 0.1090087890625, 0.2049560546875, 0.1243896484375, 0.0985107421875, 0.052703857421875, 0.04925537109375, 0.18005371093...
embed
14611194_c1
14611194
fsharp
1
\Debug\Doctypes.XML --optimize- --tailcalls- --resource:statutes_ebook_cover.jpg -r:A:\svn\dtc\Publisher\Doctypes\bin\Debug\CsvHelper.dll -r:A:\svn\dtc\Publisher\Data\bin\Debug\DTC.Data.dll -r:A:\svn\dtc\Publisher\Formats\bin\Debug\DTC.Formats.dll -r:A:\svn\dtc\Publisher\Parser\bin\Debug\DTC.Parser.dll -r:A:\svn\dtc\Pu...
old Powerpack LINQ stuff, so I stripped that out. Then I thought maybe it had something to do with using Entity Framework 4.3 instead of 5.0, so I upgraded that. Same error. I'm still compiling to .NET 4.0, not 4.5... perhaps this is part of the cause? I compared the Doctypes.fsproj XML with other projects in the same...
[ 0.00921630859375, 0.004486083984375, 0.014892578125, -0.00347900390625, 0.00848388671875, 0.010498046875, -0.036865234375, -0.04443359375, -0.0135498046875, -0.0076904296875, -0.005096435546875, 0.00142669677734375, 0.01055908203125, -0.004913330078125, 0.015869140625, -0.0008201599121...
[ 10332, 17170, 29102, 46610, 2737, 41884, 43613, 16511, 2481, 202220, 80196, 64457, 103932, 116086, 99908, 18499, 7464, 9969, 49725, 47, 17777, 40401, 60061, 154186, 29048, 50986, 7, 17447, 3454, 170, 92537, 77635, 29806, 33342, 3638, 93774, 346...
[ 0.0152740478515625, 0.112060546875, 0.249267578125, 0.176025390625, 0.18896484375, 0.059356689453125, 0.07122802734375, 0.1044921875, 0.090087890625, 0.16357421875, 0.167236328125, 0.0230560302734375, 0.187744140625, 0.102783203125, 0.028350830078125, 0.2049560546875, 0.0216217041015...
embed
2270308_c0
2270308
fsharp
0
Title: Useful F# Scripts Problem title: Useful F# Scripts Tags: f%23, scripting Problem: Useful F# Scripts I have been investigating the use of F# for development and have found (for my situations) building scripts to help me simplify some complex tasks is where I can get value from it (at the moment). My most common c...
Useful F# Scripts Useful F# Scripts f%23 scripting Useful Scripts System.IO FSharp out_path concat.out File.Delete Directory.GetFiles Array.collect File.ReadAllLines File.WriteAllLines Useful F# Scripts I have been investigating the use of F# for development and have found (for my situations) building scripts to help m...
[ 0.023193359375, -0.006378173828125, -0.0120849609375, -0.00408935546875, -0.00872802734375, -0.006072998046875, -0.00439453125, -0.00872802734375, 0.00653076171875, -0.033935546875, 0.01373291015625, 0.01153564453125, 0.007354736328125, 0.017578125, 0.00445556640625, 0.0009040832519531...
[ 36836, 7844, 563, 4904, 84654, 7, 1238, 3949, 3742, 26499, 214, 12353, 17780, 93774, 3467, 254, 1810, 128405, 158, 4460, 6056, 42724, 4657, 46485, 31068, 724, 126, 174350, 69253, 196352, 31345, 43512, 93232, 5, 32603, 4527, 111, 34754, 1403...
[ 0.158447265625, 0.0999755859375, 0.175537109375, 0.24755859375, 0.261962890625, 0.006500244140625, 0.1109619140625, 0.062255859375, 0.1746826171875, 0.263916015625, 0.0697021484375, 0.094482421875, 0.155517578125, 0.053741455078125, 0.1453857421875, 0.11181640625, 0.09423828125, 0....
embed
50697980_c0
50697980
fsharp
0
Title: F# Nested lists immutability Problem title: F# Nested lists immutability Tags: nested, list, f%23 Problem: F# Nested lists immutability I am trying to pick F# again and I have a case where I find it very difficult to deal with immutability. In most cases I find immutability very nice. However, I find it very har...
F# Nested lists immutability F# Nested lists immutability nested list f%23 Nested Employee Name Company Employees John Smith F# Nested lists immutability I am trying to pick F# again and I have a case where I find it very difficult to deal with immutability. In most cases I find immutability very nice. However, I find ...
[ -0.0157470703125, 0.000141143798828125, 0.004669189453125, 0.0020904541015625, 0.000278472900390625, 0.030517578125, -0.0203857421875, -0.0030364990234375, 0.0047607421875, -0.0030517578125, 0.0118408203125, 0.01708984375, 0.0150146484375, 0.039794921875, -0.0003070831298828125, -0.009...
[ 563, 4904, 28701, 71, 5303, 566, 14311, 41159, 8512, 1238, 3949, 3742, 31678, 365, 1033, 15757, 33734, 4939, 37700, 7, 31577, 39580, 13438, 7225, 4552, 34844, 35142, 678, 7413, 26267, 7941, 42486, 1884, 33022, 11001, 38937, 195490, 1528, 13...
[ 0.1806640625, 0.2403564453125, 0.2734375, 0.146240234375, 0.234130859375, 0.1021728515625, 0.207275390625, 0.125732421875, 0.279296875, 0.099609375, 0.0062255859375, 0.07012939453125, 0.07269287109375, 0.13720703125, 0.10015869140625, 0.133544921875, 0.1444091796875, 0.133056640625...
embed
4787226_c0
4787226
fsharp
0
Title: Merge multiple lists of data together by common ID in F# Problem title: Merge multiple lists of data together by common ID in F# Tags: f%23-data, f%23 Problem: Merge multiple lists of data together by common ID in F# I have multiple lists of data from 4 different sources with a common set of IDs that I would lik...
Merge multiple lists of data together by common ID in F# Merge multiple lists of data together by common ID in F# f%23-data f%23 Merge data1 data2 data3 Merge multiple lists of data together by common ID in F# I have multiple lists of data from 4 different sources with a common set of IDs that I would like to merge tog...
[ 0.00787353515625, 0.000865936279296875, 0.004486083984375, 0.0172119140625, -0.00457763671875, -0.0027618408203125, -0.0159912109375, 0.01251220703125, 0.0126953125, -0.0189208984375, -0.015869140625, 0.0037078857421875, 0.005096435546875, 0.005828857421875, 0.00174713134765625, -0.000...
[ 6035, 429, 48716, 5303, 7, 111, 2053, 25842, 390, 39210, 11338, 23, 563, 4904, 1238, 27495, 10135, 3742, 363, 1295, 201, 12921, 97264, 1884, 42564, 35509, 86658, 42805, 31344, 36746, 140992, 12638, 6713, 18151, 198932, 139392, 63399, 5646, ...
[ 0.2093505859375, 0.08984375, 0.2257080078125, 0.2413330078125, 0.033935546875, 0.005615234375, 0.16650390625, 0.21826171875, 0.07098388671875, 0.205322265625, 0.2119140625, 0.02630615234375, 0.1468505859375, 0.2147216796875, 0.04864501953125, 0.04754638671875, 0.094970703125, 0.030...
embed
5462398_c0
5462398
fsharp
0
Title: NullReferenceException in F# Problem title: NullReferenceException in F# Tags: f%23, nullreferenceexception, null Problem: NullReferenceException in F# When I step through the following code, report on the second line is null. However, the third line generates a NullReferenceException. member this.setTaggedResea...
NullReferenceException in F# NullReferenceException in F# f%23 nullreferenceexception null NullReferenceException this.setTaggedResearchReportList TaggedResearchReportUIVO Option.get report.Equals item.id Action JSONSingleResult TaggedResearchReportRPC x.IsSome Some None NullReferenceException in F# When I step through...
[ -0.0031585693359375, 0.0059814453125, 0.0059814453125, 0.01556396484375, 0.01324462890625, -0.01336669921875, 0.010986328125, -0.0284423828125, 0.0019073486328125, -0.001922607421875, -0.01092529296875, 0.006591796875, -0.0157470703125, 0.0036468505859375, 0.0194091796875, -0.007476806...
[ 1429, 1181, 4332, 69988, 13, 19279, 63928, 563, 4904, 1238, 3742, 56574, 239879, 3355, 903, 3509, 66448, 17704, 86250, 56829, 154663, 57261, 121075, 86769, 3794, 13416, 71723, 35735, 532, 57945, 58627, 7136, 12233, 438, 29954, 18151, 17932, 1...
[ 0.1719970703125, 0.127685546875, 0.0986328125, 0.227294921875, 0.0216522216796875, 0.076904296875, 0.1658935546875, 0.1412353515625, 0.193359375, 0.06982421875, 0.13330078125, 0.188720703125, 0.25732421875, 0.031341552734375, 0.06610107421875, 0.08544921875, 0.1104736328125, 0.0573...
embed
31862403_c0
31862403
fsharp
0
Title: How can I implement infinitive data structure for obtaining items on demand in F# Problem title: How can I implement infinitive data structure for obtaining items on demand in F# Tags: f%23 Problem: How can I implement infinitive data structure for obtaining items on demand in F# I need to name nodes in a graph ...
How can I implement infinitive data structure for obtaining items on demand in F# How can I implement infinitive data structure for obtaining items on demand in F# f%23 How Seq.initInfinite Chars Length How can I implement infinitive data structure for obtaining items on demand in F# I need to name nodes in a graph wit...
[ 0.0023956298828125, 0.01324462890625, 0.009033203125, 0.03173828125, 0.005706787109375, 0.0013580322265625, 0.026123046875, -0.0020294189453125, -0.01080322265625, -0.029541015625, 0.0123291015625, 0.002166748046875, 0.01031494140625, 0.021240234375, 0.019287109375, 0.01904296875, 0....
[ 11249, 831, 29479, 54241, 5844, 2053, 45646, 113054, 55769, 98, 35968, 563, 4904, 87, 1238, 3742, 503, 864, 73, 217, 4153, 48310, 67, 21656, 7, 77554, 927, 23, 9351, 110, 988, 41382, 678, 25632, 120820, 229231, 105233, 112, 191, 12018, ...
[ 0.0478515625, 0.059600830078125, 0.215087890625, 0.1849365234375, 0.1800537109375, 0.1649169921875, 0.26611328125, 0.14111328125, 0.1610107421875, 0.09912109375, 0.2415771484375, 0.1368408203125, 0.227783203125, 0.0221710205078125, 0.09130859375, 0.06298828125, 0.0699462890625, 0.1...
embed
26266679_c0
26266679
fsharp
0
Title: Generic class with a measure constraint Problem title: Generic class with a measure constraint Tags: f%23, generic-programming Problem: Generic class with a measure constraint How do I create a generic class in F#, with a constraint that the type is a measure? I've tried this but a2 and b2 do not produce errors:...
Generic class with a measure constraint Generic class with a measure constraint f%23 generic-programming Generic Microsoft.FSharp.Data.UnitSystems.SI.UnitNames Vector2D_A Measure this.X this.Y Vector2D_B Vector2D_C Generic class with a measure constraint How do I create a generic class in F#, with a constraint that the...
[ -0.012451171875, 0.020263671875, -0.008056640625, -0.016357421875, -0.006500244140625, -0.011474609375, -0.015625, -0.003692626953125, 0.021728515625, -0.0025482177734375, -0.028076171875, -0.02685546875, 0.0225830078125, -0.0198974609375, -0.0087890625, 0.01123046875, 0.003646850585...
[ 88342, 1771, 18507, 678, 10, 72350, 158, 2816, 4288, 1238, 3949, 3742, 189534, 28966, 7244, 36381, 3467, 254, 5, 137989, 9902, 85600, 163612, 2609, 18770, 397, 284, 1215, 11, 56851, 903, 1542, 1723, 571, 441, 11249, 54, 87, 28282, 23, 5...
[ 0.19580078125, 0.09832763671875, 0.267822265625, 0.08349609375, 0.0389404296875, 0.244873046875, 0.09014892578125, 0.179443359375, 0.1212158203125, 0.051361083984375, 0.0207061767578125, 0.1123046875, 0.2744140625, 0.0843505859375, 0.0687255859375, 0.0269317626953125, 0.0933837890625...
embed
49292079_c1
49292079
fsharp
1
= (new DataContractJsonSerializer(typeof<Article>)).ReadObject(memoryStream) :?> Article reader.Close() response.Close() request.Abort() result Further Discoveries I was able to get Charles Proxy up and I saw that forward slashes have been escaped in the output serialized json to the server. Actual Output: with escape...
= (new DataContractJsonSerializer(typeof<Article>)).ReadObject(memoryStream) :?> Article reader.Close() response.Close() request.Abort() result Further Discoveries I was able to get Charles Proxy up and I saw that forward slashes have been escaped in the output serialized json to the server. Actual Output: with escape...
[ 0.02294921875, 0.026611328125, 0.00775146484375, -0.0244140625, 0.0023193359375, -0.01123046875, -0.0020751953125, 0.0240478515625, -0.0125732421875, 0.0035858154296875, 0.022705078125, 0.00689697265625, 0.0203857421875, 0.01348876953125, 0.025634765625, -0.00144195556640625, -0.0038...
[ 2203, 54936, 11809, 11935, 39989, 1375, 1681, 4233, 51626, 52825, 50986, 89329, 11030, 31345, 46471, 75161, 109005, 53, 115061, 24241, 155255, 59453, 57553, 50336, 24988, 19135, 16750, 5465, 509, 2046, 28166, 1250, 50878, 1257, 24124, 40225, 14...
[ 0.047027587890625, 0.032073974609375, 0.0955810546875, 0.0338134765625, 0.187255859375, 0.0997314453125, 0.1962890625, 0.0443115234375, 0.115966796875, 0.149169921875, 0.0771484375, 0.042816162109375, 0.0178375244140625, 0.1468505859375, 0.07421875, 0.142333984375, 0.110595703125, ...
embed
32581216_c0
32581216
fsharp
0
Title: How to pass a discriminated union from C# to a F# function (F# - C# interop) Problem title: How to pass a discriminated union from C# to a F# function (F# - C# interop) Tags: f%23, c%23, .net, interop Problem: How to pass a discriminated union from C# to a F# function (F# - C# interop) Definition of the model: t...
How to pass a discriminated union from C# to a F# function (F# - C# interop) How to pass a discriminated union from C# to a F# function (F# - C# interop) f%23 c%23 .net interop ArgumentNullException C# How ItemEvent ItemCreated timestamp:DateTime id:ItemId name:string description:string IEvent IItemWriteAccess Update R...
[ -0.0247802734375, 0.01361083984375, 0.01458740234375, -0.01904296875, -0.007080078125, -0.0103759765625, -0.017822265625, 0.0024261474609375, 0.01025390625, -0.0306396484375, 0.01312255859375, 0.00173187255859375, -0.003143310546875, 0.018798828125, 0.00701904296875, -0.0084228515625, ...
[ 11249, 27875, 55970, 3674, 69941, 1295, 313, 4904, 47, 563, 32354, 919, 1940, 2146, 1238, 3742, 1179, 112140, 18444, 63928, 78426, 192134, 63784, 1733, 590, 2676, 3447, 2982, 9351, 91693, 76811, 26531, 28641, 126684, 93702, 6011, 135679, 5911...
[ 0.054046630859375, 0.1580810546875, 0.249755859375, 0.0782470703125, 0.233642578125, 0.1031494140625, 0.03765869140625, 0.19873046875, 0.1092529296875, 0.09197998046875, 0.1829833984375, 0.058868408203125, 0.1611328125, 0.20849609375, 0.0721435546875, 0.1129150390625, 0.0914306640625...
embed
37365059_c0
37365059
fsharp
0
Title: Using Reflection.Emit to generate Discriminated Unions Problem title: Using Reflection.Emit to generate Discriminated Unions Tags: reflection, type-providers, reflection.emit, f%23, discriminated-union Problem: Using Reflection.Emit to generate Discriminated Unions I would like to know if it was possible to gene...
Using Reflection.Emit to generate Discriminated Unions Using Reflection.Emit to generate Discriminated Unions reflection type-providers reflection.emit f%23 discriminated-union Using Reflection.Emit Discriminated Unions FSharpValue.MakeUnion Expr.NewUnionCase Using Reflection.Emit to generate Discriminated Unions I wou...
[ -0.006072998046875, 0.0185546875, 0.000705718994140625, -0.000278472900390625, -0.022216796875, -0.0130615234375, -0.01153564453125, 0.003631591796875, 0.006591796875, -0.05029296875, -0.00164794921875, 0.02783203125, 0.0091552734375, 0.013916015625, 0.00994873046875, 0.007080078125, ...
[ 345, 53295, 133, 10763, 647, 4007, 139392, 6206, 135421, 3674, 32528, 44961, 10644, 93136, 1830, 195, 217, 1238, 3949, 3742, 55970, 87046, 93774, 3467, 254, 856, 50770, 76978, 147547, 60075, 42, 46568, 441, 6991, 5, 3714, 7722, 14614, 23, ...
[ 0.06988525390625, 0.203125, 0.1944580078125, 0.1358642578125, 0.1207275390625, 0.2392578125, 0.2176513671875, 0.056732177734375, 0.2181396484375, 0.041229248046875, 0.2210693359375, 0.20654296875, 0.1785888671875, 0.1571044921875, 0.0672607421875, 0.1617431640625, 0.212646484375, 0...
embed
15041381_c0
15041381
fsharp
0
Title: How can I make unary negation and math functions work on inherited types? Problem title: How can I make unary negation and math functions work on inherited types? Tags: .net, f%23 Problem: How can I make unary negation and math functions work on inherited types? Consider the following code: type Base(x : float) ...
How can I make unary negation and math functions work on inherited types? How can I make unary negation and math functions work on inherited types? .net f%23 How Base this.x a.x Cos Inherited FS0001 prim-types.fs How can I make unary negation and math functions work on inherited types? Consider the following code: The ...
[ -0.0017852783203125, -0.00055694580078125, 0.01019287109375, 0.01092529296875, 0.007568359375, -0.003448486328125, 0.003570556640625, -0.0086669921875, -0.0002918243408203125, -0.00051116943359375, -0.0255126953125, 0.002288818359375, 0.01287841796875, 0.00421142578125, 0.001258850097656...
[ 11249, 831, 3249, 220, 1294, 108, 125682, 136, 48909, 32354, 4488, 98, 23, 86151, 3674, 52895, 1179, 1238, 3742, 44978, 903, 50939, 360, 93774, 188735, 29810, 50986, 17447, 18151, 4568, 13315, 27489, 18499, 99908, 9545, 10, 4153, 5701, 20, ...
[ 0.0238189697265625, 0.031280517578125, 0.05718994140625, 0.1654052734375, 0.1343994140625, 0.19677734375, 0.1640625, 0.07940673828125, 0.1773681640625, 0.173828125, 0.1307373046875, 0.0601806640625, 0.09228515625, 0.1807861328125, 0.0865478515625, 0.198486328125, 0.10693359375, 0.0...
embed
51315894_c0
51315894
fsharp
0
Title: Translate Polly HTTP request to F# Problem title: Translate Polly HTTP request to F# Tags: webclient, proxy, c%23, f%23, polly Problem: Translate Polly HTTP request to F# I'm making an HTTP request with Polly. I would like to retry once after waiting 1 second on each proxy in an array. How could I do this better...
Translate Polly HTTP request to F# Translate Polly HTTP request to F# webclient proxy c%23 f%23 polly ArgumentNullException Translate Polly HTTP Result RequestWithRetry WebClient Credentials NetworkCredential String.Empty Policy Handle Exception WaitAndRetry TimeSpan.FromSeconds policy.Execute Length Exhausted String.J...
[ -0.0155029296875, -0.0027008056640625, 0.01361083984375, -0.017333984375, 0.00124359130859375, -0.00445556640625, -0.00017642974853515625, -0.00909423828125, 0.0035858154296875, -0.01531982421875, 0.0162353515625, -0.00469970703125, -0.0284423828125, 0.01519775390625, 0.003326416015625, ...
[ 11062, 19309, 9017, 538, 135913, 50336, 47, 563, 4904, 1467, 222978, 502, 50878, 3742, 1238, 160, 12097, 112140, 18444, 63928, 126684, 75616, 194583, 4332, 15123, 150, 68523, 80973, 2822, 23351, 134332, 80042, 175254, 37839, 19055, 3180, 168407...
[ 0.12548828125, 0.1280517578125, 0.2021484375, 0.2335205078125, 0.2032470703125, 0.15576171875, 0.12158203125, 0.1524658203125, 0.2115478515625, 0.025299072265625, 0.1348876953125, 0.11474609375, 0.18408203125, 0.051788330078125, 0.012908935546875, 0.132080078125, 0.19287109375, 0.1...
embed
33104042_c0
33104042
fsharp
0
Title: How to read nested elements from an XmlReader in .NET? Problem title: How to read nested elements from an XmlReader in .NET? Tags: f%23, .net, xmlreader Problem: How to read nested elements from an XmlReader in .NET? I am trying to get the maximum performance when reading (relatively) large xml files using the X...
How to read nested elements from an XmlReader in .NET? How to read nested elements from an XmlReader in .NET? f%23 .net xmlreader an How XmlReader NET XmlReader.Create reader.Read reader.NodeType XmlNodeType.Element reader.Name reader.GetAttribute Address.Parse reader.ReadSubtree subReader.Read subReader.NodeType subRe...
[ 0.002105712890625, 0.0184326171875, -0.0101318359375, -0.0025787353515625, 0.01361083984375, 0.00148773193359375, -0.01214599609375, -0.00982666015625, -0.00933837890625, -0.03662109375, 0.0198974609375, -0.00750732421875, -0.01300048828125, -0.0107421875, 0.01544189453125, -0.02758789...
[ 11249, 47, 12301, 8512, 71, 80854, 1295, 1193, 7237, 31345, 56, 23, 5, 17777, 142, 1238, 3949, 3742, 1179, 131492, 1283, 820, 63784, 155255, 5021, 196707, 19929, 191145, 49990, 28636, 96472, 62600, 1614, 31577, 38132, 23718, 16454, 21334, 1...
[ 0.08056640625, 0.04052734375, 0.2403564453125, 0.2734375, 0.1583251953125, 0.210693359375, 0.1085205078125, 0.1290283203125, 0.1912841796875, 0.2496337890625, 0.1553955078125, 0.0389404296875, 0.04071044921875, 0.219482421875, 0.058349609375, 0.052215576171875, 0.0261077880859375, ...
embed
28996554_c0
28996554
fsharp
0
Title: Can I create nested Computation Expressions for Builder Like DSLs? Problem title: Can I create nested Computation Expressions for Builder Like DSLs? Tags: dsl, computation-expression, f%23 Problem: Can I create nested Computation Expressions for Builder Like DSLs? This is what I'd like to do: type DirectionBuild...
Can I create nested Computation Expressions for Builder Like DSLs? Can I create nested Computation Expressions for Builder Like DSLs? dsl computation-expression f%23 Can Computation Expressions Builder Like DSLs DirectionBuilder self.Yield CustomOperation self.Left None self.Right self.Velocity VelocityBuilder self.Acc...
[ -0.00244140625, 0.01422119140625, 0.021728515625, 0.01904296875, -0.0023651123046875, 0.0089111328125, 0.00167083740234375, -0.0111083984375, -0.004302978515625, -0.032958984375, -0.0257568359375, 0.01171875, 0.01397705078125, 0.01171875, 0.00799560546875, 0.00469970703125, -0.010559...
[ 4171, 87, 28282, 8512, 71, 159415, 2320, 25129, 17514, 100, 121137, 56, 18852, 114479, 7, 104, 24861, 181135, 204629, 1238, 3949, 3742, 176774, 15970, 1723, 19388, 130664, 156823, 2480, 438, 22553, 146224, 139993, 26531, 3945, 4657, 123079, 2...
[ 0.126953125, 0.0477294921875, 0.1697998046875, 0.2283935546875, 0.1212158203125, 0.2086181640625, 0.052398681640625, 0.166259765625, 0.08404541015625, 0.0416259765625, 0.177001953125, 0.134033203125, 0.16552734375, 0.206787109375, 0.0767822265625, 0.0352783203125, 0.176513671875, 0...
embed
56797756_c1
56797756
fsharp
1
Text "ID" AddOriginMerdID dispatch' numinputText "MerdNumber" AddMerdNumber dispatch' floatinputText "average Weight" AddAverageWeight dispatch' numinputText "PD" AddPD dispatch' button "save" form SaveOriginMerd (SaveEntry >> dispatch) ] let inputText label msg dispatch = R.textInput[ P.TextInput.OnChangeText ( msg >>...
Text "ID" AddOriginMerdID dispatch' numinputText "MerdNumber" AddMerdNumber dispatch' floatinputText "average Weight" AddAverageWeight dispatch' numinputText "PD" AddPD dispatch' button "save" form SaveOriginMerd (SaveEntry >> dispatch) ] let inputText label msg dispatch = R.textInput[ P.TextInput.OnChangeText ( msg >>...
[ -0.00567626953125, -0.0031890869140625, -0.017822265625, -0.022705078125, 0.00640869140625, -0.0057373046875, 0.00830078125, -0.009521484375, 0.013671875, -0.048583984375, 0.0137939453125, -0.0115966796875, -0.006591796875, 0.01019287109375, 0.00323486328125, -0.00116729736328125, 0....
[ 24129, 7146, 29117, 670, 10384, 73, 30248, 71, 58580, 257, 206, 315, 1249, 7077, 174379, 18444, 26278, 21917, 77490, 8216, 29838, 150533, 814, 12137, 22553, 34427, 77679, 108999, 3173, 64944, 5464, 15123, 107730, 67967, 68163, 177, 627, 22829...
[ 0.242431640625, 0.18603515625, 0.1707763671875, 0.0777587890625, 0.214599609375, 0.09967041015625, 0.2373046875, 0.1668701171875, 0.091064453125, 0.12744140625, 0.07037353515625, 0.043060302734375, 0.05078125, 0.07568359375, 0.219482421875, 0.1212158203125, 0.0638427734375, 0.08276...
embed
32023171_c1
32023171
fsharp
1
, Bob/Joyce, Christopher (I)/Sorich, Michael/Hustin, Matthew/Lemay, Lewis/Thornton, Kirk/Nakamura, Tatsuhiko/Staley, Steve (II)/Grant, Dougary/McConnohie, Michael/Pinkham, Guy/Kishino, Yukimasa/Ishida, Tarô/Umezu, Hideyuki/Osborne, Jonathan C./Iwata, Mitsuo/Tanaka, Kazumi/Stellrecht, Skip/Kamifuji, Kazuhiro/Spellos, Pe...
, Bob/Joyce, Christopher (I)/Sorich, Michael/Hustin, Matthew/Lemay, Lewis/Thornton, Kirk/Nakamura, Tatsuhiko/Staley, Steve (II)/Grant, Dougary/McConnohie, Michael/Pinkham, Guy/Kishino, Yukimasa/Ishida, Tarô/Umezu, Hideyuki/Osborne, Jonathan C./Iwata, Mitsuo/Tanaka, Kazumi/Stellrecht, Skip/Kamifuji, Kazuhiro/Spellos, Pe...
[ -0.005615234375, 0.0140380859375, 0.0140380859375, 0.033447265625, 0.00860595703125, 0.00421142578125, -0.0179443359375, 0.000339508056640625, -0.00506591796875, 0.02392578125, -0.037109375, -0.020751953125, 0.00732421875, -0.002777099609375, -0.0186767578125, 0.01220703125, -0.00370...
[ 6, 4, 25027, 64, 16604, 53, 329, 114411, 15, 568, 16, 8912, 26932, 11617, 30513, 12729, 115136, 11354, 77330, 51716, 1507, 70605, 4645, 54184, 1218, 17750, 92115, 42378, 4293, 41550, 10001, 15212, 40641, 1970, 594, 11935, 157, 979, 14068, ...
[ 0.0958251953125, 0.0921630859375, 0.2166748046875, 0.129638671875, 0.1488037109375, 0.09393310546875, 0.1561279296875, 0.2225341796875, 0.009521484375, 0.127685546875, 0.00567626953125, 0.07196044921875, 0.1839599609375, 0.187255859375, 0.054229736328125, 0.1783447265625, 0.193725585...
embed
33147688_c0
33147688
fsharp
0
Title: Building flat quoted lambda Problem title: Building flat quoted lambda Tags: quotations, f%23 Problem: Building flat quoted lambda I'm using quotations in F# to build a function which checks whether a single input satisfies any of a number of cases. That is, a function whos body is something like ... || ... || ....
Building flat quoted lambda Building flat quoted lambda quotations f%23 Building Array.fold Expr Lambda IfThenElse Application _arg1 Value Call None op_Equality Building flat quoted lambda I'm using quotations in F# to build a function which checks whether a single input satisfies any of a number of cases. That is, a f...
[ 0.006195068359375, 0.018310546875, -0.0005340576171875, -0.0194091796875, 0.0126953125, -0.003265380859375, 0.0150146484375, -0.0001373291015625, 0.0032196044921875, -0.0274658203125, -0.006927490234375, -0.0026397705078125, -0.005706787109375, -0.00124359130859375, 0.01806640625, 0.00...
[ 104919, 49878, 66747, 71, 21, 6492, 85, 81732, 5256, 1238, 3742, 69253, 53, 42822, 60075, 122930, 4263, 3957, 7623, 104921, 61477, 418, 190060, 26265, 233, 647, 161789, 17368, 563, 4904, 45367, 32354, 12765, 36766, 11001, 107730, 40407, 14012...
[ 0.2265625, 0.272216796875, 0.19189453125, 0.02569580078125, 0.03314208984375, 0.14404296875, 0.099853515625, 0.205322265625, 0.1290283203125, 0.012725830078125, 0.0972900390625, 0.03729248046875, 0.0275115966796875, 0.131591796875, 0.037445068359375, 0.151611328125, 0.03515625, 0.0...
embed
33274107_c0
33274107
fsharp
0
Title: Remove a single element from an array Problem title: Remove a single element from an array Tags: f%23 Problem: Remove a single element from an array I've been at this for a few hours now, looking though every website and piece of documentation I could. I can't figure out how to remove one, and only one element (...
Remove a single element from an array Remove a single element from an array f%23 an Remove gs.inventory Array.append Remove a single element from an array I've been at this for a few hours now, looking though every website and piece of documentation I could. I can't figure out how to remove one, and only one element (I...
[ -0.0172119140625, 0.028076171875, -0.007781982421875, 0.0018157958984375, -0.00665283203125, -0.00738525390625, -0.00170135498046875, 0.006622314453125, 0.007293701171875, -0.00153350830078125, 0.0206298828125, 0.008056640625, -0.01220703125, 0.00738525390625, 0.004364013671875, 0.0058...
[ 181139, 11001, 12830, 1295, 10298, 53, 142, 1238, 3949, 3742, 706, 7, 132894, 30675, 69253, 9007, 3611, 21974, 4165, 209806, 26366, 3642, 87388, 1632, 136, 4734, 79315, 120260, 2499, 171763, 36322, 7413, 3917, 115839, 2955, 60744, 54397, 3059...
[ 0.2119140625, 0.2431640625, 0.234130859375, 0.1612548828125, 0.2222900390625, 0.156494140625, 0.03094482421875, 0.0546875, 0.0494384765625, 0.1339111328125, 0.0732421875, 0.072509765625, 0.162841796875, 0.106689453125, 0.19140625, 0.03369140625, 0.03179931640625, 0.0667724609375, ...
embed
43126144_c0
43126144
fsharp
0
Title: I can&#x27;t figure out this F# error message Problem title: I can&#x27;t figure out this F# error message Tags: compiler-errors, f%23 Problem: I can't figure out this F# error message The error messages generated by the F# compiler are sometimes confusing. For example: open Deedle let inds = [1; 2; 6; 8; 11; 12...
I can&#x27;t figure out this F# error message I can&#x27;t figure out this F# error message compiler-errors f%23 Deedle Series Seq.min s.Values Seq.max Series.groupInto FS0001 Type Expecting I can't figure out this F# error message The error messages generated by the F# compiler are sometimes confusing. For example: I ...
[ 0.01806640625, 0.01007080078125, -0.002685546875, 0.007080078125, -0.006011962890625, 0.017578125, -0.005645751953125, 0.000308990478515625, 0.0036468505859375, 0.02880859375, -0.005828857421875, 0.0020904541015625, -0.000152587890625, -0.003936767578125, 0.009033203125, 0.011108398437...
[ 87, 831, 3768, 18, 26366, 1810, 903, 563, 4904, 18499, 26008, 9969, 34759, 188800, 1238, 3742, 262, 297, 133, 64876, 503, 864, 1249, 91, 42272, 21049, 24084, 51588, 188, 93774, 188735, 60457, 60075, 24762, 89914, 139392, 68018, 55681, 6953,...
[ 0.0269927978515625, 0.0848388671875, 0.0679931640625, 0.08154296875, 0.1219482421875, 0.087646484375, 0.0787353515625, 0.135009765625, 0.2200927734375, 0.16845703125, 0.0936279296875, 0.1593017578125, 0.141357421875, 0.2008056640625, 0.07098388671875, 0.1053466796875, 0.109375, 0.1...
embed
58227351_c0
58227351
fsharp
0
Title: FSharp Charting on Deedle series how to plot two series into one chart Problem title: FSharp Charting on Deedle series how to plot two series into one chart Tags: fsharpchart, deedle, f%23 Problem: FSharp Charting on Deedle series how to plot two series into one chart I have following F# script code: #load "pack...
FSharp Charting on Deedle series how to plot two series into one chart FSharp Charting on Deedle series how to plot two series into one chart fsharpchart deedle f%23 FSharp Charting Deedle FsLab.1.1.6 FsLab.fsx FSharp.Charting.2.1.0 FSharp.Charting.fsx FSharp.Data FSharp.Charting Deedle.Series Chart.Combine Chart.Line ...
[ -0.00086212158203125, 0.02294921875, 0.0057373046875, 0.0234375, -0.0108642578125, 0.005645751953125, 0.006072998046875, -0.01324462890625, 0.00653076171875, 0.012451171875, -0.0111083984375, 0.006561279296875, 0.003082275390625, 0.00026702880859375, -0.0016021728515625, 0.020141601562...
[ 93774, 3467, 254, 110373, 214, 98, 262, 297, 133, 36549, 23577, 6626, 3934, 1632, 116287, 1238, 89280, 9254, 8, 3742, 97381, 122336, 425, 84068, 1916, 138724, 46187, 93232, 2676, 153335, 64876, 141331, 13527, 14773, 144053, 25632, 563, 4904, ...
[ 0.1195068359375, 0.1358642578125, 0.12451171875, 0.1773681640625, 0.03265380859375, 0.0350341796875, 0.1063232421875, 0.139404296875, 0.1624755859375, 0.1849365234375, 0.1937255859375, 0.1710205078125, 0.138427734375, 0.1341552734375, 0.2030029296875, 0.031402587890625, 0.09204101562...
embed
14584083_c0
14584083
fsharp
0
Title: Cannot check for null values in sql database Problem title: Cannot check for null values in sql database Tags: sql-server, f%23, sql Problem: Cannot check for null values in sql database Using the F# query syntax I'm trying to get all the records where a certain field is not null, but I can't seem to figure out ...
Cannot check for null values in sql database Cannot check for null values in sql database sql-server f%23 sql Cannot dc.Table h.SectorId Nullable Guid System.Nullable Region Parameters DECLARE UniqueIdentifier EndRegion SELECT Name SectorId Blah Meh DisplayOrder Table WHERE Cannot check for null values in sql database ...
[ 0.005889892578125, -0.00003218650817871094, 0.0101318359375, 0.0037841796875, -0.0302734375, -0.00174713134765625, 0.0054931640625, -0.0224609375, -0.01348876953125, 0.0115966796875, -0.000545501708984375, -0.0022125244140625, -0.0126953125, 0.0062255859375, 0, -0.0023345947265625, -...
[ 4171, 10869, 12765, 100, 56574, 142424, 23, 91, 99247, 63399, 39642, 1238, 3742, 618, 2886, 1096, 4233, 18770, 27786, 2661, 6955, 532, 12353, 839, 20446, 16843, 29089, 11789, 37379, 85789, 18878, 54601, 144832, 100706, 1566, 30191, 90045, 143...
[ 0.015960693359375, 0.12451171875, 0.2115478515625, 0.09259033203125, 0.25390625, 0.197021484375, 0.03564453125, 0.023590087890625, 0.1961669921875, 0.1671142578125, 0.068115234375, 0.047760009765625, 0.10272216796875, 0.0269012451171875, 0.093017578125, 0.0531005859375, 0.01983642578...
embed
31877649_c0
31877649
fsharp
0
Title: F# multi-condition if/else versus matching Problem title: F# multi-condition if/else versus matching Tags: functional-programming, f%23 Problem: F# multi-condition if/else versus matching I'm new to F# and have been implementing simple algorithms to learn the language constructs. I implemented the bisection meth...
F# multi-condition if/else versus matching F# multi-condition if/else versus matching functional-programming f%23 new_count F# multi-condition if/else versus matching I'm new to F# and have been implementing simple algorithms to learn the language constructs. I implemented the bisection method using if/else and then wa...
[ -0.0198974609375, 0.00665283203125, 0.0166015625, 0.015869140625, -0.005584716796875, 0.00049591064453125, -0.01416015625, -0.0152587890625, 0.0015716552734375, 0.0263671875, 0.015869140625, 0.00872802734375, -0.0140380859375, -0.00958251953125, 0.01361083984375, -0.00787353515625, 0...
[ 563, 4904, 6024, 126940, 2174, 64, 5557, 119475, 14858, 214, 123309, 28966, 1238, 3742, 3525, 71013, 234873, 46876, 64549, 29479, 2464, 58994, 55300, 17368, 10, 876, 1071, 108642, 140443, 22304, 10644, 18499, 34739, 11001, 171859, 124962, 12765...
[ 0.15771484375, 0.234619140625, 0.1806640625, 0.246826171875, 0.1798095703125, 0.1246337890625, 0.1982421875, 0.140869140625, 0.271728515625, 0.176513671875, 0.19677734375, 0.10089111328125, 0.094970703125, 0.013763427734375, 0.07171630859375, 0.1337890625, 0.0809326171875, 0.086547...
embed
61368307_c0
61368307
fsharp
0
Title: Create a list of custom type in F# and create two sequences of that list Problem title: Create a list of custom type in F# and create two sequences of that list Tags: functional-programming, arrays, f%23-interactive, f%23, list Problem: Create a list of custom type in F# and create two sequences of that list I h...
Create a list of custom type in F# and create two sequences of that list Create a list of custom type in F# and create two sequences of that list functional-programming arrays f%23-interactive f%23 list Create Account AccountNumber Balance:float acc1 acc1.Insert John acc2 acc2.Insert Mike AccountList acc3 acc4 acc5 acc...
[ 0.0245361328125, 0.0081787109375, -0.0146484375, 0.0101318359375, -0.01324462890625, 0.01953125, 0.0004177093505859375, 0.03173828125, 0.01336669921875, 0.01409912109375, 0.017333984375, -0.009521484375, -0.00445556640625, 0.0009613037109375, 0.00982666015625, 0.004638671875, 0.02258...
[ 151313, 5303, 114122, 10644, 563, 4904, 28282, 6626, 40, 26513, 5170, 23, 123309, 28966, 10298, 1238, 27495, 10433, 3949, 3742, 61417, 18444, 26278, 131176, 52347, 257, 50015, 33657, 4939, 41576, 154663, 910, 75935, 10002, 36746, 12638, 15426, ...
[ 0.1209716796875, 0.2255859375, 0.21044921875, 0.2166748046875, 0.14501953125, 0.2242431640625, 0.151611328125, 0.1131591796875, 0.027191162109375, 0.1400146484375, 0.054656982421875, 0.0289306640625, 0.10101318359375, 0.06768798828125, 0.04937744140625, 0.041473388671875, 0.034851074...
embed
4187375_c0
4187375
fsharp
0
Title: Can fsi run with the 4.0 runtime on MAC OS and if so how do I configure it Problem title: Can fsi run with the 4.0 runtime on MAC OS and if so how do I configure it Tags: macos, f%23, f%23-interactive Problem: Can fsi run with the 4.0 runtime on MAC OS and if so how do I configure it Kinda self explanatory... I ...
Can fsi run with the 4.0 runtime on MAC OS and if so how do I configure it Can fsi run with the 4.0 runtime on MAC OS and if so how do I configure it macos f%23 f%23-interactive Can MAC System.Numerics System Complex c.Real c.Imaginary MandelbrotResult DidNotEscape Escaped Console.Write Console.WriteLine Can fsi run wi...
[ -0.019775390625, 0.0130615234375, 0.0034942626953125, -0.0012359619140625, -0.0022125244140625, 0.003265380859375, 0.0179443359375, 0.0155029296875, -0.00135040283203125, -0.017822265625, -0.006134033203125, -0.002777099609375, -0.00909423828125, -0.0172119140625, 0.029296875, -0.01495...
[ 4171, 1238, 172, 11675, 678, 40401, 6032, 98, 78826, 11787, 222495, 291, 7840, 3742, 27495, 10433, 12353, 18444, 1991, 28021, 113197, 68996, 192, 14985, 1572, 1743, 6369, 18, 7, 7136, 122116, 98224, 181540, 40777, 18781, 93232, 96551, 18499, ...
[ 0.130859375, 0.1497802734375, 0.220703125, 0.116455078125, 0.11865234375, 0.284423828125, 0.084716796875, 0.03631591796875, 0.159912109375, 0.128173828125, 0.177978515625, 0.032928466796875, 0.08642578125, 0.1016845703125, 0.0304412841796875, 0.07952880859375, 0.08056640625, 0.0373...
embed
11208325_c0
11208325
fsharp
0
Title: Error in pattern matching with LazyList in F# Problem title: Error in pattern matching with LazyList in F# Tags: pattern-matching, lazy-evaluation, f%23 Problem: Error in pattern matching with LazyList in F# Trying to merge two LazyLists in F# after this question on SO. Originally wrote for matching two Lists. M...
Error in pattern matching with LazyList in F# Error in pattern matching with LazyList in F# pattern-matching lazy-evaluation f%23 Error LazyList l1:LazyList l2:LazyList LazyList.isEmpty LazyList.Cons LazyList.empty Error in pattern matching with LazyList in F# Trying to merge two LazyLists in F# after this question on ...
[ -0.013671875, 0.003326416015625, 0.00634765625, -0.02392578125, 0.00860595703125, -0.00543212890625, -0.0277099609375, -0.0072021484375, -0.0004634857177734375, 0.020751953125, 0.028076171875, 0.01068115234375, 0.0146484375, -0.006195068359375, 0.00848388671875, -0.002593994140625, 0...
[ 212059, 103510, 14858, 214, 678, 239, 3285, 154663, 563, 4904, 23, 98753, 21, 159258, 3742, 96, 82825, 2729, 304, 134332, 939, 11935, 33548, 40858, 42564, 6626, 15969, 32036, 2967, 68772, 110, 140992, 27289, 214521, 78292, 58745, 454, 28412, ...
[ 0.1507568359375, 0.19873046875, 0.196533203125, 0.06591796875, 0.1002197265625, 0.1241455078125, 0.17236328125, 0.2296142578125, 0.13037109375, 0.1884765625, 0.01068115234375, 0.1571044921875, 0.0982666015625, 0.1248779296875, 0.0357666015625, 0.033599853515625, 0.034515380859375, ...
embed
27804367_c0
27804367
fsharp
0
Title: Constructing and deconstructing records Problem title: Constructing and deconstructing records Tags: f%23 Problem: Constructing and deconstructing records The msdn page documenting Records (F#) details record expressions for record construction and record patterns for deconstruction, the latter without naming th...
Constructing and deconstructing records Constructing and deconstructing records f%23 a Constructing Simple a.U b.U a.V b.V Constructing and deconstructing records The msdn page documenting Records (F#) details record expressions for record construction and record patterns for deconstruction, the latter without naming t...
[ -0.00531005859375, 0.000583648681640625, 0.004180908203125, 0.0146484375, 0.00567626953125, -0.00830078125, -0.0228271484375, 0.0037384033203125, 0.00909423828125, -0.00848388671875, 0.013671875, -0.0006256103515625, 0.0213623046875, -0.00046539306640625, 0, -0.025390625, -0.00317382...
[ 1657, 36716, 136, 8, 2271, 115923, 214, 1238, 3949, 3742, 60552, 10, 1062, 876, 856, 68163, 71, 19, 9191, 12937, 89916, 919, 4904, 41653, 17164, 125195, 50961, 103510, 238478, 15490, 147453, 27781, 4527, 15044, 53088, 8962, 282, 39933, 1351...
[ 0.06805419921875, 0.1900634765625, 0.1075439453125, 0.1717529296875, 0.10888671875, 0.23388671875, 0.00335693359375, 0.0250396728515625, 0.0098876953125, 0.073486328125, 0.127197265625, 0.013519287109375, 0.08184814453125, 0.0125732421875, 0.1146240234375, 0.0374755859375, 0.03005981...
embed
49507597_c0
49507597
fsharp
0
Title: Elmish dispatch on Fable React stateful component Problem title: Elmish dispatch on Fable React stateful component Tags: fable-f%23, f%23, elmish Problem: Elmish dispatch on Fable React stateful component I need to use Fable-React stateful component with elmish dispatch. I can not figure out how to create it. I ...
Elmish dispatch on Fable React stateful component Elmish dispatch on Fable React stateful component fable-f%23 f%23 elmish Elmish Fable React Home.Types Pojo Model Documentation Component Documentation.Types.Model this.componentWillMount RequestProcessDocumentation this.render Fable.Core.JsInterop this.props.isLoading....
[ -0.00732421875, 0.00848388671875, 0.0037078857421875, -0.029296875, -0.0029144287109375, 0.01239013671875, -0.01190185546875, -0.007476806640625, 0.0040283203125, -0.04150390625, 0.00970458984375, -0.015380859375, 0.0103759765625, 0.02001953125, 0.0033416748046875, -0.026611328125, 0...
[ 540, 78192, 58580, 257, 206, 563, 2886, 853, 47013, 11341, 7844, 82761, 1071, 2661, 3742, 88, 2005, 196707, 663, 513, 13293, 43101, 54137, 140290, 903, 9109, 75616, 239469, 18280, 50886, 1375, 36290, 71713, 181671, 21138, 100474, 148920, 3299...
[ 0.1416015625, 0.25341796875, 0.119384765625, 0.14501953125, 0.09051513671875, 0.110107421875, 0.124755859375, 0.061279296875, 0.1845703125, 0.16259765625, 0.1456298828125, 0.221923828125, 0.05548095703125, 0.064208984375, 0.0533447265625, 0.10394287109375, 0.063232421875, 0.2489013...
embed
23375469_c0
23375469
fsharp
0
Title: How can I build an arbitary curried function in an F# type provider? Problem title: How can I build an arbitary curried function in an F# type provider? Tags: type-providers, f%23, currying Problem: How can I build an arbitary curried function in an F# type provider? In trying to get type providers to generate m...
How can I build an arbitary curried function in an F# type provider? How can I build an arbitary curried function in an F# type provider? type-providers f%23 currying How int2 inner.GetType ProvidedProperty innerType.GenericTypeArguments IsStatic GetterCode inner.Raw Quotations.Expr FString FInt Other End How can I bui...
[ 0.003631591796875, 0.002716064453125, 0.016357421875, -0.006744384765625, -0.00286865234375, 0.00147247314453125, 0.0126953125, -0.012451171875, 0.01068115234375, -0.0238037109375, 0.0159912109375, -0.027099609375, -0.01007080078125, -0.01806640625, 0.01214599609375, -0.001670837402343...
[ 11249, 831, 45367, 187, 3137, 6635, 9709, 46572, 32354, 563, 4904, 10644, 81450, 23, 93136, 14202, 1238, 3742, 198555, 214, 18, 304, 75414, 126, 196707, 123089, 1264, 1234, 2071, 135206, 2206, 3055, 114211, 12248, 434, 43851, 22062, 10287, ...
[ 0.04693603515625, 0.045501708984375, 0.194580078125, 0.040618896484375, 0.1531982421875, 0.1046142578125, 0.1331787109375, 0.213134765625, 0.190185546875, 0.0869140625, 0.189453125, 0.1800537109375, 0.2186279296875, 0.049713134765625, 0.1319580078125, 0.048004150390625, 0.04373168945...
embed
35822772_c0
35822772
fsharp
0
Title: Compile error for Kleisli composition Problem title: Compile error for Kleisli composition Tags: f%23 Problem: Compile error for Kleisli composition I have a validation module copied from Railway oriented programming that performs error handling in my application: type ErrorMessage = ErrorMessage of string type ...
Compile error for Kleisli composition Compile error for Kleisli composition f%23 Compile Kleisli ErrorMessage ValidationResult Success Error validation1 List.length Length validation2 List.forall All Compile error for Kleisli composition I have a validation module copied from Railway oriented programming that performs ...
[ -0.0277099609375, 0.0255126953125, 0.0252685546875, 0.0081787109375, -0.0023651123046875, 0.019775390625, -0.00994873046875, 0.002349853515625, -0.0004558563232421875, -0.00250244140625, -0.0101318359375, 0.0137939453125, 0.0223388671875, 0.011474609375, -0.0174560546875, -0.0062866210...
[ 15612, 1340, 18499, 100, 24798, 164, 150, 166577, 1238, 3949, 3742, 212059, 6011, 25447, 85, 7, 7136, 144053, 44622, 32036, 304, 88996, 71200, 85736, 7514, 23509, 56037, 45064, 38415, 134234, 25632, 3034, 32354, 100094, 418, 136, 5608, 150350...
[ 0.1943359375, 0.2095947265625, 0.2208251953125, 0.0269927978515625, 0.173828125, 0.1619873046875, 0.241943359375, 0.2330322265625, 0.0518798828125, 0.0740966796875, 0.15283203125, 0.181396484375, 0.037689208984375, 0.1292724609375, 0.0902099609375, 0.08447265625, 0.10736083984375, ...
embed
17381799_c0
17381799
fsharp
0
Title: Handling WebExceptions properly? Problem title: Handling WebExceptions properly? Tags: functional-programming, purely-functional, f%23 Problem: Handling WebExceptions properly? I have the following F# program that retrieves a webpage from the internet: open System.Net [<EntryPoint>] let main argv = let mutable p...
Handling WebExceptions properly? Handling WebExceptions properly? functional-programming purely-functional f%23 System.Net.WebException Handling WebExceptions System.Net EntryPoint www.badaddress.xyz WebClient wc.DownloadData Web err.Message Unknown exn.Message Handling WebExceptions properly? I have the following F# p...
[ -0.002044677734375, 0.0159912109375, -0.0001983642578125, -0.033447265625, 0.0269775390625, 0.0166015625, -0.007720947265625, -0.0126953125, 0.007598876953125, -0.0361328125, 0.01416015625, -0.005096435546875, -0.0146484375, 0.00142669677734375, 0.0264892578125, -0.003875732421875, 0...
[ 193237, 4002, 19279, 63928, 7, 155965, 123309, 28966, 34166, 137175, 1238, 3742, 12353, 24447, 30474, 357, 15123, 147534, 1426, 29261, 107421, 50878, 150, 92922, 144786, 137989, 72, 42, 6011, 69723, 1119, 19, 25632, 563, 4904, 1528, 456, 9735...
[ 0.2421875, 0.173828125, 0.1734619140625, 0.269287109375, 0.1015625, 0.1925048828125, 0.178955078125, 0.105224609375, 0.01702880859375, 0.1077880859375, 0.0255584716796875, 0.08502197265625, 0.059417724609375, 0.0784912109375, 0.1407470703125, 0.00421142578125, 0.16650390625, 0.1145...
embed
65416203_c1
65416203
fsharp
1
. so do you have any idea how i should fix this issue or how can i improve the structure of what i have or maybe you have a solution that does not require to change the structure ? the code below is what i have until now and u can use this code to see how the game works in the GUI maybe that give you some ideas how to ...
. so do you have any idea how i should fix this issue or how can i improve the structure of what i have or maybe you have a solution that does not require to change the structure ? the code below is what i have until now and u can use this code to see how the game works in the GUI maybe that give you some ideas how to ...
[ -0.0042724609375, 0.00689697265625, 0.007720947265625, -0.0166015625, 0.0267333984375, -0.015380859375, 0.0152587890625, 0.010498046875, 0.02587890625, -0.028564453125, 0.0062255859375, -0.0172119140625, -0.0034027099609375, -0.003692626953125, 0.00372314453125, -0.0146484375, 0.0080...
[ 6, 5, 221, 54, 398, 765, 2499, 6528, 3642, 17, 5608, 30022, 903, 31089, 707, 831, 52295, 70, 45646, 111, 2367, 51139, 29806, 959, 64209, 15549, 705, 18151, 35064, 83, 24189, 5036, 75, 1957, 6712, 43240, 23, 195490, 25647, 47, 86869, 2...
[ 0.116455078125, 0.11865234375, 0.047698974609375, 0.04364013671875, 0.050201416015625, 0.173095703125, 0.0261383056640625, 0.1279296875, 0.08154296875, 0.1170654296875, 0.08221435546875, 0.182861328125, 0.140625, 0.174072265625, 0.02880859375, 0.035125732421875, 0.159423828125, 0.1...
embed
16834405_c1
16834405
fsharp
1
query via the ServiceStack json web service: http://myserver.com/redis/json/syncreply/GetAllItemsFromList?id=test This is a Redis List collection containing strongly typed items: type TestItem( gr,eType,pillar,offset) = let mutable _gr = gr let mutable _eType = eType let mutable _pillar = pillar let mutable _offset = ...
query via the ServiceStack json web service: http://myserver.com/redis/json/syncreply/GetAllItemsFromList?id=test This is a Redis List collection containing strongly typed items: type TestItem( gr,eType,pillar,offset) = let mutable _gr = gr let mutable _eType = eType let mutable _pillar = pillar let mutable _offset = ...
[ -0.0322265625, 0.01141357421875, -0.0052490234375, 0.005889892578125, 0.00567626953125, 0.0014190673828125, -0.0211181640625, 0.002471923828125, 0.0115966796875, -0.00167083740234375, 0.019775390625, 0.0025177001953125, 0.009033203125, -0.00567626953125, -0.0012359619140625, 0.01904296...
[ 41, 1294, 1829, 12349, 42378, 2594, 1647, 1681, 1467, 4516, 1176, 39642, 107, 3827, 170, 12654, 7612, 62479, 724, 126, 43512, 2982, 168407, 154663, 6954, 3293, 6096, 164, 32036, 42486, 70541, 37515, 10644, 55769, 8647, 4452, 13, 196707, 597...
[ 0.1282958984375, 0.1258544921875, 0.091064453125, 0.1468505859375, 0.1436767578125, 0.1671142578125, 0.10614013671875, 0.1968994140625, 0.09149169921875, 0.13330078125, 0.0826416015625, 0.171875, 0.087158203125, 0.1903076171875, 0.07568359375, 0.05780029296875, 0.048065185546875, 0...
embed
77144830_c0
77144830
fsharp
0
Title: How can I combine a rotation and drawing function to draw a circular spoke pattern? Problem title: How can I combine a rotation and drawing function to draw a circular spoke pattern? Tags: f%23, graphics Problem: How can I combine a rotation and drawing function to draw a circular spoke pattern? My assignment: U...
How can I combine a rotation and drawing function to draw a circular spoke pattern? How can I combine a rotation and drawing function to draw a circular spoke pattern? f%23 graphics How v1:vec k:float nuget:DIKU.Canvas Canvas Color v10 PrimitiveTree Vector How can I combine a rotation and drawing function to draw a cir...
[ -0.0400390625, 0.0135498046875, 0.01165771484375, -0.013916015625, -0.0155029296875, -0.009521484375, -0.01025390625, -0.00677490234375, -0.01165771484375, -0.01123046875, -0.010009765625, 0.001861572265625, -0.002166748046875, -0.01953125, -0.00860595703125, 0.0264892578125, 0.00689...
[ 11249, 831, 87, 70163, 2062, 22062, 136, 188304, 32354, 79442, 115339, 113091, 103510, 1238, 3742, 48461, 81, 82825, 35259, 472, 52347, 315, 3794, 397, 70568, 54694, 4079, 4171, 51193, 963, 44506, 4935, 62731, 2609, 18770, 47, 95486, 34475, ...
[ 0.08709716796875, 0.0731201171875, 0.0108642578125, 0.219482421875, 0.16064453125, 0.165771484375, 0.1351318359375, 0.2091064453125, 0.166015625, 0.18603515625, 0.214111328125, 0.277587890625, 0.2357177734375, 0.0229949951171875, 0.0699462890625, 0.1680908203125, 0.05126953125, 0.0...
embed
59667046_c1
59667046
fsharp
1
loopgo <- 0 while (zx * zx + zy * zy <= 4. && loopgo < loopmax) do loopgo <- loopgo + 1 tempzx <- zx zx <- (zx * zx) - (zy * zy) + cx zy <- (2. * tempzx * zy) + cy (List.append outputList [loopgo]) |> ignore outputList And here's my version with the recursive mbCalc function doing the work: let mandelbrotSetRec (xp : ...
loopgo <- 0 while (zx * zx + zy * zy <= 4. && loopgo < loopmax) do loopgo <- loopgo + 1 tempzx <- zx zx <- (zx * zx) - (zy * zy) + cx zy <- (2. * tempzx * zy) + cy (List.append outputList [loopgo]) |> ignore outputList And here's my version with the recursive mbCalc function doing the work: let mandelbrotSetRec (xp : ...
[ 0.005615234375, -0.0079345703125, 0.00299072265625, -0.00946044921875, 0.0021820068359375, 0.004180908203125, 0.03857421875, 0.002105712890625, 0.04150390625, 0.0045166015625, 0.01055908203125, 0.004486083984375, 0.0189208984375, -0.018310546875, 0.0181884765625, -0.0089111328125, -0...
[ 40956, 519, 4426, 9, 757, 12960, 169, 425, 97, 997, 53, 1398, 1230, 24084, 54, 106, 20805, 20, 3285, 4700, 19932, 154663, 9007, 3611, 140992, 28354, 124962, 3688, 759, 11389, 195625, 5844, 39369, 94553, 238, 32354, 20594, 4488, 2633, 332,...
[ 0.247314453125, 0.2587890625, 0.0163116455078125, 0.0718994140625, 0.1519775390625, 0.1170654296875, 0.05938720703125, 0.09375, 0.1241455078125, 0.08984375, 0.1077880859375, 0.1895751953125, 0.000244140625, 0.17431640625, 0.009124755859375, 0.0457763671875, 0.153076171875, 0.010833...
embed
37341703_c0
37341703
fsharp
0
Title: Using Gtk# DrawingArea in F#: ExposeEvent not defined Problem title: Using Gtk# DrawingArea in F#: ExposeEvent not defined Tags: f%23, gtk%23 Problem: Using Gtk# DrawingArea in F#: ExposeEvent not defined setup: mono 4.5, linux, f# 4.0, gtk# Here's my code, mostly copied from sample snippets: open System open Gt...
Using Gtk# DrawingArea in F#: ExposeEvent not defined Using Gtk# DrawingArea in F#: ExposeEvent not defined f%23 gtk%23 Using Gtk DrawingArea ExposeEvent System EntryPoint Application.Init Window window.SetDefaultSize window.DeleteEvent.Add window.Hide Application.Quit e.RetVal Gtk.DrawingArea drawing.ExposeEvent.Add d...
[ -0.0076904296875, 0.01080322265625, 0.013427734375, -0.00921630859375, -0.0040283203125, 0.007598876953125, 0.01348876953125, -0.00787353515625, -0.004791259765625, -0.01171875, 0.007232666015625, -0.036865234375, 0.006072998046875, 0.004547119140625, -0.004638671875, -0.016357421875, ...
[ 527, 31472, 4904, 18186, 14775, 284, 1283, 563, 45434, 184, 192134, 959, 61924, 345, 23, 1238, 3742, 706, 12353, 15123, 147534, 104921, 176501, 76896, 126, 187423, 11, 127167, 4657, 46485, 4028, 841, 42272, 188304, 19279, 78381, 209480, 63473...
[ 0.07635498046875, 0.2056884765625, 0.23828125, 0.11865234375, 0.12548828125, 0.0618896484375, 0.1632080078125, 0.1273193359375, 0.199951171875, 0.144775390625, 0.259033203125, 0.08831787109375, 0.181640625, 0.0251007080078125, 0.018951416015625, 0.052337646484375, 0.10693359375, 0....
embed
12556814_c1
12556814
fsharp
1
the repeated use of Option.bind is very irritating... and is adding noise. I need a more clearer way to check if the output was None and if not then proceed. At the end there should be a cleanupfunction where I should be able to close + dispose the reader, command and connection. But currently at the end of the pipeli...
the repeated use of Option.bind is very irritating... and is adding noise. I need a more clearer way to check if the output was None and if not then proceed. At the end there should be a cleanupfunction where I should be able to close + dispose the reader, command and connection. But currently at the end of the pipeli...
[ -0.0263671875, 0.021484375, 0.0024261474609375, 0.0034942626953125, -0.003936767578125, -0.006744384765625, 0.0198974609375, -0.053466796875, -0.006378173828125, -0.01019287109375, 0.00201416015625, 0.000942230224609375, 0.0030364990234375, 0.00112152099609375, 0.005706787109375, -0.01...
[ 119140, 297, 4527, 86769, 5, 89817, 4552, 72405, 1916, 154107, 110, 3075, 1286, 34735, 56, 12765, 2174, 140992, 509, 438, 86, 172337, 3564, 46622, 2037, 137175, 20903, 60458, 155255, 75101, 94878, 82424, 137158, 2256, 756, 765, 32354, 171859,...
[ 0.1295166015625, 0.0307769775390625, 0.0888671875, 0.255615234375, 0.0140228271484375, 0.255126953125, 0.054931640625, 0.11474609375, 0.0745849609375, 0.1651611328125, 0.034912109375, 0.09814453125, 0.0197296142578125, 0.06524658203125, 0.00677490234375, 0.1573486328125, 0.0324707031...
embed
16770148_c0
16770148
fsharp
0
Title: Helping getting beginning TryFSharp &quot;Records and option types&quot; Tutorial to work Problem title: Helping getting beginning TryFSharp &quot;Records and option types&quot; Tutorial to work Tags: f%23 Problem: Helping getting beginning TryFSharp "Records and option types" Tutorial to work I just started stu...
Helping getting beginning TryFSharp &quot;Records and option types&quot; Tutorial to work Helping getting beginning TryFSharp &quot;Records and option types&quot; Tutorial to work f%23 Helping TryFSharp Records Tutorial Book Name AuthorName Rating ISBN Expert Don Syme Adam Granicz Antonio Cisternino None book.Rating So...
[ 0.0167236328125, 0.01214599609375, 0.01953125, 0.0028839111328125, -0.00860595703125, -0.00628662109375, -0.024658203125, -0.00689697265625, -0.001220703125, -0.0089111328125, 0.007659912109375, 0.002593994140625, -0.002716064453125, -0.007110595703125, 0.0181884765625, 0.0076599121093...
[ 39527, 214, 20949, 86595, 40858, 36381, 3467, 254, 4332, 32271, 136, 35829, 52895, 183447, 4488, 89916, 27432, 61804, 66350, 47475, 70523, 4843, 282, 16173, 14091, 14, 1863, 23643, 2079, 48850, 4043, 12877, 12248, 1916, 31384, 93774, 188735, ...
[ 0.135498046875, 0.079833984375, 0.0662841796875, 0.1075439453125, 0.2115478515625, 0.033935546875, 0.1339111328125, 0.1446533203125, 0.037811279296875, 0.1727294921875, 0.08349609375, 0.218505859375, 0.1959228515625, 0.18310546875, 0.0987548828125, 0.17138671875, 0.10498046875, 0.0...
embed
587551_c0
587551
fsharp
0
Title: Multiple parameters to methods in F# Problem title: Multiple parameters to methods in F# Tags: f%23 Problem: Multiple parameters to methods in F# I've got a class written in F# that I'm consuming in C#, that defines a method Render : member this.Render template (context: IContext) = let tokens = Lexer.tokenize t...
Multiple parameters to methods in F# Multiple parameters to methods in F# f%23 Multiple Render this.Render IContext Lexer.tokenize DefaultParser _filters StringBuilder parser.Parse None resp.Append node.render resp.ToString template:string FastFunc Multiple parameters to methods in F# I've got a class written in F# tha...
[ 0.00023555755615234375, 0.0026702880859375, 0.00775146484375, 0.0177001953125, -0.0289306640625, -0.0033111572265625, -0.00167083740234375, -0.01519775390625, 0.0162353515625, -0.0291748046875, -0.0206298828125, -0.00078582763671875, 0.0086669921875, 0.0169677734375, -0.0033721923828125,...
[ 19335, 8705, 171859, 7, 47, 150624, 563, 4904, 23, 1238, 3949, 3742, 63137, 56, 903, 1052, 23894, 87, 11935, 22829, 99078, 6448, 33, 1021, 28636, 2189, 120337, 23351, 121137, 110, 18280, 42, 27582, 7763, 71713, 110934, 91693, 25290, 97249, ...
[ 0.1805419921875, 0.131591796875, 0.261962890625, 0.029937744140625, 0.125, 0.2303466796875, 0.1436767578125, 0.2269287109375, 0.042724609375, 0.0628662109375, 0.011749267578125, 0.107666015625, 0.1922607421875, 0.1588134765625, 0.0228729248046875, 0.0604248046875, 0.1463623046875, ...
embed
36086368_c0
36086368
fsharp
0
Title: What&#x27;s an alternative to Seq.iter so that I can return the result of the operation for the last item? Problem title: What&#x27;s an alternative to Seq.iter so that I can return the result of the operation for the last item? Tags: f%23 Problem: What's an alternative to Seq.iter so that I can return the resul...
What&#x27;s an alternative to Seq.iter so that I can return the result of the operation for the last item? What&#x27;s an alternative to Seq.iter so that I can return the result of the operation for the last item? f%23 What Seq.iter Map.toSeq Seq.map grid:Map Cell Map.map cell.X cell.Y State cell.State Seq.last What's ...
[ -0.00080108642578125, 0.01336669921875, 0.0023651123046875, 0.00139617919921875, 0.001953125, -0.0179443359375, 0.000858306884765625, 0.00445556640625, -0.01251220703125, -0.0113525390625, 0.0032196044921875, 0.033203125, -0.005706787109375, 0.0181884765625, 0.0096435546875, 0.01202392...
[ 3768, 30700, 47, 503, 864, 5, 16840, 221, 831, 30646, 16750, 41018, 100, 4568, 35735, 3742, 4865, 42719, 188, 4233, 62346, 120067, 166179, 80743, 38750, 1542, 1723, 22836, 135206, 19777, 142, 25072, 33306, 3444, 17, 8560, 8305, 42486, 13739...
[ 0.07763671875, 0.21923828125, 0.038055419921875, 0.1298828125, 0.2425537109375, 0.05462646484375, 0.291748046875, 0.00146484375, 0.0233001708984375, 0.22705078125, 0.212646484375, 0.1973876953125, 0.04388427734375, 0.211669921875, 0.1773681640625, 0.043548583984375, 0.017425537109375...
embed
76898608_c1
76898608
fsharp
1
-> IsUrl false let validateTypeFields (application: LoanApplication) = match (getValidRequest application.Email), (getValidRequest application.PhoneNumber) with | IsEmail true, IsPhone true -> Valid { Name = application.Name Age = application.Age CreditScore = application.CreditScore Website = application.Website Emai...
-> IsUrl false let validateTypeFields (application: LoanApplication) = match (getValidRequest application.Email), (getValidRequest application.PhoneNumber) with | IsEmail true, IsPhone true -> Valid { Name = application.Name Age = application.Age CreditScore = application.CreditScore Website = application.Website Emai...
[ 0.0012969970703125, -0.002899169921875, 0.005889892578125, 0.0203857421875, -0.01385498046875, -0.01287841796875, -0.00836181640625, -0.03369140625, -0.00170135498046875, 0.0230712890625, 0.01031494140625, 0.004913330078125, 0.0224609375, 0.00506591796875, 0.00830078125, -0.00382995605...
[ 33079, 2071, 48743, 141, 98320, 2633, 44622, 67, 196707, 6159, 19388, 101687, 137474, 47677, 182867, 14858, 3794, 42272, 532, 4332, 75616, 38415, 161994, 163147, 18444, 29568, 25447, 15757, 72944, 284, 429, 68021, 30854, 63784, 7564, 14737, 148...
[ 0.05645751953125, 0.1259765625, 0.172119140625, 0.0794677734375, 0.224853515625, 0.07159423828125, 0.210693359375, 0.071533203125, 0.1734619140625, 0.059173583984375, 0.1717529296875, 0.13427734375, 0.1563720703125, 0.128173828125, 0.16455078125, 0.125732421875, 0.010986328125, 0.1...
embed
31658493_c0
31658493
fsharp
0
Title: Using CSV Type Provider on a directory F# Problem title: Using CSV Type Provider on a directory F# Tags: f%23, directory, file, parsing, csv Problem: Using CSV Type Provider on a directory F# I'm tring to use CSV type provider to store in a sequence the sum of a column in each file in a directory. I'm using the ...
Using CSV Type Provider on a directory F# Using CSV Type Provider on a directory F# f%23 directory file parsing csv Using CSV Type Provider DirectoryInfo SalesReport CsvProvider sales.txt Separators IgnoreErrors dir.GetFiles SalesReport.Load file.FullName salesReport.Rows Seq.map Extended Partner Share Seq.filter Doubl...
[ 0.0218505859375, -0.0023193359375, -0.002349853515625, 0.0284423828125, -0.01458740234375, -0.0029144287109375, 0.0025482177734375, 0.015380859375, -0.00186920166015625, -0.0255126953125, -0.0206298828125, 0.0213623046875, 0.003082275390625, 0.003997802734375, 0.0196533203125, 0.003234...
[ 345, 313, 43486, 60457, 123089, 42, 98, 14364, 53, 563, 4904, 1238, 3742, 11435, 366, 6953, 20763, 334, 31068, 93147, 88583, 56829, 67756, 177997, 62160, 40575, 124326, 6276, 22230, 11137, 31611, 174350, 121962, 864, 62346, 35548, 16424, 2979...
[ 0.08709716796875, 0.090576171875, 0.284912109375, 0.2001953125, 0.2115478515625, 0.1170654296875, 0.0390625, 0.111572265625, 0.056488037109375, 0.09307861328125, 0.1580810546875, 0.03326416015625, 0.1253662109375, 0.1177978515625, 0.0904541015625, 0.015533447265625, 0.1419677734375, ...
embed
38385602_c1
38385602
fsharp
1
| OutOfService | PaymentReceived of Deposit | WaitingForSelection | NotPaidInFull of TransactionAttempt type Product = | Pepsi | Coke | Sprite | MountainDew type RequestResult = | Denied of TransactionAttempt | Granted of Product (* Functions *) open System let display = function | OutOfService -> "Out of Service" | W...
| OutOfService | PaymentReceived of Deposit | WaitingForSelection | NotPaidInFull of TransactionAttempt type Product = | Pepsi | Coke | Sprite | MountainDew type RequestResult = | Denied of TransactionAttempt | Granted of Product (* Functions *) open System let display = function | OutOfService -> "Out of Service" | W...
[ -0.019775390625, 0.00148773193359375, 0.01373291015625, 0.00127410888671875, -0.005706787109375, 0.00138092041015625, -0.0167236328125, -0.010986328125, 0.011474609375, 0.032958984375, 0.0172119140625, 0.0198974609375, -0.03369140625, -0.01025390625, -0.007293701171875, 0.0008964538574...
[ 6, 58745, 13538, 132887, 121979, 17166, 674, 329, 4126, 111, 166386, 175254, 214, 18537, 104475, 58994, 11205, 8335, 532, 4153, 121962, 11062, 44713, 34224, 10644, 73111, 73025, 172, 1311, 350, 49188, 1486, 71175, 4657, 434, 75616, 7, 7136, ...
[ 0.0172119140625, 0.0521240234375, 0.15673828125, 0.20751953125, 0.223388671875, 0.1258544921875, 0.04315185546875, 0.06915283203125, 0.005706787109375, 0.09478759765625, 0.188232421875, 0.1761474609375, 0.060272216796875, 0.1024169921875, 0.10614013671875, 0.053436279296875, 0.099182...
embed
37766237_c1
37766237
fsharp
1
</color> <stroke>Dotted</stroke> <shape>Hexagon</shape> </object> </root-element> (In the real data file, "Guid001" and so on are real GUIDs; but for this fictional example, I kept them simple.) Basically, it's a flat data file with a lot of object elements, each of which to a C# class instance in the program this data...
</color> <stroke>Dotted</stroke> <shape>Hexagon</shape> </object> </root-element> (In the real data file, "Guid001" and so on are real GUIDs; but for this fictional example, I kept them simple.) Basically, it's a flat data file with a lot of object elements, each of which to a C# class instance in the program this data...
[ 0.01116943359375, 0.023681640625, -0.01361083984375, 0.01055908203125, -0.01300048828125, 0.01116943359375, -0.01287841796875, -0.0031585693359375, 0.006195068359375, 0.006256103515625, 0.00086212158203125, -0.017333984375, -0.00927734375, -0.016845703125, -0.014404296875, 0.0051269531...
[ 46133, 6639, 3838, 297, 2420, 1081, 13025, 3798, 6126, 187694, 148920, 62766, 2773, 2053, 11435, 4, 22769, 532, 34479, 621, 195490, 397, 7, 903, 127663, 27781, 8781, 16, 12506, 442, 10, 49878, 678, 5915, 36746, 80854, 12638, 47, 313, 4904...
[ 0.1162109375, 0.014801025390625, 0.1240234375, 0.10595703125, 0.1407470703125, 0.043701171875, 0.10400390625, 0.1429443359375, 0.18408203125, 0.17333984375, 0.161376953125, 0.1673583984375, 0.1287841796875, 0.1839599609375, 0.1890869140625, 0.01019287109375, 0.16748046875, 0.166137...
embed
43943899_c1
43943899
fsharp
1
in F# works fine. But the C# code fails even if I use the class MyKey written in F#: type MyKey(timeStamp: DateTimeOffset, value) = member this.Timestamp = timeStamp member this.Value = value interface IComparable with member this.CompareTo (x: obj) = this.Timestamp.CompareTo((x :?> MyKey).Timestamp) Code signals: Inv...
in F# works fine. But the C# code fails even if I use the class MyKey written in F#: type MyKey(timeStamp: DateTimeOffset, value) = member this.Timestamp = timeStamp member this.Value = value interface IComparable with member this.CompareTo (x: obj) = this.Timestamp.CompareTo((x :?> MyKey).Timestamp) Code signals: Inv...
[ -0.00665283203125, 0.01495361328125, 0.0233154296875, -0.035888671875, 0.000518798828125, -0.0181884765625, -0.00653076171875, -0.0302734375, -0.01275634765625, -0.0252685546875, -0.0125732421875, 0.036376953125, 0.008544921875, -0.00982666015625, 0.00714111328125, -0.016845703125, -...
[ 23, 563, 4904, 43240, 5885, 4966, 313, 18151, 35782, 3853, 4527, 18507, 2646, 162429, 59121, 10644, 6032, 42378, 2676, 25512, 70059, 150369, 3509, 34292, 32786, 903, 590, 1733, 856, 50770, 101758, 108161, 147, 2886, 1046, 7763, 995, 170, 42...
[ 0.06695556640625, 0.10760498046875, 0.210693359375, 0.1051025390625, 0.070068359375, 0.008697509765625, 0.043304443359375, 0.184326171875, 0.1661376953125, 0.00579833984375, 0.011260986328125, 0.158935546875, 0.1544189453125, 0.254638671875, 0.024444580078125, 0.1109619140625, 0.0838...
embed
30271980_c0
30271980
fsharp
0
Title: F# Observable - Converting an event stream to a list Problem title: F# Observable - Converting an event stream to a list Tags: observable, functional-programming, reactive-programming, f%23 Problem: F# Observable - Converting an event stream to a list I was writing an unit test that verified the events fired fro...
F# Observable - Converting an event stream to a list F# Observable - Converting an event stream to a list observable functional-programming reactive-programming f%23 a Observable Converting Fact Can FileSearchAdapter ad.FileFound Observable.scan e::acc Observable.add ad.FindFiles Assert.Equal F# Observable - Converting...
[ 0.0015869140625, 0.03662109375, 0.0015411376953125, 0.0025177001953125, -0.0089111328125, -0.007720947265625, -0.00113677978515625, 0.01531982421875, 0.006500244140625, -0.0047607421875, 0.01904296875, -0.006622314453125, 0.0052490234375, 0.02734375, -0.003387451171875, 0.0027618408203...
[ 563, 4904, 87652, 2661, 1657, 814, 19732, 75973, 47, 10, 5303, 22046, 123309, 28966, 456, 71232, 1238, 3742, 132640, 4171, 42724, 221175, 22409, 2631, 720, 606, 174350, 27591, 7030, 4398, 10060, 4028, 204582, 33657, 71723, 1916, 32562, 25072,...
[ 0.09906005859375, 0.1727294921875, 0.22265625, 0.2110595703125, 0.0282440185546875, 0.1328125, 0.188232421875, 0.2412109375, 0.06976318359375, 0.020050048828125, 0.224853515625, 0.2061767578125, 0.141845703125, 0.113037109375, 0.029876708984375, 0.1441650390625, 0.035614013671875, ...
embed
48323562_c0
48323562
fsharp
0
Title: Is there a more efficient way to extract a subset of an array with indexes that depend on a list? Problem title: Is there a more efficient way to extract a subset of an array with indexes that depend on a list? Tags: f%23, subset Problem: Is there a more efficient way to extract a subset of an array with indexes...
Is there a more efficient way to extract a subset of an array with indexes that depend on a list? Is there a more efficient way to extract a subset of an array with indexes that depend on a list? f%23 subset arr.Length i::is w::ws List.rev Array.ofList Is there a more efficient way to extract a subset of an array with ...
[ -0.0213623046875, 0.0137939453125, 0.01458740234375, -0.0027618408203125, -0.00665283203125, -0.0277099609375, -0.01507568359375, 0.0111083984375, 0.020263671875, -0.00653076171875, 0.004425048828125, 0.0159912109375, -0.01239013671875, -0.0035552978515625, -0.01123046875, -0.001831054...
[ 2685, 1286, 93766, 3917, 47, 125663, 1614, 3509, 10298, 53, 678, 63262, 90, 56566, 98, 5303, 1238, 3949, 3742, 187, 42, 449, 164, 148, 19725, 32036, 65381, 69253, 4390, 154663, 2071, 54397, 32354, 30646, 162, 58055, 80854, 105950, 19, 997...
[ 0.02667236328125, 0.1192626953125, 0.219482421875, 0.05291748046875, 0.010467529296875, 0.23388671875, 0.18994140625, 0.1954345703125, 0.14306640625, 0.0966796875, 0.07330322265625, 0.1754150390625, 0.03839111328125, 0.200927734375, 0.000091552734375, 0.179931640625, 0.0699462890625,...
embed
58414494_c0
58414494
fsharp
0
Title: How to call methods overloaded by parameter type in F#? Problem title: How to call methods overloaded by parameter type in F#? Tags: c%23, generics, f%23, overloading Problem: How to call methods overloaded by parameter type in F#? I'm struggling to call a method (from a C# library) that's overloaded by paramete...
How to call methods overloaded by parameter type in F#? How to call methods overloaded by parameter type in F#? c%23 generics f%23 overloading How StreamWriter System.IO MyClass this.Method Integer TextWriter Some c.Method ERROR Runtime result1 result2 result3 How to call methods overloaded by parameter type in F#? I'm...
[ -0.01153564453125, 0.01312255859375, -0.002349853515625, -0.01708984375, 0.0037994384765625, -0.0228271484375, -0.00531005859375, -0.01953125, 0.004364013671875, -0.0069580078125, -0.01202392578125, -0.029296875, 0.000080108642578125, 0.0089111328125, 0.0101318359375, -0.026123046875, ...
[ 11249, 47, 11782, 150624, 645, 63033, 297, 390, 171859, 10644, 563, 4904, 23, 3742, 189534, 1238, 115061, 1456, 2783, 56, 12353, 17780, 2646, 140803, 903, 78572, 7352, 44401, 24129, 151206, 24638, 28398, 6032, 16750, 304, 363, 237875, 55300, ...
[ 0.055908203125, 0.010894775390625, 0.1844482421875, 0.223876953125, 0.1383056640625, 0.1959228515625, 0.03863525390625, 0.0235595703125, 0.1954345703125, 0.1748046875, 0.1265869140625, 0.19677734375, 0.04119873046875, 0.035675048828125, 0.1680908203125, 0.069580078125, 0.145874023437...
embed
27173754_c0
27173754
fsharp
0
Title: F# Tree: Node Insertion Problem title: F# Tree: Node Insertion Tags: treenode, tree, insert, f%23 Problem: F# Tree: Node Insertion This is a question that extends F# Recursive Tree Validation , which I had nicely answered yesterday. This question concerns inserting a child in an existing tree. This is the update...
F# Tree: Node Insertion F# Tree: Node Insertion treenode tree insert f%23 Tree Node Insertion Name BirthYear FamilyTree Person Children List.forall Hans simon:Person casperFamily:FamilyTree F# Tree: Node Insertion This is a question that extends F# Recursive Tree Validation , which I had nicely answered yesterday. This...
[ -0.002288818359375, 0.00005245208740234375, 0.014404296875, 0.0208740234375, -0.005706787109375, 0.0194091796875, -0.031982421875, -0.02783203125, 0.0091552734375, -0.017578125, 0.0107421875, -0.0150146484375, -0.000244140625, 0.00543212890625, 0.00482177734375, -0.00384521484375, 0....
[ 563, 4904, 101344, 12, 438, 112, 360, 2189, 1363, 53201, 157, 183540, 1238, 3949, 3742, 15757, 2992, 69085, 59745, 62731, 13, 15270, 91345, 32036, 5584, 15745, 78, 3796, 160054, 4611, 1264, 1191, 9655, 65042, 853, 48650, 5844, 25447, 85, ...
[ 0.135009765625, 0.1978759765625, 0.221923828125, 0.05419921875, 0.15625, 0.154541015625, 0.121826171875, 0.2215576171875, 0.0401611328125, 0.22119140625, 0.13232421875, 0.270751953125, 0.1119384765625, 0.050445556640625, 0.14892578125, 0.1102294921875, 0.09307861328125, 0.056976318...
embed
4765279_c0
4765279
fsharp
0
Title: How can I add attributes to a public method in an F# type? Problem title: How can I add attributes to a public method in an F# type? Tags: f%23, c%23-to-f%23, attributes, .net Problem: How can I add attributes to a public method in an F# type? I'm just trying out F# for the first time, and playing around with it...
How can I add attributes to a public method in an F# type? How can I add attributes to a public method in an F# type? f%23 c%23-to-f%23 attributes .net F# How FSharp MyClass Core.NameAttribute Core.DescriptionAttribute this.Function1 How can I add attributes to a public method in an F# type? I'm just trying out F# for ...
[ -0.00147247314453125, 0.00830078125, -0.0035247802734375, -0.0223388671875, 0.0174560546875, -0.0133056640625, -0.0017547607421875, 0.007568359375, -0.0230712890625, -0.0146484375, 0.006500244140625, 0.00323486328125, -0.011962890625, 0.0284423828125, 0.0023651123046875, -0.00364685058...
[ 11249, 831, 87, 15190, 150380, 90, 47, 3835, 55300, 23, 563, 4904, 10644, 1238, 3742, 27495, 188, 420, 1179, 93774, 3467, 254, 2646, 140803, 31365, 163612, 28848, 191145, 4657, 59478, 903, 97249, 31577, 1810, 5117, 75169, 2146, 77635, 11412...
[ 0.081298828125, 0.07257080078125, 0.0245513916015625, 0.1904296875, 0.26513671875, 0.1717529296875, 0.07696533203125, 0.2125244140625, 0.2222900390625, 0.0517578125, 0.142333984375, 0.2318115234375, 0.19482421875, 0.0888671875, 0.0927734375, 0.06610107421875, 0.08453369140625, 0.05...
embed
4653820_c0
4653820
fsharp
0
Title: F# How to tokenise user input: separating numbers, units, words? Problem title: F# How to tokenise user input: separating numbers, units, words? Tags: f%23, pattern-matching Problem: F# How to tokenise user input: separating numbers, units, words? I am fairly new to F#, but have spent the last few weeks reading ...
F# How to tokenise user input: separating numbers, units, words? F# How to tokenise user input: separating numbers, units, words? f%23 pattern-matching How F# How to tokenise user input: separating numbers, units, words? I am fairly new to F#, but have spent the last few weeks reading reference materials. I wish to pro...
[ -0.0130615234375, -0.00543212890625, 0.004180908203125, 0.01239013671875, -0.0034942626953125, 0.004058837890625, 0.00148773193359375, 0.0084228515625, 0.01019287109375, -0.02880859375, 0.01153564453125, 0.00836181640625, -0.02294921875, -0.00872802734375, -0.0050048828125, 0.004791259...
[ 563, 4904, 11249, 47, 1098, 3075, 38937, 107730, 38310, 214, 101935, 25072, 34153, 1238, 3949, 3742, 103510, 98753, 4, 180663, 3525, 16454, 91067, 76319, 32599, 9433, 67565, 71516, 79315, 135812, 209716, 80854, 140992, 5608, 102337, 40099, 1884...
[ 0.1328125, 0.2332763671875, 0.07830810546875, 0.11669921875, 0.162353515625, 0.0909423828125, 0.1903076171875, 0.2161865234375, 0.1959228515625, 0.053009033203125, 0.1737060546875, 0.1861572265625, 0.148193359375, 0.08837890625, 0.01214599609375, 0.1063232421875, 0.1776123046875, 0...
embed
8122905_c0
8122905
fsharp
0
Title: Converting C# struct to F# Problem title: Converting C# struct to F# Tags: f%23, c%23 Problem: Converting C# struct to F# I have code like this in C#: namespace WumpusWorld { class PlayerAI { //struct that simulates a cell in the AI replication of World Grid struct cellCharacteristics { public int pitPercentage;...
Converting C# struct to F# Converting C# struct to F# f%23 c%23 Converting WumpusWorld PlayerAI World Grid AIGrid Move Down Right Left Enter Escape WumpusWorldForm Stack c.isPit c.neighborsMarked c.numTimesvisited Converting C# struct to F# I have code like this in C#: I don't know how to convert this C# struct to F# a...
[ -0.005767822265625, 0.0181884765625, 0.003936767578125, 0.03564453125, -0.00142669677734375, 0.003021240234375, -0.0000476837158203125, -0.0208740234375, 0.00640869140625, 0.0189208984375, 0.01446533203125, 0.0419921875, -0.006011962890625, 0.00653076171875, -0.0123291015625, 0.0081787...
[ 1657, 814, 1916, 313, 4904, 36716, 47, 563, 1238, 3742, 601, 316, 7332, 70646, 60560, 11388, 6661, 31945, 71, 62, 19040, 135828, 49472, 90911, 2480, 60816, 181540, 102973, 6512, 2594, 164, 683, 217, 6958, 3422, 73484, 297, 2606, 70059, 16...
[ 0.04205322265625, 0.129150390625, 0.08447265625, 0.08050537109375, 0.264892578125, 0.248291015625, 0.1405029296875, 0.1636962890625, 0.057281494140625, 0.09002685546875, 0.06219482421875, 0.0982666015625, 0.205078125, 0.091796875, 0.1845703125, 0.1376953125, 0.102294921875, 0.13830...
embed
38230272_c1
38230272
fsharp
1
this simply that this is not possible, that is if the class argument types are generic they are derived once (from first use). On the other hand, maybe I am missing something. Is there a way to use variable-based types, which would be determinable at compile time, as type template arguments in F#? Is there another way...
this simply that this is not possible, that is if the class argument types are generic they are derived once (from first use). On the other hand, maybe I am missing something. Is there a way to use variable-based types, which would be determinable at compile time, as type template arguments in F#? Is there another way...
[ 0.0019378662109375, 0.0205078125, 0.00567626953125, -0.0250244140625, -0.0028839111328125, -0.0003070831298828125, 0.0019073486328125, -0.00799560546875, 0.0038909912109375, 0.0169677734375, -0.00201416015625, -0.015625, 0.023681640625, -0.037353515625, 0.002685546875, -0.0115356445312...
[ 903, 959, 7722, 18507, 10750, 52895, 189534, 16406, 4126, 24145, 161063, 5117, 4527, 132283, 3917, 77336, 77007, 27354, 2661, 9969, 1340, 1733, 237, 10644, 110934, 563, 4904, 28282, 87709, 45064, 20820, 142424, 19824, 43240, 34648, 4488, 30098,...
[ 0.0965576171875, 0.08428955078125, 0.154541015625, 0.1864013671875, 0.2205810546875, 0.242919921875, 0.2071533203125, 0.0621337890625, 0.031219482421875, 0.1566162109375, 0.004547119140625, 0.055023193359375, 0.0828857421875, 0.007476806640625, 0.0169219970703125, 0.2015380859375, 0....
embed
29720883_c1
29720883
fsharp
1
call to body is no tail call (the callvirt instruction at the bottom). And the reason for that is because the compiler created a call to the lambda that actually returns Unit ! So in C# terms: Body is Func<Int32,Unit> when it really should be Action<Int32> . Since the call returns something that has to be discarded, i...
call to body is no tail call (the callvirt instruction at the bottom). And the reason for that is because the compiler created a call to the lambda that actually returns Unit ! So in C# terms: Body is Func<Int32,Unit> when it really should be Action<Int32> . Since the call returns something that has to be discarded, i...
[ 0.0228271484375, 0.019287109375, 0.02978515625, -0.00081634521484375, 0.01434326171875, 0.000545501708984375, 0.0157470703125, -0.0279541015625, -0.006622314453125, -0.0113525390625, -0.0072021484375, -0.00384521484375, -0.00341796875, -0.01104736328125, 0.033447265625, -0.018920898437...
[ 11782, 47, 14361, 83, 110, 46741, 7203, 18, 188336, 103136, 31635, 9969, 34759, 75935, 21, 6492, 85, 20653, 30646, 46640, 313, 4904, 69407, 43960, 28670, 238, 6460, 85600, 6183, 5608, 57945, 9844, 1556, 17116, 5861, 53418, 186, 85763, 55300...
[ 0.22998046875, 0.2177734375, 0.291748046875, 0.0740966796875, 0.12255859375, 0.265625, 0.1229248046875, 0.061065673828125, 0.1395263671875, 0.07421875, 0.04754638671875, 0.1607666015625, 0.164794921875, 0.06146240234375, 0.0556640625, 0.1890869140625, 0.121826171875, 0.039428710937...
embed
26548386_c0
26548386
fsharp
0
Title: F# version of Scala code using zipWithIndex Problem title: F# version of Scala code using zipWithIndex Tags: f%23, scala Problem: F# version of Scala code using zipWithIndex This Scala code (somewhat simplified by me, so I might have made a mistake) converts a series of newline separated input lines into a list ...
F# version of Scala code using zipWithIndex F# version of Scala code using zipWithIndex f%23 scala zipWithIndex Scala input.split _.zipWithIndex zipWithIndex.iterator xs.iterator Coord s:string List.ofSeq s.Split List.map F# version of Scala code using zipWithIndex This Scala code (somewhat simplified by me, so I might...
[ -0.00836181640625, 0.013916015625, -0.01019287109375, -0.01123046875, -0.00958251953125, -0.01397705078125, 0.024658203125, -0.00506591796875, 0.005035400390625, -0.01226806640625, -0.00579833984375, 0.025146484375, -0.01348876953125, 0.0166015625, 0, 0.011474609375, 0.016357421875, ...
[ 563, 4904, 11389, 152653, 11, 18151, 17368, 68330, 194583, 4153, 39659, 1238, 3949, 3742, 146232, 107730, 4353, 50836, 16840, 4597, 1022, 6651, 91, 91693, 32036, 4390, 864, 62346, 112892, 121742, 96760, 36549, 3525, 2256, 84797, 71, 124519, 3...
[ 0.114501953125, 0.1964111328125, 0.10137939453125, 0.1788330078125, 0.113525390625, 0.1724853515625, 0.0211639404296875, 0.22509765625, 0.185302734375, 0.06634521484375, 0.1942138671875, 0.087890625, 0.011077880859375, 0.1229248046875, 0.1644287109375, 0.1534423828125, 0.1298828125, ...
embed
55143187_c0
55143187
fsharp
0
Title: Mocking an abstract class with a virtual internally settable property in Foq Problem title: Mocking an abstract class with a virtual internally settable property in Foq Tags: unit-testing, f%23, foq Problem: Mocking an abstract class with a virtual internally settable property in Foq I have written an Azure dura...
Mocking an abstract class with a virtual internally settable property in Foq Mocking an abstract class with a virtual internally settable property in Foq unit-testing f%23 foq Mocking Foq DurableOrchestrationContextBase InstanceId Mocking an abstract class with a virtual internally settable property in Foq I have writt...
[ 0.0034332275390625, -0.008544921875, 0.01953125, -0.000640869140625, 0.015625, -0.0123291015625, -0.001220703125, -0.005584716796875, -0.00860595703125, 0.0140380859375, -0.01422119140625, 0.0189208984375, 0.005859375, -0.00909423828125, -0.0142822265625, -0.023681640625, -0.00259399...
[ 2501, 41324, 164789, 18507, 678, 20513, 70796, 9615, 2886, 57266, 9572, 864, 25072, 6954, 3742, 5775, 24344, 19060, 206, 525, 22829, 63473, 116071, 568, 71, 59121, 176071, 114561, 32354, 563, 4904, 33022, 109921, 226829, 138410, 1828, 3408, 1...
[ 0.1978759765625, 0.105712890625, 0.2161865234375, 0.2021484375, 0.0064697265625, 0.2060546875, 0.15869140625, 0.1568603515625, 0.1309814453125, 0.1719970703125, 0.172119140625, 0.1549072265625, 0.1322021484375, 0.16015625, 0.0247802734375, 0.0211334228515625, 0.13427734375, 0.07135...
embed
21198350_c0
21198350
fsharp
0
Title: Using regular expression to extract all cookie attribute Problem title: Using regular expression to extract all cookie attribute Tags: regex, c%23, f%23 Problem: Using regular expression to extract all cookie attribute For example, if I have a cookie string "lu=Rg3vHJ; Expires=Tue, 15-Jan-2013 21:47:38 GMT; Path...
Using regular expression to extract all cookie attribute Using regular expression to extract all cookie attribute regex c%23 f%23 Using Rg3vHJ Expires Tue Jan-2013 GMT Path Domain example.com HttpOnly NameValuePair Mandatory MaxAge Not Secure Exists KeyValuePair NameValue Cookie Using regular expression to extract all ...
[ -0.01214599609375, 0.00830078125, -0.00860595703125, 0.007598876953125, 0.0054931640625, 0.0211181640625, -0.01190185546875, 0.02392578125, 0.00011157989501953125, 0.041259765625, -0.01043701171875, -0.002044677734375, 0.002349853515625, -0.004638671875, -0.01116943359375, 0.0052185058...
[ 345, 6953, 20324, 125195, 125663, 756, 9332, 150380, 47, 6835, 3355, 501, 3949, 3742, 1238, 627, 363, 334, 841, 1375, 60075, 50964, 1371, 3342, 74790, 99961, 108421, 93702, 27781, 3062, 20320, 15757, 856, 50770, 8335, 86099, 9920, 284, 429,...
[ 0.0498046875, 0.0173492431640625, 0.18017578125, 0.23681640625, 0.213623046875, 0.1356201171875, 0.261474609375, 0.2237548828125, 0.022247314453125, 0.1346435546875, 0.149169921875, 0.00445556640625, 0.06781005859375, 0.159912109375, 0.0489501953125, 0.0204925537109375, 0.05133056640...
embed
40381558_c0
40381558
fsharp
0
Title: How do I remove duplicated string values when leveraging a TypeProvider? Problem title: How do I remove duplicated string values when leveraging a TypeProvider? Tags: f%23 Problem: How do I remove duplicated string values when leveraging a TypeProvider? How do I remove duplicated string values when leveraging a ...
How do I remove duplicated string values when leveraging a TypeProvider? How do I remove duplicated string values when leveraging a TypeProvider? f%23 How TypeProvider MovieProvider JsonProvider facebook.github.io movies.json MovieProvider.AsyncLoad result.Movies Array.toList List.map Title m.Title Year m.ReleaseYear H...
[ -0.00909423828125, 0.01318359375, -0.0024261474609375, 0.00421142578125, -0.0084228515625, -0.01190185546875, 0.017578125, 0.020263671875, -0.0012969970703125, -0.0272216796875, -0.0228271484375, -0.0111083984375, 0.03955078125, -0.0125732421875, 0.00133514404296875, 0.01531982421875, ...
[ 11249, 87388, 171763, 3674, 79315, 142424, 21962, 60457, 177997, 62160, 87, 66398, 1238, 3742, 10348, 821, 1681, 10899, 15769, 32102, 846, 72304, 170, 12654, 16750, 187430, 69253, 188, 154663, 32036, 62346, 48962, 347, 16734, 42552, 133, 62775,...
[ 0.0295257568359375, 0.2010498046875, 0.256591796875, 0.10540771484375, 0.2322998046875, 0.187744140625, 0.126953125, 0.2406005859375, 0.16943359375, 0.153564453125, 0.007720947265625, 0.045654296875, 0.054473876953125, 0.1075439453125, 0.08392333984375, 0.059112548828125, 0.111694335...
embed
62236189_c0
62236189
fsharp
0
Title: F# pattern matching with optional list of tuples Problem title: F# pattern matching with optional list of tuples Tags: f%23, pattern-matching Problem: F# pattern matching with optional list of tuples I'm trying to use pattern matching for an optional list of tuples but I could not write an exhaustive matching ex...
F# pattern matching with optional list of tuples F# pattern matching with optional list of tuples f%23 pattern-matching Mapper.PatternMatchingOddity ProblemType Incomplete Some x:A y:B None matchProblem1 matchProblem2 input:ProblemType F# pattern matching with optional list of tuples I'm trying to use pattern matching ...
[ 0.001861572265625, 0.006591796875, -0.00543212890625, 0.004486083984375, -0.01165771484375, -0.00970458984375, -0.016357421875, -0.02197265625, 0.01483154296875, 0.03173828125, 0.01513671875, 0.004364013671875, 0.016357421875, -0.007415771484375, -0.0031585693359375, 0.0108642578125, ...
[ 563, 4904, 103510, 14858, 214, 678, 35829, 289, 5303, 370, 99726, 1238, 3742, 98753, 911, 8079, 8335, 3055, 79520, 59207, 670, 12071, 15649, 196707, 277, 131801, 1022, 113, 438, 223361, 107730, 4527, 959, 33022, 146353, 125195, 31577, 15400, ...
[ 0.11865234375, 0.157470703125, 0.197998046875, 0.1824951171875, 0.07525634765625, 0.064453125, 0.1619873046875, 0.04437255859375, 0.09808349609375, 0.1046142578125, 0.1417236328125, 0.0762939453125, 0.09423828125, 0.126708984375, 0.061065673828125, 0.1051025390625, 0.0677490234375, ...
embed
62850202_c1
62850202
fsharp
1
SqlDataProvider<...> But I really do need to use Visual Studio 2019... And anyway if I must use Visual Sutdio Code because it is the only way to solve this problem (but is it really the only way?), I have to port the project from .Net Framework to Core (right?) and after a first try in .NET Code I get an error FS3033:...
SqlDataProvider<...> But I really do need to use Visual Studio 2019... And anyway if I must use Visual Sutdio Code because it is the only way to solve this problem (but is it really the only way?), I have to port the project from .Net Framework to Core (right?) and after a first try in .NET Code I get an error FS3033:...
[ 0.004241943359375, 0.031494140625, -0.01165771484375, 0.0230712890625, -0.00048828125, 0.012451171875, -0.0028839111328125, -0.003936767578125, -0.004852294921875, -0.0303955078125, 0.00799560546875, -0.03369140625, 0.0147705078125, -0.0166015625, -0.00286865234375, 0.001068115234375, ...
[ 159, 99247, 137989, 177997, 62160, 6183, 54, 3871, 4527, 73372, 22968, 3640, 27, 109954, 8110, 83520, 5670, 28864, 4734, 86869, 2967, 3917, 765, 11469, 13452, 1295, 24447, 202220, 47, 31365, 5117, 9790, 17777, 18499, 93774, 1197, 9185, 212059...
[ 0.019805908203125, 0.197021484375, 0.133056640625, 0.1920166015625, 0.09716796875, 0.078369140625, 0.008270263671875, 0.07501220703125, 0.0943603515625, 0.2176513671875, 0.2423095703125, 0.249267578125, 0.000244140625, 0.030120849609375, 0.01556396484375, 0.08544921875, 0.1787109375,...
embed
18646217_c0
18646217
fsharp
0
Title: Since functions are first-class values in F#, why can&#x27;t I use lambdas as values? Problem title: Since functions are first-class values in F#, why can&#x27;t I use lambdas as values? Tags: f%23 Problem: Since functions are first-class values in F#, why can't I use lambdas as values? If I define a simple func...
Since functions are first-class values in F#, why can&#x27;t I use lambdas as values? Since functions are first-class values in F#, why can&#x27;t I use lambdas as values? f%23 Since FS0002 Action Func Since functions are first-class values in F#, why can't I use lambdas as values? If I define a simple function: Then g...
[ 0.0162353515625, -0.00113677978515625, 0.00017642974853515625, -0.0062255859375, -0.0076904296875, 0.006561279296875, 0.01385498046875, 0.004791259765625, 0.015380859375, -0.0234375, -0.002777099609375, -0.006744384765625, -0.0106201171875, -0.00138092041015625, 0.01708984375, -0.01367...
[ 66016, 32354, 7, 5117, 9, 67413, 142424, 563, 4904, 15400, 831, 3768, 18, 4527, 21, 6492, 1124, 237, 1238, 93774, 9508, 304, 57945, 28670, 61924, 8781, 63043, 621, 41206, 19048, 759, 11935, 4460, 152201, 11896, 79315, 11, 1328, 275, 25632...
[ 0.00689697265625, 0.25048828125, 0.110107421875, 0.1220703125, 0.03314208984375, 0.1651611328125, 0.2264404296875, 0.122314453125, 0.205810546875, 0.08795166015625, 0.07342529296875, 0.030426025390625, 0.041961669921875, 0.09832763671875, 0.0797119140625, 0.189453125, 0.1502685546875...
embed
10764435_c0
10764435
fsharp
0
Title: Parallel sorting of timestamps in F# - the functional way? Problem title: Parallel sorting of timestamps in F# - the functional way? Tags: f%23, parallel-processing, functional-programming Problem: Parallel sorting of timestamps in F# - the functional way? This is the first time I'm doing a)functional programmin...
Parallel sorting of timestamps in F# - the functional way? Parallel sorting of timestamps in F# - the functional way? f%23 parallel-processing functional-programming Parallel File XXX Parallel sorting of timestamps in F# - the functional way? This is the first time I'm doing a)functional programming b)in F#. Basically ...
[ 0.006988525390625, 0.005645751953125, 0.0294189453125, -0.0260009765625, -0.0086669921875, -0.0152587890625, -0.000492095947265625, -0.0184326171875, -0.0206298828125, -0.031982421875, 0.0067138671875, 0.038818359375, -0.0101318359375, -0.002899169921875, -0.00119781494140625, -0.00373...
[ 211485, 12096, 214, 20028, 2537, 6423, 563, 4904, 123309, 3917, 23, 1238, 3742, 95103, 63923, 28966, 42724, 44585, 137175, 56037, 876, 14012, 102158, 28338, 836, 12638, 11435, 4343, 13984, 16454, 1733, 590, 39958, 581, 2967, 2046, 756, 17497,...
[ 0.2476806640625, 0.206787109375, 0.0726318359375, 0.11181640625, 0.171142578125, 0.112548828125, 0.133056640625, 0.239013671875, 0.2056884765625, 0.0947265625, 0.014801025390625, 0.0341796875, 0.08160400390625, 0.2000732421875, 0.028717041015625, 0.07696533203125, 0.1427001953125, ...
embed
50944604_c0
50944604
fsharp
0
Title: F# - Type parameter cannot be used as type constructor Problem title: F# - Type parameter cannot be used as type constructor Tags: akka.net, f%23 Problem: F# - Type parameter cannot be used as type constructor I’m working in F# with Akkling so I can use the strongly typed actors on Akka.net but I’ve hit a design...
F# - Type parameter cannot be used as type constructor F# - Type parameter cannot be used as type constructor akka.net f%23 Type MessageType World WorldMessage Location IActorRef LocationMessage Client ClientMessage LocationActor PlayerActor ClientActor akka.net F# - Type parameter cannot be used as type constructor I’...
[ -0.00860595703125, 0.03955078125, -0.006683349609375, -0.005401611328125, 0.0028533935546875, -0.0264892578125, -0.004638671875, 0.0128173828125, -0.01953125, -0.037841796875, 0.0216064453125, -0.00823974609375, 0.0206298828125, 0.00543212890625, -0.00482177734375, 0.000115394592285156...
[ 563, 4904, 60457, 171859, 53418, 11814, 237, 10644, 64549, 748, 81866, 1179, 1238, 3742, 48205, 196707, 6661, 6011, 90788, 87, 18770, 190015, 91732, 60560, 20697, 2471, 63664, 831, 4527, 37515, 39329, 62, 5515, 5962, 4331, 205969, 28032, 2685...
[ 0.1396484375, 0.2069091796875, 0.255126953125, 0.224365234375, 0.1490478515625, 0.110107421875, 0.05889892578125, 0.2347412109375, 0.195556640625, 0.1256103515625, 0.16748046875, 0.1256103515625, 0.076416015625, 0.10491943359375, 0.0543212890625, 0.1533203125, 0.075439453125, 0.080...
embed
11436073_c0
11436073
fsharp
0
Title: Compilation error complaining about value not being a function Problem title: Compilation error complaining about value not being a function Tags: linqpad, f%23, compiler-errors Problem: Compilation error complaining about value not being a function I am trying to experiment in F# for one of the utility tools we...
Compilation error complaining about value not being a function Compilation error complaining about value not being a function linqpad f%23 compiler-errors Compilation Directory.GetFiles Path.Combine Seq.map XPathDocument CreateNavigator xmlNavigator.SelectSingleNode Product ABc node.InsertAfter Risk abc1 xyz1 node.Sele...
[ 0.004669189453125, 0.005218505859375, 0.003204345703125, -0.006317138671875, -0.0162353515625, 0.0203857421875, -0.007476806640625, -0.0269775390625, 0.0032806396484375, -0.01275634765625, -0.0198974609375, 0.0218505859375, -0.0040283203125, -0.01904296875, 0.03076171875, -0.0053405761...
[ 15612, 14, 57860, 18499, 186992, 34292, 959, 8035, 10, 32354, 96, 44982, 4299, 1238, 3742, 9969, 34759, 188800, 31068, 126, 174350, 108421, 46187, 864, 10519, 239469, 151313, 160349, 1758, 1290, 131492, 100184, 213039, 5021, 73111, 11321, 110, ...
[ 0.1524658203125, 0.134521484375, 0.074462890625, 0.1741943359375, 0.1842041015625, 0.25, 0.160400390625, 0.1539306640625, 0.086669921875, 0.1868896484375, 0.017669677734375, 0.087890625, 0.1778564453125, 0.02801513671875, 0.125, 0.1827392578125, 0.1121826171875, 0.162841796875, 0...
embed
30014304_c0
30014304
fsharp
0
Title: F# module member uninitialized Problem title: F# module member uninitialized Tags: f%23, fsunit, nullreferenceexception, nunit Problem: F# module member uninitialized I'm writing unit tests in F# using FsUnit and NUnit, with the NUnit test adapter for VS2015 Ultimate CTP. I've come across an odd issue with a mod...
F# module member uninitialized F# module member uninitialized f%23 fsunit nullreferenceexception nunit Foo.SpecificFooStrategy.create FooStrategy Foo FooStrategy.fs x.A x.B SpecificFooStrategy.fs SpecificFooStrategy FooStrategy.create Foo.Tests TestFixture SpecificFooStrategyTests Test An.operationWith F# module member...
[ 0.02197265625, 0.01153564453125, 0.0030670166015625, 0.0005645751953125, 0.0028839111328125, -0.00616455078125, 0.03857421875, -0.028564453125, 0.00567626953125, 0.02294921875, -0.00787353515625, 0.023193359375, 0.01141357421875, 0.0230712890625, 0.0089111328125, -0.0123291015625, 0....
[ 563, 4904, 88996, 32786, 51, 943, 118, 289, 29367, 1238, 3949, 3742, 6548, 217, 56574, 239879, 63928, 4124, 9572, 31, 47107, 14486, 27591, 97315, 67, 7612, 2182, 17447, 571, 209052, 111337, 8647, 6159, 21473, 194583, 32562, 25072, 109921, 7...
[ 0.16162109375, 0.233154296875, 0.2056884765625, 0.2415771484375, 0.1380615234375, 0.1072998046875, 0.0802001953125, 0.033935546875, 0.0009765625, 0.1219482421875, 0.0167999267578125, 0.1092529296875, 0.049041748046875, 0.1336669921875, 0.262939453125, 0.2154541015625, 0.0736694335937...
embed
58713764_c0
58713764
fsharp
0
Title: Unexpected identifier in definition. Expected incomplete structured construct at or before this point or other token Problem title: Unexpected identifier in definition. Expected incomplete structured construct at or before this point or other token Tags: f%23 Problem: Unexpected identifier in definition. Expecte...
Unexpected identifier in definition. Expected incomplete structured construct at or before this point or other token Unexpected identifier in definition. Expected incomplete structured construct at or before this point or other token f%23 Unexpected Expected Microsoft.Office.Interop.Word.Application Visible Path.Combin...
[ 0.0078125, 0.008544921875, -0.00799560546875, 0.0159912109375, -0.0107421875, 0.025390625, 0.000957489013671875, -0.015625, 0.0142822265625, -0.007415771484375, 0.0072021484375, 0.01708984375, 0.000545501708984375, -0.0086669921875, 0.028076171875, 0.0093994140625, 0.012939453125, ...
[ 992, 83613, 13, 89829, 42485, 56, 23, 80934, 60075, 82940, 46485, 45646, 71, 64549, 99, 707, 8108, 903, 6275, 47, 1098, 1238, 3949, 3742, 7244, 94833, 44851, 2146, 164805, 47677, 182867, 582, 55356, 108421, 46187, 12353, 43342, 102973, 1265...
[ 0.1217041015625, 0.15087890625, 0.146240234375, 0.1292724609375, 0.2376708984375, 0.131103515625, 0.0740966796875, 0.19189453125, 0.122314453125, 0.1214599609375, 0.171142578125, 0.1766357421875, 0.0404052734375, 0.2093505859375, 0.0706787109375, 0.036224365234375, 0.139892578125, ...
embed
29742920_c0
29742920
fsharp
0
Title: key based functional fold Problem title: key based functional fold Tags: mapreduce, functional-programming, f%23 Problem: key based functional fold I have a map reduce code for which I group in each of the threads by some key and then in the reduce part merge the results. My current approach is to search for an ...
key based functional fold key based functional fold mapreduce functional-programming f%23 by:string Seq.tryFindIndex byInAcc.Equals Some Seq.mapi Array.append None Seq.append GroupsCommingFromMap key1 key2 key3 Seq.reduce Seq.toList key based functional fold I have a map reduce code for which I group in each of the thr...
[ -0.00933837890625, 0.0078125, -0.007659912109375, -0.01361083984375, -0.00860595703125, -0.0205078125, -0.00982666015625, 0.010986328125, 0.006256103515625, -0.017333984375, 0.005706787109375, 0.0101318359375, -0.0028533935546875, 0.01348876953125, -0.005645751953125, 0.01373291015625,...
[ 22799, 35509, 123309, 42822, 291, 4692, 106357, 28966, 214, 1238, 3742, 390, 91693, 864, 15123, 204582, 39659, 10060, 71723, 192, 1434, 69253, 3611, 10760, 14578, 166179, 304, 363, 107, 188, 154663, 22288, 34390, 18151, 21115, 86997, 42564, 5...
[ 0.1572265625, 0.1507568359375, 0.2144775390625, 0.231201171875, 0.0677490234375, 0.093994140625, 0.1842041015625, 0.1600341796875, 0.006256103515625, 0.0247650146484375, 0.07720947265625, 0.0250244140625, 0.10223388671875, 0.08392333984375, 0.0780029296875, 0.0697021484375, 0.1337890...
embed
70347136_c0
70347136
fsharp
0
Title: Simplifying pattern match Problem title: Simplifying pattern match Tags: f%23 Problem: Simplifying pattern match I have these types type IntervalWithBreak = { Start: DateTime; End: DateTime } type IntervalWithoutBreak = { Start: DateTime; End: DateTime; Break: TimeSpan } type WorkTime = | Workshop of IntervalWit...
Simplifying pattern match Simplifying pattern match f%23 Simplifying IntervalWithBreak Start DateTime End IntervalWithoutBreak Break TimeSpan WorkTime Workshop Mounting Ill WorktimeDefinition Weekday DayOfWeek worktime:WorkTime worktimeDefinition:WorktimeDefinition w.Start.DayOfWeek worktimeDefinition.Weekday m.Start.D...
[ -0.01226806640625, -0.00360107421875, 0.007720947265625, 0.0140380859375, -0.0194091796875, -0.02001953125, -0.024169921875, -0.00848388671875, 0.018310546875, -0.026123046875, 0.0291748046875, 0.01336669921875, 0.0002231597900390625, 0.005462646484375, -0.00836181640625, 0.00242614746...
[ 55331, 141, 151138, 103510, 14858, 1238, 3949, 3742, 5337, 1405, 194583, 57572, 13794, 25512, 70059, 18878, 6056, 131904, 19055, 3180, 27985, 68309, 101057, 1181, 6032, 187423, 943, 58417, 5636, 132887, 343, 4488, 108259, 148, 126597, 97141, 12...
[ 0.1514892578125, 0.1346435546875, 0.1748046875, 0.22216796875, 0.2403564453125, 0.0614013671875, 0.045745849609375, 0.139404296875, 0.051177978515625, 0.1396484375, 0.105712890625, 0.103759765625, 0.1187744140625, 0.0166168212890625, 0.1990966796875, 0.1331787109375, 0.06805419921875...
embed
27388512_c0
27388512
fsharp
0
Title: How to set the packages path for fsharpc on Mac OS Problem title: How to set the packages path for fsharpc on Mac OS Tags: nuget, mono, f%23 Problem: How to set the packages path for fsharpc on Mac OS I have installed FsUnit using NuGet on Mac OS. And I have copied dll-s to lib folder: $ ls -la lib total 1336 dr...
How to set the packages path for fsharpc on Mac OS How to set the packages path for fsharpc on Mac OS nuget mono f%23 How Mac Dec FsCheck.dll FsUnit.NUnit.dll nunit.framework.dll Tests NUnit.Framework FsUnit module1 Square lib:lib some.fs Compiler Open Source Edition Freely Apache License Users FS0039 NUnit TestFixture...
[ -0.012451171875, 0.005523681640625, 0.002471923828125, -0.0057373046875, -0.01123046875, 0.0008697509765625, 0.0098876953125, -0.00128936767578125, -0.0206298828125, 0.0169677734375, -0.01544189453125, -0.005279541015625, 0.01092529296875, 0.00421142578125, 0.01171875, -0.0108032226562...
[ 11249, 5423, 98169, 7, 60875, 100, 1238, 89280, 57095, 4727, 11787, 315, 3794, 22460, 3742, 25755, 563, 202567, 5, 1181, 85600, 18, 33261, 6773, 4124, 217, 160328, 8647, 18057, 88996, 68305, 25474, 5612, 3060, 17447, 15612, 44965, 9795, 534...
[ 0.01165771484375, 0.16064453125, 0.2294921875, 0.0833740234375, 0.2098388671875, 0.04351806640625, 0.155029296875, 0.1802978515625, 0.2132568359375, 0.14697265625, 0.1177978515625, 0.1328125, 0.1533203125, 0.1605224609375, 0.10546875, 0.10479736328125, 0.1295166015625, 0.1772460937...
embed
34702922_c0
34702922
fsharp
0
Title: F#: why using outer function version faster than pass function as argument Problem title: F#: why using outer function version faster than pass function as argument Tags: f%23 Problem: F#: why using outer function version faster than pass function as argument Version (calc1) using direct outer function take abou...
F#: why using outer function version faster than pass function as argument F#: why using outer function version faster than pass function as argument f%23 outer System.Diagnostics System.Numerics z:Complex c:Complex calc1 z.Magnitude Array.Parallel.init Complex.Zero Complex calc2 Real CPU gen0 gen1 gen2 F#: why using o...
[ 0.01275634765625, -0.01214599609375, -0.00506591796875, -0.00970458984375, -0.006256103515625, -0.0185546875, 0.026123046875, 0.00177764892578125, 0.0145263671875, -0.017822265625, -0.0023040771484375, 0.0206298828125, 0.000621795654296875, -0.021240234375, 0.02490234375, 0.00030899047...
[ 563, 4904, 15400, 17368, 1810, 56, 32354, 11389, 4271, 27875, 237, 10750, 3501, 1238, 3742, 12353, 128198, 97, 44974, 6510, 238, 418, 9233, 69253, 5, 1229, 217, 113197, 4036, 304, 5120, 86039, 9226, 2389, 40647, 15, 6827, 17727, 8951, 564...
[ 0.15576171875, 0.219970703125, 0.1300048828125, 0.10009765625, 0.196533203125, 0.1854248046875, 0.1998291015625, 0.2059326171875, 0.1380615234375, 0.150390625, 0.0679931640625, 0.21044921875, 0.031341552734375, 0.0738525390625, 0.07086181640625, 0.030914306640625, 0.07421875, 0.043...
embed
35732830_c0
35732830
fsharp
0
Title: How to preserve value type in enum Problem title: How to preserve value type in enum Tags: enums, attributes, f%23, value-type Problem: How to preserve value type in enum Let's look at the following piece of code and assume that both MyAttribute and test function cannot be changed. type MyAttribute() = inherit A...
How to preserve value type in enum How to preserve value type in enum enums attributes f%23 value-type How MyAttribute Attribute this.Prop MyEnum Prop MyEnum.B MyClass t.GetCustomAttributes a.Prop Convert.ToString Globalization.CultureInfo.CurrentCulture T.A GetCustomAttributes a.A System.Globalization.CultureInfo.Curr...
[ -0.01434326171875, 0.000789642333984375, -0.0027008056640625, 0.00408935546875, -0.01312255859375, -0.010498046875, -0.012451171875, 0.011474609375, -0.0108642578125, 0.0030517578125, 0.0130615234375, 0.04248046875, 0.0054931640625, 0.00811767578125, 0.00469970703125, 0.000820159912109...
[ 11249, 47, 479, 86687, 34292, 10644, 23, 22, 316, 10321, 150380, 1238, 3742, 50986, 2646, 28848, 191145, 903, 10752, 254, 647, 2606, 43796, 571, 140803, 223, 5928, 11549, 7763, 71713, 13453, 47691, 202, 93147, 474, 15724, 12353, 162080, 181...
[ 0.0640869140625, 0.027923583984375, 0.147705078125, 0.2078857421875, 0.2213134765625, 0.2421875, 0.065185546875, 0.1580810546875, 0.2332763671875, 0.2235107421875, 0.19189453125, 0.056182861328125, 0.1173095703125, 0.190185546875, 0.120361328125, 0.0704345703125, 0.189453125, 0.005...
embed
36504557_c0
36504557
fsharp
0
Title: In F# what does top-level mean? Problem title: In F# what does top-level mean? Tags: toplevel, shadowing, f%23, scope Problem: In F# what does top-level mean? When people talk about F# they sometimes mention the term top-level ; what does top-level mean? For example in previous SO Q&A Error FS0037 sometimes, ver...
In F# what does top-level mean? In F# what does top-level mean? toplevel shadowing f%23 scope In F# what does top-level mean? When people talk about F# they sometimes mention the term top-level ; what does top-level mean? For example in previous SO Q&A Error FS0037 sometimes, very confusing Defining Modules VS.NET vs F...
[ 0.0201416015625, -0.0023956298828125, 0.01031494140625, -0.00665283203125, -0.007232666015625, -0.005950927734375, 0.01495361328125, 0.0140380859375, -0.0030059814453125, -0.0172119140625, 0.00885009765625, 0.01239013671875, 0.0019073486328125, 0.00738525390625, 0.00897216796875, 0.004...
[ 360, 563, 4904, 2367, 2663, 9, 67919, 29459, 208429, 214, 1238, 3742, 70820, 14602, 22120, 68018, 41392, 13579, 15969, 1230, 212059, 93774, 7049, 10945, 55681, 88606, 63014, 44160, 17777, 5337, 71232, 60212, 210716, 88996, 4396, 103264, 150380,...
[ 0.044647216796875, 0.1239013671875, 0.2122802734375, 0.0550537109375, 0.2283935546875, 0.1138916015625, 0.311767578125, 0.1470947265625, 0.2164306640625, 0.1044921875, 0.08782958984375, 0.04693603515625, 0.186767578125, 0.04364013671875, 0.038970947265625, 0.024383544921875, 0.061157...
embed
66969343_c1
66969343
fsharp
1
Salary.Api) ] let routes = choose [ route "/" >=> authChallenge >=> htmlFile "public/app.html" apiRoutes ] let configureServices (services : IServiceCollection) = let config = services.BuildServiceProvider().GetService<IConfiguration>() services .AddMicrosoftIdentityWebAppAuthentication(config, openIdConnectScheme = a...
Salary.Api) ] let routes = choose [ route "/" >=> authChallenge >=> htmlFile "public/app.html" apiRoutes ] let configureServices (services : IServiceCollection) = let config = services.BuildServiceProvider().GetService<IConfiguration>() services .AddMicrosoftIdentityWebAppAuthentication(config, openIdConnectScheme = a...
[ -0.03271484375, 0.03076171875, -0.000843048095703125, -0.009033203125, -0.03369140625, -0.0120849609375, -0.00188446044921875, -0.0026702880859375, 0.0194091796875, -0.00482177734375, 0.000949859619140625, 0.003204345703125, -0.009521484375, 0.0228271484375, 0.00982666015625, 0.0004310...
[ 13294, 1294, 5, 284, 1434, 2633, 36439, 7, 55076, 531, 927, 76489, 429, 7693, 174350, 57964, 9007, 31470, 12724, 6743, 222495, 121979, 22584, 87, 78457, 133, 10763, 153837, 2203, 11374, 121137, 177997, 59994, 4028, 113387, 37379, 30474, 39179...
[ 0.2056884765625, 0.1986083984375, 0.007415771484375, 0.08990478515625, 0.1884765625, 0.10009765625, 0.2122802734375, 0.0160675048828125, 0.114990234375, 0.1878662109375, 0.144775390625, 0.17041015625, 0.052459716796875, 0.1441650390625, 0.07666015625, 0.09552001953125, 0.154174804687...
embed
76747011_c0
76747011
fsharp
0
Title: byref typed value cannot be used at this point Problem title: byref typed value cannot be used at this point Tags: f%23 Problem: byref typed value cannot be used at this point Let's say we implement an interface from a C# library which involves simulation of multiple return values and which, starkly simplified, ...
byref typed value cannot be used at this point byref typed value cannot be used at this point f%23 IExternalCommand Execute MyResult Error CompilationRepresentation CompilationRepresentationFlags.ModuleSuffix __.Execute MyResult.toMyResult FS0418 byref typed value cannot be used at this point Let's say we implement an ...
[ -0.00083160400390625, 0.01007080078125, -0.00482177734375, 0.020263671875, -0.003173828125, 0.005096435546875, -0.0013275146484375, -0.00193023681640625, -0.004119873046875, -0.0211181640625, 0.00083160400390625, 0.042724609375, 0.021728515625, -0.000751495361328125, 0.00194549560546875,...
[ 390, 29087, 10644, 71, 34292, 53418, 11814, 903, 6275, 1238, 3742, 19279, 31586, 10770, 12018, 211603, 2646, 4332, 7, 7136, 212059, 15612, 55247, 3668, 21493, 4084, 188, 31852, 93774, 7709, 1819, 99, 29479, 101758, 4904, 35773, 40226, 48716, ...
[ 0.1632080078125, 0.292236328125, 0.2205810546875, 0.06317138671875, 0.226318359375, 0.1617431640625, 0.1982421875, 0.1168212890625, 0.14697265625, 0.03759765625, 0.1220703125, 0.05194091796875, 0.1416015625, 0.046966552734375, 0.1246337890625, 0.111083984375, 0.0771484375, 0.064880...
embed
14122885_c0
14122885
fsharp
0
Title: How to get a reference to a function that doesn&#x27;t take parameters in F#? Problem title: How to get a reference to a function that doesn&#x27;t take parameters in F#? Tags: f%23-3.0, f%23, memoization, functional-programming Problem: How to get a reference to a function that doesn't take parameters in F#? I ...
How to get a reference to a function that doesn&#x27;t take parameters in F#? How to get a reference to a function that doesn&#x27;t take parameters in F#? f%23-3.0 f%23 memoization functional-programming How Dictionary dict.TryGetValue dict.Add How to get a reference to a function that doesn't take parameters in F#? I...
[ 0.0025482177734375, 0.01171875, 0.01324462890625, -0.007415771484375, 0.008056640625, -0.016357421875, 0.017822265625, -0.006317138671875, -0.000293731689453125, -0.0135498046875, 0.00970458984375, 0.02294921875, -0.034912109375, 0.00994873046875, 0.0308837890625, -0.007354736328125, ...
[ 11249, 2046, 10, 91067, 47, 32354, 450, 22027, 3768, 18, 5646, 171859, 7, 563, 4904, 23, 1238, 27495, 132265, 3742, 163, 432, 47691, 123309, 28966, 147638, 61669, 1294, 724, 126, 856, 50770, 4028, 68018, 68034, 34292, 45234, 6276, 29089, ...
[ 0.056884765625, 0.1387939453125, 0.06427001953125, 0.25341796875, 0.1153564453125, 0.21630859375, 0.05523681640625, 0.121826171875, 0.039093017578125, 0.1514892578125, 0.110595703125, 0.2288818359375, 0.03106689453125, 0.1334228515625, 0.2132568359375, 0.04718017578125, 0.06439208984...
embed
64109230_c0
64109230
fsharp
0
Title: Valid F# functions for returning anonymous records with different structures Problem title: Valid F# functions for returning anonymous records with different structures Tags: f%23 Problem: Valid F# functions for returning anonymous records with different structures I'm writing an F# library to call an HTTP REST ...
Valid F# functions for returning anonymous records with different structures Valid F# functions for returning anonymous records with different structures f%23 Valid Request ApiToken ProjectId StartingAt ObjectId request.ProjectId request.StartingAt Some None Add Compiler Valid F# functions for returning anonymous recor...
[ -0.004180908203125, 0.0047607421875, 0.00909423828125, 0.00921630859375, 0.000946044921875, -0.0062255859375, -0.0096435546875, -0.01025390625, -0.0067138671875, 0.007293701171875, 0.0181884765625, 0.0162353515625, 0.0020904541015625, 0.006317138671875, 0.03759765625, -0.0181884765625,...
[ 25447, 71, 563, 4904, 32354, 30646, 52184, 10821, 115923, 678, 12921, 45646, 214, 1238, 3742, 75616, 5787, 14, 7763, 1098, 27331, 13794, 134549, 50336, 223353, 126597, 438, 15612, 34759, 32562, 35773, 135913, 627, 21828, 61687, 821, 58627, 14...
[ 0.1446533203125, 0.047210693359375, 0.138916015625, 0.2344970703125, 0.1884765625, 0.1458740234375, 0.2003173828125, 0.095458984375, 0.193603515625, 0.05670166015625, 0.16650390625, 0.186767578125, 0.009124755859375, 0.050506591796875, 0.079345703125, 0.08349609375, 0.03131103515625,...
embed
1073227_c0
1073227
fsharp
0
Title: Why is F#&#x27;s Seq.sortBy much slower than LINQ&#x27;s IEnumerable&lt;T&gt;.OrderBy extension method? Problem title: Why is F#&#x27;s Seq.sortBy much slower than LINQ&#x27;s IEnumerable&lt;T&gt;.OrderBy extension method? Tags: f%23, inline, sorting Problem: Why is F#'s Seq.sortBy much slower than LINQ's IEnume...
Why is F#&#x27;s Seq.sortBy much slower than LINQ&#x27;s IEnumerable&lt;T&gt;.OrderBy extension method? Why is F#&#x27;s Seq.sortBy much slower than LINQ&#x27;s IEnumerable&lt;T&gt;.OrderBy extension method? f%23 inline sorting Why Seq.sortBy LINQ IEnumerable OrderBy File.ReadAllLines Array.Parallel.map ln.Split String...
[ 0.025390625, 0.01434326171875, 0.0037078857421875, -0.015380859375, -0.01165771484375, -0.01495361328125, 0.009033203125, -0.0028839111328125, -0.00775146484375, -0.0262451171875, -0.00244140625, 0.040283203125, -0.004150390625, -0.01483154296875, -0.002349853515625, -0.005523681640625...
[ 44084, 563, 4904, 3768, 503, 864, 62351, 75358, 5045, 72803, 56, 46610, 2737, 75536, 2606, 2886, 618, 5386, 143045, 111938, 55300, 83, 5, 1238, 3742, 23, 2256, 12096, 214, 81206, 42724, 31345, 43512, 93232, 69253, 1229, 62346, 4353, 23351, ...
[ 0.091796875, 0.1041259765625, 0.1995849609375, 0.07489013671875, 0.06927490234375, 0.2059326171875, 0.2183837890625, 0.230712890625, 0.07623291015625, 0.2169189453125, 0.17138671875, 0.1546630859375, 0.1805419921875, 0.0938720703125, 0.1585693359375, 0.09722900390625, 0.0153198242187...
embed
52363537_c0
52363537
fsharp
0
Title: Returning an array from C to .Net: What am I doing wrong? Problem title: Returning an array from C to .Net: What am I doing wrong? Tags: interop, f%23, c%23, .net Problem: Returning an array from C to .Net: What am I doing wrong? This is a follow on from this question . I am trying to return an array of floating...
Returning an array from C to .Net: What am I doing wrong? Returning an array from C to .Net: What am I doing wrong? interop f%23 c%23 .net C DLL Returning Net What __declspec DisplayHelloFromDLL c_float P_x Hello You Load c_int P_nnz P_i P_p A_x A_nnz A_i A_p Problem OSQPSettings c_malloc Structures OSQPWorkspace Works...
[ 0.0198974609375, 0.03271484375, -0.0107421875, -0.00482177734375, -0.01373291015625, 0.01043701171875, 0.0072021484375, -0.0255126953125, 0.004730224609375, 0.004241943359375, -0.015869140625, -0.00799560546875, 0.0031585693359375, -0.0069580078125, 0.009033203125, -0.00341796875, -0...
[ 173340, 10298, 53, 1295, 313, 47, 5, 24447, 4865, 444, 87, 20594, 44691, 1940, 2146, 1238, 3742, 1179, 23708, 10086, 112, 34937, 16711, 90045, 13817, 168407, 501, 52347, 425, 35378, 2583, 2091, 4288, 33957, 254, 15649, 11787, 2737, 683, 1...
[ 0.2291259765625, 0.2164306640625, 0.162353515625, 0.1304931640625, 0.154052734375, 0.1226806640625, 0.06298828125, 0.2364501953125, 0.08154296875, 0.0916748046875, 0.0614013671875, 0.129638671875, 0.197021484375, 0.140625, 0.215087890625, 0.01092529296875, 0.1138916015625, 0.174072...
embed
33312230_c0
33312230
fsharp
0
Title: Is it possible to create a record type whose field is a function that takes a generic parameter, without specifying the type when creating the record? Problem title: Is it possible to create a record type whose field is a function that takes a generic parameter, without specifying the type when creating the reco...
Is it possible to create a record type whose field is a function that takes a generic parameter, without specifying the type when creating the record? Is it possible to create a record type whose field is a function that takes a generic parameter, without specifying the type when creating the record? f%23 LogFuncs LogW...
[ -0.01019287109375, 0.014892578125, -0.00628662109375, 0.0005950927734375, -0.00628662109375, -0.0130615234375, -0.00112152099609375, -0.011474609375, 0.01177978515625, 0.0098876953125, 0.003265380859375, -0.0189208984375, -0.006744384765625, -0.008544921875, -0.0023345947265625, -0.012...
[ 2071, 442, 7722, 28282, 17164, 10644, 124901, 44457, 83, 32354, 51776, 189534, 171859, 15490, 48502, 151138, 105233, 3742, 13146, 97249, 4439, 194583, 4063, 37839, 987, 3444, 61924, 25632, 91177, 1632, 79315, 25072, 4527, 40368, 50080, 6620, 99...
[ 0.04302978515625, 0.025238037109375, 0.156005859375, 0.1461181640625, 0.2144775390625, 0.2337646484375, 0.001678466796875, 0.197265625, 0.00732421875, 0.176513671875, 0.04034423828125, 0.213623046875, 0.1741943359375, 0.06951904296875, 0.1201171875, 0.019927978515625, 0.0801391601562...
embed