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
21990024_c1
21990024
fsharp
1
there: open System.Xml.Linq open FSharp.Data type myXmlType = XmlProvider<"""<?xml version="1.0" encoding="UTF-16"?><ROOT><level1 name="level1Name1"><level2 name="level2Name1" a="8" b="104" /><level2 name="level2Name2" a="85" b="140" /></level1><level1 name="level1Name2"><level2 name="level2Name3" a="50" b="500" /><le...
there: open System.Xml.Linq open FSharp.Data type myXmlType = XmlProvider<"""<?xml version="1.0" encoding="UTF-16"?><ROOT><level1 name="level1Name1"><level2 name="level2Name1" a="8" b="104" /><level2 name="level2Name2" a="85" b="140" /></level1><level1 name="level1Name2"><level2 name="level2Name3" a="50" b="500" /><le...
[ 0.0107421875, 0.03369140625, -0.005523681640625, 0.009521484375, 0.005279541015625, 0.022216796875, -0.00299072265625, -0.00946044921875, 0.01043701171875, -0.013671875, 0.030029296875, 0.0004291534423828125, 0.0115966796875, -0.00958251953125, -0.00946044921875, 0.0040283203125, 0.0...
[ 2685, 12, 9803, 12353, 5, 1542, 7237, 866, 44982, 93774, 3467, 254, 137989, 10644, 759, 196707, 2203, 1193, 177997, 62160, 131492, 11389, 102107, 22, 587, 17632, 919, 13528, 74047, 162727, 67919, 418, 163612, 304, 1019, 66947, 12951, 43900, ...
[ 0.2398681640625, 0.1260986328125, 0.1593017578125, 0.1739501953125, 0.033203125, 0.177490234375, 0.255126953125, 0.11376953125, 0.212890625, 0.1343994140625, 0.2491455078125, 0.2396240234375, 0.167724609375, 0.14453125, 0.187255859375, 0.31396484375, 0.031219482421875, 0.1470947265...
embed
49619467_c1
49619467
fsharp
1
Requests = waitUntilUnderLimit mostRecentRequestsTimeSent let rightNow = DateTimeOffset.UtcNow let! response = keyedRequest.Request |> httpClient.SendAsync |> Async.AwaitTask replyChannel.Reply { Key = keyedRequest.Key; Response = response } return! messageLoop (seq { yield rightNow yield! remainingRecentRequests }) } ...
Requests = waitUntilUnderLimit mostRecentRequestsTimeSent let rightNow = DateTimeOffset.UtcNow let! response = keyedRequest.Request |> httpClient.SendAsync |> Async.AwaitTask replyChannel.Reply { Key = keyedRequest.Key; Response = response } return! messageLoop (seq { yield rightNow yield! remainingRecentRequests }) } ...
[ -0.01177978515625, 0.02880859375, 0.01513671875, -0.031982421875, -0.0037078857421875, -0.002105712890625, 0.0067138671875, -0.010986328125, 0.01055908203125, -0.007659912109375, 0.0296630859375, 0.015869140625, -0.0079345703125, 0.0084228515625, 0.010986328125, 0.0228271484375, 0.02...
[ 853, 75616, 7, 2203, 40485, 3675, 7944, 866, 6836, 2684, 4332, 16797, 70059, 2517, 2633, 7108, 137594, 25512, 150369, 3509, 106742, 38, 57553, 22799, 297, 1621, 150, 3611, 12654, 238, 634, 217, 9874, 1042, 75836, 127008, 62479, 26824, 16242...
[ 0.13818359375, 0.2802734375, 0.0992431640625, 0.06695556640625, 0.2294921875, 0.1229248046875, 0.1671142578125, 0.07281494140625, 0.160400390625, 0.0960693359375, 0.06402587890625, 0.154541015625, 0.16064453125, 0.1488037109375, 0.1102294921875, 0.1573486328125, 0.2364501953125, 0....
embed
6449043_c0
6449043
fsharp
0
Title: Aggregate functions in Seq module Problem title: Aggregate functions in Seq module Tags: seq, dictionary, f%23 Problem: Aggregate functions in Seq module I am trying to add some additional aggregate functions to the Seq module. I was looking at the implementation of some of the functions listed here: https://git...
Aggregate functions in Seq module Aggregate functions in Seq module seq dictionary f%23 Aggregate Seq Aggregate functions in Seq module I am trying to add some additional aggregate functions to the Seq module. I was looking at the implementation of some of the functions listed here: https://github.com/fsharp/fsharp/blo...
[ 0.0203857421875, 0.01324462890625, -0.0059814453125, 0.0036468505859375, -0.003265380859375, -0.030517578125, -0.00439453125, 0.017578125, -0.005828857421875, -0.002410888671875, -0.008056640625, 0.037353515625, 0.004913330078125, 0.02001953125, 0.0167236328125, 0.005859375, -0.01458...
[ 12342, 68722, 2182, 32354, 503, 864, 88996, 23, 40, 45, 10763, 6635, 3742, 15190, 78301, 197564, 13, 208124, 32102, 89280, 3467, 254, 50886, 184, 17447, 164779, 30646, 944, 1466, 525, 28271, 61475, 33662, 720, 5608, 959, 11814, 678, 21334, ...
[ 0.05865478515625, 0.253173828125, 0.1248779296875, 0.235107421875, 0.1351318359375, 0.2376708984375, 0.200927734375, 0.010009765625, 0.090576171875, 0.06396484375, 0.149169921875, 0.0875244140625, 0.060302734375, 0.058380126953125, 0.0802001953125, 0.268310546875, 0.1119384765625, ...
embed
44855044_c0
44855044
fsharp
0
Title: Is it possible to instantiate a SQL connection via a `SqlDataConnection` that is defined in a referenced assembly? Problem title: Is it possible to instantiate a SQL connection via a `SqlDataConnection` that is defined in a referenced assembly? Tags: sql-server, f%23 Problem: Is it possible to instantiate a SQL ...
Is it possible to instantiate a SQL connection via a `SqlDataConnection` that is defined in a referenced assembly? Is it possible to instantiate a SQL connection via a `SqlDataConnection` that is defined in a referenced assembly? sql-server f%23 SQL SqlDataConnection DatabaseContext ImportedSchema.GetDataContext GetDat...
[ 0.020751953125, 0.0191650390625, 0.00482177734375, 0.0380859375, -0.01263427734375, -0.01177978515625, -0.0216064453125, -0.0299072265625, -0.0084228515625, -0.048828125, -0.020751953125, -0.030029296875, 0.0057373046875, 0.0003528594970703125, -0.013916015625, -0.000029802322387695312...
[ 2071, 442, 7722, 34648, 101426, 80866, 94878, 1829, 294, 99247, 137989, 235603, 1830, 61924, 91067, 10, 89845, 38526, 91, 39642, 1238, 3949, 3742, 159, 187781, 22829, 92966, 25452, 11883, 724, 126, 11935, 20779, 13452, 70541, 16265, 158897, 6...
[ 0.067138671875, 0.0304107666015625, 0.1890869140625, 0.1632080078125, 0.193115234375, 0.259765625, 0.2303466796875, 0.08282470703125, 0.034149169921875, 0.2010498046875, 0.18310546875, 0.2059326171875, 0.119384765625, 0.1737060546875, 0.232421875, 0.010650634765625, 0.1658935546875, ...
embed
26561507_c0
26561507
fsharp
0
Title: Maximum / minimum value of type in F# Problem title: Maximum / minimum value of type in F# Tags: minimum, .net, f%23, max, unchecked Problem: Maximum / minimum value of type in F# Unchecked.defaultof<'T> generates the default value for any type. Is there such a generic function to generate the maximum / minimum ...
Maximum / minimum value of type in F# Maximum / minimum value of type in F# minimum .net f%23 max unchecked Maximum Unchecked.defaultof InternalArrDiffMax Array.mapi s.Length Array.maxBy Generic Maximum / minimum value of type in F# Unchecked.defaultof<'T> generates the default value for any type. Is there such a gener...
[ 0.01123046875, 0.00144195556640625, 0.0303955078125, -0.005218505859375, -0.0147705078125, -0.019287109375, 0.006866455078125, -0.0028839111328125, 0.01092529296875, 0.004425048828125, -0.022705078125, -0.0023651123046875, 0.0174560546875, 0.006622314453125, 0.02783203125, -0.003280639...
[ 46540, 316, 248, 15440, 34292, 111, 10644, 23, 563, 4904, 1179, 1238, 3742, 18389, 51, 78292, 992, 214810, 4390, 106745, 32920, 71346, 69253, 1434, 24084, 75358, 88342, 618, 139392, 114977, 2499, 6044, 189534, 32354, 38132, 10422, 80234, 3444...
[ 0.1895751953125, 0.1094970703125, 0.112548828125, 0.21875, 0.184814453125, 0.022796630859375, 0.1959228515625, 0.033538818359375, 0.144775390625, 0.2335205078125, 0.1171875, 0.07720947265625, 0.129638671875, 0.192626953125, 0.08251953125, 0.1715087890625, 0.0736083984375, 0.1879882...
embed
6061843_c0
6061843
fsharp
0
Title: Breadth-first Search in F# (BFS) Problem title: Breadth-first Search in F# (BFS) Tags: algorithm, breadth-first-search, f%23 Problem: Breadth-first Search in F# (BFS) I want to implement search using BFS . The Algorithm say that i must use a queue to get FIFO effect. I read Chris Okasaki's Purely Functional Data...
Breadth-first Search in F# (BFS) Breadth-first Search in F# (BFS) algorithm breadth-first-search f%23 Breadth-first Search BFS List.rev EMPTY x::f Tree Node Leaf List.fold Breadth-first Search in F# (BFS) I want to implement search using BFS . The Algorithm say that i must use a queue to get FIFO effect. I read Chris O...
[ 0.0201416015625, 0.029052734375, 0.000881195068359375, 0.03076171875, -0.009033203125, -0.005859375, -0.0218505859375, -0.036376953125, -0.0177001953125, -0.00909423828125, 0.00885009765625, -0.00335693359375, -0.00064849853515625, 0.00604248046875, -0.0146484375, 0.0000829696655273437...
[ 6499, 712, 927, 13448, 271, 33086, 563, 4904, 571, 36381, 23, 234873, 179967, 86250, 1238, 3949, 3742, 335, 32036, 65381, 113926, 27143, 1022, 420, 101344, 438, 112, 2407, 42822, 3444, 29479, 33938, 17368, 109847, 2783, 18337, 5154, 17, 811...
[ 0.14892578125, 0.10626220703125, 0.1192626953125, 0.147705078125, 0.06695556640625, 0.2420654296875, 0.1322021484375, 0.206787109375, 0.07684326171875, 0.250244140625, 0.01055908203125, 0.1949462890625, 0.19091796875, 0.2401123046875, 0.06158447265625, 0.0240631103515625, 0.139648437...
embed
47609221_c1
47609221
fsharp
1
Banned from use by enforcers of your rank for obvious reasons, a smaller, compact version of what they called a 'nuclear bomb' in the days of old";iSpace=2}; let bomb0 = {name ="Clairvoyance";bVal=0.0;dType=General;info="Its explosion reveals the truth behind items"; iSpace=1} let bombinit = let bomblist = [bomb1;bomb2...
Banned from use by enforcers of your rank for obvious reasons, a smaller, compact version of what they called a 'nuclear bomb' in the days of old";iSpace=2}; let bomb0 = {name ="Clairvoyance";bVal=0.0;dType=General;info="Its explosion reveals the truth behind items"; iSpace=1} let bombinit = let bomblist = [bomb1;bomb2...
[ -0.01495361328125, 0.01385498046875, 0.0245361328125, 0.0208740234375, 0.006500244140625, 0.005523681640625, -0.01220703125, 0.0015411376953125, 0.0223388671875, 0.0172119140625, 0.0128173828125, 0.0196533203125, 0.0242919921875, -0.0203857421875, -0.007781982421875, -0.002288818359375...
[ 5458, 14534, 1295, 4527, 390, 22, 50930, 4295, 111, 935, 30648, 162520, 89397, 164917, 94928, 11389, 35839, 539, 119488, 54330, 10332, 141012, 2389, 11627, 143, 481, 68153, 7154, 42272, 99929, 196707, 159342, 7319, 24649, 6889, 122273, 85027, ...
[ 0.166259765625, 0.1640625, 0.1160888671875, 0.1568603515625, 0.045806884765625, 0.0167388916015625, 0.1785888671875, 0.06689453125, 0.0242919921875, 0.00640869140625, 0.18359375, 0.1064453125, 0.0628662109375, 0.0877685546875, 0.1207275390625, 0.057403564453125, 0.015411376953125, ...
embed
25605130_c0
25605130
fsharp
0
Title: Testing F# async workflows with xUnit.net&#x27;s Task support Problem title: Testing F# async workflows with xUnit.net&#x27;s Task support Tags: xunit.net, workflow, unit-testing, f%23, asynchronous Problem: Testing F# async workflows with xUnit.net's Task support I'm writing F# code and tests in xUnit 1.9 . For...
Testing F# async workflows with xUnit.net&#x27;s Task support Testing F# async workflows with xUnit.net&#x27;s Task support xunit.net workflow unit-testing f%23 asynchronous NEventStore Testing xUnit.net Task Async Fact Can InMemory NesGateway.createInMemory Async.RunSynchronously YUCK CounterClockWise Testing F# async...
[ 0.0019073486328125, 0.006317138671875, 0.006195068359375, -0.021240234375, -0.0033111572265625, 0.004608154296875, 0.000377655029296875, -0.01043701171875, 0.004425048828125, 0.00921630859375, 0.000637054443359375, 0.0223388671875, -0.01055908203125, -0.0103759765625, 0.01165771484375, ...
[ 8647, 563, 4904, 12654, 238, 4488, 118664, 1022, 85600, 18, 1179, 3768, 9598, 8060, 678, 10438, 6773, 25072, 6954, 1238, 3742, 101966, 192134, 165248, 132640, 4171, 360, 6696, 4514, 24673, 17067, 7514, 7612, 163321, 217835, 1900, 81776, 20572...
[ 0.1629638671875, 0.08673095703125, 0.19677734375, 0.2269287109375, 0.0770263671875, 0.048431396484375, 0.1971435546875, 0.1015625, 0.16796875, 0.0885009765625, 0.1365966796875, 0.038818359375, 0.1292724609375, 0.1710205078125, 0.0302276611328125, 0.0226898193359375, 0.1912841796875, ...
embed
61970068_c0
61970068
fsharp
0
Title: Overhead of Object Expressions when used with inline function Problem title: Overhead of Object Expressions when used with inline function Tags: f%23, inline Problem: Overhead of Object Expressions when used with inline function I loved the idea used in the accepted answer here . My understanding of it is that i...
Overhead of Object Expressions when used with inline function Overhead of Object Expressions when used with inline function f%23 inline Overhead Object Expressions Name INamed x.Name Overhead of Object Expressions when used with inline function I loved the idea used in the accepted answer here . My understanding of it ...
[ -0.003814697265625, -0.008056640625, 0.003173828125, -0.00167083740234375, 0.00775146484375, -0.002349853515625, -0.0147705078125, 0.0023956298828125, 0.0140380859375, -0.0361328125, 0.01043701171875, -0.016845703125, 0.01611328125, -0.000820159912109375, 0.0277099609375, -0.0021820068...
[ 9578, 31251, 111, 134549, 25129, 17514, 3229, 11814, 678, 23, 2256, 32354, 1238, 3742, 15757, 5881, 11, 4806, 1022, 163612, 78302, 6528, 68186, 100094, 27650, 17368, 101758, 237, 55300, 171859, 15490, 19441, 29479, 26098, 23658, 100, 115, 259...
[ 0.15185546875, 0.259033203125, 0.02862548828125, 0.225830078125, 0.1878662109375, 0.069580078125, 0.012969970703125, 0.1279296875, 0.07684326171875, 0.1414794921875, 0.20654296875, 0.15576171875, 0.039306640625, 0.136474609375, 0.05084228515625, 0.09344482421875, 0.0826416015625, 0...
embed
39557369_c0
39557369
fsharp
0
Title: Is there an alternative method for ignoring type definitions in F# when running code coverage? Problem title: Is there an alternative method for ignoring type definitions in F# when running code coverage? Tags: f%23 Problem: Is there an alternative method for ignoring type definitions in F# when running code cov...
Is there an alternative method for ignoring type definitions in F# when running code coverage? Is there an alternative method for ignoring type definitions in F# when running code coverage? f%23 DebuggerNonUserCode Kludge Portable Library System.Diagnostics Types Form Name:Name Password:Password RegisterResponse Regist...
[ 0.00494384765625, 0.0167236328125, -0.0128173828125, -0.0223388671875, -0.00555419921875, -0.0164794921875, 0.006195068359375, 0.00151824951171875, -0.006805419921875, -0.01214599609375, -0.01361083984375, 0.0179443359375, -0.007110595703125, 0.006256103515625, 0.00787353515625, 0.0449...
[ 30700, 55300, 47438, 214, 10644, 80934, 7, 563, 4904, 51042, 18151, 154271, 23, 1238, 3742, 262, 978, 21407, 59881, 2189, 114211, 99678, 61007, 1818, 103835, 12353, 128198, 60457, 15236, 170461, 131423, 94399, 19685, 6691, 163612, 3181, 39884, ...
[ 0.109375, 0.10345458984375, 0.1632080078125, 0.0357666015625, 0.22412109375, 0.215576171875, 0.0216217041015625, 0.0985107421875, 0.1923828125, 0.07366943359375, 0.135986328125, 0.2061767578125, 0.005645751953125, 0.04345703125, 0.1097412109375, 0.07623291015625, 0.1075439453125, 0...
embed
9398962_c0
9398962
fsharp
0
Title: F# compose pattern matched function Problem title: F# compose pattern matched function Tags: composition, f%23 Problem: F# compose pattern matched function I have these types: type ShouldRetry = ShouldRetry of (RetryCount * LastException -> bool * RetryDelay) and RetryCount = int and LastException = exn and Retr...
F# compose pattern matched function F# compose pattern matched function composition f%23 LastException TimeoutException ServerBusyException ShouldRetry RetryCount RetryDelay TimeSpan RetryPolicy Array.map TimeSpan.FromSeconds fssnip.net Array.scan RetryPolicies.NoRetry F# compose pattern matched function I have these t...
[ -0.0234375, -0.0115966796875, 0.01263427734375, 0.01416015625, -0.00506591796875, 0.00078582763671875, -0.024169921875, 0.003692626953125, 0.0162353515625, -0.0074462890625, 0.01318359375, 0.007476806640625, 0.002777099609375, -0.011962890625, 0.014892578125, -0.0120849609375, -0.005...
[ 563, 4904, 150350, 103510, 14858, 32354, 166577, 1238, 3949, 3742, 21672, 63928, 19055, 6056, 22687, 7235, 4861, 151117, 4332, 15123, 853, 108210, 4657, 5259, 3180, 106144, 62346, 93, 4398, 297, 52895, 3444, 9969, 232, 41159, 10267, 10484, 34...
[ 0.0902099609375, 0.1619873046875, 0.22412109375, 0.1920166015625, 0.177978515625, 0.120361328125, 0.2012939453125, 0.03582763671875, 0.0064697265625, 0.112060546875, 0.07080078125, 0.015899658203125, 0.078125, 0.06463623046875, 0.075439453125, 0.0548095703125, 0.055877685546875, 0....
embed
21044352_c0
21044352
fsharp
0
Title: F# Type Provider that uses x64 libraries in Visual Studio Problem title: F# Type Provider that uses x64 libraries in Visual Studio Tags: type-providers, .net, visual-studio, f%23, x86-64 Problem: F# Type Provider that uses x64 libraries in Visual Studio My type provider underneath uses some native x64 libraries....
F# Type Provider that uses x64 libraries in Visual Studio F# Type Provider that uses x64 libraries in Visual Studio type-providers .net visual-studio f%23 x86-64 Type Provider x64 Visual Studio x86-64 F# Type Provider that uses x64 libraries in Visual Studio My type provider underneath uses some native x64 libraries. I...
[ 0.00775146484375, 0.006256103515625, -0.004791259765625, 0.0025177001953125, -0.021728515625, 0.01123046875, -0.0111083984375, 0.006927490234375, -0.00732421875, -0.0380859375, 0.020751953125, -0.0172119140625, 0.0172119140625, -0.01239013671875, 0.01275634765625, 0.0012969970703125, ...
[ 563, 4904, 60457, 123089, 42, 450, 4527, 1022, 13307, 35773, 10484, 73372, 22968, 10644, 93136, 1179, 21176, 52629, 1238, 3742, 15276, 23, 81450, 1379, 10519, 24, 5974, 2499, 1766, 49938, 9790, 72367, 1295, 15700, 13452, 24018, 150, 294, 21...
[ 0.090087890625, 0.1553955078125, 0.204833984375, 0.1668701171875, 0.010711669921875, 0.008819580078125, 0.06378173828125, 0.015655517578125, 0.2105712890625, 0.1268310546875, 0.003173828125, 0.173095703125, 0.1904296875, 0.1927490234375, 0.1566162109375, 0.0845947265625, 0.125, 0.1...
embed
46146622_c0
46146622
fsharp
0
Title: How do I change the thickness of the lines in an Excel chart? Problem title: How do I change the thickness of the lines in an Excel chart? Tags: excel, f%23, charts Problem: How do I change the thickness of the lines in an Excel chart? I managed to create a chart in an Excel worksheet with the following code: le...
How do I change the thickness of the lines in an Excel chart? How do I change the thickness of the lines in an Excel chart? excel f%23 charts How Excel chartSheet.ChartObjects ChartObjects chartobjects.Add chartobject.Chart.ChartWizard Title Benchmark Source chartSheet.Range Gallery XlChartType.xlLine PlotBy XlRowCol.x...
[ 0.007598876953125, 0.00506591796875, 0.0003299713134765625, 0.0194091796875, -0.0021209716796875, -0.004241943359375, 0.0118408203125, -0.02001953125, 0.00384521484375, 0.0390625, 0.000782012939453125, 0.006134033203125, -0.022705078125, 0.00141143798828125, 0.00982666015625, 0.0158691...
[ 11249, 54, 87, 15549, 70, 6117, 2594, 7432, 111, 124519, 23, 30326, 116287, 142, 64152, 1238, 3742, 72859, 84068, 75161, 110373, 187694, 4028, 14821, 48962, 3419, 10015, 77641, 84718, 1193, 196707, 92595, 93232, 168763, 64876, 49057, 74677, 2...
[ 0.0706787109375, 0.02691650390625, 0.001922607421875, 0.2099609375, 0.025848388671875, 0.1884765625, 0.162109375, 0.13525390625, 0.0212249755859375, 0.189208984375, 0.05609130859375, 0.1873779296875, 0.2303466796875, 0.009918212890625, 0.120849609375, 0.0142364501953125, 0.1063232421...
embed
9518850_c0
9518850
fsharp
0
Title: Insertion Sort implementation with one recursive function and foldBack function Problem title: Insertion Sort implementation with one recursive function and foldBack function Tags: list, insertion-sort, f%23 Problem: Insertion Sort implementation with one recursive function and foldBack function I am reviewing i...
Insertion Sort implementation with one recursive function and foldBack function Insertion Sort implementation with one recursive function and foldBack function list insertion-sort f%23 Insertion Sort y::ys x::y::ys x::xs List.foldBack ys:list ys.IsEmpty ys.Head x::ys ys.Head::x::anotherInsertionSort ys.Tail Insertion S...
[ -0.0181884765625, 0.01129150390625, 0.020263671875, -0.011962890625, -0.01220703125, 0.00811767578125, -0.020263671875, -0.0181884765625, -0.00058746337890625, -0.0179443359375, -0.00008153915405273438, -0.00390625, -0.015625, 0.003753662109375, 0.02099609375, -0.0140380859375, -0.01...
[ 360, 2189, 1363, 53666, 208124, 678, 1632, 195625, 5844, 32354, 136, 42822, 152470, 5303, 241860, 62351, 1238, 3742, 113, 4778, 1022, 425, 32036, 6562, 134332, 13025, 158240, 9874, 379, 62822, 2053, 45646, 234873, 49666, 9523, 563, 4904, 1815...
[ 0.0806884765625, 0.238525390625, 0.09674072265625, 0.2568359375, 0.16650390625, 0.013092041015625, 0.1219482421875, 0.1944580078125, 0.09771728515625, 0.15478515625, 0.033721923828125, 0.168701171875, 0.19921875, 0.1392822265625, 0.207275390625, 0.212890625, 0.028656005859375, 0.11...
embed
40850712_c0
40850712
fsharp
0
Title: Operator (-) used in F# raises Specified method is not supported exception from C# Problem title: Operator (-) used in F# raises Specified method is not supported exception from C# Tags: mono, c%23, c%23-to-f%23, f%23 Problem: Operator (-) used in F# raises Specified method is not supported exception from C# I h...
Operator (-) used in F# raises Specified method is not supported exception from C# Operator (-) used in F# raises Specified method is not supported exception from C# mono c%23 c%23-to-f%23 f%23 C# Operator Specified Operator (-) used in F# raises Specified method is not supported exception from C# I have this generic f...
[ -0.00823974609375, 0.0211181640625, 0.0194091796875, 0.011962890625, 0.005523681640625, -0.01904296875, 0.0118408203125, -0.007171630859375, -0.01416015625, -0.00799560546875, -0.01373291015625, -0.02001953125, 0.017333984375, -0.023193359375, 0.0069580078125, -0.0203857421875, -0.00...
[ 150922, 9, 11814, 563, 4904, 138804, 24990, 47314, 55300, 959, 8060, 297, 131527, 1295, 313, 23, 22460, 3742, 27495, 188, 420, 1238, 83, 189534, 32354, 4527, 39933, 2633, 2256, 1614, 10, 876, 20, 159029, 18, 16093, 4288, 2740, 105801, 106...
[ 0.2744140625, 0.1934814453125, 0.1243896484375, 0.14892578125, 0.234619140625, 0.23193359375, 0.154541015625, 0.1514892578125, 0.1578369140625, 0.0863037109375, 0.170166015625, 0.005584716796875, 0.177001953125, 0.1005859375, 0.0298614501953125, 0.10693359375, 0.140869140625, 0.086...
embed
72842171_c1
72842171
fsharp
1
Window window, width, height)) callbackRef <- callback Window.glfwSetWindowSizeCallback(window, callback) |> ignore let setWindowFocusCallback (callbackRef: outref<Window.GLFWwindowfocusfun>) (callback: GLFWWindow * int -> unit) (GLFWWindow window) = let callback = Window.GLFWwindowfocusfun(fun window focused -> callba...
Window window, width, height)) callbackRef <- callback Window.glfwSetWindowSizeCallback(window, callback) |> ignore let setWindowFocusCallback (callbackRef: outref<Window.GLFWwindowfocusfun>) (callback: GLFWWindow * int -> unit) (GLFWWindow window) = let callback = Window.GLFWwindowfocusfun(fun window focused -> callba...
[ 0.00079345703125, 0.0157470703125, -0.0074462890625, -0.00860595703125, 0.004730224609375, -0.004364013671875, -0.0152587890625, -0.04296875, 0.00933837890625, 0.026123046875, -0.017822265625, -0.031982421875, -0.0084228515625, -0.020263671875, -0.01470947265625, 0.0201416015625, 0.0...
[ 176501, 76896, 146984, 155955, 11782, 12620, 190015, 17463, 434, 126, 92049, 24293, 127167, 5584, 9494, 124962, 2633, 5423, 27591, 11680, 85763, 628, 55751, 78703, 129699, 16498, 90799, 25072, 3584, 162393, 6097, 137565, 1264, 32354, 138155, 3194...
[ 0.195068359375, 0.1646728515625, 0.1689453125, 0.1817626953125, 0.1617431640625, 0.20849609375, 0.2286376953125, 0.06097412109375, 0.05548095703125, 0.05322265625, 0.0789794921875, 0.1392822265625, 0.09918212890625, 0.09930419921875, 0.074951171875, 0.182861328125, 0.033721923828125,...
embed
5396465_c0
5396465
fsharp
0
Title: How to organize F# source of large project (&gt;300 classes) in Visual Studio? Problem title: How to organize F# source of large project (&gt;300 classes) in Visual Studio? Tags: visual-studio, assemblies, f%23, c%23-to-f%23, code-organization Problem: How to organize F# source of large project (>300 classes) in...
How to organize F# source of large project (&gt;300 classes) in Visual Studio? How to organize F# source of large project (&gt;300 classes) in Visual Studio? visual-studio assemblies f%23 c%23-to-f%23 code-organization How Visual Studio How to organize F# source of large project (>300 classes) in Visual Studio? In C# y...
[ -0.0004367828369140625, 0.0196533203125, 0.003997802734375, 0.00142669677734375, -0.003662109375, -0.006988525390625, -0.0152587890625, -0.009033203125, -0.0081787109375, 0.002471923828125, -0.005859375, -0.0133056640625, -0.006256103515625, 0.00897216796875, 0.0091552734375, -0.013000...
[ 11249, 47, 5808, 13, 563, 4904, 31344, 21334, 13452, 5386, 7739, 61112, 23, 73372, 22968, 111, 21176, 52629, 89845, 7121, 90, 1238, 3742, 27495, 188, 420, 18151, 53404, 2740, 360, 313, 831, 3884, 102158, 78303, 42518, 210716, 21455, 187895,...
[ 0.07373046875, 0.0316162109375, 0.2266845703125, 0.07550048828125, 0.1663818359375, 0.25341796875, 0.2437744140625, 0.133056640625, 0.1512451171875, 0.052398681640625, 0.20361328125, 0.1981201171875, 0.0595703125, 0.218017578125, 0.2158203125, 0.053955078125, 0.160400390625, 0.1713...
embed
6343487_c0
6343487
fsharp
0
Title: RedirectStandardOutput when the main application exits using F# Problem title: RedirectStandardOutput when the main application exits using F# Tags: process, redirectstandardoutput, f%23 Problem: RedirectStandardOutput when the main application exits using F# Assume the following code: let sw = new StreamWriter(...
RedirectStandardOutput when the main application exits using F# RedirectStandardOutput when the main application exits using F# process redirectstandardoutput f%23 F# RedirectStandardOutput StreamWriter out.txt sw.AutoFlush Process proc.StartInfo.FileName proc.StartInfo.RedirectStandardOutput proc.StartInfo.UseShellExe...
[ 0.01275634765625, 0.0186767578125, -0.0050048828125, -0.0023040771484375, -0.036865234375, -0.0184326171875, 0.0040283203125, -0.0164794921875, -0.01519775390625, 0.009765625, -0.00592041015625, 0.0303955078125, 0.0012359619140625, 0.017333984375, 0.038818359375, -0.01031494140625, 0...
[ 853, 80581, 191769, 79858, 7077, 3229, 5201, 38415, 82230, 7, 17368, 563, 4904, 9433, 456, 66589, 6056, 1238, 3742, 115061, 1456, 2783, 56, 1810, 124326, 434, 38115, 919, 5782, 127, 123996, 10402, 126597, 93147, 174350, 163612, 4332, 79544, ...
[ 0.138427734375, 0.26708984375, 0.234375, 0.1976318359375, 0.09033203125, 0.09185791015625, 0.119384765625, 0.163330078125, 0.2296142578125, 0.123291015625, 0.111572265625, 0.12548828125, 0.2015380859375, 0.132568359375, 0.1341552734375, 0.221923828125, 0.182861328125, 0.037109375, ...
embed
45362712_c0
45362712
fsharp
0
Title: Unable to open .Net Core solution using VS 20017 Preview 2 Problem title: Unable to open .Net Core solution using VS 20017 Preview 2 Tags: f%23, visual-studio-2017, .net-core Problem: Unable to open .Net Core solution using VS 20017 Preview 2 I am unable to open the following solution using VS 20017 Preview 2. W...
Unable to open .Net Core solution using VS 20017 Preview 2 Unable to open .Net Core solution using VS 20017 Preview 2 f%23 visual-studio-2017 .net-core VS Unable Net Core Preview Microsoft Visual Studio Community Version VisualStudio.15.Preview pre.6.0 Framework Installed Solution File Format VisualStudioVersion Minimu...
[ -0.0150146484375, 0.00909423828125, -0.01470947265625, 0.025146484375, -0.010498046875, -0.008056640625, -0.00958251953125, -0.0169677734375, -0.01324462890625, 0.0159912109375, 0.00994873046875, -0.0050048828125, -0.0096435546875, -0.0004863739013671875, 0.037353515625, 0.009338378906...
[ 992, 2886, 47, 9803, 5, 24447, 31365, 29806, 17368, 44160, 1781, 2489, 1914, 22751, 116, 1238, 3742, 21176, 52629, 22842, 6, 1179, 30854, 10086, 7244, 73372, 22968, 66069, 40647, 109023, 1837, 683, 132340, 479, 43652, 202220, 107951, 297, 1...
[ 0.064453125, 0.1514892578125, 0.037353515625, 0.2122802734375, 0.0594482421875, 0.176513671875, 0.245361328125, 0.16796875, 0.038421630859375, 0.1832275390625, 0.10162353515625, 0.16162109375, 0.13720703125, 0.2347412109375, 0.1268310546875, 0.0035400390625, 0.07525634765625, 0.160...
embed
6884149_c1
6884149
fsharp
1
Tomas and @desco, I now understand when to use OpCodes.Constrained ( instance.Type is a ValueType, but methodInfo.DeclaringType is a reference type). But it turns out I don't need to consider that case just yet, and my real problem was the instance argument on the stack: it only took me 6 hours to learn it needs an add...
Tomas and @desco, I now understand when to use OpCodes.Constrained ( instance.Type is a ValueType, but methodInfo.DeclaringType is a reference type). But it turns out I don't need to consider that case just yet, and my real problem was the instance argument on the stack: it only took me 6 hours to learn it needs an add...
[ 0.00164031982421875, -0.0101318359375, 0.00701904296875, 0.0184326171875, -0.003204345703125, 0.0034942626953125, -0.004638671875, -0.0272216796875, 0.005828857421875, -0.031982421875, 0.0018157958984375, 0.0164794921875, 0.0031280517578125, 0.00823974609375, 0.018798828125, -0.0286865...
[ 92858, 988, 587, 5036, 28219, 3229, 4527, 2331, 114211, 7, 11935, 9297, 122009, 110527, 196707, 190060, 55300, 93147, 120152, 320, 214, 91067, 10644, 16916, 2773, 2967, 10750, 177261, 4734, 34739, 305, 21974, 30698, 27117, 29823, 64457, 34292, ...
[ 0.09814453125, 0.04388427734375, 0.028961181640625, 0.02960205078125, 0.09564208984375, 0.0701904296875, 0.1146240234375, 0.1949462890625, 0.27734375, 0.06640625, 0.1256103515625, 0.2198486328125, 0.1875, 0.262939453125, 0.227783203125, 0.1668701171875, 0.168212890625, 0.2305908203...
embed
74316322_c1
74316322
fsharp
1
in: npm ERR! C:\Users\User\AppData\Local\npm-cache\_logs\2022-11-04T11_38_04_408Z-debug-0.log Finished (Failed) 'InstallClient' in 00:00:02.0540071 UPDATE : In line with Tomáš Petříček's recommendation, I installed this version of node.js: Latest LTS Version: 18.12.0 (includes npm 8.19.2) But again, NullReferenceExcep...
in: npm ERR! C:\Users\User\AppData\Local\npm-cache\_logs\2022-11-04T11_38_04_408Z-debug-0.log Finished (Failed) 'InstallClient' in 00:00:02.0540071 UPDATE : In line with Tomáš Petříček's recommendation, I installed this version of node.js: Latest LTS Version: 18.12.0 (includes npm 8.19.2) But again, NullReferenceExcep...
[ -0.0224609375, 0.0257568359375, 0.00421142578125, 0.00154876708984375, 0.0126953125, 0.010498046875, -0.00091552734375, -0.022216796875, 0.000934600830078125, 0.04296875, 0.00555419921875, -0.00543212890625, 0.007537841796875, -0.00122833251953125, 0.00994873046875, -0.0140380859375, ...
[ 23, 25037, 39, 151206, 38, 1062, 7, 39179, 137989, 203758, 26822, 408, 1430, 4867, 151159, 36099, 7709, 1662, 10991, 144836, 1511, 112, 85779, 23320, 13316, 164, 5252, 17647, 14, 6259, 4153, 92621, 150, 2517, 110095, 15770, 161521, 13315, 1...
[ 0.1317138671875, 0.2119140625, 0.2188720703125, 0.283447265625, 0.127685546875, 0.014739990234375, 0.024627685546875, 0.03607177734375, 0.0810546875, 0.0780029296875, 0.212646484375, 0.040771484375, 0.0190887451171875, 0.1796875, 0.1082763671875, 0.046875, 0.0091552734375, 0.040710...
embed
42222757_c0
42222757
fsharp
0
Title: F# HtmlProvider to HtmlNode Problem title: F# HtmlProvider to HtmlNode Tags: f%23 Problem: F# HtmlProvider to HtmlNode I can find specific row with HtmlProvider . Is it possible to get another html information from HtmlProvider.Tables.Row ? type Provider = HtmlProvider<" <table><tbody> <tr><td class=\"orange\" >...
F# HtmlProvider to HtmlNode F# HtmlProvider to HtmlNode f%23 HtmlProvider HtmlNode HtmlProvider.Tables.Row Provider something2 something3 Provider.GetSample Tables.Table1.Rows Seq.filter c.Column2 Seq.head GetHtml Pseudo wantedRow.GetHtml.Descendants tdOfWantedRow.AttributeValue F# HtmlProvider to HtmlNode I can find s...
[ 0.002471923828125, 0.01361083984375, 0.000690460205078125, 0.0020599365234375, -0.0196533203125, -0.019287109375, 0.018798828125, -0.009521484375, -0.01031494140625, -0.018310546875, 0.0027008056640625, 0.004669189453125, -0.01611328125, -0.00201416015625, 0.0016021728515625, -0.016235...
[ 563, 4904, 572, 18, 7237, 177997, 62160, 47, 5021, 112, 1238, 3742, 618, 19736, 12724, 123089, 9844, 304, 363, 33209, 112997, 2886, 19725, 864, 120337, 31251, 20779, 841, 184, 11547, 36663, 434, 724, 4657, 31146, 132887, 2733, 71, 191145, ...
[ 0.0849609375, 0.1527099609375, 0.08544921875, 0.1439208984375, 0.1986083984375, 0.186767578125, 0.1871337890625, 0.1182861328125, 0.1531982421875, 0.0487060546875, 0.0196685791015625, 0.06231689453125, 0.05108642578125, 0.1148681640625, 0.1129150390625, 0.182373046875, 0.053283691406...
embed
21538563_c0
21538563
fsharp
0
Title: Can F# units of measure be implemented in OCaml? Problem title: Can F# units of measure be implemented in OCaml? Tags: f%23, ocaml, units-of-measurement Problem: Can F# units of measure be implemented in OCaml? F# has a units of measure capability (there's more detail in this research paper ). [<Measure>] type u...
Can F# units of measure be implemented in OCaml? Can F# units of measure be implemented in OCaml? f%23 ocaml units-of-measurement Can OCaml Measure USD EUR Results Greater Mass Can F# units of measure be implemented in OCaml? F# has a units of measure capability (there's more detail in this research paper ). This allow...
[ 0.004180908203125, 0.0169677734375, 0.007080078125, 0.00787353515625, -0.0024261474609375, -0.01019287109375, -0.0030975341796875, 0.01025390625, 0.0181884765625, 0.00213623046875, -0.0294189453125, -0.009765625, 0.007293701171875, -0.01104736328125, -0.0028076171875, 0.009765625, 0....
[ 4171, 563, 4904, 25072, 7, 111, 72350, 29479, 297, 23, 180, 105272, 141, 1238, 3742, 36, 9779, 4390, 37440, 56851, 1215, 11, 19052, 12220, 146104, 32774, 56, 74227, 186, 1556, 3540, 41159, 114864, 61924, 18151, 59121, 237, 34831, 142477, ...
[ 0.10162353515625, 0.1888427734375, 0.2418212890625, 0.2386474609375, 0.066650390625, 0.1083984375, 0.223388671875, 0.1993408203125, 0.0703125, 0.11669921875, 0.151123046875, 0.21240234375, 0.188232421875, 0.1156005859375, 0.127685546875, 0.08917236328125, 0.1453857421875, 0.1134033...
embed
13474223_c0
13474223
fsharp
0
Title: Conditional sum in F# Problem title: Conditional sum in F# Tags: record, pivot, f%23 Problem: Conditional sum in F# I have defined a record type for some client data in F# as follows:- type DataPoint = { date: string; dr: string; Group: string; Product: string; Book: int; Revenue: int} with static member fromFil...
Conditional sum in F# Conditional sum in F# record pivot f%23 Conditional DataPoint Group Product Book Revenue File.ReadLines Seq.skip Seq.map s.Split DataPoint.fromFile Conditional sum in F# I have defined a record type for some client data in F# as follows:- For the rows where date, dr, Group and Product are all equa...
[ -0.01116943359375, 0.010498046875, 0.011474609375, 0.01904296875, -0.019287109375, -0.0033721923828125, -0.01019287109375, 0.0272216796875, 0.00787353515625, 0.013427734375, -0.009765625, 0.023681640625, 0.006134033203125, -0.003326416015625, -0.0078125, 0.001251220703125, -0.0123291...
[ 46347, 43315, 10554, 563, 4904, 23, 17164, 80953, 18, 1238, 3742, 11809, 147534, 10760, 73111, 27432, 853, 68334, 42724, 31345, 93232, 44024, 4353, 161063, 174350, 61924, 10644, 23282, 2053, 15555, 5622, 3568, 756, 105950, 3444, 136, 112820, ...
[ 0.2412109375, 0.14599609375, 0.2388916015625, 0.1478271484375, 0.222412109375, 0.020599365234375, 0.1741943359375, 0.2138671875, 0.0167694091796875, 0.0250244140625, 0.09942626953125, 0.036224365234375, 0.1041259765625, 0.1181640625, 0.1644287109375, 0.1094970703125, 0.04071044921875...
embed
59058992_c1
59058992
fsharp
1
opsController() then this._configuration <- configuration member val private _configuration : IConfiguration = null with get, set member private this.getConnStr = this._configuration.getDbConnection() However... This is not working as expected currently, It is rejecting users with the desired role. Here is part of the ...
opsController() then this._configuration <- configuration member val private _configuration : IConfiguration = null with get, set member private this.getConnStr = this._configuration.getDbConnection() However... This is not working as expected currently, It is rejecting users with the desired role. Here is part of the ...
[ -0.000835418701171875, 0.0294189453125, -0.000690460205078125, -0.0103759765625, -0.002685546875, 0.0052490234375, 0.0162353515625, -0.01519775390625, 0.0177001953125, -0.0020294189453125, -0.00107574462890625, 0.0172119140625, -0.0224609375, -0.005828857421875, 0.0036163330078125, 0.0...
[ 233, 7, 175904, 603, 903, 153837, 34, 30494, 4426, 180346, 32786, 3502, 14375, 87, 11935, 59994, 56574, 678, 2046, 5423, 3794, 19, 71713, 397, 275, 235603, 1830, 3293, 959, 20697, 237, 84751, 82424, 456, 75161, 72095, 104851, 31486, 8783, ...
[ 0.1820068359375, 0.08160400390625, 0.2332763671875, 0.1778564453125, 0.1644287109375, 0.158203125, 0.097412109375, 0.068359375, 0.01031494140625, 0.2122802734375, 0.20947265625, 0.1534423828125, 0.166748046875, 0.11962890625, 0.06402587890625, 0.1981201171875, 0.1446533203125, 0.08...
embed
54677808_c1
54677808
fsharp
1
searchPattern, SearchOption searchOption) at FSI_0005.Build-core.clo@45-2.Invoke(Unit _arg3) in C:\Users\path\to\project\DelsysAPI\trunk\build-core.fsx:line 52 at Fake.TargetHelper.runSingleTarget(TargetTemplate`1 target) in D:\code\fake\src\app\FakeLib\TargetHelper.fs:line 626 Here's the new F# NuGet spec code: NuGet...
searchPattern, SearchOption searchOption) at FSI_0005.Build-core.clo@45-2.Invoke(Unit _arg3) in C:\Users\path\to\project\DelsysAPI\trunk\build-core.fsx:line 52 at Fake.TargetHelper.runSingleTarget(TargetTemplate`1 target) in D:\code\fake\src\app\FakeLib\TargetHelper.fs:line 626 Here's the new F# NuGet spec code: NuGet...
[ -0.021728515625, 0.01202392578125, 0.00567626953125, -0.0223388671875, -0.015380859375, 0.01251220703125, 0.0037994384765625, -0.0159912109375, 0.0220947265625, 0.01458740234375, 0.01806640625, 0.002349853515625, 0.007568359375, 0.006256103515625, 0.0289306640625, 0.0031890869140625, ...
[ 33938, 8335, 3055, 33086, 39029, 1363, 99, 563, 9902, 9508, 758, 121137, 30854, 63499, 4633, 5428, 23253, 85600, 61477, 21320, 313, 1062, 128405, 95322, 58598, 94924, 74220, 79099, 177149, 17447, 425, 2256, 7221, 3036, 63031, 60785, 16428, 21...
[ 0.2073974609375, 0.0970458984375, 0.08746337890625, 0.177001953125, 0.2325439453125, 0.07391357421875, 0.033935546875, 0.0889892578125, 0.143798828125, 0.02752685546875, 0.115966796875, 0.08868408203125, 0.1312255859375, 0.07159423828125, 0.07269287109375, 0.0086669921875, 0.12207031...
embed
3697760_c0
3697760
fsharp
0
Title: Functions that look pure to callers but internally use mutation Problem title: Functions that look pure to callers but internally use mutation Tags: haskell, monads, f%23, side-effects, functional-programming Problem: Functions that look pure to callers but internally use mutation I just got my copy of Expert F#...
Functions that look pure to callers but internally use mutation Functions that look pure to callers but internally use mutation haskell monads f%23 side-effects functional-programming Functions List.map Functions that look pure to callers but internally use mutation I just got my copy of Expert F# 2.0 and came across t...
[ -0.003448486328125, 0.02001953125, 0.007415771484375, -0.00787353515625, -0.009033203125, 0.0118408203125, 0.000598907470703125, -0.005828857421875, 0.0078125, -0.01708984375, 0.0169677734375, 0.026611328125, -0.006805419921875, 0.0223388671875, 0.0206298828125, 0.02001953125, 0.0028...
[ 28670, 10763, 450, 6713, 34166, 47, 11782, 1314, 1284, 70796, 4527, 199334, 1556, 142508, 2667, 712, 1238, 3949, 3742, 5609, 171760, 123309, 28966, 32036, 62346, 43658, 70523, 563, 4904, 16655, 36880, 63805, 208806, 144285, 171259, 92940, 903, ...
[ 0.17578125, 0.12548828125, 0.003173828125, 0.1783447265625, 0.172607421875, 0.084716796875, 0.13427734375, 0.116943359375, 0.07550048828125, 0.2003173828125, 0.1014404296875, 0.260498046875, 0.1260986328125, 0.2452392578125, 0.08282470703125, 0.1107177734375, 0.047576904296875, 0.0...
embed
44781715_c1
44781715
fsharp
1
implementation, remove global operator and use only static overrides on the two classes but to integrate with the existing framework i'm looking at, needs to be a function of this format ... I was thinking of perhaps overloading FSharpFunc> with static member (>=>) but in f# this would need to be declared in the origi...
implementation, remove global operator and use only static overrides on the two classes but to integrate with the existing framework i'm looking at, needs to be a function of this format ... I was thinking of perhaps overloading FSharpFunc> with static member (>=>) but in f# this would need to be declared in the origi...
[ -0.0177001953125, 0.000629425048828125, 0.0201416015625, 0.0021820068359375, -0.01409912109375, 0.0096435546875, -0.01226806640625, -0.02197265625, 0.0196533203125, -0.0235595703125, -0.01904296875, 0.00787353515625, 0.01513671875, 0.005615234375, 0.0081787109375, -0.01446533203125, ...
[ 208124, 87388, 7964, 39933, 4527, 4734, 201939, 645, 416, 988, 6626, 61112, 78779, 678, 144573, 170846, 16487, 27117, 32354, 903, 9384, 47644, 63033, 93774, 3467, 254, 97249, 238, 32786, 1238, 4904, 159978, 7311, 21635, 31913, 5773, 17475, 63...
[ 0.1640625, 0.1380615234375, 0.161376953125, 0.21533203125, 0.033294677734375, 0.0151519775390625, 0.1519775390625, 0.09747314453125, 0.1600341796875, 0.0830078125, 0.0911865234375, 0.1787109375, 0.15966796875, 0.0794677734375, 0.109619140625, 0.124755859375, 0.001129150390625, 0.01...
embed
2214954_c1
2214954
fsharp
1
void end. for(N, N, F) -> [F()]; for(I, N, F) -> [F()|for(I+1, N, F)]. On my Macbook Pro, spawning and killing 100 thousand processes ( processes:max(100000) ) takes about 8 microseconds per processes. I can raise the number of processes a bit further, but a million seems to break things pretty consistently. Knowing v...
void end. for(N, N, F) -> [F()]; for(I, N, F) -> [F()|for(I+1, N, F)]. On my Macbook Pro, spawning and killing 100 thousand processes ( processes:max(100000) ) takes about 8 microseconds per processes. I can raise the number of processes a bit further, but a million seems to break things pretty consistently. Knowing v...
[ -0.0023345947265625, 0.0264892578125, 0.004913330078125, -0.01080322265625, -0.014404296875, -0.00543212890625, 0.008056640625, -0.0059814453125, -0.00616455078125, -0.046875, 0.03515625, 0.0245361328125, 0.00164031982421875, -0.00040435791015625, 0.0196533203125, 0.00141143798828125, ...
[ 2292, 71, 3564, 100, 839, 541, 563, 919, 568, 2472, 21748, 2161, 759, 4727, 14137, 1250, 5623, 434, 592, 136, 200, 30319, 805, 199823, 9433, 24084, 90980, 28568, 51776, 1672, 382, 11948, 191633, 117, 138804, 19879, 36356, 74729, 4904, 294...
[ 0.197998046875, 0.00506591796875, 0.18212890625, 0.1513671875, 0.079833984375, 0.07220458984375, 0.1414794921875, 0.1038818359375, 0.0221710205078125, 0.0928955078125, 0.0587158203125, 0.02117919921875, 0.001678466796875, 0.1165771484375, 0.185791015625, 0.144775390625, 0.15686035156...
embed
53159447_c1
53159447
fsharp
1
Set.contains id idsToWaitFor let notDone = not <| (Set.difference idsToWaitFor collected = Set.empty) let accountLoadedHandler id = collected <- collected.Add id printfn "Id loaded %s, waiting for %A\n" id (Set.difference idsToWaitFor collected) loadToSubsystem csvFileRows |> ignore // wait for all the watcher events;...
Set.contains id idsToWaitFor let notDone = not <| (Set.difference idsToWaitFor collected = Set.empty) let accountLoadedHandler id = collected <- collected.Add id printfn "Id loaded %s, waiting for %A\n" id (Set.difference idsToWaitFor collected) loadToSubsystem csvFileRows |> ignore // wait for all the watcher events;...
[ 0.019287109375, 0.01287841796875, -0.006927490234375, 0.00982666015625, -0.00775146484375, 0, 0.0029296875, 0.00848388671875, 0.010498046875, -0.035400390625, 0.00787353515625, 0.005889892578125, -0.006988525390625, 0.01458740234375, 0.005615234375, 0.002166748046875, 0.0240478515625...
[ 19943, 98102, 3447, 7, 7763, 22489, 217, 18537, 2633, 959, 60728, 13, 294, 126, 428, 18234, 6620, 43799, 33548, 15426, 15363, 712, 297, 135679, 603, 4028, 28412, 14783, 568, 71, 72367, 89289, 96472, 16751, 334, 174350, 12724, 124962, 40485,...
[ 0.1807861328125, 0.133056640625, 0.146728515625, 0.040496826171875, 0.1070556640625, 0.20849609375, 0.1724853515625, 0.1986083984375, 0.1201171875, 0.1243896484375, 0.096923828125, 0.0181427001953125, 0.04388427734375, 0.1136474609375, 0.01983642578125, 0.1617431640625, 0.01501464843...
embed
15088450_c0
15088450
fsharp
0
Title: Parameter names of a function using a functional language such as F# Problem title: Parameter names of a function using a functional language such as F# Tags: haskell, ocaml, named-parameters, functional-programming, f%23 Problem: Parameter names of a function using a functional language such as F# I have read a...
Parameter names of a function using a functional language such as F# Parameter names of a function using a functional language such as F# haskell ocaml named-parameters functional-programming f%23 a Parameter Clean sourceFile:string destinationFile:string Unix.unlink Parameter names of a function using a functional lan...
[ 0.00007915496826171875, 0.00555419921875, 0.002471923828125, 0.0262451171875, -0.008544921875, 0.0035858154296875, -0.00439453125, -0.0072021484375, -0.002166748046875, -0.0233154296875, -0.00830078125, -0.0167236328125, -0.018798828125, 0.00714111328125, 0.00494384765625, -0.017333984...
[ 1720, 29089, 123055, 32354, 17368, 123309, 46876, 563, 4904, 1556, 142508, 36, 9779, 141, 24, 4806, 6276, 28966, 1238, 3742, 73133, 31344, 174350, 91693, 78869, 992, 4084, 309, 10187, 12301, 12877, 18151, 89914, 8110, 2886, 28219, 15400, 54, ...
[ 0.1492919921875, 0.1854248046875, 0.197998046875, 0.229736328125, 0.06048583984375, 0.2384033203125, 0.199462890625, 0.13232421875, 0.206787109375, 0.134033203125, 0.236572265625, 0.0858154296875, 0.1204833984375, 0.1275634765625, 0.1129150390625, 0.078369140625, 0.10430908203125, ...
embed
58700513_c1
58700513
fsharp
1
{dra=dr;conta = cont} //supossed to search on menu list if such item exists (can't figure the syntax) if List.contains temp menuList then *) |CupDrink (s=z) -> findPricePrML dr * find z |BottledDrink (s=z) -> findPricePrML dr * find z |CannedDrink (s=z) -> findPricePrML dr * find z |_-> failwith "not found" (* else fa...
{dra=dr;conta = cont} //supossed to search on menu list if such item exists (can't figure the syntax) if List.contains temp menuList then *) |CupDrink (s=z) -> findPricePrML dr * find z |BottledDrink (s=z) -> findPricePrML dr * find z |CannedDrink (s=z) -> findPricePrML dr * find z |_-> failwith "not found" (* else fa...
[ 0.0002536773681640625, 0.004058837890625, -0.00122833251953125, -0.0052490234375, 0.00238037109375, -0.0020904541015625, -0.0059814453125, 0.001678466796875, 0.0196533203125, -0.0272216796875, 0.0067138671875, 0.025146484375, 0.019287109375, -0.00531005859375, 0.017578125, -0.001556396...
[ 3041, 7569, 98102, 22832, 4666, 1159, 7522, 33938, 8026, 5303, 2174, 6044, 35735, 32316, 7, 4398, 18, 26366, 6002, 86531, 32036, 20805, 154663, 2037, 397, 35838, 169, 7413, 33163, 329, 39456, 3568, 97, 3838, 6259, 54694, 14534, 35782, 10869...
[ 0.158935546875, 0.114013671875, 0.25439453125, 0.1754150390625, 0.0195770263671875, 0.0128173828125, 0.0462646484375, 0.1644287109375, 0.1759033203125, 0.1485595703125, 0.0615234375, 0.04931640625, 0.17138671875, 0.1717529296875, 0.001434326171875, 0.06036376953125, 0.020965576171875...
embed
60469008_c0
60469008
fsharp
0
Title: Storing references to local variables in F# Problem title: Storing references to local variables in F# Tags: f%23 Problem: Storing references to local variables in F# So functional programming is still pretty new to me and I'm trying to get to grips with the idea of avoiding holding (or rather mutating) "state"....
Storing references to local variables in F# Storing references to local variables in F# f%23 Storing Storing references to local variables in F# So functional programming is still pretty new to me and I'm trying to get to grips with the idea of avoiding holding (or rather mutating) "state". I think I'm confusing this c...
[ 0.0106201171875, 0.005126953125, 0.00860595703125, 0.00872802734375, -0.00168609619140625, 0.00738525390625, -0.021240234375, -0.018310546875, 0.0125732421875, -0.0189208984375, 0.003936767578125, 0.023193359375, 0.0078125, 0.040283203125, 0.0224609375, -0.0034332275390625, 0.0106811...
[ 23604, 91067, 47, 4000, 77336, 563, 4904, 1238, 3742, 23, 123309, 56037, 449, 71864, 104064, 31158, 61340, 55681, 23755, 2633, 99091, 7, 113949, 3871, 27875, 16750, 32354, 48716, 3789, 18151, 54, 64113, 876, 706, 2203, 34292, 11, 7077, 1863...
[ 0.194091796875, 0.241943359375, 0.0723876953125, 0.1654052734375, 0.255126953125, 0.1395263671875, 0.22265625, 0.0704345703125, 0.10540771484375, 0.00592041015625, 0.198974609375, 0.147216796875, 0.039306640625, 0.1077880859375, 0.2130126953125, 0.1466064453125, 0.16943359375, 0.01...
embed
57651745_c0
57651745
fsharp
0
Title: What&#x27;s different between async { ... AsyncAdd ... } and async { ... do AsyncAdd ... }? Problem title: What&#x27;s different between async { ... AsyncAdd ... } and async { ... do AsyncAdd ... }? Tags: f%23 Problem: What's different between async { ... AsyncAdd ... } and async { ... do AsyncAdd ... }? In the ...
What&#x27;s different between async { ... AsyncAdd ... } and async { ... do AsyncAdd ... }? What&#x27;s different between async { ... AsyncAdd ... } and async { ... do AsyncAdd ... }? f%23 What AsyncAdd ag.AsyncAdd Some FSharpx.Control BlockingQueueAgent Async.Parallel Async.Ignore ag.Add None Async.Start ag.AsyncGet D...
[ -0.01251220703125, 0.010986328125, 0.005401611328125, -0.019775390625, -0.0228271484375, -0.0059814453125, 0.01397705078125, 0.0013275146484375, 0.0089111328125, -0.0003795623779296875, -0.00022029876708984375, 0.0235595703125, 0.01483154296875, -0.004852294921875, 0.01348876953125, 0....
[ 4865, 3768, 7, 12921, 17721, 10, 12654, 238, 10666, 153, 62, 284, 4028, 136, 54, 1238, 3742, 1377, 5, 31384, 3467, 88684, 175904, 80231, 41732, 13388, 46825, 1229, 11137, 126597, 163321, 217835, 1900, 25632, 18151, 15044, 38, 282, 17, 707...
[ 0.05218505859375, 0.09619140625, 0.001495361328125, 0.2144775390625, 0.1376953125, 0.0679931640625, 0.267333984375, 0.1690673828125, 0.037109375, 0.0648193359375, 0.0772705078125, 0.03680419921875, 0.225830078125, 0.0657958984375, 0.103515625, 0.011962890625, 0.026824951171875, 0.1...
embed
51979892_c0
51979892
fsharp
0
Title: UserSecretsId prevents any deployment of F# ASP.NET Core app to Azure App Service Problem title: UserSecretsId prevents any deployment of F# ASP.NET Core app to Azure App Service Tags: azure-web-app-service, f%23, azure Problem: UserSecretsId prevents any deployment of F# ASP.NET Core app to Azure App Service I'...
UserSecretsId prevents any deployment of F# ASP.NET Core app to Azure App Service UserSecretsId prevents any deployment of F# ASP.NET Core app to Azure App Service azure-web-app-service f%23 azure UserSecretsId ASP.NET Core Azure App Service EntryPointAttribute AssemblyInfo.fs UserSecretsId prevents any deployment of F...
[ -0.006561279296875, 0.01422119140625, -0.00433349609375, -0.03466796875, -0.0238037109375, -0.00543212890625, -0.00701904296875, 0.000274658203125, 0.000667572021484375, -0.0107421875, -0.0029449462890625, 0.0291748046875, 0.0174560546875, 0.0191650390625, 0.0322265625, 0.0075988769531...
[ 53400, 237051, 7, 568, 71, 56282, 8, 13158, 563, 4904, 147153, 17777, 31365, 4027, 47, 176071, 5659, 12349, 295, 3408, 9007, 22584, 1238, 3742, 357, 15123, 147534, 191145, 151169, 93147, 17447, 12638, 1733, 9790, 1062, 2189, 12830, 49814, 1...
[ 0.1839599609375, 0.289794921875, 0.07696533203125, 0.1463623046875, 0.183349609375, 0.211181640625, 0.06365966796875, 0.1346435546875, 0.0838623046875, 0.1697998046875, 0.144287109375, 0.1085205078125, 0.1546630859375, 0.1524658203125, 0.08123779296875, 0.2125244140625, 0.13732910156...
embed
64419207_c0
64419207
fsharp
0
Title: Assign indexes to read CSV rows in F# query Problem title: Assign indexes to read CSV rows in F# query Tags: csv, f%23, query-expressions, type-providers Problem: Assign indexes to read CSV rows in F# query What is the easiest way to add indexes to the read contents of a CSV/TSV file read in with CsvProvider and...
Assign indexes to read CSV rows in F# query Assign indexes to read CSV rows in F# query csv f%23 query-expressions type-providers Assign CSV CsvProvider data.Rows Assign indexes to read CSV rows in F# query What is the easiest way to add indexes to the read contents of a CSV/TSV file read in with CsvProvider and a quer...
[ 0.01220703125, 0.0235595703125, 0.0181884765625, 0.01953125, -0.00872802734375, -0.01904296875, -0.0002307891845703125, 0.0172119140625, 0.00531005859375, -0.02490234375, -0.00191497802734375, -0.0189208984375, -0.0020599365234375, 0.017333984375, 0.0079345703125, -0.01458740234375, ...
[ 1301, 31304, 63262, 90, 12301, 313, 43486, 15555, 563, 4904, 41, 47, 20763, 334, 1238, 3742, 204629, 10644, 93136, 67756, 177997, 62160, 2053, 12724, 19725, 1544, 525, 3917, 15190, 10941, 12763, 856, 11435, 23, 678, 136, 1294, 125195, 20928...
[ 0.02813720703125, 0.1898193359375, 0.2335205078125, 0.10479736328125, 0.179931640625, 0.06494140625, 0.2452392578125, 0.166259765625, 0.1097412109375, 0.182373046875, 0.08087158203125, 0.03125, 0.07659912109375, 0.121826171875, 0.00665283203125, 0.0711669921875, 0.1470947265625, 0....
embed
60146456_c0
60146456
fsharp
0
Title: Why is this F# sequence expression cubic time instead of linear? Problem title: Why is this F# sequence expression cubic time instead of linear? Tags: f%23, debugging, algorithm, time-complexity, sequence Problem: Why is this F# sequence expression cubic time instead of linear? I stumbled upon a strange time com...
Why is this F# sequence expression cubic time instead of linear? Why is this F# sequence expression cubic time instead of linear? f%23 debugging algorithm time-complexity sequence Why Seq.unfold Seq.tryHead Option.map Seq.tail System.DateTime.Now Seq.init Seq.iter duration.TotalSeconds Why is this F# sequence expressio...
[ 0.00096893310546875, 0.006622314453125, 0.0213623046875, 0.007232666015625, 0.0135498046875, -0.0177001953125, -0.0035552978515625, 0.005859375, -0.0107421875, -0.04248046875, -0.000904083251953125, 0.021484375, 0.0208740234375, 0.027099609375, 0.00537109375, 0.017822265625, -0.01721...
[ 44084, 83, 903, 563, 4904, 40, 944, 3956, 125195, 314, 45966, 1733, 64457, 192617, 1238, 3949, 3742, 8, 978, 234873, 44974, 503, 864, 309, 42822, 15123, 13025, 712, 86769, 62346, 46741, 12353, 70059, 137594, 217, 16840, 115, 169473, 4233, ...
[ 0.1162109375, 0.0280303955078125, 0.045562744140625, 0.09375, 0.2071533203125, 0.07904052734375, 0.1451416015625, 0.055877685546875, 0.18994140625, 0.18603515625, 0.1602783203125, 0.15625, 0.1107177734375, 0.1815185546875, 0.05108642578125, 0.0062255859375, 0.14794921875, 0.0493164...
embed
42209638_c0
42209638
fsharp
0
Title: How to define and call a multi argument function with from Fable Problem title: How to define and call a multi argument function with from Fable Tags: javascript, f%23, fable-f%23 Problem: How to define and call a multi argument function with from Fable I'm trying to call Redux.createStore with 2 arguments, the ...
How to define and call a multi argument function with from Fable How to define and call a multi argument function with from Fable javascript f%23 fable-f%23 Fable How Redux System.Func redux.createStore How to define and call a multi argument function with from Fable I'm trying to call Redux.createStore with 2 argument...
[ 0.00042724609375, -0.0000782012939453125, -0.01226806640625, 0.01129150390625, 0.004486083984375, 0.0103759765625, -0.001922607421875, -0.02294921875, -0.00811767578125, -0.01708984375, 0.0174560546875, -0.0240478515625, -0.01055908203125, 0.00921630859375, 0.0078125, 0.00164794921875,...
[ 11249, 61924, 136, 11782, 6024, 10750, 32354, 678, 1295, 563, 2886, 136951, 1238, 3742, 1071, 2661, 420, 6096, 6077, 12353, 97249, 28969, 425, 7612, 2182, 165248, 116, 112892, 138256, 93774, 3467, 254, 28219, 28282, 51776, 23, 933, 30646, 5...
[ 0.0028076171875, 0.1920166015625, 0.057464599609375, 0.1895751953125, 0.2529296875, 0.271484375, 0.2095947265625, 0.093994140625, 0.1524658203125, 0.1358642578125, 0.1942138671875, 0.172607421875, 0.026641845703125, 0.05517578125, 0.1075439453125, 0.1116943359375, 0.0001220703125, ...
embed
19295203_c0
19295203
fsharp
0
Title: Lookup function for large list of floats - memoized computation? Problem title: Lookup function for large list of floats - memoized computation? Tags: c%23, f%23 Problem: Lookup function for large list of floats - memoized computation? I need to write a lookup function for a large list (float*float). This functi...
Lookup function for large list of floats - memoized computation? Lookup function for large list of floats - memoized computation? c%23 f%23 Lookup System.Collections.Generic.Dictionary t.Add t.ContainsKey Lookup function for large list of floats - memoized computation? I need to write a lookup function for a large list...
[ 0.00958251953125, -0.0034332275390625, 0.01953125, -0.01226806640625, 0.0179443359375, -0.010009765625, 0.0224609375, 0.02294921875, 0.023681640625, 0.00494384765625, 0.00112152099609375, 0.027587890625, 0.005035400390625, -0.005767822265625, 0.028076171875, 0.005157470703125, -0.003...
[ 60818, 2037, 32354, 100, 21334, 5303, 111, 21917, 9821, 163, 432, 29367, 181135, 1363, 3949, 3742, 12353, 78457, 8996, 135932, 10763, 808, 4028, 25500, 7, 162429, 3871, 33022, 6713, 52347, 257, 1639, 5608, 15190, 3525, 42805, 2174, 22799, 9...
[ 0.1922607421875, 0.204833984375, 0.1943359375, 0.06695556640625, 0.1590576171875, 0.228515625, 0.048309326171875, 0.2152099609375, 0.15380859375, 0.11328125, 0.1434326171875, 0.1488037109375, 0.169677734375, 0.0189666748046875, 0.01123046875, 0.0753173828125, 0.0623779296875, 0.034...
embed
28542455_c1
28542455
fsharp
1
Runner(this.Window) runner.Add (System.Reflection.Assembly.GetExecutingAssembly ()); this.Window.RootViewController <- new UINavigationController (runner.GetViewController ()); this.Window.MakeKeyAndVisible() true Code signals: System.NullReferenceException, System.Exception, Xamarin, FluidLayout.fs, System, Fluidity, ...
Runner(this.Window) runner.Add (System.Reflection.Assembly.GetExecutingAssembly ()); this.Window.RootViewController <- new UINavigationController (runner.GetViewController ()); this.Window.MakeKeyAndVisible() true Code signals: System.NullReferenceException, System.Exception, Xamarin, FluidLayout.fs, System, Fluidity, ...
[ 0.00927734375, 0.03271484375, 0.006500244140625, -0.0024566650390625, -0.00836181640625, -0.00909423828125, 0.029541015625, -0.036376953125, 0.0062255859375, -0.0224609375, -0.00970458984375, -0.000568389892578125, 0.00457763671875, -0.026611328125, 0.006439208984375, -0.00811767578125...
[ 208545, 132, 100231, 5, 92049, 24293, 16, 142117, 284, 4028, 84293, 190015, 133, 89845, 38526, 724, 126, 211603, 3142, 903, 12724, 818, 100474, 175904, 3525, 345, 8852, 14677, 125682, 603, 76978, 162429, 37839, 6609, 55356, 29568, 28864, 2607...
[ 0.317138671875, 0.0176239013671875, 0.216064453125, 0.0214385986328125, 0.1246337890625, 0.189697265625, 0.0240936279296875, 0.294189453125, 0.03436279296875, 0.1715087890625, 0.14111328125, 0.16650390625, 0.149658203125, 0.1650390625, 0.05126953125, 0.050537109375, 0.08685302734375,...
embed
2686216_c0
2686216
fsharp
0
Title: short-cutting equality checking in F#? Problem title: short-cutting equality checking in F#? Tags: f%23, equality Problem: short-cutting equality checking in F#? In F#, the equality operator (=) is generally extensional, rather than intensional. That's great! Unfortunately, it appears to me that F# does not use ...
short-cutting equality checking in F#? short-cutting equality checking in F#? f%23 equality NMT short-cutting equality checking in F#? In F#, the equality operator (=) is generally extensional, rather than intensional. That's great! Unfortunately, it appears to me that F# does not use pointer equality to short-cut thes...
[ -0.0084228515625, 0.003021240234375, 0.040771484375, 0.020751953125, 0.003204345703125, -0.01904296875, -0.0126953125, 0.005462646484375, 0.007110595703125, -0.00018024444580078125, 0.010498046875, 0.0299072265625, 0.012939453125, 0.00048828125, 0.007568359375, -0.005279541015625, 0....
[ 16610, 1010, 19514, 28, 161789, 175199, 563, 4904, 23, 1238, 3949, 3742, 541, 37290, 360, 39933, 78690, 137567, 111938, 289, 43257, 3501, 20753, 110117, 6782, 959, 4527, 6275, 56, 19774, 225490, 18151, 76199, 163, 6957, 19780, 33180, 193857, ...
[ 0.1441650390625, 0.120361328125, 0.05755615234375, 0.09844970703125, 0.237548828125, 0.1923828125, 0.14501953125, 0.255126953125, 0.013885498046875, 0.1209716796875, 0.0238037109375, 0.132568359375, 0.03271484375, 0.166015625, 0.006256103515625, 0.20361328125, 0.0889892578125, 0.06...
embed
73616031_c1
73616031
fsharp
1
HttpClient, ctx: artooProvider.dataContext, orders: artooProvider.dataContext.``dbo.OrdersEntity`` list) = async { let ordersChunked = orders |> List.chunkBySize 50 for fiftyOrders in ordersChunked do let! tasks = fiftyOrders |> List.map (fun (order) -> validateOrder (order, httpClient, ctx, false) ) |> Async.Parallel...
HttpClient, ctx: artooProvider.dataContext, orders: artooProvider.dataContext.``dbo.OrdersEntity`` list) = async { let ordersChunked = orders |> List.chunkBySize 50 for fiftyOrders in ordersChunked do let! tasks = fiftyOrders |> List.map (fun (order) -> validateOrder (order, httpClient, ctx, false) ) |> Async.Parallel...
[ -0.0013580322265625, 0.00860595703125, 0.033203125, 0.00537109375, 0.00897216796875, -0.0196533203125, -0.01519775390625, -0.0120849609375, 0.0224609375, -0.003875732421875, 0.01055908203125, 0.0030517578125, 0.0277099609375, -0.00689697265625, 0.000621795654296875, -0.0006103515625, ...
[ 572, 3062, 254, 441, 150, 2517, 4, 108963, 425, 12, 187, 24838, 177997, 62160, 10135, 11935, 22829, 12989, 5, 71, 837, 143045, 1314, 7768, 18, 2481, 164721, 5303, 2203, 10, 12654, 238, 2633, 15982, 3678, 297, 6, 32036, 206, 75358, 12716...
[ 0.05999755859375, 0.140625, 0.135986328125, 0.0926513671875, 0.2249755859375, 0.1976318359375, 0.027618408203125, 0.08984375, 0.1810302734375, 0.04449462890625, 0.1260986328125, 0.249267578125, 0.16455078125, 0.146240234375, 0.08123779296875, 0.011322021484375, 0.19873046875, 0.241...
embed
49775690_c1
49775690
fsharp
1
Fyodor Soikin for pointing out my oversight. The original problem still remains in that I wish to both fire events and reply with a result, but get a timeout. let evt = new Event<int>() let stream = evt.Publish type Agent<'T> = MailboxProcessor<'T> type Command = | Fire of int | Get of int * AsyncReplyChannel<int> let...
Fyodor Soikin for pointing out my oversight. The original problem still remains in that I wish to both fire events and reply with a result, but get a timeout. let evt = new Event<int>() let stream = evt.Publish type Agent<'T> = MailboxProcessor<'T> type Command = | Fire of int | Get of int * AsyncReplyChannel<int> let...
[ -0.01019287109375, 0.0267333984375, -0.0101318359375, -0.0081787109375, 0.003997802734375, -0.0203857421875, 0.0086669921875, -0.009033203125, 0.002044677734375, -0.037353515625, 0.0167236328125, 0.017578125, -0.01397705078125, 0.0283203125, 0.01171875, 0.001953125, 0.0150146484375, ...
[ 1410, 1846, 1061, 25376, 6275, 759, 645, 7, 22553, 7311, 2967, 7464, 47143, 32599, 15044, 11476, 47353, 136, 75836, 678, 16750, 1284, 2046, 10, 1733, 6056, 2633, 75743, 3525, 36943, 4288, 75973, 143145, 15227, 10644, 54603, 618, 25919, 1172...
[ 0.06787109375, 0.1043701171875, 0.051177978515625, 0.1806640625, 0.043182373046875, 0.0148162841796875, 0.0780029296875, 0.026824951171875, 0.1297607421875, 0.068359375, 0.18115234375, 0.034149169921875, 0.0445556640625, 0.1534423828125, 0.113037109375, 0.2230224609375, 0.22912597656...
embed
32254041_c0
32254041
fsharp
0
Title: Unable to Determine Object Type in F# Function Problem title: Unable to Determine Object Type in F# Function Tags: functional-programming, f%23, compiler-errors Problem: Unable to Determine Object Type in F# Function I have the below function in F# and unfortunately in the Seq.filter at the beginning of my fold,...
Unable to Determine Object Type in F# Function Unable to Determine Object Type in F# Function functional-programming f%23 compiler-errors Unable Determine Object Type CreateWordRelationDB AnnotatorModel Entered db.Tweets Seq.cast Tweet Seq.map t.Text db.Words Word Seq.fold Seq.filter w1.Text w2.Text CreateWordRelation ...
[ 0.0213623046875, -0.006500244140625, -0.01104736328125, 0.001068115234375, 0.01007080078125, -0.01483154296875, -0.0126953125, -0.0001354217529296875, -0.00677490234375, -0.0206298828125, 0.004364013671875, 0.0145263671875, 0.00555419921875, -0.0233154296875, 0.009521484375, -0.0046691...
[ 992, 2886, 262, 30524, 134549, 60457, 563, 4904, 28670, 13, 23, 123309, 28966, 1238, 3742, 9969, 34759, 188800, 151313, 164805, 4332, 57860, 39463, 48143, 140290, 1177, 864, 140654, 174379, 22543, 42822, 120337, 148, 5442, 16840, 40041, 127008,...
[ 0.0277099609375, 0.1014404296875, 0.0997314453125, 0.178955078125, 0.2210693359375, 0.22314453125, 0.1278076171875, 0.20654296875, 0.11328125, 0.000762939453125, 0.00885009765625, 0.111572265625, 0.060333251953125, 0.042144775390625, 0.0743408203125, 0.11962890625, 0.1287841796875, ...
embed
14800751_c0
14800751
fsharp
0
Title: printfn and debug output in F# WPF VS2012 project Problem title: printfn and debug output in F# WPF VS2012 project Tags: visual-studio-2012, f%23, wpf Problem: printfn and debug output in F# WPF VS2012 project I'm experimenting with WPF in F#. Visual Studio 2012 has several online project templates for that: F# ...
printfn and debug output in F# WPF VS2012 project printfn and debug output in F# WPF VS2012 project visual-studio-2012 f%23 wpf WPF VS2012 MainApp System System.Windows System.Windows.Controls FSharpx MainWindow XAML MainWindow.xaml Test window.Root STAThread Application Run visual-studio-2012 printfn and debug output ...
[ 0.000637054443359375, 0.03466796875, 0.00885009765625, 0.0198974609375, -0.0174560546875, 0.015625, 0.0245361328125, -0.016357421875, -0.005157470703125, -0.0004062652587890625, 0.0228271484375, -0.0228271484375, 0.01275634765625, -0.005615234375, 0.01214599609375, 0.0120849609375, 0...
[ 28412, 14783, 136, 8, 85779, 140992, 563, 4904, 601, 41265, 44160, 10693, 13452, 21176, 52629, 54458, 1238, 3742, 39557, 12321, 39179, 12353, 43342, 175904, 3467, 88684, 92049, 39456, 8647, 76896, 12724, 144792, 39116, 104921, 28398, 28007, 733...
[ 0.1915283203125, 0.2529296875, 0.00244140625, 0.1358642578125, 0.261962890625, 0.1937255859375, 0.1044921875, 0.1815185546875, 0.0784912109375, 0.2183837890625, 0.18408203125, 0.2015380859375, 0.09588623046875, 0.1475830078125, 0.1588134765625, 0.1978759765625, 0.07452392578125, 0....
embed
30842889_c0
30842889
fsharp
0
Title: Using TaskCompletionSource in F# for use in a .NET library Problem title: Using TaskCompletionSource in F# for use in a .NET library Tags: f%23 Problem: Using TaskCompletionSource in F# for use in a .NET library Considering the following type MyClass () = member x.ReadStreamAsync(stream:Stream) = async { let tcs...
Using TaskCompletionSource in F# for use in a .NET library Using TaskCompletionSource in F# for use in a .NET library f%23 Using TaskCompletionSource NET MyClass x.ReadStreamAsync stream:Stream Array.create stream.ReadAsync buffer.Length Async.AwaitTask tcs.SetResult Omitted tcs.Task DoSomethingAsync Async Task Using T...
[ -0.02001953125, 0.0184326171875, 0.015869140625, -0.0103759765625, 0.023681640625, -0.01361083984375, 0.0118408203125, -0.00360107421875, 0.003875732421875, -0.005096435546875, 0.0084228515625, -0.00982666015625, 0.00103759765625, 0.01458740234375, 0.013916015625, -0.0233154296875, -...
[ 345, 9598, 92, 108161, 133, 1363, 211235, 563, 4904, 4527, 17777, 35773, 23, 5, 1238, 3742, 2646, 140803, 1022, 31345, 115061, 12654, 75973, 69253, 7612, 18234, 449, 634, 9874, 808, 4439, 7, 7136, 2383, 984, 8912, 282, 64113, 62, 18151, ...
[ 0.07745361328125, 0.203125, 0.0723876953125, 0.17529296875, 0.171875, 0.06695556640625, 0.25732421875, 0.132080078125, 0.2108154296875, 0.0894775390625, 0.159423828125, 0.1773681640625, 0.0548095703125, 0.01019287109375, 0.013153076171875, 0.0689697265625, 0.06683349609375, 0.15258...
embed
75967294_c1
75967294
fsharp
1
="Add 2", Top=40) let btnAdd3 = new Button(Text="Add 3", Top=60) let display = new TextBox(Text="click the buttons", Width=200, Left=200) form.Controls.AddRange [| btnAdd0 ; btnAdd1; btnAdd2; btnAdd3; display |] In the let observables I think it transforms the click into whatever value that we have in the type for user...
="Add 2", Top=40) let btnAdd3 = new Button(Text="Add 3", Top=60) let display = new TextBox(Text="click the buttons", Width=200, Left=200) form.Controls.AddRange [| btnAdd0 ; btnAdd1; btnAdd2; btnAdd3; display |] In the let observables I think it transforms the click into whatever value that we have in the type for user...
[ -0.01318359375, 0.0189208984375, 0.0013427734375, -0.017822265625, 0.006256103515625, 0.02294921875, 0.011962890625, 0.01806640625, 0.01153564453125, -0.031494140625, 0.01141357421875, -0.0284423828125, -0.0068359375, 0.015869140625, 0.0164794921875, -0.01611328125, 0.0250244140625, ...
[ 4028, 116, 4792, 125136, 2633, 18, 19, 363, 3525, 144037, 174379, 138, 88586, 44116, 24129, 72295, 123278, 77679, 58302, 5955, 2480, 3173, 175904, 1052, 51459, 2389, 22046, 13566, 5351, 27198, 70, 18158, 3934, 89778, 34292, 765, 10644, 100, ...
[ 0.1793212890625, 0.0858154296875, 0.12451171875, 0.10595703125, 0.251708984375, 0.10205078125, 0.0237884521484375, 0.1351318359375, 0.017913818359375, 0.181640625, 0.0919189453125, 0.07049560546875, 0.1217041015625, 0.146728515625, 0.174072265625, 0.2205810546875, 0.1885986328125, ...
embed
2064088_c0
2064088
fsharp
0
Title: Bug-free coding with closures (in a non pure virtual environment) Problem title: Bug-free coding with closures (in a non pure virtual environment) Tags: c%23, f%23, closures Problem: Bug-free coding with closures (in a non pure virtual environment) Last days, I am struggling to understand closures. I am very big...
Bug-free coding with closures (in a non pure virtual environment) Bug-free coding with closures (in a non pure virtual environment) c%23 f%23 closures Bug-free Bug-free coding with closures (in a non pure virtual environment) Last days, I am struggling to understand closures. I am very big fan of C# so my main testbed ...
[ 0.002349853515625, 0.01116943359375, 0.004302978515625, -0.00506591796875, -0.0029754638671875, -0.0047607421875, -0.00201416015625, 0.029541015625, 0.005126953125, -0.0283203125, -0.01422119140625, -0.0034637451171875, 0.0034027099609375, -0.005096435546875, 0.01129150390625, 0.000158...
[ 57279, 32087, 552, 6238, 678, 170224, 7, 351, 34166, 20513, 65998, 3949, 3742, 1238, 73, 237875, 28219, 6957, 1207, 313, 4904, 5201, 3034, 13482, 46876, 30698, 8060, 28007, 5941, 1415, 25632, 64557, 44691, 48225, 13452, 373, 67192, 4527, 10...
[ 0.15283203125, 0.177978515625, 0.1788330078125, 0.0860595703125, 0.09033203125, 0.2646484375, 0.1180419921875, 0.1123046875, 0.0782470703125, 0.1680908203125, 0.1448974609375, 0.008819580078125, 0.1102294921875, 0.023406982421875, 0.009552001953125, 0.08709716796875, 0.1107177734375,...
embed
2983087_c0
2983087
fsharp
0
Title: F# working with DataReader Problem title: F# working with DataReader Tags: f%23 Problem: F# working with DataReader let reader = selectCommand.ExecuteReader() let getBytesData (x : IDataReader) = let len = reader.GetBytes(1, int64 0, null, 0, 0); // Create a buffer to hold the bytes, and then // read the bytes f...
F# working with DataReader F# working with DataReader f%23 the DataReader selectCommand.ExecuteReader IDataReader reader.GetBytes int64 Create DataTableReader Array.zeroCreate int32 x.GetBytes List reader.Read reader.GetString reader.GetDateTime F# working with DataReader I have above code to read bytes[] from dataread...
[ 0.024658203125, 0.00927734375, -0.004058837890625, 0.0177001953125, -0.0146484375, -0.02685546875, -0.004241943359375, 0.006103515625, -0.0107421875, -0.0029449462890625, 0.0294189453125, 0.0101318359375, -0.00946044921875, -0.0247802734375, -0.0135498046875, -0.0296630859375, -0.002...
[ 563, 4904, 20697, 678, 11809, 31345, 56, 1238, 3742, 36849, 12018, 211603, 137989, 155255, 75358, 13307, 151313, 618, 2886, 69253, 53, 80510, 63784, 6460, 32036, 86291, 70059, 36917, 18151, 12301, 390, 1636, 1295, 607, 3464, 820, 2046, 32354,...
[ 0.15283203125, 0.2109375, 0.09271240234375, 0.00640869140625, 0.10369873046875, 0.244140625, 0.1357421875, 0.040740966796875, 0.13330078125, 0.0277252197265625, 0.0989990234375, 0.031341552734375, 0.165771484375, 0.2109375, 0.111572265625, 0.1280517578125, 0.0625, 0.02386474609375,...
embed
36024232_c1
36024232
fsharp
1
= { X:int; Y:int; State:State } type Response = | Die | Survive | Resurect let isNeighbor cell1 cell2 = let isAbsNeighbor v1 v2 = match abs (v1 - v2) with | 0 | 1 -> true | _ -> false let isValueNeighbor v1 v2 = match v1 >= 0 && v2 >= 0 with | true -> isAbsNeighbor v1 v2 | _ -> isAbsNeighbor v2 v1 match cell1.X <> cel...
= { X:int; Y:int; State:State } type Response = | Die | Survive | Resurect let isNeighbor cell1 cell2 = let isAbsNeighbor v1 v2 = match abs (v1 - v2) with | 0 | 1 -> true | _ -> false let isValueNeighbor v1 v2 = match v1 >= 0 && v2 >= 0 with | true -> isAbsNeighbor v1 v2 | _ -> isAbsNeighbor v2 v1 match cell1.X <> cel...
[ -0.0189208984375, 0.018798828125, -0.008056640625, -0.0030975341796875, -0.00689697265625, -0.028564453125, 0.0048828125, 0.010986328125, -0.00433349609375, 0.0247802734375, 0.00689697265625, 0.047607421875, -0.01214599609375, 0.0084228515625, -0.0023193359375, 0.00225830078125, -0.0...
[ 2203, 1193, 12, 4288, 74, 990, 22836, 135206, 51912, 10644, 92748, 6, 58745, 622, 8018, 686, 272, 9624, 34, 173247, 2633, 83, 6958, 3422, 38750, 418, 304, 24988, 7, 6433, 81, 14858, 43719, 334, 10461, 678, 757, 106, 29568, 98320, 856, ...
[ 0.11376953125, 0.1036376953125, 0.0261077880859375, 0.1427001953125, 0.04931640625, 0.1163330078125, 0.1507568359375, 0.1363525390625, 0.008880615234375, 0.219482421875, 0.2744140625, 0.0142669677734375, 0.008209228515625, 0.1700439453125, 0.0938720703125, 0.125244140625, 0.080810546...
embed
63455837_c0
63455837
fsharp
0
Title: Trying to use `NativePtr.toVoidPtr` or `NativeInt.ToPointer` causes `System.TypeLoadException` Problem title: Trying to use `NativePtr.toVoidPtr` or `NativeInt.ToPointer` causes `System.TypeLoadException` Tags: f%23, .net-core Problem: Trying to use `NativePtr.toVoidPtr` or `NativeInt.ToPointer` causes `System.T...
Trying to use `NativePtr.toVoidPtr` or `NativeInt.ToPointer` causes `System.TypeLoadException` Trying to use `NativePtr.toVoidPtr` or `NativeInt.ToPointer` causes `System.TypeLoadException` f%23 .net-core System.TypeLoadException Trying NativePtr.toVoidPtr NativeInt.ToPointer silk.net FSharp.NativeInterop EntryPoint Un...
[ -0.0036773681640625, -0.003265380859375, 0.0008392333984375, 0.00933837890625, -0.0157470703125, -0.000583648681640625, -0.00799560546875, 0.001708984375, -0.016357421875, -0.037109375, -0.00052642822265625, -0.019287109375, -0.01220703125, 0.006439208984375, 0.0093994140625, -0.020141...
[ 40858, 4527, 4645, 4935, 683, 4448, 188, 36635, 532, 4153, 18, 7763, 147534, 56, 113660, 84293, 196707, 15363, 712, 19279, 63928, 5, 1238, 3949, 3742, 1179, 30854, 12353, 353, 5795, 92, 3467, 254, 44851, 2146, 15123, 79628, 7244, 50886, 9...
[ 0.14306640625, 0.07501220703125, 0.1510009765625, 0.20947265625, 0.1119384765625, 0.2418212890625, 0.1158447265625, 0.1700439453125, 0.0765380859375, 0.0804443359375, 0.1373291015625, 0.156005859375, 0.213623046875, 0.1510009765625, 0.060546875, 0.1378173828125, 0.224365234375, 0.1...
embed
71991828_c1
71991828
fsharp
1
cannot use both the following, the first one will "force" the type, and the other will not work let a_half = Calculator().DivideByTwo(1f) // ok if used before the "decimal" version let b_half = Calculator().DivideByTwo(1m) // ok only if comment the previous one It seems not to work when I want to use more than one typ...
cannot use both the following, the first one will "force" the type, and the other will not work let a_half = Calculator().DivideByTwo(1f) // ok if used before the "decimal" version let b_half = Calculator().DivideByTwo(1m) // ok only if comment the previous one It seems not to work when I want to use more than one typ...
[ -0.0086669921875, 0.0096435546875, 0.0208740234375, 0.0062255859375, 0.0069580078125, -0.02099609375, -0.00469970703125, -0.033203125, 0.01544189453125, -0.001495361328125, 0.000339508056640625, 0.01251220703125, 0.0010986328125, 0.001007080078125, 0.00531005859375, -0.0245361328125, ...
[ 53418, 4527, 15044, 25632, 5117, 50930, 10644, 3789, 1221, 959, 4488, 10, 4200, 420, 212467, 4597, 14055, 33193, 75358, 618, 3613, 3664, 11814, 8108, 170753, 289, 11389, 876, 39, 6868, 3444, 1286, 3501, 1632, 452, 6953, 34292, 32354, 3871, ...
[ 0.1429443359375, 0.15625, 0.1636962890625, 0.04632568359375, 0.001953125, 0.1441650390625, 0.22314453125, 0.04119873046875, 0.002227783203125, 0.0703125, 0.0928955078125, 0.0232391357421875, 0.1318359375, 0.1220703125, 0.189208984375, 0.1085205078125, 0.0831298828125, 0.17370605468...
embed
24732324_c1
24732324
fsharp
1
i, knots) { if(degree == 0){ B <- ifelse((x >= knots[i]) & (x < knots[i+1]), 1, 0) } else { if((knots[degree+i] - knots[i]) == 0) { alpha1 <- 0 } else { alpha1 <- (x - knots[i])/(knots[degree+i] - knots[i]) } if((knots[i+degree+1] - knots[i+1]) == 0) { alpha2 <- 0 } else { alpha2 <- (knots[i+degree+1] - x)/(knots[i+de...
i, knots) { if(degree == 0){ B <- ifelse((x >= knots[i]) & (x < knots[i+1]), 1, 0) } else { if((knots[degree+i] - knots[i]) == 0) { alpha1 <- 0 } else { alpha1 <- (x - knots[i])/(knots[degree+i] - knots[i]) } if((knots[i+degree+1] - knots[i+1]) == 0) { alpha2 <- 0 } else { alpha2 <- (knots[i+degree+1] - x)/(knots[i+de...
[ -0.013671875, 0.037353515625, -0.014404296875, -0.026123046875, 0.0230712890625, -0.008544921875, 0.004791259765625, -0.009765625, 0.0206298828125, 0.012939453125, -0.0255126953125, 0.005584716796875, -0.00081634521484375, 0.0225830078125, -0.00193023681640625, 0.00604248046875, 0.00...
[ 17, 4, 17075, 30591, 16, 10666, 2174, 112, 7134, 13, 69112, 757, 335, 9, 5557, 425, 977, 14, 619, 4426, 21748, 106, 37076, 92, 10869, 1328, 6, 144, 14612, 418, 304, 1022, 125960, 997, 30646, 571, 876, 7, 32354, 79385, 76067, 14566, ...
[ 0.1661376953125, 0.06488037109375, 0.22265625, 0.275146484375, 0.060333251953125, 0.0806884765625, 0.1236572265625, 0.0831298828125, 0.19775390625, 0.013031005859375, 0.091552734375, 0.15234375, 0.18896484375, 0.06134033203125, 0.12060546875, 0.1217041015625, 0.04449462890625, 0.11...
embed
22888473_c0
22888473
fsharp
0
Title: How to turn byte array into an image? Problem title: How to turn byte array into an image? Tags: image, f%23, .net Problem: How to turn byte array into an image? I have an 3D byte[,,] array(i, x, y), inside it it has i = B/G/R and x = x coordinates and y = y coordinates . eg. i = 2 x = 100 y = 200, red component...
How to turn byte array into an image? How to turn byte array into an image? image f%23 .net How Bitmap cat.jpg file.Height file.Width Color.FromArgb file.SetPixel RGB file.Save thisis3darray How to turn byte array into an image? I have an 3D byte[,,] array(i, x, y), inside it it has i = B/G/R and x = x coordinates and ...
[ 0.00274658203125, -0.00115966796875, -0.0072021484375, 0.0040283203125, -0.0026397705078125, 0.0103759765625, -0.014892578125, 0.007659912109375, -0.00146484375, -0.0023956298828125, 0.01226806640625, 0.006256103515625, -0.001922607421875, -0.003021240234375, -0.01953125, -0.0083618164...
[ 11249, 47, 15504, 390, 67, 10298, 53, 3934, 142, 29569, 1238, 3949, 3742, 1179, 27774, 62346, 7515, 25687, 11435, 13025, 22553, 51193, 168407, 7614, 74251, 294, 126, 29348, 52851, 171052, 5464, 272, 903, 164, 363, 1506, 7092, 765, 138, 39...
[ 0.1048583984375, 0.057098388671875, 0.17431640625, 0.168212890625, 0.1708984375, 0.2333984375, 0.166748046875, 0.179443359375, 0.102294921875, 0.259521484375, 0.0400390625, 0.0206146240234375, 0.1546630859375, 0.09625244140625, 0.1236572265625, 0.2064208984375, 0.2034912109375, 0.1...
embed
45170191_c0
45170191
fsharp
0
Title: Error FS0039: namespace or module &#x27;AppConfig&#x27; is not defined in shared project xamarin Problem title: Error FS0039: namespace or module &#x27;AppConfig&#x27; is not defined in shared project xamarin Tags: f%23, xamarin.forms, visual-studio-mac, xamarin Problem: Error FS0039: namespace or module 'AppCon...
Error FS0039: namespace or module &#x27;AppConfig&#x27; is not defined in shared project xamarin Error FS0039: namespace or module &#x27;AppConfig&#x27; is not defined in shared project xamarin f%23 xamarin.forms visual-studio-mac xamarin Error FS0039 AppConfig DbClient.fs Maybe Config AppContext Cobros.Droid DbClient ...
[ 0.011474609375, 0.041015625, -0.003082275390625, 0.023193359375, 0.0152587890625, -0.002960205078125, 0.001708984375, -0.0211181640625, -0.0103759765625, -0.009521484375, 0.001953125, -0.0186767578125, 0.007598876953125, 0.010986328125, 0.01806640625, -0.0021514892578125, 0.004547119...
[ 212059, 93774, 7049, 9323, 210716, 707, 88996, 3768, 39179, 11935, 83671, 83, 959, 61924, 71, 99764, 13452, 2459, 44503, 23, 1238, 3742, 5037, 21176, 52629, 35572, 5659, 391, 275, 150, 17447, 83425, 139403, 22829, 1311, 6369, 63964, 177149, ...
[ 0.188232421875, 0.1990966796875, 0.09893798828125, 0.260009765625, 0.256591796875, 0.06182861328125, 0.2000732421875, 0.10546875, 0.173828125, 0.133544921875, 0.28857421875, 0.016632080078125, 0.1158447265625, 0.1976318359375, 0.03973388671875, 0.1876220703125, 0.165283203125, 0.13...
embed
44232091_c0
44232091
fsharp
0
Title: Access protected const from base class in attribute Problem title: Access protected const from base class in attribute Tags: xunit, f%23, c%23 Problem: Access protected const from base class in attribute I have a base class with a constant public class TestClassBase { protected const string Foo = "Bar"; } which ...
Access protected const from base class in attribute Access protected const from base class in attribute xunit f%23 c%23 base Access TestClassBase Foo Bar Trait MyCSharpTestClass MyFSharpTestClass this.Foo base.Foo TestClassBase.Foo Access protected const from base class in attribute I have a base class with a constant ...
[ 0.0084228515625, 0.003692626953125, -0.0303955078125, -0.0230712890625, 0.017333984375, -0.023193359375, -0.0037078857421875, 0.01141357421875, -0.0081787109375, -0.015869140625, 0.00004124641418457031, 0.013916015625, 0.014892578125, 0.04443359375, -0.02685546875, 0.0142822265625, -...
[ 40266, 30312, 158, 271, 1295, 3647, 18507, 23, 150380, 10438, 6773, 1238, 3742, 8647, 140803, 63473, 9572, 31, 3253, 4937, 217, 2646, 3467, 111337, 903, 27591, 53697, 831, 18588, 313, 4904, 28960, 11249, 54, 442, 563, 959, 125296, 9969, 3...
[ 0.2039794921875, 0.1844482421875, 0.1260986328125, 0.13623046875, 0.08758544921875, 0.223876953125, 0.200927734375, 0.0209503173828125, 0.19482421875, 0.06402587890625, 0.1492919921875, 0.04071044921875, 0.0972900390625, 0.119140625, 0.1268310546875, 0.0853271484375, 0.21240234375, ...
embed
27447933_c0
27447933
fsharp
0
Title: F# &quot;Stateful&quot; Computation Expression Problem title: F# &quot;Stateful&quot; Computation Expression Tags: functional-programming, f%23, computation-expression Problem: F# "Stateful" Computation Expression I'm currently learning F# and hitting a few stumbling blocks; I think a lot of it is learning to th...
F# &quot;Stateful&quot; Computation Expression F# &quot;Stateful&quot; Computation Expression functional-programming f%23 computation-expression Stateful Computation Expression opt1 opt2 Option OptionGroup F# "Stateful" Computation Expression I'm currently learning F# and hitting a few stumbling blocks; I think a lot o...
[ -0.00153350830078125, 0.0078125, 0.007080078125, -0.0016326904296875, -0.01043701171875, 0.0152587890625, 0.0093994140625, -0.000644683837890625, 0.026611328125, -0.0198974609375, -0.0174560546875, 0.01513671875, 0.02099609375, 0.01806640625, 0.004241943359375, 0.0157470703125, -0.01...
[ 563, 4904, 135206, 13, 7844, 159415, 25129, 123309, 28966, 1238, 3742, 181135, 204629, 22836, 43922, 418, 304, 86769, 205072, 82424, 52080, 5962, 10846, 79298, 46389, 5351, 5915, 3095, 125195, 3444, 61924, 34831, 28560, 214, 11341, 19048, 765, ...
[ 0.137451171875, 0.19482421875, 0.10125732421875, 0.101806640625, 0.1595458984375, 0.1697998046875, 0.15625, 0.12939453125, 0.06048583984375, 0.0704345703125, 0.0273284912109375, 0.1917724609375, 0.1461181640625, 0.1385498046875, 0.13330078125, 0.010833740234375, 0.01922607421875, 0...
embed
8523462_c0
8523462
fsharp
0
Title: Interprocess communication in F# Problem title: Interprocess communication in F# Tags: .net, dsl, parallel-processing, f%23 Problem: Interprocess communication in F# I'm working on an external DSL in F#. The language must allow parallel loops: start 5 times operation This starts operation asynchronously 5 times ...
Interprocess communication in F# Interprocess communication in F# .net dsl parallel-processing f%23 Interprocess Interprocess communication in F# I'm working on an external DSL in F#. The language must allow parallel loops: This starts operation asynchronously 5 times and continues with the execution. However, things a...
[ 0.004547119140625, -0.00543212890625, -0.0101318359375, 0.00738525390625, -0.01904296875, -0.00958251953125, 0.01611328125, -0.017822265625, 0.0019378662109375, -0.032958984375, -0.00396728515625, 0.052734375, 0.00787353515625, 0.0400390625, 0.0059814453125, 0.0118408203125, 0.024047...
[ 5337, 63923, 36398, 563, 4904, 1179, 104, 24861, 95103, 1238, 3742, 20697, 173591, 114479, 46876, 63769, 40956, 4034, 41018, 12654, 101966, 190, 20028, 136622, 71924, 4785, 96704, 4527, 136719, 309, 115840, 35773, 12638, 17, 720, 2320, 8110, ...
[ 0.10595703125, 0.21923828125, 0.2059326171875, 0.1448974609375, 0.2479248046875, 0.096923828125, 0.0068359375, 0.1351318359375, 0.1824951171875, 0.0701904296875, 0.07427978515625, 0.06292724609375, 0.1300048828125, 0.1689453125, 0.1387939453125, 0.095458984375, 0.14599609375, 0.212...
embed
60243821_c0
60243821
fsharp
0
Title: WebBrowser control from Console app using F# Problem title: WebBrowser control from Console app using F# Tags: f%23, wpf Problem: WebBrowser control from Console app using F# I have a .netcoreapp3.1 Console App <Project Sdk="Microsoft.NET.Sdk.WindowsDesktop"> <PropertyGroup> <OutputType>Exe</OutputType> <TargetF...
WebBrowser control from Console app using F# WebBrowser control from Console app using F# f%23 wpf Console F# WebBrowser Project Sdk Microsoft.NET.Sdk.WindowsDesktop PropertyGroup OutputType Exe TargetFramework netcoreapp3.1 UseWpf UseWindowsForms ItemGroup Compile Include Program.fs www.microsoft.com browser.DocumentC...
[ -0.01068115234375, 0.0267333984375, -0.0322265625, -0.006134033203125, -0.0166015625, 0.00177764892578125, 0.0301513671875, -0.03271484375, -0.01068115234375, -0.0284423828125, 0.0194091796875, -0.00482177734375, -0.01611328125, 0.0024566650390625, 0.004425048828125, -0.00732421875, ...
[ 4002, 571, 15555, 2189, 6226, 1295, 1657, 40777, 4027, 17368, 563, 4904, 1238, 3742, 39557, 27331, 5740, 7244, 17777, 43342, 4657, 13784, 206984, 205072, 13538, 196707, 5443, 160017, 108386, 2043, 30854, 9007, 97109, 36836, 102973, 78426, 15612...
[ 0.1270751953125, 0.05963134765625, 0.1861572265625, 0.142822265625, 0.2200927734375, 0.09326171875, 0.08154296875, 0.2259521484375, 0.1641845703125, 0.0496826171875, 0.125732421875, 0.2021484375, 0.032623291015625, 0.118408203125, 0.1346435546875, 0.069580078125, 0.1246337890625, 0...
embed
35809493_c0
35809493
fsharp
0
Title: F# function takes too many arguments or used in a context not expected Problem title: F# function takes too many arguments or used in a context not expected Tags: f%23, mathnet-numerics, matrix Problem: F# function takes too many arguments or used in a context not expected I'm trying to implement a cost function...
F# function takes too many arguments or used in a context not expected F# function takes too many arguments or used in a context not expected f%23 mathnet-numerics matrix Matrix Vector y.Count Vector.map Sum J:float F# function takes too many arguments or used in a context not expected I'm trying to implement a cost fu...
[ 0.00677490234375, 0.040771484375, -0.00238037109375, -0.001434326171875, 0.016357421875, 0.0087890625, -0.00836181640625, -0.01373291015625, -0.00408935546875, -0.046875, -0.0157470703125, 0.00872802734375, -0.0068359375, -0.0244140625, -0.002166748046875, -0.006805419921875, 0.00262...
[ 563, 4904, 32354, 51776, 5792, 5941, 10750, 7, 707, 11814, 23, 43701, 959, 84751, 1238, 3949, 3742, 48909, 1179, 50944, 194234, 2609, 18770, 113, 108210, 62346, 36335, 821, 12, 52347, 257, 31577, 29479, 11034, 82424, 18499, 23552, 7103, 511...
[ 0.11474609375, 0.2120361328125, 0.2021484375, 0.11279296875, 0.133544921875, 0.143310546875, 0.2401123046875, 0.024078369140625, 0.0208740234375, 0.10107421875, 0.039031982421875, 0.1781005859375, 0.06878662109375, 0.1485595703125, 0.082275390625, 0.002777099609375, 0.1383056640625, ...
embed
54506429_c0
54506429
fsharp
0
Title: F# - fsc.exe hangs up on huge file Problem title: F# - fsc.exe hangs up on huge file Tags: f%23 Problem: F# - fsc.exe hangs up on huge file I run some organic chemistry models. A model is described by a generated ModelData.fs file, e.g.: https://github.com/kkkmail/ClmFSharp/blob/master/Clm/Model/ModelData.fs . T...
F# - fsc.exe hangs up on huge file F# - fsc.exe hangs up on huge file f%23 fsc.exe ModelData.fs F# - fsc.exe hangs up on huge file I run some organic chemistry models. A model is described by a generated ModelData.fs file, e.g.: https://github.com/kkkmail/ClmFSharp/blob/master/Clm/Model/ModelData.fs . The file has a ve...
[ -0.002044677734375, -0.00848388671875, -0.00201416015625, -0.009765625, -0.0111083984375, -0.003082275390625, 0.0013427734375, 0.004669189453125, 0.01116943359375, -0.032470703125, -0.000629425048828125, -0.006500244140625, 0.003387451171875, 0.00299072265625, 0.03955078125, 0.00186920...
[ 563, 4904, 1238, 10382, 5, 46480, 10756, 1257, 98, 58696, 11435, 3742, 13293, 137989, 17447, 7, 11675, 107554, 290, 6133, 115774, 3299, 151552, 139392, 15769, 32102, 3218, 2065, 28122, 36381, 3467, 12986, 47327, 140290, 4552, 8781, 45646, 473...
[ 0.130615234375, 0.212890625, 0.1240234375, 0.186767578125, 0.0382080078125, 0.19775390625, 0.211669921875, 0.1484375, 0.1021728515625, 0.134521484375, 0.19873046875, 0.08349609375, 0.2010498046875, 0.1356201171875, 0.149169921875, 0.0169525146484375, 0.034332275390625, 0.1708984375...
embed
7901649_c0
7901649
fsharp
0
Title: Statically resolved types with Records Problem title: Statically resolved types with Records Tags: generics, type-parameter, f%23 Problem: Statically resolved types with Records You probably know the Adapter example below : type Cat() = member this.Walk() = printf "Cat walking" type Dog() = member this.Walk() = ...
Statically resolved types with Records Statically resolved types with Records generics type-parameter f%23 Statically Records Cat this.Walk Dog Walk Name Miaou Waf get_Name Statically resolved types with Records You probably know the Adapter example below : a different version of walk is compiled statically for the Cat...
[ -0.0147705078125, -0.0135498046875, 0.0224609375, 0.004180908203125, -0.008056640625, -0.01214599609375, -0.025146484375, 0.0089111328125, -0.0030975341796875, -0.031494140625, -0.0205078125, -0.001922607421875, 0.00323486328125, -0.005126953125, 0.0146484375, -0.02197265625, -0.0167...
[ 23888, 71407, 103608, 52895, 678, 89916, 71, 189534, 10644, 6276, 29089, 1238, 3949, 3742, 18826, 903, 97207, 92, 41129, 115059, 15757, 45950, 796, 3316, 420, 2046, 163612, 91903, 56, 27781, 35064, 12921, 11389, 35691, 375, 5974, 13254, 100, ...
[ 0.2015380859375, 0.1083984375, 0.1859130859375, 0.214599609375, 0.1063232421875, 0.255615234375, 0.03857421875, 0.2032470703125, 0.154541015625, 0.03271484375, 0.0286865234375, 0.057098388671875, 0.046844482421875, 0.1334228515625, 0.1829833984375, 0.055145263671875, 0.1451416015625,...
embed
70937857_c0
70937857
fsharp
0
Title: Rearrange rows and columns in Deedle Problem title: Rearrange rows and columns in Deedle Tags: f%23, deedle Problem: Rearrange rows and columns in Deedle I have a table like Month Cluster Year ActualAmount TargetedAmount 1 1 2015 100 200 1 1 2016 300 400 1 1 2017 300 400 2 1 2015 500 600 2 2 2016 700 800 and I w...
Rearrange rows and columns in Deedle Rearrange rows and columns in Deedle f%23 deedle Rearrange Deedle Month Cluster Year ActualAmount TargetedAmount ActualAmount.2015 ActualAmount.2016 ActualAmount.2017 TargetedAmount.2015 System Record Records Frame.ofRecords df.Print Frame.pivotTable r.GetAs pdf.Print Deedle.Frame S...
[ -0.00194549560546875, 0.0142822265625, -0.0015106201171875, 0.0203857421875, -0.0162353515625, -0.03125, -0.02294921875, 0.006561279296875, -0.0003490447998046875, 0.031982421875, -0.0179443359375, 0.0262451171875, -0.00775146484375, 0.00133514404296875, -0.00885009765625, 0.0021514892...
[ 853, 147, 94250, 15555, 136, 3365, 316, 23, 262, 297, 133, 1779, 1238, 3949, 3742, 8, 12982, 140077, 1515, 42552, 100582, 121147, 160017, 5357, 4131, 3259, 12353, 54877, 89916, 42557, 4390, 32271, 420, 112079, 1434, 965, 18, 618, 2886, 16...
[ 0.08953857421875, 0.1380615234375, 0.1815185546875, 0.180908203125, 0.1109619140625, 0.1373291015625, 0.1328125, 0.04400634765625, 0.138427734375, 0.1588134765625, 0.170654296875, 0.002410888671875, 0.04449462890625, 0.032928466796875, 0.147705078125, 0.0963134765625, 0.0665283203125...
embed
4318404_c0
4318404
fsharp
0
Title: Why is ListBox.Items.IsReadOnly=true? (F#/Silverlight) Problem title: Why is ListBox.Items.IsReadOnly=true? (F#/Silverlight) Tags: silverlight, f%23, listbox Problem: Why is ListBox.Items.IsReadOnly=true? (F#/Silverlight) I'm trying to remove some objects from a ListBox that I have created, and for some reason L...
Why is ListBox.Items.IsReadOnly=true? (F#/Silverlight) Why is ListBox.Items.IsReadOnly=true? (F#/Silverlight) silverlight f%23 listbox System.InvalidOperationException Why ListBox.Items.IsReadOnly Silverlight myListBox.Items.Add myListBox.Items.Remove Operation System.Windows.Controls.ItemCollection.RemoveImpl Object S...
[ 0.0050048828125, 0.02880859375, 0.0233154296875, -0.0159912109375, -0.015380859375, 0.00469970703125, 0.01300048828125, 0.0027313232421875, 0.008056640625, 0.00390625, 0.0191650390625, -0.01495361328125, 0.00433349609375, 0.013916015625, 0.00946044921875, -0.00152587890625, 0.0224609...
[ 44084, 83, 32036, 72295, 568, 2982, 7, 29598, 31345, 20320, 538, 9774, 13, 919, 4904, 113020, 814, 20016, 115392, 1238, 3949, 3742, 5303, 11728, 12353, 7013, 156823, 19279, 63928, 57035, 759, 154663, 4028, 432, 102203, 43342, 175904, 133, 1...
[ 0.12744140625, 0.03265380859375, 0.196044921875, 0.23828125, 0.049560546875, 0.1888427734375, 0.037322998046875, 0.0823974609375, 0.225341796875, 0.1412353515625, 0.084228515625, 0.1883544921875, 0.02398681640625, 0.0390625, 0.08953857421875, 0.0621337890625, 0.059112548828125, 0.1...
embed
35737192_c0
35737192
fsharp
0
Title: FAKE error when trying to use Fake.FscHelper Problem title: FAKE error when trying to use Fake.FscHelper Tags: f%23-fake, f%23 Problem: FAKE error when trying to use Fake.FscHelper I'm trying to use FAKE to build my F# project. The build.fsx looks like below and works fine. #r "packages/FAKE/tools/FakeLib.dll" o...
FAKE error when trying to use Fake.FscHelper FAKE error when trying to use Fake.FscHelper f%23-fake f%23 FAKE Fake.FscHelper build.fsx FakeLib.dll Target Default Hello World RunTargetOrDefault FscParam.Target TargetType FscParam paket.lock NUGET www.nuget.org FSharp.Core FsUnit NUnit FAKE error when trying to use Fake....
[ -0.011474609375, 0.0206298828125, 0.0040283203125, -0.0191650390625, 0.006805419921875, 0.00408935546875, -0.01129150390625, -0.0169677734375, -0.0186767578125, -0.0036163330078125, 0.005218505859375, -0.0028533935546875, 0.0162353515625, 0.0015869140625, 0.02294921875, -0.011413574218...
[ 563, 119960, 18499, 31577, 4527, 3036, 350, 919, 10382, 60785, 1264, 1238, 27495, 1021, 3742, 45367, 17447, 425, 104820, 1181, 160017, 35378, 6661, 28398, 63031, 3794, 19060, 187423, 11, 55292, 196707, 13360, 21135, 18057, 79794, 539, 93774, ...
[ 0.18310546875, 0.240234375, 0.172119140625, 0.08453369140625, 0.10321044921875, 0.1927490234375, 0.187744140625, 0.12841796875, 0.1346435546875, 0.2413330078125, 0.204833984375, 0.08544921875, 0.06494140625, 0.1512451171875, 0.07958984375, 0.10400390625, 0.113037109375, 0.09375, ...
embed
71450927_c1
71450927
fsharp
1
B<string, float>() let effs = [effA] let newEffs = add effB effs () To recap: I would like a way to have a queue (or any kind of collection) of Effects<obj, obj> (or any other types, as long as they can be in the collection together) where ALL effects could be kept, and then some way to retrieve them from the list, and...
B<string, float>() let effs = [effA] let newEffs = add effB effs () To recap: I would like a way to have a queue (or any kind of collection) of Effects<obj, obj> (or any other types, as long as they can be in the collection together) where ALL effects could be kept, and then some way to retrieve them from the list, and...
[ 0.00946044921875, 0.0157470703125, -0.0068359375, 0.0111083984375, -0.011474609375, 0.00469970703125, -0.01141357421875, 0.00506591796875, 0.00592041015625, -0.0108642578125, -0.004302978515625, 0.001220703125, 0.004608154296875, -0.005645751953125, -0.0196533203125, 0.00482177734375, ...
[ 335, 91693, 21917, 2633, 68053, 7, 2203, 284, 3525, 4902, 15190, 571, 173915, 2806, 1884, 3917, 47, 765, 10, 41, 13388, 42486, 111, 129297, 3522, 170, 995, 52895, 4989, 25842, 7440, 58837, 93425, 5809, 93544, 456, 3996, 5303, 37702, 4420,...
[ 0.116943359375, 0.1065673828125, 0.078369140625, 0.07452392578125, 0.2041015625, 0.11865234375, 0.036376953125, 0.07940673828125, 0.0594482421875, 0.2142333984375, 0.10302734375, 0.07012939453125, 0.062103271484375, 0.0303955078125, 0.08807373046875, 0.0931396484375, 0.0599365234375,...
embed
20248006_c0
20248006
fsharp
0
Title: f# Intersection of lists Problem title: f# Intersection of lists Tags: f%23, list, intersection Problem: f# Intersection of lists let rec mem list x = match list with | [] -> false | head :: tail -> if x = list.Head then true else mem list.Tail x The function mem takes a list and a var X as parameter and checks ...
f# Intersection of lists f# Intersection of lists f%23 list intersection Intersection list.Head list.Tail list1 list2 list1.Head list1.Tail Second First f# Intersection of lists The function mem takes a list and a var X as parameter and checks if the list contains the value X and returns true if it does and false if it...
[ -0.005401611328125, 0.00860595703125, 0.01153564453125, 0.017578125, 0.003173828125, 0.028076171875, 0.0027008056640625, 0.003875732421875, -0.007171630859375, -0.0250244140625, 0.01708984375, 0.0279541015625, -0.00799560546875, 0.01495361328125, 0.0224609375, 0.0098876953125, 0.0224...
[ 1238, 4904, 5337, 7, 58994, 5303, 111, 3949, 3742, 1940, 13025, 712, 9874, 379, 418, 304, 77648, 23972, 32354, 7199, 51776, 136, 285, 1193, 171859, 12765, 2174, 70541, 34292, 30646, 29568, 14602, 98320, 2517, 3525, 563, 2967, 13319, 3714, ...
[ 0.117919921875, 0.2139892578125, 0.184814453125, 0.19580078125, 0.1815185546875, 0.234130859375, 0.055694580078125, 0.013214111328125, 0.1529541015625, 0.1591796875, 0.07684326171875, 0.06683349609375, 0.07574462890625, 0.043212890625, 0.039642333984375, 0.107421875, 0.04165649414062...
embed
48001356_c0
48001356
fsharp
0
Title: Dynamic Chart - Fable Problem title: Dynamic Chart - Fable Tags: fsharpchart, f%23-data, f%23, fable-f%23 Problem: Dynamic Chart - Fable I have a project with model update view architecture using fable-elmish. And I have to download files every minute and read those files. How can I download in the update functi...
Dynamic Chart - Fable Dynamic Chart - Fable fsharpchart f%23-data f%23 fable-f%23 GotError Dynamic Chart Fable Msg Model GetData Cmd.ofPromise WebClient wc.DownloadData www.quandl.com LBMA SILVER.json GOLD.json Read Json.Object GotData e.Message Model.SilverData Model.GoldData Promise.sleep Dynamic Chart - Fable I have...
[ -0.00087738037109375, 0.007720947265625, 0.01556396484375, 0.01312255859375, 0.004730224609375, 0.006927490234375, -0.0027923583984375, 0.00970458984375, 0.0086669921875, -0.0284423828125, -0.00885009765625, -0.0211181640625, -0.01092529296875, 0.007659912109375, 0.03759765625, 0.01153...
[ 73327, 21068, 110373, 20, 563, 2886, 1238, 89280, 9254, 18, 27495, 10135, 3742, 1071, 2661, 53983, 18468, 31611, 70802, 177, 13293, 20779, 137989, 54686, 4390, 10752, 5453, 92922, 144786, 2940, 141, 48097, 8218, 68785, 33255, 170, 1681, 21386...
[ 0.171630859375, 0.1214599609375, 0.265380859375, 0.01885986328125, 0.1658935546875, 0.2208251953125, 0.030059814453125, 0.098388671875, 0.18994140625, 0.0428466796875, 0.06353759765625, 0.095947265625, 0.030609130859375, 0.143798828125, 0.125244140625, 0.05035400390625, 0.05859375, ...
embed
23448476_c0
23448476
fsharp
0
Title: type inference of (&gt;&gt;)(&gt;&gt;) (function composition) Problem title: type inference of (&gt;&gt;)(&gt;&gt;) (function composition) Tags: f%23, type-inference Problem: type inference of (>>)(>>) (function composition) I have seen somewhere (sorry, I can't find the a reference) this operator composition: (...
type inference of (&gt;&gt;)(&gt;&gt;) (function composition) type inference of (&gt;&gt;)(&gt;&gt;) (function composition) f%23 type-inference Users Temp FS0030 Value Either type inference of (>>)(>>) (function composition) I have seen somewhere (sorry, I can't find the a reference) this operator composition: where (>...
[ 0.0032958984375, -0.00933837890625, 0.018798828125, 0.0162353515625, 0.0135498046875, 0.00057220458984375, -0.00537109375, 0.004302978515625, 0.0108642578125, -0.0230712890625, -0.00360107421875, -0.00019359588623046875, 0.004302978515625, 0.0030975341796875, 0.0274658203125, -0.017333...
[ 10644, 53498, 6620, 111, 5386, 137175, 166577, 16, 1238, 3949, 3742, 73, 69988, 53400, 37446, 93774, 7049, 1197, 190060, 9319, 30813, 51592, 91067, 903, 39933, 7440, 60494, 11, 33079, 275, 238, 20, 83, 32354, 8781, 27781, 621, 23468, 28219,...
[ 0.229248046875, 0.1951904296875, 0.07147216796875, 0.109130859375, 0.08929443359375, 0.1773681640625, 0.252685546875, 0.0162506103515625, 0.1490478515625, 0.037506103515625, 0.1650390625, 0.032073974609375, 0.137451171875, 0.09307861328125, 0.1396484375, 0.0845947265625, 0.0387878417...
embed
63314954_c0
63314954
fsharp
0
Title: Does F# have the same definitions of type and data constructors as Haskell? Problem title: Does F# have the same definitions of type and data constructors as Haskell? Tags: f%23 Problem: Does F# have the same definitions of type and data constructors as Haskell? While reading the excellent introduction to recurs...
Does F# have the same definitions of type and data constructors as Haskell? Does F# have the same definitions of type and data constructors as Haskell? f%23 Does Haskell Gift Book Chocolate Wrapped WrappingPaperStyle Boxed WithACard message:string Does F# have the same definitions of type and data constructors as Haske...
[ 0.00341796875, 0.0224609375, 0.007293701171875, 0.000732421875, 0.01165771484375, -0.0074462890625, -0.0157470703125, 0.017578125, 0.00433349609375, -0.0191650390625, 0.013671875, -0.0184326171875, -0.00106048583984375, -0.003936767578125, 0.002716064453125, 0.01031494140625, 0.02246...
[ 563, 4904, 5701, 80934, 10644, 136, 2053, 64549, 25251, 237, 20625, 142508, 765, 1238, 3742, 104445, 27432, 167499, 219, 48398, 26783, 121903, 209480, 27271, 17106, 156119, 26008, 91693, 195625, 5844, 52895, 50695, 2512, 66624, 7225, 748, 55970...
[ 0.1376953125, 0.218017578125, 0.0521240234375, 0.123046875, 0.19921875, 0.032470703125, 0.123046875, 0.1915283203125, 0.10040283203125, 0.013153076171875, 0.135498046875, 0.219482421875, 0.0015869140625, 0.06329345703125, 0.013153076171875, 0.14111328125, 0.196044921875, 0.14819335...
embed
71577840_c0
71577840
fsharp
0
Title: passing/converting Elmish `dispatch` messages from a parent component to a child component Problem title: passing/converting Elmish `dispatch` messages from a parent component to a child component Tags: f%23, discriminated-union, elmish Problem: passing/converting Elmish `dispatch` messages from a parent compone...
passing/converting Elmish `dispatch` messages from a parent component to a child component passing/converting Elmish `dispatch` messages from a parent component to a child component f%23 discriminated-union elmish a Elmish FBlazorShop FBlazorShop.Web.BlazorClient Home Home.fs Message HomeView ElmishComponent Model Pizz...
[ 0.0016326904296875, 0.0137939453125, 0.006591796875, -0.011962890625, -0.00592041015625, -0.0167236328125, -0.030517578125, 0.0162353515625, 0.0269775390625, -0.01202392578125, -0.004302978515625, -0.00173187255859375, 0.0113525390625, 0.0284423828125, -0.0036468505859375, -0.019653320...
[ 452, 64, 2271, 814, 540, 78192, 3827, 4453, 206, 89914, 1295, 49129, 82761, 47, 29041, 10, 1238, 3949, 3742, 55970, 3674, 87046, 88, 12597, 78959, 5, 143, 441, 150, 2517, 2005, 17447, 48205, 100474, 10770, 54137, 13293, 78011, 83671, 7, ...
[ 0.07763671875, 0.0153045654296875, 0.064453125, 0.140380859375, 0.136962890625, 0.239990234375, 0.04693603515625, 0.14013671875, 0.103759765625, 0.2078857421875, 0.0233154296875, 0.141845703125, 0.212158203125, 0.062042236328125, 0.17822265625, 0.001556396484375, 0.00054931640625, ...
embed
57570978_c1
57570978
fsharp
1
:iso:std:iso:20022:tech:xsd:pain.001.001.03")>] type PaymentTypeInformation = { [<XmlElement(ElementName="SvcLvl", Namespace="urn:iso:std:iso:20022:tech:xsd:pain.001.001.03")>] ServiceLevel: ServiceLevel } [<CLIMutable>] [<XmlRoot(ElementName="DbtrAgt", Namespace="urn:iso:std:iso:20022:tech:xsd:pain.001.001.03")>] type...
:iso:std:iso:20022:tech:xsd:pain.001.001.03")>] type PaymentTypeInformation = { [<XmlElement(ElementName="SvcLvl", Namespace="urn:iso:std:iso:20022:tech:xsd:pain.001.001.03")>] ServiceLevel: ServiceLevel } [<CLIMutable>] [<XmlRoot(ElementName="DbtrAgt", Namespace="urn:iso:std:iso:20022:tech:xsd:pain.001.001.03")>] type...
[ 0.01409912109375, 0.032470703125, -0.01483154296875, -0.004486083984375, 0.0037994384765625, 0.0106201171875, -0.013916015625, -0.0211181640625, 0.01519775390625, -0.0016632080078125, -0.0003147125244140625, 0.03515625, -0.00933837890625, 0.0015411376953125, -0.003082275390625, 0.01263...
[ 152, 16369, 271, 71, 12, 41632, 304, 20489, 425, 7, 74908, 5, 34479, 9513, 18939, 2740, 268, 10644, 17166, 674, 196707, 205169, 2203, 1542, 7237, 19929, 66357, 50132, 2096, 109164, 12349, 5267, 2601, 83318, 34, 22819, 12724, 16723, 18, 94...
[ 0.0391845703125, 0.174560546875, 0.0958251953125, 0.1356201171875, 0.0333251953125, 0.1815185546875, 0.103515625, 0.1484375, 0.05230712890625, 0.018524169921875, 0.2205810546875, 0.0281524658203125, 0.1900634765625, 0.186279296875, 0.05450439453125, 0.05426025390625, 0.0474853515625,...
embed
6203108_c1
6203108
fsharp
1
<binding name="NetTcpBinding_IPrevisionAppServer" closeTimeout="00:01:00" openTimeout="00:20:00" receiveTimeout="01:00:00" sendTimeout="01:00:00" hostNameComparisonMode="StrongWildcard" maxBufferSize="2147483647" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647"> <readerQuotas maxDepth="2147483647" ma...
<binding name="NetTcpBinding_IPrevisionAppServer" closeTimeout="00:01:00" openTimeout="00:20:00" receiveTimeout="01:00:00" sendTimeout="01:00:00" hostNameComparisonMode="StrongWildcard" maxBufferSize="2147483647" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647"> <readerQuotas maxDepth="2147483647" ma...
[ -0.01373291015625, 0.0306396484375, -0.01385498046875, 0.0284423828125, 0.0074462890625, -0.006805419921875, 0.0101318359375, -0.0186767578125, 0.00799560546875, -0.033203125, -0.00701904296875, 0.0069580078125, 0.0021514892578125, 0.00885009765625, 0.004425048828125, -0.01312255859375...
[ 4426, 128239, 9351, 24447, 121422, 16882, 33770, 10931, 107, 25826, 39179, 193348, 20903, 70059, 6056, 7049, 21032, 6632, 9803, 16619, 53299, 6746, 25379, 27980, 163612, 108161, 1686, 9083, 71713, 4021, 152445, 38931, 18389, 7235, 128497, 161382,...
[ 0.007781982421875, 0.260009765625, 0.09820556640625, 0.07769775390625, 0.18603515625, 0.187255859375, 0.1878662109375, 0.009368896484375, 0.1424560546875, 0.25927734375, 0.1673583984375, 0.1961669921875, 0.1688232421875, 0.1644287109375, 0.1304931640625, 0.06884765625, 0.118286132812...
embed
22821920_c1
22821920
fsharp
1
.tryFind "John" [employee_department; department_country; country_currency; exchange_rate] The type checker complains that exchange_rate is expected to be of type Map<string,string> despite the fact that the following applications of Map.tryFind are both valid. let result2 = Map.tryFind "John" employee_department let r...
.tryFind "John" [employee_department; department_country; country_currency; exchange_rate] The type checker complains that exchange_rate is expected to be of type Map<string,string> despite the fact that the following applications of Map.tryFind are both valid. let result2 = Map.tryFind "John" employee_department let r...
[ -0.0059814453125, 0.00970458984375, 0.00274658203125, -0.00201416015625, -0.009765625, -0.007720947265625, -0.0185546875, 0.003509521484375, 0.015869140625, -0.022216796875, 0.006500244140625, 0.0205078125, -0.0004100799560546875, 0.022216796875, 0.01507568359375, 0.0172119140625, 0....
[ 5, 15123, 204582, 98385, 109308, 1033, 112, 17365, 674, 130625, 71013, 1294, 23295, 64240, 33, 2408, 121122, 17957, 10644, 12765, 56, 186992, 83, 84751, 186, 111, 42719, 91693, 2740, 8, 61518, 70, 25632, 86685, 15044, 35604, 2633, 16750, 30...
[ 0.05743408203125, 0.2291259765625, 0.2288818359375, 0.218505859375, 0.078857421875, 0.06201171875, 0.04296875, 0.1390380859375, 0.001953125, 0.1717529296875, 0.0880126953125, 0.047393798828125, 0.1107177734375, 0.1004638671875, 0.0849609375, 0.060791015625, 0.2138671875, 0.18212890...
embed
24548393_c0
24548393
fsharp
0
Title: Why is this naive sieve implementation so slow Problem title: Why is this naive sieve implementation so slow Tags: f%23, sieve-of-eratosthenes Problem: Why is this naive sieve implementation so slow Here's my code let primes = let rec primesRec remain = let prime = Seq.head remain seq { yield Seq.head remain; yi...
Why is this naive sieve implementation so slow Why is this naive sieve implementation so slow f%23 sieve-of-eratosthenes Why Seq.head Seq.filter Seq.initInfinite Seq.take List.ofSeq Why is this naive sieve implementation so slow Here's my code First of all, I know that this isn't as efficient as the sieve should be, bu...
[ -0.0052490234375, 0.0234375, 0.0218505859375, -0.00347900390625, 0.01214599609375, -0.0208740234375, -0.008544921875, -0.0103759765625, 0.006744384765625, -0.04541015625, 0.018310546875, 0.0272216796875, 0.0184326171875, 0.01116943359375, 0.006011962890625, 0.001983642578125, -0.0009...
[ 44084, 83, 903, 24, 5844, 78, 3134, 208124, 221, 72803, 1238, 3949, 3742, 4390, 13164, 232, 2347, 1444, 503, 864, 31251, 120337, 217, 48310, 67, 78219, 32036, 18151, 3714, 18, 237, 93766, 5608, 5351, 7464, 5045, 4271, 56, 21771, 51776, ...
[ 0.1201171875, 0.0626220703125, 0.0833740234375, 0.1097412109375, 0.185302734375, 0.150146484375, 0.208740234375, 0.1832275390625, 0.1151123046875, 0.22607421875, 0.04315185546875, 0.041168212890625, 0.1412353515625, 0.035675048828125, 0.112548828125, 0.06292724609375, 0.134765625, ...
embed
35951358_c0
35951358
fsharp
0
Title: F# generic units in parameters defined in terms of each other Problem title: F# generic units in parameters defined in terms of each other Tags: .net-4.6, f%23, generics, units-of-measurement Problem: F# generic units in parameters defined in terms of each other I am having trouble with F# Units of Measure when ...
F# generic units in parameters defined in terms of each other F# generic units in parameters defined in terms of each other .net-4.6 f%23 generics units-of-measurement Quotient Measure Divisible int64 Remaindered x:int64 y:int64 net-4.6 F# generic units in parameters defined in terms of each other I am having trouble w...
[ -0.01446533203125, 0.034912109375, 0.006866455078125, -0.015869140625, -0.00469970703125, -0.028076171875, 0.0001201629638671875, -0.00004029273986816406, 0.0303955078125, 0.0037841796875, -0.016845703125, -0.00738525390625, 0.0189208984375, -0.012451171875, 0.005859375, -0.01550292968...
[ 563, 4904, 189534, 25072, 23, 171859, 61924, 69407, 12638, 3789, 7, 1179, 115459, 1238, 3949, 3742, 4390, 37440, 56851, 43851, 118, 2517, 1215, 11, 803, 99017, 18, 13307, 853, 192, 5012, 2822, 1022, 12, 4288, 113, 2043, 71, 111, 19441, ...
[ 0.1693115234375, 0.253662109375, 0.23046875, 0.22314453125, 0.04345703125, 0.1920166015625, 0.1790771484375, 0.1275634765625, 0.083984375, 0.1246337890625, 0.0655517578125, 0.10107421875, 0.2100830078125, 0.1119384765625, 0.008636474609375, 0.0684814453125, 0.1409912109375, 0.09997...
embed
42309649_c0
42309649
fsharp
0
Title: Function returning type used in a function taking a generic type parameter Problem title: Function returning type used in a function taking a generic type parameter Tags: generics, first-class, f%23 Problem: Function returning type used in a function taking a generic type parameter So I have this code: type Zero...
Function returning type used in a function taking a generic type parameter Function returning type used in a function taking a generic type parameter generics first-class f%23 Zero One Two Three Four Five Six Seven test_1 Type test_2 test_3 test_4 test_5 Function returning type used in a function taking a generic type ...
[ -0.019775390625, -0.0081787109375, -0.01361083984375, -0.00958251953125, 0.0026397705078125, -0.01116943359375, -0.00933837890625, 0.0013885498046875, -0.000583648681640625, 0.0035858154296875, -0.009765625, -0.0064697265625, 0.00201416015625, -0.00860595703125, 0.01953125, 0.005767822...
[ 28670, 10763, 30646, 214, 10644, 11814, 32354, 35971, 189534, 171859, 5117, 67413, 1238, 3949, 3742, 83947, 6561, 32964, 129335, 65056, 156615, 84247, 132556, 3034, 115187, 60457, 304, 363, 617, 758, 765, 903, 18151, 33306, 4568, 13315, 18499, ...
[ 0.126220703125, 0.0648193359375, 0.2109375, 0.04705810546875, 0.246826171875, 0.1201171875, 0.167724609375, 0.08453369140625, 0.1943359375, 0.1640625, 0.0294189453125, 0.14111328125, 0.068359375, 0.06756591796875, 0.160400390625, 0.136962890625, 0.1065673828125, 0.115966796875, 0...
embed
28435193_c0
28435193
fsharp
0
Title: Problems Creating an Infinite Lazy List Problem title: Problems Creating an Infinite Lazy List Tags: c%23-to-f%23, f%23 Problem: Problems Creating an Infinite Lazy List I completed the seventh Euler problem* in F# but am not entirely happy with my implementation. In the function primes I create a sequence that I...
Problems Creating an Infinite Lazy List Problems Creating an Infinite Lazy List c%23-to-f%23 f%23 Problems Creating Infinite Lazy List Seq.forall Seq.map Async.Parallel Async.RunSynchronously Array.filter Array.map Array.mapi Array.find Problems Creating an Infinite Lazy List I completed the seventh Euler problem* in F...
[ -0.004547119140625, 0.018798828125, 0.0020599365234375, -0.006683349609375, 0.01531982421875, -0.014404296875, 0.01300048828125, -0.024658203125, 0.00811767578125, -0.038818359375, 0.011474609375, 0.020751953125, -0.004913330078125, -0.0021514892578125, 0.01519775390625, 0.023681640625...
[ 15649, 56781, 134322, 13, 239, 3285, 32036, 1916, 27495, 188, 420, 3742, 1238, 503, 864, 5584, 62346, 12654, 163321, 1900, 69253, 120337, 1434, 142, 140528, 59671, 927, 5177, 603, 2967, 563, 4904, 959, 17723, 208124, 32354, 20809, 7, 28282,...
[ 0.1878662109375, 0.1678466796875, 0.171142578125, 0.074951171875, 0.17041015625, 0.2283935546875, 0.2249755859375, 0.0184783935546875, 0.0675048828125, 0.0872802734375, 0.034393310546875, 0.078857421875, 0.0226898193359375, 0.0592041015625, 0.163818359375, 0.0286407470703125, 0.04913...
embed
52061169_c1
52061169
fsharp
1
from a F# file? I'm using the following .NET versions: dotnet --info .NET Core SDK (reflecting any global.json): Version: 2.1.401 Commit: 91b1c13032 Runtime Environment: OS Name: Windows OS Version: 10.0.15063 OS Platform: Windows RID: win10-x64 Base Path: C:\Program Files\dotnet\sdk\2.1.401\ Host (useful for support)...
from a F# file? I'm using the following .NET versions: dotnet --info .NET Core SDK (reflecting any global.json): Version: 2.1.401 Commit: 91b1c13032 Runtime Environment: OS Name: Windows OS Version: 10.0.15063 OS Platform: Windows RID: win10-x64 Base Path: C:\Program Files\dotnet\sdk\2.1.401\ Host (useful for support)...
[ -0.01202392578125, 0.005035400390625, -0.0038299560546875, 0.00836181640625, 0.0038909912109375, -0.002349853515625, -0.0172119140625, -0.010986328125, -0.01324462890625, 0.0111083984375, 0.0045166015625, 0.0052490234375, -0.00872802734375, 0.01153564453125, 0.01116943359375, -0.000549...
[ 1295, 10, 563, 4904, 11435, 32, 87, 39, 17368, 25632, 5, 17777, 11389, 7, 20633, 1179, 7319, 31365, 159, 45461, 29087, 8996, 2499, 7964, 170, 1681, 40647, 787, 91977, 6746, 4007, 20031, 6460, 28398, 6032, 686, 1900, 11787, 15757, 3773, ...
[ 0.24267578125, 0.051055908203125, 0.1661376953125, 0.223876953125, 0.212158203125, 0.063720703125, 0.04315185546875, 0.00128173828125, 0.14306640625, 0.0633544921875, 0.03448486328125, 0.2142333984375, 0.150634765625, 0.0157318115234375, 0.140380859375, 0.2386474609375, 0.130859375, ...
embed
61799406_c0
61799406
fsharp
0
Title: By not complying with the offside rule, can it result in the incorrectness of a program? Problem title: By not complying with the offside rule, can it result in the incorrectness of a program? Tags: f%23 Problem: By not complying with the offside rule, can it result in the incorrectness of a program? F# uses the...
By not complying with the offside rule, can it result in the incorrectness of a program? By not complying with the offside rule, can it result in the incorrectness of a program? f%23 standard FS0058 Possible Try By not complying with the offside rule, can it result in the incorrectness of a program? F# uses the offside...
[ -0.002471923828125, -0.0016021728515625, -0.00156402587890625, 0.0185546875, 0.00274658203125, 0.017333984375, -0.017578125, 0.0128173828125, 0.00103759765625, 0.00286865234375, 0.019775390625, 0.007598876953125, -0.00787353515625, 0.0172119140625, 0.028564453125, -0.0159912109375, 0...
[ 3311, 959, 9969, 538, 214, 678, 5773, 8752, 79986, 831, 16750, 214552, 7432, 1528, 1238, 3949, 3742, 5570, 93774, 7049, 10057, 115861, 2661, 40858, 442, 563, 4904, 4527, 100, 22, 7, 26785, 18597, 22062, 4263, 903, 18, 134629, 185231, 1799...
[ 0.0163116455078125, 0.1427001953125, 0.1751708984375, 0.1505126953125, 0.047821044921875, 0.1263427734375, 0.267333984375, 0.25341796875, 0.2010498046875, 0.1279296875, 0.1396484375, 0.2239990234375, 0.1031494140625, 0.19384765625, 0.08001708984375, 0.007537841796875, 0.1600341796875...
embed
75284287_c0
75284287
fsharp
0
Title: Plotly.Net offline use Problem title: Plotly.Net offline use Tags: f%23, plotly.net Problem: Plotly.Net offline use Is it possible to run Plotly.Net offline with F#? You can store "plotly-2.6.3.min.js" and "require.min.js" locally and replace paths to html/javascript and see graphs. But when using Geo Maps, how ...
Plotly.Net offline use Plotly.Net offline use f%23 plotly.net Plotly.Net world_110m.json IO.File.ReadAllText JsonConvert.DeserializeObject Chart.PointGeo GeoJson Chart.withMarginSize Chart.show Plotly.Net offline use Is it possible to run Plotly.Net offline with F#? You can store "plotly-2.6.3.min.js" and "require.min....
[ 0.0023040771484375, 0.01806640625, 0.0225830078125, -0.00335693359375, -0.0218505859375, 0.00164031982421875, 0.022216796875, -0.01263427734375, 0.00726318359375, -0.0101318359375, 0.005889892578125, 0.010498046875, 0.00311279296875, 0.01458740234375, 0.00836181640625, 0.0115966796875,...
[ 168763, 538, 24447, 96083, 4527, 1238, 3949, 3742, 23577, 1179, 8999, 36053, 39, 170, 1681, 17780, 174350, 31345, 43512, 174379, 821, 11549, 73347, 25435, 75161, 110373, 147534, 10429, 30152, 1375, 76228, 127167, 31374, 2071, 7722, 11675, 5, ...
[ 0.243896484375, 0.245849609375, 0.1810302734375, 0.268798828125, 0.09033203125, 0.08697509765625, 0.035888671875, 0.140380859375, 0.2039794921875, 0.1466064453125, 0.1143798828125, 0.2017822265625, 0.126953125, 0.0867919921875, 0.1328125, 0.10577392578125, 0.08428955078125, 0.05102...
embed
34113637_c0
34113637
fsharp
0
Title: Fold by column in Math Net numerics, keeping track of number of columns Problem title: Fold by column in Math Net numerics, keeping track of number of columns Tags: math.net, c%23, mathnet-numerics, f%23 Problem: Fold by column in Math Net numerics, keeping track of number of columns Using Math.Net numerics, I w...
Fold by column in Math Net numerics, keeping track of number of columns Fold by column in Math Net numerics, keeping track of number of columns math.net c%23 mathnet-numerics f%23 Fold Math Net points.FoldByColumn coefficients_array Array.map coefficients_array.length-1 self.model_coefs math.net Fold by column in Math ...
[ -0.01214599609375, 0.013916015625, -0.0250244140625, 0.0322265625, -0.02392578125, -0.002166748046875, -0.01031494140625, 0.00933837890625, 0.014892578125, -0.0400390625, 0.000946044921875, -0.0050048828125, -0.03271484375, 0.003173828125, -0.019775390625, 0.0035552978515625, -0.0235...
[ 30077, 71, 390, 3365, 316, 23, 78804, 10086, 54744, 4439, 120260, 28560, 14012, 19, 48909, 1179, 3742, 2606, 56, 26847, 919, 18345, 75358, 78457, 552, 4240, 11044, 19305, 69253, 62346, 15970, 51734, 24447, 66211, 8305, 12638, 6024, 62479, 3...
[ 0.1832275390625, 0.0980224609375, 0.171630859375, 0.14697265625, 0.154296875, 0.0086669921875, 0.1153564453125, 0.1783447265625, 0.1285400390625, 0.050567626953125, 0.0732421875, 0.146728515625, 0.045166015625, 0.04241943359375, 0.101806640625, 0.1612548828125, 0.037872314453125, 0...
embed
64546529_c1
64546529
fsharp
1
20-10-26T23:44:51.925Z\"},\"expiration\":\"2020-10-26T23:44:51.925Z\",\"timestamp\":\"2020-10-26T19:44:52.942138926Z\"}", "timestamp": "2020-10-26T19:44:54.293187793Z" }, "version": "2" } and I am trying to deserialize it. I created the following types: type SiRoot = { Success: bool Data: SiData list Version: string } ...
20-10-26T23:44:51.925Z\"},\"expiration\":\"2020-10-26T23:44:51.925Z\",\"timestamp\":\"2020-10-26T19:44:52.942138926Z\"}", "timestamp": "2020-10-26T19:44:54.293187793Z" }, "version": "2" } and I am trying to deserialize it. I created the following types: type SiRoot = { Success: bool Data: SiData list Version: string } ...
[ -0.0164794921875, 0.0286865234375, -0.0228271484375, 0.0093994140625, -0.0003757476806640625, 0.005645751953125, -0.0029754638671875, 0.007232666015625, 0.00141143798828125, -0.00067901611328125, 0.00897216796875, -0.0018768310546875, 0.0167236328125, -0.0157470703125, -0.013671875, 0....
[ 387, 52486, 4046, 3742, 32705, 1126, 2588, 58, 83613, 14, 30494, 12, 49409, 5, 41872, 830, 6032, 590, 2676, 33915, 8152, 618, 34417, 51912, 4, 46354, 304, 31577, 224, 25435, 119066, 442, 75935, 70, 25632, 52895, 10644, 602, 12724, 818, ...
[ 0.032196044921875, 0.05828857421875, 0.056976318359375, 0.006195068359375, 0.0076904296875, 0.007232666015625, 0.0311279296875, 0.00634765625, 0.047607421875, 0.052703857421875, 0.021881103515625, 0.006134033203125, 0.109619140625, 0.00616455078125, 0.00555419921875, 0.0059814453125, ...
embed
3720141_c0
3720141
fsharp
0
Title: F# lazy eval from stream reader? Problem title: F# lazy eval from stream reader? Tags: evaluation, eager, f%23, lazy-evaluation Problem: F# lazy eval from stream reader? I'm running into a bug in my code that makes me think that I don't really understand some of the details about F# and lazy evaluation. I know t...
F# lazy eval from stream reader? F# lazy eval from stream reader? evaluation eager f%23 lazy-evaluation System.ObjectDisposedException System.IO.__Error stream it a Open Close File.OpenRead raw.txt StreamReader r.ReadToEnd r.Close s.Close Cannot TextReader System.IO.__Error.ReaderClosed System.IO.StreamReader.ReadToEnd...
[ 0.0167236328125, 0.012939453125, 0.0076904296875, -0.019287109375, 0.0286865234375, -0.01104736328125, 0.0247802734375, -0.0003662109375, -0.012451171875, -0.0205078125, 0.0078125, 0.01239013671875, 0.0045166015625, -0.016357421875, 0.036376953125, -0.01263427734375, 0.00534057617187...
[ 563, 4904, 21, 3285, 28, 1405, 1295, 75973, 155255, 219836, 33730, 1238, 3742, 159258, 12353, 46471, 75161, 44456, 144429, 63928, 17780, 18468, 31611, 442, 13527, 153335, 42724, 103264, 31345, 49649, 124326, 115061, 56, 152378, 59453, 10869, 24...
[ 0.1453857421875, 0.208251953125, 0.15380859375, 0.209228515625, 0.0775146484375, 0.21337890625, 0.0975341796875, 0.2064208984375, 0.251220703125, 0.19287109375, 0.1893310546875, 0.092041015625, 0.03717041015625, 0.176025390625, 0.06097412109375, 0.037841796875, 0.1014404296875, 0.0...
embed
12671112_c0
12671112
fsharp
0
Title: Why does value restriction happen with MergeSort function? Problem title: Why does value restriction happen with MergeSort function? Tags: f%23, value-restriction, mergesort Problem: Why does value restriction happen with MergeSort function? I have a very simple MergeSort implementation on List. /// Divide the l...
Why does value restriction happen with MergeSort function? Why does value restriction happen with MergeSort function? f%23 value-restriction mergesort Why MergeSort Divide x1::x2::xs xs1 xs2 x1::xs1 x2::xs2 Merge x::xs y::ys x::merge y::merge Why does value restriction happen with MergeSort function? I have a very simp...
[ -0.01611328125, 0.013916015625, 0.0263671875, -0.028564453125, 0.02001953125, -0.007293701171875, -0.0157470703125, -0.00555419921875, 0.0128173828125, 0.012451171875, -0.00982666015625, 0.015625, 0.0291748046875, -0.0089111328125, 0.02197265625, -0.01190185546875, -0.009033203125, ...
[ 44084, 34292, 185190, 53383, 678, 6035, 429, 158240, 18, 32354, 1238, 3742, 107, 7655, 42564, 62351, 76278, 112, 1022, 82825, 425, 304, 418, 113, 4778, 1991, 14602, 8781, 208124, 32036, 217684, 37842, 3034, 107730, 563, 4904, 5337, 71232, 1...
[ 0.1131591796875, 0.203857421875, 0.25634765625, 0.085205078125, 0.07049560546875, 0.1666259765625, 0.147705078125, 0.2127685546875, 0.0924072265625, 0.13134765625, 0.05078125, 0.1005859375, 0.0811767578125, 0.1572265625, 0.2017822265625, 0.191650390625, 0.13330078125, 0.10083007812...
embed
40893531_c0
40893531
fsharp
0
Title: Add calculated key to collection Problem title: Add calculated key to collection Tags: f%23-data, f%23 Problem: Add calculated key to collection Please consider this dataset, composed by man and woman, and that I filter in a second moment according to few variables: type ls = JsonProvider<"..."> let dt = ls.GetS...
Add calculated key to collection Add calculated key to collection f%23-data f%23 Add JsonProvider ls.GetSamples dt2 Seq.filter c.Sex c.Height Some dt3 dt2.Add dt2.Height dt2.Weight FS0039 Add calculated key to collection Please consider this dataset, composed by man and woman, and that I filter in a second moment accor...
[ 0.00665283203125, 0.0294189453125, -0.001983642578125, -0.00628662109375, -0.01611328125, -0.01043701171875, 0.00860595703125, 0.0172119140625, 0.0123291015625, -0.0185546875, 0.0194091796875, 0.0135498046875, 0.0184326171875, 0.0142822265625, 0.017822265625, -0.0140380859375, 0.0085...
[ 29117, 74481, 3674, 22799, 47, 42486, 1238, 27495, 10135, 3742, 821, 1681, 177997, 62160, 126, 29494, 304, 503, 864, 120337, 116542, 13025, 22553, 363, 5442, 4028, 12137, 93774, 9323, 2053, 3509, 150350, 332, 136, 46667, 46312, 17932, 3095, ...
[ 0.1478271484375, 0.251953125, 0.13330078125, 0.251708984375, 0.156005859375, 0.272705078125, 0.008941650390625, 0.081787109375, 0.1187744140625, 0.0997314453125, 0.1103515625, 0.1842041015625, 0.128662109375, 0.0758056640625, 0.006866455078125, 0.134765625, 0.04833984375, 0.0023803...
embed
18605980_c0
18605980
fsharp
0
Title: How to use QR decomposition of Extreme optimization Problem title: How to use QR decomposition of Extreme optimization Tags: f%23, f%23-3.0 Problem: How to use QR decomposition of Extreme optimization http://social.msdn.microsoft.com/Forums/vstudio/en-US/7e952c45-2494-4650-aa61-89d5ea21f1f3/how-to-use-qr-decompo...
How to use QR decomposition of Extreme optimization How to use QR decomposition of Extreme optimization f%23 f%23-3.0 How Extreme TwelvePalace Array2D.zeroCreate DenseMatrix.Create QRProvider QRDecomposition iii.GetQRDecomposition DenseMatrix QRProvider.OrthogonalFactor.ToDenseMatrix QRProvider.UpperTriangularFactor.To...
[ -0.00139617919921875, 0.0033721923828125, 0.0036163330078125, -0.0177001953125, 0.00537109375, -0.0166015625, -0.01318359375, -0.01019287109375, 0.00194549560546875, -0.011474609375, 0.0169677734375, -0.0034027099609375, 0.0142822265625, -0.021240234375, -0.01104736328125, -0.016113281...
[ 11249, 47, 4527, 79631, 8, 277, 40322, 96051, 13, 87235, 1363, 111, 1238, 3742, 132265, 384, 8420, 272, 81841, 8509, 69253, 53, 304, 397, 80510, 63784, 1575, 184, 4613, 87427, 177997, 62160, 4657, 1573, 2737, 19060, 6126, 135518, 7763, 21...
[ 0.07232666015625, 0.0374755859375, 0.142578125, 0.28173828125, 0.1826171875, 0.173828125, 0.1290283203125, 0.1824951171875, 0.10723876953125, 0.193359375, 0.023590087890625, 0.001373291015625, 0.00946044921875, 0.0400390625, 0.10565185546875, 0.036895751953125, 0.1507568359375, 0.1...
embed
22021764_c0
22021764
fsharp
0
Title: Infinite functions in parallel Problem title: Infinite functions in parallel Tags: .net, asynchronous, f%23, parallel-processing Problem: Infinite functions in parallel I have a function that executes in following manner: while true [do something] [sleep] Now I want to start multiple threads that will do the sam...
Infinite functions in parallel Infinite functions in parallel .net asynchronous f%23 parallel-processing Infinite Async.Parallel Async.RunSynchronously Seq.map Thread.Sleep TimeSpan.FromHours Async.Ignore Array.map Task.Factory.StartNew Task.WaitAll Infinite functions in parallel I have a function that executes in foll...
[ -0.00750732421875, 0.0005035400390625, -0.00897216796875, -0.019287109375, -0.025390625, -0.0233154296875, 0.022705078125, -0.0147705078125, -0.0028533935546875, -0.049560546875, -0.005035400390625, 0.041259765625, 0.005218505859375, 0.023193359375, 0.02001953125, 0.0174560546875, 0....
[ 134322, 13, 32354, 23, 95103, 1179, 12654, 101966, 1238, 3949, 3742, 63923, 238, 55292, 1229, 163321, 217835, 127, 1900, 79850, 864, 62346, 136719, 133, 4517, 19055, 3180, 11193, 11137, 69253, 9598, 135518, 126597, 22489, 217, 43512, 7, 71924...
[ 0.21533203125, 0.1015625, 0.2215576171875, 0.046173095703125, 0.25927734375, 0.1256103515625, 0.1888427734375, 0.1500244140625, 0.03411865234375, 0.001312255859375, 0.1405029296875, 0.0782470703125, 0.06689453125, 0.07415771484375, 0.0712890625, 0.037933349609375, 0.064208984375, 0...
embed
57674161_c1
57674161
fsharp
1
type is InputMessageConcreteTypeA -> CSharpLib.FunctionResult, this is exactly the type of the second parameter that DoWork is expecting but instead it gives me the following error: This expression was expected to have type 'Func<'a,CSharpLib.FunctionResult>' but here has type 'b -> CSharpLib.FunctionResult' Interesti...
type is InputMessageConcreteTypeA -> CSharpLib.FunctionResult, this is exactly the type of the second parameter that DoWork is expecting but instead it gives me the following error: This expression was expected to have type 'Func<'a,CSharpLib.FunctionResult>' but here has type 'b -> CSharpLib.FunctionResult' Interesti...
[ -0.01373291015625, 0.00133514404296875, 0.005126953125, -0.016357421875, -0.01165771484375, 0.00897216796875, -0.00054168701171875, -0.00347900390625, 0.00457763671875, -0.026611328125, 0.01080322265625, 0.0264892578125, -0.01129150390625, 0.01171875, 0.0147705078125, -0.0208740234375,...
[ 10644, 360, 7077, 6011, 429, 7612, 196707, 284, 3467, 254, 104820, 97249, 4332, 7, 7136, 66161, 17932, 171859, 984, 108259, 41206, 64457, 18499, 125195, 84751, 238, 11, 275, 10763, 15549, 18151, 25632, 14602, 9969, 1340, 7768, 15123, 147534, ...
[ 0.1837158203125, 0.0228424072265625, 0.1187744140625, 0.1207275390625, 0.035736083984375, 0.1820068359375, 0.14404296875, 0.10723876953125, 0.1094970703125, 0.050048828125, 0.1907958984375, 0.1085205078125, 0.0255279541015625, 0.081787109375, 0.136474609375, 0.001678466796875, 0.0932...
embed
9137542_c1
9137542
fsharp
1
and password respecitively): //Via firefox POST https://server2.olcr.uwa.edu.au/olcrstudent/index.jsp HTTP/1.1 Host: server2.olcr.uwa.edu.au User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: en...
and password respecitively): //Via firefox POST https://server2.olcr.uwa.edu.au/olcrstudent/index.jsp HTTP/1.1 Host: server2.olcr.uwa.edu.au User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: en...
[ 0.004974365234375, 0.0015869140625, -0.0218505859375, 0.007568359375, -0.00830078125, -0.0167236328125, -0.004730224609375, 0.006439208984375, -0.0115966796875, -0.01495361328125, 0.016357421875, 0.0111083984375, -0.0107421875, -0.006439208984375, -0.0126953125, -0.0017852783203125, ...
[ 136, 78506, 16711, 4935, 538, 2077, 4666, 36246, 11476, 147797, 81903, 3975, 696, 39642, 5442, 929, 23150, 47154, 5, 15246, 916, 64, 96610, 4711, 170, 7008, 135913, 92134, 100932, 10723, 53400, 46825, 12, 109875, 187461, 43342, 65779, 91532, ...
[ 0.1610107421875, 0.322265625, 0.1181640625, 0.0171356201171875, 0.040130615234375, 0.1109619140625, 0.04150390625, 0.14306640625, 0.111328125, 0.197509765625, 0.2054443359375, 0.0438232421875, 0.028533935546875, 0.1959228515625, 0.13037109375, 0.1602783203125, 0.1982421875, 0.22009...
embed
28782644_c0
28782644
fsharp
0
Title: SCNQuaternion Multiplication Problem title: SCNQuaternion Multiplication Tags: f%23, ios, quaternions, scenekit, swift Problem: SCNQuaternion Multiplication I'm trying to perform a SCNQuaternion Multiplication in SceneKit with Swift. The code below is in F# (Xamarin iOS Development). I'm trying to translate that...
SCNQuaternion Multiplication SCNQuaternion Multiplication f%23 ios quaternions scenekit swift SCNQuaternion Multiplication CMAttitudeReferenceFrame.XArbitraryCorrectedZVertical this.motion.DeviceMotionUpdateInterval this.motion.StartDeviceMotionUpdates NSOperationQueue.CurrentQueue this.motion.DeviceMotion.Attitude a.Q...
[ -0.033203125, 0.007232666015625, 0.01312255859375, 0.0198974609375, -0.0211181640625, -0.030029296875, -0.01043701171875, 0.009521484375, -0.01239013671875, -0.0186767578125, -0.008056640625, 0.0159912109375, -0.01611328125, -0.0267333984375, -0.0167236328125, 0.005462646484375, 0.01...
[ 159, 36115, 31583, 11, 22766, 1830, 19335, 182867, 1238, 3949, 3742, 17, 232, 2799, 17514, 28302, 9488, 2452, 44932, 28848, 35810, 69988, 108386, 30291, 1517, 1294, 107, 70760, 903, 105401, 20375, 9083, 152872, 44851, 126597, 52700, 156823, 4...
[ 0.1005859375, 0.177001953125, 0.1260986328125, 0.114990234375, 0.2115478515625, 0.1019287109375, 0.1954345703125, 0.1649169921875, 0.007080078125, 0.032989501953125, 0.07537841796875, 0.038726806640625, 0.1092529296875, 0.1251220703125, 0.06549072265625, 0.1566162109375, 0.1872558593...
embed
49746489_c1
49746489
fsharp
1
[<XmlAttribute("subscription")>] Subscription : bool [<XmlAttribute("issues_per_year")>] IssuesPerYear: int [<XmlElement>] Title: string [<XmlElement>] Website : string [<XmlElement>] Edition : Edition list // What goes here? } My goal is to deserialize the file into the Periodical node. Is this possible using XmlSeri...
[<XmlAttribute("subscription")>] Subscription : bool [<XmlAttribute("issues_per_year")>] IssuesPerYear: int [<XmlElement>] Title: string [<XmlElement>] Website : string [<XmlElement>] Edition : Edition list // What goes here? } My goal is to deserialize the file into the Periodical node. Is this possible using XmlSeri...
[ 0.00016307830810546875, 0.03173828125, 0.0050048828125, -0.00860595703125, -0.01531982421875, 0.0034942626953125, -0.0498046875, -0.00015544891357421875, -0.006439208984375, 0.0079345703125, -0.00787353515625, 0.01409912109375, 0.0003986358642578125, 0.0137939453125, 0.00921630859375, ...
[ 1542, 7237, 191145, 22144, 59478, 8273, 142484, 174404, 1264, 46799, 223317, 15277, 69085, 147, 19929, 48962, 79315, 14737, 44965, 5303, 60899, 3688, 69236, 224, 25435, 119066, 11435, 3934, 92329, 21533, 110, 112, 2071, 903, 7722, 17368, 1193, ...
[ 0.06463623046875, 0.2244873046875, 0.0963134765625, 0.1239013671875, 0.17236328125, 0.166259765625, 0.1212158203125, 0.129150390625, 0.1231689453125, 0.1494140625, 0.177490234375, 0.143310546875, 0.1219482421875, 0.0970458984375, 0.04925537109375, 0.09930419921875, 0.0928955078125, ...
embed
6168851_c0
6168851
fsharp
0
Title: How can I pass complex expression to parametrized active pattern? Problem title: How can I pass complex expression to parametrized active pattern? Tags: active-pattern, f%23 Problem: How can I pass complex expression to parametrized active pattern? I defined the active pattern "Expression" as follows: let (|Expr...
How can I pass complex expression to parametrized active pattern? How can I pass complex expression to parametrized active pattern? active-pattern f%23 System.InvalidProgramException How Expression Some model.Columns.Count How can I pass complex expression to parametrized active pattern? I defined the active pattern "E...
[ -0.01043701171875, -0.0027923583984375, -0.0133056640625, 0.01806640625, -0.00543212890625, -0.0019073486328125, 0.00029754638671875, -0.0059814453125, 0.011474609375, -0.01263427734375, 0.02197265625, 0.00897216796875, -0.002410888671875, 0.004241943359375, 0.00689697265625, -0.004608...
[ 11249, 831, 27875, 27140, 125195, 47, 39850, 29367, 36457, 103510, 87, 4453, 22766, 1238, 3742, 12353, 7013, 148968, 63928, 25129, 1830, 3299, 78457, 316, 108210, 61924, 178752, 31577, 4527, 903, 188800, 93774, 7049, 963, 83613, 26582, 9, 25,...
[ 0.052734375, 0.051422119140625, 0.129150390625, 0.20458984375, 0.2279052734375, 0.07476806640625, 0.1875, 0.07275390625, 0.205322265625, 0.2176513671875, 0.00140380859375, 0.121826171875, 0.07220458984375, 0.003875732421875, 0.088134765625, 0.0361328125, 0.07867431640625, 0.0596618...
embed
62001307_c0
62001307
fsharp
0
Title: How do I stop the console window from closing in Visual studio 2019? Problem title: How do I stop the console window from closing in Visual studio 2019? Tags: windows, visual-studio-2019, f%23, console-application Problem: How do I stop the console window from closing in Visual studio 2019? I have had this probl...
How do I stop the console window from closing in Visual studio 2019? How do I stop the console window from closing in Visual studio 2019? windows visual-studio-2019 f%23 console-application closing How Visual Program System EntryPoint Automatically visual-studio-2019 How do I stop the console window from closing in Vis...
[ 0.003936767578125, 0.023681640625, 0.01458740234375, 0.0029449462890625, -0.007049560546875, 0.016845703125, -0.00811767578125, -0.009765625, -0.01806640625, -0.022216796875, 0.0011444091796875, -0.0223388671875, 0.003265380859375, 0.0308837890625, 0.0224609375, -0.0036773681640625, ...
[ 11249, 7279, 130250, 76896, 1295, 20450, 6953, 73372, 12275, 3640, 23, 54825, 21176, 52629, 148548, 1238, 3742, 101687, 7663, 12353, 15123, 147534, 51719, 87, 70, 2967, 12960, 4188, 3444, 86869, 31089, 25632, 4904, 15411, 10696, 28960, 148729, ...
[ 0.050018310546875, 0.196044921875, 0.257568359375, 0.20947265625, 0.1107177734375, 0.1864013671875, 0.1513671875, 0.1986083984375, 0.228515625, 0.224609375, 0.03192138671875, 0.119384765625, 0.162109375, 0.17919921875, 0.1949462890625, 0.012603759765625, 0.08148193359375, 0.1199951...
embed
21395102_c0
21395102
fsharp
0
Title: Returning Tuple with one parameter as generic: Tuple&lt;bool, T&gt; Problem title: Returning Tuple with one parameter as generic: Tuple&lt;bool, T&gt; Tags: f%23, c%23-to-f%23, c%23 Problem: Returning Tuple with one parameter as generic: Tuple I'm learning F# and I don't know how to achieve this. I have an Inter...
Returning Tuple with one parameter as generic: Tuple&lt;bool, T&gt; Returning Tuple with one parameter as generic: Tuple&lt;bool, T&gt; f%23 c%23-to-f%23 c%23 Returning Tuple IRule Getrule keyfield:string CustomRule IRule.GetRule _result SomeHelper.CreateResult _result.Item1 _result.Item2 SomeClass this.Getrule Returni...
[ 0.0036468505859375, 0.0155029296875, 0.0023956298828125, 0.0081787109375, 0.006378173828125, -0.0009002685546875, -0.0189208984375, -0.007171630859375, 0.011474609375, 0.004547119140625, -0.00213623046875, 0.0086669921875, -0.03125, 0.0155029296875, -0.00147247314453125, -0.00610351562...
[ 173340, 214, 1371, 8705, 678, 1632, 171859, 237, 189534, 142484, 384, 5386, 1238, 3742, 27495, 188, 8782, 882, 133, 22799, 28394, 91693, 130664, 26951, 2109, 7136, 31384, 60785, 1264, 2982, 140803, 9774, 563, 4904, 69307, 220237, 28282, 35014...
[ 0.2137451171875, 0.035400390625, 0.156982421875, 0.2425537109375, 0.040130615234375, 0.1378173828125, 0.2103271484375, 0.04278564453125, 0.267578125, 0.11865234375, 0.057586669921875, 0.035858154296875, 0.0040283203125, 0.07586669921875, 0.07305908203125, 0.08990478515625, 0.09191894...
embed
35670046_c0
35670046
fsharp
0
Title: F# support for latest asp.net 5 and MVC6 Problem title: F# support for latest asp.net 5 and MVC6 Tags: f%23, asp.net-mvc, asp.net-core-mvc Problem: F# support for latest asp.net 5 and MVC6 I need to find a way of building rest services in F# using the latest asp.net 5 and mvc 6 web api. Is there any direct suppo...
F# support for latest asp.net 5 and MVC6 F# support for latest asp.net 5 and MVC6 f%23 asp.net-mvc asp.net-core-mvc System.TypeLoadException assembly asp.net MVC6 Could Microsoft.Extensions.Logging.ILogValues Microsoft.Extensions.Logging.Abstractions Version Culture PublicKeyToken adb9793829ddae60 asp.net-mvc asp.net-c...
[ -0.02685546875, 0.0294189453125, -0.005157470703125, -0.005828857421875, 0.00897216796875, 0.01129150390625, -0.006683349609375, -0.01324462890625, -0.002593994140625, -0.0106201171875, 0.02734375, -0.031982421875, 0.01190185546875, 0.00433349609375, 0.036376953125, 0.00518798828125, ...
[ 563, 4904, 8060, 42850, 237, 254, 1179, 190, 136, 276, 56349, 910, 100, 1238, 66357, 30854, 39, 12353, 196707, 15363, 63928, 89845, 191147, 7244, 19279, 128872, 36659, 1663, 42272, 24988, 117474, 40647, 105141, 16934, 162429, 1098, 3917, 3397...
[ 0.1556396484375, 0.21875, 0.191162109375, 0.0894775390625, 0.04339599609375, 0.1295166015625, 0.1356201171875, 0.1629638671875, 0.04095458984375, 0.041839599609375, 0.1776123046875, 0.1636962890625, 0.004791259765625, 0.02581787109375, 0.16650390625, 0.1163330078125, 0.00726318359375...
embed
27773628_c0
27773628
fsharp
0
Title: F# Data Type Provider ; error on CSVProvider initialization Problem title: F# Data Type Provider ; error on CSVProvider initialization Tags: f%23, f%23-data Problem: F# Data Type Provider ; error on CSVProvider initialization I am trying to set up a tiny F# console app with FSharp.Data referenced in the solution...
F# Data Type Provider ; error on CSVProvider initialization F# Data Type Provider ; error on CSVProvider initialization f%23 f%23-data System.TypeInitializationException Data Type Provider CSVProvider Anot_F1.exe FSharp.Data Anot_lines anot1.csv Separators Anot_lines.Load ll.Rows r.ToString Barack Obama F# Data Type Pr...
[ 0.0164794921875, 0.01458740234375, 0.01220703125, 0.01470947265625, 0.023193359375, -0.00086212158203125, 0.018798828125, 0.00714111328125, -0.020751953125, -0.0140380859375, -0.030029296875, -0.01007080078125, 0.02734375, 0.003936767578125, 0.00872802734375, -0.007354736328125, 0.01...
[ 563, 4904, 11809, 60457, 123089, 42, 18499, 98, 25841, 41195, 83220, 820, 61475, 47691, 2819, 1238, 3742, 27495, 10135, 12353, 196707, 1890, 289, 63928, 11576, 18, 919, 418, 46480, 93774, 3467, 254, 137989, 59801, 2373, 4439, 334, 6276, 118...
[ 0.1412353515625, 0.217529296875, 0.1195068359375, 0.2076416015625, 0.1722412109375, 0.06817626953125, 0.175048828125, 0.0589599609375, 0.1279296875, 0.0728759765625, 0.155029296875, 0.1690673828125, 0.16748046875, 0.05584716796875, 0.000244140625, 0.060882568359375, 0.0703125, 0.05...
embed
53867688_c0
53867688
fsharp
0
Title: Implementing F# comparison on disciminated unions Problem title: Implementing F# comparison on disciminated unions Tags: comparison-operators, f%23 Problem: Implementing F# comparison on disciminated unions I have a type for logging levels: type LoggingLevel = | Trace | Debug | Info I would like to say that some...
Implementing F# comparison on disciminated unions Implementing F# comparison on disciminated unions comparison-operators f%23 Implementing LoggingLevel Trace Debug Info IComparable StructuralEqualityAttribute CustomComparisonAttribute this.CompareTo CustomEquality this.Equals this.GetHashCode CompareTo Implementing F# ...
[ -0.025390625, 0.019775390625, 0.0045166015625, 0.00677490234375, 0.004608154296875, -0.00518798828125, -0.0128173828125, -0.00677490234375, -0.01373291015625, 0.024169921875, 0.035888671875, 0.0181884765625, 0.007354736328125, -0.01239013671875, -0.006072998046875, -0.00921630859375, ...
[ 153941, 563, 4904, 225490, 98, 17116, 4923, 27686, 69941, 214, 206469, 1238, 3949, 3742, 64906, 5267, 2601, 4937, 329, 262, 85779, 14048, 87, 108161, 147, 2886, 63667, 73317, 161789, 191145, 130664, 1686, 903, 1046, 7763, 71723, 126, 6495, ...
[ 0.1820068359375, 0.111572265625, 0.198486328125, 0.24462890625, 0.013031005859375, 0.09375, 0.1898193359375, 0.04608154296875, 0.185302734375, 0.04998779296875, 0.1531982421875, 0.0855712890625, 0.00872802734375, 0.0928955078125, 0.1116943359375, 0.04296875, 0.13232421875, 0.161743...
embed
65982780_c1
65982780
fsharp
1
2Characters c 8 dateTime.Day c.[10] <- ' ' write2Characters c 11 dateTime.Hour c.[13] <- ':' write2Characters c 14 dateTime.Minute c.[16] <- ':' write2Characters c 17 dateTime.Second c.[19] <- '.' write3Characters c 20 dateTime.Millisecond new string(c) Here is the test code: let a = DateTime.UtcNow let iterations = 10...
2Characters c 8 dateTime.Day c.[10] <- ' ' write2Characters c 11 dateTime.Hour c.[13] <- ':' write2Characters c 14 dateTime.Minute c.[16] <- ':' write2Characters c 17 dateTime.Second c.[19] <- '.' write3Characters c 20 dateTime.Millisecond new string(c) Here is the test code: let a = DateTime.UtcNow let iterations = 10...
[ -0.0172119140625, -0.0023956298828125, -0.0054931640625, 0.00775146484375, -0.005340576171875, -0.031982421875, -0.002288818359375, 0.0034027099609375, 0.0031890869140625, 0.0152587890625, 0.00225830078125, 0.01513671875, -0.000858306884765625, -0.01068115234375, -0.0022125244140625, -...
[ 116, 84068, 2263, 23962, 501, 382, 5622, 70059, 97141, 63709, 33022, 304, 534, 5, 11193, 474, 85090, 4426, 25, 616, 169929, 67, 123469, 9, 729, 2271, 71, 136712, 242, 363, 387, 178449, 191633, 3525, 79315, 238, 11853, 83, 3034, 18151, 2...
[ 0.204833984375, 0.166015625, 0.158935546875, 0.099365234375, 0.060211181640625, 0.1712646484375, 0.16552734375, 0.2288818359375, 0.13623046875, 0.09197998046875, 0.192138671875, 0.1585693359375, 0.06964111328125, 0.00830078125, 0.0693359375, 0.0721435546875, 0.06243896484375, 0.008...
embed
17290373_c0
17290373
fsharp
0
Title: Adding a member to a Discriminated Union that compares two values of the data type Problem title: Adding a member to a Discriminated Union that compares two values of the data type Tags: pattern-matching, types, f%23 Problem: Adding a member to a Discriminated Union that compares two values of the data type I ha...
Adding a member to a Discriminated Union that compares two values of the data type Adding a member to a Discriminated Union that compares two values of the data type pattern-matching types f%23 Adding Discriminated Union Bar DateTime x.HiLoCheck Adding a member to a Discriminated Union that compares two values of the d...
[ 0.0013275146484375, 0.01214599609375, 0.004425048828125, -0.01385498046875, -0.004974365234375, -0.0072021484375, -0.0023040771484375, 0.016357421875, 0.022216796875, 0.00994873046875, 0.0281982421875, 0.0157470703125, 0.0264892578125, -0.004364013671875, -0.00457763671875, -0.02795410...
[ 62, 59725, 32786, 47, 6206, 135421, 3674, 32528, 69101, 6626, 142424, 2053, 10644, 10, 103510, 98753, 52895, 1238, 3949, 3742, 3253, 25512, 70059, 1022, 20861, 15363, 202567, 75169, 563, 4904, 75935, 25632, 72713, 2967, 28007, 86531, 7108, 27...
[ 0.1339111328125, 0.0771484375, 0.2413330078125, 0.109130859375, 0.06939697265625, 0.216796875, 0.0325927734375, 0.227294921875, 0.205322265625, 0.1160888671875, 0.14208984375, 0.10589599609375, 0.163818359375, 0.0489501953125, 0.1776123046875, 0.1826171875, 0.1553955078125, 0.03707...
embed