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
48043139_c0
48043139
fsharp
0
Title: Generate Json array by FsCheck Problem title: Generate Json array by FsCheck Tags: fscheck, f%23, json Problem: Generate Json array by FsCheck I'm new to FsCheck and I need an array of json to perform my tests. I want a simple solution like the following: let commaSeparated = Gen.arrayOf Arb.generate<string> |> ...
Generate Json array by FsCheck Generate Json array by FsCheck fscheck f%23 json Generate Json FsCheck Gen.arrayOf Arb.generate Gen.fold Gen.finalValueOf StringExtensions.skipLastChar Arb.from Generate Json array by FsCheck I'm new to FsCheck and I need an array of json to perform my tests. I want a simple solution like...
[ -0.009033203125, -0.00592041015625, -0.03125, 0.01080322265625, -0.0341796875, 0.004669189453125, 0.01068115234375, 0.005340576171875, -0.00022792816162109375, -0.01470947265625, 0.0033111572265625, 0.0252685546875, 0.0096435546875, 0.006256103515625, 0.002777099609375, -0.005859375, ...
[ 155370, 67, 821, 1681, 10298, 53, 390, 563, 7, 202567, 1238, 78292, 3949, 3742, 1647, 15937, 19305, 132887, 1172, 275, 48281, 42822, 33870, 856, 50770, 23351, 128872, 44024, 2729, 84068, 161063, 3525, 3871, 111, 51339, 109921, 8781, 29806, ...
[ 0.1573486328125, 0.041259765625, 0.157470703125, 0.2203369140625, 0.16015625, 0.1435546875, 0.0771484375, 0.1363525390625, 0.09521484375, 0.296875, 0.121826171875, 0.281982421875, 0.013580322265625, 0.1221923828125, 0.1092529296875, 0.1480712890625, 0.09954833984375, 0.182739257812...
embed
48243862_c1
48243862
fsharp
1
rames.[0].Metadata :?> BitmapMetadata let data = met.GetQuery (MetaKey) let res = match data with | null -> None | obj -> Some <| obj.ToString () stm.Close () res Code signals: Write, PNG, MetaKey, System.IO, System.Text, System.Security.Cryptography, System.Windows.Media.Imaging, Description, WriteMeta, FileStream, Fi...
rames.[0].Metadata :?> BitmapMetadata let data = met.GetQuery (MetaKey) let res = match data with | null -> None | obj -> Some <| obj.ToString () stm.Close () res Code signals: Write, PNG, MetaKey, System.IO, System.Text, System.Security.Cryptography, System.Windows.Media.Imaging, Description, WriteMeta, FileStream, Fi...
[ 0.015380859375, 0.0380859375, -0.006378173828125, 0.006805419921875, -0.000743865966796875, -0.01470947265625, 0.01397705078125, -0.0026397705078125, -0.00164794921875, 0.00010633468627929688, 0.006378173828125, 0.0096435546875, 0.01190185546875, -0.030517578125, 0.01031494140625, 0.01...
[ 13969, 90, 2389, 6696, 8656, 102, 27774, 62346, 2633, 2053, 435, 724, 126, 41732, 1294, 162429, 3332, 14858, 56574, 438, 995, 170, 31384, 7763, 71713, 6138, 39, 59453, 28864, 26073, 601, 18781, 436, 8066, 36939, 12353, 5, 17780, 174379, 4...
[ 0.1719970703125, 0.2108154296875, 0.08154296875, 0.1527099609375, 0.1231689453125, 0.17041015625, 0.1282958984375, 0.1805419921875, 0.1331787109375, 0.1524658203125, 0.179931640625, 0.0218505859375, 0.07568359375, 0.1268310546875, 0.051788330078125, 0.254638671875, 0.1827392578125, ...
embed
25723416_c1
25723416
fsharp
1
, _ : Succ<'a>, _ : Succ<'b>, _) = fun () -> Inline.instance(Add, Unchecked.defaultof<Succ<Succ<'a>>>, Unchecked.defaultof<'b>) () And as far as I can tell, this should work. Shouldn't it? But it doesn't. I get an error on the Inline.instance call saying the ambiguity can't be resolved with the information given prior ...
, _ : Succ<'a>, _ : Succ<'b>, _) = fun () -> Inline.instance(Add, Unchecked.defaultof<Succ<Succ<'a>>>, Unchecked.defaultof<'b>) () And as far as I can tell, this should work. Shouldn't it? But it doesn't. I get an error on the Inline.instance call saying the ambiguity can't be resolved with the information given prior ...
[ -0.00982666015625, -0.00665283203125, 0.007598876953125, 0.0166015625, -0.01458740234375, 0.0125732421875, 0.001373291015625, -0.027099609375, 0.00128936767578125, -0.0177001953125, 0.01068115234375, -0.00170135498046875, 0.00909423828125, 0.0091552734375, 0.02099609375, -0.02380371093...
[ 1832, 10060, 11, 7477, 360, 2256, 73, 116071, 4028, 992, 78292, 214810, 4390, 14168, 903, 5608, 4488, 151117, 22027, 18, 18499, 11782, 920, 12282, 2481, 831, 103608, 678, 4677, 34475, 41928, 6275, 959, 23, 32354, 1927, 122776, 10644, 14373,...
[ 0.1651611328125, 0.21923828125, 0.061187744140625, 0.2388916015625, 0.1009521484375, 0.2069091796875, 0.037689208984375, 0.20068359375, 0.14892578125, 0.083984375, 0.2015380859375, 0.2066650390625, 0.2059326171875, 0.129150390625, 0.07183837890625, 0.04193115234375, 0.0953369140625, ...
embed
2793344_c0
2793344
fsharp
0
Title: Tacit programming style using F# Problem title: Tacit programming style using F# Tags: f%23, tacit-programming Problem: Tacit programming style using F# It's not a practically important issue, but I'd like to see an example of tacit programming in F# where my point-free functions can have multiple arguments (not...
Tacit programming style using F# Tacit programming style using F# f%23 tacit-programming F# Tacit Tacit programming style using F# It's not a practically important issue, but I'd like to see an example of tacit programming in F# where my point-free functions can have multiple arguments (not in form of a list or tuple)....
[ 0.0142822265625, -0.0142822265625, 0.00238037109375, 0.032470703125, 0, 0.00077056884765625, 0.0361328125, -0.00433349609375, 0.00555419921875, -0.022216796875, 0.0003719329833984375, -0.00665283203125, 0.0004425048828125, 0.0255126953125, -0.0133056640625, 0.003692626953125, 0.01367...
[ 1218, 12645, 56037, 20623, 17368, 563, 4904, 1238, 3949, 3742, 308, 28966, 449, 138155, 5526, 31089, 1884, 1957, 27781, 23, 759, 6275, 32087, 32354, 831, 765, 48716, 10750, 10869, 3173, 5303, 8705, 6044, 45258, 67, 27140, 2053, 45646, 31577...
[ 0.175048828125, 0.2469482421875, 0.1763916015625, 0.19775390625, 0.052032470703125, 0.1666259765625, 0.2119140625, 0.09814453125, 0.0258331298828125, 0.12353515625, 0.1669921875, 0.14892578125, 0.0684814453125, 0.04656982421875, 0.023773193359375, 0.040496826171875, 0.024261474609375...
embed
36628655_c0
36628655
fsharp
0
Title: Deploy FSLab XPlot Graphics to Web Problem title: Deploy FSLab XPlot Graphics to Web Tags: wordpress, fslab, f%23, azure Problem: Deploy FSLab XPlot Graphics to Web I'm interested in deploying interactive graphics built with FSLabs XPlot wrappers around plot.ly and google charts to wordpress, xamarin and good ol...
Deploy FSLab XPlot Graphics to Web Deploy FSLab XPlot Graphics to Web wordpress fslab f%23 azure Deploy FSLab XPlot Graphics Web Deploy FSLab XPlot Graphics to Web I'm interested in deploying interactive graphics built with FSLabs XPlot wrappers around plot.ly and google charts to wordpress, xamarin and good old web pl...
[ 0.01416015625, 0.008544921875, 0.005157470703125, -0.01153564453125, -0.0291748046875, 0.0244140625, 0.00506591796875, -0.025634765625, 0.0078125, 0.03857421875, 0.017333984375, -0.01806640625, 0.008544921875, 0.00531005859375, -0.004364013671875, 0.0262451171875, 0.01214599609375, ...
[ 262, 13158, 53, 93774, 97381, 45005, 12631, 189682, 7, 47, 4002, 49863, 1238, 6114, 3949, 3742, 295, 3408, 60892, 8, 38543, 212398, 48461, 88303, 137565, 21777, 10932, 23577, 538, 26484, 116287, 2459, 44503, 4127, 10332, 1467, 13651, 209806, ...
[ 0.064453125, 0.1568603515625, 0.049713134765625, 0.1729736328125, 0.265625, 0.08544921875, 0.2366943359375, 0.232421875, 0.09320068359375, 0.1334228515625, 0.142333984375, 0.1751708984375, 0.047607421875, 0.1910400390625, 0.016937255859375, 0.090576171875, 0.052093505859375, 0.1387...
embed
12332627_c0
12332627
fsharp
0
Title: Pipelining to find an element at an index Problem title: Pipelining to find an element at an index Tags: functional-programming, f%23, sequence, pipelined-function Problem: Pipelining to find an element at an index I would like to do the following in F#: let index = 5 let sequence = [0..10] let fifthElement = se...
Pipelining to find an element at an index Pipelining to find an element at an index functional-programming f%23 sequence pipelined-function Pipelining Pipelining to find an element at an index I would like to do the following in F#: However, the last line is invalid. What I'd like to do is to actually retrieve the elem...
[ -0.013427734375, 0.01348876953125, 0.0035858154296875, -0.00160980224609375, -0.0155029296875, -0.0198974609375, -0.005615234375, 0.008056640625, -0.0126953125, -0.045166015625, 0.00860595703125, 0.005401611328125, -0.01953125, 0.0274658203125, -0.0022125244140625, -0.0142822265625, ...
[ 3065, 26338, 592, 47, 7413, 12830, 99, 63262, 142, 123309, 28966, 1238, 3949, 3742, 944, 137158, 2256, 71, 137175, 1884, 54, 25632, 23, 563, 4904, 33306, 4568, 13315, 83, 56649, 20653, 456, 3996, 3134, 111, 190, 40, 3956, 20594, 44691, ...
[ 0.164794921875, 0.2318115234375, 0.164306640625, 0.064208984375, 0.1700439453125, 0.2205810546875, 0.1802978515625, 0.25244140625, 0.0279693603515625, 0.1566162109375, 0.103759765625, 0.0648193359375, 0.0207977294921875, 0.1475830078125, 0.09814453125, 0.228515625, 0.1859130859375, ...
embed
28569741_c0
28569741
fsharp
0
Title: HOWTO Fix Exception Hell in List.head if list is empty Problem title: HOWTO Fix Exception Hell in List.head if list is empty Tags: f%23-interactive, f%23, f%23-3.0 Problem: HOWTO Fix Exception Hell in List.head if list is empty I need to pass head of a list to List.fold. What is the functional solution to handle...
HOWTO Fix Exception Hell in List.head if list is empty HOWTO Fix Exception Hell in List.head if list is empty f%23-interactive f%23 f%23-3.0 ArgumentException HOWTO Fix Exception Hell List.head List.fold HOWTO Fix Exception Hell in List.head if list is empty I need to pass head of a list to List.fold. What is the funct...
[ -0.0054931640625, 0.00018978118896484375, 0.0174560546875, 0.00482177734375, -0.01007080078125, 0.004364013671875, -0.0017852783203125, -0.001800537109375, 0.00811767578125, -0.020263671875, 0.02197265625, 0.01336669921875, -0.01092529296875, 0.024658203125, 0.034423828125, -0.04052734...
[ 21997, 150042, 96746, 5443, 63928, 43153, 23, 32036, 31251, 2174, 5303, 83, 201505, 27495, 10433, 71232, 1238, 3742, 132265, 112140, 19279, 42822, 5, 3871, 27875, 10336, 111, 47, 123309, 29806, 34831, 35064, 7225, 130625, 7, 32354, 14858, 103...
[ 0.119140625, 0.232177734375, 0.1380615234375, 0.06304931640625, 0.16455078125, 0.198974609375, 0.0616455078125, 0.2249755859375, 0.2073974609375, 0.08642578125, 0.2239990234375, 0.0770263671875, 0.257568359375, 0.004638671875, 0.042236328125, 0.028472900390625, 0.00189208984375, 0....
embed
45553650_c1
45553650
fsharp
1
, I like first option, cause this actions don't change the model) Is it correct way (the first, obvious) to do these things or library contains more fitting function ? P.S. I looked for Observable.concat [info; stat; input; ...] but wasn't catch lucky. Code signals: buttons, Gjallarhorn, Action, Show, Open, Input, Chan...
, I like first option, cause this actions don't change the model) Is it correct way (the first, obvious) to do these things or library contains more fitting function ? P.S. I looked for Observable.concat [info; stat; input; ...] but wasn't catch lucky. Code signals: buttons, Gjallarhorn, Action, Show, Open, Input, Chan...
[ -0.0245361328125, 0.0252685546875, 0.0019683837890625, 0.02294921875, 0.010009765625, -0.006317138671875, 0.0004138946533203125, 0.00384521484375, 0.025390625, -0.04150390625, 0.001495361328125, -0.0059814453125, 0.006683349609375, 0.0257568359375, 0.0130615234375, -0.00067520141601562...
[ 87, 1884, 5117, 35829, 22304, 903, 61972, 2301, 18, 15549, 3299, 26785, 3917, 162520, 54, 6097, 8966, 35773, 1294, 70541, 1286, 809, 32354, 87652, 2661, 2271, 4460, 7319, 13254, 107730, 105556, 138009, 28864, 26073, 7, 77679, 5457, 320, 517...
[ 0.06298828125, 0.1854248046875, 0.11962890625, 0.21923828125, 0.048492431640625, 0.0853271484375, 0.205322265625, 0.03955078125, 0.0897216796875, 0.1483154296875, 0.2269287109375, 0.1334228515625, 0.1097412109375, 0.193359375, 0.0875244140625, 0.0897216796875, 0.10003662109375, 0.1...
embed
61143180_c0
61143180
fsharp
0
Title: Extracting the name of a variable Problem title: Extracting the name of a variable Tags: f%23, functional-programming Problem: Extracting the name of a variable How can we build a function in F# that outputs the name of the variable passed in? For example: let someVar1 = "x" getVarname someVar1 //output would be...
Extracting the name of a variable Extracting the name of a variable f%23 functional-programming Extracting someVar1 someVar2 Extracting the name of a variable How can we build a function in F# that outputs the name of the variable passed in? For example: I found a similar question in C# here ( get name of a variable or...
[ 0.0341796875, -0.00927734375, 0.0018768310546875, 0.022705078125, 0.00616455078125, 0.005767822265625, -0.003692626953125, 0.0198974609375, -0.00982666015625, -0.01214599609375, 0.00555419921875, -0.01287841796875, -0.0201416015625, -0.0031585693359375, -0.003326416015625, 0.0061645507...
[ 31501, 238, 1916, 70, 9351, 77336, 111, 1238, 3949, 3742, 123309, 28966, 3060, 81827, 418, 304, 11249, 831, 642, 45367, 32354, 23, 563, 4904, 140992, 7, 115081, 27781, 21373, 9655, 3688, 2046, 707, 171859, 51, 2886, 4488 ]
[ 0.20556640625, 0.1165771484375, 0.07427978515625, 0.045501708984375, 0.1939697265625, 0.269775390625, 0.09521484375, 0.07470703125, 0.031097412109375, 0.1142578125, 0.1226806640625, 0.07452392578125, 0.047607421875, 0.169677734375, 0.029022216796875, 0.082275390625, 0.01300048828125,...
embed
10556280_c0
10556280
fsharp
0
Title: pipe record to object param list Problem title: pipe record to object param list Tags: f%23 Problem: pipe record to object param list Given i have the type: type NewsMessage(identifier:string, headline:string) and this record: type NewsMessageParams = { identifier:string headline:string } Is there an implicit wa...
pipe record to object param list pipe record to object param list f%23 NewsMessage identifier:string headline:string NewsMessageParams pipe record to object param list Given i have the type: and this record: Is there an implicit way to adapt the record into the class constructor? Something like so: You can do this with...
[ -0.01177978515625, -0.005828857421875, -0.02392578125, 0.04052734375, -0.003936767578125, 0.0118408203125, -0.0257568359375, 0.0042724609375, -0.00128936767578125, -0.03515625, 0.007568359375, -0.006927490234375, 0.03125, -0.00665283203125, -0.001953125, -0.03271484375, 0.02319335937...
[ 137158, 17164, 47, 36746, 121, 39, 5303, 1238, 3949, 3742, 1833, 594, 6011, 42485, 91693, 10336, 2256, 28636, 8256, 77878, 70, 10644, 12, 903, 2685, 165164, 3917, 39908, 3934, 18507, 64549, 748, 1884, 221, 831, 54, 678, 370, 99726, 17368,...
[ 0.26123046875, 0.287353515625, 0.1412353515625, 0.253173828125, 0.1807861328125, 0.146484375, 0.2357177734375, 0.036163330078125, 0.00274658203125, 0.1221923828125, 0.1502685546875, 0.05377197265625, 0.1279296875, 0.16455078125, 0.1080322265625, 0.07501220703125, 0.073486328125, 0....
embed
49940649_c0
49940649
fsharp
0
Title: Resolving F# assembly references Problem title: Resolving F# assembly references Tags: visual-studio, azure-functions, f%23, nuget, rider Problem: Resolving F# assembly references In both Rider and Visual Studio, I'm having issues getting F# to recognise the Newtonsoft.Json dependency. I have in import of #r "Ne...
Resolving F# assembly references Resolving F# assembly references visual-studio azure-functions f%23 nuget rider Resolving Newtonsoft.Json Resolving F# assembly references In both Rider and Visual Studio, I'm having issues getting F# to recognise the Newtonsoft.Json dependency. I have in import of #r "Newtonsoft.Json" ...
[ -0.01470947265625, 0.0166015625, 0.0023651123046875, 0.004486083984375, 0.0123291015625, -0.00933837890625, -0.0126953125, -0.0001201629638671875, -0.013671875, 0.0196533203125, -0.0021514892578125, 0.01336669921875, 0.0057373046875, 0.0196533203125, 0.0302734375, -0.015380859375, 0....
[ 853, 132944, 563, 4904, 89845, 38526, 91067, 21176, 52629, 295, 3408, 137175, 1238, 3949, 3742, 315, 3794, 171503, 145076, 61306, 1375, 1681, 41231, 56, 136, 73372, 22968, 37348, 75530, 184, 5, 42548, 27771, 24927, 42, 46568, 1507, 1429, 72...
[ 0.011962890625, 0.142822265625, 0.1380615234375, 0.201171875, 0.1416015625, 0.005096435546875, 0.2279052734375, 0.15185546875, 0.124267578125, 0.053802490234375, 0.1466064453125, 0.1339111328125, 0.056243896484375, 0.01220703125, 0.0634765625, 0.1114501953125, 0.1700439453125, 0.18...
embed
34374183_c1
34374183
fsharp
1
let j = rnd.Next(i, n-1) swap i j xArray xArray |> Seq.toList let deal = function | card1::card2::remaining -> Some(card1, card2), remaining | _ -> None, [];; let getFirstCard (hand:Card*Card) = function | card1, card2 -> card1 let hand, deckRemaining = deal (shuffle deck);; let someCard = getFirstCard hand Code signa...
let j = rnd.Next(i, n-1) swap i j xArray xArray |> Seq.toList let deal = function | card1::card2::remaining -> Some(card1, card2), remaining | _ -> None, [];; let getFirstCard (hand:Card*Card) = function | card1, card2 -> card1 let hand, deckRemaining = deal (shuffle deck);; let someCard = getFirstCard hand Code signa...
[ 0.008544921875, 0.0152587890625, 0.01556396484375, -0.004486083984375, 0.0054931640625, -0.00811767578125, 0.00180816650390625, -0.0277099609375, 0.011962890625, -0.004638671875, 0.0255126953125, 0.056884765625, -0.017578125, 0.0042724609375, 0.002593994140625, -0.0048828125, 0.02465...
[ 2633, 1647, 2203, 2208, 81280, 14, 653, 110218, 202317, 17, 1022, 7614, 7092, 6, 503, 864, 5, 188, 154663, 35142, 32354, 20596, 82825, 38931, 304, 107, 192, 14653, 31384, 10461, 47143, 214, 2046, 207263, 156119, 12336, 1639, 3535, 8, 2594...
[ 0.1634521484375, 0.1759033203125, 0.038909912109375, 0.0928955078125, 0.1513671875, 0.054473876953125, 0.04718017578125, 0.1334228515625, 0.27001953125, 0.042694091796875, 0.0296630859375, 0.1263427734375, 0.199462890625, 0.002899169921875, 0.0880126953125, 0.1416015625, 0.0022583007...
embed
58816997_c1
58816997
fsharp
1
vast knowledge of F#, especially not their in build functions. CODE // Types type wordHistogram = (string * int) list type wordCooccurrences = (string * wordHistogram) list let diffw2 (c1 : wordCooccurrences) (c2 : wordCooccurrences) : double = let mutable res = 0 let z1, z2 = c1 |> List.unzip let z3, z4 = c2 |> List....
vast knowledge of F#, especially not their in build functions. CODE // Types type wordHistogram = (string * int) list type wordCooccurrences = (string * wordHistogram) list let diffw2 (c1 : wordCooccurrences) (c2 : wordCooccurrences) : double = let mutable res = 0 let z1, z2 = c1 |> List.unzip let z3, z4 = c2 |> List....
[ -0.006744384765625, -0.00160980224609375, -0.01806640625, 0.035888671875, 0.015869140625, -0.0004596710205078125, -0.0096435546875, -0.007232666015625, 0.0030364990234375, -0.009033203125, 0.0038299560546875, 0.0205078125, 0.038330078125, -0.0123291015625, -0.0036468505859375, -0.00219...
[ 18410, 51359, 111, 563, 4904, 41866, 959, 2363, 45367, 32354, 8244, 8399, 4666, 60457, 10644, 2565, 841, 1419, 83814, 91693, 23, 18, 5303, 10625, 6652, 64240, 69098, 2633, 71337, 434, 304, 418, 41929, 842, 22819, 3332, 757, 97, 32036, 5, ...
[ 0.129638671875, 0.177001953125, 0.044158935546875, 0.13232421875, 0.223876953125, 0.031036376953125, 0.049957275390625, 0.0294952392578125, 0.17431640625, 0.1265869140625, 0.1859130859375, 0.1600341796875, 0.01190185546875, 0.2235107421875, 0.187744140625, 0.17919921875, 0.1068115234...
embed
4007300_c0
4007300
fsharp
0
Title: Async socket programming and F# Problem title: Async socket programming and F# Tags: sockets, f%23, asynchronous, c%23, c%23-to-f%23 Problem: Async socket programming and F# I have a WCF service, which works with sockets async, I have some performance issue so I decided to refactor the code, I read some articles...
Async socket programming and F# Async socket programming and F# sockets f%23 asynchronous c%23 c%23-to-f%23 Async Async socket programming and F# I have a WCF service, which works with sockets async, I have some performance issue so I decided to refactor the code, I read some articles about the ease of use of F# for as...
[ 0.00250244140625, 0.01202392578125, 0.0033111572265625, -0.01055908203125, 0.0078125, -0.005157470703125, 0.00592041015625, 0.011474609375, -0.003936767578125, -0.006561279296875, 0.01531982421875, 0.01171875, 0.0145263671875, -0.00433349609375, 0.015869140625, -0.007659912109375, 0....
[ 62, 12654, 238, 221, 27853, 56037, 136, 563, 4904, 1238, 3742, 101966, 27495, 188, 420, 37808, 919, 4516, 43240, 10, 23718, 31089, 456, 144810, 18151, 12301, 38440, 6991, 4527, 6024, 86997, 21647, 11522, 95103, 8780, 6863, 23468, 146731, 21...
[ 0.029205322265625, 0.1976318359375, 0.0693359375, 0.08538818359375, 0.169921875, 0.1419677734375, 0.03924560546875, 0.1365966796875, 0.2353515625, 0.04571533203125, 0.07733154296875, 0.145263671875, 0.0904541015625, 0.0811767578125, 0.061187744140625, 0.11376953125, 0.1417236328125, ...
embed
45879292_c0
45879292
fsharp
0
Title: How do I split a string into a List of chars in F sharp Problem title: How do I split a string into a List of chars in F sharp Tags: f%23, f%23-interactive Problem: How do I split a string into a List of chars in F sharp How do I split string into a list of chars in F sharp for example if I want to split the wor...
How do I split a string into a List of chars in F sharp How do I split a string into a List of chars in F sharp f%23 f%23-interactive How List Hello text:string How do I split a string into a List of chars in F sharp How do I split string into a list of chars in F sharp for example if I want to split the word "Hello" i...
[ 0.003021240234375, -0.0079345703125, 0.00775146484375, 0.01416015625, -0.017578125, 0.0198974609375, -0.00052642822265625, -0.005615234375, -0.00634765625, -0.0028533935546875, 0.005859375, -0.00958251953125, -0.0234375, 0.0155029296875, 0.010498046875, 0.01458740234375, -0.001464843...
[ 11249, 87, 65450, 79315, 3934, 32036, 111, 21441, 7, 23, 563, 189173, 10, 1238, 3742, 27495, 10433, 35378, 7986, 91693, 5303, 3444, 2565, 841, 13817, 17, 37842, 46474, 58745, 96819, 171859, 75, 27875, 959, 4488 ]
[ 0.057220458984375, 0.023468017578125, 0.2353515625, 0.251708984375, 0.1456298828125, 0.1533203125, 0.06072998046875, 0.2042236328125, 0.090087890625, 0.06817626953125, 0.179443359375, 0.229736328125, 0.03216552734375, 0.0711669921875, 0.079833984375, 0.012054443359375, 0.024749755859...
embed
4117667_c0
4117667
fsharp
0
Title: F# pattern matching of .Net constants Problem title: F# pattern matching of .Net constants Tags: f%23, pattern-matching Problem: F# pattern matching of .Net constants The code in the next example, open System.Drawing let testColor c = match c with | Color.Black -> 1 | Color.White -> 0 | _ -> failwith "unexpected...
F# pattern matching of .Net constants F# pattern matching of .Net constants f%23 pattern-matching Net System.Drawing Color.Black Color.White Error Black F# pattern matching of .Net constants The code in the next example, doesn't compile. The error is Error 1 The field, constructor or member 'Black' is not defined . How...
[ -0.0216064453125, 0.007476806640625, -0.016357421875, -0.0111083984375, 0.0126953125, -0.010986328125, -0.01348876953125, 0.033447265625, -0.00933837890625, 0.0089111328125, 0.00032806396484375, 0.0306396484375, 0.0140380859375, -0.00022029876708984375, 0.01190185546875, -0.00047111511...
[ 563, 4904, 103510, 14858, 5, 24447, 53697, 1238, 3949, 3742, 98753, 10086, 12353, 219, 14775, 51193, 97732, 173473, 212059, 10074, 18151, 11737, 27781, 22027, 18, 9969, 1340, 18499, 106, 44457, 64549, 748, 707, 32786, 83, 959, 61924, 11249, ...
[ 0.1566162109375, 0.2171630859375, 0.240966796875, 0.2264404296875, 0.0305023193359375, 0.162841796875, 0.1875, 0.09771728515625, 0.006011962890625, 0.1253662109375, 0.192138671875, 0.109130859375, 0.0838623046875, 0.05224609375, 0.021270751953125, 0.1234130859375, 0.2071533203125, ...
embed
44440694_c0
44440694
fsharp
0
Title: How to use methods to set a property in the default constructor in F# Problem title: How to use methods to set a property in the default constructor in F# Tags: f%23 Problem: How to use methods to set a property in the default constructor in F# I am trying to write a constructor that suppose to call method defin...
How to use methods to set a property in the default constructor in F# How to use methods to set a property in the default constructor in F# f%23 How Test Value SomeLogic this.Value How to use methods to set a property in the default constructor in F# I am trying to write a constructor that suppose to call method define...
[ 0.0029296875, 0.005767822265625, 0.032470703125, 0.00439453125, -0.01141357421875, -0.0096435546875, 0.00909423828125, -0.0235595703125, 0.003082275390625, -0.01104736328125, -0.005523681640625, 0.0135498046875, 0.007476806640625, 0.00010251998901367188, 0.00193023681640625, -0.0053710...
[ 11249, 4527, 150624, 5423, 57266, 23, 114977, 64549, 748, 563, 4904, 47, 10, 1238, 3949, 3742, 8647, 190060, 31384, 113972, 1771, 903, 856, 50770, 70, 31577, 33022, 139124, 11782, 55300, 61924, 71, 18507, 95486, 16750, 32786, 313, 186, 1884...
[ 0.046966552734375, 0.154296875, 0.28955078125, 0.197021484375, 0.259765625, 0.0833740234375, 0.279541015625, 0.187744140625, 0.1429443359375, 0.1431884765625, 0.2113037109375, 0.044281005859375, 0.0251312255859375, 0.0638427734375, 0.02117919921875, 0.131103515625, 0.1319580078125, ...
embed
30144818_c0
30144818
fsharp
0
Title: How to declare an array of objects in F#? Problem title: How to declare an array of objects in F#? Tags: .net, f%23 Problem: How to declare an array of objects in F#? I have this declaration of an array in C#: object[] objects = { "myString", 12, 2.06, null, "otherString" }; Now I want to declare a similar array...
How to declare an array of objects in F#? How to declare an array of objects in F#? .net f%23 How How to declare an array of objects in F#? I have this declaration of an array in C#: Now I want to declare a similar array in F#, so I try: But this gives me compile errors: "This expression was expected to have type strin...
[ 0.0245361328125, 0.0006103515625, -0.01611328125, 0.011962890625, -0.0107421875, -0.006011962890625, -0.0247802734375, -0.000957489013671875, -0.00118255615234375, 0.0081787109375, 0.0062255859375, -0.0267333984375, 0.001739501953125, -0.00958251953125, 0.00439453125, -0.0167236328125,...
[ 11249, 47, 159978, 10298, 53, 111, 36746, 7, 23, 563, 4904, 142, 1179, 1238, 3949, 3742, 21635, 1363, 313, 21373, 9790, 9969, 1340, 18499, 73243, 125195, 84751, 765, 10644, 79315, 1284, 3688, 1556, 18, 21917, 257, 142424, 427, 787, 20773,...
[ 0.0738525390625, 0.052825927734375, 0.24951171875, 0.2308349609375, 0.197998046875, 0.10498046875, 0.212158203125, 0.08245849609375, 0.077392578125, 0.1658935546875, 0.228515625, 0.011077880859375, 0.1158447265625, 0.1099853515625, 0.004608154296875, 0.1622314453125, 0.1748046875, ...
embed
34598503_c0
34598503
fsharp
0
Title: How use Roslyn Scripting in OSX with F#? Problem title: How use Roslyn Scripting in OSX with F#? Tags: roslyn, f%23, .net-4.5, macos, scripting Problem: How use Roslyn Scripting in OSX with F#? I'm getting confusing with the pletora of assemblies that I get from nuget related to Roslyn. I have last version of xa...
How use Roslyn Scripting in OSX with F#? How use Roslyn Scripting in OSX with F#? roslyn f%23 .net-4.5 macos scripting How Roslyn Scripting OSX net-4.5 How use Roslyn Scripting in OSX with F#? I'm getting confusing with the pletora of assemblies that I get from nuget related to Roslyn. I have last version of xamarin wi...
[ -0.010986328125, 0.01806640625, -0.0106201171875, 0.01409912109375, -0.005096435546875, 0.006805419921875, 0.030029296875, -0.00958251953125, -0.0008544921875, -0.0019073486328125, 0.003814697265625, -0.007598876953125, 0.00616455078125, 0.01043701171875, 0.01544189453125, -0.012390136...
[ 11249, 4527, 12015, 12536, 84654, 214, 23, 11787, 1542, 678, 563, 4904, 19429, 1238, 3949, 3742, 1179, 104867, 7840, 26499, 2043, 55681, 6221, 29619, 89845, 7121, 315, 3794, 62548, 4568, 11389, 2459, 44503, 17777, 60061, 60641, 32599, 2831, ...
[ 0.0897216796875, 0.136962890625, 0.1890869140625, 0.249267578125, 0.2198486328125, 0.137939453125, 0.03607177734375, 0.1484375, 0.155517578125, 0.07720947265625, 0.130615234375, 0.1917724609375, 0.1331787109375, 0.0684814453125, 0.014556884765625, 0.083984375, 0.059661865234375, 0....
embed
6334104_c1
6334104
fsharp
1
then use the windows API to play this array? I don't really want to use DirectShow because Microsoft has pretty much left it to die now EDIT2: thanks for all the answers. After looking at all the technologies I will either use XNA 4(I spent a while trawling the internet and found this site which explains how to do it)...
then use the windows API to play this array? I don't really want to use DirectShow because Microsoft has pretty much left it to die now EDIT2: thanks for all the answers. After looking at all the technologies I will either use XNA 4(I spent a while trawling the internet and found this site which explains how to do it)...
[ -0.0140380859375, 0.022216796875, 0.0038909912109375, 0.01904296875, -0.021484375, 0.010009765625, 0.004241943359375, 0.0033111572265625, 0.00665283203125, -0.048828125, 0.00439453125, 0.0098876953125, 0.0155029296875, -0.0017852783203125, -0.0296630859375, 0.01446533203125, -0.00805...
[ 7068, 4527, 54825, 61687, 47, 11301, 903, 10298, 53, 25, 6183, 3444, 42666, 168660, 7244, 28875, 5045, 25737, 68, 5036, 172864, 304, 35166, 5, 16487, 118299, 87, 1221, 40101, 1193, 6691, 201, 1820, 1764, 73342, 3642, 54, 442, 3076, 43521,...
[ 0.0062255859375, 0.1546630859375, 0.168701171875, 0.2265625, 0.155029296875, 0.2159423828125, 0.1328125, 0.234375, 0.172607421875, 0.0217742919921875, 0.045257568359375, 0.095458984375, 0.1322021484375, 0.2342529296875, 0.12451171875, 0.0242767333984375, 0.010467529296875, 0.100097...
embed
30211149_c0
30211149
fsharp
0
Title: How can I dynamically unbox a value in F#? Problem title: How can I dynamically unbox a value in F#? Tags: f%23 Problem: How can I dynamically unbox a value in F#? I am trying to achieve the automatic/dynamic cast in the fourth line below: let a = 1 // type: int let b = box a // type: obj b.GetType() // System.I...
How can I dynamically unbox a value in F#? How can I dynamically unbox a value in F#? f%23 How b.GetType System.Int32 c1:int How can I dynamically unbox a value in F#? I am trying to achieve the automatic/dynamic cast in the fourth line below: The following would would work in the final line above BUT would require me ...
[ 0.018310546875, 0.0022430419921875, 0.0198974609375, 0.0247802734375, 0.0012969970703125, -0.009765625, -0.017578125, -0.000049114227294921875, 0.002899169921875, -0.000759124755859375, -0.0052490234375, -0.0020904541015625, -0.003570556640625, 0.0012054443359375, 0.00634765625, -0.010...
[ 11249, 831, 84079, 25958, 51, 11728, 34292, 23, 563, 4904, 10, 1238, 3742, 196707, 12353, 6460, 4288, 31577, 69307, 101038, 242554, 37702, 22759, 13315, 25632, 2806, 4488, 2704, 151654, 64209, 3714, 143726, 16188, 99255, 128489, 27494, 10644, ...
[ 0.06103515625, 0.06158447265625, 0.2005615234375, 0.12109375, 0.13232421875, 0.2802734375, 0.197021484375, 0.043609619140625, 0.1236572265625, 0.2017822265625, 0.0074462890625, 0.0178070068359375, 0.044921875, 0.206787109375, 0.0919189453125, 0.128173828125, 0.1058349609375, 0.0239...
embed
32683811_c0
32683811
fsharp
0
Title: F# : not sure how to start Problem title: F# : not sure how to start Tags: f%23 Problem: F# : not sure how to start Need help with this, Write a function, that takes 2 StraightLine and returns the intersecting point as a tuple (x,y) . If there is no solution, there shall be used an "Exception" Change your soluti...
F# : not sure how to start F# : not sure how to start f%23 Some F# : not sure how to start Need help with this, Write a function, that takes 2 StraightLine and returns the intersecting point as a tuple (x,y) . If there is no solution, there shall be used an "Exception" Change your solution in assignment "1", so instead...
[ 0.00958251953125, -0.022216796875, 0.01361083984375, -0.0015869140625, -0.0025634765625, -0.005340576171875, 0.0021514892578125, -0.0111083984375, 0.0186767578125, 0.002197265625, -0.0067138671875, 0.032470703125, -0.0034637451171875, -0.005035400390625, 0.00762939453125, 0.00946044921...
[ 563, 4904, 959, 9077, 3642, 47, 4034, 1238, 3949, 3742, 31384, 52889, 4358, 601, 18781, 32354, 51776, 116, 7832, 22553, 93232, 30646, 1940, 39797, 1916, 6275, 237, 370, 8705, 425, 4, 53, 4263, 2685, 110, 29806, 11814, 19279, 63928, 87377,...
[ 0.14453125, 0.2105712890625, 0.07891845703125, 0.14892578125, 0.07269287109375, 0.038726806640625, 0.18505859375, 0.1568603515625, 0.07763671875, 0.1915283203125, 0.1474609375, 0.010528564453125, 0.09661865234375, 0.030303955078125, 0.07861328125, 0.1910400390625, 0.09375, 0.144165...
embed
2295605_c0
2295605
fsharp
0
Title: F# pattern matching Problem title: F# pattern matching Tags: .net, pattern-matching, f%23 Problem: F# pattern matching I'm puzzled by how pattern matching works in F# for let . I'm using the Visual Studio 'F# interactive' window, F# version 1.9.7.8. Say we define a simple type: type Point = Point of int * int ;;...
F# pattern matching F# pattern matching .net pattern-matching f%23 Point FS0039 F# pattern matching I'm puzzled by how pattern matching works in F# for let . I'm using the Visual Studio 'F# interactive' window, F# version 1.9.7.8. Say we define a simple type: and the try to pattern match against values of Point using l...
[ -0.0103759765625, 0.00836181640625, -0.000865936279296875, -0.000324249267578125, 0.005126953125, -0.0002880096435546875, -0.0211181640625, 0.0152587890625, 0.009033203125, -0.0054931640625, 0.015380859375, -0.000020623207092285156, 0.01055908203125, -0.000736236572265625, 0.010437011718...
[ 563, 4904, 103510, 14858, 214, 1179, 98753, 1238, 3742, 41097, 93774, 7049, 9323, 104192, 71, 3642, 43240, 23, 100, 2633, 73372, 22968, 919, 212398, 76896, 11389, 99420, 176391, 61924, 10, 8781, 10644, 9790, 26548, 142424, 5, 35782, 18499, ...
[ 0.151611328125, 0.2230224609375, 0.2294921875, 0.2281494140625, 0.07861328125, 0.11962890625, 0.19970703125, 0.0706787109375, 0.09356689453125, 0.1558837890625, 0.1121826171875, 0.051727294921875, 0.16015625, 0.07366943359375, 0.00933837890625, 0.013916015625, 0.091796875, 0.006591...
embed
60951173_c0
60951173
fsharp
0
Title: Combining 2 lists in F# Problem title: Combining 2 lists in F# Tags: f%23 Problem: Combining 2 lists in F# I have 2 lists with coordinates (one per axis) and I'm making squares out of them: // create all combinations let squares = List<int * int * int * int>() seqX |> Seq.pairwise |> Seq.iter (fun (x1, x2) -> se...
Combining 2 lists in F# Combining 2 lists in F# f%23 Combining List Seq.pairwise Seq.iter squares.Add Seq.map Combining 2 lists in F# I have 2 lists with coordinates (one per axis) and I'm making squares out of them: Is there a way, using the collection functions to make this? I can't use Seq.map because the output wil...
[ 0.0022735595703125, 0.0308837890625, -0.0125732421875, 0.00836181640625, -0.01153564453125, 0.0157470703125, -0.0126953125, 0.00115203857421875, -0.001800537109375, 0.0021209716796875, 0.0157470703125, 0.0164794921875, 0.02685546875, 0.0078125, -0.0198974609375, 0.00125885009765625, ...
[ 106935, 592, 116, 5303, 7, 23, 563, 4904, 1238, 3742, 32036, 503, 864, 109637, 90825, 16840, 108047, 4028, 62346, 176866, 117, 33102, 20662, 1810, 2856, 3917, 17368, 42486, 32354, 3249, 831, 4527, 140992, 14858, 720, 21094, 4488 ]
[ 0.2337646484375, 0.0592041015625, 0.1456298828125, 0.24560546875, 0.0286407470703125, 0.025909423828125, 0.146484375, 0.197265625, 0.0775146484375, 0.1309814453125, 0.180419921875, 0.06549072265625, 0.158447265625, 0.11083984375, 0.16162109375, 0.1175537109375, 0.2030029296875, 0.0...
embed
61212936_c0
61212936
fsharp
0
Title: Multiplying a List of Lists with a lists in F# Problem title: Multiplying a List of Lists with a lists in F# Tags: f%23, f%23-3.0 Problem: Multiplying a List of Lists with a lists in F# i have two lists i want to multiply them where each element in the lower list is multiplied with the corresponding list on the ...
Multiplying a List of Lists with a lists in F# Multiplying a List of Lists with a lists in F# f%23 f%23-3.0 Multiplying List Lists list1 list2 List.zip List.map Multiplying a List of Lists with a lists in F# i have two lists i want to multiply them where each element in the lower list is multiplied with the correspondi...
[ -0.01263427734375, 0.00445556640625, -0.007568359375, 0.014404296875, -0.017578125, 0.005096435546875, 0.0037841796875, 0.0159912109375, 0.013671875, 0.017578125, 0.0106201171875, 0.016357421875, 0.0031280517578125, 0.01007080078125, -0.011474609375, 0.00244140625, 0.01611328125, -...
[ 19335, 62479, 214, 32036, 111, 7, 678, 10, 5303, 23, 563, 4904, 1238, 3949, 3742, 27495, 132265, 418, 304, 50836, 62346, 6626, 3444, 6024, 2856, 12830, 92319, 118126, 297, 42518, 1407, 56, 68330, 34735, 49726, 98, 442, 54608 ]
[ 0.1396484375, 0.1910400390625, 0.0767822265625, 0.226806640625, 0.058807373046875, 0.0872802734375, 0.1629638671875, 0.120849609375, 0.221435546875, 0.007904052734375, 0.1507568359375, 0.1851806640625, 0.09295654296875, 0.005889892578125, 0.1162109375, 0.0693359375, 0.1436767578125, ...
embed
26195133_c0
26195133
fsharp
0
Title: How to consume HttpClient from F#? Problem title: How to consume HttpClient from F#? Tags: task-parallel-library, async-await, c%23-to-f%23, dotnet-httpclient, f%23 Problem: How to consume HttpClient from F#? I'm new to F# and stuck in understanding async in F# from the perspective of a C# developer. Say having ...
How to consume HttpClient from F#? How to consume HttpClient from F#? task-parallel-library async-await c%23-to-f%23 dotnet-httpclient f%23 F# How HttpClient httpClient.GetAsync response.EnsureSuccessStatusCode response.Content.ReadAsStringAsync How to consume HttpClient from F#? I'm new to F# and stuck in understandin...
[ -0.013916015625, 0.01422119140625, 0.00775146484375, -0.00023651123046875, 0.008544921875, -0.00848388671875, -0.008544921875, 0.01190185546875, -0.006256103515625, -0.0223388671875, 0.03173828125, 0.0036468505859375, -0.00445556640625, -0.0033721923828125, 0.0191650390625, -0.00497436...
[ 11249, 47, 18588, 13, 572, 3062, 254, 441, 150, 2517, 1295, 563, 4904, 32, 66211, 6276, 1229, 141, 2844, 10, 12654, 238, 7978, 217, 27495, 188, 9, 420, 3742, 20633, 1179, 5475, 222978, 1238, 1621, 284, 57553, 7768, 56851, 26531, 135206,...
[ 0.1004638671875, 0.04559326171875, 0.2178955078125, 0.1014404296875, 0.08819580078125, 0.15087890625, 0.1619873046875, 0.1099853515625, 0.2171630859375, 0.1800537109375, 0.1162109375, 0.1630859375, 0.227294921875, 0.010711669921875, 0.1728515625, 0.068359375, 0.112060546875, 0.0219...
embed
26588982_c0
26588982
fsharp
0
Title: Build library and Exe from the same MSBuild project? Problem title: Build library and Exe from the same MSBuild project? Tags: .net, f%23, mono, msbuild Problem: Build library and Exe from the same MSBuild project? My F# project consists of a .dll containing most of my program, a .dll of tests for NUnit, and a s...
Build library and Exe from the same MSBuild project? Build library and Exe from the same MSBuild project? .net f%23 mono msbuild the Build Exe MSBuild Build library and Exe from the same MSBuild project? My F# project consists of a .dll containing most of my program, a .dll of tests for NUnit, and a small .exe that loa...
[ -0.0157470703125, 0.01513671875, -0.01141357421875, -0.00194549560546875, -0.021240234375, 0.002227783203125, 0.0030059814453125, -0.007415771484375, 0.01226806640625, 0.00958251953125, 0.004547119140625, -0.01422119140625, 0.0157470703125, 0.0269775390625, 0.0031585693359375, -0.00805...
[ 121137, 35773, 1294, 136, 5443, 13, 1295, 5701, 16265, 13452, 1179, 1238, 3949, 3742, 22460, 68163, 177149, 563, 4904, 58055, 5, 71, 1181, 70541, 2684, 1528, 109921, 18057, 6773, 19336, 46480, 72367, 5201, 127877, 33022, 11001, 17447, 3454, ...
[ 0.26025390625, 0.211669921875, 0.13232421875, 0.0909423828125, 0.1744384765625, 0.19091796875, 0.0863037109375, 0.09716796875, 0.1304931640625, 0.1357421875, 0.12255859375, 0.054901123046875, 0.0158233642578125, 0.1396484375, 0.1473388671875, 0.0604248046875, 0.2479248046875, 0.062...
embed
25838512_c1
25838512
fsharp
1
("Result: {0}", result); } else { Console.WriteLine("Failed with status code: {0}", response.StatusCode); } } Thanks Code signals: Azure, Task, InvokeRequestResponseService, HttpClient, ScoreData, FeatureVector, Dictionary, Zip, Race, Party, Gender, Age, Voted, Ind, GlobalParameters, ScoreRequest, score00001, Instance,...
("Result: {0}", result); } else { Console.WriteLine("Failed with status code: {0}", response.StatusCode); } } Thanks Code signals: Azure, Task, InvokeRequestResponseService, HttpClient, ScoreData, FeatureVector, Dictionary, Zip, Race, Party, Gender, Age, Voted, Ind, GlobalParameters, ScoreRequest, score00001, Instance,...
[ -0.018798828125, 0.0084228515625, 0.0244140625, 0.029296875, 0.02099609375, -0.00799560546875, 0.0014190673828125, 0.01348876953125, -0.01324462890625, 0.04150390625, 0.01153564453125, 0.0223388671875, -0.01153564453125, -0.0012054443359375, 0.01019287109375, 0.00677490234375, 0.0303...
[ 24073, 4332, 7, 7136, 12, 2389, 16750, 37076, 1657, 40777, 93232, 17647, 14, 6259, 678, 10778, 18151, 57553, 135206, 223, 114211, 22362, 28864, 26073, 176071, 4, 9598, 92, 360, 23253, 13, 75616, 94399, 121979, 3062, 254, 150, 2517, 168071, ...
[ 0.052978515625, 0.07989501953125, 0.09539794921875, 0.142333984375, 0.034912109375, 0.117919921875, 0.1837158203125, 0.008819580078125, 0.0264434814453125, 0.146728515625, 0.10516357421875, 0.1392822265625, 0.1376953125, 0.1429443359375, 0.03619384765625, 0.19775390625, 0.21411132812...
embed
26248462_c1
26248462
fsharp
1
) form.Controls.Add(urControl) urControl.Refresh() printfn "%A" nm ) do Application.Run(form) |> ignore 0 UPDATE Making the Chart a child of another control (i.e. Panel) and calling Clear() on the parent before readding will get this to work. Code signals: FSharp, Charting, Winforms, recalcb.MouseClick, Event.add, char...
) form.Controls.Add(urControl) urControl.Refresh() printfn "%A" nm ) do Application.Run(form) |> ignore 0 UPDATE Making the Chart a child of another control (i.e. Panel) and calling Clear() on the parent before readding will get this to work. Code signals: FSharp, Charting, Winforms, recalcb.MouseClick, Event.add, char...
[ -0.00110626220703125, 0.019287109375, -0.00933837890625, -0.0186767578125, -0.001617431640625, -0.0023193359375, 0.019775390625, -0.027099609375, 0.0126953125, -0.025634765625, 0.019287109375, -0.015380859375, -0.01275634765625, 0.004791259765625, 0.02099609375, 0.00433349609375, 0.0...
[ 1388, 3173, 175904, 284, 4028, 474, 2780, 238781, 28412, 14783, 3949, 653, 39, 104921, 163321, 5037, 124962, 757, 161521, 13676, 70, 110373, 10, 29041, 15700, 6226, 84291, 159029, 86120, 132, 98, 49129, 8108, 12301, 6238, 2046, 903, 47, 448...
[ 0.006744384765625, 0.2509765625, 0.289306640625, 0.1224365234375, 0.14306640625, 0.143310546875, 0.12646484375, 0.19384765625, 0.1939697265625, 0.1661376953125, 0.07818603515625, 0.03326416015625, 0.09490966796875, 0.17626953125, 0.135986328125, 0.254150390625, 0.14599609375, 0.063...
embed
17352173_c0
17352173
fsharp
0
Title: Using records with generics that require a default constructor Problem title: Using records with generics that require a default constructor Tags: f%23 Problem: Using records with generics that require a default constructor I'd like to use a record with a data structure that requires its types to have a default ...
Using records with generics that require a default constructor Using records with generics that require a default constructor f%23 a Using Using records with generics that require a default constructor I'd like to use a record with a data structure that requires its types to have a default constructor. Unfortunately th...
[ -0.00970458984375, 0.0203857421875, -0.0126953125, -0.0087890625, 0.00173187255859375, -0.0032958984375, -0.0196533203125, -0.0091552734375, 0.0186767578125, -0.00439453125, -0.0128173828125, -0.0284423828125, 0.033935546875, 0.0228271484375, -0.007659912109375, -0.01104736328125, 0....
[ 345, 115923, 678, 189534, 7, 450, 64209, 114977, 64549, 748, 3742, 1884, 4527, 17164, 2053, 45646, 144570, 52895, 765, 185397, 50339, 9969, 1340, 1733, 18499, 151134, 7722, 3688, 70, 10, 10644, 154107, 8668, 17669, 7440, 50717, 106117, 87, ...
[ 0.07513427734375, 0.2215576171875, 0.117431640625, 0.220458984375, 0.042388916015625, 0.00262451171875, 0.1494140625, 0.245361328125, 0.179443359375, 0.1123046875, 0.07305908203125, 0.08135986328125, 0.1201171875, 0.2060546875, 0.0618896484375, 0.1494140625, 0.115234375, 0.19250488...
embed
27433692_c1
27433692
fsharp
1
annotation. The above code somewhat defeats the purpose of strong typing again, but its kind of nice when one has resource strings. Am I doing something wrong (besides mentioned above)? Any ideas on how to do it better and even make it work (especially in 3.1)? Edit: After first answer (which works in that specific ca...
annotation. The above code somewhat defeats the purpose of strong typing again, but its kind of nice when one has resource strings. Am I doing something wrong (besides mentioned above)? Any ideas on how to do it better and even make it work (especially in 3.1)? Edit: After first answer (which works in that specific ca...
[ -0.00213623046875, 0.008056640625, 0.002838134765625, 0.01318359375, 0.00244140625, -0.00799560546875, 0.0220947265625, 0.010498046875, 0.0010528564453125, 0.0179443359375, 0.0228271484375, -0.035888671875, -0.000858306884765625, -0.021728515625, 0.004608154296875, -0.00531005859375, ...
[ 8668, 22062, 36917, 18151, 208806, 8, 88981, 60042, 37515, 11417, 214, 13438, 8562, 26267, 177953, 79315, 2022, 20594, 44691, 11522, 4488, 45151, 43240, 29458, 14012, 9384, 50717, 155937, 46258, 140909, 2633, 91693, 2203, 28282, 43452, 159975, ...
[ 0.1954345703125, 0.1649169921875, 0.0311279296875, 0.1414794921875, 0.062744140625, 0.019256591796875, 0.1097412109375, 0.09326171875, 0.1707763671875, 0.1693115234375, 0.08685302734375, 0.1092529296875, 0.004974365234375, 0.066650390625, 0.1966552734375, 0.1910400390625, 0.002777099...
embed
53575562_c0
53575562
fsharp
0
Title: F# - How to conveniently apply elements in a list to a curried function&#x27;s parameters? Problem title: F# - How to conveniently apply elements in a list to a curried function&#x27;s parameters? Tags: f%23 Problem: F# - How to conveniently apply elements in a list to a curried function's parameters? Supposed t...
F# - How to conveniently apply elements in a list to a curried function&#x27;s parameters? F# - How to conveniently apply elements in a list to a curried function&#x27;s parameters? f%23 How List.item F# - How to conveniently apply elements in a list to a curried function's parameters? Supposed there is a list: And a c...
[ -0.01336669921875, -0.016845703125, 0.007415771484375, -0.01031494140625, 0.00103759765625, 0.0120849609375, 0.0159912109375, -0.00051116943359375, 0.015625, -0.0341796875, 0.0361328125, -0.0145263671875, -0.0087890625, 0.0135498046875, -0.0172119140625, -0.0306396484375, 0.000888824...
[ 563, 4904, 11249, 142267, 538, 59911, 80854, 23, 5303, 47, 9709, 46572, 32354, 3768, 7, 171859, 20, 1238, 3742, 32036, 5, 217, 195, 47004, 144429, 2685, 10, 831, 107730, 552, 1353, 18750, 17368, 271, 3917, 4966, 105994, 4552, 5299, 22376,...
[ 0.0999755859375, 0.195556640625, 0.0811767578125, 0.1673583984375, 0.020751953125, 0.18017578125, 0.1812744140625, 0.086181640625, 0.1932373046875, 0.1285400390625, 0.135986328125, 0.207763671875, 0.1717529296875, 0.07415771484375, 0.0262298583984375, 0.21044921875, 0.00738525390625,...
embed
18813437_c0
18813437
fsharp
0
Title: reverse recursion in F# Problem title: reverse recursion in F# Tags: reverse, f%23, recursion Problem: reverse recursion in F# (I am not sure about that whether reverse recursion is a correct name..) I'd like to define a recursive function with initial value at k=n and terminate at k = 0 So I tried to write it i...
reverse recursion in F# reverse recursion in F# reverse f%23 recursion Consider reverse recursion in F# (I am not sure about that whether reverse recursion is a correct name..) I'd like to define a recursive function with initial value at k=n and terminate at k = 0 So I tried to write it in this way(here n = 10): and t...
[ -0.00701904296875, 0.03173828125, 0.0029296875, -0.0030059814453125, 0.00518798828125, -0.0211181640625, 0.01806640625, 0.00921630859375, -0.0011749267578125, -0.024169921875, 0.0247802734375, 0.0113525390625, -0.00482177734375, 0.022705078125, 0.03271484375, -0.0091552734375, 0.0195...
[ 39531, 184, 195625, 1830, 23, 563, 4904, 1238, 3949, 3742, 137399, 26785, 9351, 1884, 61924, 5844, 32354, 678, 61475, 34292, 99, 472, 1369, 19, 136, 121011, 2203, 757, 37842, 33022, 903, 3917, 35593, 653, 209, 44160, 150631, 297, 191147, ...
[ 0.256103515625, 0.1912841796875, 0.25634765625, 0.1370849609375, 0.060394287109375, 0.1787109375, 0.2335205078125, 0.126953125, 0.0885009765625, 0.2027587890625, 0.061553955078125, 0.0237884521484375, 0.01800537109375, 0.086669921875, 0.190673828125, 0.17919921875, 0.18994140625, 0...
embed
73816422_c1
73816422
fsharp
1
0 The traces go to the console exporter but not to the Docker container, from the what I can see I've set both the app and collector up correctly. Any help would be much appreciated. Code signals: Using, OpenTelemetry, otel-collector-config.yaml, opentelemetry-collector:latest, System, System.Diagnostics, OpenTelemetry...
0 The traces go to the console exporter but not to the Docker container, from the what I can see I've set both the app and collector up correctly. Any help would be much appreciated. Code signals: Using, OpenTelemetry, otel-collector-config.yaml, opentelemetry-collector:latest, System, System.Diagnostics, OpenTelemetry...
[ 0.00433349609375, 0.0179443359375, -0.00173187255859375, 0.020263671875, -0.00457763671875, -0.025390625, 0.0211181640625, -0.0216064453125, -0.006927490234375, 0.00909423828125, -0.0030059814453125, 0.01318359375, 0.0230712890625, 0.0223388671875, 0.000591278076171875, 0.0008430480957...
[ 144851, 7, 738, 47, 130250, 31255, 56, 1284, 959, 984, 11050, 116419, 831, 1957, 5423, 4027, 43799, 748, 1257, 26785, 4358, 77947, 28864, 26073, 13527, 75809, 1928, 1294, 44258, 196352, 153837, 14520, 141, 9803, 3025, 12353, 128198, 6982, 2...
[ 0.280029296875, 0.1199951171875, 0.063232421875, 0.0889892578125, 0.2335205078125, 0.2110595703125, 0.108642578125, 0.0426025390625, 0.0914306640625, 0.1190185546875, 0.2490234375, 0.200927734375, 0.001190185546875, 0.0142669677734375, 0.06915283203125, 0.1651611328125, 0.16760253906...
embed
73885397_c0
73885397
fsharp
0
Title: How to create a STA thread for F# Asynchronous workflow Problem title: How to create a STA thread for F# Asynchronous workflow Tags: wpf, sta, f%23 Problem: How to create a STA thread for F# Asynchronous workflow I am attempting to write a printed form in F# using WPF controls—-and do so in an asynchronous workf...
How to create a STA thread for F# Asynchronous workflow How to create a STA thread for F# Asynchronous workflow wpf sta f%23 How STA Asynchronous How to create a STA thread for F# Asynchronous workflow I am attempting to write a printed form in F# using WPF controls—-and do so in an asynchronous workflow. Being new to ...
[ 0.01202392578125, 0.00250244140625, -0.0177001953125, -0.0159912109375, -0.00041961669921875, -0.001953125, 0.031494140625, 0.0024261474609375, -0.006011962890625, -0.03125, 0.002410888671875, -0.0027313232421875, -0.0054931640625, -0.00823974609375, 0.021484375, 0.01141357421875, 0....
[ 11249, 28282, 10, 64174, 86997, 100, 563, 4904, 62, 12654, 101966, 4488, 118664, 39557, 1924, 1238, 3742, 10821, 81887, 33022, 28412, 3173, 601, 41265, 6226, 3687, 148, 18588, 46389, 15490, 5201, 5915, 83, 75935, 4358 ]
[ 0.054840087890625, 0.166259765625, 0.0665283203125, 0.2447509765625, 0.2548828125, 0.05230712890625, 0.1156005859375, 0.2008056640625, 0.01226806640625, 0.11083984375, 0.1722412109375, 0.0836181640625, 0.1988525390625, 0.1441650390625, 0.147216796875, 0.03076171875, 0.06982421875, ...
embed
77854919_c1
77854919
fsharp
1
type system would only work if it was a 'proper' subtype My confusion seems to extend to C#, or at least, the C# version of this code behaves in the way I would expect static Func<A,D>? Compose<A,B,C,D>(Func<A,B> f,Func<C,D> g) { var g1 = g as Func<B, D>; if (g1 == null) { return null; } else { return (A a) => g1(f(a)...
type system would only work if it was a 'proper' subtype My confusion seems to extend to C#, or at least, the C# version of this code behaves in the way I would expect static Func<A,D>? Compose<A,B,C,D>(Func<A,B> f,Func<C,D> g) { var g1 = g as Func<B, D>; if (g1 == null) { return null; } else { return (A a) => g1(f(a)...
[ -0.0091552734375, 0.005584716796875, 0.0220947265625, 0.0159912109375, -0.0211181640625, -0.002532958984375, -0.0025482177734375, -0.0052490234375, 0.00201416015625, 0.0308837890625, -0.01544189453125, -0.0026397705078125, -0.0024566650390625, 0.01397705078125, 0.00274658203125, -0.007...
[ 10644, 5426, 4734, 4488, 2174, 509, 36290, 56, 1614, 50986, 169463, 65042, 313, 4904, 19713, 11389, 903, 18151, 68991, 3917, 41206, 201939, 28670, 284, 397, 15612, 8364, 571, 441, 97249, 1238, 706, 285, 418, 237, 391, 177, 69112, 56574, 3...
[ 0.254150390625, 0.18115234375, 0.043060302734375, 0.1265869140625, 0.0469970703125, 0.01141357421875, 0.12646484375, 0.0906982421875, 0.192626953125, 0.2578125, 0.1343994140625, 0.006988525390625, 0.002655029296875, 0.1575927734375, 0.002288818359375, 0.0958251953125, 0.004638671875,...
embed
27882440_c1
27882440
fsharp
1
>] type volume type ScheduleId = ScheduleKey of Guid type TickTableId = TickTableKey of Guid type Contract = { Schedule : ScheduleId; TickTable : TickTableId; Price : float<dollars>; Quantity : float<volume> } let contract = { Schedule = ScheduleKey Guid.Empty; TickTable = TickTableKey Guid.Empty; Price = 0.<dollars>; ...
>] type volume type ScheduleId = ScheduleKey of Guid type TickTableId = TickTableKey of Guid type Contract = { Schedule : ScheduleId; TickTable : TickTableId; Price : float<dollars>; Quantity : float<volume> } let contract = { Schedule = ScheduleKey Guid.Empty; TickTable = TickTableKey Guid.Empty; Price = 0.<dollars>; ...
[ 0.005645751953125, 0.016357421875, -0.00193023681640625, -0.00799560546875, -0.033203125, -0.025634765625, -0.019287109375, 0.0123291015625, 0.01141357421875, 0.020263671875, -0.026611328125, 0.025146484375, 0.01806640625, -0.00213623046875, -0.0035858154296875, 0.038818359375, -0.00...
[ 977, 268, 10644, 21950, 230074, 568, 71, 2203, 162429, 111, 6955, 532, 2371, 2594, 618, 2886, 149957, 74, 48025, 21917, 257, 5876, 320, 75344, 2481, 23232, 2633, 18264, 5, 134332, 757, 25452, 15246, 133, 41113, 18499, 37452, 33163, 173495, ...
[ 0.0799560546875, 0.06195068359375, 0.2437744140625, 0.270751953125, 0.286376953125, 0.12255859375, 0.1734619140625, 0.06634521484375, 0.2236328125, 0.08251953125, 0.1800537109375, 0.1563720703125, 0.1649169921875, 0.09722900390625, 0.1513671875, 0.201416015625, 0.268798828125, 0.01...
embed
61571515_c0
61571515
fsharp
0
Title: The type &#x27;&#x27;a list&#x27; is not compatible with the type &#x27;ReactElement&#x27; Problem title: The type &#x27;&#x27;a list&#x27; is not compatible with the type &#x27;ReactElement&#x27; Tags: f%23, fable-f%23, reactjs Problem: The type ''a list' is not compatible with the type 'ReactElement' I am tryi...
The type &#x27;&#x27;a list&#x27; is not compatible with the type &#x27;ReactElement&#x27; The type &#x27;&#x27;a list&#x27; is not compatible with the type &#x27;ReactElement&#x27; f%23 fable-f%23 reactjs ReactElement List.map The type ''a list' is not compatible with the type 'ReactElement' I am trying generate multi...
[ -0.0172119140625, -0.003082275390625, -0.00121307373046875, 0.0135498046875, -0.00579833984375, -0.011962890625, -0.00311279296875, -0.0079345703125, 0.01007080078125, -0.0145263671875, -0.00213623046875, -0.0167236328125, 0.0255126953125, 0.016357421875, -0.003662109375, -0.0100097656...
[ 10644, 3768, 11, 5303, 83, 959, 146731, 678, 4332, 47013, 647, 19929, 1238, 3742, 1071, 2661, 131300, 28175, 853, 32036, 62346, 31577, 139392, 48716, 18221, 1295, 79315, 155370, 11001, 20697, 5885, 25632, 18151, 18499, 390 ]
[ 0.1875, 0.09234619140625, 0.1207275390625, 0.238037109375, 0.0308837890625, 0.1365966796875, 0.197509765625, 0.060089111328125, 0.102294921875, 0.161376953125, 0.060028076171875, 0.1904296875, 0.0190277099609375, 0.0697021484375, 0.111572265625, 0.1087646484375, 0.201171875, 0.1262...
embed
33504891_c0
33504891
fsharp
0
Title: How to prevent F# Interactive from automatically opening on right-click? Problem title: How to prevent F# Interactive from automatically opening on right-click? Tags: f%23-interactive, f%23, visual-studio-2015 Problem: How to prevent F# Interactive from automatically opening on right-click? Whenever I right-clic...
How to prevent F# Interactive from automatically opening on right-click? How to prevent F# Interactive from automatically opening on right-click? f%23-interactive f%23 visual-studio-2015 automatically How Interactive visual-studio-2015 How to prevent F# Interactive from automatically opening on right-click? Whenever I ...
[ -0.000476837158203125, -0.00811767578125, 0.0211181640625, 0.0050048828125, 0.0028076171875, 0.0216064453125, -0.00811767578125, -0.00067138671875, -0.005401611328125, -0.01080322265625, -0.00122833251953125, -0.01116943359375, -0.00860595703125, 0.0087890625, 0.034423828125, -0.000877...
[ 11249, 56282, 563, 4904, 5337, 71232, 1295, 191082, 73432, 7108, 123278, 47, 98, 1238, 10433, 21176, 52629, 44906, 30441, 4785, 18151, 23, 73372, 22968, 24635, 76896, 7426, 7, 9803, 77947, 1556, 9069, 21130, 903, 28875, 8668, 38543, 32628, ...
[ 0.049591064453125, 0.2083740234375, 0.14501953125, 0.2333984375, 0.16943359375, 0.212646484375, 0.08453369140625, 0.1962890625, 0.1990966796875, 0.1575927734375, 0.26953125, 0.02850341796875, 0.038787841796875, 0.094970703125, 0.1309814453125, 0.1441650390625, 0.16943359375, 0.1845...
embed
70168780_c1
70168780
fsharp
1
)(mab:'T -> ListA<'B> , mbc:'B -> ListA<'C>) = (fun x -> (mab x) .>>=. mbc) static member join2 (a:ListA<_>) = a .>>=. id let (.-->.)(mab:'T -> ListA<'B>) (mbc:'B -> ListA<'C>) = (fun x -> (mab x) .>>=. mbc) let (.<--.)(mab:'B -> ListA<'C>) (mbc:'T -> ListA<'B>) = (fun x -> (mbc x) .>>=. mab) let f = fun x -> Cons (x, ...
)(mab:'T -> ListA<'B> , mbc:'B -> ListA<'C>) = (fun x -> (mab x) .>>=. mbc) static member join2 (a:ListA<_>) = a .>>=. id let (.-->.)(mab:'T -> ListA<'B>) (mbc:'B -> ListA<'C>) = (fun x -> (mab x) .>>=. mbc) let (.<--.)(mab:'B -> ListA<'C>) (mbc:'T -> ListA<'B>) = (fun x -> (mbc x) .>>=. mab) let f = fun x -> Cons (x, ...
[ 0.01190185546875, 0.006927490234375, 0.02685546875, 0.0164794921875, -0.001251220703125, 0.00592041015625, -0.014892578125, 0.01385498046875, 0.033447265625, 0.00836181640625, 0.003173828125, 0.00738525390625, 0.0189208984375, -0.005523681640625, 0.007080078125, -0.0255126953125, 0.0...
[ 51421, 192, 275, 618, 33079, 32036, 284, 571, 39369, 238, 16498, 1022, 201939, 32786, 33284, 304, 11, 154663, 3447, 2633, 6492, 71146, 1238, 7477, 39215, 425, 997, 4879, 541, 16444, 706, 116, 86725, 15612, 49725, 420, 418, 28412, 14783, 3...
[ 0.1024169921875, 0.03533935546875, 0.0771484375, 0.0865478515625, 0.03631591796875, 0.2061767578125, 0.144287109375, 0.05126953125, 0.09765625, 0.05450439453125, 0.1378173828125, 0.08734130859375, 0.20361328125, 0.234619140625, 0.223388671875, 0.133544921875, 0.0557861328125, 0.198...
embed
18156935_c0
18156935
fsharp
0
Title: Why is using the base key word causing this error? Problem title: Why is using the base key word causing this error? Tags: f%23 Problem: Why is using the base key word causing this error? I am trying to do an example for Programming F# by O'Railey, Chris Smith page 53. It is working with functions returning func...
Why is using the base key word causing this error? Why is using the base key word causing this error? f%23 the Why FS0010 Unexpected Why is using the base key word causing this error? I am trying to do an example for Programming F# by O'Railey, Chris Smith page 53. It is working with functions returning functions. This...
[ 0.00994873046875, 0.00653076171875, -0.00115966796875, -0.01312255859375, 0.00958251953125, 0.007781982421875, -0.01239013671875, -0.01019287109375, 0.0166015625, -0.021728515625, -0.004119873046875, 0.0157470703125, 0.006256103515625, 0.019287109375, 0.01544189453125, -0.0035858154296...
[ 44084, 83, 17368, 3647, 22799, 2565, 216806, 903, 18499, 70, 1238, 3742, 93774, 7049, 963, 992, 83613, 13, 27781, 27958, 563, 4904, 180, 12248, 4293, 37700, 8934, 20697, 32354, 30646, 13315, 80560, 12877, 44160, 7735, 36497, 69340, 9902, 44...
[ 0.1346435546875, 0.036956787109375, 0.1356201171875, 0.243896484375, 0.177001953125, 0.16015625, 0.1275634765625, 0.0545654296875, 0.1683349609375, 0.020782470703125, 0.061676025390625, 0.1170654296875, 0.1468505859375, 0.08612060546875, 0.1683349609375, 0.0328369140625, 0.0812988281...
embed
5821133_c0
5821133
fsharp
0
Title: Implement CCR Interleave Arbiter in F# Problem title: Implement CCR Interleave Arbiter in F# Tags: f%23, ccr Problem: Implement CCR Interleave Arbiter in F# I want to implement the concept of a Port of the CCR Framework in F# (as CCR is not officially supported for .Net 4.0). I know that one can use the MailboxP...
Implement CCR Interleave Arbiter in F# Implement CCR Interleave Arbiter in F# f%23 ccr Implement CCR Interleave Arbiter Implement CCR Interleave Arbiter in F# I want to implement the concept of a Port of the CCR Framework in F# (as CCR is not officially supported for .Net 4.0). I know that one can use the MailboxProces...
[ -0.00180816650390625, -0.004058837890625, 0.0106201171875, 0.0166015625, -0.0067138671875, -0.01068115234375, -0.0016021728515625, 0.00022029876708984375, -0.0164794921875, 0.00048065185546875, 0.01324462890625, 0.01519775390625, 0.00213623046875, 0.01483154296875, 0.0194091796875, 0.0...
[ 153941, 313, 22578, 5337, 133, 8216, 1172, 3137, 56, 23, 563, 4904, 1238, 3742, 23150, 3444, 29479, 23755, 13791, 111, 202220, 959, 51521, 8060, 24447, 40401, 4527, 25919, 11728, 10752, 26531, 748, 18507, 43240, 169123, 8781, 93908, 5844, 1...
[ 0.170166015625, 0.044158935546875, 0.2210693359375, 0.1552734375, 0.1444091796875, 0.1923828125, 0.086181640625, 0.21875, 0.1270751953125, 0.029449462890625, 0.130126953125, 0.2086181640625, 0.0101318359375, 0.0452880859375, 0.1533203125, 0.031829833984375, 0.1641845703125, 0.11254...
embed
68753968_c0
68753968
fsharp
0
Title: How do I view an image in dotnet interactive? Problem title: How do I view an image in dotnet interactive? Tags: jupyter, f%23, .net-core Problem: How do I view an image in dotnet interactive? I would like to view an image interactively in F# jupyter notebook similarly to how I can do this in python: from PIL im...
How do I view an image in dotnet interactive? How do I view an image in dotnet interactive? jupyter f%23 .net-core PIL Image How Image.open image.png pyplot.imshow How do I view an image in dotnet interactive? I would like to view an image interactively in F# jupyter notebook similarly to how I can do this in python: a...
[ -0.002349853515625, -0.00384521484375, 0.004791259765625, 0.0152587890625, 0.005218505859375, 0.0002117156982421875, 0.00323486328125, -0.0181884765625, -0.0157470703125, -0.025146484375, 0.0025177001953125, 0.0264892578125, -0.0078125, 0.004791259765625, 0.004302978515625, 0.000614166...
[ 11249, 54, 87, 21455, 142, 29569, 23, 20633, 1179, 212398, 1129, 6493, 720, 1238, 3949, 3742, 30854, 146097, 22710, 59636, 128468, 17198, 105710, 464, 31374, 2806, 1884, 563, 4904, 74305, 21373, 831, 50828, 45831, 2472, 2775, 1234, 105553, ...
[ 0.09716796875, 0.048370361328125, 0.0389404296875, 0.264892578125, 0.06488037109375, 0.2474365234375, 0.111328125, 0.1728515625, 0.2440185546875, 0.249755859375, 0.09515380859375, 0.1038818359375, 0.1414794921875, 0.04058837890625, 0.0001220703125, 0.109619140625, 0.08721923828125, ...
embed
77793516_c0
77793516
fsharp
0
Title: Is it possible to &quot;yield return null&quot; in an IEnumerator in F#? Problem title: Is it possible to &quot;yield return null&quot; in an IEnumerator in F#? Tags: unity-game-engine, c%23-to-f%23, f%23 Problem: Is it possible to "yield return null" in an IEnumerator in F#? For example in C#: public IEnumerato...
Is it possible to &quot;yield return null&quot; in an IEnumerator in F#? Is it possible to &quot;yield return null&quot; in an IEnumerator in F#? unity-game-engine c%23-to-f%23 f%23 IEnumerator MyFunc Async Is it possible to "yield return null" in an IEnumerator in F#? For example in C#: This is what I tried in F#: Aft...
[ 0.0177001953125, 0.00872802734375, 0.01708984375, 0.01251220703125, -0.003265380859375, -0.00946044921875, 0.0263671875, -0.02197265625, -0.0098876953125, -0.0291748046875, 0.003082275390625, 0.020263671875, -0.018310546875, -0.0054931640625, 0.0283203125, -0.00927734375, -0.01104736...
[ 2071, 7722, 2387, 19388, 30646, 56574, 23, 75536, 2606, 56, 4597, 563, 4904, 51, 2481, 35311, 128897, 27495, 188, 420, 1238, 2646, 97249, 238, 62, 12654, 442, 313, 37842, 9969, 87, 19759, 6493, 1340, 7565, 11180, 166117, 83, 110, 136913, ...
[ 0.0157623291015625, 0.1514892578125, 0.153076171875, 0.2423095703125, 0.2103271484375, 0.2369384765625, 0.03167724609375, 0.1212158203125, 0.1927490234375, 0.1341552734375, 0.1416015625, 0.1231689453125, 0.196044921875, 0.044525146484375, 0.052734375, 0.02978515625, 0.07464599609375,...
embed
7142750_c0
7142750
fsharp
0
Title: Problems when trying to run FParsec in F# Interactive Problem title: Problems when trying to run FParsec in F# Interactive Tags: f%23-interactive, .net, fparsec, visual-studio-2010, f%23 Problem: Problems when trying to run FParsec in F# Interactive I'm trying to run some FParsec code in F# Interactive but with ...
Problems when trying to run FParsec in F# Interactive Problems when trying to run FParsec in F# Interactive f%23-interactive .net fparsec visual-studio-2010 f%23 Problems FParsec Interactive tutorial.fs FParsec.dll Parsec visual-studio-2010 Problems when trying to run FParsec in F# Interactive I'm trying to run some FP...
[ -0.003753662109375, 0.00750732421875, 0.0081787109375, 0.0184326171875, -0.002044677734375, 0.0146484375, -0.00653076171875, -0.0025177001953125, -0.010986328125, -0.03271484375, -0.016845703125, 0.0078125, -0.0062255859375, 0.01287841796875, 0.0166015625, 0.01092529296875, 0.0102539...
[ 15649, 3229, 31577, 11675, 563, 28636, 39797, 23, 4904, 5337, 71232, 1238, 27495, 10433, 1179, 2500, 21176, 52629, 73552, 57143, 17447, 1181, 2392, 18151, 110, 36272, 19048, 45367, 5, 11435, 9902, 18, 125296, 71, 37842, 51042, 468, 42, 7510...
[ 0.145263671875, 0.01336669921875, 0.105224609375, 0.12646484375, 0.1370849609375, 0.190673828125, 0.2413330078125, 0.072021484375, 0.1904296875, 0.1256103515625, 0.139404296875, 0.07196044921875, 0.017974853515625, 0.04345703125, 0.07421875, 0.1070556640625, 0.11376953125, 0.112548...
embed
18269226_c0
18269226
fsharp
0
Title: ServiceStack.Razor + F# Problem title: ServiceStack.Razor + F# Tags: servicestack, f%23, razor Problem: ServiceStack.Razor + F# How may I use ServiceStack.Razor in an F# project ? I have added a reference to the ServiceStack.Razor (which seems to pose no issue on Windows but raise an exception on Mono on Mac for...
ServiceStack.Razor + F# ServiceStack.Razor + F# servicestack f%23 razor ServiceStack.Razor ServiceStack.Razor + F# How may I use ServiceStack.Razor in an F# project ? I have added a reference to the ServiceStack.Razor (which seems to pose no issue on Windows but raise an exception on Mono on Mac for some reason). Regar...
[ 0.000911712646484375, 0.0201416015625, -0.0064697265625, -0.0091552734375, -0.00007009506225585938, -0.0089111328125, -0.005950927734375, 0.006866455078125, -0.006988525390625, -0.03515625, -0.013916015625, 0.0035552978515625, 0.00872802734375, 0.01025390625, 0.037353515625, -0.0186767...
[ 12349, 42378, 2594, 12248, 12597, 997, 563, 4904, 11374, 102, 1238, 3949, 3742, 1954, 748, 1543, 4527, 5, 23, 13452, 49814, 91067, 3773, 138804, 131527, 77879, 4727, 68067, 69993, 154107, 20763, 7693, 102158, 35782, 9969, 34759, 53418, 1340, ...
[ 0.1812744140625, 0.187744140625, 0.19287109375, 0.120849609375, 0.26611328125, 0.1177978515625, 0.1241455078125, 0.2169189453125, 0.10638427734375, 0.114013671875, 0.0474853515625, 0.00518798828125, 0.107666015625, 0.176025390625, 0.1441650390625, 0.05255126953125, 0.14599609375, 0...
embed
21418674_c0
21418674
fsharp
0
Title: Lists except - filter a seq of string which not equal any item.A of another list Problem title: Lists except - filter a seq of string which not equal any item.A of another list Tags: f%23-3.0, f%23 Problem: Lists except - filter a seq of string which not equal any item.A of another list I'm trying to create a fi...
Lists except - filter a seq of string which not equal any item.A of another list Lists except - filter a seq of string which not equal any item.A of another list f%23-3.0 f%23 Lists item.A Seq.filter except.A Lists except - filter a seq of string which not equal any item.A of another list I'm trying to create a filter ...
[ -0.00311279296875, 0.031982421875, -0.00439453125, 0.0230712890625, 0.00244140625, -0.011962890625, 0.02099609375, 0.01953125, 0.00958251953125, 0.02783203125, 0.0028839111328125, 0.034423828125, 0.0185546875, 0.0126953125, -0.01708984375, -0.005889892578125, 0.0380859375, -0.00268...
[ 32036, 7, 40494, 46312, 40, 864, 79315, 959, 105950, 2499, 35735, 284, 111, 15700, 5303, 1238, 167218, 27495, 132265, 3949, 3742, 503, 120337, 20, 31577, 28282, 32354, 26946, 6626, 171859, 30646, 756, 55769, 5117, 7103, 39041, 48141, 144573, ...
[ 0.2225341796875, 0.0295257568359375, 0.220458984375, 0.2685546875, 0.0594482421875, 0.1800537109375, 0.1634521484375, 0.0809326171875, 0.1644287109375, 0.007965087890625, 0.1376953125, 0.0819091796875, 0.08441162109375, 0.06048583984375, 0.2027587890625, 0.040771484375, 0.00128173828...
embed
35685322_c2
35685322
fsharp
2
c.Database.Connection.ConnectionString, c.Customer, name:customer1, contact:Jack, name:customer2, contact:Rose, System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, Version, Culture, PublicKeyToken, b77a5c561934e089, MySql.Data.MySqlClient, Server, Port, Database, Uid, Pwd, v4.0, NETFramework, v4.5.2, System...
c.Database.Connection.ConnectionString, c.Customer, name:customer1, contact:Jack, name:customer2, contact:Rose, System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, Version, Culture, PublicKeyToken, b77a5c561934e089, MySql.Data.MySqlClient, Server, Port, Database, Uid, Pwd, v4.0, NETFramework, v4.5.2, System...
[ 0.03173828125, 0.025146484375, -0.007598876953125, 0.007598876953125, 0.01336669921875, 0.017578125, -0.0213623046875, -0.000766754150390625, 0.019287109375, -0.02294921875, -0.0157470703125, 0.005828857421875, -0.004241943359375, -0.00946044921875, 0.00799560546875, 0.005584716796875,...
[ 501, 137989, 37382, 5, 235603, 1830, 71713, 214, 441, 63749, 1991, 9351, 11680, 5928, 56, 418, 5470, 176769, 304, 108278, 13, 4, 12353, 7768, 18, 2481, 44851, 11935, 83671, 174350, 108386, 282, 18244, 294, 58994, 40647, 105141, 16934, 16242...
[ 0.101806640625, 0.1456298828125, 0.200439453125, 0.025604248046875, 0.194091796875, 0.1414794921875, 0.1844482421875, 0.097412109375, 0.0572509765625, 0.2161865234375, 0.1781005859375, 0.076171875, 0.0675048828125, 0.1656494140625, 0.061065673828125, 0.0147552490234375, 0.22595214843...
embed
10045591_c0
10045591
fsharp
0
Title: How to measure CPU and memory usage of F# code? Problem title: How to measure CPU and memory usage of F# code? Tags: f%23, performance, measurement Problem: How to measure CPU and memory usage of F# code? I'm new to the language F# and currently I'm doing a short study on the F# performance. So what I would like...
How to measure CPU and memory usage of F# code? How to measure CPU and memory usage of F# code? f%23 performance measurement How CPU How to measure CPU and memory usage of F# code? I'm new to the language F# and currently I'm doing a short study on the F# performance. So what I would like to do is benchmark my F# code....
[ -0.01025390625, -0.01708984375, 0.0054931640625, 0.029541015625, 0.006683349609375, -0.01531982421875, -0.00408935546875, 0.0010986328125, 0.0003681182861328125, -0.0277099609375, -0.0091552734375, 0.0130615234375, -0.00286865234375, 0.03515625, 0.00341796875, 0.019775390625, 0.00970...
[ 11249, 47, 72350, 86039, 136, 98323, 127689, 111, 563, 4904, 18151, 1238, 3949, 3742, 23718, 3525, 46876, 82424, 16610, 1884, 240057, 759, 21771, 14037, 42284, 35414, 18507, 162520, 3034, 34735, 37105, 32599, 7413, 1810, 1766, 3229, 11675, 67...
[ 0.08984375, 0.048370361328125, 0.21044921875, 0.2335205078125, 0.1083984375, 0.1971435546875, 0.17236328125, 0.02166748046875, 0.1375732421875, 0.22412109375, 0.1964111328125, 0.1136474609375, 0.043548583984375, 0.1729736328125, 0.158203125, 0.0261688232421875, 0.10638427734375, 0....
embed
50374929_c1
50374929
fsharp
1
SimpleStringProvider type X = SimpleStringProvider.BasicProvider<"test"> Code signals: Type, SimpleStringProvider, ProviderImplementation, ProviderImplementation.ProvidedTypes, Microsoft.FSharp.Core.CompilerServices, System.Reflection, TypeProvider, BasicProvider, TypeProviderConfig, TypeProviderForNamespaces, SimpleS...
SimpleStringProvider type X = SimpleStringProvider.BasicProvider<"test"> Code signals: Type, SimpleStringProvider, ProviderImplementation, ProviderImplementation.ProvidedTypes, Microsoft.FSharp.Core.CompilerServices, System.Reflection, TypeProvider, BasicProvider, TypeProviderConfig, TypeProviderForNamespaces, SimpleS...
[ 0.001617431640625, 0.004974365234375, -0.0009002685546875, 0.0341796875, -0.0185546875, -0.0174560546875, 0.013916015625, -0.01483154296875, 0.00909423828125, -0.0010833740234375, -0.0023040771484375, -0.010009765625, 0.0034027099609375, -0.0023345947265625, 0.0078125, 0.01019287109375...
[ 60552, 71713, 214, 177997, 62160, 10644, 1193, 2203, 63473, 1771, 6954, 28864, 26073, 7, 12, 60457, 123089, 42, 128878, 19929, 10752, 5518, 297, 196707, 7244, 3467, 254, 50886, 108161, 121979, 12353, 190015, 133, 91692, 83671, 65421, 151169, ...
[ 0.2041015625, 0.2127685546875, 0.08642578125, 0.230224609375, 0.18798828125, 0.1912841796875, 0.1556396484375, 0.0673828125, 0.094970703125, 0.046356201171875, 0.14501953125, 0.211181640625, 0.2529296875, 0.06500244140625, 0.00927734375, 0.2353515625, 0.1900634765625, 0.05639648437...
embed
23598250_c0
23598250
fsharp
0
Title: F# Data Type Provider - Create with string variable Problem title: F# Data Type Provider - Create with string variable Tags: f%23-data, f%23, type-providers Problem: F# Data Type Provider - Create with string variable In F# I have the following bit of code [<Literal>] let fname=fstFile.FullName.ToString() type g...
F# Data Type Provider - Create with string variable F# Data Type Provider - Create with string variable f%23-data f%23 type-providers Data Type Provider Create Literal fstFile.FullName.ToString CsvProvider F# Data Type Provider - Create with string variable In F# I have the following bit of code Where fstFile is an ins...
[ 0.0286865234375, -0.005401611328125, -0.01104736328125, 0.033935546875, 0.0047607421875, -0.005218505859375, 0.0069580078125, 0.0107421875, 0, -0.035400390625, -0.00811767578125, -0.00098419189453125, 0.0186767578125, -0.001922607421875, -0.00177001953125, 0.00213623046875, -0.002120...
[ 563, 4904, 11809, 60457, 123089, 42, 151313, 678, 79315, 77336, 1238, 27495, 10135, 3742, 10644, 93136, 14202, 135940, 271, 174350, 121962, 163612, 7763, 71713, 313, 67756, 177997, 62160, 25632, 4785, 111, 18151, 110527, 42724, 93147, 18507, 35...
[ 0.1209716796875, 0.178955078125, 0.10308837890625, 0.2139892578125, 0.14501953125, 0.04840087890625, 0.137939453125, 0.0897216796875, 0.1932373046875, 0.23828125, 0.1251220703125, 0.0251617431640625, 0.0753173828125, 0.049072265625, 0.199951171875, 0.130859375, 0.00482177734375, 0....
embed
76674576_c0
76674576
fsharp
0
Title: Embedding raw html with fable feliz Problem title: Embedding raw html with fable feliz Tags: fable-f%23, f%23 Problem: Embedding raw html with fable feliz I want to embed a raw html "someRawHtmlDiv" string in the feliz markup. Any ideas how to do this? #r "nuget: Feliz.ViewEngine" open Feliz.ViewEngine let someR...
Embedding raw html with fable feliz Embedding raw html with fable feliz fable-f%23 f%23 Embedding Feliz.ViewEngine Html.html Html.head Html.title Feliz Html.body Html.header prop.text Render.htmlDocument Embedding raw html with fable feliz I want to embed a raw html "someRawHtmlDiv" string in the feliz markup. Any idea...
[ -0.0084228515625, 0.00897216796875, 0.006317138671875, 0.01361083984375, -0.0103759765625, -0.003570556640625, -0.009765625, -0.01904296875, 0.01031494140625, -0.058349609375, 0.004730224609375, -0.0106201171875, -0.0111083984375, 0.0034637451171875, -0.004486083984375, -0.001045227050...
[ 2775, 372, 59725, 49649, 7693, 678, 1071, 2661, 33587, 420, 3742, 176780, 100474, 91384, 1212, 18, 7237, 31251, 5440, 37873, 25793, 63137, 239469, 3444, 352, 13482, 43452, 12248, 434, 841, 192576, 79315, 23, 1108, 11322, 25647, 903 ]
[ 0.08349609375, 0.2191162109375, 0.08819580078125, 0.2244873046875, 0.2354736328125, 0.105712890625, 0.14794921875, 0.1446533203125, 0.267333984375, 0.00341796875, 0.056793212890625, 0.269775390625, 0.07623291015625, 0.0745849609375, 0.048736572265625, 0.1025390625, 0.1290283203125, ...
embed
39608983_c1
39608983
fsharp
1
3f5f7f11d50a3a' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) And the error for the first failing test doesn't change. I feel like I am missing something painfully obvious, and I found several people with similar proble...
3f5f7f11d50a3a' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) And the error for the first failing test doesn't change. I feel like I am missing something painfully obvious, and I found several people with similar proble...
[ -0.0169677734375, 0.004302978515625, 0.0026397705078125, -0.01019287109375, -0.0005950927734375, -0.00738525390625, -0.0159912109375, -0.0185546875, 0.00927734375, 0.00946044921875, -0.0211181640625, 0.01373291015625, -0.005859375, 0.008544921875, 0.0157470703125, 0.00146484375, 0.01...
[ 138, 2525, 11, 25, 42548, 117538, 105866, 89845, 38526, 24874, 80934, 14602, 959, 14858, 91067, 63928, 34465, 82643, 757, 4836, 2681, 963, 125136, 18499, 5117, 35782, 214, 3034, 15549, 12319, 1884, 132283, 24503, 162520, 44402, 18, 28219, 868...
[ 0.0227813720703125, 0.03277587890625, 0.1004638671875, 0.041259765625, 0.1590576171875, 0.033477783203125, 0.194091796875, 0.1708984375, 0.0810546875, 0.2357177734375, 0.1478271484375, 0.016357421875, 0.069091796875, 0.1224365234375, 0.127685546875, 0.0816650390625, 0.012115478515625...
embed
40052256_c0
40052256
fsharp
0
Title: How does continuation monad really work Problem title: How does continuation monad really work Tags: functional-programming, f%23 Problem: How does continuation monad really work I understand how Reader or Maybe or State monads work, but havig hard times with Continuations monad. Examples like below, blow my hea...
How does continuation monad really work How does continuation monad really work functional-programming f%23 How ContinuationMonad this.Bind this.Return How does continuation monad really work I understand how Reader or Maybe or State monads work, but havig hard times with Continuations monad. Examples like below, blow ...
[ -0.01458740234375, 0.0263671875, 0.00860595703125, -0.0052490234375, 0.013427734375, 0.00019359588623046875, 0.00982666015625, -0.021484375, -0.010986328125, -0.0240478515625, -0.034912109375, -0.016357421875, -0.012451171875, 0.0299072265625, 0.0020751953125, -0.005096435546875, 0.0...
[ 11249, 14602, 9454, 1363, 2667, 712, 6183, 4488, 123309, 28966, 3742, 50343, 46674, 903, 7250, 987, 28219, 3642, 122636, 83425, 22836, 24299, 7941, 20028, 5256, 89536, 35064, 102310, 759, 10336, 5351, 2967, 53418, 2046, 11, 18403, 10644, 1657...
[ 0.1141357421875, 0.08642578125, 0.231201171875, 0.093994140625, 0.1484375, 0.202880859375, 0.1517333984375, 0.1602783203125, 0.127197265625, 0.0927734375, 0.04644775390625, 0.212890625, 0.11962890625, 0.047271728515625, 0.07244873046875, 0.0782470703125, 0.0242462158203125, 0.01748...
embed
63919337_c0
63919337
fsharp
0
Title: F# Factorial function using while loop Problem title: F# Factorial function using while loop Tags: factorial, math, sorting, algorithm, f%23 Problem: F# Factorial function using while loop i have gotten an assignment requesting the following: Write a function sum : n:int -> int which uses the counter value, a lo...
F# Factorial function using while loop F# Factorial function using while loop factorial math sorting algorithm f%23 while Factorial F# Factorial function using while loop i have gotten an assignment requesting the following: Write a function sum : n:int -> int which uses the counter value, a local mutable value s, and ...
[ 0.00119781494140625, -0.0036773681640625, 0.0031280517578125, 0.02099609375, 0.01397705078125, -0.004638671875, 0.00811767578125, 0.01104736328125, 0.00830078125, -0.017822265625, 0.006683349609375, 0.032470703125, -0.01275634765625, -0.00244140625, 0.0322265625, -0.0020751953125, 0....
[ 563, 4904, 117969, 15403, 32354, 17368, 12960, 40956, 31461, 48909, 12096, 234873, 1238, 3949, 3742, 95486, 674, 50336, 18781, 10554, 653, 12, 4288, 33079, 23, 18, 4527, 105416, 34292, 4000, 842, 22819, 91, 28354, 9969, 6743, 106, 54651, 13...
[ 0.103271484375, 0.1658935546875, 0.216552734375, 0.1513671875, 0.1719970703125, 0.06787109375, 0.2220458984375, 0.243896484375, 0.181884765625, 0.080078125, 0.1431884765625, 0.1416015625, 0.0865478515625, 0.051116943359375, 0.1629638671875, 0.122314453125, 0.0361328125, 0.057800292...
embed
12900470_c0
12900470
fsharp
0
Title: How do I just generate data with fscheck? Problem title: How do I just generate data with fscheck? Tags: f%23, fscheck Problem: How do I just generate data with fscheck? Is it possible to generate data, specifically a list, with fscheck for use outside of fscheck? I'm unable to debug a situation in fscheck testi...
How do I just generate data with fscheck? How do I just generate data with fscheck? f%23 fscheck How Gen.listOf Arb.generate Gen.suchThat l.Length How do I just generate data with fscheck? Is it possible to generate data, specifically a list, with fscheck for use outside of fscheck? I'm unable to debug a situation in f...
[ 0.01531982421875, 0.0011444091796875, -0.01318359375, -0.01806640625, -0.006683349609375, 0.0208740234375, 0.0177001953125, -0.01361083984375, 0.011962890625, -0.0086669921875, 0.006011962890625, 0.00323486328125, 0.017333984375, 0.0035858154296875, 0.013671875, -0.0299072265625, -0....
[ 11249, 1660, 139392, 2053, 678, 1238, 7, 78292, 3742, 15937, 6562, 132887, 1172, 275, 48281, 12665, 115743, 449, 7722, 5303, 4527, 50782, 2886, 8, 85779, 16648, 134234, 33342, 225490, 50339, 105950, 621, 959, 903, 145823, 36746 ]
[ 0.0262603759765625, 0.039947509765625, 0.2081298828125, 0.1529541015625, 0.07220458984375, 0.1199951171875, 0.0787353515625, 0.29150390625, 0.0535888671875, 0.09759521484375, 0.1231689453125, 0.1510009765625, 0.067138671875, 0.050323486328125, 0.146484375, 0.0924072265625, 0.13037109...
embed
581824_c1
581824
fsharp
1
fst printn_any (problem27 1000) Any tips on how to a) get this algorithm actually returning the right answer (I think I'm at least taking a workable approach) and b) improve the performance, as it clearly exceeds the "one minute rule" set out in the Project Euler FAQ. I'm a bit of a newbie to functional programming, s...
fst printn_any (problem27 1000) Any tips on how to a) get this algorithm actually returning the right answer (I think I'm at least taking a workable approach) and b) improve the performance, as it clearly exceeds the "one minute rule" set out in the Project Euler FAQ. I'm a bit of a newbie to functional programming, s...
[ -0.0064697265625, 0.01190185546875, 0.01123046875, 0.0224609375, 0.00151824951171875, -0.00075531005859375, 0.0177001953125, -0.022705078125, 0.023681640625, -0.040283203125, -0.005828857421875, 0.0120849609375, 0.0047607421875, -0.00341796875, 0.005462646484375, 0.002899169921875, -...
[ 1238, 271, 28412, 19, 4848, 38953, 3768, 4382, 28541, 6305, 3642, 47, 10, 2046, 903, 234873, 20653, 30646, 214, 7108, 35166, 5351, 19713, 4488, 2886, 51515, 876, 52295, 23718, 123019, 204839, 3630, 15393, 79986, 27331, 5177, 603, 52064, 478...
[ 0.0712890625, 0.134521484375, 0.2161865234375, 0.1348876953125, 0.2666015625, 0.197265625, 0.255615234375, 0.2142333984375, 0.017669677734375, 0.1632080078125, 0.059844970703125, 0.0235137939453125, 0.013671875, 0.073486328125, 0.0595703125, 0.231689453125, 0.0958251953125, 0.13244...
embed
45145704_c0
45145704
fsharp
0
Title: Debugging in F# throws AccessViolationException Problem title: Debugging in F# throws AccessViolationException Tags: debugging, f%23 Problem: Debugging in F# throws AccessViolationException In my F# code I regularly seem to encounter AccessViolationExceptions when stepping through my code; An unhandled exception...
Debugging in F# throws AccessViolationException Debugging in F# throws AccessViolationException debugging f%23 AccessViolationException System.AccessViolationException Debugging FSharp.Core.dll Additional Attempted Debugging in F# throws AccessViolationException In my F# code I regularly seem to encounter AccessViolati...
[ -0.0007781982421875, 0.0172119140625, -0.006500244140625, -0.002899169921875, 0.0145263671875, -0.00177764892578125, -0.0067138671875, 0.0164794921875, -0.021484375, -0.023681640625, 0.0269775390625, 0.0186767578125, 0.026611328125, 0.01226806640625, 0.0294189453125, -0.00921630859375,...
[ 262, 978, 36659, 23, 563, 4904, 104250, 40266, 6609, 31, 57860, 19279, 63928, 8, 1238, 3949, 3742, 12353, 39450, 26531, 93774, 3467, 254, 50886, 13, 1181, 34224, 7, 759, 18151, 186085, 48903, 190647, 3229, 2288, 26783, 8305, 4171, 67175, ...
[ 0.1220703125, 0.207763671875, 0.065185546875, 0.018157958984375, 0.156494140625, 0.2257080078125, 0.110595703125, 0.1993408203125, 0.1627197265625, 0.1025390625, 0.064453125, 0.06756591796875, 0.123779296875, 0.088623046875, 0.09515380859375, 0.045257568359375, 0.1534423828125, 0.0...
embed
71789700_c0
71789700
fsharp
0
Title: How can I create an F# AST for a record type definition programmatically? Problem title: How can I create an F# AST for a record type definition programmatically? Tags: f%23, fantomas Problem: How can I create an F# AST for a record type definition programmatically? For example this record: type City = { ID : st...
How can I create an F# AST for a record type definition programmatically? How can I create an F# AST for a record type definition programmatically? f%23 fantomas How AST City Name FSharp.Compiler.Syntax FSharp.Compiler.Text SynModuleDecl.CreateSimpleType How can I create an F# AST for a record type definition programma...
[ -0.019775390625, -0.0019683837890625, -0.007293701171875, 0.01708984375, -0.0017242431640625, -0.01214599609375, -0.006622314453125, -0.00439453125, -0.005157470703125, -0.0322265625, 0.0211181640625, 0.003387451171875, -0.004058837890625, -0.005706787109375, 0.0037841796875, 0.0073852...
[ 11249, 831, 28282, 142, 563, 4904, 6, 48963, 100, 17164, 10644, 80934, 11720, 18, 71407, 87, 1238, 3742, 1207, 188, 1510, 6406, 15757, 93774, 3467, 254, 5, 108161, 34759, 86531, 174379, 91616, 120152, 63784, 33209, 196707, 1326, 27781, 1506...
[ 0.05120849609375, 0.06634521484375, 0.1575927734375, 0.0455322265625, 0.1221923828125, 0.21923828125, 0.005401611328125, 0.2261962890625, 0.05377197265625, 0.1793212890625, 0.1734619140625, 0.1622314453125, 0.1602783203125, 0.08447265625, 0.08563232421875, 0.0250396728515625, 0.06103...
embed
28518261_c1
28518261
fsharp
1
.minBy min biglist let (year,_,_,min,_) = TupleWithSmallestValue printfn"Min rainfall:\t%A; %A" min year and I was thinking something along the lines of : List.map (fun (year,(Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec), avg, min, max) -> somehow print the min and the month it came from ) But I know that's wrong a...
.minBy min biglist let (year,_,_,min,_) = TupleWithSmallestValue printfn"Min rainfall:\t%A; %A" min year and I was thinking something along the lines of : List.map (fun (year,(Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec), avg, min, max) -> somehow print the min and the month it came from ) But I know that's wrong a...
[ -0.016845703125, -0.010986328125, 0.0198974609375, 0.0166015625, -0.021240234375, 0.000370025634765625, 0.02099609375, -0.00927734375, 0.007659912109375, 0.04931640625, -0.004638671875, 0.012939453125, 0.0244140625, 0.000020503997802734375, -0.0181884765625, 0.0078125, -0.00793457031...
[ 5, 1249, 75358, 881, 6957, 6562, 2633, 46799, 1371, 8705, 194583, 88611, 271, 856, 50770, 28412, 14783, 59076, 102044, 9146, 284, 6602, 47644, 124519, 32036, 62346, 16498, 67884, 919, 6403, 16305, 47677, 82419, 97866, 105214, 186432, 4233, 15...
[ 0.06494140625, 0.244384765625, 0.2086181640625, 0.2841796875, 0.0814208984375, 0.2486572265625, 0.1500244140625, 0.1685791015625, 0.09033203125, 0.1920166015625, 0.1441650390625, 0.161865234375, 0.1051025390625, 0.11474609375, 0.1763916015625, 0.2135009765625, 0.09637451171875, 0.2...
embed
4625899_c0
4625899
fsharp
0
Title: Tuples in type members using F# Problem title: Tuples in type members using F# Tags: tuples, f%23, types, member Problem: Tuples in type members using F# I have a simple question. Why does this not work? type Test1() = member o.toTuple = 1.,2.,3. type Test2() = member o.test (x: float, y: float, z: float) = prin...
Tuples in type members using F# Tuples in type members using F# tuples f%23 types member F# Tuples Test1 o.toTuple Test2 o.test x.toTuple Tuples in type members using F# I have a simple question. Why does this not work? The error is: and
[ 0.018798828125, -0.002166748046875, -0.0017242431640625, -0.004150390625, 0.0020294189453125, -0.02392578125, -0.000152587890625, -0.0040283203125, 0.007568359375, -0.007110595703125, -0.00372314453125, 0.01171875, 0.0181884765625, 0.0145263671875, 0.000946044921875, -0.007537841796875...
[ 1371, 99726, 23, 10644, 43032, 17368, 563, 4904, 370, 1238, 3949, 3742, 52895, 32786, 8647, 418, 36, 188, 15665, 8705, 304, 6954, 1022, 8781, 44084, 14602, 903, 959, 4488, 18499, 83, 136 ]
[ 0.1463623046875, 0.2169189453125, 0.044891357421875, 0.1695556640625, 0.18994140625, 0.038482666015625, 0.1302490234375, 0.1671142578125, 0.1319580078125, 0.05615234375, 0.0279541015625, 0.110595703125, 0.1263427734375, 0.1605224609375, 0.1439208984375, 0.0234527587890625, 0.09692382...
embed
59721450_c0
59721450
fsharp
0
Title: Can I use delegates directly in a discriminated union in F#? Problem title: Can I use delegates directly in a discriminated union in F#? Tags: f%23 Problem: Can I use delegates directly in a discriminated union in F#? I have the following: type CallbackString = delegate of string -> unit type CallbackByte = dele...
Can I use delegates directly in a discriminated union in F#? Can I use delegates directly in a discriminated union in F#? f%23 Can CallbackString CallbackByte CallbackType Byte Can I use delegates directly in a discriminated union in F#? I have the following: since I may have a lot of types adding up, is there a syntax...
[ 0.003143310546875, 0.00921630859375, 0.00543212890625, 0.007659912109375, -0.010986328125, 0.0072021484375, -0.02197265625, 0.0003795623779296875, 0.02490234375, -0.006988525390625, 0.007568359375, 0.0081787109375, 0.0003681182861328125, 0.01202392578125, 0.0020599365234375, 0.00183105...
[ 4171, 87, 4527, 102329, 90, 105237, 23, 55970, 3674, 69941, 563, 4904, 1238, 3742, 26265, 12620, 71713, 75358, 67, 196707, 3311, 5915, 52895, 154107, 1257, 6002, 86531, 21373, 9969, 1340, 450 ]
[ 0.08074951171875, 0.032928466796875, 0.1292724609375, 0.28173828125, 0.177001953125, 0.1605224609375, 0.03619384765625, 0.202880859375, 0.0810546875, 0.16259765625, 0.119873046875, 0.187744140625, 0.0570068359375, 0.06982421875, 0.1116943359375, 0.15234375, 0.0750732421875, 0.06372...
embed
12416571_c0
12416571
fsharp
0
Title: Error of Lookup on object of indeterminate type .... on a already annotated type Problem title: Error of Lookup on object of indeterminate type .... on a already annotated type Tags: f%23 Problem: Error of Lookup on object of indeterminate type .... on a already annotated type Why am I getting an error of "Looku...
Error of Lookup on object of indeterminate type .... on a already annotated type Error of Lookup on object of indeterminate type .... on a already annotated type f%23 Error Lookup r.Read r:SqlDataReader Error of Lookup on object of indeterminate type .... on a already annotated type Why am I getting an error of "Lookup...
[ 0.0167236328125, -0.000579833984375, 0.00970458984375, 0.006500244140625, 0.01214599609375, -0.005096435546875, -0.00579833984375, 0.005096435546875, 0.00028228759765625, -0.042724609375, 0.022705078125, -0.0228271484375, -0.0123291015625, -0.007720947265625, 0.01531982421875, -0.00555...
[ 212059, 111, 60818, 2037, 98, 36746, 23, 145099, 67, 10644, 21771, 8668, 102, 1238, 3949, 3742, 1690, 31345, 99247, 137989, 56, 153, 44084, 444, 20949, 18499, 15363, 31, 11322, 35509, 4677, 41928, 903, 1528, 6275, 765, 3674, 678, 127308, ...
[ 0.1754150390625, 0.142822265625, 0.149169921875, 0.13330078125, 0.1395263671875, 0.18359375, 0.08990478515625, 0.22265625, 0.0517578125, 0.1563720703125, 0.152099609375, 0.1517333984375, 0.10418701171875, 0.0330810546875, 0.0156097412109375, 0.14111328125, 0.10614013671875, 0.22070...
embed
31280989_c0
31280989
fsharp
0
Title: How to find index of last element in list matching predicate? Problem title: How to find index of last element in list matching predicate? Tags: f%23 Problem: How to find index of last element in list matching predicate? I would like to get the last index of an element in a list matching a predicate. I know I ca...
How to find index of last element in list matching predicate? How to find index of last element in list matching predicate? f%23 How None Some n-1 arr.Length How to find index of last element in list matching predicate? I would like to get the last index of an element in a list matching a predicate. I know I can use th...
[ -0.00360107421875, 0.0247802734375, 0.007049560546875, -0.01409912109375, -0.01953125, 0.0079345703125, 0.021484375, 0.00750732421875, 0.0107421875, -0.005340576171875, 0.0181884765625, -0.0034027099609375, -0.000614166259765625, -0.0087890625, 0.01458740234375, -0.00775146484375, 0....
[ 11249, 47, 7413, 63262, 111, 4568, 12830, 23, 5303, 14858, 214, 1653, 2063, 67, 1238, 3949, 3742, 438, 5759, 1884, 2046, 4527, 25632, 18151, 10298, 3917, 96760, 35064, 32354 ]
[ 0.04400634765625, 0.0272216796875, 0.125244140625, 0.2403564453125, 0.093994140625, 0.2215576171875, 0.1756591796875, 0.062255859375, 0.18212890625, 0.18408203125, 0.083740234375, 0.1558837890625, 0.161376953125, 0.0882568359375, 0.03240966796875, 0.00750732421875, 0.1162109375, 0....
embed
9823437_c0
9823437
fsharp
0
Title: Retrieving data from Facebook graph API using F# Problem title: Retrieving data from Facebook graph API using F# Tags: facebook-graph-api, f%23, c%23-to-f%23 Problem: Retrieving data from Facebook graph API using F# I have been using C# with the Newtonsoft.Json library to collect data from Facebook. This is work...
Retrieving data from Facebook graph API using F# Retrieving data from Facebook graph API using F# facebook-graph-api f%23 c%23-to-f%23 Facebook F# Retrieving API Retrieving data from Facebook graph API using F# I have been using C# with the Newtonsoft.Json library to collect data from Facebook. This is working reasonab...
[ -0.003692626953125, 0.033935546875, 0.00885009765625, 0.01068115234375, 0.00604248046875, 0.006072998046875, -0.005828857421875, 0.012451171875, -0.0147705078125, -0.0263671875, 0.006744384765625, -0.0213623046875, -0.0152587890625, -0.005584716796875, 0.0133056640625, 0.00616455078125...
[ 853, 97351, 2053, 1295, 1431, 41382, 61687, 17368, 563, 4904, 6, 10899, 40897, 3742, 27495, 188, 420, 313, 145076, 61306, 1375, 1681, 35773, 43799, 20697, 31635, 5299, 87, 1884, 21373, 64457, 17596, 35613, 23, 51703, 8060, 10644, 81450, 385...
[ 0.0570068359375, 0.1466064453125, 0.192138671875, 0.09356689453125, 0.247802734375, 0.2342529296875, 0.214111328125, 0.048553466796875, 0.1800537109375, 0.2337646484375, 0.014892578125, 0.181396484375, 0.141845703125, 0.052825927734375, 0.0174560546875, 0.02459716796875, 0.0445861816...
embed
67789033_c0
67789033
fsharp
0
Title: f# for loop continue Problem title: f# for loop continue Tags: for-loop, f%23, f%23-interactive Problem: f# for loop continue I want after else the loop to continue, so the list will be filled and after that return list let isPoli num = let x = string num let fhf = x.Substring(0, (int) (x.Length / 2)) let shf = ...
f# for loop continue f# for loop continue for-loop f%23 f%23-interactive x.Substring x.Length Seq.rev Seq.toArray System.String f# for loop continue I want after else the loop to continue, so the list will be filled and after that return list
[ -0.016845703125, 0.0123291015625, -0.0145263671875, 0.0213623046875, -0.01324462890625, 0.0279541015625, 0.02783203125, 0.00168609619140625, 0.003570556640625, 0.017578125, 0.026123046875, 0.0172119140625, 0.0078125, -0.00176239013671875, 0.000339508056640625, -0.01123046875, 0.00656...
[ 1238, 4904, 100, 40956, 21342, 28354, 3742, 27495, 10433, 71232, 1022, 96472, 91693, 503, 864, 65381, 188, 7614, 7092, 12353, 71713, 3444, 7103, 37076, 47, 5303, 1221, 186, 152382, 30646 ]
[ 0.080810546875, 0.1402587890625, 0.1226806640625, 0.2216796875, 0.2364501953125, 0.1788330078125, 0.1029052734375, 0.06707763671875, 0.06756591796875, 0.0723876953125, 0.04248046875, 0.074951171875, 0.120849609375, 0.002960205078125, 0.0791015625, 0.107177734375, 0.0643310546875, 0...
embed
39336927_c1
39336927
fsharp
1
.WriteLine(Game.Engine.aList.Count()); foreach (int i in Game.Engine.aList) Console.WriteLine(i); } [Test] public void CanIIterateListsOfLists() { Console.WriteLine(Game.Engine.listOfLists); Console.WriteLine(Game.Engine.listOfLists.Count()); } Code signals: System.EntryPointNotFoundException, EntryPointNotFoundExcepti...
.WriteLine(Game.Engine.aList.Count()); foreach (int i in Game.Engine.aList) Console.WriteLine(i); } [Test] public void CanIIterateListsOfLists() { Console.WriteLine(Game.Engine.listOfLists); Console.WriteLine(Game.Engine.listOfLists.Count()); } Code signals: System.EntryPointNotFoundException, EntryPointNotFoundExcepti...
[ -0.000667572021484375, 0.00153350830078125, -0.0042724609375, 0.005218505859375, -0.00897216796875, 0.00439453125, 0.020751953125, -0.0107421875, 0.00469970703125, -0.00787353515625, 0.001007080078125, 0.000789642333984375, 0.0245361328125, 0.03857421875, 0.0189208984375, -0.0091552734...
[ 5, 1456, 18781, 93232, 107576, 91384, 1212, 11, 154663, 108210, 132, 100, 41581, 4288, 17, 13547, 1657, 40777, 14, 111337, 3835, 2292, 4171, 10001, 8560, 67, 7, 132887, 6562, 28864, 26073, 12, 12353, 7768, 15123, 147534, 122116, 27591, 7030...
[ 0.0611572265625, 0.0413818359375, 0.1280517578125, 0.2222900390625, 0.1239013671875, 0.15576171875, 0.1435546875, 0.0888671875, 0.2274169921875, 0.177978515625, 0.039276123046875, 0.047149658203125, 0.124267578125, 0.1295166015625, 0.094970703125, 0.1370849609375, 0.035797119140625, ...
embed
5214876_c0
5214876
fsharp
0
Title: Null Vs Option in F# Problem title: Null Vs Option in F# Tags: f%23, types Problem: Null Vs Option in F# I have a problem understanding co-existence of "null" and Option in F#. In a book I have read that null value is not a proper value in F# because this way F# eliminates the excessive null checking. But it sti...
Null Vs Option in F# Null Vs Option in F# f%23 types Option Null Vs Option in F# I have a problem understanding co-existence of "null" and Option in F#. In a book I have read that null value is not a proper value in F# because this way F# eliminates the excessive null checking. But it still allows null-initialized refe...
[ 0.0196533203125, 0.01239013671875, 0.0223388671875, 0.00799560546875, 0.00921630859375, -0.0128173828125, 0.023681640625, -0.0189208984375, 0.01318359375, 0.01904296875, 0.0125732421875, 0.0118408203125, 0.00628662109375, -0.007415771484375, 0.0142822265625, -0.0067138671875, 0.02246...
[ 1429, 1181, 310, 7, 86769, 23, 563, 4904, 1238, 3742, 52895, 2967, 100094, 552, 116311, 139550, 136, 12877, 56574, 34292, 83, 959, 27798, 27169, 218527, 175199, 7464, 114864, 943, 118, 91067, 831, 765, 142424, 1284, 2301, 18, 142172, 65922,...
[ 0.1983642578125, 0.1766357421875, 0.16943359375, 0.0226287841796875, 0.2880859375, 0.048858642578125, 0.16845703125, 0.2244873046875, 0.0919189453125, 0.094482421875, 0.1392822265625, 0.045562744140625, 0.0298309326171875, 0.06640625, 0.084716796875, 0.2354736328125, 0.06109619140625...
embed
39769764_c0
39769764
fsharp
0
Title: Return sum of sublist in a list Problem title: Return sum of sublist in a list Tags: f%23 Problem: Return sum of sublist in a list I've been trying to figure this out for the last few hours with no success what so ever. Let's say I have a list of lists of int let list = [[1;3;4;4];[1;3]] I have to create a funct...
Return sum of sublist in a list Return sum of sublist in a list f%23 List.fold Return sum of sublist in a list I've been trying to figure this out for the last few hours with no success what so ever. Let's say I have a list of lists of int I have to create a function that will sum the sublists and return one list as be...
[ -0.00439453125, 0.0022125244140625, 0.0286865234375, 0.0198974609375, -0.02001953125, 0.0203857421875, -0.01287841796875, 0.02685546875, 0.017822265625, -0.0147705078125, 0.0086669921875, -0.0157470703125, 0.009765625, 0.026611328125, -0.00174713134765625, 0.01092529296875, 0.0020904...
[ 173340, 10554, 111, 1614, 6562, 23, 5303, 10, 1238, 3949, 3742, 32036, 42822, 31577, 26366, 21974, 110, 36272, 7, 18, 28282, 32354, 70, 30646, 1632, 35064, 30745, 5608, 4527, 272, 37842, 25632, 903, 214, 4734, 43240, 11737, 98441 ]
[ 0.2022705078125, 0.25, 0.10174560546875, 0.2322998046875, 0.26416015625, 0.08038330078125, 0.214111328125, 0.011688232421875, 0.052215576171875, 0.050506591796875, 0.139404296875, 0.1885986328125, 0.2252197265625, 0.02740478515625, 0.050140380859375, 0.039825439453125, 0.002471923828...
embed
7303897_c0
7303897
fsharp
0
Title: Is it possible to declare mutable and immutable values/bindings simultaneously? Problem title: Is it possible to declare mutable and immutable values/bindings simultaneously? Tags: let, f%23, mutable, tuples Problem: Is it possible to declare mutable and immutable values/bindings simultaneously? For example I wa...
Is it possible to declare mutable and immutable values/bindings simultaneously? Is it possible to declare mutable and immutable values/bindings simultaneously? let f%23 mutable tuples s.Length Is it possible to declare mutable and immutable values/bindings simultaneously? For example I want to declare constant binding ...
[ -0.01153564453125, 0.0185546875, -0.0007476806640625, 0.006317138671875, 0.0010528564453125, 0.01177978515625, 0.0152587890625, 0.012939453125, 0.02978515625, 0.014404296875, 0.0108642578125, 0.01263427734375, 0.004241943359375, 0.0091552734375, 0.020263671875, 0.01092529296875, 0.01...
[ 2071, 442, 7722, 47, 159978, 842, 22819, 136, 566, 561, 142424, 128239, 134477, 79850, 64, 7, 2633, 1238, 3949, 3742, 370, 99726, 91, 449, 3444, 53697, 3098, 17, 83, 69819, 91067 ]
[ 0.041748046875, 0.058135986328125, 0.16259765625, 0.018707275390625, 0.2174072265625, 0.161865234375, 0.1964111328125, 0.1009521484375, 0.0523681640625, 0.1466064453125, 0.1884765625, 0.2166748046875, 0.138671875, 0.07080078125, 0.00531005859375, 0.036712646484375, 0.011138916015625,...
embed
61875850_c1
61875850
fsharp
1
36274900"; "32.52"|];] let tryout = stockArray |> List.iter;; Output complains about List.iter: error FS0001: Type mismatch. Expecting a 'string [] list -> 'a' but given a '('b -> unit) -> 'b list -> unit' The type 'string [] list' does not match the type ''a -> unit' When trying Array.iter, same difference: error FS00...
36274900"; "32.52"|];] let tryout = stockArray |> List.iter;; Output complains about List.iter: error FS0001: Type mismatch. Expecting a 'string [] list -> 'a' but given a '('b -> unit) -> 'b list -> unit' The type 'string [] list' does not match the type ''a -> unit' When trying Array.iter, same difference: error FS00...
[ -0.00445556640625, -0.00186920166015625, 0.010009765625, 0.0120849609375, -0.00201416015625, -0.00732421875, 0.022216796875, 0.00124359130859375, 0.01336669921875, 0.0361328125, 0.0224609375, -0.004669189453125, 0.0069580078125, -0.007537841796875, -0.01239013671875, -0.000705718994140...
[ 4039, 3768, 617, 20543, 6460, 12744, 2633, 9790, 6056, 31837, 7614, 7092, 32036, 16840, 13538, 186992, 5, 18499, 93774, 188735, 60457, 1239, 98753, 60075, 24762, 91693, 5303, 33079, 11, 34475, 275, 25072, 10644, 959, 14858, 31577, 69253, 53, ...
[ 0.0307159423828125, 0.03851318359375, 0.004180908203125, 0.08740234375, 0.05499267578125, 0.07666015625, 0.010101318359375, 0.110107421875, 0.147216796875, 0.13916015625, 0.0345458984375, 0.1727294921875, 0.1646728515625, 0.1834716796875, 0.05072021484375, 0.1226806640625, 0.01597595...
embed
4429273_c0
4429273
fsharp
0
Title: Definining parameters in F# functions, is it better using tuples? Problem title: Definining parameters in F# functions, is it better using tuples? Tags: f%23, parameter-passing, parameters Problem: Definining parameters in F# functions, is it better using tuples? A simple question... Is it good practice to defin...
Definining parameters in F# functions, is it better using tuples? Definining parameters in F# functions, is it better using tuples? f%23 parameter-passing parameters tuples Definining par1 par2 Definining parameters in F# functions, is it better using tuples? A simple question... Is it good practice to define a functio...
[ 0.00408935546875, -0.00145721435546875, -0.0023193359375, 0.01214599609375, 0.01068115234375, -0.004638671875, -0.002838134765625, -0.016845703125, 0.00408935546875, -0.01361083984375, 0.00689697265625, 0.01007080078125, -0.016357421875, 0.0272216796875, -0.00122833251953125, -0.006134...
[ 88606, 171859, 7, 23, 563, 4904, 32354, 83, 11522, 17368, 370, 99726, 592, 442, 1238, 3742, 13409, 366, 418, 304, 2071, 4127, 41361, 61924, 26946, 1286, 3501, 106, 8305, 765, 47, 221, 5154, 164, 54433, 140478, 39210, 27875 ]
[ 0.191162109375, 0.22021484375, 0.004852294921875, 0.0067138671875, 0.1304931640625, 0.2120361328125, 0.1776123046875, 0.04193115234375, 0.155517578125, 0.111572265625, 0.1383056640625, 0.2381591796875, 0.033050537109375, 0.12109375, 0.074951171875, 0.091552734375, 0.0628662109375, ...
embed
28682141_c0
28682141
fsharp
0
Title: Finding the difference between two arrays in FSharp Problem title: Finding the difference between two arrays in FSharp Tags: f%23 Problem: Finding the difference between two arrays in FSharp I have two arrays where I want to find the elements from the second array that are not in the first array. I wrote the fol...
Finding the difference between two arrays in FSharp Finding the difference between two arrays in FSharp f%23 Finding FSharp array0 array1 Array.tryFind Array.filter IsSome Finding the difference between two arrays in FSharp I have two arrays where I want to find the elements from the second array that are not in the fi...
[ 0.00433349609375, 0.01434326171875, -0.0133056640625, 0.02001953125, 0.006317138671875, -0.00173187255859375, 0.00994873046875, 0.01226806640625, -0.0022735595703125, 0.01318359375, 0.007080078125, 0.03271484375, -0.0107421875, 0.01611328125, 0.003875732421875, -0.0002613067626953125, ...
[ 26040, 214, 70, 60212, 17721, 6626, 10298, 4778, 23, 93774, 3467, 254, 1238, 3742, 53, 2389, 418, 69253, 15123, 204582, 120337, 2071, 8912, 282, 3444, 47, 7413, 80854, 1295, 17932, 450, 959, 5117, 54397, 25632, 18151, 149016, 9844, 1286, ...
[ 0.1251220703125, 0.003204345703125, 0.025909423828125, 0.2091064453125, 0.174560546875, 0.1265869140625, 0.150146484375, 0.1640625, 0.056121826171875, 0.1044921875, 0.192138671875, 0.223876953125, 0.05718994140625, 0.09356689453125, 0.076904296875, 0.054168701171875, 0.01351928710937...
embed
68292376_c0
68292376
fsharp
0
Title: How do I write a delegate with params in F#? Problem title: How do I write a delegate with params in F#? Tags: delegates, c%23-to-f%23, f%23 Problem: How do I write a delegate with params in F#? I have a C# delegate that I need to replicate in F#: public delegate object InvokeDelegate(string method, params objec...
How do I write a delegate with params in F#? How do I write a delegate with params in F#? delegates c%23-to-f%23 f%23 How InvokeDelegate How do I write a delegate with params in F#? I have a C# delegate that I need to replicate in F#: How do I replicate this in F#? I tried: I'm not sure what's special about this, just ...
[ -0.01416015625, 0.0016326904296875, -0.01116943359375, 0.005218505859375, -0.0296630859375, 0.0174560546875, 0.0213623046875, -0.01068115234375, 0.009521484375, -0.0013275146484375, 0.005828857421875, -0.0174560546875, 0.00958251953125, 0.015625, -0.0021209716796875, -0.02099609375, ...
[ 11249, 33022, 102329, 13, 678, 121, 4432, 23, 563, 4904, 87, 10, 90, 27495, 188, 420, 3742, 1238, 360, 23253, 4657, 3257, 67, 54, 313, 3871, 143126, 903, 37842, 5361, 159029, 70, 35773, 1294, 32354, 18, 4488, 4527, 17569, 13648, 166117,...
[ 0.053436279296875, 0.184326171875, 0.29833984375, 0.180908203125, 0.1358642578125, 0.1802978515625, 0.2034912109375, 0.0755615234375, 0.1558837890625, 0.2314453125, 0.0270843505859375, 0.043426513671875, 0.10394287109375, 0.0906982421875, 0.117919921875, 0.0826416015625, 0.0466003417...
embed
6099917_c0
6099917
fsharp
0
Title: F# sort using head::tail Problem title: F# sort using head::tail Tags: f%23, tail-recursion Problem: F# sort using head::tail I am trying to write a recursive function that uses head::tail. I understand that head in the first element of the list and tail is all other elements in the list. I also understand how r...
F# sort using head::tail F# sort using head::tail f%23 tail-recursion head::tail F# sort using head::tail I am trying to write a recursive function that uses head::tail. I understand that head in the first element of the list and tail is all other elements in the list. I also understand how recursions works. What I am ...
[ 0.00994873046875, 0.00946044921875, 0.0205078125, -0.01116943359375, -0.005859375, 0.00634765625, -0.0025787353515625, -0.010498046875, 0.003570556640625, -0.0091552734375, 0.0213623046875, 0.00323486328125, -0.01171875, 0.004364013671875, 0.0107421875, -0.01177978515625, 0.000823974...
[ 563, 4904, 12096, 17368, 10336, 12, 46741, 1238, 3742, 107, 48650, 1830, 31577, 33022, 195625, 5844, 32354, 4527, 28219, 23, 5117, 12830, 5303, 136, 83, 756, 3789, 80854, 17514, 43240, 149016, 3642, 1672, 214, 3917, 69101, 47, 11907, 55076,...
[ 0.1307373046875, 0.19384765625, 0.231201171875, 0.060455322265625, 0.220703125, 0.06036376953125, 0.2607421875, 0.070556640625, 0.0982666015625, 0.056640625, 0.175048828125, 0.10791015625, 0.05035400390625, 0.06011962890625, 0.2266845703125, 0.1025390625, 0.1297607421875, 0.0874023...
embed
54820002_c1
54820002
fsharp
1
astTree()) let model = pipeline.Fit(data) let predictions = model.Transform(data) let metrics = context.BinaryClassification.Evaluate(predictions) printfn "Accuracy %f" metrics.Accuracy Any pointers as to what I am doing wrong would be greatly appreciated. Code signals: System.ArgumentOutOfRangeException, Unhandled, Ex...
astTree()) let model = pipeline.Fit(data) let predictions = model.Transform(data) let metrics = context.BinaryClassification.Evaluate(predictions) printfn "Accuracy %f" metrics.Accuracy Any pointers as to what I am doing wrong would be greatly appreciated. Code signals: System.ArgumentOutOfRangeException, Unhandled, Ex...
[ 0.022216796875, -0.0019073486328125, -0.005828857421875, 0.006683349609375, 0.0244140625, 0.003082275390625, -0.01025390625, -0.009521484375, 0.007720947265625, -0.01470947265625, 0.005889892578125, 0.0019378662109375, 0.0137939453125, 0.00872802734375, 0.022216796875, -0.0105590820312...
[ 10, 271, 62731, 13, 132, 2633, 3299, 137158, 2256, 120962, 10135, 92054, 17514, 62624, 5037, 27079, 4439, 43701, 571, 73, 6635, 140803, 41274, 27494, 19714, 1771, 28412, 14783, 39450, 27315, 2408, 1745, 420, 6275, 1314, 87, 444, 20594, 4469...
[ 0.08203125, 0.14111328125, 0.261474609375, 0.1187744140625, 0.03472900390625, 0.103271484375, 0.2147216796875, 0.16455078125, 0.174560546875, 0.200439453125, 0.125, 0.2158203125, 0.08331298828125, 0.00726318359375, 0.1663818359375, 0.176513671875, 0.036468505859375, 0.1954345703125...
embed
50121459_c0
50121459
fsharp
0
Title: Doubling elements of a list in f# Problem title: Doubling elements of a list in f# Tags: f%23, list Problem: Doubling elements of a list in f# I am attempting to double the elements of a given list but am getting an error " This expression was expected to have type ''a list' but here has type 'int' " when defini...
Doubling elements of a list in f# Doubling elements of a list in f# f%23 list Doubling list1 head::tail Doubling elements of a list in f# I am attempting to double the elements of a given list but am getting an error " This expression was expected to have type ''a list' but here has type 'int' " when defining a new lis...
[ -0.00113677978515625, 0.0069580078125, 0.0068359375, -0.0012664794921875, 0.0023651123046875, 0.037841796875, -0.01953125, 0.0011138916015625, 0.003814697265625, -0.00469970703125, 0.0264892578125, -0.0181884765625, 0.005523681640625, -0.01171875, 0.005340576171875, 0.005340576171875, ...
[ 40641, 79298, 80854, 5303, 23, 1238, 4904, 111, 3949, 3742, 418, 10336, 12, 46741, 81887, 41929, 70, 34475, 18499, 3293, 125195, 509, 84751, 10644, 11, 1284, 3688, 1556, 4288, 25, 13204, 3525, 4552, 28219, 4488, 11814, 36746, 23509, 51515 ]
[ 0.1695556640625, 0.177001953125, 0.2088623046875, 0.20263671875, 0.0286102294921875, 0.1473388671875, 0.190673828125, 0.00738525390625, 0.03399658203125, 0.170654296875, 0.050262451171875, 0.1832275390625, 0.0235443115234375, 0.264892578125, 0.09716796875, 0.208984375, 0.038513183593...
embed
40193931_c0
40193931
fsharp
0
Title: F# Implement base class Problem title: F# Implement base class Tags: f%23, c%23, base-class Problem: F# Implement base class I'm new to F# and I wanted to create an F# Forms Application. But the Problem that I have at the moment, is that I don't know how to implement a base class. In C# I would do it like that n...
F# Implement base class F# Implement base class f%23 c%23 base-class Implement Test_Form Form1 Form System System.Windows.Forms F# Implement base class I'm new to F# and I wanted to create an F# Forms Application. But the Problem that I have at the moment, is that I don't know how to implement a base class. In C# I wou...
[ 0.0169677734375, 0.0194091796875, -0.0126953125, 0.0152587890625, 0.0031585693359375, 0.00958251953125, 0.01263427734375, 0.00286865234375, -0.01019287109375, -0.037109375, 0.0174560546875, -0.01513671875, 0.007659912109375, 0.03173828125, -0.018798828125, 0.01031494140625, 0.0163574...
[ 563, 4904, 153941, 3647, 18507, 1238, 3949, 3742, 501, 67413, 8647, 102973, 15236, 418, 12353, 43342, 5, 39, 3525, 47, 36663, 28282, 7, 104921, 4966, 15649, 450, 765, 3095, 18, 3714, 3642, 29479, 10, 360, 313, 2806, 54, 1884, 3249, 442,...
[ 0.1693115234375, 0.236328125, 0.253662109375, 0.2408447265625, 0.250244140625, 0.106689453125, 0.020843505859375, 0.122802734375, 0.01513671875, 0.2100830078125, 0.174072265625, 0.2193603515625, 0.2491455078125, 0.055755615234375, 0.0650634765625, 0.096923828125, 0.000518798828125, ...
embed
73864905_c0
73864905
fsharp
0
Title: Visual Studio 2022 will not let me create a Project for the .NET 4.6.2 Platform Problem title: Visual Studio 2022 will not let me create a Project for the .NET 4.6.2 Platform Tags: .net, f%23, visual-studio-2022 Problem: Visual Studio 2022 will not let me create a Project for the .NET 4.6.2 Platform I'm trying t...
Visual Studio 2022 will not let me create a Project for the .NET 4.6.2 Platform Visual Studio 2022 will not let me create a Project for the .NET 4.6.2 Platform .net f%23 visual-studio-2022 Visual Studio Project NET Platform visual-studio-2022 Visual Studio 2022 will not let me create a Project for the .NET 4.6.2 Platfo...
[ -0.01953125, 0.0166015625, -0.00726318359375, 0.002593994140625, -0.0019683837890625, -0.015869140625, -0.01165771484375, -0.0091552734375, -0.0057373046875, 0.01409912109375, 0.01141357421875, -0.035888671875, -0.00640869140625, 0.007049560546875, 0.01483154296875, -0.005523681640625,...
[ 73372, 22968, 72392, 1221, 959, 2633, 163, 28282, 10, 27331, 100, 5, 17777, 1398, 178121, 70968, 1179, 1238, 3742, 21176, 52629, 151159, 70, 31577, 8781, 33600, 31, 8999, 678, 563, 4904, 4734, 35431, 3871, 4393, 116115, 903, 5608, 11675, ...
[ 0.2239990234375, 0.248291015625, 0.259765625, 0.07049560546875, 0.1177978515625, 0.1075439453125, 0.090576171875, 0.17236328125, 0.0241241455078125, 0.2177734375, 0.0692138671875, 0.037506103515625, 0.1822509765625, 0.114013671875, 0.2734375, 0.2049560546875, 0.14111328125, 0.04827...
embed
22568630_c0
22568630
fsharp
0
Title: Problems with the Freebase provider for F# Problem title: Problems with the Freebase provider for F# Tags: freebase, f%23, f%23-data Problem: Problems with the Freebase provider for F# Hi i'm starting to create some code in f# to access freebase data. I have started following this tutorial freebase but, even wit...
Problems with the Freebase provider for F# Problems with the Freebase provider for F# freebase f%23 f%23-data System.ArgumentException the Problems Freebase User-Agent Parameter Problems with the Freebase provider for F# Hi i'm starting to create some code in f# to access freebase data. I have started following this tu...
[ 0.0289306640625, 0.01239013671875, 0.003082275390625, 0.0052490234375, -0.003936767578125, 0.0017242431640625, 0.00384521484375, 0.0162353515625, -0.0113525390625, 0.001190185546875, 0.0098876953125, 0.01202392578125, 0.004486083984375, 0.0026092529296875, -0.005950927734375, -0.016113...
[ 15649, 678, 5153, 37382, 81450, 100, 563, 4904, 70, 4092, 1238, 3742, 27495, 10135, 12353, 7614, 1234, 19279, 63928, 53400, 284, 46825, 1720, 29089, 72134, 28282, 18151, 17203, 2053, 25632, 57143, 1544, 3034, 14602, 959, 4488, 29569, 581, 2...
[ 0.1431884765625, 0.04998779296875, 0.173583984375, 0.263427734375, 0.197021484375, 0.027496337890625, 0.1246337890625, 0.203369140625, 0.0054931640625, 0.1663818359375, 0.09521484375, 0.05316162109375, 0.057891845703125, 0.085205078125, 0.1375732421875, 0.0251312255859375, 0.16577148...
embed
36393127_c0
36393127
fsharp
0
Title: Converting complex Map data structure to F# Problem title: Converting complex Map data structure to F# Tags: f%23, c%23-to-f%23 Problem: Converting complex Map data structure to F# I am pretty new to the language F#, let alone functional programming, and I am having trouble implementing a Map data structure. The...
Converting complex Map data structure to F# Converting complex Map data structure to F# f%23 c%23-to-f%23 Converting Map Dictionary Tuple Converting complex Map data structure to F# I am pretty new to the language F#, let alone functional programming, and I am having trouble implementing a Map data structure. The C# ty...
[ 0.03369140625, 0.01373291015625, -0.0011444091796875, 0.003448486328125, -0.0035552978515625, -0.000055789947509765625, -0.010009765625, -0.0037841796875, 0.0242919921875, 0.00946044921875, 0.0052490234375, 0.00384521484375, 0.00445556640625, 0.046630859375, -0.0025482177734375, 0.0089...
[ 1657, 814, 1916, 27140, 42719, 2053, 45646, 47, 563, 4904, 1238, 3742, 27495, 188, 420, 147638, 1371, 8705, 28875, 3525, 46876, 123309, 56037, 63134, 29479, 313, 10644, 183234, 903, 2806, 37842, 35978, 157318, 23, 17152, 70, 7565, 19048, 76...
[ 0.049560546875, 0.1126708984375, 0.02349853515625, 0.19677734375, 0.1796875, 0.09735107421875, 0.1824951171875, 0.09417724609375, 0.142333984375, 0.1981201171875, 0.0179290771484375, 0.0428466796875, 0.04071044921875, 0.06475830078125, 0.0587158203125, 0.1749267578125, 0.070251464843...
embed
71522072_c1
71522072
fsharp
1
this.Value = match this with | ThumbsHeaderLinkColor v -> v | ThumbsHeaderLinkTextDecoration v -> v | ThumbsSetHeaderColor v -> v | ThumbsSetBackgroundColor v -> v | ThumbsSetHeaderPosition v -> v | ThumbsSetPaddingTop v -> v member this.Pair = let n = this.Name let v = this.Value n, v is this the right direction? …wh...
this.Value = match this with | ThumbsHeaderLinkColor v -> v | ThumbsHeaderLinkTextDecoration v -> v | ThumbsSetHeaderColor v -> v | ThumbsSetBackgroundColor v -> v | ThumbsSetHeaderPosition v -> v | ThumbsSetPaddingTop v -> v member this.Pair = let n = this.Name let v = this.Value n, v is this the right direction? …wh...
[ -0.0086669921875, -0.00127410888671875, -0.000904083251953125, 0.0022735595703125, -0.01019287109375, 0.0023956298828125, -0.0198974609375, 0.00188446044921875, 0.012939453125, 0.040283203125, 0.01544189453125, 0.0167236328125, 0.02099609375, -0.0185546875, 0, 0.01251220703125, -0.01...
[ 903, 5, 856, 50770, 2203, 14858, 678, 12613, 6492, 7, 13025, 38970, 64287, 10625, 1484, 81, 33079, 174379, 4657, 587, 30494, 294, 126, 152470, 64330, 7192, 172, 8335, 59725, 77888, 32786, 481, 2633, 653, 163612, 83, 7108, 48225, 6097, 125...
[ 0.2298583984375, 0.05279541015625, 0.1923828125, 0.25927734375, 0.09033203125, 0.2275390625, 0.1646728515625, 0.123779296875, 0.1839599609375, 0.0484619140625, 0.155029296875, 0.1163330078125, 0.174072265625, 0.06591796875, 0.143798828125, 0.224853515625, 0.000152587890625, 0.12316...
embed
70763326_c1
70763326
fsharp
1
<FSharpCoreIncludeDocFileInOutput>true</FSharpCoreIncludeDocFileInOutput> that controls whether the FSharp.Core.xml documentation is included in the output, but I couldn't find anything for the FSharp.Core.dll itself. I was hoping to find some project file property that will allow me to set the FSharp.Core.dll as 'Cop...
<FSharpCoreIncludeDocFileInOutput>true</FSharpCoreIncludeDocFileInOutput> that controls whether the FSharp.Core.xml documentation is included in the output, but I couldn't find anything for the FSharp.Core.dll itself. I was hoping to find some project file property that will allow me to set the FSharp.Core.dll as 'Cop...
[ -0.01318359375, 0.01708984375, -0.0029754638671875, -0.000629425048828125, -0.00970458984375, -0.01263427734375, -0.00909423828125, -0.0184326171875, -0.01953125, 0.0211181640625, 0.0301513671875, 0.004608154296875, -0.01611328125, 0.0177001953125, 0.01275634765625, -0.005157470703125,...
[ 36381, 3467, 254, 50886, 29786, 112, 8331, 238, 174350, 4153, 79858, 7077, 9774, 6226, 36766, 93774, 13, 131492, 209806, 99201, 70, 140992, 7413, 23937, 71, 1181, 68034, 156377, 13452, 11435, 57266, 5423, 10625, 6493, 24172, 69427, 5885, 563,...
[ 0.0506591796875, 0.1878662109375, 0.1939697265625, 0.182861328125, 0.1273193359375, 0.0198211669921875, 0.0821533203125, 0.07574462890625, 0.1375732421875, 0.048492431640625, 0.1416015625, 0.1142578125, 0.051483154296875, 0.2027587890625, 0.0283050537109375, 0.09161376953125, 0.14306...
embed
15258834_c0
15258834
fsharp
0
Title: list of objects to Collections.map Problem title: list of objects to Collections.map Tags: f%23 Problem: list of objects to Collections.map Given a list kinda like (simplified): type foo(n:string,m:string,l:string) = member f.name=n member f.val1=m member f.val2=l let dates = [ foo("a","aa","aaa") foo("b","bb","...
list of objects to Collections.map list of objects to Collections.map f%23 Collections.map n:string m:string l:string f.name f.val1 f.val2 key:foo.name value:foo list of objects to Collections.map Given a list kinda like (simplified): How can a a immutable dictionary-type structure (eg, Map, IDictionary...any others?) ...
[ 0.00506591796875, 0.0029144287109375, -0.00008296966552734375, -0.001922607421875, -0.0311279296875, -0.002655029296875, -0.013427734375, 0.0279541015625, 0.01312255859375, -0.0021820068359375, 0.00018405914306640625, 0.01263427734375, 0.0235595703125, 0.021240234375, -0.01080322265625, ...
[ 5303, 111, 36746, 47, 68220, 7, 62346, 3742, 91693, 347, 96, 1238, 11627, 1405, 22799, 3584, 31, 34292, 1884, 116120, 47314, 11249, 831, 566, 561, 22819, 45, 10763, 6635, 50986, 45646, 42719, 3173, 27494, 7228, 2965, 57767, 100, 277, 4692...
[ 0.218994140625, 0.0174713134765625, 0.1937255859375, 0.1182861328125, 0.2218017578125, 0.0804443359375, 0.1993408203125, 0.1236572265625, 0.1141357421875, 0.0285491943359375, 0.01123046875, 0.0379638671875, 0.158935546875, 0.0704345703125, 0.158203125, 0.1298828125, 0.13037109375, ...
embed
15752096_c0
15752096
fsharp
0
Title: Acessing data files through the F# Interactive in Visual Studio 2012 Problem title: Acessing data files through the F# Interactive in Visual Studio 2012 Tags: visual-studio-2012, f%23, f%23-interactive Problem: Acessing data files through the F# Interactive in Visual Studio 2012 I am developing some scripts in F...
Acessing data files through the F# Interactive in Visual Studio 2012 Acessing data files through the F# Interactive in Visual Studio 2012 visual-studio-2012 f%23 f%23-interactive Acessing Interactive Visual Studio visual-studio-2012 Acessing data files through the F# Interactive in Visual Studio 2012 I am developing so...
[ 0.0166015625, -0.00122833251953125, 0.00445556640625, 0.01409912109375, 0.01385498046875, 0.007720947265625, 0.00848388671875, 0.01055908203125, 0.000640869140625, -0.0306396484375, -0.0074462890625, 0.00099945068359375, 0.005706787109375, 0.01275634765625, 0.0166015625, 0.000869750976...
[ 70280, 38001, 2053, 102158, 8305, 563, 4904, 5337, 71232, 73372, 22968, 1324, 23, 21176, 52629, 54458, 1238, 10433, 168698, 26499, 51042, 3884, 8752, 3642, 17203, 2856, 18151, 959, 81522, 3917, 163846, 903, 15490, 7941, 587, 4393, 11435, 6087...
[ 0.111572265625, 0.1204833984375, 0.1268310546875, 0.1597900390625, 0.080810546875, 0.10528564453125, 0.19140625, 0.0906982421875, 0.1419677734375, 0.156982421875, 0.157958984375, 0.1806640625, 0.021270751953125, 0.1192626953125, 0.13037109375, 0.1160888671875, 0.01129150390625, 0.0...
embed
17031910_c0
17031910
fsharp
0
Title: Declaring internal types in F# Problem title: Declaring internal types in F# Tags: f%23, types Problem: Declaring internal types in F# Recently I came across a code listing like so: type MyType = | MyType of int and internal MyInternal = | One of MyType | Two of MyType I am not familiar with the usage of 'and in...
Declaring internal types in F# Declaring internal types in F# f%23 types Declaring MyType MyInternal One Two Declaring internal types in F# Recently I came across a code listing like so: I am not familiar with the usage of 'and internal' (on the third line) and I was wondering if there was any difference between using ...
[ 0.006378173828125, 0.004119873046875, -0.00958251953125, 0.01495361328125, -0.012939453125, 0.00897216796875, -0.0169677734375, -0.01019287109375, -0.0037994384765625, 0.00933837890625, 0.00653076171875, 0.0089111328125, 0.010498046875, 0.03369140625, 0.02294921875, 0.012939453125, 0...
[ 25755, 320, 70796, 52895, 563, 4904, 1238, 3742, 2646, 196707, 44851, 6236, 6561, 32964, 18151, 127689, 2940, 50960, 13315, 60212, 17368, 50986, 1884, 903, 28007, 3173, 12921, 48322, 33022, 5701, 13580 ]
[ 0.072509765625, 0.12158203125, 0.25146484375, 0.2220458984375, 0.1143798828125, 0.198974609375, 0.06085205078125, 0.1112060546875, 0.0836181640625, 0.236572265625, 0.13525390625, 0.104248046875, 0.02032470703125, 0.0771484375, 0.06805419921875, 0.0255584716796875, 0.1505126953125, ...
embed
29083966_c0
29083966
fsharp
0
Title: Clarification of List&lt;&#x27;T&gt; definition syntax Problem title: Clarification of List&lt;&#x27;T&gt; definition syntax Tags: f%23 Problem: Clarification of List<'T> definition syntax While reading the source code of F#, I found the definition of the List<'T> type, which looks like this: type List<'T> = | (...
Clarification of List&lt;&#x27;T&gt; definition syntax Clarification of List&lt;&#x27;T&gt; definition syntax f%23 Clarification List Head Tail Clarification of List<'T> definition syntax While reading the source code of F#, I found the definition of the List<'T> type, which looks like this: Could someone, please, expl...
[ 0.01025390625, 0.0234375, 0.0042724609375, -0.007568359375, -0.0034637451171875, -0.0093994140625, -0.0223388671875, 0.0020294189453125, 0.0135498046875, 0.0157470703125, 0.0244140625, -0.031982421875, -0.000453948974609375, -0.0078125, 0.0059814453125, 0.0172119140625, 0.033203125, ...
[ 320, 41274, 111, 32036, 3768, 618, 1230, 5386, 80934, 6002, 86531, 1238, 3742, 44816, 1218, 379, 25, 31344, 18151, 563, 4904, 10644, 33342, 73342, 9969, 34759, 1631, 73243, 64549, 83, 8, 4692, 4460, 4734, 100, 4527, 23, 35773, 10332, 6192...
[ 0.1375732421875, 0.1258544921875, 0.07476806640625, 0.2427978515625, 0.0345458984375, 0.2197265625, 0.01422119140625, 0.074462890625, 0.1788330078125, 0.1427001953125, 0.15380859375, 0.05462646484375, 0.07318115234375, 0.122314453125, 0.186279296875, 0.1654052734375, 0.05612182617187...
embed
43903584_c0
43903584
fsharp
0
Title: How to use recursive of list, functionally Problem title: How to use recursive of list, functionally Tags: recursion, functional-programming, f%23 Problem: How to use recursive of list, functionally Say i have a list containing maps: let mone = Map.ofList["1", "cat"; "2", "tiger"; "3", "lynx"] let mtwo= Map.ofLi...
How to use recursive of list, functionally How to use recursive of list, functionally recursion functional-programming f%23 How Map.ofList How to use recursive of list, functionally Say i have a list containing maps: how can i use recursive to display one map at a time, rather then displaying all the maps? for example,...
[ -0.0035858154296875, 0.007781982421875, 0.00640869140625, 0.01556396484375, -0.00421142578125, 0.005340576171875, 0.00006246566772460938, 0.00872802734375, 0.0103759765625, -0.01422119140625, 0.00701904296875, -0.0260009765625, 0.00494384765625, 0.0211181640625, 0.0242919921875, 0.0034...
[ 11249, 47, 4527, 195625, 5844, 111, 5303, 4, 123309, 538, 1830, 28966, 1238, 3742, 42719, 4390, 154663, 765, 70541, 22288, 7, 3642, 831, 17, 44116, 1632, 1733, 43257, 5117, 12830, 86658, 720, 25813 ]
[ 0.0894775390625, 0.030853271484375, 0.1572265625, 0.259521484375, 0.24853515625, 0.1546630859375, 0.2379150390625, 0.00830078125, 0.2237548828125, 0.0694580078125, 0.045196533203125, 0.0992431640625, 0.032470703125, 0.0814208984375, 0.161865234375, 0.1673583984375, 0.185546875, 0.0...
embed
4158077_c0
4158077
fsharp
0
Title: F# - Parse dates Problem title: F# - Parse dates Tags: f%23, datetime, .net Problem: F# - Parse dates Very basic question regarding parsing date in F#. I am very new to F# and .NET, so please bear with me. My date has the format yyyyMMDD like 20100503 . How do I parse this into a DateTime type in F#. I tried Sys...
F# - Parse dates F# - Parse dates f%23 datetime .net Parse DateTime System.DateTime.Parse System.DateTime.ParseExact System.Globalization.CultureInfo.InvariantCulture F# - Parse dates Very basic question regarding parsing date in F#. I am very new to F# and .NET, so please bear with me. My date has the format yyyyMMDD ...
[ -0.010009765625, 0.00799560546875, 0.00531005859375, 0.0267333984375, -0.01507568359375, 0.01806640625, -0.01446533203125, 0.0181884765625, -0.01611328125, -0.018798828125, -0.003875732421875, 0.005126953125, -0.00775146484375, 0.0194091796875, -0.0024261474609375, 0.0089111328125, -...
[ 563, 4904, 2392, 184, 112474, 1238, 3949, 3742, 5622, 6032, 1179, 25512, 70059, 12353, 86291, 28636, 47013, 162080, 202, 93147, 162591, 62822, 9655, 366, 6953, 23, 4552, 3525, 17777, 22936, 81148, 1556, 9384, 113, 53, 34034, 25590, 24057, 1...
[ 0.15478515625, 0.2432861328125, 0.152099609375, 0.1337890625, 0.1864013671875, 0.080322265625, 0.00946044921875, 0.1082763671875, 0.173828125, 0.1279296875, 0.1409912109375, 0.1397705078125, 0.2215576171875, 0.07989501953125, 0.132080078125, 0.1484375, 0.035308837890625, 0.01844787...
embed
29303142_c0
29303142
fsharp
0
Title: Deploying F# exe Problem title: Deploying F# exe Tags: f%23-data, f%23-3.0, f%23 Problem: Deploying F# exe I have an F# program I built in VS2013. I am intending to deploy this on a windows 2008 R2 server with .NET framework 4.5 installed. Now, when I build the program in visual studio, it creates an exe in the ...
Deploying F# exe Deploying F# exe f%23-data f%23-3.0 f%23 Deploying Deploying F# exe I have an F# program I built in VS2013. I am intending to deploy this on a windows 2008 R2 server with .NET framework 4.5 installed. Now, when I build the program in visual studio, it creates an exe in the debug/bin directory (MyProgra...
[ 0.01043701171875, -0.0084228515625, -0.015869140625, 0.007080078125, -0.0115966796875, 0.0198974609375, -0.01263427734375, -0.00970458984375, 0.00016498565673828125, 0.0013885498046875, 0.01446533203125, -0.005767822265625, 0.0064697265625, 0.01263427734375, 0.00445556640625, 0.0037536...
[ 262, 13158, 38543, 563, 4904, 97733, 1238, 27495, 10135, 132265, 3742, 87, 765, 1528, 88303, 44160, 7735, 892, 33770, 8, 53, 54825, 2021, 627, 304, 10723, 17777, 170846, 60061, 20600, 3229, 45367, 23, 21176, 12275, 28282, 85779, 64, 7568, ...
[ 0.106689453125, 0.1778564453125, 0.03912353515625, 0.1636962890625, 0.237060546875, 0.288330078125, 0.1083984375, 0.10491943359375, 0.1102294921875, 0.14697265625, 0.08154296875, 0.008026123046875, 0.013702392578125, 0.12841796875, 0.0933837890625, 0.1578369140625, 0.179931640625, ...
embed
5065227_c0
5065227
fsharp
0
Title: Match on discriminated union Problem title: Match on discriminated union Tags: enums, pattern-matching, f%23, discriminated-union Problem: Match on discriminated union Using F# for the first time for a production thing and need a little help. Please see this code where I added the warnings I get as comments on e...
Match on discriminated union Match on discriminated union enums pattern-matching f%23 discriminated-union Match AssetClass Corp Corp_SME Res_Mort Qual_Ret Ret_Oth Correlation FS0049 Uppercase FS0026 Match on discriminated union Using F# for the first time for a production thing and need a little help. Please see this c...
[ -0.02734375, -0.000347137451171875, 0.0029449462890625, -0.00701904296875, -0.0126953125, -0.015625, -0.00750732421875, 0.0033111572265625, 0.0220947265625, 0.0157470703125, 0.016357421875, 0.0025482177734375, 0.014404296875, -0.003936767578125, 0.0211181640625, 0.000823974609375, -0...
[ 67407, 98, 55970, 3674, 69941, 22, 10321, 103510, 98753, 1238, 3949, 3742, 87046, 53975, 140803, 89499, 10611, 9624, 101398, 18, 23554, 4332, 47131, 670, 927, 46348, 93774, 7049, 12977, 58437, 4046, 563, 4904, 36049, 10176, 4358, 18151, 1631,...
[ 0.254150390625, 0.1334228515625, 0.23388671875, 0.0948486328125, 0.2327880859375, 0.0767822265625, 0.1834716796875, 0.161376953125, 0.1895751953125, 0.061920166015625, 0.005950927734375, 0.1204833984375, 0.1680908203125, 0.09637451171875, 0.1546630859375, 0.108154296875, 0.1051025390...
embed
36513145_c0
36513145
fsharp
0
Title: Image being rotated when stored as bitmap in F# Problem title: Image being rotated when stored as bitmap in F# Tags: image-processing, io, f%23 Problem: Image being rotated when stored as bitmap in F# I am using F# for some image processing related activities. If I get the images using let imagesForRecognition =...
Image being rotated when stored as bitmap in F# Image being rotated when stored as bitmap in F# image-processing io f%23 Image Directory.GetFiles RImages Array.map Bitmap Save A.jpg Image being rotated when stored as bitmap in F# I am using F# for some image processing related activities. If I get the images using And ...
[ 0.01239013671875, 0.0303955078125, 0.0142822265625, 0.0181884765625, 0.0036163330078125, 0.017578125, -0.00921630859375, 0.00836181640625, -0.0078125, 0.003021240234375, 0.0118408203125, 0.035400390625, 0.0084228515625, 0.018310546875, -0.001922607421875, -0.00555419921875, 0.0013580...
[ 22710, 8035, 47014, 3674, 3229, 4343, 237, 4785, 62346, 563, 4904, 23, 29569, 63923, 22995, 1238, 3742, 31068, 126, 174350, 627, 216960, 69253, 27774, 64944, 62, 25687, 17368, 9433, 69924, 2046, 43079, 3493, 7068, 903, 83, 2510, 79385, 1326...
[ 0.210693359375, 0.06109619140625, 0.21533203125, 0.14501953125, 0.02276611328125, 0.150634765625, 0.06439208984375, 0.1148681640625, 0.19677734375, 0.1435546875, 0.2127685546875, 0.001495361328125, 0.1873779296875, 0.0877685546875, 0.1339111328125, 0.04656982421875, 0.11474609375, ...
embed
6232859_c0
6232859
fsharp
0
Title: Call a function from its name as a string in f# Problem title: Call a function from its name as a string in f# Tags: f%23, quotations Problem: Call a function from its name as a string in f# I thought that I might be able to do this with quotations - but I can't see how. Should I just use a table of the function...
Call a function from its name as a string in f# Call a function from its name as a string in f# f%23 quotations its Call Call a function from its name as a string in f# I thought that I might be able to do this with quotations - but I can't see how. Should I just use a table of the functions with their names - or is th...
[ 0.00139617919921875, -0.01361083984375, -0.01055908203125, 0.0140380859375, -0.0079345703125, -0.0052490234375, 0.008544921875, -0.0018157958984375, -0.005218505859375, -0.01416015625, -0.006072998046875, 0.0019073486328125, -0.02099609375, 0.00982666015625, 0.023681640625, -0.01757812...
[ 26265, 32354, 1295, 6863, 9351, 237, 10, 79315, 23, 1238, 4904, 3742, 81732, 5256, 17569, 13648, 19048, 54, 903, 678, 831, 1957, 3642, 151117, 4527, 23180, 2363, 123055, 3917, 20594, 159029, 5915, 7, 64152, 32195, 5809, 33022, 2633, 5429, ...
[ 0.2105712890625, 0.26513671875, 0.1922607421875, 0.1295166015625, 0.2056884765625, 0.1312255859375, 0.07342529296875, 0.2440185546875, 0.080078125, 0.175048828125, 0.230224609375, 0.115234375, 0.2127685546875, 0.124267578125, 0.039825439453125, 0.040863037109375, 0.07647705078125, ...
embed
74723327_c0
74723327
fsharp
0
Title: How to handle simple inputs in Kattis with F#? Problem title: How to handle simple inputs in Kattis with F#? Tags: f%23, io Problem: How to handle simple inputs in Kattis with F#? I am very new to F# and Kattis. I have tried this simple problem "Which is greater" at Kattis. Link is here: https://open.kattis.com/...
How to handle simple inputs in Kattis with F#? How to handle simple inputs in Kattis with F#? f%23 io How Kattis System Console.Read Console.WriteLine How to handle simple inputs in Kattis with F#? I am very new to F# and Kattis. I have tried this simple problem "Which is greater" at Kattis. Link is here: https://open....
[ -0.0047607421875, -0.004638671875, -0.005706787109375, -0.0033111572265625, -0.0026397705078125, 0.002777099609375, 0.012451171875, -0.01611328125, -0.0157470703125, 0.0103759765625, 0.0177001953125, -0.01300048828125, -0.0211181640625, 0.0303955078125, 0.0157470703125, -0.020141601562...
[ 11249, 47, 34831, 8781, 107730, 7, 23, 7291, 1814, 678, 563, 4904, 1238, 3742, 22995, 12353, 40777, 31345, 18781, 93232, 3525, 37842, 2967, 979, 206, 83, 117396, 99, 12779, 59636, 2337, 38953, 143321, 164, 7134, 46429, 18151, 44691, 35166, ...
[ 0.05828857421875, 0.0262298583984375, 0.1435546875, 0.200439453125, 0.205078125, 0.0888671875, 0.061065673828125, 0.17431640625, 0.2489013671875, 0.0814208984375, 0.122802734375, 0.196044921875, 0.053009033203125, 0.0631103515625, 0.0738525390625, 0.068115234375, 0.09600830078125, ...
embed
2298897_c0
2298897
fsharp
0
Title: Define concise F# class with post constructor logic Problem title: Define concise F# class with post constructor logic Tags: idioms, f%23 Problem: Define concise F# class with post constructor logic For this class definition: type Foo(f1: int, f2: string) = member x.F1 = f1 member x.F2 = PostProcess f2 Will Post...
Define concise F# class with post constructor logic Define concise F# class with post constructor logic idioms f%23 Define Foo x.F1 x.F2 PostProcess this.F2 Define concise F# class with post constructor logic For this class definition: Will PostProcess (some string manipulation function) gets called every time f2 is ac...
[ 0.0189208984375, -0.0155029296875, -0.003875732421875, 0.01611328125, 0.00640869140625, -0.00128936767578125, 0.0162353515625, 0.00982666015625, -0.0006866455078125, 0.0223388671875, 0.018798828125, 0.017822265625, 0.007354736328125, -0.002716064453125, -0.006927490234375, 0.0107421875...
[ 64552, 158, 318, 184, 563, 4904, 18507, 678, 1305, 64549, 748, 62775, 13373, 28016, 1238, 3742, 9572, 31, 1022, 919, 418, 304, 2795, 10752, 26531, 903, 80934, 20255, 79315, 45258, 1363, 32354, 62163, 35839, 11907, 1733, 17203, 83, 72272, ...
[ 0.1240234375, 0.071044921875, 0.1632080078125, 0.1083984375, 0.123291015625, 0.1942138671875, 0.201416015625, 0.029754638671875, 0.1456298828125, 0.16064453125, 0.05194091796875, 0.1671142578125, 0.152099609375, 0.049407958984375, 0.1473388671875, 0.1319580078125, 0.1859130859375, ...
embed
55663232_c0
55663232
fsharp
0
Title: Using an accumulator to sum up numbers in F# Problem title: Using an accumulator to sum up numbers in F# Tags: functional-programming, recursion, f%23 Problem: Using an accumulator to sum up numbers in F# I'm trying to solve a problem that requires me to sum up 2 numbers but I have to use an accumulator in my fu...
Using an accumulator to sum up numbers in F# Using an accumulator to sum up numbers in F# functional-programming recursion f%23 Using n-1 Using an accumulator to sum up numbers in F# I'm trying to solve a problem that requires me to sum up 2 numbers but I have to use an accumulator in my function. This is the math form...
[ -0.017822265625, 0.01416015625, 0.00830078125, 0.00445556640625, 0.01123046875, 0.00445556640625, -0.00101470947265625, 0.0194091796875, 0.00994873046875, -0.035400390625, 0.025634765625, -0.02734375, -0.002105712890625, 0.0087890625, 0.022216796875, 0.0052490234375, 0.0098876953125,...
[ 345, 183278, 1290, 10554, 1257, 101935, 563, 4904, 123309, 28966, 195625, 1238, 3949, 3742, 653, 5759, 6953, 142, 31577, 86869, 2967, 144570, 116, 765, 4527, 23, 32354, 48909, 26168, 11853, 2060, 27781, 2806, 706, 132, 133063, 5608, 30646, ...
[ 0.044647216796875, 0.2462158203125, 0.1776123046875, 0.20068359375, 0.1304931640625, 0.1737060546875, 0.1307373046875, 0.2021484375, 0.1241455078125, 0.0947265625, 0.144287109375, 0.07757568359375, 0.041290283203125, 0.138916015625, 0.0245513916015625, 0.1175537109375, 0.004272460937...
embed
64617820_c0
64617820
fsharp
0
Title: How to access a WCF service from F# in .NET Core 3.1? Problem title: How to access a WCF service from F# in .NET Core 3.1? Tags: f%23, wcf, wsdl Problem: How to access a WCF service from F# in .NET Core 3.1? In .Net Framework 4.7.2 F#, I have been using: FSharp.Data.TypeProviders with type WSDL = WsdlService<"ht...
How to access a WCF service from F# in .NET Core 3.1? How to access a WCF service from F# in .NET Core 3.1? f%23 wcf wsdl F# How WCF NET Core FSharp.Data.TypeProviders WSDL WsdlService ServiceHost.svc How to access a WCF service from F# in .NET Core 3.1? In .Net Framework 4.7.2 F#, I have been using: with to access my ...
[ -0.019287109375, 0.010986328125, 0.0107421875, 0.01409912109375, 0.008544921875, -0.021484375, -0.000690460205078125, -0.0133056640625, -0.0230712890625, -0.0267333984375, 0.006439208984375, 0.007659912109375, -0.004638671875, -0.00634765625, 0.00689697265625, -0.00958251953125, 0.00...
[ 11249, 47, 17203, 37808, 919, 4516, 1295, 563, 4904, 23, 6, 17777, 31365, 45151, 10, 1238, 3742, 148, 67466, 20469, 3467, 254, 137989, 196707, 177997, 14, 14202, 52143, 27502, 601, 121979, 12349, 11193, 5, 66357, 24447, 202220, 1398, 179642...
[ 0.0728759765625, 0.077392578125, 0.1920166015625, 0.2200927734375, 0.24169921875, 0.1954345703125, 0.131591796875, 0.13232421875, 0.26708984375, 0.0906982421875, 0.010986328125, 0.1583251953125, 0.1954345703125, 0.258056640625, 0.001922607421875, 0.0499267578125, 0.1182861328125, 0...
embed
72741952_c0
72741952
fsharp
0
Title: Visual Studio F# Intellisense stopped working Problem title: Visual Studio F# Intellisense stopped working Tags: f%23, visual-studio Problem: Visual Studio F# Intellisense stopped working VS Pro F# compiler still works. Correct F# code still runs. BUT hovering over a function or symbol in a VS window presenting ...
Visual Studio F# Intellisense stopped working Visual Studio F# Intellisense stopped working f%23 visual-studio Visual Studio Intellisense Visual Studio F# Intellisense stopped working VS Pro F# compiler still works. Correct F# code still runs. BUT hovering over a function or symbol in a VS window presenting F# code no ...
[ -0.00726318359375, -0.0166015625, 0.00494384765625, 0.003631591796875, -0.018310546875, 0.02392578125, -0.0162353515625, -0.00153350830078125, -0.0257568359375, 0.02490234375, 0.0076904296875, 0.016845703125, -0.002777099609375, 0.003997802734375, 0.025146484375, 0.0087890625, 0.0102...
[ 73372, 22968, 563, 4904, 30131, 27077, 184, 118066, 20697, 1238, 3742, 21176, 52629, 44160, 1250, 9969, 34759, 7464, 43240, 46348, 15390, 18151, 127877, 151654, 739, 814, 214, 645, 32354, 26582, 76896, 13379, 110, 51713, 113660, 10644, 108975, ...
[ 0.1839599609375, 0.195068359375, 0.1448974609375, 0.199951171875, 0.1351318359375, 0.220703125, 0.137939453125, 0.1483154296875, 0.1617431640625, 0.0469970703125, 0.052642822265625, 0.125244140625, 0.1429443359375, 0.201171875, 0.1781005859375, 0.1097412109375, 0.1480712890625, 0.0...
embed
52381226_c0
52381226
fsharp
0
Title: F# assignment printf and for loops Problem title: F# assignment printf and for loops Tags: f%23 Problem: F# assignment printf and for loops I need help with a F# question I got at my first year of data science. Spent quite some hours on this and still can't figure it out. So the assignment is about "printf" and ...
F# assignment printf and for loops F# assignment printf and for loops f%23 F# assignment printf and for loops I need help with a F# question I got at my first year of data science. Spent quite some hours on this and still can't figure it out. So the assignment is about "printf" and loops and goes like this: I don't wan...
[ 0.0140380859375, -0.006072998046875, 0.01025390625, 0.00775146484375, -0.0036163330078125, 0.00921630859375, 0.0223388671875, -0.00848388671875, -0.0020294189453125, 0.0072021484375, 0.01708984375, -0.006561279296875, 0.0025634765625, 0.004364013671875, -0.00823974609375, 0.00646972656...
[ 563, 4904, 95486, 674, 28412, 420, 136, 100, 40956, 1238, 3949, 3742, 87, 3871, 4358, 9655, 4163, 99, 759, 5117, 6602, 2053, 41664, 91319, 32233, 3060, 21974, 7464, 831, 18, 26366, 1810, 1672, 35662, 60899, 1884, 903, 2301, 3444, 16750, ...
[ 0.1524658203125, 0.2269287109375, 0.214599609375, 0.07818603515625, 0.1771240234375, 0.18017578125, 0.10467529296875, 0.133056640625, 0.210693359375, 0.10205078125, 0.056793212890625, 0.1092529296875, 0.024017333984375, 0.053131103515625, 0.093994140625, 0.08135986328125, 0.006774902...
embed
54271752_c0
54271752
fsharp
0
Title: How to instantiate classes and their properties in F# Problem title: How to instantiate classes and their properties in F# Tags: c%23, f%23, c%23-to-f%23 Problem: How to instantiate classes and their properties in F# Follow Code C#: var body = new CustomerRequest { Method = "CREDIT_CARD", CreditCard = new Credit...
How to instantiate classes and their properties in F# How to instantiate classes and their properties in F# c%23 f%23 c%23-to-f%23 How CustomerRequest Method CREDIT_CARD CreditCard ExpirationMonth ExpirationYear Number Cvc Help How to instantiate classes and their properties in F# Follow Code C#: I'm new to F#, I can n...
[ 0.024169921875, 0.0274658203125, 0.013671875, -0.013427734375, 0.0223388671875, 0.00653076171875, -0.0067138671875, -0.0159912109375, 0.004852294921875, 0.00970458984375, 0.0012359619140625, 0.015869140625, -0.00186920166015625, -0.005126953125, -0.007354736328125, -0.0142822265625, ...
[ 11249, 47, 34648, 101426, 61112, 136, 2363, 183871, 23, 563, 4904, 501, 3742, 1238, 27495, 188, 420, 124765, 4332, 75616, 74644, 48321, 6371, 441, 49444, 68021, 156119, 60075, 14, 146794, 127, 69085, 103332, 66357, 39527, 77168, 28864, 313, ...
[ 0.0887451171875, 0.10302734375, 0.2322998046875, 0.255126953125, 0.272705078125, 0.1824951171875, 0.1160888671875, 0.2283935546875, 0.076904296875, 0.1849365234375, 0.2568359375, 0.004119873046875, 0.09307861328125, 0.046875, 0.1041259765625, 0.16259765625, 0.101806640625, 0.168579...
embed