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
55838917_c0
55838917
fsharp
0
Title: F# Records with members vs Classes Problem title: F# Records with members vs Classes Tags: f%23 Problem: F# Records with members vs Classes In F# you can define records with member functions, and you can also create classes. type Album = { Id: int Name: string DateReleased: DateTime Genre: Genre } with member th...
F# Records with members vs Classes F# Records with members vs Classes f%23 Records Classes Album Name DateReleased DateTime Genre this.PrintMessage Hello this.Name World KPop first.PrintMessage me.PrintMessage F# Records with members vs Classes In F# you can define records with member functions, and you can also create...
[ 0.0004749298095703125, -0.000701904296875, 0.0228271484375, 0.00750732421875, -0.01336669921875, 0.01080322265625, -0.0157470703125, 0.0157470703125, -0.0042724609375, -0.0142822265625, -0.01422119140625, 0.006622314453125, 0.0284423828125, 0.015380859375, -0.00555419921875, -0.0110473...
[ 563, 4904, 89916, 678, 43032, 20209, 35014, 1238, 3949, 3742, 37340, 15757, 14507, 25512, 70059, 15937, 903, 112079, 594, 6011, 35378, 163612, 6661, 341, 127642, 5117, 163, 61924, 115923, 32786, 32354, 28282, 61112, 11814, 5809, 142267, 4527, ...
[ 0.15673828125, 0.2286376953125, 0.187744140625, 0.077880859375, 0.2215576171875, 0.135009765625, 0.2174072265625, 0.10736083984375, 0.07073974609375, 0.1744384765625, 0.08349609375, 0.019439697265625, 0.05389404296875, 0.002288818359375, 0.0675048828125, 0.119140625, 0.124267578125, ...
embed
70711988_c1
70711988
fsharp
1
on Parallel<'a, 'b> gives the following error: FS0193: Type constraint mismatch. The type 'Parallel<'a,'b> is not compatible with type 'Effect<'a>'. I would assume that in this case 'a would be inferred to be 'a * 'b but I guess that is not what's happening. Any help is appreciated. Thanks. EDIT to Mark's answer: So a...
on Parallel<'a, 'b> gives the following error: FS0193: Type constraint mismatch. The type 'Parallel<'a,'b> is not compatible with type 'Effect<'a>'. I would assume that in this case 'a would be inferred to be 'a * 'b but I guess that is not what's happening. Any help is appreciated. Thanks. EDIT to Mark's answer: So a...
[ -0.00921630859375, 0.0224609375, 0.002532958984375, 0.00015544891357421875, 0.000553131103515625, 0.00191497802734375, -0.005279541015625, -0.0147705078125, -0.00823974609375, -0.0284423828125, -0.00885009765625, 0.0137939453125, 0.008544921875, 0.0032196044921875, -0.0191650390625, -0...
[ 211485, 16093, 25, 11, 275, 76199, 25632, 18499, 93774, 6746, 11591, 60457, 158, 2816, 4288, 1239, 98753, 10644, 55292, 1229, 141, 959, 146731, 120482, 17928, 41591, 242, 53498, 186, 661, 123087, 4358, 31577, 7722, 55970, 3674, 69941, 1791, ...
[ 0.26611328125, 0.0069580078125, 0.0223541259765625, 0.10601806640625, 0.1456298828125, 0.00567626953125, 0.022247314453125, 0.153076171875, 0.1390380859375, 0.0943603515625, 0.23046875, 0.2216796875, 0.07366943359375, 0.1768798828125, 0.1007080078125, 0.111328125, 0.2374267578125, ...
embed
49584528_c0
49584528
fsharp
0
Title: 4.6.1 F# app throwing FileNotFoundException: FSharp.Core Problem title: 4.6.1 F# app throwing FileNotFoundException: FSharp.Core Tags: .net, f%23, nuget, visual-studio Problem: 4.6.1 F# app throwing FileNotFoundException: FSharp.Core I have a .NET4.6.1 project which, if I link to Nuget's FSharp.Core latest versi...
4.6.1 F# app throwing FileNotFoundException: FSharp.Core 4.6.1 F# app throwing FileNotFoundException: FSharp.Core .net f%23 nuget visual-studio FileNotFoundException FSharp.Core MyApp Debug FSharp.Core.dll 4.6.1 F# app throwing FileNotFoundException: FSharp.Core I have a .NET4.6.1 project which, if I link to Nuget's FS...
[ -0.0203857421875, 0.01544189453125, -0.01458740234375, -0.01263427734375, -0.0147705078125, -0.00177764892578125, 0.0035552978515625, -0.0038909912109375, -0.006317138671875, -0.0172119140625, 0.00799560546875, -0.01446533203125, -0.0108642578125, 0.01507568359375, 0.03369140625, -0.01...
[ 1398, 173245, 563, 4904, 4027, 104250, 42724, 122116, 27591, 7030, 19279, 63928, 93774, 3467, 254, 5, 50886, 1179, 1238, 3742, 315, 3794, 21176, 52629, 2646, 39179, 262, 85779, 71, 1181, 17777, 115459, 418, 13452, 2174, 3126, 47, 1429, 4285...
[ 0.06390380859375, 0.212646484375, 0.09393310546875, 0.1861572265625, 0.13330078125, 0.1417236328125, 0.1949462890625, 0.1209716796875, 0.1322021484375, 0.0958251953125, 0.057373046875, 0.128173828125, 0.133056640625, 0.2242431640625, 0.2210693359375, 0.06378173828125, 0.2188720703125...
embed
50131906_c1
50131906
fsharp
1
105, Microsoft.FSharp.Control.AsyncBuilderImpl, Microsoft.FSharp.Control.AsyncParams, End, System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw, Control, StartImmediate, System.Runtime.ExceptionServices.ExceptionDispatchInfo, Microsoft.FSharp.Control.CancellationTokenOps, StartWithContinuations, unitVar0, Contr...
105, Microsoft.FSharp.Control.AsyncBuilderImpl, Microsoft.FSharp.Control.AsyncParams, End, System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw, Control, StartImmediate, System.Runtime.ExceptionServices.ExceptionDispatchInfo, Microsoft.FSharp.Control.CancellationTokenOps, StartWithContinuations, unitVar0, Contr...
[ 0.00830078125, 0.015625, 0.00665283203125, -0.003936767578125, 0.000583648681640625, -0.00055694580078125, 0.00640869140625, 0.005523681640625, 0.0107421875, -0.01531982421875, -0.00421142578125, 0.025146484375, -0.00145721435546875, -0.0130615234375, 0.0189208984375, 0.00152587890625,...
[ 21213, 4, 7244, 5, 36381, 3467, 254, 175904, 284, 12654, 238, 121137, 56, 128878, 141, 28636, 18878, 12353, 163321, 6032, 63928, 121979, 4453, 93147, 15555, 27131, 13794, 12333, 54694, 34680, 7763, 1098, 39029, 194583, 100761, 25072, 81827, 2...
[ 0.290771484375, 0.08221435546875, 0.1295166015625, 0.0328369140625, 0.0687255859375, 0.201171875, 0.184326171875, 0.2152099609375, 0.029510498046875, 0.181396484375, 0.033935546875, 0.163330078125, 0.0390625, 0.1231689453125, 0.1396484375, 0.09130859375, 0.111572265625, 0.103576660...
embed
38981645_c1
38981645
fsharp
1
my external file as a convenience that lets me run the job locally with a debugger. So here is my setup: App.config <appSettings file="keys.config"> <add key="agentUserName" value="<Everyone can read this>" /> <add key="apiHost" value="<and this>" /> <add key="DocumentDB.Endpoint" value="<points to my remote develpmen...
my external file as a convenience that lets me run the job locally with a debugger. So here is my setup: App.config <appSettings file="keys.config"> <add key="agentUserName" value="<Everyone can read this>" /> <add key="apiHost" value="<and this>" /> <add key="DocumentDB.Endpoint" value="<points to my remote develpmen...
[ -0.006591796875, 0.01904296875, -0.00518798828125, -0.01531982421875, -0.0093994140625, 0.004486083984375, 0.003753662109375, -0.028564453125, 0.01092529296875, 0.01373291015625, -0.01708984375, 0.03466796875, -0.006866455078125, 0.00848388671875, 0.01300048828125, 0.00238037109375, ...
[ 759, 173591, 11435, 237, 50080, 6620, 2633, 163, 11675, 12447, 4000, 678, 8, 978, 21407, 1061, 3688, 83, 169581, 5659, 153837, 9007, 105548, 19770, 4028, 22799, 83963, 1062, 2189, 163612, 34292, 200647, 3630, 831, 12301, 903, 40897, 11193, ...
[ 0.0897216796875, 0.2158203125, 0.1964111328125, 0.110595703125, 0.1378173828125, 0.06365966796875, 0.04052734375, 0.00067138671875, 0.0623779296875, 0.1134033203125, 0.1536865234375, 0.0767822265625, 0.150146484375, 0.18212890625, 0.1514892578125, 0.00531005859375, 0.0703125, 0.031...
embed
4900451_c1
4900451
fsharp
1
17-1", whose code is shown below. The line number appearing in the stack trace is line 17. let rec bind k e = match e with | Completed r -> Running(fun () -> k r) | Running f -> Running(fun () -> f() |> bind k) // line 17 | Blocked(dt, f) -> Blocked(dt, fun () -> f() |> bind k) | BlockedNextFrame f -> BlockedNextFrame(...
17-1", whose code is shown below. The line number appearing in the stack trace is line 17. let rec bind k e = match e with | Completed r -> Running(fun () -> k r) | Running f -> Running(fun () -> f() |> bind k) // line 17 | Blocked(dt, f) -> Blocked(dt, fun () -> f() |> bind k) | BlockedNextFrame f -> BlockedNextFrame(...
[ -0.016845703125, 0.0179443359375, -0.00083160400390625, 0.006195068359375, 0.00421142578125, 0.0015106201171875, -0.0034637451171875, -0.00909423828125, 0.01141357421875, -0.0341796875, -0.00982666015625, -0.01068115234375, -0.0162353515625, 0.01446533203125, 0.00885009765625, -0.00054...
[ 729, 5759, 18151, 127887, 35064, 13315, 14012, 108975, 177261, 144851, 7076, 2633, 21954, 68557, 472, 28, 14858, 678, 168318, 71, 1690, 28398, 592, 16498, 1238, 80231, 13384, 7477, 81280, 108386, 42341, 19388, 444, 44691, 31635, 824, 6366, 28...
[ 0.2142333984375, 0.2069091796875, 0.1387939453125, 0.008087158203125, 0.02703857421875, 0.163330078125, 0.09906005859375, 0.10504150390625, 0.1856689453125, 0.2154541015625, 0.212158203125, 0.040740966796875, 0.123291015625, 0.231201171875, 0.1119384765625, 0.1256103515625, 0.1276855...
embed
9453452_c0
9453452
fsharp
0
Title: fsharp / dotnet and temporal database Problem title: fsharp / dotnet and temporal database Tags: f%23, temporal, temporal-database, computation-expression Problem: fsharp / dotnet and temporal database I am looking for a way to integrate as directly as possible a temporal awareness into my classes. I deal with d...
fsharp / dotnet and temporal database fsharp / dotnet and temporal database f%23 temporal temporal-database computation-expression Today CompanyFinder MSFT company.CEO fsharp / dotnet and temporal database I am looking for a way to integrate as directly as possible a temporal awareness into my classes. I deal with data...
[ 0.00701904296875, 0.010498046875, 0.000583648681640625, 0.0086669921875, -0.01055908203125, -0.01434326171875, 0.00028228759765625, 0.015625, 0.006988525390625, -0.0732421875, 0.00860595703125, 0.033935546875, -0.004730224609375, 0.01458740234375, -0.009521484375, 0.00799560546875, -...
[ 1238, 89280, 254, 248, 20633, 1179, 136, 58663, 63399, 3949, 3742, 10135, 37382, 181135, 204629, 38396, 33734, 204582, 56, 16265, 25217, 14380, 139062, 16487, 3917, 78779, 105237, 188926, 3934, 61112, 35142, 2053, 450, 15549, 1733, 5915, 12008,...
[ 0.09539794921875, 0.185302734375, 0.153076171875, 0.011260986328125, 0.0833740234375, 0.1693115234375, 0.0455322265625, 0.2802734375, 0.226318359375, 0.018951416015625, 0.09130859375, 0.067626953125, 0.1888427734375, 0.1353759765625, 0.162353515625, 0.11376953125, 0.0980224609375, ...
embed
16949801_c0
16949801
fsharp
0
Title: F# 2.0, Silverlight 5, and Excel interop Problem title: F# 2.0, Silverlight 5, and Excel interop Tags: f%23, excel-interop, com, silverlight-5.0, vsto Problem: F# 2.0, Silverlight 5, and Excel interop Trying to do this: let excel = AutomationFactory.CreateObject "Excel.Application" excel?Visible <- true excel?wo...
F# 2.0, Silverlight 5, and Excel interop F# 2.0, Silverlight 5, and Excel interop f%23 excel-interop com silverlight-5.0 vsto Silverlight Excel AutomationFactory.CreateObject Excel.Application Visible Add excel.GetType GetProperties BindingFlags.Public BindingFlags.NonPublic PropertyInfo silverlight-5.0 F# 2.0, Silverl...
[ 0.03173828125, 0.00165557861328125, 0.015869140625, 0.01019287109375, -0.0150146484375, 0.00037384033203125, -0.008544921875, 0.006500244140625, 0.01031494140625, 0.0145263671875, -0.01806640625, 0.005767822265625, -0.007720947265625, 0.01708984375, 0.00537109375, 0.0022125244140625, ...
[ 563, 4904, 16655, 57035, 20016, 190, 30326, 1940, 2146, 1238, 3742, 64152, 10433, 375, 115392, 187461, 81, 51719, 135518, 46471, 75161, 47677, 582, 55356, 29117, 196707, 20779, 10752, 1264, 1843, 33770, 3668, 179947, 59881, 206984, 93147, 40858...
[ 0.0660400390625, 0.1458740234375, 0.169677734375, 0.1693115234375, 0.216796875, 0.1270751953125, 0.173583984375, 0.1275634765625, 0.185302734375, 0.031646728515625, 0.080810546875, 0.1905517578125, 0.1240234375, 0.0225982666015625, 0.135009765625, 0.14794921875, 0.00177001953125, 0...
embed
35047736_c0
35047736
fsharp
0
Title: F#: Recursive Functions: test whether an element is a member of a given list Problem title: F#: Recursive Functions: test whether an element is a member of a given list Tags: f%23, list, recursion, boolean Problem: F#: Recursive Functions: test whether an element is a member of a given list I'm trying to figure ...
F#: Recursive Functions: test whether an element is a member of a given list F#: Recursive Functions: test whether an element is a member of a given list f%23 list recursion boolean Recursive Functions l:float a.Item a:float F#: Recursive Functions: test whether an element is a member of a given list I'm trying to figu...
[ -0.00811767578125, 0.006988525390625, 0.01446533203125, 0.006927490234375, 0.0033721923828125, 0.00531005859375, 0.00469970703125, 0.0037078857421875, -0.0029449462890625, -0.00079345703125, 0.0167236328125, -0.003326416015625, 0.00799560546875, 0.00457763671875, 0.00909423828125, -0.0...
[ 563, 4904, 853, 48650, 5844, 28670, 10763, 3034, 36766, 12830, 83, 32786, 111, 34475, 5303, 1238, 3949, 3742, 195625, 31, 34677, 96, 52347, 257, 10, 2982, 26366, 18151, 903, 153941, 32354, 109921, 10644, 3444, 3502, 4390, 11, 661, 142484, ...
[ 0.1270751953125, 0.1898193359375, 0.0833740234375, 0.1759033203125, 0.0931396484375, 0.1231689453125, 0.0670166015625, 0.2227783203125, 0.14111328125, 0.1854248046875, 0.06646728515625, 0.2181396484375, 0.1112060546875, 0.057525634765625, 0.1890869140625, 0.0797119140625, 0.022232055...
embed
16668106_c0
16668106
fsharp
0
Title: F# Pattern-matching by type Problem title: F# Pattern-matching by type Tags: f%23, pattern-matching Problem: F# Pattern-matching by type How pattern-matching by type of argument works in F#? For example I'm trying to write simple program which would calculate square root if number provided or return it's argumen...
F# Pattern-matching by type F# Pattern-matching by type f%23 pattern-matching type Pattern-matching System my_sqrt Enter Console.ReadLine FS0008 Runtime Further F# Pattern-matching by type How pattern-matching by type of argument works in F#? For example I'm trying to write simple program which would calculate square r...
[ -0.00738525390625, 0.015380859375, -0.0101318359375, 0.0019683837890625, 0.015625, -0.0140380859375, -0.01031494140625, 0.01025390625, -0.01263427734375, -0.01116943359375, 0.0145263671875, -0.0159912109375, -0.010498046875, -0.005706787109375, -0.0011749267578125, -0.00909423828125, ...
[ 563, 4904, 9876, 22766, 98753, 214, 390, 10644, 1238, 3742, 103510, 12353, 759, 864, 3198, 60816, 40777, 31345, 93232, 93774, 9508, 1019, 111, 10750, 43240, 31577, 33022, 8781, 1528, 74481, 108047, 74855, 2174, 14012, 62952, 30646, 120262, 90...
[ 0.137939453125, 0.1953125, 0.139404296875, 0.144287109375, 0.2216796875, 0.058349609375, 0.088623046875, 0.2149658203125, 0.04833984375, 0.0784912109375, 0.199462890625, 0.0654296875, 0.1119384765625, 0.1314697265625, 0.20751953125, 0.0833740234375, 0.0863037109375, 0.0859375, 0....
embed
13444389_c0
13444389
fsharp
0
Title: How do I distribute an F# Type Provider via NuGet? Problem title: How do I distribute an F# Type Provider via NuGet? Tags: nuget, type-providers, f%23 Problem: How do I distribute an F# Type Provider via NuGet? My F# type provider doesn't seem to be working unless all its dependencies are in the same folder. Thi...
How do I distribute an F# Type Provider via NuGet? How do I distribute an F# Type Provider via NuGet? nuget type-providers f%23 How Type Provider NuGet How do I distribute an F# Type Provider via NuGet? My F# type provider doesn't seem to be working unless all its dependencies are in the same folder. This doesn't work ...
[ 0.003509521484375, 0.00238037109375, -0.010498046875, -0.01361083984375, -0.0242919921875, 0.00457763671875, 0.006561279296875, -0.0101318359375, -0.01055908203125, -0.00119781494140625, 0.008056640625, -0.0101318359375, 0.00885009765625, 0.01055908203125, 0.00124359130859375, -0.00052...
[ 11249, 15917, 67, 563, 4904, 60457, 123089, 42, 1829, 1429, 724, 126, 54, 87, 142, 315, 3794, 10644, 93136, 14202, 1238, 3949, 3742, 81450, 48903, 20697, 117934, 756, 6863, 42548, 117538, 5701, 78303, 4488, 5299, 157666, 103608, 18499, 1884...
[ 0.076904296875, 0.20654296875, 0.06976318359375, 0.124755859375, 0.2174072265625, 0.2232666015625, 0.1900634765625, 0.108642578125, 0.1075439453125, 0.20458984375, 0.1607666015625, 0.1629638671875, 0.00457763671875, 0.00244140625, 0.00604248046875, 0.17041015625, 0.201171875, 0.211...
embed
53655643_c0
53655643
fsharp
0
Title: Parsing the arrow type with FParsec Problem title: Parsing the arrow type with FParsec Tags: fparsec, f%23, parsec Problem: Parsing the arrow type with FParsec I'm trying to parse the arrow type with FParsec. That is, this: Int -> Int -> Int -> Float -> Char For example. I tried with this code, but it only works...
Parsing the arrow type with FParsec Parsing the arrow type with FParsec fparsec f%23 parsec Parsing FParsec Float Char str_ws Type ArrowType pipe2 Parsing the arrow type with FParsec I'm trying to parse the arrow type with FParsec. That is, this: For example. I tried with this code, but it only works for one type of ar...
[ 0.0032501220703125, 0.00640869140625, -0.00057220458984375, 0.0303955078125, -0.0108642578125, 0.008544921875, -0.0076904296875, -0.0106201171875, -0.00830078125, -0.005706787109375, 0.013427734375, -0.000713348388671875, -0.00286865234375, 0.00811767578125, 0.00347900390625, 0.0016403...
[ 2392, 6953, 118201, 10644, 678, 563, 28636, 39797, 1238, 2500, 3949, 3742, 366, 38699, 21656, 7704, 19725, 60457, 1172, 15555, 196707, 137158, 304, 31577, 184, 1326, 27781, 37842, 903, 18151, 4734, 43240, 100, 1632, 360, 18, 33079, 1286, 34...
[ 0.1456298828125, 0.04754638671875, 0.237548828125, 0.17431640625, 0.037811279296875, 0.1258544921875, 0.1722412109375, 0.212158203125, 0.0841064453125, 0.1500244140625, 0.0165252685546875, 0.10382080078125, 0.1424560546875, 0.1177978515625, 0.080078125, 0.02386474609375, 0.0486145019...
embed
56386708_c0
56386708
fsharp
0
Title: How can I define overloaded operators with operands whose type definitions I do not control in F#? Problem title: How can I define overloaded operators with operands whose type definitions I do not control in F#? Tags: f%23 Problem: How can I define overloaded operators with operands whose type definitions I do ...
How can I define overloaded operators with operands whose type definitions I do not control in F#? How can I define overloaded operators with operands whose type definitions I do not control in F#? f%23 How Error FS0043 None How can I define overloaded operators with operands whose type definitions I do not control in ...
[ 0.0262451171875, 0.0172119140625, 0.00823974609375, 0.0186767578125, -0.0068359375, -0.0140380859375, -0.01312255859375, -0.0093994140625, -0.000148773193359375, -0.0042724609375, -0.028076171875, -0.0291748046875, 0.0152587890625, -0.0002956390380859375, 0.008056640625, -0.00741577148...
[ 61924, 645, 63033, 297, 39933, 7, 678, 6264, 2208, 124901, 10644, 80934, 54, 959, 6226, 563, 4904, 831, 87, 1238, 3742, 11249, 212059, 93774, 135401, 363, 438, 765, 138, 52895, 62, 335, 313, 32964, 136, 81273, 2811, 40383, 18151, 60457, ...
[ 0.1717529296875, 0.1351318359375, 0.2021484375, 0.0723876953125, 0.2161865234375, 0.053741455078125, 0.08447265625, 0.153076171875, 0.1131591796875, 0.0347900390625, 0.167724609375, 0.1424560546875, 0.092041015625, 0.126708984375, 0.1822509765625, 0.07196044921875, 0.158203125, 0.0...
embed
71913674_c1
71913674
fsharp
1
0000","quoteVolume":"5977.33041290","openTime":1650281947747,"closeTime":1650368347747,"firstId":335177449,"lastId":335313233,"count":135785} This works as intended, but of course I want to work with the result. So I tried to deserialize it with the JsonProvider: type Simple = JsonProvider<result> Which for some reason...
0000","quoteVolume":"5977.33041290","openTime":1650281947747,"closeTime":1650368347747,"firstId":335177449,"lastId":335313233,"count":135785} This works as intended, but of course I want to work with the result. So I tried to deserialize it with the JsonProvider: type Simple = JsonProvider<result> Which for some reason...
[ 0.004669189453125, 0.03125, -0.0166015625, 0.01043701171875, -0.00860595703125, 0.00032806396484375, -0.00433349609375, 0.012939453125, 0.02294921875, -0.00421142578125, 0.0174560546875, -0.004241943359375, 0.007110595703125, -0.002655029296875, 0.008544921875, 0.008056640625, -0.000...
[ 28568, 68726, 59636, 70059, 139091, 155648, 155103, 71013, 43240, 237, 179140, 1284, 3444, 4488, 678, 16750, 37842, 224, 25435, 119066, 821, 1681, 177997, 62160, 10644, 60552, 2203, 2109, 7136, 22027, 18, 18499, 157176, 82084, 18770, 707, 34292...
[ 0.1014404296875, 0.0259857177734375, 0.0184326171875, 0.07415771484375, 0.040618896484375, 0.02239990234375, 0.0020751953125, 0.06756591796875, 0.091796875, 0.037200927734375, 0.0870361328125, 0.00189208984375, 0.01910400390625, 0.0880126953125, 0.006378173828125, 0.078369140625, 0.0...
embed
57202561_c0
57202561
fsharp
0
Title: Convert a method call or assignment to a function in F# Problem title: Convert a method call or assignment to a function in F# Tags: f%23 Problem: Convert a method call or assignment to a function in F# I would like to use some object-oriented code in a more functional way. My current approach has been the follo...
Convert a method call or assignment to a function in F# Convert a method call or assignment to a function in F# f%23 Convert Control parent.Controls.Add control.Dock DockStyle.Fill ResumeLayout Dock Convert a method call or assignment to a function in F# I would like to use some object-oriented code in a more functiona...
[ -0.0003204345703125, 0.0030059814453125, 0.0048828125, 0.0011138916015625, 0.008544921875, -0.005523681640625, -0.00830078125, -0.00112152099609375, -0.0019989013671875, -0.01312255859375, 0.008544921875, -0.000934600830078125, -0.00897216796875, 0.024658203125, 0.000934600830078125, -...
[ 1657, 11549, 55300, 11782, 707, 95486, 674, 47, 10, 32354, 23, 563, 4904, 1238, 3742, 27131, 49129, 175904, 4028, 6226, 8331, 2594, 161824, 209480, 5713, 15537, 53, 6056, 2806, 1884, 4527, 36746, 49133, 18151, 1286, 123309, 43581, 51515, 28...
[ 0.055206298828125, 0.1732177734375, 0.2265625, 0.2183837890625, 0.073974609375, 0.212158203125, 0.08447265625, 0.107421875, 0.0828857421875, 0.253173828125, 0.061065673828125, 0.128662109375, 0.2314453125, 0.03521728515625, 0.1429443359375, 0.1875, 0.1339111328125, 0.1671142578125,...
embed
29687588_c0
29687588
fsharp
0
Title: Can all submodules of a given module be opened in a single statement in F#? Problem title: Can all submodules of a given module be opened in a single statement in F#? Tags: f%23, module Problem: Can all submodules of a given module be opened in a single statement in F#? I have something like this at some part in...
Can all submodules of a given module be opened in a single statement in F#? Can all submodules of a given module be opened in a single statement in F#? f%23 module Can ModuleX ModuleX.Submodule1 ModuleX.Submodule2 ModuleX.Submodule3 ModuleX.Submodule4 ModuleX.Submodule5 ModuleX.Submodule6 Can all submodules of a given ...
[ -0.00762939453125, -0.0026397705078125, -0.0027008056640625, 0.005950927734375, -0.005096435546875, -0.01470947265625, -0.00157928466796875, -0.024169921875, 0.004119873046875, -0.0028839111328125, -0.00555419921875, -0.01251220703125, 0.0186767578125, 0.00982666015625, 0.002853393554687...
[ 4171, 756, 1614, 83279, 90, 34475, 88996, 186, 142096, 23, 11001, 63805, 563, 4904, 1238, 3949, 3742, 63014, 13, 1542, 96472, 418, 304, 363, 617, 758, 910, 4027, 3917, 42856, 130481, 7225, 1556, 1438, 124519, 73432, 5809, 36356, 12921, 10...
[ 0.0994873046875, 0.1236572265625, 0.228271484375, 0.2083740234375, 0.0745849609375, 0.07177734375, 0.222900390625, 0.02276611328125, 0.20166015625, 0.058013916015625, 0.178466796875, 0.2249755859375, 0.15185546875, 0.2235107421875, 0.0665283203125, 0.0052490234375, 0.1241455078125, ...
embed
41946555_c0
41946555
fsharp
0
Title: Can FsXaml be used in an F# interpreted script? Problem title: Can FsXaml be used in an F# interpreted script? Tags: xaml, fsxaml, f%23 Problem: Can FsXaml be used in an F# interpreted script? I just converted one of the FsXaml demo programs to an interpreted F# script so I could experiment with it and learn. It...
Can FsXaml be used in an F# interpreted script? Can FsXaml be used in an F# interpreted script? xaml fsxaml f%23 Can FsXaml Can FsXaml be used in an F# interpreted script? I just converted one of the FsXaml demo programs to an interpreted F# script so I could experiment with it and learn. It wouldn't run, and the inter...
[ 0.01025390625, 0.0098876953125, 0.0106201171875, 0.0201416015625, -0.0048828125, -0.00439453125, 0.0277099609375, 0.0011444091796875, -0.002471923828125, -0.0223388671875, 0.0000762939453125, 0.004608154296875, 0.004302978515625, -0.01171875, 0.00506591796875, 0.0032501220703125, 0.0...
[ 4171, 563, 7, 1542, 302, 141, 11814, 23, 4904, 29481, 297, 26499, 142, 2459, 7237, 1238, 3798, 3949, 3742, 186, 117176, 53397, 103391, 5809, 28007, 30698, 68746, 18, 11675, 56, 163, 25632, 18499, 26008, 87, 4527, 678, 4358 ]
[ 0.1185302734375, 0.1353759765625, 0.1053466796875, 0.1072998046875, 0.167236328125, 0.1590576171875, 0.1363525390625, 0.08367919921875, 0.19189453125, 0.1912841796875, 0.06231689453125, 0.1881103515625, 0.00823974609375, 0.103759765625, 0.174560546875, 0.0963134765625, 0.076782226562...
embed
8170393_c0
8170393
fsharp
0
Title: F# match with for matrix Problem title: F# match with for matrix Tags: pattern-matching, f%23, matrix Problem: F# match with for matrix I would like to use a "match with" function to compare two matrix. I think I don't understand something about this function. Let's take a trivial example. Consider 2 simple matr...
F# match with for matrix F# match with for matrix pattern-matching f%23 matrix a.NumCols F# match with for matrix I would like to use a "match with" function to compare two matrix. I think I don't understand something about this function. Let's take a trivial example. Consider 2 simple matrix: Now I would like to copy ...
[ -0.00142669677734375, 0.00775146484375, 0.0054931640625, 0.006622314453125, 0.00726318359375, -0.0235595703125, -0.007110595703125, 0.006317138671875, 0.027587890625, 0.026611328125, 0.0145263671875, 0.01904296875, 0.00299072265625, -0.0242919921875, -0.0211181640625, -0.03173828125, ...
[ 563, 4904, 14858, 678, 100, 50944, 425, 103510, 98753, 1238, 3949, 3742, 10, 316, 78457, 7, 1884, 4527, 32354, 47, 69101, 6626, 28219, 27781, 116, 8781, 43658, 17932, 3365, 11, 275, 25632, 18151, 18499, 188800, 93774, 7049, 963, 241957, 2...
[ 0.1292724609375, 0.207275390625, 0.187255859375, 0.26806640625, 0.1815185546875, 0.1629638671875, 0.0733642578125, 0.128662109375, 0.21240234375, 0.109130859375, 0.011566162109375, 0.139892578125, 0.06854248046875, 0.052459716796875, 0.10693359375, 0.000518798828125, 0.03213500976562...
embed
10930760_c0
10930760
fsharp
0
Title: Storing multidimensional points in F# Problem title: Storing multidimensional points in F# Tags: f%23 Problem: Storing multidimensional points in F# I am currently porting some code from Java to F# that deals with multidimensional functions. It supports variable dimension, so in the original implementation each ...
Storing multidimensional points in F# Storing multidimensional points in F# f%23 Storing Storing multidimensional points in F# I am currently porting some code from Java to F# that deals with multidimensional functions. It supports variable dimension, so in the original implementation each point is represented as an ar...
[ 0.0240478515625, -0.006256103515625, -0.01409912109375, 0.006134033203125, -0.0018768310546875, -0.0150146484375, 0.0035552978515625, -0.0045166015625, 0.0216064453125, -0.00823974609375, -0.0126953125, -0.006622314453125, -0.0225830078125, 0.0000553131103515625, -0.0169677734375, 0.01...
[ 23604, 6024, 157955, 26847, 563, 4904, 1238, 3949, 3742, 23, 196, 18151, 1295, 41925, 47, 32354, 8060, 77336, 91403, 7311, 208124, 12638, 6275, 33636, 237, 10298, 111, 41929, 7, 130306, 15572, 15032, 124374, 450, 139392, 944, 55738, 151575, ...
[ 0.2071533203125, 0.1754150390625, 0.235595703125, 0.1859130859375, 0.1512451171875, 0.2296142578125, 0.06365966796875, 0.00537109375, 0.1102294921875, 0.0277099609375, 0.039215087890625, 0.1619873046875, 0.0151214599609375, 0.16455078125, 0.05767822265625, 0.1395263671875, 0.06909179...
embed
42616631_c0
42616631
fsharp
0
Title: F# - How to make a copy of elements in a list? Problem title: F# - How to make a copy of elements in a list? Tags: list, f%23 Problem: F# - How to make a copy of elements in a list? I wish to write something that can make copies of all the elements in a list. So if I wanted 2 of list [1; 2; 3; 4] it would become...
F# - How to make a copy of elements in a list? F# - How to make a copy of elements in a list? list f%23 How hd::tl Count F# - How to make a copy of elements in a list? I wish to write something that can make copies of all the elements in a list. So if I wanted 2 of list it would become So I was planning on writing a fu...
[ -0.00848388671875, 0.005401611328125, -0.00933837890625, 0.0123291015625, -0.00830078125, -0.004913330078125, -0.00482177734375, -0.005035400390625, 0.0108642578125, -0.021240234375, -0.013427734375, -0.0380859375, 0.0311279296875, 0.02978515625, 0.005950927734375, -0.0152587890625, ...
[ 563, 4904, 11249, 47, 3249, 10, 43658, 111, 80854, 23, 5303, 1238, 3949, 3742, 26488, 18, 141, 108210, 32599, 33022, 9844, 831, 71200, 756, 36663, 116, 24209, 58136, 32562, 32354, 195625, 54529, 14012, 3444, 5646, 12638, 10336, 12830, 25379...
[ 0.0933837890625, 0.152587890625, 0.0634765625, 0.037078857421875, 0.12451171875, 0.07562255859375, 0.2418212890625, 0.08642578125, 0.1744384765625, 0.05377197265625, 0.183837890625, 0.055694580078125, 0.02197265625, 0.10272216796875, 0.1072998046875, 0.01373291015625, 0.0813598632812...
embed
4483154_c0
4483154
fsharp
0
Title: F# polymorphic types Problem title: F# polymorphic types Tags: f%23, type-inference, polymorphism Problem: F# polymorphic types The following works fine, as one would expect in a Curry style polymorphic type system where e.g. the identity function is actually an infinite family of functions, one for each type 'a...
F# polymorphic types F# polymorphic types f%23 type-inference polymorphism F# polymorphic types The following works fine, as one would expect in a Curry style polymorphic type system where e.g. the identity function is actually an infinite family of functions, one for each type 'a -> 'a: But when we try to do something...
[ 0.01153564453125, -0.0064697265625, 0.0220947265625, 0.00128173828125, 0.01513671875, 0.01446533203125, 0.015869140625, -0.0023040771484375, 0.007537841796875, -0.009765625, 0.0101318359375, -0.0189208984375, 0.00081634521484375, -0.009033203125, 0.00193023681640625, 0.0010833740234375...
[ 563, 4904, 35874, 178851, 52895, 3742, 10644, 73, 69988, 25632, 43240, 5885, 41206, 17065, 1294, 20623, 5426, 182324, 32354, 54241, 14449, 1632, 12638, 11, 33079, 9790, 10176, 27140, 35782, 50960, 13315, 100231, 125195, 509, 84751, 23, 18, 12...
[ 0.054443359375, 0.10107421875, 0.126953125, 0.1522216796875, 0.1417236328125, 0.0665283203125, 0.23681640625, 0.0035400390625, 0.13037109375, 0.033966064453125, 0.06689453125, 0.03924560546875, 0.06951904296875, 0.11181640625, 0.179931640625, 0.1556396484375, 0.1212158203125, 0.198...
embed
19905669_c0
19905669
fsharp
0
Title: F#: Casting to generic type Problem title: F#: Casting to generic type Tags: generics, casting, f%23 Problem: F#: Casting to generic type I'm fairly new to F# and coming from a C++ background. I am trying to write a simple vector class which can be of generic type (int, float, etc) but I run into trouble with th...
F#: Casting to generic type F#: Casting to generic type generics casting f%23 Casting Vector3D this.x this.y this.z F#: Casting to generic type I'm fairly new to F# and coming from a C++ background. I am trying to write a simple vector class which can be of generic type (int, float, etc) but I run into trouble with the...
[ -0.00445556640625, 0.026611328125, -0.004791259765625, -0.01007080078125, -0.002166748046875, -0.0201416015625, -0.004913330078125, -0.00021076202392578125, -0.0035247802734375, 0.00982666015625, -0.006866455078125, -0.0301513671875, -0.00116729736328125, 0.004638671875, -0.03369140625, ...
[ 563, 4904, 32301, 214, 47, 189534, 10644, 176050, 1238, 3949, 3742, 2609, 18770, 363, 397, 903, 425, 53, 169, 180663, 3525, 37223, 76615, 31577, 33022, 8781, 173, 18507, 831, 111, 4288, 21917, 257, 11675, 63134, 114977, 64549, 748, 3444, ...
[ 0.10272216796875, 0.1922607421875, 0.1756591796875, 0.0751953125, 0.115966796875, 0.2491455078125, 0.1953125, 0.1552734375, 0.033721923828125, 0.0203399658203125, 0.076416015625, 0.1485595703125, 0.151611328125, 0.09912109375, 0.0909423828125, 0.0811767578125, 0.03216552734375, 0.0...
embed
32928957_c0
32928957
fsharp
0
Title: Why are multiple branches of a match expressions evaluated? Problem title: Why are multiple branches of a match expressions evaluated? Tags: f%23, f%23-3.0 Problem: Why are multiple branches of a match expressions evaluated? I am using a match expression and getting a much different result than I expected. In my...
Why are multiple branches of a match expressions evaluated? Why are multiple branches of a match expressions evaluated? f%23 f%23-3.0 Why wi.State Done wi.Close workItemCollection.Cast WorkItem Seq.iter wi.Open Removed Closing wi.Id wi.History Closed Iccm Tfs wi.Save Why are multiple branches of a match expressions eva...
[ -0.020263671875, 0.00616455078125, -0.0035400390625, -0.01226806640625, -0.01123046875, -0.0181884765625, 0.0016326904296875, -0.01287841796875, 0.01953125, 0.01177978515625, 0.015869140625, -0.0002593994140625, 0.0196533203125, 0.01239013671875, 0.01953125, -0.01214599609375, 0.0351...
[ 44084, 48716, 90356, 7, 14858, 125195, 151575, 297, 1238, 3742, 27495, 132265, 30629, 135206, 984, 86, 441, 59453, 4488, 2982, 133, 174830, 27985, 16840, 103264, 181139, 51053, 86385, 153335, 39, 17447, 5464, 272, 621, 17368, 5045, 12921, 167...
[ 0.1180419921875, 0.2120361328125, 0.22265625, 0.0869140625, 0.23291015625, 0.2244873046875, 0.1744384765625, 0.07861328125, 0.0196533203125, 0.0653076171875, 0.0711669921875, 0.145263671875, 0.1866455078125, 0.156494140625, 0.07958984375, 0.090087890625, 0.07177734375, 0.1605224609...
embed
74065020_c1
74065020
fsharp
1
} ], "configProperties": { "System.Reflection.Metadata.MetadataUpdater.IsSupported": false } } } running using dotnet fsi test.fsx also tried it with sta thread attribute [<STAThread>] do Application.EnableVisualStyles() Application.SetCompatibleTextRenderingDefault(false) use form = new MainGuiForm() Application.Run(...
} ], "configProperties": { "System.Reflection.Metadata.MetadataUpdater.IsSupported": false } } } running using dotnet fsi test.fsx also tried it with sta thread attribute [<STAThread>] do Application.EnableVisualStyles() Application.SetCompatibleTextRenderingDefault(false) use form = new MainGuiForm() Application.Run(...
[ -0.001007080078125, 0.0135498046875, -0.0107421875, 0.004425048828125, -0.009765625, -0.000896453857421875, 0.030029296875, -0.0030364990234375, -0.006866455078125, -0.0263671875, 0.007781982421875, 0.00531005859375, -0.0263671875, 0.0157470703125, 0.0147705078125, 0.001922607421875, ...
[ 51912, 153837, 1264, 2449, 84293, 190015, 133, 10763, 6696, 8656, 102, 152872, 42, 29598, 2037, 6982, 297, 98320, 51042, 17368, 20633, 1179, 1238, 172, 3034, 5, 17447, 425, 37842, 442, 678, 1924, 86997, 150380, 176523, 127, 39116, 268, 1049...
[ 0.05194091796875, 0.18603515625, 0.08697509765625, 0.041534423828125, 0.0810546875, 0.18798828125, 0.1763916015625, 0.064208984375, 0.04827880859375, 0.06494140625, 0.10400390625, 0.1798095703125, 0.08740234375, 0.0389404296875, 0.0985107421875, 0.1591796875, 0.0950927734375, 0.110...
embed
29675087_c0
29675087
fsharp
0
Title: Serializing F# Option types Problem title: Serializing F# Option types Tags: json.net, f%23 Problem: Serializing F# Option types Consider the F# fragment below: type MyType = { CrucialProperty: int OptionalProperty: string option } let first = { CrucialProperty = 500; OptionalProperty = Some("Hello")} let second...
Serializing F# Option types Serializing F# Option types json.net f%23 Serializing Option MyType CrucialProperty OptionalProperty Some Hello None json.net Serializing F# Option types Consider the F# fragment below: I wish to do serialize this type using JSON.NET so I get the following strings respectively for the cases ...
[ 0.0025634765625, 0.01446533203125, 0.017578125, -0.006134033203125, -0.0250244140625, -0.021240234375, -0.0047607421875, 0.005157470703125, -0.01507568359375, 0.0322265625, 0.005279541015625, 0.037841796875, 0.000698089599609375, 0.000553131103515625, 0.007354736328125, 0.0341796875, ...
[ 135188, 84382, 563, 4904, 86769, 52895, 1647, 1681, 1179, 1238, 3949, 3742, 2646, 196707, 41649, 26136, 1264, 289, 31384, 35378, 438, 137399, 38551, 35064, 32599, 35686, 20650, 903, 10644, 821, 58627, 17777, 2046, 25632, 79315, 107013, 50218, ...
[ 0.2178955078125, 0.0855712890625, 0.1448974609375, 0.2249755859375, 0.262939453125, 0.1932373046875, 0.10595703125, 0.1453857421875, 0.11181640625, 0.10430908203125, 0.002655029296875, 0.1080322265625, 0.10357666015625, 0.212890625, 0.057861328125, 0.06707763671875, 0.0863037109375, ...
embed
55447837_c0
55447837
fsharp
0
Title: Is it possible to get the type signature of an F# function at runtime? Problem title: Is it possible to get the type signature of an F# function at runtime? Tags: signature, f%23, types, quotations Problem: Is it possible to get the type signature of an F# function at runtime? Let's say I define an F# function a...
Is it possible to get the type signature of an F# function at runtime? Is it possible to get the type signature of an F# function at runtime? signature f%23 types quotations GetType Lambda arg00 TupleGet arg01 Call None Is it possible to get the type signature of an F# function at runtime? Let's say I define an F# func...
[ 0.01708984375, 0.0245361328125, -0.003204345703125, 0.01165771484375, -0.015380859375, 0.00848388671875, -0.005340576171875, 0.003997802734375, -0.018798828125, -0.024169921875, 0.000698089599609375, 0.0040283203125, -0.029052734375, -0.004486083984375, -0.00154876708984375, 0.02832031...
[ 2071, 442, 7722, 2046, 70, 10644, 138256, 111, 563, 4904, 32354, 99, 11675, 6032, 47, 1238, 3949, 3742, 52895, 81732, 20779, 196707, 122930, 85, 79459, 7049, 8705, 724, 126, 6746, 26265, 438, 61924, 739, 814, 645, 420, 21392, 73372, 22968...
[ 0.053924560546875, 0.046630859375, 0.180419921875, 0.1195068359375, 0.08062744140625, 0.27587890625, 0.282470703125, 0.01177978515625, 0.1455078125, 0.2435302734375, 0.212890625, 0.104736328125, 0.157958984375, 0.1990966796875, 0.0278778076171875, 0.09613037109375, 0.0318603515625, ...
embed
31990835_c0
31990835
fsharp
0
Title: How do I return a specific type of tuple in F#? Problem title: How do I return a specific type of tuple in F#? Tags: f%23 Problem: How do I return a specific type of tuple in F#? This is the code that I am working on: // RopResult type RopResult<'TSuccess, 'TMessage> = | Success of 'TSuccess * 'TMessage list | F...
How do I return a specific type of tuple in F#? How do I return a specific type of tuple in F#? f%23 How RopResult TSuccess TMessage Success Failure ResultForClient TSuccessObj TMessages Seq.ofList Object How do I return a specific type of tuple in F#? This is the code that I am working on: The resultToClient function ...
[ -0.002197265625, 0.003875732421875, -0.0033111572265625, 0.0118408203125, 0.00103759765625, -0.02099609375, -0.01434326171875, -0.01214599609375, 0.0155029296875, 0.021728515625, 0.004241943359375, 0.00110626220703125, -0.0027618408203125, 0.0177001953125, -0.006988525390625, 0.0003108...
[ 11249, 30646, 29458, 10644, 370, 8705, 563, 4904, 23, 1238, 3742, 2777, 254, 4332, 7, 7136, 18190, 26531, 6011, 144053, 190355, 126684, 18537, 150, 2517, 170, 4390, 154663, 134549, 87, 111, 70, 18151, 20697, 16750, 7763, 441, 32354, 135179,...
[ 0.07379150390625, 0.2303466796875, 0.2130126953125, 0.1871337890625, 0.1439208984375, 0.2265625, 0.135009765625, 0.20068359375, 0.05657958984375, 0.067626953125, 0.08587646484375, 0.120361328125, 0.0908203125, 0.0985107421875, 0.1279296875, 0.1614990234375, 0.08099365234375, 0.0922...
embed
19648678_c0
19648678
fsharp
0
Title: F# output a list to a file Problem title: F# output a list to a file Tags: file, io, list, f%23 Problem: F# output a list to a file I am a student learning F# and at the moment am attempting to output a list to a file created from analysis through a clustering algorithm. I think I am close but I am getting the e...
F# output a list to a file F# output a list to a file file io list f%23 System.IO.File.CreateText List.iter Users Jessica Desktop CTU Stuff Dissertation Programs Fsharp DensityClustering Test.csv F# output a list to a file I am a student learning F# and at the moment am attempting to output a list to a file created fro...
[ 0.006866455078125, -0.005950927734375, 0.030517578125, 0.010498046875, -0.006927490234375, 0.0201416015625, -0.01031494140625, -0.009765625, -0.01324462890625, 0.0286865234375, 0.0033111572265625, 0.0026702880859375, 0.0093994140625, 0.000591278076171875, 0.00153350830078125, -0.010498...
[ 563, 4904, 140992, 5303, 47, 11435, 22995, 1238, 3742, 12353, 17780, 5, 174350, 63784, 174379, 32036, 16840, 53400, 90480, 141423, 19454, 21493, 7663, 89280, 254, 1575, 19981, 4209, 8647, 334, 10, 9836, 52080, 81887, 75935, 114137, 234737, 21...
[ 0.1429443359375, 0.2047119140625, 0.190185546875, 0.2222900390625, 0.13134765625, 0.1966552734375, 0.1397705078125, 0.0301055908203125, 0.09228515625, 0.00958251953125, 0.1275634765625, 0.01043701171875, 0.0838623046875, 0.004119873046875, 0.08782958984375, 0.16357421875, 0.080810546...
embed
22009754_c0
22009754
fsharp
0
Title: Is it possible to create COM object with Haskell and use another COM object there? Problem title: Is it possible to create COM object with Haskell and use another COM object there? Tags: haskell, f%23, com, activator Problem: Is it possible to create COM object with Haskell and use another COM object there? For ...
Is it possible to create COM object with Haskell and use another COM object there? Is it possible to create COM object with Haskell and use another COM object there? haskell f%23 com activator COM Haskell Activator.CreateInstance Type.GetTypeFromProgID ISerialPort SerialPort.1 IHaskell Haskell.1 h.getData Is it possibl...
[ -0.01153564453125, 0.0081787109375, -0.0022430419921875, 0.0225830078125, -0.0026702880859375, -0.0015716552734375, -0.00909423828125, 0.003509521484375, 0.00653076171875, -0.07861328125, -0.003204345703125, -0.0108642578125, 0.0235595703125, 0.005218505859375, -0.005218505859375, -0.0...
[ 2071, 7722, 28282, 31436, 36746, 678, 20625, 142508, 136, 4527, 15700, 2685, 442, 1556, 1238, 3949, 3742, 375, 34704, 1290, 42902, 4597, 63784, 116071, 60457, 196707, 7146, 51626, 60006, 135188, 6495, 7, 1096, 3794, 137989, 5351, 2367, 3444, ...
[ 0.032470703125, 0.14453125, 0.15087890625, 0.228759765625, 0.186279296875, 0.1011962890625, 0.1201171875, 0.1798095703125, 0.01458740234375, 0.1248779296875, 0.09466552734375, 0.08380126953125, 0.02032470703125, 0.0928955078125, 0.0118408203125, 0.0190277099609375, 0.13818359375, 0...
embed
70552734_c0
70552734
fsharp
0
Title: Exception when trying to load FsXaml.Wpf with F# interactive Problem title: Exception when trying to load FsXaml.Wpf with F# interactive Tags: fsi, wpf, f%23, fsxaml Problem: Exception when trying to load FsXaml.Wpf with F# interactive I'm trying to use load the FsXAml package in an F# interactive session. I use...
Exception when trying to load FsXaml.Wpf with F# interactive Exception when trying to load FsXaml.Wpf with F# interactive fsi wpf f%23 fsxaml Exception FsXaml.Wpf Project.fsproj.fsx FS3053 FsXaml.XamlTypeProvider StartupCode$FsXaml-Wpf-TypeProvider XamlTypeUtils Exception when trying to load FsXaml.Wpf with F# interact...
[ 0.0050048828125, 0.0184326171875, 0.001953125, -0.0079345703125, -0.004913330078125, -0.0024566650390625, 0.0177001953125, -0.00390625, -0.0206298828125, -0.01806640625, 0.007293701171875, -0.01239013671875, 0.00555419921875, -0.01141357421875, 0.00909423828125, 0.00860595703125, 0.0...
[ 5443, 63928, 3229, 31577, 72367, 563, 7, 1542, 302, 141, 1456, 39557, 678, 4904, 212398, 1238, 172, 148, 3742, 3798, 7237, 27331, 17447, 3454, 170, 425, 93774, 1197, 14226, 196707, 177997, 153076, 114211, 919, 8606, 106742, 5, 4527, 65415, ...
[ 0.06439208984375, 0.170654296875, 0.00408935546875, 0.110107421875, 0.1605224609375, 0.1378173828125, 0.1007080078125, 0.1116943359375, 0.1904296875, 0.1856689453125, 0.09619140625, 0.2161865234375, 0.1097412109375, 0.2052001953125, 0.192626953125, 0.05108642578125, 0.10577392578125,...
embed
24285516_c0
24285516
fsharp
0
Title: Enforce Single Contract for Two or more Modules Problem title: Enforce Single Contract for Two or more Modules Tags: f%23 Problem: Enforce Single Contract for Two or more Modules Is there any supported means in F# that allows one to define something similar to an interface that two or more modules can be require...
Enforce Single Contract for Two or more Modules Enforce Single Contract for Two or more Modules f%23 Enforce Single Contract Two Modules Enforce Single Contract for Two or more Modules Is there any supported means in F# that allows one to define something similar to an interface that two or more modules can be required...
[ 0.0172119140625, 0.0091552734375, -0.0166015625, 0.0289306640625, -0.0025177001953125, 0.0166015625, -0.02197265625, 0.00201416015625, 0.0159912109375, -0.00089263916015625, -0.0172119140625, -0.00063323974609375, 0.006134033203125, 0.00933837890625, 0.00151824951171875, 0.001335144042...
[ 357, 50930, 43609, 149957, 100, 32964, 1286, 63014, 1238, 3742, 8060, 26950, 23, 563, 4904, 114864, 61924, 21373, 101758, 6626, 707, 88996, 831, 56065, 29479, 42486, 234873, 144, 177, 115187, 304, 19, 42518, 32354, 142424, 11, 275, 12921, 1...
[ 0.04803466796875, 0.21044921875, 0.175048828125, 0.2452392578125, 0.05487060546875, 0.1563720703125, 0.158203125, 0.20849609375, 0.010833740234375, 0.090576171875, 0.174072265625, 0.1190185546875, 0.00933837890625, 0.1136474609375, 0.2093505859375, 0.06622314453125, 0.1798095703125, ...
embed
15637854_c0
15637854
fsharp
0
Title: Generic interface where type-parameter supports addition Problem title: Generic interface where type-parameter supports addition Tags: f%23, generics Problem: Generic interface where type-parameter supports addition I'm in F# trying to create a generic interface where the type arguments must support addition, so...
Generic interface where type-parameter supports addition Generic interface where type-parameter supports addition f%23 generics Generic IMyInterface Generic interface where type-parameter supports addition I'm in F# trying to create a generic interface where the type arguments must support addition, so I ended up with ...
[ -0.01611328125, -0.01129150390625, 0.0106201171875, -0.00147247314453125, -0.0078125, 0.016845703125, -0.0031585693359375, -0.0031585693359375, 0.0107421875, -0.0294189453125, 0.0198974609375, -0.0277099609375, 0.0027313232421875, -0.012939453125, -0.006011962890625, -0.01904296875, ...
[ 88342, 1771, 101758, 7440, 10644, 6276, 29089, 8060, 66044, 7, 1238, 3949, 3742, 189534, 46832, 53, 44851, 40404, 563, 4904, 31577, 28282, 10750, 8110, 185397, 63847, 18151, 25632, 18499, 2967, 28219, 15400, 32354, 1556, 94419, 237, 23, 2256,...
[ 0.1619873046875, 0.0241241455078125, 0.217529296875, 0.0537109375, 0.218017578125, 0.1102294921875, 0.108642578125, 0.17822265625, 0.2069091796875, 0.02459716796875, 0.06341552734375, 0.0156707763671875, 0.119873046875, 0.208984375, 0.05377197265625, 0.0654296875, 0.1375732421875, ...
embed
29054343_c0
29054343
fsharp
0
Title: Highcharts renderer in websharper Problem title: Highcharts renderer in websharper Tags: websharper, highcharts, f%23 Problem: Highcharts renderer in websharper I am new to websharper and i am trying to use Highcharts. I am able to display some nice charts and wished to add a picture. So i found this example (an...
Highcharts renderer in websharper Highcharts renderer in websharper websharper highcharts f%23 Highcharts chart.renderer.image highcharts.com sun.png Highcharts renderer in websharper I am new to websharper and i am trying to use Highcharts. I am able to display some nice charts and wished to add a picture. So i found ...
[ -0.036865234375, 0.01513671875, -0.0005035400390625, -0.0069580078125, 0.00408935546875, -0.002838134765625, -0.0093994140625, -0.0098876953125, -0.0120849609375, -0.01312255859375, -0.00958251953125, 0.0164794921875, -0.0164794921875, -0.01446533203125, -0.0025787353515625, 0.00230407...
[ 19694, 9254, 933, 79516, 42, 1467, 89280, 1264, 23, 11192, 3742, 116287, 18280, 7966, 37926, 4262, 128468, 3525, 44116, 26267, 32599, 15190, 49726, 27781, 28175, 4028, 18507, 4002, 3467, 163025, 1052, 23894, 56, 1957, 41911, 63137, 11783, 898...
[ 0.1495361328125, 0.2432861328125, 0.110595703125, 0.208984375, 0.0869140625, 0.08685302734375, 0.182861328125, 0.1702880859375, 0.0098876953125, 0.1236572265625, 0.03192138671875, 0.2362060546875, 0.1087646484375, 0.1031494140625, 0.1103515625, 0.1234130859375, 0.0970458984375, 0.0...
embed
67952063_c0
67952063
fsharp
0
Title: Setup Neovim 0.5 lspconfig and F# Problem title: Setup Neovim 0.5 lspconfig and F# Tags: nvim-lspconfig, neovim, f%23 Problem: Setup Neovim 0.5 lspconfig and F# I am trying to setup f# language server with neovim lsp. I have this in init.lua nvim_lsp.fsautocomplete.setup{ capabilities = capabilities, on_attach =...
Setup Neovim 0.5 lspconfig and F# Setup Neovim 0.5 lspconfig and F# nvim-lspconfig neovim f%23 Setup Neovim nvim_lsp.fsautocomplete.setup on_attach Users fsautocomplete.netcore fsautocomplete.dll root_dir nvim_lsp.util.root_pattern RPC Error code_name Internal Cahced Setup Neovim 0.5 lspconfig and F# I am trying to set...
[ -0.00238037109375, 0.01141357421875, -0.002532958984375, -0.01458740234375, -0.014404296875, 0.0030670166015625, 0.00762939453125, -0.0021209716796875, -0.01513671875, -0.01055908203125, -0.00811767578125, 0.00115203857421875, 0.01336669921875, 0.017822265625, -0.0125732421875, -0.0007...
[ 19943, 54311, 29671, 81730, 96, 7008, 153837, 136, 563, 4904, 653, 141, 16169, 1238, 3742, 17447, 8913, 277, 131801, 3509, 52438, 53400, 7, 1179, 30854, 1181, 74855, 936, 148920, 4453, 627, 12233, 212059, 18151, 106745, 2041, 127, 37534, 16...
[ 0.1005859375, 0.164306640625, 0.27880859375, 0.2376708984375, 0.0950927734375, 0.2119140625, 0.225830078125, 0.061279296875, 0.0882568359375, 0.166748046875, 0.0260009765625, 0.041107177734375, 0.129150390625, 0.0899658203125, 0.08782958984375, 0.135498046875, 0.19921875, 0.1381835...
embed
62900354_c0
62900354
fsharp
0
Title: How do I abort a scan but retain the flag element of the sequence: skipToOrDefault Problem title: How do I abort a scan but retain the flag element of the sequence: skipToOrDefault Tags: ocaml, functional-programming, f%23 Problem: How do I abort a scan but retain the flag element of the sequence: skipToOrDefaul...
How do I abort a scan but retain the flag element of the sequence: skipToOrDefault How do I abort a scan but retain the flag element of the sequence: skipToOrDefault ocaml functional-programming f%23 How Result Error st0 Seq.scan Seq.last Seq.skipToOrDefault Seq.takeToOrDefault How do I abort a scan but retain the flag...
[ 0.005340576171875, 0.0198974609375, 0.0135498046875, 0.00848388671875, -0.0284423828125, -0.00457763671875, -0.0025177001953125, -0.0038909912109375, -0.00011444091796875, -0.0013885498046875, 0.01190185546875, 0.01263427734375, -0.01904296875, -0.00154876708984375, 0.0155029296875, 0....
[ 11249, 64853, 44954, 1284, 112033, 73, 49938, 12830, 40, 944, 3956, 21658, 7763, 19060, 187423, 11, 7136, 54, 10, 36, 9779, 141, 123309, 28966, 3742, 126684, 212059, 6138, 2389, 503, 864, 4398, 19777, 44024, 78219, 87, 1884, 183278, 756, ...
[ 0.0270233154296875, 0.2890625, 0.21728515625, 0.081787109375, 0.1357421875, 0.058868408203125, 0.1959228515625, 0.151611328125, 0.0101318359375, 0.08172607421875, 0.02154541015625, 0.175048828125, 0.1363525390625, 0.180908203125, 0.1097412109375, 0.1109619140625, 0.1055908203125, 0...
embed
26296401_c0
26296401
fsharp
0
Title: Why is `unit` treated differently by the F# type system when used as a generic interface argument? Problem title: Why is `unit` treated differently by the F# type system when used as a generic interface argument? Tags: unit-type, f%23 Problem: Why is `unit` treated differently by the F# type system when used as ...
Why is `unit` treated differently by the F# type system when used as a generic interface argument? Why is `unit` treated differently by the F# type system when used as a generic interface argument? unit-type f%23 Why this.X Compiler get_X A_int A_unit Why is `unit` treated differently by the F# type system when used as...
[ -0.00604248046875, 0.017333984375, 0.01123046875, -0.0147705078125, -0.0028076171875, -0.008056640625, -0.00543212890625, 0.020263671875, 0.022705078125, 0.016357421875, -0.0096435546875, -0.011474609375, 0.00848388671875, -0.0006256103515625, 0.011474609375, -0.0035247802734375, 0.0...
[ 44084, 309, 217, 191607, 12921, 563, 4904, 10644, 5426, 11814, 237, 189534, 101758, 10750, 25072, 50986, 1238, 3742, 903, 1542, 15612, 34759, 2046, 62, 4288, 83, 3229, 137399, 9790, 29479, 678, 23, 18, 100, 61924, 351, 79446, 1771, 26818, ...
[ 0.1083984375, 0.1766357421875, 0.1539306640625, 0.127685546875, 0.1534423828125, 0.0853271484375, 0.20556640625, 0.1260986328125, 0.07879638671875, 0.053375244140625, 0.0411376953125, 0.2025146484375, 0.1885986328125, 0.183349609375, 0.21337890625, 0.1461181640625, 0.05426025390625, ...
embed
31329681_c0
31329681
fsharp
0
Title: How do I write this async IO C# code in F#? Problem title: How do I write this async IO C# code in F#? Tags: async-await, asynchronous, c%23, f%23 Problem: How do I write this async IO C# code in F#? I have this code: public async Task CreateFileAsync(string filePath, byte[] bytes) { using (var sourceStream = Sy...
How do I write this async IO C# code in F#? How do I write this async IO C# code in F#? async-await asynchronous c%23 f%23 How Task CreateFileAsync System.IO.File.Open FileMode.OpenOrCreate sourceStream.Seek SeekOrigin.End sourceStream.WriteAsync bytes.Length ConfigureAwait System.IO File.Open How do I write this async...
[ 0.0048828125, 0.01177978515625, 0.01123046875, -0.01123046875, -0.000888824462890625, -0.0023345947265625, 0.00787353515625, -0.0101318359375, -0.004119873046875, 0.0130615234375, 0.025146484375, 0.000732421875, 0.0177001953125, 0.01953125, 0.01104736328125, 0.00115203857421875, 0.00...
[ 11249, 54, 87, 33022, 903, 10, 12654, 238, 17780, 313, 4904, 18151, 23, 563, 7978, 217, 101966, 10821, 501, 3742, 1238, 3949, 9598, 92, 151313, 174350, 284, 12353, 103264, 42724, 9083, 19060, 63784, 31344, 115061, 4233, 503, 343, 670, 103...
[ 0.1026611328125, 0.0479736328125, 0.046478271484375, 0.1895751953125, 0.11279296875, 0.086181640625, 0.2037353515625, 0.1209716796875, 0.21630859375, 0.07965087890625, 0.22802734375, 0.19287109375, 0.084228515625, 0.1533203125, 0.1964111328125, 0.1463623046875, 0.1575927734375, 0.0...
embed
66500524_c0
66500524
fsharp
0
Title: Print only cases of Union Type Problem title: Print only cases of Union Type Tags: f%23 Problem: Print only cases of Union Type I have this code and the intent is to only print cases of the Union Type Event : type CustomerPromoted = { id: string; level: int } type CustomerCreated = { id: string; companyName: str...
Print only cases of Union Type Print only cases of Union Type f%23 Print Union Type Event CustomerPromoted CustomerCreated Created Promoted List.iter EntryPoint Print only cases of Union Type I have this code and the intent is to only print cases of the Union Type Event : But the line Results in this error: How do I so...
[ -0.00927734375, 0.0047607421875, 0.01416015625, -0.00994873046875, -0.00946044921875, -0.01080322265625, -0.0218505859375, 0.0054931640625, 0.0033721923828125, 0.005523681640625, 0.004364013671875, -0.01422119140625, 0.021728515625, 0.0103759765625, -0.00775146484375, -0.01171875, 0....
[ 39754, 4734, 50218, 111, 32528, 60457, 1238, 3949, 3742, 36943, 124765, 432, 63784, 151313, 23490, 32036, 16840, 357, 15123, 147534, 18151, 70, 78091, 28412, 4966, 13315, 146104, 903, 18499, 86869, 5809, 2633, 192134, 90141, 138256, 5303, 25072...
[ 0.2218017578125, 0.1610107421875, 0.2113037109375, 0.061370849609375, 0.26708984375, 0.1798095703125, 0.013671875, 0.03509521484375, 0.12353515625, 0.205810546875, 0.1361083984375, 0.101318359375, 0.084716796875, 0.06097412109375, 0.1331787109375, 0.133056640625, 0.11376953125, 0.0...
embed
75380117_c0
75380117
fsharp
0
Title: Conversion Function Problem title: Conversion Function Tags: f%23, function, type-conversion Problem: Conversion Function I am trying to create a function that converts any number type to float32 and anything else to 0f. I first tried using match on type, but the type system infers the type as boolean, even when...
Conversion Function Conversion Function f%23 function type-conversion System.Exception Conversion int16 int32 int64 uint16 uint32 uint64 float32 Conversion Function I am trying to create a function that converts any number type to float32 and anything else to 0f. I first tried using match on type, but the type system i...
[ -0.0162353515625, 0.01171875, 0.006072998046875, 0.00019931793212890625, 0.004730224609375, -0.006072998046875, -0.0233154296875, 0.01214599609375, 0.017822265625, 0.01263427734375, -0.01190185546875, -0.0322265625, -0.0086669921875, -0.00592041015625, 0.024169921875, 0.000694274902343...
[ 1657, 46354, 28670, 10763, 1238, 3949, 3742, 32354, 10644, 2271, 12353, 19279, 63928, 23, 18, 2485, 6460, 13307, 75, 4288, 21917, 257, 87, 31577, 28282, 96760, 7, 2499, 14012, 47, 23937, 37076, 757, 420, 5117, 37842, 17368, 14858, 98, 128...
[ 0.123046875, 0.26904296875, 0.203125, 0.07080078125, 0.10174560546875, 0.103271484375, 0.1986083984375, 0.199462890625, 0.2073974609375, 0.1138916015625, 0.1312255859375, 0.04254150390625, 0.15673828125, 0.01531982421875, 0.045135498046875, 0.17236328125, 0.2275390625, 0.1817626953...
embed
18120520_c1
18120520
fsharp
1
rec h1 () : unit = let oDat = skt.Recv() // THE PROGRAMME HANGS HERE! let strODat = (new Text.UnicodeEncoding()).GetString oDat if oDat <> null then printfn "Received: %s" strODat else printfn "No data received" let swt = new System.Threading.SpinWait() swt.SpinOnce() if Console.KeyAvailable then match Console.ReadKey...
rec h1 () : unit = let oDat = skt.Recv() // THE PROGRAMME HANGS HERE! let strODat = (new Text.UnicodeEncoding()).GetString oDat if oDat <> null then printfn "Received: %s" strODat else printfn "No data received" let swt = new System.Threading.SpinWait() swt.SpinOnce() if Console.KeyAvailable then match Console.ReadKey...
[ 0.01116943359375, 0.006500244140625, 0.008056640625, 0.0118408203125, 0.00213623046875, -0.005645751953125, 0.01348876953125, -0.00185394287109375, 0.0079345703125, -0.029541015625, 0.014892578125, -0.0018157958984375, -0.01409912109375, -0.01483154296875, 0.002960205078125, 0.01269531...
[ 21954, 1096, 418, 25072, 2203, 2633, 36, 397, 257, 81211, 4332, 238, 334, 59677, 10611, 24338, 34162, 65791, 38, 7704, 54936, 24129, 85600, 40899, 7768, 587, 6238, 126, 71713, 2174, 56574, 28412, 14783, 329, 1745, 43740, 5021, 2053, 75204, ...
[ 0.2431640625, 0.177490234375, 0.1822509765625, 0.271728515625, 0.05072021484375, 0.0792236328125, 0.1063232421875, 0.04144287109375, 0.10284423828125, 0.1734619140625, 0.1082763671875, 0.0958251953125, 0.255126953125, 0.1514892578125, 0.0677490234375, 0.10430908203125, 0.033294677734...
embed
75451183_c1
75451183
fsharp
1
var sum1 = SFSC.add(num1, num2); var sum2 = SFSC.sum2; var sum3 = SFSC.sum3; var sum4 = SFSC.sum4(5); Console.WriteLine("num1 = " + num1); Console.WriteLine("num2 = " + num2); Console.WriteLine("sum1 = " + sum1); Console.WriteLine("sum2 = " + sum2); Console.WriteLine("sum3 = " + sum3); Console.WriteLine("sum4 = " + su...
var sum1 = SFSC.add(num1, num2); var sum2 = SFSC.sum2; var sum3 = SFSC.sum3; var sum4 = SFSC.sum4(5); Console.WriteLine("num1 = " + num1); Console.WriteLine("num2 = " + num2); Console.WriteLine("sum1 = " + sum1); Console.WriteLine("sum2 = " + sum2); Console.WriteLine("sum3 = " + sum3); Console.WriteLine("sum4 = " + su...
[ -0.003082275390625, 0.0224609375, 0.01336669921875, 0.0120849609375, 0.001861572265625, -0.005889892578125, 0.002593994140625, -0.000911712646484375, -0.000640869140625, -0.0164794921875, -0.00286865234375, 0.007568359375, -0.0038299560546875, -0.005126953125, 0.026611328125, -0.001350...
[ 285, 10554, 418, 159, 208155, 4028, 2606, 13269, 10461, 304, 11832, 363, 617, 124534, 40777, 18781, 93232, 997, 19388, 50339, 116, 138, 757, 534, 959, 2806, 41206, 2203, 71924, 563, 4904, 26499, 105237, 114453, 16750, 44084, 621, 23, 759, ...
[ 0.1077880859375, 0.2052001953125, 0.064208984375, 0.033203125, 0.193359375, 0.09619140625, 0.141357421875, 0.1571044921875, 0.1209716796875, 0.1768798828125, 0.179931640625, 0.2120361328125, 0.1993408203125, 0.0595703125, 0.1185302734375, 0.0003662109375, 0.07867431640625, 0.048706...
embed
16917908_c0
16917908
fsharp
0
Title: F# Parse Excel File Into Tuple Array Problem title: F# Parse Excel File Into Tuple Array Tags: excel, f%23 Problem: F# Parse Excel File Into Tuple Array I have a follow up question on this post. I would like to take the contents of an Excel spreadsheet and put it into a Array of tuples where each tuple correspon...
F# Parse Excel File Into Tuple Array F# Parse Excel File Into Tuple Array excel f%23 Parse Excel File Into Tuple Array XXX.xlsx ApplicationClass Visible app.Workbooks.Open book.Worksheets _Worksheet sheet.UsedRange.Value2 content.GetLowerBound content.GetUpperBound F# Parse Excel File Into Tuple Array I have a follow u...
[ 0.009765625, 0.01416015625, -0.011474609375, 0.022705078125, -0.01385498046875, 0.007354736328125, -0.0208740234375, -0.0225830078125, 0.004730224609375, -0.0034637451171875, -0.00173187255859375, 0.0115966796875, -0.0145263671875, 0.021728515625, 0.0146484375, -0.0086669921875, -0.0...
[ 563, 4904, 2392, 184, 30326, 42724, 360, 188, 1371, 8705, 69253, 53, 64152, 1238, 3742, 44585, 92595, 7, 425, 104921, 140803, 582, 55356, 4027, 81415, 103264, 12877, 7816, 108259, 155434, 1062, 1052, 51459, 50770, 304, 10941, 6488, 7030, 80...
[ 0.1099853515625, 0.175537109375, 0.139892578125, 0.07000732421875, 0.2015380859375, 0.1737060546875, 0.040679931640625, 0.120849609375, 0.139892578125, 0.22412109375, 0.162109375, 0.056640625, 0.1419677734375, 0.048675537109375, 0.1005859375, 0.1080322265625, 0.08056640625, 0.02049...
embed
47392978_c0
47392978
fsharp
0
Title: F# List (Seq.toList) to Json Problem title: F# List (Seq.toList) to Json Tags: .net, dataprovider, f%23, json Problem: F# List (Seq.toList) to Json I am pretty new to F# so this might be a dumb question. I am using an Excel data provider to parse an excel and then convert it to JSON, so far I mamaged to get the ...
F# List (Seq.toList) to Json F# List (Seq.toList) to Json .net dataprovider f%23 json List Seq.toList Json file.Data F# List (Seq.toList) to Json I am pretty new to F# so this might be a dumb question. I am using an Excel data provider to parse an excel and then convert it to JSON, so far I mamaged to get the data from...
[ 0.00077056884765625, 0.0322265625, 0.0016021728515625, 0.0274658203125, -0.0140380859375, -0.0002651214599609375, 0.000029206275939941406, 0.03369140625, 0.0007171630859375, 0.0186767578125, -0.01519775390625, 0.037841796875, -0.005523681640625, 0.01904296875, 0.005401611328125, 0.0086...
[ 563, 4904, 32036, 4233, 864, 188, 154663, 47, 821, 1681, 5, 1179, 2053, 93136, 820, 1238, 3949, 3742, 1647, 503, 11435, 137989, 6492, 9655, 17368, 30326, 81450, 366, 184, 64152, 96760, 58627, 2060, 17704, 2046, 1295, 10, 5303, 15555, 9077...
[ 0.12109375, 0.2171630859375, 0.26123046875, 0.06573486328125, 0.1766357421875, 0.1744384765625, 0.2490234375, 0.112548828125, 0.1552734375, 0.2177734375, 0.0255279541015625, 0.1370849609375, 0.1253662109375, 0.1485595703125, 0.02203369140625, 0.07952880859375, 0.0185089111328125, 0...
embed
31855043_c0
31855043
fsharp
0
Title: Map.ofSeq performance breakdown Problem title: Map.ofSeq performance breakdown Tags: collections, dictionary, f%23, performance Problem: Map.ofSeq performance breakdown While streaming a 450 MB / 6.6 Mio records file from Zip format on disk into memory as a sequence works with adequate performance, but turning t...
Map.ofSeq performance breakdown Map.ofSeq performance breakdown collections dictionary f%23 performance Map.ofSeq Seq.map Root.Descendants Seq.filter System.Xml.Linq Parsing x.Reference Reorg Map.ofSeq performance breakdown While streaming a 450 MB / 6.6 Mio records file from Zip format on disk into memory as a sequenc...
[ -0.002227783203125, 0.0213623046875, 0.005523681640625, -0.00086212158203125, -0.01251220703125, -0.015625, -0.0125732421875, -0.0123291015625, 0.0140380859375, -0.004852294921875, 0.007049560546875, 0.0184326171875, 0.01092529296875, 0.0250244140625, 0.016845703125, 0.003631591796875,...
[ 42719, 4390, 4233, 864, 23718, 36356, 34695, 42486, 10763, 1238, 3949, 3742, 503, 62346, 150948, 31146, 58349, 120337, 12353, 7237, 44982, 2392, 1022, 69988, 1478, 65296, 23547, 12918, 156960, 81949, 115923, 11435, 1295, 162150, 9384, 28338, 98...
[ 0.212646484375, 0.2734375, 0.17333984375, 0.2275390625, 0.2156982421875, 0.1278076171875, 0.08526611328125, 0.1649169921875, 0.06988525390625, 0.0292816162109375, 0.007293701171875, 0.1138916015625, 0.0859375, 0.1749267578125, 0.1248779296875, 0.09747314453125, 0.059783935546875, 0...
embed
66840886_c0
66840886
fsharp
0
Title: Testing if a projection is uniform over an F# sequence Problem title: Testing if a projection is uniform over an F# sequence Tags: f%23 Problem: Testing if a projection is uniform over an F# sequence I want to check if a projection over a sequence has a uniform value in F#. Here's what I have: module Seq = let i...
Testing if a projection is uniform over an F# sequence Testing if a projection is uniform over an F# sequence f%23 Testing Seq Seq.map Seq.distinct Seq.truncate Seq.length Seq.isUniformBy Testing if a projection is uniform over an F# sequence I want to check if a projection over a sequence has a uniform value in F#. He...
[ -0.00119781494140625, 0.016845703125, 0.0135498046875, -0.005340576171875, 0.00970458984375, -0.0311279296875, -0.0005950927734375, -0.001800537109375, 0.01141357421875, -0.00019168853759765625, -0.020751953125, 0.033203125, 0.0294189453125, -0.00567626953125, -0.01116943359375, 0.0175...
[ 8647, 214, 2174, 13452, 1830, 83, 61514, 645, 563, 4904, 40, 944, 3956, 1238, 3949, 3742, 503, 864, 62346, 38893, 33478, 164, 85600, 5037, 75358, 3444, 47, 12765, 1556, 10, 34292, 23, 765, 149016, 88303, 73, 32354, 903, 21771, 2965, 294...
[ 0.197021484375, 0.05780029296875, 0.1051025390625, 0.1883544921875, 0.097900390625, 0.0950927734375, 0.27001953125, 0.1192626953125, 0.1243896484375, 0.2064208984375, 0.054443359375, 0.13330078125, 0.055999755859375, 0.0780029296875, 0.033203125, 0.128662109375, 0.0394287109375, 0....
embed
73587548_c0
73587548
fsharp
0
Title: F# Memoization - Persist? Problem title: F# Memoization - Persist? Tags: f%23, functional-programming, memoization Problem: F# Memoization - Persist? What's the best way to persist/save the results of memoization so it can be loaded later? There's this standard code snippet in F# for implementing memoization: le...
F# Memoization - Persist? F# Memoization - Persist? f%23 functional-programming memoization a Memoization Persist Dictionary dict.TryGetValue dict.Add results.file F# Memoization - Persist? What's the best way to persist/save the results of memoization so it can be loaded later? There's this standard code snippet in F#...
[ 0.021240234375, 0.00653076171875, 0.0093994140625, 0.00115203857421875, -0.006011962890625, -0.01275634765625, 0.0086669921875, 0.0166015625, 0.00567626953125, -0.016845703125, 0.00555419921875, 0.029541015625, -0.00634765625, 0.0040283203125, 0.021484375, 0.012939453125, -0.01611328...
[ 563, 4904, 17443, 31, 47691, 20, 57309, 271, 32, 1238, 3949, 3742, 123309, 28966, 163, 432, 147638, 61669, 1294, 724, 126, 856, 50770, 4028, 50339, 29822, 2965, 3917, 47, 70560, 64, 108999, 111, 221, 831, 72367, 14432, 5570, 18151, 58134,...
[ 0.1495361328125, 0.225830078125, 0.15869140625, 0.177978515625, 0.184326171875, 0.04229736328125, 0.22900390625, 0.19775390625, 0.0150299072265625, 0.10699462890625, 0.03564453125, 0.13134765625, 0.138916015625, 0.08697509765625, 0.1319580078125, 0.1868896484375, 0.1693115234375, 0...
embed
17445855_c1
17445855
fsharp
1
) when i = 0 || k = 0 -> return 0 | (i, k) when items.[i-1].Size > k -> return! combinations (i-1, k) | (i, k) -> let item = items.[i-1] let! v1 = combinations (i-1, k) let! beforeItem = combinations (i-1, k-item.Size) let v2 = beforeItem + item.Value return max v1 v2 } memoize innerSolver let res = combinations (N, K)...
) when i = 0 || k = 0 -> return 0 | (i, k) when items.[i-1].Size > k -> return! combinations (i-1, k) | (i, k) -> let item = items.[i-1] let! v1 = combinations (i-1, k) let! beforeItem = combinations (i-1, k-item.Size) let v2 = beforeItem + item.Value return max v1 v2 } memoize innerSolver let res = combinations (N, K)...
[ -0.03564453125, 0.02294921875, 0.0162353515625, -0.0252685546875, -0.008544921875, 0.0213623046875, 0.006805419921875, -0.00167083740234375, -0.005859375, -0.0091552734375, 0.0037078857421875, 0.0296630859375, 0.01275634765625, 0.01708984375, 0.01348876953125, 0.003662109375, 0.01501...
[ 1388, 3229, 17, 2203, 757, 472, 33079, 30646, 14, 55769, 76172, 127167, 38, 162515, 7, 5759, 2633, 35735, 81, 418, 8108, 2982, 217, 195, 304, 997, 856, 50770, 18389, 163, 432, 20650, 75414, 102588, 814, 3332, 839, 341, 3447, 28412, 1478...
[ 0.062164306640625, 0.114990234375, 0.154052734375, 0.102294921875, 0.176025390625, 0.1661376953125, 0.0225982666015625, 0.2061767578125, 0.08935546875, 0.2423095703125, 0.055694580078125, 0.1448974609375, 0.090087890625, 0.22021484375, 0.10223388671875, 0.1109619140625, 0.1279296875,...
embed
21354175_c0
21354175
fsharp
0
Title: Why is List.foldBack as fast as List.fold Problem title: Why is List.foldBack as fast as List.fold Tags: performance, list, f%23 Problem: Why is List.foldBack as fast as List.fold "Lists in F# are implemented as singly linked lists, which means that operations that access only the head of the list are O(1), and ...
Why is List.foldBack as fast as List.fold Why is List.foldBack as fast as List.fold performance list f%23 Why List.foldBack List.fold Real CPU gen0 gen1 gen2 Why is List.foldBack as fast as List.fold "Lists in F# are implemented as singly linked lists, which means that operations that access only the head of the list a...
[ -0.004364013671875, 0.0142822265625, 0.0179443359375, -0.0079345703125, -0.006683349609375, -0.003936767578125, -0.00136566162109375, 0.010498046875, 0.01239013671875, -0.0125732421875, 0.01361083984375, 0.001861572265625, 0.00093841552734375, 0.0137939453125, 0.000926971435546875, -0....
[ 44084, 32036, 5, 42822, 152470, 237, 4271, 83, 23718, 5303, 1238, 3949, 3742, 5120, 86039, 9226, 2389, 304, 154663, 563, 4904, 29479, 5367, 3126, 41018, 17203, 4734, 10336, 621, 180, 27750, 136, 12830, 19, 138410, 80854, 4568, 5117, 5608, ...
[ 0.1026611328125, 0.2236328125, 0.06097412109375, 0.226318359375, 0.283447265625, 0.04150390625, 0.1727294921875, 0.0254058837890625, 0.14990234375, 0.1717529296875, 0.039703369140625, 0.0286865234375, 0.07635498046875, 0.1185302734375, 0.1588134765625, 0.06536865234375, 0.05444335937...
embed
7920234_c0
7920234
fsharp
0
Title: What are the performance side effects of defining functions inside a recursive function vs outside in F# Problem title: What are the performance side effects of defining functions inside a recursive function vs outside in F# Tags: let, f%23, recursion Problem: What are the performance side effects of defining fu...
What are the performance side effects of defining functions inside a recursive function vs outside in F# What are the performance side effects of defining functions inside a recursive function vs outside in F# let f%23 recursion What What are the performance side effects of defining functions inside a recursive functio...
[ 0.00830078125, -0.00119781494140625, -0.004669189453125, -0.006256103515625, 0.000804901123046875, -0.0115966796875, -0.0047607421875, 0.00008058547973632812, 0.002777099609375, 0.00579833984375, -0.005859375, 0.004638671875, -0.018798828125, 0.00714111328125, 0.03369140625, 0.01239013...
[ 23718, 5609, 93425, 13204, 449, 32354, 46132, 195625, 5844, 20209, 50782, 563, 4904, 2633, 1238, 3949, 3742, 1830, 28702, 3789, 12601, 2822, 3917, 29479, 15644, 77593, 50960, 11522 ]
[ 0.1865234375, 0.1734619140625, 0.2225341796875, 0.18359375, 0.073974609375, 0.189208984375, 0.16796875, 0.1776123046875, 0.09619140625, 0.1103515625, 0.17626953125, 0.0894775390625, 0.1766357421875, 0.010772705078125, 0.057952880859375, 0.0189666748046875, 0.1558837890625, 0.045593...
embed
13975644_c0
13975644
fsharp
0
Title: Is F# 3.0 available on Visual Studio 2010 professional? Problem title: Is F# 3.0 available on Visual Studio 2010 professional? Tags: visual-studio-2010, f%23, f%23-3.0 Problem: Is F# 3.0 available on Visual Studio 2010 professional? I would love to try f# 3.0 but I only have visual studio 2010 professional. I kn...
Is F# 3.0 available on Visual Studio 2010 professional? Is F# 3.0 available on Visual Studio 2010 professional? visual-studio-2010 f%23 f%23-3.0 Visual Studio visual-studio-2010 Is F# 3.0 available on Visual Studio 2010 professional? I would love to try f# 3.0 but I only have visual studio 2010 professional. I know F# ...
[ 0.01220703125, 0.021728515625, 0.0057373046875, -0.0419921875, -0.00830078125, 0.002899169921875, -0.01287841796875, 0.01202392578125, -0.012939453125, -0.009765625, 0.01226806640625, 0.0020599365234375, 0.000843048095703125, 0.0032501220703125, 0.00726318359375, 0.00506591796875, 0....
[ 2071, 563, 4904, 17596, 19882, 98, 73372, 22968, 1532, 23182, 21176, 52629, 73552, 1238, 3742, 27495, 132265, 5161, 9790, 4734, 765, 12275, 20600, 678, 1324, 16530, 19069, 116086, 20209, 10693, 68163, 19, 1305, 4843, 282, 5122, 831, 11814, ...
[ 0.0582275390625, 0.1337890625, 0.209228515625, 0.268798828125, 0.157470703125, 0.06597900390625, 0.178466796875, 0.1796875, 0.211181640625, 0.19140625, 0.134033203125, 0.1231689453125, 0.146240234375, 0.09979248046875, 0.01275634765625, 0.03509521484375, 0.186279296875, 0.092834472...
embed
66047448_c0
66047448
fsharp
0
Title: thread-safe option in F# Problem title: thread-safe option in F# Tags: thread-safety, f%23, events Problem: thread-safe option in F# I'm trying to solve this issue (psdeudo code): let myObject : T option = None onEvent (fun t -> if myObject.IsSome then myObject.Value(t)) some logic ( while forever do myObject <-...
thread-safe option in F# thread-safe option in F# thread-safety f%23 events None myObject.IsSome myObject.Value Some thread-safe option in F# I'm trying to solve this issue (psdeudo code): I have an object that gets created and destroyed depending on some external parameters. There is an even that is always firing that...
[ -0.0024871826171875, 0.016845703125, 0.01318359375, -0.02197265625, -0.0115966796875, -0.02880859375, 0.0206298828125, 0.00927734375, 0.00653076171875, -0.03173828125, -0.0024871826171875, 0.049560546875, 0.0033111572265625, -0.01092529296875, 0.0177001953125, 0.0123291015625, -0.000...
[ 86997, 9, 115840, 35829, 563, 4904, 23, 1238, 3949, 3742, 47353, 438, 759, 46471, 75161, 29598, 856, 50770, 31384, 31577, 86869, 31089, 112, 11547, 18151, 36746, 62163, 75935, 136, 163684, 96819, 173591, 171859, 3853, 11343, 809, 2852, 19095,...
[ 0.238525390625, 0.040374755859375, 0.2568359375, 0.227294921875, 0.1436767578125, 0.226806640625, 0.0224151611328125, 0.060699462890625, 0.00152587890625, 0.1160888671875, 0.12890625, 0.0126953125, 0.06561279296875, 0.0833740234375, 0.138671875, 0.03680419921875, 0.0677490234375, 0...
embed
8526661_c0
8526661
fsharp
0
Title: build a List from a Map through Map.iter function in F# Problem title: build a List from a Map through Map.iter function in F# Tags: list, dictionary, f%23 Problem: build a List from a Map through Map.iter function in F# I have the following types: type ColorCounter = { Count : int Color : Microsoft.Xna.Framewor...
build a List from a Map through Map.iter function in F# build a List from a Map through Map.iter function in F# list dictionary f%23 a List Map Map.iter ColorCounter Count Color Microsoft.Xna.Framework.Color AvailableColors uint32 AvailableColorList col.Color Seq.toList build a List from a Map through Map.iter function...
[ -0.01190185546875, -0.0240478515625, -0.01239013671875, -0.0162353515625, -0.022705078125, 0.00811767578125, -0.016845703125, 0.00958251953125, -0.005645751953125, -0.0150146484375, 0.01129150390625, 0.00469970703125, 0.0211181640625, 0.0024261474609375, 0.017822265625, 0.022216796875,...
[ 45367, 32036, 1295, 42719, 8305, 16840, 32354, 563, 4904, 10, 5, 5303, 10763, 1238, 3949, 3742, 51193, 108210, 7244, 1542, 76, 108386, 18244, 10625, 1484, 238204, 78457, 4288, 6460, 154663, 3365, 864, 188, 52895, 1884, 17, 8560, 67, 30646, ...
[ 0.1650390625, 0.22021484375, 0.1689453125, 0.2259521484375, 0.169189453125, 0.2880859375, 0.1971435546875, 0.1214599609375, 0.2109375, 0.0221405029296875, 0.044952392578125, 0.1783447265625, 0.06317138671875, 0.0655517578125, 0.03985595703125, 0.173583984375, 0.1539306640625, 0.145...
embed
7065530_c0
7065530
fsharp
0
Title: Seq.Map string-&gt;string Problem title: Seq.Map string-&gt;string Tags: f%23, seq, dictionary Problem: Seq.Map string->string all! What is wrong with this code? I cannot understand what I am doing wrong with Seq.Map. Here is the error message: The type 'unit' is not compatible with the type 'seq<'a>' let getPat...
Seq.Map string-&gt;string Seq.Map string-&gt;string f%23 seq dictionary Seq.Map Regex regex.Match matches.Value lines:string Seq.filter Seq.iter Libs Path Fibonacci Number Print List.map List.filter Seq.Map string->string all! What is wrong with this code? I cannot understand what I am doing wrong with Seq.Map. Here is...
[ 0.0035247802734375, 0.0107421875, 0.00138092041015625, 0.031982421875, -0.02880859375, -0.005279541015625, 0.006439208984375, 0.02587890625, 0.01361083984375, -0.006378173828125, -0.01055908203125, 0.0030670166015625, 0.000583648681640625, 0.0233154296875, 0.01055908203125, 0.007415771...
[ 503, 864, 5, 166179, 79315, 1230, 5386, 91693, 1238, 3949, 3742, 40, 45, 10763, 11678, 3355, 6835, 79520, 206, 14858, 856, 50770, 124519, 120337, 16840, 43278, 108421, 3698, 20990, 52544, 103332, 39754, 32036, 62346, 756, 4865, 83, 44691, 9...
[ 0.1298828125, 0.25244140625, 0.056396484375, 0.2476806640625, 0.2203369140625, 0.042633056640625, 0.1649169921875, 0.1927490234375, 0.0740966796875, 0.014678955078125, 0.1397705078125, 0.109619140625, 0.0299072265625, 0.08740234375, 0.08868408203125, 0.137939453125, 0.056854248046875...
embed
38138800_c0
38138800
fsharp
0
Title: Is the following function tail recursive? Problem title: Is the following function tail recursive? Tags: tail-recursion, recursion, f%23 Problem: Is the following function tail recursive? I have a function in which the starred line is a conjunction involving a recursive call. As conjunctions work, if h1 <> h2 th...
Is the following function tail recursive? Is the following function tail recursive? tail-recursion recursion f%23 lst1 lst2 currLst1 currLst2 Is the following function tail recursive? I have a function in which the starred line is a conjunction involving a recursive call. As conjunctions work, if h1 <> h2 then the recu...
[ 0.00830078125, 0.0101318359375, 0.0322265625, 0.037841796875, 0.01214599609375, 0.007537841796875, -0.02001953125, -0.005889892578125, 0.0022430419921875, -0.01239013671875, 0.005096435546875, -0.004730224609375, 0.00170135498046875, -0.00156402587890625, 0.01806640625, 0.0007629394531...
[ 2071, 25632, 32354, 46741, 195625, 5844, 6, 107, 48650, 1830, 1238, 3949, 3742, 271, 418, 304, 64240, 6057, 2822, 13315, 158, 17043, 10763, 3784, 11782, 4488, 2174, 1096, 4426, 2740, 1221, 959, 7228, 9969, 34759, 4420, 125728, 51339, 147306...
[ 0.10113525390625, 0.1502685546875, 0.222412109375, 0.299560546875, 0.251708984375, 0.19091796875, 0.039794921875, 0.10009765625, 0.2088623046875, 0.1114501953125, 0.1163330078125, 0.05792236328125, 0.178955078125, 0.0703125, 0.0828857421875, 0.1474609375, 0.1007080078125, 0.1450195...
embed
46643328_c0
46643328
fsharp
0
Title: Negative pattern match Problem title: Negative pattern match Tags: f%23, pattern-matching Problem: Negative pattern match I have the following code (`IgnoreCase is an active pattern I have defined elsewhere): match myType with | {Field1 = IgnoreCase "invalid"} -> None | {Field2 = Some f2 Field3 = Some f3 Field4 ...
Negative pattern match Negative pattern match f%23 pattern-matching Negative Field1 IgnoreCase None Field2 Some Field3 Field4 Negative pattern match I have the following code (`IgnoreCase is an active pattern I have defined elsewhere): As you can see, Field1 has a blacklisted value and Field4 has whitelisted values (so...
[ -0.0113525390625, 0.000476837158203125, -0.0084228515625, 0.0023040771484375, -0.0181884765625, -0.0172119140625, -0.0025787353515625, 0.0012054443359375, 0.01092529296875, 0.034912109375, 0.0101318359375, 0.005645751953125, 0.0032196044921875, -0.005126953125, 0.002227783203125, 0.007...
[ 221717, 103510, 14858, 1238, 3949, 3742, 98753, 117657, 418, 11137, 107, 441, 6991, 304, 31384, 363, 617, 18151, 36457, 61924, 22556, 12897, 34292, 35011, 142424, 136, 10422, 8110, 6713, 46622, 756, 12765, 5701, 7225, 73, 7013, 71, 27781, 9...
[ 0.2432861328125, 0.243896484375, 0.2208251953125, 0.0297698974609375, 0.06256103515625, 0.1201171875, 0.1962890625, 0.1920166015625, 0.057403564453125, 0.14111328125, 0.0860595703125, 0.1048583984375, 0.1214599609375, 0.064453125, 0.110595703125, 0.10638427734375, 0.1431884765625, ...
embed
23145012_c0
23145012
fsharp
0
Title: What can I do to improve this F# code? Problem title: What can I do to improve this F# code? Tags: f%23, .net Problem: What can I do to improve this F# code? I am learning F#, so I have been coming up with small blocks of code to help me get the hang of the language. I created the code below to be called from C#...
What can I do to improve this F# code? What can I do to improve this F# code? f%23 .net What System.Web System.IO SaveUpload HttpPostedFileBase file.FileName Path.Combine Directory.Exists Directory.CreateDirectory file.SaveAs What can I do to improve this F# code? I am learning F#, so I have been coming up with small b...
[ 0.004364013671875, -0.0076904296875, 0.0296630859375, 0.0038299560546875, -0.021728515625, 0.01556396484375, -0.018310546875, -0.02197265625, 0.0013275146484375, 0.004241943359375, 0.00946044921875, 0.032470703125, -0.004791259765625, 0.00738525390625, 0.00171661376953125, 0.0178222656...
[ 4865, 831, 87, 54, 47, 52295, 903, 563, 4904, 18151, 1238, 3949, 3742, 1179, 12353, 30474, 17780, 64944, 53234, 63033, 3062, 49411, 297, 174350, 63473, 11435, 163612, 108421, 46187, 31068, 19279, 64370, 63784, 184911, 5464, 272, 19659, 444, ...
[ 0.07080078125, 0.0970458984375, 0.0478515625, 0.07171630859375, 0.05621337890625, 0.216796875, 0.1077880859375, 0.1563720703125, 0.245361328125, 0.2105712890625, 0.1357421875, 0.084228515625, 0.1905517578125, 0.17431640625, 0.1435546875, 0.08380126953125, 0.1915283203125, 0.1606445...
embed
10004740_c0
10004740
fsharp
0
Title: weird behavior using f# class with redis service stack lib Problem title: weird behavior using f# class with redis service stack lib Tags: f%23, redis Problem: weird behavior using f# class with redis service stack lib I'm testing a bit redis using .Net, I've read this tutorial http://www.d80.co.uk/post/2011/05/...
weird behavior using f# class with redis service stack lib weird behavior using f# class with redis service stack lib f%23 redis f# Video this.Id this.Title this.Image this.Url weird behavior using f# class with redis service stack lib I'm testing a bit redis using .Net, I've read this tutorial http://www.d80.co.uk/pos...
[ -0.01287841796875, 0.004241943359375, -0.0012969970703125, 0.0069580078125, 0.014404296875, 0.0021514892578125, -0.0024261474609375, 0.003662109375, -0.0194091796875, -0.0301513671875, -0.006805419921875, -0.01312255859375, 0.01446533203125, -0.00170135498046875, -0.005279541015625, -0...
[ 179459, 123166, 17368, 1238, 4904, 18507, 678, 4842, 164, 4516, 177261, 25474, 3742, 2692, 903, 216960, 134234, 4785, 24447, 12301, 57143, 4836, 80852, 77275, 76228, 121979, 42378, 28960, 79786, 15787, 3900, 19309, 47, 28282, 8781, 10644, 4488,...
[ 0.165771484375, 0.1551513671875, 0.0782470703125, 0.1087646484375, 0.21044921875, 0.1802978515625, 0.05126953125, 0.1260986328125, 0.150634765625, 0.120849609375, 0.148681640625, 0.08294677734375, 0.06939697265625, 0.052001953125, 0.020233154296875, 0.02667236328125, 0.06854248046875...
embed
73289378_c0
73289378
fsharp
0
Title: How to use the window.chrome API in fable Problem title: How to use the window.chrome API in fable Tags: f%23, fable Problem: How to use the window.chrome API in fable I'm going to develop a Chrome extension using fable+feliz, But when I'm coding, I found IDE does not recognize the window.chrome API, which is ve...
How to use the window.chrome API in fable How to use the window.chrome API in fable f%23 fable How window.chrome API How to use the window.chrome API in fable I'm going to develop a Chrome extension using fable+feliz, But when I'm coding, I found IDE does not recognize the window.chrome API, which is very important to ...
[ -0.006561279296875, 0.0146484375, 0.0233154296875, -0.0022430419921875, 0.0035400390625, -0.00004076957702636719, -0.01171875, -0.0189208984375, -0.0245361328125, -0.00909423828125, 0.0120849609375, -0.031494140625, 0.0018157958984375, 0.0223388671875, 0, -0.0030364990234375, -0.0040...
[ 11249, 47, 4527, 76896, 5, 206, 7761, 13, 61687, 23, 1071, 2661, 1238, 3949, 3742, 70, 7730, 85493, 32178, 111938, 17368, 1328, 7510, 1418, 552, 36497, 959, 125296, 4552, 5526, 168698, 20600, 25037, 39, 98169, 50986, 61636, 304, 420, 2886...
[ 0.0992431640625, 0.0167999267578125, 0.1700439453125, 0.1895751953125, 0.031036376953125, 0.08154296875, 0.230224609375, 0.166259765625, 0.2685546875, 0.09893798828125, 0.186279296875, 0.1988525390625, 0.09210205078125, 0.00811767578125, 0.1273193359375, 0.005523681640625, 0.00128173...
embed
53742803_c0
53742803
fsharp
0
Title: Practical differences between Lazy&lt;_&gt; and thunk (fun () -&gt; ...) Problem title: Practical differences between Lazy&lt;_&gt; and thunk (fun () -&gt; ...) Tags: lazy-loading, f%23, .net Problem: Practical differences between Lazy<_> and thunk (fun () -> ...) In the F# core library there are higher-order fu...
Practical differences between Lazy&lt;_&gt; and thunk (fun () -&gt; ...) Practical differences between Lazy&lt;_&gt; and thunk (fun () -&gt; ...) lazy-loading f%23 .net Practical Lazy Option.defaultWith Practical differences between Lazy<_> and thunk (fun () -> ...) In the F# core library there are higher-order functio...
[ 0.0079345703125, 0.00909423828125, 0.0106201171875, -0.0303955078125, -0.00133514404296875, -0.0262451171875, 0.0093994140625, -0.00927734375, 0.01251220703125, -0.001708984375, 0.0029296875, 0.0225830078125, -0.0093994140625, 0.00860595703125, 0.01373291015625, 0.02587890625, 0.0175...
[ 109613, 60212, 17721, 239, 3285, 1230, 1277, 454, 5386, 136, 5675, 3678, 16498, 7, 21, 63033, 1238, 3742, 1179, 86769, 214810, 194583, 563, 4904, 56458, 35773, 1294, 77546, 80596, 32354, 5646, 10, 7477, 5809, 228113, 4127, 102, 8060, 166117...
[ 0.2161865234375, 0.2022705078125, 0.052154541015625, 0.1864013671875, 0.259033203125, 0.00238037109375, 0.05975341796875, 0.0280609130859375, 0.118896484375, 0.023193359375, 0.1497802734375, 0.263916015625, 0.2257080078125, 0.006500244140625, 0.14892578125, 0.1497802734375, 0.0129699...
embed
10792054_c1
10792054
fsharp
1
Random, 's, 's> , evaluator: Func<'s, float>) = let generate = fun (data: 'd) rng -> generator.Invoke(data, rng) let mutate = fun (data: 'd) (rng: Random) (solution: 's) -> mutator.Invoke(data, rng, solution) let evaluate = fun (solution: 's) -> evaluator.Invoke(solution) Problem(data, generate, mutate, evaluate) Whil...
Random, 's, 's> , evaluator: Func<'s, float>) = let generate = fun (data: 'd) rng -> generator.Invoke(data, rng) let mutate = fun (data: 'd) (rng: Random) (solution: 's) -> mutator.Invoke(data, rng, solution) let evaluate = fun (solution: 's) -> evaluator.Invoke(solution) Problem(data, generate, mutate, evaluate) Whil...
[ 0.01239013671875, 0.0299072265625, 0.0008544921875, -0.014404296875, -0.004669189453125, 0.0032958984375, 0.0169677734375, -0.0225830078125, 0.01068115234375, -0.01068115234375, -0.02099609375, -0.0035858154296875, 0.0123291015625, -0.0067138671875, 0, -0.001861572265625, 0.002212524...
[ 39643, 306, 242, 7, 2740, 151575, 748, 28670, 238, 25, 21917, 257, 2203, 2633, 139392, 7477, 10135, 71, 449, 145823, 23253, 13, 31158, 166589, 29806, 15649, 138, 32354, 48903, 7108, 138256, 4568, 13315, 35782, 44116, 4842, 3181, 9815, 36998...
[ 0.1602783203125, 0.154052734375, 0.0228424072265625, 0.0784912109375, 0.031951904296875, 0.1827392578125, 0.18310546875, 0.140869140625, 0.088134765625, 0.03692626953125, 0.1268310546875, 0.036041259765625, 0.003753662109375, 0.1683349609375, 0.236328125, 0.185302734375, 0.1134033203...
embed
44871258_c0
44871258
fsharp
0
Title: How to use fields from other records correctly in F#? Problem title: How to use fields from other records correctly in F#? Tags: multiple-records, records, f%23 Problem: How to use fields from other records correctly in F#? I am currently studying F#, but I am a bit struggling on using records and using their fi...
How to use fields from other records correctly in F#? How to use fields from other records correctly in F#? multiple-records records f%23 other How DateOfBirth Day Month Year Person Name Birthday John Birthday.Day Birthday.Month Birthday.Year How to use fields from other records correctly in F#? I am currently studying...
[ -0.0022125244140625, 0.00213623046875, 0.01483154296875, 0.028076171875, -0.00133514404296875, 0.025146484375, -0.0068359375, 0.0194091796875, 0.0062255859375, -0.0218505859375, -0.01397705078125, 0.01043701171875, 0.029296875, 0.00653076171875, 0.0036773681640625, -0.029541015625, 0...
[ 11249, 4527, 44457, 7, 1295, 3789, 115923, 26785, 538, 563, 4904, 23, 48716, 107, 32271, 1238, 3949, 3742, 132887, 41153, 927, 10013, 12982, 42552, 15270, 15757, 158080, 4939, 97141, 146794, 69085, 47, 35187, 237875, 17368, 1884, 17164, 61924...
[ 0.066162109375, 0.163818359375, 0.26025390625, 0.01324462890625, 0.1285400390625, 0.1583251953125, 0.2030029296875, 0.1268310546875, 0.0225982666015625, 0.1322021484375, 0.22216796875, 0.029876708984375, 0.1558837890625, 0.051544189453125, 0.1810302734375, 0.06671142578125, 0.0055236...
embed
30929286_c1
30929286
fsharp
1
to any particular employee. From this, I infer that the storage must be separate, but I'm open to alternative approaches. So I could do pretty much the same thing as I did with Employees: module Departments = type Department = { Name: string; /* etc. */ } module DepartmentsPersistence = type DepartmentId = ... let get...
to any particular employee. From this, I infer that the storage must be separate, but I'm open to alternative approaches. So I could do pretty much the same thing as I did with Employees: module Departments = type Department = { Name: string; /* etc. */ } module DepartmentsPersistence = type DepartmentId = ... let get...
[ 0.0107421875, 0.00274658203125, -0.00494384765625, 0.0098876953125, 0.00110626220703125, 0.0238037109375, 0.002410888671875, -0.00726318359375, 0.0079345703125, -0.013427734375, 0.007080078125, 0.042236328125, -0.00180816650390625, 0.01043701171875, 0.00179290771484375, 0.0084228515625...
[ 47, 2499, 17311, 188183, 53498, 70, 132096, 8110, 186, 84797, 9803, 30700, 51515, 5809, 54, 5045, 5701, 678, 31678, 365, 1033, 90, 88996, 63557, 7, 10644, 15757, 79315, 1639, 15277, 57702, 6620, 568, 71, 2633, 2046, 4657, 17365, 28350, 35...
[ 0.1473388671875, 0.0516357421875, 0.1458740234375, 0.272216796875, 0.0533447265625, 0.041015625, 0.2529296875, 0.06231689453125, 0.0211944580078125, 0.208251953125, 0.0347900390625, 0.087646484375, 0.13623046875, 0.050689697265625, 0.03399658203125, 0.009857177734375, 0.0658569335937...
embed
4156854_c0
4156854
fsharp
0
Title: in F# on MAC OSX and Ubuntu I get an error running FSI in 4.0 Problem title: in F# on MAC OSX and Ubuntu I get an error running FSI in 4.0 Tags: f%23-interactive, f%23, macos, ubuntu Problem: in F# on MAC OSX and Ubuntu I get an error running FSI in 4.0 I need System.Numerics in F# EDIT I think the question is c...
in F# on MAC OSX and Ubuntu I get an error running FSI in 4.0 in F# on MAC OSX and Ubuntu I get an error running FSI in 4.0 f%23-interactive f%23 macos ubuntu MAC OSX Ubuntu FSI in F# on MAC OSX and Ubuntu I get an error running FSI in 4.0 I need System.Numerics in F# EDIT I think the question is can fsi run with the 4...
[ -0.0211181640625, 0.014892578125, -0.000766754150390625, -0.00106048583984375, -0.0084228515625, -0.001983642578125, 0.005767822265625, 0.005859375, -0.0076904296875, -0.006561279296875, 0.009033203125, 0.000354766845703125, -0.00579833984375, -0.0128173828125, 0.01446533203125, -0.004...
[ 23, 563, 4904, 98, 78826, 11787, 1542, 136, 116890, 2046, 18499, 51042, 9902, 40401, 1238, 167218, 27495, 10433, 71232, 3949, 3742, 291, 7840, 198996, 3871, 12353, 18444, 1991, 28021, 831, 172, 11675, 678, 6032, 222495, 64176, 7568, 919, 89...
[ 0.097412109375, 0.18017578125, 0.233154296875, 0.0139923095703125, 0.1566162109375, 0.1378173828125, 0.1090087890625, 0.04962158203125, 0.190185546875, 0.01416015625, 0.1878662109375, 0.130126953125, 0.266845703125, 0.300048828125, 0.169921875, 0.006988525390625, 0.064697265625, 0....
embed
4559399_c1
4559399
fsharp
1
match op with | '+' -> (+) | '-' -> (-) | '*' -> (*) | '/' | _ -> (/) |> fun op -> loop (oop, op f h, xs) | _, f, xs -> f, xs and (|P|_|) = function | '('::Expr(f, ')'::xs) -> Some(P(f, xs)) | c::_ as xs when '0' <= c && c <= '9' -> let rec loop n = function | c2::xs when '0' <= c2 && c2 <= '9' -> loop (10*n + int(str...
match op with | '+' -> (+) | '-' -> (-) | '*' -> (*) | '/' | _ -> (/) |> fun op -> loop (oop, op f h, xs) | _, f, xs -> f, xs and (|P|_|) = function | '('::Expr(f, ')'::xs) -> Some(P(f, xs)) | c::_ as xs when '0' <= c && c <= '9' -> let rec loop n = function | c2::xs when '0' <= c2 && c2 <= '9' -> loop (10*n + int(str...
[ -0.0037689208984375, -0.00299072265625, -0.007781982421875, 0.0247802734375, 0.00848388671875, 0.0194091796875, 0.013427734375, -0.011962890625, 0.01007080078125, -0.03515625, -0.00124359130859375, -0.007598876953125, 0.003753662109375, -0.004608154296875, -0.0111083984375, -0.01489257...
[ 14858, 233, 678, 1328, 33079, 22183, 9, 1639, 80019, 64, 7477, 40956, 31, 2146, 1238, 1096, 1022, 7, 4, 683, 32354, 19279, 10287, 420, 425, 31384, 58745, 237, 2389, 501, 1230, 1126, 2633, 21954, 653, 304, 15094, 19, 997, 23, 18, 91693...
[ 0.21142578125, 0.223876953125, 0.1041259765625, 0.1409912109375, 0.0281524658203125, 0.119873046875, 0.039276123046875, 0.0273895263671875, 0.017974853515625, 0.05352783203125, 0.1614990234375, 0.178955078125, 0.049774169921875, 0.1947021484375, 0.0521240234375, 0.06640625, 0.0706787...
embed
71157_c0
71157
fsharp
0
Title: Anyone got --standalone option to work in F# CTP? Problem title: Anyone got --standalone option to work in F# CTP? Tags: f%23, functional-programming Problem: Anyone got --standalone option to work in F# CTP? I may have this completely wrong, but my understanding is that the --standalone compiler option tells th...
Anyone got --standalone option to work in F# CTP? Anyone got --standalone option to work in F# CTP? f%23 functional-programming Anyone CTP FSC FS0191 Microsoft.Build.Utilities Anyone got --standalone option to work in F# CTP? I may have this completely wrong, but my understanding is that the --standalone compiler optio...
[ 0.00823974609375, -0.000698089599609375, 0.01287841796875, -0.0147705078125, -0.01611328125, -0.00150299072265625, 0.0128173828125, -0.002960205078125, -0.00872802734375, -0.0279541015625, -0.0084228515625, 0.0172119140625, -0.0038299560546875, 0.020263671875, 0.0147705078125, 0.000142...
[ 4163, 4210, 5165, 11, 51684, 35829, 4488, 563, 4904, 313, 23658, 23, 1238, 3742, 123309, 28966, 3630, 208155, 93774, 12183, 7244, 121137, 24493, 44691, 100094, 9969, 34759, 14192, 26698, 56458, 42548, 97733, 11675, 15700, 36279, 15490, 20600, ...
[ 0.021453857421875, 0.1134033203125, 0.13671875, 0.1199951171875, 0.224365234375, 0.1978759765625, 0.1182861328125, 0.123779296875, 0.25439453125, 0.054840087890625, 0.2138671875, 0.04833984375, 0.0269622802734375, 0.09332275390625, 0.095703125, 0.032958984375, 0.0223388671875, 0.10...
embed
39670921_c0
39670921
fsharp
0
Title: How do I store data in Suave userstate? Problem title: How do I store data in Suave userstate? Tags: f%23, suave Problem: How do I store data in Suave userstate? I have a web part that handles an OAuth callback request. After getting access tokens and the user's id from the API, I want to store it in the session...
How do I store data in Suave userstate? How do I store data in Suave userstate? f%23 suave How Suave ctx.request req.queryParam Choice1Of2 Authentication.authenticated Session Writers.setUserData Redirection.redirect RequestErrors.UNAUTHORIZED How do I store data in Suave userstate? I have a web part that handles an OA...
[ 0.004547119140625, -0.000858306884765625, -0.00125885009765625, -0.006866455078125, 0.005767822265625, 0.0201416015625, 0.004974365234375, 0.00087738037109375, -0.008056640625, -0.0274658203125, -0.00909423828125, 0.00830078125, -0.009765625, -0.0145263671875, 0.0042724609375, -0.00253...
[ 11249, 54, 87, 4343, 2053, 23, 45384, 272, 72095, 19888, 1238, 3949, 3742, 109829, 108963, 425, 107, 75616, 864, 944, 55292, 181948, 132887, 304, 52236, 63250, 92733, 7636, 148735, 2783, 3509, 1062, 2189, 137989, 936, 80581, 18468, 31611, 8...
[ 0.10491943359375, 0.042388916015625, 0.03228759765625, 0.2247314453125, 0.1968994140625, 0.09088134765625, 0.2484130859375, 0.27783203125, 0.175048828125, 0.2188720703125, 0.0062255859375, 0.009613037109375, 0.0810546875, 0.26513671875, 0.032867431640625, 0.1278076171875, 0.010925292...
embed
59012761_c1
59012761
fsharp
1
structure may change in any way, at any time. There is no guarantee that all nodes are connected to a common root. Multiple "trees" may exist and may then be connected at any time. Prior solutions (oop) When I've solved this before in C#, I had a List of Node-objects. All Node-objects had two possible inputs and an ou...
structure may change in any way, at any time. There is no guarantee that all nodes are connected to a common root. Multiple "trees" may exist and may then be connected at any time. Prior solutions (oop) When I've solved this before in C#, I had a List of Node-objects. All Node-objects had two possible inputs and an ou...
[ -0.0037994384765625, 0.0086669921875, 0.00787353515625, 0.00701904296875, -0.0091552734375, 0.0260009765625, -0.01080322265625, -0.011474609375, 0.01458740234375, -0.0296630859375, -0.0078125, -0.007354736328125, -0.00537109375, 0.0038299560546875, 0.01312255859375, -0.017333984375, ...
[ 45646, 1543, 15549, 2499, 3917, 1733, 110, 142027, 756, 988, 162711, 39210, 74855, 19335, 8705, 2921, 90, 32316, 51347, 86869, 23, 313, 4904, 32036, 438, 112, 187694, 3164, 6626, 7722, 107730, 140992, 150011, 54811, 15490, 83324, 7, 195625, ...
[ 0.2294921875, 0.110595703125, 0.181396484375, 0.06719970703125, 0.1080322265625, 0.0789794921875, 0.15380859375, 0.131103515625, 0.09130859375, 0.1375732421875, 0.143310546875, 0.09344482421875, 0.1885986328125, 0.045745849609375, 0.012786865234375, 0.167724609375, 0.05938720703125, ...
embed
50750907_c0
50750907
fsharp
0
Title: This expression was expected to have type &#x27;unit&#x27; but here has type &#x27;unit []&#x27; for Async.Parallel |&gt; Async.RunSynchronously Problem title: This expression was expected to have type &#x27;unit&#x27; but here has type &#x27;unit []&#x27; for Async.Parallel |&gt; Async.RunSynchronously Tags: f%...
This expression was expected to have type &#x27;unit&#x27; but here has type &#x27;unit []&#x27; for Async.Parallel |&gt; Async.RunSynchronously This expression was expected to have type &#x27;unit&#x27; but here has type &#x27;unit []&#x27; for Async.Parallel |&gt; Async.RunSynchronously f%23 Async.Parallel Async.RunS...
[ -0.00555419921875, 0.0203857421875, 0.00193023681640625, -0.004638671875, -0.00982666015625, -0.010498046875, 0.004364013671875, 0.0047607421875, -0.0107421875, -0.006622314453125, -0.0037689208984375, 0.0206298828125, 0.0145263671875, 0.00787353515625, 0.0091552734375, 0.003662109375,...
[ 3293, 125195, 509, 84751, 10644, 3768, 309, 217, 1284, 3688, 1556, 12654, 238, 55292, 1229, 163321, 217835, 127, 1900, 79850, 62, 1238, 3742, 503, 864, 16840, 62346, 188, 7614, 7092, 151206, 93774, 188735, 25632, 18151, 5201, 32354, 563, 49...
[ 0.00152587890625, 0.25146484375, 0.002685546875, 0.1767578125, 0.2017822265625, 0.1146240234375, 0.151123046875, 0.1168212890625, 0.03485107421875, 0.032318115234375, 0.000732421875, 0.213623046875, 0.0224456787109375, 0.080322265625, 0.158447265625, 0.1116943359375, 0.09039306640625...
embed
20249137_c1
20249137
fsharp
1
) cmd.CommandType <- CommandType.Text use reader = cmd.ExecuteReader() if (reader.HasRows) then ( reader.Read() |> ignore let userName = reader.GetString(5) let password = reader.GetString(6) Some { userName = userName; password = password; downloadDir = "zzz" } ) else ( printfn "Cannot find login information." None ) ...
) cmd.CommandType <- CommandType.Text use reader = cmd.ExecuteReader() if (reader.HasRows) then ( reader.Read() |> ignore let userName = reader.GetString(5) let password = reader.GetString(6) Some { userName = userName; password = password; downloadDir = "zzz" } ) else ( printfn "Cannot find login information." None ) ...
[ -0.00138092041015625, 0.031982421875, 0.0019683837890625, 0.0181884765625, -0.0078125, -0.0277099609375, -0.00396728515625, -0.007110595703125, 0.005035400390625, -0.01123046875, 0.007415771484375, -0.005645751953125, 0.009521484375, -0.0255126953125, -0.00726318359375, -0.007446289062...
[ 1827, 71, 10770, 12018, 196707, 123573, 174379, 4527, 155255, 211603, 13, 31345, 56, 1283, 820, 6495, 12724, 19725, 124962, 2633, 38937, 163612, 71713, 124534, 78506, 169073, 31384, 7026, 481, 177033, 28412, 14783, 54694, 10869, 7413, 73655, 46...
[ 0.1680908203125, 0.0941162109375, 0.083984375, 0.1761474609375, 0.2210693359375, 0.17578125, 0.132080078125, 0.07135009765625, 0.2437744140625, 0.1387939453125, 0.005126953125, 0.2213134765625, 0.0858154296875, 0.1422119140625, 0.0693359375, 0.064697265625, 0.08160400390625, 0.0332...
embed
10588506_c0
10588506
fsharp
0
Title: Type inference: functions vs types Problem title: Type inference: functions vs types Tags: f%23 Problem: Type inference: functions vs types I am learning F# and I don't understand how type inference and generics work in this language. For example, I can declare a generic min function and use it with parameters o...
Type inference: functions vs types Type inference: functions vs types f%23 Type Point2D this.X this.Y float32Point float32 Type inference: functions vs types I am learning F# and I don't understand how type inference and generics work in this language. For example, I can declare a generic min function and use it with p...
[ 0.0146484375, -0.006683349609375, 0.018798828125, -0.00159454345703125, -0.0050048828125, 0.0036163330078125, 0.01043701171875, -0.00176239013671875, 0.00994873046875, -0.00665283203125, -0.0067138671875, -0.0174560546875, 0.00653076171875, -0.01904296875, 0.0150146484375, 0.0153808593...
[ 60457, 53498, 6620, 32354, 20209, 52895, 7, 1238, 3742, 41097, 397, 903, 1542, 1723, 21917, 6460, 147534, 52080, 563, 4904, 28219, 10644, 136, 189534, 4488, 46876, 159978, 881, 4527, 171859, 12921, 9790, 5701, 678, 18, 44084, 456, 4032, 809...
[ 0.264892578125, 0.2095947265625, 0.10662841796875, 0.206298828125, 0.1834716796875, 0.247802734375, 0.0269775390625, 0.004364013671875, 0.0482177734375, 0.0987548828125, 0.012969970703125, 0.0616455078125, 0.035858154296875, 0.0552978515625, 0.048675537109375, 0.061676025390625, 0.03...
embed
48542766_c0
48542766
fsharp
0
Title: Is there a way to have the .NET GC manage Cuda memory? Problem title: Is there a way to have the .NET GC manage Cuda memory? Tags: .net, cuda, f%23, garbage-collection Problem: Is there a way to have the .NET GC manage Cuda memory? I am working on a language that compiles to both F# and Cuda. While I have no pro...
Is there a way to have the .NET GC manage Cuda memory? Is there a way to have the .NET GC manage Cuda memory? .net cuda f%23 garbage-collection NET Cuda Is there a way to have the .NET GC manage Cuda memory? I am working on a language that compiles to both F# and Cuda. While I have no problem with memory management for...
[ 0.01007080078125, 0.045654296875, 0.01153564453125, 0.0150146484375, -0.00439453125, 0.005706787109375, -0.00021839141845703125, 0.023681640625, 0.01214599609375, -0.044921875, 0.006256103515625, 0.00031280517578125, 0.000141143798828125, 0.0038299560546875, 0.004486083984375, -0.00102...
[ 2071, 2685, 10, 3917, 765, 5, 17777, 69657, 111240, 3003, 85, 98323, 47, 6, 1179, 314, 1238, 3949, 3742, 3671, 402, 429, 196352, 70, 20697, 46876, 9969, 1340, 15044, 563, 4904, 136, 110, 2967, 24365, 36746, 123867, 3934, 51, 4707, 2831,...
[ 0.04815673828125, 0.05352783203125, 0.02886962890625, 0.107666015625, 0.05474853515625, 0.08184814453125, 0.2088623046875, 0.2393798828125, 0.21630859375, 0.2467041015625, 0.21728515625, 0.25537109375, 0.03704833984375, 0.020843505859375, 0.132080078125, 0.18603515625, 0.017181396484...
embed
50770433_c0
50770433
fsharp
0
Title: Trying to create a function, and then filtering a sequence by &quot;not that function&quot; in F# Problem title: Trying to create a function, and then filtering a sequence by &quot;not that function&quot; in F# Tags: f%23 Problem: Trying to create a function, and then filtering a sequence by "not that function" ...
Trying to create a function, and then filtering a sequence by &quot;not that function&quot; in F# Trying to create a function, and then filtering a sequence by &quot;not that function&quot; in F# f%23 Trying Csvfile CsvProvider Csvfile.GetSample Rows row.Id Seq.filter Trying to create a function, and then filtering a s...
[ 0.01806640625, 0.026123046875, 0.01361083984375, 0.03369140625, 0.001739501953125, -0.00628662109375, 0.0308837890625, 0.025146484375, 0.005462646484375, 0.004852294921875, -0.038330078125, 0.007415771484375, -0.01513671875, 0.01458740234375, 0.017578125, 0.00555419921875, 0.00686645...
[ 40858, 28282, 32354, 7068, 46312, 40, 944, 3956, 390, 10869, 450, 563, 4904, 1238, 3742, 313, 67756, 29822, 177997, 5464, 33209, 96190, 15555, 568, 71, 503, 864, 120337, 136, 2053, 6755, 102361, 139016, 2839, 54047, 9285, 12013, 1837, 19051...
[ 0.08544921875, 0.157470703125, 0.1937255859375, 0.0076904296875, 0.2220458984375, 0.0693359375, 0.1204833984375, 0.06170654296875, 0.0192108154296875, 0.218017578125, 0.1441650390625, 0.103515625, 0.1883544921875, 0.004608154296875, 0.077880859375, 0.007537841796875, 0.1746826171875,...
embed
3603231_c1
3603231
fsharp
1
, and that is easy enough to do for the getter but I can't seem to figure out the setter. I realize I could defer to reflection for this - but I feel that might not be the best (f#) way... AT this point I am at: let scoreField (accessF : (ScorableCandidate -> int)) (setF : (float -> unit)) = let totalScore = List.fold ...
, and that is easy enough to do for the getter but I can't seem to figure out the setter. I realize I could defer to reflection for this - but I feel that might not be the best (f#) way... AT this point I am at: let scoreField (accessF : (ScorableCandidate -> int)) (setF : (float -> unit)) = let totalScore = List.fold ...
[ -0.009521484375, 0.01153564453125, 0.012939453125, -0.00927734375, -0.0032806396484375, -0.03466796875, 0.01531982421875, 0.00927734375, 0.0240478515625, 0.0034942626953125, 0.01397705078125, 0.042236328125, -0.01116943359375, -0.01422119140625, 0.007049560546875, -0.0172119140625, -...
[ 23468, 20174, 2046, 720, 831, 18, 48903, 26366, 1810, 70, 88685, 92154, 2875, 44961, 1830, 12319, 13648, 2965, 420, 4904, 6275, 2633, 47763, 6159, 19388, 113041, 919, 10517, 2886, 8915, 3509, 52347, 25072, 3622, 30854, 32036, 42822, 16498, ...
[ 0.081787109375, 0.0306396484375, 0.12353515625, 0.176513671875, 0.02166748046875, 0.041107177734375, 0.052947998046875, 0.1170654296875, 0.099609375, 0.0963134765625, 0.29541015625, 0.0168609619140625, 0.07586669921875, 0.1927490234375, 0.1265869140625, 0.041107177734375, 0.000427246...
embed
9400439_c0
9400439
fsharp
0
Title: How to initialize record with option types in fsharp Problem title: How to initialize record with option types in fsharp Tags: option-type, mutable, initialization, f%23 Problem: How to initialize record with option types in fsharp do you know how I can initialize the variable ret below ? type ReferenceDataRespo...
How to initialize record with option types in fsharp How to initialize record with option types in fsharp option-type mutable initialization f%23 ResponseError How ReferenceDataResponse SecurityDatas SecurityData ToReferenceDataResponse elem:Bloomberglp.Blpapi.Element elem.HasElement ZeroOrMany Many None How to initial...
[ 0.0040283203125, 0.01019287109375, 0.00799560546875, -0.00762939453125, 0.00787353515625, -0.00830078125, 0.00927734375, -0.021728515625, -0.00390625, 0.030517578125, -0.0002155303955078125, 0.00537109375, 0.03271484375, 0.00238037109375, 0.01318359375, 0.00057220458984375, 0.0227050...
[ 11249, 61475, 20650, 17164, 678, 35829, 52895, 1238, 89280, 254, 50986, 842, 22819, 47691, 3742, 92748, 215996, 94399, 48748, 137989, 717, 69988, 195, 86877, 4969, 40897, 19929, 6495, 83947, 19060, 12662, 52455, 438, 86, 77336, 10267, 35064, ...
[ 0.03167724609375, 0.2015380859375, 0.1243896484375, 0.2071533203125, 0.113037109375, 0.2587890625, 0.2003173828125, 0.113525390625, 0.169677734375, 0.1383056640625, 0.1427001953125, 0.1087646484375, 0.1571044921875, 0.014984130859375, 0.0860595703125, 0.05059814453125, 0.130859375, ...
embed
40359664_c0
40359664
fsharp
0
Title: F# try-with combined with reraise() returns valid type. Why? Problem title: F# try-with combined with reraise() returns valid type. Why? Tags: f%23, try-catch, exception Problem: F# try-with combined with reraise() returns valid type. Why? I am trying to figure out the try-with in F#. And as i understood it, the...
F# try-with combined with reraise() returns valid type. Why? F# try-with combined with reraise() returns valid type. Why? f%23 try-catch exception System.IndexOutOfRangeException Why Array ex.Message F# try-with combined with reraise() returns valid type. Why? I am trying to figure out the try-with in F#. And as i unde...
[ -0.00946044921875, 0.020263671875, -0.000377655029296875, -0.0016632080078125, -0.00213623046875, -0.0211181640625, -0.00616455078125, -0.00726318359375, 0.004913330078125, -0.01458740234375, 0.01251220703125, 0.01025390625, -0.00616455078125, 0.00616455078125, 0.017822265625, -0.02355...
[ 563, 4904, 9790, 76228, 70163, 678, 456, 12794, 13, 132, 30646, 35604, 10644, 44084, 71, 1238, 3742, 4460, 206, 131527, 12353, 39659, 79858, 132887, 1052, 51459, 19279, 63928, 69253, 53, 1119, 6011, 7, 26366, 9, 8110, 31943, 111, 15400, 1...
[ 0.1343994140625, 0.201416015625, 0.22119140625, 0.256591796875, 0.160888671875, 0.1729736328125, 0.1270751953125, 0.2294921875, 0.12841796875, 0.04547119140625, 0.207763671875, 0.18994140625, 0.199951171875, 0.08544921875, 0.034637451171875, 0.07806396484375, 0.0865478515625, 0.078...
embed
5757172_c0
5757172
fsharp
0
Title: F# -&gt; Generic type - Multiple not struct Problem title: F# -&gt; Generic type - Multiple not struct Tags: f%23 Problem: F# -> Generic type - Multiple not struct My first thought was: type ManyNavigationPropertyInfo<'a,'b>(cfg:ManyNavigationPropertyConfiguration<'a, 'b>) = however it resolves 'a and 'b as obj ...
F# -&gt; Generic type - Multiple not struct F# -&gt; Generic type - Multiple not struct f%23 Generic Multiple ManyNavigationPropertyInfo cfg:ManyNavigationPropertyConfiguration x.WithMany Expr ICollection cfg.WithMany ToLinq F# -> Generic type - Multiple not struct My first thought was: however it resolves 'a and 'b as...
[ -0.016357421875, 0.0260009765625, -0.00122833251953125, -0.01226806640625, -0.01116943359375, 0.0033416748046875, -0.007232666015625, -0.024169921875, 0.02099609375, -0.01336669921875, -0.0107421875, -0.0028533935546875, 0, -0.01165771484375, 0.001800537109375, 0.0201416015625, 0.002...
[ 563, 4904, 5386, 88342, 1771, 10644, 19335, 8705, 959, 36716, 1238, 3742, 52455, 4645, 24299, 1264, 93147, 67466, 12662, 53, 59994, 2320, 1022, 194583, 42, 45878, 717, 44982, 17569, 103608, 11, 136, 242, 275, 237, 995, 170, 1284, 5608, 18...
[ 0.093994140625, 0.146240234375, 0.0325927734375, 0.165771484375, 0.032867431640625, 0.2158203125, 0.177490234375, 0.1951904296875, 0.1922607421875, 0.1986083984375, 0.052490234375, 0.0858154296875, 0.1124267578125, 0.050933837890625, 0.15966796875, 0.0968017578125, 0.1180419921875, ...
embed
3194806_c0
3194806
fsharp
0
Title: Is it possible in F# to curry a middle function argument? Problem title: Is it possible in F# to curry a middle function argument? Tags: f%23, currying Problem: Is it possible in F# to curry a middle function argument? Here's code that works fine: let f x y z = x + y + z let g x y = f x y let h x z = z |> f x So...
Is it possible in F# to curry a middle function argument? Is it possible in F# to curry a middle function argument? f%23 currying fun:it Is it possible in F# to curry a middle function argument? Here's code that works fine: So I can write expression "h 1", and FSI displays: If I call "h 1 2 3", the arguments are applie...
[ -0.000812530517578125, -0.00823974609375, 0.01336669921875, 0.004913330078125, 0.0032501220703125, 0.0005035400390625, 0.008056640625, -0.0203857421875, 0.005035400390625, 0.038330078125, 0.01202392578125, -0.00341796875, 0.00048065185546875, -0.00872802734375, 0.006011962890625, -0.02...
[ 2071, 442, 7722, 23, 563, 4904, 47, 198555, 10, 86991, 32354, 10750, 1238, 3742, 214, 7477, 217, 18151, 43240, 5885, 831, 33022, 125195, 127, 106, 9902, 44116, 11782, 116, 138, 190659, 7108, 12989, 4568, 12921, 10644, 51659, 113660, 18499, ...
[ 0.07830810546875, 0.061553955078125, 0.1556396484375, 0.066162109375, 0.15283203125, 0.21826171875, 0.05731201171875, 0.2802734375, 0.048187255859375, 0.2154541015625, 0.185791015625, 0.2271728515625, 0.098388671875, 0.101318359375, 0.1082763671875, 0.1585693359375, 0.09051513671875,...
embed
37434335_c0
37434335
fsharp
0
Title: how to subscribe and view dead letters in F# Problem title: how to subscribe and view dead letters in F# Tags: f%23, dead-letter, akka Problem: how to subscribe and view dead letters in F# I have tried following code to view/capture dead letters but it is not working in a way it should. What I am missing.exactly...
how to subscribe and view dead letters in F# how to subscribe and view dead letters in F# f%23 dead-letter akka ActorSystem.Create FSharp EchoServer mailbox.Receive Echo system.EventStream.Subscribe DeadLetterActorRef echoServer.Tell First Message Second system.DeadLetters.Tell Dead how to subscribe and view dead lette...
[ 0.01422119140625, 0.045166015625, -0.020263671875, -0.015380859375, 0.006072998046875, -0.0115966796875, -0.006591796875, 0.0240478515625, 0.00144195556640625, -0.013671875, 0.00787353515625, 0.00811767578125, 0.01544189453125, 0.016357421875, 0.016845703125, 0.007354736328125, 0.001...
[ 3642, 47, 1614, 34601, 136, 21455, 103494, 120820, 23, 563, 4904, 1238, 3742, 63049, 81866, 185617, 84293, 93774, 3467, 254, 3089, 193348, 11728, 5844, 5426, 192134, 115061, 96472, 51952, 5267, 3055, 18770, 190015, 6796, 48205, 712, 124480, 2...
[ 0.05023193359375, 0.03277587890625, 0.140380859375, 0.221435546875, 0.126220703125, 0.2230224609375, 0.2061767578125, 0.2431640625, 0.064453125, 0.134521484375, 0.1956787109375, 0.0828857421875, 0.10113525390625, 0.2012939453125, 0.1175537109375, 0.1177978515625, 0.05377197265625, ...
embed
61167286_c1
61167286
fsharp
1
switched-on the Excel Option "Show add-in user interface errors" option (under the Advanced tab under General) . The error message I got while pressing on Button3 is : An exception occurred while calling function "OnDumpDate". Exception message is : Could not load file or assembly 'office, Version=15.0.0.0, Culture=ne...
switched-on the Excel Option "Show add-in user interface errors" option (under the Advanced tab under General) . The error message I got while pressing on Button3 is : An exception occurred while calling function "OnDumpDate". Exception message is : Could not load file or assembly 'office, Version=15.0.0.0, Culture=ne...
[ 0.00848388671875, 0.0157470703125, -0.01165771484375, 0.0284423828125, -0.00799560546875, 0.025390625, -0.0166015625, 0.005462646484375, -0.0025787353515625, -0.01129150390625, -0.01708984375, -0.005828857421875, 0.0269775390625, -0.000888824462890625, 0.008056640625, -0.00146484375, ...
[ 101089, 191, 30326, 86769, 168660, 15190, 73, 38937, 101758, 18499, 35829, 127596, 20928, 9082, 26008, 24234, 144037, 363, 131527, 159029, 32354, 20320, 17726, 2676, 86291, 5443, 63928, 191147, 959, 72367, 11435, 707, 89845, 38526, 65024, 40647, ...
[ 0.103515625, 0.09136962890625, 0.2266845703125, 0.166015625, 0.07818603515625, 0.044952392578125, 0.086669921875, 0.0733642578125, 0.162109375, 0.15380859375, 0.1055908203125, 0.101318359375, 0.03643798828125, 0.0693359375, 0.06427001953125, 0.0892333984375, 0.1527099609375, 0.1193...
embed
16198979_c0
16198979
fsharp
0
Title: How are F#&#x27;s Discriminated Unions different from Scala&#x27;s Case Classes? or are they the same? Problem title: How are F#&#x27;s Discriminated Unions different from Scala&#x27;s Case Classes? or are they the same? Tags: scala, f%23, discriminated-union, case-class Problem: How are F#'s Discriminated Union...
How are F#&#x27;s Discriminated Unions different from Scala&#x27;s Case Classes? or are they the same? How are F#&#x27;s Discriminated Unions different from Scala&#x27;s Case Classes? or are they the same? scala f%23 discriminated-union case-class Scala How Discriminated Unions Case Classes Shape Circle Square How are ...
[ 0.025146484375, 0.0206298828125, 0.0157470703125, -0.0155029296875, -0.00799560546875, -0.01202392578125, -0.00469970703125, -0.0047607421875, 0.01904296875, 0.0054931640625, 0.00799560546875, 0.0106201171875, 0.0048828125, -0.002685546875, 0.00244140625, -0.0098876953125, 0.03100585...
[ 11249, 563, 3768, 6206, 135421, 3674, 32528, 7, 12921, 1295, 152653, 11, 43731, 35014, 90, 707, 5701, 146232, 1238, 3742, 55970, 87046, 7225, 67413, 7224, 1081, 163731, 68305, 621, 4904, 5809, 102337, 40099, 4488, 69941, 23937, 18507, 37202, ...
[ 0.046173095703125, 0.10675048828125, 0.008697509765625, 0.04248046875, 0.1849365234375, 0.046966552734375, 0.2022705078125, 0.035980224609375, 0.158203125, 0.048309326171875, 0.172607421875, 0.0965576171875, 0.203369140625, 0.2154541015625, 0.04345703125, 0.0163421630859375, 0.100463...
embed
4223500_c0
4223500
fsharp
0
Title: Options for compute bound parallel processing on lists in F# Problem title: Options for compute bound parallel processing on lists in F# Tags: parallel-processing, f%23, asynchronous Problem: Options for compute bound parallel processing on lists in F# async{} workflow is easy to use and gives good results on as...
Options for compute bound parallel processing on lists in F# Options for compute bound parallel processing on lists in F# parallel-processing f%23 asynchronous Options Options for compute bound parallel processing on lists in F# async{} workflow is easy to use and gives good results on asynchronous operations like IO. ...
[ -0.00994873046875, 0.0137939453125, 0.00201416015625, -0.00086212158203125, -0.009765625, -0.006622314453125, 0.0169677734375, -0.01123046875, 0.0201416015625, -0.007293701171875, -0.01373291015625, 0.01153564453125, 0.0257568359375, 0.017822265625, -0.0142822265625, 0.012451171875, ...
[ 152448, 9969, 6743, 99091, 95103, 9433, 98, 5303, 7, 563, 4904, 214, 63923, 1238, 3742, 12654, 101966, 10, 238, 4488, 118664, 23468, 4527, 4127, 50339, 41018, 17780, 35829, 2053, 17777, 136719, 7192, 929, 26828, 64330, 108259, 56, 11522, 50...
[ 0.2176513671875, 0.1051025390625, 0.0938720703125, 0.237060546875, 0.2484130859375, 0.128173828125, 0.050048828125, 0.206787109375, 0.012542724609375, 0.1302490234375, 0.212158203125, 0.03936767578125, 0.1170654296875, 0.043243408203125, 0.081298828125, 0.143798828125, 0.129760742187...
embed
10655679_c0
10655679
fsharp
0
Title: What is the syntax to assign multiple enum values to a property in F#? Problem title: What is the syntax to assign multiple enum values to a property in F#? Tags: enums, f%23, servicestack Problem: What is the syntax to assign multiple enum values to a property in F#? I am writing a ServiceStack webservice in F#...
What is the syntax to assign multiple enum values to a property in F#? What is the syntax to assign multiple enum values to a property in F#? enums f%23 servicestack What SetConfig EndpointHostConfig DebugMode Show StackTraces EnableFeatures Feature.Json Feature.Xml Feature.Html Feature.Metadata Feature.Jsv What is the...
[ -0.01483154296875, -0.01348876953125, 0.0086669921875, 0.02001953125, -0.01226806640625, -0.0003871917724609375, -0.021240234375, -0.019775390625, -0.00098419189453125, 0.019775390625, 0.01373291015625, 0.0245361328125, 0.02880859375, -0.0004444122314453125, -0.0011749267578125, -0.006...
[ 6002, 86531, 95486, 48716, 22, 316, 142424, 57266, 563, 4904, 47, 10321, 1238, 3742, 11374, 102, 2594, 19943, 83671, 18878, 38496, 11193, 262, 85779, 9083, 17367, 6512, 28542, 357, 2886, 30154, 106594, 1681, 67756, 32562, 12349, 42378, 1467, ...
[ 0.1405029296875, 0.25244140625, 0.2288818359375, 0.2408447265625, 0.138671875, 0.2347412109375, 0.1826171875, 0.22607421875, 0.130859375, 0.21875, 0.040863037109375, 0.22119140625, 0.04718017578125, 0.11279296875, 0.06829833984375, 0.049072265625, 0.08416748046875, 0.07574462890625...
embed
22696693_c0
22696693
fsharp
0
Title: Difference in behaviour between primary constructors in F# classes and structs? Problem title: Difference in behaviour between primary constructors in F# classes and structs? Tags: visual-studio-2013, f%23 Problem: Difference in behaviour between primary constructors in F# classes and structs? If I try this type...
Difference in behaviour between primary constructors in F# classes and structs? Difference in behaviour between primary constructors in F# classes and structs? visual-studio-2013 f%23 Difference Foo x.bar visual-studio-2013 Difference in behaviour between primary constructors in F# classes and structs? If I try this ty...
[ 0.0089111328125, 0.0216064453125, -0.0078125, 0.00750732421875, 0.0106201171875, 0.0024566650390625, 0.0002651214599609375, 0.0020751953125, 0.0023193359375, 0.00567626953125, -0.00153350830078125, 0.0113525390625, 0.01324462890625, 0.010498046875, 0.007568359375, 0.005584716796875, ...
[ 803, 18234, 6620, 23, 224833, 17721, 158978, 64549, 25251, 563, 4904, 61112, 136, 36716, 7, 21176, 52629, 74790, 1238, 3742, 9572, 31, 1022, 1299, 9790, 10644, 80934, 73372, 22968, 25129, 24159, 18499, 15549, 83, 10, 18507, 64457, 60899, 16...
[ 0.083740234375, 0.1697998046875, 0.0758056640625, 0.0389404296875, 0.205810546875, 0.06097412109375, 0.1558837890625, 0.191650390625, 0.120849609375, 0.1224365234375, 0.2066650390625, 0.2064208984375, 0.052520751953125, 0.2066650390625, 0.07525634765625, 0.138916015625, 0.15893554687...
embed
30778682_c0
30778682
fsharp
0
Title: group by until changed sequence Problem title: group by until changed sequence Tags: grouping, sequence, type-providers, excel, f%23 Problem: group by until changed sequence I have a big Excel file, which i read with Excel Provider in F#. The rows should be grouped by some column. Processing crashes with OutOfMe...
group by until changed sequence group by until changed sequence grouping sequence type-providers excel f%23 OutOfMemoryException Seq.groupBy Point point.x group by until changed sequence I have a big Excel file, which i read with Excel Provider in F#. The rows should be grouped by some column. Processing crashes with O...
[ 0.017822265625, 0.019287109375, -0.011474609375, 0.01458740234375, -0.01025390625, -0.01190185546875, 0.01129150390625, 0.01470947265625, -0.00079345703125, 0.00787353515625, -0.01171875, 0.039794921875, 0.0037384033203125, 0.01458740234375, 0.003387451171875, 0.007232666015625, -0.0...
[ 21115, 390, 24189, 98816, 40, 944, 10644, 93136, 14202, 64152, 3742, 13538, 132887, 6696, 4514, 19279, 63928, 503, 864, 51588, 75358, 41097, 6275, 425, 3956, 6957, 30326, 11435, 12301, 123089, 42, 563, 4904, 15555, 7, 5608, 37769, 3365, 316...
[ 0.2186279296875, 0.17578125, 0.203125, 0.2401123046875, 0.0592041015625, 0.1553955078125, 0.10888671875, 0.1529541015625, 0.046783447265625, 0.166259765625, 0.03704833984375, 0.163330078125, 0.2352294921875, 0.088134765625, 0.1416015625, 0.052032470703125, 0.1693115234375, 0.071289...
embed
8190334_c0
8190334
fsharp
0
Title: Mono, F# libraries not working under Mac OSX Problem title: Mono, F# libraries not working under Mac OSX Tags: mono, macos, f%23, f%23-interactive Problem: Mono, F# libraries not working under Mac OSX I have a very simple question. I tried to google it, but to no avail. I installed Mono and F# with Macports in O...
Mono, F# libraries not working under Mac OSX Mono, F# libraries not working under Mac OSX mono macos f%23 f%23-interactive Mono Mac OSX List.filter List.sum test.fs FS0039 Mono, F# libraries not working under Mac OSX I have a very simple question. I tried to google it, but to no avail. I installed Mono and F# with Macp...
[ -0.01092529296875, -0.004638671875, 0.00653076171875, -0.002655029296875, 0.00970458984375, 0.0133056640625, -0.0059814453125, -0.0029449462890625, -0.004608154296875, -0.006500244140625, -0.0033111572265625, -0.030029296875, 0.005401611328125, -0.003875732421875, 0.022705078125, -0.02...
[ 77879, 4, 563, 4904, 35773, 10484, 959, 20697, 1379, 4727, 11787, 1542, 22460, 7840, 1238, 3742, 27495, 10433, 32036, 120337, 11832, 3034, 17447, 93774, 9323, 8781, 26484, 20600, 136, 6982, 54608, 212398, 1821, 11782, 2263, 13736, 2967, 10297...
[ 0.26708984375, 0.0330810546875, 0.155029296875, 0.2283935546875, 0.20166015625, 0.0872802734375, 0.05535888671875, 0.145751953125, 0.15966796875, 0.1448974609375, 0.133056640625, 0.0914306640625, 0.21728515625, 0.076416015625, 0.09088134765625, 0.05548095703125, 0.01080322265625, 0...
embed
49848585_c1
49848585
fsharp
1
new TestPackage(path) package.AddSetting("WorkDirectory", Environment.CurrentDirectory) let engine = TestEngineActivator.CreateInstance() let filterService = engine.Services.GetService<ITestFilterService>() let filterBuilder = filterService.GetTestFilterBuilder() I don't even know if it works, as I cannot run it until...
new TestPackage(path) package.AddSetting("WorkDirectory", Environment.CurrentDirectory) let engine = TestEngineActivator.CreateInstance() let filterService = engine.Services.GetService<ITestFilterService>() let filterBuilder = filterService.GetTestFilterBuilder() I don't even know if it works, as I cannot run it until...
[ 0.0113525390625, 0.0211181640625, -0.00848388671875, -0.0303955078125, -0.0250244140625, 0.004180908203125, -0.000827789306640625, -0.01483154296875, 0.00031280517578125, 0.007080078125, 0.00145721435546875, 0.021240234375, -0.0228271484375, -0.00408935546875, -0.005706787109375, 0.023...
[ 3525, 8647, 205956, 4588, 128405, 98169, 4028, 4233, 19514, 108259, 184911, 30675, 686, 1900, 474, 15724, 2633, 87907, 91384, 1212, 164414, 4597, 63784, 116071, 46312, 121979, 6371, 525, 919, 379, 720, 121137, 126, 111337, 3714, 2174, 442, 43...
[ 0.0616455078125, 0.1837158203125, 0.1973876953125, 0.1077880859375, 0.1619873046875, 0.187255859375, 0.0946044921875, 0.1148681640625, 0.028472900390625, 0.0882568359375, 0.15966796875, 0.09197998046875, 0.06353759765625, 0.10986328125, 0.0604248046875, 0.0909423828125, 0.03686523437...
embed
3757126_c0
3757126
fsharp
0
Title: How does F# compile functions that can take multiple different parameter types into IL? Problem title: How does F# compile functions that can take multiple different parameter types into IL? Tags: cil, compilation, f%23 Problem: How does F# compile functions that can take multiple different parameter types into ...
How does F# compile functions that can take multiple different parameter types into IL? How does F# compile functions that can take multiple different parameter types into IL? cil compilation f%23 How Method How does F# compile functions that can take multiple different parameter types into IL? I know virtually nothing...
[ 0.000911712646484375, -0.00439453125, -0.003509521484375, 0.006103515625, -0.0198974609375, 0.0107421875, -0.00128936767578125, -0.02001953125, 0.003448486328125, -0.00860595703125, -0.0019683837890625, -0.037841796875, -0.007476806640625, 0.022216796875, 0.0025634765625, -0.0083618164...
[ 11249, 563, 4904, 9969, 1340, 32354, 831, 5646, 48716, 12921, 171859, 52895, 3934, 30219, 14602, 13003, 98352, 1238, 3949, 3742, 74644, 7, 3714, 33720, 6002, 86531, 27781, 6868, 159978, 7722, 79315, 892, 21373, 55300, 645, 63033, 23, 313, 1...
[ 0.096435546875, 0.161865234375, 0.2371826171875, 0.17041015625, 0.15283203125, 0.212158203125, 0.09674072265625, 0.10888671875, 0.183349609375, 0.1527099609375, 0.2122802734375, 0.1986083984375, 0.116943359375, 0.20166015625, 0.040191650390625, 0.1826171875, 0.171875, 0.10791015625...
embed
37953744_c0
37953744
fsharp
0
Title: F# Seq.choose() Error FS0001 Problem title: F# Seq.choose() Error FS0001 Tags: f%23, match, sequence, msdn Problem: F# Seq.choose() Error FS0001 I have tried MSDN's example for the Seq.choose function (written below) in both a .fsx file and the interactive window for Visual Studio, but it repeatedly returns an e...
F# Seq.choose() Error FS0001 F# Seq.choose() Error FS0001 f%23 match sequence msdn Seq.choose Error FS0001 Some None C:Path PageExt F# Seq.choose() Error FS0001 I have tried MSDN's example for the Seq.choose function (written below) in both a .fsx file and the interactive window for Visual Studio, but it repeatedly ret...
[ 0.0023040771484375, 0.0081787109375, 0.029052734375, 0.0040283203125, -0.00970458984375, -0.00634765625, -0.0184326171875, 0.01080322265625, 0.000431060791015625, 0.0201416015625, 0.0308837890625, -0.00119781494140625, 0.01275634765625, -0.0091552734375, 0.033935546875, 0.0093994140625...
[ 563, 4904, 503, 864, 3089, 8364, 212059, 93774, 188735, 3742, 14858, 40, 944, 31384, 438, 86, 10519, 14231, 19279, 18, 37842, 16265, 51671, 27781, 5, 32354, 17447, 425, 11435, 212398, 76896, 73372, 22968, 119140, 30646, 18499, 5021, 35829, ...
[ 0.051788330078125, 0.145751953125, 0.0726318359375, 0.1763916015625, 0.0828857421875, 0.0809326171875, 0.13671875, 0.15869140625, 0.247314453125, 0.091064453125, 0.1123046875, 0.001129150390625, 0.0582275390625, 0.055877685546875, 0.1427001953125, 0.139892578125, 0.1063232421875, 0...
embed
50255905_c0
50255905
fsharp
0
Title: Improve edit-run cycle time on .Net Core Problem title: Improve edit-run cycle time on .Net Core Tags: .net-core, rider, f%23, paket, logary Problem: Improve edit-run cycle time on .Net Core I'm trying to improve the performance in Logary and am bumping into an unexpected issue with .Net Core; even a single-char...
Improve edit-run cycle time on .Net Core Improve edit-run cycle time on .Net Core .net-core rider f%23 paket logary Improve Net Core Benchmarks api.nuget.org index.json net471 netcoreapp2.0 FParsec FSharp.Core Hopac NodaTime Expecto Expecto.BenchmarkDotNet Improve edit-run cycle time on .Net Core I'm trying to improve ...
[ -0.00531005859375, -0.006072998046875, -0.01806640625, 0.0072021484375, 0.000823974609375, 0.0027618408203125, -0.0279541015625, 0.00469970703125, 0.0021820068359375, -0.006103515625, 0.024658203125, 0.03076171875, -0.0311279296875, 0.0186767578125, 0.0235595703125, 0.0167236328125, ...
[ 3370, 66187, 27211, 16428, 105823, 1733, 98, 5, 24447, 31365, 9, 1179, 30854, 171503, 1238, 3742, 13360, 12684, 6635, 10086, 3419, 206, 539, 3794, 1478, 63262, 1681, 2043, 158222, 9007, 73011, 563, 39797, 3467, 254, 50886, 2291, 62268, 438,...
[ 0.080810546875, 0.136474609375, 0.193603515625, 0.1785888671875, 0.193359375, 0.1480712890625, 0.042999267578125, 0.051727294921875, 0.162841796875, 0.2435302734375, 0.02044677734375, 0.1405029296875, 0.2041015625, 0.2353515625, 0.030059814453125, 0.115478515625, 0.1470947265625, 0...
embed
13209729_c1
13209729
fsharp
1
5 Source Code: open System.Diagnostics open System [<EntryPoint>] let main argv = let pool = seq {1 .. 1000000} let ret = Array.zeroCreate 100 let update pool = for x in pool do for y in 1 .. 200 do ret.[2] <- x + y let update2 pool = for x in pool do //for y in 1 .. 100 do ret.[2] <- x let update3 pool = pool |> Seq.i...
5 Source Code: open System.Diagnostics open System [<EntryPoint>] let main argv = let pool = seq {1 .. 1000000} let ret = Array.zeroCreate 100 let update pool = for x in pool do for y in 1 .. 200 do ret.[2] <- x + y let update2 pool = for x in pool do //for y in 1 .. 100 do ret.[2] <- x let update3 pool = pool |> Seq.i...
[ -0.01483154296875, 0.004913330078125, -0.00173187255859375, 0.0042724609375, -0.000637054443359375, -0.0068359375, -0.00811767578125, 0.01055908203125, -0.00823974609375, 0.006134033203125, 0.00830078125, 0.031494140625, 0.003509521484375, -0.0025634765625, 0.0185546875, -0.00294494628...
[ 190, 77641, 28864, 12, 9803, 12353, 5, 128198, 41637, 7768, 15123, 147534, 268, 2633, 5201, 79459, 334, 19361, 2203, 40, 864, 1468, 805, 28568, 8152, 10267, 69253, 53, 80510, 63784, 2182, 28350, 100, 1022, 23, 54, 113, 1781, 44722, 997, ...
[ 0.1546630859375, 0.2388916015625, 0.2413330078125, 0.04949951171875, 0.2288818359375, 0.21875, 0.01788330078125, 0.249267578125, 0.20361328125, 0.0965576171875, 0.2020263671875, 0.2281494140625, 0.01641845703125, 0.094970703125, 0.1534423828125, 0.1160888671875, 0.2047119140625, 0....
embed
52838687_c0
52838687
fsharp
0
Title: Implicitly load dependency DLL Problem title: Implicitly load dependency DLL Tags: .net, f%23, dll Problem: Implicitly load dependency DLL I may be missing a whole lot here - I don't know .NET or F# that well. I'm building a type provider, and I'm trying to test it out in the console I've added a couple of depen...
Implicitly load dependency DLL Implicitly load dependency DLL .net f%23 dll Implicitly DLL HOME Debug Implicitly load dependency DLL I may be missing a whole lot here - I don't know .NET or F# that well. I'm building a type provider, and I'm trying to test it out in the console I've added a couple of dependencies to my...
[ 0.00032806396484375, 0.01422119140625, -0.00872802734375, 0.01300048828125, -0.0026702880859375, 0.01397705078125, -0.00811767578125, -0.00604248046875, -0.01025390625, -0.0087890625, 0.00836181640625, -0.01202392578125, -0.004058837890625, 0.0228271484375, 0.0224609375, -0.00189971923...
[ 29128, 60923, 72367, 42548, 27771, 391, 23708, 1179, 1238, 3949, 3742, 81717, 70060, 262, 85779, 132283, 5915, 3714, 17777, 563, 4904, 33976, 10644, 81450, 3034, 130250, 49814, 117538, 13452, 1379, 10519, 11675, 172, 89280, 1434, 4727, 7285, ...
[ 0.138671875, 0.22998046875, 0.1876220703125, 0.23046875, 0.08160400390625, 0.0523681640625, 0.1993408203125, 0.162841796875, 0.1219482421875, 0.0950927734375, 0.225341796875, 0.172607421875, 0.1112060546875, 0.07281494140625, 0.1995849609375, 0.054718017578125, 0.00933837890625, 0....
embed
35889993_c0
35889993
fsharp
0
Title: F# Int * Int confusion Problem title: F# Int * Int confusion Tags: f%23, tuples, types Problem: F# Int * Int confusion Firsly, I'd just like to state, I am completely new to this language and as of right now it seems extremely strange to me (As a Java/C# user). I'm currently doing a uni project whereby I have to...
F# Int * Int confusion F# Int * Int confusion f%23 tuples types F# Int * Int confusion Firsly, I'd just like to state, I am completely new to this language and as of right now it seems extremely strange to me (As a Java/C# user). I'm currently doing a uni project whereby I have to navigate a grid using pathfinding (Not...
[ 0.01025390625, -0.00958251953125, 0.0130615234375, 0.006256103515625, -0.00830078125, 0.00921630859375, -0.0007171630859375, -0.01611328125, 0.00118255615234375, -0.021240234375, 0.0205078125, 0.0301513671875, -0.01031494140625, 0.01220703125, -0.01080322265625, -0.00604248046875, -0...
[ 563, 4904, 360, 18, 661, 169463, 1238, 3949, 3742, 370, 99726, 52895, 35526, 11341, 64557, 3525, 46876, 37202, 111531, 114453, 41925, 38937, 82424, 19844, 13452, 56136, 120067, 60875, 111607, 75935, 116, 71, 10298, 53, 13267, 209, 963, 14037,...
[ 0.142822265625, 0.2001953125, 0.1297607421875, 0.13916015625, 0.150390625, 0.2215576171875, 0.1138916015625, 0.0165252685546875, 0.1256103515625, 0.06817626953125, 0.1278076171875, 0.1636962890625, 0.006866455078125, 0.009307861328125, 0.0297088623046875, 0.029510498046875, 0.1342773...
embed
77711159_c0
77711159
fsharp
0
Title: Default initialization of struct records/DUs possible? Problem title: Default initialization of struct records/DUs possible? Tags: f%23 Problem: Default initialization of struct records/DUs possible? Consider the following definition of Struct -annotated record in F#: [<Struct>] type Foo = Foo of string Or a Str...
Default initialization of struct records/DUs possible? Default initialization of struct records/DUs possible? f%23 Default DUs Struct Foo Bar Name Default initialization of struct records/DUs possible? Consider the following definition of Struct -annotated record in F#: Or a Struct -annotated discriminated union: If I ...
[ 0.0111083984375, 0.020751953125, -0.000461578369140625, 0.005615234375, -0.0010986328125, -0.01348876953125, -0.01226806640625, -0.0245361328125, 0.00970458984375, 0.026611328125, -0.00848388671875, -0.0037841796875, 0.0123291015625, 0.0262451171875, 0.000568389892578125, -0.0082397460...
[ 262, 1021, 7136, 61475, 47691, 36716, 115923, 64, 18431, 7, 7722, 32, 1238, 3742, 14614, 63667, 15390, 9572, 31, 3253, 15757, 80934, 11071, 102, 3674, 17164, 23, 563, 4904, 55970, 69941, 24927, 6097, 52895, 313, 87, 831, 114977, 64549, 34...
[ 0.09619140625, 0.1998291015625, 0.114501953125, 0.1998291015625, 0.0999755859375, 0.2301025390625, 0.2122802734375, 0.022613525390625, 0.199951171875, 0.1087646484375, 0.1824951171875, 0.00823974609375, 0.02825927734375, 0.05999755859375, 0.2099609375, 0.20849609375, 0.132080078125, ...
embed
63840997_c0
63840997
fsharp
0
Title: Proper use of P/invoke with pointers in F# Problem title: Proper use of P/invoke with pointers in F# Tags: f%23, c%23-to-f%23, .net-core, .net Problem: Proper use of P/invoke with pointers in F# I'm trying to convert this c# code to f#: [DllImport("psapi.dll", SetLastError = true)] [return: MarshalAs(UnmanagedTy...
Proper use of P/invoke with pointers in F# Proper use of P/invoke with pointers in F# f%23 c%23-to-f%23 .net-core .net SetLastError Proper DllImport psapi.dll MarshalAs UnmanagedType.Bool GetPerformanceInfo Out PerformanceInformation Size PerfInfo Proper use of P/invoke with pointers in F# I'm trying to convert this c#...
[ -0.00604248046875, 0.01092529296875, -0.00433349609375, 0.01251220703125, -0.0390625, -0.0169677734375, -0.0228271484375, -0.0303955078125, 0.006072998046875, -0.016357421875, 0.0198974609375, 0.00787353515625, -0.0159912109375, 0.018310546875, 0.00147247314453125, 0.01495361328125, ...
[ 1250, 1264, 4527, 436, 64, 73, 23253, 13, 678, 6275, 1314, 23, 563, 4904, 1238, 3742, 27495, 188, 420, 1179, 30854, 19943, 2729, 271, 18468, 1181, 6982, 1434, 23342, 4200, 992, 4707, 196707, 12647, 929, 15277, 5037, 93147, 13538, 94030, ...
[ 0.0723876953125, 0.0518798828125, 0.1029052734375, 0.151611328125, 0.1533203125, 0.06524658203125, 0.203369140625, 0.1038818359375, 0.110107421875, 0.222412109375, 0.147216796875, 0.0914306640625, 0.14404296875, 0.2177734375, 0.114013671875, 0.060272216796875, 0.035552978515625, 0....
embed
26667810_c0
26667810
fsharp
0
Title: Why are functions bound to the first type they are passed Problem title: Why are functions bound to the first type they are passed Tags: f%23 Problem: Why are functions bound to the first type they are passed I'm new to F#. I was messing around and I found something interesting and I was hoping someone could enl...
Why are functions bound to the first type they are passed Why are functions bound to the first type they are passed f%23 Why my_func Error Why are functions bound to the first type they are passed I'm new to F#. I was messing around and I found something interesting and I was hoping someone could enlighten me as to wha...
[ -0.005462646484375, 0.006622314453125, -0.0028839111328125, 0.015380859375, 0.00982666015625, 0.00830078125, -0.00567626953125, -0.0186767578125, -0.0035552978515625, -0.0155029296875, 0.004638671875, -0.04052734375, -0.0004673004150390625, 0.021484375, 0.00958251953125, 0.01708984375,...
[ 44084, 621, 32354, 7, 99091, 47, 5117, 10644, 115081, 1238, 3949, 3742, 759, 16498, 238, 212059, 563, 4904, 49041, 156377, 20016, 50155, 28302, 2633, 425, 113, 1022, 997, 35839, 79459, 106, 136, 116, 138, 84751, 6626, 79315, 18499, 35604, ...
[ 0.13720703125, 0.05340576171875, 0.242919921875, 0.03240966796875, 0.2152099609375, 0.1231689453125, 0.1776123046875, 0.216796875, 0.1644287109375, 0.07720947265625, 0.0029296875, 0.09954833984375, 0.138916015625, 0.20361328125, 0.098876953125, 0.1728515625, 0.102783203125, 0.17956...
embed
53947751_c0
53947751
fsharp
0
Title: F#: SqlProvider Issue with latest npgsql Problem title: F#: SqlProvider Issue with latest npgsql Tags: type-providers, f%23, nuget Problem: F#: SqlProvider Issue with latest npgsql I am trying to use the SQLProvider together with the latest npgsql driver (postgresql) in a classical dotnet framework solution. I g...
F#: SqlProvider Issue with latest npgsql F#: SqlProvider Issue with latest npgsql type-providers f%23 nuget SqlProvider Issue F#: SqlProvider Issue with latest npgsql I am trying to use the SQLProvider together with the latest npgsql driver (postgresql) in a classical dotnet framework solution. I get the error message:...
[ 0.00811767578125, 0.025390625, 0.0003414154052734375, 0.002227783203125, -0.0216064453125, 0.0113525390625, 0.005523681640625, -0.0089111328125, -0.0118408203125, -0.0380859375, 0.0184326171875, -0.022705078125, 0.00762939453125, -0.01318359375, -0.01092529296875, 0.00982666015625, -...
[ 563, 4904, 159, 99247, 177997, 62160, 223317, 678, 42850, 25037, 9405, 12, 10644, 93136, 14202, 1238, 3742, 315, 3794, 31577, 4527, 80866, 25842, 27941, 4594, 17562, 54704, 289, 20633, 1179, 170846, 29806, 18499, 26008, 185397, 12353, 5, 2080...
[ 0.08966064453125, 0.1676025390625, 0.04486083984375, 0.2047119140625, 0.220703125, 0.1942138671875, 0.14892578125, 0.061492919921875, 0.117919921875, 0.108642578125, 0.07989501953125, 0.006195068359375, 0.141357421875, 0.1754150390625, 0.02178955078125, 0.031402587890625, 0.080566406...
embed
43222135_c0
43222135
fsharp
0
Title: Gitversion not working on teamcity - FAKE Problem title: Gitversion not working on teamcity - FAKE Tags: f%23-fake, f%23-interactive, f%23, f%23-3.0 Problem: Gitversion not working on teamcity - FAKE I am trying to use below code to get the git version no , on my local machine it is working fine , but on teamcit...
Gitversion not working on teamcity - FAKE Gitversion not working on teamcity - FAKE f%23-fake f%23-interactive f%23 f%23-3.0 System.Exception Gitversion FAKE GitVersionHelper version.FullSemVer version.Major.ToString version.Minor.ToString version.Patch.ToString GitVersion.exe Fake.GitVersionHelper.GitVersion Invoke FS...
[ -0.02685546875, 0.0269775390625, 0.0036773681640625, -0.024658203125, 0.006622314453125, -0.01373291015625, -0.00066375732421875, -0.0216064453125, -0.01116943359375, 0.0126953125, -0.00830078125, 0.0191650390625, 0.0169677734375, 0.0291748046875, 0.0036163330078125, 0.006378173828125,...
[ 527, 217, 46354, 959, 20697, 98, 7175, 60089, 563, 119960, 1238, 1021, 27495, 10433, 71232, 3742, 132265, 12353, 63928, 178390, 60785, 1264, 11389, 121962, 195, 15896, 15503, 7763, 71713, 59076, 748, 257, 46480, 3036, 724, 23253, 93774, 3467,...
[ 0.14306640625, 0.1895751953125, 0.24560546875, 0.1044921875, 0.138427734375, 0.10406494140625, 0.1844482421875, 0.1732177734375, 0.12744140625, 0.1683349609375, 0.04534912109375, 0.1212158203125, 0.002197265625, 0.0294647216796875, 0.0231170654296875, 0.0341796875, 0.083251953125, ...
embed
45393006_c0
45393006
fsharp
0
Title: Formatting multiplication table f# output Problem title: Formatting multiplication table f# output Tags: grid, multiplication, f%23 Problem: Formatting multiplication table f# output I am trying to create a N x M multiplication table program using f# where the n and m values are specified by the user and the tab...
Formatting multiplication table f# output Formatting multiplication table f# output grid multiplication f%23 Formatting System Array2D.init Enter Value Console.ReadLine System.Int32.Parse Formatting multiplication table f# output I am trying to create a N x M multiplication table program using f# where the n and m valu...
[ -0.01611328125, 0.00506591796875, 0.018310546875, 0.007568359375, -0.00958251953125, -0.004058837890625, 0.02197265625, 0.005157470703125, -0.006195068359375, 0.0244140625, 0.020751953125, 0.0159912109375, -0.0322265625, 0.00069427490234375, -0.0113525390625, 0.0079345703125, 0.01019...
[ 60972, 1916, 127664, 1363, 23180, 1238, 4904, 140992, 120067, 3742, 12353, 69253, 397, 60816, 190060, 40777, 31345, 93232, 6460, 28636, 31577, 28282, 541, 1022, 276, 1528, 17368, 653, 136, 347, 142424, 58735, 38937, 74481, 4343, 116, 10298, 4...
[ 0.230224609375, 0.05908203125, 0.1744384765625, 0.03271484375, 0.2147216796875, 0.129150390625, 0.2017822265625, 0.208251953125, 0.185302734375, 0.1014404296875, 0.0469970703125, 0.0736083984375, 0.036712646484375, 0.0670166015625, 0.09765625, 0.0623779296875, 0.032958984375, 0.032...
embed
48121558_c0
48121558
fsharp
0
Title: How do I pass an F# function to a C# constructor? Problem title: How do I pass an F# function to a C# constructor? Tags: f%23 Problem: How do I pass an F# function to a C# constructor? How do I pass an F# function to a C# constructor? I have the following ViewModel written in F#: type ViewModel(submitFn:Try.Subm...
How do I pass an F# function to a C# constructor? How do I pass an F# function to a C# constructor? f%23 How ViewModel submitFn:Try.SubmitFn cs_submit FSharpFunc ValidatedForm FSharpResult ProfileRequest ToConverter Try.submit DataContext Try SubmitFn Result Profile Error How do I pass an F# function to a C# constructo...
[ -0.0024261474609375, 0.015869140625, 0.0185546875, -0.0125732421875, -0.005279541015625, -0.0035552978515625, -0.00799560546875, -0.00836181640625, 0.0022125244140625, -0.04248046875, -0.003692626953125, -0.0198974609375, 0.01153564453125, 0.0128173828125, -0.004302978515625, -0.011474...
[ 11249, 27875, 563, 4904, 32354, 47, 313, 64549, 748, 10, 1238, 3742, 29805, 140290, 137447, 1294, 96472, 4007, 919, 19, 20763, 22144, 93774, 3467, 254, 97249, 25447, 102973, 7, 7136, 121858, 75616, 717, 814, 720, 40858, 22829, 8273, 126684,...
[ 0.0273590087890625, 0.148193359375, 0.1575927734375, 0.239990234375, 0.1800537109375, 0.09490966796875, 0.049041748046875, 0.161865234375, 0.13916015625, 0.032470703125, 0.061126708984375, 0.1036376953125, 0.1951904296875, 0.2108154296875, 0.0987548828125, 0.0830078125, 0.07543945312...
embed
52579096_c1
52579096
fsharp
1
x |> List.collect f | [x;y] -> x |> List.collect (fun a -> y |> List.collect (fun b -> [a;b])) |> List.collect f | [x;y;z] -> x |> List.collect (fun a -> y |> List.collect (fun b -> z |> List.collect (fun c -> [a;b;c]))) |> List.collect f | head::tail -> // ??? I gave the following several attempts but couldn't get it...
x |> List.collect f | [x;y] -> x |> List.collect (fun a -> y |> List.collect (fun b -> [a;b])) |> List.collect f | [x;y;z] -> x |> List.collect (fun a -> y |> List.collect (fun b -> z |> List.collect (fun c -> [a;b;c]))) |> List.collect f | head::tail -> // ??? I gave the following several attempts but couldn't get it...
[ -0.00689697265625, 0.023681640625, 0.01263427734375, 0.0115966796875, 0.000904083251953125, 0.00830078125, -0.000263214111328125, -0.0031585693359375, 0.0206298828125, -0.01470947265625, 0.0223388671875, 0.017333984375, 0.017578125, 0.033203125, -0.000675201416015625, -0.0181884765625,...
[ 1022, 2740, 32036, 5, 196352, 1238, 58745, 425, 74, 53, 268, 33079, 16498, 10, 113, 876, 16, 169, 6, 97, 15, 501, 378, 10336, 12, 46741, 37336, 26038, 25632, 40368, 81887, 7, 69427, 18, 7108, 8512, 71, 39179, 538, 31251, 12601, 29806,...
[ 0.1544189453125, 0.05126953125, 0.231201171875, 0.053466796875, 0.2373046875, 0.217529296875, 0.0335693359375, 0.04754638671875, 0.07049560546875, 0.1033935546875, 0.000640869140625, 0.0767822265625, 0.169677734375, 0.1163330078125, 0.1082763671875, 0.0933837890625, 0.00018310546875,...
embed