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
22821595_c0
22821595
fsharp
0
Title: Serializing Array of Binary Trees Problem title: Serializing Array of Binary Trees Tags: binary-tree, f%23 Problem: Serializing Array of Binary Trees The following code creates an array of simple binary trees and attempts to serialize and deserialize it. However, I don't know how to convert the object created by...
Serializing Array of Binary Trees Serializing Array of Binary Trees binary-tree f%23 Serializing Array Binary Trees Tree Branch Leaf Serialize tree.dat FileStream FileMode.Create BinaryFormatter formatter.Serialize fs.Close Deserialize FileMode.Open trees2:array formatter.Deserialize fso.Close Serializing Array of Bina...
[ 0.03759765625, 0.0216064453125, -0.0201416015625, -0.01336669921875, 0.0086669921875, -0.0123291015625, -0.018798828125, 0.0009307861328125, 0.007049560546875, -0.0120849609375, -0.00592041015625, 0.0098876953125, 0.0050048828125, 0.0179443359375, 0.01513671875, -0.00927734375, 0.000...
[ 135188, 84382, 69253, 53, 111, 54092, 1294, 4804, 90, 2394, 6635, 62600, 1238, 3949, 3742, 101344, 21110, 2407, 20650, 53201, 5164, 42724, 115061, 9083, 63784, 102973, 3055, 1483, 25435, 119066, 59453, 5581, 103264, 1360, 304, 19305, 73347, 9...
[ 0.2442626953125, 0.0736083984375, 0.166748046875, 0.08660888671875, 0.0474853515625, 0.1895751953125, 0.087890625, 0.1934814453125, 0.03973388671875, 0.149658203125, 0.06317138671875, 0.1968994140625, 0.06158447265625, 0.03546142578125, 0.12109375, 0.23193359375, 0.0201263427734375, ...
embed
50705001_c0
50705001
fsharp
0
Title: F# Connect SQLProvider with Postgres Problem title: F# Connect SQLProvider with Postgres Tags: .net-core, f%23, postgresql, type-providers, f%23-4.0 Problem: F# Connect SQLProvider with Postgres I'm a beginner in both F# and the .Net world, I'm trying to make this F# script work: #r "./packages/SQLProvider/lib/n...
F# Connect SQLProvider with Postgres F# Connect SQLProvider with Postgres .net-core f%23 postgresql type-providers f%23-4.0 Connect SQLProvider Postgres netstandard2.0 FSharp.Data.SqlProvider.dll netstandard.dll Npgsql Npgsql.dll FSharp.Data.Sql Literal ConnString Host Port Database Username Password DbVendor Common.Da...
[ 0.0147705078125, -0.001922607421875, -0.004852294921875, 0.01708984375, 0.0002117156982421875, 0.002899169921875, 0.000629425048828125, -0.0260009765625, -0.01129150390625, -0.0235595703125, 0.0283203125, -0.0145263671875, 0.000579833984375, -0.005950927734375, -0.016845703125, 0.00222...
[ 563, 4904, 62448, 80866, 177997, 62160, 678, 2795, 17562, 1179, 30854, 1238, 3742, 1305, 99247, 10644, 93136, 151152, 66589, 73011, 3467, 254, 137989, 1181, 2043, 541, 9405, 135940, 1657, 71713, 100932, 13791, 187781, 170461, 85512, 151301, 373...
[ 0.1414794921875, 0.2119140625, 0.16162109375, 0.205322265625, 0.20849609375, 0.1409912109375, 0.0948486328125, 0.0904541015625, 0.2371826171875, 0.0850830078125, 0.1168212890625, 0.07550048828125, 0.06884765625, 0.08154296875, 0.2042236328125, 0.11767578125, 0.153076171875, 0.13513...
embed
58061851_c0
58061851
fsharp
0
Title: Async threads reading from a single source, round-robin style, and writing to a single target, in order Problem title: Async threads reading from a single source, round-robin style, and writing to a single target, in order Tags: asynchronous, f%23, multithreading Problem: Async threads reading from a single sour...
Async threads reading from a single source, round-robin style, and writing to a single target, in order Async threads reading from a single source, round-robin style, and writing to a single target, in order asynchronous f%23 multithreading a Async File.ReadLines File.AsyncReadLines Async threads reading from a single ...
[ -0.007568359375, -0.017578125, -0.01025390625, -0.01007080078125, -0.00970458984375, 0.013671875, 0.02294921875, 0.00616455078125, 0.006988525390625, -0.0172119140625, -0.0032806396484375, 0.0162353515625, 0.0029449462890625, 0.00138092041015625, 0.0255126953125, 0.000377655029296875, ...
[ 62, 12654, 238, 86997, 7, 16454, 1295, 11001, 31344, 68807, 42843, 20623, 32562, 47, 30388, 12989, 19, 101966, 3742, 3869, 65847, 42724, 31345, 93232, 6024, 2256, 11435, 12638, 13315, 9384, 653, 31384, 7986, 51042, 63262, 3444, 738, 645, 12...
[ 0.041839599609375, 0.1983642578125, 0.068359375, 0.240478515625, 0.008056640625, 0.1815185546875, 0.0304107666015625, 0.1029052734375, 0.16455078125, 0.07659912109375, 0.10150146484375, 0.1378173828125, 0.1478271484375, 0.072265625, 0.197509765625, 0.121826171875, 0.0484619140625, ...
embed
41201311_c0
41201311
fsharp
0
Title: F# Visual Power Tools doesn't work Problem title: F# Visual Power Tools doesn't work Tags: code-formatting, f%23, visual-studio-2015, visual-studio Problem: F# Visual Power Tools doesn't work I'm trying to work with F# . For all projects in VS2015 solution i want to have similar code style. I have inst...
F# Visual Power Tools doesn't work F# Visual Power Tools doesn't work code-formatting f%23 visual-studio-2015 visual-studio Visual Power Tools VS2015 Log.Information Found Edit Advanced Format Document Validation visual-studio-2015 F# Visual Power Tools doesn't work I'm trying to work with F# . For all projec...
[ 0.000576019287109375, 0.018798828125, 0.00469970703125, -0.0004291534423828125, -0.0038909912109375, 0.02392578125, -0.01385498046875, 0.00384521484375, -0.004058837890625, 0.0205078125, 0.012451171875, 0.0186767578125, -0.0174560546875, -0.00714111328125, 0.00159454345703125, -0.00213...
[ 563, 4904, 73372, 17170, 119296, 22027, 3768, 18, 4488, 18151, 51727, 1916, 1238, 3742, 21176, 52629, 44906, 44160, 5357, 13146, 205169, 215624, 42079, 127596, 60972, 43101, 25447, 85, 31577, 77635, 29806, 21373, 20623, 20600, 9615, 9384, 18034...
[ 0.1375732421875, 0.202880859375, 0.1981201171875, 0.17529296875, 0.254638671875, 0.0711669921875, 0.07000732421875, 0.0787353515625, 0.1630859375, 0.177001953125, 0.176513671875, 0.03076171875, 0.0806884765625, 0.0400390625, 0.151611328125, 0.16064453125, 0.2109375, 0.14501953125, ...
embed
1998407_c0
1998407
fsharp
0
Title: How do I define y-combinator without "let rec"? Problem title: How do I define y-combinator without "let rec"? Tags: y-combinator, f%23 Problem: How do I define y-combinator without "let rec"? In almost all examples, a y-combinator in ML-type languages is written like this: let rec y f x = f ...
How do I define y-combinator without "let rec"? How do I define y-combinator without "let rec"? y-combinator f%23 How Users Juliet AppData Local Temp FS0001 Type Expecting How do I define y-combinator without "let rec"? In almost all examples, a y-combinator in ML-type languages is written like this...
[ -0.0150146484375, 0.0128173828125, 0.0159912109375, 0.0166015625, 0.036865234375, -0.01214599609375, 0.00628662109375, -0.00157928466796875, -0.00994873046875, -0.023193359375, -0.002288818359375, 0.0135498046875, -0.00970458984375, -0.022705078125, 0.0125732421875, 0.0093994140625, ...
[ 11249, 61924, 113, 9, 277, 19155, 1290, 15490, 1974, 21954, 1238, 3742, 53400, 64672, 18, 5659, 137989, 24172, 37446, 93774, 188735, 60457, 60075, 24762, 39555, 27781, 39456, 50986, 46876, 59121, 1884, 43240, 84751, 12319, 290, 17368, 2633, 1...
[ 0.013458251953125, 0.1859130859375, 0.255126953125, 0.057159423828125, 0.137451171875, 0.23095703125, 0.177001953125, 0.157958984375, 0.1717529296875, 0.1876220703125, 0.0693359375, 0.0706787109375, 0.064697265625, 0.1275634765625, 0.0870361328125, 0.09478759765625, 0.09417724609375,...
embed
26305029_c0
26305029
fsharp
0
Title: Type inference wants explicit upcast sometimes even when flexible type is used for interface constraints? Problem title: Type inference wants explicit upcast sometimes even when flexible type is used for interface constraints? Tags: f%23 Problem: Type inference wants explicit upcast sometimes even when flexible ...
Type inference wants explicit upcast sometimes even when flexible type is used for interface constraints? Type inference wants explicit upcast sometimes even when flexible type is used for interface constraints? f%23 Type this.B case1 Array.map x.B case2 Type inference wants explicit upcast sometimes even when flexible...
[ 0.004058837890625, 0.00848388671875, 0.00177764892578125, 0.00555419921875, -0.00811767578125, -0.01275634765625, -0.010498046875, 0.029541015625, 0.03271484375, 0.015869140625, -0.000820159912109375, 0.000591278076171875, 0.006927490234375, -0.00101470947265625, 0.01214599609375, -0.0...
[ 60457, 53498, 6620, 86171, 143726, 1257, 55741, 68018, 110677, 10644, 11814, 101758, 158, 2816, 4288, 3742, 903, 571, 7225, 418, 69253, 62346, 304, 3871, 1631, 6977, 9393, 189534, 8668, 4568, 124519, 9969, 34759, 19048, 1340, 1284, 35782, 99,...
[ 0.2174072265625, 0.2020263671875, 0.040008544921875, 0.0924072265625, 0.181396484375, 0.0863037109375, 0.19140625, 0.0576171875, 0.2335205078125, 0.2005615234375, 0.03863525390625, 0.15283203125, 0.00958251953125, 0.09747314453125, 0.054840087890625, 0.0726318359375, 0.0953369140625,...
embed
3334429_c1
3334429
fsharp
1
2nd argument is weird. let product (seq1:'a seq) (seq2:'a seq seq) = seq { for item1 in seq1 do for item2 in seq2 do yield item1 |> Seq.singleton |> Seq.append item2 } The product function could be used like so... seq { yield Seq.empty } |> product [ 'a'; 'b'; 'c' ] |> product [ 'd'; 'e'; 'f' ] |> product [ 'h'; 'i'; '...
2nd argument is weird. let product (seq1:'a seq) (seq2:'a seq seq) = seq { for item1 in seq1 do for item2 in seq2 do yield item1 |> Seq.singleton |> Seq.append item2 } The product function could be used like so... seq { yield Seq.empty } |> product [ 'a'; 'b'; 'c' ] |> product [ 'd'; 'e'; 'f' ] |> product [ 'h'; 'i'; '...
[ -0.0032196044921875, 0.01806640625, 0.000946044921875, 0.03564453125, 0.01141357421875, -0.005340576171875, -0.0137939453125, 0.0019073486328125, 0.0198974609375, -0.0185546875, 0.0002574920654296875, 0.0252685546875, -0.0174560546875, 0.00157928466796875, -0.00396728515625, -0.0075378...
[ 116, 2208, 10750, 83, 179459, 2633, 12996, 184, 864, 11, 40, 304, 2203, 35735, 11180, 19388, 503, 6953, 1507, 9007, 3611, 32354, 5809, 11814, 1884, 33548, 939, 71, 420, 127, 170, 16840, 28412, 19, 91, 42822, 16498, 1690, 127689, 3444, 6...
[ 0.119140625, 0.118896484375, 0.2401123046875, 0.042510986328125, 0.182861328125, 0.046661376953125, 0.278564453125, 0.034912109375, 0.1920166015625, 0.067138671875, 0.098876953125, 0.05718994140625, 0.000152587890625, 0.10198974609375, 0.07440185546875, 0.1591796875, 0.0369873046875,...
embed
66576686_c0
66576686
fsharp
0
Title: count the number of vowels in a given string F# Problem title: count the number of vowels in a given string F# Tags: functional-programming, string, count, f%23 Problem: count the number of vowels in a given string F# I need a method using List.fold that will count the number of vowels in a given string. So far ...
count the number of vowels in a given string F# count the number of vowels in a given string F# functional-programming string count f%23 List.contains String.filter String.length List.fold count the number of vowels in a given string F# I need a method using List.fold that will count the number of vowels in a given str...
[ -0.006866455078125, 0.0084228515625, 0.017822265625, 0.015869140625, 0.006591796875, 0.00628662109375, -0.0033721923828125, -0.0133056640625, 0.009765625, -0.021484375, -0.000484466552734375, -0.05078125, 0.01251220703125, 0.031982421875, -0.019287109375, -0.00604248046875, 0.0016708...
[ 54529, 14012, 111, 2244, 8420, 7, 23, 34475, 79315, 563, 4904, 123309, 28966, 1238, 3949, 3742, 32036, 98102, 23351, 120337, 42822, 3871, 55300, 5, 43240, 26366, 1632, 5701, 83, 36635, 9790, 18151, 35064, 959, 4488, 60042, 44961, 6528, 4027...
[ 0.177978515625, 0.133544921875, 0.0230560302734375, 0.2064208984375, 0.2325439453125, 0.062103271484375, 0.0595703125, 0.0904541015625, 0.2222900390625, 0.07598876953125, 0.086181640625, 0.1195068359375, 0.06610107421875, 0.0791015625, 0.0147705078125, 0.1298828125, 0.18310546875, ...
embed
36832257_c0
36832257
fsharp
0
Title: F# efficiency implications of passing large data structures between functions Problem title: F# efficiency implications of passing large data structures between functions Tags: performance, pass-by-value, f%23 Problem: F# efficiency implications of passing large data structures between functions How does F# pass...
F# efficiency implications of passing large data structures between functions F# efficiency implications of passing large data structures between functions performance pass-by-value f%23 List.map bar2 foo2 F# efficiency implications of passing large data structures between functions How does F# pass data from a caller ...
[ 0.02587890625, 0.0169677734375, -0.00225830078125, -0.005523681640625, -0.013916015625, -0.007568359375, -0.004852294921875, -0.01190185546875, 0.012451171875, -0.00165557861328125, 0.01275634765625, 0.0223388671875, 0.0179443359375, 0.00823974609375, 0.00153350830078125, -0.0018157958...
[ 563, 4904, 227066, 17914, 5256, 452, 21334, 2053, 45646, 17721, 32354, 23718, 27875, 1272, 27494, 1238, 3742, 32036, 62346, 1909, 304, 5775, 31, 11249, 14602, 1295, 11782, 56, 47, 35839, 442, 3249, 43658, 8108, 3535, 645, 6275, 116, 18151, ...
[ 0.18408203125, 0.270263671875, 0.2083740234375, 0.1513671875, 0.009521484375, 0.0780029296875, 0.06304931640625, 0.1651611328125, 0.152587890625, 0.130126953125, 0.2022705078125, 0.1746826171875, 0.176025390625, 0.127685546875, 0.14453125, 0.125, 0.074951171875, 0.1246337890625, ...
embed
58852170_c0
58852170
fsharp
0
Title: F#: Create an Async from a function which takes a callback and returns a cancelation handle Problem title: F#: Create an Async from a function which takes a callback and returns a cancelation handle Tags: f%23, ffi, asynchronous Problem: F#: Create an Async from a function which takes a callback and returns a ca...
F#: Create an Async from a function which takes a callback and returns a cancelation handle F#: Create an Async from a function which takes a callback and returns a cancelation handle f%23 ffi asynchronous a Create Async call_callback cancel_callback Async.FromContinuations my_async F#: Create an Async from a function ...
[ -0.006500244140625, 0.01080322265625, -0.007049560546875, -0.0133056640625, -0.01019287109375, 0.0019073486328125, 0.004730224609375, -0.0128173828125, 0.007537841796875, -0.05224609375, -0.0181884765625, -0.0089111328125, -0.0089111328125, -0.00823974609375, 0.0025482177734375, -0.006...
[ 563, 4904, 151313, 62, 12654, 238, 1295, 32354, 51776, 11782, 12620, 30646, 53017, 2320, 34831, 1238, 3949, 3742, 24500, 101966, 85763, 168407, 100761, 21094, 759, 142, 3525, 33022, 137565, 1264, 88996, 10932, 313, 35773, 1294, 138256, 114864, ...
[ 0.1131591796875, 0.1998291015625, 0.1248779296875, 0.0849609375, 0.21533203125, 0.147705078125, 0.09332275390625, 0.1861572265625, 0.07568359375, 0.1475830078125, 0.189453125, 0.1165771484375, 0.208740234375, 0.052734375, 0.219482421875, 0.07916259765625, 0.010040283203125, 0.08709...
embed
38332821_c0
38332821
fsharp
0
Title: F# async and let! confusion Problem title: F# async and let! confusion Tags: f%23, asynchronous Problem: F# async and let! confusion I am confused about the let decode buffer = Encoding.UTF8.GetString(buffer) line, what is going on there ? buffer is declared inside async, or is it a closure ? https://github.com/...
F# async and let! confusion F# async and let! confusion f%23 asynchronous Encoding.UTF8.GetString File.Exists None FileStream FileMode.Open FileAccess.Read FileShare.None fs.AsyncRead fs.Length Convert.ToInt32 System.Diagnostics.Debug.WriteLine JsonConvert.DeserializeObject GetType FullName Some e.ToString F# async and...
[ -0.0035247802734375, 0.0052490234375, 0.00860595703125, -0.0035247802734375, -0.001220703125, -0.000885009765625, 0.01507568359375, 0.00360107421875, -0.0050048828125, 0.0167236328125, 0.002349853515625, 0.0035400390625, 0.01165771484375, 0.005584716796875, 0.0303955078125, -0.00933837...
[ 563, 4904, 10, 12654, 238, 136, 2633, 38, 169463, 1238, 3949, 3742, 101966, 587, 6238, 17632, 919, 1019, 724, 126, 71713, 214, 42724, 19279, 64370, 438, 115061, 9083, 103264, 26531, 31345, 69042, 5021, 7, 449, 11549, 7763, 6460, 12353, 12...
[ 0.155517578125, 0.230224609375, 0.061279296875, 0.25927734375, 0.1341552734375, 0.1099853515625, 0.263671875, 0.1390380859375, 0.239501953125, 0.100830078125, 0.0182342529296875, 0.165283203125, 0.166748046875, 0.1405029296875, 0.0216827392578125, 0.023834228515625, 0.03631591796875,...
embed
21167512_c1
21167512
fsharp
1
1)%4] |> List.map enum<Direction> |> List.iter (fun direction -> ( ch, getCoordinate direction, direction ) :: acc |> ignore) acc // should be Movement list ) List.empty<Movement> // The theory here is that we will execute the fold // for every item before we pass the entire collection // to the recursive call. |> mast...
1)%4] |> List.map enum<Direction> |> List.iter (fun direction -> ( ch, getCoordinate direction, direction ) :: acc |> ignore) acc // should be Movement list ) List.empty<Movement> // The theory here is that we will execute the fold // for every item before we pass the entire collection // to the recursive call. |> mast...
[ -0.011474609375, 0.0281982421875, 0.0233154296875, 0.0294189453125, -0.01239013671875, 0.012939453125, 0.0079345703125, 0.006866455078125, 0.00885009765625, -0.00909423828125, 0.01318359375, 0.018310546875, -0.0072021484375, 0.0257568359375, -0.0242919921875, 0.0098876953125, -0.0112...
[ 4879, 3949, 617, 32036, 5, 62346, 316, 184911, 1830, 16840, 16498, 48225, 3863, 2046, 43297, 50015, 124962, 5608, 209410, 5303, 33548, 939, 9083, 272, 674, 154453, 3688, 71924, 42822, 100, 11907, 35735, 8108, 27875, 64194, 42486, 195625, 5844...
[ 0.07342529296875, 0.033782958984375, 0.080810546875, 0.2239990234375, 0.0045166015625, 0.1424560546875, 0.115234375, 0.1085205078125, 0.04132080078125, 0.1881103515625, 0.16455078125, 0.1937255859375, 0.11474609375, 0.0260772705078125, 0.1942138671875, 0.1458740234375, 0.110473632812...
embed
2279095_c0
2279095
fsharp
0
Title: F# Split list into sublists based on comparison of adjacent elements Problem title: F# Split list into sublists based on comparison of adjacent elements Tags: f%23, list Problem: F# Split list into sublists based on comparison of adjacent elements I've found this question on hubFS, but that handles a splitting c...
F# Split list into sublists based on comparison of adjacent elements F# Split list into sublists based on comparison of adjacent elements f%23 list hubFS Split Don SequencesStartingWith s:seq s.GetEnumerator ResizeArray ie.MoveNext ie.Current acc.Count ResizeArray.to_list acc.Clear acc.Add F# Split list into sublists b...
[ -0.0166015625, 0.0177001953125, 0.004547119140625, 0.005706787109375, -0.031494140625, 0.005950927734375, 0.0146484375, 0.01385498046875, 0.005706787109375, 0.00238037109375, 0.005401611328125, 0.035888671875, -0.0213623046875, 0.0185546875, 0.002685546875, 0.00262451171875, -0.00227...
[ 563, 4904, 46474, 5303, 3934, 1614, 6562, 7, 35509, 225490, 111, 123594, 16797, 80854, 1238, 3742, 26708, 36381, 7650, 26513, 126597, 194583, 91, 864, 2606, 4597, 62539, 7092, 9083, 81280, 474, 50015, 108210, 133, 4028, 65450, 1916, 55738, ...
[ 0.10723876953125, 0.1793212890625, 0.2415771484375, 0.1949462890625, 0.115966796875, 0.1937255859375, 0.2255859375, 0.04083251953125, 0.1339111328125, 0.242431640625, 0.000518798828125, 0.14892578125, 0.1854248046875, 0.1763916015625, 0.06024169921875, 0.0804443359375, 0.104736328125...
embed
29069095_c1
29069095
fsharp
1
solutions to this kind of problems. It is such solution that I am after. type IDataFragment = interface end type PersistedData = string // Some format used to store data in persistent storage type PluginID = string // Some form of identity for plugins that would survive app restart/rebuild/upgrade type IPlugin = inter...
solutions to this kind of problems. It is such solution that I am after. type IDataFragment = interface end type PersistedData = string // Some format used to store data in persistent storage type PluginID = string // Some form of identity for plugins that would survive app restart/rebuild/upgrade type IPlugin = inter...
[ 0.00836181640625, 0.034423828125, -0.0152587890625, 0.000736236572265625, -0.007415771484375, 0.01043701171875, 0.006744384765625, -0.008056640625, 0.01275634765625, -0.048583984375, -0.0091552734375, 0.0128173828125, -0.0177001953125, 0.01312255859375, -0.00799560546875, 0.00860595703...
[ 51347, 47, 903, 8562, 111, 44402, 5, 83, 6044, 29806, 450, 87, 444, 7103, 10644, 137989, 108386, 177, 674, 2203, 101758, 3564, 57309, 14437, 79315, 4666, 31384, 9384, 11814, 4343, 2053, 23, 70560, 2517, 132096, 187364, 7146, 3173, 182324, ...
[ 0.20263671875, 0.052215576171875, 0.1297607421875, 0.1661376953125, 0.0227508544921875, 0.2095947265625, 0.071533203125, 0.044036865234375, 0.09466552734375, 0.153564453125, 0.032989501953125, 0.2244873046875, 0.044158935546875, 0.1336669921875, 0.2626953125, 0.2384033203125, 0.23840...
embed
39253214_c0
39253214
fsharp
0
Title: F# Random elements from a set&lt;string&gt; Problem title: F# Random elements from a set&lt;string&gt; Tags: function, random, setstring, f%23 Problem: F# Random elements from a set I'm working on a project that requires me to write a function that selects a designated number of random elements from a set. Then ...
F# Random elements from a set&lt;string&gt; F# Random elements from a set&lt;string&gt; function random setstring f%23 a Random a:Set a.Count System.Random set.Length F# Random elements from a set I'm working on a project that requires me to write a function that selects a designated number of random elements from a se...
[ 0.005615234375, 0.0172119140625, 0.024169921875, 0.005096435546875, -0.004547119140625, 0.0037841796875, -0.00101470947265625, -0.0101318359375, 0.01129150390625, -0.00982666015625, 0.0185546875, 0.0179443359375, -0.012939453125, -0.000766754150390625, 0.018798828125, 0.006317138671875...
[ 563, 4904, 39643, 306, 80854, 1295, 5423, 91693, 32354, 96759, 1238, 3949, 3742, 10, 294, 126, 108210, 12353, 126525, 3815, 449, 20697, 13452, 33022, 36849, 4331, 14012, 22288, 77336, 225490, 106117, 21280, 111, 35778, 18151, 552, 6238, 19562...
[ 0.1279296875, 0.18212890625, 0.1705322265625, 0.10394287109375, 0.20947265625, 0.10302734375, 0.2021484375, 0.2027587890625, 0.1458740234375, 0.197509765625, 0.05938720703125, 0.0345458984375, 0.150146484375, 0.04034423828125, 0.06463623046875, 0.0980224609375, 0.10137939453125, 0....
embed
2982644_c1
2982644
fsharp
1
I'm an idiot, but other than (I'm guessing) making C# interop easier, what did that gain me? Specifically, I found a couple dis advantages, not counting the extra work of conversion (which I won't count, since I could have done it this way in the first place, I suppose, although that would have made using F# Interacti...
I'm an idiot, but other than (I'm guessing) making C# interop easier, what did that gain me? Specifically, I found a couple dis advantages, not counting the extra work of conversion (which I won't count, since I could have done it this way in the first place, I suppose, although that would have made using F# Interacti...
[ -0.0172119140625, -0.00970458984375, 0.005218505859375, 0.0108642578125, -0.01116943359375, -0.010009765625, -0.0257568359375, -0.0074462890625, 0.00897216796875, -0.017822265625, -0.006072998046875, 0.01275634765625, -0.0016326904296875, 0.008056640625, 0.0093994140625, -0.01733398437...
[ 39, 68649, 57767, 20662, 313, 4904, 1940, 2146, 99156, 2367, 6777, 450, 21647, 163, 14037, 24941, 2837, 92940, 4173, 4488, 142477, 5809, 17368, 563, 5337, 71232, 24503, 5036, 51713, 19048, 32354, 1434, 26338, 592, 72546, 15549, 121293, 297, ...
[ 0.055389404296875, 0.1744384765625, 0.05133056640625, 0.044769287109375, 0.05029296875, 0.26318359375, 0.1708984375, 0.227294921875, 0.135009765625, 0.04522705078125, 0.04718017578125, 0.0404052734375, 0.1741943359375, 0.04248046875, 0.037109375, 0.0870361328125, 0.12060546875, 0.2...
embed
78322147_c1
78322147
fsharp
1
match event with | EventA -> state | EventB -> state This could work if I did something like: let functionThatUsesState (state: 'T) (listOfStates: list<'T>) = state :: listOfStates This "works", but it is no good for my application. What I really need is a listOfStates where 'T is not always (almost never) the same be...
match event with | EventA -> state | EventB -> state This could work if I did something like: let functionThatUsesState (state: 'T) (listOfStates: list<'T>) = state :: listOfStates This "works", but it is no good for my application. What I really need is a listOfStates where 'T is not always (almost never) the same be...
[ -0.01483154296875, -0.0091552734375, 0.009765625, -0.00701904296875, -0.031982421875, -0.0238037109375, -0.008056640625, 0.006591796875, 0.0159912109375, -0.031005859375, 0.01251220703125, 0.00677490234375, -0.026611328125, 0.0174560546875, -0.0157470703125, -0.01190185546875, 0.0257...
[ 14858, 19732, 678, 58745, 36943, 284, 33079, 11341, 571, 5809, 4488, 2633, 32354, 115743, 1062, 5908, 135206, 61340, 618, 6562, 132887, 5303, 18244, 110, 4127, 38415, 6183, 3871, 959, 11343, 840, 8306, 5701, 17721, 80854, 3917, 17569, 6782, ...
[ 0.2392578125, 0.224609375, 0.150390625, 0.00421142578125, 0.201904296875, 0.0889892578125, 0.0478515625, 0.1922607421875, 0.102783203125, 0.05218505859375, 0.0767822265625, 0.05352783203125, 0.1409912109375, 0.1134033203125, 0.1595458984375, 0.142822265625, 0.1910400390625, 0.16003...
embed
70936102_c1
70936102
fsharp
1
Data . The SO post I linked to above suggests that variables created using let will act as local variables and be discarded, as long as they are not referenced in other members , but the act of defining this.parsedData to return _parsedData is enough to keep _parsedData alive. I could use lazy evaluation: let _parsedDa...
Data . The SO post I linked to above suggests that variables created using let will act as local variables and be discarded, as long as they are not referenced in other members , but the act of defining this.parsedData to return _parsedData is enough to keep _parsedData alive. I could use lazy evaluation: let _parsedDa...
[ -0.006744384765625, 0.03857421875, 0.0026702880859375, 0.0224609375, 0.0032806396484375, 0.02099609375, 0.006988525390625, -0.006927490234375, 0.01434326171875, -0.0267333984375, 0.0034942626953125, 0.00286865234375, 0.02001953125, 0.0024871826171875, -0.00421142578125, 0.0007591247558...
[ 11809, 15969, 42459, 77336, 75935, 17368, 2633, 1221, 27992, 237, 4000, 186, 17116, 5861, 959, 91067, 3789, 43032, 13204, 2500, 5281, 137989, 30646, 20174, 13695, 923, 272, 4527, 21, 3285, 219836, 2729, 40226, 135587, 366, 6953, 107730, 2053,...
[ 0.173583984375, 0.027008056640625, 0.04150390625, 0.25927734375, 0.09674072265625, 0.041168212890625, 0.2413330078125, 0.010009765625, 0.078369140625, 0.0087890625, 0.15380859375, 0.01953125, 0.05743408203125, 0.12109375, 0.030731201171875, 0.1605224609375, 0.03314208984375, 0.1439...
embed
46334181_c0
46334181
fsharp
0
Title: How do I get a discriminated union case from a string? Problem title: How do I get a discriminated union case from a string? Tags: discriminated-union, f%23, reflection Problem: How do I get a discriminated union case from a string? I have a discriminated union and I want to select a case based on a string (whic...
How do I get a discriminated union case from a string? How do I get a discriminated union case from a string? discriminated-union f%23 reflection a How MyDU MyDU.A MyDU.B Microsoft.FSharp.Reflection UnionCaseInfo FSharpType.GetUnionCases Array.find x.Name How do I get a discriminated union case from a string? I have a ...
[ -0.021240234375, 0.00634765625, -0.003448486328125, 0.0184326171875, -0.013916015625, -0.022216796875, -0.004180908203125, -0.0103759765625, 0.01092529296875, -0.0016632080078125, 0.0108642578125, 0.019775390625, -0.00982666015625, 0.0027618408203125, -0.0021820068359375, -0.0009765625...
[ 11249, 54, 87, 2046, 10, 55970, 3674, 69941, 7225, 1295, 79315, 87046, 1238, 3949, 3742, 44961, 1830, 2646, 18431, 284, 571, 7244, 3467, 254, 190015, 133, 32528, 441, 6991, 93147, 93774, 196707, 724, 126, 147547, 20370, 69253, 111607, 1022,...
[ 0.0869140625, 0.034820556640625, 0.02484130859375, 0.1461181640625, 0.05780029296875, 0.261474609375, 0.1578369140625, 0.27001953125, 0.25, 0.15869140625, 0.26123046875, 0.2119140625, 0.0350341796875, 0.0312042236328125, 0.1182861328125, 0.18212890625, 0.0498046875, 0.0740966796875...
embed
4173799_c0
4173799
fsharp
0
Title: F# - creating delegates Problem title: F# - creating delegates Tags: unit-type, f%23, c%23-to-f%23 Problem: F# - creating delegates Currently reading a series of blogposts on F#, targeted at the C# programmer. Right now I've finished reading part 3 ( http://www.jelovic.com/weblog/?p=220 ) and am left puzzled. Th...
F# - creating delegates F# - creating delegates unit-type f%23 c%23-to-f%23 F# - creating delegates Currently reading a series of blogposts on F#, targeted at the C# programmer. Right now I've finished reading part 3 ( http://www.jelovic.com/weblog/?p=220 ) and am left puzzled. The difference between and is clear enoug...
[ 0.011962890625, 0.003997802734375, 0.010986328125, -0.007537841796875, -0.01611328125, 0.002685546875, -0.002471923828125, -0.019287109375, -0.004425048828125, -0.01300048828125, -0.004974365234375, -0.00701904296875, -0.0203857421875, -0.005950927734375, 0.0220947265625, -0.0125122070...
[ 563, 4904, 105233, 102329, 90, 25072, 50986, 1238, 3742, 27495, 188, 420, 16454, 77848, 122799, 2831, 138, 12366, 79173, 61107, 104192, 60212, 17721, 34735, 15400, 3871, 40140, 18929, 6626, 1620, 5170, 15, 25632, 13315, 9969, 34759, 19048, 26...
[ 0.123779296875, 0.230224609375, 0.193603515625, 0.292236328125, 0.1279296875, 0.1624755859375, 0.127685546875, 0.08514404296875, 0.08837890625, 0.120361328125, 0.095947265625, 0.05712890625, 0.018096923828125, 0.077880859375, 0.00439453125, 0.040374755859375, 0.0985107421875, 0.020...
embed
39353811_c0
39353811
fsharp
0
Title: How to convert &quot;,&quot; to string[] Problem title: How to convert &quot;,&quot; to string[] Tags: string, f%23, arrays Problem: How to convert "," to string[] I would like to pass a string containing a delimiter, like "," to an F# function, but the caller is getting an error indicating that because "," is n...
How to convert &quot;,&quot; to string[] How to convert &quot;,&quot; to string[] string f%23 arrays How EntryPoint csv_fileH test1.csv Toa.csv_lib Contains AutoOpen csv_lib csv_delim TextFieldParser fn:string csv_fileH.TextFieldType FieldType.Delimited csv_fileH.SetDelimiters How to convert "," to string[] I would lik...
[ 0.01129150390625, -0.00164031982421875, -0.0184326171875, 0.0240478515625, -0.01531982421875, 0.006195068359375, 0.0166015625, -0.006927490234375, -0.003570556640625, 0.0047607421875, -0.029296875, -0.029541015625, -0.0020294189453125, 0.01336669921875, 0.003692626953125, -0.0128173828...
[ 11249, 47, 96760, 619, 41502, 74, 4, 1230, 79315, 1065, 1238, 3949, 3742, 10298, 357, 15123, 147534, 20763, 334, 29822, 841, 3034, 418, 4439, 717, 11, 5612, 34749, 4396, 103264, 112, 3141, 24129, 19388, 28636, 2189, 14783, 91693, 174379, ...
[ 0.090087890625, 0.1549072265625, 0.21875, 0.058074951171875, 0.1416015625, 0.132568359375, 0.171630859375, 0.1175537109375, 0.240478515625, 0.137451171875, 0.12939453125, 0.0210723876953125, 0.15625, 0.09375, 0.044708251953125, 0.1485595703125, 0.1368408203125, 0.06573486328125, ...
embed
53179797_c0
53179797
fsharp
0
Title: F# How to Compare Two DateTime Values Problem title: F# How to Compare Two DateTime Values Tags: datetime-format, f%23, datetime Problem: F# How to Compare Two DateTime Values I have been researching this question, but the answers I am finding are for C#, not F#. It looks like I need to use DateTime.Compare , bu...
F# How to Compare Two DateTime Values F# How to Compare Two DateTime Values datetime-format f%23 datetime How Compare Two DateTime Values DateTime.Compare days_old System.DateTime.Now ToLocalTime File.GetLastAccessTime TimeSpan lastFileUsed.Subtract F# How to Compare Two DateTime Values I have been researching this que...
[ -0.01025390625, 0.0027008056640625, 0.01708984375, 0.0220947265625, -0.005889892578125, -0.0167236328125, 0.0026092529296875, 0.0101318359375, 0.0021514892578125, 0.00836181640625, 0.0106201171875, 0.035400390625, -0.01458740234375, 0.0035247802734375, 0.0030670166015625, 0.00448608398...
[ 563, 4904, 11249, 113307, 13, 32964, 25512, 70059, 190060, 5622, 6032, 51727, 1238, 3742, 108161, 1046, 13312, 18345, 12353, 86291, 137594, 717, 203758, 42724, 2729, 271, 26531, 19055, 3180, 4568, 174350, 1062, 96472, 39989, 4527, 5, 156377, ...
[ 0.12060546875, 0.2003173828125, 0.029327392578125, 0.2314453125, 0.1181640625, 0.2000732421875, 0.1666259765625, 0.24951171875, 0.2066650390625, 0.09393310546875, 0.153564453125, 0.1353759765625, 0.0682373046875, 0.09716796875, 0.17822265625, 0.1942138671875, 0.13427734375, 0.21862...
embed
70360916_c0
70360916
fsharp
0
Title: Enhanced debug information for discriminated unions Problem title: Enhanced debug information for discriminated unions Tags: f%23 Problem: Enhanced debug information for discriminated unions From what I can gather, the DebuggerDisplayAttribute cannot be applied to individual levels of a discriminated union, only...
Enhanced debug information for discriminated unions Enhanced debug information for discriminated unions f%23 Enhanced DebuggerDisplayAttribute ToString Target Output Bot this.ToString EntryPoint Enhanced debug information for discriminated unions From what I can gather, the DebuggerDisplayAttribute cannot be applied to...
[ 0.0087890625, 0.0235595703125, 0.00135040283203125, 0.01287841796875, -0.01104736328125, -0.002960205078125, -0.0020294189453125, 0.00811767578125, -0.003021240234375, 0.01373291015625, 0.015380859375, -0.00390625, 0.017822265625, 0.01275634765625, 0.01336669921875, -0.0028076171875, ...
[ 1121, 8, 85779, 4677, 55970, 3674, 69941, 3742, 262, 978, 21407, 44456, 20706, 191145, 717, 71713, 214, 160017, 13538, 23674, 903, 7763, 357, 15123, 147534, 28848, 53418, 190659, 11651, 90926, 4734, 2663, 67919, 18507, 209806, 42459, 645, 416...
[ 0.09149169921875, 0.10369873046875, 0.2418212890625, 0.11962890625, 0.2080078125, 0.0853271484375, 0.173095703125, 0.0572509765625, 0.1221923828125, 0.1832275390625, 0.15283203125, 0.087158203125, 0.1732177734375, 0.189697265625, 0.1669921875, 0.1771240234375, 0.12890625, 0.1855468...
embed
36310395_c0
36310395
fsharp
0
Title: Newtonsoft.Json serializing some items twice Problem title: Newtonsoft.Json serializing some items twice Tags: f%23, json.net Problem: Newtonsoft.Json serializing some items twice I noticed some strange output from Newtonsoft.Json today, I'm not sure if it is an interaction with F# types or something that can oc...
Newtonsoft.Json serializing some items twice Newtonsoft.Json serializing some items twice f%23 json.net Newtonsoft.Json SplitTracker JsonIgnore SplitDefinition Option JsonConvert.SerializeObject json.net Newtonsoft.Json serializing some items twice I noticed some strange output from Newtonsoft.Json today, I'm not sure ...
[ -0.0211181640625, 0.00494384765625, -0.00701904296875, -0.026123046875, -0.0247802734375, 0.00003886222839355469, -0.00177764892578125, 0.0189208984375, -0.004180908203125, 0.0234375, 0.01556396484375, 0.046142578125, 0.0234375, 0.0255126953125, 0.006866455078125, 0.0255126953125, 0....
[ 145076, 61306, 1375, 1681, 35686, 84382, 3060, 55769, 186351, 1238, 3949, 3742, 1647, 1179, 46474, 28542, 11050, 821, 11137, 187423, 943, 86769, 11549, 294, 25435, 119066, 75161, 156672, 114453, 140992, 5, 18925, 182809, 563, 4904, 52895, 831, ...
[ 0.2178955078125, 0.2174072265625, 0.1226806640625, 0.176025390625, 0.210693359375, 0.0711669921875, 0.050140380859375, 0.1409912109375, 0.2188720703125, 0.06024169921875, 0.0283660888671875, 0.10137939453125, 0.06268310546875, 0.0865478515625, 0.107421875, 0.0970458984375, 0.05191040...
embed
920584_c0
920584
fsharp
0
Title: F#: curried overload/tupled overload issue Problem title: F#: curried overload/tupled overload issue Tags: visual-studio-2010, f%23, currying Problem: F#: curried overload/tupled overload issue While migrating some code to the latest version of F#, included in VS2010 b1, I've encountered an issue and I'd like to...
F#: curried overload/tupled overload issue F#: curried overload/tupled overload issue visual-studio-2010 f%23 currying Foo OverloadID CurriedAbc x.Abc TupledAbc p:Dictionary Seq.map kvp.Key kvp.Value visual-studio-2010 F#: curried overload/tupled overload issue While migrating some code to the latest version of F#, inc...
[ 0.0289306640625, -0.0036773681640625, -0.008544921875, 0.003204345703125, 0.014892578125, -0.0027008056640625, -0.01806640625, -0.00982666015625, -0.0125732421875, -0.01556396484375, 0.005126953125, -0.0027923583984375, -0.0003223419189453125, 0.00133514404296875, 0.0089111328125, -0.0...
[ 563, 4904, 12, 9709, 46572, 645, 63033, 64, 2037, 6259, 31089, 21176, 52629, 73552, 1238, 3742, 198555, 214, 9572, 31, 9578, 7146, 17065, 24988, 1022, 1371, 8705, 10763, 864, 62346, 26687, 162429, 254, 856, 50770, 18, 39666, 18151, 47, 42...
[ 0.148681640625, 0.2208251953125, 0.00994873046875, 0.124755859375, 0.2147216796875, 0.1544189453125, 0.2347412109375, 0.048492431640625, 0.1258544921875, 0.1287841796875, 0.126220703125, 0.15625, 0.152587890625, 0.1669921875, 0.058624267578125, 0.079345703125, 0.1689453125, 0.00430...
embed
27361951_c0
27361951
fsharp
0
Title: Slicing in a 2D Array in F# but similar to Matlab? Problem title: Slicing in a 2D Array in F# but similar to Matlab? Tags: f%23-3.0, f%23, f%23-interactive, c%23-to-f%23, f%23-data Problem: Slicing in a 2D Array in F# but similar to Matlab? I was wondering if there is a way to use a list or an array of int as an...
Slicing in a 2D Array in F# but similar to Matlab? Slicing in a 2D Array in F# but similar to Matlab? f%23-3.0 f%23 f%23-interactive c%23-to-f%23 f%23-data Slicing Array Matlab Arr2d Array2D.init array2dColumnSlice idxlist:list Length tmp.Length Slicing in a 2D Array in F# but similar to Matlab? I was wondering if ther...
[ 0.0018768310546875, 0.008056640625, 0.0245361328125, 0.0164794921875, -0.0234375, -0.0084228515625, -0.01373291015625, 0.02294921875, 0.0037078857421875, 0.0284423828125, 0.0021514892578125, 0.0096435546875, -0.009521484375, -0.01214599609375, -0.0169677734375, -0.0155029296875, 0.00...
[ 103216, 21896, 23, 116, 397, 69253, 53, 563, 4904, 1284, 21373, 47, 7656, 6114, 1238, 27495, 132265, 3742, 10433, 71232, 188, 420, 10135, 304, 71, 10298, 13348, 425, 6562, 77554, 2676, 449, 3917, 4527, 5303, 18, 237, 63262, 28756, 3934, ...
[ 0.1756591796875, 0.1324462890625, 0.047332763671875, 0.1102294921875, 0.111572265625, 0.1453857421875, 0.1158447265625, 0.1363525390625, 0.213134765625, 0.05517578125, 0.1160888671875, 0.028564453125, 0.085693359375, 0.17578125, 0.1146240234375, 0.0234375, 0.0926513671875, 0.034423...
embed
3085034_c0
3085034
fsharp
0
Title: F# and ADO.NET - idiomatic F# Problem title: F# and ADO.NET - idiomatic F# Tags: .net, functional-programming, f%23, ado.net Problem: F# and ADO.NET - idiomatic F# I'm just starting to learn F#. I wrote this F#/ADO.NET code last night. In what ways would you improve the syntax - make it feel like idiomatic F#? l...
F# and ADO.NET - idiomatic F# F# and ADO.NET - idiomatic F# .net functional-programming f%23 ado.net ADO.NET OleDbConnection SELECT People OleDbDataAdapter OleDbCommand DataSet cn.Open da.Fill ds.Tables Rows rowCol.Count row:DataRow LastName F# and ADO.NET - idiomatic F# I'm just starting to learn F#. I wrote this F#/A...
[ 0.005889892578125, 0.01806640625, 0.001983642578125, 0.02490234375, -0.0037689208984375, 0.0076904296875, -0.01434326171875, -0.006927490234375, -0.005584716796875, -0.048828125, 0.013916015625, -0.0308837890625, -0.024169921875, -0.0050048828125, -0.00750732421875, -0.01611328125, -...
[ 563, 4904, 136, 41388, 17777, 49666, 9523, 5, 1179, 123309, 28966, 1238, 3949, 3742, 1138, 31031, 397, 275, 235603, 6755, 144832, 41021, 137989, 22409, 2631, 12018, 11809, 294, 126, 103264, 48, 5713, 618, 19736, 96190, 15555, 78457, 108210, ...
[ 0.1578369140625, 0.2236328125, 0.12353515625, 0.21142578125, 0.2152099609375, 0.2054443359375, 0.1318359375, 0.010345458984375, 0.148681640625, 0.166259765625, 0.0806884765625, 0.0927734375, 0.044281005859375, 0.1275634765625, 0.16455078125, 0.115234375, 0.035614013671875, 0.084960...
embed
28565200_c0
28565200
fsharp
0
Title: Expecting int return value Problem title: Expecting int return value Tags: f%23, xml Problem: Expecting int return value I have following code snippet, which evaluates an XML file: open System open System.IO open System.Xml.Linq open FSharp.Data open System.Net type InputXml = XmlProvider<"C:\Temp\sample.xml"> [...
Expecting int return value Expecting int return value f%23 xml Expecting System System.IO System.Xml.Linq FSharp.Data System.Net InputXml XmlProvider Temp sample.xml EntryPoint InputXml.Load input.GetCustomers customer.GetOrders order.GetOrderLines Customer Order Item Quantity customer.Name order.Number line.Item line....
[ 0.004974365234375, 0.0196533203125, -0.001007080078125, -0.000507354736328125, 0.00982666015625, 0.006866455078125, -0.006439208984375, -0.005340576171875, 0.0016632080078125, -0.008544921875, 0.01324462890625, 0.000518798828125, -0.0096435546875, -0.0096435546875, 0.0177001953125, -0....
[ 60075, 24762, 214, 23, 18, 30646, 34292, 1238, 3949, 3742, 131492, 12353, 17780, 1542, 7237, 44982, 93774, 3467, 254, 24447, 177997, 37446, 121413, 15123, 147534, 7077, 107730, 63749, 43373, 143045, 12989, 93232, 124765, 81206, 78426, 75344, 13...
[ 0.1583251953125, 0.1995849609375, 0.04400634765625, 0.110595703125, 0.1182861328125, 0.21142578125, 0.136962890625, 0.0787353515625, 0.029052734375, 0.1549072265625, 0.1898193359375, 0.10205078125, 0.11572265625, 0.0677490234375, 0.09765625, 0.081298828125, 0.023162841796875, 0.099...
embed
7957002_c0
7957002
fsharp
0
Title: F# Instance Methods... should they return a new instance instead of altering the current object? Problem title: F# Instance Methods... should they return a new instance instead of altering the current object? Tags: immutability, f%23 Problem: F# Instance Methods... should they return a new instance instead of al...
F# Instance Methods... should they return a new instance instead of altering the current object? F# Instance Methods... should they return a new instance instead of altering the current object? immutability f%23 Instance Methods Something _messages.Add AddMessage _messages.Join F# Instance Methods... should they return...
[ 0.01025390625, 0.0045166015625, -0.004150390625, 0.015380859375, -0.00244140625, 0.0206298828125, -0.00439453125, 0.0015869140625, 0.007232666015625, -0.028564453125, 0.0146484375, -0.005096435546875, 0.005859375, 0.0118408203125, -0.001190185546875, -0.0128173828125, 0.0213623046875...
[ 563, 4904, 360, 116071, 74644, 7, 27, 5608, 30646, 3525, 110527, 64457, 144, 33558, 43581, 36746, 566, 14311, 41159, 1238, 3949, 3742, 200905, 74157, 4188, 4028, 29117, 6011, 16604, 2967, 55300, 109954, 37264, 70541, 23755, 4393, 2866, 1003, ...
[ 0.15283203125, 0.223388671875, 0.0872802734375, 0.231689453125, 0.228271484375, 0.00408935546875, 0.010101318359375, 0.0953369140625, 0.226806640625, 0.179443359375, 0.28271484375, 0.1666259765625, 0.142333984375, 0.093994140625, 0.13916015625, 0.1812744140625, 0.0909423828125, 0.1...
embed
17937305_c0
17937305
fsharp
0
Title: Speech Recognition Engine does not shut down - invalid operation exception Problem title: Speech Recognition Engine does not shut down - invalid operation exception Tags: asynchronous, speech-recognition, f%23 Problem: Speech Recognition Engine does not shut down - invalid operation exception Decided to wire up ...
Speech Recognition Engine does not shut down - invalid operation exception Speech Recognition Engine does not shut down - invalid operation exception asynchronous speech-recognition f%23 System.InvalidOperationException Speech Recognition Engine Activate sp.RecognizeAsync RecognizeMode.Multiple Deactivate sp.RecognizeA...
[ 0.0034637451171875, 0.0478515625, 0.026611328125, 0.00811767578125, -0.0159912109375, -0.00885009765625, -0.0037841796875, -0.01031494140625, -0.0177001953125, 0.003875732421875, -0.0152587890625, 0.0302734375, 0.002197265625, 0.0152587890625, 0.031005859375, -0.0022125244140625, 0.0...
[ 218532, 853, 115558, 90125, 14602, 959, 8633, 18, 7565, 56649, 41018, 131527, 12654, 101966, 116483, 107, 1238, 3949, 3742, 12353, 4153, 7013, 156823, 63928, 42902, 5213, 9083, 118, 262, 111438, 238, 156095, 1081, 7101, 4171, 10869, 1439, 878...
[ 0.1419677734375, 0.0797119140625, 0.203857421875, 0.1849365234375, 0.004730224609375, 0.1251220703125, 0.1552734375, 0.0626220703125, 0.1512451171875, 0.216064453125, 0.1617431640625, 0.18798828125, 0.10888671875, 0.1248779296875, 0.173828125, 0.04095458984375, 0.065185546875, 0.03...
embed
10268161_c0
10268161
fsharp
0
Title: Referencing F# From C# Windows Phone XNA game project Problem title: Referencing F# From C# Windows Phone XNA game project Tags: xna, f%23, dll, c%23 Problem: Referencing F# From C# Windows Phone XNA game project i'm quite new to this, i'm currently working on a project for university which involves having to cr...
Referencing F# From C# Windows Phone XNA game project Referencing F# From C# Windows Phone XNA game project xna f%23 dll c%23 Referencing Windows Phone XNA Referencing F# From C# Windows Phone XNA game project i'm quite new to this, i'm currently working on a project for university which involves having to create a Win...
[ 0.00714111328125, 0.02880859375, 0.00127410888671875, -0.00164794921875, -0.00140380859375, -0.004180908203125, -0.01312255859375, 0.006011962890625, 0.01458740234375, -0.01708984375, -0.0225830078125, -0.014404296875, -0.0020294189453125, 0.0101318359375, -0.00173187255859375, -0.0049...
[ 853, 69988, 214, 563, 4904, 28090, 313, 3773, 41761, 1193, 6691, 6712, 13452, 1022, 76, 1238, 3949, 3742, 81717, 32233, 3525, 25, 39, 82424, 20697, 98, 10, 100, 152363, 7, 28282, 13547, 136, 272, 31577, 3126, 47, 4, 105233, 77336, 70, ...
[ 0.096923828125, 0.22314453125, 0.0240478515625, 0.1771240234375, 0.269287109375, 0.1539306640625, 0.0831298828125, 0.1148681640625, 0.182861328125, 0.119140625, 0.2056884765625, 0.091064453125, 0.16748046875, 0.08966064453125, 0.1793212890625, 0.0897216796875, 0.03216552734375, 0.1...
embed
4971196_c0
4971196
fsharp
0
Title: F# class constructor with no args --- error using filehelpers wtih f# Problem title: F# class constructor with no args --- error using filehelpers wtih f# Tags: filehelpers, c%23, constructor, csv, f%23 Problem: F# class constructor with no args --- error using filehelpers wtih f# I followed the link of parse CS...
F# class constructor with no args --- error using filehelpers wtih f# F# class constructor with no args --- error using filehelpers wtih f# filehelpers c%23 constructor csv f%23 filehelpers DelimitedRecord FieldConverter ConverterKind.Date DateTime FileHelperEngine engine.ReadFile test.csv DefaultValue F# class constru...
[ 0.00836181640625, -0.004974365234375, 0.0079345703125, 0.0228271484375, -0.003021240234375, 0.01318359375, 0.002227783203125, 0.00762939453125, -0.0091552734375, 0.00946044921875, -0.014404296875, -0.00537109375, 0.005706787109375, 0.02294921875, 0.007049560546875, -0.022216796875, -...
[ 563, 4904, 18507, 64549, 748, 678, 110, 79459, 7, 18499, 17368, 11435, 73866, 1314, 46560, 1238, 3742, 20763, 334, 93343, 32271, 117657, 814, 219264, 7250, 70059, 42724, 60785, 1264, 87907, 174350, 3034, 4439, 262, 1021, 856, 366, 313, 4348...
[ 0.1239013671875, 0.2305908203125, 0.170166015625, 0.1954345703125, 0.14404296875, 0.0538330078125, 0.10888671875, 0.1766357421875, 0.011962890625, 0.130859375, 0.048614501953125, 0.1270751953125, 0.2042236328125, 0.110595703125, 0.0733642578125, 0.078125, 0.037353515625, 0.02127075...
embed
10867544_c0
10867544
fsharp
0
Title: Map over all values in a discriminated union Problem title: Map over all values in a discriminated union Tags: discriminated-union, reflection, f%23 Problem: Map over all values in a discriminated union Let's say I have a discriminated union: type card = Smithy | Cellar | Chapel And a function that maps the disc...
Map over all values in a discriminated union Map over all values in a discriminated union discriminated-union reflection f%23 Map Smithy Cellar Chapel List.zip List.map Map.ofList Map over all values in a discriminated union Let's say I have a discriminated union: And a function that maps the discriminated union to som...
[ 0.00439453125, -0.000946044921875, -0.00080108642578125, -0.00994873046875, -0.0302734375, -0.016845703125, -0.001556396484375, -0.00141143798828125, 0.022705078125, -0.04052734375, 0.0078125, 0.0146484375, 0.017333984375, 0.026123046875, -0.0050048828125, -0.01416015625, -0.00836181...
[ 42719, 645, 756, 142424, 23, 10, 55970, 3674, 69941, 87046, 44961, 1830, 3742, 37700, 53, 10077, 320, 213912, 32036, 50836, 62346, 4390, 154663, 765, 32354, 22288, 47, 34292, 3444, 139392, 70541, 214, 11034, 12638, 32786, 903, 7722, 1884, 1...
[ 0.2437744140625, 0.12451171875, 0.126708984375, 0.1937255859375, 0.03302001953125, 0.002410888671875, 0.239013671875, 0.120361328125, 0.2430419921875, 0.164306640625, 0.1640625, 0.046295166015625, 0.081787109375, 0.143798828125, 0.1580810546875, 0.1263427734375, 0.1396484375, 0.181...
embed
27988247_c0
27988247
fsharp
0
Title: Is there a List Module Function that is like unzip with a Transformer Problem title: Is there a List Module Function that is like unzip with a Transformer Tags: f%23, standard-library Problem: Is there a List Module Function that is like unzip with a Transformer Is the below something I would find in the standar...
Is there a List Module Function that is like unzip with a Transformer Is there a List Module Function that is like unzip with a Transformer f%23 standard-library List Module Transformer transformer1 Foo Bar FooBar x::xs key::akey item::aitem transformer2 transformer3 key::a1 item::a2 Is there a List Module Function tha...
[ 0.0027008056640625, 0.01055908203125, 0.01031494140625, -0.0007781982421875, 0.0032196044921875, -0.0084228515625, -0.0028228759765625, -0.00872802734375, 0.01336669921875, 0.0155029296875, 0.00762939453125, 0.006500244140625, 0.00958251953125, 0.0191650390625, -0.00714111328125, -0.00...
[ 2071, 2685, 10, 32036, 63014, 13, 28670, 10763, 1884, 51, 50836, 678, 11062, 82772, 450, 3742, 5570, 150, 2844, 27198, 56, 9572, 31, 3253, 25267, 22799, 19770, 35735, 2982, 363, 11, 304, 35064, 9844, 2806, 7413, 35773, 1294, 208124 ]
[ 0.024658203125, 0.030242919921875, 0.026611328125, 0.2259521484375, 0.2039794921875, 0.06353759765625, 0.153564453125, 0.102294921875, 0.1085205078125, 0.1263427734375, 0.2283935546875, 0.132080078125, 0.124267578125, 0.24853515625, 0.003204345703125, 0.0794677734375, 0.1292724609375...
embed
76805549_c0
76805549
fsharp
0
Title: Task.WhenAll never completes on exception Problem title: Task.WhenAll never completes on exception Tags: f%23, task-parallel-library, task Problem: Task.WhenAll never completes on exception I would expect this code to crash after 1 second, but it never terminates. open System open System.Threading.Tasks let foo ...
Task.WhenAll never completes on exception Task.WhenAll never completes on exception f%23 task-parallel-library task Task.WhenAll System System.Threading.Tasks Task.Delay Exception KABOOM Seq.sum t.Result Async Async.Sleep Async.Parallel Async.RunSynchronously Task.WhenAll never completes on exception I would expect thi...
[ 0.01312255859375, 0.0211181640625, -0.01708984375, -0.00104522705078125, 0.017578125, -0.0086669921875, 0.0074462890625, 0.004119873046875, -0.00946044921875, -0.0185546875, 0.009765625, 0.0228271484375, -0.00897216796875, 0.01611328125, 0.0103759765625, 0.0045166015625, 0.0437011718...
[ 9598, 92, 186048, 43512, 8306, 28484, 7, 98, 131527, 1238, 3742, 66211, 6276, 1229, 141, 150, 2844, 12353, 39116, 9874, 1042, 4657, 5259, 5443, 63928, 11040, 158204, 864, 11832, 808, 7136, 12654, 133, 163321, 217835, 127, 1900, 2806, 41206,...
[ 0.177734375, 0.12646484375, 0.1746826171875, 0.264404296875, 0.159423828125, 0.201416015625, 0.031585693359375, 0.10504150390625, 0.2462158203125, 0.011627197265625, 0.11376953125, 0.1790771484375, 0.042877197265625, 0.107177734375, 0.048095703125, 0.040496826171875, 0.10113525390625...
embed
64091757_c0
64091757
fsharp
0
Title: In F#, what does error of type mismatch between &quot;Expecting&quot; and &quot;Given&quot; mean? Problem title: In F#, what does error of type mismatch between &quot;Expecting&quot; and &quot;Given&quot; mean? Tags: elmish-wpf, f%23 Problem: In F#, what does error of type mismatch between "Expecting" and "Given...
In F#, what does error of type mismatch between &quot;Expecting&quot; and &quot;Given&quot; mean? In F#, what does error of type mismatch between &quot;Expecting&quot; and &quot;Given&quot; mean? elmish-wpf f%23 Expecting Given FS0001 Type Binding Model Msg SetAppointmentKey SelectedAppointmentKey Binding.subModelSelec...
[ -0.003265380859375, -0.004669189453125, 0.00201416015625, -0.0006103515625, -0.00775146484375, 0.003997802734375, 0.00133514404296875, -0.0064697265625, 0.0213623046875, 0.01385498046875, 0.00897216796875, -0.0194091796875, 0.01129150390625, 0.01513671875, -0.00122833251953125, 0.00040...
[ 563, 4904, 2367, 18499, 111, 10644, 1239, 98753, 17721, 19279, 47107, 1916, 37735, 1353, 29459, 360, 88, 78192, 39557, 1238, 3742, 60075, 24762, 77878, 93774, 188735, 60457, 1843, 33770, 13293, 19943, 38496, 162429, 51620, 22144, 140290, 100184...
[ 0.0987548828125, 0.1981201171875, 0.0245361328125, 0.21728515625, 0.10723876953125, 0.1993408203125, 0.1248779296875, 0.254150390625, 0.072509765625, 0.121826171875, 0.19970703125, 0.1622314453125, 0.126220703125, 0.2095947265625, 0.1162109375, 0.00048828125, 0.000946044921875, 0.1...
embed
1179297_c0
1179297
fsharp
0
Title: .NET hosting for demo projects Problem title: .NET hosting for demo projects Tags: .net, sql-server, hosting, f%23, c%23 Problem: .NET hosting for demo projects I am a Java programmer looking to learn .NET, particularly C# and F#, to improve my employability. Toward this goal I am creating a website which will h...
.NET hosting for demo projects .NET hosting for demo projects .net sql-server hosting f%23 c%23 NET .NET hosting for demo projects I am a Java programmer looking to learn .NET, particularly C# and F#, to improve my employability. Toward this goal I am creating a website which will have a few demo projects. My hope is t...
[ 0.00872802734375, 0.033203125, 0.00994873046875, -0.01348876953125, -0.004913330078125, 0.005340576171875, -0.0233154296875, -0.02001953125, 0.0064697265625, -0.0019989013671875, -0.017822265625, -0.02783203125, -0.0101318359375, 0.016357421875, -0.013671875, 0.002105712890625, -0.00...
[ 5, 17777, 70496, 100, 53397, 77635, 1179, 91, 99247, 39642, 1238, 3742, 87, 444, 10, 41925, 77848, 16487, 30698, 106480, 4904, 136, 563, 52295, 187016, 41159, 69236, 105233, 4165, 15673, 313, 64, 919, 170846, 390, 122799, 12996, 15970, 4141...
[ 0.06964111328125, 0.2293701171875, 0.254150390625, 0.09722900390625, 0.224853515625, 0.1522216796875, 0.175048828125, 0.01080322265625, 0.2056884765625, 0.1688232421875, 0.02935791015625, 0.0909423828125, 0.004791259765625, 0.041290283203125, 0.0419921875, 0.1678466796875, 0.14135742...
embed
50788933_c0
50788933
fsharp
0
Title: My function outputs a &quot;Seq&quot; and not a String in F#? Problem title: My function outputs a &quot;Seq&quot; and not a String in F#? Tags: f%23 Problem: My function outputs a "Seq" and not a String in F#? I am curious why when I run this, the function "parsenumber" gets outputted as a Seq and not just an i...
My function outputs a &quot;Seq&quot; and not a String in F#? My function outputs a &quot;Seq&quot; and not a String in F#? f%23 Seq Seq.map Seq.skip Seq.take row.pets Male Yes Female My function outputs a "Seq" and not a String in F#? I am curious why when I run this, the function "parsenumber" gets outputted as a Seq...
[ 0.0115966796875, 0.011962890625, 0.00665283203125, 0.034912109375, -0.00087738037109375, 0.01507568359375, 0.01055908203125, 0.0201416015625, 0, -0.00170135498046875, -0.0213623046875, 0.00701904296875, -0.01239013671875, 0.0244140625, 0.0186767578125, 0.00799560546875, -0.0053710937...
[ 2646, 32354, 140992, 4233, 864, 959, 23351, 214, 563, 4904, 1238, 3742, 503, 62346, 44024, 78219, 15555, 5408, 35220, 32635, 213342, 136, 23, 15400, 11675, 903, 2500, 1015, 316, 1297, 237, 18, 16750, 15549, 14012, 184, 31577, 21658, 5117, ...
[ 0.0626220703125, 0.2032470703125, 0.2027587890625, 0.1466064453125, 0.2479248046875, 0.0897216796875, 0.1416015625, 0.0694580078125, 0.07763671875, 0.189453125, 0.045379638671875, 0.1451416015625, 0.107421875, 0.0955810546875, 0.169921875, 0.126953125, 0.1116943359375, 0.1145019531...
embed
59269124_c0
59269124
fsharp
0
Title: How to reverse each string in a string list at \n? Problem title: How to reverse each string in a string list at \n? Tags: f%23 Problem: How to reverse each string in a string list at \n? I have this function which first reads the content of some files, then I have made the contents of the files into separate st...
How to reverse each string in a string list at \n? How to reverse each string in a string list at \n? f%23 How filenames:string List.map elem.Value List.choose List.rev String.concat Some None How to reverse each string in a string list at \n? I have this function which first reads the content of some files, then I hav...
[ -0.0076904296875, -0.002716064453125, 0.00567626953125, 0.01507568359375, -0.0223388671875, 0.0142822265625, 0.040283203125, 0.004058837890625, 0.005401611328125, 0.041259765625, -0.000637054443359375, 0.016845703125, 0.01531982421875, 0.0054931640625, 0.01055908203125, 0.0008506774902...
[ 11249, 47, 39531, 184, 12638, 79315, 23, 5303, 99, 41872, 19, 10, 1238, 3742, 11435, 11627, 91693, 32036, 62346, 195, 50770, 3089, 8364, 65381, 23351, 214, 2271, 4460, 31384, 438, 32354, 5117, 12301, 10941, 102158, 3934, 84797, 3444, 17203,...
[ 0.1005859375, 0.06280517578125, 0.2529296875, 0.2008056640625, 0.16357421875, 0.283203125, 0.057220458984375, 0.206787109375, 0.1903076171875, 0.081787109375, 0.1290283203125, 0.013427734375, 0.04742431640625, 0.1175537109375, 0.129638671875, 0.06781005859375, 0.190185546875, 0.137...
embed
59336094_c1
59336094
fsharp
1
my output from vscode "about": Version: 1.41.0 Commit: 9579eda04fdb3a9bba2750f15193e5fafe16b959 Date: 2019-12-11T17:58:38.338Z Electron: 6.1.5 Chrome: 76.0.3809.146 Node.js: 12.4.0 V8: 7.6.303.31-electron.0 OS: Darwin x64 19.2.0 and this is from dotnet --info : .NET Core SDK (reflecting any global.json): Version: 3.1....
my output from vscode "about": Version: 1.41.0 Commit: 9579eda04fdb3a9bba2750f15193e5fafe16b959 Date: 2019-12-11T17:58:38.338Z Electron: 6.1.5 Chrome: 76.0.3809.146 Node.js: 12.4.0 V8: 7.6.303.31-electron.0 OS: Darwin x64 19.2.0 and this is from dotnet --info : .NET Core SDK (reflecting any global.json): Version: 3.1....
[ -0.0079345703125, 0.01025390625, -0.0010223388671875, 0.03466796875, -0.007049560546875, -0.00775146484375, -0.0206298828125, -0.006683349609375, -0.022216796875, 0.004669189453125, -0.0235595703125, -0.0014495849609375, 0.0016021728515625, 0.0155029296875, -0.0079345703125, 0.00939941...
[ 759, 140992, 1295, 20209, 40899, 115095, 58, 12, 40647, 48733, 102107, 4007, 483, 172070, 37790, 7709, 45391, 2485, 8821, 1126, 3640, 31435, 1662, 128222, 1511, 93010, 1900, 2289, 42876, 32178, 14810, 130681, 438, 112, 28175, 5035, 151152, 31...
[ 0.1209716796875, 0.2489013671875, 0.1025390625, 0.2193603515625, 0.3154296875, 0.250244140625, 0.009185791015625, 0.0155181884765625, 0.125, 0.15673828125, 0.148681640625, 0.13037109375, 0.056549072265625, 0.10662841796875, 0.00274658203125, 0.019500732421875, 0.0169677734375, 0.03...
embed
61045840_c0
61045840
fsharp
0
Title: How to deserialise a missing property to an empty list in an F# record instead of null using Json.Net Problem title: How to deserialise a missing property to an empty list in an F# record instead of null using Json.Net Tags: f%23, json.net Problem: How to deserialise a missing property to an empty list in an F# ...
How to deserialise a missing property to an empty list in an F# record instead of null using Json.Net How to deserialise a missing property to an empty list in an F# record instead of null using Json.Net f%23 json.net Json.Net How MyRecord Name SomeList Netwonsoft.Json.JsonConvert Values Newtonsoft.Json JsonConvert.Des...
[ 0.005096435546875, 0.00335693359375, 0.00323486328125, 0.000835418701171875, -0.006103515625, -0.004241943359375, 0.0186767578125, 0.001678466796875, 0.0030975341796875, 0.03955078125, 0.00897216796875, 0.01483154296875, 0.0035247802734375, 0.01275634765625, 0.0166015625, -0.0110473632...
[ 11249, 224, 25435, 12811, 132283, 57266, 47, 201505, 5303, 563, 4904, 17164, 64457, 56574, 821, 1681, 24447, 1238, 3949, 3742, 1647, 1179, 2646, 4332, 32271, 15757, 31384, 154663, 10086, 20430, 61306, 11549, 190060, 145076, 73347, 119066, 75161...
[ 0.0152435302734375, 0.1693115234375, 0.2266845703125, 0.12646484375, 0.21630859375, 0.231201171875, 0.107666015625, 0.19970703125, 0.1956787109375, 0.1114501953125, 0.2000732421875, 0.189697265625, 0.1251220703125, 0.184326171875, 0.1375732421875, 0.185302734375, 0.1331787109375, 0...
embed
17107877_c0
17107877
fsharp
0
Title: F# error type &#x27;X&#x27; is not compatible with type &#x27;X&#x27; Problem title: F# error type &#x27;X&#x27; is not compatible with type &#x27;X&#x27; Tags: f%23, c%23 Problem: F# error type 'X' is not compatible with type 'X' First, my apologies. This post might be a bit too vague. I have a problem I cannot...
F# error type &#x27;X&#x27; is not compatible with type &#x27;X&#x27; F# error type &#x27;X&#x27; is not compatible with type &#x27;X&#x27; f%23 c%23 Something Dom myRecord.Dom Some CSharpCode.Save Type F# error type 'X' is not compatible with type 'X' First, my apologies. This post might be a bit too vague. I have a p...
[ 0.00396728515625, 0.0162353515625, 0.010498046875, -0.0257568359375, 0.00531005859375, -0.0025787353515625, -0.0201416015625, 0.0028839111328125, 0.00408935546875, 0.01806640625, -0.0015716552734375, -0.00396728515625, 0.016845703125, 0.0047607421875, 0.00909423828125, 0.0052490234375,...
[ 563, 4904, 18499, 10644, 3768, 1542, 54764, 83, 959, 146731, 678, 1238, 3742, 200905, 9343, 759, 4332, 32271, 106098, 25841, 3467, 254, 114211, 5464, 272, 60457, 2967, 53418, 42238, 19336, 121413, 18151, 40059, 38415, 4527, 313, 69285, 139392...
[ 0.1600341796875, 0.2236328125, 0.169921875, 0.202392578125, 0.137939453125, 0.206787109375, 0.016571044921875, 0.05029296875, 0.193603515625, 0.2174072265625, 0.1248779296875, 0.1019287109375, 0.046478271484375, 0.015106201171875, 0.1448974609375, 0.096923828125, 0.027801513671875, ...
embed
32725732_c0
32725732
fsharp
0
Title: The type &#x27;obj list option&#x27; is not a type whose values can be enumerated with this syntax Problem title: The type &#x27;obj list option&#x27; is not a type whose values can be enumerated with this syntax Tags: f%23-interactive, f%23 Problem: The type 'obj list option' is not a type whose values can be e...
The type &#x27;obj list option&#x27; is not a type whose values can be enumerated with this syntax The type &#x27;obj list option&#x27; is not a type whose values can be enumerated with this syntax f%23-interactive f%23 i.e IEnumerable GetEnumerator Average Microsoft.FSharp.Reflection.FSharpType.IsTuple t.GetType Some ...
[ 0.01611328125, -0.01446533203125, 0.007110595703125, 0.0036468505859375, 0.0019989013671875, -0.0037689208984375, 0.005615234375, 0.023193359375, 0.01239013671875, 0.0020294189453125, 0.01226806640625, -0.00135040283203125, 0.0125732421875, 0.013916015625, 0.0029144287109375, 0.0145263...
[ 10644, 3768, 3522, 170, 5303, 35829, 83, 959, 10, 124901, 142424, 831, 189085, 3674, 903, 6002, 86531, 678, 1238, 167218, 27495, 10433, 71232, 3742, 75536, 2606, 56, 2886, 20779, 4597, 40168, 29838, 7244, 3467, 190015, 133, 196707, 29598, 1...
[ 0.2015380859375, 0.07806396484375, 0.16015625, 0.2115478515625, 0.2275390625, 0.2410888671875, 0.0592041015625, 0.145751953125, 0.0217132568359375, 0.05841064453125, 0.16796875, 0.060821533203125, 0.2177734375, 0.0318603515625, 0.046295166015625, 0.095703125, 0.1318359375, 0.019699...
embed
64483243_c0
64483243
fsharp
0
Title: Handling Option values to save to .csv in F# Problem title: Handling Option values to save to .csv in F# Tags: f%23 Problem: Handling Option values to save to .csv in F# I am doing some data-mining using Fsharp. To ensure that no blank values occur during the datamining process I need to make sure that empty val...
Handling Option values to save to .csv in F# Handling Option values to save to .csv in F# f%23 Handling Option Some None Handling Option values to save to .csv in F# I am doing some data-mining using Fsharp. To ensure that no blank values occur during the datamining process I need to make sure that empty values do not ...
[ 0.004364013671875, -0.003173828125, 0.0230712890625, 0.00848388671875, -0.0026092529296875, 0.001190185546875, 0.01068115234375, -0.0172119140625, -0.007415771484375, 0.05712890625, -0.0255126953125, 0.004058837890625, -0.005157470703125, -0.01123046875, 0.00469970703125, 0.02307128906...
[ 193237, 86769, 142424, 30098, 47, 5, 4439, 334, 563, 4904, 1238, 3742, 31384, 438, 86, 2053, 266, 592, 89280, 254, 63284, 110, 44237, 74918, 201505, 366, 17368, 41929, 35829, 7021, 11389, 262, 297, 133, 11809, 123789, 57, 282, 132, 137272...
[ 0.222412109375, 0.257080078125, 0.18310546875, 0.1380615234375, 0.07342529296875, 0.0526123046875, 0.1083984375, 0.2138671875, 0.09423828125, 0.201904296875, 0.013519287109375, 0.0999755859375, 0.0293121337890625, 0.1214599609375, 0.133544921875, 0.0675048828125, 0.09912109375, 0.0...
embed
34692010_c1
34692010
fsharp
1
-> let cmd = new GetEObyOrg1Org2Org3AsutpParent() cmd.Execute(org1 = orgId1, org2 = orgId2, parent = parentAid) But when the number of filters is greater then 3-4 it is very difficult to write pattern matching for all combinations of the parameters. I think I need to construct the SQL query dynamically. Each non-zero ...
-> let cmd = new GetEObyOrg1Org2Org3AsutpParent() cmd.Execute(org1 = orgId1, org2 = orgId2, parent = parentAid) But when the number of filters is greater then 3-4 it is very difficult to write pattern matching for all combinations of the parameters. I think I need to construct the SQL query dynamically. Each non-zero ...
[ -0.0096435546875, 0.009521484375, -0.0142822265625, 0.009521484375, -0.01123046875, -0.00970458984375, -0.022216796875, 0.015380859375, -0.010498046875, -0.031494140625, 0.006591796875, -0.0206298828125, 0.00830078125, 0.01055908203125, -0.01055908203125, -0.0002307891845703125, -0.0...
[ 2633, 1827, 71, 3525, 20779, 70725, 1272, 19060, 177, 418, 304, 363, 23045, 28636, 2517, 211603, 1478, 30910, 49129, 284, 532, 14012, 46312, 117396, 20444, 4552, 34844, 33022, 103510, 14858, 214, 756, 162515, 171859, 5351, 3871, 64549, 80866,...
[ 0.1273193359375, 0.166259765625, 0.095458984375, 0.050537109375, 0.1043701171875, 0.1484375, 0.162353515625, 0.1463623046875, 0.0396728515625, 0.05035400390625, 0.05987548828125, 0.0908203125, 0.0911865234375, 0.1358642578125, 0.0953369140625, 0.1617431640625, 0.17919921875, 0.1289...
embed
39496164_c0
39496164
fsharp
0
Title: Linq query to select rows where a column is a max value Problem title: Linq query to select rows where a column is a max value Tags: linq, f%23 Problem: Linq query to select rows where a column is a max value I'd like to query a database table that looks like the simplified example below: Quote | Sequence | Item...
Linq query to select rows where a column is a max value Linq query to select rows where a column is a max value linq f%23 Linq Quote Sequence Item System.Data.Linq TABLE Linq query to select rows where a column is a max value I'd like to query a database table that looks like the simplified example below: and I need a ...
[ 0.025390625, 0.043212890625, 0.0028228759765625, 0.018798828125, -0.027099609375, 0.0017242431640625, 0.0072021484375, 0.00128173828125, 0.00665283203125, -0.0234375, -0.0126953125, -0.0011138916015625, -0.021728515625, 0.00701904296875, -0.006378173828125, 0.014404296875, -0.0229492...
[ 339, 44982, 41, 1294, 47, 36849, 15555, 7, 7440, 3365, 316, 19, 83, 10, 18389, 34292, 96, 1238, 3742, 109216, 503, 944, 78426, 12353, 866, 384, 183057, 1884, 63399, 23180, 33342, 112892, 27781, 35064, 3871, 62163, 756, 100, 34475, 3956, ...
[ 0.1295166015625, 0.259521484375, 0.177490234375, 0.1109619140625, 0.06048583984375, 0.1690673828125, 0.21875, 0.045501708984375, 0.07373046875, 0.130615234375, 0.1522216796875, 0.0233612060546875, 0.06488037109375, 0.0093994140625, 0.2130126953125, 0.2222900390625, 0.068359375, 0.0...
embed
5247770_c0
5247770
fsharp
0
Title: Adding image F# Problem title: Adding image F# Tags: f%23, silverlight Problem: Adding image F# I have a stack panel to which I want to add some icons dynamically. If I add a TextBlock to the stack panel, it works perfectly: // assuming stackPanel is my stack panel let text = new TextBlock() text.Text <- "Test" ...
Adding image F# Adding image F# f%23 silverlight Adding TextBlock text.Text Test stackPanel.Children.add Uri UriKind.Relative BitmapImage Image icon.Source icon.gif Adding image F# I have a stack panel to which I want to add some icons dynamically. If I add a TextBlock to the stack panel, it works perfectly: However, m...
[ 0.00457763671875, -0.0013580322265625, -0.0031890869140625, 0.0174560546875, 0.002593994140625, 0.0028228759765625, -0.0052490234375, 0.010986328125, -0.002349853515625, -0.033203125, 0.042724609375, 0.0032806396484375, -0.00860595703125, 0.0230712890625, 0.006072998046875, 0.009643554...
[ 62, 59725, 29569, 563, 4904, 1238, 3949, 3742, 115392, 20016, 24129, 166191, 7986, 174379, 8647, 177261, 55956, 583, 102656, 982, 11, 4028, 130885, 7250, 143, 27774, 62346, 216960, 22710, 47989, 211235, 735, 16138, 3444, 15190, 84079, 47, 432...
[ 0.1048583984375, 0.11083984375, 0.193115234375, 0.0889892578125, 0.1278076171875, 0.061859130859375, 0.00885009765625, 0.09771728515625, 0.10052490234375, 0.1500244140625, 0.154052734375, 0.2215576171875, 0.1954345703125, 0.1136474609375, 0.142578125, 0.1558837890625, 0.0938110351562...
embed
28369567_c0
28369567
fsharp
0
Title: What would be an F# equivalent of the C# code using async? Problem title: What would be an F# equivalent of the C# code using async? Tags: f%23, c%23-to-f%23, async-await Problem: What would be an F# equivalent of the C# code using async? I am struggling to write an F# code that would sequentially await for some...
What would be an F# equivalent of the C# code using async? What would be an F# equivalent of the C# code using async? f%23 c%23-to-f%23 async-await async What XmlReader XmlReader.Create StringReader XmlReaderSettings r.ReadAsync r.NodeType XmlNodeType.Element Console.WriteLine r.LocalName XmlNodeType.Text r.GetValueAsy...
[ -0.00982666015625, 0.010986328125, 0.00555419921875, -0.0211181640625, 0.01611328125, 0.000232696533203125, -0.007568359375, 0.004058837890625, -0.01519775390625, -0.03076171875, 0.0213623046875, -0.006256103515625, -0.009033203125, 0.004150390625, 0.0264892578125, -0.00946044921875, ...
[ 2806, 186, 563, 4904, 183234, 111, 313, 18151, 17368, 10, 12654, 238, 4865, 142, 1238, 3742, 27495, 188, 420, 7978, 217, 1193, 7237, 31345, 56, 23351, 105548, 5021, 196707, 19929, 40777, 203758, 112, 174379, 1690, 126, 856, 50770, 237875, ...
[ 0.09130859375, 0.029998779296875, 0.1492919921875, 0.2196044921875, 0.18115234375, 0.016021728515625, 0.047698974609375, 0.156494140625, 0.0633544921875, 0.06829833984375, 0.224365234375, 0.133544921875, 0.0196075439453125, 0.03228759765625, 0.0810546875, 0.0897216796875, 0.109130859...
embed
52239788_c0
52239788
fsharp
0
Title: F# / Simplest way to validate array length at COMPILE time Problem title: F# / Simplest way to validate array length at COMPILE time Tags: type-providers, f%23 Problem: F# / Simplest way to validate array length at COMPILE time I have some scientific project. There are vectors / square matrices of various length...
F# / Simplest way to validate array length at COMPILE time F# / Simplest way to validate array length at COMPILE time type-providers f%23 Simplest COMPILE F# / Simplest way to validate array length at COMPILE time I have some scientific project. There are vectors / square matrices of various lengths there. Obviously (f...
[ -0.0038604736328125, 0.0223388671875, -0.0115966796875, 0.023193359375, -0.0142822265625, -0.006134033203125, -0.017333984375, -0.00543212890625, 0.002410888671875, -0.01324462890625, -0.013427734375, -0.02587890625, 0.01531982421875, 0.0036163330078125, -0.004180908203125, -0.01477050...
[ 563, 4904, 60552, 271, 3917, 44622, 67, 10298, 53, 140909, 99, 61898, 52099, 1733, 10644, 93136, 1238, 3742, 57456, 13452, 22834, 22230, 248, 108047, 50944, 5170, 67842, 173, 18770, 116, 53418, 49814, 47, 138, 40368, 17777, 35773, 10484, 35...
[ 0.094970703125, 0.20458984375, 0.1417236328125, 0.05377197265625, 0.052154541015625, 0.2216796875, 0.08837890625, 0.20263671875, 0.11083984375, 0.21630859375, 0.03759765625, 0.149658203125, 0.155517578125, 0.1383056640625, 0.110107421875, 0.159912109375, 0.0386962890625, 0.05786132...
embed
5579602_c0
5579602
fsharp
0
Title: What is the Scala equivalent of F#&#x27;s async workflows? Problem title: What is the Scala equivalent of F#&#x27;s async workflows? Tags: async-workflow, f%23, scala Problem: What is the Scala equivalent of F#'s async workflows? What is the Scala equivalent of F#'s async workflows? For example, how would follow...
What is the Scala equivalent of F#&#x27;s async workflows? What is the Scala equivalent of F#&#x27;s async workflows? async-workflow f%23 scala What Scala System.Net Microsoft.FSharp.Control.WebExtensions Microsoft.com www.microsoft.com MSDN msdn.microsoft.com Bing www.bing.com url:string System.Uri WebClient webClient...
[ 0.0022735595703125, 0.000400543212890625, -0.00012874603271484375, -0.01336669921875, -0.0011749267578125, -0.007659912109375, -0.01336669921875, 0.0050048828125, -0.0026092529296875, -0.00567626953125, 0.005584716796875, 0.013427734375, -0.00066375732421875, -0.00677490234375, 0.0186767...
[ 4865, 152653, 11, 183234, 563, 4904, 3768, 10, 12654, 238, 4488, 118664, 7, 83, 18244, 1238, 3742, 146232, 12353, 24447, 7244, 36381, 3467, 254, 175904, 30474, 19279, 128872, 277, 138410, 51671, 71, 19, 73751, 23709, 25002, 91693, 416, 4002...
[ 0.076416015625, 0.2568359375, 0.1719970703125, 0.187255859375, 0.1158447265625, 0.20703125, 0.0833740234375, 0.055145263671875, 0.2052001953125, 0.09906005859375, 0.10205078125, 0.249267578125, 0.0035400390625, 0.013214111328125, 0.1136474609375, 0.1082763671875, 0.10302734375, 0.2...
embed
39430875_c0
39430875
fsharp
0
Title: F#: Remove an element from a self-defined list Problem title: F#: Remove an element from a self-defined list Tags: f%23 Problem: F#: Remove an element from a self-defined list Here is a defined list: type ilist = E | L of int * ilist where the constructor E stands for the empty list and the constructor L builds ...
F#: Remove an element from a self-defined list F#: Remove an element from a self-defined list f%23 a Remove x:int l:list Warning l:ilist F#: Remove an element from a self-defined list Here is a defined list: where the constructor E stands for the empty list and the constructor L builds a list by adding a number in fron...
[ -0.01507568359375, 0.0172119140625, 0.007598876953125, 0.0120849609375, -0.0233154296875, -0.0026702880859375, -0.01513671875, 0.00543212890625, 0.0064697265625, -0.00439453125, 0.0301513671875, -0.0020599365234375, -0.01007080078125, 0.00927734375, 0.0021209716796875, -0.0047302246093...
[ 563, 4904, 181139, 12830, 1295, 15970, 112, 5983, 5303, 1238, 3949, 3742, 1022, 4288, 96, 6562, 5550, 14, 297, 11853, 61924, 71, 70, 64549, 748, 241, 9157, 201505, 339, 45367, 154107, 14012, 12912, 831, 33636, 80854, 59084, 136555, 12989, ...
[ 0.103515625, 0.1904296875, 0.2158203125, 0.173095703125, 0.0960693359375, 0.1151123046875, 0.07525634765625, 0.1650390625, 0.1942138671875, 0.07049560546875, 0.014892578125, 0.1011962890625, 0.1156005859375, 0.1190185546875, 0.08197021484375, 0.201904296875, 0.0653076171875, 0.0625...
embed
9309019_c0
9309019
fsharp
0
Title: Checking union cases dynamically Problem title: Checking union cases dynamically Tags: f%23 Problem: Checking union cases dynamically How do I match union cases dynamically in F# when there are value declarations? Non working code: let myShape = Shape.Square expect myShape Shape.Circle type Shape = | Circle of i...
Checking union cases dynamically Checking union cases dynamically f%23 Checking Shape.Square Shape.Circle Shape Circle Square Rectangle Expected Found Here Comparing Checking union cases dynamically How do I match union cases dynamically in F# when there are value declarations? Non working code: If my union cases did n...
[ -0.0034942626953125, 0.00836181640625, 0.000850677490234375, -0.001190185546875, -0.01007080078125, -0.0238037109375, -0.0113525390625, 0.0032806396484375, 0.0150146484375, 0.0262451171875, 0.0269775390625, 0.0206298828125, 0.0103759765625, -0.0135498046875, 0.00154876708984375, 0.0038...
[ 38679, 214, 69941, 50218, 84079, 25958, 1238, 3949, 3742, 7224, 1081, 94727, 481, 163731, 68305, 14525, 60075, 13, 89829, 215624, 11853, 113307, 14858, 563, 4904, 3229, 34292, 21635, 5256, 3775, 20697, 18151, 6777, 959, 159978, 142424, 43240, ...
[ 0.1832275390625, 0.01934814453125, 0.2198486328125, 0.1883544921875, 0.189453125, 0.0440673828125, 0.08721923828125, 0.0194549560546875, 0.1182861328125, 0.0982666015625, 0.0182037353515625, 0.0614013671875, 0.01953125, 0.0897216796875, 0.08135986328125, 0.07763671875, 0.068725585937...
embed
70964335_c0
70964335
fsharp
0
Title: F# asynchronous sequence calculation gets stuck Problem title: F# asynchronous sequence calculation gets stuck Tags: asynchronous, f%23 Problem: F# asynchronous sequence calculation gets stuck Given the following (simplified) F# asynchronous code, to partition items coming from an asyncSeq open FSharp.Control le...
F# asynchronous sequence calculation gets stuck F# asynchronous sequence calculation gets stuck asynchronous f%23 FSharp.Control AsyncSeq AsyncSeq.mapi AsyncSeq.groupBy AsyncSeq.map AsyncSeq.toArraySynchronously Map.ofArray Map.map Array.map F# asynchronous sequence calculation gets stuck Given the following (simplifie...
[ -0.000949859619140625, -0.00469970703125, 0.0036468505859375, -0.00982666015625, -0.01226806640625, -0.0233154296875, -0.00018978118896484375, 0.0003223419189453125, 0.01324462890625, 0.01068115234375, -0.0185546875, 0.04150390625, 0.024169921875, 0.0164794921875, 0.02783203125, 0.0016...
[ 563, 4904, 10, 12654, 101966, 40, 944, 3956, 74481, 1363, 62163, 179933, 1238, 3949, 3742, 93774, 3467, 254, 175904, 4233, 864, 1434, 51588, 75358, 62346, 188, 7092, 217835, 1900, 79850, 42719, 4390, 25632, 116120, 18151, 2878, 55769, 38162, ...
[ 0.12548828125, 0.17724609375, 0.0204010009765625, 0.156005859375, 0.1671142578125, 0.0748291015625, 0.16455078125, 0.028594970703125, 0.22705078125, 0.0877685546875, 0.0849609375, 0.241455078125, 0.08837890625, 0.0313720703125, 0.1644287109375, 0.023193359375, 0.1005859375, 0.11352...
embed
31901304_c0
31901304
fsharp
0
Title: Rewriting C# code using Task.WhenAll in F# Problem title: Rewriting C# code using Task.WhenAll in F# Tags: task-parallel-library, f%23, c%23-to-f%23, async-await Problem: Rewriting C# code using Task.WhenAll in F# I have the following interface method: Task<string[]> GetBlobsFromContainer(string containerName); ...
Rewriting C# code using Task.WhenAll in F# Rewriting C# code using Task.WhenAll in F# task-parallel-library f%23 c%23-to-f%23 async-await Task.WhenAll Rewriting Task GetBlobsFromContainer _containerClient.GetContainer container.ListBlobs Cast CloudBlockBlob Select b.DownloadTextAsync this.GetBlobsFromContainer containe...
[ -0.0059814453125, 0.00118255615234375, -0.0091552734375, 0.02978515625, -0.0007476806640625, -0.00109100341796875, -0.00213623046875, 0.0198974609375, 0.01165771484375, 0.00146484375, 0.003875732421875, 0.00921630859375, -0.005096435546875, 0.0220947265625, -0.00469970703125, 0.0209960...
[ 853, 199332, 313, 4904, 18151, 17368, 9598, 92, 5, 186048, 43512, 23, 563, 66211, 6276, 1229, 150, 2844, 1238, 3742, 27495, 188, 420, 12654, 7978, 217, 20779, 365, 16145, 168407, 25500, 98102, 116419, 32301, 48316, 166191, 275, 144786, 1743...
[ 0.13720703125, 0.2105712890625, 0.04400634765625, 0.1954345703125, 0.1727294921875, 0.00299072265625, 0.174072265625, 0.116943359375, 0.015106201171875, 0.1934814453125, 0.2105712890625, 0.05072021484375, 0.111572265625, 0.1531982421875, 0.013885498046875, 0.0816650390625, 0.06579589...
embed
67271982_c0
67271982
fsharp
0
Title: F# making a API request to a graphql endpoint Problem title: F# making a API request to a graphql endpoint Tags: graphql, f%23 Problem: F# making a API request to a graphql endpoint I try to get some data from a grqphql endpoint with F#. I use Fsharp.Data let apiQuery = """query findData { apiData(Model:{ PageNu...
F# making a API request to a graphql endpoint F# making a API request to a graphql endpoint graphql f%23 API Model PageNumber PageSize ErrorMessage Success ValidationResult TotalCount Data ItemId Http.RequestString ContentType HttpContentTypes.Json Authorization TextRequest Internal Server Error query_headers Content-T...
[ 0.00020503997802734375, 0.037841796875, 0.0106201171875, -0.0004596710205078125, -0.0001220703125, -0.00543212890625, -0.01019287109375, -0.003631591796875, -0.0123291015625, -0.0390625, 0.03125, 0.000560760498046875, -0.01190185546875, 0.013671875, 0.00286865234375, 0.0027618408203125...
[ 563, 4904, 20662, 61687, 50336, 47, 41382, 99247, 3564, 38496, 1238, 3742, 13293, 14231, 127167, 212059, 6011, 144053, 25447, 7, 7136, 33867, 108210, 11809, 78426, 75616, 70870, 196707, 25352, 1375, 1681, 61804, 24129, 4332, 106745, 22687, 41, ...
[ 0.1527099609375, 0.224609375, 0.015594482421875, 0.2078857421875, 0.1685791015625, 0.07275390625, 0.193115234375, 0.1737060546875, 0.0970458984375, 0.1302490234375, 0.0570068359375, 0.1123046875, 0.15576171875, 0.0726318359375, 0.08148193359375, 0.19384765625, 0.046722412109375, 0....
embed
61586323_c0
61586323
fsharp
0
Title: F# currying .NET standard library functions with multiple parameters? Problem title: F# currying .NET standard library functions with multiple parameters? Tags: f%23, .net Problem: F# currying .NET standard library functions with multiple parameters? According to my book, the standard .NET library functions can ...
F# currying .NET standard library functions with multiple parameters? F# currying .NET standard library functions with multiple parameters? f%23 .net NET Directory.GetCreationTime Directory.Move F# currying .NET standard library functions with multiple parameters? According to my book, the standard .NET library functio...
[ 0.00726318359375, -0.004913330078125, 0.005889892578125, 0.01544189453125, -0.0177001953125, 0.006744384765625, -0.010009765625, -0.0230712890625, 0.00830078125, -0.016845703125, -0.00738525390625, 0.01116943359375, -0.002655029296875, 0.0137939453125, -0.005584716796875, -0.0169677734...
[ 563, 4904, 198555, 214, 5, 17777, 5570, 35773, 1294, 32354, 678, 48716, 171859, 1238, 3742, 1179, 31068, 63784, 70059, 9083, 272, 12877, 831, 765, 10750, 9325, 1829, 137158, 59801, 4488, 11001, 41392, 17306, 7722, 6626, 121, 192, 720, 20744...
[ 0.1485595703125, 0.2200927734375, 0.2646484375, 0.066650390625, 0.050140380859375, 0.20263671875, 0.1566162109375, 0.2064208984375, 0.1024169921875, 0.1910400390625, 0.027801513671875, 0.1998291015625, 0.2174072265625, 0.0791015625, 0.09295654296875, 0.1326904296875, 0.0699462890625,...
embed
2835516_c0
2835516
fsharp
0
Title: Can the lock function be used to implement thread-safe enumeration? Problem title: Can the lock function be used to implement thread-safe enumeration? Tags: thread-safety, locking, enumeration, f%23 Problem: Can the lock function be used to implement thread-safe enumeration? I'm working on a thread-safe collecti...
Can the lock function be used to implement thread-safe enumeration? Can the lock function be used to implement thread-safe enumeration? thread-safety locking enumeration f%23 Can IEnumerable KeyValuePair Enumerate _synchronize _locker _dict System.Threading.Monitor.Enter System.Threading.Monitor.Exit Can the lock funct...
[ -0.022705078125, 0.0009765625, -0.0026397705078125, -0.0263671875, -0.006591796875, -0.01531982421875, 0.017578125, 0.01123046875, -0.01275634765625, -0.0322265625, -0.002777099609375, 0.0194091796875, 0.0020599365234375, 0.0019683837890625, 0.0299072265625, 0.003082275390625, -0.006...
[ 4171, 56776, 32354, 11814, 29479, 86997, 115840, 189085, 1363, 214, 1238, 3742, 75536, 2606, 56, 26824, 856, 50770, 8335, 481, 15537, 17957, 12654, 101966, 20650, 21135, 61669, 12353, 39116, 46674, 26111, 155581, 19279, 9, 20697, 42486, 4527, ...
[ 0.05657958984375, 0.241455078125, 0.1778564453125, 0.125, 0.131103515625, 0.1947021484375, 0.21240234375, 0.2208251953125, 0.044647216796875, 0.030029296875, 0.004608154296875, 0.044830322265625, 0.0278167724609375, 0.1240234375, 0.076171875, 0.0911865234375, 0.044281005859375, 0.0...
embed
76452221_c0
76452221
fsharp
0
Title: How to calculate cumulative stock returns from an array of tuples in F# Problem title: How to calculate cumulative stock returns from an array of tuples in F# Tags: sequence, tuples, f%23, arrays, stock Problem: How to calculate cumulative stock returns from an array of tuples in F# I am trying to calculate the ...
How to calculate cumulative stock returns from an array of tuples in F# How to calculate cumulative stock returns from an array of tuples in F# sequence tuples f%23 arrays stock an How DateTime FSharp.Data Plotly.NET System System.IO Literal file_containing_returns.csv CsvProvider stockData.GetSample s.Rows Seq.map Sys...
[ 0.01422119140625, 0.0028839111328125, 0.00098419189453125, 0.021484375, -0.00018405914306640625, -0.01251220703125, 0.00933837890625, -0.0172119140625, 0.024658203125, -0.0072021484375, 0.0057373046875, 0.014892578125, 0.006378173828125, 0.0172119140625, 0.01263427734375, -0.0164794921...
[ 11249, 74481, 67, 1452, 202, 45023, 31837, 30646, 7, 1295, 10298, 370, 99726, 563, 4904, 944, 3949, 3742, 25512, 70059, 3467, 254, 137989, 168763, 538, 17777, 12353, 17780, 135940, 11435, 65395, 67756, 33209, 86291, 103264, 69253, 13527, 6118...
[ 0.03302001953125, 0.1817626953125, 0.0214691162109375, 0.1378173828125, 0.10443115234375, 0.1527099609375, 0.1800537109375, 0.273681640625, 0.08251953125, 0.047454833984375, 0.1634521484375, 0.1248779296875, 0.21142578125, 0.10272216796875, 0.1773681640625, 0.058074951171875, 0.00460...
embed
47654434_c0
47654434
fsharp
0
Title: Functional Programming: Embedding functions in AST? Problem title: Functional Programming: Embedding functions in AST? Tags: f%23, functional-programming, abstract-syntax-tree, function Problem: Functional Programming: Embedding functions in AST? I'm currently attempting to use F# to model linking functions toge...
Functional Programming: Embedding functions in AST? Functional Programming: Embedding functions in AST? f%23 functional-programming abstract-syntax-tree function Functional Programming Embedding AST Chain Link End Functional Programming: Embedding functions in AST? I'm currently attempting to use F# to model linking fu...
[ 0.0084228515625, -0.00445556640625, 0.0017852783203125, 0.00616455078125, -0.0023651123046875, 0.00494384765625, -0.00543212890625, -0.007171630859375, 0.00130462646484375, -0.05322265625, -0.005035400390625, -0.013916015625, -0.0126953125, 0.00958251953125, 0.01141357421875, 0.0144042...
[ 28670, 10763, 27958, 2775, 372, 59725, 32354, 23, 48963, 289, 214, 1238, 3742, 123309, 28966, 164789, 86531, 62600, 4841, 73, 12779, 18878, 81887, 563, 4904, 3299, 3126, 25842, 121293, 98423, 220642, 40140, 10644, 138256, 15190, 1286, 171859, ...
[ 0.118896484375, 0.0906982421875, 0.19677734375, 0.12060546875, 0.251953125, 0.14306640625, 0.2286376953125, 0.09722900390625, 0.217041015625, 0.0113525390625, 0.043853759765625, 0.0662841796875, 0.136962890625, 0.164794921875, 0.1522216796875, 0.0938720703125, 0.06231689453125, 0.1...
embed
41042155_c0
41042155
fsharp
0
Title: order of operators in F# query expression Problem title: order of operators in F# query expression Tags: query-expressions, f%23 Problem: order of operators in F# query expression Does the order of query expression operators matter? Idk, but sometimes (in some selections) it does, but sometimes it doesn't (or ma...
order of operators in F# query expression order of operators in F# query expression query-expressions f%23 p.age order of operators in F# query expression Does the order of query expression operators matter? Idk, but sometimes (in some selections) it does, but sometimes it doesn't (or maybe it does but implicitly handl...
[ 0.020263671875, 0.0152587890625, 0.00830078125, -0.005584716796875, 0.000713348388671875, 0.0023345947265625, 0.0020294189453125, 0.00885009765625, 0.00836181640625, -0.03173828125, 0.00927734375, 0.019775390625, 0.013916015625, -0.0194091796875, -0.0032196044921875, 0.0012359619140625...
[ 12989, 111, 39933, 7, 23, 563, 4904, 41, 1294, 125195, 204629, 1238, 3742, 4588, 101790, 70, 26866, 5740, 68018, 132216, 165164, 34831, 46505, 81678, 36849, 8110, 738, 4568, 162515, 186992, 33022, 63805, 5646, 653, 7103, 60892, 9433, 71924, ...
[ 0.198486328125, 0.0655517578125, 0.2330322265625, 0.0804443359375, 0.01434326171875, 0.115966796875, 0.20068359375, 0.115234375, 0.1201171875, 0.21484375, 0.18603515625, 0.0679931640625, 0.053802490234375, 0.13037109375, 0.001373291015625, 0.00701904296875, 0.1468505859375, 0.00521...
embed
20721811_c0
20721811
fsharp
0
Title: Extension Method Definition/Invocation in F# Problem title: Extension Method Definition/Invocation in F# Tags: extension-methods, f%23 Problem: Extension Method Definition/Invocation in F# Assumptions: There exist types Row and Cell defined in an external assembly. Problem: I have created an extension method for...
Extension Method Definition/Invocation in F# Extension Method Definition/Invocation in F# extension-methods f%23 Extension Method Definition Invocation XlRow Row this.xlNewCell Cell Manipulate row:Row row.xlNewCell Extension Method Definition/Invocation in F# Assumptions: There exist types Row and Cell defined in an ex...
[ 0.0005035400390625, 0.0277099609375, 0.034912109375, 0.030029296875, -0.005706787109375, -0.03857421875, -0.0064697265625, -0.00848388671875, -0.0172119140625, 0.0125732421875, -0.01226806640625, -0.00946044921875, -0.00994873046875, 0.0185546875, -0.0111083984375, -0.018798828125, 0...
[ 224545, 74644, 155455, 4153, 202010, 23, 563, 4904, 111938, 1928, 7352, 1238, 3742, 360, 1193, 141, 12724, 434, 96190, 903, 92595, 46568, 441, 6796, 80743, 221169, 2182, 15555, 71836, 32316, 52895, 136, 61924, 173591, 89845, 15649, 75935, 553...
[ 0.289794921875, 0.25146484375, 0.177490234375, 0.08599853515625, 0.216552734375, 0.0311126708984375, 0.11474609375, 0.2166748046875, 0.2291259765625, 0.060272216796875, 0.034027099609375, 0.07275390625, 0.142822265625, 0.04437255859375, 0.087890625, 0.0204315185546875, 0.167236328125...
embed
30050370_c0
30050370
fsharp
0
Title: Interface Object syntax in F# Problem title: Interface Object syntax in F# Tags: f%23, c%23, syntax Problem: Interface Object syntax in F# I'm translating C# code for multipage printing into F# . Could somebody tell me how to translate: ((IAddChild)page1Content).AddChild(page1) context: // printdia = printdialog...
Interface Object syntax in F# Interface Object syntax in F# f%23 c%23 syntax Interface Object IAddChild page1Content AddChild page1 System.Windows.Documents.FixedPage page1.Width printdoc.DocumentPaginator.PageSize.Width page1.Height printdoc.DocumentPaginator.PageSize.Height page1.Children.Add System.Windows.Documents...
[ -0.01287841796875, -0.0022735595703125, -0.0189208984375, 0.0181884765625, 0.005126953125, 0.01043701171875, -0.03173828125, -0.00543212890625, 0.00604248046875, -0.033935546875, 0.0240478515625, -0.042236328125, -0.0167236328125, -0.00994873046875, 0.0177001953125, -0.0167236328125, ...
[ 220237, 134549, 6002, 86531, 23, 563, 4904, 1238, 3742, 501, 87, 4028, 441, 102656, 9191, 25352, 29117, 418, 12353, 43342, 239469, 6159, 147101, 28412, 29713, 14985, 1290, 127167, 13025, 22553, 982, 3390, 112079, 12989, 174379, 3900, 143, 313...
[ 0.28466796875, 0.27099609375, 0.1859130859375, 0.18701171875, 0.06329345703125, 0.1717529296875, 0.2437744140625, 0.1126708984375, 0.1689453125, 0.005645751953125, 0.0677490234375, 0.10577392578125, 0.06988525390625, 0.1676025390625, 0.1134033203125, 0.0985107421875, 0.1024169921875,...
embed
54626014_c0
54626014
fsharp
0
Title: Is recursive partial function application possible in F#? Problem title: Is recursive partial function application possible in F#? Tags: recursion, f%23 Problem: Is recursive partial function application possible in F#? I am working with the function 2x^2+y^2, defined in my code as: fx = fun x y -> (2 * (pown x ...
Is recursive partial function application possible in F#? Is recursive partial function application possible in F#? recursion f%23 fun:it Type Expecting Is recursive partial function application possible in F#? I am working with the function 2x^2+y^2, defined in my code as: fx = fun x y -> (2 * (pown x 2)) + (pown y 2)...
[ -0.0089111328125, 0.0030364990234375, 0.0196533203125, 0.0125732421875, 0.000476837158203125, 0.00592041015625, 0.0159912109375, -0.0072021484375, -0.0012054443359375, 0.007232666015625, 0.00958251953125, -0.0021514892578125, -0.0128173828125, -0.0096435546875, 0.021728515625, -0.00866...
[ 2071, 195625, 5844, 2878, 289, 32354, 38415, 7722, 23, 563, 4904, 1830, 1238, 3949, 3742, 7477, 217, 60457, 60075, 24762, 20697, 116, 425, 8353, 304, 1328, 53, 61924, 18151, 102317, 2203, 1022, 113, 33079, 4700, 661, 771, 7710, 4958, 997,...
[ 0.04974365234375, 0.230224609375, 0.141845703125, 0.192138671875, 0.0943603515625, 0.1785888671875, 0.1871337890625, 0.1744384765625, 0.0819091796875, 0.132568359375, 0.2166748046875, 0.0599365234375, 0.078125, 0.0210418701171875, 0.122802734375, 0.135986328125, 0.1273193359375, 0....
embed
30793392_c0
30793392
fsharp
0
Title: Implementing C# method returning Task&lt;T&gt; in F# Problem title: Implementing C# method returning Task&lt;T&gt; in F# Tags: async-await, c%23-to-f%23, c%23, f%23 Problem: Implementing C# method returning Task in F# I'm creating a type in F# that inherits from a C# class that exposes a method that returns Task...
Implementing C# method returning Task&lt;T&gt; in F# Implementing C# method returning Task&lt;T&gt; in F# async-await c%23-to-f%23 c%23 f%23 F# Implementing Task Foo TextWriter Out Console.Out SomeEnum DoStuff Task.FromResult SomeEnum.Foo Bar this.DoStuff this.Out.WriteLineAsync System.Threading.Task.FromResult SomeEnu...
[ 0.0079345703125, -0.000667572021484375, -0.0052490234375, -0.0076904296875, 0.00174713134765625, 0.00101470947265625, 0.004302978515625, -0.009765625, -0.004608154296875, -0.00567626953125, -0.0159912109375, 0.013671875, -0.01446533203125, 0.01202392578125, -0.004730224609375, 0.013854...
[ 153941, 313, 4904, 55300, 30646, 9598, 92, 1277, 618, 1230, 5386, 23, 563, 12654, 7978, 217, 27495, 188, 420, 3742, 3949, 1238, 9572, 31, 24129, 1456, 2783, 13538, 40777, 79858, 31384, 2606, 984, 37455, 21493, 168407, 7136, 647, 27591, 32...
[ 0.1885986328125, 0.05364990234375, 0.2415771484375, 0.165283203125, 0.1978759765625, 0.2144775390625, 0.130126953125, 0.04168701171875, 0.1326904296875, 0.024139404296875, 0.11669921875, 0.033233642578125, 0.157958984375, 0.1558837890625, 0.13916015625, 0.05328369140625, 0.0548095703...
embed
27338504_c0
27338504
fsharp
0
Title: F# Interactive CsvProvider not defined Problem title: F# Interactive CsvProvider not defined Tags: f%23-interactive, f%23, f%23-data Problem: F# Interactive CsvProvider not defined I'm loading FSharp.Data in the interactive console. The library is loaded without any problem: > #r "FSharp.Data.dll";; --> Referenc...
F# Interactive CsvProvider not defined F# Interactive CsvProvider not defined f%23-interactive f%23 f%23-data Interactive CsvProvider FSharp.Data.dll Referenced Users AppData Local Temp FSharp.Data Stocks Downloads msft.csv FS0039 F# Interactive CsvProvider not defined I'm loading FSharp.Data in the interactive console...
[ 0.00897216796875, 0.01123046875, 0.0181884765625, 0.018798828125, 0.0125732421875, 0.00775146484375, 0.0057373046875, 0.0113525390625, -0.0137939453125, -0.0177001953125, -0.03515625, -0.019775390625, 0.01287841796875, -0.00604248046875, 0.0164794921875, 0.000865936279296875, -0.0024...
[ 563, 4904, 5337, 71232, 313, 67756, 177997, 62160, 959, 61924, 1238, 10433, 3742, 27495, 10135, 93774, 3467, 254, 137989, 1181, 215996, 53400, 5659, 24172, 37446, 68804, 4857, 2480, 4439, 334, 7049, 9323, 71, 72367, 212398, 130250, 35773, 129...
[ 0.0924072265625, 0.183837890625, 0.1580810546875, 0.1358642578125, 0.098388671875, 0.26806640625, 0.204345703125, 0.1905517578125, 0.1434326171875, 0.235595703125, 0.07598876953125, 0.0919189453125, 0.025634765625, 0.04510498046875, 0.07623291015625, 0.109619140625, 0.1707763671875, ...
embed
73061595_c0
73061595
fsharp
0
Title: Reflection doesn&#x27;t work only with webassembly Problem title: Reflection doesn&#x27;t work only with webassembly Tags: f%23, webassembly Problem: Reflection doesn't work only with webassembly let a= 4 let f arg= printfn "%s" (nameof arg) Code signals: System.Reflection.TargetInvocationException, System.Excep...
Reflection doesn&#x27;t work only with webassembly Reflection doesn&#x27;t work only with webassembly f%23 webassembly System.Reflection.TargetInvocationException System.Exception Reflection Compilation Exception System.Reflection.RuntimeMethodInfo.InternalInvoke System.Reflection.RuntimeMethodInfo System.Reflection.Ru...
[ -0.016357421875, 0.02734375, 0.0081787109375, 0.009521484375, -0.01806640625, -0.0036468505859375, 0.003448486328125, -0.0031890869140625, -0.0224609375, -0.015625, 0.0025482177734375, 0.015625, 0.006927490234375, 0.021240234375, 0.0274658203125, -0.000507354736328125, 0.033203125, ...
[ 53295, 133, 10763, 22027, 3768, 18, 4488, 4734, 678, 1467, 89845, 38526, 11, 3742, 12353, 190015, 63031, 4153, 202010, 63928, 15612, 163321, 93147, 44851, 23253, 33770, 3668, 162080, 202, 18878, 153076, 114211, 30474, 10382, 150, 211603, 28398,...
[ 0.27197265625, 0.2822265625, 0.2020263671875, 0.037933349609375, 0.0867919921875, 0.030487060546875, 0.162109375, 0.0760498046875, 0.150634765625, 0.1436767578125, 0.2325439453125, 0.1348876953125, 0.0227813720703125, 0.06097412109375, 0.1337890625, 0.2081298828125, 0.1326904296875, ...
embed
48119356_c0
48119356
fsharp
0
Title: How to return strongly type List F# Problem title: How to return strongly type List F# Tags: linq, f%23 Problem: How to return strongly type List F# i need to return list from database as strongly type type private EntityConnection =SqlEntityConnection<ConnectionString="Server=.;Initial Catalog=db;user id=sa;pas...
How to return strongly type List F# How to return strongly type List F# linq f%23 How List EntityConnection SqlEntityConnection ConnectionString Server Initial Catalog Integrated Security SSPI MultipleActiveResultSets Pluralize CustomerName this.FirstName this.MiddleInitial this.LastName EntityConnection.GetDataContext...
[ 0.005218505859375, 0.017822265625, 0.006072998046875, 0.0135498046875, 0.009765625, 0.01239013671875, -0.01531982421875, 0.007293701171875, 0.01409912109375, -0.0218505859375, -0.0030670166015625, -0.001983642578125, -0.000385284423828125, 0.00494384765625, 0.01068115234375, 0.01831054...
[ 11249, 30646, 37515, 538, 10644, 32036, 563, 4904, 96, 44982, 1238, 3742, 16511, 2481, 235603, 99247, 18, 62448, 71713, 22687, 150917, 91969, 48748, 15185, 164414, 7136, 219, 124765, 163612, 903, 22829, 79794, 43701, 9030, 111337, 864, 188, 1...
[ 0.016021728515625, 0.2237548828125, 0.2005615234375, 0.12255859375, 0.2274169921875, 0.25, 0.12060546875, 0.186279296875, 0.055206298828125, 0.1978759765625, 0.028717041015625, 0.100830078125, 0.0966796875, 0.018341064453125, 0.05767822265625, 0.1016845703125, 0.0248870849609375, 0...
embed
53734252_c1
53734252
fsharp
1
_ -> printfn "Retrying..." Thread.Sleep(1000) tryConnect() printfn "Listen or Connect first? (L/C)"; let choice = Console.ReadLine();; let rec chat() = let receive() = async { let connectStreamReader = connectedStream.Read(buffer, 0, buffer.Length) let data = Encoding.ASCII.GetString(buffer, 0, connectStreamReader) pr...
_ -> printfn "Retrying..." Thread.Sleep(1000) tryConnect() printfn "Listen or Connect first? (L/C)"; let choice = Console.ReadLine();; let rec chat() = let receive() = async { let connectStreamReader = connectedStream.Read(buffer, 0, buffer.Length) let data = Encoding.ASCII.GetString(buffer, 0, connectStreamReader) pr...
[ -0.019287109375, -0.00732421875, -0.01495361328125, 0.0177001953125, -0.005615234375, -0.01251220703125, 0.00135040283203125, -0.009033203125, 0.006866455078125, -0.0181884765625, 0.0093994140625, 0.0052490234375, -0.0087890625, 0.00035858154296875, -0.000331878662109375, -0.0077819824...
[ 101, 33079, 28412, 14783, 4332, 15123, 214, 7673, 136719, 294, 133, 4517, 14105, 9790, 235603, 132, 154663, 33, 707, 62448, 5117, 32, 866, 64, 441, 2633, 44126, 40777, 31345, 93232, 21954, 3245, 53299, 12654, 37067, 115061, 56, 162711, 1237...
[ 0.057891845703125, 0.031982421875, 0.166748046875, 0.157958984375, 0.1148681640625, 0.230224609375, 0.11376953125, 0.036529541015625, 0.187744140625, 0.042388916015625, 0.146240234375, 0.1370849609375, 0.126220703125, 0.22021484375, 0.253662109375, 0.044342041015625, 0.25390625, 0....
embed
16800714_c0
16800714
fsharp
0
Title: Is there an easy implementation to use a predicate function in a generic F# query Problem title: Is there an easy implementation to use a predicate function in a generic F# query Tags: f%23-3.0, linq-to-sql, f%23 Problem: Is there an easy implementation to use a predicate function in a generic F# query I want to...
Is there an easy implementation to use a predicate function in a generic F# query Is there an easy implementation to use a predicate function in a generic F# query f%23-3.0 linq-to-sql f%23 u:users u.Login dbConn.GetDataContext Users user.Login Is there an easy implementation to use a predicate function in a generic F#...
[ 0.01336669921875, 0.0322265625, 0.0047607421875, -0.021484375, -0.016845703125, 0.000316619873046875, 0.013427734375, -0.004669189453125, 0.00142669677734375, -0.07373046875, 0.000682830810546875, 0.0240478515625, -0.006378173828125, -0.032958984375, 0.0025787353515625, 0.0079956054687...
[ 2071, 2685, 142, 23468, 208124, 4527, 10, 1653, 2063, 67, 32354, 23, 189534, 563, 4904, 41, 1294, 1238, 27495, 132265, 96, 44982, 188, 99247, 3742, 75, 223, 1314, 113972, 73, 40041, 11935, 22829, 53400, 38937, 3444, 1884, 78662, 5608, 186...
[ 0.0290679931640625, 0.04034423828125, 0.03424072265625, 0.16796875, 0.21044921875, 0.145263671875, 0.0142364501953125, 0.1968994140625, 0.2276611328125, 0.1781005859375, 0.230224609375, 0.03753662109375, 0.2357177734375, 0.1097412109375, 0.1983642578125, 0.1240234375, 0.122314453125,...
embed
27285496_c0
27285496
fsharp
0
Title: Changing from int to uint64 in F# Problem title: Changing from int to uint64 in F# Tags: types, functional-programming, .net, f%23 Problem: Changing from int to uint64 in F# I have a function written in F# which determines if a number is prime or not let rec isPrime (number, f):bool = match number, f with | n, f...
Changing from int to uint64 in F# Changing from int to uint64 in F# types functional-programming .net f%23 int Changing uint64 number:uint64 f:uint64 Changing from int to uint64 in F# I have a function written in F# which determines if a number is prime or not This function to me is really nice clean F# code, sure the ...
[ -0.0289306640625, -0.0052490234375, 0.04248046875, 0.00823974609375, 0.006072998046875, -0.0220947265625, 0.0026092529296875, -0.0240478515625, -0.00640869140625, -0.0185546875, 0.00225830078125, 0.0206298828125, -0.00921630859375, 0.006317138671875, 0.0181884765625, -0.004730224609375...
[ 108193, 214, 1295, 23, 18, 47, 75, 4288, 13307, 563, 4904, 52895, 123309, 28966, 1179, 1238, 3742, 14012, 34, 12, 32354, 59121, 83324, 2174, 83, 20809, 707, 959, 6183, 26267, 46622, 18151, 70, 234873, 15787, 43240, 33342, 2967, 36663, 452...
[ 0.18115234375, 0.004425048828125, 0.1142578125, 0.1422119140625, 0.1826171875, 0.09368896484375, 0.1434326171875, 0.2000732421875, 0.264892578125, 0.15869140625, 0.214599609375, 0.1904296875, 0.1309814453125, 0.05987548828125, 0.112060546875, 0.1666259765625, 0.09375, 0.15441894531...
embed
65581129_c0
65581129
fsharp
0
Title: Any reason to not make records value types Problem title: Any reason to not make records value types Tags: f%23 Problem: Any reason to not make records value types So I have been experiment with code such as this: [<Struct>] type Component = { Num : int } with static member New = { Num = 0 } let init n = seq { f...
Any reason to not make records value types Any reason to not make records value types f%23 Any Struct Component Num Component.New Seq.toArray Array.map c.Num EntryPoint Stopwatch sw.Start sw.Stop sw.ElapsedMilliseconds Reference Value Any reason to not make records value types So I have been experiment with code such a...
[ -0.006561279296875, -0.000038623809814453125, 0.020751953125, 0.0047607421875, 0.004852294921875, -0.00762939453125, -0.0238037109375, 0.014404296875, 0.00677490234375, -0.0031890869140625, -0.0291748046875, 0.01263427734375, -0.0029144287109375, 0.0034332275390625, 0.0089111328125, -0...
[ 28541, 31635, 959, 3249, 115923, 34292, 52895, 47, 1238, 3742, 63667, 15390, 3288, 54137, 52782, 46568, 864, 188, 7614, 7092, 69253, 53, 62346, 316, 15123, 147534, 42284, 35414, 126597, 156095, 127966, 178449, 191633, 215996, 190060, 28007, 181...
[ 0.0069580078125, 0.1705322265625, 0.160400390625, 0.1080322265625, 0.2418212890625, 0.2342529296875, 0.251708984375, 0.011016845703125, 0.000640869140625, 0.09649658203125, 0.07421875, 0.012969970703125, 0.0028076171875, 0.0985107421875, 0.0889892578125, 0.003936767578125, 0.07012939...
embed
34866446_c0
34866446
fsharp
0
Title: how to get latest x directory folder entries using F# Problem title: how to get latest x directory folder entries using F# Tags: f%23, .net, search Problem: how to get latest x directory folder entries using F# I was stuck trying to figure out a method of getting the latest n folders in a particular root directo...
how to get latest x directory folder entries using F# how to get latest x directory folder entries using F# f%23 .net search F# System System.IO FOLDERS rootDirectory:string howmany:int Directory.GetDirectories Seq.cache Seq.map Directory.GetCreationTime Seq.sortBy time.Ticks Seq.take Set.ofSeq Seq.iter how to get late...
[ 0.01129150390625, 0.0162353515625, 0.000873565673828125, -0.000782012939453125, -0.017578125, 0.0048828125, 0.003875732421875, -0.009765625, 0.00811767578125, -0.0162353515625, 0.0030670166015625, -0.00616455078125, 0.01251220703125, 0.000060558319091796875, 0.00555419921875, -0.008850...
[ 3642, 47, 2046, 42850, 1022, 14364, 53, 78303, 112820, 90, 17368, 563, 4904, 1238, 3742, 1179, 33938, 12353, 17780, 44944, 30693, 74855, 184911, 30675, 91693, 669, 4288, 31068, 724, 126, 31, 864, 70059, 62351, 1733, 16734, 78219, 16840, 179...
[ 0.054107666015625, 0.0171051025390625, 0.1016845703125, 0.18994140625, 0.1885986328125, 0.136962890625, 0.05096435546875, 0.1856689453125, 0.1807861328125, 0.035614013671875, 0.065185546875, 0.1466064453125, 0.1986083984375, 0.08782958984375, 0.08489990234375, 0.1048583984375, 0.1263...
embed
59571537_c0
59571537
fsharp
0
Title: Converting nested discriminated union expressions into strings Problem title: Converting nested discriminated union expressions into strings Tags: recursion, f%23 Problem: Converting nested discriminated union expressions into strings I'm trying to express simple math expressions using discriminated unions. for ...
Converting nested discriminated union expressions into strings Converting nested discriminated union expressions into strings recursion f%23 Converting i:int BinOpr b:string c:expr Converting nested discriminated union expressions into strings I'm trying to express simple math expressions using discriminated unions. fo...
[ -0.009765625, -0.00848388671875, -0.000919342041015625, 0.0234375, 0.01708984375, 0.0224609375, -0.01544189453125, 0.01055908203125, 0.01239013671875, 0.00090789794921875, 0.000141143798828125, -0.0245361328125, 0.009033203125, 0.018798828125, 0.0152587890625, 0.01104736328125, 0.018...
[ 1657, 814, 8512, 71, 55970, 3674, 69941, 125195, 3934, 79315, 7, 195625, 1238, 3949, 3742, 17, 4288, 16666, 39029, 42, 876, 91693, 501, 83613, 31577, 36510, 8781, 48909, 17368, 106, 997, 116, 661, 138, 64549, 1295, 892, 53697, 2394, 6635,...
[ 0.07391357421875, 0.1151123046875, 0.193603515625, 0.0782470703125, 0.21484375, 0.076904296875, 0.2017822265625, 0.21484375, 0.08447265625, 0.2353515625, 0.0623779296875, 0.14013671875, 0.03253173828125, 0.021942138671875, 0.10888671875, 0.061279296875, 0.11328125, 0.1090087890625,...
embed
6967815_c0
6967815
fsharp
0
Title: WebSharper force a message passing call to be asynchronous Problem title: WebSharper force a message passing call to be asynchronous Tags: f%23, websharper Problem: WebSharper force a message passing call to be asynchronous Knowing an RPC call to a server method that returns unit is a message passing call, I wan...
WebSharper force a message passing call to be asynchronous WebSharper force a message passing call to be asynchronous f%23 websharper WebSharper Rpc FirstCall async.Zero SecondCall OnClick Server.FirstCall Server.SecondCall Async.Start WebSharper force a message passing call to be asynchronous Knowing an RPC call to a ...
[ -0.014404296875, 0.0185546875, -0.00457763671875, -0.0003719329833984375, 0.0026397705078125, -0.006439208984375, -0.00555419921875, -0.001800537109375, -0.01263427734375, -0.038818359375, 0.01043701171875, 0.0228271484375, -0.005950927734375, 0.00555419921875, 0.0244140625, 0.00885009...
[ 4002, 294, 3467, 1264, 37772, 26008, 452, 6953, 11782, 186, 10, 12654, 101966, 3742, 1467, 89280, 25765, 238, 23972, 441, 5584, 4036, 77648, 2161, 181671, 22687, 126597, 627, 12233, 10723, 55300, 30646, 25072, 3444, 11476, 11737, 4734, 7103, ...
[ 0.10650634765625, 0.01055908203125, 0.171875, 0.19677734375, 0.1629638671875, 0.138671875, 0.08447265625, 0.0552978515625, 0.1943359375, 0.029296875, 0.041595458984375, 0.1572265625, 0.1807861328125, 0.086669921875, 0.042205810546875, 0.1270751953125, 0.059844970703125, 0.108154296...
embed
13077088_c0
13077088
fsharp
0
Title: f# class constructor formatting Problem title: f# class constructor formatting Tags: visual-studio, constructor, f%23, json Problem: f# class constructor formatting I am creating a program that takes an email and converts it into json. In the interest of learning functional languages I thought it would be a good...
f# class constructor formatting f# class constructor formatting visual-studio constructor f%23 json member Email from:string recipient:string cc:string x.From x.Recipient f# class constructor formatting I am creating a program that takes an email and converts it into json. In the interest of learning functional languag...
[ -0.0031585693359375, 0.0277099609375, -0.007110595703125, 0.008056640625, 0.00193023681640625, 0.004241943359375, -0.00189208984375, 0.01373291015625, -0.0140380859375, 0.0014495849609375, 0.00927734375, 0.0101318359375, -0.00201416015625, -0.0012664794921875, 0.004150390625, -0.005950...
[ 1238, 4904, 18507, 64549, 748, 9384, 1916, 21176, 52629, 3949, 3742, 1647, 1681, 32786, 14886, 1295, 91693, 134003, 10060, 1022, 168407, 4332, 25258, 18750, 105233, 1528, 51776, 3340, 96760, 3934, 123309, 46876, 54591, 30698, 563, 3444, 26008, ...
[ 0.11181640625, 0.1978759765625, 0.17578125, 0.1639404296875, 0.131103515625, 0.18505859375, 0.0141448974609375, 0.1531982421875, 0.1549072265625, 0.007781982421875, 0.06781005859375, 0.09124755859375, 0.142822265625, 0.1529541015625, 0.14013671875, 0.03497314453125, 0.1160888671875, ...
embed
58399445_c0
58399445
fsharp
0
Title: Is it possible in F# to factor out type constraints Problem title: Is it possible in F# to factor out type constraints Tags: type-constraints, f%23 Problem: Is it possible in F# to factor out type constraints I'm using the below bit of code // Neat method of finding the TryParse method for any type that supports...
Is it possible in F# to factor out type constraints Is it possible in F# to factor out type constraints type-constraints f%23 Neat TryParse See stackoverflow.com r.contents Parsable Is it possible in F# to factor out type constraints I'm using the below bit of code but I notice that the type constraint is used twice. I...
[ 0.00518798828125, -0.002227783203125, 0.005950927734375, 0.025390625, -0.0022735595703125, -0.00848388671875, -0.023193359375, -0.00714111328125, 0.0015411376953125, -0.0196533203125, -0.01806640625, -0.0296630859375, 0.01361083984375, -0.00098419189453125, -0.00225830078125, 0.0195312...
[ 2071, 442, 7722, 23, 563, 4904, 47, 31461, 1810, 10644, 158, 2816, 4288, 7, 2271, 1238, 3949, 3742, 799, 257, 40858, 28636, 184, 69246, 2392, 2886, 17368, 35064, 4785, 18151, 11814, 186351, 25632, 4527 ]
[ 0.0318603515625, 0.052825927734375, 0.144287109375, 0.05328369140625, 0.1339111328125, 0.2066650390625, 0.047882080078125, 0.2159423828125, 0.1708984375, 0.20068359375, 0.1099853515625, 0.1904296875, 0.1561279296875, 0.058837890625, 0.1060791015625, 0.080322265625, 0.006866455078125,...
embed
64277226_c0
64277226
fsharp
0
Title: is there an option&lt;&gt; computation expression anywhere? Problem title: is there an option&lt;&gt; computation expression anywhere? Tags: f%23 Problem: is there an option<> computation expression anywhere? Am I being stupid? Some things look nicer in a monad/computation expression, I have lots of code using t...
is there an option&lt;&gt; computation expression anywhere? is there an option&lt;&gt; computation expression anywhere? f%23 Option.bind p.AddressMaybe Option.map p.Postcode a.Postcode is there an option<> computation expression anywhere? Am I being stupid? Some things look nicer in a monad/computation expression, I ha...
[ -0.00098419189453125, 0.025146484375, 0.023193359375, -0.00119781494140625, 0.01275634765625, 0.000335693359375, 0.0252685546875, -0.00933837890625, -0.00128936767578125, -0.038330078125, -0.0208740234375, 0.02734375, 0.006103515625, 0.0014190673828125, 0.0108642578125, 0.0247802734375...
[ 83, 2685, 142, 35829, 1230, 1277, 5386, 181135, 1363, 125195, 151107, 1238, 3742, 86769, 89817, 915, 161007, 82419, 372, 62346, 49411, 40899, 10, 110833, 8966, 6713, 10443, 56, 2667, 712, 277, 7077, 71358, 18151, 40, 864, 11907, 5962, 39531...
[ 0.0679931640625, 0.0921630859375, 0.1082763671875, 0.2841796875, 0.01025390625, 0.1051025390625, 0.1802978515625, 0.263427734375, 0.144775390625, 0.274658203125, 0.192138671875, 0.064208984375, 0.1566162109375, 0.265380859375, 0.17578125, 0.038818359375, 0.1260986328125, 0.09692382...
embed
46631574_c0
46631574
fsharp
0
Title: F# Query Expressions: cannot use &quot;for&quot;! Problem title: F# Query Expressions: cannot use &quot;for&quot;! Tags: query-expressions, for-loop, f%23 Problem: F# Query Expressions: cannot use "for"! For whatever reason, I cannot use a "for" construct within a query expression. What I get is the following er...
F# Query Expressions: cannot use &quot;for&quot;! F# Query Expressions: cannot use &quot;for&quot;! query-expressions for-loop f%23 Query Expressions System.Data.Linq.dll FSharp.Data.TypeProviders.dll FSharp.Linq FSharp.Data.TypeProviders Literal NORTHWND Integrated Security SSPI NorthwndDb SqlDataConnection Pluralize ...
[ 0.031494140625, 0.03271484375, 0.00010585784912109375, -0.01171875, -0.0010528564453125, 0.005645751953125, -0.0015716552734375, 0.0029449462890625, 0.004058837890625, -0.049072265625, -0.00250244140625, 0.01531982421875, 0.01708984375, -0.0203857421875, -0.002288818359375, -0.00662231...
[ 563, 4904, 58836, 53, 25129, 17514, 53418, 4527, 41502, 2472, 1230, 41, 1294, 204629, 100, 28354, 1238, 3742, 12353, 137989, 44982, 1181, 3467, 254, 196707, 177997, 14, 14202, 135940, 1456, 25013, 91969, 48748, 15185, 23924, 99247, 235603, 11...
[ 0.08544921875, 0.1732177734375, 0.1514892578125, 0.05523681640625, 0.1561279296875, 0.049957275390625, 0.1453857421875, 0.1337890625, 0.09619140625, 0.2415771484375, 0.004974365234375, 0.1092529296875, 0.1112060546875, 0.177734375, 0.1279296875, 0.1771240234375, 0.037689208984375, ...
embed
18037233_c0
18037233
fsharp
0
Title: Adding a constraint in Microsoft Solver using F# Problem title: Adding a constraint in Microsoft Solver using F# Tags: code-translation, ms-solver-foundation, graph-coloring, f%23, algorithm Problem: Adding a constraint in Microsoft Solver using F# I'm implementing a solution for Graph Coloring problem using Mic...
Adding a constraint in Microsoft Solver using F# Adding a constraint in Microsoft Solver using F# code-translation ms-solver-foundation graph-coloring f%23 algorithm F# Adding Microsoft Solver model.AddConstraints WRONG borders1 Term.op_Inequality Adding a constraint in Microsoft Solver using F# I'm implementing a solu...
[ -0.008056640625, 0.00457763671875, 0.000629425048828125, 0.00140380859375, -0.00128936767578125, -0.0157470703125, -0.01043701171875, -0.003997802734375, -0.01104736328125, -0.0157470703125, 0.0084228515625, 0.01226806640625, -0.00823974609375, 0.00299072265625, 0.024169921875, 0.00714...
[ 62, 59725, 158, 2816, 4288, 7244, 6678, 814, 17368, 563, 4904, 18151, 30145, 68163, 86918, 42, 151645, 41382, 46133, 1238, 3742, 234873, 3299, 4028, 11935, 115055, 32462, 132988, 2994, 2146, 86, 161789, 10, 23, 29479, 29806, 6524, 11727, 51...
[ 0.08447265625, 0.10626220703125, 0.1146240234375, 0.2020263671875, 0.153076171875, 0.123779296875, 0.1622314453125, 0.1871337890625, 0.045257568359375, 0.1221923828125, 0.2037353515625, 0.08990478515625, 0.08343505859375, 0.017547607421875, 0.1512451171875, 0.060272216796875, 0.08410...
embed
53476186_c0
53476186
fsharp
0
Title: F# Type Constraint - The type variable &#x27;a has been constrained to be type &#x27;&#x27;b&#x27; Problem title: F# Type Constraint - The type variable &#x27;a has been constrained to be type &#x27;&#x27;b&#x27; Tags: generics, f%23, monads Problem: F# Type Constraint - The type variable 'a has been constrained...
F# Type Constraint - The type variable &#x27;a has been constrained to be type &#x27;&#x27;b&#x27; F# Type Constraint - The type variable &#x27;a has been constrained to be type &#x27;&#x27;b&#x27; generics f%23 monads Type Constraint Envelope Content Errors Some None F# Type Constraint - The type variable 'a has been ...
[ -0.016357421875, 0.000926971435546875, -0.00008106231689453125, 0.00016021728515625, 0.01129150390625, -0.004974365234375, -0.0216064453125, -0.01611328125, -0.000576019287109375, 0.0201416015625, 0.004852294921875, 0.004364013671875, -0.0030975341796875, -0.005767822265625, 0.0164794921...
[ 563, 4904, 60457, 1657, 2816, 4288, 10644, 77336, 3768, 11, 1556, 2809, 158, 9297, 122009, 186, 275, 189534, 1238, 3742, 2667, 712, 272, 89059, 70870, 212059, 31577, 32354, 20697, 51, 434, 13631, 197118, 13, 4027, 10941, 30646, 1884, 68557,...
[ 0.10162353515625, 0.1861572265625, 0.2254638671875, 0.08331298828125, 0.171142578125, 0.104248046875, 0.1973876953125, 0.210205078125, 0.039459228515625, 0.0826416015625, 0.008392333984375, 0.015289306640625, 0.08160400390625, 0.1336669921875, 0.0953369140625, 0.01141357421875, 0.148...
embed
58247237_c0
58247237
fsharp
0
Title: Set the date/time separately of DateTime in F# Problem title: Set the date/time separately of DateTime in F# Tags: .net-core, .net, datetime, f%23, time Problem: Set the date/time separately of DateTime in F# I would like to change only the date and/or time parts of a System.DateTime object in F#, while maintain...
Set the date/time separately of DateTime in F# Set the date/time separately of DateTime in F# .net-core .net datetime f%23 time Set DateTime System State When How state.When Hour Minute Set the date/time separately of DateTime in F# I would like to change only the date and/or time parts of a System.DateTime object in F...
[ -0.0198974609375, -0.00921630859375, 0.007476806640625, 0.0087890625, -0.016357421875, -0.037353515625, -0.01300048828125, 0.018310546875, 0.002532958984375, 0.01141357421875, 0.00164794921875, 0.04736328125, 0.0089111328125, 0.02490234375, -0.0074462890625, -0.0152587890625, 0.01354...
[ 19943, 5622, 64, 6032, 84797, 538, 111, 25512, 70059, 23, 563, 4904, 1179, 30854, 1238, 3742, 1733, 12353, 22836, 14847, 11249, 11341, 133250, 136043, 1884, 15549, 4734, 63920, 86291, 36746, 76104, 144573, 44457, 87, 152028, 14311, 41159, 344...
[ 0.1463623046875, 0.202392578125, 0.09722900390625, 0.2210693359375, 0.175537109375, 0.0875244140625, 0.0472412109375, 0.195068359375, 0.279296875, 0.04644775390625, 0.1539306640625, 0.2354736328125, 0.1243896484375, 0.0963134765625, 0.079833984375, 0.1141357421875, 0.1878662109375, ...
embed
53566116_c1
53566116
fsharp
1
>X</bic> <openingBalance>X</openingBalance> <closingBalance>X</closingBalance> <dateStart>X</dateStart> <dateEnd>X</dateEnd> <idFrom>X</idFrom> <idTo>16663326563</idTo> </Info> <TransactionList> <Transaction> <column_22 name="ID pohybu" id="22">0</column_22> <column_0 name="Datum" id="0">2018-08-25+02:00</column_0> <co...
>X</bic> <openingBalance>X</openingBalance> <closingBalance>X</closingBalance> <dateStart>X</dateStart> <dateEnd>X</dateEnd> <idFrom>X</idFrom> <idTo>16663326563</idTo> </Info> <TransactionList> <Transaction> <column_22 name="ID pohybu" id="22">0</column_22> <column_0 name="Datum" id="0">2018-08-25+02:00</column_0> <co...
[ -0.003021240234375, 0.0220947265625, -0.0250244140625, 0.0003108978271484375, 0.0086669921875, 0.0076904296875, 0.01043701171875, -0.0001373291015625, 0.01031494140625, 0.023681640625, 0.0302734375, 0.00970458984375, -0.0262451171875, -0.0089111328125, 0.0034942626953125, -0.0003471374...
[ 977, 1542, 42946, 45966, 2740, 4426, 59636, 214, 63641, 7154, 63499, 6953, 17489, 126597, 152378, 532, 156215, 192530, 161125, 15748, 93147, 62624, 44713, 154663, 8447, 316, 4015, 7146, 123010, 2389, 397, 77318, 1742, 47355, 2588, 1328, 9550, ...
[ 0.137451171875, 0.262939453125, 0.036224365234375, 0.165771484375, 0.0831298828125, 0.02337646484375, 0.1456298828125, 0.052764892578125, 0.22509765625, 0.1314697265625, 0.0716552734375, 0.020050048828125, 0.144287109375, 0.1412353515625, 0.08270263671875, 0.1495361328125, 0.11230468...
embed
64416756_c0
64416756
fsharp
0
Title: Is there a way of constraining a generic type to be a member of a set of types? Problem title: Is there a way of constraining a generic type to be a member of a set of types? Tags: generics, f%23 Problem: Is there a way of constraining a generic type to be a member of a set of types? I have the following record ...
Is there a way of constraining a generic type to be a member of a set of types? Is there a way of constraining a generic type to be a member of a set of types? generics f%23 RecordPath Get Path:string DateTime CanBeUsedInRecordPath Is there a way of constraining a generic type to be a member of a set of types? I have t...
[ -0.0019073486328125, -0.01348876953125, 0.00787353515625, 0.0120849609375, -0.01123046875, -0.0086669921875, -0.0272216796875, -0.000010311603546142578, 0.00811767578125, -0.015869140625, -0.01068115234375, 0.00193023681640625, 0.005035400390625, -0.00182342529296875, -0.0184326171875, ...
[ 3917, 158, 7, 118862, 189534, 10644, 47, 32786, 5423, 52895, 186, 1238, 3742, 54877, 683, 10519, 20779, 108421, 91693, 25512, 70059, 4171, 6766, 1062, 5281, 4153, 32271, 2071, 25632, 17164, 3444, 2816, 73, 242, 275, 831, 6083, 33636, 41911,...
[ 0.079345703125, 0.119873046875, 0.0855712890625, 0.228271484375, 0.268310546875, 0.242431640625, 0.03533935546875, 0.181884765625, 0.1259765625, 0.2318115234375, 0.009185791015625, 0.0048828125, 0.11767578125, 0.12939453125, 0.061920166015625, 0.1231689453125, 0.00592041015625, 0.1...
embed
7000240_c0
7000240
fsharp
0
Title: How to define a recursive relation between an exception type and another type? Problem title: How to define a recursive relation between an exception type and another type? Tags: f%23, exception Problem: How to define a recursive relation between an exception type and another type? What is the best way to create...
How to define a recursive relation between an exception type and another type? How to define a recursive relation between an exception type and another type? f%23 exception How HeaderInfo Can MissingHeader DefaultHeaderIndices Map AdditionalStudyIndices VolumeIndex this.GetCommonIndex this.DefaultHeaderIndices.TryFind ...
[ -0.00701904296875, 0.0205078125, -0.0042724609375, 0.017578125, 0.01434326171875, -0.0218505859375, -0.004425048828125, 0.01068115234375, 0.015625, -0.00153350830078125, 0.0125732421875, 0.010986328125, -0.01251220703125, 0.02880859375, 0.050048828125, -0.0062255859375, -0.0002336502...
[ 11249, 61924, 195625, 5844, 41911, 17721, 131527, 10644, 136, 15700, 47, 1238, 3949, 3742, 44816, 56, 93147, 4171, 16771, 214, 13025, 38970, 262, 1021, 159310, 42719, 3506, 98872, 39659, 903, 3796, 187423, 11, 1294, 204582, 73668, 10, 2965, ...
[ 0.040679931640625, 0.1724853515625, 0.2249755859375, 0.1834716796875, 0.1865234375, 0.1103515625, 0.243896484375, 0.1826171875, 0.06658935546875, 0.04608154296875, 0.001190185546875, 0.059783935546875, 0.023162841796875, 0.1351318359375, 0.1361083984375, 0.037811279296875, 0.14196777...
embed
7633441_c1
7633441
fsharp
1
+ move // note hardcoded 4 | _ -> stay + fst ms.[i-1]) // get shifted list shiftList p3 0.5 Now for the questions: 1) How do I make it match on any length list? Now I hardcoded the 4 in the match expression but I'd like to be able to accept any lenght list. I tried this: let shiftList orgList shift = // chop list up i...
+ move // note hardcoded 4 | _ -> stay + fst ms.[i-1]) // get shifted list shiftList p3 0.5 Now for the questions: 1) How do I make it match on any length list? Now I hardcoded the 4 in the match expression but I'd like to be able to accept any lenght list. I tried this: let shiftList orgList shift = // chop list up i...
[ -0.035888671875, 0.032958984375, 0.01275634765625, -0.0015106201171875, -0.0184326171875, -0.0224609375, -0.010009765625, 0.022705078125, 0.01708984375, 0.00537109375, -0.004180908203125, 0.013671875, -0.0084228515625, 0.01214599609375, 0.01226806640625, 0.01104736328125, -0.00347900...
[ 997, 25813, 4666, 20537, 7941, 40899, 71, 201, 101, 24765, 1238, 271, 68163, 14, 76172, 2046, 122925, 297, 5303, 154663, 915, 363, 81730, 17582, 4879, 11249, 54, 87, 3249, 442, 14858, 98, 2499, 140909, 125195, 1884, 19048, 26946, 37473, 9...
[ 0.1270751953125, 0.18603515625, 0.001953125, 0.1463623046875, 0.09808349609375, 0.200439453125, 0.01483154296875, 0.195556640625, 0.0084228515625, 0.174560546875, 0.0153961181640625, 0.0609130859375, 0.038787841796875, 0.0291595458984375, 0.0352783203125, 0.002471923828125, 0.1988525...
embed
56134100_c0
56134100
fsharp
0
Title: How to do non standard string replacement in f#? Problem title: How to do non standard string replacement in f#? Tags: f%23-interactive, f%23 Problem: How to do non standard string replacement in f#? I'm new to f# and want to use it to alter the format of a propositional logic formula string: I want to replace "...
How to do non standard string replacement in f#? How to do non standard string replacement in f#? f%23-interactive f%23 How s.Replace s.ToCharArray sArray.Length c-2 How to do non standard string replacement in f#? I'm new to f# and want to use it to alter the format of a propositional logic formula string: I want to r...
[ -0.0196533203125, 0.022705078125, -0.008056640625, 0.028564453125, -0.0093994140625, 0.00250244140625, 0.01513671875, -0.006744384765625, 0.0166015625, 0.024169921875, 0.0203857421875, 0.018798828125, -0.0240478515625, -0.032470703125, 0.005889892578125, 0.0025787353515625, 0.0128173...
[ 11249, 47, 54, 351, 5570, 79315, 91995, 674, 23, 1238, 4904, 27495, 10433, 71232, 3742, 91, 4332, 23935, 7763, 84068, 7614, 7092, 5267, 449, 927, 501, 5428, 3525, 3444, 4527, 37264, 9384, 89261, 289, 62775, 26168, 11, 1542, 390, 86, 290...
[ 0.0867919921875, 0.053009033203125, 0.09686279296875, 0.2117919921875, 0.2095947265625, 0.274658203125, 0.20361328125, 0.1280517578125, 0.0587158203125, 0.1575927734375, 0.2269287109375, 0.052978515625, 0.08953857421875, 0.056671142578125, 0.111328125, 0.10113525390625, 0.07775878906...
embed
36752742_c0
36752742
fsharp
0
Title: comparing F# and OCaml Problem title: comparing F# and OCaml Tags: ocaml, f%23 Problem: comparing F# and OCaml I know roughly how F# and OCaml differ in terms of "features" (e.g. functors, camlp4, units of measure...). I wonder about the following: Concerning code that doesn't contain said features, is there a d...
comparing F# and OCaml comparing F# and OCaml ocaml f%23 OCaml comparing F# and OCaml I know roughly how F# and OCaml differ in terms of "features" (e.g. functors, camlp4, units of measure...). I wonder about the following: Concerning code that doesn't contain said features, is there a difference in coding style (other...
[ 0.010986328125, 0.005035400390625, 0.015869140625, -0.01080322265625, 0.0203857421875, -0.0125732421875, -0.007568359375, -0.0030364990234375, -0.004852294921875, -0.0072021484375, 0.00787353515625, 0.0054931640625, 0.0008087158203125, -0.0181884765625, 0.01806640625, -0.0198974609375,...
[ 37397, 563, 4904, 136, 180, 105272, 141, 36, 9779, 1238, 3949, 3742, 214, 3714, 166904, 3642, 129927, 69407, 88981, 30891, 7477, 18770, 7384, 26775, 617, 25072, 72350, 32195, 18151, 22027, 18, 70541, 66139, 60212, 552, 6238, 20623, 147453, ...
[ 0.1422119140625, 0.172607421875, 0.226806640625, 0.124755859375, 0.139892578125, 0.1939697265625, 0.1676025390625, 0.092529296875, 0.1632080078125, 0.05206298828125, 0.002349853515625, 0.071044921875, 0.00537109375, 0.0243988037109375, 0.012603759765625, 0.01519775390625, 0.204711914...
embed
8926214_c0
8926214
fsharp
0
Title: How to create boolean list of boolean depended on inserted count and list in f# Problem title: How to create boolean list of boolean depended on inserted count and list in f# Tags: list, f%23, boolean, count Problem: How to create boolean list of boolean depended on inserted count and list in f# I need code whic...
How to create boolean list of boolean depended on inserted count and list in f# How to create boolean list of boolean depended on inserted count and list in f# list f%23 boolean count How Group List List.length MakeBool true::boolist false::boolist How to create boolean list of boolean depended on inserted count and li...
[ 0.00159454345703125, 0.01239013671875, -0.00445556640625, 0.006744384765625, 0.0057373046875, 0.000499725341796875, -0.024658203125, 0.00096893310546875, 0.0185546875, 0.0218505859375, -0.015625, -0.002044677734375, 0.0018768310546875, 0.021240234375, -0.0024871826171875, 0.01232910156...
[ 11249, 28282, 337, 31, 34677, 5303, 111, 42548, 71, 98, 183540, 297, 54529, 136, 1238, 4904, 3949, 3742, 10760, 32036, 23986, 26176, 12647, 929, 29568, 142484, 1419, 98320, 23, 18151, 38937, 76199, 2389, 133063, 363, 80389, 136555, 145180, ...
[ 0.047149658203125, 0.1575927734375, 0.0716552734375, 0.1551513671875, 0.2078857421875, 0.1956787109375, 0.015228271484375, 0.1683349609375, 0.038238525390625, 0.004974365234375, 0.1768798828125, 0.039764404296875, 0.1685791015625, 0.10052490234375, 0.1202392578125, 0.1754150390625, 0...
embed
16907049_c0
16907049
fsharp
0
Title: XNamespace + XName : The type &#x27;XName&#x27; is not compatible with the type &#x27;string&#x27; Problem title: XNamespace + XName : The type &#x27;XName&#x27; is not compatible with the type &#x27;string&#x27; Tags: xname, .net, linq-to-xml, f%23 Problem: XNamespace + XName : The type 'XName' is not compatibl...
XNamespace + XName : The type &#x27;XName&#x27; is not compatible with the type &#x27;string&#x27; XNamespace + XName : The type &#x27;XName&#x27; is not compatible with the type &#x27;string&#x27; xname .net linq-to-xml f%23 XNamespace XName Error Type DownloadPageResult pageResult.ErrorOccured StringReader pageResult...
[ 0.0002613067626953125, 0.0286865234375, 0.0101318359375, 0.034423828125, 0.01318359375, 0.0294189453125, -0.0064697265625, -0.021240234375, -0.00188446044921875, -0.02490234375, 0.00909423828125, -0.031982421875, 0.0174560546875, -0.0036163330078125, -0.00238037109375, 0.0068359375, ...
[ 1193, 163612, 65421, 997, 10644, 3768, 1542, 83, 959, 146731, 678, 91693, 1022, 11627, 1179, 44982, 188, 131492, 1238, 3742, 212059, 60457, 4857, 7, 7136, 18468, 1010, 23351, 31345, 211235, 239469, 19929, 52080, 563, 4904, 8781, 92537, 366, ...
[ 0.1793212890625, 0.2958984375, 0.2423095703125, 0.20458984375, 0.194580078125, 0.09552001953125, 0.18310546875, 0.013214111328125, 0.1202392578125, 0.1824951171875, 0.047149658203125, 0.19775390625, 0.1195068359375, 0.239013671875, 0.121826171875, 0.140869140625, 0.05023193359375, ...
embed
52973510_c0
52973510
fsharp
0
Title: Errors are not displayed when parsing several statements with FParsec Problem title: Errors are not displayed when parsing several statements with FParsec Tags: parsec, fparsec, f%23 Problem: Errors are not displayed when parsing several statements with FParsec I have a statement parser, when I run the program w...
Errors are not displayed when parsing several statements with FParsec Errors are not displayed when parsing several statements with FParsec parsec fparsec f%23 Errors FParsec Program Errors are not displayed when parsing several statements with FParsec I have a statement parser, when I run the program with this one as ...
[ 0.01251220703125, 0.01300048828125, -0.0228271484375, 0.0220947265625, -0.0126953125, 0.01312255859375, 0.01165771484375, -0.0235595703125, 0.0004100799560546875, -0.0191650390625, 0.00738525390625, -0.009521484375, 0.01092529296875, 0.00408935546875, 0, 0.010986328125, 0.00534057617...
[ 212059, 7, 959, 44116, 297, 366, 6953, 40368, 63805, 678, 563, 28636, 39797, 1238, 2500, 3742, 7663, 2189, 11675, 1528, 10750, 18499, 184, 61924, 915, 61340, 674, 13204, 756, 7722, 15700, 15400, 75620, 121742, 86869, 151134, 5941, 188336, 6...
[ 0.2320556640625, 0.04718017578125, 0.0894775390625, 0.166259765625, 0.0166015625, 0.1453857421875, 0.060394287109375, 0.1405029296875, 0.2034912109375, 0.0576171875, 0.142822265625, 0.1558837890625, 0.1953125, 0.058837890625, 0.1129150390625, 0.1121826171875, 0.0823974609375, 0.123...
embed
53990372_c0
53990372
fsharp
0
Title: Implementing polynomial operations in F# Problem title: Implementing polynomial operations in F# Tags: f%23 Problem: Implementing polynomial operations in F# I'm given types polynomial and term defined as follow: I want to have a function that add a term to a polynomial and keep terms, with certain degree k, les...
Implementing polynomial operations in F# Implementing polynomial operations in F# f%23 Implementing Poly Term EmptyList p:poly a::af x:term a::recusivep Implementing polynomial operations in F# I'm given types polynomial and term defined as follow: I want to have a function that add a term to a polynomial and keep term...
[ 0.0009918212890625, 0.0184326171875, 0.0027618408203125, -0.021484375, -0.00160980224609375, 0.0032958984375, 0.00341796875, -0.00836181640625, 0.0120849609375, -0.01904296875, 0.0380859375, 0.0184326171875, 0.0021514892578125, 0.006134033203125, -0.00640869140625, -0.0084228515625, ...
[ 153941, 35874, 1687, 15403, 41018, 563, 4904, 1238, 3949, 3742, 63306, 2994, 39, 31678, 939, 154663, 915, 135545, 10, 2407, 1022, 32166, 107, 1010, 29888, 254, 23, 34475, 52895, 13579, 61924, 28960, 3444, 32354, 15190, 47, 13695, 69407, 242...
[ 0.1824951171875, 0.193115234375, 0.17724609375, 0.134765625, 0.15869140625, 0.1373291015625, 0.1978759765625, 0.0675048828125, 0.00628662109375, 0.127197265625, 0.1895751953125, 0.1778564453125, 0.06536865234375, 0.115966796875, 0.06939697265625, 0.151123046875, 0.0181121826171875, ...
embed
5677366_c1
5677366
fsharp
1
AsyncResult asyncResult) { Debug.WriteLine("2. The Asynchronous task has been completed - Event Raised"); } private void AsynchronousTaskCancelled() { Debug.WriteLine("3. The Asynchronous task has been cancelled - Event Raised"); } //F# Code Implementation member x.StartTask2(action:Action, cancelAction:Action) = async...
AsyncResult asyncResult) { Debug.WriteLine("2. The Asynchronous task has been completed - Event Raised"); } private void AsynchronousTaskCancelled() { Debug.WriteLine("3. The Asynchronous task has been cancelled - Event Raised"); } //F# Code Implementation member x.StartTask2(action:Action, cancelAction:Action) = async...
[ -0.003265380859375, 0.00311279296875, 0.00182342529296875, 0.006103515625, -0.00079345703125, -0.01434326171875, 0.0016632080078125, -0.015869140625, 0.00787353515625, -0.01312255859375, -0.009765625, 0.0194091796875, 0.00191497802734375, -0.0012359619140625, -0.004150390625, -0.012023...
[ 62, 12654, 238, 4332, 7, 7136, 10, 262, 85779, 93232, 5442, 101966, 10821, 66211, 1556, 2809, 140528, 36943, 9202, 297, 14375, 2292, 9874, 1042, 54694, 34680, 363, 53017, 919, 4904, 28864, 153941, 32786, 1022, 126597, 304, 44713, 284, 10763...
[ 0.092529296875, 0.242431640625, 0.1422119140625, 0.12060546875, 0.1683349609375, 0.2198486328125, 0.05767822265625, 0.046722412109375, 0.171875, 0.09063720703125, 0.042327880859375, 0.2012939453125, 0.077392578125, 0.2197265625, 0.040374755859375, 0.08843994140625, 0.161865234375, ...
embed
31724272_c0
31724272
fsharp
0
Title: f#: Strange syntax in example using &quot;.. in let ..&quot; Problem title: f#: Strange syntax in example using &quot;.. in let ..&quot; Tags: f%23, rosetta-code Problem: f#: Strange syntax in example using ".. in let .." I am reading through an example on RosettaCode and do not exactly know what the following l...
f#: Strange syntax in example using &quot;.. in let ..&quot; f#: Strange syntax in example using &quot;.. in let ..&quot; f%23 rosetta-code Strange Empty_Heap topnode::heap rtn.k min.k minnode::heap rmn.k minnode::topnode::heap f#: Strange syntax in example using ".. in let .." I am reading through an example on Rosett...
[ 0.0034942626953125, 0.0010528564453125, 0.00506591796875, 0.002532958984375, 0.00136566162109375, -0.0004119873046875, 0.00933837890625, -0.0206298828125, 0.006378173828125, 0.004058837890625, 0.0064697265625, 0.007568359375, 0.007537841796875, 0.0019073486328125, 0.01422119140625, -0....
[ 1238, 4904, 187791, 6002, 86531, 27781, 23, 2633, 1468, 3742, 2310, 40899, 31678, 939, 13025, 2631, 2663, 157, 112, 1106, 881, 28725, 13784, 5, 24009, 114211, 25632, 13315, 7413, 59076, 764, 15970, 70541, 25072, 71924, 73, 39933, 28219, 452...
[ 0.073974609375, 0.156494140625, 0.2095947265625, 0.10791015625, 0.193603515625, 0.1905517578125, 0.194091796875, 0.288330078125, 0.0809326171875, 0.05328369140625, 0.1146240234375, 0.07861328125, 0.1014404296875, 0.0772705078125, 0.1221923828125, 0.1597900390625, 0.07440185546875, ...
embed
43434159_c0
43434159
fsharp
0
Title: Using bound interface in F# Problem title: Using bound interface in F# Tags: f%23, c%23, servicestack, c%23-to-f%23 Problem: Using bound interface in F# I am trying to use C# library in F# so it would be very much specific case. I using Servicestack with F#. Now, I am trying to wire up class with interface using...
Using bound interface in F# Using bound interface in F# f%23 c%23 servicestack c%23-to-f%23 Using RegisterAutoWiredAs TAs f:IFoo Foo fi:IFoo IFoo container.RegisterAutoWiredAs Using bound interface in F# I am trying to use C# library in F# so it would be very much specific case. I using Servicestack with F#. Now, I am ...
[ -0.02490234375, -0.010498046875, -0.00830078125, 0.00335693359375, -0.0009307861328125, 0.00079345703125, -0.00714111328125, 0.0166015625, 0.000896453857421875, -0.026611328125, -0.01068115234375, -0.006134033203125, -0.01068115234375, 0.0257568359375, 0.014892578125, 0.000058650970458...
[ 345, 99091, 101758, 563, 4904, 1238, 3742, 11374, 102, 2594, 188, 420, 131423, 38115, 57124, 297, 19659, 12998, 7, 29836, 16635, 9572, 31, 809, 55449, 116419, 54601, 19656, 23, 31577, 4527, 35773, 29458, 17368, 40583, 678, 1439, 1257, 18507...
[ 0.0758056640625, 0.225341796875, 0.254638671875, 0.159912109375, 0.2366943359375, 0.083984375, 0.0626220703125, 0.1217041015625, 0.0782470703125, 0.107177734375, 0.046112060546875, 0.06182861328125, 0.19921875, 0.158447265625, 0.10516357421875, 0.037750244140625, 0.100341796875, 0....
embed
23843142_c0
23843142
fsharp
0
Title: F# Discriminated Union usage from C# Problem title: F# Discriminated Union usage from C# Tags: f%23, c%23, c%23-to-f%23 Problem: F# Discriminated Union usage from C# What are the best ways to use F# Discriminated Unions from C#? I have been digging into this problem for a while, I have probably found the simples...
F# Discriminated Union usage from C# F# Discriminated Union usage from C# f%23 c%23 c%23-to-f%23 C# Discriminated Union Shape Rectangle Circle Shape.NewCircle circle.IsCircle Shape.Circle c.Item NewXXXX IsXXXX Shape.XXXX F# Discriminated Union usage from C# What are the best ways to use F# Discriminated Unions from C#?...
[ 0.0035400390625, 0.01165771484375, 0.00921630859375, -0.006866455078125, -0.01025390625, 0.004547119140625, -0.00823974609375, 0.003997802734375, 0.00836181640625, -0.0162353515625, 0.0108642578125, -0.006317138671875, 0.006591796875, 0.00689697265625, -0.00653076171875, -0.00628662109...
[ 563, 4904, 6206, 135421, 3674, 32528, 127689, 1295, 313, 1238, 3742, 27495, 188, 420, 7224, 1081, 14525, 163731, 46568, 481, 11030, 42154, 29598, 2982, 2356, 205378, 2071, 2965, 48322, 47, 4527, 7, 2967, 30362, 3917, 27140, 1957, 171855, 10...
[ 0.1572265625, 0.25341796875, 0.097900390625, 0.2371826171875, 0.1116943359375, 0.26904296875, 0.175537109375, 0.11865234375, 0.0771484375, 0.058380126953125, 0.06134033203125, 0.012420654296875, 0.035369873046875, 0.046600341796875, 0.1575927734375, 0.1495361328125, 0.094482421875, ...
embed
26142410_c0
26142410
fsharp
0
Title: F# Assert.AreEquals fails with two literals Problem title: F# Assert.AreEquals fails with two literals Tags: f%23, unit-testing Problem: F# Assert.AreEquals fails with two literals I have the following unit test: open System open System.Collections.Generic open Microsoft.VisualStudio.TestTools.UnitTesting [<Test...
F# Assert.AreEquals fails with two literals F# Assert.AreEquals fails with two literals f%23 unit-testing Assert.AreEquals System System.Collections.Generic Microsoft.VisualStudio.TestTools.UnitTesting TestClass Test_Spectra Standard1 TestMethod x.LightTransmittance Test_Spectra.TestSprectra1 standard.LightTransmittanc...
[ -0.006866455078125, 0.00714111328125, -0.01611328125, 0.006591796875, -0.0089111328125, -0.0203857421875, -0.0027313232421875, 0.002197265625, -0.01031494140625, 0.048828125, 0.0247802734375, 0.0294189453125, -0.006988525390625, 0.0031585693359375, 0.031494140625, 0.01104736328125, 0...
[ 563, 4904, 1301, 33657, 107, 647, 71723, 7, 35782, 678, 6626, 15659, 16765, 1238, 3949, 3742, 25072, 6954, 12353, 135932, 7244, 6609, 64010, 109023, 111337, 186490, 85600, 8647, 140803, 47107, 20744, 78572, 1022, 187459, 77265, 219, 5570, 303...
[ 0.08514404296875, 0.1544189453125, 0.04534912109375, 0.1968994140625, 0.1275634765625, 0.072021484375, 0.2086181640625, 0.0531005859375, 0.1986083984375, 0.07171630859375, 0.171142578125, 0.1630859375, 0.1156005859375, 0.0753173828125, 0.0416259765625, 0.149169921875, 0.1729736328125...
embed
3251957_c0
3251957
fsharp
0
Title: How to refactor F# code to not use a mutable accumulator? Problem title: How to refactor F# code to not use a mutable accumulator? Tags: primes, f%23 Problem: How to refactor F# code to not use a mutable accumulator? The following F# code gives the correct answer to Project Euler problem #7 : let isPrime num = l...
How to refactor F# code to not use a mutable accumulator? How to refactor F# code to not use a mutable accumulator? primes f%23 How int32 Would Feels Hit System.Console.ReadKey How to refactor F# code to not use a mutable accumulator? The following F# code gives the correct answer to Project Euler problem #7 : I'd like...
[ -0.01483154296875, 0.025390625, 0.035400390625, 0.01171875, 0.0201416015625, -0.00159454345703125, 0.01116943359375, -0.031005859375, -0.01202392578125, -0.0152587890625, 0.035888671875, 0.011962890625, -0.0048828125, 0.01092529296875, 0.0107421875, -0.0033111572265625, 0.00830078125...
[ 11249, 47, 456, 144810, 563, 4904, 18151, 959, 4527, 842, 22819, 183278, 1290, 20809, 1238, 3949, 3742, 23, 18, 6460, 154559, 133903, 7, 43482, 12353, 40777, 31345, 162429, 25632, 26785, 35166, 27331, 5177, 603, 2967, 966, 1884, 71864, 1424...
[ 0.06732177734375, 0.0252532958984375, 0.171875, 0.28076171875, 0.1580810546875, 0.2459716796875, 0.1986083984375, 0.100341796875, 0.09124755859375, 0.154052734375, 0.19287109375, 0.2110595703125, 0.1497802734375, 0.1337890625, 0.1124267578125, 0.032958984375, 0.1285400390625, 0.019...
embed
19240607_c0
19240607
fsharp
0
Title: How to use a self made Type in F#? Problem title: How to use a self made Type in F#? Tags: types, arrays, f%23 Problem: How to use a self made Type in F#? I made a type, but I don't know how to use it properly and I don't found any solution on google. type Sample = { TrackPosition : int TubePosition : int Barcod...
How to use a self made Type in F#? How to use a self made Type in F#? types arrays f%23 How Type Sample TrackPosition TubePosition Barcode Array.create Scenario.Samples.NumberOfSamples BarcodeGenerieren.Samples.Sample Scenario.Samples.StartTrackPositions System.Random Next How to use a self made Type in F#? I made a ty...
[ 0.0045166015625, 0.004608154296875, -0.0034637451171875, 0.025146484375, -0.01519775390625, -0.001251220703125, 0.004974365234375, 0.015869140625, 0.000055789947509765625, -0.0130615234375, 0.01495361328125, 0.0042724609375, 0.000762939453125, -0.0024566650390625, 0.01324462890625, -0....
[ 11249, 47, 4527, 15970, 7228, 60457, 23, 563, 4904, 10, 52895, 10298, 4778, 1238, 3742, 947, 33209, 69182, 7192, 172, 57044, 3253, 40899, 69253, 53, 7612, 152365, 6723, 29494, 56, 5464, 126597, 86147, 12353, 126525, 3815, 10644, 442, 155965...
[ 0.07098388671875, 0.0360107421875, 0.1563720703125, 0.18017578125, 0.17236328125, 0.278564453125, 0.0740966796875, 0.1361083984375, 0.206298828125, 0.06317138671875, 0.181396484375, 0.094482421875, 0.05096435546875, 0.044921875, 0.0726318359375, 0.0587158203125, 0.1182861328125, 0....
embed
43086859_c1
43086859
fsharp
1
Version="1.1.1" /> <PackageReference Include="Microsoft.AspNetCore.Mvc" Version="1.1.2" /> <PackageReference Include="Microsoft.AspNetCore.StaticFiles" Version="1.1.1" /> <PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="1.1.1" /> </ItemGroup> <ItemGroup> <DotNetCliToolReference Include="Microsof...
Version="1.1.1" /> <PackageReference Include="Microsoft.AspNetCore.Mvc" Version="1.1.2" /> <PackageReference Include="Microsoft.AspNetCore.StaticFiles" Version="1.1.1" /> <PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="1.1.1" /> </ItemGroup> <ItemGroup> <DotNetCliToolReference Include="Microsof...
[ -0.029541015625, 0.030517578125, -0.009765625, 0.013427734375, -0.01123046875, -0.00970458984375, 0.003204345703125, -0.0311279296875, -0.0059814453125, -0.012451171875, 0.01287841796875, 0.004730224609375, -0.01177978515625, 0.00457763671875, 0.0177001953125, 0.0123291015625, 0.0140...
[ 40647, 418, 83783, 205956, 4332, 69988, 822, 113387, 284, 7008, 24447, 50886, 13, 594, 66357, 48400, 135206, 174350, 19279, 128872, 15363, 85779, 8331, 18, 150, 186490, 156378, 99929, 2982, 205072, 223353, 11249, 131148, 11675, 2043, 30854, 900...
[ 0.16064453125, 0.0806884765625, 0.236083984375, 0.14453125, 0.0325927734375, 0.17431640625, 0.04302978515625, 0.1072998046875, 0.0474853515625, 0.12890625, 0.1572265625, 0.1907958984375, 0.120361328125, 0.0261688232421875, 0.2113037109375, 0.219970703125, 0.122802734375, 0.15881347...
embed
21779180_c0
21779180
fsharp
0
Title: F# and lisp-like apply function Problem title: F# and lisp-like apply function Tags: functional-programming, f%23 Problem: F# and lisp-like apply function For starters, I'm a novice in functional programming and F#, therefore I don't know if it's possible to do such thing at all. So let's say we have this functi...
F# and lisp-like apply function F# and lisp-like apply function functional-programming f%23 Seq.fold h::hs Data.Dynamic Dynamitey.Dynamic.Curry System.Nullable F# and lisp-like apply function For starters, I'm a novice in functional programming and F#, therefore I don't know if it's possible to do such thing at all. So...
[ 0.002410888671875, 0.01007080078125, 0.02294921875, 0.0181884765625, -0.00159454345703125, 0.00811767578125, -0.01141357421875, 0.0294189453125, 0.0152587890625, -0.039306640625, 0.005401611328125, -0.0191650390625, -0.01171875, 0.01190185546875, 0.00762939453125, -0.000039100646972656...
[ 563, 4904, 136, 400, 7008, 5062, 59911, 32354, 123309, 28966, 1238, 3742, 864, 42822, 1096, 127, 7, 11809, 29673, 21068, 73327, 35093, 53, 33177, 56216, 12353, 20446, 2661, 44177, 95968, 56037, 7722, 765, 903, 31635, 3444, 23, 23253, 442, ...
[ 0.1256103515625, 0.195068359375, 0.03948974609375, 0.1041259765625, 0.1700439453125, 0.189453125, 0.180419921875, 0.2197265625, 0.160888671875, 0.111083984375, 0.1767578125, 0.1337890625, 0.089111328125, 0.1446533203125, 0.01934814453125, 0.01739501953125, 0.006256103515625, 0.0686...
embed