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
6323128_c0
6323128
fsharp
0
Title: F# compiler keep dead objects alive Problem title: F# compiler keep dead objects alive Tags: .net, f%23, garbage-collection Problem: F# compiler keep dead objects alive I'm implementing some algorithms which works on large data (~250 MB - 1 GB). For this I needed a loop to do some benchmarking. However, in the p...
F# compiler keep dead objects alive F# compiler keep dead objects alive .net f%23 garbage-collection System Array2D.zeroCreate GC.GetTotalMemory GC.Collect Console.ReadLine Out F# compiler keep dead objects alive I'm implementing some algorithms which works on large data (~250 MB - 1 GB). For this I needed a loop to do...
[ 0.017333984375, 0.02392578125, 0.007080078125, 0.007080078125, -0.007537841796875, -0.0135498046875, -0.01031494140625, 0.02099609375, 0.0030059814453125, -0.0264892578125, 0.01806640625, 0.00982666015625, 0.002410888671875, 0.0030059814453125, 0.0225830078125, -0.00872802734375, 0.0...
[ 563, 4904, 9969, 34759, 13695, 103494, 36746, 923, 272, 1179, 1238, 3742, 3671, 402, 429, 196352, 12353, 69253, 397, 80510, 69657, 169473, 4514, 8996, 40777, 31345, 93232, 13538, 7, 29479, 234873, 43240, 2053, 24291, 12918, 20331, 40956, 2400...
[ 0.1356201171875, 0.2412109375, 0.142578125, 0.142578125, 0.1728515625, 0.19677734375, 0.1927490234375, 0.1539306640625, 0.1328125, 0.1192626953125, 0.0816650390625, 0.05755615234375, 0.051513671875, 0.147705078125, 0.0628662109375, 0.1204833984375, 0.08673095703125, 0.0269775390625...
embed
17144641_c0
17144641
fsharp
0
Title: Generic constraint: one type parameter inherits from another Problem title: Generic constraint: one type parameter inherits from another Tags: f%23, generics Problem: Generic constraint: one type parameter inherits from another I'm trying to write a generic F# function with two type parameters, where one inherit...
Generic constraint: one type parameter inherits from another Generic constraint: one type parameter inherits from another f%23 generics another System Generic Program Func Factory Lazy lazy.Value Main IComparable Console.WriteLine l.Value Generic constraint: one type parameter inherits from another I'm trying to write ...
[ 0.0137939453125, -0.0026092529296875, -0.000682830810546875, -0.0024566650390625, -0.0007476806640625, -0.006988525390625, 0.001983642578125, 0.003173828125, -0.0057373046875, -0.0169677734375, -0.01141357421875, -0.018798828125, 0.01123046875, 0.006866455078125, 0.0035858154296875, -0...
[ 88342, 1771, 158, 2816, 4288, 1632, 10644, 171859, 23, 3334, 14481, 1295, 15700, 1238, 3949, 3742, 189534, 12353, 7663, 28670, 144562, 239, 3285, 21, 856, 50770, 108161, 147, 40777, 18781, 93232, 31577, 33022, 563, 4904, 32354, 6626, 3789, ...
[ 0.2098388671875, 0.1185302734375, 0.1396484375, 0.22216796875, 0.1529541015625, 0.077392578125, 0.1939697265625, 0.2392578125, 0.07659912109375, 0.1795654296875, 0.0982666015625, 0.0721435546875, 0.06378173828125, 0.0280609130859375, 0.034912109375, 0.14453125, 0.2415771484375, 0.1...
embed
43253226_c1
43253226
fsharp
1
Array.create Literals.blockSize null) member this.Array = array member this.Thread = thread member this.SetThread t = thread := t The threading code is unrelated to my current problem (it's used in transient vectors, which allow certain performance improvements), so let's remove it for the sake of creating the simplest...
Array.create Literals.blockSize null) member this.Array = array member this.Thread = thread member this.SetThread t = thread := t The threading code is unrelated to my current problem (it's used in transient vectors, which allow certain performance improvements), so let's remove it for the sake of creating the simplest...
[ 0.00003886222839355469, 0.01202392578125, -0.01239013671875, 0.004669189453125, 0.00457763671875, -0.0150146484375, -0.006866455078125, -0.01708984375, 0.009521484375, -0.00927734375, -0.007537841796875, 0.0034637451171875, 0.01055908203125, -0.02978515625, -0.006683349609375, -0.01336...
[ 69253, 53, 7612, 2182, 135940, 8080, 81409, 127167, 56574, 32786, 903, 7614, 7092, 10298, 39116, 86997, 294, 126, 808, 214, 18151, 51, 174822, 43581, 2967, 11814, 3900, 18750, 22834, 22230, 23718, 136912, 87388, 30362, 177074, 438, 112, 80934...
[ 0.115478515625, 0.0243988037109375, 0.0888671875, 0.039764404296875, 0.169189453125, 0.1165771484375, 0.1202392578125, 0.0911865234375, 0.100830078125, 0.165771484375, 0.141357421875, 0.069091796875, 0.153076171875, 0.0830078125, 0.176025390625, 0.1923828125, 0.0047607421875, 0.055...
embed
51084509_c0
51084509
fsharp
0
Title: FParsec backtracking in nested parser Problem title: FParsec backtracking in nested parser Tags: fparsec, f%23 Problem: FParsec backtracking in nested parser I want to parse expressions that are constructed like: a is x or y or z or b is z or w , so basically I have the same separator for different rules in my g...
FParsec backtracking in nested parser FParsec backtracking in nested parser fparsec f%23 FParsec sepBy1 FParsec backtracking in nested parser I want to parse expressions that are constructed like: a is x or y or z or b is z or w , so basically I have the same separator for different rules in my grammar. I already succe...
[ 0.001922607421875, 0.0274658203125, -0.00848388671875, 0.00787353515625, -0.0186767578125, 0.01123046875, 0.024169921875, 0.00592041015625, -0.000774383544921875, -0.01239013671875, 0.0036468505859375, 0.0220947265625, 0.01190185546875, 0.0146484375, 0.0084228515625, 0.005523681640625,...
[ 563, 28636, 39797, 4420, 125728, 214, 23, 8512, 71, 366, 2189, 1238, 2500, 3949, 3742, 25040, 75358, 418, 3444, 184, 125195, 7, 64549, 1884, 10, 83, 1022, 707, 113, 97, 876, 148, 5701, 38310, 748, 12921, 91736, 122092, 147, 214493, 6953...
[ 0.14794921875, 0.1890869140625, 0.2376708984375, 0.1842041015625, 0.2359619140625, 0.03253173828125, 0.035064697265625, 0.2095947265625, 0.111328125, 0.161865234375, 0.177001953125, 0.0782470703125, 0.098388671875, 0.008453369140625, 0.10357666015625, 0.126708984375, 0.17578125, 0....
embed
32261838_c0
32261838
fsharp
0
Title: WPF background operations using Asynchronous Workflows Problem title: WPF background operations using Asynchronous Workflows Tags: f%23, asynchronous Problem: WPF background operations using Asynchronous Workflows To execute operations on a background thread and avoid blocking the UI in a WPF application, I ofte...
WPF background operations using Asynchronous Workflows WPF background operations using Asynchronous Workflows f%23 asynchronous Asynchronous WPF Workflows SynchronizationContext.Current Async.SwitchToThreadPool Async Async.SwitchToContext WPF background operations using Asynchronous Workflows To execute operations on a...
[ -0.024169921875, 0.006927490234375, 0.000766754150390625, -0.02197265625, -0.0230712890625, -0.0196533203125, 0.0191650390625, -0.01019287109375, -0.01025390625, -0.0390625, -0.00122833251953125, 0.0322265625, 0.00909423828125, -0.0130615234375, 0.0159912109375, 0.0252685546875, 0.01...
[ 601, 41265, 76615, 41018, 17368, 62, 12654, 101966, 27985, 118664, 1238, 3742, 19010, 47691, 22829, 474, 15724, 238, 131519, 7763, 39116, 7192, 929, 11935, 71924, 86997, 71864, 46389, 111481, 38415, 27983, 32562, 103510, 20594, 7108, 756, 49666...
[ 0.0784912109375, 0.2398681640625, 0.2283935546875, 0.1920166015625, 0.04180908203125, 0.038330078125, 0.2373046875, 0.187255859375, 0.0880126953125, 0.2568359375, 0.0087890625, 0.115966796875, 0.064697265625, 0.00775146484375, 0.1650390625, 0.0150909423828125, 0.045806884765625, 0....
embed
6128649_c0
6128649
fsharp
0
Title: Applying Seq.map using 2 sequences to a method which takes 2 parameters Problem title: Applying Seq.map using 2 sequences to a method which takes 2 parameters Tags: seq, partial-application, f%23 Problem: Applying Seq.map using 2 sequences to a method which takes 2 parameters I'm writing a quick DB perf test, an...
Applying Seq.map using 2 sequences to a method which takes 2 parameters Applying Seq.map using 2 sequences to a method which takes 2 parameters seq partial-application f%23 2 Applying Seq.map Guid IDbCommand TimeSpan IDbConnection Seq.zip Applying Seq.map using 2 sequences to a method which takes 2 parameters I'm writi...
[ 0.0079345703125, 0.0208740234375, 0.01031494140625, 0.03466796875, -0.00567626953125, 0.00823974609375, -0.01336669921875, -0.01251220703125, 0.01165771484375, -0.042236328125, 0.0005035400390625, 0.00970458984375, -0.012451171875, 0.0208740234375, -0.0106201171875, 0.002105712890625, ...
[ 5659, 538, 503, 864, 5, 62346, 17368, 116, 40, 26513, 5170, 47, 55300, 51776, 171859, 2878, 289, 101687, 1238, 3949, 3742, 6955, 532, 11338, 275, 10770, 12018, 19055, 3180, 235603, 50836, 63773, 57976, 117, 420, 3034, 563, 4904, 41361, 75...
[ 0.1270751953125, 0.085693359375, 0.1019287109375, 0.21630859375, 0.0286102294921875, 0.2286376953125, 0.017425537109375, 0.156982421875, 0.0958251953125, 0.1719970703125, 0.01947021484375, 0.026824951171875, 0.1634521484375, 0.06353759765625, 0.1976318359375, 0.1219482421875, 0.00393...
embed
2253730_c0
2253730
fsharp
0
Title: Does F# documentation have a way to search for functions by their types? Problem title: Does F# documentation have a way to search for functions by their types? Tags: documentation, f%23, search, types Problem: Does F# documentation have a way to search for functions by their types? Say I want to know if F# has ...
Does F# documentation have a way to search for functions by their types? Does F# documentation have a way to search for functions by their types? documentation f%23 search types Does Seq NET List Does F# documentation have a way to search for functions by their types? Say I want to know if F# has a library function of ...
[ 0.0033416748046875, 0.01904296875, 0.0025634765625, -0.0069580078125, -0.01708984375, 0.00124359130859375, -0.0010833740234375, -0.0084228515625, -0.00028228759765625, -0.0120849609375, 0.006988525390625, -0.0311279296875, -0.00579833984375, -0.000400543212890625, 0.0196533203125, 0.00...
[ 101790, 563, 4904, 209806, 765, 3917, 33938, 100, 32354, 390, 52895, 10, 47, 2363, 1238, 3742, 503, 864, 17777, 32036, 3444, 3714, 1556, 35773, 10644, 17, 13, 54529, 3642, 55769, 5303, 30646, 29568, 63262, 5117, 35735, 6957, 38891, 51671, ...
[ 0.043792724609375, 0.1678466796875, 0.2288818359375, 0.24560546875, 0.0208282470703125, 0.0960693359375, 0.220458984375, 0.111083984375, 0.20703125, 0.10986328125, 0.2431640625, 0.002532958984375, 0.027191162109375, 0.023773193359375, 0.1065673828125, 0.073486328125, 0.1177978515625,...
embed
6636154_c0
6636154
fsharp
0
Title: How can I define and use an active pattern with a non-inferrable type argument? Problem title: How can I define and use an active pattern with a non-inferrable type argument? Tags: f%23 Problem: How can I define and use an active pattern with a non-inferrable type argument? I tried the following: let inline (|Op...
How can I define and use an active pattern with a non-inferrable type argument? How can I define and use an active pattern with a non-inferrable type argument? f%23 How OpAdd aty:Type x:obj y:obj aty.Equals Some None FSI Type FS1189 e.g FS0001 How can I define and use an active pattern with a non-inferrable type argume...
[ 0.0034637451171875, 0.016357421875, -0.01416015625, 0.004364013671875, -0.0262451171875, -0.004150390625, -0.005706787109375, 0.0062255859375, 0.001739501953125, -0.009033203125, 0.03564453125, -0.01300048828125, -0.014404296875, -0.004913330078125, 0.022216796875, -0.0035552978515625,...
[ 11249, 831, 61924, 136, 4527, 36457, 103510, 678, 351, 2875, 42, 2886, 10644, 10750, 73, 3742, 2331, 4028, 91126, 196707, 1022, 12, 3522, 170, 113, 71723, 438, 563, 9902, 60457, 93774, 1662, 18949, 188735, 37842, 25632, 1631, 18499, 27875, ...
[ 0.05914306640625, 0.0277862548828125, 0.1805419921875, 0.050140380859375, 0.1007080078125, 0.1981201171875, 0.2294921875, 0.05535888671875, 0.159423828125, 0.08740234375, 0.053466796875, 0.079833984375, 0.1990966796875, 0.169189453125, 0.00457763671875, 0.053863525390625, 0.112792968...
embed
26912904_c1
26912904
fsharp
1
words, given an alternative of the form first <|> second, the first alternative // is first instantiated and, if it is pickable, is committed to and the second alternative // will not be instantiated at all. member this.Set() : Job<unit> = // from MSDN: Also, if Set is called when there are no threads waiting and the ...
words, given an alternative of the form first <|> second, the first alternative // is first instantiated and, if it is pickable, is committed to and the second alternative // will not be instantiated at all. member this.Set() : Job<unit> = // from MSDN: Also, if Set is called when there are no threads waiting and the ...
[ -0.0184326171875, 0.026123046875, 0.0130615234375, -0.007720947265625, -0.013671875, -0.00482177734375, -0.0111083984375, -0.00006008148193359375, 0.0120849609375, -0.0096435546875, -0.0211181640625, 0.031494140625, 0.00171661376953125, 0.0126953125, 0.01080322265625, 0.007415771484375...
[ 34153, 34475, 30700, 3173, 5117, 58745, 17932, 34648, 14, 27686, 39580, 2886, 174176, 959, 756, 32786, 903, 294, 126, 32664, 309, 16265, 51671, 19943, 35839, 110, 86997, 89289, 36943, 22489, 217, 135679, 133, 21771, 26073, 11782, 21543, 9790,...
[ 0.213623046875, 0.05731201171875, 0.25341796875, 0.1759033203125, 0.072509765625, 0.005828857421875, 0.1318359375, 0.1202392578125, 0.1046142578125, 0.1025390625, 0.087158203125, 0.07550048828125, 0.1412353515625, 0.057708740234375, 0.004119873046875, 0.1826171875, 0.1048583984375, ...
embed
34048197_c0
34048197
fsharp
0
Title: Reference a generic value from a record Problem title: Reference a generic value from a record Tags: f%23, record Problem: Reference a generic value from a record The below is a sample of code which I am using to pull specific values, by name, from a record type: let ExtractVal1 = // signature - 'seq<float[]>[]'...
Reference a generic value from a record Reference a generic value from a record f%23 record a Reference ExtractVal1 Records Array.Parallel.map Seq.map y.Val1 Val1 ExtractVal2 y.Val2 Val2 ExtractAnyVal MyRecord.x y.anyval Reference a generic value from a record The below is a sample of code which I am using to pull spec...
[ -0.005279541015625, 0.005126953125, 0.017333984375, 0.01129150390625, 0.0194091796875, -0.0230712890625, -0.01531982421875, 0.009765625, 0.01287841796875, -0.01556396484375, -0.0125732421875, 0.000308990478515625, 0.0068359375, 0.007781982421875, -0.0012969970703125, -0.01519775390625,...
[ 215996, 10, 189534, 34292, 1295, 17164, 1238, 3949, 3742, 31501, 15390, 42272, 418, 89916, 69253, 53, 55292, 1229, 5, 62346, 864, 113, 4769, 299, 2646, 32271, 4848, 1405, 35064, 121413, 18151, 17368, 50065, 29458, 142424, 9351, 10644, 36917, ...
[ 0.283447265625, 0.016845703125, 0.27392578125, 0.2095947265625, 0.11865234375, 0.220458984375, 0.07281494140625, 0.058807373046875, 0.16357421875, 0.1724853515625, 0.043365478515625, 0.1534423828125, 0.01373291015625, 0.1727294921875, 0.06951904296875, 0.0246124267578125, 0.002227783...
embed
58441108_c0
58441108
fsharp
0
Title: Global State in Functional Programming (F#) Problem title: Global State in Functional Programming (F#) Tags: functional-programming, f%23, global-variables Problem: Global State in Functional Programming (F#) I want to compute some functions which are dependent on some variables (specific data on which I run the...
Global State in Functional Programming (F#) Global State in Functional Programming (F#) functional-programming f%23 global-variables Global State Functional Programming Global State in Functional Programming (F#) I want to compute some functions which are dependent on some variables (specific data on which I run the co...
[ -0.00174713134765625, 0.011962890625, -0.00347900390625, -0.01611328125, 0.00159454345703125, 0.0003681182861328125, -0.0147705078125, 0.002838134765625, -0.004058837890625, -0.0198974609375, 0.006561279296875, 0.01092529296875, 0.0042724609375, 0.0169677734375, -0.004730224609375, 0.0...
[ 13453, 22836, 23, 28670, 10763, 27958, 919, 4904, 123309, 28966, 1238, 3949, 3742, 7964, 21690, 19736, 3444, 9969, 6743, 32354, 108750, 77336, 159975, 2053, 11675, 18151, 51, 5062, 98816, 31358, 38937, 8627, 2886, 17306, 27781, 159978, 25632, ...
[ 0.222412109375, 0.2091064453125, 0.011138916015625, 0.1114501953125, 0.07269287109375, 0.1448974609375, 0.05596923828125, 0.1849365234375, 0.18359375, 0.14013671875, 0.037078857421875, 0.00726318359375, 0.1112060546875, 0.1912841796875, 0.1197509765625, 0.043975830078125, 0.075439453...
embed
40809889_c0
40809889
fsharp
0
Title: Operations on JSON-structured data Problem title: Operations on JSON-structured data Tags: visual-studio, json, f%23 Problem: Operations on JSON-structured data I would like to parse JSON-structured data contained in a .txt file. I correctly installed the FSharp.Data library, and set up the paths (I am still lea...
Operations on JSON-structured data Operations on JSON-structured data visual-studio json f%23 System.Exception Operations JSON-structured FSharp.Data Users OneDrive Programmazione1 Sharpstone FSharp.Data.2.3.2 net40 FSharp.Data.dll FSharp.Data.JsonExtensions JsonValue.Load Deck1 col.AsString Not Operations on JSON-stru...
[ 0.009033203125, 0.0224609375, -0.00439453125, 0.028076171875, 0.00799560546875, 0.0101318359375, -0.00653076171875, -0.00537109375, -0.006744384765625, -0.0166015625, -0.0159912109375, 0.0294189453125, -0.0086669921875, -0.03466796875, 0.0145263671875, 0.0047607421875, 0.012145996093...
[ 102203, 98, 821, 58627, 137656, 2053, 21176, 52629, 1647, 1681, 1238, 3742, 12353, 63928, 93774, 3467, 254, 137989, 53400, 228861, 27958, 6065, 197106, 34165, 107033, 2043, 2839, 1181, 128872, 50770, 162163, 3365, 19659, 71713, 11205, 9, 366, ...
[ 0.203857421875, 0.1309814453125, 0.1781005859375, 0.250732421875, 0.250244140625, 0.16748046875, 0.1494140625, 0.1639404296875, 0.10162353515625, 0.1806640625, 0.0169525146484375, 0.08905029296875, 0.036376953125, 0.07122802734375, 0.0828857421875, 0.141357421875, 0.1595458984375, ...
embed
10807650_c0
10807650
fsharp
0
Title: Compile lambda expression with internal delegate type Problem title: Compile lambda expression with internal delegate type Tags: .net, reflection, f%23 Problem: Compile lambda expression with internal delegate type I am having some trouble with compiling a lambda expression for a property getter in F# if the del...
Compile lambda expression with internal delegate type Compile lambda expression with internal delegate type .net reflection f%23 System.ArgumentNullException Compile ReflectionHelpers System System.Linq.Expressions System.Reflection GetterFunc Build PropertyInfo Expression.Parameter p.DeclaringType Expression.Property ...
[ -0.01519775390625, 0.0074462890625, 0.00604248046875, -0.01336669921875, -0.0098876953125, 0.0081787109375, 0.022216796875, -0.0223388671875, 0.006561279296875, -0.009521484375, -0.00274658203125, 0.03125, -0.0062255859375, 0.01348876953125, 0.020751953125, -0.0031280517578125, -0.00...
[ 15612, 1340, 21, 6492, 85, 125195, 678, 70796, 102329, 13, 10644, 1179, 44961, 1238, 3742, 12353, 1234, 18444, 63928, 53295, 133, 60785, 21777, 44982, 178752, 190015, 2206, 3055, 97249, 121137, 206984, 93147, 25129, 196707, 1264, 11549, 190060,...
[ 0.1190185546875, 0.101806640625, 0.0606689453125, 0.184814453125, 0.1368408203125, 0.1844482421875, 0.045684814453125, 0.1939697265625, 0.265380859375, 0.07855224609375, 0.1217041015625, 0.100830078125, 0.1778564453125, 0.00433349609375, 0.09912109375, 0.05682373046875, 0.12182617187...
embed
25756675_c1
25756675
fsharp
1
. If so, I'll delete the question as it is not relevant. Update 3: It does not seem to be caused by a firewall. When running this on Windows with .NET everything works as expected. When running this on Linux with the latest Mono and FSharp compiled from source, we get the timeout exception. My only guess here is that i...
. If so, I'll delete the question as it is not relevant. Update 3: It does not seem to be caused by a firewall. When running this on Windows with .NET everything works as expected. When running this on Linux with the latest Mono and FSharp compiled from source, we get the timeout exception. My only guess here is that i...
[ -0.00799560546875, 0.05810546875, 0.013916015625, -0.0157470703125, -0.002288818359375, -0.01263427734375, -0.0015106201171875, -0.0130615234375, -0.0096435546875, 0.004180908203125, 0.0140380859375, -0.0140380859375, -0.0115966796875, 0.00860595703125, 0.0234375, 0.02880859375, 0.00...
[ 6, 5, 25, 154109, 9655, 29191, 28641, 1650, 14602, 959, 48903, 143434, 390, 10, 221521, 51042, 903, 98, 3773, 678, 17777, 26818, 43240, 84751, 29908, 42850, 77879, 136, 93774, 3467, 254, 5974, 1295, 31344, 1733, 6056, 131527, 57767, 103527,...
[ 0.07318115234375, 0.050567626953125, 0.0269317626953125, 0.1458740234375, 0.016998291015625, 0.07830810546875, 0.2374267578125, 0.1866455078125, 0.027740478515625, 0.07373046875, 0.046905517578125, 0.109375, 0.003997802734375, 0.0556640625, 0.261962890625, 0.14599609375, 0.1572265625...
embed
72775134_c0
72775134
fsharp
0
Title: Converting F# functions to System.Func causes &quot;System.Reflection.TargetException : Non-static method requires a target.&quot; Problem title: Converting F# functions to System.Func causes &quot;System.Reflection.TargetException : Non-static method requires a target.&quot; Tags: f%23, .net Problem: Converting...
Converting F# functions to System.Func causes &quot;System.Reflection.TargetException : Non-static method requires a target.&quot; Converting F# functions to System.Func causes &quot;System.Reflection.TargetException : Non-static method requires a target.&quot; f%23 .net System.Reflection.TargetException Converting Sys...
[ -0.007080078125, 0.019775390625, 0.0274658203125, -0.0167236328125, -0.00994873046875, -0.005126953125, 0.004669189453125, -0.01025390625, -0.003387451171875, -0.0263671875, -0.002593994140625, 0.0184326171875, -0.018310546875, 0.01708984375, 0.015625, -0.01275634765625, 0.0366210937...
[ 1657, 814, 563, 4904, 32354, 47, 12353, 5, 97249, 238, 113660, 84293, 190015, 133, 63031, 3794, 19279, 63928, 3775, 201939, 55300, 144570, 10, 30388, 6, 1179, 74644, 93147, 1295, 2389, 28670, 161063, 324, 23253, 69253, 33548, 1238, 78572, 7...
[ 0.0266876220703125, 0.1309814453125, 0.1357421875, 0.2393798828125, 0.1861572265625, 0.030303955078125, 0.1705322265625, 0.0931396484375, 0.2147216796875, 0.1507568359375, 0.0999755859375, 0.1395263671875, 0.175537109375, 0.1534423828125, 0.16943359375, 0.1663818359375, 0.05657958984...
embed
35608947_c0
35608947
fsharp
0
Title: How to stop waiting for async wrapper around TaskCompletionSource by timeout? Problem title: How to stop waiting for async wrapper around TaskCompletionSource by timeout? Tags: f%23, task-parallel-library, asynchronous Problem: How to stop waiting for async wrapper around TaskCompletionSource by timeout? Let's s...
How to stop waiting for async wrapper around TaskCompletionSource by timeout? How to stop waiting for async wrapper around TaskCompletionSource by timeout? f%23 task-parallel-library asynchronous How TaskCompletionSource System.DateTime.UtcNow.ToString BlackBox System.Threading.Tasks.TaskCompletionSource tcs.Task Async...
[ 0.00531005859375, 0.0157470703125, 0.0145263671875, -0.01092529296875, 0.0023040771484375, -0.01416015625, -0.000492095947265625, 0.01129150390625, -0.0162353515625, -0.00177001953125, 0.00726318359375, 0.0230712890625, -0.0181884765625, 0.003814697265625, 0.031982421875, -0.0035095214...
[ 11249, 7279, 89289, 100, 10, 12654, 238, 137565, 1264, 10932, 9598, 108161, 133, 211235, 1733, 6056, 92, 1238, 3742, 66211, 6276, 1229, 150, 2844, 101966, 12353, 70059, 137594, 7763, 71713, 10074, 72295, 39116, 9874, 634, 108259, 7, 1294, 7...
[ 0.033935546875, 0.1728515625, 0.2098388671875, 0.065185546875, 0.025115966796875, 0.2181396484375, 0.079833984375, 0.18212890625, 0.1500244140625, 0.04998779296875, 0.134765625, 0.1268310546875, 0.13330078125, 0.20068359375, 0.1505126953125, 0.1702880859375, 0.051239013671875, 0.01...
embed
41924326_c0
41924326
fsharp
0
Title: use-style binding on a disposable object returned as an option Problem title: use-style binding on a disposable object returned as an option Tags: f%23 Problem: use-style binding on a disposable object returned as an option Wondering if there is an elegant way to accomplish the following: I have a function that ...
use-style binding on a disposable object returned as an option use-style binding on a disposable object returned as an option f%23 hostEntry:IPHostEntry IPEndPoint hostEntry.AddressList Socket endpoint.AddressFamily SocketType.Stream ProtocolType.Tcp socket.Connect socket.Connected Some None System.Uri Dns.GetHostEntry...
[ -0.00885009765625, 0.02294921875, 0.0054931640625, -0.01556396484375, 0.004608154296875, -0.0213623046875, 0.00176239013671875, -0.006256103515625, 0.00628662109375, -0.0184326171875, 0.0045166015625, -0.00103759765625, 0.0201416015625, -0.0218505859375, 0.01708984375, 0.00296020507812...
[ 4527, 40946, 128239, 98, 82566, 2661, 36746, 176377, 237, 35829, 1238, 3949, 3742, 27980, 15123, 10931, 11193, 271, 7768, 8021, 152378, 147534, 154663, 1061, 27853, 3564, 38496, 1191, 196707, 115061, 151607, 121422, 221, 235603, 31384, 12353, 4...
[ 0.1876220703125, 0.268310546875, 0.2744140625, 0.11083984375, 0.2103271484375, 0.17041015625, 0.20361328125, 0.1617431640625, 0.06976318359375, 0.232177734375, 0.0372314453125, 0.0240325927734375, 0.136962890625, 0.1240234375, 0.1007080078125, 0.05596923828125, 0.10888671875, 0.002...
embed
3265335_c0
3265335
fsharp
0
Title: Should this sequence expression be tail-recursive? Problem title: Should this sequence expression be tail-recursive? Tags: f%23, stack-overflow, tail-recursion Problem: Should this sequence expression be tail-recursive? This F# seq expression looks tail-recursive to me, but I'm getting stack overflow exceptions ...
Should this sequence expression be tail-recursive? Should this sequence expression be tail-recursive? f%23 stack-overflow tail-recursion Should Seq.head MAX_DEPTH Seq.collect Seq.map Careful ResizeArray Should this sequence expression be tail-recursive? This F# seq expression looks tail-recursive to me, but I'm getting...
[ 0.005218505859375, 0.00762939453125, 0.0054931640625, 0.0185546875, 0.025146484375, 0.00933837890625, -0.008544921875, -0.0201416015625, 0.00096893310546875, -0.0303955078125, 0.00238037109375, 0.025634765625, 0.0128173828125, 0.0252685546875, 0.0311279296875, -0.0003757476806640625, ...
[ 151117, 903, 40, 944, 3956, 125195, 46741, 107, 48650, 5844, 186, 9, 1238, 3742, 177261, 5465, 118664, 1830, 503, 864, 31251, 85378, 8399, 683, 23415, 196352, 62346, 20731, 7844, 853, 62539, 7614, 7092, 563, 4904, 33342, 645, 131527, 85763,...
[ 0.08837890625, 0.076416015625, 0.095458984375, 0.146728515625, 0.1082763671875, 0.2454833984375, 0.260009765625, 0.0892333984375, 0.1885986328125, 0.10565185546875, 0.017852783203125, 0.0265960693359375, 0.04052734375, 0.122314453125, 0.135986328125, 0.101806640625, 0.1954345703125, ...
embed
34501775_c0
34501775
fsharp
0
Title: Unable to execute function Problem title: Unable to execute function Tags: f%23 Problem: Unable to execute function I am just not getting F#. Specifically, I am unable to step into the following code: let count = hand |> getHandCount It's like that entire line is just being ignored in the debugger. Here's the te...
Unable to execute function Unable to execute function f%23 Unable Test Suit Spades Clubs Diamonds Hearts Face Two Three Four Five Six Seven Eight Nine Ten Jack Queen King Ace Card Face:Face Suit:Suit Deal Hand Hit hand:Card List.sumBy c.Face Some card1 card2 None Unable to execute function I am just not getting F#. Spe...
[ 0.00008392333984375, -0.0211181640625, -0.0015716552734375, 0.002197265625, 0.01336669921875, -0.0079345703125, 0.00051116943359375, -0.0277099609375, 0.0263671875, -0.0211181640625, 0.00848388671875, 0.0279541015625, -0.003143310546875, 0.0020751953125, 0.0216064453125, -0.01416015625...
[ 992, 2886, 47, 71924, 13, 32354, 1238, 3949, 3742, 8647, 1832, 10959, 988, 7687, 69124, 60861, 26219, 32964, 129335, 65056, 156615, 84247, 132556, 22553, 1520, 5531, 21763, 44109, 18813, 70280, 23660, 135518, 7143, 90943, 10639, 43482, 3535, ...
[ 0.102783203125, 0.20947265625, 0.07177734375, 0.2239990234375, 0.09710693359375, 0.197998046875, 0.118896484375, 0.084716796875, 0.180908203125, 0.170166015625, 0.1151123046875, 0.1253662109375, 0.1129150390625, 0.1593017578125, 0.1363525390625, 0.1114501953125, 0.140380859375, 0.0...
embed
21170493_c0
21170493
fsharp
0
Title: When are higher kinded types useful? Problem title: When are higher kinded types useful? Tags: types, haskell, higher-kinded-types, scala, f%23 Problem: When are higher kinded types useful? I've been doing dev in F# for a while and I like it. However one buzzword I know doesn't exist in F# is higher-kinded types...
When are higher kinded types useful? When are higher kinded types useful? types haskell higher-kinded-types scala f%23 When List.map Seq.map Seq.toList List Seq When are higher kinded types useful? I've been doing dev in F# for a while and I like it. However one buzzword I know doesn't exist in F# is higher-kinded type...
[ 0.0017242431640625, -0.00182342529296875, 0.00799560546875, -0.019287109375, 0.0026702880859375, -0.01080322265625, -0.00555419921875, 0.007659912109375, 0.004638671875, -0.0032501220703125, -0.0035247802734375, -0.036865234375, 0.010986328125, -0.0023193359375, -0.00732421875, -0.0220...
[ 14847, 77546, 8562, 297, 52895, 80234, 621, 1556, 142508, 68347, 50986, 146232, 1238, 3742, 32036, 62346, 503, 864, 188, 154663, 33245, 563, 4904, 1884, 13894, 47416, 3714, 22027, 18, 32316, 9, 28219, 80934, 15400, 1836, 27781, 23468, 152653,...
[ 0.0958251953125, 0.2174072265625, 0.1900634765625, 0.109619140625, 0.23486328125, 0.1905517578125, 0.016815185546875, 0.1007080078125, 0.196044921875, 0.19482421875, 0.2069091796875, 0.107177734375, 0.0738525390625, 0.049072265625, 0.1168212890625, 0.09942626953125, 0.0806884765625, ...
embed
12542924_c0
12542924
fsharp
0
Title: Character classes in the F# spec Problem title: Character classes in the F# spec Tags: parsing, f%23, unicode Problem: Character classes in the F# spec The F# spec makes the following definition in the grammar (Section A.1.4.1): ident-char : letter-char digit-char connecting-char combining-char formatting-char '...
Character classes in the F# spec Character classes in the F# spec parsing f%23 unicode Character System.Globalization.CharUnicodeInfo.GetUnicodeCategory UnicodeCategory ConnectorPunctuation System.Globalization.UnicodeCategory ident_char connecting_char combining_char formatting_char Character classes in the F# spec Th...
[ -0.005401611328125, 0.005523681640625, 0.004364013671875, 0.00469970703125, -0.01153564453125, 0.01611328125, -0.00933837890625, -0.01123046875, 0.00116729736328125, 0.0223388671875, -0.0030059814453125, -0.01556396484375, -0.007659912109375, -0.0026397705078125, -0.034423828125, 0.013...
[ 21656, 2263, 720, 61112, 23, 563, 4904, 48502, 366, 1238, 3742, 60347, 112, 12353, 162080, 84068, 85600, 40899, 93147, 76775, 3081, 219778, 62448, 41039, 60460, 9254, 37067, 214, 375, 964, 9384, 25632, 80934, 122092, 147, 120518, 17106, 9, ...
[ 0.104736328125, 0.114013671875, 0.013641357421875, 0.225830078125, 0.041259765625, 0.137939453125, 0.2457275390625, 0.2188720703125, 0.0582275390625, 0.10369873046875, 0.117919921875, 0.10723876953125, 0.0172271728515625, 0.0352783203125, 0.04345703125, 0.10357666015625, 0.0357055664...
embed
1657753_c0
1657753
fsharp
0
Title: F# interactive development Problem title: F# interactive development Tags: f%23 Problem: F# interactive development Coming from a Matlab and R background where the development process is very interactive (select, run selection, fix, select, run selection, fix, etc), I'm trying to figure out how F# handles this s...
F# interactive development F# interactive development f%23 open2GBfile file.txt fsi.exe F# interactive development Coming from a Matlab and R background where the development process is very interactive (select, run selection, fix, select, run selection, fix, etc), I'm trying to figure out how F# handles this style of ...
[ 0.00482177734375, -0.00177001953125, 0.006439208984375, 0.013916015625, -0.00543212890625, -0.00051116943359375, 0.01312255859375, 0.004547119140625, -0.001495361328125, 0.006378173828125, 0.002105712890625, 0.018310546875, -0.0125732421875, 0.0054931640625, 0.0245361328125, 0.01928710...
[ 563, 4904, 212398, 34754, 1238, 3742, 9803, 304, 8359, 29822, 11435, 124326, 172, 46480, 7656, 6114, 136, 627, 76615, 9433, 4552, 100184, 11675, 132216, 30022, 36849, 34831, 20623, 5526, 57456, 86685, 7086, 51620, 214, 48716, 124519, 76199, 1...
[ 0.1622314453125, 0.24267578125, 0.203125, 0.1495361328125, 0.1224365234375, 0.0859375, 0.12841796875, 0.1043701171875, 0.11181640625, 0.109619140625, 0.160888671875, 0.1319580078125, 0.1820068359375, 0.16064453125, 0.08294677734375, 0.155029296875, 0.000885009765625, 0.09423828125,...
embed
33422018_c0
33422018
fsharp
0
Title: Mutual Recursion to extract and sum an element of tuple Problem title: Mutual Recursion to extract and sum an element of tuple Tags: f%23, functional-programming, mutual-recursion Problem: Mutual Recursion to extract and sum an element of tuple I've constructed a mutual-recursive type, consisting of more primiti...
Mutual Recursion to extract and sum an element of tuple Mutual Recursion to extract and sum an element of tuple f%23 functional-programming mutual-recursion Mutual Recursion Title Value Subcol Collection Col _::v::s Mutual Recursion to extract and sum an element of tuple I've constructed a mutual-recursive type, consis...
[ 0.00103759765625, 0.003875732421875, 0.00628662109375, 0.01129150390625, 0.00003981590270996094, 0.00408935546875, -0.01446533203125, 0.011962890625, 0.0294189453125, -0.000385284423828125, 0.000820159912109375, 0.0020294189453125, 0.00180816650390625, 0.0093994140625, 0.0223388671875, ...
[ 174948, 289, 165428, 42, 6889, 47, 125663, 136, 10554, 12830, 370, 8705, 1238, 3949, 3742, 123309, 28966, 199849, 107, 48650, 48962, 190060, 8273, 8447, 68220, 11554, 334, 64549, 5844, 10644, 1286, 128489, 52895, 61924, 1614, 1543, 201505, 53...
[ 0.166748046875, 0.09234619140625, 0.1734619140625, 0.1497802734375, 0.1055908203125, 0.03955078125, 0.204345703125, 0.06561279296875, 0.2215576171875, 0.1661376953125, 0.114990234375, 0.1961669921875, 0.0171051025390625, 0.011077880859375, 0.107666015625, 0.1180419921875, 0.096923828...
embed
33861743_c0
33861743
fsharp
0
Title: How can I write this function only by using recursion in F#? Problem title: How can I write this function only by using recursion in F#? Tags: mutual-recursion, f%23, function, recursion Problem: How can I write this function only by using recursion in F#? let rec n_cartesian_product = function | [] -> [[]] | x ...
How can I write this function only by using recursion in F#? How can I write this function only by using recursion in F#? mutual-recursion f%23 function recursion recursion How n_cartesian_product List.concat List.map List list_concat x::xs fun_i fun_rs How can I write this function only by using recursion in F#? Hello...
[ -0.0225830078125, -0.00836181640625, -0.01043701171875, 0.000873565673828125, 0.016845703125, 0.0167236328125, -0.0003566741943359375, -0.004425048828125, 0.01239013671875, -0.01434326171875, -0.01141357421875, -0.005706787109375, -0.0047607421875, 0.0196533203125, -0.00811767578125, -...
[ 11249, 831, 33022, 903, 32354, 4734, 17368, 195625, 1830, 23, 563, 4904, 390, 199849, 107, 48650, 1238, 3949, 3742, 653, 3284, 67, 39209, 57877, 32036, 2271, 4460, 62346, 5303, 1022, 425, 7, 7477, 14, 4295, 54397, 3871, 15490, 88303, 73, ...
[ 0.044342041015625, 0.041290283203125, 0.1539306640625, 0.05908203125, 0.216796875, 0.1092529296875, 0.095947265625, 0.25146484375, 0.1455078125, 0.05010986328125, 0.1324462890625, 0.20556640625, 0.02728271484375, 0.1895751953125, 0.0872802734375, 0.206298828125, 0.0936279296875, 0....
embed
4495993_c1
4495993
fsharp
1
Key.RightArrow: playerX++; break; } //check if the square that the player is trying to move to is empty if( map[ playerY ][ playerX ] == ' ' ) { //ok it was empty, clear the square they were standing on before Console.SetCursorPosition( oldX, oldY ); Console.Write( ' ' ); //now draw them at the new square Console.SetCu...
Key.RightArrow: playerX++; break; } //check if the square that the player is trying to move to is empty if( map[ playerY ][ playerX ] == ' ' ) { //ok it was empty, clear the square they were standing on before Console.SetCursorPosition( oldX, oldY ); Console.Write( ' ' ); //now draw them at the new square Console.SetCu...
[ -0.01263427734375, 0.01544189453125, 0.0179443359375, 0.017822265625, 0.0033416748046875, -0.00555419921875, -0.002105712890625, -0.005584716796875, 0.010009765625, 0.0216064453125, 0.0169677734375, 0.0162353515625, -0.00799560546875, -0.0147705078125, -0.0166015625, 0.00933837890625, ...
[ 26824, 1052, 22553, 7614, 15555, 12, 58585, 1542, 37223, 74, 36356, 51912, 4666, 78292, 2174, 108047, 31577, 47, 25813, 83, 201505, 22288, 1723, 685, 509, 34735, 1836, 135203, 98, 8108, 40777, 126, 474, 7192, 172, 10332, 1657, 18781, 79442,...
[ 0.21142578125, 0.0899658203125, 0.1761474609375, 0.132568359375, 0.20654296875, 0.0360107421875, 0.228515625, 0.133544921875, 0.2232666015625, 0.0202789306640625, 0.1263427734375, 0.00433349609375, 0.011383056640625, 0.21142578125, 0.1278076171875, 0.194580078125, 0.140869140625, 0...
embed
39518902_c0
39518902
fsharp
0
Title: Use a c# assembly&#x27;s namespace in a f# application? Problem title: Use a c# assembly&#x27;s namespace in a f# application? Tags: f%23 Problem: Use a c# assembly's namespace in a f# application? There is a c# assembly with a public static class Something . It has a public static method DoSomething(string sour...
Use a c# assembly&#x27;s namespace in a f# application? Use a c# assembly&#x27;s namespace in a f# application? f%23 Use Something DoSomething readme.txt Something.DoSomething Error Use a c# assembly's namespace in a f# application? There is a c# assembly with a public static class Something . It has a public static me...
[ -0.0054931640625, 0.0250244140625, 0.0029754638671875, 0.0101318359375, 0.001129150390625, 0.006500244140625, -0.015869140625, -0.01544189453125, -0.007293701171875, -0.0118408203125, -0.0208740234375, -0.021484375, -0.0194091796875, 0.00531005859375, 0.0150146484375, -0.0289306640625,...
[ 36836, 501, 4904, 10, 89845, 38526, 3768, 210716, 23, 1238, 38415, 3742, 200905, 984, 8912, 282, 64113, 12301, 124326, 8331, 212059, 3835, 201939, 18507, 55300, 91693, 31344, 79315, 37204, 11435, 187, 206, 19927, 93002, 91995, 61687, 13452, 4...
[ 0.1480712890625, 0.031951904296875, 0.2138671875, 0.007080078125, 0.184814453125, 0.10498046875, 0.0699462890625, 0.25732421875, 0.011932373046875, 0.1209716796875, 0.1484375, 0.04425048828125, 0.203125, 0.1427001953125, 0.09625244140625, 0.0980224609375, 0.19677734375, 0.031646728...
embed
15124155_c0
15124155
fsharp
0
Title: Overloading Equality and Comparison Operators with non Bool Return types Problem title: Overloading Equality and Comparison Operators with non Bool Return types Tags: f%23 Problem: Overloading Equality and Comparison Operators with non Bool Return types Is there a specific reason why overriding the equality and ...
Overloading Equality and Comparison Operators with non Bool Return types Overloading Equality and Comparison Operators with non Bool Return types f%23 Overloading Equality Comparison Operators Bool ATArrayLT x:ATArray y:int ATArray.op_LessThan float32 y:float32 y:ATArray Overloading Equality and Comparison Operators wi...
[ 0.0184326171875, 0.017822265625, 0.01544189453125, -0.005218505859375, 0.00439453125, -0.0201416015625, 0.0057373046875, -0.02099609375, 0.001617431640625, 0.029296875, -0.00396728515625, 0.0107421875, 0.0164794921875, 0.0016326904296875, 0.00946044921875, -0.006622314453125, -0.0066...
[ 9578, 63033, 214, 241, 161789, 136, 113307, 40514, 150922, 678, 351, 2460, 929, 173340, 52895, 1238, 3949, 3742, 17758, 7092, 27026, 1022, 113, 4288, 2146, 68016, 1121, 21917, 6460, 52347, 29458, 31635, 15400, 645, 416, 6238, 28, 225490, 39...
[ 0.136474609375, 0.2156982421875, 0.03875732421875, 0.07891845703125, 0.2315673828125, 0.083251953125, 0.1715087890625, 0.07366943359375, 0.2132568359375, 0.03619384765625, 0.1331787109375, 0.055084228515625, 0.1392822265625, 0.17578125, 0.1578369140625, 0.0540771484375, 0.01402282714...
embed
43946145_c1
43946145
fsharp
1
Synthesizer let voice (sentence: string) = use speech = new SpeechSynthesizer(Rate= -3) //speech.SelectVoice("Microsoft Huihui Desktop") speech.Speak(sentence) // define functions of set list campus area let mpCampusArea = Set.ofList ["Cisco Labs"; "The Bridge"; "Security Area"; "Mac Labs"; "Open Access"] //active patt...
Synthesizer let voice (sentence: string) = use speech = new SpeechSynthesizer(Rate= -3) //speech.SelectVoice("Microsoft Huihui Desktop") speech.Speak(sentence) // define functions of set list campus area let mpCampusArea = Set.ofList ["Cisco Labs"; "The Bridge"; "Security Area"; "Mac Labs"; "Open Access"] //active patt...
[ -0.0159912109375, 0.00567626953125, 0.004241943359375, 0.048095703125, -0.000499725341796875, 0.007232666015625, 0.00518798828125, -0.0013275146484375, 0.0157470703125, -0.0291748046875, 0.006072998046875, 0.01409912109375, 0.01611328125, -0.027587890625, 0.0133056640625, 0.00689697265...
[ 19010, 2347, 7, 52825, 2633, 54479, 12832, 6620, 79315, 2203, 4527, 116483, 3525, 218532, 65183, 660, 160291, 4383, 12248, 21320, 9217, 7101, 100184, 36635, 2980, 113387, 89673, 12522, 141423, 172797, 61924, 32354, 5423, 5303, 78132, 16128, 960...
[ 0.150634765625, 0.1754150390625, 0.08880615234375, 0.2283935546875, 0.17138671875, 0.21484375, 0.10546875, 0.046417236328125, 0.2327880859375, 0.03778076171875, 0.1259765625, 0.2376708984375, 0.0645751953125, 0.1878662109375, 0.1202392578125, 0.1297607421875, 0.147705078125, 0.2008...
embed
39589982_c0
39589982
fsharp
0
Title: F# System.TypeLoadException Problem title: F# System.TypeLoadException Tags: typeloadexception, f%23, mono, visual-studio-code Problem: F# System.TypeLoadException by this code module ObjectRe = type BM = A | N type Object = { Name: string Pattern: BM array } let patterns = [|{Name = "Pro"; Pattern = [|A;N;N;A|]...
F# System.TypeLoadException F# System.TypeLoadException typeloadexception f%23 mono visual-studio-code System.TypeLoadException System.Exception assembly ObjectRe Object Name Pattern Pro Could FSI_0007 FSI-ASSEMBLY Version Culture PublicKeyToken System.Reflection.MonoMethod:InternalInvoke System.Reflection.MonoMethod S...
[ 0.00107574462890625, 0.00860595703125, -0.0120849609375, 0.0267333984375, 0.002532958984375, -0.00726318359375, -0.0003147125244140625, 0.0245361328125, -0.0068359375, -0.04150390625, -0.01336669921875, -0.004791259765625, -0.0025634765625, -0.020751953125, 0.0225830078125, -0.01196289...
[ 563, 4904, 12353, 196707, 15363, 712, 19279, 63928, 10644, 63033, 3355, 1238, 3949, 3742, 22460, 21176, 52629, 40899, 89845, 134549, 4332, 15757, 9876, 1250, 191147, 9902, 9508, 966, 101666, 12689, 40647, 105141, 16934, 1098, 190015, 133, 46674...
[ 0.13671875, 0.1937255859375, 0.15673828125, 0.230224609375, 0.1959228515625, 0.051727294921875, 0.07342529296875, 0.1239013671875, 0.1787109375, 0.23583984375, 0.042083740234375, 0.1053466796875, 0.07415771484375, 0.15283203125, 0.15283203125, 0.135986328125, 0.1402587890625, 0.122...
embed
46798645_c0
46798645
fsharp
0
Title: How to work with mutable lists in F#? Problem title: How to work with mutable lists in F#? Tags: mutable, list, f%23 Problem: How to work with mutable lists in F#? I'm new to F# and I'm making a program that requires finding every sub-list of given length of some list. I wasn't sure how to go about this so I rea...
How to work with mutable lists in F#? How to work with mutable lists in F#? mutable list f%23 How List current.Length soln.Insert superSet.Length current.Insert current.RemoveAt Insert RemoveAt Add How to work with mutable lists in F#? I'm new to F# and I'm making a program that requires finding every sub-list of given...
[ -0.00994873046875, 0.01007080078125, 0.019287109375, 0.0081787109375, -0.0213623046875, 0.00860595703125, -0.005645751953125, -0.0022735595703125, 0.008544921875, -0.02294921875, 0.0208740234375, -0.0018768310546875, 0.01104736328125, 0.013427734375, -0.000644683837890625, 0.0046081542...
[ 11249, 47, 4488, 678, 842, 22819, 5303, 7, 23, 563, 4904, 1238, 3949, 3742, 32036, 43581, 449, 927, 3115, 19, 4153, 33657, 1601, 294, 126, 4332, 432, 272, 28848, 360, 181139, 29117, 3525, 1528, 90791, 11907, 1614, 6562, 140909, 765, 996...
[ 0.06866455078125, 0.0261993408203125, 0.14794921875, 0.13720703125, 0.1815185546875, 0.238037109375, 0.2440185546875, 0.0706787109375, 0.06146240234375, 0.154296875, 0.2249755859375, 0.0843505859375, 0.009002685546875, 0.1158447265625, 0.17138671875, 0.1976318359375, 0.06622314453125...
embed
47259491_c0
47259491
fsharp
0
Title: Associativity, Precedence and F# Pipe-forward Problem title: Associativity, Precedence and F# Pipe-forward Tags: f%23 Problem: Associativity, Precedence and F# Pipe-forward The F# pipe-forward can be expressed as: let (|>) x f = f x For example: let SimpleFunction (a : typeA) (b : typeB) (c : typeC)= printf "OK....
Associativity, Precedence and F# Pipe-forward Associativity, Precedence and F# Pipe-forward f%23 Associativity Precedence Pipe-forward SimpleFunction Using Interpreted Original Expression Which Error Associativity, Precedence and F# Pipe-forward The F# pipe-forward can be expressed as: For example: However, according t...
[ 0.034423828125, 0.00732421875, -0.0191650390625, 0.03564453125, -0.0027008056640625, -0.0216064453125, 0.000621795654296875, -0.01300048828125, 0.0042724609375, -0.0074462890625, 0.002105712890625, 0.004150390625, 0.0185546875, 0.0120849609375, 0.00836181640625, -0.01904296875, 0.003...
[ 159594, 19805, 939, 1914, 37534, 6620, 136, 563, 4904, 93128, 13, 2472, 19364, 1238, 3949, 3742, 60552, 97249, 5337, 56359, 34525, 25129, 130078, 212059, 137158, 831, 36510, 237, 209806, 39933, 83, 25737, 162, 45388, 45023, 138410, 420, 89280...
[ 0.2294921875, 0.1634521484375, 0.054107666015625, 0.099609375, 0.1676025390625, 0.1126708984375, 0.01458740234375, 0.114501953125, 0.19677734375, 0.1724853515625, 0.095947265625, 0.17333984375, 0.240966796875, 0.056640625, 0.00262451171875, 0.1029052734375, 0.1253662109375, 0.13427...
embed
57570978_c0
57570978
fsharp
0
Title: F# SEPA XML Serialization throws an exception Problem title: F# SEPA XML Serialization throws an exception Tags: .net-core, f%23, serialization, xml Problem: F# SEPA XML Serialization throws an exception I am creating a converter to SEPA XML in F# using the .NET XML Serializer: [<CLIMutable>] [<XmlRoot(ElementNa...
F# SEPA XML Serialization throws an exception F# SEPA XML Serialization throws an exception .net-core f%23 serialization xml System.InvalidOperationException System.NullReferenceException throwOnError SEPA XML Serialization CLIMutable XmlRoot ElementName InitgPty Namespace urn:iso:std:iso:20022:tech:xsd:pain.001.001.03...
[ 0.00738525390625, 0.0230712890625, 0.0034942626953125, -0.0179443359375, -0.0234375, -0.022705078125, -0.0240478515625, 0.01055908203125, 0.000568389892578125, 0.0137939453125, 0.0159912109375, 0.03369140625, 0.0233154296875, 0.0225830078125, 0.0145263671875, -0.0157470703125, 0.0184...
[ 563, 4904, 159, 72565, 92537, 135188, 47691, 104250, 7, 131527, 142, 1179, 30854, 1238, 3949, 3742, 35686, 131492, 12353, 7013, 156823, 19279, 63928, 18444, 69988, 20320, 18468, 83318, 34, 22819, 7237, 12724, 48325, 163612, 939, 16369, 41632, ...
[ 0.1197509765625, 0.2109375, 0.0814208984375, 0.253662109375, 0.247314453125, 0.17626953125, 0.0860595703125, 0.1781005859375, 0.01239013671875, 0.2486572265625, 0.0253753662109375, 0.118408203125, 0.1326904296875, 0.0660400390625, 0.0330810546875, 0.160888671875, 0.16748046875, 0.2...
embed
77553935_c0
77553935
fsharp
0
Title: T4 templates in F# project Problem title: T4 templates in F# project Tags: f%23, visual-studio, t4 Problem: T4 templates in F# project I have been using T4 templates in C# projects in Visual Studio. Now I am trying to get some generation in an F# project, using mono t4 . I have attempted to adapt the examples I ...
T4 templates in F# project T4 templates in F# project f%23 visual-studio t4 Project Sdk Microsoft.NET.Sdk PropertyGroup TargetFramework net4.8 GenerateDocumentationFile ItemGroup None Include Template.tt Compile PackageReference Mono.TextTemplating Version Update FSharp.Core T4 templates in F# project I have been using...
[ -0.0128173828125, 0.0133056640625, 0.0233154296875, -0.01141357421875, -0.004547119140625, -0.02197265625, -0.005767822265625, -0.01239013671875, -0.01251220703125, -0.01611328125, 0.002105712890625, -0.0002193450927734375, -0.01708984375, 0.0179443359375, 0.010498046875, -0.0043640136...
[ 384, 617, 110934, 7, 23, 563, 4904, 13452, 1238, 3742, 21176, 52629, 808, 27331, 5740, 7244, 17777, 206984, 205072, 160017, 108386, 2043, 1019, 155370, 239469, 174350, 78426, 438, 196631, 3062, 15612, 56607, 69988, 77879, 174379, 159065, 143, ...
[ 0.14501953125, 0.262451171875, 0.276611328125, 0.0126953125, 0.0213470458984375, 0.1146240234375, 0.195556640625, 0.1412353515625, 0.04803466796875, 0.07373046875, 0.097900390625, 0.1319580078125, 0.0743408203125, 0.100830078125, 0.0860595703125, 0.005279541015625, 0.03961181640625, ...
embed
20557181_c0
20557181
fsharp
0
Title: The inferred type of active recognizer - one is option and another is not Problem title: The inferred type of active recognizer - one is option and another is not Tags: f%23 Problem: The inferred type of active recognizer - one is option and another is not I have the following code. For the last two match , the ...
The inferred type of active recognizer - one is option and another is not The inferred type of active recognizer - one is option and another is not f%23 DateTime Integer Int32.TryParse Some None DateyyMM DateTime.TryParseExact Globalization.DateTimeFormatInfo.InvariantInfo Globalization.DateTimeStyles.None ParseRegex R...
[ -0.00732421875, -0.00970458984375, 0.0008544921875, 0.047119140625, -0.01483154296875, -0.0057373046875, -0.026611328125, 0.0059814453125, -0.001312255859375, 0.00921630859375, 0.00121307373046875, 0.002532958984375, 0.00634765625, -0.00139617919921875, 0.00677490234375, 0.014343261718...
[ 581, 53498, 2822, 10644, 36457, 125296, 42, 1632, 83, 35829, 136, 15700, 959, 1238, 3949, 3742, 25512, 70059, 44401, 18, 6460, 1294, 28636, 438, 86, 25590, 47013, 13453, 47691, 86291, 93147, 162591, 209480, 2392, 54601, 3355, 11678, 67407, ...
[ 0.01165771484375, 0.22216796875, 0.1766357421875, 0.179443359375, 0.1912841796875, 0.174560546875, 0.11279296875, 0.118408203125, 0.089111328125, 0.24169921875, 0.067626953125, 0.1092529296875, 0.1802978515625, 0.0538330078125, 0.011016845703125, 0.1376953125, 0.102294921875, 0.184...
embed
21538334_c0
21538334
fsharp
0
Title: Getting OleDb.OleDbException querying MSAccess ACCDB with F# SQL TypeProvdier Problem title: Getting OleDb.OleDbException querying MSAccess ACCDB with F# SQL TypeProvdier Tags: f%23, oledb, type-providers Problem: Getting OleDb.OleDbException querying MSAccess ACCDB with F# SQL TypeProvdier Code signals: OleDb.O...
Getting OleDb.OleDbException querying MSAccess ACCDB with F# SQL TypeProvdier Getting OleDb.OleDbException querying MSAccess ACCDB with F# SQL TypeProvdier f%23 oledb type-providers OleDb.OleDbException System.Data.OleDb.OleDbException Getting MSAccess ACCDB SQL TypeProvdier SqlDataProvider Provider Microsoft.ACE.OLEDB...
[ 0.026611328125, 0.01385498046875, -0.016357421875, 0.0203857421875, 0.00058746337890625, 0.00836181640625, -0.00189208984375, -0.0018768310546875, 0.00885009765625, -0.02783203125, 0.0120849609375, -0.00823974609375, 0.009765625, -0.01953125, 0.003143310546875, 0.0007781982421875, -0...
[ 210732, 31031, 397, 275, 670, 133, 19279, 63928, 41, 16265, 39450, 26531, 62, 13709, 39463, 678, 563, 4904, 80866, 60457, 177997, 63052, 1238, 3742, 94807, 10644, 93136, 12353, 137989, 99247, 62160, 123089, 7244, 61019, 71621, 15654, 11809, 7...
[ 0.0804443359375, 0.17578125, 0.140625, 0.14501953125, 0.07421875, 0.111083984375, 0.10302734375, 0.1864013671875, 0.04815673828125, 0.0906982421875, 0.1112060546875, 0.185791015625, 0.0015869140625, 0.1435546875, 0.2064208984375, 0.0596923828125, 0.0849609375, 0.1373291015625, 0....
embed
14110518_c1
14110518
fsharp
1
function that will be called when a server replies. This callback function can then decide to end listening or not, by return true or false. If no server replies, or no callback returns true, the function returns after the timeout expires. This code works just fine, but I am vaguely bothered by the use of the imperati...
function that will be called when a server replies. This callback function can then decide to end listening or not, by return true or false. If no server replies, or no callback returns true, the function returns after the timeout expires. This code works just fine, but I am vaguely bothered by the use of the imperati...
[ -0.007080078125, 0.017578125, 0.01043701171875, 0.033203125, -0.0021820068359375, 0.0157470703125, -0.0068359375, 0.005340576171875, 0.004241943359375, -0.005126953125, 0.0133056640625, -0.003387451171875, -0.006988525390625, -0.006683349609375, -0.00634765625, 0.0211181640625, 0.027...
[ 32354, 450, 1221, 35839, 3229, 10723, 156405, 90, 11782, 12620, 28288, 3564, 178463, 959, 30646, 29568, 98320, 110, 7103, 1733, 6056, 14700, 18151, 43240, 5885, 15044, 4527, 222530, 13, 18831, 38750, 122799, 49666, 9523, 563, 4904, 3917, 54, ...
[ 0.2225341796875, 0.022308349609375, 0.009979248046875, 0.16796875, 0.10546875, 0.1888427734375, 0.2236328125, 0.1138916015625, 0.1241455078125, 0.189208984375, 0.09765625, 0.0989990234375, 0.274169921875, 0.00616455078125, 0.154296875, 0.1302490234375, 0.132568359375, 0.04547119140...
embed
10200943_c1
10200943
fsharp
1
dict' as a simple data term, make it a function with explicit arguments or, if you do not intend for it to be generic, add a type annotation. is It ok?... thanks so much improve question: Ok I've been reading about value restriction and I found this helpfull information In particular, only function definitions and simp...
dict' as a simple data term, make it a function with explicit arguments or, if you do not intend for it to be generic, add a type annotation. is It ok?... thanks so much improve question: Ok I've been reading about value restriction and I found this helpfull information In particular, only function definitions and simp...
[ -0.0096435546875, 0.01080322265625, -0.008056640625, -0.008544921875, 0.0230712890625, -0.0026092529296875, 0.0023193359375, -0.0034637451171875, 0.01953125, -0.0018157958984375, 0.00799560546875, -0.0115966796875, -0.01953125, 0.004486083984375, 0.017333984375, 0.0115966796875, 0.00...
[ 61669, 25, 237, 8781, 2053, 13579, 3249, 32354, 678, 143726, 10750, 150661, 189534, 15190, 10644, 8668, 22062, 83, 1650, 3664, 52295, 34292, 185190, 98893, 4734, 80934, 566, 561, 22819, 125195, 191082, 4537, 685, 73342, 2633, 2203, 3525, 1476...
[ 0.296875, 0.12060546875, 0.0433349609375, 0.1551513671875, 0.1226806640625, 0.1641845703125, 0.034637451171875, 0.18408203125, 0.0196685791015625, 0.171875, 0.20068359375, 0.0226593017578125, 0.2227783203125, 0.1075439453125, 0.1661376953125, 0.1375732421875, 0.1077880859375, 0.023...
embed
49214837_c0
49214837
fsharp
0
Title: F# &#x27;The file name is not valid!&#x27; when trying File.Move Problem title: F# &#x27;The file name is not valid!&#x27; when trying File.Move Tags: f%23 Problem: F# 'The file name is not valid!' when trying File.Move I decided to learn F#. One of the programs I write to learn a new language is a "jpg-renamer"...
F# &#x27;The file name is not valid!&#x27; when trying File.Move F# &#x27;The file name is not valid!&#x27; when trying File.Move f%23 System.ArgumentException File.Move DateTimeOriginal YYYY-MM-dd_hh.mm.ss.jpg path:string Path.GetExtension srenamer.exe IMG_20180303_153239.jpg Unhandled Exception System.IO.File.Move Sy...
[ -0.003143310546875, -0.0036163330078125, 0.0036163330078125, 0.021240234375, -0.01556396484375, 0.000965118408203125, -0.01519775390625, 0.000522613525390625, -0.0019683837890625, 0.008056640625, 0.00121307373046875, 0.04296875, -0.00494384765625, 0.0059814453125, 0.007080078125, -0.00...
[ 563, 4904, 3768, 3957, 11435, 9351, 83, 959, 35604, 38, 3229, 31577, 42724, 5, 9083, 272, 1238, 3742, 12353, 7614, 1234, 63928, 25512, 70059, 242877, 108354, 25590, 4028, 51659, 2276, 25687, 60875, 91693, 108421, 128872, 91, 25723, 1991, 46...
[ 0.1806640625, 0.239501953125, 0.097412109375, 0.103515625, 0.2081298828125, 0.2001953125, 0.11181640625, 0.1837158203125, 0.2435302734375, 0.0654296875, 0.054656982421875, 0.166748046875, 0.2186279296875, 0.00518798828125, 0.1673583984375, 0.1650390625, 0.1317138671875, 0.071716308...
embed
2338316_c0
2338316
fsharp
0
Title: Functional approach to parse hierarchical CSV Problem title: Functional approach to parse hierarchical CSV Tags: functional-programming, f%23 Problem: Functional approach to parse hierarchical CSV I'm trying to create a piece of code but cannot get it working. The simplest example I can think of is parsing some ...
Functional approach to parse hierarchical CSV Functional approach to parse hierarchical CSV functional-programming f%23 Functional CSV Section1 Section1.1 Section1.2 Section1.3 Section2 Section2.1 Section2.2 Section2.3 Section2.4 input.Split Array.map l.Split Array.mapi Array.filter Functional approach to parse hierarc...
[ -0.022216796875, 0.025390625, 0.00494384765625, 0.0257568359375, -0.02001953125, 0.01068115234375, -0.0115966796875, 0.01153564453125, 0.00445556640625, -0.01544189453125, -0.0196533203125, 0.002960205078125, 0.005950927734375, 0.0230712890625, 0.000885009765625, -0.0002613067626953125...
[ 28670, 10763, 51515, 366, 184, 1791, 54689, 6827, 313, 43486, 289, 123309, 28966, 3742, 140978, 92134, 48400, 81046, 68107, 120883, 116591, 107730, 4353, 62346, 1434, 69253, 120337, 31577, 28282, 18151, 53418, 20697, 30362, 18, 27781, 5351, 695...
[ 0.1038818359375, 0.0780029296875, 0.1514892578125, 0.1585693359375, 0.0938720703125, 0.1485595703125, 0.1871337890625, 0.0802001953125, 0.107421875, 0.284423828125, 0.00982666015625, 0.15283203125, 0.106201171875, 0.06597900390625, 0.1065673828125, 0.0229339599609375, 0.0298767089843...
embed
31879420_c0
31879420
fsharp
0
Title: How to create an FParsec parser that checks if the string is contained within an array? Problem title: How to create an FParsec parser that checks if the string is contained within an array? Tags: fparsec, parsing, f%23 Problem: How to create an FParsec parser that checks if the string is contained within an arr...
How to create an FParsec parser that checks if the string is contained within an array? How to create an FParsec parser that checks if the string is contained within an array? fparsec parsing f%23 How FParsec Parser CharStream How to create an FParsec parser that checks if the string is contained within an array? I am ...
[ -0.0107421875, 0.00634765625, -0.0027008056640625, 0.034423828125, -0.01483154296875, 0.005126953125, 0.0196533203125, -0.01611328125, -0.0004558563232421875, -0.01202392578125, 0.0086669921875, 0.021728515625, 0.00604248046875, -0.0013580322265625, 0.0003108978271484375, -0.0057983398...
[ 11249, 28282, 563, 28636, 39797, 366, 2189, 450, 12765, 2174, 79315, 70541, 28032, 10298, 53, 142, 1238, 2500, 6953, 3949, 3742, 2392, 21656, 115061, 31577, 125296, 123055, 1653, 13, 5983, 32354, 69822, 4537, 46258, 15659, 16765, 72134, 678, ...
[ 0.06085205078125, 0.15185546875, 0.139892578125, 0.1712646484375, 0.2142333984375, 0.167236328125, 0.2142333984375, 0.00091552734375, 0.1761474609375, 0.1204833984375, 0.21923828125, 0.1995849609375, 0.1212158203125, 0.14599609375, 0.08441162109375, 0.02545166015625, 0.10791015625, ...
embed
54540690_c0
54540690
fsharp
0
Title: Cannot load a type with JsonProvider Problem title: Cannot load a type with JsonProvider Tags: type-providers, .net, f%23, json Problem: Cannot load a type with JsonProvider I have a sample code snippet where I'm loading a json document but I get this failure at the parsing level : The type provider 'ProviderImp...
Cannot load a type with JsonProvider Cannot load a type with JsonProvider type-providers .net f%23 json Cannot JsonProvider Sample SampleModel.json File.ReadAllText Sample.Parse Array.toList Sample.Root List head.FirstName head.LastName FirstName Bob LastName Baggins Hobbies Mountain Biking Gaming Music Cannot load a t...
[ 0.00098419189453125, 0.038818359375, -0.018798828125, 0.0072021484375, -0.025634765625, 0.00689697265625, -0.004608154296875, 0.00982666015625, 0.000614166259765625, -0.032958984375, -0.00012302398681640625, 0.0017242431640625, 0.0166015625, -0.0242919921875, 0.0244140625, -0.001930236...
[ 4171, 10869, 72367, 10644, 678, 821, 1681, 177997, 62160, 93136, 14202, 1179, 1238, 3949, 3742, 1647, 33209, 947, 140290, 170, 42724, 31345, 43512, 174379, 28636, 188, 154663, 32036, 10336, 163612, 25027, 21672, 19413, 6820, 2291, 22155, 71175,...
[ 0.047088623046875, 0.1483154296875, 0.221435546875, 0.2464599609375, 0.140869140625, 0.154541015625, 0.1910400390625, 0.181396484375, 0.186767578125, 0.171875, 0.05157470703125, 0.10009765625, 0.0068359375, 0.01220703125, 0.1165771484375, 0.0960693359375, 0.112060546875, 0.00228881...
embed
15343262_c0
15343262
fsharp
0
Title: C# library overloads ^ operator. How to use ** instead? Problem title: C# library overloads ^ operator. How to use ** instead? Tags: f%23, computer-algebra-systems, symbolic-computation, symbolic-math Problem: C# library overloads ^ operator. How to use ** instead? The Symbolism library overloads arithmetic oper...
C# library overloads ^ operator. How to use ** instead? C# library overloads ^ operator. How to use ** instead? f%23 computer-algebra-systems symbolic-computation symbolic-math How Symbolism Symbol Aux.Pow MathObject Pow Power Simplify Integer C# library overloads ^ operator. How to use ** instead? The Symbolism librar...
[ 0.0024566650390625, -0.01202392578125, 0.0126953125, 0.0191650390625, -0.0086669921875, 0.0020599365234375, -0.0145263671875, 0.00933837890625, 0.0022430419921875, -0.0166015625, 0.0032196044921875, 0.01708984375, 0.018798828125, -0.010986328125, 0.00714111328125, -0.005096435546875, ...
[ 313, 4904, 35773, 1294, 645, 63033, 13331, 39933, 11249, 4527, 16459, 64457, 1238, 3949, 3742, 16751, 128201, 7077, 131899, 8780, 62, 6077, 7192, 434, 78804, 46471, 75161, 53982, 17170, 55331, 28574, 44401, 8962, 282, 59121, 563, 140992, 1453...
[ 0.0235137939453125, 0.193359375, 0.15380859375, 0.06536865234375, 0.113525390625, 0.2001953125, 0.1495361328125, 0.2183837890625, 0.036407470703125, 0.1087646484375, 0.1715087890625, 0.123046875, 0.0714111328125, 0.03143310546875, 0.124267578125, 0.0144195556640625, 0.140380859375, ...
embed
42858735_c0
42858735
fsharp
0
Title: F# Type Provider SQL Server example Problem title: F# Type Provider SQL Server example Tags: f%23, type-providers, sql-server Problem: F# Type Provider SQL Server example I'm reading Walkthrough: Accessing a SQL Database by Using Type Providers and working it through using my test database. So far, I have done t...
F# Type Provider SQL Server example F# Type Provider SQL Server example f%23 type-providers sql-server Type Provider SQL Server System.Data.dll FSharp.Data.TypeProviders.dll System.Data.Linq.dll System System.Data System.Data.Linq Microsoft.FSharp.Data.TypeProviders Microsoft.FSharp.Linq SqlDataConnection Data Source M...
[ 0.02734375, 0.000934600830078125, -0.00823974609375, 0.0245361328125, -0.0120849609375, 0.0108642578125, -0.01202392578125, -0.003204345703125, -0.01080322265625, -0.037353515625, -0.000934600830078125, -0.004180908203125, 0.00408935546875, 0.002716064453125, 0.002655029296875, 0.00811...
[ 563, 4904, 60457, 123089, 42, 80866, 22687, 27781, 1238, 3742, 10644, 93136, 14202, 99247, 39642, 12353, 137989, 1181, 3467, 254, 196707, 177997, 14, 44982, 7244, 158897, 203758, 39463, 150917, 8647, 48748, 15185, 22829, 23180, 22819, 222521, 4...
[ 0.1192626953125, 0.1949462890625, 0.198974609375, 0.1866455078125, 0.01141357421875, 0.1453857421875, 0.0870361328125, 0.172607421875, 0.0595703125, 0.0933837890625, 0.1649169921875, 0.158935546875, 0.028350830078125, 0.104736328125, 0.055633544921875, 0.04345703125, 0.02618408203125...
embed
57962633_c0
57962633
fsharp
0
Title: Optimized version of except for Map Problem title: Optimized version of except for Map Tags: f%23, dictionary, optimization Problem: Optimized version of except for Map I've written a generic except function for Map s that, given a source map and an other map, returns only the items of the source map without cor...
Optimized version of except for Map Optimized version of except for Map f%23 dictionary optimization Optimized Map MapExt Map.toArray Array.map other:Map source:Map Array.except Map.fold MapExtOpt key::keys other.ContainsKey Optimized version of except for Map I've written a generic except function for Map s that, give...
[ -0.016357421875, 0.0255126953125, 0.0235595703125, -0.0164794921875, -0.018798828125, -0.025146484375, -0.0093994140625, 0.005523681640625, -0.0024871826171875, -0.00408935546875, 0.0166015625, 0.0306396484375, 0.00119781494140625, -0.0019378662109375, 0.0135498046875, 0.00321960449218...
[ 43938, 29367, 11389, 111, 40494, 100, 42719, 3949, 3742, 10763, 87235, 19279, 18, 188, 7614, 7092, 69253, 53, 62346, 3789, 166179, 31344, 3355, 19462, 42822, 39029, 22799, 19770, 25500, 162429, 59121, 189534, 32354, 91, 22288, 30646, 4734, 55...
[ 0.205078125, 0.10479736328125, 0.1761474609375, 0.020904541015625, 0.24169921875, 0.1256103515625, 0.2236328125, 0.008026123046875, 0.1168212890625, 0.044189453125, 0.2130126953125, 0.1522216796875, 0.1239013671875, 0.07940673828125, 0.030548095703125, 0.096923828125, 0.0563354492187...
embed
34812511_c0
34812511
fsharp
0
Title: Try Finally statement in F# Problem title: Try Finally statement in F# Tags: f%23 Problem: Try Finally statement in F# I am new to learning F# and writing a simple console application, where the user enters a value for distance, and I want some validation to make sure that the input is a number. It also needs to...
Try Finally statement in F# Try Finally statement in F# f%23 Try Finally System.Console.WriteLine How System.Console.ReadLine System.Int32.Parse Can You Invalid Try Finally statement in F# I am new to learning F# and writing a simple console application, where the user enters a value for distance, and I want some valid...
[ -0.006103515625, 0.0027008056640625, 0.00567626953125, -0.006011962890625, 0.0068359375, -0.00020313262939453125, 0.0198974609375, -0.013427734375, 0.00080108642578125, 0.01611328125, -0.0125732421875, 0.01220703125, -0.025146484375, 0.01287841796875, 0.01177978515625, 0.01025390625, ...
[ 40858, 201106, 63805, 23, 563, 4904, 1238, 3742, 12353, 40777, 93232, 11249, 11935, 31345, 4153, 18, 6460, 28636, 184, 4171, 360, 7013, 71, 3525, 52080, 32562, 8781, 130250, 38415, 38937, 30957, 34292, 62488, 3444, 44622, 9077, 107730, 83, ...
[ 0.27294921875, 0.255615234375, 0.2188720703125, 0.09149169921875, 0.14111328125, 0.228515625, 0.0780029296875, 0.1331787109375, 0.09356689453125, 0.13671875, 0.1728515625, 0.033538818359375, 0.010528564453125, 0.1385498046875, 0.080810546875, 0.09246826171875, 0.195068359375, 0.142...
embed
8705434_c0
8705434
fsharp
0
Title: Integer overflow in modular exponentiation function Problem title: Integer overflow in modular exponentiation function Tags: f%23, .net, overflow Problem: Integer overflow in modular exponentiation function I'm writing a powMod function which I have to use quite intensively. The starting point is a custom pow fu...
Integer overflow in modular exponentiation function Integer overflow in modular exponentiation function f%23 .net overflow multiplication Integer Compute int64 Integer overflow in modular exponentiation function I'm writing a powMod function which I have to use quite intensively. The starting point is a custom pow func...
[ -0.0072021484375, -0.00543212890625, 0.0274658203125, 0.011474609375, 0.0022735595703125, -0.00872802734375, -0.005889892578125, -0.0098876953125, 0.014892578125, -0.029296875, 0.000507354736328125, -0.00457763671875, 0.00799560546875, 0.00927734375, 0.0220947265625, -0.01275634765625,...
[ 44401, 645, 118664, 17055, 147, 78643, 21616, 32354, 1238, 3949, 3742, 1179, 127664, 159415, 23, 18, 13307, 32562, 23827, 91616, 40894, 72134, 6275, 114122, 134071, 37457, 107730, 19667, 6957, 33636, 140992, 71864, 135587, 74481, 4288, 41591, 1...
[ 0.201416015625, 0.1153564453125, 0.2467041015625, 0.1737060546875, 0.06439208984375, 0.1319580078125, 0.07159423828125, 0.14794921875, 0.06634521484375, 0.000213623046875, 0.126953125, 0.1280517578125, 0.1361083984375, 0.08856201171875, 0.0675048828125, 0.1015625, 0.2548828125, 0.0...
embed
63692221_c0
63692221
fsharp
0
Title: F# static member constraints combined with IDisposable Problem title: F# static member constraints combined with IDisposable Tags: type-constraints, .net, f%23, compiler-errors Problem: F# static member constraints combined with IDisposable I'd like to implement a generic F# class whose type parameter for sure p...
F# static member constraints combined with IDisposable F# static member constraints combined with IDisposable type-constraints .net f%23 compiler-errors IDisposable Listener TryParse this.Start this.Dispose Error F# static member constraints combined with IDisposable I'd like to implement a generic F# class whose type ...
[ -0.01531982421875, -0.00193023681640625, 0.006866455078125, 0.00008058547973632812, -0.00250244140625, 0.01263427734375, -0.017822265625, -0.0021820068359375, 0.00011587142944335938, -0.037353515625, -0.01220703125, -0.0235595703125, 0.0179443359375, -0.003326416015625, 0.01287841796875,...
[ 563, 4904, 201939, 32786, 158, 2816, 4288, 70163, 11338, 164, 7522, 2886, 10644, 2271, 1179, 1238, 3742, 9969, 34759, 188800, 159366, 56, 40858, 28636, 184, 903, 126597, 44456, 78381, 212059, 678, 1884, 29479, 189534, 18507, 171859, 9077, 873...
[ 0.13134765625, 0.2200927734375, 0.2039794921875, 0.227294921875, 0.057220458984375, 0.1488037109375, 0.0926513671875, 0.0791015625, 0.065185546875, 0.09033203125, 0.1378173828125, 0.177490234375, 0.1224365234375, 0.017669677734375, 0.1053466796875, 0.053924560546875, 0.085693359375, ...
embed
14094052_c0
14094052
fsharp
0
Title: F# Type Provider for SQLite? Problem title: F# Type Provider for SQLite? Tags: f%23, sqlite, type-providers, f%23-3.0 Problem: F# Type Provider for SQLite? I have searched for the last month or so to no avail. Fsharpx, F# powerpack, codeplex, github, fssnip.net, hubfs.net, System.Data.SQLite, dba.stackexchange.c...
F# Type Provider for SQLite? F# Type Provider for SQLite? f%23 sqlite type-providers f%23-3.0 Type Provider SQLite F# Type Provider for SQLite? I have searched for the last month or so to no avail. Fsharpx, F# powerpack, codeplex, github, fssnip.net, hubfs.net, System.Data.SQLite, dba.stackexchange.com, F# & SQLite for...
[ 0.0250244140625, 0.015625, -0.000148773193359375, 0.004241943359375, -0.01483154296875, 0.006103515625, -0.0059814453125, -0.001190185546875, -0.008544921875, -0.0191650390625, 0.0150146484375, -0.022216796875, -0.0081787109375, -0.01165771484375, -0.0213623046875, 0.006561279296875, ...
[ 563, 4904, 60457, 123089, 42, 100, 80866, 1486, 32, 1238, 3949, 3742, 91, 95255, 67, 10644, 93136, 14202, 167218, 27495, 132265, 33938, 4568, 31150, 110, 25820, 89280, 88684, 29102, 18151, 44974, 62270, 32102, 93, 254, 1179, 17447, 12353, 1...
[ 0.1158447265625, 0.20947265625, 0.263427734375, 0.2010498046875, 0.1229248046875, 0.08087158203125, 0.1591796875, 0.2144775390625, 0.013336181640625, 0.09881591796875, 0.009796142578125, 0.051513671875, 0.0174407958984375, 0.1895751953125, 0.10791015625, 0.2213134765625, 0.1821289062...
embed
5642628_c0
5642628
fsharp
0
Title: Cast/Conversion Problem Problem title: Cast/Conversion Problem Tags: dictionary, match, casting, f%23, tuples Problem: Cast/Conversion Problem In the following snippet I'm trying to extract the recid contained in a nested tuple which forms a dict key. The nested tuple format is (Int32, (boolean, boolean)) - I'm ...
Cast/Conversion Problem Cast/Conversion Problem dictionary match casting f%23 tuples Cast Conversion Problem Create Dict Dictionary Add rdict.Add PatientID Extract ResizeArray int32 KeyValue Found Record reclist.Add Cast/Conversion Problem In the following snippet I'm trying to extract the recid contained in a nested t...
[ -0.00531005859375, 0.00836181640625, 0.0283203125, 0.022216796875, 0.0107421875, -0.01092529296875, -0.0267333984375, 0.0191650390625, 0.004913330078125, 0.00152587890625, 0.01251220703125, -0.0164794921875, -0.0206298828125, 0.0213623046875, 0.0167236328125, -0.010986328125, -0.0016...
[ 32301, 64, 11935, 46354, 15649, 45, 10763, 14858, 176050, 1238, 3949, 3742, 370, 99726, 1657, 151313, 60897, 18, 147638, 29117, 61669, 4028, 135004, 7146, 31501, 853, 62539, 7092, 23, 6460, 26824, 856, 50770, 215624, 54877, 21954, 6562, 31577...
[ 0.2032470703125, 0.0736083984375, 0.06121826171875, 0.206298828125, 0.1676025390625, 0.0596923828125, 0.1126708984375, 0.1375732421875, 0.1861572265625, 0.032470703125, 0.042449951171875, 0.1270751953125, 0.0875244140625, 0.1492919921875, 0.020721435546875, 0.0295562744140625, 0.1379...
embed
66933149_c0
66933149
fsharp
0
Title: casting between C# derived classes, in F# Problem title: casting between C# derived classes, in F# Tags: f%23 Problem: casting between C# derived classes, in F# // turn a webcall result into a Result object let processResult (applyOnOk: 'a -> 'b) (result: CallResult<'a>) = match result.Success with | true -> Res...
casting between C# derived classes, in F# casting between C# derived classes, in F# f%23 GetResultOrError callResult.Error Result.Error decodeError CallResult AllowNull Error MaybeNullWhen NotNullWhen WebCallResult CreateErrorResult HttpStatusCode ResponseStatusCode IEnumerable KeyValuePair ResponseHeaders callResult.D...
[ 0.0101318359375, 0.0223388671875, 0.00360107421875, -0.0213623046875, 0.0262451171875, -0.00058746337890625, -0.0166015625, -0.0284423828125, 0.0205078125, 0.00189208984375, -0.0166015625, -0.0211181640625, -0.0107421875, 0.01043701171875, -0.024658203125, -0.008056640625, 0.00854492...
[ 176050, 17721, 313, 4904, 16406, 4126, 61112, 563, 23, 1238, 3949, 3742, 20779, 4332, 7, 7136, 19060, 18468, 31611, 11782, 126684, 8, 40899, 26265, 41566, 18444, 212059, 83425, 4002, 441, 5584, 151313, 135206, 114211, 92748, 2606, 26824, 8335...
[ 0.242919921875, 0.1856689453125, 0.04779052734375, 0.2216796875, 0.10400390625, 0.0494384765625, 0.1964111328125, 0.1199951171875, 0.0172271728515625, 0.03509521484375, 0.01470947265625, 0.1031494140625, 0.036285400390625, 0.049224853515625, 0.08184814453125, 0.1263427734375, 0.03582...
embed
21083147_c0
21083147
fsharp
0
Title: Function to construct binary decision tree Problem title: Function to construct binary decision tree Tags: f%23 Problem: Function to construct binary decision tree Suppose I have the following tree structure: type Tree = | Branch of (string*string) * (Tree*Tree) | Leaf of float For example, it could look somethi...
Function to construct binary decision tree Function to construct binary decision tree f%23 Tree Branch Leaf DecisionTreeNode Attribute DecisionNode Decision Record Function to construct binary decision tree Suppose I have the following tree structure: For example, it could look something like this: What would be the es...
[ 0.0274658203125, 0.01055908203125, -0.00506591796875, 0.00872802734375, 0.040283203125, 0.005645751953125, -0.024169921875, -0.0281982421875, -0.006439208984375, -0.02587890625, -0.0152587890625, -0.0196533203125, -0.01177978515625, 0.0224609375, 0.005523681640625, 0.030029296875, 0....
[ 28670, 10763, 47, 64549, 2394, 6635, 51957, 53201, 1238, 3949, 3742, 101344, 21110, 206, 2407, 49132, 6889, 62731, 5021, 112, 191145, 54877, 121691, 765, 25632, 45646, 27781, 5809, 6713, 9844, 1884, 903, 2806, 85590, 63920, 32354, 28282, 1610...
[ 0.152587890625, 0.0811767578125, 0.08251953125, 0.2125244140625, 0.1826171875, 0.1531982421875, 0.2105712890625, 0.256103515625, 0.05987548828125, 0.05712890625, 0.130615234375, 0.174072265625, 0.06231689453125, 0.00732421875, 0.11083984375, 0.1195068359375, 0.0245819091796875, 0.1...
embed
36954741_c1
36954741
fsharp
1
version . Unfortunately version stays empty when I run the build. After I added TraceEnvironmentVariables() method call I can see that none of the variables defined by GitVersion is presented in the output. As John Palmer and dustinmoris said the process started by Shell.Execute sets all variables as process-level one...
version . Unfortunately version stays empty when I run the build. After I added TraceEnvironmentVariables() method call I can see that none of the variables defined by GitVersion is presented in the output. As John Palmer and dustinmoris said the process started by Shell.Execute sets all variables as process-level one...
[ -0.03125, 0.0174560546875, -0.005889892578125, -0.0012664794921875, -0.01312255859375, -0.0098876953125, -0.0030364990234375, -0.024169921875, -0.00616455078125, 0.03662109375, 0.004913330078125, 0.0390625, -0.00084686279296875, 0.020751953125, -0.01068115234375, 0.0091552734375, -0....
[ 11389, 5, 185397, 24765, 7, 201505, 3229, 87, 11675, 45367, 49814, 4937, 329, 7768, 686, 1900, 81827, 14, 19736, 55300, 11782, 1957, 351, 13, 77336, 61924, 527, 217, 178390, 8121, 140992, 39287, 4514, 2804, 9433, 26859, 390, 108362, 211603,...
[ 0.2734375, 0.055908203125, 0.0760498046875, 0.1324462890625, 0.0145416259765625, 0.232666015625, 0.0657958984375, 0.041717529296875, 0.1383056640625, 0.200439453125, 0.03253173828125, 0.1436767578125, 0.07171630859375, 0.005126953125, 0.10546875, 0.1241455078125, 0.1494140625, 0.11...
embed
22305328_c0
22305328
fsharp
0
Title: call abstract function from a method&#x27;s own implementation Problem title: call abstract function from a method&#x27;s own implementation Tags: f%23, abstract Problem: call abstract function from a method's own implementation I have tried to call an abstract function from a method's own implementation. [<Abst...
call abstract function from a method&#x27;s own implementation call abstract function from a method&#x27;s own implementation f%23 abstract a AbstractClass CallAnAbstract Done Something this.DoSomething UseComposition DoSomething call abstract function from a method's own implementation I have tried to call an abstract...
[ 0.00994873046875, 0.0216064453125, 0.00799560546875, 0.00787353515625, 0.007171630859375, 0.006072998046875, 0.0225830078125, 0.0081787109375, 0.0172119140625, -0.0213623046875, -0.0025787353515625, 0.005340576171875, -0.005096435546875, 0.02978515625, 0.0201416015625, -0.0130004882812...
[ 11782, 164789, 32354, 1295, 55300, 3768, 10002, 208124, 3742, 233973, 140803, 26265, 24988, 2816, 15390, 984, 86, 200905, 903, 8331, 8912, 282, 64113, 36836, 10770, 40322, 37842, 18499, 159029, 85325, 2967, 5761, 166577, 645, 23, 3334, 217, 3...
[ 0.153564453125, 0.268310546875, 0.1990966796875, 0.1317138671875, 0.18701171875, 0.062469482421875, 0.1558837890625, 0.1990966796875, 0.0386962890625, 0.250244140625, 0.1370849609375, 0.1566162109375, 0.0265655517578125, 0.12255859375, 0.046051025390625, 0.1011962890625, 0.0653076171...
embed
35098970_c1
35098970
fsharp
1
list x) (* val mean : l:float list -> float *) let mean l = match (l:float list) with | [] -> 0.0 | l -> (sumlist l)/(float)l.Length mean([1.0;2.0;3.0]) (* val mean_diffs : l:float list -> float list *) let mean_diffs l = match l with set a = mean(l) (* val variance : l:float list -> float *) let variance l = match (l:...
list x) (* val mean : l:float list -> float *) let mean l = match (l:float list) with | [] -> 0.0 | l -> (sumlist l)/(float)l.Length mean([1.0;2.0;3.0]) (* val mean_diffs : l:float list -> float list *) let mean_diffs l = match l with set a = mean(l) (* val variance : l:float list -> float *) let variance l = match (l:...
[ -0.0019073486328125, 0.0198974609375, 0.007232666015625, -0.003662109375, -0.0179443359375, 0.01416015625, -0.005035400390625, 0.00634765625, 0.0269775390625, -0.0189208984375, 0.00933837890625, 0.0004062652587890625, 0.0234375, -0.004119873046875, -0.0016326904296875, -0.0109252929687...
[ 5303, 1022, 75402, 3502, 29459, 96, 12, 52347, 257, 33079, 21917, 661, 2633, 14858, 141, 678, 6, 89678, 11832, 6562, 449, 102107, 74, 73011, 132265, 152462, 5423, 10, 16757, 15, 108047, 66, 9655, 27211, 5, 68185, 116, 959, 13315, 32786, ...
[ 0.267333984375, 0.15673828125, 0.1143798828125, 0.2252197265625, 0.251220703125, 0.142578125, 0.03173828125, 0.1566162109375, 0.07568359375, 0.02117919921875, 0.174560546875, 0.02703857421875, 0.10595703125, 0.197509765625, 0.098388671875, 0.084716796875, 0.001251220703125, 0.20690...
embed
22686593_c0
22686593
fsharp
0
Title: F# - Treating a function like a map Problem title: F# - Treating a function like a map Tags: f%23, functional-programming, dictionary Problem: F# - Treating a function like a map Long story short, I came up with this funny function set , that takes a function, f : 'k -> 'v , a chosen value, k : 'k , a chosen res...
F# - Treating a function like a map F# - Treating a function like a map f%23 functional-programming dictionary Treating List List.fold F# - Treating a function like a map Long story short, I came up with this funny function set , that takes a function, f : 'k -> 'v , a chosen value, k : 'k , a chosen result, v : 'v , u...
[ -0.0006256103515625, -0.007476806640625, 0.021484375, -0.02197265625, 0.01318359375, -0.0225830078125, -0.0194091796875, -0.0035552978515625, 0.015380859375, -0.0035247802734375, 0.010986328125, 0.037841796875, -0.01153564453125, 0.01263427734375, 0.0174560546875, 0.00165557861328125, ...
[ 563, 4904, 4804, 26518, 32354, 1884, 10, 22288, 20, 1238, 3742, 123309, 28966, 10763, 32036, 42822, 13765, 16610, 1257, 678, 903, 99864, 5423, 51776, 152, 242, 92, 33079, 334, 19667, 34292, 472, 6, 16750, 81, 4527, 237, 18231, 100, 3525, ...
[ 0.12060546875, 0.2154541015625, 0.1373291015625, 0.083251953125, 0.2144775390625, 0.1591796875, 0.0263824462890625, 0.1932373046875, 0.000396728515625, 0.1475830078125, 0.093017578125, 0.1055908203125, 0.0750732421875, 0.05517578125, 0.1217041015625, 0.1512451171875, 0.00668334960937...
embed
27868854_c0
27868854
fsharp
0
Title: this expression was expected to have type IDataReader but here has type SqlDataReader Problem title: this expression was expected to have type IDataReader but here has type SqlDataReader Tags: f%23, idatareader, upcasting Problem: this expression was expected to have type IDataReader but here has type SqlDataRea...
this expression was expected to have type IDataReader but here has type SqlDataReader this expression was expected to have type IDataReader but here has type SqlDataReader f%23 idatareader upcasting Foo IDataReader SqlDataReader Seq.unfold System.Data System.Data.SqlClient System.Configuration id:int name:string r:IDat...
[ 0.01043701171875, 0.00628662109375, -0.01300048828125, 0.0027313232421875, 0.005401611328125, -0.0074462890625, -0.0174560546875, 0.01153564453125, -0.01239013671875, -0.04541015625, 0.005859375, 0.00628662109375, 0.00104522705078125, -0.01043701171875, 0.002655029296875, -0.0322265625...
[ 903, 125195, 84751, 10644, 87, 137989, 31345, 56, 1284, 3688, 1556, 99247, 1238, 3949, 3742, 17, 85, 66636, 820, 1257, 55741, 9572, 31, 503, 864, 309, 42822, 12353, 150, 59994, 3447, 4288, 9351, 91693, 7146, 1724, 143045, 6460, 71713, 313...
[ 0.05145263671875, 0.22119140625, 0.1754150390625, 0.1927490234375, 0.0865478515625, 0.1246337890625, 0.243896484375, 0.124267578125, 0.039764404296875, 0.0609130859375, 0.0406494140625, 0.1640625, 0.047332763671875, 0.07232666015625, 0.1661376953125, 0.0572509765625, 0.0802001953125,...
embed
31834239_c0
31834239
fsharp
0
Title: Storing Serialized Information In SQL Server using F# Problem title: Storing Serialized Information In SQL Server using F# Tags: serialization, f%23, sql-server Problem: Storing Serialized Information In SQL Server using F# I am currently working on a project in F# that takes in data from Excel spreadsheets, det...
Storing Serialized Information In SQL Server using F# Storing Serialized Information In SQL Server using F# serialization f%23 sql-server F# Storing Serialized Information SQL Server Date Beginning End Storing Serialized Information In SQL Server using F# I am currently working on a project in F# that takes in data fro...
[ 0.0235595703125, 0.01226806640625, 0.0025634765625, 0.01470947265625, -0.01806640625, -0.0189208984375, -0.038330078125, -0.00390625, -0.00933837890625, -0.0024871826171875, 0.0213623046875, 0.0081787109375, 0.019287109375, 0.0024261474609375, -0.01019287109375, 0.005340576171875, -0...
[ 23604, 214, 135188, 29367, 32007, 360, 80866, 22687, 17368, 563, 4904, 35686, 47691, 1238, 3742, 99247, 39642, 25512, 67053, 18878, 20697, 13452, 2053, 30326, 93403, 83324, 146731, 144573, 23180, 15190, 15555, 29458, 52895, 62952, 384, 158897, ...
[ 0.17138671875, 0.020599365234375, 0.2354736328125, 0.1424560546875, 0.15380859375, 0.06243896484375, 0.1917724609375, 0.1561279296875, 0.054656982421875, 0.1268310546875, 0.1905517578125, 0.2225341796875, 0.068359375, 0.0341796875, 0.06829833984375, 0.133056640625, 0.0654296875, 0....
embed
18666434_c1
18666434
fsharp
1
public delegate string Parser(string state); public delegate Parser Callback(string result); public class Combinator { public static Parser Combine(Parser p, Callback callback) { Parser r = state => { var result = p(state); return callback(result)(state); }; return r; } public static string X1(string state) { return "...
public delegate string Parser(string state); public delegate Parser Callback(string result); public class Combinator { public static Parser Combine(Parser p, Callback callback) { Parser r = state => { var result = p(state); return callback(result)(state); }; return r; } public static string X1(string state) { return "...
[ -0.01446533203125, 0.01611328125, -0.000041484832763671875, 0.027587890625, -0.00982666015625, 0.00909423828125, -0.00799560546875, 0.0004787445068359375, 0.00176239013671875, -0.042236328125, -0.03076171875, 0.01483154296875, 0.0081787109375, -0.0012969970703125, -0.0103759765625, -0....
[ 3835, 102329, 13, 79315, 2392, 2189, 91693, 11341, 3142, 26265, 12620, 16750, 18507, 106935, 19, 4597, 201939, 86, 28636, 915, 11782, 1690, 285, 61340, 30646, 2109, 7136, 1193, 418, 3584, 31, 7663, 2292, 12321, 79459, 375, 275, 10770, 46187...
[ 0.1383056640625, 0.262939453125, 0.0638427734375, 0.1837158203125, 0.1839599609375, 0.2222900390625, 0.1585693359375, 0.158935546875, 0.0279388427734375, 0.1025390625, 0.1671142578125, 0.1771240234375, 0.1771240234375, 0.2130126953125, 0.15966796875, 0.161376953125, 0.14990234375, ...
embed
71214631_c0
71214631
fsharp
0
Title: Cannot extract the contents of a TGZ file using F# and SharpZipLib Problem title: Cannot extract the contents of a TGZ file using F# and SharpZipLib Tags: compression, f%23, sharpziplib Problem: Cannot extract the contents of a TGZ file using F# and SharpZipLib I am learning F# and Deedle. I am trying to extract...
Cannot extract the contents of a TGZ file using F# and SharpZipLib Cannot extract the contents of a TGZ file using F# and SharpZipLib compression f%23 sharpziplib System.NullReferenceException F# Cannot TGZ SharpZipLib ICSharpCode.SharpZipLib.GZip ICSharpCode.SharpZipLib.Tar Path.Combine File.OpenRead GZipInputStream T...
[ 0.0064697265625, 0.021240234375, 0.001129150390625, 0.01092529296875, 0.026611328125, -0.0038604736328125, -0.0257568359375, 0.0098876953125, -0.00860595703125, 0.01904296875, 0.01519775390625, 0.01141357421875, -0.018798828125, 0.0322265625, 0.0022125244140625, 0.027587890625, 0.015...
[ 4171, 10869, 125663, 10941, 7, 85307, 1511, 11435, 563, 4904, 136, 197106, 3442, 104820, 375, 48448, 1238, 3742, 189173, 50836, 5612, 12353, 18444, 69988, 63928, 102198, 3467, 114211, 40798, 10681, 63031, 108421, 46187, 42724, 31345, 6760, 2195...
[ 0.0261688232421875, 0.10205078125, 0.1905517578125, 0.150146484375, 0.0128173828125, 0.169677734375, 0.184326171875, 0.1051025390625, 0.0567626953125, 0.149658203125, 0.036651611328125, 0.1260986328125, 0.10498046875, 0.2078857421875, 0.0137939453125, 0.027862548828125, 0.01055908203...
embed
54498264_c1
54498264
fsharp
1
backtracked after: Error in Ln: 2 Col: 5 add (inc x) (dec y) ^ Expecting: end of input or integer number (32-bit, signed) The parser backtracked after: Error in Ln: 2 Col: 10 add (inc x) (dec y) ^ Expecting: ')' [] In short, my function call analyzer does not work properly. Every time I change something, like a new li...
backtracked after: Error in Ln: 2 Col: 5 add (inc x) (dec y) ^ Expecting: end of input or integer number (32-bit, signed) The parser backtracked after: Error in Ln: 2 Col: 10 add (inc x) (dec y) ^ Expecting: ')' [] In short, my function call analyzer does not work properly. Every time I change something, like a new li...
[ -0.00836181640625, 0.01025390625, -0.0027313232421875, 0.040771484375, -0.000415802001953125, 0.010009765625, 0.033203125, -0.03271484375, 0.00830078125, -0.0296630859375, 0.01141357421875, 0.0120849609375, -0.010009765625, -0.01422119140625, 0.0279541015625, -0.01318359375, 0.007995...
[ 4420, 125728, 7103, 212059, 339, 19, 116, 11554, 190, 15190, 38893, 1022, 50718, 113, 60075, 24762, 3564, 107730, 892, 14012, 6460, 3137, 181141, 366, 2189, 297, 209, 759, 32354, 11782, 7968, 53, 4383, 959, 4488, 155965, 87769, 1733, 15549,...
[ 0.122314453125, 0.2412109375, 0.06890869140625, 0.17041015625, 0.005401611328125, 0.0208740234375, 0.0732421875, 0.1131591796875, 0.080810546875, 0.1419677734375, 0.0633544921875, 0.1082763671875, 0.12646484375, 0.09771728515625, 0.1407470703125, 0.1297607421875, 0.1151123046875, 0...
embed
69895944_c1
69895944
fsharp
1
channel = GrpcChannel.ForAddress("https://127.0.0.1:5001",channelOptions) let client = DeFactoGrpc.EventSubscriberService.EventSubscriberServiceClient(channel) If needed the server is made with following procedure (Code is F#) let cacert = File.ReadAllText(@"ca.crt"); let servercert = File.ReadAllText(@"server.crt"); ...
channel = GrpcChannel.ForAddress("https://127.0.0.1:5001",channelOptions) let client = DeFactoGrpc.EventSubscriberService.EventSubscriberServiceClient(channel) If needed the server is made with following procedure (Code is F#) let cacert = File.ReadAllText(@"ca.crt"); let servercert = File.ReadAllText(@"server.crt"); ...
[ 0.00494384765625, 0.003204345703125, 0.0213623046875, 0.00885009765625, 0.005126953125, -0.035888671875, 0.00872802734375, -0.017822265625, -0.0098876953125, -0.0152587890625, -0.00787353515625, -0.00238037109375, 0.005950927734375, 0.0302734375, -0.0107421875, -0.000881195068359375, ...
[ 86723, 2203, 13779, 57095, 127008, 8876, 18537, 161007, 4397, 696, 1530, 129884, 102014, 23837, 6746, 17032, 39029, 2633, 23282, 262, 135518, 188, 42, 5, 192134, 96472, 34601, 121979, 150, 16, 4263, 44841, 70, 10723, 7228, 678, 25632, 50491, ...
[ 0.2568359375, 0.06707763671875, 0.1492919921875, 0.180908203125, 0.128173828125, 0.177978515625, 0.114013671875, 0.15234375, 0.1307373046875, 0.041961669921875, 0.042877197265625, 0.1092529296875, 0.0771484375, 0.139892578125, 0.1732177734375, 0.130859375, 0.1666259765625, 0.068359...
embed
27940765_c1
27940765
fsharp
1
type Startup() = static member RegisterWebApi(config: HttpConfiguration) = // Configure routing config.MapHttpAttributeRoutes() // Configure serialization config.Formatters.XmlFormatter.UseXmlSerializer <- true config.Formatters.JsonFormatter.SerializerSettings.ContractResolver <- Newtonsoft.Json.Serialization.CamelCa...
type Startup() = static member RegisterWebApi(config: HttpConfiguration) = // Configure routing config.MapHttpAttributeRoutes() // Configure serialization config.Formatters.XmlFormatter.UseXmlSerializer <- true config.Formatters.JsonFormatter.SerializerSettings.ContractResolver <- Newtonsoft.Json.Serialization.CamelCa...
[ -0.0361328125, 0.032470703125, -0.0164794921875, -0.005584716796875, -0.01007080078125, -0.000020503997802734375, -0.0042724609375, 0.008544921875, 0.00567626953125, -0.0052490234375, -0.00177001953125, 0.0235595703125, -0.00799560546875, 0.0096435546875, 0.0133056640625, 0.02722167968...
[ 10644, 153076, 132, 16, 2203, 201939, 32786, 131423, 30474, 284, 1434, 153837, 3062, 254, 11935, 59994, 2320, 1657, 13, 22629, 6, 166179, 191145, 12724, 7, 35686, 47691, 5, 102973, 7237, 11, 1062, 184, 51626, 52825, 9, 29568, 257, 23962, ...
[ 0.19970703125, 0.251220703125, 0.035400390625, 0.00433349609375, 0.0101318359375, 0.1810302734375, 0.20166015625, 0.24365234375, 0.148681640625, 0.03277587890625, 0.17919921875, 0.21630859375, 0.0843505859375, 0.06884765625, 0.041717529296875, 0.2073974609375, 0.00445556640625, 0.0...
embed
44466143_c1
44466143
fsharp
1
file to a unique file name but not including a central directory in between a source and destination. *) let archive_lb_file lb_path archive_path lockbox_file_name copy_only = use fH = new StreamWriter(base_log_file, true) let rc = try if (0 = String.Compare(copy_only, "copy_only")) then File.Move((lb_path + lockbox_f...
file to a unique file name but not including a central directory in between a source and destination. *) let archive_lb_file lb_path archive_path lockbox_file_name copy_only = use fH = new StreamWriter(base_log_file, true) let rc = try if (0 = String.Compare(copy_only, "copy_only")) then File.Move((lb_path + lockbox_f...
[ 0.0174560546875, 0.006134033203125, 0.011474609375, -0.006561279296875, 0.0006866455078125, 0.01104736328125, 0.0003032684326171875, 0.0208740234375, 0.008544921875, 0.048095703125, -0.002471923828125, 0.007110595703125, -0.0064697265625, 0.0208740234375, -0.000335693359375, -0.0137939...
[ 11435, 47, 10, 36998, 9351, 1284, 959, 26719, 9879, 14364, 53, 17721, 31344, 136, 78869, 661, 2633, 147488, 48543, 29822, 96, 275, 128405, 56776, 11728, 11627, 43658, 191, 538, 2203, 4527, 1238, 841, 6, 115061, 2783, 56, 37382, 4867, 2956...
[ 0.24462890625, 0.155029296875, 0.041900634765625, 0.272705078125, 0.1961669921875, 0.0650634765625, 0.0755615234375, 0.07550048828125, 0.1146240234375, 0.1005859375, 0.04766845703125, 0.114501953125, 0.1639404296875, 0.032470703125, 0.1910400390625, 0.008148193359375, 0.0428466796875...
embed
9561653_c0
9561653
fsharp
0
Title: Creating a list of a provided type in F# Problem title: Creating a list of a provided type in F# Tags: types, type-providers, f%23 Problem: Creating a list of a provided type in F# I am trying to add a basic JSON type provider to fsharpx . At the moment I am struggeling with JSON Arrays. Consider the following t...
Creating a list of a provided type in F# Creating a list of a provided type in F# types type-providers f%23 Creating SimpleArray JSON Open Pause Test Can a.items JArray ownerTy.Name e.Key ownerTy.AddMember Some TODO Expr.Coerce MemberInfo Creating a list of a provided type in F# I am trying to add a basic JSON type pro...
[ -0.0074462890625, 0.0196533203125, -0.010498046875, 0.00164031982421875, -0.01287841796875, -0.01025390625, -0.007415771484375, 0.01153564453125, -0.0032501220703125, -0.0072021484375, 0.004638671875, 0.0145263671875, 0.003143310546875, 0.001495361328125, 0.0111083984375, 0.00994873046...
[ 56781, 5303, 62952, 10644, 563, 4904, 52895, 93136, 14202, 1238, 3742, 60552, 7614, 7092, 821, 58627, 13527, 164197, 8647, 4171, 10, 1486, 4432, 101785, 53, 163612, 28, 162429, 4028, 27417, 9926, 13223, 42, 56, 329, 74057, 93147, 15190, 628...
[ 0.13330078125, 0.143798828125, 0.211669921875, 0.183837890625, 0.0982666015625, 0.18994140625, 0.1492919921875, 0.1376953125, 0.014801025390625, 0.050018310546875, 0.052642822265625, 0.1253662109375, 0.0958251953125, 0.21435546875, 0.07891845703125, 0.162353515625, 0.098876953125, ...
embed
21412083_c0
21412083
fsharp
0
Title: Incorrect IntelliSense XML generated for F# record values (VS2013) Problem title: Incorrect IntelliSense XML generated for F# record values (VS2013) Tags: f%23, record, visual-studio-2013, xml, intellisense Problem: Incorrect IntelliSense XML generated for F# record values (VS2013) Update: as noted in the commen...
Incorrect IntelliSense XML generated for F# record values (VS2013) Incorrect IntelliSense XML generated for F# record values (VS2013) f%23 record visual-studio-2013 xml intellisense Incorrect IntelliSense XML VS2013 Rather.Deep.Namespace TestRecord Property Prop F:Rather.Deep.Namespace.Rather.Deep.Namespace.TestRecord....
[ 0.00244140625, 0.0030364990234375, 0.006622314453125, -0.0113525390625, -0.010986328125, 0.01043701171875, -0.02099609375, -0.00360107421875, -0.0186767578125, 0.0274658203125, 0.0142822265625, 0.034912109375, 0.01007080078125, -0.01361083984375, 0.025390625, 0.0010528564453125, 0.01...
[ 360, 32399, 15390, 24018, 150, 294, 21161, 92537, 139392, 563, 4904, 17164, 142424, 47207, 7735, 1238, 3949, 3742, 21176, 52629, 74790, 6, 131492, 892, 27077, 44160, 152201, 56, 4657, 4517, 5, 163612, 65421, 8647, 32271, 206984, 43796, 12248,...
[ 0.061614990234375, 0.1661376953125, 0.042938232421875, 0.10888671875, 0.10595703125, 0.132568359375, 0.1351318359375, 0.252197265625, 0.1475830078125, 0.14306640625, 0.199951171875, 0.214111328125, 0.168701171875, 0.1663818359375, 0.23681640625, 0.0550537109375, 0.05810546875, 0.15...
embed
2319833_c0
2319833
fsharp
0
Title: Line of business applications: Will F# make my life easy? Problem title: Line of business applications: Will F# make my life easy? Tags: silverlight, f%23, c%23, asp.net, .net Problem: Line of business applications: Will F# make my life easy? I develop mainly line of business applications.No scientific operation...
Line of business applications: Will F# make my life easy? Line of business applications: Will F# make my life easy? silverlight f%23 c%23 asp.net .net Line Will asp.net Line of business applications: Will F# make my life easy? I develop mainly line of business applications.No scientific operations. No complex calculati...
[ 0.002044677734375, 0.0059814453125, 0.003021240234375, 0.00189208984375, -0.0115966796875, 0.0035400390625, 0.02099609375, 0.023193359375, 0.00958251953125, -0.0390625, -0.00885009765625, -0.00958251953125, -0.00885009765625, 0.0086669921875, -0.0020599365234375, 0.0186767578125, 0.0...
[ 16777, 111, 8063, 86685, 12, 20255, 563, 4904, 3249, 759, 6897, 23468, 115392, 20016, 1238, 3949, 3742, 237, 254, 5, 1179, 85493, 5201, 538, 13315, 5021, 57456, 41018, 7, 438, 27140, 74481, 5256, 4817, 53400, 220237, 47, 63399, 581, 4734,...
[ 0.2236328125, 0.2021484375, 0.22021484375, 0.207763671875, 0.029754638671875, 0.1334228515625, 0.1856689453125, 0.269775390625, 0.123779296875, 0.0621337890625, 0.173095703125, 0.1802978515625, 0.1707763671875, 0.198486328125, 0.102783203125, 0.02178955078125, 0.06536865234375, 0.0...
embed
63198414_c0
63198414
fsharp
0
Title: What&#x27;s wrong with this recursive curried function Problem title: What&#x27;s wrong with this recursive curried function Tags: currying, f%23, recursion, function Problem: What's wrong with this recursive curried function I was trying to write a function that solves following; persistence 39 = 3 // because 3...
What&#x27;s wrong with this recursive curried function What&#x27;s wrong with this recursive curried function currying f%23 recursion function input let What List.reduce Seq.toList List.map System.Char.GetNumericValue What's wrong with this recursive curried function I was trying to write a function that solves followi...
[ -0.02880859375, 0.01080322265625, 0.00360107421875, 0.00994873046875, 0.0050048828125, 0.0166015625, 0.003936767578125, 0.003997802734375, -0.0186767578125, -0.041259765625, 0.0135498046875, 0.0036773681640625, -0.00262451171875, 0.0274658203125, 0.0012969970703125, 0.00555419921875, ...
[ 4865, 3768, 7, 44691, 678, 903, 195625, 5844, 9709, 46572, 32354, 198555, 214, 1238, 3949, 3742, 1830, 107730, 2633, 32036, 107, 106357, 503, 864, 188, 154663, 62346, 12353, 84068, 126, 18444, 282, 12259, 856, 50770, 31577, 33022, 86869, 25...
[ 0.1275634765625, 0.1002197265625, 0.0170135498046875, 0.2032470703125, 0.1199951171875, 0.1376953125, 0.22021484375, 0.1826171875, 0.1474609375, 0.260498046875, 0.214599609375, 0.2337646484375, 0.1102294921875, 0.083984375, 0.011688232421875, 0.1239013671875, 0.08642578125, 0.16137...
embed
40919550_c0
40919550
fsharp
0
Title: How to use Crystal Report in FsXaml Problem title: How to use Crystal Report in FsXaml Tags: fsxaml, f%23 Problem: How to use Crystal Report in FsXaml I have added Report.rpt and a Report.fs file by right clicking on project in Solution Explorer. In Report.fs I have declared two Type Report() and CachedReport() ...
How to use Crystal Report in FsXaml How to use Crystal Report in FsXaml fsxaml f%23 How Crystal Report FsXaml Report.rpt Report.fs CachedReport ContentControl Content Binding ShowReport Button Command ViewReport Click Grid.Row CrystalReportsViewer rpt.Load doc.ViewerCore.ReportSource x.ShowReport x.ViewReport self.Fact...
[ 0.0123291015625, 0.0201416015625, 0.0230712890625, 0.01458740234375, 0.015380859375, -0.00189208984375, -0.003662109375, -0.0179443359375, 0.000423431396484375, -0.033935546875, 0.004852294921875, -0.00677490234375, -0.0040283203125, -0.0028228759765625, 0.00848388671875, -0.0216064453...
[ 11249, 4527, 122968, 34798, 23, 563, 7, 1542, 302, 141, 47, 1238, 3798, 7237, 3742, 10681, 18, 17447, 2041, 74694, 56829, 70870, 175904, 17367, 144037, 123573, 29805, 100474, 6328, 51584, 12018, 217835, 49814, 11435, 18158, 13452, 187895, 564...
[ 0.042449951171875, 0.152587890625, 0.253662109375, 0.2919921875, 0.0660400390625, 0.0970458984375, 0.055023193359375, 0.0701904296875, 0.1353759765625, 0.1051025390625, 0.0023193359375, 0.03753662109375, 0.06494140625, 0.1710205078125, 0.07080078125, 0.0740966796875, 0.1209716796875,...
embed
4256918_c0
4256918
fsharp
0
Title: FSI.exe does not work under Ubuntu 10.10 Problem title: FSI.exe does not work under Ubuntu 10.10 Tags: f%23-interactive, mono, ubuntu, f%23 Problem: FSI.exe does not work under Ubuntu 10.10 Update: Tried November CTP release. Same error message. Forgot to mention that this server has the Ubuntu server edition in...
FSI.exe does not work under Ubuntu 10.10 FSI.exe does not work under Ubuntu 10.10 f%23-interactive mono ubuntu f%23 FSI.exe Ubuntu FSI.exe does not work under Ubuntu 10.10 Update: Tried November CTP release. Same error message. Forgot to mention that this server has the Ubuntu server edition installed. I don't have thi...
[ 0.0028076171875, 0.0166015625, 0.0208740234375, -0.00022602081298828125, -0.00390625, -0.0185546875, 0.017333984375, -0.0284423828125, -0.0150146484375, -0.0010528564453125, 0.0115966796875, -0.01025390625, 0.015869140625, 0.01287841796875, 0.009033203125, -0.01031494140625, 0.033935...
[ 563, 9902, 5, 46480, 14602, 959, 4488, 1379, 116890, 4068, 963, 1238, 167218, 27495, 10433, 22460, 198996, 3742, 4699, 7582, 23658, 54452, 99908, 18499, 26008, 10723, 79737, 20600, 31089, 86983, 141423, 209, 10179, 75101, 13315, 35773, 132283, ...
[ 0.2100830078125, 0.291259765625, 0.1156005859375, 0.2308349609375, 0.0289459228515625, 0.11865234375, 0.1387939453125, 0.15087890625, 0.2069091796875, 0.2158203125, 0.2154541015625, 0.158447265625, 0.010101318359375, 0.0171051025390625, 0.0288238525390625, 0.169189453125, 0.146606445...
embed
22840604_c1
22840604
fsharp
1
n " ck = %s " ck printfn " tgtKey and tgtVal == %s, %i" tgtKey tgtVal true | _ -> false match json with | NestedMap.Object nmap -> if (nmap |> Map.exists (fun k v -> condition k v)) then json else printfn "Expanding w keyvalue: (%s,%i): " (fst keyvalue) (snd keyvalue) let expanded = nmap |> Map.map (fun k v -> pruneWit...
n " ck = %s " ck printfn " tgtKey and tgtVal == %s, %i" tgtKey tgtVal true | _ -> false match json with | NestedMap.Object nmap -> if (nmap |> Map.exists (fun k v -> condition k v)) then json else printfn "Expanding w keyvalue: (%s,%i): " (fst keyvalue) (snd keyvalue) let expanded = nmap |> Map.map (fun k v -> pruneWit...
[ -0.021484375, 0.015869140625, -0.00714111328125, 0.0078125, 0.0150146484375, 0.0013275146484375, -0.020751953125, 0.0107421875, 0.0147705078125, 0.0306396484375, 0.0172119140625, 0.04443359375, 0.00396728515625, 0.00738525390625, 0.0019683837890625, 0.01373291015625, 0.021240234375, ...
[ 653, 44, 2594, 2203, 1745, 28412, 14783, 808, 5386, 162429, 136, 42272, 69112, 14, 29568, 98320, 14858, 1647, 1681, 678, 28701, 71, 166179, 46471, 75161, 62346, 2174, 19, 42719, 54376, 16498, 472, 81, 35431, 37076, 19279, 3180, 6238, 148, ...
[ 0.1326904296875, 0.0229034423828125, 0.1734619140625, 0.07440185546875, 0.060699462890625, 0.1456298828125, 0.154296875, 0.087890625, 0.1947021484375, 0.240478515625, 0.0706787109375, 0.2340087890625, 0.0259246826171875, 0.012481689453125, 0.1597900390625, 0.1741943359375, 0.22595214...
embed
13380519_c0
13380519
fsharp
0
Title: How should an event be declared in an F# interface? Problem title: How should an event be declared in an F# interface? Tags: f%23, events, interface Problem: How should an event be declared in an F# interface? The standard way to publish events in F# now seems to be the following: type MyDelegate = delegate of o...
How should an event be declared in an F# interface? How should an event be declared in an F# interface? f%23 events interface How MyDelegate EventArgs MyType Event CLIEvent this.OnMyEvent myEvent.Publish IMyType OnMyEvent IEvent How should an event be declared in an F# interface? The standard way to publish events in F...
[ -0.0030364990234375, 0.0185546875, -0.0022125244140625, -0.0030364990234375, -0.018310546875, -0.015869140625, -0.0086669921875, -0.0023651123046875, 0.01239013671875, -0.01806640625, 0.00107574462890625, 0.008544921875, -0.0233154296875, 0.015625, 0.007476806640625, 0.003936767578125,...
[ 11249, 5608, 19732, 159978, 71, 23, 563, 4904, 101758, 1238, 3949, 3742, 47353, 2646, 4657, 3257, 36943, 7614, 9405, 196707, 10927, 192134, 903, 20320, 31852, 759, 143145, 15227, 53, 2161, 87, 142, 186, 5570, 3917, 47, 80299, 5036, 25632, ...
[ 0.0809326171875, 0.111572265625, 0.24072265625, 0.2313232421875, 0.114501953125, 0.07318115234375, 0.14599609375, 0.2362060546875, 0.2467041015625, 0.07855224609375, 0.010467529296875, 0.1251220703125, 0.2293701171875, 0.0662841796875, 0.1202392578125, 0.218017578125, 0.202880859375,...
embed
74234295_c1
74234295
fsharp
1
Black , (1 ,1))];; // val it: state = [( Blue , (0 , 0)); (Red , (1 , 0)); (Black , (0 ,))] val shiftUp: s: state -> state // flip the board s such that all pieces position change as // (i,j) -> (2 -i,j), e.g. // > flipUD [( Blue , (1 , 0)); (Red , (2 , 0))];; // val it: state = [( Blue , (1 , 0)); (Red , (0 , 0))] val...
Black , (1 ,1))];; // val it: state = [( Blue , (0 , 0)); (Red , (1 , 0)); (Black , (0 ,))] val shiftUp: s: state -> state // flip the board s such that all pieces position change as // (i,j) -> (2 -i,j), e.g. // > flipUD [( Blue , (1 , 0)); (Red , (2 , 0))];; // val it: state = [( Blue , (1 , 0)); (Red , (0 , 0))] val...
[ -0.0142822265625, -0.00872802734375, -0.00921630859375, 0.00555419921875, -0.00885009765625, -0.005401611328125, -0.01458740234375, -0.0093994140625, -0.00640869140625, -0.004058837890625, -0.0206298828125, 0.032470703125, 0.0162353515625, -0.01043701171875, -0.006622314453125, 0.00100...
[ 10074, 2858, 17727, 74, 4666, 3502, 442, 11341, 2203, 22928, 22085, 757, 80852, 97732, 122925, 53234, 91, 147505, 45443, 6044, 756, 126371, 19069, 15549, 237, 14, 170, 4700, 26119, 6, 3900, 78381, 70, 63847, 205171, 7413, 5303, 201505, 3864...
[ 0.2154541015625, 0.0389404296875, 0.0419921875, 0.0211181640625, 0.01275634765625, 0.1829833984375, 0.16015625, 0.150390625, 0.002899169921875, 0.1639404296875, 0.058929443359375, 0.0794677734375, 0.1357421875, 0.167236328125, 0.19873046875, 0.168701171875, 0.097900390625, 0.213134...
embed
62108140_c0
62108140
fsharp
0
Title: Frequency cipher in F# Problem title: Frequency cipher in F# Tags: encryption, f%23, frequency, substitution Problem: Frequency cipher in F# I'm currently working on a frequency-substitution cipher in F#. Meaning that I count all the occurrences of each letter in a text and when that is done I want to replace th...
Frequency cipher in F# Frequency cipher in F# encryption f%23 frequency substitution Frequency Letter Recommended Frequency cipher in F# I'm currently working on a frequency-substitution cipher in F#. Meaning that I count all the occurrences of each letter in a text and when that is done I want to replace the letters b...
[ 0.005584716796875, -0.0031280517578125, -0.006134033203125, 0.0107421875, 0.020751953125, -0.0147705078125, -0.0101318359375, 0.00061798095703125, -0.009765625, 0.0211181640625, -0.0087890625, 0.03076171875, 0.00640869140625, 0.01495361328125, 0.0026702880859375, -0.009033203125, 0.0...
[ 21612, 944, 27771, 1059, 94266, 23, 563, 4904, 136791, 1238, 3949, 3742, 12478, 161740, 105451, 89002, 106133, 82424, 20697, 209828, 54529, 756, 74918, 42, 12638, 31330, 7986, 3444, 91995, 120820, 35509, 175457, 229231, 2060, 75935, 9254, 21917...
[ 0.181396484375, 0.1685791015625, 0.025177001953125, 0.07513427734375, 0.200927734375, 0.048828125, 0.1500244140625, 0.2281494140625, 0.162841796875, 0.0963134765625, 0.044036865234375, 0.1568603515625, 0.1741943359375, 0.16650390625, 0.1571044921875, 0.088134765625, 0.115234375, 0....
embed
19138368_c0
19138368
fsharp
0
Title: Aggregation by multiple arguments and then arithmetic operation in F# Problem title: Aggregation by multiple arguments and then arithmetic operation in F# Tags: f%23 Problem: Aggregation by multiple arguments and then arithmetic operation in F# Hi I m trying to expand a seq.groupby function. On a single argument...
Aggregation by multiple arguments and then arithmetic operation in F# Aggregation by multiple arguments and then arithmetic operation in F# f%23 Aggregation group_fold Seq.groupBy Seq.map Seq.fold key1 key2 key3 tuples.GroupBy a.fst a.snd a.trd Aggregation by multiple arguments and then arithmetic operation in F# Hi I ...
[ 0.009033203125, 0.0003643035888671875, -0.025390625, 0.004241943359375, -0.01531982421875, -0.00110626220703125, -0.011962890625, 0.0086669921875, 0.01116943359375, 0.006927490234375, -0.01708984375, 0.001190185546875, 0.0059814453125, 0.0186767578125, -0.017578125, 0.00518798828125, ...
[ 12342, 68722, 2320, 390, 48716, 10750, 7068, 8962, 282, 41018, 563, 4904, 187, 9523, 1238, 3742, 21115, 42822, 503, 864, 51588, 75358, 62346, 22799, 363, 99726, 205072, 10, 271, 2208, 4216, 31577, 71062, 40, 1272, 32354, 11001, 43240, 18151...
[ 0.05218505859375, 0.22802734375, 0.00872802734375, 0.06390380859375, 0.2086181640625, 0.23779296875, 0.007659912109375, 0.13720703125, 0.0869140625, 0.158447265625, 0.1134033203125, 0.2010498046875, 0.005035400390625, 0.0160369873046875, 0.02215576171875, 0.09332275390625, 0.18310546...
embed
62554507_c1
62554507
fsharp
1
reply. as a sobering thought this is the xslt version of a 4 line f# program! <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="/"> <xsl:variable name="foo"> <xsl:call-template name="removeParenthesisIf"> <xsl:with-param name="s"...
reply. as a sobering thought this is the xslt version of a 4 line f# program! <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="/"> <xsl:variable name="foo"> <xsl:call-template name="removeParenthesisIf"> <xsl:with-param name="s"...
[ -0.0147705078125, 0.00836181640625, -0.0103759765625, 0.02685546875, -0.0152587890625, 0.001708984375, -0.0036163330078125, 0.003936767578125, 0.016357421875, -0.018310546875, 0.006805419921875, -0.00750732421875, -0.0018157958984375, -0.012939453125, 0.020751953125, -0.008056640625, ...
[ 75836, 5, 237, 19185, 4209, 17569, 903, 83, 70, 1022, 7, 1277, 11389, 201, 13315, 1238, 4904, 1528, 38, 131492, 102107, 22, 587, 17632, 919, 17376, 4426, 425, 24861, 40946, 7816, 1779, 434, 363, 177590, 1542, 30508, 62624, 5037, 2982, 1...
[ 0.145263671875, 0.039276123046875, 0.05072021484375, 0.04302978515625, 0.0841064453125, 0.1201171875, 0.113525390625, 0.123291015625, 0.038848876953125, 0.128173828125, 0.1229248046875, 0.2445068359375, 0.1744384765625, 0.1390380859375, 0.1640625, 0.1070556640625, 0.1978759765625, ...
embed
73527996_c1
73527996
fsharp
1
17.2.1+52cd2da31 for .NET Framework and runs visual studio professional. The devops logs contain this: (which looks a bit worrying) Unhandled Exception: System.Exception: tcrefOfAppTy 2022-08-29T10:32:08.1995442Z at FSharp.Compiler.TypedTreeOps.tcrefOfAppTy(TcGlobals g, TType ty) in D:\a\_work\1\s\src\Compiler\TypedTr...
17.2.1+52cd2da31 for .NET Framework and runs visual studio professional. The devops logs contain this: (which looks a bit worrying) Unhandled Exception: System.Exception: tcrefOfAppTy 2022-08-29T10:32:08.1995442Z at FSharp.Compiler.TypedTreeOps.tcrefOfAppTy(TcGlobals g, TType ty) in D:\a\_work\1\s\src\Compiler\TypedTr...
[ 0.00201416015625, 0.0169677734375, -0.01318359375, 0.000335693359375, 0.01275634765625, -0.0205078125, -0.01165771484375, -0.01348876953125, -0.01708984375, -0.01275634765625, -0.00592041015625, -0.0004711151123046875, 0.0179443359375, 0.0228271484375, 0.025390625, -0.00537109375, 0....
[ 7076, 68107, 1328, 12744, 71574, 304, 85, 5016, 100, 17777, 202220, 136, 127877, 21176, 12275, 23182, 30396, 6423, 12684, 7, 70541, 903, 33342, 4785, 90908, 214, 992, 79628, 71, 5443, 63928, 12353, 5, 19279, 808, 7612, 420, 132887, 39179, ...
[ 0.2027587890625, 0.196044921875, 0.1142578125, 0.1754150390625, 0.1005859375, 0.036102294921875, 0.04510498046875, 0.1968994140625, 0.00225830078125, 0.174560546875, 0.2071533203125, 0.029022216796875, 0.0882568359375, 0.1748046875, 0.173828125, 0.2186279296875, 0.22314453125, 0.15...
embed
16035713_c0
16035713
fsharp
0
Title: Make WebSharper generate simple field access Problem title: Make WebSharper generate simple field access Tags: websharper, f%23 Problem: Make WebSharper generate simple field access I need a type that will be translated into a plain JS object so that F# field access will be translated into simple JS field access...
Make WebSharper generate simple field access Make WebSharper generate simple field access websharper f%23 Make WebSharper a.b IntelliFactory.WebSharper JavaScript MyClass myClassObj.b MyClass.New Make WebSharper generate simple field access I need a type that will be translated into a plain JS object so that F# field a...
[ -0.0101318359375, 0.0147705078125, -0.023681640625, -0.01214599609375, 0.021484375, 0.0022430419921875, -0.0027313232421875, 0.00092315673828125, -0.00193023681640625, -0.0159912109375, 0.021484375, 0.0301513671875, -0.0107421875, -0.00012493133544921875, 0.00360107421875, -0.008483886...
[ 26176, 4002, 294, 3467, 1264, 139392, 8781, 44457, 17203, 1467, 89280, 1238, 3742, 275, 24018, 135518, 31667, 30474, 17925, 2646, 140803, 759, 46471, 170, 46568, 3871, 10644, 1221, 3900, 143, 3934, 111719, 64977, 36746, 563, 4904, 63559, 1305...
[ 0.095703125, 0.15234375, 0.05047607421875, 0.1871337890625, 0.2220458984375, 0.1768798828125, 0.1959228515625, 0.196533203125, 0.1671142578125, 0.095703125, 0.17529296875, 0.04449462890625, 0.07958984375, 0.05120849609375, 0.02911376953125, 0.1087646484375, 0.044342041015625, 0.090...
embed
39084797_c0
39084797
fsharp
0
Title: Why is RequireQualifiedAccess not working, leading to a compilation error, but not if I use open? Problem title: Why is RequireQualifiedAccess not working, leading to a compilation error, but not if I use open? Tags: f%23 Problem: Why is RequireQualifiedAccess not working, leading to a compilation error, but not...
Why is RequireQualifiedAccess not working, leading to a compilation error, but not if I use open? Why is RequireQualifiedAccess not working, leading to a compilation error, but not if I use open? f%23 Why RequireQualifiedAccess Module SomeCase SuperDu Du.SomeCase Valid Module.Du.SomeCase Not Wait SuperDu.Du Why is Requ...
[ -0.0218505859375, 0.00127410888671875, -0.0025634765625, 0.00101470947265625, 0.01202392578125, -0.01397705078125, 0.0026092529296875, -0.0130615234375, 0.011962890625, -0.00628662109375, 0.00518798828125, 0.033203125, 0.023681640625, 0.004180908203125, -0.0003261566162109375, -0.02526...
[ 44084, 853, 3181, 107, 178476, 47314, 39450, 26531, 959, 20697, 105207, 98352, 18499, 2174, 4527, 9803, 83, 1284, 1238, 3949, 3742, 63014, 31384, 441, 6991, 4265, 17726, 786, 8912, 282, 25447, 11205, 175254, 63134, 61518, 150380, 69941, 7225,...
[ 0.0924072265625, 0.060302734375, 0.1988525390625, 0.1121826171875, 0.158203125, 0.1673583984375, 0.12646484375, 0.204345703125, 0.07037353515625, 0.157470703125, 0.060516357421875, 0.1759033203125, 0.1827392578125, 0.0258026123046875, 0.094482421875, 0.2362060546875, 0.00387573242187...
embed
49641916_c0
49641916
fsharp
0
Title: WPF TextBox/RichTextBox started from F# Interactive not accepting input Problem title: WPF TextBox/RichTextBox started from F# Interactive not accepting input Tags: f%23, wpf Problem: WPF TextBox/RichTextBox started from F# Interactive not accepting input Getting this weird issue, not sure if it's just me, and I...
WPF TextBox/RichTextBox started from F# Interactive not accepting input WPF TextBox/RichTextBox started from F# Interactive not accepting input f%23 wpf F# WPF TextBox RichTextBox Interactive PresentationFramework PresentationCore WindowsBase System.Windows.Window Content System.Windows.Controls.TextBox Show ShowDialog...
[ -0.00421142578125, 0.007568359375, 0.01055908203125, 0.000385284423828125, -0.01495361328125, -0.01611328125, 0.030517578125, -0.0205078125, 0.000904083251953125, -0.029052734375, 0.00494384765625, 0.006622314453125, -0.000385284423828125, 0.014892578125, 0.00885009765625, -0.013305664...
[ 601, 41265, 24129, 72295, 23267, 206, 174379, 26859, 1295, 563, 4904, 5337, 71232, 959, 26946, 107730, 1238, 3742, 39557, 52774, 120772, 18244, 50886, 3773, 63473, 43342, 24293, 70870, 175904, 17367, 72838, 4867, 28398, 104921, 163321, 179459, ...
[ 0.0648193359375, 0.2047119140625, 0.17724609375, 0.2376708984375, 0.1109619140625, 0.05645751953125, 0.1571044921875, 0.0335693359375, 0.040618896484375, 0.0406494140625, 0.157958984375, 0.112548828125, 0.106689453125, 0.051177978515625, 0.160400390625, 0.21337890625, 0.0303192138671...
embed
70583638_c1
70583638
fsharp
1
(MethodDefinition methodDefinition) { return new GenericMethod(methodDefinition.Name, $"{methodDefinition.DeclaringType.FullName}.{methodDefinition.Name}", methodDefinition.DeclaringType.FullName, methodDefinition.CustomAttributes.Select(ToGenericAttribute)); } And here is an example of a F# method declaration I am try...
(MethodDefinition methodDefinition) { return new GenericMethod(methodDefinition.Name, $"{methodDefinition.DeclaringType.FullName}.{methodDefinition.Name}", methodDefinition.DeclaringType.FullName, methodDefinition.CustomAttributes.Select(ToGenericAttribute)); } And here is an example of a F# method declaration I am try...
[ -0.01226806640625, -0.007415771484375, 0.00970458984375, -0.000499725341796875, 0.01123046875, -0.00836181640625, 0.0113525390625, -0.034912109375, 0.0118408203125, -0.0018768310546875, -0.0157470703125, -0.029296875, -0.018798828125, 0.009765625, -0.01129150390625, 0.0234375, -0.007...
[ 78572, 7352, 187423, 943, 55300, 1363, 30646, 3525, 88342, 1771, 1928, 163612, 120152, 320, 196707, 121962, 223, 191145, 100184, 7763, 135932, 12259, 3688, 27781, 563, 4904, 21635, 4677, 2394, 6635, 88996, 759, 91616, 8782, 59636, 63805, 111337...
[ 0.1400146484375, 0.1539306640625, 0.2061767578125, 0.161865234375, 0.21435546875, 0.061676025390625, 0.06719970703125, 0.006378173828125, 0.13818359375, 0.005950927734375, 0.0181884765625, 0.1611328125, 0.0419921875, 0.08648681640625, 0.1656494140625, 0.04351806640625, 0.056579589843...
embed
2193461_c0
2193461
fsharp
0
Title: From the F# interactive, why would it not accept this? Problem title: From the F# interactive, why would it not accept this? Tags: functional-programming, f%23 Problem: From the F# interactive, why would it not accept this? I am using the F# CTP 1.9.7.8 and running the samples based on Tomas Petricek's article, ...
From the F# interactive, why would it not accept this? From the F# interactive, why would it not accept this? functional-programming f%23 MyCell n:int Creating x.Data x.Print Data x.ToString FromInt FS0547 From the F# interactive, why would it not accept this? I am using the F# CTP 1.9.7.8 and running the samples based...
[ -0.0042724609375, 0.01300048828125, 0.025390625, 0.0172119140625, 0.00750732421875, 0.00567626953125, 0.01373291015625, 0.00738525390625, -0.010498046875, -0.007598876953125, -0.0179443359375, -0.0048828125, 0.008544921875, 0.0076904296875, 0.01312255859375, -0.0027618408203125, 0.00...
[ 28090, 563, 4904, 212398, 15400, 2806, 442, 959, 26946, 903, 123309, 28966, 1238, 3742, 2646, 441, 6796, 653, 4288, 56781, 1022, 137989, 112079, 18, 11809, 7763, 71713, 214, 4153, 93774, 8194, 13330, 23658, 99420, 176391, 121413, 92858, 41524...
[ 0.1422119140625, 0.138916015625, 0.2191162109375, 0.2308349609375, 0.1419677734375, 0.03497314453125, 0.0306396484375, 0.1473388671875, 0.1986083984375, 0.162109375, 0.1678466796875, 0.0916748046875, 0.06591796875, 0.0838623046875, 0.1551513671875, 0.1448974609375, 0.2098388671875, ...
embed
29806745_c0
29806745
fsharp
0
Title: F# concatenate int array option to string Problem title: F# concatenate int array option to string Tags: arrays, f%23 Problem: F# concatenate int array option to string I have a data contract (WCF) with a field defined as: [<DataContract(Namespace = _Namespace.ws)>] type CommitRequest = { // Excluded for brevity...
F# concatenate int array option to string F# concatenate int array option to string arrays f%23 NET DataContract Namespace _Namespace.ws CommitRequest Excluded DataMember Name ExcludeList IsRequired Logic Use request.ExcludeList.Value Array.map String.concat Next Join String.Join request.ExcludeList.Value.Select Distin...
[ 0.01165771484375, -0.0181884765625, 0.00072479248046875, 0.010009765625, -0.035400390625, 0.00921630859375, 0.01116943359375, -0.006927490234375, -0.012939453125, 0.035400390625, -0.0186767578125, 0.001708984375, 0.0260009765625, 0.006622314453125, 0.004608154296875, -0.0123291015625, ...
[ 563, 4904, 158, 33478, 76, 23, 18, 10298, 53, 35829, 47, 79315, 4778, 1238, 3742, 17777, 11809, 11935, 39989, 2096, 109164, 65421, 19725, 4007, 75616, 110823, 31353, 594, 27417, 15757, 822, 112, 154663, 3181, 2822, 50592, 50336, 19279, 2978...
[ 0.125732421875, 0.1925048828125, 0.08453369140625, 0.171142578125, 0.0966796875, 0.093505859375, 0.1217041015625, 0.1689453125, 0.05621337890625, 0.2315673828125, 0.1163330078125, 0.268798828125, 0.05999755859375, 0.05462646484375, 0.107666015625, 0.07861328125, 0.0272979736328125, ...
embed
50204477_c1
50204477
fsharp
1
individually, then the endian attribute is respected and I get the right data. What I have tried so far is: [<Struct>] type file_header = | Header of Header: generic_header | Extension of Extension: header_extension or: [<Struct>] type file_header = | Header of generic_header * header_extension or some case logic to d...
individually, then the endian attribute is respected and I get the right data. What I have tried so far is: [<Struct>] type file_header = | Header of Header: generic_header | Extension of Extension: header_extension or: [<Struct>] type file_header = | Header of generic_header * header_extension or some case logic to d...
[ 0.0107421875, 0.012939453125, -0.007354736328125, 0.012939453125, -0.0101318359375, 0.009033203125, -0.01361083984375, 0.01416015625, 0.0179443359375, 0.01361083984375, 0.01080322265625, -0.0103759765625, -0.00201416015625, 0.000736236572265625, -0.00897216796875, -0.0047607421875, -...
[ 11651, 22, 27201, 150380, 13, 15072, 297, 87, 2046, 7108, 2053, 37842, 2060, 71713, 18190, 10644, 11435, 31251, 56, 2203, 44816, 111, 189534, 224545, 10336, 3355, 128872, 7225, 62775, 35509, 34292, 5117, 44457, 161063, 75620, 115187, 67973, 3...
[ 0.167724609375, 0.1397705078125, 0.2255859375, 0.1971435546875, 0.039215087890625, 0.1376953125, 0.033966064453125, 0.01318359375, 0.0574951171875, 0.09930419921875, 0.1407470703125, 0.11767578125, 0.05859375, 0.055419921875, 0.078369140625, 0.206787109375, 0.222412109375, 0.204833...
embed
36614012_c0
36614012
fsharp
0
Title: Cannot convert SqlGeography to SqlGeography Problem title: Cannot convert SqlGeography to SqlGeography Tags: sqlgeography, sql, sql-server, linq-to-sql, f%23 Problem: Cannot convert SqlGeography to SqlGeography In f# I'm attempting create a SqlGeography type and save it to a record. When SubmitChanges is called ...
Cannot convert SqlGeography to SqlGeography Cannot convert SqlGeography to SqlGeography sqlgeography sql sql-server linq-to-sql f%23 Cannot SqlGeography TypedDataContext dc.Property prop.PropertyID SqlGeographyBuilder sqlGeogBuild.SetSrid sqlGeogBuild.BeginGeography OpenGisGeographyType.Point sqlGeogBuild.BeginFigure s...
[ 0.000400543212890625, 0.0179443359375, 0.027099609375, -0.012939453125, -0.026123046875, 0.00004100799560546875, -0.0301513671875, -0.015869140625, -0.00836181640625, -0.02099609375, 0.01165771484375, 0.01214599609375, 0.009521484375, -0.0087890625, -0.0146484375, 0.01611328125, -0.0...
[ 4171, 10869, 96760, 159, 99247, 10429, 87168, 47, 91, 429, 39642, 96, 44982, 188, 1238, 3949, 3742, 60457, 71, 137989, 22829, 1264, 25793, 7146, 121137, 1663, 19040, 6820, 13527, 724, 164, 196707, 147534, 6795, 152378, 57266, 36716, 42272, ...
[ 0.07489013671875, 0.1524658203125, 0.197998046875, 0.061553955078125, 0.2147216796875, 0.19873046875, 0.2021484375, 0.1055908203125, 0.036468505859375, 0.159912109375, 0.1019287109375, 0.0212554931640625, 0.122314453125, 0.10498046875, 0.0740966796875, 0.01385498046875, 0.08294677734...
embed
69313609_c1
69313609
fsharp
1
count,(nums : int seq)) -> if Seq.isEmpty nums then None else let result = ((Seq.head nums),count) let remaining = Seq.tail nums Some( result, (count+1,remaining))) This meets all requirements, and is the best I've come up with. Here's the whole solution, with diagnostics to show lazy evaluation: let nums = seq { // Wi...
count,(nums : int seq)) -> if Seq.isEmpty nums then None else let result = ((Seq.head nums),count) let remaining = Seq.tail nums Some( result, (count+1,remaining))) This meets all requirements, and is the best I've come up with. Here's the whole solution, with diagnostics to show lazy evaluation: let nums = seq { // Wi...
[ -0.006500244140625, 0.0177001953125, 0.009765625, 0.0147705078125, -0.00225830078125, 0.00069427490234375, -0.008056640625, -0.0029296875, 0.015869140625, -0.0113525390625, -0.01190185546875, 0.009033203125, 0.015869140625, 0.032470703125, 0.01324462890625, 0.0037384033203125, -0.020...
[ 54529, 2606, 152, 23, 18, 40, 864, 33079, 2174, 503, 164, 134332, 939, 13269, 438, 86, 37076, 2633, 16750, 4233, 31251, 71013, 47143, 214, 46741, 31384, 21748, 107, 192, 14653, 23356, 756, 96679, 2965, 1257, 28271, 29806, 52070, 7639, 21,...
[ 0.234619140625, 0.2210693359375, 0.0193023681640625, 0.0618896484375, 0.07867431640625, 0.10186767578125, 0.198974609375, 0.0161590576171875, 0.06488037109375, 0.10107421875, 0.073974609375, 0.1890869140625, 0.1300048828125, 0.224365234375, 0.06243896484375, 0.03326416015625, 0.08691...
embed
40750777_c0
40750777
fsharp
0
Title: How to use FsXaml&#x27;s CommandDependecy/(ies) Problem title: How to use FsXaml&#x27;s CommandDependecy/(ies) Tags: fsxaml, f%23, wpf, fsharp.viewmodule Problem: How to use FsXaml's CommandDependecy/(ies) Here is what I have done using FsXaml type MainViewModel() as self = inherit ViewModelBase() let listOfData...
How to use FsXaml&#x27;s CommandDependecy/(ies) How to use FsXaml&#x27;s CommandDependecy/(ies) fsxaml f%23 wpf fsharp.viewmodule How FsXaml CommandDependecy MainViewModel ViewModelBase self.Factory.Backing self.ListOfData self.SelectedId x.SelectedId selectedId.Value x.ListOfData x.StockList listOfData.Value ComboBox ...
[ 0.0030975341796875, 0.033203125, -0.00457763671875, 0.0145263671875, 0.0247802734375, 0.019775390625, 0.0184326171875, -0.0035552978515625, 0.024658203125, -0.0181884765625, -0.00140380859375, -0.0169677734375, 0.025390625, 0.0166015625, -0.007476806640625, -0.00135040283203125, 0.00...
[ 11249, 4527, 563, 7, 1542, 302, 141, 3768, 123573, 4657, 26885, 2408, 3387, 64, 1238, 3798, 7237, 3742, 39557, 89280, 254, 22751, 83279, 12321, 100474, 140290, 29805, 63473, 15970, 135518, 152470, 154663, 137989, 100184, 1022, 133291, 184425, ...
[ 0.04608154296875, 0.134033203125, 0.1199951171875, 0.0750732421875, 0.0762939453125, 0.1400146484375, 0.1461181640625, 0.0528564453125, 0.168212890625, 0.0860595703125, 0.162109375, 0.0904541015625, 0.1881103515625, 0.029754638671875, 0.08001708984375, 0.0711669921875, 0.1943359375, ...
embed
16408786_c0
16408786
fsharp
0
Title: Decompile a simple recursive function and get a loop with unnecessary code Problem title: Decompile a simple recursive function and get a loop with unnecessary code Tags: f%23 Problem: Decompile a simple recursive function and get a loop with unnecessary code I would like to see if the following 2 simple recursi...
Decompile a simple recursive function and get a loop with unnecessary code Decompile a simple recursive function and get a loop with unnecessary code f%23 Decompile i-1 arg_22_0 arg_16_0 arg_14_0 Decompile a simple recursive function and get a loop with unnecessary code I would like to see if the following 2 simple rec...
[ -0.0004215240478515625, 0.01300048828125, -0.00072479248046875, 0.007293701171875, -0.00634765625, 0.005157470703125, -0.01220703125, -0.004974365234375, 0.0048828125, -0.0069580078125, 0.0115966796875, 0.00677490234375, 0.0034027099609375, 0.0238037109375, 0.031005859375, -0.0234375, ...
[ 262, 58875, 1340, 8781, 195625, 5844, 32354, 136, 2046, 40956, 678, 51, 86, 26531, 6635, 18151, 1238, 3949, 3742, 17, 5759, 79459, 4015, 2389, 2485, 2592, 1884, 1957, 25632, 116, 2806, 51339, 5299, 313, 4904, 11389, 8, 277, 5974, 3934, ...
[ 0.1824951171875, 0.1771240234375, 0.121337890625, 0.176513671875, 0.2030029296875, 0.09503173828125, 0.1527099609375, 0.0185699462890625, 0.0816650390625, 0.1981201171875, 0.10260009765625, 0.07135009765625, 0.05389404296875, 0.1075439453125, 0.007049560546875, 0.173095703125, 0.1428...
embed
21389733_c0
21389733
fsharp
0
Title: Comparing two lists for unique items in each Problem title: Comparing two lists for unique items in each Tags: list-comparison, f%23 Problem: Comparing two lists for unique items in each I have two collections (they happen to be arrays, but it doesn't really matter, I think): L and R . They are both sorted and n...
Comparing two lists for unique items in each Comparing two lists for unique items in each list-comparison f%23 Comparing Comparing two lists for unique items in each I have two collections (they happen to be arrays, but it doesn't really matter, I think): L and R . They are both sorted and now I want to compare them. I...
[ -0.0242919921875, 0.021484375, 0.00189971923828125, -0.0220947265625, 0.003204345703125, 0.0216064453125, -0.000152587890625, -0.016357421875, 0.0279541015625, 0.01397705078125, 0.0081787109375, 0.0169677734375, 0.0263671875, 0.031494140625, 0.00176239013671875, -0.015869140625, -0.0...
[ 113307, 214, 6626, 5303, 7, 100, 36998, 55769, 23, 12638, 277, 24980, 1681, 1238, 3949, 3742, 42486, 53383, 10298, 4778, 26866, 339, 136, 627, 15044, 17497, 3444, 47, 69101, 3564, 1632, 107730, 70541, 959, 3789, 5809, 5646, 5117, 35735, 1...
[ 0.222900390625, 0.036041259765625, 0.169677734375, 0.2152099609375, 0.055389404296875, 0.08612060546875, 0.26123046875, 0.19775390625, 0.0618896484375, 0.162353515625, 0.083740234375, 0.1790771484375, 0.0648193359375, 0.016937255859375, 0.0218963623046875, 0.1080322265625, 0.19030761...
embed
32521121_c0
32521121
fsharp
0
Title: What architectural model is commonly used in large, enterprise, functional F# development? Problem title: What architectural model is commonly used in large, enterprise, functional F# development? Tags: functional-programming, architecture, f%23 Problem: What architectural model is commonly used in large, enterp...
What architectural model is commonly used in large, enterprise, functional F# development? What architectural model is commonly used in large, enterprise, functional F# development? functional-programming architecture f%23 What What architectural model is commonly used in large, enterprise, functional F# development? I...
[ 0.00145721435546875, -0.00970458984375, 0.0057373046875, -0.00372314453125, -0.007110595703125, 0.00090789794921875, -0.0203857421875, 0.0045166015625, 0.009033203125, -0.01336669921875, 0.000659942626953125, -0.0025482177734375, 0.00469970703125, 0.01129150390625, -0.003326416015625, ...
[ 4865, 107653, 82451, 3299, 83, 39210, 11814, 21334, 202681, 123309, 563, 4904, 34754, 32, 23, 9, 28966, 159958, 1238, 3949, 3742, 2809, 17368, 26499, 10135, 41664, 4488, 168698, 18507, 35773, 4527, 678, 313, 105233, 88996, 34166, 18151, 36663...
[ 0.06414794921875, 0.187744140625, 0.13623046875, 0.2275390625, 0.0221710205078125, 0.1842041015625, 0.148193359375, 0.134521484375, 0.1650390625, 0.22216796875, 0.140625, 0.224853515625, 0.146728515625, 0.009918212890625, 0.0263519287109375, 0.0025634765625, 0.1068115234375, 0.1939...
embed
72028786_c0
72028786
fsharp
0
Title: Why does a space make a difference in this code, in F# Problem title: Why does a space make a difference in this code, in F# Tags: f%23 Problem: Why does a space make a difference in this code, in F# I have this type: type ClockEvent (name: string, interval: TimeSpan, callback: unit -> unit) = ... member this.St...
Why does a space make a difference in this code, in F# Why does a space make a difference in this code, in F# f%23 Why ClockEvent TimeSpan this.Start TimeSpan.FromSeconds Async.RunSynchronously Error e.Describe Start Writer.fs FS0597 Successive Why does a space make a difference in this code, in F# I have this type: an...
[ 0.00026702880859375, -0.01806640625, -0.0068359375, 0.00360107421875, -0.00848388671875, -0.019775390625, -0.0078125, 0.00087738037109375, 0.005615234375, -0.007476806640625, -0.002044677734375, 0.0147705078125, -0.0146484375, 0.00946044921875, -0.005523681640625, -0.008056640625, 0....
[ 44084, 10, 32628, 3249, 60212, 903, 18151, 563, 4904, 14602, 23, 1238, 3949, 3742, 21135, 192134, 19055, 3180, 126597, 168407, 2271, 12654, 163321, 217835, 127, 1900, 212059, 34601, 13794, 2783, 56, 17447, 93774, 8194, 14773, 144053, 10644, 4...
[ 0.133056640625, 0.09259033203125, 0.287109375, 0.1248779296875, 0.2183837890625, 0.088623046875, 0.1824951171875, 0.1038818359375, 0.1912841796875, 0.02337646484375, 0.0139923095703125, 0.06036376953125, 0.0008544921875, 0.1373291015625, 0.150634765625, 0.251220703125, 0.082885742187...
embed
56213137_c0
56213137
fsharp
0
Title: F# won&#x27;t pattern match all elements of a list Problem title: F# won&#x27;t pattern match all elements of a list Tags: pattern-matching, f%23 Problem: F# won't pattern match all elements of a list I wrote a recursive function, doMoves, that should match each element of a list and call the designated function...
F# won&#x27;t pattern match all elements of a list F# won&#x27;t pattern match all elements of a list pattern-matching f%23 cards:Card moves:Move goal:int DrawCard List.append deck.Head List.length Length Drawn deck.Tail x::xs Draw DrawCard.Force Jack Clubs Num Diamonds Spades F# won't pattern match all elements of a l...
[ -0.01519775390625, 0.00531005859375, 0.01019287109375, -0.0020751953125, 0.0025482177734375, 0.01513671875, -0.0166015625, 0.01171875, 0.02880859375, 0.017333984375, 0.0111083984375, 0.010986328125, 0.00531005859375, 0.00830078125, -0.006683349609375, -0.0198974609375, 0.017578125, ...
[ 563, 4904, 23742, 3768, 18, 103510, 14858, 756, 80854, 111, 5303, 98753, 1238, 3742, 126381, 156119, 25813, 9083, 272, 69236, 4288, 18186, 32036, 8, 2594, 13025, 712, 1022, 425, 18537, 21763, 7687, 52782, 69124, 10959, 988, 54397, 195625, 5...
[ 0.1195068359375, 0.2080078125, 0.09814453125, 0.041778564453125, 0.078857421875, 0.2291259765625, 0.2161865234375, 0.0958251953125, 0.14794921875, 0.038848876953125, 0.1876220703125, 0.1678466796875, 0.047882080078125, 0.0123291015625, 0.170166015625, 0.1297607421875, 0.12548828125, ...
embed
30655252_c0
30655252
fsharp
0
Title: Releasing SQLite resources in F# Problem title: Releasing SQLite resources in F# Tags: system.data.sqlite, sqlite, fsi, f%23 Problem: Releasing SQLite resources in F# Consider the following F# script, which creates a simple SQLite database and table, and then should delete it. However, the SQLite obejct doesn't ...
Releasing SQLite resources in F# Releasing SQLite resources in F# system.data.sqlite sqlite fsi f%23 System.IO.IOException Releasing SQLite Path System.Data.SQLite.dll System.Data.SQLite SQLiteConnection Data Source test.sqlite db.Open SQLiteCommand CREATE TABLE TestItems ColA ColB command.ExecuteNonQuery db.Close Syst...
[ 0.01470947265625, 0.0277099609375, 0.0057373046875, -0.004608154296875, -0.00970458984375, -0.0205078125, -0.00177001953125, -0.0186767578125, 0.0064697265625, -0.01806640625, 0.025146484375, -0.02197265625, 0.00103759765625, 0.0011749267578125, -0.0031585693359375, 0.00775146484375, ...
[ 853, 14507, 80866, 1486, 65514, 23, 563, 4904, 5426, 10135, 95255, 67, 1238, 172, 3742, 12353, 17780, 63928, 108421, 158897, 1181, 235603, 77641, 3034, 12018, 175151, 384, 183057, 8647, 2982, 11554, 284, 571, 75101, 211603, 59881, 41732, 4004...
[ 0.037200927734375, 0.1658935546875, 0.20849609375, 0.258056640625, 0.219482421875, 0.02734375, 0.1531982421875, 0.22705078125, 0.060211181640625, 0.00067138671875, 0.183349609375, 0.1416015625, 0.06793212890625, 0.0665283203125, 0.1025390625, 0.0653076171875, 0.1134033203125, 0.060...
embed
36661483_c0
36661483
fsharp
0
Title: F# pattern match variable length separated words with first word a command Problem title: F# pattern match variable length separated words with first word a command Tags: f%23, pattern-matching Problem: F# pattern match variable length separated words with first word a command I'm just wondering if there is a be...
F# pattern match variable length separated words with first word a command F# pattern match variable length separated words with first word a command f%23 pattern-matching command.Split Test F# pattern match variable length separated words with first word a command I'm just wondering if there is a better way to write t...
[ -0.014892578125, -0.00823974609375, -0.008544921875, 0.01275634765625, 0.000827789306640625, 0.005523681640625, -0.018310546875, 0.001678466796875, -0.00665283203125, -0.0167236328125, -0.00127410888671875, 0.0064697265625, 0.0096435546875, -0.007080078125, 0.0024566650390625, 0.011230...
[ 563, 4904, 103510, 14858, 77336, 140909, 84797, 34153, 678, 5117, 2565, 10, 75101, 1238, 3949, 3742, 98753, 214, 31923, 4353, 8647, 149016, 11522, 3917, 33022, 903, 18151, 23, 63805, 57346, 14602, 127877, 2831, 96117, 71, 79315, 47143, 107730...
[ 0.1190185546875, 0.18603515625, 0.2069091796875, 0.1861572265625, 0.1729736328125, 0.105712890625, 0.1478271484375, 0.148681640625, 0.054931640625, 0.098388671875, 0.1337890625, 0.0867919921875, 0.2193603515625, 0.0938720703125, 0.0267791748046875, 0.1446533203125, 0.187744140625, ...
embed
37303265_c0
37303265
fsharp
0
Title: Unable to serialize Discriminated Union in F# Chiron Problem title: Unable to serialize Discriminated Union in F# Chiron Tags: f%23, discriminated-union, serialization Problem: Unable to serialize Discriminated Union in F# Chiron If I have: type a = B | C How do I write the static members ToJson and FromJson? I ...
Unable to serialize Discriminated Union in F# Chiron Unable to serialize Discriminated Union in F# Chiron f%23 discriminated-union serialization Unable Discriminated Union Chiron SimpleDU ToJson Json.writeNone FromJson Json.tryRead Some None SimpleDU.B a2json Json.serialize json2a:SimpleDU Json.deserialize b2json json2...
[ -0.022216796875, 0.0120849609375, 0.00433349609375, 0.0023651123046875, -0.031982421875, -0.0115966796875, -0.006500244140625, 0.00445556640625, 0.005859375, -0.002777099609375, 0.006805419921875, 0.0172119140625, 0.0096435546875, 0.0245361328125, 0.018310546875, -0.00836181640625, 0...
[ 992, 2886, 35686, 20650, 6206, 135421, 3674, 32528, 563, 4904, 5585, 1900, 1238, 3742, 55970, 87046, 60552, 18431, 717, 1375, 1681, 821, 5021, 28090, 15123, 31345, 571, 25435, 119066, 1647, 304, 11, 8859, 33209, 988, 275, 33022, 201939, 430...
[ 0.032470703125, 0.132568359375, 0.2197265625, 0.1123046875, 0.0364990234375, 0.1903076171875, 0.00494384765625, 0.2073974609375, 0.08203125, 0.156494140625, 0.135498046875, 0.1983642578125, 0.045379638671875, 0.100830078125, 0.1888427734375, 0.1524658203125, 0.1591796875, 0.1669921...
embed
47656556_c0
47656556
fsharp
0
Title: Can type constructors be aliased in the same way as types? Problem title: Can type constructors be aliased in the same way as types? Tags: f%23 Problem: Can type constructors be aliased in the same way as types? Consider the following: module Module1 = type Foo = Bar | Baz type Lorem = {Ipsum: int} module Module...
Can type constructors be aliased in the same way as types? Can type constructors be aliased in the same way as types? f%23 Can Module1 Foo Bar Baz Lorem Ipsum Module2 Module1.Foo Module1.Lorem Error Types Shared.V2.Foo Can type constructors be aliased in the same way as types? Consider the following: Is it possible to ...
[ -0.001983642578125, 0.01043701171875, -0.01263427734375, 0.00970458984375, 0.0162353515625, -0.0019683837890625, -0.009521484375, 0.0216064453125, -0.0101318359375, -0.0111083984375, 0.007781982421875, 0.01165771484375, 0.0179443359375, 0.005126953125, 0.012939453125, 0.000900268554687...
[ 4171, 10644, 64549, 25251, 186, 55109, 297, 5701, 3917, 237, 52895, 63014, 13, 418, 9572, 31, 3253, 36490, 7069, 6423, 316, 304, 27591, 192022, 212059, 60457, 29790, 856, 5442, 7722, 8781, 7464, 19048, 20653, 15490, 73432, 105233, 4027, 146...
[ 0.0703125, 0.253662109375, 0.2100830078125, 0.1663818359375, 0.04766845703125, 0.243896484375, 0.12451171875, 0.09991455078125, 0.045196533203125, 0.07342529296875, 0.2392578125, 0.1407470703125, 0.0225067138671875, 0.048736572265625, 0.1392822265625, 0.0772705078125, 0.140869140625,...
embed
19406264_c0
19406264
fsharp
0
Title: Async code + Async.RunSynchronously vs. plain synchronous code Problem title: Async code + Async.RunSynchronously vs. plain synchronous code Tags: f%23, asynchronous, multithreading Problem: Async code + Async.RunSynchronously vs. plain synchronous code If I have code like this: let asyncReadToEnd (stream:Stream...
Async code + Async.RunSynchronously vs. plain synchronous code Async code + Async.RunSynchronously vs. plain synchronous code f%23 asynchronous multithreading Async Async.RunSynchronously stream:Stream Allocate Array.zeroCreate MemoryStream reading.Value Download stream.AsyncRead buffer.Length output.Write Read output....
[ -0.0218505859375, 0.024658203125, 0.0169677734375, -0.0137939453125, -0.0016021728515625, -0.00836181640625, -0.00055694580078125, -0.005523681640625, -0.000885009765625, -0.02587890625, 0.00738525390625, 0.0216064453125, 0.0035858154296875, 0.0037994384765625, 0.0181884765625, -0.0112...
[ 62, 12654, 238, 18151, 997, 5, 163321, 217835, 127, 1900, 79850, 20209, 111719, 200470, 10821, 1238, 3742, 101966, 3869, 65847, 75973, 115061, 116292, 69253, 80510, 63784, 172681, 16454, 50770, 4857, 31345, 18234, 140992, 18781, 4764, 10384, 77...
[ 0.04791259765625, 0.2286376953125, 0.1181640625, 0.23583984375, 0.15478515625, 0.009429931640625, 0.112548828125, 0.0970458984375, 0.05010986328125, 0.140380859375, 0.1033935546875, 0.1221923828125, 0.1717529296875, 0.2318115234375, 0.040802001953125, 0.0220794677734375, 0.1278076171...
embed
1134647_c0
1134647
fsharp
0
Title: Why does F# infer this type? Problem title: Why does F# infer this type? Tags: f%23, types, type-inference, .net Problem: Why does F# infer this type? This is my code: type Cell<'t>(initial : 't) = let mutable v = initial let callbacks = new List<'t -> unit>() member x.register c = callbacks.Add(c) member x.get ...
Why does F# infer this type? Why does F# infer this type? f%23 types type-inference .net Why Cell List x.register callbacks.Add x.get x.set x.map c.set c.get c.register Why does F# infer this type? This is my code: My problem is with the map member. F# infers the type I think it should infer this more general type (jus...
[ -0.00179290771484375, 0.0107421875, 0.02783203125, 0.00543212890625, 0.00689697265625, -0.0224609375, -0.0118408203125, 0.006072998046875, -0.002471923828125, -0.0228271484375, -0.01141357421875, 0.0166015625, -0.0072021484375, 0.0130615234375, 0.0057373046875, -0.003662109375, -0.01...
[ 44084, 563, 4904, 53498, 903, 10644, 1238, 3742, 52895, 73, 69988, 1179, 80743, 32036, 1022, 105199, 11782, 12620, 4028, 3794, 3509, 62346, 501, 14602, 18151, 2967, 22288, 32786, 5351, 1286, 4537, 503, 864, 159978, 73372, 22968, 11, 158, 92...
[ 0.1077880859375, 0.1558837890625, 0.236083984375, 0.2425537109375, 0.076904296875, 0.19384765625, 0.116455078125, 0.096923828125, 0.1650390625, 0.048980712890625, 0.1658935546875, 0.130615234375, 0.196044921875, 0.1690673828125, 0.048614501953125, 0.168701171875, 0.103515625, 0.172...
embed
26706149_c0
26706149
fsharp
0
Title: F# Continuous loop in F# Problem title: F# Continuous loop in F# Tags: task-parallel-library, f%23, f%23-3.0, asynchronous Problem: F# Continuous loop in F# I have a socket server that needs to run on a loop accepting clients, so I found out that in funcional programming, a recursive loop is used: let awaitConne...
F# Continuous loop in F# F# Continuous loop in F# task-parallel-library f%23 f%23-3.0 asynchronous Continuous wsl:WebSocketListener Async.AwaitTask wsl.AcceptWebSocketAsync cancellation.Token Connection ws.RemoteEndpoint.Address.ToString Async.Start F# Continuous loop in F# I have a socket server that needs to run on a...
[ 0, 0.00142669677734375, 0.00762939453125, 0.0035400390625, 0.007415771484375, 0.00604248046875, 0.019775390625, 0.00982666015625, -0.006561279296875, -0.05126953125, 0.0162353515625, 0.0155029296875, 0, 0.0194091796875, 0.0322265625, 0.0012054443359375, 0.019775390625, -0.002151489...
[ 563, 4904, 100761, 10821, 40956, 23, 66211, 6276, 1229, 150, 2844, 1238, 3742, 27495, 132265, 12654, 101966, 148, 24861, 30474, 8912, 27853, 154663, 39060, 634, 217, 9874, 1042, 232587, 126136, 7763, 1098, 62448, 432, 38496, 71713, 126597, 22...
[ 0.135498046875, 0.222412109375, 0.21484375, 0.08380126953125, 0.232177734375, 0.000335693359375, 0.154541015625, 0.0233917236328125, 0.0816650390625, 0.0193023681640625, 0.08203125, 0.07452392578125, 0.0048828125, 0.024749755859375, 0.0888671875, 0.1328125, 0.09521484375, 0.0450744...
embed
48345386_c0
48345386
fsharp
0
Title: Parsing Firebase JSON in F# Without SerializeObject Problem title: Parsing Firebase JSON in F# Without SerializeObject Tags: json, swift, f%23, firebase-realtime-database, ios Problem: Parsing Firebase JSON in F# Without SerializeObject I am getting the following JSON from firebase: {"listings":{"-cecececee-oha-...
Parsing Firebase JSON in F# Without SerializeObject Parsing Firebase JSON in F# Without SerializeObject json swift f%23 firebase-realtime-database ios Parsing Firebase JSON Without SerializeObject listing_id Edinburgh Hey L19r0osoet4f9SjBGE7 L1i6c7sGf3BcF2cCSCu L19FGCMuQACjYKCFEwV Rp7ytJdEvZeMFgpLqeCSzkSeTyf1 How dccdc...
[ 0.00732421875, 0.03466796875, -0.013916015625, -0.026123046875, 0.005462646484375, -0.00445556640625, -0.016357421875, -0.000946044921875, 0.0048828125, -0.016357421875, -0.0040283203125, -0.013671875, 0.0005035400390625, -0.0225830078125, 0.038818359375, -0.00018405914306640625, 0.0...
[ 2392, 6953, 31143, 37382, 821, 58627, 23, 563, 4904, 177417, 135188, 20650, 46471, 75161, 1647, 1681, 2452, 2480, 1238, 3949, 3742, 11476, 30544, 6032, 232, 5303, 532, 210479, 28240, 339, 2947, 6781, 11249, 71574, 56329, 15567, 864, 304, 18...
[ 0.1796875, 0.05511474609375, 0.160888671875, 0.244384765625, 0.1534423828125, 0.234375, 0.0496826171875, 0.1180419921875, 0.2294921875, 0.1552734375, 0.1422119140625, 0.0780029296875, 0.030181884765625, 0.100830078125, 0.10528564453125, 0.18505859375, 0.1156005859375, 0.12963867187...
embed
35471757_c1
35471757
fsharp
1
scary! using Microsoft.FSharp.Core; using System; using System.Diagnostics; using System.IO; [CompilationMapping(SourceConstructFlags.Module)] public static class File1 { public unsafe static void test() { Stopwatch clock = new Stopwatch(); clock.Start(); for (int i = 1; i < 10001; i++) { IntPtr intPtr = stackalloc by...
scary! using Microsoft.FSharp.Core; using System; using System.Diagnostics; using System.IO; [CompilationMapping(SourceConstructFlags.Module)] public static class File1 { public unsafe static void test() { Stopwatch clock = new Stopwatch(); clock.Start(); for (int i = 1; i < 10001; i++) { IntPtr intPtr = stackalloc by...
[ 0.004241943359375, -0.0017242431640625, 0.01513671875, 0.0174560546875, -0.015625, -0.004608154296875, -0.00179290771484375, -0.0023040771484375, -0.0059814453125, -0.004364013671875, 0.020751953125, -0.00579833984375, -0.005157470703125, 0.00372314453125, 0.01708984375, 0.004943847656...
[ 35006, 53, 38, 17368, 7244, 5, 36381, 3467, 254, 50886, 13, 74, 12353, 128198, 41637, 17780, 108161, 14, 57860, 4613, 26783, 211235, 36716, 3668, 7, 91616, 8782, 16, 268, 3835, 6, 201939, 18507, 42724, 418, 51, 115840, 2292, 71, 3034, 4...
[ 0.26220703125, 0.280029296875, 0.2249755859375, 0.1561279296875, 0.1572265625, 0.0537109375, 0.1033935546875, 0.2227783203125, 0.21728515625, 0.1456298828125, 0.07696533203125, 0.0814208984375, 0.15625, 0.169189453125, 0.1138916015625, 0.18115234375, 0.07794189453125, 0.09216308593...
embed