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
21079832_c0
21079832
fsharp
0
Title: Accessing the instance from a ProvidedMethod Problem title: Accessing the instance from a ProvidedMethod Tags: type-providers, f%23 Problem: Accessing the instance from a ProvidedMethod How do I access the (runtime) instance from the implementation of the a ProvidedMethod that is if foo is of a provided type and...
Accessing the instance from a ProvidedMethod Accessing the instance from a ProvidedMethod type-providers f%23 a Accessing ProvidedMethod Bar Execute foo.Execute bar.Execute MethodInfo objm.InvokeCode p.Invoke Accessing the instance from a ProvidedMethod How do I access the (runtime) instance from the implementation of ...
[ 0.0089111328125, 0.011962890625, 0.009765625, 0.00982666015625, 0.005126953125, -0.0050048828125, -0.005218505859375, -0.01171875, 0.02001953125, -0.05615234375, 0.005157470703125, 0.021728515625, 0.0035858154296875, 0.01104736328125, -0.000308990478515625, -0.0184326171875, 0.015991...
[ 40266, 214, 110527, 1295, 123089, 71, 78572, 7352, 10644, 93136, 14202, 3742, 10, 3253, 211603, 13, 5775, 31, 1909, 74644, 93147, 995, 14466, 23253, 114211, 54, 87, 17203, 16428, 6032, 208124, 111, 2174, 83, 62952, 70, 1615, 5281, 678, 55...
[ 0.2169189453125, 0.0894775390625, 0.235595703125, 0.14404296875, 0.2310791015625, 0.1488037109375, 0.1829833984375, 0.1826171875, 0.1688232421875, 0.1732177734375, 0.09783935546875, 0.05926513671875, 0.0604248046875, 0.1854248046875, 0.221923828125, 0.109619140625, 0.14306640625, 0...
embed
30043036_c1
30043036
fsharp
1
CarTelemetry, XmlProvider, CarTelemetry.Load, Program, Files, x86, Reference, Assemblies, Microsoft, Framework, NETFramework, v4.5.1, System.Xml.Linq.dll, System.Xml.Linq, carTelemetry.Entries, Seq.iter, e.Title, RProvider.1.1.8, R.NET.1.5.5, RDotNet.dll, RDotNet.NativeLibrary.dll, R.NET.Community.FSharp.0.1.9, RDotNe...
CarTelemetry, XmlProvider, CarTelemetry.Load, Program, Files, x86, Reference, Assemblies, Microsoft, Framework, NETFramework, v4.5.1, System.Xml.Linq.dll, System.Xml.Linq, carTelemetry.Entries, Seq.iter, e.Title, RProvider.1.1.8, R.NET.1.5.5, RDotNet.dll, RDotNet.NativeLibrary.dll, R.NET.Community.FSharp.0.1.9, RDotNe...
[ 0.021728515625, 0.01953125, 0.01409912109375, -0.0057373046875, 0.004486083984375, 0.0059814453125, 0.01348876953125, 0.0020294189453125, -0.007232666015625, -0.01806640625, 0.007080078125, 0.0198974609375, -0.005126953125, -0.0186767578125, 0.0224609375, 0.01220703125, -0.0133666992...
[ 3980, 75809, 1928, 1294, 4, 1193, 7237, 177997, 62160, 15363, 712, 7663, 42724, 1022, 15276, 215996, 151169, 3387, 7244, 202220, 17777, 108386, 282, 18244, 81, 104867, 418, 12353, 1542, 44982, 1181, 2258, 7768, 18, 10484, 864, 16840, 28, 16...
[ 0.175048828125, 0.1859130859375, 0.1981201171875, 0.14453125, 0.03265380859375, 0.0850830078125, 0.1905517578125, 0.15283203125, 0.12841796875, 0.06298828125, 0.0295867919921875, 0.1295166015625, 0.113037109375, 0.01348876953125, 0.200927734375, 0.1373291015625, 0.1495361328125, 0....
embed
37508934_c0
37508934
fsharp
0
Title: Difference between let, fun and function in F# Problem title: Difference between let, fun and function in F# Tags: f%23, function, functional-programming Problem: Difference between let, fun and function in F# I'm learning F# and I cannot figure out what the difference between let, fun and function is, and my te...
Difference between let, fun and function in F# Difference between let, fun and function in F# f%23 function functional-programming Difference Map.containsKey List.forall Difference between let, fun and function in F# I'm learning F# and I cannot figure out what the difference between let, fun and function is, and my te...
[ -0.00579833984375, -0.00677490234375, 0.01068115234375, -0.000598907470703125, 0.005615234375, 0.010498046875, 0.000698089599609375, -0.0005340576171875, 0.0089111328125, -0.00017261505126953125, -0.007171630859375, 0.021240234375, -0.00140380859375, 0.006561279296875, 0.0233154296875, ...
[ 803, 18234, 6620, 17721, 2633, 4, 7477, 136, 32354, 23, 563, 4904, 1238, 3742, 123309, 28966, 42719, 98102, 162429, 32036, 5584, 52080, 53418, 26366, 60212, 83, 12877, 73342, 27781, 59121, 903, 15490, 166117, 678, 64457, 15400, 33022, 70, 6...
[ 0.0902099609375, 0.1793212890625, 0.075439453125, 0.1097412109375, 0.2340087890625, 0.0604248046875, 0.268798828125, 0.092041015625, 0.264892578125, 0.06402587890625, 0.1156005859375, 0.181884765625, 0.0474853515625, 0.0748291015625, 0.1719970703125, 0.0826416015625, 0.0950927734375,...
embed
43248914_c0
43248914
fsharp
0
Title: F# type obj but I want &#x27;a Problem title: F# type obj but I want &#x27;a Tags: f%23, functional-programming, list, recursion Problem: F# type obj but I want 'a I defined a type type 'a sexp = | E of 'a | T of ( sexp<'a> * sexp<'a> );; Example: ( "this" . (("is" . "a") . ( "s" . "expression")) ) is a sexp of ...
F# type obj but I want &#x27;a F# type obj but I want &#x27;a f%23 functional-programming list recursion F# type obj but I want 'a I defined a type Example: ( "this" . (("is" . "a") . ( "s" . "expression")) ) is a sexp of strings. ( ( 1 . 5 ) . 2 ) is a sexp of int. And I made a function tolist that given an expression...
[ 0.005950927734375, -0.0037841796875, -0.005462646484375, 0.01434326171875, -0.0115966796875, 0.00543212890625, -0.006683349609375, 0.02294921875, 0.0078125, -0.0296630859375, 0.0157470703125, -0.000896453857421875, -0.00714111328125, -0.00457763671875, 0.0189208984375, -0.017578125, ...
[ 563, 4904, 10644, 995, 170, 1284, 3444, 3768, 1238, 3742, 123309, 28966, 5303, 195625, 1830, 242, 11, 61924, 89536, 8705, 100231, 5, 164, 7, 204629, 83, 1100, 254, 111, 79315, 15, 190, 116, 23, 18, 32354, 47, 6562, 34475, 125195, 30646,...
[ 0.0948486328125, 0.1683349609375, 0.1944580078125, 0.1678466796875, 0.2235107421875, 0.083740234375, 0.1502685546875, 0.05328369140625, 0.0721435546875, 0.05828857421875, 0.1749267578125, 0.1126708984375, 0.1837158203125, 0.196533203125, 0.03887939453125, 0.053497314453125, 0.1094970...
embed
62197068_c0
62197068
fsharp
0
Title: Can I augment all DU types with a method that can access the type itself, in F#? Problem title: Can I augment all DU types with a method that can access the type itself, in F#? Tags: f%23, discriminated-union Problem: Can I augment all DU types with a method that can access the type itself, in F#? I am trying to...
Can I augment all DU types with a method that can access the type itself, in F#? Can I augment all DU types with a method that can access the type itself, in F#? f%23 discriminated-union Can MyDU TypeA TypeB this.DoSomething this.SomehowGetTheTypeName MyDU.TypeA a.DoSomething Can I augment all DU types with a method th...
[ -0.003875732421875, 0.0181884765625, 0.014404296875, 0.01611328125, -0.0172119140625, -0.01336669921875, -0.0028839111328125, 0.01055908203125, 0.00005936622619628906, -0.034912109375, 0.00128936767578125, -0.01043701171875, 0.00089263916015625, 0.005859375, -0.006378173828125, 0.00233...
[ 4171, 87, 9620, 674, 756, 14614, 52895, 678, 55300, 450, 831, 17203, 10644, 68034, 563, 4904, 23, 1238, 3742, 55970, 3674, 87046, 2646, 18431, 60457, 284, 571, 903, 8331, 282, 64113, 47251, 724, 126, 3957, 196707, 163612, 10, 31577, 61924...
[ 0.1083984375, 0.044891357421875, 0.1917724609375, 0.1590576171875, 0.13330078125, 0.2332763671875, 0.23828125, 0.0633544921875, 0.158447265625, 0.006561279296875, 0.058441162109375, 0.155029296875, 0.2271728515625, 0.1798095703125, 0.123779296875, 0.1856689453125, 0.007904052734375, ...
embed
34578146_c0
34578146
fsharp
0
Title: Stack overflow with Fibonacci function Problem title: Stack overflow with Fibonacci function Tags: f%23, fibonacci Problem: Stack overflow with Fibonacci function I'm still learning F#, so please be gentle with me! I tried to define a function to generate Fibonacci numbers like this... let rec fib n = match n wi...
Stack overflow with Fibonacci function Stack overflow with Fibonacci function f%23 fibonacci Stack Fibonacci n-1 n-2 Stack overflow with Fibonacci function I'm still learning F#, so please be gentle with me! I tried to define a function to generate Fibonacci numbers like this... However, whilst this gives the correct r...
[ -0.00213623046875, -0.00244140625, -0.005523681640625, -0.01092529296875, -0.0020599365234375, -0.019775390625, -0.0177001953125, 0.00262451171875, 0.0203857421875, -0.0240478515625, 0.01611328125, -0.01806640625, 0.0003376007080078125, 0.0023956298828125, 0.03515625, 0.00518798828125,...
[ 6512, 2594, 645, 118664, 678, 3698, 20990, 52544, 32354, 1238, 3949, 3742, 809, 5759, 5428, 7464, 52080, 563, 4904, 22936, 21507, 133, 37842, 61924, 139392, 101935, 1884, 903, 217982, 76199, 26785, 16750, 757, 136, 106, 177261, 100, 787, 46...
[ 0.1478271484375, 0.128662109375, 0.1435546875, 0.2347412109375, 0.050262451171875, 0.13916015625, 0.161865234375, 0.19677734375, 0.1641845703125, 0.06982421875, 0.0902099609375, 0.182373046875, 0.1207275390625, 0.1170654296875, 0.15625, 0.02789306640625, 0.06353759765625, 0.0454711...
embed
2750372_c0
2750372
fsharp
0
Title: Create an object in C# from an F# object with optional arguments Problem title: Create an object in C# from an F# object with optional arguments Tags: .net, c%23, f%23 Problem: Create an object in C# from an F# object with optional arguments I have a object in F# as follows... type Person(?name : string) = let n...
Create an object in C# from an F# object with optional arguments Create an object in C# from an F# object with optional arguments .net c%23 f%23 an Create Person x.Name myObj1 Create an object in C# from an F# object with optional arguments I have a object in F# as follows... I want to be able to create an instance of ...
[ 0.010498046875, 0.01007080078125, 0.00084686279296875, 0.01263427734375, -0.0115966796875, 0.00799560546875, -0.004791259765625, -0.001983642578125, -0.005218505859375, -0.00110626220703125, -0.003204345703125, -0.0166015625, 0.0142822265625, -0.000827789306640625, 0.00445556640625, -0...
[ 151313, 36746, 23, 313, 4904, 1295, 563, 678, 35829, 289, 10750, 142, 1179, 3742, 1238, 15270, 1022, 163612, 759, 46471, 170, 418, 765, 28960, 3444, 19048, 28282, 110527, 111, 903, 13452, 49814, 91067, 26785, 35773, 47, 831, 1957, 892, 27...
[ 0.14892578125, 0.2420654296875, 0.07080078125, 0.0955810546875, 0.228515625, 0.14794921875, 0.146728515625, 0.064208984375, 0.2288818359375, 0.1346435546875, 0.220458984375, 0.04302978515625, 0.1248779296875, 0.09320068359375, 0.01953125, 0.1839599609375, 0.046600341796875, 0.06707...
embed
27976416_c0
27976416
fsharp
0
Title: Creating a list or sequence of numbers up to a certain value in F# Problem title: Creating a list or sequence of numbers up to a certain value in F# Tags: math, functional-programming, function, f%23, algorithm Problem: Creating a list or sequence of numbers up to a certain value in F# Suppose I want to create a...
Creating a list or sequence of numbers up to a certain value in F# Creating a list or sequence of numbers up to a certain value in F# math functional-programming function f%23 algorithm Creating Creating a list or sequence of numbers up to a certain value in F# Suppose I want to create a list or sequence of all cubic n...
[ 0.00958251953125, 0.01953125, -0.00946044921875, -0.01409912109375, 0.004730224609375, 0.0107421875, 0.0074462890625, 0.01507568359375, 0.023681640625, -0.0179443359375, -0.015625, -0.0107421875, 0.010986328125, 0.0216064453125, 0.0196533203125, -0.0040283203125, 0.0067138671875, -...
[ 56781, 1916, 5303, 707, 40, 944, 3956, 101935, 1257, 47, 24233, 34292, 563, 4904, 48909, 123309, 28966, 32354, 1238, 3949, 3742, 234873, 23, 121691, 3444, 28282, 756, 314, 45966, 1379, 190, 87357, 809, 8345, 76, 52544, 150701, 11249, 54, ...
[ 0.1849365234375, 0.0203857421875, 0.2047119140625, 0.07135009765625, 0.04644775390625, 0.125732421875, 0.07086181640625, 0.2000732421875, 0.0819091796875, 0.072509765625, 0.06591796875, 0.159423828125, 0.1346435546875, 0.2093505859375, 0.0760498046875, 0.098388671875, 0.070556640625,...
embed
50178065_c0
50178065
fsharp
0
Title: Why doesn&#x27;t this Discriminated Union accept a Set type case? Problem title: Why doesn&#x27;t this Discriminated Union accept a Set type case? Tags: types, set, f%23, discriminated-union Problem: Why doesn't this Discriminated Union accept a Set type case? I am trying to create a new Set type: type MySet<'t>...
Why doesn&#x27;t this Discriminated Union accept a Set type case? Why doesn&#x27;t this Discriminated Union accept a Set type case? types set f%23 discriminated-union Why Discriminated Union Set MySet List Sequence Array Why doesn't this Discriminated Union accept a Set type case? I am trying to create a new Set type: ...
[ -0.00604248046875, 0.0162353515625, 0.0146484375, 0.0111083984375, -0.00958251953125, -0.020751953125, -0.015380859375, 0.0087890625, 0.018310546875, 0.0111083984375, 0.0048828125, 0.017333984375, 0.0164794921875, -0.0048828125, -0.0052490234375, 0.01031494140625, 0.0181884765625, ...
[ 44084, 22027, 3768, 18, 903, 6206, 135421, 3674, 32528, 26946, 19943, 10644, 7225, 52895, 5423, 3742, 55970, 87046, 2646, 294, 126, 32036, 503, 944, 3956, 69253, 53, 31577, 28282, 3525, 43240, 9790, 15190, 68034, 26008, 171859, 132283, 158, ...
[ 0.1177978515625, 0.0875244140625, 0.0305938720703125, 0.10638427734375, 0.0780029296875, 0.055419921875, 0.2025146484375, 0.10296630859375, 0.197265625, 0.1673583984375, 0.24560546875, 0.212890625, 0.1885986328125, 0.1668701171875, 0.1922607421875, 0.039398193359375, 0.1846923828125,...
embed
33622880_c1
33622880
fsharp
1
(_,_) -> let dict = new Dictionary<string,Node<'a>>() List.iter(fun node -> dict.Add(node.Name,node)) nlist |> ignore Dictionary_Graph(dict,edges) | ConcurrentDictionary_Graph(_,_) -> let dict = new ConcurrentDictionary<string,Node<'a>>() List.iter(fun node -> dict.AddOrUpdate(node.Name,node,(fun k v -> node)) |> ignor...
(_,_) -> let dict = new Dictionary<string,Node<'a>>() List.iter(fun node -> dict.Add(node.Name,node)) nlist |> ignore Dictionary_Graph(dict,edges) | ConcurrentDictionary_Graph(_,_) -> let dict = new ConcurrentDictionary<string,Node<'a>>() List.iter(fun node -> dict.AddOrUpdate(node.Name,node,(fun k v -> node)) |> ignor...
[ -0.02978515625, 0.01123046875, 0.0024261474609375, 0.00921630859375, -0.00592041015625, 0.00138092041015625, -0.032958984375, 0.0037078857421875, 0.00634765625, -0.014892578125, 0.01104736328125, -0.0126953125, 0.00099945068359375, 0.01165771484375, 0.006591796875, 0.00921630859375, ...
[ 454, 4, 33079, 2633, 61669, 3525, 147638, 91693, 5021, 112, 11, 32036, 16840, 16498, 110, 4028, 157, 163612, 653, 6562, 124962, 37878, 11727, 297, 4188, 1657, 163812, 14055, 10763, 6635, 19060, 152872, 81, 903, 26785, 3917, 86869, 2967, 427...
[ 0.0936279296875, 0.0347900390625, 0.008392333984375, 0.0760498046875, 0.2100830078125, 0.0482177734375, 0.21142578125, 0.1378173828125, 0.1099853515625, 0.1334228515625, 0.038787841796875, 0.115478515625, 0.107177734375, 0.130859375, 0.10986328125, 0.09716796875, 0.12841796875, 0.0...
embed
19581293_c0
19581293
fsharp
0
Title: Sum custom type as if it were a normal list F# Problem title: Sum custom type as if it were a normal list F# Tags: f%23, list, recursion, types, sum Problem: Sum custom type as if it were a normal list F# I am attempting build a function that sums the list of values that could be stored in my special type. My ty...
Sum custom type as if it were a normal list F# Sum custom type as if it were a normal list F# f%23 list recursion types sum Sum LIST Sum custom type as if it were a normal list F# I am attempting build a function that sums the list of values that could be stored in my special type. My type looks like this I am attempti...
[ -0.015869140625, 0.007720947265625, 0.0255126953125, 0.01214599609375, -0.03466796875, 0.01544189453125, -0.0184326171875, 0.01239013671875, 0.0286865234375, -0.0274658203125, -0.0027923583984375, -0.0233154296875, -0.01153564453125, 0.005859375, 0.0179443359375, 0.0050048828125, 0.0...
[ 36335, 114122, 10644, 237, 2174, 3542, 3638, 5303, 563, 4904, 1238, 3742, 195625, 1830, 52895, 10554, 195977, 81887, 45367, 32354, 142424, 5809, 4343, 5361, 33342, 1884, 903, 18151, 35064, 29334, 1363, 3444, 15190, 2037, 30646, 23738, 271, 41...
[ 0.20556640625, 0.2213134765625, 0.2095947265625, 0.084228515625, 0.073486328125, 0.05914306640625, 0.1092529296875, 0.1279296875, 0.03485107421875, 0.095947265625, 0.017578125, 0.09808349609375, 0.1337890625, 0.00982666015625, 0.1336669921875, 0.1898193359375, 0.1634521484375, 0.04...
embed
14526854_c0
14526854
fsharp
0
Title: Why am I not allowed to use reference cell as argument for byref parameter in let functions? Problem title: Why am I not allowed to use reference cell as argument for byref parameter in let functions? Tags: f%23 Problem: Why am I not allowed to use reference cell as argument for byref parameter in let functions?...
Why am I not allowed to use reference cell as argument for byref parameter in let functions? Why am I not allowed to use reference cell as argument for byref parameter in let functions? f%23 Why Incrementor Increment Incrementor.Increment Why am I not allowed to use reference cell as argument for byref parameter in let...
[ -0.0025787353515625, 0.0167236328125, 0.02099609375, 0.02294921875, 0.00823974609375, -0.02294921875, -0.0015716552734375, 0.00946044921875, -0.01251220703125, -0.0218505859375, -0.0150146484375, 0.01904296875, -0.0020599365234375, 0.006439208984375, 0.0284423828125, -0.0311279296875, ...
[ 44084, 959, 107003, 4527, 91067, 38750, 237, 10750, 390, 29087, 171859, 2633, 32354, 444, 3742, 8942, 107, 2611, 42, 674, 7612, 3293, 4488, 43240 ]
[ 0.06488037109375, 0.07806396484375, 0.1270751953125, 0.08349609375, 0.2373046875, 0.2294921875, 0.042510986328125, 0.2017822265625, 0.13037109375, 0.264892578125, 0.1572265625, 0.2266845703125, 0.1492919921875, 0.02056884765625, 0.06829833984375, 0.0248565673828125, 0.111328125, 0....
embed
58601604_c1
58601604
fsharp
1
domain particular functions. However, I'm more just trying to see if there is a better practice then what I'm currently doing. The goal is to potentially allow me to build some more generalized functions that I could then keep Domain Description more exclusively in DU Type Definitions but that work with functions that...
domain particular functions. However, I'm more just trying to see if there is a better practice then what I'm currently doing. The goal is to potentially allow me to build some more generalized functions that I could then keep Domain Description more exclusively in DU Type Definitions but that work with functions that...
[ -0.023681640625, 0.0078125, -0.005523681640625, 0.00007772445678710938, 0.000774383544921875, 0.0025634765625, -0.01953125, -0.01422119140625, 0.0108642578125, -0.02490234375, -0.011474609375, -0.00174713134765625, -0.0005340576171875, 0.00164794921875, -0.00787353515625, 0.00135040283...
[ 77758, 17311, 32354, 7, 1286, 31577, 1957, 11522, 41361, 7068, 82424, 69236, 38516, 63769, 45367, 4537, 29367, 13695, 93702, 70643, 97629, 14614, 60457, 155455, 4488, 38514, 107730, 77947, 161521, 96746, 11417, 17306, 11814, 61475, 27781, 10644, ...
[ 0.2344970703125, 0.27587890625, 0.240478515625, 0.05902099609375, 0.029571533203125, 0.059783935546875, 0.0509033203125, 0.126220703125, 0.1519775390625, 0.0244140625, 0.070556640625, 0.158447265625, 0.07012939453125, 0.031829833984375, 0.1016845703125, 0.1678466796875, 0.02493286132...
embed
928619_c1
928619
fsharp
1
mutable data structures. I would use a generic .NET resizable List for storing my timeseries data and implement a new derivative to fire on data add events. I could store the mappings between sensorid and the actual timeseries container in a Dictionary (when data is popped off the queue, I can read the sensorid field,...
mutable data structures. I would use a generic .NET resizable List for storing my timeseries data and implement a new derivative to fire on data add events. I could store the mappings between sensorid and the actual timeseries container in a Dictionary (when data is popped off the queue, I can read the sensorid field,...
[ 0.0296630859375, 0.02587890625, -0.01708984375, -0.015869140625, -0.01055908203125, -0.00897216796875, 0.038330078125, 0.01519775390625, -0.01611328125, -0.042236328125, -0.013916015625, -0.014892578125, -0.006866455078125, 0.0181884765625, -0.01495361328125, 0.00848388671875, -0.011...
[ 842, 22819, 2053, 45646, 2806, 4527, 189534, 5, 17777, 456, 4900, 2886, 32036, 3082, 214, 1733, 32832, 7, 29479, 3525, 30057, 4935, 11476, 15190, 47353, 5809, 4343, 291, 26783, 17721, 43111, 532, 8561, 116419, 147638, 160, 5773, 41, 12301, ...
[ 0.145263671875, 0.2274169921875, 0.1663818359375, 0.1990966796875, 0.0479736328125, 0.075927734375, 0.1756591796875, 0.011932373046875, 0.1705322265625, 0.028228759765625, 0.1539306640625, 0.1375732421875, 0.1842041015625, 0.155517578125, 0.0152130126953125, 0.1429443359375, 0.213012...
embed
65574700_c0
65574700
fsharp
0
Title: Can SRTP use internal members? Problem title: Can SRTP use internal members? Tags: f%23, inline Problem: Can SRTP use internal members? I know that the implementation of inline code can't use internal/private code. However, it also seems, surprisingly to me, that I can't even pass internal types to inlined funct...
Can SRTP use internal members? Can SRTP use internal members? f%23 inline Can SRTP Can SRTP use internal members? I know that the implementation of inline code can't use internal/private code. However, it also seems, surprisingly to me, that I can't even pass internal types to inlined functions using SRTP (statically r...
[ -0.005859375, -0.0054931640625, 0.01385498046875, -0.00616455078125, -0.01214599609375, 0.00103759765625, 0.0015411376953125, 0.0018463134765625, -0.0029754638671875, -0.02197265625, 0.009765625, 0.01806640625, 0.018310546875, 0.0361328125, 0.03759765625, -0.0145263671875, -0.0050354...
[ 4171, 26098, 23658, 4527, 70796, 43032, 1238, 3949, 3742, 23, 2256, 208124, 18151, 831, 18, 158559, 27875, 52895, 47, 32354, 17368, 17346, 103608, 10644, 171859, 35782, 9969, 1340, 18499, 4568, 10, 432, 1295, 80934, 62, 71403, 91177, 4488, ...
[ 0.0960693359375, 0.141845703125, 0.25537109375, 0.1448974609375, 0.263427734375, 0.247802734375, 0.044525146484375, 0.041046142578125, 0.1536865234375, 0.113037109375, 0.1806640625, 0.110107421875, 0.1748046875, 0.07476806640625, 0.050201416015625, 0.1016845703125, 0.0947265625, 0....
embed
24536600_c0
24536600
fsharp
0
Title: Why is List.length linear in complexity? Problem title: Why is List.length linear in complexity? Tags: f%23, list Problem: Why is List.length linear in complexity? I understand that lists are implemented as singly linked so they don't really have a constant structure that you can pin a length on, but each node s...
Why is List.length linear in complexity? Why is List.length linear in complexity? f%23 list Why List.length Why is List.length linear in complexity? I understand that lists are implemented as singly linked so they don't really have a constant structure that you can pin a length on, but each node should know how many no...
[ -0.0072021484375, 0.01806640625, 0.02099609375, 0.0033111572265625, 0.0130615234375, -0.00799560546875, 0.006561279296875, 0.01434326171875, 0.0255126953125, -0.032470703125, 0.0023345947265625, -0.015625, 0.0181884765625, 0.0361328125, 0.00750732421875, 0.01165771484375, 0.029907226...
[ 44084, 83, 32036, 5, 23986, 927, 192617, 23, 27140, 2481, 32, 1238, 3949, 3742, 5303, 28219, 7, 29479, 237, 5367, 3126, 53697, 45646, 831, 6520, 140909, 12638, 110, 112, 5608, 3714, 5941, 988, 570, 4568, 12830, 3917, 15190, 144573, 83324,...
[ 0.154541015625, 0.042816162109375, 0.2357177734375, 0.05987548828125, 0.1820068359375, 0.07177734375, 0.2452392578125, 0.07708740234375, 0.1951904296875, 0.084228515625, 0.0068359375, 0.07073974609375, 0.030426025390625, 0.106689453125, 0.2310791015625, 0.07318115234375, 0.0647583007...
embed
4359767_c0
4359767
fsharp
0
Title: How do you print the resulting units using units of measure in F#? Problem title: How do you print the resulting units using units of measure in F#? Tags: f%23, units-of-measurement Problem: How do you print the resulting units using units of measure in F#? I am beginning to learn how to use units of measure in ...
How do you print the resulting units using units of measure in F#? How do you print the resulting units using units of measure in F#? f%23 units-of-measurement units How Measure Results UOM How do you print the resulting units using units of measure in F#? I am beginning to learn how to use units of measure in F# but I...
[ 0.00022220611572265625, 0.01275634765625, 0.020751953125, -0.0076904296875, -0.004913330078125, -0.030517578125, 0.01483154296875, -0.0186767578125, 0.024658203125, -0.007598876953125, -0.0166015625, -0.029296875, 0.0125732421875, -0.0145263671875, 0.0023040771484375, 0.00823974609375,...
[ 11249, 54, 398, 28412, 16750, 214, 25072, 7, 17368, 111, 72350, 23, 563, 4904, 1238, 3949, 3742, 4390, 37440, 56851, 1215, 11, 146104, 345, 31626, 3642, 4527, 35166, 8781, 70, 31805, 660, 7103, 74481, 9902, 2856, 5608, 19882, 209303, 2778...
[ 0.08721923828125, 0.0506591796875, 0.035888671875, 0.231689453125, 0.1591796875, 0.063720703125, 0.216552734375, 0.0433349609375, 0.08282470703125, 0.142822265625, 0.202392578125, 0.068115234375, 0.1466064453125, 0.2191162109375, 0.0965576171875, 0.013885498046875, 0.1380615234375, ...
embed
21427195_c1
21427195
fsharp
1
broken in two ways. Firstly, the whole point is to specify a timeout but the implementation does not actually honor it. Specifically, irrelevant messages reset the timer. Secondly, as with the other Scan function, the message queue is examined under a lock that prevents any other threads from posting for the duration ...
broken in two ways. Firstly, the whole point is to specify a timeout but the implementation does not actually honor it. Specifically, irrelevant messages reset the timer. Secondly, as with the other Scan function, the message queue is examined under a lock that prevents any other threads from posting for the duration ...
[ 0.00750732421875, 0.0458984375, -0.0014190673828125, 0.028564453125, -0.0120849609375, 0.007415771484375, -0.0123291015625, 0.02490234375, 0.0079345703125, -0.0157470703125, 0.0181884765625, 0.0185546875, -0.0224609375, 0.01409912109375, 0.00421142578125, 0.0203857421875, 0.018676757...
[ 148431, 23, 6626, 48322, 6275, 40140, 18929, 1733, 6056, 1284, 208124, 959, 20338, 169429, 89914, 168398, 21991, 77648, 65533, 32354, 26008, 41, 13388, 83, 160477, 1379, 56776, 56282, 86997, 75220, 44954, 831, 61799, 4989, 40858, 294, 4398, 6...
[ 0.274169921875, 0.0732421875, 0.0809326171875, 0.124755859375, 0.053466796875, 0.043609619140625, 0.0157623291015625, 0.10205078125, 0.1494140625, 0.0008544921875, 0.143310546875, 0.043182373046875, 0.049835205078125, 0.188720703125, 0.14501953125, 0.1746826171875, 0.274658203125, ...
embed
14467431_c1
14467431
fsharp
1
Int32. If I try to cast it back to 'T, I again get compilation errors. I don't want to get too specific in my question because I'm not sure which specifics I should be asking about, so -- where's the flaw(s) in this approach? How should I be going about it? (Edited to add: , post @Daniel's answer Alas, this appears to...
Int32. If I try to cast it back to 'T, I again get compilation errors. I don't want to get too specific in my question because I'm not sure which specifics I should be asking about, so -- where's the flaw(s) in this approach? How should I be going about it? (Edited to add: , post @Daniel's answer Alas, this appears to...
[ -0.01385498046875, 0.01397705078125, 0.000484466552734375, -0.01611328125, -0.017578125, -0.00213623046875, -0.01190185546875, 0.003326416015625, 0.0164794921875, 0.0067138671875, 0.004730224609375, -0.00160980224609375, 0.0118408203125, 0.027099609375, 0.026611328125, -0.02978515625, ...
[ 360, 18, 6460, 9790, 37702, 442, 4420, 47, 618, 13438, 98352, 1363, 18499, 7, 29458, 1238, 19729, 903, 51515, 217732, 28219, 43701, 23, 2256, 12921, 158, 2816, 4288, 20594, 563, 4904, 9014, 434, 100094, 28864, 26073, 10, 32301, 214, 20779...
[ 0.1072998046875, 0.1597900390625, 0.29052734375, 0.032867431640625, 0.175048828125, 0.011688232421875, 0.1094970703125, 0.0223388671875, 0.1611328125, 0.06170654296875, 0.1878662109375, 0.010284423828125, 0.18994140625, 0.065185546875, 0.0859375, 0.003326416015625, 0.160400390625, ...
embed
60866843_c0
60866843
fsharp
0
Title: F# Option chaining Problem title: F# Option chaining Tags: f%23 Problem: F# Option chaining The F# Option type is a good way to return 'result or failure' from a function. Sometimes you need to chain such functions, along the lines of: Call the first function If it returns Some whatever, pass the whatever to the...
F# Option chaining F# Option chaining f%23 Option Some None F# Option chaining The F# Option type is a good way to return 'result or failure' from a function. Sometimes you need to chain such functions, along the lines of: Call the first function If it returns Some whatever, pass the whatever to the second function and...
[ -0.000545501708984375, -0.00408935546875, 0.005859375, 0.0076904296875, 0.01495361328125, -0.00506591796875, -0.0064697265625, -0.0260009765625, 0.001007080078125, 0.000023365020751953125, -0.005401611328125, 0.0208740234375, -0.0084228515625, -0.022705078125, 0.0030364990234375, 0.016...
[ 563, 4904, 86769, 1608, 14653, 1238, 3949, 3742, 31384, 438, 10644, 83, 10, 4127, 3917, 30646, 2109, 7136, 707, 137578, 1295, 32354, 160193, 3871, 121293, 124519, 26265, 5117, 4263, 89778, 27875, 70, 17932, 16750, 109312, 86, 16940, 103510, ...
[ 0.146484375, 0.239013671875, 0.2998046875, 0.2008056640625, 0.163818359375, 0.083251953125, 0.0235748291015625, 0.1407470703125, 0.1138916015625, 0.08447265625, 0.1683349609375, 0.0271453857421875, 0.00396728515625, 0.07659912109375, 0.04754638671875, 0.1787109375, 0.0714111328125, ...
embed
16712493_c0
16712493
fsharp
0
Title: F# function return several types (return kind of generic object type)? Problem title: F# function return several types (return kind of generic object type)? Tags: f%23, pattern-matching Problem: F# function return several types (return kind of generic object type)? I keep learning F# pattern matching with my sim...
F# function return several types (return kind of generic object type)? F# function return several types (return kind of generic object type)? f%23 pattern-matching my_sqrt ToString x.ToString F# function return several types (return kind of generic object type)? I keep learning F# pattern matching with my simple functi...
[ -0.00457763671875, 0.0005035400390625, -0.00958251953125, 0.0054931640625, 0.016845703125, -0.02490234375, -0.004974365234375, 0.0010986328125, 0.00119781494140625, 0.00482177734375, 0.0289306640625, -0.026611328125, 0.00958251953125, -0.02294921875, -0.005859375, -0.0186767578125, -...
[ 563, 4904, 32354, 30646, 40368, 52895, 65395, 19, 8562, 189534, 36746, 10644, 1238, 3742, 103510, 98753, 214, 759, 864, 3198, 717, 71713, 1022, 7763, 13695, 52080, 14858, 8781, 108047, 74855, 2174, 10750, 83, 14012, 120262, 73197, 442, 33342,...
[ 0.1474609375, 0.2208251953125, 0.146240234375, 0.1748046875, 0.1488037109375, 0.205078125, 0.13427734375, 0.0253448486328125, 0.04541015625, 0.159912109375, 0.167724609375, 0.1162109375, 0.097412109375, 0.147216796875, 0.190673828125, 0.144775390625, 0.042999267578125, 0.1079101562...
embed
11559440_c1
11559440
fsharp
1
_, ran = FSharpType.GetFunctionElements(ty) FSharpValue.MakeFunction(ty,(fun _ -> mkKn ran)) else box () if v then printfn fmt else unbox<'a> (mkKn typeof<'a>) but here the reflection seems too expensive (even more so than that done inside the standard libraries complicated definition of printf sometimes). I don't wan...
_, ran = FSharpType.GetFunctionElements(ty) FSharpValue.MakeFunction(ty,(fun _ -> mkKn ran)) else box () if v then printfn fmt else unbox<'a> (mkKn typeof<'a>) but here the reflection seems too expensive (even more so than that done inside the standard libraries complicated definition of printf sometimes). I don't wan...
[ -0.00165557861328125, 0.006256103515625, 0.0146484375, 0.004913330078125, -0.00008487701416015625, -0.010009765625, -0.00689697265625, -0.00982666015625, -0.011474609375, 0.01043701171875, 0.0034332275390625, 0.006439208984375, -0.01031494140625, -0.0247802734375, 0.0189208984375, 0.01...
[ 101, 13028, 2203, 93774, 3467, 254, 196707, 97249, 19929, 939, 856, 50770, 76978, 16498, 19201, 605, 19, 37076, 16530, 81, 28412, 14783, 1238, 18, 51, 11728, 11, 10644, 4390, 3688, 44961, 1830, 37202, 5792, 135587, 5570, 35773, 96704, 80934...
[ 0.03900146484375, 0.2235107421875, 0.019561767578125, 0.0919189453125, 0.155517578125, 0.0894775390625, 0.21875, 0.1055908203125, 0.140380859375, 0.115478515625, 0.112060546875, 0.1402587890625, 0.030670166015625, 0.125732421875, 0.019317626953125, 0.01373291015625, 0.03143310546875,...
embed
56899437_c0
56899437
fsharp
0
Title: f# Cast enum element type Problem title: f# Cast enum element type Tags: enums, f%23 Problem: f# Cast enum element type I have a question rather simple I think but I can not find any info about it. So for example in c# I can define value enum types using inheritance like: public enum RequestedService : ushort { ...
f# Cast enum element type f# Cast enum element type enums f%23 Cast RequestedService Description Unknown Status SERVICE1 uint16 f# Cast enum element type I have a question rather simple I think but I can not find any info about it. So for example in c# I can define value enum types using inheritance like: But how would...
[ -0.0031890869140625, 0.007598876953125, 0, 0.00154876708984375, 0.0022125244140625, -0.002960205078125, -0.01385498046875, 0.0054931640625, -0.006378173828125, 0.027587890625, 0.006439208984375, -0.0096435546875, -0.0033721923828125, 0.01007080078125, -0.002227783203125, -0.00077819824...
[ 1238, 4904, 32301, 22, 316, 12830, 10644, 10321, 3949, 3742, 853, 944, 121979, 70643, 992, 69723, 56504, 224180, 418, 75, 4288, 2485, 9655, 8781, 5351, 100, 831, 61924, 34292, 52895, 17368, 23, 3334, 217, 7154, 1884, 3642, 54, 442, 563, ...
[ 0.1427001953125, 0.2039794921875, 0.20703125, 0.160888671875, 0.2420654296875, 0.1622314453125, 0.2359619140625, 0.17919921875, 0.0205841064453125, 0.112548828125, 0.000213623046875, 0.1419677734375, 0.1737060546875, 0.068603515625, 0.0184478759765625, 0.1201171875, 0.1138916015625, ...
embed
63614279_c0
63614279
fsharp
0
Title: F# desktop-support Problem title: F# desktop-support Tags: f%23, templates, visual-studio-project, .net Problem: F# desktop-support I need to add a F# .Net Framework project to an existing solution (with older .Net Framework projects, mostly C#). I have all the install options for F# (optional items) selected: I...
F# desktop-support F# desktop-support f%23 templates visual-studio-project .net F# desktop-support I need to add a F# .Net Framework project to an existing solution (with older .Net Framework projects, mostly C#). I have all the install options for F# (optional items) selected: If I previously selected the F# .Net Fram...
[ 0.004302978515625, 0.03466796875, 0.0157470703125, 0.004608154296875, 0.00133514404296875, 0.0177001953125, -0.0133056640625, -0.0067138671875, 0.007171630859375, 0.0031280517578125, 0.0167236328125, -0.005340576171875, -0.0126953125, 0.01129150390625, 0.0361328125, -0.0029754638671875...
[ 563, 4904, 86983, 105363, 1238, 3949, 3742, 110934, 21176, 52629, 95322, 5, 1179, 87, 3871, 15190, 24447, 202220, 13452, 47, 144573, 29806, 76228, 114210, 77635, 153161, 756, 20600, 50717, 109585, 55769, 133291, 198395, 79786, 5885, 11389, 7337...
[ 0.1563720703125, 0.234375, 0.170654296875, 0.1993408203125, 0.0958251953125, 0.0165863037109375, 0.07574462890625, 0.1746826171875, 0.14892578125, 0.1387939453125, 0.1209716796875, 0.0145416259765625, 0.1385498046875, 0.002685546875, 0.06231689453125, 0.12939453125, 0.1292724609375, ...
embed
16212596_c0
16212596
fsharp
0
Title: Accessing element from reference array in F# Problem title: Accessing element from reference array in F# Tags: f%23 Problem: Accessing element from reference array in F# Was experimenting with arrays and references - my intent is to create a reference to an array and then use that reference inside a closure to a...
Accessing element from reference array in F# Accessing element from reference array in F# f%23 reference Accessing dk2 Array.create dk2ref FS0039 Item Accessing element from reference array in F# Was experimenting with arrays and references - my intent is to create a reference to an array and then use that reference in...
[ -0.002349853515625, 0.01123046875, 0.0196533203125, 0.00799560546875, 0.013427734375, -0.0189208984375, -0.016845703125, 0.018798828125, -0.00811767578125, -0.01318359375, 0.0162353515625, 0.0167236328125, 0.00032806396484375, 0.009765625, 0.005218505859375, -0.018310546875, 0.008178...
[ 40266, 214, 12830, 1295, 91067, 10298, 53, 563, 4904, 1238, 3742, 126920, 304, 69253, 7612, 29087, 93774, 9323, 78426, 28007, 4778, 78091, 28282, 47, 4527, 46132, 170224, 17203, 9902, 81887, 8951, 3917, 111, 71, 70, 116, 2208 ]
[ 0.184326171875, 0.020050048828125, 0.169677734375, 0.1197509765625, 0.252197265625, 0.15625, 0.10009765625, 0.1343994140625, 0.175537109375, 0.068359375, 0.091552734375, 0.1038818359375, 0.1368408203125, 0.10650634765625, 0.06085205078125, 0.216552734375, 0.07568359375, 0.098632812...
embed
4136822_c1
4136822
fsharp
1
code example and things still work just fine. I'm now even more curious why people go to such lengths using mutable val etc. when it's apparently that simple? Am I missing something important? Update #2: In a comment below, Robert Jeppesen provided a hyperlink to an MSDN page which mentions the following: If you fail ...
code example and things still work just fine. I'm now even more curious why people go to such lengths using mutable val etc. when it's apparently that simple? Am I missing something important? Update #2: In a comment below, Robert Jeppesen provided a hyperlink to an MSDN page which mentions the following: If you fail ...
[ 0.007415771484375, 0.007415771484375, -0.00244140625, -0.005706787109375, -0.003204345703125, 0.0269775390625, 0.00909423828125, -0.00049591064453125, 0.0225830078125, 0.01116943359375, 0.00640869140625, 0.00347900390625, -0.006134033203125, 0.0040283203125, 0.002593994140625, -0.01757...
[ 18151, 27781, 8966, 7464, 4488, 5885, 193844, 15400, 3395, 6044, 140909, 842, 22819, 3502, 198371, 450, 8781, 132283, 7340, 51671, 35782, 28960, 903, 147453, 103510, 9572, 31, 2863, 10752, 1264, 939, 51517, 13416, 57266, 5426, 20623, 38415, 6...
[ 0.18603515625, 0.1962890625, 0.00518798828125, 0.040496826171875, 0.0859375, 0.0472412109375, 0.04364013671875, 0.049468994140625, 0.004180908203125, 0.02362060546875, 0.1378173828125, 0.093505859375, 0.13623046875, 0.156005859375, 0.0182952880859375, 0.00628662109375, 0.093139648437...
embed
41523392_c0
41523392
fsharp
0
Title: value restriction error details Problem title: value restriction error details Tags: f%23, compiler-errors, value-restriction Problem: value restriction error details let empties = Array.create 100 [] Gives a value restriction error: error FS0030: Value restriction. The value 'empties' has been inferred to have ...
value restriction error details value restriction error details f%23 compiler-errors value-restriction Array.create FS0030 Value Either value restriction error details Gives a value restriction error: error FS0030: Value restriction. The value 'empties' has been inferred to have generic type val empties : '_a list []. ...
[ 0.0089111328125, -0.00347900390625, -0.004669189453125, 0.006805419921875, 0.0186767578125, -0.01177978515625, -0.0016326904296875, -0.010498046875, 0.0091552734375, -0.002899169921875, 0.005950927734375, -0.0028076171875, 0.0091552734375, -0.0174560546875, 0.017822265625, 0.0031890869...
[ 34292, 185190, 18499, 41653, 1238, 3742, 9969, 34759, 188800, 107, 7655, 69253, 7612, 93774, 7049, 1197, 190060, 9319, 77878, 33548, 2449, 2809, 53498, 47, 765, 189534, 10644, 3502, 20244, 5303, 61924, 2053, 13579, 32354, 143726, 10750, 150661,...
[ 0.238037109375, 0.27783203125, 0.1824951171875, 0.1787109375, 0.045654296875, 0.08544921875, 0.0806884765625, 0.0594482421875, 0.1378173828125, 0.03955078125, 0.1361083984375, 0.05426025390625, 0.0252227783203125, 0.148681640625, 0.11328125, 0.2117919921875, 0.252685546875, 0.09918...
embed
73740141_c1
73740141
fsharp
1
| One, One -> Zero let Not input = Nand input input let And a b = Not (Nand a b) let Or a b = Nand (Not a) (Not b) let private liftToSignal1 op (signal: Signal) : Signal = Seq.map op signal let private liftToSignal2 op (signalA: Signal) (signalB: Signal) : Signal = Seq.map2 op signalA signalB let Not' = liftToSignal1 ...
| One, One -> Zero let Not input = Nand input input let And a b = Not (Nand a b) let Or a b = Nand (Not a) (Not b) let private liftToSignal1 op (signal: Signal) : Signal = Seq.map op signal let private liftToSignal2 op (signalA: Signal) (signalB: Signal) : Signal = Seq.map2 op signalA signalB let Not' = liftToSignal1 ...
[ 0.010498046875, 0.006866455078125, -0.005401611328125, 0.01495361328125, 0.0027923583984375, -0.0185546875, -0.004058837890625, 0.013427734375, 0.00750732421875, -0.0096435546875, -0.032958984375, -0.0042724609375, 0.007080078125, 0.024658203125, 0.0064697265625, -0.0247802734375, 0....
[ 58745, 6561, 4, 33079, 83947, 2633, 11205, 107730, 2203, 353, 2208, 3493, 10, 876, 2940, 3347, 122116, 14375, 60520, 7763, 218723, 289, 418, 233, 165992, 144000, 503, 864, 62346, 26073, 304, 284, 571, 25, 21954, 104, 4902, 2053, 21135, 40...
[ 0.088134765625, 0.2054443359375, 0.0823974609375, 0.1805419921875, 0.26123046875, 0.1671142578125, 0.25927734375, 0.223388671875, 0.0845947265625, 0.13623046875, 0.1705322265625, 0.1480712890625, 0.0799560546875, 0.1260986328125, 0.1031494140625, 0.146240234375, 0.190673828125, 0.1...
embed
1795540_c0
1795540
fsharp
0
Title: Statistical functionalities of F# (or .NET libraries) Problem title: Statistical functionalities of F# (or .NET libraries) Tags: statistics, f%23 Problem: Statistical functionalities of F# (or .NET libraries) Is it possible for a person working with statistic to replace his specialized programs by F#? I'm thinki...
Statistical functionalities of F# (or .NET libraries) Statistical functionalities of F# (or .NET libraries) statistics f%23 Statistical NET Statistical functionalities of F# (or .NET libraries) Is it possible for a person working with statistic to replace his specialized programs by F#? I'm thinking about SAS/SPSS main...
[ 0.00958251953125, 0.01953125, 0.0205078125, -0.007568359375, -0.005279541015625, -0.00347900390625, -0.00958251953125, 0.004669189453125, 0.002349853515625, 0.002288818359375, 0.001190185546875, 0.01458740234375, -0.01361083984375, 0.008544921875, 0.01043701171875, -0.006256103515625, ...
[ 126124, 21533, 123309, 31075, 563, 4904, 5, 17777, 35773, 10484, 80835, 1238, 3949, 3742, 2071, 442, 7722, 3445, 20697, 678, 47, 91995, 1919, 5361, 103391, 390, 47644, 105082, 64, 9434, 15268, 24, 4935, 8060, 23, 686, 8966, 5570, 30170, 1...
[ 0.2138671875, 0.09454345703125, 0.1527099609375, 0.0261993408203125, 0.1640625, 0.2310791015625, 0.001220703125, 0.1104736328125, 0.1253662109375, 0.07177734375, 0.2421875, 0.074951171875, 0.055328369140625, 0.126708984375, 0.050048828125, 0.033538818359375, 0.1593017578125, 0.0415...
embed
3869015_c0
3869015
fsharp
0
Title: Finding local mins in an array Problem title: Finding local mins in an array Tags: f%23, algorithm Problem: Finding local mins in an array Is there a easy way to determine the local min and maxes of an array of values. For example Element Value Note 1 1 2 3 3 5 4 6 5 7 max 5 5 6 4 min 7 6 8 9 9 10 max 10 8 11 7 ...
Finding local mins in an array Finding local mins in an array f%23 algorithm Finding Element Value Note Finding local mins in an array Is there a easy way to determine the local min and maxes of an array of values. For example so an array that is defined like: would identify and It could be a list or Sequence as well a...
[ 0.0059814453125, 0.01019287109375, 0.0081787109375, 0.0167236328125, -0.0096435546875, -0.000812530517578125, -0.0087890625, -0.005859375, -0.005126953125, -0.015380859375, -0.0013427734375, 0.0235595703125, 0.00347900390625, 0.0024871826171875, 0.022216796875, -0.00732421875, -0.009...
[ 26040, 214, 4000, 881, 7, 23, 10298, 53, 1238, 3949, 3742, 234873, 48325, 190060, 18622, 2071, 2685, 23468, 3917, 47, 83324, 136, 18389, 90, 142424, 61924, 1884, 2806, 135812, 1650, 5809, 5303, 944, 32964, 17582, 62258, 31075, 563, 4904, ...
[ 0.1282958984375, 0.0660400390625, 0.1837158203125, 0.27783203125, 0.134765625, 0.0421142578125, 0.1768798828125, 0.1116943359375, 0.09210205078125, 0.0965576171875, 0.1815185546875, 0.212646484375, 0.1334228515625, 0.1251220703125, 0.1448974609375, 0.0013427734375, 0.021881103515625,...
embed
13937713_c0
13937713
fsharp
0
Title: F# compilation / deployment Problem title: F# compilation / deployment Tags: f%23, compilation, deployment Problem: F# compilation / deployment I have a library A which relies on Microsoft Office Excel Interop. I then have an application B that relies on application A. How do I set up Visual Studio so I can easi...
F# compilation / deployment F# compilation / deployment f%23 compilation deployment F# compilation / deployment I have a library A which relies on Microsoft Office Excel Interop. I then have an application B that relies on application A. How do I set up Visual Studio so I can easily deploy my application ? I have tried...
[ 0.0093994140625, 0.0048828125, 0.00579833984375, 0.005523681640625, -0.01806640625, 0.0162353515625, -0.0118408203125, -0.0177001953125, 0.00185394287109375, 0.00811767578125, -0.00167083740234375, 0.017333984375, 0.0162353515625, 0.0233154296875, 0.01904296875, -0.0103759765625, -0....
[ 563, 4904, 98352, 8, 13158, 1238, 3949, 3742, 53, 35773, 1294, 62, 28702, 12133, 30326, 5337, 2146, 38415, 335, 11249, 5423, 1257, 73372, 22968, 221, 831, 72546, 37842, 4210, 5165, 11, 51684, 49938, 183871, 20928, 40368, 81717, 93774, 3467,...
[ 0.15185546875, 0.2418212890625, 0.17822265625, 0.1239013671875, 0.1893310546875, 0.11279296875, 0.02410888671875, 0.1588134765625, 0.104736328125, 0.1240234375, 0.08740234375, 0.0860595703125, 0.1192626953125, 0.15771484375, 0.25146484375, 0.134765625, 0.226806640625, 0.17541503906...
embed
64935845_c0
64935845
fsharp
0
Title: Is there something like the C# verbatim identifier character for F#? Problem title: Is there something like the C# verbatim identifier character for F#? Tags: f%23 Problem: Is there something like the C# verbatim identifier character for F#? Is there something like the C# verbatim identifier character for F#? Th...
Is there something like the C# verbatim identifier character for F#? Is there something like the C# verbatim identifier character for F#? f%23 Is there something like the C# verbatim identifier character for F#? Is there something like the C# verbatim identifier character for F#? The reason I am asking is because every...
[ 0.0159912109375, 0.00182342529296875, 0.008544921875, 0.00135040283203125, 0.0034942626953125, -0.0081787109375, 0.0115966796875, 0.0264892578125, -0.0026092529296875, -0.0074462890625, 0.019287109375, 0.01318359375, 0.0194091796875, -0.0036163330078125, -0.006134033203125, -0.00546264...
[ 2071, 2685, 9844, 1884, 70, 313, 4904, 57520, 5083, 42485, 56, 62816, 100, 563, 1238, 3949, 3742, 113292, 5036, 11675, 3934, 32786, 77336, 17777, 25474, 9351, 188, 707, 2472, 959, 19048, 95486, 9969, 34759, 186992, 166117, 4527, 1374, 26582...
[ 0.0237884521484375, 0.047088623046875, 0.10345458984375, 0.125244140625, 0.028839111328125, 0.08612060546875, 0.2386474609375, 0.204833984375, 0.2099609375, 0.226318359375, 0.1397705078125, 0.1964111328125, 0.07318115234375, 0.12890625, 0.07379150390625, 0.017730712890625, 0.11218261...
embed
28318953_c0
28318953
fsharp
0
Title: Invoking C# delegate from F# - Is there a cleaner syntax? Problem title: Invoking C# delegate from F# - Is there a cleaner syntax? Tags: delegates, f%23, syntactic-sugar Problem: Invoking C# delegate from F# - Is there a cleaner syntax? In C#, if a delegate is defined as follow: delegate void A(); A a = () => {C...
Invoking C# delegate from F# - Is there a cleaner syntax? Invoking C# delegate from F# - Is there a cleaner syntax? delegates f%23 syntactic-sugar F# Invoking Console.WriteLine Test a.Invoke Works Also Error Invoking C# delegate from F# - Is there a cleaner syntax? In C#, if a delegate is defined as follow: It can be i...
[ -0.0220947265625, -0.00018978118896484375, 0.019287109375, 0.0157470703125, -0.00274658203125, 0.01171875, 0.00213623046875, -0.00009489059448242188, 0.000568389892578125, -0.00872802734375, -0.00286865234375, 0.0230712890625, -0.0152587890625, 0.02197265625, 0.0103759765625, -0.012817...
[ 360, 23253, 313, 4904, 102329, 13, 1295, 563, 46622, 56, 6002, 86531, 214, 2685, 90, 1238, 3742, 102, 49086, 1159, 1970, 40777, 18781, 93232, 8647, 10, 4153, 27985, 212059, 61924, 831, 23, 678, 44084, 18, 4527, 116, 2208, 55300, 15, 399...
[ 0.023956298828125, 0.1778564453125, 0.08349609375, 0.2144775390625, 0.29248046875, 0.166259765625, 0.06793212890625, 0.13330078125, 0.205078125, 0.1201171875, 0.1119384765625, 0.172119140625, 0.0237884521484375, 0.000213623046875, 0.07257080078125, 0.065673828125, 0.077392578125, 0...
embed
46793660_c0
46793660
fsharp
0
Title: F# filter in loop Problem title: F# filter in loop Tags: list, filter, f%23 Problem: F# filter in loop I am really new in F# language, therefore, I face an issue practically everywhere, but at this point I got completely stuck. The exercise is pretty simple to find prime numbers of given integer for example if i...
F# filter in loop F# filter in loop list filter f%23 List.filter F# filter in loop I am really new in F# language, therefore, I face an issue practically everywhere, but at this point I got completely stuck. The exercise is pretty simple to find prime numbers of given integer for example if integer is 10 the primes wou...
[ -0.005157470703125, 0.009521484375, 0.01422119140625, -0.01324462890625, 0.0108642578125, -0.01043701171875, 0.032958984375, 0.00147247314453125, 0.0255126953125, -0.01263427734375, 0.01031494140625, -0.00665283203125, -0.0004596710205078125, 0.0009002685546875, 0.0021209716796875, 0.0...
[ 563, 4904, 46312, 23, 40956, 5303, 1238, 3949, 3742, 32036, 120337, 6183, 3525, 46876, 2577, 31089, 138155, 219743, 64557, 179933, 81979, 8781, 7413, 20809, 101935, 34475, 892, 1505, 209, 7, 2806, 79359, 135461, 64209, 4527, 21, 6492, 85, 1...
[ 0.1495361328125, 0.2213134765625, 0.2486572265625, 0.08953857421875, 0.1947021484375, 0.142822265625, 0.10003662109375, 0.0738525390625, 0.1717529296875, 0.191162109375, 0.2330322265625, 0.0228118896484375, 0.039276123046875, 0.111328125, 0.03729248046875, 0.0501708984375, 0.00411987...
embed
65874445_c0
65874445
fsharp
0
Title: F# Array.FindIndex exception handling Problem title: F# Array.FindIndex exception handling Tags: arrays, sorting, collections, f%23, exception Problem: F# Array.FindIndex exception handling I have the following function that finds the Index in an Array let numbers_array = [| "1"; "2"; "3"|] let findIndex arr ele...
F# Array.FindIndex exception handling F# Array.FindIndex exception handling arrays sorting collections f%23 exception Array.FindIndex numbers_array F# Array.FindIndex exception handling I have the following function that finds the Index in an Array However if i try to run findIndex numbers_array (string s.[10])) it is ...
[ 0.004241943359375, 0.034423828125, 0.007568359375, -0.035400390625, 0.0196533203125, -0.00433349609375, 0.0181884765625, -0.00860595703125, -0.00168609619140625, 0.00286865234375, 0.0125732421875, 0.00787353515625, -0.017578125, -0.0087890625, 0.031982421875, -0.0186767578125, 0.0240...
[ 563, 4904, 69253, 53, 204582, 4153, 39659, 131527, 45064, 10298, 4778, 12096, 42486, 1238, 3742, 101935, 19305, 25632, 32354, 7413, 31471, 23, 9790, 11675, 91693, 91, 63709, 1810, 99091, 104250, 18499, 12353, 78457, 8996, 5256, 135932, 12259, ...
[ 0.080078125, 0.119384765625, 0.1275634765625, 0.091796875, 0.1546630859375, 0.1407470703125, 0.2469482421875, 0.192138671875, 0.10076904296875, 0.09307861328125, 0.035797119140625, 0.11962890625, 0.2120361328125, 0.0438232421875, 0.1163330078125, 0.16748046875, 0.136474609375, 0.02...
embed
67580784_c1
67580784
fsharp
1
(objList:list<DimObjektPair>) = let res: ObjektListResult = Result.Ok objList res let pdimObjs = sepBy pdimObj spaces1 let validList = pdimObjs |>> toObjektLista let toInvalid(str:string) = let res: ObjektListResult = match str.Trim(' ') with | "" -> Result.Ok [] | _ -> Result.Error str res let invalidList = manyChars ...
(objList:list<DimObjektPair>) = let res: ObjektListResult = Result.Ok objList res let pdimObjs = sepBy pdimObj spaces1 let validList = pdimObjs |>> toObjektLista let toInvalid(str:string) = let res: ObjektListResult = match str.Trim(' ') with | "" -> Result.Ok [] | _ -> Result.Error str res let invalidList = manyChars ...
[ -0.0012054443359375, 0.00714111328125, -0.0250244140625, 0.029541015625, -0.0159912109375, 0.00982666015625, -0.0242919921875, -0.00009202957153320312, 0.0034332275390625, 0.0064697265625, 0.0147705078125, -0.003509521484375, 0.00872802734375, -0.024658203125, -0.01556396484375, -0.014...
[ 3522, 170, 154663, 6562, 397, 464, 46471, 17379, 18, 8335, 481, 2633, 3332, 65643, 7, 7136, 126684, 73852, 995, 5771, 28175, 25040, 32628, 35604, 47, 866, 1035, 7013, 9297, 91693, 14858, 7704, 74257, 39, 18468, 56649, 5941, 84068, 2499, 9...
[ 0.10479736328125, 0.089599609375, 0.1829833984375, 0.1844482421875, 0.005523681640625, 0.0980224609375, 0.102783203125, 0.1585693359375, 0.0059814453125, 0.1517333984375, 0.110107421875, 0.074462890625, 0.09197998046875, 0.1903076171875, 0.091796875, 0.1405029296875, 0.18994140625, ...
embed
3705513_c0
3705513
fsharp
0
Title: Excel prefix formula F# Problem title: Excel prefix formula F# Tags: excel, f%23 Problem: Excel prefix formula F# I have a simple Excel spreadsheet where each cell either contains nothing, a value, or a simple 2 argument formula of the form: Function(Cell,Cell), (e.g. cell A3 might have the formula "=A1 + A2") I...
Excel prefix formula F# Excel prefix formula F# excel f%23 Excel Excel prefix formula F# I have a simple Excel spreadsheet where each cell either contains nothing, a value, or a simple 2 argument formula of the form: I would like to be able to open an Excel file using F# and for any cell get: 1 - null (because the cell...
[ 0.0206298828125, -0.00927734375, -0.0017852783203125, 0.0272216796875, 0.00543212890625, -0.01513671875, 0.01116943359375, -0.00189208984375, 0.00043487548828125, 0.01611328125, -0.00640869140625, 0.0235595703125, -0.022705078125, -0.0010986328125, 0.0184326171875, 0.002471923828125, ...
[ 30326, 183114, 26168, 563, 4904, 64152, 1238, 3949, 3742, 8781, 93403, 7816, 126, 38750, 70541, 33720, 34292, 116, 10750, 3173, 2806, 1884, 19048, 9803, 11435, 17368, 2499, 2046, 106, 20, 56574, 4032, 110, 32380, 2749, 79315, 138, 370, 8705...
[ 0.199951171875, 0.255126953125, 0.194580078125, 0.130859375, 0.1907958984375, 0.1422119140625, 0.0638427734375, 0.000579833984375, 0.1357421875, 0.0479736328125, 0.06927490234375, 0.1171875, 0.035064697265625, 0.17529296875, 0.054779052734375, 0.060791015625, 0.12841796875, 0.05102...
embed
27624874_c0
27624874
fsharp
0
Title: Using SqlCommandProvider with custom timeout Problem title: Using SqlCommandProvider with custom timeout Tags: sql-server, sql, f%23 Problem: Using SqlCommandProvider with custom timeout I am a big fan of SqlCommandProvider type provider but I am constantly hitting timeout problems with a bit more resource deman...
Using SqlCommandProvider with custom timeout Using SqlCommandProvider with custom timeout sql-server sql f%23 Using SqlCommandProvider AsSqlCommand CommandTimeout Using SqlCommandProvider with custom timeout I am a big fan of SqlCommandProvider type provider but I am constantly hitting timeout problems with a bit more ...
[ 0.01416015625, 0.01531982421875, -0.004425048828125, -0.00274658203125, -0.00689697265625, -0.028564453125, -0.0059814453125, -0.01422119140625, -0.0019683837890625, -0.050537109375, 0.024658203125, -0.006195068359375, -0.005584716796875, -0.01239013671875, -0.00439453125, -0.018066406...
[ 345, 99247, 10770, 12018, 177997, 62160, 678, 114122, 1733, 6056, 39642, 1238, 3949, 3742, 159, 1301, 294, 123573, 70059, 6957, 1207, 10644, 81450, 178308, 5962, 44402, 4785, 1286, 177953, 35968, 41, 5423, 94878, 23, 79315, 167785, 7464, 4358...
[ 0.05230712890625, 0.1654052734375, 0.09619140625, 0.124267578125, 0.1602783203125, 0.1180419921875, 0.0226898193359375, 0.173828125, 0.1787109375, 0.1884765625, 0.0838623046875, 0.017242431640625, 0.019378662109375, 0.109619140625, 0.00201416015625, 0.07147216796875, 0.01092529296875...
embed
76654695_c0
76654695
fsharp
0
Title: Serialize Chart into JSON string in Plotly.NET Problem title: Serialize Chart into JSON string in Plotly.NET Tags: plotly.net, f%23, plotly Problem: Serialize Chart into JSON string in Plotly.NET I want to serialize a Plotly chart in F# into JSON string so it can be passed as a payload through a HTTP request. In...
Serialize Chart into JSON string in Plotly.NET Serialize Chart into JSON string in Plotly.NET plotly.net f%23 plotly Serialize Chart JSON Plotly.NET json.dumps Figure utils.PlotlyJSONEncoder Serialize Chart into JSON string in Plotly.NET I want to serialize a Plotly chart in F# into JSON string so it can be passed as a...
[ -0.01104736328125, 0.00982666015625, 0.01495361328125, 0.00009107589721679688, -0.0303955078125, 0.0021820068359375, -0.00885009765625, 0.00014400482177734375, -0.00811767578125, 0.015625, 0.0089111328125, 0.0286865234375, -0.007049560546875, 0.0177001953125, -0.00537109375, 0.02453613...
[ 135188, 20650, 110373, 3934, 821, 58627, 79315, 168763, 538, 17777, 23577, 1179, 1238, 3949, 3742, 1647, 1681, 10863, 6423, 55412, 39137, 12631, 64977, 51744, 23, 3444, 35686, 116287, 563, 4904, 442, 115081, 237, 8783, 63033, 135913, 50336, 1...
[ 0.2049560546875, 0.084716796875, 0.251220703125, 0.1318359375, 0.142822265625, 0.2222900390625, 0.1756591796875, 0.227783203125, 0.232177734375, 0.1929931640625, 0.1893310546875, 0.1346435546875, 0.01129150390625, 0.0169830322265625, 0.08441162109375, 0.0894775390625, 0.1611328125, ...
embed
17547127_c0
17547127
fsharp
0
Title: F#: How to print a custom class? Problem title: F#: How to print a custom class? Tags: f%23 Problem: F#: How to print a custom class? I'm trying to teach myself F#. I've set up a simple class and would like to be able to print it. Is there an idiomatic equivalent to C++'s overloading of operator<<(std::ostream&,...
F#: How to print a custom class? F#: How to print a custom class? f%23 How std::ostream MyClass Vect this.x this.y v1.x-v2.x v1.y-v2.y this.Magnitude F#: How to print a custom class? I'm trying to teach myself F#. I've set up a simple class and would like to be able to print it. Is there an idiomatic equivalent to C++'...
[ 0.010498046875, 0.015869140625, 0.0234375, 0.0042724609375, -0.003387451171875, 0.0025482177734375, 0.00130462646484375, -0.0166015625, -0.00408935546875, -0.0048828125, 0.0015716552734375, -0.04296875, -0.000942230224609375, -0.0172119140625, -0.013427734375, -0.0146484375, -0.01141...
[ 563, 4904, 12, 11249, 47, 28412, 10, 114122, 18507, 1238, 3742, 6138, 71, 31, 86429, 2646, 140803, 52884, 18, 903, 425, 53, 81, 418, 334, 5442, 54084, 6773, 9233, 94957, 35978, 5423, 1257, 8781, 1884, 19048, 442, 49666, 9523, 183234, 31...
[ 0.1358642578125, 0.1787109375, 0.0145416259765625, 0.1104736328125, 0.06793212890625, 0.2452392578125, 0.085693359375, 0.263916015625, 0.286376953125, 0.0640869140625, 0.09075927734375, 0.1278076171875, 0.0732421875, 0.134521484375, 0.249755859375, 0.1181640625, 0.2462158203125, 0....
embed
21451340_c0
21451340
fsharp
0
Title: How to set up NLog in F# script (fsx) Problem title: How to set up NLog in F# script (fsx) Tags: console-application, f%23, logging, nlog Problem: How to set up NLog in F# script (fsx) i have some f# projects which use NLog for logging. And logging works fine when i use .exe produced by projects, i see output in...
How to set up NLog in F# script (fsx) How to set up NLog in F# script (fsx) console-application f%23 logging nlog How NLog NLog.dll Emulators.dll DeviceEmulator.exe How to set up NLog in F# script (fsx) i have some f# projects which use NLog for logging. And logging works fine when i use .exe produced by projects, i se...
[ -0.011962890625, 0.0023345947265625, -0.0016021728515625, 0.0017852783203125, -0.0098876953125, 0.01202392578125, 0.015625, -0.007720947265625, -0.01495361328125, -0.033935546875, 0.00982666015625, 0.0235595703125, 0.0034942626953125, -0.0059814453125, 0.0140380859375, -0.0147094726562...
[ 11249, 5423, 1257, 541, 113972, 23, 563, 4904, 26499, 17447, 425, 47, 130250, 101687, 1238, 3949, 3742, 459, 36659, 653, 4867, 71, 1181, 2775, 129073, 174842, 34139, 46480, 77635, 4527, 43240, 5885, 181653, 390, 1957, 140992, 102158, 3871, ...
[ 0.043609619140625, 0.140380859375, 0.1156005859375, 0.158203125, 0.283203125, 0.043548583984375, 0.10113525390625, 0.1837158203125, 0.173583984375, 0.098876953125, 0.1407470703125, 0.011932373046875, 0.16796875, 0.0810546875, 0.07305908203125, 0.01373291015625, 0.1519775390625, 0.1...
embed
5093887_c0
5093887
fsharp
0
Title: Debugging F# applications using Visual Studio Problem title: Debugging F# applications using Visual Studio Tags: visual-studio, .net, debugging, f%23 Problem: Debugging F# applications using Visual Studio I need to use Visual Studio in order to debug an F# application. What do I need to do? I know about the Entr...
Debugging F# applications using Visual Studio Debugging F# applications using Visual Studio visual-studio .net debugging f%23 Visual Debugging Studio EntryPoint Debugging F# applications using Visual Studio I need to use Visual Studio in order to debug an F# application. What do I need to do? I know about the EntryPoin...
[ 0.005828857421875, 0.004364013671875, -0.0142822265625, -0.006072998046875, 0.00015735626220703125, 0.00653076171875, -0.010009765625, 0.007049560546875, -0.004058837890625, -0.047119140625, 0.0220947265625, -0.00921630859375, -0.0029449462890625, 0.0255126953125, 0.0205078125, 0.00153...
[ 262, 978, 36659, 563, 4904, 86685, 17368, 73372, 22968, 21176, 52629, 1179, 8, 1238, 3742, 357, 15123, 147534, 3871, 4527, 85779, 38415, 54, 3714, 150380, 8781, 45367, 23, 582, 20605, 14192, 24233, 11435, 8110, 4568, 98352, 12989, 214493, 9...
[ 0.1629638671875, 0.2239990234375, 0.10125732421875, 0.141357421875, 0.2432861328125, 0.141357421875, 0.09527587890625, 0.230224609375, 0.2225341796875, 0.1551513671875, 0.1793212890625, 0.110595703125, 0.1793212890625, 0.075439453125, 0.0653076171875, 0.0931396484375, 0.1778564453125...
embed
32932197_c0
32932197
fsharp
0
Title: Filter array based on another array in f# Problem title: Filter array based on another array in f# Tags: f%23 Problem: Filter array based on another array in f# If I have two arrays let array1 = [|1;2;3;4|] let array2 = [|2;3|] how do i do a filter to just get all the elements in one from the other e.g Give me a...
Filter array based on another array in f# Filter array based on another array in f# f%23 Filter array1 array2 result3 Array.filter array1item array1item2 Array.exists Filter array based on another array in f# If I have two arrays how do i do a filter to just get all the elements in one from the other e.g Give me all th...
[ 0.0035400390625, 0.015869140625, -0.0147705078125, 0.00567626953125, 0.00811767578125, -0.002532958984375, -0.005279541015625, 0.0137939453125, 0.01025390625, -0.01007080078125, 0.0103759765625, 0.0289306640625, -0.01495361328125, 0.01007080078125, -0.00750732421875, -0.000291824340820...
[ 128896, 10298, 53, 35509, 15700, 1238, 4904, 3742, 304, 16750, 363, 69253, 120337, 195, 54376, 98, 765, 6626, 4778, 3642, 17, 54, 46312, 1660, 2046, 756, 80854, 1632, 1295, 3789, 77878, 163, 55769, 23, 116, 136, 138, 81887, 26785, 43240 ]
[ 0.28564453125, 0.2008056640625, 0.1162109375, 0.12841796875, 0.0863037109375, 0.09674072265625, 0.181884765625, 0.0823974609375, 0.09783935546875, 0.0821533203125, 0.010894775390625, 0.1041259765625, 0.1854248046875, 0.0057373046875, 0.134521484375, 0.0321044921875, 0.0233154296875, ...
embed
14374346_c2
14374346
fsharp
2
AddWeeks, DateOut, ExeDate.ToDateTimeExact, AddWorkDays, DateInString, DateIn.ToString, DateOutString, DateOut.ToString, FundMV, FundTicker, csvTable.AsEnumerable, Select, x:DataRow, x.Field, Ticker, ToArray, csvTable.Rows.Count-1, FundUnitPrice, Where, First, Field, FundShares, csvTable1.AsEnumerable, TMV, CSI300, CS...
AddWeeks, DateOut, ExeDate.ToDateTimeExact, AddWorkDays, DateInString, DateIn.ToString, DateOutString, DateOut.ToString, FundMV, FundTicker, csvTable.AsEnumerable, Select, x:DataRow, x.Field, Ticker, ToArray, csvTable.Rows.Count-1, FundUnitPrice, Where, First, Field, FundShares, csvTable1.AsEnumerable, TMV, CSI300, CS...
[ -0.015625, 0.00482177734375, -0.01483154296875, 0.031982421875, -0.023681640625, 0.002593994140625, 0.0003719329833984375, 0.020263671875, 0.0296630859375, 0.023193359375, -0.000701904296875, -0.003082275390625, 0.005859375, -0.01361083984375, 0.01025390625, 0.002532958984375, 0.0107...
[ 29117, 12137, 5447, 4, 25512, 79858, 5443, 13, 86291, 5, 7763, 70059, 19279, 47013, 108259, 97141, 4153, 71713, 214, 32897, 61922, 16734, 11050, 20763, 334, 618, 2886, 19659, 2606, 51620, 1022, 12, 137989, 12724, 434, 6159, 19388, 2371, 717...
[ 0.1793212890625, 0.1514892578125, 0.16162109375, 0.043212890625, 0.1346435546875, 0.2264404296875, 0.116943359375, 0.0963134765625, 0.16259765625, 0.03570556640625, 0.0970458984375, 0.1141357421875, 0.0780029296875, 0.154541015625, 0.1478271484375, 0.13671875, 0.1126708984375, 0.12...
embed
31873370_c1
31873370
fsharp
1
FsCheck' is not defined . What am I doing wrong? EDIT: Switching to .fsx (instead of .fs ) and removing the #if part works fine. With .fs it compiles but when running the .exe I get the following exception (I understand it means the .dll isn't bundled by default, in which case I wonder what the common practice is): Unh...
FsCheck' is not defined . What am I doing wrong? EDIT: Switching to .fsx (instead of .fs ) and removing the #if part works fine. With .fs it compiles but when running the .exe I get the following exception (I understand it means the .dll isn't bundled by default, in which case I wonder what the common practice is): Unh...
[ -0.01397705078125, -0.0050048828125, -0.00531005859375, 0.00030517578125, -0.0089111328125, 0.0213623046875, 0.00064849853515625, -0.017333984375, -0.01220703125, -0.0040283203125, 0.003692626953125, 0.0152587890625, 0.000926971435546875, -0.00170135498046875, 0.01104736328125, -0.0076...
[ 563, 7, 202567, 959, 61924, 71, 20594, 44691, 106101, 5, 17447, 425, 49146, 468, 3190, 2831, 43240, 5885, 17106, 9969, 1340, 51042, 46480, 25632, 131527, 28219, 1181, 18, 57134, 6259, 114977, 39210, 41361, 992, 79628, 5443, 63928, 12353, 17...
[ 0.169189453125, 0.132568359375, 0.34228515625, 0.08233642578125, 0.2127685546875, 0.083984375, 0.006561279296875, 0.0748291015625, 0.0579833984375, 0.0660400390625, 0.22607421875, 0.1429443359375, 0.01812744140625, 0.010040283203125, 0.1409912109375, 0.02947998046875, 0.005615234375,...
embed
64215272_c0
64215272
fsharp
0
Title: How to pass Discriminated Union as a parameter in a function? F# Problem title: How to pass Discriminated Union as a parameter in a function? F# Tags: f%23 Problem: How to pass Discriminated Union as a parameter in a function? F# How to pass a parameter in a function if the defined type is a Discriminated Union?...
How to pass Discriminated Union as a parameter in a function? F# How to pass Discriminated Union as a parameter in a function? F# f%23 How Discriminated Union Color ColorA ColorB IsColorBlue a:Color a.ColorB Color-Object How to pass Discriminated Union as a parameter in a function? F# How to pass a parameter in a funct...
[ -0.005401611328125, -0.009765625, 0.01214599609375, 0.01385498046875, -0.020263671875, -0.0030975341796875, -0.018798828125, -0.003997802734375, 0.00750732421875, 0.0120849609375, 0.020263671875, 0.019775390625, 0.0086669921875, 0.0101318359375, 0.004852294921875, -0.0106201171875, 0...
[ 11249, 47, 27875, 6206, 135421, 3674, 32528, 237, 171859, 23, 32354, 563, 4904, 10, 1238, 3949, 3742, 51193, 284, 571, 2071, 1484, 114567, 46471, 75161, 2174, 61924, 10644, 3444, 36746, 10576, 5423, 143802, 187040, 12765, 83, 57571 ]
[ 0.1085205078125, 0.060943603515625, 0.1842041015625, 0.07763671875, 0.2430419921875, 0.0870361328125, 0.257080078125, 0.08642578125, 0.2283935546875, 0.05963134765625, 0.1876220703125, 0.04248046875, 0.1065673828125, 0.02587890625, 0.05499267578125, 0.008331298828125, 0.1226806640625...
embed
29349152_c0
29349152
fsharp
0
Title: Cannot create list literal in F# Problem title: Cannot create list literal in F# Tags: compile-time-constant, constant-expression, f%23 Problem: Cannot create list literal in F# I have the following types type StatusCode = | OK = 200 | NoContent = 204 | MovedTemp = 301 | MovedPerm = 302 | SeeOther = 303 | NotMod...
Cannot create list literal in F# Cannot create list literal in F# compile-time-constant constant-expression f%23 ServerError Cannot StatusCode NoContent MovedTemp MovedPerm SeeOther NotModified NotFound Literal NoBodyAllowedStatusCodes StatusCode.NoContent StatusCode.NotModified Cannot create list literal in F# I have ...
[ 0.006134033203125, -0.00665283203125, -0.0126953125, -0.01141357421875, 0.0023956298828125, -0.0164794921875, -0.01446533203125, 0.00323486328125, -0.01031494140625, 0.0213623046875, -0.0172119140625, 0.002838134765625, 0.013671875, -0.006683349609375, 0.007568359375, 0.004486083984375...
[ 4171, 10869, 28282, 5303, 15659, 289, 23, 563, 4904, 9969, 1340, 6032, 42539, 53697, 204629, 1238, 3949, 3742, 22687, 18468, 31611, 56504, 114211, 438, 25352, 135828, 159065, 15277, 6872, 9319, 11205, 91616, 27591, 135940, 12647, 41566, 135206,...
[ 0.038238525390625, 0.1380615234375, 0.1802978515625, 0.2357177734375, 0.2110595703125, 0.1480712890625, 0.03228759765625, 0.1566162109375, 0.2208251953125, 0.1329345703125, 0.1412353515625, 0.1153564453125, 0.12939453125, 0.1597900390625, 0.171142578125, 0.086181640625, 0.00280761718...
embed
53696610_c0
53696610
fsharp
0
Title: F# function is good but not when called from main Problem title: F# function is good but not when called from main Tags: f%23 Problem: F# function is good but not when called from main I have F# function 'is_up' to ping the ip like below which works fine in FSI REPL (interactive), giving i.e. true for 8.8.8.8 an...
F# function is good but not when called from main F# function is good but not when called from main f%23 main Ping is_up t:int ip:string pingSender.Send IPAddress.Parse reply.Status IPStatus.Success EntryPoint Host F# function is good but not when called from main I have F# function 'is_up' to ping the ip like below wh...
[ -0.004638671875, 0.01397705078125, 0.0050048828125, 0.008544921875, -0.01953125, -0.004180908203125, 0.00750732421875, -0.0157470703125, -0.00604248046875, -0.00567626953125, 0.0035400390625, 0.017333984375, 0.0037078857421875, 0.017333984375, 0.020263671875, -0.00518798828125, 0.009...
[ 563, 4904, 32354, 83, 4127, 1284, 959, 3229, 35839, 1295, 5201, 1238, 3949, 3742, 135668, 2037, 808, 4288, 254, 91693, 33429, 23894, 3611, 8021, 28636, 75836, 135206, 114897, 102, 2143, 238, 26531, 357, 15123, 147534, 100932, 164, 454, 47, ...
[ 0.1573486328125, 0.259765625, 0.2081298828125, 0.1533203125, 0.1602783203125, 0.07366943359375, 0.151123046875, 0.0921630859375, 0.1624755859375, 0.1947021484375, 0.180908203125, 0.118896484375, 0.000732421875, 0.1387939453125, 0.2120361328125, 0.2308349609375, 0.0230255126953125, ...
embed
12478575_c0
12478575
fsharp
0
Title: Converting OCaml to F#: OCaml equivalent of F# spec, specifically initialization Problem title: Converting OCaml to F#: OCaml equivalent of F# spec, specifically initialization Tags: specifications, ocaml, f%23, documentation Problem: Converting OCaml to F#: OCaml equivalent of F# spec, specifically initializati...
Converting OCaml to F#: OCaml equivalent of F# spec, specifically initialization Converting OCaml to F#: OCaml equivalent of F# spec, specifically initialization specifications ocaml f%23 documentation Converting OCaml Converting OCaml to F#: OCaml equivalent of F# spec, specifically initialization In the process of co...
[ 0.007659912109375, -0.01055908203125, -0.003662109375, 0.006591796875, -0.0004596710205078125, -0.00830078125, 0.0038909912109375, -0.0208740234375, -0.00109100341796875, 0.035888671875, 0.01336669921875, 0.0093994140625, -0.0264892578125, 0.00482177734375, 0.01239013671875, -0.0088500...
[ 1657, 814, 1916, 180, 105272, 141, 47, 563, 4904, 183234, 48502, 183037, 61475, 47691, 71679, 36, 9779, 1238, 3949, 3742, 209806, 9433, 96760, 214, 60972, 88996, 3871, 28219, 22443, 189050, 5035, 758, 7663, 211603, 70, 4127, 60525, 2886, 74...
[ 0.0355224609375, 0.145263671875, 0.021942138671875, 0.1553955078125, 0.2203369140625, 0.1810302734375, 0.1123046875, 0.1524658203125, 0.236083984375, 0.14111328125, 0.1943359375, 0.03265380859375, 0.2332763671875, 0.1312255859375, 0.116943359375, 0.10443115234375, 0.14306640625, 0....
embed
20942150_c0
20942150
fsharp
0
Title: does multithread conflict with Map in F# Problem title: does multithread conflict with Map in F# Tags: f%23, block, dictionary, multithreading, parallel-processing Problem: does multithread conflict with Map in F# let len = 25000000 let map = Map.ofArray[|for i =1 to len do yield (i,i+1)|] let maparr = [|map;map...
does multithread conflict with Map in F# does multithread conflict with Map in F# f%23 block dictionary multithreading parallel-processing Map Map.ofArray i-1 Item Array.Parallel.map does multithread conflict with Map in F# I found that only one core is working at full speed be the code above . But what i except is all...
[ -0.01385498046875, -0.0019989013671875, -0.00396728515625, -0.003265380859375, -0.0250244140625, -0.0306396484375, 0.0027618408203125, 0.01214599609375, 0.002349853515625, -0.033935546875, 0.00335693359375, 0.03369140625, 0.000324249267578125, 0.005523681640625, 0.012451171875, -0.0053...
[ 14602, 3869, 65847, 712, 79612, 678, 42719, 23, 563, 4904, 1238, 3742, 46389, 10763, 11, 6238, 95103, 63923, 4390, 7092, 17, 5759, 78426, 69253, 53, 55292, 1229, 141, 62346, 14037, 4734, 1632, 56458, 20697, 99, 4393, 38352, 70, 18151, 404...
[ 0.087158203125, 0.187744140625, 0.2259521484375, 0.1324462890625, 0.247802734375, 0.11376953125, 0.259033203125, 0.047088623046875, 0.140869140625, 0.198974609375, 0.06549072265625, 0.1033935546875, 0.1097412109375, 0.0487060546875, 0.1005859375, 0.003173828125, 0.1646728515625, 0....
embed
45584514_c0
45584514
fsharp
0
Title: Unable to use namespace from project after including reference? F# C# Problem title: Unable to use namespace from project after including reference? F# C# Tags: c%23, f%23 Problem: Unable to use namespace from project after including reference? F# C# I'm following a guide from Tomas Petricek on pluralsight. I'm ...
Unable to use namespace from project after including reference? F# C# Unable to use namespace from project after including reference? F# C# c%23 f%23 project Unable Unable to use namespace from project after including reference? F# C# I'm following a guide from Tomas Petricek on pluralsight. I'm trying to make a C# uni...
[ -0.01708984375, 0.0458984375, 0.01214599609375, 0.0157470703125, -0.00628662109375, -0.008056640625, -0.00323486328125, -0.00689697265625, -0.006011962890625, -0.01422119140625, -0.0096435546875, -0.01287841796875, -0.0030670166015625, 0.018798828125, 0.00848388671875, -0.0072326660156...
[ 992, 2886, 4527, 210716, 1295, 13452, 7103, 26719, 91067, 563, 4904, 313, 3742, 1238, 25632, 17997, 92858, 41524, 97308, 22553, 31577, 25072, 3034, 150624, 35773, 154107, 831, 18, 2499, 959, 125296, 69723, 51347, 30388, 12921, 170846, 214, 13...
[ 0.06500244140625, 0.1494140625, 0.1612548828125, 0.3056640625, 0.1368408203125, 0.1744384765625, 0.1376953125, 0.1727294921875, 0.272216796875, 0.0950927734375, 0.2047119140625, 0.022613525390625, 0.09228515625, 0.04632568359375, 0.0140380859375, 0.0714111328125, 0.010833740234375, ...
embed
61842557_c0
61842557
fsharp
0
Title: F# type inference of generic type arguments with numeric suffix? Problem title: F# type inference of generic type arguments with numeric suffix? Tags: f%23 Problem: F# type inference of generic type arguments with numeric suffix? let lift2ResultFromMap2 f= // ('a -> 'b -> 'c) -> (Result<'a,'d list> -> Result<'b,...
F# type inference of generic type arguments with numeric suffix? F# type inference of generic type arguments with numeric suffix? f%23 map2 Result Error lift2ResultFromMap2 List.append F# type inference of generic type arguments with numeric suffix? While playing around with map, apply and such to better understand the...
[ 0.0012664794921875, -0.004302978515625, -0.0101318359375, 0.01409912109375, 0.013671875, 0.0028839111328125, -0.00518798828125, -0.00677490234375, 0.0157470703125, 0.0157470703125, -0.00531005859375, -0.0341796875, 0.00038909912109375, 0.00141143798828125, 0.0147705078125, -0.008850097...
[ 563, 4904, 10644, 53498, 6620, 189534, 10750, 678, 54744, 133784, 425, 238, 1238, 3742, 22288, 304, 126684, 212059, 60520, 7, 7136, 168407, 166179, 32036, 9007, 3611, 75169, 59911, 28219, 2822, 52895, 25632, 18151, 959, 186, 84751, 7464, 4324...
[ 0.118408203125, 0.18896484375, 0.1812744140625, 0.1767578125, 0.030059814453125, 0.203857421875, 0.180419921875, 0.05462646484375, 0.147705078125, 0.15380859375, 0.1124267578125, 0.043914794921875, 0.0716552734375, 0.1131591796875, 0.1468505859375, 0.1466064453125, 0.173095703125, ...
embed
17156901_c0
17156901
fsharp
0
Title: How can I get type information about a type created using the type provider framework Problem title: How can I get type information about a type created using the type provider framework Tags: type-providers, f%23 Problem: How can I get type information about a type created using the type provider framework I cr...
How can I get type information about a type created using the type provider framework How can I get type information about a type created using the type provider framework type-providers f%23 the How STable Tables.DTable Book1.xlsx Sheet1 How can I get type information about a type created using the type provider frame...
[ 0.022705078125, 0.0137939453125, -0.00360107421875, 0.0264892578125, -0.0123291015625, -0.018310546875, 0.01019287109375, -0.003997802734375, -0.002960205078125, -0.01373291015625, -0.000812530517578125, 0.01031494140625, -0.01361083984375, 0.002899169921875, 0.00194549560546875, 0.030...
[ 11249, 831, 2046, 10644, 4677, 1672, 75935, 17368, 81450, 170846, 93136, 14202, 16992, 2886, 112997, 27432, 4687, 64152, 23180, 44961, 3004, 150624, 183871, 30646, 12353, 75161 ]
[ 0.01483154296875, 0.01116943359375, 0.06463623046875, 0.2325439453125, 0.1595458984375, 0.028472900390625, 0.1053466796875, 0.006195068359375, 0.211669921875, 0.159912109375, 0.1424560546875, 0.086669921875, 0.08258056640625, 0.173828125, 0.1251220703125, 0.0185699462890625, 0.032684...
embed
29645184_c1
29645184
fsharp
1
: FighterOverallStatsInASpecificFight * FighterOverallStatsInASpecificFight; } let internal saveJsonToFile<'t> (someObject:'t) (filePath: string) = use fileStream = new FileStream(filePath, FileMode.OpenOrCreate) (new DataContractJsonSerializer(typeof<'t>)).WriteObject(fileStream, someObject) FightInfo, when saved in J...
: FighterOverallStatsInASpecificFight * FighterOverallStatsInASpecificFight; } let internal saveJsonToFile<'t> (someObject:'t) (filePath: string) = use fileStream = new FileStream(filePath, FileMode.OpenOrCreate) (new DataContractJsonSerializer(typeof<'t>)).WriteObject(fileStream, someObject) FightInfo, when saved in J...
[ 0.00640869140625, 0.0191650390625, 0.0084228515625, -0.0106201171875, -0.01324462890625, -0.0238037109375, -0.012451171875, -0.0027618408203125, 0.01068115234375, 0.049072265625, 0.0003795623779296875, 0.02001953125, 0.01007080078125, 0.017333984375, 0.0220947265625, 0.0032806396484375...
[ 106313, 56, 156673, 5584, 135206, 7, 4153, 47107, 14486, 919, 22553, 661, 2633, 70796, 30098, 1375, 1681, 7763, 174350, 18, 43452, 46471, 75161, 29822, 10519, 79315, 4527, 11435, 115061, 42724, 9083, 103264, 19060, 63784, 2182, 11809, 39989, ...
[ 0.265380859375, 0.107421875, 0.0894775390625, 0.13671875, 0.1951904296875, 0.0187225341796875, 0.1097412109375, 0.1806640625, 0.1708984375, 0.111572265625, 0.221923828125, 0.016082763671875, 0.049560546875, 0.17431640625, 0.1627197265625, 0.0968017578125, 0.166748046875, 0.10009765...
embed
15611972_c1
15611972
fsharp
1
to which "general construct" the async/await keywords relate to (my best guess is the continuation monad - after all, F# async is implemented using workflows, which to my understanding is a continuation monad), and how they relate to it (how they differ?, what is missing?, why there is a gap, if any?) I'm looking for ...
to which "general construct" the async/await keywords relate to (my best guess is the continuation monad - after all, F# async is implemented using workflows, which to my understanding is a continuation monad), and how they relate to it (how they differ?, what is missing?, why there is a gap, if any?) I'm looking for ...
[ -0.027099609375, 0.0137939453125, -0.003631591796875, -0.032958984375, -0.005218505859375, 0.01129150390625, -0.001800537109375, -0.007080078125, -0.0106201171875, -0.0184326171875, -0.005462646484375, -0.005401611328125, -0.0157470703125, 0.01263427734375, 0.012939453125, 0.0048828125...
[ 47, 180300, 64549, 10, 12654, 238, 64, 7978, 217, 166117, 33444, 2965, 57767, 9454, 1363, 2667, 712, 563, 4904, 29479, 17368, 4488, 118664, 100094, 129927, 132283, 15400, 2685, 43599, 16487, 35166, 8079, 62548, 64457, 75536, 2606, 56, 2886, ...
[ 0.01837158203125, 0.14990234375, 0.22265625, 0.0367431640625, 0.19189453125, 0.1072998046875, 0.0350341796875, 0.1829833984375, 0.2032470703125, 0.1846923828125, 0.0960693359375, 0.008026123046875, 0.0657958984375, 0.1593017578125, 0.0193023681640625, 0.095947265625, 0.135986328125, ...
embed
21051769_c0
21051769
fsharp
0
Title: Member variables in F# Problem title: Member variables in F# Tags: f%23 Problem: Member variables in F# let eval a b = let r = a + b printf "calculate.." r type Foo() = member this.Eval = eval 5 10 [<EntryPoint>] let main argv = let f = Foo() let a = f.Eval let b = f.Eval 0 This calls eval 2 times instead of one...
Member variables in F# Member variables in F# f%23 Member Foo this.Eval EntryPoint f.Eval Member variables in F# This calls eval 2 times instead of one time. It seems this.Eval is a function pointer that calls eval every time I call .Eval. What I really want to have is a variable. I solved it by doing this... Is this t...
[ 0.005645751953125, -0.01434326171875, 0.016845703125, -0.0106201171875, 0.00022029876708984375, -0.01318359375, 0.00433349609375, 0.0174560546875, 0.0033721923828125, -0.032958984375, -0.0098876953125, 0.0281982421875, 0.0205078125, 0.0196533203125, 0.0037841796875, -0.02783203125, -...
[ 74057, 77336, 23, 563, 4904, 1238, 3742, 9572, 31, 903, 647, 1405, 357, 15123, 147534, 7, 3293, 11782, 28, 116, 20028, 64457, 1632, 1733, 37202, 5, 83, 32354, 6275, 56, 11907, 6, 4865, 6183, 3444, 765, 10, 86869, 20594, 26785, 3917, 1...
[ 0.284423828125, 0.2822265625, 0.0210113525390625, 0.1549072265625, 0.231201171875, 0.1148681640625, 0.1636962890625, 0.160888671875, 0.097900390625, 0.1151123046875, 0.1400146484375, 0.2900390625, 0.062255859375, 0.158935546875, 0.1346435546875, 0.005767822265625, 0.000396728515625, ...
embed
33028830_c0
33028830
fsharp
0
Title: Establish Units of Measure Relationships With a Quantity of Another Unit Problem title: Establish Units of Measure Relationships With a Quantity of Another Unit Tags: units-of-measurement, f%23 Problem: Establish Units of Measure Relationships With a Quantity of Another Unit I realize that you can express relati...
Establish Units of Measure Relationships With a Quantity of Another Unit Establish Units of Measure Relationships With a Quantity of Another Unit units-of-measurement f%23 Establish Units Measure Relationships Quantity Another Unit length2 Establish Units of Measure Relationships With a Quantity of Another Unit I reali...
[ 0.004364013671875, 0.0247802734375, 0.003509521484375, -0.0036468505859375, -0.010498046875, -0.046630859375, 0.00836181640625, 0.00104522705078125, 0.039794921875, -0.007598876953125, -0.039306640625, 0.00604248046875, 0.00860595703125, -0.0177001953125, 0.005889892578125, -0.00091552...
[ 5685, 275, 15227, 46640, 111, 1215, 11, 56851, 116822, 16070, 17106, 75344, 2481, 116267, 25072, 4390, 37440, 3949, 3742, 140909, 304, 92154, 831, 36510, 151618, 678, 158208, 1884, 51339, 91084, 74481, 14432, 72350, 10644, 7722, 61924, 23, 76...
[ 0.1002197265625, 0.1363525390625, 0.089111328125, 0.2196044921875, 0.061553955078125, 0.1185302734375, 0.133056640625, 0.1165771484375, 0.164794921875, 0.1387939453125, 0.1185302734375, 0.09442138671875, 0.018402099609375, 0.128662109375, 0.2587890625, 0.161376953125, 0.115234375, ...
embed
3363184_c0
3363184
fsharp
0
Title: F#: how to elegantly select and group discriminated unions? Problem title: F#: how to elegantly select and group discriminated unions? Tags: f%23 Problem: F#: how to elegantly select and group discriminated unions? Say I have a list of shapes: type shape = | Circle of float | Rectangle of float * float let a = [...
F#: how to elegantly select and group discriminated unions? F#: how to elegantly select and group discriminated unions? f%23 Circle Rectangle List.exists seq.groupBy F#: how to elegantly select and group discriminated unions? Say I have a list of shapes: How can I then test e.g. a Circle exists in a? I could create a f...
[ -0.01239013671875, 0.004119873046875, 0.020751953125, 0.01318359375, -0.02294921875, -0.004547119140625, -0.01953125, 0.000865936279296875, 0.01116943359375, 0.02099609375, 0.0169677734375, 0.0216064453125, 0.00238037109375, -0.005523681640625, -0.00946044921875, 0.0034637451171875, ...
[ 563, 4904, 3642, 27650, 36849, 21115, 55970, 3674, 69941, 7, 1238, 3742, 163731, 14525, 133, 32036, 54376, 40, 864, 51588, 75358, 538, 136, 5303, 111, 115700, 11249, 831, 3034, 32316, 23, 10, 28282, 32354, 12638, 12319, 1286, 3917, 61924, ...
[ 0.1378173828125, 0.210693359375, 0.06695556640625, 0.16064453125, 0.1575927734375, 0.22509765625, 0.1939697265625, 0.061279296875, 0.17919921875, 0.07275390625, 0.05010986328125, 0.058563232421875, 0.2056884765625, 0.106689453125, 0.06585693359375, 0.1610107421875, 0.171630859375, ...
embed
16509587_c0
16509587
fsharp
0
Title: Why does Fsharp Interactive allow mutable variables to be captured by closures? Problem title: Why does Fsharp Interactive allow mutable variables to be captured by closures? Tags: f%23, mutable, closures, f%23-interactive Problem: Why does Fsharp Interactive allow mutable variables to be captured by closures? U...
Why does Fsharp Interactive allow mutable variables to be captured by closures? Why does Fsharp Interactive allow mutable variables to be captured by closures? f%23 mutable closures f%23-interactive Why Fsharp Interactive Why does Fsharp Interactive allow mutable variables to be captured by closures? Using an example f...
[ 0.01336669921875, 0.0072021484375, 0.02734375, 0.0016326904296875, 0.000881195068359375, 0.0115966796875, 0.017578125, 0.0111083984375, 0.011474609375, -0.004913330078125, -0.0152587890625, 0.004852294921875, 0.007781982421875, 0.008056640625, 0.051513671875, -0.0027618408203125, -0....
[ 44084, 563, 89280, 254, 5337, 71232, 63769, 842, 22819, 77336, 141621, 390, 170224, 1238, 3742, 27495, 10433, 14602, 27781, 37700, 27958, 4904, 17596, 35782, 84751, 59226, 71099, 14361, 32354, 3934, 93774, 3467, 43240 ]
[ 0.112060546875, 0.136962890625, 0.222412109375, 0.1795654296875, 0.151123046875, 0.1651611328125, 0.131103515625, 0.1348876953125, 0.1639404296875, 0.2059326171875, 0.16455078125, 0.0625, 0.2252197265625, 0.0771484375, 0.07037353515625, 0.03802490234375, 0.10150146484375, 0.0103149...
embed
10519390_c1
10519390
fsharp
1
it here without the full disclosure. The point I was trying to make was that I was not assigning constant values to identifiers but functions to identifiers. I only put in map func1 ["a"; "b"; "c"] to show that the functions were being generated as needed based on some input and not hardcoded. The real code builds log...
it here without the full disclosure. The point I was trying to make was that I was not assigning constant values to identifiers but functions to identifiers. I only put in map func1 ["a"; "b"; "c"] to show that the functions were being generated as needed based on some input and not hardcoded. The real code builds log...
[ 0.01556396484375, -0.0002593994140625, 0.0052490234375, 0.0224609375, 0.002593994140625, 0.0078125, 0.0026092529296875, 0.01361083984375, 0.0115966796875, -0.0216064453125, -0.024658203125, 0.0101318359375, 0.0037078857421875, 0.0169677734375, 0.0101318359375, -0.01422119140625, 0.00...
[ 442, 3688, 170224, 6275, 31577, 959, 95486, 53697, 142424, 42485, 1314, 32354, 47, 4734, 3884, 22288, 7477, 238, 418, 11, 275, 7639, 70, 8035, 139392, 237, 44841, 35509, 107730, 7941, 40899, 2773, 18151, 45367, 62775, 61404, 40226, 22230, 1...
[ 0.05999755859375, 0.00640869140625, 0.0164642333984375, 0.06591796875, 0.0248870849609375, 0.044158935546875, 0.1522216796875, 0.175048828125, 0.1595458984375, 0.20068359375, 0.06671142578125, 0.228515625, 0.057220458984375, 0.001007080078125, 0.023712158203125, 0.21044921875, 0.1898...
embed
36697300_c1
36697300
fsharp
1
. Thank you for taking the time to read this far. Code signals: ArgumentException, HttpStatusCode.InternalServerError, context.Exception, Why, IExceptionHandler, DefaultExceptionHandler, ex:Exception, HttpStatusCode, HttpStatusCode.BadRequest, x.HandleAsync, context:ExceptionHandlerContext, cancellationToken:Cancellati...
. Thank you for taking the time to read this far. Code signals: ArgumentException, HttpStatusCode.InternalServerError, context.Exception, Why, IExceptionHandler, DefaultExceptionHandler, ex:Exception, HttpStatusCode, HttpStatusCode.BadRequest, x.HandleAsync, context:ExceptionHandlerContext, cancellationToken:Cancellati...
[ -0.0159912109375, 0.050537109375, -0.01544189453125, -0.00518798828125, -0.00799560546875, 0.01177978515625, 0.01153564453125, -0.0260009765625, 0.003173828125, 0.01806640625, -0.006988525390625, -0.0185546875, 0.0032958984375, 0.01177978515625, 0.03125, -0.0045166015625, 0.017211914...
[ 6, 5, 25689, 398, 35971, 70, 1733, 12301, 903, 2060, 28864, 26073, 7, 12, 112140, 19279, 63928, 4, 572, 3062, 254, 135206, 223, 114211, 44851, 6236, 193348, 18468, 31611, 43701, 44084, 87, 135679, 603, 262, 1021, 7136, 1119, 157027, 75616...
[ 0.026519775390625, 0.1298828125, 0.0325927734375, 0.03375244140625, 0.036895751953125, 0.0130615234375, 0.10400390625, 0.0941162109375, 0.0141448974609375, 0.05938720703125, 0.27587890625, 0.298828125, 0.151611328125, 0.0906982421875, 0.26904296875, 0.069580078125, 0.22509765625, 0...
embed
27884496_c0
27884496
fsharp
0
Title: F# - &quot;self-filling&quot; type property Problem title: F# - &quot;self-filling&quot; type property Tags: c%23, f%23 Problem: F# - "self-filling" type property In C#, I can have this: public class A { ... private List<int> _items; public List<int> Items{ get { if (_items == null){ _items = DAL.FetchFromDB(); ...
F# - &quot;self-filling&quot; type property F# - &quot;self-filling&quot; type property c%23 f%23 List _items Items DAL.FetchFromDB F# - "self-filling" type property In C#, I can have this: This way, I can intantiate class A, and when I ask for Items I'm guaranteed to get it without explicitly having to fill the list. ...
[ 0.00897216796875, 0.004913330078125, 0.019775390625, -0.006561279296875, -0.0255126953125, 0.0208740234375, 0.01611328125, 0.003875732421875, 0.000812530517578125, -0.0033111572265625, 0.017333984375, 0.017333984375, -0.0174560546875, 0.016357421875, 0.00188446044921875, 0.005950927734...
[ 563, 4904, 20, 39379, 116115, 214, 10644, 57266, 3742, 1238, 32036, 1486, 4432, 78426, 63589, 919, 126, 206, 168407, 39463, 9, 313, 831, 765, 903, 3293, 3917, 23, 18211, 101426, 18507, 62, 3229, 26458, 100, 39, 142027, 2046, 15490, 143726...
[ 0.1751708984375, 0.2486572265625, 0.003997802734375, 0.192626953125, 0.1986083984375, 0.112060546875, 0.1680908203125, 0.224365234375, 0.079345703125, 0.044769287109375, 0.1502685546875, 0.1177978515625, 0.0284423828125, 0.189697265625, 0.0982666015625, 0.04156494140625, 0.0916748046...
embed
69137784_c0
69137784
fsharp
0
Title: Matching a character to a discriminated union Problem title: Matching a character to a discriminated union Tags: pattern-matching, discriminated-union, f%23 Problem: Matching a character to a discriminated union I created a discriminated union which has three possible options: type tool = | Hammer | Screwdriver ...
Matching a character to a discriminated union Matching a character to a discriminated union pattern-matching discriminated-union f%23 Matching Hammer Screwdriver Nail Tool.Hammer Tool.Screwdriver Tool.Nail Matching a character to a discriminated union I created a discriminated union which has three possible options: I ...
[ -0.01031494140625, 0.013671875, 0.0111083984375, 0.01031494140625, 0.0021820068359375, -0.0166015625, -0.01251220703125, 0.005035400390625, 0.01300048828125, -0.00823974609375, 0.0111083984375, -0.0076904296875, 0.004608154296875, 0.004791259765625, 0.0012359619140625, 0.00376892089843...
[ 67407, 214, 62816, 47, 55970, 3674, 69941, 103510, 98753, 87046, 1238, 3949, 3742, 121276, 38213, 36550, 33926, 56, 353, 379, 92285, 6495, 6947, 7612, 4645, 75935, 10, 17262, 7722, 50717, 1884, 14858, 11001, 1632, 55516, 35829, 54397, 32354, ...
[ 0.24365234375, 0.013214111328125, 0.185302734375, 0.09222412109375, 0.2103271484375, 0.1080322265625, 0.2178955078125, 0.1597900390625, 0.197509765625, 0.1484375, 0.018768310546875, 0.0313720703125, 0.1043701171875, 0.145751953125, 0.05120849609375, 0.0614013671875, 0.13232421875, ...
embed
9055837_c0
9055837
fsharp
0
Title: Difference between fold and reduce? Problem title: Difference between fold and reduce? Tags: reduce, functional-programming, fold, f%23 Problem: Difference between fold and reduce? Trying to learn F# but got confused when trying to distinguish between fold and reduce . Fold seems to do the same thing but takes a...
Difference between fold and reduce? Difference between fold and reduce? reduce functional-programming fold f%23 Difference List.reduce List.fold Difference between fold and reduce? Trying to learn F# but got confused when trying to distinguish between fold and reduce . Fold seems to do the same thing but takes an extra...
[ -0.005767822265625, -0.0023040771484375, 0.0145263671875, 0.0234375, -0.0026397705078125, 0.00958251953125, -0.017333984375, 0.01324462890625, 0.016357421875, -0.000522613525390625, 0.0208740234375, -0.0162353515625, 0.002105712890625, 0.01141357421875, -0.00153350830078125, -0.0011825...
[ 803, 18234, 6620, 17721, 42822, 136, 34390, 32, 123309, 28966, 1238, 3949, 3742, 32036, 107, 106357, 30698, 563, 4904, 55681, 157167, 1495, 30077, 71, 37202, 5701, 13580, 1284, 51776, 4173, 171859, 148436, 31635, 6097, 6626, 32354, 32316, 211...
[ 0.0711669921875, 0.173828125, 0.10400390625, 0.1029052734375, 0.276123046875, 0.0963134765625, 0.29150390625, 0.010345458984375, 0.138671875, 0.1168212890625, 0.05853271484375, 0.0270233154296875, 0.0941162109375, 0.1656494140625, 0.1365966796875, 0.170654296875, 0.0259246826171875, ...
embed
39350220_c0
39350220
fsharp
0
Title: F# Event Handler using XAML markup Problem title: F# Event Handler using XAML markup Tags: xaml, wpf, routedevent, handler, f%23 Problem: F# Event Handler using XAML markup Now that I have a Custom Routed Event , how can I specify a handler in XAML? <Window.Resources> <Style TargetType="Grid"> <Setter Property="...
F# Event Handler using XAML markup F# Event Handler using XAML markup xaml wpf routedevent handler f%23 XAML Event Handler Window.Resources Style TargetType Grid Setter Property funk:Tap.Handler Value Binding TapHandler F# Event Handler using XAML markup Now that I have a Custom Routed Event , how can I specify a handl...
[ 0.0093994140625, 0.0198974609375, 0.00421142578125, -0.004150390625, -0.018798828125, -0.01373291015625, 0.0185546875, -0.022216796875, 0.00897216796875, -0.04833984375, 0.01336669921875, -0.017333984375, 0.01385498046875, -0.0098876953125, 0, -0.00262451171875, -0.0029754638671875, ...
[ 563, 4904, 36943, 10639, 603, 17368, 65415, 39456, 1108, 11322, 2459, 7237, 148, 39557, 36439, 112, 16274, 35863, 1238, 3742, 176501, 60427, 57845, 160017, 196707, 31945, 503, 3055, 206984, 23884, 2631, 135679, 190060, 1843, 33770, 50266, 13066...
[ 0.123779296875, 0.1912841796875, 0.1907958984375, 0.1673583984375, 0.1544189453125, 0.052093505859375, 0.1522216796875, 0.2137451171875, 0.0819091796875, 0.1048583984375, 0.1190185546875, 0.1612548828125, 0.010467529296875, 0.1085205078125, 0.1402587890625, 0.045989990234375, 0.17956...
embed
6554933_c1
6554933
fsharp
1
Rand always outputs same number.") System.Console.WriteLine(getRand) System.Threading.Thread.Sleep(100) System.Console.WriteLine(getRand) System.Threading.Thread.Sleep(100) System.Console.WriteLine(getRand) System.Console.WriteLine() (* Outputs three "different" numbers to console *) System.Console.WriteLine( "GetRand2...
Rand always outputs same number.") System.Console.WriteLine(getRand) System.Threading.Thread.Sleep(100) System.Console.WriteLine(getRand) System.Threading.Thread.Sleep(100) System.Console.WriteLine(getRand) System.Console.WriteLine() (* Outputs three "different" numbers to console *) System.Console.WriteLine( "GetRand2...
[ 0.006256103515625, 0.0030364990234375, 0.01251220703125, -0.004486083984375, 0.00408935546875, 0.0025634765625, -0.002166748046875, -0.013916015625, 0.0013275146484375, -0.033447265625, 0.0108642578125, 0.040283203125, -0.009765625, -0.000007331371307373047, 0.00811767578125, -0.006713...
[ 39643, 11343, 140992, 5701, 14012, 18939, 12353, 40777, 18781, 93232, 3794, 1052, 2940, 39116, 133, 4517, 3559, 75402, 13538, 7077, 17262, 238778, 101935, 47, 130250, 724, 126, 304, 43240, 84751, 3853, 17932, 8473, 1176, 121, 39, 757, 11935, ...
[ 0.278076171875, 0.1474609375, 0.166259765625, 0.1683349609375, 0.12548828125, 0.002349853515625, 0.09210205078125, 0.1055908203125, 0.02191162109375, 0.1339111328125, 0.0992431640625, 0.216064453125, 0.25537109375, 0.09765625, 0.1015625, 0.106689453125, 0.1221923828125, 0.019042968...
embed
7947446_c1
7947446
fsharp
1
complexity as the corresponding naive version, but just uses a different kind of memory. This is the sort of a thing the compiler should not make me worry about in this day and age? While I would "prefer" a theoretical reason for why it is not possible to have a deep stack, we might as well discuss practical aspects t...
complexity as the corresponding naive version, but just uses a different kind of memory. This is the sort of a thing the compiler should not make me worry about in this day and age? While I would "prefer" a theoretical reason for why it is not possible to have a deep stack, we might as well discuss practical aspects t...
[ 0.004058837890625, 0.0218505859375, -0.00927734375, 0.00555419921875, 0.0028533935546875, -0.000423431396484375, -0.0017547607421875, 0.0047607421875, 0.000896453857421875, -0.018310546875, 0.00193023681640625, -0.01336669921875, 0.0142822265625, 0.0308837890625, -0.005157470703125, 0....
[ 27140, 2481, 237, 70, 42518, 214, 24, 5844, 11389, 1284, 1660, 4527, 7, 12921, 8562, 98323, 9969, 34759, 5608, 959, 90908, 903, 32070, 2875, 4524, 31635, 15400, 7722, 765, 53894, 177261, 45252, 138155, 128746, 10, 208806, 1286, 93766, 3917,...
[ 0.199951171875, 0.1021728515625, 0.06402587890625, 0.004608154296875, 0.07513427734375, 0.039031982421875, 0.1065673828125, 0.1851806640625, 0.16552734375, 0.06085205078125, 0.002349853515625, 0.1170654296875, 0.007598876953125, 0.1416015625, 0.09600830078125, 0.186279296875, 0.16210...
embed
37171392_c0
37171392
fsharp
0
Title: Using prior cases in case type signature Problem title: Using prior cases in case type signature Tags: self-reference, f%23, discriminated-union Problem: Using prior cases in case type signature I know that discriminated unions can refer to themselves, e.g. type Tree= | Node of Tree | Leaf but is there any means...
Using prior cases in case type signature Using prior cases in case type signature self-reference f%23 discriminated-union Using Tree Node Leaf Period Year Month Day Using prior cases in case type signature I know that discriminated unions can refer to themselves, e.g. but is there any means to refer to other cases in t...
[ -0.0059814453125, 0.01214599609375, -0.00811767578125, 0.036865234375, -0.00011348724365234375, -0.027587890625, -0.024658203125, 0.01171875, -0.00157928466796875, -0.019287109375, -0.0022430419921875, 0.01007080078125, -0.003875732421875, 0.007080078125, 0.0189208984375, 0.00241088867...
[ 345, 41928, 50218, 7225, 10644, 138256, 15970, 239879, 3742, 55970, 87046, 101344, 438, 112, 2407, 92329, 42552, 12982, 10013, 3674, 69941, 831, 15005, 61261, 2499, 26950, 47, 3789, 138804, 18499, 69085, 147, 959, 61924, 146794, 127, 8668, 22...
[ 0.07525634765625, 0.2022705078125, 0.189697265625, 0.19873046875, 0.20166015625, 0.203125, 0.10748291015625, 0.1666259765625, 0.07318115234375, 0.175048828125, 0.0965576171875, 0.1075439453125, 0.0550537109375, 0.0537109375, 0.07489013671875, 0.072021484375, 0.1273193359375, 0.0791...
embed
62336071_c0
62336071
fsharp
0
Title: Create, display, and save/export a plot/chart with .NET Core Problem title: Create, display, and save/export a plot/chart with .NET Core Tags: export, f%23, charts, .net-core, c%23 Problem: Create, display, and save/export a plot/chart with .NET Core I want to create, display, and save/export (to PNG format, for...
Create, display, and save/export a plot/chart with .NET Core Create, display, and save/export a plot/chart with .NET Core export f%23 charts .net-core c%23 Create NET Core XPlot.Plotly XPlot.GoogleCharts PlotlyChart GetHtml Create, display, and save/export a plot/chart with .NET Core I want to create, display, and save...
[ -0.000408172607421875, 0.0191650390625, 0.01055908203125, 0.03173828125, -0.0235595703125, -0.006866455078125, 0.01263427734375, -0.0257568359375, 0.00872802734375, 0.0283203125, 0.00933837890625, 0.00469970703125, -0.00653076171875, 0.0255126953125, 0.0252685546875, 0.021484375, 0.0...
[ 151313, 44116, 30098, 180758, 23577, 64, 9254, 18, 678, 5, 17777, 31365, 31255, 3742, 116287, 1179, 30854, 45005, 12631, 683, 538, 16630, 84068, 933, 168763, 20779, 841, 7237, 3444, 28282, 136, 436, 8066, 9384, 23, 130250, 38415, 2965, 3917...
[ 0.14794921875, 0.1514892578125, 0.147705078125, 0.1973876953125, 0.2398681640625, 0.091796875, 0.2244873046875, 0.1600341796875, 0.114013671875, 0.045257568359375, 0.177490234375, 0.232666015625, 0.19970703125, 0.06268310546875, 0.261474609375, 0.0830078125, 0.169921875, 0.05108642...
embed
39146044_c0
39146044
fsharp
0
Title: Parse Tanh in Math.NET Symbolics Problem title: Parse Tanh in Math.NET Symbolics Tags: mathnet-numerics, f%23, math.net, mathdotnet-symbolics, symbolic-math Problem: Parse Tanh in Math.NET Symbolics Does the MathNet.Symbolics.Infix parser have a way of identifying more complicated trig functions such as tanh? I ...
Parse Tanh in Math.NET Symbolics Parse Tanh in Math.NET Symbolics mathnet-numerics f%23 math.net mathdotnet-symbolics symbolic-math Parse Tanh Math.NET Symbolics MathNet.Symbolics Infix.parseOrUndefined LaTeX.format Parse Tanh in Math.NET Symbolics Does the MathNet.Symbolics.Infix parser have a way of identifying more ...
[ -0.01226806640625, 0.0186767578125, 0.00604248046875, 0.0233154296875, -0.00823974609375, 0.0123291015625, 0.03173828125, 0.01123046875, -0.0008087158203125, -0.012451171875, -0.0037994384765625, 0.006591796875, 0.0032958984375, -0.00020313262939453125, 0.004058837890625, 0.03662109375...
[ 2392, 184, 6505, 127, 23, 78804, 17777, 131899, 28021, 48909, 1179, 1238, 3742, 15464, 176726, 128201, 125458, 24447, 36846, 360, 55923, 2500, 19060, 1067, 5983, 10476, 1542, 51727, 65183, 4153, 366, 2189, 3917, 135812, 1286, 96704, 1927, 177...
[ 0.134033203125, 0.07525634765625, 0.2086181640625, 0.250244140625, 0.043701171875, 0.119384765625, 0.151611328125, 0.1900634765625, 0.092529296875, 0.06207275390625, 0.119140625, 0.012847900390625, 0.033966064453125, 0.009796142578125, 0.155517578125, 0.1663818359375, 0.0463562011718...
embed
51528902_c0
51528902
fsharp
0
Title: Are these two definitions identical or different Problem title: Are these two definitions identical or different Tags: recursion, f%23 Problem: Are these two definitions identical or different Looking at the following definitions: let rec extractOdds list = ​ match list with ​ | [] -> []​ | x::xs -> ​ if x%2=0 t...
Are these two definitions identical or different Are these two definitions identical or different recursion f%23 x::xs x::extractOdds x::rest Are these two definitions identical or different Looking at the following definitions: and I was wondering if the two are identical. Since, the first definition uses the recursiv...
[ -0.0021209716796875, 0.01409912109375, 0.030029296875, 0.0164794921875, 0.03076171875, 0.00799560546875, -0.007476806640625, 0.004547119140625, 0.0263671875, 0.0272216796875, 0.005401611328125, -0.0181884765625, 0.00396728515625, 0.0086669921875, 0.0194091796875, 0.01397705078125, 0....
[ 15901, 6097, 6626, 80934, 31943, 6827, 707, 12921, 195625, 1830, 1238, 3949, 3742, 1022, 425, 112779, 15390, 71115, 6468, 56644, 25632, 149016, 5117, 4527, 5844, 11782, 80560, 16065, 17932, 28282, 2633, 128239, 125663, 7, 2174, 125195, 17997, ...
[ 0.0282440185546875, 0.07318115234375, 0.1087646484375, 0.20263671875, 0.161376953125, 0.11572265625, 0.07244873046875, 0.197509765625, 0.2034912109375, 0.0880126953125, 0.07012939453125, 0.03765869140625, 0.0994873046875, 0.08074951171875, 0.044189453125, 0.156005859375, 0.0670166015...
embed
7241819_c0
7241819
fsharp
0
Title: Is there something better than System.Byte.Parse(&quot;0xAA&quot;) to get a single byte on F# and C# ? Problem title: Is there something better than System.Byte.Parse(&quot;0xAA&quot;) to get a single byte on F# and C# ? Tags: f%23, c%23, byte, .net Problem: Is there something better than System.Byte.Parse("0xAA...
Is there something better than System.Byte.Parse(&quot;0xAA&quot;) to get a single byte on F# and C# ? Is there something better than System.Byte.Parse(&quot;0xAA&quot;) to get a single byte on F# and C# ? f%23 c%23 byte .net System.Byte.Parse Is there something better than System.Byte.Parse("0xAA") to get a single byt...
[ -0.0162353515625, 0.00433349609375, 0.00714111328125, 0.0159912109375, -0.01068115234375, -0.01495361328125, 0.025390625, -0.0028076171875, 0.005126953125, -0.006927490234375, 0.01708984375, 0.00092315673828125, 0.0011138916015625, -0.002838134765625, 0.002349853515625, 0.0039672851562...
[ 2071, 9844, 11522, 3501, 12353, 5, 75358, 67, 28636, 184, 2389, 425, 15467, 2046, 11001, 390, 563, 4904, 136, 313, 98, 1238, 3949, 3742, 1179, 2685, 47, 44759, 20662, 12319, 11907, 6032, 9969, 34759, 366, 79315, 3444, 25379, 15659, 16765,...
[ 0.00872802734375, 0.0855712890625, 0.1790771484375, 0.107666015625, 0.1856689453125, 0.055023193359375, 0.1666259765625, 0.16796875, 0.189208984375, 0.1602783203125, 0.130126953125, 0.133544921875, 0.255126953125, 0.098876953125, 0.1514892578125, 0.139404296875, 0.1080322265625, 0....
embed
26357100_c0
26357100
fsharp
0
Title: Embed the sample files of F# JsonProvider to use in a library Problem title: Embed the sample files of F# JsonProvider to use in a library Tags: type-providers, f%23, f%23-data Problem: Embed the sample files of F# JsonProvider to use in a library According to this , you can specify samples as embedded resources...
Embed the sample files of F# JsonProvider to use in a library Embed the sample files of F# JsonProvider to use in a library type-providers f%23 f%23-data Embed JsonProvider Declaracion declaracion.json EmbeddedResource Irpf.Hechos Embed the sample files of F# JsonProvider to use in a library According to this , you can...
[ 0.0113525390625, 0.0240478515625, -0.0208740234375, 0.026611328125, -0.0196533203125, 0.0096435546875, -0.00167083740234375, 0.00567626953125, 0.00469970703125, -0.0302734375, 0.013671875, 0.0031280517578125, 0.00811767578125, 0.0203857421875, 0.011962890625, -0.0029449462890625, -0....
[ 2775, 13482, 121413, 102158, 563, 4904, 821, 1681, 177997, 62160, 47, 4527, 23, 35773, 10644, 93136, 1238, 3742, 27495, 10135, 98501, 6447, 21635, 170, 372, 69819, 60427, 6921, 39557, 13025, 48746, 1294, 40140, 237, 55720, 65514, 4332, 91067,...
[ 0.1053466796875, 0.252197265625, 0.187255859375, 0.1556396484375, 0.0794677734375, 0.137939453125, 0.159423828125, 0.1767578125, 0.150634765625, 0.1156005859375, 0.00213623046875, 0.0963134765625, 0.031005859375, 0.162841796875, 0.1170654296875, 0.13427734375, 0.049346923828125, 0....
embed
36220283_c0
36220283
fsharp
0
Title: Anything *else* similar to Haskell&#x27;s $ in F# other than &lt;|? Problem title: Anything *else* similar to Haskell&#x27;s $ in F# other than &lt;|? Tags: f%23 Problem: Anything *else* similar to Haskell's $ in F# other than <|? I know there's the back-pipe (<|) operator, referenced in several other SO answers...
Anything *else* similar to Haskell&#x27;s $ in F# other than &lt;|? Anything *else* similar to Haskell&#x27;s $ in F# other than &lt;|? f%23 Anything Haskell Seq.filter Seq.map x.ToString Anything *else* similar to Haskell's $ in F# other than <|? I know there's the back-pipe (<|) operator, referenced in several other ...
[ 0.00897216796875, 0.0299072265625, 0.02294921875, -0.00182342529296875, -0.013916015625, -0.01153564453125, 0.0012054443359375, 0.00104522705078125, 0.00970458984375, -0.0301513671875, 0.00836181640625, 0.0267333984375, 0.0087890625, -0.007293701171875, -0.00970458984375, 0.00271606445...
[ 28541, 64113, 661, 5557, 21373, 47, 20625, 142508, 3768, 3650, 23, 563, 4904, 3789, 1277, 3501, 1238, 3742, 503, 864, 120337, 62346, 1022, 7763, 71713, 4426, 58745, 4420, 1434, 1081, 16093, 39933, 91067, 71, 15969, 22027, 18, 4488, 5299, ...
[ 0.06591796875, 0.1221923828125, 0.026611328125, 0.1605224609375, 0.184814453125, 0.019012451171875, 0.1492919921875, 0.2490234375, 0.11767578125, 0.1590576171875, 0.04803466796875, 0.104736328125, 0.177001953125, 0.051971435546875, 0.038482666015625, 0.002716064453125, 0.088806152343...
embed
25307493_c0
25307493
fsharp
0
Title: Socket constructor missing Problem title: Socket constructor missing Tags: constructor-overloading, f%23, mono, overloading, sockets Problem: Socket constructor missing This program: open System.Net.Sockets let s = new Socket(SocketType.Stream, ProtocolType.Tcp) Fails with this error-message on mono: error FS050...
Socket constructor missing Socket constructor missing constructor-overloading f%23 mono overloading sockets Socket System.Net.Sockets SocketType.Stream ProtocolType.Tcp Socket constructor missing This program: Fails with this error-message on mono: And this error-message on TryF# : Documentation says otherwise . What a...
[ -0.006927490234375, 0.03662109375, -0.01080322265625, -0.01171875, 0.018798828125, -0.00921630859375, -0.01141357421875, 0.00384521484375, -0.0181884765625, -0.0038604736328125, 0.0213623046875, -0.02197265625, 0.0123291015625, -0.0052490234375, -0.01025390625, -0.02001953125, 0.0177...
[ 1061, 27853, 64549, 748, 132283, 5465, 63033, 1238, 3949, 3742, 22460, 645, 221, 12353, 24447, 8912, 7, 196707, 115061, 151607, 121422, 1528, 190355, 903, 18499, 74157, 429, 40858, 919, 4904, 43101, 2320, 17378, 120262, 444, 20594, 44691 ]
[ 0.1014404296875, 0.1978759765625, 0.214111328125, 0.17333984375, 0.1680908203125, 0.0927734375, 0.1531982421875, 0.0723876953125, 0.05450439453125, 0.13525390625, 0.219970703125, 0.07623291015625, 0.054473876953125, 0.005706787109375, 0.03485107421875, 0.033660888671875, 0.0145111083...
embed
31086071_c0
31086071
fsharp
0
Title: Forward type declaration with two files Problem title: Forward type declaration with two files Tags: f%23 Problem: Forward type declaration with two files I have two files. File 1: namespace A type A1() = // .... File 2: namespace A type A2() = // .... I can use A1 and A2 types in File 2, but I can see only A1 i...
Forward type declaration with two files Forward type declaration with two files f%23 Forward Forward type declaration with two files I have two files. File 1: File 2: I can use A1 and A2 types in File 2, but I can see only A1 in File 1. I think it is because compiler don't know about A2 when it is parsing File 1. Is th...
[ 0.039306640625, 0.0206298828125, -0.020263671875, 0.0267333984375, -0.0084228515625, 0.00341796875, 0.0005035400390625, -0.00174713134765625, -0.00165557861328125, -0.0025482177734375, -0.002593994140625, 0.018798828125, 0.005401611328125, 0.0267333984375, 0.00982666015625, 0.014099121...
[ 1326, 19364, 10644, 21635, 678, 6626, 102158, 1238, 3742, 765, 42724, 13806, 15573, 831, 4527, 62, 418, 304, 52895, 116, 1957, 4734, 23, 615, 9969, 34759, 3714, 366, 3917, 40225, 15549, 12989, 31344, 20174, 136, 84449, 166117, 959, 42564, ...
[ 0.1375732421875, 0.21142578125, 0.221435546875, 0.190673828125, 0.0911865234375, 0.2010498046875, 0.2127685546875, 0.0204315185546875, 0.06689453125, 0.0166473388671875, 0.170166015625, 0.0135498046875, 0.0633544921875, 0.036102294921875, 0.08837890625, 0.1390380859375, 0.09228515625...
embed
67455376_c0
67455376
fsharp
0
Title: Extending a record type with another record type in F# Problem title: Extending a record type with another record type in F# Tags: f%23, record Problem: Extending a record type with another record type in F# I have two record types: type Employee = { Id: string Name: string Phone: string } type AuditLog = { Perf...
Extending a record type with another record type in F# Extending a record type with another record type in F# f%23 record Extending Employee Name Phone AuditLog PerformedBy PerformedOn Abc Extending a record type with another record type in F# I have two record types: Following are instances of the record types: Is the...
[ 0.00274658203125, 0.01416015625, 0.01708984375, 0.03857421875, -0.004486083984375, -0.0120849609375, -0.03759765625, 0.0252685546875, -0.017578125, -0.0181884765625, 0.000568389892578125, 0.0179443359375, 0.0224609375, 0.010498046875, -0.0142822265625, -0.01080322265625, 0.0056762695...
[ 5443, 67, 33770, 17164, 10644, 678, 15700, 563, 4904, 1238, 3742, 365, 15757, 41761, 21679, 113972, 169033, 75358, 20320, 3157, 6626, 52895, 77168, 110527, 2499, 3917, 70163, 44457, 28282, 3525, 66, 45757, 10821, 1884, 70, 25632 ]
[ 0.09375, 0.143310546875, 0.0450439453125, 0.196044921875, 0.201171875, 0.0823974609375, 0.054595947265625, 0.097412109375, 0.1746826171875, 0.03961181640625, 0.106201171875, 0.00775146484375, 0.0215301513671875, 0.1112060546875, 0.10791015625, 0.116455078125, 0.115234375, 0.0232086...
embed
58923942_c0
58923942
fsharp
0
Title: Clarifying field types in F# Problem title: Clarifying field types in F# Tags: f%23, field Problem: Clarifying field types in F# After some practice with F#, I have still some points where I need to clear confusion: The question is specifically about fields in a type. This is what I understand and, some must be ...
Clarifying field types in F# Clarifying field types in F# f%23 field Clarifying this.x Clarifying field types in F# After some practice with F#, I have still some points where I need to clear confusion: The question is specifically about fields in a type. This is what I understand and, some must be wrong because the na...
[ 0.0032806396484375, 0.011474609375, 0.00531005859375, -0.0003719329833984375, 0.00909423828125, 0.005584716796875, 0.025390625, 0.007110595703125, 0.013671875, 0.0419921875, 0.00015354156494140625, 0.01007080078125, 0.00897216796875, 0.005401611328125, 0.01226806640625, -0.028076171875...
[ 313, 320, 151138, 44457, 52895, 23, 563, 4904, 1238, 3949, 3742, 903, 425, 41361, 34735, 169463, 9655, 183037, 10644, 28219, 8110, 44691, 147453, 10422, 7108, 14192, 23755 ]
[ 0.0152435302734375, 0.1407470703125, 0.10760498046875, 0.21826171875, 0.22509765625, 0.03875732421875, 0.123046875, 0.2222900390625, 0.06640625, 0.032073974609375, 0.12841796875, 0.061004638671875, 0.027984619140625, 0.036224365234375, 0.09454345703125, 0.0799560546875, 0.00445556640...
embed
410717_c0
410717
fsharp
0
Title: F# Seq module implemented in C# for IEnumerable? Problem title: F# Seq module implemented in C# for IEnumerable? Tags: f%23, c%23 Problem: F# Seq module implemented in C# for IEnumerable? F# has a bunch of standard sequence operators I have come to know and love from my experience with Mathematica. F# is getting...
F# Seq module implemented in C# for IEnumerable? F# Seq module implemented in C# for IEnumerable? f%23 c%23 Seq IEnumerable F# Seq module implemented in C# for IEnumerable? F# has a bunch of standard sequence operators I have come to know and love from my experience with Mathematica. F# is getting lots of my attention ...
[ 0.01239013671875, 0.003509521484375, 0.0125732421875, 0.006103515625, 0.00457763671875, -0.004913330078125, 0.0089111328125, 0.01239013671875, -0.006561279296875, -0.015625, -0.01141357421875, 0.0218505859375, -0.004364013671875, 0.0113525390625, -0.000823974609375, 0.006317138671875, ...
[ 563, 4904, 503, 864, 88996, 29479, 313, 75536, 2606, 56, 2886, 23, 1238, 3742, 100, 147306, 5570, 40, 944, 3956, 39933, 1380, 3714, 5161, 16981, 123426, 88875, 20949, 71358, 35743, 4537, 54452, 150661, 4527, 195409, 14373, 831, 6183, 36049,...
[ 0.155029296875, 0.2376708984375, 0.1575927734375, 0.2374267578125, 0.215576171875, 0.16455078125, 0.037139892578125, 0.06982421875, 0.1763916015625, 0.110107421875, 0.0999755859375, 0.0203399658203125, 0.0897216796875, 0.05780029296875, 0.00360107421875, 0.0341796875, 0.177978515625,...
embed
38206069_c0
38206069
fsharp
0
Title: How to extract a Record from a Generic Dictionary? Problem title: How to extract a Record from a Generic Dictionary? Tags: f%23 Problem: How to extract a Record from a Generic Dictionary? Through some API i get access to kind of Table in the form of a sequence of Gereric.Dictionary. Because the table has a schem...
How to extract a Record from a Generic Dictionary? How to extract a Record from a Generic Dictionary? f%23 a How Record Generic Dictionary System.Collections.Generic gd.Add Frank Person gd:Dictionary How to extract a Record from a Generic Dictionary? Through some API i get access to kind of Table in the form of a seque...
[ -0.0107421875, 0.006866455078125, 0.019287109375, 0.0098876953125, -0.0098876953125, -0.01165771484375, -0.0272216796875, 0.02001953125, 0.0089111328125, -0.00677490234375, -0.005096435546875, -0.013916015625, -0.00872802734375, 0.015869140625, 0.0152587890625, -0.01373291015625, 0.0...
[ 11249, 47, 125663, 10, 54877, 1295, 88342, 1771, 147638, 1238, 3949, 3742, 12353, 8996, 135932, 12259, 4028, 17819, 15270, 14055, 10763, 61687, 2046, 17203, 8562, 112997, 3173, 944, 8022, 56, 6635, 23180, 61903, 3444, 115923, 1810, 765, 32354...
[ 0.0989990234375, 0.0626220703125, 0.2393798828125, 0.04815673828125, 0.241455078125, 0.1214599609375, 0.2005615234375, 0.1650390625, 0.2496337890625, 0.007354736328125, 0.011199951171875, 0.06793212890625, 0.06854248046875, 0.036041259765625, 0.1102294921875, 0.089599609375, 0.061767...
embed
69223644_c2
69223644
fsharp
2
<cbc:Name>Item 1</cbc:Name> // </cac:Item> // </cac:InvoiceLine> // <cac:InvoiceLine> // Code signals: Using, XmlProvider, System, System.Xml.Linq, FSharp.Data, XNamespace.Get, urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2, urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2...
<cbc:Name>Item 1</cbc:Name> // </cac:Item> // </cac:InvoiceLine> // <cac:InvoiceLine> // Code signals: Using, XmlProvider, System, System.Xml.Linq, FSharp.Data, XNamespace.Get, urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2, urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2...
[ 0.01806640625, -0.00396728515625, 0.026611328125, 0.0267333984375, 0.0198974609375, 0.0152587890625, -0.00101470947265625, -0.005035400390625, -0.0001659393310546875, -0.00182342529296875, -0.010498046875, 0.010009765625, 0.00128936767578125, -0.0120849609375, -0.00421142578125, 0.0078...
[ 65037, 163612, 2740, 568, 2982, 106, 4666, 6, 42946, 408, 238, 12, 4153, 965, 2980, 93232, 28864, 26073, 7, 345, 6953, 1193, 7237, 177997, 62160, 12353, 1542, 44982, 3467, 254, 137989, 4, 65421, 724, 2780, 31, 41413, 11627, 159975, 34, ...
[ 0.1375732421875, 0.06396484375, 0.00372314453125, 0.1212158203125, 0.2437744140625, 0.173095703125, 0.07373046875, 0.018768310546875, 0.0178375244140625, 0.0823974609375, 0.07403564453125, 0.030975341796875, 0.1376953125, 0.27734375, 0.19482421875, 0.2415771484375, 0.287109375, 0.2...
embed
36782413_c0
36782413
fsharp
0
Title: Arithmetic casting to generic type in F# Problem title: Arithmetic casting to generic type in F# Tags: f%23, casting, generics Problem: Arithmetic casting to generic type in F# I try to write a function which does a generic casting for arithmetic types, for example a function which receives an argument of type u...
Arithmetic casting to generic type in F# Arithmetic casting to generic type in F# f%23 casting generics Arithmetic uint64 x:uint64 Unchecked.defaultof uint32 Arithmetic casting to generic type in F# I try to write a function which does a generic casting for arithmetic types, for example a function which receives an arg...
[ -0.019287109375, 0.00457763671875, 0.01275634765625, -0.004791259765625, -0.0113525390625, -0.016357421875, -0.015625, 0.00159454345703125, -0.000774383544921875, 0.0033721923828125, -0.0186767578125, -0.0281982421875, -0.004180908203125, 0.00994873046875, 0.01080322265625, -0.01635742...
[ 1172, 8962, 282, 176050, 47, 189534, 10644, 23, 563, 4904, 9523, 1238, 3742, 75, 4288, 13307, 1022, 34, 78292, 214810, 4390, 6460, 9790, 33022, 32354, 100, 187, 52895, 53299, 10750, 96760, 5701, 171859, 6528, 18151, 14602, 959, 9969, 1340, ...
[ 0.05072021484375, 0.16796875, 0.08245849609375, 0.232177734375, 0.1163330078125, 0.259033203125, 0.2196044921875, 0.028839111328125, 0.1439208984375, 0.239990234375, 0.010284423828125, 0.07904052734375, 0.0909423828125, 0.05792236328125, 0.1131591796875, 0.189208984375, 0.03094482421...
embed
51033390_c0
51033390
fsharp
0
Title: need to take the earliest date of each month Problem title: need to take the earliest date of each month Tags: f%23 Problem: need to take the earliest date of each month I have a dataset with dates shown below. I need to take the earliest date from each month for all years. How would I go about doing this? [(1/2...
need to take the earliest date of each month need to take the earliest date of each month f%23 Datacsv.GetSample Rows Seq.map TermStructure.fsx FS0001 CsvProvider Row need to take the earliest date of each month I have a dataset with dates shown below. I need to take the earliest date from each month for all years. How...
[ 0.013671875, -0.0191650390625, -0.0184326171875, 0.0128173828125, -0.0079345703125, -0.0084228515625, -0.00335693359375, 0.02734375, 0.011474609375, 0.009521484375, -0.010009765625, -0.00156402587890625, 0.015380859375, -0.01104736328125, 0.0084228515625, 0.01385498046875, -0.0142211...
[ 3871, 47, 5646, 70, 67896, 150, 525, 5622, 111, 12638, 31150, 3742, 11809, 4439, 334, 5464, 33209, 96190, 864, 62346, 2994, 71713, 18190, 17447, 425, 93774, 188735, 313, 67756, 177997, 62160, 2053, 3509, 112474, 127887, 35064, 1295, 756, 53...
[ 0.14697265625, 0.082275390625, 0.157470703125, 0.0268707275390625, 0.161865234375, 0.1429443359375, 0.153076171875, 0.1446533203125, 0.06640625, 0.145263671875, 0.191650390625, 0.0728759765625, 0.0738525390625, 0.04656982421875, 0.171142578125, 0.05047607421875, 0.1566162109375, 0....
embed
533633_c0
533633
fsharp
0
Title: Seq.unfold explanation in F# Problem title: Seq.unfold explanation in F# Tags: seq.unfold, f%23 Problem: Seq.unfold explanation in F# I am trying to create a sequence lazily by using F#. The sequence is defined as follows: The nth term of the sequence of triangle numbers is given by, tn = ½n(n+1); so the first t...
Seq.unfold explanation in F# Seq.unfold explanation in F# seq.unfold f%23 Seq.unfold tri_seq Some Seq.unfold explanation in F# I am trying to create a sequence lazily by using F#. The sequence is defined as follows: Here is what I have so far but it dosn't seem to work: Thank you very much who can help me figure out ho...
[ 0.01422119140625, 0.015625, 0.023681640625, 0.01239013671875, 0.00104522705078125, -0.006622314453125, -0.00151824951171875, -0.00634765625, 0.01263427734375, -0.01239013671875, 0.005645751953125, 0.00799560546875, 0.005523681640625, 0.0101318359375, 0.004974365234375, 0.023681640625, ...
[ 503, 864, 309, 42822, 187136, 23, 563, 4904, 5, 40, 1238, 3742, 1927, 184, 31384, 31577, 28282, 944, 3956, 21, 708, 17368, 61924, 28960, 11853, 765, 2060, 48903, 4488, 5045, 831, 4358, 26366, 1810, 3642, 51, 43240, 35166, 26785, 73197, ...
[ 0.0980224609375, 0.2021484375, 0.1265869140625, 0.273193359375, 0.229248046875, 0.023834228515625, 0.1241455078125, 0.2021484375, 0.0255279541015625, 0.0926513671875, 0.04571533203125, 0.049713134765625, 0.1339111328125, 0.1065673828125, 0.0145416259765625, 0.044158935546875, 0.08679...
embed
46514781_c0
46514781
fsharp
0
Title: Type Synonyms in FSharp Problem title: Type Synonyms in FSharp Tags: domain-driven-design, f%23 Problem: Type Synonyms in FSharp If I declare a type in FSharp like this: type Dog = {Id:int;Name;String} and I want to create a synonym in the code base type Pooch = {Id:int;Name;String} and I want to use either type...
Type Synonyms in FSharp Type Synonyms in FSharp domain-driven-design f%23 Type Synonyms FSharp Dog Id:int Name Pooch Type Synonyms in FSharp If I declare a type in FSharp like this: and I want to create a synonym in the code base and I want to use either type interchangably. Sometimes "Dog" and sometimes "Pooch". I was...
[ 0.001129150390625, 0.0220947265625, -0.007110595703125, 0.0159912109375, -0.01019287109375, 0.0038909912109375, -0.00054931640625, 0.0172119140625, -0.005035400390625, -0.0169677734375, -0.006622314453125, 0.01806640625, 0.00732421875, -0.00640869140625, -0.01068115234375, 0.0172119140...
[ 60457, 19010, 45757, 93774, 3467, 254, 77758, 33926, 34198, 3742, 41129, 24799, 4288, 15757, 663, 3581, 159978, 10644, 3444, 28282, 164661, 18151, 3647, 4527, 40101, 1940, 90965, 160193, 397, 1663, 7192, 47644, 30563, 61353, 3334, 50081, 831, ...
[ 0.2181396484375, 0.1357421875, 0.1920166015625, 0.07904052734375, 0.1756591796875, 0.180908203125, 0.0511474609375, 0.05865478515625, 0.1495361328125, 0.048614501953125, 0.1632080078125, 0.099609375, 0.0826416015625, 0.04083251953125, 0.0986328125, 0.1763916015625, 0.13427734375, 0...
embed
31790777_c0
31790777
fsharp
0
Title: Troubleshoot the SqlProgrammabilityProvider Problem title: Troubleshoot the SqlProgrammabilityProvider Tags: f%23, fsharp.data.sqlclient Problem: Troubleshoot the SqlProgrammabilityProvider I can't seem to get the SqlProgrammabilityProvider to work even in the most basic configuration. With this code type TestDb...
Troubleshoot the SqlProgrammabilityProvider Troubleshoot the SqlProgrammabilityProvider f%23 fsharp.data.sqlclient Troubleshoot SqlProgrammabilityProvider TestDb fsharp.data.sqlclient Troubleshoot the SqlProgrammabilityProvider I can't seem to get the SqlProgrammabilityProvider to work even in the most basic configurat...
[ 0.024658203125, 0.01202392578125, -0.0018310546875, 0.00958251953125, -0.040771484375, 0.0281982421875, -0.0308837890625, -0.01007080078125, 0.00106048583984375, -0.01165771484375, 0.00121307373046875, -0.017333984375, 0.01123046875, -0.005767822265625, -0.0179443359375, 0.003997802734...
[ 119671, 2661, 105727, 159, 99247, 172895, 41159, 177997, 62160, 3742, 1238, 89280, 254, 10135, 222978, 8647, 397, 275, 48903, 4488, 62822, 180346, 18151, 4331, 58875, 1340, 6032, 18499, 34292, 707, 64549, 748, 111337, 83, 959, 61924, 3034, 11...
[ 0.1162109375, 0.0966796875, 0.1583251953125, 0.051605224609375, 0.222412109375, 0.1923828125, 0.0823974609375, 0.170166015625, 0.15087890625, 0.07183837890625, 0.080322265625, 0.1644287109375, 0.1307373046875, 0.051849365234375, 0.1728515625, 0.2161865234375, 0.1038818359375, 0.185...
embed
4133742_c0
4133742
fsharp
0
Title: Referencing FSharp.Core from Visual Web Developer Express Problem title: Referencing FSharp.Core from Visual Web Developer Express Tags: .net, c%23, f%23 Problem: Referencing FSharp.Core from Visual Web Developer Express I need to reference FSharp.Core to a Visual Web Developer Express project (C#), but for some...
Referencing FSharp.Core from Visual Web Developer Express Referencing FSharp.Core from Visual Web Developer Express .net c%23 f%23 Visual Referencing FSharp.Core Web Developer Express Program Files Referenced Assemblies Referencing FSharp.Core from Visual Web Developer Express I need to reference FSharp.Core to a Visua...
[ -0.005340576171875, 0.0341796875, -0.006866455078125, -0.01190185546875, 0.002166748046875, 0.000492095947265625, -0.0162353515625, 0.0196533203125, -0.001220703125, -0.03173828125, 0.00909423828125, 0.0057373046875, -0.00872802734375, 0.01446533203125, 0.007232666015625, -0.0161132812...
[ 853, 69988, 214, 93774, 3467, 254, 5, 50886, 13, 1295, 73372, 4002, 152774, 25129, 1179, 3742, 7663, 42724, 215996, 151169, 3871, 91067, 47, 13452, 4904, 18158, 284, 4028, 22027, 18, 32316, 17777, 5303, 33938, 23708, 148968, 7413, 23937, 70...
[ 0.07806396484375, 0.245361328125, 0.004058837890625, 0.1129150390625, 0.1923828125, 0.188232421875, 0.0479736328125, 0.2054443359375, 0.1322021484375, 0.0567626953125, 0.150146484375, 0.0618896484375, 0.1329345703125, 0.1727294921875, 0.10205078125, 0.06591796875, 0.06463623046875, ...
embed
42842035_c0
42842035
fsharp
0
Title: F# Define function to act as delegate to .net Action Problem title: F# Define function to act as delegate to .net Action Tags: delegates, f%23 Problem: F# Define function to act as delegate to .net Action in System.Activities.WorkflowApplication there is a delegate property: public Action<WorkflowApplicationComp...
F# Define function to act as delegate to .net Action F# Define function to act as delegate to .net Action delegates f%23 Define Action WorkflowApplicationCompletedEventArgs Completed myInst.Completed F# Define function to act as delegate to .net Action in System.Activities.WorkflowApplication there is a delegate proper...
[ -0.0264892578125, -0.0120849609375, 0.0003833770751953125, -0.0084228515625, -0.017578125, 0.016845703125, 0.0037689208984375, 0.0029449462890625, 0.0108642578125, 0.00946044921875, 0.006072998046875, 0.0145263671875, -0.0135498046875, 0.0004787445068359375, 0.000606536865234375, -0.00...
[ 563, 4904, 262, 64552, 32354, 47, 27992, 237, 102329, 13, 1179, 57945, 1238, 3949, 3742, 27985, 118664, 47677, 182867, 108161, 133, 3674, 192134, 7614, 9405, 168318, 759, 271, 12353, 164414, 108259, 57266, 1528, 2060, 77336, 110527, 18507, 34...
[ 0.146728515625, 0.1976318359375, 0.028961181640625, 0.1478271484375, 0.231201171875, 0.1064453125, 0.1590576171875, 0.0887451171875, 0.29296875, 0.1522216796875, 0.1676025390625, 0.190673828125, 0.079833984375, 0.0176849365234375, 0.1256103515625, 0.04669189453125, 0.206787109375, ...
embed
44176992_c0
44176992
fsharp
0
Title: Auth key for private GitHub repo with Paket Problem title: Auth key for private GitHub repo with Paket Tags: github, paket, f%23 Problem: Auth key for private GitHub repo with Paket The paket docs show how to reference a private GitHub repo but the config docs section isn't particularly illuminating on the parti...
Auth key for private GitHub repo with Paket Auth key for private GitHub repo with Paket github paket f%23 Auth GitHub Paket github.com api.github.com Auth key for private GitHub repo with Paket The paket docs show how to reference a private GitHub repo but the config docs section isn't particularly illuminating on the ...
[ 0.004486083984375, 0.031005859375, 0.00994873046875, -0.0179443359375, -0.00982666015625, 0.01556396484375, -0.0018157958984375, 0.0008392333984375, -0.0145263671875, 0.007720947265625, 0.0108642578125, -0.0322265625, -0.01470947265625, 0.0164794921875, -0.02392578125, -0.0087280273437...
[ 5655, 927, 22799, 100, 14375, 527, 217, 140505, 93392, 678, 50867, 62270, 32102, 13360, 1238, 3949, 3742, 277, 31470, 15769, 54, 7639, 3642, 91067, 153837, 106480, 166116, 17311, 5423, 1257, 724, 26824, 9077, 903, 17368, 237, 10750, 43824, ...
[ 0.2127685546875, 0.2010498046875, 0.2017822265625, 0.032958984375, 0.1929931640625, 0.0941162109375, 0.15283203125, 0.226318359375, 0.2034912109375, 0.0789794921875, 0.26953125, 0.1436767578125, 0.201416015625, 0.2232666015625, 0.0249786376953125, 0.029083251953125, 0.110595703125, ...
embed
3501616_c0
3501616
fsharp
0
Title: F#: explicit type parameters in operator binding Problem title: F#: explicit type parameters in operator binding Tags: generics, type-parameter, explicit, f%23, operators Problem: F#: explicit type parameters in operator binding I'm trying to define operator with the explicit type parameters and constraints: let...
F#: explicit type parameters in operator binding F#: explicit type parameters in operator binding generics type-parameter explicit f%23 operators obj.ReferenceEquals F#: explicit type parameters in operator binding I'm trying to define operator with the explicit type parameters and constraints: It works well in F# 2.0,...
[ 0.01129150390625, 0.0081787109375, 0.01708984375, 0.00020885467529296875, 0.0048828125, -0.00823974609375, 0.0030975341796875, -0.0036773681640625, -0.0031890869140625, -0.0079345703125, 0.010986328125, -0.019287109375, 0.01177978515625, -0.00286865234375, -0.0133056640625, -0.01171875...
[ 563, 4904, 143726, 10644, 171859, 23, 39933, 128239, 189534, 6276, 29089, 1238, 3949, 3742, 995, 170, 4332, 69988, 71723, 31577, 61924, 678, 158, 2816, 4288, 43240, 5299, 16655, 1284, 27489, 7108, 3917, 54, 10750, 29458, 2320, 80934, 165164, ...
[ 0.1190185546875, 0.184326171875, 0.229736328125, 0.207275390625, 0.2003173828125, 0.009857177734375, 0.235107421875, 0.171875, 0.1624755859375, 0.07061767578125, 0.08056640625, 0.057220458984375, 0.016021728515625, 0.09130859375, 0.09320068359375, 0.104736328125, 0.006195068359375, ...
embed
545326_c1
545326
fsharp
1
data to buffer too big. This would imply offloading some of the processing to the FPGA - at least the bits that don't require user input. Unfortunately, the only pre-processing algorithm is a Kalman filter, which is difficult to implement with an FPGA, from what I have googled. I'd be very greatful for any feedback yo...
data to buffer too big. This would imply offloading some of the processing to the FPGA - at least the bits that don't require user input. Unfortunately, the only pre-processing algorithm is a Kalman filter, which is difficult to implement with an FPGA, from what I have googled. I'd be very greatful for any feedback yo...
[ 0.03515625, 0.002899169921875, -0.018310546875, -0.0194091796875, -0.00457763671875, 0.0052490234375, 0.0211181640625, 0.00823974609375, 0.0050048828125, -0.01007080078125, -0.01123046875, -0.026611328125, -0.0024261474609375, 0.005828857421875, -0.016357421875, 0.00836181640625, -0....
[ 2053, 47, 373, 18234, 5792, 6957, 2806, 21980, 5773, 63033, 3060, 9433, 51006, 14849, 19713, 4785, 18, 64209, 38937, 107730, 185397, 70, 4734, 479, 63923, 214, 234873, 8059, 669, 46312, 34844, 29479, 678, 26484, 58269, 161521, 14018, 3956, ...
[ 0.17138671875, 0.077880859375, 0.12841796875, 0.21240234375, 0.106201171875, 0.155029296875, 0.03350830078125, 0.0170745849609375, 0.0982666015625, 0.088134765625, 0.0550537109375, 0.0716552734375, 0.1610107421875, 0.1961669921875, 0.035919189453125, 0.09259033203125, 0.0123291015625...
embed
33857835_c0
33857835
fsharp
0
Title: Discriminated Union initialization Problem title: Discriminated Union initialization Tags: f%23 Problem: Discriminated Union initialization Is there a simpler way to initialize this deck of cards using F#? let create() = [ 0..12 ] type Suit = | Spades of list<int> | Hearts of list<int> | Clubs of list<int> | Dia...
Discriminated Union initialization Discriminated Union initialization f%23 Discriminated Union Suit Spades Hearts Clubs Diamonds Discriminated Union initialization Is there a simpler way to initialize this deck of cards using F#? Specifically, I would like to simplify the initialization of these four suits. Is there a ...
[ -0.00653076171875, 0.016845703125, 0.0022125244140625, -0.007568359375, -0.006591796875, -0.02783203125, -0.0101318359375, -0.01141357421875, 0.012451171875, 0.00823974609375, 0.01300048828125, 0.025390625, 0.0216064453125, 0.00616455078125, -0.0111083984375, -0.007415771484375, 0.02...
[ 6206, 135421, 3674, 32528, 61475, 47691, 1238, 3949, 3742, 1832, 217, 10959, 988, 60861, 7, 7687, 69124, 8781, 42, 3917, 20650, 903, 8, 2594, 111, 126381, 17368, 563, 4904, 1884, 112892, 18929, 6097, 22759, 60813, 87, 189085, 52895, 55970, ...
[ 0.0732421875, 0.20947265625, 0.0821533203125, 0.23388671875, 0.2020263671875, 0.1044921875, 0.080810546875, 0.0726318359375, 0.17626953125, 0.1453857421875, 0.045318603515625, 0.1490478515625, 0.1390380859375, 0.1552734375, 0.015411376953125, 0.1717529296875, 0.185302734375, 0.0948...
embed
5915092_c0
5915092
fsharp
0
Title: Is there any way to force load a module when it is opened through FSI? Problem title: Is there any way to force load a module when it is opened through FSI? Tags: f%23, f%23-interactive Problem: Is there any way to force load a module when it is opened through FSI? If I compile the following module into a dll na...
Is there any way to force load a module when it is opened through FSI? Is there any way to force load a module when it is opened through FSI? f%23 f%23-interactive FSI MyNs SomeModule MyNs.SomeModule Is there any way to force load a module when it is opened through FSI? If I compile the following module into a dll then...
[ -0.0008087158203125, -0.00408935546875, -0.007568359375, -0.001983642578125, -0.01141357421875, -0.00408935546875, 0.01409912109375, -0.002899169921875, -0.002227783203125, -0.0262451171875, 0.00152587890625, 0.0135498046875, 0.00360107421875, -0.015625, 0.01171875, -0.0189208984375, ...
[ 2685, 2499, 3917, 47, 37772, 72367, 88996, 3229, 142096, 8305, 563, 9902, 1238, 3742, 10433, 2646, 839, 7, 31384, 91616, 8782, 282, 9969, 1340, 25632, 3934, 81717, 91067, 71924, 75101, 9803, 83279, 13, 214, 14602, 959, 28412, 109312, 17203,...
[ 0.0152435302734375, 0.074462890625, 0.112060546875, 0.031951904296875, 0.2352294921875, 0.252197265625, 0.263427734375, 0.0789794921875, 0.1734619140625, 0.120849609375, 0.1771240234375, 0.2413330078125, 0.01568603515625, 0.0450439453125, 0.0291748046875, 0.1419677734375, 0.157470703...
embed
65854858_c0
65854858
fsharp
0
Title: Can you represent a closed network at compile time in F#? Problem title: Can you represent a closed network at compile time in F#? Tags: f%23 Problem: Can you represent a closed network at compile time in F#? I'm wanting to represent a directed network graph that is closed, e.g. where the edges would look like: ...
Can you represent a closed network at compile time in F#? Can you represent a closed network at compile time in F#? f%23 Can Can you represent a closed network at compile time in F#? I'm wanting to represent a directed network graph that is closed, e.g. where the edges would look like: Where each node has a predefined ...
[ -0.00182342529296875, 0.0028533935546875, -0.005157470703125, 0.021240234375, -0.01141357421875, 0.0057373046875, -0.0235595703125, 0.006561279296875, -0.0034637451171875, -0.0087890625, -0.02197265625, -0.04052734375, 0.004425048828125, 0.019775390625, 0.0115966796875, 0.0098876953125...
[ 4171, 398, 33636, 155738, 33120, 99, 9969, 1340, 1733, 23, 563, 4904, 10, 1238, 3742, 3444, 8951, 297, 41382, 83, 121303, 2806, 6713, 1884, 12638, 110, 112, 1653, 5983, 107003, 37067, 450, 116, 1286, 40715, 61924, 5303, 988, 28282, 7722, ...
[ 0.105712890625, 0.0268402099609375, 0.2464599609375, 0.2340087890625, 0.2103271484375, 0.0797119140625, 0.1717529296875, 0.1707763671875, 0.1632080078125, 0.0887451171875, 0.1517333984375, 0.239501953125, 0.034515380859375, 0.039794921875, 0.042327880859375, 0.0167083740234375, 0.133...
embed
42562307_c0
42562307
fsharp
0
Title: Microsoft Collections for .NET Problem title: Microsoft Collections for .NET Tags: .net, priority-queue, f%23, collections, c%23 Problem: Microsoft Collections for .NET .NET comes with some built in collections (stack, queue, dictionary, list etc.) but others common collections, like priority queues, are missing...
Microsoft Collections for .NET Microsoft Collections for .NET .net priority-queue f%23 collections c%23 Microsoft Collections NET System.Collections.Immutable Microsoft Collections for .NET .NET comes with some built in collections (stack, queue, dictionary, list etc.) but others common collections, like priority queue...
[ 0.004058837890625, 0.0224609375, 0.006011962890625, -0.009765625, -0.006256103515625, 0.009033203125, 0.002655029296875, -0.01214599609375, 0.01239013671875, 0.020263671875, 0.0106201171875, 0.035400390625, 0.021484375, 0.0079345703125, 0.0111083984375, 0.004730224609375, -0.00094223...
[ 7244, 68220, 7, 100, 5, 17777, 1179, 25343, 53, 944, 13388, 1238, 3742, 42486, 12353, 78457, 8996, 5256, 61637, 561, 22819, 678, 3060, 88303, 23, 590, 41, 45, 10763, 5303, 27060, 39210, 21049, 132283, 5941, 50960, 19085, 35773, 10484, 142...
[ 0.188720703125, 0.2454833984375, 0.047515869140625, 0.06097412109375, 0.059173583984375, 0.2003173828125, 0.1529541015625, 0.208740234375, 0.059814453125, 0.09173583984375, 0.0877685546875, 0.027496337890625, 0.04559326171875, 0.2210693359375, 0.13037109375, 0.1075439453125, 0.154052...
embed
77408139_c0
77408139
fsharp
0
Title: How to disable auto inline type comments/hints in Visual Studio Code for F#? Problem title: How to disable auto inline type comments/hints in Visual Studio Code for F#? Tags: f%23, ionide, visual-studio-code Problem: How to disable auto inline type comments/hints in Visual Studio Code for F#? How to get rid of o...
How to disable auto inline type comments/hints in Visual Studio Code for F#? How to disable auto inline type comments/hints in Visual Studio Code for F#? f%23 ionide visual-studio-code How Visual Studio Printf.TextWriterFormat settings.json FSharp.inlayHints.enabled FSharp.inlayHints.disableLongTooltip editor.inlayHint...
[ -0.0028533935546875, -0.0089111328125, -0.00122833251953125, -0.005157470703125, -0.01171875, 0.018310546875, -0.01287841796875, 0.016357421875, -0.00168609619140625, 0.006103515625, -0.0026092529296875, 0.01177978515625, 0.0130615234375, 0.0166015625, 0.006988525390625, -0.00017642974...
[ 11249, 2837, 2886, 1809, 23, 2256, 10644, 24626, 4505, 933, 73372, 22968, 28864, 563, 4904, 1238, 3742, 45339, 2506, 21176, 52629, 40899, 39754, 420, 174379, 2783, 102973, 53550, 170, 1681, 3467, 254, 73, 5259, 20861, 93774, 16037, 3827, 40...
[ 0.03216552734375, 0.1016845703125, 0.166748046875, 0.1724853515625, 0.08013916015625, 0.133056640625, 0.1546630859375, 0.1988525390625, 0.178955078125, 0.04730224609375, 0.1756591796875, 0.160400390625, 0.129638671875, 0.087158203125, 0.1387939453125, 0.0258331298828125, 0.0060729980...
embed
60158587_c0
60158587
fsharp
0
Title: How to add Format config file to VSCode workspace using Ionide Problem title: How to add Format config file to VSCode workspace using Ionide Tags: visual-studio-code, ionide, f%23, code-formatting Problem: How to add Format config file to VSCode workspace using Ionide I want to add specific workspace setting for...
How to add Format config file to VSCode workspace using Ionide How to add Format config file to VSCode workspace using Ionide visual-studio-code ionide f%23 code-formatting Ionide How Format VSCode fantomas-config.json How to add Format config file to VSCode workspace using Ionide I want to add specific workspace setti...
[ -0.0050048828125, 0.01220703125, -0.012939453125, 0.009521484375, -0.0091552734375, 0.00201416015625, 0.005523681640625, 0.0184326171875, -0.0016632080078125, 0.004425048828125, 0.0157470703125, 0.001007080078125, -0.0115966796875, 0.008544921875, 0.00262451171875, -0.012451171875, -...
[ 11249, 15190, 60972, 153837, 11435, 47, 44160, 114211, 4488, 65421, 17368, 37859, 2506, 21176, 52629, 40899, 45339, 1238, 3742, 18151, 51727, 1207, 188, 1510, 170, 1681, 29458, 53550, 1916, 563, 4904, 7, 38115, 10770, 131801, 11213, 720, 8060...
[ 0.00799560546875, 0.1256103515625, 0.27685546875, 0.26708984375, 0.1431884765625, 0.03753662109375, 0.189453125, 0.2415771484375, 0.1129150390625, 0.159423828125, 0.00970458984375, 0.221435546875, 0.216064453125, 0.1654052734375, 0.1524658203125, 0.1429443359375, 0.159423828125, 0....
embed
59018038_c0
59018038
fsharp
0
Title: In F# when should I use List.choose and when to use List.filter Problem title: In F# when should I use List.choose and when to use List.filter Tags: f%23 Problem: In F# when should I use List.choose and when to use List.filter I have just been doing a CodeWars exercise - "create a function that takes a list of n...
In F# when should I use List.choose and when to use List.filter In F# when should I use List.choose and when to use List.filter f%23 List.choose List.filter In F# when should I use List.choose and when to use List.filter I have just been doing a CodeWars exercise - "create a function that takes a list of non-negative i...
[ -0.0123291015625, -0.005615234375, 0.01513671875, 0.0038299560546875, -0.0184326171875, 0.004364013671875, -0.001190185546875, 0.01177978515625, 0.01275634765625, 0.03955078125, 0.01416015625, -0.048828125, 0.00014972686767578125, 0.005828857421875, -0.0166015625, 0.0078125, 0.020141...
[ 360, 563, 4904, 3229, 5608, 4527, 32036, 5, 3089, 8364, 120337, 1238, 3742, 87, 28864, 71947, 7, 81979, 7612, 32354, 51776, 5303, 351, 3331, 892, 79315, 30646, 3525, 46312, 1810, 29806, 11814, 165523, 121303, 50218, 31943, 11389, 117176, 16...
[ 0.0265045166015625, 0.12646484375, 0.1822509765625, 0.08209228515625, 0.036163330078125, 0.09173583984375, 0.238037109375, 0.0740966796875, 0.146484375, 0.180419921875, 0.252685546875, 0.05303955078125, 0.0657958984375, 0.001495361328125, 0.08258056640625, 0.1356201171875, 0.03045654...
embed
42773779_c0
42773779
fsharp
0
Title: Does F# have a foldList function? Problem title: Does F# have a foldList function? Tags: f%23, fold Problem: Does F# have a foldList function? Mathematica and perhaps other languages have a foldList function. It is very much like fold but instead of returning only the final computed value it returns every interm...
Does F# have a foldList function? Does F# have a foldList function? f%23 fold Does Mathematica Seq.head List.fold List.rev Does F# have a foldList function? Mathematica and perhaps other languages have a foldList function. It is very much like fold but instead of returning only the final computed value it returns every...
[ -0.005218505859375, 0.0177001953125, 0.01434326171875, -0.00001049041748046875, -0.0162353515625, 0.0089111328125, -0.00482177734375, 0.017822265625, -0.00677490234375, -0.03125, 0.0172119140625, -0.00018215179443359375, -0.015869140625, 0.0096435546875, 0.0137939453125, 0.005065917968...
[ 101790, 563, 4904, 765, 42822, 154663, 32354, 10, 1238, 3949, 3742, 123426, 88875, 503, 864, 31251, 32036, 65381, 95134, 46876, 4552, 5045, 1884, 64457, 30646, 2704, 7077, 34292, 11907, 81814, 7941, 33022, 23, 6044, 93766, 208124, 71864, 1178...
[ 0.0254974365234375, 0.140380859375, 0.218505859375, 0.05804443359375, 0.250732421875, 0.27783203125, 0.2249755859375, 0.048797607421875, 0.0902099609375, 0.0205230712890625, 0.126953125, 0.08477783203125, 0.1781005859375, 0.055633544921875, 0.14111328125, 0.1400146484375, 0.177612304...
embed
53575824_c1
53575824
fsharp
1
+1) (s.Add(head)) (tail) | true -> head let data = input.Trim().Split('\n') |> Seq.map int |> Seq.toList |> cycle accumusum data |> findfreqcycle 0 Set.empty As far as I can tell, the core ideas behind each code sample are more or less the same. The input is eagerly parsed only once, with a generator function/sequence ...
+1) (s.Add(head)) (tail) | true -> head let data = input.Trim().Split('\n') |> Seq.map int |> Seq.toList |> cycle accumusum data |> findfreqcycle 0 Set.empty As far as I can tell, the core ideas behind each code sample are more or less the same. The input is eagerly parsed only once, with a generator function/sequence ...
[ -0.000766754150390625, 0.012451171875, -0.002899169921875, 0.0252685546875, -0.01019287109375, 0.00970458984375, 0.000579833984375, 0.01007080078125, 0.0091552734375, -0.05126953125, 0.013427734375, 0.02783203125, -0.008056640625, 0.0216064453125, 0.025390625, 0.01129150390625, -0.00...
[ 57157, 7, 4028, 31251, 46741, 29568, 10336, 2633, 2053, 107730, 74257, 39, 31923, 4353, 503, 864, 62346, 18, 188, 154663, 105823, 61689, 2647, 316, 7413, 12176, 75457, 757, 19943, 33548, 56458, 25647, 50155, 12638, 18151, 121413, 5701, 33730,...
[ 0.175048828125, 0.012603759765625, 0.135986328125, 0.1910400390625, 0.2318115234375, 0.1546630859375, 0.1846923828125, 0.0701904296875, 0.130615234375, 0.1826171875, 0.1044921875, 0.062255859375, 0.0145721435546875, 0.131591796875, 0.0185394287109375, 0.12939453125, 0.08721923828125,...
embed