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
8510964_c0
8510964
fsharp
0
Title: F#: Seq.forall weirdness? Problem title: F#: Seq.forall weirdness? Tags: seq, f%23 Problem: F#: Seq.forall weirdness? Given let ra = ResizeArray<int> () : Seq.forall (fun i -> let q = i % 2 if 0 = q then ra.Add i true ) <| seq { 1..10 } If I do that, ra.Count returns 5 . Seq.forall (fun i -> let q = i % 2 if 0 =...
F#: Seq.forall weirdness? F#: Seq.forall weirdness? seq f%23 Seq.forall ResizeArray ra.Add ra.Count F#: Seq.forall weirdness? Given let ra = ResizeArray<int> () : If I do that, ra.Count returns 5 . If I do that, ra.Count returns 0 . So, what, unless every iteration of the lambda function evaluates to true, then effecti...
[ 0.019775390625, 0.0230712890625, -0.004608154296875, -0.007415771484375, 0.007781982421875, -0.002716064453125, 0.0242919921875, 0.01019287109375, -0.0023956298828125, -0.0072021484375, 0.02880859375, 0.022705078125, 0.01953125, 0.0126953125, 0.0021820068359375, -0.005828857421875, -...
[ 563, 4904, 503, 864, 2472, 5584, 179459, 7432, 40, 1238, 3742, 853, 62539, 7614, 7092, 673, 4028, 108210, 4288, 5, 30646, 190, 757, 117934, 11907, 17, 720, 21, 6492, 85, 32354, 151575, 47, 29568, 191984, 351, 13, 111, 18151, 83, 71924 ]
[ 0.0633544921875, 0.1295166015625, 0.081787109375, 0.1927490234375, 0.0291290283203125, 0.111083984375, 0.177490234375, 0.081787109375, 0.0787353515625, 0.06475830078125, 0.1195068359375, 0.0760498046875, 0.1326904296875, 0.047607421875, 0.14599609375, 0.162841796875, 0.02085876464843...
embed
17167195_c0
17167195
fsharp
0
Title: F# visual studio environment support Problem title: F# visual studio environment support Tags: f%23, visual-studio-2012, visual-studio Problem: F# visual studio environment support I developing a small project with F# on Visual Studio 2012. I'm used to C# development, and it seems to me that C# has a far far (fa...
F# visual studio environment support F# visual studio environment support f%23 visual-studio-2012 visual-studio visual-studio-2012 F# visual studio environment support I developing a small project with F# on Visual Studio 2012. I'm used to C# development, and it seems to me that C# has a far far (far) better support in...
[ 0.0032196044921875, 0.006988525390625, -0.0157470703125, 0, -0.00014591217041015625, 0.01483154296875, -0.01495361328125, -0.003692626953125, -0.0038604736328125, 0.00019741058349609375, 0.01275634765625, 0.006683349609375, -0.01190185546875, 0.000659942626953125, 0.0220947265625, 0.00...
[ 563, 4904, 21176, 12275, 65998, 8060, 1238, 3949, 3742, 52629, 54458, 168698, 19336, 13452, 678, 98, 73372, 22968, 12453, 11814, 313, 34754, 37202, 1556, 2060, 3814, 11522, 23, 3501, 154107, 3332, 3467, 1264, 69993, 831, 52295, 2806, 5161, ...
[ 0.16015625, 0.2191162109375, 0.17822265625, 0.2001953125, 0.1895751953125, 0.238037109375, 0.07366943359375, 0.0219268798828125, 0.1221923828125, 0.1744384765625, 0.1981201171875, 0.09417724609375, 0.054901123046875, 0.0802001953125, 0.0244903564453125, 0.003143310546875, 0.191162109...
embed
2884726_c0
2884726
fsharp
0
Title: f# mutable variables don&#x27;t show up in VS 2008 Local debug window Problem title: f# mutable variables don&#x27;t show up in VS 2008 Local debug window Tags: f%23, debugging, visual-studio-2008 Problem: f# mutable variables don't show up in VS 2008 Local debug window I'm using VS2008 with F# integration (Apri...
f# mutable variables don&#x27;t show up in VS 2008 Local debug window f# mutable variables don&#x27;t show up in VS 2008 Local debug window f%23 debugging visual-studio-2008 Local visual-studio-2008 f# mutable variables don't show up in VS 2008 Local debug window I'm using VS2008 with F# integration (April 2010 Communi...
[ 0.0157470703125, 0.00762939453125, -0.0023193359375, -0.0035552978515625, -0.001739501953125, 0.021240234375, -0.01611328125, 0.0007476806640625, -0.0002727508544921875, 0.005584716796875, 0.0024566650390625, -0.00262451171875, 0.0308837890625, 0.017822265625, 0.037109375, 0.0090332031...
[ 1238, 4904, 842, 22819, 77336, 2301, 3768, 18, 7639, 1257, 23, 44160, 2021, 24172, 8, 85779, 76896, 978, 21176, 52629, 105011, 17368, 16396, 563, 157353, 1532, 66069, 46473, 22751, 159978, 3638, 1022, 5423, 36356, 38496, 4527, 1221, 959, 10...
[ 0.102783203125, 0.1585693359375, 0.141845703125, 0.1806640625, 0.2437744140625, 0.0197906494140625, 0.04144287109375, 0.0552978515625, 0.1256103515625, 0.0843505859375, 0.0439453125, 0.187255859375, 0.217041015625, 0.10205078125, 0.1009521484375, 0.2113037109375, 0.1331787109375, 0...
embed
8245925_c0
8245925
fsharp
0
Title: Accessing an F# list from inside C# code Problem title: Accessing an F# list from inside C# code Tags: f%23, list, types, c%23 Problem: Accessing an F# list from inside C# code I have written an F# module that has a list inside: module MyModule type X = { valuex : float32 } let l = [ for i in 1 .. 10 -> {valuex ...
Accessing an F# list from inside C# code Accessing an F# list from inside C# code f%23 list types c%23 inside Accessing MyModule float32 MyModule.l IList Accessing an F# list from inside C# code I have written an F# module that has a list inside: Now from a C# class I'm trying to access the previously defined list, but...
[ 0.00689697265625, 0.01116943359375, 0.00005888938903808594, 0.00112152099609375, 0.01141357421875, 0.006683349609375, 0.00897216796875, -0.0093994140625, 0.01190185546875, -0.0174560546875, -0.00921630859375, 0.00080108642578125, 0.011474609375, -0.008056640625, 0.0069580078125, -0.003...
[ 40266, 214, 563, 4904, 5303, 1295, 46132, 313, 18151, 142, 1238, 3742, 52895, 2646, 91616, 8782, 21917, 6460, 141, 87, 154663, 59121, 88996, 18507, 31577, 17203, 70, 198395, 61924, 3714, 3642, 96760, 3871, 1884, 69307, 450 ]
[ 0.1719970703125, 0.044708251953125, 0.1422119140625, 0.212646484375, 0.236083984375, 0.0997314453125, 0.187744140625, 0.06390380859375, 0.1771240234375, 0.0228424072265625, 0.095947265625, 0.08721923828125, 0.1453857421875, 0.12353515625, 0.09033203125, 0.09906005859375, 0.130859375,...
embed
38413856_c1
38413856
fsharp
1
implementation of that interface (i.e. logToFile). Any guidance on how I should interpret the compile error based on my initial interpretation? Insert function dependencies let getBalance coins = coins |> List.fold (fun acc d -> match d with | Nickel -> acc + 0.05 | Dime -> acc + 0.10 | Quarter -> acc + 0.25 | OneDoll...
implementation of that interface (i.e. logToFile). Any guidance on how I should interpret the compile error based on my initial interpretation? Insert function dependencies let getBalance coins = coins |> List.fold (fun acc d -> match d with | Nickel -> acc + 0.05 | Dime -> acc + 0.10 | Quarter -> acc + 0.25 | OneDoll...
[ -0.0074462890625, -0.00909423828125, -0.01348876953125, 0.003021240234375, -0.00095367431640625, 0.03271484375, -0.0223388671875, 0.0130615234375, 0.0150146484375, 0.00360107421875, 0.00897216796875, -0.004791259765625, -0.004241943359375, -0.01470947265625, 0.0223388671875, -0.0037994...
[ 208124, 450, 101758, 12684, 7763, 174350, 196219, 29481, 9969, 1340, 18499, 35509, 61475, 206019, 360, 33657, 32354, 42548, 117538, 2633, 2046, 63641, 7154, 43780, 7, 32036, 42822, 16498, 50015, 104, 14858, 47801, 583, 89678, 758, 803, 282, 9...
[ 0.14794921875, 0.06195068359375, 0.2369384765625, 0.170166015625, 0.1614990234375, 0.2200927734375, 0.071533203125, 0.1326904296875, 0.1983642578125, 0.1893310546875, 0.2166748046875, 0.012451171875, 0.0219268798828125, 0.1300048828125, 0.0499267578125, 0.1673583984375, 0.17834472656...
embed
15167083_c0
15167083
fsharp
0
Title: F# / .NET: add an element to an array of List&lt;T&gt; Problem title: F# / .NET: add an element to an array of List&lt;T&gt; Tags: .net, f%23 Problem: F# / .NET: add an element to an array of List I have the following F# code: let list = Array.create 5 (new ResizeArray<char>()) list.[0].Add('c') printfn "%A" lis...
F# / .NET: add an element to an array of List&lt;T&gt; F# / .NET: add an element to an array of List&lt;T&gt; .net f%23 NET List Array.create ResizeArray Add F# / .NET: add an element to an array of List I have the following F# code: This is the output in FSI console: Seems pretty strange to me, as I was trying to add ...
[ 0.000644683837890625, 0.02587890625, -0.002838134765625, 0.016357421875, -0.0032196044921875, -0.01519775390625, 0.0001373291015625, 0.013916015625, -0.007049560546875, 0.0016021728515625, 0.0238037109375, -0.0189208984375, -0.019287109375, 0.033203125, -0.00787353515625, -0.0159912109...
[ 563, 4904, 248, 17777, 15190, 12830, 47, 10298, 53, 32036, 5386, 6, 111, 1179, 1238, 3742, 69253, 7612, 853, 62539, 7614, 7092, 29117, 70, 25632, 18151, 140992, 9902, 130250, 28875, 114453, 31577, 238, 5117, 63262, 4734, 37202, 58837, 13604...
[ 0.1170654296875, 0.1729736328125, 0.03289794921875, 0.14111328125, 0.1513671875, 0.162353515625, 0.0880126953125, 0.1552734375, 0.0948486328125, 0.1671142578125, 0.00860595703125, 0.0161590576171875, 0.03790283203125, 0.10107421875, 0.0670166015625, 0.0902099609375, 0.10107421875, ...
embed
42306649_c0
42306649
fsharp
0
Title: How can I reference in paket.references a file from a git repository? Problem title: How can I reference in paket.references a file from a git repository? Tags: paket, f%23 Problem: How can I reference in paket.references a file from a git repository? I have a TFS git repository in my paket.dependencies file: gi...
How can I reference in paket.references a file from a git repository? How can I reference in paket.references a file from a git repository? paket f%23 a How paket.references How can I reference in paket.references a file from a git repository? I have a TFS git repository in my paket.dependencies file: git http://mytfs1...
[ -0.00176239013671875, 0.03173828125, 0.005859375, 0.01007080078125, -0.0013275146484375, -0.0150146484375, -0.00072479248046875, -0.0029754638671875, 0.00063323974609375, -0.021240234375, 0.0091552734375, -0.0135498046875, -0.0079345703125, 0.0341796875, -0.00543212890625, -0.007995605...
[ 11249, 831, 87, 91067, 23, 13360, 5, 239879, 7, 11435, 1295, 62270, 64722, 14, 31667, 1238, 3742, 384, 36381, 105254, 117538, 1176, 17447, 39642, 4836, 24301, 223353, 15769, 170623, 10770, 96303, 19437, 186490, 3642, 14192, 50867, 15190, 2803...
[ 0.077392578125, 0.07342529296875, 0.040863037109375, 0.256591796875, 0.0521240234375, 0.2467041015625, 0.011749267578125, 0.2486572265625, 0.034515380859375, 0.1783447265625, 0.1427001953125, 0.2366943359375, 0.1234130859375, 0.030548095703125, 0.09423828125, 0.040283203125, 0.091186...
embed
50318608_c0
50318608
fsharp
0
Title: F# Fake error Build Problem title: F# Fake error Build Tags: f%23, visual-studio-code Problem: F# Fake error Build I'm new to F# with VSCode. I've installed FAKE and when I want to build my first program I have this build failer message : Fake.TargetHelper.runSingleTarget(TargetTemplate`1 target) dans D:\code\fa...
F# Fake error Build F# Fake error Build f%23 visual-studio-code Fake Build Fake.TargetHelper.runSingleTarget TargetTemplate FakeLib TargetHelper.fs:ligne F# Fake error Build I'm new to F# with VSCode. I've installed FAKE and when I want to build my first program I have this build failer message : I have no directory D:...
[ -0.0032196044921875, 0.0179443359375, 0.0024871826171875, 0.005462646484375, 0.0198974609375, 0.01470947265625, -0.00152587890625, -0.0152587890625, -0.0164794921875, -0.00408935546875, 0.005889892578125, 0.0098876953125, 0.000385284423828125, 0.02294921875, 0.023193359375, -0.00512695...
[ 563, 4904, 3036, 350, 18499, 121137, 1238, 3742, 21176, 52629, 40899, 63031, 3794, 60785, 1264, 16428, 213039, 160017, 159065, 104820, 17447, 1746, 3525, 47, 678, 44160, 114211, 20600, 119960, 3444, 45367, 759, 5117, 1528, 903, 35782, 56, 260...
[ 0.1680908203125, 0.2340087890625, 0.211669921875, 0.1080322265625, 0.192626953125, 0.2110595703125, 0.08740234375, 0.1390380859375, 0.1295166015625, 0.137939453125, 0.27197265625, 0.119873046875, 0.07171630859375, 0.147216796875, 0.1390380859375, 0.042694091796875, 0.092041015625, ...
embed
70500857_c0
70500857
fsharp
0
Title: could this be a F# 6 indexer bug? Problem title: could this be a F# 6 indexer bug? Tags: f%23 Problem: could this be a F# 6 indexer bug? let's consider this code: type T = { a: int } let d = [ "a", [{a = 0}; {a = 1}; {a = 2}] "b", [{a = 3}; {a = 4}; {a = 5}] ] |> Map If I want to access the data with a = 0: d.["...
could this be a F# 6 indexer bug? could this be a F# 6 indexer bug? f%23 Map could this be a F# 6 indexer bug? let's consider this code: If I want to access the data with a = 0: but if I wrap the expression in parenthesis: Is this expected, or could it be a F#6 parsing bug?
[ 0.00714111328125, -0.004974365234375, 0.0115966796875, -0.002655029296875, 0.00531005859375, -0.0191650390625, -0.007568359375, -0.0084228515625, 0.00555419921875, -0.004241943359375, 0.00170135498046875, 0.039306640625, 0.00162506103515625, 0.00133514404296875, 0.029296875, -0.0150756...
[ 5809, 903, 186, 10, 563, 4904, 305, 63262, 56, 54608, 1238, 3949, 3742, 42719, 16916, 18151, 3444, 17203, 2053, 678, 2203, 757, 1284, 2174, 87, 137565, 70, 125195, 23, 49129, 160291, 84751, 910, 366, 6953 ]
[ 0.1280517578125, 0.0999755859375, 0.088134765625, 0.1356201171875, 0.11474609375, 0.1746826171875, 0.212890625, 0.194091796875, 0.1416015625, 0.212646484375, 0.08892822265625, 0.058502197265625, 0.181396484375, 0.1595458984375, 0.046234130859375, 0.10687255859375, 0.048736572265625, ...
embed
43643168_c1
43643168
fsharp
1
(string A + " / " + string B + " = " + string C) Console.WriteLine(D) sumHistory.Add(D) |"4" -> Console.WriteLine("Please enter 2 integers: ") let a= Console.ReadLine() let b= Console.ReadLine() let A: int = int32 a let B: int = int32 b let C = (mul A B) let D = (string A + " * " + string B + " = " + string C) Console...
(string A + " / " + string B + " = " + string C) Console.WriteLine(D) sumHistory.Add(D) |"4" -> Console.WriteLine("Please enter 2 integers: ") let a= Console.ReadLine() let b= Console.ReadLine() let A: int = int32 a let B: int = int32 b let C = (mul A B) let D = (string A + " * " + string B + " = " + string C) Console...
[ -0.013916015625, 0.00189208984375, 0.02099609375, 0.044921875, 0.009765625, -0.001251220703125, 0.0057373046875, -0.0030059814453125, 0.0255126953125, -0.01519775390625, -0.00176239013671875, 0.0167236328125, -0.00830078125, 0.01556396484375, 0.00946044921875, -0.004302978515625, 0.0...
[ 15, 91693, 62, 997, 44, 248, 79315, 335, 313, 16, 1657, 40777, 1456, 18781, 93232, 397, 10554, 20861, 86385, 284, 4028, 617, 33079, 238159, 30957, 116, 892, 26255, 2633, 10, 31345, 876, 23, 18, 6460, 15458, 391, 661, 758, 6, 503, 864,...
[ 0.04364013671875, 0.1923828125, 0.052490234375, 0.18212890625, 0.034576416015625, 0.2073974609375, 0.188720703125, 0.10015869140625, 0.0958251953125, 0.02337646484375, 0.04425048828125, 0.1883544921875, 0.043853759765625, 0.092041015625, 0.1856689453125, 0.1265869140625, 0.2227783203...
embed
4107336_c0
4107336
fsharp
0
Title: Does F# iterate through tuples from back to front? Problem title: Does F# iterate through tuples from back to front? Tags: tuples, f%23 Problem: Does F# iterate through tuples from back to front? I've created a little tuple of langauges and when using it in the interactive window they are listed in reverse. Is t...
Does F# iterate through tuples from back to front? Does F# iterate through tuples from back to front? tuples f%23 back Does English Spanish Italian Does F# iterate through tuples from back to front? I've created a little tuple of langauges and when using it in the interactive window they are listed in reverse. Is this ...
[ 0.031982421875, 0.0220947265625, 0.00634765625, 0.0228271484375, -0.01470947265625, 0.0140380859375, 0.0123291015625, -0.004608154296875, 0.003204345703125, 0.0069580078125, 0.002288818359375, 0.000926971435546875, 0.0205078125, 0.000659942626953125, 0.000152587890625, -0.0041809082031...
[ 101790, 563, 4904, 8560, 67, 8305, 370, 99726, 1295, 4420, 47, 12912, 17, 1238, 3949, 3742, 14941, 195374, 89176, 75935, 10176, 8705, 1937, 19670, 90, 17368, 212398, 76896, 621, 145870, 23, 39531, 184, 903, 3638, 44546, 10023, 42 ]
[ 0.042327880859375, 0.164794921875, 0.23974609375, 0.1790771484375, 0.0589599609375, 0.1055908203125, 0.1097412109375, 0.2064208984375, 0.05975341796875, 0.140869140625, 0.097412109375, 0.13671875, 0.009490966796875, 0.107421875, 0.0261993408203125, 0.0831298828125, 0.137939453125, ...
embed
11709665_c0
11709665
fsharp
0
Title: value restriction case in F# Problem title: value restriction case in F# Tags: f%23 Problem: value restriction case in F# I am puzzled as to why the 3rd function would not work : let generate1 = id let generate2 = let a = 1 id let generate3 = printfn "hi" id while the first 2 are fine, the last one spits out err...
value restriction case in F# value restriction case in F# f%23 generate1 generate2 generate3 FS0030 Value Either value restriction case in F# I am puzzled as to why the 3rd function would not work : while the first 2 are fine, the last one spits out
[ -0.017333984375, -0.00897216796875, 0.005462646484375, -0.01019287109375, 0.030517578125, -0.002532958984375, -0.0016021728515625, -0.01202392578125, 0.0021514892578125, -0.017822265625, -0.0137939453125, 0.024169921875, 0.00160980224609375, -0.010009765625, 0.0245361328125, -0.0093383...
[ 34292, 185190, 7225, 563, 4904, 1238, 3742, 139392, 304, 363, 93774, 1197, 190060, 9319, 104192, 15400, 138, 4216, 32354, 2806, 959, 4488, 70, 5885, 4568, 16195, 933, 1810 ]
[ 0.169189453125, 0.2095947265625, 0.156982421875, 0.1021728515625, 0.1890869140625, 0.05926513671875, 0.1204833984375, 0.15966796875, 0.035369873046875, 0.1583251953125, 0.07489013671875, 0.0953369140625, 0.13330078125, 0.1226806640625, 0.049560546875, 0.02685546875, 0.1732177734375, ...
embed
32333416_c0
32333416
fsharp
0
Title: FSharp Parameterless Function Caching, does it always cache? Problem title: FSharp Parameterless Function Caching, does it always cache? Tags: caching, f%23 Problem: FSharp Parameterless Function Caching, does it always cache? According to http://en.wikibooks.org/wiki/F_Sharp_Programming/Caching F# automatically...
FSharp Parameterless Function Caching, does it always cache? FSharp Parameterless Function Caching, does it always cache? caching f%23 FSharp Parameterless Caching System.Random Next FSharp Parameterless Function Caching, does it always cache? According to http://en.wikibooks.org/wiki/F_Sharp_Programming/Caching So why...
[ 0.01007080078125, 0.0185546875, 0.016357421875, -0.0146484375, 0.009521484375, 0.020263671875, 0.0113525390625, -0.019775390625, -0.024658203125, -0.01422119140625, -0.01263427734375, 0.0291748046875, -0.0184326171875, -0.000576019287109375, 0.0390625, -0.006622314453125, 0.008666992...
[ 93774, 3467, 254, 1720, 29089, 9393, 28670, 2041, 59207, 11343, 82365, 10763, 14602, 442, 377, 1238, 3949, 3742, 12353, 126525, 3815, 4997, 919, 40798, 10681, 172895, 20370, 15400, 4488, 96759, 25072, 18, 41206, 140992, 142424, 30646, 5701, 2...
[ 0.05078125, 0.1531982421875, 0.150390625, 0.0604248046875, 0.087158203125, 0.1636962890625, 0.111083984375, 0.140625, 0.1319580078125, 0.1485595703125, 0.2509765625, 0.0202178955078125, 0.05047607421875, 0.0167999267578125, 0.130859375, 0.076416015625, 0.0284881591796875, 0.0939331...
embed
76350560_c0
76350560
fsharp
0
Title: foreach function instead of for loop Problem title: foreach function instead of for loop Tags: f%23 Problem: foreach function instead of for loop I have the following code : for elt in result.data do display_record elt I factored out this pattern into: let foreach proc seq = for elt in seq do proc elt so that I ...
foreach function instead of for loop foreach function instead of for loop f%23 result.data display_record foreach function instead of for loop I have the following code : I factored out this pattern into: so that I can instead say: Questions Is there already a function that does this? Would the above approach be consid...
[ 0.00927734375, 0.00098419189453125, 0.0120849609375, -0.0014801025390625, 0.01483154296875, 0.003936767578125, 0.003997802734375, 0.016357421875, 0.0034027099609375, -0.06298828125, 0.013916015625, 0.023193359375, -0.0308837890625, 0.005645751953125, 0.01055908203125, -0.00111389160156...
[ 100, 41581, 32354, 64457, 111, 40956, 1238, 3949, 3742, 16750, 10135, 44116, 32271, 765, 25632, 18151, 31461, 1810, 903, 103510, 3934, 831, 5154, 68185, 2685, 21771, 450, 14602, 70, 36917, 51515, 90698, 49666, 9523, 563, 4904, 1884, 1286, 3...
[ 0.1531982421875, 0.244140625, 0.212890625, 0.180908203125, 0.060882568359375, 0.2135009765625, 0.070068359375, 0.01593017578125, 0.1353759765625, 0.158203125, 0.07452392578125, 0.130859375, 0.191650390625, 0.01287841796875, 0.0628662109375, 0.10302734375, 0.164794921875, 0.06958007...
embed
18095978_c0
18095978
fsharp
0
Title: How to return unit from an expressions in f# Problem title: How to return unit from an expressions in f# Tags: f%23, unit-type Problem: How to return unit from an expressions in f# How can i return unit from an expression in f#? For example: let readInt = let str = Console.ReadLine() let (succ, num) = Int32.TryP...
How to return unit from an expressions in f# How to return unit from an expressions in f# f%23 unit-type an How Console.ReadLine Int32.TryParse Some None Console.WriteLine How to return unit from an expressions in f# How can i return unit from an expression in f#? For example:
[ -0.00457763671875, -0.004486083984375, 0.01904296875, 0.004974365234375, -0.0003490447998046875, -0.00799560546875, 0.0230712890625, 0.00130462646484375, -0.00145721435546875, -0.003509521484375, -0.006988525390625, 0.006195068359375, -0.021728515625, 0.00640869140625, 0.0147705078125, ...
[ 11249, 47, 30646, 25072, 1295, 125195, 7, 23, 1238, 4904, 3949, 3742, 50986, 1657, 40777, 31345, 93232, 6460, 1294, 28636, 184, 438, 86, 142, 831, 17 ]
[ 0.1015625, 0.07666015625, 0.2203369140625, 0.260986328125, 0.148681640625, 0.2357177734375, 0.0672607421875, 0.0721435546875, 0.138916015625, 0.1971435546875, 0.018585205078125, 0.1507568359375, 0.1126708984375, 0.00836181640625, 0.10748291015625, 0.0870361328125, 0.07318115234375, ...
embed
11224352_c0
11224352
fsharp
0
Title: Passing large sequences as function parameters Problem title: Passing large sequences as function parameters Tags: pass-by-reference, f%23, pass-by-value Problem: Passing large sequences as function parameters This is a simple question really (but I couldn't seem to find the answer in the MSDN documents). If I p...
Passing large sequences as function parameters Passing large sequences as function parameters pass-by-reference f%23 pass-by-value Passing Passing large sequences as function parameters This is a simple question really (but I couldn't seem to find the answer in the MSDN documents). If I pass large sequences and objects...
[ 0.0179443359375, 0.021240234375, -0.017578125, 0.0034332275390625, 0.005218505859375, -0.0279541015625, -0.0216064453125, 0.000934600830078125, 0.01422119140625, -0.004608154296875, 0.01171875, 0.0028076171875, 0.0126953125, 0.025390625, 0.0091552734375, -0.0181884765625, -0.00032234...
[ 28872, 21334, 40, 26513, 5170, 237, 32354, 171859, 27875, 1272, 239879, 1238, 3949, 3742, 27494, 8781, 9655, 6183, 35166, 51671, 60525, 136, 36746, 563, 4904, 621, 11343, 71200, 390, 34292, 117934, 100677, 70, 29087, 166117, 91177, 2811, 1075...
[ 0.14599609375, 0.18798828125, 0.098388671875, 0.21142578125, 0.0914306640625, 0.102783203125, 0.1954345703125, 0.251708984375, 0.18115234375, 0.13427734375, 0.243896484375, 0.0894775390625, 0.03485107421875, 0.1356201171875, 0.1859130859375, 0.043792724609375, 0.01263427734375, 0.0...
embed
47979034_c0
47979034
fsharp
0
Title: What is `new object()` used for? Problem title: What is `new object()` used for? Tags: f%23, c%23, .net Problem: What is `new object()` used for? In F#, we can override System.Object methods when creating new object instances with object expressions . This can be very useful when one wants to quickly print with ...
What is `new object()` used for? What is `new object()` used for? f%23 c%23 .net What System.Object ToString x.ToString Console.WriteLine What is `new object()` used for? In F#, we can override System.Object methods when creating new object instances with object expressions . This can be very useful when one wants to q...
[ 0.00946044921875, -0.0098876953125, 0.012939453125, -0.006988525390625, -0.00262451171875, 0.004547119140625, 0.006439208984375, 0.020751953125, 0.0050048828125, 0.0037841796875, -0.00823974609375, -0.0291748046875, 0.0023345947265625, -0.006317138671875, 0, -0.0020904541015625, -0.0...
[ 4865, 83, 54936, 36746, 132, 11814, 100, 9473, 1135, 1238, 3742, 1179, 12353, 46471, 75161, 717, 71713, 214, 1022, 7763, 40777, 93232, 16, 360, 563, 4904, 4, 642, 831, 645, 416, 112, 150624, 3229, 105233, 3525, 110527, 678, 125195, 3293, ...
[ 0.0662841796875, 0.0654296875, 0.22021484375, 0.2763671875, 0.166015625, 0.1553955078125, 0.119873046875, 0.0151824951171875, 0.043701171875, 0.06683349609375, 0.041900634765625, 0.1297607421875, 0.110107421875, 0.1446533203125, 0.173095703125, 0.1422119140625, 0.1405029296875, 0.0...
embed
60914979_c0
60914979
fsharp
0
Title: Pairing collection elements in F# Problem title: Pairing collection elements in F# Tags: collections, f%23 Problem: Pairing collection elements in F# I am looking at the list of collection functions here: https://learn.microsoft.com/en-us/dotnet/fsharp/language-reference/fsharp-collection-types but I can't seem ...
Pairing collection elements in F# Pairing collection elements in F# collections f%23 Pairing List.iterPair Pairing collection elements in F# I am looking at the list of collection functions here: https://learn.microsoft.com/en-us/dotnet/fsharp/language-reference/fsharp-collection-types but I can't seem to find what I'm...
[ -0.006103515625, 0.0181884765625, -0.001251220703125, -0.00994873046875, -0.0174560546875, 0.0264892578125, -0.019287109375, -0.0164794921875, 0.01025390625, -0.01470947265625, 0.013916015625, 0.015625, 0.0030975341796875, -0.01708984375, -0.0008697509765625, -0.01092529296875, -0.00...
[ 37897, 2852, 42486, 80854, 23, 563, 4904, 1238, 3742, 32036, 16840, 8335, 481, 5303, 32354, 138410, 1179, 420, 89280, 254, 196651, 239879, 196352, 1830, 50986, 7413, 16487, 100, 765, 1884, 903, 7440, 2806, 27875, 163, 3917, 54, 88303, 73 ]
[ 0.213623046875, 0.122314453125, 0.2464599609375, 0.206298828125, 0.057861328125, 0.141845703125, 0.2213134765625, 0.08251953125, 0.06475830078125, 0.1475830078125, 0.1431884765625, 0.197021484375, 0.1614990234375, 0.1236572265625, 0.154296875, 0.001800537109375, 0.006256103515625, ...
embed
42995189_c0
42995189
fsharp
0
Title: Untupling a function Problem title: Untupling a function Tags: higher-order-functions, f%23 Problem: Untupling a function Suppose I want to run a fold using a function that expects a tuple, f (x, y). This can be done with List.fold (fun x y -> f (x, y)) x xs I kind of feel there ought to be a higher-order functi...
Untupling a function Untupling a function higher-order-functions f%23 Untupling List.fold Untupling a function Suppose I want to run a fold using a function that expects a tuple, f (x, y). This can be done with I kind of feel there ought to be a higher-order function that abstracts out that pattern, takes a function th...
[ 0.006683349609375, -0.017333984375, 0.01373291015625, -0.0021209716796875, -0.0029449462890625, 0.00738525390625, -0.000946044921875, -0.004913330078125, 0.01544189453125, -0.0220947265625, -0.0096435546875, 0.007720947265625, -0.019287109375, 0.006866455078125, -0.00140380859375, -0.0...
[ 992, 18, 2037, 2069, 10, 32354, 77546, 80596, 137175, 1238, 3949, 3742, 32036, 42822, 121691, 3444, 11675, 17368, 41206, 7, 370, 8705, 425, 113, 16940, 12319, 46526, 164789, 1810, 103510, 51776, 15504, 3934, 6626, 84797, 10750, 6044, 563, 4...
[ 0.1468505859375, 0.10748291015625, 0.2030029296875, 0.1363525390625, 0.0511474609375, 0.259765625, 0.1070556640625, 0.163330078125, 0.1629638671875, 0.1416015625, 0.013458251953125, 0.1046142578125, 0.1680908203125, 0.2406005859375, 0.01373291015625, 0.0794677734375, 0.1361083984375,...
embed
52237417_c0
52237417
fsharp
0
Title: F#, the value or constructor &#x27;List&#x27; is not defined Problem title: F#, the value or constructor &#x27;List&#x27; is not defined Tags: f%23-interactive, f%23 Problem: F#, the value or constructor 'List' is not defined I am copying this code out of a book on F#. The compiler is supposed to create a generi...
F#, the value or constructor &#x27;List&#x27; is not defined F#, the value or constructor &#x27;List&#x27; is not defined f%23-interactive f%23 List output.Add F#, the value or constructor 'List' is not defined I am copying this code out of a book on F#. The compiler is supposed to create a generic function. Instead, I...
[ 0, 0.00927734375, -0.0033416748046875, 0.0223388671875, 0.0047607421875, 0.00518798828125, -0.00836181640625, 0.005706787109375, 0.00093841552734375, -0.0172119140625, 0.01043701171875, -0.0125732421875, 0.0050048828125, -0.002471923828125, 0.00860595703125, 0.00775146484375, 0.00848...
[ 563, 4904, 70, 34292, 707, 64549, 748, 6, 3768, 154663, 83, 959, 61924, 71, 1238, 27495, 10433, 71232, 3742, 32036, 140992, 4028, 25, 43658, 18151, 111, 10, 12877, 9969, 34759, 134598, 28282, 189534, 32354, 175399, 18499, 36381, 7049, 9323,...
[ 0.1214599609375, 0.194091796875, 0.017852783203125, 0.217529296875, 0.117919921875, 0.193115234375, 0.146728515625, 0.009674072265625, 0.1080322265625, 0.2255859375, 0.0699462890625, 0.139404296875, 0.2269287109375, 0.08624267578125, 0.0545654296875, 0.0538330078125, 0.060546875, 0...
embed
2459262_c0
2459262
fsharp
0
Title: Some F# Features that I would like to see in C# Problem title: Some F# Features that I would like to see in C# Tags: f%23, c%23 Problem: Some F# Features that I would like to see in C# After messing about with F# there are some really nice features that I think I am going to miss when I HAVE to go back to C#, an...
Some F# Features that I would like to see in C# Some F# Features that I would like to see in C# f%23 c%23 Some Features Some F# Features that I would like to see in C# After messing about with F# there are some really nice features that I think I am going to miss when I HAVE to go back to C#, any clues on how I can wee...
[ 0.004669189453125, 0.0252685546875, 0.01214599609375, -0.015625, -0.00762939453125, -0.01214599609375, -0.007354736328125, 0.0172119140625, 0.024658203125, -0.0042724609375, 0.0155029296875, 0.00439453125, -0.0076904296875, 0.015380859375, 0.01275634765625, 0.002197265625, 0.00543212...
[ 31384, 563, 4904, 106594, 7, 87, 2806, 1884, 1957, 23, 313, 1238, 3742, 163, 38001, 1672, 678, 26267, 66139, 5351, 7730, 18025, 65298, 738, 4420, 47, 29786, 831, 642, 33, 35978, 5773, 25632, 11522, 7464, 171763, 123309, 9876, 22766, 67407...
[ 0.023468017578125, 0.150634765625, 0.271728515625, 0.184814453125, 0.03582763671875, 0.003143310546875, 0.0614013671875, 0.1158447265625, 0.113037109375, 0.07025146484375, 0.105224609375, 0.013092041015625, 0.06829833984375, 0.076416015625, 0.066650390625, 0.0215911865234375, 0.01055...
embed
2111863_c0
2111863
fsharp
0
Title: What&#x27;s the difference between IDelegateEvent and IEvent in F#? Problem title: What&#x27;s the difference between IDelegateEvent and IEvent in F#? Tags: f%23 Problem: What's the difference between IDelegateEvent and IEvent in F#? The docs say: F# gives special status to non-virtual instance member properties...
What&#x27;s the difference between IDelegateEvent and IEvent in F#? What&#x27;s the difference between IDelegateEvent and IEvent in F#? f%23 What IDelegateEvent IEvent What's the difference between IDelegateEvent and IEvent in F#? The docs say: F# gives special status to non-virtual instance member properties compatibl...
[ -0.001800537109375, 0.000850677490234375, -0.01068115234375, -0.004119873046875, -0.0220947265625, 0.00189208984375, 0.014404296875, 0.0081787109375, 0.0185546875, 0.0037841796875, 0.01177978515625, 0.018310546875, -0.00421142578125, 0.0284423828125, -0.006103515625, 0.0009727478027343...
[ 4865, 3768, 70, 60212, 17721, 11338, 1018, 42118, 192134, 136, 87, 23, 563, 4904, 1238, 3742, 7, 54, 4439, 5154, 76199, 5361, 10778, 351, 178323, 110527, 32786, 183871, 146731, 10644, 12663, 1916, 35707, 1651, 6, 17777, 23550, 10135, 47, ...
[ 0.047576904296875, 0.0712890625, 0.07373046875, 0.217529296875, 0.111083984375, 0.1505126953125, 0.20556640625, 0.2156982421875, 0.2822265625, 0.0880126953125, 0.1875, 0.050079345703125, 0.156494140625, 0.2265625, 0.0291595458984375, 0.025970458984375, 0.012451171875, 0.03344726562...
embed
13463910_c1
13463910
fsharp
1
xml version="1.0" encoding="utf-8"?> <configuration> <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <dependentAssembly> <assemblyIdentity name="FSharp.Core" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> <bindingRedirect oldVersion="4.0.0.0" newVersion="4.3.0.0" /> </dependentAssembly> </a...
xml version="1.0" encoding="utf-8"?> <configuration> <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <dependentAssembly> <assemblyIdentity name="FSharp.Core" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> <bindingRedirect oldVersion="4.0.0.0" newVersion="4.3.0.0" /> </dependentAssembly> </a...
[ -0.01953125, 0.0299072265625, -0.005279541015625, -0.01611328125, -0.005828857421875, 0.00823974609375, -0.006683349609375, -0.0152587890625, -0.0067138671875, 0.0026092529296875, -0.018310546875, -0.010986328125, -0.0023956298828125, 0.0113525390625, 0.0206298828125, -0.004638671875, ...
[ 131492, 11389, 102107, 22, 587, 6238, 1003, 420, 17376, 153837, 16428, 6032, 89845, 38526, 16882, 33770, 1779, 474, 19, 7560, 1510, 138410, 277, 162, 39, 334, 418, 181063, 37379, 36381, 3467, 254, 50886, 3835, 162429, 7763, 1098, 22422, 252...
[ 0.31640625, 0.143798828125, 0.1796875, 0.045654296875, 0.11865234375, 0.026031494140625, 0.060577392578125, 0.07049560546875, 0.2073974609375, 0.169189453125, 0.01104736328125, 0.050506591796875, 0.1517333984375, 0.041534423828125, 0.07257080078125, 0.11181640625, 0.0982666015625, ...
embed
1605643_c0
1605643
fsharp
0
Title: How do I unwrap an FSharpOption of unknown depth? Problem title: How do I unwrap an FSharpOption of unknown depth? Tags: f%23, .net Problem: How do I unwrap an FSharpOption of unknown depth? I have an object of type FSharpOption, but I don't know it's depth. It could be any of... FSharpOption<Int32> FSharpOption...
How do I unwrap an FSharpOption of unknown depth? How do I unwrap an FSharpOption of unknown depth? f%23 .net How FSharpOption Int32 How do I unwrap an FSharpOption of unknown depth? I have an object of type FSharpOption, but I don't know it's depth. It could be any of... Edit: Also note that it isn't necessarily an In...
[ 0.01116943359375, 0.01055908203125, 0.0054931640625, -0.0029754638671875, 0.017822265625, 0.0146484375, -0.00020313262939453125, -0.016845703125, -0.00537109375, -0.0021209716796875, 0.001708984375, -0.031005859375, 0.006561279296875, 0.0172119140625, 0.0302734375, 0.0031280517578125, ...
[ 11249, 54, 87, 51, 434, 13631, 93774, 3467, 254, 39029, 1363, 69723, 19, 168867, 111, 1238, 3949, 3742, 1179, 360, 18, 6460, 142, 36746, 10644, 2301, 3714, 5809, 186, 2499, 1379, 538, 2046, 99, 2069, 34292, 17368, 75034, 4904 ]
[ 0.0966796875, 0.04156494140625, 0.0230865478515625, 0.1627197265625, 0.1053466796875, 0.2437744140625, 0.1356201171875, 0.201904296875, 0.185791015625, 0.254638671875, 0.123779296875, 0.1737060546875, 0.05340576171875, 0.2255859375, 0.042816162109375, 0.0830078125, 0.012298583984375,...
embed
48874794_c1
48874794
fsharp
1
the loop too behave like the one below, while still allowing the user to break the loop. Is that possible? let rec loop observable n = async{ Gui.lbl.Text <- (sprintf "loops: %d" n) do! Async.Sleep(500) return! loop observable (n+1) Code signals: observables, How, FSharpx.Control.Observable, System.Windows.Forms, Gui,...
the loop too behave like the one below, while still allowing the user to break the loop. Is that possible? let rec loop observable n = async{ Gui.lbl.Text <- (sprintf "loops: %d" n) do! Async.Sleep(500) return! loop observable (n+1) Code signals: observables, How, FSharpx.Control.Observable, System.Windows.Forms, Gui,...
[ -0.003570556640625, 0.0322265625, 0.0050048828125, 0.00055694580078125, 0.0125732421875, -0.002777099609375, 0.0228271484375, 0.0029449462890625, 0.0157470703125, -0.058349609375, 0.0191650390625, -0.0247802734375, 0.00433349609375, 0.00445556640625, 0.039794921875, 0.007049560546875, ...
[ 70, 40956, 5792, 186, 68991, 1884, 1632, 35064, 12960, 7464, 190358, 38937, 47, 36356, 2071, 450, 7722, 2633, 21954, 22046, 2661, 653, 10, 12654, 238, 53513, 9030, 174379, 35662, 420, 28354, 71, 294, 133, 4517, 4283, 30646, 21748, 28864, ...
[ 0.010894775390625, 0.25439453125, 0.1514892578125, 0.0560302734375, 0.178466796875, 0.1279296875, 0.014068603515625, 0.115234375, 0.0211181640625, 0.07598876953125, 0.132080078125, 0.15478515625, 0.032989501953125, 0.2001953125, 0.0225830078125, 0.0208740234375, 0.1661376953125, 0....
embed
50391427_c0
50391427
fsharp
0
Title: F# ProvidedTypes file not found Problem title: F# ProvidedTypes file not found Tags: xamarin, f%23, android Problem: F# ProvidedTypes file not found I've just run into a very stubborn problem, whilst trying to create a Xamarin Android project in F#. After creating a new project and building the solution, I get t...
F# ProvidedTypes file not found F# ProvidedTypes file not found xamarin f%23 android ProvidedTypes F# ProvidedTypes file not found I've just run into a very stubborn problem, whilst trying to create a Xamarin Android project in F#. After creating a new project and building the solution, I get the following error, which...
[ 0.0032196044921875, 0.025146484375, -0.005828857421875, 0.01470947265625, -0.036865234375, -0.009765625, 0.00347900390625, -0.0152587890625, 0.00396728515625, -0.0062255859375, -0.00811767578125, -0.0247802734375, -0.00885009765625, -0.00136566162109375, 0.025634765625, -0.002304077148...
[ 563, 4904, 123089, 71, 196707, 7, 11435, 959, 14037, 2459, 44503, 1238, 3742, 54527, 136057, 57332, 2967, 31577, 28282, 8606, 3952, 13452, 105233, 33976, 29806, 25632, 18499, 831, 30022, 3293, 391, 23708, 53418, 23, 759, 87, 4488, 10932 ]
[ 0.154052734375, 0.2130126953125, 0.1932373046875, 0.121826171875, 0.2373046875, 0.0204010009765625, 0.189697265625, 0.06829833984375, 0.14990234375, 0.13330078125, 0.185546875, 0.070556640625, 0.114501953125, 0.12158203125, 0.04156494140625, 0.01239013671875, 0.038543701171875, 0.0...
embed
51475570_c0
51475570
fsharp
0
Title: F#: How to print a matrix? Problem title: F#: How to print a matrix? Tags: math.net, .net, f%23 Problem: F#: How to print a matrix? I'm using Math.Net and trying to create a matrix with a random Gaussian distribution. Then I trying to print the matrix but can't: Successive arguments should be separated by spaces...
F#: How to print a matrix? F#: How to print a matrix? math.net .net f%23 How DenseMatrix.random Normal ToString math.net F#: How to print a matrix? I'm using Math.Net and trying to create a matrix with a random Gaussian distribution. Then I trying to print the matrix but can't: What I'm doing wrong? Taking a look at ex...
[ 0.0107421875, 0.0120849609375, 0.014404296875, -0.00335693359375, 0.0133056640625, 0.01214599609375, -0.00171661376953125, -0.0157470703125, -0.0028839111328125, -0.0189208984375, 0.01214599609375, -0.003692626953125, -0.006439208984375, -0.0120849609375, -0.00689697265625, 0.002990722...
[ 563, 4904, 12, 11249, 47, 28412, 10, 50944, 425, 48909, 1179, 1238, 3742, 1575, 184, 4613, 87427, 46258, 39, 28723, 717, 71713, 214, 17368, 78804, 5, 24447, 31577, 28282, 678, 96759, 26336, 7, 39209, 113068, 1284, 831, 18, 20594, 44691, ...
[ 0.13232421875, 0.1719970703125, 0.032012939453125, 0.091796875, 0.08013916015625, 0.238525390625, 0.07568359375, 0.205810546875, 0.1654052734375, 0.08355712890625, 0.09832763671875, 0.072509765625, 0.03863525390625, 0.192138671875, 0.119140625, 0.0743408203125, 0.1370849609375, 0.0...
embed
67271258_c2
67271258
fsharp
2
) |] let mutable q = readints().[2] let a = readints() let b = readints() for t=1 to q do let arr = Array.zeroCreate 4001 let llrr = readints() let l1 = llrr.[0] let r1 = llrr.[1] let l2 = llrr.[2] let r2 = llrr.[3] for i = l1-1 to r1-1 do arr.[a.[i]] <- arr.[a.[i]] ^^^ Code signals: sys, stdin, Ocaml, stdin.readline, ...
) |] let mutable q = readints().[2] let a = readints() let b = readints() for t=1 to q do let arr = Array.zeroCreate 4001 let llrr = readints() let l1 = llrr.[0] let r1 = llrr.[1] let l2 = llrr.[2] let r2 = llrr.[3] for i = l1-1 to r1-1 do arr.[a.[i]] <- arr.[a.[i]] ^^^ Code signals: sys, stdin, Ocaml, stdin.readline, ...
[ -0.0186767578125, 0.01080322265625, 0.00750732421875, 0.00860595703125, -0.01092529296875, -0.0024871826171875, -0.016845703125, 0.009521484375, 0.00860595703125, 0.0096435546875, -0.0166015625, 0.051025390625, -0.007659912109375, -0.009033203125, -0.004119873046875, -0.028076171875, ...
[ 1388, 58745, 2633, 842, 22819, 8096, 2203, 12301, 4288, 7, 44722, 10, 876, 100, 808, 33000, 47, 54, 187, 42, 69253, 53, 80510, 63784, 2182, 4082, 418, 1181, 29161, 96, 2389, 1690, 25432, 304, 6, 71540, 17, 115727, 14, 16377, 28864, 26...
[ 0.0160064697265625, 0.01263427734375, 0.1304931640625, 0.2098388671875, 0.25390625, 0.2088623046875, 0.076416015625, 0.1976318359375, 0.2344970703125, 0.07861328125, 0.1295166015625, 0.035125732421875, 0.100830078125, 0.030059814453125, 0.13720703125, 0.1580810546875, 0.13916015625, ...
embed
34802706_c0
34802706
fsharp
0
Title: Error running xunit test with unquote library and Visual Studio 2015 - Method not found Problem title: Error running xunit test with unquote library and Visual Studio 2015 - Method not found Tags: f%23, xunit, visual-studio, unit-testing Problem: Error running xunit test with unquote library and Visual Studio 20...
Error running xunit test with unquote library and Visual Studio 2015 - Method not found Error running xunit test with unquote library and Visual Studio 2015 - Method not found f%23 xunit visual-studio unit-testing Error Visual Studio Method Error running xunit test with unquote library and Visual Studio 2015 - Method n...
[ -0.0205078125, 0.02685546875, 0.005523681640625, -0.005279541015625, -0.0024566650390625, -0.006103515625, 0.004730224609375, 0.00653076171875, -0.00433349609375, 0.0186767578125, -0.0281982421875, -0.0128173828125, 0.00762939453125, 0.00518798828125, -0.004150390625, 0.01171875, 0.0...
[ 212059, 51042, 10438, 6773, 3034, 678, 51, 68726, 35773, 136, 73372, 22968, 918, 74644, 959, 14037, 1294, 1238, 3949, 3742, 21176, 52629, 25072, 6954, 903, 18499, 84293, 135261, 214, 78572, 63928, 294, 155280, 33, 14256, 178752, 159, 156823, ...
[ 0.1279296875, 0.1287841796875, 0.17724609375, 0.26025390625, 0.19140625, 0.0909423828125, 0.1473388671875, 0.2413330078125, 0.1260986328125, 0.0343017578125, 0.186279296875, 0.190673828125, 0.218017578125, 0.2205810546875, 0.08038330078125, 0.1285400390625, 0.0328369140625, 0.01518...
embed
72849712_c0
72849712
fsharp
0
Title: How do I initialise a map within a map in F# Problem title: How do I initialise a map within a map in F# Tags: f%23 Problem: How do I initialise a map within a map in F# I want a map of maps in F#, but I can't work out how to initialise it. Both Map.empty.Add("Foo": Map.empty.Add(1: "a").Add(2, "b")) and Map.emp...
How do I initialise a map within a map in F# How do I initialise a map within a map in F# f%23 How Map.empty.Add Foo Add Map How do I initialise a map within a map in F# I want a map of maps in F#, but I can't work out how to initialise it. Both and give me syntax errors, but the errors are just unexpected symbols (whi...
[ 0.0167236328125, 0.0023040771484375, 0.01055908203125, 0.003509521484375, -0.02392578125, -0.00927734375, 0.002349853515625, -0.013427734375, 0.0191650390625, -0.0107421875, 0.0128173828125, 0.01507568359375, 0.00201416015625, 0.057373046875, 0.0172119140625, -0.0135498046875, -0.014...
[ 11249, 54, 87, 61475, 3075, 10, 22288, 28032, 23, 563, 4904, 1238, 3742, 42719, 33548, 939, 284, 4028, 9572, 31, 29117, 3444, 111, 7, 831, 4488, 3642, 442, 149766, 163, 6002, 86531, 18499, 70, 241957, 26582, 4358, 1239, 98753, 49129, 35...
[ 0.09124755859375, 0.06024169921875, 0.07867431640625, 0.224609375, 0.173828125, 0.06085205078125, 0.2310791015625, 0.1968994140625, 0.068115234375, 0.1597900390625, 0.2261962890625, 0.07550048828125, 0.1143798828125, 0.220703125, 0.1527099609375, 0.1256103515625, 0.004791259765625, ...
embed
36954101_c0
36954101
fsharp
0
Title: Is there a standard implementation of F# defaultArg accepting lazy? Problem title: Is there a standard implementation of F# defaultArg accepting lazy? Tags: f%23 Problem: Is there a standard implementation of F# defaultArg accepting lazy? I need an implementation of defaultArg function with Lazy as second parame...
Is there a standard implementation of F# defaultArg accepting lazy? Is there a standard implementation of F# defaultArg accepting lazy? f%23 Lazy Some None p.Force Is there a standard implementation of F# defaultArg accepting lazy? I need an implementation of defaultArg function with Lazy as second parameter. Here is a...
[ 0.00592041015625, 0.0093994140625, 0.006622314453125, -0.009765625, -0.0014190673828125, -0.005889892578125, 0.000835418701171875, -0.0142822265625, -0.00958251953125, -0.00555419921875, 0.019287109375, 0.01129150390625, -0.0030364990234375, 0.01055908203125, 0.01495361328125, 0.005249...
[ 2071, 2685, 10, 5570, 208124, 563, 4904, 114977, 7614, 177, 26946, 21, 3285, 214, 1238, 3949, 3742, 239, 31384, 438, 915, 18537, 329, 3871, 32354, 237, 17932, 171859, 127689, 27781, 23468, 29479 ]
[ 0.004608154296875, 0.034088134765625, 0.0283966064453125, 0.2081298828125, 0.1944580078125, 0.1275634765625, 0.20263671875, 0.234619140625, 0.162841796875, 0.1700439453125, 0.137939453125, 0.15771484375, 0.2265625, 0.012298583984375, 0.072998046875, 0.032257080078125, 0.1334228515625...
embed
65435927_c2
65435927
fsharp
2
? (*) I need to set the series' .Values properties via an array, rather than via a sheet range. Code signals: ExcelError, Excel-DNA, Set, Excel, Chart, Series, Excel.Interop, Sub, Dim, Variant, ActiveWorkbook.Worksheets, Sheet1, ChartObjects, Array, CVErr, Works, SeriesCollection, XValues, Values, End, TEST, Microsoft....
? (*) I need to set the series' .Values properties via an array, rather than via a sheet range. Code signals: ExcelError, Excel-DNA, Set, Excel, Chart, Series, Excel.Interop, Sub, Dim, Variant, ActiveWorkbook.Worksheets, Sheet1, ChartObjects, Array, CVErr, Works, SeriesCollection, XValues, Values, End, TEST, Microsoft....
[ 0.025634765625, 0.002288818359375, -0.00145721435546875, -0.00051116943359375, -0.0185546875, -0.00909423828125, -0.00335693359375, -0.0074462890625, 0.0272216796875, 0.0732421875, -0.006683349609375, 0.0064697265625, -0.01141357421875, -0.0147705078125, 0.028564453125, 0.0166015625, ...
[ 705, 80019, 87, 3871, 47, 5423, 36549, 5, 42272, 21049, 183871, 1829, 10298, 53, 43257, 3501, 155434, 37457, 28864, 26073, 30326, 18468, 31611, 125903, 19943, 110373, 64876, 44851, 2146, 8273, 45247, 111477, 660, 88441, 108259, 14137, 7816, 7...
[ 0.00762939453125, 0.042816162109375, 0.001434326171875, 0.116943359375, 0.003570556640625, 0.23388671875, 0.267578125, 0.047943115234375, 0.2164306640625, 0.208984375, 0.234130859375, 0.1090087890625, 0.1707763671875, 0.1282958984375, 0.05975341796875, 0.0360107421875, 0.20166015625,...
embed
24670719_c0
24670719
fsharp
0
Title: Public Mutable Field in Object Problem title: Public Mutable Field in Object Tags: c%23-to-f%23, f%23 Problem: Public Mutable Field in Object Is it possible to create a simple public mutable field in F#? I'm creating a library that I will be accessing from a C# program and I need to be able to set a field from C...
Public Mutable Field in Object Public Mutable Field in Object c%23-to-f%23 f%23 Mutable Field Object Equivalent MyObj SomeMethod Usage obj.myVariable obj.SomeMethod Public Mutable Field in Object Is it possible to create a simple public mutable field in F#? I'm creating a library that I will be accessing from a C# prog...
[ 0.0223388671875, 0.0012969970703125, 0.0128173828125, 0.00122833251953125, 0.00958251953125, 0.005279541015625, 0.01141357421875, 0.00885009765625, 0.01165771484375, -0.008056640625, 0.0164794921875, 0.0042724609375, 0.01611328125, 0.01055908203125, 0.018310546875, -0.02978515625, -0...
[ 16934, 2758, 22819, 117657, 23, 134549, 167218, 27495, 188, 420, 3742, 1238, 145666, 85540, 2646, 46471, 170, 31384, 78572, 7352, 70166, 995, 1176, 81827, 2886, 2071, 442, 7722, 47, 28282, 10, 8781, 3835, 842, 44457, 563, 4904, 32, 105233, ...
[ 0.1939697265625, 0.1522216796875, 0.2032470703125, 0.2381591796875, 0.087646484375, 0.242919921875, 0.0078125, 0.1201171875, 0.1495361328125, 0.0775146484375, 0.09033203125, 0.05645751953125, 0.056427001953125, 0.05450439453125, 0.0833740234375, 0.12890625, 0.134033203125, 0.032958...
embed
7412923_c0
7412923
fsharp
0
Title: What is Scala&#x27;s counterpart of Discriminated Union in F#? Problem title: What is Scala&#x27;s counterpart of Discriminated Union in F#? Tags: scala, f%23 Problem: What is Scala's counterpart of Discriminated Union in F#? How would one go about transforming an Discriminated Union in F# to Scala: type Expr = ...
What is Scala&#x27;s counterpart of Discriminated Union in F#? What is Scala&#x27;s counterpart of Discriminated Union in F#? scala f%23 What Scala Discriminated Union Expr Val Integer Int32 Lower Greater What is Scala's counterpart of Discriminated Union in F#? How would one go about transforming an Discriminated Unio...
[ 0.006317138671875, -0.0009613037109375, 0.0096435546875, 0.004364013671875, -0.0146484375, -0.007171630859375, -0.005218505859375, -0.0011749267578125, 0.0147705078125, -0.0013275146484375, 0.0027923583984375, -0.002288818359375, 0.0169677734375, 0.000598907470703125, 0.00384521484375, ...
[ 4865, 152653, 11, 3768, 105416, 17365, 6206, 135421, 3674, 32528, 23, 563, 4904, 146232, 1238, 3742, 60075, 42, 4769, 44401, 6460, 61187, 32774, 27198, 214, 47, 62, 41072, 136, 7103 ]
[ 0.0190887451171875, 0.2392578125, 0.20263671875, 0.07342529296875, 0.1334228515625, 0.156494140625, 0.078369140625, 0.2269287109375, 0.066162109375, 0.20458984375, 0.04400634765625, 0.1220703125, 0.20947265625, 0.2257080078125, 0.081298828125, 0.06787109375, 0.0489501953125, 0.0587...
embed
75959494_c0
75959494
fsharp
0
Title: Looping through a 2d Array in F# Problem title: Looping through a 2d Array in F# Tags: functional-programming, f%23 Problem: Looping through a 2d Array in F# I want to loop through a 2D array in F#. The error I am getting is "The type 'obj' is not a type whose values can be enumerated with this syntax, i.e. is n...
Looping through a 2d Array in F# Looping through a 2d Array in F# functional-programming f%23 Looping Array Array2D.create Looping through a 2d Array in F# I want to loop through a 2D array in F#. The error I am getting is "The type 'obj' is not a type whose values can be enumerated with this syntax, i.e. is not compat...
[ 0.0177001953125, -0.001953125, -0.011962890625, 0.0057373046875, 0.0184326171875, 0.012451171875, -0.006134033203125, 0.0172119140625, -0.0008697509765625, -0.006195068359375, 0.03125, 0.00457763671875, 0.01129150390625, -0.012939453125, -0.00439453125, -0.01483154296875, -0.00643920...
[ 199694, 214, 8305, 116, 71, 69253, 53, 563, 4904, 123309, 28966, 1238, 3742, 304, 397, 7612, 40956, 10298, 18499, 10644, 3522, 170, 83, 959, 124901, 142424, 831, 189085, 678, 903, 6002, 86531, 146731, 40, 864, 4426, 977, 75536, 2606, 56, ...
[ 0.1822509765625, 0.03216552734375, 0.1380615234375, 0.11962890625, 0.1136474609375, 0.154296875, 0.10650634765625, 0.10308837890625, 0.16552734375, 0.1058349609375, 0.04931640625, 0.038299560546875, 0.0753173828125, 0.027587890625, 0.1102294921875, 0.032806396484375, 0.1876220703125,...
embed
29873646_c0
29873646
fsharp
0
Title: Why does Array2D not have a fold operation? Problem title: Why does Array2D not have a fold operation? Tags: f%23 Problem: Why does Array2D not have a fold operation? I just bumped into a case where it would be useful to have fold/foldi methods on an Array2D and I wondered, if there is a reason, why Array2D does...
Why does Array2D not have a fold operation? Why does Array2D not have a fold operation? f%23 Why Array2D Why does Array2D not have a fold operation? I just bumped into a case where it would be useful to have fold/foldi methods on an Array2D and I wondered, if there is a reason, why Array2D does not have them. As my arr...
[ -0.00787353515625, 0.00031280517578125, 0.003875732421875, -0.01336669921875, -0.01287841796875, 0.01190185546875, -0.004852294921875, 0.0150146484375, 0.00005698204040527344, 0.01300048828125, -0.00139617919921875, -0.021484375, -0.005157470703125, 0.00193023681640625, -0.023193359375, ...
[ 44084, 69253, 53, 304, 397, 959, 42822, 41018, 765, 10, 14602, 80234, 14, 150624, 31635, 15400, 2856, 10298, 71, 58696, 27198, 9384, 41207, 49814, 69307, 15490, 23996, 2053, 25813 ]
[ 0.075927734375, 0.1378173828125, 0.1163330078125, 0.142578125, 0.1441650390625, 0.0858154296875, 0.2196044921875, 0.1500244140625, 0.045166015625, 0.0224456787109375, 0.017669677734375, 0.04290771484375, 0.10516357421875, 0.1075439453125, 0.0290679931640625, 0.0242919921875, 0.020339...
embed
62310035_c0
62310035
fsharp
0
Title: how to compress a List in f#? Problem title: how to compress a List in f#? Tags: list, functional-programming, f%23 Problem: how to compress a List in f#? Hi I'm new to f# and I got this exercise I can't figure out: "Implement a Function :" let compress (l : List<'a>) : List<'a> = ... That removes consecutive oc...
how to compress a List in f#? how to compress a List in f#? list functional-programming f%23 List how to compress a List in f#? Hi I'm new to f# and I got this exercise I can't figure out: "Implement a Function :" let compress (l : List<'a>) : List<'a> = ... That removes consecutive occurences of the same element in l....
[ -0.01806640625, 0.0255126953125, 0.0238037109375, 0.016357421875, 0.006072998046875, -0.00469970703125, -0.004791259765625, 0.0152587890625, 0.005279541015625, 0.00970458984375, 0.0164794921875, 0.011962890625, 0.00634765625, 0.0196533203125, -0.01361083984375, -0.003997802734375, 0....
[ 3642, 47, 375, 11856, 10, 32036, 23, 1238, 4904, 32, 5303, 123309, 28966, 3742, 3525, 81979, 26366, 128878, 19929, 28670, 10763, 2633, 141, 11, 2203, 87388, 148390, 74918, 69098, 5701, 12830, 96, 46683, 38001, 107003, 4527, 88303, 73, 32354...
[ 0.0682373046875, 0.05340576171875, 0.1766357421875, 0.267578125, 0.066650390625, 0.2232666015625, 0.07666015625, 0.138427734375, 0.2010498046875, 0.04412841796875, 0.12451171875, 0.1109619140625, 0.053009033203125, 0.0794677734375, 0.0064697265625, 0.099365234375, 0.024261474609375, ...
embed
45710437_c0
45710437
fsharp
0
Title: Why can&#x27;t you add int and float literals in F#? Problem title: Why can&#x27;t you add int and float literals in F#? Tags: casting, f%23, literals Problem: Why can't you add int and float literals in F#? In F#, if you write 3 + 2.5 you get a syntax error. You have to write e.g. 3. + 2.5 to make it work, whic...
Why can&#x27;t you add int and float literals in F#? Why can&#x27;t you add int and float literals in F#? casting f%23 literals Why Why can't you add int and float literals in F#? In F#, if you write 3 + 2.5 you get a syntax error. You have to write e.g. 3. + 2.5 to make it work, which can get annoying in math-heavy do...
[ -0.009765625, 0.0033416748046875, 0.0026092529296875, -0.0054931640625, -0.01312255859375, -0.004180908203125, -0.00848388671875, -0.0140380859375, 0.003631591796875, 0.016845703125, 0.01171875, -0.009521484375, -0.009765625, 0.01220703125, 0.00872802734375, -0.02001953125, -0.011413...
[ 44084, 831, 3768, 18, 15190, 23, 136, 21917, 257, 15659, 16765, 563, 4904, 176050, 1238, 3742, 33022, 138, 997, 27804, 6002, 86531, 18499, 1031, 4488, 8668, 38543, 48909, 82463, 3033, 77758, 5941, 54744, 46876, 34831, 31635, 165164, 96760, ...
[ 0.059600830078125, 0.1182861328125, 0.039093017578125, 0.1842041015625, 0.1671142578125, 0.1416015625, 0.1009521484375, 0.2113037109375, 0.122314453125, 0.196044921875, 0.138916015625, 0.1494140625, 0.2216796875, 0.131591796875, 0.0736083984375, 0.052490234375, 0.08905029296875, 0....
embed
52880181_c0
52880181
fsharp
0
Title: Constrained types from a type provider (XmlProvider) Problem title: Constrained types from a type provider (XmlProvider) Tags: f%23, f%23-data Problem: Constrained types from a type provider (XmlProvider) I derive great value from XmlProvider as it gives me a ton of type definitions when I load an XML or XSD. Ho...
Constrained types from a type provider (XmlProvider) Constrained types from a type provider (XmlProvider) f%23 f%23-data a Constrained XmlProvider Constrained types from a type provider (XmlProvider) I derive great value from XmlProvider as it gives me a ton of type definitions when I load an XML or XSD. However, consi...
[ 0.023681640625, 0.016357421875, -0.00946044921875, 0.01611328125, -0.007049560546875, 0.0169677734375, -0.0035858154296875, -0.000274658203125, -0.00787353515625, -0.0234375, -0.00885009765625, 0.0069580078125, 0.01031494140625, 0.0126953125, -0.007293701171875, 0.00156402587890625, ...
[ 1657, 9297, 122009, 52895, 1295, 10644, 81450, 1542, 7237, 177997, 62160, 16, 3742, 1238, 27495, 10135, 1193, 122, 5844, 6782, 34292, 76199, 8721, 80934, 72367, 92537, 22916, 16916, 4171, 53673, 22120, 3934, 68772, 163, 158, 2053, 3611, 1543,...
[ 0.09375, 0.185302734375, 0.1204833984375, 0.2188720703125, 0.032867431640625, 0.189453125, 0.2041015625, 0.0714111328125, 0.169189453125, 0.18603515625, 0.17919921875, 0.0120849609375, 0.058685302734375, 0.005401611328125, 0.0750732421875, 0.11669921875, 0.0977783203125, 0.00418090...
embed
19240262_c0
19240262
fsharp
0
Title: Int Option instead of Int in F# Problem title: Int Option instead of Int in F# Tags: integer, option-type, f%23, f%23-interactive Problem: Int Option instead of Int in F# I am having trouble with the following: let safeDiv x y = match (x,y) with | (_, Some 0) -> None | (Some xx, Some yy) -> Some (xx/yy) | _ -> N...
Int Option instead of Int in F# Int Option instead of Int in F# integer option-type f%23 f%23-interactive Option Some None Int Option instead of Int in F# I am having trouble with the following: When I go to run this simple function in the interactive window of Visual Studio like so: I get the following error... Could ...
[ 0.0032806396484375, 0.0023956298828125, 0.0233154296875, -0.01397705078125, -0.01519775390625, -0.014892578125, 0.01251220703125, -0.0286865234375, -0.0021820068359375, 0.0230712890625, 0.000621795654296875, 0.01287841796875, -0.0019989013671875, 0.00872802734375, 0.0244140625, 0.00205...
[ 360, 18, 86769, 64457, 111, 23, 563, 4904, 892, 1505, 35829, 50986, 1238, 3742, 27495, 10433, 71232, 31384, 438, 86, 63134, 70, 11675, 8781, 32354, 212398, 76896, 73372, 22968, 25632, 18499, 191147, 131148, 4527, 46002, 192576, 99217, 40970, ...
[ 0.163818359375, 0.17333984375, 0.27783203125, 0.14501953125, 0.06219482421875, 0.0472412109375, 0.132080078125, 0.2208251953125, 0.114013671875, 0.051300048828125, 0.22021484375, 0.0645751953125, 0.05792236328125, 0.1300048828125, 0.0904541015625, 0.07421875, 0.1009521484375, 0.122...
embed
23919753_c0
23919753
fsharp
0
Title: Deploying to Windows Server 2003 Problem title: Deploying to Windows Server 2003 Tags: visual-studio, f%23, windows-server-2003, console-application Problem: Deploying to Windows Server 2003 Using visual studio 2013 on a windows 8 machine I created a F# console application. The app runs fine on the dev machine. ...
Deploying to Windows Server 2003 Deploying to Windows Server 2003 visual-studio f%23 windows-server-2003 console-application Deploying Windows Server win32 windows-server-2003 Deploying to Windows Server 2003 Using visual studio 2013 on a windows 8 machine I created a F# console application. The app runs fine on the de...
[ 0.01092529296875, 0.00186920166015625, -0.013916015625, -0.00051116943359375, -0.0035552978515625, 0.00787353515625, -0.0125732421875, -0.0093994140625, 0.01116943359375, 0.001617431640625, 0.030029296875, -0.021484375, 0.04541015625, 0.0181884765625, -0.006683349609375, 0.013488769531...
[ 262, 13158, 38543, 47, 3773, 22687, 6052, 21176, 52629, 1238, 3742, 54825, 39642, 34498, 130250, 101687, 6460, 12275, 1210, 382, 36279, 75935, 563, 4904, 38415, 4027, 127877, 5885, 33245, 45367, 8, 85779, 54452, 31255, 10723, 81887, 11675, 94...
[ 0.034942626953125, 0.15380859375, 0.0160675048828125, 0.06939697265625, 0.08123779296875, 0.156005859375, 0.2176513671875, 0.1583251953125, 0.170654296875, 0.0149993896484375, 0.0888671875, 0.069091796875, 0.106689453125, 0.1846923828125, 0.185302734375, 0.129638671875, 0.25610351562...
embed
26637985_c0
26637985
fsharp
0
Title: can&#x27;t find referenced component for F# library Problem title: can&#x27;t find referenced component for F# library Tags: visual-studio-2008, f%23, c%23, visual-studio, .net Problem: can't find referenced component for F# library I'm doing some work with a pretty old C#/F# library and the code is trying to im...
can&#x27;t find referenced component for F# library can&#x27;t find referenced component for F# library visual-studio-2008 f%23 c%23 visual-studio .net visual-studio-2008 can't find referenced component for F# library I'm doing some work with a pretty old C#/F# library and the code is trying to import Microsoft.FSharp....
[ -0.00921630859375, 0.0279541015625, 0.0001850128173828125, 0.0036468505859375, -0.006561279296875, 0.0023651123046875, -0.0126953125, -0.002960205078125, -0.01361083984375, -0.0130615234375, -0.016845703125, -0.01416015625, -0.002288818359375, 0.022216796875, 0.003387451171875, 0.00031...
[ 831, 3768, 18, 7413, 91067, 71, 82761, 100, 563, 4904, 35773, 1294, 21176, 52629, 105011, 1238, 1179, 919, 18151, 24927, 7244, 36381, 3467, 254, 199450, 196707, 129933, 4153, 93774, 105022, 205956, 1181, 15190, 14037, 151152, 78303, 30388, 17...
[ 0.0882568359375, 0.039459228515625, 0.083251953125, 0.1617431640625, 0.251953125, 0.133544921875, 0.2471923828125, 0.047210693359375, 0.1385498046875, 0.205810546875, 0.1646728515625, 0.08197021484375, 0.167724609375, 0.1597900390625, 0.178466796875, 0.0310211181640625, 0.06848144531...
embed
14544117_c0
14544117
fsharp
0
Title: performance of basic set theory (intersection, union, exclusion) over large sets of objects, which is faster linq in c# or f#? Problem title: performance of basic set theory (intersection, union, exclusion) over large sets of objects, which is faster linq in c# or f#? Tags: c%23-4.0, c%23-to-f%23, f%23 Problem: ...
performance of basic set theory (intersection, union, exclusion) over large sets of objects, which is faster linq in c# or f#? performance of basic set theory (intersection, union, exclusion) over large sets of objects, which is faster linq in c# or f#? c%23-4.0 c%23-to-f%23 f%23 performance of basic set theory (inters...
[ 0.0010986328125, 0.00518798828125, 0.0166015625, -0.00010967254638671875, -0.025146484375, -0.01373291015625, -0.013671875, 0.0052490234375, 0.007598876953125, -0.0152587890625, -0.003387451171875, 0.036376953125, 0.016845703125, -0.018310546875, 0.00592041015625, -0.00726318359375, ...
[ 23718, 62822, 5423, 154453, 10433, 7, 58994, 69941, 39041, 6889, 645, 21334, 36746, 4271, 56, 96, 44982, 501, 4904, 1238, 83, 23, 707, 167218, 27495, 151152, 188, 420, 3742, 69101, 6626, 42486, 77630, 170846, 118857, 35509, 136, 1940, 1810,...
[ 0.2022705078125, 0.1446533203125, 0.1871337890625, 0.1844482421875, 0.1268310546875, 0.1505126953125, 0.131103515625, 0.19873046875, 0.183837890625, 0.03070068359375, 0.074951171875, 0.0660400390625, 0.1500244140625, 0.16845703125, 0.1199951171875, 0.120849609375, 0.239013671875, 0...
embed
58395637_c0
58395637
fsharp
0
Title: FSC : error FS0193: The device is not ready Problem title: FSC : error FS0193: The device is not ready Tags: f%23 Problem: FSC : error FS0193: The device is not ready My project (net472) builds fine on my regular PC with . On another PC I get this Error. It points to line 1 on FSC . FSC is not a file in my proje...
FSC : error FS0193: The device is not ready FSC : error FS0193: The device is not ready f%23 FSC FS0193 FSC : error FS0193: The device is not ready My project (net472) builds fine on my regular PC with . On another PC I get this Error. It points to line 1 on FSC . FSC is not a file in my project. What might be the reas...
[ -0.0186767578125, 0.00927734375, -0.01007080078125, -0.001129150390625, -0.005279541015625, 0.007232666015625, -0.0034027099609375, -0.02587890625, -0.01055908203125, -0.01318359375, 0.00830078125, -0.0189208984375, -0.006927490234375, 0.017333984375, 0.01031494140625, 0.01190185546875...
[ 208155, 18499, 93774, 6746, 11591, 581, 75186, 83, 959, 43542, 1238, 3949, 3742, 13452, 1179, 170544, 45367, 5885, 98, 759, 20324, 6107, 678, 2161, 15700, 903, 212059, 26847, 47, 13315, 106, 6, 11435, 23, 13648, 31635, 73372, 109023, 2485, ...
[ 0.302734375, 0.2022705078125, 0.202880859375, 0.08636474609375, 0.275390625, 0.07855224609375, 0.24267578125, 0.1240234375, 0.18505859375, 0.2259521484375, 0.08404541015625, 0.0006103515625, 0.1077880859375, 0.1497802734375, 0.11572265625, 0.2452392578125, 0.14892578125, 0.09790039...
embed
68526751_c0
68526751
fsharp
0
Title: System.ServiceModel.Discovery Missing? Problem title: System.ServiceModel.Discovery Missing? Tags: .net, c%23, f%23, service-discovery, wcf Problem: System.ServiceModel.Discovery Missing? I need System.ServiceModel.Discovery, but it seems to be missing from all System.ServiceModel.XXX nuget packages. Do i need t...
System.ServiceModel.Discovery Missing? System.ServiceModel.Discovery Missing? .net c%23 f%23 service-discovery wcf System.ServiceModel.Discovery Missing System.ServiceModel.Discovery Missing? I need System.ServiceModel.Discovery, but it seems to be missing from all System.ServiceModel.XXX nuget packages. Do i need to r...
[ -0.01239013671875, 0.0244140625, 0.00537109375, -0.0008697509765625, -0.017578125, 0.0068359375, -0.00762939453125, -0.015869140625, -0.00543212890625, 0.024658203125, -0.0174560546875, 0.006011962890625, 0.006591796875, -0.00173187255859375, 0.01531982421875, 0.00677490234375, 0.014...
[ 12353, 121979, 140290, 44456, 63127, 53, 16771, 214, 5, 1179, 3742, 4516, 3827, 148, 67466, 3871, 442, 37202, 132283, 756, 115469, 315, 3794, 98169, 91067, 10332, 208124, 28127, 37808, 919, 156457, 103510, 10445, 254, 152378, 38496, 38043, 46...
[ 0.1727294921875, 0.1990966796875, 0.26416015625, 0.1207275390625, 0.2261962890625, 0.134521484375, 0.17529296875, 0.110595703125, 0.017974853515625, 0.1468505859375, 0.07000732421875, 0.148193359375, 0.053466796875, 0.07666015625, 0.1702880859375, 0.1229248046875, 0.0643310546875, ...
embed
36188946_c0
36188946
fsharp
0
Title: How can I create a Hello World app using F# and WPF without XAML? Problem title: How can I create a Hello World app using F# and WPF without XAML? Tags: f%23, wpf Problem: How can I create a Hello World app using F# and WPF without XAML? How can I create a Hello World app using F# and WPF without XAML? Specifica...
How can I create a Hello World app using F# and WPF without XAML? How can I create a Hello World app using F# and WPF without XAML? f%23 wpf F# How Hello World WPF XAML How can I create a Hello World app using F# and WPF without XAML? How can I create a Hello World app using F# and WPF without XAML? Specifically, what ...
[ 0.00061798095703125, 0.01806640625, -0.0036773681640625, 0.0264892578125, -0.01513671875, 0.0021514892578125, 0.0262451171875, -0.03466796875, -0.004608154296875, 0.0089111328125, 0.01336669921875, -0.038330078125, -0.013916015625, 0.005340576171875, 0.0172119140625, 0.00299072265625, ...
[ 11249, 831, 28282, 35378, 6661, 4027, 17368, 563, 4904, 136, 601, 41265, 15490, 65415, 39456, 87, 1238, 3742, 148, 39557, 10, 98441, 163846, 102158, 3871, 83184, 38415, 157666, 25632, 18499, 493, 47314, 13452, 5423, 237, 70, 73882, 9077, 56...
[ 0.04248046875, 0.06329345703125, 0.1690673828125, 0.21240234375, 0.2119140625, 0.2127685546875, 0.05499267578125, 0.1295166015625, 0.2049560546875, 0.0716552734375, 0.11767578125, 0.2423095703125, 0.1435546875, 0.150634765625, 0.2021484375, 0.006011962890625, 0.03985595703125, 0.10...
embed
43868941_c0
43868941
fsharp
0
Title: F Sharp convert list of tuples into list of mapped tuples Problem title: F Sharp convert list of tuples into list of mapped tuples Tags: f%23, functional-programming Problem: F Sharp convert list of tuples into list of mapped tuples Declare a function that converts a list of pairs to a Relation. type Relation<'a...
F Sharp convert list of tuples into list of mapped tuples F Sharp convert list of tuples into list of mapped tuples f%23 functional-programming Sharp Relation Rel F Sharp convert list of tuples into list of mapped tuples Declare a function that converts a list of pairs to a Relation. Basically, turn this: into this: in...
[ -0.007171630859375, 0.00872802734375, 0.0181884765625, 0.0057373046875, -0.0047607421875, 0.003997802734375, -0.017822265625, -0.0027313232421875, 0.0159912109375, -0.009765625, 0.00147247314453125, 0.019775390625, -0.007171630859375, 0.005859375, -0.0072021484375, -0.006378173828125, ...
[ 563, 197106, 96760, 5303, 370, 99726, 3934, 111, 291, 48398, 1238, 3949, 3742, 123309, 28966, 116822, 853, 141, 25755, 38103, 32354, 10, 80836, 47, 15504, 903, 12, 23, 3173, 25647, 18244, 48708, 18, 63769, 183278 ]
[ 0.1572265625, 0.254150390625, 0.175048828125, 0.1788330078125, 0.1534423828125, 0.23095703125, 0.109619140625, 0.0396728515625, 0.1617431640625, 0.1383056640625, 0.077392578125, 0.0189361572265625, 0.1146240234375, 0.132080078125, 0.1195068359375, 0.2489013671875, 0.0212554931640625,...
embed
36936208_c1
36936208
fsharp
1
[1..1000000] |> List.iter(fun msg -> actRef.Ask(JsonConvert.SerializeObject(ProcessData (MessageData))).Wait()) If I put a delay of 10ms before every Tell call then I get some error after processing 200 000 records. Wwhat exactly I am missing here? What is the dead letter exception and how to fix it? Code signals: Akk...
[1..1000000] |> List.iter(fun msg -> actRef.Ask(JsonConvert.SerializeObject(ProcessData (MessageData))).Wait()) If I put a delay of 10ms before every Tell call then I get some error after processing 200 000 records. Wwhat exactly I am missing here? What is the dead letter exception and how to fix it? Code signals: Akk...
[ 0.011474609375, 0.0272216796875, -0.0240478515625, -0.0162353515625, 0.01239013671875, -0.0078125, -0.00170135498046875, -0.002288818359375, 0.0031585693359375, -0.033935546875, 0.00125885009765625, 0.00909423828125, 0.033447265625, 0.007232666015625, 0.00787353515625, 0.0263671875, ...
[ 197094, 32036, 16840, 16498, 68163, 177, 27992, 190015, 284, 1042, 1375, 1681, 11549, 25435, 119066, 46471, 75161, 26531, 137989, 6011, 22489, 217, 3884, 8, 5259, 209, 4432, 8108, 11907, 59488, 11782, 18499, 7103, 9433, 1781, 2445, 115923, 66...
[ 0.1241455078125, 0.1422119140625, 0.1729736328125, 0.1630859375, 0.01708984375, 0.0531005859375, 0.10162353515625, 0.2374267578125, 0.005706787109375, 0.1016845703125, 0.043731689453125, 0.143798828125, 0.115478515625, 0.1180419921875, 0.048858642578125, 0.0306549072265625, 0.1142578...
embed
461739_c0
461739
fsharp
0
Title: F# - Should I learn with or without #light? Problem title: F# - Should I learn with or without #light? Tags: f%23 Problem: F# - Should I learn with or without #light? I'm in the process of learning F# and am enjoying it so far. Almost all of the examples online use the lightweight syntax (#light); however, also ...
F# - Should I learn with or without #light? F# - Should I learn with or without #light? f%23 Should F# - Should I learn with or without #light? I'm in the process of learning F# and am enjoying it so far. Almost all of the examples online use the lightweight syntax (#light); however, also give a comment about it being ...
[ -0.006683349609375, 0.00006723403930664062, 0.016845703125, -0.00154876708984375, -0.020263671875, 0.007110595703125, -0.00244140625, 0.0123291015625, 0.0072021484375, -0.006103515625, 0.01422119140625, -0.010009765625, -0.00171661376953125, 0.01251220703125, 0.01416015625, -0.00230407...
[ 563, 4904, 151117, 30698, 678, 707, 15490, 468, 20016, 1238, 3742, 52080, 25225, 2060, 27781, 1118, 4527, 22729, 165598, 6002, 86531, 6868, 98, 11522, 17368, 225081, 238335, 58136, 64, 69347, 86595, 59911, 56458, 46876, 1286 ]
[ 0.1383056640625, 0.2288818359375, 0.0830078125, 0.1239013671875, 0.083740234375, 0.0322265625, 0.0943603515625, 0.083740234375, 0.219970703125, 0.041900634765625, 0.043182373046875, 0.0655517578125, 0.0643310546875, 0.01177978515625, 0.111083984375, 0.0247802734375, 0.038055419921875...
embed
23619363_c0
23619363
fsharp
0
Title: Test if a value is a specific instance of a discriminated union Problem title: Test if a value is a specific instance of a discriminated union Tags: f%23 Problem: Test if a value is a specific instance of a discriminated union If I have a discriminated union type Result<'T,'U> = | Success of 'T | Failure of 'U T...
Test if a value is a specific instance of a discriminated union Test if a value is a specific instance of a discriminated union f%23 Test Result Success Failure Test if a value is a specific instance of a discriminated union If I have a discriminated union Then I can create a pattern matching function to test for succe...
[ -0.0238037109375, 0.0000705718994140625, 0.032958984375, 0.0076904296875, -0.0086669921875, -0.015625, -0.0103759765625, -0.00604248046875, 0.029296875, 0.006927490234375, -0.0006256103515625, 0.0111083984375, -0.0036468505859375, -0.006927490234375, -0.00081634521484375, 0.00189208984...
[ 8647, 2174, 34292, 83, 29458, 110527, 55970, 3674, 69941, 10, 1238, 3949, 3742, 126684, 144053, 190355, 111, 87, 765, 831, 28282, 103510, 14858, 214, 32354, 3034, 100, 36272, 4171, 903, 237, 1632, 79852, 1884, 4568, 13315, 9969, 1340, 5351,...
[ 0.2177734375, 0.1141357421875, 0.20849609375, 0.09393310546875, 0.1883544921875, 0.1990966796875, 0.2252197265625, 0.125, 0.21630859375, 0.03704833984375, 0.0186920166015625, 0.0526123046875, 0.1094970703125, 0.0882568359375, 0.1661376953125, 0.1229248046875, 0.0068359375, 0.003051...
embed
29900624_c0
29900624
fsharp
0
Title: turning numeric matrix into an array Problem title: turning numeric matrix into an array Tags: f%23, r Problem: turning numeric matrix into an array I have the following prediction in F# as a numeric matrix: let predictresults = R.predict_lm(mymdl, mytest |> R.as_data_frame).AsNumericMatrix However, I need the p...
turning numeric matrix into an array turning numeric matrix into an array f%23 r R.predict_lm R.as_data_frame AsNumericMatrix Matrix.toSeq Seq.toArray NumericMatrix Matrix turning numeric matrix into an array I have the following prediction in F# as a numeric matrix: However, I need the predicted results (of several ye...
[ 0.01373291015625, -0.004486083984375, -0.00738525390625, 0.00015544891357421875, 0.0145263671875, -0.002716064453125, -0.0201416015625, 0.013671875, 0.0029754638671875, -0.0108642578125, -0.00347900390625, 0.013671875, -0.0213623046875, -0.00775146484375, -0.00396728515625, -0.00263977...
[ 174548, 54744, 238, 50944, 425, 3934, 142, 10298, 53, 1238, 3949, 3742, 1690, 627, 4692, 61669, 28122, 162, 10135, 160328, 1301, 18444, 282, 12259, 4613, 87427, 194234, 188, 4233, 864, 503, 7614, 7092, 93511, 1771, 25632, 92054, 1830, 563, ...
[ 0.150146484375, 0.18505859375, 0.114013671875, 0.2169189453125, 0.1087646484375, 0.1446533203125, 0.06671142578125, 0.221923828125, 0.152587890625, 0.0936279296875, 0.00994873046875, 0.07763671875, 0.051849365234375, 0.071533203125, 0.101806640625, 0.1778564453125, 0.07427978515625, ...
embed
76655465_c0
76655465
fsharp
0
Title: How to access success and error of a Promise&lt;string&gt;? Problem title: How to access success and error of a Promise&lt;string&gt;? Tags: fable-f%23, f%23 Problem: How to access success and error of a Promise ? I have an API that returns Promise<string> : let response: Fable.Core.JS.Promise<string> = ApiClien...
How to access success and error of a Promise&lt;string&gt;? How to access success and error of a Promise&lt;string&gt;? fable-f%23 f%23 How Promise Fable.Core.JS.Promise ApiClient.fetchGet google.com Promise.iter How to access success and error of a Promise ? I have an API that returns Promise<string> : I figured out h...
[ -0.011474609375, 0.0054931640625, 0.01043701171875, -0.0029449462890625, 0.00194549560546875, 0.006256103515625, 0.016357421875, -0.0057373046875, -0.005462646484375, 0.00433349609375, 0.0196533203125, -0.00933837890625, 0.00030517578125, -0.00787353515625, 0.012939453125, 0.0027770996...
[ 11249, 47, 17203, 36272, 136, 18499, 111, 10, 1250, 5453, 91693, 5386, 1071, 2661, 420, 3742, 563, 2886, 50886, 64977, 10752, 150, 29362, 26484, 277, 16840, 61687, 30646, 26366, 3642, 9433, 34292, 28032, 5809, 79315 ]
[ 0.103271484375, 0.095947265625, 0.2001953125, 0.2452392578125, 0.1895751953125, 0.291015625, 0.09356689453125, 0.0787353515625, 0.2138671875, 0.271728515625, 0.168701171875, 0.035858154296875, 0.1273193359375, 0.1376953125, 0.019134521484375, 0.0523681640625, 0.0875244140625, 0.182...
embed
11074710_c0
11074710
fsharp
0
Title: F# workflow builder for Rx Problem title: F# workflow builder for Rx Tags: system.reactive, using, f%23, computation-expression Problem: F# workflow builder for Rx There's a nice F# workflow builder for Rx here: http://blogs.msdn.com/b/dsyme/archive/2011/05/30/nice-f-syntax-for-rx-reactive-extensions.aspx I've b...
F# workflow builder for Rx F# workflow builder for Rx system.reactive using f%23 computation-expression f RxBuilder this.Using Observable.Using system.reactive F# workflow builder for Rx There's a nice F# workflow builder for Rx here: http://blogs.msdn.com/b/dsyme/archive/2011/05/30/nice-f-syntax-for-rx-reactive-extens...
[ -0.0283203125, 0.03076171875, 0.0023040771484375, -0.00836181640625, -0.01153564453125, 0.00567626953125, -0.01019287109375, 0.0260009765625, 0.00107574462890625, -0.06884765625, 0.017333984375, 0.012451171875, 0.0208740234375, -0.003265380859375, 0.0096435546875, 0.0126953125, -0.00...
[ 563, 4904, 4488, 118664, 45367, 56, 100, 627, 425, 5426, 107, 71232, 17368, 1238, 3949, 3742, 181135, 204629, 121137, 903, 1062, 6953, 87652, 2661, 26267, 282, 147488, 3466, 420, 12654, 86531, 2472, 67179, 3355, 128872, 31577, 345, 208124, ...
[ 0.1234130859375, 0.19189453125, 0.114501953125, 0.234619140625, 0.16796875, 0.1361083984375, 0.06463623046875, 0.101318359375, 0.201416015625, 0.0936279296875, 0.0673828125, 0.17333984375, 0.048919677734375, 0.131103515625, 0.06671142578125, 0.158447265625, 0.0927734375, 0.16821289...
embed
47862043_c0
47862043
fsharp
0
Title: F# source code in Visual Studio performance profiler? Problem title: F# source code in Visual Studio performance profiler? Tags: f%23 Problem: F# source code in Visual Studio performance profiler? I'm currently trying to use the Visual Studio 2017 Performance Profiler, but with some of my F# code I just see This...
F# source code in Visual Studio performance profiler? F# source code in Visual Studio performance profiler? f%23 Visual Studio F# source code in Visual Studio performance profiler? I'm currently trying to use the Visual Studio 2017 Performance Profiler, but with some of my F# code I just see This is because the profile...
[ -0.00457763671875, 0.026123046875, -0.00970458984375, -0.0125732421875, -0.0205078125, 0.014892578125, -0.004669189453125, -0.0040283203125, -0.0174560546875, -0.034423828125, 0.007415771484375, -0.00141143798828125, 0.0172119140625, 0.005401611328125, 0.024169921875, 0.00848388671875,...
[ 563, 4904, 31344, 18151, 23, 73372, 22968, 23718, 105609, 32, 1238, 3949, 3742, 505, 94030, 58848, 56, 1957, 165523, 72367, 26582, 93774, 3467, 254, 50886, 93, 1181, 136, 48073, 7026, 903, 91067, 21176, 2684, 195409, 71924, 124519 ]
[ 0.151123046875, 0.2132568359375, 0.1939697265625, 0.1981201171875, 0.05108642578125, 0.2066650390625, 0.2025146484375, 0.210693359375, 0.276611328125, 0.0069580078125, 0.1182861328125, 0.008636474609375, 0.1407470703125, 0.140625, 0.1978759765625, 0.22119140625, 0.1572265625, 0.064...
embed
3613093_c0
3613093
fsharp
0
Title: Access WPF (XAML) Element from F#? Problem title: Access WPF (XAML) Element from F#? Tags: .net, f%23, xaml Problem: Access WPF (XAML) Element from F#? Let's say I have this xaml code : <Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml...
Access WPF (XAML) Element from F#? Access WPF (XAML) Element from F#? .net f%23 xaml F# Access WPF XAML Element Window schemas.microsoft.com xmlns:x Canvas Rectangle Name Fill Red Height Width Access WPF (XAML) Element from F#? Let's say I have this xaml code : And I have a file named Program.fs (F# code), how can I ac...
[ 0.0052490234375, 0.004180908203125, 0.00689697265625, 0.006561279296875, 0.0026702880859375, 0.01544189453125, -0.000087738037109375, -0.01171875, -0.00811767578125, -0.0235595703125, 0.0223388671875, -0.0250244140625, 0.00506591796875, -0.0250244140625, 0.00164031982421875, -0.0027008...
[ 40266, 601, 41265, 65415, 39456, 48325, 1295, 563, 4904, 32, 1179, 1238, 3742, 2459, 7237, 176501, 61903, 138410, 131492, 1779, 425, 4171, 4079, 14525, 133, 15757, 140423, 6096, 1529, 22553, 58302, 18151, 11435, 7663, 5, 17447, 919, 3642, 8...
[ 0.207763671875, 0.121826171875, 0.277587890625, 0.1541748046875, 0.255615234375, 0.22119140625, 0.1236572265625, 0.148193359375, 0.2249755859375, 0.004730224609375, 0.14794921875, 0.06903076171875, 0.1561279296875, 0.1201171875, 0.2012939453125, 0.103759765625, 0.137451171875, 0.06...
embed
28519325_c1
28519325
fsharp
1
"; "Jun"; "Jul"; "Aug"; "Sep"; "Oct"; "Nov"; "Dec" ] //string list and I'm thinking of something along the lines of: mylist |> List.map (fun (_,values, _, _, _) -> average 0th index across all tuples, print Jan, then average 1st index across all tuples, print Feb, etc...) or mylist |> List.map (fun (_,values, _, _, _) ...
"; "Jun"; "Jul"; "Aug"; "Sep"; "Oct"; "Nov"; "Dec" ] //string list and I'm thinking of something along the lines of: mylist |> List.map (fun (_,values, _, _, _) -> average 0th index across all tuples, print Jan, then average 1st index across all tuples, print Feb, etc...) or mylist |> List.map (fun (_,values, _, _, _) ...
[ 0.001434326171875, -0.017822265625, 0.003143310546875, 0.0272216796875, -0.01904296875, -0.01239013671875, 0.02490234375, -0.0023651123046875, 0.02099609375, 0.0322265625, 0.00164031982421875, 0.01123046875, 0.0087890625, 0.00567626953125, -0.0106201171875, 0.0106201171875, 0.0026092...
[ 44, 74, 97866, 56128, 105214, 186432, 4233, 254, 158941, 62329, 120152, 4666, 91693, 5303, 47644, 111, 9844, 33233, 124519, 759, 6562, 32036, 5, 62346, 16498, 27494, 83080, 757, 927, 63262, 36880, 756, 370, 99726, 28412, 3342, 106, 271, 436...
[ 0.0142669677734375, 0.0635986328125, 0.225830078125, 0.052276611328125, 0.1712646484375, 0.1739501953125, 0.1043701171875, 0.07794189453125, 0.1849365234375, 0.1837158203125, 0.1851806640625, 0.0199432373046875, 0.2222900390625, 0.2467041015625, 0.1568603515625, 0.0281524658203125, 0...
embed
2980460_c0
2980460
fsharp
0
Title: How to apply Seq map function? Problem title: How to apply Seq map function? Tags: f%23, seq Problem: How to apply Seq map function? I been recently playing with F# . I was wondering instead of using a for loop to generate a sequence to element which are multiplied with every other element in the list how can I ...
How to apply Seq map function? How to apply Seq map function? f%23 seq How Seq How to apply Seq map function? I been recently playing with F# . I was wondering instead of using a for loop to generate a sequence to element which are multiplied with every other element in the list how can I use a Seq map function or some...
[ 0.0145263671875, 0.02001953125, 0.01409912109375, 0.0135498046875, -0.01611328125, -0.002685546875, -0.00738525390625, 0.0283203125, 0.0201416015625, -0.033203125, 0.004669189453125, 0.019775390625, -0.00872802734375, 0.034912109375, -0.005706787109375, -0.0037384033203125, -0.015869...
[ 11249, 47, 59911, 503, 864, 22288, 32354, 32, 1238, 3949, 3742, 40, 78684, 75169, 678, 563, 4904, 149016, 64457, 17368, 100, 40956, 139392, 944, 3956, 12830, 118126, 11907, 3789, 5303, 3642, 831, 4527, 21373, 9844, 1884, 35064, 765, 5, 96...
[ 0.127197265625, 0.088134765625, 0.2266845703125, 0.178466796875, 0.281494140625, 0.2442626953125, 0.2406005859375, 0.003387451171875, 0.08502197265625, 0.0738525390625, 0.1549072265625, 0.13232421875, 0.01287841796875, 0.0811767578125, 0.04705810546875, 0.07220458984375, 0.1455078125...
embed
64776066_c0
64776066
fsharp
0
Title: F# Get stack overflow while counting infinite sum of series Problem title: F# Get stack overflow while counting infinite sum of series Tags: f%23, stack-overflow Problem: F# Get stack overflow while counting infinite sum of series I made a program to count infinite sum of series but get an error: stack overflow....
F# Get stack overflow while counting infinite sum of series F# Get stack overflow while counting infinite sum of series f%23 stack-overflow Get sum_series a:float EntryPoint System.Double.TryParse F# Get stack overflow while counting infinite sum of series I made a program to count infinite sum of series but get an err...
[ -0.0016937255859375, 0.000640869140625, 0.0191650390625, 0.00494384765625, -0.00390625, -0.000782012939453125, 0.007537841796875, 0.00244140625, 0.0185546875, -0.0294189453125, -0.00099945068359375, 0.00823974609375, 0.01153564453125, -0.0089111328125, 0.043701171875, 0.0107421875, 0...
[ 563, 4904, 20779, 177261, 645, 118664, 12960, 54529, 214, 54241, 13, 10554, 36549, 111, 1238, 3742, 5465, 32832, 10, 52347, 257, 15123, 147534, 12353, 2661, 1294, 28636, 1528, 2046, 18499, 39527, 22936 ]
[ 0.07354736328125, 0.1529541015625, 0.0765380859375, 0.1793212890625, 0.123046875, 0.27392578125, 0.0791015625, 0.1468505859375, 0.0333251953125, 0.12890625, 0.0174102783203125, 0.167236328125, 0.1751708984375, 0.051849365234375, 0.0606689453125, 0.08489990234375, 0.1102294921875, 0...
embed
15081774_c0
15081774
fsharp
0
Title: Overloaded operators from other .NET languages Problem title: Overloaded operators from other .NET languages Tags: f%23 Problem: Overloaded operators from other .NET languages How does F# handle overloaded operators from other .NET languages. For example, I am using a library where != has been overloaded to retu...
Overloaded operators from other .NET languages Overloaded operators from other .NET languages f%23 other Overloaded NET Object Overloaded operators from other .NET languages How does F# handle overloaded operators from other .NET languages. For example, I am using a library where != has been overloaded to return a new ...
[ 0.016845703125, 0.014892578125, 0.01190185546875, 0.0096435546875, 0.00049591064453125, -0.004913330078125, 0.0015716552734375, 0.00946044921875, 0.00384521484375, 0.014892578125, -0.004608154296875, -0.004058837890625, 0.01153564453125, 0.01495361328125, -0.0091552734375, -0.007049560...
[ 9578, 63033, 297, 39933, 1295, 3789, 17777, 46876, 1238, 3949, 3742, 134549, 563, 4904, 34831, 645, 7, 5, 17368, 10, 35773, 711, 1369, 30646, 3525, 110527, 111, 70, 36746, 68034, 4527, 4426, 2740, 98, 5701, 34292, 10644, 142484, 176377, 3...
[ 0.124755859375, 0.20751953125, 0.07568359375, 0.2318115234375, 0.08795166015625, 0.1024169921875, 0.1715087890625, 0.1451416015625, 0.08990478515625, 0.0219573974609375, 0.125244140625, 0.1436767578125, 0.1151123046875, 0.183837890625, 0.1229248046875, 0.141845703125, 0.0464172363281...
embed
15916044_c0
15916044
fsharp
0
Title: Event.Trigger Event.Publish f# Problem title: Event.Trigger Event.Publish f# Tags: events, .net, f%23 Problem: Event.Trigger Event.Publish f# Reading code about the creation of new events in f# i've encountered the two calls event.Publish and event.Trigger, but i'm not quite sure about their meaning. Could you e...
Event.Trigger Event.Publish f# Event.Trigger Event.Publish f# events .net f%23 Event.Trigger Event.Publish Event.Trigger Event.Publish f# Reading code about the creation of new events in f# i've encountered the two calls event.Publish and event.Trigger, but i'm not quite sure about their meaning. Could you explain to m...
[ -0.0027008056640625, 0.03076171875, -0.0185546875, 0.0019378662109375, -0.00933837890625, -0.015869140625, 0.008544921875, 0.0015106201171875, 0.0038299560546875, -0.0164794921875, 0.009521484375, -0.002838134765625, -0.01031494140625, 0.02685546875, -0.00060272216796875, -0.0090332031...
[ 36943, 5, 74257, 21407, 143145, 15227, 1238, 4904, 47353, 1179, 3742, 18151, 166635, 3525, 190647, 6626, 11782, 19732, 136, 9077, 2363, 91084, 73342, 2367, 1836, 54, 177229, 23009, 67325, 114942, 150556, 237, 5117, 18507, 34292, 4699, 17368, ...
[ 0.2469482421875, 0.048309326171875, 0.2257080078125, 0.25439453125, 0.2064208984375, 0.2442626953125, 0.09564208984375, 0.1591796875, 0.189453125, 0.1126708984375, 0.043853759765625, 0.119384765625, 0.060028076171875, 0.047332763671875, 0.0662841796875, 0.1015625, 0.165283203125, 0...
embed
47056096_c0
47056096
fsharp
0
Title: Merge sort code in F# not sorting Problem title: Merge sort code in F# not sorting Tags: f%23 Problem: Merge sort code in F# not sorting Im trying to write a merge sort code. its printing though not sorting. What could I be doing wrong? let rec mergePm xs ys = match (xs, ys) with | [], _ -> ys | _,[] -> xs | x::...
Merge sort code in F# not sorting Merge sort code in F# not sorting f%23 Merge x::xs y::ys List.length n-1 n..sz-1 Merge sort code in F# not sorting Im trying to write a merge sort code. its printing though not sorting. What could I be doing wrong?
[ -0.00168609619140625, 0.0247802734375, 0.0255126953125, -0.0289306640625, -0.01190185546875, 0.0186767578125, -0.00946044921875, -0.0233154296875, 0.0038604736328125, 0.0419921875, 0.00616455078125, 0.00445556640625, 0.03173828125, -0.005340576171875, 0.003814697265625, -0.006927490234...
[ 6035, 429, 12096, 18151, 23, 563, 4904, 959, 214, 1238, 3949, 3742, 1022, 425, 7, 113, 4778, 32036, 23986, 5759, 1330, 31577, 33022, 42564, 6863, 2448, 1916, 21208, 5809, 44691 ]
[ 0.1849365234375, 0.1187744140625, 0.208251953125, 0.1849365234375, 0.0282745361328125, 0.1419677734375, 0.1982421875, 0.14794921875, 0.054901123046875, 0.0927734375, 0.0180816650390625, 0.1151123046875, 0.059600830078125, 0.04962158203125, 0.00335693359375, 0.062744140625, 0.08154296...
embed
5337995_c1
5337995
fsharp
1
} @> the above will generate the following SQL Query: SELECT [Extent2].[Name] AS [Name] FROM [dbo].[Cars] AS [Extent1] LEFT OUTER JOIN [dbo].[Dealers] AS [Extent2] ON [Extent1].[Dealer_ID] = [Extent2].[ID] WHERE N'Volvo' = [Extent1].[CarName] Now is my question, why do it take the Dealer defined in the Car type and tr...
} @> the above will generate the following SQL Query: SELECT [Extent2].[Name] AS [Name] FROM [dbo].[Cars] AS [Extent1] LEFT OUTER JOIN [dbo].[Dealers] AS [Extent2] ON [Extent1].[Dealer_ID] = [Extent2].[ID] WHERE N'Volvo' = [Extent1].[CarName] Now is my question, why do it take the Dealer defined in the Car type and tr...
[ 0.035400390625, 0.0037078857421875, 0.0123291015625, 0.01513671875, 0.0008544921875, 0.0157470703125, -0.012939453125, -0.007476806640625, 0.0172119140625, -0.0172119140625, -0.0233154296875, 0.0216064453125, -0.0234375, 0.00811767578125, -0.00958251953125, -0.00677490234375, 0.00402...
[ 1374, 36917, 1221, 139392, 25632, 80866, 58836, 53, 6755, 144832, 19279, 25352, 90173, 5, 163612, 6483, 61607, 837, 21851, 25217, 21253, 8852, 4657, 289, 1314, 29197, 11, 603, 7146, 73668, 965, 9655, 15400, 442, 5646, 90943, 56, 61924, 70, ...
[ 0.011444091796875, 0.07891845703125, 0.004730224609375, 0.138671875, 0.06524658203125, 0.234619140625, 0.1837158203125, 0.1197509765625, 0.08349609375, 0.2037353515625, 0.0215301513671875, 0.107666015625, 0.07550048828125, 0.045135498046875, 0.114990234375, 0.08294677734375, 0.102416...
embed
1984416_c0
1984416
fsharp
0
Title: Slice like functionality from a List in F# Problem title: Slice like functionality from a List in F# Tags: list, f%23, slice Problem: Slice like functionality from a List in F# With an array let foo = [|1;2;3;4|] I can use any of the following to return a slice from an array. foo.[..2] foo.[1..2] foo.[2..] How c...
Slice like functionality from a List in F# Slice like functionality from a List in F# list f%23 slice a Slice List foo2 FS00039 GetSlice Slice like functionality from a List in F# With an array let foo = [|1;2;3;4|] I can use any of the following to return a slice from an array. How can I do the same thing for List let...
[ -0.01513671875, 0.01513671875, 0.0157470703125, 0.01220703125, -0.01019287109375, -0.01434326171875, -0.006439208984375, 0.017578125, 0.0079345703125, -0.00408935546875, 0.0036773681640625, 0.0166015625, -0.0250244140625, -0.00109100341796875, -0.006805419921875, -0.00958251953125, 0...
[ 159, 13348, 1884, 123309, 1295, 32036, 563, 4904, 2481, 5303, 1238, 3742, 91, 5775, 31, 304, 93774, 9508, 9323, 20779, 294, 10298, 53, 2633, 2203, 363, 617, 4527, 25632, 30646, 10, 5701, 9790, 6002, 86531, 18499, 44457, 64549, 748, 32786,...
[ 0.0909423828125, 0.2462158203125, 0.23681640625, 0.1787109375, 0.1085205078125, 0.2298583984375, 0.121337890625, 0.201416015625, 0.005523681640625, 0.1795654296875, 0.03204345703125, 0.1148681640625, 0.095947265625, 0.1094970703125, 0.10302734375, 0.13525390625, 0.119384765625, 0.0...
embed
13039153_c1
13039153
fsharp
1
recognized as Range. Therefore, UsedRange should work. But it doesn't. I'm left with contradiction. Visual Studio 2010 Premium, F# 2.0. I appreciate any insight offered. Thanks. Code signals: Excel, UsedRange, Properties, Methods, Microsoft.Office.Interop.Excel, Microsoft.Office.Tools.Excel, ApplicationClass, xl.Workb...
recognized as Range. Therefore, UsedRange should work. But it doesn't. I'm left with contradiction. Visual Studio 2010 Premium, F# 2.0. I appreciate any insight offered. Thanks. Code signals: Excel, UsedRange, Properties, Methods, Microsoft.Office.Interop.Excel, Microsoft.Office.Tools.Excel, ApplicationClass, xl.Workb...
[ -0.002166748046875, 0.01080322265625, 0.01068115234375, 0.004730224609375, -0.01324462890625, 0.007080078125, 0.0011444091796875, -0.0206298828125, 0.01318359375, 0.034423828125, -0.017333984375, 0.0274658203125, 0.01202392578125, -0.016357421875, 0.01458740234375, -0.0162353515625, ...
[ 125296, 71, 237, 142462, 345, 5281, 1052, 51459, 5608, 4488, 4966, 442, 22027, 18, 25737, 2304, 428, 10763, 73372, 22968, 1532, 42038, 563, 4904, 16655, 149201, 28864, 26073, 30326, 234994, 74644, 7244, 94833, 44851, 2146, 184926, 186490, 104...
[ 0.175537109375, 0.03021240234375, 0.0794677734375, 0.31640625, 0.2147216796875, 0.205078125, 0.2088623046875, 0.263671875, 0.07708740234375, 0.1490478515625, 0.057647705078125, 0.0439453125, 0.14013671875, 0.1473388671875, 0.025848388671875, 0.09423828125, 0.0855712890625, 0.024490...
embed
52906629_c0
52906629
fsharp
0
Title: How to check in f# if the set is Empty? Problem title: How to check in f# if the set is Empty? Tags: is-empty, f%23 Problem: How to check in f# if the set is Empty? How can I check if the set is empty, I have implemented the following code if the set has an empty set then I should get the value true else false, ...
How to check in f# if the set is Empty? How to check in f# if the set is Empty? is-empty f%23 How Empty e::rest How to check in f# if the set is Empty? How can I check if the set is empty, I have implemented the following code if the set has an empty set then I should get the value true else false, for example: [1; 2; ...
[ -0.00396728515625, -0.005157470703125, 0.021728515625, 0.00909423828125, -0.0028839111328125, -0.014892578125, -0.004547119140625, -0.0150146484375, 0.01239013671875, 0.025390625, 0.04345703125, 0.02880859375, -0.0123291015625, -0.013427734375, 0.00946044921875, 0.0164794921875, 0.01...
[ 47, 12765, 23, 1238, 4904, 2174, 5423, 83, 31678, 939, 70, 33548, 3742, 28, 56644, 831, 87, 201505, 29479, 18151, 1556, 34292, 29568, 98320, 116, 138, 163, 18499 ]
[ 0.02227783203125, 0.1822509765625, 0.0716552734375, 0.1336669921875, 0.1915283203125, 0.0965576171875, 0.2357177734375, 0.08831787109375, 0.1846923828125, 0.1834716796875, 0.05084228515625, 0.1846923828125, 0.094482421875, 0.05499267578125, 0.1337890625, 0.00115966796875, 0.007324218...
embed
56709116_c0
56709116
fsharp
0
Title: What is the operator &quot;(&gt;=)&quot; called in this context? Problem title: What is the operator &quot;(&gt;=)&quot; called in this context? Tags: f%23 Problem: What is the operator "(>=)" called in this context? Now I understand that the first line of code can be shortened to the second one. This is the fir...
What is the operator &quot;(&gt;=)&quot; called in this context? What is the operator &quot;(&gt;=)&quot; called in this context? f%23 What Option.exists What is the operator "(>=)" called in this context? Now I understand that the first line of code can be shortened to the second one. This is the first time I'm runnin...
[ 0.0169677734375, -0.0125732421875, 0.0267333984375, -0.017578125, 0.0106201171875, -0.0030975341796875, 0.026123046875, -0.00885009765625, 0.00689697265625, 0.014404296875, 0.00506591796875, 0.00836181640625, 0.00714111328125, -0.00811767578125, 0.01251220703125, -0.00787353515625, -...
[ 4865, 83, 70, 39933, 41502, 1230, 5386, 74, 1369, 35839, 23, 903, 43701, 1238, 3949, 3742, 86769, 54376, 7, 132, 2740, 58, 28219, 5117, 13315, 18151, 831, 186, 16610, 33, 297, 47, 17932, 51042, 209806, 2367, 164789, 23755, 11814, 237 ]
[ 0.06427001953125, 0.04443359375, 0.04644775390625, 0.284423828125, 0.0999755859375, 0.05218505859375, 0.1617431640625, 0.0440673828125, 0.248291015625, 0.1253662109375, 0.06915283203125, 0.0849609375, 0.18212890625, 0.1207275390625, 0.0535888671875, 0.1517333984375, 0.2464599609375, ...
embed
66352126_c0
66352126
fsharp
0
Title: Is there an alternative to &quot;let!&quot; to support function chaining? Problem title: Is there an alternative to &quot;let!&quot; to support function chaining? Tags: f%23 Problem: Is there an alternative to "let!" to support function chaining? Is there an alternative to "let!" to support function chaining? I ...
Is there an alternative to &quot;let!&quot; to support function chaining? Is there an alternative to &quot;let!&quot; to support function chaining? f%23 NOTE Async.Await Is there an alternative to "let!" to support function chaining? Is there an alternative to "let!" to support function chaining? I currently have this:...
[ 0.0015411376953125, 0.011962890625, 0.016357421875, -0.0010833740234375, 0.002838134765625, -0.019287109375, -0.00140380859375, 0.004058837890625, 0.000469207763671875, -0.0322265625, 0.005279541015625, 0.03564453125, 0.0023956298828125, 0.0162353515625, 0.032958984375, 0.0005645751953...
[ 2071, 2685, 142, 30700, 47, 41502, 1974, 38, 8060, 32354, 1608, 14653, 32, 1238, 3742, 212963, 62, 12654, 238, 634, 217, 44, 3890, 82424, 903, 33306, 2806, 1884, 51371, 67, 36917, 18151, 3934, 9844, 3917, 69307 ]
[ 0.06085205078125, 0.09521484375, 0.0906982421875, 0.2509765625, 0.0916748046875, 0.06597900390625, 0.29736328125, 0.177734375, 0.25439453125, 0.2030029296875, 0.2198486328125, 0.1680908203125, 0.009521484375, 0.0589599609375, 0.1551513671875, 0.2001953125, 0.0006103515625, 0.170288...
embed
60137632_c0
60137632
fsharp
0
Title: Is this shadowing a variable in F#? Problem title: Is this shadowing a variable in F#? Tags: variables, shadowing, f%23 Problem: Is this shadowing a variable in F#? let print_scene (y, v) = do Console.Clear() let y, v = int y, int v (* This is the code in question *) for j = 10 downto 0 do for i = 0 to 30 do if ...
Is this shadowing a variable in F#? Is this shadowing a variable in F#? variables shadowing f%23 print_scene Console.Clear Console.Write Console.ReadKey Is this shadowing a variable in F#? I don't understand what the int is doing in this code, what it is, or why it's there.
[ -0.01031494140625, 0.00738525390625, 0.00970458984375, 0.00616455078125, -0.001922607421875, -0.003936767578125, -0.01300048828125, -0.0011138916015625, -0.022216796875, 0.038330078125, -0.00274658203125, 0.013671875, 0.0002803802490234375, 0.000354766845703125, 0.01275634765625, 0.005...
[ 2071, 903, 208429, 214, 10, 77336, 23, 563, 4904, 32, 7, 1238, 3949, 3742, 28412, 31146, 1657, 40777, 133, 147, 31345, 162429, 18, 28219, 2367, 70, 20594, 18151, 442, 83, 15400, 2685 ]
[ 0.1002197265625, 0.1221923828125, 0.243408203125, 0.1317138671875, 0.055755615234375, 0.25146484375, 0.1124267578125, 0.15380859375, 0.2093505859375, 0.0181121826171875, 0.009063720703125, 0.1151123046875, 0.007659912109375, 0.138671875, 0.126708984375, 0.146240234375, 0.022308349609...
embed
23147064_c0
23147064
fsharp
0
Title: F# code quotation invocation, performance, and run-time requirements Problem title: F# code quotation invocation, performance, and run-time requirements Tags: permissions, quotations, f%23, performance Problem: F# code quotation invocation, performance, and run-time requirements Here are 4 deeply related questio...
F# code quotation invocation, performance, and run-time requirements F# code quotation invocation, performance, and run-time requirements permissions quotations f%23 performance F# code quotation invocation, performance, and run-time requirements Here are 4 deeply related questions about F# code quotations - How do I i...
[ 0.006256103515625, 0.011962890625, 0.00592041015625, 0.00299072265625, -0.00933837890625, -0.01324462890625, 0.00518798828125, -0.01092529296875, 0.00885009765625, -0.010986328125, 0.002532958984375, -0.005218505859375, -0.008544921875, 0.014404296875, -0.0123291015625, 0.0184326171875...
[ 563, 4904, 18151, 81732, 1363, 23, 202010, 23718, 136, 11675, 6032, 96679, 168081, 1238, 3949, 3742, 201, 53894, 62548, 17582, 1672, 5256, 11249, 54, 87, 23253, 13, 20255, 40715, 93766, 21, 6492, 85, 64209, 8060, 175961, 44961, 24034, 12330...
[ 0.1622314453125, 0.2481689453125, 0.2274169921875, 0.236572265625, 0.1297607421875, 0.092529296875, 0.189453125, 0.1666259765625, 0.013641357421875, 0.0810546875, 0.1060791015625, 0.209716796875, 0.19189453125, 0.1044921875, 0.0394287109375, 0.13623046875, 0.10302734375, 0.02619934...
embed
4645201_c0
4645201
fsharp
0
Title: Named arguments of a constructor in a type using F# Problem title: Named arguments of a constructor in a type using F# Tags: f%23, arguments, types, named-parameters, constructor Problem: Named arguments of a constructor in a type using F# Consider the following code: type Test(a) = member o.A = a let test = Tes...
Named arguments of a constructor in a type using F# Named arguments of a constructor in a type using F# f%23 arguments types named-parameters constructor F# Named Test o.A test2 ERROR test3 Named arguments of a constructor in a type using F# Consider the following code: Test2 line gives an error: and I understand the e...
[ -0.00016880035400390625, -0.00714111328125, 0.00372314453125, 0.01458740234375, 0.01031494140625, -0.0111083984375, -0.003875732421875, 0.012939453125, -0.00109100341796875, 0.0198974609375, 0.00112152099609375, 0.0126953125, 0.0079345703125, -0.00347900390625, 0.007232666015625, -0.00...
[ 2096, 297, 10750, 7, 64549, 748, 23, 10644, 17368, 563, 4904, 111, 1238, 3949, 3742, 52895, 24, 4806, 6276, 29089, 8647, 36, 284, 3034, 304, 151206, 24638, 363, 137399, 18151, 13315, 18499, 87, 28219, 70, 26008, 32195, 959, 54608 ]
[ 0.1649169921875, 0.0975341796875, 0.2244873046875, 0.0289764404296875, 0.1727294921875, 0.140869140625, 0.048553466796875, 0.1966552734375, 0.09417724609375, 0.1295166015625, 0.1962890625, 0.00592041015625, 0.087646484375, 0.005767822265625, 0.1351318359375, 0.196044921875, 0.1278076...
embed
48123457_c0
48123457
fsharp
0
Title: F# compilation error Problem title: F# compilation error Tags: f%23 Problem: F# compilation error I am a newbie in F# and I encounter an error in the following function: let PrintBoard (board:list<string>) (size:int) :unit = for i = 0 to (size - 1) do printf " ---" printfn "" for i = 0 to (size - 1) do printf "|...
F# compilation error F# compilation error f%23 PrintBoard board:list size:int List.item F# compilation error I am a newbie in F# and I encounter an error in the following function: I don't understand why I can't use "size" in the nested loop.
[ -0.00628662109375, -0.0162353515625, 0.00982666015625, -0.006195068359375, -0.00335693359375, -0.01416015625, -0.006072998046875, 0.00182342529296875, 0.007415771484375, 0.010986328125, 0.01495361328125, -0.0233154296875, 0.0228271484375, -0.01483154296875, -0.006988525390625, -0.00479...
[ 563, 4904, 98352, 18499, 1238, 3949, 3742, 39754, 12647, 5861, 45443, 6562, 13267, 4288, 32036, 217, 195, 1363, 3525, 9014, 190647, 25632, 32354, 28219, 15400, 831, 18, 4527, 62539, 23, 8512, 71, 40956 ]
[ 0.148193359375, 0.2325439453125, 0.2381591796875, 0.163818359375, 0.1180419921875, 0.001251220703125, 0.1590576171875, 0.1602783203125, 0.0885009765625, 0.105224609375, 0.14208984375, 0.1478271484375, 0.179931640625, 0.1304931640625, 0.1348876953125, 0.0860595703125, 0.05825805664062...
embed
15669979_c1
15669979
fsharp
1
my Viremodel, and it 'magically' knows hos to go from the instance to a static method. Beside those questions, I feel like it is very much black box magic, and I see very little information about the binding process. What is the best approach to make it clear ? Are there may be some debugging tool available for the Bi...
my Viremodel, and it 'magically' knows hos to go from the instance to a static method. Beside those questions, I feel like it is very much black box magic, and I see very little information about the binding process. What is the best approach to make it clear ? Are there may be some debugging tool available for the Bi...
[ -0.01470947265625, 0.011962890625, 0.0030059814453125, 0.0028228759765625, 0.007171630859375, 0.01904296875, -0.0078125, -0.004791259765625, 0.021484375, -0.044677734375, -0.01019287109375, -0.0257568359375, 0.0164794921875, 0.0264892578125, -0.0062255859375, -0.01470947265625, 0.016...
[ 759, 582, 107, 51734, 442, 15429, 71407, 93002, 3080, 47, 738, 1295, 110527, 201939, 55300, 12319, 4552, 5045, 22556, 16530, 49846, 1957, 10176, 4677, 128239, 9433, 2965, 51515, 34735, 8, 978, 36659, 55516, 19882, 1843, 33770, 28864, 26073, ...
[ 0.01446533203125, 0.15380859375, 0.1378173828125, 0.3173828125, 0.0174560546875, 0.13720703125, 0.06695556640625, 0.1697998046875, 0.103515625, 0.039215087890625, 0.0687255859375, 0.07275390625, 0.2139892578125, 0.230224609375, 0.1771240234375, 0.08880615234375, 0.02490234375, 0.02...
embed
16225816_c0
16225816
fsharp
0
Title: Using PLINQ AsParallel() on a range Problem title: Using PLINQ AsParallel() on a range Tags: f%23, plinq, task-parallel-library Problem: Using PLINQ AsParallel() on a range I'd like to rewrite this Parallel.For loop using a PLINQ method AsParallel(). As far as I have seen, AsParallel() requires passing an entire...
Using PLINQ AsParallel() on a range Using PLINQ AsParallel() on a range f%23 plinq task-parallel-library Using PLINQ AsParallel k-1 Parallel.For Using PLINQ AsParallel() on a range I'd like to rewrite this Parallel.For loop using a PLINQ method AsParallel(). As far as I have seen, AsParallel() requires passing an entir...
[ -0.028076171875, 0.0250244140625, -0.0152587890625, 0.0028839111328125, 0.003326416015625, -0.0015716552734375, 0.0050048828125, 0.0019989013671875, -0.0069580078125, -0.01275634765625, 0.0052490234375, 0.032958984375, 0.0159912109375, 0.00738525390625, 0.0087890625, 0.005126953125, ...
[ 345, 436, 46610, 2737, 1301, 55292, 1229, 141, 132, 98, 37457, 16, 1238, 3949, 3742, 55294, 864, 66211, 6276, 150, 2844, 472, 5759, 211485, 1884, 456, 434, 18781, 903, 18537, 40956, 55300, 237, 765, 144570, 452, 142, 64194, 944, 3956, 4...
[ 0.0887451171875, 0.0830078125, 0.1875, 0.2086181640625, 0.1585693359375, 0.1826171875, 0.2086181640625, 0.1973876953125, 0.163818359375, 0.07806396484375, 0.2164306640625, 0.006561279296875, 0.0278167724609375, 0.0223236083984375, 0.101806640625, 0.188720703125, 0.1580810546875, 0....
embed
48238511_c2
48238511
fsharp
2
sarr = [str(a) for a in season_averages] print(", " . join(sarr)) # compute initial values for i in range(slen): sum_of_vals_over_avg = 0.0 for j in range(n_seasons): sum_of_vals_over_avg += series[slen*j+i]-season_averages[j] seasonals[i] = sum_of_vals_over_avg/n_seasons return seasonals and here my equivalent F# cod...
sarr = [str(a) for a in season_averages] print(", " . join(sarr)) # compute initial values for i in range(slen): sum_of_vals_over_avg = 0.0 for j in range(n_seasons): sum_of_vals_over_avg += series[slen*j+i]-season_averages[j] seasonals[i] = sum_of_vals_over_avg/n_seasons return seasonals and here my equivalent F# cod...
[ -0.007293701171875, 0.00069427490234375, 0.0128173828125, 0.0245361328125, -0.02001953125, -0.016845703125, 0.0002536773681640625, 0.00982666015625, 0.0245361328125, 0.0299072265625, 0.000682830810546875, 0.0267333984375, 0.020751953125, 0.0062255859375, 0, -0.010498046875, -0.003753...
[ 10649, 42, 2203, 9297, 11, 10, 34003, 814, 52467, 28412, 33284, 4100, 9969, 6743, 61475, 142424, 100, 17, 37457, 7, 1977, 10554, 4390, 1405, 5465, 3818, 177, 89678, 1647, 19, 184, 42182, 997, 36549, 170, 1328, 14, 1681, 16765, 30646, 18...
[ 0.1568603515625, 0.2000732421875, 0.03643798828125, 0.1201171875, 0.1458740234375, 0.03533935546875, 0.234375, 0.1580810546875, 0.1204833984375, 0.182373046875, 0.1751708984375, 0.1424560546875, 0.126220703125, 0.109619140625, 0.1956787109375, 0.2117919921875, 0.022064208984375, 0....
embed
42602761_c0
42602761
fsharp
0
Title: Receiving error &quot;Block following &#x27;let&#x27; is unfinished&quot;. expect an expression Problem title: Receiving error &quot;Block following &#x27;let&#x27; is unfinished&quot;. expect an expression Tags: f%23 Problem: Receiving error "Block following 'let' is unfinished". expect an expression I am tryin...
Receiving error &quot;Block following &#x27;let&#x27; is unfinished&quot;. expect an expression Receiving error &quot;Block following &#x27;let&#x27; is unfinished&quot;. expect an expression f%23 Receiving Block hd::tl Receiving error "Block following 'let' is unfinished". expect an expression I am trying to run below...
[ -0.0169677734375, 0.00836181640625, 0.002166748046875, 0.01287841796875, 0.00860595703125, -0.0004062652587890625, 0.022705078125, 0.0067138671875, 0.0201416015625, -0.0233154296875, 0.0038604736328125, 0.00194549560546875, -0.0018463134765625, 0.01434326171875, 0.01513671875, -0.02075...
[ 93908, 18499, 166191, 25632, 3768, 1974, 83, 51, 48310, 67175, 41206, 125195, 1238, 3742, 80231, 26488, 18, 141, 31577, 47, 11675, 35064, 563, 4904, 18151, 329, 17569, 2633, 33938, 7477, 5303, 21954, 40956, 63262, 14858, 68940, 75137, 4711, ...
[ 0.025848388671875, 0.18115234375, 0.19677734375, 0.2120361328125, 0.0972900390625, 0.2120361328125, 0.07098388671875, 0.1070556640625, 0.1865234375, 0.136962890625, 0.17724609375, 0.2052001953125, 0.01885986328125, 0.050201416015625, 0.130126953125, 0.1173095703125, 0.000823974609375...
embed
65255258_c0
65255258
fsharp
0
Title: Just installed v16.8.3 of visual studio and I seem to be getting tabs for F# Problem title: Just installed v16.8.3 of visual studio and I seem to be getting tabs for F# Tags: visual-studio, f%23 Problem: Just installed v16.8.3 of visual studio and I seem to be getting tabs for F# instead of spaces. I use F# quit...
Just installed v16.8.3 of visual studio and I seem to be getting tabs for F# Just installed v16.8.3 of visual studio and I seem to be getting tabs for F# visual-studio f%23 Just v16.8.3 Just installed v16.8.3 of visual studio and I seem to be getting tabs for F# instead of spaces. I use F# quite a lot, not had this pro...
[ 0.0191650390625, -0.0079345703125, -0.00125885009765625, -0.01361083984375, -0.0152587890625, 0.0067138671875, 0.00013446807861328125, -0.003448486328125, -0.011962890625, 0.0208740234375, 0.0235595703125, 0.00506591796875, -0.010986328125, 0.0021820068359375, 0.006561279296875, 0.0018...
[ 9563, 20600, 297, 81, 2485, 52196, 363, 111, 21176, 12275, 48903, 20949, 20928, 7, 100, 563, 4904, 52629, 1238, 3949, 3742, 64457, 32628, 4527, 32233, 5915, 903, 2967, 53550, 21980, 117176, 47, 201, 33657, 2203, 4552, 70270, 3525, 36279, ...
[ 0.0025634765625, 0.1131591796875, 0.005340576171875, 0.065185546875, 0.1431884765625, 0.1650390625, 0.120849609375, 0.0782470703125, 0.1864013671875, 0.191650390625, 0.06134033203125, 0.0670166015625, 0.257568359375, 0.1048583984375, 0.08123779296875, 0.141845703125, 0.203125, 0.19...
embed
66618622_c3
66618622
fsharp
3
: Form, Suave, Type, SubscriptionConfirmation, MessageId, edc9f4466ea3, Token, TopicArn, arn:aws:sns:ap-northeast-1:960544703730:igorbot, Message, You, SubscribeURL, sns.ap-northeast-1.amazonaws.com, Action, ConfirmSubscription, f4fa-4fb7-9c94-127e98f5eb76, Timestamp, SignatureVersion, Signature, FBnpuGtkZmzox, sIjFs2d...
: Form, Suave, Type, SubscriptionConfirmation, MessageId, edc9f4466ea3, Token, TopicArn, arn:aws:sns:ap-northeast-1:960544703730:igorbot, Message, You, SubscribeURL, sns.ap-northeast-1.amazonaws.com, Action, ConfirmSubscription, f4fa-4fb7-9c94-127e98f5eb76, Timestamp, SignatureVersion, Signature, FBnpuGtkZmzox, sIjFs2d...
[ -0.0040283203125, 0.037841796875, -0.01153564453125, 0.0003261566162109375, 0.00946044921875, -0.0250244140625, 0.0184326171875, 0.0303955078125, -0.016357421875, 0.01470947265625, 0.01300048828125, -0.01904296875, -0.0281982421875, -0.0003490447998046875, 0.00469970703125, -0.00927734...
[ 152, 15236, 4, 45384, 272, 60457, 8273, 59478, 11935, 23044, 1363, 48205, 4588, 568, 71, 2223, 1126, 163063, 363, 717, 1098, 134912, 7614, 19, 187, 12, 15519, 7, 1779, 2631, 9, 13665, 2347, 4438, 5759, 91230, 171803, 5757, 10945, 1197, ...
[ 0.114013671875, 0.288330078125, 0.05731201171875, 0.286376953125, 0.27685546875, 0.251220703125, 0.2247314453125, 0.264892578125, 0.036773681640625, 0.219482421875, 0.10052490234375, 0.1600341796875, 0.16015625, 0.093505859375, 0.112060546875, 0.044403076171875, 0.018310546875, 0.1...
embed
9811032_c0
9811032
fsharp
0
Title: Simplest Visual Studio That Supports C# and F# Problem title: Simplest Visual Studio That Supports C# and F# Tags: visual-studio, f%23, c%23 Problem: Simplest Visual Studio That Supports C# and F# What is the simplest version of Visual Studio (professional, enterprise, or other) that I could purchase that suppor...
Simplest Visual Studio That Supports C# and F# Simplest Visual Studio That Supports C# and F# visual-studio f%23 c%23 Simplest Visual Studio Supports Simplest Visual Studio That Supports C# and F# What is the simplest version of Visual Studio (professional, enterprise, or other) that I could purchase that supports C# o...
[ 0.01116943359375, 0.0167236328125, -0.0004119873046875, 0.00836181640625, 0.003082275390625, -0.004486083984375, -0.0002727508544921875, 0.0029449462890625, 0.0106201171875, 0.00110626220703125, -0.002655029296875, -0.0244140625, -0.00445556640625, 0.0177001953125, -0.012939453125, 0.0...
[ 60552, 271, 73372, 22968, 9925, 58832, 313, 4904, 136, 563, 21176, 52629, 1238, 3742, 30362, 18, 11389, 111, 141532, 202681, 5809, 59038, 8060, 707, 34754, 33342, 7026, 2886, 1295, 7244, 110, 25534, 180346, 63769, 5, 24447, 351, 678, 15490,...
[ 0.189697265625, 0.1217041015625, 0.206787109375, 0.236083984375, 0.05340576171875, 0.1956787109375, 0.088134765625, 0.2132568359375, 0.1219482421875, 0.134521484375, 0.14404296875, 0.18603515625, 0.06884765625, 0.03466796875, 0.2081298828125, 0.1297607421875, 0.1329345703125, 0.024...
embed
2332401_c1
2332401
fsharp
1
.2)] let second = [(6,20,2.1);(35,63,2.2)] let first = [(0,30,1.1);(35,50,1.2)] let after = [ (0,5,[1.1]); (6,11,[1.1;2.1]); (12,20,[1.1;2.1;3.1]); (21,30,[1.1]); (35,42,[1.2;2.2]); (43,50,[1.2;2.2;3.2]) ] Right now I'm finding it difficult to think about this in a functional way, anything that comes to mind is imperat...
.2)] let second = [(6,20,2.1);(35,63,2.2)] let first = [(0,30,1.1);(35,50,1.2)] let after = [ (0,5,[1.1]); (6,11,[1.1;2.1]); (12,20,[1.1;2.1;3.1]); (21,30,[1.1]); (35,42,[1.2;2.2]); (43,50,[1.2;2.2;3.2]) ] Right now I'm finding it difficult to think about this in a functional way, anything that comes to mind is imperat...
[ -0.00933837890625, 0.021240234375, 0.0169677734375, 0.004058837890625, 0.006744384765625, 0.02587890625, -0.0299072265625, 0.00015354156494140625, 0.0240478515625, -0.01025390625, 0.01409912109375, 0.01361083984375, -0.00433349609375, 0.01025390625, 0.003387451171875, 0.001594543457031...
[ 5, 10461, 268, 2633, 17932, 2203, 139303, 1549, 68107, 3142, 5843, 15748, 70147, 5117, 2389, 1197, 92134, 2525, 48400, 7103, 124940, 16156, 1662, 21204, 97109, 44596, 13023, 11548, 107033, 5036, 90791, 442, 34844, 5351, 1672, 903, 10, 123309,...
[ 0.079833984375, 0.1973876953125, 0.0572509765625, 0.1578369140625, 0.1834716796875, 0.1553955078125, 0.0843505859375, 0.17578125, 0.170654296875, 0.0426025390625, 0.1800537109375, 0.214599609375, 0.1788330078125, 0.1116943359375, 0.0260009765625, 0.141357421875, 0.1334228515625, 0....
embed
36224756_c0
36224756
fsharp
0
Title: Rx subscriptions and garbage collection Problem title: Rx subscriptions and garbage collection Tags: .net, system.reactive, f%23 Problem: Rx subscriptions and garbage collection Do you need to assign the IDisposable returned by IObservable.Subscribe to a variable in order to protect the subscription from being g...
Rx subscriptions and garbage collection Rx subscriptions and garbage collection .net system.reactive f%23 IObservable.Subscribe myObservable.Take Subscribe One-shot system.reactive Rx subscriptions and garbage collection Do you need to assign the IDisposable returned by IObservable.Subscribe to a variable in order to p...
[ 0.0022735595703125, 0.060302734375, 0.021484375, 0.0181884765625, -0.03857421875, -0.008056640625, -0.01165771484375, 0.0203857421875, 0.00811767578125, -0.01806640625, 0.00095367431640625, 0.0086669921875, 0.0098876953125, 0.037841796875, 0.00946044921875, 0.004791259765625, 0.01647...
[ 627, 425, 1614, 59478, 136, 3671, 402, 429, 42486, 1179, 5426, 107, 71232, 1238, 3949, 3742, 87, 46471, 65756, 2661, 96472, 34601, 759, 51654, 13, 134019, 6561, 72697, 3871, 95486, 11338, 164, 7522, 2886, 176377, 10, 77336, 59959, 1295, 8...
[ 0.110595703125, 0.2071533203125, 0.1553955078125, 0.2066650390625, 0.0770263671875, 0.078857421875, 0.1781005859375, 0.120849609375, 0.1717529296875, 0.1318359375, 0.09564208984375, 0.03753662109375, 0.1180419921875, 0.0421142578125, 0.006866455078125, 0.0758056640625, 0.109741210937...
embed
38907212_c1
38907212
fsharp
1
:AnHtmlPage)= page.Html.Descendants() |> Seq.filter(fun n -> n.HasClass("paging")) |> findUrlOrReturnEmptyStrin My issue is now that Seq.Empty is not a literal and cannot be used in a pattern. Most examples with pattern matching specify empty lists [] in their patterns so I'm wondering: How can I use a similar approach...
:AnHtmlPage)= page.Html.Descendants() |> Seq.filter(fun n -> n.HasClass("paging")) |> findUrlOrReturnEmptyStrin My issue is now that Seq.Empty is not a literal and cannot be used in a pattern. Most examples with pattern matching specify empty lists [] in their patterns so I'm wondering: How can I use a similar approach...
[ 0.0018768310546875, 0.026611328125, -0.01104736328125, -0.002593994140625, -0.006622314453125, -0.0030059814453125, -0.00628662109375, -0.01190185546875, 0.026611328125, -0.036865234375, 0.0107421875, -0.00933837890625, -0.0021820068359375, 0.00030517578125, 0.013916015625, -0.00020790...
[ 7251, 841, 18, 7237, 147101, 9191, 4657, 31146, 58349, 503, 864, 120337, 16498, 653, 33079, 6495, 140803, 11902, 214, 7413, 48743, 141, 19060, 987, 134332, 939, 71713, 31089, 959, 15659, 289, 53418, 11814, 103510, 17006, 27781, 14858, 40140, ...
[ 0.0513916015625, 0.05511474609375, 0.07318115234375, 0.139892578125, 0.1600341796875, 0.126708984375, 0.039825439453125, 0.142333984375, 0.127197265625, 0.1107177734375, 0.217041015625, 0.1610107421875, 0.1268310546875, 0.036468505859375, 0.010101318359375, 0.0596923828125, 0.1700439...
embed
27507212_c0
27507212
fsharp
0
Title: How to call the values of a C# enum in F# Problem title: How to call the values of a C# enum in F# Tags: enums, c%23, f%23 Problem: How to call the values of a C# enum in F# I'm writing some F# code and I'd like to use an enum value defined in a c# assembly. For instance, in the c# assembly I've got this code pu...
How to call the values of a C# enum in F# How to call the values of a C# enum in F# enums c%23 f%23 How MyEnum MyEnum.valueA How to call the values of a C# enum in F# I'm writing some F# code and I'd like to use an enum value defined in a c# assembly. For instance, in the c# assembly I've got this code How do I call My...
[ 0.0009002685546875, -0.0181884765625, 0.00006246566772460938, 0.019775390625, 0.0011444091796875, 0.01300048828125, -0.0026397705078125, -0.002471923828125, -0.012451171875, -0.031494140625, 0.01043701171875, 0.0198974609375, 0.005645751953125, 0.0050048828125, 0.016357421875, -0.02478...
[ 11249, 47, 11782, 70, 142424, 111, 313, 4904, 22, 316, 23, 563, 10321, 501, 3949, 3742, 1238, 2646, 647, 2606, 27494, 13, 284, 10, 32562, 18151, 1884, 4527, 34292, 61924, 89845, 38526, 4163, 903, 5, 1660, 33022, 450, 9969, 34759, 15756,...
[ 0.0780029296875, 0.04718017578125, 0.1983642578125, 0.068115234375, 0.220703125, 0.064453125, 0.09893798828125, 0.226806640625, 0.1727294921875, 0.2421875, 0.09161376953125, 0.162109375, 0.2261962890625, 0.021453857421875, 0.012054443359375, 0.1329345703125, 0.0845947265625, 0.1547...
embed
24837513_c0
24837513
fsharp
0
Title: F# async lambda declaration Problem title: F# async lambda declaration Tags: xamarin, asynchronous, f%23, ios Problem: F# async lambda declaration In C# Xamarin iOS I can do this: InvokeOnMainThread( () => { //do stuff here}); where the argument for InvokeOnMainThread is NSAction In F# I have to do InvokeOnMainT...
F# async lambda declaration F# async lambda declaration xamarin asynchronous f%23 ios InvokeOnMainThread NSAction Task.Delay F# async lambda declaration In C# Xamarin iOS I can do this: where the argument for InvokeOnMainThread is NSAction In F# I have to do But in C# i can also do how would I do the same in F#? Also, ...
[ 0.005401611328125, 0.0250244140625, 0.0113525390625, -0.0289306640625, -0.0106201171875, 0.0035400390625, 0.0308837890625, 0.01287841796875, -0.001220703125, -0.028564453125, 0.01275634765625, -0.031494140625, -0.004974365234375, -0.003875732421875, 0.0146484375, 0.0140380859375, 0.0...
[ 563, 4904, 10, 12654, 238, 21, 6492, 85, 21635, 2459, 44503, 101966, 1238, 3742, 17, 232, 360, 23253, 13, 20320, 168793, 20800, 39116, 541, 6703, 10763, 9598, 92, 4657, 5259, 313, 8606, 13964, 831, 54, 903, 10750, 23, 36510 ]
[ 0.1385498046875, 0.1805419921875, 0.004730224609375, 0.202880859375, 0.024322509765625, 0.046295166015625, 0.1817626953125, 0.1226806640625, 0.1864013671875, 0.0911865234375, 0.2342529296875, 0.1204833984375, 0.05535888671875, 0.0875244140625, 0.001739501953125, 0.099609375, 0.049407...
embed
26956101_c0
26956101
fsharp
0
Title: Generating an infinite set of numbers Problem title: Generating an infinite set of numbers Tags: f%23, lazy-sequences, primes Problem: Generating an infinite set of numbers I'm trying to make a prime number generator which should be able to return a sequence of prime numbers up to the nth number. Now I figured t...
Generating an infinite set of numbers Generating an infinite set of numbers f%23 lazy-sequences primes Generating Seq.unfold Some Seq.take Generating an infinite set of numbers I'm trying to make a prime number generator which should be able to return a sequence of prime numbers up to the nth number. Now I figured ther...
[ 0.001861572265625, 0.0208740234375, 0.01129150390625, 0.00653076171875, 0.0111083984375, -0.010009765625, 0.011474609375, -0.0218505859375, 0.01104736328125, -0.0517578125, -0.004913330078125, 0.0299072265625, 0.01153564453125, 0.026611328125, 0.007598876953125, 0.017822265625, 0.004...
[ 155370, 1916, 54241, 13, 5423, 101935, 142, 111, 1238, 3949, 3742, 21, 3285, 184, 26513, 5170, 20809, 503, 864, 309, 42822, 31384, 78219, 87, 31577, 3249, 14012, 145823, 5608, 19048, 30646, 10, 40, 944, 1257, 47, 653, 927, 14240, 26366, ...
[ 0.1795654296875, 0.055633544921875, 0.1790771484375, 0.0523681640625, 0.139404296875, 0.1717529296875, 0.0216827392578125, 0.05126953125, 0.0550537109375, 0.040985107421875, 0.1175537109375, 0.06768798828125, 0.150634765625, 0.046356201171875, 0.1614990234375, 0.058197021484375, 0.14...
embed
1899717_c0
1899717
fsharp
0
Title: Distributing F# based libraries Problem title: Distributing F# based libraries Tags: f%23, visual-studio Problem: Distributing F# based libraries I have a program written c# that references an assembly written in F#. If I want to distribute it, I need to include the FSharp.Core.dll assembly right? (Assuming the ...
Distributing F# based libraries Distributing F# based libraries f%23 visual-studio Distributing Distributing F# based libraries I have a program written c# that references an assembly written in F#. If I want to distribute it, I need to include the FSharp.Core.dll assembly right? (Assuming the user didn't install F# al...
[ -0.004730224609375, -0.00180816650390625, -0.005950927734375, -0.0026397705078125, -0.01226806640625, -0.0172119140625, -0.0252685546875, 0.00013256072998046875, -0.0042724609375, 0.003570556640625, 0.0037689208984375, -0.0157470703125, -0.004486083984375, 0.033203125, -0.003768920898437...
[ 75571, 1916, 563, 4904, 35509, 35773, 10484, 1238, 3742, 21176, 52629, 1528, 59121, 501, 91067, 89845, 38526, 23, 3444, 15917, 67, 3871, 26698, 93774, 3467, 254, 5, 50886, 71, 1181, 7108, 38937, 20600, 15649, 73372, 22968, 22027, 18, 43658,...
[ 0.231201171875, 0.044769287109375, 0.15087890625, 0.2303466796875, 0.13427734375, 0.19140625, 0.108154296875, 0.05517578125, 0.07305908203125, 0.17919921875, 0.1763916015625, 0.1173095703125, 0.05029296875, 0.007080078125, 0.09991455078125, 0.141357421875, 0.095947265625, 0.0186920...
embed
25330228_c0
25330228
fsharp
0
Title: Converting string[][][] to string[][] in f# Problem title: Converting string[][][] to string[][] in f# Tags: type-conversion, sorting, f%23 Problem: Converting string[][][] to string[][] in f# I'm having some troubles with F# because i'm learning. I have something like the next code: let A = [| [| [|"1";"Albert"...
Converting string[][][] to string[][] in f# Converting string[][][] to string[][] in f# type-conversion sorting f%23 Converting Albert Ben Carl Converting string[][][] to string[][] in f# I'm having some troubles with F# because i'm learning. I have something like the next code: (Type A: string[][][] ) I'm trying to co...
[ 0.017333984375, -0.0098876953125, -0.000946044921875, 0.02490234375, 0.00830078125, -0.0025634765625, -0.00958251953125, -0.005279541015625, 0.007568359375, 0.0155029296875, 0.00054168701171875, 0.01806640625, 0.00665283203125, 0.006103515625, -0.0166015625, -0.017822265625, 0.014831...
[ 1657, 814, 1916, 79315, 29839, 47, 1065, 23, 1238, 4904, 10644, 2271, 46354, 12096, 3949, 3742, 24748, 3419, 25075, 19441, 63134, 678, 563, 52080, 1884, 11737, 18151, 196707, 62, 31577, 96760, 335, 3714, 3642, 54, 903, 100, 136, 195625, 5...
[ 0.06048583984375, 0.1402587890625, 0.0301666259765625, 0.24658203125, 0.10308837890625, 0.1201171875, 0.0302734375, 0.048675537109375, 0.1405029296875, 0.2071533203125, 0.1431884765625, 0.0726318359375, 0.134033203125, 0.1259765625, 0.017181396484375, 0.108154296875, 0.1240234375, ...
embed
53301637_c0
53301637
fsharp
0
Title: Why do i get the error message for a bool in a if statement Problem title: Why do i get the error message for a bool in a if statement Tags: boolean, f%23 Problem: Why do i get the error message for a bool in a if statement I am trying to make an if statement, where it should see if the list is empty or not. The...
Why do i get the error message for a bool in a if statement Why do i get the error message for a bool in a if statement boolean f%23 Why List.sum Why do i get the error message for a bool in a if statement I am trying to make an if statement, where it should see if the list is empty or not. Then it should return a bool...
[ -0.0201416015625, -0.00799560546875, 0.0029144287109375, 0.04052734375, 0.0111083984375, 0.0093994140625, -0.00634765625, -0.0030364990234375, 0.0022125244140625, 0.02001953125, 0.0106201171875, -0.00160980224609375, -0.0048828125, 0.006195068359375, 0.006866455078125, 0.0172119140625,...
[ 44084, 54, 17, 2046, 70, 18499, 26008, 100, 142484, 23, 2174, 63805, 10, 337, 31, 34677, 1238, 3949, 3742, 32036, 11832, 31577, 1957, 5303, 201505, 959, 30646, 29568, 98320, 26785 ]
[ 0.12109375, 0.015289306640625, 0.05816650390625, 0.0567626953125, 0.0268402099609375, 0.183837890625, 0.121337890625, 0.078857421875, 0.2176513671875, 0.04949951171875, 0.2108154296875, 0.1717529296875, 0.033721923828125, 0.01806640625, 0.05584716796875, 0.0828857421875, 0.0518493652...
embed
34321800_c0
34321800
fsharp
0
Title: Getting indexes of elements of an array with certain values Problem title: Getting indexes of elements of an array with certain values Tags: f%23 Problem: Getting indexes of elements of an array with certain values Consider I have an array of options like [|Some 1;Some0;None;None;Some0|] and i am going to get th...
Getting indexes of elements of an array with certain values Getting indexes of elements of an array with certain values f%23 Getting Some Some0 None Getting indexes of elements of an array with certain values Consider I have an array of options like [|Some 1;Some0;None;None;Some0|] and i am going to get the indexes of ...
[ -0.0166015625, 0.004638671875, -0.00628662109375, -0.002288818359375, -0.0206298828125, -0.0123291015625, 0.00848388671875, -0.0130615234375, 0.011474609375, 0.004974365234375, -0.004608154296875, -0.000804901123046875, -0.01953125, 0.0123291015625, 0.0087890625, 0.004669189453125, 0...
[ 210732, 63262, 90, 111, 80854, 10298, 53, 678, 24233, 142424, 1238, 3742, 31384, 2389, 438, 137399, 50717, 282, 106, 5021, 8912, 2046, 86, 34292, 26785, 35166, 304, 74, 363, 43581, 6528, 15549, 70, 47, 5303, 104250, 195625, 5844, 32354, 2...
[ 0.110595703125, 0.22900390625, 0.1651611328125, 0.0115966796875, 0.1614990234375, 0.15625, 0.1119384765625, 0.0738525390625, 0.06805419921875, 0.13916015625, 0.0167083740234375, 0.0828857421875, 0.020660400390625, 0.111083984375, 0.1031494140625, 0.0015869140625, 0.1923828125, 0.02...
embed
69034547_c0
69034547
fsharp
0
Title: Implementing let! ... and! ... in a custom Computation Expression Problem title: Implementing let! ... and! ... in a custom Computation Expression Tags: computation-expression, f%23 Problem: Implementing let! ... and! ... in a custom Computation Expression I want to add support to my Computation Expression build...
Implementing let! ... and! ... in a custom Computation Expression Implementing let! ... and! ... in a custom Computation Expression computation-expression f%23 Implementing Computation Expression Bind2 MergeSource Implementing let! ... and! ... in a custom Computation Expression I want to add support to my Computation ...
[ 0.0015716552734375, 0.016845703125, -0.000949859619140625, 0.0186767578125, -0.000823974609375, 0.0242919921875, -0.0047607421875, 0.0042724609375, 0.0201416015625, -0.01611328125, -0.01904296875, 0.0108642578125, 0.01409912109375, 0.02197265625, 0.02685546875, 0.004669189453125, -0....
[ 153941, 214, 2633, 38, 153, 136, 23, 114122, 159415, 2320, 25129, 1830, 181135, 1363, 204629, 1238, 3949, 3742, 16666, 71, 304, 6035, 429, 211235, 3444, 15190, 8060, 47, 45367, 56, 903, 64549, 9969, 34759, 17378, 8110, 29479, 40101, 707, ...
[ 0.26513671875, 0.0386962890625, 0.25048828125, 0.173583984375, 0.146240234375, 0.2388916015625, 0.0850830078125, 0.215576171875, 0.2001953125, 0.0579833984375, 0.1937255859375, 0.06561279296875, 0.1943359375, 0.009765625, 0.22607421875, 0.0889892578125, 0.05450439453125, 0.15319824...
embed
71672396_c0
71672396
fsharp
0
Title: How to sign F# class library in visual studio Problem title: How to sign F# class library in visual studio Tags: f%23, visual-studio, class-library, code-signing Problem: How to sign F# class library in visual studio Ive been trying to sign a FSharp Class library in visual studio and i am not sure what went wron...
How to sign F# class library in visual studio How to sign F# class library in visual studio f%23 visual-studio class-library code-signing How How to sign F# class library in visual studio Ive been trying to sign a FSharp Class library in visual studio and i am not sure what went wrong. when i select create a new strong...
[ 0.004150390625, 0.007598876953125, -0.009033203125, -0.0205078125, -0.0146484375, -0.0028228759765625, -0.0107421875, 0.003021240234375, -0.005126953125, 0.0036163330078125, -0.0162353515625, -0.0233154296875, -0.00135040283203125, 0.020263671875, -0.006103515625, 0.005615234375, -0....
[ 11249, 47, 24092, 563, 4904, 18507, 35773, 1294, 23, 21176, 12275, 1238, 3742, 52629, 150, 2844, 18151, 31304, 31577, 93774, 3467, 254, 35014, 44691, 36849, 28282, 3525, 37515, 9351, 22799, 11435, 37772, 456, 17137, 35064, 3016, 420, 53397, ...
[ 0.0697021484375, 0.05841064453125, 0.2388916015625, 0.1298828125, 0.2242431640625, 0.1920166015625, 0.19775390625, 0.12451171875, 0.0633544921875, 0.167724609375, 0.2081298828125, 0.0726318359375, 0.087646484375, 0.1817626953125, 0.05712890625, 0.113037109375, 0.0924072265625, 0.16...
embed
60552859_c0
60552859
fsharp
0
Title: More Efficient Recursive Tetranacci function in F# Problem title: More Efficient Recursive Tetranacci function in F# Tags: fibonacci, c%23-to-f%23, f%23-3.0, f%23, time-complexity Problem: More Efficient Recursive Tetranacci function in F# I am trying to write a tetranacci function using F# as efficiently as pos...
More Efficient Recursive Tetranacci function in F# More Efficient Recursive Tetranacci function in F# fibonacci c%23-to-f%23 f%23-3.0 f%23 time-complexity More Efficient Recursive Tetranacci More Efficient Recursive Tetranacci function in F# I am trying to write a tetranacci function using F# as efficiently as possible...
[ -0.005462646484375, 0.0034332275390625, 0.000133514404296875, -0.0189208984375, 0.0093994140625, -0.0294189453125, 0.004150390625, 0.005401611328125, 0.0035552978515625, -0.033935546875, -0.004913330078125, 0.00238037109375, -0.01708984375, 0.003875732421875, 0.02783203125, 0.000169754...
[ 5455, 241, 24500, 45964, 853, 48650, 5844, 1413, 1517, 76, 52544, 32354, 23, 563, 4904, 809, 20990, 501, 167218, 27495, 188, 420, 3742, 1238, 132265, 1733, 277, 44974, 31577, 33022, 120, 17368, 93766, 237, 7722, 5117, 29806, 21449, 1257, ...
[ 0.1038818359375, 0.02374267578125, 0.14404296875, 0.08251953125, 0.042388916015625, 0.17578125, 0.05560302734375, 0.1112060546875, 0.1427001953125, 0.149169921875, 0.2406005859375, 0.1787109375, 0.023162841796875, 0.114501953125, 0.1878662109375, 0.094970703125, 0.1463623046875, 0....
embed
1711896_c0
1711896
fsharp
0
Title: Problem using Seq.cast Problem title: Problem using Seq.cast Tags: f%23, .net, seq Problem: Problem using Seq.cast Using Seq.cast seems to constantly fail, even for something as simple as the following: let xor c = Seq.cast c |> Seq.reduce (^^^) xor [1;3] // Works, assuming because no cast is necessary xor ['a';...
Problem using Seq.cast Problem using Seq.cast f%23 .net seq Seq.cast Problem Seq.reduce Works Fails uint16 uint32 Problem using Seq.cast Using Seq.cast seems to constantly fail, even for something as simple as the following: The latter two fail with Specified Cast is not valid. What am I missing? I'm trying to use Seq....
[ 0.00872802734375, 0.02490234375, 0.00970458984375, 0.0185546875, 0.00482177734375, -0.017822265625, -0.016357421875, 0.0205078125, -0.01361083984375, -0.01025390625, -0.008056640625, -0.006011962890625, -0.0059814453125, 0.0157470703125, -0.00830078125, -0.01416015625, -0.01745605468...
[ 15649, 17368, 503, 864, 5, 55741, 1238, 3949, 3742, 1179, 40, 107, 106357, 27985, 190355, 75, 4288, 2485, 6460, 345, 37202, 178308, 35782, 8781, 25632, 6626, 678, 24990, 47314, 32301, 959, 35604, 132283, 31577, 4527, 96760, 147306, 41884, 4...
[ 0.138916015625, 0.0838623046875, 0.1121826171875, 0.22119140625, 0.0599365234375, 0.2509765625, 0.01361083984375, 0.005218505859375, 0.112548828125, 0.1400146484375, 0.0750732421875, 0.07281494140625, 0.19091796875, 0.130615234375, 0.1717529296875, 0.053009033203125, 0.1519775390625,...
embed
20395918_c0
20395918
fsharp
0
Title: Mapping/translating an object to another in F# Problem title: Mapping/translating an object to another in F# Tags: linq, f%23 Problem: Mapping/translating an object to another in F# I'm a beginner to F# and playing around with it, until I faced this problem. I searched for it but couldn't find anything. I want t...
Mapping/translating an object to another in F# Mapping/translating an object to another in F# linq f%23 Mapping OtherPlace.Geolocation Mapping/translating an object to another in F# I'm a beginner to F# and playing around with it, until I faced this problem. I searched for it but couldn't find anything. I want to mutat...
[ 0.00007200241088867188, -0.0030975341796875, 0, -0.00107574462890625, -0.0181884765625, -0.016845703125, 0.0108642578125, 0.00897216796875, 0.01953125, -0.01483154296875, -0.00021648406982421875, 0.0164794921875, 0.000141143798828125, -0.02783203125, -0.01171875, -0.007080078125, -0....
[ 911, 26783, 64, 30145, 143, 1916, 36746, 47, 15700, 563, 4904, 23, 96, 44982, 1238, 3742, 64511, 10429, 31, 87632, 9842, 1679, 75169, 2967, 33938, 3444, 31158, 13, 3934, 30152, 71358, 183871, 6626, 239, 35810, 136, 14407, 21753, 28282, 10...
[ 0.169677734375, 0.1500244140625, 0.00128173828125, 0.1412353515625, 0.1787109375, 0.045684814453125, 0.20654296875, 0.14306640625, 0.1317138671875, 0.14013671875, 0.21728515625, 0.0252532958984375, 0.0076904296875, 0.14990234375, 0.0400390625, 0.1146240234375, 0.0975341796875, 0.07...
embed
41322308_c1
41322308
fsharp
1
(string x) let inline add x y in_ = match in_ with | RegularInterpreter r -> x in_ + y in_ |> r | StringInterpreter r -> sprintf "(%A + %A)" (x in_) (y in_) |> r let inline mult x y in_ = match in_ with | RegularInterpreter r -> x in_ * y in_ |> r | StringInterpreter r -> sprintf "(%A * %A)" (x in_) (y in_) |> r let i...
(string x) let inline add x y in_ = match in_ with | RegularInterpreter r -> x in_ + y in_ |> r | StringInterpreter r -> sprintf "(%A + %A)" (x in_) (y in_) |> r let inline mult x y in_ = match in_ with | RegularInterpreter r -> x in_ * y in_ |> r | StringInterpreter r -> sprintf "(%A * %A)" (x in_) (y in_) |> r let i...
[ -0.01348876953125, -0.003509521484375, 0.0126953125, 0.01611328125, -0.004302978515625, 0.01806640625, 0.01177978515625, 0.005859375, 0.007659912109375, -0.0157470703125, 0.003875732421875, -0.00927734375, -0.006439208984375, -0.025634765625, 0.00191497802734375, -0.0146484375, 0.007...
[ 91693, 1022, 2633, 23, 2256, 15190, 113, 454, 14858, 678, 47881, 44851, 56359, 56, 1690, 997, 23351, 145320, 420, 425, 53, 3869, 1405, 8439, 304, 54601, 35975, 3447, 71713, 214, 60457, 18499, 3293, 4568, 13315, 10644, 3917, 10932, 12601, ...
[ 0.1678466796875, 0.1041259765625, 0.114990234375, 0.1800537109375, 0.1806640625, 0.1392822265625, 0.13330078125, 0.1031494140625, 0.123779296875, 0.06451416015625, 0.15478515625, 0.044342041015625, 0.146240234375, 0.0697021484375, 0.05108642578125, 0.06689453125, 0.068359375, 0.102...
embed
54137395_c0
54137395
fsharp
0
Title: Active Pattern in match clause Problem title: Active Pattern in match clause Tags: f%23 Problem: Active Pattern in match clause I am trying to better understand how active pattern works - please correct me if i am reading active pattern wrong, taking below example: let (|UpperCase|) (x:string) = x.ToUpper() let ...
Active Pattern in match clause Active Pattern in match clause f%23 Active Pattern UpperCase x:string x.ToUpper FOO Active Pattern in match clause I am trying to better understand how active pattern works - please correct me if i am reading active pattern wrong, taking below example: I see we are comparing but it looks ...
[ 0.010498046875, 0.01080322265625, 0.005401611328125, 0.0047607421875, -0.01165771484375, -0.00970458984375, -0.00115203857421875, 0.0164794921875, 0.0279541015625, 0.0218505859375, 0.021240234375, 0.0079345703125, 0.008544921875, 0.006988525390625, 0.01025390625, -0.020263671875, 0.0...
[ 88441, 9876, 22766, 23, 14858, 70731, 1238, 3949, 3742, 26655, 56, 441, 6991, 1022, 91693, 7763, 1062, 8079, 563, 30563, 11522, 28219, 36457, 103510, 43240, 26785, 16454, 44691, 35064, 27781, 1957, 642, 37397, 214, 1284, 442, 33342, 70270, ...
[ 0.2113037109375, 0.1953125, 0.1314697265625, 0.046478271484375, 0.204345703125, 0.1766357421875, 0.050872802734375, 0.0518798828125, 0.140625, 0.0938720703125, 0.000152587890625, 0.045867919921875, 0.031646728515625, 0.046417236328125, 0.1224365234375, 0.1112060546875, 0.016387939453...
embed
49090918_c0
49090918
fsharp
0
Title: F# filtering sublist Problem title: F# filtering sublist Tags: list, f%23, filter Problem: F# filtering sublist Here is an input list: [[10;2;10]; [10;50;10]; [10;1;10]] . How would I filter the second element of each sub-list? Below is my code and when I output the result I get [[10;50;10]] but what I want is [...
F# filtering sublist F# filtering sublist list f%23 filter List.findIndex List.filter F# filtering sublist Here is an input list: [[10;2;10]; [10;50;10]; [10;1;10]] . How would I filter the second element of each sub-list? Below is my code and when I output the result I get [[10;50;10]] but what I want is [2;50;1] . Is...
[ -0.01123046875, 0.027099609375, 0.0009918212890625, -0.01513671875, -0.00628662109375, 0.0031890869140625, 0.01226806640625, 0.017822265625, 0.019775390625, 0.01171875, 0.01202392578125, 0.0027313232421875, -0.018798828125, 0.00982666015625, -0.0220947265625, 0.0091552734375, 0.03002...
[ 563, 4904, 46312, 214, 1614, 6562, 5303, 1238, 3742, 32036, 111607, 39659, 120337, 11853, 107730, 963, 74, 304, 2525, 11249, 2806, 87, 70, 17932, 12830, 12638, 873, 17336, 18151, 140992, 16750, 2046, 1284, 2367, 3444, 83, 76172, 109954, 300...
[ 0.153564453125, 0.2213134765625, 0.246337890625, 0.056396484375, 0.2076416015625, 0.1947021484375, 0.1622314453125, 0.073974609375, 0.0997314453125, 0.13232421875, 0.056427001953125, 0.114990234375, 0.185302734375, 0.005340576171875, 0.1475830078125, 0.1510009765625, 0.07379150390625...
embed
28560797_c0
28560797
fsharp
0
Title: What&#x27;s the use of cache in csv type provider? Problem title: What&#x27;s the use of cache in csv type provider? Tags: type-providers, f%23 Problem: What's the use of cache in csv type provider? I am a bit confused about Cache and CacheRows . It seems MyCsvType.Load(path).Take(30000).Cache() doesn't actually...
What&#x27;s the use of cache in csv type provider? What&#x27;s the use of cache in csv type provider? type-providers f%23 What Cache CacheRows MyCsvType.Load Take Seq.cache Rows Seq.take What's the use of cache in csv type provider? I am a bit confused about Cache and CacheRows . It seems MyCsvType.Load(path).Take(3000...
[ 0.02197265625, 0.0257568359375, 0.022216796875, 0.032470703125, -0.0107421875, -0.014892578125, 0.01373291015625, 0.0169677734375, 0.00946044921875, -0.0213623046875, -0.03515625, -0.01385498046875, 0.0250244140625, 0.00408935546875, 0.000946044921875, 0.001983642578125, -0.015563964...
[ 4865, 3768, 70, 4527, 111, 82365, 23, 20763, 334, 10644, 81450, 93136, 14202, 3742, 2041, 1430, 12724, 19725, 2646, 441, 67756, 196707, 15363, 46673, 503, 864, 408, 96190, 78219, 4785, 55681, 136, 712, 128405, 51654, 86827, 28568, 46994, 13...
[ 0.04742431640625, 0.06756591796875, 0.04595947265625, 0.1759033203125, 0.0516357421875, 0.280029296875, 0.064208984375, 0.123291015625, 0.2073974609375, 0.164306640625, 0.2154541015625, 0.1458740234375, 0.05206298828125, 0.019317626953125, 0.1715087890625, 0.22412109375, 0.1654052734...
embed
7095620_c0
7095620
fsharp
0
Title: Propagating optional arguments Problem title: Propagating optional arguments Tags: f%23, inheritance, optional-arguments Problem: Propagating optional arguments The following code does not compile. type A(?arg) = member __.Arg : string option = arg type B(?arg) = inherit A(arg) //ERROR expected type string but h...
Propagating optional arguments Propagating optional arguments f%23 inheritance optional-arguments Propagating __.Arg ERROR Some None Propagating optional arguments The following code does not compile. I assume this is because an instance of the underlying type of the option must be provided, and the compiler handles pa...
[ 0.023193359375, 0.003173828125, 0.002471923828125, 0.0101318359375, -0.0264892578125, -0.0020751953125, 0.00103759765625, -0.008544921875, -0.007568359375, 0.029296875, -0.00897216796875, 0.00537109375, 0.01904296875, 0.0179443359375, 0.003448486328125, 0.007293701171875, 0.022094726...
[ 1250, 11902, 26518, 35829, 289, 10750, 1238, 3949, 3742, 23, 3334, 217, 155937, 5953, 7614, 177, 151206, 24638, 31384, 438, 86, 25632, 18151, 14602, 959, 9969, 1340, 41591, 6637, 110527, 111, 1379, 538, 10644, 8110, 62952, 34759, 34831, 452...
[ 0.097412109375, 0.2105712890625, 0.07232666015625, 0.2275390625, 0.1243896484375, 0.2393798828125, 0.038360595703125, 0.03948974609375, 0.121826171875, 0.0028076171875, 0.112060546875, 0.041015625, 0.19482421875, 0.03192138671875, 0.0941162109375, 0.05865478515625, 0.1292724609375, ...
embed
5277902_c0
5277902
fsharp
0
Title: printf style logging for f# Problem title: printf style logging for f# Tags: f%23 Problem: printf style logging for f# How do i setup a printf-style logger for f# using logging library similar to log4net. i have Log.Debug, Info, Warn, etc. functions that are similar to DebugFormat or InfoFormat in log4net. i tri...
printf style logging for f# printf style logging for f# f%23 Printf.kprintf printf style logging for f# How do i setup a printf-style logger for f# using logging library similar to log4net. i have Log.Debug, Info, Warn, etc. functions that are similar to DebugFormat or InfoFormat in log4net. i tried to setup type exten...
[ 0.006011962890625, 0.0242919921875, 0.027099609375, 0.00238037109375, 0.00067901611328125, -0.0177001953125, 0.004608154296875, 0.0084228515625, 0.01220703125, -0.0047607421875, 0.031982421875, -0.007415771484375, 0.005615234375, -0.02685546875, 0.0162353515625, 0.003997802734375, -0...
[ 28412, 420, 20623, 459, 36659, 100, 1238, 4904, 3742, 39754, 92, 35662, 17, 169581, 40946, 73088, 42, 35773, 1294, 21373, 12684, 617, 1179, 13146, 4657, 85779, 14048, 5550, 32354, 262, 102973, 10644, 111938, 18507, 11782, 3584, 31, 189534, ...
[ 0.1893310546875, 0.1937255859375, 0.2091064453125, 0.1490478515625, 0.118896484375, 0.0694580078125, 0.13330078125, 0.187744140625, 0.0894775390625, 0.18017578125, 0.0212249755859375, 0.1396484375, 0.0013427734375, 0.1546630859375, 0.2001953125, 0.1728515625, 0.1207275390625, 0.101...
embed
64413151_c0
64413151
fsharp
0
Title: Operator overloading / support discriminated unions in F# Problem title: Operator overloading / support discriminated unions in F# Tags: operator-overloading, overloading, f%23, discriminated-union Problem: Operator overloading / support discriminated unions in F# I have a discriminated union (tagged value) whic...
Operator overloading / support discriminated unions in F# Operator overloading / support discriminated unions in F# operator-overloading overloading f%23 discriminated-union Operator Degree MinusInf Fin Operator overloading / support discriminated unions in F# I have a discriminated union (tagged value) which is suppos...
[ -0.00799560546875, -0.00482177734375, 0.0216064453125, 0.01409912109375, -0.0042724609375, -0.022216796875, 0.01019287109375, 0.0169677734375, 0.0218505859375, -0.01220703125, 0.01409912109375, -0.017822265625, 0.018798828125, -0.0091552734375, -0.0086669921875, -0.0024261474609375, ...
[ 150922, 645, 63033, 214, 8060, 55970, 3674, 69941, 563, 4904, 39933, 5465, 1238, 3949, 3742, 87046, 262, 7134, 24169, 7, 420, 13316, 765, 102, 134229, 34292, 134598, 33636, 79385, 35874, 1687, 15403, 32354, 76199, 70, 9655, 3642, 831, 3249,...
[ 0.23095703125, 0.1163330078125, 0.1951904296875, 0.004119873046875, 0.1776123046875, 0.2064208984375, 0.0477294921875, 0.1995849609375, 0.12060546875, 0.2086181640625, 0.2115478515625, 0.10369873046875, 0.0689697265625, 0.0287017822265625, 0.133544921875, 0.1287841796875, 0.022857666...
embed