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
66678285_c0
66678285
fsharp
0
Title: returning a custom error with Suave, in F# Problem title: returning a custom error with Suave, in F# Tags: suave, f%23 Problem: returning a custom error with Suave, in F# Where can I find, in the Suave docs, the way to return an http error with a message as a plain text error? I keep looking and I just can't fin...
returning a custom error with Suave, in F# returning a custom error with Suave, in F# suave f%23 Suave ERROR INTERNAL_ERROR returning a custom error with Suave, in F# Where can I find, in the Suave docs, the way to return an http error with a message as a plain text error? I keep looking and I just can't find my way th...
[ 0.00872802734375, 0.002166748046875, -0.005126953125, 0.01275634765625, 0.010498046875, 0.0016326904296875, -0.005889892578125, -0.0279541015625, 0.000576019287109375, -0.0042724609375, 0.0291748046875, 0.00140380859375, -0.01202392578125, -0.0087890625, 0.0198974609375, 0.013244628906...
[ 30646, 114122, 18499, 678, 45384, 272, 563, 4904, 109829, 1238, 3949, 3742, 151206, 59692, 147784, 12501, 14255, 7413, 54, 4439, 3917, 47, 1621, 26008, 237, 111719, 7986, 45646, 27781, 1884, 831, 4527, 26242, 933, 3444, 19048, 27875, 10002, ...
[ 0.1956787109375, 0.194580078125, 0.2347412109375, 0.09051513671875, 0.219482421875, 0.2320556640625, 0.11328125, 0.1492919921875, 0.2349853515625, 0.05230712890625, 0.029632568359375, 0.1229248046875, 0.1385498046875, 0.110107421875, 0.0849609375, 0.1121826171875, 0.1092529296875, ...
embed
23954763_c0
23954763
fsharp
0
Title: Why does this F# expression stack overflow Problem title: Why does this F# expression stack overflow Tags: f%23 Problem: Why does this F# expression stack overflow let ints = [1..40000] // create [{1};{2};.....{40000}] let a1 = ints |> List.map Seq.singleton // tail recursively append all the inner list let a2 =...
Why does this F# expression stack overflow Why does this F# expression stack overflow f%23 Why List.map Seq.singleton List.fold Seq.append Seq.empty Seq.forall overflow...why Why does this F# expression stack overflow my reason for asking is concern that I have code that will recursively append and I need to be sure it...
[ -0.00084686279296875, 0.01361083984375, 0.0142822265625, 0.00799560546875, -0.00921630859375, -0.009765625, 0.00604248046875, 0.01104736328125, 0.01416015625, -0.00115203857421875, 0.00106048583984375, 0.010986328125, 0.01904296875, 0.0223388671875, 0.024658203125, -0.0198974609375, ...
[ 44084, 14602, 903, 563, 4904, 125195, 177261, 645, 118664, 1238, 3949, 3742, 32036, 62346, 503, 864, 6953, 1507, 42822, 9007, 3611, 33548, 939, 2472, 5584, 3038, 31635, 50509, 18151, 1221, 195625, 114689, 71, 9077, 102310, 1257, 13028, 27781,...
[ 0.178466796875, 0.1070556640625, 0.1026611328125, 0.1441650390625, 0.2086181640625, 0.249755859375, 0.2237548828125, 0.131591796875, 0.281005859375, 0.1142578125, 0.047943115234375, 0.1658935546875, 0.1539306640625, 0.1170654296875, 0.046173095703125, 0.1380615234375, 0.071044921875,...
embed
39783269_c1
39783269
fsharp
1
005): External component has thrown an exception The only way to avoid this runtime Exception is to wrap the handle in a SecureHandle() subclass, but I think that's against the ref-ref\out-out rule on MSDN: CA1021: Avoid out parameters . IE, System.Void* realPointer = someAllocIntPtr.ToPointer() is the ACTUAL pointer (...
005): External component has thrown an exception The only way to avoid this runtime Exception is to wrap the handle in a SecureHandle() subclass, but I think that's against the ref-ref\out-out rule on MSDN: CA1021: Avoid out parameters . IE, System.Void* realPointer = someAllocIntPtr.ToPointer() is the ACTUAL pointer (...
[ 0.022216796875, 0.02685546875, 0.0147705078125, -0.01611328125, -0.0262451171875, 0.0157470703125, -0.023681640625, 0.01446533203125, 0.0191650390625, -0.01373291015625, 0.0081787109375, -0.006195068359375, 0.02197265625, 0.037109375, 0.02197265625, -0.0238037109375, 0.00098419189453...
[ 130171, 2077, 141070, 289, 82761, 1556, 104250, 19, 142, 131527, 4734, 3917, 47, 71864, 903, 11675, 6032, 5443, 63928, 83, 137565, 70, 34831, 208500, 135679, 133, 132, 1614, 67413, 5351, 26548, 18831, 29087, 41872, 6056, 79986, 16265, 51671, ...
[ 0.2724609375, 0.072509765625, 0.236572265625, 0.15478515625, 0.26220703125, 0.187744140625, 0.204345703125, 0.126220703125, 0.065185546875, 0.287841796875, 0.09991455078125, 0.108154296875, 0.0875244140625, 0.259521484375, 0.11474609375, 0.121337890625, 0.1561279296875, 0.153686523...
embed
1060506_c0
1060506
fsharp
0
Title: F# using sequence cache correctly Problem title: F# using sequence cache correctly Tags: sequence, caching, primes, f%23 Problem: F# using sequence cache correctly I'm trying to use Seq.cache with a function that I made that returns a sequence of primes up to a number N excluding the number 1. I'm having trouble...
F# using sequence cache correctly F# using sequence cache correctly sequence caching primes f%23 sequence primesNot1 Seq.filter Seq.for_all Seq.append Seq.cache F# using sequence cache correctly I'm trying to use Seq.cache with a function that I made that returns a sequence of primes up to a number N excluding the numb...
[ 0.0019073486328125, 0.037353515625, 0.020751953125, -0.0052490234375, 0.0279541015625, -0.017333984375, 0.0030364990234375, 0.00144195556640625, 0.00457763671875, -0.045166015625, -0.0118408203125, 0.038330078125, 0.0089111328125, 0.004241943359375, 0.02978515625, 0.0103759765625, -0...
[ 563, 4904, 17368, 40, 944, 3956, 82365, 26785, 377, 59207, 20809, 1238, 3949, 3742, 122116, 503, 864, 120337, 2472, 5584, 408, 1430, 31577, 4527, 5, 32354, 7228, 30646, 1257, 14012, 541, 39041, 6238, 615, 63134, 26747, 13695, 71, 23, 7082...
[ 0.1312255859375, 0.21337890625, 0.08526611328125, 0.0645751953125, 0.149658203125, 0.080810546875, 0.23681640625, 0.13330078125, 0.1339111328125, 0.10296630859375, 0.146240234375, 0.05126953125, 0.0289154052734375, 0.135498046875, 0.0665283203125, 0.1094970703125, 0.2139892578125, ...
embed
2422697_c0
2422697
fsharp
0
Title: How to code Fizzbuzz in F# Problem title: How to code Fizzbuzz in F# Tags: fizzbuzz, f%23 Problem: How to code Fizzbuzz in F# I am currently learning F# and have tried (an extremely) simple example of FizzBuzz. This is my initial attempt: for x in 1..100 do if x % 3 = 0 && x % 5 = 0 then printfn "FizzBuzz" elif ...
How to code Fizzbuzz in F# How to code Fizzbuzz in F# fizzbuzz f%23 How Fizzbuzz Fizz Buzz How to code Fizzbuzz in F# I am currently learning F# and have tried (an extremely) simple example of FizzBuzz. This is my initial attempt: What solutions could be more elegant/simple/better (explaining why) using F# to solve thi...
[ 0.010498046875, -0.0020751953125, -0.0002593994140625, 0.01171875, 0.006683349609375, 0.01116943359375, 0.00823974609375, -0.004150390625, -0.001556396484375, 0.004119873046875, 0.0185546875, -0.0247802734375, 0.006927490234375, 0.0113525390625, -0.01470947265625, 0.0024871826171875, ...
[ 11249, 18151, 94610, 169, 76487, 23, 563, 4904, 47, 17148, 1238, 3949, 3742, 188272, 82424, 52080, 37842, 111531, 8781, 27781, 7235, 13894, 3293, 61475, 81887, 51347, 5809, 1286, 27650, 191560, 3055, 83613, 143, 15400, 17368, 86869, 2967, 773...
[ 0.0826416015625, 0.221923828125, 0.220703125, 0.179443359375, 0.238525390625, 0.06475830078125, 0.157958984375, 0.21240234375, 0.0214691162109375, 0.173583984375, 0.091796875, 0.035675048828125, 0.156982421875, 0.25830078125, 0.031707763671875, 0.015167236328125, 0.0257415771484375, ...
embed
26327426_c0
26327426
fsharp
0
Title: How to use nuget with fsharp on Linux Problem title: How to use nuget with fsharp on Linux Tags: nuget, mono, f%23, linux Problem: How to use nuget with fsharp on Linux It's my first hours with F#, playing with it on Ubuntu Linux (14.04) but I am lost how to include install dependencies with nuget. I have nuget....
How to use nuget with fsharp on Linux How to use nuget with fsharp on Linux nuget mono f%23 linux How Linux nuget.exe example.fs How to use nuget with fsharp on Linux It's my first hours with F#, playing with it on Ubuntu Linux (14.04) but I am lost how to include install dependencies with nuget. I have nuget.exe worki...
[ -0.005645751953125, 0.004058837890625, -0.00689697265625, -0.01275634765625, 0.00067138671875, 0.006011962890625, 0.024658203125, -0.00616455078125, 0.0081787109375, -0.0133056640625, -0.0101318359375, -0.00885009765625, -0.003173828125, 0.013671875, 0.0098876953125, -0.001449584960937...
[ 11249, 47, 4527, 315, 3794, 678, 1238, 89280, 254, 98, 29908, 22460, 3742, 11508, 6077, 46480, 27781, 17447, 5117, 21974, 563, 4904, 75169, 116890, 26205, 112072, 72856, 3642, 26698, 20600, 42548, 117538, 20697, 5885, 77879, 831, 98169, 3551,...
[ 0.06878662109375, 0.044830322265625, 0.1336669921875, 0.18798828125, 0.259033203125, 0.133544921875, 0.133056640625, 0.19677734375, 0.154052734375, 0.0980224609375, 0.222900390625, 0.160888671875, 0.07940673828125, 0.091796875, 0.02557373046875, 0.1368408203125, 0.2081298828125, 0....
embed
3209216_c0
3209216
fsharp
0
Title: Using WPF's TreeView to draw trees Problem title: Using WPF's TreeView to draw trees Tags: treeview, tree, wpf, f%23 Problem: Using WPF's TreeView to draw trees I'd like to use a WPF System.Windows.Controls.TreeView to visualize a tree in the style of graph/network layout (e.g. graphviz). The default l...
Using WPF's TreeView to draw trees Using WPF's TreeView to draw trees treeview tree wpf f%23 Using WPF TreeView System.Windows.Controls.TreeView Using WPF's TreeView to draw trees I'd like to use a WPF System.Windows.Controls.TreeView to visualize a tree in the style of graph/network layout (e.g. graphviz). T...
[ 0.0107421875, 0.048583984375, -0.0093994140625, -0.009033203125, -0.0037841796875, -0.008056640625, -0.007049560546875, -0.015625, -0.00335693359375, -0.039794921875, 0.01544189453125, -0.01544189453125, 0.00762939453125, -0.00238037109375, -0.00360107421875, -0.002960205078125, 0.01...
[ 345, 601, 41265, 3768, 101344, 100474, 79442, 1360, 90, 53201, 22751, 39557, 12353, 43342, 175904, 62731, 1884, 4527, 13, 21176, 20623, 41382, 18244, 108802, 22572, 114977, 6226, 33342, 3773, 56489, 14364, 21455, 56, 15549, 3884, 74855, 2663, ...
[ 0.017425537109375, 0.054412841796875, 0.1890869140625, 0.04473876953125, 0.1839599609375, 0.296875, 0.1644287109375, 0.1962890625, 0.0479736328125, 0.217529296875, 0.2210693359375, 0.0960693359375, 0.06298828125, 0.04864501953125, 0.1456298828125, 0.1376953125, 0.030548095703125, 0...
embed
22505893_c0
22505893
fsharp
0
Title: F# Compare two lists, take different actions Problem title: F# Compare two lists, take different actions Tags: c%23-to-f%23, f%23 Problem: F# Compare two lists, take different actions How to idiomatically do this: given a list of stuff, find if an item in it meets a criteria in another list, if it does do one ac...
F# Compare two lists, take different actions F# Compare two lists, take different actions c%23-to-f%23 f%23 k i Compare list1 list2 F# Compare two lists, take different actions How to idiomatically do this: given a list of stuff, find if an item in it meets a criteria in another list, if it does do one action, if it do...
[ 0.0027618408203125, 0.00567626953125, 0.01025390625, -0.00106048583984375, 0.002838134765625, 0.0069580078125, 0.0172119140625, 0.0230712890625, 0.0096435546875, 0.031005859375, 0.01361083984375, 0.0228271484375, -0.0027923583984375, -0.007415771484375, -0.01385498046875, -0.0046081542...
[ 563, 4904, 113307, 13, 6626, 5303, 7, 4, 5646, 12921, 61972, 27495, 188, 420, 3742, 1238, 472, 17, 418, 304, 49666, 18, 71407, 54, 903, 34475, 41884, 7413, 2174, 142, 35735, 23, 23356, 55738, 15700, 14602, 1632, 22631, 22027, 18151, 294...
[ 0.1427001953125, 0.2076416015625, 0.246337890625, 0.09820556640625, 0.1328125, 0.2325439453125, 0.01202392578125, 0.0120849609375, 0.1270751953125, 0.1632080078125, 0.193115234375, 0.08990478515625, 0.1322021484375, 0.0968017578125, 0.05889892578125, 0.052093505859375, 0.050933837890...
embed
47530621_c0
47530621
fsharp
0
Title: Why can't I match on a string or string list type Problem title: Why can't I match on a string or string list type Tags: discriminated-union, f%23 Problem: Why can't I match on a string or string list type I'm new to F# and trying to use a union type of string or string list and then match on it inside...
Why can't I match on a string or string list type Why can't I match on a string or string list type discriminated-union f%23 Why Why can't I match on a string or string list type I'm new to F# and trying to use a union type of string or string list and then match on it inside a function. I get an error on the...
[ -0.01470947265625, 0.005035400390625, -0.000858306884765625, -0.0047607421875, -0.0101318359375, -0.021728515625, -0.00457763671875, -0.007049560546875, 0.0108642578125, 0.015625, 0.0322265625, -0.0017242431640625, 0.0035552978515625, -0.01300048828125, 0.00335693359375, -0.001953125, ...
[ 44084, 831, 3768, 18, 87, 14858, 98, 79315, 707, 5303, 10644, 55970, 3674, 87046, 1238, 3742, 3525, 563, 4904, 69941, 46132, 32354, 18499, 116, 2208, 7225, 125195, 84751, 91693, 19060, 154663, 3688, 11, 15400, 17932 ]
[ 0.1424560546875, 0.12109375, 0.03302001953125, 0.1195068359375, 0.07244873046875, 0.26708984375, 0.08544921875, 0.2012939453125, 0.0648193359375, 0.1749267578125, 0.1427001953125, 0.1944580078125, 0.055450439453125, 0.197021484375, 0.0751953125, 0.04931640625, 0.0308837890625, 0.08...
embed
30653760_c0
30653760
fsharp
0
Title: How do I ignore escape characters in command line arguments? Problem title: How do I ignore escape characters in command line arguments? Tags: f%23, command-line Problem: How do I ignore escape characters in command line arguments? Consider a simple F# console application that echoes the command line arguments p...
How do I ignore escape characters in command line arguments? How do I ignore escape characters in command line arguments? f%23 command-line How EntryPoint Array.iter app.exe How do I ignore escape characters in command line arguments? Consider a simple F# console application that echoes the command line arguments passe...
[ 0.01025390625, 0.005889892578125, -0.01043701171875, -0.01080322265625, -0.0096435546875, 0.0166015625, 0.0213623046875, -0.0047607421875, -0.017822265625, 0.01953125, -0.006561279296875, -0.004180908203125, -0.016357421875, 0.032958984375, -0.0029754638671875, 0.004180908203125, 0.0...
[ 11249, 124962, 144281, 124850, 75101, 13315, 10750, 87, 1238, 3949, 3742, 2256, 357, 15123, 147534, 69253, 53, 16840, 4027, 46480, 23, 7, 8781, 563, 4904, 130250, 38415, 28, 3089, 115081, 1632, 117, 27875, 1528, 14364, 60875, 141037, 214, 5...
[ 0.04058837890625, 0.203857421875, 0.240234375, 0.1768798828125, 0.185791015625, 0.1124267578125, 0.1832275390625, 0.010040283203125, 0.04425048828125, 0.024566650390625, 0.1444091796875, 0.06317138671875, 0.040985107421875, 0.1131591796875, 0.1336669921875, 0.08843994140625, 0.049102...
embed
14743506_c1
14743506
fsharp
1
2.0.0.0, Culture=neutral, PublicKeyToken=a19089b1c74d0809" could not be located." I've tried the settings mentioned by manojlds here , but they don't seem to be working for me either. I think it is because my copy of VS2010 Pro has a newer version of the F# compiler, but I don't know how to tell for sure. Can someone h...
2.0.0.0, Culture=neutral, PublicKeyToken=a19089b1c74d0809" could not be located." I've tried the settings mentioned by manojlds here , but they don't seem to be working for me either. I think it is because my copy of VS2010 Pro has a newer version of the F# compiler, but I don't know how to tell for sure. Can someone h...
[ -0.005279541015625, 0.0245361328125, -0.0203857421875, -0.0458984375, -0.000040531158447265625, 0.010498046875, -0.0257568359375, -0.0133056640625, -0.015380859375, -0.0281982421875, -0.0284423828125, -0.006011962890625, 0.0157470703125, -0.011962890625, 0.0233154296875, -0.01843261718...
[ 16655, 5, 99929, 105141, 218142, 16934, 162429, 7763, 1098, 11, 66951, 18949, 16360, 8318, 6463, 5809, 959, 186, 105866, 37842, 53550, 7, 80430, 18, 48903, 20697, 163, 40101, 43658, 44160, 11436, 1250, 10, 11389, 563, 4904, 9969, 34759, 282...
[ 0.1695556640625, 0.003387451171875, 0.1805419921875, 0.22509765625, 0.1680908203125, 0.1185302734375, 0.1192626953125, 0.06011962890625, 0.1302490234375, 0.020843505859375, 0.1109619140625, 0.115966796875, 0.0794677734375, 0.0689697265625, 0.1590576171875, 0.0927734375, 0.09851074218...
embed
1993760_c1
1993760
fsharp
1
) let L = [Some(0); x; Some(43)] let M = Some(1) |> insert L 1 The following three expressions all evaluate to true , indicating that the value referred to by x is re-used both in lists L and M , ie. that there is only 1 copy of this value in memory: L.[1] === x M.[2] === x L.[1] === M.[2] My question: Do functional pr...
) let L = [Some(0); x; Some(43)] let M = Some(1) |> insert L 1 The following three expressions all evaluate to true , indicating that the value referred to by x is re-used both in lists L and M , ie. that there is only 1 copy of this value in memory: L.[1] === x M.[2] === x L.[1] === M.[2] My question: Do functional pr...
[ -0.0159912109375, 0.028564453125, 0.0091552734375, 0.00135040283203125, 0.0074462890625, -0.01251220703125, -0.0147705078125, -0.01348876953125, 0.0274658203125, -0.021240234375, 0.01519775390625, 0.0361328125, 0.021728515625, -0.0081787109375, 0.0247802734375, 0.01068115234375, 0.00...
[ 1388, 2633, 339, 2203, 8912, 282, 177609, 1022, 31384, 133029, 276, 27750, 183540, 106, 25632, 17262, 125195, 7, 756, 151575, 29568, 114141, 34292, 15005, 2822, 47, 83, 456, 9, 33740, 15044, 23, 5303, 136, 4734, 43658, 111, 98323, 25432, ...
[ 0.00262451171875, 0.1119384765625, 0.1351318359375, 0.08099365234375, 0.01361083984375, 0.0491943359375, 0.1483154296875, 0.124267578125, 0.1641845703125, 0.1702880859375, 0.09088134765625, 0.0628662109375, 0.21728515625, 0.0975341796875, 0.032135009765625, 0.17431640625, 0.238403320...
embed
22012307_c2
22012307
fsharp
2
="level2Name6" a="700" b="700" /></level1><level1 name="level1Name3" x="7"><level2 name="level2Name7" a="502" b="66" /></level1></ROOT>""") let howToDoIt = myXml.GetLevel1s() |> Seq.collect (fun L1 -> L1.GetLevel2s()) |> Seq.tryFind (fun L2 -> L2.b = L1.x * L2.a) // *REMARK |> function | None -> "" | Some L2 -> L2.Name...
="level2Name6" a="700" b="700" /></level1><level1 name="level1Name3" x="7"><level2 name="level2Name7" a="502" b="66" /></level1></ROOT>""") let howToDoIt = myXml.GetLevel1s() |> Seq.collect (fun L1 -> L1.GetLevel2s()) |> Seq.tryFind (fun L2 -> L2.b = L1.x * L2.a) // *REMARK |> function | None -> "" | Some L2 -> L2.Name...
[ -0.0031280517578125, 0.03662109375, -0.006805419921875, 0.006927490234375, 0.0022125244140625, 0.0179443359375, -0.01220703125, -0.010986328125, -0.001556396484375, -0.00885009765625, 0.03125, 0.02197265625, 0.007781982421875, -0.0038299560546875, 0.006805419921875, -0.00823974609375, ...
[ 22422, 67919, 304, 163612, 910, 58, 10, 15128, 876, 418, 9351, 363, 1022, 966, 2525, 14604, 162727, 2633, 3642, 7763, 8331, 23389, 759, 1542, 7237, 126, 5267, 2601, 503, 864, 196352, 16498, 339, 6, 15123, 204582, 5442, 275, 425, 11, 117...
[ 0.051544189453125, 0.2154541015625, 0.153076171875, 0.1337890625, 0.169189453125, 0.0142822265625, 0.07940673828125, 0.1539306640625, 0.0687255859375, 0.09002685546875, 0.082763671875, 0.07794189453125, 0.0048828125, 0.05181884765625, 0.0574951171875, 0.14111328125, 0.16845703125, ...
embed
3251608_c1
3251608
fsharp
1
or using that tag work fine, though the fact that the tooltip view of the IWdiget interface lacks any mention of the Invalidate event, and the necessity of implementing such an event is only noticed when the compiler throws an error, is still a clear bug and is pretty confusing. For anyone curious, the following code ...
or using that tag work fine, though the fact that the tooltip view of the IWdiget interface lacks any mention of the Invalidate event, and the necessity of implementing such an event is only noticed when the compiler throws an error, is still a clear bug and is pretty confusing. For anyone curious, the following code ...
[ -0.0179443359375, 0.0308837890625, -0.0031280517578125, -0.007659912109375, -0.02001953125, -0.0024871826171875, -0.000133514404296875, -0.017333984375, 0.01318359375, -0.0089111328125, 0.011474609375, 0.0145263671875, 0.0019989013671875, 0.0166015625, -0.01080322265625, -0.00799560546...
[ 707, 17368, 450, 7909, 4488, 5885, 55516, 30019, 21455, 87, 1456, 15386, 18, 101758, 21, 22824, 41392, 360, 7013, 17489, 19732, 30050, 29479, 6044, 156672, 9969, 34759, 104250, 18499, 34735, 54608, 55681, 35672, 193844, 70, 25632, 18151, 4324...
[ 0.06744384765625, 0.15478515625, 0.083251953125, 0.234619140625, 0.12744140625, 0.1494140625, 0.137451171875, 0.1856689453125, 0.22412109375, 0.1358642578125, 0.09796142578125, 0.1712646484375, 0.156494140625, 0.2286376953125, 0.02471923828125, 0.06103515625, 0.0235595703125, 0.098...
embed
3529657_c0
3529657
fsharp
0
Title: Compiling an F# quotation: performance? Problem title: Compiling an F# quotation: performance? Tags: f%23, performance Problem: Compiling an F# quotation: performance? I have an F# quotation that I manipulate (I add object pools everywhere to recycle short lived objects that get created and deleted very often). ...
Compiling an F# quotation: performance? Compiling an F# quotation: performance? f%23 performance Compiling Compiling an F# quotation: performance? I have an F# quotation that I manipulate (I add object pools everywhere to recycle short lived objects that get created and deleted very often). I would like to run the resu...
[ 0.0147705078125, 0.00469970703125, -0.000415802001953125, -0.006103515625, -0.0177001953125, 0.000949859619140625, -0.004608154296875, -0.01226806640625, 0.01226806640625, -0.034912109375, -0.00244140625, 0.02099609375, 0.01092529296875, 0.0126953125, -0.00665283203125, 0.0064697265625...
[ 15612, 49725, 142, 563, 4904, 81732, 1363, 12, 23718, 32, 1238, 3949, 3742, 765, 87, 45258, 67, 15190, 36746, 19361, 219743, 47, 456, 75457, 16610, 158930, 75935, 154109, 4552, 27983, 1884, 11675, 16750, 11814, 17170, 205956, 64600, 150624, ...
[ 0.16552734375, 0.1571044921875, 0.060333251953125, 0.174560546875, 0.2498779296875, 0.2271728515625, 0.1422119140625, 0.046051025390625, 0.24267578125, 0.05072021484375, 0.126953125, 0.05938720703125, 0.144775390625, 0.006591796875, 0.012298583984375, 0.1568603515625, 0.0302734375, ...
embed
34603913_c0
34603913
fsharp
0
Title: Suave in watch mode (during development) Problem title: Suave in watch mode (during development) Tags: f%23, suave Problem: Suave in watch mode (during development) I am working on Suave 1.0 + Angular 2.0 sample app and very interesting to start Suave server in watch mode, so the server watch file changes (js,cs...
Suave in watch mode (during development) Suave in watch mode (during development) f%23 suave Suave Suave in watch mode (during development) I am working on Suave 1.0 + Angular 2.0 sample app and very interesting to start Suave server in watch mode, so the server watch file changes (js,css,html) in root folder and sub-f...
[ -0.0030364990234375, 0.00311279296875, 0.00006580352783203125, -0.004852294921875, -0.0021514892578125, -0.007110595703125, 0.0047607421875, 0.0301513671875, -0.0032501220703125, -0.017822265625, 0.0167236328125, -0.0014801025390625, 0.018798828125, 0.0263671875, 0.0390625, -0.00451660...
[ 45384, 272, 23, 39544, 13736, 3020, 214, 34754, 1238, 3949, 3742, 109829, 20697, 53855, 997, 2393, 35975, 16655, 121413, 4027, 49041, 4034, 10723, 11435, 65572, 28175, 4439, 7693, 74855, 78303, 1614, 42822, 191082, 25379, 210651, 75101, 756, ...
[ 0.2421875, 0.251708984375, 0.08404541015625, 0.2420654296875, 0.19580078125, 0.05950927734375, 0.016326904296875, 0.1466064453125, 0.01806640625, 0.0284881591796875, 0.0780029296875, 0.264404296875, 0.05596923828125, 0.078125, 0.01629638671875, 0.0938720703125, 0.2042236328125, 0.1...
embed
78610748_c0
78610748
fsharp
0
Title: How can ConditionalWeakTable be used with multiple references? Problem title: How can ConditionalWeakTable be used with multiple references? Tags: memoization, f%23, .net Problem: How can ConditionalWeakTable be used with multiple references? ConditionalWeakTable represents a thread-safe way to attach references...
How can ConditionalWeakTable be used with multiple references? How can ConditionalWeakTable be used with multiple references? memoization f%23 .net How ConditionalWeakTable How can ConditionalWeakTable be used with multiple references? ConditionalWeakTable represents a thread-safe way to attach references to other refe...
[ -0.0086669921875, 0.0012969970703125, 0.01019287109375, 0.004119873046875, 0.0087890625, 0.01025390625, 0.01129150390625, 0.0078125, 0.01025390625, 0.00592041015625, -0.00183868408203125, 0.0108642578125, -0.0098876953125, 0.0341796875, 0.0064697265625, 0.0166015625, 0.00970458984375...
[ 11249, 831, 46347, 43315, 12137, 344, 618, 2886, 11814, 678, 48716, 91067, 7, 163, 432, 47691, 3742, 33636, 86997, 115840, 3917, 243, 934, 3789, 402, 42486, 220642, 11001, 237, 22799, 4527, 32354, 26946, 17262, 52895, 107730, 27489, 34292, ...
[ 0.06048583984375, 0.042755126953125, 0.17333984375, 0.140869140625, 0.1588134765625, 0.146240234375, 0.164794921875, 0.1961669921875, 0.129638671875, 0.0703125, 0.212646484375, 0.2186279296875, 0.03155517578125, 0.058563232421875, 0.111083984375, 0.08941650390625, 0.040069580078125, ...
embed
59231127_c0
59231127
fsharp
0
Title: Convert points to lines in fsharp Problem title: Convert points to lines in fsharp Tags: f%23 Problem: Convert points to lines in fsharp I have several points that I want to convert to lines. for example [{x=0; y=0}; {x=1; y=1}; {x=2; y=2}; {x=3; y3}] should be converted to [({x=0; y=0}, {x=1; y=1}); ({x=1; y=1}...
Convert points to lines in fsharp Convert points to lines in fsharp f%23 Convert Point Line List.length List.tail Convert points to lines in fsharp I have several points that I want to convert to lines. for example [{x=0; y=0}; {x=1; y=1}; {x=2; y=2}; {x=3; y3}] should be converted to [({x=0; y=0}, {x=1; y=1}); ({x=1; ...
[ -0.007598876953125, 0.00775146484375, 0.002349853515625, -0.007080078125, -0.0159912109375, 0.0038299560546875, -0.00909423828125, 0.00921630859375, 0.0159912109375, -0.037353515625, -0.01202392578125, 0.013427734375, 0.003814697265625, 0.000118255615234375, 0.00994873046875, 0.0200195...
[ 1657, 11549, 26847, 47, 124519, 23, 1238, 89280, 254, 3949, 3742, 41097, 16777, 32036, 23986, 46741, 40368, 3444, 96760, 145407, 113, 33000, 55257, 76067, 363, 5608, 117176, 43581, 51515, 1884, 903, 9655, 2685, 1632, 79852, 49666, 9523, 3917,...
[ 0.05096435546875, 0.1561279296875, 0.2177734375, 0.1378173828125, 0.277099609375, 0.05548095703125, 0.12646484375, 0.2047119140625, 0.155517578125, 0.032958984375, 0.1395263671875, 0.165283203125, 0.1995849609375, 0.1473388671875, 0.022003173828125, 0.17333984375, 0.055908203125, 0...
embed
54372555_c1
54372555
fsharp
1
has type 'IBase' let case8: IDerived -> unit = let z = fun (x: IBase) -> () in z // OK EDIT: To clarify, I'm mostly wondering why the 8 cases are not treated equally by the compiler. For example, I'd expect the binding let z... in case8 to be superfluous, yet it makes a difference (compared to case7 ). Why? EDIT: Here...
has type 'IBase' let case8: IDerived -> unit = let z = fun (x: IBase) -> () in z // OK EDIT: To clarify, I'm mostly wondering why the 8 cases are not treated equally by the compiler. For example, I'd expect the binding let z... in case8 to be superfluous, yet it makes a difference (compared to case7 ). Why? EDIT: Here...
[ 0.00653076171875, 0.01458740234375, -0.00604248046875, 0.00677490234375, -0.01190185546875, -0.00958251953125, -0.00909423828125, -0.00445556640625, 0.0093994140625, 0.0157470703125, -0.00750732421875, 0.007476806640625, -0.00909423828125, 0.00469970703125, -0.00567626953125, -0.002227...
[ 1556, 10644, 29877, 6991, 2633, 7225, 1019, 11338, 4207, 4126, 33079, 25072, 2203, 97, 7477, 425, 88874, 23, 14315, 17306, 153161, 149016, 15400, 382, 50218, 621, 959, 191607, 105950, 9969, 34759, 41206, 128239, 27, 1601, 18026, 10821, 14373,...
[ 0.100830078125, 0.195068359375, 0.152587890625, 0.252685546875, 0.1890869140625, 0.1895751953125, 0.2098388671875, 0.0958251953125, 0.1533203125, 0.1964111328125, 0.0229034423828125, 0.22802734375, 0.0189971923828125, 0.1842041015625, 0.2215576171875, 0.0684814453125, 0.1531982421875...
embed
54994661_c0
54994661
fsharp
0
Title: F# extending constrained array Problem title: F# extending constrained array Tags: generic-programming, generics, extension-methods, f%23 Problem: F# extending constrained array Say I have the following snippet type 'T``[]`` when 'T : (static member (+) : 'T -> 'T -> 'T) with member inline self.sum = Array.fold ...
F# extending constrained array F# extending constrained array generic-programming generics extension-methods f%23 self.sum Array.fold Error FS0957 One F# extending constrained array Say I have the following snippet It's hopefully obvious that I want to add an extension method only when 'T supports the + operator. Howev...
[ -0.00909423828125, 0.0030364990234375, 0.0185546875, 0.0086669921875, 0.00543212890625, -0.0262451171875, -0.021728515625, 0.0081787109375, -0.00982666015625, -0.032470703125, 0.004180908203125, -0.0262451171875, -0.000240325927734375, -0.00946044921875, -0.003173828125, -0.02075195312...
[ 563, 4904, 65042, 158, 9297, 122009, 10298, 189534, 28966, 111938, 1928, 7352, 1238, 3742, 15970, 11832, 69253, 53, 42822, 212059, 93774, 6463, 12243, 6561, 214, 25632, 93, 219736, 162520, 3444, 15190, 55300, 4734, 618, 8060, 997, 39933, 1369...
[ 0.12109375, 0.18408203125, 0.1456298828125, 0.0816650390625, 0.156494140625, 0.07989501953125, 0.1485595703125, 0.145263671875, 0.05084228515625, 0.2120361328125, 0.049896240234375, 0.092041015625, 0.07940673828125, 0.1390380859375, 0.082275390625, 0.1597900390625, 0.10540771484375, ...
embed
18970823_c0
18970823
fsharp
0
Title: How does F# pipeline operator work Problem title: How does F# pipeline operator work Tags: pipeline, f%23 Problem: How does F# pipeline operator work have a code: //e = 1/2*Sum((yi -di)^2) let error y d = let map = Array.map2 (fun y d -> (y - d) ** 2.0) y d let sum = Array.sum map (sum / 2.0) let error2 y d = Ar...
How does F# pipeline operator work How does F# pipeline operator work pipeline f%23 How Sum Array.map2 Array.sum error2 How does F# pipeline operator work have a code: as i understood those functions should produce the same results, but there are a big difference in the results. Can anyone explain this? p.s. Simplified...
[ -0.0059814453125, 0.0026092529296875, 0.002166748046875, 0.0030059814453125, 0.00170135498046875, -0.02001953125, -0.0145263671875, 0.01129150390625, 0.010009765625, -0.004638671875, -0.00274658203125, 0.006256103515625, 0.0179443359375, -0.01409912109375, 0.0111083984375, 0.0043334960...
[ 11249, 14602, 563, 4904, 137158, 2256, 39933, 4488, 1238, 3949, 3742, 36335, 69253, 53, 62346, 304, 11832, 18499, 765, 18151, 217064, 32354, 27489, 5701, 50339, 1284, 2685, 621, 10, 6957, 60212, 23, 4171, 73342, 27781, 41206, 3034, 2203, 53...
[ 0.1090087890625, 0.0849609375, 0.1468505859375, 0.2120361328125, 0.1715087890625, 0.1588134765625, 0.2254638671875, 0.1590576171875, 0.089111328125, 0.010894775390625, 0.10125732421875, 0.1405029296875, 0.0955810546875, 0.0843505859375, 0.087890625, 0.0794677734375, 0.1444091796875, ...
embed
43402043_c0
43402043
fsharp
0
Title: Escaping Asterisk Grabs wrong character Problem title: Escaping Asterisk Grabs wrong character Tags: f%23, regex Problem: Escaping Asterisk Grabs wrong character When I run the code below I get the unexpected result where \* also captures É . Is there a way to make it only capture * like I wanted? let s = "* A É...
Escaping Asterisk Grabs wrong character Escaping Asterisk Grabs wrong character f%23 regex Escaping Asterisk Grabs System.Text.RegularExpressions.Regex.Replace Text.RegularExpressions.RegexOptions.Multiline Escaping Asterisk Grabs wrong character When I run the code below I get the unexpected result where \* also captu...
[ -0.0159912109375, 0.00213623046875, 0.005828857421875, 0.0084228515625, -0.01202392578125, 0.002410888671875, 0.00390625, 0.013916015625, 0.01458740234375, 0.0224609375, 0.0155029296875, -0.004119873046875, -0.006591796875, 0.003173828125, 0.00262451171875, 0.005279541015625, 0.05224...
[ 156704, 10366, 65473, 57786, 78922, 7, 44691, 62816, 1238, 3949, 3742, 6835, 3355, 12353, 174379, 54601, 35975, 178752, 17514, 4332, 23935, 24129, 39029, 2256, 11675, 18151, 35064, 241957, 16750, 41872, 1639, 2843, 141621, 3050, 3917, 3249, 473...
[ 0.1641845703125, 0.0958251953125, 0.134521484375, 0.21435546875, 0.216796875, 0.02789306640625, 0.21337890625, 0.195068359375, 0.059844970703125, 0.047027587890625, 0.1416015625, 0.1318359375, 0.1146240234375, 0.1065673828125, 0.1077880859375, 0.10675048828125, 0.06414794921875, 0....
embed
3821472_c0
3821472
fsharp
0
Title: Use list cons operator (a :: b) as a function Problem title: Use list cons operator (a :: b) as a function Tags: operator-keyword, function, f%23 Problem: Use list cons operator (a :: b) as a function F# lets you turn operators into functions by surrounding them with ( ) : for instance, (+) is of type int -> int...
Use list cons operator (a :: b) as a function Use list cons operator (a :: b) as a function operator-keyword function f%23 Use FSI FS0010 Unexpected Expected List.Cons Use list cons operator (a :: b) as a function F# lets you turn operators into functions by surrounding them with ( ) : for instance, (+) is of type int ...
[ 0.022216796875, -0.0167236328125, 0.024658203125, 0.007232666015625, 0.0135498046875, 0.00396728515625, -0.01055908203125, 0.0035247802734375, 0.009765625, -0.0223388671875, 0.0267333984375, -0.004608154296875, 0.013916015625, 0.0184326171875, -0.0003032684326171875, -0.02978515625, ...
[ 36836, 5303, 158, 7, 39933, 11, 1984, 876, 237, 32354, 19770, 47416, 1238, 3949, 3742, 563, 9902, 93774, 7049, 963, 992, 83613, 13, 89829, 60075, 32036, 11935, 4904, 2633, 15504, 3934, 206990, 678, 15, 110527, 22183, 10644, 23, 18, 33079,...
[ 0.0916748046875, 0.200927734375, 0.232421875, 0.1572265625, 0.250732421875, 0.08056640625, 0.197998046875, 0.144775390625, 0.09552001953125, 0.216796875, 0.0513916015625, 0.11181640625, 0.09332275390625, 0.05511474609375, 0.141357421875, 0.123046875, 0.104736328125, 0.0623474121093...
embed
33295840_c0
33295840
fsharp
0
Title: F# Is this a bug in Option.map Problem title: F# Is this a bug in Option.map Tags: f%23, f%23-data, f%23-3.0 Problem: F# Is this a bug in Option.map Given the following code: let mapOption (f : ('a -> 'b)) (x : 'a option) = match x with | Some x -> Some(f(x)) | None -> None let mapOptions (f : ('a -> 'b)) (xs : ...
F# Is this a bug in Option.map F# Is this a bug in Option.map f%23 f%23-data f%23-3.0 Option.map Some None List.map F# Is this a bug in Option.map Given the following code: Why is the result for a and b equal to : [null; Some 3; Some 4; null] or val it : int option list = [null; Some 3; Some 4; null] Should it not be:
[ 0.017822265625, -0.000774383544921875, 0.033447265625, 0.0032806396484375, -0.014404296875, -0.003875732421875, 0.0198974609375, -0.0196533203125, 0.01202392578125, 0.00634765625, -0.01422119140625, 0.00445556640625, -0.00131988525390625, 0.00726318359375, 0.01141357421875, 0.000356674...
[ 563, 4904, 2071, 903, 10, 54608, 23, 86769, 5, 62346, 1238, 3742, 27495, 10135, 132265, 31384, 438, 32036, 25632, 18151, 44084, 83, 16750, 100, 136, 876, 105950, 47, 139550, 74, 138, 201, 56574, 3502, 442, 18, 35829, 5303, 2203, 151117, ...
[ 0.08892822265625, 0.17529296875, 0.0232391357421875, 0.10693359375, 0.045379638671875, 0.20068359375, 0.0589599609375, 0.26123046875, 0.000732421875, 0.1871337890625, 0.04376220703125, 0.0662841796875, 0.044677734375, 0.0634765625, 0.076904296875, 0.0980224609375, 0.0552978515625, ...
embed
13421351_c0
13421351
fsharp
0
Title: F# syntax for repeated pipelining Problem title: F# syntax for repeated pipelining Tags: f%23 Problem: F# syntax for repeated pipelining Is there any syntax in F# which allows pipelining by a list of functions in sequence concisely? For example, x |> fun1 |> fun2 |> fun3 ... Or is there a design pattern which ma...
F# syntax for repeated pipelining F# syntax for repeated pipelining f%23 fun1 fun2 fun3 F# syntax for repeated pipelining Is there any syntax in F# which allows pipelining by a list of functions in sequence concisely? For example, Or is there a design pattern which makes this task unnecessary? In my case I am making a ...
[ -0.00081634521484375, 0.0157470703125, -0.0040283203125, 0.0306396484375, -0.0184326171875, -0.025634765625, -0.0179443359375, -0.0113525390625, 0.007598876953125, -0.00830078125, -0.0093994140625, 0.03271484375, 0.0064697265625, 0.004058837890625, -0.002777099609375, -0.00701904296875...
[ 563, 4904, 6002, 86531, 100, 119140, 297, 137158, 150, 592, 1238, 3742, 7477, 304, 363, 2499, 23, 114864, 390, 5303, 32354, 40, 944, 3956, 10794, 21286, 4331, 103510, 66211, 26531, 5844, 15334, 38067, 3115, 814, 33342, 1884, 3917, 47, 466...
[ 0.125732421875, 0.2003173828125, 0.156982421875, 0.2021484375, 0.03839111328125, 0.2069091796875, 0.1029052734375, 0.1707763671875, 0.15771484375, 0.0989990234375, 0.061279296875, 0.058319091796875, 0.0770263671875, 0.00653076171875, 0.08245849609375, 0.011444091796875, 0.01448059082...
embed
29165940_c0
29165940
fsharp
0
Title: f# - simple iterate on list of pairs Problem title: f# - simple iterate on list of pairs Tags: f%23, list, pattern-matching Problem: f# - simple iterate on list of pairs I need to go through a list of pairs and check for one of the values in the pair. Say I got this list: let listOfPairs = [("Joe",100);("Bo",5);...
f# - simple iterate on list of pairs f# - simple iterate on list of pairs f%23 list pattern-matching Joe Morten List.exist f# - simple iterate on list of pairs I need to go through a list of pairs and check for one of the values in the pair. Say I got this list: And I have to check whether the int value of the pair is ...
[ -0.0107421875, 0.0064697265625, -0.0016937255859375, 0.0113525390625, -0.0009765625, 0.0166015625, -0.01202392578125, 0.0019683837890625, 0.00799560546875, -0.023681640625, 0.038330078125, 0.00421142578125, 0.00970458984375, -0.013671875, 0.00087738037109375, 0.00537109375, 0.0121459...
[ 1238, 4904, 8781, 17, 8560, 67, 98, 5303, 111, 80836, 7, 20, 3949, 3742, 103510, 98753, 214, 40207, 89389, 32036, 54376, 3871, 738, 8305, 10, 12765, 100, 1632, 142424, 23, 4163, 903, 36766, 18, 34292, 105950, 47, 805, 707, 959, 16487, ...
[ 0.1563720703125, 0.2406005859375, 0.156494140625, 0.04095458984375, 0.2188720703125, 0.0859375, 0.06298828125, 0.2005615234375, 0.0333251953125, 0.25244140625, 0.0158843994140625, 0.00201416015625, 0.0143585205078125, 0.1318359375, 0.206298828125, 0.2015380859375, 0.0479736328125, ...
embed
32763816_c0
32763816
fsharp
0
Title: How to sum &quot;any three elements&quot; in a tuple in F# Problem title: How to sum &quot;any three elements&quot; in a tuple in F# Tags: f%23 Problem: How to sum "any three elements" in a tuple in F# I recently started learning how to program in F# and I have an assignment that is giving me some serious headac...
How to sum &quot;any three elements&quot; in a tuple in F# How to sum &quot;any three elements&quot; in a tuple in F# f%23 How How to sum "any three elements" in a tuple in F# I recently started learning how to program in F# and I have an assignment that is giving me some serious headaches. I have to make a function th...
[ 0.00616455078125, 0.00921630859375, 0.014404296875, 0.01336669921875, -0.0157470703125, -0.00107574462890625, -0.00628662109375, 0.01318359375, 0.02001953125, -0.016357421875, 0.0194091796875, 0.006927490234375, -0.00762939453125, 0.01361083984375, -0.01025390625, 0.0125732421875, 0....
[ 11249, 47, 10554, 4848, 17262, 80854, 23, 370, 8705, 563, 4904, 10, 1238, 3742, 1528, 95486, 32354, 51776, 6626, 10750, 892, 43606, 12830, 26255, 30646, 29568, 2499, 117396, 5117, 98320, 4331, 18151, 179933 ]
[ 0.057464599609375, 0.0367431640625, 0.229248046875, 0.1507568359375, 0.2357177734375, 0.2301025390625, 0.0394287109375, 0.1455078125, 0.229248046875, 0.107421875, 0.1552734375, 0.01898193359375, 0.05908203125, 0.1007080078125, 0.059326171875, 0.06329345703125, 0.0987548828125, 0.01...
embed
1784577_c0
1784577
fsharp
0
Title: function &#x27;startsWithVowel&#x27; in F# Problem title: function &#x27;startsWithVowel&#x27; in F# Tags: f%23 Problem: function 'startsWithVowel' in F# Given a list of vowels, I have written the function startsWithVowel to investigate if a word starts with a vowel. As you can see I use exception as controlflow...
function &#x27;startsWithVowel&#x27; in F# function &#x27;startsWithVowel&#x27; in F# f%23 System.Collections.Generic.KeyNotFoundException List.findIndex function 'startsWithVowel' in F# Given a list of vowels, I have written the function startsWithVowel to investigate if a word starts with a vowel. As you can see I us...
[ -0.01202392578125, 0.0179443359375, 0.005584716796875, -0.001953125, 0.007415771484375, -0.00103759765625, 0.012939453125, -0.021240234375, 0.0107421875, -0.000263214111328125, 0.00592041015625, 0.02001953125, 0.0093994140625, 0.005462646484375, 0.00787353515625, -0.0125732421875, 0....
[ 32354, 3768, 17137, 7, 194583, 36635, 8420, 23, 563, 4904, 1238, 3742, 12353, 78457, 8996, 135932, 162429, 122116, 27591, 7030, 19279, 63928, 32036, 111607, 4153, 39659, 77878, 5303, 2244, 59121, 4034, 47, 32603, 2174, 2565, 678, 10, 4527, ...
[ 0.2115478515625, 0.1007080078125, 0.2025146484375, 0.0826416015625, 0.222412109375, 0.211669921875, 0.251220703125, 0.0267791748046875, 0.141357421875, 0.214111328125, 0.0289154052734375, 0.0767822265625, 0.06121826171875, 0.0152130126953125, 0.06976318359375, 0.03912353515625, 0.099...
embed
44011057_c1
44011057
fsharp
1
(expr2)) // PROBLEM_2 The issue is that with the way it's currently structured, an input that matches // PROBLEM_2 won't fully recursively simplify to a // PROBLEM_1 case, even if expr1 and expr2 contain only Const values. As mentioned above, it eventually will return an Expression containing -> Add(Const(n2), Const(n2...
(expr2)) // PROBLEM_2 The issue is that with the way it's currently structured, an input that matches // PROBLEM_2 won't fully recursively simplify to a // PROBLEM_1 case, even if expr1 and expr2 contain only Const values. As mentioned above, it eventually will return an Expression containing -> Add(Const(n2), Const(n2...
[ -0.01055908203125, -0.006256103515625, -0.00787353515625, 0.021728515625, 0.01007080078125, 0.0159912109375, -0.01519775390625, -0.007537841796875, 0.0159912109375, -0.0031280517578125, 0.0079345703125, -0.00921630859375, 0.002410888671875, 0.029296875, 0.005584716796875, 0.00521850585...
[ 83613, 42, 10461, 220133, 304, 31089, 3917, 82424, 45646, 71, 107730, 14858, 23742, 18, 89554, 195625, 5844, 112892, 18929, 115187, 7225, 14700, 418, 136, 70541, 1657, 271, 142424, 155605, 30646, 25129, 1830, 29117, 11935, 64457, 154107, 2704, ...
[ 0.131103515625, 0.1685791015625, 0.199951171875, 0.1990966796875, 0.1612548828125, 0.09552001953125, 0.04736328125, 0.05841064453125, 0.1285400390625, 0.031158447265625, 0.162353515625, 0.07830810546875, 0.048919677734375, 0.040985107421875, 0.041046142578125, 0.116943359375, 0.03527...
embed
8896820_c0
8896820
fsharp
0
Title: how to implement F#&#x27;s forward pipe operator in R? Problem title: how to implement F#&#x27;s forward pipe operator in R? Tags: r, f%23 Problem: how to implement F#'s forward pipe operator in R? How can you implement F#'s forward pipe operator in R? The operator makes it possible to easily chain a sequence of...
how to implement F#&#x27;s forward pipe operator in R? how to implement F#&#x27;s forward pipe operator in R? r f%23 how to implement F#'s forward pipe operator in R? How can you implement F#'s forward pipe operator in R? The operator makes it possible to easily chain a sequence of calculations. For example, when you h...
[ 0.024658203125, 0.01806640625, 0.000335693359375, 0.01806640625, 0.01025390625, -0.0174560546875, -0.00506591796875, -0.004119873046875, -0.00130462646484375, -0.022216796875, 0.00103759765625, 0.0250244140625, 0.025634765625, -0.004058837890625, 0.008544921875, 0.006195068359375, 0....
[ 3642, 29479, 563, 4904, 3768, 40225, 137158, 39933, 23, 627, 1690, 1238, 3949, 3742, 47, 11249, 831, 30482, 7722, 72546, 121293, 944, 74481, 107730, 2053, 11782, 32354, 5775, 31, 136, 1909, 33022, 175399, 32562, 3584, 10135, 72382, 71864, 3...
[ 0.090087890625, 0.2265625, 0.1395263671875, 0.22314453125, 0.082275390625, 0.24853515625, 0.235595703125, 0.2744140625, 0.0810546875, 0.21240234375, 0.1195068359375, 0.06060791015625, 0.1180419921875, 0.05743408203125, 0.008941650390625, 0.0308685302734375, 0.0263519287109375, 0.03...
embed
35087462_c0
35087462
fsharp
0
Title: Project Euler Q8 Largest product in a series - Why is my code wrong? Problem title: Project Euler Q8 Largest product in a series - Why is my code wrong? Tags: f%23 Problem: Project Euler Q8 Largest product in a series - Why is my code wrong? The problem is ( source )... The four adjacent digits in the 1000-digit...
Project Euler Q8 Largest product in a series - Why is my code wrong? Project Euler Q8 Largest product in a series - Why is my code wrong? f%23 Project Euler Largest Why s.Length Seq.map Seq.fold Seq.maxBy Project Euler Q8 Largest product in a series - Why is my code wrong? The problem is ( source )... I have the follow...
[ -0.0203857421875, 0.02734375, -0.00002205371856689453, -0.006317138671875, -0.037841796875, -0.003387451171875, -0.01409912109375, 0.01397705078125, -0.0019989013671875, -0.0089111328125, 0.012939453125, 0.0162353515625, -0.031982421875, -0.0194091796875, 0.004241943359375, 0.012145996...
[ 27331, 5177, 603, 2396, 1019, 181268, 271, 12996, 23, 36549, 44084, 83, 759, 18151, 44691, 1238, 3949, 3742, 91, 449, 927, 503, 864, 62346, 42822, 24084, 75358, 2967, 31344, 1388, 70, 25632, 563, 4904, 27875, 14012, 111, 153939, 7, 4, 1...
[ 0.167724609375, 0.1610107421875, 0.1949462890625, 0.1175537109375, 0.186767578125, 0.1561279296875, 0.1505126953125, 0.244873046875, 0.0435791015625, 0.1600341796875, 0.1414794921875, 0.056427001953125, 0.070556640625, 0.236083984375, 0.1890869140625, 0.092041015625, 0.01881408691406...
embed
39704422_c0
39704422
fsharp
0
Title: Making function recursive Problem title: Making function recursive Tags: functional-programming, f%23, .net, recursion Problem: Making function recursive I have a function let simpleSum n = let s = n * (n+1)/2 printf "%A " s let result = simpleSum 10 I now want to make it recursive; tail-recursion without added ...
Making function recursive Making function recursive functional-programming f%23 .net recursion Making FS0020 Consider e.g Making function recursive I have a function I now want to make it recursive; tail-recursion without added variables is preferred. There is something wrong with my statement: if n <= 0 then 0 I run i...
[ -0.0198974609375, 0.0123291015625, 0.0269775390625, 0.00848388671875, 0.0126953125, 0.0098876953125, -0.00860595703125, 0.00433349609375, 0.00025177001953125, -0.0166015625, 0.01904296875, -0.0152587890625, -0.0145263671875, 0.0211181640625, 0.0257568359375, 0.01324462890625, 0.00860...
[ 13676, 214, 32354, 195625, 5844, 123309, 28966, 1238, 3949, 3742, 1179, 1830, 93774, 7049, 1549, 137399, 765, 5036, 3444, 3249, 442, 46741, 107, 48650, 15490, 49814, 77336, 83, 12601, 2822, 9844, 44691, 759, 63805, 2174, 653, 4426, 1369, 75...
[ 0.1680908203125, 0.1102294921875, 0.2198486328125, 0.268798828125, 0.2105712890625, 0.1895751953125, 0.12353515625, 0.05963134765625, 0.014434814453125, 0.1253662109375, 0.1685791015625, 0.117919921875, 0.1331787109375, 0.067138671875, 0.1260986328125, 0.04742431640625, 0.02546691894...
embed
63110645_c0
63110645
fsharp
0
Title: Split string on first occurrence of number or comma Problem title: Split string on first occurrence of number or comma Tags: f%23 Problem: Split string on first occurrence of number or comma I am a C# developer interested in learning F#. I have a quite simple problem: to split a string into two parts on the firs...
Split string on first occurrence of number or comma Split string on first occurrence of number or comma f%23 Split text.Split Split string on first occurrence of number or comma I am a C# developer interested in learning F#. I have a quite simple problem: to split a string into two parts on the first occurence of a num...
[ -0.00007724761962890625, -0.0108642578125, -0.00011682510375976562, 0.026123046875, -0.007354736328125, 0.0150146484375, -0.001983642578125, -0.004302978515625, 0.01708984375, -0.041748046875, -0.002655029296875, 0.0086669921875, -0.0179443359375, 0.0096435546875, 0.0179443359375, -0.0...
[ 46474, 79315, 98, 5117, 74918, 42, 6620, 14012, 707, 96117, 111, 1238, 3949, 3742, 7986, 31923, 4353, 313, 4904, 106001, 60892, 52080, 563, 32233, 8781, 2967, 47, 65450, 3934, 6626, 63920, 24, 5844, 208124, 2806, 959, 6713, 4552, 123309, ...
[ 0.2626953125, 0.26318359375, 0.1219482421875, 0.15380859375, 0.1558837890625, 0.127685546875, 0.051422119140625, 0.1820068359375, 0.1051025390625, 0.25390625, 0.003753662109375, 0.092529296875, 0.039764404296875, 0.1409912109375, 0.1771240234375, 0.1300048828125, 0.2509765625, 0.00...
embed
30044833_c0
30044833
fsharp
0
Title: How can I set HttpResponseMessage.Content in F#? Problem title: How can I set HttpResponseMessage.Content in F#? Tags: f%23, .net Problem: How can I set HttpResponseMessage.Content in F#? As I understand it, it should be possible to set the content of a response message like so: let responseMessage = new HttpRes...
How can I set HttpResponseMessage.Content in F#? How can I set HttpResponseMessage.Content in F#? f%23 .net How HttpResponseMessage.Content HttpResponseMessage HttpStatusCode.OK responseMessage.Content StringContent How can I set HttpResponseMessage.Content in F#? As I understand it, it should be possible to set the co...
[ -0.03564453125, 0.0201416015625, -0.006744384765625, 0.006378173828125, 0.0159912109375, -0.0003299713134765625, -0.01458740234375, 0.003326416015625, 0.000637054443359375, 0.02294921875, 0.010986328125, 0.0341796875, 0.01287841796875, 0.005401611328125, 0.0322265625, 0.01458740234375,...
[ 11249, 831, 87, 5423, 572, 3062, 254, 94399, 13, 594, 6011, 429, 5, 11935, 25352, 23, 563, 4904, 1238, 3742, 1179, 135206, 114211, 9092, 57553, 23351, 7722, 47, 10941, 26008, 1884, 221, 25632, 18499, 903, 109921, 13452, 12989, 136057, 303...
[ 0.03424072265625, 0.03753662109375, 0.00897216796875, 0.1961669921875, 0.049591064453125, 0.1044921875, 0.093994140625, 0.21337890625, 0.051513671875, 0.052520751953125, 0.1416015625, 0.074462890625, 0.0179443359375, 0.136962890625, 0.2474365234375, 0.067626953125, 0.1416015625, 0....
embed
61685495_c0
61685495
fsharp
0
Title: F# pattern matching: how &quot;as&quot; is interpreted when used incorrectly with constructor? Problem title: F# pattern matching: how &quot;as&quot; is interpreted when used incorrectly with constructor? Tags: f%23 Problem: F# pattern matching: how "as" is interpreted when used incorrectly with constructor? I h...
F# pattern matching: how &quot;as&quot; is interpreted when used incorrectly with constructor? F# pattern matching: how &quot;as&quot; is interpreted when used incorrectly with constructor? f%23 DunionSubset Dunion MappingsOfC StringMappings FS0019 F# pattern matching: how "as" is interpreted when used incorrectly with...
[ -0.01446533203125, 0.0147705078125, -0.0030364990234375, -0.0086669921875, 0.0011444091796875, 0.00089263916015625, -0.00897216796875, 0.005462646484375, 0.01507568359375, 0.01214599609375, 0.0048828125, 0.00762939453125, 0.019775390625, 0.0005340576171875, 0.01171875, 0.00436401367187...
[ 563, 4904, 103510, 14858, 214, 3642, 162, 1230, 41502, 29481, 11814, 214552, 678, 64549, 748, 1238, 3742, 391, 87046, 96472, 3509, 911, 26783, 132887, 441, 23351, 4613, 93774, 7049, 2947, 55970, 69941, 44126, 15700, 115, 237, 10644, 27489, ...
[ 0.0880126953125, 0.1710205078125, 0.1865234375, 0.1646728515625, 0.029632568359375, 0.03363037109375, 0.2392578125, 0.051788330078125, 0.00592041015625, 0.1397705078125, 0.05487060546875, 0.1259765625, 0.09912109375, 0.154541015625, 0.1048583984375, 0.0677490234375, 0.10052490234375,...
embed
25359940_c0
25359940
fsharp
0
Title: Meaning of Discriminated Union in F# Problem title: Meaning of Discriminated Union in F# Tags: f%23, discriminated-union Problem: Meaning of Discriminated Union in F# I do understand the meaning of "discriminated" and "union" in their standalone contexts, but i am at loss when it comes to the F#'s "Discriminated...
Meaning of Discriminated Union in F# Meaning of Discriminated Union in F# f%23 discriminated-union Meaning Discriminated Union Meaning of Discriminated Union in F# I do understand the meaning of "discriminated" and "union" in their standalone contexts, but i am at loss when it comes to the F#'s "Discriminated Union". F...
[ 0.006134033203125, 0.01116943359375, 0.01104736328125, 0.00799560546875, 0.003387451171875, 0.0054931640625, 0.00665283203125, 0.025634765625, 0.0269775390625, -0.004119873046875, 0.01385498046875, -0.00994873046875, 0.01483154296875, 0.0159912109375, -0.01177978515625, 0.0103149414062...
[ 1215, 11, 592, 111, 6206, 135421, 3674, 32528, 23, 563, 4904, 1238, 3742, 55970, 87046, 28219, 91084, 3827, 103723, 51684, 43701, 86669, 44456, 14941, 46876, 959, 4127, 78804, 22729, 60213, 3871, 3714, 4527, 7225, 903, 69941, 3638, 11814, 1...
[ 0.10986328125, 0.1158447265625, 0.044708251953125, 0.004791259765625, 0.0745849609375, 0.214111328125, 0.0963134765625, 0.242919921875, 0.06536865234375, 0.116943359375, 0.2227783203125, 0.0202789306640625, 0.068359375, 0.2117919921875, 0.18896484375, 0.0601806640625, 0.1376953125, ...
embed
5434109_c0
5434109
fsharp
0
Title: Why are Visual Studio projects restricted to a single language? Problem title: Why are Visual Studio projects restricted to a single language? Tags: c%23, f%23, visual-studio Problem: Why are Visual Studio projects restricted to a single language? This is question is inspired by the question: In what areas does ...
Why are Visual Studio projects restricted to a single language? Why are Visual Studio projects restricted to a single language? c%23 f%23 visual-studio Why Visual Studio Why are Visual Studio projects restricted to a single language? This is question is inspired by the question: In what areas does F# make "absolute no ...
[ -0.01507568359375, 0.01068115234375, -0.0001392364501953125, 0.0037689208984375, -0.0026397705078125, 0.000858306884765625, -0.01007080078125, -0.00148773193359375, 0.00653076171875, -0.004180908203125, -0.0135498046875, -0.03466796875, -0.011474609375, -0.00799560546875, 0.0025024414062...
[ 44084, 73372, 22968, 77635, 173072, 297, 47, 11001, 46876, 21176, 52629, 621, 10, 191722, 58555, 563, 4904, 110, 10422, 23, 17368, 154453, 7722, 4527, 2499, 17777, 8060, 13452, 11907, 13580, 5974, 30219, 18151, 3126, 89845, 72382, 81273, 1632...
[ 0.1097412109375, 0.2052001953125, 0.229736328125, 0.145751953125, 0.14990234375, 0.05615234375, 0.032958984375, 0.1533203125, 0.224853515625, 0.1510009765625, 0.1739501953125, 0.0037841796875, 0.00701904296875, 0.020263671875, 0.03704833984375, 0.05975341796875, 0.1533203125, 0.006...
embed
39277519_c0
39277519
fsharp
0
Title: What&#x27;s the simplest technique for initializing a complex record type? Problem title: What&#x27;s the simplest technique for initializing a complex record type? Tags: f%23 Problem: What's the simplest technique for initializing a complex record type? What's the simplest technique for initializing a complex r...
What&#x27;s the simplest technique for initializing a complex record type? What&#x27;s the simplest technique for initializing a complex record type? f%23 What BenefitsOverviewViewModel Overview:BenefitsOverview What's the simplest technique for initializing a complex record type? What's the simplest technique for init...
[ 0.01177978515625, 0.01458740234375, 0.0028228759765625, 0.0250244140625, 0.01708984375, -0.0123291015625, 0.0079345703125, -0.0274658203125, 0.01385498046875, 0.00634765625, 0.01361083984375, 0.0016326904296875, 0.022216796875, 0.01202392578125, -0.0002994537353515625, -0.017822265625,...
[ 3768, 30362, 18, 61353, 61475, 84382, 27140, 17164, 10644, 100, 30543, 16086, 22751, 100474, 140290, 4240, 3444, 56574, 959, 35604, 57266, 1774, 678, 173591, 2053, 31344, 50717, 15490, 135812, 95486, 34292, 12638, 43032 ]
[ 0.0263671875, 0.188720703125, 0.10406494140625, 0.205078125, 0.180908203125, 0.1068115234375, 0.241943359375, 0.1922607421875, 0.1812744140625, 0.0179595947265625, 0.007293701171875, 0.052734375, 0.009613037109375, 0.048828125, 0.0948486328125, 0.020233154296875, 0.03448486328125, ...
embed
6946780_c0
6946780
fsharp
0
Title: F# noob help understanding Lazy and Value Problem title: F# noob help understanding Lazy and Value Tags: f%23 Problem: F# noob help understanding Lazy and Value I'm just beginning F# and haven't really done functional programming since my programming languages class 15 years ago (exception being "modern" C#). I'...
F# noob help understanding Lazy and Value F# noob help understanding Lazy and Value f%23 Lazy Value Dump Int32 IsValueCreated F# noob help understanding Lazy and Value I'm just beginning F# and haven't really done functional programming since my programming languages class 15 years ago (exception being "modern" C#). I'...
[ 0.0155029296875, 0.0126953125, 0.0159912109375, 0.006072998046875, -0.000865936279296875, 0.0296630859375, 0.01129150390625, -0.00189971923828125, 0.01361083984375, 0.00885009765625, -0.004852294921875, 0.018798828125, -0.01171875, 0.002532958984375, 0.009033203125, -0.002227783203125,...
[ 563, 4904, 110, 3522, 4358, 100094, 239, 3285, 136, 190060, 1238, 3742, 786, 2676, 6460, 2071, 856, 50770, 63784, 27686, 86595, 38246, 18, 16940, 123309, 56037, 46876, 18507, 423, 5369, 49748, 16487, 58134, 46610, 2737, 113954, 27959, 140992,...
[ 0.075439453125, 0.1572265625, 0.03564453125, 0.127685546875, 0.043426513671875, 0.0911865234375, 0.15185546875, 0.2410888671875, 0.09857177734375, 0.257568359375, 0.00506591796875, 0.05859375, 0.1060791015625, 0.185791015625, 0.1358642578125, 0.078125, 0.1524658203125, 0.2435302734...
embed
9229425_c0
9229425
fsharp
0
Title: Using preprocessing function with identifier parser in FParsec? Problem title: Using preprocessing function with identifier parser in FParsec? Tags: parsing, fparsec, f%23 Problem: Using preprocessing function with identifier parser in FParsec? I am using the identifier parser from FParsec to parse the names of ...
Using preprocessing function with identifier parser in FParsec? Using preprocessing function with identifier parser in FParsec? parsing fparsec f%23 Using FParsec u03C0 swipe_board u003A_b Using preprocessing function with identifier parser in FParsec? I am using the identifier parser from FParsec to parse the names of...
[ -0.002716064453125, 0.00469970703125, 0.0022430419921875, 0.015869140625, -0.00384521484375, 0.0263671875, 0.0152587890625, 0.00628662109375, -0.0137939453125, -0.03662109375, 0.013427734375, 0.017822265625, -0.007598876953125, -0.0234375, 0.0034332275390625, -0.0133056640625, -0.004...
[ 345, 6953, 479, 63923, 214, 32354, 678, 42485, 56, 366, 2189, 563, 28636, 39797, 1238, 2500, 3742, 75, 9513, 2389, 2452, 1081, 24351, 123276, 284, 275, 23, 17368, 184, 123055, 77336, 136, 3638, 17664, 219778, 125429, 10001, 124850, 68018, ...
[ 0.073974609375, 0.051361083984375, 0.177001953125, 0.1947021484375, 0.043914794921875, 0.1571044921875, 0.09405517578125, 0.197265625, 0.1158447265625, 0.1473388671875, 0.1727294921875, 0.1363525390625, 0.13720703125, 0.226318359375, 0.07098388671875, 0.103271484375, 0.1500244140625,...
embed
39495738_c0
39495738
fsharp
0
Title: How to convert the x of for x in seq to seq Problem title: How to convert the x of for x in seq to seq Tags: argument-unpacking, f%23, seq Problem: How to convert the x of for x in seq to seq This is a follow-up question to this SO-post . Given this block of code (csvData1 is a .csv file.) let mappedSeq1 = seq {...
How to convert the x of for x in seq to seq How to convert the x of for x in seq to seq argument-unpacking f%23 seq How mappedSeq1 csvData1 Seq.fst Seq.snd How to convert the x of for x in seq to seq This is a follow-up question to this SO-post . Given this block of code (csvData1 is a .csv file.) What if I don't want ...
[ 0.019775390625, 0.006195068359375, 0.00066375732421875, 0.037841796875, 0.00970458984375, 0.00592041015625, 0.0023956298828125, 0.007537841796875, 0.006561279296875, -0.004241943359375, -0.0174560546875, 0.01129150390625, 0.002349853515625, 0.03759765625, 0.000308990478515625, 0.007171...
[ 11249, 47, 96760, 1022, 111, 100, 23, 40, 864, 10750, 309, 29102, 1238, 3949, 3742, 291, 48398, 4233, 418, 20763, 334, 137989, 503, 420, 271, 2208, 15969, 46389, 18151, 4439, 11435, 18, 3444, 51, 12638, 12830, 944, 3956, 3934, 17932, 35...
[ 0.0770263671875, 0.126220703125, 0.1929931640625, 0.1741943359375, 0.274658203125, 0.1868896484375, 0.08563232421875, 0.1546630859375, 0.253662109375, 0.2005615234375, 0.049102783203125, 0.2073974609375, 0.06182861328125, 0.0248260498046875, 0.1422119140625, 0.04522705078125, 0.12817...
embed
31457995_c0
31457995
fsharp
0
Title: What is this fold actually doing? Problem title: What is this fold actually doing? Tags: fold, syntax, f%23 Problem: What is this fold actually doing? As part of my question ( F# Threading Changing State Through Unfold ) I stumbled upon a solution using the Seq.fold function, but the syntax looked strange to me....
What is this fold actually doing? What is this fold actually doing? fold syntax f%23 What Seq.fold SomeState What is this fold actually doing? As part of my question ( F# Threading Changing State Through Unfold ) I stumbled upon a solution using the Seq.fold function, but the syntax looked strange to me. Essentially: I...
[ 0.00323486328125, -0.0079345703125, 0.0164794921875, 0.006072998046875, -0.004180908203125, -0.002532958984375, 0.000263214111328125, 0.00555419921875, 0.02294921875, -0.01531982421875, 0.029052734375, -0.0103759765625, -0.015869140625, 0.02685546875, -0.0023345947265625, -0.0168457031...
[ 4865, 83, 903, 42822, 20653, 20594, 6002, 86531, 1238, 3949, 3742, 503, 864, 5, 31384, 135206, 13, 563, 4904, 136719, 108193, 22836, 194397, 992, 29806, 17368, 32354, 54811, 114453, 2046, 2367, 442, 123309, 167969, 9077, 3642, 48502, 151138, ...
[ 0.0887451171875, 0.0980224609375, 0.11669921875, 0.265380859375, 0.156982421875, 0.1666259765625, 0.073486328125, 0.2015380859375, 0.061004638671875, 0.053009033203125, 0.14306640625, 0.1024169921875, 0.1767578125, 0.05340576171875, 0.1534423828125, 0.220947265625, 0.087646484375, ...
embed
38293333_c0
38293333
fsharp
0
Title: How can I link a label to a mutable variable in F#? Problem title: How can I link a label to a mutable variable in F#? Tags: f%23, mutable Problem: How can I link a label to a mutable variable in F#? I want to create a label in F# which uses a mutable variable to return a value. Unfortunately F# sets this label ...
How can I link a label to a mutable variable in F#? How can I link a label to a mutable variable in F#? f%23 mutable How two:int How can I link a label to a mutable variable in F#? I want to create a label in F# which uses a mutable variable to return a value. Unfortunately F# sets this label to a constant value. If th...
[ 0.00408935546875, -0.007659912109375, 0.007415771484375, 0.0028839111328125, 0.020263671875, 0.02099609375, 0.0093994140625, 0.022705078125, 0.039794921875, -0.01123046875, 0.00107574462890625, -0.003326416015625, 0.020751953125, 0.006988525390625, 0.0478515625, -0.019775390625, 0.00...
[ 11249, 831, 3126, 10, 67967, 47, 842, 22819, 77336, 23, 563, 4904, 87, 1238, 3742, 6626, 4288, 3444, 28282, 4527, 30646, 34292, 185397, 5423, 53697, 65572, 47143, 25553, 6892, 11, 108750, 425 ]
[ 0.0570068359375, 0.03814697265625, 0.2005615234375, 0.067626953125, 0.293212890625, 0.134033203125, 0.1385498046875, 0.16748046875, 0.2103271484375, 0.030181884765625, 0.1416015625, 0.2015380859375, 0.00177001953125, 0.06427001953125, 0.07586669921875, 0.08038330078125, 0.07476806640...
embed
66527179_c0
66527179
fsharp
0
Title: Need help converting C# to F# Problem title: Need help converting C# to F# Tags: f%23 Problem: Need help converting C# to F# I'd like to know how to convert this code line by line from C# to F#. I am not looking to use any kind of F#'s idioms or something of the like. I am trying to understand how to enumaration...
Need help converting C# to F# Need help converting C# to F# f%23 System.Linq Need System.Collections.Generic EnumerableExtensions Random IEnumerable input.ElementAt random.Next input.Count Need help converting C# to F# I'd like to know how to convert this code line by line from C# to F#. I am not looking to use any kin...
[ -0.0147705078125, 0.0062255859375, 0.01361083984375, -0.01806640625, -0.014404296875, 0.0172119140625, -0.02001953125, -0.018798828125, -0.0230712890625, -0.0419921875, 0.01312255859375, 0.01007080078125, -0.021240234375, 0.020263671875, 0.0096435546875, 0.00128936767578125, 0.001197...
[ 52889, 4358, 96760, 214, 313, 4904, 47, 563, 1238, 3949, 3742, 12353, 866, 44982, 78457, 8996, 5256, 135932, 357, 316, 56, 2886, 19279, 128872, 39643, 306, 75536, 2606, 107730, 19929, 28848, 96759, 81280, 108210, 1884, 3714, 3642, 903, 1815...
[ 0.166259765625, 0.11279296875, 0.187255859375, 0.046844482421875, 0.105224609375, 0.24951171875, 0.16015625, 0.1826171875, 0.0732421875, 0.0267486572265625, 0.1571044921875, 0.1221923828125, 0.001007080078125, 0.1275634765625, 0.0750732421875, 0.111083984375, 0.004669189453125, 0.0...
embed
41662991_c1
41662991
fsharp
1
am using a second argument in the waitingFor function in order to contraint it, I know I could use a type MyType<'a>() to do it, is there another option? I would rather not use a new MyType that I find cumbersome. 3) Is there any other option to test my agent than doing this? the only post I found so far about the sub...
am using a second argument in the waitingFor function in order to contraint it, I know I could use a type MyType<'a>() to do it, is there another option? I would rather not use a new MyType that I find cumbersome. 3) Is there any other option to test my agent than doing this? the only post I found so far about the sub...
[ 0.00732421875, 0.0218505859375, -0.01556396484375, 0.0201416015625, 0.010498046875, -0.01470947265625, 0.00823974609375, 0.00043487548828125, 0.008056640625, -0.0291748046875, 0.0113525390625, 0.013427734375, 0.0067138671875, -0.01239013671875, 0.00933837890625, -0.0086669921875, 0.0...
[ 17368, 17932, 10750, 89289, 18537, 32354, 2304, 4288, 442, 5809, 4527, 10644, 2646, 196707, 11, 15700, 35829, 8439, 3034, 759, 23882, 1305, 70, 4594, 1877, 78439, 420, 6954, 12654, 101966, 85763, 188, 2065, 11728, 63923, 748, 28864, 26073, ...
[ 0.05462646484375, 0.146240234375, 0.240966796875, 0.2181396484375, 0.2127685546875, 0.1328125, 0.11376953125, 0.1522216796875, 0.006622314453125, 0.001617431640625, 0.03363037109375, 0.1842041015625, 0.08697509765625, 0.2225341796875, 0.04302978515625, 0.0175323486328125, 0.129516601...
embed
68069134_c1
68069134
fsharp
1
Request, Hello, World, InteropHelloWorld.fsx, FS0039, Debug, CSharpComm.dll, Invalid, Expected, System.Runtime.InteropServices, InteropWithNative, DllImport, CallingConvention, CallingConvention.Cdecl, InteropWithNative.Request, Unable, DLL, FSI_0005.InteropWithNative.Request, StartupCode$FSI_0005, FSI_0005.main, Item...
attempt: #r command Tried to run: or This ends up with the error message: Invalid directive. Expected '#r "<file-or-assembly>"'. 3rd attempt: Nuclear option I've tried using the interop service library: Error message: > System.EntryPointNotFoundException: Unable to find an entry point named 'Request' in DLL 'C:\src\FS...
[ -0.0206298828125, 0.0294189453125, 0.0006561279296875, 0.01019287109375, -0.0093994140625, 0.0025787353515625, -0.005157470703125, -0.0240478515625, 0.0133056640625, 0.03564453125, -0.0017242431640625, -0.025634765625, -0.009765625, 0.003753662109375, 0.00909423828125, -0.0013656616210...
[ 81887, 468, 42, 75101, 4699, 11675, 707, 18499, 26008, 7013, 71, 8951, 5844, 60075, 13, 4904, 29822, 748, 89845, 38526, 138, 4216, 1429, 119488, 35829, 37842, 1940, 2146, 4516, 35773, 212059, 12353, 7768, 15123, 147534, 122116, 27591, 7030, ...
[ 0.2012939453125, 0.0489501953125, 0.18603515625, 0.2078857421875, 0.067138671875, 0.06982421875, 0.0540771484375, 0.10614013671875, 0.0338134765625, 0.1524658203125, 0.03662109375, 0.1365966796875, 0.1683349609375, 0.07098388671875, 0.0888671875, 0.06787109375, 0.1712646484375, 0.0...
embed
65935784_c0
65935784
fsharp
0
Title: Is it possible to remove the full-paths from .NET assemblies created with dotnet build? Problem title: Is it possible to remove the full-paths from .NET assemblies created with dotnet build? Tags: msbuild, f%23, c%23, .net-core Problem: Is it possible to remove the full-paths from .NET assemblies created with do...
Is it possible to remove the full-paths from .NET assemblies created with dotnet build? Is it possible to remove the full-paths from .NET assemblies created with dotnet build? msbuild f%23 c%23 .net-core NET netcoreapp3.1 App.fs Is it possible to remove the full-paths from .NET assemblies created with dotnet build? I b...
[ -0.02294921875, 0.022216796875, 0.0029144287109375, 0.019287109375, -0.0263671875, -0.0179443359375, -0.00128936767578125, 0.00012493133544921875, -0.005889892578125, -0.013427734375, 0.009765625, 0.00762939453125, 0.005950927734375, 0.02978515625, -0.0038299560546875, 0.007080078125, ...
[ 2071, 7722, 87388, 4393, 128405, 7, 1295, 5, 17777, 89845, 7121, 75935, 20633, 1179, 45367, 678, 68163, 177149, 3742, 30854, 2043, 9007, 97109, 5659, 17447, 442, 10, 13452, 30388, 2967, 70541, 60875, 47, 31344, 29822, 1556, 127, 56566, 1436...
[ 0.0091552734375, 0.1453857421875, 0.200927734375, 0.18603515625, 0.228271484375, 0.04107666015625, 0.06304931640625, 0.0222015380859375, 0.18994140625, 0.1429443359375, 0.1143798828125, 0.08526611328125, 0.15234375, 0.18212890625, 0.1739501953125, 0.048583984375, 0.0279083251953125, ...
embed
16189808_c2
16189808
fsharp
2
; 2; 1; 2; 1|] k=8 i=1..6 dk=[|1; 2; 2; 2; 2; 2|] k=9 i=1..6 dk=[|1; 2; 2; 2; 2; 2|] k=10 i=1..6 dk=[|1; 2; 2; 2; 3; 2|] k=11 i=2..6 dk=[|2; 2; 2; 3; 3|] k=12 i=3..6 dk=[|2; 2; 3; 3|] k=13 i=4..6 dk=[|2; 3; 3|] k=14 i=5..6 dk=[|3; 4|] k=15 i=6..6 dk=[|4|] ... duration: 19 ms res_seq_1d_diags = 4 Press any key to contin...
; 2; 1; 2; 1|] k=8 i=1..6 dk=[|1; 2; 2; 2; 2; 2|] k=9 i=1..6 dk=[|1; 2; 2; 2; 2; 2|] k=10 i=1..6 dk=[|1; 2; 2; 2; 3; 2|] k=11 i=2..6 dk=[|2; 2; 2; 3; 3|] k=12 i=3..6 dk=[|2; 2; 3; 3|] k=13 i=4..6 dk=[|2; 3; 3|] k=14 i=5..6 dk=[|3; 4|] k=15 i=6..6 dk=[|4|] ... duration: 19 ms res_seq_1d_diags = 4 Press any key to contin...
[ 0.0213623046875, 0.019287109375, -0.0027008056640625, -0.00101470947265625, 0.00811767578125, -0.01165771484375, -0.0113525390625, 0.03271484375, -0.0040283203125, 0.011474609375, 0.0164794921875, 0.029296875, -0.00170135498046875, 0.023681640625, 0, 0.0017547607421875, 0.02722167968...
[ 2819, 116, 74, 106, 58745, 472, 1369, 1019, 17, 33000, 910, 126920, 418, 1126, 963, 138, 1662, 55257, 5, 1530, 76067, 2681, 2592, 114997, 201, 1837, 617, 153, 115, 30494, 12, 953, 68163, 3332, 184, 864, 115187, 71, 3390, 9405, 21072, ...
[ 0.101806640625, 0.18994140625, 0.1170654296875, 0.1304931640625, 0.000030517578125, 0.1802978515625, 0.07794189453125, 0.2198486328125, 0.161376953125, 0.09271240234375, 0.154052734375, 0.165283203125, 0.05548095703125, 0.1351318359375, 0.12451171875, 0.1123046875, 0.0828857421875, ...
embed
16399568_c0
16399568
fsharp
0
Title: Parametising xUnit tests with multiple types from F# Problem title: Parametising xUnit tests with multiple types from F# Tags: f%23, xunit Problem: Parametising xUnit tests with multiple types from F# I want to parametise my tests similar to how I have done it here , but for xUnit and with F#. In the linked code...
Parametising xUnit tests with multiple types from F# Parametising xUnit tests with multiple types from F# f%23 xunit F# Parametising Parametising xUnit tests with multiple types from F# I want to parametise my tests similar to how I have done it here , but for xUnit and with F#. In the linked code, the base class insta...
[ 0.00982666015625, 0.00188446044921875, -0.01055908203125, -0.003662109375, -0.0262451171875, -0.00811767578125, 0.000629425048828125, -0.0198974609375, 0.0208740234375, 0.01324462890625, -0.00970458984375, -0.0167236328125, 0.0223388671875, 0.01422119140625, -0.00689697265625, -0.00152...
[ 1720, 1928, 72219, 1022, 85600, 18, 109921, 678, 48716, 52895, 1295, 563, 4904, 1238, 3742, 10438, 6773, 3444, 121, 3075, 21373, 100, 136, 3647, 18507, 34648, 101426, 11435, 5426, 208124, 95, 19514, 1614, 67413, 26341, 5281, 134234, 4734, 3...
[ 0.156982421875, 0.167724609375, 0.06341552734375, 0.120361328125, 0.201904296875, 0.05816650390625, 0.200439453125, 0.040435791015625, 0.1468505859375, 0.1971435546875, 0.037139892578125, 0.115478515625, 0.1776123046875, 0.02349853515625, 0.063232421875, 0.036773681640625, 0.12182617...
embed
53131848_c0
53131848
fsharp
0
Title: dotnet core F# console proj. How to load/open a module? Problem title: dotnet core F# console proj. How to load/open a module? Tags: project, module, console, f%23, .net-core Problem: dotnet core F# console proj. How to load/open a module? RaceConditionTest.fs namespace FConsole module RaceConditionTest = let te...
dotnet core F# console proj. How to load/open a module? dotnet core F# console proj. How to load/open a module? project module console f%23 .net-core How FConsole RaceConditionTest System EntryPoint RaceConditionTest.test dotnet core F# console proj. How to load/open a module? RaceConditionTest.fs Program.fs Then I run...
[ -0.003448486328125, -0.005645751953125, -0.0164794921875, 0.015869140625, 0.01263427734375, -0.00994873046875, 0.0238037109375, -0.00970458984375, 0.0003452301025390625, -0.0167236328125, 0.01055908203125, -0.0018768310546875, 0.00079345703125, -0.00127410888671875, 0.01904296875, -0.0...
[ 20633, 1179, 56458, 563, 4904, 130250, 502, 170, 11249, 72367, 64, 59636, 88996, 13452, 1238, 3742, 30854, 15161, 191, 40777, 94698, 11935, 428, 111337, 12353, 15123, 147534, 6954, 10, 1363, 17447, 7663, 11675, 4027, 2397, 6077, 18499, 93774,...
[ 0.099853515625, 0.1583251953125, 0.139404296875, 0.09149169921875, 0.185791015625, 0.22607421875, 0.04742431640625, 0.048126220703125, 0.033660888671875, 0.1710205078125, 0.03192138671875, 0.1573486328125, 0.2169189453125, 0.10888671875, 0.05401611328125, 0.115966796875, 0.1384277343...
embed
13304314_c0
13304314
fsharp
0
Title: How to use F# types from C# wpf application Problem title: How to use F# types from C# wpf application Tags: wpf, f%23, c%23 Problem: How to use F# types from C# wpf application In F# I have code with structure like this: module MyNS.MyModule type SomeType = member x.value = "some value" Assemble with it code na...
How to use F# types from C# wpf application How to use F# types from C# wpf application wpf f%23 c%23 C# How MyNS.MyModule SomeType x.value MyNs UserControl x:Class WpfTest xmlns:data clr-namespace:MyNS DataTemplate DataType x:Type data:MyModule.SomeType How to use F# types from C# wpf application In F# I have code wit...
[ 0.007781982421875, 0.0106201171875, -0.00921630859375, -0.00188446044921875, 0.001251220703125, 0.0029296875, 0.02490234375, -0.00946044921875, -0.00653076171875, -0.032470703125, -0.001739501953125, -0.0235595703125, 0.012939453125, -0.005615234375, 0.00689697265625, -0.00276184082031...
[ 11249, 4527, 563, 4904, 52895, 1295, 313, 148, 39557, 38415, 47, 1238, 3742, 2646, 22479, 31852, 91616, 8782, 31384, 196707, 1022, 27494, 839, 7, 53400, 175904, 140803, 601, 111337, 131492, 1779, 10135, 42, 210716, 11809, 159065, 19309, 2053,...
[ 0.03790283203125, 0.1488037109375, 0.1614990234375, 0.2120361328125, 0.262939453125, 0.11376953125, 0.031707763671875, 0.0767822265625, 0.173583984375, 0.138427734375, 0.019012451171875, 0.0614013671875, 0.0408935546875, 0.114990234375, 0.139404296875, 0.087646484375, 0.0645141601562...
embed
23716101_c0
23716101
fsharp
0
Title: Write f# Function that takes parameterized constructor Problem title: Write f# Function that takes parameterized constructor Tags: f%23 Problem: Write f# Function that takes parameterized constructor I want to write a function that creates an object from a data stream, e.g. let nxL<'T when 'T : (new : unit -> 'T...
Write f# Function that takes parameterized constructor Write f# Function that takes parameterized constructor f%23 Write sr:StreamReader sr.ReadLine Some None Calls Write f# Function that takes parameterized constructor I want to write a function that creates an object from a data stream, e.g. However, this doesn't wor...
[ -0.00836181640625, 0.00106048583984375, 0.0032196044921875, -0.01544189453125, 0.0106201171875, -0.009765625, 0.01123046875, 0.00457763671875, -0.01165771484375, -0.0225830078125, -0.0013580322265625, -0.036376953125, 0.001556396484375, -0.007720947265625, 0.0079345703125, -0.017089843...
[ 601, 18781, 1238, 4904, 28670, 10763, 450, 51776, 171859, 29367, 64549, 748, 3742, 25191, 115061, 31345, 56, 93232, 31384, 438, 26265, 3444, 33022, 32354, 28282, 36746, 1295, 2053, 75973, 22027, 18, 4488, 35782, 563, 123309, 46876, 110, 10422...
[ 0.07098388671875, 0.104248046875, 0.1260986328125, 0.20458984375, 0.1849365234375, 0.0625, 0.016204833984375, 0.090576171875, 0.1802978515625, 0.1099853515625, 0.1639404296875, 0.1373291015625, 0.067138671875, 0.01806640625, 0.154052734375, 0.1951904296875, 0.1185302734375, 0.13696...
embed
31525251_c0
31525251
fsharp
0
Title: Calling UDFs In Other Languages From SQL Server Problem title: Calling UDFs In Other Languages From SQL Server Tags: sql-server, f%23, c%23 Problem: Calling UDFs In Other Languages From SQL Server Currently, I am trying to find out if there is some way to write F# or C# code in Visual Studio, import those UDFs i...
Calling UDFs In Other Languages From SQL Server Calling UDFs In Other Languages From SQL Server sql-server f%23 c%23 Calling UDFs Other Languages SQL Server Calling UDFs In Other Languages From SQL Server Currently, I am trying to find out if there is some way to write F# or C# code in Visual Studio, import those UDFs ...
[ 0.03076171875, 0.018310546875, -0.006256103515625, 0.01202392578125, -0.009521484375, -0.01153564453125, -0.0301513671875, -0.016357421875, -0.0172119140625, -0.0400390625, -0.01116943359375, -0.036376953125, 0.0057373046875, 0.0023956298828125, 0.012451171875, 0.004058837890625, -0....
[ 26265, 214, 345, 38997, 7, 360, 64511, 83658, 28090, 80866, 22687, 99247, 39642, 1238, 3742, 31577, 3917, 33022, 563, 4904, 707, 313, 18151, 23, 73372, 22968, 24927, 3934, 11782, 2856, 28032, 10723, 7722, 32354, 831, 17203, 64, 944, 63399, ...
[ 0.179443359375, 0.03509521484375, 0.130859375, 0.269775390625, 0.111083984375, 0.042633056640625, 0.1126708984375, 0.22216796875, 0.1380615234375, 0.1973876953125, 0.1591796875, 0.158447265625, 0.124267578125, 0.060272216796875, 0.06976318359375, 0.00799560546875, 0.044677734375, 0...
embed
35126609_c0
35126609
fsharp
0
Title: Return value or false by TryGetValue method Problem title: Return value or false by TryGetValue method Tags: dictionary, f%23 Problem: Return value or false by TryGetValue method I have a dictionary and get the value: open System.Collections.Generic let price = Dictionary<string, int>() Array.iter price.Add [|"a...
Return value or false by TryGetValue method Return value or false by TryGetValue method dictionary f%23 TryGetValue System.Collections.Generic Dictionary Array.iter price.Add price.TryGetValue Return value or false by TryGetValue method I have a dictionary and get the value: I need false in 3th call. How to get value o...
[ -0.005157470703125, 0.0185546875, 0.02099609375, -0.00506591796875, -0.0021209716796875, 0.0030364990234375, -0.0281982421875, 0.021484375, -0.0034332275390625, 0.007232666015625, 0.0031585693359375, 0.05615234375, -0.0277099609375, 0.01055908203125, 0.02685546875, 0.00823974609375, ...
[ 173340, 34292, 707, 98320, 390, 40858, 724, 126, 856, 50770, 55300, 45, 10763, 3742, 12353, 8996, 135932, 147638, 16840, 27167, 618, 1294, 2046, 3871, 138, 927, 11782, 2174, 22799, 959, 14037, 2967, 30646, 29568, 56566, 176377, 91067 ]
[ 0.2255859375, 0.2430419921875, 0.1005859375, 0.260986328125, 0.03729248046875, 0.21435546875, 0.118408203125, 0.1436767578125, 0.1964111328125, 0.271240234375, 0.1712646484375, 0.021240234375, 0.108154296875, 0.06256103515625, 0.049407958984375, 0.0167999267578125, 0.040008544921875,...
embed
39584104_c0
39584104
fsharp
0
Title: Nominal types bound to a specific function Problem title: Nominal types bound to a specific function Tags: haskell, domain-driven-design, f%23, types Problem: Nominal types bound to a specific function Is there a language or type system that supports defining types that can only be instantiated via a specific fu...
Nominal types bound to a specific function Nominal types bound to a specific function haskell domain-driven-design f%23 types Nominal NonZeroInteger CreateNonZeroInteger Nominal types bound to a specific function Is there a language or type system that supports defining types that can only be instantiated via a specifi...
[ 0.002960205078125, 0.00173187255859375, -0.0086669921875, -0.0169677734375, 0.004547119140625, 0.005645751953125, 0.0108642578125, -0.00494384765625, -0.0101318359375, -0.0240478515625, -0.021728515625, -0.01904296875, -0.01263427734375, -0.0159912109375, 0.0028228759765625, 0.00570678...
[ 438, 1249, 289, 52895, 99091, 47, 29458, 32354, 1556, 142508, 77758, 33926, 34198, 1238, 3742, 3775, 1511, 4036, 4153, 67, 1505, 151313, 59881, 2071, 2685, 46876, 707, 10644, 5426, 8060, 13204, 449, 831, 4734, 34648, 14, 1829, 27781, 5809, ...
[ 0.100830078125, 0.2119140625, 0.060791015625, 0.265625, 0.188232421875, 0.06134033203125, 0.1854248046875, 0.18212890625, 0.126708984375, 0.2083740234375, 0.05615234375, 0.05316162109375, 0.1636962890625, 0.0224761962890625, 0.0677490234375, 0.15576171875, 0.092529296875, 0.1580810...
embed
42464226_c0
42464226
fsharp
0
Title: define nth function which will take an integer, n, and a list as arguments. The nth element of the list, indexed from 0, should be returned Problem title: define nth function which will take an integer, n, and a list as arguments. The nth element of the list, indexed from 0, should be returned Tags: f%23 Problem...
define nth function which will take an integer, n, and a list as arguments. The nth element of the list, indexed from 0, should be returned define nth function which will take an integer, n, and a list as arguments. The nth element of the list, indexed from 0, should be returned f%23 0 define nth function which will ta...
[ -0.009765625, -0.007476806640625, 0.02099609375, -0.0145263671875, 0.00445556640625, 0.0120849609375, 0.0028533935546875, -0.005126953125, -0.01324462890625, -0.0181884765625, 0.00494384765625, -0.034912109375, -0.018310546875, 0.011962890625, -0.01416015625, -0.0052490234375, 0.0368...
[ 61924, 653, 927, 32354, 3129, 1221, 5646, 892, 1505, 136, 5303, 237, 10750, 12830, 63262, 297, 1295, 757, 5608, 176377, 1238, 3949, 3742, 5, 111, 4552, 23468, 563, 4904, 52080, 31577, 6528, 3642, 831, 54, 903, 1119, 86827, 155761, 128191,...
[ 0.196533203125, 0.2451171875, 0.2493896484375, 0.2462158203125, 0.025970458984375, 0.051544189453125, 0.102783203125, 0.1103515625, 0.095947265625, 0.09539794921875, 0.1861572265625, 0.05914306640625, 0.2308349609375, 0.203369140625, 0.183349609375, 0.0704345703125, 0.1220703125, 0...
embed
28768607_c1
28768607
fsharp
1
2 tests can be found here: Tests.fsx Any ideas on what is causing the exception? Code signals: NodaTime.Utility.InvalidNodaDataException, JToken, JsonConvert.DeserializeObject, JsonSerializerSettings, n.ConfigureForNodaTime, NodaTime.DateTimeZoneProviders.Tzdb, JToken.Parse, ToObject, Instant, JsonSerializer.Create, E...
2 tests can be found here: Tests.fsx Any ideas on what is causing the exception? Code signals: NodaTime.Utility.InvalidNodaDataException, JToken, JsonConvert.DeserializeObject, JsonSerializerSettings, n.ConfigureForNodaTime, NodaTime.DateTimeZoneProviders.Tzdb, JToken.Parse, ToObject, Instant, JsonSerializer.Create, E...
[ 0.00982666015625, 0.0211181640625, -0.0091552734375, 0.009521484375, 0.01080322265625, 0.0012054443359375, -0.00142669677734375, 0.0028228759765625, 0.00799560546875, 0.0206298828125, 0.01116943359375, 0.035888671875, 0.01318359375, -0.0020904541015625, 0.01708984375, -0.00224304199218...
[ 116, 109921, 831, 14037, 3688, 8647, 7, 5, 17447, 425, 25647, 216806, 70, 131527, 32, 28864, 26073, 438, 85, 70059, 106742, 103133, 7013, 5021, 137989, 19279, 63928, 821, 7763, 1098, 1681, 11549, 73347, 25435, 119066, 75161, 4233, 51626, 52...
[ 0.06640625, 0.26708984375, 0.01043701171875, 0.0673828125, 0.04791259765625, 0.231689453125, 0.05413818359375, 0.052520751953125, 0.15576171875, 0.1600341796875, 0.0731201171875, 0.109375, 0.026641845703125, 0.2435302734375, 0.014251708984375, 0.1781005859375, 0.1614990234375, 0.16...
embed
35769576_c0
35769576
fsharp
0
Title: How to invoke external build scripts? Problem title: How to invoke external build scripts? Tags: f%23, f%23-fake Problem: How to invoke external build scripts? How do I execute another FAKE build script from within a FAKE build script? I want to create a build script which clones a git repo and then executes a b...
How to invoke external build scripts? How to invoke external build scripts? f%23 f%23-fake How Target ReleaseBuild CleanDir URL build.fsx How to invoke external build scripts? How do I execute another FAKE build script from within a FAKE build script? I want to create a build script which clones a git repo and then exe...
[ -0.00830078125, 0.0400390625, -0.0096435546875, 0.006591796875, -0.000762939453125, 0.0054931640625, 0.004302978515625, -0.014404296875, 0.00127410888671875, -0.018310546875, 0.0037384033203125, 0.00125885009765625, 0.0022125244140625, 0.037841796875, 0.01153564453125, -0.0060119628906...
[ 11249, 47, 23, 23253, 13, 173591, 45367, 26499, 7, 3742, 1021, 350, 160017, 152590, 121137, 73133, 397, 481, 31862, 17447, 425, 54, 87, 71924, 15700, 563, 119960, 1295, 28032, 3444, 28282, 20450, 10, 62270, 93392, 14534, 13452, 7909, 32845,...
[ 0.10443115234375, 0.058197021484375, 0.07293701171875, 0.1796875, 0.0457763671875, 0.2236328125, 0.220703125, 0.237548828125, 0.0572509765625, 0.048828125, 0.1214599609375, 0.09423828125, 0.2203369140625, 0.127197265625, 0.17724609375, 0.1865234375, 0.072265625, 0.122802734375, 0...
embed
6374308_c0
6374308
fsharp
0
Title: Is there anything like Haskell generic programming for F#? Problem title: Is there anything like Haskell generic programming for F#? Tags: haskell, f%23 Problem: Is there anything like Haskell generic programming for F#? Possible Duplicate: Scrap Your Boilerplate in f# I'm missing the sort generic traversal and ...
Is there anything like Haskell generic programming for F#? Is there anything like Haskell generic programming for F#? haskell f%23 Haskell Is there anything like Haskell generic programming for F#? I'm missing the sort generic traversal and transformation libraries that I have in Haskell when I'm working in F#. Has any...
[ -0.00830078125, 0.0103759765625, 0.0162353515625, -0.01904296875, -0.0128173828125, -0.00225830078125, -0.012939453125, -0.0152587890625, -0.00726318359375, -0.0203857421875, -0.0040283203125, -0.00738525390625, -0.00433349609375, -0.017822265625, -0.01153564453125, -0.0025787353515625...
[ 2071, 23937, 1884, 20625, 142508, 189534, 56037, 449, 100, 563, 4904, 2685, 1556, 1238, 3742, 132283, 12096, 37317, 289, 136, 167201, 35773, 54811, 11789, 92558, 16882, 41392, 108994, 181798, 8306, 34754, 180300, 117008, 28987, 5809, 45367, 98,...
[ 0.00909423828125, 0.0823974609375, 0.1356201171875, 0.14599609375, 0.251220703125, 0.258544921875, 0.164306640625, 0.11328125, 0.07684326171875, 0.129150390625, 0.191162109375, 0.0145263671875, 0.11669921875, 0.033782958984375, 0.031982421875, 0.0665283203125, 0.14599609375, 0.1226...
embed
43849954_c0
43849954
fsharp
0
Title: Efficient way of modifying just one value of a Series in Deedle (F#) Problem title: Efficient way of modifying just one value of a Series in Deedle (F#) Tags: deedle, series, f%23 Problem: Efficient way of modifying just one value of a Series in Deedle (F#) Series are immutable in Deedle. If i have a Series<'K,'...
Efficient way of modifying just one value of a Series in Deedle (F#) Efficient way of modifying just one value of a Series in Deedle (F#) deedle series f%23 Efficient Series Deedle Series.map Efficient way of modifying just one value of a Series in Deedle (F#) Series are immutable in Deedle. If i have a Series<'K,'V> a...
[ -0.004638671875, 0.0087890625, 0.01336669921875, -0.0247802734375, -0.01239013671875, -0.0279541015625, -0.0213623046875, -0.01007080078125, 0.006988525390625, 0.006683349609375, 0.00653076171875, 0.039794921875, -0.0081787109375, -0.004150390625, 0.01263427734375, 0.01904296875, 0.0...
[ 24500, 45964, 3917, 2811, 151138, 1660, 1632, 34292, 64876, 262, 297, 133, 919, 4904, 23, 8, 36549, 1238, 3742, 62346, 566, 561, 22819, 605, 856, 32354, 30646, 54936, 4734, 12921, 92, 334, 80836, 3642, 54, 93766, 44954, 756, 22799, 35773,...
[ 0.14794921875, 0.04644775390625, 0.03643798828125, 0.1717529296875, 0.1275634765625, 0.1185302734375, 0.1751708984375, 0.184814453125, 0.2176513671875, 0.1219482421875, 0.17626953125, 0.184326171875, 0.09197998046875, 0.17919921875, 0.03509521484375, 0.0770263671875, 0.151611328125, ...
embed
19512136_c0
19512136
fsharp
0
Title: F# Interface Implementation Problem title: F# Interface Implementation Tags: f%23, interface Problem: F# Interface Implementation Let say I have this interface in C# and want to implement it in F# public interface IBatch { System.Data.IDbConnection Connection { get; set; } } I wish to implement the interface in ...
F# Interface Implementation F# Interface Implementation f%23 interface Interface Implementation IBatch System.Data.IDbConnection Connection Batch f.Connection Devart.Data.Oracle.OracleConnection F# Interface Implementation Let say I have this interface in C# and want to implement it in F# I wish to implement the interf...
[ 0.006927490234375, -0.0016632080078125, 0.000446319580078125, 0.00726318359375, -0.005157470703125, 0.0125732421875, -0.010986328125, -0.0003337860107421875, -0.002349853515625, 0.001434326171875, -0.009765625, 0.01251220703125, -0.0196533203125, -0.01416015625, -0.0048828125, -0.02111...
[ 563, 4904, 220237, 153941, 1238, 3949, 3742, 101758, 88874, 257, 206, 12353, 137989, 7146, 275, 235603, 1830, 62448, 21947, 5, 262, 53708, 670, 219, 11030, 5154, 765, 903, 23, 313, 3444, 29479, 32599, 70, 1284, 45767, 26366, 26785, 6002, ...
[ 0.1746826171875, 0.2423095703125, 0.251708984375, 0.18310546875, 0.156005859375, 0.1007080078125, 0.1954345703125, 0.266357421875, 0.052886962890625, 0.0833740234375, 0.1217041015625, 0.09222412109375, 0.1048583984375, 0.12158203125, 0.156982421875, 0.19677734375, 0.0882568359375, ...
embed
10964851_c0
10964851
fsharp
0
Title: CLR vs OCaml exception overhead Problem title: CLR vs OCaml exception overhead Tags: exception, clr, f%23, ocaml Problem: CLR vs OCaml exception overhead Reading Beginning F# - Robert Pickering I focused on the following paragraph: Programmers coming from an OCaml background should be careful when using exceptio...
CLR vs OCaml exception overhead CLR vs OCaml exception overhead exception clr f%23 ocaml CLR OCaml CLR vs OCaml exception overhead Reading Beginning F# - Robert Pickering I focused on the following paragraph: Why, because of CLR, throwing an exception is more expensive if F# than in OCaml ? And what is the best way to ...
[ 0.0218505859375, 0.0220947265625, -0.00811767578125, -0.01129150390625, 0.0189208984375, -0.018798828125, -0.01123046875, 0.000484466552734375, -0.00244140625, -0.00164794921875, -0.003692626953125, -0.00136566162109375, 0.0026397705078125, -0.0087890625, 0.0267333984375, -0.0200195312...
[ 313, 138535, 20209, 180, 105272, 141, 131527, 645, 31251, 33139, 42, 1238, 3949, 3742, 9779, 104951, 67053, 563, 4904, 12452, 122554, 4209, 162393, 25632, 151268, 44084, 6637, 104250, 214, 83, 1286, 135587, 2174, 3501, 2965, 15226, 184, 18151...
[ 0.10400390625, 0.2783203125, 0.14990234375, 0.1376953125, 0.194091796875, 0.18701171875, 0.23779296875, 0.1151123046875, 0.1771240234375, 0.060455322265625, 0.10546875, 0.037811279296875, 0.030975341796875, 0.107666015625, 0.123291015625, 0.1029052734375, 0.0303955078125, 0.0858154...
embed
53584162_c0
53584162
fsharp
0
Title: F# draw geometric object Problem title: F# draw geometric object Tags: draw, f%23, object Problem: F# draw geometric object I have to create 3 functions. One that draw a rectangle, the other one a triangle an the last one a house like on the picture below. type RoboInstruction = | F | L | R type RoboProgram = | ...
F# draw geometric object F# draw geometric object draw f%23 object RoboInstruction RoboProgram Forward Left Right Seq Repeat Nat F# draw geometric object I have to create 3 functions. One that draw a rectangle, the other one a triangle an the last one a house like on the picture below. I tried to draw the rectangle wit...
[ -0.0111083984375, -0.00897216796875, -0.0023651123046875, 0.0247802734375, -0.01470947265625, 0.0308837890625, 0.0224609375, -0.009521484375, 0.004302978515625, 0.0067138671875, 0.000896453857421875, -0.0021209716796875, 0.01312255859375, -0.0064697265625, -0.00909423828125, -0.0069885...
[ 563, 4904, 79442, 84183, 238, 36746, 1238, 3949, 3742, 163337, 36716, 148968, 1326, 19364, 2480, 90911, 503, 864, 33742, 13, 68875, 87, 765, 28282, 138, 32354, 7, 148734, 449, 133, 1927, 109217, 70, 4568, 18276, 1884, 49726, 35064, 37842, ...
[ 0.1214599609375, 0.205078125, 0.1722412109375, 0.18017578125, 0.06463623046875, 0.17431640625, 0.09228515625, 0.0736083984375, 0.1549072265625, 0.149169921875, 0.1251220703125, 0.124267578125, 0.001220703125, 0.0941162109375, 0.01171875, 0.03887939453125, 0.041748046875, 0.10449218...
embed
6288742_c0
6288742
fsharp
0
Title: Initializing an infinite list of BigIntegers Problem title: Initializing an infinite list of BigIntegers Tags: sequence, seq, ienumerable, f%23, biginteger Problem: Initializing an infinite list of BigIntegers Ok, So I need a list of all the positive integers. What first comes to mind is: let numbers:Seq<bigint>...
Initializing an infinite list of BigIntegers Initializing an infinite list of BigIntegers sequence seq ienumerable f%23 biginteger Initializing BigIntegers numbers:Seq Seq.initInfinite Initializing an infinite list of BigIntegers Ok, So I need a list of all the positive integers. What first comes to mind is: but initIn...
[ 0.00007581710815429688, 0.0155029296875, -0.00830078125, -0.000946044921875, -0.00128936767578125, -0.00494384765625, 0.03125, 0.00445556640625, -0.00396728515625, -0.032470703125, 0.0034942626953125, 0.0146484375, 0.00921630859375, 0.03125, 0.0020751953125, 0.017822265625, 0.0017013...
[ 360, 1890, 289, 84382, 54241, 13, 5303, 14195, 4153, 67, 26255, 40, 944, 3956, 864, 17, 316, 56, 2886, 1238, 3949, 3742, 6957, 6191, 1505, 101935, 4233, 503, 73, 217, 48310, 3871, 10, 111, 756, 70, 24491, 892, 5117, 7086, 23, 1029, ...
[ 0.10638427734375, 0.166259765625, 0.12158203125, 0.0833740234375, 0.2127685546875, 0.08233642578125, 0.2110595703125, 0.1480712890625, 0.1405029296875, 0.201416015625, 0.17041015625, 0.05364990234375, 0.1419677734375, 0.10577392578125, 0.159912109375, 0.0287017822265625, 0.1383056640...
embed
32281995_c0
32281995
fsharp
0
Title: Foreach over a 2D Array in F# makes the compiler think the iterated values are of type object. Why? Problem title: Foreach over a 2D Array in F# makes the compiler think the iterated values are of type object. Why? Tags: .net, f%23 Problem: Foreach over a 2D Array in F# makes the compiler think the iterated valu...
Foreach over a 2D Array in F# makes the compiler think the iterated values are of type object. Why? Foreach over a 2D Array in F# makes the compiler think the iterated values are of type object. Why? .net f%23 Foreach Array Why Array2D.init xs.GetType System.Int32 Foreach over a 2D Array in F# makes the compiler think ...
[ 0.01007080078125, -0.0086669921875, -0.0025634765625, -0.01318359375, 0.005584716796875, 0.00103759765625, -0.00762939453125, 0.000545501708984375, -0.00872802734375, 0.017822265625, 0.011962890625, 0.0023956298828125, 0.024658203125, -0.0203857421875, -0.0084228515625, -0.018310546875...
[ 52445, 934, 645, 116, 397, 69253, 53, 563, 4904, 30482, 9969, 34759, 5351, 17, 720, 27686, 142424, 111, 10644, 36746, 44084, 1179, 1238, 3742, 304, 217, 1022, 196707, 12353, 6460, 63134, 2967, 81, 83, 995, 170, 8562, 70270, 54608, 132283,...
[ 0.1727294921875, 0.237548828125, 0.102783203125, 0.089111328125, 0.1041259765625, 0.1292724609375, 0.09197998046875, 0.111572265625, 0.2158203125, 0.013519287109375, 0.10406494140625, 0.132080078125, 0.1297607421875, 0.0224151611328125, 0.1663818359375, 0.07147216796875, 0.1401367187...
embed
61915420_c0
61915420
fsharp
0
Title: Is there a way to mix a class with a discriminated union in F#? Problem title: Is there a way to mix a class with a discriminated union in F#? Tags: f%23 Problem: Is there a way to mix a class with a discriminated union in F#? I think it would be convenient to have a discriminated union type with an initializer....
Is there a way to mix a class with a discriminated union in F#? Is there a way to mix a class with a discriminated union in F#? f%23 Result Error SomeData Is there a way to mix a class with a discriminated union in F#? I think it would be convenient to have a discriminated union type with an initializer. My idea is to ...
[ -0.0035552978515625, 0.0145263671875, 0.0098876953125, -0.006439208984375, -0.00177764892578125, -0.004547119140625, -0.0064697265625, -0.00714111328125, 0.02490234375, -0.006561279296875, 0.01116943359375, -0.01611328125, 0.0059814453125, -0.00701904296875, -0.0164794921875, -0.002487...
[ 2685, 10, 3917, 47, 17664, 18507, 678, 55970, 3674, 69941, 23, 563, 4904, 1238, 3742, 126684, 212059, 31384, 137989, 5351, 2806, 186, 142267, 10644, 61475, 52825, 6528, 70163, 1884, 903, 27571, 6002, 102, 36746, 831, 5646, 107730, 11675, 62...
[ 0.034912109375, 0.060791015625, 0.1351318359375, 0.043792724609375, 0.2408447265625, 0.2259521484375, 0.1201171875, 0.224609375, 0.091552734375, 0.21435546875, 0.04315185546875, 0.130615234375, 0.208740234375, 0.040435791015625, 0.056793212890625, 0.0687255859375, 0.045440673828125, ...
embed
59996230_c0
59996230
fsharp
0
Title: how to keep only &#x27;stable&#x27; values in a list in F# Problem title: how to keep only &#x27;stable&#x27; values in a list in F# Tags: f%23 Problem: how to keep only 'stable' values in a list in F# I have the following data: [ 0, +1, +1, +1, 0, +1, -1, -1, 0, -1, -1, -1, -1, +1, +1, -1, +1, +1, +1, +1, +1, +...
how to keep only &#x27;stable&#x27; values in a list in F# how to keep only &#x27;stable&#x27; values in a list in F# f%23 how to keep only 'stable' values in a list in F# I have the following data: and this is the output I want: in the source column, data can be +1, -1 or 0. in the output, the +1s and -1s that have 3,...
[ 0.01153564453125, 0.0089111328125, 0.01336669921875, -0.00762939453125, 0.00872802734375, -0.0133056640625, 0.0115966796875, -0.00148773193359375, 0.0203857421875, 0.0067138671875, -0.004669189453125, -0.0021514892578125, 0.0033416748046875, 0.00653076171875, 0.0113525390625, 0.0269775...
[ 3642, 47, 13695, 4734, 3768, 7, 22819, 142424, 23, 5303, 563, 4904, 1238, 3742, 70, 25632, 2053, 140992, 3444, 31344, 3365, 316, 831, 186, 57157, 68940, 707, 757, 136, 138, 1286, 243228, 74918, 42, 24765, 959, 117176, 145581, 64, 55956, ...
[ 0.047210693359375, 0.016815185546875, 0.22021484375, 0.142822265625, 0.0833740234375, 0.127197265625, 0.26513671875, 0.1927490234375, 0.06634521484375, 0.2205810546875, 0.1474609375, 0.22607421875, 0.06982421875, 0.038909912109375, 0.009307861328125, 0.0240325927734375, 0.14147949218...
embed
53971413_c0
53971413
fsharp
0
Title: Improving my F# implementation of newton&#x27;s method to find the roots Problem title: Improving my F# implementation of newton&#x27;s method to find the roots Tags: f%23 Problem: Improving my F# implementation of newton's method to find the roots I implemented newton's method to find roots of a function. I'm w...
Improving my F# implementation of newton&#x27;s method to find the roots Improving my F# implementation of newton&#x27;s method to find the roots f%23 Improving System tol:float dx:float Math.Abs Improving my F# implementation of newton's method to find the roots I implemented newton's method to find roots of a functio...
[ 0.0009918212890625, 0.01165771484375, 0.040771484375, 0.007354736328125, 0.01806640625, 0.0184326171875, 0.024169921875, 0.01953125, -0.00933837890625, -0.0128173828125, -0.00156402587890625, 0.0255126953125, -0.000904083251953125, 0.009521484375, 0.01068115234375, 0.00457763671875, ...
[ 3370, 70628, 214, 759, 563, 4904, 208124, 3525, 1507, 3768, 55300, 7413, 74855, 7, 47, 1238, 3742, 12353, 31917, 12, 52347, 257, 104, 425, 78804, 24988, 25, 87, 29479, 111, 32354, 149016, 831, 15572, 20650, 18151, 237, 1286, 1733, 32628, ...
[ 0.0794677734375, 0.1524658203125, 0.026947021484375, 0.038299560546875, 0.1239013671875, 0.2158203125, 0.1453857421875, 0.1566162109375, 0.18798828125, 0.09716796875, 0.169189453125, 0.1546630859375, 0.261962890625, 0.1280517578125, 0.029266357421875, 0.05352783203125, 0.054077148437...
embed
37447313_c0
37447313
fsharp
0
Title: What is the F# answer to Haskell&#x27;s typeclasses and OCaml&#x27;s functors? Problem title: What is the F# answer to Haskell&#x27;s typeclasses and OCaml&#x27;s functors? Tags: ocaml, f%23, functional-programming, haskell Problem: What is the F# answer to Haskell's typeclasses and OCaml's functors? It is impor...
What is the F# answer to Haskell&#x27;s typeclasses and OCaml&#x27;s functors? What is the F# answer to Haskell&#x27;s typeclasses and OCaml&#x27;s functors? ocaml f%23 functional-programming haskell What Haskell OCaml What is the F# answer to Haskell's typeclasses and OCaml's functors? It is important to be able to as...
[ 0.000701904296875, -0.0034942626953125, 0.01373291015625, 0.007354736328125, 0.003082275390625, 0.0106201171875, -0.0052490234375, -0.00182342529296875, -0.00579833984375, -0.0179443359375, -0.01226806640625, -0.018798828125, -0.00799560546875, 0.00286865234375, 0.00136566162109375, -0...
[ 4865, 83, 563, 4904, 35166, 47, 20625, 142508, 3768, 10644, 67413, 136, 180, 105272, 141, 7477, 18770, 36, 9779, 1238, 3742, 123309, 28966, 1556, 70, 5526, 19048, 30699, 678, 57134, 32354, 3714, 160404, 29458, 63014, 23, 9407, 5425, 201939,...
[ 0.0655517578125, 0.026458740234375, 0.1407470703125, 0.2183837890625, 0.1727294921875, 0.056396484375, 0.1405029296875, 0.199951171875, 0.0595703125, 0.1666259765625, 0.1614990234375, 0.06475830078125, 0.110595703125, 0.1717529296875, 0.1383056640625, 0.12353515625, 0.1217041015625, ...
embed
41807027_c0
41807027
fsharp
0
Title: Match on child discriminated union Problem title: Match on child discriminated union Tags: f%23, discriminated-union Problem: Match on child discriminated union If I have a discriminated union with multiple values sharing a child ( Apple and MoreApples both have type Apple )... type Apples = | GrannySmith | Gala...
Match on child discriminated union Match on child discriminated union f%23 discriminated-union Match Apple MoreApples Apples GrannySmith Gala Fruit Banana speakFruit2 Match on child discriminated union If I have a discriminated union with multiple values sharing a child ( Apple and MoreApples both have type Apple )... ...
[ 0.0057373046875, 0.0032196044921875, 0.00008153915405273438, -0.0068359375, -0.0238037109375, -0.0159912109375, -0.0137939453125, 0.0034637451171875, 0.029052734375, -0.01043701171875, -0.000797271728515625, -0.00057220458984375, 0.01171875, 0.022216796875, 0.0050048828125, -0.00775146...
[ 67407, 98, 29041, 55970, 3674, 69941, 1238, 3949, 3742, 87046, 4129, 5455, 75339, 14091, 299, 266, 30733, 151958, 53592, 76, 70424, 73032, 304, 10, 48716, 142424, 53371, 136, 7, 15044, 10644, 27, 2071, 2685, 3917, 47, 14858, 70, 1614, 873...
[ 0.267578125, 0.156494140625, 0.1961669921875, 0.237060546875, 0.1207275390625, 0.2255859375, 0.03668212890625, 0.038238525390625, 0.1123046875, 0.185791015625, 0.197265625, 0.1851806640625, 0.198486328125, 0.06744384765625, 0.059539794921875, 0.042022705078125, 0.115234375, 0.17529...
embed
21052114_c0
21052114
fsharp
0
Title: List flattening in F# Problem title: List flattening in F# Tags: f%23 Problem: List flattening in F# I'm new to F# and trying to rewrite one of our applications in F# to try and learn it along the way and I am having a bit of trouble flattening a list. I have searched and found several answers, but I can't seem ...
List flattening in F# List flattening in F# f%23 List DataModule RegistryModule Microsoft.Win32 SOFTWARE Microsoft Windows CurrentVersion Uninstall Wow6432Node List.map Microsoft.Win32.Registry.LocalMachine.OpenSubKey List.ofArray k.GetSubKeyNames k.OpenSubKey List.filter x.GetValue ProductId List flattening in F# I'm ...
[ -0.0040283203125, 0.00592041015625, 0.0181884765625, 0.00057220458984375, 0.01007080078125, 0.00011682510375976562, -0.0137939453125, 0.001922607421875, 0.01806640625, 0.01416015625, 0.01495361328125, 0.01080322265625, 0.01019287109375, -0.00087738037109375, -0.0020904541015625, -0.006...
[ 32036, 49878, 67, 592, 23, 563, 4904, 1238, 3742, 11809, 91616, 8782, 19685, 7244, 6460, 207776, 3773, 114063, 178390, 992, 80383, 53505, 13307, 5021, 112, 62346, 54601, 14, 38904, 203758, 99326, 103264, 96472, 162429, 4390, 7092, 472, 163612...
[ 0.228515625, 0.231689453125, 0.1666259765625, 0.051544189453125, 0.03851318359375, 0.1561279296875, 0.226318359375, 0.061614990234375, 0.10211181640625, 0.007354736328125, 0.037872314453125, 0.0103759765625, 0.142333984375, 0.04119873046875, 0.1175537109375, 0.04473876953125, 0.05758...
embed
32642232_c0
32642232
fsharp
0
Title: F# Initialize 2D string array Problem title: F# Initialize 2D string array Tags: f%23 Problem: F# Initialize 2D string array So, I've got a simple structure that just includes a multidimensional array of strings, which looks like so type Structure = struct val mutable SubText: string[][] end In another function ...
F# Initialize 2D string array F# Initialize 2D string array f%23 Initialize Structure SubText Struct string1 string2 string3 Struct.SubText F# Initialize 2D string array So, I've got a simple structure that just includes a multidimensional array of strings, which looks like so In another function we have something like...
[ 0.031005859375, 0.006622314453125, -0.0089111328125, 0.0289306640625, -0.004791259765625, -0.00186920166015625, 0.0263671875, -0.00897216796875, 0.00579833984375, 0.04345703125, 0.0125732421875, 0.0159912109375, 0.0048828125, -0.00064849853515625, 0.000965118408203125, -0.0043640136718...
[ 563, 4904, 360, 40705, 119066, 116, 397, 79315, 10298, 53, 1238, 3742, 63667, 238, 6644, 8273, 174379, 15390, 363, 96472, 8781, 45646, 96853, 6024, 157955, 7, 33342, 1884, 221, 32354, 903, 217684, 1528, 58359, 90, 2831, 1429, 1181, 4332, ...
[ 0.1021728515625, 0.1668701171875, 0.061676025390625, 0.1466064453125, 0.04473876953125, 0.132080078125, 0.142822265625, 0.23388671875, 0.158447265625, 0.10467529296875, 0.038177490234375, 0.090087890625, 0.150634765625, 0.10791015625, 0.006378173828125, 0.146484375, 0.1644287109375, ...
embed
15864670_c2
15864670
fsharp
2
, int32 acc) cil managed { // Method Start RVA 0x2068 // Code Size 18 (0x12) .custom instance void [FSharp.Core]Microsoft.FSharp.Core.CompilationArgumentCountsAttribute::.ctor(int32[]) = { int32[](Mono.Cecil.CustomAttributeArgument[]) } .maxstack 5 L_0000: nop L_0001: ldarg.0 L_0002: brtrue.s L_0006 L_0004: Code signal...
, int32 acc) cil managed { // Method Start RVA 0x2068 // Code Size 18 (0x12) .custom instance void [FSharp.Core]Microsoft.FSharp.Core.CompilationArgumentCountsAttribute::.ctor(int32[]) = { int32[](Mono.Cecil.CustomAttributeArgument[]) } .maxstack 5 L_0000: nop L_0001: ldarg.0 L_0002: brtrue.s L_0006 L_0004: Code signal...
[ -0.00836181640625, 0.003997802734375, -0.01953125, 0.01336669921875, -0.01336669921875, 0.00830078125, 0.0079345703125, 0.005096435546875, 0.021728515625, -0.00665283203125, -0.000514984130859375, -0.00775146484375, 0.00946044921875, 0.0152587890625, 0.0242919921875, -0.005279541015625...
[ 6, 4, 23, 18, 6460, 50015, 16, 13003, 145755, 10666, 4666, 74644, 13794, 627, 16350, 757, 425, 1549, 16028, 28864, 80378, 543, 22085, 55102, 11680, 5928, 110527, 2292, 71, 36381, 3467, 254, 50886, 113387, 5, 108161, 14, 57860, 7614, 1234,...
[ 0.00054931640625, 0.05914306640625, 0.060089111328125, 0.0919189453125, 0.2459716796875, 0.119873046875, 0.07098388671875, 0.2244873046875, 0.260498046875, 0.0078125, 0.018646240234375, 0.197265625, 0.2130126953125, 0.0748291015625, 0.259521484375, 0.0623779296875, 0.02734375, 0.09...
embed
28068390_c0
28068390
fsharp
0
Title: f# get index of all NaNs in a float array Problem title: f# get index of all NaNs in a float array Tags: f%23 Problem: f# get index of all NaNs in a float array I am relatively new to f# and still learning. I am trying to write a function that returns the indices of all NAN of a float array as int array option. ...
f# get index of all NaNs in a float array f# get index of all NaNs in a float array f%23 NaNs arr:array Array.tryFindIndex nan.Equals Some None f# get index of all NaNs in a float array I am relatively new to f# and still learning. I am trying to write a function that returns the indices of all NAN of a float array as ...
[ 0.006439208984375, 0.00146484375, 0.00011301040649414062, -0.00054168701171875, -0.006439208984375, -0.0030059814453125, 0.02392578125, -0.013427734375, -0.0030059814453125, -0.00921630859375, -0.0157470703125, 0.016357421875, -0.02685546875, -0.0003566741943359375, 0.022705078125, -0....
[ 1238, 4904, 2046, 63262, 111, 756, 353, 839, 7, 23, 21917, 257, 10298, 53, 3949, 3742, 19305, 69253, 15123, 204582, 4153, 39659, 25990, 71723, 31384, 438, 35845, 52080, 31577, 33022, 32354, 30646, 136044, 59375, 18, 35829, 15390, 70, 5117, ...
[ 0.1219482421875, 0.156494140625, 0.09259033203125, 0.2181396484375, 0.091552734375, 0.14306640625, 0.169677734375, 0.210693359375, 0.0782470703125, 0.060455322265625, 0.1622314453125, 0.068359375, 0.1170654296875, 0.06915283203125, 0.006622314453125, 0.1339111328125, 0.04083251953125...
embed
56442871_c1
56442871
fsharp
1
<string> Port = Unchecked.defaultof<int> Username = Unchecked.defaultof<string> Password = Unchecked.defaultof<string> } } configurationRoot.Bind(configuration) configuration I end up with configuration that is no different than the value I gave before calling the 'Bind' method (even though I did'nt any exception), bas...
<string> Port = Unchecked.defaultof<int> Username = Unchecked.defaultof<string> Password = Unchecked.defaultof<string> } } configurationRoot.Bind(configuration) configuration I end up with configuration that is no different than the value I gave before calling the 'Bind' method (even though I did'nt any exception), bas...
[ -0.02197265625, 0.045166015625, -0.01373291015625, 0.002197265625, 0.00262451171875, -0.01397705078125, -0.01214599609375, -0.02685546875, 0.0242919921875, 0.019775390625, -0.0262451171875, 0.008056640625, 0.010009765625, 0.037353515625, 0.004119873046875, 0.01080322265625, -0.010864...
[ 91693, 13791, 2203, 992, 78292, 297, 214810, 4390, 4288, 53400, 11627, 170461, 180346, 12724, 818, 571, 7250, 153837, 34, 30494, 87, 3564, 1257, 678, 110, 12921, 34292, 26038, 8108, 159029, 55300, 131527, 198343, 442, 1884, 33720, 73659, 5701...
[ 0.06201171875, 0.1685791015625, 0.054534912109375, 0.0865478515625, 0.1966552734375, 0.06951904296875, 0.1968994140625, 0.1790771484375, 0.041748046875, 0.0860595703125, 0.09375, 0.197021484375, 0.2467041015625, 0.083984375, 0.037628173828125, 0.084716796875, 0.2178955078125, 0.144...
embed
49952578_c1
49952578
fsharp
1
and will feed it to the select function. //and then will feed the result to the 3rd party add method } public static Unit Update<T,TKey>(Update<T,TKey> type,TKey key, Func<T,T> select) { //will load an instance of T and will feed it to the select function. //and then will feed the result to the 3rd party update method...
and will feed it to the select function. //and then will feed the result to the 3rd party add method } public static Unit Update<T,TKey>(Update<T,TKey> type,TKey key, Func<T,T> select) { //will load an instance of T and will feed it to the select function. //and then will feed the result to the 3rd party update method...
[ -0.00506591796875, 0.023681640625, 0.032958984375, -0.006805419921875, -0.031005859375, -0.015380859375, -0.01092529296875, 0.0179443359375, 0.011962890625, -0.01708984375, -0.012451171875, 0.00994873046875, -0.011962890625, 0.006805419921875, 0.00836181640625, 0.0031890869140625, 0....
[ 136, 1221, 61590, 442, 47, 36849, 32354, 70, 16750, 138, 4216, 19085, 15190, 55300, 3835, 201939, 46640, 28641, 618, 162429, 152872, 10644, 22799, 28670, 72367, 110527, 384, 28350, 6, 262, 46485, 4657, 110641, 154109, 53400, 831, 4527, 1884, ...
[ 0.010711669921875, 0.0611572265625, 0.2049560546875, 0.03179931640625, 0.05169677734375, 0.1776123046875, 0.1590576171875, 0.013763427734375, 0.077880859375, 0.07861328125, 0.03021240234375, 0.1243896484375, 0.1300048828125, 0.125732421875, 0.06719970703125, 0.1475830078125, 0.192871...
embed
30152090_c0
30152090
fsharp
0
Title: How to set F# 4.0 in Visual Studio? Problem title: How to set F# 4.0 in Visual Studio? Tags: f%23 Problem: How to set F# 4.0 in Visual Studio? I've just installed F# 4.0 (FSharpBundle). How to let visual studio 2013 use the new version of F#? // From Visual Studio 2013, fsi: Microsoft (R) F# Interactive version ...
How to set F# 4.0 in Visual Studio? How to set F# 4.0 in Visual Studio? f%23 How Visual Studio Microsoft Interactive Copyright Corporation All Rights Reserved Program Files x86 SDKs Framework v4.0 Fsi.exe How to set F# 4.0 in Visual Studio? I've just installed F# 4.0 (FSharpBundle). How to let visual studio 2013 use th...
[ -0.0189208984375, 0.00848388671875, 0.0120849609375, -0.005218505859375, 0.00004076957702636719, 0.0093994140625, -0.013427734375, 0.0196533203125, -0.009765625, 0.01806640625, -0.005523681640625, -0.00439453125, -0.01556396484375, -0.00408935546875, 0.025390625, -0.0052490234375, 0....
[ 11249, 47, 5423, 563, 4904, 40401, 23, 73372, 22968, 1238, 3742, 7244, 5337, 71232, 4189, 84829, 38927, 62713, 7663, 42724, 15276, 45461, 202220, 81, 151152, 172, 46480, 20600, 297, 36381, 3467, 254, 7030, 133, 2633, 21176, 12275, 1210, 452...
[ 0.0919189453125, 0.1070556640625, 0.147705078125, 0.1416015625, 0.232177734375, 0.28076171875, 0.091796875, 0.223388671875, 0.231201171875, 0.0872802734375, 0.0183563232421875, 0.065673828125, 0.039306640625, 0.06353759765625, 0.122314453125, 0.0660400390625, 0.041412353515625, 0.0...
embed
65021098_c1
65021098
fsharp
1
this.InitFields() = this.myFSharpEvent <- new Event<EventHandler<EventArgs>,EventArgs>() I am wondering if there is an easier way to have both CLIEvent working with let binding and still use all the base class constructors as required to finally get rid of the InitFields method. Code signals: Inheritance, Multiple, Ba...
this.InitFields() = this.myFSharpEvent <- new Event<EventHandler<EventArgs>,EventArgs>() I am wondering if there is an easier way to have both CLIEvent working with let binding and still use all the base class constructors as required to finally get rid of the InitFields method. Code signals: Inheritance, Multiple, Ba...
[ -0.014404296875, 0.0118408203125, -0.0113525390625, -0.018798828125, 0.0045166015625, -0.0020904541015625, 0.01422119140625, -0.01007080078125, 0.00823974609375, -0.017578125, 0.0024261474609375, 0.0284423828125, 0.0133056640625, 0.0233154296875, -0.000598907470703125, 0.00174713134765...
[ 903, 4153, 217, 6159, 19388, 7, 2203, 1176, 36381, 3467, 254, 192134, 3525, 36943, 135679, 603, 7614, 9405, 149016, 99156, 3917, 15044, 313, 10927, 20697, 678, 2633, 128239, 7464, 4527, 756, 3647, 18507, 64549, 25251, 56065, 77681, 2046, 31...
[ 0.1943359375, 0.1451416015625, 0.1934814453125, 0.17626953125, 0.265380859375, 0.0882568359375, 0.03143310546875, 0.1021728515625, 0.044464111328125, 0.16650390625, 0.1134033203125, 0.256591796875, 0.07122802734375, 0.21337890625, 0.0975341796875, 0.0806884765625, 0.09375, 0.135620...
embed
6617434_c0
6617434
fsharp
0
Title: Async: Why AsyncDownloadString? Problem title: Async: Why AsyncDownloadString? Tags: f%23, asynchronous Problem: Async: Why AsyncDownloadString? Alright... I'm getting a bit confused here. The async monad allows you to use let! which will start the computation of the given async method, and suspend the thread, u...
Async: Why AsyncDownloadString? Async: Why AsyncDownloadString? f%23 asynchronous Async Why AsyncDownloadString WebClient DownloadString Async: Why AsyncDownloadString? Alright... I'm getting a bit confused here. The async monad allows you to use let! which will start the computation of the given async method, and susp...
[ -0.034912109375, 0.005340576171875, 0.01373291015625, 0.00897216796875, -0.004486083984375, -0.0020751953125, -0.00830078125, 0.0007476806640625, 0.00052642822265625, -0.02880859375, -0.0111083984375, -0.0245361328125, -0.004302978515625, 0.0113525390625, 0.00543212890625, 0.0088500976...
[ 62, 12654, 238, 44084, 144786, 71713, 214, 12, 1238, 3742, 10, 101966, 4002, 441, 150, 2517, 4857, 54969, 4785, 55681, 2667, 712, 114864, 47, 4527, 2633, 38, 1221, 4034, 181135, 34475, 55300, 136, 45890, 86997, 30394, 16750, 19882, 5885, ...
[ 0.0667724609375, 0.255859375, 0.165771484375, 0.16748046875, 0.2432861328125, 0.2117919921875, 0.12939453125, 0.015533447265625, 0.010223388671875, 0.10174560546875, 0.0635986328125, 0.1260986328125, 0.10491943359375, 0.036773681640625, 0.1402587890625, 0.1380615234375, 0.19091796875...
embed
69865866_c0
69865866
fsharp
0
Title: I can&#x27;t print char from string Problem title: I can&#x27;t print char from string Tags: f%23, string, char, .net Problem: I can't print char from string I tried this: open System let main() = let mutable str1 = "qwerty" printfn "%c" str1[0] main() got this: error FS0597: Successive arguments should be separ...
I can&#x27;t print char from string I can&#x27;t print char from string f%23 string char .net string System str1 I can't print char from string I tried this: got this: I found this site: https://learn.microsoft.com/en-us/dotnet/fsharp/language-reference/strings and here it's working I don't know why. I found other site...
[ 0.0029144287109375, -0.01348876953125, 0.001190185546875, 0.029296875, -0.0038299560546875, 0.01165771484375, 0.01361083984375, -0.009033203125, 0.0001201629638671875, 0.004119873046875, 0.004791259765625, -0.017578125, -0.021484375, 0.013916015625, -0.0166015625, -0.0001678466796875, ...
[ 87, 831, 3768, 18, 28412, 21441, 1295, 79315, 1238, 3742, 1179, 12353, 7704, 418, 37842, 903, 14037, 147, 138410, 15464, 420, 89280, 254, 196651, 239879, 91693, 3688, 20697, 15400, 30309, 49129, 35412, 90 ]
[ 0.0399169921875, 0.1331787109375, 0.0806884765625, 0.0997314453125, 0.2132568359375, 0.238525390625, 0.146728515625, 0.2220458984375, 0.0997314453125, 0.1146240234375, 0.1458740234375, 0.12255859375, 0.108154296875, 0.06219482421875, 0.01666259765625, 0.0162506103515625, 0.0040893554...
embed
61150510_c0
61150510
fsharp
0
Title: Can not define a recursive method with let key word in F# Problem title: Can not define a recursive method with let key word in F# Tags: let, f%23, function, recursion Problem: Can not define a recursive method with let key word in F# I am learning F# with VS. Would you tell me why compiler gives me an error FS3...
Can not define a recursive method with let key word in F# Can not define a recursive method with let key word in F# let f%23 function recursion Can System EntryPoint n-1L Can not define a recursive method with let key word in F# I am learning F# with VS. Would you tell me why compiler gives me an error FS3118 with the ...
[ -0.0164794921875, 0.002685546875, 0.01513671875, 0.0234375, 0.000675201416015625, -0.01104736328125, 0.014892578125, 0.0052490234375, 0.0093994140625, -0.0159912109375, 0.003387451171875, 0.0042724609375, -0.01251220703125, 0.0167236328125, 0.040283203125, -0.01483154296875, 0.012939...
[ 4171, 959, 61924, 195625, 5844, 55300, 678, 2633, 22799, 2565, 563, 4904, 1238, 3949, 3742, 32354, 12353, 357, 15123, 147534, 653, 5759, 866, 52080, 44160, 15400, 9969, 34759, 18499, 93774, 5016, 1819, 18151, 1974, 8108, 10554, 7763, 839, 9...
[ 0.049530029296875, 0.0885009765625, 0.214111328125, 0.2054443359375, 0.1190185546875, 0.1807861328125, 0.05645751953125, 0.2320556640625, 0.106689453125, 0.122802734375, 0.096923828125, 0.185791015625, 0.0782470703125, 0.004638671875, 0.165771484375, 0.1500244140625, 0.1033935546875,...
embed
9411025_c0
9411025
fsharp
0
Title: function merging / combinator in fsharp Problem title: function merging / combinator in fsharp Tags: functional-programming, f%23, combinators Problem: function merging / combinator in fsharp I have a list of functions accepting the same type as an input, different types as output [ f_i : Mytype -> res:Sometype_...
function merging / combinator in fsharp function merging / combinator in fsharp functional-programming f%23 combinators f_i Mytype res:Sometype_i Product_i Mytype_i res:Sometype function merging / combinator in fsharp I have a list of functions accepting the same type as an input, different types as output Which operat...
[ -0.0147705078125, 0.00823974609375, 0.0087890625, 0.0162353515625, -0.006500244140625, -0.00848388671875, -0.00173187255859375, 0.01318359375, 0.00921630859375, -0.00836181640625, -0.0059814453125, 0.0302734375, 0.00885009765625, -0.00927734375, -0.004608154296875, -0.00830078125, -0...
[ 32354, 1143, 9966, 248, 22321, 1290, 23, 1238, 89280, 254, 123309, 28966, 3742, 22230, 2646, 50986, 3332, 14, 73111, 282, 765, 5303, 26946, 214, 5701, 10644, 107730, 12921, 52895, 237, 140992, 130078, 41018, 831, 42564, 2856, 3934, 1632, 25...
[ 0.2076416015625, 0.1937255859375, 0.137939453125, 0.0272216796875, 0.2470703125, 0.1796875, 0.05035400390625, 0.12255859375, 0.1759033203125, 0.1207275390625, 0.1495361328125, 0.1044921875, 0.0662841796875, 0.137939453125, 0.0750732421875, 0.1988525390625, 0.055755615234375, 0.0185...
embed
12483414_c0
12483414
fsharp
0
Title: Mixing strings and numbers with Excel Interop Problem title: Mixing strings and numbers with Excel Interop Tags: excel-interop, f%23 Problem: Mixing strings and numbers with Excel Interop I'm using F# and Excel Interop. I'm doing something like: workbook.Range("A1:A10").Value2 <- [| "foo"; "3"; "bar"; "6"; "8" |...
Mixing strings and numbers with Excel Interop Mixing strings and numbers with Excel Interop excel-interop f%23 Mixing Excel Interop workbook.Range A1:A10 Value2 Mixing strings and numbers with Excel Interop I'm using F# and Excel Interop. I'm doing something like: When I look at the resulting spreadsheet, it is storing...
[ 0.0166015625, 0.00482177734375, 0.00052642822265625, 0.01904296875, -0.0162353515625, 0.014892578125, -0.0291748046875, 0.0040283203125, 0.01104736328125, 0.03759765625, -0.01104736328125, 0.004791259765625, 0.0206298828125, 0.016845703125, 0, -0.0185546875, -0.03173828125, -0.0214...
[ 37286, 214, 79315, 7, 136, 101935, 678, 30326, 5337, 2146, 64152, 10433, 1238, 3949, 3742, 4488, 14137, 51459, 62, 82825, 963, 190060, 304, 17368, 563, 4904, 6713, 16750, 93403, 7816, 3082, 363, 910, 1019, 64457, 26950, 26168, 6044, 35782, ...
[ 0.2369384765625, 0.0631103515625, 0.2471923828125, 0.054779052734375, 0.09619140625, 0.1904296875, 0.0731201171875, 0.2188720703125, 0.162841796875, 0.232666015625, 0.1575927734375, 0.1148681640625, 0.0115966796875, 0.000640869140625, 0.106689453125, 0.004486083984375, 0.105651855468...
embed
68639342_c0
68639342
fsharp
0
Title: How to pass an Array of GUIDs to Dapper/MySQL as parameter? Problem title: How to pass an Array of GUIDs to Dapper/MySQL as parameter? Tags: c%23, dapper, f%23, mariadb, mysql Problem: How to pass an Array of GUIDs to Dapper/MySQL as parameter? I have a table that the ID field is a GUID stored in binray form. No...
How to pass an Array of GUIDs to Dapper/MySQL as parameter? How to pass an Array of GUIDs to Dapper/MySQL as parameter? c%23 dapper f%23 mariadb mysql How Array GUIDs Dapper MySQL GUID SELECT TABLE_NAME WHERE Binary Form Byte How to pass an Array of GUIDs to Dapper/MySQL as parameter? I have a table that the ID field i...
[ -0.0081787109375, -0.006072998046875, 0.01080322265625, 0.0223388671875, -0.0220947265625, 0.0106201171875, -0.01287841796875, -0.010986328125, -0.002899169921875, 0.02001953125, 0.01226806640625, 0.002410888671875, -0.0177001953125, -0.00982666015625, -0.0255126953125, 0.0011825561523...
[ 11249, 47, 27875, 69253, 53, 111, 195490, 397, 7, 930, 8079, 31852, 158897, 237, 171859, 3742, 48, 5786, 275, 759, 99247, 157146, 6755, 144832, 384, 183057, 182512, 54092, 1294, 15236, 3311, 67, 64, 23180, 11338, 44457, 4343, 2394, 7092, ...
[ 0.065673828125, 0.116943359375, 0.15673828125, 0.19140625, 0.1512451171875, 0.080810546875, 0.2493896484375, 0.221923828125, 0.1290283203125, 0.1492919921875, 0.24560546875, 0.083984375, 0.2066650390625, 0.06793212890625, 0.2320556640625, 0.0328369140625, 0.07763671875, 0.031738281...
embed
24324547_c0
24324547
fsharp
0
Title: F# method with byref parameter override Problem title: F# method with byref parameter override Tags: byref, .net, f%23, methods, parameters Problem: F# method with byref parameter override I'm trying to override a method with a byref parameter, the code below is an example type Incrementor(z) = abstract member I...
F# method with byref parameter override F# method with byref parameter override byref .net f%23 methods parameters Incrementor Increment this.Increment Decrementor base.Increment Common F# method with byref parameter override I'm trying to override a method with a byref parameter, the code below is an example but the c...
[ 0.00518798828125, 0.02490234375, 0.0101318359375, 0.0213623046875, 0.00007343292236328125, -0.032470703125, 0.0081787109375, -0.0005950927734375, -0.005340576171875, -0.01068115234375, -0.00811767578125, 0.0030364990234375, 0.01361083984375, 0.001373291015625, -0.0054931640625, -0.0075...
[ 563, 4904, 55300, 678, 390, 29087, 171859, 645, 416, 112, 1179, 1238, 3949, 3742, 150624, 8942, 107, 2611, 42, 674, 903, 7612, 262, 3647, 151301, 31577, 70, 18151, 35064, 27781, 1284, 9969, 34759, 163, 18499, 2301, 18, 28219, 2367, 2967 ]
[ 0.1142578125, 0.1866455078125, 0.181396484375, 0.0980224609375, 0.1473388671875, 0.28076171875, 0.1910400390625, 0.0694580078125, 0.182373046875, 0.081298828125, 0.099365234375, 0.066162109375, 0.011688232421875, 0.140869140625, 0.1575927734375, 0.0175933837890625, 0.10107421875, 0...
embed
63002244_c0
63002244
fsharp
0
Title: F# nameof operator not a first-class function Problem title: F# nameof operator not a first-class function Tags: nameof, f%23, reflection, properties Problem: F# nameof operator not a first-class function I'm using F# 4.7 with <LangVersion>preview</LangVersion> in my project file. I have a type like this: type R...
F# nameof operator not a first-class function F# nameof operator not a first-class function nameof f%23 reflection properties LangVersion Record Name Description FieldNotInterestedIn Unchecked.defaultof r.Name r.Description F# nameof operator not a first-class function I'm using F# 4.7 with <LangVersion>preview</LangVe...
[ 0.0022125244140625, -0.01470947265625, 0.033447265625, 0.009521484375, -0.018310546875, -0.017333984375, 0.00154876708984375, 0.006134033203125, 0.00159454345703125, -0.0177001953125, -0.01318359375, 0.0181884765625, -0.0026092529296875, -0.00335693359375, 0.0096435546875, -0.004028320...
[ 563, 4904, 9351, 4390, 39933, 959, 10, 5117, 67413, 32354, 1238, 3949, 3742, 44961, 1830, 183871, 15786, 178390, 54877, 15757, 70643, 117657, 122116, 44851, 525, 78292, 214810, 1690, 163612, 4657, 59478, 17368, 1398, 966, 449, 132340, 23, 134...
[ 0.122802734375, 0.206787109375, 0.1563720703125, 0.2457275390625, 0.240234375, 0.1412353515625, 0.060943603515625, 0.08050537109375, 0.1507568359375, 0.165771484375, 0.10308837890625, 0.0171051025390625, 0.147705078125, 0.244140625, 0.1280517578125, 0.1700439453125, 0.1005859375, 0...
embed
12730763_c0
12730763
fsharp
0
Title: Discriminated Unions and let bindings Problem title: Discriminated Unions and let bindings Tags: .net, f%23, functional-programming Problem: Discriminated Unions and let bindings let ``one`` x = One(x) type Number = | One of int | Two with member this.Hi x = ``one`` x Basically, I want to define a let binding th...
Discriminated Unions and let bindings Discriminated Unions and let bindings .net f%23 functional-programming Discriminated Unions One Number Two this.Hi Discriminated Unions and let bindings Basically, I want to define a let binding that references a discriminated union, and I want to use it in one of the extensions to...
[ -0.006500244140625, 0.009033203125, 0.0223388671875, 0.007049560546875, 0.003631591796875, -0.008544921875, -0.006195068359375, 0.0093994140625, 0.012939453125, -0.033203125, -0.00555419921875, 0.006683349609375, 0.00885009765625, 0.02001953125, 0.006378173828125, -0.00701904296875, ...
[ 6206, 135421, 3674, 32528, 7, 136, 2633, 128239, 5, 1179, 3949, 3742, 123309, 28966, 6561, 103332, 32964, 903, 20861, 3444, 61924, 91067, 55970, 69941, 4527, 111938, 831, 18, 46132, 114453, 41929, 1053, 22824, 242661, 3249, 318, 64549, 748, ...
[ 0.057769775390625, 0.2337646484375, 0.1015625, 0.2071533203125, 0.047607421875, 0.0543212890625, 0.212646484375, 0.25, 0.048126220703125, 0.1514892578125, 0.0032958984375, 0.1014404296875, 0.115966796875, 0.099853515625, 0.0186004638671875, 0.003631591796875, 0.057830810546875, 0.0...
embed
30625282_c0
30625282
fsharp
0
Title: F# Tuples with a base type Problem title: F# Tuples with a base type Tags: f%23 Problem: F# Tuples with a base type Is it possible to use tuples and class hierarchies together? I cannot get a function to accept a tuple parameter which is an abstract type: [<AbstractClass>] type XBase () = member val Name="" with...
F# Tuples with a base type F# Tuples with a base type f%23 Tuples AbstractClass XBase Name values:seq keysAndValues:seq System.Console.ReadLine F# Tuples with a base type Is it possible to use tuples and class hierarchies together? I cannot get a function to accept a tuple parameter which is an abstract type:
[ 0.01263427734375, 0.01092529296875, 0.004119873046875, -0.00811767578125, 0.01080322265625, -0.004547119140625, -0.01263427734375, 0.004791259765625, 0.005767822265625, -0.01611328125, 0.005096435546875, -0.000274658203125, 0.0021209716796875, 0.0289306640625, -0.0035247802734375, -0.0...
[ 563, 4904, 1371, 99726, 678, 3647, 10644, 1238, 3949, 3742, 233973, 140803, 1193, 63473, 15757, 142424, 184, 864, 22799, 37839, 42272, 12353, 40777, 31345, 93232, 442, 7722, 4527, 370, 136, 18507, 1791, 54689, 25842, 53418, 32354, 26946, 8705...
[ 0.09149169921875, 0.1571044921875, 0.135986328125, 0.228759765625, 0.0794677734375, 0.186279296875, 0.17724609375, 0.05340576171875, 0.021881103515625, 0.1129150390625, 0.158203125, 0.1142578125, 0.04449462890625, 0.0938720703125, 0.05303955078125, 0.1201171875, 0.01885986328125, 0...
embed
76445536_c1
76445536
fsharp
1
.TotalSeconds) task { let! e1 = t acc <- Array.append e1 s } |> Task.WaitAll printfn "intermediate elapsed end %f " (sw.Elapsed.TotalSeconds) acc ) [| |] sw.Stop () printfn "Artificially slowed down to %f" (sw.Elapsed.TotalSeconds) I think that the let! binding cannot be used directly inside the Array.fold function as ...
.TotalSeconds) task { let! e1 = t acc <- Array.append e1 s } |> Task.WaitAll printfn "intermediate elapsed end %f " (sw.Elapsed.TotalSeconds) acc ) [| |] sw.Stop () printfn "Artificially slowed down to %f" (sw.Elapsed.TotalSeconds) I think that the let! binding cannot be used directly inside the Array.fold function as ...
[ -0.01611328125, -0.007598876953125, -0.00022602081298828125, 0.01507568359375, 0.0126953125, -0.0031280517578125, -0.0242919921875, 0.0224609375, 0.01080322265625, -0.03857421875, 0.0252685546875, 0.01434326171875, -0.0009613037109375, 0.001678466796875, 0.01953125, 0.00787353515625, ...
[ 169473, 4233, 2271, 6468, 66211, 2633, 38, 28, 418, 808, 50015, 69253, 53, 9007, 3611, 91, 9598, 92, 22489, 217, 43512, 28412, 14783, 10433, 12333, 127966, 71, 3564, 1745, 420, 434, 156095, 89329, 11044, 72803, 7565, 47, 5351, 128239, 534...
[ 0.207275390625, 0.1201171875, 0.2335205078125, 0.110595703125, 0.2484130859375, 0.2626953125, 0.17578125, 0.060546875, 0.045562744140625, 0.06378173828125, 0.164306640625, 0.1505126953125, 0.0802001953125, 0.014984130859375, 0.058319091796875, 0.0804443359375, 0.1590576171875, 0.06...
embed
14638484_c0
14638484
fsharp
0
Title: How do you define types in a tuple in a function Problem title: How do you define types in a tuple in a function Tags: f%23, .net, functional-programming Problem: How do you define types in a tuple in a function I have just started with F# and functional programming. I want to know how I can make a function taki...
How do you define types in a tuple in a function How do you define types in a tuple in a function f%23 .net functional-programming How pow2 s:string n-1 String.replicate How do you define types in a tuple in a function I have just started with F# and functional programming. I want to know how I can make a function taki...
[ 0.0024566650390625, -0.01220703125, -0.0166015625, 0.0380859375, -0.00701904296875, -0.002044677734375, -0.0166015625, -0.00933837890625, 0.0201416015625, -0.01007080078125, 0.010986328125, -0.0205078125, -0.01611328125, 0.032470703125, 0.006011962890625, 0.01177978515625, 0.00726318...
[ 11249, 61924, 52895, 23, 370, 8705, 32354, 398, 10, 1238, 3742, 1179, 123309, 28966, 23827, 304, 91, 12, 91693, 5759, 23351, 214, 107, 52721, 67, 563, 4904, 56037, 35971, 5117, 34292, 79315, 64457, 5570, 18, 143126, 653, 20028, 30646, 432...
[ 0.032684326171875, 0.2137451171875, 0.287353515625, 0.10125732421875, 0.1304931640625, 0.227294921875, 0.1727294921875, 0.008056640625, 0.00518798828125, 0.01251220703125, 0.046661376953125, 0.07366943359375, 0.1163330078125, 0.0467529296875, 0.05828857421875, 0.06439208984375, 0.084...
embed
10164039_c1
10164039
fsharp
1
, I don't see C:\Users\Stephen\Documents\Visual Studio 2010\Projects\Unquote\code\Unquote\Unquote.Regex.dll like I want. If I search my C-drive for Unquote.Regex.dll , I do find it in some temp AppData folder. So, how can I correctly specify the .dll file location for an assembly generated by Regex.CompileToAssembly ? ...
, I don't see C:\Users\Stephen\Documents\Visual Studio 2010\Projects\Unquote\code\Unquote\Unquote.Regex.dll like I want. If I search my C-drive for Unquote.Regex.dll , I do find it in some temp AppData folder. So, how can I correctly specify the .dll file location for an assembly generated by Regex.CompileToAssembly ? ...
[ -0.0123291015625, 0.01531982421875, 0.00933837890625, 0.01123046875, -0.01025390625, 0.00921630859375, -0.004547119140625, -0.00341796875, 0.0004482269287109375, -0.0079345703125, -0.036865234375, 0.03564453125, 0.0032196044921875, 0.00738525390625, -0.000911712646484375, -0.0057067871...
[ 2301, 18, 1957, 313, 12, 1062, 7, 1314, 191644, 3220, 239469, 6609, 64010, 22968, 1532, 223353, 14256, 68726, 40899, 5, 54601, 3355, 71, 1181, 1884, 3444, 33938, 9, 88400, 100, 992, 7413, 442, 20805, 5659, 137989, 78303, 26785, 40140, 189...
[ 0.0164642333984375, 0.039520263671875, 0.1690673828125, 0.08819580078125, 0.1007080078125, 0.03582763671875, 0.06256103515625, 0.0792236328125, 0.045806884765625, 0.1053466796875, 0.1678466796875, 0.1055908203125, 0.16650390625, 0.188232421875, 0.183837890625, 0.1239013671875, 0.1640...
embed
34113000_c0
34113000
fsharp
0
Title: F# library or .Net Numerics equivalent to Python Numpy function Problem title: F# library or .Net Numerics equivalent to Python Numpy function Tags: f%23, python, python.net, numpy, .net Problem: F# library or .Net Numerics equivalent to Python Numpy function I have the following python Numpy function; it is abl...
F# library or .Net Numerics equivalent to Python Numpy function F# library or .Net Numerics equivalent to Python Numpy function f%23 python python.net numpy .net Net Numerics Python Numpy np.ones dataX.shape self.model_coefs np.linalg.lstsq python.net F# library or .Net Numerics equivalent to Python Numpy function I ha...
[ -0.002532958984375, 0.015380859375, -0.00180816650390625, -0.01123046875, 0.0004482269287109375, -0.0016021728515625, -0.00439453125, -0.0019989013671875, 0.00244140625, -0.0206298828125, 0.015625, -0.0126953125, -0.01495361328125, -0.0283203125, -0.0152587890625, 0.006591796875, -0....
[ 563, 4904, 35773, 1294, 707, 24447, 93511, 28021, 183234, 47, 145581, 52782, 6493, 32354, 1238, 3949, 3742, 17198, 50828, 1179, 13269, 10086, 25037, 25749, 2053, 1542, 2420, 1081, 15970, 51734, 4240, 10061, 14686, 864, 25632, 19048, 5646, 119...
[ 0.1265869140625, 0.1837158203125, 0.195556640625, 0.07293701171875, 0.006988525390625, 0.2001953125, 0.1585693359375, 0.10888671875, 0.2027587890625, 0.016357421875, 0.2471923828125, 0.1859130859375, 0.22607421875, 0.1917724609375, 0.0982666015625, 0.042083740234375, 0.1756591796875,...
embed
69403475_c0
69403475
fsharp
0
Title: How do I pass optional arguments in extension methods? Problem title: How do I pass optional arguments in extension methods? Tags: f%23 Problem: How do I pass optional arguments in extension methods? This code does not work because I am getting options and optional arguments muddled up. How can I pass an option ...
How do I pass optional arguments in extension methods? How do I pass optional arguments in extension methods? f%23 How Foo this.Bar AutoOpen FooExtensions System Option.map Int32.Parse Invalid How do I pass optional arguments in extension methods? This code does not work because I am getting options and optional argume...
[ 0.01177978515625, 0.0181884765625, 0.0240478515625, -0.0004405975341796875, -0.002349853515625, -0.0206298828125, 0.00335693359375, -0.0284423828125, -0.0012969970703125, 0.01129150390625, -0.003204345703125, -0.0078125, 0.0181884765625, 0.03662109375, -0.003021240234375, 0.00244140625...
[ 11249, 54, 87, 27875, 35829, 289, 10750, 7, 23, 111938, 150624, 1238, 3742, 9572, 31, 903, 25267, 4396, 103264, 19279, 128872, 12353, 86769, 62346, 18, 6460, 28636, 184, 7013, 18151, 959, 4488, 50717, 136, 196338, 6259, 1257, 831, 47 ]
[ 0.08526611328125, 0.048004150390625, 0.06463623046875, 0.1646728515625, 0.2249755859375, 0.164306640625, 0.2391357421875, 0.08538818359375, 0.0753173828125, 0.23486328125, 0.18408203125, 0.063232421875, 0.116455078125, 0.1219482421875, 0.098388671875, 0.09869384765625, 0.145141601562...
embed
25204467_c0
25204467
fsharp
0
Title: Can&#x27;t access my 2d array f# Problem title: Can&#x27;t access my 2d array f# Tags: f%23, arrays Problem: Can't access my 2d array f# I have just started programing on f# (or anything else), so this question may seem kindda basic. I am doing a proyect that came with a library, and i am trying to use a 2D stri...
Can&#x27;t access my 2d array f# Can&#x27;t access my 2d array f# f%23 arrays Can interfaz.GetArregloHumanos Array2D.getbase1 Can't access my 2d array f# I have just started programing on f# (or anything else), so this question may seem kindda basic. I am doing a proyect that came with a library, and i am trying to use...
[ 0.02490234375, 0.0026702880859375, -0.00494384765625, 0.035888671875, -0.00148773193359375, -0.004638671875, -0.0111083984375, 0.019775390625, -0.01495361328125, -0.0103759765625, 0.01318359375, 0.0169677734375, -0.00823974609375, 0.002960205078125, -0.007232666015625, -0.0100708007812...
[ 4171, 3768, 18, 17203, 759, 116, 71, 10298, 53, 1238, 4904, 3742, 4778, 1940, 80929, 724, 126, 7614, 10901, 365, 194659, 232, 69253, 304, 397, 3794, 37382, 418, 26859, 1528, 62822, 502, 24762, 21449, 678, 35773, 31577, 79315, 1294, 10644,...
[ 0.07025146484375, 0.06817626953125, 0.05926513671875, 0.2244873046875, 0.02996826171875, 0.1710205078125, 0.1241455078125, 0.177734375, 0.136962890625, 0.1427001953125, 0.1763916015625, 0.038787841796875, 0.09814453125, 0.1026611328125, 0.1982421875, 0.01727294921875, 0.0267639160156...
embed
30849140_c0
30849140
fsharp
0
Title: F# Custom operators that return default value Problem title: F# Custom operators that return default value Tags: f%23, operator-overloading Problem: F# Custom operators that return default value I've defined a custom operator in F# like this: static member (&?) value defaultValue = if value = null then defaultVa...
F# Custom operators that return default value F# Custom operators that return default value f%23 operator-overloading Custom VoltageCaps F# Custom operators that return default value I've defined a custom operator in F# like this: The operator is defined within a type and should be called in the following scenario: I'm...
[ 0.0201416015625, 0.006256103515625, 0.01348876953125, 0.0086669921875, 0.00811767578125, -0.0213623046875, -0.00457763671875, -0.01385498046875, -0.004241943359375, 0.00555419921875, 0.0031890869140625, 0.00994873046875, 0.0242919921875, -0.0012054443359375, -0.01165771484375, -0.01000...
[ 563, 4904, 130664, 39933, 30646, 114977, 34292, 1238, 3742, 5465, 63033, 145186, 429, 87926, 61924, 114122, 71, 28032, 10644, 35839, 25632, 106117, 97351, 4677, 5426, 14543, 601, 10101, 3444, 2046, 7, 57266, 13648, 56574, 95486, 7225, 73372, ...
[ 0.1297607421875, 0.212158203125, 0.18798828125, 0.2373046875, 0.1571044921875, 0.2369384765625, 0.155029296875, 0.0767822265625, 0.10345458984375, 0.06719970703125, 0.1390380859375, 0.1868896484375, 0.05010986328125, 0.172119140625, 0.1123046875, 0.1939697265625, 0.0200958251953125, ...
embed
71629189_c0
71629189
fsharp
0
Title: Cannot map an F# discriminated union to an Npgsql enum Problem title: Cannot map an F# discriminated union to an Npgsql enum Tags: f%23, npgsql Problem: Cannot map an F# discriminated union to an Npgsql enum I'm attempting to map F# discriminated union to an enum that Npgsql understands. I've used this documenta...
Cannot map an F# discriminated union to an Npgsql enum Cannot map an F# discriminated union to an Npgsql enum f%23 npgsql Cannot Npgsql NpgsqlTypes Colors Red Green Blue NpgsqlConnection.GlobalTypeMapper.MapEnum Cannot map an F# discriminated union to an Npgsql enum I'm attempting to map F# discriminated union to an en...
[ -0.01904296875, 0.01300048828125, -0.0021209716796875, 0.002685546875, -0.0140380859375, 0.00836181640625, -0.005157470703125, -0.0086669921875, -0.005828857421875, 0.00616455078125, 0.0228271484375, -0.0037994384765625, 0.03271484375, 0.0294189453125, -0.0076904296875, -0.005920410156...
[ 4171, 10869, 22288, 563, 4904, 55970, 3674, 69941, 47, 541, 254, 9405, 99247, 22, 316, 1238, 3949, 3742, 25037, 196707, 51193, 7, 6096, 15497, 22928, 235603, 162080, 4613, 8079, 166179, 2606, 81887, 28219, 209806, 91067, 5, 18151, 121413, 3...
[ 0.0241546630859375, 0.09027099609375, 0.1966552734375, 0.125732421875, 0.2230224609375, 0.2120361328125, 0.056243896484375, 0.20458984375, 0.060791015625, 0.03985595703125, 0.056488037109375, 0.0965576171875, 0.2066650390625, 0.0836181640625, 0.173583984375, 0.073486328125, 0.0220031...
embed
54206739_c0
54206739
fsharp
0
Title: Shared directory för both one C# and one F# project Problem title: Shared directory för both one C# and one F# project Tags: f%23, c%23, .net Problem: Shared directory för both one C# and one F# project So I know you can't mix languages in a single project. However, the current solution at my job is to have, for...
Shared directory för both one C# and one F# project Shared directory för both one C# and one F# project f%23 c%23 .net Shared Shared directory för both one C# and one F# project So I know you can't mix languages in a single project. However, the current solution at my job is to have, for each logical project, separate ...
[ 0.0125732421875, 0.034912109375, 0.00732421875, 0.0030670166015625, -0.01031494140625, 0.0002593994140625, -0.0216064453125, -0.01397705078125, 0.023681640625, -0.007659912109375, -0.0034637451171875, 0.005889892578125, -0.0087890625, 0.032470703125, -0.0027313232421875, 0.008728027343...
[ 29790, 71, 14364, 53, 394, 15044, 1632, 313, 4904, 136, 563, 13452, 1238, 3742, 5, 1179, 3714, 831, 18, 17664, 46876, 7, 11001, 43581, 29806, 12447, 765, 100, 12638, 62775, 84797, 1614, 80581, 3826, 210716, 208124, 53383, 59121, 23, 10701...
[ 0.2174072265625, 0.081787109375, 0.20654296875, 0.1207275390625, 0.10498046875, 0.058197021484375, 0.0784912109375, 0.0775146484375, 0.2401123046875, 0.0816650390625, 0.1331787109375, 0.16552734375, 0.04754638671875, 0.0743408203125, 0.01092529296875, 0.2044677734375, 0.0247955322265...
embed
714960_c0
714960
fsharp
0
Title: Compromised interoperability in .NET? Problem title: Compromised interoperability in .NET? Tags: f%23, interop, .net, c%23 Problem: Compromised interoperability in .NET? Recently I asked a question here about using F# extensions in C#. Brian quoted: Per the language spec, section 10.7 "Type extensions": Optional...
Compromised interoperability in .NET? Compromised interoperability in .NET? f%23 interop .net c%23 Compromised NET Compromised interoperability in .NET? Recently I asked a question here about using F# extensions in C#. Brian quoted: I am wondering if there are any other interoperability issues in .NET that restricts th...
[ -0.00057220458984375, 0.010009765625, 0.0167236328125, 0.0004634857177734375, -0.0196533203125, -0.0169677734375, -0.025146484375, 0.017822265625, -0.01116943359375, 0.01495361328125, -0.01202392578125, 0.0032196044921875, 0.005950927734375, 0.02001953125, 0.0011138916015625, 0.0126953...
[ 15612, 516, 96463, 1940, 42227, 41159, 23, 5, 17777, 32, 1238, 3949, 3742, 2146, 1179, 37170, 9655, 17368, 563, 4904, 111938, 313, 66311, 66747, 149016, 3789, 37348, 173072, 7, 127689, 111, 3060, 123309, 2481, 47, 46876, 1284, 959, 27060 ]
[ 0.10260009765625, 0.161865234375, 0.1571044921875, 0.1561279296875, 0.23583984375, 0.1319580078125, 0.1072998046875, 0.0836181640625, 0.25146484375, 0.040557861328125, 0.0780029296875, 0.0328369140625, 0.10546875, 0.1654052734375, 0.2203369140625, 0.0190277099609375, 0.00311279296875...
embed
16620666_c0
16620666
fsharp
0
Title: Couchbase queries using composite keys in F# Problem title: Couchbase queries using composite keys in F# Tags: f%23, couchbase Problem: Couchbase queries using composite keys in F# How would one translate the following composite key query: ?stale=false&connection_timeout=60000&limit=10&skip=0&startkey=["Default"...
Couchbase queries using composite keys in F# Couchbase queries using composite keys in F# f%23 couchbase composite Couchbase connection_timeout Default myView.Descending Stale StaleMode.False Limit StartKey EndKey Couchbase queries using composite keys in F# How would one translate the following composite key query: to...
[ -0.0064697265625, -0.003814697265625, 0.0026092529296875, -0.0042724609375, 0.01031494140625, 0.0089111328125, 0.005645751953125, -0.00531005859375, 0.0036468505859375, -0.006256103515625, 0.01531982421875, 0.0194091796875, 0.0089111328125, 0.01153564453125, -0.0076904296875, -0.000717...
[ 1311, 12665, 37382, 41, 17368, 375, 77087, 13, 22799, 563, 4904, 1238, 3742, 31816, 206, 94878, 6032, 6056, 1021, 759, 100474, 6512, 133, 9083, 125177, 13794, 162429, 18878, 3900, 19309, 1294, 47, 1179, 31470, 46610, 2737, 24447, 103835, 27...
[ 0.1009521484375, 0.1787109375, 0.21484375, 0.1202392578125, 0.00506591796875, 0.0772705078125, 0.1954345703125, 0.0196533203125, 0.1871337890625, 0.1085205078125, 0.1981201171875, 0.04266357421875, 0.081298828125, 0.15478515625, 0.0989990234375, 0.08807373046875, 0.085693359375, 0....
embed
3774987_c0
3774987
fsharp
0
Title: Stop Timer in Closures Using F# Problem title: Stop Timer in Closures Using F# Tags: timer, f%23, closures Problem: Stop Timer in Closures Using F# I want to ask a simple question how to stop this timer. Somebody's code is like this : let mutable timer = new DispatcherTimer() timer.Interval - new TimeSpan(0,0,0,...
Stop Timer in Closures Using F# Stop Timer in Closures Using F# timer f%23 closures Stop Timer Closures Using DispatcherTimer timer.Interval TimeSpan timer.Start btnStop.Click Event.add timer.Stop Stop Timer in Closures Using F# I want to ask a simple question how to stop this timer. Somebody's code is like this : and ...
[ 0.0036468505859375, 0.00482177734375, 0.0228271484375, -0.01312255859375, 0.0125732421875, -0.013671875, 0.000301361083984375, 0.0172119140625, -0.00494384765625, -0.064453125, 0.003143310546875, 0.0230712890625, 0.01409912109375, 0.0023040771484375, 0.04541015625, -0.007537841796875, ...
[ 42284, 13320, 56, 23, 51053, 7, 30891, 345, 563, 4904, 21991, 1238, 3742, 170224, 6953, 6206, 4453, 5372, 70059, 42, 1405, 19055, 3180, 126597, 156095, 181671, 36943, 4028, 3444, 26458, 8781, 9655, 3642, 47, 7279, 903, 18151, 1884, 15190, ...
[ 0.2154541015625, 0.253173828125, 0.144775390625, 0.05242919921875, 0.15869140625, 0.116943359375, 0.1279296875, 0.044586181640625, 0.1046142578125, 0.1668701171875, 0.321044921875, 0.0504150390625, 0.1044921875, 0.2078857421875, 0.0201873779296875, 0.002044677734375, 0.0986328125, ...
embed