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
32801109_c0
32801109
fsharp
0
Title: Parsing incoming TCP stream of Ascii chars, handle backspace char Problem title: Parsing incoming TCP stream of Ascii chars, handle backspace char Tags: f%23, telnet, ascii Problem: Parsing incoming TCP stream of Ascii chars, handle backspace char I need to parse input streams from a socket. The data is sent fro...
Parsing incoming TCP stream of Ascii chars, handle backspace char Parsing incoming TCP stream of Ascii chars, handle backspace char f%23 telnet ascii Parsing TCP Ascii inputBuffer:StringBuilder received:Tcp.Received Encoding.ASCII.GetString received.Data.ToArray inputBuffer.Append inputBuffer.ToString all.IndexOf all.S...
[ 0.006072998046875, 0.039794921875, -0.000453948974609375, 0.0283203125, -0.00677490234375, 0.0103759765625, 0.01556396484375, 0.006103515625, 0.00360107421875, -0.01422119140625, 0.03173828125, -0.003753662109375, -0.00567626953125, 0.007781982421875, -0.01318359375, 0.01708984375, 0...
[ 2392, 6953, 23, 277, 17854, 75973, 1301, 26506, 21441, 34831, 4420, 65421, 1238, 3742, 8131, 1179, 237, 107730, 7235, 18234, 71713, 121137, 56, 75204, 121422, 329, 587, 134165, 137989, 7763, 7614, 756, 96472, 91693, 432, 177261, 127642, 33768...
[ 0.1649169921875, 0.046875, 0.0279541015625, 0.136474609375, 0.18896484375, 0.200439453125, 0.0799560546875, 0.2314453125, 0.1400146484375, 0.1229248046875, 0.127685546875, 0.20068359375, 0.0159454345703125, 0.13720703125, 0.0933837890625, 0.167724609375, 0.041839599609375, 0.155517...
embed
25312313_c0
25312313
fsharp
0
Title: MS Chart Control Range Bar Problem title: MS Chart Control Range Bar Tags: f%23, mschart Problem: MS Chart Control Range Bar I am trying to somehow replicate the range bar chart here . I've found this reference but I don't fully grasp the code. What I have is a series of task (sometimes accomplished in different...
MS Chart Control Range Bar MS Chart Control Range Bar f%23 mschart Chart Control Range Bar task1 DateTime.Parse task2 task3 FSharp.Charting.Chart.RangeBar chart.ShowChart Windows.Forms.DataVisualization.Charting.Chart Dock DockStyle.Fill ChartArea Main chart.ChartAreas.Add Form Visible TopMost Width Height mainForm.Con...
[ -0.0023345947265625, 0.0306396484375, 0.00555419921875, 0.00787353515625, 0.00811767578125, -0.003387451171875, -0.0125732421875, 0.00179290771484375, 0.0013885498046875, 0.0286865234375, 0.0185546875, 0.01531982421875, 0.007049560546875, -0.016845703125, -0.0021820068359375, 0.0137329...
[ 16265, 110373, 27131, 142462, 3253, 1238, 3949, 3742, 347, 3232, 3960, 66211, 418, 25512, 70059, 28636, 184, 304, 363, 93774, 3467, 254, 84068, 1916, 1052, 51459, 25267, 116287, 168660, 3773, 102973, 137989, 6609, 64010, 161824, 209480, 5713, ...
[ 0.175048828125, 0.237060546875, 0.2069091796875, 0.18505859375, 0.20166015625, 0.020965576171875, 0.01739501953125, 0.1199951171875, 0.013458251953125, 0.0147857666015625, 0.1697998046875, 0.2000732421875, 0.0089111328125, 0.07000732421875, 0.14306640625, 0.111083984375, 0.0364074707...
embed
57108737_c0
57108737
fsharp
0
Title: F# query expression: How to do a left join and return on those records where the joined table is null? Problem title: F# query expression: How to do a left join and return on those records where the joined table is null? Tags: type-providers, f%23 Problem: F# query expression: How to do a left join and return on...
F# query expression: How to do a left join and return on those records where the joined table is null? F# query expression: How to do a left join and return on those records where the joined table is null? type-providers f%23 Student How db.Student db.CourseSelection student.StudentID selection.StudentID result.Default...
[ 0.0233154296875, 0.01123046875, 0.007476806640625, 0.0162353515625, -0.00836181640625, 0.00341796875, 0.0086669921875, -0.01287841796875, 0.00860595703125, -0.0184326171875, -0.00170135498046875, 0.007415771484375, -0.01434326171875, -0.00144195556640625, -0.01055908203125, -0.01092529...
[ 563, 4904, 41, 1294, 125195, 11249, 54, 25737, 33284, 30646, 98, 115923, 7440, 297, 23180, 83, 56574, 8382, 10644, 93136, 14202, 1238, 3742, 26696, 40041, 239825, 474, 104475, 9836, 7146, 132216, 16750, 134332, 154162, 10, 136, 80866, 177997,...
[ 0.1126708984375, 0.1976318359375, 0.1011962890625, 0.060546875, 0.1776123046875, 0.075927734375, 0.0352783203125, 0.232177734375, 0.2427978515625, 0.20166015625, 0.041290283203125, 0.169921875, 0.04925537109375, 0.0592041015625, 0.18310546875, 0.0289764404296875, 0.2110595703125, 0...
embed
22760998_c0
22760998
fsharp
0
Title: Magic sprintf function - how to wrap it? Problem title: Magic sprintf function - how to wrap it? Tags: f%23 Problem: Magic sprintf function - how to wrap it? I am trying to wrap a call to sprintf function. Here's my attempt: let p format args = "That was: " + (sprintf format args) let a = "a" let b = "b" let z1 ...
Magic sprintf function - how to wrap it? Magic sprintf function - how to wrap it? f%23 Magic format:Printf.StringFormat FS0003 Printf.kprintf Some FS0001 Printf.TextWriterFormat Magic sprintf function - how to wrap it? I am trying to wrap a call to sprintf function. Here's my attempt: This seems to work, output is But ...
[ -0.021728515625, 0.026611328125, 0.0242919921875, 0.01226806640625, 0.01129150390625, 0.001708984375, 0.000052928924560546875, -0.00396728515625, 0.010009765625, 0.0001506805419921875, 0.010498046875, 0.015869140625, -0.0159912109375, -0.0240478515625, 0.024658203125, -0.00094985961914...
[ 61707, 145320, 420, 32354, 3642, 47, 137565, 442, 1238, 3949, 3742, 9384, 112079, 18, 71713, 102973, 93774, 9508, 363, 39754, 35662, 31384, 188735, 174379, 31577, 11782, 81887, 37202, 4488, 140992, 678, 1286, 1632, 79459, 9969, 1340, 6032, 18...
[ 0.2081298828125, 0.2088623046875, 0.21826171875, 0.225830078125, 0.09820556640625, 0.037506103515625, 0.242431640625, 0.10986328125, 0.054229736328125, 0.003082275390625, 0.1162109375, 0.1820068359375, 0.1187744140625, 0.045806884765625, 0.079833984375, 0.1668701171875, 0.09088134765...
embed
47743680_c0
47743680
fsharp
0
Title: An issue with type matching (hopefully possible to fix) F# Problem title: An issue with type matching (hopefully possible to fix) F# Tags: f%23 Problem: An issue with type matching (hopefully possible to fix) F# So i have type Gitem type Gitem = |Weapon of Weapon |Bomb of Bomb |Monster of Monster |Armour of Armo...
An issue with type matching (hopefully possible to fix) F# An issue with type matching (hopefully possible to fix) F# f%23 Gitem Weapon Bomb Monster Armour Potion None name:string dVal:float dType:DamType hVal:float info:string dInfo:string dCry:string Special:bool sItem:obj aVal:float iSpace:int hidden:bool monster.sI...
[ -0.0087890625, 0.006439208984375, 0.0032806396484375, 0.005096435546875, 0.003570556640625, -0.01123046875, -0.032470703125, -0.016357421875, 0.00299072265625, -0.0023193359375, 0.0308837890625, 0.00494384765625, 0.001739501953125, -0.0272216796875, 0.01531982421875, -0.006622314453125...
[ 31089, 678, 10644, 14858, 214, 1081, 7722, 30022, 4904, 126351, 1238, 3742, 5174, 2982, 11, 5416, 82514, 89715, 33119, 34639, 663, 1363, 438, 9351, 91693, 42272, 52347, 104, 196707, 302, 3004, 93147, 1294, 25132, 142484, 3522, 170, 141012, ...
[ 0.136962890625, 0.014739990234375, 0.2364501953125, 0.2034912109375, 0.10498046875, 0.0266876220703125, 0.1427001953125, 0.09356689453125, 0.0439453125, 0.0225067138671875, 0.0145111083984375, 0.12158203125, 0.1492919921875, 0.2435302734375, 0.035797119140625, 0.077880859375, 0.15014...
embed
18453911_c0
18453911
fsharp
0
Title: "type provider" not recognized when building project Problem title: "type provider" not recognized when building project Tags: f%23, f%23-data, type-providers Problem: "type provider" not recognized when building project I'm using VS 2012 Trial and the FSharp.Data library for XML parsing. Whe...
"type provider" not recognized when building project "type provider" not recognized when building project f%23 f%23-data type-providers Trial FSharp.Data XML Build Project temp3 Configuration Debug Any CPU Program Files x86 Microsoft SDKs Framework v4.0 fsc.exe o:obj temp3.dll debug:full define:DEBU...
[ 0.01214599609375, 0.033935546875, -0.00107574462890625, -0.01251220703125, 0.0074462890625, 0.0179443359375, -0.006561279296875, -0.004150390625, -0.01507568359375, -0.01214599609375, -0.01251220703125, -0.00799560546875, 0.012451171875, -0.01495361328125, 0.0206298828125, 0.0144042968...
[ 50986, 81450, 959, 125296, 3229, 33976, 13452, 3742, 10135, 10644, 93136, 4699, 93774, 3467, 254, 137989, 92537, 121137, 27331, 20805, 363, 59994, 262, 85779, 86039, 7663, 42724, 15276, 7244, 45461, 202220, 151152, 10382, 46480, 3522, 1181, 8, ...
[ 0.2431640625, 0.2734375, 0.0771484375, 0.158935546875, 0.057281494140625, 0.1676025390625, 0.1343994140625, 0.0230712890625, 0.1038818359375, 0.2086181640625, 0.1793212890625, 0.1385498046875, 0.0767822265625, 0.158447265625, 0.1182861328125, 0.11328125, 0.163818359375, 0.112060546...
embed
48648866_c0
48648866
fsharp
0
Title: Is it necessary to use async keyword when using IDisposable in F#? Problem title: Is it necessary to use async keyword when using IDisposable in F#? Tags: f%23, wcf, idisposable, async-await Problem: Is it necessary to use async keyword when using IDisposable in F#? I get a Cannot access a disposed object error ...
Is it necessary to use async keyword when using IDisposable in F#? Is it necessary to use async keyword when using IDisposable in F#? f%23 wcf idisposable async-await IDisposable Cannot MyClient Action Add Update myClient:MyClient myClient.AddAsync Async.AwaitTask response.ID myClient.UpdateAsync arg.Action List.map As...
[ -0.0255126953125, 0.0189208984375, 0.0111083984375, -0.0157470703125, -0.00970458984375, -0.00083160400390625, -0.004791259765625, 0.009521484375, -0.002044677734375, -0.0162353515625, 0.0157470703125, 0.029052734375, 0.0091552734375, -0.00872802734375, 0.031494140625, -0.01806640625, ...
[ 2071, 63559, 4527, 10, 12654, 238, 166117, 17368, 11338, 164, 7522, 2886, 563, 4904, 23, 1238, 3742, 148, 67466, 17, 3827, 7978, 217, 10869, 2646, 150, 2517, 57945, 29117, 28641, 31852, 759, 634, 9874, 57553, 7146, 152872, 79459, 10763, 3...
[ 0.0068359375, 0.2037353515625, 0.128173828125, 0.08831787109375, 0.2415771484375, 0.1690673828125, 0.2318115234375, 0.046722412109375, 0.10302734375, 0.1221923828125, 0.1904296875, 0.2232666015625, 0.1295166015625, 0.188232421875, 0.003509521484375, 0.048492431640625, 0.1280517578125...
embed
2649161_c1
2649161
fsharp
1
N elements from the source sequence. /// If the length of the source sequence is not a multiple /// of N, last element of the returned sequence will have a length /// included between 1 and N-1. let cut (count : int) (source : seq<´T>) = let rec aux s length = seq { if (length < count) then yield s else yield Seq.take...
N elements from the source sequence. /// If the length of the source sequence is not a multiple /// of N, last element of the returned sequence will have a length /// included between 1 and N-1. let cut (count : int) (source : seq<´T>) = let rec aux s length = seq { if (length < count) then yield s else yield Seq.take...
[ 0.003570556640625, 0.024169921875, -0.0013580322265625, 0.007720947265625, -0.003387451171875, -0.0145263671875, 0.017578125, -0.0031280517578125, -0.004180908203125, -0.051513671875, -0.0118408203125, 0.0120849609375, -0.00142669677734375, 0.0194091796875, 0.0234375, -0.008544921875, ...
[ 541, 80854, 1295, 31344, 40, 944, 3956, 5, 140909, 959, 48716, 111, 4568, 12830, 176377, 99201, 17721, 106, 5759, 2633, 59226, 71013, 18, 60427, 864, 21954, 2970, 91, 23986, 4426, 54529, 11180, 19388, 37076, 503, 78219, 2174, 44024, 1777, ...
[ 0.18212890625, 0.2022705078125, 0.06195068359375, 0.2265625, 0.0791015625, 0.158447265625, 0.0936279296875, 0.011627197265625, 0.1759033203125, 0.049530029296875, 0.1871337890625, 0.028778076171875, 0.14501953125, 0.1724853515625, 0.1309814453125, 0.1168212890625, 0.0810546875, 0.0...
embed
7227919_c1
7227919
fsharp
1
1.getCharAt(index); } myObject1.Counter++; I can convert them in imperative loop style but not in recursive style, for example: resetList: (Imperative version) let resetList inList flag = let mutable outList = [] for myObj in inList do if flag = true then outList <- outList @ [new myObject(myObj.Index, 0, myObj.Chars, ...
1.getCharAt(index); } myObject1.Counter++; I can convert them in imperative loop style but not in recursive style, for example: resetList: (Imperative version) let resetList inList flag = let mutable outList = [] for myObj in inList do if flag = true then outList <- outList @ [new myObject(myObj.Index, 0, myObj.Chars, ...
[ -0.0081787109375, -0.00787353515625, 0.00762939453125, 0.026123046875, 0.007568359375, 0.004486083984375, 0.00732421875, 0.02099609375, 0.0240478515625, 0.00174713134765625, 0.0142822265625, 0.00057220458984375, 0.021484375, 0.0255126953125, 0.0233154296875, -0.020751953125, 0.002471...
[ 615, 3794, 84068, 28848, 132, 4711, 759, 46471, 75161, 418, 108210, 56, 37223, 831, 96760, 2856, 23, 222530, 13, 40956, 20623, 1284, 959, 195625, 5844, 4, 100, 168398, 154663, 128878, 45023, 11389, 2633, 49938, 842, 22819, 1810, 268, 170, ...
[ 0.08251953125, 0.1121826171875, 0.196533203125, 0.21044921875, 0.009185791015625, 0.22216796875, 0.1390380859375, 0.15087890625, 0.1942138671875, 0.057708740234375, 0.1591796875, 0.1451416015625, 0.2403564453125, 0.0758056640625, 0.2362060546875, 0.1136474609375, 0.1156005859375, 0...
embed
43882340_c0
43882340
fsharp
0
Title: Re-implementing List.map in OCaml/F# with correct side effect order? Problem title: Re-implementing List.map in OCaml/F# with correct side effect order? Tags: ocaml, f%23 Problem: Re-implementing List.map in OCaml/F# with correct side effect order? According to this previous answer You could implement List.map l...
Re-implementing List.map in OCaml/F# with correct side effect order? Re-implementing List.map in OCaml/F# with correct side effect order? ocaml f%23 Re-implementing List.map OCaml print_int Re-implementing List.map in OCaml/F# with correct side effect order? According to this previous answer You could implement List.ma...
[ -0.00038909912109375, 0.0213623046875, 0.025390625, 0.0128173828125, -0.01348876953125, -0.002777099609375, -0.021240234375, 0.00002467632293701172, -0.01239013671875, -0.006805419921875, -0.005767822265625, 0.00102996826171875, -0.0023651123046875, 0.00830078125, 0.02294921875, -0.008...
[ 853, 197648, 32036, 5, 62346, 180, 105272, 141, 919, 4904, 26785, 5609, 21543, 12989, 23, 36, 9779, 1238, 3949, 3742, 28412, 4288, 5809, 29479, 1884, 903, 64457, 16940, 9077, 13452, 1830, 32354, 35839, 84751, 7225, 93425, 5608, 37638, 5117,...
[ 0.1177978515625, 0.2095947265625, 0.2529296875, 0.06951904296875, 0.2578125, 0.1357421875, 0.2001953125, 0.159912109375, 0.114013671875, 0.1685791015625, 0.133544921875, 0.153076171875, 0.205810546875, 0.2100830078125, 0.017059326171875, 0.1082763671875, 0.1556396484375, 0.06860351...
embed
10251744_c0
10251744
fsharp
0
Title: Performance of List.permute Problem title: Performance of List.permute Tags: f%23, data-structures Problem: Performance of List.permute I implemented a Fisher-Yates shuffle recently, which used List.permute to shuffle the list, and noted that as the size of the list increased, there was a significant performance...
Performance of List.permute Performance of List.permute f%23 data-structures Performance List.permute rev1 List.length rev2 List.toArray Array.length Array.permute Array.toList Real CPU gen0 gen1 gen2 Performance of List.permute I implemented a Fisher-Yates shuffle recently, which used List.permute to shuffle the list,...
[ -0.021240234375, 0.01483154296875, 0.0242919921875, -0.0004482269287109375, -0.01416015625, -0.0194091796875, -0.02197265625, -0.00762939453125, 0.01287841796875, -0.0009765625, 0.02490234375, 0.032470703125, 0.00958251953125, 0.001129150390625, -0.0267333984375, 0.002471923828125, 0...
[ 94030, 32036, 5, 1264, 561, 67, 111, 1238, 3949, 3742, 2053, 137656, 37868, 418, 23986, 304, 188, 7614, 7092, 69253, 53, 154663, 5120, 86039, 9226, 2389, 29479, 169247, 9, 21566, 1636, 170052, 78684, 11814, 5303, 237, 13267, 124735, 88551, ...
[ 0.22119140625, 0.270751953125, 0.060943603515625, 0.1513671875, 0.26220703125, 0.2117919921875, 0.0258331298828125, 0.035125732421875, 0.031982421875, 0.13525390625, 0.112548828125, 0.1302490234375, 0.1397705078125, 0.03253173828125, 0.06500244140625, 0.051788330078125, 0.10620117187...
embed
71292169_c0
71292169
fsharp
0
Title: Set missing value with Deedle Problem title: Set missing value with Deedle Tags: f%23, deedle Problem: Set missing value with Deedle Suppose I have a two step process. First data collection/cleaning and second some operation. For example: #r "nuget: Deedle" open Deedle type Person = { Name:string; Birthday:DateT...
Set missing value with Deedle Set missing value with Deedle f%23 deedle System.InvalidCastException Set Deedle Person Name:string Birthday:DateTime DateTime OptionalValue.Missing OptionalValue Name Joe Birthday Jim Frame.ofRecords step1 df.Clone step1.ReplaceColumn Frame.mapRowValues row.GetAs step1.SaveCsv __SOURCE_DI...
[ 0.007415771484375, 0.00274658203125, 0.0130615234375, 0.032958984375, -0.0135498046875, -0.00518798828125, 0.00543212890625, 0.0010528564453125, -0.002227783203125, 0.038818359375, -0.016845703125, 0.034912109375, -0.005828857421875, 0.004730224609375, 0.013427734375, 0.000904083251953...
[ 19943, 132283, 34292, 678, 262, 297, 133, 1238, 3949, 3742, 8, 12353, 7013, 174830, 19279, 63928, 15270, 15757, 91693, 158080, 70059, 86769, 289, 856, 50770, 135261, 214, 40207, 41994, 42557, 4390, 32271, 29954, 418, 420, 51684, 23935, 316, ...
[ 0.2169189453125, 0.258056640625, 0.24853515625, 0.123046875, 0.1883544921875, 0.2347412109375, 0.2073974609375, 0.042999267578125, 0.0270843505859375, 0.1162109375, 0.1353759765625, 0.127197265625, 0.111572265625, 0.1016845703125, 0.008544921875, 0.1385498046875, 0.1748046875, 0.14...
embed
12483798_c0
12483798
fsharp
0
Title: Formulas with Excel Interop Problem title: Formulas with Excel Interop Tags: .net, excel-interop, f%23 Problem: Formulas with Excel Interop I'm using F# and Excel Interop to output data to an Excel spreadsheet. My first approach was to individually set each cell: worksheet.Range(range1).Value2 <- "=sum(a1:a10)" ...
Formulas with Excel Interop Formulas with Excel Interop .net excel-interop f%23 Formulas Excel Interop worksheet.Range range1 Value2 a1:a10 range2 range3 Formula FormulaArray FormulaR1C1 R2C R4C Formulas with Excel Interop I'm using F# and Excel Interop to output data to an Excel spreadsheet. My first approach was to i...
[ 0.00732421875, 0.0216064453125, 0.00927734375, -0.00775146484375, -0.006622314453125, -0.018798828125, 0.00238037109375, 0.006072998046875, 0.00738525390625, 0.033203125, -0.007781982421875, 0.029541015625, 0.01251220703125, 0.0013885498046875, 0.0098876953125, -0.01507568359375, -0....
[ 72791, 678, 30326, 5337, 2146, 1179, 64152, 10433, 1238, 3742, 7816, 126, 51459, 37457, 190060, 963, 7614, 7092, 441, 17368, 563, 4904, 136, 140992, 2053, 93403, 51515, 11651, 5423, 12638, 38750, 5792, 72803, 14012, 26168, 101089, 10298, 4411...
[ 0.284423828125, 0.08734130859375, 0.20654296875, 0.17236328125, 0.246337890625, 0.1063232421875, 0.1644287109375, 0.1326904296875, 0.00445556640625, 0.111083984375, 0.1483154296875, 0.001220703125, 0.0831298828125, 0.17236328125, 0.0899658203125, 0.156494140625, 0.03662109375, 0.05...
embed
39858643_c0
39858643
fsharp
0
Title: Getting rid of the &quot;pyramid of doom&quot; in F# Problem title: Getting rid of the &quot;pyramid of doom&quot; in F# Tags: f%23 Problem: Getting rid of the "pyramid of doom" in F# I have several verbal expressions that I've packaged into one function: open FsVerbalExpressions open FsVerbalExpressions.VerbalE...
Getting rid of the &quot;pyramid of doom&quot; in F# Getting rid of the &quot;pyramid of doom&quot; in F# f%23 Getting FsVerbalExpressions FsVerbalExpressions.VerbalExpression System.Text.RegularExpressions System VerbEx List.reduce RegexOptions.IgnoreCase k12VerbEx kTo12 SCHOOL DIST List.map Year College UNIV ACAD Her...
[ 0.005828857421875, -0.00101470947265625, -0.00125885009765625, 0.02197265625, -0.005218505859375, -0.00897216796875, -0.00064849853515625, -0.003265380859375, 0.006744384765625, -0.0052490234375, 0.0296630859375, 0.0093994140625, 0.024169921875, -0.01513671875, 0.0026092529296875, -0.0...
[ 210732, 31351, 111, 6493, 2198, 532, 54, 306, 563, 4904, 1238, 3742, 15896, 3571, 178752, 12353, 54601, 1446, 275, 19279, 32036, 106357, 11678, 3355, 39029, 568, 1530, 7763, 228650, 35602, 62346, 42552, 29693, 85427, 11853, 110373, 78975, 125...
[ 0.04669189453125, 0.1895751953125, 0.185791015625, 0.079345703125, 0.1646728515625, 0.16650390625, 0.10205078125, 0.2252197265625, 0.136962890625, 0.190185546875, 0.06884765625, 0.0771484375, 0.09405517578125, 0.052825927734375, 0.1163330078125, 0.034454345703125, 0.03643798828125, ...
embed
49786892_c0
49786892
fsharp
0
Title: Cannot build basic websharper app on dotnet core and ubuntu Problem title: Cannot build basic websharper app on dotnet core and ubuntu Tags: f%23, websharper, .net-core Problem: Cannot build basic websharper app on dotnet core and ubuntu I'm playing with websharper with the basic project template (websharper-web...
Cannot build basic websharper app on dotnet core and ubuntu Cannot build basic websharper app on dotnet core and ubuntu f%23 websharper .net-core Cannot FSharp Microsoft.FSharp.Targets MSB6006 wsfsc.exe Documents WebSharperTest WebSharperTest.fsproj Done Building Project Build FAILED CoreCompile _HandlePackageFileConfl...
[ -0.025146484375, 0.03271484375, -0.017578125, -0.0257568359375, -0.0135498046875, -0.004608154296875, -0.002197265625, -0.033935546875, 0.0026092529296875, 0.00830078125, 0.015625, -0.003631591796875, 0.007476806640625, 0.0108642578125, 0.0072021484375, 0.012451171875, 0.027587890625...
[ 4171, 10869, 45367, 62822, 1467, 89280, 1264, 4027, 98, 20633, 1179, 56458, 136, 198996, 1238, 3949, 3742, 30854, 93774, 3467, 254, 7244, 36381, 63031, 571, 10715, 910, 148, 17447, 238, 46480, 43101, 4002, 111337, 3454, 984, 104919, 27331, ...
[ 0.0718994140625, 0.1396484375, 0.19287109375, 0.1920166015625, 0.1259765625, 0.236328125, 0.226318359375, 0.1959228515625, 0.051513671875, 0.10626220703125, 0.1517333984375, 0.1571044921875, 0.0672607421875, 0.178466796875, 0.0154266357421875, 0.00042724609375, 0.07415771484375, 0....
embed
9052788_c0
9052788
fsharp
0
Title: F# LINQ add new rows to SQL Server Problem title: F# LINQ add new rows to SQL Server Tags: linq-to-sql, sql-server-2008-r2, f%23 Problem: F# LINQ add new rows to SQL Server I am learning LINQ with F# 3.0. I want to know how to re-write my old code to use new LINQ features in F# 3.0 For example, I have created a ...
F# LINQ add new rows to SQL Server F# LINQ add new rows to SQL Server linq-to-sql sql-server-2008-r2 f%23 LINQ SQL Server Create Table1 TABLE NOT TestData1 TestData2 FLOAT Name NTEXT PRIMARY KEY CLUSTERED ASC System System.Collections.Generic System.Data System.Data.SqlClient Integrated Security Database MyDatabase Sql...
[ 0.00823974609375, 0.016845703125, 0.0032958984375, 0.015625, -0.01080322265625, 0.00189208984375, 0.00384521484375, 0.00390625, 0.0027008056640625, -0.0458984375, 0.0026092529296875, -0.0169677734375, 0.01104736328125, -0.006591796875, 0.005615234375, -0.0040283203125, 0.013732910156...
[ 563, 4904, 46610, 2737, 15190, 3525, 15555, 7, 47, 80866, 22687, 96, 44982, 188, 99247, 39642, 105011, 42, 304, 1238, 3742, 151313, 112997, 418, 384, 183057, 86725, 8647, 137989, 17014, 15757, 122691, 105029, 6, 186104, 22335, 125429, 12353, ...
[ 0.113037109375, 0.172607421875, 0.1888427734375, 0.185546875, 0.1209716796875, 0.127685546875, 0.2149658203125, 0.0374755859375, 0.07147216796875, 0.197509765625, 0.1309814453125, 0.0667724609375, 0.21533203125, 0.1181640625, 0.136962890625, 0.08294677734375, 0.1622314453125, 0.011...
embed
74358016_c1
74358016
fsharp
1
rqW.tmp /verbosity:quiet /nologo /Users/espen/code/horus/src/Server/Server.fsproj Build started... dotnet build /Users/espen/code/horus/src/Server/Server.fsproj /verbosity:quiet /nologo Build succeeded. 0 Warning(s) 0 Error(s) Code signals: NullReferenceException, System.NullReferenceException, provider, class, Entity,...
rqW.tmp /verbosity:quiet /nologo /Users/espen/code/horus/src/Server/Server.fsproj Build started... dotnet build /Users/espen/code/horus/src/Server/Server.fsproj /verbosity:quiet /nologo Build succeeded. 0 Warning(s) 0 Error(s) Code signals: NullReferenceException, System.NullReferenceException, provider, class, Entity,...
[ -0.0064697265625, 0.0233154296875, 0.0047607421875, 0.017333984375, -0.0113525390625, -0.0079345703125, -0.0103759765625, -0.035400390625, 0.00604248046875, 0.0205078125, -0.0145263671875, 0.0380859375, 0.0062255859375, 0.01953125, 0.00927734375, 0.01263427734375, -0.003204345703125,...
[ 1690, 864, 1456, 18, 2676, 814, 16091, 2481, 3181, 126, 157, 26989, 1062, 7, 90, 2278, 40899, 5922, 223, 19437, 193348, 17447, 3454, 170, 121137, 26859, 27, 20633, 1179, 45367, 214493, 297, 757, 5550, 212059, 28864, 26073, 1429, 1181, 699...
[ 0.0849609375, 0.154541015625, 0.2242431640625, 0.0906982421875, 0.25341796875, 0.1549072265625, 0.19677734375, 0.11962890625, 0.1966552734375, 0.1446533203125, 0.1553955078125, 0.2646484375, 0.03411865234375, 0.1146240234375, 0.047637939453125, 0.213623046875, 0.1658935546875, 0.09...
embed
66133333_c0
66133333
fsharp
0
Title: I was expecting a function to return bool, but &quot;this expression was expected to have type &#x27;int * int * string&#x27; but here has type &#x27;string&#x27; &quot; Problem title: I was expecting a function to return bool, but &quot;this expression was expected to have type &#x27;int * int * string&#x27; bu...
I was expecting a function to return bool, but &quot;this expression was expected to have type &#x27;int * int * string&#x27; but here has type &#x27;string&#x27; &quot; I was expecting a function to return bool, but &quot;this expression was expected to have type &#x27;int * int * string&#x27; but here has type &#x27;...
[ -0.0018310546875, 0.0225830078125, 0.02685546875, 0.0238037109375, -0.0137939453125, -0.0216064453125, -0.008056640625, -0.0147705078125, 0.00885009765625, 0.015625, 0.004638671875, 0.0255126953125, -0.00531005859375, 0.0034332275390625, 0.0172119140625, 0.006072998046875, 0.01245117...
[ 41206, 214, 32354, 30646, 142484, 1284, 125195, 84751, 10644, 3768, 4288, 23, 18, 79315, 3688, 91693, 509, 1556, 25755, 68933, 47515, 15745, 27958, 181600, 19055, 132887, 97141, 74257, 8705, 56816, 881, 855, 38775, 93774, 188735, 661, 20697, ...
[ 0.1492919921875, 0.012542724609375, 0.186279296875, 0.1632080078125, 0.183349609375, 0.0552978515625, 0.2056884765625, 0.1634521484375, 0.2005615234375, 0.0609130859375, 0.107421875, 0.038360595703125, 0.06231689453125, 0.2027587890625, 0.0673828125, 0.229248046875, 0.00592041015625,...
embed
35366996_c0
35366996
fsharp
0
Title: Does F# have its own string manipulation libraries? Problem title: Does F# have its own string manipulation libraries? Tags: dll, f%23 Problem: Does F# have its own string manipulation libraries? Does F# have its own string manipulation libraries? As I am attempting to learn F#, I find myself using the existing ...
Does F# have its own string manipulation libraries? Does F# have its own string manipulation libraries? dll f%23 Does System PhoneNumber CountryCode:int Number:string Create length:int text:string text.Substring text.Length phoneNumber.CountryCode phoneNumber.Number CountryCode Number Does F# have its own string manipu...
[ -0.0140380859375, 0.00004291534423828125, 0.013671875, 0.0322265625, -0.0277099609375, 0.0031890869140625, -0.01153564453125, 0.01507568359375, 0.006317138671875, 0.0113525390625, -0.00390625, 0.00193023681640625, -0.01129150390625, -0.0189208984375, 0.0006561279296875, -0.022705078125...
[ 101790, 563, 4904, 765, 6863, 10002, 79315, 45258, 1363, 35773, 10484, 81717, 1238, 3742, 12353, 41761, 18444, 26278, 74831, 114211, 4288, 103332, 91693, 151313, 140909, 7986, 5, 96472, 449, 24089, 108210, 81887, 30698, 7413, 17368, 144573, 150...
[ 0.050140380859375, 0.18310546875, 0.2344970703125, 0.060791015625, 0.1002197265625, 0.15185546875, 0.269775390625, 0.2164306640625, 0.076904296875, 0.1817626953125, 0.114990234375, 0.105224609375, 0.1170654296875, 0.1199951171875, 0.1640625, 0.1661376953125, 0.1038818359375, 0.0656...
embed
22331344_c0
22331344
fsharp
0
Title: Build error running FAKE MSBUild on project files with parenthesis Problem title: Build error running FAKE MSBUild on project files with parenthesis Tags: f%23-fake, f%23 Problem: Build error running FAKE MSBUild on project files with parenthesis When I execute my Fake build script I run into a problem where the...
Build error running FAKE MSBUild on project files with parenthesis Build error running FAKE MSBUild on project files with parenthesis f%23-fake f%23 System.IO.FileNotFoundException Fake Build MSBUild FakeLib.dll dotNet40ProjectsIncludeStr NET40 dotNet40Projects dotNet45Projects Default Target Executed NET45 Seq.iter Ne...
[ -0.013671875, 0.0164794921875, -0.0037841796875, 0.005889892578125, 0.00323486328125, -0.00162506103515625, 0.00701904296875, -0.0264892578125, -0.0001087188720703125, 0.0296630859375, 0.0076904296875, -0.0022735595703125, 0.02392578125, 0.005157470703125, 0.0220947265625, -0.005004882...
[ 121137, 18499, 51042, 563, 119960, 16265, 15639, 38472, 98, 13452, 102158, 678, 49129, 160291, 1238, 167218, 27495, 1021, 3949, 3742, 12353, 17780, 174350, 122116, 27591, 63928, 3036, 350, 104820, 1181, 20633, 24447, 2839, 223353, 71713, 17777, ...
[ 0.2218017578125, 0.18212890625, 0.110107421875, 0.1861572265625, 0.231689453125, 0.1546630859375, 0.1717529296875, 0.2327880859375, 0.042449951171875, 0.1488037109375, 0.16357421875, 0.1014404296875, 0.1634521484375, 0.190673828125, 0.060791015625, 0.031982421875, 0.1142578125, 0.1...
embed
20923567_c0
20923567
fsharp
0
Title: F# type provider use case Problem title: F# type provider use case Tags: f%23, type-providers, .net, dictionary Problem: F# type provider use case I have a bit of hard time to get a grip on type providers. I would like to get some feedback on the usefulness of type provider approach for following use case. Quite...
F# type provider use case F# type provider use case f%23 type-providers .net dictionary List Dictionary Type DateTime.UtcNow data2 MyObject DateTime F# type provider use case I have a bit of hard time to get a grip on type providers. I would like to get some feedback on the usefulness of type provider approach for foll...
[ 0.006134033203125, 0.01318359375, -0.0162353515625, 0.0181884765625, -0.0205078125, -0.0032958984375, 0.003875732421875, 0.015625, -0.016845703125, -0.0191650390625, 0.00086212158203125, -0.01043701171875, 0.004791259765625, 0.001708984375, 0.0003261566162109375, 0.004058837890625, -...
[ 563, 4904, 10644, 81450, 4527, 7225, 1238, 3949, 3742, 93136, 14202, 1179, 10763, 32036, 147638, 60457, 25512, 70059, 106742, 137594, 2053, 304, 2646, 46471, 75161, 7941, 40158, 7, 58269, 80234, 51515, 25632, 104272, 5501, 1928, 61687, 30646, ...
[ 0.1287841796875, 0.205322265625, 0.2384033203125, 0.27294921875, 0.0855712890625, 0.1591796875, 0.07611083984375, 0.0010986328125, 0.10107421875, 0.17138671875, 0.0504150390625, 0.1142578125, 0.07037353515625, 0.0753173828125, 0.14111328125, 0.1829833984375, 0.0202484130859375, 0.0...
embed
5013160_c0
5013160
fsharp
0
Title: Change item value of referenced array in clousure Problem title: Change item value of referenced array in clousure Tags: f%23, sequence Problem: Change item value of referenced array in clousure Look, I've got some method where I try to check if value is changed and write it if it is changed but so , I need to r...
Change item value of referenced array in clousure Change item value of referenced array in clousure f%23 sequence Change X.qArchive db.AlarmDictionaries d.ID ToArray db.ArchiveDescretes a.ID Error c.ID a.Date c.Message a.Value Array.ofSeq c.Value Change item value of referenced array in clousure Look, I've got some met...
[ -0.00518798828125, 0.0244140625, -0.00433349609375, 0.01519775390625, 0.01348876953125, -0.0247802734375, -0.018310546875, 0.03076171875, 0.000522613525390625, 0.00982666015625, 0.002410888671875, 0.0712890625, 0.00836181640625, 0.01263427734375, 0.0264892578125, 0.00121307373046875, ...
[ 87377, 35735, 34292, 91067, 71, 10298, 53, 20450, 223, 3408, 23, 3742, 944, 1193, 864, 219548, 40041, 320, 10763, 7146, 717, 7092, 7612, 212059, 86291, 6011, 856, 50770, 69253, 55300, 12765, 2174, 98816, 33022, 37629, 69696, 142424, 1902, 2...
[ 0.1895751953125, 0.1834716796875, 0.2064208984375, 0.23876953125, 0.0740966796875, 0.1597900390625, 0.07763671875, 0.1260986328125, 0.0806884765625, 0.18310546875, 0.0153350830078125, 0.08270263671875, 0.05108642578125, 0.042022705078125, 0.044219970703125, 0.1322021484375, 0.0193939...
embed
17002632_c0
17002632
fsharp
0
Title: How to generate an array with a dynamic type in F# Problem title: How to generate an array with a dynamic type in F# Tags: generics, arrays, dynamic, f%23, type-conversion Problem: How to generate an array with a dynamic type in F# I'm trying to write a function to return a dynamically typed array. Here is an ex...
How to generate an array with a dynamic type in F# How to generate an array with a dynamic type in F# generics arrays dynamic f%23 type-conversion How System.Random ConvertType AsInts AsFloat32s AsFloats AsInt64s InputType Ints Float32s float32 Floats Int64s int64 sCount:int rCount:int ct:ConvertType Array.init rng.Nex...
[ 0.004638671875, 0.007080078125, -0.00141143798828125, -0.002197265625, 0.009033203125, -0.0023651123046875, -0.01556396484375, -0.006195068359375, 0.0101318359375, -0.01953125, -0.006317138671875, -0.01116943359375, -0.00506591796875, -0.0179443359375, 0.0262451171875, -0.00927734375, ...
[ 11249, 139392, 10298, 53, 678, 84079, 10644, 563, 4904, 189534, 4778, 1238, 3742, 46354, 12353, 126525, 3815, 1657, 11549, 196707, 1301, 4153, 365, 6460, 13307, 360, 933, 38699, 21917, 108210, 4288, 108963, 11935, 69253, 449, 62346, 62351, 54...
[ 0.0241851806640625, 0.189453125, 0.1956787109375, 0.1688232421875, 0.114501953125, 0.2344970703125, 0.24609375, 0.1270751953125, 0.2156982421875, 0.17578125, 0.0180206298828125, 0.051666259765625, 0.0977783203125, 0.0806884765625, 0.056182861328125, 0.059661865234375, 0.114013671875,...
embed
43853731_c1
43853731
fsharp
1
_Command Tcl_CreateObjCommand(Tcl_Interp *interp, const char *cmdName, Tcl_ObjCmdProc *proc, ClientData clientData, Tcl_CmdDeleteProc *deleteProc); [<DllImport(TclDll, EntryPoint="Tcl_CreateObjCommand", CallingConvention=CallingConvention.Cdecl)>] extern nativeint tclCreateObjCommand(nativeint interp, string cmdName, O...
_Command Tcl_CreateObjCommand(Tcl_Interp *interp, const char *cmdName, Tcl_ObjCmdProc *proc, ClientData clientData, Tcl_CmdDeleteProc *deleteProc); [<DllImport(TclDll, EntryPoint="Tcl_CreateObjCommand", CallingConvention=CallingConvention.Cdecl)>] extern nativeint tclCreateObjCommand(nativeint interp, string cmdName, O...
[ 0.0272216796875, 0.0196533203125, 0.004150390625, 0.046630859375, -0.00946044921875, -0.0135498046875, -0.015625, -0.0128173828125, 0.007720947265625, -0.002410888671875, -0.006072998046875, 0.0034332275390625, 0.0235595703125, -0.0118408203125, -0.0029144287109375, -0.0130615234375, ...
[ 101, 10770, 12018, 384, 34937, 454, 63784, 2182, 46471, 170, 618, 44851, 254, 10433, 158, 271, 21441, 3931, 163612, 54686, 10752, 238, 3454, 91732, 137989, 23282, 4657, 46485, 8520, 1181, 61637, 6982, 15123, 147534, 26265, 214, 11935, 57241, ...
[ 0.04986572265625, 0.1419677734375, 0.2384033203125, 0.0908203125, 0.242919921875, 0.0030517578125, 0.2054443359375, 0.1202392578125, 0.187255859375, 0.1866455078125, 0.058013916015625, 0.1893310546875, 0.141845703125, 0.15478515625, 0.03594970703125, 0.0570068359375, 0.1136474609375,...
embed
2905059_c0
2905059
fsharp
0
Title: N-gram split function for string similarity comparison Problem title: N-gram split function for string similarity comparison Tags: n-gram, f%23 Problem: N-gram split function for string similarity comparison As part of excersise to better understand F# which I am currently learning , I wrote function to split gi...
N-gram split function for string similarity comparison N-gram split function for string similarity comparison n-gram f%23 N-gram s:string n:int ngram_split ngram_count s.Length ngram_list List.init s.Substring String.init ngram_array_unique Seq.ofList Seq.distinct Array.ofSeq Seq.init ngram_array_unique.Length List.fil...
[ -0.020751953125, 0.015625, -0.017578125, 0.002685546875, -0.017578125, -0.012939453125, 0.0145263671875, 0.001953125, 0.00958251953125, 0.01434326171875, 0.007171630859375, 0.01226806640625, -0.004058837890625, -0.00421142578125, 0.004669189453125, 0.00927734375, 0.01055908203125, ...
[ 541, 9, 25561, 65450, 32354, 100, 79315, 21373, 2481, 225490, 653, 1238, 3949, 3742, 91, 12, 91693, 4288, 234, 2198, 7008, 4353, 71013, 449, 6562, 32036, 217, 96472, 23351, 73, 19305, 34, 45602, 864, 69253, 120337, 23986, 3443, 11522, 282...
[ 0.1766357421875, 0.0305023193359375, 0.2406005859375, 0.2359619140625, 0.1715087890625, 0.051177978515625, 0.228759765625, 0.2017822265625, 0.115478515625, 0.2232666015625, 0.137451171875, 0.08074951171875, 0.012359619140625, 0.1343994140625, 0.087890625, 0.01287841796875, 0.18469238...
embed
62473185_c1
62473185
fsharp
1
8 then 1 else 0) |> Array.sum abs(t1 - t2) let train (trainingset:Observation[]) (dist:Distance) = let classify (pixels:int[]) = trainingset |> Array.minBy (fun x -> dist (x.Pixels, pixels)) |> fun x -> x.Label classify // // This is my new function // let train2 (trainingset:Observation[]) (dist:Distance) = let classi...
8 then 1 else 0) |> Array.sum abs(t1 - t2) let train (trainingset:Observation[]) (dist:Distance) = let classify (pixels:int[]) = trainingset |> Array.minBy (fun x -> dist (x.Pixels, pixels)) |> fun x -> x.Label classify // // This is my new function // let train2 (trainingset:Observation[]) (dist:Distance) = let classi...
[ 0.00543212890625, 0.00897216796875, 0.008544921875, 0.000545501708984375, 0.00848388671875, -0.0033721923828125, -0.01043701171875, 0.000720977783203125, 0.01165771484375, -0.0286865234375, -0.009521484375, -0.0012969970703125, 0.0133056640625, -0.0267333984375, -0.0172119140625, -0.01...
[ 382, 7068, 106, 37076, 757, 2740, 69253, 53, 5, 11832, 43719, 18, 418, 20, 808, 10461, 2633, 25550, 118862, 3509, 46471, 65756, 46295, 14055, 116071, 18507, 40383, 66535, 4288, 23189, 1249, 75358, 16498, 1022, 45, 271, 52851, 98009, 7477, ...
[ 0.1868896484375, 0.07305908203125, 0.112548828125, 0.107421875, 0.132080078125, 0.0068359375, 0.1221923828125, 0.10089111328125, 0.011871337890625, 0.1915283203125, 0.1201171875, 0.024261474609375, 0.0369873046875, 0.010528564453125, 0.05462646484375, 0.128173828125, 0.0911865234375,...
embed
27469077_c1
27469077
fsharp
1
None } public abstract class Option<T> { private readonly OptionType _tag; protected Option(OptionType tag) { _tag = tag; } public OptionType Tag { get { return _tag; } } internal bool MatchNone() { return Tag == OptionType.None; } internal bool MatchSome(out T value) { value = Tag == OptionType.Some ? ((Some<T>)this)...
None } public abstract class Option<T> { private readonly OptionType _tag; protected Option(OptionType tag) { _tag = tag; } public OptionType Tag { get { return _tag; } } internal bool MatchNone() { return Tag == OptionType.None; } internal bool MatchSome(out T value) { value = Tag == OptionType.Some ? ((Some<T>)this)...
[ -0.00323486328125, 0.01129150390625, 0.035888671875, -0.00701904296875, -0.012451171875, -0.01953125, -0.0108642578125, -0.01165771484375, 0.01556396484375, 0.01495361328125, -0.01263427734375, -0.01483154296875, 0.0031890869140625, -0.0169677734375, -0.005157470703125, 0.0341796875, ...
[ 438, 86, 51912, 3835, 164789, 18507, 86769, 618, 14375, 12301, 191, 538, 196707, 6936, 74, 30312, 39029, 1363, 7909, 4837, 2046, 30646, 70796, 142484, 67407, 5021, 282, 6056, 384, 34292, 69112, 856, 114977, 6, 2292, 284, 10763, 98, 8912, ...
[ 0.10076904296875, 0.10791015625, 0.046661376953125, 0.12841796875, 0.2249755859375, 0.1988525390625, 0.268310546875, 0.111572265625, 0.1285400390625, 0.1090087890625, 0.0836181640625, 0.0249176025390625, 0.2220458984375, 0.1446533203125, 0.001312255859375, 0.142333984375, 0.103759765...
embed
30247495_c0
30247495
fsharp
0
Title: Process.kill does not seem to work Problem title: Process.kill does not seem to work Tags: f%23, .net Problem: Process.kill does not seem to work The following code hangs in the call to WaitForExit at the end. It terminates cleanly if I remove the 1 second long sleep. Could someone please tell me what to do so t...
Process.kill does not seem to work Process.kill does not seem to work f%23 .net processStartInfo.RedirectStandardError Process.kill System.Diagnostics.ProcessStartInfo bash.exe processStartInfo.CreateNoWindow processStartInfo.UseShellExecute processStartInfo.RedirectStandardOutput processStartInfo.RedirectStandardInput...
[ 0.01422119140625, 0.04296875, 0.005157470703125, -0.007110595703125, -0.021484375, -0.02734375, -0.00104522705078125, -0.0272216796875, -0.002960205078125, -0.00830078125, -0.00799560546875, 0.051025390625, -0.021484375, 0.0228271484375, 0.0238037109375, 0.011962890625, 0.03588867187...
[ 123996, 5, 119261, 959, 48903, 4488, 14602, 3742, 1179, 9433, 126597, 93147, 4332, 80581, 191769, 18468, 12353, 128198, 26531, 87109, 46480, 63784, 5021, 92049, 24293, 79544, 211603, 79858, 10402, 137989, 6820, 31345, 93232, 39116, 133, 175254, ...
[ 0.2232666015625, 0.032440185546875, 0.3056640625, 0.112060546875, 0.1263427734375, 0.1656494140625, 0.013092041015625, 0.051239013671875, 0.115234375, 0.1583251953125, 0.10693359375, 0.136474609375, 0.015228271484375, 0.132080078125, 0.1058349609375, 0.06884765625, 0.072021484375, ...
embed
57374365_c0
57374365
fsharp
0
Title: F# binding or composing together parsers acting on separate source streams Problem title: F# binding or composing together parsers acting on separate source streams Tags: f%23, functional-programming, fparsec Problem: F# binding or composing together parsers acting on separate source streams How do I compose par...
F# binding or composing together parsers acting on separate source streams F# binding or composing together parsers acting on separate source streams f%23 functional-programming fparsec l.Length Success F# binding or composing together parsers acting on separate source streams How do I compose parser functions, in a wa...
[ -0.007568359375, 0.03857421875, -0.004425048828125, 0.0233154296875, 0.000835418701171875, 0.041259765625, 0.0177001953125, -0.0203857421875, 0.01513671875, -0.037109375, 0.000682830810546875, 0.00640869140625, 0.00616455078125, 0.0247802734375, 0.0035552978515625, 0.00653076171875, ...
[ 563, 4904, 128239, 707, 9969, 232, 25842, 366, 7, 1314, 1030, 84797, 31344, 75973, 1238, 3742, 123309, 28966, 2500, 39797, 144053, 98, 11249, 54, 87, 150350, 2189, 32354, 3917, 71924, 12921, 14432, 56566, 110680, 50339, 6626, 11001, 20697, ...
[ 0.09613037109375, 0.2042236328125, 0.2393798828125, 0.03033447265625, 0.1016845703125, 0.0928955078125, 0.196044921875, 0.170654296875, 0.1007080078125, 0.1082763671875, 0.0604248046875, 0.1844482421875, 0.17529296875, 0.1534423828125, 0.02490234375, 0.0909423828125, 0.16455078125, ...
embed
38511396_c0
38511396
fsharp
0
Title: F# spawn a new async request every second Problem title: F# spawn a new async request every second Tags: multithreading, f%23, asynchronous Problem: F# spawn a new async request every second My goal (before I expand on it) is to start up an Async task (in this case, fetching a URL) once a second. The idea is tha...
F# spawn a new async request every second F# spawn a new async request every second multithreading f%23 asynchronous Start Finish FetchUrlAsync WebRequest.Create req.AsyncGetResponse resp.GetResponseStream System.IO.StreamReader System.Random Next Console.WriteLine Async.Sleep reader.ReadToEnd Seq.initInfinite www.goog...
[ -0.00113677978515625, 0.0050048828125, 0.000339508056640625, -0.020751953125, 0.0026397705078125, 0.006134033203125, 0.007415771484375, -0.01416015625, 0.000701904296875, -0.024658203125, 0.016845703125, 0.004364013671875, -0.00494384765625, -0.01318359375, 0.0164794921875, 0.006469726...
[ 563, 4904, 5623, 7710, 3525, 10, 12654, 238, 50336, 11907, 17932, 3869, 65847, 1238, 3742, 101966, 13794, 13316, 4745, 92962, 48743, 4002, 75616, 864, 94399, 115061, 12353, 5, 17780, 31345, 4997, 40777, 93232, 133, 4517, 155255, 7763, 152378,...
[ 0.12841796875, 0.2008056640625, 0.1483154296875, 0.105712890625, 0.11865234375, 0.069580078125, 0.25634765625, 0.1376953125, 0.1951904296875, 0.1307373046875, 0.2178955078125, 0.09814453125, 0.1072998046875, 0.08056640625, 0.109619140625, 0.1102294921875, 0.064697265625, 0.04919433...
embed
55548680_c0
55548680
fsharp
0
Title: F# Join Strings with Oxford Comma Problem title: F# Join Strings with Oxford Comma Tags: f%23, collections, .net, string Problem: F# Join Strings with Oxford Comma I want to join a collection of strings into a single string using the Oxford (or serial) comma. Given let ss = [ "a"; "b"; "c"; "d" ] I want "a, b, c...
F# Join Strings with Oxford Comma F# Join Strings with Oxford Comma f%23 collections .net string Join Strings Oxford Comma Seq.toArray ss.Length System.String.Join Seq.last System.Linq ss.Count ss.First ss.ElementAt ss.Take ss.Last System.ArraySegment System.Text.StringBuilder sb.Append oxford2 Array.iteri F# Join Stri...
[ -0.01263427734375, 0.01251220703125, 0.00250244140625, 0.0067138671875, -0.00933837890625, -0.00074005126953125, -0.00087738037109375, 0.0076904296875, 0.0133056640625, 0.01611328125, -0.00054931640625, -0.0274658203125, 0.01611328125, -0.00335693359375, 0.0147705078125, -0.00001907348...
[ 563, 4904, 113053, 23351, 5180, 678, 42673, 3288, 192, 1238, 3949, 3742, 42486, 1179, 79315, 503, 864, 188, 7614, 7092, 91, 7, 449, 12353, 71713, 16604, 19777, 44982, 108210, 207263, 19929, 51654, 2729, 271, 2507, 174379, 121137, 39179, 36,...
[ 0.1239013671875, 0.1697998046875, 0.256591796875, 0.198974609375, 0.148681640625, 0.10107421875, 0.262939453125, 0.18603515625, 0.171630859375, 0.08349609375, 0.011138916015625, 0.13525390625, 0.1854248046875, 0.1278076171875, 0.2418212890625, 0.0675048828125, 0.15771484375, 0.0440...
embed
346928_c0
346928
fsharp
0
Title: F# winforms MenuStrip problem: Not sure how to get a handle on DropDownItems Problem title: F# winforms MenuStrip problem: Not sure how to get a handle on DropDownItems Tags: .net, f%23, menustrip, winforms Problem: F# winforms MenuStrip problem: Not sure how to get a handle on DropDownItems I have recently star...
F# winforms MenuStrip problem: Not sure how to get a handle on DropDownItems F# winforms MenuStrip problem: Not sure how to get a handle on DropDownItems .net f%23 menustrip winforms MenuStrip Not DropDownItems System System.Windows.Forms Form ToolStripDropDownButton File ms.Items.Add file.DropDownItems.Add TestItem Me...
[ 0.0145263671875, 0.0255126953125, -0.0189208984375, -0.0123291015625, -0.00994873046875, 0.01025390625, 0.005950927734375, -0.016845703125, -0.00099945068359375, -0.03271484375, 0.025390625, -0.00799560546875, -0.01275634765625, 0.017578125, 0.0015869140625, -0.002716064453125, 0.004...
[ 563, 4904, 148, 46334, 7, 49434, 59623, 2967, 11205, 9077, 3642, 2046, 10, 34831, 130403, 8331, 7710, 2982, 294, 1179, 1238, 3949, 3742, 8026, 12353, 43342, 102973, 15236, 92285, 28437, 82212, 42724, 4028, 11435, 8647, 72295, 168660, 4368, ...
[ 0.0975341796875, 0.1922607421875, 0.10888671875, 0.2305908203125, 0.065185546875, 0.1883544921875, 0.252197265625, 0.14404296875, 0.06787109375, 0.095947265625, 0.007904052734375, 0.0462646484375, 0.04150390625, 0.1796875, 0.14208984375, 0.1104736328125, 0.1162109375, 0.14697265625...
embed
47896854_c0
47896854
fsharp
0
Title: Why do I get an exception in Azure functions where mscorlib says access denied? Problem title: Why do I get an exception in Azure functions where mscorlib says access denied? Tags: azure-functions, .net, azure, f%23 Problem: Why do I get an exception in Azure functions where mscorlib says access denied? Starting...
Why do I get an exception in Azure functions where mscorlib says access denied? Why do I get an exception in Azure functions where mscorlib says access denied? azure-functions .net azure f%23 Microsoft.Azure.WebJobs.Host.FunctionInvocationException System.Reflection.TargetInvocationException System.UnauthorizedAccessEx...
[ -0.003509521484375, 0.0174560546875, -0.00390625, -0.010986328125, 0.00848388671875, 0.00360107421875, 0.014892578125, 0.00927734375, -0.01092529296875, -0.0211181640625, 0.00738525390625, 0.0107421875, 0.005035400390625, 0.00848388671875, 0.040771484375, -0.000736236572265625, 0.012...
[ 44084, 2046, 131527, 23, 176071, 32354, 10517, 5612, 17378, 17203, 8, 93, 297, 68163, 295, 3408, 137175, 1179, 3742, 7244, 219534, 13, 30474, 194802, 97249, 202010, 19279, 63928, 12353, 190015, 63031, 1003, 26531, 17780, 18468, 92049, 135913, ...
[ 0.1212158203125, 0.053436279296875, 0.227294921875, 0.018463134765625, 0.2493896484375, 0.181396484375, 0.1373291015625, 0.23486328125, 0.033355712890625, 0.198486328125, 0.1357421875, 0.1529541015625, 0.0780029296875, 0.02752685546875, 0.0794677734375, 0.180419921875, 0.157958984375...
embed
56401481_c0
56401481
fsharp
0
Title: F#: How to &quot;await&quot; a function in a handler so that exception still bubble up to the handler? Problem title: F#: How to &quot;await&quot; a function in a handler so that exception still bubble up to the handler? Tags: asynchronous, async-await, c%23, f%23 Problem: F#: How to "await" a function in a hand...
F#: How to &quot;await&quot; a function in a handler so that exception still bubble up to the handler? F#: How to &quot;await&quot; a function in a handler so that exception still bubble up to the handler? asynchronous async-await c%23 f%23 How bus.PubSub.Subscribe Message Await Offloading Task.Run Async.Start Async.Ru...
[ 0.00885009765625, 0.0224609375, 0.0021514892578125, -0.0147705078125, -0.01031494140625, 0.000797271728515625, 0.0126953125, -0.007415771484375, -0.0023345947265625, -0.03173828125, 0.0064697265625, 0.027587890625, 0.0013580322265625, 0.005096435546875, 0.0274658203125, -0.012268066406...
[ 563, 4904, 11249, 7978, 217, 32354, 23, 35863, 131527, 7464, 373, 73163, 1257, 47, 12654, 101966, 238, 3742, 1238, 5324, 143145, 96472, 34601, 48205, 634, 9791, 63033, 9598, 163321, 126597, 217835, 1900, 5773, 11814, 1614, 59478, 71916, 2737,...
[ 0.0885009765625, 0.1943359375, 0.04461669921875, 0.17138671875, 0.179443359375, 0.1658935546875, 0.0379638671875, 0.23095703125, 0.1978759765625, 0.114990234375, 0.0521240234375, 0.163818359375, 0.05426025390625, 0.0174560546875, 0.1484375, 0.1138916015625, 0.029632568359375, 0.021...
embed
18718403_c0
18718403
fsharp
0
Title: Type conversion in F# Problem title: Type conversion in F# Tags: f%23, r Problem: Type conversion in F# I am importing excel data into a via a F# script to be used in an R regression. The code is: let path = @"C:\Data\DataForRegression.csv" let fileStream = new FileStream(path,FileMode.Open,FileAccess.Read) let ...
Type conversion in F# Type conversion in F# f%23 r Type Data DataForRegression.csv FileStream FileMode.Open FileAccess.Read StreamReader streamReader.ReadToEnd contents.Split Seq.map line.Split Seq.skip Double.Parse DateTime.Parse ToShortDateString Int32.Parse System.Environment.GetEnvironmentVariable PATH Program File...
[ 0.00933837890625, 0.0002155303955078125, -0.00933837890625, 0.0234375, 0.00811767578125, 0.005218505859375, -0.009765625, -0.0068359375, -0.002105712890625, 0.0103759765625, -0.0162353515625, 0.01019287109375, -0.00136566162109375, -0.015380859375, 0.007537841796875, -0.008544921875, ...
[ 60457, 142477, 23, 563, 4904, 1238, 3949, 3742, 1690, 11809, 18537, 4332, 148448, 5, 4439, 334, 42724, 115061, 9083, 103264, 26531, 31345, 75973, 56, 7763, 152378, 10941, 4353, 62346, 44024, 107172, 28636, 25512, 70059, 115729, 86291, 71713, ...
[ 0.268798828125, 0.22216796875, 0.019256591796875, 0.15966796875, 0.239013671875, 0.1026611328125, 0.046295166015625, 0.10791015625, 0.09619140625, 0.1085205078125, 0.0182952880859375, 0.0472412109375, 0.21923828125, 0.0144500732421875, 0.0621337890625, 0.1302490234375, 0.082641601562...
embed
48243846_c0
48243846
fsharp
0
Title: The result of this expression is implicitly ignored. Consider using &#x27;ignore&#x27; e.g. &#x27;expr |&gt; ignore&#x27;, or &#x27; e.g. &#x27;let result = expr&#x27; Problem title: The result of this expression is implicitly ignored. Consider using &#x27;ignore&#x27; e.g. &#x27;expr |&gt; ignore&#x27;, or &#x2...
The result of this expression is implicitly ignored. Consider using &#x27;ignore&#x27; e.g. &#x27;expr |&gt; ignore&#x27;, or &#x27; e.g. &#x27;let result = expr&#x27; The result of this expression is implicitly ignored. Consider using &#x27;ignore&#x27; e.g. &#x27;expr |&gt; ignore&#x27;, or &#x27; e.g. &#x27;let resu...
[ -0.00299072265625, 0.0008392333984375, 0.017578125, -0.01104736328125, 0.0036773681640625, -0.004241943359375, -0.0002880096435546875, -0.00335693359375, 0.0274658203125, 0.01226806640625, 0.006256103515625, 0.0284423828125, 0.00250244140625, 0.0159912109375, 0.019775390625, 0.01519775...
[ 16750, 903, 125195, 165164, 538, 124962, 71, 137399, 17368, 3768, 167790, 13, 83613, 42, 5386, 1974, 14700, 1238, 3742, 145581, 36549, 449, 19273, 6468, 5759, 69253, 31251, 32036, 34003, 16765, 2982, 81, 162, 52057, 162738, 157034, 26634, 641...
[ 0.204833984375, 0.0003662109375, 0.215087890625, 0.1966552734375, 0.0301513671875, 0.2135009765625, 0.11328125, 0.010894775390625, 0.00604248046875, 0.09722900390625, 0.1597900390625, 0.0860595703125, 0.09619140625, 0.1258544921875, 0.0156402587890625, 0.1251220703125, 0.109252929687...
embed
7645804_c0
7645804
fsharp
0
Title: Huge performance difference running f# same code on fsi 4.0.30319.1 and 2.0.0.0 Problem title: Huge performance difference running f# same code on fsi 4.0.30319.1 and 2.0.0.0 Tags: f%23, fsi Problem: Huge performance difference running f# same code on fsi 4.0.30319.1 and 2.0.0.0 I am running the same F# code wit...
Huge performance difference running f# same code on fsi 4.0.30319.1 and 2.0.0.0 Huge performance difference running f# same code on fsi 4.0.30319.1 and 2.0.0.0 f%23 fsi http://fssnip.net/3g the a Huge Program Files FSharp-2.0.0.0 fsi.exe Microsoft Interactive v4.0 Options Gaussian fssnip.net Tony Lee European Option Eu...
[ -0.0005950927734375, 0.00543212890625, 0.0091552734375, -0.007171630859375, -0.002197265625, -0.0186767578125, 0.00640869140625, -0.001739501953125, 0.0233154296875, -0.00537109375, -0.0026702880859375, 0.0224609375, 0.0008087158203125, -0.023193359375, -0.00174713134765625, -0.0026245...
[ 99926, 13, 23718, 60212, 51042, 1238, 4904, 5701, 18151, 172, 40401, 1197, 363, 2947, 418, 136, 16655, 99929, 98, 3742, 17447, 93, 254, 1179, 18113, 177, 7663, 42724, 93774, 3467, 73011, 46480, 7244, 5337, 71232, 81, 151152, 152448, 26336, ...
[ 0.09375, 0.03631591796875, 0.17626953125, 0.2012939453125, 0.0714111328125, 0.1458740234375, 0.20751953125, 0.1767578125, 0.203857421875, 0.185791015625, 0.2357177734375, 0.0665283203125, 0.05242919921875, 0.173583984375, 0.0787353515625, 0.03802490234375, 0.2119140625, 0.199707031...
embed
71042668_c0
71042668
fsharp
0
Title: Better NLog logger name for F# modules and GetCurrentClassLogger() Problem title: Better NLog logger name for F# modules and GetCurrentClassLogger() Tags: nlog, f%23 Problem: Better NLog logger name for F# modules and GetCurrentClassLogger() When I include NLog.LogManager.GetCurrentClassLogger() at the top of my...
Better NLog logger name for F# modules and GetCurrentClassLogger() Better NLog logger name for F# modules and GetCurrentClassLogger() nlog f%23 Better NLog GetCurrentClassLogger NLog.LogManager.GetCurrentClassLogger StartupCode$NLogTest Program NLogTest.TestModule Program.fs NLogTest TestClass _.Run logger.Info Inside ...
[ -0.01422119140625, 0.0206298828125, -0.00032806396484375, 0.018798828125, 0.0111083984375, 0.00927734375, 0.00335693359375, 0.0040283203125, -0.0213623046875, -0.025390625, 0.004791259765625, 0.017578125, -0.01318359375, -0.0169677734375, 0.005340576171875, -0.016845703125, -0.012756...
[ 177154, 541, 113972, 73088, 42, 9351, 100, 563, 4904, 88996, 7, 136, 20779, 441, 474, 15724, 140803, 1505, 16, 653, 4867, 1238, 3949, 3742, 12662, 33730, 5, 724, 126, 153076, 114211, 39102, 1663, 111337, 7663, 91616, 8782, 17447, 8647, 16...
[ 0.23291015625, 0.172607421875, 0.289306640625, 0.2181396484375, 0.1768798828125, 0.175048828125, 0.0165863037109375, 0.12841796875, 0.220458984375, 0.21435546875, 0.016845703125, 0.033294677734375, 0.05877685546875, 0.0166778564453125, 0.0908203125, 0.09820556640625, 0.201904296875, ...
embed
79403919_c1
79403919
fsharp
1
I will need to add code to remove the attached events for loading and closing of the Settings window, but I don't believe that should have any effect on this question). let subscribeToClosingEvent dispatch = let p = EventPublisher.Instance p.Publish.Add (fun _ -> dispatch NavigateToMainModel) let init () : Model * Cmd<...
I will need to add code to remove the attached events for loading and closing of the Settings window, but I don't believe that should have any effect on this question). let subscribeToClosingEvent dispatch = let p = EventPublisher.Instance p.Publish.Add (fun _ -> dispatch NavigateToMainModel) let init () : Model * Cmd<...
[ -0.0164794921875, 0.050537109375, 0.0022735595703125, 0.009765625, -0.004638671875, 0.003814697265625, -0.0052490234375, -0.026611328125, 0.0218505859375, -0.049072265625, -0.0091552734375, -0.0034027099609375, -0.0074462890625, 0.0235595703125, 0.0184326171875, 0.00726318359375, -0....
[ 1221, 3871, 15190, 18151, 87388, 220642, 47353, 72367, 214, 136, 20450, 6953, 105548, 76896, 18822, 21543, 2633, 1614, 34601, 7763, 441, 2400, 192134, 58580, 257, 915, 36943, 143145, 15227, 116071, 4028, 16498, 65290, 2182, 168793, 140290, 217,...
[ 0.002105712890625, 0.08306884765625, 0.13427734375, 0.211181640625, 0.2008056640625, 0.2010498046875, 0.198974609375, 0.122314453125, 0.10296630859375, 0.024932861328125, 0.168212890625, 0.0924072265625, 0.259765625, 0.147216796875, 0.031890869140625, 0.1099853515625, 0.0818481445312...
embed
9428730_c0
9428730
fsharp
0
Title: FSharpList&lt;string&gt; to IList&lt;string&gt; to XML Problem title: FSharpList&lt;string&gt; to IList&lt;string&gt; to XML Tags: c%23-to-f%23, c%23, f%23 Problem: FSharpList to IList to XML Using a code to convert IList<T> to an FSharpList<T> then write the list values to a XML. public static class Interop { p...
FSharpList&lt;string&gt; to IList&lt;string&gt; to XML FSharpList&lt;string&gt; to IList&lt;string&gt; to XML c%23-to-f%23 c%23 f%23 System.NullReferenceException FSharpList IList XML Interop ToFSharpList CreateFSharpList input.Count Empty Cons fsharp_distinct distinctWords.ToFSharpList distinct_without_stopwords Modul...
[ 0.00183868408203125, 0.025390625, -0.005126953125, -0.0244140625, -0.00057220458984375, 0.00830078125, -0.00909423828125, -0.0106201171875, 0.00113677978515625, 0.00970458984375, 0.0299072265625, 0.01025390625, 0.028076171875, 0.00982666015625, 0.00189208984375, -0.0045166015625, 0.0...
[ 93774, 3467, 254, 154663, 91693, 47, 87, 92537, 27495, 188, 420, 3742, 12353, 18444, 1181, 4332, 69988, 19279, 63928, 5337, 2146, 717, 107730, 108210, 31678, 39215, 1238, 89280, 38893, 117781, 164805, 7763, 6056, 19111, 47416, 63014, 3365, 12...
[ 0.10009765625, 0.1781005859375, 0.13818359375, 0.2479248046875, 0.140625, 0.0867919921875, 0.1173095703125, 0.2161865234375, 0.039642333984375, 0.06884765625, 0.013214111328125, 0.0499267578125, 0.1090087890625, 0.12548828125, 0.1015625, 0.091064453125, 0.213134765625, 0.0424804687...
embed
54970180_c1
54970180
fsharp
1
to whatever makes sense. *) let urlUpdate (result:Option<Page>) model = match result with | Some page -> { model with page = page; query = "" }, [] | None -> Browser.console.error("Error parsing url") ( model, Navigation.modifyUrl (toHash model.page) ) let init result = urlUpdate result { page = Home; query = ""; cach...
to whatever makes sense. *) let urlUpdate (result:Option<Page>) model = match result with | Some page -> { model with page = page; query = "" }, [] | None -> Browser.console.error("Error parsing url") ( model, Navigation.modifyUrl (toHash model.page) ) let init result = urlUpdate result { page = Home; query = ""; cach...
[ -0.018310546875, 0.0093994140625, 0.01263427734375, 0.0126953125, 0.024169921875, 0.00537109375, -0.024658203125, -0.009521484375, 0.0128173828125, -0.036376953125, -0.01458740234375, -0.0269775390625, -0.01251220703125, 0.002410888671875, 0.02587890625, -0.00732421875, -0.0067443847...
[ 47, 89778, 30482, 10422, 2633, 25002, 152872, 2109, 7136, 39029, 1363, 147101, 3299, 14858, 16750, 678, 9191, 41, 86976, 40777, 188800, 18468, 31611, 366, 6953, 201940, 13415, 40383, 48743, 188, 6495, 1495, 22469, 217, 2005, 82365, 42719, 335...
[ 0.105224609375, 0.10546875, 0.0199127197265625, 0.1156005859375, 0.0975341796875, 0.1656494140625, 0.260009765625, 0.05047607421875, 0.1160888671875, 0.1361083984375, 0.040130615234375, 0.0994873046875, 0.236083984375, 0.123779296875, 0.1602783203125, 0.031982421875, 0.10247802734375...
embed
1874940_c0
1874940
fsharp
0
Title: Optimal representation of expressions in F# Problem title: Optimal representation of expressions in F# Tags: discriminated-union, f%23, visitor-pattern, expression-trees Problem: Optimal representation of expressions in F# I'm working on a library to generate SQL from LINQ expressions (basically a modified subse...
Optimal representation of expressions in F# Optimal representation of expressions in F# discriminated-union f%23 visitor-pattern expression-trees Optimal SqlSourceExpression Table Join JoinType SqlExpression Source OrderBy SortDirection Select SqlOrderByExpression Optimal representation of expressions in F# I'm working...
[ 0.011474609375, 0.01544189453125, 0.00872802734375, 0.003021240234375, -0.0250244140625, 0.0028076171875, -0.02978515625, -0.01385498046875, 0.01202392578125, -0.0213623046875, 0.0022735595703125, 0.000690460205078125, 0.00811767578125, -0.0059814453125, -0.0177001953125, 0.01940917968...
[ 43938, 289, 18811, 125195, 7, 563, 4904, 55970, 87046, 1238, 3742, 9105, 1290, 4453, 22766, 2921, 99247, 211235, 178752, 112997, 113053, 196707, 77641, 81206, 75358, 53666, 184911, 51620, 143045, 56, 23, 35773, 139392, 80866, 1295, 46610, 2737,...
[ 0.1729736328125, 0.03460693359375, 0.1944580078125, 0.2462158203125, 0.0294189453125, 0.1324462890625, 0.222900390625, 0.1976318359375, 0.1124267578125, 0.058380126953125, 0.053192138671875, 0.13134765625, 0.0750732421875, 0.08343505859375, 0.0207366943359375, 0.1273193359375, 0.1339...
embed
23160217_c0
23160217
fsharp
0
Title: Optimising F# answer for Euler #4 Problem title: Optimising F# answer for Euler #4 Tags: algorithm, performance, f%23 Problem: Optimising F# answer for Euler #4 I have recently begun learning F#. Hoping to use it to perform any mathematically heavy algorithms in C# applications and to broaden my knowledge I have...
Optimising F# answer for Euler #4 Optimising F# answer for Euler #4 algorithm performance f%23 Optimising Euler IsPalindrome x:int x.ToString ToCharArray Array.rev euler4 i..999 Seq.filter Seq.max Largest Some None None.Value Optimising F# answer for Euler #4 I have recently begun learning F#. Hoping to use it to perfo...
[ -0.0191650390625, 0.0135498046875, 0.000022411346435546875, -0.006072998046875, -0.00872802734375, 0.012939453125, 0.022705078125, -0.0322265625, -0.0040283203125, -0.02685546875, 0.01153564453125, 0.028564453125, -0.020263671875, -0.006805419921875, 0.00445556640625, -0.00145721435546...
[ 43938, 72219, 563, 4904, 35166, 100, 5177, 603, 468, 617, 234873, 23718, 1238, 3949, 3742, 2071, 81841, 73, 102851, 1022, 4288, 7763, 71713, 717, 84068, 7614, 7092, 69253, 65381, 1175, 17, 65040, 503, 864, 120337, 24084, 181268, 31384, 438,...
[ 0.1669921875, 0.1319580078125, 0.120361328125, 0.21484375, 0.15576171875, 0.0290374755859375, 0.1600341796875, 0.20703125, 0.0299530029296875, 0.206787109375, 0.187255859375, 0.1468505859375, 0.08563232421875, 0.04095458984375, 0.11962890625, 0.1273193359375, 0.1453857421875, 0.084...
embed
18341505_c0
18341505
fsharp
0
Title: Bitmap.SetPixel acts slower in f# than in c# Problem title: Bitmap.SetPixel acts slower in f# than in c# Tags: f%23, c%23 Problem: Bitmap.SetPixel acts slower in f# than in c# The f# code goes literally 500 times slower than the c# code. What am I doing wrong? I tried to make the code basically the same for both...
Bitmap.SetPixel acts slower in f# than in c# Bitmap.SetPixel acts slower in f# than in c# f%23 c%23 System.Drawing Bitmap.SetPixel Imaging Image z.Pixels Array2D.create Color.White z.Width z.Pixels.GetLength z.Height z.Save filename:string Bitmap bitmap.Width-1 bitmap.Height-1 bitmap.Save bob.Save Users White Desktop T...
[ 0.0023651123046875, 0.019287109375, 0.01300048828125, 0.010986328125, -0.00113677978515625, -0.006378173828125, -0.0203857421875, 0.0037078857421875, -0.0015869140625, 0.0093994140625, 0.0009765625, 0.033203125, -0.005157470703125, -0.01324462890625, -0.0172119140625, -0.00482177734375...
[ 27774, 62346, 294, 126, 29348, 52851, 27992, 72803, 56, 23, 1238, 4904, 3501, 501, 5, 3742, 12353, 219, 3370, 22710, 97, 69253, 397, 7612, 51193, 173473, 449, 5464, 11435, 11627, 91693, 4785, 272, 21895, 53400, 22392, 141423, 8647, 216960, ...
[ 0.1431884765625, 0.25244140625, 0.15380859375, 0.1868896484375, 0.1866455078125, 0.22509765625, 0.1326904296875, 0.218994140625, 0.1351318359375, 0.05438232421875, 0.140869140625, 0.2244873046875, 0.06414794921875, 0.060943603515625, 0.01385498046875, 0.06988525390625, 0.077209472656...
embed
40725851_c0
40725851
fsharp
0
Title: How to make a lazy computational workflow? Problem title: How to make a lazy computational workflow? Tags: f%23 Problem: How to make a lazy computational workflow? I'm trying to write a computational workflow which would allow a computation which can produce side effects like log or sleep and a return value A us...
How to make a lazy computational workflow? How to make a lazy computational workflow? f%23 How Effect Log Sleep Computation Lazy List.append ComputeBuilder this.Zero this.Return this.ReturnFrom f.Force this.Bind this.Delay this.Run x.Force Error FS0001 How to make a lazy computational workflow? I'm trying to write a co...
[ -0.028076171875, 0.0205078125, 0.0064697265625, 0.01300048828125, 0.0029296875, 0.022705078125, 0.0048828125, 0.003997802734375, 0.01055908203125, -0.037841796875, -0.007110595703125, 0.0235595703125, -0.0040283203125, 0.01416015625, 0.0068359375, 0.004119873046875, 0.002777099609375...
[ 11249, 47, 3249, 10, 21, 3285, 181135, 43315, 4488, 118664, 1238, 3742, 129297, 13146, 132140, 159415, 2320, 239, 32036, 9007, 3611, 13, 121137, 56, 903, 1511, 4036, 987, 168407, 18537, 7250, 4657, 5259, 163321, 1022, 212059, 93774, 188735, ...
[ 0.10003662109375, 0.08251953125, 0.1339111328125, 0.07769775390625, 0.1798095703125, 0.23828125, 0.1732177734375, 0.1317138671875, 0.109619140625, 0.24853515625, 0.05645751953125, 0.07342529296875, 0.1754150390625, 0.1708984375, 0.2376708984375, 0.1763916015625, 0.010162353515625, ...
embed
6994919_c0
6994919
fsharp
0
Title: using dynamic type as argument to it&#x27;s own basetype Problem title: using dynamic type as argument to it&#x27;s own basetype Tags: c%23, .net, reflection.emit, f%23 Problem: using dynamic type as argument to it's own basetype I'm trying to write some code generating a type at runtime. I have an interface I n...
using dynamic type as argument to it&#x27;s own basetype using dynamic type as argument to it&#x27;s own basetype c%23 .net reflection.emit f%23 dynamic IFoo MyProperty TypeBuilder mb.DefineType TypeAttributes.Public SomeType ISelf Prop SelfBase FooBar Bar Prop.NonInterfaceMethod NonInterfaceMethod reflection.emit usin...
[ 0.016845703125, 0.000629425048828125, -0.00286865234375, 0.0167236328125, -0.006805419921875, -0.0032958984375, 0.0037841796875, 0.027587890625, -0.00946044921875, -0.038330078125, -0.009033203125, -0.00555419921875, -0.018798828125, 0.0146484375, 0.01202392578125, 0.003997802734375, ...
[ 17368, 84079, 10644, 237, 10750, 47, 3768, 10002, 3647, 50986, 3742, 1179, 44961, 1830, 195, 55449, 16635, 2646, 60457, 121137, 187423, 196707, 191145, 179947, 31384, 17463, 43796, 55347, 63473, 9572, 25267, 3253, 33022, 18151, 12663, 11675, 60...
[ 0.0618896484375, 0.2271728515625, 0.26318359375, 0.034881591796875, 0.211669921875, 0.02117919921875, 0.0379638671875, 0.050018310546875, 0.1361083984375, 0.2237548828125, 0.034423828125, 0.107421875, 0.1658935546875, 0.04022216796875, 0.043548583984375, 0.031524658203125, 0.17980957...
embed
64092067_c0
64092067
fsharp
0
Title: unclear about a type error; the ide knows the type, the compiler doesn&#x27;t, in F# Problem title: unclear about a type error; the ide knows the type, the compiler doesn&#x27;t, in F# Tags: f%23, casting, types Problem: unclear about a type error; the ide knows the type, the compiler doesn't, in F# I have the f...
unclear about a type error; the ide knows the type, the compiler doesn&#x27;t, in F# unclear about a type error; the ide knows the type, the compiler doesn&#x27;t, in F# f%23 casting types this.GetDocumentHandlers Map vnd.openxmlformats-officedocument.spreadsheetml.sheet MemoryStream FS0041 Known Candidates core.GetDoc...
[ -0.00994873046875, 0.0179443359375, -0.001251220703125, -0.00885009765625, -0.007781982421875, -0.01202392578125, -0.02685546875, -0.0174560546875, -0.006256103515625, -0.00982666015625, 0.01031494140625, -0.009033203125, -0.00133514404296875, 0.0145263671875, 0.01287841796875, -0.0194...
[ 51, 119488, 1672, 10644, 18499, 70, 5415, 93002, 4, 9969, 34759, 22027, 3768, 18, 563, 4904, 1238, 3742, 176050, 52895, 903, 239469, 135679, 603, 42719, 81, 2208, 59636, 131492, 51727, 65024, 117432, 7816, 7237, 172681, 115061, 93774, 135401,...
[ 0.07598876953125, 0.23291015625, 0.09051513671875, 0.232177734375, 0.2095947265625, 0.032867431640625, 0.216064453125, 0.1817626953125, 0.0279541015625, 0.1505126953125, 0.140869140625, 0.05633544921875, 0.0504150390625, 0.087158203125, 0.1077880859375, 0.1893310546875, 0.02264404296...
embed
10573471_c0
10573471
fsharp
0
Title: F# lambda expression with multiple statements Problem title: F# lambda expression with multiple statements Tags: f%23 Problem: F# lambda expression with multiple statements I'm learning F# and finding I'm writing things that work but which I don't entirely understand. Here's an example let processArgs args = mat...
F# lambda expression with multiple statements F# lambda expression with multiple statements f%23 String.Join EntryPoint args:string List.iter Console.ResetColor Console.CursorVisible F# lambda expression with multiple statements I'm learning F# and finding I'm writing things that work but which I don't entirely underst...
[ -0.000461578369140625, 0.0040283203125, -0.00958251953125, 0.00830078125, -0.00634765625, -0.0025177001953125, 0.0274658203125, 0.007415771484375, 0.01104736328125, 0.0123291015625, 0.004241943359375, -0.02001953125, -0.006805419921875, 0.0006103515625, -0.00244140625, -0.0000753402709...
[ 563, 4904, 21, 6492, 85, 125195, 48716, 63805, 1238, 3949, 3742, 23351, 16604, 357, 15123, 147534, 79459, 91693, 32036, 16840, 1657, 40777, 4332, 3509, 1484, 6609, 55356, 52080, 32562, 8966, 4488, 28219, 27781, 150624, 2046, 2822, 80973, 5368...
[ 0.142578125, 0.177978515625, 0.05859375, 0.1624755859375, 0.091552734375, 0.1875, 0.1680908203125, 0.21142578125, 0.1243896484375, 0.038482666015625, 0.1751708984375, 0.10540771484375, 0.1163330078125, 0.045379638671875, 0.1312255859375, 0.1148681640625, 0.0963134765625, 0.11535644...
embed
295336_c0
295336
fsharp
0
Title: Calculating a moving average in F# Problem title: Calculating a moving average in F# Tags: statistics, queue, algorithm, f%23 Problem: Calculating a moving average in F# I'm still working on groking the F# thing - trying to work out how to 'think' in F# rather than just translating from other languages I know. I...
Calculating a moving average in F# Calculating a moving average in F# statistics queue algorithm f%23 Calculating Immutable Length Fifo Empty q.IsEmpty q.xs q.rxs q.Enqueue x::q.rxs q.Length List.length q.Take fifo.Take List.rev Take y::ys List List.hd List.tl MovingAverage len:int lst:float q:Fifo List.sum List.splita...
[ 0.018310546875, -0.00439453125, 0.0216064453125, 0.006500244140625, -0.00439453125, -0.0181884765625, 0.013427734375, 0.002288818359375, 0.01116943359375, -0.029052734375, 0.00738525390625, -0.004302978515625, 0.01904296875, -0.018310546875, -0.00830078125, 0.006927490234375, 0.00439...
[ 212467, 98567, 83080, 23, 563, 4904, 80835, 41, 13388, 234873, 1238, 3742, 561, 22819, 77554, 3698, 3584, 31678, 8096, 29598, 134332, 939, 425, 67179, 32036, 51654, 809, 65381, 46673, 4778, 2501, 6496, 814, 3098, 4288, 271, 52347, 6159, 118...
[ 0.1815185546875, 0.20458984375, 0.2412109375, 0.01416015625, 0.1353759765625, 0.2344970703125, 0.1207275390625, 0.1343994140625, 0.144287109375, 0.1165771484375, 0.048858642578125, 0.08673095703125, 0.082275390625, 0.06719970703125, 0.0970458984375, 0.15771484375, 0.22412109375, 0....
embed
62287765_c0
62287765
fsharp
0
Title: How to serialize / deserialize this AWS API with F#? Problem title: How to serialize / deserialize this AWS API with F#? Tags: f%23, fleece, json, serialization Problem: How to serialize / deserialize this AWS API with F#? AWS has the following API for DNS records: { "ResourceRecordSets": [ { "Name": "domain.tld...
How to serialize / deserialize this AWS API with F#? How to serialize / deserialize this AWS API with F#? f%23 fleece json serialization How AWS API ResourceRecordSets Name domain.tld ResourceRecords Value ns-583.awsdns-08.net ns-1176.awsdns-19.org TTL Type AliasTarget DNSName hello.cloudfront.net EvaluateTargetHealth ...
[ -0.01806640625, 0.01007080078125, 0.0000762939453125, -0.0213623046875, 0.0004520416259765625, 0.00872802734375, -0.004180908203125, 0.001708984375, -0.00323486328125, 0.053466796875, 0.0201416015625, 0.002471923828125, 0.01348876953125, -0.0047607421875, 0.00799560546875, 0.0019836425...
[ 11249, 47, 35686, 20650, 248, 224, 25435, 119066, 903, 62, 52143, 61687, 678, 563, 4904, 1238, 3949, 3742, 18738, 32405, 1647, 1681, 47691, 152055, 4332, 32271, 294, 7831, 15757, 77758, 7344, 190060, 1779, 10342, 17168, 15519, 91685, 11835, ...
[ 0.0986328125, 0.03900146484375, 0.2322998046875, 0.1104736328125, 0.127197265625, 0.188232421875, 0.2283935546875, 0.1109619140625, 0.104736328125, 0.0899658203125, 0.1981201171875, 0.2255859375, 0.084716796875, 0.131103515625, 0.210693359375, 0.101318359375, 0.0333251953125, 0.182...
embed
27651351_c0
27651351
fsharp
0
Title: Simplifying nested multiplications in a math expression Problem title: Simplifying nested multiplications in a math expression Tags: f%23, symbolic-math Problem: Simplifying nested multiplications in a math expression I have the following union as my AST for a symbolic math expression: type Expr = | Const of flo...
Simplifying nested multiplications in a math expression Simplifying nested multiplications in a math expression f%23 symbolic-math Simplifying Expr Sum Mul Pow Sin Cos expr1 expr2 expr3 Simplifying nested multiplications in a math expression I have the following union as my AST for a symbolic math expression: The Probl...
[ -0.022216796875, -0.0004673004150390625, 0.0184326171875, 0.022216796875, 0.02001953125, 0.0106201171875, -0.01165771484375, 0.0037841796875, 0.0255126953125, -0.0157470703125, -0.00116729736328125, -0.0013427734375, 0.0218505859375, 0.006744384765625, 0.00341796875, 0.00897216796875, ...
[ 55331, 141, 151138, 8512, 71, 127664, 5256, 48909, 125195, 1238, 3949, 3742, 128201, 238, 125458, 60075, 42, 36335, 21442, 53982, 6610, 50939, 14700, 418, 304, 363, 25632, 69941, 48963, 15649, 31577, 112892, 18929, 50657, 83613, 10461, 21320, ...
[ 0.1390380859375, 0.140869140625, 0.08935546875, 0.2626953125, 0.11962890625, 0.19189453125, 0.05133056640625, 0.098388671875, 0.2027587890625, 0.043426513671875, 0.0231475830078125, 0.1241455078125, 0.19482421875, 0.02630615234375, 0.0809326171875, 0.1175537109375, 0.1162109375, 0....
embed
48531723_c0
48531723
fsharp
0
Title: Erroneous FS0064 warning? This construct causes code to be less generic than indicated by the type annotations Problem title: Erroneous FS0064 warning? This construct causes code to be less generic than indicated by the type annotations Tags: f%23 Problem: Erroneous FS0064 warning? This construct causes code to ...
Erroneous FS0064 warning? This construct causes code to be less generic than indicated by the type annotations Erroneous FS0064 warning? This construct causes code to be less generic than indicated by the type annotations f%23 Erroneous FS0064 SortedSet City System System.Collections.Generic ExternalComparer IComparabl...
[ 0.007080078125, 0.00640869140625, 0.00909423828125, -0.0198974609375, 0.00665283203125, 0.004730224609375, -0.01483154296875, -0.00823974609375, -0.01165771484375, 0.006500244140625, -0.0003948211669921875, 0.01007080078125, 0.00762939453125, -0.01153564453125, 0.0108642578125, -0.0057...
[ 1004, 86345, 10821, 93774, 7049, 13307, 1631, 592, 64549, 113660, 18151, 186, 40715, 189534, 3501, 117414, 10644, 8668, 22062, 3742, 53666, 294, 126, 6406, 12353, 78457, 8996, 135932, 141070, 108161, 147, 87, 56, 903, 1046, 5550, 18507, 17777...
[ 0.0863037109375, 0.142333984375, 0.004974365234375, 0.1785888671875, 0.1309814453125, 0.220947265625, 0.1336669921875, 0.0447998046875, 0.1474609375, 0.047760009765625, 0.133544921875, 0.00653076171875, 0.1348876953125, 0.1826171875, 0.00567626953125, 0.0626220703125, 0.11962890625, ...
embed
2945176_c0
2945176
fsharp
0
Title: Confused over behavior of List.mapi in F# Problem title: Confused over behavior of List.mapi in F# Tags: functional-programming, f%23, collections Problem: Confused over behavior of List.mapi in F# I am building some equations in F#, and when working on my polynomial class I found some odd behavior using List.ma...
Confused over behavior of List.mapi in F# Confused over behavior of List.mapi in F# functional-programming f%23 collections Confused List.mapi List Polynomial coefficients:float Array.empty self.Coefficients v1:Polynomial v2:Polynomial List.map2 List.ofArray v1.Coefficients v2.Coefficients v1.Coefficients.Length v2.Coe...
[ -0.01458740234375, 0.0213623046875, 0.00799560546875, -0.0120849609375, -0.019287109375, 0.0086669921875, 0.0098876953125, -0.0014495849609375, 0.018310546875, -0.0093994140625, 0.0255126953125, 0.000644683837890625, 0.0002460479736328125, 0.0089111328125, -0.0019378662109375, -0.01116...
[ 106161, 33740, 123166, 32036, 5, 192, 1434, 563, 4904, 123309, 28966, 1238, 3742, 42486, 63306, 1687, 552, 4240, 11044, 52347, 257, 69253, 53, 33548, 15970, 10625, 81, 7192, 538, 304, 62346, 4390, 7092, 5442, 449, 23, 33976, 13722, 20697, ...
[ 0.119384765625, 0.0828857421875, 0.1607666015625, 0.2490234375, 0.0322265625, 0.150390625, 0.250732421875, 0.103515625, 0.2022705078125, 0.09326171875, 0.05462646484375, 0.03656005859375, 0.118896484375, 0.1685791015625, 0.0985107421875, 0.1661376953125, 0.093017578125, 0.079589843...
embed
15746230_c0
15746230
fsharp
0
Title: why do continuations avoid stackoverflow? Problem title: why do continuations avoid stackoverflow? Tags: tail-recursion, f%23, continuation-passing Problem: why do continuations avoid stackoverflow? I've been trying to understand continuations / CPS and from what I can gather it builds up a delayed computation, ...
why do continuations avoid stackoverflow? why do continuations avoid stackoverflow? tail-recursion f%23 continuation-passing list1 h::t why do continuations avoid stackoverflow? I've been trying to understand continuations / CPS and from what I can gather it builds up a delayed computation, once we get to the end of th...
[ -0.0118408203125, -0.000579833984375, 0.01007080078125, -0.017822265625, 0.002899169921875, 0.0048828125, 0.004425048828125, 0.0030975341796875, 0.01458740234375, -0.0181884765625, -0.0074462890625, -0.01031494140625, 0.01416015625, 0.00946044921875, 0.035888671875, 0.004638671875, 0...
[ 15400, 54, 9454, 5256, 71864, 177261, 5465, 118664, 46741, 107, 48650, 1830, 1238, 3742, 1363, 13409, 5303, 28219, 313, 9059, 45367, 8, 5259, 181135, 3564, 23253, 2704, 56282, 60223, 33976, 1257, 8512, 32354, 24, 5844, 51515, 89536, 44691, ...
[ 0.131103515625, 0.0233154296875, 0.24755859375, 0.1092529296875, 0.20458984375, 0.1785888671875, 0.1424560546875, 0.22216796875, 0.2066650390625, 0.048583984375, 0.15185546875, 0.05377197265625, 0.005279541015625, 0.05224609375, 0.05303955078125, 0.0989990234375, 0.1383056640625, 0...
embed
2899665_c1
2899665
fsharp
1
ingFrame" TargetType="navigation:Frame"> <Border Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"> <t...
ingFrame" TargetType="navigation:Frame"> <Border Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"> <t...
[ 0.01348876953125, 0.0218505859375, -0.022705078125, 0.00506591796875, -0.002044677734375, -0.01446533203125, -0.00921630859375, -0.0201416015625, 0.0213623046875, -0.029296875, 0.008056640625, -0.0289306640625, -0.021728515625, -0.0169677734375, 0.015625, 0.00787353515625, -0.0058288...
[ 3305, 108386, 282, 160017, 196707, 76, 24299, 2320, 4426, 571, 80596, 26828, 64330, 159065, 19309, 16882, 33770, 48606, 56, 86532, 117177, 7432, 112639, 1746, 25352, 1446, 89110, 9488, 62624, 14, 1363, 214, 175904, 70870, 58148, 33346, 1342, ...
[ 0.19580078125, 0.231689453125, 0.1512451171875, 0.248046875, 0.1944580078125, 0.07110595703125, 0.23388671875, 0.051544189453125, 0.001129150390625, 0.05889892578125, 0.14599609375, 0.068603515625, 0.16259765625, 0.1280517578125, 0.0975341796875, 0.129150390625, 0.09912109375, 0.18...
embed
65172496_c0
65172496
fsharp
0
Title: Ionide VS Code consistently seeing errors that don&#x27;t occur when running dotnet build? Problem title: Ionide VS Code consistently seeing errors that don&#x27;t occur when running dotnet build? Tags: f%23, ionide Problem: Ionide VS Code consistently seeing errors that don't occur when running dotnet build? I'...
Ionide VS Code consistently seeing errors that don&#x27;t occur when running dotnet build? Ionide VS Code consistently seeing errors that don&#x27;t occur when running dotnet build? f%23 ionide Ionide PackageReference Include FSharp.Core Version Ionide VS Code consistently seeing errors that don't occur when running do...
[ -0.01019287109375, 0.027099609375, -0.0032501220703125, -0.0054931640625, -0.007354736328125, 0.00421142578125, -0.007110595703125, 0.01513671875, -0.00958251953125, 0.01611328125, -0.001373291015625, 0.00043487548828125, 0.001708984375, 0.00927734375, 0.0145263671875, 0.0167236328125,...
[ 37859, 2506, 44160, 28864, 74729, 86681, 18499, 3768, 18, 74918, 51042, 20633, 1179, 45367, 2301, 3229, 45339, 56607, 69988, 93774, 3467, 254, 50886, 40647, 98, 3773, 17368, 17777, 31365, 45151, 12147, 37348, 13416, 959, 11675, 56776, 391, 23...
[ 0.2398681640625, 0.255126953125, 0.24658203125, 0.2174072265625, 0.189697265625, 0.130615234375, 0.215576171875, 0.012115478515625, 0.1038818359375, 0.10888671875, 0.1129150390625, 0.17431640625, 0.1973876953125, 0.1859130859375, 0.033111572265625, 0.003753662109375, 0.185546875, 0...
embed
28153340_c0
28153340
fsharp
0
Title: UdpClient receives packets to 127.0.0.1 but fails to get them for interface IP address Problem title: UdpClient receives packets to 127.0.0.1 but fails to get them for interface IP address Tags: sockets, .net, f%23, udpclient Problem: UdpClient receives packets to 127.0.0.1 but fails to get them for interface IP...
UdpClient receives packets to 127.0.0.1 but fails to get them for interface IP address UdpClient receives packets to 127.0.0.1 but fails to get them for interface IP address sockets .net f%23 udpclient UdpClient local:IPEndPoint Async.Parallel client.ExclusiveAddressUse client.Client.SetSocketOption SocketOptionLevel.S...
[ -0.006256103515625, 0.00732421875, -0.0024261474609375, 0.03271484375, 0.004791259765625, -0.01556396484375, 0.0016021728515625, 0.020263671875, 0.006011962890625, -0.00909423828125, 0.0164794921875, 0.03662109375, 0.007049560546875, -0.004302978515625, 0.021240234375, -0.0004844665527...
[ 10445, 254, 441, 150, 2517, 53299, 43824, 7831, 47, 427, 129884, 102014, 1284, 35782, 2046, 100, 101758, 8021, 29823, 221, 27853, 1179, 1238, 3949, 3742, 1872, 222978, 4000, 10931, 152378, 147534, 12654, 1229, 23282, 67158, 161007, 39029, 725...
[ 0.1708984375, 0.1744384765625, 0.0782470703125, 0.203125, 0.130859375, 0.1104736328125, 0.14404296875, 0.051361083984375, 0.04998779296875, 0.1253662109375, 0.2061767578125, 0.208251953125, 0.06927490234375, 0.1641845703125, 0.0982666015625, 0.0195770263671875, 0.21337890625, 0.147...
embed
75922303_c0
75922303
fsharp
0
Title: Web scraping of links to pdf files does not work Problem title: Web scraping of links to pdf files does not work Tags: .net, web-scraping, html, f%23 Problem: Web scraping of links to pdf files does not work I have tried to scrape links to pdf files ( https://kodis-files.s3 ..... ) from a webpage, but without an...
Web scraping of links to pdf files does not work Web scraping of links to pdf files does not work .net web-scraping html f%23 Web kodis-files.s3 url0 www.kodis.cz document0 HtmlDocument.Load document0.CssSelect __next List.iter item.Descendants Seq.iter item.AttributeValue document.Descendants Seq.choose x.TryGetAttrib...
[ 0.0018768310546875, 0.0223388671875, -0.017578125, -0.01336669921875, -0.005645751953125, -0.00445556640625, -0.0026702880859375, 0.01336669921875, -0.01116943359375, -0.00982666015625, -0.0025482177734375, -0.0238037109375, -0.014404296875, -0.01239013671875, 0.0245361328125, -0.00747...
[ 4002, 120948, 214, 111, 22317, 47, 26198, 102158, 14602, 959, 4488, 1179, 1467, 7, 15182, 10366, 7693, 1238, 3742, 101705, 9, 29822, 5, 363, 6, 25002, 2389, 265, 3827, 1863, 12937, 572, 18, 239469, 712, 441, 294, 100184, 86, 29062, 3203...
[ 0.13671875, 0.2393798828125, 0.1064453125, 0.049530029296875, 0.1785888671875, 0.09521484375, 0.214111328125, 0.1392822265625, 0.020111083984375, 0.0904541015625, 0.1319580078125, 0.117431640625, 0.1163330078125, 0.13037109375, 0.17626953125, 0.1119384765625, 0.1441650390625, 0.002...
embed
30204383_c1
30204383
fsharp
1
2 times slower than the mutable counterpart above. A higher factor than I had imagined. Attempt 2: Seq.mapi Since a string is already a sequence (ok, there's an IEnumerable<char> wrapper) I thought to utilize that with existing sequence functions from the Seq module, hoping that would perhaps bring better performance: ...
2 times slower than the mutable counterpart above. A higher factor than I had imagined. Attempt 2: Seq.mapi Since a string is already a sequence (ok, there's an IEnumerable<char> wrapper) I thought to utilize that with existing sequence functions from the Seq module, hoping that would perhaps bring better performance: ...
[ -0.02099609375, 0.0032501220703125, -0.0054931640625, -0.0030059814453125, -0.0032958984375, -0.0038299560546875, 0.005584716796875, -0.002716064453125, 0.004486083984375, -0.0289306640625, -0.004302978515625, 0.0130615234375, 0.0096435546875, 0.0157470703125, 0.005157470703125, 0.0147...
[ 116, 20028, 72803, 56, 842, 22819, 105416, 17365, 77546, 31461, 28987, 1913, 34224, 18, 15573, 503, 864, 192, 1434, 79315, 21771, 40, 944, 3956, 75536, 2606, 2886, 9254, 137565, 1264, 17569, 121876, 144573, 32354, 88996, 156377, 11522, 23718,...
[ 0.04266357421875, 0.124755859375, 0.2117919921875, 0.1378173828125, 0.126220703125, 0.200927734375, 0.0086669921875, 0.072998046875, 0.06298828125, 0.178466796875, 0.041015625, 0.013092041015625, 0.185791015625, 0.0150299072265625, 0.0221710205078125, 0.111083984375, 0.2359619140625,...
embed
53797088_c0
53797088
fsharp
0
Title: F#: Why does this code throws a System.IO.FileNotFoundException: &#x27;Could not load file or assembly &#x27;System.Runtime, Version=4.1.2.0, ...&#x27; Problem title: F#: Why does this code throws a System.IO.FileNotFoundException: &#x27;Could not load file or assembly &#x27;System.Runtime, Version=4.1.2.0, ...&...
F#: Why does this code throws a System.IO.FileNotFoundException: &#x27;Could not load file or assembly &#x27;System.Runtime, Version=4.1.2.0, ...&#x27; F#: Why does this code throws a System.IO.FileNotFoundException: &#x27;Could not load file or assembly &#x27;System.Runtime, Version=4.1.2.0, ...&#x27; f%23 .net-standa...
[ -0.00799560546875, -0.004119873046875, -0.01019287109375, -0.0038604736328125, -0.0059814453125, -0.01611328125, -0.0027313232421875, 0.00787353515625, -0.0033416748046875, -0.0223388671875, 0.01361083984375, -0.003509521484375, -0.0028533935546875, 0.002716064453125, 0.016357421875, -...
[ 563, 4904, 12, 44084, 903, 18151, 104250, 12353, 17780, 174350, 122116, 27591, 7030, 19279, 63928, 3768, 52366, 959, 72367, 11435, 707, 89845, 38526, 84293, 163321, 6032, 40647, 107947, 22892, 73011, 1179, 66589, 11565, 179642, 313, 191147, 636...
[ 0.163330078125, 0.237548828125, 0.027618408203125, 0.1298828125, 0.032958984375, 0.1463623046875, 0.1256103515625, 0.1551513671875, 0.1751708984375, 0.2003173828125, 0.108642578125, 0.1231689453125, 0.0643310546875, 0.01336669921875, 0.1295166015625, 0.08740234375, 0.0950927734375, ...
embed
66702741_c0
66702741
fsharp
0
Title: F# saying value not defined in Computation Expression Problem title: F# saying value not defined in Computation Expression Tags: computation-expression, f%23, monads Problem: F# saying value not defined in Computation Expression I've been working on a State Monad with F# Computation Expression and I'm trying to ...
F# saying value not defined in Computation Expression F# saying value not defined in Computation Expression computation-expression f%23 monads the Computation Expression State Explicit Less m:State Get Apply Evaluates Executes Returns Ignores StateBuilder __.Return State.result __.Bind State.bind __.ReturnFrom __.Zero ...
[ -0.031005859375, 0.00106048583984375, 0.005218505859375, -0.00830078125, 0.00616455078125, 0.0166015625, 0.013427734375, -0.015869140625, 0.024658203125, -0.01507568359375, -0.00543212890625, 0.04541015625, -0.0032958984375, -0.005157470703125, 0.0174560546875, 0.003326416015625, -0....
[ 563, 4904, 54433, 34292, 959, 61924, 71, 23, 159415, 25129, 181135, 204629, 1238, 3949, 3742, 2667, 712, 22836, 60075, 60923, 1734, 347, 135206, 20779, 5659, 538, 151228, 211603, 173340, 11137, 121137, 56, 987, 7136, 7250, 89817, 168407, 4036...
[ 0.130615234375, 0.21435546875, 0.128173828125, 0.2373046875, 0.13818359375, 0.222900390625, 0.080810546875, 0.02044677734375, 0.13916015625, 0.13916015625, 0.1229248046875, 0.1624755859375, 0.07098388671875, 0.010894775390625, 0.07171630859375, 0.04046630859375, 0.0198822021484375, ...
embed
47723924_c0
47723924
fsharp
0
Title: F# generic type with static members. Is that ever possible? Problem title: F# generic type with static members. Is that ever possible? Tags: generics, f%23 Problem: F# generic type with static members. Is that ever possible? I have the following situation: 1. There are many (20 - 40) very similarly structured sl...
F# generic type with static members. Is that ever possible? F# generic type with static members. Is that ever possible? generics f%23 2 5 10 CollegeSize VerySmall Small Medium Large VeryLarge CollegeSize.VerySmall Very CollegeSize.Small CollegeSize.Medium CollegeSize.Large CollegeSize.VeryLarge CaseFactory UnionFactory...
[ -0.006561279296875, 0.00518798828125, 0.0098876953125, -0.031494140625, -0.00640869140625, -0.0238037109375, -0.002227783203125, -0.0208740234375, 0.0294189453125, 0.007476806640625, -0.00823974609375, -0.01019287109375, 0.00689697265625, -0.02880859375, 0.004974365234375, -0.002807617...
[ 563, 4904, 189534, 10644, 678, 201939, 43032, 5, 2071, 450, 17669, 7722, 1238, 3949, 3742, 116, 190, 209, 29693, 127167, 99342, 105508, 174413, 181268, 15896, 6696, 43731, 135518, 32528, 69253, 62346, 42719, 12353, 78457, 8996, 135932, 62351, ...
[ 0.1959228515625, 0.274658203125, 0.2900390625, 0.25390625, 0.069091796875, 0.254638671875, 0.2578125, 0.001708984375, 0.0867919921875, 0.0849609375, 0.120361328125, 0.1976318359375, 0.1629638671875, 0.02239990234375, 0.11181640625, 0.036376953125, 0.0980224609375, 0.10430908203125,...
embed
15677190_c0
15677190
fsharp
0
Title: F# quotations, arrays and self-identifier in constructors Problem title: F# quotations, arrays and self-identifier in constructors Tags: websharper, f%23 Problem: F# quotations, arrays and self-identifier in constructors I think that's a well-known limitation of F# but I couldn't find any good workarounds… So, h...
F# quotations, arrays and self-identifier in constructors F# quotations, arrays and self-identifier in constructors websharper f%23 ReflectedDefinition Human Cat Array.append this.Cats this.Foo User ROOT_UID this.isRoot F# quotations, arrays and self-identifier in constructors I think that's a well-known limitation of ...
[ 0.0203857421875, 0.0255126953125, -0.004852294921875, -0.00433349609375, 0.000522613525390625, -0.01708984375, 0.0106201171875, 0.0174560546875, 0.00482177734375, -0.041748046875, 0.009033203125, 0.020751953125, -0.0240478515625, 0.01611328125, 0.0027008056640625, -0.006622314453125, ...
[ 563, 4904, 81732, 5256, 10298, 4778, 15970, 42485, 56, 64549, 25251, 23, 1467, 89280, 1264, 1238, 3742, 53295, 133, 89829, 187423, 943, 28076, 18826, 69253, 53, 9007, 903, 76775, 27591, 53400, 162727, 7146, 5, 164, 12724, 818, 69723, 205969...
[ 0.140869140625, 0.21240234375, 0.2020263671875, 0.07403564453125, 0.18212890625, 0.1544189453125, 0.2022705078125, 0.233642578125, 0.115478515625, 0.218994140625, 0.119384765625, 0.02899169921875, 0.0828857421875, 0.1510009765625, 0.1353759765625, 0.061767578125, 0.024139404296875, ...
embed
28229782_c0
28229782
fsharp
0
Title: How does one trigger and test events on an IObservable? Problem title: How does one trigger and test events on an IObservable? Tags: asynchronous, testing, f%23 Problem: How does one trigger and test events on an IObservable? I'm writing a basic UDP Server that listens for messages on a given port, massages the ...
How does one trigger and test events on an IObservable? How does one trigger and test events on an IObservable? asynchronous testing f%23 How IObservable UdpServer Event x.Start messageReceived.Trigger x.MessageReady messageReady.Publish Test Should server.Start Async.Start server.MessageReady Async.AwaitEvent Async.Ru...
[ -0.006561279296875, 0.035400390625, -0.0093994140625, 0.00860595703125, 0.002166748046875, -0.006378173828125, 0.004119873046875, 0.004669189453125, 0.006744384765625, -0.0240478515625, 0.013916015625, -0.005279541015625, 0.0162353515625, 0.03369140625, 0.0033111572265625, 0.0061340332...
[ 11249, 14602, 1632, 185553, 136, 3034, 47353, 98, 87, 46471, 65756, 2661, 12654, 101966, 134234, 1238, 3742, 10445, 254, 193348, 36943, 1022, 126597, 26008, 74257, 21407, 6011, 31345, 143145, 8647, 151117, 10723, 634, 192134, 217835, 1900, 4820...
[ 0.1162109375, 0.041473388671875, 0.072265625, 0.27294921875, 0.1519775390625, 0.253173828125, 0.1944580078125, 0.055908203125, 0.141357421875, 0.167724609375, 0.2005615234375, 0.1798095703125, 0.1446533203125, 0.1229248046875, 0.204833984375, 0.020660400390625, 0.06890869140625, 0....
embed
25856270_c0
25856270
fsharp
0
Title: HtmlHelper MVC 5 F# Problem title: HtmlHelper MVC 5 F# Tags: asp.net-mvc, f%23, html-helper, razor Problem: HtmlHelper MVC 5 F# I have tried to create HtmlHelper for MVC 5 app in F# my implementation is following: namespace FSharpStore.WebUI.HtmlHelpers module PagingHelpers = type HtmlHelper with static member P...
HtmlHelper MVC 5 F# HtmlHelper MVC 5 F# asp.net-mvc f%23 html-helper razor FSharpStore.WebUI.HtmlHelpers HtmlHelper MVC PagingHelpers PageLinks PagingInfo UrlHelper MvcHtmlString url.Action List x.ToString StringBuilder info.TotalPages TagBuilder tag.MergeAttribute tag.InnerHtml i.ToString info.CurrentPage tag.AddCssCl...
[ -0.0177001953125, 0.0084228515625, 0.020751953125, -0.040771484375, -0.00830078125, 0.00531005859375, -0.0186767578125, -0.0048828125, 0.004058837890625, -0.05224609375, -0.0067138671875, -0.0262451171875, 0.013671875, -0.01190185546875, 0.0302734375, -0.00494384765625, 0.00958251953...
[ 572, 18, 7237, 60785, 1264, 276, 56349, 190, 563, 4904, 237, 254, 1179, 66357, 1238, 3742, 7693, 73866, 56, 1954, 748, 93774, 3467, 165248, 30474, 33457, 21777, 8341, 14231, 64287, 93147, 25002, 284, 10763, 32036, 1022, 7763, 71713, 23351, ...
[ 0.098388671875, 0.13037109375, 0.1959228515625, 0.2369384765625, 0.2420654296875, 0.05462646484375, 0.211669921875, 0.177490234375, 0.1334228515625, 0.1944580078125, 0.021728515625, 0.07647705078125, 0.049835205078125, 0.1416015625, 0.034149169921875, 0.060272216796875, 0.17919921875...
embed
68700764_c0
68700764
fsharp
0
Title: Defining allowed value ranges in type member in F# Problem title: Defining allowed value ranges in type member in F# Tags: domain-driven-design, f%23 Problem: Defining allowed value ranges in type member in F# I'm playing around with units of measure in F# and I'm currently trying to create compound units of mea...
Defining allowed value ranges in type member in F# Defining allowed value ranges in type member in F# domain-driven-design f%23 Defining Units Mass Measure Kilogram Gram Pound Stone Conversions Length Metre Centimetre Inch Foot CompoundUnits StonesAndPounds Stones Pounds FeetAndInches Feet Inches Defining allowed value...
[ -0.02197265625, -0.0018463134765625, 0.0013885498046875, -0.00921630859375, -0.00445556640625, -0.0052490234375, 0.0035858154296875, 0.002838134765625, 0.0203857421875, 0.023193359375, -0.00408935546875, 0.0186767578125, 0.0255126953125, 0.00372314453125, 0.02734375, 0.004547119140625,...
[ 88606, 107003, 34292, 37457, 10644, 32786, 563, 4904, 449, 77758, 33926, 34198, 1238, 3742, 46640, 74227, 1215, 11, 105519, 25561, 48078, 663, 7030, 47002, 1657, 46354, 77554, 4146, 81366, 80036, 360, 159020, 15612, 31, 85600, 37839, 7192, 42...
[ 0.1812744140625, 0.2313232421875, 0.2100830078125, 0.2059326171875, 0.2039794921875, 0.261474609375, 0.1422119140625, 0.2425537109375, 0.00555419921875, 0.09033203125, 0.043701171875, 0.1971435546875, 0.056243896484375, 0.0531005859375, 0.1988525390625, 0.070556640625, 0.1162109375, ...
embed
42804119_c0
42804119
fsharp
0
Title: F# tail recursion with XAMARIN MAC OS Problem title: F# tail recursion with XAMARIN MAC OS Tags: tail-recursion, f%23, mono, stack-overflow, xamarin Problem: F# tail recursion with XAMARIN MAC OS I'm trying to implement this example from http://fsharpforfunandprofit.com/posts/recursive-types-and-folds-2/ I'm run...
F# tail recursion with XAMARIN MAC OS F# tail recursion with XAMARIN MAC OS tail-recursion f%23 mono stack-overflow xamarin XAMARIN MAC Book ChocolateType Dark Milk SeventyPercent Chocolate WrappingPaperStyle HappyBirthday HappyHolidays SolidColor Gift Wrapped Boxed WithACard message:string Wolf Hall Happy Birthday boo...
[ -0.0026092529296875, 0.0159912109375, -0.005279541015625, 0.01129150390625, 0.0185546875, -0.002288818359375, -0.00982666015625, -0.004547119140625, 0.01470947265625, -0.0242919921875, -0.0028228759765625, -0.03173828125, 0.002288818359375, -0.0033111572265625, 0.036865234375, 0.001525...
[ 563, 4904, 46741, 195625, 1830, 678, 1193, 23955, 65443, 78826, 11787, 107, 48650, 1238, 3949, 3742, 22460, 177261, 5465, 118664, 2459, 44503, 27432, 167499, 196707, 49721, 171048, 132556, 219, 121903, 209480, 32506, 41153, 5636, 113251, 1683, ...
[ 0.118408203125, 0.1798095703125, 0.266845703125, 0.23291015625, 0.0806884765625, 0.04949951171875, 0.0743408203125, 0.134521484375, 0.1705322265625, 0.142333984375, 0.111083984375, 0.037322998046875, 0.1761474609375, 0.075927734375, 0.0474853515625, 0.13818359375, 0.1412353515625, ...
embed
66040004_c0
66040004
fsharp
0
Title: How to use F# objects/records in C# Wpf UserControl Problem title: How to use F# objects/records in C# Wpf UserControl Tags: c%23, f%23, wpf Problem: How to use F# objects/records in C# Wpf UserControl (Newbie question). My main application is running in F#. From the F# application, I am calling a print routine ...
How to use F# objects/records in C# Wpf UserControl How to use F# objects/records in C# Wpf UserControl c%23 f%23 wpf System System.Windows.Controls How Wpf UserControl a:Account Nullable DateTime Insurance Pay Account.birthDate WorksheetHeader FrameworkElement XAML x:Class StargateIX.PrintingAndReports.WorksheetHeader...
[ 0.00567626953125, -0.006805419921875, -0.0140380859375, -0.0155029296875, -0.0030517578125, 0.00921630859375, 0.00119781494140625, 0.004364013671875, 0.00408935546875, -0.0033416748046875, 0.0079345703125, -0.037841796875, 0.007232666015625, -0.00439453125, 0.00213623046875, -0.0142211...
[ 11249, 4527, 563, 4904, 36746, 64, 107, 32271, 23, 313, 601, 39557, 53400, 175904, 3742, 1238, 148, 12353, 43342, 39450, 71013, 27786, 2661, 25512, 70059, 172255, 17166, 61417, 5720, 86291, 27985, 13025, 202220, 19929, 65415, 39456, 1022, 461...
[ 0.0777587890625, 0.1689453125, 0.166259765625, 0.26220703125, 0.2110595703125, 0.0374755859375, 0.08935546875, 0.2161865234375, 0.026153564453125, 0.0697021484375, 0.0765380859375, 0.1951904296875, 0.178955078125, 0.255126953125, 0.10260009765625, 0.0145416259765625, 0.01710510253906...
embed
59719426_c0
59719426
fsharp
0
Title: How to compare equality of f# discriminated union instances? Problem title: How to compare equality of f# discriminated union instances? Tags: c%23, discriminated-union, functional-programming, f%23 Problem: How to compare equality of f# discriminated union instances? A month ago I asked that question about how ...
How to compare equality of f# discriminated union instances? How to compare equality of f# discriminated union instances? c%23 discriminated-union functional-programming f%23 FormatException How AutoOpen JobId System Create Guid.NewGuid ToString id:Guid Guid.Empty None Some id.ToString id:string JobId.Create Guid Exten...
[ -0.020751953125, -0.01275634765625, 0.0233154296875, 0.0020599365234375, -0.000957489013671875, -0.015380859375, 0.0062255859375, -0.005035400390625, 0.005126953125, -0.0040283203125, 0.003997802734375, 0.03369140625, 0.0135498046875, 0.00616455078125, -0.0022735595703125, -0.005981445...
[ 11249, 47, 69101, 28, 161789, 1238, 4904, 55970, 3674, 69941, 110527, 3742, 87046, 123309, 28966, 60972, 63928, 4396, 103264, 32664, 568, 71, 12353, 151313, 6955, 532, 22769, 717, 71713, 3447, 134332, 91693, 224545, 20779, 856, 50770, 194802, ...
[ 0.0760498046875, 0.0521240234375, 0.2080078125, 0.092529296875, 0.22607421875, 0.132080078125, 0.220458984375, 0.2171630859375, 0.06640625, 0.197998046875, 0.192626953125, 0.023834228515625, 0.16357421875, 0.106201171875, 0.0701904296875, 0.11279296875, 0.08673095703125, 0.12219238...
embed
45686849_c0
45686849
fsharp
0
Title: Why do prints to console get mixed up when doing parallel computations? Problem title: Why do prints to console get mixed up when doing parallel computations? Tags: parallel-processing, f%23, console Problem: Why do prints to console get mixed up when doing parallel computations? While running some code that per...
Why do prints to console get mixed up when doing parallel computations? Why do prints to console get mixed up when doing parallel computations? parallel-processing f%23 console Why Iteration Calculating AM19 Communication IModel Assets Parameters Deleted Verbose msg1 First Last Criterion msg2 Best Map.ofList FirstDate ...
[ -0.000247955322265625, -0.000396728515625, -0.01165771484375, 0.01007080078125, -0.0137939453125, 0.001220703125, 0.0113525390625, -0.015869140625, 0.009765625, 0.0024566650390625, 0.00701904296875, 0.00579833984375, 0.031982421875, -0.00701904296875, 0.003204345703125, 0.01708984375, ...
[ 44084, 28412, 7, 47, 130250, 2046, 17664, 297, 1257, 95103, 181135, 5256, 3229, 20594, 63923, 1238, 3742, 87, 720, 212467, 9677, 2947, 87398, 140290, 53975, 29089, 133, 1446, 837, 184, 21672, 11345, 42719, 4390, 154663, 86291, 864, 1434, 21...
[ 0.079345703125, 0.199462890625, 0.0728759765625, 0.1553955078125, 0.2587890625, 0.0243988037109375, 0.1837158203125, 0.0911865234375, 0.1539306640625, 0.2125244140625, 0.131103515625, 0.031219482421875, 0.033294677734375, 0.013641357421875, 0.04913330078125, 0.03167724609375, 0.11218...
embed
51622669_c1
51622669
fsharp
1
.AspNetCore open Microsoft.AspNetCore.Hosting open Microsoft.Extensions.Configuration open Microsoft.Extensions.Logging module Program = let exitCode = 0 let CreateWebHostBuilder args = WebHost .CreateDefaultBuilder(args) .UseStartup<Startup>(); [<EntryPoint>] let main args = CreateWebHostBuilder(args).Build().Run() ex...
.AspNetCore open Microsoft.AspNetCore.Hosting open Microsoft.Extensions.Configuration open Microsoft.Extensions.Logging module Program = let exitCode = 0 let CreateWebHostBuilder args = WebHost .CreateDefaultBuilder(args) .UseStartup<Startup>(); [<EntryPoint>] let main args = CreateWebHostBuilder(args).Build().Run() ex...
[ -0.0169677734375, 0.00830078125, -0.0167236328125, 0.01092529296875, -0.000255584716796875, 0.0084228515625, -0.00457763671875, -0.0191650390625, 0.00909423828125, 0.01611328125, 0.000652313232421875, 0.025390625, 0.0087890625, 0.03271484375, 0.0036468505859375, -0.00726318359375, 0....
[ 5, 284, 7008, 24447, 50886, 13, 9803, 7244, 11193, 7, 1916, 19279, 128872, 11935, 59994, 15363, 36659, 88996, 7663, 2203, 2633, 82230, 114211, 757, 151313, 30474, 271, 121137, 56, 79459, 4002, 63784, 187423, 11, 61477, 1062, 126597, 7768, 1...
[ 0.05938720703125, 0.0565185546875, 0.157958984375, 0.1494140625, 0.22705078125, 0.0965576171875, 0.155517578125, 0.1248779296875, 0.140380859375, 0.0782470703125, 0.1229248046875, 0.0692138671875, 0.211669921875, 0.01177978515625, 0.15966796875, 0.09619140625, 0.093017578125, 0.109...
embed
29143300_c0
29143300
fsharp
0
Title: Subtle type error Problem title: Subtle type error Tags: f%23, types Problem: Subtle type error I am new to programming and F# is my first .NET language. I am attempting this problem on Rosalind.info. Basically, given a DNA string, I am supposed to return four integers counting the respective number of times tha...
Subtle type error Subtle type error f%23 types Subtle System.IO System DNANucleobases dnaString.ToCharArray Array.map accumulator.A accumulator.C accumulator.G accumulator.T File.ReadAllLines String.Join Users Unnamed Desktop Documents Throwaway rosalind_dna.txt Seq.fold Subtle type error I am new to programming and F#...
[ 0.002838134765625, -0.01226806640625, -0.0106201171875, 0.017333984375, -0.0086669921875, -0.00165557861328125, -0.0194091796875, -0.005523681640625, 0.0048828125, -0.013916015625, -0.004364013671875, -0.002777099609375, 0.0257568359375, 0.030029296875, 0.0172119140625, 0.0082397460937...
[ 8273, 17991, 10644, 18499, 1238, 3949, 3742, 52895, 12353, 17780, 27583, 11030, 16159, 5908, 76, 71713, 7763, 84068, 7092, 62346, 183278, 1290, 284, 441, 724, 618, 42724, 31345, 93232, 23351, 53400, 141423, 43101, 15555, 72274, 29342, 52891, ...
[ 0.1575927734375, 0.21533203125, 0.2193603515625, 0.165283203125, 0.04010009765625, 0.04498291015625, 0.1253662109375, 0.1883544921875, 0.097900390625, 0.1082763671875, 0.1693115234375, 0.065673828125, 0.019439697265625, 0.04302978515625, 0.106201171875, 0.03216552734375, 0.0210418701...
embed
35825290_c0
35825290
fsharp
0
Title: Aggregating info from request in Suave Problem title: Aggregating info from request in Suave Tags: f%23, suave Problem: Aggregating info from request in Suave I am building an authenticated web API using Suave, and I often stumble on the problem of aggregating infos throughout different functions pathScan Naviga...
Aggregating info from request in Suave Aggregating info from request in Suave f%23 suave request Aggregating Suave Navigation.playersAvailables GetGame HttpContext Async Writers.setUserData x.userState PlayerSession Navigation.otherRoute Navigation.otherRoute2 Aggregating info from request in Suave I am building an aut...
[ -0.0047607421875, 0.007232666015625, 0.005584716796875, 0.01019287109375, 0.01031494140625, -0.002197265625, -0.00958251953125, 0.00775146484375, -0.00970458984375, -0.06396484375, 0.0030517578125, 0.020751953125, -0.0123291015625, 0.0004119873046875, -0.002471923828125, 0.011047363281...
[ 12342, 68722, 26518, 3004, 1295, 50336, 23, 45384, 272, 1238, 3949, 3742, 109829, 201940, 139570, 45475, 25820, 20779, 107576, 22829, 12654, 3509, 137989, 1022, 60560, 90, 12724, 126340, 6743, 304, 33976, 195734, 1467, 61687, 27983, 18784, 2967...
[ 0.10400390625, 0.25048828125, 0.0738525390625, 0.20947265625, 0.1444091796875, 0.251220703125, 0.046417236328125, 0.2335205078125, 0.245849609375, 0.03118896484375, 0.03680419921875, 0.1280517578125, 0.2646484375, 0.198486328125, 0.1329345703125, 0.040008544921875, 0.137451171875, ...
embed
42982124_c1
42982124
fsharp
1
Config.Instance), "remoteactor2"); var remote3 = system.ActorOf(Props.Create(() => new SomeActor()).WithRouter(FromConfig.Instance), "remoteactor3"); var hashGroup = system.ActorOf(Props.Empty.WithRouter(new ConsistentHashingGroup(config))); Task.Delay(500).Wait(); var routee1 = Routee.FromActorRef(remote1); hashGroup....
Config.Instance), "remoteactor2"); var remote3 = system.ActorOf(Props.Create(() => new SomeActor()).WithRouter(FromConfig.Instance), "remoteactor3"); var hashGroup = system.ActorOf(Props.Empty.WithRouter(new ConsistentHashingGroup(config))); Task.Delay(500).Wait(); var routee1 = Routee.FromActorRef(remote1); hashGroup....
[ -0.00665283203125, 0.0284423828125, -0.0128173828125, -0.01116943359375, 0.0029144287109375, -0.018798828125, -0.0146484375, 0.00360107421875, 0.0157470703125, -0.0021209716796875, -0.00921630859375, 0.0194091796875, 0.0242919921875, 0.013427734375, 0.004791259765625, 0.0101318359375, ...
[ 139403, 177, 4153, 116071, 26973, 17615, 18770, 304, 285, 148814, 363, 5426, 5, 284, 132887, 10752, 6423, 63784, 2182, 3525, 31384, 194583, 12724, 25208, 168407, 83671, 1556, 127, 205072, 134332, 54936, 39215, 6892, 6495, 54700, 153837, 9598, ...
[ 0.2015380859375, 0.1278076171875, 0.0283203125, 0.1817626953125, 0.1513671875, 0.08477783203125, 0.20263671875, 0.080322265625, 0.023590087890625, 0.2381591796875, 0.1219482421875, 0.114501953125, 0.005401611328125, 0.05328369140625, 0.185546875, 0.06658935546875, 0.1173095703125, ...
embed
32920614_c0
32920614
fsharp
0
Title: F# random class throws BadImageFormatException when calling .NextDouble() Problem title: F# random class throws BadImageFormatException when calling .NextDouble() Tags: badimageformatexception, random, f%23 Problem: F# random class throws BadImageFormatException when calling .NextDouble() I have made a small app...
F# random class throws BadImageFormatException when calling .NextDouble() F# random class throws BadImageFormatException when calling .NextDouble() badimageformatexception random f%23 BadImageFormatException NextDouble create_field num_asteroids y:float a:float Random earth_mass moon_mass rand.NextDouble field_size max...
[ 0.00701904296875, 0.0027618408203125, -0.003387451171875, -0.006866455078125, 0.01123046875, 0.0224609375, 0.0034637451171875, -0.010009765625, -0.00103759765625, -0.0172119140625, 0.021240234375, 0.020751953125, 0.000705718994140625, -0.034912109375, 0.03857421875, -0.0244140625, 0....
[ 563, 4904, 96759, 18507, 104250, 12745, 216960, 102973, 257, 19279, 63928, 159029, 81280, 8331, 34, 2661, 6494, 37926, 51727, 1238, 3742, 4997, 28282, 28394, 13269, 139629, 113, 52347, 10, 39643, 109270, 1510, 59533, 27388, 44457, 62539, 18389,...
[ 0.1343994140625, 0.2010498046875, 0.185546875, 0.19091796875, 0.09503173828125, 0.1607666015625, 0.1710205078125, 0.1900634765625, 0.0546875, 0.02850341796875, 0.14306640625, 0.066162109375, 0.1868896484375, 0.0989990234375, 0.100830078125, 0.1702880859375, 0.13427734375, 0.1510009...
embed
65982780_c0
65982780
fsharp
0
Title: DateTime to string, in F#, can this be optimized further? Problem title: DateTime to string, in F#, can this be optimized further? Tags: optimization, f%23 Problem: DateTime to string, in F#, can this be optimized further? I have a system that does some simulations and outputs a lot of log information with times...
DateTime to string, in F#, can this be optimized further? DateTime to string, in F#, can this be optimized further? optimization f%23 DateTime DateTimeFormatter write2Characters write3Characters Array.zeroCreate dateTime.Year dateTime.Month dateTime.Day dateTime.Hour dateTime.Minute dateTime.Second dateTime.Millisecond...
[ -0.01953125, -0.01171875, 0.005523681640625, -0.006866455078125, -0.00848388671875, -0.025634765625, -0.004852294921875, 0.00946044921875, -0.0003299713134765625, -0.0152587890625, 0.0125732421875, 0.0216064453125, -0.00433349609375, -0.012451171875, 0.0076904296875, -0.0162353515625, ...
[ 25512, 70059, 47, 79315, 563, 4904, 831, 903, 15572, 29367, 53333, 23, 87235, 1238, 3742, 102973, 3055, 33022, 304, 2263, 363, 80510, 63784, 5622, 69085, 146794, 97141, 169929, 2271, 178449, 191633, 137594, 42284, 35414, 126597, 7763, 71713, ...
[ 0.18408203125, 0.24755859375, 0.143310546875, 0.263916015625, 0.13623046875, 0.2203369140625, 0.0771484375, 0.0538330078125, 0.1600341796875, 0.0771484375, 0.0970458984375, 0.0126953125, 0.150146484375, 0.07440185546875, 0.1185302734375, 0.09942626953125, 0.0645751953125, 0.0798339...
embed
36104457_c1
36104457
fsharp
1
[<CLIEvent>] member this.PropertyChanged = propertyChanged.Publish member private this.NotifyPropertyChanged propertyName = propertyChanged.Trigger(this,PropertyChangedEventArgs(propertyName)) member this.NotifyPropertyChanged quotation = quotation |> getPropertyName |> this.NotifyPropertyChanged My XAML is the follow...
[<CLIEvent>] member this.PropertyChanged = propertyChanged.Publish member private this.NotifyPropertyChanged propertyName = propertyChanged.Trigger(this,PropertyChangedEventArgs(propertyName)) member this.NotifyPropertyChanged quotation = quotation |> getPropertyName |> this.NotifyPropertyChanged My XAML is the follow...
[ -0.0224609375, 0.03564453125, 0.0162353515625, 0.0181884765625, -0.000942230224609375, -0.00634765625, 0.0166015625, -0.013916015625, -0.0030517578125, -0.0166015625, -0.0137939453125, 0.0174560546875, -0.006805419921875, 0.0218505859375, -0.00830078125, 0.0291748046875, -0.020019531...
[ 441, 10927, 192134, 32786, 903, 5, 10752, 1264, 939, 127008, 17704, 2203, 57266, 143145, 15227, 14375, 122116, 40383, 163612, 74257, 21407, 100231, 7614, 9405, 36290, 56, 81732, 2046, 2646, 65415, 39456, 83, 25632, 92049, 24293, 131492, 1779, ...
[ 0.052490234375, 0.211669921875, 0.26025390625, 0.239501953125, 0.1805419921875, 0.005340576171875, 0.0770263671875, 0.188720703125, 0.079833984375, 0.21435546875, 0.19580078125, 0.048614501953125, 0.1903076171875, 0.09912109375, 0.107666015625, 0.1217041015625, 0.1405029296875, 0.1...
embed
21697231_c1
21697231
fsharp
1
idx element -> match element with | Some x -> printfn "Actor %i: OK with result %A" idx x | None -> printfn "Actor %i: Failed" idx ) And this works as planned. However, let's say I'd like to postpone the call to Receive to a later stage. type TestActor (init) = let mutable counter = init let rcvFun = fun (msg) -> asyn...
idx element -> match element with | Some x -> printfn "Actor %i: OK with result %A" idx x | None -> printfn "Actor %i: Failed" idx ) And this works as planned. However, let's say I'd like to postpone the call to Receive to a later stage. type TestActor (init) = let mutable counter = init let rcvFun = fun (msg) -> asyn...
[ -0.0026092529296875, 0.03125, 0.0038909912109375, -0.00335693359375, 0.001800537109375, -0.002044677734375, 0.0264892578125, 0.0133056640625, 0.016845703125, -0.005859375, 0.0279541015625, 0.037109375, -0.001007080078125, 0.0157470703125, 0.0244140625, 0.005645751953125, 0.0002994537...
[ 3447, 425, 12830, 33079, 14858, 678, 31384, 1022, 28412, 14783, 284, 18770, 14315, 16750, 438, 86, 190355, 43240, 237, 203251, 33306, 7, 1884, 47, 1305, 85781, 11782, 93908, 5844, 14432, 36541, 10644, 8647, 842, 22819, 105416, 19437, 334, 9...
[ 0.154541015625, 0.1995849609375, 0.1636962890625, 0.013275146484375, 0.1959228515625, 0.1533203125, 0.1065673828125, 0.11083984375, 0.1212158203125, 0.09375, 0.08453369140625, 0.1807861328125, 0.2049560546875, 0.12841796875, 0.069580078125, 0.038726806640625, 0.2000732421875, 0.089...
embed
12667348_c0
12667348
fsharp
0
Title: F# changing state made of objects Problem title: F# changing state made of objects Tags: record, pass-by-reference, mutable, immutability, f%23 Problem: F# changing state made of objects I have a simulator that keeps some state as a record with two members: one object of Class1, and a sequence of objects of Clas...
F# changing state made of objects F# changing state made of objects record pass-by-reference mutable immutability f%23 State Class1 Class2 Simulator x.run ReadInput InvokeMethodOn state.one Seq.iter state.many x.InvokeMethodOn obj.ChangeInternalState F# changing state made of objects I have a simulator that keeps some ...
[ -0.0108642578125, 0.000873565673828125, -0.0096435546875, 0.000362396240234375, -0.00164031982421875, -0.0048828125, -0.0059814453125, 0.006378173828125, -0.0010986328125, -0.015625, 0.004638671875, 0.032470703125, 0.00982666015625, 0.033203125, -0.006591796875, -0.034912109375, -0.0...
[ 563, 4904, 151134, 11341, 7228, 111, 36746, 17164, 27875, 1272, 239879, 842, 22819, 566, 14311, 41159, 1238, 3949, 3742, 22836, 35014, 418, 304, 144814, 1290, 1022, 16428, 4764, 4153, 360, 23253, 13, 78572, 7352, 20320, 3630, 864, 16840, 66...
[ 0.129638671875, 0.2181396484375, 0.1817626953125, 0.1856689453125, 0.1026611328125, 0.0982666015625, 0.2125244140625, 0.149169921875, 0.098876953125, 0.044219970703125, 0.2030029296875, 0.1497802734375, 0.1533203125, 0.06585693359375, 0.1278076171875, 0.0290679931640625, 0.0848388671...
embed
48119397_c0
48119397
fsharp
0
Title: F# creating generic function with generic units of measure Problem title: F# creating generic function with generic units of measure Tags: generics, units-of-measurement, f%23 Problem: F# creating generic function with generic units of measure I feel like I may be fighting the way F# wants to think about types a...
F# creating generic function with generic units of measure F# creating generic function with generic units of measure generics units-of-measurement f%23 Measure USD Dollars Some None Cost a:Cost b:Cost Cost.create Cost.tryDivide F# creating generic function with generic units of measure I feel like I may be fighting th...
[ -0.00750732421875, 0.03369140625, 0.00927734375, -0.021728515625, -0.0023193359375, -0.0177001953125, -0.00799560546875, -0.00701904296875, 0.0216064453125, 0.007415771484375, -0.0028228759765625, 0.01080322265625, 0.00133514404296875, -0.01361083984375, 0.0009307861328125, 0.001045227...
[ 563, 4904, 105233, 189534, 32354, 678, 25072, 111, 72350, 4390, 37440, 56851, 1238, 3742, 1215, 11, 19052, 83393, 31384, 438, 63099, 5510, 876, 7612, 15123, 14055, 33193, 12319, 1884, 181952, 5351, 52895, 136, 162520, 17368, 9077, 756, 41018,...
[ 0.1328125, 0.2144775390625, 0.083740234375, 0.27001953125, 0.15966796875, 0.029022216796875, 0.1612548828125, 0.059173583984375, 0.19580078125, 0.06793212890625, 0.109375, 0.072998046875, 0.0733642578125, 0.10247802734375, 0.067626953125, 0.1279296875, 0.112060546875, 0.11193847656...
embed
62126513_c0
62126513
fsharp
0
Title: F# Downcasting arrays without reflection Problem title: F# Downcasting arrays without reflection Tags: arrays, downcast, f%23 Problem: F# Downcasting arrays without reflection I am working on a program where the user can send me all sort of objects at runtime, and I do not know their type in advance (at compile ...
F# Downcasting arrays without reflection F# Downcasting arrays without reflection arrays downcast f%23 Downcasting Array.Length Array.sub a.Length Cannot ArrayOps arr.Length oarr.GetType ty.HasElementType ty.BaseType System.Array ty.GetElementType GetMethod MakeGenericMethod meth.Invoke Some None Array.count F# Downcas...
[ 0.018798828125, 0.01214599609375, 0.0032196044921875, 0.0152587890625, 0.009521484375, -0.01507568359375, -0.022216796875, 0.020751953125, 0.0169677734375, 0.0006103515625, -0.01123046875, -0.0093994140625, 0.007659912109375, 0.009521484375, 0.0023040771484375, -0.044921875, 0.013671...
[ 563, 4904, 49472, 55741, 214, 10298, 4778, 15490, 44961, 7565, 1238, 3742, 69253, 53, 449, 22144, 10869, 39029, 196707, 19929, 63473, 12353, 7614, 7092, 135932, 7352, 435, 127, 23253, 438, 71013, 1830, 20697, 1528, 38937, 25379, 36746, 6032, ...
[ 0.090087890625, 0.1883544921875, 0.17431640625, 0.176513671875, 0.019073486328125, 0.1522216796875, 0.0921630859375, 0.1241455078125, 0.2235107421875, 0.171142578125, 0.06427001953125, 0.061859130859375, 0.1171875, 0.045684814453125, 0.0399169921875, 0.16357421875, 0.0655517578125, ...
embed
58952663_c0
58952663
fsharp
0
Title: .NET Core mixed F# and C# project Intellisense not working Problem title: .NET Core mixed F# and C# project Intellisense not working Tags: f%23, macos, mono, c%23, visual-studio-code Problem: .NET Core mixed F# and C# project Intellisense not working Problem Given: macOS 10.13.6 VSCode 1.40.1 C# package (powered...
.NET Core mixed F# and C# project Intellisense not working .NET Core mixed F# and C# project Intellisense not working f%23 macos mono c%23 visual-studio-code NET Core Intellisense omnisharp.useGlobalMono settings.json .NET Core mixed F# and C# project Intellisense not working Problem Given: macOS 10.13.6 VSCode 1.40.1 ...
[ -0.0162353515625, 0.0230712890625, 0.006195068359375, 0.0155029296875, -0.0024566650390625, 0.003448486328125, -0.01025390625, -0.004058837890625, -0.0021514892578125, 0.0081787109375, -0.00154876708984375, -0.0027618408203125, -0.0208740234375, 0.0272216796875, 0.01116943359375, 0.002...
[ 5, 17777, 31365, 17664, 297, 563, 4904, 136, 313, 13452, 30131, 27077, 184, 959, 20697, 1238, 3742, 7840, 22460, 21176, 52629, 40899, 40102, 3467, 254, 4032, 162080, 46674, 53550, 170, 1681, 15649, 19138, 7285, 147546, 102738, 44160, 114211, ...
[ 0.0218048095703125, 0.17578125, 0.212158203125, 0.2418212890625, 0.056732177734375, 0.1156005859375, 0.21484375, 0.097412109375, 0.04449462890625, 0.1458740234375, 0.186279296875, 0.23876953125, 0.17578125, 0.077880859375, 0.211181640625, 0.0142364501953125, 0.056671142578125, 0.05...
embed
52752010_c0
52752010
fsharp
0
Title: The type seq&lt;&#x27;a&gt; is not compatible with the type Collections.Generic.IEnumerable&lt;&#x27;a&gt; Problem title: The type seq&lt;&#x27;a&gt; is not compatible with the type Collections.Generic.IEnumerable&lt;&#x27;a&gt; Tags: f%23, f%23-interactive, .net-core Problem: The type seq<'a> is not compatible ...
The type seq&lt;&#x27;a&gt; is not compatible with the type Collections.Generic.IEnumerable&lt;&#x27;a&gt; The type seq&lt;&#x27;a&gt; is not compatible with the type Collections.Generic.IEnumerable&lt;&#x27;a&gt; f%23 f%23-interactive .net-core Collections.Generic.IEnumerable ReadOnly en:System.Collections.Generic.IEn...
[ -0.0087890625, 0.01287841796875, 0.0001468658447265625, 0.021728515625, -0.00799560546875, -0.003204345703125, -0.01123046875, 0.00537109375, -0.00396728515625, -0.01220703125, 0.000583648681640625, 0.005706787109375, -0.0025177001953125, 0.01348876953125, 0.02734375, -0.00424194335937...
[ 10644, 40, 864, 1277, 3768, 11, 5386, 83, 959, 146731, 678, 68220, 7, 135932, 12259, 20441, 2606, 56, 2886, 3742, 10433, 1179, 30854, 4764, 20320, 84293, 78457, 8996, 12353, 1419, 140290, 31345, 133, 151206, 65791, 43578, 2043, 9007, 68107,...
[ 0.2244873046875, 0.13037109375, 0.19677734375, 0.008331298828125, 0.0806884765625, 0.1123046875, 0.0203094482421875, 0.0170135498046875, 0.1302490234375, 0.1961669921875, 0.026580810546875, 0.1959228515625, 0.05145263671875, 0.104736328125, 0.02972412109375, 0.1112060546875, 0.172607...
embed
61164934_c1
61164934
fsharp
1
", "Location": { "Latitude": 25.87427, "Longitude": -80.12173 }, "Phone": "(XXX-XXX-XXXX)" }, "Carriers": { "Restaurants": [], "Stores": [] } }, "ETA": "30 minutes" } Test 2: I thought that the cause could be a negative number in my JSON. However, the following didn't work: let handleNegativeValues = JsonSerializerSett...
", "Location": { "Latitude": 25.87427, "Longitude": -80.12173 }, "Phone": "(XXX-XXX-XXXX)" }, "Carriers": { "Restaurants": [], "Stores": [] } }, "ETA": "30 minutes" } Test 2: I thought that the cause could be a negative number in my JSON. However, the following didn't work: let handleNegativeValues = JsonSerializerSett...
[ 0.00860595703125, 0.015625, -0.01361083984375, 0.0006256103515625, 0.0030975341796875, -0.004791259765625, 0.0240478515625, 0.0023193359375, -0.00299072265625, 0.03271484375, -0.007354736328125, 0.006591796875, -0.00323486328125, -0.005126953125, 0.01177978515625, -0.011962890625, 0....
[ 44, 4, 15363, 120639, 2729, 35810, 12, 11653, 19308, 617, 3768, 866, 4021, 21753, 13, 20, 4836, 5, 1530, 160248, 163147, 115469, 205378, 21851, 25388, 590, 474, 10840, 165248, 30967, 1197, 14633, 8647, 15573, 17569, 22304, 5809, 40907, 1401...
[ 0.042999267578125, 0.05792236328125, 0.201416015625, 0.203125, 0.1275634765625, 0.2161865234375, 0.02728271484375, 0.1719970703125, 0.096923828125, 0.05224609375, 0.1507568359375, 0.006500244140625, 0.0699462890625, 0.1383056640625, 0.0233306884765625, 0.05548095703125, 0.0810546875,...
embed
38226698_c0
38226698
fsharp
0
Title: f# - This expression was expected to have type int but here has type &#x27;a -&gt; int Problem title: f# - This expression was expected to have type int but here has type &#x27;a -&gt; int Tags: f%23 Problem: f# - This expression was expected to have type int but here has type 'a -> int I'm tried to work with fu...
f# - This expression was expected to have type int but here has type &#x27;a -&gt; int f# - This expression was expected to have type int but here has type &#x27;a -&gt; int f%23 pstrnode:string lintRowResult:int Declare Array2D.zeroCreate Identify pstrnode.IndexOf Get pstrnode.Substring lintNumberAux1 lintNumberAux2 N...
[ -0.006011962890625, -0.0186767578125, 0.003082275390625, 0.0284423828125, 0.0016021728515625, 0.00567626953125, 0.0128173828125, 0.00014591217041015625, 0.010986328125, -0.0001983642578125, 0.01202392578125, -0.00726318359375, -0.005401611328125, -0.00958251953125, 0.0260009765625, -0....
[ 1238, 4904, 3293, 125195, 509, 84751, 765, 10644, 23, 18, 1284, 3688, 1556, 3768, 11, 1230, 5386, 3742, 915, 9297, 157, 112, 91693, 11508, 12724, 434, 7, 7136, 4288, 25755, 38103, 69253, 304, 397, 80510, 63784, 71257, 39659, 132887, 96472...
[ 0.1444091796875, 0.2125244140625, 0.0203094482421875, 0.2442626953125, 0.037322998046875, 0.1741943359375, 0.005767822265625, 0.1971435546875, 0.1239013671875, 0.1024169921875, 0.07373046875, 0.0750732421875, 0.05389404296875, 0.11669921875, 0.1329345703125, 0.01824951171875, 0.11193...
embed
44425090_c1
44425090
fsharp
1
't exist. Considered "/usr/lib/mono/4.5-api/MathNet.Numerics.exe", but it didn't exist. Considered "/usr/lib/mono/4.5-api/Facades/MathNet.Numerics.winmd", but it didn't exist. Considered "/usr/lib/mono/4.5-api/Facades/MathNet.Numerics.dll", but it didn't exist. Considered "/usr/lib/mono/4.5-api/Facades/MathNet.Numerics...
't exist. Considered "/usr/lib/mono/4.5-api/MathNet.Numerics.exe", but it didn't exist. Considered "/usr/lib/mono/4.5-api/Facades/MathNet.Numerics.winmd", but it didn't exist. Considered "/usr/lib/mono/4.5-api/Facades/MathNet.Numerics.dll", but it didn't exist. Considered "/usr/lib/mono/4.5-api/Facades/MathNet.Numerics...
[ -0.03271484375, 0.03369140625, -0.00049591064453125, 0.00787353515625, 0.019287109375, 0.0030364990234375, 0.0078125, -0.00775146484375, 0.0023956298828125, 0.00970458984375, 0.000812530517578125, -0.0096435546875, -0.0007781982421875, 0.0093994140625, 0.0064697265625, -0.0001869201660...
[ 242, 18, 32316, 137399, 297, 64, 223, 42, 5612, 64176, 104867, 9, 40897, 199450, 24447, 18444, 1991, 28021, 5, 46480, 830, 1284, 442, 15935, 135518, 12649, 9494, 54686, 71, 1181, 25, 44, 33086, 683, 10519, 14849, 441, 8152, 740, 509, 95...
[ 0.039031982421875, 0.1446533203125, 0.26953125, 0.10589599609375, 0.01336669921875, 0.010040283203125, 0.03594970703125, 0.025177001953125, 0.187255859375, 0.225830078125, 0.233154296875, 0.009552001953125, 0.1707763671875, 0.17529296875, 0.276611328125, 0.1275634765625, 0.1688232421...
embed
28773518_c0
28773518
fsharp
0
Title: F#: type matching on DU cases, make this slightly more generic Problem title: F#: type matching on DU cases, make this slightly more generic Tags: discriminated-union, expression, f%23 Problem: F#: type matching on DU cases, make this slightly more generic In this previous question , there is a lovely solution t...
F#: type matching on DU cases, make this slightly more generic F#: type matching on DU cases, make this slightly more generic discriminated-union expression f%23 Expr Lambdas NewUnionCase Microsoft.FSharp.Reflection.FSharpValue.PreComputeUnionTagReader uci.DeclaringType uci.Tag Invalid Dog Spaniel Shepherd Cat Tabby Ma...
[ -0.016845703125, 0.0089111328125, 0.00084686279296875, -0.00787353515625, 0.00186920166015625, -0.019287109375, -0.00567626953125, 0.01251220703125, 0.0128173828125, -0.0166015625, -0.003082275390625, 0.00860595703125, 0.020751953125, -0.01953125, 0.00604248046875, 0.000469207763671875...
[ 563, 4904, 12, 10644, 14858, 214, 14614, 50218, 3249, 903, 161549, 1286, 189534, 55970, 3674, 87046, 125195, 1238, 3949, 3742, 60075, 122930, 1124, 2356, 147547, 441, 6991, 7244, 3467, 254, 190015, 133, 856, 50770, 19273, 108161, 66448, 31345...
[ 0.1072998046875, 0.198486328125, 0.052154541015625, 0.2275390625, 0.2249755859375, 0.059295654296875, 0.169677734375, 0.17529296875, 0.041412353515625, 0.044342041015625, 0.09869384765625, 0.064453125, 0.1663818359375, 0.2042236328125, 0.0241851806640625, 0.1802978515625, 0.214599609...
embed
40838357_c0
40838357
fsharp
0
Title: FsXaml.Wpf.TypeProvider cannot be loaded Problem title: FsXaml.Wpf.TypeProvider cannot be loaded Tags: f%23, wpf, mvvm, fsxaml, fsharp.viewmodule Problem: FsXaml.Wpf.TypeProvider cannot be loaded I'm trying to use WPF with F#. I've created a project using the F# Empty Windows App template (in fact, I've created ...
FsXaml.Wpf.TypeProvider cannot be loaded FsXaml.Wpf.TypeProvider cannot be loaded f%23 wpf mvvm fsxaml fsharp.viewmodule HRESULT FsXaml.Wpf.TypeProvider FsXaml.Wpf.2.1.0 net45 FsXaml.Wpf.TypeProvider.dll Assembly TypeProviderAssemblyAttribute Could Operation Exception ViewModels FSharp.ViewModule FsXaml MainView XAML M...
[ 0.0177001953125, 0.02880859375, -0.0167236328125, 0.0084228515625, -0.00007152557373046875, -0.00191497802734375, 0.02099609375, -0.0177001953125, 0.01458740234375, -0.035400390625, 0.01104736328125, -0.0118408203125, 0.007293701171875, -0.0162353515625, 0.0025177001953125, 0.009521484...
[ 563, 7, 1542, 302, 141, 1456, 39557, 196707, 177997, 62160, 53418, 72367, 1238, 3949, 3742, 148, 53962, 39, 3798, 7237, 89280, 254, 22751, 83279, 34465, 82643, 102107, 2043, 4633, 1181, 151169, 60457, 89845, 191145, 191147, 102203, 5443, 6392...
[ 0.11376953125, 0.06414794921875, 0.0894775390625, 0.1357421875, 0.139404296875, 0.048614501953125, 0.2105712890625, 0.202880859375, 0.2232666015625, 0.172119140625, 0.1527099609375, 0.2161865234375, 0.061309814453125, 0.00604248046875, 0.1138916015625, 0.004730224609375, 0.0766601562...
embed
33539665_c0
33539665
fsharp
0
Title: How to improve performance of bulk SELECT query using SQLite in .NET? Problem title: How to improve performance of bulk SELECT query using SQLite in .NET? Tags: f%23, deserialization, sqlite, .net Problem: How to improve performance of bulk SELECT query using SQLite in .NET? I have a large (long) table of data s...
How to improve performance of bulk SELECT query using SQLite in .NET? How to improve performance of bulk SELECT query using SQLite in .NET? f%23 deserialization sqlite .net SQLite How SELECT NET System.Data.SQLite SQLiteConnection Data Source Temp test.db Version Read Only cnxn.Open ResizeArray SQLiteCommand AAA cmd.Ex...
[ 0.0123291015625, 0.00836181640625, 0.004119873046875, -0.0012664794921875, -0.0164794921875, -0.018798828125, -0.01446533203125, -0.021484375, 0.0035400390625, -0.019775390625, 0.0186767578125, -0.013671875, -0.02294921875, -0.01611328125, -0.0177001953125, 0.0031890869140625, 0.0064...
[ 11249, 52295, 23718, 11876, 92, 6755, 144832, 41, 1294, 80866, 1486, 17777, 17368, 23, 5, 1238, 3949, 3742, 8, 184, 51626, 47691, 91, 95255, 67, 1179, 12353, 137989, 158897, 235603, 11809, 77641, 37446, 3034, 48073, 40647, 4764, 87293, 1032...
[ 0.054473876953125, 0.1773681640625, 0.158447265625, 0.148681640625, 0.0831298828125, 0.1285400390625, 0.2449951171875, 0.12353515625, 0.06475830078125, 0.177978515625, 0.2467041015625, 0.1761474609375, 0.0592041015625, 0.02874755859375, 0.01593017578125, 0.037994384765625, 0.02645874...
embed
30514697_c0
30514697
fsharp
0
Title: Send toast from F# Problem title: Send toast from F# Tags: windows-runtime, windows-8, f%23 Problem: Send toast from F# I would like to send a ToastNotification in the Windows 8.1 style from a F# console application. Here is my code: let gotMessage message = let xdoc = ToastNotificationManager.GetTemplateContent...
Send toast from F# Send toast from F# windows-runtime windows-8 f%23 System.IO.FileNotFoundException F# Send ToastNotification ToastNotificationManager.GetTemplateContent ToastTemplateType.ToastText03 xdoc.ChildNodes uint32 AppendChild xdoc.CreateTextNode Message toast.add_Activated Ein Ausnahmefehler Typs Ineedtea.Ser...
[ 0.0196533203125, 0.01904296875, 0.000911712646484375, -0.007415771484375, -0.0069580078125, 0.0093994140625, -0.0068359375, 0.01611328125, -0.008544921875, -0.0301513671875, 0.00003981590270996094, 0.002166748046875, -0.005584716796875, 0.0181884765625, 0.017822265625, 0.00430297851562...
[ 24044, 47, 4438, 1295, 563, 4904, 54825, 16428, 17376, 1238, 3742, 12353, 17780, 174350, 122116, 27591, 7030, 19279, 63928, 717, 41274, 12662, 33730, 159065, 19309, 11935, 25352, 196707, 7763, 174379, 9513, 29713, 102656, 5021, 4288, 6460, 3611...
[ 0.1387939453125, 0.1781005859375, 0.2392578125, 0.155517578125, 0.14501953125, 0.22314453125, 0.110595703125, 0.0223541259765625, 0.2012939453125, 0.0687255859375, 0.145263671875, 0.071533203125, 0.161376953125, 0.167724609375, 0.160400390625, 0.12109375, 0.093017578125, 0.05615234...
embed
54261302_c0
54261302
fsharp
0
Title: How to use a line draiwng algorithm with min/max? F# Problem title: How to use a line draiwng algorithm with min/max? F# Tags: line, point, f%23, algorithm Problem: How to use a line draiwng algorithm with min/max? F# Sorry if this question is not suited for this site, but I don't know where else too ask it. I'm...
How to use a line draiwng algorithm with min/max? F# How to use a line draiwng algorithm with min/max? F# line point f%23 algorithm How System Literal CharacterN ConsoleKey.W CharacterE ConsoleKey.D CharacterS ConsoleKey.S CharacterW ConsoleKey.A WeaponN ConsoleKey.UpArrow WeaponE ConsoleKey.RightArrow WeaponS ConsoleK...
[ -0.01043701171875, 0.0033416748046875, 0.0284423828125, 0.0118408203125, -0.006561279296875, 0.01177978515625, 0.025390625, -0.001708984375, 0.0167236328125, -0.0010528564453125, -0.02734375, 0.0225830078125, -0.004058837890625, -0.00933837890625, -0.0038604736328125, -0.034912109375, ...
[ 11249, 4527, 13315, 8167, 14, 449, 234873, 678, 881, 64, 24084, 4904, 47, 434, 563, 6275, 1238, 3949, 3742, 12353, 135940, 21656, 2263, 839, 1657, 40777, 162429, 1456, 397, 11, 5416, 53234, 7614, 15555, 1401, 41097, 133, 172, 31345, 26824...
[ 0.07373046875, 0.12158203125, 0.196533203125, 0.1680908203125, 0.07098388671875, 0.1678466796875, 0.2320556640625, 0.07373046875, 0.230224609375, 0.093505859375, 0.1756591796875, 0.081787109375, 0.04595947265625, 0.040283203125, 0.04888916015625, 0.121337890625, 0.069580078125, 0.0...
embed
12807109_c0
12807109
fsharp
0
Title: Does NuGet Update UI work at all? Problem title: Does NuGet Update UI work at all? Tags: f%23, nuget-package Problem: Does NuGet Update UI work at all? It just baffles me that even though upddates show up in the Manage NuGet Packages UI for a solution, clicking the update button results in a process that looks l...
Does NuGet Update UI work at all? Does NuGet Update UI work at all? f%23 nuget-package version DS_Benchmark Does NuGet Update Added FSharpx.Core.1.6.83.nupkg FSharpx.Core.1.6.83 Successfully FSharpx.Core Looking Updating packages.config Skipping Removed FreebaseTypeProvider.htm Users Jack Documents GitHub Does NuGet Up...
[ -0.020751953125, 0.03125, 0.00897216796875, -0.02490234375, -0.0003414154052734375, 0.00860595703125, -0.00482177734375, 0.004150390625, 0.01007080078125, 0.055908203125, -0.00927734375, 0.01708984375, -0.01275634765625, -0.01611328125, 0.03466796875, 0.01611328125, 0.02978515625, ...
[ 101790, 1429, 724, 126, 28641, 111481, 4488, 756, 32, 1238, 3742, 315, 3794, 29102, 11389, 41869, 45901, 10015, 3467, 88684, 50886, 122336, 17168, 19, 8517, 144053, 93774, 157268, 10091, 56464, 98169, 153837, 20491, 181139, 5153, 37382, 196707,...
[ 0.038360595703125, 0.2218017578125, 0.199951171875, 0.20263671875, 0.231689453125, 0.2156982421875, 0.1534423828125, 0.11669921875, 0.002593994140625, 0.0316162109375, 0.07647705078125, 0.1827392578125, 0.2425537109375, 0.132568359375, 0.06964111328125, 0.040985107421875, 0.062194824...
embed
39969301_c0
39969301
fsharp
0
Title: How to build proper data structure in F#? Problem title: How to build proper data structure in F#? Tags: f%23 Problem: How to build proper data structure in F#? I'm trying to build a data structure, but I am unsure of how to finish it off. I am also unsure if I have the right model for this case. I want to take ...
How to build proper data structure in F#? How to build proper data structure in F#? f%23 How Name United States Short USA ParentId President Pres Senate Sen House Hou State Sta Governor Gov City Cit Mayor May Not Maybe Government Abrreviation Parent Child Select_AllGovStructures Select.Select_Government.Create Admin.co...
[ 0.000881195068359375, 0.01019287109375, -0.025146484375, 0.001739501953125, 0.0107421875, 0.0189208984375, -0.0052490234375, -0.012939453125, 0.0147705078125, -0.039306640625, 0.0279541015625, -0.01202392578125, 0.00408935546875, 0.00311279296875, 0.00164031982421875, -0.0169677734375,...
[ 11249, 47, 45367, 27798, 2053, 45646, 23, 563, 4904, 32, 1238, 3949, 3742, 15757, 14098, 46684, 82990, 4602, 170918, 568, 71, 34202, 20703, 43953, 4311, 13038, 45471, 22836, 6512, 62493, 515, 6406, 71758, 104610, 4347, 11205, 83425, 92416, ...
[ 0.09832763671875, 0.040771484375, 0.2098388671875, 0.18701171875, 0.2017822265625, 0.271240234375, 0.07403564453125, 0.178466796875, 0.27392578125, 0.045135498046875, 0.0982666015625, 0.042694091796875, 0.07080078125, 0.11669921875, 0.0762939453125, 0.1068115234375, 0.1258544921875, ...
embed
44938613_c1
44938613
fsharp
1
: Operation failed. The error text has been print the error stream. To return the corresponding FSharpErrorInfo use the EvalInteractionNonThrowing, EvalScriptNonThrowing or EvalExpressionNonThrowing at Microsoft.FSharp.Compiler.Interactive.Shell.FsiEvaluationSession.commitResult[a,b](FSharpChoice`2 res) at Microsoft.FS...
: Operation failed. The error text has been print the error stream. To return the corresponding FSharpErrorInfo use the EvalInteractionNonThrowing, EvalScriptNonThrowing or EvalExpressionNonThrowing at Microsoft.FSharp.Compiler.Interactive.Shell.FsiEvaluationSession.commitResult[a,b](FSharpChoice`2 res) at Microsoft.FS...
[ -0.01141357421875, 0.01116943359375, 0.005950927734375, -0.0038604736328125, 0.0169677734375, -0.0240478515625, 0.01202392578125, -0.012939453125, -0.01422119140625, 0.0220947265625, -0.00157928466796875, 0.01422119140625, 0.018798828125, -0.01153564453125, 0.0198974609375, -0.00503540...
[ 152, 102203, 165523, 5, 581, 18499, 7986, 1556, 2809, 28412, 75973, 30646, 42518, 93774, 3467, 254, 18468, 31611, 93147, 4527, 241, 1405, 44851, 44713, 59881, 15555, 214, 147845, 178752, 7244, 36381, 108161, 79544, 919, 172, 27494, 90, 7, 7...
[ 0.058746337890625, 0.2227783203125, 0.2391357421875, 0.004547119140625, 0.010467529296875, 0.2083740234375, 0.17626953125, 0.087158203125, 0.0860595703125, 0.1683349609375, 0.1986083984375, 0.146240234375, 0.0621337890625, 0.114501953125, 0.2178955078125, 0.18994140625, 0.13732910156...
embed
27924235_c0
27924235
fsharp
0
Title: F# : How to provide fst for tuples, triples and quadruples without sacrifying runtime performance Problem title: F# : How to provide fst for tuples, triples and quadruples without sacrifying runtime performance Tags: f%23, inline, tuples Problem: F# : How to provide fst for tuples, triples and quadruples without...
F# : How to provide fst for tuples, triples and quadruples without sacrifying runtime performance F# : How to provide fst for tuples, triples and quadruples without sacrifying runtime performance f%23 inline tuples How FS0001 Type Expecting Tuple o.fst F# : How to provide fst for tuples, triples and quadruples without ...
[ 0.01165771484375, 0.0130615234375, 0.0225830078125, -0.00775146484375, 0.000804901123046875, -0.022216796875, -0.0225830078125, -0.0052490234375, 0.007537841796875, -0.046630859375, 0.00799560546875, 0.015869140625, -0.005584716796875, 0.003631591796875, 0.00506591796875, 0.00515747070...
[ 563, 4904, 11249, 22691, 1238, 271, 100, 370, 99726, 162738, 2799, 186514, 1577, 15490, 30823, 11675, 6032, 23718, 3742, 23, 2256, 93774, 188735, 60457, 60075, 24762, 1371, 8705, 36, 420, 136, 62822, 116, 80854, 2208, 71975, 678, 138, 3642,...
[ 0.069091796875, 0.14013671875, 0.0316162109375, 0.16748046875, 0.1094970703125, 0.1455078125, 0.062225341796875, 0.1466064453125, 0.20703125, 0.2049560546875, 0.1279296875, 0.1483154296875, 0.053253173828125, 0.06536865234375, 0.04296875, 0.039154052734375, 0.0399169921875, 0.12231...
embed
74800729_c0
74800729
fsharp
0
Title: How to set positional parameters in parameter sets? Problem title: How to set positional parameters in parameter sets? Tags: parameter-sets, f%23, positional-parameter, powershell Problem: How to set positional parameters in parameter sets? I wrote a function with four parameters. The first two parameters are ma...
How to set positional parameters in parameter sets? How to set positional parameters in parameter sets? parameter-sets f%23 positional-parameter powershell How Payload Algorithm Secret FilePath Parameter Position Mandatory ValueFromPipelineByPropertyName ValidateNotNullOrEmpty Hashtable HMAC Encryption SHA256 Parameter...
[ 0.0002498626708984375, 0.00592041015625, -0.006072998046875, 0.0096435546875, -0.0283203125, -0.01434326171875, 0.00982666015625, -0.01239013671875, -0.0029296875, 0.035888671875, 0.00225830078125, 0.0252685546875, 0.01556396484375, 0.01055908203125, -0.006011962890625, -0.009765625, ...
[ 11249, 47, 5423, 19069, 289, 171859, 7, 23, 3509, 1238, 3949, 3742, 6276, 29089, 14537, 128019, 17166, 63033, 109847, 2783, 18337, 39008, 42724, 683, 10519, 1720, 99428, 86099, 190060, 26338, 1264, 163612, 25447, 134332, 162087, 22819, 46592, ...
[ 0.09429931640625, 0.0256805419921875, 0.2152099609375, 0.2352294921875, 0.1739501953125, 0.260498046875, 0.0858154296875, 0.0732421875, 0.1719970703125, 0.00531005859375, 0.0126953125, 0.120361328125, 0.1309814453125, 0.150634765625, 0.052886962890625, 0.1884765625, 0.1314697265625, ...
embed
44987322_c0
44987322
fsharp
0
Title: fsharp compilation fails under Mono with an NuGet error Problem title: fsharp compilation fails under Mono with an NuGet error Tags: nuget, mono, f%23 Problem: fsharp compilation fails under Mono with an NuGet error Update. With Matt Ward's help I traced this to a bad config file. The following ~/.config/NuGet/N...
fsharp compilation fails under Mono with an NuGet error fsharp compilation fails under Mono with an NuGet error nuget mono f%23 Mono NuGet utf-8 nuget.org www.nuget.org api.nuget.org index.json mono-5.2.0.196-tarball nuget.exe fsharp compilation fails under Mono with an NuGet error Update. With Matt Ward's help I trace...
[ -0.0230712890625, 0.0289306640625, -0.000347137451171875, -0.036376953125, 0.0076904296875, -0.00054168701171875, -0.0016021728515625, -0.0145263671875, -0.0198974609375, 0.014404296875, -0.009765625, -0.005828857421875, 0.000522613525390625, -0.01141357421875, 0.02685546875, -0.000926...
[ 1238, 89280, 254, 98352, 35782, 1379, 77879, 678, 1429, 724, 126, 18499, 315, 3794, 22460, 3949, 3742, 486, 420, 17376, 1478, 539, 31470, 63262, 170, 1681, 158296, 102014, 11648, 867, 12126, 46480, 28641, 39162, 5550, 4358, 144851, 6494, 15...
[ 0.15869140625, 0.2281494140625, 0.18701171875, 0.21240234375, 0.15380859375, 0.1641845703125, 0.2408447265625, 0.061309814453125, 0.194580078125, 0.1307373046875, 0.1417236328125, 0.1455078125, 0.1776123046875, 0.193603515625, 0.2080078125, 0.014373779296875, 0.1005859375, 0.022491...
embed
23898092_c0
23898092
fsharp
0
Title: Assigning Property values using System.Reflection in F# Problem title: Assigning Property values using System.Reflection in F# Tags: f%23 Problem: Assigning Property values using System.Reflection in F# I have the following lines of code in C#: internal static object AssignMatchingPropertyValues(object sourceObj...
Assigning Property values using System.Reflection in F# Assigning Property values using System.Reflection in F# f%23 System.Reflection Assigning Property AssignMatchingPropertyValues Type sourceObject.GetType PropertyInfo sourceType.GetProperties BindingFlags.Public BindingFlags.Instance targetObject.GetType GetPropert...
[ 0.00897216796875, 0.0089111328125, 0.0179443359375, -0.01300048828125, -0.0186767578125, -0.025634765625, -0.0281982421875, 0.0047607421875, -0.00014781951904296875, 0.0146484375, 0.02880859375, 0.025390625, 0.00518798828125, 0.0086669921875, 0.005126953125, 0.000690460205078125, -0....
[ 1301, 31304, 206984, 142424, 17368, 12353, 190015, 133, 10763, 563, 4904, 1238, 3742, 79520, 59207, 1264, 42272, 60457, 31344, 75161, 196707, 93147, 1843, 33770, 3668, 179947, 116071, 30388, 20779, 126, 856, 19659, 62346, 16195, 1434, 50770, 18...
[ 0.06683349609375, 0.218017578125, 0.22119140625, 0.166259765625, 0.0219573974609375, 0.1339111328125, 0.230224609375, 0.210205078125, 0.1123046875, 0.1453857421875, 0.21630859375, 0.04412841796875, 0.09515380859375, 0.0948486328125, 0.054962158203125, 0.10888671875, 0.1114501953125, ...
embed
69957608_c0
69957608
fsharp
0
Title: F# list pattern matching limitations or just bad writing? Problem title: F# list pattern matching limitations or just bad writing? Tags: f%23, pattern-matching Problem: F# list pattern matching limitations or just bad writing? Given some CreditScoreInput : type CreditScoreInput = { id: string; score: string; yea...
F# list pattern matching limitations or just bad writing? F# list pattern matching limitations or just bad writing? f%23 pattern-matching CreditScoreInput CUSTOMER001 Medium CUSTOMER002 CUSTOMER003 Bad CUSTOMER004 Good CUSTOMER005 group:string g.Length input1 input2 Two More NOT List.groupBy i.id List.forall List.iter ...
[ -0.02001953125, 0.007537841796875, 0.0096435546875, -0.00677490234375, 0.0036163330078125, -0.0005340576171875, -0.0262451171875, 0.002471923828125, 0.0220947265625, 0.037109375, -0.00025177001953125, 0.0194091796875, 0.028076171875, -0.0125732421875, -0.005615234375, 0.0181884765625, ...
[ 563, 4904, 5303, 103510, 14858, 205969, 7, 6494, 32562, 1238, 3742, 98753, 68021, 30854, 7077, 36587, 50407, 34479, 174413, 97259, 123276, 12745, 135401, 18621, 130171, 21115, 91693, 706, 449, 107730, 32964, 5455, 86725, 32036, 51588, 532, 5584...
[ 0.1087646484375, 0.18505859375, 0.1907958984375, 0.207763671875, 0.176025390625, 0.2196044921875, 0.0303955078125, 0.0958251953125, 0.1363525390625, 0.0743408203125, 0.10455322265625, 0.1807861328125, 0.1632080078125, 0.1253662109375, 0.0838623046875, 0.0654296875, 0.1201171875, 0....
embed
13839336_c0
13839336
fsharp
0
Title: Adding stuff to a list in f# Problem title: Adding stuff to a list in f# Tags: f%23 Problem: Adding stuff to a list in f# I'm doing a project called "2D Shape editor" in f#. I have done this project in c# before so I've got all the logics for how to connect two shapes. So I know that i will need a list to hold a...
Adding stuff to a list in f# Adding stuff to a list in f# f%23 Adding ShapeList:List RectangleZ listan:List element:RectangleZ ShapeList Method element::ShapeList Other btn.Click.Add Button x:int y:int SolidBrush Color.Black obj.x obj.y obj.width obj.height obj.thisColor Color.FromArgb obj.draw paper:Graphics paper.Fil...
[ -0.005706787109375, 0.01483154296875, 0.00188446044921875, -0.00007867813110351562, 0.0030364990234375, 0.019287109375, -0.00970458984375, -0.0036163330078125, 0.0091552734375, -0.01214599609375, 0.03466796875, -0.01373291015625, 0.007354736328125, 0.00002276897430419922, 0.0061340332031...
[ 62, 59725, 41884, 47, 5303, 23, 1238, 4904, 10, 3742, 7224, 1081, 154663, 14525, 133, 1511, 5875, 19, 12830, 109217, 74644, 40798, 181671, 284, 4028, 144037, 1022, 4288, 113, 95823, 86532, 51193, 97732, 995, 170, 146984, 1484, 74251, 15122,...
[ 0.10626220703125, 0.08306884765625, 0.138427734375, 0.08465576171875, 0.1995849609375, 0.001708984375, 0.1451416015625, 0.1761474609375, 0.00189208984375, 0.0933837890625, 0.1475830078125, 0.07183837890625, 0.193603515625, 0.07696533203125, 0.07269287109375, 0.04913330078125, 0.07177...
embed