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
25477146_c0
25477146
fsharp
0
Title: Recursively iterating over an array in F# Problem title: Recursively iterating over an array in F# Tags: iteration, recursion, f%23, arrays Problem: Recursively iterating over an array in F# This is a rather simple request, but I am having trouble with F#'s syntax. I need to create a function to iterate over a b...
Recursively iterating over an array in F# Recursively iterating over an array in F# iteration recursion f%23 arrays Recursively count-1 Recursively iterating over an array in F# This is a rather simple request, but I am having trouble with F#'s syntax. I need to create a function to iterate over a bidimensional array r...
[ -0.001220703125, -0.0003719329833984375, -0.0166015625, 0.012451171875, 0.01104736328125, 0.011474609375, -0.0089111328125, -0.01409912109375, 0.00128173828125, -0.020263671875, 0.01019287109375, 0.00860595703125, -0.01312255859375, 0.00286865234375, 0.03173828125, -0.00640869140625, ...
[ 853, 48650, 5844, 17, 67, 98767, 645, 10298, 53, 563, 4904, 23, 720, 195625, 1238, 3949, 3742, 4778, 54529, 5759, 8781, 50336, 63134, 6002, 86531, 3871, 28282, 32354, 8560, 333, 157955, 118055, 105416, 11907, 1733, 35431, 435, 51776, 11338,...
[ 0.0906982421875, 0.217041015625, 0.1700439453125, 0.091064453125, 0.220458984375, 0.114013671875, 0.167724609375, 0.1656494140625, 0.08447265625, 0.136962890625, 0.217041015625, 0.020416259765625, 0.252685546875, 0.2337646484375, 0.0714111328125, 0.00604248046875, 0.1097412109375, ...
embed
38172815_c0
38172815
fsharp
0
Title: Broadcasting operations in MathNet Problem title: Broadcasting operations in MathNet Tags: f%23, math.net, mathnet-numerics Problem: Broadcasting operations in MathNet let data_logdiff = DenseMatrix.init (data.RowCount-1) (data.ColumnCount) (fun j i -> if j = 0 then 0. else data.At(j, i) / data.At(j-1, i) |> log...
Broadcasting operations in MathNet Broadcasting operations in MathNet f%23 math.net mathnet-numerics Broadcasting MathNet var1 var2 var3 System.IO MathNet.Numerics.LinearAlgebra File.ReadAllLines mypath.csv Seq.skip line.Split Array.map DenseMatrix.ofRowArrays data_logdiff DenseMatrix.init data.RowCount-1 data.ColumnCo...
[ -0.00421142578125, 0.036865234375, 0.004913330078125, 0.018310546875, 0.00102996826171875, -0.00732421875, 0.0125732421875, 0.0038909912109375, -0.0027923583984375, -0.025390625, -0.006622314453125, -0.00124359130859375, -0.01080322265625, -0.0198974609375, -0.0245361328125, -0.0098876...
[ 213995, 214, 41018, 23, 78804, 24447, 7, 1238, 3949, 3742, 48909, 1179, 2606, 285, 363, 12353, 17780, 18444, 1991, 93232, 429, 2844, 42724, 31345, 43512, 759, 128405, 334, 864, 44024, 13315, 4353, 62346, 1575, 4613, 87427, 4390, 7092, 2053,...
[ 0.2626953125, 0.0667724609375, 0.217041015625, 0.06390380859375, 0.210693359375, 0.2491455078125, 0.0159759521484375, 0.033355712890625, 0.01922607421875, 0.119384765625, 0.1702880859375, 0.191162109375, 0.011688232421875, 0.086669921875, 0.027008056640625, 0.03631591796875, 0.129394...
embed
3845110_c0
3845110
fsharp
0
Title: Observable from Sequence in F# Problem title: Observable from Sequence in F# Tags: f%23, observable, sequence Problem: Observable from Sequence in F# Is there a way to creating an observable from a sequence in F#? The required behaviour is that an observer subscribing to the resulting observable receives all the...
Observable from Sequence in F# Observable from Sequence in F# f%23 observable sequence Sequence Observable Rx.Observable.FromArray Using Reactive Framework References System.CoreEx.dll System.Reactive.dll System.Linq Observable.ToObservable Observable.filter odds.Subscribe disp.Dispose Observable from Sequence in F# Is...
[ 0.0064697265625, 0.041015625, -0.0081787109375, -0.00848388671875, 0.00299072265625, -0.01348876953125, 0.0126953125, 0.021240234375, -0.00171661376953125, -0.0517578125, 0.004150390625, -0.0208740234375, 0.0155029296875, 0.0244140625, -0.0017242431640625, 0.01043701171875, 0.0201416...
[ 87652, 2661, 1295, 503, 944, 3956, 23, 563, 4904, 1238, 3949, 3742, 22046, 40, 627, 425, 46471, 65756, 168407, 7614, 7092, 853, 71232, 202220, 215996, 12353, 19279, 1181, 44982, 7763, 120337, 103044, 96472, 78381, 2071, 2685, 10, 3917, 1052...
[ 0.2066650390625, 0.21875, 0.177490234375, 0.10089111328125, 0.1650390625, 0.1116943359375, 0.06695556640625, 0.1331787109375, 0.2169189453125, 0.059356689453125, 0.0067138671875, 0.11279296875, 0.25, 0.0836181640625, 0.017730712890625, 0.1064453125, 0.048187255859375, 0.15844726562...
embed
23023126_c0
23023126
fsharp
0
Title: Hi speed via not>>not. Why? Problem title: Hi speed via not>>not. Why? Tags: dll, f%23, performance Problem: Hi speed via not>>not. Why? I did a dll library plnd.dll for predicate palindrom string: let IsPalindromLib (str:string)= let rec fn(a,b)=a>b||str.[a]=str.[b]&&fn(a+1,b-1) fn(0,str.Length-1) A...
Hi speed via not>>not. Why? Hi speed via not>>not. Why? dll f%23 performance this library Why IsPalindromLib str:string b-1 str.Length-1 plnd.dll Plnd IsPalindrom List.map List.filter CPU Hi speed via not>>not. Why? I did a dll library plnd.dll for predicate palindrom string: And checked the speed: Calling ...
[ -0.0142822265625, -0.002899169921875, 0.00665283203125, 0.012939453125, -0.00970458984375, 0.0103759765625, 0.0084228515625, 0.00110626220703125, -0.007415771484375, -0.027099609375, -0.00732421875, 0.0177001953125, 0.004669189453125, -0.0008697509765625, 0.0201416015625, -0.0137329101...
[ 2673, 38352, 1829, 959, 5386, 10869, 44084, 81717, 1238, 3949, 3742, 23718, 903, 35773, 1294, 2071, 81841, 73, 41684, 104820, 7704, 91693, 876, 5759, 449, 6456, 2208, 71, 1181, 29016, 32036, 62346, 120337, 86039, 30813, 1653, 2063, 17923, 1...
[ 0.1812744140625, 0.2479248046875, 0.1802978515625, 0.269775390625, 0.1351318359375, 0.281982421875, 0.1138916015625, 0.1534423828125, 0.07611083984375, 0.028839111328125, 0.171142578125, 0.1917724609375, 0.056182861328125, 0.167236328125, 0.047149658203125, 0.0982666015625, 0.0952148...
embed
49105986_c0
49105986
fsharp
0
Title: ZXingBarcodeImageView (QR code) showing on iOS but not on Android (Xamarin.Forms) Problem title: ZXingBarcodeImageView (QR code) showing on iOS but not on Android (Xamarin.Forms) Tags: xamarin, f%23, qr-code, xamarin.android, xamarin.forms Problem: ZXingBarcodeImageView (QR code) showing on iOS but not on Androi...
ZXingBarcodeImageView (QR code) showing on iOS but not on Android (Xamarin.Forms) ZXingBarcodeImageView (QR code) showing on iOS but not on Android (Xamarin.Forms) xamarin f%23 qr-code xamarin.android xamarin.forms ZXingBarcodeImageView Android Xamarin.Forms HorizontalOptions LayoutOptions.FillAndExpand VerticalOptions...
[ 0.00909423828125, 0.034912109375, -0.0213623046875, -0.0023193359375, 0.0081787109375, -0.0189208984375, 0.008056640625, 0.003173828125, -0.01104736328125, -0.0162353515625, 0.0022125244140625, -0.034912109375, 0.0203857421875, -0.0098876953125, -0.0234375, 0.004150390625, -0.0084838...
[ 567, 1542, 214, 25267, 40899, 216960, 100474, 2737, 1052, 18151, 141377, 13964, 1284, 959, 3952, 11, 44503, 102973, 98, 2459, 1238, 3949, 3742, 8096, 42, 51796, 5037, 8606, 112639, 39029, 211032, 5713, 114363, 1446, 3253, 9688, 1909, 114211, ...
[ 0.0745849609375, 0.101806640625, 0.11572265625, 0.1094970703125, 0.1837158203125, 0.1177978515625, 0.240234375, 0.07525634765625, 0.1124267578125, 0.2021484375, 0.1304931640625, 0.2357177734375, 0.0152740478515625, 0.06365966796875, 0.1917724609375, 0.031219482421875, 0.2021484375, ...
embed
5028377_c1
5028377
fsharp
1
realize I do not understand it. I understand it is used in function regarding parameter passing. One uses byref when he wants that the passed value can be edited (this is a bit against the functional languages' philosophy but f# is something more than that). Consider the following: let myfunc (x: int byref) = x <- x +...
realize I do not understand it. I understand it is used in function regarding parameter passing. One uses byref when he wants that the passed value can be edited (this is a bit against the functional languages' philosophy but f# is something more than that). Consider the following: let myfunc (x: int byref) = x <- x +...
[ -0.004730224609375, 0.0220947265625, 0.0189208984375, 0.00118255615234375, 0.011474609375, -0.00640869140625, 0.00811767578125, 0.0024261474609375, 0.00897216796875, -0.016357421875, 0.0027008056640625, 0.0150146484375, 0.005889892578125, -0.00020313262939453125, 0.022705078125, -0.026...
[ 92154, 54, 959, 28219, 442, 83, 11814, 23, 32354, 118861, 171859, 452, 6953, 6561, 4527, 390, 29087, 3229, 86171, 115081, 34292, 831, 27211, 26548, 123309, 46876, 119598, 1238, 4904, 137399, 2633, 759, 16498, 238, 425, 18, 2203, 1022, 4426,...
[ 0.2125244140625, 0.003692626953125, 0.09710693359375, 0.136474609375, 0.09405517578125, 0.06787109375, 0.16259765625, 0.0271453857421875, 0.1849365234375, 0.03375244140625, 0.16845703125, 0.06072998046875, 0.009490966796875, 0.0069580078125, 0.125732421875, 0.2047119140625, 0.3359375...
embed
76775504_c0
76775504
fsharp
0
Title: Strange runtime behaviour with .NET 6+ Problem title: Strange runtime behaviour with .NET 6+ Tags: .net, f%23, parallel-processing Problem: Strange runtime behaviour with .NET 6+ I have a F# .NET process running an algorithm that performs many calculations. Due to combinatorics, the number of calculations can be...
Strange runtime behaviour with .NET 6+ Strange runtime behaviour with .NET 6+ .net f%23 parallel-processing Strange NET EventId Name HeartbeatSlow SourceContext Microsoft.AspNetCore.Server.Kestrel Strange runtime behaviour with .NET 6+ I have a F# .NET process running an algorithm that performs many calculations. Due t...
[ 0.00665283203125, 0.01220703125, -0.006011962890625, -0.033203125, 0.00183868408203125, -0.01446533203125, 0.00182342529296875, 0.007354736328125, 0.00262451171875, -0.023681640625, 0.00994873046875, 0.03076171875, 0.00087738037109375, 0.0225830078125, 0.0267333984375, 0.00245666503906...
[ 187791, 11675, 6032, 224833, 678, 17777, 305, 1328, 1179, 1238, 3949, 3742, 95103, 63923, 36943, 15757, 60861, 101448, 17336, 77641, 7244, 7008, 24447, 50886, 193348, 7962, 5, 563, 4904, 9433, 51042, 234873, 51339, 5941, 74481, 22321, 3826, 1...
[ 0.1702880859375, 0.12646484375, 0.13671875, 0.142822265625, 0.01007080078125, 0.1881103515625, 0.1771240234375, 0.248779296875, 0.131591796875, 0.05682373046875, 0.042388916015625, 0.1826171875, 0.2374267578125, 0.1083984375, 0.0989990234375, 0.004791259765625, 0.10546875, 0.165527...
embed
22606610_c0
22606610
fsharp
0
Title: Delegate/Func conversion and misleading compiler error message Problem title: Delegate/Func conversion and misleading compiler error message Tags: f%23 Problem: Delegate/Func conversion and misleading compiler error message I thought that conversions between F# functions and System.Func had to be done manually, ...
Delegate/Func conversion and misleading compiler error message Delegate/Func conversion and misleading compiler error message f%23 Delegate Func Foo System.Collections.Generic.Dictionary System.Func x:obj Question Delegate/Func conversion and misleading compiler error message I thought that conversions between F# funct...
[ -0.001708984375, 0.004638671875, -0.01220703125, -0.01220703125, -0.00823974609375, 0.0031585693359375, -0.0118408203125, -0.004791259765625, 0.031005859375, 0.029052734375, -0.0089111328125, 0.0172119140625, 0.0032958984375, 0.023193359375, 0.034912109375, -0.01007080078125, 0.00083...
[ 228532, 13, 64, 97249, 238, 142477, 136, 1239, 14507, 9969, 34759, 18499, 26008, 6238, 1238, 3742, 28670, 9572, 31, 12353, 78457, 8996, 135932, 10763, 1022, 3522, 170, 7, 17721, 563, 4904, 32354, 16940, 23009, 14602, 100, 44691, 152018, 456...
[ 0.288818359375, 0.079833984375, 0.03704833984375, 0.19873046875, 0.12646484375, 0.2213134765625, 0.054473876953125, 0.06500244140625, 0.1551513671875, 0.15966796875, 0.1541748046875, 0.1458740234375, 0.08135986328125, 0.014862060546875, 0.185546875, 0.104736328125, 0.17724609375, 0...
embed
17525946_c1
17525946
fsharp
1
11 for my msbuild. So but this breaks compatibility with other Visual Studio versions. I guess I need to make something alike <FSharpTargetsPath Condition="'$(VisualStudioVersion)' == '11.0'">$(MSBuildExtensionsPath32)\..\Microsoft SDKs\F#\3.0\Framework\v4.0\Microsoft.FSharp.Targets</FSharpTargetsPath> and <FSharpTarge...
11 for my msbuild. So but this breaks compatibility with other Visual Studio versions. I guess I need to make something alike <FSharpTargetsPath Condition="'$(VisualStudioVersion)' == '11.0'">$(MSBuildExtensionsPath32)\..\Microsoft SDKs\F#\3.0\Framework\v4.0\Microsoft.FSharp.Targets</FSharpTargetsPath> and <FSharpTarge...
[ -0.0164794921875, 0.0189208984375, 0.01300048828125, -0.0341796875, 0.000782012939453125, -0.01239013671875, -0.004852294921875, -0.00103759765625, -0.009521484375, 0.0245361328125, 0.008056640625, -0.00689697265625, 0.0059814453125, -0.0048828125, 0.0213623046875, -0.005859375, 0.00...
[ 534, 68163, 177149, 903, 36356, 112793, 2481, 678, 3789, 73372, 22968, 11389, 57767, 3871, 3249, 5062, 36381, 3467, 254, 63031, 3794, 683, 10519, 46347, 6609, 64010, 109023, 31, 178390, 418, 102107, 13439, 121137, 128872, 91887, 113387, 45461, ...
[ 0.2083740234375, 0.0882568359375, 0.27734375, 0.02142333984375, 0.1640625, 0.2086181640625, 0.1031494140625, 0.0374755859375, 0.017333984375, 0.2012939453125, 0.2008056640625, 0.115966796875, 0.00433349609375, 0.0167388916015625, 0.023193359375, 0.09600830078125, 0.05218505859375, ...
embed
29933245_c0
29933245
fsharp
0
Title: How to set cookie? Problem title: How to set cookie? Tags: f%23-data, httprequest, f%23 Problem: How to set cookie? I have the following code, which uses http://fsharp.github.io/FSharp.Data/library/Http.html , to login a website and get some files. However, each page has a piece of jQuery script to set a cookie ...
How to set cookie? How to set cookie? f%23-data httprequest f%23 How Authenticated CookieContainer Http.RequestString GET HttpRequestBody.FormValues UserName Password POST page2 How to set cookie? I have the following code, which uses http://fsharp.github.io/FSharp.Data/library/Http.html , to login a website and get so...
[ 0.00074005126953125, 0.019287109375, -0.0054931640625, 0.000873565673828125, 0.0118408203125, -0.00933837890625, 0.00103759765625, 0.026611328125, 0.007171630859375, -0.00567626953125, 0.0159912109375, -0.00750732421875, -0.012451171875, -0.000823974609375, 0.0030670166015625, -0.00897...
[ 11249, 47, 5423, 9332, 32, 1238, 167218, 27495, 10135, 1621, 107, 75616, 3742, 52236, 63250, 4460, 297, 37704, 11935, 25500, 56, 3062, 254, 71713, 79794, 12647, 102973, 42272, 53400, 163612, 170461, 81903, 304, 25632, 18151, 4527, 420, 89280,...
[ 0.1185302734375, 0.0953369140625, 0.251953125, 0.357666015625, 0.0218353271484375, 0.1051025390625, 0.0181121826171875, 0.1204833984375, 0.1353759765625, 0.1005859375, 0.0423583984375, 0.12353515625, 0.075927734375, 0.08892822265625, 0.16259765625, 0.1044921875, 0.0140838623046875, ...
embed
3842214_c1
3842214
fsharp
1
MatrixInfo nCol) init //Compute averages standard deviations, and finally correlations let averages = sum|>Array.map(fun s ->s/(float count)) let std = Array.zip3 sum sq averages |> Array.map(fun (elemSum,elemSq,av)-> let temp = elemSq-2.0*av*elemSum+float(count)*av*av sqrt (temp/(float count-1.0))) //Map allteh elemen...
MatrixInfo nCol) init //Compute averages standard deviations, and finally correlations let averages = sum|>Array.map(fun s ->s/(float count)) let std = Array.zip3 sum sq averages |> Array.map(fun (elemSum,elemSq,av)-> let temp = elemSq-2.0*av*elemSum+float(count)*av*av sqrt (temp/(float count-1.0))) //Map allteh elemen...
[ 0.0057373046875, 0.0120849609375, -0.00494384765625, 0.00848388671875, -0.0007171630859375, -0.0247802734375, 0.001861572265625, -0.002105712890625, 0.012939453125, -0.0147705078125, -0.0120849609375, 0.02099609375, 0.01611328125, 0.004608154296875, -0.0198974609375, 0.0076904296875, ...
[ 194234, 93147, 653, 78457, 23, 217, 4666, 108161, 6743, 83080, 5570, 30170, 21094, 77681, 16106, 57860, 7, 2633, 10554, 7092, 5, 62346, 16498, 91, 52347, 257, 54529, 16, 6138, 71, 69253, 50836, 363, 864, 6, 27889, 316, 294, 3818, 20805, ...
[ 0.213623046875, 0.25732421875, 0.08953857421875, 0.239013671875, 0.0731201171875, 0.119873046875, 0.00592041015625, 0.1278076171875, 0.125, 0.2452392578125, 0.1614990234375, 0.2230224609375, 0.040863037109375, 0.037567138671875, 0.1763916015625, 0.17236328125, 0.007080078125, 0.042...
embed
44758279_c0
44758279
fsharp
0
Title: Why does this interface implementation in F# not compile? Problem title: Why does this interface implementation in F# not compile? Tags: equality, f%23, generics, interface Problem: Why does this interface implementation in F# not compile? I am trying to implement IEquatable<T> for a particular class in F#. Howe...
Why does this interface implementation in F# not compile? Why does this interface implementation in F# not compile? equality f%23 generics interface Why IEquatable Foo this.Name this.Equals other.Name this.GetHashCode this.Name.GetHashCode Why does this interface implementation in F# not compile? I am trying to impleme...
[ 0.004547119140625, -0.003631591796875, -0.00592041015625, 0.00531005859375, -0.01214599609375, 0.0016632080078125, -0.0164794921875, 0.0030517578125, 0.01239013671875, 0.00946044921875, -0.0025482177734375, 0.0194091796875, -0.01287841796875, 0.01422119140625, 0.01025390625, -0.0009155...
[ 44084, 14602, 903, 101758, 208124, 23, 563, 4904, 959, 9969, 1340, 28, 161789, 1238, 3949, 3742, 189534, 75536, 90065, 2886, 9572, 31, 163612, 647, 71723, 3789, 126, 6495, 1495, 114211, 31577, 29479, 618, 17311, 18507, 241957, 18499, 18151, ...
[ 0.1302490234375, 0.044891357421875, 0.1201171875, 0.2646484375, 0.181884765625, 0.050262451171875, 0.1416015625, 0.20947265625, 0.1485595703125, 0.1724853515625, 0.179443359375, 0.076416015625, 0.2005615234375, 0.1162109375, 0.040985107421875, 0.137451171875, 0.1903076171875, 0.166...
embed
25865904_c0
25865904
fsharp
0
Title: WebSharper : How to create a menu with jQueryUI Problem title: WebSharper : How to create a menu with jQueryUI Tags: f%23, jquery-ui, websharper Problem: WebSharper : How to create a menu with jQueryUI I would like to use JQueryUI provide by WebSharper in order to create a menu. I see on JQueryUI website, that w...
WebSharper : How to create a menu with jQueryUI WebSharper : How to create a menu with jQueryUI f%23 jquery-ui websharper WebSharper How Menu Attr.NewAttr el2 Div Text menu1 menu2 sub-menu1 IPagelet Menu.New Main Titre WebSharper : How to create a menu with jQueryUI I would like to use JQueryUI provide by WebSharper in...
[ -0.0281982421875, 0.0269775390625, -0.0069580078125, -0.0091552734375, 0.00689697265625, 0.00121307373046875, -0.02197265625, -0.0072021484375, -0.002105712890625, -0.037353515625, -0.00102996826171875, -0.0196533203125, -0.00138092041015625, 0.003875732421875, 0.006103515625, 0.000858...
[ 4002, 294, 3467, 1264, 11249, 47, 28282, 10, 8026, 678, 231129, 33457, 3742, 1647, 944, 1294, 4515, 1467, 89280, 49434, 9208, 42, 46568, 4448, 88, 304, 53026, 24129, 1614, 30144, 87, 147101, 1974, 12321, 46990, 1884, 4527, 821, 41732, 226...
[ 0.10546875, 0.064697265625, 0.184814453125, 0.220947265625, 0.07940673828125, 0.016754150390625, 0.185546875, 0.057220458984375, 0.279052734375, 0.1263427734375, 0.212890625, 0.22607421875, 0.03143310546875, 0.0229949951171875, 0.1005859375, 0.08984375, 0.1246337890625, 0.063903808...
embed
34520923_c0
34520923
fsharp
0
Title: Error resolving FSharp.Core using --standalone and FSharp.Data.SqlClient Problem title: Error resolving FSharp.Core using --standalone and FSharp.Data.SqlClient Tags: f%23 Problem: Error resolving FSharp.Core using --standalone and FSharp.Data.SqlClient I'm compiling an exe using the the F# --standalone option a...
Error resolving FSharp.Core using --standalone and FSharp.Data.SqlClient Error resolving FSharp.Core using --standalone and FSharp.Data.SqlClient f%23 --standalone Error FSharp.Core FSharp.Data.SqlClient ISqlCommand Implementation Error resolving FSharp.Core using --standalone and FSharp.Data.SqlClient I'm compiling an...
[ 0.0108642578125, 0.009033203125, -0.0111083984375, 0.01324462890625, -0.009521484375, -0.00482177734375, -0.0166015625, 0.0067138671875, -0.0120849609375, -0.048828125, 0.01312255859375, 0.0069580078125, 0.01806640625, 0.00872802734375, 0.01446533203125, -0.014892578125, 0.0045776367...
[ 212059, 166996, 93774, 3467, 254, 5, 50886, 13, 17368, 4210, 5165, 11, 51684, 136, 137989, 294, 99247, 441, 150, 2517, 1238, 3949, 3742, 15744, 10770, 12018, 153941, 9969, 49725, 97733, 563, 4904, 35829, 35773, 91067, 159, 172895, 41159, 17...
[ 0.17333984375, 0.19677734375, 0.137451171875, 0.2205810546875, 0.22900390625, 0.073486328125, 0.188720703125, 0.1063232421875, 0.093994140625, 0.1378173828125, 0.1312255859375, 0.1004638671875, 0.1629638671875, 0.1258544921875, 0.10064697265625, 0.01312255859375, 0.1751708984375, 0...
embed
74817938_c0
74817938
fsharp
0
Title: F# why is cast needed? Problem title: F# why is cast needed? Tags: f%23 Problem: F# why is cast needed? I'm new to F# and working through this article . In this article there is a sample of the following recursive type: type Book = {title: string; price: decimal} type ChocolateType = Dark | Milk | SeventyPercent...
F# why is cast needed? F# why is cast needed? f%23 Book ChocolateType Dark Milk SeventyPercent Chocolate WrappingPaperStyle HappyBirthday HappyHolidays SolidColor Gift Wrapped Boxed WithACard message:string Wolf Hall Happy Birthday F# why is cast needed? I'm new to F# and working through this article . In this article ...
[ -0.002197265625, 0.007415771484375, 0.0157470703125, 0.00677490234375, 0.021484375, -0.000530242919921875, -0.035400390625, 0.0091552734375, -0.003875732421875, -0.00360107421875, 0.0054931640625, -0.023681640625, -0.018310546875, 0.0137939453125, 0.0089111328125, -0.0052490234375, -...
[ 563, 4904, 15400, 83, 37702, 44841, 1238, 3949, 3742, 27432, 167499, 196707, 49721, 171048, 132556, 15277, 16797, 219, 26783, 121903, 209480, 32506, 41153, 1683, 95823, 1484, 104445, 48398, 27271, 156119, 26008, 91693, 45492, 19449, 158080, 12141...
[ 0.15625, 0.2315673828125, 0.158203125, 0.0662841796875, 0.2313232421875, 0.1978759765625, 0.099853515625, 0.002288818359375, 0.0823974609375, 0.1766357421875, 0.15673828125, 0.1453857421875, 0.0762939453125, 0.140380859375, 0.00567626953125, 0.0171356201171875, 0.003265380859375, 0...
embed
21220271_c0
21220271
fsharp
0
Title: How can i print a form using f# Problem title: How can i print a form using f# Tags: f%23, printdocument Problem: How can i print a form using f# I would like to print a form with calculated data, grafs, datagrids... I'm having problems translating the c# code for printing into f# code: private void CaptureScree...
How can i print a form using f# How can i print a form using f# f%23 printdocument f# How CaptureScreen Graphics this.CreateGraphics Size this.Size Bitmap s.Width s.Height Graphics.FromImage memoryGraphics.CopyFromScreen this.Location.X this.Location.Y printDocument1_PrintPage System.Object System.Drawing.Printing.Prin...
[ 0, 0.0084228515625, -0.0235595703125, 0.00579833984375, -0.00830078125, -0.004852294921875, 0.01202392578125, -0.00885009765625, -0.01416015625, -0.0303955078125, 0.0279541015625, -0.0205078125, -0.00128173828125, 0.00885009765625, 0.006378173828125, -0.015869140625, 0.00830078125, ...
[ 11249, 831, 17, 28412, 10, 3173, 17368, 1238, 4904, 3949, 3742, 117432, 14304, 6644, 7612, 33, 189682, 903, 63784, 37878, 19379, 80378, 62346, 22553, 168407, 216960, 98323, 6493, 15363, 1542, 1723, 239469, 112079, 147101, 12353, 75161, 14775, ...
[ 0.07012939453125, 0.10205078125, 0.10302734375, 0.2237548828125, 0.050872802734375, 0.255126953125, 0.125, 0.16845703125, 0.236328125, 0.0267486572265625, 0.158203125, 0.13916015625, 0.0953369140625, 0.0799560546875, 0.0638427734375, 0.0194549560546875, 0.1649169921875, 0.059295654...
embed
30280561_c0
30280561
fsharp
0
Title: Why can&#x27;t I print this array in F#? Problem title: Why can&#x27;t I print this array in F#? Tags: c%23, asp.net, f%23 Problem: Why can't I print this array in F#? I have this list in C#: List<string> words = new List<string> { "how", "are", "you" }; I can easily print the content of the list with: foreach(s...
Why can&#x27;t I print this array in F#? Why can&#x27;t I print this array in F#? c%23 asp.net f%23 Why List Debug.WriteLine ResizeArray words.Add EntryPoint asp.net Why can't I print this array in F#? I have this list in C#: I can easily print the content of the list with: Now I want to do the same in F# (I understand...
[ -0.007720947265625, 0.0030517578125, 0.0003986358642578125, -0.0012359619140625, -0.00054168701171875, -0.007293701171875, -0.0020294189453125, 0.0036773681640625, 0.0015106201171875, 0.004180908203125, 0.0169677734375, -0.0167236328125, 0.0098876953125, 0.0079345703125, -0.0042419433593...
[ 44084, 831, 3768, 18, 28412, 903, 10298, 53, 23, 563, 4904, 3742, 254, 1179, 1238, 32036, 262, 85779, 18781, 93232, 853, 62539, 7614, 7092, 34153, 4028, 357, 15123, 147534, 87, 5303, 313, 72546, 10941, 5701, 618, 21373, 2967, 100, 28354, ...
[ 0.113037109375, 0.1273193359375, 0.08319091796875, 0.1248779296875, 0.211181640625, 0.101806640625, 0.1939697265625, 0.1646728515625, 0.06597900390625, 0.13818359375, 0.21875, 0.057861328125, 0.07110595703125, 0.0784912109375, 0.043548583984375, 0.1375732421875, 0.10162353515625, 0...
embed
11220410_c0
11220410
fsharp
0
Title: How to use PFX Task.Factory.StartNew for F# functions taking a parameter? Problem title: How to use PFX Task.Factory.StartNew for F# functions taking a parameter? Tags: f%23, .net Problem: How to use PFX Task.Factory.StartNew for F# functions taking a parameter? Using the Programming F# book, there's an example ...
How to use PFX Task.Factory.StartNew for F# functions taking a parameter? How to use PFX Task.Factory.StartNew for F# functions taking a parameter? f%23 .net How PFX Task.Factory.StartNew result1 longTask1 result2 LongTask2 Open System.Threading.Tasks Func task.Result System.Func taskBody.Invoke How to use PFX Task.Fac...
[ 0.0103759765625, 0.0194091796875, -0.02001953125, 0.00421142578125, 0.00274658203125, -0.00058746337890625, 0.02490234375, -0.020263671875, -0.00439453125, -0.03173828125, 0.0115966796875, 0.00848388671875, -0.006683349609375, 0.0005950927734375, 0.00958251953125, -0.02099609375, 0.0...
[ 11249, 4527, 436, 76175, 9598, 92, 135518, 31667, 126597, 46568, 563, 4904, 32354, 35971, 171859, 1238, 3949, 3742, 1179, 16750, 4989, 9874, 1042, 418, 304, 14407, 13527, 12353, 39116, 28670, 66211, 7, 7136, 97249, 12647, 1459, 23253, 27958, ...
[ 0.046844482421875, 0.1212158203125, 0.08050537109375, 0.240478515625, 0.1658935546875, 0.1134033203125, 0.1708984375, 0.094970703125, 0.179931640625, 0.2646484375, 0.10064697265625, 0.187744140625, 0.18310546875, 0.111572265625, 0.2088623046875, 0.039337158203125, 0.0303955078125, ...
embed
73214952_c0
73214952
fsharp
0
Title: Running Parallel async functions and waiting for the result in F# in a loop Problem title: Running Parallel async functions and waiting for the result in F# in a loop Tags: asynchronous, f%23 Problem: Running Parallel async functions and waiting for the result in F# in a loop I have a function that I want to run...
Running Parallel async functions and waiting for the result in F# in a loop Running Parallel async functions and waiting for the result in F# in a loop asynchronous f%23 Running Parallel List.chunkBySize List.map Async.Parallel Async.Sleep Running Parallel async functions and waiting for the result in F# in a loop I ha...
[ 0.005035400390625, -0.0025177001953125, 0.016845703125, -0.026123046875, 0.00201416015625, 0.00665283203125, -0.0024261474609375, -0.002410888671875, 0.0009918212890625, -0.0096435546875, 0.02392578125, 0.017333984375, 0.005035400390625, -0.0086669921875, 0.0181884765625, 0.00173187255...
[ 28398, 211485, 10, 12654, 238, 32354, 89289, 100, 16750, 563, 4904, 40956, 101966, 1238, 3949, 3742, 32036, 3678, 75358, 127167, 62346, 55292, 1229, 133, 4517, 3444, 11675, 190, 1733, 1295, 7839, 5303, 40485, 17932, 237, 959, 5962, 5787, 14...
[ 0.1180419921875, 0.2459716796875, 0.04412841796875, 0.2276611328125, 0.1123046875, 0.186279296875, 0.180419921875, 0.0826416015625, 0.1357421875, 0.07025146484375, 0.14697265625, 0.167236328125, 0.1319580078125, 0.04156494140625, 0.0172576904296875, 0.14013671875, 0.1300048828125, ...
embed
28670395_c0
28670395
fsharp
0
Title: F# Running NUnit Tests Problem title: F# Running NUnit Tests Tags: f%23, nunit Problem: F# Running NUnit Tests I am looking to just run a few unit tests, I have added them them in an .fs file. I want to call them from the applications entry point as and when when I want to run them. This the test I have written ...
F# Running NUnit Tests F# Running NUnit Tests f%23 nunit NUnit.Framework.AssertionException Running NUnit Tests InvoiceApp System NUnit.Framework FsUnit Test Passed Failed TestFixture TestCase When Math.percentage ex.Message F# Running NUnit Tests I am looking to just run a few unit tests, I have added them them in an ...
[ 0.0108642578125, 0.004669189453125, 0.01141357421875, -0.0130615234375, 0.0010528564453125, -0.006744384765625, 0.0147705078125, -0.01409912109375, 0.0020599365234375, 0.003509521484375, 0.01416015625, 0.017333984375, -0.01171875, 0.02734375, 0.007171630859375, 0.0106201171875, 0.024...
[ 563, 4904, 28398, 592, 18057, 6773, 8647, 1238, 3949, 3742, 4124, 217, 108386, 18244, 16865, 63928, 360, 965, 2980, 39179, 12353, 7, 85600, 18, 28872, 190355, 6159, 425, 441, 14847, 78804, 108475, 1119, 6011, 16487, 11675, 10846, 25072, 109...
[ 0.112548828125, 0.19482421875, 0.112548828125, 0.081787109375, 0.1895751953125, 0.2462158203125, 0.2313232421875, 0.068359375, 0.0455322265625, 0.12353515625, 0.1153564453125, 0.0936279296875, 0.05645751953125, 0.07891845703125, 0.1312255859375, 0.09063720703125, 0.058929443359375, ...
embed
52687412_c1
52687412
fsharp
1
wrong, since [1] is of length shorter than the rest, hence the result should be "false". I've tried to solve this by mutating the value of lst, for each iteration, but this again causes a problem if for instance [2] and [3] are same length but [0] and [1] are not, and again it returns "true" even though the output sho...
wrong, since [1] is of length shorter than the rest, hence the result should be "false". I've tried to solve this by mutating the value of lst, for each iteration, but this again causes a problem if for instance [2] and [3] are same length but [0] and [1] are not, and again it returns "true" even though the output sho...
[ -0.0264892578125, 0.0009918212890625, 0.0091552734375, 0.01531982421875, -0.01226806640625, 0.00396728515625, 0.0230712890625, 0.016357421875, 0.022705078125, -0.0038604736328125, 0.01019287109375, -0.01171875, 0.01214599609375, 0.020263671875, -0.0030059814453125, -0.00093841552734375...
[ 44691, 16792, 17550, 83, 111, 140909, 16610, 56, 3501, 10588, 16750, 5608, 8710, 184, 37842, 86869, 903, 31158, 70, 34292, 96, 271, 12638, 17, 720, 2320, 13438, 113660, 2967, 33579, 136, 50740, 621, 5701, 147352, 959, 30646, 9774, 140992, ...
[ 0.182373046875, 0.036468505859375, 0.1129150390625, 0.00970458984375, 0.042633056640625, 0.1849365234375, 0.1846923828125, 0.117919921875, 0.00665283203125, 0.095458984375, 0.10614013671875, 0.0645751953125, 0.189453125, 0.1439208984375, 0.01055908203125, 0.09747314453125, 0.01046752...
embed
31252185_c1
31252185
fsharp
1
let mutable disposed = false let cleanup (disposing:bool) = if not disposed then disposed <- true if disposing then vimClient.Logout() streamWriter.Close() fileStream.Close() interface System.IDisposable with member x.Dispose() = cleanup(true) System.GC.SuppressFinalize(x) override x.Finalize () = cleanup(false) This ...
let mutable disposed = false let cleanup (disposing:bool) = if not disposed then disposed <- true if disposing then vimClient.Logout() streamWriter.Close() fileStream.Close() interface System.IDisposable with member x.Dispose() = cleanup(true) System.GC.SuppressFinalize(x) override x.Finalize () = cleanup(false) This ...
[ 0.00677490234375, 0.037109375, 0.00148773193359375, -0.00933837890625, 0.0167236328125, 0.006805419921875, -0.0081787109375, 0.01361083984375, 0.003997802734375, 0.02294921875, 0.0186767578125, 0.03076171875, 0.02001953125, 0.007415771484375, 0.00139617919921875, -0.0037384033203125, ...
[ 2633, 842, 22819, 60458, 71, 98320, 46622, 2037, 3827, 7522, 214, 142484, 959, 29568, 91471, 449, 119916, 150, 2517, 113972, 6056, 75973, 2783, 59453, 11435, 115061, 101758, 12353, 164, 2886, 32786, 44456, 78381, 9774, 69657, 11856, 6159, 76,...
[ 0.172607421875, 0.1468505859375, 0.2235107421875, 0.220458984375, 0.10406494140625, 0.164794921875, 0.159912109375, 0.1517333984375, 0.09429931640625, 0.1593017578125, 0.0904541015625, 0.1541748046875, 0.08251953125, 0.06646728515625, 0.1961669921875, 0.045562744140625, 0.20458984375...
embed
40607008_c0
40607008
fsharp
0
Title: F# a function as an argument in a match function Problem title: F# a function as an argument in a match function Tags: list, guard-clause, f%23, discriminator, match Problem: F# a function as an argument in a match function I have made function that takes a list and a list of lists and returns a new list of list...
F# a function as an argument in a match function F# a function as an argument in a match function list guard-clause f%23 discriminator match List.item List.append F# a function as an argument in a match function I have made function that takes a list and a list of lists and returns a new list of lists. validate is a fu...
[ -0.0162353515625, 0.01373291015625, 0.022705078125, 0.000896453857421875, 0.00518798828125, -0.01556396484375, -0.0186767578125, 0.007659912109375, 0.01300048828125, -0.000965118408203125, 0.0255126953125, 0.007598876953125, 0.0218505859375, 0.006072998046875, 0.0024871826171875, -0.01...
[ 563, 4904, 10, 32354, 237, 142, 10750, 23, 14858, 5303, 56050, 18347, 1238, 3742, 55970, 1290, 32036, 217, 9007, 30646, 44622, 67, 6626, 370, 8705, 933, 17727, 22759, 29581, 70, 114211, 18499, 103510, 7013, 17489, 83, 959, 61924, 107003, ...
[ 0.08563232421875, 0.151123046875, 0.0118408203125, 0.2169189453125, 0.0928955078125, 0.0278167724609375, 0.259765625, 0.1014404296875, 0.2454833984375, 0.1380615234375, 0.154541015625, 0.00701904296875, 0.051239013671875, 0.08203125, 0.2149658203125, 0.13037109375, 0.0938720703125, ...
embed
45770248_c0
45770248
fsharp
0
Title: Getting System.UnauthorizedAccessException in ASP.NET Core MVC application when reading a file in both Windows and Linux Problem title: Getting System.UnauthorizedAccessException in ASP.NET Core MVC application when reading a file in both Windows and Linux Tags: kestrel, f%23, asp.net-core Problem: Getting Syste...
Getting System.UnauthorizedAccessException in ASP.NET Core MVC application when reading a file in both Windows and Linux Getting System.UnauthorizedAccessException in ASP.NET Core MVC application when reading a file in both Windows and Linux kestrel f%23 asp.net-core System.UnauthorizedAccessException Getting ASP.NET C...
[ -0.00732421875, 0.0152587890625, 0.00579833984375, -0.0162353515625, -0.000759124755859375, -0.02587890625, 0.01239013671875, 0.0036773681640625, -0.01287841796875, -0.016845703125, 0.015625, 0.0205078125, 0.00201416015625, 0.0233154296875, 0.0133056640625, 0.00096893310546875, -0.01...
[ 210732, 12353, 106396, 1003, 5922, 29367, 39450, 26531, 19279, 63928, 147153, 17777, 31365, 276, 56349, 38415, 16454, 11435, 3773, 136, 29908, 10, 15044, 311, 5967, 141, 1238, 3949, 3742, 237, 254, 1179, 30854, 42724, 31345, 43512, 174379, 12...
[ 0.0173797607421875, 0.1220703125, 0.0367431640625, 0.06610107421875, 0.0927734375, 0.044586181640625, 0.06158447265625, 0.1776123046875, 0.0960693359375, 0.1859130859375, 0.15576171875, 0.1600341796875, 0.193603515625, 0.04296875, 0.202392578125, 0.1068115234375, 0.162109375, 0.140...
embed
6349224_c0
6349224
fsharp
0
Title: F# - Reflection, Pattern matching: GetValue Problem title: F# - Reflection, Pattern matching: GetValue Tags: f%23 Problem: F# - Reflection, Pattern matching: GetValue | P.Call(_, mi, [P.Value(value, _); P.PropertyGet(q, propInfo, [])]) -> ... How would I use the GetValue method, in order to get the value for pro...
F# - Reflection, Pattern matching: GetValue F# - Reflection, Pattern matching: GetValue f%23 Reflection Pattern GetValue P.Call P.Value P.PropertyGet q.Value pi2 pi.GetValue Some PropertyGet None Author pi2.GetValue F# - Reflection, Pattern matching: GetValue How would I use the GetValue method, in order to get the val...
[ -0.01007080078125, 0.00165557861328125, 0.02685546875, -0.00885009765625, -0.0277099609375, -0.01544189453125, -0.0291748046875, -0.0257568359375, 0.0025787353515625, -0.03662109375, 0.019287109375, 0.0277099609375, -0.0291748046875, -0.0196533203125, 0.0211181640625, 0.00677490234375,...
[ 563, 4904, 53295, 133, 10763, 9876, 22766, 14858, 214, 20779, 856, 50770, 1238, 3949, 3742, 436, 441, 5584, 10752, 1264, 939, 724, 126, 8096, 2147, 304, 31384, 206984, 438, 61804, 5442, 11249, 2806, 4527, 55300, 2046, 34292, 100, 25793, 9...
[ 0.0753173828125, 0.1544189453125, 0.132080078125, 0.1435546875, 0.0972900390625, 0.1351318359375, 0.14404296875, 0.1361083984375, 0.07965087890625, 0.200927734375, 0.220947265625, 0.313232421875, 0.06256103515625, 0.016754150390625, 0.1329345703125, 0.0255279541015625, 0.000854492187...
embed
71979126_c1
71979126
fsharp
1
ize x = "b" let score input = input |> standardize |> Domain.Scoring2.Main.go namespace Infrastructure module BankA = let read filename = "A" let score filename = filename |> read |> Application.BankA.score let computeTaxes (filename:string) = filename |> read |> Application.BankA.computeTaxes module BankB = let read f...
ize x = "b" let score input = input |> standardize |> Domain.Scoring2.Main.go namespace Infrastructure module BankA = let read filename = "A" let score filename = filename |> read |> Application.BankA.score let computeTaxes (filename:string) = filename |> read |> Application.BankA.computeTaxes module BankB = let read f...
[ 0.005889892578125, -0.0033416748046875, 0.00469970703125, 0.0250244140625, -0.0157470703125, 0.016357421875, 0.00003886222839355469, 0.01806640625, 0.009033203125, 0, 0.0172119140625, 0.03271484375, -0.025390625, 0.0140380859375, 0.010986328125, -0.0203857421875, 0.002227783203125, ...
[ 445, 13, 1022, 2203, 275, 2633, 47763, 107730, 6, 2740, 5570, 20650, 93702, 5, 294, 587, 2852, 5442, 168793, 519, 210716, 83589, 137656, 88996, 4932, 284, 12301, 11435, 11627, 58, 104921, 70323, 30854, 9969, 6743, 9874, 31195, 15, 29822, ...
[ 0.1519775390625, 0.17724609375, 0.1534423828125, 0.133056640625, 0.1334228515625, 0.165771484375, 0.2462158203125, 0.1925048828125, 0.0091552734375, 0.012603759765625, 0.1885986328125, 0.166259765625, 0.172607421875, 0.0225372314453125, 0.06573486328125, 0.1829833984375, 0.1467285156...
embed
30177074_c0
30177074
fsharp
0
Title: How to generate data idiomatically in f# inline in code Problem title: How to generate data idiomatically in f# inline in code Tags: immutability, poker, functional-programming, f%23 Problem: How to generate data idiomatically in f# inline in code Lets say i am attempting to implement some sort of poker program ...
How to generate data idiomatically in f# inline in code How to generate data idiomatically in f# inline in code immutability poker functional-programming f%23 How Suit Hearts Diamonds Spades Clubs Card Suit:Suit Rank:int Hand Cards:List How to generate data idiomatically in f# inline in code Lets say i am attempting to...
[ 0.00701904296875, -0.005645751953125, 0.0103759765625, -0.015869140625, 0.00421142578125, 0.00112152099609375, 0.00787353515625, -0.029296875, 0.0059814453125, -0.05029296875, 0.01007080078125, 0.035400390625, -0.00897216796875, -0.004974365234375, 0.01019287109375, -0.0177001953125, ...
[ 11249, 139392, 2053, 49666, 18, 71407, 23, 1238, 4904, 2256, 18151, 14311, 25600, 123309, 28966, 3742, 1832, 217, 60861, 69124, 10959, 988, 7687, 23660, 7143, 134405, 4288, 10639, 154663, 81887, 29479, 1528, 10644, 5426, 3444, 32354, 30646, 1...
[ 0.036285400390625, 0.2108154296875, 0.17724609375, 0.1962890625, 0.1048583984375, 0.07958984375, 0.099365234375, 0.1220703125, 0.212646484375, 0.17626953125, 0.1431884765625, 0.115966796875, 0.140625, 0.125244140625, 0.10418701171875, 0.01104736328125, 0.0972900390625, 0.0438537597...
embed
66245569_c0
66245569
fsharp
0
Title: Does F# have object reference or does it copy the object Problem title: Does F# have object reference or does it copy the object Tags: f%23 Problem: Does F# have object reference or does it copy the object Let's say I want to implement a doubly linked list in F# as a class. So far I have started with the followi...
Does F# have object reference or does it copy the object Does F# have object reference or does it copy the object f%23 Does List Unchecked.defaultof this.value this.head this.tail Does F# have object reference or does it copy the object Let's say I want to implement a doubly linked list in F# as a class. So far I have ...
[ 0.002685546875, 0.0311279296875, 0.01556396484375, 0.00104522705078125, -0.00531005859375, 0.007568359375, -0.0184326171875, 0.01043701171875, 0.0089111328125, 0.0208740234375, 0.00970458984375, 0.01251220703125, 0.0164794921875, 0.0250244140625, -0.00182342529296875, 0.00885009765625,...
[ 101790, 563, 4904, 765, 36746, 91067, 707, 14602, 43658, 1238, 3742, 32036, 992, 78292, 214810, 4390, 903, 27494, 31251, 46741, 442, 3444, 29479, 54, 34, 38526, 3126, 297, 5303, 18507, 18151, 138, 17582, 4127, 96276, 53550, 10336, 47, 28271...
[ 0.07098388671875, 0.1866455078125, 0.254638671875, 0.1368408203125, 0.2379150390625, 0.281005859375, 0.08349609375, 0.06781005859375, 0.1953125, 0.094970703125, 0.09942626953125, 0.180419921875, 0.0611572265625, 0.198486328125, 0.1951904296875, 0.08563232421875, 0.09832763671875, 0...
embed
7103454_c1
7103454
fsharp
1
2 as there is now newer now) and FSharp.Core.dll version 2 in bin directory. 2. create new directory in bin directory and put there this: -FSharp.Compiler.dll (version 4) -FSharp.Core (.dll, .xml, .sigdata, .optdata) (version 4) -Fsc.exe - f# compiler 3. From code set process' FSHARP_BIN environment variable to point t...
2 as there is now newer now) and FSharp.Core.dll version 2 in bin directory. 2. create new directory in bin directory and put there this: -FSharp.Compiler.dll (version 4) -FSharp.Core (.dll, .xml, .sigdata, .optdata) (version 4) -Fsc.exe - f# compiler 3. From code set process' FSHARP_BIN environment variable to point t...
[ -0.0191650390625, 0.005523681640625, -0.0079345703125, -0.01422119140625, -0.01434326171875, 0.021240234375, -0.01123046875, -0.0038299560546875, -0.0126953125, -0.007659912109375, -0.01434326171875, 0.01904296875, 0.00335693359375, -0.013671875, 0.02783203125, -0.01544189453125, 0.0...
[ 116, 237, 2685, 83, 5036, 3525, 56, 16, 136, 93774, 3467, 254, 5, 50886, 13, 71, 1181, 11389, 23, 2394, 14364, 53, 787, 28282, 3884, 903, 20, 36381, 108161, 34759, 46354, 13956, 131492, 20561, 10135, 2146, 919, 10382, 46480, 1238, 4904,...
[ 0.1220703125, 0.05157470703125, 0.06854248046875, 0.03216552734375, 0.08843994140625, 0.08282470703125, 0.075439453125, 0.008026123046875, 0.1126708984375, 0.1259765625, 0.229736328125, 0.2421875, 0.07843017578125, 0.152587890625, 0.1087646484375, 0.0665283203125, 0.202392578125, 0...
embed
18181906_c0
18181906
fsharp
0
Title: F# Type Provider compiled as *.exe file Problem title: F# Type Provider compiled as *.exe file Tags: type-providers, f%23 Problem: F# Type Provider compiled as *.exe file Why I cannot create Type Provider as *.exe file with [<TypeProviderAssembly()>] and [<EntryPoint>] inside? When I try to reference such TP usi...
F# Type Provider compiled as *.exe file F# Type Provider compiled as *.exe file type-providers f%23 Type Provider TypeProviderAssembly EntryPoint Debug MyTypeProvider.exe test.fsx FS3031 Assembly TypeProviderAssemblyAttribute MyTypeProvider Could MyTypeProvider.dll F# Type Provider compiled as *.exe file Why I cannot c...
[ 0.0185546875, -0.005950927734375, -0.0106201171875, 0.01092529296875, -0.02490234375, 0.01300048828125, 0.0101318359375, -0.010986328125, -0.013427734375, -0.0205078125, 0.00732421875, 0.01531982421875, 0.007537841796875, 0.018310546875, 0.017822265625, 0.005767822265625, 0.007141113...
[ 563, 4904, 60457, 123089, 42, 375, 5974, 237, 661, 46480, 11435, 10644, 93136, 1238, 3742, 177997, 89845, 357, 15123, 147534, 262, 85779, 2646, 196707, 62160, 3034, 17447, 425, 93774, 1197, 5016, 151169, 191145, 191147, 71, 1181, 53418, 28282...
[ 0.1131591796875, 0.1856689453125, 0.25048828125, 0.236572265625, 0.1490478515625, 0.0248260498046875, 0.1539306640625, 0.078369140625, 0.1224365234375, 0.173583984375, 0.146240234375, 0.21484375, 0.1768798828125, 0.045013427734375, 0.0911865234375, 0.1900634765625, 0.1634521484375, ...
embed
43485249_c0
43485249
fsharp
0
Title: How to remove &quot;accents&quot; from strings in C#? Problem title: How to remove &quot;accents&quot; from strings in C#? Tags: f%23, string, replace, unicode, c%23 Problem: How to remove "accents" from strings in C#? I want to write a F# or C# function that removes Spanish accents from a string like so: in: "a...
How to remove &quot;accents&quot; from strings in C#? How to remove &quot;accents&quot; from strings in C#? f%23 string replace unicode c%23 strings How trans_table str.maketrans How to remove "accents" from strings in C#? I want to write a F# or C# function that removes Spanish accents from a string like so: I know ho...
[ -0.00055694580078125, 0.031982421875, -0.007598876953125, 0.031005859375, -0.00433349609375, -0.007537841796875, -0.001922607421875, 0.013916015625, -0.00921630859375, -0.00457763671875, 0.01239013671875, -0.0177001953125, -0.01470947265625, 0.013916015625, -0.0040283203125, 0.00927734...
[ 11249, 47, 87388, 41502, 92140, 16037, 1295, 79315, 7, 23, 313, 4904, 74, 1238, 3949, 3742, 91995, 60347, 112, 3900, 22819, 7704, 55898, 30145, 44, 3444, 33022, 563, 32354, 195374, 78550, 1884, 221, 3642, 69307, 145581, 22408, 121512, 41324...
[ 0.07598876953125, 0.042755126953125, 0.20849609375, 0.0311279296875, 0.1978759765625, 0.2412109375, 0.12939453125, 0.258544921875, 0.03515625, 0.07196044921875, 0.0869140625, 0.2305908203125, 0.000244140625, 0.0892333984375, 0.03033447265625, 0.158203125, 0.1278076171875, 0.1359863...
embed
19064905_c0
19064905
fsharp
0
Title: How to correctly add new entity with F# on MonoTouch Problem title: How to correctly add new entity with F# on MonoTouch Tags: xamarin.ios, f%23, core-data Problem: How to correctly add new entity with F# on MonoTouch I would like to know how to correctly add new objects to a CoreData datastore. The following co...
How to correctly add new entity with F# on MonoTouch How to correctly add new entity with F# on MonoTouch xamarin.ios f%23 core-data How MonoTouch NSEntityDescription.InsertNewObjectForEntityForName Document ed.SetValueForKey NSString base_name NSNumber question_count context.Save xamarin.ios How to correctly add new e...
[ 0.005279541015625, 0.0081787109375, -0.00579833984375, 0.00982666015625, 0.006866455078125, -0.01239013671875, -0.007659912109375, -0.0004711151123046875, -0.007049560546875, -0.0279541015625, 0.00982666015625, -0.0159912109375, -0.013427734375, 0.004486083984375, 0.012939453125, 0.000...
[ 11249, 26785, 15190, 3525, 77630, 939, 678, 563, 4904, 98, 77879, 221234, 2459, 44503, 5790, 1238, 3742, 56458, 10135, 660, 2481, 59478, 33657, 46568, 46471, 75161, 18537, 7768, 18, 163612, 43101, 126, 50770, 162429, 52700, 71713, 3647, 11627...
[ 0.03521728515625, 0.171630859375, 0.171630859375, 0.1666259765625, 0.1873779296875, 0.1546630859375, 0.1014404296875, 0.1348876953125, 0.2022705078125, 0.041839599609375, 0.1798095703125, 0.2459716796875, 0.1202392578125, 0.205078125, 0.1148681640625, 0.0625, 0.11328125, 0.08941650...
embed
26562197_c1
26562197
fsharp
1
Int, y :: Int} Prelude> let p = Point { x = 11, y=22} Prelude> x p 11 UPDATE 2: Hopefully a more obvious reason against the lambda is an example when the type inference doesn't work without help: type Point2D = { x : int; y : int} type Point3D = { x : int; y : int; z : int} let get2dXes = List.map (fun (p:Point2D) -> ...
Int, y :: Int} Prelude> let p = Point { x = 11, y=22} Prelude> x p 11 UPDATE 2: Hopefully a more obvious reason against the lambda is an example when the type inference doesn't work without help: type Point2D = { x : int; y : int} type Point3D = { x : int; y : int; z : int} let get2dXes = List.map (fun (p:Point2D) -> ...
[ 0.0015411376953125, 0.0035400390625, 0.0064697265625, -0.01953125, -0.0238037109375, -0.017333984375, -0.0030517578125, 0.001373291015625, 0.00750732421875, -0.01708984375, 0.01806640625, 0.00171661376953125, -0.00830078125, -0.0203857421875, 0.00167083740234375, -0.0027008056640625, ...
[ 360, 18, 113, 1984, 8152, 1914, 822, 112, 2633, 915, 2203, 41097, 1022, 534, 207234, 240095, 162520, 31635, 26548, 21, 6492, 85, 27781, 10644, 53498, 6620, 4488, 4358, 304, 397, 23, 363, 97, 2046, 71, 1542, 32036, 62346, 16498, 254, 147...
[ 0.119384765625, 0.154052734375, 0.16064453125, 0.06427001953125, 0.00994873046875, 0.0968017578125, 0.16796875, 0.1185302734375, 0.13134765625, 0.1173095703125, 0.051544189453125, 0.20849609375, 0.06488037109375, 0.1383056640625, 0.0999755859375, 0.0228424072265625, 0.065673828125, ...
embed
5775131_c0
5775131
fsharp
0
Title: i think i got infinite loop for this BST Problem title: i think i got infinite loop for this BST Tags: f%23, tree Problem: i think i got infinite loop for this BST this code i got is from Alexander Battisti about how to make a tree from a list of data: let data = [4;3;8;7;10;1;9;6;5;0;2] type Tree<'a> = | Node o...
i think i got infinite loop for this BST i think i got infinite loop for this BST f%23 tree BST Tree Node Leaf List.fold BinarySearch i think i got infinite loop for this BST this code i got is from Alexander Battisti about how to make a tree from a list of data: then i want to implement this code to my binary search t...
[ 0.0093994140625, 0.0033416748046875, 0.01434326171875, -0.0002651214599609375, 0.0262451171875, 0.00897216796875, -0.00982666015625, -0.01611328125, -0.005706787109375, -0.0390625, -0.00848388671875, -0.0184326171875, -0.003143310546875, 0.0142822265625, 0.00799560546875, 0.02209472656...
[ 17, 5351, 4163, 54241, 13, 40956, 100, 903, 335, 8545, 1238, 3949, 3742, 53201, 101344, 438, 112, 636, 2407, 32036, 42822, 54092, 1294, 221175, 18151, 42814, 141117, 4166, 3642, 3249, 1295, 5303, 2053, 3444, 29479, 2394, 6635, 33938, 4527, ...
[ 0.0908203125, 0.150146484375, 0.125732421875, 0.199951171875, 0.10504150390625, 0.255126953125, 0.106201171875, 0.1251220703125, 0.045562744140625, 0.1422119140625, 0.07598876953125, 0.0703125, 0.1728515625, 0.2264404296875, 0.166748046875, 0.07080078125, 0.0819091796875, 0.0164947...
embed
65356275_c1
65356275
fsharp
1
the origin, and the intermediaries would fire and forget in between. open System type Message = string * AsyncReplyChannel<string> [<EntryPoint>] let main argv = let myFirstAgent = MailboxProcessor<Message>.Start(fun inbox -> let rec loop () = async { let! (message, replyChannel) = inbox.Receive() replyChannel.Reply (...
the origin, and the intermediaries would fire and forget in between. open System type Message = string * AsyncReplyChannel<string> [<EntryPoint>] let main argv = let myFirstAgent = MailboxProcessor<Message>.Start(fun inbox -> let rec loop () = async { let! (message, replyChannel) = inbox.Receive() replyChannel.Reply (...
[ 0.005828857421875, 0.021484375, -0.0203857421875, 0.043701171875, -0.000316619873046875, -0.004150390625, 0.00762939453125, 0.0091552734375, -0.005279541015625, -0.03125, 0.004058837890625, 0.031494140625, -0.0057373046875, 0.02294921875, 0.0279541015625, 0.01165771484375, 0.03051757...
[ 70, 59665, 4, 136, 81814, 11, 10484, 2806, 11476, 90820, 23, 17721, 5, 9803, 12353, 10644, 48205, 4588, 2203, 79315, 661, 62, 12654, 238, 4332, 62479, 127008, 8876, 91693, 7768, 15123, 147534, 2633, 5201, 79459, 334, 759, 207263, 284, 468...
[ 0.1214599609375, 0.2822265625, 0.03240966796875, 0.0712890625, 0.185546875, 0.119873046875, 0.1185302734375, 0.1317138671875, 0.1890869140625, 0.1875, 0.100830078125, 0.1591796875, 0.0252838134765625, 0.14453125, 0.1695556640625, 0.1805419921875, 0.13525390625, 0.0947265625, 0.07...
embed
28529589_c1
28529589
fsharp
1
with | [] -> accum | head :: tail -> sum tail (accum + head/12.0) sum values 0.0 let rec sum (year, values:double list) = if values = [] then 0.0 else values.Head + sum (year, values.Tail) [<EntryPoint>] let main argv = // read entire file as list of strings: let file = ReadFile "rainfall-midway.txt" printfn "** Rainf...
with | [] -> accum | head :: tail -> sum tail (accum + head/12.0) sum values 0.0 let rec sum (year, values:double list) = if values = [] then 0.0 else values.Head + sum (year, values.Tail) [<EntryPoint>] let main argv = // read entire file as list of strings: let file = ReadFile "rainfall-midway.txt" printfn "** Rainf...
[ -0.0089111328125, 0.0034332275390625, 0.0072021484375, 0.02294921875, -0.0264892578125, 0.01483154296875, 0.000675201416015625, 0.0062255859375, 0.017333984375, 0.02783203125, -0.00002086162567138672, 0.0137939453125, -0.005828857421875, -0.0283203125, 0.015869140625, 0.01275634765625,...
[ 678, 58745, 33079, 61689, 39, 10336, 1984, 46741, 10554, 2263, 10591, 997, 22875, 142424, 89678, 2633, 21954, 46799, 21555, 2661, 5303, 2174, 37076, 13025, 712, 9874, 379, 7768, 15123, 147534, 5201, 79459, 334, 12301, 64194, 11435, 237, 79315...
[ 0.1588134765625, 0.02459716796875, 0.032562255859375, 0.118408203125, 0.1180419921875, 0.1981201171875, 0.02093505859375, 0.2294921875, 0.1939697265625, 0.02105712890625, 0.2047119140625, 0.0726318359375, 0.134521484375, 0.1864013671875, 0.163330078125, 0.04833984375, 0.098388671875,...
embed
28875491_c0
28875491
fsharp
0
Title: Error FS0001: Expected to have type string, but has type char Problem title: Error FS0001: Expected to have type string, but has type char Tags: f%23 Problem: Error FS0001: Expected to have type string, but has type char I am new to programming, and this is my first time working with a .NET language, so I apolog...
Error FS0001: Expected to have type string, but has type char Error FS0001: Expected to have type string, but has type char f%23 Error FS0001 Expected Int32.TryParse Some None someString.Remove Error FS0001: Expected to have type string, but has type char I am new to programming, and this is my first time working with ...
[ 0.003936767578125, 0.01190185546875, -0.0087890625, 0.0361328125, -0.0191650390625, 0.0142822265625, 0.009521484375, -0.011474609375, -0.0086669921875, 0.00677490234375, 0.009033203125, -0.0107421875, -0.00885009765625, 0.0052490234375, -0.00958251953125, 0.006011962890625, 0.0196533...
[ 212059, 93774, 188735, 60075, 13, 89829, 765, 10644, 79315, 1284, 1556, 21441, 1238, 3949, 3742, 6460, 1294, 28636, 184, 31384, 438, 3060, 71713, 214, 432, 56037, 20697, 17777, 46876, 12524, 110833, 18151, 9790, 11675, 563, 4904, 5337, 71232,...
[ 0.168701171875, 0.1494140625, 0.2479248046875, 0.11279296875, 0.1197509765625, 0.0194549560546875, 0.0479736328125, 0.2100830078125, 0.2254638671875, 0.0966796875, 0.08837890625, 0.1981201171875, 0.033447265625, 0.01263427734375, 0.1259765625, 0.1600341796875, 0.04669189453125, 0.0...
embed
39312196_c0
39312196
fsharp
0
Title: Why does putting the first line of the expression on the same line as let not compile? Problem title: Why does putting the first line of the expression on the same line as let not compile? Tags: f%23, syntax Problem: Why does putting the first line of the expression on the same line as let not compile? In F# the...
Why does putting the first line of the expression on the same line as let not compile? Why does putting the first line of the expression on the same line as let not compile? f%23 syntax Why listx2 List.map List.iter Why does putting the first line of the expression on the same line as let not compile? In F# the followi...
[ 0.00122833251953125, -0.015869140625, 0.00341796875, 0.0189208984375, -0.01422119140625, 0.004150390625, 0.0184326171875, 0.01434326171875, 0.0133056640625, -0.007537841796875, -0.0164794921875, 0.0272216796875, 0.0238037109375, 0.0076904296875, 0.018798828125, 0.004364013671875, -0....
[ 44084, 118620, 5117, 13315, 125195, 5701, 2633, 959, 9969, 1340, 98, 1238, 3949, 3742, 86531, 5303, 425, 304, 32036, 62346, 16840, 563, 4904, 25632, 63805, 35782, 18499, 1221, 903, 1631, 592, 60212 ]
[ 0.0706787109375, 0.066650390625, 0.1348876953125, 0.135498046875, 0.204833984375, 0.05938720703125, 0.1697998046875, 0.142822265625, 0.1585693359375, 0.1737060546875, 0.020233154296875, 0.053497314453125, 0.003204345703125, 0.1419677734375, 0.011199951171875, 0.1175537109375, 0.04388...
embed
24155977_c1
24155977
fsharp
1
in a type augmentation is deprecated in F# 3.1. Old question So, the question is: Is there a way to get structured output for failing NUnit tests without explicitly overriding ToString ? Is there some plugin mechanism for NUnit? I've checked NUnit's sources, there doesn't seem to be an obvious or supported way of doin...
in a type augmentation is deprecated in F# 3.1. Old question So, the question is: Is there a way to get structured output for failing NUnit tests without explicitly overriding ToString ? Is there some plugin mechanism for NUnit? I've checked NUnit's sources, there doesn't seem to be an obvious or supported way of doin...
[ -0.00567626953125, 0.0308837890625, 0.01422119140625, 0.012451171875, -0.01708984375, -0.0169677734375, 0.00628662109375, -0.0162353515625, -0.006439208984375, 0.02734375, -0.00139617919921875, 0.013916015625, 0.0078125, 0.01495361328125, -0.0017852783203125, 0.00732421875, -0.003402...
[ 23, 10644, 172562, 8, 4692, 4460, 563, 4904, 45151, 9655, 3917, 2046, 45646, 71, 140992, 35782, 214, 18057, 6773, 109921, 15490, 143726, 645, 416, 717, 71713, 69993, 191619, 29806, 4271, 18151, 71924, 25072, 4537, 17164, 55970, 69941, 52895, ...
[ 0.03369140625, 0.2130126953125, 0.2093505859375, 0.092041015625, 0.1102294921875, 0.081298828125, 0.0963134765625, 0.16064453125, 0.1591796875, 0.01593017578125, 0.0399169921875, 0.06280517578125, 0.2283935546875, 0.12158203125, 0.2298583984375, 0.1885986328125, 0.0892333984375, 0....
embed
40680838_c0
40680838
fsharp
0
Title: Interop with parameters passed by ref Problem title: Interop with parameters passed by ref Tags: ref, c%23, f%23, interop, mutable Problem: Interop with parameters passed by ref I'm trying to call a C# function of an already existing library (and I don't have time to port the whole library to F#) namespace Expor...
Interop with parameters passed by ref Interop with parameters passed by ref ref c%23 f%23 interop mutable Interop ExportLib Xlsx TestSave save_log UserFile Xlsx.TestSave FileResult ErrorMsg Interop with parameters passed by ref I'm trying to call a C# function of an already existing library (and I don't have time to po...
[ 0.021240234375, 0.01104736328125, 0.0157470703125, 0.0147705078125, -0.01953125, 0.00130462646484375, -0.0208740234375, 0.0033416748046875, 0.0106201171875, 0.007110595703125, 0.01336669921875, 0.00128173828125, -0.0111083984375, 0.0303955078125, 0.0184326171875, 0.000823974609375, 0...
[ 5337, 2146, 678, 171859, 115081, 390, 18831, 3742, 1238, 1940, 842, 22819, 134456, 104820, 1193, 8080, 425, 8647, 5464, 30098, 4867, 53400, 174350, 111337, 42724, 212059, 31577, 11782, 4904, 32354, 21771, 144573, 35773, 1733, 11469, 563, 18151,...
[ 0.19970703125, 0.228759765625, 0.09185791015625, 0.241943359375, 0.122802734375, 0.0535888671875, 0.279296875, 0.08544921875, 0.0199432373046875, 0.1829833984375, 0.1317138671875, 0.185546875, 0.13916015625, 0.1435546875, 0.02337646484375, 0.011383056640625, 0.0384521484375, 0.0885...
embed
42264163_c0
42264163
fsharp
0
Title: F# int -&gt; int list recursive function Problem title: F# int -&gt; int list recursive function Tags: recursion, function, f%23 Problem: F# int -> int list recursive function Total newbie to F# here, need some help. So the question says to write a function downTo : int -> int list so that downTo n returns the n...
F# int -&gt; int list recursive function F# int -&gt; int list recursive function recursion function f%23 F# int -> int list recursive function Total newbie to F# here, need some help. So the question says to write a function so that downTo n returns the n-element list [n; n-1; ...;1] using if-then-else and then patter...
[ -0.0145263671875, 0.006195068359375, 0.01904296875, -0.01153564453125, -0.00099945068359375, 0.00836181640625, -0.0133056640625, 0.00860595703125, 0.005828857421875, -0.0267333984375, 0.0240478515625, -0.01226806640625, 0.007354736328125, 0.021728515625, 0.0198974609375, -0.01483154296...
[ 563, 4904, 23, 18, 20, 1230, 5386, 5303, 195625, 5844, 32354, 1238, 3949, 3742, 33079, 9014, 4358, 9655, 33022, 221, 7565, 7763, 653, 30646, 62766, 19, 5759, 153, 76172, 2174, 92733, 5557, 103510, 14858, 37842, 126826, 1631, 592, 99, 1984...
[ 0.1300048828125, 0.19384765625, 0.12744140625, 0.178955078125, 0.036346435546875, 0.0706787109375, 0.189697265625, 0.179443359375, 0.1875, 0.08599853515625, 0.164794921875, 0.09228515625, 0.01171875, 0.1549072265625, 0.11962890625, 0.042083740234375, 0.046417236328125, 0.0252532958...
embed
16286160_c0
16286160
fsharp
0
Title: Why bigint lacks bitwise NOT operator (~~~) in F#? Problem title: Why bigint lacks bitwise NOT operator (~~~) in F#? Tags: biginteger, .net, operator-overloading, f%23 Problem: Why bigint lacks bitwise NOT operator (~~~) in F#? Recently I've spotted an oddity in System.Numerics.BigInteger type definition that se...
Why bigint lacks bitwise NOT operator (~~~) in F#? Why bigint lacks bitwise NOT operator (~~~) in F#? biginteger .net operator-overloading f%23 Why NOT System.Numerics.BigInteger OnesComplement Why bigint lacks bitwise NOT operator (~~~) in F#? Recently I've spotted an oddity in System.Numerics.BigInteger type definiti...
[ -0.0150146484375, 0.01385498046875, 0.0205078125, 0.01104736328125, -0.0186767578125, 0.0062255859375, 0.0177001953125, -0.000217437744140625, -0.007171630859375, 0.0235595703125, -0.0096435546875, 0.013916015625, 0.01104736328125, -0.006927490234375, -0.012939453125, -0.00848388671875...
[ 44084, 6957, 4288, 21, 22824, 4785, 90825, 86725, 39933, 71060, 16, 563, 4904, 23, 6191, 1505, 1179, 5465, 63033, 1238, 3949, 3742, 12353, 28021, 129933, 4153, 67, 6561, 7, 108161, 19929, 13162, 81960, 939, 5, 18444, 1991, 10644, 80934, 4...
[ 0.0958251953125, 0.158935546875, 0.26025390625, 0.1180419921875, 0.087890625, 0.1673583984375, 0.19140625, 0.250244140625, 0.2205810546875, 0.1796875, 0.001007080078125, 0.113525390625, 0.1834716796875, 0.058074951171875, 0.1580810546875, 0.10076904296875, 0.119140625, 0.0659179687...
embed
58047683_c0
58047683
fsharp
0
Title: SqlDataProvider - Compose a where clause dynamically and execute the command Problem title: SqlDataProvider - Compose a where clause dynamically and execute the command Tags: linq, f%23 Problem: SqlDataProvider - Compose a where clause dynamically and execute the command I have the following requirement: Query a...
SqlDataProvider - Compose a where clause dynamically and execute the command SqlDataProvider - Compose a where clause dynamically and execute the command linq f%23 SqlDataProvider Compose Literal Data Source ConnectionString DatabaseVendor Common.DatabaseProviderTypes.MSSQLSERVER UseOptionTypes sql.GetDataContext Key k...
[ 0.007080078125, 0.010498046875, 0.00836181640625, 0.004608154296875, -0.0201416015625, 0.0146484375, -0.0084228515625, -0.00099945068359375, 0.01190185546875, -0.030029296875, -0.001495361328125, 0.005157470703125, 0.02880859375, -0.01275634765625, -0.01483154296875, 0.0103759765625, ...
[ 99247, 137989, 177997, 62160, 15612, 8364, 10, 7440, 70731, 13, 84079, 25958, 71924, 75101, 159, 96, 44982, 1238, 3949, 3742, 135940, 11809, 77641, 62448, 71713, 187781, 85512, 1846, 151301, 196707, 158897, 116808, 39029, 126, 22829, 26824, 472...
[ 0.177978515625, 0.118408203125, 0.1920166015625, 0.182861328125, 0.1478271484375, 0.10986328125, 0.1326904296875, 0.156982421875, 0.2103271484375, 0.11962890625, 0.172607421875, 0.05792236328125, 0.129150390625, 0.1763916015625, 0.013824462890625, 0.00836181640625, 0.1416015625, 0....
embed
78528341_c0
78528341
fsharp
0
Title: How do I convert a string of variables to a binary value in F#? Problem title: How do I convert a string of variables to a binary value in F#? Tags: f%23, f%23-interactive Problem: How do I convert a string of variables to a binary value in F#? I am new to F# and have been to trying to do this for quite some tim...
How do I convert a string of variables to a binary value in F#? How do I convert a string of variables to a binary value in F#? f%23 f%23-interactive How app.Contains app.IndexOf How do I convert a string of variables to a binary value in F#? I am new to F# and have been to trying to do this for quite some time now. So...
[ -0.0064697265625, 0.01324462890625, -0.017822265625, 0.03955078125, -0.0084228515625, 0.0296630859375, 0.0155029296875, -0.0155029296875, 0.0084228515625, 0.01507568359375, -0.008544921875, 0.01092529296875, -0.00150299072265625, 0.005157470703125, 0.00830078125, 0.017822265625, 0.01...
[ 11249, 54, 87, 96760, 79315, 111, 77336, 7, 47, 10, 2394, 6635, 34292, 23, 563, 4904, 1238, 3742, 27495, 10433, 71232, 4027, 25500, 39659, 132887, 3525, 31577, 765, 33342, 9844, 38, 254, 619, 711, 864, 1690, 5608, 5036, 903, 13, 3229, ...
[ 0.0755615234375, 0.06048583984375, 0.049957275390625, 0.2257080078125, 0.285888671875, 0.08807373046875, 0.302490234375, 0.07666015625, 0.131591796875, 0.08917236328125, 0.2142333984375, 0.2086181640625, 0.245361328125, 0.10443115234375, 0.169677734375, 0.263427734375, 0.102294921875...
embed
38124279_c0
38124279
fsharp
0
Title: How to implement RefreshCommand for ListView in Xamarin.Froms with F# Problem title: How to implement RefreshCommand for ListView in Xamarin.Froms with F# Tags: xamarin.forms, f%23, listview Problem: How to implement RefreshCommand for ListView in Xamarin.Froms with F# My Xamarin.Forms project contains shared PC...
How to implement RefreshCommand for ListView in Xamarin.Froms with F# How to implement RefreshCommand for ListView in Xamarin.Froms with F# xamarin.forms f%23 listview How RefreshCommand ListView Xamarin.Froms x:Name IsPullToRefreshEnabled Binding LoadListCommand SomePage ContentPage base.LoadFromXaml base.FindByName s...
[ -0.007049560546875, 0.04248046875, -0.00714111328125, 0.0159912109375, 0.00031280517578125, 0.01104736328125, -0.0106201171875, 0.0018157958984375, -0.000789642333984375, 0.004547119140625, 0.0361328125, -0.03662109375, 0.0025634765625, 0.01287841796875, -0.0150146484375, -0.0053405761...
[ 11249, 29479, 238781, 10770, 12018, 32036, 100474, 8606, 44503, 168407, 678, 563, 4904, 100, 2459, 5037, 1238, 3742, 5303, 22751, 1022, 163612, 43806, 2886, 1843, 2091, 154663, 147101, 70870, 3647, 1542, 302, 204582, 3060, 2982, 123573, 23, 1...
[ 0.0227203369140625, 0.1881103515625, 0.281494140625, 0.1239013671875, 0.1898193359375, 0.1884765625, 0.292236328125, 0.137939453125, 0.221435546875, 0.1951904296875, 0.06439208984375, 0.0855712890625, 0.1207275390625, 0.0150909423828125, 0.08056640625, 0.14794921875, 0.0296630859375,...
embed
69454712_c0
69454712
fsharp
0
Title: FsCheck, I am not getting `Prop.forAll` to work (F#) Problem title: FsCheck, I am not getting `Prop.forAll` to work (F#) Tags: f%23, fscheck Problem: FsCheck, I am not getting `Prop.forAll` to work (F#) I am not coming right with FsCheck, when I try and use Prop.forAll . I have created two tests to demonstrate w...
FsCheck, I am not getting `Prop.forAll` to work (F#) FsCheck, I am not getting `Prop.forAll` to work (F#) f%23 fscheck FsCheck Prop.forAll Data NeverAOne Arb.generate Gen.filter Gen.map Arb.fromGen Property Arbitrary Fails Test One x.value Fact Two Passes NeverAOne.Data FsCheck, I am not getting `Prop.forAll` to work (...
[ 0.0203857421875, 0.009033203125, -0.01416015625, -0.0047607421875, -0.00677490234375, 0.0048828125, 0.017333984375, -0.0194091796875, 0.006256103515625, -0.005859375, 0.0181884765625, 0.048828125, 0.00616455078125, 0.0159912109375, -0.0072021484375, 0.006378173828125, -0.004364013671...
[ 563, 7, 202567, 959, 20949, 10752, 254, 5, 2472, 43512, 4488, 919, 4904, 1238, 3742, 78292, 43796, 11809, 89726, 38901, 86, 1172, 275, 48281, 15937, 120337, 62346, 161063, 105376, 206984, 242522, 190355, 8647, 6561, 1022, 27494, 132640, 32964...
[ 0.1561279296875, 0.117431640625, 0.30517578125, 0.08734130859375, 0.03741455078125, 0.12451171875, 0.173095703125, 0.03900146484375, 0.1455078125, 0.2069091796875, 0.109619140625, 0.0982666015625, 0.1395263671875, 0.0947265625, 0.08984375, 0.2266845703125, 0.246337890625, 0.0579833...
embed
43306327_c0
43306327
fsharp
0
Title: Running f sharp compiler under .net core Problem title: Running f sharp compiler under .net core Tags: f%23, .net-core Problem: Running f sharp compiler under .net core I would like to know how to run the f sharp compiler from the command line under .net core. I know I can create a .sln, then use dotnet restore ...
Running f sharp compiler under .net core Running f sharp compiler under .net core f%23 .net-core Running Running f sharp compiler under .net core I would like to know how to run the f sharp compiler from the command line under .net core. I know I can create a .sln, then use dotnet restore etc. That works fine. I am usi...
[ -0.01373291015625, 0.014892578125, -0.00518798828125, 0.00007581710815429688, -0.00653076171875, -0.00013637542724609375, 0.0164794921875, -0.0067138671875, 0.009033203125, -0.0152587890625, 0.00634765625, 0.01806640625, 0.0024871826171875, 0.0162353515625, 0.0245361328125, -0.00141143...
[ 28398, 592, 1238, 189173, 9969, 34759, 1379, 5, 1179, 56458, 3742, 30854, 3714, 3642, 47, 11675, 1295, 75101, 13315, 28282, 24861, 19, 20633, 14359, 43240, 5885, 17368, 54, 11050, 11389, 138410, 15464, 10382, 46480, 7026, 315, 3794, 53894, ...
[ 0.1302490234375, 0.02423095703125, 0.2078857421875, 0.27978515625, 0.1824951171875, 0.1976318359375, 0.1905517578125, 0.083740234375, 0.165283203125, 0.213623046875, 0.08184814453125, 0.190673828125, 0.00750732421875, 0.043304443359375, 0.017425537109375, 0.19140625, 0.1185302734375,...
embed
66173158_c0
66173158
fsharp
0
Title: What version of FSharp.Data is compatible with MSVS 2013? Problem title: What version of FSharp.Data is compatible with MSVS 2013? Tags: f%23-data, f%23 Problem: What version of FSharp.Data is compatible with MSVS 2013? There is an empty F# project open in Visual Studio 2013. open System [<EntryPoint>] let main ...
What version of FSharp.Data is compatible with MSVS 2013? What version of FSharp.Data is compatible with MSVS 2013? f%23-data f%23 What FSharp.Data MSVS System EntryPoint System.Console.ReadKey System.String Version Culture You FS3033 What version of FSharp.Data is compatible with MSVS 2013? There is an empty F# projec...
[ 0.0017242431640625, 0.0213623046875, -0.00335693359375, 0.002655029296875, 0.014404296875, 0.01470947265625, -0.00124359130859375, 0.01904296875, -0.00518798828125, -0.0167236328125, -0.004486083984375, -0.03564453125, 0.0162353515625, -0.018798828125, 0.007354736328125, 0.001594543457...
[ 4865, 11389, 93774, 3467, 254, 5, 137989, 146731, 678, 16265, 47207, 1210, 1238, 27495, 10135, 3742, 12353, 15123, 147534, 40777, 31345, 162429, 40647, 105141, 2583, 1197, 9185, 201505, 563, 4904, 13452, 9803, 73372, 22968, 10520, 20600, 98169,...
[ 0.0304107666015625, 0.1429443359375, 0.141357421875, 0.2030029296875, 0.22998046875, 0.08013916015625, 0.2056884765625, 0.176025390625, 0.0823974609375, 0.11865234375, 0.2646484375, 0.1966552734375, 0.058746337890625, 0.02838134765625, 0.1080322265625, 0.01031494140625, 0.07269287109...
embed
64233791_c0
64233791
fsharp
0
Title: How do I iterate through a record in F# and create a data transformation into a new record Problem title: How do I iterate through a record in F# and create a data transformation into a new record Tags: f%23 Problem: How do I iterate through a record in F# and create a data transformation into a new record I am ...
How do I iterate through a record in F# and create a data transformation into a new record How do I iterate through a record in F# and create a data transformation into a new record f%23 How Ron _______________________________________ How do I iterate through a record in F# and create a data transformation into a new r...
[ -0.0142822265625, -0.01177978515625, 0.0013885498046875, 0.037841796875, 0.01129150390625, -0.007232666015625, -0.021728515625, 0.01904296875, 0.0019989013671875, -0.0120849609375, 0.0120849609375, -0.005584716796875, 0.018310546875, -0.0034332275390625, -0.01220703125, -0.011413574218...
[ 11249, 87, 17, 8560, 67, 8305, 17164, 23, 563, 4904, 136, 28282, 2053, 167201, 3934, 3525, 54, 10, 1238, 3742, 33276, 31577, 89280, 254, 366, 184, 11435, 96760, 47, 3299, 16487, 27198, 5, 4439, 334, 81814, 2182, 29954, 140992, 104851, 3...
[ 0.075927734375, 0.038909912109375, 0.07183837890625, 0.23681640625, 0.0947265625, 0.1473388671875, 0.267578125, 0.073486328125, 0.160400390625, 0.2489013671875, 0.03826904296875, 0.1783447265625, 0.1390380859375, 0.2318115234375, 0.1201171875, 0.1373291015625, 0.037139892578125, 0....
embed
40413349_c0
40413349
fsharp
0
Title: F# enum: expected to have type xxx but here has type xxx Problem title: F# enum: expected to have type xxx but here has type xxx Tags: f%23, enums Problem: F# enum: expected to have type xxx but here has type xxx I'm trying to use LightningDB.net. One of the methods accepts arguments as enum flags. Method declar...
F# enum: expected to have type xxx but here has type xxx F# enum: expected to have type xxx but here has type xxx f%23 enums Open EnvironmentOpenFlags EnvironmentOpenFlags.None UnixAccessMode UnixAccessMode.Default env.Open EnvironmentOpenFlags.NoSync FS0001 LightningDB.EnvironmentOpenFlags F# enum: expected to have ty...
[ -0.0130615234375, -0.012451171875, -0.01239013671875, -0.004974365234375, -0.005096435546875, 0.0008697509765625, -0.023681640625, -0.005767822265625, -0.01092529296875, 0.0157470703125, 0.026123046875, 0.0031890869140625, 0.0224609375, -0.007476806640625, 0.012939453125, -0.0085449218...
[ 563, 4904, 22, 316, 84751, 10644, 20112, 1284, 3688, 1556, 765, 1238, 3742, 10321, 13527, 686, 1900, 103264, 919, 3668, 992, 26531, 9083, 187423, 11, 334, 5021, 217835, 93774, 188735, 30948, 592, 39463, 1179, 150624, 26946, 10750, 49938, 74...
[ 0.1170654296875, 0.185546875, 0.133056640625, 0.2435302734375, 0.2081298828125, 0.172119140625, 0.16748046875, 0.1220703125, 0.12841796875, 0.045257568359375, 0.0179901123046875, 0.0872802734375, 0.1533203125, 0.2005615234375, 0.1104736328125, 0.087890625, 0.098876953125, 0.1614990...
embed
58635256_c1
58635256
fsharp
1
None static member Combine (years: int list) (months: int list) (days: int list) (symbols: string list) = let rec loop acc years months days symbols = match years, months, days, symbols with | [], [], [], [] -> acc | year :: years, month :: months, day :: days, symbol :: symbols -> loop ((year, month, day, symbol) :: ...
None static member Combine (years: int list) (months: int list) (days: int list) (symbols: string list) = let rec loop acc years months days symbols = match years, months, days, symbols with | [], [], [], [] -> acc | year :: years, month :: months, day :: days, symbol :: symbols -> loop ((year, month, day, symbol) :: ...
[ -0.006103515625, 0.0211181640625, 0.0031585693359375, 0.017822265625, -0.0301513671875, 0.0030059814453125, -0.01397705078125, 0.0034637451171875, 0.00701904296875, -0.000530242919921875, -0.017578125, 0.016357421875, 0.03857421875, 0.0174560546875, -0.00421142578125, -0.00149536132812...
[ 438, 86, 201939, 32786, 106935, 46799, 23, 18, 5303, 15477, 5636, 176726, 79315, 2203, 2633, 21954, 40956, 50015, 5369, 21775, 13312, 26582, 14858, 678, 6602, 31150, 5155, 155370, 15937, 3089, 13821, 3640, 433, 33209, 757, 209, 427, 1936, 6...
[ 0.1131591796875, 0.1971435546875, 0.2127685546875, 0.260986328125, 0.2705078125, 0.2215576171875, 0.036712646484375, 0.0328369140625, 0.1644287109375, 0.1273193359375, 0.138671875, 0.2186279296875, 0.102783203125, 0.0142822265625, 0.09375, 0.1263427734375, 0.1590576171875, 0.104003...
embed
3539937_c0
3539937
fsharp
0
Title: How does F#&#x27;s async really work? Problem title: How does F#&#x27;s async really work? Tags: asynchronous, f%23 Problem: How does F#'s async really work? I am trying to learn how async and let! work in F#. All the docs i've read seem confusing. What's the point of running an async block with Async.RunSynchro...
How does F#&#x27;s async really work? How does F#&#x27;s async really work? asynchronous f%23 How How does F#'s async really work? I am trying to learn how async and let! work in F#. All the docs i've read seem confusing. What's the point of running an async block with Async.RunSynchronously? Is this async or sync? Loo...
[ -0.00238037109375, 0.01397705078125, 0.01385498046875, -0.00787353515625, -0.0003719329833984375, 0.01397705078125, 0.006072998046875, -0.01019287109375, 0.004730224609375, -0.015625, 0.0174560546875, 0.024658203125, -0.006927490234375, 0.0076904296875, 0.0240478515625, -0.007202148437...
[ 11249, 14602, 563, 4904, 3768, 10, 12654, 238, 6183, 4488, 101966, 10821, 1238, 3742, 30698, 3642, 136, 2633, 38, 23, 54, 4439, 12301, 48903, 55681, 6275, 51042, 46389, 678, 62, 163321, 217835, 127, 1900, 79850, 903, 707, 6002, 60818, 188...
[ 0.08135986328125, 0.1044921875, 0.15576171875, 0.2244873046875, 0.06292724609375, 0.10235595703125, 0.265380859375, 0.1851806640625, 0.136962890625, 0.181640625, 0.17138671875, 0.038421630859375, 0.06475830078125, 0.01318359375, 0.0247344970703125, 0.032318115234375, 0.0753173828125,...
embed
65457001_c0
65457001
fsharp
0
Title: How can I cancel Cmd.OfAsync as props change? Problem title: How can I cancel Cmd.OfAsync as props change? Tags: elmish, f%23 Problem: How can I cancel Cmd.OfAsync as props change? Suppose I have a controlled Elmish form: type Model = { Query : string IsLoading : bool Result : Result<QueryResults, string> option...
How can I cancel Cmd.OfAsync as props change? How can I cancel Cmd.OfAsync as props change? elmish f%23 How Cmd.OfAsync Model Query IsLoading Result QueryResults Message UpdateQuery ReceivedResults Cmd.OfAsync.result Api.tryFetchQueryResults Results Some Cmd.none model.Query How can I cancel Cmd.OfAsync as props change...
[ -0.00286865234375, 0.0159912109375, 0.01611328125, -0.023681640625, 0.012939453125, -0.007232666015625, 0.002044677734375, -0.0184326171875, 0.00897216796875, -0.0224609375, -0.0189208984375, -0.000751495361328125, -0.01361083984375, 0.01171875, 0.00653076171875, 0.00701904296875, -0...
[ 11249, 831, 53017, 313, 54686, 132887, 284, 12654, 238, 237, 25793, 7, 15549, 5, 88, 78192, 3742, 13293, 58836, 126684, 10178, 28641, 7136, 15123, 41732, 146104, 3299, 6226, 540, 3173, 87769, 1733, 65572, 10, 50336, 21771, 42658, 47, 186, ...
[ 0.047943115234375, 0.051971435546875, 0.2783203125, 0.04022216796875, 0.1876220703125, 0.189208984375, 0.021728515625, 0.2305908203125, 0.1171875, 0.0767822265625, 0.2314453125, 0.1114501953125, 0.2252197265625, 0.006103515625, 0.08367919921875, 0.2376708984375, 0.056732177734375, ...
embed
20166011_c0
20166011
fsharp
0
Title: How to flatten input of mixed &#x27;T and seq&lt;&#x27;T&gt; into single seq&lt;&#x27;T&gt; Problem title: How to flatten input of mixed &#x27;T and seq&lt;&#x27;T&gt; into single seq&lt;&#x27;T&gt; Tags: f%23, f%23-interactive Problem: How to flatten input of mixed 'T and seq<'T> into single seq<'T> I need a fu...
How to flatten input of mixed &#x27;T and seq&lt;&#x27;T&gt; into single seq&lt;&#x27;T&gt; How to flatten input of mixed &#x27;T and seq&lt;&#x27;T&gt; into single seq&lt;&#x27;T&gt; f%23 f%23-interactive How Test ParamArray Test.flatten FS0001 How to flatten input of mixed 'T and seq<'T> into single seq<'T> I need a ...
[ -0.006500244140625, 0.0255126953125, -0.004791259765625, 0.0086669921875, -0.0033416748046875, -0.01190185546875, 0.007598876953125, 0.003631591796875, -0.0111083984375, -0.01226806640625, -0.0036468505859375, -0.007659912109375, -0.0012359619140625, 0.01806640625, 0.0196533203125, -0....
[ 11249, 47, 49878, 510, 107730, 17664, 297, 3768, 618, 136, 40, 864, 3934, 11001, 3742, 10433, 71232, 8647, 1720, 7614, 7092, 150632, 93774, 188735, 3871, 32354, 5809, 5646, 61799, 14012, 10750, 12638, 10644, 187040, 9433, 237, 756, 70163, 5...
[ 0.05865478515625, 0.0048828125, 0.2225341796875, 0.2142333984375, 0.2156982421875, 0.1978759765625, 0.058013916015625, 0.00616455078125, 0.125, 0.09521484375, 0.07421875, 0.1513671875, 0.09332275390625, 0.1551513671875, 0.012908935546875, 0.05908203125, 0.006378173828125, 0.1606445...
embed
3230388_c0
3230388
fsharp
0
Title: How to do linq-to-IEnumerable-style joins in F# Problem title: How to do linq-to-IEnumerable-style joins in F# Tags: linq, join, f%23 Problem: How to do linq-to-IEnumerable-style joins in F# I've got a project that I'm trying to convert to F#, with a fair amount of linq-to-IEnumerable style queries in it. I'm cu...
How to do linq-to-IEnumerable-style joins in F# How to do linq-to-IEnumerable-style joins in F# linq join f%23 val1 How list1 val2 list2 val1.Key val2.Parent val3 list3 val3.Parent How to do linq-to-IEnumerable-style joins in F# I've got a project that I'm trying to convert to F#, with a fair amount of linq-to-IEnumera...
[ -0.0125732421875, 0.003875732421875, -0.006011962890625, -0.0035858154296875, -0.0225830078125, 0.00872802734375, -0.01177978515625, -0.005462646484375, 0.010009765625, -0.036865234375, 0.005218505859375, 0.01153564453125, -0.005767822265625, -0.00543212890625, -0.006591796875, 0.01293...
[ 11249, 54, 96, 44982, 188, 20441, 2606, 56, 2886, 40946, 33284, 7, 563, 4904, 23, 1238, 3742, 3502, 418, 5303, 304, 162429, 28636, 2517, 363, 13452, 96760, 47, 20623, 41, 2684, 27650, 3917, 20594, 111, 48716, 18151, 1884, 25632, 2965, 3...
[ 0.026763916015625, 0.05621337890625, 0.1072998046875, 0.234130859375, 0.128173828125, 0.124755859375, 0.18896484375, 0.1151123046875, 0.123779296875, 0.2388916015625, 0.208984375, 0.07470703125, 0.13427734375, 0.1971435546875, 0.044891357421875, 0.099853515625, 0.101318359375, 0.10...
embed
2074622_c0
2074622
fsharp
0
Title: Web Project for F# Problem title: Web Project for F# Tags: vsx, f%23 Problem: Web Project for F# I am building a project system for Visual Studio MVC web projects with controllers written in F#. It comes along pretty cool. I can build and run the apps, but I have a problem with FSharp Language Service. In the ed...
Web Project for F# Web Project for F# vsx f%23 Web Project Web Project for F# I am building a project system for Visual Studio MVC web projects with controllers written in F#. It comes along pretty cool. I can build and run the apps, but I have a problem with FSharp Language Service. In the editor it shows the syntax c...
[ -0.0191650390625, 0.039794921875, -0.00830078125, -0.0029296875, -0.0035858154296875, 0.00144195556640625, -0.02978515625, -0.002716064453125, 0.015869140625, -0.0079345703125, -0.005279541015625, 0.01116943359375, -0.00811767578125, 0.0142822265625, 0.0076904296875, 0.0016403198242187...
[ 4002, 27331, 100, 563, 4904, 20209, 425, 1238, 3949, 3742, 33976, 13452, 5426, 73372, 22968, 276, 56349, 1467, 77635, 185373, 59121, 23, 32497, 33233, 28875, 21185, 831, 45367, 11675, 49966, 1284, 2967, 678, 93774, 3467, 254, 83658, 12349, ...
[ 0.1578369140625, 0.213134765625, 0.060302734375, 0.169677734375, 0.25341796875, 0.101806640625, 0.148193359375, 0.1136474609375, 0.0538330078125, 0.1939697265625, 0.0980224609375, 0.1883544921875, 0.0904541015625, 0.1611328125, 0.1639404296875, 0.0208587646484375, 0.1727294921875, ...
embed
42731139_c0
42731139
fsharp
0
Title: f# query with equations Problem title: f# query with equations Tags: f%23, equations, sum Problem: f# query with equations I am working on some code where I need to use an f# query to sum a list. For anyone who is working on f# basics, here's a handy link: https://learnxinyminutes.com/docs/fsharp/ So far, I have...
f# query with equations f# query with equations f%23 equations sum sumOfSquare2 List.map List.sum Sum query1 Query f# query with equations I am working on some code where I need to use an f# query to sum a list. For anyone who is working on f# basics, here's a handy link: https://learnxinyminutes.com/docs/fsharp/ So fa...
[ 0.003997802734375, 0.0166015625, 0.004119873046875, 0.016357421875, -0.0035552978515625, -0.004058837890625, -0.007232666015625, 0.021240234375, 0.0125732421875, -0.029541015625, -0.00775146484375, 0.0189208984375, 0.00970458984375, 0.0019683837890625, -0.001495361328125, 0.00546264648...
[ 1238, 4904, 41, 1294, 678, 13722, 3949, 3742, 10554, 132887, 94727, 304, 32036, 62346, 11832, 36335, 58836, 5256, 20697, 18151, 4527, 47, 5303, 62822, 3535, 3126, 5134, 299, 67403, 420, 89280, 254, 2060, 28412, 63805, 111, 108047, 190, 1019...
[ 0.1302490234375, 0.212890625, 0.146728515625, 0.135986328125, 0.1341552734375, 0.1934814453125, 0.020538330078125, 0.1209716796875, 0.1795654296875, 0.117919921875, 0.13916015625, 0.07122802734375, 0.125, 0.0625, 0.158447265625, 0.1722412109375, 0.1331787109375, 0.0469970703125, ...
embed
12579141_c0
12579141
fsharp
0
Title: Incorrect syntax near &#x27;,&#x27; in F# typeprovider insert query with datacontext Problem title: Incorrect syntax near &#x27;,&#x27; in F# typeprovider insert query with datacontext Tags: f%23, f%23-3.0 Problem: Incorrect syntax near ',' in F# typeprovider insert query with datacontext I am trying to insert d...
Incorrect syntax near &#x27;,&#x27; in F# typeprovider insert query with datacontext Incorrect syntax near &#x27;,&#x27; in F# typeprovider insert query with datacontext f%23 f%23-3.0 Incorrect dbo.tbl_Location InsertTaskDetails dbSchema.GetDataContext DataContext.ExecuteCommand Insert LocationId Location Values DataCo...
[ 0.015869140625, 0.0011444091796875, -0.00177764892578125, 0.015625, -0.01080322265625, -0.004486083984375, -0.0034332275390625, -0.034912109375, -0.0194091796875, -0.032958984375, -0.00994873046875, -0.0262451171875, 0.01275634765625, -0.02001953125, -0.003387451171875, 0.015625, 0.0...
[ 360, 32399, 15390, 6002, 86531, 43573, 3768, 74, 4, 563, 4904, 10644, 93136, 820, 183540, 41, 1294, 678, 2053, 2271, 22829, 54764, 1238, 3742, 27495, 132265, 837, 9030, 15363, 120639, 33657, 9874, 46741, 25452, 137989, 11935, 211603, 12018, ...
[ 0.019805908203125, 0.1741943359375, 0.03076171875, 0.1256103515625, 0.23095703125, 0.2109375, 0.1815185546875, 0.04058837890625, 0.1572265625, 0.0955810546875, 0.1944580078125, 0.1553955078125, 0.197998046875, 0.0850830078125, 0.217041015625, 0.1082763671875, 0.044403076171875, 0.0...
embed
9433628_c0
9433628
fsharp
0
Title: creating IEnumerable from enumerators in fsharp using anonymous classes Problem title: creating IEnumerable from enumerators in fsharp using anonymous classes Tags: ienumerable, f%23, sequence Problem: creating IEnumerable from enumerators in fsharp using anonymous classes From a class which does not implement E...
creating IEnumerable from enumerators in fsharp using anonymous classes creating IEnumerable from enumerators in fsharp using anonymous classes ienumerable f%23 sequence enumerators anonymous IEnumerable Bloomberglp.Blpapi.Element this.GetEnumerator this.NumElements this.GetElement GetEnumerator this.ToEnumerableElemen...
[ -0.00372314453125, 0.017578125, -0.017578125, -0.0107421875, -0.00131988525390625, 0.00897216796875, 0.0028228759765625, 0.0194091796875, -0.0126953125, -0.04541015625, -0.00537109375, 0.02587890625, -0.005523681640625, -0.005401611328125, 0.0189208984375, -0.01043701171875, -0.00372...
[ 105233, 75536, 2606, 56, 2886, 1295, 189085, 22230, 1238, 89280, 254, 52184, 10821, 61112, 17, 316, 3742, 944, 110471, 26775, 40897, 19929, 903, 4597, 7763, 48325, 142, 191, 18507, 14602, 959, 29479, 357, 831, 5036, 28282, 1632, 11555, 1648...
[ 0.08721923828125, 0.1708984375, 0.1976318359375, 0.148193359375, 0.1513671875, 0.09503173828125, 0.20361328125, 0.1224365234375, 0.0887451171875, 0.1732177734375, 0.1331787109375, 0.1746826171875, 0.0736083984375, 0.152099609375, 0.05401611328125, 0.1617431640625, 0.098876953125, 0...
embed
9468460_c0
9468460
fsharp
0
Title: How To Iterate A String In F#? Problem title: How To Iterate A String In F#? Tags: string, f%23 Problem: How To Iterate A String In F#? I've got the following F# code: //Array iter version let toSecureString (s:string) = let sString = new SecureString() s |> Array.iter (fun cl -> sString.AppendChar cl) sString I...
How To Iterate A String In F#? How To Iterate A String In F#? string f%23 How Iterate Array s:string SecureString Array.iter sString.AppendChar FS0001 Type Expecting How To Iterate A String In F#? I've got the following F# code: I'm trying to convert a .Net string to a .Net SecureString. When I try to compile I get a T...
[ -0.00567626953125, -0.00830078125, 0.01123046875, 0.0196533203125, -0.022705078125, -0.0030517578125, 0.015625, 0.0004787445068359375, -0.00165557861328125, -0.00927734375, 0.0128173828125, -0.00167083740234375, -0.01055908203125, 0.002471923828125, -0.01336669921875, -0.0184326171875,...
[ 11249, 717, 87, 8560, 67, 62, 23351, 214, 360, 563, 4904, 32, 79315, 1238, 3949, 3742, 69253, 53, 91, 12, 91693, 208500, 71713, 16840, 39179, 3611, 84068, 93774, 188735, 60457, 60075, 24762, 25632, 18151, 31577, 96760, 5, 24447, 47, 9790,...
[ 0.1085205078125, 0.10736083984375, 0.1220703125, 0.29296875, 0.1614990234375, 0.099853515625, 0.235107421875, 0.1361083984375, 0.09906005859375, 0.143798828125, 0.2310791015625, 0.012176513671875, 0.1827392578125, 0.10693359375, 0.044097900390625, 0.1650390625, 0.1231689453125, 0.0...
embed
10150767_c0
10150767
fsharp
0
Title: Purpose of a single case discriminated union Problem title: Purpose of a single case discriminated union Tags: discriminated-union, f%23, monads Problem: Purpose of a single case discriminated union I'm defining a monadic observable/reactive parser. This behaves quite differently to a normal parser as it is a co...
Purpose of a single case discriminated union Purpose of a single case discriminated union discriminated-union f%23 monads Purpose IObservable Pattern Purpose of a single case discriminated union I'm defining a monadic observable/reactive parser. This behaves quite differently to a normal parser as it is a continuous qu...
[ -0.003997802734375, 0.021240234375, 0.005126953125, 0.01318359375, -0.011962890625, -0.004913330078125, -0.0162353515625, 0.00037384033203125, 0.026611328125, -0.0230712890625, 0.0045166015625, -0.02099609375, 0.01116943359375, -0.0035400390625, 0.0034027099609375, 0.016357421875, 0....
[ 16915, 78381, 11001, 7225, 55970, 3674, 69941, 111, 87046, 1238, 3949, 3742, 2667, 712, 87, 46471, 65756, 2661, 9876, 13204, 11, 18403, 22046, 107, 71232, 366, 2189, 3293, 68991, 32233, 12921, 3638, 62005, 41, 1294, 1379, 538, 10644, 67842,...
[ 0.1990966796875, 0.16357421875, 0.2135009765625, 0.2110595703125, 0.248779296875, 0.086181640625, 0.255126953125, 0.024993896484375, 0.1939697265625, 0.055389404296875, 0.0699462890625, 0.1458740234375, 0.1005859375, 0.13671875, 0.07373046875, 0.09112548828125, 0.1741943359375, 0.1...
embed
38035370_c0
38035370
fsharp
0
Title: How do I set up the visual studio code launch.json file to debug F#? Problem title: How do I set up the visual studio code launch.json file to debug F#? Tags: f%23, ionide, visual-studio-code Problem: How do I set up the visual studio code launch.json file to debug F#? How do I set up the debugger in launch.json...
How do I set up the visual studio code launch.json file to debug F#? How do I set up the visual studio code launch.json file to debug F#? f%23 ionide visual-studio-code How launch.json Name Appears Launch Lukecxu Users Automatically Cannot How do I set up the visual studio code launch.json file to debug F#? How do I se...
[ 0.00168609619140625, 0.01513671875, 0.007232666015625, 0.0120849609375, -0.0038604736328125, -0.008056640625, 0.0030059814453125, 0.004638671875, -0.00022220611572265625, 0.0026702880859375, -0.00165557861328125, -0.00823974609375, -0.006378173828125, 0.006195068359375, 0.01416015625, ...
[ 11249, 5423, 1257, 21176, 12275, 18151, 83184, 170, 1681, 11435, 8, 85779, 563, 4904, 5, 47, 1238, 3742, 45339, 2506, 52629, 40899, 15757, 5659, 28575, 171326, 97702, 238, 16220, 53400, 51719, 4171, 10869, 978, 21407, 23, 959, 20697, 5608, ...
[ 0.031768798828125, 0.11279296875, 0.0908203125, 0.127685546875, 0.120361328125, 0.143310546875, 0.212158203125, 0.1234130859375, 0.18701171875, 0.1260986328125, 0.1688232421875, 0.2486572265625, 0.1077880859375, 0.1866455078125, 0.03472900390625, 0.0239715576171875, 0.04339599609375,...
embed
62911568_c1
62911568
fsharp
1
): seq<JsonProperty> = getPublicProperties t |> Seq.map (fun p -> { Name = p.Name Schema = { Type = getJsonType p.PropertyType Links = getLinksForProperty p } }) and getLinksForType (t: Type): seq<LinkDescriptor> = getLinkAttributes t |> Seq.map (fun attr -> { Rel = attr.Rel Href = attr.Href HrefSchema = if isNull attr...
): seq<JsonProperty> = getPublicProperties t |> Seq.map (fun p -> { Name = p.Name Schema = { Type = getJsonType p.PropertyType Links = getLinksForProperty p } }) and getLinksForType (t: Type): seq<LinkDescriptor> = getLinkAttributes t |> Seq.map (fun attr -> { Rel = attr.Rel Href = attr.Href HrefSchema = if isNull attr...
[ 0.004425048828125, 0.0252685546875, -0.0045166015625, 0.01220703125, -0.004974365234375, -0.0142822265625, 0.00885009765625, 0.01422119140625, 0.00029754638671875, -0.01318359375, -0.0220947265625, 0.048583984375, -0.016845703125, 0.0205078125, -0.003875732421875, 0.031005859375, -0....
[ 2077, 40, 864, 1375, 1681, 10752, 1264, 939, 2203, 2046, 179947, 2449, 808, 503, 62346, 16498, 915, 15757, 163612, 34702, 60457, 196707, 57890, 64287, 18537, 397, 121707, 191145, 42, 853, 141, 29087, 243, 25452, 18444, 11883, 438, 31384, 33...
[ 0.0950927734375, 0.096923828125, 0.170654296875, 0.1593017578125, 0.178955078125, 0.07000732421875, 0.177001953125, 0.041229248046875, 0.005035400390625, 0.06109619140625, 0.144287109375, 0.0361328125, 0.05682373046875, 0.086181640625, 0.1422119140625, 0.14599609375, 0.01791381835937...
embed
34910478_c0
34910478
fsharp
0
Title: Auxiliary function Grade calculator Problem title: Auxiliary function Grade calculator Tags: functional-programming, f%23 Problem: Auxiliary function Grade calculator Why am I being told the let is unfinished? let comp_grade (perc_exam, perc_homework, perc_attendance) = let (grade_exam, grade_homework, grade_att...
Auxiliary function Grade calculator Auxiliary function Grade calculator functional-programming f%23 Auxiliary Grade comp_grade perc_exam perc_homework perc_attendance grade_exam grade_homework grade_attendance COP4555_grade_computer CEN3723_grade_computer COP4555_student1_grade COP4555_student2_grade CEN3723_student1_g...
[ -0.01019287109375, -0.01422119140625, -0.0032196044921875, 0.0146484375, 0.01055908203125, 0.02197265625, 0.00494384765625, -0.030029296875, 0.006072998046875, 0.005828857421875, -0.0157470703125, 0.012939453125, 0.0196533203125, 0.00738525390625, -0.00537109375, -0.00543212890625, -...
[ 62, 6077, 2104, 6635, 32354, 22453, 13, 154993, 123309, 28966, 1238, 3742, 9969, 44286, 21778, 3355, 302, 29552, 18244, 68918, 44000, 153003, 617, 87357, 164511, 89859, 108265, 363, 96610, 454, 44084, 8035, 30745, 70, 2633, 83, 51, 48310, 6...
[ 0.0263824462890625, 0.153076171875, 0.169677734375, 0.052459716796875, 0.179931640625, 0.1688232421875, 0.10626220703125, 0.2406005859375, 0.15283203125, 0.10076904296875, 0.03326416015625, 0.1019287109375, 0.08990478515625, 0.14453125, 0.09771728515625, 0.03411865234375, 0.098388671...
embed
78565804_c0
78565804
fsharp
0
Title: How do I use `DateTimeOffset`s to show 23 or 25 hours on a day when clocks change? Problem title: How do I use `DateTimeOffset`s to show 23 or 25 hours on a day when clocks change? Tags: .net, f%23, c%23 Problem: How do I use `DateTimeOffset`s to show 23 or 25 hours on a day when clocks change? New York switched...
How do I use `DateTimeOffset`s to show 23 or 25 hours on a day when clocks change? How do I use `DateTimeOffset`s to show 23 or 25 hours on a day when clocks change? .net f%23 c%23 How DateTimeOffset System TimeZoneInfo.FindSystemTimeZoneById Eastern Standard Time DateTime DateTimeKind.Unspecified est.BaseUtcOffset Tot...
[ 0.004425048828125, -0.015380859375, 0.005401611328125, -0.006683349609375, -0.000087738037109375, -0.0308837890625, -0.01708984375, 0.0157470703125, 0.0014495849609375, -0.00084686279296875, 0.000682830810546875, 0.007415771484375, 0.00103759765625, 0.0341796875, 0.0133056640625, -0.01...
[ 11249, 87, 4527, 86291, 70059, 150369, 3509, 7639, 1105, 707, 714, 21974, 5155, 3229, 20450, 22824, 15549, 54, 5, 1179, 1238, 3949, 3742, 25512, 12353, 19055, 60551, 93147, 204582, 84293, 75358, 24453, 9022, 20744, 7250, 437, 63473, 33867, ...
[ 0.046478271484375, 0.008270263671875, 0.1072998046875, 0.1717529296875, 0.18115234375, 0.2236328125, 0.2008056640625, 0.1468505859375, 0.1956787109375, 0.036346435546875, 0.2105712890625, 0.2161865234375, 0.1273193359375, 0.0595703125, 0.1273193359375, 0.1087646484375, 0.186889648437...
embed
48944486_c1
48944486
fsharp
1
LongWork(); label1.Text = s; } C# app button handler registration this.button1.Click += new System.EventHandler(this.button1_Click); POSSIBLE F# app SOLUTION F# library: let FSLongWork() = async { do! Async.Sleep(5000); return "F#" } F# app click handler let button1_Click (sender : obj) e = async { let! s = FSLongWork(...
LongWork(); label1.Text = s; } C# app button handler registration this.button1.Click += new System.EventHandler(this.button1_Click); POSSIBLE F# app SOLUTION F# library: let FSLongWork() = async { do! Async.Sleep(5000); return "F#" } F# app click handler let button1_Click (sender : obj) e = async { let! s = FSLongWork(...
[ 0.00836181640625, 0.0106201171875, -0.000835418701171875, -0.0030670166015625, -0.00360107421875, -0.0208740234375, 0.009765625, -0.00274658203125, 0.019287109375, -0.0244140625, 0.00946044921875, 0.00830078125, -0.01263427734375, -0.0025177001953125, 0.0255126953125, -0.0093994140625,...
[ 14407, 108259, 67967, 174379, 91, 313, 4904, 4027, 77679, 35863, 164498, 903, 5, 8789, 1507, 181671, 1369, 3525, 12353, 192134, 135679, 603, 100231, 454, 54602, 9902, 563, 159, 93478, 35773, 1294, 2633, 30508, 4021, 132, 16, 10, 12654, 238,...
[ 0.2440185546875, 0.2354736328125, 0.1658935546875, 0.10107421875, 0.1044921875, 0.06402587890625, 0.2371826171875, 0.151611328125, 0.17041015625, 0.2296142578125, 0.2242431640625, 0.082275390625, 0.0164337158203125, 0.08917236328125, 0.0535888671875, 0.1539306640625, 0.01615905761718...
embed
31507280_c0
31507280
fsharp
0
Title: F# Using XMLProvider in PCL Project Problem title: F# Using XMLProvider in PCL Project Tags: f%23-data, f%23 Problem: F# Using XMLProvider in PCL Project I created a new VS2015 F# PCL Project targeting 4.5.1. I added in FSharp.Data and got the XML type provider to pull down the data: #r "..\packages\FSharp.Data....
F# Using XMLProvider in PCL Project F# Using XMLProvider in PCL Project f%23-data f%23 Using XMLProvider PCL Project FSharp.Data.2.2.5 portable-net40 sl5 wp8 win8 FSharp.Data.dll System.IO FSharp.Data __SOURCE_DIRECTORY__ Directory.GetParent Campaign Data Campaign.xml Path.Combine FullName File.ReadAllText Campaign.Par...
[ 0.0194091796875, 0.043212890625, 0.016357421875, 0.01171875, 0.0040283203125, 0.026123046875, 0.0166015625, -0.0052490234375, -0.0140380859375, -0.04638671875, 0.00091552734375, -0.0277099609375, 0.005126953125, -0.01904296875, 0.00390625, 0.0003223419189453125, -0.005157470703125, ...
[ 563, 4904, 345, 92537, 177997, 62160, 6107, 866, 27331, 1238, 10135, 3742, 3467, 254, 137989, 5442, 48413, 168627, 1179, 2839, 20505, 758, 1019, 93774, 1181, 12353, 17780, 76234, 31068, 28636, 16010, 872, 11809, 11, 131492, 108421, 46187, 931...
[ 0.137939453125, 0.242919921875, 0.06781005859375, 0.2607421875, 0.2020263671875, 0.14990234375, 0.1207275390625, 0.1602783203125, 0.1275634765625, 0.058929443359375, 0.0634765625, 0.07208251953125, 0.1778564453125, 0.1455078125, 0.1492919921875, 0.00146484375, 0.110595703125, 0.132...
embed
35412945_c0
35412945
fsharp
0
Title: Creating a set within a set F# Problem title: Creating a set within a set F# Tags: f%23 Problem: Creating a set within a set F# Say I have an empty Set. I want to create multiple sets of strings inside that set. How would I go about doing that? For example, I'm trying to write a function that takes as parameters...
Creating a set within a set F# Creating a set within a set F# f%23 Creating Set Country Chart Colour Colouring chart:Chart colours:Colouring country:Country Andorra Benin Canada Denmark Estonia Finland Creating a set within a set F# Say I have an empty Set. I want to create multiple sets of strings inside that set. How...
[ 0.0008392333984375, -0.013427734375, 0.01068115234375, 0.015380859375, 0.01171875, -0.0035400390625, -0.0079345703125, -0.0223388671875, 0.006439208984375, 0.007598876953125, -0.0029296875, 0.00653076171875, 0.004608154296875, 0.007232666015625, -0.00787353515625, 0.0096435546875, 0....
[ 56781, 1916, 5423, 28032, 10, 563, 4904, 1238, 3949, 3742, 19943, 74831, 110373, 196431, 116287, 84068, 18, 134855, 78457, 31, 53089, 23295, 108210, 124180, 3419, 73, 25730, 146864, 116342, 29774, 25916, 765, 142, 201505, 3444, 47, 28282, 487...
[ 0.2120361328125, 0.06597900390625, 0.2734375, 0.2152099609375, 0.03985595703125, 0.09918212890625, 0.1390380859375, 0.0712890625, 0.019439697265625, 0.1177978515625, 0.252685546875, 0.195556640625, 0.259765625, 0.164794921875, 0.275146484375, 0.173095703125, 0.0989990234375, 0.1623...
embed
39833353_c0
39833353
fsharp
0
Title: F# Get database table data Problem title: F# Get database table data Tags: sql, f%23 Problem: F# Get database table data I'm trying to get data from an Azure SQL Server. I've Been able to get the data through this method: let db = dbSchema.GetDataContext() let serviceType = db.table serviceType I then go on to d...
F# Get database table data F# Get database table data sql f%23 Information_schema.Columns @tableName Get dbSchema.GetDataContext db.table SqlCommandProvider table_name Execute F# Get database table data I'm trying to get data from an Azure SQL Server. I've Been able to get the data through this method: I then go on to ...
[ 0.018798828125, 0.0023651123046875, 0.000667572021484375, 0.031005859375, -0.0031890869140625, 0.00836181640625, 0.0120849609375, 0.00180816650390625, -0.00933837890625, -0.04736328125, 0.023681640625, -0.00775146484375, -0.01141357421875, 0.00286865234375, -0.0159912109375, -0.0009269...
[ 563, 4904, 20779, 63399, 23180, 2053, 99247, 1238, 3742, 32007, 7560, 192, 78457, 316, 1779, 1374, 22819, 163612, 40041, 25452, 11883, 724, 126, 137989, 22829, 12018, 177997, 62160, 11627, 211603, 31577, 2046, 1295, 176071, 80866, 22687, 903, ...
[ 0.1173095703125, 0.2061767578125, 0.1468505859375, 0.197509765625, 0.233154296875, 0.1719970703125, 0.1566162109375, 0.036376953125, 0.08612060546875, 0.09820556640625, 0.087890625, 0.04949951171875, 0.051666259765625, 0.101806640625, 0.0211029052734375, 0.0106201171875, 0.1369628906...
embed
25346246_c0
25346246
fsharp
0
Title: Why can&#x27;t we satisfy F# static member constraints with type extensions? Problem title: Why can&#x27;t we satisfy F# static member constraints with type extensions? Tags: generic-constraints, f%23 Problem: Why can't we satisfy F# static member constraints with type extensions? I'd like to be able to extend t...
Why can&#x27;t we satisfy F# static member constraints with type extensions? Why can&#x27;t we satisfy F# static member constraints with type extensions? generic-constraints f%23 Why VectorN Zero Array.average DivideByInt System.Numerics Vector2f v:Vector2f i:int FS0001 Why can't we satisfy F# static member constraints...
[ -0.0013885498046875, -0.003997802734375, 0.024169921875, 0.003082275390625, -0.0089111328125, -0.025634765625, -0.0225830078125, -0.0009307861328125, -0.0225830078125, -0.032958984375, 0.00051116943359375, -0.026611328125, 0.005279541015625, 0.0022430419921875, 0.002532958984375, -0.02...
[ 44084, 831, 3768, 18, 40407, 563, 4904, 201939, 32786, 158, 2816, 4288, 678, 10644, 111938, 189534, 2271, 1238, 2609, 18770, 839, 83947, 69253, 53, 8216, 29838, 76278, 112, 75358, 4153, 12353, 1991, 420, 81, 26455, 93774, 188735, 642, 1884,...
[ 0.091064453125, 0.0853271484375, 0.002838134765625, 0.0556640625, 0.132080078125, 0.107177734375, 0.22265625, 0.172607421875, 0.1951904296875, 0.05316162109375, 0.1458740234375, 0.0985107421875, 0.0357666015625, 0.2080078125, 0.2030029296875, 0.1883544921875, 0.03973388671875, 0.00...
embed
41019788_c0
41019788
fsharp
0
Title: How do I retrieve a value when using the &quot;function&quot; syntax to perform pattern matching? Problem title: How do I retrieve a value when using the &quot;function&quot; syntax to perform pattern matching? Tags: f%23, pattern-matching Problem: How do I retrieve a value when using the "function" syntax to pe...
How do I retrieve a value when using the &quot;function&quot; syntax to perform pattern matching? How do I retrieve a value when using the &quot;function&quot; syntax to perform pattern matching? f%23 pattern-matching the How IsNeither IsFizzBuzz Fizz Buzz IsFizz IsBuzz Doesn List.map How do I retrieve a value when usi...
[ -0.0107421875, -0.004730224609375, 0.009765625, 0.004791259765625, -0.0162353515625, 0.0152587890625, -0.00299072265625, 0.004638671875, 0.017822265625, -0.00994873046875, 0.0267333984375, 0.0111083984375, -0.0166015625, -0.0224609375, 0.01531982421875, 0.000010073184967041016, -0.00...
[ 11249, 456, 3996, 3134, 34292, 17368, 137175, 6002, 86531, 51339, 103510, 14858, 214, 10, 1238, 3949, 3742, 98753, 2071, 14, 9319, 6159, 13894, 7235, 94610, 169, 188272, 101790, 19, 32036, 62346, 87, 25632, 13315, 18, 9969, 1340, 11853, 323...
[ 0.0767822265625, 0.09722900390625, 0.1505126953125, 0.1474609375, 0.2000732421875, 0.06512451171875, 0.2122802734375, 0.109375, 0.1815185546875, 0.07257080078125, 0.2186279296875, 0.194091796875, 0.0977783203125, 0.0614013671875, 0.024444580078125, 0.018524169921875, 0.133056640625, ...
embed
13413678_c0
13413678
fsharp
0
Title: Adding extra methods as type extensions in F# Problem title: Adding extra methods as type extensions in F# Tags: f%23, extension-methods Problem: Adding extra methods as type extensions in F# I have an .Net library that already has implemented .Item methods, e.g. namespace Library2 type A() = member m.Item with ...
Adding extra methods as type extensions in F# Adding extra methods as type extensions in F# f%23 extension-methods Adding Item Library2 m.Item Library2.dll ToString GetHashCode Adding extra methods as type extensions in F# I have an .Net library that already has implemented .Item methods, e.g. In the code that uses thi...
[ -0.01220703125, 0.01953125, 0.00927734375, 0.02490234375, -0.0018157958984375, -0.02880859375, -0.023193359375, 0.01446533203125, -0.00213623046875, -0.01470947265625, 0.00543212890625, -0.01385498046875, 0.0242919921875, 0.0147705078125, -0.005859375, -0.0220947265625, 0.01361083984...
[ 62, 59725, 4173, 150624, 237, 10644, 111938, 563, 4904, 1238, 3742, 1928, 7352, 78426, 103835, 304, 347, 2982, 1181, 717, 71713, 20779, 6495, 1495, 114211, 5, 24447, 35773, 1294, 21771, 29479, 18151, 15190, 1632, 55300, 5701, 9351, 35829, 2...
[ 0.0665283203125, 0.056610107421875, 0.205078125, 0.233642578125, 0.076171875, 0.19189453125, 0.195556640625, 0.13134765625, 0.1904296875, 0.07940673828125, 0.0966796875, 0.0655517578125, 0.068115234375, 0.1343994140625, 0.1314697265625, 0.049041748046875, 0.0166168212890625, 0.1326...
embed
20023980_c1
20023980
fsharp
1
0.0.0, Culture=neutral, PublicKeyToken=null'. [ERROR] FATAL UNHANDLED EXCEPTION: System.TypeLoadException: Could not load type 'Game1' from assembly 'game, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. My first attempt was to have the class definition and the main function in separated files (like in the tuto...
0.0.0, Culture=neutral, PublicKeyToken=null'. [ERROR] FATAL UNHANDLED EXCEPTION: System.TypeLoadException: Could not load type 'Game1' from assembly 'game, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. My first attempt was to have the class definition and the main function in separated files (like in the tuto...
[ -0.00830078125, 0.035400390625, -0.01513671875, 0.008056640625, 0.004669189453125, 0.00092315673828125, 0.01318359375, -0.01226806640625, -0.01007080078125, -0.0172119140625, 0.0003070831298828125, 0.00927734375, -0.005859375, -0.022705078125, -0.0013580322265625, 0.001251220703125, ...
[ 757, 5, 99929, 105141, 218142, 16934, 162429, 7763, 1098, 139550, 12501, 14255, 15491, 30487, 8274, 116199, 38409, 29426, 136566, 12353, 196707, 15363, 712, 19279, 63928, 191147, 959, 72367, 10644, 107576, 418, 1295, 89845, 38526, 35311, 40647, ...
[ 0.134765625, 0.046966552734375, 0.1973876953125, 0.1842041015625, 0.1771240234375, 0.0841064453125, 0.134765625, 0.042633056640625, 0.11572265625, 0.09478759765625, 0.05047607421875, 0.07403564453125, 0.06976318359375, 0.06610107421875, 0.07281494140625, 0.123291015625, 0.02821350097...
embed
28920462_c0
28920462
fsharp
0
Title: Define route that matches file on disk Problem title: Define route that matches file on disk Tags: f%23, nancy Problem: Define route that matches file on disk I'm trying to decorate some of the files in the public directory by wrapping them in template. Sample filesystem structure: project_root\ file_i_want_to_d...
Define route that matches file on disk Define route that matches file on disk f%23 nancy Define project_root file_i_want_to_decorate.html file_that_should_be_just_downloadable.zip ContentRouteSegmentConstraint RouteSegmentConstraintBase Environment.GetEnvironmentVariable x.Name x.TryMatch File.Exist Define route that m...
[ -0.010986328125, -0.002044677734375, 0.005462646484375, 0.0115966796875, -0.000759124755859375, -0.004364013671875, -0.015625, 0.00074005126953125, 0.00102996826171875, -0.0242919921875, -0.006622314453125, -0.0028228759765625, -0.013916015625, 0.030029296875, 0.0264892578125, 0.005859...
[ 262, 64552, 36439, 450, 14858, 90, 11435, 98, 28338, 1238, 3949, 3742, 24, 27771, 13452, 148920, 14, 3206, 18, 112, 587, 17957, 7693, 86673, 11412, 52366, 372, 20314, 61754, 2886, 50836, 70870, 12724, 6743, 2507, 2816, 106015, 63473, 686, ...
[ 0.04827880859375, 0.193359375, 0.29248046875, 0.0723876953125, 0.272705078125, 0.146728515625, 0.1676025390625, 0.113525390625, 0.1605224609375, 0.0207977294921875, 0.03399658203125, 0.06884765625, 0.036895751953125, 0.07086181640625, 0.12548828125, 0.1778564453125, 0.001708984375, ...
embed
50848587_c1
50848587
fsharp
1
Elapsed time: %f seconds" (ms / 1000.0) printfn "%s" (msg + msg') f_x let xs = [0.0..10000.0] let ys = xs |> List.map (fun x -> x + 1.0) let tup : list<float>*list<float> = (xs, ys) let tupStruct : struct (list<float>*list<float>) = struct (xs, ys) let n = 100 // other values of n will be tried let foo ((x,y): list<fl...
Elapsed time: %f seconds" (ms / 1000.0) printfn "%s" (msg + msg') f_x let xs = [0.0..10000.0] let ys = xs |> List.map (fun x -> x + 1.0) let tup : list<float>*list<float> = (xs, ys) let tupStruct : struct (list<float>*list<float>) = struct (xs, ys) let n = 100 // other values of n will be tried let foo ((x,y): list<fl...
[ -0.00213623046875, -0.0009918212890625, 0.004638671875, -0.00101470947265625, 0.0203857421875, 0.0079345703125, 0.01165771484375, 0.0022125244140625, 0.010986328125, 0.0018310546875, 0.014892578125, 0.0279541015625, -0.0052490234375, -0.00537109375, 0.00537109375, 0.004547119140625, ...
[ 241, 127966, 71, 1733, 1745, 420, 94131, 4432, 248, 4382, 77495, 28412, 14783, 3949, 177, 997, 68163, 25, 1238, 454, 425, 2633, 1022, 7, 99929, 14105, 113, 32036, 5, 62346, 16498, 33079, 53855, 370, 254, 5303, 52347, 71713, 18190, 18, 6...
[ 0.08624267578125, 0.271240234375, 0.1082763671875, 0.2296142578125, 0.0626220703125, 0.1260986328125, 0.2900390625, 0.1116943359375, 0.044464111328125, 0.1644287109375, 0.1048583984375, 0.1884765625, 0.177001953125, 0.0704345703125, 0.13037109375, 0.122314453125, 0.06396484375, 0.0...
embed
57351191_c0
57351191
fsharp
0
Title: Cannot Read Cookies in Http Response Problem title: Cannot Read Cookies in Http Response Tags: f%23, f%23-data Problem: Cannot Read Cookies in Http Response I am attempting to automate some tasks on my router. In order to do this a login is required to get a value called 'stok'. This value is returned as a cooki...
Cannot Read Cookies in Http Response Cannot Read Cookies in Http Response f%23 f%23-data Cannot Read Cookies Http Response Set-Cookie Http.Request FormValues authResponse.Cookies.TryFind Some None Cannot Read Cookies in Http Response I am attempting to automate some tasks on my router. In order to do this a login is re...
[ -0.0098876953125, 0.0286865234375, -0.007476806640625, -0.01116943359375, 0.0087890625, 0.0028533935546875, 0.0034332275390625, 0.0022735595703125, 0.003021240234375, 0.02001953125, 0.0120849609375, -0.015380859375, -0.032958984375, -0.0181884765625, 0.0177001953125, 0.01129150390625, ...
[ 4171, 10869, 4764, 29637, 23, 572, 3062, 254, 92748, 3742, 27495, 10135, 19943, 146318, 75616, 15236, 42272, 531, 927, 94399, 1294, 204582, 31384, 438, 81887, 11408, 66211, 122188, 73655, 56065, 2046, 34292, 35839, 7, 6448, 176377, 237, 9332,...
[ 0.09417724609375, 0.182861328125, 0.27783203125, 0.3046875, 0.09942626953125, 0.06695556640625, 0.1341552734375, 0.135986328125, 0.281005859375, 0.049896240234375, 0.0098876953125, 0.06561279296875, 0.07635498046875, 0.27392578125, 0.0804443359375, 0.0966796875, 0.112060546875, 0.0...
embed
12874689_c0
12874689
fsharp
0
Title: F# observable filter with side effect Problem title: F# observable filter with side effect Tags: frp, observable, f%23 Problem: F# observable filter with side effect I have a number of events that are merged into one observable that executes some commands. If a command succeeded some result takes place. In addit...
F# observable filter with side effect F# observable filter with side effect frp observable f%23 Observable.filter exec_action Observable.add self.OutlineEdited OutlineEdited Observable.scan action::log F# observable filter with side effect I have a number of events that are merged into one observable that executes some...
[ 0.000736236572265625, 0.0322265625, -0.00726318359375, -0.0086669921875, 0.00927734375, 0.01031494140625, 0.0010223388671875, 0.0174560546875, -0.00122833251953125, -0.0264892578125, 0.0301513671875, -0.00616455078125, -0.007110595703125, 0.0096435546875, 0.005096435546875, 0.006744384...
[ 563, 4904, 22046, 2661, 46312, 678, 5609, 21543, 14119, 254, 1238, 3742, 87652, 120337, 1119, 3240, 44713, 4028, 15970, 79858, 2256, 125270, 13538, 4398, 22631, 4867, 47353, 42564, 3934, 1632, 71924, 75101, 4263, 214493, 16750, 3687, 73088, 1...
[ 0.119873046875, 0.17626953125, 0.2119140625, 0.190673828125, 0.23095703125, 0.0285186767578125, 0.154541015625, 0.194091796875, 0.0289306640625, 0.049285888671875, 0.05975341796875, 0.1029052734375, 0.230712890625, 0.2249755859375, 0.051910400390625, 0.1439208984375, 0.12060546875, ...
embed
37519379_c0
37519379
fsharp
0
Title: Adding no value to return list Problem title: Adding no value to return list Tags: list, f%23 Problem: Adding no value to return list I'm having a problem with understanding how F# works. I come from C# and I think that I'm trying to make F# work like C#. My biggest problem is returning values in the correct for...
Adding no value to return list Adding no value to return list list f%23 Adding List.mapi Adding no value to return list I'm having a problem with understanding how F# works. I come from C# and I think that I'm trying to make F# work like C#. My biggest problem is returning values in the correct format. Example: Let's s...
[ -0.0196533203125, 0.0162353515625, 0.00897216796875, -0.0067138671875, -0.0230712890625, 0.00897216796875, 0.013671875, -0.017578125, 0.00750732421875, 0.01373291015625, 0.007354736328125, -0.01531982421875, -0.0250244140625, 0.0208740234375, 0.0081787109375, -0.004486083984375, 0.02...
[ 62, 59725, 110, 34292, 47, 30646, 5303, 3742, 32036, 192, 1434, 2967, 100094, 563, 4904, 43240, 4488, 129058, 142424, 26785, 9384, 32354, 51776, 892, 26255, 1505, 28670, 28412, 63262, 14858, 115081, 18151, 64457, 50740, 53418, 171, 4007, 6380...
[ 0.0648193359375, 0.114013671875, 0.1878662109375, 0.2198486328125, 0.06365966796875, 0.244873046875, 0.1932373046875, 0.07550048828125, 0.1678466796875, 0.034027099609375, 0.1134033203125, 0.117431640625, 0.035614013671875, 0.09033203125, 0.173583984375, 0.0838623046875, 0.0346984863...
embed
74695138_c0
74695138
fsharp
0
Title: How to add logging.AddEventSourceLogger() in F# Problem title: How to add logging.AddEventSourceLogger() in F# Tags: f%23, asp.net-core-2.1 Problem: How to add logging.AddEventSourceLogger() in F# I need to do an Azure .NET Profiler Trace on my .NET Core 2.1.1 web app. Azure provides the following instructions o...
How to add logging.AddEventSourceLogger() in F# How to add logging.AddEventSourceLogger() in F# f%23 asp.net-core-2.1 How logging.AddEventSourceLogger Microsoft.AspNetCore Microsoft.AspNetCore.Hosting Program CreateWebHostBuilder WebHost CreateDefaultBuilder UseStartup Startup EntryPoint Build Run asp.net-core-2.1 How ...
[ -0.01031494140625, 0.0103759765625, -0.0047607421875, -0.00179290771484375, -0.008056640625, -0.0019378662109375, -0.0022735595703125, 0.0068359375, -0.015380859375, -0.048095703125, 0.036376953125, 0.0086669921875, -0.00848388671875, 0.018798828125, 0.0390625, -0.021240234375, -0.03...
[ 11249, 47, 15190, 459, 36659, 4028, 192134, 211235, 113972, 1505, 132, 23, 563, 4904, 1238, 3742, 237, 254, 1179, 30854, 68107, 5, 7244, 284, 7008, 24447, 50886, 7663, 151313, 30474, 11193, 121137, 187423, 11, 126597, 153076, 15123, 147534, ...
[ 0.0438232421875, 0.01495361328125, 0.17431640625, 0.13916015625, 0.176025390625, 0.1357421875, 0.217529296875, 0.224609375, 0.1710205078125, 0.203369140625, 0.03948974609375, 0.06072998046875, 0.168701171875, 0.2357177734375, 0.06951904296875, 0.05462646484375, 0.025360107421875, 0...
embed
47688221_c0
47688221
fsharp
0
Title: Pass Alea GPU kernel a function Problem title: Pass Alea GPU kernel a function Tags: aleagpu, f%23 Problem: Pass Alea GPU kernel a function Is this possible in F# with Alea GPU? Declare a function: let my_function = fun a b -> a + b Pass the kernel that function, and use it within the kernel: let result = my_fun...
Pass Alea GPU kernel a function Pass Alea GPU kernel a function aleagpu f%23 Pass Alea GPU my_function ReflectedDefinition a:int adder:int Compiler.makeKernel add_num num1 num2 Gpu.Default num1Gpu gpu.Allocate LaunchParam gpu.Launch my_result Pass Alea GPU kernel a function Is this possible in F# with Alea GPU? Declare...
[ 0.0196533203125, 0.01446533203125, 0.0146484375, -0.0308837890625, 0.0030670166015625, -0.0089111328125, 0.00579833984375, -0.0120849609375, -0.001220703125, -0.042724609375, -0.00506591796875, 0.0250244140625, -0.0196533203125, 0.01953125, 0.021728515625, -0.01220703125, 0.029052734...
[ 28872, 4733, 11, 162808, 77924, 583, 10, 32354, 662, 2703, 1766, 1238, 3949, 3742, 759, 137175, 53295, 133, 89829, 187423, 943, 4288, 606, 820, 15612, 34759, 55898, 3196, 141, 15190, 2606, 13269, 304, 6210, 116292, 171326, 55292, 39, 309, ...
[ 0.207763671875, 0.201171875, 0.1981201171875, 0.2398681640625, 0.182861328125, 0.14794921875, 0.119873046875, 0.2269287109375, 0.1505126953125, 0.0106201171875, 0.171875, 0.052886962890625, 0.016998291015625, 0.119873046875, 0.158447265625, 0.2174072265625, 0.135498046875, 0.147216...
embed
78447902_c0
78447902
fsharp
0
Title: Which dotnet function is called to compare 2 arrays via = in F# Problem title: Which dotnet function is called to compare 2 arrays via = in F# Tags: arrays, f%23, structural-equality Problem: Which dotnet function is called to compare 2 arrays via = in F# In dotnet, arrays are compared as reference types, so 2 a...
Which dotnet function is called to compare 2 arrays via = in F# Which dotnet function is called to compare 2 arrays via = in F# arrays f%23 structural-equality Which Equals Which dotnet function is called to compare 2 arrays via = in F# In dotnet, arrays are compared as reference types, so 2 arrays with same items are ...
[ -0.00060272216796875, 0.01385498046875, 0.0152587890625, 0.0179443359375, 0, -0.024658203125, -0.001617431640625, 0.00007677078247070312, 0.00433349609375, 0.0115966796875, 0.006378173828125, 0.01556396484375, -0.006805419921875, 0.00555419921875, 0.004425048828125, 0.00030326843261718...
[ 130078, 20633, 1179, 32354, 35839, 47, 69101, 116, 10298, 4778, 1829, 2203, 563, 4904, 1238, 3742, 118990, 13, 161789, 241, 71723, 23, 154186, 91067, 52895, 678, 5701, 55769, 959, 105950, 137567, 5303, 10644, 59665, 35773, 53, 39210, 3647, ...
[ 0.10546875, 0.191650390625, 0.2293701171875, 0.203369140625, 0.124267578125, 0.04241943359375, 0.205322265625, 0.1533203125, 0.143310546875, 0.10791015625, 0.1282958984375, 0.1644287109375, 0.1231689453125, 0.169677734375, 0.0860595703125, 0.0633544921875, 0.1810302734375, 0.059051...
embed
16120253_c0
16120253
fsharp
0
Title: 24 averages for values in array based on what hour they are in Problem title: 24 averages for values in array based on what hour they are in Tags: f%23 Problem: 24 averages for values in array based on what hour they are in I have a record that holds one DateTime array and 2 double arrays all of the same length ...
24 averages for values in array based on what hour they are in 24 averages for values in array based on what hour they are in f%23 data2 data.Date.Length-1 data.Date Hour data.High data.Low 24 averages for values in array based on what hour they are in I have a record that holds one DateTime array and 2 double arrays a...
[ -0.0017547607421875, -0.039306640625, -0.00848388671875, 0.005706787109375, -0.02294921875, -0.012451171875, -0.008056640625, 0.0169677734375, 0.015380859375, 0.0166015625, 0.0133056640625, 0.0223388671875, 0.00360107421875, -0.0220947265625, -0.0040283203125, -0.01007080078125, -0.0...
[ 744, 83080, 7, 100, 142424, 23, 10298, 53, 35509, 2367, 56816, 1238, 3949, 3742, 2053, 304, 86291, 5759, 133250, 163025, 15363, 17164, 16401, 1632, 25512, 70059, 116, 41929, 5701, 140909, 62548, 63262, 3444, 2046, 40703, 17721, 3564, 757, 4...
[ 0.236328125, 0.255615234375, 0.0823974609375, 0.052001953125, 0.1962890625, 0.0323486328125, 0.184814453125, 0.1160888671875, 0.08935546875, 0.021240234375, 0.2198486328125, 0.0697021484375, 0.020721435546875, 0.1724853515625, 0.1319580078125, 0.044830322265625, 0.0809326171875, 0....
embed
59038101_c0
59038101
fsharp
0
Title: Is it possible to access a nested dictionary from Dotliquid? Problem title: Is it possible to access a nested dictionary from Dotliquid? Tags: .net, dotliquid, f%23 Problem: Is it possible to access a nested dictionary from Dotliquid? I was wondering if it was possible to access a nested dictionary with the dotl...
Is it possible to access a nested dictionary from Dotliquid? Is it possible to access a nested dictionary from Dotliquid? .net dotliquid f%23 Dotliquid Document Map Test Map.empty Map.add Foo Document.Test Template.Parse doc.template template.Render Hash.FromDictionary doc.elements Map.toSeq Is it possible to access a ...
[ -0.007415771484375, -0.00738525390625, -0.000156402587890625, -0.0169677734375, -0.021484375, 0.006500244140625, -0.000965118408203125, -0.0004787445068359375, 0.0130615234375, -0.029052734375, -0.01220703125, 0.0120849609375, 0.017822265625, 0.0244140625, 0.000965118408203125, 0.00028...
[ 2071, 442, 7722, 17203, 8512, 71, 45, 10763, 6635, 1295, 84929, 150, 94385, 47, 1179, 54, 35196, 3742, 43101, 42719, 8647, 33548, 4028, 9572, 31, 111337, 196631, 28636, 51584, 2982, 92558, 110934, 23894, 162087, 168407, 62766, 188, 4233, 86...
[ 0.03521728515625, 0.005889892578125, 0.1617431640625, 0.202880859375, 0.257080078125, 0.1632080078125, 0.10791015625, 0.1827392578125, 0.1334228515625, 0.1270751953125, 0.2113037109375, 0.1424560546875, 0.2462158203125, 0.00860595703125, 0.110107421875, 0.09814453125, 0.111328125, ...
embed
55626909_c0
55626909
fsharp
0
Title: How do I add HTML elements in my view model in Fable? Problem title: How do I add HTML elements in my view model in Fable? Tags: fable-f%23, f%23 Problem: How do I add HTML elements in my view model in Fable? I am trying to write a simple application in Fable, but I have problems setting up elements. I am not ab...
How do I add HTML elements in my view model in Fable? How do I add HTML elements in my view model in Fable? fable-f%23 f%23 How HTML Fable Value model.Value OnChange ev.target ChangeValue Hello How do I add HTML elements in my view model in Fable? I am trying to write a simple application in Fable, but I have problems ...
[ -0.03369140625, 0.00445556640625, 0.0020599365234375, 0.0023956298828125, 0.006805419921875, -0.02001953125, 0.00994873046875, 0.00421142578125, -0.00482177734375, -0.04736328125, 0.00653076171875, -0.0390625, -0.00421142578125, 0.013671875, -0.000896453857421875, -0.01068115234375, ...
[ 11249, 15190, 19097, 80854, 759, 21455, 3299, 23, 563, 2886, 54, 1071, 2661, 3742, 190060, 856, 50770, 2161, 127008, 429, 3404, 867, 3794, 87377, 35378, 87, 31577, 33022, 8781, 38415, 44402, 53550, 1257, 19048, 3525, 15490, 73573, 144573, 2...
[ 0.07489013671875, 0.1962890625, 0.287841796875, 0.2047119140625, 0.043212890625, 0.25390625, 0.2188720703125, 0.0504150390625, 0.16259765625, 0.230712890625, 0.04302978515625, 0.146484375, 0.1500244140625, 0.032745361328125, 0.1793212890625, 0.06634521484375, 0.1236572265625, 0.107...
embed
62245513_c0
62245513
fsharp
0
Title: F# - Set type annotation on curried function parameters Problem title: F# - Set type annotation on curried function parameters Tags: f%23 Problem: F# - Set type annotation on curried function parameters let actionOne value = sprintf "action one %s" (value.Substring(1)) let actionTwo (value:string) = sprintf "act...
F# - Set type annotation on curried function parameters F# - Set type annotation on curried function parameters f%23 Set value.Substring value:string Tuple this.SomeMethod param1 param2 Curried function1 F# - Set type annotation on curried function parameters How can I maintain the Curried form AND add the type annotat...
[ 0.01055908203125, -0.0098876953125, 0.0016632080078125, 0.02001953125, 0.01177978515625, 0.0036773681640625, -0.002349853515625, 0.00994873046875, 0.01129150390625, 0.005279541015625, 0.00138092041015625, 0.0130615234375, -0.0245361328125, 0.0147705078125, -0.005340576171875, -0.014343...
[ 563, 4904, 19943, 10644, 8668, 22062, 98, 9709, 46572, 32354, 171859, 1238, 3742, 34292, 96472, 91693, 1371, 8705, 903, 78572, 7352, 121, 304, 17065, 831, 76104, 3173, 48762, 15190, 22631, 62068, 16265, 209806, 27781, 69101, 15665, 474, 18151...
[ 0.0712890625, 0.1529541015625, 0.125, 0.2237548828125, 0.197509765625, 0.1328125, 0.0258331298828125, 0.1119384765625, 0.2086181640625, 0.1522216796875, 0.1552734375, 0.040924072265625, 0.08087158203125, 0.1763916015625, 0.11083984375, 0.1865234375, 0.0142822265625, 0.1500244140625...
embed
25111657_c0
25111657
fsharp
0
Title: F# Function composition with two parameter function Problem title: F# Function composition with two parameter function Tags: f%23 Problem: F# Function composition with two parameter function I thought I understood function composition until I looked at the example in Microsoft's help. It show the following examp...
F# Function composition with two parameter function F# Function composition with two parameter function f%23 string1:string string2:string string1 string2 F# Function composition with two parameter function I thought I understood function composition until I looked at the example in Microsoft's help. It show the follow...
[ -0.0162353515625, -0.00008630752563476562, 0.0213623046875, 0.042724609375, -0.0084228515625, 0.02001953125, 0.0006866455078125, 0.0024261474609375, 0.0087890625, 0.004852294921875, 0.0126953125, -0.0084228515625, -0.003997802734375, 0.02587890625, 0.00860595703125, -0.0235595703125, ...
[ 563, 4904, 28670, 166577, 678, 6626, 171859, 32354, 1238, 3742, 79315, 82825, 91693, 304, 418, 217064, 27781, 7244, 4358, 10644, 114689, 71, 19279, 128872, 33079, 37202, 7108, 2878, 289, 38415, 132283, 5117, 959, 17932, 11249, 7722, 33022, 15...
[ 0.1112060546875, 0.189697265625, 0.1502685546875, 0.241943359375, 0.07147216796875, 0.1806640625, 0.2193603515625, 0.179931640625, 0.093017578125, 0.104248046875, 0.1976318359375, 0.02374267578125, 0.1591796875, 0.08251953125, 0.0190582275390625, 0.026519775390625, 0.075439453125, ...
embed
30872370_c0
30872370
fsharp
0
Title: Duck typing with type provider instances Problem title: Duck typing with type provider instances Tags: duck-typing, f%23, type-providers Problem: Duck typing with type provider instances I am writing an F# script to operate on tables in a database. All of the tables have a Guid Id property. I want to make use of...
Duck typing with type provider instances Duck typing with type provider instances duck-typing f%23 type-providers Duck Guid Table Seq.map x.Id get_Id Duck typing with type provider instances I am writing an F# script to operate on tables in a database. All of the tables have a Guid Id property. I want to make use of du...
[ 0.01416015625, -0.01043701171875, 0.01556396484375, 0.00537109375, -0.007080078125, -0.004852294921875, -0.007171630859375, -0.01092529296875, -0.013916015625, -0.034912109375, 0.0004215240478515625, 0.0036773681640625, -0.0111083984375, -0.00098419189453125, 0.0032806396484375, 0.0123...
[ 786, 2594, 11417, 214, 678, 10644, 81450, 110527, 115, 46280, 1238, 3742, 93136, 6955, 532, 112997, 864, 62346, 1022, 568, 71, 2046, 32562, 563, 4904, 26499, 160404, 23180, 63399, 24799, 57266, 3444, 4527, 15005, 903, 11338, 40368, 44677, 2...
[ 0.1680908203125, 0.1617431640625, 0.19287109375, 0.0977783203125, 0.104736328125, 0.196044921875, 0.22216796875, 0.1619873046875, 0.1427001953125, 0.2064208984375, 0.009368896484375, 0.056121826171875, 0.145751953125, 0.1727294921875, 0.1551513671875, 0.1424560546875, 0.0699462890625...
embed
19276187_c0
19276187
fsharp
0
Title: Finding algorithm to seek argument to satisfy given function&#x27;s return Problem title: Finding algorithm to seek argument to satisfy given function&#x27;s return Tags: algorithm, f%23, unification, prolog, functional-programming Problem: Finding algorithm to seek argument to satisfy given function's return I ...
Finding algorithm to seek argument to satisfy given function&#x27;s return Finding algorithm to seek argument to satisfy given function&#x27;s return algorithm f%23 unification prolog functional-programming Finding Given Finding algorithm to seek argument to satisfy given function's return I have this particular proble...
[ 0.01055908203125, 0.014892578125, 0.005126953125, 0.0072021484375, -0.013427734375, -0.000133514404296875, -0.0140380859375, -0.0093994140625, -0.00104522705078125, -0.006622314453125, 0.001800537109375, -0.004119873046875, -0.00860595703125, 0.033203125, 0.0126953125, -0.0146484375, ...
[ 26040, 214, 234873, 47, 40, 343, 10750, 40407, 53, 34475, 32354, 3768, 30646, 1238, 3742, 51, 41274, 502, 4867, 123309, 28966, 77878, 19, 17311, 2967, 765, 29806, 14373, 4358, 3714, 32316, 62548, 16487, 100, 1632, 112397, 7413, 3387, 69236,...
[ 0.1875, 0.07281494140625, 0.27490234375, 0.0660400390625, 0.1531982421875, 0.1304931640625, 0.299560546875, 0.2044677734375, 0.09906005859375, 0.160400390625, 0.188232421875, 0.07958984375, 0.253662109375, 0.00506591796875, 0.078369140625, 0.1068115234375, 0.0853271484375, 0.074096...
embed
23173223_c0
23173223
fsharp
0
Title: Two types that use themselves Problem title: Two types that use themselves Tags: fluent-interface, f%23 Problem: Two types that use themselves recently I started my adventure with F#. I'm trying to create F# library that I will use in my C# projects. Now I'm facing the problem that I have two types definitions t...
Two types that use themselves Two types that use themselves fluent-interface f%23 Two Shopping Stuff shopping.GoTo Wallmart Buy Candies Ice Milk GoTo Drug Anvil GetStuff ShopResult ShoppingContext this.GoTo ToDoResult this.Buy Two types that use themselves recently I started my adventure with F#. I'm trying to create F...
[ 0.0091552734375, -0.002227783203125, -0.00054168701171875, 0.0179443359375, -0.00098419189453125, 0.004608154296875, 0.0034332275390625, -0.003387451171875, 0.007049560546875, -0.02685546875, -0.007568359375, 0.0301513671875, -0.013427734375, 0.023681640625, 0.0194091796875, 0.00174713...
[ 32964, 52895, 450, 4527, 61261, 155283, 10433, 40404, 1238, 3949, 3742, 80298, 2907, 21493, 33652, 17903, 7763, 23706, 60337, 47184, 154999, 90, 65058, 171048, 2016, 125183, 5115, 20779, 37455, 24211, 7, 7136, 22829, 903, 717, 8331, 7235, 786...
[ 0.1961669921875, 0.269287109375, 0.058197021484375, 0.19091796875, 0.239990234375, 0.2484130859375, 0.13330078125, 0.139892578125, 0.0611572265625, 0.0323486328125, 0.1220703125, 0.18212890625, 0.06158447265625, 0.1463623046875, 0.16552734375, 0.0408935546875, 0.07684326171875, 0.0...
embed
31405194_c0
31405194
fsharp
0
Title: How to create a Union type in F# that is a value type? Problem title: How to create a Union type in F# that is a value type? Tags: .net, c%23, discriminated-union, f%23, pointers Problem: How to create a Union type in F# that is a value type? Normal F# Discriminated Unions are reference types. How can I create a...
How to create a Union type in F# that is a value type? How to create a Union type in F# that is a value type? .net c%23 discriminated-union f%23 pointers How Union StructLayout LayoutKind.Explicit Float DefaultValue FieldOffset Val1 Int1 a:float How to create a Union type in F# that is a value type? Normal F# Discrimin...
[ 0.0186767578125, 0.023681640625, -0.01141357421875, 0.004241943359375, -0.006011962890625, -0.0054931640625, -0.002410888671875, -0.007171630859375, 0.01434326171875, -0.000812530517578125, 0.02294921875, 0.0220947265625, 0.01348876953125, -0.01019287109375, 0.009033203125, 0.018798828...
[ 11249, 28282, 32528, 10644, 23, 563, 4904, 34292, 10, 450, 83, 1179, 3742, 55970, 3674, 87046, 1238, 6275, 1314, 63667, 53, 6056, 211032, 7250, 55992, 38699, 257, 262, 1021, 856, 50770, 117657, 150369, 4769, 52347, 28723, 6206, 135421, 9106...
[ 0.04803466796875, 0.156494140625, 0.271484375, 0.2294921875, 0.043182373046875, 0.1468505859375, 0.23095703125, 0.2410888671875, 0.018646240234375, 0.00067138671875, 0.010986328125, 0.1214599609375, 0.05584716796875, 0.1552734375, 0.02532958984375, 0.16162109375, 0.066162109375, 0....
embed
18835062_c0
18835062
fsharp
0
Title: OpenFileDialog issue in FSI Problem title: OpenFileDialog issue in FSI Tags: f%23-interactive, winforms, f%23 Problem: OpenFileDialog issue in FSI Simple question: In F# Interactive, this does not work (it shows no dialog): open System.Windows.Forms let dlg = new OpenFileDialog() let res = dlg.ShowDialog() This ...
OpenFileDialog issue in FSI OpenFileDialog issue in FSI f%23-interactive winforms f%23 OpenFileDialog FSI System.Windows.Forms dlg.ShowDialog MessageBox.Show Now Form frm.Show OpenFileDialog issue in FSI Simple question: In F# Interactive, this does not work (it shows no dialog): This code does work, after I first do a...
[ 0.0166015625, 0.0118408203125, 0.0010528564453125, 0.01336669921875, -0.002899169921875, -0.00830078125, 0.001922607421875, 0.003387451171875, 0.0037384033203125, -0.0164794921875, 0.017822265625, -0.005889892578125, 0.00372314453125, 0.01409912109375, 0.0228271484375, -0.0036926269531...
[ 13527, 174350, 72838, 4867, 31089, 23, 563, 9902, 1238, 27495, 10433, 71232, 148, 46334, 3742, 12353, 43342, 102973, 14686, 168660, 48205, 4588, 72295, 14240, 15236, 14119, 360, 4904, 5337, 903, 14602, 959, 4488, 45831, 110, 26519, 3293, 1815...
[ 0.2021484375, 0.238525390625, 0.1788330078125, 0.19677734375, 0.1439208984375, 0.07366943359375, 0.13525390625, 0.21826171875, 0.092041015625, 0.050201416015625, 0.090087890625, 0.153564453125, 0.011993408203125, 0.1138916015625, 0.042724609375, 0.03509521484375, 0.07989501953125, ...
embed
43047756_c0
43047756
fsharp
0
Title: Can I call methods of &quot;aliased&quot; types in single-case discriminated unions? Problem title: Can I call methods of &quot;aliased&quot; types in single-case discriminated unions? Tags: discriminated-union, f%23 Problem: Can I call methods of "aliased" types in single-case discriminated unions? I read in th...
Can I call methods of &quot;aliased&quot; types in single-case discriminated unions? Can I call methods of &quot;aliased&quot; types in single-case discriminated unions? discriminated-union f%23 Can Fun Profit MyList List Length myList.Length Program.fs FS0039 Can I call methods of "aliased" types in single-case discri...
[ -0.019775390625, 0.028564453125, 0.00048065185546875, 0.0242919921875, 0.000759124755859375, 0.00787353515625, -0.010986328125, 0.0191650390625, 0.01226806640625, -0.03857421875, -0.0020294189453125, 0.005096435546875, 0.0108642578125, 0.005584716796875, -0.0084228515625, -0.0207519531...
[ 4171, 11782, 150624, 111, 41763, 5281, 52895, 23, 11001, 58437, 55970, 3674, 69941, 87, 87046, 1238, 3742, 28670, 114609, 2646, 154663, 32036, 77554, 759, 449, 7663, 17447, 93774, 9323, 12301, 40881, 563, 4904, 100, 136, 5809, 4527, 10644, ...
[ 0.0849609375, 0.1715087890625, 0.2208251953125, 0.026275634765625, 0.218017578125, 0.1771240234375, 0.2047119140625, 0.046600341796875, 0.1551513671875, 0.158447265625, 0.205810546875, 0.0980224609375, 0.208251953125, 0.0091552734375, 0.156494140625, 0.013519287109375, 0.057556152343...
embed
56467626_c0
56467626
fsharp
0
Title: F#: the namespace is not defined Problem title: F#: the namespace is not defined Tags: module, f%23, compilation, namespaces Problem: F#: the namespace is not defined I have this F# project Rm.Accounting.Domain with the following files (and in that order): Model.fs : module Rm.Accounting.Domain.Model Commands.fs...
F#: the namespace is not defined F#: the namespace is not defined module f%23 compilation namespaces Rm.Accounting.Domain Model.fs Rm.Accounting.Domain.Model Commands.fs Rm.Accounting.Domain.Commands Events.fs Rm.Accounting.Domain.Events Behaviour.fs Rm.Accounting.Domain.Behaviour Rm.Accounting.Infrastructure FS0039 Do...
[ 0.01123046875, 0.0159912109375, -0.0024261474609375, 0.006561279296875, -0.000885009765625, 0.017333984375, 0.00848388671875, -0.0201416015625, -0.004425048828125, -0.0108642578125, -0.00689697265625, 0.007049560546875, 0.005859375, 0.0194091796875, 0.010498046875, -0.00347900390625, ...
[ 563, 4904, 70, 210716, 83, 959, 61924, 71, 88996, 1238, 3949, 3742, 98352, 627, 39, 13400, 128396, 8331, 13293, 17447, 24931, 140290, 123573, 12018, 123560, 192134, 98409, 93774, 9323, 93702, 13452, 25632, 102158, 12989, 4568, 216806, 44402, ...
[ 0.12744140625, 0.223388671875, 0.039581298828125, 0.30322265625, 0.0787353515625, 0.15087890625, 0.2354736328125, 0.004150390625, 0.1390380859375, 0.0689697265625, 0.001068115234375, 0.1209716796875, 0.12841796875, 0.02496337890625, 0.10546875, 0.1409912109375, 0.07421875, 0.099243...
embed
36298147_c0
36298147
fsharp
0
Title: F#: Returning values of different types from a single function Problem title: F#: Returning values of different types from a single function Tags: functional-programming, f%23 Problem: F#: Returning values of different types from a single function I am trying to have a function that returns either one type or an...
F#: Returning values of different types from a single function F#: Returning values of different types from a single function functional-programming f%23 a Returning Json JNumber JString JArray JObject Map JBool JNull jason:Json Seq.map Map.ofArray None F#: Returning values of different types from a single function I a...
[ -0.0189208984375, 0.01141357421875, -0.016357421875, 0.00994873046875, -0.01239013671875, -0.00787353515625, -0.02001953125, -0.007354736328125, -0.0019683837890625, 0.004638671875, -0.0002040863037109375, 0.01397705078125, -0.00872802734375, -0.00185394287109375, 0.0245361328125, 0.03...
[ 563, 4904, 173340, 142424, 12921, 52895, 1295, 11001, 32354, 12, 123309, 28966, 1238, 3949, 3742, 821, 1681, 18444, 26278, 71713, 7092, 21253, 75161, 42719, 12647, 929, 43806, 79, 1375, 864, 62346, 4390, 438, 214, 111, 31577, 30646, 40101, ...
[ 0.1448974609375, 0.2200927734375, 0.1895751953125, 0.1424560546875, 0.130859375, 0.1773681640625, 0.0682373046875, 0.124755859375, 0.1707763671875, 0.0236358642578125, 0.1190185546875, 0.0982666015625, 0.0865478515625, 0.0148468017578125, 0.10516357421875, 0.1312255859375, 0.17700195...
embed
16534674_c0
16534674
fsharp
0
Title: Parser identifiers and free format text. Can this be done with FParsec? Problem title: Parser identifiers and free format text. Can this be done with FParsec? Tags: f%23, fparsec Problem: Parser identifiers and free format text. Can this be done with FParsec? As a follow-on to: How do I test for exactly 2 charac...
Parser identifiers and free format text. Can this be done with FParsec? Parser identifiers and free format text. Can this be done with FParsec? f%23 fparsec Parser Can FParsec Now Four Parser identifiers and free format text. Can this be done with FParsec? As a follow-on to: How do I test for exactly 2 characters with ...
[ 0.003082275390625, 0.001373291015625, -0.00579833984375, 0.033447265625, 0.00067901611328125, 0.0257568359375, 0.00787353515625, 0.01220703125, 0.0137939453125, -0.015869140625, 0.017333984375, 0.0274658203125, -0.0040283203125, -0.00469970703125, -0.00408935546875, 0.00213623046875, ...
[ 2392, 2189, 42485, 1314, 136, 4092, 9384, 7986, 4171, 903, 16940, 678, 563, 28636, 39797, 1238, 3742, 2500, 14240, 65056, 3034, 100, 66161, 116, 124850, 366, 184, 79315, 58055, 80836, 134629, 5037, 72546, 64549, 7413, 3173, 3525, 2256, 6626...
[ 0.1810302734375, 0.1865234375, 0.2144775390625, 0.1351318359375, 0.00299072265625, 0.1268310546875, 0.16064453125, 0.14501953125, 0.0872802734375, 0.0003662109375, 0.070068359375, 0.072509765625, 0.145263671875, 0.1795654296875, 0.25244140625, 0.1314697265625, 0.0994873046875, 0.18...
embed
45613747_c0
45613747
fsharp
0
Title: What do I do with downloaded FsLab template? Problem title: What do I do with downloaded FsLab template? Tags: f%23, fslab, nuget, paket Problem: What do I do with downloaded FsLab template? Sorry for the question, but I am definitely not an "advanced" user. I installed the FsLab and FsLab Journal using NuGet . ...
What do I do with downloaded FsLab template? What do I do with downloaded FsLab template? f%23 fslab nuget paket What FsLab Journal NuGet Download FsLab.Templates-journal Install Visual Studio Marketplace What do I do with downloaded FsLab template? Sorry for the question, but I am definitely not an "advanced" user. I ...
[ 0.00628662109375, 0.0037994384765625, 0.01373291015625, 0.010009765625, -0.010009765625, 0.00811767578125, 0.016845703125, 0.0037994384765625, 0.0009918212890625, 0.00335693359375, -0.01416015625, -0.01251220703125, -0.0086669921875, 0.0126953125, 0.003875732421875, 0.0233154296875, ...
[ 4865, 54, 678, 7026, 297, 563, 7, 97381, 110934, 32, 1238, 6114, 315, 3794, 13360, 34419, 1429, 724, 126, 4857, 5, 159065, 19309, 188131, 107951, 73372, 22968, 30318, 23935, 90502, 444, 58621, 959, 712, 157000, 38937, 20600, 136, 167934, ...
[ 0.07366943359375, 0.1226806640625, 0.1759033203125, 0.1905517578125, 0.06732177734375, 0.16064453125, 0.15869140625, 0.2763671875, 0.27392578125, 0.01806640625, 0.11962890625, 0.23779296875, 0.1302490234375, 0.1561279296875, 0.1036376953125, 0.256591796875, 0.1676025390625, 0.10015...
embed
6589959_c0
6589959
fsharp
0
Title: IEnumerable&lt;T&gt; in OCaml Problem title: IEnumerable&lt;T&gt; in OCaml Tags: f%23, functional-programming, ocaml Problem: IEnumerable in OCaml I use F# a lot. All the basic collections in F# implement IEumberable interface, thus it is quite natural to access them using the single Seq module in F#. Is this po...
IEnumerable&lt;T&gt; in OCaml IEnumerable&lt;T&gt; in OCaml f%23 functional-programming ocaml IEnumerable OCaml Seq IEnumerable in OCaml I use F# a lot. All the basic collections in F# implement IEumberable interface, thus it is quite natural to access them using the single Seq module in F#. Is this possible in OCaml? ...
[ -0.001739501953125, 0.004180908203125, 0.00799560546875, 0.00567626953125, 0.0196533203125, -0.0081787109375, -0.01214599609375, 0.015380859375, 0.005523681640625, -0.026123046875, -0.007171630859375, 0.031982421875, -0.019775390625, 0.01226806640625, 0.0189208984375, -0.01806640625, ...
[ 75536, 2606, 56, 2886, 1277, 618, 1230, 5386, 180, 105272, 141, 23, 1238, 3742, 123309, 28966, 36, 9779, 503, 864, 4527, 563, 4904, 5915, 62822, 42486, 29479, 316, 1297, 101758, 32233, 6083, 17203, 11001, 88996, 2071, 903, 7722, 9655, 11,...
[ 0.13623046875, 0.2427978515625, 0.17919921875, 0.157958984375, 0.020416259765625, 0.04864501953125, 0.045654296875, 0.10498046875, 0.152099609375, 0.218017578125, 0.1915283203125, 0.0732421875, 0.011505126953125, 0.05322265625, 0.1490478515625, 0.06195068359375, 0.06805419921875, 0...
embed
68819990_c0
68819990
fsharp
0
Title: Will the use of lazy in an F# property prevent the code from being evaluated when it shouldn&#x27;t? Problem title: Will the use of lazy in an F# property prevent the code from being evaluated when it shouldn&#x27;t? Tags: f%23, lazy-evaluation Problem: Will the use of lazy in an F# property prevent the code fro...
Will the use of lazy in an F# property prevent the code from being evaluated when it shouldn&#x27;t? Will the use of lazy in an F# property prevent the code from being evaluated when it shouldn&#x27;t? f%23 lazy-evaluation being Will this.Description this.Describe Value Will the use of lazy in an F# property prevent th...
[ 0.01116943359375, 0.0191650390625, 0.017333984375, -0.029296875, 0.0034942626953125, -0.0125732421875, 0.0166015625, 0.0045166015625, -0.0033721923828125, -0.0079345703125, 0.00738525390625, 0.031005859375, -0.008056640625, 0.01385498046875, 0.01214599609375, 0.0198974609375, -0.0103...
[ 20255, 4527, 21, 3285, 563, 4904, 57266, 56282, 18151, 1295, 151575, 3229, 5608, 3768, 1238, 159258, 8035, 903, 4657, 59478, 34601, 190060, 23, 18, 39210, 103510, 2806, 1884, 70643, 297, 29197, 19917, 3871, 11814, 5809, 38937, 50336, 22304, ...
[ 0.0513916015625, 0.0980224609375, 0.161376953125, 0.2362060546875, 0.1077880859375, 0.1953125, 0.18017578125, 0.1651611328125, 0.1763916015625, 0.041015625, 0.1842041015625, 0.046722412109375, 0.1239013671875, 0.00189208984375, 0.037261962890625, 0.1702880859375, 0.056671142578125, ...
embed
76245710_c0
76245710
fsharp
0
Title: How to share a single record instance between multiple modules in F#? Problem title: How to share a single record instance between multiple modules in F#? Tags: f%23 Problem: How to share a single record instance between multiple modules in F#? I am using WPF/C# for my UI to a F# backend. I am passing multiple d...
How to share a single record instance between multiple modules in F#? How to share a single record instance between multiple modules in F#? f%23 How Windows Func Window Program.main MainWindow ReportMenu ProgressNoteWindow2 PatientRegistrationWindow How to share a single record instance between multiple modules in F#? ...
[ 0.0128173828125, 0.0048828125, 0.005828857421875, 0.0208740234375, -0.00897216796875, -0.00885009765625, 0.0103759765625, -0.02783203125, 0.0166015625, -0.038330078125, -0.00087738037109375, -0.00579833984375, 0.016845703125, 0.0057373046875, 0.008544921875, 0.010986328125, 0.0034332...
[ 11249, 47, 12008, 11001, 17164, 110527, 17721, 48716, 88996, 563, 4904, 23, 1238, 3742, 3773, 28670, 176501, 7663, 24931, 12321, 92049, 24293, 34798, 29638, 109816, 110361, 304, 135004, 54601, 1419, 17368, 601, 41265, 111481, 4420, 3611, 452, ...
[ 0.08551025390625, 0.0283203125, 0.234375, 0.2298583984375, 0.2418212890625, 0.2493896484375, 0.15869140625, 0.1558837890625, 0.20361328125, 0.1470947265625, 0.2425537109375, 0.0302581787109375, 0.006011962890625, 0.078125, 0.146728515625, 0.058746337890625, 0.085205078125, 0.049102...
embed
67500947_c0
67500947
fsharp
0
Title: Can someone explain these F# type inference oddities? Problem title: Can someone explain these F# type inference oddities? Tags: type-inference, f%23 Problem: Can someone explain these F# type inference oddities? I'm experiencing a lot of unexplained behavior with the type inference of F# (or lack of inference r...
Can someone explain these F# type inference oddities? Can someone explain these F# type inference oddities? type-inference f%23 Can Foo __.Value foo:Foo foo.Value u:Foo u.Value Can someone explain these F# type inference oddities? I'm experiencing a lot of unexplained behavior with the type inference of F# (or lack of ...
[ 0.01348876953125, -0.01153564453125, 0.0272216796875, -0.005523681640625, -0.00244140625, -0.022216796875, 0.0003948211669921875, -0.001312255859375, 0.01458740234375, 0.0135498046875, 0.000194549560546875, 0.0052490234375, 0.005767822265625, 0.00537109375, 0.020751953125, -0.031494140...
[ 4171, 22008, 73342, 6097, 563, 4904, 10644, 53498, 6620, 81960, 2449, 73, 69988, 1238, 3949, 3742, 9572, 31, 5953, 856, 50770, 5775, 27591, 75, 12, 136303, 5915, 83613, 16442, 123166, 92635, 41206, 756, 34292, 32354, 35064, 30646, 26785, 38...
[ 0.1053466796875, 0.04266357421875, 0.1702880859375, 0.06396484375, 0.145263671875, 0.2288818359375, 0.1993408203125, 0.2081298828125, 0.05584716796875, 0.162841796875, 0.1138916015625, 0.05755615234375, 0.197021484375, 0.09814453125, 0.046142578125, 0.123046875, 0.16796875, 0.13134...
embed