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
20153404_c1
20153404
fsharp
1
m (ListMethodsInAssembly a) | None -> accm ) Seq.empty |> Seq.iter (fun x -> printfn "%s" x.Name) 0 My hope was that since I am using Sequences and Tail Recursion.... I should not be consuming much memory and if I could leave my code running long enough, I could get a list of methods in all the assemblies. My code is p...
m (ListMethodsInAssembly a) | None -> accm ) Seq.empty |> Seq.iter (fun x -> printfn "%s" x.Name) 0 My hope was that since I am using Sequences and Tail Recursion.... I should not be consuming much memory and if I could leave my code running long enough, I could get a list of methods in all the assemblies. My code is p...
[ -0.00372314453125, 0.02685546875, 0.01116943359375, 0.0380859375, -0.00165557861328125, -0.00848388671875, -0.006256103515625, -0.00970458984375, -0.0025634765625, -0.036376953125, -0.0224609375, 0.00101470947265625, 0.0038604736328125, 0.00994873046875, 0.01043701171875, 0.00177764892...
[ 347, 154663, 78572, 7352, 4153, 89845, 38526, 10, 39, 503, 864, 33548, 939, 16840, 16498, 1022, 28412, 14783, 3949, 163612, 15673, 17368, 26513, 5170, 136, 1218, 379, 165428, 42, 6889, 18588, 98323, 31358, 18151, 51042, 4989, 2046, 5303, 15...
[ 0.083740234375, 0.1658935546875, 0.15234375, 0.179931640625, 0.124755859375, 0.1729736328125, 0.1322021484375, 0.000579833984375, 0.0406494140625, 0.07421875, 0.136474609375, 0.0919189453125, 0.02044677734375, 0.1751708984375, 0.0960693359375, 0.04974365234375, 0.132568359375, 0.14...
embed
21312019_c1
21312019
fsharp
1
y ; z ; b ; a ; _|] when x = "Square" -> Some (y, z, b, a) | _ -> None ) These functions gives me val readCircle : (string * string * string) [] = [|("200", "200", "50")|] val readSquare : (string * string * string * string) [] = [|("50", "55", "45", "55")|] The problem i have now is im not sure how to obtain the valu...
y ; z ; b ; a ; _|] when x = "Square" -> Some (y, z, b, a) | _ -> None ) These functions gives me val readCircle : (string * string * string) [] = [|("200", "200", "50")|] val readSquare : (string * string * string * string) [] = [|("50", "55", "45", "55")|] The problem i have now is im not sure how to obtain the valu...
[ -0.0052490234375, -0.01214599609375, -0.009521484375, 0.00982666015625, -0.0218505859375, 0.01177978515625, 0.0216064453125, -0.006072998046875, 0.0034332275390625, 0.028564453125, 0.0111083984375, 0.01446533203125, -0.0059814453125, -0.023681640625, 0.015380859375, -0.01470947265625, ...
[ 113, 2819, 97, 876, 10, 101, 3229, 1022, 2203, 94727, 13, 33079, 31384, 53, 438, 86, 32354, 76199, 163, 3502, 12301, 441, 481, 11030, 91693, 79315, 5955, 2525, 11663, 4633, 2967, 9077, 3642, 113054, 142424, 1295, 10298, 10519, 27781, 4871...
[ 0.094970703125, 0.022308349609375, 0.1346435546875, 0.09765625, 0.087890625, 0.0204010009765625, 0.019989013671875, 0.1151123046875, 0.031768798828125, 0.1676025390625, 0.1116943359375, 0.0147857666015625, 0.171875, 0.1494140625, 0.03765869140625, 0.0295562744140625, 0.16943359375, ...
embed
29528724_c0
29528724
fsharp
0
Title: FSharp compiler not including appSettings section in the app.config (FSharp.Configuration) Problem title: FSharp compiler not including appSettings section in the app.config (FSharp.Configuration) Tags: configuration, appsettings, f%23 Problem: FSharp compiler not including appSettings section in the app.config ...
FSharp compiler not including appSettings section in the app.config (FSharp.Configuration) FSharp compiler not including appSettings section in the app.config (FSharp.Configuration) configuration appsettings f%23 FSharp app.config FSharp.Configuration FSharp compiler not including appSettings section in the app.config ...
[ -0.0013580322265625, 0.036865234375, -0.015869140625, -0.01116943359375, -0.01324462890625, 0.033935546875, -0.016845703125, -0.0140380859375, -0.000652313232421875, -0.0034027099609375, -0.00006580352783203125, 0.01904296875, 0.0011138916015625, 0.00823974609375, 0.0301513671875, -0.0...
[ 93774, 3467, 254, 9969, 34759, 26719, 4027, 105548, 40059, 153837, 36381, 59994, 180346, 89840, 3742, 959, 103835, 156672, 68018, 139392, 1528, 163612, 46480, 26698, 49814, 1957, 140992, 11435, 87388, 73882, 11675, 6032, 15190, 4420, 2967, 28484,...
[ 0.1236572265625, 0.2109375, 0.192626953125, 0.1597900390625, 0.174560546875, 0.058074951171875, 0.14404296875, 0.218017578125, 0.126708984375, 0.191162109375, 0.04718017578125, 0.14404296875, 0.129150390625, 0.1527099609375, 0.08123779296875, 0.01708984375, 0.09283447265625, 0.0050...
embed
51255168_c0
51255168
fsharp
0
Title: How to customize logging in F# Saturn framework? Problem title: How to customize logging in F# Saturn framework? Tags: saturn-framework, f%23, f%23-giraffe Problem: How to customize logging in F# Saturn framework? I created a default SAFE app as described here . Removing redundant stuff, the server is this: open...
How to customize logging in F# Saturn framework? How to customize logging in F# Saturn framework? saturn-framework f%23 f%23-giraffe How Saturn Giraffe Successful.OK memory_cache use_static Client use_gzip Microsoft.AspNetCore.Hosting.Internal.WebHost Request HTTP GET localhost:8085 How to customize logging in F# Satur...
[ -0.0142822265625, 0.032958984375, 0.007476806640625, 0.00286865234375, 0.0189208984375, -0.0027008056640625, -0.00156402587890625, 0.002410888671875, -0.00147247314453125, -0.019775390625, 0.0120849609375, 0.00433349609375, -0.0155029296875, 0.01043701171875, 0.018310546875, -0.0032043...
[ 11249, 47, 178036, 13, 459, 36659, 563, 4904, 118651, 170846, 23, 110574, 19, 160328, 18244, 1238, 3742, 27495, 6920, 11, 16670, 39919, 144053, 7844, 9092, 98323, 408, 1430, 4527, 201939, 91732, 50836, 7244, 7008, 24447, 50886, 44851, 11193, ...
[ 0.060028076171875, 0.08984375, 0.2666015625, 0.0882568359375, 0.16015625, 0.1856689453125, 0.117919921875, 0.2015380859375, 0.2578125, 0.2071533203125, 0.034698486328125, 0.153076171875, 0.0709228515625, 0.09356689453125, 0.04107666015625, 0.05316162109375, 0.0560302734375, 0.02041...
embed
524765_c0
524765
fsharp
0
Title: f# - looping through array Problem title: f# - looping through array Tags: f%23 Problem: f# - looping through array I have decided to take up f# as my functional language. My problem: Give a bunch of 50digits in a file, get the first 10 digits of the sum of each line. (euler problem for those who know) for examp...
f# - looping through array f# - looping through array f%23 lines.Split Seq.map line.ToCharArray Seq.take Seq.to_list Seq.length f# - looping through array I have decided to take up f# as my functional language. My problem: Give a bunch of 50digits in a file, get the first 10 digits of the sum of each line. (euler probl...
[ -0.00191497802734375, 0.0081787109375, -0.002655029296875, 0.0234375, -0.01507568359375, 0.0015869140625, 0.0201416015625, 0.0341796875, -0.001953125, -0.047119140625, -0.01080322265625, 0.01092529296875, -0.0034637451171875, 0.02587890625, 0, -0.0052490234375, 0.0142822265625, -0....
[ 1238, 4904, 40956, 214, 8305, 10298, 53, 3742, 124519, 4353, 864, 62346, 13315, 7763, 84068, 7614, 7092, 78219, 188, 6562, 23986, 68872, 123309, 46876, 2967, 77878, 147306, 836, 4803, 14481, 11435, 2046, 5117, 209, 153939, 10554, 12638, 4615,...
[ 0.1529541015625, 0.249755859375, 0.166015625, 0.06781005859375, 0.16455078125, 0.175048828125, 0.0994873046875, 0.12353515625, 0.1097412109375, 0.104736328125, 0.07879638671875, 0.04998779296875, 0.119873046875, 0.03753662109375, 0.0699462890625, 0.029296875, 0.09844970703125, 0.03...
embed
61732295_c0
61732295
fsharp
0
Title: Is there any functional difference between Array.replicate and Array.create in F#? Problem title: Is there any functional difference between Array.replicate and Array.create in F#? Tags: f%23, arrays Problem: Is there any functional difference between Array.replicate and Array.create in F#? I was refactoring som...
Is there any functional difference between Array.replicate and Array.create in F#? Is there any functional difference between Array.replicate and Array.create in F#? f%23 arrays ArgumentException Array.replicate Array.create Is there any functional difference between Array.replicate and Array.create in F#? I was refact...
[ 0.0235595703125, -0.0025634765625, -0.00799560546875, 0.0234375, -0.00665283203125, -0.00933837890625, -0.000652313232421875, 0.004669189453125, 0.00811767578125, 0.00958251953125, 0.0021514892578125, -0.00579833984375, 0.01458740234375, 0.022705078125, 0.001220703125, -0.020751953125,...
[ 2071, 2685, 2499, 123309, 60212, 17721, 69253, 53, 5, 107, 52721, 67, 136, 7612, 2182, 23, 563, 4904, 1238, 3742, 10298, 4778, 112140, 63928, 144810, 18151, 552, 14202, 11814, 3789, 61475, 119140, 5701, 34292, 138256, 15044, 32354, 31943, 6...
[ 0.00244140625, 0.023345947265625, 0.07025146484375, 0.1939697265625, 0.2066650390625, 0.092041015625, 0.1649169921875, 0.1640625, 0.057403564453125, 0.122314453125, 0.2314453125, 0.173095703125, 0.08544921875, 0.210693359375, 0.1741943359375, 0.0281982421875, 0.11767578125, 0.17175...
embed
2168713_c1
2168713
fsharp
1
works fine. But if I copy and paste in a bigger chunk of code ending with that, it repeats the portion up to the yield! over and over again. It seems to be somehow related to fsi attempting to parse the code as it's being pasted in because the same code pasted in will cause parsing errors (like FS0010) when it's paste...
works fine. But if I copy and paste in a bigger chunk of code ending with that, it repeats the portion up to the yield! over and over again. It seems to be somehow related to fsi attempting to parse the code as it's being pasted in because the same code pasted in will cause parsing errors (like FS0010) when it's paste...
[ -0.00238037109375, 0.00897216796875, -0.01104736328125, 0.01318359375, -0.0098876953125, 0.00946044921875, 0.0177001953125, -0.01458740234375, 0.010009765625, -0.034423828125, 0.00014400482177734375, 0.01324462890625, 0.00177001953125, -0.0244140625, 0.0203857421875, 0.005828857421875,...
[ 43240, 5885, 4966, 2174, 43658, 136, 71099, 23, 167785, 7839, 18151, 86658, 678, 442, 119140, 7, 126826, 1257, 47, 70, 11180, 19388, 38, 645, 13438, 37202, 209303, 62548, 1238, 172, 81887, 366, 184, 452, 3674, 5701, 1221, 22304, 6953, 184...
[ 0.1505126953125, 0.125, 0.061187744140625, 0.03240966796875, 0.2069091796875, 0.10443115234375, 0.193603515625, 0.102294921875, 0.1009521484375, 0.131103515625, 0.1695556640625, 0.133056640625, 0.0209808349609375, 0.00616455078125, 0.279541015625, 0.0577392578125, 0.175048828125, 0...
embed
77083780_c0
77083780
fsharp
0
Title: How can I create an alternative to the F# Result type that doesn't take a type parameter for the Ok case? Problem title: How can I create an alternative to the F# Result type that doesn't take a type parameter for the Ok case? Tags: f%23 Problem: How can I create an alternative to the F# Result type th...
How can I create an alternative to the F# Result type that doesn't take a type parameter for the Ok case? How can I create an alternative to the F# Result type that doesn't take a type parameter for the Ok case? f%23 How Result Error ErrorValue How can I create an alternative to the F# Result type that doesn'...
[ -0.0042724609375, 0.0272216796875, 0.00927734375, -0.0028839111328125, 0.0012664794921875, -0.02490234375, -0.020263671875, -0.0242919921875, 0.0126953125, 0.0025177001953125, 0.007354736328125, -0.01007080078125, -0.0093994140625, -0.01409912109375, -0.001190185546875, 0.0093383789062...
[ 11249, 831, 28282, 30700, 563, 4904, 126684, 10644, 22027, 18, 5646, 171859, 9972, 7225, 1238, 212059, 856, 50770, 47, 4527, 25072, 113949, 3871, 2053, 309, 217, 91693, 16648, 11782, 118732, 23282, 35782, 35686, 15190, 10002, 11389, 9969, 347...
[ 0.02703857421875, 0.04132080078125, 0.113037109375, 0.164794921875, 0.077880859375, 0.1756591796875, 0.218994140625, 0.1876220703125, 0.038604736328125, 0.08648681640625, 0.0479736328125, 0.1749267578125, 0.1912841796875, 0.149658203125, 0.0142822265625, 0.169921875, 0.0625, 0.1209...
embed
41905011_c0
41905011
fsharp
0
Title: How to test F# on linux Problem title: How to test F# on linux Tags: f%23, linux, visual-studio-code Problem: How to test F# on linux How do you actually test F# on Linux? After many hours of trying everything short of bruteforcing every atom/VScode terminal that I could open - I haven't made any progress. Even ...
How to test F# on linux How to test F# on linux f%23 linux visual-studio-code How Please Xunit.Extensions Swensen.Unquote Test Theory InlineData Please.itSpeaks How to test F# on linux How do you actually test F# on Linux? After many hours of trying everything short of bruteforcing every atom/VScode terminal that I cou...
[ -0.005340576171875, 0.01007080078125, -0.00640869140625, 0.0078125, 0.006378173828125, -0.01177978515625, 0.02197265625, -0.00604248046875, -0.005401611328125, -0.0023040771484375, 0.01153564453125, -0.0150146484375, -0.000568389892578125, 0.0269775390625, -0.0096435546875, 0.016235351...
[ 11249, 47, 3034, 563, 4904, 98, 11508, 6077, 1238, 3742, 21176, 52629, 40899, 30607, 19032, 6773, 19279, 128872, 155280, 33, 14256, 68726, 8647, 581, 30675, 2256, 137989, 217, 172797, 54, 20653, 29908, 21974, 55042, 2472, 34627, 47207, 33949,...
[ 0.07330322265625, 0.0892333984375, 0.25439453125, 0.1683349609375, 0.25537109375, 0.1026611328125, 0.1553955078125, 0.1572265625, 0.1016845703125, 0.08984375, 0.1214599609375, 0.11083984375, 0.1868896484375, 0.1021728515625, 0.069091796875, 0.16162109375, 0.0047607421875, 0.0979003...
embed
55609194_c1
55609194
fsharp
1
, and that be reflectied into derived aliases, without lots and lots and lots of typing. so making this concrete, I can write let f (x : IsFoo<_,IsBar<_,string>>) = x.foo().bar() which in simple cases is OK...but remember I have lots and lots of parameters... so I really want to simplify this and write... let f2 (x : I...
, and that be reflectied into derived aliases, without lots and lots and lots of typing. so making this concrete, I can write let f (x : IsFoo<_,IsBar<_,string>>) = x.foo().bar() which in simple cases is OK...but remember I have lots and lots of parameters... so I really want to simplify this and write... let f2 (x : I...
[ 0.0012664794921875, 0.0198974609375, 0.000766754150390625, 0.0018463134765625, 0.0025787353515625, 0.01226806640625, -0.005950927734375, 0.0089111328125, 0.00860595703125, 0.004547119140625, -0.0174560546875, -0.008056640625, 0.0028839111328125, 0.0205078125, -0.002471923828125, -0.014...
[ 450, 44961, 14, 3934, 16406, 4126, 55109, 90, 15490, 71358, 11417, 122776, 831, 33022, 2633, 1238, 425, 2071, 27591, 31, 29598, 25267, 91693, 30813, 1022, 3584, 1299, 8781, 50218, 14315, 37629, 171859, 6183, 3444, 112892, 18929, 304, 3957, ...
[ 0.007171630859375, 0.197265625, 0.00048828125, 0.04754638671875, 0.1290283203125, 0.08843994140625, 0.2369384765625, 0.0870361328125, 0.0877685546875, 0.095703125, 0.1048583984375, 0.1365966796875, 0.06622314453125, 0.142333984375, 0.10418701171875, 0.14501953125, 0.06903076171875, ...
embed
68000447_c0
68000447
fsharp
0
Title: F# equivalent to Kotlin&#x27;s ?. operator Problem title: F# equivalent to Kotlin&#x27;s ?. operator Tags: f%23, kotlin Problem: F# equivalent to Kotlin's ?. operator I just started my first F# project and coming from the JVM world, I really like Kotlin's nullability syntax and was wondering how I could achieve ...
F# equivalent to Kotlin&#x27;s ?. operator F# equivalent to Kotlin&#x27;s ?. operator f%23 kotlin Kotlin MyClass this.doSomething CallingCode None Some x.doSomething F# equivalent to Kotlin's ?. operator I just started my first F# project and coming from the JVM world, I really like Kotlin's nullability syntax and was ...
[ 0.0001678466796875, 0.0086669921875, 0.015625, -0.0252685546875, -0.006866455078125, -0.018798828125, 0.020263671875, -0.0087890625, -0.00726318359375, 0.00022792816162109375, 0.01422119140625, 0.000537872314453125, -0.01019287109375, 0.002777099609375, 0.0006561279296875, -0.001586914...
[ 563, 4904, 183234, 47, 19856, 2397, 3768, 7, 39933, 1238, 3742, 1975, 2646, 140803, 903, 246, 8912, 282, 64113, 26265, 214, 114211, 438, 31384, 1022, 705, 13452, 821, 47599, 1884, 9229, 83259, 6002, 86531, 69307, 21373, 94928, 27781, 14602,...
[ 0.147705078125, 0.2359619140625, 0.199462890625, 0.0672607421875, 0.1785888671875, 0.247802734375, 0.07342529296875, 0.0140533447265625, 0.19873046875, 0.1226806640625, 0.043548583984375, 0.1383056640625, 0.11572265625, 0.174560546875, 0.113525390625, 0.10345458984375, 0.021041870117...
embed
53037961_c0
53037961
fsharp
0
Title: F# find minimum function with List.fold Problem title: F# find minimum function with List.fold Tags: list, f%23, functional-programming Problem: F# find minimum function with List.fold I need a function that finds the minimum element of a list implementing the List.fold module. I know I can use List.min but for ...
F# find minimum function with List.fold F# find minimum function with List.fold list f%23 functional-programming List.fold head::tail head.data Node head.next curr.data curr.next F# find minimum function with List.fold I need a function that finds the minimum element of a list implementing the List.fold module. I know ...
[ -0.01611328125, 0.000621795654296875, 0.0341796875, 0.0034637451171875, -0.009521484375, 0.0250244140625, 0.0185546875, -0.00049591064453125, 0.0023956298828125, -0.0201416015625, 0.0186767578125, -0.0150146484375, 0.007568359375, -0.01019287109375, 0.00151824951171875, 0.0191650390625...
[ 563, 4904, 7413, 15440, 32354, 678, 32036, 5, 42822, 5303, 1238, 3742, 123309, 28966, 10336, 46741, 10135, 438, 29062, 64240, 3871, 12830, 29479, 88996, 831, 4527, 1249, 81979, 186, 959, 11814, 56037, 3638, 79, 330, 43240, 561, 22819, 53697...
[ 0.126220703125, 0.17529296875, 0.1273193359375, 0.275146484375, 0.2005615234375, 0.06805419921875, 0.191650390625, 0.05303955078125, 0.2393798828125, 0.17724609375, 0.038970947265625, 0.0843505859375, 0.144287109375, 0.070068359375, 0.1180419921875, 0.126220703125, 0.045318603515625,...
embed
74299913_c0
74299913
fsharp
0
Title: Does `Async.StartImmediate` run the `async` process on the same thread throughout the lifetime of the process? Problem title: Does `Async.StartImmediate` run the `async` process on the same thread throughout the lifetime of the process? Tags: f%23, asynchronous, .net Problem: Does `Async.StartImmediate` run the ...
Does `Async.StartImmediate` run the `async` process on the same thread throughout the lifetime of the process? Does `Async.StartImmediate` run the `async` process on the same thread throughout the lifetime of the process? f%23 asynchronous .net Does Async.StartImmediate Async.Start Does `Async.StartImmediate` run the `...
[ 0.00238037109375, 0.0023193359375, 0.000926971435546875, 0.0031890869140625, -0.008056640625, -0.00384521484375, 0.026123046875, -0.007568359375, 0.02294921875, -0.027587890625, 0.006103515625, 0.049560546875, -0.01318359375, 0.01226806640625, 0.0267333984375, 0.005035400390625, 0.00...
[ 101790, 284, 12654, 238, 126597, 61637, 12333, 67, 11675, 11, 9433, 5701, 86997, 87420, 6897, 6032, 1238, 3742, 101966, 5, 1179, 62, 563, 4904, 55300, 46354, 4034, 10, 109312, 19361, 209806, 17368, 159029, 21342, 71924, 7722, 101089, 114864, ...
[ 0.02978515625, 0.0369873046875, 0.2364501953125, 0.155517578125, 0.2098388671875, 0.0693359375, 0.1845703125, 0.1395263671875, 0.118408203125, 0.047943115234375, 0.139892578125, 0.09918212890625, 0.170166015625, 0.066162109375, 0.1053466796875, 0.0948486328125, 0.005401611328125, 0...
embed
2785029_c0
2785029
fsharp
0
Title: In what areas might the use of F# be more appropriate than C#? Problem title: In what areas might the use of F# be more appropriate than C#? Tags: f%23, c%23 Problem: In what areas might the use of F# be more appropriate than C#? Over the last few years F# has evolved into one of Microsoft's fully supported lang...
In what areas might the use of F# be more appropriate than C#? In what areas might the use of F# be more appropriate than C#? f%23 c%23 In what areas might the use of F# be more appropriate than C#? Over the last few years F# has evolved into one of Microsoft's fully supported languages employing many ideas incubated i...
[ -0.01019287109375, 0.01544189453125, 0.01104736328125, -0.017333984375, -0.00933837890625, 0.00110626220703125, -0.01141357421875, 0.00408935546875, 0.0213623046875, 0.025390625, -0.003662109375, -0.0155029296875, -0.0028839111328125, 0.00110626220703125, 0.00762939453125, 0.0060119628...
[ 360, 2367, 58555, 13648, 4527, 111, 563, 4904, 186, 1286, 95307, 3501, 313, 1238, 3949, 3742, 4568, 10846, 5369, 216479, 7244, 89554, 8060, 46876, 187016, 5941, 25647, 90351, 180, 105272, 141, 39456, 20625, 142508, 40368, 65042, 4537, 60042, ...
[ 0.0631103515625, 0.04241943359375, 0.1669921875, 0.1273193359375, 0.1488037109375, 0.04193115234375, 0.1737060546875, 0.278076171875, 0.03179931640625, 0.103515625, 0.203857421875, 0.10418701171875, 0.087646484375, 0.06768798828125, 0.0345458984375, 0.06134033203125, 0.01315307617187...
embed
58782816_c0
58782816
fsharp
0
Title: Simple Add function to work with integers and floats Problem title: Simple Add function to work with integers and floats Tags: f%23 Problem: Simple Add function to work with integers and floats I'm pretty new to F#, I'm trying to write some code that does not discriminate between floats and integers, and treats ...
Simple Add function to work with integers and floats Simple Add function to work with integers and floats f%23 Simple Add Number Integer Float Simple Add function to work with integers and floats I'm pretty new to F#, I'm trying to write some code that does not discriminate between floats and integers, and treats them ...
[ -0.01361083984375, -0.0220947265625, 0.0078125, 0.0167236328125, 0.000431060791015625, 0.01275634765625, -0.01263427734375, -0.0267333984375, 0.006591796875, -0.006591796875, 0.0206298828125, -0.0185546875, -0.01190185546875, 0.0272216796875, 0.0150146484375, -0.0189208984375, 0.0084...
[ 60552, 29117, 32354, 47, 4488, 678, 892, 26255, 136, 21917, 9821, 1238, 3949, 3742, 103332, 44401, 38699, 257, 28875, 3525, 563, 4904, 31577, 33022, 18151, 959, 55970, 17721, 85689, 2856, 15044, 2563, 237, 2606, 1297, 5773, 3444, 8781, 11, ...
[ 0.207275390625, 0.2305908203125, 0.201416015625, 0.0299835205078125, 0.1273193359375, 0.1297607421875, 0.130615234375, 0.1182861328125, 0.1365966796875, 0.1983642578125, 0.1153564453125, 0.0679931640625, 0.046142578125, 0.144775390625, 0.1688232421875, 0.1708984375, 0.1981201171875, ...
embed
6847203_c0
6847203
fsharp
0
Title: EF4.1 and F#: how to deal with values Problem title: EF4.1 and F#: how to deal with values Tags: entity-framework, f%23 Problem: EF4.1 and F#: how to deal with values I've built an F# app and now I'm using EF4.1 (code first) as a data store. I've stumbled upon a really quirky issue around typing. Take the follow...
EF4.1 and F#: how to deal with values EF4.1 and F#: how to deal with values entity-framework f%23 EF4.1 SearchResults Where r:SearchResult r.Program request.Program OrderByDescending r.AcquisitionDate FirstOrDefault cacheProvider.Set Some context.SearchRequests.Add context.SaveChanges None EF4.1 and F#: how to deal wit...
[ 0.0279541015625, 0.0135498046875, -0.004180908203125, -0.013671875, -0.0201416015625, -0.00775146484375, -0.003509521484375, -0.002716064453125, 0.01348876953125, -0.0322265625, -0.00732421875, 0.0213623046875, -0.0186767578125, -0.0181884765625, 0.0087890625, 0.00567626953125, 0.002...
[ 51779, 120518, 136, 563, 4904, 3642, 35142, 678, 142424, 77630, 160328, 18244, 1238, 3742, 33086, 4332, 10178, 1690, 221175, 7, 7136, 148968, 50336, 81206, 73347, 329, 227788, 23972, 19060, 187423, 11, 82365, 177997, 43701, 75616, 127008, 88303...
[ 0.1751708984375, 0.26318359375, 0.07147216796875, 0.1162109375, 0.1966552734375, 0.047332763671875, 0.1558837890625, 0.153564453125, 0.2034912109375, 0.050933837890625, 0.052886962890625, 0.00634765625, 0.042327880859375, 0.0222015380859375, 0.1097412109375, 0.0089111328125, 0.088439...
embed
69324771_c1
69324771
fsharp
1
only difference I can see is that this one is operating on functions instead of abstraction-implementation pairs and that it is done "by hand". I searched over the internet for some examples of dependencies management in larger project, but what I found were simple examples where one or two functions were passed at mo...
only difference I can see is that this one is operating on functions instead of abstraction-implementation pairs and that it is done "by hand". I searched over the internet for some examples of dependencies management in larger project, but what I found were simple examples where one or two functions were passed at mo...
[ -0.01806640625, -0.0040283203125, 0.00640869140625, 0.0030670166015625, -0.018798828125, 0.035400390625, -0.0145263671875, 0.007354736328125, 0.0181884765625, -0.01611328125, -0.005859375, 0.031005859375, -0.0032958984375, 0.026123046875, 0.0191650390625, -0.00469970703125, 0.0125732...
[ 4734, 60212, 87, 831, 1957, 83, 450, 903, 1632, 172852, 98, 32354, 64457, 164789, 1830, 197648, 80836, 16940, 1272, 3535, 740, 1820, 100, 27781, 42548, 117538, 24365, 23, 150679, 13452, 8781, 707, 6626, 115081, 2684, 4127, 52080, 60042, 486...
[ 0.10150146484375, 0.24267578125, 0.03460693359375, 0.07647705078125, 0.1015625, 0.0723876953125, 0.011810302734375, 0.1375732421875, 0.06756591796875, 0.14697265625, 0.09808349609375, 0.19677734375, 0.09613037109375, 0.1807861328125, 0.0139617919921875, 0.1881103515625, 0.17211914062...
embed
44806954_c0
44806954
fsharp
0
Title: F# matching expression and &#x27;as&#x27; pattern Problem title: F# matching expression and &#x27;as&#x27; pattern Tags: pattern-matching, f%23 Problem: F# matching expression and 'as' pattern I'm studying some F# and trying to implement a parser combinator like in this tutorial ; after some copy and paste of th...
F# matching expression and &#x27;as&#x27; pattern F# matching expression and &#x27;as&#x27; pattern pattern-matching f%23 FS0001 Type Expecting F# matching expression and 'as' pattern I'm studying some F# and trying to implement a parser combinator like in this tutorial ; after some copy and paste of the proposed solut...
[ -0.01239013671875, 0.015869140625, 0.0025634765625, 0.010009765625, 0.007232666015625, -0.00714111328125, -0.01116943359375, 0.010986328125, 0.011962890625, 0.00848388671875, 0.013916015625, 0.01953125, -0.00170135498046875, -0.008544921875, 0.00732421875, 0.0206298828125, 0.00294494...
[ 563, 4904, 14858, 214, 125195, 136, 3768, 162, 103510, 98753, 1238, 3742, 93774, 188735, 60457, 60075, 24762, 366, 2189, 22321, 1290, 57143, 71099, 26171, 29806, 178036, 156304, 9969, 34759, 179459, 18499, 26008, 36917, 4537, 959, 47314, 4568, ...
[ 0.111328125, 0.1859130859375, 0.1939697265625, 0.0606689453125, 0.2032470703125, 0.04608154296875, 0.10198974609375, 0.202880859375, 0.219482421875, 0.179443359375, 0.0701904296875, 0.07415771484375, 0.0845947265625, 0.1932373046875, 0.1243896484375, 0.06787109375, 0.062347412109375,...
embed
48369049_c2
48369049
fsharp
2
{ "senderId":"YMM45tgFFvYB7rx9PhC2TE5eW6D2", "senderName":"David", "text":"Hi" }, "-L19TbhActGmga4f47Mz":{ "senderId":"Rp7ytJdEvZeMFgpLqeCSzkSeTyf1", "senderName":"Albert", "text":"How are you" } } } }, "-L19Cz1abm1o-JCbiAnN":{ "listing_id":"-L19Cz1abm1o-JCbiAnN", "location":"Edinburgh" }, "-L19DMdFx2pXj9-EKCq2":{ "lis...
{ "senderId":"YMM45tgFFvYB7rx9PhC2TE5eW6D2", "senderName":"David", "text":"Hi" }, "-L19TbhActGmga4f47Mz":{ "senderId":"Rp7ytJdEvZeMFgpLqeCSzkSeTyf1", "senderName":"Albert", "text":"How are you" } } } }, "-L19Cz1abm1o-JCbiAnN":{ "listing_id":"-L19Cz1abm1o-JCbiAnN", "location":"Edinburgh" }, "-L19DMdFx2pXj9-EKCq2":{ "lis...
[ 0.001739501953125, 0.0206298828125, -0.0167236328125, -0.0101318359375, -0.00347900390625, 0.01153564453125, -0.0255126953125, -0.007537841796875, 0.01495361328125, -0.0123291015625, -0.00750732421875, -0.0108642578125, 0.0089111328125, -0.022216796875, 0.0169677734375, 0.007080078125,...
[ 10666, 152452, 71, 58, 4633, 18, 30110, 966, 1126, 441, 304, 758, 13, 1456, 397, 830, 163612, 118571, 22829, 12, 20861, 51912, 4, 866, 2947, 618, 724, 39, 208, 617, 420, 594, 169, 24854, 44, 1052, 254, 1375, 86124, 48320, 65692, 78872...
[ 0.012237548828125, 0.1348876953125, 0.05877685546875, 0.008270263671875, 0.03515625, 0.00811767578125, 0.01995849609375, 0.006805419921875, 0.0335693359375, 0.007843017578125, 0.00811767578125, 0.005706787109375, 0.00732421875, 0.007720947265625, 0.007904052734375, 0.008270263671875, ...
embed
825858_c0
825858
fsharp
0
Title: Extract single element from list in F# Problem title: Extract single element from list in F# Tags: sequence, functional-programming, f%23 Problem: Extract single element from list in F# I want to extract a single item from a sequence in F#, or give an error if there is none or more than one. What is the best way...
Extract single element from list in F# Extract single element from list in F# sequence functional-programming f%23 list Extract Seq.filter RawXml.Property List.of_seq Too Empty MyElement Bad Seq.length Seq.hd Extract single element from list in F# I want to extract a single item from a sequence in F#, or give an error ...
[ 0.005615234375, 0.01300048828125, 0.01116943359375, 0.0029449462890625, 0.021484375, -0.00897216796875, -0.0068359375, 0.00421142578125, 0.0093994140625, -0.01226806640625, 0.0218505859375, -0.00628662109375, -0.017822265625, 0.00537109375, -0.00616455078125, -0.00555419921875, 0.027...
[ 31501, 15390, 11001, 12830, 1295, 5303, 23, 563, 4904, 40, 944, 123309, 28966, 1238, 3949, 3742, 503, 864, 120337, 109997, 1542, 7237, 5, 1264, 32036, 4390, 184, 56374, 31678, 2646, 647, 19929, 12745, 20257, 3444, 47, 125663, 35735, 8337, ...
[ 0.213134765625, 0.0947265625, 0.203369140625, 0.2152099609375, 0.11328125, 0.20751953125, 0.0478515625, 0.1644287109375, 0.22607421875, 0.09326171875, 0.1527099609375, 0.1312255859375, 0.07183837890625, 0.075439453125, 0.00482177734375, 0.1220703125, 0.053985595703125, 0.1575927734...
embed
45376400_c0
45376400
fsharp
0
Title: C# to F#: Creating and using a float[][] in F# Problem title: C# to F#: Creating and using a float[][] in F# Tags: neural-network, machine-learning, f%23, arrays, c%23 Problem: C# to F#: Creating and using a float[][] in F# I have this simple method for a neural network in C#: private void InitNeurons() { //Neur...
C# to F#: Creating and using a float[][] in F# C# to F#: Creating and using a float[][] in F# neural-network machine-learning f%23 arrays c%23 a Creating InitNeurons Neuron Initilization List _layers.Length neuronsList.Add _layers _neurons neuronsList.ToArray NeuralNetwork NeuralNetworkF this.Layers this.Neurons C# to ...
[ 0.0218505859375, 0.0238037109375, 0.005035400390625, 0.0091552734375, -0.0128173828125, 0.006439208984375, 0.01806640625, -0.025634765625, -0.000408172607421875, -0.00616455078125, 0.01507568359375, -0.006378173828125, 0.00787353515625, 0.0177001953125, -0.000316619873046875, -0.007934...
[ 313, 4904, 47, 563, 12, 56781, 1916, 136, 17368, 10, 21917, 257, 1065, 29839, 23, 82451, 1179, 18244, 36279, 152538, 1238, 3742, 10298, 4778, 360, 217, 6433, 34, 38281, 107481, 19, 5933, 3675, 47691, 32036, 5259, 1314, 449, 184940, 154663...
[ 0.06390380859375, 0.2313232421875, 0.16796875, 0.1585693359375, 0.0175933837890625, 0.1700439453125, 0.07159423828125, 0.11181640625, 0.132568359375, 0.00634765625, 0.2366943359375, 0.15771484375, 0.0286102294921875, 0.08721923828125, 0.07086181640625, 0.1842041015625, 0.076416015625...
embed
2795557_c1
2795557
fsharp
1
this question "not even wrong"? Should I be doing the mutable structures in C#, and not dip into F# until I want to compare them to their purely functional counterparts? And, if a DU of records is what I want, could I have written the code below better or more idiomatically? It seems like there's a lot of redundancy h...
this question "not even wrong"? Should I be doing the mutable structures in C#, and not dip into F# until I want to compare them to their purely functional counterparts? And, if a DU of records is what I want, could I have written the code below better or more idiomatically? It seems like there's a lot of redundancy h...
[ -0.0274658203125, -0.006500244140625, 0.01904296875, -0.0002689361572265625, -0.0128173828125, 0.00836181640625, -0.0125732421875, -0.031982421875, 0.006317138671875, -0.0037994384765625, 0.002838134765625, -0.004608154296875, 0.0208740234375, -0.020751953125, -0.00616455078125, -0.003...
[ 903, 9655, 10869, 3853, 44691, 151117, 20594, 842, 22819, 45646, 7, 23, 313, 4904, 45, 254, 3934, 563, 69101, 34166, 123309, 105416, 17365, 14614, 111, 115923, 3444, 5809, 59121, 18151, 35064, 11522, 49666, 18, 5915, 35405, 31351, 88996, 40...
[ 0.01043701171875, 0.068359375, 0.0557861328125, 0.04071044921875, 0.169189453125, 0.043212890625, 0.047393798828125, 0.15869140625, 0.2039794921875, 0.189453125, 0.015594482421875, 0.036376953125, 0.0693359375, 0.20654296875, 0.07110595703125, 0.00830078125, 0.00665283203125, 0.092...
embed
51433409_c1
51433409
fsharp
1
= tables.Downtimes let t2 = T2 qry let qb2 = new QueryBuilder2() Code signals: Customizing, QueryBuilder, this.Content, QueryBuilder1, Linq.QueryBuilder, __.Source, base.Source, source.Content, qb1, t1.Content, Root, Project, Ocnarf, SQLProvider.1.1.44, net451, FSharp.Data.SqlProvider.dll, Literal, FSharp.Data.Sql.Com...
= tables.Downtimes let t2 = T2 qry let qb2 = new QueryBuilder2() Code signals: Customizing, QueryBuilder, this.Content, QueryBuilder1, Linq.QueryBuilder, __.Source, base.Source, source.Content, qb1, t1.Content, Root, Project, Ocnarf, SQLProvider.1.1.44, net451, FSharp.Data.SqlProvider.dll, Literal, FSharp.Data.Sql.Com...
[ 0.00811767578125, 0.01239013671875, 0.00384521484375, 0.0284423828125, 0.00194549560546875, 0.0201416015625, -0.0257568359375, 0.00150299072265625, -0.009521484375, -0.0361328125, 0.0036773681640625, 0.0245361328125, 0.0084228515625, -0.005218505859375, -0.01422119140625, 0.0185546875,...
[ 2203, 23180, 8331, 7710, 70141, 2633, 808, 304, 384, 8096, 1294, 275, 3525, 58836, 53, 121137, 56, 132, 28864, 26073, 7, 12, 130664, 84382, 903, 25352, 418, 44982, 41732, 211235, 4, 3647, 31344, 150948, 27331, 180, 2322, 420, 80866, 17799...
[ 0.13427734375, 0.2076416015625, 0.101318359375, 0.16943359375, 0.188720703125, 0.0833740234375, 0.07537841796875, 0.1878662109375, 0.05999755859375, 0.09759521484375, 0.1380615234375, 0.12158203125, 0.084228515625, 0.1866455078125, 0.10748291015625, 0.2286376953125, 0.16455078125, ...
embed
53536195_c0
53536195
fsharp
0
Title: How to write a remove function for a tree using a given string list in f#? Problem title: How to write a remove function for a tree using a given string list in f#? Tags: tree, f%23, f%23-3.0, data-structures Problem: How to write a remove function for a tree using a given string list in f#? I am trying to write...
How to write a remove function for a tree using a given string list in f#? How to write a remove function for a tree using a given string list in f#? tree f%23 f%23-3.0 data-structures a How Tree Leaf Branch a::b How to write a remove function for a tree using a given string list in f#? I am trying to write a 'remove' ...
[ 0.0037841796875, 0.01239013671875, -0.010009765625, 0.0284423828125, -0.004364013671875, -0.0084228515625, -0.00787353515625, -0.020751953125, 0.00555419921875, 0.000286102294921875, -0.00213623046875, -0.002716064453125, 0.01123046875, -0.0091552734375, -0.00445556640625, 0.0021057128...
[ 11249, 33022, 10, 87388, 32354, 100, 53201, 17368, 34475, 79315, 5303, 1238, 4904, 3742, 132265, 2053, 137656, 101344, 636, 2407, 21110, 23, 31577, 26973, 272, 154109, 10644, 35509, 34292, 7108, 4527, 27781, 28864, 8647, 76199, 35166, 64457, ...
[ 0.04736328125, 0.1678466796875, 0.05255126953125, 0.2362060546875, 0.205322265625, 0.06298828125, 0.236083984375, 0.047882080078125, 0.0753173828125, 0.1998291015625, 0.1502685546875, 0.1156005859375, 0.183349609375, 0.042022705078125, 0.0626220703125, 0.048980712890625, 0.0852050781...
embed
69797185_c0
69797185
fsharp
0
Title: How to split F# result type list into lists of inner type Problem title: How to split F# result type list into lists of inner type Tags: f%23 Problem: How to split F# result type list into lists of inner type I have a list/sequence as follows Result<DataEntry, exn> [] . This list is populated by calling multiple...
How to split F# result type list into lists of inner type How to split F# result type list into lists of inner type f%23 How Result DataEntry Array.partition Success Err How to split F# result type list into lists of inner type I have a list/sequence as follows Result<DataEntry, exn> [] . This list is populated by call...
[ -0.007537841796875, 0.010498046875, -0.01495361328125, -0.01104736328125, 0.0028076171875, -0.0166015625, 0.00182342529296875, -0.01531982421875, 0.00787353515625, 0.019775390625, -0.017578125, -0.0157470703125, -0.0003910064697265625, 0.016845703125, 0.004974365234375, -0.012023925781...
[ 11249, 47, 65450, 563, 4904, 16750, 10644, 5303, 3934, 75414, 1238, 3949, 3742, 126684, 11809, 7768, 15123, 69253, 15866, 144053, 1004, 944, 137989, 1119, 19, 27623, 159029, 48716, 61687, 3564, 38496, 95103, 38937, 107730, 11782, 35782, 4989, ...
[ 0.039825439453125, 0.006072998046875, 0.2139892578125, 0.1444091796875, 0.2252197265625, 0.187255859375, 0.1773681640625, 0.1756591796875, 0.109375, 0.2012939453125, 0.0838623046875, 0.006317138671875, 0.0789794921875, 0.2144775390625, 0.039703369140625, 0.0850830078125, 0.1212158203...
embed
67416946_c0
67416946
fsharp
0
Title: System.InvalidCastException: Specified cast is not valid when trying to use Reflection in F# Problem title: System.InvalidCastException: Specified cast is not valid when trying to use Reflection in F# Tags: f%23, reflection Problem: System.InvalidCastException: Specified cast is not valid when trying to use Refl...
System.InvalidCastException: Specified cast is not valid when trying to use Reflection in F# System.InvalidCastException: Specified cast is not valid when trying to use Reflection in F# f%23 reflection System.InvalidCastException Specified Reflection System Microsoft.FSharp.Reflection Employee Guid Name Phone BadgeId D...
[ 0.00037384033203125, 0.00543212890625, 0.01068115234375, 0.0164794921875, -0.00689697265625, -0.017333984375, -0.039306640625, 0.006317138671875, -0.006683349609375, -0.021728515625, 0.0087890625, 0.027587890625, 0.02197265625, 0.0240478515625, 0.000873565673828125, -0.0211181640625, ...
[ 12353, 4153, 7013, 71, 174830, 19279, 63928, 24990, 47314, 37702, 959, 35604, 31577, 4527, 53295, 133, 10763, 563, 4904, 23, 1238, 3742, 44961, 1830, 7244, 36381, 3467, 254, 190015, 365, 6955, 15757, 41761, 12745, 11724, 14889, 11835, 3882, ...
[ 0.146728515625, 0.0166168212890625, 0.19140625, 0.005523681640625, 0.195556640625, 0.04925537109375, 0.1683349609375, 0.1766357421875, 0.1834716796875, 0.2117919921875, 0.0816650390625, 0.16162109375, 0.072998046875, 0.06292724609375, 0.2103271484375, 0.1943359375, 0.1239013671875, ...
embed
21645369_c0
21645369
fsharp
0
Title: Aliasing db4o between C# and F# Problem title: Aliasing db4o between C# and F# Tags: c%23, db4o, f%23 Problem: Aliasing db4o between C# and F# I have created a db4o database in a C# solution called SyncManage2. That is the assembly name, and also the namespace. There is a class in there called DicEntry. I want t...
Aliasing db4o between C# and F# Aliasing db4o between C# and F# c%23 db4o f%23 Aliasing db4o IEmbeddedObjectContainer TypeAlias SyncManage2.DicEntry SyncManage2 Glossing.DicEntry GlossWorks SyncText2.GlossWorks.Glossing.DicEntry Aliasing db4o between C# and F# I have created a db4o database in a C# solution called Sync...
[ 0.002655029296875, 0.00445556640625, -0.0147705078125, -0.00518798828125, -0.00347900390625, 0.00750732421875, -0.0167236328125, 0.020751953125, -0.01275634765625, -0.01708984375, 0.006256103515625, -0.007110595703125, -0.003082275390625, 0.00185394287109375, 0.01287841796875, -0.01043...
[ 2132, 162, 40041, 617, 31, 17721, 313, 4904, 136, 563, 3742, 1238, 20439, 69819, 75161, 25500, 60457, 55725, 217835, 12662, 4588, 5442, 1771, 7768, 15123, 304, 46173, 38001, 108259, 174379, 2400, 365, 75935, 63399, 29806, 89845, 9351, 210716,...
[ 0.1474609375, 0.2332763671875, 0.1309814453125, 0.1932373046875, 0.20703125, 0.1588134765625, 0.031097412109375, 0.208740234375, 0.0965576171875, 0.1134033203125, 0.03424072265625, 0.020111083984375, 0.114501953125, 0.010101318359375, 0.050537109375, 0.08306884765625, 0.2152099609375...
embed
27889652_c0
27889652
fsharp
0
Title: Equality test for a record type with generated fields Problem title: Equality test for a record type with generated fields Tags: tdd, f%23 Problem: Equality test for a record type with generated fields If a record type includes generated fields such as an auto-generated id and a timestamp, e.g.: type UserCreated...
Equality test for a record type with generated fields Equality test for a record type with generated fields tdd f%23 Equality UserCreated Guid Name CreationTime Instant Equality test for a record type with generated fields If a record type includes generated fields such as an auto-generated id and a timestamp, e.g.: wh...
[ -0.017578125, -0.0052490234375, 0.007354736328125, 0.02392578125, 0.00860595703125, -0.01507568359375, -0.0125732421875, -0.0023651123046875, 0.00102996826171875, 0.0062255859375, -0.006378173828125, 0.0289306640625, -0.0064697265625, 0.00408935546875, 0.0030670166015625, -0.0010757446...
[ 241, 161789, 3034, 17164, 10644, 678, 139392, 71, 44457, 4028, 3742, 53400, 63784, 6955, 15757, 15678, 70059, 166945, 96853, 1809, 48281, 3447, 1733, 590, 2676, 2965, 3917, 33022, 25072, 109921, 26548, 903, 7722, 33657, 105950, 34292, 53418, ...
[ 0.0643310546875, 0.2418212890625, 0.2227783203125, 0.1954345703125, 0.1802978515625, 0.05120849609375, 0.1927490234375, 0.011993408203125, 0.21337890625, 0.06414794921875, 0.0523681640625, 0.078125, 0.10791015625, 0.10009765625, 0.055145263671875, 0.087646484375, 0.112060546875, 0....
embed
36310262_c0
36310262
fsharp
0
Title: How is the references created to fsc when building a F# project? Problem title: How is the references created to fsc when building a F# project? Tags: f%23, msbuild, paket, teamcity Problem: How is the references created to fsc when building a F# project? Code signals: How, t:Rebuild, p:Configuration, Release, u...
How is the references created to fsc when building a F# project? How is the references created to fsc when building a F# project? f%23 msbuild paket teamcity How t:Rebuild p:Configuration Release utf-8 Project ToolsVersion DefaultTargets Build schemas.microsoft.com MSBuildExtensionsPath MSBuildToolsVersion Microsoft.Co...
[ -0.01708984375, 0.0308837890625, 0.0016021728515625, 0.0025634765625, -0.00439453125, -0.007110595703125, -0.0201416015625, -0.008056640625, -0.01324462890625, 0.027099609375, 0.01165771484375, -0.0203857421875, -0.01202392578125, 0.0279541015625, 0.0145263671875, 0.002838134765625, ...
[ 11249, 91067, 7, 75935, 47, 1238, 10382, 3229, 33976, 563, 4904, 13452, 3742, 68163, 177149, 13360, 7175, 60089, 808, 4332, 915, 59994, 152590, 17376, 27331, 119296, 178390, 1021, 63031, 121137, 61903, 138410, 16265, 128872, 10519, 186490, 7244...
[ 0.0287933349609375, 0.226318359375, 0.014862060546875, 0.083251953125, 0.09100341796875, 0.1080322265625, 0.17919921875, 0.0173187255859375, 0.1180419921875, 0.094482421875, 0.1900634765625, 0.0980224609375, 0.07708740234375, 0.0958251953125, 0.2366943359375, 0.11181640625, 0.1594238...
embed
78357790_c0
78357790
fsharp
0
Title: F# interface or derived class match Problem title: F# interface or derived class match Tags: pattern-matching, f%23 Problem: F# interface or derived class match I can't wrap my head around thinking about why in F# derived class or interface implementation match works when the instance being matched against is an...
F# interface or derived class match F# interface or derived class match pattern-matching f%23 BaseClass DerivedClass ISomeInterface SomeMethod Console.WriteLine this.Execute derived.SomeMethod Not F# interface or derived class match I can't wrap my head around thinking about why in F# derived class or interface impleme...
[ 0.005401611328125, 0.006072998046875, -0.0047607421875, -0.0107421875, -0.000732421875, -0.00433349609375, -0.03173828125, 0.00738525390625, -0.0087890625, -0.005218505859375, 0.0037841796875, -0.00058746337890625, 0.00823974609375, -0.006805419921875, -0.0067138671875, -0.026977539062...
[ 563, 4904, 101758, 707, 16406, 4126, 18507, 14858, 103510, 98753, 1238, 3949, 3742, 44978, 140803, 1310, 14, 15744, 13450, 44851, 40404, 31384, 78572, 7352, 40777, 93232, 903, 211603, 8912, 282, 11205, 831, 18, 137565, 10336, 47644, 15400, 20...
[ 0.1611328125, 0.215576171875, 0.2347412109375, 0.057403564453125, 0.1568603515625, 0.16796875, 0.1844482421875, 0.2467041015625, 0.1358642578125, 0.1953125, 0.097900390625, 0.007171630859375, 0.0677490234375, 0.115966796875, 0.1256103515625, 0.09930419921875, 0.0618896484375, 0.005...
embed
40636995_c0
40636995
fsharp
0
Title: Function returning two outputs Problem title: Function returning two outputs Tags: f%23, function Problem: Function returning two outputs I would like to create a function that produces two outputs. Please consider the following example: I built two functions that, given a list of integers, return a list of elem...
Function returning two outputs Function returning two outputs f%23 function alternate1 x::y::xs alternate2 x::y y::alternate x::alternate Function returning two outputs I would like to create a function that produces two outputs. Please consider the following example: I built two functions that, given a list of integer...
[ 0.002105712890625, 0.0179443359375, 0.00482177734375, -0.00286865234375, 0.00640869140625, 0.032958984375, -0.0091552734375, -0.000789642333984375, 0.00860595703125, -0.00885009765625, 0.0076904296875, 0.013427734375, 0.00341796875, 0.0201416015625, 0.017822265625, 0.01104736328125, ...
[ 28670, 10763, 30646, 214, 6626, 140992, 1238, 3949, 3742, 32354, 75939, 13, 418, 1022, 53, 425, 7, 304, 113, 48283, 76, 67, 1884, 28282, 27489, 27781, 88303, 34475, 5303, 892, 26255, 80854, 3853, 19069, 136, 70270, 26818, 5885, 2967, 1100...
[ 0.164794921875, 0.050262451171875, 0.2208251953125, 0.0552978515625, 0.226806640625, 0.285888671875, 0.0831298828125, 0.057708740234375, 0.171875, 0.183837890625, 0.1871337890625, 0.08978271484375, 0.030792236328125, 0.05718994140625, 0.06036376953125, 0.055206298828125, 0.0271301269...
embed
61454396_c0
61454396
fsharp
0
Title: F# Embedded resource is ignoring subfolder structure Problem title: F# Embedded resource is ignoring subfolder structure Tags: f%23, embedded-resource Problem: F# Embedded resource is ignoring subfolder structure I am trying to embed resources (.xsd) to my project. The folder structure is as follows - Project pr...
F# Embedded resource is ignoring subfolder structure F# Embedded resource is ignoring subfolder structure f%23 embedded-resource Embedded Project project.fsproj file.xsd file2.xsd Namespace v1.file.xsd v2.file.xsd F# Embedded resource is ignoring subfolder structure I am trying to embed resources (.xsd) to my project. ...
[ -0.002105712890625, 0.014404296875, -0.002227783203125, 0.002899169921875, 0.0013427734375, 0.01336669921875, -0.0076904296875, -0.00087738037109375, -0.004119873046875, -0.00830078125, 0.029541015625, 0.0218505859375, -0.008544921875, 0.01470947265625, 0.001312255859375, 0.01379394531...
[ 563, 4904, 2775, 372, 69819, 177953, 47438, 1614, 42822, 56, 45646, 1238, 3742, 55720, 107, 60427, 27331, 13452, 17447, 3454, 170, 11435, 425, 5442, 2096, 109164, 81, 29822, 352, 13482, 65514, 7, 71, 78303, 188118, 41206, 17203, 102158, 163...
[ 0.07275390625, 0.201904296875, 0.0899658203125, 0.2178955078125, 0.0771484375, 0.227783203125, 0.1531982421875, 0.1619873046875, 0.1270751953125, 0.04302978515625, 0.1754150390625, 0.008148193359375, 0.0272674560546875, 0.20361328125, 0.055450439453125, 0.193115234375, 0.0908203125, ...
embed
54378989_c1
54378989
fsharp
1
Sharp\Argu-sample\Argu-sample\Program.fs:line 18 What am I doing wrong? Thanks. UPDATED CODE WITH SOLUTION: Based on AMieres comment, I ended up using try with : open System open Argu type CliArguments = | CommandA | CommandB with interface IArgParserTemplate with member s.Usage = match s with | CommandA -> "CommandA -...
Sharp\Argu-sample\Argu-sample\Program.fs:line 18 What am I doing wrong? Thanks. UPDATED CODE WITH SOLUTION: Based on AMieres comment, I ended up using try with : open System open Argu type CliArguments = | CommandA | CommandB with interface IArgParserTemplate with member s.Usage = match s with | CommandA -> "CommandA -...
[ -0.003692626953125, 0.01171875, -0.01287841796875, 0.01153564453125, -0.0147705078125, -0.000736236572265625, 0.005828857421875, -0.00677490234375, 0.003570556640625, 0.013916015625, 0.0130615234375, -0.007293701171875, 0.00543212890625, -0.0019683837890625, 0.0174560546875, -0.0106811...
[ 197106, 7614, 1234, 433, 33209, 148968, 17447, 12, 2256, 543, 4865, 444, 87, 20594, 44691, 161521, 8244, 159, 93478, 134620, 17368, 9790, 678, 9803, 12353, 1172, 10644, 150, 9035, 123573, 284, 571, 101758, 177, 28636, 2189, 159065, 32786, 9...
[ 0.256103515625, 0.1240234375, 0.253662109375, 0.1246337890625, 0.1851806640625, 0.1378173828125, 0.158935546875, 0.01287841796875, 0.1466064453125, 0.2071533203125, 0.01214599609375, 0.085205078125, 0.050079345703125, 0.12890625, 0.191650390625, 0.01953125, 0.03033447265625, 0.0299...
embed
51573578_c0
51573578
fsharp
0
Title: How to move cursor position using match expressions in F#? Problem title: How to move cursor position using match expressions in F#? Tags: match, expression, f%23 Problem: How to move cursor position using match expressions in F#? I thought it would make more sense to use match expressions in F# rather than whil...
How to move cursor position using match expressions in F#? How to move cursor position using match expressions in F#? match expression f%23 match How System Console.WindowWidth Console.WindowHeight Console.CursorLeft Console.CursorTop Console.ReadKey Key ConsoleKey.UpArrow Console.SetCursorPosition ConsoleKey.RightArro...
[ -0.02490234375, 0.01116943359375, 0.0166015625, -0.007598876953125, 0.007232666015625, -0.0264892578125, 0.00122833251953125, 0.0196533203125, 0.00060272216796875, 0.01239013671875, 0.0238037109375, 0.00885009765625, 0.00830078125, -0.0157470703125, 0.010498046875, -0.0145263671875, ...
[ 11249, 47, 25813, 13810, 42, 19069, 17368, 14858, 125195, 7, 23, 563, 4904, 1238, 3949, 3742, 12353, 40777, 24293, 13025, 22553, 474, 4970, 2480, 77888, 31345, 162429, 26824, 15555, 126, 7192, 172, 10422, 4527, 12960, 40956, 2174, 63805, 18...
[ 0.0574951171875, 0.0190277099609375, 0.1881103515625, 0.1929931640625, 0.155517578125, 0.205810546875, 0.04803466796875, 0.216064453125, 0.216064453125, 0.054443359375, 0.021942138671875, 0.1241455078125, 0.1953125, 0.115966796875, 0.087646484375, 0.17578125, 0.0165557861328125, 0....
embed
49709573_c0
49709573
fsharp
0
Title: F# - Convert CsvProvider Type To Existing Type Problem title: F# - Convert CsvProvider Type To Existing Type Tags: csv, f%23, type-providers Problem: F# - Convert CsvProvider Type To Existing Type I have an existing defined type, XRecord , and would like to convert the inferred CsvProvider type, CsvRecord , to X...
F# - Convert CsvProvider Type To Existing Type F# - Convert CsvProvider Type To Existing Type csv f%23 type-providers Convert CsvProvider Type Existing SOQN System System.IO FSharp.Data XRecord Alpha Bravo Charlie Delta Literal Test.csv CsvRecord EntryPoint CsvRecord.Load F# - Convert CsvProvider Type To Existing Type ...
[ -0.01422119140625, 0.01263427734375, 0.00189971923828125, 0.02685546875, 0.00994873046875, 0.00927734375, -0.016845703125, -0.0004444122314453125, -0.00185394287109375, -0.013427734375, -0.007568359375, -0.0023956298828125, 0.00689697265625, 0.01055908203125, 0.00274658203125, -0.01892...
[ 563, 4904, 20, 1657, 11549, 313, 67756, 177997, 62160, 60457, 717, 5443, 1419, 214, 20763, 334, 1238, 3949, 3742, 10644, 93136, 15969, 2737, 839, 12353, 17780, 3467, 254, 137989, 1193, 4332, 32271, 76569, 85115, 71305, 56588, 135940, 8647, ...
[ 0.115234375, 0.20654296875, 0.00372314453125, 0.1007080078125, 0.2052001953125, 0.1068115234375, 0.263671875, 0.21533203125, 0.1995849609375, 0.261962890625, 0.1195068359375, 0.1973876953125, 0.2142333984375, 0.1395263671875, 0.1407470703125, 0.2449951171875, 0.060882568359375, 0.0...
embed
63070117_c0
63070117
fsharp
0
Title: Providing a type system for the parser/lexer specification? Problem title: Providing a type system for the parser/lexer specification? Tags: parsing, type-systems, lex, functional-programming, f%23 Problem: Providing a type system for the parser/lexer specification? It is often believed that functional programmi...
Providing a type system for the parser/lexer specification? Providing a type system for the parser/lexer specification? parsing type-systems lex functional-programming f%23 Providing CSTINT NAME Expr CSTI Providing a type system for the parser/lexer specification? It is often believed that functional programming langua...
[ 0.0205078125, 0.0263671875, 0.00537109375, 0.0018463134765625, -0.018310546875, -0.003387451171875, -0.01019287109375, 0.01080322265625, -0.005767822265625, -0.0179443359375, 0.0157470703125, 0.006439208984375, -0.00958251953125, -0.0179443359375, 0.0081787109375, 0.024658203125, 0.0...
[ 77345, 86675, 10, 10644, 5426, 100, 366, 2189, 64, 74070, 56, 29458, 2320, 32, 6953, 16751, 75675, 123309, 28966, 1238, 3742, 313, 8545, 59537, 182512, 59864, 27983, 18822, 56037, 46876, 180, 9779, 141, 563, 4904, 765, 190358, 1821, 47445, ...
[ 0.1304931640625, 0.048797607421875, 0.0269775390625, 0.284423828125, 0.2327880859375, 0.0794677734375, 0.166259765625, 0.160400390625, 0.047210693359375, 0.150146484375, 0.16748046875, 0.1876220703125, 0.059783935546875, 0.001800537109375, 0.08941650390625, 0.1905517578125, 0.1525878...
embed
58810223_c0
58810223
fsharp
0
Title: How to set a timercalling a member method in F#? Problem title: How to set a timercalling a member method in F#? Tags: f%23 Problem: How to set a timercalling a member method in F#? I am trying to achieve this: type Test() = member val MyTimer : Timer = new Timer(TimerCallback TimerEvent) member mutable Status :...
How to set a timercalling a member method in F#? How to set a timercalling a member method in F#? f%23 How Test MyTimer Timer TimerCallback TimerEvent Status this.StartTimer this.MyTimer this.TimerEvent this.Status this.Timer How to set a timercalling a member method in F#? I am trying to achieve this: I need to create...
[ -0.0032958984375, -0.000743865966796875, 0.024169921875, -0.01416015625, 0.0021820068359375, -0.01226806640625, 0.01055908203125, -0.0015106201171875, 0.0130615234375, -0.03466796875, 0.002838134765625, 0.0322265625, 0.0225830078125, -0.004241943359375, 0.0023345947265625, -0.026123046...
[ 11249, 47, 5423, 10, 21991, 408, 30319, 32786, 55300, 23, 563, 4904, 1238, 3742, 8647, 2646, 70059, 42, 13320, 56, 5584, 12620, 192134, 56504, 903, 126597, 31852, 135206, 31577, 69307, 28282, 2831, 18507, 110527, 27117, 91067, 40368, 150624, ...
[ 0.06549072265625, 0.006256103515625, 0.177734375, 0.03009033203125, 0.298095703125, 0.129150390625, 0.05535888671875, 0.2393798828125, 0.1741943359375, 0.072021484375, 0.1217041015625, 0.2044677734375, 0.0316162109375, 0.0457763671875, 0.1763916015625, 0.082763671875, 0.215087890625,...
embed
77337647_c0
77337647
fsharp
0
Title: Copied F# code from one module to another and it broke Problem title: Copied F# code from one module to another and it broke Tags: f%23, f%23-giraffe Problem: Copied F# code from one module to another and it broke I ran "dotnet new giraffe." Then I tried moving the Views module into a Views.fs file. The same cod...
Copied F# code from one module to another and it broke Copied F# code from one module to another and it broke f%23 f%23-giraffe one Copied GiraffeApp Views.fs FS0003 _rel XmlNode _type _href main.css Copied F# code from one module to another and it broke I ran "dotnet new giraffe." Then I tried moving the Views module ...
[ -0.01531982421875, 0.0086669921875, -0.01080322265625, 0.002105712890625, 0.0164794921875, 0.01220703125, -0.004547119140625, -0.0167236328125, 0.004730224609375, -0.040771484375, -0.0006103515625, 0.01470947265625, -0.0034637451171875, -0.00518798828125, -0.0003185272216796875, -0.012...
[ 1311, 138518, 563, 4904, 18151, 88996, 47, 15700, 7155, 350, 1238, 3742, 27495, 6920, 11, 16670, 39919, 39179, 89732, 17447, 93774, 363, 7962, 7237, 5021, 50986, 29087, 5201, 4439, 1295, 1632, 13028, 15464, 1179, 3525, 65603, 98567, 11435, ...
[ 0.1024169921875, 0.1763916015625, 0.06207275390625, 0.1490478515625, 0.1536865234375, 0.17236328125, 0.066162109375, 0.0513916015625, 0.154541015625, 0.08135986328125, 0.032562255859375, 0.0653076171875, 0.04608154296875, 0.05615234375, 0.0274200439453125, 0.181884765625, 0.075195312...
embed
60963773_c0
60963773
fsharp
0
Title: Is there a way in F# to write a generic function that will accept either a Tuple or Single value? Problem title: Is there a way in F# to write a generic function that will accept either a Tuple or Single value? Tags: tuples, f%23, generics, operator-overloading Problem: Is there a way in F# to write a generic fu...
Is there a way in F# to write a generic function that will accept either a Tuple or Single value? Is there a way in F# to write a generic function that will accept either a Tuple or Single value? tuples f%23 generics operator-overloading Tuple Single Double.IsNaN None Some Is there a way in F# to write a generic functi...
[ 0.0074462890625, -0.000885009765625, 0.0032958984375, 0.00145721435546875, -0.005615234375, 0.007415771484375, -0.00086212158203125, -0.01177978515625, 0.00830078125, 0.0157470703125, -0.01165771484375, 0.0125732421875, 0.002166748046875, -0.0166015625, 0.003875732421875, 0.0087890625,...
[ 3917, 23, 563, 4904, 33022, 189534, 32354, 1221, 26946, 40101, 1371, 8705, 707, 43609, 34292, 370, 99726, 1238, 3742, 39933, 5465, 63033, 107172, 29598, 4645, 839, 438, 86, 32562, 18151, 2053, 11435, 43486, 60457, 177997, 62160, 30646, 353, ...
[ 0.076904296875, 0.032562255859375, 0.119384765625, 0.2076416015625, 0.158203125, 0.2459716796875, 0.1954345703125, 0.0693359375, 0.16943359375, 0.038421630859375, 0.11279296875, 0.1878662109375, 0.039154052734375, 0.18408203125, 0.16552734375, 0.0687255859375, 0.1650390625, 0.05657...
embed
62726587_c0
62726587
fsharp
0
Title: F# Multiple expressions on one line Problem title: F# Multiple expressions on one line Tags: syntax, f%23 Problem: F# Multiple expressions on one line I am aware of another existing question but it does not exactly answer my specific issue. I am trying to write a let statement, which in idiomatic F# would requir...
F# Multiple expressions on one line F# Multiple expressions on one line syntax f%23 Multiple fn1 fn2 test1 x1:double test2 x2:double F# Multiple expressions on one line I am aware of another existing question but it does not exactly answer my specific issue. I am trying to write a let statement, which in idiomatic F# w...
[ -0.01708984375, 0.003570556640625, -0.01025390625, 0.021728515625, 0.00341796875, -0.004669189453125, 0.00872802734375, -0.0013885498046875, 0.01416015625, -0.0220947265625, -0.0048828125, 0.0242919921875, -0.001922607421875, 0.01007080078125, 0.0213623046875, -0.0048828125, 0.006774...
[ 563, 4904, 19335, 8705, 125195, 7, 98, 1632, 13315, 6002, 86531, 1238, 3742, 14783, 304, 3034, 21555, 2661, 31577, 33022, 2633, 63805, 49666, 9523, 64209, 40368, 18597, 3674, 124519, 3934, 11001, 2256, 25632, 32354, 237, 29806, 23232, 8512, ...
[ 0.145263671875, 0.20263671875, 0.164306640625, 0.160888671875, 0.26708984375, 0.03802490234375, 0.044830322265625, 0.1063232421875, 0.1756591796875, 0.0183258056640625, 0.048370361328125, 0.0855712890625, 0.0936279296875, 0.0665283203125, 0.030059814453125, 0.1170654296875, 0.0148315...
embed
29279885_c0
29279885
fsharp
0
Title: F#: System.Net.WebException Problem title: F#: System.Net.WebException Tags: exception, web, f%23 Problem: F#: System.Net.WebException I am new to programming and F# is my first language. I am currently still very unfamiliar with .NET APIs. As a beginner's project, I want to scrape a website. I want to write a f...
F#: System.Net.WebException F#: System.Net.WebException exception web f%23 System.Net.WebException Page Regex.IsMatch F#: System.Net.WebException I am new to programming and F# is my first language. I am currently still very unfamiliar with .NET APIs. As a beginner's project, I want to scrape a website. I want to write...
[ -0.020263671875, 0.034423828125, 0.0027923583984375, -0.00030517578125, 0.0081787109375, 0.030029296875, -0.004608154296875, 0.00872802734375, 0.006317138671875, -0.000598907470703125, -0.00174713134765625, -0.004852294921875, -0.009033203125, -0.01190185546875, 0.03466796875, -0.01538...
[ 563, 4904, 12353, 24447, 30474, 19279, 63928, 131527, 1467, 1238, 3742, 14231, 11678, 3355, 29598, 79520, 206, 3525, 56037, 449, 5117, 46876, 82424, 69211, 17777, 61687, 9842, 1679, 13452, 3444, 120948, 13, 4165, 33022, 32354, 29458, 31862, 1...
[ 0.1492919921875, 0.2279052734375, 0.17041015625, 0.1922607421875, 0.150634765625, 0.1195068359375, 0.164794921875, 0.17529296875, 0.11328125, 0.0609130859375, 0.112060546875, 0.1124267578125, 0.1090087890625, 0.140869140625, 0.053619384765625, 0.170166015625, 0.032623291015625, 0.0...
embed
27712576_c0
27712576
fsharp
0
Title: Processing a tree in F# using continuations Problem title: Processing a tree in F# using continuations Tags: lambda, f%23, continuations Problem: Processing a tree in F# using continuations I'm trying to understand how continuations work, I have this example that I came across in the book, Real World Functional ...
Processing a tree in F# using continuations Processing a tree in F# using continuations lambda f%23 continuations continuations Processing IntTree Leaf Node Processing a tree in F# using continuations I'm trying to understand how continuations work, I have this example that I came across in the book, Real World Functio...
[ 0.0118408203125, 0.006591796875, 0.004669189453125, -0.004058837890625, 0.0033111572265625, 0.0016632080078125, -0.0026702880859375, -0.0186767578125, 0.00323486328125, -0.04931640625, -0.0301513671875, -0.00897216796875, -0.0003108978271484375, 0.01275634765625, 0.0179443359375, 0.009...
[ 123996, 53201, 563, 4904, 17368, 9454, 5256, 21, 6492, 85, 1238, 3949, 3742, 360, 62731, 636, 2407, 438, 112, 28219, 4488, 27781, 12877, 5120, 6661, 28670, 27958, 92858, 73016, 41524, 56901, 126, 10336, 25927, 185688, 4358, 26366, 17932, 32...
[ 0.1729736328125, 0.2249755859375, 0.1239013671875, 0.2003173828125, 0.04974365234375, 0.27392578125, 0.1444091796875, 0.033843994140625, 0.1761474609375, 0.104248046875, 0.057586669921875, 0.0313720703125, 0.1337890625, 0.039794921875, 0.21533203125, 0.00537109375, 0.073974609375, ...
embed
54266689_c1
54266689
fsharp
1
.AutomatedTests/Project.AutomatedTests.fsproj but tests hangs up with the following exception: at Start.main(String[] _arg1) in /home/vsts/work/1/s/backend/tests/Project.AutomatedTests/Program.fs:line 17 at canopy.classic.start(BrowserStartMode b) in C:\projects\canopy\src\canopy\canopy.fs:line 250 at canopy.parallell....
.AutomatedTests/Project.AutomatedTests.fsproj but tests hangs up with the following exception: at Start.main(String[] _arg1) in /home/vsts/work/1/s/backend/tests/Project.AutomatedTests/Program.fs:line 17 at canopy.classic.start(BrowserStartMode b) in C:\projects\canopy\src\canopy\canopy.fs:line 250 at canopy.parallell....
[ -0.002532958984375, 0.0078125, -0.00958251953125, 0.00653076171875, 0.004547119140625, -0.01361083984375, 0.030517578125, -0.024169921875, 0.00135040283203125, 0.0034637451171875, -0.006866455078125, 0.0220947265625, 0.00152587890625, 0.0228271484375, 0.0126953125, -0.01519775390625, ...
[ 38115, 2227, 111337, 223353, 297, 17447, 3454, 170, 1284, 109921, 10756, 7, 1257, 678, 25632, 131527, 13794, 24931, 71713, 214, 61477, 17727, 29552, 18043, 933, 18244, 12620, 3611, 6954, 148968, 2256, 729, 831, 2146, 53, 67413, 17137, 15555, ...
[ 0.1053466796875, 0.07928466796875, 0.2294921875, 0.108642578125, 0.0200347900390625, 0.1146240234375, 0.1121826171875, 0.1492919921875, 0.058685302734375, 0.264404296875, 0.201171875, 0.004608154296875, 0.13427734375, 0.00103759765625, 0.048004150390625, 0.195068359375, 0.14892578125...
embed
26520540_c0
26520540
fsharp
0
Title: Where does my native pointer go when I subtract to the BitmapData Scan0 Problem title: Where does my native pointer go when I subtract to the BitmapData Scan0 Tags: f%23, pointers Problem: Where does my native pointer go when I subtract to the BitmapData Scan0 I thought that ofNativeInt was returning a pointer t...
Where does my native pointer go when I subtract to the BitmapData Scan0 Where does my native pointer go when I subtract to the BitmapData Scan0 f%23 pointers Where BitmapData Scan0 Test Bitmap img.LockBits Rectangle img.Width img.Height ImageLockMode.ReadWrite PixelFormat.Format32bppArgb pointer:nativeptr NativePtr.ofN...
[ 0.010009765625, 0.0126953125, 0.0024871826171875, 0.035888671875, -0.01287841796875, 0.0133056640625, 0.001495361328125, 0.01031494140625, 0.00439453125, -0.025146484375, 0.004669189453125, 0.0010986328125, 0.0031585693359375, -0.003082275390625, 0.014892578125, -0.017333984375, 0.02...
[ 78662, 759, 24, 4935, 6275, 56, 738, 1614, 39989, 47, 27774, 62346, 137989, 65533, 2389, 14602, 1238, 3742, 1314, 8647, 566, 209848, 571, 14481, 14525, 13025, 22710, 9083, 31345, 111159, 102973, 6460, 6366, 74251, 76, 6328, 42, 353, 4448, ...
[ 0.07666015625, 0.0268096923828125, 0.1578369140625, 0.2056884765625, 0.2091064453125, 0.1763916015625, 0.0853271484375, 0.1214599609375, 0.1585693359375, 0.0196685791015625, 0.0682373046875, 0.181640625, 0.142333984375, 0.134033203125, 0.16357421875, 0.0068359375, 0.01019287109375, ...
embed
9923488_c0
9923488
fsharp
0
Title: reactive extension for f# Problem title: reactive extension for f# Tags: f%23, system.reactive, visual-studio Problem: reactive extension for f# I am trying to call the rx 2.0 frameworok from fsharp. I saw there is a project FSharp.Reactive which tries to map rx2.0 to FSharp. Something very strange happens when ...
reactive extension for f# reactive extension for f# f%23 system.reactive visual-studio FSharp.Reactive2 System System.Reactive System.Reactive.Linq System.Reactive.Concurrency IObservable Subscribes Observable this.Subscribe Action xs2 reactive extension for f# I am trying to call the rx 2.0 frameworok from fsharp. I s...
[ -0.0159912109375, 0.03515625, 0.0025634765625, 0.00177764892578125, -0.00921630859375, -0.003875732421875, -0.0194091796875, 0.031005859375, -0.003021240234375, -0.0242919921875, 0.0030975341796875, -0.0028076171875, 0.005035400390625, 0.005950927734375, 0.007476806640625, 0.0090332031...
[ 456, 71232, 111938, 100, 1238, 4904, 3742, 5426, 107, 21176, 52629, 93774, 3467, 254, 4332, 304, 12353, 44982, 64240, 87, 46471, 65756, 2661, 134019, 87652, 903, 96472, 34601, 57945, 1022, 7, 31577, 11782, 67179, 16655, 123789, 23432, 685, ...
[ 0.162353515625, 0.281982421875, 0.220947265625, 0.0086669921875, 0.1334228515625, 0.197021484375, 0.145751953125, 0.05853271484375, 0.1165771484375, 0.1319580078125, 0.1387939453125, 0.0714111328125, 0.1827392578125, 0.1588134765625, 0.1722412109375, 0.1448974609375, 0.125732421875, ...
embed
28088488_c0
28088488
fsharp
0
Title: Encoding problems using StreamReader and WebResponse Problem title: Encoding problems using StreamReader and WebResponse Tags: streamreader, character-encoding, f%23, xml Problem: Encoding problems using StreamReader and WebResponse I'm trying to read an XML stream using the WorldBank API. The URL in question is...
Encoding problems using StreamReader and WebResponse Encoding problems using StreamReader and WebResponse streamreader character-encoding f%23 xml StreamReader Encoding WebResponse api.worldbank.org per_page url:string HttpWebRequest.Create request.AsyncGetResponse response.GetResponseStream Text.Encoding.UTF8 Async.Aw...
[ 0.0035400390625, 0.0135498046875, 0.002777099609375, -0.0341796875, 0.00811767578125, -0.0203857421875, -0.01129150390625, 0.0020294189453125, -0.01519775390625, -0.007080078125, 0.0142822265625, -0.0218505859375, -0.00225830078125, -0.002655029296875, 0.0279541015625, -0.0100708007812...
[ 357, 587, 6238, 44402, 17368, 115061, 31345, 56, 136, 4002, 94399, 13, 75973, 1283, 820, 62816, 66332, 1238, 3949, 3742, 131492, 31470, 32554, 9802, 1478, 22469, 25002, 91693, 3062, 30474, 75616, 63784, 50336, 12654, 57553, 24129, 7768, 17632...
[ 0.077392578125, 0.22216796875, 0.044036865234375, 0.1666259765625, 0.07275390625, 0.20263671875, 0.256103515625, 0.16650390625, 0.0963134765625, 0.1141357421875, 0.21728515625, 0.03948974609375, 0.1688232421875, 0.21630859375, 0.1331787109375, 0.1463623046875, 0.193359375, 0.066223...
embed
37084320_c1
37084320
fsharp
1
Completed then return ResponseKind.Json result else return ResponseKind.Error (task.Exception) else return ResponseKind.Timeout } let download (wclient : WebClient) (timeout : int option) (base_url : Uri) (sub_url : string) : Async<ResponseKind> = async { let target_uri = Uri(base_url, sub_url) try match timeout with |...
Completed then return ResponseKind.Json result else return ResponseKind.Error (task.Exception) else return ResponseKind.Timeout } let download (wclient : WebClient) (timeout : int option) (base_url : Uri) (sub_url : string) : Async<ResponseKind> = async { let target_uri = Uri(base_url, sub_url) try match timeout with |...
[ -0.0301513671875, 0.0289306640625, 0.0208740234375, -0.01177978515625, 0.025390625, -0.0189208984375, -0.00885009765625, -0.001922607421875, -0.000865936279296875, 0.0294189453125, -0.01068115234375, 0.00238037109375, 0.00311279296875, 0.01708984375, -0.006866455078125, 0.0040588378906...
[ 168318, 71, 30646, 92748, 605, 7250, 1375, 1681, 16750, 37076, 18468, 31611, 1073, 92, 19279, 63928, 70059, 6056, 2633, 7026, 434, 222978, 4002, 441, 150, 2517, 6032, 18, 35829, 37382, 25002, 130885, 22144, 79315, 12654, 94399, 30388, 1162, ...
[ 0.204345703125, 0.0992431640625, 0.1588134765625, 0.2086181640625, 0.050323486328125, 0.2060546875, 0.1201171875, 0.187255859375, 0.1495361328125, 0.1102294921875, 0.084228515625, 0.1107177734375, 0.14990234375, 0.05511474609375, 0.005157470703125, 0.16796875, 0.1573486328125, 0.17...
embed
74492535_c0
74492535
fsharp
0
Title: trouble working around type&lt;seq&lt;seq&lt;int&gt;&gt;? Problem title: trouble working around type&lt;seq&lt;seq&lt;int&gt;&gt;? Tags: sequence, function, f%23 Problem: trouble working around type >? I have defined two function with collatz sequences a sequence for an initial n let rec collatzz n = seq { yield...
trouble working around type&lt;seq&lt;seq&lt;int&gt;&gt;? trouble working around type&lt;seq&lt;seq&lt;int&gt;&gt;? sequence function f%23 Please Seq.initInfinite Seq.findIndex trouble working around type >? I have defined two function with collatz sequences a sequence for an initial n and another sequence that contain...
[ 0.0035552978515625, 0.016845703125, -0.006378173828125, -0.004486083984375, -0.003997802734375, -0.00994873046875, 0.02197265625, -0.00830078125, 0.0120849609375, -0.0478515625, 0.00946044921875, 0.0004444122314453125, 0.00238037109375, 0.018798828125, 0.038330078125, 0.001632690429687...
[ 63134, 20697, 10932, 10644, 184, 864, 4288, 40, 944, 3956, 32354, 1238, 3949, 3742, 30607, 503, 73, 217, 48310, 67, 111607, 4153, 39659, 977, 87, 765, 61924, 6626, 678, 65780, 9136, 26513, 5170, 100, 61475, 653, 15700, 70541, 111, 756, ...
[ 0.2196044921875, 0.183837890625, 0.186279296875, 0.2066650390625, 0.058349609375, 0.1778564453125, 0.070068359375, 0.05828857421875, 0.1412353515625, 0.07550048828125, 0.1856689453125, 0.0780029296875, 0.02972412109375, 0.1453857421875, 0.06524658203125, 0.0675048828125, 0.0138854980...
embed
29046575_c1
29046575
fsharp
1
let executable = System.IO.Path.Combine(targetPath, executable) let startInfo = new ProcessStartInfo() startInfo.WindowStyle <- System.Diagnostics.ProcessWindowStyle.Normal startInfo.FileName <- executable startInfo.Arguments <- parameter startInfo.RedirectStandardOutput <- true startInfo.UseShellExecute <- false star...
let executable = System.IO.Path.Combine(targetPath, executable) let startInfo = new ProcessStartInfo() startInfo.WindowStyle <- System.Diagnostics.ProcessWindowStyle.Normal startInfo.FileName <- executable startInfo.Arguments <- parameter startInfo.RedirectStandardOutput <- true startInfo.UseShellExecute <- false star...
[ -0.01007080078125, 0.00958251953125, -0.0213623046875, 0.0115966796875, -0.005523681640625, 0.005889892578125, 0.007232666015625, -0.0167236328125, -0.01153564453125, -0.00396728515625, 0.0179443359375, 0.041748046875, -0.011962890625, 0.01318359375, 0.024658203125, 0.015869140625, 0...
[ 2633, 71924, 2886, 2203, 12353, 17780, 683, 10519, 10770, 46187, 867, 3794, 4034, 93147, 3525, 123996, 126597, 24293, 209480, 128198, 26531, 50645, 174350, 163612, 7614, 1234, 171859, 80581, 191769, 79858, 29568, 1062, 79544, 211603, 98320, 136, ...
[ 0.142333984375, 0.182861328125, 0.1690673828125, 0.03558349609375, 0.09521484375, 0.137451171875, 0.041839599609375, 0.1331787109375, 0.008880615234375, 0.102783203125, 0.07196044921875, 0.07135009765625, 0.1583251953125, 0.24267578125, 0.05914306640625, 0.1324462890625, 0.1655273437...
embed
17651006_c0
17651006
fsharp
0
Title: F# force an overload of System.String.Format Problem title: F# force an overload of System.String.Format Tags: overloading, f%23 Problem: F# force an overload of System.String.Format I would like to format a string using System.String.Format which has 5 overloads: String String.Format(String format , Object arg0...
F# force an overload of System.String.Format F# force an overload of System.String.Format overloading f%23 System.FormatException System.String.Format String.Format Object arg0 arg1 arg2 IFormatProvider Index F# force an overload of System.String.Format I would like to format a string using System.String.Format which h...
[ -0.0196533203125, 0.016845703125, -0.0016326904296875, 0.00457763671875, -0.00933837890625, -0.01171875, -0.006591796875, 0.01263427734375, -0.01019287109375, -0.00811767578125, 0.00958251953125, -0.0283203125, -0.00390625, -0.0225830078125, -0.00160980224609375, -0.016845703125, 0.0...
[ 563, 4904, 37772, 645, 63033, 12353, 71713, 214, 102973, 257, 1238, 3949, 3742, 19279, 63928, 5, 23351, 134549, 79459, 2389, 418, 304, 87, 177997, 31471, 1884, 9384, 79315, 17368, 190, 4527, 22759, 927, 51776, 10298, 53, 111, 36746, 903, ...
[ 0.118408203125, 0.17724609375, 0.201416015625, 0.135009765625, 0.2373046875, 0.1402587890625, 0.1458740234375, 0.06951904296875, 0.194580078125, 0.0828857421875, 0.1082763671875, 0.0218658447265625, 0.1839599609375, 0.00006103515625, 0.0653076171875, 0.0149993896484375, 0.09948730468...
embed
2296361_c0
2296361
fsharp
0
Title: F# GUI question (translate C# into F#) Problem title: F# GUI question (translate C# into F#) Tags: c%23, f%23 Problem: F# GUI question (translate C# into F#) I am translating a C# project into F#. While the logic part is easy, I am confused with the GUI part: public partial class GomokuGUI : Form { private void ...
F# GUI question (translate C# into F#) F# GUI question (translate C# into F#) c%23 f%23 GUI GomokuGUI Form GomokuGUI_Load EventArgs this.Width this.Height this.Paint PaintEventHandler GomokuGUI_Paint Graphics this.CreateGraphics DrawChessbord PaintEventArgs e.Graphics SolidBrush Pen gp.DrawLine Form1_Click DrawChess F#...
[ -0.0002994537353515625, 0.00131988525390625, 0.0301513671875, -0.0286865234375, 0.0147705078125, -0.0087890625, 0.0012054443359375, -0.00173187255859375, 0.0011749267578125, -0.01373291015625, 0.0150146484375, -0.022705078125, -0.012451171875, 0.007781982421875, -0.01239013671875, 0.00...
[ 563, 4904, 195490, 9655, 30145, 19309, 313, 3934, 3949, 3742, 1238, 2016, 432, 319, 43578, 568, 15236, 15363, 712, 36943, 7614, 9405, 903, 532, 13025, 22553, 8335, 4288, 147854, 192134, 135679, 603, 189682, 63784, 37878, 19379, 18186, 98914, ...
[ 0.1649169921875, 0.24169921875, 0.233642578125, 0.10595703125, 0.093994140625, 0.1070556640625, 0.07464599609375, 0.1065673828125, 0.018829345703125, 0.08935546875, 0.07781982421875, 0.03558349609375, 0.1170654296875, 0.1605224609375, 0.1424560546875, 0.0745849609375, 0.1427001953125...
embed
50455058_c1
50455058
fsharp
1
String<100> tryToRetrieveString () // returns Result<string, ERRType> |> Result.bind String40.create T4 code generation doesn't seem to be an option for F# projects Type providers seem like overkill for this kind of simple templating, and as best as I can tell they can only produce classes, not modules. I'm aware of Sc...
String<100> tryToRetrieveString () // returns Result<string, ERRType> |> Result.bind String40.create T4 code generation doesn't seem to be an option for F# projects Type providers seem like overkill for this kind of simple templating, and as best as I can tell they can only produce classes, not modules. I'm aware of Sc...
[ -0.021484375, 0.003662109375, 0.0002593994140625, 0.00836181640625, 0.005462646484375, 0.00152587890625, 0.00701904296875, -0.021484375, 0.01361083984375, 0.0074462890625, -0.0027313232421875, -0.01336669921875, -0.0107421875, -0.01080322265625, 0.009521484375, -0.005401611328125, -0...
[ 23351, 214, 3559, 9790, 7763, 4332, 3996, 3134, 71713, 30646, 126684, 91693, 151206, 196707, 89817, 2839, 7612, 384, 617, 18151, 58093, 18, 48903, 35829, 563, 4904, 77635, 60457, 81450, 645, 119261, 8562, 8781, 127446, 26518, 4734, 27489, 611...
[ 0.1785888671875, 0.04815673828125, 0.151611328125, 0.0987548828125, 0.067138671875, 0.032989501953125, 0.11376953125, 0.0771484375, 0.15234375, 0.061676025390625, 0.1485595703125, 0.1427001953125, 0.1314697265625, 0.2017822265625, 0.10064697265625, 0.1339111328125, 0.0357666015625, ...
embed
18717501_c1
18717501
fsharp
1
in PrivateInstanceMember()" in C# member private this.PrivateInstanceMember() = privateInstanceField // OK. Expect: "internal int InternalInstanceMember" in C# member internal this.InternalInstanceMember() = privateStaticField I have put together a bit of C# code to make sure I'm not imagining things. C# test code , a...
in PrivateInstanceMember()" in C# member private this.PrivateInstanceMember() = privateInstanceField // OK. Expect: "internal int InternalInstanceMember" in C# member internal this.InternalInstanceMember() = privateStaticField I have put together a bit of C# code to make sure I'm not imagining things. C# test code , a...
[ -0.0021209716796875, -0.00125885009765625, 0.0262451171875, 0.0123291015625, 0.00048828125, -0.004180908203125, 0.0068359375, -0.0194091796875, 0.0120849609375, 0.0299072265625, -0.0027923583984375, 0.0206298828125, 0.00144195556640625, 0.029052734375, 0.0057373046875, -0.0144653320312...
[ 23, 86111, 4153, 116071, 594, 27417, 313, 4904, 32786, 14375, 903, 33163, 24836, 6159, 19388, 14315, 60075, 24762, 10433, 6236, 18, 106745, 141, 70796, 44851, 135206, 4785, 18151, 86898, 3034, 26818, 9969, 1340, 3835, 18507, 8647, 65331, 14, ...
[ 0.0693359375, 0.1961669921875, 0.044830322265625, 0.1522216796875, 0.116943359375, 0.224853515625, 0.002349853515625, 0.1605224609375, 0.223876953125, 0.1920166015625, 0.06976318359375, 0.0692138671875, 0.1246337890625, 0.078125, 0.1383056640625, 0.009307861328125, 0.068603515625, ...
embed
39931078_c0
39931078
fsharp
0
Title: Suave - Control when responses are &#x27;cached&#x27; or recalculated Problem title: Suave - Control when responses are &#x27;cached&#x27; or recalculated Tags: f%23, suave Problem: Suave - Control when responses are 'cached' or recalculated I want to understand how to control when responses are 'cached' versus ...
Suave - Control when responses are &#x27;cached&#x27; or recalculated Suave - Control when responses are &#x27;cached&#x27; or recalculated f%23 suave Suave Control EntryPoint HttpBinding.mk HTTP IPAddress.Loopback uint16 TimeSpan.FromMilliseconds appDemo:WebPart DateTime.Now.ToString Server Successful.OK Suave - Contr...
[ -0.007110595703125, 0.0123291015625, 0.017822265625, -0.004058837890625, 0.00506591796875, 0.00482177734375, -0.00167083740234375, -0.00162506103515625, 0.01287841796875, -0.01806640625, -0.01373291015625, 0.00634765625, -0.00665283203125, 0.0113525390625, 0.0166015625, 0.0090942382812...
[ 45384, 272, 20, 27131, 3229, 57553, 7, 621, 3768, 59863, 297, 707, 456, 6827, 16735, 3674, 1238, 3742, 109829, 357, 15123, 147534, 3062, 16882, 33770, 19201, 135913, 8021, 161007, 15363, 2146, 12620, 4288, 2485, 19055, 3180, 168407, 178449, ...
[ 0.281982421875, 0.287841796875, 0.02850341796875, 0.2568359375, 0.1151123046875, 0.255615234375, 0.033477783203125, 0.0147247314453125, 0.051055908203125, 0.2381591796875, 0.191650390625, 0.0589599609375, 0.1656494140625, 0.1923828125, 0.2044677734375, 0.0853271484375, 0.019348144531...
embed
30880398_c1
30880398
fsharp
1
batches do let! result = batch results := (result :: !results) return (!results |> List.rev |> Seq.collect id |> Array.ofSeq) } To use this function, I replace Async.Parallel with batch 20 (or another integer value): let names = asyncWorkflows |> batch 20 |> Async.RunSynchronously This works reasonably well, but I wou...
batches do let! result = batch results := (result :: !results) return (!results |> List.rev |> Seq.collect id |> Array.ofSeq) } To use this function, I replace Async.Parallel with batch 20 (or another integer value): let names = asyncWorkflows |> batch 20 |> Async.RunSynchronously This works reasonably well, but I wou...
[ -0.0166015625, 0.00787353515625, 0.000005662441253662109, -0.01129150390625, -0.0213623046875, 0.004241943359375, -0.0019683837890625, -0.018310546875, 0.01129150390625, -0.01953125, -0.005584716796875, 0.021240234375, 0.0034027099609375, -0.01434326171875, -0.0111083984375, -0.0051574...
[ 1777, 17007, 54, 2633, 38, 16750, 2203, 206, 50339, 1369, 2109, 7136, 1984, 711, 30646, 32036, 65381, 503, 864, 196352, 3447, 69253, 53, 4390, 4233, 4527, 903, 32354, 91995, 12654, 238, 55292, 1229, 141, 387, 892, 1505, 34292, 123055, 108...
[ 0.260986328125, 0.1964111328125, 0.15087890625, 0.2401123046875, 0.1204833984375, 0.2418212890625, 0.0595703125, 0.1087646484375, 0.230224609375, 0.0167083740234375, 0.10595703125, 0.185302734375, 0.03411865234375, 0.07269287109375, 0.1416015625, 0.1087646484375, 0.10723876953125, ...
embed
878721_c0
878721
fsharp
0
Title: Ranges A to B where A &gt; B in F# Problem title: Ranges A to B where A &gt; B in F# Tags: f%23 Problem: Ranges A to B where A > B in F# I've just found something I'd call a quirk in F# and would like to know whether it's by design or by mistake and if it's by design, why is it so... If you write any range expre...
Ranges A to B where A &gt; B in F# Ranges A to B where A &gt; B in F# f%23 Ranges List.length Ranges A to B where A > B in F# I've just found something I'd call a quirk in F# and would like to know whether it's by design or by mistake and if it's by design, why is it so... If you write any range expression where the fi...
[ 0.01092529296875, 0.022705078125, 0.0093994140625, 0.017333984375, -0.004791259765625, 0.00836181640625, 0.0301513671875, -0.00372314453125, 0.006805419921875, 0.036376953125, 0.00201416015625, 0.02099609375, 0.00555419921875, 0.007476806640625, 0.038330078125, -0.0322265625, 0.00723...
[ 142462, 62, 47, 335, 7440, 5386, 563, 4904, 1238, 3742, 32036, 977, 569, 7190, 23, 4331, 121742, 15400, 221, 33022, 37457, 125195, 5117, 13579, 117396, 3501, 17932, 176377, 944, 3956, 201505, 44961, 748, 31635, 27781, 42238, 28412, 1810, 20...
[ 0.218994140625, 0.0760498046875, 0.1483154296875, 0.1627197265625, 0.021484375, 0.1102294921875, 0.11083984375, 0.200927734375, 0.04534912109375, 0.0885009765625, 0.0888671875, 0.09307861328125, 0.05322265625, 0.1221923828125, 0.008697509765625, 0.1617431640625, 0.06396484375, 0.06...
embed
69997578_c0
69997578
fsharp
0
Title: What&#x27;s the theoretical loophole that allows F# (or any functional language) to apply a function mulitple times on the same input Problem title: What&#x27;s the theoretical loophole that allows F# (or any functional language) to apply a function mulitple times on the same input Tags: functional-programming, ...
What&#x27;s the theoretical loophole that allows F# (or any functional language) to apply a function mulitple times on the same input What&#x27;s the theoretical loophole that allows F# (or any functional language) to apply a function mulitple times on the same input functional-programming f%23 What What's the theoreti...
[ 0.010986328125, 0.005828857421875, 0.0291748046875, -0.0164794921875, 0.01953125, 0.0007781982421875, 0.00933837890625, 0.005828857421875, 0.00860595703125, -0.025390625, 0.00101470947265625, 0.0022430419921875, -0.004852294921875, -0.0028839111328125, 0.01031494140625, 0.0185546875, ...
[ 3768, 4524, 70760, 40956, 70919, 114864, 563, 4904, 123309, 46876, 59911, 32354, 83866, 18, 8705, 20028, 98, 5701, 107730, 28966, 1238, 3742, 33022, 1221, 151575, 125195, 24145, 221419, 91067, 915, 47, 25072, 80280, 80934, 10422, 4734, 30646, ...
[ 0.05108642578125, 0.08123779296875, 0.03485107421875, 0.1707763671875, 0.221923828125, 0.10150146484375, 0.112548828125, 0.22705078125, 0.1234130859375, 0.0919189453125, 0.16552734375, 0.1986083984375, 0.1395263671875, 0.07452392578125, 0.1729736328125, 0.2149658203125, 0.02244567871...
embed
25660620_c0
25660620
fsharp
0
Title: Invalid object name &#x27;syscomments&#x27; when connecting to SQL database in Azure Problem title: Invalid object name &#x27;syscomments&#x27; when connecting to SQL database in Azure Tags: type-providers, sql-server, f%23 Problem: Invalid object name 'syscomments' when connecting to SQL database in Azure I am ...
Invalid object name &#x27;syscomments&#x27; when connecting to SQL database in Azure Invalid object name &#x27;syscomments&#x27; when connecting to SQL database in Azure type-providers sql-server f%23 Invalid SQL Azure SqlDataConnection Server tcp:123456.database.windows.net Database User Password Trusted_Connection En...
[ 0.027099609375, 0.01434326171875, -0.00628662109375, 0.018798828125, -0.0206298828125, 0.012451171875, -0.039794921875, 0.004180908203125, -0.01025390625, -0.0286865234375, 0.002410888671875, -0.025146484375, 0.036376953125, -0.01806640625, -0.02294921875, 0.00058746337890625, -0.010...
[ 360, 7013, 71, 36746, 9351, 3768, 94924, 277, 9035, 3229, 37067, 214, 47, 80866, 63399, 23, 176071, 10644, 93136, 91, 99247, 39642, 3742, 159, 137989, 235603, 22687, 121422, 190875, 13683, 10135, 37382, 229792, 1179, 187781, 53400, 170461, 87...
[ 0.0634765625, 0.199462890625, 0.053314208984375, 0.226318359375, 0.1737060546875, 0.1146240234375, 0.198486328125, 0.184326171875, 0.2239990234375, 0.032958984375, 0.201171875, 0.0202178955078125, 0.0849609375, 0.2215576171875, 0.19580078125, 0.060333251953125, 0.215087890625, 0.11...
embed
70373497_c1
70373497
fsharp
1
OrValInfo, args) | ShapeVar var -> Expr.Var (var |> replaceVar) | ShapeLambda (var, expr) -> Expr.Lambda(var |> replaceVar, substituteExpr expr) | ShapeCombination(shapeComboObject, exprList) -> RebuildShapeCombination(shapeComboObject, List.map substituteExpr exprList) substituteExpr ex |> LeafExpressionConverter.Quot...
OrValInfo, args) | ShapeVar var -> Expr.Var (var |> replaceVar) | ShapeLambda (var, expr) -> Expr.Lambda(var |> replaceVar, substituteExpr expr) | ShapeCombination(shapeComboObject, exprList) -> RebuildShapeCombination(shapeComboObject, List.map substituteExpr exprList) substituteExpr ex |> LeafExpressionConverter.Quot...
[ -0.01123046875, 0.01458740234375, 0.0001316070556640625, 0.0098876953125, 0.01080322265625, 0.000396728515625, -0.01214599609375, 0.00439453125, 0.0026702880859375, 0.017333984375, -0.0166015625, 0.0302734375, -0.00136566162109375, 0.0019989013671875, 0.0089111328125, 0.006927490234375...
[ 3347, 42272, 93147, 79459, 7224, 1081, 81827, 285, 33079, 60075, 42, 1961, 91995, 6492, 85, 14700, 161740, 19279, 10287, 7568, 2420, 10770, 75161, 154663, 853, 177149, 40798, 837, 32036, 62346, 1119, 636, 2407, 178752, 814, 31583, 31, 22062, ...
[ 0.12939453125, 0.23828125, 0.1923828125, 0.1121826171875, 0.173095703125, 0.1214599609375, 0.2159423828125, 0.162841796875, 0.024810791015625, 0.1177978515625, 0.177001953125, 0.1634521484375, 0.13525390625, 0.11328125, 0.1678466796875, 0.0762939453125, 0.2015380859375, 0.044799804...
embed
42193087_c0
42193087
fsharp
0
Title: Strange characters in VSCode FSharp Interactive terminal Problem title: Strange characters in VSCode FSharp Interactive terminal Tags: f%23, visual-studio-code, mono Problem: Strange characters in VSCode FSharp Interactive terminal I try to play with fsharp under Ubuntu (and yes, I slowly figure out that it is m...
Strange characters in VSCode FSharp Interactive terminal Strange characters in VSCode FSharp Interactive terminal f%23 visual-studio-code mono Strange VSCode FSharp Interactive Open Source Edition Apache License Strange characters in VSCode FSharp Interactive terminal I try to play with fsharp under Ubuntu (and yes, I ...
[ -0.000545501708984375, 0.0194091796875, 0.002166748046875, 0.0059814453125, 0.013671875, -0.004547119140625, 0.009765625, 0.0203857421875, -0.01495361328125, 0.025634765625, 0.00136566162109375, -0.00390625, 0.00494384765625, 0.02392578125, -0.00168609619140625, 0.004669189453125, 0....
[ 187791, 124850, 23, 44160, 114211, 93774, 3467, 254, 5337, 71232, 33949, 1238, 3949, 3742, 21176, 52629, 40899, 22460, 13527, 77641, 44965, 9795, 64779, 9790, 11301, 89280, 1379, 116890, 191975, 1286, 24503, 7477, 20600, 77879, 37859, 2506, 111...
[ 0.204345703125, 0.2071533203125, 0.0171356201171875, 0.185546875, 0.22119140625, 0.09442138671875, 0.1981201171875, 0.18017578125, 0.1322021484375, 0.113525390625, 0.23876953125, 0.09210205078125, 0.038726806640625, 0.1270751953125, 0.1162109375, 0.095703125, 0.152099609375, 0.1408...
embed
66250779_c0
66250779
fsharp
0
Title: ReflectionOnly loading is not supported on this platform.F# Compiler(3053) on VSC After Installing RProvider Problem title: ReflectionOnly loading is not supported on this platform.F# Compiler(3053) on VSC After Installing RProvider Tags: f%23-data, f%23 Problem: ReflectionOnly loading is not supported on this p...
ReflectionOnly loading is not supported on this platform.F# Compiler(3053) on VSC After Installing RProvider ReflectionOnly loading is not supported on this platform.F# Compiler(3053) on VSC After Installing RProvider f%23-data f%23 ReflectionOnly platform.F Compiler VSC After Installing RProvider ReflectionOnly loadin...
[ -0.0025482177734375, 0.034912109375, -0.00201416015625, 0.0021209716796875, -0.00225830078125, -0.0123291015625, 0.005615234375, -0.01513671875, -0.0034942626953125, -0.025146484375, 0.006866455078125, -0.0235595703125, 0.00372314453125, -0.00946044921875, 0.0208740234375, 0.0144653320...
[ 53295, 133, 10763, 20320, 538, 72367, 214, 959, 8060, 903, 13651, 4904, 15612, 34759, 1197, 71204, 310, 14495, 107951, 80026, 83220, 820, 10135, 3742, 919, 20600, 61747, 4015, 73372, 22968, 79786, 678, 20633, 1179, 30854, 45151, 104271, 29485...
[ 0.2049560546875, 0.2021484375, 0.12451171875, 0.1436767578125, 0.090087890625, 0.1907958984375, 0.049530029296875, 0.05560302734375, 0.1929931640625, 0.043792724609375, 0.1611328125, 0.128662109375, 0.127197265625, 0.1400146484375, 0.056854248046875, 0.18994140625, 0.0787353515625, ...
embed
4454728_c0
4454728
fsharp
0
Title: How would you program a piano octave? Problem title: How would you program a piano octave? Tags: algorithm, f%23, c%23 Problem: How would you program a piano octave? I would like to write an algorythm that builds regular 3key piano chords progression in a given octave shifting to the next one if not all possible...
How would you program a piano octave? How would you program a piano octave? algorithm f%23 c%23 How Input Note Scale Maj Output How would you program a piano octave? I would like to write an algorythm that builds regular 3key piano chords progression in a given octave shifting to the next one if not all possible notes ...
[ 0.01153564453125, 0.002288818359375, 0.00640869140625, 0.0269775390625, -0.0162353515625, 0.0038909912109375, 0.003082275390625, 0.0027618408203125, -0.003143310546875, -0.015625, -0.01483154296875, -0.025390625, 0.010986328125, 0.00897216796875, -0.0225830078125, -0.0078125, -0.0045...
[ 11249, 2806, 1528, 16569, 154447, 272, 234873, 1238, 3742, 360, 7077, 18622, 152653, 17570, 13538, 10, 1884, 33022, 5745, 68809, 18337, 45367, 20324, 138, 19770, 43678, 6468, 187735, 34475, 122925, 11737, 2174, 959, 756, 7722, 73048, 127918, ...
[ 0.086669921875, 0.08184814453125, 0.1962890625, 0.2430419921875, 0.245849609375, 0.204833984375, 0.189208984375, 0.03814697265625, 0.08447265625, 0.043975830078125, 0.05682373046875, 0.1409912109375, 0.114501953125, 0.164794921875, 0.085205078125, 0.017181396484375, 0.06756591796875,...
embed
19222694_c0
19222694
fsharp
0
Title: Difference between Array.zeroCreate and Array.init Problem title: Difference between Array.zeroCreate and Array.init Tags: f%23, gcallowverylargeobjects, .net Problem: Difference between Array.zeroCreate and Array.init I wanted to show to a colleague that you can allocate more than 2GB of ram, so I made a little...
Difference between Array.zeroCreate and Array.init Difference between Array.zeroCreate and Array.init f%23 gcallowverylargeobjects .net Difference Array.zeroCreate Array.init allocate1MB Array.Parallel.init System.Console.ReadKey Difference between Array.zeroCreate and Array.init I wanted to show to a colleague that yo...
[ 0.015869140625, 0.020751953125, -0.00927734375, 0.00135040283203125, -0.001190185546875, -0.0203857421875, 0.01397705078125, 0.0036773681640625, -0.002227783203125, 0.01153564453125, 0.019287109375, 0.0205078125, 0.0174560546875, 0.017822265625, 0.0189208984375, -0.0242919921875, 0.0...
[ 803, 18234, 6620, 17721, 69253, 53, 5, 80510, 63784, 2182, 136, 73, 217, 3742, 41566, 104643, 320, 187694, 24286, 33478, 12689, 1229, 141, 12353, 40777, 31345, 162429, 7639, 62975, 831, 116, 8359, 13969, 3034, 38415, 43240, 7520, 5426, 9832...
[ 0.0860595703125, 0.20703125, 0.07763671875, 0.0665283203125, 0.184814453125, 0.1759033203125, 0.03564453125, 0.2135009765625, 0.21875, 0.1727294921875, 0.0657958984375, 0.1650390625, 0.2069091796875, 0.0093994140625, 0.041717529296875, 0.037994384765625, 0.0045166015625, 0.12329101...
embed
36864707_c0
36864707
fsharp
0
Title: F# groupBy - System.Exception : unrecognized method call Problem title: F# groupBy - System.Exception : unrecognized method call Tags: f%23, linq Problem: F# groupBy - System.Exception : unrecognized method call I'm trying to query data with F# SqlDataProvider but I got strange error when I'd like to use groupBy...
F# groupBy - System.Exception : unrecognized method call F# groupBy - System.Exception : unrecognized method call f%23 linq System.Exception FSharp.Data.2.2.5 net40 FSharp.Data.dll SQLProvider.1.0.0 FSharp.Data.SQLProvider.dll FSharp.Data.TypeProviders.5.0.0.2 FSharp.Data.TypeProviders.dll FSharp.Data FSharp.Data.Sql F...
[ 0.023681640625, 0.035888671875, -0.017333984375, 0.009033203125, 0.004150390625, 0.000926971435546875, 0.0126953125, -0.00040435791015625, 0.00531005859375, -0.0206298828125, -0.013671875, 0.0028533935546875, 0.009765625, -0.031494140625, -0.0050048828125, -0.0164794921875, 0.0099487...
[ 563, 4904, 21115, 75358, 12353, 19279, 63928, 51, 107, 115558, 64807, 55300, 11782, 1238, 3949, 3742, 96, 44982, 93774, 3467, 254, 137989, 5442, 48413, 2043, 2839, 1181, 80866, 177997, 158897, 196707, 187461, 133684, 99247, 174379, 54601, 17875...
[ 0.14990234375, 0.2286376953125, 0.210693359375, 0.256103515625, 0.10986328125, 0.068603515625, 0.17236328125, 0.0648193359375, 0.0252685546875, 0.146484375, 0.0789794921875, 0.1929931640625, 0.1484375, 0.081298828125, 0.0222930908203125, 0.1656494140625, 0.03485107421875, 0.1767578...
embed
27531510_c0
27531510
fsharp
0
Title: Intuition behind calling Zero for else branch of if..then construct in computation expressions Problem title: Intuition behind calling Zero for else branch of if..then construct in computation expressions Tags: computation-expression, f%23, monads Problem: Intuition behind calling Zero for else branch of if..the...
Intuition behind calling Zero for else branch of if..then construct in computation expressions Intuition behind calling Zero for else branch of if..then construct in computation expressions computation-expression f%23 monads Intuition Zero if..then if...then IdentityBuilder this.Bind this.Return Hello World Intuition b...
[ -0.024169921875, -0.00579833984375, 0.0216064453125, 0.017578125, 0.0306396484375, 0.00732421875, 0.032958984375, 0.0004215240478515625, -0.0098876953125, -0.0042724609375, -0.00811767578125, 0.00677490234375, -0.0196533203125, 0.007232666015625, 0.025634765625, 0.01220703125, 0.0095...
[ 360, 18425, 1363, 50155, 159029, 83947, 100, 37076, 32845, 206, 2174, 92733, 64549, 23, 181135, 125195, 204629, 1238, 3949, 3742, 2667, 712, 71257, 2481, 121137, 56, 903, 7250, 987, 35378, 6661, 68163, 71, 19, 209806, 55300, 66596, 17368, 1...
[ 0.049896240234375, 0.2362060546875, 0.046478271484375, 0.132080078125, 0.173583984375, 0.27783203125, 0.061492919921875, 0.195068359375, 0.1568603515625, 0.082763671875, 0.1856689453125, 0.122314453125, 0.243896484375, 0.006683349609375, 0.152099609375, 0.1744384765625, 0.16882324218...
embed
71917936_c1
71917936
fsharp
1
let testSomethingAsync x = async { if x % 2 = 0 then return Ok x else return Error "oh, no!" } let doSomethingAsync x = asyncResult { try let! a = testSomethingAsync x return a * 2 with ex -> // none of these compile // AsyncResult.returnError "no no no" // Error (AsyncResult.returnError "no no no") // return (AsyncRe...
let testSomethingAsync x = async { if x % 2 = 0 then return Ok x else return Error "oh, no!" } let doSomethingAsync x = asyncResult { try let! a = testSomethingAsync x return a * 2 with ex -> // none of these compile // AsyncResult.returnError "no no no" // Error (AsyncResult.returnError "no no no") // return (AsyncRe...
[ -0.01409912109375, 0.0205078125, -0.007049560546875, -0.02783203125, 0.01226806640625, -0.000408172607421875, -0.012939453125, -0.00469970703125, 0.033935546875, 0.026123046875, 0.00174713134765625, -0.0091552734375, 0.0072021484375, -0.00537109375, 0.0380859375, 0.004791259765625, 0...
[ 2633, 3034, 8912, 282, 64113, 284, 12654, 238, 1022, 2203, 10, 2174, 1745, 116, 757, 30646, 9972, 212059, 10597, 110, 3890, 54, 4332, 7, 7136, 9790, 38, 661, 1119, 351, 13, 9969, 1340, 62, 65395, 18468, 157, 31611, 6953, 1507, 41591, ...
[ 0.17236328125, 0.194580078125, 0.008270263671875, 0.02911376953125, 0.1199951171875, 0.0272216796875, 0.2445068359375, 0.1064453125, 0.1163330078125, 0.0213623046875, 0.0897216796875, 0.013092041015625, 0.048614501953125, 0.1256103515625, 0.1265869140625, 0.18212890625, 0.10815429687...
embed
13832788_c0
13832788
fsharp
0
Title: How do I pass a function to NUnit Throws Constraint? Problem title: How do I pass a function to NUnit Throws Constraint? Tags: f%23, interop, nunit Problem: How do I pass a function to NUnit Throws Constraint? I'm trying to write some NUnit tests in F# and having trouble passing a function to the ThrowsConstrain...
How do I pass a function to NUnit Throws Constraint? How do I pass a function to NUnit Throws Constraint? f%23 interop nunit FileNotFoundException System.ArgumentException ExpectedException How NUnit Throws Constraint ThrowsConstraint System.IO NUnit.Framework TestFixture Example Test File.GetAttributes non-existing.fi...
[ -0.00970458984375, 0.01007080078125, -0.002227783203125, -0.0177001953125, -0.01348876953125, -0.004852294921875, -0.00372314453125, -0.01806640625, -0.009521484375, 0.00555419921875, -0.0007781982421875, 0.0107421875, -0.011962890625, 0.0107421875, 0.0272216796875, -0.012939453125, ...
[ 11249, 27875, 32354, 47, 18057, 6773, 6003, 15555, 7, 1657, 2816, 4288, 1238, 3949, 3742, 1940, 2146, 4124, 217, 42724, 122116, 27591, 7030, 63928, 12353, 1234, 60075, 89829, 11935, 17780, 8647, 89536, 191145, 351, 54376, 29822, 33657, 196707...
[ 0.037628173828125, 0.1392822265625, 0.2049560546875, 0.080810546875, 0.1685791015625, 0.2327880859375, 0.06439208984375, 0.18310546875, 0.0789794921875, 0.0986328125, 0.1778564453125, 0.120849609375, 0.04571533203125, 0.00347900390625, 0.12353515625, 0.0693359375, 0.0928955078125, ...
embed
50196797_c1
50196797
fsharp
1
CfgSettings = { mutable ConnectionString: string mutable Port: int } and CfgSettingsMetadata() = static member containsProperty<'TProperty>(propertyExpression: Linq.Expressions.Expression<Func<CfgSettings,'TProperty>>) = Console.WriteLine "good!" static member addToGroup f = CfgSettingsMetadata.containsProperty(FSharp...
CfgSettings = { mutable ConnectionString: string mutable Port: int } and CfgSettingsMetadata() = static member containsProperty<'TProperty>(propertyExpression: Linq.Expressions.Expression<Func<CfgSettings,'TProperty>>) = Console.WriteLine "good!" static member addToGroup f = CfgSettingsMetadata.containsProperty(FSharp...
[ -0.004730224609375, 0.026611328125, 0.010498046875, -0.00665283203125, -0.0208740234375, 0.01422119140625, 0.00167083740234375, 0.001800537109375, 0.00994873046875, -0.02099609375, -0.0205078125, 0.031005859375, -0.006622314453125, 0.00176239013671875, -0.01373291015625, 0.024169921875...
[ 313, 420, 177, 105548, 2203, 842, 22819, 62448, 1830, 71713, 214, 79315, 13791, 23, 18, 136, 6696, 8656, 102, 201939, 32786, 70541, 1264, 939, 618, 10752, 36290, 56, 178752, 44982, 17514, 97249, 1657, 40777, 1456, 18781, 93232, 70810, 3890,...
[ 0.08465576171875, 0.13427734375, 0.186279296875, 0.3154296875, 0.049346923828125, 0.1292724609375, 0.1865234375, 0.1656494140625, 0.01068115234375, 0.1136474609375, 0.0268096923828125, 0.16064453125, 0.1683349609375, 0.0234222412109375, 0.08251953125, 0.050445556640625, 0.12390136718...
embed
23834758_c0
23834758
fsharp
0
Title: Structural dependency in F# ---- possible without mutable and nullable fields? Problem title: Structural dependency in F# ---- possible without mutable and nullable fields? Tags: c%23-to-f%23, f%23 Problem: Structural dependency in F# ---- possible without mutable and nullable fields? I would like to have two ty...
Structural dependency in F# ---- possible without mutable and nullable fields? Structural dependency in F# ---- possible without mutable and nullable fields? c%23-to-f%23 f%23 Structural Player Team this.Team DoublesTeam playerA:Player playerB:Player this.PlayerA this.PlayerB Structural dependency in F# ---- possible w...
[ 0.01336669921875, 0.013916015625, -0.00023174285888671875, 0.0087890625, -0.005859375, 0.00726318359375, 0.00634765625, -0.00146484375, 0.008056640625, 0.0185546875, 0.0048828125, 0.0303955078125, -0.0032806396484375, 0.006561279296875, 0.0098876953125, 0.01165771484375, 0.0148925781...
[ 63667, 73317, 141, 42548, 27771, 23, 563, 4904, 112111, 7722, 15490, 842, 22819, 136, 9229, 2661, 44457, 27495, 188, 420, 3742, 1238, 60560, 11399, 903, 101409, 107172, 58585, 142581, 571, 1884, 6626, 52895, 765, 12638, 3789, 237, 170358, 5...
[ 0.166259765625, 0.199951171875, 0.063720703125, 0.2099609375, 0.1094970703125, 0.0159149169921875, 0.1591796875, 0.2271728515625, 0.0137939453125, 0.11572265625, 0.107177734375, 0.1138916015625, 0.13427734375, 0.0369873046875, 0.1575927734375, 0.1402587890625, 0.23681640625, 0.0547...
embed
27082909_c0
27082909
fsharp
0
Title: Project Euler #8 in F# Problem title: Project Euler #8 in F# Tags: f%23 Problem: Project Euler #8 in F# I disgress, I am stuck and I really can't wrap my head around what's wrong. The problem reads. Find the thirteen adjacent digits in the 1000-digit number that have the greatest product. What is the value of th...
Project Euler #8 in F# Project Euler #8 in F# f%23 987 Project Euler problem8 Seq.filter Char.IsDigit Seq.toArray i..i Seq.map Seq.fold int64 Char.GetNumericValue Seq.max Project Euler #8 in F# I disgress, I am stuck and I really can't wrap my head around what's wrong. The problem reads. Now I store the digit as a stri...
[ -0.00628662109375, 0.01385498046875, 0.001678466796875, 0.009033203125, -0.022705078125, 0.017822265625, -0.005889892578125, 0.004608154296875, -0.001556396484375, -0.0380859375, 0.003997802734375, 0.030029296875, -0.04443359375, 0.006988525390625, -0.00069427490234375, -0.006927490234...
[ 27331, 5177, 603, 1019, 563, 4904, 1238, 3742, 185752, 2967, 503, 864, 120337, 21656, 29598, 14055, 15769, 188, 7614, 7092, 62346, 42822, 13307, 18444, 282, 856, 50770, 24084, 23, 19623, 444, 179933, 6183, 831, 18, 137565, 10336, 10932, 446...
[ 0.1190185546875, 0.1434326171875, 0.17529296875, 0.211669921875, 0.120849609375, 0.19384765625, 0.081787109375, 0.059051513671875, 0.178955078125, 0.16259765625, 0.0404052734375, 0.1383056640625, 0.181640625, 0.125732421875, 0.089111328125, 0.06744384765625, 0.1585693359375, 0.0822...
embed
70568689_c0
70568689
fsharp
0
Title: fparsec - limit number of characters that a parser is applied to Problem title: fparsec - limit number of characters that a parser is applied to Tags: fparsec, f%23 Problem: fparsec - limit number of characters that a parser is applied to I have a problem where during the parsing of a stream I get to point where...
fparsec - limit number of characters that a parser is applied to fparsec - limit number of characters that a parser is applied to fparsec f%23 a42 many1 fparsec - limit number of characters that a parser is applied to I have a problem where during the parsing of a stream I get to point where the next N characters need ...
[ 0.000606536865234375, 0.0157470703125, 0.01361083984375, 0.00897216796875, 0.0118408203125, 0.002471923828125, 0.01153564453125, -0.008056640625, 0.024169921875, -0.041015625, 0.004486083984375, 0.001800537109375, -0.01220703125, 0.004302978515625, 0.00823974609375, -0.0050048828125, ...
[ 1238, 2500, 39797, 17475, 14012, 124850, 366, 2189, 83, 190659, 47, 3742, 13023, 5941, 418, 450, 2967, 20271, 6953, 75973, 2046, 6275, 11737, 541, 3871, 5281, 59911, 48502, 20941, 48716, 20028, 944, 7655, 7565, 72713, 729, 117414, 2489, 125...
[ 0.14501953125, 0.209716796875, 0.253662109375, 0.20263671875, 0.121826171875, 0.193359375, 0.1995849609375, 0.1971435546875, 0.0168914794921875, 0.1514892578125, 0.03656005859375, 0.10791015625, 0.1094970703125, 0.1597900390625, 0.0692138671875, 0.0242462158203125, 0.1185302734375, ...
embed
29543980_c0
29543980
fsharp
0
Title: F#: Error FS0030: Value restriction Problem title: F#: Error FS0030: Value restriction Tags: f%23 Problem: F#: Error FS0030: Value restriction I am new to programming and F# is my first language. Here are the relevant parts of my code: let rec splitArrayIntoGroups (inputArray: string[]) (groupSize: int) (hashSet...
F#: Error FS0030: Value restriction F#: Error FS0030: Value restriction f%23 Error FS0030 Value HashSet inputArray.Length hashSetOfGroups.Add F#: Error FS0030: Value restriction I am new to programming and F# is my first language. Here are the relevant parts of my code: urlArray is an array of almost 3200 URLs. When I ...
[ -0.0205078125, 0.00970458984375, -0.004547119140625, -0.00013446807861328125, 0.0024261474609375, -0.00537109375, 0.0012664794921875, -0.01007080078125, 0.00860595703125, -0.0130615234375, -0.000461578369140625, 0.0019683837890625, 0.0155029296875, -0.0030059814453125, 0.0101318359375, ...
[ 563, 4904, 212059, 93774, 7049, 1197, 190060, 185190, 1238, 3949, 3742, 162087, 294, 126, 107730, 7614, 7092, 449, 1556, 127, 132887, 205072, 4028, 12, 444, 3525, 47, 56037, 5117, 46876, 29191, 63920, 18151, 25002, 83, 142, 10298, 53, 111, ...
[ 0.171875, 0.22216796875, 0.1865234375, 0.183349609375, 0.10589599609375, 0.2235107421875, 0.2352294921875, 0.244873046875, 0.0814208984375, 0.008880615234375, 0.108642578125, 0.17041015625, 0.110107421875, 0.096435546875, 0.1260986328125, 0.10430908203125, 0.1802978515625, 0.007904...
embed
49213831_c0
49213831
fsharp
0
Title: comparing status code of the response Problem title: comparing status code of the response Tags: f%23 Problem: comparing status code of the response I'm getting an error that says result of this expression is implicitly ignored. Consider using ignore to discard this value explicitly... not understanding what's w...
comparing status code of the response comparing status code of the response f%23 WebRequest.Create HttpWebRequest request.Method POST request.ContentType request.Accept UTF-8 request.ContentLength int64 data.Length request.GetRequestStream requestStream.Write requestStream.Flush requestStream.Close request.GetResponse ...
[ -0.01434326171875, 0.0186767578125, 0.0174560546875, -0.02001953125, 0.0255126953125, -0.00191497802734375, 0.0037078857421875, 0.005340576171875, 0.00128936767578125, 0.037353515625, 0.0091552734375, 0.00439453125, -0.0040283203125, -0.004486083984375, 0.00099945068359375, 0.013732910...
[ 37397, 214, 10778, 18151, 57553, 1238, 3742, 75616, 63784, 3062, 50336, 81903, 25352, 196707, 30992, 17376, 13307, 2053, 115061, 5782, 59453, 94399, 135206, 223, 114211, 9092, 27781, 587, 18499, 16750, 903, 125195, 165164, 124962, 137399, 17116, ...
[ 0.1859130859375, 0.02520751953125, 0.171875, 0.1749267578125, 0.19482421875, 0.00537109375, 0.1077880859375, 0.08331298828125, 0.032562255859375, 0.0006103515625, 0.09912109375, 0.0736083984375, 0.052978515625, 0.08349609375, 0.0927734375, 0.1097412109375, 0.119140625, 0.0041809082...
embed
7891764_c0
7891764
fsharp
0
Title: Overloading constructor without initialization Problem title: Overloading constructor without initialization Tags: f%23 Problem: Overloading constructor without initialization I'm writing a generic class that has two constructors: the first one initializes every field, the second (parameter-less) should not init...
Overloading constructor without initialization Overloading constructor without initialization f%23 Overloading Container Guid _id _content Guid.Empty this.Id this.Content Overloading constructor without initialization I'm writing a generic class that has two constructors: the first one initializes every field, the seco...
[ 0.00008487701416015625, 0.00787353515625, -0.01953125, -0.0034637451171875, 0.00872802734375, -0.00457763671875, -0.0019989013671875, -0.020263671875, 0.005615234375, 0.005828857421875, 0.006622314453125, 0.005035400390625, -0.004241943359375, 0.0084228515625, -0.00347900390625, -0.000...
[ 9578, 63033, 64549, 748, 15490, 61475, 47691, 214, 1238, 3949, 3742, 34749, 20037, 6955, 532, 69246, 134332, 939, 903, 25352, 32562, 189534, 18507, 6626, 25251, 20650, 11907, 44457, 17932, 29089, 9393, 5608, 959, 23937, 3917, 69307, 159029, 5...
[ 0.127685546875, 0.2139892578125, 0.17626953125, 0.150390625, 0.1390380859375, 0.1767578125, 0.0665283203125, 0.0280914306640625, 0.03753662109375, 0.013763427734375, 0.0989990234375, 0.1385498046875, 0.102294921875, 0.1561279296875, 0.13818359375, 0.1636962890625, 0.1141357421875, ...
embed
46602208_c0
46602208
fsharp
0
Title: How to add metadata to the System.Type? Problem title: How to add metadata to the System.Type? Tags: f%23, .net, reflection Problem: How to add metadata to the System.Type? I've been working on a language, but in terms of .NET integration I've only managed to get primitive types working so far. Last night I had ...
How to add metadata to the System.Type? How to add metadata to the System.Type? f%23 .net reflection How System.Type System.Object SpiralType IntT StringT TupleT How to add metadata to the System.Type? I've been working on a language, but in terms of .NET integration I've only managed to get primitive types working so ...
[ -0.00714111328125, 0.0281982421875, -0.002716064453125, 0.012939453125, -0.02685546875, -0.004547119140625, -0.007476806640625, 0.026611328125, 0.003692626953125, -0.043212890625, 0.013427734375, 0.014892578125, -0.007781982421875, 0.003326416015625, -0.00689697265625, 0.00497436523437...
[ 11249, 15190, 23550, 10135, 47, 12353, 5, 196707, 3742, 1179, 44961, 1830, 46471, 75161, 144833, 23351, 618, 1371, 8705, 20697, 46876, 17777, 157353, 145755, 128489, 52895, 6528, 26366, 24763, 370, 99726, 88996, 32354, 10644, 78292, 27140, 2686...
[ 0.0716552734375, 0.153076171875, 0.212158203125, 0.190185546875, 0.077880859375, 0.1842041015625, 0.042572021484375, 0.269287109375, 0.0238189697265625, 0.11865234375, 0.195068359375, 0.042938232421875, 0.0611572265625, 0.07708740234375, 0.0860595703125, 0.0330810546875, 0.0227203369...
embed
20238930_c1
20238930
fsharp
1
based on the need to wrap together a number of functions. ///////////////////////////////////////////////////////////////////////////////////// // Definition of the state ///////////////////////////////////////////////////////////////////////////////////// type StateFunc<'State, 'T> = 'State -> 'T * 'State ///////////...
based on the need to wrap together a number of functions. ///////////////////////////////////////////////////////////////////////////////////// // Definition of the state ///////////////////////////////////////////////////////////////////////////////////// type StateFunc<'State, 'T> = 'State -> 'T * 'State ///////////...
[ -0.023193359375, 0.0245361328125, 0.0074462890625, -0.0096435546875, 0.000125885009765625, 0.01312255859375, -0.012451171875, -0.014892578125, 0.020263671875, -0.0257568359375, 0.0108642578125, 0.01519775390625, -0.02685546875, 0.0091552734375, -0.002288818359375, 0.0146484375, 0.000...
[ 35509, 98, 3871, 47, 137565, 25842, 14012, 32354, 7, 5, 248, 223009, 4666, 155455, 111, 70, 11341, 10644, 22836, 97249, 238, 135206, 618, 33079, 661, 2667, 712, 46674, 121137, 56, 276, 32786, 876, 4332, 987, 168407, 7477, 91, 1062, 571, ...
[ 0.181884765625, 0.0677490234375, 0.1610107421875, 0.0221710205078125, 0.2105712890625, 0.1787109375, 0.085205078125, 0.227783203125, 0.033172607421875, 0.02142333984375, 0.042999267578125, 0.03900146484375, 0.0516357421875, 0.2401123046875, 0.12158203125, 0.10272216796875, 0.29565429...
embed
62818742_c0
62818742
fsharp
0
Title: how to explicitly reference an operator Problem title: how to explicitly reference an operator Tags: f%23 Problem: how to explicitly reference an operator I'm trying to have a go with Microsoft.ML.Probabilistic, and the examples are in C#. e.g. static void Main(string[] args) { var firstHeads = Variable.Bernoull...
how to explicitly reference an operator how to explicitly reference an operator f%23 Main Variable.Bernoulli Variable how to explicitly reference an operator I'm trying to have a go with Microsoft.ML.Probabilistic, and the examples are in C#. e.g. now there's a bit of magic going on in there, the & operator is resolved...
[ 0.025390625, 0.01318359375, 0.029052734375, 0.021240234375, 0.01141357421875, 0.0174560546875, 0.005218505859375, 0.01116943359375, 0.006591796875, -0.03662109375, 0.00087738037109375, 0.01263427734375, 0.0103759765625, -0.0123291015625, 0.010986328125, 0.002410888671875, -0.00692749...
[ 3642, 47, 143726, 538, 91067, 142, 39933, 1238, 3949, 3742, 12321, 84572, 2886, 33189, 3165, 7532, 7244, 39456, 10752, 402, 2721, 48242, 27781, 313, 4904, 5036, 4785, 49846, 2685, 619, 103608, 9969, 34759, 112302, 17368, 423, 5369, 7941, 44...
[ 0.1025390625, 0.04541015625, 0.238525390625, 0.070068359375, 0.2783203125, 0.0384521484375, 0.28369140625, 0.1337890625, 0.10040283203125, 0.1949462890625, 0.07073974609375, 0.1531982421875, 0.061767578125, 0.1231689453125, 0.197265625, 0.2191162109375, 0.07440185546875, 0.12365722...
embed
41604526_c0
41604526
fsharp
0
Title: Definition of EntryPoint via composition in F# Problem title: Definition of EntryPoint via composition in F# Tags: f%23, ocaml Problem: Definition of EntryPoint via composition in F# I was trying to get a better understanding of the Functional way of coding, and just wrote a small program to print back the facto...
Definition of EntryPoint via composition in F# Definition of EntryPoint via composition in F# f%23 ocaml Definition EntryPoint System Console.ReadLine Int32.Parse Console.WriteLine Definition of EntryPoint via composition in F# I was trying to get a better understanding of the Functional way of coding, and just wrote a...
[ -0.009521484375, 0.0045166015625, 0.0185546875, 0.01507568359375, -0.01055908203125, -0.004241943359375, 0.0133056640625, -0.00927734375, -0.01092529296875, -0.0137939453125, -0.0081787109375, 0.00019741058349609375, -0.01116943359375, 0.006622314453125, 0.0037841796875, -0.00787353515...
[ 155455, 357, 15123, 147534, 1829, 166577, 563, 4904, 23, 1238, 3742, 36, 9779, 141, 12353, 40777, 31345, 93232, 18, 6460, 28636, 28670, 552, 19336, 1528, 28412, 4420, 31461, 15403, 38937, 36126, 14012, 79786, 5885, 5201, 61924, 390, 37842, ...
[ 0.1695556640625, 0.1492919921875, 0.230712890625, 0.1998291015625, 0.1500244140625, 0.296630859375, 0.129150390625, 0.2198486328125, 0.0848388671875, 0.0789794921875, 0.09832763671875, 0.06671142578125, 0.10284423828125, 0.0958251953125, 0.10723876953125, 0.120849609375, 0.0728149414...
embed
32723077_c0
32723077
fsharp
0
Title: This expression was expected to have type unit Problem title: This expression was expected to have type unit Tags: f%23-interactive, f%23, unit-type Problem: This expression was expected to have type unit I have the following code. in this line if min<=0 then min <- List.nth list i |>ignore i have 2 errors. firs...
This expression was expected to have type unit This expression was expected to have type unit f%23-interactive f%23 unit-type List.nth touple2 List.sort GetMin List.rev List.head GetMax touple3 This expression was expected to have type unit I have the following code. in this line i have 2 errors. first in 0 it is and t...
[ -0.0030517578125, -0.00107574462890625, 0.034912109375, 0.00101470947265625, 0.00665283203125, -0.00689697265625, 0.009033203125, 0.01123046875, 0.0177001953125, 0.01806640625, 0.004974365234375, 0.016357421875, -0.00244140625, 0.0081787109375, 0.00897216796875, -0.002105712890625, 0...
[ 3293, 125195, 509, 84751, 765, 10644, 25072, 1238, 167218, 27495, 10433, 71232, 3742, 50986, 32036, 927, 47, 34, 8705, 304, 62351, 20779, 59076, 65381, 31251, 71346, 363, 25632, 18151, 903, 13315, 116, 18499, 5117, 23, 757, 442, 83, 136, ...
[ 0.084228515625, 0.257568359375, 0.11181640625, 0.2093505859375, 0.0745849609375, 0.2049560546875, 0.2396240234375, 0.0775146484375, 0.042999267578125, 0.0946044921875, 0.09130859375, 0.08514404296875, 0.12353515625, 0.2208251953125, 0.1795654296875, 0.1588134765625, 0.030059814453125...
embed
37807424_c0
37807424
fsharp
0
Title: Type mismatch error in result type Problem title: Type mismatch error in result type Tags: f%23 Problem: Type mismatch error in result type I was playing around with writing a result type and assorted functions, and came across a type mismatch error I cannot explain. Here is a minimum example: type ('a, 'b) resu...
Type mismatch error in result type Type mismatch error in result type f%23 Type Success Failure List.concat init.fsx FS0001 Expecting Type mismatch error in result type I was playing around with writing a result type and assorted functions, and came across a type mismatch error I cannot explain. Here is a minimum examp...
[ 0.00115203857421875, 0.0062255859375, 0.01513671875, -0.0035858154296875, 0.0027923583984375, -0.01806640625, -0.01275634765625, -0.00335693359375, 0.018798828125, 0.0224609375, 0.006591796875, -0.006500244140625, -0.017822265625, -0.016357421875, 0.010009765625, 0.00640869140625, 0....
[ 60457, 1239, 98753, 18499, 16750, 10644, 23, 1238, 3949, 3742, 144053, 190355, 32036, 2271, 4460, 217, 17447, 425, 93774, 188735, 60075, 24762, 62351, 32354, 53418, 73342, 15440, 27781, 15612, 49725, 18151, 27489, 15549, 59911, 59499, 35064, 99...
[ 0.2108154296875, 0.1083984375, 0.269287109375, 0.1480712890625, 0.184326171875, 0.1959228515625, 0.00848388671875, 0.06646728515625, 0.03375244140625, 0.12939453125, 0.1453857421875, 0.1201171875, 0.09112548828125, 0.0226287841796875, 0.0880126953125, 0.023895263671875, 0.03735351562...
embed
49586488_c1
49586488
fsharp
1
25): [FS0001] Type mismatch. Expecting a '(string -> string -> Async<Result<string,Error>>) -> 'a' but given a 'Async<Result<string,'b>> -> Async<Result<string,'b>>' The type 'string -> string -> Async<Result<string,Error>>' does not match the type 'Async<Result<string,'a>>' . Edit Curried or partial application In con...
25): [FS0001] Type mismatch. Expecting a '(string -> string -> Async<Result<string,Error>>) -> 'a' but given a 'Async<Result<string,'b>> -> Async<Result<string,'b>>' The type 'string -> string -> Async<Result<string,Error>>' does not match the type 'Async<Result<string,'a>>' . Edit Curried or partial application In con...
[ 0.001708984375, 0.01055908203125, 0.0029296875, -0.0111083984375, -0.000270843505859375, -0.0125732421875, 0.000209808349609375, -0.0260009765625, 0.0069580078125, 0.010009765625, 0.00909423828125, 0.023681640625, 0.004486083984375, -0.0103759765625, 0.02490234375, 0.004608154296875, ...
[ 714, 36381, 188735, 60457, 1239, 98753, 60075, 24762, 91693, 33079, 79315, 12654, 238, 7, 7136, 18468, 31611, 11, 1284, 275, 10644, 14602, 959, 14858, 17065, 46572, 2878, 38415, 43701, 2967, 9709, 32354, 28282, 903, 138256, 2633, 6448, 33, ...
[ 0.1217041015625, 0.0999755859375, 0.2100830078125, 0.2449951171875, 0.1351318359375, 0.29345703125, 0.09832763671875, 0.1099853515625, 0.1873779296875, 0.080810546875, 0.197509765625, 0.201416015625, 0.080322265625, 0.0916748046875, 0.1435546875, 0.0626220703125, 0.1627197265625, 0...
embed
4613921_c0
4613921
fsharp
0
Title: Does F# Interpreter (fsi.exe) also produces Intermediate Language-Code as F# Compiler (fsc.exe) does? Problem title: Does F# Interpreter (fsi.exe) also produces Intermediate Language-Code as F# Compiler (fsc.exe) does? Tags: f%23, .net, interpreter, intermediate-language Problem: Does F# Interpreter (fsi.exe) al...
Does F# Interpreter (fsi.exe) also produces Intermediate Language-Code as F# Compiler (fsc.exe) does? Does F# Interpreter (fsi.exe) also produces Intermediate Language-Code as F# Compiler (fsc.exe) does? f%23 .net interpreter intermediate-language Does Interpreter fsi.exe Intermediate Language-Code Compiler fsc.exe Doe...
[ 0.00024127960205078125, -0.00116729736328125, 0.01519775390625, 0.00445556640625, -0.0185546875, 0.0004119873046875, 0.01385498046875, 0.0115966796875, -0.01519775390625, -0.007354736328125, -0.007598876953125, 0.0103759765625, -0.00567626953125, 0.00677490234375, -0.001251220703125, 0...
[ 101790, 563, 4904, 5337, 56359, 56, 420, 172, 5, 46480, 2843, 27489, 12333, 67, 83658, 114211, 15612, 34759, 17447, 238, 1238, 3742, 1179, 29481, 81814, 2182, 196651, 10382, 22938, 152363, 9655, 212398, 1657, 40777, 136, 9969, 7244, 594, 68...
[ 0.036590576171875, 0.13720703125, 0.2216796875, 0.1251220703125, 0.1854248046875, 0.1005859375, 0.09234619140625, 0.1429443359375, 0.002410888671875, 0.15234375, 0.0209197998046875, 0.13818359375, 0.17138671875, 0.04071044921875, 0.14697265625, 0.1552734375, 0.13232421875, 0.143188...
embed
24021546_c1
24021546
fsharp
1
<_> of p and endp is tracked, along with the stream.StateTag . In my implementation, in contrast I did not see the need to use stream.StateTag , solely relying on the Reply<_> status code. In case of an unsuccessful parse, skipManyTillEx backtracks to the streams initial state and reports an error. Could possibly the b...
<_> of p and endp is tracked, along with the stream.StateTag . In my implementation, in contrast I did not see the need to use stream.StateTag , solely relying on the Reply<_> status code. In case of an unsuccessful parse, skipManyTillEx backtracks to the streams initial state and reports an error. Could possibly the b...
[ -0.015380859375, 0.03759765625, -0.00074005126953125, -0.009033203125, 0.006927490234375, 0.01953125, 0.0013427734375, -0.0283203125, 0.0234375, -0.00982666015625, 0.0076904296875, 0.01092529296875, 0.0284423828125, 0.013427734375, -0.006988525390625, 0.0206298828125, 0.0041198730468...
[ 454, 111, 915, 136, 3564, 254, 28560, 297, 75973, 135206, 66448, 208124, 69822, 1957, 3871, 122813, 10778, 18151, 7225, 51, 226534, 366, 21658, 12662, 53, 618, 5713, 19279, 4420, 125728, 47, 61475, 11341, 117729, 18499, 214, 669, 54, 35672,...
[ 0.0692138671875, 0.10986328125, 0.1102294921875, 0.0283050537109375, 0.118408203125, 0.1160888671875, 0.19287109375, 0.04815673828125, 0.186279296875, 0.063720703125, 0.162353515625, 0.06158447265625, 0.0753173828125, 0.03460693359375, 0.00042724609375, 0.126220703125, 0.115600585937...
embed
64514115_c0
64514115
fsharp
0
Title: How can I extend System.DateTime in F#? Problem title: How can I extend System.DateTime in F#? Tags: f%23, extension-methods Problem: How can I extend System.DateTime in F#? I would like to extend DateTime in the following fashion: [<AutoOpen>] type System.DateTime with member this.floor (interval: TimeSpan) = t...
How can I extend System.DateTime in F#? How can I extend System.DateTime in F#? f%23 extension-methods How System.DateTime AutoOpen this.floor TimeSpan this.AddTicks this.Ticks interval.Ticks this.ceiling this.round How can I extend System.DateTime in F#? I would like to extend DateTime in the following fashion: based ...
[ -0.016845703125, 0.00022602081298828125, 0.023193359375, 0.00726318359375, -0.0201416015625, -0.0228271484375, -0.006103515625, 0.008544921875, -0.008056640625, -0.020751953125, 0.0036773681640625, 0.036865234375, -0.0118408203125, 0.020263671875, -0.0022125244140625, -0.00607299804687...
[ 11249, 831, 87, 65042, 12353, 86291, 70059, 23, 563, 4904, 5, 1238, 3742, 111938, 7352, 4396, 103264, 903, 52347, 19055, 3180, 4028, 16734, 51514, 329, 49725, 67688, 1884, 25512, 25632, 54543, 21973, 162856, 10091, 136, 49472, 4488, 198371, ...
[ 0.044677734375, 0.06500244140625, 0.038665771484375, 0.2188720703125, 0.1734619140625, 0.1795654296875, 0.250244140625, 0.06622314453125, 0.1630859375, 0.2156982421875, 0.005157470703125, 0.093994140625, 0.116455078125, 0.166748046875, 0.0640869140625, 0.0877685546875, 0.144775390625...
embed
35135718_c1
35135718
fsharp
1
() let running = ref true // Generate a group starting with the current element. Stops generating // when it founds element such that 'f en.Current' is 'true' let rec group() = [ yield en.Current if en.MoveNext() then if not (f en.Current) then yield! group() // *** Exception occurs here *** else running := false ] if ...
() let running = ref true // Generate a group starting with the current element. Stops generating // when it founds element such that 'f en.Current' is 'true' let rec group() = [ yield en.Current if en.MoveNext() then if not (f en.Current) then yield! group() // *** Exception occurs here *** else running := false ] if ...
[ 0.016357421875, 0.022216796875, 0.005767822265625, 0.001251220703125, 0.00872802734375, 0.012451171875, -0.003875732421875, -0.002655029296875, 0.0101318359375, -0.0029144287109375, -0.0186767578125, 0.05029296875, -0.0059814453125, 0.0048828125, 0.019287109375, 0.00421142578125, 0.0...
[ 2633, 51042, 2203, 18831, 29568, 4666, 155370, 67, 10, 21115, 72134, 678, 43581, 12830, 42284, 12663, 14037, 7, 420, 22, 474, 15724, 25, 9774, 13, 21954, 16, 11180, 19388, 5, 441, 9083, 272, 81280, 15, 38, 5443, 63928, 74918, 1369, 9832...
[ 0.1524658203125, 0.26416015625, 0.06939697265625, 0.268310546875, 0.1827392578125, 0.027862548828125, 0.2032470703125, 0.05322265625, 0.010406494140625, 0.25244140625, 0.1068115234375, 0.0767822265625, 0.205810546875, 0.192138671875, 0.1798095703125, 0.171630859375, 0.1429443359375, ...
embed
167909_c0
167909
fsharp
0
Title: Is F# suitable for Physics applications? Problem title: Is F# suitable for Physics applications? Tags: f%23, .net, physics Problem: Is F# suitable for Physics applications? I hate Physics, but I love software development. When I go back to school after Thanksgiving, I'll be taking two more quarters of Physics be...
Is F# suitable for Physics applications? Is F# suitable for Physics applications? f%23 .net physics Physics Is F# suitable for Physics applications? I hate Physics, but I love software development. When I go back to school after Thanksgiving, I'll be taking two more quarters of Physics before I'm done with the horrid t...
[ -0.004730224609375, 0.0003528594970703125, 0.0164794921875, -0.006134033203125, -0.015869140625, -0.0140380859375, 0.00250244140625, -0.000392913818359375, 0.0166015625, -0.018798828125, -0.0101318359375, 0.0003070831298828125, 0.000278472900390625, -0.0113525390625, 0.0098876953125, 0...
[ 2071, 563, 4904, 202319, 100, 165712, 7, 86685, 32, 1238, 3949, 3742, 5, 1179, 34053, 27744, 35463, 1284, 5161, 10975, 34754, 14847, 738, 4420, 10696, 7103, 229075, 1181, 35971, 6626, 1286, 128274, 111, 8108, 16940, 678, 152240, 13580, 1645...
[ 0.0867919921875, 0.1800537109375, 0.27099609375, 0.2109375, 0.110595703125, 0.23779296875, 0.1180419921875, 0.1888427734375, 0.006591796875, 0.13134765625, 0.060760498046875, 0.1243896484375, 0.107177734375, 0.1744384765625, 0.1214599609375, 0.1356201171875, 0.181396484375, 0.00054...
embed
43229428_c0
43229428
fsharp
0
Title: Client-serv. app run: System.ArgumentException: An item with the same key has already been added Problem title: Client-serv. app run: System.ArgumentException: An item with the same key has already been added Tags: websharper, iis, web, f%23 Problem: Client-serv. app run: System.ArgumentException: An item with t...
Client-serv. app run: System.ArgumentException: An item with the same key has already been added Client-serv. app run: System.ArgumentException: An item with the same key has already been added websharper iis web f%23 System.ArgumentException Client-serv WebSharper NET ASP.NET v.3.6.15.238 UI.Next v.3.6.15.211 Client-s...
[ -0.0245361328125, 0.0172119140625, -0.0096435546875, -0.038818359375, 0.00098419189453125, -0.0157470703125, -0.0174560546875, 0.00396728515625, -0.005462646484375, -0.0257568359375, 0.005218505859375, 0.0189208984375, 0.0269775390625, 0.0057373046875, 0.01708984375, 0.003387451171875,...
[ 91732, 62016, 4027, 11675, 12353, 7614, 1234, 19279, 63928, 893, 35735, 678, 5701, 22799, 1556, 21771, 2809, 49814, 1467, 89280, 1264, 3742, 4002, 3467, 17777, 147153, 158296, 10991, 111481, 81280, 31089, 13158, 51042, 294, 23282, 39642, 47, ...
[ 0.1634521484375, 0.1754150390625, 0.1446533203125, 0.10089111328125, 0.1446533203125, 0.1068115234375, 0.21630859375, 0.030517578125, 0.1524658203125, 0.038360595703125, 0.2254638671875, 0.1536865234375, 0.1915283203125, 0.198974609375, 0.1605224609375, 0.24658203125, 0.137451171875,...
embed
52292043_c0
52292043
fsharp
0
Title: Mixing IObservable and Async&lt;&#x27;a&gt; in F# Problem title: Mixing IObservable and Async&lt;&#x27;a&gt; in F# Tags: system.reactive, f%23, asynchronous Problem: Mixing IObservable and Async<'a> in F# I have an IObservable provided by a library, which listens to events from an external service: let startObse...
Mixing IObservable and Async&lt;&#x27;a&gt; in F# Mixing IObservable and Async&lt;&#x27;a&gt; in F# system.reactive f%23 asynchronous Mixing IObservable Async Given Observable.mapAsync Async.AwaitObservable AwaitObservable Async.Start system.reactive Mixing IObservable and Async<'a> in F# I have an IObservable provided...
[ -0.0146484375, 0.030517578125, 0.005828857421875, 0.006134033203125, -0.0184326171875, 0.00579833984375, 0.0054931640625, 0.024658203125, 0.009521484375, -0.0213623046875, 0.00982666015625, 0.005706787109375, 0.0185546875, 0.0322265625, 0.0038909912109375, -0.01129150390625, 0.005523...
[ 37286, 214, 87, 46471, 65756, 2661, 136, 62, 12654, 238, 3768, 11, 5386, 563, 4904, 23, 5426, 107, 71232, 1238, 3742, 101966, 77878, 87652, 62346, 634, 217, 126597, 62952, 35773, 44632, 47353, 173591, 4516, 1326, 12638, 75204, 19732, 3444, ...
[ 0.2330322265625, 0.0711669921875, 0.1669921875, 0.18994140625, 0.23486328125, 0.1925048828125, 0.1009521484375, 0.0645751953125, 0.236328125, 0.12744140625, 0.059661865234375, 0.0533447265625, 0.006927490234375, 0.1365966796875, 0.1834716796875, 0.0045166015625, 0.0936279296875, 0....
embed
40914095_c0
40914095
fsharp
0
Title: Using Map.remove and a list of keys Problem title: Using Map.remove and a list of keys Tags: f%23 Problem: Using Map.remove and a list of keys I'm having a hard time incorporating Map.remove with a list of keys. For example, if I have let z : Map<int, Set<int>> = Map.ofList [(1, set []); (3, set [3; 4]); (4, set...
Using Map.remove and a list of keys Using Map.remove and a list of keys f%23 Using Map.remove Map Set Map.ofList Map.toList List.map Set.toList List.length List.filter List.contains Using Map.remove and a list of keys I'm having a hard time incorporating Map.remove with a list of keys. For example, if I have and I want...
[ -0.0128173828125, 0.017333984375, 0.00567626953125, 0.016845703125, -0.0390625, -0.0198974609375, 0.00128173828125, -0.00164031982421875, 0.00860595703125, 0.01495361328125, 0.01141357421875, 0.02880859375, 0.0037078857421875, 0.0034942626953125, 0.00064849853515625, -0.000421524047851...
[ 345, 42719, 5, 26973, 272, 136, 5303, 22799, 6953, 1238, 3742, 19943, 4390, 154663, 188, 32036, 62346, 120337, 98102, 7, 7941, 1733, 49504, 678, 765, 3444, 11720, 70760, 7413, 12638, 34292, 3129, 201505, 76199, 66161, 41206, 87388, 8382, 80...
[ 0.0594482421875, 0.2122802734375, 0.08447265625, 0.1983642578125, 0.195068359375, 0.0523681640625, 0.178466796875, 0.186767578125, 0.028472900390625, 0.00091552734375, 0.0809326171875, 0.126708984375, 0.113525390625, 0.126220703125, 0.045013427734375, 0.09320068359375, 0.10595703125,...
embed
55991760_c0
55991760
fsharp
0
Title: F# Fabulous/Xamarin memory management, why can&#x27;t I use (auto dispose) this stream? Problem title: F# Fabulous/Xamarin memory management, why can&#x27;t I use (auto dispose) this stream? Tags: dispose, f%23, memory-management, stream, xamarin Problem: F# Fabulous/Xamarin memory management, why can't I use (a...
F# Fabulous/Xamarin memory management, why can&#x27;t I use (auto dispose) this stream? F# Fabulous/Xamarin memory management, why can&#x27;t I use (auto dispose) this stream? dispose f%23 memory-management stream xamarin Fabulous Xamarin Model Bmp.Create Color.FromRgb ImageSource.FromStream View.ContentPage View.Image...
[ -0.0068359375, 0.045654296875, -0.0093994140625, 0.002044677734375, 0.02001953125, 0.009033203125, 0.007415771484375, 0.005126953125, 0.01361083984375, -0.034423828125, 0.0074462890625, 0.0086669921875, 0.01953125, 0.006744384765625, 0.0137939453125, 0.0108642578125, -0.0055541992187...
[ 563, 4904, 3036, 49204, 223, 1542, 11, 44503, 98323, 24365, 15400, 831, 3768, 18, 4527, 8913, 60458, 903, 75973, 1238, 3742, 87140, 2459, 8606, 13293, 2676, 63784, 51193, 168407, 74251, 22710, 115061, 29805, 25352, 216960, 75935, 5570, 110934...
[ 0.083251953125, 0.1392822265625, 0.09979248046875, 0.165283203125, 0.138671875, 0.0478515625, 0.04669189453125, 0.225341796875, 0.1827392578125, 0.1693115234375, 0.134765625, 0.07794189453125, 0.024749755859375, 0.048583984375, 0.1357421875, 0.1849365234375, 0.252685546875, 0.06701...
embed
22360338_c0
22360338
fsharp
0
Title: F# list to Vectors MathNet.Numerics Problem title: F# list to Vectors MathNet.Numerics Tags: f%23, vector, list Problem: F# list to Vectors MathNet.Numerics I am trying to churn out a list of randoms and turn it into a vector using MathNet.Numerics. But my F# Interactive returns(below) instead of the values gene...
F# list to Vectors MathNet.Numerics F# list to Vectors MathNet.Numerics f%23 vector list Vectors MathNet.Numerics MathNet.Numerics.Distributions MathNet.Numerics.LinearAlgebra MathNet.Numerics.LinearAlgebra.Double MathNet.Numerics.LinearAlgebra.Generic.FSharpExtensions Normal List.init rnd.Sample List.scan List.tail De...
[ 0.006927490234375, 0.0169677734375, -0.00738525390625, 0.004241943359375, 0.01434326171875, 0.00135040283203125, -0.00081634521484375, -0.01300048828125, 0.003692626953125, -0.037353515625, 0.01348876953125, 0.0267333984375, -0.001556396484375, -0.004791259765625, -0.00421142578125, -0...
[ 563, 4904, 5303, 47, 52884, 22230, 78804, 24447, 18444, 1991, 28021, 1238, 3949, 3742, 173, 18770, 179236, 5, 93232, 429, 34, 135932, 3467, 254, 128872, 28723, 32036, 73, 2208, 4398, 46741, 1575, 26455, 4390, 154663, 31577, 15003, 1810, 967...
[ 0.1373291015625, 0.2266845703125, 0.20166015625, 0.115478515625, 0.211181640625, 0.162109375, 0.080322265625, 0.16796875, 0.06878662109375, 0.09381103515625, 0.10748291015625, 0.0927734375, 0.0200653076171875, 0.1112060546875, 0.1905517578125, 0.1971435546875, 0.07470703125, 0.0099...
embed
4317807_c0
4317807
fsharp
0
Title: How to order a LIST in F# Problem title: How to order a LIST in F# Tags: f%23 Problem: How to order a LIST in F# Total F# n00b question. How do I sort a LIST data structure? Edit: Sorry, my data structure is actually a LIST. maybe i should add my code since just using ".sort" hasn't worked: let getDataFromDb (db...
How to order a LIST in F# How to order a LIST in F# f%23 How LIST MyDB Query.query FLinq pm_firm List.ofSeq List.sortBy How to order a LIST in F# Total F# n00b question. How do I sort a LIST data structure? Edit: Sorry, my data structure is actually a LIST. maybe i should add my code since just using ".sort" hasn't wor...
[ 0.02490234375, 0.029052734375, -0.00665283203125, -0.0037689208984375, -0.008056640625, 0.005401611328125, 0.004150390625, 0.00193023681640625, 0.00701904296875, -0.0283203125, 0.00165557861328125, 0.00057220458984375, -0.0050048828125, -0.0233154296875, -0.007568359375, -0.01519775390...
[ 11249, 47, 12989, 10, 195977, 23, 563, 4904, 1238, 3949, 3742, 2646, 39463, 58836, 944, 1294, 63674, 44982, 3592, 38949, 32036, 4390, 4233, 864, 62351, 75358, 33867, 7049, 9655, 54, 87, 12096, 2053, 45646, 90502, 20653, 15190, 18151, 15549,...
[ 0.0740966796875, 0.03912353515625, 0.26171875, 0.07647705078125, 0.29443359375, 0.09521484375, 0.1551513671875, 0.206298828125, 0.0968017578125, 0.012115478515625, 0.10888671875, 0.0567626953125, 0.1514892578125, 0.0799560546875, 0.019775390625, 0.011688232421875, 0.0157318115234375,...
embed
49375405_c0
49375405
fsharp
0
Title: Suave not showing static file Problem title: Suave not showing static file Tags: f%23, suave Problem: Suave not showing static file So I have my server set up very simply. If the path is of the form /article/something , it should serve up the static file something.html within the folder static . For some reason,...
Suave not showing static file Suave not showing static file f%23 suave Suave something.html Files.file None File Displayed s.html Console.WriteLine Some Path.GetFullPath EntryPoint Suave not showing static file So I have my server set up very simply. If the path is of the form /article/something , it should serve up th...
[ 0.021240234375, -0.016845703125, 0.0291748046875, 0.00124359130859375, -0.015625, 0.0216064453125, 0.0087890625, -0.019287109375, 0.00799560546875, -0.0147705078125, -0.0115966796875, 0.00494384765625, -0.029052734375, 0.012939453125, 0.0255126953125, -0.0034637451171875, 0.020141601...
[ 45384, 272, 959, 141377, 201939, 11435, 3742, 109829, 9844, 7693, 42724, 29822, 438, 90045, 91, 40777, 93232, 108421, 10519, 15123, 147534, 10723, 42856, 60875, 3173, 26147, 64113, 21265, 78303, 5, 1467, 17365, 30646, 86, 14315, 174350, 8306, ...
[ 0.2310791015625, 0.24658203125, 0.0830078125, 0.1619873046875, 0.24267578125, 0.1591796875, 0.04296875, 0.272705078125, 0.1383056640625, 0.1973876953125, 0.196044921875, 0.1630859375, 0.055694580078125, 0.1103515625, 0.024566650390625, 0.126708984375, 0.1561279296875, 0.07476806640...
embed
24430515_c0
24430515
fsharp
0
Title: F# Generics Constraints Problem title: F# Generics Constraints Tags: generics, .net, f%23-3.0, constraints, f%23 Problem: F# Generics Constraints I have this method on class: member this.GetDbSet<'TEntity, 'TDTO, 'TKey when 'TKey :> IEquatable<'TKey> and 'TEntity :> IEntity<'TKey> and 'TEntity : not struct and '...
F# Generics Constraints F# Generics Constraints generics .net f%23-3.0 constraints f%23 Generics Constraints this.GetDbSet TEntity TDTO TKey IEquatable IEntity IDTO BaseRepository repository.DbSetFuncGetter Invoke uow.Context F# Generics Constraints I have this method on class: but when I build the project I get this e...
[ -0.00086212158203125, 0.011962890625, 0.0003337860107421875, -0.004913330078125, -0.0098876953125, -0.005859375, -0.01513671875, 0.0028228759765625, -0.01019287109375, -0.01470947265625, -0.0174560546875, -0.000881195068359375, -0.002838134765625, 0.006103515625, -0.004486083984375, 0....
[ 563, 4904, 88342, 28021, 1657, 2816, 4288, 189534, 1179, 1238, 167218, 27495, 132265, 158, 3949, 3742, 903, 724, 126, 397, 275, 294, 13018, 660, 2481, 117295, 8727, 384, 162429, 75536, 90065, 2886, 11338, 44978, 59111, 64722, 31667, 97249, ...
[ 0.10601806640625, 0.215576171875, 0.189453125, 0.0635986328125, 0.1260986328125, 0.23681640625, 0.169921875, 0.233642578125, 0.1470947265625, 0.08319091796875, 0.0335693359375, 0.08233642578125, 0.1575927734375, 0.1539306640625, 0.031219482421875, 0.1265869140625, 0.117431640625, 0...
embed
59129464_c1
59129464
fsharp
1
EmguCV face recognition processor" member this.ContainsFace (bitmap : Bitmap) : bool = //code goes here member this.ExtractDetails (bitmap : Bitmap) : FaceDetail array = //code goes here // other implementations It is loaded correctly without any errors, and all the assemblies that come along with it also loaded normal...
EmguCV face recognition processor" member this.ContainsFace (bitmap : Bitmap) : bool = //code goes here member this.ExtractDetails (bitmap : Bitmap) : FaceDetail array = //code goes here // other implementations It is loaded correctly without any errors, and all the assemblies that come along with it also loaded normal...
[ 0.0125732421875, 0.01348876953125, -0.0096435546875, 0.0296630859375, -0.00140380859375, 0.0166015625, 0.003021240234375, -0.037353515625, 0.005035400390625, -0.02783203125, 0.0137939453125, 0.0274658203125, 0.01953125, -0.010498046875, 0.01251220703125, -0.0263671875, 0.009887695312...
[ 2775, 1234, 105553, 2577, 230466, 14543, 42, 32786, 903, 11935, 25500, 7, 135518, 13, 3137, 62346, 27774, 16, 6, 142484, 40899, 3688, 39989, 4657, 46741, 26219, 10298, 53, 3789, 208124, 83, 72367, 297, 26785, 538, 15490, 2499, 18499, 4, 1...
[ 0.151123046875, 0.227783203125, 0.2327880859375, 0.148193359375, 0.1307373046875, 0.1685791015625, 0.10345458984375, 0.169189453125, 0.095703125, 0.048919677734375, 0.1768798828125, 0.01763916015625, 0.1324462890625, 0.06005859375, 0.062042236328125, 0.157470703125, 0.0653076171875, ...
embed
44270703_c0
44270703
fsharp
0
Title: Tail recursion in mutually recursive functions Problem title: Tail recursion in mutually recursive functions Tags: recursion, f%23, f%23-interactive Problem: Tail recursion in mutually recursive functions I have the following code: let rec f n = if n < 10 then "f" + g (n+1) else "f" and g n = if n < 10 then "g" ...
Tail recursion in mutually recursive functions Tail recursion in mutually recursive functions recursion f%23 f%23-interactive Tail Tail recursion in mutually recursive functions I have the following code: I want to make these mutually recursive functions tail recursive for optimization. I have tried the following : Is ...
[ 0.0218505859375, -0.003173828125, 0.0115966796875, 0.0218505859375, 0.01446533203125, -0.0037994384765625, -0.0027313232421875, -0.00010824203491210938, 0.005523681640625, 0.01373291015625, 0.0106201171875, -0.0130615234375, 0.0031280517578125, 0.01007080078125, 0.0361328125, 0.0169677...
[ 1218, 379, 195625, 1830, 199849, 538, 5844, 32354, 23, 1238, 3949, 3742, 167218, 27495, 10433, 71232, 765, 25632, 18151, 3444, 3249, 6097, 7, 46741, 100, 87235, 1363, 37842, 70, 2071, 450, 26785, 11389, 110, 5122, 7108, 48225, 77947, 5646, ...
[ 0.1937255859375, 0.1744384765625, 0.2210693359375, 0.08453369140625, 0.1346435546875, 0.08740234375, 0.1474609375, 0.173583984375, 0.01165771484375, 0.072998046875, 0.027801513671875, 0.09588623046875, 0.0584716796875, 0.09710693359375, 0.1075439453125, 0.07080078125, 0.0108642578125...
embed
5446199_c0
5446199
fsharp
0
Title: What am I missing: is function composition with multiple arguments possible? Problem title: What am I missing: is function composition with multiple arguments possible? Tags: composition, f%23, function-composition Problem: What am I missing: is function composition with multiple arguments possible? I understand...
What am I missing: is function composition with multiple arguments possible? What am I missing: is function composition with multiple arguments possible? composition f%23 function-composition What fun:it What am I missing: is function composition with multiple arguments possible? I understand the basics of function com...
[ -0.005126953125, -0.0032196044921875, 0.0091552734375, 0.024658203125, -0.00238037109375, 0.019287109375, -0.006195068359375, -0.0036163330078125, 0.00147247314453125, -0.007537841796875, -0.000164031982421875, 0.0029449462890625, -0.00138092041015625, 0.01953125, 0.0198974609375, -0.0...
[ 4865, 444, 87, 132283, 83, 32354, 166577, 678, 48716, 10750, 7, 7722, 1238, 3949, 3742, 277, 40322, 7477, 217, 28219, 62822, 563, 4904, 83425, 6396, 136, 56473, 39933, 61924, 237259, 12638, 4734, 51776, 1632, 1884, 15190, 140992, 10644, 560...
[ 0.038330078125, 0.0487060546875, 0.046112060546875, 0.1468505859375, 0.054290771484375, 0.2193603515625, 0.27001953125, 0.093017578125, 0.2154541015625, 0.25732421875, 0.0625, 0.1778564453125, 0.082763671875, 0.030548095703125, 0.12451171875, 0.1429443359375, 0.14013671875, 0.11315...
embed
4011828_c0
4011828
fsharp
0
Title: F# - Flatten List/Range Problem title: F# - Flatten List/Range Tags: f%23, flatten Problem: F# - Flatten List/Range I'm new to F# and am wondering how I would go about flattening a list. Essentially in the database I store a record with a min_age and max_age range (this is a fictitious example for the sake of br...
F# - Flatten List/Range F# - Flatten List/Range f%23 flatten Flatten List Range saving_id min_age max_age F# - Flatten List/Range I'm new to F# and am wondering how I would go about flattening a list. Essentially in the database I store a record with a min_age and max_age range (this is a fictitious example for the sak...
[ -0.01275634765625, 0.00970458984375, 0.00225830078125, 0.01806640625, 0.00159454345703125, 0.02392578125, -0.01708984375, 0.008544921875, 0.004150390625, 0.00640869140625, -0.0031890869140625, 0.028076171875, 0.01019287109375, 0.00112152099609375, 0.0032501220703125, -0.0191650390625, ...
[ 563, 4904, 106516, 510, 32036, 64, 1052, 51459, 20, 1238, 3949, 3742, 49878, 142462, 57, 6496, 532, 881, 4588, 18389, 3525, 149016, 3642, 1672, 67, 592, 5303, 179769, 63399, 4343, 17164, 136, 37457, 20941, 31821, 27781, 110536, 1419, 44457,...
[ 0.1556396484375, 0.2193603515625, 0.216064453125, 0.22900390625, 0.2103271484375, 0.043853759765625, 0.08935546875, 0.129150390625, 0.00335693359375, 0.090087890625, 0.01715087890625, 0.10186767578125, 0.2509765625, 0.1834716796875, 0.09710693359375, 0.073974609375, 0.106201171875, ...
embed
6271078_c0
6271078
fsharp
0
Title: f#: windows form in a compiled program Problem title: f#: windows form in a compiled program Tags: .net, f%23 Problem: f#: windows form in a compiled program To visualize data from F# interactive console, I can do the following: open System.Windows.Forms let testgrid (x) = let form = new Form(Visible = true) let...
f#: windows form in a compiled program f#: windows form in a compiled program .net f%23 System.Windows.Forms Form Visible DataGridView Dock DockStyle.Fill form.Controls.Add data.DataSource DataSource Application.Run System.Threading.Thread thread.SetApartmentState Threading.ApartmentState.STA thread.Start f#: windows f...
[ 0.00335693359375, 0.01373291015625, -0.018798828125, -0.00543212890625, 0.005096435546875, -0.0020294189453125, 0.02197265625, 0.0164794921875, -0.01275634765625, -0.038330078125, 0.01141357421875, 0.006072998046875, -0.000782012939453125, -0.000637054443359375, 0.0026092529296875, 0.0...
[ 1238, 4904, 54825, 3173, 23, 375, 5974, 1528, 1179, 3949, 3742, 12353, 43342, 102973, 15236, 582, 55356, 11809, 19040, 100474, 161824, 209480, 919, 5713, 175904, 5, 4028, 2053, 211235, 104921, 163321, 39116, 86997, 17365, 135206, 136719, 22565,...
[ 0.113525390625, 0.200927734375, 0.13818359375, 0.2247314453125, 0.047119140625, 0.07550048828125, 0.17822265625, 0.1314697265625, 0.1051025390625, 0.00201416015625, 0.133544921875, 0.04486083984375, 0.0859375, 0.205810546875, 0.1973876953125, 0.100830078125, 0.08306884765625, 0.026...
embed
64911290_c0
64911290
fsharp
0
Title: F# - Using Concurrent.ConcurrentDictionary.TryRemove with dotnet 5 Problem title: F# - Using Concurrent.ConcurrentDictionary.TryRemove with dotnet 5 Tags: c%23-to-f%23, .net, f%23 Problem: F# - Using Concurrent.ConcurrentDictionary.TryRemove with dotnet 5 I'm migrating my F# code from dotnet3.1 to 5 and struggli...
F# - Using Concurrent.ConcurrentDictionary.TryRemove with dotnet 5 F# - Using Concurrent.ConcurrentDictionary.TryRemove with dotnet 5 c%23-to-f%23 .net f%23 Using Concurrent.ConcurrentDictionary.TryRemove Concurrent.ConcurrentDictionary dict.TryRemove Some None TryRemove Body F# - Using Concurrent.ConcurrentDictionary....
[ -0.010009765625, 0.0162353515625, 0.004364013671875, 0.00115966796875, -0.0150146484375, -0.01513671875, -0.0068359375, 0.003387451171875, -0.01470947265625, -0.005645751953125, -0.004852294921875, 0.046875, -0.02685546875, -0.0033111572265625, 0.03369140625, -0.01116943359375, 0.015...
[ 563, 4904, 1657, 163812, 11935, 10763, 6635, 1294, 4332, 432, 272, 20633, 1179, 190, 27495, 188, 420, 3742, 1238, 61669, 438, 40858, 43960, 345, 678, 39666, 18151, 1295, 97109, 47, 237875, 45151, 176377, 370, 8705, 11389, 30646, 337, 31, ...
[ 0.074951171875, 0.1778564453125, 0.0325927734375, 0.197998046875, 0.0180511474609375, 0.1075439453125, 0.0601806640625, 0.1505126953125, 0.0899658203125, 0.1976318359375, 0.1248779296875, 0.1053466796875, 0.152587890625, 0.147216796875, 0.0313720703125, 0.07061767578125, 0.0260772705...
embed