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
5284329_c1
5284329
fsharp
1
Entity.FromType(mi.DeclaringType).MembersOrValues |> Seq.find (fun mOrV -> mOrV.CompiledName = mi.Name) not mOrV.Type.IsFunction with | :? System.NotSupportedException -> true //for dynamic assemblies, just assume idiomatic generic value This can be used matching on Patterns.Call(_,mi,_) , where the second argument mi ...
Entity.FromType(mi.DeclaringType).MembersOrValues |> Seq.find (fun mOrV -> mOrV.CompiledName = mi.Name) not mOrV.Type.IsFunction with | :? System.NotSupportedException -> true //for dynamic assemblies, just assume idiomatic generic value This can be used matching on Patterns.Call(_,mi,_) , where the second argument mi ...
[ -0.0135498046875, 0.00555419921875, 0.0147705078125, -0.011962890625, -0.012939453125, -0.0023193359375, -0.000823974609375, -0.0113525390625, -0.00482177734375, -0.06396484375, 0.0157470703125, 0.0223388671875, -0.00238037109375, -0.0177001953125, 0.00836181640625, -0.01165771484375, ...
[ 16511, 2481, 168407, 196707, 266, 120152, 320, 594, 27417, 7, 19060, 42272, 21049, 503, 864, 111607, 16498, 856, 108161, 14, 6259, 163612, 324, 959, 29598, 97249, 10763, 12353, 122116, 2037, 6982, 63928, 29568, 2472, 84079, 89845, 7121, 41591...
[ 0.0997314453125, 0.07012939453125, 0.1712646484375, 0.2335205078125, 0.195068359375, 0.0755615234375, 0.10760498046875, 0.024658203125, 0.1744384765625, 0.003021240234375, 0.1273193359375, 0.130126953125, 0.0543212890625, 0.056671142578125, 0.1331787109375, 0.144775390625, 0.11535644...
embed
34478660_c1
34478660
fsharp
1
asyncDownloadTask = async { DownloadTable cq connectionString} let task = async { asyncDownloadTask |> List.replicate 4 |> Async.Parallel |>ignore} let val1 = Async.Start(task, cancellationToken =tokenSource.Token) Console.ReadLine() |> ignore tokenSource.Cancel() Console.ReadLine() |> ignore 0 But it seems I am not e...
asyncDownloadTask = async { DownloadTable cq connectionString} let task = async { asyncDownloadTask |> List.replicate 4 |> Async.Parallel |>ignore} let val1 = Async.Start(task, cancellationToken =tokenSource.Token) Console.ReadLine() |> ignore tokenSource.Cancel() Console.ReadLine() |> ignore 0 But it seems I am not e...
[ -0.01226806640625, 0.0167236328125, -0.000827789306640625, 0.0191650390625, -0.006256103515625, -0.01263427734375, 0.0031280517578125, -0.0062255859375, -0.00250244140625, -0.005523681640625, -0.029541015625, 0.0228271484375, 0.006439208984375, 0.0177001953125, -0.00360107421875, -0.00...
[ 10, 12654, 238, 144786, 9874, 1042, 4857, 618, 2886, 501, 864, 94878, 71713, 2633, 66211, 32036, 107, 52721, 67, 201, 1229, 167790, 3502, 126597, 1073, 126136, 7763, 1098, 6448, 211235, 40777, 31345, 93232, 124962, 47, 54694, 8969, 757, 496...
[ 0.05780029296875, 0.208984375, 0.1065673828125, 0.2314453125, 0.2095947265625, 0.127685546875, 0.182861328125, 0.0916748046875, 0.1390380859375, 0.001220703125, 0.1707763671875, 0.1136474609375, 0.04510498046875, 0.0823974609375, 0.2081298828125, 0.1405029296875, 0.025421142578125, ...
embed
40845925_c0
40845925
fsharp
0
Title: Filter Sequence of Record Types by Property Problem title: Filter Sequence of Record Types by Property Tags: f%23, f%23-3.0 Problem: Filter Sequence of Record Types by Property I have an ordered sequence of the following type: type Comparison<'a when 'a :> IKey > = {Id: string; src: 'a; dest: 'a} What I'd like t...
Filter Sequence of Record Types by Property Filter Sequence of Record Types by Property f%23 f%23-3.0 Filter Sequence Record Types Property Comparison IKey Filter Sequence of Record Types by Property I have an ordered sequence of the following type: What I'd like to do is where there is more than one record with the sa...
[ 0.012451171875, 0.01611328125, 0.00750732421875, -0.0030059814453125, 0.004974365234375, -0.016845703125, -0.01043701171875, 0.006439208984375, 0.00775146484375, -0.0152587890625, -0.0179443359375, 0.0260009765625, -0.0026397705078125, -0.01092529296875, -0.00933837890625, 0.0164794921...
[ 128896, 503, 944, 3956, 54877, 60457, 390, 206984, 1238, 3742, 27495, 132265, 113307, 87, 162429, 765, 12989, 297, 40, 25632, 10644, 71, 1884, 54, 1286, 3501, 1632, 17164, 678, 5701, 24799, 4734, 5646, 42850, 12638, 3447, 139392, 41, 1294, ...
[ 0.2100830078125, 0.037078857421875, 0.1622314453125, 0.132080078125, 0.1712646484375, 0.163330078125, 0.06646728515625, 0.1966552734375, 0.025970458984375, 0.08837890625, 0.0233917236328125, 0.0955810546875, 0.0721435546875, 0.039703369140625, 0.1641845703125, 0.005706787109375, 0.17...
embed
66971202_c0
66971202
fsharp
0
Title: Entity Framework Core custom entity resolver Problem title: Entity Framework Core custom entity resolver Tags: f%23, entity-framework-core Problem: Entity Framework Core custom entity resolver I'm looking for configuring ef core with custom entity creation function. My case is f# domain model with union types, t...
Entity Framework Core custom entity resolver Entity Framework Core custom entity resolver f%23 entity-framework-core Entity Framework Core Entity Framework Core custom entity resolver I'm looking for configuring ef core with custom entity creation function. My case is f# domain model with union types, that ef core cann...
[ 0.000759124755859375, 0.0120849609375, -0.00193023681640625, -0.00112152099609375, -0.019287109375, -0.0234375, 0.0079345703125, 0.0174560546875, -0.0081787109375, -0.01458740234375, -0.007354736328125, 0.0274658203125, -0.0002231597900390625, 0.005950927734375, 0.01806640625, 0.010314...
[ 16511, 2481, 202220, 31365, 114122, 77630, 939, 58061, 1238, 3949, 3742, 160328, 30854, 16487, 158, 59994, 9129, 56458, 678, 166635, 32354, 7225, 4904, 77758, 3299, 69941, 52895, 53418, 64549, 68034, 18, 3444, 40140, 150, 10685, 22819, 150380, ...
[ 0.1258544921875, 0.04339599609375, 0.163818359375, 0.2080078125, 0.2088623046875, 0.15966796875, 0.0772705078125, 0.239990234375, 0.072998046875, 0.007781982421875, 0.1156005859375, 0.063720703125, 0.18359375, 0.037506103515625, 0.0183563232421875, 0.1385498046875, 0.19482421875, 0...
embed
9814427_c0
9814427
fsharp
0
Title: Unpack tuple into another tuple Problem title: Unpack tuple into another tuple Tags: iterable-unpacking, tuples, f%23 Problem: Unpack tuple into another tuple Suppose I need to construct a tuple of length three: (x , y, z) And I have a function which returns a tuple of length two - exampleFunction and the last t...
Unpack tuple into another tuple Unpack tuple into another tuple iterable-unpacking tuples f%23 Unpack Unpack tuple into another tuple Suppose I need to construct a tuple of length three: And I have a function which returns a tuple of length two - exampleFunction and the last two elements of the tuple to be constructed ...
[ 0.0235595703125, 0.01171875, -0.00860595703125, 0.024169921875, -0.0029449462890625, 0.002166748046875, -0.0205078125, -0.00750732421875, 0.042724609375, -0.0120849609375, 0.0021209716796875, -0.0142822265625, 0.0025482177734375, 0.03564453125, -0.01312255859375, 0.01092529296875, 0....
[ 992, 29102, 370, 8705, 3934, 15700, 720, 2886, 309, 99726, 1238, 3949, 3742, 3871, 64549, 140909, 17262, 32354, 30646, 6626, 27781, 97249, 10763, 4568, 80854, 1295, 903, 54, 15490, 11782, 20028, 3444, 69307, 1884, 186992, 51, 98753, 2633, 1...
[ 0.1142578125, 0.2486572265625, 0.1488037109375, 0.178466796875, 0.1322021484375, 0.105224609375, 0.12841796875, 0.08544921875, 0.0811767578125, 0.1710205078125, 0.0175323486328125, 0.01190185546875, 0.07391357421875, 0.040985107421875, 0.1219482421875, 0.1192626953125, 0.134765625, ...
embed
16002406_c0
16002406
fsharp
0
Title: Is it possible to write a F# type provider to linked data? Problem title: Is it possible to write a F# type provider to linked data? Tags: f%23, type-providers, f%23-data Problem: Is it possible to write a F# type provider to linked data? I really like the Freebase and World Bank type providers and I would like ...
Is it possible to write a F# type provider to linked data? Is it possible to write a F# type provider to linked data? f%23 type-providers f%23-data Is it possible to write a F# type provider to linked data? I really like the Freebase and World Bank type providers and I would like to learn more about type providers by w...
[ -0.011474609375, 0.022216796875, -0.000720977783203125, 0.00099945068359375, -0.002838134765625, 0.003173828125, 0.00921630859375, 0.0023193359375, 0.002349853515625, -0.062255859375, -0.01055908203125, -0.002777099609375, 0.0130615234375, 0.004364013671875, -0.002838134765625, -0.0065...
[ 2071, 7722, 33022, 10, 563, 4904, 10644, 81450, 47, 3126, 297, 2053, 1238, 3742, 93136, 14202, 27495, 10135, 442, 6183, 1884, 5153, 37382, 6661, 4932, 30698, 32562, 10002, 28811, 32528, 1556, 9803, 1528, 831, 17203, 60436, 2737, 866, 64287,...
[ 0.03936767578125, 0.185791015625, 0.1995849609375, 0.04229736328125, 0.15380859375, 0.2252197265625, 0.2232666015625, 0.263916015625, 0.090576171875, 0.1507568359375, 0.11083984375, 0.1627197265625, 0.082763671875, 0.0287017822265625, 0.166259765625, 0.027069091796875, 0.055908203125...
embed
21514700_c1
21514700
fsharp
1
. I found this thread on MSDN, however the marked answers barely even seem to relate to the question so are relatively unhelpful. http://social.msdn.microsoft.com/Forums/vstudio/en-US/98600646-0345-4f62-a6c5-f03ac9c77179/ms-accelerator?forum=csharpgeneral Any help would be greatly appreciated as I am completely lacking...
. I found this thread on MSDN, however the marked answers barely even seem to relate to the question so are relatively unhelpful. http://social.msdn.microsoft.com/Forums/vstudio/en-US/98600646-0345-4f62-a6c5-f03ac9c77179/ms-accelerator?forum=csharpgeneral Any help would be greatly appreciated as I am completely lacking...
[ 0.01348876953125, 0.0126953125, 0.00518798828125, -0.004058837890625, 0.00787353515625, -0.0185546875, 0.0235595703125, -0.01275634765625, -0.0164794921875, -0.01336669921875, -0.0047607421875, 0.024169921875, 0.00927734375, -0.0038909912109375, 0.019287109375, -0.0166015625, 0.00215...
[ 6, 5, 14037, 86997, 16265, 51671, 94419, 35166, 3059, 73866, 57801, 4432, 138410, 112642, 334, 52629, 151932, 1290, 30801, 4439, 3467, 254, 180300, 4358, 77947, 64557, 21, 41324, 51359, 29458, 16128, 52561, 28864, 26073, 7, 12, 7244, 55292, ...
[ 0.05389404296875, 0.0643310546875, 0.0298614501953125, 0.0936279296875, 0.051544189453125, 0.138427734375, 0.0225830078125, 0.0244293212890625, 0.0270233154296875, 0.0716552734375, 0.074951171875, 0.16845703125, 0.102294921875, 0.05841064453125, 0.1505126953125, 0.226806640625, 0.266...
embed
63309955_c0
63309955
fsharp
0
Title: What is the syntax to use List.AddRange with an F# list? Problem title: What is the syntax to use List.AddRange with an F# list? Tags: f%23 Problem: What is the syntax to use List.AddRange with an F# list? Let's say I have: let mutableList = List<string>() let someList = [ "a"; "b"; "c" ] how can I do something ...
What is the syntax to use List.AddRange with an F# list? What is the syntax to use List.AddRange with an F# list? f%23 What List.AddRange List mutableList.AddRange What is the syntax to use List.AddRange with an F# list? Let's say I have: how can I do something like this: I have a case when I need to add elements to a ...
[ -0.01470947265625, 0.0064697265625, 0.014404296875, 0.00860595703125, -0.005401611328125, 0.00994873046875, -0.0031585693359375, 0.0078125, 0.015625, -0.00118255615234375, 0.0263671875, 0.006683349609375, 0.00982666015625, 0.010009765625, 0.015869140625, -0.0108642578125, -0.00964355...
[ 6002, 86531, 4527, 32036, 284, 4028, 1052, 51459, 678, 563, 4904, 5303, 1238, 3742, 4865, 842, 22819, 154663, 831, 1884, 7225, 15190, 80854, 47, 35509, 84079, 55738, 54410, 237, 28219, 8560, 63773, 46622, 566, 561, 4488, 29117 ]
[ 0.13818359375, 0.243896484375, 0.0833740234375, 0.1859130859375, 0.024383544921875, 0.14208984375, 0.1998291015625, 0.2301025390625, 0.13525390625, 0.103515625, 0.17041015625, 0.197509765625, 0.047210693359375, 0.1004638671875, 0.021636962890625, 0.07470703125, 0.1116943359375, 0.1...
embed
63759972_c2
63759972
fsharp
2
View, NurseViewTemplate, local:NurseView, MedicalRecordsViewTemplate, local:MedicalRecordsView, PatientViewTemplate, local:PatientView, ProvidersViewTemplate, local:ProvidersView, local:PropertyDataTemplateSelector, StaticResource, Grid, TabControl, ItemsSource, Tabs, ContentTemplateSelector, TabControl.ItemContainerSt...
View, NurseViewTemplate, local:NurseView, MedicalRecordsViewTemplate, local:MedicalRecordsView, PatientViewTemplate, local:PatientView, ProvidersViewTemplate, local:ProvidersView, local:PropertyDataTemplateSelector, StaticResource, Grid, TabControl, ItemsSource, Tabs, ContentTemplateSelector, TabControl.ItemContainerSt...
[ 0.00135040283203125, 0.004241943359375, 0.006134033203125, 0.01129150390625, 0.017578125, 0.005645751953125, -0.007568359375, -0.025146484375, 0.03662109375, -0.035400390625, -0.0021514892578125, -0.0308837890625, 0.015380859375, -0.01226806640625, 0.0009307861328125, -0.00360107421875...
[ 29805, 4, 10772, 184, 100474, 159065, 19309, 4000, 12, 18444, 9927, 69292, 4332, 32271, 7, 159396, 135004, 118, 123089, 4295, 177997, 14, 1264, 939, 137989, 4233, 187075, 71465, 60427, 31945, 22193, 175904, 78426, 211235, 70870, 2982, 25500, ...
[ 0.330810546875, 0.040863037109375, 0.1904296875, 0.14599609375, 0.32421875, 0.24267578125, 0.194580078125, 0.1646728515625, 0.031494140625, 0.086181640625, 0.1146240234375, 0.1435546875, 0.051971435546875, 0.2039794921875, 0.01300048828125, 0.1025390625, 0.1749267578125, 0.03518676...
embed
70053533_c0
70053533
fsharp
0
Title: Deedle in dotnet interactive Problem title: Deedle in dotnet interactive Tags: f%23, dotnet-interactive, deedle Problem: Deedle in dotnet interactive Context If I enter the following: #r "nuget:Deedle" #r "nuget:FSharp.Charting" open System open Deedle open FSharp.Charting let values = [ 10.0; 20.0; 30.0 ] let f...
Deedle in dotnet interactive Deedle in dotnet interactive f%23 dotnet-interactive deedle Deedle nuget:Deedle nuget:FSharp.Charting System FSharp.Charting DateTime Series Deedle in dotnet interactive Context If I enter the following: which are the first few steps from the following: https://fslab.org/Deedle/tutorial.htm...
[ -0.001708984375, 0.00933837890625, 0.00909423828125, 0.0213623046875, -0.0033721923828125, -0.00022220611572265625, -0.00555419921875, 0.000179290771484375, -0.007415771484375, -0.0048828125, -0.034912109375, 0.021240234375, -0.006378173828125, -0.0001659393310546875, 0.0169677734375, ...
[ 262, 297, 133, 23, 20633, 1179, 212398, 1238, 3742, 10433, 71232, 8, 315, 3794, 4657, 36381, 3467, 254, 84068, 12353, 93774, 1916, 25512, 70059, 64876, 22829, 30957, 25632, 5117, 10846, 98441, 17447, 6114, 1478, 458, 77275, 7693, 3934, 563,...
[ 0.1573486328125, 0.22021484375, 0.16845703125, 0.0357666015625, 0.1441650390625, 0.1802978515625, 0.188232421875, 0.01959228515625, 0.031890869140625, 0.06915283203125, 0.037017822265625, 0.099853515625, 0.0782470703125, 0.1561279296875, 0.1109619140625, 0.012451171875, 0.12536621093...
embed
35799031_c0
35799031
fsharp
0
Title: What reasoning lead to `Sequence expression containing recursive definition is compiled incorrectly` Problem title: What reasoning lead to `Sequence expression containing recursive definition is compiled incorrectly` Tags: tail-call-optimization, tail-recursion, f%23 Problem: What reasoning lead to `Sequence exp...
What reasoning lead to `Sequence expression containing recursive definition is compiled incorrectly` What reasoning lead to `Sequence expression containing recursive definition is compiled incorrectly` tail-call-optimization tail-recursion f%23 What Sequence What reasoning lead to `Sequence expression containing recurs...
[ 0.017822265625, 0.0113525390625, 0.00421142578125, 0.042236328125, 0.0184326171875, -0.0025482177734375, 0.00179290771484375, -0.000152587890625, 0.0050048828125, -0.005340576171875, 0.005279541015625, 0.006256103515625, -0.0030517578125, 0.03369140625, 0.036376953125, -0.0017700195312...
[ 4865, 31635, 214, 37105, 4233, 944, 3956, 125195, 70541, 195625, 5844, 80934, 375, 5974, 297, 214552, 538, 46741, 85763, 100433, 47691, 107, 48650, 1830, 1238, 3949, 3742, 503, 47, 83, 9655, 6512, 2594, 645, 118664, 61518, 11782, 19069, 791...
[ 0.06817626953125, 0.1939697265625, 0.1221923828125, 0.130126953125, 0.073486328125, 0.162841796875, 0.091796875, 0.2191162109375, 0.134033203125, 0.2322998046875, 0.1378173828125, 0.2037353515625, 0.0860595703125, 0.223876953125, 0.034332275390625, 0.19677734375, 0.0635986328125, 0...
embed
35875618_c1
35875618
fsharp
1
="Good" ItemId="123" />"""> let exampleData = [| """<product Status="Good" ItemId="123" />"""; """<product Status="Bad" ItemId="456" />"""; """<product Status="Good" ItemId="789" />"""|] let dataResult = exampleData |> Array.map(fun fileData -> RawDataProvider.Parse(fileData)) |> Array.map(fun xml -> Map.empty.Add("xml...
="Good" ItemId="123" />"""> let exampleData = [| """<product Status="Good" ItemId="123" />"""; """<product Status="Bad" ItemId="456" />"""; """<product Status="Good" ItemId="789" />"""|] let dataResult = exampleData |> Array.map(fun fileData -> RawDataProvider.Parse(fileData)) |> Array.map(fun xml -> Map.empty.Add("xml...
[ 0.0230712890625, 0.01904296875, -0.0047607421875, 0.01556396484375, 0.00445556640625, 0.020263671875, 0.00885009765625, -0.00885009765625, 0.017333984375, 0.01513671875, 0.002716064453125, 0.003814697265625, -0.0021514892578125, -0.00244140625, 0.006195068359375, -0.00823974609375, -...
[ 22422, 144890, 78426, 568, 71, 48636, 57433, 70902, 2633, 27781, 137989, 2203, 57877, 56504, 157027, 121317, 153781, 268, 2053, 4332, 7, 7136, 69253, 5, 62346, 16498, 11435, 109997, 177997, 62160, 28636, 29822, 131492, 42719, 33548, 939, 4028, ...
[ 0.0162506103515625, 0.255126953125, 0.224853515625, 0.1270751953125, 0.1385498046875, 0.17724609375, 0.0311126708984375, 0.0045166015625, 0.1395263671875, 0.258544921875, 0.220703125, 0.05377197265625, 0.20458984375, 0.1910400390625, 0.1766357421875, 0.1463623046875, 0.1529541015625,...
embed
75963531_c0
75963531
fsharp
0
Title: F#: how to stop function by time limit Problem title: F#: how to stop function by time limit Tags: f%23, time-limiting Problem: F#: how to stop function by time limit let runWithTimeout (timeout: int) (action: unit -> 'a) : 'a option = let cts = new CancellationTokenSource(timeout) try let task = async { let! re...
F#: how to stop function by time limit F#: how to stop function by time limit f%23 time-limiting OperationCanceledException CancellationTokenSource Task.Run cts.Token Some Async.RunSynchronously None Type Task Async F#: how to stop function by time limit But for Task.Run(action, cts.Token) :
[ 0.0064697265625, -0.004150390625, 0.024658203125, -0.025390625, 0.0014801025390625, -0.02294921875, -0.0113525390625, 0.010986328125, -0.003204345703125, -0.0322265625, 0.005828857421875, 0.034912109375, -0.02587890625, -0.01275634765625, 0.04296875, 0.0019989013671875, 0.02478027343...
[ 563, 4904, 3642, 47, 7279, 32354, 390, 1733, 17475, 1238, 3742, 93343, 102203, 7154, 6259, 63928, 80392, 7763, 1098, 211235, 9598, 163321, 501, 933, 12654, 1900, 60457, 12, 92, 44713 ]
[ 0.0980224609375, 0.158935546875, 0.060699462890625, 0.0546875, 0.2060546875, 0.1861572265625, 0.1103515625, 0.167724609375, 0.212646484375, 0.06890869140625, 0.1263427734375, 0.1588134765625, 0.1378173828125, 0.048736572265625, 0.03076171875, 0.058868408203125, 0.1121826171875, 0.0...
embed
31391134_c0
31391134
fsharp
0
Title: F# Downcasting Slow? Problem title: F# Downcasting Slow? Tags: abstract-class, downcast, events, f%23, performance-testing Problem: F# Downcasting Slow? I have a situation where I need to downcast twice in one procedure using :?> . I have a custom EventArgs class (which inherits System.EventArgs ), and an instan...
F# Downcasting Slow? F# Downcasting Slow? abstract-class downcast events f%23 performance-testing Downcasting Slow EventArgs System.EventArgs F# Downcasting Slow? I have a situation where I need to downcast twice in one procedure using :?> . I have a custom EventArgs class (which inherits System.EventArgs ), and an ins...
[ 0.01544189453125, -0.00433349609375, 0.006805419921875, -0.01953125, 0.0018310546875, -0.0186767578125, -0.0260009765625, 0.02001953125, 0.00689697265625, -0.0155029296875, 0.0166015625, -0.01513671875, 0.00543212890625, 0.026123046875, -0.00225830078125, -0.026123046875, 0.006713867...
[ 563, 4904, 49472, 55741, 214, 148507, 32, 164789, 67413, 7565, 47353, 1238, 3949, 3742, 23718, 6954, 36943, 7614, 9405, 12353, 192134, 16648, 3871, 47, 186351, 23, 1632, 50491, 17368, 2740, 114122, 18507, 3334, 110527, 28032, 217063, 19732, 7...
[ 0.1251220703125, 0.1978759765625, 0.1954345703125, 0.223388671875, 0.0731201171875, 0.24560546875, 0.046630859375, 0.162841796875, 0.1456298828125, 0.1868896484375, 0.1417236328125, 0.0643310546875, 0.0193023681640625, 0.110595703125, 0.13720703125, 0.1298828125, 0.1375732421875, 0...
embed
59958523_c0
59958523
fsharp
0
Title: How can I avoid accidental partial application in a compact way? Problem title: How can I avoid accidental partial application in a compact way? Tags: f%23, currying, partial-application Problem: How can I avoid accidental partial application in a compact way? I have a side-effecting function, f : int -> string ...
How can I avoid accidental partial application in a compact way? How can I avoid accidental partial application in a compact way? f%23 currying partial-application How How can I avoid accidental partial application in a compact way? I have a side-effecting function, f : int -> string -> unit which I am calling using f ...
[ -0.0113525390625, -0.006317138671875, 0.0089111328125, -0.0157470703125, -0.00311279296875, 0.000591278076171875, 0.0054931640625, -0.021484375, -0.0029296875, -0.0264892578125, 0.021728515625, -0.00167083740234375, -0.00738525390625, 0.0164794921875, 0.01007080078125, 0.00595092773437...
[ 11249, 831, 87, 71864, 27998, 289, 2878, 38415, 94928, 3917, 23, 1238, 3949, 3742, 198555, 214, 101687, 5609, 171760, 32354, 18, 33079, 79315, 25072, 159029, 17368, 106, 979, 9077, 18499, 11782, 1764, 98816, 3871, 1286, 10750, 15, 124962, 6...
[ 0.078125, 0.0655517578125, 0.0283355712890625, 0.2222900390625, 0.2022705078125, 0.1119384765625, 0.20849609375, 0.2158203125, 0.2230224609375, 0.072021484375, 0.0950927734375, 0.13916015625, 0.00457763671875, 0.119873046875, 0.1756591796875, 0.104736328125, 0.216552734375, 0.12670...
embed
50490927_c0
50490927
fsharp
0
Title: Standalone installer for F# fsi Problem title: Standalone installer for F# fsi Tags: f%23 Problem: Standalone installer for F# fsi I just wanted to know if there is or will be a standalone installer for fsi.exe to run on machines (Windows) that are not connected to the internet? I have managed to get fsi working...
Standalone installer for F# fsi Standalone installer for F# fsi f%23 Standalone Standalone installer for F# fsi I just wanted to know if there is or will be a standalone installer for fsi.exe to run on machines (Windows) that are not connected to the internet? I have managed to get fsi working by downloading the nuget ...
[ -0.0021514892578125, -0.004547119140625, 0.0009918212890625, -0.01092529296875, -0.0174560546875, 0.0103759765625, 0.014404296875, -0.01177978515625, 0.01483154296875, -0.0101318359375, 0.01507568359375, 0.00616455078125, 0.0025482177734375, 0.00677490234375, 0.01708984375, -0.00373840...
[ 32487, 11, 51684, 74022, 100, 563, 4904, 1238, 172, 3949, 3742, 36663, 3714, 2174, 2685, 83, 707, 186, 10, 103723, 46480, 47, 11675, 98, 116491, 43342, 450, 621, 959, 162711, 1820, 145755, 2046, 20697, 7026, 315, 3794, 98169, 51, 708, 2...
[ 0.157470703125, 0.08251953125, 0.1796875, 0.263916015625, 0.06689453125, 0.1785888671875, 0.2215576171875, 0.168701171875, 0.2406005859375, 0.0198974609375, 0.095458984375, 0.0261383056640625, 0.019989013671875, 0.005340576171875, 0.016021728515625, 0.011993408203125, 0.0018310546875...
embed
6451718_c0
6451718
fsharp
0
Title: FSharpChart.Column with a label on easy column Problem title: FSharpChart.Column with a label on easy column Tags: fsharpchart, f%23, f%23-interactive, f%23-charting Problem: FSharpChart.Column with a label on easy column I've been using the F# charting library for a bit of interactive charting. It's really nice...
FSharpChart.Column with a label on easy column FSharpChart.Column with a label on easy column fsharpchart f%23 f%23-interactive f%23-charting FSharpChart.Column FSharpChart.Column with a label on easy column I've been using the F# charting library for a bit of interactive charting. It's really nice for showing charts o...
[ 0.004547119140625, -0.0284423828125, 0.006866455078125, 0.021728515625, 0.01165771484375, -0.01019287109375, 0.0076904296875, 0.004425048828125, 0.01458740234375, 0.0030364990234375, 0.0047607421875, -0.0174560546875, 0.00616455078125, 0.005584716796875, 0.007598876953125, -0.007446289...
[ 93774, 3467, 254, 84068, 18, 78457, 316, 678, 10, 67967, 98, 23468, 3365, 1238, 89280, 9254, 3742, 27495, 10433, 71232, 563, 4904, 116287, 214, 35773, 4785, 212398, 6183, 26267, 141377, 2053, 69405, 92635, 209806, 10176, 57357, 158012, 120067...
[ 0.0643310546875, 0.16455078125, 0.083984375, 0.1829833984375, 0.0926513671875, 0.1004638671875, 0.143310546875, 0.040283203125, 0.02294921875, 0.2685546875, 0.046478271484375, 0.1920166015625, 0.11865234375, 0.047515869140625, 0.1527099609375, 0.1429443359375, 0.059967041015625, 0....
embed
68072745_c0
68072745
fsharp
0
Title: Override method with generic type signature Problem title: Override method with generic type signature Tags: f%23 Problem: Override method with generic type signature How can I override an abstract method with a generic type signature, and give it a more specific parameter type in a subclass? type Rule() = abstr...
Override method with generic type signature Override method with generic type signature f%23 Override Rule Core _.Core Entity Name State Wisconsin entity.State Override method with generic type signature How can I override an abstract method with a generic type signature, and give it a more specific parameter type in a...
[ 0.001739501953125, 0.0191650390625, 0.005401611328125, 0.00970458984375, 0.01080322265625, -0.01953125, -0.00933837890625, -0.005615234375, 0.009521484375, 0.01318359375, -0.007232666015625, -0.01531982421875, 0.00494384765625, -0.00457763671875, 0.005828857421875, -0.011474609375, 0...
[ 9578, 416, 112, 55300, 678, 189534, 10644, 138256, 1238, 3949, 3742, 139118, 31365, 50886, 16511, 2481, 15757, 22836, 220474, 77630, 939, 135206, 831, 645, 164789, 8337, 1286, 29458, 171859, 10, 1614, 67413, 60552, 594, 27417, 156673, 63033, ...
[ 0.1016845703125, 0.2017822265625, 0.1070556640625, 0.205078125, 0.087890625, 0.2200927734375, 0.2132568359375, 0.22998046875, 0.058135986328125, 0.016387939453125, 0.1055908203125, 0.12841796875, 0.1376953125, 0.0748291015625, 0.093505859375, 0.09906005859375, 0.0560302734375, 0.08...
embed
645622_c0
645622
fsharp
0
Title: App.config and F# Interactive not working Problem title: App.config and F# Interactive not working Tags: .net, f%23 Problem: App.config and F# Interactive not working As I'm polishing my little pet project, I'm trying to store all the constant strings in my app.config file (Keys, XpathExpressions etc). When I ru...
App.config and F# Interactive not working App.config and F# Interactive not working .net f%23 App.config Interactive ConfigurationManager.AppSettings.Item App.config and F# Interactive not working As I'm polishing my little pet project, I'm trying to store all the constant strings in my app.config file (Keys, XpathExpr...
[ -0.0084228515625, 0.006195068359375, 0.00311279296875, 0.00299072265625, 0.00130462646484375, 0.0034332275390625, 0.0118408203125, -0.0234375, -0.00537109375, 0.0032196044921875, 0.00189971923828125, 0.005645751953125, -0.0020294189453125, 0.004364013671875, 0.0289306640625, -0.0083007...
[ 5659, 5, 153837, 136, 563, 4904, 5337, 71232, 959, 20697, 1179, 1238, 3742, 59994, 12662, 33730, 39179, 105548, 2982, 13492, 10176, 8093, 13452, 31577, 4343, 756, 53697, 79315, 23, 4027, 11435, 162429, 1193, 128405, 178752, 5974, 97733, 43240...
[ 0.161865234375, 0.0199127197265625, 0.26953125, 0.119873046875, 0.1031494140625, 0.170166015625, 0.1514892578125, 0.1624755859375, 0.053558349609375, 0.1370849609375, 0.1309814453125, 0.033111572265625, 0.10748291015625, 0.1275634765625, 0.0555419921875, 0.04949951171875, 0.106018066...
embed
61986617_c0
61986617
fsharp
0
Title: Seq.cache with Seq.unfold in F# Problem title: Seq.cache with Seq.unfold in F# Tags: f%23, seq, unfold Problem: Seq.cache with Seq.unfold in F# I'm trying to cache the result of an infinite sequence of triangle numbers. let triCalc n = (n*(n+1))/2 let triNumC = 0 |> Seq.unfold (fun n -> Some((triCalc n, n+1))) |...
Seq.cache with Seq.unfold in F# Seq.cache with Seq.unfold in F# f%23 seq unfold Seq.cache Seq.unfold Some Seq.take Seq.cache with Seq.unfold in F# I'm trying to cache the result of an infinite sequence of triangle numbers. However, when I try to cache it doesn't seem to work as I expect This prints Am I caching incorre...
[ 0.0220947265625, 0.01318359375, 0.0262451171875, -0.00445556640625, -0.01055908203125, -0.01446533203125, -0.0034942626953125, -0.0008697509765625, 0.01220703125, -0.027587890625, -0.016357421875, 0.0169677734375, 0.0274658203125, 0.011962890625, -0.00091552734375, 0.0252685546875, -...
[ 503, 864, 408, 1430, 678, 309, 42822, 563, 4904, 1238, 3742, 40, 51, 78219, 5, 23, 31577, 82365, 16750, 54241, 944, 3956, 1927, 109217, 101935, 9790, 22027, 18, 48903, 4488, 41206, 3293, 28412, 377, 59207, 214552, 17932, 9454, 42658 ]
[ 0.08795166015625, 0.197021484375, 0.1146240234375, 0.1922607421875, 0.04827880859375, 0.0931396484375, 0.204833984375, 0.1109619140625, 0.1732177734375, 0.072509765625, 0.08642578125, 0.041351318359375, 0.04949951171875, 0.0933837890625, 0.00048828125, 0.012969970703125, 0.0552978515...
embed
24813666_c0
24813666
fsharp
0
Title: F#: expected &#x27;in&#x27; or other token error Problem title: F#: expected &#x27;in&#x27; or other token error Tags: f%23, visual-studio-2013 Problem: F#: expected 'in' or other token error So I've written a pretty simple program in F# that should sum all of the multiples of 3 and 5 below 1000: [1..999] |> Lis...
F#: expected &#x27;in&#x27; or other token error F#: expected &#x27;in&#x27; or other token error f%23 visual-studio-2013 List.filter List.sum Unexpected Expected visual-studio-2013 F#: expected 'in' or other token error So I've written a pretty simple program in F# that should sum all of the multiples of 3 and 5 below...
[ 0.00457763671875, 0.020263671875, -0.00113677978515625, -0.00836181640625, -0.006805419921875, 0.01275634765625, -0.000965118408203125, 0.0228271484375, 0.005218505859375, -0.0250244140625, 0.011474609375, 0.0089111328125, -0.0118408203125, -0.01055908203125, 0.0128173828125, 0.0106811...
[ 563, 4904, 84751, 3768, 73, 3789, 47, 1098, 18499, 1238, 3742, 21176, 52629, 74790, 32036, 120337, 11832, 992, 83613, 13, 60075, 707, 59121, 8781, 1528, 10554, 48716, 138, 136, 190, 35064, 4382, 4552, 3564, 25632, 17368, 22729, 165598, 6002...
[ 0.1075439453125, 0.189697265625, 0.200927734375, 0.07958984375, 0.20556640625, 0.0576171875, 0.08935546875, 0.169189453125, 0.1710205078125, 0.019561767578125, 0.00604248046875, 0.147216796875, 0.159912109375, 0.1602783203125, 0.10028076171875, 0.132568359375, 0.162109375, 0.005310...
embed
55144352_c0
55144352
fsharp
0
Title: how do I get this signature in f#: val sigF : int -&gt; bool -&gt; float -&gt; string Problem title: how do I get this signature in f#: val sigF : int -&gt; bool -&gt; float -&gt; string Tags: f%23 Problem: how do I get this signature in f#: val sigF : int -> bool -> float -> string I am using FSI, how do I go f...
how do I get this signature in f#: val sigF : int -&gt; bool -&gt; float -&gt; string how do I get this signature in f#: val sigF : int -&gt; bool -&gt; float -&gt; string f%23 how do I get this signature in f#: val sigF : int -> bool -> float -> string I am using FSI, how do I go from bool to float? have: let sigF 1 =...
[ 0.0164794921875, -0.007598876953125, 0.000423431396484375, -0.0185546875, -0.008056640625, 0.004180908203125, 0.00274658203125, -0.0123291015625, 0.000400543212890625, 0.016357421875, 0.0078125, -0.00799560546875, -0.02001953125, 0.005767822265625, 0.0024871826171875, 0.005859375, 0....
[ 3642, 54, 87, 2046, 903, 138256, 23, 1238, 4904, 3502, 1144, 919, 18, 5386, 142484, 21917, 257, 79315, 3949, 3742, 152, 33079, 563, 9902, 738, 1295, 47, 765, 106, 2203, 33000, 62163, 3871, 32354, 1556, 96760, 65514, 100094, 7, 27781, 60...
[ 0.0567626953125, 0.034271240234375, 0.03094482421875, 0.12109375, 0.1103515625, 0.253173828125, 0.0994873046875, 0.1307373046875, 0.197265625, 0.1826171875, 0.1578369140625, 0.2115478515625, 0.129638671875, 0.11669921875, 0.1700439453125, 0.179931640625, 0.125, 0.219970703125, 0....
embed
64250752_c0
64250752
fsharp
0
Title: Is there a way to concatenate two IActorRef arrays? Problem title: Is there a way to concatenate two IActorRef arrays? Tags: actor, akka.net, akka, f%23 Problem: Is there a way to concatenate two IActorRef arrays? I am learning AKKA.NET using f# but i'm stuck here: Here is the code: // finalArr -> IActorRef arra...
Is there a way to concatenate two IActorRef arrays? Is there a way to concatenate two IActorRef arrays? actor akka.net akka f%23 IActorRef neigh:IActorRef i-1 Not akka.net Is there a way to concatenate two IActorRef arrays? I am learning AKKA.NET using f# but i'm stuck here: Here is the code: I thought of using Array.c...
[ 0.01300048828125, 0.01953125, 0.003143310546875, 0.012451171875, -0.00830078125, -0.00927734375, -0.004791259765625, 0.01531982421875, 0.01025390625, -0.004547119140625, 0.0062255859375, -0.002166748046875, 0.00701904296875, 0.0140380859375, 0, -0.01611328125, -0.017578125, -0.0048...
[ 2071, 2685, 10, 3917, 47, 158, 33478, 76, 67, 6626, 87, 284, 18770, 190015, 10298, 4778, 39329, 81866, 1179, 1238, 3949, 3742, 108, 6958, 17481, 17, 5759, 11205, 52080, 15335, 9425, 17777, 4904, 179933, 3688, 70, 18151, 17569, 17368, 6925...
[ 0.04254150390625, 0.06402587890625, 0.0797119140625, 0.1458740234375, 0.045013427734375, 0.141357421875, 0.205078125, 0.1846923828125, 0.114013671875, 0.1812744140625, 0.1224365234375, 0.079833984375, 0.1876220703125, 0.305908203125, 0.1990966796875, 0.1834716796875, 0.208740234375, ...
embed
47616245_c0
47616245
fsharp
0
Title: Microsoft Liquid: How to show the current quantum state Problem title: Microsoft Liquid: How to show the current quantum state Tags: qubit, quantum-computing, liquid, f%23, algorithm Problem: Microsoft Liquid: How to show the current quantum state I am programming quantum algorithms in Microsoft Liquid (F#). For...
Microsoft Liquid: How to show the current quantum state Microsoft Liquid: How to show the current quantum state qubit quantum-computing liquid f%23 algorithm Microsoft Liquid How q.Id q.ToString Microsoft Liquid: How to show the current quantum state I am programming quantum algorithms in Microsoft Liquid (F#). For deb...
[ 0.004547119140625, -0.0012359619140625, 0.01312255859375, 0.0169677734375, -0.0220947265625, 0.01214599609375, 0.01116943359375, 0.006256103515625, 0.00433349609375, -0.00897216796875, -0.000720977783203125, -0.0033111572265625, 0.0120849609375, 0.009033203125, -0.0135498046875, -0.016...
[ 7244, 170527, 12, 11249, 47, 7639, 70, 43581, 110436, 11341, 1103, 3137, 7077, 41931, 1238, 3949, 3742, 234873, 8096, 568, 71, 5, 7763, 71713, 87, 56037, 23, 919, 4904, 1326, 8, 978, 36659, 4, 2806, 186, 6183, 26267, 1957, 2367, 83, 8...
[ 0.201904296875, 0.293212890625, 0.045623779296875, 0.119384765625, 0.06439208984375, 0.2105712890625, 0.033203125, 0.2110595703125, 0.1668701171875, 0.197509765625, 0.095458984375, 0.1602783203125, 0.0767822265625, 0.2108154296875, 0.0767822265625, 0.062164306640625, 0.1646728515625,...
embed
5741029_c0
5741029
fsharp
0
Title: What types are required by C#? Problem title: What types are required by C#? Tags: c%23, f%23, vb.net, base-class-library, .net Problem: What types are required by C#? Possible Duplicate: Which parts of C# .NET framework are actually parts of the language? There are some features of C# that require specific type...
What types are required by C#? What types are required by C#? c%23 f%23 vb.net base-class-library .net What System.IDisposable Select vb.net What types are required by C#? There are some features of C# that require specific type (“the type has to implement System.IDisposable ”). Other features are based on patterns (“a...
[ -0.004058837890625, 0.0159912109375, 0.004608154296875, 0.0233154296875, -0.01068115234375, 0.0081787109375, -0.0181884765625, 0.004547119140625, 0.0030059814453125, -0.003936767578125, -0.00982666015625, -0.0235595703125, -0.0115966796875, 0.004547119140625, -0.00116729736328125, 0.01...
[ 4865, 52895, 621, 56065, 390, 313, 4904, 32, 501, 3742, 1238, 86482, 1179, 3647, 67413, 150, 2844, 1294, 5, 12353, 7146, 164, 7522, 2886, 51620, 3060, 66139, 111, 450, 64209, 29458, 10644, 1556, 47, 29479, 35509, 103510, 4848, 33342, 1884...
[ 0.07904052734375, 0.28125, 0.082763671875, 0.23486328125, 0.1207275390625, 0.12841796875, 0.269775390625, 0.0286712646484375, 0.0276031494140625, 0.060546875, 0.0218505859375, 0.174072265625, 0.1697998046875, 0.1258544921875, 0.1173095703125, 0.057464599609375, 0.1026611328125, 0.0...
embed
68838346_c1
68838346
fsharp
1
I thought about have a lastLowResult option type and pass it in the loop so I could skip calculating it again if it is there, but that feels a bit clunky. Edit: here is the printout of the boundaries during the iterations: low:0, high:100 evaluating 0 evaluating 50 low:0, high:50 evaluating 0 evaluating 25 low:25, hig...
I thought about have a lastLowResult option type and pass it in the loop so I could skip calculating it again if it is there, but that feels a bit clunky. Edit: here is the printout of the boundaries during the iterations: low:0, high:100 evaluating 0 evaluating 50 low:0, high:50 evaluating 0 evaluating 25 low:25, hig...
[ -0.01202392578125, -0.00180816650390625, 0.002838134765625, -0.0223388671875, 0.0166015625, 0.0072021484375, -0.0140380859375, -0.01348876953125, 0.006134033203125, 0.041259765625, 0.006256103515625, -0.01171875, 0.0030364990234375, 0.019775390625, 0.0020751953125, -0.005218505859375, ...
[ 17569, 765, 4568, 15363, 434, 4332, 7, 7136, 35829, 10644, 27875, 23, 40956, 5809, 21658, 74481, 1916, 442, 13438, 2174, 2685, 12319, 4785, 29786, 29188, 5, 42079, 3688, 83, 28412, 6056, 111, 70, 337, 6990, 10484, 20271, 17, 720, 21094, ...
[ 0.06243896484375, 0.01654052734375, 0.183349609375, 0.2001953125, 0.1727294921875, 0.1036376953125, 0.158935546875, 0.217041015625, 0.198974609375, 0.177734375, 0.10693359375, 0.0279388427734375, 0.229736328125, 0.021636962890625, 0.1492919921875, 0.2071533203125, 0.0419921875, 0.0...
embed
60749016_c0
60749016
fsharp
0
Title: Converting from Python to F# recursive function? Problem title: Converting from Python to F# recursive function? Tags: python, f%23, f%23-interactive Problem: Converting from Python to F# recursive function? I am trying to convert this Python code into F# without using immutable variables or List.map . I am stil...
Converting from Python to F# recursive function? Converting from Python to F# recursive function? python f%23 f%23-interactive Python Converting List.map temp.append temp.sort Converting from Python to F# recursive function? I am trying to convert this Python code into F# without using immutable variables or List.map ....
[ 0.0028228759765625, 0.00799560546875, 0.0303955078125, -0.0050048828125, -0.0107421875, -0.02294921875, -0.0101318359375, -0.0086669921875, 0.00994873046875, 0.006591796875, 0.01275634765625, 0.013427734375, 0.000713348388671875, 0.00469970703125, 0.0081787109375, -0.0194091796875, 0...
[ 1657, 814, 1916, 1295, 145581, 47, 563, 4904, 195625, 5844, 32354, 17198, 50828, 1238, 3742, 167218, 27495, 10433, 71232, 32036, 62346, 20805, 9007, 3611, 62351, 31577, 96760, 18151, 3934, 15490, 17368, 561, 22819, 77336, 9014, 26859, 112668, ...
[ 0.069091796875, 0.1527099609375, 0.06201171875, 0.1226806640625, 0.255615234375, 0.1329345703125, 0.14892578125, 0.2279052734375, 0.2427978515625, 0.1646728515625, 0.191650390625, 0.096923828125, 0.1485595703125, 0.077880859375, 0.108154296875, 0.01898193359375, 0.1077880859375, 0....
embed
9218510_c1
9218510
fsharp
1
recv (client : MessageReceiver) timeout = let bRecv = client.BeginReceive : TimeSpan * AsyncCallback * obj -> IAsyncResult asyncRetry { let! res = Async.FromBeginEnd(timeout, bRecv, client.EndReceive) return res } Error is: This expression was expected to have type Async<'a> but here has type 'b -> Async<'c> Code sign...
recv (client : MessageReceiver) timeout = let bRecv = client.BeginReceive : TimeSpan * AsyncCallback * obj -> IAsyncResult asyncRetry { let! res = Async.FromBeginEnd(timeout, bRecv, client.EndReceive) return res } Error is: This expression was expected to have type Async<'a> but here has type 'b -> Async<'c> Code sign...
[ -0.0233154296875, 0.0069580078125, 0.0093994140625, 0.00238037109375, 0.0069580078125, -0.0167236328125, -0.0213623046875, 0.01361083984375, 0.01019287109375, -0.0264892578125, 0.0224609375, 0.0208740234375, 0.004180908203125, -0.0093994140625, 0.0208740234375, -0.0159912109375, -0.0...
[ 21954, 334, 222978, 48205, 4588, 4332, 329, 14, 814, 1733, 6056, 2203, 2633, 876, 238, 23282, 6820, 5844, 19055, 3180, 12654, 5584, 12620, 995, 170, 87, 284, 7, 7136, 15123, 38, 3332, 168407, 152378, 6032, 30646, 212059, 83, 3293, 125195,...
[ 0.1302490234375, 0.2841796875, 0.20458984375, 0.0684814453125, 0.0018310546875, 0.1265869140625, 0.080078125, 0.044708251953125, 0.1124267578125, 0.2059326171875, 0.223388671875, 0.034423828125, 0.180419921875, 0.045989990234375, 0.0826416015625, 0.205078125, 0.06134033203125, 0.14...
embed
74595074_c0
74595074
fsharp
0
Title: Is is possible to Pipe the results of a task in F#? Problem title: Is is possible to Pipe the results of a task in F#? Tags: f%23 Problem: Is is possible to Pipe the results of a task in F#? My code looks like this let! statementData = page.EvaluateAsync("() => this.window._StatementLinesData") let sValue = JObj...
Is is possible to Pipe the results of a task in F#? Is is possible to Pipe the results of a task in F#? f%23 Pipe page.EvaluateAsync this.window._StatementLinesData JObject.Parse statementData.Value.GetRawText Last.Last item.Children Seq.map item.ToObject StatementLine Is is possible to Pipe the results of a task in F#...
[ 0.00439453125, 0.01080322265625, -0.020751953125, -0.0006866455078125, -0.012939453125, -0.013671875, 0.002197265625, -0.00836181640625, 0.014892578125, -0.033203125, -0.0230712890625, 0.01129150390625, 0.01177978515625, -0.007080078125, 0.01611328125, 0.00433349609375, 0.01586914062...
[ 2071, 83, 7722, 47, 93128, 13, 70, 50339, 66211, 23, 563, 4904, 111, 1238, 3742, 9191, 27494, 12654, 903, 24293, 135206, 5911, 93232, 137989, 21253, 75161, 28636, 63805, 50770, 174379, 21672, 2729, 271, 35735, 102656, 982, 864, 62346, 7763,...
[ 0.046630859375, 0.05426025390625, 0.1785888671875, 0.045440673828125, 0.2410888671875, 0.2266845703125, 0.0736083984375, 0.2120361328125, 0.2037353515625, 0.0469970703125, 0.1400146484375, 0.2264404296875, 0.0274810791015625, 0.0635986328125, 0.12353515625, 0.0941162109375, 0.1115722...
embed
56425674_c0
56425674
fsharp
0
Title: How to enable F# Interactive in Visual Studio Code? Problem title: How to enable F# Interactive in Visual Studio Code? Tags: f%23-interactive, f%23 Problem: How to enable F# Interactive in Visual Studio Code? Issue: No F# Interactive window. Background: I had F# Interactive working just fine then apparently did ...
How to enable F# Interactive in Visual Studio Code? How to enable F# Interactive in Visual Studio Code? f%23-interactive f%23 How Interactive Visual Studio How to enable F# Interactive in Visual Studio Code? Issue: No F# Interactive window. Background: I had F# Interactive working just fine then apparently did somethin...
[ -0.00262451171875, 0.0033111572265625, 0.023193359375, 0.016845703125, 0.0087890625, 0.01416015625, 0.0089111328125, 0.0048828125, -0.002288818359375, 0.01116943359375, -0.0185546875, 0.0057373046875, -0.0035400390625, 0.0201416015625, 0.005126953125, 0.0027008056640625, 0.0158691406...
[ 11249, 47, 22, 2886, 563, 4904, 5337, 71232, 23, 73372, 22968, 28864, 1238, 27495, 10433, 3742, 223317, 438, 76896, 64330, 20697, 5885, 213566, 959, 141377, 5962, 10544, 155581, 678, 18151, 133291, 17569, 997, 60816, 142096, 9902, 123087, 442...
[ 0.058258056640625, 0.01129150390625, 0.07672119140625, 0.150634765625, 0.1500244140625, 0.2442626953125, 0.1812744140625, 0.2183837890625, 0.07861328125, 0.1982421875, 0.1807861328125, 0.1663818359375, 0.1160888671875, 0.039337158203125, 0.1602783203125, 0.053192138671875, 0.03417968...
embed
78772023_c0
78772023
fsharp
0
Title: Simple DiffSharp example Problem title: Simple DiffSharp example Tags: pytorch, python, f%23, diffsharp Problem: Simple DiffSharp example How to convert this simple PyTorch snippet to DiffSharp? It's supposed to be similar but many functions are not to be found. # Define tensors with requires_grad=True to track ...
Simple DiffSharp example Simple DiffSharp example pytorch python f%23 diffsharp Simple DiffSharp Define requires_grad torch.tensor Perform Output Compute z.backward Gradient x.grad y.grad Simple DiffSharp example How to convert this simple PyTorch snippet to DiffSharp? It's supposed to be similar but many functions are...
[ 0.01373291015625, 0.0419921875, -0.0189208984375, 0.017822265625, 0.01129150390625, -0.0050048828125, 0.004364013671875, -0.001068115234375, 0.01324462890625, 0.000255584716796875, 0.000469207763671875, -0.01312255859375, -0.0028533935546875, 0.0260009765625, 0.006317138671875, 0.01458...
[ 60552, 191144, 40798, 10681, 27781, 17198, 1290, 206, 50828, 1238, 3949, 3742, 71337, 89280, 254, 64552, 144570, 8961, 9983, 510, 4970, 169033, 13538, 159415, 97, 12620, 19364, 22453, 18750, 1022, 113, 96760, 8781, 27512, 98722, 93, 58134, 47...
[ 0.1695556640625, 0.2303466796875, 0.210693359375, 0.2451171875, 0.1636962890625, 0.077392578125, 0.11181640625, 0.14453125, 0.109619140625, 0.035308837890625, 0.07086181640625, 0.1417236328125, 0.19091796875, 0.22021484375, 0.016632080078125, 0.07122802734375, 0.1844482421875, 0.12...
embed
25874763_c1
25874763
fsharp
1
}/{id}", // URL with parameters { controller = "Product"; action = "List"; id = UrlParameter.Optional } // Parameter defaults ) |> ignore Have anyone done optional parameter for controller? I'm working on pilot project for my colleague to promote F# to our stack. Thanks Code signals: MVC, Controller, ProductController,...
}/{id}", // URL with parameters { controller = "Product"; action = "List"; id = UrlParameter.Optional } // Parameter defaults ) |> ignore Have anyone done optional parameter for controller? I'm working on pilot project for my colleague to promote F# to our stack. Thanks Code signals: MVC, Controller, ProductController,...
[ -0.018310546875, 0.0172119140625, -0.006317138671875, -0.005859375, 0.0036163330078125, -0.0235595703125, 0.0002956390380859375, -0.0181884765625, 0.01422119140625, -0.015869140625, -0.020751953125, -0.011474609375, -0.01104736328125, -0.007598876953125, 0.01068115234375, 0.00830078125...
[ 51912, 64, 532, 4666, 31862, 678, 171859, 7, 185373, 2203, 10752, 77193, 22631, 154663, 3447, 4143, 141, 55292, 29089, 39029, 43315, 1720, 114977, 124962, 31901, 35672, 16940, 35829, 289, 100, 20697, 20279, 13452, 62975, 125568, 563, 4904, 47...
[ 0.017333984375, 0.000732421875, 0.119384765625, 0.02777099609375, 0.25439453125, 0.14208984375, 0.2880859375, 0.0845947265625, 0.3203125, 0.018646240234375, 0.0999755859375, 0.1875, 0.1702880859375, 0.1337890625, 0.1258544921875, 0.11572265625, 0.048492431640625, 0.1142578125, 0....
embed
3233473_c0
3233473
fsharp
0
Title: Immutable data structures performance Problem title: Immutable data structures performance Tags: functional-programming, f%23, immutability, data-structures, .net Problem: Immutable data structures performance I don't get how can something as a Set be immutable and still have an acceptable performance. From what...
Immutable data structures performance Immutable data structures performance functional-programming f%23 immutability data-structures .net Immutable Immutable data structures performance I don't get how can something as a Set be immutable and still have an acceptable performance. From what I've read in F# Sets internall...
[ 0.024658203125, 0.00543212890625, 0.003082275390625, -0.01409912109375, 0.0081787109375, 0.017822265625, 0.003692626953125, 0.00004792213439941406, 0.0096435546875, -0.0093994140625, 0.0220947265625, 0.01287841796875, 0.0172119140625, -0.00860595703125, 0.0013427734375, 0.019287109375,...
[ 3370, 561, 22819, 2053, 45646, 23718, 123309, 28966, 1238, 3949, 3742, 566, 14311, 41159, 137656, 1179, 18, 2046, 3642, 831, 9844, 237, 19943, 186, 136, 7464, 765, 213850, 12301, 563, 4904, 70796, 4527, 6096, 10074, 4804, 90, 208124, 12638,...
[ 0.08978271484375, 0.181640625, 0.183837890625, 0.11279296875, 0.21630859375, 0.2022705078125, 0.1209716796875, 0.101806640625, 0.066650390625, 0.0149688720703125, 0.09735107421875, 0.0975341796875, 0.17236328125, 0.04412841796875, 0.177734375, 0.144287109375, 0.001068115234375, 0.0...
embed
8049244_c0
8049244
fsharp
0
Title: Returning a function with a closure Problem title: Returning a function with a closure Tags: f%23 Problem: Returning a function with a closure The following code: let CreateFunc= let counter = ref 0 fun () -> counter := !counter + 1; !counter let f1 = CreateFunc let f2 = CreateFunc printfn "%d" (f1()) printfn "%...
Returning a function with a closure Returning a function with a closure f%23 Returning CreateFunc Returning a function with a closure The following code: Outputs: So, basically, what we see here is f1 and f2 being the same function - as they're obviously sharing the same instance of 'counter'. The expected output is: Q...
[ 0.0157470703125, -0.0162353515625, 0.00701904296875, 0.033447265625, 0.0167236328125, -0.004638671875, 0.0145263671875, 0.000377655029296875, 0.021240234375, -0.0155029296875, -0.01129150390625, 0.0198974609375, 0.0162353515625, 0.02587890625, 0.04150390625, 0.00897216796875, -0.0104...
[ 173340, 32354, 678, 10, 170224, 1238, 3949, 3742, 214, 151313, 97249, 238, 25632, 18151, 13538, 7077, 198343, 1957, 3688, 418, 136, 304, 8035, 5701, 171259, 53371, 110527, 71013, 56, 84751, 140992, 151117, 186, 6626, 84797, 75935, 12921, 1178...
[ 0.20458984375, 0.1881103515625, 0.1495361328125, 0.049468994140625, 0.26318359375, 0.1336669921875, 0.041748046875, 0.129638671875, 0.00067138671875, 0.211669921875, 0.201416015625, 0.07208251953125, 0.0323486328125, 0.08087158203125, 0.0469970703125, 0.046051025390625, 0.01548767089...
embed
279145_c0
279145
fsharp
0
Title: What is the most elegant way of bubble-sorting in F#? Problem title: What is the most elegant way of bubble-sorting in F#? Tags: f%23, sorting, algorithm Problem: What is the most elegant way of bubble-sorting in F#? What is the most elegant way of bubble-sorting in F#? UPDATE As pointed out in one of the answer...
What is the most elegant way of bubble-sorting in F#? What is the most elegant way of bubble-sorting in F#? f%23 sorting algorithm What What is the most elegant way of bubble-sorting in F#? What is the most elegant way of bubble-sorting in F#? UPDATE As pointed out in one of the answers, bubble sorting isn't efficient ...
[ -0.004119873046875, 0.0089111328125, 0.02490234375, -0.018310546875, -0.01019287109375, 0.0103759765625, -0.00078582763671875, -0.0155029296875, -0.006256103515625, 0.01544189453125, -0.0031585693359375, -0.00087738037109375, -0.00994873046875, -0.01068115234375, -0.0125732421875, -0.0...
[ 2684, 27650, 3917, 373, 73163, 4970, 1916, 563, 4904, 23, 1238, 3949, 3742, 12096, 214, 234873, 4865, 9, 161521, 56112, 18, 93766, 123309, 46876, 201507, 4734, 95307, 5303, 19336, 39555, 17497, 109954, 193844, 27571, 62351, 59121, 37223, 4192...
[ 0.10247802734375, 0.18310546875, 0.063232421875, 0.0924072265625, 0.1998291015625, 0.162109375, 0.082275390625, 0.1253662109375, 0.2125244140625, 0.0258026123046875, 0.0711669921875, 0.058502197265625, 0.1324462890625, 0.1788330078125, 0.07562255859375, 0.1181640625, 0.01741027832031...
embed
56398388_c0
56398388
fsharp
0
Title: Async to wait for a key in F#? Problem title: Async to wait for a key in F#? Tags: asynchronous, f%23 Problem: Async to wait for a key in F#? I would like to block async execution until the users presses any key in the console. Here is what I have come up with: let waitForAnyKey = async { do! new Task (fun () ->...
Async to wait for a key in F#? Async to wait for a key in F#? asynchronous f%23 Async Task Console.ReadKey Async.AwaitTask Press You Async to wait for a key in F#? I would like to block async execution until the users presses any key in the console. Here is what I have come up with: Used like this: However, the Task is...
[ -0.0034332275390625, 0.01165771484375, 0.02099609375, -0.031982421875, 0.0076904296875, -0.012939453125, 0.021728515625, -0.0040283203125, -0.01031494140625, -0.02880859375, 0.016845703125, 0.0028533935546875, -0.0113525390625, 0.007232666015625, -0.005584716796875, 0.00958251953125, ...
[ 62, 12654, 238, 47, 40485, 100, 22799, 23, 563, 4904, 10, 101966, 1238, 3742, 9598, 92, 1657, 40777, 31345, 162429, 634, 217, 9874, 1042, 21072, 2583, 1884, 46389, 71924, 1830, 24189, 72095, 30501, 7, 2499, 70, 130250, 83, 8306, 11675, ...
[ 0.03900146484375, 0.2100830078125, 0.120849609375, 0.0657958984375, 0.218994140625, 0.1573486328125, 0.198486328125, 0.043487548828125, 0.1207275390625, 0.188720703125, 0.06341552734375, 0.114990234375, 0.0794677734375, 0.1151123046875, 0.1551513671875, 0.10498046875, 0.0069580078125...
embed
13562978_c0
13562978
fsharp
0
Title: Compute min and max of a tuple list in F# Problem title: Compute min and max of a tuple list in F# Tags: f%23 Problem: Compute min and max of a tuple list in F# In F#, given game: (int*int) list I'd like to compute minx, maxx, miny, maxy the min and max values for each tuple dimension. This code works but seems ...
Compute min and max of a tuple list in F# Compute min and max of a tuple list in F# f%23 Compute List.map Seq.min Seq.max Compute min and max of a tuple list in F# In F#, given game: (int*int) list I'd like to compute minx, maxx, miny, maxy the min and max values for each tuple dimension. This code works but seems a bi...
[ 0.01409912109375, -0.01190185546875, 0.0196533203125, 0.0225830078125, -0.0037078857421875, 0.0020599365234375, 0.01422119140625, 0.016357421875, 0.0140380859375, 0.0205078125, -0.0037384033203125, 0.02392578125, 0.00958251953125, 0.025634765625, -0.00653076171875, 0.00107574462890625,...
[ 159415, 13, 881, 136, 18389, 111, 370, 8705, 5303, 23, 563, 4904, 1238, 3949, 3742, 32036, 62346, 503, 864, 1249, 24084, 34475, 6712, 4288, 1639, 1884, 9969, 6743, 425, 53, 142424, 12638, 91403, 18151, 43240, 1284, 37202, 4785, 4689, 4861...
[ 0.1817626953125, 0.039764404296875, 0.2484130859375, 0.146484375, 0.2154541015625, 0.017578125, 0.12158203125, 0.2108154296875, 0.2030029296875, 0.0283050537109375, 0.120849609375, 0.1683349609375, 0.05438232421875, 0.012176513671875, 0.110107421875, 0.184814453125, 0.091552734375, ...
embed
37996841_c0
37996841
fsharp
0
Title: Command line args in F# fsx Problem title: Command line args in F# fsx Tags: f%23 Problem: Command line args in F# fsx I run my .fsx file like >fsi A.fsx In this file I read csv with CsvProvider that has to have path to csv data. type Data = CsvProvider<"my_data.txt", ";", Schema I need to pass file name as comm...
Command line args in F# fsx Command line args in F# fsx f%23 Command A.fsx Data CsvProvider my_data.txt Schema fsi.CommandLineArgs.ElementAt Command line args in F# fsx I run my .fsx file like In this file I read csv with CsvProvider that has to have path to csv data. I need to pass file name as command line argument a...
[ 0.0184326171875, -0.00138092041015625, 0.01275634765625, 0.030517578125, 0.001678466796875, 0.002777099609375, 0.033447265625, 0.01025390625, -0.0179443359375, -0.01177978515625, -0.0048828125, -0.0028228759765625, -0.00408935546875, 0.01177978515625, 0.01092529296875, -0.0137939453125...
[ 123573, 13315, 79459, 563, 4904, 1238, 7, 425, 23, 3949, 3742, 62, 17447, 11809, 313, 67756, 177997, 62160, 759, 10135, 124326, 34702, 172, 10770, 12018, 93232, 7614, 9405, 19929, 28848, 11675, 11435, 1884, 12301, 20763, 334, 678, 60875, 20...
[ 0.1724853515625, 0.09381103515625, 0.201416015625, 0.1221923828125, 0.1669921875, 0.0880126953125, 0.0673828125, 0.1634521484375, 0.0253753662109375, 0.002716064453125, 0.1541748046875, 0.0863037109375, 0.14501953125, 0.090576171875, 0.0621337890625, 0.2015380859375, 0.171630859375, ...
embed
797674_c0
797674
fsharp
0
Title: Can I get the same benefits of functional programming (F#) by using more static methods in C#? Problem title: Can I get the same benefits of functional programming (F#) by using more static methods in C#? Tags: f%23, c%23, static-methods Problem: Can I get the same benefits of functional programming (F#) by usin...
Can I get the same benefits of functional programming (F#) by using more static methods in C#? Can I get the same benefits of functional programming (F#) by using more static methods in C#? f%23 c%23 static-methods more Can Can I get the same benefits of functional programming (F#) by using more static methods in C#? I...
[ 0.005859375, 0.011474609375, 0.0303955078125, -0.011474609375, -0.021728515625, -0.0093994140625, -0.00823974609375, -0.0032501220703125, 0.00074005126953125, -0.006072998046875, -0.027587890625, -0.017822265625, -0.013427734375, 0.011962890625, -0.0086669921875, -0.001617431640625, ...
[ 4171, 87, 2046, 5701, 72382, 123309, 56037, 449, 919, 4904, 17368, 1286, 201939, 150624, 23, 313, 1238, 3742, 1928, 7352, 111, 36456, 38246, 11969, 5222, 563, 133446, 57616, 76811, 56661, 23468, 47, 3034, 18151, 18, 765, 842, 22819, 11341, ...
[ 0.0709228515625, 0.0178680419921875, 0.04168701171875, 0.08551025390625, 0.1591796875, 0.22607421875, 0.1456298828125, 0.0904541015625, 0.120849609375, 0.2076416015625, 0.04461669921875, 0.1107177734375, 0.24365234375, 0.176513671875, 0.06072998046875, 0.05615234375, 0.00897216796875...
embed
59715427_c1
59715427
fsharp
1
as embedded resource with TypePovider Embedded Resource setting but this does not change the behaviour. I can even have them embedded and this still works when I run it without docker, It even works when published as self-contained app single file... (without docker of course) But docker refuses to cooporate in any co...
as embedded resource with TypePovider Embedded Resource setting but this does not change the behaviour. I can even have them embedded and this still works when I run it without docker, It even works when published as self-contained app single file... (without docker of course) But docker refuses to cooporate in any co...
[ -0.01263427734375, 0.0093994140625, -0.0072021484375, 0.01611328125, -0.005401611328125, 0.0057373046875, 0.005584716796875, -0.00543212890625, 0.004852294921875, -0.0228271484375, 0.0211181640625, 0.00110626220703125, 0.00830078125, 0.0125732421875, 0.0201416015625, 0.00164794921875, ...
[ 237, 55720, 69819, 177953, 60457, 683, 3677, 820, 2775, 372, 152055, 53550, 959, 15549, 224833, 2856, 7464, 43240, 11675, 15490, 54, 11050, 91376, 15970, 98102, 4027, 11001, 11435, 128120, 552, 36400, 17957, 180346, 18676, 83671, 170, 1681, 2...
[ 0.05712890625, 0.192626953125, 0.1346435546875, 0.1868896484375, 0.1796875, 0.0390625, 0.13623046875, 0.1533203125, 0.07745361328125, 0.1961669921875, 0.184814453125, 0.109130859375, 0.03009033203125, 0.050323486328125, 0.1275634765625, 0.011627197265625, 0.016357421875, 0.06567382...
embed
69445012_c0
69445012
fsharp
0
Title: How to sum adjacent numbers of same sign using List.fold in F# Problem title: How to sum adjacent numbers of same sign using List.fold in F# Tags: f%23, fold Problem: How to sum adjacent numbers of same sign using List.fold in F# Let's say I have a list in F# like this: [5,-2, -6, 7, -2, 2, 14, 2] I want to writ...
How to sum adjacent numbers of same sign using List.fold in F# How to sum adjacent numbers of same sign using List.fold in F# f%23 fold List.fold How x.Length System.Math.Sign How to sum adjacent numbers of same sign using List.fold in F# Let's say I have a list in F# like this: [5,-2, -6, 7, -2, 2, 14, 2] I want to wr...
[ -0.0198974609375, 0.013916015625, 0.00799560546875, 0.00653076171875, -0.0272216796875, 0.01806640625, -0.00136566162109375, 0.04345703125, 0.0024566650390625, 0.001739501953125, -0.006195068359375, -0.0205078125, -0.00933837890625, 0.015380859375, 0.007293701171875, -0.01171875, -0....
[ 11249, 47, 10554, 123594, 16797, 101935, 5701, 24092, 32036, 5, 42822, 563, 4904, 17368, 23, 1238, 3949, 3742, 1022, 449, 12353, 199450, 218723, 5303, 758, 5428, 910, 361, 122297, 616, 116, 3444, 33022, 32354, 4527, 30646, 3525, 1019, 543, ...
[ 0.02984619140625, 0.03033447265625, 0.2235107421875, 0.148193359375, 0.1707763671875, 0.18115234375, 0.1368408203125, 0.193115234375, 0.20068359375, 0.0523681640625, 0.2337646484375, 0.1317138671875, 0.1849365234375, 0.0318603515625, 0.049407958984375, 0.0968017578125, 0.035339355468...
embed
6995463_c0
6995463
fsharp
0
Title: F#: Composing sprintf with a string -&gt; unit function to allow formatting Problem title: F#: Composing sprintf with a string -&gt; unit function to allow formatting Tags: printf, f%23 Problem: F#: Composing sprintf with a string -> unit function to allow formatting There's information out there on how to do cu...
F#: Composing sprintf with a string -&gt; unit function to allow formatting F#: Composing sprintf with a string -&gt; unit function to allow formatting printf f%23 Composing F#: Composing sprintf with a string -> unit function to allow formatting There's information out there on how to do custom processing on a format ...
[ -0.00921630859375, 0.015869140625, 0.0186767578125, 0.01312255859375, -0.002899169921875, 0.00531005859375, 0.00994873046875, 0.002166748046875, 0.017333984375, -0.004486083984375, 0.0048828125, 0.01611328125, -0.0108642578125, -0.021240234375, 0.013671875, -0.013916015625, -0.004241...
[ 563, 4904, 15612, 232, 145320, 420, 678, 79315, 5386, 25072, 32354, 63769, 9384, 1916, 28412, 1238, 3949, 3742, 47, 4677, 3642, 54, 114122, 9433, 214, 98, 63920, 3444, 4785, 8781, 42, 183037, 9844, 21543, 111, 9969, 34759, 55681, 903, 391...
[ 0.080810546875, 0.1669921875, 0.121826171875, 0.144287109375, 0.1578369140625, 0.211669921875, 0.050872802734375, 0.172607421875, 0.080322265625, 0.193115234375, 0.150634765625, 0.1343994140625, 0.215576171875, 0.0537109375, 0.10986328125, 0.06671142578125, 0.0115966796875, 0.09246...
embed
12034774_c0
12034774
fsharp
0
Title: Performance of Lazy in F# Problem title: Performance of Lazy in F# Tags: performance, lazy-evaluation, f%23 Problem: Performance of Lazy in F# Why is the creation of Lazy type so slow? Assume the following code: type T() = let v = lazy (0.0) member o.a = v.Value type T2() = member o.a = 0.0 #time "on" for i in 0...
Performance of Lazy in F# Performance of Lazy in F# performance lazy-evaluation f%23 Performance Lazy o.a v.Value Real Performance of Lazy in F# Why is the creation of Lazy type so slow? Assume the following code: The first loop gives me: Real: 00:00:00.647 whereas the second loop gives me Real: 00:00:00.051 . Lazy is ...
[ 0.01263427734375, 0.008056640625, 0.007659912109375, -0.00665283203125, 0.0019989013671875, -0.026611328125, 0.00390625, 0.0159912109375, -0.00335693359375, -0.0177001953125, 0.01251220703125, 0.030517578125, -0.005615234375, -0.01123046875, 0.010986328125, 0.0004425048828125, 0.0036...
[ 94030, 239, 3285, 23, 563, 4904, 111, 23718, 21, 159258, 1238, 3742, 36, 81, 856, 50770, 5120, 44084, 83, 166635, 10644, 221, 72803, 66596, 13, 18151, 5117, 40956, 76199, 110095, 6632, 5, 195807, 17932, 8194, 418, 702, 1542, 56, 1146, 3...
[ 0.1597900390625, 0.1690673828125, 0.247314453125, 0.02362060546875, 0.1375732421875, 0.228271484375, 0.050811767578125, 0.1219482421875, 0.1229248046875, 0.0980224609375, 0.04302978515625, 0.058502197265625, 0.023162841796875, 0.052032470703125, 0.05072021484375, 0.0687255859375, 0.1...
embed
34230379_c0
34230379
fsharp
0
Title: Call a method/property shortcut Problem title: Call a method/property shortcut Tags: f%23 Problem: Call a method/property shortcut Is there a shorter way to do this? Seq.map (fun x -> x.SomeFunction()) xs Seq.map (fun x -> x.SomeProperty) xs This clearly doesn't work Seq.map SomeFunction() xs Seq.map SomePropert...
Call a method/property shortcut Call a method/property shortcut f%23 Call Seq.map x.SomeFunction x.SomeProperty SomeFunction SomeProperty fn1 fn2 Call a method/property shortcut Is there a shorter way to do this? This clearly doesn't work Which would allow something like this more simply I'm using Seq.map here, but the...
[ 0.00714111328125, 0.033447265625, 0.0257568359375, -0.00762939453125, -0.002471923828125, -0.0225830078125, 0.01495361328125, -0.0079345703125, 0.0040283203125, -0.034912109375, -0.0252685546875, 0.048828125, -0.01806640625, 0.0140380859375, 0.0157470703125, -0.00811767578125, -0.018...
[ 26265, 55300, 64, 36290, 56, 939, 16610, 19774, 10, 1238, 3949, 3742, 503, 864, 5, 62346, 1022, 282, 97249, 1264, 31384, 10752, 14783, 418, 304, 3917, 54, 903, 123019, 22027, 18, 4488, 63769, 1884, 1286, 42856, 17368, 3688, 33720, 5361, ...
[ 0.2269287109375, 0.22021484375, 0.0771484375, 0.09619140625, 0.1324462890625, 0.0794677734375, 0.1766357421875, 0.262939453125, 0.0609130859375, 0.10125732421875, 0.0687255859375, 0.2171630859375, 0.1256103515625, 0.2001953125, 0.0504150390625, 0.216064453125, 0.044921875, 0.004364...
embed
8225866_c0
8225866
fsharp
0
Title: Is it Possible to use Click Once Deployment with F#? Problem title: Is it Possible to use Click Once Deployment with F#? Tags: f%23, clickonce, visual-studio-2010 Problem: Is it Possible to use Click Once Deployment with F#? I was going to use Click Once for my F# project but it seems this is not supported withi...
Is it Possible to use Click Once Deployment with F#? Is it Possible to use Click Once Deployment with F#? f%23 clickonce visual-studio-2010 Possible Click Once Deployment visual-studio-2010 Is it Possible to use Click Once Deployment with F#? I was going to use Click Once for my F# project but it seems this is not supp...
[ 0.00567626953125, 0.01055908203125, 0.016357421875, -0.0047607421875, 0.0025787353515625, -0.00811767578125, -0.00148773193359375, -0.011962890625, -0.000179290771484375, -0.0140380859375, 0.00171661376953125, -0.009521484375, 0.0031280517578125, -0.0033111572265625, 0.0038909912109375, ...
[ 2071, 442, 115861, 2661, 4527, 21138, 76556, 262, 13158, 53, 674, 678, 563, 4904, 47, 1238, 3742, 18158, 191, 329, 21176, 52629, 73552, 13452, 903, 959, 8060, 28032, 44160, 11436, 4488, 30700, 38415, 11814, 88583, 3395, 3773, 361, 47557, ...
[ 0.012451171875, 0.026214599609375, 0.1551513671875, 0.1331787109375, 0.1484375, 0.245361328125, 0.267333984375, 0.080078125, 0.1785888671875, 0.07275390625, 0.0183868408203125, 0.131591796875, 0.135009765625, 0.2078857421875, 0.002655029296875, 0.0416259765625, 0.05279541015625, 0....
embed
28520021_c0
28520021
fsharp
0
Title: f# function for checking if a string is palidrome without using built in methods Problem title: f# function for checking if a string is palidrome without using built in methods Tags: string, f%23 Problem: f# function for checking if a string is palidrome without using built in methods f# beginner trying to check...
f# function for checking if a string is palidrome without using built in methods f# function for checking if a string is palidrome without using built in methods string f%23 built str:string str.Length f# function for checking if a string is palidrome without using built in methods f# beginner trying to check for if a ...
[ -0.0108642578125, 0.0203857421875, -0.01055908203125, 0.02783203125, -0.0101318359375, 0.031005859375, 0.027587890625, -0.00714111328125, 0.0009765625, 0.00628662109375, 0.03125, -0.0023040771484375, -0.01239013671875, -0.004547119140625, 0.004058837890625, 0.0020751953125, 0.0270996...
[ 1238, 4904, 32354, 100, 175199, 2174, 79315, 83, 17923, 102851, 15490, 17368, 88303, 23, 150624, 3742, 7704, 91693, 449, 9842, 1679, 12765, 39531, 1257, 2060, 12319, 20903, 10176, 5773, 82424 ]
[ 0.1065673828125, 0.1815185546875, 0.15283203125, 0.02349853515625, 0.1822509765625, 0.0687255859375, 0.23095703125, 0.06732177734375, 0.1427001953125, 0.24365234375, 0.083740234375, 0.0185394287109375, 0.121826171875, 0.08349609375, 0.137451171875, 0.1278076171875, 0.08575439453125, ...
embed
79151124_c0
79151124
fsharp
0
Title: F# foldBack conversion to tail recursive function Problem title: F# foldBack conversion to tail recursive function Tags: f%23, tail-recursion, tail, recursion, fold Problem: F# foldBack conversion to tail recursive function For learning purposes I've emulated List.foldBack . The emulated version is head-recursiv...
F# foldBack conversion to tail recursive function F# foldBack conversion to tail recursive function f%23 tail-recursion tail recursion fold List.foldBack x::xs x::initValue Result F# foldBack conversion to tail recursive function For learning purposes I've emulated List.foldBack . The emulated version is head-recursive...
[ -0.01513671875, 0.0211181640625, 0.0223388671875, 0.00811767578125, -0.0020599365234375, 0.0181884765625, -0.0034637451171875, -0.00201416015625, 0.001220703125, -0.015380859375, 0.02197265625, 0.00092315673828125, -0.0013580322265625, 0.035888671875, 0.023193359375, -0.0225830078125, ...
[ 563, 4904, 42822, 152470, 142477, 47, 46741, 195625, 5844, 32354, 1238, 3742, 107, 48650, 1830, 32036, 217, 856, 50770, 126684, 52080, 60042, 352, 202, 5, 27686, 11389, 10336, 9, 27650, 3917, 96760, 70 ]
[ 0.104736328125, 0.185791015625, 0.1988525390625, 0.2509765625, 0.14599609375, 0.09454345703125, 0.277587890625, 0.22119140625, 0.163330078125, 0.1925048828125, 0.06982421875, 0.0606689453125, 0.079345703125, 0.177001953125, 0.04107666015625, 0.1734619140625, 0.0275726318359375, 0.0...
embed
50552362_c0
50552362
fsharp
0
Title: Matlab &quot;diff&quot; in F# (subtract element by element) Problem title: Matlab &quot;diff&quot; in F# (subtract element by element) Tags: f%23, matlab Problem: Matlab "diff" in F# (subtract element by element) There is a diff function in MATLAB, that computes difference between elements in vector (or matrix, ...
Matlab &quot;diff&quot; in F# (subtract element by element) Matlab &quot;diff&quot; in F# (subtract element by element) f%23 matlab Matlab List.map2 List.tail List.take List.length Matlab "diff" in F# (subtract element by element) There is a diff function in MATLAB, that computes difference between elements in vector (...
[ -0.001220703125, 0.0228271484375, 0.01153564453125, 0.00958251953125, -0.004608154296875, -0.003143310546875, -0.006683349609375, 0.022705078125, 0.009521484375, -0.00555419921875, 0.0037384033203125, -0.0010833740234375, -0.00360107421875, 0.01416015625, -0.00933837890625, 0.007629394...
[ 7656, 6114, 152462, 23, 563, 4904, 22144, 39989, 12830, 390, 1238, 3949, 3742, 2589, 32036, 62346, 304, 46741, 78219, 23986, 71337, 32354, 52136, 89549, 375, 7077, 60212, 17721, 80854, 173, 18770, 50944, 425, 959, 7225, 5036, 146104, 757, 1...
[ 0.1463623046875, 0.20849609375, 0.2568359375, 0.0279388427734375, 0.1580810546875, 0.2142333984375, 0.0831298828125, 0.133544921875, 0.1680908203125, 0.1165771484375, 0.1085205078125, 0.016632080078125, 0.148681640625, 0.09326171875, 0.1612548828125, 0.035003662109375, 0.037902832031...
embed
58429647_c0
58429647
fsharp
0
Title: Controlling access on fields in F# types Problem title: Controlling access on fields in F# types Tags: f%23-interactive, c%23-to-f%23, f%23, f%23-3.0 Problem: Controlling access on fields in F# types I'm writing Domain Logic for one of the application using F#. I want to control access on fields defined for a ty...
Controlling access on fields in F# types Controlling access on fields in F# types f%23-interactive c%23-to-f%23 f%23 f%23-3.0 Controlling Controlling access on fields in F# types I'm writing Domain Logic for one of the application using F#. I want to control access on fields defined for a type in F# so that I can imple...
[ 0.003875732421875, 0.0036468505859375, -0.007293701171875, 0.01220703125, -0.005218505859375, -0.01312255859375, -0.0013427734375, 0.01104736328125, 0.003326416015625, 0.0233154296875, 0.003448486328125, 0.017578125, 0.01123046875, 0.0016937255859375, 0.0128173828125, -0.00885009765625...
[ 27131, 2069, 17203, 98, 44457, 23, 563, 4904, 52895, 7, 1238, 27495, 10433, 71232, 188, 420, 3742, 132265, 32562, 93702, 50592, 238, 100, 38415, 17368, 3444, 6226, 61924, 10, 10644, 450, 29479, 45367, 56, 103510, 136, 34648, 14, 42335, 21...
[ 0.1900634765625, 0.091064453125, 0.2113037109375, 0.10235595703125, 0.2188720703125, 0.043975830078125, 0.1529541015625, 0.2149658203125, 0.224365234375, 0.0150909423828125, 0.0804443359375, 0.057373046875, 0.0579833984375, 0.03253173828125, 0.0687255859375, 0.0631103515625, 0.028213...
embed
60570558_c0
60570558
fsharp
0
Title: JsonConverter on F# type field is not invoked Problem title: JsonConverter on F# type field is not invoked Tags: json, system.text.json, f%23 Problem: JsonConverter on F# type field is not invoked For the code below type MyConverter = inherit JsonConverter<Datetime>() ..... type MyType = { [<JsonConverter(typeof...
JsonConverter on F# type field is not invoked JsonConverter on F# type field is not invoked json system.text.json f%23 JsonConverter MyConverter Datetime MyType JsonSerializer.Deserialize system.text.json JsonConverter on F# type field is not invoked For the code below converter is not invoked. It gets invoked for the ...
[ -0.017822265625, 0.00848388671875, 0.0038909912109375, 0.0235595703125, -0.018798828125, -0.01361083984375, -0.0125732421875, 0.0169677734375, -0.0081787109375, 0.017578125, -0.0026702880859375, 0.0634765625, 0.0107421875, 0.0177001953125, 0.01806640625, -0.00970458984375, -0.0016479...
[ 821, 1681, 11935, 814, 720, 98, 563, 4904, 10644, 44457, 959, 23, 23253, 1647, 5426, 22829, 5, 170, 1238, 3742, 2646, 6032, 196707, 51626, 52825, 73347, 25435, 18151, 35064, 172127, 83, 64194, 150380, 109133, 2685, 4331, 40140, 24763 ]
[ 0.130859375, 0.192626953125, 0.0638427734375, 0.19873046875, 0.1771240234375, 0.045074462890625, 0.1156005859375, 0.1993408203125, 0.1846923828125, 0.1754150390625, 0.1136474609375, 0.0777587890625, 0.1669921875, 0.0731201171875, 0.07159423828125, 0.1217041015625, 0.03607177734375, ...
embed
69469385_c0
69469385
fsharp
0
Title: Can&#x27;t find simple way to wait asynchronously Problem title: Can&#x27;t find simple way to wait asynchronously Tags: f%23 Problem: Can't find simple way to wait asynchronously Let's say I need to perform some asynchronous operation and I need the result right now. If I were using C#, I'd just do it this way:...
Can&#x27;t find simple way to wait asynchronously Can&#x27;t find simple way to wait asynchronously f%23 Can File.ReadAllLinesAsync Async.RunSynchronously Task.Result Can't find simple way to wait asynchronously Let's say I need to perform some asynchronous operation and I need the result right now. If I were using C#,...
[ -0.005828857421875, 0.0023345947265625, 0.004730224609375, -0.022705078125, -0.0054931640625, -0.01361083984375, 0.0169677734375, -0.01611328125, -0.0013885498046875, -0.02392578125, 0.01275634765625, 0.00494384765625, -0.00592041015625, -0.003662109375, 0.0196533203125, 0.014831542968...
[ 3768, 7413, 8781, 3917, 40485, 12654, 101966, 3742, 4171, 42724, 31345, 43512, 93232, 238, 163321, 217835, 127, 1900, 79850, 9598, 4332, 7, 7136, 3871, 51339, 10, 41018, 16750, 5036, 4904, 162054, 351, 81409, 107419, 62, 209806, 46389, 214, ...
[ 0.040283203125, 0.0692138671875, 0.1129150390625, 0.054473876953125, 0.2440185546875, 0.1968994140625, 0.172607421875, 0.020751953125, 0.0285797119140625, 0.1822509765625, 0.146240234375, 0.07867431640625, 0.1671142578125, 0.0924072265625, 0.0968017578125, 0.06475830078125, 0.0566711...
embed
15704148_c0
15704148
fsharp
0
Title: Adding delegate in C# Problem title: Adding delegate in C# Tags: c%23, delegates, f%23 Problem: Adding delegate in C# How does one add a new function to a delegate without using the += notation ? I wonder how to do his from another CLR langage, namely F#. (I know there are much nicer way to deal with events in F...
Adding delegate in C# Adding delegate in C# c%23 delegates f%23 Adding Square Cube Transformer Adding delegate in C# How does one add a new function to a delegate without using the += notation ? I wonder how to do his from another CLR langage, namely F#. (I know there are much nicer way to deal with events in F#, but I...
[ 0.00262451171875, 0.0086669921875, 0.021728515625, 0.0169677734375, -0.0019683837890625, -0.0186767578125, -0.0211181640625, 0.006561279296875, 0.0050048828125, -0.032470703125, 0.00396728515625, -0.000209808349609375, -0.0020904541015625, 0.02685546875, 0.016845703125, -0.012878417968...
[ 62, 59725, 102329, 13, 23, 313, 4904, 3742, 90, 1238, 68305, 3003, 372, 11062, 82772, 11249, 1632, 15190, 3525, 32354, 47, 10, 15490, 17368, 997, 1369, 110, 22062, 32195, 54, 1919, 1295, 15700, 138535, 1937, 4588, 563, 10443, 3917, 35142,...
[ 0.1248779296875, 0.125, 0.320068359375, 0.2039794921875, 0.06268310546875, 0.1129150390625, 0.25439453125, 0.06768798828125, 0.007904052734375, 0.0255889892578125, 0.08905029296875, 0.10546875, 0.107421875, 0.096435546875, 0.165771484375, 0.0239105224609375, 0.007781982421875, 0.17...
embed
38275852_c0
38275852
fsharp
0
Title: F# interactive window folder and type provider default folder Problem title: F# interactive window folder and type provider default folder Tags: f%23 Problem: F# interactive window folder and type provider default folder I already changed the folder to my project folder. F# interactive:how to display/change curr...
F# interactive window folder and type provider default folder F# interactive window folder and type provider default folder f%23 XmlProvider DbToken.xml GetSample F# interactive window folder and type provider default folder I already changed the folder to my project folder. F# interactive:how to display/change current...
[ 0.025390625, 0.0123291015625, 0.00543212890625, 0.0264892578125, 0.0052490234375, 0.01287841796875, -0.006103515625, -0.0211181640625, -0.006927490234375, -0.0242919921875, 0.0024566650390625, 0.0022430419921875, 0.007293701171875, 0.004486083984375, 0.01275634765625, -0.01153564453125...
[ 563, 4904, 212398, 76896, 78303, 136, 10644, 81450, 114977, 1238, 3742, 1193, 7237, 177997, 62160, 391, 275, 7763, 1098, 131492, 20779, 5464, 33209, 21771, 98816, 70, 47, 759, 13452, 47251, 44116, 152028, 43581, 20697, 14364, 53, 25632, 18499...
[ 0.1263427734375, 0.1920166015625, 0.2039794921875, 0.15625, 0.164306640625, 0.039794921875, 0.140380859375, 0.2191162109375, 0.20361328125, 0.056732177734375, 0.115966796875, 0.058380126953125, 0.1343994140625, 0.1680908203125, 0.1307373046875, 0.04742431640625, 0.0975341796875, 0....
embed
13863459_c0
13863459
fsharp
0
Title: F# Debugging and code maintenance: Is there an un-factoring, factoring tool for F#? Problem title: F# Debugging and code maintenance: Is there an un-factoring, factoring tool for F#? Tags: f%23, functional-programming Problem: F# Debugging and code maintenance: Is there an un-factoring, factoring tool for F#? Wh...
F# Debugging and code maintenance: Is there an un-factoring, factoring tool for F#? F# Debugging and code maintenance: Is there an un-factoring, factoring tool for F#? f%23 functional-programming Debugging F# Debugging and code maintenance: Is there an un-factoring, factoring tool for F#? When working down a long chain...
[ 0.019775390625, 0.017578125, -0.002777099609375, 0.01336669921875, -0.002227783203125, -0.0027008056640625, -0.005126953125, -0.027099609375, -0.01611328125, 0.0255126953125, -0.00020885467529296875, -0.0030059814453125, 0.0128173828125, 0.006744384765625, 0.00946044921875, 0.007873535...
[ 563, 4904, 262, 978, 36659, 136, 18151, 121097, 2071, 2685, 51, 144810, 214, 31461, 55516, 100, 142, 1238, 3742, 123309, 28966, 20697, 7565, 121293, 20028, 765, 9, 89397, 831, 2811, 30022, 54608, 15190, 15549, 13438, 128201, 238, 167201, 56...
[ 0.1505126953125, 0.226806640625, 0.12890625, 0.1806640625, 0.086669921875, 0.05731201171875, 0.1602783203125, 0.184326171875, 0.02734375, 0.056915283203125, 0.1783447265625, 0.262451171875, 0.1171875, 0.2344970703125, 0.2305908203125, 0.0576171875, 0.02972412109375, 0.0586242675781...
embed
56597045_c0
56597045
fsharp
0
Title: How to define optional parameters in F# modules? Problem title: How to define optional parameters in F# modules? Tags: f%23 Problem: How to define optional parameters in F# modules? I'm trying to re-write a tiny C# lib in F# and I've encountered an error. I'm trying to define optional parameters for a method in ...
How to define optional parameters in F# modules? How to define optional parameters in F# modules? f%23 How Kingdom Rule How to define optional parameters in F# modules? I'm trying to re-write a tiny C# lib in F# and I've encountered an error. I'm trying to define optional parameters for a method in a module but the com...
[ 0.01239013671875, -0.0025482177734375, 0.00982666015625, -0.00811767578125, -0.012939453125, 0.00799560546875, -0.00445556640625, -0.0146484375, 0.000873565673828125, 0.0079345703125, -0.00286865234375, -0.0252685546875, 0.006988525390625, -0.005157470703125, 0.00860595703125, -0.00927...
[ 11249, 61924, 35829, 289, 171859, 7, 23, 563, 4904, 88996, 1238, 3742, 117604, 139118, 57278, 25474, 18499, 55300, 9969, 34759, 39029, 43315, 10750, 4734, 28897, 10644, 43032, 831, 4527, 2856, 5078, 32354, 11417, 201939, 32786, 64457, 217064, ...
[ 0.050048828125, 0.1868896484375, 0.23974609375, 0.163330078125, 0.250244140625, 0.0682373046875, 0.0330810546875, 0.137939453125, 0.2132568359375, 0.181396484375, 0.042022705078125, 0.05450439453125, 0.1368408203125, 0.146240234375, 0.037933349609375, 0.07470703125, 0.1307373046875, ...
embed
10988161_c0
10988161
fsharp
0
Title: Enums of colors Problem title: Enums of colors Tags: .net, enums, f%23, colors Problem: Enums of colors My idea was to switch between some colors, so I don't have to use multiple pens but I can declare just one. I'm not so sure to have understood exactly how enums work, please correct me: type ColorType = | Red ...
Enums of colors Enums of colors .net enums f%23 colors Enums ColorType Red Color.Red Green Color.Green Blue Color.Blue Pen g.DrawRectangle Enums of colors My idea was to switch between some colors, so I don't have to use multiple pens but I can declare just one. I'm not so sure to have understood exactly how enums work...
[ -0.0252685546875, -0.00970458984375, -0.0106201171875, 0.0184326171875, -0.01544189453125, -0.000021219253540039062, -0.002349853515625, 0.002349853515625, -0.01190185546875, -0.0091552734375, 0.01556396484375, 0.00946044921875, 0.005126953125, 0.008056640625, 0.0107421875, 0.014099121...
[ 357, 10321, 111, 104988, 5, 1179, 22, 1238, 3949, 3742, 51193, 196707, 6096, 80852, 15497, 152061, 22928, 114567, 4267, 706, 81456, 24762, 109217, 6528, 101089, 17721, 3060, 4527, 48716, 59434, 831, 159978, 1660, 1632, 217064, 3642, 4488, 267...
[ 0.1822509765625, 0.2861328125, 0.1942138671875, 0.2509765625, 0.0093994140625, 0.1810302734375, 0.178955078125, 0.09619140625, 0.056793212890625, 0.1895751953125, 0.2354736328125, 0.17138671875, 0.143798828125, 0.0838623046875, 0.0712890625, 0.058746337890625, 0.091796875, 0.083251...
embed
32023171_c2
32023171
fsharp
2
Lara/Fuchizaki, Yuriko/Lee, Wendee/Toyoshima, Masami/Ja Lee, Patricia/Forstadt, Rebecca/Tarulli, Lisa/Fox, Sandy (I)/Marshall, Mona (I)/Sarducci, Tony Aladdin Code signals: CsvTypeProvider, Not, Reading, Complete, CsvProvider, movies.csv, InferRows, HasHeaders, IgnoreErrors, AssumeMissingValues, MissingValues, FSharp....
Lara/Fuchizaki, Yuriko/Lee, Wendee/Toyoshima, Masami/Ja Lee, Patricia/Forstadt, Rebecca/Tarulli, Lisa/Fox, Sandy (I)/Marshall, Mona (I)/Sarducci, Tony Aladdin Code signals: CsvTypeProvider, Not, Reading, Complete, CsvProvider, movies.csv, InferRows, HasHeaders, IgnoreErrors, AssumeMissingValues, MissingValues, FSharp....
[ 0.01092529296875, 0.0164794921875, 0.00640869140625, 0.020263671875, 0.005584716796875, -0.0037689208984375, 0.002899169921875, 0.00665283203125, -0.0181884765625, 0.0205078125, -0.0269775390625, -0.022216796875, 0.020751953125, 0.006439208984375, -0.0016632080078125, 0.005584716796875...
[ 115294, 64, 80163, 1861, 103080, 4, 158982, 265, 5267, 13, 601, 2285, 7763, 87713, 192, 3010, 1191, 6979, 19824, 154928, 18537, 47704, 180908, 202, 150, 32768, 27591, 425, 13552, 53, 568, 16305, 29907, 60331, 5861, 45740, 59689, 21664, 7622...
[ 0.235595703125, 0.09552001953125, 0.064453125, 0.08062744140625, 0.1810302734375, 0.0154266357421875, 0.181396484375, 0.1365966796875, 0.0701904296875, 0.07342529296875, 0.0148162841796875, 0.18994140625, 0.02191162109375, 0.10552978515625, 0.028533935546875, 0.019134521484375, 0.153...
embed
45434948_c0
45434948
fsharp
0
Title: Pipeline of functions scala Problem title: Pipeline of functions scala Tags: scala, functional-programming, f%23 Problem: Pipeline of functions scala Is it possible to create a pipeline of functions in scala?. I wanted to do something like the following syntax in F#, achieved through the |> operator indexPairs |...
Pipeline of functions scala Pipeline of functions scala scala functional-programming f%23 Pipeline Seq.iter Some Seq.groupBy Seq.map Seq.toList Pipeline of functions scala Is it possible to create a pipeline of functions in scala?. I wanted to do something like the following syntax in F#, achieved through the |> operat...
[ 0.01153564453125, 0.01287841796875, -0.0089111328125, 0.0147705078125, -0.0240478515625, -0.021240234375, -0.020751953125, -0.01116943359375, 0.0086669921875, -0.027587890625, 0.000583648681640625, 0.0279541015625, 0.0086669921875, 0.03173828125, 0.015625, -0.026611328125, 0.00354003...
[ 93128, 59760, 111, 32354, 146232, 123309, 28966, 1238, 3949, 3742, 503, 864, 16840, 51588, 62346, 188, 154663, 2071, 442, 7722, 47, 28282, 10, 137158, 2256, 7, 23, 32, 36663, 54, 1884, 25632, 6002, 86531, 563, 4904, 69307, 8305, 58745, 27...
[ 0.170166015625, 0.2423095703125, 0.1446533203125, 0.259521484375, 0.2890625, 0.1932373046875, 0.136474609375, 0.0792236328125, 0.003814697265625, 0.099365234375, 0.019775390625, 0.099609375, 0.15478515625, 0.1107177734375, 0.06951904296875, 0.06640625, 0.135009765625, 0.03533935546...
embed
58366597_c1
58366597
fsharp
1
"6ed07303-6dfa-42b4-88ae-391bbebf772a" }, "category": { "name": "Category 1", "starttime": { "tag": 0, "isNotStarted": true, "isStarted": false } } }, { "id": { "tag": 0, "item": "5e122579-4945-4f19-919c-ad4cf16ad0ed" }, "category": { "name": "Category 2", "starttime": { "tag": 1, "isNotStarted": false, "isStarted": t...
"6ed07303-6dfa-42b4-88ae-391bbebf772a" }, "category": { "name": "Category 1", "starttime": { "tag": 0, "isNotStarted": true, "isStarted": false } } }, { "id": { "tag": 0, "item": "5e122579-4945-4f19-919c-ad4cf16ad0ed" }, "category": { "name": "Category 2", "starttime": { "tag": 1, "isNotStarted": false, "isStarted": t...
[ -0.0224609375, 0.0302734375, 0.0146484375, -0.003326416015625, -0.0096435546875, -0.0201416015625, -0.021240234375, -0.0107421875, 0.0115966796875, -0.019287109375, 0.026611328125, 0.021484375, 0.012451171875, 0.0263671875, -0.01116943359375, 0.0014801025390625, 0.0000786781311035156...
[ 8368, 1197, 363, 1021, 124596, 12772, 155420, 168766, 51912, 33478, 6504, 11627, 76775, 3081, 1294, 106, 17137, 6032, 6936, 757, 164, 122116, 126597, 297, 29568, 98320, 532, 172070, 2947, 116, 35672, 3714, 3642, 2843, 25379, 142424, 6024, 342...
[ 0.00201416015625, 0.01580810546875, 0.030242919921875, 0.0190277099609375, 0.01153564453125, 0.037567138671875, 0.062164306640625, 0.0487060546875, 0.001129150390625, 0.08905029296875, 0.1285400390625, 0.015411376953125, 0.081298828125, 0.1427001953125, 0.080078125, 0.05914306640625, ...
embed
26935588_c1
26935588
fsharp
1
console output above says, the actual build products go to the top-level directory, not the build directory. The message above looks like the -o argument is being passed to the compiler with an appropriate filename, but the executable gets put in . instead of ./build-app/ . So, 2 questions: Is this a reasonable way to...
console output above says, the actual build products go to the top-level directory, not the build directory. The message above looks like the -o argument is being passed to the compiler with an appropriate filename, but the executable gets put in . instead of ./build-app/ . So, 2 questions: Is this a reasonable way to...
[ -0.01007080078125, 0.0223388671875, -0.01531982421875, -0.010498046875, -0.01336669921875, 0.0177001953125, 0.01019287109375, -0.0128173828125, -0.0130615234375, 0.0390625, -0.006683349609375, -0.000644683837890625, 0.0289306640625, 0.00848388671875, 0.0079345703125, -0.0093994140625, ...
[ 130250, 140992, 36917, 70, 8561, 45367, 38742, 738, 47, 2663, 67919, 14364, 53, 959, 26008, 33342, 20, 31, 10750, 115081, 9969, 34759, 95307, 11435, 11627, 71924, 2886, 3884, 23, 5, 64457, 177149, 9007, 17582, 169022, 23253, 563, 4904, 1199...
[ 0.221923828125, 0.1282958984375, 0.09033203125, 0.015777587890625, 0.1552734375, 0.235595703125, 0.2509765625, 0.096923828125, 0.1243896484375, 0.11767578125, 0.17041015625, 0.15673828125, 0.1002197265625, 0.0650634765625, 0.10162353515625, 0.037322998046875, 0.09429931640625, 0.21...
embed
15924501_c0
15924501
fsharp
0
Title: F#, assignment operator vs set operator Problem title: F#, assignment operator vs set operator Tags: f%23 Problem: F#, assignment operator vs set operator I have started with F# and some code structure wonder me. For example: I have next code: let mutable s = 10 s <- 1 + s printf "%i" s Everything is clear from ...
F#, assignment operator vs set operator F#, assignment operator vs set operator f%23 F#, assignment operator vs set operator I have started with F# and some code structure wonder me. For example: I have next code: Everything is clear from math side. I marked "s" as mutable and assigned the new value to "s". Result is 1...
[ 0.0216064453125, 0.0084228515625, 0.0244140625, 0.00213623046875, 0.01324462890625, -0.01556396484375, 0.0096435546875, 0.007720947265625, 0.0213623046875, 0.0159912109375, 0.0240478515625, 0.019287109375, 0.02490234375, -0.016357421875, 0.0164794921875, -0.0150146484375, 0.005889892...
[ 563, 4904, 95486, 674, 39933, 20209, 5423, 1238, 3949, 3742, 26859, 18151, 45646, 32195, 11737, 171581, 83, 34735, 1295, 48909, 5609, 94419, 7, 237, 842, 22819, 3525, 34292, 47, 126684, 4541, 9790, 3293, 79786, 91, 2203, 106, 997, 4785, 1...
[ 0.148681640625, 0.2132568359375, 0.2071533203125, 0.0836181640625, 0.2296142578125, 0.123779296875, 0.199951171875, 0.1234130859375, 0.04400634765625, 0.1207275390625, 0.0155181884765625, 0.141357421875, 0.1065673828125, 0.0292510986328125, 0.0799560546875, 0.0682373046875, 0.0175933...
embed
29682998_c0
29682998
fsharp
0
Title: Discriminated Union with Integer Values in F# Problem title: Discriminated Union with Integer Values in F# Tags: f%23, f%23-3.0 Problem: Discriminated Union with Integer Values in F# I'm trying to compose an F# type that would have the following signature: type Foo = (Distance * Event * Course) So that you would...
Discriminated Union with Integer Values in F# Discriminated Union with Integer Values in F# f%23 f%23-3.0 Discriminated Union Integer Values Foo Distance Event Course Freestyle LCM Discriminated Union with Integer Values in F# I'm trying to compose an F# type that would have the following signature: So that you would c...
[ -0.00732421875, -0.00836181640625, 0.004058837890625, 0.0052490234375, -0.01287841796875, -0.001312255859375, -0.0174560546875, 0.004913330078125, 0.01031494140625, -0.016845703125, -0.0011138916015625, 0.0030975341796875, 0.005889892578125, 0.0179443359375, -0.021484375, -0.0034484863...
[ 6206, 135421, 3674, 32528, 678, 44401, 190060, 563, 4904, 23, 1238, 3742, 27495, 132265, 9572, 31, 154349, 329, 36943, 154162, 5153, 40946, 339, 36498, 31577, 150350, 10644, 25632, 138256, 28282, 1884, 903, 17932, 6626, 63920, 90141, 15411, 2...
[ 0.059234619140625, 0.2303466796875, 0.08856201171875, 0.252685546875, 0.037200927734375, 0.1929931640625, 0.1993408203125, 0.14599609375, 0.2315673828125, 0.010589599609375, 0.06494140625, 0.0977783203125, 0.0330810546875, 0.11669921875, 0.202880859375, 0.1611328125, 0.233154296875, ...
embed
20759713_c1
20759713
fsharp
1
//Jack P syntax! let test2 str funct = strInt{ let! b = funct str return b } let go2 = test2 ("10", stringToInt) |> printfn "%A" Though working is perhaps still not conceptually there yet - getting the value to print doesn't happen. I'll keep hacking through - I've done tons of reading, that's where I got the exercise...
//Jack P syntax! let test2 str funct = strInt{ let! b = funct str return b } let go2 = test2 ("10", stringToInt) |> printfn "%A" Though working is perhaps still not conceptually there yet - getting the value to print doesn't happen. I'll keep hacking through - I've done tons of reading, that's where I got the exercise...
[ -0.019287109375, 0.0150146484375, -0.0035400390625, 0.0252685546875, -0.006744384765625, 0.04052734375, 0.01373291015625, -0.0228271484375, 0.023681640625, -0.009521484375, -0.00445556640625, 0.0074462890625, -0.0186767578125, 0.0267333984375, 0.0079345703125, 0.007568359375, -0.0010...
[ 4666, 176769, 436, 6002, 86531, 38, 2633, 3034, 304, 7704, 7477, 15390, 2203, 4153, 18, 876, 30646, 738, 963, 79315, 7763, 28412, 14783, 3949, 284, 20697, 95134, 7464, 228113, 14373, 20949, 34292, 47, 22027, 53383, 256, 8305, 124062, 16454,...
[ 0.052886962890625, 0.259521484375, 0.2314453125, 0.1600341796875, 0.2049560546875, 0.1160888671875, 0.192626953125, 0.235595703125, 0.2286376953125, 0.2059326171875, 0.1546630859375, 0.07464599609375, 0.05072021484375, 0.1396484375, 0.0892333984375, 0.114013671875, 0.1357421875, 0....
embed
5386633_c2
5386633
fsharp
2
System.Net, System.IO, System.Threading, System.Windows, System.Windows.Input, System.Windows.Controls, System.Windows.Shapes, System.Windows.Media, Event, Async.Sleep, evt.Trigger, Async.StartImmediate, evt.Publish.Add, Price, Observable.Create, System.Action, event:IEvent, event.Add, x.OnNext, Random, Walker, rand.N...
System.Net, System.IO, System.Threading, System.Windows, System.Windows.Input, System.Windows.Controls, System.Windows.Shapes, System.Windows.Media, Event, Async.Sleep, evt.Trigger, Async.StartImmediate, evt.Publish.Add, Price, Observable.Create, System.Action, event:IEvent, event.Add, x.OnNext, Random, Walker, rand.N...
[ 0.005767822265625, 0.0294189453125, 0.00555419921875, 0.00115203857421875, 0.00640869140625, 0.0086669921875, 0.005615234375, -0.00927734375, 0.01446533203125, -0.0380859375, -0.0103759765625, 0.0242919921875, -0.007232666015625, 0.01251220703125, 0.0021209716796875, 0.0120849609375, ...
[ 12353, 5, 24447, 4, 17780, 39116, 214, 43342, 4153, 7077, 175904, 40798, 13569, 72492, 36943, 12654, 238, 133, 4517, 75743, 74257, 21407, 126597, 12333, 143145, 15227, 4028, 48025, 87652, 63784, 284, 10763, 19732, 12, 568, 192134, 1022, 20320...
[ 0.224853515625, 0.0989990234375, 0.2261962890625, 0.09051513671875, 0.228759765625, 0.1759033203125, 0.1033935546875, 0.1925048828125, 0.067626953125, 0.09893798828125, 0.2337646484375, 0.13671875, 0.06732177734375, 0.1954345703125, 0.1978759765625, 0.1591796875, 0.037750244140625, ...
embed
51809502_c0
51809502
fsharp
0
Title: Is Haskell&#x27;s bind operator (&gt;&gt;=) equivalent to F#&#x27;s forward pipe operator (|&gt;)? Problem title: Is Haskell&#x27;s bind operator (&gt;&gt;=) equivalent to F#&#x27;s forward pipe operator (|&gt;)? Tags: pipeline, monads, haskell, f%23, bind Problem: Is Haskell's bind operator (>>=) equivalent to ...
Is Haskell&#x27;s bind operator (&gt;&gt;=) equivalent to F#&#x27;s forward pipe operator (|&gt;)? Is Haskell&#x27;s bind operator (&gt;&gt;=) equivalent to F#&#x27;s forward pipe operator (|&gt;)? pipeline monads haskell f%23 bind Haskell stdin.ReadLine stdout.Write Is Haskell's bind operator (>>=) equivalent to F#'s ...
[ -0.0020599365234375, 0.003997802734375, 0.0068359375, 0.011474609375, -0.00927734375, -0.0101318359375, 0.009521484375, -0.023681640625, -0.000881195068359375, 0.003326416015625, 0.004425048828125, -0.004425048828125, 0.0205078125, 0.0091552734375, -0.00775146484375, -0.01287841796875,...
[ 2071, 20625, 142508, 3768, 68557, 39933, 5386, 1369, 183234, 563, 4904, 40225, 137158, 2256, 2667, 712, 1556, 1238, 3742, 6138, 3035, 31345, 93232, 1003, 30813, 47, 58745, 2740, 60457, 138256, 10660, 6713, 21373, 21980, 3408, 31425, 83, 6396,...
[ 0.043121337890625, 0.1566162109375, 0.255615234375, 0.088623046875, 0.224365234375, 0.22216796875, 0.0654296875, 0.14013671875, 0.1732177734375, 0.1146240234375, 0.1739501953125, 0.157470703125, 0.166259765625, 0.110595703125, 0.039520263671875, 0.060699462890625, 0.1302490234375, ...
embed
68382146_c1
68382146
fsharp
1
ChartLayer.Model to be used as: {m with WritingLayer = BringToTop rb m.WritingLayer; ImageLayer = BringToTop rb m.ImageLayer; ChartLayer = rb m.ChartLayer} Thank you for your consideration. Code signals: an, How, BringToTop, LayersEnum, _TopMostLayer, LayerName, ZIndex, Visibility, Visibility.Visible, DefaultZIndex, V...
ChartLayer.Model to be used as: {m with WritingLayer = BringToTop rb m.WritingLayer; ImageLayer = BringToTop rb m.ImageLayer; ChartLayer = rb m.ChartLayer} Thank you for your consideration. Code signals: an, How, BringToTop, LayersEnum, _TopMostLayer, LayerName, ZIndex, Visibility, Visibility.Visible, DefaultZIndex, V...
[ -0.0211181640625, 0.00787353515625, -0.0062255859375, -0.006195068359375, -0.01263427734375, 0.000469207763671875, -0.00823974609375, -0.00634765625, 0.0252685546875, -0.01458740234375, 0.0191650390625, 0.007415771484375, 0.03466796875, 0.0250244140625, 0.01300048828125, -0.00460815429...
[ 110373, 2729, 8889, 5, 140290, 47, 11814, 237, 39, 678, 213185, 166980, 7763, 77888, 13471, 347, 2783, 22710, 216960, 84068, 18, 177229, 28864, 26073, 11249, 239, 2606, 116128, 163612, 567, 4153, 39659, 28896, 83259, 6609, 55356, 262, 1021, ...
[ 0.2230224609375, 0.14794921875, 0.239501953125, 0.009613037109375, 0.287353515625, 0.02740478515625, 0.1680908203125, 0.0921630859375, 0.1246337890625, 0.088134765625, 0.1800537109375, 0.1959228515625, 0.16162109375, 0.2222900390625, 0.07080078125, 0.02734375, 0.05938720703125, 0.1...
embed
34491875_c0
34491875
fsharp
0
Title: F# backward pipeline operator with multiple parameters Problem title: F# backward pipeline operator with multiple parameters Tags: f%23 Problem: F# backward pipeline operator with multiple parameters Just started learning F# and am currently reading "The Book Of F#". Maybe I am missing something but as far as I ...
F# backward pipeline operator with multiple parameters F# backward pipeline operator with multiple parameters f%23 F# backward pipeline operator with multiple parameters Just started learning F# and am currently reading "The Book Of F#". Maybe I am missing something but as far as I know forward/backward pipeline operat...
[ -0.000606536865234375, 0.007598876953125, 0.01416015625, 0.0048828125, -0.007110595703125, -0.00836181640625, 0.021484375, -0.006011962890625, 0.00628662109375, 0.0010986328125, 0.00121307373046875, 0.016845703125, 0.015380859375, -0.00017452239990234375, 0.005645751953125, -0.02795410...
[ 563, 4904, 4420, 19364, 137158, 2256, 39933, 48716, 171859, 1238, 3949, 3742, 52080, 16454, 27432, 6619, 83425, 132283, 40225, 64, 12620, 7, 452, 6953, 16750, 125195, 3934, 4568, 11737, 32354, 48225, 15400, 14602, 4488, 10922, 113, 47, 1022, ...
[ 0.1083984375, 0.16162109375, 0.2188720703125, 0.2191162109375, 0.2034912109375, 0.18310546875, 0.2249755859375, 0.1348876953125, 0.1934814453125, 0.047943115234375, 0.00396728515625, 0.0960693359375, 0.0218658447265625, 0.032318115234375, 0.05401611328125, 0.0288848876953125, 0.00573...
embed
12339205_c2
12339205
fsharp
2
6.865 561.875"> <line bbox="63.2999 550.846 246.865 561.875"> <span bbox="63.2999 550.846 Code signals: value, Pattern, Matching, XML, Bold, System.Xml.Linq, System.Collections.Generic, Contains, String.IsNullOrWhiteSpace, op_Implicit, XElement, x.Attribute, a.Value, String.Empty, x.SetAttributeValue, IEnumerator, s.Sp...
6.865 561.875"> <line bbox="63.2999 550.846 246.865 561.875"> <span bbox="63.2999 550.846 Code signals: value, Pattern, Matching, XML, Bold, System.Xml.Linq, System.Collections.Generic, Contains, String.IsNullOrWhiteSpace, op_Implicit, XElement, x.Attribute, a.Value, String.Empty, x.SetAttributeValue, IEnumerator, s.Sp...
[ -0.0181884765625, 0.033447265625, -0.00506591796875, -0.01068115234375, -0.00009441375732421875, 0.004669189453125, -0.01495361328125, -0.0135498046875, 0.0040283203125, 0.01300048828125, -0.0021820068359375, 0.01275634765625, -0.00885009765625, -0.004791259765625, 0.0027618408203125, ...
[ 2289, 207684, 9103, 119044, 6873, 70902, 4426, 2256, 876, 11728, 910, 107033, 65040, 4859, 132208, 9271, 744, 166141, 12424, 19332, 28864, 26073, 7, 12, 34292, 4, 9876, 22766, 67407, 92537, 147424, 12353, 1542, 7237, 866, 44982, 5, 78457, 8...
[ 0.128173828125, 0.21435546875, 0.1951904296875, 0.1707763671875, 0.251220703125, 0.06793212890625, 0.010986328125, 0.1990966796875, 0.032501220703125, 0.163330078125, 0.064453125, 0.054931640625, 0.160888671875, 0.1392822265625, 0.09991455078125, 0.205810546875, 0.107421875, 0.1214...
embed
46863622_c0
46863622
fsharp
0
Title: CopyRecursive not working in FAKE script Problem title: CopyRecursive not working in FAKE script Tags: f%23, f%23-fake Problem: CopyRecursive not working in FAKE script I have the following target defined in my FAKE build script. It is being executed. I have verified this usuing trace statements. There is a larg...
CopyRecursive not working in FAKE script CopyRecursive not working in FAKE script f%23 f%23-fake CopyRecursive FAKE Target Push FileSystemHelper.currentDirectory MyWebApp CopyRecursive not working in FAKE script I have the following target defined in my FAKE build script. It is being executed. I have verified this usui...
[ -0.01043701171875, 0.0074462890625, -0.006683349609375, 0.02734375, 0.00994873046875, 0.0164794921875, 0.00079345703125, -0.032470703125, 0.00628662109375, 0.004638671875, -0.0064697265625, 0.0162353515625, 0.005615234375, 0.0263671875, 0.030517578125, -0.019775390625, -0.00704956054...
[ 146930, 4332, 48650, 5844, 959, 20697, 23, 563, 119960, 26499, 3742, 1021, 160017, 114405, 42724, 84293, 60785, 1264, 163812, 184911, 2646, 30474, 39179, 25632, 30388, 61924, 45367, 71924, 493, 20831, 144851, 63805, 21334, 11435, 45646, 78303, ...
[ 0.202392578125, 0.099609375, 0.2261962890625, 0.213134765625, 0.05523681640625, 0.1715087890625, 0.07220458984375, 0.1485595703125, 0.2216796875, 0.2308349609375, 0.038055419921875, 0.16015625, 0.2308349609375, 0.15478515625, 0.04425048828125, 0.0168914794921875, 0.0877685546875, 0...
embed
57938497_c0
57938497
fsharp
0
Title: F# - Why FSharp.Data.SqlClient does not support views? Problem title: F# - Why FSharp.Data.SqlClient does not support views? Tags: f%23-data, f%23, sql Problem: F# - Why FSharp.Data.SqlClient does not support views? I wonder if there is some deep underlying reason why FSharp.Data.SqlClient ( https://fsprojects.g...
F# - Why FSharp.Data.SqlClient does not support views? F# - Why FSharp.Data.SqlClient does not support views? f%23-data f%23 sql Why FSharp.Data.SqlClient F# - Why FSharp.Data.SqlClient does not support views? I wonder if there is some deep underlying reason why FSharp.Data.SqlClient ( https://fsprojects.github.io/FSha...
[ 0.01458740234375, 0.0162353515625, -0.0135498046875, 0.01043701171875, 0.01458740234375, 0.0027923583984375, -0.01043701171875, -0.0172119140625, -0.0220947265625, -0.03662109375, 0.006378173828125, -0.0167236328125, 0.00494384765625, -0.0380859375, 0.0013885498046875, -0.0059814453125...
[ 563, 4904, 44084, 93774, 3467, 254, 137989, 99247, 441, 150, 2517, 959, 8060, 16912, 1238, 10135, 3742, 294, 14602, 53894, 1379, 31635, 15400, 17447, 95322, 32102, 63399, 3638, 27983, 147592, 3365, 316, 112377, 23180, 45367, 36746, 7108, 1718...
[ 0.1170654296875, 0.1568603515625, 0.08477783203125, 0.05902099609375, 0.16748046875, 0.1759033203125, 0.08453369140625, 0.1434326171875, 0.03314208984375, 0.146728515625, 0.08758544921875, 0.0860595703125, 0.1771240234375, 0.274658203125, 0.060089111328125, 0.0328369140625, 0.0565185...
embed
6206406_c1
6206406
fsharp
1
be wrong? /Users/smcho/Desktop/fs/powerpack/linq.fs(1,38): error FS0039: The field, constructor or member 'ToLinqExpression' is not defined /Users/smcho/Desktop/fs/powerpack/linq.fs(2,34): error FS0039: The field, constructor or member 'Compile' is not defined Do I need to install all the dll with gacutil -i ? Or, jus...
be wrong? /Users/smcho/Desktop/fs/powerpack/linq.fs(1,38): error FS0039: The field, constructor or member 'ToLinqExpression' is not defined /Users/smcho/Desktop/fs/powerpack/linq.fs(2,34): error FS0039: The field, constructor or member 'Compile' is not defined Do I need to install all the dll with gacutil -i ? Or, jus...
[ 0.0036468505859375, 0.00927734375, -0.006378173828125, 0.012939453125, -0.017333984375, 0.01611328125, 0.0019989013671875, 0.004669189453125, -0.00860595703125, -0.022705078125, -0.013916015625, 0.005828857421875, 0.00726318359375, 0.015869140625, 0.0177001953125, -0.000469207763671875...
[ 186, 44691, 1062, 7, 39, 3089, 4657, 1042, 13784, 17447, 62783, 29102, 2397, 864, 131290, 18499, 93774, 7049, 9323, 44457, 64549, 748, 707, 32786, 7763, 866, 44982, 178752, 1830, 959, 61924, 121763, 108161, 1340, 3871, 20600, 756, 70, 81717...
[ 0.0987548828125, 0.1226806640625, 0.000701904296875, 0.0209503173828125, 0.038665771484375, 0.213623046875, 0.07843017578125, 0.0455322265625, 0.08843994140625, 0.178466796875, 0.1177978515625, 0.2198486328125, 0.13671875, 0.1944580078125, 0.11181640625, 0.1583251953125, 0.1676025390...
embed
22372063_c0
22372063
fsharp
0
Title: Adding a EventHandler function to button click event with sender as a parameter Problem title: Adding a EventHandler function to button click event with sender as a parameter Tags: eventhandler, f%23 Problem: Adding a EventHandler function to button click event with sender as a parameter Adding a EventHandler fu...
Adding a EventHandler function to button click event with sender as a parameter Adding a EventHandler function to button click event with sender as a parameter eventhandler f%23 Adding EventHandler ButtonClicked DoSomthing button.Click.Add sender.DoSomthing Adding a EventHandler function to button click event with send...
[ -0.005889892578125, 0.0152587890625, 0.016357421875, -0.00933837890625, 0.00004267692565917969, -0.005401611328125, 0.006134033203125, 0.01043701171875, 0.006805419921875, -0.0595703125, 0.0206298828125, -0.0009002685546875, -0.02734375, 0.0242919921875, 0.01397705078125, -0.0194091796...
[ 62, 59725, 36943, 135679, 603, 32354, 47, 77679, 18158, 19732, 678, 59146, 237, 171859, 10, 74258, 3949, 3742, 144037, 181671, 984, 64113, 284, 4028, 8331, 28864, 27985, 4966, 3444, 1884, 903, 4358 ]
[ 0.0885009765625, 0.1024169921875, 0.205078125, 0.209716796875, 0.2239990234375, 0.1995849609375, 0.0830078125, 0.1805419921875, 0.2041015625, 0.167236328125, 0.07470703125, 0.1624755859375, 0.038482666015625, 0.19482421875, 0.007598876953125, 0.239501953125, 0.011932373046875, 0.11...
embed
25559574_c0
25559574
fsharp
0
Title: How to know if two arrays have at least one equal element (f#) Problem title: How to know if two arrays have at least one equal element (f#) Tags: f%23, arrays Problem: How to know if two arrays have at least one equal element (f#) I have a question about compare Arrays. I have two arrays: let A = [|1;2;3;4;5|] ...
How to know if two arrays have at least one equal element (f#) How to know if two arrays have at least one equal element (f#) f%23 arrays How Array.exists2 elem1 elem2 How to know if two arrays have at least one equal element (f#) I have a question about compare Arrays. I have two arrays: I want to now if they have at ...
[ -0.002288818359375, 0.01171875, 0.003082275390625, 0.02685546875, 0.015869140625, -0.000720977783203125, 0.00408935546875, -0.0026092529296875, -0.000606536865234375, -0.00982666015625, 0.0286865234375, 0.052001953125, 0.005218505859375, 0.01446533203125, 0.00982666015625, -0.025268554...
[ 11249, 47, 3714, 2174, 6626, 10298, 4778, 765, 99, 19713, 1632, 105950, 12830, 420, 4904, 1238, 3949, 3742, 69253, 53, 54376, 7, 304, 88, 195, 418, 9655, 69101, 3444, 5036, 1836, 4263, 30646, 87599, 9790, 32354, 903, 29568, 10, 2967, 44...
[ 0.05426025390625, 0.06988525390625, 0.166259765625, 0.1317138671875, 0.1578369140625, 0.2039794921875, 0.1832275390625, 0.10699462890625, 0.037994384765625, 0.182373046875, 0.143798828125, 0.2177734375, 0.1943359375, 0.0888671875, 0.144775390625, 0.08746337890625, 0.0279083251953125,...
embed
31059656_c1
31059656
fsharp
1
12.7 then pdF / (zabs - b1 + (b2 / (zabs + b3 + b4 / Temp))) else 0.0 But I don't like separating the two related variables--or repeating the If statements. This doesn't work but is as close as I've come: let Temp, Q = if zabs <= 1.28 then y + a3 - a4 / (y + a5 + a6 / (y + a7)), a0 - zabs * (a1 - a2 * y / Temp) elif z...
12.7 then pdF / (zabs - b1 + (b2 / (zabs + b3 + b4 / Temp))) else 0.0 But I don't like separating the two related variables--or repeating the If statements. This doesn't work but is as close as I've come: let Temp, Q = if zabs <= 1.28 then y + a3 - a4 / (y + a5 + a6 / (y + a7)), a0 - zabs * (a1 - a2 * y / Temp) elif z...
[ 0.0218505859375, -0.01409912109375, -0.024169921875, 0.000629425048828125, 0.003692626953125, -0.005889892578125, 0.014404296875, -0.0023956298828125, 0.00445556640625, 0.04443359375, 0.020751953125, 0.0263671875, 0.0031585693359375, -0.02392578125, 0.017822265625, -0.005126953125, -...
[ 5035, 966, 7068, 915, 71, 919, 248, 61267, 7, 876, 418, 997, 275, 304, 363, 617, 37446, 37076, 89678, 2301, 18, 1884, 38310, 6626, 62548, 77336, 119140, 4263, 63805, 3293, 22027, 4488, 20903, 272, 1380, 2633, 2396, 2174, 80, 16145, 4426...
[ 0.2113037109375, 0.2359619140625, 0.08734130859375, 0.05670166015625, 0.1361083984375, 0.1624755859375, 0.054290771484375, 0.1763916015625, 0.07830810546875, 0.09747314453125, 0.06976318359375, 0.115478515625, 0.072998046875, 0.1129150390625, 0.1324462890625, 0.14990234375, 0.2634277...
embed
32754033_c1
32754033
fsharp
1
Windows.Media.Imaging.RenderTargetBitmap(int w, int h, 96.0,96.0,Windows.Media.PixelFormats.Pbgra32) let img = System.Windows.Controls.Image() bmp.Render(dvis) img.Source <- bmp img let redCircle w h = visual (fun d w h -> let r = (min w h)/2. * 0.9 d.DrawEllipse(System.Windows.Media.Brushes.Red,null,System.Windows.Po...
Windows.Media.Imaging.RenderTargetBitmap(int w, int h, 96.0,96.0,Windows.Media.PixelFormats.Pbgra32) let img = System.Windows.Controls.Image() bmp.Render(dvis) img.Source <- bmp img let redCircle w h = visual (fun d w h -> let r = (min w h)/2. * 0.9 d.DrawEllipse(System.Windows.Media.Brushes.Red,null,System.Windows.Po...
[ -0.021484375, -0.0018310546875, -0.0018310546875, 0.01953125, 0.0113525390625, 0.01361083984375, 0.002685546875, -0.0238037109375, -0.00823974609375, -0.0201416015625, -0.0185546875, 0.0225830078125, 0.007354736328125, -0.015869140625, -0.00872802734375, -0.005279541015625, -0.004852...
[ 3773, 72492, 61637, 66398, 1052, 23894, 63031, 3794, 571, 217, 62346, 4288, 148, 23, 1096, 13549, 2389, 11648, 43342, 102973, 5739, 91887, 2633, 566, 177, 12353, 175904, 216960, 2676, 1824, 211235, 4842, 441, 481, 11030, 21176, 16498, 104, ...
[ 0.1317138671875, 0.1907958984375, 0.142822265625, 0.0804443359375, 0.0517578125, 0.16650390625, 0.163330078125, 0.1474609375, 0.009765625, 0.08203125, 0.205810546875, 0.09820556640625, 0.14501953125, 0.012786865234375, 0.0970458984375, 0.147216796875, 0.023223876953125, 0.119262695...
embed
66438571_c0
66438571
fsharp
0
Title: Why nest async computations? Problem title: Why nest async computations? Tags: asynchronous, f%23 Problem: Why nest async computations? Consider the following two ways of constructing an Async computation that calculates 1 + 2 : let c1 = async { let a = 1 let b = 2 return a + b } let c2 = async { let a = 1 let! ...
Why nest async computations? Why nest async computations? asynchronous f%23 Why Async streamReader.ReadToEndAsync streamReader.ReadToEnd Why nest async computations? Consider the following two ways of constructing an Async computation that calculates 1 + 2 : What is the practical difference between them? It seems to me...
[ -0.00860595703125, 0.0186767578125, 0.01611328125, 0.003631591796875, 0.029296875, 0.01708984375, 0.004180908203125, -0.00433349609375, 0.001220703125, -0.0166015625, -0.00128173828125, -0.0184326171875, 0.01104736328125, 0.0255126953125, 0.029052734375, -0.002899169921875, 0.0144653...
[ 44084, 91280, 10, 12654, 238, 181135, 5256, 101966, 10821, 1238, 3949, 3742, 62, 75973, 31345, 56, 7763, 152378, 284, 137399, 6626, 48322, 64549, 1363, 74481, 106, 997, 116, 138155, 60212, 17721, 2856, 37202, 5701, 13580, 17669, 3871, 4527, ...
[ 0.1591796875, 0.262451171875, 0.061981201171875, 0.24365234375, 0.1514892578125, 0.21923828125, 0.11083984375, 0.137939453125, 0.00335693359375, 0.07177734375, 0.06195068359375, 0.158447265625, 0.081298828125, 0.1485595703125, 0.2222900390625, 0.143310546875, 0.1312255859375, 0.173...
embed
28779823_c0
28779823
fsharp
0
Title: In-array comparison in F# Problem title: In-array comparison in F# Tags: arrays, comparison, f%23 Problem: In-array comparison in F# Let's say that I want to do some in-array comparison in F#, e.g. determine whether a given integer array arr contains integers in strictly increasing order. I would do it like this...
In-array comparison in F# In-array comparison in F# arrays comparison f%23 In-array Array.mapi Array.tryFind arri.Length Option.isNone In-array comparison in F# Let's say that I want to do some in-array comparison in F#, e.g. determine whether a given integer array arr contains integers in strictly increasing order. I ...
[ -0.02197265625, -0.000217437744140625, 0.00213623046875, 0.0185546875, 0.0023651123046875, -0.0147705078125, 0.01068115234375, -0.00927734375, 0.003875732421875, 0.0115966796875, 0.0032501220703125, 0.04150390625, -0.00848388671875, 0.008544921875, -0.0034942626953125, -0.0027313232421...
[ 360, 19305, 53, 225490, 23, 563, 4904, 10298, 4778, 1238, 3949, 3742, 69253, 192, 1434, 15123, 204582, 24387, 449, 86769, 164, 5021, 3444, 54, 83324, 36766, 34475, 892, 1505, 187, 42, 70541, 7, 26255, 81113, 118055, 12989, 1884, 903, 1490...
[ 0.1719970703125, 0.1900634765625, 0.1077880859375, 0.23876953125, 0.1573486328125, 0.1475830078125, 0.2105712890625, 0.1280517578125, 0.0694580078125, 0.0584716796875, 0.011932373046875, 0.1173095703125, 0.1246337890625, 0.03228759765625, 0.144775390625, 0.066650390625, 0.06311035156...
embed
8260190_c0
8260190
fsharp
0
Title: Accessing an F# List&lt;List&lt;&gt;&gt; from inside C# code Problem title: Accessing an F# List&lt;List&lt;&gt;&gt; from inside C# code Tags: c%23, f%23, list Problem: Accessing an F# List > from inside C# code this is an extension of my previous thread . I thought that accessing a List<List<>> would be quite s...
Accessing an F# List&lt;List&lt;&gt;&gt; from inside C# code Accessing an F# List&lt;List&lt;&gt;&gt; from inside C# code c%23 f%23 list inside Accessing List IList MyModule.X MyModule.l.ToList Accessing an F# List > from inside C# code this is an extension of my previous thread . I thought that accessing a List<List<>...
[ 0.01507568359375, 0.02490234375, -0.0054931640625, -0.00982666015625, 0.004852294921875, 0.00152587890625, -0.00762939453125, -0.01025390625, 0.00135040283203125, -0.02099609375, 0.0078125, 0.0174560546875, 0.01025390625, 0.01129150390625, 0.0003185272216796875, -0.00811767578125, 0....
[ 40266, 214, 142, 563, 4904, 32036, 1277, 154663, 5386, 1295, 46132, 313, 18151, 1230, 3742, 1238, 5303, 87, 2646, 91616, 8782, 1542, 7763, 111938, 17569, 17203, 10, 32233, 21373, 8781, 2967, 47, 37842, 25632, 903, 18, 9969, 1340, 4171, 75...
[ 0.194580078125, 0.04443359375, 0.047454833984375, 0.1668701171875, 0.2449951171875, 0.246337890625, 0.06201171875, 0.21826171875, 0.051605224609375, 0.11669921875, 0.2025146484375, 0.091796875, 0.1961669921875, 0.009918212890625, 0.1409912109375, 0.09454345703125, 0.181640625, 0.11...
embed
51137463_c0
51137463
fsharp
0
Title: AleaGPU Dynamic Parallelism in F#? How? Problem title: AleaGPU Dynamic Parallelism in F#? How? Tags: aleagpu, f%23, dynamic-parallelism Problem: AleaGPU Dynamic Parallelism in F#? How? This might be a simple question, but I have not been able to find any references to this topic: How do I launch a kernel from wi...
AleaGPU Dynamic Parallelism in F#? How? AleaGPU Dynamic Parallelism in F#? How? aleagpu f%23 dynamic-parallelism AleaGPU Dynamic Parallelism How AleaGPU Dynamic Parallelism in F#? How? This might be a simple question, but I have not been able to find any references to this topic: How do I launch a kernel from within an...
[ 0.0308837890625, 0.02001953125, 0.0003948211669921875, -0.01373291015625, -0.00066375732421875, -0.0036468505859375, 0.00799560546875, 0.017822265625, -0.01025390625, -0.035400390625, -0.0007781982421875, 0.00482177734375, -0.0137939453125, 0.002899169921875, 0.0079345703125, 0.0097656...
[ 4733, 11, 724, 26214, 73327, 21068, 211485, 8780, 23, 563, 4904, 11249, 662, 2703, 1766, 1238, 3742, 84079, 6276, 1229, 4086, 8781, 91067, 54, 87, 83184, 10, 77924, 583, 1295, 28032, 15700, 29191, 27781, 162808, 8060, 95103, 121876, 28864, ...
[ 0.17529296875, 0.1572265625, 0.0665283203125, 0.2081298828125, 0.1646728515625, 0.0960693359375, 0.2354736328125, 0.1524658203125, 0.073974609375, 0.1419677734375, 0.2215576171875, 0.06488037109375, 0.1353759765625, 0.00762939453125, 0.1527099609375, 0.056396484375, 0.1268310546875, ...
embed
54715763_c1
54715763
fsharp
1
AD password in plaintext into the appropriate directory. That's not great, but maybe OK? But we use a shared machine for deploys, which makes this solution not great. You can also use an AD token, but that requires that the application specifically be coded in such a way as to know about Azure AD, and so far as I'm aw...
AD password in plaintext into the appropriate directory. That's not great, but maybe OK? But we use a shared machine for deploys, which makes this solution not great. You can also use an AD token, but that requires that the application specifically be coded in such a way as to know about Azure AD, and so far as I'm aw...
[ 0.00885009765625, -0.004241943359375, -0.00726318359375, 0.0130615234375, -0.00921630859375, -0.0108642578125, -0.01556396484375, -0.03271484375, 0.014404296875, 0.002288818359375, 0.0030975341796875, 0.03466796875, 0.004913330078125, 0.031494140625, -0.006805419921875, 0.0086669921875...
[ 19831, 78506, 23, 111719, 22829, 3934, 95307, 14364, 53, 9925, 959, 6782, 51139, 14315, 4966, 642, 4527, 99764, 36279, 100, 8, 13158, 4778, 29806, 831, 2843, 142, 47, 1098, 144570, 38415, 183037, 18151, 3714, 176071, 107419, 7225, 93774, 34...
[ 0.26416015625, 0.29638671875, 0.008026123046875, 0.113037109375, 0.19384765625, 0.1309814453125, 0.163330078125, 0.1717529296875, 0.09637451171875, 0.006317138671875, 0.03338623046875, 0.0792236328125, 0.02789306640625, 0.050048828125, 0.01080322265625, 0.019195556640625, 0.119018554...
embed
56225238_c0
56225238
fsharp
0
Title: Why does type inference only work with a pipe here? Problem title: Why does type inference only work with a pipe here? Tags: f%23 Problem: Why does type inference only work with a pipe here? I have a piece of code like this: let! deliveries = async { match Option.map (fun x -> x.Address) maybeUser with | Some ""...
Why does type inference only work with a pipe here? Why does type inference only work with a pipe here? f%23 Why Option.map x.Address Some None Why does type inference only work with a pipe here? I have a piece of code like this: The type inference on this fails at x.Address . However, if I reorder the code with a pipe...
[ 0.01611328125, -0.000713348388671875, -0.0079345703125, 0.0047607421875, -0.00982666015625, -0.0113525390625, -0.00982666015625, -0.01043701171875, 0.00115966796875, -0.005340576171875, 0.007598876953125, 0.01397705078125, 0.0101318359375, -0.002777099609375, 0.033447265625, 0.01080322...
[ 44084, 10644, 53498, 6620, 4734, 4488, 678, 137158, 3688, 10, 1238, 3742, 86769, 62346, 1022, 161007, 31384, 438, 63847, 18151, 903, 35782, 7, 99, 5, 456, 80596, 43240 ]
[ 0.114501953125, 0.25537109375, 0.21728515625, 0.1103515625, 0.1080322265625, 0.102783203125, 0.1298828125, 0.2100830078125, 0.09002685546875, 0.0404052734375, 0.0213775634765625, 0.07708740234375, 0.21240234375, 0.1466064453125, 0.06781005859375, 0.1610107421875, 0.053436279296875, ...
embed
441651_c0
441651
fsharp
0
Title: F# - Breaking a List into Concatenated Strings by an Interval Problem title: F# - Breaking a List into Concatenated Strings by an Interval Tags: .net, concatenation, f%23, fold, list Problem: F# - Breaking a List into Concatenated Strings by an Interval I have a list of email addresses, and I need to send an ema...
F# - Breaking a List into Concatenated Strings by an Interval F# - Breaking a List into Concatenated Strings by an Interval .net concatenation f%23 fold list Breaking List Concatenated Strings Interval F# - Breaking a List into Concatenated Strings by an Interval I have a list of email addresses, and I need to send an ...
[ 0.000247955322265625, -0.0277099609375, -0.003143310546875, 0.0267333984375, -0.016845703125, 0.007110595703125, -0.0208740234375, 0.004608154296875, 0.004608154296875, -0.00029754638671875, 0.0142822265625, 0.00262451171875, 0.00335693359375, 0.003997802734375, 0.0019378662109375, -0....
[ 563, 4904, 91365, 32036, 3934, 1657, 4460, 33, 27686, 23351, 5180, 390, 5337, 1405, 1179, 158, 1238, 3949, 3742, 42822, 5303, 3340, 29823, 3871, 25379, 185325, 12638, 1884, 46389, 714, 10, 1733, 63773, 3917, 123309, 46876, 2271, 33478, 76, ...
[ 0.135498046875, 0.2181396484375, 0.2049560546875, 0.2073974609375, 0.1307373046875, 0.05816650390625, 0.1927490234375, 0.083251953125, 0.0345458984375, 0.194580078125, 0.1197509765625, 0.039276123046875, 0.1346435546875, 0.1934814453125, 0.12646484375, 0.1107177734375, 0.088745117187...
embed
44875106_c0
44875106
fsharp
0
Title: Hello world won&#x27;t compile with &quot;The value or constructor is not defined&quot; Problem title: Hello world won&#x27;t compile with &quot;The value or constructor is not defined&quot; Tags: f%23 Problem: Hello world won't compile with "The value or constructor is not defined" let prefix prefixString baseS...
Hello world won&#x27;t compile with &quot;The value or constructor is not defined&quot; Hello world won&#x27;t compile with &quot;The value or constructor is not defined&quot; f%23 Hello World Stuff.fs FS0039 Hello world won't compile with "The value or constructor is not defined" With the code above I'm getting the er...
[ 0.0028228759765625, -0.0009002685546875, -0.012939453125, 0.0166015625, 0.00067901611328125, 0.00775146484375, -0.00066375732421875, -0.01043701171875, -0.0036773681640625, -0.02001953125, -0.0091552734375, -0.0179443359375, 0.0146484375, 0.0142822265625, 0.01153564453125, 0.0137939453...
[ 35378, 8999, 23742, 3768, 18, 9969, 1340, 678, 3957, 34292, 707, 64549, 748, 83, 959, 61924, 71, 3742, 6661, 2907, 21493, 17447, 93774, 7049, 9323, 18151, 18499, 10289, 17727, 581, 4692, 55923, 100244, 1202, 36549, 563, 4904, 218500, 5701, ...
[ 0.215576171875, 0.193603515625, 0.0955810546875, 0.0537109375, 0.10247802734375, 0.1878662109375, 0.17822265625, 0.0628662109375, 0.05511474609375, 0.2464599609375, 0.1470947265625, 0.2052001953125, 0.16552734375, 0.07415771484375, 0.1444091796875, 0.2374267578125, 0.0870361328125, ...
embed
35442203_c0
35442203
fsharp
0
Title: Char list to String using foldBack Problem title: Char list to String using foldBack Tags: f%23, list, type-inference Problem: Char list to String using foldBack For an assignment, I am looking for a way to concatenate a string from a list of chars using List.foldBack. What I've come up with so far: let (.+) (x1...
Char list to String using foldBack Char list to String using foldBack f%23 list type-inference foldBack Char x1:string x2:char System.Char.ToString xs:char List.foldBack Char list to String using foldBack For an assignment, I am looking for a way to concatenate a string from a list of chars using List.foldBack. What I'...
[ -0.0030364990234375, 0.0177001953125, 0.00836181640625, 0.0269775390625, 0.0020599365234375, 0.032958984375, 0.0025482177734375, 0.01324462890625, 0.0035858154296875, -0.0155029296875, 0.0091552734375, -0.028564453125, 0.00689697265625, 0.0206298828125, -0.0189208984375, -0.02160644531...
[ 21656, 5303, 47, 23351, 214, 17368, 42822, 152470, 1238, 3949, 3742, 10644, 69988, 1022, 82825, 91693, 304, 9254, 12353, 84068, 7763, 71713, 32036, 95486, 16487, 3917, 158, 33478, 76, 79315, 1295, 21441, 25632, 18499, 26008, 444, 20594, 44691...
[ 0.1875, 0.1929931640625, 0.1182861328125, 0.197509765625, 0.09844970703125, 0.041046142578125, 0.1898193359375, 0.267822265625, 0.020263671875, 0.000946044921875, 0.1185302734375, 0.07025146484375, 0.135986328125, 0.051513671875, 0.02728271484375, 0.1392822265625, 0.03143310546875, ...
embed
9560340_c1
9560340
fsharp
1
't include a += operator: let answer = let dimensions = 1001 let mutable total = 1 let mutable increment = 2 let mutable current = 1 for spiral_layer_index in {1..(dimensions- 1) / 2} do for increment_index in {1..4} do current <- current + increment total <- total + current increment <- increment + 2 total Disregardin...
't include a += operator: let answer = let dimensions = 1001 let mutable total = 1 let mutable increment = 2 let mutable current = 1 for spiral_layer_index in {1..(dimensions- 1) / 2} do for increment_index in {1..4} do current <- current + increment total <- total + current increment <- increment + 2 total Disregardin...
[ -0.01165771484375, 0.0255126953125, -0.00347900390625, 0.029541015625, -0.02685546875, 0.01318359375, -0.00153350830078125, 0.00141143798828125, 0.004730224609375, -0.040283203125, 0.004150390625, 0.0242919921875, -0.005340576171875, 0.0294189453125, 0.0228271484375, 0.009765625, -0....
[ 18, 26698, 10, 997, 1369, 39933, 2633, 35166, 158208, 805, 418, 842, 22819, 3622, 106, 158661, 116, 43581, 144252, 5259, 56, 4711, 91403, 9, 4879, 248, 23, 617, 1286, 48909, 7, 81273, 86869, 2967, 140815, 11522, 3917, 54, 123309, 20623, ...
[ 0.1072998046875, 0.2169189453125, 0.03521728515625, 0.216064453125, 0.179443359375, 0.234619140625, 0.117431640625, 0.1876220703125, 0.203369140625, 0.111083984375, 0.1309814453125, 0.0943603515625, 0.1524658203125, 0.1685791015625, 0.03887939453125, 0.211669921875, 0.1326904296875, ...
embed
17869367_c0
17869367
fsharp
0
Title: Strange behavior defining implies operator in F# Problem title: Strange behavior defining implies operator in F# Tags: f%23 Problem: Strange behavior defining implies operator in F# I tried defining my own logical implies operator in F# as follows let (-->) p q = (not p) || q But when i actually try it out, it a...
Strange behavior defining implies operator in F# Strange behavior defining implies operator in F# f%23 System.DivideByZeroException Strange Attempted zero.at StartupCode$FSI_0015 FSI_0015.main Stopped Strange behavior defining implies operator in F# I tried defining my own logical implies operator in F# as follows But ...
[ 0.0036773681640625, 0.0164794921875, 0.036376953125, 0.009521484375, 0.014404296875, 0.0181884765625, 0.00933837890625, -0.0142822265625, -0.00994873046875, -0.01239013671875, 0.0089111328125, 0.0181884765625, 0.01055908203125, -0.01806640625, 0.01214599609375, 0.01123046875, 0.01721...
[ 187791, 123166, 13204, 35388, 90, 39933, 563, 4904, 23, 1238, 3742, 12353, 14055, 33193, 75358, 1511, 4036, 63928, 1913, 34224, 3674, 45234, 257, 153076, 114211, 919, 9902, 7049, 1837, 24931, 42284, 20051, 37842, 10002, 62775, 289, 28960, 206...
[ 0.2142333984375, 0.2113037109375, 0.158203125, 0.223388671875, 0.1011962890625, 0.253173828125, 0.15576171875, 0.2100830078125, 0.033172607421875, 0.0787353515625, 0.12646484375, 0.1195068359375, 0.050567626953125, 0.145751953125, 0.067626953125, 0.03704833984375, 0.11083984375, 0....
embed
16167288_c0
16167288
fsharp
0
Title: F# How do I access a member from a function Problem title: F# How do I access a member from a function Tags: member, function, f%23 Problem: F# How do I access a member from a function I'm pretty new to F# so I'm not quite sure what I'm doing wrong here here's what I'm trying to do: type MyClass() = let someVar ...
F# How do I access a member from a function F# How do I access a member from a function member function f%23 a How MyClass this.MyMember F# How do I access a member from a function I'm pretty new to F# so I'm not quite sure what I'm doing wrong here here's what I'm trying to do: I can't do that because Visual Studio te...
[ 0.0021209716796875, -0.00482177734375, 0.0211181640625, 0.003814697265625, 0.006134033203125, -0.00457763671875, 0.00457763671875, 0.01318359375, -0.0022430419921875, -0.06884765625, 0.018798828125, 0.0233154296875, 0.004180908203125, -0.00787353515625, 0.01519775390625, -0.03686523437...
[ 563, 4904, 11249, 54, 87, 17203, 10, 32786, 1295, 32354, 1238, 3949, 3742, 2646, 140803, 903, 31852, 594, 27417, 28875, 3525, 47, 20594, 44691, 3688, 31577, 831, 18, 73372, 22968, 14192, 100231, 56112, 61924, 5608, 132283, 162520, 60213, 20...
[ 0.1475830078125, 0.2265625, 0.076904296875, 0.05865478515625, 0.07952880859375, 0.2333984375, 0.0977783203125, 0.298828125, 0.203125, 0.2364501953125, 0.1063232421875, 0.008880615234375, 0.1385498046875, 0.1279296875, 0.210693359375, 0.153076171875, 0.1121826171875, 0.099365234375,...
embed
17515999_c0
17515999
fsharp
0
Title: option&lt;int&gt; vs int option Problem title: option&lt;int&gt; vs int option Tags: type-providers, f%23 Problem: option vs int option When I declare a member of type int option like this: type T = { X : int option } or like this: type T = { X : option<int> } when I hover on X the type tooltip says int option W...
option&lt;int&gt; vs int option option&lt;int&gt; vs int option type-providers f%23 Option MakeGenericType option vs int option When I declare a member of type int option like this: or like this: when I hover on X the type tooltip says int option When a erased propery is generated on a type provider, the tooltip says O...
[ 0.0086669921875, 0.0240478515625, 0.013916015625, -0.000904083251953125, -0.0034027099609375, -0.01214599609375, 0.009033203125, -0.012451171875, 0.006072998046875, 0.007568359375, -0.005767822265625, 0.005279541015625, 0.021484375, 0.01361083984375, 0.01025390625, 0.017578125, 0.006...
[ 35829, 1277, 4288, 5386, 20209, 23, 18, 10644, 93136, 14202, 3742, 86769, 26176, 135932, 12259, 196707, 159978, 32786, 1884, 739, 814, 1193, 55516, 30019, 17378, 1615, 5281, 27798, 53, 139392, 81450, 75935, 112, 3584, 420, 109585, 76978, 13, ...
[ 0.251220703125, 0.075439453125, 0.20166015625, 0.15478515625, 0.1400146484375, 0.1287841796875, 0.186279296875, 0.203125, 0.153076171875, 0.0845947265625, 0.002227783203125, 0.2509765625, 0.082275390625, 0.0989990234375, 0.038787841796875, 0.21826171875, 0.154052734375, 0.148681640...
embed
72954944_c0
72954944
fsharp
0
Title: How to loop through discriminated union cases and call thier member functions on them? Problem title: How to loop through discriminated union cases and call thier member functions on them? Tags: f%23 Problem: How to loop through discriminated union cases and call thier member functions on them? The goal is the l...
How to loop through discriminated union cases and call thier member functions on them? How to loop through discriminated union cases and call thier member functions on them? f%23 How Benz Honda this.description FSharpType.GetUnionCases Car How to loop through discriminated union cases and call thier member functions on...
[ 0.00994873046875, 0.00170135498046875, -0.0011749267578125, -0.00726318359375, -0.00732421875, -0.01446533203125, 0.0023345947265625, 0.0159912109375, 0.01409912109375, -0.02880859375, 0.01416015625, -0.0030670166015625, 0.0008087158203125, 0.012451171875, 0.012451171875, -0.0043334960...
[ 11249, 40956, 8305, 55970, 3674, 69941, 50218, 136, 11782, 32786, 32354, 47, 6117, 98, 1238, 3742, 90273, 33220, 903, 112, 59478, 93774, 3467, 254, 196707, 724, 126, 147547, 20370, 3980, 69236, 12638, 28852, 133353, 28412, 76811, 7225, 159029...
[ 0.076171875, 0.2052001953125, 0.1649169921875, 0.26708984375, 0.113037109375, 0.224365234375, 0.1778564453125, 0.030731201171875, 0.1431884765625, 0.1878662109375, 0.144775390625, 0.023773193359375, 0.0227508544921875, 0.05340576171875, 0.029205322265625, 0.037139892578125, 0.1582031...
embed
45758606_c0
45758606
fsharp
0
Title: Is there a way to store schema locally for F# SQL TypeProviders? Problem title: Is there a way to store schema locally for F# SQL TypeProviders? Tags: sql-server, sql, f%23, type-providers Problem: Is there a way to store schema locally for F# SQL TypeProviders? I'm making use of the FSharp.Data.SqlClient SQL ty...
Is there a way to store schema locally for F# SQL TypeProviders? Is there a way to store schema locally for F# SQL TypeProviders? sql-server sql f%23 type-providers SQL TypeProviders Is there a way to store schema locally for F# SQL TypeProviders? I'm making use of the FSharp.Data.SqlClient SQL type providers, and I wa...
[ 0.025634765625, 0.0272216796875, -0.00113677978515625, 0.0272216796875, -0.0206298828125, 0.00787353515625, -0.021484375, -0.021240234375, -0.0079345703125, -0.040283203125, 0.01031494140625, 0.005828857421875, 0.0169677734375, 0.00927734375, -0.0045166015625, 0.00213623046875, -0.01...
[ 2071, 2685, 10, 3917, 4343, 61903, 4000, 538, 100, 563, 4904, 80866, 60457, 177997, 14, 14202, 99247, 39642, 1238, 3742, 10644, 93136, 47, 4527, 93774, 3467, 254, 137989, 150, 81450, 63399, 821, 58627, 3320, 39456, 19048, 121413, 93002, 242...
[ 0.0200958251953125, 0.0202789306640625, 0.0295562744140625, 0.1065673828125, 0.1981201171875, 0.284423828125, 0.1614990234375, 0.114013671875, 0.0484619140625, 0.1153564453125, 0.1964111328125, 0.173095703125, 0.1837158203125, 0.1240234375, 0.0576171875, 0.0806884765625, 0.1303710937...
embed
33312260_c0
33312260
fsharp
0
Title: How can I select a random value from a list using F# Problem title: How can I select a random value from a list using F# Tags: f%23-interactive, f%23, random Problem: How can I select a random value from a list using F# I'm new to F# and I'm trying to figure out how to return a random string value from a list/ar...
How can I select a random value from a list using F# How can I select a random value from a list using F# f%23-interactive f%23 random a F# How win8FF40 win10Chrome45 win7IE11 System.Random rnd.Next combos.Length How can I select a random value from a list using F# I'm new to F# and I'm trying to figure out how to retu...
[ -0.0130615234375, 0.006591796875, 0.01373291015625, 0.0167236328125, -0.01416015625, -0.0029296875, -0.00213623046875, -0.01190185546875, -0.005340576171875, -0.01214599609375, 0.02490234375, 0.01611328125, -0.0078125, 0.00634765625, 0.0064697265625, -0.00092315673828125, -0.00058364...
[ 11249, 831, 87, 36849, 10, 96759, 34292, 1295, 5303, 17368, 563, 4904, 1238, 27495, 10433, 71232, 3742, 19916, 1019, 30110, 2839, 963, 7761, 4633, 1662, 12353, 126525, 3815, 2208, 81280, 375, 16091, 449, 927, 3525, 47, 31577, 26366, 3642, ...
[ 0.047882080078125, 0.0821533203125, 0.056915283203125, 0.193603515625, 0.013763427734375, 0.2071533203125, 0.1884765625, 0.1279296875, 0.20068359375, 0.0736083984375, 0.1690673828125, 0.211181640625, 0.07159423828125, 0.07708740234375, 0.04791259765625, 0.047119140625, 0.125854492187...
embed
8392612_c0
8392612
fsharp
0
Title: How to program FPGA using F# Problem title: How to program FPGA using F# Tags: fpga, parallel-processing, f%23 Problem: How to program FPGA using F# I usually use F# for writing numerical algorithms. Functional programming constructs in F# helps to express algorithms in a very natural way. I often end up with a ...
How to program FPGA using F# How to program FPGA using F# fpga parallel-processing f%23 F# How FPGA How to program FPGA using F# I usually use F# for writing numerical algorithms. Functional programming constructs in F# helps to express algorithms in a very natural way. I often end up with a succinct and understandable...
[ 0.0152587890625, -0.00347900390625, -0.01025390625, 0.01263427734375, -0.007568359375, 0.004608154296875, 0.0018157958984375, 0.00286865234375, -0.005615234375, -0.033203125, -0.0142822265625, -0.015869140625, 0.00604248046875, 0.0172119140625, 0.00897216796875, -0.0115966796875, 0.0...
[ 11249, 47, 1528, 51006, 14849, 17368, 563, 4904, 1238, 254, 208, 95103, 63923, 3949, 3742, 56104, 4527, 100, 32562, 54744, 234873, 28670, 10763, 56037, 64549, 23, 112397, 36510, 4552, 6083, 27983, 3564, 6333, 28219, 208124, 1543, 19048, 20650...
[ 0.1063232421875, 0.1087646484375, 0.2249755859375, 0.1641845703125, 0.2008056640625, 0.1158447265625, 0.150146484375, 0.24658203125, 0.08795166015625, 0.0487060546875, 0.09356689453125, 0.17138671875, 0.0765380859375, 0.03741455078125, 0.0992431640625, 0.048431396484375, 0.1040039062...
embed
47059375_c0
47059375
fsharp
0
Title: What would be the easiest way to get the runtime type with the generic arguments reset? Problem title: What would be the easiest way to get the runtime type with the generic arguments reset? Tags: reflection, f%23, .net Problem: What would be the easiest way to get the runtime type with the generic arguments res...
What would be the easiest way to get the runtime type with the generic arguments reset? What would be the easiest way to get the runtime type with the generic arguments reset? reflection f%23 .net What HashSet Dictionary t.Assembly.GetType t.Namespace t.Name Assembly Mono.Cecil Resolve What would be the easiest way to ...
[ -0.034423828125, 0.0206298828125, -0.002288818359375, 0.01470947265625, -0.012939453125, -0.00994873046875, -0.003814697265625, 0.006195068359375, -0.006500244140625, -0.026611328125, 0.000896453857421875, 0.004119873046875, -0.007171630859375, 0.02099609375, -0.00146484375, 0.00262451...
[ 2806, 1544, 525, 3917, 2046, 11675, 6032, 10644, 678, 189534, 10750, 168398, 28, 7, 44961, 1830, 1238, 3949, 3742, 1179, 162087, 294, 126, 147638, 89845, 38526, 196707, 65421, 163612, 151169, 77879, 49203, 13003, 86918, 183234, 15490, 37317, ...
[ 0.028350830078125, 0.1341552734375, 0.0582275390625, 0.04736328125, 0.092041015625, 0.136962890625, 0.14501953125, 0.2315673828125, 0.06884765625, 0.2120361328125, 0.197998046875, 0.249755859375, 0.0175018310546875, 0.0293426513671875, 0.2325439453125, 0.122314453125, 0.0317077636718...
embed
42816639_c1
42816639
fsharp
1
||) f type 'a Stack = Stack of 'a list let pop = function | Stack[] -> failwith "Empty Stack" | Stack(x::xs) -> x, Stack xs let push x (Stack xs) = Stack(x::xs) let apply2 f = pop >=> fun x -> pop >=> fun y -> push (f x y) But what bothers me is that the signature val mkFish : bind:('a -> 'b -> 'c) -> f:('d -> 'b) -> g...
||) f type 'a Stack = Stack of 'a list let pop = function | Stack[] -> failwith "Empty Stack" | Stack(x::xs) -> x, Stack xs let push x (Stack xs) = Stack(x::xs) let apply2 f = pop >=> fun x -> pop >=> fun y -> push (f x y) But what bothers me is that the signature val mkFish : bind:('a -> 'b -> 'c) -> f:('d -> 'b) -> g...
[ -0.01123046875, 0.00110626220703125, 0.0033721923828125, 0.0087890625, 0.00015544891357421875, 0.0198974609375, 0.0026702880859375, -0.01104736328125, 0.01953125, -0.00183868408203125, 0.0164794921875, -0.00946044921875, -0.00677490234375, -0.00994873046875, -0.00396728515625, -0.00811...
[ 1238, 10644, 242, 11, 6512, 2594, 2203, 111, 5303, 2633, 7426, 32354, 35782, 76228, 134332, 939, 425, 1022, 25944, 42378, 7, 59911, 304, 7477, 113, 420, 15044, 1314, 138256, 3502, 19201, 919, 4745, 68557, 275, 238, 71, 706, 30482, 110, ...
[ 0.1536865234375, 0.187744140625, 0.026580810546875, 0.1142578125, 0.1707763671875, 0.1646728515625, 0.041656494140625, 0.0909423828125, 0.15234375, 0.09686279296875, 0.172119140625, 0.1416015625, 0.1192626953125, 0.019073486328125, 0.0877685546875, 0.0865478515625, 0.0163116455078125...
embed
58783914_c0
58783914
fsharp
0
Title: Convert nested match expression to function Problem title: Convert nested match expression to function Tags: f%23, pattern-matching Problem: Convert nested match expression to function I have some nested Discriminated Unions type Job = Sniff | Guard type Dog = Chihuahua | GermanShepherd of Job Here's a function ...
Convert nested match expression to function Convert nested match expression to function f%23 pattern-matching Convert Job Sniff Guard Dog Chihuahua GermanShepherd Convert nested match expression to function I have some nested Discriminated Unions Here's a function that takes a Dog and returns a string . I can convert t...
[ -0.027099609375, -0.00171661376953125, 0.0147705078125, -0.00191497802734375, 0.00089263916015625, 0.00238037109375, -0.0234375, -0.01275634765625, 0.00823974609375, -0.0269775390625, -0.01177978515625, -0.00011920928955078125, -0.007415771484375, 0.00860595703125, 0.0201416015625, 0.0...
[ 1657, 11549, 8512, 71, 14858, 125195, 47, 32354, 1238, 3949, 3742, 103510, 98753, 32664, 93, 4902, 135440, 41129, 5585, 39608, 30839, 72859, 94266, 135421, 3674, 32528, 7, 51776, 30646, 79315, 831, 96760, 5117, 6002, 86531, 17932 ]
[ 0.0665283203125, 0.15380859375, 0.2476806640625, 0.13037109375, 0.257080078125, 0.2447509765625, 0.1011962890625, 0.277587890625, 0.0626220703125, 0.0772705078125, 0.147705078125, 0.1614990234375, 0.1927490234375, 0.13525390625, 0.123291015625, 0.1192626953125, 0.150634765625, 0.19...
embed
43991019_c0
43991019
fsharp
0
Title: F#: Type matching and active patterns Problem title: F#: Type matching and active patterns Tags: active-pattern, pattern-matching, f%23 Problem: F#: Type matching and active patterns Given the following: type IFruit = interface end type Avocado = { color : string; age : int } interface IFruit let (|AvocadoTextur...
F#: Type matching and active patterns F#: Type matching and active patterns active-pattern pattern-matching f%23 Type IFruit Avocado AvocadoTexture a.age String.Empty F#: Type matching and active patterns Given the following: ... Why does this work: ... but not this?
[ -0.005950927734375, 0.00543212890625, -0.012451171875, 0.020751953125, -0.0186767578125, 0.004302978515625, -0.0106201171875, 0.0341796875, 0.002044677734375, 0.01043701171875, 0.0245361328125, 0.01007080078125, -0.0211181640625, 0.0012359619140625, 0.011962890625, -0.01031494140625, ...
[ 563, 4904, 12, 60457, 14858, 214, 136, 36457, 103510, 4453, 22766, 98753, 1238, 3949, 3742, 73032, 84361, 38344, 174379, 3408, 10, 4588, 23351, 134332, 939, 70, 25632, 44084, 14602, 903, 4488, 153, 1284, 959 ]
[ 0.098388671875, 0.179931640625, 0.0205535888671875, 0.197021484375, 0.1866455078125, 0.07806396484375, 0.06793212890625, 0.158203125, 0.1800537109375, 0.11279296875, 0.06787109375, 0.193115234375, 0.08447265625, 0.008087158203125, 0.109619140625, 0.1719970703125, 0.1611328125, 0.16...
embed
28549924_c0
28549924
fsharp
0
Title: Sharing const variables across FAKE fsx scripts Problem title: Sharing const variables across FAKE fsx scripts Tags: f%23, f%23-fake Problem: Sharing const variables across FAKE fsx scripts Is there any way to share a variable by including a fsx script within another fsx script. e.g script buildConsts.fsx contai...
Sharing const variables across FAKE fsx scripts Sharing const variables across FAKE fsx scripts f%23 f%23-fake Sharing FAKE buildConsts.fsx Test Sharing const variables across FAKE fsx scripts Is there any way to share a variable by including a fsx script within another fsx script. e.g script buildConsts.fsx contains I...
[ 0.0147705078125, 0.033935546875, -0.02294921875, 0.00138092041015625, 0.016845703125, -0.01385498046875, 0.0186767578125, -0.00555419921875, 0.001251220703125, -0.0147705078125, -0.000835418701171875, 0.0244140625, 0.01446533203125, 0.034912109375, 0.0120849609375, 0.00738525390625, ...
[ 26520, 214, 158, 271, 77336, 36880, 563, 119960, 1238, 7, 425, 26499, 3742, 27495, 1021, 45367, 11935, 17447, 8647, 2499, 3917, 47, 12008, 26719, 28032, 15700, 70541, 91067, 81887, 11675, 70, 177149, 397, 481, 35782, 9969, 1340, 180663, 392...
[ 0.191650390625, 0.006072998046875, 0.121337890625, 0.1513671875, 0.254638671875, 0.132568359375, 0.1376953125, 0.2115478515625, 0.072509765625, 0.06640625, 0.178466796875, 0.216552734375, 0.044952392578125, 0.0313720703125, 0.150390625, 0.1629638671875, 0.1085205078125, 0.103942871...
embed
6832880_c0
6832880
fsharp
0
Title: C#: how to define an extension method as &quot;with&quot; in F#? Problem title: C#: how to define an extension method as &quot;with&quot; in F#? Tags: c%23, extension-methods, f%23, immutability, with-statement Problem: C#: how to define an extension method as "with" in F#? F# has a convenient feature "with", ex...
C#: how to define an extension method as &quot;with&quot; in F#? C#: how to define an extension method as &quot;with&quot; in F#? c%23 extension-methods f%23 immutability with-statement Product Name:string Price:int Name Test Price Test2 C#: how to define an extension method as "with" in F#? F# has a convenient feature...
[ 0.0026092529296875, 0.0244140625, 0.0036773681640625, -0.000286102294921875, -0.0174560546875, -0.00933837890625, -0.0240478515625, 0.00408935546875, 0.0059814453125, -0.010498046875, 0.008544921875, 0.03662109375, -0.008544921875, -0.003265380859375, 0.00159454345703125, 0.00994873046...
[ 313, 4904, 3642, 61924, 111938, 55300, 237, 76228, 1230, 23, 563, 142, 3742, 1928, 7352, 1238, 566, 14311, 41159, 678, 61340, 73111, 15757, 91693, 48025, 4288, 8647, 304, 1556, 142267, 60213, 75935, 166117, 17164, 52895, 114977, 561, 22819, ...
[ 0.05865478515625, 0.2191162109375, 0.05316162109375, 0.1937255859375, 0.258056640625, 0.2193603515625, 0.037933349609375, 0.267822265625, 0.0010986328125, 0.06884765625, 0.1513671875, 0.019439697265625, 0.055450439453125, 0.10406494140625, 0.1373291015625, 0.063232421875, 0.058349609...
embed
49744066_c0
49744066
fsharp
0
Title: F# List.map type error Problem title: F# List.map type error Tags: f%23 Problem: F# List.map type error For F# since I can't use if statements inside List.map, I tried to use a helper function. If all the values y, and z are bigger or less than the median it will return all the values y, z as either c1 or c2. Bu...
F# List.map type error F# List.map type error f%23 List.map F# List.map type error For F# since I can't use if statements inside List.map, I tried to use a helper function. If all the values y, and z are bigger or less than the median it will return all the values y, z as either c1 or c2. But I got type error in line 1...
[ 0.004425048828125, -0.006988525390625, -0.0050048828125, 0.0036163330078125, -0.0023193359375, -0.0072021484375, 0.00051116943359375, 0.01385498046875, 0.005340576171875, 0.019287109375, 0.005950927734375, -0.007110595703125, 0.001922607421875, -0.0185546875, 0.007598876953125, 0.01416...
[ 563, 4904, 32036, 62346, 10644, 18499, 1238, 3949, 3742, 831, 4527, 2174, 63805, 46132, 4358, 56, 32354, 756, 142424, 113, 97, 621, 167785, 40715, 3501, 2450, 19, 30646, 237, 501, 418, 5442, 13315, 427, 2633, 339, 2203, 7673, 100, 963, ...
[ 0.116455078125, 0.19189453125, 0.1956787109375, 0.180908203125, 0.212890625, 0.1846923828125, 0.10626220703125, 0.011810302734375, 0.1641845703125, 0.0279083251953125, 0.011962890625, 0.1209716796875, 0.1380615234375, 0.04718017578125, 0.1038818359375, 0.0751953125, 0.10003662109375,...
embed
33274611_c0
33274611
fsharp
0
Title: Is it possible to trace the current line in an F# script with FSI library Problem title: Is it possible to trace the current line in an F# script with FSI library Tags: read-eval-print-loop, fsi, f%23 Problem: Is it possible to trace the current line in an F# script with FSI library We are using FSharp compiler ...
Is it possible to trace the current line in an F# script with FSI library Is it possible to trace the current line in an F# script with FSI library read-eval-print-loop fsi f%23 FSI Is it possible to trace the current line in an F# script with FSI library We are using FSharp compiler service FSI evaluation session to e...
[ -0.0086669921875, 0.0004329681396484375, 0.0103759765625, 0.0185546875, 0.00013637542724609375, -0.01019287109375, 0.03369140625, 0.007415771484375, 0.007080078125, -0.0218505859375, -0.0068359375, 0.0263671875, -0.0091552734375, -0.006103515625, 0.0184326171875, 0.0011749267578125, ...
[ 2071, 442, 7722, 47, 144851, 43581, 13315, 563, 4904, 26499, 678, 9902, 35773, 1294, 23, 12301, 13, 1405, 35662, 28354, 1238, 172, 3949, 3742, 17368, 93774, 3467, 254, 9969, 34759, 4516, 219836, 56002, 71924, 114479, 18151, 40226, 527, 9, ...
[ 0.047882080078125, 0.036224365234375, 0.1859130859375, 0.0296630859375, 0.255615234375, 0.2154541015625, 0.166015625, 0.15478515625, 0.2115478515625, 0.2274169921875, 0.0887451171875, 0.21337890625, 0.1959228515625, 0.053924560546875, 0.030303955078125, 0.1209716796875, 0.04266357421...
embed