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
14671106_c0
14671106
fsharp
0
Title: F# function parameters Problem title: F# function parameters Tags: f%23 Problem: F# function parameters I have 2 lines of code here: let stuff _ _ = MessageBox.Show("This is doing stuff") |> ignore let stuffHandler = new EventHandler(stuff) I just started with F# and would like to know why the code does not comp...
F# function parameters F# function parameters f%23 MessageBox.Show EventHandler F# function parameters I have 2 lines of code here: I just started with F# and would like to know why the code does not compile if I remove underscores from stuff variable? As far as I know underscore means to ignore something so what shoul...
[ -0.008544921875, 0.00897216796875, 0.001678466796875, -0.01422119140625, -0.0264892578125, -0.00445556640625, 0.0206298828125, -0.0177001953125, -0.0067138671875, -0.0155029296875, 0.00762939453125, -0.01312255859375, 0.006378173828125, 0.0206298828125, 0.0089111328125, -0.030517578125...
[ 563, 4904, 32354, 171859, 1238, 3742, 48205, 4588, 72295, 168660, 36943, 135679, 603, 116, 124519, 18151, 3688, 26859, 678, 1884, 3714, 15400, 14602, 959, 9969, 1340, 87388, 1379, 12064, 2109, 1295, 41884, 77336, 7, 30854, 26950, 47, 124962, ...
[ 0.1376953125, 0.2166748046875, 0.1798095703125, 0.19775390625, 0.09033203125, 0.1300048828125, 0.0771484375, 0.0287628173828125, 0.129638671875, 0.10302734375, 0.1407470703125, 0.10626220703125, 0.10150146484375, 0.0648193359375, 0.07537841796875, 0.170166015625, 0.005035400390625, ...
embed
6959374_c0
6959374
fsharp
0
Title: F# unbox<int> returns obj Problem title: F# unbox<int> returns obj Tags: fsi, f%23 Problem: F# unbox returns obj Perhaps a silly question, but why does the return value from unbox appear (in my F# Interactive session) to be typed as obj instead of the concrete type int ? As far as I can understand (t...
F# unbox<int> returns obj F# unbox<int> returns obj fsi f%23 F# unbox returns obj Perhaps a silly question, but why does the return value from unbox appear (in my F# Interactive session) to be typed as obj instead of the concrete type int ? As far as I can understand (trying to apply existing knowledge from...
[ 0.01318359375, 0.00244140625, 0.0228271484375, -0.0036468505859375, 0.00042724609375, -0.01239013671875, -0.00089263916015625, -0.00616455078125, -0.00323486328125, 0.01312255859375, -0.0008544921875, -0.01220703125, 0.01409912109375, 0.0048828125, 0.02001953125, -0.01513671875, 0.00...
[ 563, 4904, 51, 11728, 1277, 4288, 5386, 30646, 995, 170, 1238, 172, 3742, 12097, 15400, 34292, 108975, 5337, 71232, 56002, 10644, 71, 237, 64457, 122776, 23, 18, 28219, 59911, 144573, 51359, 442, 7464, 16530, 297, 89536 ]
[ 0.1136474609375, 0.162109375, 0.1275634765625, 0.254150390625, 0.00982666015625, 0.119384765625, 0.057647705078125, 0.19580078125, 0.17626953125, 0.215087890625, 0.0538330078125, 0.0928955078125, 0.099853515625, 0.0462646484375, 0.0860595703125, 0.1334228515625, 0.0877685546875, 0....
embed
8451268_c1
8451268
fsharp
1
M, 1.8M); ("C", 3.0M, 1.5M) are not qualified for this condition, as 2.0M -> 1.8M -> 1.5M is in descending order, not in ascending order. Finally, I want to get the last tuples of the 3 tuples which qualified for the conditions. In the above example, I want the final tuple is ("A", 3.0M, -1.5M) let final = [| ("A", 3.0...
M, 1.8M); ("C", 3.0M, 1.5M) are not qualified for this condition, as 2.0M -> 1.8M -> 1.5M is in descending order, not in ascending order. Finally, I want to get the last tuples of the 3 tuples which qualified for the conditions. In the above example, I want the final tuple is ("A", 3.0M, -1.5M) let final = [| ("A", 3.0...
[ 0.010986328125, 0.019287109375, 0.00201416015625, 0.0186767578125, -0.00537109375, -0.00064849853515625, 0.021484375, 0.013427734375, 0.0390625, 0.03466796875, 0.002685546875, -0.004364013671875, 0.01220703125, -0.0006103515625, -0.006195068359375, 0.000301361083984375, -0.0046081542...
[ 276, 79875, 594, 3142, 441, 17596, 22410, 959, 217225, 100, 903, 35431, 16655, 23, 60887, 12989, 82800, 201106, 3444, 2046, 4568, 370, 99726, 138, 27289, 27781, 4, 2704, 8705, 284, 42876, 2633, 6, 621, 1286, 70, 3871, 12921, 5117, 79315, ...
[ 0.094482421875, 0.1475830078125, 0.132080078125, 0.032318115234375, 0.009857177734375, 0.1697998046875, 0.130859375, 0.0828857421875, 0.196044921875, 0.009185791015625, 0.03387451171875, 0.2061767578125, 0.126708984375, 0.00506591796875, 0.1060791015625, 0.148193359375, 0.08178710937...
embed
9379043_c0
9379043
fsharp
0
Title: Namespace aliasing in F#? Problem title: Namespace aliasing in F#? Tags: alias, f%23, namespaces Problem: Namespace aliasing in F#? I have a name clashing problem while opening some .Net assemblies in my F# code using open System.IO The only option I found and use now is to provide the full names of types for co...
Namespace aliasing in F#? Namespace aliasing in F#? alias f%23 namespaces Namespace System.IO Namespace aliasing in F#? I have a name clashing problem while opening some .Net assemblies in my F# code using The only option I found and use now is to provide the full names of types for conflicting types, but this is a lit...
[ -0.005859375, 0.0196533203125, 0.0172119140625, 0.00142669677734375, -0.005828857421875, -0.0076904296875, -0.00811767578125, 0.00860595703125, -0.0184326171875, 0.02294921875, -0.00775146484375, 0.0185546875, 0.037109375, -0.004425048828125, -0.00057220458984375, -0.006134033203125, ...
[ 2096, 109164, 55109, 214, 23, 563, 4904, 32, 1238, 3949, 3742, 210716, 12353, 17780, 87, 765, 9351, 26580, 54700, 2967, 73432, 5, 24447, 89845, 7121, 18151, 4734, 35829, 14037, 4527, 22691, 4393, 123055, 52895, 79612, 10176, 4785, 3017, 207...
[ 0.1370849609375, 0.2200927734375, 0.2230224609375, 0.1005859375, 0.0849609375, 0.151611328125, 0.215087890625, 0.04150390625, 0.1109619140625, 0.0309906005859375, 0.125732421875, 0.1719970703125, 0.0523681640625, 0.1219482421875, 0.00177001953125, 0.007537841796875, 0.1500244140625, ...
embed
18680497_c0
18680497
fsharp
0
Title: How can I pass an Option value along? Problem title: How can I pass an Option value along? Tags: f%23 Problem: How can I pass an Option value along? I am wondering if there is a way to pass an Option value along from the matching pattern without recreating it? var funA x = Some(x) var funB x = match funA x with ...
How can I pass an Option value along? How can I pass an Option value along? f%23 How Option Some Recreating Can Whatever How can I pass an Option value along? I am wondering if there is a way to pass an Option value along from the matching pattern without recreating it?
[ 0.01007080078125, 0.0140380859375, 0.008056640625, -0.00909423828125, 0.0062255859375, -0.036865234375, -0.01611328125, -0.01495361328125, 0.013427734375, -0.02685546875, 0.01141357421875, 0.02197265625, -0.000553131103515625, 0.0126953125, 0.02099609375, 0.02197265625, 0.00024127960...
[ 11249, 831, 87, 27875, 142, 86769, 34292, 33233, 1238, 3949, 3742, 31384, 853, 129147, 449, 4171, 4865, 30441, 149016, 10, 3917, 47, 1295, 14858, 214, 103510, 15490, 89011, 1916 ]
[ 0.123779296875, 0.120849609375, 0.0997314453125, 0.1883544921875, 0.06494140625, 0.287109375, 0.2130126953125, 0.2388916015625, 0.0305023193359375, 0.050262451171875, 0.099609375, 0.0609130859375, 0.05279541015625, 0.1290283203125, 0.046783447265625, 0.100830078125, 0.021697998046875...
embed
20720203_c0
20720203
fsharp
0
Title: Partial function application with List.map Problem title: Partial function application with List.map Tags: f%23 Problem: Partial function application with List.map I am currently reading Programming in F# 3.0 and I read that F# supports partial function application. But if I try List.map (+1) [1 .. 10];; Then I ...
Partial function application with List.map Partial function application with List.map f%23 Partial List.map FS0001 Partial function application with List.map I am currently reading Programming in F# 3.0 and I read that F# supports partial function application. But if I try Then I get error FS0001: This expression was e...
[ -0.0078125, 0.0174560546875, 0.00982666015625, -0.005889892578125, -0.012451171875, 0.01019287109375, -0.00145721435546875, -0.0220947265625, -0.002044677734375, -0.0205078125, 0.01446533203125, -0.03076171875, 0.006500244140625, 0.022705078125, 0.01019287109375, -0.0135498046875, 0....
[ 9148, 289, 32354, 38415, 678, 32036, 5, 62346, 1238, 3949, 3742, 93774, 188735, 16454, 27958, 563, 4904, 17596, 8060, 2878, 9790, 18499, 3293, 125195, 509, 84751, 765, 10644, 11, 33079, 275, 1284, 16498, 1022, 997, 4879, 68252, 1468, 209, ...
[ 0.1934814453125, 0.1043701171875, 0.1802978515625, 0.158935546875, 0.058502197265625, 0.228515625, 0.0460205078125, 0.264404296875, 0.06951904296875, 0.0313720703125, 0.159912109375, 0.1607666015625, 0.258056640625, 0.0220184326171875, 0.040740966796875, 0.091552734375, 0.16613769531...
embed
7290893_c0
7290893
fsharp
0
Title: Is there an API for verifying the MSIL of a dynamic assembly at runtime? Problem title: Is there an API for verifying the MSIL of a dynamic assembly at runtime? Tags: cil, f%23, .net, c%23, peverify Problem: Is there an API for verifying the MSIL of a dynamic assembly at runtime? When using Reflection.Emit to bu...
Is there an API for verifying the MSIL of a dynamic assembly at runtime? Is there an API for verifying the MSIL of a dynamic assembly at runtime? cil f%23 .net c%23 peverify API MSIL Reflection.Emit Is there an API for verifying the MSIL of a dynamic assembly at runtime? When using Reflection.Emit to build an assembly ...
[ -0.0174560546875, 0.00445556640625, 0.0233154296875, 0.0284423828125, -0.01171875, 0.0030975341796875, -0.0118408203125, 0.0159912109375, -0.01190185546875, -0.0198974609375, 0.0191650390625, 0.0235595703125, 0.00994873046875, -0.0002460479736328125, -0.003448486328125, 0.018310546875,...
[ 2685, 142, 61687, 100, 493, 151138, 70, 276, 68785, 84079, 10, 89845, 38526, 99, 11675, 6032, 13003, 1238, 3742, 1179, 280, 814, 40383, 53295, 133, 10763, 647, 4007, 111, 17368, 5, 45367, 1884, 8108, 47, 17116, 17051, 15896, 1284, 6044 ]
[ 0.0277252197265625, 0.069580078125, 0.2626953125, 0.02264404296875, 0.185546875, 0.1776123046875, 0.0457763671875, 0.12060546875, 0.2861328125, 0.2281494140625, 0.02899169921875, 0.2093505859375, 0.123291015625, 0.095947265625, 0.140869140625, 0.170166015625, 0.1240234375, 0.004821...
embed
13662481_c1
13662481
fsharp
1
/fsharp-3.0.24/lib/release/2.1/FSharp.Core.dll to the cache: gac directories could not be created, possibly permission issues.make[2]: *** [install-lib-4] Error 1 and the dir mentioned as installation point is owned by the root user ➜ pwd /Library/Frameworks/Mono.framework/Versions/3.0.1/lib ➜ ls -ld . drwxr-xr-x 324 r...
/fsharp-3.0.24/lib/release/2.1/FSharp.Core.dll to the cache: gac directories could not be created, possibly permission issues.make[2]: *** [install-lib-4] Error 1 and the dir mentioned as installation point is owned by the root user ➜ pwd /Library/Frameworks/Mono.framework/Versions/3.0.1/lib ➜ ls -ld . drwxr-xr-x 324 r...
[ -0.005523681640625, 0.022705078125, 0.00994873046875, -0.015380859375, -0.01409912109375, -0.0057373046875, -0.00927734375, 0.00482177734375, -0.0010986328125, 0.01544189453125, 0.01092529296875, -0.0098876953125, 0.00067138671875, 0.00154876708984375, -0.0029754638671875, -0.011291503...
[ 420, 89280, 254, 132265, 2357, 5612, 68107, 36381, 3467, 50886, 13, 71, 1181, 47, 82365, 914, 238, 14364, 3387, 5809, 959, 75935, 144681, 168081, 37348, 55898, 80383, 11565, 212059, 106, 5402, 119056, 59720, 6275, 83, 157272, 390, 70, 74855...
[ 0.101806640625, 0.2242431640625, 0.2286376953125, 0.142578125, 0.1612548828125, 0.1087646484375, 0.089111328125, 0.07318115234375, 0.2149658203125, 0.126220703125, 0.0921630859375, 0.051025390625, 0.155029296875, 0.0177764892578125, 0.21875, 0.1326904296875, 0.1331787109375, 0.1396...
embed
35421770_c0
35421770
fsharp
0
Title: F# efficient way to convert Map into Dict (and vice versa) Problem title: F# efficient way to convert Map into Dict (and vice versa) Tags: dictionary, f%23 Problem: F# efficient way to convert Map into Dict (and vice versa) I didn't find any native function to do the conversion from Dict into Map and viceversa. ...
F# efficient way to convert Map into Dict (and vice versa) F# efficient way to convert Map into Dict (and vice versa) dictionary f%23 Map Dict Map.ofDict Dict.ofMap F# efficient way to convert Map into Dict (and vice versa) I didn't find any native function to do the conversion from Dict into Map and viceversa. (Someth...
[ -0.008056640625, 0.006439208984375, 0.0086669921875, -0.007049560546875, -0.025390625, -0.017822265625, -0.035400390625, -0.007110595703125, 0.0038604736328125, 0.00128173828125, 0.0216064453125, 0.00799560546875, 0.005096435546875, 0.0137939453125, 0.0272216796875, 0.002593994140625, ...
[ 563, 4904, 93766, 3917, 96760, 42719, 3934, 60897, 18, 2940, 22925, 105274, 47, 45, 10763, 6635, 1238, 3742, 4390, 14055, 15390, 166179, 7413, 2499, 24, 4935, 32354, 54, 142477, 1295, 136, 28784, 5, 12321, 31635, 8035, 22288, 7, 621, 566,...
[ 0.152099609375, 0.2139892578125, 0.1956787109375, 0.06903076171875, 0.177001953125, 0.25634765625, 0.12890625, 0.2249755859375, 0.20947265625, 0.052886962890625, 0.10723876953125, 0.1348876953125, 0.01385498046875, 0.1378173828125, 0.1695556640625, 0.007904052734375, 0.089599609375, ...
embed
2148053_c0
2148053
fsharp
0
Title: very simple loop in F# Problem title: very simple loop in F# Tags: f%23 Problem: very simple loop in F# I tried this in both FSI and VS2010.Both gives the same output. for i= 8 to 10 do for j=7 to 10 do let product=i*j printfn "%d * %o = %x" i j product and the output is: 8*7=38 8*10=40 8*11=48 8*12=50 9*7=3f 9*...
very simple loop in F# very simple loop in F# f%23 very simple loop in F# I tried this in both FSI and VS2010.Both gives the same output. and the output is: Am i missing something here? I try to learn programming (with F# because I loved it) with online tutorials.
[ 0.027099609375, -0.01806640625, -0.0079345703125, 0.0267333984375, -0.0026397705078125, -0.00177764892578125, 0.0068359375, 0.01544189453125, 0.0037994384765625, 0.0052490234375, 0.0247802734375, -0.0048828125, 0.00347900390625, -0.0027313232421875, 0.00457763671875, -0.01092529296875,...
[ 4552, 8781, 40956, 23, 563, 4904, 1238, 3949, 3742, 37842, 15044, 9902, 136, 44160, 11436, 12647, 927, 76199, 5701, 140992, 83, 2022, 17, 132283, 9844, 3688, 9790, 30698, 56037, 449, 76228, 6637, 78302, 1118, 57143, 7 ]
[ 0.160400390625, 0.23046875, 0.219970703125, 0.08935546875, 0.1407470703125, 0.2271728515625, 0.120361328125, 0.1279296875, 0.205078125, 0.0537109375, 0.04522705078125, 0.1820068359375, 0.037078857421875, 0.1729736328125, 0.1978759765625, 0.0389404296875, 0.0212860107421875, 0.01579...
embed
67892986_c0
67892986
fsharp
0
Title: Partial anonymous record in F# Problem title: Partial anonymous record in F# Tags: f%23 Problem: Partial anonymous record in F# How do I type let's say a function that takes a record that has a field a and any other field ? Is some equivalent of this Standard ML function possible in F#? fun f {a: string, ...} = ...
Partial anonymous record in F# Partial anonymous record in F# f%23 Partial Hello Partial anonymous record in F# How do I type let's say a function that takes a record that has a field a and any other field ? Is some equivalent of this Standard ML function possible in F#? Tried the following but these don't seem to be s...
[ -0.01165771484375, -0.011962890625, 0.00970458984375, 0.02880859375, -0.003387451171875, -0.005859375, 0.00010633468627929688, -0.00616455078125, -0.00921630859375, 0.0030670166015625, 0.000766754150390625, 0.023193359375, -0.00457763671875, 0.00970458984375, 0.018798828125, -0.0208740...
[ 9148, 289, 52184, 10821, 17164, 23, 563, 4904, 1238, 3949, 3742, 35378, 11249, 54, 87, 10644, 32354, 51776, 1556, 44457, 10, 136, 2499, 3789, 183234, 20744, 39456, 7722, 6002, 35604 ]
[ 0.1622314453125, 0.10540771484375, 0.186279296875, 0.121826171875, 0.2181396484375, 0.031524658203125, 0.1436767578125, 0.2215576171875, 0.071044921875, 0.0166778564453125, 0.1190185546875, 0.066650390625, 0.0242462158203125, 0.034423828125, 0.05242919921875, 0.2144775390625, 0.19970...
embed
79512867_c2
79512867
fsharp
2
, TypeTests, SparseValue, Zero, r.convert, r.x, r.value, SparseArray, Lazy, Map, Array.map, v.x, v.value, Map.ofArray, Remove, Array.filter, e.value, LanguagePrimitives.GenericZero, SparseArray.createLookupMap, r.values, v.convert, SparseArray.create, r.moment, Array.sumBy, _.value, Array.sum, r.mean, Domain, Domain2D,...
, TypeTests, SparseValue, Zero, r.convert, r.x, r.value, SparseArray, Lazy, Map, Array.map, v.x, v.value, Map.ofArray, Remove, Array.filter, e.value, LanguagePrimitives.GenericZero, SparseArray.createLookupMap, r.values, v.convert, SparseArray.create, r.moment, Array.sumBy, _.value, Array.sum, r.mean, Domain, Domain2D,...
[ -0.0245361328125, 0.0096435546875, -0.0027313232421875, 0.006988525390625, 0.00518798828125, -0.00531005859375, 0.0155029296875, -0.0036773681640625, 0.0218505859375, -0.00299072265625, 0.003814697265625, 0.05615234375, -0.01513671875, -0.03271484375, 0.00439453125, 0.00927734375, 0....
[ 6, 4, 60457, 111337, 7, 37456, 184, 856, 50770, 83947, 1690, 5, 2271, 11549, 425, 27494, 7614, 7092, 239, 3285, 42719, 69253, 62346, 81, 4390, 181139, 53, 120337, 28, 83658, 145111, 14, 42991, 135932, 1511, 4036, 7612, 15363, 31, 11322, ...
[ 0.045806884765625, 0.0941162109375, 0.2315673828125, 0.293212890625, 0.068603515625, 0.1907958984375, 0.142333984375, 0.189453125, 0.21826171875, 0.193603515625, 0.0908203125, 0.0196533203125, 0.056365966796875, 0.1927490234375, 0.0653076171875, 0.16455078125, 0.07501220703125, 0.1...
embed
38209660_c0
38209660
fsharp
0
Title: Are there any ways to run F# unit tests in interactive mode? Problem title: Are there any ways to run F# unit tests in interactive mode? Tags: nunit, unit-testing, f%23 Problem: Are there any ways to run F# unit tests in interactive mode? Without an IDE integration, running F# unit tests is pretty cumbersome. On...
Are there any ways to run F# unit tests in interactive mode? Are there any ways to run F# unit tests in interactive mode? nunit unit-testing f%23 Are there any ways to run F# unit tests in interactive mode? Without an IDE integration, running F# unit tests is pretty cumbersome. One needs to compile them and then pass t...
[ -0.013671875, -0.00034332275390625, 0.02099609375, -0.01348876953125, -0.0101318359375, -0.005767822265625, 0.00016021728515625, -0.0137939453125, -0.00787353515625, -0.0189208984375, -0.00384521484375, 0.02294921875, 0.005767822265625, 0.0067138671875, 0.021484375, 0.003936767578125, ...
[ 2685, 2499, 48322, 47, 11675, 563, 4904, 25072, 109921, 23, 212398, 13736, 4124, 217, 6954, 214, 1238, 3949, 3742, 15901, 177417, 36497, 157353, 51042, 83, 28875, 1452, 1297, 43452, 27117, 9969, 1340, 27875, 16750, 81717, 3034, 142117, 99156,...
[ 0.019317626953125, 0.06207275390625, 0.0843505859375, 0.04046630859375, 0.1512451171875, 0.1683349609375, 0.23486328125, 0.1962890625, 0.2498779296875, 0.074951171875, 0.21875, 0.1490478515625, 0.070556640625, 0.1134033203125, 0.216796875, 0.039764404296875, 0.087158203125, 0.00802...
embed
67455607_c0
67455607
fsharp
0
Title: Next state (*) in Haskell union types Problem title: Next state (*) in Haskell union types Tags: haskell, f%23 Problem: Next state (*) in Haskell union types How can I translate this from F# to Haskell? type Exit = | PassableExit of string * destination: RoomId | LockedExit of string * key: Item * next: Exit | N...
Next state (*) in Haskell union types Next state (*) in Haskell union types haskell f%23 Next Haskell Exit PassableExit RoomId LockedExit Item NoExit Next state (*) in Haskell union types How can I translate this from F# to Haskell? Complete code: https://github.com/thedevaspect/aspect-fsharp/blob/master/Game.fs
[ 0.0024871826171875, 0.0162353515625, 0.01953125, 0.00787353515625, 0.006988525390625, -0.00775146484375, -0.04052734375, -0.031494140625, 0.011474609375, 0.00555419921875, 0.01123046875, 0.00836181640625, -0.0091552734375, 0.003387451171875, -0.024658203125, 0.00194549560546875, 0.03...
[ 4997, 11341, 80019, 20625, 142508, 69941, 52895, 23, 1556, 1238, 3949, 3742, 5443, 217, 28872, 2886, 19279, 38484, 568, 71, 80002, 297, 78426, 438, 831, 3900, 19309, 903, 1295, 563, 4904, 47, 168318, 18151, 32102, 2347, 18548, 202532, 9, ...
[ 0.2489013671875, 0.2301025390625, 0.17822265625, 0.1571044921875, 0.2171630859375, 0.1929931640625, 0.18408203125, 0.0355224609375, 0.146484375, 0.09716796875, 0.064453125, 0.16943359375, 0.126953125, 0.07080078125, 0.1204833984375, 0.127685546875, 0.127685546875, 0.18603515625, ...
embed
36783850_c0
36783850
fsharp
0
Title: F# System.InvalidOperationException: Collection was modified; enumeration operation may not execute Problem title: F# System.InvalidOperationException: Collection was modified; enumeration operation may not execute Tags: list, dictionary, f%23 Problem: F# System.InvalidOperationException: Collection was modified...
F# System.InvalidOperationException: Collection was modified; enumeration operation may not execute F# System.InvalidOperationException: Collection was modified; enumeration operation may not execute list dictionary f%23 System.InvalidOperationException Collection edgelist1 dict_edges Dictionary float32 dict_edges.Add ...
[ -0.00628662109375, 0.037841796875, 0.005035400390625, -0.0206298828125, 0.0054931640625, 0.0106201171875, -0.01397705078125, -0.0072021484375, 0.00439453125, -0.004669189453125, 0.0003376007080078125, 0.0220947265625, 0.00604248046875, 0.0021209716796875, 0.0208740234375, -0.0006027221...
[ 563, 4904, 12353, 4153, 7013, 156823, 19279, 63928, 68220, 509, 73197, 189085, 1363, 41018, 1543, 959, 71924, 13, 5303, 45, 10763, 1238, 3742, 121303, 6562, 61669, 297, 147638, 21917, 6460, 4188, 4028, 162429, 32036, 65381, 74, 190647, 903, ...
[ 0.1490478515625, 0.221923828125, 0.11181640625, 0.0050048828125, 0.147216796875, 0.1549072265625, 0.03466796875, 0.1339111328125, 0.21240234375, 0.098388671875, 0.21240234375, 0.267822265625, 0.0697021484375, 0.18115234375, 0.1217041015625, 0.1204833984375, 0.168701171875, 0.015090...
embed
31149157_c0
31149157
fsharp
0
Title: What is the meaning of a # sign in front of a type in a signature (F#)? Problem title: What is the meaning of a # sign in front of a type in a signature (F#)? Tags: f%23, .net Problem: What is the meaning of a # sign in front of a type in a signature (F#)? I have seen the following # sign in some libraries and a...
What is the meaning of a # sign in front of a type in a signature (F#)? What is the meaning of a # sign in front of a type in a signature (F#)? f%23 .net What Compile Expr What is the meaning of a # sign in front of a type in a signature (F#)? I have seen the following # sign in some libraries and am not sure what its ...
[ 0.009521484375, 0.004302978515625, -0.01190185546875, 0.00830078125, -0.00958251953125, 0.0128173828125, -0.025634765625, 0.0224609375, 0.006072998046875, 0.00107574462890625, -0.0081787109375, -0.028564453125, 0.01239013671875, -0.0017852783203125, 0.0002841949462890625, 0.02478027343...
[ 4865, 91084, 468, 24092, 12912, 10644, 138256, 919, 4904, 23, 111, 1238, 3742, 1179, 15612, 1340, 60075, 42, 70, 10, 51592, 25632, 35773, 6863, 12330, 3956, 15005, 93774, 3467, 254, 31583, 818, 21094, 19279, 10287, 29191 ]
[ 0.001068115234375, 0.1788330078125, 0.1932373046875, 0.228759765625, 0.154296875, 0.18701171875, 0.201171875, 0.09283447265625, 0.1947021484375, 0.01580810546875, 0.039337158203125, 0.0823974609375, 0.10321044921875, 0.062408447265625, 0.110595703125, 0.1116943359375, 0.138671875, ...
embed
18243611_c0
18243611
fsharp
0
Title: F# Xml TypeProvider for C# Problem title: F# Xml TypeProvider for C# Tags: type-providers, c%23, .net, f%23-data, f%23 Problem: F# Xml TypeProvider for C# Is there an equivalent to the F# TypeProvider in C#? I am looking at the easiest way to read an Xml file with C#. At this point I am planning to use XDocument...
F# Xml TypeProvider for C# F# Xml TypeProvider for C# type-providers c%23 .net f%23-data f%23 Xml TypeProvider F# Xml TypeProvider for C# Is there an equivalent to the F# TypeProvider in C#? I am looking at the easiest way to read an Xml file with C#. At this point I am planning to use XDocument, but I was wondering if...
[ 0.018310546875, 0.0308837890625, 0.01348876953125, 0.0091552734375, 0.0012969970703125, 0.0162353515625, -0.0019989013671875, -0.003143310546875, -0.0033416748046875, -0.03955078125, 0.002349853515625, -0.0157470703125, -0.00860595703125, 0.0021514892578125, 0.00921630859375, 0.0030212...
[ 563, 4904, 1193, 7237, 60457, 177997, 62160, 100, 313, 10644, 93136, 14202, 3742, 1179, 1238, 27495, 10135, 2685, 142, 183234, 47, 23, 1544, 525, 12301, 11435, 678, 58136, 4527, 239469, 9844, 11522, 30482, 221, 23468, 101089, 46876, 9433 ]
[ 0.1239013671875, 0.2117919921875, 0.1243896484375, 0.236572265625, 0.2025146484375, 0.1787109375, 0.16064453125, 0.051422119140625, 0.05828857421875, 0.168701171875, 0.1612548828125, 0.03924560546875, 0.04119873046875, 0.1103515625, 0.0838623046875, 0.08331298828125, 0.070556640625, ...
embed
4527598_c0
4527598
fsharp
0
Title: simple c# class to f# Problem title: simple c# class to f# Tags: f%23, c%23-to-f%23 Problem: simple c# class to f# How would this class look in f#? public class myClass : baseClass { public myClass() { this.someVariable = "test"; this.someFunction(); } } So far i've figured out (is it even correct?): type myClas...
simple c# class to f# simple c# class to f# f%23 c%23-to-f%23 this.someVariable this.someFunction simple c# class to f# How would this class look in f#? So far i've figured out (is it even correct?): but am struggling with calling someFunction() as it says 'this' is not defined
[ 0.010009765625, -0.004150390625, -0.007476806640625, -0.0037994384765625, -0.00004267692565917969, 0.000743865966796875, -0.0140380859375, -0.0087890625, 0.01104736328125, -0.0205078125, 0.0068359375, -0.018310546875, 0.0002536773681640625, 0.019775390625, -0.004974365234375, -0.014038...
[ 8781, 501, 4904, 18507, 47, 1238, 3742, 27495, 188, 420, 903, 43452, 81827, 14, 2886, 97249, 10763, 11249, 2806, 6713, 23, 2060, 26366, 71, 26785, 237875, 159029, 3060, 132, 16, 442, 100231, 25, 83, 959, 61924 ]
[ 0.1839599609375, 0.053192138671875, 0.224609375, 0.1883544921875, 0.142822265625, 0.138671875, 0.0653076171875, 0.1114501953125, 0.11767578125, 0.03167724609375, 0.1448974609375, 0.083984375, 0.08502197265625, 0.001678466796875, 0.02691650390625, 0.1444091796875, 0.0574951171875, 0...
embed
71316066_c0
71316066
fsharp
0
Title: How do I set Bulma Variables when using Feliz.Bulma Problem title: How do I set Bulma Variables when using Feliz.Bulma Tags: bulma, f%23 Problem: How do I set Bulma Variables when using Feliz.Bulma How do I set variables in Feliz.Bulma? For example say I want to set the $card-header-background-color variable as ...
How do I set Bulma Variables when using Feliz.Bulma How do I set Bulma Variables when using Feliz.Bulma bulma f%23 Feliz.Bulma How Bulma Variables How do I set Bulma Variables when using Feliz.Bulma How do I set variables in Feliz.Bulma? For example say I want to set the $card-header-background-color variable as descri...
[ 0.01312255859375, 0.01165771484375, -0.0108642578125, 0.0135498046875, 0.00457763671875, 0.005859375, -0.0084228515625, 0.002532958984375, 0.00347900390625, 0.0263671875, -0.017578125, 0.019775390625, 0.0126953125, 0.002410888671875, -0.00145721435546875, -0.0128173828125, -0.0111694...
[ 11249, 54, 87, 5423, 35935, 192, 111477, 13566, 17368, 176780, 7235, 23076, 3229, 183685, 1238, 3949, 3742, 77336, 7, 23, 5, 3444, 3650, 38931, 31251, 56, 12620, 64330, 46133, 151552, 23660, 54137, 43101, 26484, 27781, 209806, 3642 ]
[ 0.07049560546875, 0.032470703125, 0.03399658203125, 0.1744384765625, 0.16015625, 0.217041015625, 0.176513671875, 0.153564453125, 0.0704345703125, 0.2086181640625, 0.087890625, 0.204833984375, 0.009033203125, 0.1934814453125, 0.029327392578125, 0.002899169921875, 0.0849609375, 0.246...
embed
19288722_c0
19288722
fsharp
0
Title: How to set up a mock in Foq that returns an async&lt;T&gt;? Problem title: How to set up a mock in Foq that returns an async&lt;T&gt;? Tags: foq, f%23 Problem: How to set up a mock in Foq that returns an async ? I try to set up a mock using Mock<Interface>.With(fun y -> <@ y.DoIt (any()) --> async {()} @>) This ...
How to set up a mock in Foq that returns an async&lt;T&gt;? How to set up a mock in Foq that returns an async&lt;T&gt;? foq f%23 NotSupportedException How Foq Mock Interface y.DoIt How to set up a mock in Foq that returns an async ? I try to set up a mock using This leads to a NotSupportedException being raised in the ...
[ -0.0145263671875, 0.0047607421875, 0.0015869140625, -0.0069580078125, -0.004730224609375, -0.0006866455078125, 0.021484375, -0.00579833984375, 0.006195068359375, -0.0035247802734375, -0.003692626953125, 0.012939453125, -0.0042724609375, -0.00439453125, 0.020263671875, -0.0191650390625,...
[ 11249, 5423, 1257, 8698, 92, 23, 9572, 864, 30646, 10, 12654, 238, 5386, 618, 5775, 3742, 11205, 2037, 6982, 63928, 2501, 2594, 220237, 113, 8331, 23389, 3293, 19279, 165249, 32354, 47, 441, 5584, 8060 ]
[ 0.012115478515625, 0.1181640625, 0.106201171875, 0.2076416015625, 0.197021484375, 0.040008544921875, 0.15869140625, 0.1766357421875, 0.138916015625, 0.0305023193359375, 0.1748046875, 0.098388671875, 0.05755615234375, 0.0187225341796875, 0.10260009765625, 0.0836181640625, 0.0386657714...
embed
64808032_c0
64808032
fsharp
0
Title: How to use Regex to check if the string is a date F# Problem title: How to use Regex to check if the string is a date F# Tags: f%23 Problem: How to use Regex to check if the string is a date F# I am looking to use regex commands that can tell if is a date or not listed below are dates in the format that they wil...
How to use Regex to check if the string is a date F# How to use Regex to check if the string is a date F# f%23 How Regex Aug-20 Sept-20 Jan-21 How to use Regex to check if the string is a date F# I am looking to use regex commands that can tell if is a date or not listed below are dates in the format that they will app...
[ -0.0084228515625, -0.00099945068359375, -0.00982666015625, 0.046875, -0.01458740234375, 0.01190185546875, -0.0084228515625, 0.026123046875, 0.004486083984375, 0.023193359375, -0.0120849609375, -0.0031585693359375, 0.01275634765625, -0.007720947265625, -0.000934600830078125, -0.00518798...
[ 11249, 4527, 11678, 3355, 47, 12765, 2174, 79315, 83, 10, 5622, 563, 4904, 1238, 3949, 3742, 23177, 11033, 102330, 3342, 24589, 16487, 6835, 75101, 14192, 707, 959, 145870, 35064, 621, 112474, 9384, 108975, 29479, 103510, 14858, 99710, 2182 ]
[ 0.02911376953125, 0.1317138671875, 0.162353515625, 0.2398681640625, 0.046844482421875, 0.1920166015625, 0.108642578125, 0.25390625, 0.13916015625, 0.1217041015625, 0.2451171875, 0.0679931640625, 0.100341796875, 0.0738525390625, 0.0233917236328125, 0.1224365234375, 0.124267578125, 0...
embed
39818436_c0
39818436
fsharp
0
Title: F# Main argv and if statement confusion Problem title: F# Main argv and if statement confusion Tags: f%23 Problem: F# Main argv and if statement confusion What is the purpose of EntryPoint ? How do I pass a variable into argv to allow it to print out "Hello variable" instead of receiving the default not enough a...
F# Main argv and if statement confusion F# Main argv and if statement confusion f%23 Main EntryPoint argv.Length Hello Not F# Main argv and if statement confusion What is the purpose of EntryPoint ? How do I pass a variable into argv to allow it to print out "Hello variable" instead of receiving the default not enough ...
[ 0.0059814453125, 0.015625, -0.005889892578125, 0.01214599609375, -0.00274658203125, -0.00396728515625, 0.0205078125, -0.0038604736328125, -0.017822265625, 0.01361083984375, -0.008056640625, -0.02490234375, -0.00836181640625, 0.0233154296875, 0.0189208984375, -0.005340576171875, 0.024...
[ 563, 4904, 12321, 79459, 334, 136, 2174, 63805, 169463, 1238, 3949, 3742, 357, 15123, 147534, 449, 35378, 11205, 83, 70, 60042, 111, 11249, 54, 27875, 77336, 3934, 63769, 28412, 1810, 841, 13817, 64457, 217063, 114977, 959, 20174, 10750 ]
[ 0.12744140625, 0.2025146484375, 0.167724609375, 0.162353515625, 0.2474365234375, 0.0858154296875, 0.1939697265625, 0.1959228515625, 0.2314453125, 0.07647705078125, 0.029693603515625, 0.1383056640625, 0.143798828125, 0.2379150390625, 0.23974609375, 0.042388916015625, 0.2027587890625, ...
embed
72494760_c0
72494760
fsharp
0
Title: F# filtering a tree Problem title: F# filtering a tree Tags: filtering, f%23, tree Problem: F# filtering a tree I want to make function that will let me filter tree but it dont return all elements matching predicate. type Tree = | Empty | Element of float * Tree * Tree let rec filter predicate = function | Empty...
F# filtering a tree F# filtering a tree filtering f%23 tree Tree Empty Element F# filtering a tree I want to make function that will let me filter tree but it dont return all elements matching predicate.
[ -0.0010833740234375, 0.016357421875, -0.005126953125, -0.01092529296875, 0.010009765625, 0.00970458984375, -0.0003337860107421875, 0.00677490234375, -0.0034942626953125, -0.0155029296875, 0.0014190673828125, 0.00537109375, -0.021484375, -0.00531005859375, -0.0003032684326171875, 0.0186...
[ 563, 4904, 46312, 53201, 214, 1238, 3949, 3742, 101344, 31678, 939, 48325, 3444, 3249, 32354, 2633, 1284, 13319, 30646, 756, 80854, 14858, 1653, 2063, 67 ]
[ 0.1142578125, 0.20556640625, 0.2291259765625, 0.218505859375, 0.01318359375, 0.05535888671875, 0.036407470703125, 0.124267578125, 0.1768798828125, 0.1431884765625, 0.0672607421875, 0.1478271484375, 0.05267333984375, 0.0201568603515625, 0.1595458984375, 0.045166015625, 0.0581970214843...
embed
31270225_c0
31270225
fsharp
0
Title: Annotate the parameter of function Problem title: Annotate the parameter of function Tags: f%23 Problem: Annotate the parameter of function I want to create a function foo which get the function f and string s . The function apply the function f to s and return the length of array: let foo (f : (`a -> `b[])) (s ...
Annotate the parameter of function Annotate the parameter of function f%23 Annotate attrs.Length Annotate the parameter of function I want to create a function foo which get the function f and string s . The function apply the function f to s and return the length of array: F# compiler doesn't know that all f functions...
[ -0.004241943359375, -0.00714111328125, -0.0279541015625, 0.01806640625, 0.0038299560546875, -0.00811767578125, -0.02001953125, 0.0274658203125, 0.004364013671875, -0.035400390625, 0.0084228515625, -0.01483154296875, -0.01177978515625, 0.025390625, 0.0086669921875, -0.0284423828125, 0...
[ 48143, 19888, 70, 171859, 111, 32354, 1238, 3949, 3742, 243, 4295, 449, 927, 3444, 28282, 5775, 31, 2046, 136, 79315, 91, 59911, 47, 30646, 140909, 10298, 53, 563, 4904, 9969, 34759, 22027, 18, 3714, 756, 8337, 5122 ]
[ 0.1650390625, 0.1912841796875, 0.0255584716796875, 0.2449951171875, 0.081787109375, 0.1962890625, 0.16064453125, 0.058013916015625, 0.166259765625, 0.0289306640625, 0.07098388671875, 0.06158447265625, 0.00689697265625, 0.06854248046875, 0.0909423828125, 0.130859375, 0.1710205078125, ...
embed
33196838_c0
33196838
fsharp
0
Title: F#: Is it an idiomatic way to call functions with pipe against parentheses? Problem title: F#: Is it an idiomatic way to call functions with pipe against parentheses? Tags: f%23 Problem: F#: Is it an idiomatic way to call functions with pipe against parentheses? If one have function like this: let test arg func ...
F#: Is it an idiomatic way to call functions with pipe against parentheses? F#: Is it an idiomatic way to call functions with pipe against parentheses? f%23 F#: Is it an idiomatic way to call functions with pipe against parentheses? If one have function like this: Is it an idiomatic way to call it using pipe, rather th...
[ -0.02099609375, -0.0147705078125, 0.01043701171875, 0.0126953125, 0.00146484375, -0.0146484375, -0.00180816650390625, -0.0086669921875, -0.0019378662109375, -0.031494140625, 0.00750732421875, 0.0272216796875, -0.0164794921875, -0.001922607421875, 0.026123046875, -0.01953125, 0.007080...
[ 563, 4904, 49666, 9523, 3917, 11782, 32354, 678, 137158, 26548, 49129, 35412, 90, 2071, 442, 142, 7, 3742, 1884, 903, 17368, 43257, 959, 4527 ]
[ 0.0888671875, 0.1717529296875, 0.1949462890625, 0.1243896484375, 0.0738525390625, 0.165283203125, 0.216796875, 0.08062744140625, 0.255859375, 0.17724609375, 0.146484375, 0.16650390625, 0.09375, 0.043701171875, 0.037017822265625, 0.03118896484375, 0.0455322265625, 0.03765869140625, ...
embed
13783577_c0
13783577
fsharp
0
Title: What is the purpose of the Zero member when defining F# computation expressions? Problem title: What is the purpose of the Zero member when defining F# computation expressions? Tags: computation-expression, f%23 Problem: What is the purpose of the Zero member when defining F# computation expressions? I am trying...
What is the purpose of the Zero member when defining F# computation expressions? What is the purpose of the Zero member when defining F# computation expressions? computation-expression f%23 What Zero What is the purpose of the Zero member when defining F# computation expressions? I am trying to learn F# computation exp...
[ -0.001983642578125, -0.0242919921875, 0.0177001953125, 0.016357421875, -0.0035400390625, -0.00102996826171875, 0.0223388671875, 0.00811767578125, -0.004638671875, 0.0225830078125, -0.003448486328125, 0.003814697265625, 0.0086669921875, 0.01806640625, -0.00274658203125, -0.005615234375,...
[ 4865, 70, 60042, 111, 83947, 32786, 13204, 563, 4904, 181135, 125195, 1363, 204629, 1238, 3949, 3742, 83, 3229, 449, 4537, 2367, 6863, 80934, 40, 26513, 5170, 12654, 4488, 118664 ]
[ 0.045318603515625, 0.07232666015625, 0.220703125, 0.0626220703125, 0.274169921875, 0.26220703125, 0.1259765625, 0.10791015625, 0.1927490234375, 0.1544189453125, 0.197509765625, 0.004638671875, 0.1685791015625, 0.076416015625, 0.03033447265625, 0.074951171875, 0.036895751953125, 0.0...
embed
44568080_c0
44568080
fsharp
0
Title: F# sum of all other elements in list Problem title: F# sum of all other elements in list Tags: functional-programming, f%23 Problem: F# sum of all other elements in list Lets say i have a function definition like this: let sum (numbers: int list) = // code here What are possible ways to compute a sum of all othe...
F# sum of all other elements in list F# sum of all other elements in list functional-programming f%23 F# sum of all other elements in list Lets say i have a function definition like this: What are possible ways to compute a sum of all other elements in numbers list? So if input is [3;5;3;7] result is [(3, 15); (5, 13);...
[ -0.01080322265625, 0.010986328125, 0.0235595703125, 0.00860595703125, -0.018310546875, 0.0103759765625, -0.0026702880859375, 0.01953125, 0.007293701171875, -0.036865234375, 0.015625, 0.00131988525390625, 0.002349853515625, 0.017578125, -0.0009307861328125, 0.00848388671875, 0.0142211...
[ 563, 4904, 10554, 111, 756, 3789, 80854, 23, 5303, 123309, 28966, 1238, 3949, 3742, 32354, 80934, 1884, 7722, 48322, 9969, 6743, 101935, 2174, 107730, 83, 122101, 758, 363, 966, 16750, 86827, 423, 11516, 702, 6896, 3142, 19107, 534, 60892, ...
[ 0.1148681640625, 0.1783447265625, 0.2449951171875, 0.0989990234375, 0.1444091796875, 0.1600341796875, 0.222900390625, 0.0916748046875, 0.2056884765625, 0.1634521484375, 0.12744140625, 0.06243896484375, 0.01116943359375, 0.0980224609375, 0.19384765625, 0.1392822265625, 0.0128173828125...
embed
13073306_c0
13073306
fsharp
0
Title: Is it possible to return seq when using Array2D? Problem title: Is it possible to return seq when using Array2D? Tags: f%23 Problem: Is it possible to return seq when using Array2D? I want to gather the non zero element of a matrix into a sequence<(row,column,value)> This doesn't work let getSparseMatrixCOO matr...
Is it possible to return seq when using Array2D? Is it possible to return seq when using Array2D? f%23 Array2D Array2D.iteri Is it possible to return seq when using Array2D? I want to gather the non zero element of a matrix into a sequence<(row,column,value)> This doesn't work Do I have to give up the idea of using Arr...
[ 0.004791259765625, 0.033935546875, -0.0172119140625, 0.003692626953125, -0.006072998046875, -0.00823974609375, 0.002716064453125, 0.01055908203125, -0.0205078125, -0.008056640625, -0.00738525390625, 0.033447265625, -0.0146484375, 0.0003299713134765625, 0.0179443359375, 0.0146484375, ...
[ 7722, 30646, 40, 864, 17368, 69253, 53, 304, 397, 2071, 442, 47, 3229, 1238, 3742, 14465, 3444, 914, 9319, 351, 45234, 12830, 50944, 425, 3934, 944, 15555, 316, 27494, 4488 ]
[ 0.1510009765625, 0.22265625, 0.130126953125, 0.2281494140625, 0.052154541015625, 0.1500244140625, 0.089599609375, 0.1524658203125, 0.13818359375, 0.00311279296875, 0.009735107421875, 0.012603759765625, 0.009735107421875, 0.0162200927734375, 0.060455322265625, 0.1678466796875, 0.03594...
embed
63041450_c0
63041450
fsharp
0
Title: &#x27;and&#x27; keyword in F# Problem title: &#x27;and&#x27; keyword in F# Tags: f%23 Problem: 'and' keyword in F# from the documentation at https://learn.microsoft.com/en-us/dotnet/fsharp/language-reference/keyword-reference : it looks like 'and' can be used in the four categories above. With records and constr...
&#x27;and&#x27; keyword in F# &#x27;and&#x27; keyword in F# f%23 'and' keyword in F# from the documentation at https://learn.microsoft.com/en-us/dotnet/fsharp/language-reference/keyword-reference : it looks like 'and' can be used in the four categories above. With records and constraints, I see the use cases. But can a...
[ 0.01220703125, 0.0162353515625, 0.0087890625, -0.00102996826171875, -0.01171875, 0.0123291015625, -0.01348876953125, 0.00787353515625, 0.00787353515625, 0.0020904541015625, -0.0028533935546875, -0.0145263671875, -0.0067138671875, 0.021240234375, 0.01251220703125, 0.00799560546875, -0...
[ 3768, 2940, 166117, 23, 563, 4904, 1238, 3742, 209806, 138410, 420, 89280, 254, 196651, 239879, 19770, 47416, 33342, 831, 11814, 22759, 39283, 36917, 115923, 2816, 4527, 50218, 58755, 2633, 128239, 136, 43032, 27781, 3016, 271, 735, 32102, 59...
[ 0.123046875, 0.2705078125, 0.264404296875, 0.0716552734375, 0.1268310546875, 0.2056884765625, 0.053436279296875, 0.04461669921875, 0.056304931640625, 0.031524658203125, 0.046539306640625, 0.06561279296875, 0.057647705078125, 0.061279296875, 0.1544189453125, 0.08135986328125, 0.129882...
embed
4766639_c0
4766639
fsharp
0
Title: What is the order of evaluation in F#? Problem title: What is the order of evaluation in F#? Tags: operator-precedence, f%23 Problem: What is the order of evaluation in F#? I was reading this and now wonder: what is the evaluation order in F#? Obviously ; makes effects happen in a sequential fashion. But what ab...
What is the order of evaluation in F#? What is the order of evaluation in F#? operator-precedence f%23 What What is the order of evaluation in F#? I was reading this and now wonder: what is the evaluation order in F#? Obviously ; makes effects happen in a sequential fashion. But what about things like function calls or...
[ 0.024169921875, -0.002899169921875, 0.0145263671875, 0.024658203125, 0.0021514892578125, -0.000774383544921875, 0.02099609375, -0.0026702880859375, 0.00026702880859375, 0.010009765625, 0.0016937255859375, -0.01019287109375, 0.006683349609375, -0.0030975341796875, -0.00970458984375, -0....
[ 4865, 83, 70, 12989, 111, 219836, 23, 563, 4904, 32, 39933, 4692, 37534, 6620, 1238, 3949, 3742, 16454, 32195, 2367, 30482, 93425, 53383, 243228, 54543, 8966, 32354, 11782, 86685, 100, 48502, 41392, 149201 ]
[ 0.05828857421875, 0.037109375, 0.038421630859375, 0.2056884765625, 0.116455078125, 0.25390625, 0.0762939453125, 0.14404296875, 0.2099609375, 0.02117919921875, 0.18408203125, 0.03936767578125, 0.10223388671875, 0.01116943359375, 0.06182861328125, 0.05755615234375, 0.094970703125, 0....
embed
12359592_c1
12359592
fsharp
1
[|8;XlColumnDataType.xlGeneralFormat|] |] Error : This expression was expected to have type int but here has type XlColumnDataType. Has anyone else ever seen this? Does anyone know a way around this? Thanks! Code signals: F#, Excel, OpenText, Compile, Run-Time, Error, ApplicationClass, xl.Workbooks.OpenText, StartRow,...
[|8;XlColumnDataType.xlGeneralFormat|] |] Error : This expression was expected to have type int but here has type XlColumnDataType. Has anyone else ever seen this? Does anyone know a way around this? Thanks! Code signals: F#, Excel, OpenText, Compile, Run-Time, Error, ApplicationClass, xl.Workbooks.OpenText, StartRow,...
[ 0.0166015625, 0.0033721923828125, 0.0002193450927734375, 0.02880859375, -0.00579833984375, 0.0096435546875, 0.00136566162109375, -0.00958251953125, -0.0079345703125, 0.0220947265625, -0.017578125, -0.0091552734375, -0.004974365234375, -0.01422119140625, 0.00982666015625, -0.02233886718...
[ 1019, 1542, 141, 78457, 316, 137989, 196707, 92595, 159342, 102973, 212059, 152, 3293, 125195, 509, 84751, 10644, 23, 18, 1284, 3688, 1556, 1193, 51592, 3917, 10932, 28864, 26073, 563, 4904, 30326, 13527, 174379, 15612, 1340, 28398, 70059, 10...
[ 0.021881103515625, 0.097412109375, 0.093994140625, 0.117431640625, 0.1593017578125, 0.093017578125, 0.2293701171875, 0.1251220703125, 0.100830078125, 0.171630859375, 0.1983642578125, 0.001495361328125, 0.0634765625, 0.249267578125, 0.045196533203125, 0.1756591796875, 0.20703125, 0....
embed
5173390_c0
5173390
fsharp
0
Title: printfn in pipeline Problem title: printfn in pipeline Tags: f%23, pipeline Problem: printfn in pipeline So I have a function SolveEquasion that returns a pair float*float[]. What is the best way to print the number and the array and continue working with the array? I made the following code but it seems there i...
printfn in pipeline printfn in pipeline f%23 pipeline SolveEquasion Determinant Array.toList printfn in pipeline So I have a function SolveEquasion that returns a pair float*float[]. What is the best way to print the number and the array and continue working with the array? I made the following code but it seems there ...
[ 0.01190185546875, 0.00156402587890625, 0.0164794921875, 0.02880859375, -0.021728515625, -0.021484375, -0.000789642333984375, -0.0225830078125, 0.022216796875, -0.015869140625, 0.01422119140625, 0.0267333984375, -0.0022125244140625, 0.004608154296875, 0.004669189453125, -0.0009994506835...
[ 28412, 14783, 23, 137158, 2256, 1238, 3949, 3742, 6678, 272, 647, 13722, 6889, 234016, 660, 69253, 53, 188, 154663, 32354, 30646, 80836, 21917, 257, 1639, 52347, 1065, 2965, 3917, 47, 14012, 136, 10298, 21342, 20697, 678, 25632, 18151, 3720...
[ 0.23388671875, 0.2298583984375, 0.111328125, 0.19091796875, 0.20458984375, 0.055511474609375, 0.0423583984375, 0.1363525390625, 0.1500244140625, 0.1575927734375, 0.02978515625, 0.193115234375, 0.1361083984375, 0.173095703125, 0.057342529296875, 0.1199951171875, 0.1004638671875, 0.1...
embed
54967598_c0
54967598
fsharp
0
Title: Split string into char list recursively Problem title: Split string into char list recursively Tags: f%23, string, .net, recursion Problem: Split string into char list recursively I'm trying to split a string into a char list recursively. This what I have to far: let rec explode2 (s: string) = match s with | "" ...
Split string into char list recursively Split string into char list recursively f%23 string .net recursion Split explode2 List.ofArray newWord.ToCharArray Split string into char list recursively I'm trying to split a string into a char list recursively. This what I have to far: Am I going in the right direction?
[ 0.0012969970703125, 0.00946044921875, -0.003173828125, 0.031982421875, -0.01397705078125, 0.013916015625, -0.0029296875, -0.0150146484375, 0.00445556640625, 0.0001468658447265625, 0.01361083984375, -0.0185546875, -0.005462646484375, 0.01373291015625, 0.00567626953125, 0.012451171875, ...
[ 46474, 79315, 3934, 21441, 5303, 195625, 5844, 1238, 3949, 3742, 1179, 24649, 112, 304, 32036, 4390, 7614, 7092, 3525, 164805, 7763, 84068, 31577, 65450, 47, 2060, 2022, 7730, 23, 7108, 48225 ]
[ 0.202392578125, 0.226318359375, 0.1185302734375, 0.1915283203125, 0.1741943359375, 0.2137451171875, 0.1275634765625, 0.0721435546875, 0.05908203125, 0.1470947265625, 0.10272216796875, 0.1512451171875, 0.0927734375, 0.07818603515625, 0.1361083984375, 0.089111328125, 0.03558349609375, ...
embed
6430002_c0
6430002
fsharp
0
Title: F#: wrap single element to array Problem title: F#: wrap single element to array Tags: f%23 Problem: F#: wrap single element to array in F#, How to make a function wrapper (x:'T) to wrap any inputs to an array of array, say: wrapper(1) = [|[|1|]|]; wrapper([|1|]) = [|[|1|]|]; and wrapper([|[|1|]|]) = [|[|1|]|]; ...
F#: wrap single element to array F#: wrap single element to array f%23 x.GetType IsArray GetType F#: wrap single element to array in F#, How to make a function wrapper (x:'T) to wrap any inputs to an array of array, say: wrapper(1) = [|[|1|]|]; wrapper([|1|]) = [|[|1|]|]; and wrapper([|[|1|]|]) = [|[|1|]|]; something l...
[ 0.00299072265625, 0.0228271484375, -0.014892578125, 0.004241943359375, -0.0147705078125, 0.0027618408203125, -0.00885009765625, -0.00811767578125, -0.009521484375, -0.005706787109375, 0.0010833740234375, 0.013916015625, -0.00872802734375, -0.00799560546875, 0.00628662109375, -0.0103149...
[ 563, 4904, 137565, 11001, 12830, 47, 10298, 53, 1238, 3742, 196707, 2071, 7614, 7092, 3249, 32354, 1264, 425, 618, 2499, 107730, 27750, 35064, 959, 4488 ]
[ 0.0885009765625, 0.173095703125, 0.233642578125, 0.1646728515625, 0.177001953125, 0.063720703125, 0.150634765625, 0.148193359375, 0.0321044921875, 0.057159423828125, 0.1630859375, 0.0168304443359375, 0.039642333984375, 0.1385498046875, 0.0411376953125, 0.1734619140625, 0.177001953125...
embed
4095410_c0
4095410
fsharp
0
Title: F# html parsing Problem title: F# html parsing Tags: html-parsing, f%23, html, parsing Problem: F# html parsing What other options currently exist for parsing html in F#? Currently have some regular expressions but would prefer something like Pythons Beautiful Soup http://www.crummy.com/software/BeautifulSoup/ o...
F# html parsing F# html parsing html-parsing f%23 html parsing F# html parsing What other options currently exist for parsing html in F#? Currently have some regular expressions but would prefer something like Pythons Beautiful Soup http://www.crummy.com/software/BeautifulSoup/ or be able to using an api similar to jQu...
[ -0.01190185546875, 0.016357421875, 0.0164794921875, 0.00148773193359375, -0.006011962890625, 0.00579833984375, -0.0169677734375, 0.01104736328125, 0.0013275146484375, -0.041015625, 0.01171875, 0.00994873046875, -0.0125732421875, -0.00933837890625, 0.0028228759765625, 0.0008659362792968...
[ 563, 4904, 7693, 366, 6953, 9, 2500, 1238, 3949, 3742, 4865, 3789, 50717, 82424, 32316, 100, 23, 114063, 765, 3060, 20324, 125195, 1284, 2806, 12601, 9844, 1884, 145581, 7, 168941, 1061, 2037, 1605, 1176, 277, 155247, 6766, 49842, 7844, 8...
[ 0.1844482421875, 0.235107421875, 0.244140625, 0.185546875, 0.131591796875, 0.00567626953125, 0.1693115234375, 0.121337890625, 0.05157470703125, 0.158203125, 0.0029296875, 0.0946044921875, 0.1871337890625, 0.10223388671875, 0.10260009765625, 0.0445556640625, 0.08099365234375, 0.0684...
embed
1925483_c0
1925483
fsharp
0
Title: F#: Is the &quot;fun&quot; keyword necessary? Problem title: F#: Is the &quot;fun&quot; keyword necessary? Tags: f%23, lambda Problem: F#: Is the "fun" keyword necessary? I was typing the "fun" keyword and then I remembered you don't have to in C# Wouldn't this: List.map (x -> x + 1) [1..10] Be just as expressiv...
F#: Is the &quot;fun&quot; keyword necessary? F#: Is the &quot;fun&quot; keyword necessary? f%23 lambda List.map F#: Is the "fun" keyword necessary? I was typing the "fun" keyword and then I remembered you don't have to in C# Wouldn't this: List.map (x -> x + 1) [1..10] Be just as expressive as this?: List.map (fun x -...
[ 0.002532958984375, 0.00830078125, 0.0220947265625, -0.01171875, -0.004241943359375, -0.00531005859375, 0.0089111328125, 0.0062255859375, 0.00110626220703125, -0.02587890625, -0.00787353515625, -0.002288818359375, -0.0196533203125, 0.004547119140625, 0.00537109375, -0.00299072265625, ...
[ 563, 4904, 2071, 16498, 1230, 41502, 166117, 63559, 70, 1238, 3742, 6492, 85, 32036, 62346, 58, 11417, 37629, 2301, 18, 765, 47, 23, 313, 425, 33079, 1022, 997, 4879, 963, 36510, 5844, 5, 193844, 15400, 83, 756, 17306, 6002, 47013, 5606...
[ 0.0947265625, 0.2115478515625, 0.051544189453125, 0.27587890625, 0.043304443359375, 0.057281494140625, 0.2127685546875, 0.20654296875, 0.012451171875, 0.045196533203125, 0.0178680419921875, 0.1126708984375, 0.05682373046875, 0.1402587890625, 0.1392822265625, 0.006500244140625, 0.0988...
embed
65717865_c0
65717865
fsharp
0
Title: F# Please explain how the result is calculated (List.fold (+) (-)) Problem title: F# Please explain how the result is calculated (List.fold (+) (-)) Tags: f%23 Problem: F# Please explain how the result is calculated (List.fold (+) (-)) The result is 4. But I do not understand why. Also to where is the 1 fed into...
F# Please explain how the result is calculated (List.fold (+) (-)) F# Please explain how the result is calculated (List.fold (+) (-)) f%23 Please List.fold F# Please explain how the result is calculated (List.fold (+) (-)) The result is 4. But I do not understand why. Also to where is the 1 fed into? I thought it is be...
[ -0.00159454345703125, -0.0030364990234375, 0.00640869140625, 0.011474609375, -0.015869140625, 0.01019287109375, -0.0023956298828125, 0.009521484375, 0.0167236328125, -0.01336669921875, 0.00787353515625, -0.03173828125, -0.00982666015625, 0.01953125, -0.0002956390380859375, -0.024536132...
[ 563, 4904, 30607, 73342, 3642, 16750, 83, 74481, 3674, 154663, 42822, 22183, 9, 5, 1238, 3949, 3742, 32036, 1398, 54, 959, 28219, 15400, 47, 7440, 106, 51158, 3934, 17569, 60494, 4958, 17932, 171859, 6863, 123087, 29954 ]
[ 0.1201171875, 0.1287841796875, 0.06634521484375, 0.1693115234375, 0.088623046875, 0.2138671875, 0.067138671875, 0.2091064453125, 0.1024169921875, 0.1923828125, 0.1932373046875, 0.1920166015625, 0.1693115234375, 0.00604248046875, 0.15869140625, 0.062164306640625, 0.1741943359375, 0....
embed
1153371_c0
1153371
fsharp
0
Title: F# Pattern Matching with lambdas Problem title: F# Pattern Matching with lambdas Tags: f%23 Problem: F# Pattern Matching with lambdas I want to set the value of IsParentRoot "0" if the input is "0" or execute some code if else: let isParentRoot parVal = match parVal with | "0" -> "0" | x -> (fun x -> "something"...
F# Pattern Matching with lambdas F# Pattern Matching with lambdas f%23 Pattern Matching F# Pattern Matching with lambdas I want to set the value of IsParentRoot "0" if the input is "0" or execute some code if else: I'm trying this but this does not compile with the error " This function takes too many arguments, or is ...
[ -0.01409912109375, 0.0206298828125, -0.010009765625, -0.006011962890625, -0.005340576171875, 0.005859375, 0.00982666015625, 0.005828857421875, 0.005950927734375, 0.00021648406982421875, 0.0281982421875, -0.006072998046875, -0.0014190673828125, 0.0040283203125, 0.020751953125, -0.026611...
[ 563, 4904, 9876, 22766, 67407, 678, 21, 6492, 1124, 214, 1238, 3742, 3444, 47, 5423, 34292, 2071, 28636, 2517, 12724, 818, 2389, 2174, 70, 107730, 83, 71924, 18151, 37076, 31577, 1284, 903, 959, 9969, 1340, 18499, 3293, 32354, 51776, 5792...
[ 0.09161376953125, 0.1549072265625, 0.1357421875, 0.08740234375, 0.1612548828125, 0.051239013671875, 0.0282440185546875, 0.1334228515625, 0.0860595703125, 0.0313720703125, 0.06744384765625, 0.1114501953125, 0.0712890625, 0.0107421875, 0.1524658203125, 0.13525390625, 0.1558837890625, ...
embed
30762696_c0
30762696
fsharp
0
Title: Catch exception from async workflow run on different thread Problem title: Catch exception from async workflow run on different thread Tags: asynchronous, f%23 Problem: Catch exception from async workflow run on different thread let failing = async { failwith "foo" } let test () = try Async.Start(failing) with |...
Catch exception from async workflow run on different thread Catch exception from async workflow run on different thread asynchronous f%23 async Catch Async.Start Catch exception from async workflow run on different thread This code doesn't catch the exception. How can I start an asynchronous workflow on a separate thre...
[ 0.009033203125, 0.0167236328125, -0.0101318359375, -0.00616455078125, -0.0068359375, -0.0050048828125, 0.021728515625, 0.0106201171875, -0.004638671875, -0.016357421875, -0.0145263671875, 0.0277099609375, -0.01019287109375, 0.00958251953125, 0.031494140625, -0.0034332275390625, 0.024...
[ 18826, 206, 131527, 1295, 10, 12654, 238, 4488, 118664, 11675, 98, 12921, 86997, 101966, 10821, 1238, 3949, 3742, 62, 126597, 18151, 22027, 18, 105556, 831, 4034, 84797, 70, 23, 5201, 1528 ]
[ 0.1591796875, 0.1240234375, 0.247314453125, 0.08251953125, 0.04400634765625, 0.20458984375, 0.1109619140625, 0.09844970703125, 0.2449951171875, 0.093505859375, 0.0831298828125, 0.1527099609375, 0.1995849609375, 0.163818359375, 0.018890380859375, 0.051422119140625, 0.0509033203125, ...
embed
44648058_c1
44648058
fsharp
1
3.3.0, Culture=neutral, PublicKeyToken=null'. Are you missing a private assembly file? I checked and the FSharp.Data assembly is indeed at version 2.3.3.0 Any ideas on how I can get the Azure function host to find and use my dependencies? Code signals: Azure, FS211, Users, MY_USER, AppData, Local, Temp, dc47-48b7-a2fa-...
3.3.0, Culture=neutral, PublicKeyToken=null'. Are you missing a private assembly file? I checked and the FSharp.Data assembly is indeed at version 2.3.3.0 Any ideas on how I can get the Azure function host to find and use my dependencies? Code signals: Azure, FS211, Users, MY_USER, AppData, Local, Temp, dc47-48b7-a2fa-...
[ -0.0040283203125, 0.00994873046875, 0.00113677978515625, 0.014404296875, 0.00494384765625, 0.0322265625, 0.004241943359375, -0.013427734375, -0.002960205078125, -0.0002574920654296875, -0.0045166015625, -0.011474609375, 0.0078125, 0.005615234375, 0.0289306640625, 0.0028228759765625, ...
[ 1031, 132265, 105141, 218142, 16934, 162429, 7763, 1098, 139550, 25, 132283, 14375, 89845, 38526, 11435, 93774, 3467, 254, 5, 137989, 160463, 11389, 59811, 2046, 176071, 32354, 27980, 7413, 4527, 42548, 117538, 28864, 26073, 304, 1662, 53400, 5...
[ 0.1094970703125, 0.2344970703125, 0.2431640625, 0.1881103515625, 0.1292724609375, 0.1339111328125, 0.0726318359375, 0.157958984375, 0.1104736328125, 0.012481689453125, 0.1260986328125, 0.157958984375, 0.1583251953125, 0.10107421875, 0.0927734375, 0.1534423828125, 0.1781005859375, 0...
embed
56179047_c0
56179047
fsharp
0
Title: How to view type providers in the assembly Problem title: How to view type providers in the assembly Tags: f%23-data, f%23 Problem: How to view type providers in the assembly I am looking through the object explorer and trying to find out where/how the type providers are defined - I am looking through FSharp.Dat...
How to view type providers in the assembly How to view type providers in the assembly f%23-data f%23 How How to view type providers in the assembly I am looking through the object explorer and trying to find out where/how the type providers are defined - I am looking through FSharp.Data.dll. It shows CsvFile and CsvRow...
[ 0.01275634765625, 0.009521484375, 0.0067138671875, 0.01385498046875, -0.00732421875, 0.0052490234375, -0.0115966796875, 0.0009918212890625, -0.0101318359375, -0.03369140625, -0.0184326171875, -0.0244140625, 0.002166748046875, -0.01165771484375, -0.00151824951171875, 0.004486083984375, ...
[ 11249, 47, 21455, 10644, 81450, 7, 23, 10, 89845, 38526, 1238, 27495, 10135, 3742, 36746, 88898, 61924, 93774, 3467, 254, 137989, 1181, 45831, 313, 67756, 174350, 12724, 434, 7413, 177997, 62160, 209806 ]
[ 0.05255126953125, 0.0450439453125, 0.19775390625, 0.240966796875, 0.251220703125, 0.09771728515625, 0.064208984375, 0.03045654296875, 0.1688232421875, 0.10791015625, 0.048919677734375, 0.083740234375, 0.085205078125, 0.044097900390625, 0.1318359375, 0.08544921875, 0.08636474609375, ...
embed
10314503_c0
10314503
fsharp
0
Title: Calling by reference on F# Problem title: Calling by reference on F# Tags: f%23 Problem: Calling by reference on F# Is there an option to call a function by reference? For example: if I have a variable x in func1 and I want to send it to func2 so it can change it (without returning its new value etc.) let func1 ...
Calling by reference on F# Calling by reference on F# f%23 Calling func1 func2 System.Console.WriteLine Calling by reference on F# Is there an option to call a function by reference? For example: if I have a variable x in func1 and I want to send it to func2 so it can change it (without returning its new value etc.) So...
[ 0.006561279296875, 0.0262451171875, 0.00946044921875, 0.0208740234375, 0.01519775390625, 0.0084228515625, 0.01080322265625, 0.0038909912109375, -0.000926971435546875, -0.02685546875, 0.01043701171875, 0.028076171875, -0.005035400390625, 0.0242919921875, 0.040771484375, -0.0095825195312...
[ 26265, 214, 390, 91067, 98, 563, 4904, 1238, 3742, 7477, 238, 418, 304, 12353, 40777, 18781, 93232, 2071, 2685, 142, 35829, 47, 11782, 32354, 2174, 765, 77336, 1022, 136, 3444, 25379, 221, 831, 15549, 76228, 6056, 30646, 34292, 159029, 12...
[ 0.197265625, 0.07733154296875, 0.158935546875, 0.29736328125, 0.087158203125, 0.1396484375, 0.234130859375, 0.0633544921875, 0.10223388671875, 0.1470947265625, 0.0751953125, 0.0826416015625, 0.1578369140625, 0.0511474609375, 0.072509765625, 0.049224853515625, 0.1104736328125, 0.044...
embed
43251264_c0
43251264
fsharp
0
Title: Records vs Single-Case Discriminated Unions Problem title: Records vs Single-Case Discriminated Unions Tags: discriminated-union, f%23, record Problem: Records vs Single-Case Discriminated Unions What are the Pro's and Con's of using either type Complex = { real: float; imag: float; } or type Complex = Complex o...
Records vs Single-Case Discriminated Unions Records vs Single-Case Discriminated Unions discriminated-union f%23 record Records Single-Case Discriminated Unions Complex Records vs Single-Case Discriminated Unions What are the Pro's and Con's of using either or I am particularly interested in readability and handling in...
[ -0.00051116943359375, 0.00872802734375, 0.007476806640625, 0.0228271484375, 0.00775146484375, -0.0230712890625, -0.00823974609375, -0.000885009765625, 0.0240478515625, 0.000347137451171875, -0.00537109375, 0.00732421875, 0.004302978515625, 0.0042724609375, -0.00482177734375, -0.0090332...
[ 89916, 20209, 43609, 441, 6991, 6206, 135421, 3674, 32528, 7, 55970, 87046, 1238, 3949, 3742, 17164, 113197, 70, 1250, 25, 136, 1657, 111, 17368, 40101, 707, 87, 106480, 60892, 12301, 41159, 45064, 12921, 113949, 23718 ]
[ 0.29443359375, 0.16015625, 0.1322021484375, 0.07867431640625, 0.09295654296875, 0.052276611328125, 0.177734375, 0.0369873046875, 0.20166015625, 0.001861572265625, 0.2071533203125, 0.1614990234375, 0.03631591796875, 0.06829833984375, 0.1402587890625, 0.24951171875, 0.1787109375, 0.0...
embed
23183414_c0
23183414
fsharp
0
Title: Are F#&#x27;s async state machines the same as C#&#x27;s async or go-lang&#x27;s go command? Problem title: Are F#&#x27;s async state machines the same as C#&#x27;s async or go-lang&#x27;s go command? Tags: async-await, c%23, f%23, go Problem: Are F#'s async state machines the same as C#'s async or go-lang's go ...
Are F#&#x27;s async state machines the same as C#&#x27;s async or go-lang&#x27;s go command? Are F#&#x27;s async state machines the same as C#&#x27;s async or go-lang&#x27;s go command? async-await c%23 f%23 go Are F#'s async state machines the same as C#'s async or go-lang's go command? Here we see a paper by Don Syme...
[ 0.0174560546875, -0.000568389892578125, 0.0054931640625, -0.01239013671875, -0.008056640625, 0.016845703125, -0.008056640625, 0.0029754638671875, 0.00081634521484375, -0.00537109375, 0.01611328125, -0.00147247314453125, -0.005828857421875, -0.0004138946533203125, -0.005767822265625, -0...
[ 15901, 563, 4904, 3768, 10, 12654, 238, 11341, 116491, 5701, 237, 313, 738, 9, 3066, 75101, 7, 7978, 217, 501, 3742, 1238, 707, 7650, 4843, 282, 62, 10336, 442, 14602, 903, 54, 13580, 23 ]
[ 0.026885986328125, 0.1475830078125, 0.1973876953125, 0.0587158203125, 0.077880859375, 0.225830078125, 0.11572265625, 0.15966796875, 0.1712646484375, 0.114990234375, 0.03955078125, 0.0687255859375, 0.2159423828125, 0.0692138671875, 0.1778564453125, 0.216064453125, 0.019439697265625, ...
embed
38932737_c0
38932737
fsharp
0
Title: Calculating the powers of 2 in a tail-recursive way Problem title: Calculating the powers of 2 in a tail-recursive way Tags: f%23 Problem: Calculating the powers of 2 in a tail-recursive way I am trying to implement a tail-recursive function that calculates the powers of 2: let rec po2 x = match x with | 1 -> 1I...
Calculating the powers of 2 in a tail-recursive way Calculating the powers of 2 in a tail-recursive way f%23 Calculating po2 x-1 Calculating the powers of 2 in a tail-recursive way I am trying to implement a tail-recursive function that calculates the powers of 2: This works like intended, but since i multiply my recur...
[ -0.0022125244140625, -0.0020904541015625, 0.0137939453125, 0.004425048828125, 0.0186767578125, 0.024169921875, -0.007781982421875, -0.0211181640625, 0.004180908203125, -0.0019683837890625, 0.0167236328125, -0.01385498046875, 0.00543212890625, 0.01806640625, 0.033447265625, 0.0183105468...
[ 212467, 14537, 7, 111, 116, 46741, 107, 48650, 5844, 3917, 1238, 3949, 3742, 26518, 160, 304, 1022, 5759, 31577, 29479, 32354, 74481, 15573, 43240, 1884, 179140, 6024, 62479, 195625, 11782, 16750, 390, 18151, 56112, 18, 25647, 3642, 3249 ]
[ 0.176513671875, 0.2049560546875, 0.1192626953125, 0.1253662109375, 0.2021484375, 0.2301025390625, 0.071533203125, 0.1688232421875, 0.120361328125, 0.092529296875, 0.06805419921875, 0.0665283203125, 0.1510009765625, 0.0200042724609375, 0.1363525390625, 0.1590576171875, 0.0363464355468...
embed
21080190_c0
21080190
fsharp
0
Title: Right associative operator in F# Problem title: Right associative operator in F# Tags: f%23 Problem: Right associative operator in F# Sometimes I have to write: myList |> List.iter (fun x -> x) I would really like to avoid the parentheses. In Haskell there is an operator for this ($) It would look like this myLi...
Right associative operator in F# Right associative operator in F# f%23 Right List.iter Right associative operator in F# Sometimes I have to write: I would really like to avoid the parentheses. In Haskell there is an operator for this ($) It would look like this I created a custom operator and now I can write it like th...
[ 0.0062255859375, 0.00921630859375, 0.03271484375, 0.01312255859375, 0.0052490234375, -0.005889892578125, 0.01220703125, 0.019775390625, 0.01287841796875, -0.0322265625, 0.02099609375, 0.022216796875, 0.00043487548828125, -0.012451171875, 0.00830078125, -0.00762939453125, -0.000184059...
[ 90911, 166027, 272, 39933, 563, 4904, 23, 1238, 3949, 3742, 32036, 16840, 160193, 765, 33022, 2806, 6183, 1884, 71864, 70, 49129, 35412, 90, 360, 20625, 142508, 903, 4369, 6713, 75935, 114122, 831, 9844 ]
[ 0.1878662109375, 0.160400390625, 0.0804443359375, 0.2259521484375, 0.1387939453125, 0.18994140625, 0.0296630859375, 0.08184814453125, 0.006378173828125, 0.14013671875, 0.1553955078125, 0.15625, 0.019805908203125, 0.008026123046875, 0.11962890625, 0.012847900390625, 0.0489501953125, ...
embed
46506052_c1
46506052
fsharp
1
mut let a = fA mut 0 // 0 let b = fB mut 0 // 1 let c = fC mut 0 // 3 In Example 2 each function makes a copy of the same immutable argument. Presumably the compiler is smart enough not to use any additional memory when making these copies. For each copy could be just a pointer to the original object. So even though o...
mut let a = fA mut 0 // 0 let b = fB mut 0 // 1 let c = fC mut 0 // 3 In Example 2 each function makes a copy of the same immutable argument. Presumably the compiler is smart enough not to use any additional memory when making these copies. For each copy could be just a pointer to the original object. So even though o...
[ -0.000766754150390625, -0.01055908203125, -0.0172119140625, 0.000904083251953125, -0.0078125, 0.000240325927734375, 0.0084228515625, 0.002960205078125, 0.025634765625, 0.0186767578125, 0.02783203125, 0.004486083984375, 0.003448486328125, 0.05029296875, 0.023193359375, -0.009521484375, ...
[ 21144, 2633, 10, 2203, 1238, 284, 757, 876, 571, 501, 138, 89536, 8705, 116, 12638, 32354, 30482, 43658, 5701, 566, 561, 22819, 10750, 9969, 34759, 18775, 78301, 98323, 6097, 71200, 5809, 186, 6275, 56, 70, 7311, 36746, 83080, 106, 164917...
[ 0.2239990234375, 0.107666015625, 0.04949951171875, 0.050537109375, 0.06280517578125, 0.048675537109375, 0.1182861328125, 0.0643310546875, 0.03411865234375, 0.0254669189453125, 0.07080078125, 0.1727294921875, 0.1077880859375, 0.116943359375, 0.0770263671875, 0.1864013671875, 0.0266418...
embed
53514598_c0
53514598
fsharp
0
Title: Does F# have a OCaml type t equivalent? Problem title: Does F# have a OCaml type t equivalent? Tags: f%23 Problem: Does F# have a OCaml type t equivalent? With OCaml variants, I see /* Reason syntax */ module M = { type t = | Foo | Bar; }; quite a bit. F# seems to share the variants leaking into the parent modul...
Does F# have a OCaml type t equivalent? Does F# have a OCaml type t equivalent? f%23 Does OCaml Reason Foo Bar MType Baz None Does F# have a OCaml type t equivalent? With OCaml variants, I see quite a bit. F# seems to share the variants leaking into the parent module problem OCaml folks get around with modules. Does th...
[ 0.0167236328125, 0.0023956298828125, 0.00019741058349609375, 0.006927490234375, 0.00274658203125, -0.01611328125, -0.0125732421875, -0.0028228759765625, -0.00946044921875, -0.0029754638671875, 0.0072021484375, 0.01556396484375, 0.000766754150390625, -0.005645751953125, 0.01116943359375, ...
[ 101790, 563, 4904, 765, 180, 105272, 141, 10644, 808, 183234, 1238, 3742, 236267, 9572, 31, 3253, 276, 196707, 36490, 438, 20117, 7, 1957, 32233, 4785, 12008, 95, 11, 6048, 3934, 70, 49129, 88996, 2967, 10932, 26908, 21373 ]
[ 0.01055908203125, 0.1221923828125, 0.200927734375, 0.028656005859375, 0.12060546875, 0.1898193359375, 0.1546630859375, 0.1468505859375, 0.1270751953125, 0.1573486328125, 0.06378173828125, 0.0667724609375, 0.162109375, 0.10113525390625, 0.0396728515625, 0.1513671875, 0.00372314453125,...
embed
58835538_c0
58835538
fsharp
0
Title: Using F# as replacement for Linux shell scripting Problem title: Using F# as replacement for Linux shell scripting Tags: linux, shell, scripting, f%23 Problem: Using F# as replacement for Linux shell scripting After learning f# I would also like to use f# as a replacement for shell (bash,sh) scripting. Is there ...
Using F# as replacement for Linux shell scripting Using F# as replacement for Linux shell scripting linux shell scripting f%23 Using Linux Using F# as replacement for Linux shell scripting After learning f# I would also like to use f# as a replacement for shell (bash,sh) scripting. Is there anyone having experience usi...
[ 0.000560760498046875, 0.007568359375, -0.000782012939453125, 0.0238037109375, 0.00732421875, -0.00384521484375, 0.0024261474609375, 0.005645751953125, -0.01104736328125, 0.00173187255859375, 0.009765625, 0.04150390625, -0.00439453125, 0.0179443359375, -0.00628662109375, -0.004577636718...
[ 345, 6953, 563, 4904, 237, 91995, 674, 100, 29908, 128019, 26499, 214, 11508, 6077, 1238, 3949, 3742, 52080, 1884, 4527, 10, 87109, 1495, 16981, 17368, 60042, 32316, 5426, 35773, 10484, 678, 32354, 83, 121147, 38496, 128405, 9433, 6562, 671...
[ 0.0565185546875, 0.0281524658203125, 0.16943359375, 0.2401123046875, 0.0684814453125, 0.13330078125, 0.055206298828125, 0.0584716796875, 0.1787109375, 0.200927734375, 0.2021484375, 0.08404541015625, 0.05694580078125, 0.0810546875, 0.14697265625, 0.0394287109375, 0.13037109375, 0.06...
embed
58540690_c0
58540690
fsharp
0
Title: Summing the quantities in a list of tuples Problem title: Summing the quantities in a list of tuples Tags: functional-programming, f%23 Problem: Summing the quantities in a list of tuples For example, if I have a list like this: [("pizza", 4); ("milkshake", 2); ("chocolate", 2); ("pizza", 3); ("milkshake", 3); (...
Summing the quantities in a list of tuples Summing the quantities in a list of tuples functional-programming f%23 Summing Summing the quantities in a list of tuples For example, if I have a list like this: and I want to sum all the second elements of the tuples while the first tuple is the same. How should I do it? The...
[ 0.001708984375, -0.004669189453125, 0.0030670166015625, 0.0074462890625, -0.0299072265625, -0.01214599609375, -0.0166015625, 0.014892578125, 0.0306396484375, -0.0021209716796875, -0.018798828125, -0.015869140625, -0.004150390625, 0.01055908203125, -0.0123291015625, 0.006927490234375, ...
[ 1832, 58838, 70, 102134, 2449, 23, 5303, 111, 370, 99726, 123309, 28966, 1238, 3949, 3742, 3444, 47, 10554, 756, 17932, 80854, 12960, 5117, 8705, 83, 5701, 11249, 5608, 54, 442, 140992 ]
[ 0.195068359375, 0.151123046875, 0.00311279296875, 0.1663818359375, 0.0660400390625, 0.05816650390625, 0.15478515625, 0.04022216796875, 0.1446533203125, 0.2159423828125, 0.143798828125, 0.119140625, 0.05694580078125, 0.043426513671875, 0.1107177734375, 0.07958984375, 0.066162109375, ...
embed
2078603_c0
2078603
fsharp
0
Title: F# exception handling constructs Problem title: F# exception handling constructs Tags: f%23, exception Problem: F# exception handling constructs Why doesn't F# naturally support a try/with/finally block? Doesn't it make sense to try something, deal with whatever exception it throws, at least to log the exception...
F# exception handling constructs F# exception handling constructs f%23 exception F# exception handling constructs Why doesn't F# naturally support a try/with/finally block? Doesn't it make sense to try something, deal with whatever exception it throws, at least to log the exception, and then be sure that some code exec...
[ 0.007293701171875, 0.01422119140625, 0.006988525390625, -0.0137939453125, 0.0184326171875, 0.0024566650390625, 0.004119873046875, -0.00921630859375, 0.003570556640625, 0.0118408203125, -0.0036773681640625, 0.01373291015625, -0.01220703125, -0.00396728515625, 0.029052734375, -0.00711059...
[ 563, 4904, 131527, 45064, 64549, 1238, 3949, 3742, 44084, 22027, 18, 6083, 8060, 9790, 64, 76228, 33870, 538, 46389, 10422, 9844, 35142, 678, 89778, 104250, 19713, 12684, 9077, 18151, 71924, 7103, 831, 37202, 5792, 66733, 123019, 106804, 919,...
[ 0.15283203125, 0.219482421875, 0.1728515625, 0.09490966796875, 0.13232421875, 0.054229736328125, 0.0321044921875, 0.1312255859375, 0.0689697265625, 0.038421630859375, 0.054412841796875, 0.110595703125, 0.1639404296875, 0.20703125, 0.05181884765625, 0.189697265625, 0.172607421875, 0...
embed
505891_c0
505891
fsharp
0
Title: F# how to abstract Console.ReadLine() as string seq Problem title: F# how to abstract Console.ReadLine() as string seq Tags: sequences, stream, console, f%23 Problem: F# how to abstract Console.ReadLine() as string seq I want to write a function to abstract Console.ReadLine() into a string seq the seq should bre...
F# how to abstract Console.ReadLine() as string seq F# how to abstract Console.ReadLine() as string seq sequences stream console f%23 Console.ReadLine ConsoleLines DoSomething F# how to abstract Console.ReadLine() as string seq I want to write a function to abstract Console.ReadLine() into a string seq the seq should b...
[ 0.005950927734375, -0.00518798828125, 0.0084228515625, 0.021240234375, 0.004913330078125, -0.0027008056640625, 0.037353515625, 0.000270843505859375, -0.005767822265625, -0.03076171875, -0.0186767578125, 0.0108642578125, -0.0033111572265625, 0.006072998046875, 0.0196533203125, 0.0068054...
[ 563, 4904, 3642, 47, 164789, 1657, 40777, 31345, 93232, 132, 237, 79315, 40, 864, 26513, 75973, 130250, 1238, 3742, 984, 64113, 3444, 33022, 32354, 3934, 5608, 36356, 3229, 13315, 2203, 56574, 11814 ]
[ 0.089599609375, 0.1470947265625, 0.017303466796875, 0.0191650390625, 0.2332763671875, 0.05706787109375, 0.1951904296875, 0.1890869140625, 0.26318359375, 0.090576171875, 0.0755615234375, 0.1754150390625, 0.083740234375, 0.186767578125, 0.126708984375, 0.123046875, 0.1961669921875, 0...
embed
6567225_c0
6567225
fsharp
0
Title: Is it possible to differentiate between typed and untyped nested quotations? Problem title: Is it possible to differentiate between typed and untyped nested quotations? Tags: quotations, f%23 Problem: Is it possible to differentiate between typed and untyped nested quotations? For example, given <@ let x = <@ 1 ...
Is it possible to differentiate between typed and untyped nested quotations? Is it possible to differentiate between typed and untyped nested quotations? quotations f%23 Patterns.Let Patterns.Quote Is it possible to differentiate between typed and untyped nested quotations? For example, given <@ let x = <@ 1 @> in x @>...
[ -0.01226806640625, 0.0244140625, 0.00537109375, 0.006317138671875, -0.0029296875, 0.0022430419921875, -0.0074462890625, -0.0235595703125, -0.0057373046875, -0.004150390625, -0.009033203125, -0.0400390625, 0.015625, 0.0216064453125, 0.01007080078125, 0.01025390625, 0.01336669921875, ...
[ 2071, 442, 7722, 99710, 2182, 17721, 10644, 71, 136, 51, 50986, 8512, 81732, 5256, 47, 3742, 9876, 22766, 124480, 31583, 22904, 34475, 981, 2633, 1022, 106, 1374, 128277, 831, 14858, 15044, 8335, 3055, 237, 8096, 1284, 18 ]
[ 0.040557861328125, 0.037841796875, 0.1617431640625, 0.2161865234375, 0.130859375, 0.1251220703125, 0.25927734375, 0.13330078125, 0.104736328125, 0.156982421875, 0.2352294921875, 0.240234375, 0.2301025390625, 0.140380859375, 0.03265380859375, 0.05548095703125, 0.085205078125, 0.1419...
embed
48511673_c0
48511673
fsharp
0
Title: How deserialize to arbitrary dict and arrays with Json.net? Problem title: How deserialize to arbitrary dict and arrays with Json.net? Tags: json, json.net, f%23, .net Problem: How deserialize to arbitrary dict and arrays with Json.net? I get a JSON that is very dynamic so I can just simple deserialize it to a o...
How deserialize to arbitrary dict and arrays with Json.net? How deserialize to arbitrary dict and arrays with Json.net? json json.net f%23 .net How Json.net How deserialize to arbitrary dict and arrays with Json.net? I get a JSON that is very dynamic so I can just simple deserialize it to a object. I need to change the...
[ -0.005828857421875, 0.0186767578125, -0.01153564453125, 0.007781982421875, -0.0189208984375, -0.004852294921875, -0.0030517578125, 0.01544189453125, -0.0113525390625, -0.007537841796875, -0.00787353515625, -0.00567626953125, 0.005279541015625, 0.005157470703125, 0.0223388671875, 0.0008...
[ 11249, 224, 25435, 119066, 47, 61799, 1294, 61669, 136, 10298, 4778, 678, 821, 1681, 1179, 1647, 1238, 3949, 3742, 5, 2046, 58627, 4552, 84079, 8781, 36746, 15549, 62775, 96819, 22799, 765, 8562, 8512, 2053, 17198, 50828, 23468, 15504, 23, ...
[ 0.0767822265625, 0.1812744140625, 0.2420654296875, 0.148681640625, 0.1099853515625, 0.1815185546875, 0.103759765625, 0.2080078125, 0.1424560546875, 0.1641845703125, 0.15673828125, 0.04931640625, 0.1490478515625, 0.2315673828125, 0.2042236328125, 0.1046142578125, 0.046783447265625, ...
embed
7343501_c0
7343501
fsharp
0
Title: Collection was modified; impossible to perform the operation listings on socket.Receive Problem title: Collection was modified; impossible to perform the operation listings on socket.Receive Tags: f%23, .net, sockets Problem: Collection was modified; impossible to perform the operation listings on socket.Receive...
Collection was modified; impossible to perform the operation listings on socket.Receive Collection was modified; impossible to perform the operation listings on socket.Receive f%23 .net sockets SocketException Collection socket.Receive Array.Clear Core.arrayRead Core.socket.Receive SocketFlags.None Core.listPos Seq.ite...
[ -0.00113677978515625, 0.04736328125, -0.0009002685546875, -0.006378173828125, 0.002960205078125, 0.00439453125, -0.015869140625, -0.0028533935546875, 0.007354736328125, 0.025390625, 0.00897216796875, 0.0198974609375, 0.0220947265625, -0.00750732421875, 0.0201416015625, -0.0150146484375...
[ 68220, 509, 73197, 297, 74, 69201, 51339, 41018, 5303, 5180, 221, 27853, 329, 5844, 3742, 1179, 1061, 63928, 69253, 133, 31365, 19305, 31345, 3668, 6562, 16840, 233, 7192, 4028, 28, 6011, 1733, 201505, 10298, 43240, 4127, 11737, 34735, 53, ...
[ 0.2381591796875, 0.10089111328125, 0.2208251953125, 0.052734375, 0.04302978515625, 0.162841796875, 0.1158447265625, 0.196044921875, 0.1942138671875, 0.1517333984375, 0.05999755859375, 0.135986328125, 0.06121826171875, 0.07562255859375, 0.114501953125, 0.0908203125, 0.034088134765625,...
embed
15694228_c0
15694228
fsharp
0
Title: F# string formatting - using the same value twice Problem title: F# string formatting - using the same value twice Tags: c%23-to-f%23, f%23 Problem: F# string formatting - using the same value twice I am trying to find the F# equivalent of the following C# snippet string.Format("A: {0} B: {1} A again: {0} C: {2}...
F# string formatting - using the same value twice F# string formatting - using the same value twice c%23-to-f%23 f%23 the string.Format F# string formatting - using the same value twice I am trying to find the F# equivalent of the following C# snippet I can do this with: However, I am wondering if there is any way to r...
[ 0.01239013671875, 0.005523681640625, 0.00830078125, 0.027587890625, 0.00579833984375, -0.01507568359375, 0.0201416015625, -0.000400543212890625, 0.016357421875, -0.0022125244140625, 0.0034942626953125, 0.0191650390625, -0.005584716796875, -0.004547119140625, 0.01611328125, 0.0092773437...
[ 563, 4904, 79315, 9384, 1916, 17368, 70, 5701, 34292, 186351, 501, 167218, 27495, 188, 420, 3742, 1238, 102973, 257, 31577, 7413, 183234, 25632, 93, 58134, 831, 678, 33306, 87, 444, 149016, 3917, 47, 91067, 10, 57266, 1884, 27781 ]
[ 0.1549072265625, 0.22705078125, 0.2386474609375, 0.187744140625, 0.07965087890625, 0.1239013671875, 0.033966064453125, 0.1497802734375, 0.172607421875, 0.25048828125, 0.0335693359375, 0.018646240234375, 0.1778564453125, 0.1268310546875, 0.1258544921875, 0.10272216796875, 0.1212158203...
embed
2286963_c0
2286963
fsharp
0
Title: Cyclic lists in F# Problem title: Cyclic lists in F# Tags: f%23 Problem: Cyclic lists in F# Is it just me, or does F# not cater for cyclic lists? I looked at the FSharpList<T> class via reflector, and noticed, that neither the 'structural equals' or the length methods check for cycles. I can only guess if 2 such...
Cyclic lists in F# Cyclic lists in F# f%23 Cyclic FSharpList Cyclic lists in F# Is it just me, or does F# not cater for cyclic lists? I looked at the FSharpList<T> class via reflector, and noticed, that neither the 'structural equals' or the length methods check for cycles. I can only guess if 2 such primitive function...
[ 0.0169677734375, 0.025634765625, 0.0140380859375, 0.02880859375, 0.0103759765625, -0.0103759765625, 0.0140380859375, 0.006439208984375, 0.009765625, -0.0036468505859375, -0.00982666015625, 0.0181884765625, -0.006988525390625, 0.01141357421875, 0.007110595703125, 0.023681640625, 0.010...
[ 151612, 1771, 5303, 563, 4904, 1238, 3742, 93774, 3467, 254, 154663, 23, 163, 959, 377, 720, 100, 187830, 238, 7, 618, 18507, 44961, 748, 2725, 36716, 82451, 105950, 140909, 150624, 12765, 105823, 57767, 116, 6044, 128489, 32354, 2684, 8060...
[ 0.209716796875, 0.11181640625, 0.2318115234375, 0.1314697265625, 0.2005615234375, 0.0780029296875, 0.0968017578125, 0.03765869140625, 0.1334228515625, 0.080078125, 0.204345703125, 0.003692626953125, 0.0296478271484375, 0.06988525390625, 0.096435546875, 0.053985595703125, 0.0370788574...
embed
179559_c0
179559
fsharp
0
Title: Does CLI mean anything other than &quot;command line interface&quot;? Problem title: Does CLI mean anything other than &quot;command line interface&quot;? Tags: command-line-interface, f%23 Problem: Does CLI mean anything other than "command line interface"? According to Wikipedia, on the Comparison of programmi...
Does CLI mean anything other than &quot;command line interface&quot;? Does CLI mean anything other than &quot;command line interface&quot;? command-line-interface f%23 Does CLI Does CLI mean anything other than "command line interface"? According to Wikipedia, on the Comparison of programming languages page, it says th...
[ -0.00701904296875, -0.0087890625, 0.00836181640625, 0.01275634765625, 0.0147705078125, 0.0015411376953125, 0.0216064453125, -0.0028228759765625, 0.0177001953125, 0.013427734375, 0.0031890869140625, -0.005096435546875, -0.00970458984375, -0.00457763671875, -0.0028533935546875, 0.0278320...
[ 101790, 313, 10927, 29459, 23937, 3789, 3501, 277, 12018, 13315, 101758, 75101, 2256, 10433, 40404, 1238, 3949, 3742, 8162, 113307, 56037, 46876, 563, 4904, 4527, 82775, 100, 60042, 20662, 86685, 48461, 91084, 111 ]
[ 0.05712890625, 0.1649169921875, 0.2724609375, 0.1531982421875, 0.047515869140625, 0.05908203125, 0.0203857421875, 0.034698486328125, 0.1263427734375, 0.1048583984375, 0.1767578125, 0.1512451171875, 0.145263671875, 0.11669921875, 0.078125, 0.0743408203125, 0.00469970703125, 0.045196...
embed
36426315_c1
36426315
fsharp
1
<(int * int), Cell>) = grid |> Map.toSeq |> Seq.map snd |> Seq.fold (fun grid c -> grid |> setReaction (c.X, c.Y)) grid And refactor it to something like: let updateCells (grid:Map<(int * int), Cell>) = grid |> getCells |> Seq.fold (fun grid c -> grid |> setReaction (c.X, c.Y)) grid Are my thoughts regarding Function C...
<(int * int), Cell>) = grid |> Map.toSeq |> Seq.map snd |> Seq.fold (fun grid c -> grid |> setReaction (c.X, c.Y)) grid And refactor it to something like: let updateCells (grid:Map<(int * int), Cell>) = grid |> getCells |> Seq.fold (fun grid c -> grid |> setReaction (c.X, c.Y)) grid Are my thoughts regarding Function C...
[ -0.030029296875, 0.0140380859375, 0.02197265625, 0.0296630859375, 0.0028076171875, -0.00537109375, 0.013427734375, 0.016357421875, 0.00799560546875, -0.0054931640625, -0.003173828125, 0.04638671875, -0.015869140625, 0.0299072265625, 0.016845703125, -0.003326416015625, -0.019653320312...
[ 4288, 661, 23, 18, 80743, 2203, 120067, 42719, 188, 4233, 864, 503, 62346, 2208, 42822, 16498, 501, 5423, 4332, 44713, 1723, 456, 144810, 28350, 441, 88510, 166179, 2046, 38514, 28670, 10763, 3288, 40322, 8035, 24941, 678, 9148, 289, 104921...
[ 0.12060546875, 0.0236358642578125, 0.053131103515625, 0.078857421875, 0.207763671875, 0.03314208984375, 0.212646484375, 0.124755859375, 0.1390380859375, 0.064208984375, 0.1585693359375, 0.039520263671875, 0.119873046875, 0.0273284912109375, 0.1298828125, 0.1258544921875, 0.0394897460...
embed
74534842_c0
74534842
fsharp
0
Title: &quot;Type JsonProvider is not defined&quot; in fsx script Problem title: &quot;Type JsonProvider is not defined&quot; in fsx script Tags: f%23 Problem: "Type JsonProvider is not defined" in fsx script In my .fsx script I have: #r "nuget: FSharp.Data" open FSharp.Data type appSettings = JsonProvider<"C:\\Users\\...
&quot;Type JsonProvider is not defined&quot; in fsx script &quot;Type JsonProvider is not defined&quot; in fsx script f%23 Type JsonProvider FSharp.Data Users sample.json "Type JsonProvider is not defined" in fsx script In my .fsx script I have: This generates an error of Type JsonProvider not defined both in the IDE a...
[ 0.00909423828125, 0.035400390625, -0.022216796875, 0.0086669921875, -0.0159912109375, 0.016845703125, 0.0203857421875, -0.0084228515625, 0.002288818359375, -0.01806640625, -0.005889892578125, 0.01348876953125, 0.01312255859375, -0.01275634765625, 0.0252685546875, 0.006683349609375, -...
[ 41502, 196707, 821, 1681, 177997, 62160, 83, 959, 61924, 71, 23, 1238, 7, 425, 26499, 74, 3742, 60457, 93774, 3467, 254, 137989, 53400, 121413, 170, 6, 17447, 139392, 18499, 15044, 70, 36497, 45367, 20633, 1179, 172, 30022 ]
[ 0.03131103515625, 0.244384765625, 0.1708984375, 0.190185546875, 0.169189453125, 0.1737060546875, 0.056640625, 0.119873046875, 0.1912841796875, 0.0400390625, 0.0247955322265625, 0.08935546875, 0.06036376953125, 0.185302734375, 0.18115234375, 0.010406494140625, 0.083984375, 0.2191162...
embed
56294414_c2
56294414
fsharp
2
.SharePoint.Client.dll, Microsoft.SharePoint.Client.Runtime.dll, Microsoft.Online.SharePoint.Client.Tenant.dll.15.0.4615.1001, Microsoft.Online.SharePoint.Client.Tenant.dll, SharePointPnPCoreOnline.3.8.1904, net45, OfficeDevPnP.Core.dll, Fsi, REPL, script.fsx, Microsoft.SharePoint.Client, OfficeDevPnP.Core.Authenticati...
.SharePoint.Client.dll, Microsoft.SharePoint.Client.Runtime.dll, Microsoft.Online.SharePoint.Client.Tenant.dll.15.0.4615.1001, Microsoft.Online.SharePoint.Client.Tenant.dll, SharePointPnPCoreOnline.3.8.1904, net45, OfficeDevPnP.Core.dll, Fsi, REPL, script.fsx, Microsoft.SharePoint.Client, OfficeDevPnP.Core.Authenticati...
[ -0.01251220703125, 0.04931640625, -0.0191650390625, 0.017578125, -0.01531982421875, -0.0196533203125, 0.01153564453125, -0.007171630859375, -0.002685546875, 0.00054168701171875, 0.00592041015625, 0.0252685546875, 0.00109100341796875, 0.0026702880859375, 0.0184326171875, 0.0093994140625...
[ 6, 5, 69042, 147534, 441, 150, 2517, 71, 1181, 4, 7244, 163321, 6032, 75387, 87286, 1236, 1837, 121254, 11540, 156627, 34479, 131371, 19, 4524, 135527, 2947, 7709, 2043, 4633, 12133, 152108, 683, 50886, 563, 172, 9069, 21130, 26499, 17447, ...
[ 0.0631103515625, 0.134521484375, 0.1854248046875, 0.21875, 0.0537109375, 0.1871337890625, 0.19677734375, 0.12109375, 0.257568359375, 0.1019287109375, 0.1297607421875, 0.0811767578125, 0.0927734375, 0.194091796875, 0.1444091796875, 0.1446533203125, 0.09722900390625, 0.01895141601562...
embed
63970521_c0
63970521
fsharp
0
Title: Unexpected infix operator in expression F# Problem title: Unexpected infix operator in expression F# Tags: f%23, if-statement Problem: Unexpected infix operator in expression F# I am trying to calculate the expression i and I can't figure out how to print the value as I'm new to f#. let mutable sqSum = 0.0 let m...
Unexpected infix operator in expression F# Unexpected infix operator in expression F# f%23 if-statement Unexpected startNum..endNum k-1 Unexpected infix operator in expression F# I am trying to calculate the expression i and I can't figure out how to print the value as I'm new to f#.
[ -0.0029449462890625, 0.0028228759765625, 0.01251220703125, 0.001922607421875, 0.01470947265625, 0.000751495361328125, 0.02001953125, 0.01336669921875, 0.01318359375, 0.0185546875, 0.0189208984375, 0.0057373046875, 0.003692626953125, -0.0198974609375, -0.0159912109375, -0.00460815429687...
[ 992, 83613, 13, 89829, 23, 55923, 39933, 125195, 563, 4904, 1238, 3949, 3742, 2174, 61340, 4034, 839, 316, 3611, 472, 5759, 31577, 74481, 17, 26366, 3642, 47, 28412, 34292, 3525 ]
[ 0.0638427734375, 0.08807373046875, 0.0780029296875, 0.0577392578125, 0.10540771484375, 0.2373046875, 0.2081298828125, 0.214599609375, 0.148681640625, 0.197998046875, 0.139892578125, 0.04827880859375, 0.1644287109375, 0.1788330078125, 0.1156005859375, 0.14208984375, 0.0196533203125, ...
embed
73752223_c0
73752223
fsharp
0
Title: How to measure the width of a string using Fable or Feliz in an Elmish app? Problem title: How to measure the width of a string using Fable or Feliz in an Elmish app? Tags: fable-f%23, f%23, elmish Problem: How to measure the width of a string using Fable or Feliz in an Elmish app? In an Elmish app (using Fable ...
How to measure the width of a string using Fable or Feliz in an Elmish app? How to measure the width of a string using Fable or Feliz in an Elmish app? fable-f%23 f%23 elmish Fable How Feliz Elmish How to measure the width of a string using Fable or Feliz in an Elmish app? In an Elmish app (using Fable and Feliz), I'm ...
[ -0.0015106201171875, 0.010009765625, -0.0162353515625, 0.0196533203125, -0.01300048828125, -0.0130615234375, 0.006561279296875, -0.01116943359375, 0.027099609375, -0.033203125, -0.00604248046875, -0.01446533203125, 0.0093994140625, 0.01165771484375, 0.020263671875, 0.01116943359375, ...
[ 11249, 72350, 70, 146984, 79315, 17368, 563, 2886, 707, 176780, 540, 78192, 4027, 47, 111, 23, 1071, 2661, 420, 3742, 88, 223, 136, 31577, 28282, 116419, 18221, 24763, 237, 61799, 3917, 99255, 1733, 89700, 44116 ]
[ 0.05255126953125, 0.2259521484375, 0.01019287109375, 0.257568359375, 0.25341796875, 0.07257080078125, 0.1395263671875, 0.1883544921875, 0.0986328125, 0.25244140625, 0.1513671875, 0.233154296875, 0.200439453125, 0.0171051025390625, 0.0304412841796875, 0.034393310546875, 0.094116210937...
embed
77701504_c0
77701504
fsharp
0
Title: Can I fork a sequence in F#? Problem title: Can I fork a sequence in F#? Tags: f%23 Problem: Can I fork a sequence in F#? I have a sequence that streams a large amount of data from the disk. While using the sequence, there are some cases where I'd like to explore two paths. Is there a way to turn the sequence, a...
Can I fork a sequence in F#? Can I fork a sequence in F#? f%23 Can Can I fork a sequence in F#? I have a sequence that streams a large amount of data from the disk. While using the sequence, there are some cases where I'd like to explore two paths. Is there a way to turn the sequence, at a given point, into two differe...
[ 0.0172119140625, 0.013671875, -0.00860595703125, 0.000019669532775878906, -0.007598876953125, -0.0093994140625, -0.004119873046875, 0.00848388671875, -0.000736236572265625, -0.0225830078125, -0.0068359375, 0.0179443359375, -0.004608154296875, 0.042236328125, -0.003662109375, -0.0013427...
[ 4171, 87, 100, 92, 40, 944, 3956, 23, 563, 4904, 32, 10, 1238, 3742, 75973, 41170, 2053, 1295, 28338, 17368, 1884, 88898, 6626, 60875, 3917, 15504, 6275, 3934, 12921, 36746, 4527, 18151, 41371, 3509, 4552, 21334, 831, 5303 ]
[ 0.1268310546875, 0.0911865234375, 0.223388671875, 0.18359375, 0.113037109375, 0.1712646484375, 0.1390380859375, 0.082763671875, 0.166015625, 0.2283935546875, 0.0111083984375, 0.0150909423828125, 0.090087890625, 0.098876953125, 0.1114501953125, 0.011627197265625, 0.0552978515625, 0....
embed
21965902_c0
21965902
fsharp
0
Title: F# on Unity/Mono 2.6 Problem title: F# on Unity/Mono 2.6 Tags: mono, f%23, unity-game-engine Problem: F# on Unity/Mono 2.6 So I have been working on an editor extension for the Unity 3D game engine. It's written in F# due to the nature of it (graph editor, F# lends itself very well for this type of programming)....
F# on Unity/Mono 2.6 F# on Unity/Mono 2.6 mono f%23 unity-game-engine Unity Mono F# on Unity/Mono 2.6 So I have been working on an editor extension for the Unity 3D game engine. It's written in F# due to the nature of it (graph editor, F# lends itself very well for this type of programming). Now my question is: How is ...
[ 0.010498046875, 0.011474609375, 0.01708984375, -0.01300048828125, 0.005645751953125, -0.006317138671875, -0.016357421875, -0.004974365234375, -0.0012359619140625, -0.012939453125, 0.0145263671875, -0.01519775390625, 0.021484375, 0.005615234375, 0.008056640625, 0.000698089599609375, -...
[ 563, 4904, 98, 172904, 64, 46674, 31, 119326, 22460, 1238, 3949, 3742, 51, 2481, 35311, 128897, 77879, 20697, 30391, 111938, 138, 397, 6712, 87907, 59121, 23, 31425, 41382, 3098, 5299, 100, 10644, 56037, 9655, 11249, 83, 8060, 2060, 442, ...
[ 0.198974609375, 0.246337890625, 0.08984375, 0.20654296875, 0.0227508544921875, 0.1629638671875, 0.136962890625, 0.259521484375, 0.1630859375, 0.1064453125, 0.010009765625, 0.0579833984375, 0.06414794921875, 0.0885009765625, 0.0450439453125, 0.146240234375, 0.2283935546875, 0.082275...
embed
22642084_c0
22642084
fsharp
0
Title: F# operator overloading strange behavoir Problem title: F# operator overloading strange behavoir Tags: f%23 Problem: F# operator overloading strange behavoir Let's say that for some strange reason I want to have this function: let (~-) (str:string) = 42 So I can do something like this and get 42 as result: -"tes...
F# operator overloading strange behavoir F# operator overloading strange behavoir f%23 str:string FS0001 F# operator overloading strange behavoir Let's say that for some strange reason I want to have this function: So I can do something like this and get 42 as result: Which is fine. But now when I do: I get: Any idea w...
[ 0.0081787109375, -0.005157470703125, 0.003692626953125, 0.02197265625, 0.006378173828125, 0.01068115234375, -0.0020599365234375, -0.003021240234375, -0.006195068359375, -0.004150390625, -0.0023040771484375, -0.01080322265625, 0.03466796875, -0.014404296875, 0.004791259765625, -0.025634...
[ 563, 4904, 39933, 645, 63033, 114453, 48566, 28740, 214, 1238, 3949, 3742, 7704, 91693, 93774, 188735, 100, 31635, 3444, 765, 903, 32354, 831, 54, 1884, 2046, 4828, 237, 16750, 5885, 4966, 5036, 3229, 28541, 6528, 15400, 123087 ]
[ 0.10400390625, 0.17626953125, 0.1942138671875, 0.119873046875, 0.2099609375, 0.1585693359375, 0.1300048828125, 0.2496337890625, 0.002105712890625, 0.1048583984375, 0.0252532958984375, 0.17041015625, 0.1214599609375, 0.1136474609375, 0.115234375, 0.1954345703125, 0.0205841064453125, ...
embed
32558107_c0
32558107
fsharp
0
Title: Where is the parameter defined Problem title: Where is the parameter defined Tags: f%23 Problem: Where is the parameter defined This is a simple implimentation of factorial function in F# let rec fact =function | 0->1 | n-> n * fact(n-1);; fact 5 1- what is the role of the rec word here? 2- fact is the function,...
Where is the parameter defined Where is the parameter defined f%23 Where n-1 Where is the parameter defined This is a simple implimentation of factorial function in F# 1- what is the role of the rec word here? 2- fact is the function, but it is never mentioned that it can have a parameter. So technically it should face...
[ -0.002532958984375, 0.01025390625, -0.00848388671875, 0.0091552734375, -0.0020599365234375, -0.00592041015625, 0.018798828125, 0.00115203857421875, 0.00250244140625, -0.027587890625, 0.00063323974609375, -0.044677734375, -0.010986328125, -0.00139617919921875, 0.0169677734375, -0.008117...
[ 78662, 83, 70, 171859, 61924, 71, 1238, 3949, 3742, 653, 5759, 8781, 35388, 31461, 15403, 32354, 563, 4904, 2367, 31486, 21954, 2565, 3688, 15824, 442, 8306, 119056, 831, 765, 10, 121392, 5608, 2577, 678, 18499, 138256, 2633, 2685, 110, 1...
[ 0.1607666015625, 0.05780029296875, 0.03643798828125, 0.319091796875, 0.238037109375, 0.0999755859375, 0.128173828125, 0.1278076171875, 0.168701171875, 0.05340576171875, 0.1746826171875, 0.0290679931640625, 0.07269287109375, 0.15283203125, 0.1220703125, 0.162841796875, 0.1107177734375...
embed
46062104_c0
46062104
fsharp
0
Title: F#: how to use &quot;with&quot; constructor for more values Problem title: F#: how to use &quot;with&quot; constructor for more values Tags: with-statement, constructor, f%23 Problem: F#: how to use "with" constructor for more values In F# I can do: let card = { anotherCard with Cost = 4 } But I want to do: let ...
F#: how to use &quot;with&quot; constructor for more values F#: how to use &quot;with&quot; constructor for more values with-statement constructor f%23 Cost WinPoints F#: how to use "with" constructor for more values In F# I can do: But I want to do: or at least have some one liner, right now I have to:
[ 0.01214599609375, 0.00860595703125, -0.029541015625, -0.00799560546875, -0.006439208984375, -0.025146484375, -0.00701904296875, 0.008056640625, 0.0194091796875, -0.01336669921875, 0.01422119140625, 0.037353515625, 0.0135498046875, 0.01043701171875, -0.003814697265625, -0.0220947265625,...
[ 563, 4904, 12, 3642, 4527, 41502, 76228, 1230, 64549, 748, 100, 1286, 142424, 47, 678, 61340, 1238, 3742, 63099, 17686, 147534, 360, 831, 54, 4966, 3444, 19713, 765, 3060, 1632, 79852, 7108, 5036 ]
[ 0.1407470703125, 0.217529296875, 0.010223388671875, 0.0648193359375, 0.13037109375, 0.05572509765625, 0.28515625, 0.03955078125, 0.217529296875, 0.1619873046875, 0.0780029296875, 0.170654296875, 0.1837158203125, 0.045654296875, 0.22412109375, 0.14794921875, 0.09234619140625, 0.0727...
embed
71772033_c0
71772033
fsharp
0
Title: Why does this boolean expression return false when each term is true? Problem title: Why does this boolean expression return false when each term is true? Tags: f%23-interactive, f%23, io Problem: Why does this boolean expression return false when each term is true? > (Console.Read() = (int 'd'));; d val it: boo...
Why does this boolean expression return false when each term is true? Why does this boolean expression return false when each term is true? f%23-interactive f%23 io Why Console.Read Why does this boolean expression return false when each term is true? It seems to terminate without calling Read, how does the compiler kn...
[ 0.001708984375, -0.0031890869140625, 0.017333984375, 0.0150146484375, 0.0048828125, 0.02734375, 0.02001953125, -0.000732421875, -0.0146484375, 0.0118408203125, 0.01019287109375, -0.006011962890625, 0.0031585693359375, 0.01141357421875, 0.00174713134765625, 0.00372314453125, 0.0056457...
[ 44084, 903, 337, 31, 34677, 125195, 30646, 98320, 3229, 12638, 13579, 29568, 14602, 1238, 167218, 27495, 10433, 71232, 3742, 22995, 1657, 40777, 31345, 83, 37202, 121011, 13, 15490, 159029, 4764, 9969, 34759, 3714, 3249 ]
[ 0.121826171875, 0.0679931640625, 0.053985595703125, 0.10205078125, 0.1910400390625, 0.1904296875, 0.173583984375, 0.25439453125, 0.048797607421875, 0.11474609375, 0.2113037109375, 0.2154541015625, 0.038665771484375, 0.089111328125, 0.06195068359375, 0.1158447265625, 0.1407470703125, ...
embed
3912769_c0
3912769
fsharp
0
Title: How to work WebSharper translator? Problem title: How to work WebSharper translator? Tags: f%23, websharper Problem: How to work WebSharper translator? Could anyone explain how to work WebSharper translator in conjunction with the F#? Is it translate F# code to JS itself or using F# compiler for it? In second ca...
How to work WebSharper translator? How to work WebSharper translator? f%23 websharper How WebSharper How to work WebSharper translator? Could anyone explain how to work WebSharper translator in conjunction with the F#? Is it translate F# code to JS itself or using F# compiler for it? In second case, what F# compiler ar...
[ -0.0042724609375, 0.017822265625, -0.0155029296875, -0.0361328125, 0.01214599609375, 0.0038604736328125, -0.007232666015625, -0.0050048828125, -0.00164794921875, -0.028564453125, -0.005645751953125, 0.00274658203125, -0.0120849609375, 0.004058837890625, 0.00250244140625, 0.001068115234...
[ 11249, 47, 4488, 4002, 294, 3467, 1264, 3900, 143, 1290, 1238, 3742, 1467, 89280, 73342, 3642, 17043, 678, 563, 4904, 19309, 18151, 64977, 68034, 9969, 34759, 7413, 150380, 31344, 139392, 32354, 64549, 44961, 5974, 390, 40899 ]
[ 0.0902099609375, 0.04730224609375, 0.13525390625, 0.1273193359375, 0.0307159423828125, 0.1734619140625, 0.2064208984375, 0.149658203125, 0.199462890625, 0.1387939453125, 0.055267333984375, 0.034393310546875, 0.101806640625, 0.1712646484375, 0.049896240234375, 0.013458251953125, 0.058...
embed
17424337_c0
17424337
fsharp
0
Title: F# - Pattern Matching on boxed tuples Problem title: F# - Pattern Matching on boxed tuples Tags: pattern-matching, f%23 Problem: F# - Pattern Matching on boxed tuples How can I pattern match on a boxed tuple? Or is there a better way to do something like this (simplified example): open System.Drawing let coerceC...
F# - Pattern Matching on boxed tuples F# - Pattern Matching on boxed tuples pattern-matching f%23 Pattern Matching System.Drawing Color Color.FromArgb Cannot F# - Pattern Matching on boxed tuples How can I pattern match on a boxed tuple? Or is there a better way to do something like this (simplified example):
[ -0.01513671875, 0.0107421875, -0.0185546875, -0.002197265625, -0.00167083740234375, -0.006927490234375, -0.03369140625, 0.000797271728515625, -0.00109100341796875, 0.01507568359375, 0.0034637451171875, -0.0037689208984375, 0.00194549560546875, -0.0035552978515625, 0.017333984375, -0.00...
[ 563, 4904, 9876, 22766, 67407, 214, 98, 16530, 297, 370, 99726, 103510, 98753, 1238, 3742, 12353, 219, 14775, 51193, 168407, 74251, 10869, 11249, 831, 87, 14858, 8705, 11522, 116120, 27781 ]
[ 0.056640625, 0.12744140625, 0.1212158203125, 0.1365966796875, 0.1903076171875, 0.080810546875, 0.05908203125, 0.1744384765625, 0.043212890625, 0.10546875, 0.134521484375, 0.2142333984375, 0.18701171875, 0.0292816162109375, 0.056671142578125, 0.07293701171875, 0.019317626953125, 0.0...
embed
25557186_c0
25557186
fsharp
0
Title: Compute Union (Set) of arrays while maintaining order Problem title: Compute Union (Set) of arrays while maintaining order Tags: f%23, arrays Problem: Compute Union (Set) of arrays while maintaining order I've spent enough time trying to solve this problem and i could not. I have this arrays: let A= [|1;2;3;4;5|...
Compute Union (Set) of arrays while maintaining order Compute Union (Set) of arrays while maintaining order f%23 arrays Compute Union Set Compute Union (Set) of arrays while maintaining order I've spent enough time trying to solve this problem and i could not. I have this arrays: and I want make the union of these arra...
[ 0.0019683837890625, 0.036376953125, 0.0211181640625, 0.01336669921875, 0.00022602081298828125, -0.0181884765625, 0.00177001953125, 0.015380859375, 0.0262451171875, -0.0155029296875, -0.00958251953125, 0.04052734375, -0.002166748046875, 0.020751953125, -0.01123046875, 0.0225830078125, ...
[ 159415, 13, 32528, 294, 126, 111, 10298, 4778, 12960, 76104, 214, 12989, 1238, 3949, 3742, 19943, 16, 87, 272, 66933, 20174, 1733, 31577, 86869, 903, 2967, 17, 5809, 959, 765, 3444, 3249, 70, 69941, 6097, 15490, 119140, 80854, 108975, 535...
[ 0.19580078125, 0.1416015625, 0.279052734375, 0.1365966796875, 0.1683349609375, 0.0838623046875, 0.1767578125, 0.162353515625, 0.144775390625, 0.194580078125, 0.07659912109375, 0.22119140625, 0.10479736328125, 0.0887451171875, 0.177978515625, 0.2037353515625, 0.006134033203125, 0.00...
embed
819036_c2
819036
fsharp
2
System.Text, VPL_NOERROR, uint16, VPL_CHECKSUM, VPL_FRAMELENGTH, VPL_OUTOFSEQUENCE, VPL_GROUPNOTSUPPORTED, VPL_REQUESTNOTSUPPORTED, VPL_EXISTS, VPL_INVALID, VPL_TYPERROR, VPL_NOTLOADING, VPL_NOTFOUND, VPL_OUTOFMEM, VPL_INUSE, VPL_SIZE, VPL_BUSY, SYNC_BYTE, TAIL_BYTE, MESSAGE_GROUP_VERSION, MESSAGE_GROUP, Export, IMess...
System.Text, VPL_NOERROR, uint16, VPL_CHECKSUM, VPL_FRAMELENGTH, VPL_OUTOFSEQUENCE, VPL_GROUPNOTSUPPORTED, VPL_REQUESTNOTSUPPORTED, VPL_EXISTS, VPL_INVALID, VPL_TYPERROR, VPL_NOTLOADING, VPL_NOTFOUND, VPL_OUTOFMEM, VPL_INUSE, VPL_SIZE, VPL_BUSY, SYNC_BYTE, TAIL_BYTE, MESSAGE_GROUP_VERSION, MESSAGE_GROUP, Export, IMess...
[ 0.0078125, 0.020751953125, -0.0098876953125, 0.021240234375, 0.0089111328125, 0.034912109375, -0.0081787109375, -0.0120849609375, 0.01043701171875, 0.01336669921875, 0.00604248046875, 0.00738525390625, 0.01611328125, 0.00022602081298828125, -0.0157470703125, 0.034912109375, 0.0363769...
[ 12353, 5, 174379, 4, 310, 21130, 8575, 12501, 14255, 1052, 75, 4288, 2485, 48858, 20572, 127944, 35812, 200751, 724, 23415, 52001, 82341, 9127, 102361, 139016, 136498, 18409, 91599, 17610, 53966, 26939, 35602, 198939, 27143, 30425, 44593, 10611...
[ 0.1800537109375, 0.035369873046875, 0.272216796875, 0.036163330078125, 0.14013671875, 0.21484375, 0.08978271484375, 0.08172607421875, 0.137451171875, 0.0697021484375, 0.068603515625, 0.1798095703125, 0.2071533203125, 0.14453125, 0.07354736328125, 0.218505859375, 0.06854248046875, 0...
embed
5506106_c0
5506106
fsharp
0
Title: Changing the F# tools Visual Studio 2010 uses Problem title: Changing the F# tools Visual Studio 2010 uses Tags: f%23, fsc, intellisense, visual-studio-2010, visual-studio Problem: Changing the F# tools Visual Studio 2010 uses I rebuilt F# with few syntax additions. I was able to tell VS2010 to use them for F# I...
Changing the F# tools Visual Studio 2010 uses Changing the F# tools Visual Studio 2010 uses f%23 fsc intellisense visual-studio-2010 visual-studio Changing Visual Studio visual-studio-2010 Changing the F# tools Visual Studio 2010 uses I rebuilt F# with few syntax additions. I was able to tell VS2010 to use them for F# ...
[ 0.00439453125, 0.0201416015625, -0.0140380859375, -0.01019287109375, 0.0023040771484375, 0.0017547607421875, -0.034423828125, 0.01080322265625, -0.021240234375, -0.002105712890625, 0.006927490234375, 0.0198974609375, 0.001953125, 0.00830078125, 0.02197265625, -0.010009765625, 0.00775...
[ 108193, 563, 4904, 72977, 73372, 22968, 1532, 4527, 1238, 3949, 3742, 10382, 892, 27077, 21176, 52629, 73552, 456, 978, 24908, 10846, 6002, 86531, 66044, 14192, 44160, 11436, 2856, 5337, 71232, 33976, 18151, 30391, 7464, 140526, 87, 20662, 18...
[ 0.185302734375, 0.1234130859375, 0.2091064453125, 0.2440185546875, 0.1610107421875, 0.1572265625, 0.19140625, 0.097412109375, 0.0736083984375, 0.01641845703125, 0.10205078125, 0.0736083984375, 0.08526611328125, 0.1412353515625, 0.11767578125, 0.1141357421875, 0.1505126953125, 0.074...
embed
1163782_c0
1163782
fsharp
0
Title: insertAt in F# simpler and/or better Problem title: insertAt in F# simpler and/or better Tags: simplify, f%23, performance Problem: insertAt in F# simpler and/or better I would like to start some questions about simplifying different expressions in F#. Anyone have ideas for better and/or simpler implementation o...
insertAt in F# simpler and/or better insertAt in F# simpler and/or better simplify f%23 performance Seq.concat Seq.take Seq.skip insertAt in F# simpler and/or better I would like to start some questions about simplifying different expressions in F#. Anyone have ideas for better and/or simpler implementation of insertAt...
[ -0.0174560546875, -0.00830078125, 0.00775146484375, -0.0128173828125, -0.01116943359375, -0.0059814453125, -0.01611328125, -0.00872802734375, 0.00159454345703125, -0.04833984375, 0.0242919921875, 0.0130615234375, 0.0091552734375, 0.0081787109375, 0.004302978515625, 0.01177978515625, ...
[ 183540, 28848, 23, 563, 4904, 8781, 42, 64, 11522, 112892, 18929, 1238, 3949, 3742, 23718, 503, 864, 2271, 4460, 78219, 44024, 1884, 4034, 3060, 17582, 214, 12921, 125195, 25647, 136, 208124, 29089, 5809, 456, 80596, 32036, 26513, 5170, 118...
[ 0.2421875, 0.250732421875, 0.0670166015625, 0.14794921875, 0.217041015625, 0.17041015625, 0.094970703125, 0.007080078125, 0.1417236328125, 0.185791015625, 0.162109375, 0.1043701171875, 0.007904052734375, 0.1671142578125, 0.1832275390625, 0.030670166015625, 0.1175537109375, 0.013977...
embed
28164590_c0
28164590
fsharp
0
Title: Check for divisibility by a three digit number in F# Problem title: Check for divisibility by a three digit number in F# Tags: f%23 Problem: Check for divisibility by a three digit number in F# I want a function isDiv to return true if a number x is divisible by some number i between 100 and 999, and x/i is betw...
Check for divisibility by a three digit number in F# Check for divisibility by a three digit number in F# f%23 Check Check for divisibility by a three digit number in F# I want a function isDiv to return true if a number x is divisible by some number i between 100 and 999, and x/i is between 100 and 999; I attempted to...
[ -0.0174560546875, 0.002349853515625, 0.00084686279296875, -0.00897216796875, -0.00543212890625, 0.01361083984375, 0.004730224609375, -0.009521484375, -0.0030975341796875, 0.01007080078125, 0.0213623046875, 0.01324462890625, 0.0078125, 0.009033203125, -0.00921630859375, 0.005126953125, ...
[ 38679, 100, 45, 37712, 83259, 390, 17262, 153939, 14012, 563, 4904, 23, 1238, 3949, 3742, 3444, 32354, 83, 192576, 30646, 29568, 2174, 1022, 99017, 17, 17721, 805, 136, 105546, 64, 14, 81887, 55300, 35064, 5337, 71232, 16138, 82940, 46485, ...
[ 0.160888671875, 0.05987548828125, 0.1448974609375, 0.2012939453125, 0.1595458984375, 0.0887451171875, 0.234619140625, 0.2083740234375, 0.14599609375, 0.165283203125, 0.187744140625, 0.032745361328125, 0.124755859375, 0.01300048828125, 0.13818359375, 0.036895751953125, 0.1302490234375...
embed
4111627_c0
4111627
fsharp
0
Title: Why aren&#x27;t there implicit conversions in F#? Problem title: Why aren&#x27;t there implicit conversions in F#? Tags: f%23 Problem: Why aren't there implicit conversions in F#? F# does not support implicit conversions. I understand that this is a feature, but I don't understand why implicit conversions are fo...
Why aren&#x27;t there implicit conversions in F#? Why aren&#x27;t there implicit conversions in F#? f%23 Why Won Why aren't there implicit conversions in F#? F# does not support implicit conversions. I understand that this is a feature, but I don't understand why implicit conversions are forbidden even when no informat...
[ -0.01043701171875, 0.00994873046875, 0.0003147125244140625, -0.00555419921875, 0.01348876953125, -0.00433349609375, -0.0224609375, -0.00946044921875, 0.005462646484375, -0.00077056884765625, 0.0162353515625, 0.005218505859375, -0.0098876953125, 0.00762939453125, -0.01385498046875, -0.0...
[ 44084, 125381, 3768, 18, 2685, 165164, 142477, 7, 23, 563, 4904, 104525, 14602, 959, 8060, 28219, 60213, 15400, 69871, 57415, 4677, 72856, 96760, 201, 47, 21917, 257, 864, 3198, 144570 ]
[ 0.08917236328125, 0.042633056640625, 0.005096435546875, 0.0799560546875, 0.0380859375, 0.241455078125, 0.1981201171875, 0.09368896484375, 0.042999267578125, 0.1234130859375, 0.2213134765625, 0.1163330078125, 0.0244293212890625, 0.066162109375, 0.1318359375, 0.046875, 0.0440673828125,...
embed
22608584_c0
22608584
fsharp
0
Title: How to project (transform) an array of FileInfo to a list of strings with fsharp Problem title: How to project (transform) an array of FileInfo to a list of strings with fsharp Tags: f%23 Problem: How to project (transform) an array of FileInfo to a list of strings with fsharp What I am trying is something like ...
How to project (transform) an array of FileInfo to a list of strings with fsharp How to project (transform) an array of FileInfo to a list of strings with fsharp f%23 How FileInfo GetFiles ToList How to project (transform) an array of FileInfo to a list of strings with fsharp What I am trying is something like this: bu...
[ 0.01025390625, -0.00421142578125, 0.01171875, 0.00830078125, -0.0186767578125, -0.0303955078125, -0.0035552978515625, 0.0064697265625, 0.0103759765625, -0.00017833709716796875, 0.001190185546875, 0.0166015625, -0.0281982421875, 0.02392578125, -0.01141357421875, 0.005462646484375, 0.0...
[ 11249, 47, 13452, 215175, 10298, 53, 42724, 93147, 5303, 79315, 7, 678, 1238, 89280, 254, 3742, 20779, 174350, 717, 154663, 31577, 76199, 64457, 831, 903 ]
[ 0.0687255859375, 0.07574462890625, 0.2225341796875, 0.2352294921875, 0.153076171875, 0.09930419921875, 0.2017822265625, 0.256591796875, 0.155517578125, 0.209716796875, 0.00201416015625, 0.0474853515625, 0.1119384765625, 0.199951171875, 0.1383056640625, 0.126953125, 0.052459716796875,...
embed
23033326_c0
23033326
fsharp
0
Title: Shell.Exec in FAKE Problem title: Shell.Exec in FAKE Tags: f%23-fake, f%23 Problem: Shell.Exec in FAKE I found this function Exec here http://fsharp.github.io/FAKE/apidocs/fake-processhelper-shell.html . Target "UpdateTools" (fun _ -> Exec "cmd" ) But I keep getting this error, when I try to run it: "The value o...
Shell.Exec in FAKE Shell.Exec in FAKE f%23-fake f%23 Shell.Exec FAKE Exec Target UpdateTools Shell.Exec in FAKE I found this function Exec here http://fsharp.github.io/FAKE/apidocs/fake-processhelper-shell.html . But I keep getting this error, when I try to run it: "The value or constructor 'Exec' is not defined". I'm ...
[ 0.0023651123046875, 0.0262451171875, 0.01458740234375, 0.019287109375, -0.003173828125, 0.018798828125, -0.00185394287109375, -0.01214599609375, -0.0027313232421875, -0.006072998046875, 0.01202392578125, 0.04150390625, 0.0140380859375, 0.001922607421875, 0.0361328125, 0.004486083984375...
[ 108362, 19279, 3240, 23, 563, 119960, 1238, 27495, 1021, 3742, 5443, 160017, 28641, 186490, 14037, 903, 32354, 420, 89280, 254, 15769, 32102, 846, 919, 89109, 4439, 350, 63923, 73866, 56, 128019, 7693, 13695, 18499, 9790, 11675, 3957, 34292, ...
[ 0.252197265625, 0.201416015625, 0.27587890625, 0.07080078125, 0.163818359375, 0.2457275390625, 0.0125732421875, 0.04083251953125, 0.186279296875, 0.09375, 0.18994140625, 0.216064453125, 0.1505126953125, 0.1771240234375, 0.04052734375, 0.033538818359375, 0.19873046875, 0.02853393554...
embed
29656378_c0
29656378
fsharp
0
Title: Hot to make array of elements from array of tuples in fsharp Problem title: Hot to make array of elements from array of tuples in fsharp Tags: tuples, f%23, arrays Problem: Hot to make array of elements from array of tuples in fsharp The goal is to make from for example from [(1,2),(3,4),(5,6)] this array [|1,2,...
Hot to make array of elements from array of tuples in fsharp Hot to make array of elements from array of tuples in fsharp tuples f%23 arrays array Hot Array.collect Hot to make array of elements from array of tuples in fsharp The goal is to make from for example from [(1,2),(3,4),(5,6)] this array [|1,2,3,4,5,6|]. Msdn...
[ 0.00946044921875, 0.0140380859375, 0.0038604736328125, 0.0262451171875, -0.0142822265625, -0.0024566650390625, -0.006317138671875, -0.0103759765625, 0.009765625, -0.013916015625, 0.007232666015625, 0.020751953125, -0.006744384765625, 0.0198974609375, 0.00201416015625, -0.0260009765625,...
[ 9903, 47, 3249, 10298, 53, 80854, 1295, 111, 370, 99726, 1238, 89280, 254, 23, 3949, 3742, 4778, 69253, 196352, 69236, 83, 27781, 133063, 82449, 104629, 903, 70802, 19, 8781, 127689, 37842, 7464, 30646, 11, 275, 1065, 4358, 129745 ]
[ 0.2261962890625, 0.043792724609375, 0.1126708984375, 0.1705322265625, 0.1400146484375, 0.197021484375, 0.10791015625, 0.07452392578125, 0.14599609375, 0.23681640625, 0.0999755859375, 0.1866455078125, 0.13671875, 0.0284576416015625, 0.0209503173828125, 0.142822265625, 0.064208984375, ...
embed
51554932_c0
51554932
fsharp
0
Title: Run method missing in xaml class Problem title: Run method missing in xaml class Tags: xaml, f%23, wpf Problem: Run method missing in xaml class I am using F# and XAML in order to create a GUI but unfortunately after creating the type for the xaml I don't have a run method available. What am I missing here? code...
Run method missing in xaml class Run method missing in xaml class xaml f%23 wpf Run Program FsXaml System App XAML App.xaml STAThread EntryPoint app.Run Run method missing in xaml class I am using F# and XAML in order to create a GUI but unfortunately after creating the type for the xaml I don't have a run method avail...
[ 0.007171630859375, 0.0189208984375, 0.01007080078125, 0.0223388671875, -0.003997802734375, 0.02001953125, 0.02392578125, -0.0223388671875, -0.002227783203125, -0.0302734375, -0.005615234375, -0.0247802734375, 0.00007772445678710938, -0.003448486328125, 0.0166015625, -0.008056640625, ...
[ 28398, 55300, 132283, 23, 2459, 7237, 18507, 1238, 3949, 3742, 148, 39557, 7663, 563, 1542, 302, 141, 12353, 5659, 65415, 39456, 3798, 144792, 39116, 357, 15123, 147534, 4027, 163321, 17368, 4904, 136, 12989, 28282, 195490, 104272, 105233, 10...
[ 0.253662109375, 0.221435546875, 0.18408203125, 0.06732177734375, 0.1795654296875, 0.2208251953125, 0.19384765625, 0.058258056640625, 0.05828857421875, 0.1461181640625, 0.028900146484375, 0.1329345703125, 0.121826171875, 0.0570068359375, 0.088623046875, 0.1441650390625, 0.136474609375...
embed
56393781_c1
56393781
fsharp
1
CorrelationId Payload: `T Timestamp: Timestamp } type EventEnvelope<`T> = { Id: EventId CausationId: CausationId CorrelationId: CorrelationId Payload: `T Timestamp: Timestamp } Is there a rule of thumb to decide when to use those specific types / aliases-ish? Code signals: Rule, Envelope, Guid, CausationId, Correlatio...
CorrelationId Payload: `T Timestamp: Timestamp } type EventEnvelope<`T> = { Id: EventId CausationId: CausationId CorrelationId: CorrelationId Payload: `T Timestamp: Timestamp } Is there a rule of thumb to decide when to use those specific types / aliases-ish? Code signals: Rule, Envelope, Guid, CausationId, Correlatio...
[ -0.009521484375, -0.00445556640625, 0.004913330078125, 0.01019287109375, -0.006134033203125, -0.01214599609375, 0.005767822265625, -0.00433349609375, -0.000152587890625, -0.002227783203125, -0.01348876953125, 0.0054931640625, -0.0025177001953125, 0.01007080078125, -0.003997802734375, 0...
[ 46348, 57860, 568, 71, 17166, 63033, 618, 19114, 102, 2676, 10644, 36943, 7768, 272, 89059, 24799, 60570, 7, 2320, 79986, 4911, 6492, 28288, 3229, 4527, 8382, 29458, 52895, 55109, 90, 4745, 28864, 26073, 139118, 357, 6955, 532, 25512, 70059...
[ 0.185546875, 0.1689453125, 0.106201171875, 0.15673828125, 0.1416015625, 0.2471923828125, 0.115478515625, 0.1011962890625, 0.1353759765625, 0.1466064453125, 0.1688232421875, 0.1822509765625, 0.047882080078125, 0.1605224609375, 0.182373046875, 0.097412109375, 0.1336669921875, 0.11437...
embed
42738085_c0
42738085
fsharp
0
Title: F# Order of Execution using CPS/Partial Application Problem title: F# Order of Execution using CPS/Partial Application Tags: continuations, f%23, currying Problem: F# Order of Execution using CPS/Partial Application Why does this print "DIV/0" first and "2" second? let printZero = printfn "DIV/0" let printSucces...
F# Order of Execution using CPS/Partial Application F# Order of Execution using CPS/Partial Application continuations f%23 currying CPS/Partial Order Execution CPS Partial Application DIV F# Order of Execution using CPS/Partial Application Why does this print "DIV/0" first and "2" second?
[ -0.004608154296875, 0.001556396484375, 0.0035400390625, -0.00787353515625, 0.01123046875, 0.00555419921875, 0.0198974609375, -0.0341796875, -0.0086669921875, -0.004547119140625, -0.004669189453125, 0.00003790855407714844, -0.01373291015625, 0.0028076171875, 0.0177001953125, -0.00424194...
[ 563, 4904, 81206, 111, 6, 211603, 1830, 17368, 313, 9059, 64, 58229, 15403, 104921, 9454, 1238, 3949, 3742, 198555, 214, 9148, 5419, 856, 44084, 14602, 903, 28412, 397, 15583, 107838, 58, 5117, 136, 304, 17932 ]
[ 0.1065673828125, 0.2093505859375, 0.1986083984375, 0.102294921875, 0.04559326171875, 0.1724853515625, 0.0067138671875, 0.08642578125, 0.03448486328125, 0.19580078125, 0.03759765625, 0.126220703125, 0.0723876953125, 0.1402587890625, 0.16064453125, 0.087158203125, 0.05810546875, 0.15...
embed
1090522_c0
1090522
fsharp
0
Title: How do I get the current sequence number in an iteration in F#? Problem title: How do I get the current sequence number in an iteration in F#? Tags: f%23, iteration, sequence Problem: How do I get the current sequence number in an iteration in F#? Consider the following code to demonstrate the question: let sequ...
How do I get the current sequence number in an iteration in F#? How do I get the current sequence number in an iteration in F#? f%23 iteration sequence How Seq.initInfinite Element Seq.iter How do I get the current sequence number in an iteration in F#? Consider the following code to demonstrate the question: Is it in ...
[ 0.003143310546875, 0.00946044921875, -0.00159454345703125, 0.01239013671875, -0.0093994140625, -0.00958251953125, 0.0203857421875, 0.0157470703125, 0.00604248046875, -0.027587890625, -0.001373291015625, 0.020751953125, -0.0093994140625, 0.0299072265625, 0.003997802734375, 0.01434326171...
[ 11249, 87, 2046, 43581, 40, 944, 3956, 14012, 23, 17, 720, 2320, 563, 4904, 54, 70, 142, 1238, 3742, 503, 864, 217, 48310, 67, 48325, 16840, 137399, 18151, 106804, 2071, 442, 2499, 3917, 7722, 47, 6863, 30648, 28412 ]
[ 0.0648193359375, 0.042022705078125, 0.152587890625, 0.25341796875, 0.1168212890625, 0.19287109375, 0.12646484375, 0.19287109375, 0.07183837890625, 0.0931396484375, 0.26123046875, 0.1466064453125, 0.1480712890625, 0.1983642578125, 0.03436279296875, 0.044342041015625, 0.06317138671875,...
embed
2755778_c0
2755778
fsharp
0
Title: F# for C#/Haskell programmer Problem title: F# for C#/Haskell programmer Tags: .net, c%23, haskell, f%23 Problem: F# for C#/Haskell programmer What is recommended tutorial of F# for Haskell programmer? F# seems to borrow a lot from Haskell but there are little traps which makes hard to write. Generally I need wa...
F# for C#/Haskell programmer F# for C#/Haskell programmer .net c%23 haskell f%23 Haskell F# for C#/Haskell programmer What is recommended tutorial of F# for Haskell programmer? F# seems to borrow a lot from Haskell but there are little traps which makes hard to write. Generally I need walkthrough the F# which would not...
[ 0.01611328125, 0.0166015625, 0.0118408203125, -0.005157470703125, -0.00182342529296875, 0.00970458984375, -0.0155029296875, -0.00112152099609375, 0.004669189453125, -0.020751953125, 0.01226806640625, -0.0194091796875, 0.00130462646484375, 0.015625, 0.00408935546875, -0.0008049011230468...
[ 563, 4904, 100, 313, 64, 6495, 7, 142508, 77848, 1179, 501, 3742, 1556, 1238, 20625, 4865, 170198, 57143, 37202, 3017, 15555, 5915, 1295, 1284, 10176, 63819, 3129, 30482, 7941, 33022, 3871, 35691, 222521, 73342, 60212, 17721, 842, 22819, 20...
[ 0.1712646484375, 0.23681640625, 0.118408203125, 0.05126953125, 0.048675537109375, 0.1177978515625, 0.089111328125, 0.2060546875, 0.1632080078125, 0.135986328125, 0.022369384765625, 0.034332275390625, 0.1456298828125, 0.06890869140625, 0.1483154296875, 0.003143310546875, 0.10760498046...
embed
1612543_c2
1612543
fsharp
2
Attributes.fs" Module1.fs (referenced assemblies removed for brevity). Code signals: NOP, Factorial, int32, L_0000, ldarg.0, L_0001, ldc.i4.1, L_0002, bgt.s, L_0006, L_0004, L_0005, L_0007, L_0008, L_0009, L_000a, TestApp.Program::Factorial, L_000f, L_0010, Different, L_0003, L_000b, FSharpModule::factorial, L_0011, Pr...
Attributes.fs" Module1.fs (referenced assemblies removed for brevity). Code signals: NOP, Factorial, int32, L_0000, ldarg.0, L_0001, ldc.i4.1, L_0002, bgt.s, L_0006, L_0004, L_0005, L_0007, L_0008, L_0009, L_000a, TestApp.Program::Factorial, L_000f, L_0010, Different, L_0003, L_000b, FSharpModule::factorial, L_0011, Pr...
[ -0.0067138671875, 0.007720947265625, -0.0030364990234375, -0.01409912109375, 0.0069580078125, -0.0341796875, 0.01177978515625, 0.00360107421875, -0.00750732421875, -0.0064697265625, -0.000316619873046875, 0.031982421875, 0.000934600830078125, 0.01007080078125, 0.00153350830078125, 0.00...
[ 1913, 191145, 7, 5, 17447, 58, 63014, 13, 418, 239879, 89845, 7121, 184750, 110536, 28864, 26073, 9520, 683, 117969, 15403, 23, 18, 6460, 339, 28568, 96, 1506, 177, 2389, 188735, 120518, 9508, 4, 5386, 910, 617, 8647, 39179, 148968, 13551...
[ 0.10791015625, 0.255126953125, 0.0909423828125, 0.04595947265625, 0.2310791015625, 0.0147552490234375, 0.19482421875, 0.042694091796875, 0.0662841796875, 0.0799560546875, 0.181884765625, 0.0648193359375, 0.0308074951171875, 0.043792724609375, 0.2083740234375, 0.250244140625, 0.140991...
embed
36750513_c0
36750513
fsharp
0
Title: F# pattern match using type constraints Problem title: F# pattern match using type constraints Tags: type-constraints, pattern-matching, f%23 Problem: F# pattern match using type constraints Is it possible to do an F# type test pattern with a member constraint? Such as: let f x = match x with | :? (^T when ^T : ...
F# pattern match using type constraints F# pattern match using type constraints type-constraints pattern-matching f%23 type IsInfinity Some None F# pattern match using type constraints Is it possible to do an F# type test pattern with a member constraint? Such as: or Neither which work.
[ -0.0089111328125, -0.0191650390625, 0.000713348388671875, -0.025390625, -0.01202392578125, -0.0196533203125, -0.0167236328125, 0.01025390625, 0.00616455078125, -0.01361083984375, 0.01324462890625, -0.031494140625, 0.00811767578125, -0.0201416015625, 0.03466796875, 0.0093994140625, 0....
[ 563, 4904, 103510, 14858, 17368, 10644, 158, 2816, 4288, 7, 2271, 98753, 1238, 3742, 2071, 5983, 2481, 31384, 438, 442, 7722, 54, 3034, 678, 32786, 237, 12, 707, 30097, 9319, 3129, 4488 ]
[ 0.11572265625, 0.1787109375, 0.1802978515625, 0.1517333984375, 0.0215911865234375, 0.17333984375, 0.0943603515625, 0.171630859375, 0.1116943359375, 0.005889892578125, 0.049896240234375, 0.145263671875, 0.0865478515625, 0.0955810546875, 0.036407470703125, 0.1141357421875, 0.0146636962...
embed
9037873_c1
9037873
fsharp
1
mutable field2 : int override x.ToString() = sprintf "%s: %d" x.field1 x.field2 Why would it work as a script but not compiled? I would like to keep it immutable if possible. Thanks for any insight! Code signals: BadUsageException, FileHelpers.BadUsageException, FileHelpers, test.fsx, FileHelpers.dll, DelimitedRecord,...
mutable field2 : int override x.ToString() = sprintf "%s: %d" x.field1 x.field2 Why would it work as a script but not compiled? I would like to keep it immutable if possible. Thanks for any insight! Code signals: BadUsageException, FileHelpers.BadUsageException, FileHelpers, test.fsx, FileHelpers.dll, DelimitedRecord,...
[ -0.0004863739013671875, -0.0146484375, -0.0020751953125, 0.025390625, 0.0147705078125, 0.0225830078125, 0.019775390625, -0.000247955322265625, 0.00250244140625, 0.01806640625, -0.0050048828125, 0.025146484375, 0.0220947265625, 0.021484375, 0.0303955078125, -0.02783203125, -0.01977539...
[ 842, 22819, 44457, 304, 23, 18, 645, 416, 112, 1022, 7763, 71713, 214, 132, 145320, 420, 71, 28394, 418, 44084, 4488, 237, 26499, 1284, 959, 375, 5974, 1884, 13695, 566, 561, 7722, 149201, 28864, 26073, 12745, 1062, 7, 4588, 63928, 4272...
[ 0.1629638671875, 0.1968994140625, 0.1995849609375, 0.123779296875, 0.07275390625, 0.090087890625, 0.1146240234375, 0.1923828125, 0.102783203125, 0.10693359375, 0.1573486328125, 0.16748046875, 0.10455322265625, 0.0086669921875, 0.1602783203125, 0.149169921875, 0.017059326171875, 0.1...
embed
6063681_c0
6063681
fsharp
0
Title: f# duplicate definition Problem title: f# duplicate definition Tags: shadowing, f%23 Problem: f# duplicate definition in F# powerpack math provider source code: I saw this (in lapack_service_netlib.fs ) member this.dgemm_((a:matrix),(b:matrix)) = // allocate results let c = Matrix.zero (m) (n) // transpose let c...
f# duplicate definition f# duplicate definition shadowing f%23 lapack_service_netlib.fs this.dgemm_ a:matrix b:matrix Matrix.zero Matrix.transpose f# duplicate definition in F# powerpack math provider source code: I saw this (in lapack_service_netlib.fs ) Why does this complile? does c get duplicate definition?
[ -0.0014190673828125, 0.0252685546875, 0.0028533935546875, 0.00194549560546875, 0.0196533203125, -0.0025177001953125, -0.00537109375, 0.00775146484375, 0.013916015625, -0.010009765625, -0.0233154296875, -0.003997802734375, 0.00555419921875, 0.01708984375, 0.00555419921875, 0.01489257812...
[ 1238, 4904, 171763, 67, 80934, 208429, 214, 3742, 21, 29102, 22584, 1179, 5612, 17447, 903, 61007, 2276, 87427, 876, 194234, 80510, 30145, 78381, 563, 14537, 48909, 81450, 31344, 24124, 44084, 9969, 501, 2046 ]
[ 0.160888671875, 0.217041015625, 0.23046875, 0.115966796875, 0.208251953125, 0.2142333984375, 0.032989501953125, 0.045166015625, 0.065673828125, 0.167724609375, 0.119873046875, 0.00653076171875, 0.092041015625, 0.07891845703125, 0.0595703125, 0.05389404296875, 0.1492919921875, 0.095...
embed
10641057_c0
10641057
fsharp
0
Title: Is there a relationship between untyped/typed code quotations in F# and macro hygiene? Problem title: Is there a relationship between untyped/typed code quotations in F# and macro hygiene? Tags: programming-languages, metaprogramming, macros, lisp, f%23 Problem: Is there a relationship between untyped/typed code...
Is there a relationship between untyped/typed code quotations in F# and macro hygiene? Is there a relationship between untyped/typed code quotations in F# and macro hygiene? programming-languages metaprogramming macros lisp f%23 Is there a relationship between untyped/typed code quotations in F# and macro hygiene? I wo...
[ 0.00836181640625, 0.0037841796875, 0.0205078125, 0.00439453125, -0.00543212890625, 0.004058837890625, -0.00128936767578125, -0.01373291015625, 0.0036163330078125, -0.0010223388671875, -0.01031494140625, -0.0147705078125, 0.0068359375, -0.0186767578125, 0.005950927734375, 0.004669189453...
[ 2685, 76755, 17721, 51, 50986, 71, 64, 18151, 81732, 5256, 563, 4904, 136, 111789, 99824, 13, 56037, 196651, 23550, 28966, 400, 7008, 1238, 3742, 2071, 10, 23, 76519, 86869, 5701, 37348, 46876, 50509 ]
[ 0.01043701171875, 0.169189453125, 0.0513916015625, 0.1221923828125, 0.190185546875, 0.0438232421875, 0.0247650146484375, 0.17236328125, 0.2034912109375, 0.108154296875, 0.1553955078125, 0.1990966796875, 0.0477294921875, 0.1558837890625, 0.257080078125, 0.1292724609375, 0.061279296875...
embed
53897277_c1
53897277
fsharp
1
.rev | rest -> let (elem, skip1Elems) = getInnerHeads [] [] rest flipDimensions (elem::acc) skip1Elems The only upside of above code is that it is rail-recursive (at least I think it is). Anybody has a more efficient, or succinct, or both algorithm? I checked F# Snippets and SO, figured this would've been asked before,...
.rev | rest -> let (elem, skip1Elems) = getInnerHeads [] [] rest flipDimensions (elem::acc) skip1Elems The only upside of above code is that it is rail-recursive (at least I think it is). Anybody has a more efficient, or succinct, or both algorithm? I checked F# Snippets and SO, figured this would've been asked before,...
[ -0.006103515625, 0.017578125, -0.008544921875, 0.006561279296875, -0.00238037109375, 0.0294189453125, -0.0078125, -0.01007080078125, 0.0181884765625, -0.0203857421875, 0.0230712890625, 0.041259765625, 0.004364013671875, 0.005645751953125, -0.0194091796875, -0.00927734375, 0.006927490...
[ 5, 65381, 10588, 33079, 2633, 27889, 21658, 418, 7623, 195, 2046, 568, 13857, 13025, 712, 7, 147505, 39330, 63239, 10060, 4734, 1257, 8752, 36917, 18151, 83, 68823, 107, 48650, 5844, 5351, 1286, 93766, 42593, 6333, 234873, 563, 4904, 58134,...
[ 0.0792236328125, 0.279541015625, 0.213623046875, 0.0137939453125, 0.1678466796875, 0.164306640625, 0.163818359375, 0.04998779296875, 0.037261962890625, 0.1094970703125, 0.06365966796875, 0.0244598388671875, 0.179443359375, 0.187744140625, 0.1495361328125, 0.007476806640625, 0.1668701...
embed
54282170_c0
54282170
fsharp
0
Title: The block after &#x27;let&#x27; is unfinished - try/with Problem title: The block after &#x27;let&#x27; is unfinished - try/with Tags: f%23 Problem: The block after 'let' is unfinished - try/with Follow Code F#: try let result = 100/0 with | :? Exception as ex -> printfn ex.Message I get an error: The block afte...
The block after &#x27;let&#x27; is unfinished - try/with The block after &#x27;let&#x27; is unfinished - try/with f%23 Exception ex.Message The block after 'let' is unfinished - try/with Follow Code F#: I get an error: What am I doing wrong ?
[ -0.01068115234375, 0.0240478515625, 0.0004062652587890625, -0.004791259765625, 0.01556396484375, -0.006683349609375, 0.01611328125, -0.008544921875, 0.005401611328125, -0.01513671875, 0.002288818359375, 0.01165771484375, 0.002166748046875, 0.00136566162109375, 0.021484375, 0.0012969970...
[ 46389, 7103, 3768, 1974, 83, 51, 48310, 67175, 9790, 64, 76228, 581, 1238, 3742, 63928, 1119, 6011, 77168, 28864, 563, 4904, 87, 2046, 18499, 12, 4865, 444, 20594, 44691 ]
[ 0.2198486328125, 0.16015625, 0.1448974609375, 0.249267578125, 0.1136474609375, 0.1265869140625, 0.1737060546875, 0.1256103515625, 0.1585693359375, 0.01531982421875, 0.133544921875, 0.052154541015625, 0.047119140625, 0.1121826171875, 0.1204833984375, 0.04376220703125, 0.0906982421875,...
embed
8096492_c0
8096492
fsharp
0
Title: F# Using recursive lists Problem title: F# Using recursive lists Tags: f%23 Problem: F# Using recursive lists My code (below) falls over with a stack overflow exception. Im assuming F# isnt like haskell and dosent play well with recursive lists. Whats the correct way of dealing with recursive lists like this in ...
F# Using recursive lists F# Using recursive lists f%23 Using Seq.take F# Using recursive lists My code (below) falls over with a stack overflow exception. Im assuming F# isnt like haskell and dosent play well with recursive lists. Whats the correct way of dealing with recursive lists like this in F# ? Should i pass it ...
[ 0.00732421875, -0.00130462646484375, -0.0042724609375, -0.005340576171875, 0.0045166015625, 0.01007080078125, -0.0103759765625, 0.005035400390625, 0.023193359375, -0.0361328125, 0.00634765625, -0.01025390625, 0.026123046875, 0.0198974609375, 0.0283203125, -0.0152587890625, 0.00842285...
[ 563, 4904, 345, 195625, 5844, 5303, 1238, 3949, 3742, 503, 864, 78219, 18151, 17336, 123867, 645, 177261, 118664, 131527, 1884, 1556, 142508, 12832, 11301, 5299, 26785, 3917, 184017, 678, 903, 151117, 27875, 23, 18, 83324, 13267 ]
[ 0.142578125, 0.2073974609375, 0.075439453125, 0.2100830078125, 0.1507568359375, 0.212890625, 0.0487060546875, 0.045867919921875, 0.13525390625, 0.0570068359375, 0.1212158203125, 0.1561279296875, 0.1304931640625, 0.0777587890625, 0.104736328125, 0.1182861328125, 0.10394287109375, 0....
embed
44143868_c0
44143868
fsharp
0
Title: F# Dsl for simple expression? Problem title: F# Dsl for simple expression? Tags: f%23 Problem: F# Dsl for simple expression? I want to write a generic program to load data from text files or database to a table. The transformation between the source and destination shouldn't be hard-coded. They may have the form...
F# Dsl for simple expression? F# Dsl for simple expression? f%23 Dsl ColA Col1 ColB Col3 F# Dsl for simple expression? I want to write a generic program to load data from text files or database to a table. The transformation between the source and destination shouldn't be hard-coded. They may have the format of These r...
[ 0.0196533203125, -0.0118408203125, 0.0020599365234375, 0.04052734375, 0.011962890625, 0.0026092529296875, 0.0027923583984375, 0.018798828125, 0.0022430419921875, 0.01251220703125, -0.01007080078125, 0.0000782012939453125, -0.0081787109375, -0.00799560546875, -0.0017852783203125, 0.0055...
[ 563, 4904, 391, 24861, 100, 8781, 125195, 32, 1238, 3949, 3742, 11554, 284, 571, 363, 3444, 33022, 189534, 1528, 72367, 2053, 1295, 7986, 102158, 63399, 47, 23180, 167201, 17721, 31344, 136, 78869, 5608, 7941, 40899, 9384, 91736, 117176, 80...
[ 0.164306640625, 0.2333984375, 0.11181640625, 0.29638671875, 0.1143798828125, 0.188720703125, 0.2462158203125, 0.011505126953125, 0.0909423828125, 0.01092529296875, 0.12890625, 0.10723876953125, 0.0870361328125, 0.060333251953125, 0.0848388671875, 0.05645751953125, 0.09173583984375, ...
embed
44164321_c0
44164321
fsharp
0
Title: 2D array in F Sharp Problem title: 2D array in F Sharp Tags: function, functional-programming, f%23, arrays Problem: 2D array in F Sharp I have just started learning f# and developed a basic game however, at the moment you specify the cell to play on using a single array. For example to place an X or O on the mi...
2D array in F Sharp 2D array in F Sharp function functional-programming f%23 arrays Sharp Console.Write 2D array in F Sharp I have just started learning f# and developed a basic game however, at the moment you specify the cell to play on using a single array. For example to place an X or O on the middle cell, you would...
[ -0.0223388671875, -0.0002498626708984375, 0.01043701171875, 0.0230712890625, 0.012939453125, 0.010498046875, 0.01123046875, -0.006805419921875, -0.014404296875, 0.0311279296875, 0.021240234375, 0.01141357421875, -0.0169677734375, -0.005706787109375, -0.011474609375, -0.0224609375, -0...
[ 116, 397, 10298, 53, 23, 563, 197106, 32354, 123309, 28966, 1238, 3742, 4778, 40777, 1456, 18781, 52080, 4904, 126809, 62822, 6712, 40140, 18929, 38750, 11301, 98, 11001, 3687, 1193, 707, 180, 86991, 10644, 190, 125568, 3444, 15549, 47, 269...
[ 0.120849609375, 0.1375732421875, 0.2259521484375, 0.158935546875, 0.0523681640625, 0.163818359375, 0.2412109375, 0.146240234375, 0.134033203125, 0.09375, 0.08306884765625, 0.08343505859375, 0.051025390625, 0.084716796875, 0.037353515625, 0.056365966796875, 0.030242919921875, 0.1060...
embed
21986514_c0
21986514
fsharp
0
Title: Best way to create a sequence with 1 item Problem title: Best way to create a sequence with 1 item Tags: sequence, f%23 Problem: Best way to create a sequence with 1 item In F# I can create a sequence of 1 item by seq [42] // inefficient, since a list is created seq { yield 42} // verbose, would prefer { 42 } or...
Best way to create a sequence with 1 item Best way to create a sequence with 1 item sequence f%23 Best Best way to create a sequence with 1 item In F# I can create a sequence of 1 item by While I find this a bit strange, I am curious if someone knows a short and efficient way. Or: Why is not valid?
[ 0.0035858154296875, 0.00012159347534179688, 0.005218505859375, -0.00909423828125, 0.00762939453125, -0.0191650390625, 0.000392913818359375, -0.01409912109375, 0.0034637451171875, -0.03564453125, 0.0028533935546875, 0.028076171875, 0.0038909912109375, 0.0208740234375, 0.007476806640625, ...
[ 11345, 3917, 47, 28282, 40, 944, 3956, 678, 106, 35735, 10, 1238, 3949, 3742, 563, 4904, 831, 111, 390, 51404, 7413, 4785, 114453, 193844, 93002, 16610, 93766, 44084, 959, 35604 ]
[ 0.12353515625, 0.1259765625, 0.05206298828125, 0.210205078125, 0.1282958984375, 0.1912841796875, 0.1922607421875, 0.1451416015625, 0.1629638671875, 0.2449951171875, 0.03155517578125, 0.096923828125, 0.05615234375, 0.12841796875, 0.11181640625, 0.167724609375, 0.05023193359375, 0.04...
embed
57914165_c0
57914165
fsharp
0
Title: Why does Visual Studio 2019 remove my indents when cut-and-pasting F# code? Problem title: Why does Visual Studio 2019 remove my indents when cut-and-pasting F# code? Tags: f%23, visual-studio Problem: Why does Visual Studio 2019 remove my indents when cut-and-pasting F# code? In Visual Studio 2019 with Microsof...
Why does Visual Studio 2019 remove my indents when cut-and-pasting F# code? Why does Visual Studio 2019 remove my indents when cut-and-pasting F# code? f%23 visual-studio Why Visual Studio Why does Visual Studio 2019 remove my indents when cut-and-pasting F# code? In Visual Studio 2019 with Microsoft Visual F# Tools 10...
[ 0.0035552978515625, 0.006072998046875, -0.0027313232421875, 0.02099609375, 0.01312255859375, 0.0036468505859375, -0.015625, 0.000682830810546875, 0.00836181640625, 0.021728515625, 0.01025390625, -0.0038299560546875, -0.0091552734375, 0.007232666015625, 0.012939453125, 0.002838134765625...
[ 44084, 73372, 22968, 3640, 87388, 759, 18597, 933, 59226, 2940, 3166, 563, 4904, 18151, 14602, 1916, 1238, 3742, 21176, 52629, 3229, 7244, 119296, 4068, 617, 115459, 86681, 241957, 134665, 123166, 46389, 71099, 37076, 11435, 110, 51713, 3674, ...
[ 0.10125732421875, 0.2083740234375, 0.2032470703125, 0.2242431640625, 0.144775390625, 0.047943115234375, 0.1875, 0.136962890625, 0.1031494140625, 0.1181640625, 0.0780029296875, 0.105712890625, 0.1630859375, 0.134521484375, 0.01318359375, 0.030487060546875, 0.0276641845703125, 0.0157...
embed
858989_c0
858989
fsharp
0
Title: Semantics of &quot;&gt;&gt;&quot; operator in F# Problem title: Semantics of &quot;&gt;&gt;&quot; operator in F# Tags: f%23, operators, semantics Problem: Semantics of ">>" operator in F# In Microsoft's F# samples , they use the ">>" operator as follows: test |> Seq.iter (any_to_string >> printfn "line %s"); Wha...
Semantics of &quot;&gt;&gt;&quot; operator in F# Semantics of &quot;&gt;&gt;&quot; operator in F# f%23 operators semantics Semantics Seq.iter any_to_string Semantics of ">>" operator in F# In Microsoft's F# samples , they use the ">>" operator as follows: What does the ">>" operator do in this context? Is each item of ...
[ 0.0260009765625, -0.00567626953125, 0.026123046875, 0.02197265625, 0.006134033203125, -0.00421142578125, 0.00457763671875, 0.01495361328125, 0.0033111572265625, 0.00116729736328125, 0.0089111328125, -0.0029754638671875, 0.0091552734375, 0.00311279296875, 0.0169677734375, -0.01129150390...
[ 10232, 109109, 5386, 41502, 39933, 563, 4904, 74, 1238, 3742, 484, 503, 864, 16840, 2499, 188, 91693, 30813, 23, 7244, 121413, 4527, 70, 58, 28960, 4865, 14602, 54, 43701, 12638, 35735, 40, 944, 3956, 10298, 53, 2046, 115081, 47, 165164, ...
[ 0.1097412109375, 0.135986328125, 0.101806640625, 0.001678466796875, 0.2452392578125, 0.123779296875, 0.202880859375, 0.03466796875, 0.07000732421875, 0.07366943359375, 0.06585693359375, 0.0236053466796875, 0.1298828125, 0.145751953125, 0.16162109375, 0.1544189453125, 0.1827392578125,...
embed
4469177_c0
4469177
fsharp
0
Title: Async.Parallel, grouping work of many works Problem title: Async.Parallel, grouping work of many works Tags: f%23 Problem: Async.Parallel, grouping work of many works Is a pattern like: seq[ workSeq, workSeq ..., workSeq, workSeq] |> Seq.map( Async.Parallel ) |> Async.Parallel |> Async.RunSynchronously ok?, Or d...
Async.Parallel, grouping work of many works Async.Parallel, grouping work of many works f%23 Async.Parallel Seq.map Async.RunSynchronously Seq.concat Async.Parallel, grouping work of many works Is a pattern like: ok?, Or do i have to do: How do these two options behave differently ? Thanks
[ -0.00848388671875, 0.010986328125, -0.019287109375, 0.0009613037109375, -0.0120849609375, 0.00010776519775390625, -0.00167083740234375, 0.00179290771484375, 0.00836181640625, -0.01513671875, -0.01251220703125, 0.0291748046875, 0.0238037109375, 0.031494140625, -0.001495361328125, -0.002...
[ 62, 12654, 238, 55292, 1229, 141, 21115, 214, 4488, 111, 5941, 43240, 1238, 3949, 3742, 503, 864, 62346, 163321, 217835, 127, 1900, 79850, 2271, 4460, 2071, 10, 103510, 1884, 3664, 3347, 17, 765, 47, 54, 6097, 6626, 50717, 68991, 12921, ...
[ 0.037109375, 0.2291259765625, 0.10650634765625, 0.090087890625, 0.1656494140625, 0.119384765625, 0.2091064453125, 0.1243896484375, 0.1549072265625, 0.14599609375, 0.1839599609375, 0.172119140625, 0.0955810546875, 0.016326904296875, 0.1553955078125, 0.0775146484375, 0.12939453125, 0...
embed
53936612_c0
53936612
fsharp
0
Title: How to define a ref struct in F# in .NET Standard 2.0? Problem title: How to define a ref struct in F# in .NET Standard 2.0? Tags: f%23, ref-struct Problem: How to define a ref struct in F# in .NET Standard 2.0? When F# 4.5 was announced , it was stated that: The F# feature set is comprised of [...] The ability ...
How to define a ref struct in F# in .NET Standard 2.0? How to define a ref struct in F# in .NET Standard 2.0? f%23 ref-struct How NET Standard IsByRefLike How to define a ref struct in F# in .NET Standard 2.0? When F# 4.5 was announced , it was stated that: How to "produce" these types? I tried the [<IsByRefLike>] attr...
[ -0.0022735595703125, 0.032958984375, -0.01031494140625, 0.01708984375, -0.01312255859375, 0.0023651123046875, -0.002593994140625, 0.00634765625, 0.0029449462890625, 0.0172119140625, 0.006683349609375, -0.0103759765625, 0.0003871917724609375, -0.006195068359375, 0.01806640625, 0.0068969...
[ 11249, 61924, 10, 18831, 36716, 23, 563, 4904, 17777, 20744, 16655, 47, 1238, 3742, 2071, 75358, 190015, 156607, 60061, 171530, 442, 102446, 13, 6097, 52895, 37842, 29598, 150380, 959, 14037 ]
[ 0.0723876953125, 0.2205810546875, 0.06903076171875, 0.305419921875, 0.28564453125, 0.04510498046875, 0.1329345703125, 0.193115234375, 0.181640625, 0.190185546875, 0.21923828125, 0.0140533447265625, 0.0689697265625, 0.060821533203125, 0.07110595703125, 0.1309814453125, 0.24072265625, ...
embed