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
2225949_c0
2225949
fsharp
0
Title: Does F# have generic arithmetic support? Problem title: Does F# have generic arithmetic support? Tags: inline, math, generics, f%23 Problem: Does F# have generic arithmetic support? Does F# have the same problem as C# where you can't directly use arithmetic operators with generic T types? Can you write a generic...
Does F# have generic arithmetic support? Does F# have generic arithmetic support? inline math generics f%23 Does Does F# have generic arithmetic support? Does F# have the same problem as C# where you can't directly use arithmetic operators with generic T types? Can you write a generic Sum function that would return the...
[ -0.00860595703125, 0.00823974609375, 0.01531982421875, -0.010009765625, -0.003997802734375, 0.005615234375, -0.00555419921875, 0.00579833984375, -0.0008087158203125, -0.017333984375, 0.007720947265625, -0.00811767578125, 0.0091552734375, -0.019287109375, 0.00506591796875, -0.0060729980...
[ 563, 4904, 189534, 187, 8962, 282, 9523, 8060, 765, 23, 2256, 48909, 1238, 3742, 2967, 105237, 4527, 39933, 384, 52895, 4171, 33022, 36335, 32354, 30646, 10554, 2499, 34292, 66044 ]
[ 0.161376953125, 0.23828125, 0.227783203125, 0.0207977294921875, 0.1484375, 0.1002197265625, 0.0472412109375, 0.223876953125, 0.0246734619140625, 0.017059326171875, 0.0875244140625, 0.0867919921875, 0.0799560546875, 0.03448486328125, 0.085693359375, 0.049713134765625, 0.049560546875, ...
embed
35848247_c1
35848247
fsharp
1
grid with Four= grid |> update };; // Updated here Code signals: What, grid_1, Four, Updated, State, Alive, Dead, Response, Survives, Dies, Resurected, Grid, Zero:State, One:State, Two:State, Three:State, Four:State, Central, Five:State, Six:State, Seven:State, Eight:State, grid:Grid, grid.Zero, grid.One, grid.Two, gr...
grid with Four= grid |> update };; // Updated here Code signals: What, grid_1, Four, Updated, State, Alive, Dead, Response, Survives, Dies, Resurected, Grid, Zero:State, One:State, Two:State, Three:State, Four:State, Central, Five:State, Six:State, Seven:State, Eight:State, grid:Grid, grid.Zero, grid.One, grid.Two, gr...
[ -0.049072265625, 0.007110595703125, 0.00171661376953125, 0.00836181640625, -0.005340576171875, -0.01153564453125, -0.019287109375, 0.0260009765625, 0.0084228515625, 0.0242919921875, 0.0012359619140625, 0.00665283203125, -0.0269775390625, 0.01397705078125, 0.007110595703125, -0.00328063...
[ 6, 120067, 678, 65056, 1369, 28350, 28641, 3688, 28864, 26073, 7, 12, 4865, 4, 115187, 71, 22836, 2132, 272, 51952, 92748, 8018, 686, 3132, 35542, 9624, 3408, 89829, 31945, 83947, 135206, 6561, 32964, 129335, 15881, 156615, 84247, 132556, 2...
[ 0.06787109375, 0.3251953125, 0.216796875, 0.34326171875, 0.110107421875, 0.1993408203125, 0.2279052734375, 0.04376220703125, 0.28857421875, 0.325439453125, 0.169189453125, 0.0621337890625, 0.1396484375, 0.079833984375, 0.19287109375, 0.1910400390625, 0.1898193359375, 0.15625, 0.1...
embed
55795484_c0
55795484
fsharp
0
Title: What's the status of F# 4.6 in Visual Studio 2017? Problem title: What's the status of F# 4.6 in Visual Studio 2017? Tags: f%23, visual-studio-2017 Problem: What's the status of F# 4.6 in Visual Studio 2017? Code signals: What, Visual, Studio, VSIXInstaller.ExtensionService.ComputeInstallableExtensions...
What's the status of F# 4.6 in Visual Studio 2017? What's the status of F# 4.6 in Visual Studio 2017? f%23 visual-studio-2017 What Visual Studio VSIXInstaller.ExtensionService.ComputeInstallableExtensions IStateData Boolean IDictionary VSIXInstaller.App.Initialize System.Threading.Tasks.Task visual-studio-201...
[ 0.00341796875, 0.00714111328125, 0.0208740234375, -0.00130462646484375, -0.00634765625, 0.0023651123046875, -0.016845703125, -0.006591796875, -0.006317138671875, 0.0208740234375, 0.007415771484375, -0.000934600830078125, -0.0036468505859375, 0.011962890625, 0.00830078125, 0.00772094726...
[ 4865, 3768, 10778, 111, 563, 4904, 6, 115459, 23, 73372, 22968, 505, 32, 1238, 3742, 21176, 52629, 22842, 44160, 21487, 4153, 92621, 56, 19279, 128872, 121979, 108161, 2886, 15744, 19888, 137989, 73783, 34677, 11338, 10763, 39179, 40705, 1235...
[ 0.035888671875, 0.0911865234375, 0.1572265625, 0.040008544921875, 0.127685546875, 0.2056884765625, 0.029754638671875, 0.293701171875, 0.081787109375, 0.213134765625, 0.1966552734375, 0.2349853515625, 0.001678466796875, 0.058502197265625, 0.045745849609375, 0.1781005859375, 0.15148925...
embed
66947964_c0
66947964
fsharp
0
Title: F#: Providing type annotation for overloaded constructor Problem title: F#: Providing type annotation for overloaded constructor Tags: type-providers, f%23 Problem: F#: Providing type annotation for overloaded constructor I'm getting a FS0041 error for an overloaded constructor, and I can't find my way around it...
F#: Providing type annotation for overloaded constructor F#: Providing type annotation for overloaded constructor type-providers f%23 Providing F#: Providing type annotation for overloaded constructor I'm getting a FS0041 error for an overloaded constructor, and I can't find my way around it. Here are two screenshot of...
[ 0.011474609375, 0.006927490234375, -0.0213623046875, 0.0079345703125, -0.0026702880859375, -0.004608154296875, -0.0147705078125, -0.0013427734375, -0.0047607421875, -0.0037841796875, 0.01708984375, -0.01806640625, 0.0147705078125, 0.0113525390625, 0.00152587890625, -0.01104736328125, ...
[ 563, 4904, 77345, 86675, 10644, 8668, 22062, 100, 645, 63033, 297, 64549, 748, 12, 93136, 14202, 1238, 3949, 3742, 20949, 93774, 135401, 418, 18499, 4, 7413, 3917, 10932, 209647, 81887, 7, 11249, 831, 71924, 104851 ]
[ 0.1116943359375, 0.1907958984375, 0.0926513671875, 0.0430908203125, 0.195068359375, 0.1688232421875, 0.10235595703125, 0.021881103515625, 0.115966796875, 0.183837890625, 0.04132080078125, 0.1568603515625, 0.1240234375, 0.021514892578125, 0.163818359375, 0.03985595703125, 0.0955810546...
embed
15445739_c0
15445739
fsharp
0
Title: Is there a shorter notation for identity function (fun x -> x) in F#? Problem title: Is there a shorter notation for identity function (fun x -> x) in F#? Tags: f%23, syntax Problem: Is there a shorter notation for identity function (fun x -> x) in F#? Is there a shorter notation for identity function (fun...
Is there a shorter notation for identity function (fun x -> x) in F#? Is there a shorter notation for identity function (fun x -> x) in F#? f%23 syntax Seq.countBy Is there a shorter notation for identity function (fun x -> x) in F#? Is there a shorter notation for identity function (fun x -> x), other then defin...
[ -0.002716064453125, 0.0050048828125, 0.020263671875, 0.00390625, 0.0257568359375, -0.006591796875, 0.02734375, -0.006256103515625, 0.01275634765625, -0.054443359375, -0.01348876953125, 0.0206298828125, -0.00946044921875, 0.0023651123046875, 0.02880859375, 0.01226806640625, -0.0050659...
[ 16610, 56, 110, 22062, 182324, 32354, 16498, 1022, 20, 1230, 5386, 16, 563, 4904, 2685, 10, 100, 23, 1238, 3949, 3742, 6002, 86531, 503, 864, 71013, 75358, 2071, 33079, 13204, 449, 935, 10002, 213185, 33342, 221, 2565, 53 ]
[ 0.173828125, 0.12646484375, 0.1588134765625, 0.14208984375, 0.2384033203125, 0.2091064453125, 0.19775390625, 0.1812744140625, 0.085693359375, 0.06298828125, 0.1488037109375, 0.0240936279296875, 0.1185302734375, 0.197265625, 0.03912353515625, 0.03790283203125, 0.016845703125, 0.0494...
embed
44462268_c0
44462268
fsharp
0
Title: What is RequireQualifiedAccess attribute? Problem title: What is RequireQualifiedAccess attribute? Tags: f%23, .net Problem: What is RequireQualifiedAccess attribute? From the docs : This attribute is used to indicate that references to the elements of a module, record or union type require explicit qualified ac...
What is RequireQualifiedAccess attribute? What is RequireQualifiedAccess attribute? f%23 .net What RequireQualifiedAccess What is RequireQualifiedAccess attribute? From the docs : What is an explicit qualified access? What is an implicit access?
[ -0.00238037109375, 0.0169677734375, 0.004638671875, 0.00994873046875, -0.00144195556640625, 0.00360107421875, 0.00933837890625, 0.004425048828125, 0.003997802734375, 0.01092529296875, 0.0230712890625, 0.01153564453125, 0.0068359375, 0.003387451171875, -0.00982666015625, -0.019165039062...
[ 4865, 83, 853, 3181, 107, 178476, 47314, 39450, 26531, 150380, 13, 32, 1238, 3949, 3742, 6, 5, 1179, 28090, 54, 142, 143726, 217225, 17203, 165164 ]
[ 0.09857177734375, 0.108642578125, 0.11962890625, 0.175048828125, 0.169921875, 0.1800537109375, 0.2099609375, 0.14404296875, 0.2232666015625, 0.21875, 0.110595703125, 0.03448486328125, 0.0850830078125, 0.05322265625, 0.1190185546875, 0.0153045654296875, 0.06195068359375, 0.192626953...
embed
1936767_c0
1936767
fsharp
0
Title: F# case insensitive string compare Problem title: F# case insensitive string compare Tags: f%23 Problem: F# case insensitive string compare Is there a syntactically cleaner way to preform a case insensitive string comparison in F# than the following System.String.Equals("test", "TeSt", System.StringComparison.Cu...
F# case insensitive string compare F# case insensitive string compare f%23 System.String.Equals TeSt System.StringComparison.CurrentCultureIgnoreCase F# case insensitive string compare Is there a syntactically cleaner way to preform a case insensitive string comparison in F# than the following
[ -0.0230712890625, -0.010498046875, -0.01080322265625, 0.00927734375, -0.0004138946533203125, -0.0084228515625, 0.017578125, -0.009521484375, 0.0004730224609375, 0.00811767578125, 0.0211181640625, 0.0191650390625, -0.01373291015625, 0.01092529296875, -0.007049560546875, 0.00273132324218...
[ 563, 4904, 7225, 23, 176302, 79315, 69101, 1238, 3949, 3742, 12353, 71713, 214, 71723, 1413, 37455, 108161, 1686, 474, 15724, 202, 11137, 441, 6991, 6002, 18, 47013, 46622, 56, 3917, 479, 5037, 13, 225490, 3501, 70, 25632 ]
[ 0.11474609375, 0.183349609375, 0.17431640625, 0.071044921875, 0.205078125, 0.208251953125, 0.16455078125, 0.05987548828125, 0.012969970703125, 0.0645751953125, 0.07391357421875, 0.09991455078125, 0.02227783203125, 0.1343994140625, 0.1068115234375, 0.09814453125, 0.05755615234375, 0...
embed
6022049_c0
6022049
fsharp
0
Title: F# - Extract option from Expr Problem title: F# - Extract option from Expr Tags: f%23 Problem: F# - Extract option from Expr Is there a way to extract a parameter from an Expr ? An example: let hasStringOption (e:Expr<string option>) = let myOption : string option = ..some code to get the string option from e Ho...
F# - Extract option from Expr F# - Extract option from Expr f%23 Expr e Extract e:Expr F# - Extract option from Expr Is there a way to extract a parameter from an Expr ? An example: How would I get the string option inside the Expr and assign it to myOption ?
[ 0.0032958984375, -0.002685546875, 0.0272216796875, 0.01422119140625, 0.00396728515625, 0.0031585693359375, 0.0069580078125, -0.0098876953125, 0.0021514892578125, -0.01239013671875, 0.003448486328125, -0.017578125, -0.00738525390625, -0.00091552734375, 0.007568359375, 0.02783203125, -...
[ 563, 4904, 31501, 15390, 35829, 1295, 60075, 42, 20, 1238, 3949, 3742, 28, 19279, 10287, 2071, 2685, 10, 3917, 47, 125663, 171859, 27781, 11249, 2046, 70, 79315, 46132, 95486, 759, 39029, 1363 ]
[ 0.1256103515625, 0.1876220703125, 0.1951904296875, 0.1256103515625, 0.250732421875, 0.1190185546875, 0.1837158203125, 0.2158203125, 0.0300445556640625, 0.09027099609375, 0.0474853515625, 0.134521484375, 0.0921630859375, 0.129638671875, 0.224609375, 0.0045166015625, 0.035888671875, ...
embed
26568037_c0
26568037
fsharp
0
Title: F# type definition syntax Problem title: F# type definition syntax Tags: f%23 Problem: F# type definition syntax I'm working on the '99 problems of F#', and saw the following definition of NestedList : type 'a NestedList = List of 'a NestedList list | Elem of 'a I'm a little confused by the syntax here, as norma...
F# type definition syntax F# type definition syntax f%23 NestedList List Elem F# type definition syntax I'm working on the '99 problems of F#', and saw the following definition of NestedList : I'm a little confused by the syntax here, as normally there is only a type name after the type . Can someone clarify it? Thanks...
[ -0.006622314453125, 0.006134033203125, -0.0004119873046875, 0.005126953125, -0.0067138671875, 0.01123046875, -0.01165771484375, -0.00012111663818359375, 0.0024261474609375, 0.00836181640625, 0.01385498046875, -0.021484375, -0.007354736328125, -0.00408935546875, -0.00057220458984375, 0....
[ 563, 4904, 10644, 80934, 6002, 86531, 1238, 3949, 3742, 28701, 71, 154663, 32036, 540, 195, 5046, 44402, 25632, 10176, 55681, 3638, 4734, 9351, 7103, 17306 ]
[ 0.144775390625, 0.2093505859375, 0.228759765625, 0.17431640625, 0.1483154296875, 0.158935546875, 0.0909423828125, 0.044342041015625, 0.1422119140625, 0.2178955078125, 0.1168212890625, 0.2197265625, 0.154541015625, 0.038177490234375, 0.1015625, 0.1143798828125, 0.0828857421875, 0.01...
embed
6104221_c1
6104221
fsharp
1
Array.init n.Length id let d0 = Array.create n.Length 0 for i=1 to m.Length-1 do d0.[0] <- i let ui = m.[i] for j=1 to n.Length-1 do d0.[j] <- 1 + min3(d1.[j], d0.[j-1], d1.[j-1] + if ui = n.[j] then -1 else 0) Array.blit d0 0 d1 0 n.Length d0.[n.Length-1] Code signals: Why, min3, Math.Min, EditDistance, n.Length, d1....
Array.init n.Length id let d0 = Array.create n.Length 0 for i=1 to m.Length-1 do d0.[0] <- i let ui = m.[i] for j=1 to n.Length-1 do d0.[j] <- 1 + min3(d1.[j], d0.[j-1], d1.[j-1] + if ui = n.[j] then -1 else 0) Array.blit d0 0 d1 0 n.Length d0.[n.Length-1] Code signals: Why, min3, Math.Min, EditDistance, n.Length, d1....
[ 0.00121307373046875, 0.0108642578125, 0.01275634765625, 0.007415771484375, -0.0029296875, -0.00537109375, 0.006072998046875, -0.01202392578125, 0.0216064453125, 0.0072021484375, 0.009033203125, -0.00335693359375, 0.0181884765625, -0.0081787109375, -0.007720947265625, -0.005615234375, ...
[ 69253, 53, 5, 73, 217, 653, 5267, 449, 927, 3447, 2633, 104, 2389, 2203, 7612, 2182, 757, 100, 17, 33000, 47, 347, 5759, 54, 75, 14, 1647, 170, 106, 997, 881, 363, 71, 418, 76172, 68940, 37076, 7121, 18, 19, 28864, 26073, 7, 44084...
[ 0.2200927734375, 0.1746826171875, 0.0341796875, 0.1324462890625, 0.1822509765625, 0.157958984375, 0.05743408203125, 0.13427734375, 0.0849609375, 0.15380859375, 0.10504150390625, 0.10107421875, 0.1534423828125, 0.03594970703125, 0.1474609375, 0.0926513671875, 0.16455078125, 0.019714...
embed
7538584_c2
7538584
fsharp
2
i.e. 587 times slower than OCaml - oops. So this program... runs fine under OCaml doesn't work at all under .NET/F# works, but is very slow, under Mono/F#. Why? Code signals: StackOverflowException, OCaml, Stack, ant.ml, Points, Thanassis, HOME, Tmp, ant.fsharp, Program, Files, FSharp-2.0.0.0, fsc.exe, ant.fs, Microso...
i.e. 587 times slower than OCaml - oops. So this program... runs fine under OCaml doesn't work at all under .NET/F# works, but is very slow, under Mono/F#. Why? Code signals: StackOverflowException, OCaml, Stack, ant.ml, Points, Thanassis, HOME, Tmp, ant.fsharp, Program, Files, FSharp-2.0.0.0, fsc.exe, ant.fs, Microso...
[ -0.01397705078125, 0.01129150390625, 0.01239013671875, -0.01177978515625, -0.0068359375, -0.01458740234375, -0.01312255859375, 0.00244140625, -0.01513671875, -0.03662109375, -0.00408935546875, 0.0111083984375, -0.0012359619140625, -0.00579833984375, 0.0126953125, -0.007781982421875, ...
[ 202118, 20028, 72803, 56, 3501, 180, 105272, 141, 32500, 7, 903, 1528, 127877, 5885, 1379, 18, 4488, 99, 756, 5, 17777, 64, 919, 4904, 43240, 4, 1284, 83, 4552, 77879, 44084, 28864, 26073, 6512, 2594, 156673, 118664, 63928, 12936, 7237, ...
[ 0.245361328125, 0.11083984375, 0.2491455078125, 0.1248779296875, 0.065185546875, 0.1314697265625, 0.203369140625, 0.2125244140625, 0.0716552734375, 0.0297393798828125, 0.09588623046875, 0.197509765625, 0.0966796875, 0.1153564453125, 0.1651611328125, 0.06304931640625, 0.10205078125, ...
embed
918908_c0
918908
fsharp
0
Title: How difficult is it to learn F# for experienced C# 3.0 developers? Problem title: How difficult is it to learn F# for experienced C# 3.0 developers? Tags: c%23-3.0, c%23, f%23, functional-programming Problem: How difficult is it to learn F# for experienced C# 3.0 developers? How difficult is it to learn F# for e...
How difficult is it to learn F# for experienced C# 3.0 developers? How difficult is it to learn F# for experienced C# 3.0 developers? c%23-3.0 c%23 f%23 functional-programming How How difficult is it to learn F# for experienced C# 3.0 developers? How difficult is it to learn F# for experienced C# 3.0 developers, and/or...
[ 0.01324462890625, 0.00689697265625, 0.004241943359375, -0.01361083984375, -0.00860595703125, -0.0098876953125, -0.01263427734375, -0.007415771484375, 0.0198974609375, -0.0128173828125, 0.007720947265625, -0.0224609375, -0.005279541015625, 0.0303955078125, -0.003997802734375, 0.00233459...
[ 11249, 34844, 442, 30698, 563, 4904, 100, 122446, 313, 17596, 106001, 83, 7, 501, 27495, 132265, 3742, 1238, 123309, 28966, 214, 47, 2684, 2831, 52080 ]
[ 0.037353515625, 0.20166015625, 0.05438232421875, 0.1357421875, 0.1531982421875, 0.2269287109375, 0.0877685546875, 0.1729736328125, 0.0166015625, 0.1937255859375, 0.0885009765625, 0.020904541015625, 0.018585205078125, 0.0151214599609375, 0.0158538818359375, 0.1168212890625, 0.01043701...
embed
45556628_c0
45556628
fsharp
0
Title: F# array sum can&#x27;t print Problem title: F# array sum can&#x27;t print Tags: f%23 Problem: F# array sum can't print So far, I have pretty much things set but that dumb printfn is still not working. open System [<EntryPoint>] let main argv = let n = Console.ReadLine() |> int let nums = seq { for i in 1..n -> ...
F# array sum can&#x27;t print F# array sum can&#x27;t print f%23 System EntryPoint Console.ReadLine Seq.sum F# array sum can't print So far, I have pretty much things set but that dumb printfn is still not working.
[ -0.004730224609375, 0.004852294921875, 0.0087890625, 0.0152587890625, -0.0322265625, 0.007110595703125, 0.004241943359375, 0.01055908203125, 0.004302978515625, -0.01708984375, -0.00433349609375, 0.0038909912109375, -0.004486083984375, 0.01190185546875, 0.01458740234375, -0.006408691406...
[ 563, 4904, 10298, 53, 10554, 831, 3768, 18, 28412, 1238, 3742, 12353, 357, 15123, 147534, 40777, 31345, 93232, 503, 864, 11832, 2060, 28875, 5045, 8966, 5423, 115, 6492, 14783, 7464, 959, 20697 ]
[ 0.144287109375, 0.1893310546875, 0.2154541015625, 0.1339111328125, 0.2484130859375, 0.06256103515625, 0.07220458984375, 0.06170654296875, 0.210205078125, 0.09771728515625, 0.0904541015625, 0.06439208984375, 0.036529541015625, 0.11962890625, 0.108642578125, 0.1175537109375, 0.13647460...
embed
19187377_c0
19187377
fsharp
0
Title: Write a function to build a tree from a list Problem title: Write a function to build a tree from a list Tags: f%23 Problem: Write a function to build a tree from a list How can I write a function to build a tree from a list in F#? type Tree = | Node of (Tree * Tree) | leaf of int If one reads the labels of the ...
Write a function to build a tree from a list Write a function to build a tree from a list f%23 a Write Tree Node Write a function to build a tree from a list How can I write a function to build a tree from a list in F#? If one reads the labels of the tree from left to write then they should be in the same order as the ...
[ -0.003936767578125, 0.005401611328125, -0.00653076171875, 0.00089263916015625, 0.00775146484375, 0.012451171875, -0.032470703125, -0.008056640625, 0.0101318359375, -0.039306640625, 0.0015716552734375, -0.01007080078125, 0.0032958984375, 0.004425048828125, 0.01153564453125, -0.005523681...
[ 601, 18781, 10, 32354, 47, 45367, 53201, 1295, 5303, 1238, 3742, 101344, 438, 112, 831, 33022, 563, 4904, 12301, 7, 67967, 25737, 5608, 186, 5701, 12989 ]
[ 0.1011962890625, 0.1343994140625, 0.03485107421875, 0.225830078125, 0.06591796875, 0.1871337890625, 0.27685546875, 0.1702880859375, 0.2279052734375, 0.061279296875, 0.08221435546875, 0.2384033203125, 0.1094970703125, 0.0904541015625, 0.0204925537109375, 0.187255859375, 0.103637695312...
embed
47674911_c2
47674911
fsharp
2
, can you give a look and help me how to make it work will all named parameters written? Code signals: a, How, Generate, XML, XSD, xsd1, FSharp.Data, System.Xml.Linq, XmlProvider, Schema, nfe_v4.00.xsd, ResolutionFolder, GenerateNFe, Unchecked.defaultof, nfe.Ide, nfe.Emit, nfe.Dest, None, Some, TONY, oldmail.com, nfe.I...
, can you give a look and help me how to make it work will all named parameters written? Code signals: a, How, Generate, XML, XSD, xsd1, FSharp.Data, System.Xml.Linq, XmlProvider, Schema, nfe_v4.00.xsd, ResolutionFolder, GenerateNFe, Unchecked.defaultof, nfe.Ide, nfe.Emit, nfe.Dest, None, Some, TONY, oldmail.com, nfe.I...
[ -0.016845703125, 0.01507568359375, 0.01483154296875, 0.01141357421875, 0.0107421875, 0.02490234375, 0.0026397705078125, -0.017333984375, 0.006866455078125, 0.0032806396484375, -0.01324462890625, -0.0028839111328125, 0.00787353515625, 0.005645751953125, -0.0009918212890625, -0.024047851...
[ 6, 831, 8337, 6713, 4358, 163, 3642, 3249, 442, 4488, 1221, 756, 24, 4806, 171859, 7, 59121, 32, 28864, 26073, 10, 11249, 155370, 67, 92537, 1193, 22916, 1022, 71, 418, 93774, 3467, 254, 137989, 12353, 1542, 7237, 44982, 177997, 62160, ...
[ 0.0250244140625, 0.0297088623046875, 0.04486083984375, 0.1387939453125, 0.0655517578125, 0.0284881591796875, 0.07281494140625, 0.0875244140625, 0.10040283203125, 0.1627197265625, 0.1173095703125, 0.1116943359375, 0.11474609375, 0.169189453125, 0.274169921875, 0.10528564453125, 0.2209...
embed
39857271_c0
39857271
fsharp
0
Title: F# Bool list check if 1 element in the list true Problem title: F# Bool list check if 1 element in the list true Tags: list, f%23 Problem: F# Bool list check if 1 element in the list true I have a list of booleans and I want to check if 1 element in the list is true. The way my program works is whenever a boolea...
F# Bool list check if 1 element in the list true F# Bool list check if 1 element in the list true list f%23 Bool F# Bool list check if 1 element in the list true I have a list of booleans and I want to check if 1 element in the list is true. The way my program works is whenever a boolean list is created it'll have only...
[ 0.000736236572265625, -0.006103515625, 0.00732421875, 0.0023193359375, -0.006866455078125, 0.0225830078125, 0.00872802734375, -0.001373291015625, 0.002899169921875, 0.004669189453125, -0.004241943359375, -0.01470947265625, -0.0069580078125, -0.00872802734375, 0.000858306884765625, 0.00...
[ 563, 4904, 2460, 929, 5303, 12765, 2174, 106, 12830, 23, 70, 29568, 1238, 3949, 3742, 111, 337, 16836, 10133, 3444, 47, 83, 3917, 1528, 43240, 217684, 31, 34677, 75935, 4734, 1632, 34292, 707, 351, 756, 25647, 903 ]
[ 0.10321044921875, 0.168701171875, 0.1177978515625, 0.1978759765625, 0.206298828125, 0.1785888671875, 0.1256103515625, 0.1124267578125, 0.19580078125, 0.1025390625, 0.00335693359375, 0.2432861328125, 0.068603515625, 0.000885009765625, 0.1009521484375, 0.005584716796875, 0.083129882812...
embed
69878534_c2
69878534
fsharp
2
aSpan.GetPinnableReference, bSpan.GetPinnableReference, Vector128.Create, Sse2.LoadVector128, NativePtr.add, Sse2.CompareEqual, zeroTest.AsByte, Vector128.Count, Core, CLR, amd64, _.sseFloatEquals$cont, System.Double, Microsoft.FSharp.Core.Unit, L0000, L0001, L0002, L0003, L0004, L0008, L000b, L0010, r8d, L0013, r9d, ...
aSpan.GetPinnableReference, bSpan.GetPinnableReference, Vector128.Create, Sse2.LoadVector128, NativePtr.add, Sse2.CompareEqual, zeroTest.AsByte, Vector128.Count, Core, CLR, amd64, _.sseFloatEquals$cont, System.Double, Microsoft.FSharp.Core.Unit, L0000, L0001, L0002, L0003, L0004, L0008, L000b, L0010, r8d, L0013, r9d, ...
[ -0.005401611328125, 0.0118408203125, -0.01129150390625, 0.007354736328125, -0.003387451171875, -0.0042724609375, -0.00421142578125, -0.0257568359375, 0.00701904296875, 0.01953125, 0.002197265625, 0.041259765625, -0.0130615234375, -0.005950927734375, 0.0017852783203125, -0.0000191926956...
[ 10, 3180, 5, 724, 126, 683, 2230, 2886, 4332, 69988, 13, 4, 876, 2609, 18770, 81764, 63784, 2182, 159, 184, 5442, 15363, 26455, 353, 4935, 4448, 4028, 108161, 1046, 71723, 45234, 111337, 19659, 75358, 67, 108210, 31365, 138535, 444, 71, ...
[ 0.150146484375, 0.222412109375, 0.068603515625, 0.0662841796875, 0.0880126953125, 0.07958984375, 0.17822265625, 0.1976318359375, 0.114990234375, 0.2349853515625, 0.0650634765625, 0.08416748046875, 0.0665283203125, 0.1536865234375, 0.15380859375, 0.21533203125, 0.1058349609375, 0.06...
embed
21777348_c0
21777348
fsharp
0
Title: f# finding the indexes of a string in a char array Problem title: f# finding the indexes of a string in a char array Tags: f%23 Problem: f# finding the indexes of a string in a char array Hey all i am new to F# I am trying to find the starting indexes of all the occurrences of a string in a char array. e.g. char...
f# finding the indexes of a string in a char array f# finding the indexes of a string in a char array f%23 f# finding the indexes of a string in a char array Hey all i am new to F# I am trying to find the starting indexes of all the occurrences of a string in a char array. e.g. char array ['a';'b';'b';'a';'b';'b';'b';'...
[ 0.001251220703125, -0.0012359619140625, -0.0086669921875, 0.022216796875, -0.0185546875, 0.00970458984375, 0.002166748046875, -0.008544921875, 0.0032806396484375, -0.0262451171875, -0.00775146484375, -0.011474609375, -0.005950927734375, 0.00762939453125, 0.0037384033203125, -0.00717163...
[ 1238, 4904, 90791, 63262, 90, 79315, 23, 21441, 10298, 53, 70, 111, 3742, 28240, 756, 3525, 563, 31577, 7413, 72134, 74918, 42, 69098, 11, 74, 275, 2806, 30646, 757, 136, 138, 483, 157318, 100, 2055 ]
[ 0.1190185546875, 0.2039794921875, 0.097412109375, 0.23876953125, 0.1253662109375, 0.2247314453125, 0.0712890625, 0.1854248046875, 0.147705078125, 0.1114501953125, 0.015716552734375, 0.015106201171875, 0.100830078125, 0.001739501953125, 0.07562255859375, 0.00909423828125, 0.0755004882...
embed
28716957_c0
28716957
fsharp
0
Title: Creating a negated predicate in F# Problem title: Creating a negated predicate in F# Tags: f%23 Problem: Creating a negated predicate in F# I have a predicate in F# for example let myFunc x y = x < y Is there a way to create the negated version of this function? So something that would be functionally similar to...
Creating a negated predicate in F# Creating a negated predicate in F# f%23 Creating Creating a negated predicate in F# I have a predicate in F# for example Is there a way to create the negated version of this function? So something that would be functionally similar to But by using the original myFunc?
[ 0.0019378662109375, -0.005950927734375, 0.00689697265625, -0.000965118408203125, -0.0164794921875, 0.004730224609375, 0.02197265625, 0.00433349609375, 0.0086669921875, -0.00139617919921875, -0.0034942626953125, 0.0201416015625, -0.00160980224609375, -0.0103759765625, 0.005462646484375, ...
[ 56781, 90584, 297, 1653, 2063, 67, 563, 4904, 1238, 3949, 3742, 1916, 23, 765, 27781, 3917, 28282, 11389, 903, 32354, 186, 123309, 21373, 4966, 17368, 7311, 759, 97249, 238 ]
[ 0.1795654296875, 0.2315673828125, 0.1392822265625, 0.18359375, 0.2105712890625, 0.11767578125, 0.1519775390625, 0.2000732421875, 0.07257080078125, 0.0506591796875, 0.114990234375, 0.00726318359375, 0.00390625, 0.00457763671875, 0.009979248046875, 0.044342041015625, 0.1563720703125, ...
embed
6189526_c0
6189526
fsharp
0
Title: File checking code for F# Problem title: File checking code for F# Tags: f%23, file Problem: File checking code for F# I have this code to raise an error when file doesn't exist. if !File.Exists(doFile) then printfn "doFile doesn't exist %s" doFile; failwith "quit" However, I got this error. What's wrong? error ...
File checking code for F# File checking code for F# f%23 file File File.Exists FS0001 File checking code for F# I have this code to raise an error when file doesn't exist. However, I got this error. What's wrong?
[ 0.01385498046875, 0.0111083984375, 0.0164794921875, 0.007293701171875, -0.0026702880859375, 0.006866455078125, 0.0004558563232421875, 0.00125885009765625, -0.005584716796875, -0.0022735595703125, 0.0220947265625, 0.0164794921875, -0.007568359375, 0.00102996826171875, 0.01141357421875, ...
[ 42724, 175199, 18151, 100, 563, 4904, 1238, 3949, 3742, 11435, 19279, 64370, 93774, 188735, 765, 903, 47, 138804, 18499, 3229, 22027, 18, 32316, 33306, 4, 44691 ]
[ 0.2294921875, 0.2314453125, 0.1510009765625, 0.059722900390625, 0.1484375, 0.2138671875, 0.1298828125, 0.052764892578125, 0.2022705078125, 0.2197265625, 0.1552734375, 0.14404296875, 0.17236328125, 0.2108154296875, 0.026702880859375, 0.046966552734375, 0.01947021484375, 0.1037597656...
embed
3248091_c0
3248091
fsharp
0
Title: F# Tail Recursive Function Example Problem title: F# Tail Recursive Function Example Tags: tail-recursion, f%23 Problem: F# Tail Recursive Function Example I am new to F# and was reading about tail recursive functions and was hoping someone could give me two different implementations of a function foo - one that...
F# Tail Recursive Function Example F# Tail Recursive Function Example tail-recursion f%23 Tail Recursive Example F# Tail Recursive Function Example I am new to F# and was reading about tail recursive functions and was hoping someone could give me two different implementations of a function foo - one that is tail recurs...
[ 0.02490234375, 0.0028076171875, 0.007781982421875, 0.0084228515625, 0.0198974609375, 0.00970458984375, -0.016845703125, 0.0008087158203125, 0.003204345703125, -0.0108642578125, 0.017333984375, -0.00933837890625, -0.01263427734375, 0.02392578125, 0.0478515625, -0.00537109375, 0.010437...
[ 563, 4904, 1218, 379, 853, 48650, 5844, 28670, 89536, 8705, 10763, 46741, 107, 1830, 1238, 3949, 3742, 3525, 16454, 195625, 32354, 156377, 6626, 12921, 208124, 5775, 31, 1632, 83, 136, 18, 28219, 24702 ]
[ 0.1343994140625, 0.2138671875, 0.1759033203125, 0.1717529296875, 0.097900390625, 0.201416015625, 0.14306640625, 0.174072265625, 0.1876220703125, 0.06787109375, 0.0248260498046875, 0.2705078125, 0.1060791015625, 0.06207275390625, 0.1002197265625, 0.0479736328125, 0.1224365234375, 0....
embed
1907158_c0
1907158
fsharp
0
Title: This F# code is not working Problem title: This F# code is not working Tags: f%23 Problem: This F# code is not working This is not working... I get error FS0001: The type 'string' is not compatible with the type 'seq' for the last line. Why? let rec Parse (charlist) = match charlist with | head :: tail -> printf...
This F# code is not working This F# code is not working f%23 Parse None Seq.toList This F# code is not working This is not working... I get error FS0001: The type 'string' is not compatible with the type 'seq' for the last line. Why?
[ 0.01019287109375, 0.01007080078125, 0.0038909912109375, 0.0390625, -0.0118408203125, 0.0216064453125, 0.006317138671875, -0.007354736328125, -0.00074005126953125, 0.00787353515625, 0.00775146484375, -0.00518798828125, 0.00225830078125, 0.0189208984375, 0.0052490234375, 0.00083923339843...
[ 3293, 563, 4904, 18151, 83, 959, 20697, 1238, 3949, 3742, 2392, 184, 438, 86, 503, 864, 188, 154663, 18499, 93774, 188735, 10644, 91693, 25, 146731, 678, 100, 70, 4568, 13315, 44084 ]
[ 0.1063232421875, 0.1168212890625, 0.2120361328125, 0.19384765625, 0.053680419921875, 0.1297607421875, 0.1485595703125, 0.11328125, 0.033538818359375, 0.1756591796875, 0.0697021484375, 0.1116943359375, 0.0792236328125, 0.03533935546875, 0.126708984375, 0.2100830078125, 0.12451171875, ...
embed
19347870_c0
19347870
fsharp
0
Title: Securing WebSharper remote calls Problem title: Securing WebSharper remote calls Tags: f%23, websharper Problem: Securing WebSharper remote calls Quoting from the WebSharper 2.5 alpah docs the remoting component assumes that: RPC-callable methods are safe to call from the web by an unauthenticated client. Is the...
Securing WebSharper remote calls Securing WebSharper remote calls f%23 websharper Securing WebSharper Securing WebSharper remote calls Quoting from the WebSharper 2.5 alpah docs the remoting component assumes that: Is there anyway to secure remote calls so they can only be called from an authenticated client?
[ -0.005279541015625, 0.044921875, -0.006439208984375, -0.0189208984375, -0.00970458984375, 0.00921630859375, -0.00604248046875, -0.00151824951171875, -0.00482177734375, -0.0537109375, -0.00445556640625, -0.00421142578125, -0.0120849609375, 0.02783203125, 0.00238037109375, -0.01928710937...
[ 72199, 53089, 4002, 294, 3467, 1264, 148814, 11782, 3742, 1467, 89280, 27804, 144, 61118, 54, 49146, 1916, 82761, 41591, 2071, 2685, 109954, 111670, 7, 221, 831, 4734, 35839, 1295, 195734, 23282 ]
[ 0.1573486328125, 0.06365966796875, 0.09033203125, 0.020843505859375, 0.1552734375, 0.1873779296875, 0.2086181640625, 0.208740234375, 0.0672607421875, 0.0809326171875, 0.151611328125, 0.188720703125, 0.03472900390625, 0.142822265625, 0.0141448974609375, 0.114990234375, 0.066650390625,...
embed
62091185_c0
62091185
fsharp
0
Title: Is there a reason &#x27;\0&#x27; is not supported in F#? Problem title: Is there a reason &#x27;\0&#x27; is not supported in F#? Tags: .net, f%23 Problem: Is there a reason '\0' is not supported in F#? When I try to use '\0' as a character in F# it doesn't work. Here is what I see: I have read elsewhere that Cha...
Is there a reason &#x27;\0&#x27; is not supported in F#? Is there a reason &#x27;\0&#x27; is not supported in F#? .net f%23 Char.MinValue Is there a reason '\0' is not supported in F#? When I try to use '\0' as a character in F# it doesn't work. Here is what I see: I have read elsewhere that Char.MinValue will accompli...
[ 0.01287841796875, -0.00897216796875, 0.016357421875, 0.0098876953125, -0.0035858154296875, 0.0025634765625, 0.03759765625, -0.0216064453125, -0.005096435546875, 0.044677734375, -0.004730224609375, 0.00457763671875, 0.0033721923828125, -0.015869140625, -0.004119873046875, -0.00543212890...
[ 31635, 3768, 41872, 2389, 54764, 959, 8060, 297, 23, 563, 4904, 2685, 10, 83, 1179, 1238, 3742, 21656, 59076, 856, 50770, 9790, 4527, 237, 62816, 22027, 18, 4488, 5, 163846, 15400 ]
[ 0.126953125, 0.147705078125, 0.142578125, 0.214111328125, 0.023773193359375, 0.12353515625, 0.227783203125, 0.1173095703125, 0.06597900390625, 0.13720703125, 0.2076416015625, 0.017669677734375, 0.02825927734375, 0.03509521484375, 0.1451416015625, 0.053436279296875, 0.08837890625, 0...
embed
34733164_c0
34733164
fsharp
0
Title: F# value restriction for seq&lt;obj&gt; but not list&lt;obj&gt;? Problem title: F# value restriction for seq&lt;obj&gt; but not list&lt;obj&gt;? Tags: f%23, type-inference, value-restriction Problem: F# value restriction for seq but not list ? Value restriction error: let myFn (s : string) (args : obj seq) = () ...
F# value restriction for seq&lt;obj&gt; but not list&lt;obj&gt;? F# value restriction for seq&lt;obj&gt; but not list&lt;obj&gt;? f%23 type-inference value-restriction F# value restriction for seq but not list ? Value restriction error: No value restriction error: Why?
[ 0.000576019287109375, -0.0069580078125, 0.002593994140625, 0.01348876953125, 0.007354736328125, 0.0020751953125, -0.003936767578125, 0.0036468505859375, 0.01409912109375, -0.0003032684326171875, -0.00811767578125, 0.00086212158203125, 0.0179443359375, -0.01324462890625, 0.01263427734375,...
[ 563, 4904, 34292, 185190, 100, 40, 864, 1277, 3522, 170, 5386, 1284, 959, 5303, 1238, 3742, 10644, 73, 69988, 107, 7655, 190060, 18499, 438, 44084 ]
[ 0.1219482421875, 0.18359375, 0.230712890625, 0.2435302734375, 0.013641357421875, 0.1170654296875, 0.1822509765625, 0.024932861328125, 0.086669921875, 0.1385498046875, 0.06884765625, 0.06048583984375, 0.09771728515625, 0.1904296875, 0.073974609375, 0.05419921875, 0.1309814453125, 0....
embed
2913545_c0
2913545
fsharp
0
Title: F# NumericLiteral: FromString method Problem title: F# NumericLiteral: FromString method Tags: f%23 Problem: F# NumericLiteral: FromString method Does anyone know if there is a way to automatically invoke the FromString method of a numeric literal in F#? I have already tried (and succeeded) with the methods From...
F# NumericLiteral: FromString method F# NumericLiteral: FromString method f%23 NumericLiteral FromString F# NumericLiteral: FromString method Does anyone know if there is a way to automatically invoke the FromString method of a numeric literal in F#? I have already tried (and succeeded) with the methods FromOne, FromZe...
[ -0.01214599609375, -0.01806640625, -0.026123046875, 0.02587890625, -0.013916015625, 0.016357421875, 0.006439208984375, -0.000759124755859375, -0.014892578125, -0.01904296875, -0.02587890625, -0.0167236328125, -0.02294921875, -0.01611328125, 0.0016937255859375, -0.0086669921875, -0.00...
[ 563, 4904, 93511, 1771, 9506, 720, 289, 12, 28090, 71713, 214, 55300, 1238, 3949, 3742, 35672, 3714, 2174, 2685, 83, 10, 3917, 47, 191082, 23, 23253, 13, 70, 54744, 238, 15659, 21771, 37842, 214493, 678, 150624, 62068, 1511, 4036, 6528, ...
[ 0.138427734375, 0.2073974609375, 0.11474609375, 0.0618896484375, 0.056060791015625, 0.1104736328125, 0.12158203125, 0.0204925537109375, 0.26318359375, 0.2034912109375, 0.1737060546875, 0.201904296875, 0.082763671875, 0.03265380859375, 0.126708984375, 0.03173828125, 0.0595703125, 0....
embed
11959321_c1
11959321
fsharp
1
Test.T<T>._Z(); And the results are the same: Real: 00:00:00.036, CPU: 00:00:00.031, GC gen0: 0, gen1: 0, gen2: 0 The pattern match is compiled as t == null in the former case and t is Z in the latter. Code signals: NullReferenceException, Why, None, CompilationRepresentationFlags.UseNullAsTrueValue, Option.None, Tag,...
Test.T<T>._Z(); And the results are the same: Real: 00:00:00.036, CPU: 00:00:00.031, GC gen0: 0, gen1: 0, gen2: 0 The pattern match is compiled as t == null in the former case and t is Z in the latter. Code signals: NullReferenceException, Why, None, CompilationRepresentationFlags.UseNullAsTrueValue, Option.None, Tag,...
[ 0.0027313232421875, -0.0032806396484375, 0.0145263671875, -0.0020751953125, -0.007598876953125, -0.036865234375, -0.008056640625, -0.0059814453125, 0.0341796875, -0.00146484375, 0.0174560546875, 0.0291748046875, -0.0005645751953125, 0.0172119140625, 0.00787353515625, 0.023681640625, ...
[ 8647, 618, 1511, 3142, 50339, 5701, 5120, 110095, 6632, 5, 9513, 910, 86039, 418, 69657, 9226, 2389, 12, 757, 82825, 304, 103510, 14858, 375, 5974, 297, 237, 808, 69112, 56574, 36770, 7225, 136, 83, 567, 70, 3055, 28864, 26073, 7, 1429,...
[ 0.22265625, 0.134521484375, 0.1702880859375, 0.0107421875, 0.1256103515625, 0.09759521484375, 0.228271484375, 0.12109375, 0.06182861328125, 0.014068603515625, 0.078125, 0.1307373046875, 0.2110595703125, 0.0176239013671875, 0.17822265625, 0.127197265625, 0.06787109375, 0.02586364746...
embed
29955499_c0
29955499
fsharp
0
Title: How to get started using FSharp (F#) on OS X? Problem title: How to get started using FSharp (F#) on OS X? Tags: macos, f%23, .net Problem: How to get started using FSharp (F#) on OS X? I know that mono exists, but just recently Microsoft released (I think) support for platforms other than windows [source] . If ...
How to get started using FSharp (F#) on OS X? How to get started using FSharp (F#) on OS X? macos f%23 .net FSharp How How to get started using FSharp (F#) on OS X? I know that mono exists, but just recently Microsoft released (I think) support for platforms other than windows [source] . If I wanted to start using FSha...
[ -0.009033203125, 0.025634765625, -0.00144195556640625, 0.00555419921875, 0.000949859619140625, -0.0048828125, 0.01251220703125, 0.0014801025390625, -0.00830078125, -0.0220947265625, -0.0020599365234375, -0.00262451171875, -0.011962890625, 0.0027008056640625, 0.00927734375, 0.0024108886...
[ 11249, 47, 2046, 26859, 17368, 93774, 3467, 254, 919, 4904, 98, 11787, 1193, 291, 7840, 1238, 3949, 3742, 1179, 3714, 22460, 32316, 7244, 121447, 5351, 8060, 13651, 3789, 54825, 36663, 4034, 36279, 3642, 2806, 7722, 14373 ]
[ 0.07391357421875, 0.064208984375, 0.10467529296875, 0.16650390625, 0.1568603515625, 0.153076171875, 0.2481689453125, 0.2330322265625, 0.1385498046875, 0.2412109375, 0.0562744140625, 0.1883544921875, 0.1824951171875, 0.00482177734375, 0.14453125, 0.07275390625, 0.005462646484375, 0....
embed
5729425_c0
5729425
fsharp
0
Title: Abstracting over Collection Types Problem title: Abstracting over Collection Types Tags: language-features, collections, f%23 Problem: Abstracting over Collection Types Is there a possibility of writing functions which are generic in respect to collection types they support other than using the seq module? The g...
Abstracting over Collection Types Abstracting over Collection Types language-features collections f%23 Abstracting Collection Types Abstracting over Collection Types Is there a possibility of writing functions which are generic in respect to collection types they support other than using the seq module? The goal is, no...
[ 0.01611328125, 0.03369140625, -0.0025634765625, 0.00390625, -0.00531005859375, -0.0146484375, -0.016845703125, 0.007476806640625, 0.0033416748046875, -0.00885009765625, -0.0024261474609375, -0.01397705078125, 0.008056640625, 0.00909423828125, 0.0079345703125, 0.0084228515625, -0.0125...
[ 233973, 214, 645, 68220, 60457, 46876, 88981, 42486, 3949, 3742, 2685, 207116, 32562, 32354, 189534, 15072, 52895, 8060, 3789, 17368, 40, 864, 88996, 69236, 70634, 43658, 71099, 154107 ]
[ 0.2293701171875, 0.06707763671875, 0.1119384765625, 0.20166015625, 0.233642578125, 0.1416015625, 0.08660888671875, 0.2061767578125, 0.0069580078125, 0.038970947265625, 0.0020751953125, 0.13330078125, 0.18017578125, 0.2042236328125, 0.23046875, 0.0249481201171875, 0.2080078125, 0.16...
embed
386011_c0
386011
fsharp
0
Title: Should I learn F# or functional programming languages in general? Problem title: Should I learn F# or functional programming languages in general? Tags: .net, f%23 Problem: Should I learn F# or functional programming languages in general? Should I invest time learning Microsoft's new F# language? I am mainly a C...
Should I learn F# or functional programming languages in general? Should I learn F# or functional programming languages in general? .net f%23 Should Should I learn F# or functional programming languages in general? Should I invest time learning Microsoft's new F# language? I am mainly a C# .NET developer and I wonder i...
[ -0.0031280517578125, 0.0050048828125, 0.015380859375, -0.01556396484375, -0.0159912109375, -0.00665283203125, -0.017822265625, -0.01251220703125, 0.0050048828125, -0.01324462890625, 0.000926971435546875, -0.033447265625, 0.00213623046875, 0.009765625, -0.0036163330078125, 0.01153564453...
[ 151117, 30698, 563, 4904, 707, 123309, 56037, 46876, 4537, 87, 449, 7, 1179, 1238, 3949, 3742, 14145, 1733, 52080, 7244, 3525, 5201, 10, 313, 17777, 106001, 32195, 1221, 186, 111, 4358, 168698, 18925, 222201, 86685 ]
[ 0.1065673828125, 0.123291015625, 0.16796875, 0.23193359375, 0.012176513671875, 0.1927490234375, 0.1214599609375, 0.1795654296875, 0.09375, 0.0166168212890625, 0.049102783203125, 0.00579833984375, 0.128173828125, 0.0533447265625, 0.0287017822265625, 0.0648193359375, 0.09344482421875, ...
embed
3999584_c0
3999584
fsharp
0
Title: F# split sequence into sub lists on every nth element Problem title: F# split sequence into sub lists on every nth element Tags: f%23 Problem: F# split sequence into sub lists on every nth element Say I have a sequence of 100 elements. Every 10th element I want a new list of the previous 10 elements. In this cas...
F# split sequence into sub lists on every nth element F# split sequence into sub lists on every nth element f%23 F# split sequence into sub lists on every nth element Say I have a sequence of 100 elements. Every 10th element I want a new list of the previous 10 elements. In this case I will end up with a list of 10 sub...
[ -0.0079345703125, 0.0106201171875, 0.0093994140625, 0.00080108642578125, -0.015380859375, 0.021240234375, 0.00909423828125, 0.000926971435546875, 0.0030670166015625, -0.042236328125, 0.0137939453125, 0.0016937255859375, 0.00171661376953125, 0.01104736328125, 0.00118255615234375, 0.0033...
[ 563, 4904, 65450, 40, 944, 3934, 1614, 5303, 7, 98, 11907, 653, 927, 12830, 1238, 3949, 3742, 765, 3956, 805, 80854, 87769, 209, 3444, 3525, 70, 96362, 3564, 6562, 503, 864, 5, 78219, 90980, 33342, 64004, 214, 3642, 831, 119140, 11782, ...
[ 0.1175537109375, 0.2066650390625, 0.220703125, 0.08984375, 0.1514892578125, 0.1197509765625, 0.223388671875, 0.1953125, 0.060943603515625, 0.01702880859375, 0.06756591796875, 0.1580810546875, 0.1326904296875, 0.1693115234375, 0.10577392578125, 0.0240631103515625, 0.1514892578125, 0...
embed
1793484_c0
1793484
fsharp
0
Title: Should I use, this, self or something else for self identifiers in type definitions? Problem title: Should I use, this, self or something else for self identifiers in type definitions? Tags: oop, f%23 Problem: Should I use, this, self or something else for self identifiers in type definitions? My guess is that "...
Should I use, this, self or something else for self identifiers in type definitions? Should I use, this, self or something else for self identifiers in type definitions? oop f%23 Should Should I use, this, self or something else for self identifiers in type definitions? My guess is that "this" is more C#-ish and in F# ...
[ 0.0115966796875, 0.00164031982421875, 0.003692626953125, 0.01055908203125, -0.00518798828125, -0.00885009765625, 0.002166748046875, 0.0234375, -0.0037384033203125, 0.0005950927734375, -0.002227783203125, -0.028564453125, -0.01324462890625, 0.01483154296875, 0.01953125, -0.0040893554687...
[ 151117, 87, 4527, 903, 15970, 707, 9844, 37076, 100, 42485, 1314, 23, 10644, 80934, 4, 7, 32500, 1238, 3949, 3742, 57767, 100231, 1286, 313, 4904, 4745, 563, 442, 11522, 47, 44, 39379, 56065, 2875, 552, 6238, 226829 ]
[ 0.14892578125, 0.0364990234375, 0.16162109375, 0.230224609375, 0.2166748046875, 0.107421875, 0.1505126953125, 0.201904296875, 0.0496826171875, 0.2388916015625, 0.101806640625, 0.0178070068359375, 0.246337890625, 0.2191162109375, 0.06341552734375, 0.003936767578125, 0.07562255859375, ...
embed
13761741_c0
13761741
fsharp
0
Title: Why can a variable be bound twice in a pattern? Problem title: Why can a variable be bound twice in a pattern? Tags: f%23, pattern-matching Problem: Why can a variable be bound twice in a pattern? Usually, F# does not allow pattern variables to occur twice in the same pattern. But in the following code, F# does ...
Why can a variable be bound twice in a pattern? Why can a variable be bound twice in a pattern? f%23 pattern-matching Why Why can a variable be bound twice in a pattern? Usually, F# does not allow pattern variables to occur twice in the same pattern. But in the following code, F# does not complain - is this a bug?
[ -0.00946044921875, 0.00038909912109375, 0.00066375732421875, 0.0038909912109375, 0.0177001953125, 0.004974365234375, -0.00848388671875, 0.0034027099609375, 0.0284423828125, -0.0036163330078125, 0.006927490234375, 0.003997802734375, 0.0004215240478515625, 0.008544921875, 0.019287109375, ...
[ 44084, 831, 77336, 186, 99091, 186351, 23, 103510, 10, 1238, 3742, 98753, 214, 563, 4904, 959, 63769, 47, 74918, 5701, 25632, 18151, 186992, 54608 ]
[ 0.13330078125, 0.1171875, 0.2335205078125, 0.09954833984375, 0.22607421875, 0.2410888671875, 0.07275390625, 0.230224609375, 0.006622314453125, 0.0704345703125, 0.1107177734375, 0.1805419921875, 0.01312255859375, 0.0889892578125, 0.177001953125, 0.04754638671875, 0.08154296875, 0.03...
embed
35147479_c0
35147479
fsharp
0
Title: F#: how to generate a list range with descending elements? Problem title: F#: how to generate a list range with descending elements? Tags: range, f%23, intervals Problem: F#: how to generate a list range with descending elements? [1..4] could help to generate [1;2;3;4] But I wish to generate a range like this: [...
F#: how to generate a list range with descending elements? F#: how to generate a list range with descending elements? range f%23 intervals F#: how to generate a list range with descending elements? [1..4] could help to generate But I wish to generate a range like this: How to use range semantics to achieve this(interva...
[ 0.0025634765625, 0.00994873046875, -0.0010223388671875, 0.009521484375, -0.0107421875, 0.01251220703125, -0.01361083984375, 0.0038909912109375, -0.0035552978515625, -0.01251220703125, 0.01275634765625, 0.014892578125, 0.0174560546875, -0.00531005859375, 0.007568359375, -0.013671875, ...
[ 563, 4904, 3642, 139392, 5303, 37457, 678, 60887, 214, 80854, 47, 10, 1238, 3949, 3742, 51514, 617, 5809, 4358, 32599, 1884, 903, 11249, 4527, 484, 109109, 69307, 10433, 1405, 1328, 988, 329, 33770, 2472, 40956, 81678, 1294 ]
[ 0.1099853515625, 0.15625, 0.053741455078125, 0.2012939453125, 0.2027587890625, 0.2398681640625, 0.0916748046875, 0.22998046875, 0.10455322265625, 0.170654296875, 0.0081787109375, 0.011138916015625, 0.0836181640625, 0.042938232421875, 0.16650390625, 0.2113037109375, 0.04925537109375, ...
embed
14382709_c0
14382709
fsharp
0
Title: How to add f# file to c# class library Problem title: How to add f# file to c# class library Tags: visual-studio-2012, c%23, f%23 Problem: How to add f# file to c# class library Possible Duplicate: Is it possible to mix .cs (C#) and .fs (F#) files in a single Visual Studio Windows Console Project? (.NET) I have ...
How to add f# file to c# class library How to add f# file to c# class library visual-studio-2012 c%23 f%23 How visual-studio-2012 How to add f# file to c# class library I have a c# class library project. What is the best way to get f# files working in the same project?
[ -0.0023651123046875, 0.02978515625, 0.00482177734375, -0.00396728515625, -0.01031494140625, 0.004547119140625, -0.01458740234375, 0.00014019012451171875, -0.0059814453125, -0.0250244140625, -0.0009918212890625, -0.0303955078125, 0.003326416015625, 0.029052734375, -0.00154876708984375, ...
[ 11249, 47, 15190, 1238, 4904, 11435, 501, 18507, 35773, 1294, 21176, 52629, 54458, 3742, 13452, 2965, 2046, 102158, 20697, 23, 5701 ]
[ 0.05194091796875, 0.0816650390625, 0.1319580078125, 0.1407470703125, 0.2236328125, 0.18115234375, 0.03729248046875, 0.123779296875, 0.134521484375, 0.051849365234375, 0.1444091796875, 0.1329345703125, 0.13818359375, 0.01513671875, 0.071533203125, 0.0201568603515625, 0.023513793945312...
embed
20319061_c2
20319061
fsharp
2
, Bar, FooTargets, common.fsx, Common, Env, marvin.fsx, Marvin, fake.exe, StartupCode$FSI_0002, FSI_0002_Common$fsx, ExceptionResource, System.Collections.Generic.Dictionary, Insert, TKey, TValue, Boolean, Fake.TargetHelper.targetFromTemplate, TargetTemplate, Fake.TargetHelper.TargetTemplateWithDependecies, Invoke, FSI...
, Bar, FooTargets, common.fsx, Common, Env, marvin.fsx, Marvin, fake.exe, StartupCode$FSI_0002, FSI_0002_Common$fsx, ExceptionResource, System.Collections.Generic.Dictionary, Insert, TKey, TValue, Boolean, Fake.TargetHelper.targetFromTemplate, TargetTemplate, Fake.TargetHelper.TargetTemplateWithDependecies, Invoke, FSI...
[ 0.00347900390625, -0.00168609619140625, -0.007598876953125, 0.00010395050048828125, 0.0059814453125, -0.0019378662109375, 0.0115966796875, -0.01513671875, -0.003570556640625, 0.006591796875, 0.004241943359375, 0.036376953125, -0.001556396484375, 0.0205078125, 0.018310546875, -0.0297851...
[ 6, 4, 3253, 9572, 31, 63031, 3794, 7, 39210, 5, 17447, 425, 151301, 357, 334, 1108, 2082, 1784, 106287, 46480, 153076, 114211, 4369, 919, 9902, 9508, 304, 563, 10770, 3796, 5443, 63928, 60427, 12353, 78457, 8996, 135932, 12259, 10763, 360...
[ 0.0772705078125, 0.10406494140625, 0.2269287109375, 0.19482421875, 0.153564453125, 0.2071533203125, 0.2437744140625, 0.068603515625, 0.2105712890625, 0.1192626953125, 0.1524658203125, 0.1741943359375, 0.1968994140625, 0.06500244140625, 0.1431884765625, 0.029205322265625, 0.2243652343...
embed
1621333_c0
1621333
fsharp
0
Title: How to change F# related colors in VS 2010 Problem title: How to change F# related colors in VS 2010 Tags: f%23, visual-studio-2010 Problem: How to change F# related colors in VS 2010 I know about Options->Fonts and Colors. But there is no option for F# strings(i want to change color to make them look exactly li...
How to change F# related colors in VS 2010 How to change F# related colors in VS 2010 f%23 visual-studio-2010 How visual-studio-2010 How to change F# related colors in VS 2010 I know about Options->Fonts and Colors. But there is no option for F# strings(i want to change color to make them look exactly like c# strings)!...
[ 0.00262451171875, 0.004638671875, -0.020751953125, 0.0037994384765625, 0.007659912109375, -0.01019287109375, -0.0181884765625, 0.012451171875, -0.0166015625, 0.019287109375, 0.0025482177734375, 0.005828857421875, 0.002044677734375, 0.0157470703125, 0.01171875, -0.004852294921875, -0....
[ 11249, 47, 15549, 563, 4904, 62548, 104988, 23, 44160, 1532, 1238, 3742, 21176, 52629, 73552, 3714, 152448, 27591, 16037, 136, 51193, 110, 35829, 79315, 7, 3444, 10576, 6713, 66161, 1884, 7244, 38627, 30391, 144810 ]
[ 0.0643310546875, 0.044097900390625, 0.1776123046875, 0.166015625, 0.202880859375, 0.140625, 0.219482421875, 0.0640869140625, 0.1856689453125, 0.19580078125, 0.09356689453125, 0.078369140625, 0.13525390625, 0.1317138671875, 0.15625, 0.0025634765625, 0.1124267578125, 0.04144287109375...
embed
42968933_c0
42968933
fsharp
0
Title: Optional parameters in Fsharp records Problem title: Optional parameters in Fsharp records Tags: properties, nullable, f%23, records Problem: Optional parameters in Fsharp records I need to modify and add new property for my F Sharp record. but then it gives errors for the previous instances which are made witho...
Optional parameters in Fsharp records Optional parameters in Fsharp records properties nullable f%23 records Optional Fsharp Optional parameters in Fsharp records I need to modify and add new property for my F Sharp record. but then it gives errors for the previous instances which are made without this new field. I mad...
[ 0.000698089599609375, 0.007659912109375, 0.0225830078125, 0.01214599609375, -0.011474609375, -0.003692626953125, -0.009521484375, -0.007568359375, 0.005950927734375, 0.02880859375, -0.00101470947265625, 0.00113677978515625, 0.012939453125, 0.002532958984375, 0.0234375, 0.00120544433593...
[ 86769, 289, 171859, 563, 89280, 254, 115923, 183871, 9229, 2661, 1238, 3949, 3742, 3871, 2811, 40383, 15190, 3525, 57266, 197106, 17164, 76199, 18499, 96362, 110527, 7228, 15490, 903, 44457, 237, 27786, 7464, 5701, 74918, 86869 ]
[ 0.232666015625, 0.1160888671875, 0.239990234375, 0.1427001953125, 0.18310546875, 0.1480712890625, 0.195068359375, 0.1639404296875, 0.2257080078125, 0.2210693359375, 0.115478515625, 0.09130859375, 0.1622314453125, 0.0247650146484375, 0.0589599609375, 0.048126220703125, 0.0863647460937...
embed
32887026_c0
32887026
fsharp
0
Title: How to add an element inside list of a list in F# Problem title: How to add an element inside list of a list in F# Tags: list, f%23 Problem: How to add an element inside list of a list in F# I have a list int int like this: let x = [[2; 3; 4]; [4; 5]; [2; 3]] and an int for example 1. I want to add this int on t...
How to add an element inside list of a list in F# How to add an element inside list of a list in F# list f%23 How How to add an element inside list of a list in F# I have a list int int like this: and an int for example 1. I want to add this int on the first list and return result like this: What is the most convenient...
[ -0.0111083984375, 0.0169677734375, -0.005706787109375, -0.000720977783203125, -0.016357421875, 0.01300048828125, 0.00150299072265625, -0.00010204315185546875, 0.00144195556640625, -0.0322265625, 0.0181884765625, -0.0064697265625, 0.0001583099365234375, 0.028564453125, -0.002044677734375,...
[ 11249, 47, 15190, 142, 12830, 46132, 5303, 111, 10, 23, 563, 4904, 1238, 3949, 3742, 18, 1884, 903, 27781, 615, 3444, 98, 5117, 30646, 16750, 2684, 142267, 3917, 54 ]
[ 0.06439208984375, 0.045318603515625, 0.1722412109375, 0.01904296875, 0.2059326171875, 0.223876953125, 0.2109375, 0.09942626953125, 0.03668212890625, 0.0982666015625, 0.1429443359375, 0.203125, 0.08154296875, 0.048004150390625, 0.12841796875, 0.1326904296875, 0.0187835693359375, 0.0...
embed
5332749_c0
5332749
fsharp
0
Title: change monodevelop f# file order Problem title: change monodevelop f# file order Tags: monodevelop, f%23 Problem: change monodevelop f# file order I have started using MonoDevelop for F# on a Mac. It's pretty cool, except for the fact that it crashes quite a lot. One thing that is bothering me is that I can't ch...
change monodevelop f# file order change monodevelop f# file order monodevelop f%23 change monodevelop f# file order I have started using MonoDevelop for F# on a Mac. It's pretty cool, except for the fact that it crashes quite a lot. One thing that is bothering me is that I can't change the order of the F# source files ...
[ 0.0074462890625, 0.00958251953125, -0.0020294189453125, 0.01129150390625, 0.006927490234375, 0.000064849853515625, -0.0015716552734375, -0.0035552978515625, 0.000576019287109375, 0.00653076171875, 0.00982666015625, -0.01708984375, -0.0033111572265625, 0.000644683837890625, 0.021362304687...
[ 15549, 22460, 229815, 1238, 4904, 11435, 12989, 3949, 3742, 26859, 17368, 77879, 4657, 2601, 2146, 563, 98, 4727, 28875, 21185, 150631, 32233, 5915, 15044, 4209, 831, 18, 111, 31344, 102158, 13452, 2071, 903, 7722, 38696, 77635, 4785, 17431, ...
[ 0.1845703125, 0.2122802734375, 0.2471923828125, 0.1396484375, 0.187255859375, 0.1893310546875, 0.2181396484375, 0.048675537109375, 0.1134033203125, 0.00177001953125, 0.0311279296875, 0.233154296875, 0.115966796875, 0.1395263671875, 0.1268310546875, 0.120361328125, 0.00848388671875, ...
embed
27109142_c0
27109142
fsharp
0
Title: F# map to C# Dictionary Problem title: F# map to C# Dictionary Tags: f%23, c%23 Problem: F# map to C# Dictionary I'm trying to convert an F# map to a C# dictionary, so far I am using: let toDictionary (map : Map<_, _>) : Dictionary<_, _> = let dict = new Dictionary<_, _>() map |> Map.iter (fun k v -> dict.Add(k,...
F# map to C# Dictionary F# map to C# Dictionary f%23 c%23 Dictionary Map Map.iter dict.Add F# map to C# Dictionary I'm trying to convert an F# map to a C# dictionary, so far I am using: It just feels a little clunky, I'm quite new to F# so it there a better way?
[ -0.0064697265625, -0.005615234375, 0.00070953369140625, -0.0208740234375, -0.0181884765625, -0.00897216796875, -0.0235595703125, 0.003875732421875, -0.01531982421875, -0.034423828125, 0.012939453125, 0.012939453125, -0.002105712890625, 0.02587890625, 0.0076904296875, 0.00341796875, -...
[ 563, 4904, 22288, 47, 313, 147638, 1238, 3949, 3742, 42719, 16840, 61669, 4028, 31577, 96760, 10, 45, 10763, 6635, 2060, 17368, 1660, 12319, 10176, 29786, 29188, 32233, 3525, 2685, 11522, 3917 ]
[ 0.1776123046875, 0.259765625, 0.218505859375, 0.1365966796875, 0.09869384765625, 0.2186279296875, 0.0985107421875, 0.0028076171875, 0.0850830078125, 0.163330078125, 0.11474609375, 0.1021728515625, 0.08721923828125, 0.061004638671875, 0.1326904296875, 0.034027099609375, 0.088073730468...
embed
77537586_c0
77537586
fsharp
0
Title: General recursion instead of mutation Problem title: General recursion instead of mutation Tags: f%23 Problem: General recursion instead of mutation Can this function be implemented using general recursion instead of mutation/ref cell? let bundle f (s: _ ref) x = let v = f s.Value x s.Value <- v v A function lik...
General recursion instead of mutation General recursion instead of mutation f%23 General s.Value General recursion instead of mutation Can this function be implemented using general recursion instead of mutation/ref cell? A function like this gives me a dirty shortcut to implementing say Stream.scan wherever I only hav...
[ -0.048583984375, 0.01611328125, 0.01385498046875, -0.00762939453125, 0.00811767578125, -0.01043701171875, -0.004119873046875, 0.002105712890625, -0.0029144287109375, -0.0130615234375, 0.01904296875, 0.0245361328125, -0.022705078125, 0.01483154296875, 0.038818359375, 0.007659912109375, ...
[ 9082, 195625, 1830, 64457, 111, 199334, 1238, 3949, 3742, 91, 5, 856, 50770, 4171, 903, 32354, 29479, 297, 17368, 4537, 29087, 38750, 1884, 76199, 10, 5402, 939, 16610, 19774, 115061, 7, 4398, 4734, 62346, 22362 ]
[ 0.2041015625, 0.268310546875, 0.1636962890625, 0.197265625, 0.074462890625, 0.2403564453125, 0.0816650390625, 0.08740234375, 0.156494140625, 0.11767578125, 0.0467529296875, 0.173583984375, 0.190673828125, 0.083984375, 0.04058837890625, 0.2122802734375, 0.2066650390625, 0.0281982421...
embed
1381558_c0
1381558
fsharp
0
Title: Is it possible to speed up the F# compiler? Problem title: Is it possible to speed up the F# compiler? Tags: mono, f%23 Problem: Is it possible to speed up the F# compiler? As of F# 1.9.6.16 and Mono 2.4.2.3 I am failing to AOT the F# assemblies, getting a segmentation fault. fsi is barely usable (and sometimes ...
Is it possible to speed up the F# compiler? Is it possible to speed up the F# compiler? mono f%23 Is it possible to speed up the F# compiler? As of F# 1.9.6.16 and Mono 2.4.2.3 I am failing to AOT the F# assemblies, getting a segmentation fault. fsi is barely usable (and sometimes crashes), and fsc is quite painfully s...
[ -0.00165557861328125, 0.0010986328125, 0.01177978515625, -0.01953125, -0.01483154296875, -0.0118408203125, -0.00787353515625, -0.017578125, -0.025390625, -0.0185546875, 0.0037384033203125, 0.012939453125, 0.0037841796875, 0.0166015625, 0.0203857421875, -0.007476806640625, -0.00199890...
[ 2071, 442, 7722, 47, 38352, 1257, 563, 4904, 9969, 34759, 70, 22460, 1238, 3949, 3742, 99420, 43652, 2485, 136, 77879, 66207, 120883, 35782, 62, 23973, 89845, 7121, 33180, 193857, 172, 3059, 1821, 68018, 150631, 10382, 32233, 24503, 72803, ...
[ 0.0587158203125, 0.06085205078125, 0.18310546875, 0.06756591796875, 0.2178955078125, 0.1480712890625, 0.156494140625, 0.2286376953125, 0.1864013671875, 0.166015625, 0.0169830322265625, 0.1795654296875, 0.11181640625, 0.046478271484375, 0.1298828125, 0.11376953125, 0.103271484375, 0...
embed
47701055_c0
47701055
fsharp
0
Title: F#&#x27;s DescriptiveStatistics unknown? Problem title: F#&#x27;s DescriptiveStatistics unknown? Tags: f%23 Problem: F#'s DescriptiveStatistics unknown? I am currently converting a project in F# to Python, I am a relative amateur in F#, please...what on earth does this line do... let stats = new DescriptiveStati...
F#&#x27;s DescriptiveStatistics unknown? F#&#x27;s DescriptiveStatistics unknown? f%23 DescriptiveStatistics F#'s DescriptiveStatistics unknown? I am currently converting a project in F# to Python, I am a relative amateur in F#, please...what on earth does this line do... I cant find a good definition of DescriptiveSta...
[ 0.033935546875, 0.00107574462890625, 0.0032501220703125, -0.01220703125, -0.00144195556640625, 0.0291748046875, 0.01385498046875, 0.0181884765625, 0.00168609619140625, 0.011474609375, 0.00136566162109375, -0.00384521484375, 0.02587890625, 0.0103759765625, 0.00921630859375, -0.005218505...
[ 563, 4904, 3768, 262, 32032, 5844, 135206, 48242, 7, 51, 69723, 19, 32, 74, 1238, 3742, 82424, 96760, 13452, 47, 145581, 35845, 79775, 22936, 124409, 98, 109270, 14602, 903, 13315, 54, 45767, 7413, 4127, 80934, 111, 151107, 30607, 4358 ]
[ 0.1658935546875, 0.2215576171875, 0.1234130859375, 0.1568603515625, 0.2388916015625, 0.210205078125, 0.227294921875, 0.20703125, 0.119140625, 0.093505859375, 0.2010498046875, 0.1190185546875, 0.041229248046875, 0.03955078125, 0.103759765625, 0.07379150390625, 0.0232696533203125, 0....
embed
2088675_c0
2088675
fsharp
0
Title: Questions about the definition of lazy Problem title: Questions about the definition of lazy Tags: f%23 Problem: Questions about the definition of lazy On line 5633 in prim-types.fs (v1.9.7.8) there is the following type abbreviation: type 'T ``lazy`` = Lazy<'T> I have a few questions about it. What do the doubl...
Questions about the definition of lazy Questions about the definition of lazy f%23 Questions Lazy Questions about the definition of lazy On line 5633 in prim-types.fs (v1.9.7.8) there is the following type abbreviation: I have a few questions about it. What do the double backticks mean? Is this definition equivalent to...
[ 0.0181884765625, 0.013427734375, 0.0206298828125, 0.0032196044921875, 0.005859375, -0.005950927734375, 0.0107421875, 0.012939453125, -0.004119873046875, 0.010986328125, 0.0086669921875, -0.00189971923828125, -0.019287109375, -0.00628662109375, -0.00086212158203125, 0.0201416015625, -...
[ 68185, 80934, 111, 21, 3285, 1238, 3742, 239, 13315, 192530, 29810, 50986, 17447, 158304, 176391, 25632, 10644, 1563, 105160, 14, 2320, 17582, 70, 41929, 4420, 118, 22824, 29459, 183234, 618, 2203, 12921 ]
[ 0.0811767578125, 0.148681640625, 0.023223876953125, 0.194091796875, 0.267822265625, 0.0489501953125, 0.03826904296875, 0.189208984375, 0.0143585205078125, 0.0792236328125, 0.13916015625, 0.1685791015625, 0.0947265625, 0.000762939453125, 0.007232666015625, 0.03546142578125, 0.18884277...
embed
10986353_c0
10986353
fsharp
0
Title: OR pattern matching Problem title: OR pattern matching Tags: f%23, pattern-matching Problem: OR pattern matching I'm trying to use an OR pattern, as described here : let foo = function | Some (0, x) when x > 0 | None -> "bar" | _ -> "baz" However, this gives a compiler error: error FS0010: Unexpected symbol '|' ...
OR pattern matching OR pattern matching f%23 pattern-matching Some None OR pattern matching I'm trying to use an OR pattern, as described here : However, this gives a compiler error: What am I doing wrong? Does it have to do with the when guard?
[ -0.000621795654296875, 0.006195068359375, 0.0020904541015625, 0.002838134765625, -0.00982666015625, -0.0079345703125, -0.0166015625, 0.01519775390625, 0.0014495849609375, 0.0108642578125, 0.0184326171875, 0.003570556640625, -0.008544921875, -0.0147705078125, 0.00121307373046875, -0.001...
[ 33172, 103510, 14858, 214, 1238, 3949, 3742, 98753, 31384, 438, 86, 31577, 4527, 142, 237, 151552, 3688, 33306, 903, 76199, 9969, 34759, 18499, 444, 20594, 44691, 3229, 56050 ]
[ 0.27197265625, 0.2410888671875, 0.18994140625, 0.07666015625, 0.0838623046875, 0.08111572265625, 0.1605224609375, 0.1865234375, 0.06060791015625, 0.078125, 0.0740966796875, 0.088134765625, 0.1187744140625, 0.018157958984375, 0.001983642578125, 0.0684814453125, 0.009765625, 0.018096...
embed
48633279_c0
48633279
fsharp
0
Title: How to convert a string into a list words in F# Problem title: How to convert a string into a list words in F# Tags: f%23, string, list Problem: How to convert a string into a list words in F# I need to convert a string into a list of words no built-in functions, here what I tried to do so far, obviously somethi...
How to convert a string into a list words in F# How to convert a string into a list words in F# f%23 string list How How to convert a string into a list words in F# I need to convert a string into a list of words no built-in functions, here what I tried to do so far, obviously something wrong:
[ -0.0152587890625, -0.01202392578125, -0.0164794921875, 0.012939453125, -0.01202392578125, 0.01446533203125, -0.0103759765625, 0.004730224609375, 0.007110595703125, -0.0206298828125, 0.01153564453125, 0.002593994140625, -0.0191650390625, -0.007537841796875, 0.0031280517578125, 0.0008583...
[ 11249, 47, 96760, 79315, 3934, 10, 5303, 34153, 23, 563, 4904, 1238, 3742, 3871, 111, 88303, 73, 32354, 37842, 2060, 171259, 44691 ]
[ 0.033721923828125, 0.0218963623046875, 0.1400146484375, 0.252685546875, 0.0784912109375, 0.0655517578125, 0.1956787109375, 0.1932373046875, 0.050689697265625, 0.133544921875, 0.19384765625, 0.09161376953125, 0.1307373046875, 0.0633544921875, 0.06256103515625, 0.04345703125, 0.0007934...
embed
59840145_c0
59840145
fsharp
0
Title: make a copy of a Map with new items inserted in F# Problem title: make a copy of a Map with new items inserted in F# Tags: f%23 Problem: make a copy of a Map with new items inserted in F# if I have a record: let r = { a = 1; b = 2 } I can do: let r2 = { r with b = 3 } but is there an equivalent with Maps? like: ...
make a copy of a Map with new items inserted in F# make a copy of a Map with new items inserted in F# f%23 Map make a copy of a Map with new items inserted in F# if I have a record: I can do: but is there an equivalent with Maps? like: would allow me to do: what is the most F#-ish way to achieve that?
[ -0.01123046875, -0.003570556640625, -0.00677490234375, -0.0164794921875, -0.01318359375, -0.02294921875, -0.024169921875, -0.000644683837890625, 0.01495361328125, 0.009765625, 0.024658203125, 0.0203857421875, 0.0341796875, 0.02392578125, 0.0220947265625, 0.00701904296875, -0.00355529...
[ 3249, 43658, 111, 42719, 678, 3525, 55769, 183540, 297, 23, 563, 4904, 10, 1238, 3949, 3742, 2174, 765, 17164, 831, 54, 1284, 183234, 103033, 1884, 2806, 63769, 163, 2684, 4745, 3917, 69307, 450 ]
[ 0.1246337890625, 0.2410888671875, 0.06732177734375, 0.2239990234375, 0.0985107421875, 0.1654052734375, 0.1962890625, 0.20556640625, 0.04052734375, 0.059295654296875, 0.1341552734375, 0.2042236328125, 0.05322265625, 0.09991455078125, 0.0262908935546875, 0.1539306640625, 0.013854980468...
embed
53397494_c1
53397494
fsharp
1
1, "main": "Haze", "description": "haze", "icon": "50d" } ], "base": "stations", "main": { "temp": 7.71, "pressure": 1012, "humidity": 93, "temp_min": 7, "temp_max": 9.4 }, "visibility": 4023, "wind": { "speed": 5.7, "deg": 2... Code signals: How, Type, Providers, Rest, JSON, Endpoint, WeatherForecast, JsonProvider, ap...
1, "main": "Haze", "description": "haze", "icon": "50d" } ], "base": "stations", "main": { "temp": 7.71, "pressure": 1012, "humidity": 93, "temp_min": 7, "temp_max": 9.4 }, "visibility": 4023, "wind": { "speed": 5.7, "deg": 2... Code signals: How, Type, Providers, Rest, JSON, Endpoint, WeatherForecast, JsonProvider, ap...
[ 0.0130615234375, 0.0140380859375, -0.01129150390625, 0.018798828125, 0.03076171875, 0.0133056640625, 0.01263427734375, -0.0181884765625, 0.01312255859375, -0.01318359375, 0.016357421875, 0.01446533203125, 0.01202392578125, 0.005615234375, 0.011474609375, -0.0040283203125, 0.006469726...
[ 106, 24931, 12, 44, 6495, 731, 112, 59478, 528, 14, 2271, 2525, 71, 10114, 37382, 41311, 7, 10666, 34224, 2861, 15770, 11856, 3408, 1530, 22462, 532, 2481, 17461, 1249, 361, 24084, 3569, 617, 37712, 83259, 1112, 3742, 50777, 175870, 6, ...
[ 0.09722900390625, 0.174072265625, 0.0286407470703125, 0.0361328125, 0.1900634765625, 0.250244140625, 0.0626220703125, 0.173583984375, 0.1861572265625, 0.037628173828125, 0.18505859375, 0.098388671875, 0.09613037109375, 0.00726318359375, 0.2069091796875, 0.2296142578125, 0.09381103515...
embed
20303962_c0
20303962
fsharp
0
Title: FSharp order of function parameters Problem title: FSharp order of function parameters Tags: functional-programming, f%23 Problem: FSharp order of function parameters Since functions in FSharp with multiple parameters get curried inherently into functions with only one parameter, should the signature of Seq.filt...
FSharp order of function parameters FSharp order of function parameters functional-programming f%23 FSharp Seq.filter FSharp order of function parameters Since functions in FSharp with multiple parameters get curried inherently into functions with only one parameter, should the signature of Seq.filter have to be ? How ...
[ 0.0302734375, 0.0294189453125, -0.0123291015625, -0.01104736328125, -0.003692626953125, 0.0052490234375, 0.0133056640625, 0.006500244140625, 0.009765625, -0.018310546875, 0.01409912109375, 0.0027313232421875, -0.0177001953125, -0.0037689208984375, 0.0008087158203125, 0.00738525390625, ...
[ 93774, 3467, 254, 12989, 111, 32354, 171859, 123309, 28966, 1238, 3742, 503, 864, 120337, 48716, 9709, 46572, 235529, 3934, 678, 4734, 1632, 5608, 138256, 5, 765, 12921 ]
[ 0.08575439453125, 0.1849365234375, 0.1812744140625, 0.18115234375, 0.0032958984375, 0.18212890625, 0.205078125, 0.11474609375, 0.10028076171875, 0.030548095703125, 0.07366943359375, 0.0777587890625, 0.1483154296875, 0.2216796875, 0.1142578125, 0.040679931640625, 0.1287841796875, 0....
embed
68219222_c0
68219222
fsharp
0
Title: is there any generic f# convent way to run background job Problem title: is there any generic f# convent way to run background job Tags: f%23, c%23 Problem: is there any generic f# convent way to run background job In c# the convenient way is to inherit from the BackgroundService class and register to the hostin...
is there any generic f# convent way to run background job is there any generic f# convent way to run background job f%23 c%23 is there any generic f# convent way to run background job In c# the convenient way is to inherit from the BackgroundService class and register to the hosting framework with AddHostedService(). I...
[ -0.015625, 0.02197265625, 0.004669189453125, 0.000499725341796875, -0.000591278076171875, 0.00726318359375, -0.0157470703125, -0.021240234375, 0.012451171875, -0.0556640625, -0.0120849609375, 0.0284423828125, 0.022216796875, -0.00042724609375, 0.0123291015625, 0.017333984375, 0.00026...
[ 2685, 2499, 189534, 1238, 4904, 158, 16274, 3917, 47, 11675, 76615, 12447, 3742, 501, 142267, 23, 3334, 217, 1295, 70, 26828, 64330, 121979, 18507, 68067, 70496, 170846, 29117, 11193, 14437, 132, 360, 24, 4935, 54, 903, 17664, 30563, 18151,...
[ 0.024505615234375, 0.046722412109375, 0.23779296875, 0.14892578125, 0.20751953125, 0.088623046875, 0.2037353515625, 0.08990478515625, 0.04217529296875, 0.1190185546875, 0.253173828125, 0.1912841796875, 0.0775146484375, 0.010589599609375, 0.1480712890625, 0.01385498046875, 0.142089843...
embed
70131844_c1
70131844
fsharp
1
), colour) | Mix(f1,f2) -> let newCirc = move(f1) let newRect = move(f2) let newFig = Mix(newCirc, newRect) newFig The error seems to occur when i give 'newFig' the new circle and rectangle, but I can't quite figure out what is wrong. I struggle quite a bit with these type errors in f# pretty often, so I thought I was ...
), colour) | Mix(f1,f2) -> let newCirc = move(f1) let newRect = move(f2) let newFig = Mix(newCirc, newRect) newFig The error seems to occur when i give 'newFig' the new circle and rectangle, but I can't quite figure out what is wrong. I struggle quite a bit with these type errors in f# pretty often, so I thought I was ...
[ -0.0012359619140625, -0.01422119140625, 0.0126953125, 0.01416015625, 0.01153564453125, 0.0291748046875, -0.025390625, 0.007232666015625, 0.013427734375, 0.0089111328125, -0.01080322265625, 0.0162353515625, 0.0279541015625, 0.00037384033203125, -0.000896453857421875, -0.02294921875, -...
[ 247, 134855, 16, 58745, 37286, 420, 418, 10461, 2633, 3525, 40658, 19437, 25813, 17727, 1052, 24762, 919, 872, 54936, 18499, 37202, 74918, 3229, 17, 8337, 42154, 133, 136, 148734, 449, 32233, 26366, 1810, 44691, 151994, 10644, 7, 1238, 4904...
[ 0.04962158203125, 0.180419921875, 0.033416748046875, 0.014373779296875, 0.245849609375, 0.13818359375, 0.080810546875, 0.1453857421875, 0.0872802734375, 0.121826171875, 0.06561279296875, 0.170654296875, 0.1365966796875, 0.0538330078125, 0.0899658203125, 0.1517333984375, 0.15368652343...
embed
11696200_c0
11696200
fsharp
0
Title: Concurrently decompressing a stream Problem title: Concurrently decompressing a stream Tags: f%23, c%23, compression, concurrency, .net Problem: Concurrently decompressing a stream .NET allows a stream to be decompressed by wrapping it in another stream. However, I assume this is implemented serially. Is it poss...
Concurrently decompressing a stream Concurrently decompressing a stream f%23 c%23 compression concurrency .net Concurrently Concurrently decompressing a stream .NET allows a stream to be decompressed by wrapping it in another stream. However, I assume this is implemented serially. Is it possible to make this concurrent...
[ -0.003875732421875, 0.022216796875, -0.004852294921875, 0.0087890625, 0.0274658203125, -0.004425048828125, -0.00151824951171875, -0.0115966796875, 0.0155029296875, 0.001190185546875, -0.00933837890625, 0.0306396484375, 0.0277099609375, 0.0166015625, -0.01361083984375, 0.006103515625, ...
[ 1657, 163812, 538, 8, 277, 11856, 214, 75973, 1238, 3949, 3742, 501, 375, 48448, 108636, 982, 6, 1179, 10, 5, 17777, 114864, 47, 186, 297, 390, 137565, 10366, 23, 15700, 33306, 41591, 903, 29479, 35686, 2071, 442, 7722, 3249, 133244, 22...
[ 0.105224609375, 0.2274169921875, 0.043212890625, 0.2108154296875, 0.1505126953125, 0.2130126953125, 0.05242919921875, 0.2037353515625, 0.08087158203125, 0.010406494140625, 0.1162109375, 0.01177978515625, 0.1444091796875, 0.197998046875, 0.1749267578125, 0.1162109375, 0.03204345703125...
embed
51777578_c1
51777578
fsharp
1
seems like a relevant post: How to parse comments with FParsec But I don't see how the solution to that one differs from what I'm doing here, really. Code signals: FParsec, u0000, u0001, u0002, u0003, u0004, u0005, u0006, u0007, u0008, u0009, u000a, u000b, u000c, u000d, u000e, u000f, u0010, u0011, u0012, u0013, u0014,...
seems like a relevant post: How to parse comments with FParsec But I don't see how the solution to that one differs from what I'm doing here, really. Code signals: FParsec, u0000, u0001, u0002, u0003, u0004, u0005, u0006, u0007, u0008, u0009, u000a, u000b, u000c, u000d, u000e, u000f, u0010, u0011, u0012, u0013, u0014,...
[ 0.00701904296875, 0.005126953125, -0.0191650390625, 0.0294189453125, -0.02490234375, 0.023681640625, 0.0078125, -0.003692626953125, -0.0012664794921875, 0.0203857421875, -0.000606536865234375, 0.0218505859375, 0.0213623046875, -0.0079345703125, -0.0279541015625, 0.0240478515625, 0.00...
[ 37202, 29191, 11249, 366, 184, 24626, 678, 563, 28636, 39797, 1957, 3642, 29806, 129927, 20594, 3688, 6183, 28864, 26073, 7, 75, 28568, 188735, 9508, 304, 363, 617, 758, 910, 966, 1019, 1126, 275, 238, 71, 13, 420, 963, 1662, 34479, 183...
[ 0.046966552734375, 0.0916748046875, 0.000762939453125, 0.16455078125, 0.120361328125, 0.230712890625, 0.058929443359375, 0.1263427734375, 0.1629638671875, 0.255126953125, 0.0311279296875, 0.010009765625, 0.1041259765625, 0.1070556640625, 0.00732421875, 0.0232086181640625, 0.029006958...
embed
4326764_c0
4326764
fsharp
0
Title: Functions in F# Discriminated Unions Problem title: Functions in F# Discriminated Unions Tags: haskell, f%23 Problem: Functions in F# Discriminated Unions Is there a way to use functions in Discriminated Unions? I am looking to do something like this: Type Test<'a> = Test of 'a-> bool I know this is possible in ...
Functions in F# Discriminated Unions Functions in F# Discriminated Unions haskell f%23 Functions Discriminated Unions Type Test Functions in F# Discriminated Unions Is there a way to use functions in Discriminated Unions? I am looking to do something like this: Type Test<'a> = Test of 'a-> bool I know this is possible ...
[ -0.0130615234375, 0.01226806640625, 0.0277099609375, 0.0025634765625, -0.0128173828125, 0.0028839111328125, 0.005767822265625, -0.005096435546875, 0.0103759765625, -0.0189208984375, 0.00738525390625, 0.01080322265625, -0.00970458984375, -0.000858306884765625, 0.016845703125, 0.01220703...
[ 28670, 10763, 23, 563, 4904, 6206, 135421, 3674, 32528, 1556, 142508, 1238, 3949, 3742, 60457, 8647, 2685, 10, 3917, 47, 4527, 32354, 7, 16487, 54, 1884, 903, 16093, 25, 11, 2203, 111, 103607, 142484, 7722, 20625, 3525, 50986, 136, 149016...
[ 0.135009765625, 0.0946044921875, 0.080810546875, 0.1236572265625, 0.1956787109375, 0.09619140625, 0.2188720703125, 0.09234619140625, 0.18994140625, 0.1041259765625, 0.2183837890625, 0.04931640625, 0.0268096923828125, 0.10137939453125, 0.25390625, 0.23583984375, 0.013092041015625, 0...
embed
13561301_c0
13561301
fsharp
0
Title: Intersection between two lists F# Problem title: Intersection between two lists F# Tags: f%23, list Problem: Intersection between two lists F# I am looking for a function that takes the intersection between two lists and creates a new list, I have this function: let intersect x y = Set.intersect (Set.ofList x) (...
Intersection between two lists F# Intersection between two lists F# f%23 list Intersection Set.intersect Set.ofList Intersection between two lists F# I am looking for a function that takes the intersection between two lists and creates a new list, I have this function: let intersect x y = Set.intersect (Set.ofList x) (...
[ 0.00131988525390625, -0.0004253387451171875, 0.0172119140625, 0.0130615234375, 0.002716064453125, 0.0272216796875, -0.0107421875, -0.0001983642578125, 0.005035400390625, -0.01409912109375, 0.0157470703125, 0.0272216796875, -0.005096435546875, 0.01123046875, 0.0086669921875, 0.007415771...
[ 5337, 7, 58994, 17721, 6626, 5303, 563, 4904, 1238, 3949, 3742, 19943, 10433, 24762, 4390, 154663, 16487, 100, 32354, 51776, 70, 1940, 28282, 3525, 2633, 1022, 113, 2203, 294, 126, 54, 2367, 12936, 13319, 3444, 4527, 23, 978, 24908 ]
[ 0.153564453125, 0.190185546875, 0.16796875, 0.1727294921875, 0.1224365234375, 0.2403564453125, 0.1099853515625, 0.173583984375, 0.06787109375, 0.03509521484375, 0.136962890625, 0.196044921875, 0.1502685546875, 0.1778564453125, 0.1673583984375, 0.1978759765625, 0.067138671875, 0.026...
embed
53047386_c0
53047386
fsharp
0
Title: Pattern matching against List variable Problem title: Pattern matching against List variable Tags: f%23 Problem: Pattern matching against List variable Why does the second pattern matching return "1 and 2" and give me a warning "This rule will never be matched" on the wildcard _? let a = [3;4] let lst = [1;2] ma...
Pattern matching against List variable Pattern matching against List variable f%23 Pattern List Other Pattern matching against List variable Why does the second pattern matching return "1 and 2" and give me a warning "This rule will never be matched" on the wildcard _? It appears to me lst is considered truthy. How so?
[ -0.017333984375, 0.0155029296875, 0.003082275390625, 0.009033203125, -0.01055908203125, 0.00933837890625, -0.0113525390625, 0.006866455078125, 0.0184326171875, -0.00921630859375, 0.014892578125, -0.01324462890625, 0.00958251953125, 0.0021209716796875, 0.00092315673828125, 0.00067901611...
[ 9876, 22766, 14858, 214, 26548, 32036, 77336, 1238, 3949, 3742, 44084, 14602, 17932, 103510, 30646, 418, 136, 116, 163, 1631, 592, 73243, 79986, 1221, 8306, 186, 297, 56409, 38931, 135179, 271, 90698, 85027, 53 ]
[ 0.1639404296875, 0.13427734375, 0.2169189453125, 0.085693359375, 0.1668701171875, 0.139404296875, 0.197998046875, 0.039947509765625, 0.06829833984375, 0.1185302734375, 0.041473388671875, 0.002716064453125, 0.1478271484375, 0.2249755859375, 0.1312255859375, 0.03948974609375, 0.0984497...
embed
7823446_c0
7823446
fsharp
0
Title: Running MSIL on GPU Problem title: Running MSIL on GPU Tags: multithreading, gpu, f%23, multicore, c%23 Problem: Running MSIL on GPU Maybe a crazy question but is it possible to run threads on the GPU? Reason I ask is I have some quite complicated computation to execute (it's mostly maths and arrays) and would l...
Running MSIL on GPU Running MSIL on GPU multithreading gpu f%23 multicore c%23 Running MSIL GPU Running MSIL on GPU Maybe a crazy question but is it possible to run threads on the GPU? Reason I ask is I have some quite complicated computation to execute (it's mostly maths and arrays) and would like to see if I can get ...
[ -0.0023651123046875, -0.00665283203125, 0.0072021484375, -0.01123046875, -0.0108642578125, 0.006988525390625, 0.007568359375, -0.006317138671875, -0.018310546875, -0.058349609375, -0.00034332275390625, 0.0167236328125, -0.00037384033203125, -0.00118255615234375, -0.0035400390625, 0.015...
[ 28398, 592, 276, 68785, 98, 162808, 3869, 65847, 11, 706, 1766, 1238, 3742, 6024, 30854, 83425, 116666, 9655, 1284, 83, 442, 7722, 47, 11675, 86997, 7, 70, 236267, 26458, 32233, 96704, 181135, 1363, 71924, 153161, 48909, 10298, 1884, 1957, ...
[ 0.1534423828125, 0.0394287109375, 0.135986328125, 0.26611328125, 0.12939453125, 0.26806640625, 0.1136474609375, 0.198486328125, 0.01141357421875, 0.01123046875, 0.1832275390625, 0.04022216796875, 0.115478515625, 0.0985107421875, 0.1229248046875, 0.029571533203125, 0.1103515625, 0.0...
embed
40136408_c0
40136408
fsharp
0
Title: Second to last item in a list in F# Problem title: Second to last item in a list in F# Tags: f%23 Problem: Second to last item in a list in F# This is what my initial thought was and there were no issues until it was called; What is wrong with this exactly? let SecLastItem myList= List.rev myList |>printfn myLis...
Second to last item in a list in F# Second to last item in a list in F# f%23 Second SecLastItem List.rev Second to last item in a list in F# This is what my initial thought was and there were no issues until it was called; What is wrong with this exactly? How do I rectify the problem here? What is the best way to find ...
[ -0.01422119140625, 0.00726318359375, 0.0155029296875, 0.007476806640625, 0.00604248046875, 0.0203857421875, 0.00762939453125, 0.0213623046875, 0.0164794921875, -0.01361083984375, 0.035888671875, 0.00171661376953125, 0.00323486328125, 0.0198974609375, -0.00726318359375, -0.0113525390625...
[ 77648, 47, 4568, 35735, 23, 5303, 563, 4904, 1238, 3949, 3742, 72199, 2729, 271, 2982, 32036, 65381, 61475, 17569, 3542, 37348, 442, 35839, 4865, 83, 44691, 678, 903, 66161, 21954, 7737, 53, 2967, 3688, 70, 2965, 7413, 116, 2208, 111, 1...
[ 0.2098388671875, 0.1671142578125, 0.2115478515625, 0.19921875, 0.030548095703125, 0.18359375, 0.1326904296875, 0.1795654296875, 0.050750732421875, 0.0290374755859375, 0.097412109375, 0.117919921875, 0.128662109375, 0.1083984375, 0.130126953125, 0.14892578125, 0.1656494140625, 0.005...
embed
4392556_c0
4392556
fsharp
0
Title: In which language is F#&#x27;s compiler written? Problem title: In which language is F#&#x27;s compiler written? Tags: f%23 Problem: In which language is F#'s compiler written? In which language is F#'s compiler written? I've heard that F#'s compiler is written in F# :) (each next version of F# compiler is writt...
In which language is F#&#x27;s compiler written? In which language is F#&#x27;s compiler written? f%23 In which language is F#'s compiler written? In which language is F#'s compiler written? I've heard that F#'s compiler is written in F# :) (each next version of F# compiler is written on its previous version) But: 1. C...
[ -0.005462646484375, 0.003631591796875, 0.00153350830078125, 0.0091552734375, -0.007598876953125, 0.006500244140625, -0.007659912109375, -0.005889892578125, -0.008056640625, -0.02099609375, -0.016845703125, -0.00262451171875, 0.00347900390625, 0.004974365234375, 0.0284423828125, 0.01190...
[ 360, 3129, 46876, 563, 4904, 3768, 7, 9969, 34759, 59121, 1238, 3742, 83, 25, 49782, 450, 23, 41581, 11737, 11389, 98, 96362, 26484, 442, 29568, 5117 ]
[ 0.0863037109375, 0.05999755859375, 0.18505859375, 0.168212890625, 0.206787109375, 0.0654296875, 0.083984375, 0.2137451171875, 0.2281494140625, 0.14501953125, 0.0430908203125, 0.01251220703125, 0.06280517578125, 0.016082763671875, 0.0506591796875, 0.00048828125, 0.1009521484375, 0.0...
embed
22208052_c0
22208052
fsharp
0
Title: F# Ninject Constructor Injection Problem title: F# Ninject Constructor Injection Tags: ninject, f%23 Problem: F# Ninject Constructor Injection Is it possible to do implicit constructor injection in F# using Ninject? If so, how? I tried to put the [<Inject>] attribute on the type definition, but I got back an err...
F# Ninject Constructor Injection F# Ninject Constructor Injection ninject f%23 Ninject Constructor Injection Inject Blah ISword F# Ninject Constructor Injection Is it possible to do implicit constructor injection in F# using Ninject? If so, how? I tried to put the [<Inject>] attribute on the type definition, but I got ...
[ -0.01031494140625, -0.00055694580078125, -0.00958251953125, 0.0023956298828125, -0.0218505859375, 0.00531005859375, 0.0036773681640625, 0.0069580078125, -0.004669189453125, -0.039306640625, -0.002655029296875, 0.0025787353515625, -0.000560760498046875, 0.02685546875, -0.006805419921875, ...
[ 563, 4904, 56740, 75161, 82084, 18770, 360, 236, 14610, 1238, 3949, 3742, 335, 1566, 15744, 47416, 2071, 442, 7722, 54, 165164, 64549, 748, 115049, 1830, 23, 17368, 3642, 37842, 3884, 4153, 150380, 10644, 80934, 4420, 18499, 56649 ]
[ 0.1285400390625, 0.200927734375, 0.2132568359375, 0.2783203125, 0.1693115234375, 0.1376953125, 0.093017578125, 0.178466796875, 0.1502685546875, 0.0704345703125, 0.029693603515625, 0.1041259765625, 0.045562744140625, 0.16748046875, 0.053680419921875, 0.181884765625, 0.011810302734375,...
embed
30819905_c0
30819905
fsharp
0
Title: How make xamarin projects to open in visual studio? Problem title: How make xamarin projects to open in visual studio? Tags: visual-studio, xamarin, project, f%23 Problem: How make xamarin projects to open in visual studio? I have found that everytime I try to open a xamarin project (F#) in visual studio I get t...
How make xamarin projects to open in visual studio? How make xamarin projects to open in visual studio? visual-studio xamarin project f%23 How How make xamarin projects to open in visual studio? I have found that everytime I try to open a xamarin project (F#) in visual studio I get the error "Project not loaded". And t...
[ -0.00732421875, 0.01556396484375, -0.011474609375, -0.00482177734375, 0.00994873046875, -0.00860595703125, -0.0164794921875, -0.00144195556640625, 0.0031890869140625, -0.0277099609375, -0.004425048828125, -0.037841796875, 0.01104736328125, 0.00009393692016601562, 0.0002899169921875, -0...
[ 11249, 3249, 2459, 44503, 77635, 47, 9803, 23, 21176, 12275, 52629, 13452, 1238, 3742, 14037, 11907, 6032, 9790, 919, 4904, 18499, 223353, 959, 72367, 37676, 7722, 11001, 4488, 17721 ]
[ 0.0692138671875, 0.0926513671875, 0.1591796875, 0.2374267578125, 0.1876220703125, 0.08746337890625, 0.1871337890625, 0.0787353515625, 0.1748046875, 0.2022705078125, 0.138671875, 0.1484375, 0.0291290283203125, 0.05157470703125, 0.004547119140625, 0.017364501953125, 0.0205078125, 0.0...
embed
11176471_c0
11176471
fsharp
0
Title: F# generate a sequence/array of dates Problem title: F# generate a sequence/array of dates Tags: f%23 Problem: F# generate a sequence/array of dates In F# I can easily do let a = [1 .. 10];; Then why can't I do let a = DateTime.Parse("01/01/2012") let b = DateTime.Parse("01/01/2020") let dateList = [a .. b] It g...
F# generate a sequence/array of dates F# generate a sequence/array of dates f%23 DateTime.Parse Type DateTime TimeSpan F# generate a sequence/array of dates In F# I can easily do Then why can't I do It gives an error Type constraint mismatch. The type DateTime is not compatible with type TimeSpan
[ 0.010498046875, -0.00004172325134277344, -0.01300048828125, 0.0169677734375, -0.011474609375, -0.00286865234375, -0.023681640625, 0.01495361328125, -0.00860595703125, -0.022705078125, -0.01904296875, 0.0252685546875, 0.01470947265625, 0.0223388671875, -0.00848388671875, -0.028076171875...
[ 563, 4904, 139392, 40, 944, 3956, 64, 19305, 53, 111, 112474, 10, 1238, 3742, 25512, 70059, 28636, 184, 60457, 19055, 3180, 831, 72546, 54, 15400, 18, 18499, 158, 2816, 4288, 1239, 98753, 10644, 83, 959, 146731, 678, 294 ]
[ 0.135009765625, 0.189208984375, 0.1851806640625, 0.06683349609375, 0.14501953125, 0.12451171875, 0.08099365234375, 0.1549072265625, 0.121826171875, 0.0657958984375, 0.1895751953125, 0.0111083984375, 0.037200927734375, 0.1029052734375, 0.126220703125, 0.196533203125, 0.080322265625, ...
embed
27466119_c0
27466119
fsharp
0
Title: Making cyclic graphs in F#. Is mutability required? Problem title: Making cyclic graphs in F#. Is mutability required? Tags: mutability, immutability, graph, f%23 Problem: Making cyclic graphs in F#. Is mutability required? I'm trying to do a cyclic graph in F# My node type looks something like this: type Node =...
Making cyclic graphs in F#. Is mutability required? Making cyclic graphs in F#. Is mutability required? mutability immutability graph f%23 Making Node Value Edges Making cyclic graphs in F#. Is mutability required? I'm trying to do a cyclic graph in F# My node type looks something like this: My question is: Do I need t...
[ -0.0037841796875, 0.0020904541015625, 0.010986328125, 0.01495361328125, -0.004547119140625, 0.0001354217529296875, -0.01507568359375, 0.0081787109375, 0.00048828125, -0.00799560546875, 0.005096435546875, -0.0096435546875, -0.0023956298828125, 0.0152587890625, 0.01416015625, 0.017944335...
[ 13676, 187830, 238, 41382, 23, 563, 4904, 2071, 21144, 41159, 56065, 214, 7, 566, 14311, 1238, 3742, 438, 112, 190060, 69030, 110, 10644, 33342, 3871, 3249, 842, 22819, 765, 105823 ]
[ 0.055023193359375, 0.198486328125, 0.0489501953125, 0.203369140625, 0.0355224609375, 0.139404296875, 0.19287109375, 0.055145263671875, 0.1710205078125, 0.1136474609375, 0.1712646484375, 0.008575439453125, 0.0261077880859375, 0.012847900390625, 0.1197509765625, 0.05712890625, 0.055816...
embed
14202835_c1
14202835
fsharp
1
=str.Length then -1 else let c = compare str.[i] str.[j] in if c<>0 then c else cmp (i+1) (j+1) cmp i j let bwt (str: byte array) = let n = str.Length let a = Array.init n (fun i -> i) sort (fun i j -> cmp str i j) a Array.init n (fun i -> str.[(a.[i] + n - 1) % n]) Note: it is my guess that this was a method in a prev...
=str.Length then -1 else let c = compare str.[i] str.[j] in if c<>0 then c else cmp (i+1) (j+1) cmp i j let bwt (str: byte array) = let n = str.Length let a = Array.init n (fun i -> i) sort (fun i j -> cmp str i j) a Array.init n (fun i -> str.[(a.[i] + n - 1) % n]) Note: it is my guess that this was a method in a prev...
[ 0.002655029296875, 0.0172119140625, 0.0042724609375, 0.004425048828125, -0.0169677734375, -0.0024261474609375, 0.0179443359375, -0.035888671875, 0.034912109375, 0.004486083984375, -0.01708984375, 0.042236328125, 0.006378173828125, 0.0001277923583984375, -0.010009765625, -0.03173828125,...
[ 2203, 9297, 5267, 449, 927, 7068, 68940, 37076, 2633, 501, 69101, 7704, 14, 170, 23, 2174, 16093, 2389, 1827, 254, 21748, 17, 1647, 90998, 18, 390, 67, 10298, 53, 653, 10, 69253, 73, 217, 16498, 12096, 5, 997, 20, 4879, 1745, 57767, ...
[ 0.10546875, 0.223876953125, 0.064208984375, 0.12109375, 0.05975341796875, 0.0631103515625, 0.1912841796875, 0.1273193359375, 0.08966064453125, 0.07794189453125, 0.253173828125, 0.247802734375, 0.05926513671875, 0.1708984375, 0.01055908203125, 0.0178985595703125, 0.011810302734375, ...
embed
14322142_c0
14322142
fsharp
0
Title: MailboxProcessor data serialization? Problem title: MailboxProcessor data serialization? Tags: f%23, mailboxprocessor, recovery Problem: MailboxProcessor data serialization? Compared to NServiceBus, MSMQ, etc. message based architectures... Is there any way to "restore backup" state of F# mailbox processor? Or b...
MailboxProcessor data serialization? MailboxProcessor data serialization? f%23 mailboxprocessor recovery MailboxProcessor MailboxProcessor data serialization? Compared to NServiceBus, MSMQ, etc. message based architectures... Is there any way to "restore backup" state of F# mailbox processor? Or best practices to exten...
[ 0.0031280517578125, 0.034912109375, -0.0052490234375, 0.0194091796875, -0.007415771484375, 0.008056640625, -0.003692626953125, 0.0306396484375, -0.0106201171875, -0.01129150390625, 0.0167236328125, 0.00469970703125, 0.020263671875, 0.0179443359375, 0.0174560546875, -0.0020751953125, ...
[ 25919, 11728, 10752, 26531, 748, 2053, 35686, 47691, 32, 1238, 3949, 3742, 6648, 63923, 145951, 113307, 541, 121979, 7235, 18148, 2737, 26008, 35509, 159958, 7, 3917, 107, 45804, 126502, 11341, 563, 4904, 14543, 42, 2965, 41361, 65042, 2886, ...
[ 0.08428955078125, 0.20654296875, 0.06048583984375, 0.127197265625, 0.105224609375, 0.10321044921875, 0.2119140625, 0.1182861328125, 0.000091552734375, 0.0584716796875, 0.024322509765625, 0.133544921875, 0.0662841796875, 0.1397705078125, 0.1639404296875, 0.045257568359375, 0.041900634...
embed
3335901_c0
3335901
fsharp
0
Title: F# Create 2D Array Problem title: F# Create 2D Array Tags: f%23 Problem: F# Create 2D Array Hi I am wanting to create in F# a 2D array of size 1000x1000, with the value in the array at any position to be initialized as the same vaue of its index using the 2DArray class. i.e. position [1,1] would have value (1,1)...
F# Create 2D Array F# Create 2D Array f%23 Create Array F# Create 2D Array Hi I am wanting to create in F# a 2D array of size 1000x1000, with the value in the array at any position to be initialized as the same vaue of its index using the 2DArray class. i.e. position [1,1] would have value (1,1). I have looked at the s...
[ 0.021240234375, -0.00157928466796875, -0.00958251953125, 0.01116943359375, 0.0003452301025390625, -0.003082275390625, -0.00360107421875, -0.00341796875, 0.015380859375, 0.0255126953125, 0.025634765625, 0.01068115234375, 0.00946044921875, -0.004638671875, -0.00567626953125, -0.003341674...
[ 563, 4904, 151313, 116, 397, 69253, 53, 1238, 3742, 2673, 3444, 28282, 23, 10298, 13267, 4382, 425, 14105, 34292, 2499, 19069, 61475, 29367, 5701, 307, 13388, 63262, 42, 7092, 18507, 76172, 2806, 765, 17727, 6002, 86531, 304, 7612, 2182, ...
[ 0.115478515625, 0.1942138671875, 0.173583984375, 0.14111328125, 0.1488037109375, 0.1993408203125, 0.185302734375, 0.06207275390625, 0.106689453125, 0.0181427001953125, 0.07049560546875, 0.1748046875, 0.0203399658203125, 0.2066650390625, 0.0809326171875, 0.1278076171875, 0.02693176269...
embed
61123992_c2
61123992
fsharp
2
);; -------------^^^^^^^^^ stdin(3,14): error FS0039: The field, constructor or member 'CompareTo' is not defined. My question : how to access the CompareTo method associated to an array object? ... If possible via a function signature arrcompare : arr1:obj -> arr2:obj -> int or arrcompare : arr1:obj -> arr2:obj -> int...
);; -------------^^^^^^^^^ stdin(3,14): error FS0039: The field, constructor or member 'CompareTo' is not defined. My question : how to access the CompareTo method associated to an array object? ... If possible via a function signature arrcompare : arr1:obj -> arr2:obj -> int or arrcompare : arr1:obj -> arr2:obj -> int...
[ 0.010498046875, -0.000667572021484375, 0.0029754638671875, 0.019287109375, 0.007476806640625, -0.0157470703125, 0.01483154296875, 0.009521484375, 0.0172119140625, -0.00750732421875, -0.0225830078125, 0.051025390625, 0.0047607421875, -0.006805419921875, 0.004119873046875, -0.04760742187...
[ 3142, 6138, 3035, 86827, 65283, 18499, 93774, 7049, 9323, 44457, 64549, 748, 32786, 108161, 1046, 7763, 83, 959, 61924, 71, 9655, 3642, 47, 17203, 113307, 13, 55300, 137272, 10298, 53, 36746, 7722, 1829, 32354, 138256, 187, 42, 277, 16082, ...
[ 0.0222625732421875, 0.1258544921875, 0.166259765625, 0.0234832763671875, 0.11669921875, 0.1864013671875, 0.1514892578125, 0.109375, 0.2220458984375, 0.1820068359375, 0.130859375, 0.087158203125, 0.1820068359375, 0.17626953125, 0.1903076171875, 0.299560546875, 0.051025390625, 0.1065...
embed
7267542_c1
7267542
fsharp
1
pwd size here. So how can I use it on F# Structure then ? Or maybe I can declare static-size array type somehow ? Thank you Code signals: How, StructureToPtr, Structure, Typeof, OneDevice, System.UInt16, Parity, StopBits, BaudRate, addr1, addr2, idGroup1, idGroup2, idGroup3, idGroup4, idGroupSos1, idGroupSos2, idGroup...
pwd size here. So how can I use it on F# Structure then ? Or maybe I can declare static-size array type somehow ? Thank you Code signals: How, StructureToPtr, Structure, Typeof, OneDevice, System.UInt16, Parity, StopBits, BaudRate, addr1, addr2, idGroup1, idGroup2, idGroup3, idGroup4, idGroupSos1, idGroupSos2, idGroup...
[ 0.00897216796875, -0.005828857421875, -0.007354736328125, 0.0081787109375, -0.010009765625, 0.002166748046875, -0.0023956298828125, -0.01318359375, 0.0205078125, -0.01458740234375, 0.00897216796875, -0.01513671875, 0.0172119140625, -0.00994873046875, 0.015869140625, -0.0166015625, 0....
[ 123325, 71, 13267, 3688, 3642, 831, 4527, 442, 98, 563, 4904, 63667, 238, 6644, 159978, 201939, 62539, 10298, 53, 10644, 209303, 28864, 26073, 11249, 7763, 4448, 60457, 4390, 6561, 4657, 20375, 12353, 660, 2485, 2392, 2481, 42284, 571, 1448...
[ 0.18359375, 0.1842041015625, 0.2266845703125, 0.0977783203125, 0.0615234375, 0.03057861328125, 0.123046875, 0.05194091796875, 0.019378662109375, 0.1038818359375, 0.190673828125, 0.185791015625, 0.129638671875, 0.0908203125, 0.16943359375, 0.15185546875, 0.1995849609375, 0.140502929...
embed
15958308_c0
15958308
fsharp
0
Title: Fsharp - How do i convert a sequence to ParallelQuery? Problem title: Fsharp - How do i convert a sequence to ParallelQuery? Tags: f%23, parallel-processing Problem: Fsharp - How do i convert a sequence to ParallelQuery? I have a sequence of objects that i am processing using ParallelEnumerable.Aggregate() Howev...
Fsharp - How do i convert a sequence to ParallelQuery? Fsharp - How do i convert a sequence to ParallelQuery? f%23 parallel-processing Fsharp How ParallelQuery Fsharp - How do i convert a sequence to ParallelQuery? I have a sequence of objects that i am processing using ParallelEnumerable.Aggregate() However the source...
[ -0.006591796875, 0.03564453125, -0.01470947265625, 0.004150390625, 0.009765625, -0.0086669921875, -0.0084228515625, 0.01519775390625, -0.0189208984375, -0.043212890625, -0.00787353515625, 0.016845703125, 0.01373291015625, 0.0267333984375, -0.0157470703125, 0.0001850128173828125, -0.0...
[ 563, 89280, 254, 11249, 17, 96760, 40, 944, 3956, 47, 211485, 41732, 1294, 1238, 3949, 3742, 95103, 63923, 54, 36746, 9433, 2606, 56, 2886, 68722, 2182, 31344, 32354, 27117, 37702 ]
[ 0.0872802734375, 0.1910400390625, 0.1563720703125, 0.0655517578125, 0.0855712890625, 0.1575927734375, 0.059906005859375, 0.1446533203125, 0.104248046875, 0.08367919921875, 0.21875, 0.1881103515625, 0.1748046875, 0.045623779296875, 0.004608154296875, 0.0919189453125, 0.1605224609375, ...
embed
362840_c0
362840
fsharp
0
Title: How long before the line of business app in F# becomes the norm? Problem title: How long before the line of business app in F# becomes the norm? Tags: .net, f%23, functional-programming Problem: How long before the line of business app in F# becomes the norm? With the recent news about F# being included with Vis...
How long before the line of business app in F# becomes the norm? How long before the line of business app in F# becomes the norm? .net f%23 functional-programming How How long before the line of business app in F# becomes the norm? With the recent news about F# being included with Visual Studio 2010, I got to thinking ...
[ 0.0037078857421875, 0.022705078125, -0.00135040283203125, -0.002532958984375, -0.007415771484375, 0.00909423828125, -0.0031890869140625, 0.01458740234375, 0.01171875, -0.045166015625, -0.01287841796875, -0.01611328125, -0.0017242431640625, 0.01556396484375, -0.0023651123046875, 0.00158...
[ 4989, 8108, 13315, 111, 8063, 4027, 563, 4904, 24209, 70, 22599, 11249, 23, 1179, 1238, 3742, 123309, 28966, 99201, 678, 73372, 22968, 36404, 47644, 33662, 1957, 56037, 449, 16401, 115723, 2256, 32628 ]
[ 0.1099853515625, 0.0948486328125, 0.1458740234375, 0.1373291015625, 0.183837890625, 0.2027587890625, 0.141845703125, 0.2193603515625, 0.08270263671875, 0.0251007080078125, 0.1671142578125, 0.0144500732421875, 0.0204315185546875, 0.11572265625, 0.0601806640625, 0.060211181640625, 0.20...
embed
63851959_c0
63851959
fsharp
0
Title: How to return an item from a list that has no type F# Problem title: How to return an item from a list that has no type F# Tags: f%23 Problem: How to return an item from a list that has no type F# I want to return second element of a list. And this input list can be any type. But I don't understand why my code d...
How to return an item from a list that has no type F# How to return an item from a list that has no type F# f%23 a How How to return an item from a list that has no type F# I want to return second element of a list. And this input list can be any type. But I don't understand why my code does not work.
[ -0.01495361328125, -0.0010833740234375, 0.004150390625, -0.0007476806640625, 0.0093994140625, -0.00653076171875, -0.010009765625, -0.0025177001953125, -0.0013885498046875, -0.00616455078125, 0.033447265625, -0.01953125, -0.016845703125, 0.0029754638671875, 0.00982666015625, -0.00830078...
[ 11249, 47, 30646, 142, 35735, 1295, 10, 5303, 450, 1556, 110, 10644, 563, 4904, 1238, 3949, 3742, 3444, 17932, 12830, 111, 107730, 2499, 28219, 18151, 959, 4488 ]
[ 0.06427001953125, 0.085693359375, 0.2216796875, 0.0242767333984375, 0.19091796875, 0.1533203125, 0.0430908203125, 0.1854248046875, 0.0655517578125, 0.0941162109375, 0.1500244140625, 0.155517578125, 0.08984375, 0.149658203125, 0.032745361328125, 0.015594482421875, 0.0894775390625, 0...
embed
946338_c0
946338
fsharp
0
Title: F#: How do I declare and use ByRef semantics on parameters? Problem title: F#: How do I declare and use ByRef semantics on parameters? Tags: ado.net, pass-by-reference, f%23 Problem: F#: How do I declare and use ByRef semantics on parameters? I am wraping some SQL Stored Procs with in/out parameters. This of cou...
F#: How do I declare and use ByRef semantics on parameters? F#: How do I declare and use ByRef semantics on parameters? ado.net pass-by-reference f%23 How ByRef ado.net F#: How do I declare and use ByRef semantics on parameters? I am wraping some SQL Stored Procs with in/out parameters. This of course means I have to d...
[ 0.018310546875, 0.041259765625, -0.011962890625, -0.000896453857421875, -0.0233154296875, 0.00634765625, -0.0185546875, 0.004974365234375, 0.0037384033203125, -0.0159912109375, 0.01214599609375, -0.00170135498046875, 0.00274658203125, 0.0233154296875, 0.01153564453125, -0.015380859375,...
[ 563, 4904, 11249, 159978, 136, 4527, 3311, 190015, 484, 109109, 7, 98, 171859, 87, 1138, 1179, 27875, 1272, 239879, 1238, 3949, 3742, 137565, 214, 80866, 14934, 84607, 678, 23, 64, 6056, 26950, 110608, 41884, 91067, 21144, 19736 ]
[ 0.1500244140625, 0.208251953125, 0.084716796875, 0.23388671875, 0.0838623046875, 0.1240234375, 0.168212890625, 0.300048828125, 0.146240234375, 0.1785888671875, 0.013946533203125, 0.066650390625, 0.2327880859375, 0.0189056396484375, 0.143310546875, 0.10003662109375, 0.1195068359375, ...
embed
27252276_c0
27252276
fsharp
0
Title: Inheriting F# Record Problem title: Inheriting F# Record Tags: f%23 Problem: Inheriting F# Record My understanding is that F# records are non-sealed classes. if so, can I inherit a record type? For example: type person = {name:string; address:string} type employee inherit person = {employeeId: string} I have sea...
Inheriting F# Record Inheriting F# Record f%23 Inheriting Record name:string address:string Inheriting F# Record My understanding is that F# records are non-sealed classes. if so, can I inherit a record type? For example: I have searching around the MSDN docs and language specs and I am not having any luck. Thanks in a...
[ 0.0033721923828125, 0.004608154296875, 0.0068359375, 0.033447265625, -0.01068115234375, -0.0008392333984375, -0.031005859375, 0.022216796875, -0.0152587890625, -0.0225830078125, 0.00518798828125, 0.0230712890625, 0.0145263671875, 0.027587890625, -0.00360107421875, -0.0013580322265625, ...
[ 360, 86151, 1916, 563, 4904, 54877, 1238, 3949, 3742, 9351, 91693, 29823, 100094, 115923, 621, 351, 9, 184, 11, 6259, 61112, 831, 87, 23, 3334, 217, 10, 17164, 10644, 27781, 157318, 16265, 51671, 46876, 48502, 959, 84434, 129745 ]
[ 0.098388671875, 0.2481689453125, 0.076171875, 0.170654296875, 0.2529296875, 0.218017578125, 0.111328125, 0.0160369873046875, 0.1451416015625, 0.0660400390625, 0.140869140625, 0.1290283203125, 0.060760498046875, 0.2003173828125, 0.0401611328125, 0.1241455078125, 0.0195465087890625, ...
embed
3010175_c0
3010175
fsharp
0
Title: &quot;if&quot; expression question Problem title: &quot;if&quot; expression question Tags: f%23 Problem: "if" expression question I test some simple F# code for "if" expression, but the result is unexpected for me: > let test c a b = if c then a else b;; val test : bool -> 'a -> 'a -> 'a However > test true (pri...
&quot;if&quot; expression question &quot;if&quot; expression question f%23 "if" expression question I test some simple F# code for "if" expression, but the result is unexpected for me: However I'd expect only "a" is printed out but here I got both "a" and "b". I wonder why it comes out this way? Thanks!
[ 0.0177001953125, -0.0072021484375, 0.019775390625, 0.0203857421875, 0.0126953125, 0.0113525390625, 0.0172119140625, 0.01513671875, -0.006103515625, 0.01165771484375, 0.0033111572265625, 0.009033203125, -0.022705078125, 0.0089111328125, 0.0213623046875, 0.0152587890625, -0.00104522705...
[ 41502, 3190, 1230, 125195, 9655, 74, 1238, 3949, 3742, 3034, 8781, 563, 4904, 18151, 1284, 16750, 241957, 163, 33306, 71, 41206, 4734, 11, 83, 28412, 297, 1810, 3688, 4163, 15044, 58, 136, 275, 32195, 15400, 32497, 903, 3917 ]
[ 0.13134765625, 0.24365234375, 0.1522216796875, 0.2568359375, 0.1376953125, 0.0081787109375, 0.07049560546875, 0.020263671875, 0.080322265625, 0.1328125, 0.0662841796875, 0.07373046875, 0.18212890625, 0.136962890625, 0.011077880859375, 0.055328369140625, 0.09686279296875, 0.01551818...
embed
54235962_c0
54235962
fsharp
0
Title: Can I use the special generic syntax for my own types? Problem title: Can I use the special generic syntax for my own types? Tags: generics, f%23 Problem: Can I use the special generic syntax for my own types? In F# some types have a special generic syntax (I'm not sure what it is called) so that you can do: int...
Can I use the special generic syntax for my own types? Can I use the special generic syntax for my own types? generics f%23 Can List Option Can I use the special generic syntax for my own types? In F# some types have a special generic syntax (I'm not sure what it is called) so that you can do: What is this syntax calle...
[ 0.0086669921875, 0.015869140625, 0.006439208984375, -0.00909423828125, -0.00933837890625, -0.00154876708984375, -0.0034027099609375, -0.00439453125, 0.012939453125, 0.01495361328125, 0.0015411376953125, -0.00154876708984375, -0.00311279296875, -0.00726318359375, 0.00726318359375, 0.002...
[ 4171, 87, 4527, 5361, 189534, 6002, 86531, 100, 759, 10002, 52895, 1238, 3949, 3742, 32036, 86769, 70, 563, 4904, 3060, 442, 35839, 831, 54, 903, 2886 ]
[ 0.0968017578125, 0.048126220703125, 0.121826171875, 0.1595458984375, 0.2314453125, 0.14794921875, 0.2069091796875, 0.066162109375, 0.04315185546875, 0.1453857421875, 0.200927734375, 0.07452392578125, 0.001373291015625, 0.06646728515625, 0.1405029296875, 0.1783447265625, 0.00881958007...
embed
15313404_c0
15313404
fsharp
0
Title: In application script hosting. How does tryfsharp.org work? Problem title: In application script hosting. How does tryfsharp.org work? Tags: f%23 Problem: In application script hosting. How does tryfsharp.org work? I am interested in the ability to have F# scripting within my app. Having something like tryfsharp...
In application script hosting. How does tryfsharp.org work? In application script hosting. How does tryfsharp.org work? f%23 How tryfsharp.org In application script hosting. How does tryfsharp.org work? I am interested in the ability to have F# scripting within my app. Having something like tryfsharp.org would be great...
[ 0.00885009765625, 0.0277099609375, -0.007781982421875, 0.0089111328125, -0.0216064453125, 0.000057697296142578125, 0.0111083984375, -0.01263427734375, -0.00665283203125, -0.0198974609375, 0.012451171875, -0.00933837890625, -0.0120849609375, 0.037109375, 0.02880859375, 0.000999450683593...
[ 360, 38415, 26499, 70496, 11249, 9790, 420, 89280, 254, 1478, 4488, 1238, 60892, 81273, 563, 4904, 214, 28032, 4027, 2806, 6782, 30131, 27077, 184, 3540, 41159, 19882, 527, 217, 32102 ]
[ 0.06622314453125, 0.1453857421875, 0.202880859375, 0.174560546875, 0.05413818359375, 0.17431640625, 0.1431884765625, 0.1695556640625, 0.156005859375, 0.15576171875, 0.09698486328125, 0.011474609375, 0.063232421875, 0.0670166015625, 0.0877685546875, 0.125244140625, 0.057220458984375, ...
embed
42218395_c0
42218395
fsharp
0
Title: Unsure about recursive sorting function? Problem title: Unsure about recursive sorting function? Tags: f%23 Problem: Unsure about recursive sorting function? I would just like to understand what is happening in this function, particularly the third case. Thanks! let rec sort = function | [] -> [] | [x] -> [x] //...
Unsure about recursive sorting function? Unsure about recursive sorting function? f%23 Unsure x1::x2::xs x2::xs x1::xs Unsure about recursive sorting function? I would just like to understand what is happening in this function, particularly the third case. Thanks!
[ -0.00958251953125, 0.006744384765625, 0.01611328125, -0.020751953125, 0.007476806640625, 0.00848388671875, -0.0027618408203125, -0.008544921875, 0.0150146484375, 0.0269775390625, 0.007659912109375, -0.0042724609375, 0.01263427734375, 0.004364013671875, 0.00848388671875, -0.013916015625...
[ 992, 56851, 195625, 5844, 12096, 214, 32354, 1672, 1238, 3949, 3742, 1022, 82825, 425, 304, 7, 28219, 123087, 903, 50960, 7225 ]
[ 0.0986328125, 0.20703125, 0.1907958984375, 0.1295166015625, 0.1876220703125, 0.0772705078125, 0.156494140625, 0.0153961181640625, 0.064208984375, 0.0401611328125, 0.125244140625, 0.0428466796875, 0.055267333984375, 0.06072998046875, 0.071533203125, 0.0153961181640625, 0.081787109375,...
embed
31752962_c0
31752962
fsharp
0
Title: How to read float data from a file in F# Problem title: How to read float data from a file in F# Tags: f%23, c%23-to-f%23 Problem: How to read float data from a file in F# I have a file with float numbers and I want to read it and save the values in an array to do some math operations. Then I need to print the n...
How to read float data from a file in F# How to read float data from a file in F# f%23 c%23-to-f%23 a How How to read float data from a file in F# I have a file with float numbers and I want to read it and save the values in an array to do some math operations. Then I need to print the new array in another file. All th...
[ 0.0166015625, -0.0005950927734375, -0.0021209716796875, 0.0004444122314453125, 0.0033111572265625, -0.004425048828125, 0.0115966796875, -0.003997802734375, -0.0040283203125, 0.000736236572265625, -0.005767822265625, -0.00677490234375, -0.015869140625, -0.01141357421875, 0.002731323242187...
[ 11249, 47, 12301, 21917, 257, 2053, 1295, 11435, 23, 563, 4904, 1238, 3742, 27495, 188, 420, 10, 678, 101935, 3444, 30098, 142424, 10298, 48909, 41018, 28412, 3525, 53, 15700, 48322, 237, 79315, 3642, 96760 ]
[ 0.054107666015625, 0.083251953125, 0.241455078125, 0.226806640625, 0.1883544921875, 0.1708984375, 0.13037109375, 0.1976318359375, 0.04840087890625, 0.1455078125, 0.2021484375, 0.0665283203125, 0.08355712890625, 0.124267578125, 0.113525390625, 0.0828857421875, 0.048736572265625, 0.0...
embed
5395375_c0
5395375
fsharp
0
Title: Setting DataLoadOptions for DataContext in F# Problem title: Setting DataLoadOptions for DataContext in F# Tags: datacontext, f%23, linq-to-sql Problem: Setting DataLoadOptions for DataContext in F# Is it possible to set the DataLoadOptions on a data context in F#? So far I have had no luck because the DataLoadO...
Setting DataLoadOptions for DataContext in F# Setting DataLoadOptions for DataContext in F# datacontext f%23 linq-to-sql Setting DataLoadOptions DataContext Setting DataLoadOptions for DataContext in F# Is it possible to set the DataLoadOptions on a data context in F#? So far I have had no luck because the DataLoadOpti...
[ 0.0206298828125, 0.01129150390625, 0.01019287109375, 0.0206298828125, -0.004608154296875, -0.01483154296875, 0.0245361328125, 0.006103515625, -0.011962890625, -0.033935546875, -0.0235595703125, 0.004913330078125, -0.00183868408203125, -0.01129150390625, -0.001678466796875, 0.0094604492...
[ 503, 19514, 11809, 15363, 712, 39029, 5256, 100, 11935, 22829, 23, 563, 4904, 2053, 2271, 1238, 3742, 96, 44982, 188, 99247, 2071, 442, 7722, 5423, 70, 98, 43701, 2060, 110, 84434, 194583, 132, 51776, 12353, 866, 178752, 6492, 85, 37202, ...
[ 0.101806640625, 0.0609130859375, 0.1378173828125, 0.1602783203125, 0.1597900390625, 0.24072265625, 0.10137939453125, 0.038848876953125, 0.11767578125, 0.197998046875, 0.0654296875, 0.1485595703125, 0.219482421875, 0.149658203125, 0.10552978515625, 0.04669189453125, 0.07159423828125, ...
embed
59596419_c0
59596419
fsharp
0
Title: F# Get Root of a uInt64 Problem title: F# Get Root of a uInt64 Tags: f%23, math Problem: F# Get Root of a uInt64 How can I square root a uInt64 in F#? I've tried: sqrt(1UL) // the type 'uint64' does not support the operator 'Sqrt' //and 1UL**0.5 //the type 'uint64' does not support the operator 'Pow' You can do ...
F# Get Root of a uInt64 F# Get Root of a uInt64 f%23 math Get Root uInt64 Sqrt Pow F# Get Root of a uInt64 How can I square root a uInt64 in F#? I've tried: You can do integer exponents using pown , but it doesn't work to replace sqrt because the power can only be an int.
[ -0.00885009765625, 0.0081787109375, 0.036376953125, 0.006561279296875, -0.01416015625, -0.00104522705078125, 0.002166748046875, -0.029296875, -0.00579833984375, -0.0294189453125, 0.00179290771484375, 0.01611328125, -0.017333984375, -0.01141357421875, 0.00311279296875, -0.029296875, -...
[ 563, 4904, 20779, 150948, 111, 10, 75, 4153, 18, 13307, 1238, 3742, 48909, 159, 864, 3198, 53982, 11249, 831, 87, 6, 108047, 74855, 23, 272, 37842, 54, 892, 1505, 78643, 35066, 17368, 23827, 19, 4, 4488, 91995, 91, 14537, 4734, 186, 1...
[ 0.1494140625, 0.2149658203125, 0.08154296875, 0.25048828125, 0.0888671875, 0.045562744140625, 0.1436767578125, 0.0872802734375, 0.10693359375, 0.248046875, 0.0963134765625, 0.07037353515625, 0.0704345703125, 0.034820556640625, 0.1439208984375, 0.188720703125, 0.137451171875, 0.0116...
embed
43702318_c1
43702318
fsharp
1
/mono64 $DEBUG $MONO_OPTIONS /Library/Frameworks/Mono.framework/Versions/4.8.1/lib/mono/fsharp/fsi.exe --exename:$(basename "$0") "$@" ) I am still in 32 bits execution in Xamarin The next unanswered question is how to COMPILE in 64 bits in Xamarin Code signals: How, Xamarin, MacOS, EXEC, DEBUG, VALGRIND_OPTIONS, Bewar...
/mono64 $DEBUG $MONO_OPTIONS /Library/Frameworks/Mono.framework/Versions/4.8.1/lib/mono/fsharp/fsi.exe --exename:$(basename "$0") "$@" ) I am still in 32 bits execution in Xamarin The next unanswered question is how to COMPILE in 64 bits in Xamarin Code signals: How, Xamarin, MacOS, EXEC, DEBUG, VALGRIND_OPTIONS, Bewar...
[ -0.0123291015625, 0.014892578125, -0.01226806640625, 0.0177001953125, 0.00153350830078125, 0.02099609375, 0.0196533203125, -0.0057373046875, 0.0025177001953125, -0.01300048828125, 0.013671875, 0.00061798095703125, 0.01495361328125, -0.0033416748046875, 0.0157470703125, -0.0000715255737...
[ 248, 64176, 13307, 3650, 8399, 15639, 82707, 670, 20880, 18244, 46674, 31, 160328, 178390, 17357, 206730, 5612, 420, 89280, 254, 172, 46480, 11627, 37382, 2389, 981, 7464, 2789, 4785, 71924, 8606, 44503, 11737, 6488, 3642, 47, 61898, 52099, ...
[ 0.003662109375, 0.2008056640625, 0.220947265625, 0.03387451171875, 0.1182861328125, 0.1251220703125, 0.166015625, 0.1708984375, 0.15234375, 0.064697265625, 0.1453857421875, 0.12353515625, 0.0184478759765625, 0.0045166015625, 0.04058837890625, 0.104736328125, 0.0211639404296875, 0.0...
embed
20638893_c0
20638893
fsharp
0
Title: How can non-determinism be modeled with a List monad? Problem title: How can non-determinism be modeled with a List monad? Tags: functional-programming, haskell, f%23, monads, non-deterministic Problem: How can non-determinism be modeled with a List monad? Can anyone explain (better with an example in plain Engl...
How can non-determinism be modeled with a List monad? How can non-determinism be modeled with a List monad? functional-programming haskell f%23 monads non-deterministic How List How can non-determinism be modeled with a List monad? Can anyone explain (better with an example in plain English) what a list monad can do to...
[ -0.0177001953125, 0.015869140625, 0.01385498046875, 0.00579833984375, 0.005462646484375, 0.012451171875, 0.0113525390625, -0.00640869140625, 0.00616455078125, -0.0194091796875, 0.0120849609375, -0.036376953125, -0.00634765625, 0.0150146484375, -0.0101318359375, 0.01202392578125, 0.00...
[ 11249, 831, 351, 112, 30524, 8780, 3299, 297, 678, 32036, 2667, 712, 9, 10, 123309, 28966, 1556, 142508, 1238, 3949, 3742, 48242, 73342, 27781, 14941, 2367, 5303, 54, 47, 74481, 2967, 29806, 18645 ]
[ 0.06878662109375, 0.06329345703125, 0.1907958984375, 0.09112548828125, 0.1865234375, 0.11572265625, 0.205810546875, 0.035552978515625, 0.0601806640625, 0.2078857421875, 0.1287841796875, 0.1746826171875, 0.049957275390625, 0.0418701171875, 0.114990234375, 0.08380126953125, 0.077575683...
embed
16271945_c0
16271945
fsharp
0
Title: Is there a way in Visual Studio 2012 to use F# REPL when debugging c# Problem title: Is there a way in Visual Studio 2012 to use F# REPL when debugging c# Tags: visual-studio-2012, c%23, debugging, f%23, read-eval-print-loop Problem: Is there a way in Visual Studio 2012 to use F# REPL when debugging c# If I have...
Is there a way in Visual Studio 2012 to use F# REPL when debugging c# Is there a way in Visual Studio 2012 to use F# REPL when debugging c# visual-studio-2012 c%23 debugging f%23 read-eval-print-loop Visual Studio REPL visual-studio-2012 Is there a way in Visual Studio 2012 to use F# REPL when debugging c# If I have a ...
[ -0.0040283203125, 0.005584716796875, 0.001068115234375, 0.01348876953125, 0.00799560546875, 0.0120849609375, 0.00860595703125, 0.00665283203125, -0.000347137451171875, -0.031005859375, 0.01953125, 0.0029296875, -0.006134033203125, 0.005401611328125, 0.0181884765625, 0.0135498046875, ...
[ 3917, 73372, 22968, 1324, 4527, 563, 4904, 9069, 21130, 8, 978, 36659, 2685, 10, 23, 21176, 52629, 54458, 3742, 1238, 12301, 1405, 35662, 28354, 3229, 501, 36356, 38496, 1528, 5161, 134071, 18151, 7722 ]
[ 0.058319091796875, 0.1553955078125, 0.1478271484375, 0.1793212890625, 0.0609130859375, 0.109130859375, 0.1829833984375, 0.121337890625, 0.2374267578125, 0.1134033203125, 0.18603515625, 0.08477783203125, 0.000274658203125, 0.005950927734375, 0.01568603515625, 0.1080322265625, 0.117309...
embed
64662270_c2
64662270
fsharp
2
03 Finished (Success) 'DotNet:version' in 00:00:00.0614412 Code signals: FSharp.Data, TResult, System.String, FSI_0005.Build, Invoke, Microsoft.FSharp.Collections.SeqModule.Iterate, Microsoft.FSharp.Core.FSharpFunc, Fake.Core.TargetParameter, _arg1, Fake.Core.TargetModule.runSimpleInternal, Fake.Core.TargetContext, Fak...
03 Finished (Success) 'DotNet:version' in 00:00:00.0614412 Code signals: FSharp.Data, TResult, System.String, FSI_0005.Build, Invoke, Microsoft.FSharp.Collections.SeqModule.Iterate, Microsoft.FSharp.Core.FSharpFunc, Fake.Core.TargetParameter, _arg1, Fake.Core.TargetModule.runSimpleInternal, Fake.Core.TargetContext, Fak...
[ -0.01446533203125, 0.0177001953125, 0.002838134765625, -0.00086212158203125, -0.01507568359375, -0.01202392578125, -0.0022735595703125, 0.00124359130859375, -0.0140380859375, 0.011962890625, -0.01068115234375, 0.0037384033203125, -0.005706787109375, 0.018798828125, -0.0101318359375, -0...
[ 5098, 13316, 164, 5252, 14168, 238, 26531, 8331, 18, 24447, 12, 46354, 23, 110095, 6632, 9016, 131663, 1530, 28864, 26073, 7, 93774, 3467, 254, 137989, 14107, 90, 7136, 12353, 71713, 214, 563, 9902, 9508, 758, 121137, 23253, 7244, 36381, ...
[ 0.17138671875, 0.16357421875, 0.1378173828125, 0.1563720703125, 0.09014892578125, 0.125, 0.1605224609375, 0.1187744140625, 0.07763671875, 0.2391357421875, 0.02581787109375, 0.212158203125, 0.00335693359375, 0.1146240234375, 0.0770263671875, 0.059478759765625, 0.107666015625, 0.0981...
embed
63299908_c0
63299908
fsharp
0
Title: paket - how to install packages to project&#x27;s local folder Problem title: paket - how to install packages to project&#x27;s local folder Tags: f%23, paket Problem: paket - how to install packages to project's local folder Paket - how to install packages to project's local folder ? paket install always place ...
paket - how to install packages to project&#x27;s local folder paket - how to install packages to project&#x27;s local folder f%23 paket Users fsharp.data net45 FSharp.Data.dll paket - how to install packages to project's local folder Paket - how to install packages to project's local folder ? paket install always plac...
[ -0.0018157958984375, 0.01312255859375, 0.0004520416259765625, -0.0023040771484375, -0.012939453125, 0.0233154296875, 0.006683349609375, -0.02001953125, -0.006744384765625, -0.01348876953125, 0.0052490234375, -0.003936767578125, 0.01031494140625, 0.0089111328125, 0.0054931640625, 0.0014...
[ 13360, 3642, 47, 20600, 98169, 7, 13452, 3768, 4000, 78303, 20, 1238, 3742, 53400, 89280, 254, 10135, 2043, 4633, 93774, 3467, 137989, 71, 1181, 50867, 11343, 3687, 315, 3794, 3060, 7964, 14364, 313, 1062, 43883, 539, 29102, 420, 18113, 1...
[ 0.2509765625, 0.0712890625, 0.1680908203125, 0.2037353515625, 0.254150390625, 0.0819091796875, 0.1317138671875, 0.038818359375, 0.1639404296875, 0.1611328125, 0.004241943359375, 0.096435546875, 0.0298004150390625, 0.1246337890625, 0.1669921875, 0.19091796875, 0.0843505859375, 0.089...
embed
75221492_c0
75221492
fsharp
0
Title: f# iterate and use List&lt;List&lt;string&gt;&gt; Problem title: f# iterate and use List&lt;List&lt;string&gt;&gt; Tags: list, f%23 Problem: f# iterate and use List > I have simple list that contains inside list let ftss = [ ["a","aData"],["b","bData"] ] I want to iterate and access the elements "a" and "aData" ...
f# iterate and use List&lt;List&lt;string&gt;&gt; f# iterate and use List&lt;List&lt;string&gt;&gt; list f%23 List List.iter f# iterate and use List > I have simple list that contains inside list I want to iterate and access the elements "a" and "aData" etc. I tried how do i access the elements inside the internal list...
[ 0.01513671875, 0.00135040283203125, -0.006683349609375, 0.02001953125, -0.0126953125, 0.01055908203125, 0.0252685546875, 0.00102996826171875, -0.00543212890625, 0.00970458984375, 0.0234375, -0.005401611328125, 0.0162353515625, 0.0106201171875, -0.0152587890625, -0.0050048828125, 0.00...
[ 1238, 4904, 17, 8560, 67, 136, 4527, 32036, 1277, 154663, 91693, 5386, 74, 1230, 5303, 3949, 3742, 16840, 87, 765, 8781, 70541, 46132, 3444, 17203, 70, 80854, 11, 137989, 58, 3021, 37842, 3642, 54, 70796, 22362 ]
[ 0.131103515625, 0.18603515625, 0.0772705078125, 0.283447265625, 0.164794921875, 0.07830810546875, 0.121826171875, 0.249267578125, 0.0682373046875, 0.169189453125, 0.1197509765625, 0.041778564453125, 0.022186279296875, 0.0322265625, 0.2261962890625, 0.00909423828125, 0.122314453125, ...
embed
1321591_c1
1321591
fsharp
1
dateTime, num) -> num % 77.0 <> 0.0) // Has a gap in the data every 77 items let timeBetweenContiguousValues = (new TimeSpan(0,1,0)) dataWithOccationalHoles |> groupContiguousDataPoints timeBetweenContiguousValues |> Seq.iteri (fun i sequence -> printfn "Group %d has %d data-points: Head: %f" i (Seq.length sequence) (s...
dateTime, num) -> num % 77.0 <> 0.0) // Has a gap in the data every 77 items let timeBetweenContiguousValues = (new TimeSpan(0,1,0)) dataWithOccationalHoles |> groupContiguousDataPoints timeBetweenContiguousValues |> Seq.iteri (fun i sequence -> printfn "Group %d has %d data-points: Head: %f" i (Seq.length sequence) (s...
[ -0.007598876953125, 0.005584716796875, 0.002044677734375, -0.0002536773681640625, -0.015869140625, 0.017578125, 0.00098419189453125, -0.00167083740234375, 0.017822265625, 0.0001544952392578125, -0.024169921875, 0.031005859375, -0.01806640625, 0.01519775390625, 0.0009918212890625, 0.010...
[ 5622, 70059, 13269, 16, 33079, 1745, 361, 129884, 2740, 89678, 4666, 20625, 10, 43599, 23, 2053, 11907, 14154, 55769, 2633, 1733, 95211, 1177, 33, 118, 1234, 10821, 42272, 21049, 54936, 19055, 294, 3180, 206808, 194583, 670, 11210, 43315, 1...
[ 0.1336669921875, 0.207763671875, 0.1602783203125, 0.009063720703125, 0.070556640625, 0.05047607421875, 0.0908203125, 0.1885986328125, 0.05474853515625, 0.1986083984375, 0.05755615234375, 0.2125244140625, 0.08978271484375, 0.274169921875, 0.08935546875, 0.202392578125, 0.1187744140625...
embed
27912637_c0
27912637
fsharp
0
Title: How to create a F# PCL with Xamarin.Studio? Problem title: How to create a F# PCL with Xamarin.Studio? Tags: xamarin, xamarin-studio, portable-class-library, f%23 Problem: How to create a F# PCL with Xamarin.Studio? I see the template for creating a C# PCL, but not a F# PCL. Somewhere, someone mentioned about in...
How to create a F# PCL with Xamarin.Studio? How to create a F# PCL with Xamarin.Studio? xamarin xamarin-studio portable-class-library f%23 How PCL Xamarin.Studio How to create a F# PCL with Xamarin.Studio? I see the template for creating a C# PCL, but not a F# PCL. Somewhere, someone mentioned about installing the nece...
[ -0.00689697265625, 0.0098876953125, 0.0084228515625, 0.00787353515625, -0.0024871826171875, 0.0111083984375, 0.0140380859375, -0.01556396484375, 0.00005340576171875, -0.00170135498046875, -0.000762939453125, -0.040283203125, 0.012451171875, 0.002655029296875, 0.0220947265625, 0.0060424...
[ 11249, 47, 28282, 563, 4904, 6107, 866, 678, 8606, 44503, 109023, 31, 10, 2459, 52629, 168627, 67413, 150, 2844, 1238, 3742, 5, 110934, 105233, 20600, 63559, 22968, 201218, 112720, 8060 ]
[ 0.078857421875, 0.0123291015625, 0.127685546875, 0.138916015625, 0.2174072265625, 0.14501953125, 0.165771484375, 0.102294921875, 0.13037109375, 0.188720703125, 0.1588134765625, 0.099853515625, 0.0215911865234375, 0.085693359375, 0.1365966796875, 0.09942626953125, 0.0684814453125, 0...
embed
20274556_c0
20274556
fsharp
0
Title: applying a list to a function&#x27;s arguments Problem title: applying a list to a function&#x27;s arguments Tags: function, functional-programming, list, f%23 Problem: applying a list to a function's arguments How to write a function in F# for applying a list of values to a function like the Apply (@@) symbol i...
applying a list to a function&#x27;s arguments applying a list to a function&#x27;s arguments function functional-programming list f%23 Apply applying a list to a function's arguments How to write a function in F# for applying a list of values to a function like the Apply (@@) symbol in mathematica (map elements of the...
[ 0.00396728515625, -0.00714111328125, 0.0009765625, 0.006317138671875, -0.010498046875, 0.0106201171875, 0.0137939453125, 0.00958251953125, 0.01385498046875, -0.00921630859375, 0.0257568359375, -0.0216064453125, 0.0032501220703125, 0.0224609375, 0.0072021484375, -0.014892578125, 0.025...
[ 59911, 214, 10, 5303, 47, 32354, 3768, 10750, 123309, 28966, 1238, 3742, 5659, 538, 7, 11249, 33022, 23, 563, 4904, 142424, 1884, 128277, 26582, 48909, 13, 88875, 62346, 80854, 16, 68252, 74, 304, 96386, 11782, 41600, 155761, 9709, 46572, ...
[ 0.2120361328125, 0.03460693359375, 0.034149169921875, 0.2130126953125, 0.163330078125, 0.2066650390625, 0.065185546875, 0.2147216796875, 0.14453125, 0.0789794921875, 0.146240234375, 0.050750732421875, 0.190185546875, 0.19580078125, 0.0246124267578125, 0.019439697265625, 0.15368652343...
embed
62251993_c0
62251993
fsharp
0
Title: How to compare two lists in F# Problem title: How to compare two lists in F# Tags: f%23 Problem: How to compare two lists in F# I am new to f#, so I need to do this for homework. I have been struggling now for several hours, so a hint would be appreciated it: Write a function that has the type 'a list * 'a list-...
How to compare two lists in F# How to compare two lists in F# f%23 How How to compare two lists in F# I am new to f#, so I need to do this for homework. I have been struggling now for several hours, so a hint would be appreciated it: Write a function that has the type 'a list * 'a list-> bool, where a comparison betwee...
[ -0.01171875, 0.0169677734375, -0.00567626953125, 0.01214599609375, -0.01470947265625, 0.00592041015625, 0.00131988525390625, 0.0015411376953125, 0.004241943359375, 0.00439453125, 0.0135498046875, 0.031982421875, -0.0059814453125, 0.0218505859375, -0.0150146484375, -0.0262451171875, 0...
[ 11249, 47, 69101, 6626, 5303, 7, 23, 563, 4904, 1238, 3949, 3742, 3525, 100, 5368, 18244, 237875, 21974, 5122, 77947, 18781, 32354, 70, 10644, 661, 103607, 142484, 225490, 17721, 80854, 5701, 63262, 83, 29479, 68252, 74, 304, 96386, 136, ...
[ 0.06756591796875, 0.07952880859375, 0.232666015625, 0.1676025390625, 0.2403564453125, 0.052734375, 0.06146240234375, 0.14208984375, 0.2139892578125, 0.0985107421875, 0.06304931640625, 0.1214599609375, 0.03900146484375, 0.00006103515625, 0.021484375, 0.058013916015625, 0.0450744628906...
embed
42430217_c0
42430217
fsharp
0
Title: Specify the parameters type without tuples Problem title: Specify the parameters type without tuples Tags: f%23 Problem: Specify the parameters type without tuples I have the addition function: let addition a b = a + b but I want specify the types: let addition(a: int, b: int): int = a + b The question is I want...
Specify the parameters type without tuples Specify the parameters type without tuples f%23 Specify a:int b:int Specify the parameters type without tuples I have the addition function: but I want specify the types: The question is I want specify the type without use a tuple to build the function. For example, with a inc...
[ -0.01416015625, 0.00390625, -0.000823974609375, 0.0159912109375, -0.0289306640625, -0.00799560546875, -0.006317138671875, -0.0172119140625, -0.007293701171875, 0.002227783203125, 0.0103759765625, -0.0264892578125, -0.0235595703125, 0.0098876953125, 0.0159912109375, -0.02197265625, 0....
[ 24990, 40383, 171859, 7, 10644, 15490, 370, 99726, 70, 1238, 3949, 3742, 10, 12, 4288, 876, 66044, 32354, 3444, 40140, 18929, 52895, 9655, 4527, 8705, 45367, 214552, 6002, 86531 ]
[ 0.1600341796875, 0.1160888671875, 0.2261962890625, 0.03973388671875, 0.2039794921875, 0.151123046875, 0.095703125, 0.1644287109375, 0.0244598388671875, 0.064697265625, 0.0535888671875, 0.1217041015625, 0.06280517578125, 0.0156402587890625, 0.139404296875, 0.0751953125, 0.192260742187...
embed
23588373_c0
23588373
fsharp
0
Title: F# Seq.FindIndex starting from the end not the beginning? Problem title: F# Seq.FindIndex starting from the end not the beginning? Tags: f%23 Problem: F# Seq.FindIndex starting from the end not the beginning? I have this array let myArray = [1;2;3;5;2;7] I want to get the number 4, not 1 for Seq.FindIndex(fun x ...
F# Seq.FindIndex starting from the end not the beginning? F# Seq.FindIndex starting from the end not the beginning? f%23 the Seq.FindIndex Seq.FindIndexReverse F# Seq.FindIndex starting from the end not the beginning? I have this array I want to get the number 4, not 1 for Seq.FindIndex(fun x -> x=2) myArray I can reve...
[ -0.0036468505859375, 0.044921875, 0.00762939453125, -0.00171661376953125, -0.0133056640625, 0, 0.02197265625, 0.0279541015625, 0.0103759765625, -0.02685546875, 0.00555419921875, 0.0166015625, -0.0017547607421875, 0.02001953125, 0.0194091796875, -0.018798828125, 0.005889892578125, 0...
[ 563, 4904, 503, 864, 204582, 4153, 39659, 72134, 1295, 3564, 959, 86595, 1238, 3949, 3742, 4332, 37676, 5, 70, 903, 10298, 53, 3444, 2046, 14012, 201, 106, 16498, 1022, 33079, 55257, 759, 7614, 7092, 39531, 184, 156377, 32354, 25647 ]
[ 0.098388671875, 0.1397705078125, 0.10107421875, 0.2108154296875, 0.1715087890625, 0.1373291015625, 0.240234375, 0.1221923828125, 0.0828857421875, 0.184326171875, 0.157470703125, 0.1641845703125, 0.0657958984375, 0.0250701904296875, 0.1424560546875, 0.1046142578125, 0.232421875, 0.0...
embed
6752454_c0
6752454
fsharp
0
Title: Transform List of Tuple Lists into single list of tuples Problem title: Transform List of Tuple Lists into single list of tuples Tags: f%23 Problem: Transform List of Tuple Lists into single list of tuples I have a large list that looks essentially like this: let someList = [ [(1,2);(2,3);etc]; [(1,2);(2,3);etc]...
Transform List of Tuple Lists into single list of tuples Transform List of Tuple Lists into single list of tuples f%23 Transform List Tuple Lists Transform List of Tuple Lists into single list of tuples I have a large list that looks essentially like this: let someList = [ [(1,2);(2,3);etc]; [(1,2);(2,3);etc]; etc] a l...
[ 0.00109100341796875, 0.0084228515625, -0.003631591796875, 0.0107421875, 0.0057373046875, -0.0108642578125, -0.0296630859375, -0.000690460205078125, -0.00128936767578125, -0.005889892578125, 0.0172119140625, -0.0019073486328125, 0.01409912109375, 0.0252685546875, -0.017333984375, -0.000...
[ 11062, 5037, 32036, 111, 1371, 8705, 7, 3934, 11001, 5303, 370, 99726, 1238, 3949, 3742, 87, 765, 10, 21334, 33342, 85590, 1884, 903, 2633, 3060, 154663, 2203, 133063, 155761, 111879, 70541, 2965, 3917, 47, 34390, 450, 756, 70 ]
[ 0.09722900390625, 0.165283203125, 0.2432861328125, 0.0732421875, 0.152099609375, 0.2130126953125, 0.02740478515625, 0.1376953125, 0.2230224609375, 0.2381591796875, 0.1806640625, 0.24462890625, 0.04058837890625, 0.05584716796875, 0.0975341796875, 0.01373291015625, 0.0364990234375, 0...
embed
37226321_c0
37226321
fsharp
0
Title: How to create a COM object in F# Problem title: How to create a COM object in F# Tags: f%23, com Problem: How to create a COM object in F# I need IMessage Interface. In C# I could write CDO.Message oMsg = new CDO.Message(); // ok but when I try to do this in F# let oMsg = new CDO.Message() I get an error message...
How to create a COM object in F# How to create a COM object in F# f%23 com How COM CDO.Message How to create a COM object in F# I need IMessage Interface. In C# I could write but when I try to do this in F# I get an error message: How to solve this problem?
[ -0.006134033203125, 0.0091552734375, -0.00689697265625, 0.03076171875, -0.00543212890625, 0.00506591796875, -0.00286865234375, 0.004180908203125, 0.00262451171875, -0.03173828125, 0.000335693359375, -0.00616455078125, 0.01483154296875, -0.011962890625, 0.0218505859375, 0.00066757202148...
[ 11249, 47, 28282, 10, 31436, 36746, 23, 563, 4904, 1238, 3949, 3742, 375, 313, 13223, 594, 6011, 429, 3871, 46832, 220237, 360, 5809, 33022, 1284, 9790, 54, 2046, 18499, 26008, 86869, 903, 2967 ]
[ 0.07000732421875, 0.0904541015625, 0.1959228515625, 0.0970458984375, 0.272216796875, 0.25244140625, 0.1025390625, 0.1693115234375, 0.2388916015625, 0.1251220703125, 0.0635986328125, 0.173828125, 0.1749267578125, 0.0902099609375, 0.19482421875, 0.0230712890625, 0.1173095703125, 0.10...
embed
77206694_c0
77206694
fsharp
0
Title: Getting a random sample of a list in F# Problem title: Getting a random sample of a list in F# Tags: f%23 Problem: Getting a random sample of a list in F# I am writing some code in F# and I need a random sample from a list. Something similar to the Python Random.choice is exactly what I am looking for. let sampl...
Getting a random sample of a list in F# Getting a random sample of a list in F# f%23 Getting List.iter Getting a random sample of a list in F# I am writing some code in F# and I need a random sample from a list. Something similar to the Python Random.choice is exactly what I am looking for. Should output something like...
[ 0.0057373046875, 0.0142822265625, 0.025390625, 0.0023040771484375, -0.0235595703125, 0.0159912109375, -0.0030517578125, -0.0024566650390625, 0.014404296875, -0.01031494140625, 0.01513671875, -0.00086212158203125, 0.0026092529296875, -0.00130462646484375, 0.005340576171875, 0.0004386901...
[ 210732, 10, 96759, 121413, 5303, 23, 563, 4904, 111, 1238, 3949, 3742, 32036, 16840, 32562, 18151, 3871, 1295, 21373, 145581, 39643, 306, 5, 3089, 2980, 66161, 16487, 100, 151117, 140992, 1884 ]
[ 0.075927734375, 0.014862060546875, 0.1600341796875, 0.2177734375, 0.1668701171875, 0.0369873046875, 0.1268310546875, 0.1844482421875, 0.0345458984375, 0.044952392578125, 0.0216522216796875, 0.093505859375, 0.1627197265625, 0.1751708984375, 0.0074462890625, 0.06488037109375, 0.0607910...
embed
41815778_c0
41815778
fsharp
0
Title: F# What is this [&lt;something&gt;]? Problem title: F# What is this [&lt;something&gt;]? Tags: f%23, .net-attributes, operator-keyword Problem: F# What is this [ ]? I have come across something like this: [<Activity (Label = "setView", MainLauncher = true)>] several times and i have been wondering what is [<some...
F# What is this [&lt;something&gt;]? F# What is this [&lt;something&gt;]? f%23 .net-attributes operator-keyword What Activity Label MainLauncher F# What is this [ ]? I have come across something like this: several times and i have been wondering what is [<something>] and what does it do? I would gladly read up on it bu...
[ 0.020751953125, 0.0025634765625, -0.007080078125, -0.0126953125, -0.00077056884765625, 0.0010833740234375, 0.01611328125, 0.00994873046875, -0.0103759765625, -0.004791259765625, 0.00830078125, -0.0225830078125, -0.01202392578125, 0.01458740234375, 0.01202392578125, -0.00994873046875, ...
[ 563, 4904, 4865, 83, 903, 378, 1230, 1277, 43452, 64113, 5386, 74, 32, 1238, 3742, 6, 1179, 257, 191145, 39933, 19770, 47416, 42902, 2481, 129214, 12321, 2729, 309, 5372, 36880, 9844, 1884, 40368, 20028, 765, 149016, 2367, 2740, 14602, 44...
[ 0.166259765625, 0.2247314453125, 0.1256103515625, 0.1492919921875, 0.20263671875, 0.06365966796875, 0.0826416015625, 0.05133056640625, 0.0997314453125, 0.195068359375, 0.1392822265625, 0.00360107421875, 0.0148162841796875, 0.12744140625, 0.0865478515625, 0.025604248046875, 0.15026855...
embed
1656269_c0
1656269
fsharp
0
Title: F#: Remove the first N characters from a string? Problem title: F#: Remove the first N characters from a string? Tags: string, f%23 Problem: F#: Remove the first N characters from a string? I'm trying to write some code to remove the first N characters in a string. I could have done this in an imperative manner ...
F#: Remove the first N characters from a string? F#: Remove the first N characters from a string? string f%23 a Remove F#: Remove the first N characters from a string? I'm trying to write some code to remove the first N characters in a string. I could have done this in an imperative manner already, but I would like to ...
[ 0.00518798828125, 0.0098876953125, -0.000591278076171875, 0.046875, -0.0252685546875, -0.013916015625, 0.01416015625, -0.008544921875, 0.00830078125, -0.03564453125, -0.004241943359375, 0.01361083984375, -0.01312255859375, 0.00994873046875, -0.0172119140625, -0.005584716796875, 0.031...
[ 563, 4904, 12, 181139, 5117, 541, 124850, 1295, 79315, 32, 1238, 3949, 3742, 10, 70, 31577, 33022, 18151, 87388, 23, 5809, 222530, 144996, 21771, 1884, 1957, 16940, 52101, 123309, 56037, 449, 63134 ]
[ 0.1707763671875, 0.238525390625, 0.06658935546875, 0.1864013671875, 0.15771484375, 0.2222900390625, 0.20751953125, 0.123779296875, 0.248046875, 0.02581787109375, 0.1351318359375, 0.0887451171875, 0.1807861328125, 0.08087158203125, 0.037841796875, 0.043487548828125, 0.0159149169921875...
embed
5736495_c0
5736495
fsharp
0
Title: shorter way to write match Problem title: shorter way to write match Tags: f%23 Problem: shorter way to write match I have a function that returns a tuple: let rec pack l = let combine = List.fold packFunction (' ',[], []) l match combine with | (_,b,a) -> b::a |> List.rev |> List.tail is there a way to extract ...
shorter way to write match shorter way to write match f%23 List.fold b::a List.rev List.tail shorter way to write match I have a function that returns a tuple: is there a way to extract parts of the tuple without using a match statement? ie, id like to get b and a out of (_,b,a) without using a match statement
[ 0.006256103515625, -0.00634765625, 0.0133056640625, 0.0150146484375, -0.01513671875, -0.0025787353515625, -0.01416015625, -0.00592041015625, 0.0167236328125, 0.001708984375, 0.034423828125, 0.004852294921875, -0.0029449462890625, 0.00531005859375, 0.006317138671875, 0.00994873046875, ...
[ 16610, 56, 3917, 47, 33022, 14858, 1238, 3949, 3742, 32036, 42822, 876, 11, 65381, 46741, 32354, 30646, 370, 8705, 125663, 63920, 111, 15490, 17368, 63805, 3447, 1884, 2046, 136, 10, 1810, 454, 275 ]
[ 0.1763916015625, 0.1417236328125, 0.1337890625, 0.07794189453125, 0.21435546875, 0.295654296875, 0.06903076171875, 0.043792724609375, 0.13623046875, 0.15576171875, 0.1568603515625, 0.1044921875, 0.05865478515625, 0.1346435546875, 0.1844482421875, 0.1314697265625, 0.0709228515625, 0...
embed
30935177_c0
30935177
fsharp
0
Title: F# and Excel vba Problem title: F# and Excel vba Tags: excel-dna, f%23-interactive, f%23, fsharp.data.sqlclient Problem: F# and Excel vba I have written a function in F# which basically gets data from an access db and performs various computations. Is there a way to call this function from excel vba?I want to pa...
F# and Excel vba F# and Excel vba excel-dna f%23-interactive f%23 fsharp.data.sqlclient Excel fsharp.data.sqlclient F# and Excel vba I have written a function in F# which basically gets data from an access db and performs various computations. Is there a way to call this function from excel vba?I want to pass on all pa...
[ 0.0289306640625, 0.0103759765625, -0.001617431640625, 0.0169677734375, -0.006927490234375, 0.006072998046875, -0.01043701171875, -0.00994873046875, 0.000698089599609375, -0.04150390625, 0.0079345703125, -0.00408935546875, 0.0040283203125, 0.0006561279296875, 0.01068115234375, -0.016113...
[ 563, 4904, 136, 30326, 81, 402, 64152, 39200, 1238, 27495, 10433, 71232, 3742, 89280, 254, 10135, 99247, 222978, 59121, 32354, 23, 198343, 62163, 2053, 1295, 17203, 40041, 51339, 67842, 181135, 10, 3917, 11782, 903, 3444, 27875, 98, 756, 17...
[ 0.12841796875, 0.2044677734375, 0.1246337890625, 0.2060546875, 0.137939453125, 0.23291015625, 0.203369140625, 0.13720703125, 0.063720703125, 0.05364990234375, 0.04144287109375, 0.0816650390625, 0.0166168212890625, 0.141357421875, 0.125, 0.0172882080078125, 0.083984375, 0.1745605468...
embed