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
40119422_c0
40119422
fsharp
0
Title: Arbitrary arrays handling F# Problem title: Arbitrary arrays handling F# Tags: types, f%23 Problem: Arbitrary arrays handling F# I'm trying to make a module in F# where i need to have some types consisting of array's of some arbirary type and with som arbitrary length. to come with an example lets say i need to ...
Arbitrary arrays handling F# Arbitrary arrays handling F# types f%23 Arbitrary Vector v1:Vector v2:Vector Vector.map2 Arbitrary arrays handling F# I'm trying to make a module in F# where i need to have some types consisting of array's of some arbirary type and with som arbitrary length. to come with an example lets say...
[ -0.00054168701171875, 0.01422119140625, -0.024658203125, 0.0159912109375, -0.003753662109375, -0.00262451171875, -0.00921630859375, -0.0145263671875, 0.00099945068359375, -0.0233154296875, 0.00537109375, -0.0011444091796875, -0.005859375, -0.0040283203125, -0.0184326171875, -0.02014160...
[ 242522, 1294, 10298, 4778, 45064, 563, 4904, 52895, 1238, 3742, 2609, 18770, 81, 82825, 26455, 304, 62346, 88996, 53, 187, 5720, 6635, 10644, 124, 61799, 140909, 27781, 10, 173, 74481, 6528, 959, 20697, 22288, 32354, 159978, 22834, 22230, 1...
[ 0.1895751953125, 0.039581298828125, 0.1634521484375, 0.1229248046875, 0.15625, 0.12841796875, 0.1636962890625, 0.150390625, 0.043182373046875, 0.0751953125, 0.14306640625, 0.1209716796875, 0.083984375, 0.01123046875, 0.1087646484375, 0.188232421875, 0.1031494140625, 0.13623046875, ...
embed
14188618_c0
14188618
fsharp
0
Title: How to detect end of stream in F#? Problem title: How to detect end of stream in F#? Tags: stream, asynchronous, f%23 Problem: How to detect end of stream in F#? I have a F# function like the following: open System.IO open Microsoft.FSharp.Control.CommonExtensions let rec copyData (ins:Stream) (outs:Stream) = as...
How to detect end of stream in F#? How to detect end of stream in F#? stream asynchronous f%23 How System.IO Microsoft.FSharp.Control.CommonExtensions ins:Stream outs:Stream ins.AsyncRead outs.AsyncWrite AtEndOfStream How to detect end of stream in F#? I have a F# function like the following: When the ins stream reache...
[ -0.00933837890625, 0.009521484375, 0.005706787109375, -0.001220703125, 0.01171875, -0.000125885009765625, 0.00701904296875, 0.007415771484375, -0.011474609375, -0.0179443359375, 0.0196533203125, 0.0006103515625, 0.029296875, 0.01422119140625, 0.043701171875, -0.02392578125, 0.0109252...
[ 11249, 47, 96391, 3564, 111, 75973, 23, 563, 4904, 12654, 101966, 1238, 3742, 12353, 17780, 7244, 36381, 3467, 254, 175904, 3796, 128872, 115061, 1810, 7, 31345, 18781, 1913, 152378, 132887, 32354, 58359, 104250, 131527, 105556, 159029, 56282, ...
[ 0.0518798828125, 0.02001953125, 0.2060546875, 0.198974609375, 0.171142578125, 0.234130859375, 0.0999755859375, 0.146240234375, 0.2041015625, 0.1082763671875, 0.10687255859375, 0.06683349609375, 0.1156005859375, 0.02679443359375, 0.09869384765625, 0.040130615234375, 0.009613037109375,...
embed
34664443_c0
34664443
fsharp
0
Title: Reading JSON file inside F# using Json.NET Problem title: Reading JSON file inside F# using Json.NET Tags: c%23-to-f%23, json.net, f%23 Problem: Reading JSON file inside F# using Json.NET Can't deserializes JSON retrieved from a file. Get an unhandled exception of type 'System.TypeInitializationException' occurr...
Reading JSON file inside F# using Json.NET Reading JSON file inside F# using Json.NET c%23-to-f%23 json.net f%23 Json.NET Reading JSON JsonConvert.DeserializeObject Files json1 JsonTextReader StreamReader JsonConvert.SerializeObject foo.Read Reading JSON file inside F# using Json.NET Can't deserializes JSON retrieved f...
[ 0.01202392578125, -0.006195068359375, -0.0155029296875, -0.01348876953125, -0.015869140625, -0.01275634765625, -0.00543212890625, 0.01116943359375, -0.0262451171875, -0.0213623046875, 0.0050048828125, 0.0311279296875, -0.0040283203125, 0.0034942626953125, 0.041259765625, -0.00509643554...
[ 104951, 821, 58627, 11435, 46132, 563, 4904, 17368, 1681, 17777, 27495, 188, 420, 3742, 1647, 5, 1179, 1238, 11549, 73347, 25435, 119066, 75161, 42724, 418, 174379, 31345, 115061, 5775, 31, 4171, 18, 224, 97351, 1295, 51, 79628, 131527, 106...
[ 0.154296875, 0.16943359375, 0.2325439453125, 0.130859375, 0.1280517578125, 0.1279296875, 0.1761474609375, 0.0197296142578125, 0.2095947265625, 0.144775390625, 0.0693359375, 0.083740234375, 0.07464599609375, 0.04833984375, 0.0858154296875, 0.0190277099609375, 0.113525390625, 0.05200...
embed
4927649_c0
4927649
fsharp
0
Title: How to consume BlockingCollection&lt;&#x27;a&gt;.TryTake in F# Problem title: How to consume BlockingCollection&lt;&#x27;a&gt;.TryTake in F# Tags: task-parallel-library, f%23, tuples Problem: How to consume BlockingCollection<'a>.TryTake in F# How do I go about using the TryTake method on a BlockingCollection<'a...
How to consume BlockingCollection&lt;&#x27;a&gt;.TryTake in F# How to consume BlockingCollection&lt;&#x27;a&gt;.TryTake in F# task-parallel-library f%23 tuples How BlockingCollection TryTake How to consume BlockingCollection<'a>.TryTake in F# How do I go about using the TryTake method on a BlockingCollection<'a> passin...
[ 0.0189208984375, 0.0218505859375, 0.0113525390625, 0.0003910064697265625, -0.010009765625, -0.00848388671875, -0.0177001953125, -0.004302978515625, 0.0286865234375, -0.02392578125, 0.0216064453125, 0.02001953125, 0.00830078125, 0.0189208984375, -0.0019378662109375, 0.00372314453125, ...
[ 11249, 47, 18588, 13, 80231, 214, 78457, 133, 10763, 3768, 11, 5386, 618, 1294, 51654, 23, 563, 4904, 66211, 1229, 2844, 370, 99726, 40858, 17368, 55300, 452, 1733, 6056, 14922, 8877, 191633, 138256, 217, 195, 390, 29087, 70059, 18, 14248...
[ 0.0816650390625, 0.05047607421875, 0.2138671875, 0.1524658203125, 0.21044921875, 0.1190185546875, 0.1158447265625, 0.1337890625, 0.07403564453125, 0.03338623046875, 0.07562255859375, 0.0025634765625, 0.0413818359375, 0.1849365234375, 0.2347412109375, 0.06622314453125, 0.1199951171875...
embed
51759236_c0
51759236
fsharp
0
Title: Why can&#x27;t I use match! in a computation expression yet? Problem title: Why can&#x27;t I use match! in a computation expression yet? Tags: monads, f%23, computation-expression, syntactic-sugar Problem: Why can't I use match! in a computation expression yet? Starting with F# 4.5, the match! keyword allows you...
Why can&#x27;t I use match! in a computation expression yet? Why can&#x27;t I use match! in a computation expression yet? monads f%23 computation-expression syntactic-sugar Why Some None Why can't I use match! in a computation expression yet? Starting with F# 4.5, the match! keyword allows you to inline a call to anoth...
[ -0.01202392578125, 0.007354736328125, 0.019775390625, -0.001007080078125, -0.0006256103515625, -0.00150299072265625, 0.005767822265625, 0.007171630859375, 0.0130615234375, -0.015625, -0.001708984375, 0.0162353515625, 0.01348876953125, -0.00001990795135498047, 0.041748046875, -0.0046386...
[ 44084, 831, 3768, 18, 4527, 14858, 38, 23, 181135, 1363, 125195, 14373, 2667, 712, 7, 1238, 3742, 204629, 6002, 102, 49086, 1159, 1970, 31384, 438, 86, 87, 13794, 214, 678, 563, 4904, 60061, 166117, 114864, 47, 2256, 11782, 15700, 103510,...
[ 0.14404296875, 0.14794921875, 0.06494140625, 0.111328125, 0.1890869140625, 0.319580078125, 0.18798828125, 0.0982666015625, 0.2099609375, 0.063720703125, 0.2353515625, 0.149658203125, 0.10662841796875, 0.14208984375, 0.1143798828125, 0.0626220703125, 0.0718994140625, 0.1934814453125...
embed
74715380_c1
74715380
fsharp
1
(mini.gasLeft ()) 10.0 (=) Assert.test "GasLeft () - Empty?" (mini.gasLeft ()) 0 (=) For the first test, I would expect to get "Fail" : "GasLeft () - Full?" and for the second test, I would expect to get "Pass" : "GasLeft() - Empty?" when given the arguments specified. However, F# tells me that f is not defined in the...
(mini.gasLeft ()) 10.0 (=) Assert.test "GasLeft () - Empty?" (mini.gasLeft ()) 0 (=) For the first test, I would expect to get "Fail" : "GasLeft () - Full?" and for the second test, I would expect to get "Pass" : "GasLeft() - Empty?" when given the arguments specified. However, F# tells me that f is not defined in the...
[ -0.006805419921875, -0.0196533203125, 0.005218505859375, -0.0025482177734375, -0.0081787109375, 0.00011444091796875, 0.0296630859375, -0.01190185546875, -0.004547119140625, 0.047607421875, 0.0052490234375, 0.029296875, -0.001617431640625, 0.0000762939453125, 0.01458740234375, -0.005249...
[ 9222, 3923, 5267, 2480, 106, 99929, 78690, 1301, 33657, 6954, 17067, 7, 31678, 939, 2953, 757, 5117, 3034, 41206, 17647, 379, 9312, 17932, 139117, 10750, 58735, 563, 4904, 1238, 83, 959, 61924, 23, 159029, 51776, 11, 33079, 142484, 37702, ...
[ 0.17919921875, 0.136474609375, 0.08978271484375, 0.1669921875, 0.052520751953125, 0.1807861328125, 0.0992431640625, 0.068359375, 0.2235107421875, 0.18505859375, 0.14208984375, 0.02630615234375, 0.1412353515625, 0.127197265625, 0.01092529296875, 0.058441162109375, 0.039642333984375, ...
embed
12232187_c0
12232187
fsharp
0
Title: Concise pattern match on single case discriminated union in F# Problem title: Concise pattern match on single case discriminated union in F# Tags: discriminated-union, f%23, pattern-matching Problem: Concise pattern match on single case discriminated union in F# Say I have the following single case discriminated...
Concise pattern match on single case discriminated union in F# Concise pattern match on single case discriminated union in F# discriminated-union f%23 pattern-matching Concise OrderId Concise pattern match on single case discriminated union in F# Say I have the following single case discriminated union: At some point I...
[ -0.000560760498046875, -0.01324462890625, 0.006256103515625, 0.00077056884765625, 0.01348876953125, -0.003326416015625, -0.010498046875, -0.004730224609375, 0.0240478515625, -0.02001953125, 0.037353515625, 0.00799560546875, -0.0113525390625, -0.025146484375, 0.006011962890625, -0.01019...
[ 1657, 318, 184, 103510, 14858, 98, 11001, 7225, 55970, 69941, 563, 4904, 3674, 87046, 1238, 3949, 3742, 98753, 81206, 568, 71, 25632, 3060, 6275, 3871, 8561, 79315, 3917, 14037, 125663, 214, 442, 1286, 158, 20594, 903, 28219, 4527, 5361, ...
[ 0.046783447265625, 0.2010498046875, 0.1243896484375, 0.220458984375, 0.2237548828125, 0.0140228271484375, 0.1201171875, 0.141357421875, 0.1866455078125, 0.1923828125, 0.10565185546875, 0.17431640625, 0.04302978515625, 0.1180419921875, 0.059112548828125, 0.02520751953125, 0.1265869140...
embed
25433308_c0
25433308
fsharp
0
Title: referencing ActiveX in F# Problem title: referencing ActiveX in F# Tags: f%23-interactive, reference, f%23, activex, interop Problem: referencing ActiveX in F# If I want to use ActiveX in .NET project, I add it as reference using Add Reference... dialog box and it generates interop assembly, which actually is re...
referencing ActiveX in F# referencing ActiveX in F# f%23-interactive reference f%23 activex interop ActiveX Interop.MyActiveX.dll Set CreateObject MyActiveX referencing ActiveX in F# If I want to use ActiveX in .NET project, I add it as reference using Add Reference... dialog box and it generates interop assembly, whic...
[ 0.009033203125, 0.019287109375, -0.00250244140625, 0.0031585693359375, 0.01080322265625, 0.004425048828125, -0.005035400390625, 0.00830078125, 0.0031280517578125, -0.03173828125, 0.020263671875, 0.017333984375, -0.00311279296875, 0.0140380859375, 0.0185546875, -0.016845703125, -0.004...
[ 142447, 88441, 1542, 23, 563, 4904, 1238, 27495, 10433, 71232, 91067, 3742, 36457, 425, 1940, 2146, 5337, 31852, 164414, 13, 1181, 19943, 151313, 46471, 75161, 2646, 3444, 4527, 17777, 13452, 15190, 442, 237, 29117, 215996, 27, 26519, 16530, ...
[ 0.2138671875, 0.2412109375, 0.2330322265625, 0.0472412109375, 0.163330078125, 0.218994140625, 0.0889892578125, 0.0260162353515625, 0.062744140625, 0.1715087890625, 0.221923828125, 0.067626953125, 0.14990234375, 0.1156005859375, 0.114990234375, 0.178466796875, 0.119140625, 0.0626831...
embed
64968593_c0
64968593
fsharp
0
Title: Loading fsx files dynamically in an FSX script Problem title: Loading fsx files dynamically in an FSX script Tags: f%23, scripting, f%23-fake Problem: Loading fsx files dynamically in an FSX script We are sharing a build script for FAKE across a set of projects. We want to keep this one build script the same but...
Loading fsx files dynamically in an FSX script Loading fsx files dynamically in an FSX script f%23 scripting f%23-fake Loading FSX Loading fsx files dynamically in an FSX script We are sharing a build script for FAKE across a set of projects. We want to keep this one build script the same but make it possible to extend...
[ 0.01513671875, 0.01483154296875, -0.0013580322265625, 0.00738525390625, -0.0019989013671875, -0.000965118408203125, 0.0064697265625, 0.00750732421875, 0.01129150390625, -0.0155029296875, 0.01116943359375, 0.006591796875, 0.0035247802734375, -0.007537841796875, 0.01068115234375, 0.00662...
[ 228006, 1238, 7, 425, 102158, 84079, 25958, 182726, 26499, 3742, 167218, 27495, 1021, 350, 53371, 45367, 100, 563, 119960, 36880, 77635, 3444, 13695, 1632, 5701, 7722, 65042, 3789, 30388, 5351, 20594, 72367, 17447, 11177, 29458, 147453, 103510,...
[ 0.19140625, 0.0924072265625, 0.09765625, 0.2037353515625, 0.1688232421875, 0.2108154296875, 0.01324462890625, 0.232421875, 0.21044921875, 0.09222412109375, 0.0009765625, 0.04461669921875, 0.1634521484375, 0.0123291015625, 0.095703125, 0.1378173828125, 0.0139923095703125, 0.11621093...
embed
9637336_c0
9637336
fsharp
0
Title: Do I need to install any additional library to use Array.Parallel.map in F# running on Mono? Problem title: Do I need to install any additional library to use Array.Parallel.map in F# running on Mono? Tags: mono, .net, f%23, parallel-processing Problem: Do I need to install any additional library to use Array.Pa...
Do I need to install any additional library to use Array.Parallel.map in F# running on Mono? Do I need to install any additional library to use Array.Parallel.map in F# running on Mono? mono .net f%23 parallel-processing Array.Parallel.map Mono FS0039 Parallel Do I need to install any additional library to use Array.Pa...
[ -0.01904296875, 0.034912109375, -0.00518798828125, -0.0032501220703125, -0.011962890625, -0.000058650970458984375, 0.003814697265625, -0.0040283203125, -0.021728515625, -0.01416015625, -0.000919342041015625, 0.000492095947265625, 0.017333984375, -0.002532958984375, 0.005645751953125, -...
[ 3871, 20600, 78301, 35773, 1294, 4527, 69253, 53, 55292, 1229, 141, 5, 62346, 563, 4904, 51042, 98, 77879, 23, 22460, 1179, 1238, 3742, 95103, 63923, 93774, 7049, 9323, 211485, 984, 87, 88303, 5428, 10179, 304, 31344, 89280, 254, 98169, 1...
[ 0.0975341796875, 0.1474609375, 0.0909423828125, 0.179931640625, 0.11767578125, 0.0780029296875, 0.1510009765625, 0.1392822265625, 0.1422119140625, 0.184326171875, 0.14013671875, 0.0208282470703125, 0.204833984375, 0.1068115234375, 0.182373046875, 0.04241943359375, 0.09979248046875, ...
embed
11907242_c1
11907242
fsharp
1
command using F# 3.0, so it's not surprising its unit tests are still fine). Google suggests that HRESULT: 0x8007000B might be caused by a compiler bug. It may be a case of a bad crasftsman blaming his tools, but the issue disappears when F# 3.0 is used. Can someone please suggest anything to try to get things working ...
command using F# 3.0, so it's not surprising its unit tests are still fine). Google suggests that HRESULT: 0x8007000B might be caused by a compiler bug. It may be a case of a bad crasftsman blaming his tools, but the issue disappears when F# 3.0 is used. Can someone please suggest anything to try to get things working ...
[ -0.0181884765625, 0.000560760498046875, -0.005706787109375, -0.027587890625, -0.0027313232421875, 0.01165771484375, 0.00787353515625, -0.0172119140625, -0.006683349609375, 0.0042724609375, -0.028564453125, -0.0014495849609375, 0.00946044921875, -0.0079345703125, 0.0263671875, -0.011169...
[ 75101, 17368, 563, 4904, 17596, 212615, 25072, 109921, 7464, 5885, 1815, 42459, 572, 34465, 82643, 757, 425, 10253, 111178, 571, 13648, 143434, 9969, 34759, 54608, 1543, 6494, 2480, 45211, 9932, 72977, 70, 31089, 213566, 11814, 9790, 8966, 20...
[ 0.210205078125, 0.088623046875, 0.132568359375, 0.2103271484375, 0.23779296875, 0.06280517578125, 0.1048583984375, 0.14892578125, 0.083251953125, 0.1669921875, 0.075439453125, 0.0662841796875, 0.1082763671875, 0.1072998046875, 0.19775390625, 0.1156005859375, 0.080078125, 0.22290039...
embed
39007085_c0
39007085
fsharp
0
Title: F# not recognizing the interop.office.Excel.dll Problem title: F# not recognizing the interop.office.Excel.dll Tags: .net, office-interop, excel-interop, f%23, excel Problem: F# not recognizing the interop.office.Excel.dll After adding the reference to the interop.office.Excel.dll in VS2015, F# (4.0, .net 4.6.1)...
F# not recognizing the interop.office.Excel.dll F# not recognizing the interop.office.Excel.dll .net office-interop excel-interop f%23 excel interop.office.Excel.dll F# not recognizing the interop.office.Excel.dll After adding the reference to the interop.office.Excel.dll in VS2015, F# (4.0, .net 4.6.1) still not able ...
[ 0.01397705078125, 0.0198974609375, 0.01470947265625, 0.01239013671875, -0.01129150390625, 0.01220703125, -0.03759765625, 0.0032958984375, -0.0289306640625, 0.01043701171875, -0.0164794921875, -0.00860595703125, 0.01031494140625, 0.013916015625, 0.025390625, -0.006378173828125, -0.003...
[ 563, 4904, 959, 75530, 19, 1940, 2146, 65024, 184926, 71, 1181, 6, 1179, 23179, 10433, 64152, 1238, 3742, 154107, 91067, 44160, 5357, 151152, 1398, 173245, 7464, 10644, 1379, 30326, 5, 33342, 1884, 225490, 75935, 13452, 90791, 187791, 18151, ...
[ 0.1536865234375, 0.2183837890625, 0.0531005859375, 0.07244873046875, 0.0325927734375, 0.13671875, 0.1806640625, 0.166015625, 0.219482421875, 0.05609130859375, 0.177490234375, 0.00714111328125, 0.1151123046875, 0.15771484375, 0.1112060546875, 0.18994140625, 0.0491943359375, 0.101074...
embed
16575909_c0
16575909
fsharp
0
Title: Function type inferences in match Problem title: Function type inferences in match Tags: f%23 Problem: Function type inferences in match Please, could someone explain why here the function type is inferred to be string -> string? let myFunc a:string = match a with | "A" -> 1 | _ -> 0 This works fine when the arg...
Function type inferences in match Function type inferences in match f%23 a:string a.ToUpper a.ToString ToUpper Function type inferences in match Please, could someone explain why here the function type is inferred to be string -> string? This works fine when the argument is generic, but as soon as I add :string the typ...
[ 0.00653076171875, -0.01080322265625, 0.008056640625, 0.0196533203125, 0.000152587890625, -0.02978515625, 0.00147247314453125, -0.00124359130859375, 0.01275634765625, 0.00933837890625, 0.0007781982421875, -0.0186767578125, 0.004425048828125, 0.01519775390625, 0.0159912109375, -0.0136108...
[ 28670, 10763, 10644, 53498, 69098, 23, 14858, 1238, 3949, 3742, 10, 91693, 7763, 1062, 8079, 71713, 717, 5809, 22008, 73342, 15400, 3688, 32354, 2822, 47, 186, 79315, 33079, 43240, 5885, 10750, 189534, 1284, 33662, 15190, 152, 65572, 44084, ...
[ 0.1466064453125, 0.06304931640625, 0.2008056640625, 0.191162109375, 0.08056640625, 0.036865234375, 0.237548828125, 0.07568359375, 0.0330810546875, 0.1446533203125, 0.04168701171875, 0.21630859375, 0.138671875, 0.057220458984375, 0.1669921875, 0.121337890625, 0.144775390625, 0.01756...
embed
51374843_c0
51374843
fsharp
0
Title: Asynchronous mapFold Problem title: Asynchronous mapFold Tags: asynchronous, f%23, fold Problem: Asynchronous mapFold For the following example, Array.mapFold produces the result ([|1; 4; 12|], 7) . let mapping s x = (s * x, s + x) [| 1..3 |] |> Array.mapFold mapping 1 Now suppose our mapping is asynchronous. le...
Asynchronous mapFold Asynchronous mapFold asynchronous f%23 fold Asynchronous Array.mapFold Array.mapFoldAsync Async.RunSynchronously Asynchronous mapFold For the following example, Array.mapFold produces the result ([|1; 4; 12|], 7) . Now suppose our mapping is asynchronous. I am able to create Array.mapFoldAsync for ...
[ -0.013427734375, 0.00933837890625, 0.0025787353515625, -0.01904296875, -0.0223388671875, -0.007476806640625, -0.000335693359375, -0.005126953125, -0.00653076171875, -0.025390625, -0.00799560546875, 0.0037994384765625, -0.0011444091796875, 0.00994873046875, 0.016845703125, -0.0112915039...
[ 62, 12654, 101966, 10821, 22288, 919, 18345, 10, 1238, 3949, 3742, 42822, 69253, 53, 62346, 238, 163321, 217835, 127, 1900, 79850, 25632, 27781, 5, 27489, 16750, 418, 74, 201, 427, 49413, 139124, 2446, 291, 26783, 19048, 28282, 284, 4488, ...
[ 0.0528564453125, 0.2022705078125, 0.1710205078125, 0.03924560546875, 0.171875, 0.1624755859375, 0.211181640625, 0.0595703125, 0.0243072509765625, 0.0650634765625, 0.143798828125, 0.20166015625, 0.1422119140625, 0.1214599609375, 0.152099609375, 0.052520751953125, 0.062164306640625, ...
embed
3359737_c0
3359737
fsharp
0
Title: Trapping COM exception in F# Problem title: Trapping COM exception in F# Tags: exception, com, f%23 Problem: Trapping COM exception in F# I have some F# code that calls a method on a COM Automation object. Sometimes that COM object throws an exception. I tried wrapping the calls to the COM object in a try...with...
Trapping COM exception in F# Trapping COM exception in F# exception com f%23 HRESULT Trapping COM Printf.printf Exception RPC_E_SERVERCALL_RETRYLATER Trapping COM exception in F# I have some F# code that calls a method on a COM Automation object. Sometimes that COM object throws an exception. I tried wrapping the calls...
[ -0.007568359375, 0.02001953125, -0.0038604736328125, -0.01495361328125, 0.00958251953125, 0.0089111328125, 0.00823974609375, -0.00811767578125, 0.004547119140625, -0.00689697265625, -0.01611328125, 0.01068115234375, 0.0003299713134765625, 0.006103515625, 0.0264892578125, 0.012145996093...
[ 4937, 26783, 31436, 131527, 563, 4904, 375, 1238, 3742, 34465, 82643, 39754, 420, 35662, 5443, 63928, 627, 12233, 647, 116808, 66437, 41116, 8356, 23, 18151, 11782, 55300, 51719, 36746, 160193, 104250, 37842, 137565, 10366, 9790, 76228, 46389, ...
[ 0.1783447265625, 0.07867431640625, 0.21484375, 0.189208984375, 0.1187744140625, 0.1986083984375, 0.1324462890625, 0.041534423828125, 0.109130859375, 0.048004150390625, 0.10540771484375, 0.101806640625, 0.0943603515625, 0.084228515625, 0.0592041015625, 0.1329345703125, 0.0046691894531...
embed
70777567_c0
70777567
fsharp
0
Title: Is there an async validate lib for F#? Problem title: Is there an async validate lib for F#? Tags: f%23 Problem: Is there an async validate lib for F#? I'm using asyncResult a lot in my code but it'll exit at the first error: asyncResult { let! a = allGood() let! b = thisReturnsError() let! c = neverExecuted() }...
Is there an async validate lib for F#? Is there an async validate lib for F#? f%23 thisReturnsError Is there an async validate lib for F#? I'm using asyncResult a lot in my code but it'll exit at the first error: but sometimes I want to execute ALL functions and sum up the errors: and then I either get an Ok, or a Erro...
[ -0.00750732421875, 0.0174560546875, 0.001556396484375, -0.017822265625, -0.00250244140625, -0.0093994140625, -0.0146484375, -0.01385498046875, 0.021240234375, -0.03271484375, 0.0196533203125, 0.001861572265625, 0.025634765625, 0.00677490234375, 0.00171661376953125, -0.002655029296875, ...
[ 2071, 2685, 142, 10, 12654, 238, 44622, 67, 25474, 100, 563, 4904, 1238, 3742, 903, 4332, 987, 1779, 18468, 31611, 17368, 7, 7136, 5915, 18151, 82230, 99, 5117, 18499, 68018, 3444, 71924, 58837, 32354, 136, 10554, 1257, 2046, 9972, 707, ...
[ 0.0192718505859375, 0.05230712890625, 0.07171630859375, 0.102294921875, 0.2291259765625, 0.125, 0.25341796875, 0.151123046875, 0.2283935546875, 0.07818603515625, 0.1429443359375, 0.1910400390625, 0.0723876953125, 0.1348876953125, 0.1148681640625, 0.048126220703125, 0.1387939453125, ...
embed
15829660_c1
15829660
fsharp
1
is because λ-expressions directly map to CLR functions while computed definitions map to delegate objects. (I'm not sure of this interpretation and would appreciate if somebody very familiar with F# could point to reference documents describing this.) A solution would be to systematically add parentheses to all the fu...
is because λ-expressions directly map to CLR functions while computed definitions map to delegate objects. (I'm not sure of this interpretation and would appreciate if somebody very familiar with F# could point to reference documents describing this.) A solution would be to systematically add parentheses to all the fu...
[ 0.003662109375, 0.003814697265625, -0.002532958984375, 0.025146484375, 0.01336669921875, -0.002349853515625, -0.000629425048828125, -0.00506591796875, -0.008056640625, -0.0216064453125, 0.00738525390625, -0.013671875, 0.01422119140625, 0.006195068359375, 0.0089111328125, -0.00207519531...
[ 83, 6637, 111147, 9, 204629, 105237, 22288, 47, 313, 138535, 32354, 12960, 375, 7077, 297, 80934, 102329, 13, 36746, 5, 206019, 16031, 563, 4904, 91067, 29806, 242161, 15190, 49129, 35412, 756, 52895, 39, 150, 30783, 24500, 96391, 1106, 625...
[ 0.18017578125, 0.156982421875, 0.260986328125, 0.05072021484375, 0.273681640625, 0.1072998046875, 0.1451416015625, 0.0513916015625, 0.06304931640625, 0.286865234375, 0.201171875, 0.054962158203125, 0.06317138671875, 0.1881103515625, 0.02606201171875, 0.2471923828125, 0.280517578125, ...
embed
20450103_c0
20450103
fsharp
0
Title: Calling an F# Function from C# Problem title: Calling an F# Function from C# Tags: c%23, f%23, visual-studio Problem: Calling an F# Function from C# I've looked at other instructions and still have no idea how to do this. I have two projects (Calculator in C# and Logic in F#). I added a reference to Logic in Cal...
Calling an F# Function from C# Calling an F# Function from C# c%23 f%23 visual-studio C# Calling Logic.start List.ofSeq Calling an F# Function from C# I've looked at other instructions and still have no idea how to do this. I have two projects (Calculator in C# and Logic in F#). I added a reference to Logic in Calculat...
[ 0.013916015625, 0.0264892578125, 0.002349853515625, 0.0074462890625, 0.02099609375, 0.00154876708984375, 0.015380859375, -0.0250244140625, 0.00970458984375, -0.04150390625, 0.0034332275390625, -0.002166748046875, -0.018310546875, -0.00262451171875, 0.020751953125, -0.022705078125, -0...
[ 26265, 563, 4904, 28670, 10763, 1295, 313, 3742, 1238, 21176, 52629, 50592, 238, 17137, 32036, 4390, 4233, 864, 167934, 6528, 6626, 77635, 94553, 16735, 1290, 49814, 91067, 23, 212467, 4597, 93774, 3467, 254, 50886, 13, 15190, 13315, 13452, ...
[ 0.171630859375, 0.1348876953125, 0.255126953125, 0.193603515625, 0.04473876953125, 0.1435546875, 0.0794677734375, 0.0748291015625, 0.0284576416015625, 0.1458740234375, 0.1531982421875, 0.20849609375, 0.138427734375, 0.155517578125, 0.18896484375, 0.1082763671875, 0.10791015625, 0.1...
embed
8020942_c0
8020942
fsharp
0
Title: Where to get the F# ILX2CIL assembler? Problem title: Where to get the F# ILX2CIL assembler? Tags: compiler-construction, functional-programming, f%23, cil, clr Problem: Where to get the F# ILX2CIL assembler? I have recently been persuaded on the virtues of ILX (see this thread ) . In particular, I want to targe...
Where to get the F# ILX2CIL assembler? Where to get the F# ILX2CIL assembler? compiler-construction functional-programming f%23 cil clr Where ILX2CIL Where to get the F# ILX2CIL assembler? I have recently been persuaded on the virtues of ILX (see this thread ) . In particular, I want to target my own functional languag...
[ -0.00130462646484375, -0.01141357421875, 0.0169677734375, -0.00634765625, -0.024169921875, 0.03564453125, -0.00543212890625, -0.01165771484375, 0.00665283203125, -0.01171875, 0.025146484375, -0.006195068359375, 0.0027008056640625, -0.01092529296875, 0.0250244140625, -0.010498046875, ...
[ 78662, 47, 2046, 563, 4904, 87, 103911, 304, 441, 16444, 93457, 42, 9969, 34759, 238478, 123309, 28966, 1238, 3742, 13003, 33139, 70, 19492, 30388, 10002, 46876, 99, 313, 138535, 2965, 35829, 7413, 172127, 64, 1295, 4420, 132283, 4843, 282,...
[ 0.10113525390625, 0.0247802734375, 0.1280517578125, 0.0816650390625, 0.166748046875, 0.08984375, 0.2474365234375, 0.189453125, 0.084716796875, 0.1998291015625, 0.2171630859375, 0.1512451171875, 0.1224365234375, 0.111572265625, 0.0755615234375, 0.1556396484375, 0.06317138671875, 0.0...
embed
1942744_c1
1942744
fsharp
1
null) return new Result(res.Data, new Pair(res.Next, new Repeat(_toRun, _counter - 1))); return new Result(res.Data, new Repeat(_toRun, _counter - 1)); } return res; } } class Sequence : IRunner { IEnumerator<IRunner> _runner; public Sequence(IEnumerator<IRunner> runner) { _runner = runner; } public Result Run(int dat...
null) return new Result(res.Data, new Pair(res.Next, new Repeat(_toRun, _counter - 1))); return new Result(res.Data, new Repeat(_toRun, _counter - 1)); } return res; } } class Sequence : IRunner { IEnumerator<IRunner> _runner; public Sequence(IEnumerator<IRunner> runner) { _runner = runner; } public Result Run(int dat...
[ 0.006866455078125, 0.026611328125, -0.0115966796875, 0.025634765625, 0.00958251953125, 0.0184326171875, 0.006011962890625, -0.0240478515625, 0.0120849609375, -0.0311279296875, -0.00653076171875, 0.04248046875, -0.009765625, 0.01544189453125, 0.0031890869140625, -0.01531982421875, 0.0...
[ 56574, 30646, 3525, 126684, 2109, 137989, 1342, 481, 81280, 33742, 13, 257, 188, 163321, 71013, 106, 4879, 51912, 3332, 18507, 503, 944, 3956, 32863, 34, 13857, 75536, 2606, 56, 4597, 14688, 142117, 3835, 132, 20441, 6, 2203, 28398, 4288, ...
[ 0.2188720703125, 0.1822509765625, 0.105224609375, 0.2344970703125, 0.1446533203125, 0.132080078125, 0.1044921875, 0.074462890625, 0.2003173828125, 0.07562255859375, 0.08349609375, 0.0228424072265625, 0.0718994140625, 0.1885986328125, 0.108642578125, 0.048583984375, 0.0147857666015625...
embed
23034895_c0
23034895
fsharp
0
Title: Getting a reference to System.String from System.Runtime.dll instead of from mscorlib Problem title: Getting a reference to System.String from System.Runtime.dll instead of from mscorlib Tags: reflection, c%23, .net, windows-runtime, f%23 Problem: Getting a reference to System.String from System.Runtime.dll inst...
Getting a reference to System.String from System.Runtime.dll instead of from mscorlib Getting a reference to System.String from System.Runtime.dll instead of from mscorlib reflection c%23 .net windows-runtime f%23 System.Runtime.dll mscorlib Getting System.String Assembly.ReflectionOnlyLoad GetType System.Runtime Getti...
[ -0.00732421875, 0.021484375, -0.005950927734375, 0.0211181640625, -0.01434326171875, -0.011962890625, 0.002349853515625, 0.0208740234375, 0.0014801025390625, -0.0235595703125, -0.00299072265625, 0.006561279296875, -0.01226806640625, 0.007568359375, -0.005645751953125, 0.01434326171875,...
[ 210732, 91067, 47, 12353, 71713, 214, 1295, 163321, 6032, 1181, 64457, 10517, 5612, 5, 71, 44961, 1830, 3742, 1179, 54825, 16428, 151169, 190015, 133, 20320, 538, 15363, 20779, 196707, 68163, 712, 724, 126, 84293, 2046, 70, 10644, 44402, 13...
[ 0.072998046875, 0.2362060546875, 0.05352783203125, 0.1922607421875, 0.2225341796875, 0.11962890625, 0.046630859375, 0.1058349609375, 0.1507568359375, 0.14013671875, 0.08807373046875, 0.1175537109375, 0.22607421875, 0.015594482421875, 0.00762939453125, 0.1817626953125, 0.0138549804687...
embed
52730581_c0
52730581
fsharp
0
Title: Typing a record field to hold a function with type arguments Problem title: Typing a record field to hold a function with type arguments Tags: f%23 Problem: Typing a record field to hold a function with type arguments Given a function defined as let get<'T> var1 var2 : 'T option what type signature should the gi...
Typing a record field to hold a function with type arguments Typing a record field to hold a function with type arguments f%23 Typing var1 var2 MyType AFunc Typing a record field to hold a function with type arguments Given a function defined as let get<'T> var1 var2 : 'T option what type signature should the given to ...
[ 0.00194549560546875, -0.005584716796875, 0.00051116943359375, 0.0076904296875, -0.00341796875, -0.0184326171875, -0.0201416015625, 0.00186920166015625, 0.01275634765625, 0.00189971923828125, 0.0078125, 0.0087890625, -0.01275634765625, -0.003173828125, 0.000301361083984375, -0.015136718...
[ 33417, 214, 17164, 44457, 47, 16401, 32354, 678, 10644, 10750, 1238, 3949, 3742, 285, 418, 304, 2646, 196707, 62, 97249, 238, 10, 61924, 2633, 2046, 618, 35829, 2367, 138256, 5608, 34475, 1221, 95486, 37842, 67842, 14311, 28247, 309, 995, ...
[ 0.21923828125, 0.013763427734375, 0.203125, 0.20751953125, 0.05218505859375, 0.1534423828125, 0.1773681640625, 0.06524658203125, 0.247802734375, 0.2203369140625, 0.0643310546875, 0.0148162841796875, 0.1585693359375, 0.1339111328125, 0.057373046875, 0.12841796875, 0.119140625, 0.265...
embed
31439855_c0
31439855
fsharp
0
Title: Using Math.Round with a Unit of Measure Problem title: Using Math.Round with a Unit of Measure Tags: units-of-measurement, f%23 Problem: Using Math.Round with a Unit of Measure I'm trying to use Math.Round within a function to round a monetary amount as follows: let calculateTaxablePayToDate previousPayToDate ta...
Using Math.Round with a Unit of Measure Using Math.Round with a Unit of Measure units-of-measurement f%23 Using Math.Round Unit Measure x:decimal GBP Using Math.Round with a Unit of Measure I'm trying to use Math.Round within a function to round a monetary amount as follows: The types that I'm passing in are both of ty...
[ -0.00084686279296875, 0.001556396484375, 0.00396728515625, 0.00830078125, -0.00482177734375, -0.0196533203125, 0.01153564453125, 0.0019989013671875, 0.03076171875, -0.01324462890625, -0.01092529296875, 0.00194549560546875, -0.009521484375, 0.006622314453125, 0.031982421875, 0.006896972...
[ 345, 78804, 5, 12724, 7030, 678, 46640, 111, 1215, 11, 56851, 25072, 4390, 37440, 1238, 3949, 3742, 6953, 1022, 170753, 289, 20331, 683, 31577, 4527, 28032, 32354, 47, 68807, 147794, 41170, 52895, 452, 23, 15044, 10644, 32380, 2749, 8359, ...
[ 0.03424072265625, 0.2044677734375, 0.04400634765625, 0.1883544921875, 0.2105712890625, 0.1287841796875, 0.1761474609375, 0.12158203125, 0.1072998046875, 0.11474609375, 0.07305908203125, 0.15087890625, 0.1036376953125, 0.09930419921875, 0.0750732421875, 0.0158843994140625, 0.120605468...
embed
15168572_c0
15168572
fsharp
0
Title: IntelliSense suggestions for F# in Visual Studio Express 2012 for Web Problem title: IntelliSense suggestions for F# in Visual Studio Express 2012 for Web Tags: visual-studio, intellisense, f%23, visual-studio-2012, visual-studio-2010 Problem: IntelliSense suggestions for F# in Visual Studio Express 2012 for Web...
IntelliSense suggestions for F# in Visual Studio Express 2012 for Web IntelliSense suggestions for F# in Visual Studio Express 2012 for Web visual-studio intellisense f%23 visual-studio-2012 visual-studio-2010 S IntelliSense Visual Studio Express Web visual-studio-2012 visual-studio-2010 IntelliSense suggestions for F#...
[ -0.004913330078125, 0.00130462646484375, -0.01214599609375, -0.0201416015625, -0.01336669921875, 0.0203857421875, -0.0179443359375, 0.004058837890625, -0.00836181640625, -0.00518798828125, 0.0003299713134765625, 0.00518798828125, -0.0098876953125, 0.00185394287109375, 0.023193359375, -...
[ 24018, 150, 294, 21161, 157666, 563, 4904, 73372, 22968, 25129, 1324, 4002, 21176, 52629, 892, 27077, 1238, 3742, 54458, 73552, 159, 360, 1532, 10644, 17368, 191082, 7426, 2037, 59636, 33720, 96276, 22799, 108963, 54123, 9, 170, 185553, 2046,...
[ 0.0635986328125, 0.0689697265625, 0.08935546875, 0.10235595703125, 0.2286376953125, 0.09063720703125, 0.1668701171875, 0.156005859375, 0.1439208984375, 0.1728515625, 0.2042236328125, 0.0987548828125, 0.09033203125, 0.114013671875, 0.01190185546875, 0.0821533203125, 0.0177154541015625...
embed
29979318_c0
29979318
fsharp
0
Title: lagging variables in F# Problem title: lagging variables in F# Tags: deedle, f%23 Problem: lagging variables in F# I have the following code: let years = [|1990 .. 2010|] let rand = System.Random() let gold = [ for i in years do yield rand.NextDouble()] let silver = [ for i in gold do yield 2.0 * i + rand.NextDo...
lagging variables in F# lagging variables in F# deedle f%23 System.Random rand.NextDouble Frame.ofColumns Series R.lm R.as_data_frame R.summary lagging variables in F# I have the following code: I would like to regress gold on "lagged" silver. How can I edit the below code so that I regress gold on lagged silver (silve...
[ 0.01422119140625, 0.0024566650390625, -0.0223388671875, -0.007720947265625, -0.0120849609375, -0.0130615234375, 0.017822265625, 0.001983642578125, 0.0074462890625, -0.0308837890625, 0.00738525390625, 0.01458740234375, -0.009033203125, -0.020751953125, 0.0169677734375, 0.01434326171875,...
[ 21, 36659, 77336, 563, 4904, 8, 297, 133, 1238, 3742, 12353, 126525, 3815, 27388, 81280, 42557, 4390, 316, 64876, 627, 162, 10135, 160328, 112197, 25632, 18151, 2806, 1884, 45167, 7, 86761, 98, 143, 134229, 115392, 27211, 35064, 10801, 814,...
[ 0.1639404296875, 0.2064208984375, 0.21337890625, 0.1302490234375, 0.1883544921875, 0.07440185546875, 0.1077880859375, 0.06646728515625, 0.05487060546875, 0.0972900390625, 0.04730224609375, 0.03131103515625, 0.044921875, 0.1226806640625, 0.07623291015625, 0.093505859375, 0.05685424804...
embed
46265223_c0
46265223
fsharp
0
Title: Files piling up in Suave.io&#x27;s _temporary_compressed_files folder Problem title: Files piling up in Suave.io&#x27;s _temporary_compressed_files folder Tags: suave, f%23 Problem: Files piling up in Suave.io's _temporary_compressed_files folder I'm using Suave.io as a web server in a shared hosting environment...
Files piling up in Suave.io&#x27;s _temporary_compressed_files folder Files piling up in Suave.io&#x27;s _temporary_compressed_files folder suave f%23 Files Suave.io _temporary_compressed_files Files piling up in Suave.io's _temporary_compressed_files folder I'm using Suave.io as a web server in a shared hosting enviro...
[ -0.01129150390625, 0.017822265625, 0.0029296875, 0.0106201171875, 0.004150390625, 0.01275634765625, -0.006439208984375, -0.01806640625, -0.0030670166015625, 0.0223388671875, 0.004364013671875, 0.03955078125, 0.0230712890625, 0.02978515625, 0.005035400390625, 0.01446533203125, 0.00674...
[ 42724, 8111, 214, 1257, 23, 45384, 272, 846, 3768, 99736, 6635, 277, 11856, 297, 29822, 78303, 109829, 3742, 5, 1467, 10723, 99764, 70496, 65998, 156672, 102158, 75935, 8306, 20949, 154109, 209806, 14168, 8216, 8, 74635, 24145, 149976, 6897, ...
[ 0.18017578125, 0.1536865234375, 0.0616455078125, 0.0731201171875, 0.014251708984375, 0.2178955078125, 0.2222900390625, 0.17431640625, 0.0231170654296875, 0.1822509765625, 0.03985595703125, 0.05560302734375, 0.1728515625, 0.027435302734375, 0.156982421875, 0.108642578125, 0.2490234375...
embed
29311351_c0
29311351
fsharp
0
Title: Reference that tabulates which F# types are value types and which are reference types Problem title: Reference that tabulates which F# types are value types and which are reference types Tags: .net, f%23 Problem: Reference that tabulates which F# types are value types and which are reference types Is there a goo...
Reference that tabulates which F# types are value types and which are reference types Reference that tabulates which F# types are value types and which are reference types .net f%23 Reference Reference that tabulates which F# types are value types and which are reference types Is there a good reference that tabulates w...
[ 0.01507568359375, 0.013671875, 0.0036468505859375, 0.0027313232421875, 0.00390625, 0.00146484375, -0.00604248046875, -0.00872802734375, -0.00592041015625, 0.0128173828125, 0.005218505859375, -0.015869140625, 0.0002841949462890625, 0.0194091796875, -0.00140380859375, 0.0186767578125, ...
[ 215996, 169196, 3129, 563, 4904, 52895, 621, 34292, 136, 91067, 1636, 1179, 1238, 3742, 4127, 41, 1294, 10644, 83324, 83, 3714, 8966, 61112, 36716, 149067, 11343, 100270, 370, 8705, 17164 ]
[ 0.15869140625, 0.235107421875, 0.02545166015625, 0.1370849609375, 0.2242431640625, 0.2176513671875, 0.081298828125, 0.24853515625, 0.046844482421875, 0.2200927734375, 0.0142822265625, 0.1322021484375, 0.05029296875, 0.062347412109375, 0.03497314453125, 0.042205810546875, 0.0422363281...
embed
21483801_c0
21483801
fsharp
0
Title: BadImageFormatException when running F# application Problem title: BadImageFormatException when running F# application Tags: .net, f%23, f%23-3.0, badimageformatexception Problem: BadImageFormatException when running F# application Using VS2013 with .NET 4.0 I've compiled sample code provided at Updated version ...
BadImageFormatException when running F# application BadImageFormatException when running F# application .net f%23 f%23-3.0 badimageformatexception BadImageFormatException System.BadImageFormatException ChessAnalysis.exe SmallChessBase.csv BadImageFormatException when running F# application Using VS2013 with .NET 4.0 I'...
[ -0.01068115234375, 0.00872802734375, 0.003631591796875, -0.006134033203125, 0.01007080078125, 0.01251220703125, -0.01251220703125, -0.0035858154296875, -0.00775146484375, -0.00970458984375, 0.01904296875, 0.0021820068359375, 0.007598876953125, 0.00077056884765625, 0.021240234375, -0.01...
[ 12745, 216960, 102973, 257, 19279, 63928, 51042, 563, 4904, 38415, 1179, 1238, 3742, 27495, 132265, 6494, 37926, 51727, 3355, 12353, 157027, 5024, 7, 73026, 14907, 46480, 105508, 98914, 63473, 4439, 334, 44160, 7735, 17777, 40401, 5974, 121413,...
[ 0.1641845703125, 0.2144775390625, 0.2041015625, 0.067138671875, 0.0830078125, 0.15087890625, 0.107421875, 0.1103515625, 0.198974609375, 0.1343994140625, 0.10211181640625, 0.026397705078125, 0.060028076171875, 0.003875732421875, 0.1175537109375, 0.139892578125, 0.1881103515625, 0.25...
embed
12202150_c0
12202150
fsharp
0
Title: Portable class library and .NET ConcurrentDictionary Problem title: Portable class library and .NET ConcurrentDictionary Tags: portable-class-library, f%23, .net, windows-8, concurrency Problem: Portable class library and .NET ConcurrentDictionary Looking at http://msdn.microsoft.com/en-us/library/dd287191(v=vs....
Portable class library and .NET ConcurrentDictionary Portable class library and .NET ConcurrentDictionary portable-class-library f%23 .net windows-8 concurrency Portable NET ConcurrentDictionary System.Collections.Concurrent mscorlib.dll windows-8 Portable class library and .NET ConcurrentDictionary Looking at http://m...
[ -0.00836181640625, 0.033203125, -0.01025390625, -0.00179290771484375, -0.006439208984375, -0.006378173828125, -0.00927734375, 0.00830078125, -0.01806640625, -0.01080322265625, -0.018310546875, 0.01483154296875, 0.0118408203125, 0.0020904541015625, 0.0279541015625, 0.0125732421875, 0....
[ 1818, 22819, 18507, 35773, 136, 17777, 1657, 163812, 14055, 10763, 168627, 67413, 150, 2844, 3742, 1179, 54825, 17376, 108636, 982, 12353, 78457, 8996, 11935, 10517, 5612, 1181, 138410, 223, 12183, 18043, 36053, 6635, 756, 23902, 210716, 19882,...
[ 0.1146240234375, 0.1065673828125, 0.1510009765625, 0.1361083984375, 0.0268096923828125, 0.116455078125, 0.1181640625, 0.2279052734375, 0.04681396484375, 0.112060546875, 0.13671875, 0.1268310546875, 0.04766845703125, 0.08062744140625, 0.03057861328125, 0.06658935546875, 0.037567138671...
embed
8696555_c0
8696555
fsharp
0
Title: F# returning a value from a function that returns unit Problem title: F# returning a value from a function that returns unit Tags: return-type, f%23 Problem: F# returning a value from a function that returns unit I have a type type figure = { what : int; position : Point; size : Point; } and i want my function t...
F# returning a value from a function that returns unit F# returning a value from a function that returns unit return-type f%23 a Point drawArea.MouseClick.Add args.Button MouseButtons.Left args.X args.Y F# returning a value from a function that returns unit I have a type and i want my function to return this type, howe...
[ -0.00823974609375, 0.0028839111328125, 0.01043701171875, -0.0322265625, -0.0115966796875, 0.0034637451171875, 0.003082275390625, -0.01153564453125, 0.01214599609375, -0.00933837890625, 0.009521484375, 0.011962890625, 0.0024566650390625, -0.00909423828125, -0.000644683837890625, -0.0155...
[ 563, 4904, 30646, 214, 34292, 1295, 32354, 450, 25072, 50986, 1238, 3949, 3742, 41097, 79442, 1283, 51483, 181671, 4028, 79459, 82212, 174799, 67772, 2480, 1542, 7, 1723, 765, 10644, 3444, 759, 47, 903, 49903, 16792, 442, 19732, 86171, 3642...
[ 0.150634765625, 0.2177734375, 0.2139892578125, 0.060333251953125, 0.1622314453125, 0.1187744140625, 0.2056884765625, 0.04522705078125, 0.2427978515625, 0.1611328125, 0.120849609375, 0.0843505859375, 0.164306640625, 0.146728515625, 0.1298828125, 0.0980224609375, 0.11083984375, 0.178...
embed
74192058_c0
74192058
fsharp
0
Title: Upgrade current .NET SDK in Visual Studio 2022 Problem title: Upgrade current .NET SDK in Visual Studio 2022 Tags: diffsharp, .net, f%23, sdk Problem: Upgrade current .NET SDK in Visual Studio 2022 I'm trying to add DiffSharp.Backends.Torch package to my MS Visual Studio 2022 project, but says I only have .NET5....
Upgrade current .NET SDK in Visual Studio 2022 Upgrade current .NET SDK in Visual Studio 2022 diffsharp .net f%23 sdk Upgrade NET SDK Visual Studio Upgrade current .NET SDK in Visual Studio 2022 I'm trying to add DiffSharp.Backends.Torch package to my MS Visual Studio 2022 project, but says I only have .NET5.0 installe...
[ 0, 0.0303955078125, 0.01336669921875, 0.0091552734375, 0.01190185546875, -0.006500244140625, -0.011962890625, 0.0115966796875, -0.00628662109375, 0.0198974609375, 0.00830078125, -0.0177001953125, -0.004119873046875, 0.01300048828125, 0.0189208984375, 0.0091552734375, 0.025146484375, ...
[ 10091, 44286, 43581, 5, 17777, 159, 45461, 23, 73372, 22968, 72392, 71337, 89280, 254, 1179, 1238, 3949, 3742, 91, 5740, 31577, 15190, 191144, 40798, 10681, 152470, 3611, 98722, 206, 98169, 13452, 4734, 765, 187461, 20600, 2289, 2389, 136, ...
[ 0.1278076171875, 0.1583251953125, 0.166259765625, 0.035308837890625, 0.204833984375, 0.08538818359375, 0.286865234375, 0.041412353515625, 0.20703125, 0.188720703125, 0.251220703125, 0.17138671875, 0.1827392578125, 0.0933837890625, 0.1617431640625, 0.0242462158203125, 0.04583740234375...
embed
58758375_c0
58758375
fsharp
0
Title: Parsing a string to an enum in F# Problem title: Parsing a string to an enum in F# Tags: enums, f%23 Problem: Parsing a string to an enum in F# I am trying to do the following (which doesn't compile): let Parse<'T> value = Enum.Parse(typedefof<'T>, value) :?> 'T In short I would like to pass an enum type, and a ...
Parsing a string to an enum in F# Parsing a string to an enum in F# enums f%23 Parsing Parse Enum.Parse MyEnums Green Blue Parsing a string to an enum in F# I am trying to do the following (which doesn't compile): In short I would like to pass an enum type, and a string and get back an enum value. An example usage woul...
[ -0.029296875, -0.0120849609375, -0.0011749267578125, 0.0157470703125, -0.0179443359375, 0.0225830078125, -0.0130615234375, -0.021484375, -0.00677490234375, 0.001983642578125, 0.000492095947265625, 0.01202392578125, 0.007354736328125, 0.010498046875, -0.001922607421875, 0.01300048828125...
[ 2392, 6953, 79315, 47, 142, 22, 316, 23, 563, 4904, 10321, 1238, 3949, 3742, 184, 357, 28636, 2646, 7768, 15497, 22928, 31577, 25632, 18, 9969, 1340, 16610, 2806, 1884, 27875, 10644, 136, 2046, 4420, 34292, 27781, 127689, 6002, 86531, 118...
[ 0.1607666015625, 0.0802001953125, 0.2347412109375, 0.1539306640625, 0.04156494140625, 0.16162109375, 0.240234375, 0.062286376953125, 0.17822265625, 0.2181396484375, 0.2491455078125, 0.1163330078125, 0.041748046875, 0.145263671875, 0.09515380859375, 0.09375, 0.09295654296875, 0.1013...
embed
33087969_c0
33087969
fsharp
0
Title: Recursive functions in F# Problem title: Recursive functions in F# Tags: f%23, recursion Problem: Recursive functions in F# I am not sure if this is the right place to ask this kind of question, so please don't hate. I recently started learning F# for fun on edx.org. We had a lesson about recursion. The author o...
Recursive functions in F# Recursive functions in F# f%23 recursion Recursive Recursive functions in F# I am not sure if this is the right place to ask this kind of question, so please don't hate. I recently started learning F# for fun on edx.org. We had a lesson about recursion. The author of that course gave an intere...
[ 0.00193023681640625, 0.024169921875, 0.01275634765625, 0.018798828125, -0.00110626220703125, -0.0089111328125, -0.00390625, 0.0026397705078125, 0.0162353515625, -0.0064697265625, 0.00946044921875, -0.01708984375, -0.02099609375, 0.035888671875, 0.0264892578125, 0.003204345703125, 0.0...
[ 853, 48650, 5844, 32354, 563, 4904, 23, 1238, 3949, 3742, 195625, 1830, 35463, 52080, 7477, 425, 1478, 199, 1681, 42179, 15411, 49041, 27781, 5423, 10, 47, 186, 201, 16750, 140992, 4572, 47644, 2301, 18, 2046, 56112, 105950, 757, 384, 945...
[ 0.0921630859375, 0.227294921875, 0.1328125, 0.1932373046875, 0.14013671875, 0.218994140625, 0.044342041015625, 0.08917236328125, 0.05743408203125, 0.1702880859375, 0.235595703125, 0.0670166015625, 0.05303955078125, 0.0526123046875, 0.0439453125, 0.0262451171875, 0.03521728515625, 0...
embed
21452960_c1
21452960
fsharp
1
87789;] [2013-04-15;;EA] [2013-04-16;;] I would then iterate over this array to lookup some values and assign a payment based on each day. I've tried Array.find within a loop to update 2D arrays but I'm not sure how to do it (code below which did not work) but I'm really stuck about how to do this, or even if this is t...
87789;] [2013-04-15;;EA] [2013-04-16;;] I would then iterate over this array to lookup some values and assign a payment based on each day. I've tried Array.find within a loop to update 2D arrays but I'm not sure how to do it (code below which did not work) but I'm really stuck about how to do this, or even if this is t...
[ 0.00093841552734375, 0.017578125, 0.004547119140625, 0.0274658203125, -0.0120849609375, 0.00958251953125, 0.0021820068359375, 0.0218505859375, 0.0038299560546875, 0.0361328125, -0.0103759765625, 0.028076171875, -0.0224609375, -0.0181884765625, -0.0036468505859375, -0.01116943359375, ...
[ 18825, 153781, 40866, 24040, 2806, 8560, 67, 645, 903, 10298, 53, 6713, 2037, 142424, 95486, 10, 81997, 35509, 12638, 5155, 69253, 111607, 28032, 40956, 28350, 116, 397, 4778, 54, 40899, 35064, 4488, 6183, 179933, 3642, 2965, 12921, 114211, ...
[ 0.00439453125, 0.099609375, 0.010162353515625, 0.009368896484375, 0.0181732177734375, 0.139892578125, 0.021026611328125, 0.06060791015625, 0.0523681640625, 0.151611328125, 0.1180419921875, 0.04010009765625, 0.0877685546875, 0.1590576171875, 0.15576171875, 0.02313232421875, 0.24108886...
embed
45713771_c0
45713771
fsharp
0
Title: F# error array slicing when using 4.3.1 fsharp core version Problem title: F# error array slicing when using 4.3.1 fsharp core version Tags: f%23 Problem: F# error array slicing when using 4.3.1 fsharp core version I get the error when build my project with latest fharp core(4.3.1) for .Net 4.0. Error 20 The val...
F# error array slicing when using 4.3.1 fsharp core version F# error array slicing when using 4.3.1 fsharp core version f%23 4.3.1 Length F# error array slicing when using 4.3.1 fsharp core version I get the error when build my project with latest fharp core(4.3.1) for .Net 4.0. Code: I want to use fharp 4.3.1 for usin...
[ -0.0037994384765625, 0.01287841796875, -0.00830078125, 0.00262451171875, 0.01043701171875, -0.0216064453125, -0.006988525390625, 0.0184326171875, 0.0027313232421875, 0.002288818359375, 0.006591796875, -0.0152587890625, -0.004913330078125, -0.01422119140625, 0.0203857421875, -0.00723266...
[ 563, 4904, 18499, 10298, 53, 28756, 21896, 3229, 17368, 1398, 97109, 1238, 89280, 254, 56458, 11389, 3949, 3742, 77554, 927, 87, 2046, 70, 45367, 759, 13452, 678, 42850, 30600, 147, 105801, 100, 6, 24447, 40401, 28864, 3444, 47, 4527, 357...
[ 0.12841796875, 0.239501953125, 0.205078125, 0.194091796875, 0.16943359375, 0.1907958984375, 0.1292724609375, 0.04730224609375, 0.0838623046875, 0.1390380859375, 0.256103515625, 0.1170654296875, 0.224853515625, 0.1781005859375, 0.159912109375, 0.0758056640625, 0.0166015625, 0.162109...
embed
67479997_c2
67479997
fsharp
2
, ErrorActionPreference, Stop, ProgressPreference, SilentlyContinue, RUN, Set-ExecutionPolicy, Bypass, New-Object, System.Net.WebClient, DownloadString, chocolatey.org, install.ps1, sonarscanner-msbuild-net46, jdk8, Crystal, Reports, Visual, Studio, WORKDIR, Runtime, See, stackoverflow.com, COPY, Resources, Files, oled...
, ErrorActionPreference, Stop, ProgressPreference, SilentlyContinue, RUN, Set-ExecutionPolicy, Bypass, New-Object, System.Net.WebClient, DownloadString, chocolatey.org, install.ps1, sonarscanner-msbuild-net46, jdk8, Crystal, Reports, Visual, Studio, WORKDIR, Runtime, See, stackoverflow.com, COPY, Resources, Files, oled...
[ -0.0269775390625, 0.0205078125, 0.0078125, 0.0028076171875, 0.00075531005859375, -0.0101318359375, -0.005645751953125, -0.01904296875, -0.0016021728515625, 0.0537109375, -0.0050048828125, 0.0147705078125, -0.01043701171875, 0.0031280517578125, 0.0003452301025390625, 0.005126953125, -...
[ 6, 4, 212059, 284, 10763, 683, 239879, 42284, 109816, 602, 22042, 538, 100761, 13, 130747, 19943, 211603, 106144, 2408, 3311, 13409, 2356, 46471, 75161, 12353, 24447, 30474, 150, 2517, 4857, 71713, 214, 64507, 53, 1478, 20600, 5, 6423, 418,...
[ 0.0823974609375, 0.0858154296875, 0.2100830078125, 0.04644775390625, 0.1326904296875, 0.0439453125, 0.279541015625, 0.1925048828125, 0.1728515625, 0.09918212890625, 0.178466796875, 0.037933349609375, 0.10577392578125, 0.013946533203125, 0.1522216796875, 0.1087646484375, 0.11804199218...
embed
22280155_c0
22280155
fsharp
0
Title: FSharp.Data.JsonProvider - Getting json from types Problem title: FSharp.Data.JsonProvider - Getting json from types Tags: type-providers, f%23-data, f%23 Problem: FSharp.Data.JsonProvider - Getting json from types The FSharp.Data.JsonProvider provides a means to go from json to an F# type. Is it possible to go ...
FSharp.Data.JsonProvider - Getting json from types FSharp.Data.JsonProvider - Getting json from types type-providers f%23-data f%23 types FSharp.Data.JsonProvider Getting Simple JsonProvider John Age Name Fred FSharp.Data.JsonProvider - Getting json from types The FSharp.Data.JsonProvider provides a means to go from js...
[ 0.01300048828125, 0.033935546875, -0.0003185272216796875, 0.00860595703125, -0.0294189453125, 0.001983642578125, 0.0220947265625, 0.0172119140625, 0.00384521484375, -0.0250244140625, -0.0011444091796875, 0.033203125, 0.0038604736328125, -0.007537841796875, 0.0029144287109375, 0.0069580...
[ 93774, 3467, 254, 5, 137989, 1375, 1681, 177997, 62160, 210732, 1647, 1295, 52895, 10644, 93136, 1238, 27495, 10135, 3742, 60552, 821, 4939, 72944, 15757, 47192, 87344, 26950, 738, 47, 563, 4904, 2071, 7722, 39531, 184, 48225, 159978, 110527,...
[ 0.1055908203125, 0.17919921875, 0.194580078125, 0.0141448974609375, 0.12060546875, 0.09857177734375, 0.221435546875, 0.16650390625, 0.1370849609375, 0.09149169921875, 0.1346435546875, 0.09765625, 0.2235107421875, 0.208740234375, 0.1473388671875, 0.0682373046875, 0.049224853515625, ...
embed
14586404_c0
14586404
fsharp
0
Title: what&#x27;s the best way to hardcode a multiple-line string? Problem title: what&#x27;s the best way to hardcode a multiple-line string? Tags: multilinestring, f%23, string Problem: what's the best way to hardcode a multiple-line string? In unit test I would like to hard code a block of lines as a string. In C# ...
what&#x27;s the best way to hardcode a multiple-line string? what&#x27;s the best way to hardcode a multiple-line string? multilinestring f%23 string StringBuilder sb.AppendLine myline1 myline2 myline3 what's the best way to hardcode a multiple-line string? In unit test I would like to hard code a block of lines as a s...
[ -0.0128173828125, -0.002044677734375, 0.005218505859375, 0.0206298828125, -0.00439453125, 0.0003204345703125, 0.0230712890625, 0.0096435546875, 0.01348876953125, -0.0013885498046875, 0.004364013671875, 0.00347900390625, 0.0247802734375, 0.01422119140625, -0.01092529296875, 0.0104370117...
[ 3768, 2965, 3917, 47, 7941, 40899, 48716, 9, 2256, 79315, 10, 6024, 91693, 1238, 3742, 23351, 214, 121137, 56, 275, 39179, 3611, 93232, 759, 418, 304, 363, 2367, 70, 25072, 3034, 1884, 18151, 46389, 111, 124519, 237, 313, 4904, 2806, 11...
[ 0.078857421875, 0.16796875, 0.1011962890625, 0.05364990234375, 0.2027587890625, 0.2626953125, 0.23876953125, 0.03656005859375, 0.220947265625, 0.263427734375, 0.055206298828125, 0.18408203125, 0.1920166015625, 0.0711669921875, 0.045166015625, 0.134521484375, 0.06353759765625, 0.174...
embed
23325095_c0
23325095
fsharp
0
Title: The meaning of |&gt;! (forward pipe bang) Problem title: The meaning of |&gt;! (forward pipe bang) Tags: piping, websharper, f%23 Problem: The meaning of |>! (forward pipe bang) While perusing the Websharper online examples, I've come across examples like this: Div [Attr.Style "padding: 5px;"] -< [ P [Text "Type...
The meaning of |&gt;! (forward pipe bang) The meaning of |&gt;! (forward pipe bang) piping websharper f%23 Div Attr.Style Text Type Form First Name OnKeyUp Suggestions The meaning of |>! (forward pipe bang) While perusing the Websharper online examples, I've come across examples like this: We don't appear to be in a co...
[ 0.005401611328125, 0.037109375, -0.006256103515625, -0.012451171875, -0.01324462890625, 0.0002346038818359375, 0.004974365234375, -0.001312255859375, 0.017333984375, -0.01025390625, 0.00005745887756347656, 0.013916015625, 0.0223388671875, 0.0166015625, -0.006591796875, -0.0061950683593...
[ 581, 91084, 111, 58745, 1230, 5386, 74, 38, 2472, 19364, 137158, 11339, 2147, 10366, 1467, 89280, 1264, 3742, 53026, 209480, 24129, 60457, 15236, 15757, 2161, 162429, 53234, 104235, 141933, 2740, 4002, 1118, 27781, 1401, 18, 108975, 181135, 1...
[ 0.021820068359375, 0.2352294921875, 0.0523681640625, 0.1895751953125, 0.15087890625, 0.2357177734375, 0.0611572265625, 0.2044677734375, 0.1219482421875, 0.2117919921875, 0.2391357421875, 0.251220703125, 0.1640625, 0.1529541015625, 0.1231689453125, 0.2120361328125, 0.2025146484375, ...
embed
37855555_c0
37855555
fsharp
0
Title: How can unify the signature of this member method and the inline function Problem title: How can unify the signature of this member method and the inline function Tags: f%23 Problem: How can unify the signature of this member method and the inline function given this code type Baz = Baz of int with static member...
How can unify the signature of this member method and the inline function How can unify the signature of this member method and the inline function f%23 How Baz FS0043 Method How can unify the signature of this member method and the inline function given this code I get this error I assume that signature of my static m...
[ 0.009765625, 0.004638671875, 0.0211181640625, -0.01171875, -0.005126953125, -0.021728515625, -0.011962890625, 0.00994873046875, 0.005950927734375, -0.0257568359375, 0.0019989013671875, 0.0003986358642578125, 0.0167236328125, 0.00640869140625, 0.000888824462890625, -0.0274658203125, -...
[ 11249, 831, 51, 40383, 138256, 903, 32786, 55300, 136, 23, 2256, 32354, 111, 1238, 3949, 3742, 36490, 93774, 135401, 363, 74644, 70, 34475, 18151, 18499, 41591, 201939, 959, 6183, 186, 47314, 47, 8353, 1062, 33079, 13331, 618, 86869 ]
[ 0.09661865234375, 0.108642578125, 0.1861572265625, 0.2288818359375, 0.2474365234375, 0.12744140625, 0.219970703125, 0.177490234375, 0.089111328125, 0.1402587890625, 0.1981201171875, 0.1724853515625, 0.06390380859375, 0.0992431640625, 0.08837890625, 0.1878662109375, 0.179443359375, ...
embed
42253284_c0
42253284
fsharp
0
Title: F# check if a string contains only number Problem title: F# check if a string contains only number Tags: pattern-matching, f%23 Problem: F# check if a string contains only number I am trying to figure out a nice way to check if a string contains only number. This is the result of my effort but it seems really ve...
F# check if a string contains only number F# check if a string contains only number pattern-matching f%23 Char.IsDigit s:string List.ofSeq String.Concat Array.ofList F# check if a string contains only number I am trying to figure out a nice way to check if a string contains only number. This is the result of my effort ...
[ -0.034912109375, 0.004180908203125, -0.0037841796875, 0.0037384033203125, 0.00159454345703125, 0.0167236328125, 0.0133056640625, 0.00005888938903808594, 0.0079345703125, -0.0196533203125, -0.0003757476806640625, -0.0155029296875, -0.0233154296875, 0.0079345703125, 0.0111083984375, -0.0...
[ 563, 4904, 12765, 2174, 79315, 70541, 4734, 14012, 7, 103510, 98753, 1238, 3742, 21656, 29598, 14055, 15769, 91693, 32036, 4390, 864, 23351, 214, 11935, 4460, 69253, 154663, 10, 26366, 26267, 71834, 37202, 6183, 57823, 110608, 96760, 21441, 5...
[ 0.1273193359375, 0.1756591796875, 0.1590576171875, 0.1026611328125, 0.264892578125, 0.16552734375, 0.1649169921875, 0.2064208984375, 0.037750244140625, 0.2008056640625, 0.1533203125, 0.061981201171875, 0.084716796875, 0.09619140625, 0.0284423828125, 0.05218505859375, 0.1129150390625,...
embed
45585518_c1
45585518
fsharp
1
and each sides gets a new symbol which is useless to me. I am working on a language, and the way I've dealt with storing recursive types up to now is by mapping Rec to an int and then substituting that with the related Ty in a dictionary whenever I need it. Currently, I am in the process of cleaning up the language, a...
and each sides gets a new symbol which is useless to me. I am working on a language, and the way I've dealt with storing recursive types up to now is by mapping Rec to an int and then substituting that with the related Ty in a dictionary whenever I need it. Currently, I am in the process of cleaning up the language, a...
[ -0.0419921875, 0.0206298828125, 0.003204345703125, 0.01611328125, 0.022705078125, -0.0079345703125, 0.0018463134765625, 0.00909423828125, 0.006500244140625, 0.012451171875, 0.009033203125, -0.0128173828125, 0.0054931640625, -0.002166748046875, 0.008056640625, -0.003570556640625, -0.0...
[ 12638, 5609, 7, 3525, 26582, 4527, 9393, 20697, 46876, 7010, 3082, 195625, 5844, 52895, 291, 48224, 23, 18, 161740, 62548, 8064, 10763, 217684, 3871, 174033, 1884, 7225, 186, 438, 112, 618, 53, 43257, 3501, 9790, 16940, 28864, 26073, 11249,...
[ 0.0987548828125, 0.16845703125, 0.0160369873046875, 0.0643310546875, 0.2291259765625, 0.0782470703125, 0.112548828125, 0.019073486328125, 0.1077880859375, 0.0183258056640625, 0.151611328125, 0.1893310546875, 0.0885009765625, 0.2196044921875, 0.043731689453125, 0.1922607421875, 0.0668...
embed
66149374_c0
66149374
fsharp
0
Title: How to Limit the number of Threads in list&lt;type&gt;.asParallel in F# Problem title: How to Limit the number of Threads in list&lt;type&gt;.asParallel in F# Tags: f%23 Problem: How to Limit the number of Threads in list .asParallel in F# I've looked at a few examples in Stack Overflow etc and I can't seem to g...
How to Limit the number of Threads in list&lt;type&gt;.asParallel in F# How to Limit the number of Threads in list&lt;type&gt;.asParallel in F# f%23 How Limit Threads orders.AsParallel WithDegreeOfParallelism Seq.map How to Limit the number of Threads in list .asParallel in F# I've looked at a few examples in Stack Ove...
[ -0.004730224609375, 0.00341796875, -0.007354736328125, -0.01080322265625, 0.0224609375, -0.014404296875, -0.0059814453125, -0.0002956390380859375, 0.0123291015625, -0.027587890625, 0.01153564453125, 0.01123046875, 0.00860595703125, -0.00250244140625, 0.0033416748046875, 0.005859375, ...
[ 11249, 47, 125177, 14012, 136719, 7, 23, 5303, 50986, 162, 55292, 1229, 141, 563, 4904, 1238, 3742, 12989, 19659, 7134, 4086, 864, 62346, 27781, 6512, 2594, 9578, 118664, 106117, 3444, 8560, 17551, 55769, 12638, 35735, 5962, 61687, 17475, 1...
[ 0.0367431640625, 0.0560302734375, 0.22509765625, 0.10498046875, 0.2685546875, 0.0758056640625, 0.027496337890625, 0.189453125, 0.09893798828125, 0.130859375, 0.086669921875, 0.1221923828125, 0.077880859375, 0.125, 0.1806640625, 0.03570556640625, 0.09185791015625, 0.1702880859375, ...
embed
7531755_c0
7531755
fsharp
0
Title: Why does whitespace in my F# code cause errors? Problem title: Why does whitespace in my F# code cause errors? Tags: whitespace, syntax, f%23 Problem: Why does whitespace in my F# code cause errors? I've been tinkering with the F# Interactive. I keep getting weird results, but here's one I can't explain: The fol...
Why does whitespace in my F# code cause errors? Why does whitespace in my F# code cause errors? whitespace syntax f%23 Why x-5 FS0003 Why does whitespace in my F# code cause errors? I've been tinkering with the F# Interactive. I keep getting weird results, but here's one I can't explain: The following code returns 66, ...
[ 0.0078125, 0.007293701171875, -0.01190185546875, 0.01019287109375, 0.002960205078125, -0.00177001953125, 0.00193023681640625, 0.01104736328125, 0.00153350830078125, -0.0034637451171875, -0.003448486328125, -0.00032806396484375, -0.018798828125, -0.00567626953125, 0.0220947265625, 0.000...
[ 44084, 14602, 35011, 65421, 23, 759, 563, 4904, 18151, 22304, 18499, 7, 6002, 86531, 1238, 3742, 1022, 10342, 93774, 9508, 363, 49947, 5337, 71232, 179459, 50339, 73342, 25632, 30646, 11251, 34292, 41206, 104250, 60212, 3060, 32628, 17721, 26...
[ 0.1307373046875, 0.0460205078125, 0.2105712890625, 0.261474609375, 0.045745849609375, 0.0166778564453125, 0.1005859375, 0.21044921875, 0.1614990234375, 0.133056640625, 0.201416015625, 0.07904052734375, 0.05633544921875, 0.156982421875, 0.0631103515625, 0.1185302734375, 0.03173828125,...
embed
21999344_c0
21999344
fsharp
0
Title: How to fold to list using Linq (Aggregate)? Problem title: How to fold to list using Linq (Aggregate)? Tags: c%23, f%23 Problem: How to fold to list using Linq (Aggregate)? How do I convert the following F# (which converts an integer to string and replace some characters and reverse it, just an example. What I r...
How to fold to list using Linq (Aggregate)? How to fold to list using Linq (Aggregate)? c%23 f%23 Linq How Aggregate List Convert aInt:int Map.ofList Seq.fold String.Concat How to fold to list using Linq (Aggregate)? How do I convert the following F# (which converts an integer to string and replace some characters and ...
[ -0.00933837890625, -0.00592041015625, -0.0003986358642578125, 0.0096435546875, -0.025634765625, -0.007659912109375, 0.003387451171875, 0.0186767578125, -0.004180908203125, -0.01263427734375, -0.005401611328125, -0.0189208984375, 0.004669189453125, 0.0380859375, -0.0019378662109375, -0....
[ 11249, 47, 42822, 5303, 17368, 339, 44982, 54431, 68722, 2182, 3742, 1238, 12342, 32036, 1657, 11549, 18, 4288, 42719, 4390, 154663, 864, 23351, 214, 4460, 96760, 25632, 563, 4904, 892, 1505, 79315, 91995, 124850, 39531, 27781, 6183, 3871, ...
[ 0.059814453125, 0.129150390625, 0.239990234375, 0.2415771484375, 0.0670166015625, 0.13525390625, 0.22900390625, 0.0579833984375, 0.212646484375, 0.142333984375, 0.0831298828125, 0.03936767578125, 0.0689697265625, 0.2132568359375, 0.00103759765625, 0.1300048828125, 0.064697265625, 0...
embed
27507482_c0
27507482
fsharp
0
Title: Translating Linq to a FSharp expression Problem title: Translating Linq to a FSharp expression Tags: f%23, linq Problem: Translating Linq to a FSharp expression The DocumentDB has a walk-though and sample project in C# that I am working through in FSharp. One of the 1st tasks is to locate an existing datbase. Th...
Translating Linq to a FSharp expression Translating Linq to a FSharp expression f%23 linq Translating Linq FSharp client.CreateDatabaseQuery Where db.Id FamilyRegistry ToArray FirstOrDefault Translating Linq to a FSharp expression The DocumentDB has a walk-though and sample project in C# that I am working through in FS...
[ 0.01025390625, 0.0157470703125, -0.009765625, -0.0054931640625, -0.006072998046875, 0.004302978515625, -0.0191650390625, -0.0126953125, 0.00823974609375, -0.048828125, 0.0020904541015625, 0.00970458984375, 0.006500244140625, -0.032958984375, 0.0089111328125, 0.003936767578125, 0.0022...
[ 11062, 143, 339, 44982, 47, 93774, 3467, 254, 125195, 1238, 3949, 3742, 96, 23282, 63784, 137989, 37382, 41732, 78662, 40041, 568, 71, 59745, 54601, 14, 38904, 717, 7614, 7092, 23972, 19060, 187423, 11, 7136, 43101, 39463, 35691, 197271, 12...
[ 0.1260986328125, 0.1905517578125, 0.1217041015625, 0.2381591796875, 0.112060546875, 0.0892333984375, 0.2120361328125, 0.17919921875, 0.200439453125, 0.0667724609375, 0.09912109375, 0.200927734375, 0.101318359375, 0.1165771484375, 0.053131103515625, 0.0062255859375, 0.1854248046875, ...
embed
31798955_c0
31798955
fsharp
0
Title: List of Tuples (key, val), replace all instances in a string where key exists with val Problem title: List of Tuples (key, val), replace all instances in a string where key exists with val Tags: f%23-3.0, f%23 Problem: List of Tuples (key, val), replace all instances in a string where key exists with val I know ...
List of Tuples (key, val), replace all instances in a string where key exists with val List of Tuples (key, val), replace all instances in a string where key exists with val f%23-3.0 f%23 List Tuples List of Tuples (key, val), replace all instances in a string where key exists with val I know I can do this in an impera...
[ -0.007232666015625, -0.0072021484375, -0.00469970703125, 0.0152587890625, -0.00823974609375, -0.005706787109375, -0.00341796875, 0.0025787353515625, 0.023193359375, 0.0189208984375, 0.0107421875, 0.01190185546875, 0.00677490234375, 0.016845703125, -0.01019287109375, 0.0069580078125, ...
[ 32036, 111, 1371, 99726, 19770, 3502, 91995, 756, 110527, 79315, 7440, 22799, 32316, 678, 23, 1238, 27495, 132265, 3742, 247, 3714, 831, 54, 903, 222530, 144996, 72546, 26366, 3642, 123309, 12319, 163846, 42822, 22288, 4488, 53019, 56037, 370...
[ 0.1787109375, 0.1005859375, 0.1646728515625, 0.265380859375, 0.1666259765625, 0.2293701171875, 0.2120361328125, 0.1287841796875, 0.207275390625, 0.2196044921875, 0.042755126953125, 0.2177734375, 0.1512451171875, 0.1015625, 0.0243988037109375, 0.0589599609375, 0.0849609375, 0.132324...
embed
7577437_c0
7577437
fsharp
0
Title: Explicitly specifying parameter types in F# Problem title: Explicitly specifying parameter types in F# Tags: f%23, parameters, types, type-inference Problem: Explicitly specifying parameter types in F# I'm writing an F# function that factorises a number into prime factors. let factors primes i = let mutable j = ...
Explicitly specifying parameter types in F# Explicitly specifying parameter types in F# f%23 parameters types type-inference Explicitly int64 Explicitly specifying parameter types in F# I'm writing an F# function that factorises a number into prime factors. It works for int values of i , but not int64 values. The param...
[ -0.01348876953125, -0.0034027099609375, 0.0201416015625, 0.0093994140625, 0.00165557861328125, -0.023681640625, -0.00135040283203125, -0.002105712890625, 0.00021076202392578125, -0.0028533935546875, 0.0167236328125, -0.0128173828125, -0.0052490234375, -0.006103515625, -0.007415771484375,...
[ 60075, 60923, 48502, 151138, 171859, 52895, 563, 4904, 1238, 3742, 10644, 73, 69988, 23, 18, 13307, 32562, 32354, 31461, 62093, 14012, 3934, 20809, 120103, 43240, 142424, 17, 1284, 959, 7, 83, 5423, 28219, 15400, 7225, 53498, 6620, 51776, 3...
[ 0.0745849609375, 0.15869140625, 0.139404296875, 0.06353759765625, 0.2003173828125, 0.2138671875, 0.130859375, 0.2159423828125, 0.04083251953125, 0.0869140625, 0.217529296875, 0.0178375244140625, 0.116455078125, 0.0745849609375, 0.09564208984375, 0.2259521484375, 0.0648193359375, 0....
embed
33370392_c0
33370392
fsharp
0
Title: Defining Delegate Problem title: Defining Delegate Tags: delegates, f%23 Problem: Defining Delegate I am a bit confused about the code below and why the last 2 attempts to define a handler (Delegate) wont work. //this works let serializer_setting = new JsonSerializerSettings(Error = fun (sender:obj) (args:Serial...
Defining Delegate Defining Delegate delegates f%23 Defining Delegate serializer_setting JsonSerializerSettings Error sender:obj args:Serialization.ErrorEventArgs err_handler1 serializer_setting1 err_handler2 serializer_setting2 ErrorEventArgs Unit System.EventHandler Serialization.ErrorEventArgs Defining Delegate I am ...
[ -0.0194091796875, 0.016357421875, -0.00445556640625, -0.03466796875, 0.0025482177734375, -0.004852294921875, -0.0159912109375, -0.01025390625, 0.0052490234375, 0.01092529296875, -0.005218505859375, 0.01953125, 0.0135498046875, 0.01104736328125, 0.03857421875, 0.005828857421875, 0.007...
[ 88606, 449, 228532, 13, 102329, 90, 3949, 3742, 35686, 52825, 89840, 821, 1681, 51626, 105548, 212059, 59146, 3522, 170, 79459, 4233, 47691, 18468, 31611, 192134, 7614, 9405, 72, 74258, 418, 304, 46640, 12353, 135679, 603, 135188, 55681, 1815...
[ 0.1834716796875, 0.046234130859375, 0.34228515625, 0.1929931640625, 0.29833984375, 0.10015869140625, 0.000732421875, 0.07470703125, 0.12939453125, 0.11474609375, 0.123291015625, 0.11767578125, 0.128662109375, 0.0877685546875, 0.111572265625, 0.1171875, 0.08355712890625, 0.070129394...
embed
71757721_c0
71757721
fsharp
0
Title: F# Async completion source? Problem title: F# Async completion source? Tags: f%23 Problem: F# Async completion source? I want an async to wait for a value to be provided. C# has a mechanism for doing this in tasks, but I am using async . Here is what I came up with: type AsyncCompletionSource<'t>() = let tcs = T...
F# Async completion source? F# Async completion source? f%23 Async AsyncCompletionSource TaskCompletionSource this.Set tcs.SetResult this.Get Async.AwaitTask tcs.Task F# Async completion source? I want an async to wait for a value to be provided. C# has a mechanism for doing this in tasks, but I am using async . Here i...
[ -0.01336669921875, 0.0284423828125, 0.01129150390625, -0.0135498046875, -0.0005035400390625, -0.014892578125, -0.004150390625, 0.0059814453125, 0.00732421875, -0.005340576171875, -0.0096435546875, 0.0240478515625, 0.00799560546875, 0.00188446044921875, 0.01336669921875, -0.004241943359...
[ 563, 4904, 62, 12654, 238, 21721, 1830, 31344, 32, 1238, 3949, 3742, 108161, 133, 211235, 9598, 903, 294, 126, 808, 4439, 7, 7136, 634, 217, 9874, 1042, 3444, 10, 47, 40485, 100, 34292, 186, 62952, 313, 191619, 20594, 23, 66211, 17368, ...
[ 0.1614990234375, 0.2227783203125, 0.0989990234375, 0.260498046875, 0.1478271484375, 0.23876953125, 0.1246337890625, 0.2369384765625, 0.01080322265625, 0.108642578125, 0.02301025390625, 0.12939453125, 0.130615234375, 0.1561279296875, 0.1776123046875, 0.142578125, 0.05462646484375, 0...
embed
54250829_c0
54250829
fsharp
0
Title: Unexpected symbol &#x27;&lt;-&#x27; in binding Problem title: Unexpected symbol &#x27;&lt;-&#x27; in binding Tags: f%23 Problem: Unexpected symbol '<-' in binding I am a F# newbie. What is wrong with this code? let setCategory (terminal: MerchantTerminal) terminal.Category <- Nullable(MerchantTerminalCategory.No...
Unexpected symbol &#x27;&lt;-&#x27; in binding Unexpected symbol &#x27;&lt;-&#x27; in binding f%23 Unexpected MerchantTerminal terminal.Category Nullable MerchantTerminalCategory.NotSet MerchantTerminalCategory Category NotSet Unexpected symbol '<-' in binding I am a F# newbie. What is wrong with this code? Compiler te...
[ 0.011962890625, 0.0263671875, 0.0135498046875, -0.01220703125, 0.00107574462890625, -0.00921630859375, -0.0042724609375, -0.0025482177734375, 0.01171875, 0.01519775390625, -0.002960205078125, 0.0096435546875, 0.025146484375, 0.00787353515625, -0.01116943359375, -0.0033721923828125, 0...
[ 992, 83613, 13, 89829, 26582, 3768, 1230, 9, 23, 128239, 1238, 3742, 6035, 62956, 35484, 1249, 33949, 76775, 3081, 27786, 2661, 122116, 294, 126, 1294, 49057, 11205, 16093, 444, 563, 4904, 3525, 9014, 83, 44691, 903, 18151, 15612, 34759, ...
[ 0.117919921875, 0.1302490234375, 0.1434326171875, 0.1297607421875, 0.263427734375, 0.1329345703125, 0.001495361328125, 0.163330078125, 0.1112060546875, 0.245849609375, 0.07415771484375, 0.08380126953125, 0.110595703125, 0.18017578125, 0.1279296875, 0.1512451171875, 0.2139892578125, ...
embed
37139972_c0
37139972
fsharp
0
Title: Matching Patterns of Objects in F# Problem title: Matching Patterns of Objects in F# Tags: f%23-3.0, f%23 Problem: Matching Patterns of Objects in F# I have zero experience with F#. I started reading F# for C# Developers this weekend. I had a problem recently (C# Code) where I had to search a list of .NET object...
Matching Patterns of Objects in F# Matching Patterns of Objects in F# f%23-3.0 f%23 Matching Patterns Objects Matching Patterns of Objects in F# I have zero experience with F#. I started reading F# for C# Developers this weekend. I had a problem recently (C# Code) where I had to search a list of .NET objects for subset...
[ -0.00408935546875, 0.01251220703125, -0.0027008056640625, 0.0155029296875, -0.00433349609375, -0.006744384765625, -0.026123046875, 0.0244140625, 0.0157470703125, -0.00174713134765625, 0.01220703125, 0.00213623046875, 0.01446533203125, -0.0113525390625, 0.00439453125, -0.00347900390625,...
[ 67407, 214, 9876, 22766, 111, 134549, 563, 4904, 1238, 27495, 132265, 3742, 23, 45234, 16981, 16454, 2967, 28864, 33938, 5303, 17777, 36746, 100, 1614, 3509, 14858, 24233, 103510, 151552, 10901, 3355, 20623, 6782, 29806, 17723, 51339, 5299, 3...
[ 0.2205810546875, 0.084716796875, 0.16943359375, 0.1519775390625, 0.02447509765625, 0.18994140625, 0.1395263671875, 0.2197265625, 0.045562744140625, 0.033294677734375, 0.1043701171875, 0.0772705078125, 0.00286865234375, 0.06805419921875, 0.059173583984375, 0.040283203125, 0.1077880859...
embed
1288134_c1
1288134
fsharp
1
... I need to abort the TemplateMigration function and return immediately on a match of the sql variable with "". Or construct some kind of union type that indicates that no sql query string could be constructed because for a specific case it couldn't be done. Thanks for your help. I'm gradually figuring out this lang...
... I need to abort the TemplateMigration function and return immediately on a match of the sql variable with "". Or construct some kind of union type that indicates that no sql query string could be constructed because for a specific case it couldn't be done. Thanks for your help. I'm gradually figuring out this lang...
[ 0.00360107421875, -0.020751953125, 0.007720947265625, 0.00811767578125, -0.0206298828125, -0.0126953125, -0.00750732421875, -0.0023040771484375, 0.007415771484375, 0.0277099609375, 0.0208740234375, -0.0247802734375, -0.01446533203125, -0.024658203125, -0.006866455078125, 0.007415771484...
[ 153, 3871, 47, 64853, 196631, 594, 872, 30494, 32354, 30646, 109312, 98, 14858, 99247, 77336, 678, 64549, 69941, 10644, 117414, 110, 41, 1294, 79315, 5809, 29458, 7225, 69427, 16940, 4358, 128839, 26747, 46876, 1884, 5915, 237875, 91995, 5915...
[ 0.01446533203125, 0.0276336669921875, 0.01361083984375, 0.2200927734375, 0.227783203125, 0.008544921875, 0.1123046875, 0.04425048828125, 0.12744140625, 0.1234130859375, 0.08837890625, 0.007415771484375, 0.140869140625, 0.185546875, 0.191162109375, 0.001190185546875, 0.1290283203125, ...
embed
16061977_c0
16061977
fsharp
0
Title: Are F# quotations useful for anything? Problem title: Are F# quotations useful for anything? Tags: f%23, metaprogramming, functional-programming Problem: Are F# quotations useful for anything? I thought that I would be able to use quotations to accomplish what I'm trying to do (create a tree of expressions which...
Are F# quotations useful for anything? Are F# quotations useful for anything? f%23 metaprogramming functional-programming Are F# quotations useful for anything? I thought that I would be able to use quotations to accomplish what I'm trying to do (create a tree of expressions which I can store in a DB and execute later ...
[ 0.0250244140625, 0.00860595703125, 0.01373291015625, -0.0137939453125, 0.01263427734375, 0.003997802734375, 0.00439453125, 0.00176239013671875, -0.00130462646484375, -0.039306640625, -0.00408935546875, 0.0025177001953125, 0.007171630859375, 0.003143310546875, -0.00555419921875, 0.02392...
[ 15901, 563, 4904, 81732, 5256, 80234, 100, 23937, 32, 1238, 3742, 23550, 28966, 123309, 17569, 19048, 4527, 47, 163846, 31577, 7612, 53201, 125195, 4343, 57976, 71924, 11354, 959, 35686, 1418, 2886, 53418, 375, 5974, 71864, 17170, 205956, 237...
[ 0.07598876953125, 0.183349609375, 0.252685546875, 0.23828125, 0.1650390625, 0.2066650390625, 0.1201171875, 0.1331787109375, 0.014495849609375, 0.107177734375, 0.047119140625, 0.1097412109375, 0.099609375, 0.10986328125, 0.026763916015625, 0.03314208984375, 0.12744140625, 0.00250244...
embed
20308875_c0
20308875
fsharp
0
Title: remove characters from string in f# Problem title: remove characters from string in f# Tags: replace, f%23, string Problem: remove characters from string in f# I have a List<char> in stripchars . These characters should not be present in string text . So I've made that mutable. So I do something like: stripchars...
remove characters from string in f# remove characters from string in f# replace f%23 string string List Seq.iter text.Replace Replace remove characters from string in f# I have a List<char> in stripchars . These characters should not be present in string text . So I've made that mutable. So I do something like: Then I ...
[ 0.01007080078125, -0.004180908203125, 0.019775390625, 0.03076171875, -0.00104522705078125, -0.0118408203125, 0.007537841796875, 0.01092529296875, 0.00775146484375, 0.0213623046875, 0.00299072265625, 0.0216064453125, -0.01416015625, 0.0086669921875, 0.0120849609375, 0.01416015625, 0.0...
[ 87388, 124850, 1295, 79315, 23, 1238, 4904, 91995, 3949, 3742, 32036, 864, 16840, 7986, 4332, 23935, 9254, 43613, 7, 5608, 959, 13379, 842, 22819, 18499, 83, 77336, 11814, 56649, 3917, 3293, 7464, 18, 163846, 31158, 214, 11341, 26785 ]
[ 0.190673828125, 0.25732421875, 0.161865234375, 0.245849609375, 0.0859375, 0.1514892578125, 0.2064208984375, 0.1357421875, 0.011932373046875, 0.1353759765625, 0.1324462890625, 0.0643310546875, 0.10595703125, 0.1656494140625, 0.019866943359375, 0.1187744140625, 0.1676025390625, 0.176...
embed
29635231_c0
29635231
fsharp
0
Title: Why are mutables allowed in F#? When are they essential? Problem title: Why are mutables allowed in F#? When are they essential? Tags: f%23 Problem: Why are mutables allowed in F#? When are they essential? Coming from C#, trying to get my head around the language. From what I understand one of the main benefits ...
Why are mutables allowed in F#? When are they essential? Why are mutables allowed in F#? When are they essential? f%23 Why When Why are mutables allowed in F#? When are they essential? Coming from C#, trying to get my head around the language. From what I understand one of the main benefits of F# is that you ditch the ...
[ 0.01300048828125, 0.0072021484375, 0.023681640625, -0.004852294921875, -0.0023956298828125, 0.01507568359375, -0.0047607421875, 0.0125732421875, 0.019287109375, 0.0147705078125, 0.0208740234375, -0.009765625, 0.013671875, 0.0135498046875, 0.01104736328125, -0.013427734375, 0.00247192...
[ 44084, 621, 21144, 19736, 107003, 23, 563, 4904, 14847, 1836, 85590, 1238, 3742, 313, 31577, 46876, 28219, 5201, 72382, 854, 206, 23755, 111, 11341, 5608, 5045, 1286, 60627, 15400, 63769, 36356, 24702, 12319, 18, 10617, 4527, 76199, 72977, ...
[ 0.1492919921875, 0.0625, 0.2037353515625, 0.2335205078125, 0.1607666015625, 0.051361083984375, 0.1429443359375, 0.218994140625, 0.103759765625, 0.057952880859375, 0.2142333984375, 0.046112060546875, 0.0343017578125, 0.0096435546875, 0.004180908203125, 0.1268310546875, 0.0033264160156...
embed
55528793_c0
55528793
fsharp
0
Title: How do I pass the desired System.Random.Next overload to my F# function? Problem title: How do I pass the desired System.Random.Next overload to my F# function? Tags: f%23, function Problem: How do I pass the desired System.Random.Next overload to my F# function? Just getting started with F#. Could someone pleas...
How do I pass the desired System.Random.Next overload to my F# function? How do I pass the desired System.Random.Next overload to my F# function? f%23 function How System.Random.Next System Random r.Next How do I pass the desired System.Random.Next overload to my F# function? Just getting started with F#. Could someone...
[ 0.016357421875, 0.00677490234375, 0.01043701171875, -0.00958251953125, 0.007049560546875, 0.00909423828125, -0.0169677734375, -0.04833984375, -0.00531005859375, -0.01068115234375, 0.001129150390625, 0.01611328125, -0.007568359375, -0.007415771484375, 0.0189208984375, -0.004852294921875...
[ 11249, 27875, 104851, 12353, 126525, 3815, 81280, 645, 63033, 47, 563, 4904, 32354, 1238, 3949, 3742, 39643, 306, 1690, 71, 15400, 53418, 4997, 51776, 6626, 23, 18, 171859, 30646, 28412, 52895, 400, 592, 1257, 959, 9969, 34759, 17378 ]
[ 0.0533447265625, 0.1376953125, 0.1358642578125, 0.1231689453125, 0.070556640625, 0.1231689453125, 0.2181396484375, 0.1204833984375, 0.2288818359375, 0.045867919921875, 0.1236572265625, 0.2066650390625, 0.1693115234375, 0.071533203125, 0.07415771484375, 0.1766357421875, 0.116455078125...
embed
16143378_c0
16143378
fsharp
0
Title: Strategy to handle mutability in functional code Problem title: Strategy to handle mutability in functional code Tags: mutability, c%23, f%23, functional-programming Problem: Strategy to handle mutability in functional code I've recently studied the code of FParsec the F# port of Haskell Parsec parser combinator...
Strategy to handle mutability in functional code Strategy to handle mutability in functional code mutability c%23 f%23 functional-programming Strategy FParsec FParsecCS Strategy to handle mutability in functional code I've recently studied the code of FParsec the F# port of Haskell Parsec parser combinators library. FP...
[ -0.0069580078125, 0.019287109375, -0.004669189453125, 0.01324462890625, -0.015869140625, 0.01019287109375, 0.0147705078125, -0.0019989013671875, 0.00799560546875, -0.0108642578125, 0.00567626953125, 0.013916015625, 0.0164794921875, 0.018798828125, 0.01171875, 0.01904296875, -0.019653...
[ 7832, 67, 3432, 47, 34831, 21144, 41159, 23, 123309, 18151, 3742, 1238, 28966, 563, 28636, 39797, 19283, 22282, 4904, 11469, 20625, 142508, 2392, 366, 2189, 22321, 22230, 35773, 3835, 61687, 64557, 28702, 8060, 842, 22819, 2053, 45646, 51339,...
[ 0.143310546875, 0.1314697265625, 0.0239715576171875, 0.032806396484375, 0.1773681640625, 0.2095947265625, 0.214599609375, 0.028656005859375, 0.250732421875, 0.204833984375, 0.1182861328125, 0.040679931640625, 0.13671875, 0.1304931640625, 0.179443359375, 0.2293701171875, 0.16772460937...
embed
3981850_c0
3981850
fsharp
0
Title: Running process that has space characters in its path name with emacs on Windows 7 Problem title: Running process that has space characters in its path name with emacs on Windows 7 Tags: emacs, f%23, windows Problem: Running process that has space characters in its path name with emacs on Windows 7 For F# mode i...
Running process that has space characters in its path name with emacs on Windows 7 Running process that has space characters in its path name with emacs on Windows 7 emacs f%23 windows Running Windows Program Files Microsoft v4.0 fsc.exe Running process that has space characters in its path name with emacs on Windows 7...
[ 0.0125732421875, -0.01202392578125, -0.01226806640625, -0.00579833984375, -0.016845703125, 0.017822265625, 0.00160980224609375, -0.000766754150390625, -0.01123046875, -0.0240478515625, 0.0103759765625, 0.032958984375, -0.030029296875, 0.0123291015625, 0.01104736328125, 0.00741577148437...
[ 28398, 592, 9433, 450, 1556, 32628, 124850, 6863, 60875, 9351, 678, 352, 2263, 7, 98, 3773, 361, 1238, 3949, 3742, 54825, 7663, 42724, 7244, 81, 151152, 10382, 46480, 23, 563, 4904, 13736, 3871, 25632, 13315, 11883, 4439, 2967, 6637, 1772...
[ 0.138916015625, 0.05767822265625, 0.1893310546875, 0.038116455078125, 0.09442138671875, 0.253173828125, 0.1883544921875, 0.05670166015625, 0.1849365234375, 0.119384765625, 0.1142578125, 0.1505126953125, 0.181396484375, 0.147705078125, 0.0340576171875, 0.0999755859375, 0.156005859375,...
embed
53772267_c0
53772267
fsharp
0
Title: How to set the result of File.ReadAllLines to ResizeArray or Array in f#? Problem title: How to set the result of File.ReadAllLines to ResizeArray or Array in f#? Tags: f%23 Problem: How to set the result of File.ReadAllLines to ResizeArray or Array in f#? I have this prog: let mutable lines=new ResizeArray<stri...
How to set the result of File.ReadAllLines to ResizeArray or Array in f#? How to set the result of File.ReadAllLines to ResizeArray or Array in f#? f%23 How File.ReadAllLines ResizeArray Array File.Exists Environment.Exit How to set the result of File.ReadAllLines to ResizeArray or Array in f#? I have this prog: the ty...
[ -0.009521484375, -0.000850677490234375, -0.00311279296875, 0.0277099609375, -0.0078125, -0.01422119140625, 0.023193359375, 0.01177978515625, -0.00177001953125, -0.005096435546875, -0.01239013671875, -0.0101318359375, -0.01708984375, 0.000949859619140625, 0.0137939453125, -0.02575683593...
[ 11249, 47, 5423, 16750, 42724, 31345, 43512, 93232, 7, 853, 62539, 7614, 7092, 707, 69253, 53, 23, 1238, 4904, 3742, 19279, 64370, 686, 1900, 217, 67973, 10644, 79315, 80510, 63784, 2182, 28288, 61475, 13269, 959, 4527, 2301, 18, 3714, 83...
[ 0.074462890625, 0.05975341796875, 0.1417236328125, 0.1739501953125, 0.1912841796875, 0.211181640625, 0.159912109375, 0.2410888671875, 0.07159423828125, 0.130859375, 0.1815185546875, 0.12451171875, 0.2041015625, 0.03753662109375, 0.1246337890625, 0.07855224609375, 0.04571533203125, ...
embed
76614159_c1
76614159
fsharp
1
provide a good description of what happens behind the scenes. Option 1 — Async.Sequential let insertProductsAsync (products : DbModels.Product seq) = async { return! products |> Seq.map insertProductAsync |> Async.Sequantial // each async block probably awaiting the previous one to complete, probably not what i want |...
provide a good description of what happens behind the scenes. Option 1 — Async.Sequential let insertProductsAsync (products : DbModels.Product seq) = async { return! products |> Seq.map insertProductAsync |> Async.Sequantial // each async block probably awaiting the previous one to complete, probably not what i want |...
[ -0.0174560546875, 0.005523681640625, -0.00457763671875, -0.00026702880859375, -0.02001953125, 0.0020751953125, -0.0238037109375, -0.0103759765625, 0.007537841796875, 0.0086669921875, -0.001190185546875, 0.0260009765625, 0.011474609375, 0.0164794921875, 0.000308990478515625, 0.011108398...
[ 22691, 4127, 76811, 2367, 96276, 50155, 70, 28302, 86769, 106, 292, 62, 12654, 238, 5, 4233, 5490, 80973, 2633, 183540, 10752, 77193, 7, 284, 57877, 391, 275, 140290, 40, 864, 2203, 30646, 38, 38742, 503, 62346, 44764, 15403, 12638, 46389...
[ 0.07562255859375, 0.03173828125, 0.1207275390625, 0.03533935546875, 0.1279296875, 0.1492919921875, 0.00994873046875, 0.174560546875, 0.2401123046875, 0.071533203125, 0.030792236328125, 0.05828857421875, 0.236572265625, 0.1546630859375, 0.0179290771484375, 0.101806640625, 0.1520996093...
embed
30445828_c0
30445828
fsharp
0
Title: F# generics / function overloading syntax Problem title: F# generics / function overloading syntax Tags: types, function, generics, f%23 Problem: F# generics / function overloading syntax I'm confused on how to label a function as generic without an explicit type declaration like ('a -> 'a) let add a b = a + b T...
F# generics / function overloading syntax F# generics / function overloading syntax types function generics f%23 a:int b:int Hello World a:string b:string F# generics / function overloading syntax I'm confused on how to label a function as generic without an explicit type declaration like ('a -> 'a) This gives us Howev...
[ 0.007171630859375, 0.0036468505859375, -0.0002460479736328125, 0.0084228515625, -0.0002803802490234375, 0.006622314453125, -0.001312255859375, -0.0291748046875, 0.0087890625, -0.00823974609375, 0.0120849609375, -0.044189453125, 0.005279541015625, -0.007415771484375, 0.01416015625, -0.0...
[ 563, 4904, 189534, 248, 32354, 645, 63033, 214, 6002, 86531, 52895, 1238, 3742, 10, 4288, 876, 35378, 6661, 91693, 55681, 5281, 3642, 47, 67967, 237, 15490, 143726, 10644, 21635, 1884, 11, 33079, 242, 76199, 831, 109312, 11782, 70, 34292, ...
[ 0.095458984375, 0.180419921875, 0.27099609375, 0.03753662109375, 0.21826171875, 0.0888671875, 0.16650390625, 0.036895751953125, 0.09857177734375, 0.14697265625, 0.1817626953125, 0.07952880859375, 0.09930419921875, 0.026336669921875, 0.116455078125, 0.0655517578125, 0.144287109375, ...
embed
59300382_c0
59300382
fsharp
0
Title: Where does paket save it&#x27;s global cache in the Window&#x27;s WSL Problem title: Where does paket save it&#x27;s global cache in the Window&#x27;s WSL Tags: windows-subsystem-for-linux, f%23, f%23-interactive, paket Problem: Where does paket save it's global cache in the Window's WSL Where does paket save it...
Where does paket save it&#x27;s global cache in the Window&#x27;s WSL Where does paket save it&#x27;s global cache in the Window&#x27;s WSL windows-subsystem-for-linux f%23 f%23-interactive paket Where Window WSL PaketLoadScripts Users MyName fsharp.data netstandard2.0 FSharp.Data.dll MyPc MINGW64 MINGW64_NT-10.0-18362...
[ 0.0264892578125, 0.02001953125, -0.00173187255859375, 0.00848388671875, -0.0098876953125, 0.0269775390625, 0.00012493133544921875, -0.01123046875, -0.0014801025390625, -0.0145263671875, -0.0064697265625, 0.00238037109375, 0.01190185546875, -0.006927490234375, -0.01397705078125, -0.0024...
[ 78662, 14602, 13360, 30098, 442, 3768, 7964, 82365, 23, 176501, 601, 30508, 54825, 22144, 16751, 2397, 6077, 10433, 50867, 15363, 712, 147845, 53400, 2646, 163612, 1238, 89280, 254, 10135, 2043, 66589, 73011, 3467, 137989, 1181, 238, 69048, 1...
[ 0.1483154296875, 0.05596923828125, 0.277099609375, 0.1734619140625, 0.0667724609375, 0.0625, 0.2015380859375, 0.28369140625, 0.0860595703125, 0.150146484375, 0.13623046875, 0.2301025390625, 0.1170654296875, 0.1170654296875, 0.10546875, 0.073486328125, 0.0439453125, 0.04852294921875...
embed
7611034_c0
7611034
fsharp
0
Title: F# Lambda Signature Problem title: F# Lambda Signature Tags: .net, f%23 Problem: F# Lambda Signature I'm reading Programming F# by Chris Smith right now trying to figure out F# when i come across Lambadas. Here is a lambda from one of the examples let generatePowerOfFunc base = (fun exponent -> base ** exponent)...
F# Lambda Signature F# Lambda Signature .net f%23 Lambda Signature F# Lambda Signature I'm reading Programming F# by Chris Smith right now trying to figure out F# when i come across Lambadas. Here is a lambda from one of the examples I get that it takes in something and returns a function, but what i don't get is the S...
[ 0.041259765625, 0.00970458984375, -0.020751953125, -0.0025482177734375, 0.005126953125, -0.00019359588623046875, -0.00115966796875, -0.00634765625, 0.00531005859375, 0.006011962890625, -0.02294921875, -0.030029296875, -0.007110595703125, 0.0228271484375, -0.000888824462890625, -0.00634...
[ 563, 4904, 122930, 85, 26729, 141762, 5, 1179, 1238, 3742, 16454, 27958, 37700, 26366, 36880, 8397, 11853, 21, 6492, 27781, 51776, 23, 30646, 32354, 2301, 18, 2046, 903, 3502, 139392, 105022, 132887, 97249, 238, 21917, 257, 33079, 11249, 14...
[ 0.1353759765625, 0.20556640625, 0.180908203125, 0.1376953125, 0.1552734375, 0.174560546875, 0.0262603759765625, 0.14453125, 0.1077880859375, 0.10009765625, 0.040283203125, 0.04278564453125, 0.041015625, 0.0146484375, 0.02496337890625, 0.1336669921875, 0.000732421875, 0.064331054687...
embed
18557398_c0
18557398
fsharp
0
Title: F# exception filters Problem title: F# exception filters Tags: clr, f%23, exception Problem: F# exception filters The article https://devblogs.microsoft.com/dotnet/the-good-and-the-bad-of-exception-filters/ suggests that F# natively supports exception filters (that have no syntax in C#, for instance). Exception ...
F# exception filters F# exception filters clr f%23 exception Caught F# exception filters The article https://devblogs.microsoft.com/dotnet/the-good-and-the-bad-of-exception-filters/ suggests that F# natively supports exception filters (that have no syntax in C#, for instance). Exception filters run before the appropria...
[ 0.02001953125, 0.0264892578125, -0.0024261474609375, -0.0196533203125, 0.00665283203125, 0.00994873046875, 0.0027008056640625, 0.0194091796875, -0.003997802734375, -0.01513671875, -0.00994873046875, 0.00153350830078125, -0.0159912109375, -0.0167236328125, 0.020263671875, -0.00238037109...
[ 563, 4904, 131527, 46312, 42, 1238, 3742, 2041, 46526, 18548, 138410, 70810, 2940, 12283, 3355, 63928, 120337, 42459, 24, 4935, 8060, 7, 86673, 765, 110, 6002, 86531, 23, 313, 5443, 11675, 8108, 95307, 105556, 46389, 30646, 29568, 71924, 28...
[ 0.164306640625, 0.2388916015625, 0.2249755859375, 0.255126953125, 0.04315185546875, 0.045196533203125, 0.108642578125, 0.05853271484375, 0.0143280029296875, 0.0556640625, 0.0180511474609375, 0.059295654296875, 0.00311279296875, 0.045013427734375, 0.056610107421875, 0.2098388671875, 0...
embed
49323753_c0
49323753
fsharp
0
Title: Vim syntax file not matching with \zs Problem title: Vim syntax file not matching with \zs Tags: regex, syntax, vim, f%23 Problem: Vim syntax file not matching with \zs I am trying to obtain some effeciency improvements by changing this line in my fsharp syntax file (from this plugin) from: syn match fsharpModul...
Vim syntax file not matching with \zs Vim syntax file not matching with \zs regex syntax vim f%23 Vim SomeModule Vim syntax file not matching with \zs I am trying to obtain some effeciency improvements by changing this line in my fsharp syntax file (from this plugin) from: to since the docs on the "\@<=" construct stat...
[ -0.0128173828125, -0.00146484375, -0.01300048828125, 0.004364013671875, 0.001708984375, 0.01165771484375, -0.0016326904296875, 0.0128173828125, -0.00058746337890625, 0.005096435546875, 0.03173828125, 0.0264892578125, 0.0002193450927734375, -0.01904296875, 0.01068115234375, -0.020263671...
[ 582, 39, 6002, 86531, 11435, 959, 14858, 214, 678, 41872, 169, 7, 6835, 3355, 119916, 1238, 3742, 31384, 91616, 8782, 136912, 151134, 13315, 89280, 254, 69993, 1295, 12, 47, 981, 16093, 64549, 22027, 18, 4488, 110, 11192, 5077, 831, 20324...
[ 0.2060546875, 0.18359375, 0.1204833984375, 0.13134765625, 0.1199951171875, 0.051910400390625, 0.1578369140625, 0.04608154296875, 0.044219970703125, 0.05224609375, 0.1153564453125, 0.1002197265625, 0.1123046875, 0.097412109375, 0.239990234375, 0.04083251953125, 0.08074951171875, 0.0...
embed
11747861_c0
11747861
fsharp
0
Title: What are the similarities / differences between Control.Observable and Control.Event modules in F#? Problem title: What are the similarities / differences between Control.Observable and Control.Event modules in F#? Tags: events, f%23, haskell Problem: What are the similarities / differences between Control.Obser...
What are the similarities / differences between Control.Observable and Control.Event modules in F#? What are the similarities / differences between Control.Observable and Control.Event modules in F#? events f%23 haskell What Control.Observable Control.Event IEnumerable IObservable What are the similarities / difference...
[ -0.003631591796875, 0.0177001953125, 0.00738525390625, 0.0126953125, 0.00086212158203125, -0.0057373046875, 0.00689697265625, 0.0167236328125, 0.0208740234375, -0.01007080078125, 0.002532958984375, -0.023681640625, 0.0146484375, 0.0240478515625, -0.0194091796875, 0.0130615234375, 0.0...
[ 21373, 31075, 60212, 7, 17721, 27131, 46471, 65756, 2661, 136, 192134, 88996, 563, 4904, 248, 5, 47353, 1238, 3742, 1556, 142508, 4865, 75536, 2606, 56, 2886, 87, 23, 19713, 73372, 22968, 98946, 15044, 62548, 11814, 23718, 6626, 5161, 20625...
[ 0.142578125, 0.0931396484375, 0.1632080078125, 0.009613037109375, 0.076171875, 0.1973876953125, 0.1419677734375, 0.1905517578125, 0.171875, 0.0731201171875, 0.2294921875, 0.18017578125, 0.097900390625, 0.16455078125, 0.0185089111328125, 0.02093505859375, 0.1427001953125, 0.01411437...
embed
25782201_c0
25782201
fsharp
0
Title: No input from F# printf Problem title: No input from F# printf Tags: f%23 Problem: No input from F# printf I am going through the "Try F#" tutorial and decided that I wanted to try writing the code in the editor to Visual Studio once I installed the necessary F# plugins. The code is: let toHackerTalk (phrase:str...
No input from F# printf No input from F# printf f%23 F# phrase:string phrase.Replace Replace name:string No input from F# printf I am going through the "Try F#" tutorial and decided that I wanted to try writing the code in the editor to Visual Studio once I installed the necessary F# plugins. The code is: The code runs...
[ 0.014892578125, 0.0185546875, 0.0179443359375, 0.014892578125, 0.0028076171875, 0.00970458984375, 0.00927734375, -0.0157470703125, 0.0036773681640625, -0.01068115234375, 0.005523681640625, -0.0067138671875, -0.007781982421875, 0.01531982421875, 0.00830078125, 0.003875732421875, 0.031...
[ 438, 107730, 1295, 563, 4904, 28412, 420, 1238, 3742, 113860, 91693, 4332, 23935, 853, 9351, 1294, 57143, 32562, 18151, 30391, 47, 73372, 22968, 20600, 69993, 127877, 1118, 9790, 51042, 98, 30128, 75101, 105876, 113292, 24234, 22799, 21342, 6...
[ 0.131591796875, 0.253173828125, 0.1466064453125, 0.1514892578125, 0.229736328125, 0.1796875, 0.1944580078125, 0.0736083984375, 0.0831298828125, 0.187255859375, 0.1552734375, 0.053436279296875, 0.138916015625, 0.033233642578125, 0.125732421875, 0.0509033203125, 0.04742431640625, 0.0...
embed
42998375_c0
42998375
fsharp
0
Title: Code coverage using dotCover throws an error - FAKE F#MAKE Problem title: Code coverage using dotCover throws an error - FAKE F#MAKE Tags: f%23-interactive, f%23, f%23-3.0, f%23-data, f%23-fake Problem: Code coverage using dotCover throws an error - FAKE F#MAKE Code signals: System.Exception, dotCover, FAKE, MAK...
Code coverage using dotCover throws an error - FAKE F#MAKE Code coverage using dotCover throws an error - FAKE F#MAKE f%23-interactive f%23 f%23-3.0 f%23-data f%23-fake System.Exception dotCover FAKE MAKE FAKEProject FakeLib.dll Fake.DotCover Target Clean CleanDirs TestCoverage UnitTest UnitTest.dll DotCoverNUnit Outpu...
[ 0.002197265625, 0.0233154296875, -0.00994873046875, -0.023681640625, 0.017822265625, -0.00958251953125, 0.006439208984375, -0.039794921875, -0.003448486328125, 0.01153564453125, -0.039306640625, 0.0218505859375, 0.005615234375, 0.0157470703125, 0.0155029296875, -0.0045166015625, 0.02...
[ 28864, 154271, 17368, 20633, 441, 5465, 104250, 18499, 563, 119960, 4904, 594, 1238, 27495, 10433, 71232, 3742, 132265, 10135, 1021, 12353, 63928, 43711, 223353, 3036, 350, 104820, 1181, 8331, 160017, 73133, 481, 8647, 46640, 84929, 6773, 10957...
[ 0.19189453125, 0.236328125, 0.08935546875, 0.186279296875, 0.1385498046875, 0.259521484375, 0.1595458984375, 0.190673828125, 0.123779296875, 0.1866455078125, 0.1236572265625, 0.046539306640625, 0.049102783203125, 0.056121826171875, 0.081787109375, 0.0535888671875, 0.08026123046875, ...
embed
29292595_c0
29292595
fsharp
0
Title: Does copy and update for immutable record types in F# share or copy memory? Problem title: Does copy and update for immutable record types in F# share or copy memory? Tags: functional-programming, f%23, .net Problem: Does copy and update for immutable record types in F# share or copy memory? Does the copy and up...
Does copy and update for immutable record types in F# share or copy memory? Does copy and update for immutable record types in F# share or copy memory? functional-programming f%23 .net Does MyRecord myRecord1 myRecord2 Does copy and update for immutable record types in F# share or copy memory? Does the copy and update ...
[ -0.0089111328125, 0.0169677734375, 0.007659912109375, 0.0341796875, -0.0029449462890625, 0.0016326904296875, -0.0135498046875, 0.01141357421875, 0.0115966796875, 0.0228271484375, 0.03076171875, 0.0146484375, 0.0242919921875, 0.00628662109375, 0.0125732421875, 0.01092529296875, 0.0075...
[ 101790, 43658, 136, 28350, 566, 561, 22819, 17164, 52895, 563, 4904, 12008, 707, 98323, 123309, 28966, 1238, 3742, 1179, 2646, 4332, 32271, 759, 418, 304, 50491, 115923, 18151, 77336, 1193, 91067, 6892, 2053, 45646, 36457 ]
[ 0.048004150390625, 0.222900390625, 0.122314453125, 0.206787109375, 0.0865478515625, 0.1463623046875, 0.1373291015625, 0.1943359375, 0.156982421875, 0.1407470703125, 0.2447509765625, 0.17041015625, 0.0615234375, 0.2044677734375, 0.0869140625, 0.03729248046875, 0.046661376953125, 0.0...
embed
20973218_c1
20973218
fsharp
1
Cell class that has a reference to a Cell (composition) and can therefore be casted into a Cell for the purpose of function binding, even if there's no inheritance link between the two types. I think what I will end up doing is generating the "match x with | ICastable<'T>" to be non-generic (aka, I'll use ICastableOf_C...
Cell class that has a reference to a Cell (composition) and can therefore be casted into a Cell for the purpose of function binding, even if there's no inheritance link between the two types. I think what I will end up doing is generating the "match x with | ICastable<'T>" to be non-generic (aka, I'll use ICastableOf_C...
[ -0.00848388671875, 0.0157470703125, 0.025146484375, 0.0091552734375, -0.00677490234375, -0.006256103515625, 0.0047607421875, 0.0021209716796875, 0.00537109375, 0.00335693359375, -0.0289306640625, 0.00799560546875, -0.01214599609375, 0.026123046875, -0.003570556640625, -0.00372314453125...
[ 80743, 18507, 1556, 10, 91067, 47, 277, 40322, 831, 377, 14437, 3934, 60042, 32354, 128239, 110, 3334, 217, 3126, 6626, 52895, 5351, 12663, 98753, 1022, 678, 87, 174830, 2886, 618, 351, 79446, 132887, 441, 6796, 7413, 4127, 101758, 53295, ...
[ 0.2342529296875, 0.19921875, 0.044158935546875, 0.00274658203125, 0.189697265625, 0.04583740234375, 0.08258056640625, 0.141357421875, 0.0494384765625, 0.135009765625, 0.1221923828125, 0.108154296875, 0.03887939453125, 0.1444091796875, 0.2249755859375, 0.064697265625, 0.06787109375, ...
embed
53210613_c0
53210613
fsharp
0
Title: F# How to Flatten a Binary Search Tree Problem title: F# How to Flatten a Binary Search Tree Tags: continuation-passing, f%23, functional-programming, recursion, tail-recursion Problem: F# How to Flatten a Binary Search Tree I have a tree, structured as : type 'a Tree =| Leaf of 'a| Branch of 'a Tree * 'a Tree I...
F# How to Flatten a Binary Search Tree F# How to Flatten a Binary Search Tree continuation-passing f%23 functional-programming recursion tail-recursion How Flatten Binary Search Tree Leaf Branch F# How to Flatten a Binary Search Tree I have a tree, structured as : I am using continuation-passing style tail recursion ov...
[ 0.025146484375, 0.0244140625, -0.00689697265625, -0.01513671875, 0.033447265625, 0.01483154296875, -0.01495361328125, -0.0223388671875, 0.0003986358642578125, -0.038818359375, -0.003936767578125, 0.003936767578125, -0.0172119140625, 0.0135498046875, 0.02001953125, 0.00994873046875, 0...
[ 563, 4904, 11249, 106516, 510, 54092, 1294, 33086, 101344, 47, 9454, 13409, 1238, 3742, 123309, 28966, 195625, 46741, 48650, 2407, 21110, 765, 53201, 45646, 17368, 20623, 1830, 645, 31577, 49878, 442, 30646, 4734, 102107, 2046, 5117, 95, 3235...
[ 0.0704345703125, 0.17626953125, 0.032562255859375, 0.23095703125, 0.225341796875, 0.1904296875, 0.1270751953125, 0.208251953125, 0.2342529296875, 0.01416015625, 0.104248046875, 0.09112548828125, 0.060791015625, 0.0626220703125, 0.1153564453125, 0.08673095703125, 0.1578369140625, 0....
embed
39785359_c0
39785359
fsharp
0
Title: How to make FsLab tables render nicely? Problem title: How to make FsLab tables render nicely? Tags: fslab, f%23, css Problem: How to make FsLab tables render nicely? Is there some template or trick to help data tables render nicely in FsLab? The tables I produce are not as pretty as the tables I see in samples/...
How to make FsLab tables render nicely? How to make FsLab tables render nicely? fslab f%23 css How FsLab How to make FsLab tables render nicely? Is there some template or trick to help data tables render nicely in FsLab? The tables I produce are not as pretty as the tables I see in samples/tutorials. As an example, whe...
[ 0.007537841796875, 0.00080108642578125, -0.01361083984375, -0.004730224609375, -0.003021240234375, -0.0228271484375, 0.032470703125, 0.002227783203125, 0.0002574920654296875, 0.0107421875, -0.00592041015625, 0.007354736328125, -0.0079345703125, 0.00732421875, 0.0050048828125, 0.0135498...
[ 11249, 3249, 563, 7, 97381, 23180, 89159, 26267, 538, 1238, 6114, 3742, 20763, 110934, 88308, 4358, 2053, 87, 27489, 959, 237, 28875, 1957, 121413, 77275, 27781, 3564, 678, 33342, 1884, 903, 92858, 35691, 222521, 5045, 4589, 31182, 12401, 6...
[ 0.080078125, 0.06390380859375, 0.1123046875, 0.0845947265625, 0.272705078125, 0.2391357421875, 0.1903076171875, 0.1153564453125, 0.0867919921875, 0.0887451171875, 0.211181640625, 0.091796875, 0.0799560546875, 0.15966796875, 0.1104736328125, 0.072021484375, 0.105712890625, 0.0091247...
embed
16690043_c0
16690043
fsharp
0
Title: What are the benefits of type inference? Problem title: What are the benefits of type inference? Tags: f%23, type-inference Problem: What are the benefits of type inference? I'm started to learn F#, and I noticed that one of the major differences in syntax from C# is that type inference is used much more than in...
What are the benefits of type inference? What are the benefits of type inference? f%23 type-inference What What are the benefits of type inference? I'm started to learn F#, and I noticed that one of the major differences in syntax from C# is that type inference is used much more than in C#. This is usually presented as...
[ -0.000843048095703125, 0.00170135498046875, 0.006378173828125, 0.017578125, 0.002532958984375, -0.0079345703125, -0.0032196044921875, -0.00421142578125, -0.006591796875, 0.0033721923828125, -0.004730224609375, -0.0174560546875, -0.00052642822265625, -0.000888824462890625, 0.0041809082031...
[ 4865, 621, 70, 72382, 111, 10644, 53498, 6620, 32, 1238, 3949, 3742, 73, 69988, 13, 30698, 563, 4904, 156672, 13036, 60212, 6002, 86531, 1295, 313, 11814, 5045, 1286, 3501, 23, 56104, 8121, 44084, 83, 237, 68073, 133196, 18507, 1791, 147,...
[ 0.070556640625, 0.06097412109375, 0.08203125, 0.2008056640625, 0.076171875, 0.267578125, 0.2509765625, 0.1583251953125, 0.005157470703125, 0.053955078125, 0.042694091796875, 0.11328125, 0.048736572265625, 0.207763671875, 0.0217742919921875, 0.036590576171875, 0.0714111328125, 0.153...
embed
18948369_c0
18948369
fsharp
0
Title: F#: generated IL code for seq{} vs other computational workflows Problem title: F#: generated IL code for seq{} vs other computational workflows Tags: computation-expression, f%23 Problem: F#: generated IL code for seq{} vs other computational workflows When I compare IL code that F# generates for seq{} expressi...
F#: generated IL code for seq{} vs other computational workflows F#: generated IL code for seq{} vs other computational workflows computation-expression f%23 F#: generated IL code for seq{} vs other computational workflows When I compare IL code that F# generates for seq{} expressions vs that for user-defined computati...
[ 0.00714111328125, -0.0009002685546875, 0.0162353515625, 0.016357421875, -0.0031585693359375, 0.00180816650390625, -0.0089111328125, 0.00982666015625, 0.01104736328125, -0.018310546875, 0.006011962890625, 0.02099609375, 0.0054931640625, 0.005126953125, 0.0048828125, -0.00022315979003906...
[ 563, 4904, 139392, 71, 30219, 18151, 100, 40, 864, 24854, 20209, 3789, 181135, 43315, 4488, 118664, 204629, 1238, 3949, 3742, 69101, 125195, 38937, 5983, 162520, 29479, 4552, 12921, 11341, 36279, 21373, 24145, 4527, 720, 4597, 150624, 53400, ...
[ 0.1361083984375, 0.231201171875, 0.1859130859375, 0.03582763671875, 0.1871337890625, 0.225341796875, 0.04791259765625, 0.1302490234375, 0.2147216796875, 0.1392822265625, 0.1207275390625, 0.0628662109375, 0.1123046875, 0.067626953125, 0.1024169921875, 0.2344970703125, 0.1695556640625,...
embed
7157469_c0
7157469
fsharp
0
Title: Reduced F# performance on x64 target? Problem title: Reduced F# performance on x64 target? Tags: f%23, performance, 64-bit Problem: Reduced F# performance on x64 target? Recently, I was surprised by the behavior of the F# compiler when using x64 target compared to x86. The same application works with the followi...
Reduced F# performance on x64 target? Reduced F# performance on x64 target? f%23 performance 64-bit Reduced x64 x86 Any CPU Reduced F# performance on x64 target? Recently, I was surprised by the behavior of the F# compiler when using x64 target compared to x86. The same application works with the following time on diff...
[ 0.00421142578125, -0.005645751953125, 0.004058837890625, -0.0047607421875, -0.00156402587890625, -0.01165771484375, -0.021240234375, -0.01092529296875, 0.0009918212890625, -0.00469970703125, 0.02783203125, 0.00506591796875, -0.00787353515625, 0.0036163330078125, 0.018798828125, 0.00291...
[ 6096, 34, 37534, 563, 4904, 23718, 98, 1022, 13307, 30388, 32, 1238, 3949, 3742, 7911, 3137, 15276, 28541, 86039, 144285, 123166, 9969, 34759, 17368, 154186, 581, 5701, 38415, 43240, 25632, 1733, 12921, 1326, 163, 50339, 114453, 129927, 39555...
[ 0.125244140625, 0.120849609375, 0.055145263671875, 0.1719970703125, 0.254638671875, 0.17333984375, 0.0511474609375, 0.0728759765625, 0.2568359375, 0.216552734375, 0.0145111083984375, 0.1497802734375, 0.039306640625, 0.156494140625, 0.1998291015625, 0.10986328125, 0.2099609375, 0.00...
embed
13834396_c0
13834396
fsharp
0
Title: F# Types and Looping Problem title: F# Types and Looping Tags: types, loops, f%23 Problem: F# Types and Looping I am working on an F# tutorial that creates a deck of cards. The types are listed, but I cannot understand how to loop through the types to create the map of the full deck. I expected to do something l...
F# Types and Looping F# Types and Looping types loops f%23 Types Looping Foreach Spade Heart Club Diamond ValCard Jack Queen King Deck F# Types and Looping I am working on an F# tutorial that creates a deck of cards. The types are listed, but I cannot understand how to loop through the types to create the map of the fu...
[ 0.010498046875, -0.0103759765625, -0.0036773681640625, -0.003753662109375, -0.0019989013671875, -0.00408935546875, -0.007049560546875, -0.023193359375, 0.008544921875, -0.00823974609375, 0.021484375, 0.029296875, 0.01275634765625, 0.00518798828125, -0.011474609375, -0.0115966796875, ...
[ 563, 4904, 60457, 136, 199694, 214, 52895, 40956, 7, 1238, 3949, 3742, 52445, 934, 10959, 112, 60861, 7687, 69124, 4769, 156119, 21763, 44109, 18813, 162163, 20697, 57143, 28282, 8, 2594, 126381, 145870, 53418, 28219, 8305, 22288, 111, 4393, ...
[ 0.1337890625, 0.2076416015625, 0.24169921875, 0.1124267578125, 0.158935546875, 0.07611083984375, 0.2462158203125, 0.1978759765625, 0.0184173583984375, 0.0814208984375, 0.0233001708984375, 0.10528564453125, 0.0687255859375, 0.1341552734375, 0.085693359375, 0.0677490234375, 0.088378906...
embed
35400728_c0
35400728
fsharp
0
Title: Set.union F# trouble Problem title: Set.union F# trouble Tags: f%23 Problem: Set.union F# trouble I have a Set<String*String> , and I'm trying to write a function that takes all the elements of that Set and return a Set<String> . My idea is to use Set.fold, and have an empty set accumulator and take the union of...
Set.union F# trouble Set.union F# trouble f%23 Set.union Set Chart Country Set.fold FS0001 Set.union F# trouble I have a Set<String*String> , and I'm trying to write a function that takes all the elements of that Set and return a Set<String> . My idea is to use Set.fold, and have an empty set accumulator and take the u...
[ -0.006683349609375, -0.00518798828125, 0.0185546875, 0.000637054443359375, -0.0115966796875, -0.01513671875, -0.019287109375, -0.006744384765625, 0.0048828125, -0.00019550323486328125, 0.01287841796875, -0.00946044921875, 0.0003185272216796875, -0.0034637451171875, -0.0096435546875, 0....
[ 19943, 5, 87046, 563, 4904, 63134, 1238, 3949, 3742, 110373, 74831, 42822, 93774, 188735, 71713, 214, 1639, 31577, 33022, 32354, 51776, 756, 70, 80854, 111, 30646, 6528, 4527, 201505, 5423, 183278, 1290, 5646, 69941, 6626, 51042, 44402, 18151...
[ 0.25634765625, 0.0672607421875, 0.232421875, 0.138916015625, 0.212158203125, 0.1884765625, 0.080810546875, 0.023590087890625, 0.1258544921875, 0.169921875, 0.14404296875, 0.2001953125, 0.0721435546875, 0.1461181640625, 0.116455078125, 0.0709228515625, 0.080078125, 0.053558349609375...
embed
26848272_c0
26848272
fsharp
0
Title: Can only get 8 items of appsettings? Problem title: Can only get 8 items of appsettings? Tags: system.configuration, f%23, .net Problem: Can only get 8 items of appsettings? I'm using System.Configuration.ConfigurationManager.AppSettings.["...."] . However, I found that the newly added <add key="new1" value="......
Can only get 8 items of appsettings? Can only get 8 items of appsettings? system.configuration f%23 .net Can System.Configuration.ConfigurationManager.AppSettings new1 app.config System.Configuration.ConfigurationManager.AppSettings.AllKeys system.configuration Can only get 8 items of appsettings? I'm using System.Conf...
[ -0.00823974609375, 0.02490234375, -0.0023040771484375, -0.0169677734375, -0.004425048828125, 0.015869140625, -0.0224609375, -0.00072479248046875, 0.0284423828125, 0.007568359375, -0.00193023681640625, -0.01141357421875, 0.01361083984375, 0.01239013671875, 0.0191650390625, -0.0123901367...
[ 4171, 4734, 2046, 382, 55769, 111, 4027, 89840, 7, 5426, 153837, 34, 1238, 3742, 1179, 12353, 59994, 12662, 33730, 39179, 105548, 3525, 418, 43512, 162429, 49814, 4028, 22799, 54936, 34292, 11343, 4163, 56574, 142424, 71924, 12989, 11435, 268...
[ 0.0931396484375, 0.141845703125, 0.1456298828125, 0.2462158203125, 0.2047119140625, 0.109130859375, 0.169189453125, 0.2296142578125, 0.083984375, 0.0955810546875, 0.186767578125, 0.0435791015625, 0.0450439453125, 0.1080322265625, 0.08514404296875, 0.105712890625, 0.1107177734375, 0...
embed
787107_c0
787107
fsharp
0
Title: What VS.NET settings affect the theme colors for the F# interactive Window Problem title: What VS.NET settings affect the theme colors for the F# interactive Window Tags: visual-studio, f%23, themes Problem: What VS.NET settings affect the theme colors for the F# interactive Window Duplicate: How do I change col...
What VS.NET settings affect the theme colors for the F# interactive Window What VS.NET settings affect the theme colors for the F# interactive Window visual-studio f%23 themes What VS.NET Window What VS.NET settings affect the theme colors for the F# interactive Window Duplicate: How do I change colors for the F# inter...
[ -0.0155029296875, 0.0162353515625, -0.00555419921875, 0.004302978515625, -0.004852294921875, 0.017578125, -0.000896453857421875, 0.01806640625, 0.00144195556640625, 0.031494140625, 0.00408935546875, 0.0224609375, -0.006683349609375, 0.019775390625, 0.0091552734375, 0.010986328125, -0...
[ 4865, 44160, 5, 17777, 53550, 7, 52490, 73986, 104988, 563, 4904, 212398, 176501, 21176, 52629, 1238, 3742, 2856, 52721, 15549, 128019, 20600, 43334, 43240, 6782, 26818, 40494, 76896, 5036, 22556, 76615, 7986, 35011, 22729, 4224, 64330, 75169, ...
[ 0.04315185546875, 0.2034912109375, 0.050750732421875, 0.19482421875, 0.168701171875, 0.05487060546875, 0.1512451171875, 0.1888427734375, 0.1627197265625, 0.1151123046875, 0.193603515625, 0.1533203125, 0.1390380859375, 0.1201171875, 0.1080322265625, 0.066650390625, 0.01318359375, 0....
embed
70276103_c0
70276103
fsharp
0
Title: How to implement an F# interface with a member returing an instance of that interface? Problem title: How to implement an F# interface with a member returing an instance of that interface? Tags: f%23, interface-implementation, interface Problem: How to implement an F# interface with a member returing an instance...
How to implement an F# interface with a member returing an instance of that interface? How to implement an F# interface with a member returing an instance of that interface? f%23 interface-implementation interface How InterfaceA Magic MyTypeA x:int self.Magic self.x another.x How to implement an F# interface with a mem...
[ -0.002105712890625, -0.011962890625, 0.016357421875, 0.01025390625, 0.01385498046875, -0.004180908203125, -0.0054931640625, 0.00732421875, 0.0181884765625, -0.01177978515625, 0.0181884765625, 0.049560546875, -0.00439453125, 0.0179443359375, 0.038330078125, -0.027099609375, -0.0050048...
[ 11249, 47, 29479, 563, 4904, 101758, 678, 32786, 83648, 214, 110527, 142, 10, 1238, 3949, 3742, 197648, 220237, 284, 61707, 2646, 196707, 1022, 4288, 15970, 54084, 1771, 425, 15700, 111, 450, 25632, 23, 831, 6044, 9790, 1884, 18499, 3293, ...
[ 0.1058349609375, 0.009796142578125, 0.249267578125, 0.1463623046875, 0.2276611328125, 0.27880859375, 0.09417724609375, 0.22216796875, 0.22802734375, 0.11279296875, 0.1722412109375, 0.026947021484375, 0.032318115234375, 0.1158447265625, 0.033416748046875, 0.1630859375, 0.1776123046875...
embed
7246650_c0
7246650
fsharp
0
Title: F# - For Loop question in F# Problem title: F# - For Loop question in F# Tags: function, f%23 Problem: F# - For Loop question in F# I would like to write this kind of program (this is a simple example to explain what i would like to do) : // #r "FSharp.PowerPack.dll" open Microsoft.FSharp.Math // Definition of m...
F# - For Loop question in F# F# - For Loop question in F# function f%23 Loop FSharp.PowerPack.dll Microsoft.FSharp.Math Definition product1 product2 product3 Instead F# - For Loop question in F# I would like to write this kind of program (this is a simple example to explain what i would like to do) : Thank you in advan...
[ 0.0135498046875, -0.0024261474609375, -0.00335693359375, 0.0089111328125, -0.004302978515625, 0.00194549560546875, -0.0019683837890625, 0.0269775390625, 0.0162353515625, 0.018310546875, 0.0033721923828125, 0.01708984375, 0.0029449462890625, -0.000690460205078125, -0.005584716796875, -0...
[ 563, 4904, 1326, 199694, 9655, 23, 20, 32354, 1238, 3949, 3742, 93774, 3467, 254, 105022, 205956, 71, 1181, 7244, 36381, 199450, 155455, 12996, 418, 304, 363, 175399, 2806, 1884, 33022, 8562, 1528, 83, 8781, 27781, 73342, 129745, 33304 ]
[ 0.1673583984375, 0.2215576171875, 0.1822509765625, 0.254150390625, 0.18994140625, 0.04864501953125, 0.0023193359375, 0.1160888671875, 0.1229248046875, 0.06170654296875, 0.1995849609375, 0.04736328125, 0.1566162109375, 0.1666259765625, 0.09527587890625, 0.180908203125, 0.013671875, ...
embed
19289081_c0
19289081
fsharp
0
Title: F# Higher-order function deciphering Problem title: F# Higher-order function deciphering Tags: f%23, higher-order-functions Problem: F# Higher-order function deciphering Further to my last question : let safeInput:Map<'a,'b> option -> 'a -> 'b -> Map<'a,'b> option = fun x y z -> match x with | Some d -> Some(d.A...
F# Higher-order function deciphering F# Higher-order function deciphering f%23 higher-order-functions Higher-order safeInput:Map Map Some d.Add None Map.ofList F# Higher-order function deciphering Further to my last question : I understand how simple higher-order functions are declared as a type... reading from right t...
[ -0.01226806640625, -0.007110595703125, -0.00162506103515625, -0.01336669921875, -0.0224609375, -0.0052490234375, 0.006622314453125, -0.0177001953125, 0.00830078125, -0.0023193359375, 0.01226806640625, -0.0135498046875, -0.005950927734375, 0.00188446044921875, 0.00159454345703125, -0.01...
[ 563, 4904, 19694, 56, 80596, 32354, 32380, 94266, 1238, 3742, 77546, 137175, 46002, 7077, 166179, 42719, 31384, 104, 4028, 438, 4390, 154663, 28219, 8781, 7, 621, 159978, 71, 237, 10644, 16454, 1295, 7108, 25737, 103607, 11814, 1286, 24145, ...
[ 0.08251953125, 0.1636962890625, 0.1085205078125, 0.035247802734375, 0.1986083984375, 0.1884765625, 0.1324462890625, 0.198974609375, 0.0419921875, 0.10430908203125, 0.1448974609375, 0.1678466796875, 0.1517333984375, 0.024383544921875, 0.1204833984375, 0.1461181640625, 0.00390625, 0....
embed
55301552_c0
55301552
fsharp
0
Title: Are F#&#x27;s generic member constraints possible within C#? Problem title: Are F#&#x27;s generic member constraints possible within C#? Tags: .net-core, .net, c%23, f%23, generics Problem: Are F#'s generic member constraints possible within C#? F# allows constraining generic types on the type's members, similar...
Are F#&#x27;s generic member constraints possible within C#? Are F#&#x27;s generic member constraints possible within C#? .net-core .net c%23 f%23 generics ClassWithMemberConstraint StaticProperty Are F#'s generic member constraints possible within C#? F# allows constraining generic types on the type's members, similar...
[ 0.00677490234375, -0.00139617919921875, 0.020263671875, -0.01806640625, -0.002410888671875, -0.0185546875, -0.01385498046875, 0.0042724609375, 0.00191497802734375, -0.020263671875, -0.01513671875, -0.00848388671875, 0.007049560546875, 0.00970458984375, 0.0062255859375, -0.0013198852539...
[ 563, 4904, 3768, 189534, 32786, 158, 2816, 4288, 7722, 28032, 313, 1179, 30854, 3742, 35014, 194583, 594, 27417, 11935, 71465, 10752, 1264, 114864, 7, 118862, 52895, 10644, 43032, 831, 4552, 3535, 138535, 63769, 13204, 101758, 201939, 18, 365...
[ 0.119140625, 0.2213134765625, 0.0281829833984375, 0.2568359375, 0.24169921875, 0.0833740234375, 0.176513671875, 0.10638427734375, 0.135986328125, 0.103515625, 0.061492919921875, 0.06231689453125, 0.06494140625, 0.0201568603515625, 0.121337890625, 0.0787353515625, 0.03155517578125, ...
embed
63496164_c0
63496164
fsharp
0
Title: How to create an F# list from an interface to be consumed by C#/WPF Problem title: How to create an F# list from an interface to be consumed by C#/WPF Tags: f%23 Problem: How to create an F# list from an interface to be consumed by C#/WPF I am a newbie. Given that each of these represents different classes in C#...
How to create an F# list from an interface to be consumed by C#/WPF How to create an F# list from an interface to be consumed by C#/WPF f%23 an How WPF How to create an F# list from an interface to be consumed by C#/WPF I am a newbie. Given that each of these represents different classes in C#: ContactDetails Internet ...
[ 0.0211181640625, 0.01806640625, -0.007049560546875, 0.00933837890625, -0.01104736328125, 0.01422119140625, -0.0203857421875, 0.0205078125, 0.00592041015625, 0.0145263671875, -0.01104736328125, -0.0113525390625, 0.01007080078125, -0.00112152099609375, -0.000278472900390625, 0.0113525390...
[ 11249, 47, 28282, 563, 4904, 5303, 1295, 101758, 18588, 390, 313, 1456, 41265, 142, 64, 1238, 3949, 3742, 601, 3525, 9014, 12638, 33636, 12921, 61112, 27627, 46741, 2665, 41761, 26278, 83, 10, 6562, 75935, 23, 16401, 122776, 52895, 3164, ...
[ 0.08154296875, 0.051910400390625, 0.1656494140625, 0.149169921875, 0.240478515625, 0.252197265625, 0.0909423828125, 0.2149658203125, 0.168212890625, 0.029937744140625, 0.0264129638671875, 0.06671142578125, 0.1907958984375, 0.042327880859375, 0.017974853515625, 0.060211181640625, 0.00...
embed
47783522_c0
47783522
fsharp
0
Title: How do I execute a method asynchronously? Problem title: How do I execute a method asynchronously? Tags: task-parallel-library, f%23 Problem: How do I execute a method asynchronously? The following Instance method takes a significant amount of time to execute. module CachedTags = let private x = [1..25] |> List....
How do I execute a method asynchronously? How do I execute a method asynchronously? task-parallel-library f%23 How CachedTags List.collect Instance CachedTags.Instance Tasks.Task.Run How do I execute a method asynchronously? The following Instance method takes a significant amount of time to execute. Thus, I would like...
[ 0.004425048828125, 0.00927734375, 0.0225830078125, -0.005279541015625, -0.002655029296875, 0.004638671875, 0.0162353515625, -0.0157470703125, 0.009765625, -0.05859375, -0.003448486328125, 0.029052734375, -0.0179443359375, -0.004852294921875, 0.00799560546875, 0.00726318359375, 0.0136...
[ 11249, 87, 71924, 13, 55300, 10, 12654, 101966, 79850, 54, 66211, 6276, 1229, 141, 150, 2844, 1238, 3742, 2041, 74694, 66448, 32036, 196352, 116071, 9598, 1224, 9874, 1042, 163321, 25632, 360, 51776, 88551, 41170, 1733, 1884, 3249, 903, 117...
[ 0.0882568359375, 0.03924560546875, 0.2186279296875, 0.080322265625, 0.24072265625, 0.0716552734375, 0.1575927734375, 0.2073974609375, 0.11083984375, 0.027130126953125, 0.169189453125, 0.069580078125, 0.119140625, 0.0286407470703125, 0.0826416015625, 0.1357421875, 0.00042724609375, ...
embed
49953618_c0
49953618
fsharp
0
Title: convert a byte sequence to a float sequence F# (seq&lt;seq&lt;byte&gt; -&gt; seq&lt;seq&lt;float&gt;) Problem title: convert a byte sequence to a float sequence F# (seq&lt;seq&lt;byte&gt; -&gt; seq&lt;seq&lt;float&gt;) Tags: f%23 Problem: convert a byte sequence to a float sequence F# (seq -> seq ) I'm a newbie ...
convert a byte sequence to a float sequence F# (seq&lt;seq&lt;byte&gt; -&gt; seq&lt;seq&lt;float&gt;) convert a byte sequence to a float sequence F# (seq&lt;seq&lt;byte&gt; -&gt; seq&lt;seq&lt;float&gt;) f%23 Seq.map System.Double.Parse convert a byte sequence to a float sequence F# (seq -> seq ) I'm a newbie to F# and...
[ 0.02099609375, 0.00014400482177734375, -0.0191650390625, 0.0135498046875, 0.00238037109375, 0.00616455078125, -0.0026397705078125, -0.0004100799560546875, -0.005706787109375, 0.011474609375, -0.007232666015625, 0.003509521484375, 0.023193359375, 0.020263671875, -0.0123291015625, 0.0073...
[ 96760, 10, 390, 67, 40, 944, 3956, 47, 21917, 257, 563, 4904, 184, 864, 61028, 5386, 52347, 1238, 3742, 503, 62346, 12353, 34, 2661, 28636, 33079, 3525, 9014, 82424, 149016, 3642, 26513, 5170, 111, 1061, 903, 25632, 37842, 17368, 28282, ...
[ 0.1827392578125, 0.056365966796875, 0.109130859375, 0.1094970703125, 0.1021728515625, 0.1727294921875, 0.093505859375, 0.1217041015625, 0.20263671875, 0.1385498046875, 0.1055908203125, 0.19921875, 0.078125, 0.18994140625, 0.1341552734375, 0.014251708984375, 0.09576416015625, 0.0315...
embed
5395821_c0
5395821
fsharp
0
Title: Immutable Trie structure in F# Problem title: Immutable Trie structure in F# Tags: immutability, f%23, tail-call, trie Problem: Immutable Trie structure in F# I am playing around with the aho-corasick algorithm to try and get a little better with F#, and I ran across a problem with the Trie implementations, they...
Immutable Trie structure in F# Immutable Trie structure in F# immutability f%23 tail-call trie Immutable Trie Immutable Trie structure in F# I am playing around with the aho-corasick algorithm to try and get a little better with F#, and I ran across a problem with the Trie implementations, they are all mutable or can't...
[ 0.0228271484375, 0.0216064453125, -0.00830078125, 0.0040283203125, -0.0011138916015625, 0.021728515625, 0.003662109375, -0.01080322265625, 0.00823974609375, -0.0194091796875, 0.0296630859375, -0.005828857421875, 0.0003509521484375, 0.0244140625, -0.000835418701171875, 0.01904296875, ...
[ 3370, 561, 22819, 4699, 13, 45646, 563, 4904, 566, 14311, 41159, 1238, 3742, 46741, 85763, 1927, 75169, 10932, 56660, 9, 10517, 1544, 2594, 234873, 11522, 2967, 208124, 756, 842, 831, 18, 186, 11782, 15572, 29367, 62822, 31089, 2053, 765, ...
[ 0.0626220703125, 0.162841796875, 0.180908203125, 0.245361328125, 0.1539306640625, 0.21923828125, 0.111083984375, 0.1890869140625, 0.0780029296875, 0.1571044921875, 0.035888671875, 0.051788330078125, 0.0767822265625, 0.1947021484375, 0.11181640625, 0.1947021484375, 0.0155181884765625,...
embed
70725588_c0
70725588
fsharp
0
Title: How to log http requests in F# Problem title: How to log http requests in F# Tags: f%23-data, logging, httprequest, f%23 Problem: How to log http requests in F# I have a F# console app (.Net 5) sending http requests via FSharp.Data and I haven't found a way to log the raw http requests. I tried using the F# .Net...
How to log http requests in F# How to log http requests in F# f%23-data logging httprequest f%23 How FSharp.Data EntryPoint Http.Request tomasp.net html.ToString How to log http requests in F# I have a F# console app (.Net 5) sending http requests via FSharp.Data and I haven't found a way to log the raw http requests. ...
[ -0.0035400390625, 0.0322265625, 0.00933837890625, 0.01141357421875, 0.0106201171875, 0.0140380859375, 0.0033111572265625, 0.00323486328125, -0.0115966796875, -0.0208740234375, 0.02978515625, -0.0074462890625, -0.01220703125, 0.005523681640625, 0.021240234375, -0.018310546875, -0.0024...
[ 11249, 47, 12684, 1621, 50336, 7, 23, 563, 4904, 1238, 27495, 10135, 459, 36659, 107, 75616, 3742, 93774, 3467, 254, 137989, 15123, 147534, 3062, 4332, 61867, 7008, 1179, 7693, 7763, 71713, 130250, 4027, 24447, 21162, 135834, 3917, 49649, 3...
[ 0.04888916015625, 0.039825439453125, 0.2135009765625, 0.2469482421875, 0.246337890625, 0.086181640625, 0.08306884765625, 0.165771484375, 0.22314453125, 0.0899658203125, 0.005340576171875, 0.0709228515625, 0.131103515625, 0.08355712890625, 0.02239990234375, 0.0948486328125, 0.00106811...
embed
15460180_c0
15460180
fsharp
0
Title: Is there an arbitrary precision float in F#? Something like BigFloat? Problem title: Is there an arbitrary precision float in F#? Something like BigFloat? Tags: floating-point, f%23 Problem: Is there an arbitrary precision float in F#? Something like BigFloat? Is there a data type in F# that lets me calculate a ...
Is there an arbitrary precision float in F#? Something like BigFloat? Is there an arbitrary precision float in F#? Something like BigFloat? floating-point f%23 Something BigFloat bigint.Pow Is there an arbitrary precision float in F#? Something like BigFloat? Is there a data type in F# that lets me calculate a float to...
[ -0.005462646484375, 0.00048065185546875, 0.00384521484375, -0.00897216796875, 0.006134033203125, -0.0145263671875, 0.01141357421875, -0.017822265625, 0.0030364990234375, -0.00946044921875, 0.0107421875, 0.036865234375, -0.003143310546875, -0.009033203125, 0.002105712890625, 0.005493164...
[ 2071, 2685, 61799, 1294, 22619, 1830, 21917, 257, 23, 563, 4904, 200905, 1884, 14195, 919, 365, 142, 26518, 38496, 1238, 3949, 3742, 6957, 4288, 7192, 434, 10, 2053, 10644, 2633, 163, 74481, 47, 14012, 32380, 2749, 44677, 6275, 183234, 41...
[ 0.025421142578125, 0.05267333984375, 0.1715087890625, 0.10443115234375, 0.2254638671875, 0.1248779296875, 0.2144775390625, 0.1566162109375, 0.0625, 0.1514892578125, 0.215087890625, 0.04541015625, 0.053558349609375, 0.14306640625, 0.114501953125, 0.172607421875, 0.031829833984375, 0...
embed
20338032_c0
20338032
fsharp
0
Title: How can I define this lazy (infinite?) data structure in F# Problem title: How can I define this lazy (infinite?) data structure in F# Tags: f%23 Problem: How can I define this lazy (infinite?) data structure in F# I am having a problem defining the following simple text cursor which is represented by a tuple wh...
How can I define this lazy (infinite?) data structure in F# How can I define this lazy (infinite?) data structure in F# f%23 How String.length End Error Type Expecting How can I define this lazy (infinite?) data structure in F# I am having a problem defining the following simple text cursor which is represented by a tu...
[ 0.00762939453125, 0.01190185546875, -0.0021209716796875, 0.01708984375, 0.01348876953125, -0.01318359375, 0.01190185546875, -0.01116943359375, 0.0135498046875, -0.01708984375, 0.021484375, 0.01397705078125, -0.0113525390625, -0.0004024505615234375, 0.0302734375, 0.0155029296875, 0.01...
[ 61924, 903, 21, 3285, 48310, 67, 2053, 45646, 563, 4904, 831, 73, 32, 16, 23, 1238, 3742, 11249, 23351, 214, 23986, 927, 18878, 212059, 60457, 60075, 24762, 2967, 13204, 25632, 8781, 7986, 13810, 42, 33636, 370, 8705, 5117, 12830, 43581, ...
[ 0.1868896484375, 0.1068115234375, 0.1444091796875, 0.2276611328125, 0.1419677734375, 0.1212158203125, 0.117431640625, 0.2359619140625, 0.1236572265625, 0.1986083984375, 0.03515625, 0.0252532958984375, 0.0221710205078125, 0.001922607421875, 0.0226898193359375, 0.062744140625, 0.123657...
embed
19314461_c0
19314461
fsharp
0
Title: Pattern matching on records in F# Problem title: Pattern matching on records in F# Tags: f%23, idioms Problem: Pattern matching on records in F# Is there a more idiomatic way how to do pattern matching on records? My code just doesn't seem right. type Period = AM | PM type TimeOfDay = {hours : int; minutes : int...
Pattern matching on records in F# Pattern matching on records in F# f%23 idioms Pattern Period TimeOfDay tod1 tod2 Pattern matching on records in F# Is there a more idiomatic way how to do pattern matching on records? My code just doesn't seem right.
[ -0.0087890625, 0.00439453125, 0.01251220703125, 0.0125732421875, -0.015625, -0.01708984375, -0.045166015625, 0.01300048828125, 0.0091552734375, -0.01220703125, 0.021240234375, 0.0223388671875, 0.01202392578125, -0.005096435546875, 0.009765625, -0.01519775390625, 0.0004367828369140625...
[ 9876, 22766, 14858, 214, 98, 115923, 23, 563, 4904, 1238, 3949, 3742, 13373, 28016, 92329, 19055, 132887, 97141, 47, 71, 418, 304, 1286, 49666, 9523, 3917, 3642, 54, 103510, 18151, 48903, 7108 ]
[ 0.18310546875, 0.1812744140625, 0.2247314453125, 0.1326904296875, 0.0992431640625, 0.2144775390625, 0.05322265625, 0.150634765625, 0.2098388671875, 0.1038818359375, 0.0335693359375, 0.099609375, 0.1197509765625, 0.0462646484375, 0.0992431640625, 0.0950927734375, 0.14794921875, 0.14...
embed
22424812_c0
22424812
fsharp
0
Title: F# pattern match directly against let binding Problem title: F# pattern match directly against let binding Tags: f%23, guard-clause, immutability, pattern-matching Problem: F# pattern match directly against let binding Is it possible in F# to pattern match directly against a let binding? For example, this compil...
F# pattern match directly against let binding F# pattern match directly against let binding f%23 guard-clause immutability pattern-matching value1 value2 key2 key1 F# pattern match directly against let binding Is it possible in F# to pattern match directly against a let binding? For example, this compiles without any w...
[ -0.02001953125, 0.0032501220703125, -0.00188446044921875, -0.01324462890625, 0.0022735595703125, -0.008544921875, -0.02001953125, 0.0113525390625, 0.01202392578125, -0.01507568359375, 0.005706787109375, 0.01385498046875, 0.01165771484375, 0.01544189453125, 0.031494140625, 0.00312805175...
[ 563, 4904, 103510, 14858, 105237, 26548, 2633, 128239, 1238, 3742, 56050, 18347, 14311, 41159, 98753, 34292, 304, 22799, 442, 7722, 23, 9969, 1340, 15490, 1631, 6977, 73243, 79986, 1221, 8306, 124519, 561, 22819, 158, 271, 77336 ]
[ 0.1435546875, 0.20458984375, 0.2115478515625, 0.18994140625, 0.145751953125, 0.18310546875, 0.1832275390625, 0.193603515625, 0.0270843505859375, 0.05572509765625, 0.1483154296875, 0.005767822265625, 0.076416015625, 0.0143585205078125, 0.151123046875, 0.03521728515625, 0.0616455078125...
embed
31149335_c0
31149335
fsharp
0
Title: CsvFile.InferColumnTypes not available for FSharp.Data 2.2.3? Problem title: CsvFile.InferColumnTypes not available for FSharp.Data 2.2.3? Tags: f%23, f%23-data Problem: CsvFile.InferColumnTypes not available for FSharp.Data 2.2.3? The following code works when using F#.Data 2.2.2. let data = CsvFile.Load(fn) le...
CsvFile.InferColumnTypes not available for FSharp.Data 2.2.3? CsvFile.InferColumnTypes not available for FSharp.Data 2.2.3? f%23 f%23-data CsvFile.InferColumnTypes FSharp.Data CsvFile.Load data.InferColumnTypes CultureInfo.InvariantCulture CsvFile.InferColumnTypes not available for FSharp.Data 2.2.3? The following code...
[ 0.0247802734375, -0.009521484375, 0.0167236328125, 0.04443359375, -0.00189208984375, 0.0078125, 0.001312255859375, -0.003814697265625, -0.021484375, -0.009765625, -0.01275634765625, -0.016845703125, 0.0004482269287109375, -0.0201416015625, 0.0115966796875, -0.0050048828125, 0.0142822...
[ 313, 67756, 174350, 4153, 2875, 78457, 316, 196707, 959, 19882, 93774, 3467, 254, 137989, 787, 120883, 19, 7, 1238, 3742, 167218, 27495, 10135, 5, 712, 2053, 105141, 93147, 162591, 202, 25632, 18151, 43240, 17368, 563, 4904, 70147, 14240, 7...
[ 0.0667724609375, 0.2227783203125, 0.219970703125, 0.05889892578125, 0.2039794921875, 0.171630859375, 0.185302734375, 0.2489013671875, 0.0364990234375, 0.1265869140625, 0.07818603515625, 0.180419921875, 0.1771240234375, 0.155517578125, 0.055877685546875, 0.1810302734375, 0.03594970703...
embed
39611832_c0
39611832
fsharp
0
Title: convert sqlprovider typed object to json string Problem title: convert sqlprovider typed object to json string Tags: type-providers, mysql, f%23, json.net Problem: convert sqlprovider typed object to json string I am trying without success to convert the type provided by the sqlprovider to json. I have a method:...
convert sqlprovider typed object to json string convert sqlprovider typed object to json string type-providers mysql f%23 json.net db.MyDb.Table Newtonsoft.Json JsonConvert.SerializeObject c.something json.net convert sqlprovider typed object to json string I am trying without success to convert the type provided by th...
[ -0.01141357421875, 0.0272216796875, 0.00130462646484375, 0.0213623046875, -0.01904296875, 0.0035552978515625, -0.027587890625, 0.01458740234375, -0.01080322265625, -0.0244140625, 0.015869140625, 0.01470947265625, 0.002288818359375, 0.0107421875, -0.0125732421875, 0.007598876953125, -...
[ 96760, 91, 99247, 93136, 820, 10644, 71, 36746, 47, 1647, 1681, 79315, 14202, 759, 1238, 3949, 3742, 5, 1179, 40041, 31852, 618, 2886, 145076, 61306, 1375, 821, 11549, 25435, 119066, 75161, 501, 43452, 64113, 31577, 15490, 36272, 62952, 553...
[ 0.141845703125, 0.04217529296875, 0.2030029296875, 0.213134765625, 0.144287109375, 0.2298583984375, 0.088134765625, 0.210693359375, 0.1143798828125, 0.110595703125, 0.2073974609375, 0.2235107421875, 0.0859375, 0.078857421875, 0.014404296875, 0.05523681640625, 0.111083984375, 0.0286...
embed
41509654_c2
41509654
fsharp
2
, SqlEntity, c.GetColumn, Seq.toArray, DataLayer, FSharp.Data.Sql, Literal, ConnectionString, Data, Source, __SOURCE_DIRECTORY__, db.sqlite3, Version, Sql, SqlDataProvider, DatabaseVendor, Common.DatabaseProviderTypes.SQLITE, IndividualsAmount, UseOptionTypes, Sql.GetDataContext, ctx.Maint, DataLayer.db, DataLayer.db.G...
, SqlEntity, c.GetColumn, Seq.toArray, DataLayer, FSharp.Data.Sql, Literal, ConnectionString, Data, Source, __SOURCE_DIRECTORY__, db.sqlite3, Version, Sql, SqlDataProvider, DatabaseVendor, Common.DatabaseProviderTypes.SQLITE, IndividualsAmount, UseOptionTypes, Sql.GetDataContext, ctx.Maint, DataLayer.db, DataLayer.db.G...
[ 0.037353515625, 0.009765625, 0.00994873046875, 0.030029296875, -0.0155029296875, 0.001251220703125, 0.01373291015625, -0.0074462890625, -0.0062255859375, -0.045654296875, -0.002471923828125, 0.00872802734375, -0.01385498046875, 0.004974365234375, 0.002777099609375, 0.01611328125, -0....
[ 4, 159, 99247, 7768, 18, 2481, 501, 724, 126, 78457, 316, 503, 864, 188, 7614, 7092, 11809, 2729, 8889, 93774, 3467, 254, 137989, 135940, 141, 62448, 71713, 77641, 76234, 10854, 123237, 16546, 208230, 40041, 5, 7, 95255, 67, 363, 40647, ...
[ 0.0811767578125, 0.04510498046875, 0.242919921875, 0.06353759765625, 0.111328125, 0.120361328125, 0.02459716796875, 0.0511474609375, 0.058929443359375, 0.108642578125, 0.138427734375, 0.019012451171875, 0.107177734375, 0.0848388671875, 0.04302978515625, 0.1458740234375, 0.12658691406...
embed
23345132_c0
23345132
fsharp
0
Title: Deedle - plotting grouped data Problem title: Deedle - plotting grouped data Tags: f%23, deedle, charts Problem: Deedle - plotting grouped data I would like to plot the grouped data I hold in deedle frame. e.g. starting with: let fr = Frame.ofColumns [ "name" =?> series [(1, "a"); (2, "b"); (3, "c"); (4, "c"); (...
Deedle - plotting grouped data Deedle - plotting grouped data f%23 deedle charts Deedle Frame.ofColumns Frame.groupRowsByString Deedle - plotting grouped data I would like to plot the grouped data I hold in deedle frame. e.g. starting with: I would like to somehow pipe this to Chart.Line + Chart.Combine and end up with...
[ 0.0089111328125, 0.007720947265625, 0.006622314453125, 0.0196533203125, -0.0213623046875, 0.007568359375, 0.00848388671875, -0.008544921875, 0.007476806640625, 0.0155029296875, -0.03125, 0.01177978515625, 0.0028839111328125, -0.000553131103515625, -0.01141357421875, 0.0252685546875, ...
[ 262, 297, 133, 23577, 1916, 37769, 71, 2053, 1238, 3949, 3742, 8, 116287, 42557, 4390, 316, 51588, 12724, 75358, 71713, 1884, 16401, 123789, 72134, 678, 209303, 137158, 903, 47, 110373, 93232, 997, 46187, 3564, 1632, 7639, 12768, 12638, 365...
[ 0.1263427734375, 0.1650390625, 0.192138671875, 0.20361328125, 0.0638427734375, 0.19384765625, 0.09375, 0.1612548828125, 0.0186309814453125, 0.000335693359375, 0.08642578125, 0.114501953125, 0.1368408203125, 0.0902099609375, 0.05523681640625, 0.0261993408203125, 0.09375, 0.018341064...
embed
66698973_c0
66698973
fsharp
0
Title: Using reflection in type providers to mimic RFC FS-1023 Problem title: Using reflection in type providers to mimic RFC FS-1023 Tags: type-providers, f%23 Problem: Using reflection in type providers to mimic RFC FS-1023 As I understand it, only primitive types can be given as parameters to a type provider so you ...
Using reflection in type providers to mimic RFC FS-1023 Using reflection in type providers to mimic RFC FS-1023 type-providers f%23 Using RFC FS-1023 TypeProvider Option Foo Str Bar Bar.Foo Using reflection in type providers to mimic RFC FS-1023 As I understand it, only primitive types can be given as parameters to a t...
[ 0.0048828125, 0.01141357421875, -0.016845703125, 0.0274658203125, -0.01251220703125, -0.00848388671875, 0.0022735595703125, -0.0028228759765625, -0.01495361328125, -0.029541015625, 0.00732421875, 0.0157470703125, -0.0023956298828125, 0.01409912109375, 0.0081787109375, 0.01348876953125,...
[ 345, 44961, 1830, 10644, 81450, 324, 21068, 627, 27529, 93774, 9193, 3742, 7, 93136, 60457, 177997, 62160, 86769, 9572, 31, 23351, 3253, 27591, 47, 28219, 4734, 128489, 52895, 831, 34475, 171859, 39029, 4288, 54, 3917, 4527, 36770, 678, 652...
[ 0.07855224609375, 0.2734375, 0.173095703125, 0.209228515625, 0.22705078125, 0.1395263671875, 0.17138671875, 0.031829833984375, 0.14013671875, 0.1214599609375, 0.08135986328125, 0.1900634765625, 0.01019287109375, 0.160400390625, 0.2100830078125, 0.1759033203125, 0.1456298828125, 0.1...
embed
35127088_c0
35127088
fsharp
0
Title: How to specify a parameter as collection in Commandtext Problem title: How to specify a parameter as collection in Commandtext Tags: fsharp.sqlclient, f%23 Problem: How to specify a parameter as collection in Commandtext I am using SqlCommandProvider and I need to get some data for each id in an id collection le...
How to specify a parameter as collection in Commandtext How to specify a parameter as collection in Commandtext fsharp.sqlclient f%23 How Commandtext B058A99-C4B2-4CC3-BA9F-034B1F1ECCBD A09C01C-D51B-41C1-B44C-0995DD285088 Literal SELECT LogoUrl Hotels WHERE IDS SqlCommandProvider Execute fsharp.sqlclient How to specify...
[ -0.001251220703125, 0.0025482177734375, -0.0030364990234375, 0.032470703125, -0.0279541015625, 0.00106048583984375, -0.0194091796875, -0.0125732421875, -0.010498046875, -0.0291748046875, 0.02392578125, 0.00286865234375, 0.007720947265625, -0.01177978515625, -0.006591796875, -0.01635742...
[ 11249, 40140, 18929, 171859, 237, 42486, 123573, 22829, 10, 23, 1238, 89280, 254, 99247, 222978, 3742, 8194, 5046, 152261, 12772, 135940, 6755, 144832, 36684, 48743, 9268, 13526, 10770, 12018, 177997, 62160, 211603, 2046, 2053, 12638, 3447 ]
[ 0.04248046875, 0.203369140625, 0.1090087890625, 0.27490234375, 0.168212890625, 0.268798828125, 0.183349609375, 0.2493896484375, 0.0224456787109375, 0.043914794921875, 0.047332763671875, 0.119140625, 0.0767822265625, 0.114990234375, 0.18359375, 0.08154296875, 0.04931640625, 0.153564...
embed
30420454_c0
30420454
fsharp
0
Title: F# Spawning an Actor with additional parameters Problem title: F# Spawning an Actor with additional parameters Tags: f%23, akka.net Problem: F# Spawning an Actor with additional parameters Im thinking how can I spawn an actor with some additional parameters in F# ? I have the following actor function definition ...
F# Spawning an Actor with additional parameters F# Spawning an Actor with additional parameters f%23 akka.net Spawning Actor TriggerCommand JobCallback actorOf2 akka.net F# Spawning an Actor with additional parameters Im thinking how can I spawn an actor with some additional parameters in F# ? I have the following acto...
[ -0.0118408203125, 0.021240234375, -0.019287109375, -0.017822265625, -0.00885009765625, -0.01019287109375, -0.004730224609375, -0.009521484375, 0.001068115234375, -0.028564453125, 0.01190185546875, -0.0118408203125, 0.0177001953125, 0.0103759765625, 0.00994873046875, -0.00689697265625, ...
[ 563, 4904, 10959, 434, 592, 185617, 678, 78301, 171859, 142, 1238, 3949, 3742, 81866, 1179, 4699, 21407, 10770, 12018, 32664, 5584, 12620, 39329, 132887, 304, 47644, 3642, 831, 5623, 7710, 23, 70, 25632, 32354, 80934, 3370, 31577, 137565, 1...
[ 0.15576171875, 0.209716796875, 0.15576171875, 0.1260986328125, 0.0469970703125, 0.2274169921875, 0.0650634765625, 0.143798828125, 0.204833984375, 0.05010986328125, 0.1080322265625, 0.014892578125, 0.07904052734375, 0.136474609375, 0.059783935546875, 0.09912109375, 0.0670166015625, ...
embed